@knime/scripting-editor 0.0.65 → 0.0.67
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/main.js +635 -626
- package/dist/scripting-service-browser-mock.js +2 -2
- package/dist/src/editor.d.ts +12 -1
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
49
|
+
name: "Output table 1"
|
|
50
50
|
}
|
|
51
51
|
], p = {
|
|
52
52
|
name: "Flow Variables",
|
package/dist/src/editor.d.ts
CHANGED
|
@@ -42,8 +42,19 @@ 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: (
|
|
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. If the
|
|
51
|
+
* arguments are null, the function will be inserted without arguments OR brackets.
|
|
52
|
+
* If the arguments are an empty list, the function will be inserted with empty brackets.
|
|
53
|
+
*
|
|
54
|
+
* @param functionName
|
|
55
|
+
* @param functionArgs the arguments to the function.
|
|
56
|
+
*/
|
|
57
|
+
insertFunctionReference: (functionName: string, functionArgs: string[] | null) => void;
|
|
47
58
|
};
|
|
48
59
|
export type UseDiffEditorParams = ContainerParams & {
|
|
49
60
|
originalModel: monaco.editor.ITextModel;
|
package/package.json
CHANGED