@knime/scripting-editor 0.0.81 → 0.0.83
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/initial-data-service-browser-mock.d.ts +1 -0
- package/dist/initial-data-service-browser-mock.js +22 -10
- package/dist/lib/main.d.ts +2 -3
- package/dist/main.d.ts +1 -0
- package/dist/main.js +4558 -4518
- package/dist/scripting-service-browser-mock.d.ts +1 -0
- package/dist/settings-service-browser-mock.d.ts +1 -0
- package/dist/src/components/CodeEditorControlBar.vue.d.ts +11 -5
- package/dist/src/components/CompactTabBar.vue.d.ts +1 -1
- package/dist/src/components/HeaderBar.vue.d.ts +2 -3
- package/dist/src/components/InputOutputItem.vue.d.ts +3 -3
- package/dist/src/components/InputPortTableView.vue.d.ts +8 -8
- package/dist/src/components/InputPortTables.vue.d.ts +8 -9
- package/dist/src/components/MainEditorPane.vue.d.ts +9 -10
- package/dist/src/components/OutputConsole.vue.d.ts +0 -1
- package/dist/src/components/ScriptingEditorBottomPane.vue.d.ts +44 -19
- package/dist/src/components/SettingsPage.vue.d.ts +0 -1
- package/dist/src/components/ai-assistant/AiButton.vue.d.ts +3 -4
- package/dist/src/components/utils/resizeLogic.d.ts +0 -1
- package/dist/src/consoleHandler.d.ts +0 -1
- package/dist/src/editor.d.ts +0 -1
- package/dist/src/initial-data-service-browser-mock.d.ts +2 -2
- package/dist/src/initial-data-service.d.ts +14 -2
- package/dist/src/lsp/completion.d.ts +1 -2
- package/dist/src/lsp/connection.d.ts +0 -1
- package/dist/src/lsp/diagnostics.d.ts +0 -1
- package/dist/src/lsp/doc-sync.d.ts +0 -1
- package/dist/src/lsp/hover.d.ts +0 -1
- package/dist/src/lsp/knime-io.d.ts +0 -1
- package/dist/src/lsp/mapping-utils.d.ts +0 -1
- package/dist/src/lsp/signature-help.d.ts +1 -2
- package/dist/src/scripting-service-browser-mock.d.ts +0 -1
- package/dist/src/scripting-service.d.ts +0 -1
- package/dist/src/settings-helper.d.ts +0 -1
- package/dist/src/settings-service-browser-mock.d.ts +0 -1
- package/dist/src/store/ai-bar.d.ts +0 -1
- package/dist/src/store/io-selection.d.ts +0 -1
- package/dist/src/store/readOnly.d.ts +0 -1
- package/package.json +19 -19
- package/dist/src/components/ScriptingEditor.vue.d.ts +0 -97
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { PaneSizes } from './utils/paneSizes';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
controls?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
12
|
currentPaneSizes: {
|
|
6
13
|
type: PropType<PaneSizes>;
|
|
7
14
|
required: true;
|
|
@@ -21,9 +28,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
21
28
|
};
|
|
22
29
|
}>>, {
|
|
23
30
|
showButtonText: boolean;
|
|
24
|
-
}, {}
|
|
25
|
-
|
|
26
|
-
}>;
|
|
31
|
+
}, {}>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
33
|
export default _default;
|
|
28
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
35
|
new (): {
|
|
@@ -37,8 +37,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
37
37
|
}>> & {
|
|
38
38
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
}, {
|
|
40
|
-
disabled: boolean;
|
|
41
40
|
name: string;
|
|
41
|
+
disabled: boolean;
|
|
42
42
|
possibleValues: unknown[];
|
|
43
43
|
modelValue: string;
|
|
44
44
|
}, {}>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { MenuItem } from '@knime/components';
|
|
3
|
-
|
|
4
3
|
declare const _default: import('vue').DefineComponent<{
|
|
5
4
|
title: {
|
|
6
5
|
type: StringConstructor;
|
|
7
6
|
default: null;
|
|
8
7
|
};
|
|
9
8
|
menuItems: {
|
|
10
|
-
type: PropType<MenuItem
|
|
9
|
+
type: PropType<MenuItem[]>;
|
|
11
10
|
required: true;
|
|
12
11
|
};
|
|
13
12
|
}, unknown, unknown, {
|
|
@@ -20,7 +19,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
19
|
default: null;
|
|
21
20
|
};
|
|
22
21
|
menuItems: {
|
|
23
|
-
type: PropType<MenuItem
|
|
22
|
+
type: PropType<MenuItem[]>;
|
|
24
23
|
required: true;
|
|
25
24
|
};
|
|
26
25
|
}>> & {
|
|
@@ -33,18 +33,18 @@ export type InputOutputModel = {
|
|
|
33
33
|
};
|
|
34
34
|
export declare const INPUT_OUTPUT_DRAG_EVENT_ID = "input_output_drag_event";
|
|
35
35
|
export declare const COLUMN_INSERTION_EVENT = "columnInsertion";
|
|
36
|
-
declare const _default: import('vue').DefineComponent<
|
|
36
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
37
37
|
inputOutputItem: InputOutputModel;
|
|
38
38
|
}>, {
|
|
39
39
|
toggleExpansion: () => void;
|
|
40
40
|
setExpanded: (b: boolean) => void;
|
|
41
41
|
isExpanded: () => any;
|
|
42
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
42
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
43
43
|
inputOutputItem: InputOutputModel;
|
|
44
44
|
}>>>, {}, {}>;
|
|
45
45
|
export default _default;
|
|
46
46
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type
|
|
47
|
+
type __VLS_TypePropsToOption<T> = {
|
|
48
48
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
49
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
50
|
} : {
|
|
@@ -3,10 +3,15 @@ interface Props {
|
|
|
3
3
|
portIdx: number;
|
|
4
4
|
viewIdx: number;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>>>, {}, {}>;
|
|
7
7
|
export default _default;
|
|
8
|
+
type __VLS_WithDefaults<P, D> = {
|
|
9
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
10
|
+
default: D[K];
|
|
11
|
+
}> : P[K];
|
|
12
|
+
};
|
|
8
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
15
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
16
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
17
|
} : {
|
|
@@ -14,11 +19,6 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
14
19
|
required: true;
|
|
15
20
|
};
|
|
16
21
|
};
|
|
17
|
-
type
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
22
|
+
type __VLS_PrettifyLocal<T> = {
|
|
23
23
|
[K in keyof T]: T[K];
|
|
24
24
|
} & {};
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { PortViewConfig } from '../initial-data-service';
|
|
2
|
-
|
|
3
2
|
interface Props {
|
|
4
3
|
inputNodeId: string;
|
|
5
4
|
portIdx: number;
|
|
6
5
|
portViewConfigs: PortViewConfig[];
|
|
7
6
|
}
|
|
8
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>>>, {}, {}>;
|
|
9
8
|
export default _default;
|
|
9
|
+
type __VLS_WithDefaults<P, D> = {
|
|
10
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
11
|
+
default: D[K];
|
|
12
|
+
}> : P[K];
|
|
13
|
+
};
|
|
10
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
17
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
18
|
} : {
|
|
@@ -16,11 +20,6 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
16
20
|
required: true;
|
|
17
21
|
};
|
|
18
22
|
};
|
|
19
|
-
type
|
|
20
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
-
default: D[K];
|
|
22
|
-
}> : P[K];
|
|
23
|
-
};
|
|
24
|
-
type __VLS_Prettify<T> = {
|
|
23
|
+
type __VLS_PrettifyLocal<T> = {
|
|
25
24
|
[K in keyof T]: T[K];
|
|
26
25
|
} & {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GenericNodeSettings } from '../settings-service';
|
|
2
|
-
|
|
3
2
|
interface Props {
|
|
4
3
|
showControlBar: boolean;
|
|
5
4
|
language: string;
|
|
@@ -7,10 +6,10 @@ interface Props {
|
|
|
7
6
|
toSettings?: (settings: GenericNodeSettings) => GenericNodeSettings;
|
|
8
7
|
dropEventHandler?: (event: DragEvent) => void;
|
|
9
8
|
}
|
|
10
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
11
10
|
toSettings: (settings: GenericNodeSettings) => GenericNodeSettings;
|
|
12
11
|
dropEventHandler: () => void;
|
|
13
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<
|
|
12
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
14
13
|
toSettings: (settings: GenericNodeSettings) => GenericNodeSettings;
|
|
15
14
|
dropEventHandler: () => void;
|
|
16
15
|
}>>>, {
|
|
@@ -18,8 +17,13 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
18
17
|
dropEventHandler: (event: DragEvent) => void;
|
|
19
18
|
}, {}>;
|
|
20
19
|
export default _default;
|
|
20
|
+
type __VLS_WithDefaults<P, D> = {
|
|
21
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
22
|
+
default: D[K];
|
|
23
|
+
}> : P[K];
|
|
24
|
+
};
|
|
21
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type
|
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
|
23
27
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
28
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
29
|
} : {
|
|
@@ -27,11 +31,6 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
27
31
|
required: true;
|
|
28
32
|
};
|
|
29
33
|
};
|
|
30
|
-
type
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
}> : P[K];
|
|
34
|
-
};
|
|
35
|
-
type __VLS_Prettify<T> = {
|
|
34
|
+
type __VLS_PrettifyLocal<T> = {
|
|
36
35
|
[K in keyof T]: T[K];
|
|
37
36
|
} & {};
|
|
@@ -2,30 +2,55 @@ type SlottedTab = {
|
|
|
2
2
|
label: string;
|
|
3
3
|
value: string;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
default: () => SlottedTab[];
|
|
5
|
+
type PropsType = {
|
|
6
|
+
slottedTabs: SlottedTab[];
|
|
7
|
+
};
|
|
8
|
+
declare let __VLS_typeProps: PropsType;
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
modelValue?: string;
|
|
11
|
+
} & typeof __VLS_typeProps;
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
slots: Partial<Record<string, (_: {
|
|
14
|
+
grabFocus: () => void;
|
|
15
|
+
}) => any>> & {
|
|
16
|
+
"console-status"?(_: {}): any;
|
|
18
17
|
};
|
|
19
|
-
|
|
18
|
+
refs: {};
|
|
19
|
+
attrs: Partial<{}>;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
23
|
+
slottedTabs: () => SlottedTab[];
|
|
24
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (modelValue: string) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
27
|
+
slottedTabs: () => SlottedTab[];
|
|
28
|
+
}>>> & {
|
|
29
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
30
|
+
}, {
|
|
20
31
|
slottedTabs: SlottedTab[];
|
|
21
|
-
}, {}
|
|
22
|
-
|
|
23
|
-
}) => any>> & {
|
|
24
|
-
"console-status"?(_: {}): any;
|
|
25
|
-
}>;
|
|
32
|
+
}, {}>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
34
|
export default _default;
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToOption<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
27
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
50
|
new (): {
|
|
29
51
|
$slots: S;
|
|
30
52
|
};
|
|
31
53
|
};
|
|
54
|
+
type __VLS_PrettifyLocal<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { PaneSizes } from '../utils/paneSizes';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* Component that includes the button that pops up the AI, and also holds the AI popup container.
|
|
5
4
|
*/
|
|
6
|
-
declare const _default: import('vue').DefineComponent<
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
7
6
|
currentPaneSizes: PaneSizes;
|
|
8
7
|
showButtonText: boolean;
|
|
9
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
8
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
10
9
|
currentPaneSizes: PaneSizes;
|
|
11
10
|
showButtonText: boolean;
|
|
12
11
|
}>>>, {}, {}>;
|
|
13
12
|
export default _default;
|
|
14
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
16
15
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
16
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
17
|
} : {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UseElementBoundingReturn } from '@vueuse/core';
|
|
2
2
|
import { PaneSizes } from './paneSizes';
|
|
3
|
-
|
|
4
3
|
export declare const useResizeLogic: ({ initialPaneSizes, rightPaneMinimumWidthInPixel, rightPaneLayout, rootSplitPaneRef, editorSplitPaneRef, }: {
|
|
5
4
|
initialPaneSizes: PaneSizes;
|
|
6
5
|
rightPaneMinimumWidthInPixel: number;
|
package/dist/src/editor.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GenericInitialData, InitialDataServiceType } from './initial-data-service';
|
|
1
|
+
import { GenericInitialData, InitialDataServiceType, InputConnectionInfo } from './initial-data-service';
|
|
2
2
|
import { InputOutputModel } from 'lib/main';
|
|
3
|
-
|
|
4
3
|
export declare const DEFAULT_INPUT_OBJECTS: InputOutputModel[];
|
|
4
|
+
export declare const DEFAULT_PORT_INFORMATION: InputConnectionInfo[];
|
|
5
5
|
export declare const DEFAULT_OUTPUT_OBJECTS: InputOutputModel[];
|
|
6
6
|
export declare const DEFAULT_FLOW_VARIABLE_INPUTS: InputOutputModel;
|
|
7
7
|
export declare const DEFAULT_INITIAL_DATA: GenericInitialData;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { InputOutputModel } from './components/InputOutputItem.vue';
|
|
2
|
-
|
|
3
2
|
export type PortViewConfig = {
|
|
4
3
|
label: string;
|
|
5
4
|
portViewIdx: number;
|
|
@@ -16,6 +15,19 @@ export type PortConfig = {
|
|
|
16
15
|
export type PortConfigs = {
|
|
17
16
|
inputPorts: PortConfig[];
|
|
18
17
|
};
|
|
18
|
+
export type ConnectionStatus =
|
|
19
|
+
/** The input is not connected */
|
|
20
|
+
"MISSING_CONNECTION"
|
|
21
|
+
/** The input is connected, but the predecessor is not configured */
|
|
22
|
+
| "UNCONFIGURED_CONNECTION"
|
|
23
|
+
/** The input is connected and configured, but the predecessor is not executed */
|
|
24
|
+
| "UNEXECUTED_CONNECTION"
|
|
25
|
+
/** The input is connected, configured, and executed */
|
|
26
|
+
| "OK";
|
|
27
|
+
export type InputConnectionInfo = {
|
|
28
|
+
status: ConnectionStatus;
|
|
29
|
+
isOptional: boolean;
|
|
30
|
+
};
|
|
19
31
|
export type KAIConfig = {
|
|
20
32
|
codeAssistantEnabled: boolean;
|
|
21
33
|
codeAssistantInstalled: boolean;
|
|
@@ -25,7 +37,7 @@ export type GenericInitialData = {
|
|
|
25
37
|
inputPortConfigs: PortConfigs;
|
|
26
38
|
inputObjects: InputOutputModel[];
|
|
27
39
|
flowVariables: InputOutputModel;
|
|
28
|
-
|
|
40
|
+
inputConnectionInfo: InputConnectionInfo[];
|
|
29
41
|
outputObjects?: InputOutputModel[];
|
|
30
42
|
kAiConfig: KAIConfig;
|
|
31
43
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Position, editor, languages, IRange } from 'monaco-editor';
|
|
2
|
-
import { CompletionItem, CompletionList, CompletionClientCapabilities,
|
|
3
|
-
|
|
2
|
+
import { CompletionItem, CompletionList, CompletionClientCapabilities, CompletionParams } from 'vscode-languageserver-protocol';
|
|
4
3
|
export declare const completionCapibilities: CompletionClientCapabilities;
|
|
5
4
|
export declare const getCompletionParams: (model: editor.ITextModel, position: Position, context: languages.CompletionContext) => CompletionParams;
|
|
6
5
|
export declare const mapCompletionResult: (result: CompletionList | CompletionItem[], model: editor.ITextModel, position: Position) => languages.CompletionList;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { editor } from 'monaco-editor';
|
|
2
2
|
import { Diagnostic, PublishDiagnosticsClientCapabilities } from 'vscode-languageserver-protocol';
|
|
3
|
-
|
|
4
3
|
export declare const publishDiagnosticsCapibilities: PublishDiagnosticsClientCapabilities;
|
|
5
4
|
export declare const mapDiagnosticToMarkerData: (diagnostics: Diagnostic[]) => editor.IMarkerData[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { editor } from 'monaco-editor';
|
|
2
2
|
import { DidChangeTextDocumentParams, DidOpenTextDocumentParams, TextDocumentSyncClientCapabilities } from 'vscode-languageserver-protocol';
|
|
3
|
-
|
|
4
3
|
export declare const documentSyncCapabilities: TextDocumentSyncClientCapabilities;
|
|
5
4
|
export declare const getDidOpenParams: (model: editor.ITextModel) => DidOpenTextDocumentParams;
|
|
6
5
|
export declare const getDidChangeParams: (model: editor.ITextModel, changeEvent: editor.IModelContentChangedEvent) => DidChangeTextDocumentParams;
|
package/dist/src/lsp/hover.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Position, editor, languages } from 'monaco-editor';
|
|
2
2
|
import { Hover, HoverClientCapabilities, HoverParams } from 'vscode-languageserver-protocol';
|
|
3
|
-
|
|
4
3
|
export declare const hoverCapibilities: HoverClientCapabilities;
|
|
5
4
|
export declare const getHoverParams: (editorModel: editor.ITextModel, position: Position) => HoverParams;
|
|
6
5
|
export declare const mapHoverResult: (result: Hover) => languages.Hover;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AbstractMessageReader, AbstractMessageWriter, Disposable, Message, MessageReader, MessageWriter, DataCallback } from 'vscode-languageserver-protocol';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* This class is used to read messages from the language server. The callback
|
|
5
4
|
* is registered by the connection and called each time a message from the
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Position, editor, IMarkdownString, IRange } from 'monaco-editor';
|
|
2
2
|
import { Position as LSPPosition, MarkupContent, Range, TextDocumentIdentifier, TextDocumentPositionParams } from 'vscode-languageserver-protocol';
|
|
3
|
-
|
|
4
3
|
export declare const mapPositionToLSP: (position: Position) => LSPPosition;
|
|
5
4
|
export declare const mapMarkupToMonaco: (markup: MarkupContent | string) => IMarkdownString;
|
|
6
5
|
export declare const mapRangeToMonaco: (range: Range) => IRange;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Position, editor, languages } from 'monaco-editor';
|
|
2
|
-
import { SignatureHelp, SignatureHelpClientCapabilities,
|
|
3
|
-
|
|
2
|
+
import { SignatureHelp, SignatureHelpClientCapabilities, SignatureHelpParams } from 'vscode-languageserver-protocol';
|
|
4
3
|
export declare const signatureHelpClientCapabilities: SignatureHelpClientCapabilities;
|
|
5
4
|
export declare const getSignatureHelpParams: (model: editor.ITextModel, position: Position, context: languages.SignatureHelpContext) => SignatureHelpParams;
|
|
6
5
|
export declare const mapSignatureHelpResult: (result: SignatureHelp) => languages.SignatureHelpResult;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MonacoLSPConnection } from './lsp/connection';
|
|
2
2
|
import { PortConfig } from './initial-data-service';
|
|
3
|
-
|
|
4
3
|
declare const scriptingService: {
|
|
5
4
|
sendToService(methodName: string, options?: any[] | undefined): Promise<any>;
|
|
6
5
|
registerEventHandler(type: string, handler: (args: any) => void): void;
|
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.83",
|
|
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,10 @@
|
|
|
25
25
|
"postinstall": "license-check -c"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@knime/components": "^1.
|
|
29
|
-
"@knime/styles": "^1.0.
|
|
30
|
-
"@knime/ui-extension-renderer": "^1.1.
|
|
31
|
-
"@knime/utils": "^1.0.
|
|
28
|
+
"@knime/components": "^1.2.3",
|
|
29
|
+
"@knime/styles": "^1.0.9",
|
|
30
|
+
"@knime/ui-extension-renderer": "^1.1.13",
|
|
31
|
+
"@knime/utils": "^1.0.14",
|
|
32
32
|
"@vueuse/core": "10.09.0",
|
|
33
33
|
"handlebars": "4.7.8",
|
|
34
34
|
"splitpanes": "3.1.5",
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@knime/eslint-config": "8.1.0",
|
|
42
|
-
"@knime/licenses": "^1.0.
|
|
43
|
-
"@rushstack/eslint-patch": "1.10.
|
|
42
|
+
"@knime/licenses": "^1.0.6",
|
|
43
|
+
"@rushstack/eslint-patch": "1.10.4",
|
|
44
44
|
"@tsconfig/node20": "20.1.4",
|
|
45
45
|
"@types/jsdom": "21.1.7",
|
|
46
46
|
"@types/lodash-es": "^4.17.12",
|
|
47
|
-
"@types/node": "
|
|
47
|
+
"@types/node": "22.7.2",
|
|
48
48
|
"@types/splitpanes": "2.2.6",
|
|
49
|
-
"@vitejs/plugin-vue": "5.
|
|
50
|
-
"@vitest/coverage-v8": "1.
|
|
49
|
+
"@vitejs/plugin-vue": "5.1.4",
|
|
50
|
+
"@vitest/coverage-v8": "2.1.1",
|
|
51
51
|
"@vue/eslint-config-prettier": "9.0.0",
|
|
52
52
|
"@vue/eslint-config-typescript": "13.0.0",
|
|
53
53
|
"@vue/test-utils": "2.4.6",
|
|
@@ -56,23 +56,23 @@
|
|
|
56
56
|
"eslint": "8.57.0",
|
|
57
57
|
"eslint-import-resolver-typescript": "3.6.1",
|
|
58
58
|
"eslint-plugin-vue": "9.26.0",
|
|
59
|
-
"husky": "9.
|
|
60
|
-
"jsdom": "
|
|
59
|
+
"husky": "9.1.6",
|
|
60
|
+
"jsdom": "25.0.1",
|
|
61
61
|
"npm-run-all": "4.1.5",
|
|
62
|
-
"prettier": "3.3.
|
|
63
|
-
"stylelint": "16.
|
|
62
|
+
"prettier": "3.3.3",
|
|
63
|
+
"stylelint": "16.9.0",
|
|
64
64
|
"ts-xor": "1.3.0",
|
|
65
|
-
"vite": "5.
|
|
65
|
+
"vite": "5.4.8",
|
|
66
66
|
"vite-plugin-css-injected-by-js": "3.5.1",
|
|
67
|
-
"vite-plugin-dts": "
|
|
67
|
+
"vite-plugin-dts": "4.2.2",
|
|
68
68
|
"vite-svg-loader": "5.1.0",
|
|
69
|
-
"vitest": "1.
|
|
70
|
-
"vue-tsc": "2.
|
|
69
|
+
"vitest": "2.1.1",
|
|
70
|
+
"vue-tsc": "2.1.6"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"monaco-editor": "0.45.x",
|
|
74
74
|
"vue": "3.4.27",
|
|
75
|
-
"@knime/ui-extension-service": "0.
|
|
75
|
+
"@knime/ui-extension-service": "0.39.0"
|
|
76
76
|
},
|
|
77
77
|
"files": [
|
|
78
78
|
"dist"
|