@knime/scripting-editor 0.0.111 → 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.
@@ -0,0 +1,9 @@
1
+ const s = (t, r) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [c, e] of r)
4
+ o[c] = e;
5
+ return o;
6
+ };
7
+ export {
8
+ s as _
9
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,9 @@
1
- export {};
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
- import { l as e } from "./log-BmIREpQ5.js";
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
- ], a = [
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
- ], i = [
34
+ ], o = [
36
35
  {
37
36
  name: "Output table 1",
38
37
  portType: "table"
39
38
  }
40
- ], r = {
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
- }, p = {
63
+ }, a = {
65
64
  inputPorts: [
66
65
  {
67
66
  nodeId: "root",
@@ -82,24 +81,21 @@ const o = [
82
81
  ]
83
82
  }
84
83
  ]
85
- }, s = {
86
- inputObjects: o,
87
- outputObjects: i,
88
- flowVariables: r,
89
- inputPortConfigs: p,
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: a
95
- }, l = (t) => ({
96
- getInitialData: () => (e("Called initial data service mock getInitialData"), Promise.resolve(t ?? s))
97
- });
93
+ inputConnectionInfo: e
94
+ };
98
95
  export {
99
- r as DEFAULT_FLOW_VARIABLE_INPUTS,
100
- s as DEFAULT_INITIAL_DATA,
101
- o as DEFAULT_INPUT_OBJECTS,
102
- i as DEFAULT_OUTPUT_OBJECTS,
103
- a as DEFAULT_PORT_INFORMATION,
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
  };
@@ -0,0 +1,2 @@
1
+ import { default as LoadingApp } from '../src/components/LoadingApp.vue';
2
+ export { LoadingApp };
@@ -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 { GenericInitialData, InitialDataServiceType, InputConnectionInfo, KAIConfig, PortConfigs, getInitialDataService } from '../src/initial-data-service';
15
- import { ScriptingServiceType, getScriptingService, initConsoleEventHandler } from '../src/scripting-service';
16
- import { GenericNodeSettings, getSettingsService } from '../src/settings-service';
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, initConsoleEventHandler, getInitialDataService, getScriptingService, getSettingsService, insertionEventHelper, OutputConsole, OutputTablePreview, ScriptingEditor, InputOutputPane, setActiveEditorStoreForAi, setConsoleHandler, useShouldFocusBePainted, useReadonlyStore, };
20
- export type { ConsoleHandler, ConsoleText, GenericInitialData, GenericNodeSettings, InitialDataServiceType, SubItem, SubItemType, InputOutputModel, InsertionEvent, KAIConfig, PaneSizes, PortConfigs, InputConnectionInfo, ScriptingServiceType, SettingsMenuItem, UseCodeEditorParams, UseCodeEditorReturn, UseDiffEditorParams, UseDiffEditorReturn, };
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, };
@@ -0,0 +1,2 @@
1
+ export * from './lib/loading'
2
+ export {}
@@ -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
+ };