@knime/scripting-editor 0.0.53 → 0.0.55
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 +7 -7
- package/dist/main.js +8112 -14032
- package/dist/scripting-service-D2dMGdjE.js +6185 -0
- package/dist/scripting-service-instance.js +3 -6
- package/dist/src/components/CodeEditorControlBar.vue.d.ts +5 -4
- package/dist/src/components/CompactTabBar.vue.d.ts +2 -2
- package/dist/src/components/HeaderBar.vue.d.ts +5 -4
- package/dist/src/components/InputOutputItem.vue.d.ts +2 -2
- package/dist/src/components/InputOutputPane.vue.d.ts +2 -2
- package/dist/src/components/MainEditorPanel.vue.d.ts +4 -3
- package/dist/src/components/OutputConsole.vue.d.ts +4 -3
- package/dist/src/components/ScriptingEditor.vue.d.ts +6 -5
- package/dist/src/components/SettingsPage.vue.d.ts +4 -3
- package/dist/src/components/ai-assistant/AiBar.vue.d.ts +5 -4
- package/dist/src/components/ai-assistant/AiSuggestion.vue.d.ts +2 -2
- package/dist/src/consoleHandler.d.ts +2 -1
- package/dist/src/editor.d.ts +4 -3
- package/dist/src/lsp/completion.d.ts +3 -2
- package/dist/src/lsp/connection.d.ts +3 -2
- package/dist/src/lsp/diagnostics.d.ts +3 -2
- package/dist/src/lsp/doc-sync.d.ts +3 -2
- package/dist/src/lsp/hover.d.ts +3 -2
- package/dist/src/lsp/knime-io.d.ts +2 -1
- package/dist/src/lsp/mapping-utils.d.ts +3 -2
- package/dist/src/lsp/signature-help.d.ts +3 -2
- package/dist/src/scripting-service-browser-mock.d.ts +4 -3
- package/dist/src/scripting-service-instance.d.ts +2 -10
- package/dist/src/scripting-service.d.ts +3 -2
- package/dist/src/store/ai-bar.d.ts +1 -1
- package/dist/src/store/io-selection.d.ts +2 -1
- package/package.json +26 -26
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const c = (t) => {
|
|
3
|
-
e = t;
|
|
4
|
-
}, i = () => e;
|
|
1
|
+
import { h as c, f as i } from "./scripting-service-D2dMGdjE.js";
|
|
5
2
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
c as getScriptingServiceInstance,
|
|
4
|
+
i as setScriptingServiceInstance
|
|
8
5
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { PaneSizes } from './utils/paneSizes';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
5
|
currentPaneSizes: {
|
|
5
6
|
type: PropType<PaneSizes>;
|
|
6
7
|
default: () => {
|
|
@@ -13,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
13
14
|
type: StringConstructor;
|
|
14
15
|
default: null;
|
|
15
16
|
};
|
|
16
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
18
|
currentPaneSizes: {
|
|
18
19
|
type: PropType<PaneSizes>;
|
|
19
20
|
default: () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
disabled: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
};
|
|
18
18
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (...args: any[]) => void;
|
|
20
|
-
}, string, import("vue").
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
disabled: {
|
|
22
22
|
type: BooleanConstructor;
|
|
23
23
|
default: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { MenuItem } from 'webapps-common/ui/components/MenuItems.vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
5
|
title: {
|
|
5
6
|
type: StringConstructor;
|
|
6
7
|
default: null;
|
|
@@ -13,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
14
|
hasMenu(): boolean;
|
|
14
15
|
}, {
|
|
15
16
|
menuItemClicked(event: Event, item: any): void;
|
|
16
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "menu-item-click"[], "menu-item-click", import("vue").
|
|
17
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "menu-item-click"[], "menu-item-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
18
|
title: {
|
|
18
19
|
type: StringConstructor;
|
|
19
20
|
default: null;
|
|
@@ -23,9 +23,9 @@ export type InputOutputModel = {
|
|
|
23
23
|
}[];
|
|
24
24
|
};
|
|
25
25
|
export declare const INPUT_OUTPUT_DRAG_EVENT_ID = "input_output_drag_event";
|
|
26
|
-
declare const _default: import(
|
|
26
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
27
27
|
inputOutputItem: InputOutputModel;
|
|
28
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
28
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
29
29
|
inputOutputItem: InputOutputModel;
|
|
30
30
|
}>>>, {}, {}>;
|
|
31
31
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
"drop-event-handler-created": (dropEventHandler: (payload: DragEvent) => void) => void;
|
|
3
|
-
}, string, import("vue").
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
4
|
"onDrop-event-handler-created"?: ((dropEventHandler: (payload: DragEvent) => void) => any) | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
export default _default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NodeSettings } from '../scripting-service';
|
|
2
|
+
|
|
2
3
|
interface Props {
|
|
3
4
|
language: string;
|
|
4
5
|
fileName: string;
|
|
5
6
|
toSettings?: (settings: NodeSettings) => NodeSettings;
|
|
6
7
|
dropEventHandler?: (event: DragEvent) => void;
|
|
7
8
|
}
|
|
8
|
-
declare const _default: import(
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
9
10
|
showControlBar: boolean;
|
|
10
11
|
paneSizes: () => {
|
|
11
12
|
left: number;
|
|
@@ -14,7 +15,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
15
|
};
|
|
15
16
|
toSettings: (settings: NodeSettings) => NodeSettings;
|
|
16
17
|
dropEventHandler: () => void;
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
18
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
18
19
|
showControlBar: boolean;
|
|
19
20
|
paneSizes: () => {
|
|
20
21
|
left: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { XOR } from 'ts-xor';
|
|
2
|
+
|
|
2
3
|
export type ConsoleText = XOR<{
|
|
3
4
|
text: string;
|
|
4
5
|
}, {
|
|
@@ -11,9 +12,9 @@ export type ConsoleHandler = {
|
|
|
11
12
|
write: (text: ConsoleText) => void;
|
|
12
13
|
clear: () => void;
|
|
13
14
|
};
|
|
14
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
16
|
"console-created": (handler: ConsoleHandler) => void;
|
|
16
|
-
}, string, import("vue").
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
17
18
|
"onConsole-created"?: ((handler: ConsoleHandler) => any) | undefined;
|
|
18
19
|
}, {}, {}>, {
|
|
19
20
|
"console-status"?(_: {}): any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { PaneSizes } from './utils/paneSizes';
|
|
2
|
+
import { NodeSettings } from '../scripting-service';
|
|
3
|
+
import { MenuItem } from 'webapps-common/ui/components/MenuItems.vue';
|
|
4
|
+
|
|
4
5
|
interface Props {
|
|
5
6
|
title: string;
|
|
6
7
|
language: string;
|
|
@@ -12,7 +13,7 @@ interface Props {
|
|
|
12
13
|
rightPaneMinimumWidthInPixel?: number;
|
|
13
14
|
toSettings?: (settings: NodeSettings) => NodeSettings;
|
|
14
15
|
}
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
17
|
rightPaneLayout: string;
|
|
17
18
|
menuItems: () => never[];
|
|
18
19
|
showControlBar: boolean;
|
|
@@ -25,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
26
|
toSettings: (settings: NodeSettings) => NodeSettings;
|
|
26
27
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
28
|
"menu-item-clicked": (...args: any[]) => void;
|
|
28
|
-
}, string, import("vue").
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
29
30
|
rightPaneLayout: string;
|
|
30
31
|
menuItems: () => never[];
|
|
31
32
|
showControlBar: boolean;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { MenuItem } from 'webapps-common/ui/components/MenuItems.vue';
|
|
2
|
+
|
|
2
3
|
export interface SettingsMenuItem extends MenuItem {
|
|
3
4
|
showSettingsPage?: boolean;
|
|
4
5
|
}
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
7
|
"close-settings-page": () => void;
|
|
7
|
-
}, string, import("vue").
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
8
9
|
"onClose-settings-page"?: (() => any) | undefined;
|
|
9
10
|
}, {}, {}>, {
|
|
10
11
|
"settings-title"?(_: {}): any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { PaneSizes } from '../utils/paneSizes';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
5
|
currentPaneSizes: {
|
|
5
6
|
type: PropType<PaneSizes>;
|
|
6
7
|
default: () => {
|
|
@@ -16,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
17
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
18
|
"accept-suggestion": () => void;
|
|
18
19
|
"close-ai-bar": () => void;
|
|
19
|
-
}, string, import("vue").
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
21
|
currentPaneSizes: {
|
|
21
22
|
type: PropType<PaneSizes>;
|
|
22
23
|
default: () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
2
|
"accept-suggestion": (acceptedCode: string) => void;
|
|
3
|
-
}, string, import("vue").
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
4
|
"onAccept-suggestion"?: ((acceptedCode: string) => any) | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
export default _default;
|
package/dist/src/editor.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
1
3
|
import * as monaco from "monaco-editor";
|
|
2
|
-
import { type Ref } from "vue";
|
|
3
4
|
type ContainerParams = {
|
|
4
5
|
/** The HTML element to mount the editor to. */
|
|
5
6
|
container: Ref<HTMLDivElement | undefined>;
|
|
@@ -53,11 +54,11 @@ export type UseDiffEditorReturn = {
|
|
|
53
54
|
};
|
|
54
55
|
export declare const useCodeEditor: (params: UseCodeEditorParams) => UseCodeEditorReturn;
|
|
55
56
|
export declare const useDiffEditor: (params: UseDiffEditorParams) => UseDiffEditorReturn;
|
|
56
|
-
export declare const useMainCodeEditorStore: () => import(
|
|
57
|
+
export declare const useMainCodeEditorStore: () => import('vue').ShallowRef<UseCodeEditorReturn | undefined>;
|
|
57
58
|
export declare const useMainCodeEditor: (params: UseCodeEditorParams) => UseCodeEditorReturn;
|
|
58
59
|
declare const _default: {
|
|
59
60
|
useCodeEditor: (params: UseCodeEditorParams) => UseCodeEditorReturn;
|
|
60
61
|
useDiffEditor: (params: UseDiffEditorParams) => UseDiffEditorReturn;
|
|
61
|
-
useMainCodeEditorStore: () => import(
|
|
62
|
+
useMainCodeEditorStore: () => import('vue').ShallowRef<UseCodeEditorReturn | undefined>;
|
|
62
63
|
};
|
|
63
64
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CompletionItem, CompletionList, CompletionClientCapabilities, CompletionContext, CompletionParams } from 'vscode-languageserver-protocol';
|
|
2
|
+
import { Position, editor, languages, IRange } from 'monaco-editor';
|
|
3
|
+
|
|
3
4
|
export declare const completionCapibilities: CompletionClientCapabilities;
|
|
4
5
|
export declare const getCompletionParams: (model: editor.ITextModel, position: Position, context: languages.CompletionContext) => CompletionParams;
|
|
5
6
|
export declare const mapCompletionResult: (result: CompletionList | CompletionItem[], model: editor.ITextModel, position: Position) => languages.CompletionList;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { MessageReader, MessageWriter, LSPAny } from 'vscode-languageserver-protocol';
|
|
2
|
+
import { editor } from 'monaco-editor';
|
|
3
|
+
|
|
3
4
|
export declare class MonacoLSPConnection {
|
|
4
5
|
private _editorModel;
|
|
5
6
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Diagnostic, PublishDiagnosticsClientCapabilities } from 'vscode-languageserver-protocol';
|
|
2
|
+
import { editor } from 'monaco-editor';
|
|
3
|
+
|
|
3
4
|
export declare const publishDiagnosticsCapibilities: PublishDiagnosticsClientCapabilities;
|
|
4
5
|
export declare const mapDiagnosticToMarkerData: (diagnostics: Diagnostic[]) => editor.IMarkerData[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { DidChangeTextDocumentParams, DidOpenTextDocumentParams, TextDocumentSyncClientCapabilities } from 'vscode-languageserver-protocol';
|
|
2
|
+
import { editor } from 'monaco-editor';
|
|
3
|
+
|
|
3
4
|
export declare const documentSyncCapabilities: TextDocumentSyncClientCapabilities;
|
|
4
5
|
export declare const getDidOpenParams: (model: editor.ITextModel) => DidOpenTextDocumentParams;
|
|
5
6
|
export declare const getDidChangeParams: (model: editor.ITextModel, changeEvent: editor.IModelContentChangedEvent) => DidChangeTextDocumentParams;
|
package/dist/src/lsp/hover.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Hover, HoverClientCapabilities, HoverParams } from 'vscode-languageserver-protocol';
|
|
2
|
+
import { Position, editor, languages } from 'monaco-editor';
|
|
3
|
+
|
|
3
4
|
export declare const hoverCapibilities: HoverClientCapabilities;
|
|
4
5
|
export declare const getHoverParams: (editorModel: editor.ITextModel, position: Position) => HoverParams;
|
|
5
6
|
export declare const mapHoverResult: (result: Hover) => languages.Hover;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { AbstractMessageReader, AbstractMessageWriter, Disposable, Message, MessageReader, MessageWriter,
|
|
1
|
+
import { AbstractMessageReader, AbstractMessageWriter, Disposable, Message, MessageReader, MessageWriter, DataCallback } from 'vscode-languageserver-protocol';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* This class is used to read messages from the language server. The callback
|
|
4
5
|
* is registered by the connection and called each time a message from the
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Position,
|
|
2
|
-
import { Position
|
|
1
|
+
import { Position as LSPPosition, MarkupContent, Range, TextDocumentIdentifier, TextDocumentPositionParams } from 'vscode-languageserver-protocol';
|
|
2
|
+
import { Position, editor, IMarkdownString, IRange } from 'monaco-editor';
|
|
3
|
+
|
|
3
4
|
export declare const mapPositionToLSP: (position: Position) => LSPPosition;
|
|
4
5
|
export declare const mapMarkupToMonaco: (markup: MarkupContent | string) => IMarkdownString;
|
|
5
6
|
export declare const mapRangeToMonaco: (range: Range) => IRange;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SignatureHelp, SignatureHelpClientCapabilities, SignatureHelpContext, SignatureHelpParams } from 'vscode-languageserver-protocol';
|
|
2
|
+
import { Position, editor, languages } from 'monaco-editor';
|
|
3
|
+
|
|
3
4
|
export declare const signatureHelpClientCapabilities: SignatureHelpClientCapabilities;
|
|
4
5
|
export declare const getSignatureHelpParams: (model: editor.ITextModel, position: Position, context: languages.SignatureHelpContext) => SignatureHelpParams;
|
|
5
6
|
export declare const mapSignatureHelpResult: (result: SignatureHelp) => languages.SignatureHelpResult;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { NodeSettings, ScriptingServiceType } from './scripting-service';
|
|
2
|
+
import { InputOutputModel } from './components/InputOutputItem.vue';
|
|
3
|
+
|
|
3
4
|
export declare const DEFAULT_INPUT_OBJECTS: {
|
|
4
5
|
name: string;
|
|
5
6
|
subItems: {
|
|
@@ -28,7 +29,7 @@ export type ScriptingServiceMockOptions = {
|
|
|
28
29
|
export declare const createScriptingServiceMock: (opt: ScriptingServiceMockOptions) => {
|
|
29
30
|
sendToService(methodName: string, options?: any[] | undefined): Promise<any>;
|
|
30
31
|
registerEventHandler(type: string, handler: (args: any) => void): void;
|
|
31
|
-
connectToLanguageServer(): Promise<import(
|
|
32
|
+
connectToLanguageServer(): Promise<import('./lsp/connection').MonacoLSPConnection>;
|
|
32
33
|
isCodeAssistantEnabled(): Promise<boolean>;
|
|
33
34
|
isCodeAssistantInstalled(): Promise<boolean>;
|
|
34
35
|
inputsAvailable(): Promise<boolean>;
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Client code should not use this module directly but should use the
|
|
4
|
-
* `getScriptingService` method instead.
|
|
5
|
-
*
|
|
6
|
-
* The active scripting service instance is set here to allow for a custom
|
|
7
|
-
* scripting service instance in a browser development environment. See
|
|
8
|
-
* `getScriptingService` for an example.
|
|
9
|
-
*/
|
|
10
|
-
import { type ScriptingServiceType } from "./scripting-service";
|
|
1
|
+
import { ScriptingServiceType } from './scripting-service';
|
|
2
|
+
|
|
11
3
|
/**
|
|
12
4
|
* Do not call this method directly! This method is only called when importing
|
|
13
5
|
* the scripting service to set the singleton instance.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { MonacoLSPConnection } from './lsp/connection';
|
|
2
|
+
import { InputOutputModel } from './components/InputOutputItem.vue';
|
|
3
|
+
|
|
3
4
|
export type NodeSettings = {
|
|
4
5
|
script: string;
|
|
5
6
|
scriptUsedFlowVariable?: string;
|
|
@@ -11,4 +11,4 @@ export type PromptResponseStore = {
|
|
|
11
11
|
};
|
|
12
12
|
export declare const usePromptResponseStore: () => PromptResponseStore;
|
|
13
13
|
export declare const clearPromptResponseStore: () => void;
|
|
14
|
-
export declare const showDisclaimer: import(
|
|
14
|
+
export declare const showDisclaimer: import('vue').Ref<boolean>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/scripting-editor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.55",
|
|
5
5
|
"description": "Shared Scripting Editor components for KNIME",
|
|
6
6
|
"author": "KNIME AG, Zurich, Switzerland",
|
|
7
7
|
"license": "See the file license.txt",
|
|
@@ -24,47 +24,47 @@
|
|
|
24
24
|
"install-husky": "cd .. && husky install ./org.knime.scripting.editor.js/.husky"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@knime/ui-extension-service": "0.
|
|
28
|
-
"@vueuse/core": "10.
|
|
27
|
+
"@knime/ui-extension-service": "0.30.0",
|
|
28
|
+
"@vueuse/core": "10.9.0",
|
|
29
29
|
"handlebars": "4.7.8",
|
|
30
30
|
"splitpanes": "3.1.5",
|
|
31
31
|
"vscode-languageserver-protocol": "3.17.5",
|
|
32
|
-
"vue": "3.
|
|
32
|
+
"vue": "3.4.21",
|
|
33
33
|
"webapps-common": "file:webapps-common",
|
|
34
34
|
"xterm": "5.3.0",
|
|
35
35
|
"xterm-addon-fit": "0.8.0",
|
|
36
36
|
"xterm-addon-unicode11": "0.6.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@knime/eslint-config": "8.0.
|
|
40
|
-
"@rushstack/eslint-patch": "1.
|
|
41
|
-
"@tsconfig/node18": "18.2.
|
|
39
|
+
"@knime/eslint-config": "8.0.14",
|
|
40
|
+
"@rushstack/eslint-patch": "1.9.0",
|
|
41
|
+
"@tsconfig/node18": "18.2.4",
|
|
42
42
|
"@types/jsdom": "21.1.6",
|
|
43
|
-
"@types/node": "
|
|
43
|
+
"@types/node": "20.11.30",
|
|
44
44
|
"@types/splitpanes": "2.2.6",
|
|
45
|
-
"@vitejs/plugin-vue": "5.0.
|
|
46
|
-
"@vitest/coverage-v8": "1.
|
|
45
|
+
"@vitejs/plugin-vue": "5.0.4",
|
|
46
|
+
"@vitest/coverage-v8": "1.4.0",
|
|
47
47
|
"@vue/eslint-config-prettier": "9.0.0",
|
|
48
|
-
"@vue/eslint-config-typescript": "
|
|
49
|
-
"@vue/test-utils": "2.4.
|
|
48
|
+
"@vue/eslint-config-typescript": "13.0.0",
|
|
49
|
+
"@vue/test-utils": "2.4.5",
|
|
50
50
|
"@vue/tsconfig": "0.5.1",
|
|
51
51
|
"consola": "2.15.3",
|
|
52
|
-
"eslint": "8.
|
|
52
|
+
"eslint": "8.57.0",
|
|
53
53
|
"eslint-import-resolver-typescript": "3.6.1",
|
|
54
|
-
"eslint-plugin-vue": "9.
|
|
55
|
-
"husky": "
|
|
56
|
-
"jsdom": "
|
|
54
|
+
"eslint-plugin-vue": "9.24.0",
|
|
55
|
+
"husky": "9.0.11",
|
|
56
|
+
"jsdom": "24.0.0",
|
|
57
57
|
"npm-run-all": "4.1.5",
|
|
58
|
-
"prettier": "3.
|
|
59
|
-
"stylelint": "16.1
|
|
58
|
+
"prettier": "3.2.5",
|
|
59
|
+
"stylelint": "16.3.1",
|
|
60
60
|
"ts-xor": "1.3.0",
|
|
61
|
-
"typescript": "5.
|
|
62
|
-
"vite": "5.
|
|
63
|
-
"vite-plugin-css-injected-by-js": "3.
|
|
64
|
-
"vite-plugin-dts": "3.
|
|
61
|
+
"typescript": "5.4.3",
|
|
62
|
+
"vite": "5.2.6",
|
|
63
|
+
"vite-plugin-css-injected-by-js": "3.5.0",
|
|
64
|
+
"vite-plugin-dts": "3.8.1",
|
|
65
65
|
"vite-svg-loader": "5.1.0",
|
|
66
|
-
"vitest": "1.
|
|
67
|
-
"vue-tsc": "
|
|
66
|
+
"vitest": "1.4.0",
|
|
67
|
+
"vue-tsc": "2.0.7"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"monaco-editor": "0.45.x",
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"./scripting-service-browser-mock": "./dist/scripting-service-browser-mock.js"
|
|
82
82
|
},
|
|
83
83
|
"engines": {
|
|
84
|
-
"node": "
|
|
84
|
+
"node": "20.x"
|
|
85
85
|
},
|
|
86
86
|
"volta": {
|
|
87
|
-
"node": "
|
|
87
|
+
"node": "20.11.1"
|
|
88
88
|
}
|
|
89
89
|
}
|