@knime/scripting-editor 0.0.80 → 0.0.82
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/initial-data-service-browser-mock.js +22 -10
- package/dist/lib/main.d.ts +2 -2
- package/dist/main.js +11320 -11298
- package/dist/node_modules/@knime/components/src/components/Buttons/Button.vue.d.ts +131 -0
- package/dist/node_modules/@knime/components/src/components/Buttons/PlusButton.vue.d.ts +28 -0
- package/dist/node_modules/@knime/components/src/components/Buttons/SplitButton.vue.d.ts +9 -0
- package/dist/node_modules/@knime/components/src/components/Carousel/Carousel.vue.d.ts +22 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorer.vue.d.ts +216 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerContextMenu.vue.d.ts +40 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItem.vue.d.ts +78 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItemBack.vue.d.ts +12 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItemBase.vue.d.ts +20 -0
- package/dist/node_modules/@knime/components/src/components/LinkList/LinkList.vue.d.ts +27 -0
- package/dist/node_modules/@knime/components/src/components/Modal/Modal.vue.d.ts +66 -0
- package/dist/node_modules/@knime/components/src/components/Pill/Pill.vue.d.ts +36 -0
- package/dist/node_modules/@knime/components/src/components/SubMenu/SubMenu.vue.d.ts +199 -0
- package/dist/node_modules/@knime/components/src/components/Tag/Tag.vue.d.ts +45 -0
- package/dist/node_modules/@knime/components/src/components/Tag/TagList.vue.d.ts +82 -0
- package/dist/node_modules/@knime/components/src/components/Toast/components/Toast.vue.d.ts +51 -0
- package/dist/node_modules/@knime/components/src/components/Toast/components/ToastButton.vue.d.ts +27 -0
- package/dist/node_modules/@knime/components/src/components/Toast/components/ToastStack.vue.d.ts +30 -0
- package/dist/node_modules/@knime/components/src/components/base/Button/BaseButton.vue.d.ts +90 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItem.vue.d.ts +28 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItemText.vue.d.ts +19 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItems.vue.d.ts +123 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue.d.ts +96 -0
- package/dist/node_modules/@knime/components/src/components/base/Modal/BaseModal.vue.d.ts +66 -0
- package/dist/node_modules/@knime/components/src/components/forms/ComboBox/ComboBox.vue.d.ts +150 -0
- package/dist/node_modules/@knime/components/src/components/forms/Dropdown/Dropdown.vue.d.ts +203 -0
- package/dist/node_modules/@knime/components/src/components/forms/MultiModeTwinlist/MultiModeTwinlist.vue.d.ts +299 -0
- package/dist/node_modules/@knime/components/src/components/forms/MultiselectListBox/MultiselectListBox.vue.d.ts +279 -0
- package/dist/node_modules/@knime/components/src/components/forms/NumberInput/NumberInput.vue.d.ts +166 -0
- package/dist/node_modules/@knime/components/src/components/forms/QuantityInput/QuantityInput.vue.d.ts +45 -0
- package/dist/node_modules/@knime/components/src/components/forms/RadioButtons/BaseRadioButtons.vue.d.ts +66 -0
- package/dist/node_modules/@knime/components/src/components/forms/SearchableCheckboxes/SearchableCheckboxes.vue.d.ts +267 -0
- package/dist/node_modules/@knime/components/src/components/forms/SearchableList/SearchableList.vue.d.ts +285 -0
- package/dist/node_modules/@knime/components/src/components/forms/SortList/SortList.vue.d.ts +26 -0
- package/dist/node_modules/@knime/components/src/components/forms/Twinlist/Twinlist.vue.d.ts +381 -0
- package/dist/node_modules/@knime/components/src/components/forms/ValueSwitch/ValueSwitch.vue.d.ts +65 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtIFrame.vue.d.ts +27 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtShadowApp.vue.d.ts +41 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtension.vue.d.ts +49 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionAlerts.vue.d.ts +34 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionErrorOverlay.vue.d.ts +41 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionWarningButton.vue.d.ts +34 -0
- package/dist/src/components/CodeEditorControlBar.vue.d.ts +2 -20
- package/dist/src/components/InfinityLoadingBar.vue.d.ts +2 -0
- package/dist/src/components/ai-assistant/AiButton.vue.d.ts +22 -0
- package/dist/src/components/ai-assistant/AiDisclaimer.vue.d.ts +10 -0
- package/dist/src/components/ai-assistant/AiPopupContent.vue.d.ts +10 -0
- package/dist/src/editor.d.ts +2 -1
- package/dist/src/initial-data-service-browser-mock.d.ts +2 -1
- package/dist/src/initial-data-service.d.ts +14 -1
- package/package.json +2 -2
- package/dist/src/components/ai-assistant/AiBar.vue.d.ts +0 -40
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Strategy } from '@floating-ui/vue';
|
|
2
|
+
import { MenuItem, Props as MenuItemsProps } from '../base/MenuItem/MenuItems.vue';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
|
|
5
|
+
declare const orientations: readonly ["right", "top", "left"];
|
|
6
|
+
type Orientation = (typeof orientations)[number];
|
|
7
|
+
/**
|
|
8
|
+
* SubMenu offers shows a Button with a submenu based on MenuItems.
|
|
9
|
+
* It offers an orientation where the menu appears (top, left, right)
|
|
10
|
+
*/
|
|
11
|
+
declare const _default: import('vue').DefineComponent<{
|
|
12
|
+
/**
|
|
13
|
+
* Items to be listed in the menu.
|
|
14
|
+
* See MenuItems for more details.
|
|
15
|
+
*/
|
|
16
|
+
items: {
|
|
17
|
+
type: PropType<MenuItem<any, any>[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Identifier for click handler
|
|
22
|
+
*/
|
|
23
|
+
id: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Button title
|
|
29
|
+
*/
|
|
30
|
+
buttonTitle: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Alignment of the submenu with the menu button left or right. Defaults to 'right'.
|
|
36
|
+
*/
|
|
37
|
+
orientation: {
|
|
38
|
+
type: PropType<"top" | "right" | "left">;
|
|
39
|
+
default: string;
|
|
40
|
+
validator(orientation?: Orientation): boolean;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Disable SubMenu
|
|
44
|
+
*/
|
|
45
|
+
disabled: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Set max-width for the menu and truncate larger text
|
|
51
|
+
*/
|
|
52
|
+
maxMenuWidth: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: null;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Allow overflow of the popover on the main axis regarding the SubMenu Button
|
|
58
|
+
*/
|
|
59
|
+
allowOverflowMainAxis: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Allows the popover to be displayed outside a containing block with hidden or scroll overflow
|
|
65
|
+
* (see also https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block, e.g. when a parent container
|
|
66
|
+
* has a translate css styling).
|
|
67
|
+
* Whenever the menu is expanded, a callback which closes it again is emitted as the event 'toggle'.
|
|
68
|
+
*/
|
|
69
|
+
teleportToBody: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* The positioning strategy for the dropdown menu (also called popover)
|
|
75
|
+
*/
|
|
76
|
+
positioningStrategy: {
|
|
77
|
+
type: PropType<Strategy>;
|
|
78
|
+
default: string;
|
|
79
|
+
validator: (value: string) => boolean;
|
|
80
|
+
};
|
|
81
|
+
menuItemsProps: {
|
|
82
|
+
type: PropType<Partial<MenuItemsProps>>;
|
|
83
|
+
default: () => Partial<MenuItemsProps>;
|
|
84
|
+
};
|
|
85
|
+
}, {
|
|
86
|
+
clippingBoundary: import('vue').ComputedRef<HTMLElement>;
|
|
87
|
+
menuItems: import('vue').Ref<null>;
|
|
88
|
+
submenu: import('vue').Ref<null>;
|
|
89
|
+
menuWrapper: import('vue').Ref<HTMLElement | null>;
|
|
90
|
+
expanded: import('vue').Ref<boolean>;
|
|
91
|
+
closeMenu: () => void;
|
|
92
|
+
updateFloatingMenu: () => void;
|
|
93
|
+
menuWrapperFloatingStyles: Readonly<import('vue').Ref<{
|
|
94
|
+
position: Strategy;
|
|
95
|
+
top: string;
|
|
96
|
+
left: string;
|
|
97
|
+
transform?: string | undefined;
|
|
98
|
+
willChange?: string | undefined;
|
|
99
|
+
}>>;
|
|
100
|
+
shadowRoot: ShadowRoot | null;
|
|
101
|
+
}, {
|
|
102
|
+
activeDescendant: string | undefined;
|
|
103
|
+
}, {}, {
|
|
104
|
+
toggleMenu(event: Event): void;
|
|
105
|
+
onItemClick(event: Event, item: any): void;
|
|
106
|
+
onKeydown(event: KeyboardEvent): void;
|
|
107
|
+
getMenuItems(): any;
|
|
108
|
+
setActiveDescendant(id: string | null): void;
|
|
109
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "toggle" | "item-click" | "open")[], "close" | "toggle" | "item-click" | "open", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
110
|
+
/**
|
|
111
|
+
* Items to be listed in the menu.
|
|
112
|
+
* See MenuItems for more details.
|
|
113
|
+
*/
|
|
114
|
+
items: {
|
|
115
|
+
type: PropType<MenuItem<any, any>[]>;
|
|
116
|
+
required: true;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Identifier for click handler
|
|
120
|
+
*/
|
|
121
|
+
id: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Button title
|
|
127
|
+
*/
|
|
128
|
+
buttonTitle: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Alignment of the submenu with the menu button left or right. Defaults to 'right'.
|
|
134
|
+
*/
|
|
135
|
+
orientation: {
|
|
136
|
+
type: PropType<"top" | "right" | "left">;
|
|
137
|
+
default: string;
|
|
138
|
+
validator(orientation?: Orientation): boolean;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Disable SubMenu
|
|
142
|
+
*/
|
|
143
|
+
disabled: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Set max-width for the menu and truncate larger text
|
|
149
|
+
*/
|
|
150
|
+
maxMenuWidth: {
|
|
151
|
+
type: NumberConstructor;
|
|
152
|
+
default: null;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Allow overflow of the popover on the main axis regarding the SubMenu Button
|
|
156
|
+
*/
|
|
157
|
+
allowOverflowMainAxis: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Allows the popover to be displayed outside a containing block with hidden or scroll overflow
|
|
163
|
+
* (see also https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block, e.g. when a parent container
|
|
164
|
+
* has a translate css styling).
|
|
165
|
+
* Whenever the menu is expanded, a callback which closes it again is emitted as the event 'toggle'.
|
|
166
|
+
*/
|
|
167
|
+
teleportToBody: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* The positioning strategy for the dropdown menu (also called popover)
|
|
173
|
+
*/
|
|
174
|
+
positioningStrategy: {
|
|
175
|
+
type: PropType<Strategy>;
|
|
176
|
+
default: string;
|
|
177
|
+
validator: (value: string) => boolean;
|
|
178
|
+
};
|
|
179
|
+
menuItemsProps: {
|
|
180
|
+
type: PropType<Partial<MenuItemsProps>>;
|
|
181
|
+
default: () => Partial<MenuItemsProps>;
|
|
182
|
+
};
|
|
183
|
+
}>> & {
|
|
184
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
185
|
+
onToggle?: ((...args: any[]) => any) | undefined;
|
|
186
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
187
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
}, {
|
|
189
|
+
disabled: boolean;
|
|
190
|
+
id: string;
|
|
191
|
+
maxMenuWidth: number;
|
|
192
|
+
buttonTitle: string;
|
|
193
|
+
orientation: "top" | "right" | "left";
|
|
194
|
+
allowOverflowMainAxis: boolean;
|
|
195
|
+
teleportToBody: boolean;
|
|
196
|
+
positioningStrategy: Strategy;
|
|
197
|
+
menuItemsProps: Partial<MenuItemsProps>;
|
|
198
|
+
}, {}>;
|
|
199
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* If the tags should have hover + cursor styles.
|
|
4
|
+
*/
|
|
5
|
+
clickable?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* If the tag should be displayed as active
|
|
8
|
+
*/
|
|
9
|
+
active?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
|
+
clickable: boolean;
|
|
13
|
+
active: boolean;
|
|
14
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
15
|
+
clickable: boolean;
|
|
16
|
+
active: boolean;
|
|
17
|
+
}>>>, {
|
|
18
|
+
active: boolean;
|
|
19
|
+
clickable: boolean;
|
|
20
|
+
}, {}>, {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* Maximum number of tags to display initially.
|
|
4
|
+
* If more tags are present, they will be expandable via a '+' button.
|
|
5
|
+
*/
|
|
6
|
+
numberOfInitialTags?: number;
|
|
7
|
+
/**
|
|
8
|
+
* List of tags (Strings) to display.
|
|
9
|
+
* @type Array<String>
|
|
10
|
+
*/
|
|
11
|
+
tags?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* List of active tags (Strings) to display.
|
|
14
|
+
* @type Array<String>
|
|
15
|
+
*/
|
|
16
|
+
activeTags?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* If the tags should emit events and have hover + cursor styles.
|
|
19
|
+
*/
|
|
20
|
+
clickable?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Show all tags optional v-model
|
|
23
|
+
*/
|
|
24
|
+
showAll?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Shows active tags in front of all others
|
|
27
|
+
*/
|
|
28
|
+
sortByActive?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
31
|
+
numberOfInitialTags: number;
|
|
32
|
+
tags: () => never[];
|
|
33
|
+
activeTags: () => never[];
|
|
34
|
+
clickable: boolean;
|
|
35
|
+
showAll: boolean;
|
|
36
|
+
sortByActive: boolean;
|
|
37
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
click: (tag: string) => void;
|
|
39
|
+
"update:showAll": (showAll: boolean) => void;
|
|
40
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
41
|
+
numberOfInitialTags: number;
|
|
42
|
+
tags: () => never[];
|
|
43
|
+
activeTags: () => never[];
|
|
44
|
+
clickable: boolean;
|
|
45
|
+
showAll: boolean;
|
|
46
|
+
sortByActive: boolean;
|
|
47
|
+
}>>> & {
|
|
48
|
+
onClick?: ((tag: string) => any) | undefined;
|
|
49
|
+
"onUpdate:showAll"?: ((showAll: boolean) => any) | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
clickable: boolean;
|
|
52
|
+
numberOfInitialTags: number;
|
|
53
|
+
tags: string[];
|
|
54
|
+
activeTags: string[];
|
|
55
|
+
showAll: boolean;
|
|
56
|
+
sortByActive: boolean;
|
|
57
|
+
}, {}>, {
|
|
58
|
+
icon?(_: {}): any;
|
|
59
|
+
}>;
|
|
60
|
+
export default _default;
|
|
61
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
63
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
+
} : {
|
|
66
|
+
type: import('vue').PropType<T[K]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
type __VLS_WithDefaults<P, D> = {
|
|
71
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
72
|
+
default: D[K];
|
|
73
|
+
}> : P[K];
|
|
74
|
+
};
|
|
75
|
+
type __VLS_Prettify<T> = {
|
|
76
|
+
[K in keyof T]: T[K];
|
|
77
|
+
} & {};
|
|
78
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
79
|
+
new (): {
|
|
80
|
+
$slots: S;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Toast } from '../types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Toast>, {
|
|
4
|
+
type: string;
|
|
5
|
+
headline: string;
|
|
6
|
+
message: string;
|
|
7
|
+
autoRemove: boolean;
|
|
8
|
+
active: boolean;
|
|
9
|
+
buttons: () => never[];
|
|
10
|
+
stackId: string;
|
|
11
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
remove: (...args: any[]) => void;
|
|
13
|
+
"auto-remove": (...args: any[]) => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Toast>, {
|
|
15
|
+
type: string;
|
|
16
|
+
headline: string;
|
|
17
|
+
message: string;
|
|
18
|
+
autoRemove: boolean;
|
|
19
|
+
active: boolean;
|
|
20
|
+
buttons: () => never[];
|
|
21
|
+
stackId: string;
|
|
22
|
+
}>>> & {
|
|
23
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onAuto-remove"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
type: "error" | "info" | "success" | "warning";
|
|
27
|
+
active: boolean;
|
|
28
|
+
message: string;
|
|
29
|
+
buttons: import('../types').ToastButton[];
|
|
30
|
+
headline: string;
|
|
31
|
+
autoRemove: boolean;
|
|
32
|
+
stackId: string;
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
}> : P[K];
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
package/dist/node_modules/@knime/components/src/components/Toast/components/ToastButton.vue.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ToastButton } from '../types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<ToastButton>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
callback?: (() => void) | undefined;
|
|
5
|
+
to?: string | undefined;
|
|
6
|
+
href?: string | undefined;
|
|
7
|
+
} & {
|
|
8
|
+
icon: import('vue').FunctionalComponent<import('vue').SVGAttributes, {}, any, {}>;
|
|
9
|
+
text?: string | undefined;
|
|
10
|
+
}>>> | Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
callback?: (() => void) | undefined;
|
|
12
|
+
to?: string | undefined;
|
|
13
|
+
href?: string | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
icon?: import('vue').FunctionalComponent<import('vue').SVGAttributes, {}, any, {}> | undefined;
|
|
16
|
+
text: string;
|
|
17
|
+
}>>>, {} | {}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
package/dist/node_modules/@knime/components/src/components/Toast/components/ToastStack.vue.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ToastStack } from '../types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToastStack>, {
|
|
4
|
+
serviceSymbol: null;
|
|
5
|
+
propertyName: null;
|
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToastStack>, {
|
|
7
|
+
serviceSymbol: null;
|
|
8
|
+
propertyName: null;
|
|
9
|
+
}>>>, {
|
|
10
|
+
serviceSymbol: Symbol | null;
|
|
11
|
+
propertyName: string | null;
|
|
12
|
+
}, {}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Prettify<T> = {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} & {};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* If set, the button renders an <a> element instead of a <button> element
|
|
4
|
+
* Has no effect when used together with `to`.
|
|
5
|
+
*/
|
|
6
|
+
href: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* If set, the button renders a <nuxt-link> instead of a <button> element.
|
|
12
|
+
* Supersedes the `href` property.
|
|
13
|
+
*/
|
|
14
|
+
to: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* toggle to prevent default click handler
|
|
20
|
+
*/
|
|
21
|
+
preventDefault: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}, unknown, unknown, {
|
|
30
|
+
component(): import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any> | "a" | "button";
|
|
31
|
+
dynamicProps(): {
|
|
32
|
+
to: string;
|
|
33
|
+
event: string | never[];
|
|
34
|
+
href?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
href: string;
|
|
37
|
+
to?: undefined;
|
|
38
|
+
event?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
to?: undefined;
|
|
41
|
+
event?: undefined;
|
|
42
|
+
href?: undefined;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
onClick(e: MouseEvent): void;
|
|
46
|
+
/**
|
|
47
|
+
* This can be called from outside via focus on a $ref
|
|
48
|
+
*/
|
|
49
|
+
focus(): void;
|
|
50
|
+
/**
|
|
51
|
+
* This can be called from outside via getComponent on a $ref
|
|
52
|
+
*/
|
|
53
|
+
getComponent(): HTMLButtonElement;
|
|
54
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
55
|
+
/**
|
|
56
|
+
* If set, the button renders an <a> element instead of a <button> element
|
|
57
|
+
* Has no effect when used together with `to`.
|
|
58
|
+
*/
|
|
59
|
+
href: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* If set, the button renders a <nuxt-link> instead of a <button> element.
|
|
65
|
+
* Supersedes the `href` property.
|
|
66
|
+
*/
|
|
67
|
+
to: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* toggle to prevent default click handler
|
|
73
|
+
*/
|
|
74
|
+
preventDefault: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
disabled: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
}>> & {
|
|
83
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
to: string;
|
|
86
|
+
href: string;
|
|
87
|
+
preventDefault: boolean;
|
|
88
|
+
disabled: boolean;
|
|
89
|
+
}, {}>;
|
|
90
|
+
export default _default;
|
package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItem.vue.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MenuItem } from './MenuItems.vue';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
item: MenuItem;
|
|
5
|
+
index: number;
|
|
6
|
+
hasFocus: boolean;
|
|
7
|
+
useMaxMenuWidth: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
|
|
10
|
+
submenu?(_: {
|
|
11
|
+
itemElement: unknown;
|
|
12
|
+
}): 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_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItemText.vue.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
text: string;
|
|
3
|
+
hotkeyText?: string | undefined;
|
|
4
|
+
useMaxMenuWidth: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
text: string;
|
|
7
|
+
hotkeyText?: string | undefined;
|
|
8
|
+
useMaxMenuWidth: boolean;
|
|
9
|
+
}>>>, {}, {}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|