narrat 2.3.0 → 2.3.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.
Files changed (115) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +128 -128
  3. package/dist/app.vue.d.ts +94 -91
  4. package/dist/components/MainMenu.vue.d.ts +12 -12
  5. package/dist/components/{SkillsWindow.vue.d.ts → Skills.vue.d.ts} +22 -22
  6. package/dist/components/StartMenu.vue.d.ts +46 -46
  7. package/dist/components/debug/debug-menu.vue.d.ts +48 -48
  8. package/dist/components/dialog-picture.vue.d.ts +9 -11
  9. package/dist/components/engine-splash/engine-splash.vue.d.ts +54 -54
  10. package/dist/components/game-dialog.vue.d.ts +65 -65
  11. package/dist/components/game-splash/game-splash.vue.d.ts +46 -46
  12. package/dist/components/hud.vue.d.ts +14 -14
  13. package/dist/components/in-game.vue.d.ts +46 -46
  14. package/dist/components/inventory-ui.vue.d.ts +30 -30
  15. package/dist/components/loading-bar.vue.d.ts +10 -10
  16. package/dist/components/menu-buttons.vue.d.ts +26 -54
  17. package/dist/components/notification-toast.vue.d.ts +6 -6
  18. package/dist/components/quests-ui.vue.d.ts +20 -20
  19. package/dist/components/save-slots.vue.d.ts +79 -79
  20. package/dist/components/saves/save-slot.vue.d.ts +108 -108
  21. package/dist/components/screen-layer.vue.d.ts +76 -76
  22. package/dist/components/screens.vue.d.ts +46 -46
  23. package/dist/components/transitions/NarratTransition.vue.d.ts +101 -101
  24. package/dist/components/utils/alert-modal.vue.d.ts +82 -82
  25. package/dist/components/utils/{modal-window.vue.d.ts → modal.vue.d.ts} +18 -18
  26. package/dist/components/utils/yes-no.vue.d.ts +106 -106
  27. package/dist/components/volume-controls.vue.d.ts +18 -18
  28. package/dist/config.d.ts +181 -194
  29. package/dist/constants.d.ts +8 -10
  30. package/dist/defaultConfig.d.ts +2 -2
  31. package/dist/demo/demo.d.ts +1 -1
  32. package/dist/dialog-box.vue.d.ts +41 -41
  33. package/dist/exports/config.d.ts +1 -1
  34. package/dist/exports/display.d.ts +2 -2
  35. package/dist/exports/plugins.d.ts +20 -38
  36. package/dist/favicon.svg +30 -30
  37. package/dist/lib.d.ts +14 -18
  38. package/dist/main.d.ts +6 -7
  39. package/dist/narrat.es.js +8419 -8981
  40. package/dist/narrat.es.js.map +1 -1
  41. package/dist/narrat.umd.js +73 -73
  42. package/dist/narrat.umd.js.map +1 -1
  43. package/dist/plugins/NarratPlugin.d.ts +11 -11
  44. package/dist/stores/audio-store.d.ts +48 -48
  45. package/dist/stores/dialog-store.d.ts +32 -32
  46. package/dist/stores/hud-stats-store.d.ts +22 -22
  47. package/dist/stores/inventory-store.d.ts +37 -37
  48. package/dist/stores/main-store.d.ts +822 -813
  49. package/dist/stores/notification-store.d.ts +15 -15
  50. package/dist/stores/quest-log.d.ts +39 -39
  51. package/dist/stores/rendering-store.d.ts +13 -13
  52. package/dist/stores/screens-store.d.ts +35 -35
  53. package/dist/stores/skills.d.ts +40 -40
  54. package/dist/stores/vm-store.d.ts +180 -180
  55. package/dist/style.css +1 -1
  56. package/dist/types/app-types.d.ts +5 -9
  57. package/dist/types/character-types.d.ts +27 -27
  58. package/dist/types/dialog-box-types.d.ts +11 -11
  59. package/dist/types/game-save.d.ts +36 -36
  60. package/dist/types/parser.d.ts +93 -93
  61. package/dist/types/state.d.ts +3 -3
  62. package/dist/utils/InputsListener.d.ts +9 -9
  63. package/dist/utils/ajax.d.ts +1 -1
  64. package/dist/utils/audio-loader.d.ts +10 -10
  65. package/dist/utils/characters.d.ts +5 -5
  66. package/dist/utils/data-helpers.d.ts +25 -28
  67. package/dist/utils/debounce.d.ts +14 -14
  68. package/dist/utils/error-handling.d.ts +3 -3
  69. package/dist/utils/helpers.d.ts +6 -6
  70. package/dist/utils/images-loader.d.ts +6 -6
  71. package/dist/utils/logger.d.ts +11 -11
  72. package/dist/utils/object-iterators.d.ts +8 -8
  73. package/dist/utils/promises.d.ts +1 -1
  74. package/dist/utils/randomId.d.ts +1 -1
  75. package/dist/utils/save-helpers.d.ts +18 -18
  76. package/dist/utils/skillchecks.d.ts +17 -17
  77. package/dist/utils/string-helpers.d.ts +3 -3
  78. package/dist/utils/time-helpers.d.ts +2 -2
  79. package/dist/utils/transition.d.ts +15 -15
  80. package/dist/utils/type-utils.d.ts +1 -2
  81. package/dist/utils/typed-emitter.d.ts +18 -18
  82. package/dist/vm/commands/arithmetic-commands.d.ts +23 -23
  83. package/dist/vm/commands/audio-commands.d.ts +15 -15
  84. package/dist/vm/commands/choice.d.ts +37 -37
  85. package/dist/vm/commands/clear_dialog.d.ts +2 -2
  86. package/dist/vm/commands/command-helpers.d.ts +3 -3
  87. package/dist/vm/commands/command-plugin.d.ts +43 -43
  88. package/dist/vm/commands/flow-commands.d.ts +24 -24
  89. package/dist/vm/commands/if.d.ts +10 -10
  90. package/dist/vm/commands/index.d.ts +2 -2
  91. package/dist/vm/commands/inventory-commands.d.ts +15 -15
  92. package/dist/vm/commands/logic-command.d.ts +42 -42
  93. package/dist/vm/commands/math-commands.d.ts +30 -30
  94. package/dist/vm/commands/notify.d.ts +6 -6
  95. package/dist/vm/commands/quest-commands.d.ts +30 -30
  96. package/dist/vm/commands/random-commands.d.ts +10 -10
  97. package/dist/vm/commands/screen-commands.d.ts +15 -15
  98. package/dist/vm/commands/set.d.ts +6 -6
  99. package/dist/vm/commands/skill-commands.d.ts +30 -30
  100. package/dist/vm/commands/stats-commands.d.ts +12 -12
  101. package/dist/vm/commands/string-commands.d.ts +9 -9
  102. package/dist/vm/commands/text-field.d.ts +7 -7
  103. package/dist/vm/commands/text.d.ts +14 -14
  104. package/dist/vm/commands/wait.d.ts +4 -4
  105. package/dist/vm/vm-helpers.d.ts +18 -18
  106. package/dist/vm/vm-parser.d.ts +19 -19
  107. package/dist/vm/vm-parser.test.d.ts +1 -1
  108. package/dist/vm/vm.d.ts +18 -21
  109. package/package.json +1 -1
  110. package/dist/exports/components.d.ts +0 -2
  111. package/dist/exports/events.d.ts +0 -1
  112. package/dist/exports/others.d.ts +0 -1
  113. package/dist/exports/stores.d.ts +0 -11
  114. package/dist/menu-buttons/menu-buttons.d.ts +0 -4
  115. package/dist/stores/menu-store.d.ts +0 -36
