@buoy-gg/shared-ui 1.7.2
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/README.md +34 -0
- package/lib/commonjs/JsModal.js +1473 -0
- package/lib/commonjs/clipboard/autoDetectClipboard.js +67 -0
- package/lib/commonjs/clipboard/clipboard-impl.js +26 -0
- package/lib/commonjs/clipboard/copyToClipboard.js +66 -0
- package/lib/commonjs/clipboard/index.js +25 -0
- package/lib/commonjs/context/HintsContext.js +49 -0
- package/lib/commonjs/context/index.js +24 -0
- package/lib/commonjs/dataViewer/CyberpunkInput.js +382 -0
- package/lib/commonjs/dataViewer/DataViewer.js +142 -0
- package/lib/commonjs/dataViewer/DiffSummary.js +133 -0
- package/lib/commonjs/dataViewer/IndentGuides.js +128 -0
- package/lib/commonjs/dataViewer/IndentGuidesOverlay.js +104 -0
- package/lib/commonjs/dataViewer/SplitDiffViewer.js +420 -0
- package/lib/commonjs/dataViewer/TypeLegend.js +111 -0
- package/lib/commonjs/dataViewer/VirtualizedDataExplorer.js +1057 -0
- package/lib/commonjs/dataViewer/diffThemes.js +108 -0
- package/lib/commonjs/dataViewer/index.js +101 -0
- package/lib/commonjs/dataViewer/lineDiff.js +366 -0
- package/lib/commonjs/dataViewer/tree/TreeDiffViewer.js +887 -0
- package/lib/commonjs/env/EnvironmentIndicator.js +121 -0
- package/lib/commonjs/env/EnvironmentSelector.js +204 -0
- package/lib/commonjs/env/EnvironmentSelectorInline.js +298 -0
- package/lib/commonjs/hooks/index.js +44 -0
- package/lib/commonjs/hooks/safe-area-impl.js +28 -0
- package/lib/commonjs/hooks/useDeviceInfo.js +524 -0
- package/lib/commonjs/hooks/useFilterManager.js +136 -0
- package/lib/commonjs/hooks/useSafeAreaInsets.js +256 -0
- package/lib/commonjs/icons/BenchmarkIcon.js +109 -0
- package/lib/commonjs/icons/EnvLaptopIcon.js +204 -0
- package/lib/commonjs/icons/IconBackground.js +279 -0
- package/lib/commonjs/icons/ReactQueryIcon.js +169 -0
- package/lib/commonjs/icons/RenderCountIcon.js +147 -0
- package/lib/commonjs/icons/RouteMapIcon.js +250 -0
- package/lib/commonjs/icons/SentryBugIcon.js +181 -0
- package/lib/commonjs/icons/StackPulseIcon.js +158 -0
- package/lib/commonjs/icons/StorageStackIcon.js +156 -0
- package/lib/commonjs/icons/WifiCircuitIcon.js +169 -0
- package/lib/commonjs/icons/index.js +175 -0
- package/lib/commonjs/icons/lucide-icons-original-full.js +3244 -0
- package/lib/commonjs/icons/lucide-icons.js +2252 -0
- package/lib/commonjs/icons/primitives/GlobeIcon.js +66 -0
- package/lib/commonjs/icons/primitives/icon-primitives.js +169 -0
- package/lib/commonjs/icons/primitives/index.js +49 -0
- package/lib/commonjs/index.js +485 -0
- package/lib/commonjs/license/FeatureGate.js +764 -0
- package/lib/commonjs/license/LicenseEntryModal.js +950 -0
- package/lib/commonjs/license/ManageDevicesModal.js +545 -0
- package/lib/commonjs/license/index.js +62 -0
- package/lib/commonjs/logger/index-sentry.js +245 -0
- package/lib/commonjs/logger/index.js +62 -0
- package/lib/commonjs/logger/logDump.js +19 -0
- package/lib/commonjs/logger/types.js +38 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/settings/components/BubbleSettingsSection.js +382 -0
- package/lib/commonjs/settings/index.js +24 -0
- package/lib/commonjs/storage/devToolsStorageKeys.js +235 -0
- package/lib/commonjs/storage/index.js +18 -0
- package/lib/commonjs/types/index.js +16 -0
- package/lib/commonjs/types/types.d.js +1 -0
- package/lib/commonjs/types/types.js +12 -0
- package/lib/commonjs/ui/components/BackButton.js +47 -0
- package/lib/commonjs/ui/components/Badge.js +221 -0
- package/lib/commonjs/ui/components/ClipboardHintBanner.js +149 -0
- package/lib/commonjs/ui/components/CollapsibleSection.js +170 -0
- package/lib/commonjs/ui/components/CompactFilterChips.js +114 -0
- package/lib/commonjs/ui/components/CompactRow.js +230 -0
- package/lib/commonjs/ui/components/CopyButton.js +256 -0
- package/lib/commonjs/ui/components/DataInspector.js +322 -0
- package/lib/commonjs/ui/components/DetailView.js +357 -0
- package/lib/commonjs/ui/components/Divider.js +18 -0
- package/lib/commonjs/ui/components/DraggableHeader.js +144 -0
- package/lib/commonjs/ui/components/DynamicFilterView.js +725 -0
- package/lib/commonjs/ui/components/EmptyState.js +136 -0
- package/lib/commonjs/ui/components/ErrorBoundary.js +112 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/CompareBar.js +210 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.js +90 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.js +130 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/EventPickerModal.js +206 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.js +137 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/index.js +40 -0
- package/lib/commonjs/ui/components/EventHistoryViewer/types.js +5 -0
- package/lib/commonjs/ui/components/EventListItem.js +247 -0
- package/lib/commonjs/ui/components/EventStepperFooter.js +148 -0
- package/lib/commonjs/ui/components/ExpandablePopover.js +341 -0
- package/lib/commonjs/ui/components/ExpandableSection.js +71 -0
- package/lib/commonjs/ui/components/ExpandableSectionHeader.js +86 -0
- package/lib/commonjs/ui/components/ExpandableSectionWithModal.js +182 -0
- package/lib/commonjs/ui/components/FilterComponents.js +267 -0
- package/lib/commonjs/ui/components/FilterViewPattern.js +174 -0
- package/lib/commonjs/ui/components/HeaderSearchButton.js +32 -0
- package/lib/commonjs/ui/components/ListItem.js +171 -0
- package/lib/commonjs/ui/components/ModalHeader.js +173 -0
- package/lib/commonjs/ui/components/ModalHintBanner.js +147 -0
- package/lib/commonjs/ui/components/SearchBar.js +264 -0
- package/lib/commonjs/ui/components/SectionHeader.js +125 -0
- package/lib/commonjs/ui/components/StatsCard.js +198 -0
- package/lib/commonjs/ui/components/StatusIndicator.js +231 -0
- package/lib/commonjs/ui/components/StorageTypeBadge.js +96 -0
- package/lib/commonjs/ui/components/TabSelector.js +70 -0
- package/lib/commonjs/ui/components/TimeDisplay.js +142 -0
- package/lib/commonjs/ui/components/TypeBadge.js +100 -0
- package/lib/commonjs/ui/components/ValueTypeBadge.js +146 -0
- package/lib/commonjs/ui/components/WindowControls.js +118 -0
- package/lib/commonjs/ui/components/index.js +323 -0
- package/lib/commonjs/ui/components/types.js +5 -0
- package/lib/commonjs/ui/console/BubbleSettingsModal.js +50 -0
- package/lib/commonjs/ui/console/ConsoleSection.js +50 -0
- package/lib/commonjs/ui/console/CyberpunkButtonOutline.js +261 -0
- package/lib/commonjs/ui/console/CyberpunkConsoleSection.js +649 -0
- package/lib/commonjs/ui/console/CyberpunkIconContainer.js +186 -0
- package/lib/commonjs/ui/console/CyberpunkSectionButton.js +122 -0
- package/lib/commonjs/ui/console/GalaxyButton.js +99 -0
- package/lib/commonjs/ui/console/index.js +12 -0
- package/lib/commonjs/ui/gameUI/components/GameUICollapsibleSection.js +120 -0
- package/lib/commonjs/ui/gameUI/components/GameUICompactStats.js +335 -0
- package/lib/commonjs/ui/gameUI/components/GameUIIssuesList.js +283 -0
- package/lib/commonjs/ui/gameUI/components/GameUIStatusHeader.js +143 -0
- package/lib/commonjs/ui/gameUI/constants/gameUIColors.js +186 -0
- package/lib/commonjs/ui/gameUI/constants/macOSDesignSystemColors.js +206 -0
- package/lib/commonjs/ui/gameUI/hooks/useGameUIAlertState.js +110 -0
- package/lib/commonjs/ui/gameUI/index.js +72 -0
- package/lib/commonjs/ui/index.js +39 -0
- package/lib/commonjs/utils/displayValue.js +41 -0
- package/lib/commonjs/utils/formatting/dataFormatting.js +73 -0
- package/lib/commonjs/utils/formatting/httpFormatting.js +153 -0
- package/lib/commonjs/utils/formatting/index.js +27 -0
- package/lib/commonjs/utils/getSafeAreaInsets.js +40 -0
- package/lib/commonjs/utils/index.js +175 -0
- package/lib/commonjs/utils/loadOptionalModule.js +94 -0
- package/lib/commonjs/utils/minimalSuperJSON.js +337 -0
- package/lib/commonjs/utils/persistentStorage.js +594 -0
- package/lib/commonjs/utils/safeAsyncStorage.js +71 -0
- package/lib/commonjs/utils/safeStringify.js +229 -0
- package/lib/commonjs/utils/time/formatRelativeTime.js +34 -0
- package/lib/commonjs/utils/time/index.js +12 -0
- package/lib/commonjs/utils/typeHelpers.js +142 -0
- package/lib/commonjs/utils/valueFormatting.js +140 -0
- package/lib/module/JsModal.js +1469 -0
- package/lib/module/clipboard/autoDetectClipboard.js +45 -0
- package/lib/module/clipboard/clipboard-impl.js +20 -0
- package/lib/module/clipboard/copyToClipboard.js +62 -0
- package/lib/module/clipboard/index.js +5 -0
- package/lib/module/context/HintsContext.js +43 -0
- package/lib/module/context/index.js +3 -0
- package/lib/module/dataViewer/CyberpunkInput.js +378 -0
- package/lib/module/dataViewer/DataViewer.js +137 -0
- package/lib/module/dataViewer/DiffSummary.js +128 -0
- package/lib/module/dataViewer/IndentGuides.js +124 -0
- package/lib/module/dataViewer/IndentGuidesOverlay.js +99 -0
- package/lib/module/dataViewer/SplitDiffViewer.js +415 -0
- package/lib/module/dataViewer/TypeLegend.js +105 -0
- package/lib/module/dataViewer/VirtualizedDataExplorer.js +1053 -0
- package/lib/module/dataViewer/diffThemes.js +104 -0
- package/lib/module/dataViewer/index.js +17 -0
- package/lib/module/dataViewer/lineDiff.js +362 -0
- package/lib/module/dataViewer/tree/TreeDiffViewer.js +882 -0
- package/lib/module/env/EnvironmentIndicator.js +117 -0
- package/lib/module/env/EnvironmentSelector.js +199 -0
- package/lib/module/env/EnvironmentSelectorInline.js +293 -0
- package/lib/module/hooks/index.js +6 -0
- package/lib/module/hooks/safe-area-impl.js +23 -0
- package/lib/module/hooks/useDeviceInfo.js +519 -0
- package/lib/module/hooks/useFilterManager.js +132 -0
- package/lib/module/hooks/useSafeAreaInsets.js +250 -0
- package/lib/module/icons/BenchmarkIcon.js +104 -0
- package/lib/module/icons/EnvLaptopIcon.js +199 -0
- package/lib/module/icons/IconBackground.js +274 -0
- package/lib/module/icons/ReactQueryIcon.js +164 -0
- package/lib/module/icons/RenderCountIcon.js +142 -0
- package/lib/module/icons/RouteMapIcon.js +245 -0
- package/lib/module/icons/SentryBugIcon.js +176 -0
- package/lib/module/icons/StackPulseIcon.js +153 -0
- package/lib/module/icons/StorageStackIcon.js +151 -0
- package/lib/module/icons/WifiCircuitIcon.js +164 -0
- package/lib/module/icons/index.js +23 -0
- package/lib/module/icons/lucide-icons-original-full.js +3174 -0
- package/lib/module/icons/lucide-icons.js +2199 -0
- package/lib/module/icons/primitives/GlobeIcon.js +61 -0
- package/lib/module/icons/primitives/icon-primitives.js +161 -0
- package/lib/module/icons/primitives/index.js +15 -0
- package/lib/module/index.js +58 -0
- package/lib/module/license/FeatureGate.js +754 -0
- package/lib/module/license/LicenseEntryModal.js +944 -0
- package/lib/module/license/ManageDevicesModal.js +539 -0
- package/lib/module/license/index.js +5 -0
- package/lib/module/logger/index-sentry.js +230 -0
- package/lib/module/logger/index.js +13 -0
- package/lib/module/logger/logDump.js +13 -0
- package/lib/module/logger/types.js +37 -0
- package/lib/module/package.json +1 -0
- package/lib/module/settings/components/BubbleSettingsSection.js +376 -0
- package/lib/module/settings/index.js +3 -0
- package/lib/module/storage/devToolsStorageKeys.js +228 -0
- package/lib/module/storage/index.js +3 -0
- package/lib/module/types/index.js +3 -0
- package/lib/module/types/types.d.js +1 -0
- package/lib/module/types/types.js +8 -0
- package/lib/module/ui/components/BackButton.js +43 -0
- package/lib/module/ui/components/Badge.js +213 -0
- package/lib/module/ui/components/ClipboardHintBanner.js +145 -0
- package/lib/module/ui/components/CollapsibleSection.js +166 -0
- package/lib/module/ui/components/CompactFilterChips.js +110 -0
- package/lib/module/ui/components/CompactRow.js +226 -0
- package/lib/module/ui/components/CopyButton.js +253 -0
- package/lib/module/ui/components/DataInspector.js +318 -0
- package/lib/module/ui/components/DetailView.js +353 -0
- package/lib/module/ui/components/Divider.js +14 -0
- package/lib/module/ui/components/DraggableHeader.js +140 -0
- package/lib/module/ui/components/DynamicFilterView.js +721 -0
- package/lib/module/ui/components/EmptyState.js +129 -0
- package/lib/module/ui/components/ErrorBoundary.js +107 -0
- package/lib/module/ui/components/EventHistoryViewer/CompareBar.js +205 -0
- package/lib/module/ui/components/EventHistoryViewer/DiffModeTabs.js +85 -0
- package/lib/module/ui/components/EventHistoryViewer/EventHistoryViewer.js +125 -0
- package/lib/module/ui/components/EventHistoryViewer/EventPickerModal.js +201 -0
- package/lib/module/ui/components/EventHistoryViewer/ViewToggleCards.js +132 -0
- package/lib/module/ui/components/EventHistoryViewer/index.js +19 -0
- package/lib/module/ui/components/EventHistoryViewer/types.js +3 -0
- package/lib/module/ui/components/EventListItem.js +243 -0
- package/lib/module/ui/components/EventStepperFooter.js +143 -0
- package/lib/module/ui/components/ExpandablePopover.js +338 -0
- package/lib/module/ui/components/ExpandableSection.js +67 -0
- package/lib/module/ui/components/ExpandableSectionHeader.js +82 -0
- package/lib/module/ui/components/ExpandableSectionWithModal.js +178 -0
- package/lib/module/ui/components/FilterComponents.js +259 -0
- package/lib/module/ui/components/FilterViewPattern.js +170 -0
- package/lib/module/ui/components/HeaderSearchButton.js +28 -0
- package/lib/module/ui/components/ListItem.js +167 -0
- package/lib/module/ui/components/ModalHeader.js +166 -0
- package/lib/module/ui/components/ModalHintBanner.js +143 -0
- package/lib/module/ui/components/SearchBar.js +260 -0
- package/lib/module/ui/components/SectionHeader.js +121 -0
- package/lib/module/ui/components/StatsCard.js +194 -0
- package/lib/module/ui/components/StatusIndicator.js +227 -0
- package/lib/module/ui/components/StorageTypeBadge.js +92 -0
- package/lib/module/ui/components/TabSelector.js +66 -0
- package/lib/module/ui/components/TimeDisplay.js +138 -0
- package/lib/module/ui/components/TypeBadge.js +96 -0
- package/lib/module/ui/components/ValueTypeBadge.js +142 -0
- package/lib/module/ui/components/WindowControls.js +114 -0
- package/lib/module/ui/components/index.js +33 -0
- package/lib/module/ui/components/types.js +3 -0
- package/lib/module/ui/console/BubbleSettingsModal.js +46 -0
- package/lib/module/ui/console/ConsoleSection.js +46 -0
- package/lib/module/ui/console/CyberpunkButtonOutline.js +257 -0
- package/lib/module/ui/console/CyberpunkConsoleSection.js +646 -0
- package/lib/module/ui/console/CyberpunkIconContainer.js +182 -0
- package/lib/module/ui/console/CyberpunkSectionButton.js +118 -0
- package/lib/module/ui/console/GalaxyButton.js +95 -0
- package/lib/module/ui/console/index.js +5 -0
- package/lib/module/ui/gameUI/components/GameUICollapsibleSection.js +116 -0
- package/lib/module/ui/gameUI/components/GameUICompactStats.js +331 -0
- package/lib/module/ui/gameUI/components/GameUIIssuesList.js +279 -0
- package/lib/module/ui/gameUI/components/GameUIStatusHeader.js +139 -0
- package/lib/module/ui/gameUI/constants/gameUIColors.js +183 -0
- package/lib/module/ui/gameUI/constants/macOSDesignSystemColors.js +202 -0
- package/lib/module/ui/gameUI/hooks/useGameUIAlertState.js +105 -0
- package/lib/module/ui/gameUI/index.js +19 -0
- package/lib/module/ui/index.js +12 -0
- package/lib/module/utils/displayValue.js +36 -0
- package/lib/module/utils/formatting/dataFormatting.js +66 -0
- package/lib/module/utils/formatting/httpFormatting.js +148 -0
- package/lib/module/utils/formatting/index.js +8 -0
- package/lib/module/utils/getSafeAreaInsets.js +36 -0
- package/lib/module/utils/index.js +10 -0
- package/lib/module/utils/loadOptionalModule.js +89 -0
- package/lib/module/utils/minimalSuperJSON.js +332 -0
- package/lib/module/utils/persistentStorage.js +588 -0
- package/lib/module/utils/safeAsyncStorage.js +64 -0
- package/lib/module/utils/safeStringify.js +225 -0
- package/lib/module/utils/time/formatRelativeTime.js +30 -0
- package/lib/module/utils/time/index.js +3 -0
- package/lib/module/utils/typeHelpers.js +130 -0
- package/lib/module/utils/valueFormatting.js +131 -0
- package/lib/typescript/commonjs/JsModal.d.ts +78 -0
- package/lib/typescript/commonjs/JsModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts +31 -0
- package/lib/typescript/commonjs/clipboard/autoDetectClipboard.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts +16 -0
- package/lib/typescript/commonjs/clipboard/clipboard-impl.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/copyToClipboard.d.ts +11 -0
- package/lib/typescript/commonjs/clipboard/copyToClipboard.d.ts.map +1 -0
- package/lib/typescript/commonjs/clipboard/index.d.ts +4 -0
- package/lib/typescript/commonjs/clipboard/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/context/HintsContext.d.ts +30 -0
- package/lib/typescript/commonjs/context/HintsContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/context/index.d.ts +2 -0
- package/lib/typescript/commonjs/context/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts +13 -0
- package/lib/typescript/commonjs/dataViewer/CyberpunkInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts +24 -0
- package/lib/typescript/commonjs/dataViewer/DataViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts +26 -0
- package/lib/typescript/commonjs/dataViewer/DiffSummary.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuides.d.ts +16 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuides.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuidesOverlay.d.ts +19 -0
- package/lib/typescript/commonjs/dataViewer/IndentGuidesOverlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts +40 -0
- package/lib/typescript/commonjs/dataViewer/SplitDiffViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/TypeLegend.d.ts +18 -0
- package/lib/typescript/commonjs/dataViewer/TypeLegend.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts +14 -0
- package/lib/typescript/commonjs/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts +62 -0
- package/lib/typescript/commonjs/dataViewer/diffThemes.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/index.d.ts +14 -0
- package/lib/typescript/commonjs/dataViewer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/lineDiff.d.ts +36 -0
- package/lib/typescript/commonjs/dataViewer/lineDiff.d.ts.map +1 -0
- package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts +24 -0
- package/lib/typescript/commonjs/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/env/EnvironmentIndicator.d.ts +12 -0
- package/lib/typescript/commonjs/env/EnvironmentIndicator.d.ts.map +1 -0
- package/lib/typescript/commonjs/env/EnvironmentSelector.d.ts +18 -0
- package/lib/typescript/commonjs/env/EnvironmentSelector.d.ts.map +1 -0
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.d.ts +12 -0
- package/lib/typescript/commonjs/env/EnvironmentSelectorInline.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/index.d.ts +5 -0
- package/lib/typescript/commonjs/hooks/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +24 -0
- package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useDeviceInfo.d.ts +125 -0
- package/lib/typescript/commonjs/hooks/useDeviceInfo.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useFilterManager.d.ts +59 -0
- package/lib/typescript/commonjs/hooks/useFilterManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.d.ts +113 -0
- package/lib/typescript/commonjs/hooks/useSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/BenchmarkIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/BenchmarkIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/EnvLaptopIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/EnvLaptopIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/IconBackground.d.ts +10 -0
- package/lib/typescript/commonjs/icons/IconBackground.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/ReactQueryIcon.d.ts +12 -0
- package/lib/typescript/commonjs/icons/ReactQueryIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/RenderCountIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/RenderCountIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/RouteMapIcon.d.ts +14 -0
- package/lib/typescript/commonjs/icons/RouteMapIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/SentryBugIcon.d.ts +12 -0
- package/lib/typescript/commonjs/icons/SentryBugIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/StackPulseIcon.d.ts +11 -0
- package/lib/typescript/commonjs/icons/StackPulseIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/StorageStackIcon.d.ts +12 -0
- package/lib/typescript/commonjs/icons/StorageStackIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/WifiCircuitIcon.d.ts +15 -0
- package/lib/typescript/commonjs/icons/WifiCircuitIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/index.d.ts +15 -0
- package/lib/typescript/commonjs/icons/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/lucide-icons-original-full.d.ts +148 -0
- package/lib/typescript/commonjs/icons/lucide-icons-original-full.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/lucide-icons.d.ts +170 -0
- package/lib/typescript/commonjs/icons/lucide-icons.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/primitives/GlobeIcon.d.ts +15 -0
- package/lib/typescript/commonjs/icons/primitives/GlobeIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/primitives/icon-primitives.d.ts +92 -0
- package/lib/typescript/commonjs/icons/primitives/icon-primitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/primitives/index.d.ts +9 -0
- package/lib/typescript/commonjs/icons/primitives/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +28 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/FeatureGate.d.ts +123 -0
- package/lib/typescript/commonjs/license/FeatureGate.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts +69 -0
- package/lib/typescript/commonjs/license/LicenseEntryModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/ManageDevicesModal.d.ts +23 -0
- package/lib/typescript/commonjs/license/ManageDevicesModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/license/index.d.ts +7 -0
- package/lib/typescript/commonjs/license/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/index-sentry.d.ts +68 -0
- package/lib/typescript/commonjs/logger/index-sentry.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/index.d.ts +5 -0
- package/lib/typescript/commonjs/logger/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/logDump.d.ts +5 -0
- package/lib/typescript/commonjs/logger/logDump.d.ts.map +1 -0
- package/lib/typescript/commonjs/logger/types.d.ts +100 -0
- package/lib/typescript/commonjs/logger/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/settings/components/BubbleSettingsSection.d.ts +19 -0
- package/lib/typescript/commonjs/settings/components/BubbleSettingsSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/settings/index.d.ts +2 -0
- package/lib/typescript/commonjs/settings/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts +173 -0
- package/lib/typescript/commonjs/storage/devToolsStorageKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/storage/index.d.ts +2 -0
- package/lib/typescript/commonjs/storage/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/index.d.ts +2 -0
- package/lib/typescript/commonjs/types/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/types.d.ts +8 -0
- package/lib/typescript/commonjs/types/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/BackButton.d.ts +10 -0
- package/lib/typescript/commonjs/ui/components/BackButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/Badge.d.ts +41 -0
- package/lib/typescript/commonjs/ui/components/Badge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts +17 -0
- package/lib/typescript/commonjs/ui/components/ClipboardHintBanner.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CollapsibleSection.d.ts +35 -0
- package/lib/typescript/commonjs/ui/components/CollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CompactFilterChips.d.ts +23 -0
- package/lib/typescript/commonjs/ui/components/CompactFilterChips.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CompactRow.d.ts +21 -0
- package/lib/typescript/commonjs/ui/components/CompactRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/CopyButton.d.ts +41 -0
- package/lib/typescript/commonjs/ui/components/CopyButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DataInspector.d.ts +35 -0
- package/lib/typescript/commonjs/ui/components/DataInspector.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DetailView.d.ts +68 -0
- package/lib/typescript/commonjs/ui/components/DetailView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/Divider.d.ts +2 -0
- package/lib/typescript/commonjs/ui/components/Divider.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts +35 -0
- package/lib/typescript/commonjs/ui/components/DraggableHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts +91 -0
- package/lib/typescript/commonjs/ui/components/DynamicFilterView.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts +43 -0
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts +18 -0
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/CompareBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.ts +14 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/index.d.ts +13 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/types.d.ts +216 -0
- package/lib/typescript/commonjs/ui/components/EventHistoryViewer/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventListItem.d.ts +65 -0
- package/lib/typescript/commonjs/ui/components/EventListItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts +32 -0
- package/lib/typescript/commonjs/ui/components/EventStepperFooter.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/ExpandablePopover.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSection.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionHeader.d.ts +13 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionWithModal.d.ts +18 -0
- package/lib/typescript/commonjs/ui/components/ExpandableSectionWithModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts +38 -0
- package/lib/typescript/commonjs/ui/components/FilterComponents.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/FilterViewPattern.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/FilterViewPattern.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/HeaderSearchButton.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/HeaderSearchButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ListItem.d.ts +49 -0
- package/lib/typescript/commonjs/ui/components/ListItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/ModalHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ModalHintBanner.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/ModalHintBanner.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SearchBar.d.ts +32 -0
- package/lib/typescript/commonjs/ui/components/SearchBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts +33 -0
- package/lib/typescript/commonjs/ui/components/SectionHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/StatsCard.d.ts +45 -0
- package/lib/typescript/commonjs/ui/components/StatsCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/StatusIndicator.d.ts +40 -0
- package/lib/typescript/commonjs/ui/components/StatusIndicator.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts +9 -0
- package/lib/typescript/commonjs/ui/components/StorageTypeBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/TabSelector.d.ts +12 -0
- package/lib/typescript/commonjs/ui/components/TabSelector.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/TimeDisplay.d.ts +30 -0
- package/lib/typescript/commonjs/ui/components/TimeDisplay.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/TypeBadge.d.ts +6 -0
- package/lib/typescript/commonjs/ui/components/TypeBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts +10 -0
- package/lib/typescript/commonjs/ui/components/ValueTypeBadge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts +19 -0
- package/lib/typescript/commonjs/ui/components/WindowControls.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/index.d.ts +36 -0
- package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/types.d.ts +3 -0
- package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/BubbleSettingsModal.d.ts +11 -0
- package/lib/typescript/commonjs/ui/console/BubbleSettingsModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/ConsoleSection.d.ts +19 -0
- package/lib/typescript/commonjs/ui/console/ConsoleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkButtonOutline.d.ts +12 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkButtonOutline.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkConsoleSection.d.ts +17 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkConsoleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkIconContainer.d.ts +9 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkIconContainer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts +14 -0
- package/lib/typescript/commonjs/ui/console/CyberpunkSectionButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/GalaxyButton.d.ts +10 -0
- package/lib/typescript/commonjs/ui/console/GalaxyButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/console/index.d.ts +2 -0
- package/lib/typescript/commonjs/ui/console/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts +24 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts +40 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUICompactStats.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts +29 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIIssuesList.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts +16 -0
- package/lib/typescript/commonjs/ui/gameUI/components/GameUIStatusHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts +103 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/gameUIColors.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.ts +157 -0
- package/lib/typescript/commonjs/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.ts +37 -0
- package/lib/typescript/commonjs/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/gameUI/index.d.ts +18 -0
- package/lib/typescript/commonjs/ui/gameUI/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/index.d.ts +4 -0
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/displayValue.d.ts +16 -0
- package/lib/typescript/commonjs/utils/displayValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/formatting/dataFormatting.d.ts +31 -0
- package/lib/typescript/commonjs/utils/formatting/dataFormatting.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/formatting/httpFormatting.d.ts +34 -0
- package/lib/typescript/commonjs/utils/formatting/httpFormatting.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/formatting/index.d.ts +6 -0
- package/lib/typescript/commonjs/utils/formatting/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.d.ts +14 -0
- package/lib/typescript/commonjs/utils/getSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/index.d.ts +9 -0
- package/lib/typescript/commonjs/utils/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts +27 -0
- package/lib/typescript/commonjs/utils/loadOptionalModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts +18 -0
- package/lib/typescript/commonjs/utils/minimalSuperJSON.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts +45 -0
- package/lib/typescript/commonjs/utils/persistentStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/safeAsyncStorage.d.ts +35 -0
- package/lib/typescript/commonjs/utils/safeAsyncStorage.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/safeStringify.d.ts +49 -0
- package/lib/typescript/commonjs/utils/safeStringify.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/time/formatRelativeTime.d.ts +8 -0
- package/lib/typescript/commonjs/utils/time/formatRelativeTime.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/time/index.d.ts +2 -0
- package/lib/typescript/commonjs/utils/time/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/typeHelpers.d.ts +52 -0
- package/lib/typescript/commonjs/utils/typeHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/valueFormatting.d.ts +39 -0
- package/lib/typescript/commonjs/utils/valueFormatting.d.ts.map +1 -0
- package/lib/typescript/module/JsModal.d.ts +78 -0
- package/lib/typescript/module/JsModal.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts +31 -0
- package/lib/typescript/module/clipboard/autoDetectClipboard.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts +16 -0
- package/lib/typescript/module/clipboard/clipboard-impl.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/copyToClipboard.d.ts +11 -0
- package/lib/typescript/module/clipboard/copyToClipboard.d.ts.map +1 -0
- package/lib/typescript/module/clipboard/index.d.ts +4 -0
- package/lib/typescript/module/clipboard/index.d.ts.map +1 -0
- package/lib/typescript/module/context/HintsContext.d.ts +30 -0
- package/lib/typescript/module/context/HintsContext.d.ts.map +1 -0
- package/lib/typescript/module/context/index.d.ts +2 -0
- package/lib/typescript/module/context/index.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts +13 -0
- package/lib/typescript/module/dataViewer/CyberpunkInput.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/DataViewer.d.ts +24 -0
- package/lib/typescript/module/dataViewer/DataViewer.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/DiffSummary.d.ts +26 -0
- package/lib/typescript/module/dataViewer/DiffSummary.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/IndentGuides.d.ts +16 -0
- package/lib/typescript/module/dataViewer/IndentGuides.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/IndentGuidesOverlay.d.ts +19 -0
- package/lib/typescript/module/dataViewer/IndentGuidesOverlay.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts +40 -0
- package/lib/typescript/module/dataViewer/SplitDiffViewer.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/TypeLegend.d.ts +18 -0
- package/lib/typescript/module/dataViewer/TypeLegend.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts +14 -0
- package/lib/typescript/module/dataViewer/VirtualizedDataExplorer.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/diffThemes.d.ts +62 -0
- package/lib/typescript/module/dataViewer/diffThemes.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/index.d.ts +14 -0
- package/lib/typescript/module/dataViewer/index.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/lineDiff.d.ts +36 -0
- package/lib/typescript/module/dataViewer/lineDiff.d.ts.map +1 -0
- package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts +24 -0
- package/lib/typescript/module/dataViewer/tree/TreeDiffViewer.d.ts.map +1 -0
- package/lib/typescript/module/env/EnvironmentIndicator.d.ts +12 -0
- package/lib/typescript/module/env/EnvironmentIndicator.d.ts.map +1 -0
- package/lib/typescript/module/env/EnvironmentSelector.d.ts +18 -0
- package/lib/typescript/module/env/EnvironmentSelector.d.ts.map +1 -0
- package/lib/typescript/module/env/EnvironmentSelectorInline.d.ts +12 -0
- package/lib/typescript/module/env/EnvironmentSelectorInline.d.ts.map +1 -0
- package/lib/typescript/module/hooks/index.d.ts +5 -0
- package/lib/typescript/module/hooks/index.d.ts.map +1 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts +24 -0
- package/lib/typescript/module/hooks/safe-area-impl.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useDeviceInfo.d.ts +125 -0
- package/lib/typescript/module/hooks/useDeviceInfo.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useFilterManager.d.ts +59 -0
- package/lib/typescript/module/hooks/useFilterManager.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useSafeAreaInsets.d.ts +113 -0
- package/lib/typescript/module/hooks/useSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/module/icons/BenchmarkIcon.d.ts +14 -0
- package/lib/typescript/module/icons/BenchmarkIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/EnvLaptopIcon.d.ts +14 -0
- package/lib/typescript/module/icons/EnvLaptopIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/IconBackground.d.ts +10 -0
- package/lib/typescript/module/icons/IconBackground.d.ts.map +1 -0
- package/lib/typescript/module/icons/ReactQueryIcon.d.ts +12 -0
- package/lib/typescript/module/icons/ReactQueryIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/RenderCountIcon.d.ts +14 -0
- package/lib/typescript/module/icons/RenderCountIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/RouteMapIcon.d.ts +14 -0
- package/lib/typescript/module/icons/RouteMapIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/SentryBugIcon.d.ts +12 -0
- package/lib/typescript/module/icons/SentryBugIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/StackPulseIcon.d.ts +11 -0
- package/lib/typescript/module/icons/StackPulseIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/StorageStackIcon.d.ts +12 -0
- package/lib/typescript/module/icons/StorageStackIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/WifiCircuitIcon.d.ts +15 -0
- package/lib/typescript/module/icons/WifiCircuitIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/index.d.ts +15 -0
- package/lib/typescript/module/icons/index.d.ts.map +1 -0
- package/lib/typescript/module/icons/lucide-icons-original-full.d.ts +148 -0
- package/lib/typescript/module/icons/lucide-icons-original-full.d.ts.map +1 -0
- package/lib/typescript/module/icons/lucide-icons.d.ts +170 -0
- package/lib/typescript/module/icons/lucide-icons.d.ts.map +1 -0
- package/lib/typescript/module/icons/primitives/GlobeIcon.d.ts +15 -0
- package/lib/typescript/module/icons/primitives/GlobeIcon.d.ts.map +1 -0
- package/lib/typescript/module/icons/primitives/icon-primitives.d.ts +92 -0
- package/lib/typescript/module/icons/primitives/icon-primitives.d.ts.map +1 -0
- package/lib/typescript/module/icons/primitives/index.d.ts +9 -0
- package/lib/typescript/module/icons/primitives/index.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +28 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/license/FeatureGate.d.ts +123 -0
- package/lib/typescript/module/license/FeatureGate.d.ts.map +1 -0
- package/lib/typescript/module/license/LicenseEntryModal.d.ts +69 -0
- package/lib/typescript/module/license/LicenseEntryModal.d.ts.map +1 -0
- package/lib/typescript/module/license/ManageDevicesModal.d.ts +23 -0
- package/lib/typescript/module/license/ManageDevicesModal.d.ts.map +1 -0
- package/lib/typescript/module/license/index.d.ts +7 -0
- package/lib/typescript/module/license/index.d.ts.map +1 -0
- package/lib/typescript/module/logger/index-sentry.d.ts +68 -0
- package/lib/typescript/module/logger/index-sentry.d.ts.map +1 -0
- package/lib/typescript/module/logger/index.d.ts +5 -0
- package/lib/typescript/module/logger/index.d.ts.map +1 -0
- package/lib/typescript/module/logger/logDump.d.ts +5 -0
- package/lib/typescript/module/logger/logDump.d.ts.map +1 -0
- package/lib/typescript/module/logger/types.d.ts +100 -0
- package/lib/typescript/module/logger/types.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/settings/components/BubbleSettingsSection.d.ts +19 -0
- package/lib/typescript/module/settings/components/BubbleSettingsSection.d.ts.map +1 -0
- package/lib/typescript/module/settings/index.d.ts +2 -0
- package/lib/typescript/module/settings/index.d.ts.map +1 -0
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts +173 -0
- package/lib/typescript/module/storage/devToolsStorageKeys.d.ts.map +1 -0
- package/lib/typescript/module/storage/index.d.ts +2 -0
- package/lib/typescript/module/storage/index.d.ts.map +1 -0
- package/lib/typescript/module/types/index.d.ts +2 -0
- package/lib/typescript/module/types/index.d.ts.map +1 -0
- package/lib/typescript/module/types/types.d.ts +8 -0
- package/lib/typescript/module/types/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/BackButton.d.ts +10 -0
- package/lib/typescript/module/ui/components/BackButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/Badge.d.ts +41 -0
- package/lib/typescript/module/ui/components/Badge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts +17 -0
- package/lib/typescript/module/ui/components/ClipboardHintBanner.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CollapsibleSection.d.ts +35 -0
- package/lib/typescript/module/ui/components/CollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CompactFilterChips.d.ts +23 -0
- package/lib/typescript/module/ui/components/CompactFilterChips.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CompactRow.d.ts +21 -0
- package/lib/typescript/module/ui/components/CompactRow.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/CopyButton.d.ts +41 -0
- package/lib/typescript/module/ui/components/CopyButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DataInspector.d.ts +35 -0
- package/lib/typescript/module/ui/components/DataInspector.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DetailView.d.ts +68 -0
- package/lib/typescript/module/ui/components/DetailView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/Divider.d.ts +2 -0
- package/lib/typescript/module/ui/components/Divider.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DraggableHeader.d.ts +35 -0
- package/lib/typescript/module/ui/components/DraggableHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/DynamicFilterView.d.ts +91 -0
- package/lib/typescript/module/ui/components/DynamicFilterView.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EmptyState.d.ts +43 -0
- package/lib/typescript/module/ui/components/EmptyState.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts +18 -0
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/CompareBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/DiffModeTabs.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventHistoryViewer.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts +15 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/EventPickerModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/ViewToggleCards.d.ts +14 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/ViewToggleCards.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/index.d.ts +13 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/types.d.ts +216 -0
- package/lib/typescript/module/ui/components/EventHistoryViewer/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventListItem.d.ts +65 -0
- package/lib/typescript/module/ui/components/EventListItem.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/EventStepperFooter.d.ts +32 -0
- package/lib/typescript/module/ui/components/EventStepperFooter.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandablePopover.d.ts +34 -0
- package/lib/typescript/module/ui/components/ExpandablePopover.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandableSection.d.ts +15 -0
- package/lib/typescript/module/ui/components/ExpandableSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandableSectionHeader.d.ts +13 -0
- package/lib/typescript/module/ui/components/ExpandableSectionHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ExpandableSectionWithModal.d.ts +18 -0
- package/lib/typescript/module/ui/components/ExpandableSectionWithModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FilterComponents.d.ts +38 -0
- package/lib/typescript/module/ui/components/FilterComponents.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/FilterViewPattern.d.ts +15 -0
- package/lib/typescript/module/ui/components/FilterViewPattern.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/HeaderSearchButton.d.ts +9 -0
- package/lib/typescript/module/ui/components/HeaderSearchButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ListItem.d.ts +49 -0
- package/lib/typescript/module/ui/components/ListItem.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ModalHeader.d.ts +34 -0
- package/lib/typescript/module/ui/components/ModalHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ModalHintBanner.d.ts +15 -0
- package/lib/typescript/module/ui/components/ModalHintBanner.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SearchBar.d.ts +32 -0
- package/lib/typescript/module/ui/components/SearchBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/SectionHeader.d.ts +33 -0
- package/lib/typescript/module/ui/components/SectionHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/StatsCard.d.ts +45 -0
- package/lib/typescript/module/ui/components/StatsCard.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/StatusIndicator.d.ts +40 -0
- package/lib/typescript/module/ui/components/StatusIndicator.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts +9 -0
- package/lib/typescript/module/ui/components/StorageTypeBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/TabSelector.d.ts +12 -0
- package/lib/typescript/module/ui/components/TabSelector.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/TimeDisplay.d.ts +30 -0
- package/lib/typescript/module/ui/components/TimeDisplay.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/TypeBadge.d.ts +6 -0
- package/lib/typescript/module/ui/components/TypeBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts +10 -0
- package/lib/typescript/module/ui/components/ValueTypeBadge.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/WindowControls.d.ts +19 -0
- package/lib/typescript/module/ui/components/WindowControls.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/index.d.ts +36 -0
- package/lib/typescript/module/ui/components/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/types.d.ts +3 -0
- package/lib/typescript/module/ui/components/types.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/BubbleSettingsModal.d.ts +11 -0
- package/lib/typescript/module/ui/console/BubbleSettingsModal.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/ConsoleSection.d.ts +19 -0
- package/lib/typescript/module/ui/console/ConsoleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkButtonOutline.d.ts +12 -0
- package/lib/typescript/module/ui/console/CyberpunkButtonOutline.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkConsoleSection.d.ts +17 -0
- package/lib/typescript/module/ui/console/CyberpunkConsoleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkIconContainer.d.ts +9 -0
- package/lib/typescript/module/ui/console/CyberpunkIconContainer.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts +14 -0
- package/lib/typescript/module/ui/console/CyberpunkSectionButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/GalaxyButton.d.ts +10 -0
- package/lib/typescript/module/ui/console/GalaxyButton.d.ts.map +1 -0
- package/lib/typescript/module/ui/console/index.d.ts +2 -0
- package/lib/typescript/module/ui/console/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts +24 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts +40 -0
- package/lib/typescript/module/ui/gameUI/components/GameUICompactStats.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts +29 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIIssuesList.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts +16 -0
- package/lib/typescript/module/ui/gameUI/components/GameUIStatusHeader.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts +103 -0
- package/lib/typescript/module/ui/gameUI/constants/gameUIColors.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/constants/macOSDesignSystemColors.d.ts +157 -0
- package/lib/typescript/module/ui/gameUI/constants/macOSDesignSystemColors.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/hooks/useGameUIAlertState.d.ts +37 -0
- package/lib/typescript/module/ui/gameUI/hooks/useGameUIAlertState.d.ts.map +1 -0
- package/lib/typescript/module/ui/gameUI/index.d.ts +18 -0
- package/lib/typescript/module/ui/gameUI/index.d.ts.map +1 -0
- package/lib/typescript/module/ui/index.d.ts +4 -0
- package/lib/typescript/module/ui/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/displayValue.d.ts +16 -0
- package/lib/typescript/module/utils/displayValue.d.ts.map +1 -0
- package/lib/typescript/module/utils/formatting/dataFormatting.d.ts +31 -0
- package/lib/typescript/module/utils/formatting/dataFormatting.d.ts.map +1 -0
- package/lib/typescript/module/utils/formatting/httpFormatting.d.ts +34 -0
- package/lib/typescript/module/utils/formatting/httpFormatting.d.ts.map +1 -0
- package/lib/typescript/module/utils/formatting/index.d.ts +6 -0
- package/lib/typescript/module/utils/formatting/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/getSafeAreaInsets.d.ts +14 -0
- package/lib/typescript/module/utils/getSafeAreaInsets.d.ts.map +1 -0
- package/lib/typescript/module/utils/index.d.ts +9 -0
- package/lib/typescript/module/utils/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/loadOptionalModule.d.ts +27 -0
- package/lib/typescript/module/utils/loadOptionalModule.d.ts.map +1 -0
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts +18 -0
- package/lib/typescript/module/utils/minimalSuperJSON.d.ts.map +1 -0
- package/lib/typescript/module/utils/persistentStorage.d.ts +45 -0
- package/lib/typescript/module/utils/persistentStorage.d.ts.map +1 -0
- package/lib/typescript/module/utils/safeAsyncStorage.d.ts +35 -0
- package/lib/typescript/module/utils/safeAsyncStorage.d.ts.map +1 -0
- package/lib/typescript/module/utils/safeStringify.d.ts +49 -0
- package/lib/typescript/module/utils/safeStringify.d.ts.map +1 -0
- package/lib/typescript/module/utils/time/formatRelativeTime.d.ts +8 -0
- package/lib/typescript/module/utils/time/formatRelativeTime.d.ts.map +1 -0
- package/lib/typescript/module/utils/time/index.d.ts +2 -0
- package/lib/typescript/module/utils/time/index.d.ts.map +1 -0
- package/lib/typescript/module/utils/typeHelpers.d.ts +52 -0
- package/lib/typescript/module/utils/typeHelpers.d.ts.map +1 -0
- package/lib/typescript/module/utils/valueFormatting.d.ts +39 -0
- package/lib/typescript/module/utils/valueFormatting.d.ts.map +1 -0
- package/package.json +172 -0
- package/scripts/detect-clipboard.js +137 -0
- package/scripts/detect-safe-area.js +130 -0
|
@@ -0,0 +1,1057 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.VirtualizedDataExplorer = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _displayValue = require("../utils/displayValue.js");
|
|
10
|
+
var _index = require("../ui/gameUI/index.js");
|
|
11
|
+
var _CopyButton = require("../ui/components/CopyButton.js");
|
|
12
|
+
var _index2 = require("../icons/index.js");
|
|
13
|
+
var _IndentGuidesOverlay = require("./IndentGuidesOverlay.js");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
// Stable constants to prevent re-renders [[memory:4875251]]
|
|
16
|
+
const HIT_SLOP_10 = {
|
|
17
|
+
top: 10,
|
|
18
|
+
bottom: 10,
|
|
19
|
+
left: 10,
|
|
20
|
+
right: 10
|
|
21
|
+
};
|
|
22
|
+
const ITEM_HEIGHT = 24; // Fixed height per row for crisp guides
|
|
23
|
+
const LONG_ITEM_HEIGHT = 24; // Keep uniform height to match VS Code tree
|
|
24
|
+
const CHUNK_SIZE = 50; // Process data in chunks to avoid blocking UI
|
|
25
|
+
const MAX_DEPTH_LIMIT = 15; // Prevent excessive nesting
|
|
26
|
+
const MAX_ITEMS_PER_LEVEL = 500; // Limit items to prevent memory issues
|
|
27
|
+
const LONG_KEY_THRESHOLD = 30; // Keys longer than this use vertical layout
|
|
28
|
+
|
|
29
|
+
// Pre-computed indent styles (VS Code-style width)
|
|
30
|
+
const INDENT_WIDTH = 16;
|
|
31
|
+
const INDENT_STYLES = Array.from({
|
|
32
|
+
length: MAX_DEPTH_LIMIT + 1
|
|
33
|
+
}, (_, depth) => _reactNative.StyleSheet.create({
|
|
34
|
+
container: {
|
|
35
|
+
marginLeft: depth * INDENT_WIDTH
|
|
36
|
+
}
|
|
37
|
+
}).container);
|
|
38
|
+
|
|
39
|
+
// Enhanced type color cache using centralized theme colors [[memory:4875251]]
|
|
40
|
+
const TYPE_COLOR_CACHE = new Map([["string", _index.gameUIColors.dataTypes.string], ["number", _index.gameUIColors.dataTypes.number], ["bigint", _index.gameUIColors.optional],
|
|
41
|
+
// Purple for bigint (distinct from number)
|
|
42
|
+
["boolean", _index.gameUIColors.dataTypes.boolean], ["null", _index.gameUIColors.dataTypes.null], ["undefined", _index.gameUIColors.dataTypes.undefined], ["function", _index.gameUIColors.dataTypes.function], ["symbol", _index.gameUIColors.critical],
|
|
43
|
+
// Pink for symbols (distinct from function)
|
|
44
|
+
["date", _index.gameUIColors.critical],
|
|
45
|
+
// Pink for dates
|
|
46
|
+
["error", _index.gameUIColors.error],
|
|
47
|
+
// Red for errors
|
|
48
|
+
["array", _index.gameUIColors.dataTypes.array], ["object", _index.gameUIColors.dataTypes.object], ["map", _index.gameUIColors.info],
|
|
49
|
+
// Cyan for maps (distinct from object/array)
|
|
50
|
+
["set", _index.gameUIColors.success],
|
|
51
|
+
// Green for sets (distinct from map/array/object)
|
|
52
|
+
["circular", _index.gameUIColors.warning] // Yellow for circular references
|
|
53
|
+
]);
|
|
54
|
+
|
|
55
|
+
// Pre-computed stable styles with React Query-inspired design
|
|
56
|
+
const STABLE_STYLES = _reactNative.StyleSheet.create({
|
|
57
|
+
container: {
|
|
58
|
+
backgroundColor: _index.gameUIColors.primary + "08",
|
|
59
|
+
// bg-white/[0.03]
|
|
60
|
+
borderRadius: 8,
|
|
61
|
+
borderWidth: 1,
|
|
62
|
+
borderColor: _index.gameUIColors.primary + "14" // border-white/[0.08]
|
|
63
|
+
// Remove flex: 1 and minHeight to allow natural sizing
|
|
64
|
+
},
|
|
65
|
+
header: {
|
|
66
|
+
flexDirection: "column",
|
|
67
|
+
paddingHorizontal: 16,
|
|
68
|
+
// Increased padding like dev tools
|
|
69
|
+
paddingVertical: 12
|
|
70
|
+
},
|
|
71
|
+
headerRow: {
|
|
72
|
+
flexDirection: "row",
|
|
73
|
+
justifyContent: "space-between",
|
|
74
|
+
alignItems: "center",
|
|
75
|
+
marginBottom: 6
|
|
76
|
+
},
|
|
77
|
+
title: {
|
|
78
|
+
color: _index.gameUIColors.primary,
|
|
79
|
+
// text-white
|
|
80
|
+
fontSize: 14,
|
|
81
|
+
fontWeight: "500" // font-medium
|
|
82
|
+
},
|
|
83
|
+
description: {
|
|
84
|
+
color: _index.gameUIColors.secondary,
|
|
85
|
+
// text-gray-400
|
|
86
|
+
fontSize: 12,
|
|
87
|
+
marginTop: 2
|
|
88
|
+
},
|
|
89
|
+
typeLegend: {
|
|
90
|
+
flexDirection: "row",
|
|
91
|
+
flexWrap: "wrap",
|
|
92
|
+
gap: 6,
|
|
93
|
+
marginTop: 8,
|
|
94
|
+
paddingTop: 8,
|
|
95
|
+
borderTopWidth: 1,
|
|
96
|
+
borderTopColor: _index.gameUIColors.primary + "14" // border-white/[0.08]
|
|
97
|
+
},
|
|
98
|
+
typeBadge: {
|
|
99
|
+
flexDirection: "row",
|
|
100
|
+
alignItems: "center",
|
|
101
|
+
paddingHorizontal: 6,
|
|
102
|
+
paddingVertical: 2,
|
|
103
|
+
borderRadius: 4,
|
|
104
|
+
borderWidth: 1
|
|
105
|
+
},
|
|
106
|
+
typeColor: {
|
|
107
|
+
width: 8,
|
|
108
|
+
height: 8,
|
|
109
|
+
borderRadius: 4,
|
|
110
|
+
marginRight: 4
|
|
111
|
+
},
|
|
112
|
+
typeName: {
|
|
113
|
+
fontSize: 10,
|
|
114
|
+
fontWeight: "500",
|
|
115
|
+
color: _index.gameUIColors.secondary // text-gray-400
|
|
116
|
+
},
|
|
117
|
+
itemContainer: {
|
|
118
|
+
minHeight: ITEM_HEIGHT,
|
|
119
|
+
backgroundColor: "transparent",
|
|
120
|
+
position: "relative",
|
|
121
|
+
flexDirection: "row",
|
|
122
|
+
alignItems: "flex-start" // Align items to top for better alignment with expand arrows
|
|
123
|
+
},
|
|
124
|
+
itemTouchable: {
|
|
125
|
+
flex: 1,
|
|
126
|
+
flexDirection: "row",
|
|
127
|
+
alignItems: "flex-start",
|
|
128
|
+
// Changed from center to align expand arrow with first line of text
|
|
129
|
+
paddingLeft: 0,
|
|
130
|
+
// Remove padding to align with tree lines
|
|
131
|
+
paddingRight: 16,
|
|
132
|
+
paddingVertical: 2,
|
|
133
|
+
// Further reduced for even tighter spacing
|
|
134
|
+
minHeight: 24 // Match ITEM_HEIGHT for consistency
|
|
135
|
+
},
|
|
136
|
+
itemTouchablePressed: {
|
|
137
|
+
backgroundColor: _index.gameUIColors.primary + "0A" // slightly more visible on press
|
|
138
|
+
},
|
|
139
|
+
itemSelected: {
|
|
140
|
+
backgroundColor: _index.gameUIColors.primary + "14" // selected row highlight (subtle)
|
|
141
|
+
},
|
|
142
|
+
expanderContainer: {
|
|
143
|
+
width: 16,
|
|
144
|
+
// Reduced to minimize space
|
|
145
|
+
alignItems: "center",
|
|
146
|
+
justifyContent: "center",
|
|
147
|
+
marginTop: 4 // Align with text baseline
|
|
148
|
+
},
|
|
149
|
+
expanderIcon: {
|
|
150
|
+
width: 12,
|
|
151
|
+
height: 12
|
|
152
|
+
},
|
|
153
|
+
labelContainer: {
|
|
154
|
+
flex: 1,
|
|
155
|
+
flexDirection: "row",
|
|
156
|
+
alignItems: "flex-start",
|
|
157
|
+
paddingLeft: 2
|
|
158
|
+
},
|
|
159
|
+
labelContainerVertical: {
|
|
160
|
+
flex: 1,
|
|
161
|
+
flexDirection: "column",
|
|
162
|
+
paddingLeft: 2,
|
|
163
|
+
// Reduced padding for tighter alignment
|
|
164
|
+
paddingVertical: 2
|
|
165
|
+
},
|
|
166
|
+
labelContainerVerticalRow: {
|
|
167
|
+
flexDirection: "row",
|
|
168
|
+
alignItems: "center",
|
|
169
|
+
marginBottom: 2
|
|
170
|
+
},
|
|
171
|
+
labelText: {
|
|
172
|
+
color: _index.gameUIColors.primary,
|
|
173
|
+
// text-white
|
|
174
|
+
fontSize: 12,
|
|
175
|
+
fontWeight: "500",
|
|
176
|
+
// font-medium
|
|
177
|
+
fontFamily: "monospace",
|
|
178
|
+
marginRight: 8,
|
|
179
|
+
flexShrink: 1
|
|
180
|
+
},
|
|
181
|
+
labelTextTruncated: {
|
|
182
|
+
color: _index.gameUIColors.primary,
|
|
183
|
+
// text-white
|
|
184
|
+
fontSize: 12,
|
|
185
|
+
fontWeight: "500",
|
|
186
|
+
// font-medium
|
|
187
|
+
fontFamily: "monospace",
|
|
188
|
+
flexShrink: 1
|
|
189
|
+
},
|
|
190
|
+
valueText: {
|
|
191
|
+
fontSize: 12,
|
|
192
|
+
fontFamily: "monospace",
|
|
193
|
+
flex: 1,
|
|
194
|
+
color: _index.gameUIColors.primaryLight // text-gray-300
|
|
195
|
+
},
|
|
196
|
+
loadingContainer: {
|
|
197
|
+
padding: 16,
|
|
198
|
+
alignItems: "center"
|
|
199
|
+
},
|
|
200
|
+
loadingText: {
|
|
201
|
+
color: _index.gameUIColors.secondary,
|
|
202
|
+
// text-gray-400
|
|
203
|
+
fontSize: 12
|
|
204
|
+
},
|
|
205
|
+
noDataContainer: {
|
|
206
|
+
padding: 16,
|
|
207
|
+
alignItems: "center"
|
|
208
|
+
},
|
|
209
|
+
noDataText: {
|
|
210
|
+
color: _index.gameUIColors.secondary,
|
|
211
|
+
// text-gray-400
|
|
212
|
+
fontSize: 12
|
|
213
|
+
},
|
|
214
|
+
listContent: {
|
|
215
|
+
paddingBottom: 8
|
|
216
|
+
},
|
|
217
|
+
headerTouchable: {
|
|
218
|
+
flex: 1,
|
|
219
|
+
flexDirection: "row",
|
|
220
|
+
alignItems: "center"
|
|
221
|
+
},
|
|
222
|
+
expanderMargin: {
|
|
223
|
+
marginLeft: 8
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
// Type definitions for flattened data structure
|
|
228
|
+
|
|
229
|
+
// Enhanced type detection optimized for performance
|
|
230
|
+
const getValueType = value => {
|
|
231
|
+
if (value === null) return "null";
|
|
232
|
+
if (value === undefined) return "undefined";
|
|
233
|
+
if (Array.isArray(value)) return "array";
|
|
234
|
+
if (value instanceof Date) return "date";
|
|
235
|
+
if (value instanceof Error) return "error";
|
|
236
|
+
if (value instanceof Map) return "map";
|
|
237
|
+
if (value instanceof Set) return "set";
|
|
238
|
+
if (value instanceof RegExp) return "regexp";
|
|
239
|
+
if (typeof value === "function") return "function";
|
|
240
|
+
if (typeof value === "symbol") return "symbol";
|
|
241
|
+
if (typeof value === "bigint") return "bigint";
|
|
242
|
+
if (typeof value === "object") return "object";
|
|
243
|
+
return typeof value;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
// Get value count for collections
|
|
247
|
+
const getValueCount = (value, valueType) => {
|
|
248
|
+
if (value === null) return 0;
|
|
249
|
+
switch (valueType) {
|
|
250
|
+
case "array":
|
|
251
|
+
return Array.isArray(value) ? value.length : 0;
|
|
252
|
+
case "object":
|
|
253
|
+
return typeof value === "object" && !(value instanceof Date) && !(value instanceof Error) && !(value instanceof RegExp) && !(value instanceof Map) && !(value instanceof Set) ? Object.keys(value).length : 0;
|
|
254
|
+
case "map":
|
|
255
|
+
return value instanceof Map ? value.size : 0;
|
|
256
|
+
case "set":
|
|
257
|
+
return value instanceof Set ? value.size : 0;
|
|
258
|
+
default:
|
|
259
|
+
return 0;
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
// Format value for display
|
|
264
|
+
const formatValue = (value, valueType) => {
|
|
265
|
+
if (value === null) return "null";
|
|
266
|
+
if (value === undefined) return "undefined";
|
|
267
|
+
switch (valueType) {
|
|
268
|
+
case "string":
|
|
269
|
+
return `"${String(value)}"`;
|
|
270
|
+
case "boolean":
|
|
271
|
+
return value === true ? "true" : "false";
|
|
272
|
+
case "function":
|
|
273
|
+
return typeof value === "function" ? value.toString().slice(0, 50) + "..." : "undefined";
|
|
274
|
+
case "symbol":
|
|
275
|
+
return typeof value === "symbol" ? String(value) : "undefined";
|
|
276
|
+
case "date":
|
|
277
|
+
return value instanceof Date ? value.toISOString() : "undefined";
|
|
278
|
+
case "regexp":
|
|
279
|
+
return value instanceof RegExp ? value.toString() : "undefined";
|
|
280
|
+
case "bigint":
|
|
281
|
+
return typeof value === "bigint" ? value.toString() + "n" : "undefined";
|
|
282
|
+
case "error":
|
|
283
|
+
return value instanceof Error ? `${value.name}: ${value.message}` : "undefined";
|
|
284
|
+
default:
|
|
285
|
+
return (0, _displayValue.displayValue)(value);
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
// Optimized type color lookup using cache [[memory:4875251]]
|
|
290
|
+
const getTypeColor = valueType => {
|
|
291
|
+
return TYPE_COLOR_CACHE.get(valueType) || _index.gameUIColors.dataTypes.array;
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
// Memoized components for performance
|
|
295
|
+
const ExpanderComponent = ({
|
|
296
|
+
expanded,
|
|
297
|
+
onPress
|
|
298
|
+
}) => {
|
|
299
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
300
|
+
"sentry-label": "ignore devtools data explorer expander",
|
|
301
|
+
style: STABLE_STYLES.expanderContainer,
|
|
302
|
+
onPress: onPress,
|
|
303
|
+
hitSlop: HIT_SLOP_10,
|
|
304
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
305
|
+
style: STABLE_STYLES.expanderIcon,
|
|
306
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.ChevronRight, {
|
|
307
|
+
size: 12,
|
|
308
|
+
color: _index.gameUIColors.secondary,
|
|
309
|
+
strokeWidth: 2,
|
|
310
|
+
style: {
|
|
311
|
+
transform: [{
|
|
312
|
+
rotate: expanded ? "90deg" : "0deg"
|
|
313
|
+
}]
|
|
314
|
+
}
|
|
315
|
+
})
|
|
316
|
+
})
|
|
317
|
+
});
|
|
318
|
+
};
|
|
319
|
+
ExpanderComponent.displayName = "Expander";
|
|
320
|
+
const Expander = /*#__PURE__*/(0, _react.memo)(ExpanderComponent);
|
|
321
|
+
|
|
322
|
+
// Type legend component to replace inline type indicators
|
|
323
|
+
const TypeLegendComponent = ({
|
|
324
|
+
visibleTypes
|
|
325
|
+
}) => {
|
|
326
|
+
const uniqueTypes = Array.from(new Set(visibleTypes)).slice(0, 8); // Limit to 8 most common types
|
|
327
|
+
|
|
328
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
329
|
+
style: STABLE_STYLES.typeLegend,
|
|
330
|
+
children: uniqueTypes.map(type => {
|
|
331
|
+
const color = getTypeColor(type);
|
|
332
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
333
|
+
style: [STABLE_STYLES.typeBadge, {
|
|
334
|
+
backgroundColor: `${color}10`,
|
|
335
|
+
borderColor: `${color}30`
|
|
336
|
+
}],
|
|
337
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
338
|
+
style: [STABLE_STYLES.typeColor, {
|
|
339
|
+
backgroundColor: color
|
|
340
|
+
}]
|
|
341
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
342
|
+
style: STABLE_STYLES.typeName,
|
|
343
|
+
children: type
|
|
344
|
+
})]
|
|
345
|
+
}, type);
|
|
346
|
+
})
|
|
347
|
+
});
|
|
348
|
+
};
|
|
349
|
+
TypeLegendComponent.displayName = "TypeLegend";
|
|
350
|
+
const TypeLegend = /*#__PURE__*/(0, _react.memo)(TypeLegendComponent);
|
|
351
|
+
|
|
352
|
+
// Optimized data flattening with chunked processing to prevent UI blocking [[memory:4875251]]
|
|
353
|
+
const useDataFlattening = (data, maxDepth = 10, autoExpandFirstLevel = false) => {
|
|
354
|
+
const [flatData, setFlatData] = (0, _react.useState)([]);
|
|
355
|
+
const flatDataMapRef = (0, _react.useRef)(new Map());
|
|
356
|
+
|
|
357
|
+
// Initialize with root expanded and optionally first level
|
|
358
|
+
const getInitialExpanded = (0, _react.useCallback)(() => {
|
|
359
|
+
const initial = new Set(["root"]);
|
|
360
|
+
if (autoExpandFirstLevel && data && typeof data === "object") {
|
|
361
|
+
if (Array.isArray(data)) {
|
|
362
|
+
data.forEach((_, index) => {
|
|
363
|
+
initial.add(`root.${index}`);
|
|
364
|
+
});
|
|
365
|
+
} else {
|
|
366
|
+
Object.keys(data).forEach(key => {
|
|
367
|
+
initial.add(`root.${key}`);
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
return initial;
|
|
372
|
+
}, [autoExpandFirstLevel, data]);
|
|
373
|
+
const [expandedItems, setExpandedItems] = (0, _react.useState)(() => getInitialExpanded());
|
|
374
|
+
const [isProcessing, setIsProcessing] = (0, _react.useState)(false);
|
|
375
|
+
|
|
376
|
+
// Debug logging - commented out for less noise
|
|
377
|
+
// Store circular cache outside of re-renders to prevent reset
|
|
378
|
+
const circularCacheRef = (0, _react.useRef)(new WeakSet());
|
|
379
|
+
const processingRef = (0, _react.useRef)(false);
|
|
380
|
+
const dataVersionRef = (0, _react.useRef)(0);
|
|
381
|
+
const lastActionRef = (0, _react.useRef)(undefined);
|
|
382
|
+
|
|
383
|
+
// Stable flattenData function that doesn't depend on expandedItems
|
|
384
|
+
const flattenDataStable = (0, _react.useCallback)((value, expandedSet, circularCache, key = "root", depth = 0, parentId, path = [], siblingIndex = 0, totalSiblings = 1, parentHasMoreSiblings = []) => {
|
|
385
|
+
// Early termination for performance [[memory:4875251]]
|
|
386
|
+
if (depth > Math.min(maxDepth, MAX_DEPTH_LIMIT)) return [];
|
|
387
|
+
const currentPath = [...path, key];
|
|
388
|
+
const id = currentPath.join(".");
|
|
389
|
+
const valueType = getValueType(value);
|
|
390
|
+
const isExpandable = ["object", "array", "map", "set"].includes(valueType) && value !== null;
|
|
391
|
+
const rawChildCount = isExpandable ? getValueCount(value, valueType) : 0;
|
|
392
|
+
// Limit child count to prevent performance issues [[memory:4875251]]
|
|
393
|
+
const childCount = Math.min(rawChildCount, MAX_ITEMS_PER_LEVEL);
|
|
394
|
+
|
|
395
|
+
// Check for circular references
|
|
396
|
+
if (value && typeof value === "object") {
|
|
397
|
+
if (circularCache.has(value)) {
|
|
398
|
+
return [{
|
|
399
|
+
id,
|
|
400
|
+
key,
|
|
401
|
+
value: "[Circular Reference]",
|
|
402
|
+
valueType: "circular",
|
|
403
|
+
depth,
|
|
404
|
+
isExpandable: false,
|
|
405
|
+
isExpanded: false,
|
|
406
|
+
parentId,
|
|
407
|
+
hasChildren: false,
|
|
408
|
+
childCount: 0,
|
|
409
|
+
path: currentPath,
|
|
410
|
+
type: "circular",
|
|
411
|
+
isLastChild: siblingIndex === totalSiblings - 1,
|
|
412
|
+
parentHasMoreSiblings: [...parentHasMoreSiblings],
|
|
413
|
+
siblingIndex,
|
|
414
|
+
totalSiblings
|
|
415
|
+
}];
|
|
416
|
+
}
|
|
417
|
+
circularCache.add(value);
|
|
418
|
+
}
|
|
419
|
+
const currentItem = {
|
|
420
|
+
id,
|
|
421
|
+
key,
|
|
422
|
+
value,
|
|
423
|
+
valueType,
|
|
424
|
+
depth,
|
|
425
|
+
isExpandable,
|
|
426
|
+
isExpanded: expandedSet.has(id),
|
|
427
|
+
parentId,
|
|
428
|
+
hasChildren: childCount > 0,
|
|
429
|
+
childCount,
|
|
430
|
+
path: currentPath,
|
|
431
|
+
type: isExpandable ? "expandable" : valueType,
|
|
432
|
+
isLastChild: siblingIndex === totalSiblings - 1,
|
|
433
|
+
parentHasMoreSiblings: [...parentHasMoreSiblings],
|
|
434
|
+
siblingIndex,
|
|
435
|
+
totalSiblings
|
|
436
|
+
};
|
|
437
|
+
const result = [currentItem];
|
|
438
|
+
|
|
439
|
+
// Only add children if expanded and not too deep [[memory:4875251]]
|
|
440
|
+
if (isExpandable && expandedSet.has(id) && depth < Math.min(maxDepth, MAX_DEPTH_LIMIT)) {
|
|
441
|
+
try {
|
|
442
|
+
let entries = [];
|
|
443
|
+
switch (valueType) {
|
|
444
|
+
case "array":
|
|
445
|
+
entries = Array.isArray(value) ? value.map((item, index) => [index.toString(), item]) : [];
|
|
446
|
+
break;
|
|
447
|
+
case "object":
|
|
448
|
+
entries = typeof value === "object" && value !== null && !(value instanceof Date) && !(value instanceof Error) && !(value instanceof RegExp) && !(value instanceof Map) && !(value instanceof Set) ? Object.entries(value) : [];
|
|
449
|
+
break;
|
|
450
|
+
case "map":
|
|
451
|
+
entries = value instanceof Map ? Array.from(value.entries()).map(([k, v]) => [String(k), v]) : [];
|
|
452
|
+
break;
|
|
453
|
+
case "set":
|
|
454
|
+
entries = value instanceof Set ? Array.from(value.values()).map((v, index) => [index.toString(), v]) : [];
|
|
455
|
+
break;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
// Aggressively limit children for performance [[memory:4875251]]
|
|
459
|
+
const limitedEntries = entries.slice(0, childCount);
|
|
460
|
+
const totalChildCount = limitedEntries.length;
|
|
461
|
+
|
|
462
|
+
// Update parent's sibling tracking for children
|
|
463
|
+
const newParentHasMoreSiblings = [...parentHasMoreSiblings];
|
|
464
|
+
if (depth > 0) {
|
|
465
|
+
// Current item has more siblings if it's not the last child
|
|
466
|
+
newParentHasMoreSiblings[depth - 1] = !currentItem.isLastChild;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
// Process children in smaller batches to avoid blocking
|
|
470
|
+
for (let i = 0; i < limitedEntries.length; i += CHUNK_SIZE) {
|
|
471
|
+
const chunk = limitedEntries.slice(i, i + CHUNK_SIZE);
|
|
472
|
+
let chunkIndex = i;
|
|
473
|
+
for (const [childKey, childValue] of chunk) {
|
|
474
|
+
result.push(...flattenDataStable(childValue, expandedSet, circularCache, childKey, depth + 1, id, currentPath, chunkIndex, totalChildCount, newParentHasMoreSiblings));
|
|
475
|
+
chunkIndex++;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
// Yield to main thread periodically for large datasets
|
|
479
|
+
if (i > 0 && i % (CHUNK_SIZE * 2) === 0) {
|
|
480
|
+
break; // Let InteractionManager handle the rest
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
} catch (error) {
|
|
484
|
+
console.error(error);
|
|
485
|
+
// Skip malformed data
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
return result;
|
|
489
|
+
}, [maxDepth] // Only depend on maxDepth, not expandedItems
|
|
490
|
+
);
|
|
491
|
+
|
|
492
|
+
// Only process full data when data changes (not on expand/collapse)
|
|
493
|
+
(0, _react.useEffect)(() => {
|
|
494
|
+
// Skip if this was just an expand/collapse action
|
|
495
|
+
if (lastActionRef.current && (lastActionRef.current.type === "expand" || lastActionRef.current.type === "collapse")) {
|
|
496
|
+
// Make sure processing flag is cleared for incremental updates
|
|
497
|
+
if (isProcessing) {
|
|
498
|
+
setIsProcessing(false);
|
|
499
|
+
processingRef.current = false;
|
|
500
|
+
}
|
|
501
|
+
lastActionRef.current = undefined;
|
|
502
|
+
return;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
// Prevent concurrent processing
|
|
506
|
+
if (processingRef.current) {
|
|
507
|
+
return;
|
|
508
|
+
}
|
|
509
|
+
let isCancelled = false;
|
|
510
|
+
let timeoutId;
|
|
511
|
+
processingRef.current = true;
|
|
512
|
+
setIsProcessing(true);
|
|
513
|
+
const processData = async () => {
|
|
514
|
+
// Failsafe timeout to prevent stuck processing
|
|
515
|
+
timeoutId = setTimeout(() => {
|
|
516
|
+
if (processingRef.current && !isCancelled) {
|
|
517
|
+
setIsProcessing(false);
|
|
518
|
+
processingRef.current = false;
|
|
519
|
+
}
|
|
520
|
+
}, 5000);
|
|
521
|
+
// Small delay to debounce rapid changes
|
|
522
|
+
// Small delay to batch rapid changes
|
|
523
|
+
await new Promise(resolve => setTimeout(() => resolve(), 10));
|
|
524
|
+
if (isCancelled) {
|
|
525
|
+
processingRef.current = false;
|
|
526
|
+
return;
|
|
527
|
+
}
|
|
528
|
+
try {
|
|
529
|
+
// Initialize circular cache for new data
|
|
530
|
+
circularCacheRef.current = new WeakSet();
|
|
531
|
+
dataVersionRef.current = Date.now();
|
|
532
|
+
const newFlatData = flattenDataStable(data, expandedItems, circularCacheRef.current, "root", 0, undefined, [], 0, 1, []);
|
|
533
|
+
|
|
534
|
+
// Build the map for incremental updates
|
|
535
|
+
const newMap = new Map();
|
|
536
|
+
newFlatData.forEach((item, index) => {
|
|
537
|
+
newMap.set(item.id, {
|
|
538
|
+
item,
|
|
539
|
+
index
|
|
540
|
+
});
|
|
541
|
+
});
|
|
542
|
+
flatDataMapRef.current = newMap;
|
|
543
|
+
if (!isCancelled) {
|
|
544
|
+
setFlatData(newFlatData);
|
|
545
|
+
setIsProcessing(false);
|
|
546
|
+
processingRef.current = false;
|
|
547
|
+
if (timeoutId) clearTimeout(timeoutId);
|
|
548
|
+
} else {
|
|
549
|
+
if (timeoutId) clearTimeout(timeoutId);
|
|
550
|
+
}
|
|
551
|
+
} catch (error) {
|
|
552
|
+
console.error(error);
|
|
553
|
+
// Reset to empty data on error
|
|
554
|
+
if (!isCancelled) {
|
|
555
|
+
setFlatData([]);
|
|
556
|
+
flatDataMapRef.current = new Map();
|
|
557
|
+
setIsProcessing(false);
|
|
558
|
+
processingRef.current = false;
|
|
559
|
+
if (timeoutId) clearTimeout(timeoutId);
|
|
560
|
+
} else {
|
|
561
|
+
if (timeoutId) clearTimeout(timeoutId);
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
};
|
|
565
|
+
processData();
|
|
566
|
+
return () => {
|
|
567
|
+
isCancelled = true;
|
|
568
|
+
processingRef.current = false;
|
|
569
|
+
if (timeoutId) clearTimeout(timeoutId);
|
|
570
|
+
};
|
|
571
|
+
}, [data, expandedItems, flattenDataStable, maxDepth]);
|
|
572
|
+
|
|
573
|
+
// Incremental update function for expand/collapse
|
|
574
|
+
const updateFlatDataIncremental = (0, _react.useCallback)((itemId, isExpanding) => {
|
|
575
|
+
// Clear processing flag since we're doing incremental update
|
|
576
|
+
setIsProcessing(false);
|
|
577
|
+
processingRef.current = false;
|
|
578
|
+
setFlatData(prevFlatData => {
|
|
579
|
+
const itemEntry = flatDataMapRef.current.get(itemId);
|
|
580
|
+
if (!itemEntry) {
|
|
581
|
+
return prevFlatData;
|
|
582
|
+
}
|
|
583
|
+
const {
|
|
584
|
+
item,
|
|
585
|
+
index
|
|
586
|
+
} = itemEntry;
|
|
587
|
+
if (isExpanding && item.isExpandable && item.hasChildren) {
|
|
588
|
+
// Expand: insert children after the item
|
|
589
|
+
const newItems = [...prevFlatData];
|
|
590
|
+
|
|
591
|
+
// Create a new circular cache for this subtree
|
|
592
|
+
const subCircularCache = new WeakSet();
|
|
593
|
+
if (item.value && typeof item.value === "object") {
|
|
594
|
+
subCircularCache.add(item.value);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
// We need to get the actual children, not re-process the parent
|
|
598
|
+
// So we process each child entry individually
|
|
599
|
+
const childrenItems = [];
|
|
600
|
+
try {
|
|
601
|
+
let entries = [];
|
|
602
|
+
const valueType = item.valueType;
|
|
603
|
+
switch (valueType) {
|
|
604
|
+
case "array":
|
|
605
|
+
entries = Array.isArray(item.value) ? item.value.map((childValue, index) => [index.toString(), childValue]) : [];
|
|
606
|
+
break;
|
|
607
|
+
case "object":
|
|
608
|
+
entries = typeof item.value === "object" && item.value !== null && !(item.value instanceof Date) && !(item.value instanceof Error) && !(item.value instanceof RegExp) && !(item.value instanceof Map) && !(item.value instanceof Set) ? Object.entries(item.value) : [];
|
|
609
|
+
break;
|
|
610
|
+
case "map":
|
|
611
|
+
entries = item.value instanceof Map ? Array.from(item.value.entries()).map(([k, v]) => [String(k), v]) : [];
|
|
612
|
+
break;
|
|
613
|
+
case "set":
|
|
614
|
+
entries = item.value instanceof Set ? Array.from(item.value.values()).map((v, index) => [index.toString(), v]) : [];
|
|
615
|
+
break;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
// Process each child with sibling tracking
|
|
619
|
+
const totalEntries = entries.length;
|
|
620
|
+
const parentHasMoreSiblings = item.parentHasMoreSiblings || [];
|
|
621
|
+
const newParentHasMoreSiblings = [...parentHasMoreSiblings];
|
|
622
|
+
if (item.depth > 0) {
|
|
623
|
+
newParentHasMoreSiblings[item.depth - 1] = !item.isLastChild;
|
|
624
|
+
}
|
|
625
|
+
entries.forEach(([childKey, childValue], index) => {
|
|
626
|
+
const childItems = flattenDataStable(childValue, new Set(),
|
|
627
|
+
// Children start collapsed
|
|
628
|
+
subCircularCache, childKey, item.depth + 1, itemId, item.path, index, totalEntries, newParentHasMoreSiblings);
|
|
629
|
+
childrenItems.push(...childItems);
|
|
630
|
+
});
|
|
631
|
+
} catch (error) {
|
|
632
|
+
console.error(error);
|
|
633
|
+
}
|
|
634
|
+
const childrenToInsert = childrenItems;
|
|
635
|
+
if (childrenToInsert.length > 0) {
|
|
636
|
+
// Children are ready to insert
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// Update the parent item to show it's expanded
|
|
640
|
+
newItems[index] = {
|
|
641
|
+
...item,
|
|
642
|
+
isExpanded: true
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
// Insert children after the parent
|
|
646
|
+
newItems.splice(index + 1, 0, ...childrenToInsert);
|
|
647
|
+
|
|
648
|
+
// Rebuild the map
|
|
649
|
+
const newMap = new Map();
|
|
650
|
+
newItems.forEach((item, index) => {
|
|
651
|
+
newMap.set(item.id, {
|
|
652
|
+
item,
|
|
653
|
+
index
|
|
654
|
+
});
|
|
655
|
+
});
|
|
656
|
+
flatDataMapRef.current = newMap;
|
|
657
|
+
return newItems;
|
|
658
|
+
} else if (!isExpanding) {
|
|
659
|
+
// Collapse: remove all descendants
|
|
660
|
+
const itemsToRemove = new Set();
|
|
661
|
+
const findDescendants = (parentId, depth) => {
|
|
662
|
+
prevFlatData.forEach(child => {
|
|
663
|
+
if (child.parentId === parentId || child.id.startsWith(parentId + ".") && child.depth > depth) {
|
|
664
|
+
itemsToRemove.add(child.id);
|
|
665
|
+
if (child.hasChildren) {
|
|
666
|
+
findDescendants(child.id, child.depth);
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
});
|
|
670
|
+
};
|
|
671
|
+
findDescendants(itemId, item.depth);
|
|
672
|
+
|
|
673
|
+
// Filter out descendants and update the parent
|
|
674
|
+
const newItems = prevFlatData.map(it => {
|
|
675
|
+
if (it.id === itemId) {
|
|
676
|
+
return {
|
|
677
|
+
...it,
|
|
678
|
+
isExpanded: false
|
|
679
|
+
};
|
|
680
|
+
}
|
|
681
|
+
return it;
|
|
682
|
+
}).filter(it => !itemsToRemove.has(it.id));
|
|
683
|
+
|
|
684
|
+
// Rebuild the map
|
|
685
|
+
const newMap = new Map();
|
|
686
|
+
newItems.forEach((item, index) => {
|
|
687
|
+
newMap.set(item.id, {
|
|
688
|
+
item,
|
|
689
|
+
index
|
|
690
|
+
});
|
|
691
|
+
});
|
|
692
|
+
flatDataMapRef.current = newMap;
|
|
693
|
+
return newItems;
|
|
694
|
+
}
|
|
695
|
+
return prevFlatData;
|
|
696
|
+
});
|
|
697
|
+
}, [flattenDataStable]);
|
|
698
|
+
const toggleExpanded = (0, _react.useCallback)(itemId => {
|
|
699
|
+
setExpandedItems(prev => {
|
|
700
|
+
const newSet = new Set(prev);
|
|
701
|
+
const isExpanding = !newSet.has(itemId);
|
|
702
|
+
if (isExpanding) {
|
|
703
|
+
newSet.add(itemId);
|
|
704
|
+
} else {
|
|
705
|
+
newSet.delete(itemId);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
// Store the action for the effect to use
|
|
709
|
+
lastActionRef.current = {
|
|
710
|
+
type: isExpanding ? "expand" : "collapse",
|
|
711
|
+
itemId
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
// Perform incremental update
|
|
715
|
+
updateFlatDataIncremental(itemId, isExpanding);
|
|
716
|
+
return newSet;
|
|
717
|
+
});
|
|
718
|
+
}, [updateFlatDataIncremental]);
|
|
719
|
+
return {
|
|
720
|
+
flatData,
|
|
721
|
+
isProcessing,
|
|
722
|
+
toggleExpanded
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
// Optimized virtualized item renderer with full-row clickability [[memory:4875251]]
|
|
727
|
+
const VirtualizedItemComponent = ({
|
|
728
|
+
item,
|
|
729
|
+
onToggleExpanded,
|
|
730
|
+
data,
|
|
731
|
+
index,
|
|
732
|
+
onSelect,
|
|
733
|
+
isSelected,
|
|
734
|
+
disableCopy = false
|
|
735
|
+
}) => {
|
|
736
|
+
const [isPressed, setIsPressed] = (0, _react.useState)(false);
|
|
737
|
+
const [showFullKey, setShowFullKey] = (0, _react.useState)(false);
|
|
738
|
+
|
|
739
|
+
// Use pre-computed styles to avoid inline calculations [[memory:4875251]]
|
|
740
|
+
const indentStyle = INDENT_STYLES[Math.min(item.depth, MAX_DEPTH_LIMIT)] || INDENT_STYLES[0];
|
|
741
|
+
const color = getTypeColor(item.valueType);
|
|
742
|
+
|
|
743
|
+
// Uniform row layout: single-line like VS Code tree
|
|
744
|
+
const isLongKey = false;
|
|
745
|
+
|
|
746
|
+
// Use inline handler since component is already memoized [[memory:4875251]]
|
|
747
|
+
const handlePress = () => {
|
|
748
|
+
if (item.isExpandable) {
|
|
749
|
+
onToggleExpanded(item.id);
|
|
750
|
+
}
|
|
751
|
+
onSelect(index);
|
|
752
|
+
};
|
|
753
|
+
const handleKeyPress = () => {};
|
|
754
|
+
|
|
755
|
+
// Always show full key for better identification
|
|
756
|
+
const displayKey = item.key;
|
|
757
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
758
|
+
style: [STABLE_STYLES.itemContainer, indentStyle],
|
|
759
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
760
|
+
"sentry-label": "ignore devtools data explorer item",
|
|
761
|
+
style: [STABLE_STYLES.itemTouchable, isPressed && STABLE_STYLES.itemTouchablePressed, isSelected && STABLE_STYLES.itemSelected, isLongKey && {
|
|
762
|
+
minHeight: LONG_ITEM_HEIGHT,
|
|
763
|
+
paddingVertical: 2
|
|
764
|
+
}],
|
|
765
|
+
onPress: handlePress,
|
|
766
|
+
onPressIn: () => setIsPressed(true),
|
|
767
|
+
onPressOut: () => setIsPressed(false),
|
|
768
|
+
activeOpacity: item.isExpandable ? 0.7 : 1,
|
|
769
|
+
disabled: !item.isExpandable,
|
|
770
|
+
children: [item.isExpandable ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Expander, {
|
|
771
|
+
expanded: item.isExpanded,
|
|
772
|
+
onPress: handlePress
|
|
773
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
774
|
+
style: STABLE_STYLES.expanderContainer
|
|
775
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
776
|
+
style: STABLE_STYLES.labelContainer,
|
|
777
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
778
|
+
style: STABLE_STYLES.labelText,
|
|
779
|
+
numberOfLines: 1,
|
|
780
|
+
children: [item.key, ":"]
|
|
781
|
+
}), item.isExpandable ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
782
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
783
|
+
style: [STABLE_STYLES.valueText, {
|
|
784
|
+
color: _index.gameUIColors.secondary
|
|
785
|
+
}],
|
|
786
|
+
numberOfLines: 1,
|
|
787
|
+
children: [item.valueType, " (", item.childCount, " ", item.childCount === 1 ? "item" : "items", ")"]
|
|
788
|
+
}), item.id === "root" && data && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CopyButton.CopyButton, {
|
|
789
|
+
value: data,
|
|
790
|
+
size: 16,
|
|
791
|
+
buttonStyle: {
|
|
792
|
+
marginLeft: 8
|
|
793
|
+
},
|
|
794
|
+
disabled: disableCopy
|
|
795
|
+
})]
|
|
796
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
797
|
+
style: [STABLE_STYLES.valueText, {
|
|
798
|
+
color
|
|
799
|
+
}],
|
|
800
|
+
numberOfLines: 1,
|
|
801
|
+
children: formatValue(item.value, item.valueType)
|
|
802
|
+
})]
|
|
803
|
+
})]
|
|
804
|
+
})
|
|
805
|
+
});
|
|
806
|
+
};
|
|
807
|
+
VirtualizedItemComponent.displayName = "VirtualizedItem";
|
|
808
|
+
const VirtualizedItem = /*#__PURE__*/(0, _react.memo)(VirtualizedItemComponent);
|
|
809
|
+
|
|
810
|
+
// Main virtualized data explorer component
|
|
811
|
+
|
|
812
|
+
const VirtualizedDataExplorer = ({
|
|
813
|
+
title,
|
|
814
|
+
description,
|
|
815
|
+
data,
|
|
816
|
+
maxDepth = 10,
|
|
817
|
+
rawMode = false,
|
|
818
|
+
initialExpanded = false,
|
|
819
|
+
disableCopy = false
|
|
820
|
+
}) => {
|
|
821
|
+
const [isExpanded, setIsExpanded] = (0, _react.useState)(rawMode); // Auto-expand in raw mode
|
|
822
|
+
const {
|
|
823
|
+
flatData,
|
|
824
|
+
isProcessing,
|
|
825
|
+
toggleExpanded
|
|
826
|
+
} = useDataFlattening(data, maxDepth, initialExpanded);
|
|
827
|
+
|
|
828
|
+
// Track visible range for overlay rendering
|
|
829
|
+
const listRef = (0, _react.useRef)(null);
|
|
830
|
+
const [visibleRange, setVisibleRange] = (0, _react.useState)({
|
|
831
|
+
start: 0,
|
|
832
|
+
end: Math.min(flatData.length - 1, Math.max(0, Math.ceil(400 / ITEM_HEIGHT) - 1))
|
|
833
|
+
});
|
|
834
|
+
const viewabilityConfigRef = (0, _react.useRef)({
|
|
835
|
+
itemVisiblePercentThreshold: 1
|
|
836
|
+
});
|
|
837
|
+
const onViewableItemsChanged = (0, _react.useRef)(({
|
|
838
|
+
viewableItems
|
|
839
|
+
}) => {
|
|
840
|
+
const idx = viewableItems.map(v => v.index).filter(n => typeof n === "number");
|
|
841
|
+
if (idx.length) {
|
|
842
|
+
setVisibleRange({
|
|
843
|
+
start: Math.min(...idx),
|
|
844
|
+
end: Math.max(...idx)
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
}).current;
|
|
848
|
+
(0, _react.useEffect)(() => {
|
|
849
|
+
// When data changes, reset the presumed visible window
|
|
850
|
+
setVisibleRange({
|
|
851
|
+
start: 0,
|
|
852
|
+
end: Math.min(flatData.length - 1, Math.max(0, Math.ceil(400 / ITEM_HEIGHT) - 1))
|
|
853
|
+
});
|
|
854
|
+
}, [flatData.length]);
|
|
855
|
+
|
|
856
|
+
// Calculate visible types for the legend with single pass deduplication
|
|
857
|
+
// Performance: Avoiding array.map() + Array.from(new Set()), using single loop for unique types
|
|
858
|
+
const visibleTypes = (0, _react.useMemo)(() => {
|
|
859
|
+
const typeSet = new Set();
|
|
860
|
+
for (const item of flatData) {
|
|
861
|
+
typeSet.add(item.valueType);
|
|
862
|
+
// Early exit if we have enough types for the legend (max 8 as per TypeLegend component)
|
|
863
|
+
if (typeSet.size >= 8) break;
|
|
864
|
+
}
|
|
865
|
+
return Array.from(typeSet);
|
|
866
|
+
}, [flatData]);
|
|
867
|
+
|
|
868
|
+
// Remove unnecessary useCallback - not passed to memoized components [[memory:4875251]]
|
|
869
|
+
const toggleMainExpanded = () => {
|
|
870
|
+
setIsExpanded(!isExpanded);
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
// Stable renderItem using module-scope function [[memory:4875251]]
|
|
874
|
+
const [selectedIndex, setSelectedIndex] = (0, _react.useState)(null);
|
|
875
|
+
const activeDepth = selectedIndex != null ? flatData[selectedIndex]?.depth : undefined;
|
|
876
|
+
const renderItem = ({
|
|
877
|
+
item,
|
|
878
|
+
index
|
|
879
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(VirtualizedItem, {
|
|
880
|
+
item: item,
|
|
881
|
+
index: index,
|
|
882
|
+
onToggleExpanded: toggleExpanded,
|
|
883
|
+
data: data,
|
|
884
|
+
onSelect: setSelectedIndex,
|
|
885
|
+
isSelected: selectedIndex === index,
|
|
886
|
+
disableCopy: disableCopy
|
|
887
|
+
});
|
|
888
|
+
|
|
889
|
+
// Uniform row height for crisp guide geometry
|
|
890
|
+
const averageItemSize = ITEM_HEIGHT;
|
|
891
|
+
|
|
892
|
+
// Simple keyExtractor without useCallback [[memory:4875251]]
|
|
893
|
+
const keyExtractor = item => item.id;
|
|
894
|
+
const hasData = data && (typeof data === "object" || Array.isArray(data)) && (Array.isArray(data) ? data.length > 0 : Object.keys(data).length > 0);
|
|
895
|
+
|
|
896
|
+
// Raw mode: render data directly without header/container
|
|
897
|
+
if (rawMode) {
|
|
898
|
+
if (!hasData) {
|
|
899
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
900
|
+
style: {
|
|
901
|
+
flex: 1,
|
|
902
|
+
justifyContent: "center",
|
|
903
|
+
alignItems: "center",
|
|
904
|
+
padding: 20
|
|
905
|
+
},
|
|
906
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
907
|
+
style: STABLE_STYLES.noDataText,
|
|
908
|
+
children: "No data available"
|
|
909
|
+
})
|
|
910
|
+
});
|
|
911
|
+
}
|
|
912
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
913
|
+
style: {
|
|
914
|
+
flex: 1
|
|
915
|
+
},
|
|
916
|
+
children: isProcessing ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
917
|
+
style: {
|
|
918
|
+
flex: 1,
|
|
919
|
+
justifyContent: "center",
|
|
920
|
+
alignItems: "center"
|
|
921
|
+
},
|
|
922
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
923
|
+
style: STABLE_STYLES.loadingText,
|
|
924
|
+
children: ["Processing data... (raw mode, isProcessing=", String(isProcessing), ")"]
|
|
925
|
+
})
|
|
926
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
927
|
+
style: {
|
|
928
|
+
position: "relative",
|
|
929
|
+
height: flatData.length * ITEM_HEIGHT
|
|
930
|
+
},
|
|
931
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_IndentGuidesOverlay.IndentGuidesOverlay, {
|
|
932
|
+
items: flatData,
|
|
933
|
+
visibleRange: {
|
|
934
|
+
start: 0,
|
|
935
|
+
end: Math.max(0, flatData.length - 1)
|
|
936
|
+
},
|
|
937
|
+
itemHeight: ITEM_HEIGHT,
|
|
938
|
+
indentWidth: INDENT_WIDTH,
|
|
939
|
+
activeDepth: activeDepth
|
|
940
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
|
|
941
|
+
ref: listRef,
|
|
942
|
+
"sentry-label": "ignore devtools data explorer list",
|
|
943
|
+
data: flatData,
|
|
944
|
+
renderItem: renderItem,
|
|
945
|
+
keyExtractor: keyExtractor,
|
|
946
|
+
showsVerticalScrollIndicator: true,
|
|
947
|
+
contentContainerStyle: STABLE_STYLES.listContent,
|
|
948
|
+
initialNumToRender: 15,
|
|
949
|
+
maxToRenderPerBatch: 10,
|
|
950
|
+
windowSize: 10,
|
|
951
|
+
scrollEnabled: false
|
|
952
|
+
})]
|
|
953
|
+
})
|
|
954
|
+
});
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
// Standard mode: render with header and container
|
|
958
|
+
if (!hasData) {
|
|
959
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
960
|
+
style: STABLE_STYLES.container,
|
|
961
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
962
|
+
style: STABLE_STYLES.header,
|
|
963
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
964
|
+
style: STABLE_STYLES.headerRow,
|
|
965
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
966
|
+
style: {
|
|
967
|
+
flex: 1
|
|
968
|
+
},
|
|
969
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
970
|
+
style: STABLE_STYLES.title,
|
|
971
|
+
children: title
|
|
972
|
+
}), description && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
973
|
+
style: STABLE_STYLES.description,
|
|
974
|
+
children: description
|
|
975
|
+
})]
|
|
976
|
+
})
|
|
977
|
+
})
|
|
978
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
979
|
+
style: STABLE_STYLES.noDataContainer,
|
|
980
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
981
|
+
style: STABLE_STYLES.noDataText,
|
|
982
|
+
children: "No data available"
|
|
983
|
+
})
|
|
984
|
+
})]
|
|
985
|
+
});
|
|
986
|
+
}
|
|
987
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
988
|
+
style: STABLE_STYLES.container,
|
|
989
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
990
|
+
style: STABLE_STYLES.header,
|
|
991
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
992
|
+
style: STABLE_STYLES.headerRow,
|
|
993
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
994
|
+
"sentry-label": "ignore devtools data explorer header toggle",
|
|
995
|
+
onPress: toggleMainExpanded,
|
|
996
|
+
hitSlop: HIT_SLOP_10,
|
|
997
|
+
style: STABLE_STYLES.headerTouchable,
|
|
998
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
999
|
+
style: {
|
|
1000
|
+
flex: 1
|
|
1001
|
+
},
|
|
1002
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1003
|
+
style: STABLE_STYLES.title,
|
|
1004
|
+
children: title
|
|
1005
|
+
}), description && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
1006
|
+
style: STABLE_STYLES.description,
|
|
1007
|
+
children: description
|
|
1008
|
+
})]
|
|
1009
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1010
|
+
style: STABLE_STYLES.expanderMargin,
|
|
1011
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Expander, {
|
|
1012
|
+
expanded: isExpanded,
|
|
1013
|
+
onPress: toggleMainExpanded
|
|
1014
|
+
})
|
|
1015
|
+
})]
|
|
1016
|
+
})
|
|
1017
|
+
}), isExpanded && visibleTypes.length > 0 && !rawMode && /*#__PURE__*/(0, _jsxRuntime.jsx)(TypeLegend, {
|
|
1018
|
+
visibleTypes: visibleTypes
|
|
1019
|
+
})]
|
|
1020
|
+
}), isExpanded && /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
1021
|
+
children: isProcessing ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
1022
|
+
style: STABLE_STYLES.loadingContainer,
|
|
1023
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
1024
|
+
style: STABLE_STYLES.loadingText,
|
|
1025
|
+
children: ["Processing data... (isProcessing=", String(isProcessing), ")"]
|
|
1026
|
+
})
|
|
1027
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
1028
|
+
style: {
|
|
1029
|
+
height: Math.min(flatData.length * ITEM_HEIGHT, 400),
|
|
1030
|
+
position: "relative"
|
|
1031
|
+
},
|
|
1032
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_IndentGuidesOverlay.IndentGuidesOverlay, {
|
|
1033
|
+
items: flatData,
|
|
1034
|
+
visibleRange: visibleRange,
|
|
1035
|
+
itemHeight: ITEM_HEIGHT,
|
|
1036
|
+
indentWidth: INDENT_WIDTH,
|
|
1037
|
+
activeDepth: activeDepth
|
|
1038
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
|
|
1039
|
+
ref: listRef,
|
|
1040
|
+
"sentry-label": "ignore devtools data explorer collapsed list",
|
|
1041
|
+
data: flatData,
|
|
1042
|
+
renderItem: renderItem,
|
|
1043
|
+
keyExtractor: keyExtractor,
|
|
1044
|
+
showsVerticalScrollIndicator: true,
|
|
1045
|
+
contentContainerStyle: STABLE_STYLES.listContent,
|
|
1046
|
+
initialNumToRender: 15,
|
|
1047
|
+
maxToRenderPerBatch: 10,
|
|
1048
|
+
windowSize: 10,
|
|
1049
|
+
scrollEnabled: false,
|
|
1050
|
+
onViewableItemsChanged: onViewableItemsChanged,
|
|
1051
|
+
viewabilityConfig: viewabilityConfigRef.current
|
|
1052
|
+
})]
|
|
1053
|
+
})
|
|
1054
|
+
})]
|
|
1055
|
+
});
|
|
1056
|
+
};
|
|
1057
|
+
exports.VirtualizedDataExplorer = VirtualizedDataExplorer;
|