@knime/scripting-editor 0.0.46 → 0.0.48
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/lib/main.d.ts +9 -10
- package/dist/main.js +20002 -0
- package/dist/scripting-service-browser-mock.d.ts +1 -0
- package/dist/scripting-service-browser-mock.js +111 -0
- package/dist/scripting-service-instance.d.ts +1 -0
- package/dist/scripting-service-instance.js +8 -0
- package/dist/src/components/CompactTabBar.vue.d.ts +3 -1
- package/dist/src/components/InputOutputItem.vue.d.ts +13 -10
- package/dist/src/components/InputOutputPane.vue.d.ts +2 -2
- package/dist/src/components/OutputConsole.vue.d.ts +7 -3
- package/dist/src/components/ScriptingEditor.vue.d.ts +58 -128
- package/dist/src/components/{AiBar.vue.d.ts → ai-assistant/AiBar.vue.d.ts} +3 -3
- package/dist/src/components/ai-assistant/AiSuggestion.vue.d.ts +6 -0
- package/dist/src/consoleHandler.d.ts +3 -0
- package/dist/src/editor.d.ts +63 -0
- package/dist/src/scripting-service-browser-mock.d.ts +30 -0
- package/dist/src/scripting-service-instance.d.ts +21 -0
- package/dist/src/scripting-service.d.ts +33 -22
- package/package.json +40 -36
- package/dist/knime-scripting-editor.js +0 -23747
- package/dist/src/components/CodeEditor.vue.d.ts +0 -43
- package/dist/src/editor-service.d.ts +0 -27
- package/dist/src/store/editor.d.ts +0 -8
- /package/dist/{knime-scripting-editor.d.ts → main.d.ts} +0 -0
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
language: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: null;
|
|
5
|
-
};
|
|
6
|
-
fileName: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
initialScript: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: null;
|
|
13
|
-
};
|
|
14
|
-
diffScript: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: null;
|
|
17
|
-
};
|
|
18
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "monaco-created"[], "monaco-created", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
language: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: null;
|
|
22
|
-
};
|
|
23
|
-
fileName: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
initialScript: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: null;
|
|
30
|
-
};
|
|
31
|
-
diffScript: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: null;
|
|
34
|
-
};
|
|
35
|
-
}>> & {
|
|
36
|
-
"onMonaco-created"?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
language: string;
|
|
39
|
-
fileName: string;
|
|
40
|
-
initialScript: string;
|
|
41
|
-
diffScript: string;
|
|
42
|
-
}, {}>;
|
|
43
|
-
export default _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { editor as monaco, type IDisposable } from "monaco-editor";
|
|
2
|
-
export declare class EditorService {
|
|
3
|
-
editor?: monaco.IStandaloneCodeEditor;
|
|
4
|
-
editorModel?: monaco.ITextModel;
|
|
5
|
-
initEditorService({ editor, editorModel, }: {
|
|
6
|
-
editor: monaco.IStandaloneCodeEditor;
|
|
7
|
-
editorModel: monaco.ITextModel;
|
|
8
|
-
}): void;
|
|
9
|
-
/**
|
|
10
|
-
* @returns the entire editor content or null if monaco has not yet been initialized
|
|
11
|
-
*/
|
|
12
|
-
getScript(): string | null;
|
|
13
|
-
/**
|
|
14
|
-
* @returns all currently selected lines in the editor from first to last column. Also returns partly selected lines.
|
|
15
|
-
* Returns null if monaco has not yet been initialized.
|
|
16
|
-
*/
|
|
17
|
-
getSelectedLines(): string | null;
|
|
18
|
-
/**
|
|
19
|
-
* Set a new script which will replace the full editor content.
|
|
20
|
-
* Can be undone via Ctrl+Z.
|
|
21
|
-
*
|
|
22
|
-
* @param newScript the new script
|
|
23
|
-
*/
|
|
24
|
-
setScript(newScript: string): void;
|
|
25
|
-
pasteToEditor(textToPaste: string): void;
|
|
26
|
-
setOnDidChangeContentListener(callback: Function): IDisposable | null;
|
|
27
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as monaco from "monaco-editor";
|
|
2
|
-
export declare const useEditorStore: () => {
|
|
3
|
-
selection: string;
|
|
4
|
-
};
|
|
5
|
-
export declare const initEditorStore: ({ editor, editorModel, }: {
|
|
6
|
-
editor: monaco.editor.IStandaloneCodeEditor;
|
|
7
|
-
editorModel: monaco.editor.ITextModel;
|
|
8
|
-
}) => void;
|
|
File without changes
|