@yamada-ui/menu 1.1.3 → 1.1.4-dev-20240507052429

Sign up to get free protection for your applications and to get access to all the features.
package/dist/menu.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { FC, Dispatch, SetStateAction, RefObject, MutableRefObject } from 'react';
3
+ import * as _yamada_ui_use_descendant from '@yamada-ui/use-descendant';
3
4
  import { ThemeProps, CSSUIObject } from '@yamada-ui/core';
4
5
  import { PopoverProps } from '@yamada-ui/popover';
5
6
 
@@ -7,2106 +8,52 @@ declare const useMenuDescendantsContext: () => {
7
8
  register: (nodeOrOptions: HTMLElement | {
8
9
  disabled?: boolean | undefined;
9
10
  id?: string | undefined;
10
- filter?: ((value: {
11
- disabled?: boolean | undefined;
12
- id?: string | undefined;
13
- filter?: ((value: any & {
14
- node: {};
15
- index: number;
16
- }, index: number, array: (any & {
17
- node: {};
18
- index: number;
19
- })[]) => boolean) | undefined;
20
- } & {
21
- node: HTMLElement;
22
- index: number;
23
- }, index: number, array: ({
24
- disabled?: boolean | undefined;
25
- id?: string | undefined;
26
- filter?: ((value: any & {
27
- node: {};
28
- index: number;
29
- }, index: number, array: (any & {
30
- node: {};
31
- index: number;
32
- })[]) => boolean) | undefined;
33
- } & {
34
- node: HTMLElement;
35
- index: number;
36
- })[]) => boolean) | undefined;
11
+ filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
37
12
  } | null) => void | ((node: HTMLElement | null) => void);
38
13
  unregister: (node: HTMLElement) => void;
39
14
  destroy: () => void;
40
- count: (filter?: ((value: {
41
- disabled?: boolean | undefined;
42
- id?: string | undefined;
43
- filter?: ((value: any & {
44
- node: {};
45
- index: number;
46
- }, index: number, array: (any & {
47
- node: {};
48
- index: number;
49
- })[]) => boolean) | undefined;
50
- } & {
51
- node: HTMLElement;
52
- index: number;
53
- }, index: number, array: ({
54
- disabled?: boolean | undefined;
55
- id?: string | undefined;
56
- filter?: ((value: any & {
57
- node: {};
58
- index: number;
59
- }, index: number, array: (any & {
60
- node: {};
61
- index: number;
62
- })[]) => boolean) | undefined;
63
- } & {
64
- node: HTMLElement;
65
- index: number;
66
- })[]) => boolean) | undefined) => number;
67
- values: (filter?: ((value: {
68
- disabled?: boolean | undefined;
69
- id?: string | undefined;
70
- filter?: ((value: any & {
71
- node: {};
72
- index: number;
73
- }, index: number, array: (any & {
74
- node: {};
75
- index: number;
76
- })[]) => boolean) | undefined;
77
- } & {
78
- node: HTMLElement;
79
- index: number;
80
- }, index: number, array: ({
81
- disabled?: boolean | undefined;
82
- id?: string | undefined;
83
- filter?: ((value: any & {
84
- node: {};
85
- index: number;
86
- }, index: number, array: (any & {
87
- node: {};
88
- index: number;
89
- })[]) => boolean) | undefined;
90
- } & {
91
- node: HTMLElement;
92
- index: number;
93
- })[]) => boolean) | undefined) => ({
94
- disabled?: boolean | undefined;
95
- id?: string | undefined;
96
- filter?: ((value: any & {
97
- node: {};
98
- index: number;
99
- }, index: number, array: (any & {
100
- node: {};
101
- index: number;
102
- })[]) => boolean) | undefined;
103
- } & {
104
- node: HTMLElement;
105
- index: number;
106
- })[];
107
- value: (index: number, filter?: ((value: {
108
- disabled?: boolean | undefined;
109
- id?: string | undefined;
110
- filter?: ((value: any & {
111
- node: {};
112
- index: number;
113
- }, index: number, array: (any & {
114
- node: {};
115
- index: number;
116
- })[]) => boolean) | undefined;
117
- } & {
118
- node: HTMLElement;
119
- index: number;
120
- }, index: number, array: ({
121
- disabled?: boolean | undefined;
122
- id?: string | undefined;
123
- filter?: ((value: any & {
124
- node: {};
125
- index: number;
126
- }, index: number, array: (any & {
127
- node: {};
128
- index: number;
129
- })[]) => boolean) | undefined;
130
- } & {
131
- node: HTMLElement;
132
- index: number;
133
- })[]) => boolean) | undefined) => ({
134
- disabled?: boolean | undefined;
135
- id?: string | undefined;
136
- filter?: ((value: any & {
137
- node: {};
138
- index: number;
139
- }, index: number, array: (any & {
140
- node: {};
141
- index: number;
142
- })[]) => boolean) | undefined;
143
- } & {
144
- node: HTMLElement;
145
- index: number;
146
- }) | undefined;
15
+ count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
16
+ values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
17
+ value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
147
18
  indexOf: (node: HTMLElement | null) => number;
148
- firstValue: (filter?: ((value: {
149
- disabled?: boolean | undefined;
150
- id?: string | undefined;
151
- filter?: ((value: any & {
152
- node: {};
153
- index: number;
154
- }, index: number, array: (any & {
155
- node: {};
156
- index: number;
157
- })[]) => boolean) | undefined;
158
- } & {
159
- node: HTMLElement;
160
- index: number;
161
- }, index: number, array: ({
162
- disabled?: boolean | undefined;
163
- id?: string | undefined;
164
- filter?: ((value: any & {
165
- node: {};
166
- index: number;
167
- }, index: number, array: (any & {
168
- node: {};
169
- index: number;
170
- })[]) => boolean) | undefined;
171
- } & {
172
- node: HTMLElement;
173
- index: number;
174
- })[]) => boolean) | undefined) => ({
175
- disabled?: boolean | undefined;
176
- id?: string | undefined;
177
- filter?: ((value: any & {
178
- node: {};
179
- index: number;
180
- }, index: number, array: (any & {
181
- node: {};
182
- index: number;
183
- })[]) => boolean) | undefined;
184
- } & {
185
- node: HTMLElement;
186
- index: number;
187
- }) | undefined;
188
- lastValue: (filter?: ((value: {
189
- disabled?: boolean | undefined;
190
- id?: string | undefined;
191
- filter?: ((value: any & {
192
- node: {};
193
- index: number;
194
- }, index: number, array: (any & {
195
- node: {};
196
- index: number;
197
- })[]) => boolean) | undefined;
198
- } & {
199
- node: HTMLElement;
200
- index: number;
201
- }, index: number, array: ({
202
- disabled?: boolean | undefined;
203
- id?: string | undefined;
204
- filter?: ((value: any & {
205
- node: {};
206
- index: number;
207
- }, index: number, array: (any & {
208
- node: {};
209
- index: number;
210
- })[]) => boolean) | undefined;
211
- } & {
212
- node: HTMLElement;
213
- index: number;
214
- })[]) => boolean) | undefined) => ({
215
- disabled?: boolean | undefined;
216
- id?: string | undefined;
217
- filter?: ((value: any & {
218
- node: {};
219
- index: number;
220
- }, index: number, array: (any & {
221
- node: {};
222
- index: number;
223
- })[]) => boolean) | undefined;
224
- } & {
225
- node: HTMLElement;
226
- index: number;
227
- }) | undefined;
228
- prevValue: (index: number, filter?: ((value: {
229
- disabled?: boolean | undefined;
230
- id?: string | undefined;
231
- filter?: ((value: any & {
232
- node: {};
233
- index: number;
234
- }, index: number, array: (any & {
235
- node: {};
236
- index: number;
237
- })[]) => boolean) | undefined;
238
- } & {
239
- node: HTMLElement;
240
- index: number;
241
- }, index: number, array: ({
242
- disabled?: boolean | undefined;
243
- id?: string | undefined;
244
- filter?: ((value: any & {
245
- node: {};
246
- index: number;
247
- }, index: number, array: (any & {
248
- node: {};
249
- index: number;
250
- })[]) => boolean) | undefined;
251
- } & {
252
- node: HTMLElement;
253
- index: number;
254
- })[]) => boolean) | undefined, loop?: boolean) => ({
255
- disabled?: boolean | undefined;
256
- id?: string | undefined;
257
- filter?: ((value: any & {
258
- node: {};
259
- index: number;
260
- }, index: number, array: (any & {
261
- node: {};
262
- index: number;
263
- })[]) => boolean) | undefined;
264
- } & {
265
- node: HTMLElement;
266
- index: number;
267
- }) | undefined;
268
- nextValue: (index: number, filter?: ((value: {
269
- disabled?: boolean | undefined;
270
- id?: string | undefined;
271
- filter?: ((value: any & {
272
- node: {};
273
- index: number;
274
- }, index: number, array: (any & {
275
- node: {};
276
- index: number;
277
- })[]) => boolean) | undefined;
278
- } & {
279
- node: HTMLElement;
280
- index: number;
281
- }, index: number, array: ({
282
- disabled?: boolean | undefined;
283
- id?: string | undefined;
284
- filter?: ((value: any & {
285
- node: {};
286
- index: number;
287
- }, index: number, array: (any & {
288
- node: {};
289
- index: number;
290
- })[]) => boolean) | undefined;
291
- } & {
292
- node: HTMLElement;
293
- index: number;
294
- })[]) => boolean) | undefined, loop?: boolean) => ({
295
- disabled?: boolean | undefined;
296
- id?: string | undefined;
297
- filter?: ((value: any & {
298
- node: {};
299
- index: number;
300
- }, index: number, array: (any & {
301
- node: {};
302
- index: number;
303
- })[]) => boolean) | undefined;
304
- } & {
305
- node: HTMLElement;
306
- index: number;
307
- }) | undefined;
308
- enabledCount: (filter?: ((value: {
309
- disabled?: boolean | undefined;
310
- id?: string | undefined;
311
- filter?: ((value: any & {
312
- node: {};
313
- index: number;
314
- }, index: number, array: (any & {
315
- node: {};
316
- index: number;
317
- })[]) => boolean) | undefined;
318
- } & {
319
- node: HTMLElement;
320
- index: number;
321
- }, index: number, array: ({
322
- disabled?: boolean | undefined;
323
- id?: string | undefined;
324
- filter?: ((value: any & {
325
- node: {};
326
- index: number;
327
- }, index: number, array: (any & {
328
- node: {};
329
- index: number;
330
- })[]) => boolean) | undefined;
331
- } & {
332
- node: HTMLElement;
333
- index: number;
334
- })[]) => boolean) | undefined) => number;
335
- enabledValues: (filter?: ((value: {
336
- disabled?: boolean | undefined;
337
- id?: string | undefined;
338
- filter?: ((value: any & {
339
- node: {};
340
- index: number;
341
- }, index: number, array: (any & {
342
- node: {};
343
- index: number;
344
- })[]) => boolean) | undefined;
345
- } & {
346
- node: HTMLElement;
347
- index: number;
348
- }, index: number, array: ({
349
- disabled?: boolean | undefined;
350
- id?: string | undefined;
351
- filter?: ((value: any & {
352
- node: {};
353
- index: number;
354
- }, index: number, array: (any & {
355
- node: {};
356
- index: number;
357
- })[]) => boolean) | undefined;
358
- } & {
359
- node: HTMLElement;
360
- index: number;
361
- })[]) => boolean) | undefined) => ({
362
- disabled?: boolean | undefined;
363
- id?: string | undefined;
364
- filter?: ((value: any & {
365
- node: {};
366
- index: number;
367
- }, index: number, array: (any & {
368
- node: {};
369
- index: number;
370
- })[]) => boolean) | undefined;
371
- } & {
372
- node: HTMLElement;
373
- index: number;
374
- })[];
375
- enabledValue: (index: number, filter?: ((value: {
376
- disabled?: boolean | undefined;
377
- id?: string | undefined;
378
- filter?: ((value: any & {
379
- node: {};
380
- index: number;
381
- }, index: number, array: (any & {
382
- node: {};
383
- index: number;
384
- })[]) => boolean) | undefined;
385
- } & {
386
- node: HTMLElement;
387
- index: number;
388
- }, index: number, array: ({
389
- disabled?: boolean | undefined;
390
- id?: string | undefined;
391
- filter?: ((value: any & {
392
- node: {};
393
- index: number;
394
- }, index: number, array: (any & {
395
- node: {};
396
- index: number;
397
- })[]) => boolean) | undefined;
398
- } & {
399
- node: HTMLElement;
400
- index: number;
401
- })[]) => boolean) | undefined) => ({
402
- disabled?: boolean | undefined;
403
- id?: string | undefined;
404
- filter?: ((value: any & {
405
- node: {};
406
- index: number;
407
- }, index: number, array: (any & {
408
- node: {};
409
- index: number;
410
- })[]) => boolean) | undefined;
411
- } & {
412
- node: HTMLElement;
413
- index: number;
414
- }) | undefined;
415
- enabledIndexOf: (node: HTMLElement | null, filter?: ((value: {
416
- disabled?: boolean | undefined;
417
- id?: string | undefined;
418
- filter?: ((value: any & {
419
- node: {};
420
- index: number;
421
- }, index: number, array: (any & {
422
- node: {};
423
- index: number;
424
- })[]) => boolean) | undefined;
425
- } & {
426
- node: HTMLElement;
427
- index: number;
428
- }, index: number, array: ({
429
- disabled?: boolean | undefined;
430
- id?: string | undefined;
431
- filter?: ((value: any & {
432
- node: {};
433
- index: number;
434
- }, index: number, array: (any & {
435
- node: {};
436
- index: number;
437
- })[]) => boolean) | undefined;
438
- } & {
439
- node: HTMLElement;
440
- index: number;
441
- })[]) => boolean) | undefined) => number;
442
- enabledFirstValue: (filter?: ((value: {
443
- disabled?: boolean | undefined;
444
- id?: string | undefined;
445
- filter?: ((value: any & {
446
- node: {};
447
- index: number;
448
- }, index: number, array: (any & {
449
- node: {};
450
- index: number;
451
- })[]) => boolean) | undefined;
452
- } & {
453
- node: HTMLElement;
454
- index: number;
455
- }, index: number, array: ({
456
- disabled?: boolean | undefined;
457
- id?: string | undefined;
458
- filter?: ((value: any & {
459
- node: {};
460
- index: number;
461
- }, index: number, array: (any & {
462
- node: {};
463
- index: number;
464
- })[]) => boolean) | undefined;
465
- } & {
466
- node: HTMLElement;
467
- index: number;
468
- })[]) => boolean) | undefined) => ({
469
- disabled?: boolean | undefined;
470
- id?: string | undefined;
471
- filter?: ((value: any & {
472
- node: {};
473
- index: number;
474
- }, index: number, array: (any & {
475
- node: {};
476
- index: number;
477
- })[]) => boolean) | undefined;
478
- } & {
479
- node: HTMLElement;
480
- index: number;
481
- }) | undefined;
482
- enabledLastValue: (filter?: ((value: {
483
- disabled?: boolean | undefined;
484
- id?: string | undefined;
485
- filter?: ((value: any & {
486
- node: {};
487
- index: number;
488
- }, index: number, array: (any & {
489
- node: {};
490
- index: number;
491
- })[]) => boolean) | undefined;
492
- } & {
493
- node: HTMLElement;
494
- index: number;
495
- }, index: number, array: ({
496
- disabled?: boolean | undefined;
497
- id?: string | undefined;
498
- filter?: ((value: any & {
499
- node: {};
500
- index: number;
501
- }, index: number, array: (any & {
502
- node: {};
503
- index: number;
504
- })[]) => boolean) | undefined;
505
- } & {
506
- node: HTMLElement;
507
- index: number;
508
- })[]) => boolean) | undefined) => ({
509
- disabled?: boolean | undefined;
510
- id?: string | undefined;
511
- filter?: ((value: any & {
512
- node: {};
513
- index: number;
514
- }, index: number, array: (any & {
515
- node: {};
516
- index: number;
517
- })[]) => boolean) | undefined;
518
- } & {
519
- node: HTMLElement;
520
- index: number;
521
- }) | undefined;
522
- enabledPrevValue: (index: number, filter?: ((value: {
523
- disabled?: boolean | undefined;
524
- id?: string | undefined;
525
- filter?: ((value: any & {
526
- node: {};
527
- index: number;
528
- }, index: number, array: (any & {
529
- node: {};
530
- index: number;
531
- })[]) => boolean) | undefined;
532
- } & {
533
- node: HTMLElement;
534
- index: number;
535
- }, index: number, array: ({
536
- disabled?: boolean | undefined;
537
- id?: string | undefined;
538
- filter?: ((value: any & {
539
- node: {};
540
- index: number;
541
- }, index: number, array: (any & {
542
- node: {};
543
- index: number;
544
- })[]) => boolean) | undefined;
545
- } & {
546
- node: HTMLElement;
547
- index: number;
548
- })[]) => boolean) | undefined, loop?: boolean) => ({
549
- disabled?: boolean | undefined;
550
- id?: string | undefined;
551
- filter?: ((value: any & {
552
- node: {};
553
- index: number;
554
- }, index: number, array: (any & {
555
- node: {};
556
- index: number;
557
- })[]) => boolean) | undefined;
558
- } & {
559
- node: HTMLElement;
560
- index: number;
561
- }) | undefined;
562
- enabledNextValue: (index: number, filter?: ((value: {
563
- disabled?: boolean | undefined;
564
- id?: string | undefined;
565
- filter?: ((value: any & {
566
- node: {};
567
- index: number;
568
- }, index: number, array: (any & {
569
- node: {};
570
- index: number;
571
- })[]) => boolean) | undefined;
572
- } & {
573
- node: HTMLElement;
574
- index: number;
575
- }, index: number, array: ({
576
- disabled?: boolean | undefined;
577
- id?: string | undefined;
578
- filter?: ((value: any & {
579
- node: {};
580
- index: number;
581
- }, index: number, array: (any & {
582
- node: {};
583
- index: number;
584
- })[]) => boolean) | undefined;
585
- } & {
586
- node: HTMLElement;
587
- index: number;
588
- })[]) => boolean) | undefined, loop?: boolean) => ({
589
- disabled?: boolean | undefined;
590
- id?: string | undefined;
591
- filter?: ((value: any & {
592
- node: {};
593
- index: number;
594
- }, index: number, array: (any & {
595
- node: {};
596
- index: number;
597
- })[]) => boolean) | undefined;
598
- } & {
599
- node: HTMLElement;
600
- index: number;
601
- }) | undefined;
19
+ firstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
20
+ lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
21
+ prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
22
+ nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
23
+ enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
24
+ enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
25
+ enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
26
+ enabledIndexOf: (node: HTMLElement | null, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
27
+ enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
28
+ enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
29
+ enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
30
+ enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
602
31
  };
603
32
  declare const useMenuDescendant: (options?: {
604
33
  disabled?: boolean | undefined;
605
34
  id?: string | undefined;
606
- filter?: ((value: {
607
- disabled?: boolean | undefined;
608
- id?: string | undefined;
609
- filter?: ((value: any & {
610
- node: {};
611
- index: number;
612
- }, index: number, array: (any & {
613
- node: {};
614
- index: number;
615
- })[]) => boolean) | undefined;
616
- } & {
617
- node: HTMLElement;
618
- index: number;
619
- }, index: number, array: ({
620
- disabled?: boolean | undefined;
621
- id?: string | undefined;
622
- filter?: ((value: any & {
623
- node: {};
624
- index: number;
625
- }, index: number, array: (any & {
626
- node: {};
627
- index: number;
628
- })[]) => boolean) | undefined;
629
- } & {
630
- node: HTMLElement;
631
- index: number;
632
- })[]) => boolean) | undefined;
35
+ filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
633
36
  } | undefined) => {
634
37
  descendants: {
635
- register: (nodeOrOptions: HTMLElement | (Record<string, any> & {
636
- disabled?: boolean | undefined;
637
- id?: string | undefined;
638
- filter?: ((value: {
639
- disabled?: boolean | undefined;
640
- id?: string | undefined;
641
- filter?: ((value: {
642
- disabled?: boolean | undefined;
643
- id?: string | undefined;
644
- filter?: ((value: any & {
645
- node: {};
646
- index: number;
647
- }, index: number, array: (any & {
648
- node: {};
649
- index: number;
650
- })[]) => boolean) | undefined;
651
- } & {
652
- node: Record<string, any>;
653
- index: number;
654
- }, index: number, array: ({
655
- disabled?: boolean | undefined;
656
- id?: string | undefined;
657
- filter?: ((value: any & {
658
- node: {};
659
- index: number;
660
- }, index: number, array: (any & {
661
- node: {};
662
- index: number;
663
- })[]) => boolean) | undefined;
664
- } & {
665
- node: Record<string, any>;
666
- index: number;
667
- })[]) => boolean) | undefined;
668
- } & {
669
- node: HTMLElement;
670
- index: number;
671
- }, index: number, array: ({
672
- disabled?: boolean | undefined;
673
- id?: string | undefined;
674
- filter?: ((value: {
675
- disabled?: boolean | undefined;
676
- id?: string | undefined;
677
- filter?: ((value: any & {
678
- node: {};
679
- index: number;
680
- }, index: number, array: (any & {
681
- node: {};
682
- index: number;
683
- })[]) => boolean) | undefined;
684
- } & {
685
- node: Record<string, any>;
686
- index: number;
687
- }, index: number, array: ({
688
- disabled?: boolean | undefined;
689
- id?: string | undefined;
690
- filter?: ((value: any & {
691
- node: {};
692
- index: number;
693
- }, index: number, array: (any & {
694
- node: {};
695
- index: number;
696
- })[]) => boolean) | undefined;
697
- } & {
698
- node: Record<string, any>;
699
- index: number;
700
- })[]) => boolean) | undefined;
701
- } & {
702
- node: HTMLElement;
703
- index: number;
704
- })[]) => boolean) | undefined;
705
- }) | null) => void | ((node: HTMLElement | null) => void);
38
+ register: (nodeOrOptions: HTMLElement | _yamada_ui_use_descendant.DescendantOptions<HTMLElement, Record<string, any>> | null) => void | ((node: HTMLElement | null) => void);
706
39
  unregister: (node: HTMLElement) => void;
707
40
  destroy: () => void;
708
- count: (filter?: ((value: {
709
- disabled?: boolean | undefined;
710
- id?: string | undefined;
711
- filter?: ((value: {
712
- disabled?: boolean | undefined;
713
- id?: string | undefined;
714
- filter?: ((value: any & {
715
- node: {};
716
- index: number;
717
- }, index: number, array: (any & {
718
- node: {};
719
- index: number;
720
- })[]) => boolean) | undefined;
721
- } & {
722
- node: Record<string, any>;
723
- index: number;
724
- }, index: number, array: ({
725
- disabled?: boolean | undefined;
726
- id?: string | undefined;
727
- filter?: ((value: any & {
728
- node: {};
729
- index: number;
730
- }, index: number, array: (any & {
731
- node: {};
732
- index: number;
733
- })[]) => boolean) | undefined;
734
- } & {
735
- node: Record<string, any>;
736
- index: number;
737
- })[]) => boolean) | undefined;
738
- } & {
739
- node: HTMLElement;
740
- index: number;
741
- }, index: number, array: ({
742
- disabled?: boolean | undefined;
743
- id?: string | undefined;
744
- filter?: ((value: {
745
- disabled?: boolean | undefined;
746
- id?: string | undefined;
747
- filter?: ((value: any & {
748
- node: {};
749
- index: number;
750
- }, index: number, array: (any & {
751
- node: {};
752
- index: number;
753
- })[]) => boolean) | undefined;
754
- } & {
755
- node: Record<string, any>;
756
- index: number;
757
- }, index: number, array: ({
758
- disabled?: boolean | undefined;
759
- id?: string | undefined;
760
- filter?: ((value: any & {
761
- node: {};
762
- index: number;
763
- }, index: number, array: (any & {
764
- node: {};
765
- index: number;
766
- })[]) => boolean) | undefined;
767
- } & {
768
- node: Record<string, any>;
769
- index: number;
770
- })[]) => boolean) | undefined;
771
- } & {
772
- node: HTMLElement;
773
- index: number;
774
- })[]) => boolean) | undefined) => number;
775
- values: (filter?: ((value: {
776
- disabled?: boolean | undefined;
777
- id?: string | undefined;
778
- filter?: ((value: {
779
- disabled?: boolean | undefined;
780
- id?: string | undefined;
781
- filter?: ((value: any & {
782
- node: {};
783
- index: number;
784
- }, index: number, array: (any & {
785
- node: {};
786
- index: number;
787
- })[]) => boolean) | undefined;
788
- } & {
789
- node: Record<string, any>;
790
- index: number;
791
- }, index: number, array: ({
792
- disabled?: boolean | undefined;
793
- id?: string | undefined;
794
- filter?: ((value: any & {
795
- node: {};
796
- index: number;
797
- }, index: number, array: (any & {
798
- node: {};
799
- index: number;
800
- })[]) => boolean) | undefined;
801
- } & {
802
- node: Record<string, any>;
803
- index: number;
804
- })[]) => boolean) | undefined;
805
- } & {
806
- node: HTMLElement;
807
- index: number;
808
- }, index: number, array: ({
809
- disabled?: boolean | undefined;
810
- id?: string | undefined;
811
- filter?: ((value: {
812
- disabled?: boolean | undefined;
813
- id?: string | undefined;
814
- filter?: ((value: any & {
815
- node: {};
816
- index: number;
817
- }, index: number, array: (any & {
818
- node: {};
819
- index: number;
820
- })[]) => boolean) | undefined;
821
- } & {
822
- node: Record<string, any>;
823
- index: number;
824
- }, index: number, array: ({
825
- disabled?: boolean | undefined;
826
- id?: string | undefined;
827
- filter?: ((value: any & {
828
- node: {};
829
- index: number;
830
- }, index: number, array: (any & {
831
- node: {};
832
- index: number;
833
- })[]) => boolean) | undefined;
834
- } & {
835
- node: Record<string, any>;
836
- index: number;
837
- })[]) => boolean) | undefined;
838
- } & {
839
- node: HTMLElement;
840
- index: number;
841
- })[]) => boolean) | undefined) => ({
842
- disabled?: boolean | undefined;
843
- id?: string | undefined;
844
- filter?: ((value: {
845
- disabled?: boolean | undefined;
846
- id?: string | undefined;
847
- filter?: ((value: any & {
848
- node: {};
849
- index: number;
850
- }, index: number, array: (any & {
851
- node: {};
852
- index: number;
853
- })[]) => boolean) | undefined;
854
- } & {
855
- node: Record<string, any>;
856
- index: number;
857
- }, index: number, array: ({
858
- disabled?: boolean | undefined;
859
- id?: string | undefined;
860
- filter?: ((value: any & {
861
- node: {};
862
- index: number;
863
- }, index: number, array: (any & {
864
- node: {};
865
- index: number;
866
- })[]) => boolean) | undefined;
867
- } & {
868
- node: Record<string, any>;
869
- index: number;
870
- })[]) => boolean) | undefined;
871
- } & {
872
- node: HTMLElement;
873
- index: number;
874
- })[];
875
- value: (index: number, filter?: ((value: {
876
- disabled?: boolean | undefined;
877
- id?: string | undefined;
878
- filter?: ((value: {
879
- disabled?: boolean | undefined;
880
- id?: string | undefined;
881
- filter?: ((value: any & {
882
- node: {};
883
- index: number;
884
- }, index: number, array: (any & {
885
- node: {};
886
- index: number;
887
- })[]) => boolean) | undefined;
888
- } & {
889
- node: Record<string, any>;
890
- index: number;
891
- }, index: number, array: ({
892
- disabled?: boolean | undefined;
893
- id?: string | undefined;
894
- filter?: ((value: any & {
895
- node: {};
896
- index: number;
897
- }, index: number, array: (any & {
898
- node: {};
899
- index: number;
900
- })[]) => boolean) | undefined;
901
- } & {
902
- node: Record<string, any>;
903
- index: number;
904
- })[]) => boolean) | undefined;
905
- } & {
906
- node: HTMLElement;
907
- index: number;
908
- }, index: number, array: ({
909
- disabled?: boolean | undefined;
910
- id?: string | undefined;
911
- filter?: ((value: {
912
- disabled?: boolean | undefined;
913
- id?: string | undefined;
914
- filter?: ((value: any & {
915
- node: {};
916
- index: number;
917
- }, index: number, array: (any & {
918
- node: {};
919
- index: number;
920
- })[]) => boolean) | undefined;
921
- } & {
922
- node: Record<string, any>;
923
- index: number;
924
- }, index: number, array: ({
925
- disabled?: boolean | undefined;
926
- id?: string | undefined;
927
- filter?: ((value: any & {
928
- node: {};
929
- index: number;
930
- }, index: number, array: (any & {
931
- node: {};
932
- index: number;
933
- })[]) => boolean) | undefined;
934
- } & {
935
- node: Record<string, any>;
936
- index: number;
937
- })[]) => boolean) | undefined;
938
- } & {
939
- node: HTMLElement;
940
- index: number;
941
- })[]) => boolean) | undefined) => ({
942
- disabled?: boolean | undefined;
943
- id?: string | undefined;
944
- filter?: ((value: {
945
- disabled?: boolean | undefined;
946
- id?: string | undefined;
947
- filter?: ((value: any & {
948
- node: {};
949
- index: number;
950
- }, index: number, array: (any & {
951
- node: {};
952
- index: number;
953
- })[]) => boolean) | undefined;
954
- } & {
955
- node: Record<string, any>;
956
- index: number;
957
- }, index: number, array: ({
958
- disabled?: boolean | undefined;
959
- id?: string | undefined;
960
- filter?: ((value: any & {
961
- node: {};
962
- index: number;
963
- }, index: number, array: (any & {
964
- node: {};
965
- index: number;
966
- })[]) => boolean) | undefined;
967
- } & {
968
- node: Record<string, any>;
969
- index: number;
970
- })[]) => boolean) | undefined;
971
- } & {
972
- node: HTMLElement;
973
- index: number;
974
- }) | undefined;
41
+ count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => number;
42
+ values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>>[];
43
+ value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
975
44
  indexOf: (node: HTMLElement | null) => number;
976
- firstValue: (filter?: ((value: {
977
- disabled?: boolean | undefined;
978
- id?: string | undefined;
979
- filter?: ((value: {
980
- disabled?: boolean | undefined;
981
- id?: string | undefined;
982
- filter?: ((value: any & {
983
- node: {};
984
- index: number;
985
- }, index: number, array: (any & {
986
- node: {};
987
- index: number;
988
- })[]) => boolean) | undefined;
989
- } & {
990
- node: Record<string, any>;
991
- index: number;
992
- }, index: number, array: ({
993
- disabled?: boolean | undefined;
994
- id?: string | undefined;
995
- filter?: ((value: any & {
996
- node: {};
997
- index: number;
998
- }, index: number, array: (any & {
999
- node: {};
1000
- index: number;
1001
- })[]) => boolean) | undefined;
1002
- } & {
1003
- node: Record<string, any>;
1004
- index: number;
1005
- })[]) => boolean) | undefined;
1006
- } & {
1007
- node: HTMLElement;
1008
- index: number;
1009
- }, index: number, array: ({
1010
- disabled?: boolean | undefined;
1011
- id?: string | undefined;
1012
- filter?: ((value: {
1013
- disabled?: boolean | undefined;
1014
- id?: string | undefined;
1015
- filter?: ((value: any & {
1016
- node: {};
1017
- index: number;
1018
- }, index: number, array: (any & {
1019
- node: {};
1020
- index: number;
1021
- })[]) => boolean) | undefined;
1022
- } & {
1023
- node: Record<string, any>;
1024
- index: number;
1025
- }, index: number, array: ({
1026
- disabled?: boolean | undefined;
1027
- id?: string | undefined;
1028
- filter?: ((value: any & {
1029
- node: {};
1030
- index: number;
1031
- }, index: number, array: (any & {
1032
- node: {};
1033
- index: number;
1034
- })[]) => boolean) | undefined;
1035
- } & {
1036
- node: Record<string, any>;
1037
- index: number;
1038
- })[]) => boolean) | undefined;
1039
- } & {
1040
- node: HTMLElement;
1041
- index: number;
1042
- })[]) => boolean) | undefined) => ({
1043
- disabled?: boolean | undefined;
1044
- id?: string | undefined;
1045
- filter?: ((value: {
1046
- disabled?: boolean | undefined;
1047
- id?: string | undefined;
1048
- filter?: ((value: any & {
1049
- node: {};
1050
- index: number;
1051
- }, index: number, array: (any & {
1052
- node: {};
1053
- index: number;
1054
- })[]) => boolean) | undefined;
1055
- } & {
1056
- node: Record<string, any>;
1057
- index: number;
1058
- }, index: number, array: ({
1059
- disabled?: boolean | undefined;
1060
- id?: string | undefined;
1061
- filter?: ((value: any & {
1062
- node: {};
1063
- index: number;
1064
- }, index: number, array: (any & {
1065
- node: {};
1066
- index: number;
1067
- })[]) => boolean) | undefined;
1068
- } & {
1069
- node: Record<string, any>;
1070
- index: number;
1071
- })[]) => boolean) | undefined;
1072
- } & {
1073
- node: HTMLElement;
1074
- index: number;
1075
- }) | undefined;
1076
- lastValue: (filter?: ((value: {
1077
- disabled?: boolean | undefined;
1078
- id?: string | undefined;
1079
- filter?: ((value: {
1080
- disabled?: boolean | undefined;
1081
- id?: string | undefined;
1082
- filter?: ((value: any & {
1083
- node: {};
1084
- index: number;
1085
- }, index: number, array: (any & {
1086
- node: {};
1087
- index: number;
1088
- })[]) => boolean) | undefined;
1089
- } & {
1090
- node: Record<string, any>;
1091
- index: number;
1092
- }, index: number, array: ({
1093
- disabled?: boolean | undefined;
1094
- id?: string | undefined;
1095
- filter?: ((value: any & {
1096
- node: {};
1097
- index: number;
1098
- }, index: number, array: (any & {
1099
- node: {};
1100
- index: number;
1101
- })[]) => boolean) | undefined;
1102
- } & {
1103
- node: Record<string, any>;
1104
- index: number;
1105
- })[]) => boolean) | undefined;
1106
- } & {
1107
- node: HTMLElement;
1108
- index: number;
1109
- }, index: number, array: ({
1110
- disabled?: boolean | undefined;
1111
- id?: string | undefined;
1112
- filter?: ((value: {
1113
- disabled?: boolean | undefined;
1114
- id?: string | undefined;
1115
- filter?: ((value: any & {
1116
- node: {};
1117
- index: number;
1118
- }, index: number, array: (any & {
1119
- node: {};
1120
- index: number;
1121
- })[]) => boolean) | undefined;
1122
- } & {
1123
- node: Record<string, any>;
1124
- index: number;
1125
- }, index: number, array: ({
1126
- disabled?: boolean | undefined;
1127
- id?: string | undefined;
1128
- filter?: ((value: any & {
1129
- node: {};
1130
- index: number;
1131
- }, index: number, array: (any & {
1132
- node: {};
1133
- index: number;
1134
- })[]) => boolean) | undefined;
1135
- } & {
1136
- node: Record<string, any>;
1137
- index: number;
1138
- })[]) => boolean) | undefined;
1139
- } & {
1140
- node: HTMLElement;
1141
- index: number;
1142
- })[]) => boolean) | undefined) => ({
1143
- disabled?: boolean | undefined;
1144
- id?: string | undefined;
1145
- filter?: ((value: {
1146
- disabled?: boolean | undefined;
1147
- id?: string | undefined;
1148
- filter?: ((value: any & {
1149
- node: {};
1150
- index: number;
1151
- }, index: number, array: (any & {
1152
- node: {};
1153
- index: number;
1154
- })[]) => boolean) | undefined;
1155
- } & {
1156
- node: Record<string, any>;
1157
- index: number;
1158
- }, index: number, array: ({
1159
- disabled?: boolean | undefined;
1160
- id?: string | undefined;
1161
- filter?: ((value: any & {
1162
- node: {};
1163
- index: number;
1164
- }, index: number, array: (any & {
1165
- node: {};
1166
- index: number;
1167
- })[]) => boolean) | undefined;
1168
- } & {
1169
- node: Record<string, any>;
1170
- index: number;
1171
- })[]) => boolean) | undefined;
1172
- } & {
1173
- node: HTMLElement;
1174
- index: number;
1175
- }) | undefined;
1176
- prevValue: (index: number, filter?: ((value: {
1177
- disabled?: boolean | undefined;
1178
- id?: string | undefined;
1179
- filter?: ((value: {
1180
- disabled?: boolean | undefined;
1181
- id?: string | undefined;
1182
- filter?: ((value: any & {
1183
- node: {};
1184
- index: number;
1185
- }, index: number, array: (any & {
1186
- node: {};
1187
- index: number;
1188
- })[]) => boolean) | undefined;
1189
- } & {
1190
- node: Record<string, any>;
1191
- index: number;
1192
- }, index: number, array: ({
1193
- disabled?: boolean | undefined;
1194
- id?: string | undefined;
1195
- filter?: ((value: any & {
1196
- node: {};
1197
- index: number;
1198
- }, index: number, array: (any & {
1199
- node: {};
1200
- index: number;
1201
- })[]) => boolean) | undefined;
1202
- } & {
1203
- node: Record<string, any>;
1204
- index: number;
1205
- })[]) => boolean) | undefined;
1206
- } & {
1207
- node: HTMLElement;
1208
- index: number;
1209
- }, index: number, array: ({
1210
- disabled?: boolean | undefined;
1211
- id?: string | undefined;
1212
- filter?: ((value: {
1213
- disabled?: boolean | undefined;
1214
- id?: string | undefined;
1215
- filter?: ((value: any & {
1216
- node: {};
1217
- index: number;
1218
- }, index: number, array: (any & {
1219
- node: {};
1220
- index: number;
1221
- })[]) => boolean) | undefined;
1222
- } & {
1223
- node: Record<string, any>;
1224
- index: number;
1225
- }, index: number, array: ({
1226
- disabled?: boolean | undefined;
1227
- id?: string | undefined;
1228
- filter?: ((value: any & {
1229
- node: {};
1230
- index: number;
1231
- }, index: number, array: (any & {
1232
- node: {};
1233
- index: number;
1234
- })[]) => boolean) | undefined;
1235
- } & {
1236
- node: Record<string, any>;
1237
- index: number;
1238
- })[]) => boolean) | undefined;
1239
- } & {
1240
- node: HTMLElement;
1241
- index: number;
1242
- })[]) => boolean) | undefined, loop?: boolean) => ({
1243
- disabled?: boolean | undefined;
1244
- id?: string | undefined;
1245
- filter?: ((value: {
1246
- disabled?: boolean | undefined;
1247
- id?: string | undefined;
1248
- filter?: ((value: any & {
1249
- node: {};
1250
- index: number;
1251
- }, index: number, array: (any & {
1252
- node: {};
1253
- index: number;
1254
- })[]) => boolean) | undefined;
1255
- } & {
1256
- node: Record<string, any>;
1257
- index: number;
1258
- }, index: number, array: ({
1259
- disabled?: boolean | undefined;
1260
- id?: string | undefined;
1261
- filter?: ((value: any & {
1262
- node: {};
1263
- index: number;
1264
- }, index: number, array: (any & {
1265
- node: {};
1266
- index: number;
1267
- })[]) => boolean) | undefined;
1268
- } & {
1269
- node: Record<string, any>;
1270
- index: number;
1271
- })[]) => boolean) | undefined;
1272
- } & {
1273
- node: HTMLElement;
1274
- index: number;
1275
- }) | undefined;
1276
- nextValue: (index: number, filter?: ((value: {
1277
- disabled?: boolean | undefined;
1278
- id?: string | undefined;
1279
- filter?: ((value: {
1280
- disabled?: boolean | undefined;
1281
- id?: string | undefined;
1282
- filter?: ((value: any & {
1283
- node: {};
1284
- index: number;
1285
- }, index: number, array: (any & {
1286
- node: {};
1287
- index: number;
1288
- })[]) => boolean) | undefined;
1289
- } & {
1290
- node: Record<string, any>;
1291
- index: number;
1292
- }, index: number, array: ({
1293
- disabled?: boolean | undefined;
1294
- id?: string | undefined;
1295
- filter?: ((value: any & {
1296
- node: {};
1297
- index: number;
1298
- }, index: number, array: (any & {
1299
- node: {};
1300
- index: number;
1301
- })[]) => boolean) | undefined;
1302
- } & {
1303
- node: Record<string, any>;
1304
- index: number;
1305
- })[]) => boolean) | undefined;
1306
- } & {
1307
- node: HTMLElement;
1308
- index: number;
1309
- }, index: number, array: ({
1310
- disabled?: boolean | undefined;
1311
- id?: string | undefined;
1312
- filter?: ((value: {
1313
- disabled?: boolean | undefined;
1314
- id?: string | undefined;
1315
- filter?: ((value: any & {
1316
- node: {};
1317
- index: number;
1318
- }, index: number, array: (any & {
1319
- node: {};
1320
- index: number;
1321
- })[]) => boolean) | undefined;
1322
- } & {
1323
- node: Record<string, any>;
1324
- index: number;
1325
- }, index: number, array: ({
1326
- disabled?: boolean | undefined;
1327
- id?: string | undefined;
1328
- filter?: ((value: any & {
1329
- node: {};
1330
- index: number;
1331
- }, index: number, array: (any & {
1332
- node: {};
1333
- index: number;
1334
- })[]) => boolean) | undefined;
1335
- } & {
1336
- node: Record<string, any>;
1337
- index: number;
1338
- })[]) => boolean) | undefined;
1339
- } & {
1340
- node: HTMLElement;
1341
- index: number;
1342
- })[]) => boolean) | undefined, loop?: boolean) => ({
1343
- disabled?: boolean | undefined;
1344
- id?: string | undefined;
1345
- filter?: ((value: {
1346
- disabled?: boolean | undefined;
1347
- id?: string | undefined;
1348
- filter?: ((value: any & {
1349
- node: {};
1350
- index: number;
1351
- }, index: number, array: (any & {
1352
- node: {};
1353
- index: number;
1354
- })[]) => boolean) | undefined;
1355
- } & {
1356
- node: Record<string, any>;
1357
- index: number;
1358
- }, index: number, array: ({
1359
- disabled?: boolean | undefined;
1360
- id?: string | undefined;
1361
- filter?: ((value: any & {
1362
- node: {};
1363
- index: number;
1364
- }, index: number, array: (any & {
1365
- node: {};
1366
- index: number;
1367
- })[]) => boolean) | undefined;
1368
- } & {
1369
- node: Record<string, any>;
1370
- index: number;
1371
- })[]) => boolean) | undefined;
1372
- } & {
1373
- node: HTMLElement;
1374
- index: number;
1375
- }) | undefined;
1376
- enabledCount: (filter?: ((value: {
1377
- disabled?: boolean | undefined;
1378
- id?: string | undefined;
1379
- filter?: ((value: {
1380
- disabled?: boolean | undefined;
1381
- id?: string | undefined;
1382
- filter?: ((value: any & {
1383
- node: {};
1384
- index: number;
1385
- }, index: number, array: (any & {
1386
- node: {};
1387
- index: number;
1388
- })[]) => boolean) | undefined;
1389
- } & {
1390
- node: Record<string, any>;
1391
- index: number;
1392
- }, index: number, array: ({
1393
- disabled?: boolean | undefined;
1394
- id?: string | undefined;
1395
- filter?: ((value: any & {
1396
- node: {};
1397
- index: number;
1398
- }, index: number, array: (any & {
1399
- node: {};
1400
- index: number;
1401
- })[]) => boolean) | undefined;
1402
- } & {
1403
- node: Record<string, any>;
1404
- index: number;
1405
- })[]) => boolean) | undefined;
1406
- } & {
1407
- node: HTMLElement;
1408
- index: number;
1409
- }, index: number, array: ({
1410
- disabled?: boolean | undefined;
1411
- id?: string | undefined;
1412
- filter?: ((value: {
1413
- disabled?: boolean | undefined;
1414
- id?: string | undefined;
1415
- filter?: ((value: any & {
1416
- node: {};
1417
- index: number;
1418
- }, index: number, array: (any & {
1419
- node: {};
1420
- index: number;
1421
- })[]) => boolean) | undefined;
1422
- } & {
1423
- node: Record<string, any>;
1424
- index: number;
1425
- }, index: number, array: ({
1426
- disabled?: boolean | undefined;
1427
- id?: string | undefined;
1428
- filter?: ((value: any & {
1429
- node: {};
1430
- index: number;
1431
- }, index: number, array: (any & {
1432
- node: {};
1433
- index: number;
1434
- })[]) => boolean) | undefined;
1435
- } & {
1436
- node: Record<string, any>;
1437
- index: number;
1438
- })[]) => boolean) | undefined;
1439
- } & {
1440
- node: HTMLElement;
1441
- index: number;
1442
- })[]) => boolean) | undefined) => number;
1443
- enabledValues: (filter?: ((value: {
1444
- disabled?: boolean | undefined;
1445
- id?: string | undefined;
1446
- filter?: ((value: {
1447
- disabled?: boolean | undefined;
1448
- id?: string | undefined;
1449
- filter?: ((value: any & {
1450
- node: {};
1451
- index: number;
1452
- }, index: number, array: (any & {
1453
- node: {};
1454
- index: number;
1455
- })[]) => boolean) | undefined;
1456
- } & {
1457
- node: Record<string, any>;
1458
- index: number;
1459
- }, index: number, array: ({
1460
- disabled?: boolean | undefined;
1461
- id?: string | undefined;
1462
- filter?: ((value: any & {
1463
- node: {};
1464
- index: number;
1465
- }, index: number, array: (any & {
1466
- node: {};
1467
- index: number;
1468
- })[]) => boolean) | undefined;
1469
- } & {
1470
- node: Record<string, any>;
1471
- index: number;
1472
- })[]) => boolean) | undefined;
1473
- } & {
1474
- node: HTMLElement;
1475
- index: number;
1476
- }, index: number, array: ({
1477
- disabled?: boolean | undefined;
1478
- id?: string | undefined;
1479
- filter?: ((value: {
1480
- disabled?: boolean | undefined;
1481
- id?: string | undefined;
1482
- filter?: ((value: any & {
1483
- node: {};
1484
- index: number;
1485
- }, index: number, array: (any & {
1486
- node: {};
1487
- index: number;
1488
- })[]) => boolean) | undefined;
1489
- } & {
1490
- node: Record<string, any>;
1491
- index: number;
1492
- }, index: number, array: ({
1493
- disabled?: boolean | undefined;
1494
- id?: string | undefined;
1495
- filter?: ((value: any & {
1496
- node: {};
1497
- index: number;
1498
- }, index: number, array: (any & {
1499
- node: {};
1500
- index: number;
1501
- })[]) => boolean) | undefined;
1502
- } & {
1503
- node: Record<string, any>;
1504
- index: number;
1505
- })[]) => boolean) | undefined;
1506
- } & {
1507
- node: HTMLElement;
1508
- index: number;
1509
- })[]) => boolean) | undefined) => ({
1510
- disabled?: boolean | undefined;
1511
- id?: string | undefined;
1512
- filter?: ((value: {
1513
- disabled?: boolean | undefined;
1514
- id?: string | undefined;
1515
- filter?: ((value: any & {
1516
- node: {};
1517
- index: number;
1518
- }, index: number, array: (any & {
1519
- node: {};
1520
- index: number;
1521
- })[]) => boolean) | undefined;
1522
- } & {
1523
- node: Record<string, any>;
1524
- index: number;
1525
- }, index: number, array: ({
1526
- disabled?: boolean | undefined;
1527
- id?: string | undefined;
1528
- filter?: ((value: any & {
1529
- node: {};
1530
- index: number;
1531
- }, index: number, array: (any & {
1532
- node: {};
1533
- index: number;
1534
- })[]) => boolean) | undefined;
1535
- } & {
1536
- node: Record<string, any>;
1537
- index: number;
1538
- })[]) => boolean) | undefined;
1539
- } & {
1540
- node: HTMLElement;
1541
- index: number;
1542
- })[];
1543
- enabledValue: (index: number, filter?: ((value: {
1544
- disabled?: boolean | undefined;
1545
- id?: string | undefined;
1546
- filter?: ((value: {
1547
- disabled?: boolean | undefined;
1548
- id?: string | undefined;
1549
- filter?: ((value: any & {
1550
- node: {};
1551
- index: number;
1552
- }, index: number, array: (any & {
1553
- node: {};
1554
- index: number;
1555
- })[]) => boolean) | undefined;
1556
- } & {
1557
- node: Record<string, any>;
1558
- index: number;
1559
- }, index: number, array: ({
1560
- disabled?: boolean | undefined;
1561
- id?: string | undefined;
1562
- filter?: ((value: any & {
1563
- node: {};
1564
- index: number;
1565
- }, index: number, array: (any & {
1566
- node: {};
1567
- index: number;
1568
- })[]) => boolean) | undefined;
1569
- } & {
1570
- node: Record<string, any>;
1571
- index: number;
1572
- })[]) => boolean) | undefined;
1573
- } & {
1574
- node: HTMLElement;
1575
- index: number;
1576
- }, index: number, array: ({
1577
- disabled?: boolean | undefined;
1578
- id?: string | undefined;
1579
- filter?: ((value: {
1580
- disabled?: boolean | undefined;
1581
- id?: string | undefined;
1582
- filter?: ((value: any & {
1583
- node: {};
1584
- index: number;
1585
- }, index: number, array: (any & {
1586
- node: {};
1587
- index: number;
1588
- })[]) => boolean) | undefined;
1589
- } & {
1590
- node: Record<string, any>;
1591
- index: number;
1592
- }, index: number, array: ({
1593
- disabled?: boolean | undefined;
1594
- id?: string | undefined;
1595
- filter?: ((value: any & {
1596
- node: {};
1597
- index: number;
1598
- }, index: number, array: (any & {
1599
- node: {};
1600
- index: number;
1601
- })[]) => boolean) | undefined;
1602
- } & {
1603
- node: Record<string, any>;
1604
- index: number;
1605
- })[]) => boolean) | undefined;
1606
- } & {
1607
- node: HTMLElement;
1608
- index: number;
1609
- })[]) => boolean) | undefined) => ({
1610
- disabled?: boolean | undefined;
1611
- id?: string | undefined;
1612
- filter?: ((value: {
1613
- disabled?: boolean | undefined;
1614
- id?: string | undefined;
1615
- filter?: ((value: any & {
1616
- node: {};
1617
- index: number;
1618
- }, index: number, array: (any & {
1619
- node: {};
1620
- index: number;
1621
- })[]) => boolean) | undefined;
1622
- } & {
1623
- node: Record<string, any>;
1624
- index: number;
1625
- }, index: number, array: ({
1626
- disabled?: boolean | undefined;
1627
- id?: string | undefined;
1628
- filter?: ((value: any & {
1629
- node: {};
1630
- index: number;
1631
- }, index: number, array: (any & {
1632
- node: {};
1633
- index: number;
1634
- })[]) => boolean) | undefined;
1635
- } & {
1636
- node: Record<string, any>;
1637
- index: number;
1638
- })[]) => boolean) | undefined;
1639
- } & {
1640
- node: HTMLElement;
1641
- index: number;
1642
- }) | undefined;
1643
- enabledIndexOf: (node: HTMLElement | null, filter?: ((value: {
1644
- disabled?: boolean | undefined;
1645
- id?: string | undefined;
1646
- filter?: ((value: {
1647
- disabled?: boolean | undefined;
1648
- id?: string | undefined;
1649
- filter?: ((value: any & {
1650
- node: {};
1651
- index: number;
1652
- }, index: number, array: (any & {
1653
- node: {};
1654
- index: number;
1655
- })[]) => boolean) | undefined;
1656
- } & {
1657
- node: Record<string, any>;
1658
- index: number;
1659
- }, index: number, array: ({
1660
- disabled?: boolean | undefined;
1661
- id?: string | undefined;
1662
- filter?: ((value: any & {
1663
- node: {};
1664
- index: number;
1665
- }, index: number, array: (any & {
1666
- node: {};
1667
- index: number;
1668
- })[]) => boolean) | undefined;
1669
- } & {
1670
- node: Record<string, any>;
1671
- index: number;
1672
- })[]) => boolean) | undefined;
1673
- } & {
1674
- node: HTMLElement;
1675
- index: number;
1676
- }, index: number, array: ({
1677
- disabled?: boolean | undefined;
1678
- id?: string | undefined;
1679
- filter?: ((value: {
1680
- disabled?: boolean | undefined;
1681
- id?: string | undefined;
1682
- filter?: ((value: any & {
1683
- node: {};
1684
- index: number;
1685
- }, index: number, array: (any & {
1686
- node: {};
1687
- index: number;
1688
- })[]) => boolean) | undefined;
1689
- } & {
1690
- node: Record<string, any>;
1691
- index: number;
1692
- }, index: number, array: ({
1693
- disabled?: boolean | undefined;
1694
- id?: string | undefined;
1695
- filter?: ((value: any & {
1696
- node: {};
1697
- index: number;
1698
- }, index: number, array: (any & {
1699
- node: {};
1700
- index: number;
1701
- })[]) => boolean) | undefined;
1702
- } & {
1703
- node: Record<string, any>;
1704
- index: number;
1705
- })[]) => boolean) | undefined;
1706
- } & {
1707
- node: HTMLElement;
1708
- index: number;
1709
- })[]) => boolean) | undefined) => number;
1710
- enabledFirstValue: (filter?: ((value: {
1711
- disabled?: boolean | undefined;
1712
- id?: string | undefined;
1713
- filter?: ((value: {
1714
- disabled?: boolean | undefined;
1715
- id?: string | undefined;
1716
- filter?: ((value: any & {
1717
- node: {};
1718
- index: number;
1719
- }, index: number, array: (any & {
1720
- node: {};
1721
- index: number;
1722
- })[]) => boolean) | undefined;
1723
- } & {
1724
- node: Record<string, any>;
1725
- index: number;
1726
- }, index: number, array: ({
1727
- disabled?: boolean | undefined;
1728
- id?: string | undefined;
1729
- filter?: ((value: any & {
1730
- node: {};
1731
- index: number;
1732
- }, index: number, array: (any & {
1733
- node: {};
1734
- index: number;
1735
- })[]) => boolean) | undefined;
1736
- } & {
1737
- node: Record<string, any>;
1738
- index: number;
1739
- })[]) => boolean) | undefined;
1740
- } & {
1741
- node: HTMLElement;
1742
- index: number;
1743
- }, index: number, array: ({
1744
- disabled?: boolean | undefined;
1745
- id?: string | undefined;
1746
- filter?: ((value: {
1747
- disabled?: boolean | undefined;
1748
- id?: string | undefined;
1749
- filter?: ((value: any & {
1750
- node: {};
1751
- index: number;
1752
- }, index: number, array: (any & {
1753
- node: {};
1754
- index: number;
1755
- })[]) => boolean) | undefined;
1756
- } & {
1757
- node: Record<string, any>;
1758
- index: number;
1759
- }, index: number, array: ({
1760
- disabled?: boolean | undefined;
1761
- id?: string | undefined;
1762
- filter?: ((value: any & {
1763
- node: {};
1764
- index: number;
1765
- }, index: number, array: (any & {
1766
- node: {};
1767
- index: number;
1768
- })[]) => boolean) | undefined;
1769
- } & {
1770
- node: Record<string, any>;
1771
- index: number;
1772
- })[]) => boolean) | undefined;
1773
- } & {
1774
- node: HTMLElement;
1775
- index: number;
1776
- })[]) => boolean) | undefined) => ({
1777
- disabled?: boolean | undefined;
1778
- id?: string | undefined;
1779
- filter?: ((value: {
1780
- disabled?: boolean | undefined;
1781
- id?: string | undefined;
1782
- filter?: ((value: any & {
1783
- node: {};
1784
- index: number;
1785
- }, index: number, array: (any & {
1786
- node: {};
1787
- index: number;
1788
- })[]) => boolean) | undefined;
1789
- } & {
1790
- node: Record<string, any>;
1791
- index: number;
1792
- }, index: number, array: ({
1793
- disabled?: boolean | undefined;
1794
- id?: string | undefined;
1795
- filter?: ((value: any & {
1796
- node: {};
1797
- index: number;
1798
- }, index: number, array: (any & {
1799
- node: {};
1800
- index: number;
1801
- })[]) => boolean) | undefined;
1802
- } & {
1803
- node: Record<string, any>;
1804
- index: number;
1805
- })[]) => boolean) | undefined;
1806
- } & {
1807
- node: HTMLElement;
1808
- index: number;
1809
- }) | undefined;
1810
- enabledLastValue: (filter?: ((value: {
1811
- disabled?: boolean | undefined;
1812
- id?: string | undefined;
1813
- filter?: ((value: {
1814
- disabled?: boolean | undefined;
1815
- id?: string | undefined;
1816
- filter?: ((value: any & {
1817
- node: {};
1818
- index: number;
1819
- }, index: number, array: (any & {
1820
- node: {};
1821
- index: number;
1822
- })[]) => boolean) | undefined;
1823
- } & {
1824
- node: Record<string, any>;
1825
- index: number;
1826
- }, index: number, array: ({
1827
- disabled?: boolean | undefined;
1828
- id?: string | undefined;
1829
- filter?: ((value: any & {
1830
- node: {};
1831
- index: number;
1832
- }, index: number, array: (any & {
1833
- node: {};
1834
- index: number;
1835
- })[]) => boolean) | undefined;
1836
- } & {
1837
- node: Record<string, any>;
1838
- index: number;
1839
- })[]) => boolean) | undefined;
1840
- } & {
1841
- node: HTMLElement;
1842
- index: number;
1843
- }, index: number, array: ({
1844
- disabled?: boolean | undefined;
1845
- id?: string | undefined;
1846
- filter?: ((value: {
1847
- disabled?: boolean | undefined;
1848
- id?: string | undefined;
1849
- filter?: ((value: any & {
1850
- node: {};
1851
- index: number;
1852
- }, index: number, array: (any & {
1853
- node: {};
1854
- index: number;
1855
- })[]) => boolean) | undefined;
1856
- } & {
1857
- node: Record<string, any>;
1858
- index: number;
1859
- }, index: number, array: ({
1860
- disabled?: boolean | undefined;
1861
- id?: string | undefined;
1862
- filter?: ((value: any & {
1863
- node: {};
1864
- index: number;
1865
- }, index: number, array: (any & {
1866
- node: {};
1867
- index: number;
1868
- })[]) => boolean) | undefined;
1869
- } & {
1870
- node: Record<string, any>;
1871
- index: number;
1872
- })[]) => boolean) | undefined;
1873
- } & {
1874
- node: HTMLElement;
1875
- index: number;
1876
- })[]) => boolean) | undefined) => ({
1877
- disabled?: boolean | undefined;
1878
- id?: string | undefined;
1879
- filter?: ((value: {
1880
- disabled?: boolean | undefined;
1881
- id?: string | undefined;
1882
- filter?: ((value: any & {
1883
- node: {};
1884
- index: number;
1885
- }, index: number, array: (any & {
1886
- node: {};
1887
- index: number;
1888
- })[]) => boolean) | undefined;
1889
- } & {
1890
- node: Record<string, any>;
1891
- index: number;
1892
- }, index: number, array: ({
1893
- disabled?: boolean | undefined;
1894
- id?: string | undefined;
1895
- filter?: ((value: any & {
1896
- node: {};
1897
- index: number;
1898
- }, index: number, array: (any & {
1899
- node: {};
1900
- index: number;
1901
- })[]) => boolean) | undefined;
1902
- } & {
1903
- node: Record<string, any>;
1904
- index: number;
1905
- })[]) => boolean) | undefined;
1906
- } & {
1907
- node: HTMLElement;
1908
- index: number;
1909
- }) | undefined;
1910
- enabledPrevValue: (index: number, filter?: ((value: {
1911
- disabled?: boolean | undefined;
1912
- id?: string | undefined;
1913
- filter?: ((value: {
1914
- disabled?: boolean | undefined;
1915
- id?: string | undefined;
1916
- filter?: ((value: any & {
1917
- node: {};
1918
- index: number;
1919
- }, index: number, array: (any & {
1920
- node: {};
1921
- index: number;
1922
- })[]) => boolean) | undefined;
1923
- } & {
1924
- node: Record<string, any>;
1925
- index: number;
1926
- }, index: number, array: ({
1927
- disabled?: boolean | undefined;
1928
- id?: string | undefined;
1929
- filter?: ((value: any & {
1930
- node: {};
1931
- index: number;
1932
- }, index: number, array: (any & {
1933
- node: {};
1934
- index: number;
1935
- })[]) => boolean) | undefined;
1936
- } & {
1937
- node: Record<string, any>;
1938
- index: number;
1939
- })[]) => boolean) | undefined;
1940
- } & {
1941
- node: HTMLElement;
1942
- index: number;
1943
- }, index: number, array: ({
1944
- disabled?: boolean | undefined;
1945
- id?: string | undefined;
1946
- filter?: ((value: {
1947
- disabled?: boolean | undefined;
1948
- id?: string | undefined;
1949
- filter?: ((value: any & {
1950
- node: {};
1951
- index: number;
1952
- }, index: number, array: (any & {
1953
- node: {};
1954
- index: number;
1955
- })[]) => boolean) | undefined;
1956
- } & {
1957
- node: Record<string, any>;
1958
- index: number;
1959
- }, index: number, array: ({
1960
- disabled?: boolean | undefined;
1961
- id?: string | undefined;
1962
- filter?: ((value: any & {
1963
- node: {};
1964
- index: number;
1965
- }, index: number, array: (any & {
1966
- node: {};
1967
- index: number;
1968
- })[]) => boolean) | undefined;
1969
- } & {
1970
- node: Record<string, any>;
1971
- index: number;
1972
- })[]) => boolean) | undefined;
1973
- } & {
1974
- node: HTMLElement;
1975
- index: number;
1976
- })[]) => boolean) | undefined, loop?: boolean) => ({
1977
- disabled?: boolean | undefined;
1978
- id?: string | undefined;
1979
- filter?: ((value: {
1980
- disabled?: boolean | undefined;
1981
- id?: string | undefined;
1982
- filter?: ((value: any & {
1983
- node: {};
1984
- index: number;
1985
- }, index: number, array: (any & {
1986
- node: {};
1987
- index: number;
1988
- })[]) => boolean) | undefined;
1989
- } & {
1990
- node: Record<string, any>;
1991
- index: number;
1992
- }, index: number, array: ({
1993
- disabled?: boolean | undefined;
1994
- id?: string | undefined;
1995
- filter?: ((value: any & {
1996
- node: {};
1997
- index: number;
1998
- }, index: number, array: (any & {
1999
- node: {};
2000
- index: number;
2001
- })[]) => boolean) | undefined;
2002
- } & {
2003
- node: Record<string, any>;
2004
- index: number;
2005
- })[]) => boolean) | undefined;
2006
- } & {
2007
- node: HTMLElement;
2008
- index: number;
2009
- }) | undefined;
2010
- enabledNextValue: (index: number, filter?: ((value: {
2011
- disabled?: boolean | undefined;
2012
- id?: string | undefined;
2013
- filter?: ((value: {
2014
- disabled?: boolean | undefined;
2015
- id?: string | undefined;
2016
- filter?: ((value: any & {
2017
- node: {};
2018
- index: number;
2019
- }, index: number, array: (any & {
2020
- node: {};
2021
- index: number;
2022
- })[]) => boolean) | undefined;
2023
- } & {
2024
- node: Record<string, any>;
2025
- index: number;
2026
- }, index: number, array: ({
2027
- disabled?: boolean | undefined;
2028
- id?: string | undefined;
2029
- filter?: ((value: any & {
2030
- node: {};
2031
- index: number;
2032
- }, index: number, array: (any & {
2033
- node: {};
2034
- index: number;
2035
- })[]) => boolean) | undefined;
2036
- } & {
2037
- node: Record<string, any>;
2038
- index: number;
2039
- })[]) => boolean) | undefined;
2040
- } & {
2041
- node: HTMLElement;
2042
- index: number;
2043
- }, index: number, array: ({
2044
- disabled?: boolean | undefined;
2045
- id?: string | undefined;
2046
- filter?: ((value: {
2047
- disabled?: boolean | undefined;
2048
- id?: string | undefined;
2049
- filter?: ((value: any & {
2050
- node: {};
2051
- index: number;
2052
- }, index: number, array: (any & {
2053
- node: {};
2054
- index: number;
2055
- })[]) => boolean) | undefined;
2056
- } & {
2057
- node: Record<string, any>;
2058
- index: number;
2059
- }, index: number, array: ({
2060
- disabled?: boolean | undefined;
2061
- id?: string | undefined;
2062
- filter?: ((value: any & {
2063
- node: {};
2064
- index: number;
2065
- }, index: number, array: (any & {
2066
- node: {};
2067
- index: number;
2068
- })[]) => boolean) | undefined;
2069
- } & {
2070
- node: Record<string, any>;
2071
- index: number;
2072
- })[]) => boolean) | undefined;
2073
- } & {
2074
- node: HTMLElement;
2075
- index: number;
2076
- })[]) => boolean) | undefined, loop?: boolean) => ({
2077
- disabled?: boolean | undefined;
2078
- id?: string | undefined;
2079
- filter?: ((value: {
2080
- disabled?: boolean | undefined;
2081
- id?: string | undefined;
2082
- filter?: ((value: any & {
2083
- node: {};
2084
- index: number;
2085
- }, index: number, array: (any & {
2086
- node: {};
2087
- index: number;
2088
- })[]) => boolean) | undefined;
2089
- } & {
2090
- node: Record<string, any>;
2091
- index: number;
2092
- }, index: number, array: ({
2093
- disabled?: boolean | undefined;
2094
- id?: string | undefined;
2095
- filter?: ((value: any & {
2096
- node: {};
2097
- index: number;
2098
- }, index: number, array: (any & {
2099
- node: {};
2100
- index: number;
2101
- })[]) => boolean) | undefined;
2102
- } & {
2103
- node: Record<string, any>;
2104
- index: number;
2105
- })[]) => boolean) | undefined;
2106
- } & {
2107
- node: HTMLElement;
2108
- index: number;
2109
- }) | undefined;
45
+ firstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
46
+ lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
47
+ prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
48
+ nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
49
+ enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => number;
50
+ enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>>[];
51
+ enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
52
+ enabledIndexOf: (node: HTMLElement | null, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => number;
53
+ enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
54
+ enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
55
+ enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
56
+ enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, Record<string, any>> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, Record<string, any>> | undefined;
2110
57
  };
2111
58
  index: number;
2112
59
  enabledIndex: number;