@knime/scripting-editor 0.0.102 → 0.0.104

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,6 +1,8 @@
1
1
  import { PropType } from 'vue';
2
2
  import { MenuItem } from '@knime/components';
3
- declare const _default: import('vue').DefineComponent<{
3
+ import { default as MenuIcon } from '@knime/styles/img/icons/menu-options.svg';
4
+ import { SettingsMenuItem } from './SettingsPage.vue';
5
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
6
  title: {
5
7
  type: StringConstructor;
6
8
  default: null;
@@ -9,10 +11,10 @@ declare const _default: import('vue').DefineComponent<{
9
11
  type: PropType<MenuItem[]>;
10
12
  required: true;
11
13
  };
12
- }, unknown, unknown, {
14
+ }>, {}, {}, {
13
15
  hasMenu(): boolean;
14
16
  }, {
15
- menuItemClicked(event: Event, item: any): void;
17
+ menuItemClicked(event: Event, item: SettingsMenuItem): void;
16
18
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "menu-item-click"[], "menu-item-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
19
  title: {
18
20
  type: StringConstructor;
@@ -22,9 +24,857 @@ declare const _default: import('vue').DefineComponent<{
22
24
  type: PropType<MenuItem[]>;
23
25
  required: true;
24
26
  };
25
- }>> & {
27
+ }>> & Readonly<{
26
28
  "onMenu-item-click"?: ((...args: any[]) => any) | undefined;
27
- }, {
29
+ }>, {
28
30
  title: string;
29
- }, {}>;
31
+ }, {}, {
32
+ SubMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
33
+ items: {
34
+ type: PropType<Array<MenuItem>>;
35
+ required: true;
36
+ };
37
+ id: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ buttonTitle: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ orientation: {
46
+ type: PropType<"right" | "top" | "left">;
47
+ default: string;
48
+ validator(orientation?: "left" | "right" | "top"): boolean;
49
+ };
50
+ disabled: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ maxMenuWidth: {
55
+ type: NumberConstructor;
56
+ default: null;
57
+ };
58
+ allowOverflowMainAxis: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ teleportToBody: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ positioningStrategy: {
67
+ type: PropType<import('@floating-ui/utils').Strategy>;
68
+ default: string;
69
+ validator: (value: string) => boolean;
70
+ };
71
+ menuItemsProps: {
72
+ type: PropType<Partial<import('node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue').Props>>;
73
+ default: () => Partial<import('node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue').Props>;
74
+ };
75
+ compact: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ }>, {
80
+ clippingBoundary: import('vue').ComputedRef<HTMLElement>;
81
+ menuItems: import('vue').Ref<null, null>;
82
+ submenu: import('vue').Ref<null, null>;
83
+ menuWrapper: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
84
+ expanded: import('vue').Ref<boolean, boolean>;
85
+ closeMenu: () => void;
86
+ updateFloatingMenu: () => void;
87
+ menuWrapperFloatingStyles: Readonly<import('vue').Ref<{
88
+ position: import('@floating-ui/utils').Strategy;
89
+ top: string;
90
+ left: string;
91
+ transform?: string;
92
+ willChange?: string;
93
+ }, {
94
+ position: import('@floating-ui/utils').Strategy;
95
+ top: string;
96
+ left: string;
97
+ transform?: string;
98
+ willChange?: string;
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" | "open" | "item-click")[], "close" | "toggle" | "open" | "item-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
110
+ items: {
111
+ type: PropType<Array<MenuItem>>;
112
+ required: true;
113
+ };
114
+ id: {
115
+ type: StringConstructor;
116
+ default: string;
117
+ };
118
+ buttonTitle: {
119
+ type: StringConstructor;
120
+ default: string;
121
+ };
122
+ orientation: {
123
+ type: PropType<"right" | "top" | "left">;
124
+ default: string;
125
+ validator(orientation?: "left" | "right" | "top"): boolean;
126
+ };
127
+ disabled: {
128
+ type: BooleanConstructor;
129
+ default: boolean;
130
+ };
131
+ maxMenuWidth: {
132
+ type: NumberConstructor;
133
+ default: null;
134
+ };
135
+ allowOverflowMainAxis: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ teleportToBody: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ positioningStrategy: {
144
+ type: PropType<import('@floating-ui/utils').Strategy>;
145
+ default: string;
146
+ validator: (value: string) => boolean;
147
+ };
148
+ menuItemsProps: {
149
+ type: PropType<Partial<import('node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue').Props>>;
150
+ default: () => Partial<import('node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue').Props>;
151
+ };
152
+ compact: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ };
156
+ }>> & Readonly<{
157
+ onClose?: ((...args: any[]) => any) | undefined;
158
+ onToggle?: ((...args: any[]) => any) | undefined;
159
+ "onItem-click"?: ((...args: any[]) => any) | undefined;
160
+ onOpen?: ((...args: any[]) => any) | undefined;
161
+ }>, {
162
+ compact: boolean;
163
+ id: string;
164
+ orientation: "left" | "right" | "top";
165
+ disabled: boolean;
166
+ maxMenuWidth: number;
167
+ buttonTitle: string;
168
+ allowOverflowMainAxis: boolean;
169
+ teleportToBody: boolean;
170
+ positioningStrategy: import('@floating-ui/utils').Strategy;
171
+ menuItemsProps: Partial<import('node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue').Props>;
172
+ }, {}, {
173
+ FunctionButton: import('vue').DefineComponent<{}, {}, any>;
174
+ MenuItems: import('vue').DefineComponent<import('node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue').Props, {
175
+ onKeydown: (event: KeyboardEvent) => void;
176
+ resetNavigation: () => void;
177
+ focusIndex: (index?: number) => void;
178
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
179
+ close: () => any;
180
+ "item-click": (event: MouseEvent, item: MenuItem<any, any>, menuId: string) => any;
181
+ "item-focused": (itemId: string | null, item: MenuItem<any, any> | null) => any;
182
+ "item-hovered": (item: MenuItem<any, any> | null, menuId: string, index: number | null) => any;
183
+ "close-submenu": () => any;
184
+ }, string, import('vue').PublicProps, Readonly<import('node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue').Props> & Readonly<{
185
+ onClose?: (() => any) | undefined;
186
+ "onItem-click"?: ((event: MouseEvent, item: MenuItem<any, any>, menuId: string) => any) | undefined;
187
+ "onItem-focused"?: ((itemId: string | null, item: MenuItem<any, any> | null) => any) | undefined;
188
+ "onItem-hovered"?: ((item: MenuItem<any, any> | null, menuId: string, index: number | null) => any) | undefined;
189
+ "onClose-submenu"?: (() => any) | undefined;
190
+ }>, {
191
+ disableSpaceToClick: boolean;
192
+ clippingBoundary: import('@floating-ui/dom').Boundary;
193
+ registerKeydown: boolean;
194
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
195
+ baseMenuItems: ({
196
+ $: import('vue').ComponentInternalInstance;
197
+ $data: {};
198
+ $props: {
199
+ readonly items: Array<MenuItem>;
200
+ readonly menuAriaLabel: string;
201
+ readonly focusedItemIndex?: number | null | undefined;
202
+ readonly id?: string | undefined;
203
+ readonly maxMenuWidth?: number | null | undefined;
204
+ readonly positionRelativeToElement?: (HTMLElement | null) | undefined;
205
+ readonly clippingBoundary?: import('@floating-ui/dom').Boundary | undefined;
206
+ readonly "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
207
+ readonly "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
208
+ readonly "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
209
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
210
+ $attrs: {
211
+ [x: string]: unknown;
212
+ };
213
+ $refs: {
214
+ [x: string]: unknown;
215
+ } & {
216
+ listContainer: HTMLUListElement;
217
+ };
218
+ $slots: Readonly<{
219
+ [name: string]: import('vue').Slot<any> | undefined;
220
+ }>;
221
+ $root: import('vue').ComponentPublicInstance | null;
222
+ $parent: import('vue').ComponentPublicInstance | null;
223
+ $host: Element | null;
224
+ $emit: ((event: "item-click", args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => void) & ((event: "item-focused", id: string | null, args_1: MenuItem<any, any> | null) => void) & ((event: "item-hovered", args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => void);
225
+ $el: HTMLUListElement;
226
+ $options: import('vue').ComponentOptionsBase<Readonly<{
227
+ items: Array<MenuItem>;
228
+ menuAriaLabel: string;
229
+ focusedItemIndex?: number | null;
230
+ id?: string;
231
+ maxMenuWidth?: number | null;
232
+ positionRelativeToElement?: HTMLElement | null;
233
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
234
+ }> & Readonly<{
235
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
236
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
237
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
238
+ }>, {
239
+ scrollTo: (element: HTMLLIElement) => void;
240
+ getEnabledListItems: () => {
241
+ element: HTMLLIElement;
242
+ index: number;
243
+ onClick: () => void;
244
+ }[];
245
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
246
+ "item-click": (args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any;
247
+ "item-focused": (id: string | null, args_1: MenuItem<any, any> | null) => any;
248
+ "item-hovered": (args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any;
249
+ }, string, {
250
+ id: string;
251
+ focusedItemIndex: number | null;
252
+ maxMenuWidth: number | null;
253
+ positionRelativeToElement: HTMLElement | null;
254
+ clippingBoundary: import('@floating-ui/dom').Boundary;
255
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
256
+ beforeCreate?: (() => void) | (() => void)[];
257
+ created?: (() => void) | (() => void)[];
258
+ beforeMount?: (() => void) | (() => void)[];
259
+ mounted?: (() => void) | (() => void)[];
260
+ beforeUpdate?: (() => void) | (() => void)[];
261
+ updated?: (() => void) | (() => void)[];
262
+ activated?: (() => void) | (() => void)[];
263
+ deactivated?: (() => void) | (() => void)[];
264
+ beforeDestroy?: (() => void) | (() => void)[];
265
+ beforeUnmount?: (() => void) | (() => void)[];
266
+ destroyed?: (() => void) | (() => void)[];
267
+ unmounted?: (() => void) | (() => void)[];
268
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
269
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
270
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
271
+ };
272
+ $forceUpdate: () => void;
273
+ $nextTick: typeof import('vue').nextTick;
274
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
275
+ } & Readonly<{
276
+ id: string;
277
+ focusedItemIndex: number | null;
278
+ maxMenuWidth: number | null;
279
+ positionRelativeToElement: HTMLElement | null;
280
+ clippingBoundary: import('@floating-ui/dom').Boundary;
281
+ }> & Omit<Readonly<{
282
+ items: Array<MenuItem>;
283
+ menuAriaLabel: string;
284
+ focusedItemIndex?: number | null;
285
+ id?: string;
286
+ maxMenuWidth?: number | null;
287
+ positionRelativeToElement?: HTMLElement | null;
288
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
289
+ }> & Readonly<{
290
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
291
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
292
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
293
+ }>, "scrollTo" | "getEnabledListItems" | ("id" | "focusedItemIndex" | "maxMenuWidth" | "positionRelativeToElement" | "clippingBoundary")> & import('vue').ShallowUnwrapRef<{
294
+ scrollTo: (element: HTMLLIElement) => void;
295
+ getEnabledListItems: () => {
296
+ element: HTMLLIElement;
297
+ index: number;
298
+ onClick: () => void;
299
+ }[];
300
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
301
+ $slots: {
302
+ item?(_: {
303
+ item: MenuItem<any, any>;
304
+ index: number;
305
+ menuId: string;
306
+ menuItemId: (index: number) => string;
307
+ maxMenuWidth: number | null;
308
+ focusedItemIndex: number | null;
309
+ }): any;
310
+ };
311
+ }) | null;
312
+ subLevelItems: ({
313
+ $: import('vue').ComponentInternalInstance;
314
+ $data: {};
315
+ $props: {
316
+ readonly items: MenuItem[];
317
+ readonly menuAriaLabel: string;
318
+ readonly disableSpaceToClick?: boolean | undefined;
319
+ readonly registerKeydown?: boolean | undefined;
320
+ readonly clippingBoundary?: import('@floating-ui/dom').Boundary | undefined;
321
+ readonly onClose?: (() => any) | undefined;
322
+ readonly "onItem-click"?: ((event: MouseEvent, item: MenuItem<any, any>, menuId: string) => any) | undefined;
323
+ readonly "onItem-focused"?: ((itemId: string | null, item: MenuItem<any, any> | null) => any) | undefined;
324
+ readonly "onItem-hovered"?: ((item: MenuItem<any, any> | null, menuId: string, index: number | null) => any) | undefined;
325
+ readonly "onClose-submenu"?: (() => any) | undefined;
326
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
327
+ $attrs: {
328
+ [x: string]: unknown;
329
+ };
330
+ $refs: {
331
+ [x: string]: unknown;
332
+ };
333
+ $slots: Readonly<{
334
+ [name: string]: import('vue').Slot<any> | undefined;
335
+ }>;
336
+ $root: import('vue').ComponentPublicInstance | null;
337
+ $parent: import('vue').ComponentPublicInstance | null;
338
+ $host: Element | null;
339
+ $emit: ((event: "close") => void) & ((event: "item-click", event: MouseEvent, item: MenuItem<any, any>, menuId: string) => void) & ((event: "item-focused", itemId: string | null, item: MenuItem<any, any> | null) => void) & ((event: "item-hovered", item: MenuItem<any, any> | null, menuId: string, index: number | null) => void) & ((event: "close-submenu") => void);
340
+ $el: any;
341
+ $options: import('vue').ComponentOptionsBase<Readonly<import('node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue').Props> & Readonly<{
342
+ onClose?: (() => any) | undefined;
343
+ "onItem-click"?: ((event: MouseEvent, item: MenuItem<any, any>, menuId: string) => any) | undefined;
344
+ "onItem-focused"?: ((itemId: string | null, item: MenuItem<any, any> | null) => any) | undefined;
345
+ "onItem-hovered"?: ((item: MenuItem<any, any> | null, menuId: string, index: number | null) => any) | undefined;
346
+ "onClose-submenu"?: (() => any) | undefined;
347
+ }>, {
348
+ ArrowNextIcon: typeof MenuIcon;
349
+ BaseMenuItem: typeof import('@knime/components').BaseMenuItem;
350
+ BaseMenuItems: typeof import('@knime/components').BaseMenuItems;
351
+ baseMenuItems: import('vue').Ref<({
352
+ $: import('vue').ComponentInternalInstance;
353
+ $data: {};
354
+ $props: {
355
+ readonly items: Array<MenuItem>;
356
+ readonly menuAriaLabel: string;
357
+ readonly focusedItemIndex?: number | null | undefined;
358
+ readonly id?: string | undefined;
359
+ readonly maxMenuWidth?: number | null | undefined;
360
+ readonly positionRelativeToElement?: (HTMLElement | null) | undefined;
361
+ readonly clippingBoundary?: import('@floating-ui/dom').Boundary | undefined;
362
+ readonly "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
363
+ readonly "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
364
+ readonly "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
365
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
366
+ $attrs: {
367
+ [x: string]: unknown;
368
+ };
369
+ $refs: {
370
+ [x: string]: unknown;
371
+ } & {
372
+ listContainer: HTMLUListElement;
373
+ };
374
+ $slots: Readonly<{
375
+ [name: string]: import('vue').Slot<any> | undefined;
376
+ }>;
377
+ $root: import('vue').ComponentPublicInstance | null;
378
+ $parent: import('vue').ComponentPublicInstance | null;
379
+ $host: Element | null;
380
+ $emit: ((event: "item-click", args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => void) & ((event: "item-focused", id: string | null, args_1: MenuItem<any, any> | null) => void) & ((event: "item-hovered", args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => void);
381
+ $el: HTMLUListElement;
382
+ $options: import('vue').ComponentOptionsBase<Readonly<{
383
+ items: Array<MenuItem>;
384
+ menuAriaLabel: string;
385
+ focusedItemIndex?: number | null;
386
+ id?: string;
387
+ maxMenuWidth?: number | null;
388
+ positionRelativeToElement?: HTMLElement | null;
389
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
390
+ }> & Readonly<{
391
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
392
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
393
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
394
+ }>, {
395
+ scrollTo: (element: HTMLLIElement) => void;
396
+ getEnabledListItems: () => {
397
+ element: HTMLLIElement;
398
+ index: number;
399
+ onClick: () => void;
400
+ }[];
401
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
402
+ "item-click": (args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any;
403
+ "item-focused": (id: string | null, args_1: MenuItem<any, any> | null) => any;
404
+ "item-hovered": (args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any;
405
+ }, string, {
406
+ id: string;
407
+ focusedItemIndex: number | null;
408
+ maxMenuWidth: number | null;
409
+ positionRelativeToElement: HTMLElement | null;
410
+ clippingBoundary: import('@floating-ui/dom').Boundary;
411
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
412
+ beforeCreate?: (() => void) | (() => void)[];
413
+ created?: (() => void) | (() => void)[];
414
+ beforeMount?: (() => void) | (() => void)[];
415
+ mounted?: (() => void) | (() => void)[];
416
+ beforeUpdate?: (() => void) | (() => void)[];
417
+ updated?: (() => void) | (() => void)[];
418
+ activated?: (() => void) | (() => void)[];
419
+ deactivated?: (() => void) | (() => void)[];
420
+ beforeDestroy?: (() => void) | (() => void)[];
421
+ beforeUnmount?: (() => void) | (() => void)[];
422
+ destroyed?: (() => void) | (() => void)[];
423
+ unmounted?: (() => void) | (() => void)[];
424
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
425
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
426
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
427
+ };
428
+ $forceUpdate: () => void;
429
+ $nextTick: typeof import('vue').nextTick;
430
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
431
+ } & Readonly<{
432
+ id: string;
433
+ focusedItemIndex: number | null;
434
+ maxMenuWidth: number | null;
435
+ positionRelativeToElement: HTMLElement | null;
436
+ clippingBoundary: import('@floating-ui/dom').Boundary;
437
+ }> & Omit<Readonly<{
438
+ items: Array<MenuItem>;
439
+ menuAriaLabel: string;
440
+ focusedItemIndex?: number | null;
441
+ id?: string;
442
+ maxMenuWidth?: number | null;
443
+ positionRelativeToElement?: HTMLElement | null;
444
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
445
+ }> & Readonly<{
446
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
447
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
448
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
449
+ }>, "scrollTo" | "getEnabledListItems" | ("id" | "focusedItemIndex" | "maxMenuWidth" | "positionRelativeToElement" | "clippingBoundary")> & import('vue').ShallowUnwrapRef<{
450
+ scrollTo: (element: HTMLLIElement) => void;
451
+ getEnabledListItems: () => {
452
+ element: HTMLLIElement;
453
+ index: number;
454
+ onClick: () => void;
455
+ }[];
456
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
457
+ $slots: {
458
+ item?(_: {
459
+ item: MenuItem<any, any>;
460
+ index: number;
461
+ menuId: string;
462
+ menuItemId: (index: number) => string;
463
+ maxMenuWidth: number | null;
464
+ focusedItemIndex: number | null;
465
+ }): any;
466
+ };
467
+ }) | null, ({
468
+ $: import('vue').ComponentInternalInstance;
469
+ $data: {};
470
+ $props: {
471
+ readonly items: Array<MenuItem>;
472
+ readonly menuAriaLabel: string;
473
+ readonly focusedItemIndex?: number | null | undefined;
474
+ readonly id?: string | undefined;
475
+ readonly maxMenuWidth?: number | null | undefined;
476
+ readonly positionRelativeToElement?: (HTMLElement | null) | undefined;
477
+ readonly clippingBoundary?: import('@floating-ui/dom').Boundary | undefined;
478
+ readonly "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
479
+ readonly "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
480
+ readonly "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
481
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
482
+ $attrs: {
483
+ [x: string]: unknown;
484
+ };
485
+ $refs: {
486
+ [x: string]: unknown;
487
+ } & {
488
+ listContainer: HTMLUListElement;
489
+ };
490
+ $slots: Readonly<{
491
+ [name: string]: import('vue').Slot<any> | undefined;
492
+ }>;
493
+ $root: import('vue').ComponentPublicInstance | null;
494
+ $parent: import('vue').ComponentPublicInstance | null;
495
+ $host: Element | null;
496
+ $emit: ((event: "item-click", args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => void) & ((event: "item-focused", id: string | null, args_1: MenuItem<any, any> | null) => void) & ((event: "item-hovered", args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => void);
497
+ $el: HTMLUListElement;
498
+ $options: import('vue').ComponentOptionsBase<Readonly<{
499
+ items: Array<MenuItem>;
500
+ menuAriaLabel: string;
501
+ focusedItemIndex?: number | null;
502
+ id?: string;
503
+ maxMenuWidth?: number | null;
504
+ positionRelativeToElement?: HTMLElement | null;
505
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
506
+ }> & Readonly<{
507
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
508
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
509
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
510
+ }>, {
511
+ scrollTo: (element: HTMLLIElement) => void;
512
+ getEnabledListItems: () => {
513
+ element: HTMLLIElement;
514
+ index: number;
515
+ onClick: () => void;
516
+ }[];
517
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
518
+ "item-click": (args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any;
519
+ "item-focused": (id: string | null, args_1: MenuItem<any, any> | null) => any;
520
+ "item-hovered": (args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any;
521
+ }, string, {
522
+ id: string;
523
+ focusedItemIndex: number | null;
524
+ maxMenuWidth: number | null;
525
+ positionRelativeToElement: HTMLElement | null;
526
+ clippingBoundary: import('@floating-ui/dom').Boundary;
527
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
528
+ beforeCreate?: (() => void) | (() => void)[];
529
+ created?: (() => void) | (() => void)[];
530
+ beforeMount?: (() => void) | (() => void)[];
531
+ mounted?: (() => void) | (() => void)[];
532
+ beforeUpdate?: (() => void) | (() => void)[];
533
+ updated?: (() => void) | (() => void)[];
534
+ activated?: (() => void) | (() => void)[];
535
+ deactivated?: (() => void) | (() => void)[];
536
+ beforeDestroy?: (() => void) | (() => void)[];
537
+ beforeUnmount?: (() => void) | (() => void)[];
538
+ destroyed?: (() => void) | (() => void)[];
539
+ unmounted?: (() => void) | (() => void)[];
540
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
541
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
542
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
543
+ };
544
+ $forceUpdate: () => void;
545
+ $nextTick: typeof import('vue').nextTick;
546
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
547
+ } & Readonly<{
548
+ id: string;
549
+ focusedItemIndex: number | null;
550
+ maxMenuWidth: number | null;
551
+ positionRelativeToElement: HTMLElement | null;
552
+ clippingBoundary: import('@floating-ui/dom').Boundary;
553
+ }> & Omit<Readonly<{
554
+ items: Array<MenuItem>;
555
+ menuAriaLabel: string;
556
+ focusedItemIndex?: number | null;
557
+ id?: string;
558
+ maxMenuWidth?: number | null;
559
+ positionRelativeToElement?: HTMLElement | null;
560
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
561
+ }> & Readonly<{
562
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
563
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
564
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
565
+ }>, "scrollTo" | "getEnabledListItems" | ("id" | "focusedItemIndex" | "maxMenuWidth" | "positionRelativeToElement" | "clippingBoundary")> & import('vue').ShallowUnwrapRef<{
566
+ scrollTo: (element: HTMLLIElement) => void;
567
+ getEnabledListItems: () => {
568
+ element: HTMLLIElement;
569
+ index: number;
570
+ onClick: () => void;
571
+ }[];
572
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
573
+ $slots: {
574
+ item?(_: {
575
+ item: MenuItem<any, any>;
576
+ index: number;
577
+ menuId: string;
578
+ menuItemId: (index: number) => string;
579
+ maxMenuWidth: number | null;
580
+ focusedItemIndex: number | null;
581
+ }): any;
582
+ };
583
+ }) | null>;
584
+ openSubmenuItemIndex: import('vue').Ref<number, number>;
585
+ subLevelItems: import('vue').Ref<any, any>;
586
+ currentIndex: Readonly<import('vue').Ref<number | null, number | null>>;
587
+ onItemHovered: (item: MenuItem | null, id: string, index: number | null) => void;
588
+ onKeydown: (event: KeyboardEvent) => void;
589
+ hasSelectedChildItem: (item: MenuItem) => boolean;
590
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
591
+ close: () => any;
592
+ "item-click": (event: MouseEvent, item: MenuItem<any, any>, menuId: string) => any;
593
+ "item-focused": (itemId: string | null, item: MenuItem<any, any> | null) => any;
594
+ "item-hovered": (item: MenuItem<any, any> | null, menuId: string, index: number | null) => any;
595
+ "close-submenu": () => any;
596
+ }, string, {
597
+ disableSpaceToClick: boolean;
598
+ clippingBoundary: import('@floating-ui/dom').Boundary;
599
+ registerKeydown: boolean;
600
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
601
+ beforeCreate?: (() => void) | (() => void)[];
602
+ created?: (() => void) | (() => void)[];
603
+ beforeMount?: (() => void) | (() => void)[];
604
+ mounted?: (() => void) | (() => void)[];
605
+ beforeUpdate?: (() => void) | (() => void)[];
606
+ updated?: (() => void) | (() => void)[];
607
+ activated?: (() => void) | (() => void)[];
608
+ deactivated?: (() => void) | (() => void)[];
609
+ beforeDestroy?: (() => void) | (() => void)[];
610
+ beforeUnmount?: (() => void) | (() => void)[];
611
+ destroyed?: (() => void) | (() => void)[];
612
+ unmounted?: (() => void) | (() => void)[];
613
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
614
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
615
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
616
+ };
617
+ $forceUpdate: () => void;
618
+ $nextTick: typeof import('vue').nextTick;
619
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
620
+ } & Readonly<{
621
+ disableSpaceToClick: boolean;
622
+ clippingBoundary: import('@floating-ui/dom').Boundary;
623
+ registerKeydown: boolean;
624
+ }> & Omit<Readonly<import('node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue').Props> & Readonly<{
625
+ onClose?: (() => any) | undefined;
626
+ "onItem-click"?: ((event: MouseEvent, item: MenuItem<any, any>, menuId: string) => any) | undefined;
627
+ "onItem-focused"?: ((itemId: string | null, item: MenuItem<any, any> | null) => any) | undefined;
628
+ "onItem-hovered"?: ((item: MenuItem<any, any> | null, menuId: string, index: number | null) => any) | undefined;
629
+ "onClose-submenu"?: (() => any) | undefined;
630
+ }>, "onKeydown" | "BaseMenuItem" | "BaseMenuItems" | "currentIndex" | "ArrowNextIcon" | "baseMenuItems" | "openSubmenuItemIndex" | "subLevelItems" | "onItemHovered" | "hasSelectedChildItem" | ("disableSpaceToClick" | "clippingBoundary" | "registerKeydown")> & import('vue').ShallowUnwrapRef<{
631
+ ArrowNextIcon: typeof MenuIcon;
632
+ BaseMenuItem: typeof import('@knime/components').BaseMenuItem;
633
+ BaseMenuItems: typeof import('@knime/components').BaseMenuItems;
634
+ baseMenuItems: import('vue').Ref<({
635
+ $: import('vue').ComponentInternalInstance;
636
+ $data: {};
637
+ $props: {
638
+ readonly items: Array<MenuItem>;
639
+ readonly menuAriaLabel: string;
640
+ readonly focusedItemIndex?: number | null | undefined;
641
+ readonly id?: string | undefined;
642
+ readonly maxMenuWidth?: number | null | undefined;
643
+ readonly positionRelativeToElement?: (HTMLElement | null) | undefined;
644
+ readonly clippingBoundary?: import('@floating-ui/dom').Boundary | undefined;
645
+ readonly "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
646
+ readonly "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
647
+ readonly "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
648
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
649
+ $attrs: {
650
+ [x: string]: unknown;
651
+ };
652
+ $refs: {
653
+ [x: string]: unknown;
654
+ } & {
655
+ listContainer: HTMLUListElement;
656
+ };
657
+ $slots: Readonly<{
658
+ [name: string]: import('vue').Slot<any> | undefined;
659
+ }>;
660
+ $root: import('vue').ComponentPublicInstance | null;
661
+ $parent: import('vue').ComponentPublicInstance | null;
662
+ $host: Element | null;
663
+ $emit: ((event: "item-click", args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => void) & ((event: "item-focused", id: string | null, args_1: MenuItem<any, any> | null) => void) & ((event: "item-hovered", args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => void);
664
+ $el: HTMLUListElement;
665
+ $options: import('vue').ComponentOptionsBase<Readonly<{
666
+ items: Array<MenuItem>;
667
+ menuAriaLabel: string;
668
+ focusedItemIndex?: number | null;
669
+ id?: string;
670
+ maxMenuWidth?: number | null;
671
+ positionRelativeToElement?: HTMLElement | null;
672
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
673
+ }> & Readonly<{
674
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
675
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
676
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
677
+ }>, {
678
+ scrollTo: (element: HTMLLIElement) => void;
679
+ getEnabledListItems: () => {
680
+ element: HTMLLIElement;
681
+ index: number;
682
+ onClick: () => void;
683
+ }[];
684
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
685
+ "item-click": (args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any;
686
+ "item-focused": (id: string | null, args_1: MenuItem<any, any> | null) => any;
687
+ "item-hovered": (args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any;
688
+ }, string, {
689
+ id: string;
690
+ focusedItemIndex: number | null;
691
+ maxMenuWidth: number | null;
692
+ positionRelativeToElement: HTMLElement | null;
693
+ clippingBoundary: import('@floating-ui/dom').Boundary;
694
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
695
+ beforeCreate?: (() => void) | (() => void)[];
696
+ created?: (() => void) | (() => void)[];
697
+ beforeMount?: (() => void) | (() => void)[];
698
+ mounted?: (() => void) | (() => void)[];
699
+ beforeUpdate?: (() => void) | (() => void)[];
700
+ updated?: (() => void) | (() => void)[];
701
+ activated?: (() => void) | (() => void)[];
702
+ deactivated?: (() => void) | (() => void)[];
703
+ beforeDestroy?: (() => void) | (() => void)[];
704
+ beforeUnmount?: (() => void) | (() => void)[];
705
+ destroyed?: (() => void) | (() => void)[];
706
+ unmounted?: (() => void) | (() => void)[];
707
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
708
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
709
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
710
+ };
711
+ $forceUpdate: () => void;
712
+ $nextTick: typeof import('vue').nextTick;
713
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
714
+ } & Readonly<{
715
+ id: string;
716
+ focusedItemIndex: number | null;
717
+ maxMenuWidth: number | null;
718
+ positionRelativeToElement: HTMLElement | null;
719
+ clippingBoundary: import('@floating-ui/dom').Boundary;
720
+ }> & Omit<Readonly<{
721
+ items: Array<MenuItem>;
722
+ menuAriaLabel: string;
723
+ focusedItemIndex?: number | null;
724
+ id?: string;
725
+ maxMenuWidth?: number | null;
726
+ positionRelativeToElement?: HTMLElement | null;
727
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
728
+ }> & Readonly<{
729
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
730
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
731
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
732
+ }>, "scrollTo" | "getEnabledListItems" | ("id" | "focusedItemIndex" | "maxMenuWidth" | "positionRelativeToElement" | "clippingBoundary")> & import('vue').ShallowUnwrapRef<{
733
+ scrollTo: (element: HTMLLIElement) => void;
734
+ getEnabledListItems: () => {
735
+ element: HTMLLIElement;
736
+ index: number;
737
+ onClick: () => void;
738
+ }[];
739
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
740
+ $slots: {
741
+ item?(_: {
742
+ item: MenuItem<any, any>;
743
+ index: number;
744
+ menuId: string;
745
+ menuItemId: (index: number) => string;
746
+ maxMenuWidth: number | null;
747
+ focusedItemIndex: number | null;
748
+ }): any;
749
+ };
750
+ }) | null, ({
751
+ $: import('vue').ComponentInternalInstance;
752
+ $data: {};
753
+ $props: {
754
+ readonly items: Array<MenuItem>;
755
+ readonly menuAriaLabel: string;
756
+ readonly focusedItemIndex?: number | null | undefined;
757
+ readonly id?: string | undefined;
758
+ readonly maxMenuWidth?: number | null | undefined;
759
+ readonly positionRelativeToElement?: (HTMLElement | null) | undefined;
760
+ readonly clippingBoundary?: import('@floating-ui/dom').Boundary | undefined;
761
+ readonly "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
762
+ readonly "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
763
+ readonly "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
764
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
765
+ $attrs: {
766
+ [x: string]: unknown;
767
+ };
768
+ $refs: {
769
+ [x: string]: unknown;
770
+ } & {
771
+ listContainer: HTMLUListElement;
772
+ };
773
+ $slots: Readonly<{
774
+ [name: string]: import('vue').Slot<any> | undefined;
775
+ }>;
776
+ $root: import('vue').ComponentPublicInstance | null;
777
+ $parent: import('vue').ComponentPublicInstance | null;
778
+ $host: Element | null;
779
+ $emit: ((event: "item-click", args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => void) & ((event: "item-focused", id: string | null, args_1: MenuItem<any, any> | null) => void) & ((event: "item-hovered", args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => void);
780
+ $el: HTMLUListElement;
781
+ $options: import('vue').ComponentOptionsBase<Readonly<{
782
+ items: Array<MenuItem>;
783
+ menuAriaLabel: string;
784
+ focusedItemIndex?: number | null;
785
+ id?: string;
786
+ maxMenuWidth?: number | null;
787
+ positionRelativeToElement?: HTMLElement | null;
788
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
789
+ }> & Readonly<{
790
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
791
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
792
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
793
+ }>, {
794
+ scrollTo: (element: HTMLLIElement) => void;
795
+ getEnabledListItems: () => {
796
+ element: HTMLLIElement;
797
+ index: number;
798
+ onClick: () => void;
799
+ }[];
800
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
801
+ "item-click": (args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any;
802
+ "item-focused": (id: string | null, args_1: MenuItem<any, any> | null) => any;
803
+ "item-hovered": (args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any;
804
+ }, string, {
805
+ id: string;
806
+ focusedItemIndex: number | null;
807
+ maxMenuWidth: number | null;
808
+ positionRelativeToElement: HTMLElement | null;
809
+ clippingBoundary: import('@floating-ui/dom').Boundary;
810
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
811
+ beforeCreate?: (() => void) | (() => void)[];
812
+ created?: (() => void) | (() => void)[];
813
+ beforeMount?: (() => void) | (() => void)[];
814
+ mounted?: (() => void) | (() => void)[];
815
+ beforeUpdate?: (() => void) | (() => void)[];
816
+ updated?: (() => void) | (() => void)[];
817
+ activated?: (() => void) | (() => void)[];
818
+ deactivated?: (() => void) | (() => void)[];
819
+ beforeDestroy?: (() => void) | (() => void)[];
820
+ beforeUnmount?: (() => void) | (() => void)[];
821
+ destroyed?: (() => void) | (() => void)[];
822
+ unmounted?: (() => void) | (() => void)[];
823
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
824
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
825
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
826
+ };
827
+ $forceUpdate: () => void;
828
+ $nextTick: typeof import('vue').nextTick;
829
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
830
+ } & Readonly<{
831
+ id: string;
832
+ focusedItemIndex: number | null;
833
+ maxMenuWidth: number | null;
834
+ positionRelativeToElement: HTMLElement | null;
835
+ clippingBoundary: import('@floating-ui/dom').Boundary;
836
+ }> & Omit<Readonly<{
837
+ items: Array<MenuItem>;
838
+ menuAriaLabel: string;
839
+ focusedItemIndex?: number | null;
840
+ id?: string;
841
+ maxMenuWidth?: number | null;
842
+ positionRelativeToElement?: HTMLElement | null;
843
+ clippingBoundary?: import('@floating-ui/dom').Boundary;
844
+ }> & Readonly<{
845
+ "onItem-click"?: ((args_0: MouseEvent, args_1: MenuItem<any, any>, args_2: string) => any) | undefined;
846
+ "onItem-focused"?: ((id: string | null, args_1: MenuItem<any, any> | null) => any) | undefined;
847
+ "onItem-hovered"?: ((args_0: MenuItem<any, any> | null, args_1: string, args_2: number | null) => any) | undefined;
848
+ }>, "scrollTo" | "getEnabledListItems" | ("id" | "focusedItemIndex" | "maxMenuWidth" | "positionRelativeToElement" | "clippingBoundary")> & import('vue').ShallowUnwrapRef<{
849
+ scrollTo: (element: HTMLLIElement) => void;
850
+ getEnabledListItems: () => {
851
+ element: HTMLLIElement;
852
+ index: number;
853
+ onClick: () => void;
854
+ }[];
855
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
856
+ $slots: {
857
+ item?(_: {
858
+ item: MenuItem<any, any>;
859
+ index: number;
860
+ menuId: string;
861
+ menuItemId: (index: number) => string;
862
+ maxMenuWidth: number | null;
863
+ focusedItemIndex: number | null;
864
+ }): any;
865
+ };
866
+ }) | null>;
867
+ openSubmenuItemIndex: import('vue').Ref<number, number>;
868
+ subLevelItems: import('vue').Ref<any, any>;
869
+ currentIndex: Readonly<import('vue').Ref<number | null, number | null>>;
870
+ onItemHovered: (item: MenuItem | null, id: string, index: number | null) => void;
871
+ onKeydown: (event: KeyboardEvent) => void;
872
+ hasSelectedChildItem: (item: MenuItem) => boolean;
873
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
874
+ $slots: {};
875
+ }) | null;
876
+ }, HTMLUListElement>;
877
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
878
+ MenuIcon: import('vue').FunctionalComponent<import('vue').SVGAttributes, {}, any, {}>;
879
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
880
  export default _default;