@rind-ui/testing 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dom-BhoJNuBH.mjs → dom-2jvIZsvL.mjs} +2 -2
- package/dist/dom.mjs +1 -1
- package/dist/index.d.mts +2428 -154
- package/dist/index.mjs +97 -4
- package/dist/{playwright-D79Husn_.mjs → playwright-C7Ve39Q-.mjs} +5 -4
- package/dist/playwright.mjs +1 -1
- package/dist/setup.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -396,6 +396,55 @@ export declare function getAccordion(target: Target, anchor: {
|
|
|
396
396
|
};
|
|
397
397
|
}>>;
|
|
398
398
|
//#endregion
|
|
399
|
+
//#region src/components/agent-presence.d.ts
|
|
400
|
+
/** A driver for the only Agent Presence in `target`. */
|
|
401
|
+
export declare function getAgentPresence(target: Target, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"live", {
|
|
402
|
+
props: import("@rind-ui/core").AgentPresenceProps;
|
|
403
|
+
events: import("@rind-ui/core").AgentPresenceEvent;
|
|
404
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").ClockEnv & import("@rind-ui/core").LocaleEnv & import("@rind-ui/core").SchedulerEnv;
|
|
405
|
+
context: import("@rind-ui/core").AgentPresenceContext;
|
|
406
|
+
}, {
|
|
407
|
+
readonly types: {
|
|
408
|
+
props: import("@rind-ui/core").AgentPresenceProps;
|
|
409
|
+
events: import("@rind-ui/core").AgentPresenceEvent;
|
|
410
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").ClockEnv & import("@rind-ui/core").LocaleEnv & import("@rind-ui/core").SchedulerEnv;
|
|
411
|
+
context: import("@rind-ui/core").AgentPresenceContext;
|
|
412
|
+
};
|
|
413
|
+
readonly actions: {
|
|
414
|
+
readonly change: (args: import("@rind-ui/core").ActionArgs<{
|
|
415
|
+
props: import("@rind-ui/core").AgentPresenceProps;
|
|
416
|
+
events: import("@rind-ui/core").AgentPresenceEvent;
|
|
417
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").ClockEnv & import("@rind-ui/core").LocaleEnv & import("@rind-ui/core").SchedulerEnv;
|
|
418
|
+
context: import("@rind-ui/core").AgentPresenceContext;
|
|
419
|
+
}>) => void;
|
|
420
|
+
readonly thinkingElapsed: (args: import("@rind-ui/core").ActionArgs<{
|
|
421
|
+
props: import("@rind-ui/core").AgentPresenceProps;
|
|
422
|
+
events: import("@rind-ui/core").AgentPresenceEvent;
|
|
423
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").ClockEnv & import("@rind-ui/core").LocaleEnv & import("@rind-ui/core").SchedulerEnv;
|
|
424
|
+
context: import("@rind-ui/core").AgentPresenceContext;
|
|
425
|
+
}>) => void;
|
|
426
|
+
readonly stale: ({ context, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
427
|
+
props: import("@rind-ui/core").AgentPresenceProps;
|
|
428
|
+
events: import("@rind-ui/core").AgentPresenceEvent;
|
|
429
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").ClockEnv & import("@rind-ui/core").LocaleEnv & import("@rind-ui/core").SchedulerEnv;
|
|
430
|
+
context: import("@rind-ui/core").AgentPresenceContext;
|
|
431
|
+
}>) => void;
|
|
432
|
+
};
|
|
433
|
+
readonly effects: {
|
|
434
|
+
readonly timers: ({ context, env, props, send }: import("@rind-ui/core").EffectArgs<{
|
|
435
|
+
props: import("@rind-ui/core").AgentPresenceProps;
|
|
436
|
+
events: import("@rind-ui/core").AgentPresenceEvent;
|
|
437
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").ClockEnv & import("@rind-ui/core").LocaleEnv & import("@rind-ui/core").SchedulerEnv;
|
|
438
|
+
context: import("@rind-ui/core").AgentPresenceContext;
|
|
439
|
+
}>) => () => void;
|
|
440
|
+
};
|
|
441
|
+
}, Record<never, never>>, "detail" | "label" | "root" | "status" | "visual", readonly [], {
|
|
442
|
+
readonly state: (env: import("@rind-ui/core").Env<"detail" | "label" | "root" | "status" | "visual">) => Promise<import("@rind-ui/core").AgentState>;
|
|
443
|
+
readonly statusText: (env: import("@rind-ui/core").Env<"detail" | "label" | "root" | "status" | "visual">) => Promise<string>;
|
|
444
|
+
readonly isStale: (env: import("@rind-ui/core").Env<"detail" | "label" | "root" | "status" | "visual">) => Promise<boolean>;
|
|
445
|
+
readonly level: (env: import("@rind-ui/core").Env<"detail" | "label" | "root" | "status" | "visual">) => Promise<number>;
|
|
446
|
+
}, {}>>;
|
|
447
|
+
//#endregion
|
|
399
448
|
//#region src/components/alert.d.ts
|
|
400
449
|
/**
|
|
401
450
|
* A driver for an Alert: the one whose Title's text is `title`, or the one alert inside
|
|
@@ -528,6 +577,147 @@ export declare function getAlert(target: Target, anchor?: {
|
|
|
528
577
|
};
|
|
529
578
|
}>>;
|
|
530
579
|
//#endregion
|
|
580
|
+
//#region src/components/angle-slider.d.ts
|
|
581
|
+
/** A driver for the Angle Slider labelled `label`, or the only one in `target`. */
|
|
582
|
+
export declare function getAngleSlider(target: Target, anchor?: {
|
|
583
|
+
readonly label: string | RegExp;
|
|
584
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"dragging" | "idle", {
|
|
585
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
586
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
587
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
588
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
589
|
+
values: "value";
|
|
590
|
+
}, {
|
|
591
|
+
readonly types: {
|
|
592
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
593
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
594
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
595
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
596
|
+
values: "value";
|
|
597
|
+
};
|
|
598
|
+
readonly guards: {
|
|
599
|
+
readonly canChange: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
600
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
601
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
602
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
603
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
604
|
+
values: "value";
|
|
605
|
+
}>) => boolean;
|
|
606
|
+
readonly enabled: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
607
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
608
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
609
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
610
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
611
|
+
values: "value";
|
|
612
|
+
}>) => boolean;
|
|
613
|
+
};
|
|
614
|
+
readonly actions: {
|
|
615
|
+
readonly recordStart: (a: import("@rind-ui/core").ActionArgs<{
|
|
616
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
617
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
618
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
619
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
620
|
+
values: "value";
|
|
621
|
+
}>) => void;
|
|
622
|
+
readonly focusInput: ({ env, event }: import("@rind-ui/core").ActionArgs<{
|
|
623
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
624
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
625
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
626
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
627
|
+
values: "value";
|
|
628
|
+
}>) => void;
|
|
629
|
+
readonly setFromPress: (a: import("@rind-ui/core").ActionArgs<{
|
|
630
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
631
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
632
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
633
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
634
|
+
values: "value";
|
|
635
|
+
}>) => void;
|
|
636
|
+
readonly setFromPointer: (a: import("@rind-ui/core").ActionArgs<{
|
|
637
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
638
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
639
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
640
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
641
|
+
values: "value";
|
|
642
|
+
}>) => void;
|
|
643
|
+
readonly commitIfChanged: (a: import("@rind-ui/core").ActionArgs<{
|
|
644
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
645
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
646
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
647
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
648
|
+
values: "value";
|
|
649
|
+
}>) => void;
|
|
650
|
+
readonly restoreStart: (a: import("@rind-ui/core").ActionArgs<{
|
|
651
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
652
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
653
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
654
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
655
|
+
values: "value";
|
|
656
|
+
}>) => void;
|
|
657
|
+
readonly step: (a: import("@rind-ui/core").ActionArgs<{
|
|
658
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
659
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
660
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
661
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
662
|
+
values: "value";
|
|
663
|
+
}>) => void;
|
|
664
|
+
readonly setFromInput: (a: import("@rind-ui/core").ActionArgs<{
|
|
665
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
666
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
667
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
668
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
669
|
+
values: "value";
|
|
670
|
+
}>) => void;
|
|
671
|
+
readonly restoreDefault: (a: import("@rind-ui/core").ActionArgs<{
|
|
672
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
673
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
674
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
675
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
676
|
+
values: "value";
|
|
677
|
+
}>) => void;
|
|
678
|
+
};
|
|
679
|
+
readonly effects: {
|
|
680
|
+
readonly trackDrag: ({ env, send }: import("@rind-ui/core").EffectArgs<{
|
|
681
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
682
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
683
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
684
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
685
|
+
values: "value";
|
|
686
|
+
}>) => (() => void) | undefined;
|
|
687
|
+
};
|
|
688
|
+
}, Record<never, never>>, "control" | "input" | "label" | "marker" | "marker-group" | "root" | "thumb" | "value", readonly [anchor?: {
|
|
689
|
+
readonly label: string | RegExp;
|
|
690
|
+
} | undefined], {
|
|
691
|
+
readonly value: (env: import("@rind-ui/core").Env<"control" | "input" | "label" | "marker" | "marker-group" | "root" | "thumb" | "value">) => Promise<number>;
|
|
692
|
+
readonly valueText: (env: import("@rind-ui/core").Env<"control" | "input" | "label" | "marker" | "marker-group" | "root" | "thumb" | "value">) => Promise<string>;
|
|
693
|
+
readonly isDragging: (env: import("@rind-ui/core").Env<"control" | "input" | "label" | "marker" | "marker-group" | "root" | "thumb" | "value">) => Promise<boolean>;
|
|
694
|
+
}, {
|
|
695
|
+
readonly setAngle: {
|
|
696
|
+
readonly pointer: (env: import("@rind-ui/core").Env<"control" | "input" | "label" | "marker" | "marker-group" | "root" | "thumb" | "value">, angle: number) => Promise<void>;
|
|
697
|
+
readonly touch: (env: import("@rind-ui/core").Env<"control" | "input" | "label" | "marker" | "marker-group" | "root" | "thumb" | "value">, angle: number) => Promise<void>;
|
|
698
|
+
readonly none: {
|
|
699
|
+
readonly keyboard: "a keyboard reaches an angle with step and toEdge";
|
|
700
|
+
};
|
|
701
|
+
readonly done: () => Promise<boolean>;
|
|
702
|
+
};
|
|
703
|
+
readonly step: {
|
|
704
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"control" | "input" | "label" | "marker" | "marker-group" | "root" | "thumb" | "value">, steps: number) => Promise<void>;
|
|
705
|
+
readonly none: {
|
|
706
|
+
readonly pointer: "a pointer sets an angle (setAngle)";
|
|
707
|
+
readonly touch: "a pointer sets an angle";
|
|
708
|
+
};
|
|
709
|
+
readonly done: () => Promise<boolean>;
|
|
710
|
+
};
|
|
711
|
+
readonly toEdge: {
|
|
712
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"control" | "input" | "label" | "marker" | "marker-group" | "root" | "thumb" | "value">, edge: "min" | "max") => Promise<void>;
|
|
713
|
+
readonly none: {
|
|
714
|
+
readonly pointer: "a pointer sets an angle (setAngle)";
|
|
715
|
+
readonly touch: "a pointer sets an angle";
|
|
716
|
+
};
|
|
717
|
+
readonly done: () => Promise<boolean>;
|
|
718
|
+
};
|
|
719
|
+
}>>;
|
|
720
|
+
//#endregion
|
|
531
721
|
//#region src/components/avatar.d.ts
|
|
532
722
|
/**
|
|
533
723
|
* A driver for an Avatar: the one named `name` (role `img`), or, for a decorative avatar,
|
|
@@ -1169,6 +1359,210 @@ export declare function getCalendar(target: Target, anchor: {
|
|
|
1169
1359
|
};
|
|
1170
1360
|
}>>;
|
|
1171
1361
|
//#endregion
|
|
1362
|
+
//#region src/components/carousel.d.ts
|
|
1363
|
+
/** A driver for the Carousel region named `name`, or the only one in `target`. */
|
|
1364
|
+
export declare function getCarousel(target: Target, anchor?: {
|
|
1365
|
+
readonly name: string | RegExp;
|
|
1366
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"paused" | "playing" | "stopped", {
|
|
1367
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1368
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1369
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1370
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1371
|
+
values: "page";
|
|
1372
|
+
}, {
|
|
1373
|
+
readonly types: {
|
|
1374
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1375
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1376
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1377
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1378
|
+
values: "page";
|
|
1379
|
+
};
|
|
1380
|
+
readonly guards: {
|
|
1381
|
+
readonly canAutoplay: ({ props, env }: import("@rind-ui/core").GuardArgs<{
|
|
1382
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1383
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1384
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1385
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1386
|
+
values: "page";
|
|
1387
|
+
}>) => boolean;
|
|
1388
|
+
readonly held: ({ context }: import("@rind-ui/core").GuardArgs<{
|
|
1389
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1390
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1391
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1392
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1393
|
+
values: "page";
|
|
1394
|
+
}>) => boolean;
|
|
1395
|
+
readonly noHoldLeft: ({ context, event }: import("@rind-ui/core").GuardArgs<{
|
|
1396
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1397
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1398
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1399
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1400
|
+
values: "page";
|
|
1401
|
+
}>) => boolean;
|
|
1402
|
+
readonly atEnd: (a: import("@rind-ui/core").GuardArgs<{
|
|
1403
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1404
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1405
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1406
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1407
|
+
values: "page";
|
|
1408
|
+
}>) => boolean;
|
|
1409
|
+
readonly hoverPauses: ({ props, event }: import("@rind-ui/core").GuardArgs<{
|
|
1410
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1411
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1412
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1413
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1414
|
+
values: "page";
|
|
1415
|
+
}>) => boolean;
|
|
1416
|
+
};
|
|
1417
|
+
readonly actions: {
|
|
1418
|
+
readonly navigate: (a: import("@rind-ui/core").ActionArgs<{
|
|
1419
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1420
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1421
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1422
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1423
|
+
values: "page";
|
|
1424
|
+
}>) => void;
|
|
1425
|
+
readonly advance: (a: import("@rind-ui/core").ActionArgs<{
|
|
1426
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1427
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1428
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1429
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1430
|
+
values: "page";
|
|
1431
|
+
}>) => void;
|
|
1432
|
+
readonly scrollStart: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
1433
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1434
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1435
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1436
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1437
|
+
values: "page";
|
|
1438
|
+
}>) => void;
|
|
1439
|
+
readonly scrollEnd: (a: import("@rind-ui/core").ActionArgs<{
|
|
1440
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1441
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1442
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1443
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1444
|
+
values: "page";
|
|
1445
|
+
}>) => void;
|
|
1446
|
+
readonly count: (a: import("@rind-ui/core").ActionArgs<{
|
|
1447
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1448
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1449
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1450
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1451
|
+
values: "page";
|
|
1452
|
+
}>) => void;
|
|
1453
|
+
readonly restartDelay: (a: import("@rind-ui/core").ActionArgs<{
|
|
1454
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1455
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1456
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1457
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1458
|
+
values: "page";
|
|
1459
|
+
}>) => void;
|
|
1460
|
+
readonly resumeClock: (a: import("@rind-ui/core").ActionArgs<{
|
|
1461
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1462
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1463
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1464
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1465
|
+
values: "page";
|
|
1466
|
+
}>) => void;
|
|
1467
|
+
readonly keepRemaining: (a: import("@rind-ui/core").ActionArgs<{
|
|
1468
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1469
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1470
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1471
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1472
|
+
values: "page";
|
|
1473
|
+
}>) => void;
|
|
1474
|
+
readonly addHold: ({ event, context, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
1475
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1476
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1477
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1478
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1479
|
+
values: "page";
|
|
1480
|
+
}>) => void;
|
|
1481
|
+
readonly removeHold: ({ event, context, set }: import("@rind-ui/core").ActionArgs<{
|
|
1482
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1483
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1484
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1485
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1486
|
+
values: "page";
|
|
1487
|
+
}>) => void;
|
|
1488
|
+
readonly reportPlay: ({ props, event }: import("@rind-ui/core").ActionArgs<{
|
|
1489
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1490
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1491
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1492
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1493
|
+
values: "page";
|
|
1494
|
+
}>) => void | undefined;
|
|
1495
|
+
readonly reportStop: ({ props, event }: import("@rind-ui/core").ActionArgs<{
|
|
1496
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1497
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1498
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1499
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1500
|
+
values: "page";
|
|
1501
|
+
}>) => void | undefined;
|
|
1502
|
+
};
|
|
1503
|
+
readonly effects: {
|
|
1504
|
+
readonly waiting: ({ context, env, send }: import("@rind-ui/core").EffectArgs<{
|
|
1505
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1506
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1507
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1508
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1509
|
+
values: "page";
|
|
1510
|
+
}>) => () => void;
|
|
1511
|
+
readonly watch: ({ env, send }: import("@rind-ui/core").EffectArgs<{
|
|
1512
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1513
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1514
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1515
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1516
|
+
values: "page";
|
|
1517
|
+
}>) => () => void;
|
|
1518
|
+
readonly autostart: ({ props, env, send }: import("@rind-ui/core").EffectArgs<{
|
|
1519
|
+
props: import("@rind-ui/core").CarouselProps;
|
|
1520
|
+
events: import("@rind-ui/core").CarouselEvent;
|
|
1521
|
+
env: import("@rind-ui/core").CarouselEnv;
|
|
1522
|
+
context: import("@rind-ui/core").CarouselContext;
|
|
1523
|
+
values: "page";
|
|
1524
|
+
}>) => undefined;
|
|
1525
|
+
};
|
|
1526
|
+
}, Record<never, never>>, "autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport", readonly [anchor?: {
|
|
1527
|
+
readonly name: string | RegExp;
|
|
1528
|
+
} | undefined], {
|
|
1529
|
+
readonly page: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<number>;
|
|
1530
|
+
readonly pageCount: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<number>;
|
|
1531
|
+
readonly isPlaying: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<boolean>;
|
|
1532
|
+
readonly statusText: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<string>;
|
|
1533
|
+
}, {
|
|
1534
|
+
readonly next: {
|
|
1535
|
+
pointer: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1536
|
+
touch: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1537
|
+
keyboard: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1538
|
+
done: () => Promise<boolean>;
|
|
1539
|
+
};
|
|
1540
|
+
readonly prev: {
|
|
1541
|
+
pointer: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1542
|
+
touch: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1543
|
+
keyboard: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1544
|
+
done: () => Promise<boolean>;
|
|
1545
|
+
};
|
|
1546
|
+
readonly goTo: {
|
|
1547
|
+
pointer: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">, p: number) => Promise<void>;
|
|
1548
|
+
touch: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">, p: number) => Promise<void>;
|
|
1549
|
+
keyboard: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">, p: number) => Promise<void>;
|
|
1550
|
+
done: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">, p: number) => Promise<boolean>;
|
|
1551
|
+
};
|
|
1552
|
+
readonly play: {
|
|
1553
|
+
pointer: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1554
|
+
touch: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1555
|
+
keyboard: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1556
|
+
done: () => Promise<boolean>;
|
|
1557
|
+
};
|
|
1558
|
+
readonly pause: {
|
|
1559
|
+
pointer: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1560
|
+
touch: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1561
|
+
keyboard: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<void>;
|
|
1562
|
+
done: (env: import("@rind-ui/core").Env<"autoplay-trigger" | "control" | "indicator" | "indicator-group" | "next-trigger" | "prev-trigger" | "root" | "slide" | "status" | "viewport">) => Promise<boolean>;
|
|
1563
|
+
};
|
|
1564
|
+
}>>;
|
|
1565
|
+
//#endregion
|
|
1172
1566
|
//#region src/components/checkbox.d.ts
|
|
1173
1567
|
/** A driver for the Checkbox named `name`. */
|
|
1174
1568
|
export declare function getCheckbox(target: Target, anchor: {
|
|
@@ -1542,6 +1936,72 @@ export declare function getCheckboxGroup(target: Target, anchor: {
|
|
|
1542
1936
|
};
|
|
1543
1937
|
}>>;
|
|
1544
1938
|
//#endregion
|
|
1939
|
+
//#region src/components/citation.d.ts
|
|
1940
|
+
/** A driver for the citation marker named `name`, or the first in `target`. */
|
|
1941
|
+
export declare function getCitation(target: Target, anchor?: {
|
|
1942
|
+
readonly name: string | RegExp;
|
|
1943
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"idle" | "pinned", {
|
|
1944
|
+
props: import("@rind-ui/core").CitationProps;
|
|
1945
|
+
events: import("@rind-ui/core").CitationEvent;
|
|
1946
|
+
env: Record<never, never>;
|
|
1947
|
+
}, {
|
|
1948
|
+
readonly types: {
|
|
1949
|
+
props: import("@rind-ui/core").CitationProps;
|
|
1950
|
+
events: import("@rind-ui/core").CitationEvent;
|
|
1951
|
+
env: Record<never, never>;
|
|
1952
|
+
};
|
|
1953
|
+
readonly guards: {
|
|
1954
|
+
readonly pins: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
1955
|
+
props: import("@rind-ui/core").CitationProps;
|
|
1956
|
+
events: import("@rind-ui/core").CitationEvent;
|
|
1957
|
+
env: Record<never, never>;
|
|
1958
|
+
}>) => boolean;
|
|
1959
|
+
};
|
|
1960
|
+
readonly actions: {
|
|
1961
|
+
readonly pinned: ({ props }: import("@rind-ui/core").ActionArgs<{
|
|
1962
|
+
props: import("@rind-ui/core").CitationProps;
|
|
1963
|
+
events: import("@rind-ui/core").CitationEvent;
|
|
1964
|
+
env: Record<never, never>;
|
|
1965
|
+
}>) => void | undefined;
|
|
1966
|
+
readonly unpinned: ({ props }: import("@rind-ui/core").ActionArgs<{
|
|
1967
|
+
props: import("@rind-ui/core").CitationProps;
|
|
1968
|
+
events: import("@rind-ui/core").CitationEvent;
|
|
1969
|
+
env: Record<never, never>;
|
|
1970
|
+
}>) => void | undefined;
|
|
1971
|
+
};
|
|
1972
|
+
}, Record<never, never>>, "cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger", readonly [anchor?: {
|
|
1973
|
+
readonly name: string | RegExp;
|
|
1974
|
+
} | undefined], {
|
|
1975
|
+
readonly isOpen: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<boolean>;
|
|
1976
|
+
readonly isPinned: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<boolean>;
|
|
1977
|
+
readonly kind: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<string | null>;
|
|
1978
|
+
readonly href: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<string | null>;
|
|
1979
|
+
readonly sourceTitle: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<string>;
|
|
1980
|
+
}, {
|
|
1981
|
+
readonly show: {
|
|
1982
|
+
readonly pointer: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<void>;
|
|
1983
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<void>;
|
|
1984
|
+
readonly none: {
|
|
1985
|
+
readonly touch: "a touch pins a button marker (pin) or follows a link";
|
|
1986
|
+
};
|
|
1987
|
+
readonly done: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<boolean>;
|
|
1988
|
+
};
|
|
1989
|
+
readonly pin: {
|
|
1990
|
+
pointer: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<void>;
|
|
1991
|
+
touch: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<void>;
|
|
1992
|
+
keyboard: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<void>;
|
|
1993
|
+
done: () => Promise<boolean>;
|
|
1994
|
+
};
|
|
1995
|
+
readonly hide: {
|
|
1996
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"cited-text" | "source" | "source-link" | "source-snippet" | "source-title" | "source-url" | "trigger">) => Promise<void>;
|
|
1997
|
+
readonly none: {
|
|
1998
|
+
readonly pointer: "the pointer leaves or presses outside";
|
|
1999
|
+
readonly touch: "a press outside";
|
|
2000
|
+
};
|
|
2001
|
+
readonly done: () => Promise<boolean>;
|
|
2002
|
+
};
|
|
2003
|
+
}>>;
|
|
2004
|
+
//#endregion
|
|
1545
2005
|
//#region src/components/clipboard.d.ts
|
|
1546
2006
|
/** A driver for the Clipboard labelled `label`, or the only one in `target`. */
|
|
1547
2007
|
export declare function getClipboard(target: Target, anchor?: {
|
|
@@ -4253,6 +4713,148 @@ export declare function getColorPicker(target: Target, anchor: {
|
|
|
4253
4713
|
eyeDropper: (result: FakeResult, win?: unknown) => () => void;
|
|
4254
4714
|
};
|
|
4255
4715
|
//#endregion
|
|
4716
|
+
//#region src/components/color-wheel.d.ts
|
|
4717
|
+
/** A driver for the Color Wheel labelled `label`, or the only one in `target`. */
|
|
4718
|
+
export declare function getColorWheel(target: Target, anchor?: {
|
|
4719
|
+
readonly label: string | RegExp;
|
|
4720
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"dragging" | "idle", {
|
|
4721
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4722
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4723
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4724
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4725
|
+
values: "value";
|
|
4726
|
+
}, {
|
|
4727
|
+
readonly types: {
|
|
4728
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4729
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4730
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4731
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4732
|
+
values: "value";
|
|
4733
|
+
};
|
|
4734
|
+
readonly guards: {
|
|
4735
|
+
readonly canChange: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
4736
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4737
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4738
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4739
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4740
|
+
values: "value";
|
|
4741
|
+
}>) => boolean;
|
|
4742
|
+
readonly enabled: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
4743
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4744
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4745
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4746
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4747
|
+
values: "value";
|
|
4748
|
+
}>) => boolean;
|
|
4749
|
+
};
|
|
4750
|
+
readonly actions: {
|
|
4751
|
+
readonly recordStart: (a: import("@rind-ui/core").ActionArgs<{
|
|
4752
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4753
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4754
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4755
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4756
|
+
values: "value";
|
|
4757
|
+
}>) => void;
|
|
4758
|
+
readonly focusInput: ({ env, event }: import("@rind-ui/core").ActionArgs<{
|
|
4759
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4760
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4761
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4762
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4763
|
+
values: "value";
|
|
4764
|
+
}>) => void;
|
|
4765
|
+
readonly setFromPress: (a: import("@rind-ui/core").ActionArgs<{
|
|
4766
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4767
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4768
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4769
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4770
|
+
values: "value";
|
|
4771
|
+
}>) => void;
|
|
4772
|
+
readonly setFromPointer: (a: import("@rind-ui/core").ActionArgs<{
|
|
4773
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4774
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4775
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4776
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4777
|
+
values: "value";
|
|
4778
|
+
}>) => void;
|
|
4779
|
+
readonly commitIfChanged: (a: import("@rind-ui/core").ActionArgs<{
|
|
4780
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4781
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4782
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4783
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4784
|
+
values: "value";
|
|
4785
|
+
}>) => void;
|
|
4786
|
+
readonly restoreStart: (a: import("@rind-ui/core").ActionArgs<{
|
|
4787
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4788
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4789
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4790
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4791
|
+
values: "value";
|
|
4792
|
+
}>) => void;
|
|
4793
|
+
readonly step: (a: import("@rind-ui/core").ActionArgs<{
|
|
4794
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4795
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4796
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4797
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4798
|
+
values: "value";
|
|
4799
|
+
}>) => void;
|
|
4800
|
+
readonly setFromInput: (a: import("@rind-ui/core").ActionArgs<{
|
|
4801
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4802
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4803
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4804
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4805
|
+
values: "value";
|
|
4806
|
+
}>) => void;
|
|
4807
|
+
readonly restoreDefault: (a: import("@rind-ui/core").ActionArgs<{
|
|
4808
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4809
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4810
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4811
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4812
|
+
values: "value";
|
|
4813
|
+
}>) => void;
|
|
4814
|
+
};
|
|
4815
|
+
readonly effects: {
|
|
4816
|
+
readonly trackDrag: ({ env, send }: import("@rind-ui/core").EffectArgs<{
|
|
4817
|
+
props: import("@rind-ui/core").AngleSliderProps;
|
|
4818
|
+
events: import("@rind-ui/core").AngleSliderEvent;
|
|
4819
|
+
env: import("@rind-ui/core").AngleSliderEnv;
|
|
4820
|
+
context: import("@rind-ui/core").AngleSliderContext;
|
|
4821
|
+
values: "value";
|
|
4822
|
+
}>) => (() => void) | undefined;
|
|
4823
|
+
};
|
|
4824
|
+
}, Record<never, never>>, "hidden-input" | "input" | "label" | "root" | "thumb" | "track" | "value", readonly [anchor?: {
|
|
4825
|
+
readonly label: string | RegExp;
|
|
4826
|
+
} | undefined], {
|
|
4827
|
+
readonly hue: (env: import("@rind-ui/core").Env<"hidden-input" | "input" | "label" | "root" | "thumb" | "track" | "value">) => Promise<number>;
|
|
4828
|
+
readonly value: (env: import("@rind-ui/core").Env<"hidden-input" | "input" | "label" | "root" | "thumb" | "track" | "value">) => Promise<string>;
|
|
4829
|
+
readonly valueText: (env: import("@rind-ui/core").Env<"hidden-input" | "input" | "label" | "root" | "thumb" | "track" | "value">) => Promise<string>;
|
|
4830
|
+
readonly isDragging: (env: import("@rind-ui/core").Env<"hidden-input" | "input" | "label" | "root" | "thumb" | "track" | "value">) => Promise<boolean>;
|
|
4831
|
+
}, {
|
|
4832
|
+
readonly setHue: {
|
|
4833
|
+
readonly pointer: (env: import("@rind-ui/core").Env<"hidden-input" | "input" | "label" | "root" | "thumb" | "track" | "value">, hue: number) => Promise<void>;
|
|
4834
|
+
readonly touch: (env: import("@rind-ui/core").Env<"hidden-input" | "input" | "label" | "root" | "thumb" | "track" | "value">, hue: number) => Promise<void>;
|
|
4835
|
+
readonly none: {
|
|
4836
|
+
readonly keyboard: "a keyboard reaches a hue with step and toEdge";
|
|
4837
|
+
};
|
|
4838
|
+
readonly done: () => Promise<boolean>;
|
|
4839
|
+
};
|
|
4840
|
+
readonly step: {
|
|
4841
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"hidden-input" | "input" | "label" | "root" | "thumb" | "track" | "value">, steps: number) => Promise<void>;
|
|
4842
|
+
readonly none: {
|
|
4843
|
+
readonly pointer: "a pointer sets a hue (setHue)";
|
|
4844
|
+
readonly touch: "a pointer sets a hue";
|
|
4845
|
+
};
|
|
4846
|
+
readonly done: () => Promise<boolean>;
|
|
4847
|
+
};
|
|
4848
|
+
readonly toEdge: {
|
|
4849
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"hidden-input" | "input" | "label" | "root" | "thumb" | "track" | "value">, edge: "min" | "max") => Promise<void>;
|
|
4850
|
+
readonly none: {
|
|
4851
|
+
readonly pointer: "a pointer sets a hue (setHue)";
|
|
4852
|
+
readonly touch: "a pointer sets a hue";
|
|
4853
|
+
};
|
|
4854
|
+
readonly done: () => Promise<boolean>;
|
|
4855
|
+
};
|
|
4856
|
+
}>>;
|
|
4857
|
+
//#endregion
|
|
4256
4858
|
//#region src/components/combobox.d.ts
|
|
4257
4859
|
type Anchor$1 = {
|
|
4258
4860
|
readonly name: string | RegExp;
|
|
@@ -4729,6 +5331,52 @@ export declare function getContextMenu(target: Target, anchor: {
|
|
|
4729
5331
|
};
|
|
4730
5332
|
}>>;
|
|
4731
5333
|
//#endregion
|
|
5334
|
+
//#region src/components/context-meter.d.ts
|
|
5335
|
+
/** A driver for the Context Meter named `name`, or the only one in `target`. */
|
|
5336
|
+
export declare function getContextMeter(target: Target, anchor?: {
|
|
5337
|
+
readonly name: string | RegExp;
|
|
5338
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"live", {
|
|
5339
|
+
props: import("@rind-ui/core").ContextMeterProps;
|
|
5340
|
+
events: import("@rind-ui/core").ContextMeterEvent;
|
|
5341
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
5342
|
+
context: import("@rind-ui/core").ContextMeterContext;
|
|
5343
|
+
}, {
|
|
5344
|
+
readonly types: {
|
|
5345
|
+
props: import("@rind-ui/core").ContextMeterProps;
|
|
5346
|
+
events: import("@rind-ui/core").ContextMeterEvent;
|
|
5347
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
5348
|
+
context: import("@rind-ui/core").ContextMeterContext;
|
|
5349
|
+
};
|
|
5350
|
+
readonly actions: {
|
|
5351
|
+
readonly sync: ({ context, env, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
5352
|
+
props: import("@rind-ui/core").ContextMeterProps;
|
|
5353
|
+
events: import("@rind-ui/core").ContextMeterEvent;
|
|
5354
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
5355
|
+
context: import("@rind-ui/core").ContextMeterContext;
|
|
5356
|
+
}>) => void;
|
|
5357
|
+
readonly rearm: ({ props, set }: import("@rind-ui/core").ActionArgs<{
|
|
5358
|
+
props: import("@rind-ui/core").ContextMeterProps;
|
|
5359
|
+
events: import("@rind-ui/core").ContextMeterEvent;
|
|
5360
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
5361
|
+
context: import("@rind-ui/core").ContextMeterContext;
|
|
5362
|
+
}>) => void;
|
|
5363
|
+
};
|
|
5364
|
+
readonly effects: {
|
|
5365
|
+
readonly prepareAnnouncer: ({ env }: import("@rind-ui/core").EffectArgs<{
|
|
5366
|
+
props: import("@rind-ui/core").ContextMeterProps;
|
|
5367
|
+
events: import("@rind-ui/core").ContextMeterEvent;
|
|
5368
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
5369
|
+
context: import("@rind-ui/core").ContextMeterContext;
|
|
5370
|
+
}>) => () => void;
|
|
5371
|
+
};
|
|
5372
|
+
}, Record<never, never>>, "breakdown" | "breakdown-item" | "indicator" | "label" | "root" | "track" | "value-text", readonly [anchor?: {
|
|
5373
|
+
readonly name: string | RegExp;
|
|
5374
|
+
} | undefined], {
|
|
5375
|
+
readonly state: (env: import("@rind-ui/core").Env<"breakdown" | "breakdown-item" | "indicator" | "label" | "root" | "track" | "value-text">) => Promise<import("@rind-ui/core").ContextMeterState>;
|
|
5376
|
+
readonly percent: (env: import("@rind-ui/core").Env<"breakdown" | "breakdown-item" | "indicator" | "label" | "root" | "track" | "value-text">) => Promise<number>;
|
|
5377
|
+
readonly valueText: (env: import("@rind-ui/core").Env<"breakdown" | "breakdown-item" | "indicator" | "label" | "root" | "track" | "value-text">) => Promise<string>;
|
|
5378
|
+
}, {}>>;
|
|
5379
|
+
//#endregion
|
|
4732
5380
|
//#region src/components/date-field.d.ts
|
|
4733
5381
|
type RangeDriver = ReturnType<typeof createDriverWith<typeof dateRangeFieldContract>>;
|
|
4734
5382
|
type SingleDriver = ReturnType<typeof createDriverWith<typeof dateFieldContract>>;
|
|
@@ -5094,46 +5742,160 @@ export declare function getDrawer(target: Target, anchor: {
|
|
|
5094
5742
|
};
|
|
5095
5743
|
}>>;
|
|
5096
5744
|
//#endregion
|
|
5097
|
-
//#region src/components/
|
|
5098
|
-
|
|
5745
|
+
//#region src/components/editable.d.ts
|
|
5746
|
+
/** A driver for the Editable labelled `label`, or the only one in `target`. */
|
|
5747
|
+
export declare function getEditable(target: Target, anchor?: {
|
|
5099
5748
|
readonly label: string | RegExp;
|
|
5100
|
-
}
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
readonly
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
readonly
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
readonly
|
|
5132
|
-
props: import("@rind-ui/core").
|
|
5133
|
-
events: import("@rind-ui/core").
|
|
5134
|
-
env:
|
|
5135
|
-
context: import("@rind-ui/core").
|
|
5136
|
-
|
|
5749
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"edit" | "preview", {
|
|
5750
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5751
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5752
|
+
env: object;
|
|
5753
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5754
|
+
values: "value" | "edit";
|
|
5755
|
+
}, {
|
|
5756
|
+
readonly types: {
|
|
5757
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5758
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5759
|
+
env: object;
|
|
5760
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5761
|
+
values: "value" | "edit";
|
|
5762
|
+
};
|
|
5763
|
+
readonly guards: {
|
|
5764
|
+
readonly editable: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
5765
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5766
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5767
|
+
env: object;
|
|
5768
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5769
|
+
values: "value" | "edit";
|
|
5770
|
+
}>) => boolean;
|
|
5771
|
+
readonly outsideSubmits: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
5772
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5773
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5774
|
+
env: object;
|
|
5775
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5776
|
+
values: "value" | "edit";
|
|
5777
|
+
}>) => boolean;
|
|
5778
|
+
};
|
|
5779
|
+
readonly actions: {
|
|
5780
|
+
readonly begin: (a: import("@rind-ui/core").ActionArgs<{
|
|
5781
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5782
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5783
|
+
env: object;
|
|
5784
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5785
|
+
values: "value" | "edit";
|
|
5786
|
+
}>) => void;
|
|
5787
|
+
readonly draft: ({ event, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
5788
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5789
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5790
|
+
env: object;
|
|
5791
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5792
|
+
values: "value" | "edit";
|
|
5793
|
+
}>) => void;
|
|
5794
|
+
readonly commit: (a: import("@rind-ui/core").ActionArgs<{
|
|
5795
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5796
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5797
|
+
env: object;
|
|
5798
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5799
|
+
values: "value" | "edit";
|
|
5800
|
+
}>) => void;
|
|
5801
|
+
readonly restore: ({ context, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
5802
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5803
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5804
|
+
env: object;
|
|
5805
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5806
|
+
values: "value" | "edit";
|
|
5807
|
+
}>) => void;
|
|
5808
|
+
readonly focusBack: ({ event, props }: import("@rind-ui/core").ActionArgs<{
|
|
5809
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5810
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5811
|
+
env: object;
|
|
5812
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5813
|
+
values: "value" | "edit";
|
|
5814
|
+
}>) => void;
|
|
5815
|
+
readonly restoreDefault: (a: import("@rind-ui/core").ActionArgs<{
|
|
5816
|
+
props: import("@rind-ui/core").EditableProps;
|
|
5817
|
+
events: import("@rind-ui/core").EditableEvent;
|
|
5818
|
+
env: object;
|
|
5819
|
+
context: import("@rind-ui/core").EditableContext;
|
|
5820
|
+
values: "value" | "edit";
|
|
5821
|
+
}>) => void;
|
|
5822
|
+
};
|
|
5823
|
+
}, Record<never, never>>, "area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger", readonly [anchor?: {
|
|
5824
|
+
readonly label: string | RegExp;
|
|
5825
|
+
} | undefined], {
|
|
5826
|
+
readonly isEditing: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<boolean>;
|
|
5827
|
+
readonly value: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<string>;
|
|
5828
|
+
readonly draft: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<string>;
|
|
5829
|
+
readonly previewText: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<string>;
|
|
5830
|
+
}, {
|
|
5831
|
+
readonly edit: {
|
|
5832
|
+
pointer: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<void>;
|
|
5833
|
+
touch: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<void>;
|
|
5834
|
+
keyboard: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<void>;
|
|
5835
|
+
done: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<boolean>;
|
|
5836
|
+
};
|
|
5837
|
+
readonly type: {
|
|
5838
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">, text: string) => Promise<void>;
|
|
5839
|
+
readonly none: {
|
|
5840
|
+
readonly pointer: "typing is the keyboard's";
|
|
5841
|
+
readonly touch: "typing is the keyboard's";
|
|
5842
|
+
};
|
|
5843
|
+
readonly done: () => Promise<boolean>;
|
|
5844
|
+
};
|
|
5845
|
+
readonly submit: {
|
|
5846
|
+
keyboard: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<void>;
|
|
5847
|
+
pointer: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<void>;
|
|
5848
|
+
touch: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<void>;
|
|
5849
|
+
done: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<boolean>;
|
|
5850
|
+
};
|
|
5851
|
+
readonly cancel: {
|
|
5852
|
+
keyboard: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<void>;
|
|
5853
|
+
pointer: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<void>;
|
|
5854
|
+
touch: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<void>;
|
|
5855
|
+
done: (env: import("@rind-ui/core").Env<"area" | "cancel-trigger" | "control" | "edit-trigger" | "hidden-input" | "input" | "label" | "preview" | "root" | "submit-trigger">) => Promise<boolean>;
|
|
5856
|
+
};
|
|
5857
|
+
}>>;
|
|
5858
|
+
//#endregion
|
|
5859
|
+
//#region src/components/field.d.ts
|
|
5860
|
+
type Anchor = {
|
|
5861
|
+
readonly label: string | RegExp;
|
|
5862
|
+
};
|
|
5863
|
+
/**
|
|
5864
|
+
* A driver for the Field labelled `label`. `.control(getX)` builds the control's driver,
|
|
5865
|
+
* located by the name the Field's Label gives it (driver composition, spec "Contract").
|
|
5866
|
+
*/
|
|
5867
|
+
export declare function getField(target: Target, anchor: Anchor, options?: DriverOptions): {
|
|
5868
|
+
readonly focus: () => Promise<void>;
|
|
5869
|
+
readonly blur: () => Promise<void>;
|
|
5870
|
+
readonly type: () => Promise<void>;
|
|
5871
|
+
} & {
|
|
5872
|
+
readonly isValid: () => Promise<boolean>;
|
|
5873
|
+
readonly isInvalid: () => Promise<boolean>;
|
|
5874
|
+
readonly isValidating: () => Promise<boolean>;
|
|
5875
|
+
readonly isTouched: () => Promise<boolean>;
|
|
5876
|
+
readonly isDirty: () => Promise<boolean>;
|
|
5877
|
+
readonly isFilled: () => Promise<boolean>;
|
|
5878
|
+
readonly isRequired: () => Promise<boolean>;
|
|
5879
|
+
readonly isDisabled: () => Promise<boolean>;
|
|
5880
|
+
readonly isReadOnly: () => Promise<boolean>;
|
|
5881
|
+
readonly errors: () => Promise<string[]>;
|
|
5882
|
+
readonly description: () => Promise<string | null>;
|
|
5883
|
+
readonly label: () => Promise<string | null>;
|
|
5884
|
+
readonly controlName: () => Promise<string | null>;
|
|
5885
|
+
readonly controlDescription: () => Promise<string | null>;
|
|
5886
|
+
} & {
|
|
5887
|
+
via(modality: ContractModality<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"idle" | "invalid" | "valid" | "validating", {
|
|
5888
|
+
props: import("@rind-ui/core").FieldProps;
|
|
5889
|
+
events: import("@rind-ui/core").FieldEvent;
|
|
5890
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").SchedulerEnv & import("@rind-ui/core").ValidityEnv;
|
|
5891
|
+
context: import("@rind-ui/core").FieldContext;
|
|
5892
|
+
}, {
|
|
5893
|
+
readonly types: {
|
|
5894
|
+
props: import("@rind-ui/core").FieldProps;
|
|
5895
|
+
events: import("@rind-ui/core").FieldEvent;
|
|
5896
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").SchedulerEnv & import("@rind-ui/core").ValidityEnv;
|
|
5897
|
+
context: import("@rind-ui/core").FieldContext;
|
|
5898
|
+
};
|
|
5137
5899
|
readonly guards: {
|
|
5138
5900
|
readonly pendingAsync: ({ context }: import("@rind-ui/core").GuardArgs<{
|
|
5139
5901
|
props: import("@rind-ui/core").FieldProps;
|
|
@@ -5953,6 +6715,179 @@ export declare function getFileUpload(target: Target, anchor?: {
|
|
|
5953
6715
|
};
|
|
5954
6716
|
}>>;
|
|
5955
6717
|
//#endregion
|
|
6718
|
+
//#region src/components/floating-panel.d.ts
|
|
6719
|
+
/** A driver for the Floating Panel titled `title`, or the only one in `target`. */
|
|
6720
|
+
export declare function getFloatingPanel(target: Target, anchor?: {
|
|
6721
|
+
readonly title: string | RegExp;
|
|
6722
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"idle" | "moving" | "resizing", {
|
|
6723
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6724
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6725
|
+
env: object;
|
|
6726
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6727
|
+
values: "position" | "size" | "stage";
|
|
6728
|
+
}, {
|
|
6729
|
+
readonly types: {
|
|
6730
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6731
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6732
|
+
env: object;
|
|
6733
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6734
|
+
values: "position" | "size" | "stage";
|
|
6735
|
+
};
|
|
6736
|
+
readonly guards: {
|
|
6737
|
+
readonly canMove: ({ props, values }: import("@rind-ui/core").GuardArgs<{
|
|
6738
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6739
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6740
|
+
env: object;
|
|
6741
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6742
|
+
values: "position" | "size" | "stage";
|
|
6743
|
+
}>) => boolean;
|
|
6744
|
+
readonly canResize: ({ props, values }: import("@rind-ui/core").GuardArgs<{
|
|
6745
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6746
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6747
|
+
env: object;
|
|
6748
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6749
|
+
values: "position" | "size" | "stage";
|
|
6750
|
+
}>) => boolean;
|
|
6751
|
+
readonly enabled: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
6752
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6753
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6754
|
+
env: object;
|
|
6755
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6756
|
+
values: "position" | "size" | "stage";
|
|
6757
|
+
}>) => boolean;
|
|
6758
|
+
readonly isMove: ({ event }: import("@rind-ui/core").GuardArgs<{
|
|
6759
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6760
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6761
|
+
env: object;
|
|
6762
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6763
|
+
values: "position" | "size" | "stage";
|
|
6764
|
+
}>) => boolean;
|
|
6765
|
+
};
|
|
6766
|
+
readonly actions: {
|
|
6767
|
+
readonly recordAxis: ({ event, set }: import("@rind-ui/core").ActionArgs<{
|
|
6768
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6769
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6770
|
+
env: object;
|
|
6771
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6772
|
+
values: "position" | "size" | "stage";
|
|
6773
|
+
}>) => void;
|
|
6774
|
+
readonly endMove: (a: import("@rind-ui/core").ActionArgs<{
|
|
6775
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6776
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6777
|
+
env: object;
|
|
6778
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6779
|
+
values: "position" | "size" | "stage";
|
|
6780
|
+
}>) => void;
|
|
6781
|
+
readonly endResize: (a: import("@rind-ui/core").ActionArgs<{
|
|
6782
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6783
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6784
|
+
env: object;
|
|
6785
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6786
|
+
values: "position" | "size" | "stage";
|
|
6787
|
+
}>) => void;
|
|
6788
|
+
readonly clearAxis: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
6789
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6790
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6791
|
+
env: object;
|
|
6792
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6793
|
+
values: "position" | "size" | "stage";
|
|
6794
|
+
}>) => void;
|
|
6795
|
+
readonly moveStep: (a: import("@rind-ui/core").ActionArgs<{
|
|
6796
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6797
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6798
|
+
env: object;
|
|
6799
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6800
|
+
values: "position" | "size" | "stage";
|
|
6801
|
+
}>) => void;
|
|
6802
|
+
readonly resizeStep: (a: import("@rind-ui/core").ActionArgs<{
|
|
6803
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6804
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6805
|
+
env: object;
|
|
6806
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6807
|
+
values: "position" | "size" | "stage";
|
|
6808
|
+
}>) => void;
|
|
6809
|
+
readonly setStage: (a: import("@rind-ui/core").ActionArgs<{
|
|
6810
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6811
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6812
|
+
env: object;
|
|
6813
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6814
|
+
values: "position" | "size" | "stage";
|
|
6815
|
+
}>) => void;
|
|
6816
|
+
readonly setBoundary: (a: import("@rind-ui/core").ActionArgs<{
|
|
6817
|
+
props: import("@rind-ui/core").FloatingPanelProps;
|
|
6818
|
+
events: import("@rind-ui/core").FloatingPanelEvent;
|
|
6819
|
+
env: object;
|
|
6820
|
+
context: import("@rind-ui/core").FloatingPanelContext;
|
|
6821
|
+
values: "position" | "size" | "stage";
|
|
6822
|
+
}>) => void;
|
|
6823
|
+
};
|
|
6824
|
+
}, Record<never, never>>, "body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger", readonly [anchor?: {
|
|
6825
|
+
readonly title: string | RegExp;
|
|
6826
|
+
} | undefined], {
|
|
6827
|
+
readonly isOpen: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<boolean>;
|
|
6828
|
+
readonly position: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<{
|
|
6829
|
+
x: number;
|
|
6830
|
+
y: number;
|
|
6831
|
+
}>;
|
|
6832
|
+
readonly size: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<{
|
|
6833
|
+
width: number;
|
|
6834
|
+
height: number;
|
|
6835
|
+
}>;
|
|
6836
|
+
readonly stage: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<string>;
|
|
6837
|
+
readonly isDragging: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<boolean>;
|
|
6838
|
+
}, {
|
|
6839
|
+
readonly open: {
|
|
6840
|
+
pointer: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6841
|
+
touch: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6842
|
+
keyboard: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6843
|
+
done: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<boolean>;
|
|
6844
|
+
};
|
|
6845
|
+
readonly close: {
|
|
6846
|
+
pointer: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6847
|
+
touch: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6848
|
+
keyboard: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6849
|
+
done: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<boolean>;
|
|
6850
|
+
};
|
|
6851
|
+
readonly moveBy: {
|
|
6852
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">, dx: number, dy: number) => Promise<void>;
|
|
6853
|
+
readonly none: {
|
|
6854
|
+
readonly pointer: "a pointer drag needs layout (browser tests)";
|
|
6855
|
+
readonly touch: "a pointer drag needs layout";
|
|
6856
|
+
};
|
|
6857
|
+
readonly done: () => Promise<boolean>;
|
|
6858
|
+
};
|
|
6859
|
+
readonly resizeBy: {
|
|
6860
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">, dx: number, dy: number) => Promise<void>;
|
|
6861
|
+
readonly none: {
|
|
6862
|
+
readonly pointer: "a pointer drag needs layout (browser tests)";
|
|
6863
|
+
readonly touch: "a pointer drag needs layout";
|
|
6864
|
+
};
|
|
6865
|
+
readonly done: () => Promise<boolean>;
|
|
6866
|
+
};
|
|
6867
|
+
readonly minimize: {
|
|
6868
|
+
readonly pointer: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6869
|
+
readonly touch: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6870
|
+
readonly none: {
|
|
6871
|
+
readonly keyboard: "the same button by keyboard: use pointer or virtual";
|
|
6872
|
+
};
|
|
6873
|
+
readonly done: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<boolean>;
|
|
6874
|
+
};
|
|
6875
|
+
readonly maximize: {
|
|
6876
|
+
pointer: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6877
|
+
touch: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6878
|
+
keyboard: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6879
|
+
done: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<boolean>;
|
|
6880
|
+
};
|
|
6881
|
+
readonly restore: {
|
|
6882
|
+
readonly pointer: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6883
|
+
readonly touch: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<void>;
|
|
6884
|
+
readonly none: {
|
|
6885
|
+
readonly keyboard: "the same button by keyboard: use pointer or virtual";
|
|
6886
|
+
};
|
|
6887
|
+
readonly done: (env: import("@rind-ui/core").Env<"body" | "close-trigger" | "content" | "control" | "description" | "drag-hint" | "drag-trigger" | "header" | "positioner" | "resize-trigger" | "root" | "stage-trigger" | "title" | "trigger">) => Promise<boolean>;
|
|
6888
|
+
};
|
|
6889
|
+
}>>;
|
|
6890
|
+
//#endregion
|
|
5956
6891
|
//#region src/components/form.d.ts
|
|
5957
6892
|
/** A driver for the Form named `name`: `submit`, `reset`, `validate`, and its queries. */
|
|
5958
6893
|
export declare function getForm(target: Target, anchor: {
|
|
@@ -7136,105 +8071,528 @@ export declare function getImageViewer(target: Target, anchor?: {
|
|
|
7136
8071
|
};
|
|
7137
8072
|
}>>;
|
|
7138
8073
|
//#endregion
|
|
7139
|
-
//#region src/components/
|
|
7140
|
-
/**
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
events: {
|
|
7146
|
-
type: "$none";
|
|
7147
|
-
};
|
|
7148
|
-
env: Record<never, never>;
|
|
7149
|
-
}, import("@rind-ui/core").Implementations<{
|
|
7150
|
-
props: Record<never, never>;
|
|
7151
|
-
events: {
|
|
7152
|
-
type: "$none";
|
|
7153
|
-
};
|
|
7154
|
-
env: Record<never, never>;
|
|
7155
|
-
}>, Record<never, never>>, "key" | "root" | "separator", readonly [anchor?: {
|
|
7156
|
-
readonly text?: string | RegExp;
|
|
7157
|
-
} | undefined], {
|
|
7158
|
-
readonly keys: (env: import("@rind-ui/core").Env<"key" | "root" | "separator">) => Promise<string[]>;
|
|
7159
|
-
readonly platform: (env: import("@rind-ui/core").Env<"key" | "root" | "separator">) => Promise<string>;
|
|
7160
|
-
}, {}>>;
|
|
7161
|
-
//#endregion
|
|
7162
|
-
//#region src/components/label.d.ts
|
|
7163
|
-
/** A driver for the Label with exactly this text: `click`, `doubleClick` and queries. */
|
|
7164
|
-
export declare function getLabel(target: Target, anchor: {
|
|
7165
|
-
readonly text: string | RegExp;
|
|
7166
|
-
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"static", {
|
|
7167
|
-
props: Record<never, never>;
|
|
7168
|
-
events: {
|
|
7169
|
-
type: "$none";
|
|
7170
|
-
};
|
|
7171
|
-
env: Record<never, never>;
|
|
7172
|
-
}, import("@rind-ui/core").Implementations<{
|
|
7173
|
-
props: Record<never, never>;
|
|
7174
|
-
events: {
|
|
7175
|
-
type: "$none";
|
|
7176
|
-
};
|
|
7177
|
-
env: Record<never, never>;
|
|
7178
|
-
}>, Record<never, never>>, "root", readonly [{
|
|
7179
|
-
readonly text: string | RegExp;
|
|
7180
|
-
}], {
|
|
7181
|
-
readonly text: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<string>;
|
|
7182
|
-
readonly controlName: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<string | null>;
|
|
7183
|
-
readonly isControlFocused: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<boolean>;
|
|
7184
|
-
readonly selectedText: (env: import("@rind-ui/core").Env<"root">) => Promise<string>;
|
|
7185
|
-
}, {
|
|
7186
|
-
readonly click: {
|
|
7187
|
-
readonly pointer: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<void>;
|
|
7188
|
-
readonly none: {
|
|
7189
|
-
keyboard: "a label has no keyboard interaction; keyboard users reach the control with Tab";
|
|
7190
|
-
};
|
|
7191
|
-
readonly done: () => Promise<boolean>;
|
|
7192
|
-
};
|
|
7193
|
-
readonly doubleClick: {
|
|
7194
|
-
readonly pointer: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<void>;
|
|
7195
|
-
readonly none: {
|
|
7196
|
-
keyboard: "a label has no keyboard interaction; keyboard users reach the control with Tab";
|
|
7197
|
-
};
|
|
7198
|
-
readonly done: () => Promise<boolean>;
|
|
7199
|
-
};
|
|
7200
|
-
}>>;
|
|
7201
|
-
//#endregion
|
|
7202
|
-
//#region src/components/link.d.ts
|
|
7203
|
-
/** A driver for the Link named `name`: `follow`, `followInNewTab`, `middleClick` and queries. */
|
|
7204
|
-
export declare function getLink(target: Target, anchor: {
|
|
7205
|
-
readonly name: string | RegExp;
|
|
7206
|
-
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"static", {
|
|
7207
|
-
props: Record<never, never>;
|
|
7208
|
-
events: {
|
|
7209
|
-
type: "$none";
|
|
7210
|
-
};
|
|
7211
|
-
env: Record<never, never>;
|
|
7212
|
-
}, import("@rind-ui/core").Implementations<{
|
|
7213
|
-
props: Record<never, never>;
|
|
7214
|
-
events: {
|
|
7215
|
-
type: "$none";
|
|
7216
|
-
};
|
|
7217
|
-
env: Record<never, never>;
|
|
7218
|
-
}>, Record<never, never>>, "link", readonly [{
|
|
8074
|
+
//#region src/components/json-tree-view.d.ts
|
|
8075
|
+
/**
|
|
8076
|
+
* A driver for the JSON Tree View named `name`: Tree View's actions and queries, plus
|
|
8077
|
+
* `nodeAt(pointer)`, `valueText(pointer)`, `summaryOf(pointer)`, `copy()` and `copyState()`.
|
|
8078
|
+
*/
|
|
8079
|
+
export declare function getJsonTreeView(target: Target, anchor: {
|
|
7219
8080
|
readonly name: string | RegExp;
|
|
7220
|
-
}
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
8081
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"focused" | "idle", {
|
|
8082
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8083
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8084
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8085
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8086
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
7226
8087
|
}, {
|
|
7227
|
-
readonly
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
readonly pointer: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<void>;
|
|
7234
|
-
readonly keyboard: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<void>;
|
|
7235
|
-
readonly done: (env: import("@rind-ui/core").Env<"link">) => Promise<boolean>;
|
|
8088
|
+
readonly types: {
|
|
8089
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8090
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8091
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8092
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8093
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
7236
8094
|
};
|
|
7237
|
-
readonly
|
|
8095
|
+
readonly actions: {
|
|
8096
|
+
readonly highlightInitial: (a: import("@rind-ui/core").ActionArgs<{
|
|
8097
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8098
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8099
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8100
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8101
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8102
|
+
}>) => void;
|
|
8103
|
+
readonly navigate: (a: import("@rind-ui/core").ActionArgs<{
|
|
8104
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8105
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8106
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8107
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8108
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8109
|
+
}>) => void;
|
|
8110
|
+
readonly highlight: (a: import("@rind-ui/core").ActionArgs<{
|
|
8111
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8112
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8113
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8114
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8115
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8116
|
+
}>) => void;
|
|
8117
|
+
readonly pointerMove: (a: import("@rind-ui/core").ActionArgs<{
|
|
8118
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8119
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8120
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8121
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8122
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8123
|
+
}>) => void;
|
|
8124
|
+
readonly typeahead: (a: import("@rind-ui/core").ActionArgs<{
|
|
8125
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8126
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8127
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8128
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8129
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8130
|
+
}>) => void;
|
|
8131
|
+
readonly resetTypeahead: (a: import("@rind-ui/core").ActionArgs<{
|
|
8132
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8133
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8134
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8135
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8136
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8137
|
+
}>) => void;
|
|
8138
|
+
readonly repairCollection: (a: import("@rind-ui/core").ActionArgs<{
|
|
8139
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8140
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8141
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8142
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8143
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8144
|
+
}>) => void;
|
|
8145
|
+
readonly scrollToHighlighted: (a: import("@rind-ui/core").ActionArgs<{
|
|
8146
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8147
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8148
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8149
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8150
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8151
|
+
}>) => void;
|
|
8152
|
+
readonly focusHighlighted: (a: import("@rind-ui/core").ActionArgs<{
|
|
8153
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8154
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8155
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8156
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8157
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8158
|
+
}>) => void;
|
|
8159
|
+
readonly keepFocusInside: (a: import("@rind-ui/core").ActionArgs<{
|
|
8160
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8161
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8162
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8163
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8164
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8165
|
+
}>) => void;
|
|
8166
|
+
readonly select: (a: import("@rind-ui/core").ActionArgs<{
|
|
8167
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8168
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8169
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8170
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8171
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8172
|
+
}>) => void;
|
|
8173
|
+
readonly selectAll: (a: import("@rind-ui/core").ActionArgs<{
|
|
8174
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8175
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8176
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8177
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8178
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8179
|
+
}>) => void;
|
|
8180
|
+
readonly clearSelection: (a: import("@rind-ui/core").ActionArgs<{
|
|
8181
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8182
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8183
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8184
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8185
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8186
|
+
}>) => void;
|
|
8187
|
+
readonly deselect: (a: import("@rind-ui/core").ActionArgs<{
|
|
8188
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8189
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8190
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8191
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8192
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8193
|
+
}>) => void;
|
|
8194
|
+
readonly selectHighlighted: (a: import("@rind-ui/core").ActionArgs<{
|
|
8195
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8196
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8197
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8198
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8199
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8200
|
+
}>) => void;
|
|
8201
|
+
readonly expand: (a: import("@rind-ui/core").ActionArgs<{
|
|
8202
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8203
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8204
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8205
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8206
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8207
|
+
}>) => void;
|
|
8208
|
+
readonly collapse: (a: import("@rind-ui/core").ActionArgs<{
|
|
8209
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8210
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8211
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8212
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8213
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8214
|
+
}>) => void;
|
|
8215
|
+
readonly expandSiblings: (a: import("@rind-ui/core").ActionArgs<{
|
|
8216
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8217
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8218
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8219
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8220
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8221
|
+
}>) => void;
|
|
8222
|
+
readonly expandAll: (a: import("@rind-ui/core").ActionArgs<{
|
|
8223
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8224
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8225
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8226
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8227
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8228
|
+
}>) => void;
|
|
8229
|
+
readonly collapseAll: (a: import("@rind-ui/core").ActionArgs<{
|
|
8230
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8231
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8232
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8233
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8234
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8235
|
+
}>) => void;
|
|
8236
|
+
readonly indicator: (a: import("@rind-ui/core").ActionArgs<{
|
|
8237
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8238
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8239
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8240
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8241
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8242
|
+
}>) => void;
|
|
8243
|
+
readonly check: (a: import("@rind-ui/core").ActionArgs<{
|
|
8244
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8245
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8246
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8247
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8248
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8249
|
+
}>) => void;
|
|
8250
|
+
readonly act: (a: import("@rind-ui/core").ActionArgs<{
|
|
8251
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8252
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8253
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8254
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8255
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8256
|
+
}>) => void;
|
|
8257
|
+
readonly press: (a: import("@rind-ui/core").ActionArgs<{
|
|
8258
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8259
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8260
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8261
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8262
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8263
|
+
}>) => void;
|
|
8264
|
+
readonly settle: (a: import("@rind-ui/core").ActionArgs<{
|
|
8265
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8266
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8267
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8268
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8269
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8270
|
+
}>) => void;
|
|
8271
|
+
readonly settleArrived: (a: import("@rind-ui/core").ActionArgs<{
|
|
8272
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8273
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8274
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8275
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8276
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8277
|
+
}>) => void;
|
|
8278
|
+
readonly syncLoads: (a: import("@rind-ui/core").ActionArgs<{
|
|
8279
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8280
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8281
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8282
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8283
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8284
|
+
}>) => void;
|
|
8285
|
+
readonly moveKey: (a: import("@rind-ui/core").ActionArgs<{
|
|
8286
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8287
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8288
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8289
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8290
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8291
|
+
}>) => void;
|
|
8292
|
+
readonly dragStart: (a: import("@rind-ui/core").ActionArgs<{
|
|
8293
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8294
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8295
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8296
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8297
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8298
|
+
}>) => void;
|
|
8299
|
+
readonly dragOver: (a: import("@rind-ui/core").ActionArgs<{
|
|
8300
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8301
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8302
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8303
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8304
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8305
|
+
}>) => void;
|
|
8306
|
+
readonly dragEnd: (a: import("@rind-ui/core").ActionArgs<{
|
|
8307
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8308
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8309
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8310
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8311
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8312
|
+
}>) => void;
|
|
8313
|
+
readonly dragCancel: (a: import("@rind-ui/core").ActionArgs<{
|
|
8314
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8315
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8316
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8317
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8318
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8319
|
+
}>) => void;
|
|
8320
|
+
readonly dragLost: (a: import("@rind-ui/core").ActionArgs<{
|
|
8321
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8322
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8323
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8324
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8325
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8326
|
+
}>) => void;
|
|
8327
|
+
};
|
|
8328
|
+
readonly guards: {
|
|
8329
|
+
readonly followsFocus: ({ event, props }: import("@rind-ui/core").GuardArgs<{
|
|
8330
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8331
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8332
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8333
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8334
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8335
|
+
}>) => boolean;
|
|
8336
|
+
readonly typeaheadSelects: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
8337
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8338
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8339
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8340
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8341
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8342
|
+
}>) => boolean;
|
|
8343
|
+
readonly isCheckable: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
8344
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8345
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8346
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8347
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8348
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8349
|
+
}>) => boolean;
|
|
8350
|
+
readonly noneMode: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
8351
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8352
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8353
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8354
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8355
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8356
|
+
}>) => boolean;
|
|
8357
|
+
readonly selectable: ({ event, props }: import("@rind-ui/core").GuardArgs<{
|
|
8358
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8359
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8360
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8361
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8362
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8363
|
+
}>) => boolean;
|
|
8364
|
+
readonly movableKey: ({ event, props }: import("@rind-ui/core").GuardArgs<{
|
|
8365
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8366
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8367
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8368
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8369
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8370
|
+
}>) => boolean;
|
|
8371
|
+
};
|
|
8372
|
+
readonly effects: {
|
|
8373
|
+
readonly loads: (a: import("@rind-ui/core").EffectArgs<{
|
|
8374
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8375
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8376
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8377
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8378
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8379
|
+
}>) => () => void;
|
|
8380
|
+
readonly announcer: ({ props, env }: import("@rind-ui/core").EffectArgs<{
|
|
8381
|
+
props: import("@rind-ui/core").TreeViewProps;
|
|
8382
|
+
events: import("@rind-ui/core").TreeViewEvent;
|
|
8383
|
+
env: import("@rind-ui/core").CollectionEnv;
|
|
8384
|
+
context: import("@rind-ui/core").TreeViewContext;
|
|
8385
|
+
values: "value" | "expandedValue" | "checkedValue";
|
|
8386
|
+
}>) => (() => void) | undefined;
|
|
8387
|
+
};
|
|
8388
|
+
}, {
|
|
8389
|
+
persistedKeys: import("@rind-ui/core").CollectionKey[];
|
|
8390
|
+
}>, "empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree", readonly [{
|
|
8391
|
+
readonly name: string | RegExp;
|
|
8392
|
+
}], {
|
|
8393
|
+
readonly items: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<{
|
|
8394
|
+
name: string;
|
|
8395
|
+
level: number;
|
|
8396
|
+
expanded: boolean | null;
|
|
8397
|
+
selected: boolean;
|
|
8398
|
+
checked: string | null;
|
|
8399
|
+
}[]>;
|
|
8400
|
+
readonly isExpanded: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<boolean>;
|
|
8401
|
+
readonly expandedNames: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<string[]>;
|
|
8402
|
+
readonly isBusy: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<boolean>;
|
|
8403
|
+
readonly isEmpty: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<boolean>;
|
|
8404
|
+
readonly highlighted: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<string | null>;
|
|
8405
|
+
readonly selected: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<string[]>;
|
|
8406
|
+
readonly checked: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<string[]>;
|
|
8407
|
+
readonly hasFocus: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<boolean>;
|
|
8408
|
+
readonly nodeAt: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, pointer: string) => Promise<string>;
|
|
8409
|
+
readonly valueText: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, pointer: string) => Promise<string>;
|
|
8410
|
+
readonly summaryOf: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, pointer: string) => Promise<string>;
|
|
8411
|
+
readonly copyState: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<string>;
|
|
8412
|
+
}, {
|
|
8413
|
+
readonly expand: {
|
|
8414
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<void>;
|
|
8415
|
+
done: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<boolean>;
|
|
8416
|
+
};
|
|
8417
|
+
readonly collapse: {
|
|
8418
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<void>;
|
|
8419
|
+
done: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<boolean>;
|
|
8420
|
+
};
|
|
8421
|
+
readonly toggle: {
|
|
8422
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<void>;
|
|
8423
|
+
done: () => Promise<true>;
|
|
8424
|
+
};
|
|
8425
|
+
readonly check: {
|
|
8426
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<void>;
|
|
8427
|
+
done: () => Promise<true>;
|
|
8428
|
+
};
|
|
8429
|
+
readonly expandSiblings: {
|
|
8430
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<void>;
|
|
8431
|
+
done: () => Promise<true>;
|
|
8432
|
+
};
|
|
8433
|
+
readonly act: {
|
|
8434
|
+
pointer: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<void>;
|
|
8435
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef) => Promise<void>;
|
|
8436
|
+
done: () => Promise<true>;
|
|
8437
|
+
};
|
|
8438
|
+
readonly expandAll: {
|
|
8439
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8440
|
+
done: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<boolean>;
|
|
8441
|
+
};
|
|
8442
|
+
readonly focusIn: {
|
|
8443
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8444
|
+
readonly done: {
|
|
8445
|
+
readonly hasFocus: true;
|
|
8446
|
+
};
|
|
8447
|
+
};
|
|
8448
|
+
readonly tabOut: {
|
|
8449
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8450
|
+
readonly done: {
|
|
8451
|
+
readonly hasFocus: false;
|
|
8452
|
+
};
|
|
8453
|
+
};
|
|
8454
|
+
readonly next: {
|
|
8455
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8456
|
+
done: () => Promise<true>;
|
|
8457
|
+
};
|
|
8458
|
+
readonly typeS: {
|
|
8459
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8460
|
+
done: () => Promise<true>;
|
|
8461
|
+
};
|
|
8462
|
+
readonly space: {
|
|
8463
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8464
|
+
done: () => Promise<true>;
|
|
8465
|
+
};
|
|
8466
|
+
readonly enter: {
|
|
8467
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8468
|
+
done: () => Promise<true>;
|
|
8469
|
+
};
|
|
8470
|
+
readonly star: {
|
|
8471
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8472
|
+
done: () => Promise<true>;
|
|
8473
|
+
};
|
|
8474
|
+
readonly selectAll: {
|
|
8475
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8476
|
+
done: () => Promise<true>;
|
|
8477
|
+
};
|
|
8478
|
+
readonly moveNode: {
|
|
8479
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef, direction: "up" | "down" | "in" | "out") => Promise<void>;
|
|
8480
|
+
done: () => Promise<true>;
|
|
8481
|
+
};
|
|
8482
|
+
readonly dragNode: {
|
|
8483
|
+
readonly pointer: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">, item: import("@rind-ui/core").TreeItemRef, over: import("@rind-ui/core").TreeItemRef, zone: "before" | "inside" | "after") => Promise<void>;
|
|
8484
|
+
readonly none: {
|
|
8485
|
+
readonly keyboard: "Alt with the arrows is `moveNode`";
|
|
8486
|
+
};
|
|
8487
|
+
readonly done: () => Promise<true>;
|
|
8488
|
+
};
|
|
8489
|
+
readonly copy: {
|
|
8490
|
+
keyboard: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8491
|
+
pointer: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8492
|
+
touch: (env: import("@rind-ui/core").Env<"empty" | "item" | "item-checkbox" | "item-indicator" | "item-text" | "label" | "loading" | "root" | "tree">) => Promise<void>;
|
|
8493
|
+
done: () => Promise<true>;
|
|
8494
|
+
};
|
|
8495
|
+
}>>;
|
|
8496
|
+
//#endregion
|
|
8497
|
+
//#region src/components/kbd.d.ts
|
|
8498
|
+
/** A driver for the Kbd whose text matches `text`, or the only one in `target`. */
|
|
8499
|
+
export declare function getKbd(target: Target, anchor?: {
|
|
8500
|
+
readonly text?: string | RegExp;
|
|
8501
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"static", {
|
|
8502
|
+
props: Record<never, never>;
|
|
8503
|
+
events: {
|
|
8504
|
+
type: "$none";
|
|
8505
|
+
};
|
|
8506
|
+
env: Record<never, never>;
|
|
8507
|
+
}, import("@rind-ui/core").Implementations<{
|
|
8508
|
+
props: Record<never, never>;
|
|
8509
|
+
events: {
|
|
8510
|
+
type: "$none";
|
|
8511
|
+
};
|
|
8512
|
+
env: Record<never, never>;
|
|
8513
|
+
}>, Record<never, never>>, "key" | "root" | "separator", readonly [anchor?: {
|
|
8514
|
+
readonly text?: string | RegExp;
|
|
8515
|
+
} | undefined], {
|
|
8516
|
+
readonly keys: (env: import("@rind-ui/core").Env<"key" | "root" | "separator">) => Promise<string[]>;
|
|
8517
|
+
readonly platform: (env: import("@rind-ui/core").Env<"key" | "root" | "separator">) => Promise<string>;
|
|
8518
|
+
}, {}>>;
|
|
8519
|
+
//#endregion
|
|
8520
|
+
//#region src/components/label.d.ts
|
|
8521
|
+
/** A driver for the Label with exactly this text: `click`, `doubleClick` and queries. */
|
|
8522
|
+
export declare function getLabel(target: Target, anchor: {
|
|
8523
|
+
readonly text: string | RegExp;
|
|
8524
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"static", {
|
|
8525
|
+
props: Record<never, never>;
|
|
8526
|
+
events: {
|
|
8527
|
+
type: "$none";
|
|
8528
|
+
};
|
|
8529
|
+
env: Record<never, never>;
|
|
8530
|
+
}, import("@rind-ui/core").Implementations<{
|
|
8531
|
+
props: Record<never, never>;
|
|
8532
|
+
events: {
|
|
8533
|
+
type: "$none";
|
|
8534
|
+
};
|
|
8535
|
+
env: Record<never, never>;
|
|
8536
|
+
}>, Record<never, never>>, "root", readonly [{
|
|
8537
|
+
readonly text: string | RegExp;
|
|
8538
|
+
}], {
|
|
8539
|
+
readonly text: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<string>;
|
|
8540
|
+
readonly controlName: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<string | null>;
|
|
8541
|
+
readonly isControlFocused: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<boolean>;
|
|
8542
|
+
readonly selectedText: (env: import("@rind-ui/core").Env<"root">) => Promise<string>;
|
|
8543
|
+
}, {
|
|
8544
|
+
readonly click: {
|
|
8545
|
+
readonly pointer: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<void>;
|
|
8546
|
+
readonly none: {
|
|
8547
|
+
keyboard: "a label has no keyboard interaction; keyboard users reach the control with Tab";
|
|
8548
|
+
};
|
|
8549
|
+
readonly done: () => Promise<boolean>;
|
|
8550
|
+
};
|
|
8551
|
+
readonly doubleClick: {
|
|
8552
|
+
readonly pointer: ({ part }: import("@rind-ui/core").Env<"root">) => Promise<void>;
|
|
8553
|
+
readonly none: {
|
|
8554
|
+
keyboard: "a label has no keyboard interaction; keyboard users reach the control with Tab";
|
|
8555
|
+
};
|
|
8556
|
+
readonly done: () => Promise<boolean>;
|
|
8557
|
+
};
|
|
8558
|
+
}>>;
|
|
8559
|
+
//#endregion
|
|
8560
|
+
//#region src/components/link.d.ts
|
|
8561
|
+
/** A driver for the Link named `name`: `follow`, `followInNewTab`, `middleClick` and queries. */
|
|
8562
|
+
export declare function getLink(target: Target, anchor: {
|
|
8563
|
+
readonly name: string | RegExp;
|
|
8564
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"static", {
|
|
8565
|
+
props: Record<never, never>;
|
|
8566
|
+
events: {
|
|
8567
|
+
type: "$none";
|
|
8568
|
+
};
|
|
8569
|
+
env: Record<never, never>;
|
|
8570
|
+
}, import("@rind-ui/core").Implementations<{
|
|
8571
|
+
props: Record<never, never>;
|
|
8572
|
+
events: {
|
|
8573
|
+
type: "$none";
|
|
8574
|
+
};
|
|
8575
|
+
env: Record<never, never>;
|
|
8576
|
+
}>, Record<never, never>>, "link", readonly [{
|
|
8577
|
+
readonly name: string | RegExp;
|
|
8578
|
+
}], {
|
|
8579
|
+
readonly href: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<string | null>;
|
|
8580
|
+
readonly current: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<string | null>;
|
|
8581
|
+
readonly isDisabled: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<boolean>;
|
|
8582
|
+
readonly isExternal: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<boolean>;
|
|
8583
|
+
readonly isFocusVisible: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<boolean>;
|
|
8584
|
+
}, {
|
|
8585
|
+
readonly follow: {
|
|
8586
|
+
readonly pointer: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<void>;
|
|
8587
|
+
readonly keyboard: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<void>;
|
|
8588
|
+
readonly done: (env: import("@rind-ui/core").Env<"link">) => Promise<boolean>;
|
|
8589
|
+
};
|
|
8590
|
+
readonly followInNewTab: {
|
|
8591
|
+
readonly pointer: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<void>;
|
|
8592
|
+
readonly keyboard: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<void>;
|
|
8593
|
+
readonly done: (env: import("@rind-ui/core").Env<"link">) => Promise<boolean>;
|
|
8594
|
+
};
|
|
8595
|
+
readonly middleClick: {
|
|
7238
8596
|
readonly pointer: ({ part }: import("@rind-ui/core").Env<"link">) => Promise<void>;
|
|
7239
8597
|
readonly none: {
|
|
7240
8598
|
readonly keyboard: "no keyboard middle click; followInNewTab covers new-tab opening";
|
|
@@ -7527,32 +8885,228 @@ export declare function getMarquee(target: Target, anchor?: Parameters<typeof ma
|
|
|
7527
8885
|
readonly keyboard: (env: import("@rind-ui/core").Env<"content" | "pause-trigger" | "root" | "viewport">) => Promise<void>;
|
|
7528
8886
|
readonly done: () => Promise<boolean>;
|
|
7529
8887
|
};
|
|
7530
|
-
readonly togglePause: {
|
|
7531
|
-
readonly pointer: (env: import("@rind-ui/core").Env<"content" | "pause-trigger" | "root" | "viewport">) => Promise<void>;
|
|
7532
|
-
readonly keyboard: (env: import("@rind-ui/core").Env<"content" | "pause-trigger" | "root" | "viewport">) => Promise<void>;
|
|
7533
|
-
readonly done: () => Promise<boolean>;
|
|
8888
|
+
readonly togglePause: {
|
|
8889
|
+
readonly pointer: (env: import("@rind-ui/core").Env<"content" | "pause-trigger" | "root" | "viewport">) => Promise<void>;
|
|
8890
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"content" | "pause-trigger" | "root" | "viewport">) => Promise<void>;
|
|
8891
|
+
readonly done: () => Promise<boolean>;
|
|
8892
|
+
};
|
|
8893
|
+
readonly hover: {
|
|
8894
|
+
readonly pointer: (env: import("@rind-ui/core").Env<"content" | "pause-trigger" | "root" | "viewport">) => Promise<void>;
|
|
8895
|
+
readonly none: {
|
|
8896
|
+
readonly keyboard: "a hover is a pointer gesture";
|
|
8897
|
+
readonly touch: "a touch never hovers";
|
|
8898
|
+
};
|
|
8899
|
+
readonly done: () => Promise<boolean>;
|
|
8900
|
+
};
|
|
8901
|
+
readonly leave: {
|
|
8902
|
+
readonly pointer: (env: import("@rind-ui/core").Env<"content" | "pause-trigger" | "root" | "viewport">) => Promise<void>;
|
|
8903
|
+
readonly none: {
|
|
8904
|
+
readonly keyboard: "a hover is a pointer gesture";
|
|
8905
|
+
readonly touch: "a touch never hovers";
|
|
8906
|
+
};
|
|
8907
|
+
readonly done: () => Promise<boolean>;
|
|
8908
|
+
};
|
|
8909
|
+
readonly focusContent: {
|
|
8910
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"content" | "pause-trigger" | "root" | "viewport">, target?: {
|
|
8911
|
+
readonly role: import("@rind-ui/core").AriaRole;
|
|
8912
|
+
readonly name: string | RegExp;
|
|
8913
|
+
}) => Promise<void>;
|
|
8914
|
+
readonly done: () => Promise<boolean>;
|
|
8915
|
+
};
|
|
8916
|
+
}>>;
|
|
8917
|
+
//#endregion
|
|
8918
|
+
//#region src/components/mentions.d.ts
|
|
8919
|
+
/** A driver for the Mentions field named `name`, or the only one in `target`. */
|
|
8920
|
+
export declare function getMentions(target: Target, anchor?: {
|
|
8921
|
+
readonly name: string | RegExp;
|
|
8922
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"closed" | "open", {
|
|
8923
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
8924
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
8925
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
8926
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
8927
|
+
values: "value" | "mentions";
|
|
8928
|
+
}, {
|
|
8929
|
+
readonly types: {
|
|
8930
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
8931
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
8932
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
8933
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
8934
|
+
values: "value" | "mentions";
|
|
8935
|
+
};
|
|
8936
|
+
readonly guards: {
|
|
8937
|
+
readonly keyable: ({ event, context }: import("@rind-ui/core").PatternReadArgs) => boolean;
|
|
8938
|
+
readonly hasHighlight: ({ context, props }: import("@rind-ui/core").PatternReadArgs) => boolean;
|
|
8939
|
+
readonly leaveClears: ({ context, props }: import("@rind-ui/core").PatternReadArgs) => boolean;
|
|
8940
|
+
readonly editable: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
8941
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
8942
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
8943
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
8944
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
8945
|
+
values: "value" | "mentions";
|
|
8946
|
+
}>) => boolean;
|
|
8947
|
+
readonly matched: ({ context }: import("@rind-ui/core").GuardArgs<{
|
|
8948
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
8949
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
8950
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
8951
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
8952
|
+
values: "value" | "mentions";
|
|
8953
|
+
}>) => boolean;
|
|
8954
|
+
readonly tabChooses: ({ props, context }: import("@rind-ui/core").GuardArgs<{
|
|
8955
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
8956
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
8957
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
8958
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
8959
|
+
values: "value" | "mentions";
|
|
8960
|
+
}>) => boolean;
|
|
8961
|
+
};
|
|
8962
|
+
readonly actions: {
|
|
8963
|
+
readonly navigate: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8964
|
+
readonly highlight: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8965
|
+
readonly pointerMove: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8966
|
+
readonly typeahead: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8967
|
+
readonly resetTypeahead: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8968
|
+
readonly select: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8969
|
+
readonly selectAll: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8970
|
+
readonly clearSelection: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8971
|
+
readonly deselect: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8972
|
+
readonly expand: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8973
|
+
readonly collapse: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8974
|
+
readonly repairCollection: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8975
|
+
readonly scrollToHighlighted: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8976
|
+
readonly focusHighlighted: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8977
|
+
readonly keepFocusInside: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8978
|
+
readonly announceHighlighted: (a: import("@rind-ui/core").CollectionArgs) => void;
|
|
8979
|
+
readonly highlightOnArrowOpen: (a: import("@rind-ui/core").PatternArgs) => void;
|
|
8980
|
+
readonly arrow: (a: import("@rind-ui/core").PatternArgs) => void;
|
|
8981
|
+
readonly clearHighlight: ({ set }: import("@rind-ui/core").PatternArgs) => void;
|
|
8982
|
+
readonly startComposition: ({ set }: import("@rind-ui/core").PatternArgs) => void;
|
|
8983
|
+
readonly endComposition: ({ set }: import("@rind-ui/core").PatternArgs) => void;
|
|
8984
|
+
readonly results: (a: import("@rind-ui/core").PatternArgs) => void;
|
|
8985
|
+
readonly announceHighlight: (a: import("@rind-ui/core").PatternArgs) => void;
|
|
8986
|
+
readonly announceOpen: (a: import("@rind-ui/core").PatternArgs) => void;
|
|
8987
|
+
readonly announceCount: (a: import("@rind-ui/core").PatternArgs) => void;
|
|
8988
|
+
readonly announceLoading: (a: import("@rind-ui/core").PatternArgs) => void;
|
|
8989
|
+
readonly flush: (a: import("@rind-ui/core").PatternArgs) => void;
|
|
8990
|
+
readonly endLag: ({ set }: import("@rind-ui/core").PatternArgs) => void;
|
|
8991
|
+
readonly placed: (a: import("@rind-ui/core").PatternArgs) => void;
|
|
8992
|
+
readonly resetPlacement: ({ set }: import("@rind-ui/core").PatternArgs) => void;
|
|
8993
|
+
readonly input: (a: import("@rind-ui/core").ActionArgs<{
|
|
8994
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
8995
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
8996
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
8997
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
8998
|
+
values: "value" | "mentions";
|
|
8999
|
+
}>) => void;
|
|
9000
|
+
readonly caret: (a: import("@rind-ui/core").ActionArgs<{
|
|
9001
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9002
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9003
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9004
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9005
|
+
values: "value" | "mentions";
|
|
9006
|
+
}>) => void;
|
|
9007
|
+
readonly choose: (a: import("@rind-ui/core").ActionArgs<{
|
|
9008
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9009
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9010
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9011
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9012
|
+
values: "value" | "mentions";
|
|
9013
|
+
}>) => void;
|
|
9014
|
+
readonly dismiss: (a: import("@rind-ui/core").ActionArgs<{
|
|
9015
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9016
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9017
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9018
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9019
|
+
values: "value" | "mentions";
|
|
9020
|
+
}>) => void;
|
|
9021
|
+
readonly unmatch: (a: import("@rind-ui/core").ActionArgs<{
|
|
9022
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9023
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9024
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9025
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9026
|
+
values: "value" | "mentions";
|
|
9027
|
+
}>) => void;
|
|
9028
|
+
readonly removeMention: (a: import("@rind-ui/core").ActionArgs<{
|
|
9029
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9030
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9031
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9032
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9033
|
+
values: "value" | "mentions";
|
|
9034
|
+
}>) => void;
|
|
9035
|
+
readonly syncRanges: (a: import("@rind-ui/core").ActionArgs<{
|
|
9036
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9037
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9038
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9039
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9040
|
+
values: "value" | "mentions";
|
|
9041
|
+
}>) => void;
|
|
9042
|
+
readonly autoHighlight: (a: import("@rind-ui/core").ActionArgs<{
|
|
9043
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9044
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9045
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9046
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9047
|
+
values: "value" | "mentions";
|
|
9048
|
+
}>) => void;
|
|
9049
|
+
readonly setFocused: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
9050
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9051
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9052
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9053
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9054
|
+
values: "value" | "mentions";
|
|
9055
|
+
}>) => void;
|
|
9056
|
+
readonly clearFocused: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
9057
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9058
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9059
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9060
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9061
|
+
values: "value" | "mentions";
|
|
9062
|
+
}>) => void;
|
|
9063
|
+
};
|
|
9064
|
+
readonly effects: {
|
|
9065
|
+
readonly overlay: (a: import("@rind-ui/core").EffectArgs<{
|
|
9066
|
+
props: import("@rind-ui/core").MentionsProps;
|
|
9067
|
+
events: import("@rind-ui/core").MentionsEvent;
|
|
9068
|
+
env: import("@rind-ui/core").BaseDomEnvironment & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").CollectionEnv & import("@rind-ui/core").MentionsEnv;
|
|
9069
|
+
context: import("@rind-ui/core").MentionsContext;
|
|
9070
|
+
values: "value" | "mentions";
|
|
9071
|
+
}>) => (() => void) | undefined;
|
|
7534
9072
|
};
|
|
7535
|
-
|
|
7536
|
-
|
|
9073
|
+
}, Record<never, never>>, "description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea", readonly [anchor?: {
|
|
9074
|
+
readonly name: string | RegExp;
|
|
9075
|
+
} | undefined], {
|
|
9076
|
+
readonly isOpen: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">) => Promise<boolean>;
|
|
9077
|
+
readonly trigger: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">) => Promise<string | null>;
|
|
9078
|
+
readonly options: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">) => Promise<string[]>;
|
|
9079
|
+
readonly value: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">) => Promise<string>;
|
|
9080
|
+
readonly mentions: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">) => Promise<string[]>;
|
|
9081
|
+
}, {
|
|
9082
|
+
readonly type: {
|
|
9083
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">, text: string) => Promise<void>;
|
|
7537
9084
|
readonly none: {
|
|
7538
|
-
readonly
|
|
7539
|
-
readonly touch: "
|
|
9085
|
+
readonly pointer: "typing is the keyboard's";
|
|
9086
|
+
readonly touch: "typing is the keyboard's";
|
|
7540
9087
|
};
|
|
7541
9088
|
readonly done: () => Promise<boolean>;
|
|
7542
9089
|
};
|
|
7543
|
-
readonly
|
|
7544
|
-
|
|
9090
|
+
readonly choose: {
|
|
9091
|
+
keyboard: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">, label?: string | RegExp) => Promise<void>;
|
|
9092
|
+
pointer: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">, label?: string | RegExp) => Promise<void>;
|
|
9093
|
+
touch: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">, label?: string | RegExp) => Promise<void>;
|
|
9094
|
+
done: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">) => Promise<boolean>;
|
|
9095
|
+
};
|
|
9096
|
+
readonly pressEscape: {
|
|
9097
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">) => Promise<void>;
|
|
7545
9098
|
readonly none: {
|
|
7546
|
-
readonly
|
|
7547
|
-
readonly touch: "
|
|
9099
|
+
readonly pointer: "Escape is a key";
|
|
9100
|
+
readonly touch: "Escape is a key";
|
|
7548
9101
|
};
|
|
7549
|
-
readonly done: () => Promise<boolean>;
|
|
9102
|
+
readonly done: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">) => Promise<boolean>;
|
|
7550
9103
|
};
|
|
7551
|
-
readonly
|
|
7552
|
-
readonly keyboard: (env: import("@rind-ui/core").Env<"
|
|
7553
|
-
|
|
7554
|
-
readonly
|
|
7555
|
-
|
|
9104
|
+
readonly backspace: {
|
|
9105
|
+
readonly keyboard: (env: import("@rind-ui/core").Env<"description" | "empty" | "group" | "group-label" | "highlighter" | "item" | "item-text" | "list" | "loading" | "mention" | "popup" | "positioner" | "root" | "textarea">) => Promise<void>;
|
|
9106
|
+
readonly none: {
|
|
9107
|
+
readonly pointer: "Backspace is a key";
|
|
9108
|
+
readonly touch: "Backspace is a key";
|
|
9109
|
+
};
|
|
7556
9110
|
readonly done: () => Promise<boolean>;
|
|
7557
9111
|
};
|
|
7558
9112
|
}>>;
|
|
@@ -8709,6 +10263,192 @@ export declare function getMenubar(target: Target, anchor: {
|
|
|
8709
10263
|
}>>;
|
|
8710
10264
|
};
|
|
8711
10265
|
//#endregion
|
|
10266
|
+
//#region src/components/message-actions.d.ts
|
|
10267
|
+
/** A driver for the Message Actions toolbar named `name`, or the only one in `target`. */
|
|
10268
|
+
export declare function getMessageActions(target: Target, anchor?: {
|
|
10269
|
+
readonly name: string | RegExp;
|
|
10270
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"live" | "settling", {
|
|
10271
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10272
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10273
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10274
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10275
|
+
values: "editing" | "index";
|
|
10276
|
+
}, {
|
|
10277
|
+
readonly types: {
|
|
10278
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10279
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10280
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10281
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10282
|
+
values: "editing" | "index";
|
|
10283
|
+
};
|
|
10284
|
+
readonly guards: {
|
|
10285
|
+
readonly canRegenerate: ({ context }: import("@rind-ui/core").GuardArgs<{
|
|
10286
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10287
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10288
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10289
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10290
|
+
values: "editing" | "index";
|
|
10291
|
+
}>) => boolean;
|
|
10292
|
+
};
|
|
10293
|
+
readonly actions: {
|
|
10294
|
+
readonly hover: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
10295
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10296
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10297
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10298
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10299
|
+
values: "editing" | "index";
|
|
10300
|
+
}>) => void;
|
|
10301
|
+
readonly unhover: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
10302
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10303
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10304
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10305
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10306
|
+
values: "editing" | "index";
|
|
10307
|
+
}>) => void;
|
|
10308
|
+
readonly focusIn: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
10309
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10310
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10311
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10312
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10313
|
+
values: "editing" | "index";
|
|
10314
|
+
}>) => void;
|
|
10315
|
+
readonly focusOut: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
10316
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10317
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10318
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10319
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10320
|
+
values: "editing" | "index";
|
|
10321
|
+
}>) => void;
|
|
10322
|
+
readonly touch: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
10323
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10324
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10325
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10326
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10327
|
+
values: "editing" | "index";
|
|
10328
|
+
}>) => void;
|
|
10329
|
+
readonly regenerate: ({ props, send, set }: import("@rind-ui/core").ActionArgs<{
|
|
10330
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10331
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10332
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10333
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10334
|
+
values: "editing" | "index";
|
|
10335
|
+
}>) => void;
|
|
10336
|
+
readonly regenerateDone: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
10337
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10338
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10339
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10340
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10341
|
+
values: "editing" | "index";
|
|
10342
|
+
}>) => void;
|
|
10343
|
+
readonly regenerateFailed: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
10344
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10345
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10346
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10347
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10348
|
+
values: "editing" | "index";
|
|
10349
|
+
}>) => void;
|
|
10350
|
+
readonly regenerateIdle: ({ set }: import("@rind-ui/core").ActionArgs<{
|
|
10351
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10352
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10353
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10354
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10355
|
+
values: "editing" | "index";
|
|
10356
|
+
}>) => void;
|
|
10357
|
+
readonly toggleEdit: (args: import("@rind-ui/core").ActionArgs<{
|
|
10358
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10359
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10360
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10361
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10362
|
+
values: "editing" | "index";
|
|
10363
|
+
}>) => void;
|
|
10364
|
+
readonly restoreFocus: ({ env, values }: import("@rind-ui/core").ActionArgs<{
|
|
10365
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10366
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10367
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10368
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10369
|
+
values: "editing" | "index";
|
|
10370
|
+
}>) => void;
|
|
10371
|
+
readonly previous: (args: import("@rind-ui/core").ActionArgs<{
|
|
10372
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10373
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10374
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10375
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10376
|
+
values: "editing" | "index";
|
|
10377
|
+
}>) => void;
|
|
10378
|
+
readonly next: (args: import("@rind-ui/core").ActionArgs<{
|
|
10379
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10380
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10381
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10382
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10383
|
+
values: "editing" | "index";
|
|
10384
|
+
}>) => void;
|
|
10385
|
+
};
|
|
10386
|
+
readonly effects: {
|
|
10387
|
+
readonly prepareAnnouncer: ({ env }: import("@rind-ui/core").EffectArgs<{
|
|
10388
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10389
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10390
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10391
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10392
|
+
values: "editing" | "index";
|
|
10393
|
+
}>) => () => void;
|
|
10394
|
+
readonly settle: ({ context, env, send }: import("@rind-ui/core").EffectArgs<{
|
|
10395
|
+
props: import("@rind-ui/core").MessageActionsProps;
|
|
10396
|
+
events: import("@rind-ui/core").MessageActionsEvent;
|
|
10397
|
+
env: import("@rind-ui/core").MessageActionsEnv;
|
|
10398
|
+
context: import("@rind-ui/core").MessageActionsContext;
|
|
10399
|
+
values: "editing" | "index";
|
|
10400
|
+
}>) => (() => void) | undefined;
|
|
10401
|
+
};
|
|
10402
|
+
}, Record<never, never>>, "copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions", readonly [anchor?: {
|
|
10403
|
+
readonly name: string | RegExp;
|
|
10404
|
+
} | undefined], {
|
|
10405
|
+
readonly isActive: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<boolean>;
|
|
10406
|
+
readonly regenerateState: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<import("@rind-ui/core").RegenerateState>;
|
|
10407
|
+
readonly rating: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<string | null>;
|
|
10408
|
+
readonly version: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<{
|
|
10409
|
+
index: number;
|
|
10410
|
+
count: number;
|
|
10411
|
+
}>;
|
|
10412
|
+
readonly isEditing: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<boolean>;
|
|
10413
|
+
}, {
|
|
10414
|
+
readonly copy: {
|
|
10415
|
+
pointer: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10416
|
+
touch: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10417
|
+
keyboard: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10418
|
+
done: () => Promise<boolean>;
|
|
10419
|
+
};
|
|
10420
|
+
readonly regenerate: {
|
|
10421
|
+
pointer: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10422
|
+
touch: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10423
|
+
keyboard: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10424
|
+
done: () => Promise<boolean>;
|
|
10425
|
+
};
|
|
10426
|
+
readonly edit: {
|
|
10427
|
+
pointer: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10428
|
+
touch: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10429
|
+
keyboard: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10430
|
+
done: () => Promise<boolean>;
|
|
10431
|
+
};
|
|
10432
|
+
readonly rate: {
|
|
10433
|
+
pointer: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">, value: "up" | "down") => Promise<void>;
|
|
10434
|
+
touch: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">, value: "up" | "down") => Promise<void>;
|
|
10435
|
+
keyboard: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">, value: "up" | "down") => Promise<void>;
|
|
10436
|
+
done: () => Promise<boolean>;
|
|
10437
|
+
};
|
|
10438
|
+
readonly previousVersion: {
|
|
10439
|
+
pointer: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10440
|
+
touch: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10441
|
+
keyboard: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10442
|
+
done: () => Promise<boolean>;
|
|
10443
|
+
};
|
|
10444
|
+
readonly nextVersion: {
|
|
10445
|
+
pointer: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10446
|
+
touch: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10447
|
+
keyboard: (env: import("@rind-ui/core").Env<"copy" | "edit" | "feedback" | "feedback-item" | "item" | "regenerate" | "root" | "version-next" | "version-previous" | "version-status" | "versions">) => Promise<void>;
|
|
10448
|
+
done: () => Promise<boolean>;
|
|
10449
|
+
};
|
|
10450
|
+
}>>;
|
|
10451
|
+
//#endregion
|
|
8712
10452
|
//#region src/components/message-thread.d.ts
|
|
8713
10453
|
/** A driver for the Message Thread whose feed is named `name`, or the only one in `target`. */
|
|
8714
10454
|
export declare function getMessageThread(target: Target, anchor?: {
|
|
@@ -9021,7 +10761,7 @@ export declare function getNavigationMenu(target: Target, anchor?: {
|
|
|
9021
10761
|
context: import("@rind-ui/core").NavigationMenuContext;
|
|
9022
10762
|
values: "value";
|
|
9023
10763
|
}>) => void;
|
|
9024
|
-
readonly suppress: ({ values, set }: import("@rind-ui/core").ActionArgs<{
|
|
10764
|
+
readonly suppress: ({ context, values, set }: import("@rind-ui/core").ActionArgs<{
|
|
9025
10765
|
props: import("@rind-ui/core").NavigationMenuProps;
|
|
9026
10766
|
events: import("@rind-ui/core").NavigationMenuEvent;
|
|
9027
10767
|
env: import("@rind-ui/core").SchedulerEnv & import("@rind-ui/core").DomEnv & import("@rind-ui/core").PlatformInfo & import("@rind-ui/core").ModalityEnv & import("@rind-ui/core").MotionEnv & import("@rind-ui/core").PointerEnv & import("@rind-ui/core").StyleEnv & import("@rind-ui/core").LocaleEnv & import("@rind-ui/core").ClockEnv & import("@rind-ui/core").RouterCapability & import("@rind-ui/core").PositionEnv & import("@rind-ui/core").HoverIntentEnv;
|
|
@@ -11720,6 +13460,170 @@ export declare function getSeparator(target: Target, anchor?: {
|
|
|
11720
13460
|
readonly isExposed: (env: import("@rind-ui/core").Env<"root" | "separator">) => Promise<boolean>;
|
|
11721
13461
|
}, {}>>;
|
|
11722
13462
|
//#endregion
|
|
13463
|
+
//#region src/components/signature-pad.d.ts
|
|
13464
|
+
/** A driver for the Signature Pad labelled `label`, or the only one in `target`. */
|
|
13465
|
+
export declare function getSignaturePad(target: Target, anchor?: {
|
|
13466
|
+
readonly label: string | RegExp;
|
|
13467
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"drawing" | "idle", {
|
|
13468
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13469
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13470
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13471
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13472
|
+
values: "value";
|
|
13473
|
+
}, {
|
|
13474
|
+
readonly types: {
|
|
13475
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13476
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13477
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13478
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13479
|
+
values: "value";
|
|
13480
|
+
};
|
|
13481
|
+
readonly guards: {
|
|
13482
|
+
readonly canDraw: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
13483
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13484
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13485
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13486
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13487
|
+
values: "value";
|
|
13488
|
+
}>) => boolean;
|
|
13489
|
+
readonly ownPointer: ({ context, event }: import("@rind-ui/core").GuardArgs<{
|
|
13490
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13491
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13492
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13493
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13494
|
+
values: "value";
|
|
13495
|
+
}>) => boolean;
|
|
13496
|
+
readonly hasStrokes: ({ context, props, values }: import("@rind-ui/core").GuardArgs<{
|
|
13497
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13498
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13499
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13500
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13501
|
+
values: "value";
|
|
13502
|
+
}>) => boolean;
|
|
13503
|
+
};
|
|
13504
|
+
readonly actions: {
|
|
13505
|
+
readonly begin: ({ event, set }: import("@rind-ui/core").ActionArgs<{
|
|
13506
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13507
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13508
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13509
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13510
|
+
values: "value";
|
|
13511
|
+
}>) => void;
|
|
13512
|
+
readonly extend: ({ context, event, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
13513
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13514
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13515
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13516
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13517
|
+
values: "value";
|
|
13518
|
+
}>) => void;
|
|
13519
|
+
readonly commit: (args: import("@rind-ui/core").ActionArgs<{
|
|
13520
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13521
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13522
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13523
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13524
|
+
values: "value";
|
|
13525
|
+
}>) => void;
|
|
13526
|
+
readonly clear: (args: import("@rind-ui/core").ActionArgs<{
|
|
13527
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13528
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13529
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13530
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13531
|
+
values: "value";
|
|
13532
|
+
}>) => void;
|
|
13533
|
+
readonly undo: (args: import("@rind-ui/core").ActionArgs<{
|
|
13534
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13535
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13536
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13537
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13538
|
+
values: "value";
|
|
13539
|
+
}>) => void;
|
|
13540
|
+
readonly restoreDefault: (args: import("@rind-ui/core").ActionArgs<{
|
|
13541
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13542
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13543
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13544
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13545
|
+
values: "value";
|
|
13546
|
+
}>) => void;
|
|
13547
|
+
readonly applySynced: (args: import("@rind-ui/core").ActionArgs<{
|
|
13548
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13549
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13550
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13551
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13552
|
+
values: "value";
|
|
13553
|
+
}>) => void;
|
|
13554
|
+
readonly revert: (args: import("@rind-ui/core").ActionArgs<{
|
|
13555
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13556
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13557
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13558
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13559
|
+
values: "value";
|
|
13560
|
+
}>) => void;
|
|
13561
|
+
};
|
|
13562
|
+
readonly effects: {
|
|
13563
|
+
readonly prepareAnnouncer: ({ env }: import("@rind-ui/core").EffectArgs<{
|
|
13564
|
+
props: import("@rind-ui/core").SignaturePadProps;
|
|
13565
|
+
events: import("@rind-ui/core").SignaturePadEvent;
|
|
13566
|
+
env: import("@rind-ui/core").SignaturePadEnv;
|
|
13567
|
+
context: import("@rind-ui/core").SignaturePadContext;
|
|
13568
|
+
values: "value";
|
|
13569
|
+
}>) => () => void;
|
|
13570
|
+
};
|
|
13571
|
+
}, Record<never, never>>, "clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger", readonly [anchor?: {
|
|
13572
|
+
readonly label: string | RegExp;
|
|
13573
|
+
} | undefined], {
|
|
13574
|
+
readonly isEmpty: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<boolean>;
|
|
13575
|
+
readonly strokeCount: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<number>;
|
|
13576
|
+
readonly formValue: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<string>;
|
|
13577
|
+
readonly name: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<string>;
|
|
13578
|
+
readonly statusText: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<string>;
|
|
13579
|
+
readonly clearDisabled: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<boolean>;
|
|
13580
|
+
readonly undoDisabled: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<boolean>;
|
|
13581
|
+
}, {
|
|
13582
|
+
readonly draw: {
|
|
13583
|
+
pointer: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">, points?: readonly import("@rind-ui/core").SignaturePadAt[]) => Promise<void>;
|
|
13584
|
+
touch: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">, points?: readonly import("@rind-ui/core").SignaturePadAt[]) => Promise<void>;
|
|
13585
|
+
none: {
|
|
13586
|
+
keyboard: "drawing is a pointer path (WCAG 2.1.1 exception); the docs pair it with a typed alternative";
|
|
13587
|
+
};
|
|
13588
|
+
done: () => Promise<boolean>;
|
|
13589
|
+
};
|
|
13590
|
+
readonly tap: {
|
|
13591
|
+
pointer: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">, at?: import("@rind-ui/core").SignaturePadAt) => Promise<void>;
|
|
13592
|
+
touch: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">, at?: import("@rind-ui/core").SignaturePadAt) => Promise<void>;
|
|
13593
|
+
none: {
|
|
13594
|
+
keyboard: "drawing is a pointer path (WCAG 2.1.1 exception); the docs pair it with a typed alternative";
|
|
13595
|
+
};
|
|
13596
|
+
done: () => Promise<boolean>;
|
|
13597
|
+
};
|
|
13598
|
+
readonly drawWithTwoPointers: {
|
|
13599
|
+
touch: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<void>;
|
|
13600
|
+
none: {
|
|
13601
|
+
keyboard: "drawing is a pointer path (WCAG 2.1.1 exception); the docs pair it with a typed alternative";
|
|
13602
|
+
};
|
|
13603
|
+
done: () => Promise<boolean>;
|
|
13604
|
+
};
|
|
13605
|
+
readonly cancelStroke: {
|
|
13606
|
+
pointer: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<void>;
|
|
13607
|
+
touch: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<void>;
|
|
13608
|
+
none: {
|
|
13609
|
+
keyboard: "drawing is a pointer path (WCAG 2.1.1 exception); the docs pair it with a typed alternative";
|
|
13610
|
+
};
|
|
13611
|
+
done: () => Promise<boolean>;
|
|
13612
|
+
};
|
|
13613
|
+
readonly clear: {
|
|
13614
|
+
pointer: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<void>;
|
|
13615
|
+
touch: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<void>;
|
|
13616
|
+
keyboard: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<void>;
|
|
13617
|
+
done: () => Promise<boolean>;
|
|
13618
|
+
};
|
|
13619
|
+
readonly undo: {
|
|
13620
|
+
pointer: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<void>;
|
|
13621
|
+
touch: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<void>;
|
|
13622
|
+
keyboard: (env: import("@rind-ui/core").Env<"clear-trigger" | "control" | "guide" | "hidden-input" | "label" | "root" | "segment" | "status" | "stroke" | "undo-trigger">) => Promise<void>;
|
|
13623
|
+
done: () => Promise<boolean>;
|
|
13624
|
+
};
|
|
13625
|
+
}>>;
|
|
13626
|
+
//#endregion
|
|
11723
13627
|
//#region src/components/skeleton.d.ts
|
|
11724
13628
|
/**
|
|
11725
13629
|
* A driver for the one Skeleton inside `within` (a container element or a Playwright
|
|
@@ -12546,6 +14450,86 @@ export declare function getStreamingMessage(target: Target, anchor?: Parameters<
|
|
|
12546
14450
|
};
|
|
12547
14451
|
}>>;
|
|
12548
14452
|
//#endregion
|
|
14453
|
+
//#region src/components/suggestions.d.ts
|
|
14454
|
+
/** A driver for the Suggestions named `name`, or the only one in `target`. */
|
|
14455
|
+
export declare function getSuggestions(target: Target, anchor?: {
|
|
14456
|
+
readonly name: string | RegExp;
|
|
14457
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"disabled" | "loading" | "ready", {
|
|
14458
|
+
props: import("@rind-ui/core").SuggestionsProps;
|
|
14459
|
+
events: import("@rind-ui/core").SuggestionsEvent;
|
|
14460
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
14461
|
+
context: import("@rind-ui/core").SuggestionsContext;
|
|
14462
|
+
}, {
|
|
14463
|
+
readonly types: {
|
|
14464
|
+
props: import("@rind-ui/core").SuggestionsProps;
|
|
14465
|
+
events: import("@rind-ui/core").SuggestionsEvent;
|
|
14466
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
14467
|
+
context: import("@rind-ui/core").SuggestionsContext;
|
|
14468
|
+
};
|
|
14469
|
+
readonly guards: {
|
|
14470
|
+
readonly pressable: ({ event }: import("@rind-ui/core").GuardArgs<{
|
|
14471
|
+
props: import("@rind-ui/core").SuggestionsProps;
|
|
14472
|
+
events: import("@rind-ui/core").SuggestionsEvent;
|
|
14473
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
14474
|
+
context: import("@rind-ui/core").SuggestionsContext;
|
|
14475
|
+
}>) => boolean;
|
|
14476
|
+
readonly isLoading: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
14477
|
+
props: import("@rind-ui/core").SuggestionsProps;
|
|
14478
|
+
events: import("@rind-ui/core").SuggestionsEvent;
|
|
14479
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
14480
|
+
context: import("@rind-ui/core").SuggestionsContext;
|
|
14481
|
+
}>) => boolean;
|
|
14482
|
+
readonly isDisabled: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
14483
|
+
props: import("@rind-ui/core").SuggestionsProps;
|
|
14484
|
+
events: import("@rind-ui/core").SuggestionsEvent;
|
|
14485
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
14486
|
+
context: import("@rind-ui/core").SuggestionsContext;
|
|
14487
|
+
}>) => boolean;
|
|
14488
|
+
};
|
|
14489
|
+
readonly actions: {
|
|
14490
|
+
readonly select: ({ event, props }: import("@rind-ui/core").ActionArgs<{
|
|
14491
|
+
props: import("@rind-ui/core").SuggestionsProps;
|
|
14492
|
+
events: import("@rind-ui/core").SuggestionsEvent;
|
|
14493
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
14494
|
+
context: import("@rind-ui/core").SuggestionsContext;
|
|
14495
|
+
}>) => void;
|
|
14496
|
+
readonly recordItems: ({ context, env, event, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
14497
|
+
props: import("@rind-ui/core").SuggestionsProps;
|
|
14498
|
+
events: import("@rind-ui/core").SuggestionsEvent;
|
|
14499
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
14500
|
+
context: import("@rind-ui/core").SuggestionsContext;
|
|
14501
|
+
}>) => void;
|
|
14502
|
+
};
|
|
14503
|
+
readonly effects: {
|
|
14504
|
+
readonly prepareAnnouncer: ({ env }: import("@rind-ui/core").EffectArgs<{
|
|
14505
|
+
props: import("@rind-ui/core").SuggestionsProps;
|
|
14506
|
+
events: import("@rind-ui/core").SuggestionsEvent;
|
|
14507
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
14508
|
+
context: import("@rind-ui/core").SuggestionsContext;
|
|
14509
|
+
}>) => () => void;
|
|
14510
|
+
readonly syncInitial: ({ send }: import("@rind-ui/core").EffectArgs<{
|
|
14511
|
+
props: import("@rind-ui/core").SuggestionsProps;
|
|
14512
|
+
events: import("@rind-ui/core").SuggestionsEvent;
|
|
14513
|
+
env: import("@rind-ui/core").AnnouncerEnv & import("@rind-ui/core").LocaleEnv;
|
|
14514
|
+
context: import("@rind-ui/core").SuggestionsContext;
|
|
14515
|
+
}>) => undefined;
|
|
14516
|
+
};
|
|
14517
|
+
}, Record<never, never>>, "description" | "item" | "label" | "root", readonly [anchor?: {
|
|
14518
|
+
readonly name: string | RegExp;
|
|
14519
|
+
} | undefined], {
|
|
14520
|
+
readonly items: (env: import("@rind-ui/core").Env<"description" | "item" | "label" | "root">) => Promise<string[]>;
|
|
14521
|
+
readonly count: (env: import("@rind-ui/core").Env<"description" | "item" | "label" | "root">) => Promise<number>;
|
|
14522
|
+
readonly isLoading: (env: import("@rind-ui/core").Env<"description" | "item" | "label" | "root">) => Promise<boolean>;
|
|
14523
|
+
readonly isDisabled: (env: import("@rind-ui/core").Env<"description" | "item" | "label" | "root">) => Promise<boolean>;
|
|
14524
|
+
}, {
|
|
14525
|
+
readonly pick: {
|
|
14526
|
+
pointer: (env: import("@rind-ui/core").Env<"description" | "item" | "label" | "root">, target: string | number) => Promise<void>;
|
|
14527
|
+
touch: (env: import("@rind-ui/core").Env<"description" | "item" | "label" | "root">, target: string | number) => Promise<void>;
|
|
14528
|
+
keyboard: (env: import("@rind-ui/core").Env<"description" | "item" | "label" | "root">, target: string | number) => Promise<void>;
|
|
14529
|
+
done: () => Promise<boolean>;
|
|
14530
|
+
};
|
|
14531
|
+
}>>;
|
|
14532
|
+
//#endregion
|
|
12549
14533
|
//#region src/components/switch.d.ts
|
|
12550
14534
|
/** A driver for the Switch named `name`. */
|
|
12551
14535
|
export declare function getSwitch(target: Target, anchor: {
|
|
@@ -13760,6 +15744,161 @@ export declare function getTimeline(target: Target, anchor?: {
|
|
|
13760
15744
|
readonly titles: (env: import("@rind-ui/core").Env<"connector" | "content" | "description" | "indicator" | "item" | "opposite" | "root" | "time" | "title">) => Promise<string[]>;
|
|
13761
15745
|
}, {}>>;
|
|
13762
15746
|
//#endregion
|
|
15747
|
+
//#region src/components/timer.d.ts
|
|
15748
|
+
/** A driver for the only Timer in `target`. */
|
|
15749
|
+
export declare function getTimer(target: Target, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"completed" | "idle" | "paused" | "running", {
|
|
15750
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15751
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15752
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15753
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15754
|
+
}, {
|
|
15755
|
+
readonly types: {
|
|
15756
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15757
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15758
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15759
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15760
|
+
};
|
|
15761
|
+
readonly guards: {
|
|
15762
|
+
readonly reached: ({ context, props, env }: import("@rind-ui/core").GuardArgs<{
|
|
15763
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15764
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15765
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15766
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15767
|
+
}>) => boolean;
|
|
15768
|
+
};
|
|
15769
|
+
readonly actions: {
|
|
15770
|
+
readonly enterIdle: (a: {
|
|
15771
|
+
readonly context: import("@rind-ui/core").TimerContext;
|
|
15772
|
+
readonly props: import("@rind-ui/core").TimerProps;
|
|
15773
|
+
readonly set: (key: "reported", value: import("@rind-ui/core").TimerState) => void;
|
|
15774
|
+
}) => void;
|
|
15775
|
+
readonly enterRunning: (a: {
|
|
15776
|
+
readonly context: import("@rind-ui/core").TimerContext;
|
|
15777
|
+
readonly props: import("@rind-ui/core").TimerProps;
|
|
15778
|
+
readonly set: (key: "reported", value: import("@rind-ui/core").TimerState) => void;
|
|
15779
|
+
}) => void;
|
|
15780
|
+
readonly enterPaused: (a: {
|
|
15781
|
+
readonly context: import("@rind-ui/core").TimerContext;
|
|
15782
|
+
readonly props: import("@rind-ui/core").TimerProps;
|
|
15783
|
+
readonly set: (key: "reported", value: import("@rind-ui/core").TimerState) => void;
|
|
15784
|
+
}) => void;
|
|
15785
|
+
readonly enterCompleted: (a: {
|
|
15786
|
+
readonly context: import("@rind-ui/core").TimerContext;
|
|
15787
|
+
readonly props: import("@rind-ui/core").TimerProps;
|
|
15788
|
+
readonly set: (key: "reported", value: import("@rind-ui/core").TimerState) => void;
|
|
15789
|
+
}) => void;
|
|
15790
|
+
readonly run: ({ context, env, set }: import("@rind-ui/core").ActionArgs<{
|
|
15791
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15792
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15793
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15794
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15795
|
+
}>) => void;
|
|
15796
|
+
readonly runFromStart: ({ env, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
15797
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15798
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15799
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15800
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15801
|
+
}>) => void;
|
|
15802
|
+
readonly toStart: ({ props, set }: import("@rind-ui/core").ActionArgs<{
|
|
15803
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15804
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15805
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15806
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15807
|
+
}>) => void;
|
|
15808
|
+
readonly capture: ({ context, env, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
15809
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15810
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15811
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15812
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15813
|
+
}>) => void;
|
|
15814
|
+
readonly recompute: ({ context, env, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
15815
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15816
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15817
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15818
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15819
|
+
}>) => void;
|
|
15820
|
+
readonly finish: ({ props, set }: import("@rind-ui/core").ActionArgs<{
|
|
15821
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15822
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15823
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15824
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15825
|
+
}>) => void;
|
|
15826
|
+
readonly notifyTick: ({ context, props }: import("@rind-ui/core").ActionArgs<{
|
|
15827
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15828
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15829
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15830
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15831
|
+
}>) => void;
|
|
15832
|
+
readonly notifyComplete: ({ env, props }: import("@rind-ui/core").ActionArgs<{
|
|
15833
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15834
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15835
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15836
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15837
|
+
}>) => void;
|
|
15838
|
+
};
|
|
15839
|
+
readonly effects: {
|
|
15840
|
+
readonly ticking: ({ context, env, props, send }: import("@rind-ui/core").EffectArgs<{
|
|
15841
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15842
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15843
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15844
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15845
|
+
}>) => () => void;
|
|
15846
|
+
readonly autoStart: ({ props, send }: import("@rind-ui/core").EffectArgs<{
|
|
15847
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15848
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15849
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15850
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15851
|
+
}>) => undefined;
|
|
15852
|
+
readonly catchUp: ({ env, send }: import("@rind-ui/core").EffectArgs<{
|
|
15853
|
+
props: import("@rind-ui/core").TimerProps;
|
|
15854
|
+
events: import("@rind-ui/core").TimerEvent;
|
|
15855
|
+
env: import("@rind-ui/core").TimerEnv;
|
|
15856
|
+
context: import("@rind-ui/core").TimerContext;
|
|
15857
|
+
}>) => () => void;
|
|
15858
|
+
};
|
|
15859
|
+
}, Record<never, never>>, "action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator", readonly [], {
|
|
15860
|
+
readonly state: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<import("@rind-ui/core").TimerState>;
|
|
15861
|
+
readonly label: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<string>;
|
|
15862
|
+
readonly text: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<string>;
|
|
15863
|
+
}, {
|
|
15864
|
+
readonly start: {
|
|
15865
|
+
pointer: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15866
|
+
touch: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15867
|
+
keyboard: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15868
|
+
done: () => Promise<boolean>;
|
|
15869
|
+
};
|
|
15870
|
+
readonly pause: {
|
|
15871
|
+
pointer: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15872
|
+
touch: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15873
|
+
keyboard: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15874
|
+
done: () => Promise<boolean>;
|
|
15875
|
+
};
|
|
15876
|
+
readonly resume: {
|
|
15877
|
+
pointer: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15878
|
+
touch: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15879
|
+
keyboard: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15880
|
+
done: () => Promise<boolean>;
|
|
15881
|
+
};
|
|
15882
|
+
readonly reset: {
|
|
15883
|
+
pointer: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15884
|
+
touch: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15885
|
+
keyboard: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15886
|
+
done: () => Promise<boolean>;
|
|
15887
|
+
};
|
|
15888
|
+
readonly restart: {
|
|
15889
|
+
pointer: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15890
|
+
touch: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15891
|
+
keyboard: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15892
|
+
done: () => Promise<boolean>;
|
|
15893
|
+
};
|
|
15894
|
+
readonly toggle: {
|
|
15895
|
+
pointer: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15896
|
+
touch: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15897
|
+
keyboard: (env: import("@rind-ui/core").Env<"action-trigger" | "area" | "control" | "item" | "item-label" | "item-value" | "root" | "separator">) => Promise<void>;
|
|
15898
|
+
done: () => Promise<boolean>;
|
|
15899
|
+
};
|
|
15900
|
+
}>>;
|
|
15901
|
+
//#endregion
|
|
13763
15902
|
//#region src/components/toast.d.ts
|
|
13764
15903
|
/** A driver for the toaster region named `name` ("Notifications (F6)"): enter, leave, queries. */
|
|
13765
15904
|
export declare function getToaster(target: Target, anchor: {
|
|
@@ -13783,6 +15922,12 @@ export declare function getToaster(target: Target, anchor: {
|
|
|
13783
15922
|
env: Record<string, never>;
|
|
13784
15923
|
context: import("@rind-ui/core").ToasterContext;
|
|
13785
15924
|
}>) => boolean;
|
|
15925
|
+
readonly gone: ({ props }: import("@rind-ui/core").GuardArgs<{
|
|
15926
|
+
props: import("@rind-ui/core").ToasterProps;
|
|
15927
|
+
events: import("@rind-ui/core").ToasterEvent;
|
|
15928
|
+
env: Record<string, never>;
|
|
15929
|
+
context: import("@rind-ui/core").ToasterContext;
|
|
15930
|
+
}>) => boolean;
|
|
13786
15931
|
readonly expands: ({ event }: import("@rind-ui/core").GuardArgs<{
|
|
13787
15932
|
props: import("@rind-ui/core").ToasterProps;
|
|
13788
15933
|
events: import("@rind-ui/core").ToasterEvent;
|
|
@@ -13827,6 +15972,12 @@ export declare function getToaster(target: Target, anchor: {
|
|
|
13827
15972
|
env: Record<string, never>;
|
|
13828
15973
|
context: import("@rind-ui/core").ToasterContext;
|
|
13829
15974
|
}>) => void;
|
|
15975
|
+
readonly release: ({ context, props, set }: import("@rind-ui/core").ActionArgs<{
|
|
15976
|
+
props: import("@rind-ui/core").ToasterProps;
|
|
15977
|
+
events: import("@rind-ui/core").ToasterEvent;
|
|
15978
|
+
env: Record<string, never>;
|
|
15979
|
+
context: import("@rind-ui/core").ToasterContext;
|
|
15980
|
+
}>) => void;
|
|
13830
15981
|
};
|
|
13831
15982
|
}, Record<never, never>>, "list" | "region" | "root", readonly [{
|
|
13832
15983
|
readonly name: string | RegExp;
|
|
@@ -14213,6 +16364,129 @@ export declare function getToggleGroup(target: Target, anchor: {
|
|
|
14213
16364
|
};
|
|
14214
16365
|
}>>;
|
|
14215
16366
|
//#endregion
|
|
16367
|
+
//#region src/components/tool-call.d.ts
|
|
16368
|
+
/** A driver for the Tool Call whose Header is named `name`, or the only one in `target`. */
|
|
16369
|
+
export declare function getToolCall(target: Target, anchor?: {
|
|
16370
|
+
readonly name: string | RegExp;
|
|
16371
|
+
}, options?: DriverOptions): Driver<import("@rind-ui/core").Contract<import("@rind-ui/core").Machine<"live", {
|
|
16372
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16373
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16374
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16375
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16376
|
+
values: "open";
|
|
16377
|
+
}, {
|
|
16378
|
+
readonly types: {
|
|
16379
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16380
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16381
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16382
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16383
|
+
values: "open";
|
|
16384
|
+
};
|
|
16385
|
+
readonly guards: {
|
|
16386
|
+
readonly canDecide: ({ context, props }: import("@rind-ui/core").GuardArgs<{
|
|
16387
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16388
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16389
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16390
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16391
|
+
values: "open";
|
|
16392
|
+
}>) => boolean;
|
|
16393
|
+
};
|
|
16394
|
+
readonly actions: {
|
|
16395
|
+
readonly toggle: ({ set, values }: import("@rind-ui/core").ActionArgs<{
|
|
16396
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16397
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16398
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16399
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16400
|
+
values: "open";
|
|
16401
|
+
}>) => void;
|
|
16402
|
+
readonly markStart: ({ context, env, set }: import("@rind-ui/core").ActionArgs<{
|
|
16403
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16404
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16405
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16406
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16407
|
+
values: "open";
|
|
16408
|
+
}>) => void;
|
|
16409
|
+
readonly approve: (args: import("@rind-ui/core").ActionArgs<{
|
|
16410
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16411
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16412
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16413
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16414
|
+
values: "open";
|
|
16415
|
+
}>) => void;
|
|
16416
|
+
readonly deny: (args: import("@rind-ui/core").ActionArgs<{
|
|
16417
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16418
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16419
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16420
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16421
|
+
values: "open";
|
|
16422
|
+
}>) => void;
|
|
16423
|
+
readonly settled: (args: import("@rind-ui/core").ActionArgs<{
|
|
16424
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16425
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16426
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16427
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16428
|
+
values: "open";
|
|
16429
|
+
}>) => void;
|
|
16430
|
+
readonly failed: ({ context, set }: import("@rind-ui/core").ActionArgs<{
|
|
16431
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16432
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16433
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16434
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16435
|
+
values: "open";
|
|
16436
|
+
}>) => void;
|
|
16437
|
+
readonly status: (args: import("@rind-ui/core").ActionArgs<{
|
|
16438
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16439
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16440
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16441
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16442
|
+
values: "open";
|
|
16443
|
+
}>) => void;
|
|
16444
|
+
};
|
|
16445
|
+
readonly effects: {
|
|
16446
|
+
readonly prepareAnnouncer: ({ env }: import("@rind-ui/core").EffectArgs<{
|
|
16447
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16448
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16449
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16450
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16451
|
+
values: "open";
|
|
16452
|
+
}>) => () => void;
|
|
16453
|
+
readonly mountStatus: ({ send }: import("@rind-ui/core").EffectArgs<{
|
|
16454
|
+
props: import("@rind-ui/core").ToolCallProps;
|
|
16455
|
+
events: import("@rind-ui/core").ToolCallEvent;
|
|
16456
|
+
env: import("@rind-ui/core").ToolCallEnv;
|
|
16457
|
+
context: import("@rind-ui/core").ToolCallContext;
|
|
16458
|
+
values: "open";
|
|
16459
|
+
}>) => undefined;
|
|
16460
|
+
};
|
|
16461
|
+
}, Record<never, never>>, "approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status", readonly [anchor?: {
|
|
16462
|
+
readonly name: string | RegExp;
|
|
16463
|
+
} | undefined], {
|
|
16464
|
+
readonly status: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<import("@rind-ui/core").ToolCallStatus>;
|
|
16465
|
+
readonly isOpen: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<boolean>;
|
|
16466
|
+
readonly approvalState: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<import("@rind-ui/core").ApprovalState>;
|
|
16467
|
+
readonly decision: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<string | null>;
|
|
16468
|
+
readonly receiptText: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<string>;
|
|
16469
|
+
}, {
|
|
16470
|
+
readonly toggle: {
|
|
16471
|
+
pointer: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<void>;
|
|
16472
|
+
touch: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<void>;
|
|
16473
|
+
keyboard: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<void>;
|
|
16474
|
+
done: () => Promise<boolean>;
|
|
16475
|
+
};
|
|
16476
|
+
readonly approve: {
|
|
16477
|
+
pointer: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<void>;
|
|
16478
|
+
touch: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<void>;
|
|
16479
|
+
keyboard: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<void>;
|
|
16480
|
+
done: () => Promise<boolean>;
|
|
16481
|
+
};
|
|
16482
|
+
readonly deny: {
|
|
16483
|
+
pointer: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<void>;
|
|
16484
|
+
touch: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<void>;
|
|
16485
|
+
keyboard: (env: import("@rind-ui/core").Env<"approval" | "approval-description" | "approval-title" | "approve" | "content" | "deny" | "duration" | "error" | "header" | "input" | "name" | "output" | "receipt" | "root" | "status">) => Promise<void>;
|
|
16486
|
+
done: () => Promise<boolean>;
|
|
16487
|
+
};
|
|
16488
|
+
}>>;
|
|
16489
|
+
//#endregion
|
|
14216
16490
|
//#region src/components/toolbar.d.ts
|
|
14217
16491
|
/** A driver for the Toolbar named `name`. */
|
|
14218
16492
|
export declare function getToolbar(target: Target, anchor: {
|