react-native-prod-debugger 1.0.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/LICENSE +21 -0
- package/README.md +350 -0
- package/lib/commonjs/core/DebugBubble.js +139 -0
- package/lib/commonjs/core/DebugBubble.js.map +1 -0
- package/lib/commonjs/core/DebugOverlay.js +184 -0
- package/lib/commonjs/core/DebugOverlay.js.map +1 -0
- package/lib/commonjs/core/DebuggerProvider.js +174 -0
- package/lib/commonjs/core/DebuggerProvider.js.map +1 -0
- package/lib/commonjs/core/GestureDetector.js +83 -0
- package/lib/commonjs/core/GestureDetector.js.map +1 -0
- package/lib/commonjs/core/PluginRegistry.js +124 -0
- package/lib/commonjs/core/PluginRegistry.js.map +1 -0
- package/lib/commonjs/core/theme.js +50 -0
- package/lib/commonjs/core/theme.js.map +1 -0
- package/lib/commonjs/core/types.js +6 -0
- package/lib/commonjs/core/types.js.map +1 -0
- package/lib/commonjs/core/useDebugger.js +27 -0
- package/lib/commonjs/core/useDebugger.js.map +1 -0
- package/lib/commonjs/core/utils.js +239 -0
- package/lib/commonjs/core/utils.js.map +1 -0
- package/lib/commonjs/index.js +132 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/plugins/console/ConsoleInterceptor.js +103 -0
- package/lib/commonjs/plugins/console/ConsoleInterceptor.js.map +1 -0
- package/lib/commonjs/plugins/console/ConsoleViewerPlugin.js +269 -0
- package/lib/commonjs/plugins/console/ConsoleViewerPlugin.js.map +1 -0
- package/lib/commonjs/plugins/crashReporter/CrashReporterPlugin.js +363 -0
- package/lib/commonjs/plugins/crashReporter/CrashReporterPlugin.js.map +1 -0
- package/lib/commonjs/plugins/customActions/CustomActionsPlugin.js +218 -0
- package/lib/commonjs/plugins/customActions/CustomActionsPlugin.js.map +1 -0
- package/lib/commonjs/plugins/customActions/actionStore.js +46 -0
- package/lib/commonjs/plugins/customActions/actionStore.js.map +1 -0
- package/lib/commonjs/plugins/deepLinkTester/DeepLinkTesterPlugin.js +268 -0
- package/lib/commonjs/plugins/deepLinkTester/DeepLinkTesterPlugin.js.map +1 -0
- package/lib/commonjs/plugins/deviceInfo/DeviceInfoPlugin.js +184 -0
- package/lib/commonjs/plugins/deviceInfo/DeviceInfoPlugin.js.map +1 -0
- package/lib/commonjs/plugins/featureFlags/FeatureFlagsPlugin.js +381 -0
- package/lib/commonjs/plugins/featureFlags/FeatureFlagsPlugin.js.map +1 -0
- package/lib/commonjs/plugins/featureFlags/flagStore.js +125 -0
- package/lib/commonjs/plugins/featureFlags/flagStore.js.map +1 -0
- package/lib/commonjs/plugins/navigationInspector/NavigationInspectorPlugin.js +250 -0
- package/lib/commonjs/plugins/navigationInspector/NavigationInspectorPlugin.js.map +1 -0
- package/lib/commonjs/plugins/navigationInspector/navigationStore.js +65 -0
- package/lib/commonjs/plugins/navigationInspector/navigationStore.js.map +1 -0
- package/lib/commonjs/plugins/network/NetworkInspectorPlugin.js +709 -0
- package/lib/commonjs/plugins/network/NetworkInspectorPlugin.js.map +1 -0
- package/lib/commonjs/plugins/network/NetworkInterceptor.js +305 -0
- package/lib/commonjs/plugins/network/NetworkInterceptor.js.map +1 -0
- package/lib/commonjs/plugins/performance/PerformanceMonitorPlugin.js +261 -0
- package/lib/commonjs/plugins/performance/PerformanceMonitorPlugin.js.map +1 -0
- package/lib/commonjs/plugins/remoteConfig/RemoteConfigPlugin.js +265 -0
- package/lib/commonjs/plugins/remoteConfig/RemoteConfigPlugin.js.map +1 -0
- package/lib/commonjs/plugins/remoteConfig/remoteConfigStore.js +50 -0
- package/lib/commonjs/plugins/remoteConfig/remoteConfigStore.js.map +1 -0
- package/lib/commonjs/plugins/stateInspector/StateInspectorPlugin.js +378 -0
- package/lib/commonjs/plugins/stateInspector/StateInspectorPlugin.js.map +1 -0
- package/lib/commonjs/plugins/stateInspector/stateAdapterRegistry.js +62 -0
- package/lib/commonjs/plugins/stateInspector/stateAdapterRegistry.js.map +1 -0
- package/lib/commonjs/plugins/storageBrowser/StorageBrowserPlugin.js +496 -0
- package/lib/commonjs/plugins/storageBrowser/StorageBrowserPlugin.js.map +1 -0
- package/lib/commonjs/plugins/storageBrowser/storageAdapterRegistry.js +44 -0
- package/lib/commonjs/plugins/storageBrowser/storageAdapterRegistry.js.map +1 -0
- package/lib/commonjs/plugins/timeline/TimelinePlugin.js +294 -0
- package/lib/commonjs/plugins/timeline/TimelinePlugin.js.map +1 -0
- package/lib/commonjs/plugins/timeline/timelineStore.js +61 -0
- package/lib/commonjs/plugins/timeline/timelineStore.js.map +1 -0
- package/lib/module/core/DebugBubble.js +131 -0
- package/lib/module/core/DebugBubble.js.map +1 -0
- package/lib/module/core/DebugOverlay.js +176 -0
- package/lib/module/core/DebugOverlay.js.map +1 -0
- package/lib/module/core/DebuggerProvider.js +167 -0
- package/lib/module/core/DebuggerProvider.js.map +1 -0
- package/lib/module/core/GestureDetector.js +75 -0
- package/lib/module/core/GestureDetector.js.map +1 -0
- package/lib/module/core/PluginRegistry.js +116 -0
- package/lib/module/core/PluginRegistry.js.map +1 -0
- package/lib/module/core/theme.js +43 -0
- package/lib/module/core/theme.js.map +1 -0
- package/lib/module/core/types.js +2 -0
- package/lib/module/core/types.js.map +1 -0
- package/lib/module/core/useDebugger.js +21 -0
- package/lib/module/core/useDebugger.js.map +1 -0
- package/lib/module/core/utils.js +219 -0
- package/lib/module/core/utils.js.map +1 -0
- package/lib/module/index.js +44 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/plugins/console/ConsoleInterceptor.js +97 -0
- package/lib/module/plugins/console/ConsoleInterceptor.js.map +1 -0
- package/lib/module/plugins/console/ConsoleViewerPlugin.js +262 -0
- package/lib/module/plugins/console/ConsoleViewerPlugin.js.map +1 -0
- package/lib/module/plugins/crashReporter/CrashReporterPlugin.js +357 -0
- package/lib/module/plugins/crashReporter/CrashReporterPlugin.js.map +1 -0
- package/lib/module/plugins/customActions/CustomActionsPlugin.js +211 -0
- package/lib/module/plugins/customActions/CustomActionsPlugin.js.map +1 -0
- package/lib/module/plugins/customActions/actionStore.js +38 -0
- package/lib/module/plugins/customActions/actionStore.js.map +1 -0
- package/lib/module/plugins/deepLinkTester/DeepLinkTesterPlugin.js +261 -0
- package/lib/module/plugins/deepLinkTester/DeepLinkTesterPlugin.js.map +1 -0
- package/lib/module/plugins/deviceInfo/DeviceInfoPlugin.js +177 -0
- package/lib/module/plugins/deviceInfo/DeviceInfoPlugin.js.map +1 -0
- package/lib/module/plugins/featureFlags/FeatureFlagsPlugin.js +374 -0
- package/lib/module/plugins/featureFlags/FeatureFlagsPlugin.js.map +1 -0
- package/lib/module/plugins/featureFlags/flagStore.js +117 -0
- package/lib/module/plugins/featureFlags/flagStore.js.map +1 -0
- package/lib/module/plugins/navigationInspector/NavigationInspectorPlugin.js +243 -0
- package/lib/module/plugins/navigationInspector/NavigationInspectorPlugin.js.map +1 -0
- package/lib/module/plugins/navigationInspector/navigationStore.js +58 -0
- package/lib/module/plugins/navigationInspector/navigationStore.js.map +1 -0
- package/lib/module/plugins/network/NetworkInspectorPlugin.js +703 -0
- package/lib/module/plugins/network/NetworkInspectorPlugin.js.map +1 -0
- package/lib/module/plugins/network/NetworkInterceptor.js +299 -0
- package/lib/module/plugins/network/NetworkInterceptor.js.map +1 -0
- package/lib/module/plugins/performance/PerformanceMonitorPlugin.js +254 -0
- package/lib/module/plugins/performance/PerformanceMonitorPlugin.js.map +1 -0
- package/lib/module/plugins/remoteConfig/RemoteConfigPlugin.js +258 -0
- package/lib/module/plugins/remoteConfig/RemoteConfigPlugin.js.map +1 -0
- package/lib/module/plugins/remoteConfig/remoteConfigStore.js +43 -0
- package/lib/module/plugins/remoteConfig/remoteConfigStore.js.map +1 -0
- package/lib/module/plugins/stateInspector/StateInspectorPlugin.js +372 -0
- package/lib/module/plugins/stateInspector/StateInspectorPlugin.js.map +1 -0
- package/lib/module/plugins/stateInspector/stateAdapterRegistry.js +54 -0
- package/lib/module/plugins/stateInspector/stateAdapterRegistry.js.map +1 -0
- package/lib/module/plugins/storageBrowser/StorageBrowserPlugin.js +489 -0
- package/lib/module/plugins/storageBrowser/StorageBrowserPlugin.js.map +1 -0
- package/lib/module/plugins/storageBrowser/storageAdapterRegistry.js +36 -0
- package/lib/module/plugins/storageBrowser/storageAdapterRegistry.js.map +1 -0
- package/lib/module/plugins/timeline/TimelinePlugin.js +287 -0
- package/lib/module/plugins/timeline/TimelinePlugin.js.map +1 -0
- package/lib/module/plugins/timeline/timelineStore.js +54 -0
- package/lib/module/plugins/timeline/timelineStore.js.map +1 -0
- package/lib/typescript/core/DebugBubble.d.ts +22 -0
- package/lib/typescript/core/DebugBubble.d.ts.map +1 -0
- package/lib/typescript/core/DebugOverlay.d.ts +18 -0
- package/lib/typescript/core/DebugOverlay.d.ts.map +1 -0
- package/lib/typescript/core/DebuggerProvider.d.ts +25 -0
- package/lib/typescript/core/DebuggerProvider.d.ts.map +1 -0
- package/lib/typescript/core/GestureDetector.d.ts +20 -0
- package/lib/typescript/core/GestureDetector.d.ts.map +1 -0
- package/lib/typescript/core/PluginRegistry.d.ts +41 -0
- package/lib/typescript/core/PluginRegistry.d.ts.map +1 -0
- package/lib/typescript/core/theme.d.ts +11 -0
- package/lib/typescript/core/theme.d.ts.map +1 -0
- package/lib/typescript/core/types.d.ts +269 -0
- package/lib/typescript/core/types.d.ts.map +1 -0
- package/lib/typescript/core/useDebugger.d.ts +14 -0
- package/lib/typescript/core/useDebugger.d.ts.map +1 -0
- package/lib/typescript/core/utils.d.ts +46 -0
- package/lib/typescript/core/utils.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +23 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/plugins/console/ConsoleInterceptor.d.ts +32 -0
- package/lib/typescript/plugins/console/ConsoleInterceptor.d.ts.map +1 -0
- package/lib/typescript/plugins/console/ConsoleViewerPlugin.d.ts +3 -0
- package/lib/typescript/plugins/console/ConsoleViewerPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/crashReporter/CrashReporterPlugin.d.ts +3 -0
- package/lib/typescript/plugins/crashReporter/CrashReporterPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/customActions/CustomActionsPlugin.d.ts +3 -0
- package/lib/typescript/plugins/customActions/CustomActionsPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/customActions/actionStore.d.ts +16 -0
- package/lib/typescript/plugins/customActions/actionStore.d.ts.map +1 -0
- package/lib/typescript/plugins/deepLinkTester/DeepLinkTesterPlugin.d.ts +3 -0
- package/lib/typescript/plugins/deepLinkTester/DeepLinkTesterPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/deviceInfo/DeviceInfoPlugin.d.ts +3 -0
- package/lib/typescript/plugins/deviceInfo/DeviceInfoPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/featureFlags/FeatureFlagsPlugin.d.ts +3 -0
- package/lib/typescript/plugins/featureFlags/FeatureFlagsPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/featureFlags/flagStore.d.ts +45 -0
- package/lib/typescript/plugins/featureFlags/flagStore.d.ts.map +1 -0
- package/lib/typescript/plugins/navigationInspector/NavigationInspectorPlugin.d.ts +3 -0
- package/lib/typescript/plugins/navigationInspector/NavigationInspectorPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/navigationInspector/navigationStore.d.ts +30 -0
- package/lib/typescript/plugins/navigationInspector/navigationStore.d.ts.map +1 -0
- package/lib/typescript/plugins/network/NetworkInspectorPlugin.d.ts +3 -0
- package/lib/typescript/plugins/network/NetworkInspectorPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/network/NetworkInterceptor.d.ts +42 -0
- package/lib/typescript/plugins/network/NetworkInterceptor.d.ts.map +1 -0
- package/lib/typescript/plugins/performance/PerformanceMonitorPlugin.d.ts +3 -0
- package/lib/typescript/plugins/performance/PerformanceMonitorPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/remoteConfig/RemoteConfigPlugin.d.ts +3 -0
- package/lib/typescript/plugins/remoteConfig/RemoteConfigPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/remoteConfig/remoteConfigStore.d.ts +20 -0
- package/lib/typescript/plugins/remoteConfig/remoteConfigStore.d.ts.map +1 -0
- package/lib/typescript/plugins/stateInspector/StateInspectorPlugin.d.ts +3 -0
- package/lib/typescript/plugins/stateInspector/StateInspectorPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/stateInspector/stateAdapterRegistry.d.ts +34 -0
- package/lib/typescript/plugins/stateInspector/stateAdapterRegistry.d.ts.map +1 -0
- package/lib/typescript/plugins/storageBrowser/StorageBrowserPlugin.d.ts +3 -0
- package/lib/typescript/plugins/storageBrowser/StorageBrowserPlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/storageBrowser/storageAdapterRegistry.d.ts +16 -0
- package/lib/typescript/plugins/storageBrowser/storageAdapterRegistry.d.ts.map +1 -0
- package/lib/typescript/plugins/timeline/TimelinePlugin.d.ts +3 -0
- package/lib/typescript/plugins/timeline/TimelinePlugin.d.ts.map +1 -0
- package/lib/typescript/plugins/timeline/timelineStore.d.ts +24 -0
- package/lib/typescript/plugins/timeline/timelineStore.d.ts.map +1 -0
- package/package.json +131 -0
- package/src/core/DebugBubble.tsx +149 -0
- package/src/core/DebugOverlay.tsx +211 -0
- package/src/core/DebuggerProvider.tsx +211 -0
- package/src/core/GestureDetector.tsx +95 -0
- package/src/core/PluginRegistry.ts +118 -0
- package/src/core/theme.ts +41 -0
- package/src/core/types.ts +339 -0
- package/src/core/useDebugger.ts +24 -0
- package/src/core/utils.ts +221 -0
- package/src/index.ts +67 -0
- package/src/plugins/console/ConsoleInterceptor.ts +110 -0
- package/src/plugins/console/ConsoleViewerPlugin.tsx +241 -0
- package/src/plugins/crashReporter/CrashReporterPlugin.tsx +316 -0
- package/src/plugins/customActions/CustomActionsPlugin.tsx +199 -0
- package/src/plugins/customActions/actionStore.ts +49 -0
- package/src/plugins/deepLinkTester/DeepLinkTesterPlugin.tsx +213 -0
- package/src/plugins/deviceInfo/DeviceInfoPlugin.tsx +153 -0
- package/src/plugins/featureFlags/FeatureFlagsPlugin.tsx +338 -0
- package/src/plugins/featureFlags/flagStore.ts +118 -0
- package/src/plugins/navigationInspector/NavigationInspectorPlugin.tsx +170 -0
- package/src/plugins/navigationInspector/navigationStore.ts +70 -0
- package/src/plugins/network/NetworkInspectorPlugin.tsx +598 -0
- package/src/plugins/network/NetworkInterceptor.ts +344 -0
- package/src/plugins/performance/PerformanceMonitorPlugin.tsx +194 -0
- package/src/plugins/remoteConfig/RemoteConfigPlugin.tsx +205 -0
- package/src/plugins/remoteConfig/remoteConfigStore.ts +48 -0
- package/src/plugins/stateInspector/StateInspectorPlugin.tsx +342 -0
- package/src/plugins/stateInspector/stateAdapterRegistry.ts +66 -0
- package/src/plugins/storageBrowser/StorageBrowserPlugin.tsx +410 -0
- package/src/plugins/storageBrowser/storageAdapterRegistry.ts +47 -0
- package/src/plugins/timeline/TimelinePlugin.tsx +242 -0
- package/src/plugins/timeline/timelineStore.ts +65 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.flagStore = void 0;
|
|
7
|
+
exports.getFlag = getFlag;
|
|
8
|
+
exports.registerFlag = registerFlag;
|
|
9
|
+
exports.resetFlags = resetFlags;
|
|
10
|
+
/**
|
|
11
|
+
* Feature Flag Store — In-memory registry for feature flags.
|
|
12
|
+
*
|
|
13
|
+
* Flags can be registered by the consumer app and toggled at runtime
|
|
14
|
+
* via the debugger overlay. Overrides persist in-memory (optionally in AsyncStorage).
|
|
15
|
+
*/
|
|
16
|
+
class FlagStoreClass {
|
|
17
|
+
flags = new Map();
|
|
18
|
+
listeners = new Set();
|
|
19
|
+
changeCallbacks = new Map();
|
|
20
|
+
|
|
21
|
+
/** Register a feature flag. */
|
|
22
|
+
register(flag) {
|
|
23
|
+
const existing = this.flags.get(flag.key);
|
|
24
|
+
this.flags.set(flag.key, {
|
|
25
|
+
...flag,
|
|
26
|
+
currentValue: existing?.currentValue ?? flag.currentValue ?? flag.defaultValue
|
|
27
|
+
});
|
|
28
|
+
this.notify();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** Get a flag value. Returns the overridden value if set, otherwise the default. */
|
|
32
|
+
get(key) {
|
|
33
|
+
return this.flags.get(key)?.currentValue;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** Get a flag definition. */
|
|
37
|
+
getFlag(key) {
|
|
38
|
+
return this.flags.get(key);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** Get all flags. */
|
|
42
|
+
getAll() {
|
|
43
|
+
return Array.from(this.flags.values());
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** Override a flag value. */
|
|
47
|
+
override(key, value) {
|
|
48
|
+
const flag = this.flags.get(key);
|
|
49
|
+
if (!flag) return;
|
|
50
|
+
this.flags.set(key, {
|
|
51
|
+
...flag,
|
|
52
|
+
currentValue: value
|
|
53
|
+
});
|
|
54
|
+
// Fire change callback
|
|
55
|
+
const cb = this.changeCallbacks.get(key);
|
|
56
|
+
if (cb) cb(value);
|
|
57
|
+
this.notify();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** Reset a single flag to its default value. */
|
|
61
|
+
reset(key) {
|
|
62
|
+
const flag = this.flags.get(key);
|
|
63
|
+
if (!flag) return;
|
|
64
|
+
this.flags.set(key, {
|
|
65
|
+
...flag,
|
|
66
|
+
currentValue: flag.defaultValue
|
|
67
|
+
});
|
|
68
|
+
const cb = this.changeCallbacks.get(key);
|
|
69
|
+
if (cb) cb(flag.defaultValue);
|
|
70
|
+
this.notify();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/** Reset all flags to defaults. */
|
|
74
|
+
resetAll() {
|
|
75
|
+
for (const [key, flag] of this.flags) {
|
|
76
|
+
this.flags.set(key, {
|
|
77
|
+
...flag,
|
|
78
|
+
currentValue: flag.defaultValue
|
|
79
|
+
});
|
|
80
|
+
const cb = this.changeCallbacks.get(key);
|
|
81
|
+
if (cb) cb(flag.defaultValue);
|
|
82
|
+
}
|
|
83
|
+
this.notify();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/** Register a callback when a specific flag changes. */
|
|
87
|
+
onChange(key, callback) {
|
|
88
|
+
this.changeCallbacks.set(key, callback);
|
|
89
|
+
return () => this.changeCallbacks.delete(key);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/** Subscribe to all flag changes. */
|
|
93
|
+
subscribe(listener) {
|
|
94
|
+
this.listeners.add(listener);
|
|
95
|
+
listener(this.getAll());
|
|
96
|
+
return () => this.listeners.delete(listener);
|
|
97
|
+
}
|
|
98
|
+
notify() {
|
|
99
|
+
const snapshot = this.getAll();
|
|
100
|
+
for (const listener of this.listeners) {
|
|
101
|
+
try {
|
|
102
|
+
listener(snapshot);
|
|
103
|
+
} catch {
|
|
104
|
+
/* ignore */
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
const flagStore = exports.flagStore = new FlagStoreClass();
|
|
110
|
+
|
|
111
|
+
/** Register a feature flag. */
|
|
112
|
+
function registerFlag(flag) {
|
|
113
|
+
flagStore.register(flag);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/** Reset all flag overrides. */
|
|
117
|
+
function resetFlags() {
|
|
118
|
+
flagStore.resetAll();
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/** Get a flag's current value. */
|
|
122
|
+
function getFlag(key) {
|
|
123
|
+
return flagStore.get(key);
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=flagStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FlagStoreClass","flags","Map","listeners","Set","changeCallbacks","register","flag","existing","get","key","set","currentValue","defaultValue","notify","getFlag","getAll","Array","from","values","override","value","cb","reset","resetAll","onChange","callback","delete","subscribe","listener","add","snapshot","flagStore","exports","registerFlag","resetFlags"],"sourceRoot":"../../../../src","sources":["plugins/featureFlags/flagStore.ts"],"mappings":";;;;;;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,cAAc,CAAC;EACXC,KAAK,GAA6B,IAAIC,GAAG,CAAC,CAAC;EAC3CC,SAAS,GAAsB,IAAIC,GAAG,CAAC,CAAC;EACxCC,eAAe,GAA8D,IAAIH,GAAG,CAAC,CAAC;;EAE9F;EACAI,QAAQA,CACNC,IAAwF,EAClF;IACN,MAAMC,QAAQ,GAAG,IAAI,CAACP,KAAK,CAACQ,GAAG,CAACF,IAAI,CAACG,GAAG,CAAC;IACzC,IAAI,CAACT,KAAK,CAACU,GAAG,CAACJ,IAAI,CAACG,GAAG,EAAE;MACvB,GAAGH,IAAI;MACPK,YAAY,EAAEJ,QAAQ,EAAEI,YAAY,IAAIL,IAAI,CAACK,YAAY,IAAIL,IAAI,CAACM;IACpE,CAAC,CAAC;IACF,IAAI,CAACC,MAAM,CAAC,CAAC;EACf;;EAEA;EACAL,GAAGA,CAACC,GAAW,EAA2C;IACxD,OAAO,IAAI,CAACT,KAAK,CAACQ,GAAG,CAACC,GAAG,CAAC,EAAEE,YAAY;EAC1C;;EAEA;EACAG,OAAOA,CAACL,GAAW,EAA2B;IAC5C,OAAO,IAAI,CAACT,KAAK,CAACQ,GAAG,CAACC,GAAG,CAAC;EAC5B;;EAEA;EACAM,MAAMA,CAAA,EAAkB;IACtB,OAAOC,KAAK,CAACC,IAAI,CAAC,IAAI,CAACjB,KAAK,CAACkB,MAAM,CAAC,CAAC,CAAC;EACxC;;EAEA;EACAC,QAAQA,CAACV,GAAW,EAAEW,KAAkC,EAAQ;IAC9D,MAAMd,IAAI,GAAG,IAAI,CAACN,KAAK,CAACQ,GAAG,CAACC,GAAG,CAAC;IAChC,IAAI,CAACH,IAAI,EAAE;IACX,IAAI,CAACN,KAAK,CAACU,GAAG,CAACD,GAAG,EAAE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AAM,IAAI,CAACrB,eAAe,CAACsB,MAAM,CAACjB,GAAG,CAAC;EAC/C;;EAEA;EACAkB,SAASA,CAACC,QAAsB,EAAc;IAC5C,IAAI,CAAC1B,SAAS,CAAC2B,GAAG,CAACD,QAAQ,CAAC;IAC5BA,QAAQ,CAAC,IAAI,CAACb,MAAM,CAAC,CAAC,CAAC;IACvB,OAAO,MAAM,IAAI,CAACb,SAAS,CAACwB,MAAM,CAACE,QAAQ,CAAC;EAC9C;EAEQf,MAAMA,CAAA,EAAS;IACrB,MAAMiB,QAAQ,GAAG,IAAI,CAACf,MAAM,CAAC,CAAC;IAC9B,KAAK,MAAMa,QAAQ,IAAI,IAAI,CAAC1B,SAAS,EAAE;MACrC,IAAI;QACF0B,QAAQ,CAACE,QAAQ,CAAC;MACpB,CAAC,CAAC,MAAM;QACN;MAAA;IAEJ;EACF;AACF;AAEA,MAAMC,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAG,IAAIhC,cAAc,CAAC,CAAC;;AAEtC;AACO,SAASkC,YAAYA,CAC1B3B,IAAwF,EAClF;EACNyB,SAAS,CAAC1B,QAAQ,CAACC,IAAI,CAAC;AAC1B;;AAEA;AACO,SAAS4B,UAAUA,CAAA,EAAS;EACjCH,SAAS,CAACR,QAAQ,CAAC,CAAC;AACtB;;AAEA;AACO,SAAST,OAAOA,CAACL,GAAW,EAA2C;EAC5E,OAAOsB,SAAS,CAACvB,GAAG,CAACC,GAAG,CAAC;AAC3B","ignoreList":[]}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.createNavigationInspectorPlugin = createNavigationInspectorPlugin;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _navigationStore = require("./navigationStore");
|
|
10
|
+
var _utils = require("../../core/utils");
|
|
11
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
12
|
+
const NavigationInspectorPanel = ({
|
|
13
|
+
theme
|
|
14
|
+
}) => {
|
|
15
|
+
const [state, setState] = (0, _react.useState)(null);
|
|
16
|
+
const [currentRoute, setCurrentRoute] = (0, _react.useState)(null);
|
|
17
|
+
const [history, setHistory] = (0, _react.useState)([]);
|
|
18
|
+
const [, forceUpdate] = (0, _react.useState)(0);
|
|
19
|
+
const refresh = (0, _react.useCallback)(() => {
|
|
20
|
+
setState(_navigationStore.navigationStore.getState());
|
|
21
|
+
setCurrentRoute(_navigationStore.navigationStore.getCurrentRoute());
|
|
22
|
+
setHistory(_navigationStore.navigationStore.getHistory());
|
|
23
|
+
forceUpdate(n => n + 1);
|
|
24
|
+
}, []);
|
|
25
|
+
(0, _react.useEffect)(() => {
|
|
26
|
+
const unsub = _navigationStore.navigationStore.subscribe(refresh);
|
|
27
|
+
refresh();
|
|
28
|
+
const interval = setInterval(refresh, 2000);
|
|
29
|
+
return () => {
|
|
30
|
+
unsub();
|
|
31
|
+
clearInterval(interval);
|
|
32
|
+
};
|
|
33
|
+
}, [refresh]);
|
|
34
|
+
const hasRef = !!_navigationStore.navigationStore.getRef();
|
|
35
|
+
if (!hasRef) {
|
|
36
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
37
|
+
style: styles.emptyContainer
|
|
38
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
39
|
+
style: styles.emptyIcon
|
|
40
|
+
}, "\uD83E\uDDED"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
41
|
+
style: [styles.emptyTitle, {
|
|
42
|
+
color: theme.text
|
|
43
|
+
}]
|
|
44
|
+
}, "No Navigation Ref"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
45
|
+
style: [styles.emptyDesc, {
|
|
46
|
+
color: theme.textMuted
|
|
47
|
+
}]
|
|
48
|
+
}, "Pass your navigation ref:", '\n\n', /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
49
|
+
style: {
|
|
50
|
+
fontFamily: 'monospace',
|
|
51
|
+
color: theme.codeText
|
|
52
|
+
}
|
|
53
|
+
}, 'setNavigationRef(navigationRef)')));
|
|
54
|
+
}
|
|
55
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
56
|
+
style: styles.container
|
|
57
|
+
}, currentRoute && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
58
|
+
style: [styles.section, {
|
|
59
|
+
backgroundColor: theme.surface
|
|
60
|
+
}]
|
|
61
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
62
|
+
style: [styles.sectionTitle, {
|
|
63
|
+
color: theme.textSecondary
|
|
64
|
+
}]
|
|
65
|
+
}, "CURRENT ROUTE"), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
66
|
+
style: [styles.routeCard, {
|
|
67
|
+
backgroundColor: theme.accent
|
|
68
|
+
}]
|
|
69
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
70
|
+
style: styles.routeName
|
|
71
|
+
}, currentRoute.name)), currentRoute.params && Object.keys(currentRoute.params).length > 0 && /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
72
|
+
style: [styles.paramsBlock, {
|
|
73
|
+
backgroundColor: theme.codeBackground
|
|
74
|
+
}],
|
|
75
|
+
onLongPress: () => (0, _utils.copyToClipboard)((0, _utils.safeStringify)(currentRoute.params)),
|
|
76
|
+
activeOpacity: 0.7
|
|
77
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
78
|
+
style: [styles.paramsTitle, {
|
|
79
|
+
color: theme.textSecondary
|
|
80
|
+
}]
|
|
81
|
+
}, "Params"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
82
|
+
style: [styles.paramsText, {
|
|
83
|
+
color: theme.codeText
|
|
84
|
+
}],
|
|
85
|
+
selectable: true
|
|
86
|
+
}, (0, _utils.safeStringify)(currentRoute.params)))), state && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
87
|
+
style: [styles.section, {
|
|
88
|
+
backgroundColor: theme.surface
|
|
89
|
+
}]
|
|
90
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
91
|
+
style: styles.sectionHeader
|
|
92
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
93
|
+
style: [styles.sectionTitle, {
|
|
94
|
+
color: theme.textSecondary
|
|
95
|
+
}]
|
|
96
|
+
}, "STATE TREE"), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
97
|
+
onPress: () => (0, _utils.copyToClipboard)((0, _utils.safeStringify)(state)),
|
|
98
|
+
activeOpacity: 0.7
|
|
99
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
100
|
+
style: [styles.copyBtn, {
|
|
101
|
+
color: theme.accent
|
|
102
|
+
}]
|
|
103
|
+
}, "Copy"))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
104
|
+
style: [styles.codeBlock, {
|
|
105
|
+
backgroundColor: theme.codeBackground
|
|
106
|
+
}]
|
|
107
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
108
|
+
style: [styles.codeText, {
|
|
109
|
+
color: theme.codeText
|
|
110
|
+
}],
|
|
111
|
+
selectable: true
|
|
112
|
+
}, String((0, _utils.safeStringify)(state))))), history.length > 0 && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
113
|
+
style: [styles.section, {
|
|
114
|
+
backgroundColor: theme.surface
|
|
115
|
+
}]
|
|
116
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
117
|
+
style: [styles.sectionTitle, {
|
|
118
|
+
color: theme.textSecondary
|
|
119
|
+
}]
|
|
120
|
+
}, "ROUTE HISTORY"), history.map((entry, i) => /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
121
|
+
key: i,
|
|
122
|
+
style: [styles.historyRow, {
|
|
123
|
+
borderBottomColor: theme.border
|
|
124
|
+
}]
|
|
125
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
126
|
+
style: styles.historyInfo
|
|
127
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
128
|
+
style: [styles.historyRoute, {
|
|
129
|
+
color: theme.text
|
|
130
|
+
}]
|
|
131
|
+
}, entry.name), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
132
|
+
style: [styles.historyTime, {
|
|
133
|
+
color: theme.textMuted
|
|
134
|
+
}]
|
|
135
|
+
}, (0, _utils.formatTimestamp)(entry.timestamp)))))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
136
|
+
style: {
|
|
137
|
+
height: 40
|
|
138
|
+
}
|
|
139
|
+
}));
|
|
140
|
+
};
|
|
141
|
+
const styles = _reactNative.StyleSheet.create({
|
|
142
|
+
container: {
|
|
143
|
+
flex: 1
|
|
144
|
+
},
|
|
145
|
+
emptyContainer: {
|
|
146
|
+
flex: 1,
|
|
147
|
+
alignItems: 'center',
|
|
148
|
+
justifyContent: 'center',
|
|
149
|
+
paddingHorizontal: 32
|
|
150
|
+
},
|
|
151
|
+
emptyIcon: {
|
|
152
|
+
fontSize: 48,
|
|
153
|
+
marginBottom: 16
|
|
154
|
+
},
|
|
155
|
+
emptyTitle: {
|
|
156
|
+
fontSize: 16,
|
|
157
|
+
fontWeight: '700',
|
|
158
|
+
marginBottom: 8
|
|
159
|
+
},
|
|
160
|
+
emptyDesc: {
|
|
161
|
+
fontSize: 13,
|
|
162
|
+
textAlign: 'center',
|
|
163
|
+
lineHeight: 20
|
|
164
|
+
},
|
|
165
|
+
section: {
|
|
166
|
+
margin: 12,
|
|
167
|
+
borderRadius: 12,
|
|
168
|
+
padding: 12
|
|
169
|
+
},
|
|
170
|
+
sectionTitle: {
|
|
171
|
+
fontSize: 11,
|
|
172
|
+
fontWeight: '700',
|
|
173
|
+
textTransform: 'uppercase',
|
|
174
|
+
letterSpacing: 1,
|
|
175
|
+
marginBottom: 8
|
|
176
|
+
},
|
|
177
|
+
sectionHeader: {
|
|
178
|
+
flexDirection: 'row',
|
|
179
|
+
justifyContent: 'space-between',
|
|
180
|
+
alignItems: 'center',
|
|
181
|
+
marginBottom: 8
|
|
182
|
+
},
|
|
183
|
+
copyBtn: {
|
|
184
|
+
fontSize: 12,
|
|
185
|
+
fontWeight: '600'
|
|
186
|
+
},
|
|
187
|
+
routeCard: {
|
|
188
|
+
padding: 12,
|
|
189
|
+
borderRadius: 8,
|
|
190
|
+
alignItems: 'center'
|
|
191
|
+
},
|
|
192
|
+
routeName: {
|
|
193
|
+
fontSize: 18,
|
|
194
|
+
fontWeight: '800',
|
|
195
|
+
color: '#FFF'
|
|
196
|
+
},
|
|
197
|
+
paramsBlock: {
|
|
198
|
+
padding: 12,
|
|
199
|
+
borderRadius: 8,
|
|
200
|
+
marginTop: 8
|
|
201
|
+
},
|
|
202
|
+
paramsTitle: {
|
|
203
|
+
fontSize: 10,
|
|
204
|
+
fontWeight: '700',
|
|
205
|
+
marginBottom: 4,
|
|
206
|
+
textTransform: 'uppercase'
|
|
207
|
+
},
|
|
208
|
+
paramsText: {
|
|
209
|
+
fontSize: 11,
|
|
210
|
+
fontFamily: 'monospace',
|
|
211
|
+
lineHeight: 16
|
|
212
|
+
},
|
|
213
|
+
codeBlock: {
|
|
214
|
+
padding: 12,
|
|
215
|
+
borderRadius: 8
|
|
216
|
+
},
|
|
217
|
+
codeText: {
|
|
218
|
+
fontSize: 11,
|
|
219
|
+
fontFamily: 'monospace',
|
|
220
|
+
lineHeight: 16
|
|
221
|
+
},
|
|
222
|
+
historyRow: {
|
|
223
|
+
flexDirection: 'row',
|
|
224
|
+
alignItems: 'center',
|
|
225
|
+
paddingVertical: 8,
|
|
226
|
+
borderBottomWidth: _reactNative.StyleSheet.hairlineWidth
|
|
227
|
+
},
|
|
228
|
+
historyInfo: {
|
|
229
|
+
flex: 1,
|
|
230
|
+
flexDirection: 'row',
|
|
231
|
+
justifyContent: 'space-between'
|
|
232
|
+
},
|
|
233
|
+
historyRoute: {
|
|
234
|
+
fontSize: 13,
|
|
235
|
+
fontWeight: '600'
|
|
236
|
+
},
|
|
237
|
+
historyTime: {
|
|
238
|
+
fontSize: 10
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
function createNavigationInspectorPlugin() {
|
|
242
|
+
return {
|
|
243
|
+
id: 'navigation-inspector',
|
|
244
|
+
name: 'Nav',
|
|
245
|
+
icon: 'ðŸ§',
|
|
246
|
+
component: NavigationInspectorPanel,
|
|
247
|
+
order: 90
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
//# sourceMappingURL=NavigationInspectorPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_navigationStore","_utils","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","NavigationInspectorPanel","theme","state","setState","useState","currentRoute","setCurrentRoute","history","setHistory","forceUpdate","refresh","useCallback","navigationStore","getState","getCurrentRoute","getHistory","useEffect","unsub","subscribe","interval","setInterval","clearInterval","hasRef","getRef","createElement","View","style","styles","emptyContainer","Text","emptyIcon","emptyTitle","color","text","emptyDesc","textMuted","fontFamily","codeText","ScrollView","container","section","backgroundColor","surface","sectionTitle","textSecondary","routeCard","accent","routeName","name","params","keys","length","TouchableOpacity","paramsBlock","codeBackground","onLongPress","copyToClipboard","safeStringify","activeOpacity","paramsTitle","paramsText","selectable","sectionHeader","onPress","copyBtn","codeBlock","String","map","entry","key","historyRow","borderBottomColor","border","historyInfo","historyRoute","historyTime","formatTimestamp","timestamp","height","StyleSheet","create","flex","alignItems","justifyContent","paddingHorizontal","fontSize","marginBottom","fontWeight","textAlign","lineHeight","margin","borderRadius","padding","textTransform","letterSpacing","flexDirection","marginTop","paddingVertical","borderBottomWidth","hairlineWidth","createNavigationInspectorPlugin","id","icon","component","order"],"sourceRoot":"../../../../src","sources":["plugins/navigationInspector/NavigationInspectorPlugin.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,gBAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAAmF,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAA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EACD1B,WAAW,EAAE;IAAEQ,IAAI,EAAE,CAAC;IAAEc,aAAa,EAAE,KAAK;IAAEZ,cAAc,EAAE;EAAgB,CAAC;EAC/ET,YAAY,EAAE;IAAEW,QAAQ,EAAE,EAAE;IAAEE,UAAU,EAAE;EAAM,CAAC;EACjDZ,WAAW,EAAE;IAAEU,QAAQ,EAAE;EAAG;AAC9B,CAAC,CAAC;AAEK,SAASe,+BAA+BA,CAAA,EAAmB;EAChE,OAAO;IACLC,EAAE,EAAE,sBAAsB;IAC1BrD,IAAI,EAAE,KAAK;IACXsD,IAAI,EAAE,IAAI;IACVC,SAAS,EAAEvG,wBAAwB;IACnCwG,KAAK,EAAE;EACT,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.navigationStore = void 0;
|
|
7
|
+
exports.setNavigationRef = setNavigationRef;
|
|
8
|
+
class NavigationStoreClass {
|
|
9
|
+
ref = null;
|
|
10
|
+
history = [];
|
|
11
|
+
listeners = new Set();
|
|
12
|
+
maxHistory = 50;
|
|
13
|
+
setRef(ref) {
|
|
14
|
+
this.ref = ref;
|
|
15
|
+
this.notify();
|
|
16
|
+
}
|
|
17
|
+
getRef() {
|
|
18
|
+
return this.ref?.current;
|
|
19
|
+
}
|
|
20
|
+
addHistoryEntry(name, params) {
|
|
21
|
+
this.history = [{
|
|
22
|
+
name,
|
|
23
|
+
params,
|
|
24
|
+
timestamp: Date.now()
|
|
25
|
+
}, ...this.history].slice(0, this.maxHistory);
|
|
26
|
+
this.notify();
|
|
27
|
+
}
|
|
28
|
+
getHistory() {
|
|
29
|
+
return [...this.history];
|
|
30
|
+
}
|
|
31
|
+
getState() {
|
|
32
|
+
try {
|
|
33
|
+
const nav = this.ref?.current;
|
|
34
|
+
return nav?.getRootState?.() ?? null;
|
|
35
|
+
} catch {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
getCurrentRoute() {
|
|
40
|
+
try {
|
|
41
|
+
const nav = this.ref?.current;
|
|
42
|
+
return nav?.getCurrentRoute?.() ?? null;
|
|
43
|
+
} catch {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
subscribe(listener) {
|
|
48
|
+
this.listeners.add(listener);
|
|
49
|
+
return () => this.listeners.delete(listener);
|
|
50
|
+
}
|
|
51
|
+
notify() {
|
|
52
|
+
for (const l of this.listeners) {
|
|
53
|
+
try {
|
|
54
|
+
l();
|
|
55
|
+
} catch {
|
|
56
|
+
/* ignore */
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
const navigationStore = exports.navigationStore = new NavigationStoreClass();
|
|
62
|
+
function setNavigationRef(ref) {
|
|
63
|
+
navigationStore.setRef(ref);
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=navigationStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["NavigationStoreClass","ref","history","listeners","Set","maxHistory","setRef","notify","getRef","current","addHistoryEntry","name","params","timestamp","Date","now","slice","getHistory","getState","nav","getRootState","getCurrentRoute","subscribe","listener","add","delete","l","navigationStore","exports","setNavigationRef"],"sourceRoot":"../../../../src","sources":["plugins/navigationInspector/navigationStore.ts"],"mappings":";;;;;;;AAEA,MAAMA,oBAAoB,CAAC;EACjBC,GAAG,GAAgC,IAAI;EACvCC,OAAO,GAA4E,EAAE;EACrFC,SAAS,GAAkB,IAAIC,GAAG,CAAC,CAAC;EACpCC,UAAU,GAAG,EAAE;EAEvBC,MAAMA,CAACL,GAAyB,EAAQ;IACtC,IAAI,CAACA,GAAG,GAAGA,GAAG;IACd,IAAI,CAACM,MAAM,CAAC,CAAC;EACf;EAEAC,MAAMA,CAAA,EAAY;IAChB,OAAO,IAAI,CAACP,GAAG,E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