@@ -1,101 +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
- }) => any;
98
- newElement: (_: {}) => any;
99
- };
100
- });
101
- export default _default;
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
+ }) => any;
98
+ newElement: (_: {}) => any;
99
+ };
100
+ });
101
+ export default _default;
@@ -1,82 +1,82 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
6
- title: {
7
- type: StringConstructor;
8
- required: false;
9
- };
10
- text: {
11
- type: StringConstructor;
12
- required: false;
13
- };
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: string, ...args: any[]) => void;
27
- $el: any;
28
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
29
- title: {
30
- type: StringConstructor;
31
- required: false;
32
- };
33
- text: {
34
- type: StringConstructor;
35
- required: false;
36
- };
37
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
38
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
39
- created?: ((() => void) | (() => void)[]) | undefined;
40
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
41
- mounted?: ((() => void) | (() => void)[]) | undefined;
42
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
43
- updated?: ((() => void) | (() => void)[]) | undefined;
44
- activated?: ((() => void) | (() => void)[]) | undefined;
45
- deactivated?: ((() => void) | (() => void)[]) | undefined;
46
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
47
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
48
- destroyed?: ((() => void) | (() => void)[]) | undefined;
49
- unmounted?: ((() => void) | (() => void)[]) | undefined;
50
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
51
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
52
- 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;
53
- };
54
- $forceUpdate: () => void;
55
- $nextTick: typeof import("vue").nextTick;
56
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
57
- } & Readonly<import("vue").ExtractPropTypes<{
58
- title: {
59
- type: StringConstructor;
60
- required: false;
61
- };
62
- text: {
63
- type: StringConstructor;
64
- required: false;
65
- };
66
- }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
67
- __isFragment?: undefined;
68
- __isTeleport?: undefined;
69
- __isSuspense?: undefined;
70
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
71
- title: {
72
- type: StringConstructor;
73
- required: false;
74
- };
75
- text: {
76
- type: StringConstructor;
77
- required: false;
78
- };
79
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
80
- $slots: {};
81
- });
82
- export default _default;
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
6
+ title: {
7
+ type: StringConstructor;
8
+ required: false;
9
+ };
10
+ text: {
11
+ type: StringConstructor;
12
+ required: false;
13
+ };
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: string, ...args: any[]) => void;
27
+ $el: any;
28
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
29
+ title: {
30
+ type: StringConstructor;
31
+ required: false;
32
+ };
33
+ text: {
34
+ type: StringConstructor;
35
+ required: false;
36
+ };
37
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
38
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
39
+ created?: ((() => void) | (() => void)[]) | undefined;
40
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
41
+ mounted?: ((() => void) | (() => void)[]) | undefined;
42
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
43
+ updated?: ((() => void) | (() => void)[]) | undefined;
44
+ activated?: ((() => void) | (() => void)[]) | undefined;
45
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
46
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
47
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
48
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
49
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
50
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
51
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
52
+ 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;
53
+ };
54
+ $forceUpdate: () => void;
55
+ $nextTick: typeof import("vue").nextTick;
56
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
57
+ } & Readonly<import("vue").ExtractPropTypes<{
58
+ title: {
59
+ type: StringConstructor;
60
+ required: false;
61
+ };
62
+ text: {
63
+ type: StringConstructor;
64
+ required: false;
65
+ };
66
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
67
+ __isFragment?: undefined;
68
+ __isTeleport?: undefined;
69
+ __isSuspense?: undefined;
70
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
71
+ title: {
72
+ type: StringConstructor;
73
+ required: false;
74
+ };
75
+ text: {
76
+ type: StringConstructor;
77
+ required: false;
78
+ };
79
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
80
+ $slots: {};
81
+ });
82
+ export default _default;
@@ -1,18 +1,18 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- containerCssClass: StringConstructor;
3
- cantClose: {
4
- type: BooleanConstructor;
5
- default: boolean;
6
- };
7
- }, unknown, unknown, {}, {
8
- close(): void;
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;
11
- cantClose: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- }>>, {
16
- cantClose: boolean;
17
- }>;
18
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ containerCssClass: StringConstructor;
3
+ cantClose: {
4
+ type: BooleanConstructor;
5
+ default: boolean;
6
+ };
7
+ }, unknown, unknown, {}, {
8
+ close(): void;
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;
11
+ cantClose: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }>>, {
16
+ cantClose: boolean;
17
+ }>;
18
+ export default _default;
@@ -1,106 +1,106 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
6
- prompt: {
7
- type: StringConstructor;
8
- required: true;
9
- };
10
- onConfirm: {
11
- type: FunctionConstructor;
12
- required: false;
13
- };
14
- onRefuse: {
15
- type: FunctionConstructor;
16
- required: false;
17
- };
18
- }>> & {
19
- onChoice?: ((...args: any[]) => any) | undefined;
20
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
21
- $attrs: {
22
- [x: string]: unknown;
23
- };
24
- $refs: {
25
- [x: string]: unknown;
26
- };
27
- $slots: Readonly<{
28
- [name: string]: import("vue").Slot | undefined;
29
- }>;
30
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
31
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
32
- $emit: (event: "choice", ...args: any[]) => void;
33
- $el: any;
34
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
35
- prompt: {
36
- type: StringConstructor;
37
- required: true;
38
- };
39
- onConfirm: {
40
- type: FunctionConstructor;
41
- required: false;
42
- };
43
- onRefuse: {
44
- type: FunctionConstructor;
45
- required: false;
46
- };
47
- }>> & {
48
- onChoice?: ((...args: any[]) => any) | undefined;
49
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "choice"[], string, {}> & {
50
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
51
- created?: ((() => void) | (() => void)[]) | undefined;
52
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
53
- mounted?: ((() => void) | (() => void)[]) | undefined;
54
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
55
- updated?: ((() => void) | (() => void)[]) | undefined;
56
- activated?: ((() => void) | (() => void)[]) | undefined;
57
- deactivated?: ((() => void) | (() => void)[]) | undefined;
58
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
59
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
60
- destroyed?: ((() => void) | (() => void)[]) | undefined;
61
- unmounted?: ((() => void) | (() => void)[]) | undefined;
62
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
63
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
64
- 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;
65
- };
66
- $forceUpdate: () => void;
67
- $nextTick: typeof import("vue").nextTick;
68
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
69
- } & Readonly<import("vue").ExtractPropTypes<{
70
- prompt: {
71
- type: StringConstructor;
72
- required: true;
73
- };
74
- onConfirm: {
75
- type: FunctionConstructor;
76
- required: false;
77
- };
78
- onRefuse: {
79
- type: FunctionConstructor;
80
- required: false;
81
- };
82
- }>> & {
83
- onChoice?: ((...args: any[]) => any) | undefined;
84
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
85
- __isFragment?: undefined;
86
- __isTeleport?: undefined;
87
- __isSuspense?: undefined;
88
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
89
- prompt: {
90
- type: StringConstructor;
91
- required: true;
92
- };
93
- onConfirm: {
94
- type: FunctionConstructor;
95
- required: false;
96
- };
97
- onRefuse: {
98
- type: FunctionConstructor;
99
- required: false;
100
- };
101
- }>> & {
102
- onChoice?: ((...args: any[]) => any) | undefined;
103
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "choice"[], "choice", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
104
- $slots: {};
105
- });
106
- export default _default;
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
6
+ prompt: {
7
+ type: StringConstructor;
8
+ required: true;
9
+ };
10
+ onConfirm: {
11
+ type: FunctionConstructor;
12
+ required: false;
13
+ };
14
+ onRefuse: {
15
+ type: FunctionConstructor;
16
+ required: false;
17
+ };
18
+ }>> & {
19
+ onChoice?: ((...args: any[]) => any) | undefined;
20
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
21
+ $attrs: {
22
+ [x: string]: unknown;
23
+ };
24
+ $refs: {
25
+ [x: string]: unknown;
26
+ };
27
+ $slots: Readonly<{
28
+ [name: string]: import("vue").Slot | undefined;
29
+ }>;
30
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
31
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
32
+ $emit: (event: "choice", ...args: any[]) => void;
33
+ $el: any;
34
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
35
+ prompt: {
36
+ type: StringConstructor;
37
+ required: true;
38
+ };
39
+ onConfirm: {
40
+ type: FunctionConstructor;
41
+ required: false;
42
+ };
43
+ onRefuse: {
44
+ type: FunctionConstructor;
45
+ required: false;
46
+ };
47
+ }>> & {
48
+ onChoice?: ((...args: any[]) => any) | undefined;
49
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "choice"[], string, {}> & {
50
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
51
+ created?: ((() => void) | (() => void)[]) | undefined;
52
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
53
+ mounted?: ((() => void) | (() => void)[]) | undefined;
54
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
55
+ updated?: ((() => void) | (() => void)[]) | undefined;
56
+ activated?: ((() => void) | (() => void)[]) | undefined;
57
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
58
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
59
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
60
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
61
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
62
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
63
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
64
+ 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;
65
+ };
66
+ $forceUpdate: () => void;
67
+ $nextTick: typeof import("vue").nextTick;
68
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
69
+ } & Readonly<import("vue").ExtractPropTypes<{
70
+ prompt: {
71
+ type: StringConstructor;
72
+ required: true;
73
+ };
74
+ onConfirm: {
75
+ type: FunctionConstructor;
76
+ required: false;
77
+ };
78
+ onRefuse: {
79
+ type: FunctionConstructor;
80
+ required: false;
81
+ };
82
+ }>> & {
83
+ onChoice?: ((...args: any[]) => any) | undefined;
84
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
85
+ __isFragment?: undefined;
86
+ __isTeleport?: undefined;
87
+ __isSuspense?: undefined;
88
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
89
+ prompt: {
90
+ type: StringConstructor;
91
+ required: true;
92
+ };
93
+ onConfirm: {
94
+ type: FunctionConstructor;
95
+ required: false;
96
+ };
97
+ onRefuse: {
98
+ type: FunctionConstructor;
99
+ required: false;
100
+ };
101
+ }>> & {
102
+ onChoice?: ((...args: any[]) => any) | undefined;
103
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "choice"[], "choice", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
104
+ $slots: {};
105
+ });
106
+ export default _default;