react-grab 0.2.0-dev.0afed86 → 0.2.0-dev.38d4995
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/{copy-content-BwBAqbRh.d.cts → copy-content-CljOvmB4.d.cts} +294 -132
- package/dist/{copy-content-lkRiqdFh.d.ts → copy-content-DDLzIgnG.d.ts} +294 -132
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +1 -1
- package/dist/core-C1CGyUJw.js +11 -0
- package/dist/core-CYC_DsQ_.cjs +11 -0
- package/dist/{execute-context-menu-action-CGUVE10M.js → execute-context-menu-action-Dd-oxJiJ.js} +1 -1
- package/dist/{execute-context-menu-action-CDIyTcdl.cjs → execute-context-menu-action-R9qh8DM8.cjs} +1 -1
- package/dist/freeze-updates-Bg6XBOxo.js +43 -0
- package/dist/freeze-updates-DsB9dRQe.cjs +43 -0
- package/dist/{index-CvAuGVjl.d.cts → index-BlldPSOG.d.cts} +1 -1
- package/dist/{index-BX45N3Oq.d.ts → index-VLefE6H1.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.global.js +19 -19
- package/dist/index.js +1 -1
- package/dist/open-file-CP_S-b2f.cjs +20 -0
- package/dist/open-file-DYWtuLPq.js +29 -0
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.d.cts +1 -1
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +1 -1
- package/dist/renderer-BYVRT521.cjs +9 -0
- package/dist/renderer-COtU0rkU.js +9 -0
- package/package.json +3 -3
- package/dist/core-BCf6VJWx.js +0 -11
- package/dist/core-BKRUeClr.cjs +0 -11
- package/dist/freeze-updates-BtO8UoPE.cjs +0 -43
- package/dist/freeze-updates-CvPq8qj2.js +0 -43
- package/dist/open-file-Bw-JL7g0.js +0 -29
- package/dist/open-file-C61oRMR-.cjs +0 -20
- package/dist/renderer-Bh9QtcjH.js +0 -9
- package/dist/renderer-DzZ8O_OL.cjs +0 -9
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
import { ReactNode } from "react";
|
|
10
|
+
import ReactReconciler from "react-reconciler";
|
|
10
11
|
|
|
11
12
|
//#region ../../node_modules/.pnpm/solid-js@1.9.12/node_modules/solid-js/types/reactive/observable.d.ts
|
|
12
13
|
declare global {
|
|
@@ -485,136 +486,288 @@ interface ReactGrabEntry {
|
|
|
485
486
|
frames?: ReactGrabStackFrame[];
|
|
486
487
|
}
|
|
487
488
|
//#endregion
|
|
488
|
-
//#region ../../node_modules/.pnpm/bippy@0.
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
489
|
+
//#region ../../node_modules/.pnpm/bippy@0.7.2_@types+react@19.2.14_react@19.2.6/node_modules/bippy/dist/errors.d.ts
|
|
490
|
+
interface ReactWorkTagMap {
|
|
491
|
+
ActivityComponent: number;
|
|
492
|
+
CacheComponent: number;
|
|
493
|
+
ClassComponent: number;
|
|
494
|
+
ContextConsumer: number;
|
|
495
|
+
ContextProvider: number;
|
|
496
|
+
CoroutineComponent: number;
|
|
497
|
+
CoroutineHandlerPhase: number;
|
|
498
|
+
DehydratedSuspenseComponent: number;
|
|
499
|
+
ForwardRef: number;
|
|
500
|
+
Fragment: number;
|
|
501
|
+
FunctionComponent: number;
|
|
502
|
+
HostComponent: number;
|
|
503
|
+
HostHoistable: number;
|
|
504
|
+
HostPortal: number;
|
|
505
|
+
HostRoot: number;
|
|
506
|
+
HostSingleton: number;
|
|
507
|
+
HostText: number;
|
|
508
|
+
IncompleteClassComponent: number;
|
|
509
|
+
IncompleteFunctionComponent: number;
|
|
510
|
+
IndeterminateComponent: number;
|
|
511
|
+
LazyComponent: number;
|
|
512
|
+
LegacyHiddenComponent: number;
|
|
513
|
+
MemoComponent: number;
|
|
514
|
+
Mode: number;
|
|
515
|
+
OffscreenComponent: number;
|
|
516
|
+
Profiler: number;
|
|
517
|
+
ScopeComponent: number;
|
|
518
|
+
SimpleMemoComponent: number;
|
|
519
|
+
SuspenseComponent: number;
|
|
520
|
+
SuspenseListComponent: number;
|
|
521
|
+
Throw: number;
|
|
522
|
+
TracingMarkerComponent: number;
|
|
523
|
+
ViewTransitionComponent: number;
|
|
524
|
+
YieldComponent: number;
|
|
525
|
+
}
|
|
526
|
+
declare const reactWorkTagsByVersion: {
|
|
527
|
+
readonly "16.0.0": {
|
|
528
|
+
readonly ActivityComponent: -1;
|
|
529
|
+
readonly CacheComponent: -1;
|
|
530
|
+
readonly ClassComponent: 2;
|
|
531
|
+
readonly ContextConsumer: 12;
|
|
532
|
+
readonly ContextProvider: 13;
|
|
533
|
+
readonly CoroutineComponent: 7;
|
|
534
|
+
readonly CoroutineHandlerPhase: 8;
|
|
535
|
+
readonly DehydratedSuspenseComponent: -1;
|
|
536
|
+
readonly ForwardRef: 14;
|
|
537
|
+
readonly Fragment: 10;
|
|
538
|
+
readonly FunctionComponent: 1;
|
|
539
|
+
readonly HostComponent: 5;
|
|
540
|
+
readonly HostHoistable: -1;
|
|
541
|
+
readonly HostPortal: 4;
|
|
542
|
+
readonly HostRoot: 3;
|
|
543
|
+
readonly HostSingleton: -1;
|
|
544
|
+
readonly HostText: 6;
|
|
545
|
+
readonly IncompleteClassComponent: -1;
|
|
546
|
+
readonly IncompleteFunctionComponent: -1;
|
|
547
|
+
readonly IndeterminateComponent: 0;
|
|
548
|
+
readonly LazyComponent: -1;
|
|
549
|
+
readonly LegacyHiddenComponent: -1;
|
|
550
|
+
readonly MemoComponent: -1;
|
|
551
|
+
readonly Mode: 11;
|
|
552
|
+
readonly OffscreenComponent: -1;
|
|
553
|
+
readonly Profiler: 15;
|
|
554
|
+
readonly ScopeComponent: -1;
|
|
555
|
+
readonly SimpleMemoComponent: -1;
|
|
556
|
+
readonly SuspenseComponent: 16;
|
|
557
|
+
readonly SuspenseListComponent: -1;
|
|
558
|
+
readonly Throw: -1;
|
|
559
|
+
readonly TracingMarkerComponent: -1;
|
|
560
|
+
readonly ViewTransitionComponent: -1;
|
|
561
|
+
readonly YieldComponent: 9;
|
|
562
|
+
};
|
|
563
|
+
readonly "16.4.3-alpha": {
|
|
564
|
+
readonly ActivityComponent: -1;
|
|
565
|
+
readonly CacheComponent: -1;
|
|
566
|
+
readonly ClassComponent: 2;
|
|
567
|
+
readonly ContextConsumer: 11;
|
|
568
|
+
readonly ContextProvider: 12;
|
|
569
|
+
readonly CoroutineComponent: -1;
|
|
570
|
+
readonly CoroutineHandlerPhase: -1;
|
|
571
|
+
readonly DehydratedSuspenseComponent: -1;
|
|
572
|
+
readonly ForwardRef: 13;
|
|
573
|
+
readonly Fragment: 9;
|
|
574
|
+
readonly FunctionComponent: 0;
|
|
575
|
+
readonly HostComponent: 7;
|
|
576
|
+
readonly HostHoistable: -1;
|
|
577
|
+
readonly HostPortal: 6;
|
|
578
|
+
readonly HostRoot: 5;
|
|
579
|
+
readonly HostSingleton: -1;
|
|
580
|
+
readonly HostText: 8;
|
|
581
|
+
readonly IncompleteClassComponent: -1;
|
|
582
|
+
readonly IncompleteFunctionComponent: -1;
|
|
583
|
+
readonly IndeterminateComponent: 4;
|
|
584
|
+
readonly LazyComponent: -1;
|
|
585
|
+
readonly LegacyHiddenComponent: -1;
|
|
586
|
+
readonly MemoComponent: -1;
|
|
587
|
+
readonly Mode: 10;
|
|
588
|
+
readonly OffscreenComponent: -1;
|
|
589
|
+
readonly Profiler: 15;
|
|
590
|
+
readonly ScopeComponent: -1;
|
|
591
|
+
readonly SimpleMemoComponent: -1;
|
|
592
|
+
readonly SuspenseComponent: 16;
|
|
593
|
+
readonly SuspenseListComponent: -1;
|
|
594
|
+
readonly Throw: -1;
|
|
595
|
+
readonly TracingMarkerComponent: -1;
|
|
596
|
+
readonly ViewTransitionComponent: -1;
|
|
597
|
+
readonly YieldComponent: -1;
|
|
598
|
+
};
|
|
599
|
+
readonly "16.6.0-beta.0": {
|
|
600
|
+
readonly ActivityComponent: -1;
|
|
601
|
+
readonly CacheComponent: -1;
|
|
602
|
+
readonly ClassComponent: 1;
|
|
603
|
+
readonly ContextConsumer: 9;
|
|
604
|
+
readonly ContextProvider: 10;
|
|
605
|
+
readonly CoroutineComponent: -1;
|
|
606
|
+
readonly CoroutineHandlerPhase: -1;
|
|
607
|
+
readonly DehydratedSuspenseComponent: 18;
|
|
608
|
+
readonly ForwardRef: 11;
|
|
609
|
+
readonly Fragment: 7;
|
|
610
|
+
readonly FunctionComponent: 0;
|
|
611
|
+
readonly HostComponent: 5;
|
|
612
|
+
readonly HostHoistable: -1;
|
|
613
|
+
readonly HostPortal: 4;
|
|
614
|
+
readonly HostRoot: 3;
|
|
615
|
+
readonly HostSingleton: -1;
|
|
616
|
+
readonly HostText: 6;
|
|
617
|
+
readonly IncompleteClassComponent: 17;
|
|
618
|
+
readonly IncompleteFunctionComponent: -1;
|
|
619
|
+
readonly IndeterminateComponent: 2;
|
|
620
|
+
readonly LazyComponent: 16;
|
|
621
|
+
readonly LegacyHiddenComponent: -1;
|
|
622
|
+
readonly MemoComponent: 14;
|
|
623
|
+
readonly Mode: 8;
|
|
624
|
+
readonly OffscreenComponent: -1;
|
|
625
|
+
readonly Profiler: 12;
|
|
626
|
+
readonly ScopeComponent: -1;
|
|
627
|
+
readonly SimpleMemoComponent: 15;
|
|
628
|
+
readonly SuspenseComponent: 13;
|
|
629
|
+
readonly SuspenseListComponent: 19;
|
|
630
|
+
readonly Throw: -1;
|
|
631
|
+
readonly TracingMarkerComponent: -1;
|
|
632
|
+
readonly ViewTransitionComponent: -1;
|
|
633
|
+
readonly YieldComponent: -1;
|
|
634
|
+
};
|
|
635
|
+
readonly "17.0.0-alpha": {
|
|
636
|
+
readonly ActivityComponent: -1;
|
|
637
|
+
readonly CacheComponent: -1;
|
|
638
|
+
readonly ClassComponent: 1;
|
|
639
|
+
readonly ContextConsumer: 9;
|
|
640
|
+
readonly ContextProvider: 10;
|
|
641
|
+
readonly CoroutineComponent: -1;
|
|
642
|
+
readonly CoroutineHandlerPhase: -1;
|
|
643
|
+
readonly DehydratedSuspenseComponent: 18;
|
|
644
|
+
readonly ForwardRef: 11;
|
|
645
|
+
readonly Fragment: 7;
|
|
646
|
+
readonly FunctionComponent: 0;
|
|
647
|
+
readonly HostComponent: 5;
|
|
648
|
+
readonly HostHoistable: -1;
|
|
649
|
+
readonly HostPortal: 4;
|
|
650
|
+
readonly HostRoot: 3;
|
|
651
|
+
readonly HostSingleton: -1;
|
|
652
|
+
readonly HostText: 6;
|
|
653
|
+
readonly IncompleteClassComponent: 17;
|
|
654
|
+
readonly IncompleteFunctionComponent: -1;
|
|
655
|
+
readonly IndeterminateComponent: 2;
|
|
656
|
+
readonly LazyComponent: 16;
|
|
657
|
+
readonly LegacyHiddenComponent: 24;
|
|
658
|
+
readonly MemoComponent: 14;
|
|
659
|
+
readonly Mode: 8;
|
|
660
|
+
readonly OffscreenComponent: 23;
|
|
661
|
+
readonly Profiler: 12;
|
|
662
|
+
readonly ScopeComponent: 21;
|
|
663
|
+
readonly SimpleMemoComponent: 15;
|
|
664
|
+
readonly SuspenseComponent: 13;
|
|
665
|
+
readonly SuspenseListComponent: 19;
|
|
666
|
+
readonly Throw: -1;
|
|
667
|
+
readonly TracingMarkerComponent: -1;
|
|
668
|
+
readonly ViewTransitionComponent: -1;
|
|
669
|
+
readonly YieldComponent: -1;
|
|
670
|
+
};
|
|
671
|
+
readonly "17.0.2": {
|
|
672
|
+
readonly ActivityComponent: 31;
|
|
673
|
+
readonly CacheComponent: 24;
|
|
674
|
+
readonly ClassComponent: 1;
|
|
675
|
+
readonly ContextConsumer: 9;
|
|
676
|
+
readonly ContextProvider: 10;
|
|
677
|
+
readonly CoroutineComponent: -1;
|
|
678
|
+
readonly CoroutineHandlerPhase: -1;
|
|
679
|
+
readonly DehydratedSuspenseComponent: 18;
|
|
680
|
+
readonly ForwardRef: 11;
|
|
681
|
+
readonly Fragment: 7;
|
|
682
|
+
readonly FunctionComponent: 0;
|
|
683
|
+
readonly HostComponent: 5;
|
|
684
|
+
readonly HostHoistable: 26;
|
|
685
|
+
readonly HostPortal: 4;
|
|
686
|
+
readonly HostRoot: 3;
|
|
687
|
+
readonly HostSingleton: 27;
|
|
688
|
+
readonly HostText: 6;
|
|
689
|
+
readonly IncompleteClassComponent: 17;
|
|
690
|
+
readonly IncompleteFunctionComponent: 28;
|
|
691
|
+
readonly IndeterminateComponent: 2;
|
|
692
|
+
readonly LazyComponent: 16;
|
|
693
|
+
readonly LegacyHiddenComponent: 23;
|
|
694
|
+
readonly MemoComponent: 14;
|
|
695
|
+
readonly Mode: 8;
|
|
696
|
+
readonly OffscreenComponent: 22;
|
|
697
|
+
readonly Profiler: 12;
|
|
698
|
+
readonly ScopeComponent: 21;
|
|
699
|
+
readonly SimpleMemoComponent: 15;
|
|
700
|
+
readonly SuspenseComponent: 13;
|
|
701
|
+
readonly SuspenseListComponent: 19;
|
|
702
|
+
readonly Throw: 29;
|
|
703
|
+
readonly TracingMarkerComponent: 25;
|
|
704
|
+
readonly ViewTransitionComponent: 30;
|
|
705
|
+
readonly YieldComponent: -1;
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
type ReactWorkTagVersion = keyof typeof reactWorkTagsByVersion;
|
|
709
|
+
type ReactWorkTag = Exclude<(typeof reactWorkTagsByVersion)[ReactWorkTagVersion][keyof ReactWorkTagMap], -1>;
|
|
710
|
+
//#endregion
|
|
711
|
+
//#region src/react-internals/types.d.ts
|
|
712
|
+
type WorkTag = ReactReconciler.WorkTag | ReactWorkTag;
|
|
713
|
+
interface Source extends ReactReconciler.Source {}
|
|
714
|
+
interface ContextDependency<T> extends Omit<ReactReconciler.ContextDependency<T>, "observedBits"> {
|
|
715
|
+
memoizedValue?: T;
|
|
716
|
+
observedBits?: number;
|
|
717
|
+
}
|
|
718
|
+
interface DebugThenableState {
|
|
719
|
+
thenables?: unknown[];
|
|
720
|
+
}
|
|
721
|
+
interface Dependencies extends Omit<ReactReconciler.Dependencies, "firstContext"> {
|
|
722
|
+
_debugThenableState?: DebugThenableState | unknown[];
|
|
564
723
|
firstContext: ContextDependency<unknown> | null;
|
|
565
|
-
lanes: Lanes;
|
|
566
724
|
}
|
|
567
|
-
interface
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
next: Effect | null;
|
|
573
|
-
tag: number;
|
|
725
|
+
interface ServerComponentInfo {
|
|
726
|
+
name?: string;
|
|
727
|
+
env?: string;
|
|
728
|
+
owner?: Fiber | ServerComponentInfo | null;
|
|
729
|
+
debugStack?: Error | null;
|
|
574
730
|
}
|
|
575
|
-
interface
|
|
576
|
-
|
|
731
|
+
interface ReactDebugInfo {
|
|
732
|
+
debugLocation?: unknown;
|
|
733
|
+
env?: string;
|
|
734
|
+
name?: string;
|
|
577
735
|
}
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
*/
|
|
582
|
-
interface RendererRefreshUpdate {
|
|
583
|
-
staleFamilies: Set<Family>;
|
|
584
|
-
updatedFamilies: Set<Family>;
|
|
736
|
+
interface ReactMemoCache {
|
|
737
|
+
data: unknown[][];
|
|
738
|
+
index: number;
|
|
585
739
|
}
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
_debugOwner?: Fiber;
|
|
596
|
-
_debugSource?:
|
|
597
|
-
columnNumber?: number;
|
|
598
|
-
fileName: string;
|
|
599
|
-
lineNumber: number;
|
|
600
|
-
};
|
|
740
|
+
interface FiberDebugSource extends Source {
|
|
741
|
+
columnNumber?: number;
|
|
742
|
+
}
|
|
743
|
+
interface FiberUpdateQueue {
|
|
744
|
+
[key: string]: unknown;
|
|
745
|
+
memoCache?: ReactMemoCache;
|
|
746
|
+
}
|
|
747
|
+
interface Fiber<T = unknown> extends Omit<ReactReconciler.Fiber, "alternate" | "_debugOwner" | "_debugSource" | "child" | "deletions" | "dependencies" | "memoizedProps" | "memoizedState" | "pendingProps" | "return" | "sibling" | "stateNode" | "tag" | "updateQueue"> {
|
|
748
|
+
_debugInfo?: ReactDebugInfo[];
|
|
749
|
+
_debugOwner?: Fiber | ServerComponentInfo | null;
|
|
750
|
+
_debugSource?: FiberDebugSource | null;
|
|
601
751
|
_debugStack?: Error & {
|
|
602
752
|
stack: string;
|
|
603
753
|
};
|
|
604
754
|
alternate: Fiber | null;
|
|
605
755
|
child: Fiber | null;
|
|
756
|
+
deletions: Fiber[] | null;
|
|
606
757
|
dependencies: Dependencies | null;
|
|
758
|
+
effectTag?: number;
|
|
607
759
|
memoizedProps: Props;
|
|
608
|
-
memoizedState: MemoizedState;
|
|
760
|
+
memoizedState: MemoizedState | null;
|
|
609
761
|
pendingProps: Props;
|
|
610
762
|
return: Fiber | null;
|
|
611
763
|
sibling: Fiber | null;
|
|
612
764
|
stateNode: T;
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
765
|
+
tag: WorkTag;
|
|
766
|
+
updateQueue: FiberUpdateQueue | null;
|
|
767
|
+
}
|
|
768
|
+
interface FiberRoot {
|
|
769
|
+
current: Fiber;
|
|
770
|
+
}
|
|
618
771
|
interface MemoizedState {
|
|
619
772
|
[key: string]: unknown;
|
|
620
773
|
memoizedState: unknown;
|
|
@@ -623,52 +776,61 @@ interface MemoizedState {
|
|
|
623
776
|
interface Props {
|
|
624
777
|
[key: string]: unknown;
|
|
625
778
|
}
|
|
779
|
+
interface ReactDevToolsEventHandler {
|
|
780
|
+
(data: unknown): void;
|
|
781
|
+
}
|
|
626
782
|
interface ReactDevToolsGlobalHook {
|
|
627
783
|
_instrumentationIsActive?: boolean;
|
|
628
784
|
_instrumentationSource?: string;
|
|
629
785
|
checkDCE: (fn: unknown) => void;
|
|
786
|
+
emit?: (event: string, data?: unknown) => void;
|
|
787
|
+
getFiberRoots?: (rendererID: number) => Set<FiberRoot>;
|
|
630
788
|
hasUnsupportedRendererAttached: boolean;
|
|
631
789
|
inject: (renderer: ReactRenderer) => number;
|
|
632
|
-
|
|
633
|
-
|
|
790
|
+
off?: (event: string, handler: ReactDevToolsEventHandler) => void;
|
|
791
|
+
on: (event: string, handler: ReactDevToolsEventHandler) => void;
|
|
792
|
+
onCommitFiberRoot: (rendererID: number, root: FiberRoot, priority: number | void, didError?: boolean) => void;
|
|
634
793
|
onCommitFiberUnmount: (rendererID: number, fiber: Fiber) => void;
|
|
635
794
|
onPostCommitFiberRoot: (rendererID: number, root: FiberRoot) => void;
|
|
636
795
|
onScheduleFiberRoot?: (rendererID: number, root: FiberRoot, children: ReactNode) => void;
|
|
637
796
|
renderers: Map<number, ReactRenderer>;
|
|
797
|
+
sub?: (event: string, handler: ReactDevToolsEventHandler) => () => void;
|
|
638
798
|
supportsFiber: boolean;
|
|
639
799
|
supportsFlight: boolean;
|
|
640
800
|
}
|
|
641
|
-
interface
|
|
642
|
-
|
|
643
|
-
|
|
801
|
+
interface LegacyDispatcherRef {
|
|
802
|
+
current: unknown;
|
|
803
|
+
}
|
|
804
|
+
interface CurrentDispatcherRef {
|
|
805
|
+
H: unknown;
|
|
806
|
+
}
|
|
807
|
+
type RendererDispatcherRef = CurrentDispatcherRef | LegacyDispatcherRef;
|
|
808
|
+
interface ReactRenderer extends Omit<ReactReconciler.DevToolsConfig<unknown, unknown, unknown>, "findFiberByHostInstance"> {
|
|
809
|
+
currentDispatcherRef?: RendererDispatcherRef | null;
|
|
644
810
|
findFiberByHostInstance?: (hostInstance: unknown) => Fiber | null;
|
|
645
|
-
getCurrentFiber?: (
|
|
811
|
+
getCurrentFiber?: () => Fiber | null;
|
|
646
812
|
overrideContext?: (fiber: Fiber, contextType: unknown, path: string[], value: unknown) => void;
|
|
647
|
-
overrideHookState?: (fiber: Fiber, id:
|
|
813
|
+
overrideHookState?: (fiber: Fiber, id: number, path: string[], value: unknown) => void;
|
|
648
814
|
overrideHookStateDeletePath?: (fiber: Fiber, id: number, path: Array<number | string>) => void;
|
|
649
815
|
overrideHookStateRenamePath?: (fiber: Fiber, id: number, oldPath: Array<number | string>, newPath: Array<number | string>) => void;
|
|
650
816
|
overrideProps?: (fiber: Fiber, path: string[], value: unknown) => void;
|
|
651
817
|
overridePropsDeletePath?: (fiber: Fiber, path: Array<number | string>) => void;
|
|
652
818
|
overridePropsRenamePath?: (fiber: Fiber, oldPath: Array<number | string>, newPath: Array<number | string>) => void;
|
|
653
|
-
reconcilerVersion
|
|
654
|
-
|
|
655
|
-
scheduleRefresh?: (root: FiberRoot, update: RendererRefreshUpdate) => void;
|
|
819
|
+
reconcilerVersion?: string;
|
|
820
|
+
scheduleRetry?: (fiber: Fiber) => void;
|
|
656
821
|
scheduleRoot?: (root: FiberRoot, element: React.ReactNode) => void;
|
|
657
822
|
scheduleUpdate?: (fiber: Fiber) => void;
|
|
658
|
-
setErrorHandler?: (newShouldErrorImpl: (fiber: Fiber) => boolean) => void;
|
|
659
|
-
|
|
660
|
-
setSuspenseHandler?: (newShouldSuspendImpl: (suspenseInstance: unknown) => void) => void;
|
|
661
|
-
version: string;
|
|
823
|
+
setErrorHandler?: (newShouldErrorImpl: (fiber: Fiber) => boolean | null) => void;
|
|
824
|
+
setSuspenseHandler?: (newShouldSuspendImpl: (fiber: Fiber) => boolean) => void;
|
|
662
825
|
}
|
|
663
826
|
declare global {
|
|
664
827
|
var __REACT_DEVTOOLS_GLOBAL_HOOK__: ReactDevToolsGlobalHook | undefined;
|
|
665
828
|
} //#endregion
|
|
666
|
-
//#region src/
|
|
829
|
+
//#region src/react-internals/index.d.ts
|
|
667
830
|
//#endregion
|
|
668
|
-
//#region ../../node_modules/.pnpm/bippy@0.
|
|
831
|
+
//#region ../../node_modules/.pnpm/bippy@0.7.2_@types+react@19.2.14_react@19.2.6/node_modules/bippy/dist/source.d.ts
|
|
669
832
|
//#region src/source/parse-stack.d.ts
|
|
670
833
|
interface StackFrame {
|
|
671
|
-
args?: unknown[];
|
|
672
834
|
columnNumber?: number;
|
|
673
835
|
lineNumber?: number;
|
|
674
836
|
enclosingLineNumber?: number;
|
|
@@ -681,7 +843,7 @@ interface StackFrame {
|
|
|
681
843
|
isIgnoreListed?: boolean;
|
|
682
844
|
}
|
|
683
845
|
//#endregion
|
|
684
|
-
//#region ../../node_modules/.pnpm/bippy@0.
|
|
846
|
+
//#region ../../node_modules/.pnpm/bippy@0.7.2_@types+react@19.2.14_react@19.2.6/node_modules/bippy/dist/index.d.ts
|
|
685
847
|
/**
|
|
686
848
|
* Returns `true` if bippy's instrumentation is active.
|
|
687
849
|
*/
|
package/dist/core/index.cjs
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../
|
|
9
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../freeze-updates-DsB9dRQe.cjs`),t=require(`../core-CYC_DsQ_.cjs`),n=require(`../open-file-CP_S-b2f.cjs`);exports.DEFAULT_THEME=t.l,exports.copyContent=n.n,exports.formatElementInfo=n.r,exports.generateSnippet=t.n,exports.getStack=n.o,exports.init=t.t,exports.isInstrumentationActive=e.pt;
|
package/dist/core/index.d.cts
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import { C as PluginConfig, D as ReactGrabAPI, M as SettableOptions, N as SourceInfo, O as ReactGrabRendererProps, S as Plugin, a as ActionContext, b as Options, c as AgentContext, l as ContextMenuAction, n as isInstrumentationActive, t as copyContent, w as PluginHooks, x as OverlayBounds } from "../copy-content-
|
|
10
|
-
import { a as getStack, i as formatElementInfo, n as generateSnippet, r as DEFAULT_THEME, t as init } from "../index-
|
|
9
|
+
import { C as PluginConfig, D as ReactGrabAPI, M as SettableOptions, N as SourceInfo, O as ReactGrabRendererProps, S as Plugin, a as ActionContext, b as Options, c as AgentContext, l as ContextMenuAction, n as isInstrumentationActive, t as copyContent, w as PluginHooks, x as OverlayBounds } from "../copy-content-CljOvmB4.cjs";
|
|
10
|
+
import { a as getStack, i as formatElementInfo, n as generateSnippet, r as DEFAULT_THEME, t as init } from "../index-BlldPSOG.cjs";
|
|
11
11
|
export { ActionContext, AgentContext, ContextMenuAction, DEFAULT_THEME, Options, OverlayBounds, Plugin, PluginConfig, PluginHooks, ReactGrabAPI, ReactGrabRendererProps, SettableOptions, SourceInfo, copyContent, formatElementInfo, generateSnippet, getStack, init, isInstrumentationActive };
|
package/dist/core/index.d.ts
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import { C as PluginConfig, D as ReactGrabAPI, M as SettableOptions, N as SourceInfo, O as ReactGrabRendererProps, S as Plugin, a as ActionContext, b as Options, c as AgentContext, l as ContextMenuAction, n as isInstrumentationActive, t as copyContent, w as PluginHooks, x as OverlayBounds } from "../copy-content-
|
|
10
|
-
import { a as getStack, i as formatElementInfo, n as generateSnippet, r as DEFAULT_THEME, t as init } from "../index-
|
|
9
|
+
import { C as PluginConfig, D as ReactGrabAPI, M as SettableOptions, N as SourceInfo, O as ReactGrabRendererProps, S as Plugin, a as ActionContext, b as Options, c as AgentContext, l as ContextMenuAction, n as isInstrumentationActive, t as copyContent, w as PluginHooks, x as OverlayBounds } from "../copy-content-DDLzIgnG.js";
|
|
10
|
+
import { a as getStack, i as formatElementInfo, n as generateSnippet, r as DEFAULT_THEME, t as init } from "../index-VLefE6H1.js";
|
|
11
11
|
export { ActionContext, AgentContext, ContextMenuAction, DEFAULT_THEME, Options, OverlayBounds, Plugin, PluginConfig, PluginHooks, ReactGrabAPI, ReactGrabRendererProps, SettableOptions, SourceInfo, copyContent, formatElementInfo, generateSnippet, getStack, init, isInstrumentationActive };
|
package/dist/core/index.js
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import{l as e,n as t,t as n}from"../core-
|
|
9
|
+
import{l as e,n as t,t as n}from"../core-C1CGyUJw.js";import{pt as r}from"../freeze-updates-Bg6XBOxo.js";import{n as i,o as a,r as o}from"../open-file-DYWtuLPq.js";export{e as DEFAULT_THEME,i as copyContent,o as formatElementInfo,t as generateSnippet,a as getStack,n as init,r as isInstrumentationActive};
|