@knime/scripting-editor 0.0.64 → 0.0.66

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.
@@ -28,7 +28,7 @@ const l = {
28
28
  typeof consola > "u" ? console.error(e, ...i) : consola.error(e, ...i);
29
29
  }, g = [
30
30
  {
31
- name: "Input Table 1",
31
+ name: "Input table 1",
32
32
  subItems: [
33
33
  {
34
34
  name: "Column 1",
@@ -46,7 +46,7 @@ const l = {
46
46
  }
47
47
  ], d = [
48
48
  {
49
- name: "Output Table 1"
49
+ name: "Output table 1"
50
50
  }
51
51
  ], p = {
52
52
  name: "Flow Variables",
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ "output-table-updated": (...args: any[]) => void;
3
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
+ "onOutput-table-updated"?: ((...args: any[]) => any) | undefined;
5
+ }, {}, {}>;
6
+ export default _default;
@@ -42,8 +42,16 @@ export type UseCodeEditorReturn = {
42
42
  * Inserts the specified text at the current cursor position in the editor,
43
43
  * and adds the required import if one is provided.
44
44
  * @param text the text to insert.
45
+ * @param requiredImport the import to add before the text. Can be left out.
45
46
  */
46
- insertColumnReference: (text: string, requiredImport?: string) => void;
47
+ insertColumnReference: (textToInsert: string, requiredImport?: string) => void;
48
+ /**
49
+ * Inserts the specified function reference at the current cursor position in the editor.
50
+ * Uses snippets to give really nice insertion behavior for function arguments.
51
+ * @param functionName
52
+ * @param functionArgs the arguments to the function.
53
+ */
54
+ insertFunctionReference: (functionName: string, functionArgs: string[]) => void;
47
55
  };
48
56
  export type UseDiffEditorParams = ContainerParams & {
49
57
  originalModel: monaco.editor.ITextModel;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knime/scripting-editor",
3
3
  "type": "module",
4
- "version": "0.0.64",
4
+ "version": "0.0.66",
5
5
  "description": "Shared Scripting Editor components for KNIME",
6
6
  "author": "KNIME AG, Zurich, Switzerland",
7
7
  "license": "See the file license.txt",