@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.
Files changed (40) hide show
  1. package/dist/initial-data-service-browser-mock.d.ts +1 -0
  2. package/dist/initial-data-service-browser-mock.js +22 -10
  3. package/dist/lib/main.d.ts +2 -3
  4. package/dist/main.d.ts +1 -0
  5. package/dist/main.js +4558 -4518
  6. package/dist/scripting-service-browser-mock.d.ts +1 -0
  7. package/dist/settings-service-browser-mock.d.ts +1 -0
  8. package/dist/src/components/CodeEditorControlBar.vue.d.ts +11 -5
  9. package/dist/src/components/CompactTabBar.vue.d.ts +1 -1
  10. package/dist/src/components/HeaderBar.vue.d.ts +2 -3
  11. package/dist/src/components/InputOutputItem.vue.d.ts +3 -3
  12. package/dist/src/components/InputPortTableView.vue.d.ts +8 -8
  13. package/dist/src/components/InputPortTables.vue.d.ts +8 -9
  14. package/dist/src/components/MainEditorPane.vue.d.ts +9 -10
  15. package/dist/src/components/OutputConsole.vue.d.ts +0 -1
  16. package/dist/src/components/ScriptingEditorBottomPane.vue.d.ts +44 -19
  17. package/dist/src/components/SettingsPage.vue.d.ts +0 -1
  18. package/dist/src/components/ai-assistant/AiButton.vue.d.ts +3 -4
  19. package/dist/src/components/utils/resizeLogic.d.ts +0 -1
  20. package/dist/src/consoleHandler.d.ts +0 -1
  21. package/dist/src/editor.d.ts +0 -1
  22. package/dist/src/initial-data-service-browser-mock.d.ts +2 -2
  23. package/dist/src/initial-data-service.d.ts +14 -2
  24. package/dist/src/lsp/completion.d.ts +1 -2
  25. package/dist/src/lsp/connection.d.ts +0 -1
  26. package/dist/src/lsp/diagnostics.d.ts +0 -1
  27. package/dist/src/lsp/doc-sync.d.ts +0 -1
  28. package/dist/src/lsp/hover.d.ts +0 -1
  29. package/dist/src/lsp/knime-io.d.ts +0 -1
  30. package/dist/src/lsp/mapping-utils.d.ts +0 -1
  31. package/dist/src/lsp/signature-help.d.ts +1 -2
  32. package/dist/src/scripting-service-browser-mock.d.ts +0 -1
  33. package/dist/src/scripting-service.d.ts +0 -1
  34. package/dist/src/settings-helper.d.ts +0 -1
  35. package/dist/src/settings-service-browser-mock.d.ts +0 -1
  36. package/dist/src/store/ai-bar.d.ts +0 -1
  37. package/dist/src/store/io-selection.d.ts +0 -1
  38. package/dist/src/store/readOnly.d.ts +0 -1
  39. package/package.json +19 -19
  40. package/dist/src/components/ScriptingEditor.vue.d.ts +0 -97
@@ -1 +1,2 @@
1
1
  export * from './src/initial-data-service-browser-mock'
2
+ export {}
@@ -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
- }, n = {
59
+ }, i = {
49
60
  inputPorts: [
50
61
  {
51
62
  nodeId: "root",
@@ -66,26 +77,27 @@ const o = [
66
77
  ]
67
78
  }
68
79
  ]
69
- }, i = {
80
+ }, s = {
70
81
  inputObjects: o,
71
82
  outputObjects: r,
72
83
  flowVariables: a,
73
- inputPortConfigs: n,
84
+ inputPortConfigs: i,
74
85
  kAiConfig: {
75
86
  codeAssistantEnabled: !0,
76
87
  codeAssistantInstalled: !0,
77
88
  hubId: "My Mocked KNIME Hub"
78
89
  },
79
- inputsAvailable: !0
80
- }, l = (e, ...t) => {
81
- typeof consola > "u" ? console.log(e, ...t) : consola.log(e, ...t);
82
- }, s = (e) => ({
83
- getInitialData: () => (l("Called initial data service mock getInitialData"), Promise.resolve(e ?? i))
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
- i as DEFAULT_INITIAL_DATA,
98
+ s as DEFAULT_INITIAL_DATA,
88
99
  o as DEFAULT_INPUT_OBJECTS,
89
100
  r as DEFAULT_OUTPUT_OBJECTS,
90
- s as createInitialDataServiceMock
101
+ n as DEFAULT_PORT_INFORMATION,
102
+ p as createInitialDataServiceMock
91
103
  };
@@ -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
@@ -1 +1,2 @@
1
1
  export * from './lib/main'
2
+ export {}