@knime/scripting-editor 0.0.82 → 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 (81) hide show
  1. package/dist/initial-data-service-browser-mock.d.ts +1 -0
  2. package/dist/lib/main.d.ts +0 -1
  3. package/dist/main.d.ts +1 -0
  4. package/dist/main.js +4555 -4515
  5. package/dist/scripting-service-browser-mock.d.ts +1 -0
  6. package/dist/settings-service-browser-mock.d.ts +1 -0
  7. package/dist/src/components/CodeEditorControlBar.vue.d.ts +11 -5
  8. package/dist/src/components/CompactTabBar.vue.d.ts +1 -1
  9. package/dist/src/components/HeaderBar.vue.d.ts +2 -3
  10. package/dist/src/components/InputOutputItem.vue.d.ts +3 -3
  11. package/dist/src/components/InputPortTableView.vue.d.ts +8 -8
  12. package/dist/src/components/InputPortTables.vue.d.ts +8 -9
  13. package/dist/src/components/MainEditorPane.vue.d.ts +9 -10
  14. package/dist/src/components/OutputConsole.vue.d.ts +0 -1
  15. package/dist/src/components/ScriptingEditorBottomPane.vue.d.ts +44 -19
  16. package/dist/src/components/SettingsPage.vue.d.ts +0 -1
  17. package/dist/src/components/ai-assistant/AiButton.vue.d.ts +3 -4
  18. package/dist/src/components/utils/resizeLogic.d.ts +0 -1
  19. package/dist/src/consoleHandler.d.ts +0 -1
  20. package/dist/src/editor.d.ts +0 -1
  21. package/dist/src/initial-data-service-browser-mock.d.ts +0 -1
  22. package/dist/src/initial-data-service.d.ts +0 -1
  23. package/dist/src/lsp/completion.d.ts +1 -2
  24. package/dist/src/lsp/connection.d.ts +0 -1
  25. package/dist/src/lsp/diagnostics.d.ts +0 -1
  26. package/dist/src/lsp/doc-sync.d.ts +0 -1
  27. package/dist/src/lsp/hover.d.ts +0 -1
  28. package/dist/src/lsp/knime-io.d.ts +0 -1
  29. package/dist/src/lsp/mapping-utils.d.ts +0 -1
  30. package/dist/src/lsp/signature-help.d.ts +1 -2
  31. package/dist/src/scripting-service-browser-mock.d.ts +0 -1
  32. package/dist/src/scripting-service.d.ts +0 -1
  33. package/dist/src/settings-helper.d.ts +0 -1
  34. package/dist/src/settings-service-browser-mock.d.ts +0 -1
  35. package/dist/src/store/ai-bar.d.ts +0 -1
  36. package/dist/src/store/io-selection.d.ts +0 -1
  37. package/dist/src/store/readOnly.d.ts +0 -1
  38. package/package.json +19 -19
  39. package/dist/node_modules/@knime/components/src/components/Buttons/Button.vue.d.ts +0 -131
  40. package/dist/node_modules/@knime/components/src/components/Buttons/PlusButton.vue.d.ts +0 -28
  41. package/dist/node_modules/@knime/components/src/components/Buttons/SplitButton.vue.d.ts +0 -9
  42. package/dist/node_modules/@knime/components/src/components/Carousel/Carousel.vue.d.ts +0 -22
  43. package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorer.vue.d.ts +0 -216
  44. package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerContextMenu.vue.d.ts +0 -40
  45. package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItem.vue.d.ts +0 -78
  46. package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItemBack.vue.d.ts +0 -12
  47. package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItemBase.vue.d.ts +0 -20
  48. package/dist/node_modules/@knime/components/src/components/LinkList/LinkList.vue.d.ts +0 -27
  49. package/dist/node_modules/@knime/components/src/components/Modal/Modal.vue.d.ts +0 -66
  50. package/dist/node_modules/@knime/components/src/components/Pill/Pill.vue.d.ts +0 -36
  51. package/dist/node_modules/@knime/components/src/components/SubMenu/SubMenu.vue.d.ts +0 -199
  52. package/dist/node_modules/@knime/components/src/components/Tag/Tag.vue.d.ts +0 -45
  53. package/dist/node_modules/@knime/components/src/components/Tag/TagList.vue.d.ts +0 -82
  54. package/dist/node_modules/@knime/components/src/components/Toast/components/Toast.vue.d.ts +0 -51
  55. package/dist/node_modules/@knime/components/src/components/Toast/components/ToastButton.vue.d.ts +0 -27
  56. package/dist/node_modules/@knime/components/src/components/Toast/components/ToastStack.vue.d.ts +0 -30
  57. package/dist/node_modules/@knime/components/src/components/base/Button/BaseButton.vue.d.ts +0 -90
  58. package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItem.vue.d.ts +0 -28
  59. package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItemText.vue.d.ts +0 -19
  60. package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItems.vue.d.ts +0 -123
  61. package/dist/node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue.d.ts +0 -96
  62. package/dist/node_modules/@knime/components/src/components/base/Modal/BaseModal.vue.d.ts +0 -66
  63. package/dist/node_modules/@knime/components/src/components/forms/ComboBox/ComboBox.vue.d.ts +0 -150
  64. package/dist/node_modules/@knime/components/src/components/forms/Dropdown/Dropdown.vue.d.ts +0 -203
  65. package/dist/node_modules/@knime/components/src/components/forms/MultiModeTwinlist/MultiModeTwinlist.vue.d.ts +0 -299
  66. package/dist/node_modules/@knime/components/src/components/forms/MultiselectListBox/MultiselectListBox.vue.d.ts +0 -279
  67. package/dist/node_modules/@knime/components/src/components/forms/NumberInput/NumberInput.vue.d.ts +0 -166
  68. package/dist/node_modules/@knime/components/src/components/forms/QuantityInput/QuantityInput.vue.d.ts +0 -45
  69. package/dist/node_modules/@knime/components/src/components/forms/RadioButtons/BaseRadioButtons.vue.d.ts +0 -66
  70. package/dist/node_modules/@knime/components/src/components/forms/SearchableCheckboxes/SearchableCheckboxes.vue.d.ts +0 -267
  71. package/dist/node_modules/@knime/components/src/components/forms/SearchableList/SearchableList.vue.d.ts +0 -285
  72. package/dist/node_modules/@knime/components/src/components/forms/SortList/SortList.vue.d.ts +0 -26
  73. package/dist/node_modules/@knime/components/src/components/forms/Twinlist/Twinlist.vue.d.ts +0 -381
  74. package/dist/node_modules/@knime/components/src/components/forms/ValueSwitch/ValueSwitch.vue.d.ts +0 -65
  75. package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtIFrame.vue.d.ts +0 -27
  76. package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtShadowApp.vue.d.ts +0 -41
  77. package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtension.vue.d.ts +0 -49
  78. package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionAlerts.vue.d.ts +0 -34
  79. package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionErrorOverlay.vue.d.ts +0 -41
  80. package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionWarningButton.vue.d.ts +0 -34
  81. package/dist/src/components/ScriptingEditor.vue.d.ts +0 -97
