@knime/scripting-editor 0.0.55 → 0.0.57

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.
@@ -1,4 +1,4 @@
1
- import { h as c, f as i } from "./scripting-service-D2dMGdjE.js";
1
+ import { h as c, f as i } from "./scripting-service-Bc8su0xD.js";
2
2
  export {
3
3
  c as getScriptingServiceInstance,
4
4
  i as setScriptingServiceInstance
@@ -25,7 +25,11 @@ export type InputOutputModel = {
25
25
  export declare const INPUT_OUTPUT_DRAG_EVENT_ID = "input_output_drag_event";
26
26
  declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
27
27
  inputOutputItem: InputOutputModel;
28
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
28
+ }>, {
29
+ toggleExpansion: () => void;
30
+ setExpanded: (b: boolean) => void;
31
+ isExpanded: () => any;
32
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
29
33
  inputOutputItem: InputOutputModel;
30
34
  }>>>, {}, {}>;
31
35
  export default _default;
@@ -1,27 +1,16 @@
1
1
  import { NodeSettings } from '../scripting-service';
2
2
 
3
3
  interface Props {
4
+ showControlBar: boolean;
4
5
  language: string;
5
6
  fileName: string;
6
7
  toSettings?: (settings: NodeSettings) => NodeSettings;
7
8
  dropEventHandler?: (event: DragEvent) => void;
8
9
  }
9
10
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
- showControlBar: boolean;
11
- paneSizes: () => {
12
- left: number;
13
- right: number;
14
- bottom: number;
15
- };
16
11
  toSettings: (settings: NodeSettings) => NodeSettings;
17
12
  dropEventHandler: () => void;
18
13
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
19
- showControlBar: boolean;
20
- paneSizes: () => {
21
- left: number;
22
- right: number;
23
- bottom: number;
24
- };
25
14
  toSettings: (settings: NodeSettings) => NodeSettings;
26
15
  dropEventHandler: () => void;
27
16
  }>>>, {
@@ -5,7 +5,7 @@ import { MenuItem } from 'webapps-common/ui/components/MenuItems.vue';
5
5
  interface Props {
6
6
  title: string;
7
7
  language: string;
8
- fileName: string;
8
+ fileName?: string | null;
9
9
  rightPaneLayout?: "fixed" | "relative";
10
10
  menuItems?: MenuItem[];
11
11
  showControlBar?: boolean;
@@ -14,6 +14,7 @@ interface Props {
14
14
  toSettings?: (settings: NodeSettings) => NodeSettings;
15
15
  }
16
16
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
17
+ fileName: null;
17
18
  rightPaneLayout: string;
18
19
  menuItems: () => never[];
19
20
  showControlBar: boolean;
@@ -27,6 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
27
28
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
29
  "menu-item-clicked": (...args: any[]) => void;
29
30
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
31
+ fileName: null;
30
32
  rightPaneLayout: string;
31
33
  menuItems: () => never[];
32
34
  showControlBar: boolean;
@@ -41,14 +43,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
41
43
  "onMenu-item-clicked"?: ((...args: any[]) => any) | undefined;
42
44
  }, {
43
45
  menuItems: MenuItem[];
44
- toSettings: (settings: NodeSettings) => NodeSettings;
45
46
  showControlBar: boolean;
47
+ fileName: string | null;
48
+ toSettings: (settings: NodeSettings) => NodeSettings;
46
49
  rightPaneLayout: "fixed" | "relative";
47
50
  initialPaneSizes: PaneSizes;
48
51
  rightPaneMinimumWidthInPixel: number;
49
52
  }, {}>, {
50
53
  "settings-title"?(_: {}): any;
51
54
  "settings-content"?(_: {}): any;
55
+ editor?(_: {}): any;
52
56
  "code-editor-controls"?(_: {}): any;
53
57
  "right-pane"?(_: {}): any;
54
58
  "console-status"?(_: {}): any;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Composable that returns whether focus is currently painted. It turn focus
3
+ * painting on when the document is navigated using key presses, and off again
4
+ * when the document is clicked.
5
+ */
6
+ declare const useShouldFocusBePainted: () => import('vue').Ref<boolean>;
7
+ export default useShouldFocusBePainted;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knime/scripting-editor",
3
3
  "type": "module",
4
- "version": "0.0.55",
4
+ "version": "0.0.57",
5
5
  "description": "Shared Scripting Editor components for KNIME",
6
6
  "author": "KNIME AG, Zurich, Switzerland",
7
7
  "license": "See the file license.txt",