@knime/scripting-editor 0.0.72 → 0.0.74
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/main.js +19656 -20433
- package/dist/src/components/CodeEditorControlBar.vue.d.ts +4 -6
- package/dist/src/components/CompactTabBar.vue.d.ts +1 -1
- package/dist/src/components/HeaderBar.vue.d.ts +3 -3
- package/dist/src/components/OutputConsole.vue.d.ts +4 -6
- package/dist/src/components/ScriptingEditor.vue.d.ts +13 -15
- package/dist/src/components/SettingsPage.vue.d.ts +1 -1
- package/dist/src/lsp/completion.d.ts +1 -1
- package/dist/src/lsp/signature-help.d.ts +1 -1
- package/package.json +12 -8
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { PaneSizes } from './utils/paneSizes';
|
|
3
3
|
|
|
4
|
-
declare
|
|
5
|
-
controls?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
8
5
|
currentPaneSizes: {
|
|
9
6
|
type: PropType<PaneSizes>;
|
|
10
7
|
default: () => {
|
|
@@ -42,8 +39,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
42
39
|
language: string;
|
|
43
40
|
currentPaneSizes: PaneSizes;
|
|
44
41
|
showButtonText: boolean;
|
|
45
|
-
}, {}
|
|
46
|
-
|
|
42
|
+
}, {}>, {
|
|
43
|
+
controls?(_: {}): any;
|
|
44
|
+
}>;
|
|
47
45
|
export default _default;
|
|
48
46
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
47
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { MenuItem } from '
|
|
2
|
+
import { MenuItem } from '@knime/components';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
title: {
|
|
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
default: null;
|
|
8
8
|
};
|
|
9
9
|
menuItems: {
|
|
10
|
-
type: PropType<MenuItem[]>;
|
|
10
|
+
type: PropType<MenuItem<any, any>[]>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
}, unknown, unknown, {
|
|
@@ -20,7 +20,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
20
|
default: null;
|
|
21
21
|
};
|
|
22
22
|
menuItems: {
|
|
23
|
-
type: PropType<MenuItem[]>;
|
|
23
|
+
type: PropType<MenuItem<any, any>[]>;
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
}>> & {
|
|
@@ -12,15 +12,13 @@ export type ConsoleHandler = {
|
|
|
12
12
|
write: (text: ConsoleText) => void;
|
|
13
13
|
clear: () => void;
|
|
14
14
|
};
|
|
15
|
-
declare
|
|
16
|
-
"console-status"?(_: {}): any;
|
|
17
|
-
};
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
16
|
"console-created": (handler: ConsoleHandler) => void;
|
|
20
17
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
21
18
|
"onConsole-created"?: ((handler: ConsoleHandler) => any) | undefined;
|
|
22
|
-
}, {}, {}
|
|
23
|
-
|
|
19
|
+
}, {}, {}>, {
|
|
20
|
+
"console-status"?(_: {}): any;
|
|
21
|
+
}>;
|
|
24
22
|
export default _default;
|
|
25
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
24
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuItem } from '
|
|
1
|
+
import { MenuItem } from '@knime/components';
|
|
2
2
|
import { NodeSettings } from '../scripting-service';
|
|
3
3
|
import { PaneSizes } from './utils/paneSizes';
|
|
4
4
|
|
|
@@ -14,17 +14,7 @@ interface Props {
|
|
|
14
14
|
toSettings?: (settings: NodeSettings) => NodeSettings;
|
|
15
15
|
showOutputTable?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare
|
|
18
|
-
"settings-title"?(_: {}): any;
|
|
19
|
-
"settings-content"?(_: {}): any;
|
|
20
|
-
editor?(_: {}): any;
|
|
21
|
-
"code-editor-controls"?(_: {
|
|
22
|
-
showButtonText: boolean;
|
|
23
|
-
}): any;
|
|
24
|
-
"right-pane"?(_: {}): any;
|
|
25
|
-
"console-status"?(_: {}): any;
|
|
26
|
-
};
|
|
27
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
28
18
|
title: null;
|
|
29
19
|
fileName: null;
|
|
30
20
|
rightPaneLayout: string;
|
|
@@ -60,7 +50,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
60
50
|
"onMenu-item-clicked"?: ((...args: any[]) => any) | undefined;
|
|
61
51
|
}, {
|
|
62
52
|
title: string | null;
|
|
63
|
-
menuItems: MenuItem[];
|
|
53
|
+
menuItems: MenuItem<any, any>[];
|
|
64
54
|
showControlBar: boolean;
|
|
65
55
|
fileName: string | null;
|
|
66
56
|
toSettings: (settings: NodeSettings) => NodeSettings;
|
|
@@ -68,8 +58,16 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
68
58
|
initialPaneSizes: PaneSizes;
|
|
69
59
|
rightPaneMinimumWidthInPixel: number;
|
|
70
60
|
showOutputTable: boolean;
|
|
71
|
-
}, {}
|
|
72
|
-
|
|
61
|
+
}, {}>, {
|
|
62
|
+
"settings-title"?(_: {}): any;
|
|
63
|
+
"settings-content"?(_: {}): any;
|
|
64
|
+
editor?(_: {}): any;
|
|
65
|
+
"code-editor-controls"?(_: {
|
|
66
|
+
showButtonText: boolean;
|
|
67
|
+
}): any;
|
|
68
|
+
"right-pane"?(_: {}): any;
|
|
69
|
+
"console-status"?(_: {}): any;
|
|
70
|
+
}>;
|
|
73
71
|
export default _default;
|
|
74
72
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
75
73
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Position, editor, languages, IRange } from 'monaco-editor';
|
|
2
|
-
import { CompletionItem, CompletionList, CompletionClientCapabilities, CompletionParams } from 'vscode-languageserver-protocol';
|
|
2
|
+
import { CompletionItem, CompletionList, CompletionClientCapabilities, CompletionContext, CompletionParams } from 'vscode-languageserver-protocol';
|
|
3
3
|
|
|
4
4
|
export declare const completionCapibilities: CompletionClientCapabilities;
|
|
5
5
|
export declare const getCompletionParams: (model: editor.ITextModel, position: Position, context: languages.CompletionContext) => CompletionParams;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Position, editor, languages } from 'monaco-editor';
|
|
2
|
-
import { SignatureHelp, SignatureHelpClientCapabilities, SignatureHelpParams } from 'vscode-languageserver-protocol';
|
|
2
|
+
import { SignatureHelp, SignatureHelpClientCapabilities, SignatureHelpContext, SignatureHelpParams } from 'vscode-languageserver-protocol';
|
|
3
3
|
|
|
4
4
|
export declare const signatureHelpClientCapabilities: SignatureHelpClientCapabilities;
|
|
5
5
|
export declare const getSignatureHelpParams: (model: editor.ITextModel, position: Position, context: languages.SignatureHelpContext) => SignatureHelpParams;
|
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.74",
|
|
5
5
|
"description": "Shared Scripting Editor components for KNIME",
|
|
6
6
|
"author": "KNIME AG, Zurich, Switzerland",
|
|
7
7
|
"license": "See the file license.txt",
|
|
@@ -21,25 +21,30 @@
|
|
|
21
21
|
"ci:lint:css": "npm run lint:css -- -f json -o test-results/stylelint.json",
|
|
22
22
|
"audit": "npm audit --omit dev",
|
|
23
23
|
"coverage": "vitest run --coverage",
|
|
24
|
-
"install-husky": "cd .. && husky ./org.knime.scripting.editor.js/.husky"
|
|
24
|
+
"install-husky": "cd .. && husky ./org.knime.scripting.editor.js/.husky",
|
|
25
|
+
"postinstall": "license-check -c"
|
|
25
26
|
},
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"@knime/
|
|
28
|
+
"@knime/components": "^1.0.5",
|
|
29
|
+
"@knime/styles": "^1.0.0",
|
|
30
|
+
"@knime/ui-extension-service": "0.36.0",
|
|
31
|
+
"@knime/ui-extensions-renderer": "^1.0.11",
|
|
32
|
+
"@knime/utils": "^1.0.4",
|
|
28
33
|
"@vueuse/core": "10.09.0",
|
|
29
34
|
"handlebars": "4.7.8",
|
|
30
35
|
"splitpanes": "3.1.5",
|
|
31
36
|
"vscode-languageserver-protocol": "3.17.5",
|
|
32
|
-
"vue": "3.x",
|
|
33
|
-
"webapps-common": "file:webapps-common",
|
|
34
37
|
"xterm": "5.3.0",
|
|
35
38
|
"xterm-addon-fit": "0.8.0",
|
|
36
39
|
"xterm-addon-unicode11": "0.6.0"
|
|
37
40
|
},
|
|
38
41
|
"devDependencies": {
|
|
39
42
|
"@knime/eslint-config": "8.1.0",
|
|
43
|
+
"@knime/licenses": "^1.0.3",
|
|
40
44
|
"@rushstack/eslint-patch": "1.10.3",
|
|
41
|
-
"@tsconfig/
|
|
45
|
+
"@tsconfig/node20": "20.1.4",
|
|
42
46
|
"@types/jsdom": "21.1.7",
|
|
47
|
+
"@types/lodash-es": "^4.17.12",
|
|
43
48
|
"@types/node": "20.14.9",
|
|
44
49
|
"@types/splitpanes": "2.2.6",
|
|
45
50
|
"@vitejs/plugin-vue": "5.0.5",
|
|
@@ -58,7 +63,6 @@
|
|
|
58
63
|
"prettier": "3.3.2",
|
|
59
64
|
"stylelint": "16.6.1",
|
|
60
65
|
"ts-xor": "1.3.0",
|
|
61
|
-
"typescript": "5.5.2",
|
|
62
66
|
"vite": "5.3.2",
|
|
63
67
|
"vite-plugin-css-injected-by-js": "3.5.1",
|
|
64
68
|
"vite-plugin-dts": "3.9.1",
|
|
@@ -68,7 +72,7 @@
|
|
|
68
72
|
},
|
|
69
73
|
"peerDependencies": {
|
|
70
74
|
"monaco-editor": "0.45.x",
|
|
71
|
-
"vue": "3.
|
|
75
|
+
"vue": "3.4.27"
|
|
72
76
|
},
|
|
73
77
|
"files": [
|
|
74
78
|
"dist"
|