@knime/scripting-editor 0.0.110 → 0.0.112
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/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/demo/main.d.ts +1 -0
- package/dist/demo/mock-services.d.ts +9 -1
- package/dist/initial-data-service-browser-mock.js +17 -21
- package/dist/lib/loading.d.ts +2 -0
- package/dist/lib/main.d.ts +6 -5
- package/dist/loading.d.ts +2 -0
- package/dist/loading.js +14 -0
- package/dist/main.js +2728 -2733
- package/dist/scripting-service-browser-mock.js +4 -1
- package/dist/settings-service-browser-mock.js +6 -4
- package/dist/src/components/LoadingApp.vue.d.ts +2 -0
- package/dist/src/init.d.ts +28 -0
- package/dist/src/initial-data-service-browser-mock.d.ts +1 -2
- package/dist/src/initial-data-service.d.ts +3 -10
- package/dist/src/lsp/knime-io.d.ts +3 -1
- package/dist/src/scripting-service.d.ts +22 -31
- package/dist/src/settings-service-browser-mock.d.ts +1 -1
- package/dist/src/settings-service.d.ts +24 -8
- package/dist/src/types/public-api.d.ts +10 -0
- package/package.json +2 -1
- package/dist/src/settings-helper.d.ts +0 -21
package/dist/demo/main.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
scriptingService: import('../src/scripting-service').ScriptingServiceType & {
|
|
3
|
+
eventHandlers: Map<string, (args: any) => void>;
|
|
4
|
+
};
|
|
5
|
+
initialData: import('../src/initial-data-service').GenericInitialData;
|
|
6
|
+
settingsService: import('../src/settings-service').SettingsServiceType;
|
|
7
|
+
displayMode: "large";
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const o = [
|
|
1
|
+
const t = [
|
|
3
2
|
{
|
|
4
3
|
name: "Input table 1",
|
|
5
4
|
portType: "table",
|
|
@@ -21,7 +20,7 @@ const o = [
|
|
|
21
20
|
}
|
|
22
21
|
]
|
|
23
22
|
}
|
|
24
|
-
],
|
|
23
|
+
], e = [
|
|
25
24
|
{
|
|
26
25
|
// flow variable port
|
|
27
26
|
status: "OK",
|
|
@@ -32,12 +31,12 @@ const o = [
|
|
|
32
31
|
status: "OK",
|
|
33
32
|
isOptional: !1
|
|
34
33
|
}
|
|
35
|
-
],
|
|
34
|
+
], o = [
|
|
36
35
|
{
|
|
37
36
|
name: "Output table 1",
|
|
38
37
|
portType: "table"
|
|
39
38
|
}
|
|
40
|
-
],
|
|
39
|
+
], i = {
|
|
41
40
|
name: "Flow Variables",
|
|
42
41
|
portType: "flowVariable",
|
|
43
42
|
subItems: [
|
|
@@ -61,7 +60,7 @@ const o = [
|
|
|
61
60
|
supported: !1
|
|
62
61
|
}
|
|
63
62
|
]
|
|
64
|
-
},
|
|
63
|
+
}, a = {
|
|
65
64
|
inputPorts: [
|
|
66
65
|
{
|
|
67
66
|
nodeId: "root",
|
|
@@ -82,24 +81,21 @@ const o = [
|
|
|
82
81
|
]
|
|
83
82
|
}
|
|
84
83
|
]
|
|
85
|
-
},
|
|
86
|
-
inputObjects:
|
|
87
|
-
outputObjects:
|
|
88
|
-
flowVariables:
|
|
89
|
-
inputPortConfigs:
|
|
84
|
+
}, p = {
|
|
85
|
+
inputObjects: t,
|
|
86
|
+
outputObjects: o,
|
|
87
|
+
flowVariables: i,
|
|
88
|
+
inputPortConfigs: a,
|
|
90
89
|
kAiConfig: {
|
|
91
90
|
hubId: "My Mocked KNIME Hub",
|
|
92
91
|
isKaiEnabled: !0
|
|
93
92
|
},
|
|
94
|
-
inputConnectionInfo:
|
|
95
|
-
}
|
|
96
|
-
getInitialData: () => (e("Called initial data service mock getInitialData"), Promise.resolve(t ?? s))
|
|
97
|
-
});
|
|
93
|
+
inputConnectionInfo: e
|
|
94
|
+
};
|
|
98
95
|
export {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
l as createInitialDataServiceMock
|
|
96
|
+
i as DEFAULT_FLOW_VARIABLE_INPUTS,
|
|
97
|
+
p as DEFAULT_INITIAL_DATA,
|
|
98
|
+
t as DEFAULT_INPUT_OBJECTS,
|
|
99
|
+
o as DEFAULT_OUTPUT_OBJECTS,
|
|
100
|
+
e as DEFAULT_PORT_INFORMATION
|
|
105
101
|
};
|
package/dist/lib/main.d.ts
CHANGED
|
@@ -11,10 +11,11 @@ import { default as useShouldFocusBePainted } from '../src/components/utils/shou
|
|
|
11
11
|
import { consoleHandler, setConsoleHandler } from '../src/consoleHandler';
|
|
12
12
|
import { displayMode } from '../src/display-mode';
|
|
13
13
|
import { UseCodeEditorParams, UseCodeEditorReturn, UseDiffEditorParams, UseDiffEditorReturn, default as editor } from '../src/editor';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { InitMockData, getInitialData, getScriptingService, getSettingsService, init, initConsoleEventHandler, initMocked } from '../src/init';
|
|
15
|
+
import { GenericInitialData, InputConnectionInfo, KAIConfig, PortConfigs } from '../src/initial-data-service';
|
|
16
|
+
import { ScriptingServiceType } from '../src/scripting-service';
|
|
17
|
+
import { GenericNodeSettings } from '../src/settings-service';
|
|
17
18
|
import { setActiveEditorStoreForAi } from '../src/store/ai-bar';
|
|
18
19
|
import { useReadonlyStore } from '../src/store/readOnly';
|
|
19
|
-
export { COLUMN_INSERTION_EVENT, CompactTabBar, consoleHandler, displayMode, editor,
|
|
20
|
-
export type { ConsoleHandler, ConsoleText, GenericInitialData, GenericNodeSettings,
|
|
20
|
+
export { COLUMN_INSERTION_EVENT, CompactTabBar, consoleHandler, displayMode, editor, getInitialData, getScriptingService, getSettingsService, init, initConsoleEventHandler, initMocked, InputOutputPane, insertionEventHelper, OutputConsole, OutputTablePreview, ScriptingEditor, setActiveEditorStoreForAi, setConsoleHandler, useReadonlyStore, useShouldFocusBePainted, };
|
|
21
|
+
export type { ConsoleHandler, ConsoleText, GenericInitialData, GenericNodeSettings, InitMockData, InputConnectionInfo, InputOutputModel, InsertionEvent, KAIConfig, PaneSizes, PortConfigs, ScriptingServiceType, SettingsMenuItem, SubItem, SubItemType, UseCodeEditorParams, UseCodeEditorReturn, UseDiffEditorParams, UseDiffEditorReturn, };
|
package/dist/loading.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineComponent as e, createElementBlock as o, openBlock as t, createVNode as n, unref as r } from "vue";
|
|
2
|
+
import { SkeletonItem as c } from "@knime/components";
|
|
3
|
+
import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const _ = { class: "loading-container" }, a = /* @__PURE__ */ e({
|
|
5
|
+
__name: "LoadingApp",
|
|
6
|
+
setup(s) {
|
|
7
|
+
return (i, m) => (t(), o("div", _, [
|
|
8
|
+
n(r(c))
|
|
9
|
+
]));
|
|
10
|
+
}
|
|
11
|
+
}), u = /* @__PURE__ */ p(a, [["__scopeId", "data-v-2248b5ed"]]);
|
|
12
|
+
export {
|
|
13
|
+
u as LoadingApp
|
|
14
|
+
};
|