@knime/scripting-editor 0.0.90 → 0.0.91
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 +10 -10
- package/dist/main.js +14829 -17559
- package/dist/src/components/SettingsPage.vue.d.ts +12 -5
- package/dist/src/initial-data-service-browser-mock.d.ts +1 -1
- package/dist/src/lsp/completion.d.ts +2 -2
- package/dist/src/lsp/connection.d.ts +1 -1
- package/dist/src/lsp/knime-io.d.ts +1 -1
- package/dist/src/lsp/mapping-utils.d.ts +1 -1
- package/dist/src/scripting-service.d.ts +1 -1
- package/dist/src/settings-service-browser-mock.d.ts +1 -1
- package/package.json +6 -6
|
@@ -2,14 +2,21 @@ import { MenuItem } from '@knime/components';
|
|
|
2
2
|
export interface SettingsMenuItem extends MenuItem {
|
|
3
3
|
showSettingsPage?: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
slots: {
|
|
7
|
+
"settings-title"?(_: {}): any;
|
|
8
|
+
"settings-content"?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
15
|
"close-settings-page": () => void;
|
|
7
16
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
8
17
|
"onClose-settings-page"?: (() => any) | undefined;
|
|
9
|
-
}, {}, {}
|
|
10
|
-
|
|
11
|
-
"settings-content"?(_: {}): any;
|
|
12
|
-
}>;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
20
|
export default _default;
|
|
14
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
22
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenericInitialData, InitialDataServiceType, InputConnectionInfo } from './initial-data-service';
|
|
2
1
|
import { InputOutputModel } from './components/InputOutputItem.vue';
|
|
2
|
+
import { GenericInitialData, InitialDataServiceType, InputConnectionInfo } from './initial-data-service';
|
|
3
3
|
export declare const DEFAULT_INPUT_OBJECTS: InputOutputModel[];
|
|
4
4
|
export declare const DEFAULT_PORT_INFORMATION: InputConnectionInfo[];
|
|
5
5
|
export declare const DEFAULT_OUTPUT_OBJECTS: InputOutputModel[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Position, editor, languages
|
|
2
|
-
import { CompletionItem, CompletionList,
|
|
1
|
+
import { IRange, Position, editor, languages } from 'monaco-editor';
|
|
2
|
+
import { CompletionClientCapabilities, CompletionItem, CompletionList, CompletionParams } from 'vscode-languageserver-protocol';
|
|
3
3
|
export declare const completionCapibilities: CompletionClientCapabilities;
|
|
4
4
|
export declare const getCompletionParams: (model: editor.ITextModel, position: Position, context: languages.CompletionContext) => CompletionParams;
|
|
5
5
|
export declare const mapCompletionResult: (result: CompletionList | CompletionItem[], model: editor.ITextModel, position: Position) => languages.CompletionList;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { editor } from 'monaco-editor';
|
|
2
|
-
import { MessageReader, MessageWriter
|
|
2
|
+
import { LSPAny, MessageReader, MessageWriter } from 'vscode-languageserver-protocol';
|
|
3
3
|
export declare class MonacoLSPConnection {
|
|
4
4
|
private _editorModel;
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractMessageReader, AbstractMessageWriter, Disposable, Message, MessageReader, MessageWriter
|
|
1
|
+
import { AbstractMessageReader, AbstractMessageWriter, DataCallback, Disposable, Message, MessageReader, MessageWriter } from 'vscode-languageserver-protocol';
|
|
2
2
|
/**
|
|
3
3
|
* This class is used to read messages from the language server. The callback
|
|
4
4
|
* is registered by the connection and called each time a message from the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IMarkdownString, IRange, Position, editor } from 'monaco-editor';
|
|
2
2
|
import { Position as LSPPosition, MarkupContent, Range, TextDocumentIdentifier, TextDocumentPositionParams } from 'vscode-languageserver-protocol';
|
|
3
3
|
export declare const mapPositionToLSP: (position: Position) => LSPPosition;
|
|
4
4
|
export declare const mapMarkupToMonaco: (markup: MarkupContent | string) => IMarkdownString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MonacoLSPConnection } from './lsp/connection';
|
|
2
1
|
import { PortConfig } from './initial-data-service';
|
|
2
|
+
import { MonacoLSPConnection } from './lsp/connection';
|
|
3
3
|
declare const scriptingService: {
|
|
4
4
|
sendToService(methodName: string, options?: any[] | undefined): Promise<any>;
|
|
5
5
|
registerEventHandler(type: string, handler: (args: any) => void): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenericNodeSettings, SettingsServiceType } from './settings-service';
|
|
2
1
|
import { SettingState } from '@knime/ui-extension-service';
|
|
2
|
+
import { GenericNodeSettings, SettingsServiceType } from './settings-service';
|
|
3
3
|
export declare const DEFAULT_INITIAL_SETTINGS: GenericNodeSettings;
|
|
4
4
|
export declare const registerSettingsMock: () => Promise<() => SettingState<any>>;
|
|
5
5
|
export declare const createSettingsServiceMock: (data?: GenericNodeSettings) => SettingsServiceType;
|
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.91",
|
|
5
5
|
"description": "Shared Scripting Editor components for KNIME",
|
|
6
6
|
"author": "KNIME AG, Zurich, Switzerland",
|
|
7
7
|
"license": "See the file license.txt",
|
|
@@ -25,10 +25,9 @@
|
|
|
25
25
|
"postinstall": "license-check -c"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@knime/
|
|
29
|
-
"@knime/
|
|
30
|
-
"@knime/
|
|
31
|
-
"@knime/utils": "^1.0.14",
|
|
28
|
+
"@knime/styles": "^1.1.0",
|
|
29
|
+
"@knime/ui-extension-renderer": "^1.1.28",
|
|
30
|
+
"@knime/utils": "^1.0.17",
|
|
32
31
|
"@vueuse/core": "10.09.0",
|
|
33
32
|
"@xterm/addon-fit": "^0.10.0",
|
|
34
33
|
"@xterm/addon-unicode11": "^0.8.0",
|
|
@@ -38,7 +37,7 @@
|
|
|
38
37
|
"vscode-languageserver-protocol": "3.17.5"
|
|
39
38
|
},
|
|
40
39
|
"devDependencies": {
|
|
41
|
-
"@knime/eslint-config": "8.
|
|
40
|
+
"@knime/eslint-config": "8.2.0",
|
|
42
41
|
"@knime/licenses": "^1.0.6",
|
|
43
42
|
"@rushstack/eslint-patch": "1.10.4",
|
|
44
43
|
"@tsconfig/node20": "20.1.4",
|
|
@@ -70,6 +69,7 @@
|
|
|
70
69
|
"vue-tsc": "2.1.6"
|
|
71
70
|
},
|
|
72
71
|
"peerDependencies": {
|
|
72
|
+
"@knime/components": "^1.4.5",
|
|
73
73
|
"@knime/ui-extension-service": "0.39.0",
|
|
74
74
|
"monaco-editor": "0.45.x",
|
|
75
75
|
"vue": "3.4.27"
|