@knime/scripting-editor 0.0.83 → 0.0.84
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/lib/main.d.ts +4 -3
- package/dist/main.js +10734 -10752
- package/dist/src/components/InputOutputItem.vue.d.ts +10 -5
- package/dist/src/components/InputOutputPane.vue.d.ts +31 -3
- package/package.json +1 -1
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
export type SubItem<PropType extends Record<string, any>> = {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string | {
|
|
5
|
+
component: Component;
|
|
6
|
+
props?: PropType;
|
|
7
|
+
};
|
|
8
|
+
supported: boolean;
|
|
9
|
+
};
|
|
1
10
|
export type InputOutputModel = {
|
|
2
11
|
name: string;
|
|
3
12
|
/**
|
|
@@ -25,11 +34,7 @@ export type InputOutputModel = {
|
|
|
25
34
|
* Whether multi selection of subItems is supported or not
|
|
26
35
|
*/
|
|
27
36
|
multiSelection?: boolean;
|
|
28
|
-
subItems?:
|
|
29
|
-
name: string;
|
|
30
|
-
type: string;
|
|
31
|
-
supported: boolean;
|
|
32
|
-
}[];
|
|
37
|
+
subItems?: SubItem<Record<string, any>>[];
|
|
33
38
|
};
|
|
34
39
|
export declare const INPUT_OUTPUT_DRAG_EVENT_ID = "input_output_drag_event";
|
|
35
40
|
export declare const COLUMN_INSERTION_EVENT = "columnInsertion";
|
|
@@ -1,8 +1,36 @@
|
|
|
1
|
-
|
|
1
|
+
import { InputOutputModel } from './InputOutputItem.vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
inputOutputItems: InputOutputModel[];
|
|
4
|
+
}>, {
|
|
5
|
+
inputOutputItems: () => never[];
|
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
7
|
"drop-event-handler-created": (dropEventHandler: (payload: DragEvent) => void) => void;
|
|
3
8
|
"input-output-item-insertion": (codeToInsert: string, requiredImport: string | undefined) => void;
|
|
4
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
|
+
inputOutputItems: InputOutputModel[];
|
|
11
|
+
}>, {
|
|
12
|
+
inputOutputItems: () => never[];
|
|
13
|
+
}>>> & {
|
|
5
14
|
"onDrop-event-handler-created"?: ((dropEventHandler: (payload: DragEvent) => void) => any) | undefined;
|
|
6
15
|
"onInput-output-item-insertion"?: ((codeToInsert: string, requiredImport: string | undefined) => any) | undefined;
|
|
7
|
-
}, {
|
|
16
|
+
}, {
|
|
17
|
+
inputOutputItems: InputOutputModel[];
|
|
18
|
+
}, {}>;
|
|
8
19
|
export default _default;
|
|
20
|
+
type __VLS_WithDefaults<P, D> = {
|
|
21
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
22
|
+
default: D[K];
|
|
23
|
+
}> : P[K];
|
|
24
|
+
};
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_PrettifyLocal<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
package/package.json
CHANGED