jsx-repl 0.0.13 → 0.0.14
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/index.js +17 -17
- package/dist/src/Message.d.ts +9 -21
- package/dist/src/Repl.d.ts +84 -14
- package/dist/src/SplitPane.d.ts +1 -23
- package/dist/src/editor/EditorContainer.d.ts +5 -15
- package/dist/src/editor/FileSelector.d.ts +14 -16
- package/dist/src/editor/ToggleButton.d.ts +19 -15
- package/dist/src/monaco/Monaco.d.ts +25 -19
- package/dist/src/output/Devtools.d.ts +17 -16
- package/dist/src/output/Output.d.ts +13 -23
- package/dist/src/output/Preview.d.ts +9 -19
- package/dist/src/output/SourceMap.d.ts +3 -13
- package/dist/src/output/user/Login.d.ts +3 -13
- package/dist/src/output/user/Project.d.ts +8 -10
- package/package.json +3 -3
package/dist/src/Message.d.ts
CHANGED
|
@@ -1,22 +1,10 @@
|
|
|
1
|
-
declare const _default: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
slots: {};
|
|
11
|
-
expose: (exposed: Record<string, any>) => void;
|
|
12
|
-
attrs: Record<string, any>;
|
|
13
|
-
};
|
|
14
|
-
render: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}> | import("vue").VaporRenderResult<import("vue").Block>[] | import("vue").VaporComponentInstance<Readonly<import("vue").TransitionProps & {}>, {}, import("vue").StaticSlots, Record<string, any>, Node, Record<string, any>> | import("vue").VaporComponentInstance<Readonly<import("vue").TransitionProps & {}>, {}, import("vue").StaticSlots, Record<string, any>, import("vue").VaporFragment<import("vue").Block>, Record<string, any>> | import("vue").VaporComponentInstance<Readonly<import("vue").TransitionProps & {}>, {}, import("vue").StaticSlots, Record<string, any>, import("vue").DynamicFragment, Record<string, any>> | import("vue").VaporComponentInstance<Readonly<import("vue").TransitionProps & {}>, {}, import("vue").StaticSlots, Record<string, any>, import("vue").VaporComponentInstance<{}, {}, import("vue").StaticSlots, Record<string, any>, import("vue").Block, Record<string, any>>, Record<string, any>> | import("vue").VaporComponentInstance<Readonly<import("vue").TransitionProps & {}>, {}, import("vue").StaticSlots, Record<string, any>, import("vue").Block[], Record<string, any>>;
|
|
17
|
-
}) => typeof __ctx.render & {
|
|
18
|
-
__ctx?: {
|
|
19
|
-
props: typeof __ctx.props;
|
|
20
|
-
} & typeof __ctx.context;
|
|
21
|
-
};
|
|
1
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, string, {
|
|
4
|
+
err?: (string | Error | false) | undefined;
|
|
5
|
+
warn?: (string | Error) | undefined;
|
|
6
|
+
}, {}, string, {}, import("vue").ShallowUnwrapRef<Record<string, any>>, import("vue").Block, {}, true, import("vue").VaporPublicProps, {
|
|
7
|
+
err?: (string | Error | false) | undefined;
|
|
8
|
+
warn?: (string | Error) | undefined;
|
|
9
|
+
} & {}, {}>;
|
|
22
10
|
export default _default;
|
package/dist/src/Repl.d.ts
CHANGED
|
@@ -37,21 +37,91 @@ export interface Props {
|
|
|
37
37
|
outputTogglerText?: string;
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
export declare const Repl: (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
export declare const Repl: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
41
|
+
[x: string]: unknown;
|
|
42
|
+
}>, string, {
|
|
43
|
+
modelValue: import("vue").UnwrapRef<import("vue").ModelRef<string, string, string, string>>;
|
|
44
|
+
'onUpdate:modelValue'?: (($event: import("vue").UnwrapRef<import("vue").ModelRef<string, string, string, string>>) => any) | undefined;
|
|
45
|
+
previewTheme?: boolean | undefined;
|
|
46
|
+
editor?: EditorComponentType | undefined;
|
|
47
|
+
autoResize?: boolean | undefined;
|
|
48
|
+
autoSave?: boolean | undefined;
|
|
49
|
+
showCompileOutput?: boolean | undefined;
|
|
50
|
+
clearConsole?: boolean | undefined;
|
|
51
|
+
store?: Store | undefined;
|
|
52
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
53
|
+
slim?: boolean | undefined;
|
|
54
|
+
ssr?: boolean | undefined;
|
|
55
|
+
theme?: "dark" | "light" | undefined;
|
|
56
|
+
previewOptions?: {
|
|
57
|
+
headHTML?: string;
|
|
58
|
+
bodyHTML?: string;
|
|
59
|
+
placeholderHTML?: string;
|
|
60
|
+
customCode?: {
|
|
61
|
+
importCode?: string;
|
|
62
|
+
useCode?: string;
|
|
63
|
+
};
|
|
64
|
+
showRuntimeError?: boolean;
|
|
65
|
+
} | undefined;
|
|
66
|
+
editorOptions?: {
|
|
67
|
+
showErrorText?: string | false;
|
|
68
|
+
virtualFilesText?: string | false;
|
|
69
|
+
sourceMapText?: string | false;
|
|
70
|
+
autoSaveText?: string | false;
|
|
71
|
+
monacoOptions?: monaco.editor.IStandaloneEditorConstructionOptions;
|
|
72
|
+
} | undefined;
|
|
73
|
+
splitPaneOptions?: {
|
|
74
|
+
codeTogglerText?: string;
|
|
75
|
+
outputTogglerText?: string;
|
|
76
|
+
} | undefined;
|
|
77
|
+
}, {}, string, {}, import("vue").ShallowUnwrapRef<{
|
|
78
|
+
reload: () => void;
|
|
79
|
+
}>, HTMLDivElement & {
|
|
80
|
+
__ctx?: {
|
|
81
|
+
props: {
|
|
82
|
+
modelValue: import("vue").UnwrapRef<import("vue").ModelRef<string, string, string, string>>;
|
|
83
|
+
'onUpdate:modelValue'?: ($event: import("vue").UnwrapRef<import("vue").ModelRef<string, string, string, string>>) => any;
|
|
84
|
+
};
|
|
85
|
+
} & {
|
|
46
86
|
slots: {};
|
|
47
|
-
expose: (exposed: {
|
|
87
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
48
88
|
reload: () => void;
|
|
49
|
-
}) => void;
|
|
89
|
+
}>) => void;
|
|
50
90
|
attrs: Record<string, any>;
|
|
51
91
|
};
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
92
|
+
}, {}, true, import("vue").VaporPublicProps, {
|
|
93
|
+
modelValue: import("vue").UnwrapRef<import("vue").ModelRef<string, string, string, string>>;
|
|
94
|
+
'onUpdate:modelValue'?: (($event: import("vue").UnwrapRef<import("vue").ModelRef<string, string, string, string>>) => any) | undefined;
|
|
95
|
+
previewTheme?: boolean | undefined;
|
|
96
|
+
editor?: EditorComponentType | undefined;
|
|
97
|
+
autoResize?: boolean | undefined;
|
|
98
|
+
autoSave?: boolean | undefined;
|
|
99
|
+
showCompileOutput?: boolean | undefined;
|
|
100
|
+
clearConsole?: boolean | undefined;
|
|
101
|
+
store?: Store | undefined;
|
|
102
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
103
|
+
slim?: boolean | undefined;
|
|
104
|
+
ssr?: boolean | undefined;
|
|
105
|
+
theme?: "dark" | "light" | undefined;
|
|
106
|
+
previewOptions?: {
|
|
107
|
+
headHTML?: string;
|
|
108
|
+
bodyHTML?: string;
|
|
109
|
+
placeholderHTML?: string;
|
|
110
|
+
customCode?: {
|
|
111
|
+
importCode?: string;
|
|
112
|
+
useCode?: string;
|
|
113
|
+
};
|
|
114
|
+
showRuntimeError?: boolean;
|
|
115
|
+
} | undefined;
|
|
116
|
+
editorOptions?: {
|
|
117
|
+
showErrorText?: string | false;
|
|
118
|
+
virtualFilesText?: string | false;
|
|
119
|
+
sourceMapText?: string | false;
|
|
120
|
+
autoSaveText?: string | false;
|
|
121
|
+
monacoOptions?: monaco.editor.IStandaloneEditorConstructionOptions;
|
|
122
|
+
} | undefined;
|
|
123
|
+
splitPaneOptions?: {
|
|
124
|
+
codeTogglerText?: string;
|
|
125
|
+
outputTogglerText?: string;
|
|
126
|
+
} | undefined;
|
|
127
|
+
} & {}, {}>;
|
package/dist/src/SplitPane.d.ts
CHANGED
|
@@ -1,24 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const _default: (__props: typeof __ctx.props & {
|
|
3
|
-
layout?: Props["layout"];
|
|
4
|
-
inline?: boolean;
|
|
5
|
-
}, __context?: typeof __ctx.context, __ctx?: Awaited<ReturnType<typeof __fn>>, __fn?: (props: {
|
|
6
|
-
layout?: Props["layout"];
|
|
7
|
-
inline?: boolean;
|
|
8
|
-
}) => {
|
|
9
|
-
props: {};
|
|
10
|
-
context: {
|
|
11
|
-
slots: Partial<{
|
|
12
|
-
left: () => JSX.Element;
|
|
13
|
-
right: () => JSX.Element;
|
|
14
|
-
}>;
|
|
15
|
-
expose: (exposed: Record<string, any>) => void;
|
|
16
|
-
attrs: Record<string, any>;
|
|
17
|
-
};
|
|
18
|
-
render: HTMLDivElement;
|
|
19
|
-
}) => typeof __ctx.render & {
|
|
20
|
-
__ctx?: {
|
|
21
|
-
props: typeof __ctx.props;
|
|
22
|
-
} & typeof __ctx.context;
|
|
23
|
-
};
|
|
1
|
+
declare const _default: import("vue").DefineVaporSetupFnComponent<Record<string, any>, {}, import("vue").StaticSlots, Record<string, any>, import("vue").Block, Record<string, any> & {} & import("vue").ReservedProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps>;
|
|
24
2
|
export default _default;
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import { type EditorComponentType } from '../types';
|
|
2
|
-
declare const _default: (
|
|
2
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
3
|
+
[x: string]: unknown;
|
|
4
|
+
}>, string, {
|
|
3
5
|
editorComponent: EditorComponentType;
|
|
4
|
-
},
|
|
6
|
+
}, {}, string, {}, import("vue").ShallowUnwrapRef<Record<string, any>>, Node | import("vue").VaporFragment<import("vue").Block> | import("vue").DynamicFragment | import("vue").VaporComponentInstance<{}, {}, import("vue").StaticSlots, Record<string, any>, import("vue").Block, Record<string, any>>, {}, true, import("vue").VaporPublicProps, {
|
|
5
7
|
editorComponent: EditorComponentType;
|
|
6
|
-
}
|
|
7
|
-
props: {};
|
|
8
|
-
context: {
|
|
9
|
-
slots: {};
|
|
10
|
-
expose: (exposed: Record<string, any>) => void;
|
|
11
|
-
attrs: Record<string, any>;
|
|
12
|
-
};
|
|
13
|
-
render: JSX.Element;
|
|
14
|
-
}) => typeof __ctx.render & {
|
|
15
|
-
__ctx?: {
|
|
16
|
-
props: typeof __ctx.props;
|
|
17
|
-
} & typeof __ctx.context;
|
|
18
|
-
};
|
|
8
|
+
} & {}, {}>;
|
|
19
9
|
export default _default;
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import { type ReplFile } from '../store';
|
|
2
|
-
declare const _default: (
|
|
2
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
3
|
+
[x: string]: unknown;
|
|
4
|
+
}>, string, {
|
|
3
5
|
files: Record<string, ReplFile>;
|
|
4
6
|
activeFile: ReplFile;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}) => {
|
|
11
|
-
props: {};
|
|
12
|
-
context: {
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
}, {}, string, {}, import("vue").ShallowUnwrapRef<Record<string, any>>, HTMLDivElement & {
|
|
9
|
+
__ctx?: {
|
|
10
|
+
props: {};
|
|
11
|
+
} & {
|
|
13
12
|
slots: {};
|
|
14
|
-
expose: (exposed: Record<string, any
|
|
13
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<Record<string, any>>) => void;
|
|
15
14
|
attrs: Record<string, any>;
|
|
16
15
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
16
|
+
}, {}, true, import("vue").VaporPublicProps, {
|
|
17
|
+
files: Record<string, ReplFile>;
|
|
18
|
+
activeFile: ReplFile;
|
|
19
|
+
disabled?: boolean | undefined;
|
|
20
|
+
} & {}, {}>;
|
|
23
21
|
export default _default;
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
declare const _default: (
|
|
1
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, string, {
|
|
4
|
+
modelValue?: boolean | undefined;
|
|
5
|
+
'onUpdate:modelValue'?: (($event: import("vue").UnwrapRef<import("vue").ModelRef<boolean | undefined, string, boolean | undefined, boolean | undefined>>) => any) | undefined;
|
|
2
6
|
text?: string | undefined;
|
|
3
|
-
})
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
}, {}, string, {}, import("vue").ShallowUnwrapRef<Record<string, any>>, HTMLDivElement & {
|
|
8
|
+
__ctx?: {
|
|
9
|
+
props: {
|
|
10
|
+
modelValue?: import("vue").UnwrapRef<import("vue").ModelRef<boolean | undefined, string, boolean | undefined, boolean | undefined>>;
|
|
11
|
+
'onUpdate:modelValue'?: ($event: import("vue").UnwrapRef<import("vue").ModelRef<boolean | undefined, string, boolean | undefined, boolean | undefined>>) => any;
|
|
12
|
+
text?: string;
|
|
13
|
+
};
|
|
14
|
+
} & {
|
|
10
15
|
slots: {};
|
|
11
|
-
expose: (exposed: Record<string, any
|
|
16
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<Record<string, any>>) => void;
|
|
12
17
|
attrs: Record<string, any>;
|
|
13
18
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
19
|
+
}, {}, true, import("vue").VaporPublicProps, {
|
|
20
|
+
modelValue?: boolean | undefined;
|
|
21
|
+
'onUpdate:modelValue'?: (($event: import("vue").UnwrapRef<import("vue").ModelRef<boolean | undefined, string, boolean | undefined, boolean | undefined>>) => any) | undefined;
|
|
22
|
+
text?: string | undefined;
|
|
23
|
+
} & {}, {}>;
|
|
20
24
|
export default _default;
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor-core';
|
|
2
2
|
import { type EditorMode } from '../types';
|
|
3
|
-
declare const _default: (
|
|
4
|
-
|
|
3
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
4
|
+
[x: string]: unknown;
|
|
5
|
+
}>, string, {
|
|
6
|
+
filename: string;
|
|
5
7
|
readonly?: boolean | undefined;
|
|
6
8
|
value?: string | undefined;
|
|
7
9
|
mode?: EditorMode | undefined;
|
|
8
10
|
onChange?: ((value: string) => void) | undefined;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
}, {}, string, {}, import("vue").ShallowUnwrapRef<{
|
|
12
|
+
editor: monaco.editor.IStandaloneCodeEditor | undefined;
|
|
13
|
+
}>, HTMLDivElement & {
|
|
14
|
+
__ctx?: {
|
|
15
|
+
props: {
|
|
16
|
+
filename: string;
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
value?: string;
|
|
19
|
+
mode?: EditorMode;
|
|
20
|
+
onChange?: (value: string) => void;
|
|
21
|
+
};
|
|
22
|
+
} & {
|
|
18
23
|
slots: {};
|
|
19
|
-
expose: (exposed: {
|
|
24
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
20
25
|
editor: monaco.editor.IStandaloneCodeEditor | undefined;
|
|
21
|
-
}) => void;
|
|
26
|
+
}>) => void;
|
|
22
27
|
attrs: Record<string, any>;
|
|
23
28
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
}, {}, true, import("vue").VaporPublicProps, {
|
|
30
|
+
filename: string;
|
|
31
|
+
readonly?: boolean | undefined;
|
|
32
|
+
value?: string | undefined;
|
|
33
|
+
mode?: EditorMode | undefined;
|
|
34
|
+
onChange?: ((value: string) => void) | undefined;
|
|
35
|
+
} & {}, {}>;
|
|
30
36
|
export default _default;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
declare const _default: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, string, {
|
|
4
|
+
previewContainer?: (HTMLDivElement | null) | undefined;
|
|
5
|
+
theme?: ("dark" | "light") | undefined;
|
|
6
|
+
}, {}, string, {}, import("vue").ShallowUnwrapRef<Record<string, any>>, HTMLDivElement & {
|
|
7
|
+
__ctx?: {
|
|
8
|
+
props: {
|
|
9
|
+
previewContainer?: HTMLDivElement | null;
|
|
10
|
+
theme?: "dark" | "light";
|
|
11
|
+
};
|
|
12
|
+
} & {
|
|
10
13
|
slots: {};
|
|
11
|
-
expose: (exposed: Record<string, any
|
|
14
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<Record<string, any>>) => void;
|
|
12
15
|
attrs: Record<string, any>;
|
|
13
16
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} & typeof __ctx.context;
|
|
19
|
-
};
|
|
17
|
+
}, {}, true, import("vue").VaporPublicProps, {
|
|
18
|
+
previewContainer?: (HTMLDivElement | null) | undefined;
|
|
19
|
+
theme?: ("dark" | "light") | undefined;
|
|
20
|
+
} & {}, {}>;
|
|
20
21
|
export default _default;
|
|
@@ -1,29 +1,19 @@
|
|
|
1
1
|
import { type EditorComponentType } from '../types';
|
|
2
|
-
declare const _default: (
|
|
2
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
3
|
+
[x: string]: unknown;
|
|
4
|
+
}>, "ssr" | "showCompileOutput" | "editorComponent", {
|
|
3
5
|
editorComponent: EditorComponentType;
|
|
4
|
-
showCompileOutput?: boolean;
|
|
6
|
+
showCompileOutput?: boolean | undefined;
|
|
5
7
|
ssr: boolean;
|
|
6
|
-
},
|
|
8
|
+
}, {}, string, {}, import("vue").ShallowUnwrapRef<{
|
|
9
|
+
reload: () => void;
|
|
10
|
+
previewRef: {
|
|
11
|
+
reload: () => void;
|
|
12
|
+
container: HTMLDivElement | null | undefined;
|
|
13
|
+
} | null | undefined;
|
|
14
|
+
}>, Node | import("vue").VaporFragment<import("vue").Block> | import("vue").DynamicFragment | import("vue").VaporComponentInstance<{}, {}, import("vue").StaticSlots, Record<string, any>, import("vue").Block, Record<string, any>>, {}, true, import("vue").VaporPublicProps, {
|
|
7
15
|
editorComponent: EditorComponentType;
|
|
8
|
-
showCompileOutput?: boolean;
|
|
16
|
+
showCompileOutput?: boolean | undefined;
|
|
9
17
|
ssr: boolean;
|
|
10
|
-
}
|
|
11
|
-
props: {};
|
|
12
|
-
context: {
|
|
13
|
-
slots: {};
|
|
14
|
-
expose: (exposed: {
|
|
15
|
-
reload: () => void;
|
|
16
|
-
previewRef: {
|
|
17
|
-
reload: () => void;
|
|
18
|
-
container: HTMLDivElement | null | undefined;
|
|
19
|
-
} | null | undefined;
|
|
20
|
-
}) => void;
|
|
21
|
-
attrs: Record<string, any>;
|
|
22
|
-
};
|
|
23
|
-
render: JSX.Element;
|
|
24
|
-
}) => typeof __ctx.render & {
|
|
25
|
-
__ctx?: {
|
|
26
|
-
props: typeof __ctx.props;
|
|
27
|
-
} & typeof __ctx.context;
|
|
28
|
-
};
|
|
18
|
+
} & {}, {}>;
|
|
29
19
|
export default _default;
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
declare const _default: (
|
|
1
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, string, {
|
|
2
4
|
ssr?: boolean | undefined;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
expose: (exposed: {
|
|
10
|
-
reload: () => void;
|
|
11
|
-
container: HTMLDivElement | null | undefined;
|
|
12
|
-
}) => void;
|
|
13
|
-
attrs: Record<string, any>;
|
|
14
|
-
};
|
|
15
|
-
render: JSX.Element;
|
|
16
|
-
}) => typeof __ctx.render & {
|
|
17
|
-
__ctx?: {
|
|
18
|
-
props: typeof __ctx.props;
|
|
19
|
-
} & typeof __ctx.context;
|
|
20
|
-
};
|
|
5
|
+
}, {}, string, {}, import("vue").ShallowUnwrapRef<{
|
|
6
|
+
reload: () => void;
|
|
7
|
+
container: HTMLDivElement | null | undefined;
|
|
8
|
+
}>, Node | import("vue").VaporFragment<import("vue").Block> | import("vue").DynamicFragment | import("vue").VaporComponentInstance<{}, {}, import("vue").StaticSlots, Record<string, any>, import("vue").Block, Record<string, any>>, {}, true, import("vue").VaporPublicProps, {
|
|
9
|
+
ssr?: boolean | undefined;
|
|
10
|
+
} & {}, {}>;
|
|
21
11
|
export default _default;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
declare const _default: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
slots: {};
|
|
5
|
-
expose: (exposed: Record<string, any>) => void;
|
|
6
|
-
attrs: Record<string, any>;
|
|
7
|
-
};
|
|
8
|
-
render: JSX.Element;
|
|
9
|
-
}) => typeof __ctx.render & {
|
|
10
|
-
__ctx?: {
|
|
11
|
-
props: typeof __ctx.props;
|
|
12
|
-
} & typeof __ctx.context;
|
|
13
|
-
};
|
|
1
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, string, {}, {}, string, {}, import("vue").ShallowUnwrapRef<Record<string, any>>, Node | import("vue").VaporFragment<import("vue").Block> | import("vue").DynamicFragment | import("vue").VaporComponentInstance<{}, {}, import("vue").StaticSlots, Record<string, any>, import("vue").Block, Record<string, any>>, {}, true, import("vue").VaporPublicProps, {}, {}>;
|
|
14
4
|
export default _default;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
declare const _default: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
slots: {};
|
|
5
|
-
expose: (exposed: Record<string, any>) => void;
|
|
6
|
-
attrs: Record<string, any>;
|
|
7
|
-
};
|
|
8
|
-
render: JSX.Element;
|
|
9
|
-
}) => typeof __ctx.render & {
|
|
10
|
-
__ctx?: {
|
|
11
|
-
props: typeof __ctx.props;
|
|
12
|
-
} & typeof __ctx.context;
|
|
13
|
-
};
|
|
1
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, string, {}, {}, string, {}, import("vue").ShallowUnwrapRef<Record<string, any>>, Node | import("vue").VaporFragment<import("vue").Block> | import("vue").DynamicFragment | import("vue").VaporComponentInstance<{}, {}, import("vue").StaticSlots, Record<string, any>, import("vue").Block, Record<string, any>>, {}, true, import("vue").VaporPublicProps, {}, {}>;
|
|
14
4
|
export default _default;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
declare const _default: (
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: import("vue").DefineVaporComponent<import("vue").ComponentObjectPropsOptions<{
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, string, {}, {}, string, {}, import("vue").ShallowUnwrapRef<Record<string, any>>, HTMLDivElement & {
|
|
4
|
+
__ctx?: {
|
|
5
|
+
props: {};
|
|
6
|
+
} & {
|
|
4
7
|
slots: {};
|
|
5
|
-
expose: (exposed: Record<string, any
|
|
8
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<Record<string, any>>) => void;
|
|
6
9
|
attrs: Record<string, any>;
|
|
7
10
|
};
|
|
8
|
-
|
|
9
|
-
}) => typeof __ctx.render & {
|
|
10
|
-
__ctx?: {
|
|
11
|
-
props: typeof __ctx.props;
|
|
12
|
-
} & typeof __ctx.context;
|
|
13
|
-
};
|
|
11
|
+
}, {}, true, import("vue").VaporPublicProps, {}, {}>;
|
|
14
12
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsx-repl",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "JSX REPL",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/ssr-stub.js",
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
"volar-plugin-ignore-attributes": "^0.2.6",
|
|
101
101
|
"volar-service-typescript": "^0.0.64",
|
|
102
102
|
"vscode-uri": "^3.1.0",
|
|
103
|
-
"vue": "3.6.0-beta.
|
|
104
|
-
"vue-jsx-vapor": "
|
|
103
|
+
"vue": "3.6.0-beta.9",
|
|
104
|
+
"vue-jsx-vapor": "latest"
|
|
105
105
|
},
|
|
106
106
|
"prisma": {
|
|
107
107
|
"schema": "./server/prisma/schema.prisma"
|