@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
|
@@ -20,6 +20,17 @@ const o = [
|
|
|
20
20
|
}
|
|
21
21
|
]
|
|
22
22
|
}
|
|
23
|
+
], n = [
|
|
24
|
+
{
|
|
25
|
+
// flow variable port
|
|
26
|
+
status: "OK",
|
|
27
|
+
isOptional: !0
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
// input port
|
|
31
|
+
status: "OK",
|
|
32
|
+
isOptional: !1
|
|
33
|
+
}
|
|
23
34
|
], r = [
|
|
24
35
|
{
|
|
25
36
|
name: "Output table 1",
|
|
@@ -45,7 +56,7 @@ const o = [
|
|
|
45
56
|
supported: !1
|
|
46
57
|
}
|
|
47
58
|
]
|
|
48
|
-
},
|
|
59
|
+
}, i = {
|
|
49
60
|
inputPorts: [
|
|
50
61
|
{
|
|
51
62
|
nodeId: "root",
|
|
@@ -66,26 +77,27 @@ const o = [
|
|
|
66
77
|
]
|
|
67
78
|
}
|
|
68
79
|
]
|
|
69
|
-
},
|
|
80
|
+
}, s = {
|
|
70
81
|
inputObjects: o,
|
|
71
82
|
outputObjects: r,
|
|
72
83
|
flowVariables: a,
|
|
73
|
-
inputPortConfigs:
|
|
84
|
+
inputPortConfigs: i,
|
|
74
85
|
kAiConfig: {
|
|
75
86
|
codeAssistantEnabled: !0,
|
|
76
87
|
codeAssistantInstalled: !0,
|
|
77
88
|
hubId: "My Mocked KNIME Hub"
|
|
78
89
|
},
|
|
79
|
-
|
|
80
|
-
}, l = (
|
|
81
|
-
typeof consola > "u" ? console.log(
|
|
82
|
-
},
|
|
83
|
-
getInitialData: () => (l("Called initial data service mock getInitialData"), Promise.resolve(
|
|
90
|
+
inputConnectionInfo: n
|
|
91
|
+
}, l = (t, ...e) => {
|
|
92
|
+
typeof consola > "u" ? console.log(t, ...e) : consola.log(t, ...e);
|
|
93
|
+
}, p = (t) => ({
|
|
94
|
+
getInitialData: () => (l("Called initial data service mock getInitialData"), Promise.resolve(t ?? s))
|
|
84
95
|
});
|
|
85
96
|
export {
|
|
86
97
|
a as DEFAULT_FLOW_VARIABLE_INPUTS,
|
|
87
|
-
|
|
98
|
+
s as DEFAULT_INITIAL_DATA,
|
|
88
99
|
o as DEFAULT_INPUT_OBJECTS,
|
|
89
100
|
r as DEFAULT_OUTPUT_OBJECTS,
|
|
90
|
-
|
|
101
|
+
n as DEFAULT_PORT_INFORMATION,
|
|
102
|
+
p as createInitialDataServiceMock
|
|
91
103
|
};
|
package/dist/lib/main.d.ts
CHANGED
|
@@ -12,8 +12,7 @@ import { getScriptingService, ScriptingServiceType } from '../src/scripting-serv
|
|
|
12
12
|
import { setActiveEditorStoreForAi } from '../src/store/ai-bar';
|
|
13
13
|
import { insertionEventHelper, InsertionEvent } from '../src/components/utils/insertionEventHelper';
|
|
14
14
|
import { default as OutputTablePreview } from '../src/components/OutputTablePreview.vue';
|
|
15
|
-
import { getInitialDataService, InitialDataServiceType, GenericInitialData, KAIConfig, PortConfigs } from '../src/initial-data-service';
|
|
15
|
+
import { getInitialDataService, InitialDataServiceType, GenericInitialData, KAIConfig, PortConfigs, InputConnectionInfo } from '../src/initial-data-service';
|
|
16
16
|
import { GenericNodeSettings, getSettingsService } from '../src/settings-service';
|
|
17
|
-
|
|
18
17
|
export { COLUMN_INSERTION_EVENT, CompactTabBar, consoleHandler, editor, getInitialDataService, getScriptingService, getSettingsService, insertionEventHelper, MIN_WIDTH_FOR_DISPLAYING_LEFT_PANE, MIN_WIDTH_FOR_DISPLAYING_PANES, OutputConsole, OutputTablePreview, ScriptingEditor, setActiveEditorStoreForAi, useShouldFocusBePainted, useReadonlyStore, };
|
|
19
|
-
export type { ConsoleHandler, ConsoleText, GenericInitialData, GenericNodeSettings, InitialDataServiceType, InputOutputModel, InsertionEvent, KAIConfig, PortConfigs, ScriptingServiceType, SettingsMenuItem, UseCodeEditorParams, UseCodeEditorReturn, UseDiffEditorParams, UseDiffEditorReturn, };
|
|
18
|
+
export type { ConsoleHandler, ConsoleText, GenericInitialData, GenericNodeSettings, InitialDataServiceType, InputOutputModel, InsertionEvent, KAIConfig, PortConfigs, InputConnectionInfo, ScriptingServiceType, SettingsMenuItem, UseCodeEditorParams, UseCodeEditorReturn, UseDiffEditorParams, UseDiffEditorReturn, };
|
package/dist/main.d.ts
CHANGED