jderobot-ide-interface 0.3.17 → 0.3.19
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/a5a14e7d119e89dea736.wasm +0 -0
- package/dist/components/Button/Button.styles.d.ts +3 -1
- package/dist/components/ButtonsContainer/ButtonsContainer.styles.d.ts +6 -2
- package/dist/components/Dropdown/Dropdown.styles.d.ts +3 -1
- package/dist/components/Explorer/Explorer.styles.d.ts +9 -3
- package/dist/components/Explorer/file_explorer/FileExplorer.styles.d.ts +3 -1
- package/dist/components/Explorer/file_explorer/MoreActionsMenu.styles.d.ts +12 -4
- package/dist/components/Explorer/file_explorer/TreeNode.styles.d.ts +18 -6
- package/dist/components/FileEditor/FileEditor.d.ts +2 -1
- package/dist/components/FileEditor/FileEditor.styles.d.ts +9 -3
- package/dist/components/FileEditor/IdeInterface.stories.d.ts +5 -0
- package/dist/components/FileEditor/TextEditor.d.ts +2 -1
- package/dist/components/FileEditor/lsp-client.d.ts +1 -0
- package/dist/components/IdeInterface/IdeInterface.d.ts +2 -1
- package/dist/components/IdeInterface/IdeInterface.stories.d.ts +1 -1
- package/dist/components/IdeInterface/IdeInterface.styles.d.ts +67 -1228
- package/dist/components/IdeInterface/TheoryInterface.styles.d.ts +21 -7
- package/dist/components/Modals/EditorKeybindModal.styles.d.ts +3 -1
- package/dist/components/Modals/ErrorModal.styles.d.ts +9 -3
- package/dist/components/Modals/Modal.styles.d.ts +68 -25
- package/dist/components/ProgressBar/ProgressBar.style.d.ts +3 -1
- package/dist/components/StatusBar/StatusBar.style.d.ts +9 -3
- package/dist/components/Theory/Canvas.styles.d.ts +3 -1
- package/dist/components/Theory/CarouselDisplay.styles.d.ts +39 -13
- package/dist/components/Theory/Code.styles.d.ts +3 -1
- package/dist/components/Theory/FormulaSection.styles.d.ts +3 -1
- package/dist/components/Theory/HighlightedSection.styles.d.ts +3 -1
- package/dist/components/Theory/Image.styles.d.ts +3 -1
- package/dist/components/Theory/ImageRow.styles.d.ts +3 -1
- package/dist/components/Theory/Link.styles.d.ts +3 -1
- package/dist/components/Theory/List.styles.d.ts +3 -1
- package/dist/components/Theory/LocalVideo.styles.d.ts +3 -1
- package/dist/components/Theory/NumberedList.styles.d.ts +3 -1
- package/dist/components/Theory/Section.styles.d.ts +6 -2
- package/dist/components/Theory/Subsection.styles.d.ts +6 -2
- package/dist/components/Theory/Subsubsection.styles.d.ts +6 -2
- package/dist/components/Theory/Timeline.styles.d.ts +24 -8
- package/dist/components/Theory/TimelineComparison.styles.d.ts +15 -5
- package/dist/components/Theory/YoutubeVideo.styles.d.ts +1 -1
- package/dist/components/VncViewer/VncViewer.styles.d.ts +12 -4
- package/dist/d94e0a7c7ed2cbcaeba4.html +123 -0
- package/dist/main.js +4071 -1890
- package/dist/node_fs_promises.main.js +13 -0
- package/dist/node_modules_vscode_diff_dist_worker_js_esm.main.js +397 -0
- package/dist/package.json +1 -1
- package/dist/vendors-node_modules_jschardet_index_js.main.js +8224 -0
- package/dist/vendors-node_modules_vscode_diff_dist_index_js.main.js +626 -0
- package/dist/vendors-node_modules_vscode_diff_dist_wire_js.main.js +2233 -0
- package/dist/vendors-node_modules_vscode_iconv-lite-umd_lib_iconv-lite-umd_js.main.js +18 -0
- package/package.json +1 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
interface StyledSubsubsectionProps {
|
|
2
2
|
color?: string;
|
|
3
3
|
}
|
|
4
|
-
export declare const StyledSubsubsection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
5
|
-
|
|
4
|
+
export declare const StyledSubsubsection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
5
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
6
|
+
}, StyledSubsubsectionProps>> & string;
|
|
7
|
+
export declare const StyledSubsubsectionTitle: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
9
|
+
}> & string;
|
|
6
10
|
export {};
|
|
@@ -2,25 +2,41 @@ interface SStyledTimelineContainerProps {
|
|
|
2
2
|
bg?: string;
|
|
3
3
|
roundness?: number;
|
|
4
4
|
}
|
|
5
|
-
export declare const StyledTimelineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
5
|
+
export declare const StyledTimelineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
7
|
+
}, SStyledTimelineContainerProps>> & string;
|
|
6
8
|
interface StyledTimelineTitleProps {
|
|
7
9
|
color?: string;
|
|
8
10
|
}
|
|
9
|
-
export declare const StyledTimelineTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
10
|
-
|
|
11
|
+
export declare const StyledTimelineTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
12
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
13
|
+
}, StyledTimelineTitleProps>> & string;
|
|
14
|
+
export declare const StyledTimelineSection: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
15
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
16
|
+
}> & string;
|
|
11
17
|
interface StyledTimelineCardProps {
|
|
12
18
|
bg?: string;
|
|
13
19
|
roundness?: number;
|
|
14
20
|
offset: number;
|
|
15
21
|
hidden?: boolean;
|
|
16
22
|
}
|
|
17
|
-
export declare const StyledTimelineCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
18
|
-
|
|
23
|
+
export declare const StyledTimelineCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
24
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
25
|
+
}, StyledTimelineCardProps>> & string;
|
|
26
|
+
export declare const StyledTimelineControlContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
27
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
28
|
+
}> & string;
|
|
19
29
|
interface StyledTimelineControlsProps {
|
|
20
30
|
color?: string;
|
|
21
31
|
accent?: string;
|
|
22
32
|
}
|
|
23
|
-
export declare const StyledTimelineControls: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
24
|
-
|
|
25
|
-
|
|
33
|
+
export declare const StyledTimelineControls: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
34
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
35
|
+
}, StyledTimelineControlsProps>> & string;
|
|
36
|
+
export declare const StyledTimelineSubtitle: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
37
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
38
|
+
}> & string;
|
|
39
|
+
export declare const StyledTimelineImageDesc: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "style"> & {
|
|
40
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
41
|
+
}> & string;
|
|
26
42
|
export {};
|
|
@@ -1,15 +1,25 @@
|
|
|
1
|
-
export declare const StyledTimelineComparisonContent: import("styled-components/dist/types").IStyledComponentBase<"web",
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const StyledTimelineComparisonContent: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
3
|
+
}> & string;
|
|
4
|
+
export declare const StyledTimelineComparisonContentContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
5
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
6
|
+
}> & string;
|
|
7
|
+
export declare const StyledTimelineComparisonTabsContent: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
9
|
+
}> & string;
|
|
4
10
|
interface StyledTimelineComparisonControlsProps {
|
|
5
11
|
color?: string;
|
|
6
12
|
accent?: string;
|
|
7
13
|
}
|
|
8
|
-
export declare const StyledTimelineComparisonControls: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
14
|
+
export declare const StyledTimelineComparisonControls: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
15
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
16
|
+
}, StyledTimelineComparisonControlsProps>> & string;
|
|
9
17
|
interface StyledTimelineComparisonDescProps {
|
|
10
18
|
color?: string;
|
|
11
19
|
bg?: string;
|
|
12
20
|
roundness?: number;
|
|
13
21
|
}
|
|
14
|
-
export declare const StyledTimelineComparisonDesc: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
22
|
+
export declare const StyledTimelineComparisonDesc: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
23
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
24
|
+
}, StyledTimelineComparisonDescProps>> & string;
|
|
15
25
|
export {};
|
|
@@ -3,5 +3,5 @@ interface StyledYoutubeProps {
|
|
|
3
3
|
roundness?: number;
|
|
4
4
|
position?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const StyledYoutube: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
6
|
+
export declare const StyledYoutube: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<any, "ref"> & import("react").RefAttributes<YouTube>, StyledYoutubeProps>> & string & Omit<typeof YouTube, keyof import("react").Component<any, {}, any>>;
|
|
7
7
|
export {};
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
interface StyledVNCViewerProps {
|
|
2
2
|
bgColor?: string;
|
|
3
3
|
}
|
|
4
|
-
export declare const StyledVNCViewer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export declare const StyledVNCViewer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
5
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
6
|
+
}, StyledVNCViewerProps>> & string;
|
|
7
|
+
export declare const StyledVNCViewerLoader: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
9
|
+
}> & string;
|
|
10
|
+
export declare const StyledVNCScreen: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, "style"> & {
|
|
11
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
12
|
+
}> & string;
|
|
7
13
|
interface StyledVNCMsgProps {
|
|
8
14
|
color?: string;
|
|
9
15
|
}
|
|
10
|
-
export declare const StyledVNCMsg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
16
|
+
export declare const StyledVNCMsg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
17
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars;
|
|
18
|
+
}, StyledVNCMsgProps>> & string;
|
|
11
19
|
export {};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta http-equiv="Content-Security-Policy" content="
|
|
5
|
+
default-src 'none';
|
|
6
|
+
child-src 'self' data: blob:;
|
|
7
|
+
script-src 'self' 'unsafe-eval' 'sha256-2EBQn+AFduI8Wb0riLwbeshEGP4dJlHornyvuFAgYnA=' data: extension-file: https: http://localhost:* blob:;
|
|
8
|
+
connect-src 'self' data: extension-file: https: wss: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:*;"/>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<script>
|
|
12
|
+
(function () {
|
|
13
|
+
const searchParams = new URL(document.location.href).searchParams;
|
|
14
|
+
const vscodeWebWorkerExtHostId = searchParams.get('vscodeWebWorkerExtHostId') || '';
|
|
15
|
+
const name = searchParams.get('debugged') ? 'DebugExtensionHostWorker' : 'ExtensionHostWorker';
|
|
16
|
+
const parentOriginParam = searchParams.get('parentOrigin');
|
|
17
|
+
const parentOrigin = parentOriginParam || window.origin;
|
|
18
|
+
const salt = searchParams.get('salt');
|
|
19
|
+
|
|
20
|
+
(async function () {
|
|
21
|
+
return start();
|
|
22
|
+
})();
|
|
23
|
+
|
|
24
|
+
function sendError(error) {
|
|
25
|
+
window.parent.postMessage({
|
|
26
|
+
vscodeWebWorkerExtHostId,
|
|
27
|
+
error: {
|
|
28
|
+
name: error ? error.name : '',
|
|
29
|
+
message: error ? error.message : '',
|
|
30
|
+
stack: error ? error.stack : []
|
|
31
|
+
}
|
|
32
|
+
}, '*');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function start() {
|
|
36
|
+
|
|
37
|
+
// Before we can load the worker, we need to get the current set of NLS
|
|
38
|
+
// configuration into this iframe. We ask the parent window to send it
|
|
39
|
+
// together with the necessary information to load the worker via Blob.
|
|
40
|
+
|
|
41
|
+
const bootstrapNlsType = 'vscode.bootstrap.nls';
|
|
42
|
+
|
|
43
|
+
self.onmessage = (event) => {
|
|
44
|
+
if (event.origin !== parentOrigin || event.data.type !== bootstrapNlsType) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const { data } = event.data;
|
|
48
|
+
createWorker(data.workerUrl, data.workerOptions, data.fileRoot, data.nls.messages, data.nls.language);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
window.parent.postMessage({
|
|
52
|
+
vscodeWebWorkerExtHostId,
|
|
53
|
+
type: bootstrapNlsType
|
|
54
|
+
}, '*');
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function createWorker(workerUrl, workerOptions, fileRoot, nlsMessages, nlsLanguage) {
|
|
58
|
+
try {
|
|
59
|
+
if (globalThis.crossOriginIsolated) {
|
|
60
|
+
workerUrl += '?vscode-coi=2'; // COEP
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// In below blob code, we are using JSON.stringify to ensure the passed
|
|
64
|
+
// in values are not breaking our script. The values may contain string
|
|
65
|
+
// terminating characters (such as ' or ").
|
|
66
|
+
|
|
67
|
+
const blob = new Blob([[
|
|
68
|
+
`/*extensionHostWorker*/`,
|
|
69
|
+
`globalThis._VSCODE_NLS_MESSAGES = ${JSON.stringify(nlsMessages)};`,
|
|
70
|
+
`globalThis._VSCODE_NLS_LANGUAGE = ${JSON.stringify(nlsLanguage)};`,
|
|
71
|
+
`globalThis._VSCODE_FILE_ROOT = ${JSON.stringify(fileRoot)};`,
|
|
72
|
+
(workerOptions?.type === 'module') ? `await import('${workerUrl}');` : `importScripts('${workerUrl}');`,
|
|
73
|
+
`/*extensionHostWorker*/`
|
|
74
|
+
].join('')], { type: 'application/javascript' });
|
|
75
|
+
|
|
76
|
+
const worker = new Worker(URL.createObjectURL(blob), { name, ...workerOptions });
|
|
77
|
+
const nestedWorkers = new Map();
|
|
78
|
+
|
|
79
|
+
worker.onmessage = (event) => {
|
|
80
|
+
const { data } = event;
|
|
81
|
+
|
|
82
|
+
if (data?.type === '_newWorker') {
|
|
83
|
+
const { id, port, url, options } = data;
|
|
84
|
+
const newWorker = new Worker(url, options);
|
|
85
|
+
newWorker.postMessage(port, [port]);
|
|
86
|
+
newWorker.onerror = console.error.bind(console);
|
|
87
|
+
nestedWorkers.set(id, newWorker);
|
|
88
|
+
|
|
89
|
+
} else if (data?.type === '_terminateWorker') {
|
|
90
|
+
const { id } = data;
|
|
91
|
+
if (nestedWorkers.has(id)) {
|
|
92
|
+
nestedWorkers.get(id).terminate();
|
|
93
|
+
nestedWorkers.delete(id);
|
|
94
|
+
}
|
|
95
|
+
} else {
|
|
96
|
+
worker.onerror = console.error.bind(console);
|
|
97
|
+
window.parent.postMessage({
|
|
98
|
+
vscodeWebWorkerExtHostId,
|
|
99
|
+
data
|
|
100
|
+
}, parentOrigin, [data]);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
worker.onerror = (event) => {
|
|
105
|
+
console.error(event.message, event.error);
|
|
106
|
+
sendError(event.error);
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
self.onmessage = (event) => {
|
|
110
|
+
if (event.origin !== parentOrigin) {
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
worker.postMessage(event.data, event.ports);
|
|
114
|
+
};
|
|
115
|
+
} catch (err) {
|
|
116
|
+
console.error(err);
|
|
117
|
+
sendError(err);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
})();
|
|
121
|
+
</script>
|
|
122
|
+
</body>
|
|
123
|
+
</html>
|