@knime/scripting-editor 0.0.69 → 0.0.71

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.
@@ -1,7 +1,10 @@
1
- import { PaneSizes } from './utils/paneSizes';
2
1
  import { PropType } from 'vue';
2
+ import { PaneSizes } from './utils/paneSizes';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
+ declare function __VLS_template(): {
5
+ controls?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<{
5
8
  currentPaneSizes: {
6
9
  type: PropType<PaneSizes>;
7
10
  default: () => {
@@ -18,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
18
21
  type: BooleanConstructor;
19
22
  default: boolean;
20
23
  };
21
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
22
25
  currentPaneSizes: {
23
26
  type: PropType<PaneSizes>;
24
27
  default: () => {
@@ -39,9 +42,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
39
42
  language: string;
40
43
  currentPaneSizes: PaneSizes;
41
44
  showButtonText: boolean;
42
- }, {}>, {
43
- controls?(_: {}): any;
44
- }>;
45
+ }, {}>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
47
  export default _default;
46
48
  type __VLS_WithTemplateSlots<T, S> = T & {
47
49
  new (): {
@@ -15,9 +15,9 @@ declare const _default: import('vue').DefineComponent<{
15
15
  type: ArrayConstructor;
16
16
  default: () => never[];
17
17
  };
18
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
19
  "update:modelValue": (...args: any[]) => void;
20
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
21
  disabled: {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
@@ -1,5 +1,5 @@
1
- import { MenuItem } from 'webapps-common/ui/components/MenuItems.vue';
2
1
  import { PropType } from 'vue';
2
+ import { MenuItem } from 'webapps-common/ui/components/MenuItems.vue';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<{
5
5
  title: {
@@ -7,20 +7,20 @@ declare const _default: import('vue').DefineComponent<{
7
7
  default: null;
8
8
  };
9
9
  menuItems: {
10
- type: PropType<MenuItem<any, any>[]>;
10
+ type: PropType<MenuItem[]>;
11
11
  required: true;
12
12
  };
13
13
  }, unknown, unknown, {
14
14
  hasMenu(): boolean;
15
15
  }, {
16
16
  menuItemClicked(event: Event, item: any): void;
17
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "menu-item-click"[], "menu-item-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "menu-item-click"[], "menu-item-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
18
  title: {
19
19
  type: StringConstructor;
20
20
  default: null;
21
21
  };
22
22
  menuItems: {
23
- type: PropType<MenuItem<any, any>[]>;
23
+ type: PropType<MenuItem[]>;
24
24
  required: true;
25
25
  };
26
26
  }>> & {
@@ -37,9 +37,9 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimePr
37
37
  toggleExpansion: () => void;
38
38
  setExpanded: (b: boolean) => void;
39
39
  isExpanded: () => any;
40
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
41
  "input-output-item-clicked": (...args: any[]) => void;
42
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
42
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
43
43
  inputOutputItem: InputOutputModel;
44
44
  }>>> & {
45
45
  "onInput-output-item-clicked"?: ((...args: any[]) => any) | undefined;
@@ -1,7 +1,7 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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
3
  "input-output-item-insertion": (codeToInsert: string, requiredImport: string | undefined) => void;
4
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
5
5
  "onDrop-event-handler-created"?: ((dropEventHandler: (payload: DragEvent) => void) => any) | undefined;
6
6
  "onInput-output-item-insertion"?: ((codeToInsert: string, requiredImport: string | undefined) => any) | undefined;
7
7
  }, {}, {}>;
@@ -3,7 +3,7 @@ interface Props {
3
3
  portIdx: number;
4
4
  viewIdx: number;
5
5
  }
6
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>>, {}, {}>;
6
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>>, {}, {}>;
7
7
  export default _default;
8
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
9
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -5,7 +5,7 @@ interface Props {
5
5
  portIdx: number;
6
6
  portViewConfigs: PortViewConfig[];
7
7
  }
8
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>>, {}, {}>;
8
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>>, {}, {}>;
9
9
  export default _default;
10
10
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
11
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -10,7 +10,7 @@ interface Props {
10
10
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
11
  toSettings: (settings: NodeSettings) => NodeSettings;
12
12
  dropEventHandler: () => void;
13
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
14
  toSettings: (settings: NodeSettings) => NodeSettings;
15
15
  dropEventHandler: () => void;
16
16
  }>>>, {
@@ -12,13 +12,15 @@ export type ConsoleHandler = {
12
12
  write: (text: ConsoleText) => void;
13
13
  clear: () => void;
14
14
  };
15
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ declare function __VLS_template(): {
16
+ "console-status"?(_: {}): any;
17
+ };
18
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
19
  "console-created": (handler: ConsoleHandler) => void;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
20
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
18
21
  "onConsole-created"?: ((handler: ConsoleHandler) => any) | undefined;
19
- }, {}, {}>, {
20
- "console-status"?(_: {}): any;
21
- }>;
22
+ }, {}, {}>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
24
  export default _default;
23
25
  type __VLS_WithTemplateSlots<T, S> = T & {
24
26
  new (): {
@@ -1,6 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
2
  "output-table-updated": (...args: any[]) => void;
3
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
3
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
4
4
  "onOutput-table-updated"?: ((...args: any[]) => any) | undefined;
5
5
  }, {}, {}>;
6
6
  export default _default;
@@ -1,6 +1,6 @@
1
- import { PaneSizes } from './utils/paneSizes';
2
- import { NodeSettings } from '../scripting-service';
3
1
  import { MenuItem } from 'webapps-common/ui/components/MenuItems.vue';
2
+ import { NodeSettings } from '../scripting-service';
3
+ import { PaneSizes } from './utils/paneSizes';
4
4
 
5
5
  interface Props {
6
6
  title?: string | null;
@@ -14,7 +14,17 @@ interface Props {
14
14
  toSettings?: (settings: NodeSettings) => NodeSettings;
15
15
  showOutputTable?: boolean;
16
16
  }
17
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
17
+ declare function __VLS_template(): {
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>, {
18
28
  title: null;
19
29
  fileName: null;
20
30
  rightPaneLayout: string;
@@ -28,10 +38,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
28
38
  rightPaneMinimumWidthInPixel: () => 0;
29
39
  toSettings: (settings: NodeSettings) => NodeSettings;
30
40
  showOutputTable: boolean;
31
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
42
  "input-output-item-insertion": (...args: any[]) => void;
33
43
  "menu-item-clicked": (...args: any[]) => void;
34
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
44
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
35
45
  title: null;
36
46
  fileName: null;
37
47
  rightPaneLayout: string;
@@ -50,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
50
60
  "onMenu-item-clicked"?: ((...args: any[]) => any) | undefined;
51
61
  }, {
52
62
  title: string | null;
53
- menuItems: MenuItem<any, any>[];
63
+ menuItems: MenuItem[];
54
64
  showControlBar: boolean;
55
65
  fileName: string | null;
56
66
  toSettings: (settings: NodeSettings) => NodeSettings;
@@ -58,16 +68,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
58
68
  initialPaneSizes: PaneSizes;
59
69
  rightPaneMinimumWidthInPixel: number;
60
70
  showOutputTable: boolean;
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
- }>;
71
+ }, {}>;
72
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
71
73
  export default _default;
72
74
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
73
75
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -3,9 +3,9 @@ import { MenuItem } from 'webapps-common/ui/components/MenuItems.vue';
3
3
  export interface SettingsMenuItem extends MenuItem {
4
4
  showSettingsPage?: boolean;
5
5
  }
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "close-settings-page": () => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
9
9
  "onClose-settings-page"?: (() => any) | undefined;
10
10
  }, {}, {}>, {
11
11
  "settings-title"?(_: {}): any;
@@ -1,5 +1,5 @@
1
- import { PaneSizes } from '../utils/paneSizes';
2
1
  import { PropType } from 'vue';
2
+ import { PaneSizes } from '../utils/paneSizes';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<{
5
5
  currentPaneSizes: {
@@ -14,10 +14,10 @@ declare const _default: import('vue').DefineComponent<{
14
14
  type: StringConstructor;
15
15
  default: null;
16
16
  };
17
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
18
  "accept-suggestion": () => void;
19
19
  "close-ai-bar": () => void;
20
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
21
  currentPaneSizes: {
22
22
  type: PropType<PaneSizes>;
23
23
  default: () => {
@@ -1,6 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
2
  "accept-suggestion": (acceptedCode: string) => void;
3
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
3
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
4
4
  "onAccept-suggestion"?: ((acceptedCode: string) => any) | undefined;
5
5
  }, {}, {}>;
6
6
  export default _default;
@@ -4,6 +4,6 @@ export declare const createDragGhost: ({ width, elements, numSelectedItems, font
4
4
  text: string;
5
5
  }[];
6
6
  numSelectedItems: number;
7
- font?: string | undefined;
7
+ font?: string;
8
8
  }) => HTMLDivElement;
9
9
  export declare const removeDragGhost: () => void;
@@ -1,5 +1,5 @@
1
- export declare const MIN_WIDTH_FOR_DISPLAYING_PANES = 400;
2
- export declare const MIN_WIDTH_FOR_DISPLAYING_LEFT_PANE = 700;
1
+ export declare const MIN_WIDTH_FOR_DISPLAYING_PANES = 576;
2
+ export declare const MIN_WIDTH_FOR_DISPLAYING_LEFT_PANE = 992;
3
3
  export declare const MIN_WIDTH_FOR_SHOWING_BUTTON_TEXT = 400;
4
4
  export type PaneSizes = {
5
5
  [key in "left" | "right" | "bottom"]: number;
@@ -1,5 +1,5 @@
1
- import { CompletionItem, CompletionList, CompletionClientCapabilities, CompletionContext, CompletionParams } from 'vscode-languageserver-protocol';
2
1
  import { Position, editor, languages, IRange } from 'monaco-editor';
2
+ import { CompletionItem, CompletionList, CompletionClientCapabilities, 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
- import { MessageReader, MessageWriter, LSPAny } from 'vscode-languageserver-protocol';
2
1
  import { editor } from 'monaco-editor';
2
+ import { MessageReader, MessageWriter, LSPAny } from 'vscode-languageserver-protocol';
3
3
 
4
4
  export declare class MonacoLSPConnection {
5
5
  private _editorModel;
@@ -1,5 +1,5 @@
1
- import { Diagnostic, PublishDiagnosticsClientCapabilities } from 'vscode-languageserver-protocol';
2
1
  import { editor } from 'monaco-editor';
2
+ import { Diagnostic, PublishDiagnosticsClientCapabilities } from 'vscode-languageserver-protocol';
3
3
 
4
4
  export declare const publishDiagnosticsCapibilities: PublishDiagnosticsClientCapabilities;
5
5
  export declare const mapDiagnosticToMarkerData: (diagnostics: Diagnostic[]) => editor.IMarkerData[];
@@ -1,5 +1,5 @@
1
- import { DidChangeTextDocumentParams, DidOpenTextDocumentParams, TextDocumentSyncClientCapabilities } from 'vscode-languageserver-protocol';
2
1
  import { editor } from 'monaco-editor';
2
+ import { DidChangeTextDocumentParams, DidOpenTextDocumentParams, TextDocumentSyncClientCapabilities } from 'vscode-languageserver-protocol';
3
3
 
4
4
  export declare const documentSyncCapabilities: TextDocumentSyncClientCapabilities;
5
5
  export declare const getDidOpenParams: (model: editor.ITextModel) => DidOpenTextDocumentParams;
@@ -1,5 +1,5 @@
1
- import { Hover, HoverClientCapabilities, HoverParams } from 'vscode-languageserver-protocol';
2
1
  import { Position, editor, languages } from 'monaco-editor';
2
+ import { Hover, HoverClientCapabilities, HoverParams } from 'vscode-languageserver-protocol';
3
3
 
4
4
  export declare const hoverCapibilities: HoverClientCapabilities;
5
5
  export declare const getHoverParams: (editorModel: editor.ITextModel, position: Position) => HoverParams;
@@ -1,5 +1,5 @@
1
- import { Position as LSPPosition, MarkupContent, Range, TextDocumentIdentifier, TextDocumentPositionParams } from 'vscode-languageserver-protocol';
2
1
  import { Position, editor, IMarkdownString, IRange } from 'monaco-editor';
2
+ import { Position as LSPPosition, MarkupContent, Range, TextDocumentIdentifier, TextDocumentPositionParams } from 'vscode-languageserver-protocol';
3
3
 
4
4
  export declare const mapPositionToLSP: (position: Position) => LSPPosition;
5
5
  export declare const mapMarkupToMonaco: (markup: MarkupContent | string) => IMarkdownString;
@@ -1,5 +1,5 @@
1
- import { SignatureHelp, SignatureHelpClientCapabilities, SignatureHelpContext, SignatureHelpParams } from 'vscode-languageserver-protocol';
2
1
  import { Position, editor, languages } from 'monaco-editor';
2
+ import { SignatureHelp, SignatureHelpClientCapabilities, 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;
@@ -1,5 +1,5 @@
1
- import { NodeSettings, ScriptingServiceType } from './scripting-service';
2
1
  import { InputOutputModel } from './components/InputOutputItem.vue';
2
+ import { NodeSettings, ScriptingServiceType } from './scripting-service';
3
3
 
4
4
  export declare const DEFAULT_INPUT_OBJECTS: InputOutputModel[];
5
5
  export declare const DEFAULT_OUTPUT_OBJECTS: InputOutputModel[];
@@ -12,25 +12,6 @@ export type ScriptingServiceMockOptions = {
12
12
  outputObjects?: InputOutputModel[];
13
13
  flowVariableInputs?: InputOutputModel;
14
14
  };
15
- export declare const createScriptingServiceMock: (opt: ScriptingServiceMockOptions) => {
16
- sendToService(methodName: string, options?: any[] | undefined): Promise<any>;
17
- registerEventHandler(type: string, handler: (args: any) => void): void;
18
- connectToLanguageServer(): Promise<import('./lsp/connection').MonacoLSPConnection>;
19
- isCodeAssistantEnabled(): Promise<boolean>;
20
- isCodeAssistantInstalled(): Promise<boolean>;
21
- inputsAvailable(): Promise<boolean>;
22
- getFlowVariableInputs(): Promise<InputOutputModel>;
23
- getInputObjects(): Promise<InputOutputModel[]>;
24
- getOutputObjects(): Promise<InputOutputModel[]>;
25
- getPortConfigs(): Promise<import('./scripting-service').PortConfigs>;
26
- isCallKnimeUiApiAvailable(portToTestFor: {
27
- nodeId: string | null;
28
- portIdx: number;
29
- portViewConfigs: import('./scripting-service').PortViewConfig[];
30
- portName: string;
31
- }): Promise<boolean>;
32
- getInitialSettings: () => Promise<NodeSettings>;
33
- registerSettingsGetterForApply: (settingsGetter: () => NodeSettings) => Promise<void>;
34
- } & {
15
+ export declare const createScriptingServiceMock: (opt: ScriptingServiceMockOptions) => ScriptingServiceType & {
35
16
  eventHandlers: Map<string, (args: any) => void>;
36
17
  };
@@ -1,5 +1,5 @@
1
- import { MonacoLSPConnection } from './lsp/connection';
2
1
  import { InputOutputModel } from './components/InputOutputItem.vue';
2
+ import { MonacoLSPConnection } from './lsp/connection';
3
3
 
4
4
  export type PortViewConfig = {
5
5
  label: string;
@@ -19,7 +19,7 @@ export type PortConfigs = {
19
19
  };
20
20
  export type NodeSettings = {
21
21
  script: string;
22
- scriptUsedFlowVariable?: string;
22
+ scriptUsedFlowVariable?: string | null;
23
23
  };
24
24
  declare const scriptingService: {
25
25
  sendToService(methodName: string, options?: any[] | undefined): Promise<any>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knime/scripting-editor",
3
3
  "type": "module",
4
- "version": "0.0.69",
4
+ "version": "0.0.71",
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,8 +24,8 @@
24
24
  "install-husky": "cd .. && husky ./org.knime.scripting.editor.js/.husky"
25
25
  },
26
26
  "dependencies": {
27
- "@knime/ui-extension-service": "0.32.0",
28
- "@vueuse/core": "10.9.0",
27
+ "@knime/ui-extension-service": "0.33.0",
28
+ "@vueuse/core": "10.09.0",
29
29
  "handlebars": "4.7.8",
30
30
  "splitpanes": "3.1.5",
31
31
  "vscode-languageserver-protocol": "3.17.5",
@@ -36,35 +36,35 @@
36
36
  "xterm-addon-unicode11": "0.6.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@knime/eslint-config": "8.0.14",
40
- "@rushstack/eslint-patch": "1.9.0",
39
+ "@knime/eslint-config": "8.1.0",
40
+ "@rushstack/eslint-patch": "1.10.3",
41
41
  "@tsconfig/node18": "18.2.4",
42
- "@types/jsdom": "21.1.6",
43
- "@types/node": "20.11.30",
42
+ "@types/jsdom": "21.1.7",
43
+ "@types/node": "20.14.9",
44
44
  "@types/splitpanes": "2.2.6",
45
- "@vitejs/plugin-vue": "5.0.4",
46
- "@vitest/coverage-v8": "1.4.0",
45
+ "@vitejs/plugin-vue": "5.0.5",
46
+ "@vitest/coverage-v8": "1.6.0",
47
47
  "@vue/eslint-config-prettier": "9.0.0",
48
48
  "@vue/eslint-config-typescript": "13.0.0",
49
- "@vue/test-utils": "2.4.5",
49
+ "@vue/test-utils": "2.4.6",
50
50
  "@vue/tsconfig": "0.5.1",
51
51
  "consola": "2.15.3",
52
52
  "eslint": "8.57.0",
53
53
  "eslint-import-resolver-typescript": "3.6.1",
54
- "eslint-plugin-vue": "9.24.0",
54
+ "eslint-plugin-vue": "9.26.0",
55
55
  "husky": "9.0.11",
56
- "jsdom": "24.0.0",
56
+ "jsdom": "24.1.0",
57
57
  "npm-run-all": "4.1.5",
58
- "prettier": "3.2.5",
59
- "stylelint": "16.3.1",
58
+ "prettier": "3.3.2",
59
+ "stylelint": "16.6.1",
60
60
  "ts-xor": "1.3.0",
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",
61
+ "typescript": "5.5.2",
62
+ "vite": "5.3.2",
63
+ "vite-plugin-css-injected-by-js": "3.5.1",
64
+ "vite-plugin-dts": "3.9.1",
65
65
  "vite-svg-loader": "5.1.0",
66
- "vitest": "1.4.0",
67
- "vue-tsc": "2.0.7"
66
+ "vitest": "1.6.0",
67
+ "vue-tsc": "2.0.24"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "monaco-editor": "0.45.x",