@@ -1,131 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- /**
3
- * @see {@link BaseButton.vue}
4
- */
5
- /**
6
- * show button with border
7
- */
8
- withBorder: {
9
- type: BooleanConstructor;
10
- default: boolean;
11
- };
12
- /**
13
- * switches colors to use button on a dark background
14
- */
15
- onDark: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- /**
20
- * switches colors
21
- */
22
- primary: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- /**
27
- * smaller font size and padding
28
- */
29
- compact: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- /**
34
- * show button in an error state
35
- * - requires withBorder
36
- * - doesnt work onDark
37
- */
38
- withWarning: {
39
- type: BooleanConstructor;
40
- default: boolean;
41
- };
42
- disabled: {
43
- type: BooleanConstructor;
44
- default: boolean;
45
- };
46
- }, unknown, unknown, {
47
- classes(): (string | {
48
- primary: boolean;
49
- "with-border"?: undefined;
50
- "with-warning"?: undefined;
51
- "on-dark"?: undefined;
52
- compact?: undefined;
53
- } | {
54
- "with-border": boolean;
55
- primary?: undefined;
56
- "with-warning"?: undefined;
57
- "on-dark"?: undefined;
58
- compact?: undefined;
59
- } | {
60
- "with-warning": boolean;
61
- primary?: undefined;
62
- "with-border"?: undefined;
63
- "on-dark"?: undefined;
64
- compact?: undefined;
65
- } | {
66
- "on-dark": boolean;
67
- primary?: undefined;
68
- "with-border"?: undefined;
69
- "with-warning"?: undefined;
70
- compact?: undefined;
71
- } | {
72
- compact: boolean;
73
- primary?: undefined;
74
- "with-border"?: undefined;
75
- "with-warning"?: undefined;
76
- "on-dark"?: undefined;
77
- })[];
78
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
79
- /**
80
- * @see {@link BaseButton.vue}
81
- */
82
- /**
83
- * show button with border
84
- */
85
- withBorder: {
86
- type: BooleanConstructor;
87
- default: boolean;
88
- };
89
- /**
90
- * switches colors to use button on a dark background
91
- */
92
- onDark: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- /**
97
- * switches colors
98
- */
99
- primary: {
100
- type: BooleanConstructor;
101
- default: boolean;
102
- };
103
- /**
104
- * smaller font size and padding
105
- */
106
- compact: {
107
- type: BooleanConstructor;
108
- default: boolean;
109
- };
110
- /**
111
- * show button in an error state
112
- * - requires withBorder
113
- * - doesnt work onDark
114
- */
115
- withWarning: {
116
- type: BooleanConstructor;
117
- default: boolean;
118
- };
119
- disabled: {
120
- type: BooleanConstructor;
121
- default: boolean;
122
- };
123
- }>>, {
124
- disabled: boolean;
125
- withBorder: boolean;
126
- onDark: boolean;
127
- primary: boolean;
128
- compact: boolean;
129
- withWarning: boolean;
130
- }, {}>;
131
- export default _default;
@@ -1,28 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- /**
3
- * @see {@link Button.vue}
4
- */
5
- /**
6
- * Button's title rendered as tooltip
7
- * if null, the tooltip won't be rendered
8
- */
9
- title: {
10
- type: StringConstructor;
11
- default: null;
12
- };
13
- }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
- /**
15
- * @see {@link Button.vue}
16
- */
17
- /**
18
- * Button's title rendered as tooltip
19
- * if null, the tooltip won't be rendered
20
- */
21
- title: {
22
- type: StringConstructor;
23
- default: null;
24
- };
25
- }>>, {
26
- title: string;
27
- }, {}>;
28
- export default _default;
@@ -1,9 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
2
- default?(_: {}): any;
3
- }>;
4
- export default _default;
5
- type __VLS_WithTemplateSlots<T, S> = T & {
6
- new (): {
7
- $slots: S;
8
- };
9
- };
@@ -1,22 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- tabindex: {
3
- type: NumberConstructor;
4
- default: null;
5
- };
6
- }, unknown, {
7
- isMouseDown: boolean;
8
- wasDragged: boolean;
9
- }, {}, {
10
- onMouseDown(e: MouseEvent): void;
11
- onMouseEnd(e: MouseEvent): void;
12
- onMouseMove(e: MouseEvent): void;
13
- onDragStart(e: MouseEvent): void;
14
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
- tabindex: {
16
- type: NumberConstructor;
17
- default: null;
18
- };
19
- }>>, {
20
- tabindex: number;
21
- }, {}>;
22
- export default _default;
@@ -1,216 +0,0 @@
1
- import { FileExplorerItem as FileExplorerItemType, FileExplorerContextMenu as FileExplorerContextMenuNamespace } from '../types';
2
-
3
- /**
4
- * Component that handles FileExplorer interactions.
5
- *
6
- * NOTE: Do not add store bindings to component to keep it as reusable as possible
7
- */
8
- interface Props {
9
- mode?: "normal" | "mini";
10
- /**
11
- * full path of the currently displayed directory. This is used to
12
- * track when the path has changed and do actions based on that. e.g reset the
13
- * selection, close menus, etc
14
- */
15
- fullPath?: string;
16
- /**
17
- * List of items to be rendered for the displayed directory
18
- */
19
- items: Array<FileExplorerItemType>;
20
- /**
21
- * Determines whether the "back" item should be rendered or not
22
- */
23
- isRootFolder?: boolean;
24
- /**
25
- * Used to externally bind which item should be in the "rename" state.
26
- * This prop is not required but it's useful
27
- * if you want to externally activate the rename state (e.g via the store)
28
- */
29
- activeRenamedItemId?: string | null;
30
- /**
31
- * Disable the context menu completely
32
- */
33
- disableContextMenu?: boolean;
34
- /**
35
- * Disable multi-selection
36
- */
37
- disableMultiSelect?: boolean;
38
- /**
39
- * Disables selection completely. (Regardless of the value of the disableMultiSelect prop)
40
- */
41
- disableSelection?: boolean;
42
- /**
43
- * Disable dragging completely
44
- */
45
- disableDragging?: boolean;
46
- /**
47
- * Controls the behavior of the custom drag ghosts as you move items around
48
- *
49
- * "auto" -> will automatically remove the ghosts after interactions
50
- * "manual" -> requires that you call an `onComplete` callback upon
51
- *
52
- * `dragend` and/or `drop` events. This is useful for async operations, in which
53
- * you might not know whether a move was successful or not
54
- *
55
- * `disabled` will only use the native browser drag ghost
56
- *
57
- * Note: this prop will have no effect if `disableDragging` is true
58
- */
59
- draggingAnimationMode?: "auto" | "manual" | "disabled";
60
- /**
61
- * Pass in an html elements here which, when clicked, should not unset the current selection.
62
- */
63
- clickOutsideException?: HTMLElement | null;
64
- /**
65
- * Selected item ids
66
- */
67
- selectedItemIds?: string[];
68
- }
69
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
70
- mode: string;
71
- fullPath: string;
72
- isRootFolder: boolean;
73
- activeRenamedItemId: null;
74
- disableContextMenu: boolean;
75
- disableMultiSelect: boolean;
76
- disableSelection: boolean;
77
- disableDragging: boolean;
78
- draggingAnimationMode: string;
79
- clickOutsideException: null;
80
- selectedItemIds: () => never[];
81
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
82
- "update:selectedItemIds": (selectedItemIds: string[]) => void;
83
- changeDirectory: (pathId: string) => void;
84
- openFile: (item: FileExplorerItemType) => void;
85
- deleteItems: (payload: {
86
- items: FileExplorerItemType[];
87
- }) => void;
88
- moveItems: (payload: {
89
- sourceItems: string[];
90
- targetItem: string;
91
- onComplete: (isSuccessfulMove: boolean) => void;
92
- }) => void;
93
- dragend: (payload: {
94
- event: DragEvent;
95
- sourceItem: FileExplorerItemType;
96
- onComplete: (isSuccessfulMove: boolean) => void;
97
- }) => void;
98
- drag: (payload: {
99
- event: DragEvent;
100
- item: FileExplorerItemType;
101
- }) => void;
102
- renameFile: (payload: {
103
- itemId: string;
104
- newName: string;
105
- }) => void;
106
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
107
- mode: string;
108
- fullPath: string;
109
- isRootFolder: boolean;
110
- activeRenamedItemId: null;
111
- disableContextMenu: boolean;
112
- disableMultiSelect: boolean;
113
- disableSelection: boolean;
114
- disableDragging: boolean;
115
- draggingAnimationMode: string;
116
- clickOutsideException: null;
117
- selectedItemIds: () => never[];
118
- }>>> & {
119
- onDrag?: ((payload: {
120
- event: DragEvent;
121
- item: FileExplorerItemType;
122
- }) => any) | undefined;
123
- onDragend?: ((payload: {
124
- event: DragEvent;
125
- sourceItem: FileExplorerItemType;
126
- onComplete: (isSuccessfulMove: boolean) => void;
127
- }) => any) | undefined;
128
- onMoveItems?: ((payload: {
129
- sourceItems: string[];
130
- targetItem: string;
131
- onComplete: (isSuccessfulMove: boolean) => void;
132
- }) => any) | undefined;
133
- "onUpdate:selectedItemIds"?: ((selectedItemIds: string[]) => any) | undefined;
134
- onChangeDirectory?: ((pathId: string) => any) | undefined;
135
- onOpenFile?: ((item: FileExplorerItemType) => any) | undefined;
136
- onDeleteItems?: ((payload: {
137
- items: FileExplorerItemType[];
138
- }) => any) | undefined;
139
- onRenameFile?: ((payload: {
140
- itemId: string;
141
- newName: string;
142
- }) => any) | undefined;
143
- }, {
144
- mode: "normal" | "mini";
145
- fullPath: string;
146
- isRootFolder: boolean;
147
- activeRenamedItemId: string | null;
148
- disableContextMenu: boolean;
149
- disableMultiSelect: boolean;
150
- disableSelection: boolean;
151
- disableDragging: boolean;
152
- draggingAnimationMode: "disabled" | "manual" | "auto";
153
- clickOutsideException: HTMLElement | null;
154
- selectedItemIds: string[];
155
- }, {}>, {
156
- itemIcon?(_: {
157
- item: FileExplorerItemType;
158
- }): any;
159
- itemContent?(_: {
160
- item: FileExplorerItemType;
161
- isRenameActive: boolean;
162
- isSelected: boolean;
163
- }): any;
164
- emptyFolder?(_: {}): any;
165
- customDragPreview?(_: {}): any;
166
- contextMenu?(_: {
167
- items: FileExplorerContextMenuNamespace.MenuItem[];
168
- createRenameOption: FileExplorerContextMenuNamespace.CreateDefaultMenuOption;
169
- createDeleteOption: FileExplorerContextMenuNamespace.CreateDefaultMenuOption;
170
- onItemClick: (menuItem: import('@knime/components').MenuItem<any, any>) => void;
171
- isContextMenuVisible: true;
172
- position: {
173
- x: number;
174
- y: number;
175
- };
176
- anchor: {
177
- item: {
178
- id: string;
179
- name: string;
180
- isOpen: boolean;
181
- isDirectory: boolean;
182
- isOpenableFile: boolean;
183
- canBeRenamed: boolean;
184
- canBeDeleted: boolean;
185
- meta?: Record<string, any> | undefined;
186
- };
187
- index: number;
188
- element: HTMLElement;
189
- };
190
- closeContextMenu: () => void;
191
- isMultipleSelectionActive: boolean;
192
- }): any;
193
- }>;
194
- export default _default;
195
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
196
- type __VLS_TypePropsToRuntimeProps<T> = {
197
- [K in keyof T]-?: {} extends Pick<T, K> ? {
198
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
199
- } : {
200
- type: import('vue').PropType<T[K]>;
201
- required: true;
202
- };
203
- };
204
- type __VLS_WithDefaults<P, D> = {
205
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
206
- default: D[K];
207
- }> : P[K];
208
- };
209
- type __VLS_Prettify<T> = {
210
- [K in keyof T]: T[K];
211
- } & {};
212
- type __VLS_WithTemplateSlots<T, S> = T & {
213
- new (): {
214
- $slots: S;
215
- };
216
- };
@@ -1,40 +0,0 @@
1
- import { MenuItem as BaseMenuItem } from '../../types';
2
- import { FileExplorerItem, FileExplorerContextMenu } from '../types';
3
-
4
- interface Props {
5
- position: {
6
- x: number;
7
- y: number;
8
- };
9
- anchor: FileExplorerContextMenu.Anchor;
10
- selectedItems: Array<FileExplorerItem>;
11
- }
12
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
- itemClick: (payload: FileExplorerContextMenu.ItemClickPayload) => void;
14
- close: () => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
16
- onClose?: (() => any) | undefined;
17
- onItemClick?: ((payload: FileExplorerContextMenu.ItemClickPayload) => any) | undefined;
18
- }, {}, {}>, {
19
- default?(_: {
20
- items: FileExplorerContextMenu.MenuItem[];
21
- createRenameOption: FileExplorerContextMenu.CreateDefaultMenuOption;
22
- createDeleteOption: FileExplorerContextMenu.CreateDefaultMenuOption;
23
- onItemClick: (menuItem: BaseMenuItem<any, any>) => void;
24
- }): any;
25
- }>;
26
- export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToRuntimeProps<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
34
- };
35
- };
36
- type __VLS_WithTemplateSlots<T, S> = T & {
37
- new (): {
38
- $slots: S;
39
- };
40
- };
@@ -1,78 +0,0 @@
1
- import { FileExplorerItem } from '../types';
2
-
3
- interface Props {
4
- blacklistedNames: Array<string>;
5
- item: FileExplorerItem;
6
- isSelected: boolean;
7
- isDragging: boolean;
8
- isRenameActive: boolean;
9
- isDraggingEnabled?: boolean;
10
- }
11
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
- isDraggingEnabled: boolean;
13
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- dblclick: (nativeEvent: MouseEvent) => void;
15
- click: (nativeEvent: MouseEvent) => void;
16
- dragstart: (nativeEvent: DragEvent) => void;
17
- dragenter: (nativeEvent: DragEvent) => void;
18
- dragover: (nativeEvent: DragEvent) => void;
19
- drag: (nativeEvent: DragEvent) => void;
20
- dragleave: (nativeEvent: DragEvent) => void;
21
- dragend: (nativeEvent: DragEvent) => void;
22
- drop: (nativeEvent: DragEvent) => void;
23
- contextmenu: (nativeEvent: MouseEvent) => void;
24
- "rename:submit": (payload: {
25
- itemId: string;
26
- newName: string;
27
- }) => void;
28
- "rename:clear": () => void;
29
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
30
- isDraggingEnabled: boolean;
31
- }>>> & {
32
- onClick?: ((nativeEvent: MouseEvent) => any) | undefined;
33
- onContextmenu?: ((nativeEvent: MouseEvent) => any) | undefined;
34
- onDblclick?: ((nativeEvent: MouseEvent) => any) | undefined;
35
- onDrag?: ((nativeEvent: DragEvent) => any) | undefined;
36
- onDragend?: ((nativeEvent: DragEvent) => any) | undefined;
37
- onDragenter?: ((nativeEvent: DragEvent) => any) | undefined;
38
- onDragleave?: ((nativeEvent: DragEvent) => any) | undefined;
39
- onDragover?: ((nativeEvent: DragEvent) => any) | undefined;
40
- onDragstart?: ((nativeEvent: DragEvent) => any) | undefined;
41
- onDrop?: ((nativeEvent: DragEvent) => any) | undefined;
42
- "onRename:submit"?: ((payload: {
43
- itemId: string;
44
- newName: string;
45
- }) => any) | undefined;
46
- "onRename:clear"?: (() => any) | undefined;
47
- }, {
48
- isDraggingEnabled: boolean;
49
- }, {}>, {
50
- icon?(_: {}): any;
51
- default?(_: {
52
- isRenameActive: boolean;
53
- isSelected: boolean;
54
- }): any;
55
- }>;
56
- export default _default;
57
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
- type __VLS_TypePropsToRuntimeProps<T> = {
59
- [K in keyof T]-?: {} extends Pick<T, K> ? {
60
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
- } : {
62
- type: import('vue').PropType<T[K]>;
63
- required: true;
64
- };
65
- };
66
- type __VLS_WithDefaults<P, D> = {
67
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
68
- default: D[K];
69
- }> : P[K];
70
- };
71
- type __VLS_Prettify<T> = {
72
- [K in keyof T]: T[K];
73
- } & {};
74
- type __VLS_WithTemplateSlots<T, S> = T & {
75
- new (): {
76
- $slots: S;
77
- };
78
- };
@@ -1,12 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- isDragging: {
3
- type: BooleanConstructor;
4
- required: true;
5
- };
6
- }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
- isDragging: {
8
- type: BooleanConstructor;
9
- required: true;
10
- };
11
- }>>, {}, {}>;
12
- export default _default;
@@ -1,20 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- isSelected: {
3
- type: BooleanConstructor;
4
- required: true;
5
- };
6
- isDragging: {
7
- type: BooleanConstructor;
8
- required: true;
9
- };
10
- }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
- isSelected: {
12
- type: BooleanConstructor;
13
- required: true;
14
- };
15
- isDragging: {
16
- type: BooleanConstructor;
17
- required: true;
18
- };
19
- }>>, {}, {}>;
20
- export default _default;
@@ -1,27 +0,0 @@
1
- import { PropType } from 'vue';
2
-
3
- interface LinkItem {
4
- text?: string;
5
- url: string;
6
- }
7
- /**
8
- * Renders a list of clickable links displayed with an arrow icon and text
9
- *
10
- * Example:
11
- * -> Google
12
- * -> KNIME Hub
13
- */
14
- declare const _default: import('vue').DefineComponent<{
15
- links: {
16
- type: PropType<LinkItem[]>;
17
- default: () => never[];
18
- };
19
- }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
- links: {
21
- type: PropType<LinkItem[]>;
22
- default: () => never[];
23
- };
24
- }>>, {
25
- links: LinkItem[];
26
- }, {}>;
27
- export default _default;
@@ -1,66 +0,0 @@
1
- import { PropType } from 'vue';
2
-
3
- /**
4
- * See demo for documentation
5
- */
6
- declare const _default: import('vue').DefineComponent<{
7
- /**
8
- * @see {@link BaseModal.vue}
9
- */
10
- title: {
11
- default: null;
12
- type: StringConstructor;
13
- };
14
- /**
15
- * One of 'info', 'warn'. Defaults to 'info'.
16
- * This has no implication on functionality, only styling,
17
- */
18
- styleType: {
19
- type: PropType<"warn" | "info">;
20
- default: string;
21
- validator(type?: "info" | "warn"): boolean;
22
- };
23
- implicitDismiss: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- animate: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- }, unknown, unknown, {}, {
32
- onCloserClick(): void;
33
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "cancel"[], "cancel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
34
- /**
35
- * @see {@link BaseModal.vue}
36
- */
37
- title: {
38
- default: null;
39
- type: StringConstructor;
40
- };
41
- /**
42
- * One of 'info', 'warn'. Defaults to 'info'.
43
- * This has no implication on functionality, only styling,
44
- */
45
- styleType: {
46
- type: PropType<"warn" | "info">;
47
- default: string;
48
- validator(type?: "info" | "warn"): boolean;
49
- };
50
- implicitDismiss: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- animate: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- };
58
- }>> & {
59
- onCancel?: ((...args: any[]) => any) | undefined;
60
- }, {
61
- title: string;
62
- animate: boolean;
63
- implicitDismiss: boolean;
64
- styleType: "warn" | "info";
65
- }, {}>;
66
- export default _default;
@@ -1,36 +0,0 @@
1
- type Color = "white" | "gray";
2
- type Props = {
3
- color?: Color;
4
- };
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
- color: string;
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
- color: string;
9
- }>>>, {
10
- color: Color;
11
- }, {}>, {
12
- default?(_: {}): any;
13
- }>;
14
- export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
- type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
- default: D[K];
27
- }> : P[K];
28
- };
29
- type __VLS_Prettify<T> = {
30
- [K in keyof T]: T[K];
31
- } & {};
32
- type __VLS_WithTemplateSlots<T, S> = T & {
33
- new (): {
34
- $slots: S;
35
- };
36
- };