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