narrat 2.2.10 → 2.2.13-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,9 +2,15 @@ declare const _default: {
2
2
  new (...args: any[]): {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
5
+ $props: Partial<{
6
+ transitioning: boolean;
7
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
6
8
  layer: StringConstructor;
7
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
9
+ transitioning: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "transitioning">;
8
14
  $attrs: {
9
15
  [x: string]: unknown;
10
16
  };
@@ -20,7 +26,13 @@ declare const _default: {
20
26
  $el: any;
21
27
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
22
28
  layer: StringConstructor;
23
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
29
+ transitioning: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
34
+ transitioning: boolean;
35
+ }> & {
24
36
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
25
37
  created?: ((() => void) | (() => void)[]) | undefined;
26
38
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -42,13 +54,23 @@ declare const _default: {
42
54
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
43
55
  } & Readonly<import("vue").ExtractPropTypes<{
44
56
  layer: StringConstructor;
57
+ transitioning: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
45
61
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
46
62
  __isFragment?: undefined;
47
63
  __isTeleport?: undefined;
48
64
  __isSuspense?: undefined;
49
65
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
50
66
  layer: StringConstructor;
51
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
67
+ transitioning: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
72
+ transitioning: boolean;
73
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
52
74
  $slots: {};
53
75
  });
54
76
  export default _default;
@@ -0,0 +1,101 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
6
+ name: {
7
+ type: StringConstructor;
8
+ required: true;
9
+ };
10
+ duration: {
11
+ type: NumberConstructor;
12
+ required: true;
13
+ };
14
+ delay: NumberConstructor;
15
+ }>> & {
16
+ onComplete?: ((...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: "complete", ...args: any[]) => void;
30
+ $el: any;
31
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
32
+ name: {
33
+ type: StringConstructor;
34
+ required: true;
35
+ };
36
+ duration: {
37
+ type: NumberConstructor;
38
+ required: true;
39
+ };
40
+ delay: NumberConstructor;
41
+ }>> & {
42
+ onComplete?: ((...args: any[]) => any) | undefined;
43
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "complete"[], string, {}> & {
44
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
45
+ created?: ((() => void) | (() => void)[]) | undefined;
46
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
47
+ mounted?: ((() => void) | (() => void)[]) | undefined;
48
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
49
+ updated?: ((() => void) | (() => void)[]) | undefined;
50
+ activated?: ((() => void) | (() => void)[]) | undefined;
51
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
52
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
53
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
54
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
55
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
56
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
57
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
58
+ 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;
59
+ };
60
+ $forceUpdate: () => void;
61
+ $nextTick: typeof import("vue").nextTick;
62
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
63
+ } & Readonly<import("vue").ExtractPropTypes<{
64
+ name: {
65
+ type: StringConstructor;
66
+ required: true;
67
+ };
68
+ duration: {
69
+ type: NumberConstructor;
70
+ required: true;
71
+ };
72
+ delay: NumberConstructor;
73
+ }>> & {
74
+ onComplete?: ((...args: any[]) => any) | undefined;
75
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
76
+ __isFragment?: undefined;
77
+ __isTeleport?: undefined;
78
+ __isSuspense?: undefined;
79
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
80
+ name: {
81
+ type: StringConstructor;
82
+ required: true;
83
+ };
84
+ duration: {
85
+ type: NumberConstructor;
86
+ required: true;
87
+ };
88
+ delay: NumberConstructor;
89
+ }>> & {
90
+ onComplete?: ((...args: any[]) => any) | undefined;
91
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "complete"[], "complete", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
92
+ $slots: {
93
+ oldElement: {
94
+ class: {
95
+ [key: string]: any;
96
+ };
97
+ };
98
+ newElement: {};
99
+ };
100
+ });
101
+ export default _default;
package/dist/config.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { TransitionSettings } from './utils/transition';
1
2
  export declare function setConfig(conf: Config): void;
2
3
  export declare function getConfig(): Config;
3
4
  export declare function getSkillConfig(id: string): SkillData;
@@ -89,6 +90,9 @@ export interface Config {
89
90
  quests: {
90
91
  [key: string]: QuestData;
91
92
  };
93
+ transitions: {
94
+ [key: string]: TransitionSettings;
95
+ };
92
96
  audioTriggers: {
93
97
  [key: string]: string;
94
98
  };
package/dist/main.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import 'es6-promise/auto';
2
+ import 'virtual:windi.css';
2
3
  import './/sass/main.css';
3
4
  import { GameConfig } from './types/app-types';
4
5
  import { AppOptions } from './config';