react-native-inapp-inspector 2.3.18 → 2.3.20
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/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +57 -0
- package/dist/commonjs/analytics.js +1 -24
- package/dist/commonjs/bundle.js +1 -16
- package/dist/commonjs/capture.d.ts +2 -0
- package/dist/commonjs/capture.js +1 -32
- package/dist/commonjs/components/AnalyticsDetail.js +92 -623
- package/dist/commonjs/components/AnalyticsEventCard.js +54 -350
- package/dist/commonjs/components/AnalyticsGraph.js +70 -370
- package/dist/commonjs/components/AnimatedEntrance.js +1 -11
- package/dist/commonjs/components/AppHeaderLogo.js +7 -134
- package/dist/commonjs/components/BrandCircleIcon.js +73 -118
- package/dist/commonjs/components/BrandSquareIcon.js +63 -108
- package/dist/commonjs/components/CodeSnippet.js +48 -623
- package/dist/commonjs/components/ConsoleLogCard.js +63 -537
- package/dist/commonjs/components/CopyButton.js +3 -89
- package/dist/commonjs/components/DiffViewer.js +19 -83
- package/dist/commonjs/components/DomainHeader.js +27 -127
- package/dist/commonjs/components/EmptyState.d.ts +1 -0
- package/dist/commonjs/components/EmptyState.js +10 -87
- package/dist/commonjs/components/EndOfListFooter.js +7 -81
- package/dist/commonjs/components/ErrorBoundary.js +72 -566
- package/dist/commonjs/components/HeadersSection.js +31 -110
- package/dist/commonjs/components/HighlightText.js +17 -58
- package/dist/commonjs/components/Inspector/AboutModal.d.ts +6 -0
- package/dist/commonjs/components/Inspector/AboutModal.js +351 -0
- package/dist/commonjs/components/Inspector/AnalyticsFilterModal.js +98 -797
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +284 -930
- package/dist/commonjs/components/Inspector/BundleTab.js +551 -2918
- package/dist/commonjs/components/Inspector/ConsoleTab.js +79 -492
- package/dist/commonjs/components/Inspector/CrashDetail.js +123 -672
- package/dist/commonjs/components/Inspector/CrashFilterModal.js +66 -498
- package/dist/commonjs/components/Inspector/CrashTab.js +98 -670
- package/dist/commonjs/components/Inspector/DebuggingTab.js +64 -871
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
- package/dist/commonjs/components/Inspector/FabLauncher.js +85 -54
- package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
- package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +9 -0
- package/dist/commonjs/components/Inspector/FeedbackModal.js +167 -521
- package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
- package/dist/commonjs/components/Inspector/InspectorHeader.js +219 -1093
- package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
- package/dist/commonjs/components/Inspector/MainScreen.js +60 -332
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +136 -278
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +134 -361
- package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
- package/dist/commonjs/components/Inspector/NetworkDetail.js +96 -432
- package/dist/commonjs/components/Inspector/NetworkFilterModal.js +60 -576
- package/dist/commonjs/components/Inspector/NetworkTab.js +84 -514
- package/dist/commonjs/components/Inspector/NpmStarPrompt.js +17 -433
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +25 -298
- package/dist/commonjs/components/Inspector/PerformanceTab.js +182 -1397
- package/dist/commonjs/components/Inspector/ReduxDetail.js +188 -1089
- package/dist/commonjs/components/Inspector/ReduxTab.js +85 -701
- package/dist/commonjs/components/Inspector/SettingsPanel.js +431 -3431
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +11 -180
- package/dist/commonjs/components/Inspector/StorageTab.js +93 -826
- package/dist/commonjs/components/Inspector/TabBar.js +47 -183
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +34 -408
- package/dist/commonjs/components/JsonViewer.js +168 -380
- package/dist/commonjs/components/LogCard.js +57 -567
- package/dist/commonjs/components/LogSyntaxHighlighter.js +11 -130
- package/dist/commonjs/components/MetaAccordion.js +69 -238
- package/dist/commonjs/components/MiniBarChart.js +3 -56
- package/dist/commonjs/components/MiniLineChart.js +3 -58
- package/dist/commonjs/components/NetworkIcons.d.ts +7 -0
- package/dist/commonjs/components/NetworkIcons.js +479 -997
- package/dist/commonjs/components/QRCodeView.js +5 -79
- package/dist/commonjs/components/SectionHeader.js +15 -37
- package/dist/commonjs/components/SegmentedTabs.js +7 -61
- package/dist/commonjs/components/SkeletonPlaceholder.js +11 -180
- package/dist/commonjs/components/Slider.js +15 -243
- package/dist/commonjs/components/SourcePageCard.js +30 -89
- package/dist/commonjs/components/Toast.js +5 -147
- package/dist/commonjs/components/TouchableScale.js +3 -24
- package/dist/commonjs/components/TreeNode.js +55 -130
- package/dist/commonjs/console.js +1 -16
- package/dist/commonjs/constants/index.js +1 -32
- package/dist/commonjs/constants/telemetryConfig.js +1 -6
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -4
- package/dist/commonjs/crash.js +1 -23
- package/dist/commonjs/customHooks/analyticsLogger.js +1 -250
- package/dist/commonjs/customHooks/bundleAnalyzer.js +1 -957
- package/dist/commonjs/customHooks/consoleLogger.js +6 -445
- package/dist/commonjs/customHooks/crashHandler.js +7 -656
- package/dist/commonjs/customHooks/logFilters.js +1 -23
- package/dist/commonjs/customHooks/networkLogger.js +2 -536
- package/dist/commonjs/customHooks/performanceTracker.js +63 -750
- package/dist/commonjs/customHooks/reduxLogger.js +2 -313
- package/dist/commonjs/customHooks/storageInspector.js +1 -435
- package/dist/commonjs/customHooks/useAccordion.js +1 -18
- package/dist/commonjs/decorators/index.js +1 -100
- package/dist/commonjs/helpers/gaAnalyticsRegistry.js +1 -148
- package/dist/commonjs/helpers/index.js +8 -921
- package/dist/commonjs/helpers/memoryManager.js +1 -99
- package/dist/commonjs/helpers/qrGenerator.js +1 -367
- package/dist/commonjs/helpers/remoteConfig.js +1 -165
- package/dist/commonjs/helpers/searchQueryParser.js +1 -62
- package/dist/commonjs/helpers/settingsStore.js +1 -144
- package/dist/commonjs/helpers/telemetry.js +1 -501
- package/dist/commonjs/helpers/toast.js +1 -20
- package/dist/commonjs/i18n/index.js +1 -90
- package/dist/commonjs/i18n/locales/en.json +1 -1122
- package/dist/commonjs/index.js +5 -2153
- package/dist/commonjs/metro.js +6 -468
- package/dist/commonjs/native/NativeInspector.d.ts +3 -0
- package/dist/commonjs/native/NativeInspector.js +1 -402
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +1 -0
- package/dist/commonjs/native/NativeNetworkInspector.js +1 -4
- package/dist/commonjs/network.js +1 -13
- package/dist/commonjs/performance.js +1 -29
- package/dist/commonjs/redux.js +1 -20
- package/dist/commonjs/storage.js +1 -14
- package/dist/commonjs/styles/AppColors.js +1 -423
- package/dist/commonjs/styles/AppFonts.js +1 -17
- package/dist/commonjs/styles/common.js +1 -190
- package/dist/commonjs/styles/index.d.ts +6 -0
- package/dist/commonjs/styles/index.js +1 -1589
- package/dist/commonjs/types/enums.d.ts +2 -1
- package/dist/commonjs/types/enums.js +1 -150
- package/dist/commonjs/types/index.js +1 -18
- package/dist/commonjs/types/interfaces.d.ts +7 -0
- package/dist/commonjs/types/interfaces.js +1 -2
- package/dist/esm/analytics.js +1 -2
- package/dist/esm/bundle.js +1 -2
- package/dist/esm/capture.d.ts +2 -0
- package/dist/esm/capture.js +1 -29
- package/dist/esm/components/AnalyticsDetail.js +171 -664
- package/dist/esm/components/AnalyticsEventCard.js +77 -335
- package/dist/esm/components/AnalyticsGraph.js +95 -357
- package/dist/esm/components/AnimatedEntrance.js +1 -6
- package/dist/esm/components/AppHeaderLogo.js +7 -94
- package/dist/esm/components/BrandCircleIcon.js +114 -119
- package/dist/esm/components/BrandSquareIcon.js +73 -78
- package/dist/esm/components/CodeSnippet.js +58 -595
- package/dist/esm/components/ConsoleLogCard.js +91 -526
- package/dist/esm/components/CopyButton.js +3 -51
- package/dist/esm/components/DiffViewer.js +22 -48
- package/dist/esm/components/DomainHeader.js +43 -138
- package/dist/esm/components/EmptyState.d.ts +1 -0
- package/dist/esm/components/EmptyState.js +17 -56
- package/dist/esm/components/EndOfListFooter.js +15 -83
- package/dist/esm/components/ErrorBoundary.js +125 -582
- package/dist/esm/components/HeadersSection.js +52 -93
- package/dist/esm/components/HighlightText.js +17 -53
- package/dist/esm/components/Inspector/AboutModal.d.ts +6 -0
- package/dist/esm/components/Inspector/AboutModal.js +351 -0
- package/dist/esm/components/Inspector/AnalyticsFilterModal.js +225 -886
- package/dist/esm/components/Inspector/AnalyticsTab.js +296 -904
- package/dist/esm/components/Inspector/BundleTab.js +1175 -3502
- package/dist/esm/components/Inspector/ConsoleTab.js +113 -488
- package/dist/esm/components/Inspector/CrashDetail.js +236 -747
- package/dist/esm/components/Inspector/CrashFilterModal.js +149 -541
- package/dist/esm/components/Inspector/CrashTab.js +177 -711
- package/dist/esm/components/Inspector/DebuggingTab.js +156 -923
- package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
- package/dist/esm/components/Inspector/FabLauncher.js +85 -49
- package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
- package/dist/esm/components/Inspector/FeedbackModal.d.ts +9 -0
- package/dist/esm/components/Inspector/FeedbackModal.js +182 -499
- package/dist/esm/components/Inspector/InspectorContext.js +1 -12
- package/dist/esm/components/Inspector/InspectorHeader.js +309 -1145
- package/dist/esm/components/Inspector/LogDetail.js +235 -1023
- package/dist/esm/components/Inspector/MainScreen.js +86 -320
- package/dist/esm/components/Inspector/MediaGalleryTab.js +157 -259
- package/dist/esm/components/Inspector/MediaPreviewModal.js +153 -340
- package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
- package/dist/esm/components/Inspector/NetworkDetail.js +141 -472
- package/dist/esm/components/Inspector/NetworkFilterModal.js +122 -597
- package/dist/esm/components/Inspector/NetworkTab.js +125 -517
- package/dist/esm/components/Inspector/NpmStarPrompt.js +58 -434
- package/dist/esm/components/Inspector/NpmUpdateToast.js +45 -281
- package/dist/esm/components/Inspector/PerformanceTab.js +393 -1570
- package/dist/esm/components/Inspector/ReduxDetail.js +307 -1170
- package/dist/esm/components/Inspector/ReduxTab.js +144 -722
- package/dist/esm/components/Inspector/SettingsPanel.js +647 -3609
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +30 -163
- package/dist/esm/components/Inspector/StorageTab.js +172 -866
- package/dist/esm/components/Inspector/TabBar.js +52 -183
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +79 -416
- package/dist/esm/components/JsonViewer.js +179 -353
- package/dist/esm/components/LogCard.js +93 -565
- package/dist/esm/components/LogSyntaxHighlighter.js +11 -123
- package/dist/esm/components/MetaAccordion.js +136 -267
- package/dist/esm/components/MiniBarChart.js +3 -18
- package/dist/esm/components/MiniLineChart.js +3 -20
- package/dist/esm/components/NetworkIcons.d.ts +7 -0
- package/dist/esm/components/NetworkIcons.js +481 -817
- package/dist/esm/components/QRCodeView.js +8 -45
- package/dist/esm/components/SectionHeader.js +22 -39
- package/dist/esm/components/SegmentedTabs.js +8 -57
- package/dist/esm/components/SkeletonPlaceholder.js +30 -163
- package/dist/esm/components/Slider.js +24 -213
- package/dist/esm/components/SourcePageCard.js +65 -86
- package/dist/esm/components/Toast.js +10 -117
- package/dist/esm/components/TouchableScale.js +3 -19
- package/dist/esm/components/TreeNode.js +58 -95
- package/dist/esm/console.js +1 -2
- package/dist/esm/constants/index.js +1 -28
- package/dist/esm/constants/telemetryConfig.js +1 -3
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/crash.js +1 -2
- package/dist/esm/customHooks/analyticsLogger.js +1 -230
- package/dist/esm/customHooks/bundleAnalyzer.js +1 -944
- package/dist/esm/customHooks/consoleLogger.js +6 -432
- package/dist/esm/customHooks/crashHandler.js +7 -630
- package/dist/esm/customHooks/logFilters.js +1 -20
- package/dist/esm/customHooks/networkLogger.js +2 -519
- package/dist/esm/customHooks/performanceTracker.js +63 -723
- package/dist/esm/customHooks/reduxLogger.js +2 -293
- package/dist/esm/customHooks/storageInspector.js +1 -418
- package/dist/esm/customHooks/useAccordion.js +1 -16
- package/dist/esm/decorators/index.js +1 -95
- package/dist/esm/helpers/gaAnalyticsRegistry.js +1 -143
- package/dist/esm/helpers/index.js +8 -861
- package/dist/esm/helpers/memoryManager.js +1 -91
- package/dist/esm/helpers/qrGenerator.js +1 -364
- package/dist/esm/helpers/remoteConfig.js +1 -160
- package/dist/esm/helpers/searchQueryParser.js +1 -59
- package/dist/esm/helpers/settingsStore.js +1 -134
- package/dist/esm/helpers/telemetry.js +1 -489
- package/dist/esm/helpers/toast.js +1 -15
- package/dist/esm/i18n/index.js +1 -78
- package/dist/esm/i18n/locales/en.json +1 -1122
- package/dist/esm/index.js +7 -1967
- package/dist/esm/metro.js +6 -459
- package/dist/esm/native/NativeInspector.d.ts +3 -0
- package/dist/esm/native/NativeInspector.js +1 -370
- package/dist/esm/native/NativeNetworkInspector.d.ts +1 -0
- package/dist/esm/native/NativeNetworkInspector.js +1 -2
- package/dist/esm/network.js +1 -1
- package/dist/esm/performance.js +1 -2
- package/dist/esm/redux.js +1 -1
- package/dist/esm/storage.js +1 -1
- package/dist/esm/styles/AppColors.js +1 -417
- package/dist/esm/styles/AppFonts.js +1 -13
- package/dist/esm/styles/common.js +1 -186
- package/dist/esm/styles/index.d.ts +6 -0
- package/dist/esm/styles/index.js +1 -1551
- package/dist/esm/types/enums.d.ts +2 -1
- package/dist/esm/types/enums.js +1 -147
- package/dist/esm/types/index.js +1 -2
- package/dist/esm/types/interfaces.d.ts +7 -0
- package/dist/esm/types/interfaces.js +1 -1
- package/ios/NetworkInspectorModule.mm +253 -136
- package/package.json +5 -3
- package/react-native-inapp-inspector.podspec +1 -1
- package/src/native/NativeInspector.ts +17 -0
- package/src/native/NativeNetworkInspector.ts +1 -0
- package/src/analytics.ts +0 -35
- package/src/bundle.ts +0 -25
- package/src/capture.ts +0 -101
- package/src/components/AnalyticsDetail.tsx +0 -870
- package/src/components/AnalyticsEventCard.tsx +0 -444
- package/src/components/AnalyticsGraph.tsx +0 -583
- package/src/components/AnimatedEntrance.tsx +0 -20
- package/src/components/AppHeaderLogo.tsx +0 -143
- package/src/components/BrandCircleIcon.tsx +0 -144
- package/src/components/BrandSquareIcon.tsx +0 -184
- package/src/components/CodeSnippet.tsx +0 -725
- package/src/components/ConsoleLogCard.tsx +0 -679
- package/src/components/CopyButton.tsx +0 -87
- package/src/components/DiffViewer.tsx +0 -82
- package/src/components/DomainHeader.tsx +0 -224
- package/src/components/EmptyState.tsx +0 -95
- package/src/components/EndOfListFooter.tsx +0 -100
- package/src/components/ErrorBoundary.tsx +0 -688
- package/src/components/HeadersSection.tsx +0 -172
- package/src/components/HighlightText.tsx +0 -100
- package/src/components/Inspector/AnalyticsFilterModal.tsx +0 -1250
- package/src/components/Inspector/AnalyticsTab.tsx +0 -1362
- package/src/components/Inspector/BundleTab.tsx +0 -4768
- package/src/components/Inspector/ConsoleTab.tsx +0 -726
- package/src/components/Inspector/CrashDetail.tsx +0 -997
- package/src/components/Inspector/CrashFilterModal.tsx +0 -721
- package/src/components/Inspector/CrashTab.tsx +0 -933
- package/src/components/Inspector/DebuggingTab.tsx +0 -1103
- package/src/components/Inspector/DeviceInfoTab.tsx +0 -1397
- package/src/components/Inspector/FabLauncher.tsx +0 -80
- package/src/components/Inspector/FeatureUnderDevNotice.tsx +0 -94
- package/src/components/Inspector/FeedbackModal.tsx +0 -626
- package/src/components/Inspector/InspectorContext.tsx +0 -28
- package/src/components/Inspector/InspectorHeader.tsx +0 -1545
- package/src/components/Inspector/LogDetail.tsx +0 -1431
- package/src/components/Inspector/MainScreen.tsx +0 -459
- package/src/components/Inspector/MediaGalleryTab.tsx +0 -355
- package/src/components/Inspector/MediaPreviewModal.tsx +0 -435
- package/src/components/Inspector/NavigationTracker.tsx +0 -13
- package/src/components/Inspector/NetworkDetail.tsx +0 -795
- package/src/components/Inspector/NetworkFilterModal.tsx +0 -730
- package/src/components/Inspector/NetworkTab.tsx +0 -820
- package/src/components/Inspector/NpmStarPrompt.tsx +0 -532
- package/src/components/Inspector/NpmUpdateToast.tsx +0 -387
- package/src/components/Inspector/PerformanceTab.tsx +0 -1967
- package/src/components/Inspector/ReduxDetail.tsx +0 -1651
- package/src/components/Inspector/ReduxTab.tsx +0 -987
- package/src/components/Inspector/SettingsPanel.tsx +0 -4580
- package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Inspector/StorageTab.tsx +0 -1159
- package/src/components/Inspector/TabBar.tsx +0 -263
- package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
- package/src/components/JsonViewer.tsx +0 -547
- package/src/components/LogCard.tsx +0 -694
- package/src/components/LogSyntaxHighlighter.tsx +0 -178
- package/src/components/MetaAccordion.tsx +0 -355
- package/src/components/MiniBarChart.tsx +0 -42
- package/src/components/MiniLineChart.tsx +0 -33
- package/src/components/NetworkIcons.tsx +0 -2599
- package/src/components/QRCodeView.tsx +0 -75
- package/src/components/SectionHeader.tsx +0 -101
- package/src/components/SegmentedTabs.tsx +0 -83
- package/src/components/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Slider.tsx +0 -300
- package/src/components/SourcePageCard.tsx +0 -150
- package/src/components/Toast.tsx +0 -131
- package/src/components/TouchableScale.tsx +0 -61
- package/src/components/TreeNode.tsx +0 -171
- package/src/console.ts +0 -24
- package/src/constants/index.ts +0 -41
- package/src/constants/telemetryConfig.ts +0 -4
- package/src/constants/version.ts +0 -3
- package/src/crash.ts +0 -32
- package/src/customHooks/analyticsLogger.ts +0 -336
- package/src/customHooks/bundleAnalyzer.ts +0 -1256
- package/src/customHooks/consoleLogger.ts +0 -530
- package/src/customHooks/crashHandler.ts +0 -944
- package/src/customHooks/logFilters.ts +0 -32
- package/src/customHooks/networkLogger.ts +0 -624
- package/src/customHooks/performanceTracker.ts +0 -1014
- package/src/customHooks/reduxLogger.ts +0 -406
- package/src/customHooks/storageInspector.ts +0 -513
- package/src/customHooks/useAccordion.tsx +0 -27
- package/src/decorators/index.ts +0 -184
- package/src/helpers/gaAnalyticsRegistry.ts +0 -204
- package/src/helpers/index.ts +0 -1092
- package/src/helpers/memoryManager.ts +0 -138
- package/src/helpers/qrGenerator.ts +0 -430
- package/src/helpers/remoteConfig.ts +0 -212
- package/src/helpers/searchQueryParser.ts +0 -84
- package/src/helpers/settingsStore.ts +0 -171
- package/src/helpers/telemetry.ts +0 -568
- package/src/helpers/toast.ts +0 -17
- package/src/i18n/index.ts +0 -104
- package/src/i18n/locales/en.json +0 -1125
- package/src/index.tsx +0 -2635
- package/src/metro.ts +0 -598
- package/src/network.ts +0 -22
- package/src/performance.ts +0 -38
- package/src/redux.ts +0 -23
- package/src/storage.ts +0 -18
- package/src/styles/AppColors.ts +0 -455
- package/src/styles/AppFonts.ts +0 -26
- package/src/styles/common.ts +0 -209
- package/src/styles/index.ts +0 -1606
- package/src/types/enums.ts +0 -208
- package/src/types/index.ts +0 -34
- package/src/types/interfaces.ts +0 -530
|
@@ -1,696 +1,203 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Pressable, ScrollView, StyleSheet, Text, TextInput, View, } from 'react-native';
|
|
3
|
-
import CopyButton from './CopyButton';
|
|
4
|
-
import JsonViewer from './JsonViewer';
|
|
5
|
-
import SegmentedTabs from './SegmentedTabs';
|
|
6
|
-
import HighlightText from './HighlightText';
|
|
7
|
-
import AnimatedEntrance from './AnimatedEntrance';
|
|
8
|
-
import { AppFonts } from '../styles/AppFonts';
|
|
9
|
-
import { AppColors } from '../styles/AppColors';
|
|
10
|
-
import { getSize, formatDateTime } from '../helpers';
|
|
11
|
-
import { getEventCategory } from '../helpers/gaAnalyticsRegistry';
|
|
12
|
-
import { useTranslation } from '../i18n';
|
|
13
|
-
import { SparkleIcon, ClockIcon, SearchIcon, ClearIcon, LayersIcon, CartIcon, GlobeIcon, BoltIcon, PinIcon, MoneyIcon, PrettyIcon, RawIcon, TableIcon, DocIcon, PackageIcon, } from './NetworkIcons';
|
|
14
|
-
const AnalyticsDetail = ({ event, }) => {
|
|
15
|
-
const { t } = useTranslation();
|
|
16
|
-
const [activeViewTab, setActiveViewTab] = useState('overview');
|
|
17
|
-
const [paramSearch, setParamSearch] = useState('');
|
|
18
|
-
const params = useMemo(() => event.params ?? {}, [event.params]);
|
|
19
|
-
const userProperties = useMemo(() => event.userProperties ?? {}, [event.userProperties]);
|
|
20
|
-
const paramKeys = useMemo(() => Object.keys(params), [params]);
|
|
21
|
-
const userPropKeys = useMemo(() => Object.keys(userProperties), [userProperties]);
|
|
22
|
-
const category = useMemo(() => getEventCategory(event.name, params), [event.name, params]);
|
|
23
|
-
const fullJsonData = useMemo(() => ({
|
|
24
|
-
name: event.name,
|
|
25
|
-
timestamp: event.timestamp,
|
|
26
|
-
source: event.source,
|
|
27
|
-
...(event.screenName ? { screenName: event.screenName } : {}),
|
|
28
|
-
...(event.screenClass ? { screenClass: event.screenClass } : {}),
|
|
29
|
-
...(event.userId ? { userId: event.userId } : {}),
|
|
30
|
-
...(event.sessionId ? { sessionId: event.sessionId } : {}),
|
|
31
|
-
...(event.trackingId ? { trackingId: event.trackingId } : {}),
|
|
32
|
-
params,
|
|
33
|
-
...(userPropKeys.length > 0 ? { userProperties } : {}),
|
|
34
|
-
}), [event, params, userPropKeys.length, userProperties]);
|
|
35
|
-
const revenueInfo = useMemo(() => {
|
|
36
|
-
const val = params.value ?? params.price;
|
|
37
|
-
const currency = params.currency ?? 'USD';
|
|
38
|
-
if (val !== undefined && val !== null && !isNaN(Number(val))) {
|
|
39
|
-
return {
|
|
40
|
-
amount: Number(val).toFixed(2),
|
|
41
|
-
currency: String(currency).toUpperCase(),
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
return null;
|
|
45
|
-
}, [params]);
|
|
46
|
-
const itemsCount = useMemo(() => {
|
|
47
|
-
if (Array.isArray(params.items)) {
|
|
48
|
-
return params.items.length;
|
|
49
|
-
}
|
|
50
|
-
return null;
|
|
51
|
-
}, [params.items]);
|
|
52
|
-
const screenContext = useMemo(() => {
|
|
53
|
-
return (event.screenName ||
|
|
54
|
-
params.firebase_screen ||
|
|
55
|
-
params.screen_name ||
|
|
56
|
-
params.page_title ||
|
|
57
|
-
event.screenClass ||
|
|
58
|
-
params.firebase_screen_class);
|
|
59
|
-
}, [event.screenName, event.screenClass, params]);
|
|
60
|
-
const filteredParamEntries = useMemo(() => {
|
|
61
|
-
const entries = Object.entries(params);
|
|
62
|
-
if (!paramSearch.trim())
|
|
63
|
-
return entries;
|
|
64
|
-
const q = paramSearch.toLowerCase();
|
|
65
|
-
return entries.filter(([k, v]) => {
|
|
66
|
-
const valStr = typeof v === 'object' ? JSON.stringify(v) : String(v);
|
|
67
|
-
return k.toLowerCase().includes(q) || valStr.toLowerCase().includes(q);
|
|
68
|
-
});
|
|
69
|
-
}, [params, paramSearch]);
|
|
70
|
-
const catMeta = useMemo(() => {
|
|
71
|
-
switch (category) {
|
|
72
|
-
case 'ecommerce':
|
|
73
|
-
return {
|
|
74
|
-
label: t('analytics.ecommerceCategory'),
|
|
75
|
-
color: AppColors.amber700,
|
|
76
|
-
bg: AppColors.amber100,
|
|
77
|
-
border: AppColors.amber200,
|
|
78
|
-
icon: (color) => <CartIcon color={color} size={11}/>,
|
|
79
|
-
};
|
|
80
|
-
case 'page_view':
|
|
81
|
-
return {
|
|
82
|
-
label: t('analytics.screensCategory'),
|
|
83
|
-
color: AppColors.sky600,
|
|
84
|
-
bg: AppColors.sky100,
|
|
85
|
-
border: AppColors.sky400,
|
|
86
|
-
icon: (color) => <GlobeIcon color={color} size={11}/>,
|
|
87
|
-
};
|
|
88
|
-
case 'system':
|
|
89
|
-
return {
|
|
90
|
-
label: t('analytics.systemCategory'),
|
|
91
|
-
color: AppColors.purple,
|
|
92
|
-
bg: AppColors.purple100,
|
|
93
|
-
border: AppColors.purple200,
|
|
94
|
-
icon: (color) => <BoltIcon color={color} size={11}/>,
|
|
95
|
-
};
|
|
96
|
-
default:
|
|
97
|
-
return {
|
|
98
|
-
label: t('analytics.customCategory'),
|
|
99
|
-
color: AppColors.brandPurple,
|
|
100
|
-
bg: AppColors.purple100,
|
|
101
|
-
border: AppColors.purple200,
|
|
102
|
-
icon: (color) => <SparkleIcon color={color} size={11}/>,
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
}, [category, t]);
|
|
106
|
-
const viewTabs = [
|
|
107
|
-
{
|
|
108
|
-
key: 'overview',
|
|
109
|
-
label: `${t('analytics.overviewTab')} (${paramKeys.length})`,
|
|
110
|
-
icon: (isActive) => (<TableIcon color={isActive ? AppColors.white : AppColors.grayText} size={12}/>),
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
key: 'tree',
|
|
114
|
-
label: t('analytics.jsonTreeTab'),
|
|
115
|
-
icon: (isActive) => (<PrettyIcon color={isActive ? AppColors.white : AppColors.grayText} size={12}/>),
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
key: 'raw',
|
|
119
|
-
label: t('analytics.rawPayloadTab'),
|
|
120
|
-
icon: (isActive) => (<RawIcon color={isActive ? AppColors.white : AppColors.grayText} size={12}/>),
|
|
121
|
-
},
|
|
122
|
-
];
|
|
123
|
-
return (<ScrollView style={detailStyles.scroll} contentContainerStyle={detailStyles.content} showsVerticalScrollIndicator contentInsetAdjustmentBehavior="never" automaticallyAdjustContentInsets={false}>
|
|
1
|
+
import{useState as q,useMemo as z}from"react";import{Pressable as Ce,ScrollView as Te,StyleSheet as Be,Text as V,TextInput as Ve,View as C}from"react-native";import G from"./CopyButton";import Y from"./JsonViewer";import Se from"./SegmentedTabs";import Q from"./HighlightText";import Ie from"./AnimatedEntrance";import{AppFonts as S}from"../styles/AppFonts";import{AppColors as e}from"../styles/AppColors";import{getSize as ze,formatDateTime as Pe}from"../helpers";import{getEventCategory as De}from"../helpers/gaAnalyticsRegistry";import{useTranslation as Re}from"../i18n";import{SparkleIcon as X,ClockIcon as Fe,SearchIcon as We,ClearIcon as He,LayersIcon as Ee,CartIcon as Ne,GlobeIcon as Ae,BoltIcon as Oe,PinIcon as Ke,MoneyIcon as Le,PrettyIcon as Me,TableIcon as Z,DocIcon as $e,PackageIcon as _e}from"./NetworkIcons";const Je=({event:T})=>{const{t:P}=Re(),[j,ee]=q("overview"),[D,v]=q(""),k=z(()=>T.params??{},[T.params]),H=z(()=>T.userProperties??{},[T.userProperties]),E=z(()=>Object.keys(k),[k]),R=z(()=>Object.keys(H),[H]),M=z(()=>De(T.name,k),[T.name,k]),A=z(()=>({name:T.name,timestamp:T.timestamp,source:T.source,...T.screenName?{screenName:T.screenName}:{},...T.screenClass?{screenClass:T.screenClass}:{},...T.userId?{userId:T.userId}:{},...T.sessionId?{sessionId:T.sessionId}:{},...T.trackingId?{trackingId:T.trackingId}:{},params:k,...R.length>0?{userProperties:H}:{}}),[T,k,R.length,H]),O=z(()=>{const B=k.value??k.price,I=k.currency??"USD";return B!=null&&!isNaN(Number(B))?{amount:Number(B).toFixed(2),currency:String(I).toUpperCase()}:null},[k]),$=z(()=>Array.isArray(k.items)?k.items.length:null,[k.items]),_=z(()=>T.screenName||k.firebase_screen||k.screen_name||k.page_title||T.screenClass||k.firebase_screen_class,[T.screenName,T.screenClass,k]),J=z(()=>{const B=Object.entries(k);if(!D.trim())return B;const I=D.toLowerCase();return B.filter(([K,F])=>{const L=typeof F=="object"?JSON.stringify(F):String(F);return K.toLowerCase().includes(I)||L.toLowerCase().includes(I)})},[k,D]),W=z(()=>{switch(M){case"ecommerce":return{label:P("analytics.ecommerceCategory"),color:e.amber700,bg:e.amber100,border:e.amber200,icon:B=><Ne color={B}size={11}/>};case"page_view":return{label:P("analytics.screensCategory"),color:e.sky600,bg:e.sky100,border:e.sky400,icon:B=><Ae color={B}size={11}/>};case"system":return{label:P("analytics.systemCategory"),color:e.purple,bg:e.purple100,border:e.purple200,icon:B=><Oe color={B}size={11}/>};default:return{label:P("analytics.customCategory"),color:e.brandPurple,bg:e.purple100,border:e.purple200,icon:B=><X color={B}size={11}/>}}},[M,P]),re=[{key:"overview",label:`${P("analytics.overviewTab")} (${E.length})`,icon:B=><Z color={B?e.white:e.grayText}size={12}/>},{key:"json",label:"JSON Payload",icon:B=><Me color={B?e.white:e.grayText}size={12}/>}];return<Te style={r.scroll}contentContainerStyle={r.content}showsVerticalScrollIndicator contentInsetAdjustmentBehavior="never"automaticallyAdjustContentInsets={!1}>
|
|
124
2
|
|
|
125
3
|
|
|
126
|
-
<
|
|
4
|
+
<C style={r.heroCard}>
|
|
127
5
|
|
|
128
|
-
<
|
|
129
|
-
<
|
|
6
|
+
<C style={r.heroTopRow}>
|
|
7
|
+
<C style={{flexDirection:"row",alignItems:"center",gap:6,flexWrap:"wrap",flex:1}}>
|
|
130
8
|
|
|
131
|
-
<
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
]}>
|
|
137
|
-
<View style={[
|
|
138
|
-
detailStyles.sourceDot,
|
|
139
|
-
{
|
|
140
|
-
backgroundColor: event.source === 'firebase'
|
|
141
|
-
? AppColors.firebaseOrange
|
|
142
|
-
: AppColors.purple,
|
|
143
|
-
},
|
|
144
|
-
]}/>
|
|
145
|
-
<Text style={[
|
|
146
|
-
detailStyles.sourceBadgeText,
|
|
147
|
-
{
|
|
148
|
-
color: event.source === 'firebase'
|
|
149
|
-
? AppColors.amber800Warm
|
|
150
|
-
: AppColors.purple,
|
|
151
|
-
},
|
|
152
|
-
]}>
|
|
153
|
-
{event.source === 'firebase' ? t('analytics.sourceFirebase') : t('analytics.sourceCustom')}
|
|
154
|
-
</Text>
|
|
155
|
-
</View>
|
|
9
|
+
<C style={r.idBadge}>
|
|
10
|
+
<V style={r.idBadgeText}>
|
|
11
|
+
#{T.id!=null?T.id+1:1}
|
|
12
|
+
</V>
|
|
13
|
+
</C>
|
|
156
14
|
|
|
157
15
|
|
|
158
|
-
<
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
16
|
+
<C style={[r.sourceBadge,T.source==="firebase"?{backgroundColor:e.amberBg,borderColor:e.amberBorder}:{backgroundColor:e.purpleBg,borderColor:e.purpleBorder}]}>
|
|
17
|
+
<C style={[r.sourceDot,{backgroundColor:T.source==="firebase"?e.firebaseOrange:e.purple}]}/>
|
|
18
|
+
<V style={[r.sourceBadgeText,{color:T.source==="firebase"?e.amber800Warm:e.purple}]}>
|
|
19
|
+
{T.source==="firebase"?P("analytics.sourceFirebase"):P("analytics.sourceCustom")}
|
|
20
|
+
</V>
|
|
21
|
+
</C>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<C style={[r.catBadge,{backgroundColor:W.bg,borderColor:W.border}]}>
|
|
25
|
+
{W.icon(W.color)}
|
|
26
|
+
<V style={[r.catBadgeText,{color:W.color}]}>
|
|
27
|
+
{W.label}
|
|
28
|
+
</V>
|
|
29
|
+
</C>
|
|
30
|
+
</C>
|
|
168
31
|
|
|
169
32
|
|
|
170
|
-
<
|
|
171
|
-
</
|
|
33
|
+
<G value={JSON.stringify(A,null,2)}label={P("analytics.eventDetails")}/>
|
|
34
|
+
</C>
|
|
172
35
|
|
|
173
36
|
|
|
174
|
-
<
|
|
175
|
-
<
|
|
176
|
-
{
|
|
177
|
-
</
|
|
178
|
-
</
|
|
37
|
+
<C style={r.titleRow}>
|
|
38
|
+
<V style={r.eventTitle}selectable numberOfLines={2}>
|
|
39
|
+
{T.name}
|
|
40
|
+
</V>
|
|
41
|
+
</C>
|
|
179
42
|
|
|
180
43
|
|
|
181
|
-
<
|
|
182
|
-
<
|
|
183
|
-
<
|
|
184
|
-
<
|
|
185
|
-
{
|
|
186
|
-
</
|
|
187
|
-
</
|
|
188
|
-
|
|
189
|
-
{
|
|
190
|
-
<
|
|
191
|
-
<
|
|
192
|
-
{String(
|
|
193
|
-
</
|
|
194
|
-
</
|
|
195
|
-
</
|
|
44
|
+
<C style={r.metaRow}>
|
|
45
|
+
<C style={r.timePill}>
|
|
46
|
+
<Fe color={e.purple}size={11}/>
|
|
47
|
+
<V style={r.timeText}>
|
|
48
|
+
{Pe(T.timestamp)}
|
|
49
|
+
</V>
|
|
50
|
+
</C>
|
|
51
|
+
|
|
52
|
+
{_&&<C style={r.screenPill}>
|
|
53
|
+
<Ke color={e.sky600}size={11}/>
|
|
54
|
+
<V style={r.screenText}numberOfLines={1}>
|
|
55
|
+
{String(_)}
|
|
56
|
+
</V>
|
|
57
|
+
</C>}
|
|
58
|
+
</C>
|
|
196
59
|
|
|
197
60
|
|
|
198
|
-
<
|
|
199
|
-
<
|
|
200
|
-
<
|
|
201
|
-
<
|
|
202
|
-
</
|
|
203
|
-
|
|
204
|
-
{
|
|
205
|
-
<
|
|
206
|
-
<
|
|
207
|
-
</
|
|
208
|
-
|
|
209
|
-
<
|
|
210
|
-
<
|
|
211
|
-
<
|
|
212
|
-
</
|
|
213
|
-
|
|
214
|
-
{
|
|
215
|
-
<
|
|
216
|
-
<
|
|
217
|
-
${
|
|
218
|
-
</
|
|
219
|
-
</
|
|
220
|
-
|
|
221
|
-
{
|
|
222
|
-
<
|
|
223
|
-
<
|
|
224
|
-
{
|
|
225
|
-
</
|
|
226
|
-
</
|
|
227
|
-
</
|
|
228
|
-
</
|
|
61
|
+
<C style={r.metricsBar}>
|
|
62
|
+
<C style={r.metricPill}>
|
|
63
|
+
<V style={r.metricLabel}>Params:</V>
|
|
64
|
+
<V style={r.metricValue}>{E.length}</V>
|
|
65
|
+
</C>
|
|
66
|
+
|
|
67
|
+
{R.length>0&&<C style={r.metricPill}>
|
|
68
|
+
<V style={r.metricLabel}>User Props:</V>
|
|
69
|
+
<V style={r.metricValue}>{R.length}</V>
|
|
70
|
+
</C>}
|
|
71
|
+
|
|
72
|
+
<C style={r.metricPill}>
|
|
73
|
+
<V style={r.metricLabel}>Size:</V>
|
|
74
|
+
<V style={r.metricValue}>{ze(A)}</V>
|
|
75
|
+
</C>
|
|
76
|
+
|
|
77
|
+
{O&&<C style={r.revenuePill}>
|
|
78
|
+
<Le color={e.emerald600}size={11}/>
|
|
79
|
+
<V style={r.revenueValue}>
|
|
80
|
+
${O.amount} {O.currency}
|
|
81
|
+
</V>
|
|
82
|
+
</C>}
|
|
83
|
+
|
|
84
|
+
{$!==null&&<C style={r.itemsPill}>
|
|
85
|
+
<_e size={12}color="#1D4ED8"/>
|
|
86
|
+
<V style={r.itemsValue}>
|
|
87
|
+
{$} items
|
|
88
|
+
</V>
|
|
89
|
+
</C>}
|
|
90
|
+
</C>
|
|
91
|
+
</C>
|
|
229
92
|
|
|
230
93
|
|
|
231
|
-
<
|
|
232
|
-
<
|
|
233
|
-
</
|
|
94
|
+
<C style={r.tabsWrap}>
|
|
95
|
+
<Se tabs={re}activeKey={j}onChange={B=>ee(B)}/>
|
|
96
|
+
</C>
|
|
234
97
|
|
|
235
98
|
|
|
236
|
-
{
|
|
99
|
+
{j==="overview"&&<C style={r.tabContent}>
|
|
237
100
|
|
|
238
|
-
{(
|
|
239
|
-
<
|
|
240
|
-
<
|
|
241
|
-
<
|
|
242
|
-
</
|
|
243
|
-
<
|
|
244
|
-
{
|
|
245
|
-
<
|
|
246
|
-
<
|
|
247
|
-
</
|
|
248
|
-
{
|
|
249
|
-
<
|
|
250
|
-
<
|
|
251
|
-
</
|
|
252
|
-
{
|
|
253
|
-
<
|
|
254
|
-
<
|
|
255
|
-
</
|
|
256
|
-
</
|
|
257
|
-
</
|
|
101
|
+
{(T.userId||T.sessionId||T.trackingId)&&<C style={r.sectionCard}>
|
|
102
|
+
<C style={r.sectionHeader}>
|
|
103
|
+
<Ee color={e.purple}size={12}/>
|
|
104
|
+
<V style={r.sectionTitle}>SESSION & IDENTITY</V>
|
|
105
|
+
</C>
|
|
106
|
+
<C style={r.sectionBody}>
|
|
107
|
+
{T.userId&&<C style={r.kvRow}>
|
|
108
|
+
<V style={r.kvKey}>User ID:</V>
|
|
109
|
+
<V style={r.kvVal}selectable>{T.userId}</V>
|
|
110
|
+
</C>}
|
|
111
|
+
{T.sessionId&&<C style={r.kvRow}>
|
|
112
|
+
<V style={r.kvKey}>Session ID:</V>
|
|
113
|
+
<V style={r.kvVal}selectable>{T.sessionId}</V>
|
|
114
|
+
</C>}
|
|
115
|
+
{T.trackingId&&<C style={r.kvRow}>
|
|
116
|
+
<V style={r.kvKey}>Tracking ID:</V>
|
|
117
|
+
<V style={r.kvVal}selectable>{T.trackingId}</V>
|
|
118
|
+
</C>}
|
|
119
|
+
</C>
|
|
120
|
+
</C>}
|
|
258
121
|
|
|
259
122
|
|
|
260
|
-
<
|
|
261
|
-
<
|
|
262
|
-
<
|
|
263
|
-
<
|
|
264
|
-
<
|
|
265
|
-
EVENT PARAMETERS ({
|
|
266
|
-
</
|
|
267
|
-
</
|
|
268
|
-
<
|
|
123
|
+
<C style={r.sectionCard}>
|
|
124
|
+
<C style={r.sectionHeaderBetween}>
|
|
125
|
+
<C style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
126
|
+
<Z color={e.brandPurple}size={12}/>
|
|
127
|
+
<V style={r.sectionTitle}>
|
|
128
|
+
EVENT PARAMETERS ({E.length})
|
|
129
|
+
</V>
|
|
130
|
+
</C>
|
|
131
|
+
<V style={r.sectionSubtitle}>
|
|
269
132
|
Key-Value Attributes
|
|
270
|
-
</
|
|
271
|
-
</
|
|
133
|
+
</V>
|
|
134
|
+
</C>
|
|
272
135
|
|
|
273
136
|
|
|
274
|
-
{
|
|
275
|
-
<
|
|
276
|
-
<
|
|
277
|
-
{
|
|
278
|
-
<
|
|
279
|
-
</
|
|
280
|
-
</
|
|
281
|
-
|
|
282
|
-
{
|
|
283
|
-
|
|
284
|
-
<
|
|
137
|
+
{E.length>4&&<C style={r.searchBar}>
|
|
138
|
+
<We color={e.grayTextWeak}size={13}/>
|
|
139
|
+
<Ve placeholder="Filter parameters by key or value..."placeholderTextColor={e.grayTextWeak}value={D}onChangeText={v}style={r.searchInput}autoCorrect={!1}autoCapitalize="none"/>
|
|
140
|
+
{D.length>0&&<Ce onPress={()=>v("")}hitSlop={8}>
|
|
141
|
+
<He color={e.grayTextWeak}size={13}/>
|
|
142
|
+
</Ce>}
|
|
143
|
+
</C>}
|
|
144
|
+
|
|
145
|
+
{E.length===0?<C style={r.emptyParamsBox}>
|
|
146
|
+
<$e color={e.grayTextWeak}size={16}/>
|
|
147
|
+
<V style={r.emptyParamsText}>
|
|
285
148
|
No custom parameters recorded for this event.
|
|
286
|
-
</
|
|
287
|
-
</
|
|
288
|
-
<
|
|
289
|
-
No parameters matching "{
|
|
290
|
-
</
|
|
291
|
-
</
|
|
292
|
-
{
|
|
293
|
-
|
|
294
|
-
const isArray = Array.isArray(val);
|
|
295
|
-
let typeStr = typeof val;
|
|
296
|
-
if (val === null)
|
|
297
|
-
typeStr = 'null';
|
|
298
|
-
else if (isArray)
|
|
299
|
-
typeStr = `array [${val.length}]`;
|
|
300
|
-
else if (isObject)
|
|
301
|
-
typeStr = 'object';
|
|
302
|
-
const valString = isObject ? JSON.stringify(val, null, 2) : String(val);
|
|
303
|
-
const isKeyHighlighted = key === 'value' ||
|
|
304
|
-
key === 'price' ||
|
|
305
|
-
key === 'currency' ||
|
|
306
|
-
key === 'screen_name' ||
|
|
307
|
-
key === 'item_id' ||
|
|
308
|
-
key === 'item_name';
|
|
309
|
-
return (<AnimatedEntrance key={key} index={pIdx} distance={4}>
|
|
310
|
-
<View style={detailStyles.paramCard}>
|
|
149
|
+
</V>
|
|
150
|
+
</C>:J.length===0?<C style={r.emptyParamsBox}>
|
|
151
|
+
<V style={r.emptyParamsText}>
|
|
152
|
+
No parameters matching "{D}"
|
|
153
|
+
</V>
|
|
154
|
+
</C>:<C style={r.paramList}>
|
|
155
|
+
{J.map(([B,I],K)=>{const F=typeof I=="object"&&I!==null,L=Array.isArray(I);let N=typeof I;I===null?N="null":L?N=`array [${I.length}]`:F&&(N="object");const U=F?JSON.stringify(I,null,2):String(I),te=B==="value"||B==="price"||B==="currency"||B==="screen_name"||B==="item_id"||B==="item_name";return<Ie key={B}index={K}distance={4}>
|
|
156
|
+
<C style={r.paramCard}>
|
|
311
157
|
|
|
312
|
-
<
|
|
313
|
-
<
|
|
314
|
-
<
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
<CopyButton value={valString} label={key}/>
|
|
326
|
-
</View>
|
|
158
|
+
<C style={r.paramCardHeader}>
|
|
159
|
+
<C style={{flexDirection:"row",alignItems:"center",gap:6,flex:1,minWidth:0}}>
|
|
160
|
+
<Q text={B}search={D}style={[r.paramKeyText,te&&r.paramKeyHighlighted]}highlightStyle={r.highlight}/>
|
|
161
|
+
<C style={r.typeBadge}>
|
|
162
|
+
<V style={r.typeBadgeText}>
|
|
163
|
+
{N.toUpperCase()}
|
|
164
|
+
</V>
|
|
165
|
+
</C>
|
|
166
|
+
</C>
|
|
167
|
+
|
|
168
|
+
<G value={U}label={B}/>
|
|
169
|
+
</C>
|
|
327
170
|
|
|
328
171
|
|
|
329
|
-
<
|
|
330
|
-
{
|
|
331
|
-
</
|
|
332
|
-
</
|
|
333
|
-
</
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
</View>
|
|
172
|
+
<C style={r.paramValBox}>
|
|
173
|
+
{F?<Y data={I}search={D}hideTabs wrap/>:<Q text={U}search={D}style={r.paramValText}highlightStyle={r.highlight}selectable/>}
|
|
174
|
+
</C>
|
|
175
|
+
</C>
|
|
176
|
+
</Ie>})}
|
|
177
|
+
</C>}
|
|
178
|
+
</C>
|
|
337
179
|
|
|
338
180
|
|
|
339
|
-
{
|
|
340
|
-
<
|
|
341
|
-
<
|
|
342
|
-
<
|
|
343
|
-
USER PROPERTIES SNAPSHOT ({
|
|
344
|
-
</
|
|
345
|
-
</
|
|
346
|
-
<
|
|
347
|
-
{
|
|
348
|
-
<
|
|
349
|
-
<
|
|
350
|
-
{String(
|
|
351
|
-
</
|
|
352
|
-
</
|
|
353
|
-
</
|
|
354
|
-
</
|
|
355
|
-
</
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
{activeViewTab === 'tree' && (<View style={detailStyles.jsonContainer}>
|
|
359
|
-
<JsonViewer data={fullJsonData} defaultExpandDepth={1} mode="pretty" fullHeight/>
|
|
360
|
-
</View>)}
|
|
181
|
+
{R.length>0&&<C style={r.sectionCard}>
|
|
182
|
+
<C style={r.sectionHeader}>
|
|
183
|
+
<X color={e.purple}size={12}/>
|
|
184
|
+
<V style={r.sectionTitle}>
|
|
185
|
+
USER PROPERTIES SNAPSHOT ({R.length})
|
|
186
|
+
</V>
|
|
187
|
+
</C>
|
|
188
|
+
<C style={r.sectionBody}>
|
|
189
|
+
{R.map(B=><C key={B}style={r.kvRow}>
|
|
190
|
+
<V style={r.kvKey}>{B}:</V>
|
|
191
|
+
<V style={r.kvVal}selectable>
|
|
192
|
+
{String(H[B])}
|
|
193
|
+
</V>
|
|
194
|
+
</C>)}
|
|
195
|
+
</C>
|
|
196
|
+
</C>}
|
|
197
|
+
</C>}
|
|
361
198
|
|
|
362
199
|
|
|
363
|
-
{
|
|
364
|
-
<
|
|
365
|
-
</
|
|
366
|
-
</
|
|
367
|
-
};
|
|
368
|
-
const detailStyles = StyleSheet.create({
|
|
369
|
-
scroll: {
|
|
370
|
-
flex: 1,
|
|
371
|
-
backgroundColor: AppColors.grayBackground,
|
|
372
|
-
},
|
|
373
|
-
content: {
|
|
374
|
-
paddingTop: 12,
|
|
375
|
-
paddingBottom: 40,
|
|
376
|
-
paddingHorizontal: 12,
|
|
377
|
-
},
|
|
378
|
-
heroCard: {
|
|
379
|
-
backgroundColor: AppColors.white,
|
|
380
|
-
borderRadius: 12,
|
|
381
|
-
padding: 14,
|
|
382
|
-
borderWidth: 1,
|
|
383
|
-
borderColor: AppColors.dividerColor,
|
|
384
|
-
shadowColor: AppColors.primaryBlack,
|
|
385
|
-
shadowOffset: { width: 0, height: 1 },
|
|
386
|
-
shadowOpacity: 0.04,
|
|
387
|
-
shadowRadius: 4,
|
|
388
|
-
elevation: 2,
|
|
389
|
-
marginBottom: 12,
|
|
390
|
-
},
|
|
391
|
-
heroTopRow: {
|
|
392
|
-
flexDirection: 'row',
|
|
393
|
-
alignItems: 'center',
|
|
394
|
-
justifyContent: 'space-between',
|
|
395
|
-
marginBottom: 10,
|
|
396
|
-
},
|
|
397
|
-
sourceBadge: {
|
|
398
|
-
flexDirection: 'row',
|
|
399
|
-
alignItems: 'center',
|
|
400
|
-
gap: 4.5,
|
|
401
|
-
paddingHorizontal: 7,
|
|
402
|
-
paddingVertical: 3,
|
|
403
|
-
borderRadius: 5,
|
|
404
|
-
borderWidth: 1,
|
|
405
|
-
},
|
|
406
|
-
sourceDot: {
|
|
407
|
-
width: 6,
|
|
408
|
-
height: 6,
|
|
409
|
-
borderRadius: 3,
|
|
410
|
-
},
|
|
411
|
-
sourceBadgeText: {
|
|
412
|
-
fontFamily: AppFonts.interBold,
|
|
413
|
-
fontSize: 9.5,
|
|
414
|
-
letterSpacing: 0.4,
|
|
415
|
-
},
|
|
416
|
-
catBadge: {
|
|
417
|
-
flexDirection: 'row',
|
|
418
|
-
alignItems: 'center',
|
|
419
|
-
gap: 4,
|
|
420
|
-
paddingHorizontal: 7,
|
|
421
|
-
paddingVertical: 3,
|
|
422
|
-
borderRadius: 5,
|
|
423
|
-
borderWidth: 1,
|
|
424
|
-
},
|
|
425
|
-
catBadgeText: {
|
|
426
|
-
fontFamily: AppFonts.interBold,
|
|
427
|
-
fontSize: 9.5,
|
|
428
|
-
letterSpacing: 0.3,
|
|
429
|
-
},
|
|
430
|
-
titleRow: {
|
|
431
|
-
marginBottom: 8,
|
|
432
|
-
},
|
|
433
|
-
eventTitle: {
|
|
434
|
-
fontFamily: AppFonts.interBold,
|
|
435
|
-
fontSize: 16,
|
|
436
|
-
color: AppColors.primaryBlack,
|
|
437
|
-
lineHeight: 22,
|
|
438
|
-
},
|
|
439
|
-
metaRow: {
|
|
440
|
-
flexDirection: 'row',
|
|
441
|
-
alignItems: 'center',
|
|
442
|
-
gap: 6,
|
|
443
|
-
flexWrap: 'wrap',
|
|
444
|
-
marginBottom: 10,
|
|
445
|
-
},
|
|
446
|
-
timePill: {
|
|
447
|
-
flexDirection: 'row',
|
|
448
|
-
alignItems: 'center',
|
|
449
|
-
gap: 4,
|
|
450
|
-
backgroundColor: `${AppColors.purple}14`,
|
|
451
|
-
paddingHorizontal: 7,
|
|
452
|
-
paddingVertical: 3,
|
|
453
|
-
borderRadius: 5,
|
|
454
|
-
borderWidth: 1,
|
|
455
|
-
borderColor: `${AppColors.purple}2E`,
|
|
456
|
-
},
|
|
457
|
-
timeText: {
|
|
458
|
-
fontFamily: AppFonts.interMedium,
|
|
459
|
-
fontSize: 10.5,
|
|
460
|
-
color: AppColors.purple,
|
|
461
|
-
},
|
|
462
|
-
screenPill: {
|
|
463
|
-
flexDirection: 'row',
|
|
464
|
-
alignItems: 'center',
|
|
465
|
-
gap: 4,
|
|
466
|
-
backgroundColor: `${AppColors.sky500}14`,
|
|
467
|
-
paddingHorizontal: 7,
|
|
468
|
-
paddingVertical: 3,
|
|
469
|
-
borderRadius: 5,
|
|
470
|
-
borderWidth: 1,
|
|
471
|
-
borderColor: `${AppColors.sky500}2E`,
|
|
472
|
-
maxWidth: 220,
|
|
473
|
-
},
|
|
474
|
-
screenText: {
|
|
475
|
-
fontFamily: AppFonts.interMedium,
|
|
476
|
-
fontSize: 10.5,
|
|
477
|
-
color: AppColors.sky600,
|
|
478
|
-
},
|
|
479
|
-
metricsBar: {
|
|
480
|
-
flexDirection: 'row',
|
|
481
|
-
alignItems: 'center',
|
|
482
|
-
gap: 6,
|
|
483
|
-
flexWrap: 'wrap',
|
|
484
|
-
paddingTop: 8,
|
|
485
|
-
borderTopWidth: 1,
|
|
486
|
-
borderTopColor: AppColors.dividerColor,
|
|
487
|
-
},
|
|
488
|
-
metricPill: {
|
|
489
|
-
flexDirection: 'row',
|
|
490
|
-
alignItems: 'center',
|
|
491
|
-
gap: 4,
|
|
492
|
-
backgroundColor: AppColors.grayBackground,
|
|
493
|
-
paddingHorizontal: 7,
|
|
494
|
-
paddingVertical: 3,
|
|
495
|
-
borderRadius: 5,
|
|
496
|
-
borderWidth: 1,
|
|
497
|
-
borderColor: AppColors.dividerColor,
|
|
498
|
-
},
|
|
499
|
-
metricLabel: {
|
|
500
|
-
fontFamily: AppFonts.interMedium,
|
|
501
|
-
fontSize: 10.5,
|
|
502
|
-
color: AppColors.grayTextWeak,
|
|
503
|
-
},
|
|
504
|
-
metricValue: {
|
|
505
|
-
fontFamily: AppFonts.interBold,
|
|
506
|
-
fontSize: 10.5,
|
|
507
|
-
color: AppColors.primaryBlack,
|
|
508
|
-
},
|
|
509
|
-
revenuePill: {
|
|
510
|
-
flexDirection: 'row',
|
|
511
|
-
alignItems: 'center',
|
|
512
|
-
gap: 4,
|
|
513
|
-
backgroundColor: AppColors.emeraldBg,
|
|
514
|
-
paddingHorizontal: 7,
|
|
515
|
-
paddingVertical: 3,
|
|
516
|
-
borderRadius: 5,
|
|
517
|
-
borderWidth: 1,
|
|
518
|
-
borderColor: AppColors.emeraldBorder,
|
|
519
|
-
},
|
|
520
|
-
revenueValue: {
|
|
521
|
-
fontFamily: AppFonts.interBold,
|
|
522
|
-
fontSize: 10.5,
|
|
523
|
-
color: '#047857',
|
|
524
|
-
},
|
|
525
|
-
itemsPill: {
|
|
526
|
-
flexDirection: 'row',
|
|
527
|
-
alignItems: 'center',
|
|
528
|
-
gap: 4,
|
|
529
|
-
backgroundColor: '#EFF6FF',
|
|
530
|
-
paddingHorizontal: 7,
|
|
531
|
-
paddingVertical: 3,
|
|
532
|
-
borderRadius: 5,
|
|
533
|
-
borderWidth: 1,
|
|
534
|
-
borderColor: '#BFDBFE',
|
|
535
|
-
},
|
|
536
|
-
itemsValue: {
|
|
537
|
-
fontFamily: AppFonts.interBold,
|
|
538
|
-
fontSize: 10.5,
|
|
539
|
-
color: '#1D4ED8',
|
|
540
|
-
},
|
|
541
|
-
tabsWrap: {
|
|
542
|
-
marginBottom: 12,
|
|
543
|
-
},
|
|
544
|
-
tabContent: {
|
|
545
|
-
gap: 12,
|
|
546
|
-
},
|
|
547
|
-
sectionCard: {
|
|
548
|
-
backgroundColor: AppColors.white,
|
|
549
|
-
borderRadius: 12,
|
|
550
|
-
padding: 12,
|
|
551
|
-
borderWidth: 1,
|
|
552
|
-
borderColor: AppColors.dividerColor,
|
|
553
|
-
shadowColor: AppColors.primaryBlack,
|
|
554
|
-
shadowOffset: { width: 0, height: 1 },
|
|
555
|
-
shadowOpacity: 0.04,
|
|
556
|
-
shadowRadius: 4,
|
|
557
|
-
elevation: 2,
|
|
558
|
-
},
|
|
559
|
-
sectionHeader: {
|
|
560
|
-
flexDirection: 'row',
|
|
561
|
-
alignItems: 'center',
|
|
562
|
-
gap: 6,
|
|
563
|
-
marginBottom: 10,
|
|
564
|
-
paddingBottom: 6,
|
|
565
|
-
borderBottomWidth: 1,
|
|
566
|
-
borderBottomColor: AppColors.dividerColor,
|
|
567
|
-
},
|
|
568
|
-
sectionHeaderBetween: {
|
|
569
|
-
flexDirection: 'row',
|
|
570
|
-
alignItems: 'center',
|
|
571
|
-
justifyContent: 'space-between',
|
|
572
|
-
marginBottom: 10,
|
|
573
|
-
paddingBottom: 6,
|
|
574
|
-
borderBottomWidth: 1,
|
|
575
|
-
borderBottomColor: AppColors.dividerColor,
|
|
576
|
-
},
|
|
577
|
-
sectionTitle: {
|
|
578
|
-
fontFamily: AppFonts.interBold,
|
|
579
|
-
fontSize: 11,
|
|
580
|
-
color: AppColors.slate700,
|
|
581
|
-
letterSpacing: 0.4,
|
|
582
|
-
},
|
|
583
|
-
sectionSubtitle: {
|
|
584
|
-
fontFamily: AppFonts.interMedium,
|
|
585
|
-
fontSize: 10,
|
|
586
|
-
color: AppColors.grayTextWeak,
|
|
587
|
-
},
|
|
588
|
-
sectionBody: {
|
|
589
|
-
gap: 6,
|
|
590
|
-
},
|
|
591
|
-
kvRow: {
|
|
592
|
-
flexDirection: 'row',
|
|
593
|
-
alignItems: 'center',
|
|
594
|
-
justifyContent: 'space-between',
|
|
595
|
-
paddingVertical: 3,
|
|
596
|
-
},
|
|
597
|
-
kvKey: {
|
|
598
|
-
fontFamily: AppFonts.interMedium,
|
|
599
|
-
fontSize: 11,
|
|
600
|
-
color: AppColors.grayTextWeak,
|
|
601
|
-
},
|
|
602
|
-
kvVal: {
|
|
603
|
-
fontFamily: AppFonts.interBold,
|
|
604
|
-
fontSize: 11,
|
|
605
|
-
color: AppColors.primaryBlack,
|
|
606
|
-
},
|
|
607
|
-
searchBar: {
|
|
608
|
-
flexDirection: 'row',
|
|
609
|
-
alignItems: 'center',
|
|
610
|
-
backgroundColor: AppColors.grayBackground,
|
|
611
|
-
borderRadius: 8,
|
|
612
|
-
paddingHorizontal: 8,
|
|
613
|
-
paddingVertical: 5,
|
|
614
|
-
borderWidth: 1,
|
|
615
|
-
borderColor: AppColors.dividerColor,
|
|
616
|
-
marginBottom: 10,
|
|
617
|
-
gap: 6,
|
|
618
|
-
},
|
|
619
|
-
searchInput: {
|
|
620
|
-
flex: 1,
|
|
621
|
-
fontFamily: AppFonts.interRegular,
|
|
622
|
-
fontSize: 11,
|
|
623
|
-
color: AppColors.primaryBlack,
|
|
624
|
-
paddingVertical: 0,
|
|
625
|
-
},
|
|
626
|
-
emptyParamsBox: {
|
|
627
|
-
alignItems: 'center',
|
|
628
|
-
justifyContent: 'center',
|
|
629
|
-
paddingVertical: 20,
|
|
630
|
-
gap: 6,
|
|
631
|
-
},
|
|
632
|
-
emptyParamsText: {
|
|
633
|
-
fontFamily: AppFonts.interMedium,
|
|
634
|
-
fontSize: 11,
|
|
635
|
-
color: AppColors.grayTextWeak,
|
|
636
|
-
},
|
|
637
|
-
paramList: {
|
|
638
|
-
gap: 8,
|
|
639
|
-
},
|
|
640
|
-
paramCard: {
|
|
641
|
-
backgroundColor: AppColors.grayBackground,
|
|
642
|
-
borderRadius: 8,
|
|
643
|
-
padding: 9,
|
|
644
|
-
borderWidth: 1,
|
|
645
|
-
borderColor: AppColors.dividerColor,
|
|
646
|
-
},
|
|
647
|
-
paramCardHeader: {
|
|
648
|
-
flexDirection: 'row',
|
|
649
|
-
alignItems: 'center',
|
|
650
|
-
justifyContent: 'space-between',
|
|
651
|
-
marginBottom: 4,
|
|
652
|
-
},
|
|
653
|
-
paramKeyText: {
|
|
654
|
-
fontFamily: AppFonts.interBold,
|
|
655
|
-
fontSize: 11.5,
|
|
656
|
-
color: AppColors.primaryBlack,
|
|
657
|
-
},
|
|
658
|
-
paramKeyHighlighted: {
|
|
659
|
-
color: AppColors.brandPurple,
|
|
660
|
-
},
|
|
661
|
-
typeBadge: {
|
|
662
|
-
backgroundColor: '#E2E8F0',
|
|
663
|
-
paddingHorizontal: 5,
|
|
664
|
-
paddingVertical: 1.5,
|
|
665
|
-
borderRadius: 3,
|
|
666
|
-
},
|
|
667
|
-
typeBadgeText: {
|
|
668
|
-
fontFamily: AppFonts.interBold,
|
|
669
|
-
fontSize: 8.5,
|
|
670
|
-
color: AppColors.slate700,
|
|
671
|
-
letterSpacing: 0.3,
|
|
672
|
-
},
|
|
673
|
-
paramValBox: {
|
|
674
|
-
marginTop: 2,
|
|
675
|
-
},
|
|
676
|
-
paramValText: {
|
|
677
|
-
fontFamily: AppFonts.interRegular,
|
|
678
|
-
fontSize: 11,
|
|
679
|
-
color: AppColors.slate700,
|
|
680
|
-
lineHeight: 16,
|
|
681
|
-
},
|
|
682
|
-
jsonContainer: {
|
|
683
|
-
borderRadius: 12,
|
|
684
|
-
borderWidth: 1,
|
|
685
|
-
borderColor: AppColors.dividerColor,
|
|
686
|
-
overflow: 'hidden',
|
|
687
|
-
backgroundColor: AppColors.white,
|
|
688
|
-
minHeight: 300,
|
|
689
|
-
},
|
|
690
|
-
highlight: {
|
|
691
|
-
backgroundColor: '#FEF08A',
|
|
692
|
-
color: '#854D0E',
|
|
693
|
-
fontFamily: AppFonts.interBold,
|
|
694
|
-
},
|
|
695
|
-
});
|
|
696
|
-
export default AnalyticsDetail;
|
|
200
|
+
{j==="json"&&<C style={r.jsonContainer}>
|
|
201
|
+
<Y data={A}defaultExpandDepth={2}fullHeight/>
|
|
202
|
+
</C>}
|
|
203
|
+
</Te>},r=Be.create({scroll:{flex:1,backgroundColor:e.grayBackground},content:{paddingTop:12,paddingBottom:40,paddingHorizontal:12},heroCard:{backgroundColor:e.white,borderRadius:12,padding:14,borderWidth:1,borderColor:e.dividerColor,shadowColor:e.primaryBlack,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:4,elevation:2,marginBottom:12},heroTopRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:10},idBadge:{paddingHorizontal:6,paddingVertical:2.5,borderRadius:5,backgroundColor:`${e.slate500}12`,borderWidth:1,borderColor:`${e.slate500}22`},idBadgeText:{fontFamily:S.interBold,fontSize:10,color:e.grayTextWeak,letterSpacing:.2},sourceBadge:{flexDirection:"row",alignItems:"center",gap:4.5,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1},sourceDot:{width:6,height:6,borderRadius:3},sourceBadgeText:{fontFamily:S.interBold,fontSize:9.5,letterSpacing:.4},catBadge:{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1},catBadgeText:{fontFamily:S.interBold,fontSize:9.5,letterSpacing:.3},titleRow:{marginBottom:8},eventTitle:{fontFamily:S.interBold,fontSize:16,color:e.primaryBlack,lineHeight:22},metaRow:{flexDirection:"row",alignItems:"center",gap:6,flexWrap:"wrap",marginBottom:10},timePill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:`${e.purple}14`,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:`${e.purple}2E`},timeText:{fontFamily:S.interMedium,fontSize:10.5,color:e.purple},screenPill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:`${e.sky500}14`,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:`${e.sky500}2E`,maxWidth:220},screenText:{fontFamily:S.interMedium,fontSize:10.5,color:e.sky600},metricsBar:{flexDirection:"row",alignItems:"center",gap:6,flexWrap:"wrap",paddingTop:8,borderTopWidth:1,borderTopColor:e.dividerColor},metricPill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:e.grayBackground,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.dividerColor},metricLabel:{fontFamily:S.interMedium,fontSize:10.5,color:e.grayTextWeak},metricValue:{fontFamily:S.interBold,fontSize:10.5,color:e.primaryBlack},revenuePill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:e.emeraldBg,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.emeraldBorder},revenueValue:{fontFamily:S.interBold,fontSize:10.5,color:"#047857"},itemsPill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:"#EFF6FF",paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:"#BFDBFE"},itemsValue:{fontFamily:S.interBold,fontSize:10.5,color:"#1D4ED8"},tabsWrap:{marginBottom:12},tabContent:{gap:12},sectionCard:{backgroundColor:e.white,borderRadius:12,padding:12,borderWidth:1,borderColor:e.dividerColor,shadowColor:e.primaryBlack,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:4,elevation:2},sectionHeader:{flexDirection:"row",alignItems:"center",gap:6,marginBottom:10,paddingBottom:6,borderBottomWidth:1,borderBottomColor:e.dividerColor},sectionHeaderBetween:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:10,paddingBottom:6,borderBottomWidth:1,borderBottomColor:e.dividerColor},sectionTitle:{fontFamily:S.interBold,fontSize:11,color:e.slate700,letterSpacing:.4},sectionSubtitle:{fontFamily:S.interMedium,fontSize:10,color:e.grayTextWeak},sectionBody:{gap:6},kvRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:3},kvKey:{fontFamily:S.interMedium,fontSize:11,color:e.grayTextWeak},kvVal:{fontFamily:S.interBold,fontSize:11,color:e.primaryBlack},searchBar:{flexDirection:"row",alignItems:"center",backgroundColor:e.grayBackground,borderRadius:8,paddingHorizontal:8,paddingVertical:5,borderWidth:1,borderColor:e.dividerColor,marginBottom:10,gap:6},searchInput:{flex:1,fontFamily:S.interRegular,fontSize:11,color:e.primaryBlack,paddingVertical:0},emptyParamsBox:{alignItems:"center",justifyContent:"center",paddingVertical:20,gap:6},emptyParamsText:{fontFamily:S.interMedium,fontSize:11,color:e.grayTextWeak},paramList:{gap:8},paramCard:{backgroundColor:e.grayBackground,borderRadius:8,padding:9,borderWidth:1,borderColor:e.dividerColor},paramCardHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4},paramKeyText:{fontFamily:S.interBold,fontSize:11.5,color:e.primaryBlack},paramKeyHighlighted:{color:e.brandPurple},typeBadge:{backgroundColor:"#E2E8F0",paddingHorizontal:5,paddingVertical:1.5,borderRadius:3},typeBadgeText:{fontFamily:S.interBold,fontSize:8.5,color:e.slate700,letterSpacing:.3},paramValBox:{marginTop:2},paramValText:{fontFamily:S.interRegular,fontSize:11,color:e.slate700,lineHeight:16},jsonContainer:{borderRadius:12,borderWidth:1,borderColor:e.dividerColor,overflow:"hidden",backgroundColor:e.white,minHeight:300},highlight:{backgroundColor:"#FEF08A",color:"#854D0E",fontFamily:S.interBold}});export default Je;
|