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,317 +1,92 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.isCrashFiltersDefault = exports.DEFAULT_CRASH_FILTERS = void 0;
|
|
40
|
-
const react_1 = __importStar(require("react"));
|
|
41
|
-
const react_native_1 = require("react-native");
|
|
42
|
-
const InspectorContext_1 = require("./InspectorContext");
|
|
43
|
-
const AppColors_1 = require("../../styles/AppColors");
|
|
44
|
-
const AppFonts_1 = require("../../styles/AppFonts");
|
|
45
|
-
const i18n_1 = require("../../i18n");
|
|
46
|
-
const NetworkIcons_1 = require("../NetworkIcons");
|
|
47
|
-
const TouchableScale_1 = __importDefault(require("../TouchableScale"));
|
|
48
|
-
exports.DEFAULT_CRASH_FILTERS = {
|
|
49
|
-
types: new Set(['all']),
|
|
50
|
-
timeWindow: 'all',
|
|
51
|
-
platform: 'all',
|
|
52
|
-
engine: 'all',
|
|
53
|
-
sortBy: 'time_desc',
|
|
54
|
-
};
|
|
55
|
-
const isCrashFiltersDefault = (f) => (f.types.has('all') || f.types.size === 0) &&
|
|
56
|
-
f.timeWindow === 'all' &&
|
|
57
|
-
f.platform === 'all' &&
|
|
58
|
-
f.engine === 'all' &&
|
|
59
|
-
f.sortBy === 'time_desc';
|
|
60
|
-
exports.isCrashFiltersDefault = isCrashFiltersDefault;
|
|
61
|
-
const CrashFilterModal = ({ visible, onClose, filters, onApply, searchQuery = '', }) => {
|
|
62
|
-
const { t } = (0, i18n_1.useTranslation)();
|
|
63
|
-
const { crashRecords } = (0, InspectorContext_1.useInspector)();
|
|
64
|
-
const [draft, setDraft] = (0, react_1.useState)(() => ({
|
|
65
|
-
...filters,
|
|
66
|
-
types: new Set(filters.types),
|
|
67
|
-
}));
|
|
68
|
-
(0, react_1.useEffect)(() => {
|
|
69
|
-
if (visible) {
|
|
70
|
-
setDraft({
|
|
71
|
-
...filters,
|
|
72
|
-
types: new Set(filters.types),
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
}, [visible]);
|
|
76
|
-
const toggleType = (key) => {
|
|
77
|
-
setDraft(prev => {
|
|
78
|
-
const next = new Set(prev.types);
|
|
79
|
-
if (key === 'all') {
|
|
80
|
-
return { ...prev, types: new Set(['all']) };
|
|
81
|
-
}
|
|
82
|
-
next.delete('all');
|
|
83
|
-
if (next.has(key)) {
|
|
84
|
-
next.delete(key);
|
|
85
|
-
if (next.size === 0)
|
|
86
|
-
next.add('all');
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
next.add(key);
|
|
90
|
-
}
|
|
91
|
-
return { ...prev, types: next };
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
const setTimeWindow = (tw) => {
|
|
95
|
-
setDraft(prev => ({ ...prev, timeWindow: tw }));
|
|
96
|
-
};
|
|
97
|
-
const setPlatform = (p) => {
|
|
98
|
-
setDraft(prev => ({ ...prev, platform: p }));
|
|
99
|
-
};
|
|
100
|
-
const setEngine = (e) => {
|
|
101
|
-
setDraft(prev => ({ ...prev, engine: e }));
|
|
102
|
-
};
|
|
103
|
-
const setSort = (sortBy) => {
|
|
104
|
-
setDraft(prev => ({ ...prev, sortBy }));
|
|
105
|
-
};
|
|
106
|
-
const handleResetDraft = () => {
|
|
107
|
-
setDraft({
|
|
108
|
-
...exports.DEFAULT_CRASH_FILTERS,
|
|
109
|
-
types: new Set(exports.DEFAULT_CRASH_FILTERS.types),
|
|
110
|
-
});
|
|
111
|
-
};
|
|
112
|
-
const handleApply = () => {
|
|
113
|
-
onApply({
|
|
114
|
-
...draft,
|
|
115
|
-
types: new Set(draft.types),
|
|
116
|
-
});
|
|
117
|
-
onClose();
|
|
118
|
-
};
|
|
119
|
-
const handleDiscard = () => {
|
|
120
|
-
setDraft({
|
|
121
|
-
...filters,
|
|
122
|
-
types: new Set(filters.types),
|
|
123
|
-
});
|
|
124
|
-
onClose();
|
|
125
|
-
};
|
|
126
|
-
const draftMatchCount = (0, react_1.useMemo)(() => {
|
|
127
|
-
let crashes = crashRecords;
|
|
128
|
-
if (searchQuery.trim().length > 0) {
|
|
129
|
-
const q = searchQuery.toLowerCase();
|
|
130
|
-
crashes = crashes.filter(c => (c.message || '').toLowerCase().includes(q) ||
|
|
131
|
-
(c.name || '').toLowerCase().includes(q) ||
|
|
132
|
-
(c.stack || '').toLowerCase().includes(q));
|
|
133
|
-
}
|
|
134
|
-
if (draft.types.size > 0 && !draft.types.has('all')) {
|
|
135
|
-
crashes = crashes.filter(c => {
|
|
136
|
-
if (draft.types.has('fatal') && c.isFatal)
|
|
137
|
-
return true;
|
|
138
|
-
if (draft.types.has('js') && c.type === 'js')
|
|
139
|
-
return true;
|
|
140
|
-
if (draft.types.has('promise') && c.type === 'promise')
|
|
141
|
-
return true;
|
|
142
|
-
if (draft.types.has('render') && c.type === 'render')
|
|
143
|
-
return true;
|
|
144
|
-
if (draft.types.has('native') && c.type === 'native')
|
|
145
|
-
return true;
|
|
146
|
-
return false;
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
if (draft.timeWindow !== 'all') {
|
|
150
|
-
const now = Date.now();
|
|
151
|
-
const cutoff = draft.timeWindow === '15m'
|
|
152
|
-
? now - 15 * 60 * 1000
|
|
153
|
-
: draft.timeWindow === '1h'
|
|
154
|
-
? now - 60 * 60 * 1000
|
|
155
|
-
: draft.timeWindow === '24h'
|
|
156
|
-
? now - 24 * 60 * 60 * 1000
|
|
157
|
-
: now - 7 * 24 * 60 * 60 * 1000;
|
|
158
|
-
crashes = crashes.filter(c => c.timestamp >= cutoff);
|
|
159
|
-
}
|
|
160
|
-
if (draft.platform !== 'all') {
|
|
161
|
-
crashes = crashes.filter(c => (c.deviceInfo?.platform || '').toLowerCase() === draft.platform);
|
|
162
|
-
}
|
|
163
|
-
if (draft.engine !== 'all') {
|
|
164
|
-
crashes = crashes.filter(c => {
|
|
165
|
-
const isHermes = c.deviceInfo?.isHermes;
|
|
166
|
-
if (draft.engine === 'hermes')
|
|
167
|
-
return isHermes === true;
|
|
168
|
-
return isHermes === false || isHermes === undefined;
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
return crashes.length;
|
|
172
|
-
}, [crashRecords, searchQuery, draft]);
|
|
173
|
-
const isAllTypes = draft.types.has('all') || draft.types.size === 0;
|
|
174
|
-
const typeChips = [
|
|
175
|
-
{ key: 'all', label: t('crash.filterTypeAll'), Icon: NetworkIcons_1.FilterIcon, color: AppColors_1.AppColors.grayTextStrong },
|
|
176
|
-
{ key: 'fatal', label: t('crash.filterFatal'), Icon: NetworkIcons_1.SkullIcon, color: AppColors_1.AppColors.errorColor },
|
|
177
|
-
{ key: 'js', label: t('crash.filterJsError'), Icon: NetworkIcons_1.JsIcon, color: AppColors_1.AppColors.sky600 },
|
|
178
|
-
{ key: 'promise', label: t('crash.filterPromise'), Icon: NetworkIcons_1.HourglassIcon, color: AppColors_1.AppColors.darkOrange },
|
|
179
|
-
{ key: 'render', label: t('crash.filterRender'), Icon: NetworkIcons_1.LayoutIcon, color: AppColors_1.AppColors.purple },
|
|
180
|
-
{ key: 'native', label: t('crash.filterNative'), Icon: NetworkIcons_1.ChipIcon, color: AppColors_1.AppColors.amber700 },
|
|
181
|
-
];
|
|
182
|
-
return (<react_native_1.Modal visible={visible} transparent animationType="fade" onRequestClose={handleDiscard}>
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,i,a,n){n===void 0&&(n=a);var s=Object.getOwnPropertyDescriptor(i,a);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(o,n,s)}):(function(o,i,a,n){n===void 0&&(n=a),o[n]=i[a]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,i){Object.defineProperty(o,"default",{enumerable:!0,value:i})}):function(o,i){o.default=i}),__importStar=this&&this.__importStar||(function(){var o=function(i){return o=Object.getOwnPropertyNames||function(a){var n=[];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[n.length]=s);return n},o(i)};return function(i){if(i&&i.__esModule)return i;var a={};if(i!=null)for(var n=o(i),s=0;s<n.length;s++)n[s]!=="default"&&__createBinding(a,i,n[s]);return __setModuleDefault(a,i),a}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.isCrashFiltersDefault=exports.DEFAULT_CRASH_FILTERS=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),InspectorContext_1=require("./InspectorContext"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),i18n_1=require("../../i18n"),NetworkIcons_1=require("../NetworkIcons"),TouchableScale_1=__importDefault(require("../TouchableScale"));exports.DEFAULT_CRASH_FILTERS={types:new Set(["all"]),timeWindow:"all",platform:"all",engine:"all",sortBy:"time_desc"};const isCrashFiltersDefault=o=>(o.types.has("all")||o.types.size===0)&&o.timeWindow==="all"&&o.platform==="all"&&o.engine==="all"&&o.sortBy==="time_desc";exports.isCrashFiltersDefault=isCrashFiltersDefault;const CrashFilterModal=({visible:o,onClose:i,filters:a,onApply:n,searchQuery:s=""})=>{const{t:l}=(0,i18n_1.useTranslation)(),{crashRecords:u}=(0,InspectorContext_1.useInspector)(),[e,p]=(0,react_1.useState)(()=>({...a,types:new Set(a.types)}));(0,react_1.useEffect)(()=>{o&&p({...a,types:new Set(a.types)})},[o]);const h=t=>{p(r=>{const c=new Set(r.types);return t==="all"?{...r,types:new Set(["all"])}:(c.delete("all"),c.has(t)?(c.delete(t),c.size===0&&c.add("all")):c.add(t),{...r,types:c})})},T=t=>{p(r=>({...r,timeWindow:t}))},f=t=>{p(r=>({...r,platform:t}))},y=t=>{p(r=>({...r,engine:t}))},_=t=>{p(r=>({...r,sortBy:t}))},w=()=>{p({...exports.DEFAULT_CRASH_FILTERS,types:new Set(exports.DEFAULT_CRASH_FILTERS.types)})},C=()=>{n({...e,types:new Set(e.types)}),i()},d=()=>{p({...a,types:new Set(a.types)}),i()},x=(0,react_1.useMemo)(()=>{let t=u;if(s.trim().length>0){const r=s.toLowerCase();t=t.filter(c=>(c.message||"").toLowerCase().includes(r)||(c.name||"").toLowerCase().includes(r)||(c.stack||"").toLowerCase().includes(r))}if(e.types.size>0&&!e.types.has("all")&&(t=t.filter(r=>!!(e.types.has("fatal")&&r.isFatal||e.types.has("js")&&r.type==="js"||e.types.has("promise")&&r.type==="promise"||e.types.has("render")&&r.type==="render"||e.types.has("native")&&r.type==="native"))),e.timeWindow!=="all"){const r=Date.now(),c=e.timeWindow==="15m"?r-900*1e3:e.timeWindow==="1h"?r-3600*1e3:e.timeWindow==="24h"?r-1440*60*1e3:r-10080*60*1e3;t=t.filter(v=>v.timestamp>=c)}return e.platform!=="all"&&(t=t.filter(r=>(r.deviceInfo?.platform||"").toLowerCase()===e.platform)),e.engine!=="all"&&(t=t.filter(r=>{const c=r.deviceInfo?.isHermes;return e.engine==="hermes"?c===!0:c===!1||c===void 0})),t.length},[u,s,e]),A=e.types.has("all")||e.types.size===0,g=[{key:"all",label:l("crash.filterTypeAll"),Icon:NetworkIcons_1.FilterIcon,color:AppColors_1.AppColors.grayTextStrong},{key:"fatal",label:l("crash.filterFatal"),Icon:NetworkIcons_1.SkullIcon,color:AppColors_1.AppColors.errorColor},{key:"js",label:l("crash.filterJsError"),Icon:NetworkIcons_1.JsIcon,color:AppColors_1.AppColors.sky600},{key:"promise",label:l("crash.filterPromise"),Icon:NetworkIcons_1.HourglassIcon,color:AppColors_1.AppColors.darkOrange},{key:"render",label:l("crash.filterRender"),Icon:NetworkIcons_1.LayoutIcon,color:AppColors_1.AppColors.purple},{key:"native",label:l("crash.filterNative"),Icon:NetworkIcons_1.ChipIcon,color:AppColors_1.AppColors.amber700}];return<react_native_1.Modal visible={o}transparent animationType="fade"onRequestClose={d}>
|
|
183
2
|
<react_native_1.View style={styles.backdrop}>
|
|
184
|
-
<react_native_1.Pressable style={react_native_1.StyleSheet.absoluteFill}
|
|
3
|
+
<react_native_1.Pressable style={react_native_1.StyleSheet.absoluteFill}onPress={d}/>
|
|
185
4
|
|
|
186
5
|
<react_native_1.View style={styles.modalCard}>
|
|
187
6
|
<react_native_1.View style={styles.header}>
|
|
188
|
-
<react_native_1.View style={{
|
|
7
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8}}>
|
|
189
8
|
<react_native_1.View style={styles.headerIconBox}>
|
|
190
|
-
<NetworkIcons_1.FilterIcon color={AppColors_1.AppColors.brandPurple}
|
|
9
|
+
<NetworkIcons_1.FilterIcon color={AppColors_1.AppColors.brandPurple}size={15}/>
|
|
191
10
|
</react_native_1.View>
|
|
192
11
|
<react_native_1.View>
|
|
193
|
-
<react_native_1.Text style={styles.headerTitle}>{
|
|
12
|
+
<react_native_1.Text style={styles.headerTitle}>{l("crash.filterTitle")}</react_native_1.Text>
|
|
194
13
|
<react_native_1.Text style={styles.headerSubtitle}>
|
|
195
|
-
{
|
|
14
|
+
{l("crash.filterSubtitle")}
|
|
196
15
|
</react_native_1.Text>
|
|
197
16
|
</react_native_1.View>
|
|
198
17
|
</react_native_1.View>
|
|
199
18
|
|
|
200
|
-
<react_native_1.View style={{
|
|
201
|
-
<react_native_1.TouchableOpacity onPress={
|
|
202
|
-
<react_native_1.Text style={styles.resetBtnText}>{
|
|
19
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8}}>
|
|
20
|
+
<react_native_1.TouchableOpacity onPress={w}hitSlop={8}style={styles.resetBtn}>
|
|
21
|
+
<react_native_1.Text style={styles.resetBtnText}>{l("crash.filterReset")}</react_native_1.Text>
|
|
203
22
|
</react_native_1.TouchableOpacity>
|
|
204
23
|
|
|
205
|
-
<react_native_1.TouchableOpacity onPress={
|
|
206
|
-
<NetworkIcons_1.CloseWhite
|
|
24
|
+
<react_native_1.TouchableOpacity onPress={d}hitSlop={10}style={styles.closeBtn}>
|
|
25
|
+
<NetworkIcons_1.CloseWhite/>
|
|
207
26
|
</react_native_1.TouchableOpacity>
|
|
208
27
|
</react_native_1.View>
|
|
209
28
|
</react_native_1.View>
|
|
210
29
|
|
|
211
|
-
<react_native_1.ScrollView style={{
|
|
30
|
+
<react_native_1.ScrollView style={{maxHeight:460}}contentContainerStyle={styles.scrollContent}showsVerticalScrollIndicator={!0}>
|
|
212
31
|
<react_native_1.View style={styles.section}>
|
|
213
32
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
214
|
-
<NetworkIcons_1.SkullIcon color={AppColors_1.AppColors.grayTextWeak}
|
|
33
|
+
<NetworkIcons_1.SkullIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
215
34
|
<react_native_1.Text style={styles.sectionTitle}>
|
|
216
|
-
{
|
|
35
|
+
{l("crash.filterTypeSection")}
|
|
217
36
|
</react_native_1.Text>
|
|
218
37
|
</react_native_1.View>
|
|
219
38
|
<react_native_1.View style={styles.chipsWrap}>
|
|
220
|
-
{
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
]}>
|
|
226
|
-
{chip.key === 'all' && isSelected && (<NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.white} size={12}/>)}
|
|
227
|
-
<chip.Icon size={12} color={isSelected ? AppColors_1.AppColors.white : chip.color}/>
|
|
228
|
-
<react_native_1.Text style={[
|
|
229
|
-
styles.filterPillText,
|
|
230
|
-
isSelected && styles.filterPillTextActive,
|
|
231
|
-
]}>
|
|
232
|
-
{chip.label}
|
|
39
|
+
{g.map(t=>{const r=t.key==="all"?A:e.types.has(t.key);return<TouchableScale_1.default key={t.key}onPress={()=>h(t.key)}style={[styles.filterPill,r&&styles.filterPillActive]}>
|
|
40
|
+
{t.key==="all"&&r&&<NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.white}size={12}/>}
|
|
41
|
+
<t.Icon size={12}color={r?AppColors_1.AppColors.white:t.color}/>
|
|
42
|
+
<react_native_1.Text style={[styles.filterPillText,r&&styles.filterPillTextActive]}>
|
|
43
|
+
{t.label}
|
|
233
44
|
</react_native_1.Text>
|
|
234
|
-
</TouchableScale_1.default>)
|
|
235
|
-
})}
|
|
45
|
+
</TouchableScale_1.default>})}
|
|
236
46
|
</react_native_1.View>
|
|
237
47
|
</react_native_1.View>
|
|
238
48
|
|
|
239
49
|
<react_native_1.View style={styles.section}>
|
|
240
50
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
241
|
-
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.grayTextWeak}
|
|
51
|
+
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
242
52
|
<react_native_1.Text style={styles.sectionTitle}>
|
|
243
|
-
{
|
|
53
|
+
{l("crash.filterTimeSection")}
|
|
244
54
|
</react_native_1.Text>
|
|
245
55
|
</react_native_1.View>
|
|
246
56
|
<react_native_1.View style={styles.chipsWrap}>
|
|
247
|
-
{[
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
{ key: '1h', label: t('crash.filterTime1h') },
|
|
251
|
-
{ key: '24h', label: t('crash.filterTime24h') },
|
|
252
|
-
{ key: '7d', label: t('crash.filterTime7d') },
|
|
253
|
-
].map(item => (<TouchableScale_1.default key={item.key} onPress={() => setTimeWindow(item.key)} style={[
|
|
254
|
-
styles.filterPill,
|
|
255
|
-
draft.timeWindow === item.key && styles.filterPillActive,
|
|
256
|
-
]}>
|
|
257
|
-
<react_native_1.Text style={[
|
|
258
|
-
styles.filterPillText,
|
|
259
|
-
draft.timeWindow === item.key &&
|
|
260
|
-
styles.filterPillTextActive,
|
|
261
|
-
]}>
|
|
262
|
-
{item.label}
|
|
57
|
+
{[{key:"all",label:l("crash.filterTimeAll")},{key:"15m",label:l("crash.filterTime15m")},{key:"1h",label:l("crash.filterTime1h")},{key:"24h",label:l("crash.filterTime24h")},{key:"7d",label:l("crash.filterTime7d")}].map(t=><TouchableScale_1.default key={t.key}onPress={()=>T(t.key)}style={[styles.filterPill,e.timeWindow===t.key&&styles.filterPillActive]}>
|
|
58
|
+
<react_native_1.Text style={[styles.filterPillText,e.timeWindow===t.key&&styles.filterPillTextActive]}>
|
|
59
|
+
{t.label}
|
|
263
60
|
</react_native_1.Text>
|
|
264
|
-
</TouchableScale_1.default>)
|
|
61
|
+
</TouchableScale_1.default>)}
|
|
265
62
|
</react_native_1.View>
|
|
266
63
|
</react_native_1.View>
|
|
267
64
|
|
|
268
65
|
<react_native_1.View style={styles.section}>
|
|
269
66
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
270
|
-
<NetworkIcons_1.AppleIcon color={AppColors_1.AppColors.grayTextWeak}
|
|
67
|
+
<NetworkIcons_1.AppleIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
271
68
|
<react_native_1.Text style={styles.sectionTitle}>
|
|
272
|
-
{
|
|
69
|
+
{l("crash.filterPlatformSection")}
|
|
273
70
|
</react_native_1.Text>
|
|
274
71
|
</react_native_1.View>
|
|
275
72
|
<react_native_1.View style={styles.chipsWrap}>
|
|
276
|
-
<TouchableScale_1.default onPress={()
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
]}>
|
|
280
|
-
<react_native_1.Text style={[
|
|
281
|
-
styles.filterPillText,
|
|
282
|
-
draft.platform === 'all' && styles.filterPillTextActive,
|
|
283
|
-
]}>
|
|
284
|
-
{t('crash.filterPlatformAll')}
|
|
73
|
+
<TouchableScale_1.default onPress={()=>f("all")}style={[styles.filterPill,e.platform==="all"&&styles.filterPillActive]}>
|
|
74
|
+
<react_native_1.Text style={[styles.filterPillText,e.platform==="all"&&styles.filterPillTextActive]}>
|
|
75
|
+
{l("crash.filterPlatformAll")}
|
|
285
76
|
</react_native_1.Text>
|
|
286
77
|
</TouchableScale_1.default>
|
|
287
78
|
|
|
288
|
-
<TouchableScale_1.default onPress={()
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
<NetworkIcons_1.AppleIcon size={12} color={draft.platform === 'ios'
|
|
293
|
-
? AppColors_1.AppColors.white
|
|
294
|
-
: AppColors_1.AppColors.grayTextStrong}/>
|
|
295
|
-
<react_native_1.Text style={[
|
|
296
|
-
styles.filterPillText,
|
|
297
|
-
draft.platform === 'ios' && styles.filterPillTextActive,
|
|
298
|
-
]}>
|
|
299
|
-
{t('crash.filterPlatformIos')}
|
|
79
|
+
<TouchableScale_1.default onPress={()=>f("ios")}style={[styles.filterPill,e.platform==="ios"&&styles.filterPillActive]}>
|
|
80
|
+
<NetworkIcons_1.AppleIcon size={12}color={e.platform==="ios"?AppColors_1.AppColors.white:AppColors_1.AppColors.grayTextStrong}/>
|
|
81
|
+
<react_native_1.Text style={[styles.filterPillText,e.platform==="ios"&&styles.filterPillTextActive]}>
|
|
82
|
+
{l("crash.filterPlatformIos")}
|
|
300
83
|
</react_native_1.Text>
|
|
301
84
|
</TouchableScale_1.default>
|
|
302
85
|
|
|
303
|
-
<TouchableScale_1.default onPress={()
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
<NetworkIcons_1.AndroidIcon size={12} color={draft.platform === 'android'
|
|
308
|
-
? AppColors_1.AppColors.white
|
|
309
|
-
: AppColors_1.AppColors.greenColor}/>
|
|
310
|
-
<react_native_1.Text style={[
|
|
311
|
-
styles.filterPillText,
|
|
312
|
-
draft.platform === 'android' && styles.filterPillTextActive,
|
|
313
|
-
]}>
|
|
314
|
-
{t('crash.filterPlatformAndroid')}
|
|
86
|
+
<TouchableScale_1.default onPress={()=>f("android")}style={[styles.filterPill,e.platform==="android"&&styles.filterPillActive]}>
|
|
87
|
+
<NetworkIcons_1.AndroidIcon size={12}color={e.platform==="android"?AppColors_1.AppColors.white:AppColors_1.AppColors.greenColor}/>
|
|
88
|
+
<react_native_1.Text style={[styles.filterPillText,e.platform==="android"&&styles.filterPillTextActive]}>
|
|
89
|
+
{l("crash.filterPlatformAndroid")}
|
|
315
90
|
</react_native_1.Text>
|
|
316
91
|
</TouchableScale_1.default>
|
|
317
92
|
</react_native_1.View>
|
|
@@ -319,48 +94,28 @@ const CrashFilterModal = ({ visible, onClose, filters, onApply, searchQuery = ''
|
|
|
319
94
|
|
|
320
95
|
<react_native_1.View style={styles.section}>
|
|
321
96
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
322
|
-
<NetworkIcons_1.BoltIcon color={AppColors_1.AppColors.grayTextWeak}
|
|
97
|
+
<NetworkIcons_1.BoltIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
323
98
|
<react_native_1.Text style={styles.sectionTitle}>
|
|
324
|
-
{
|
|
99
|
+
{l("crash.filterEngineSection")}
|
|
325
100
|
</react_native_1.Text>
|
|
326
101
|
</react_native_1.View>
|
|
327
102
|
<react_native_1.View style={styles.chipsWrap}>
|
|
328
|
-
<TouchableScale_1.default onPress={()
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
]}>
|
|
332
|
-
<react_native_1.Text style={[
|
|
333
|
-
styles.filterPillText,
|
|
334
|
-
draft.engine === 'all' && styles.filterPillTextActive,
|
|
335
|
-
]}>
|
|
336
|
-
{t('crash.filterEngineAll')}
|
|
103
|
+
<TouchableScale_1.default onPress={()=>y("all")}style={[styles.filterPill,e.engine==="all"&&styles.filterPillActive]}>
|
|
104
|
+
<react_native_1.Text style={[styles.filterPillText,e.engine==="all"&&styles.filterPillTextActive]}>
|
|
105
|
+
{l("crash.filterEngineAll")}
|
|
337
106
|
</react_native_1.Text>
|
|
338
107
|
</TouchableScale_1.default>
|
|
339
108
|
|
|
340
|
-
<TouchableScale_1.default onPress={()
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
<NetworkIcons_1.BoltIcon size={12} color={draft.engine === 'hermes'
|
|
345
|
-
? AppColors_1.AppColors.white
|
|
346
|
-
: AppColors_1.AppColors.brandPurple}/>
|
|
347
|
-
<react_native_1.Text style={[
|
|
348
|
-
styles.filterPillText,
|
|
349
|
-
draft.engine === 'hermes' && styles.filterPillTextActive,
|
|
350
|
-
]}>
|
|
351
|
-
{t('crash.filterEngineHermes')}
|
|
109
|
+
<TouchableScale_1.default onPress={()=>y("hermes")}style={[styles.filterPill,e.engine==="hermes"&&styles.filterPillActive]}>
|
|
110
|
+
<NetworkIcons_1.BoltIcon size={12}color={e.engine==="hermes"?AppColors_1.AppColors.white:AppColors_1.AppColors.brandPurple}/>
|
|
111
|
+
<react_native_1.Text style={[styles.filterPillText,e.engine==="hermes"&&styles.filterPillTextActive]}>
|
|
112
|
+
{l("crash.filterEngineHermes")}
|
|
352
113
|
</react_native_1.Text>
|
|
353
114
|
</TouchableScale_1.default>
|
|
354
115
|
|
|
355
|
-
<TouchableScale_1.default onPress={()
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
]}>
|
|
359
|
-
<react_native_1.Text style={[
|
|
360
|
-
styles.filterPillText,
|
|
361
|
-
draft.engine === 'jsc' && styles.filterPillTextActive,
|
|
362
|
-
]}>
|
|
363
|
-
{t('crash.jsc')}
|
|
116
|
+
<TouchableScale_1.default onPress={()=>y("jsc")}style={[styles.filterPill,e.engine==="jsc"&&styles.filterPillActive]}>
|
|
117
|
+
<react_native_1.Text style={[styles.filterPillText,e.engine==="jsc"&&styles.filterPillTextActive]}>
|
|
118
|
+
{l("crash.jsc")}
|
|
364
119
|
</react_native_1.Text>
|
|
365
120
|
</TouchableScale_1.default>
|
|
366
121
|
</react_native_1.View>
|
|
@@ -368,41 +123,23 @@ const CrashFilterModal = ({ visible, onClose, filters, onApply, searchQuery = ''
|
|
|
368
123
|
|
|
369
124
|
<react_native_1.View style={styles.section}>
|
|
370
125
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
371
|
-
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.grayTextWeak}
|
|
126
|
+
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
372
127
|
<react_native_1.Text style={styles.sectionTitle}>
|
|
373
|
-
{
|
|
128
|
+
{l("crash.filterSortSection")}
|
|
374
129
|
</react_native_1.Text>
|
|
375
130
|
</react_native_1.View>
|
|
376
131
|
<react_native_1.View style={styles.chipsWrap}>
|
|
377
|
-
<TouchableScale_1.default onPress={()
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
<NetworkIcons_1.ClockIcon size={12} color={draft.sortBy === 'time_desc'
|
|
382
|
-
? AppColors_1.AppColors.white
|
|
383
|
-
: AppColors_1.AppColors.grayText}/>
|
|
384
|
-
<react_native_1.Text style={[
|
|
385
|
-
styles.filterPillText,
|
|
386
|
-
draft.sortBy === 'time_desc' &&
|
|
387
|
-
styles.filterPillTextActive,
|
|
388
|
-
]}>
|
|
389
|
-
{t('crash.filterSortNewest')}
|
|
132
|
+
<TouchableScale_1.default onPress={()=>_("time_desc")}style={[styles.filterPill,e.sortBy==="time_desc"&&styles.filterPillActive]}>
|
|
133
|
+
<NetworkIcons_1.ClockIcon size={12}color={e.sortBy==="time_desc"?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}/>
|
|
134
|
+
<react_native_1.Text style={[styles.filterPillText,e.sortBy==="time_desc"&&styles.filterPillTextActive]}>
|
|
135
|
+
{l("crash.filterSortNewest")}
|
|
390
136
|
</react_native_1.Text>
|
|
391
137
|
</TouchableScale_1.default>
|
|
392
138
|
|
|
393
|
-
<TouchableScale_1.default onPress={()
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
<NetworkIcons_1.HourglassIcon size={12} color={draft.sortBy === 'time_asc'
|
|
398
|
-
? AppColors_1.AppColors.white
|
|
399
|
-
: AppColors_1.AppColors.grayText}/>
|
|
400
|
-
<react_native_1.Text style={[
|
|
401
|
-
styles.filterPillText,
|
|
402
|
-
draft.sortBy === 'time_asc' &&
|
|
403
|
-
styles.filterPillTextActive,
|
|
404
|
-
]}>
|
|
405
|
-
{t('crash.filterSortOldest')}
|
|
139
|
+
<TouchableScale_1.default onPress={()=>_("time_asc")}style={[styles.filterPill,e.sortBy==="time_asc"&&styles.filterPillActive]}>
|
|
140
|
+
<NetworkIcons_1.HourglassIcon size={12}color={e.sortBy==="time_asc"?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}/>
|
|
141
|
+
<react_native_1.Text style={[styles.filterPillText,e.sortBy==="time_asc"&&styles.filterPillTextActive]}>
|
|
142
|
+
{l("crash.filterSortOldest")}
|
|
406
143
|
</react_native_1.Text>
|
|
407
144
|
</TouchableScale_1.default>
|
|
408
145
|
</react_native_1.View>
|
|
@@ -410,187 +147,18 @@ const CrashFilterModal = ({ visible, onClose, filters, onApply, searchQuery = ''
|
|
|
410
147
|
</react_native_1.ScrollView>
|
|
411
148
|
|
|
412
149
|
<react_native_1.View style={styles.footer}>
|
|
413
|
-
<react_native_1.TouchableOpacity onPress={
|
|
150
|
+
<react_native_1.TouchableOpacity onPress={d}style={styles.discardBtn}activeOpacity={.8}>
|
|
414
151
|
<react_native_1.Text style={styles.discardBtnText}>
|
|
415
|
-
{
|
|
152
|
+
{l("crash.filterDiscard")}
|
|
416
153
|
</react_native_1.Text>
|
|
417
154
|
</react_native_1.TouchableOpacity>
|
|
418
155
|
|
|
419
|
-
<react_native_1.TouchableOpacity onPress={
|
|
156
|
+
<react_native_1.TouchableOpacity onPress={C}style={styles.applyBtn}activeOpacity={.85}>
|
|
420
157
|
<react_native_1.Text style={styles.applyBtnText}>
|
|
421
|
-
{
|
|
158
|
+
{l("crash.filterApply",{count:x})}
|
|
422
159
|
</react_native_1.Text>
|
|
423
160
|
</react_native_1.TouchableOpacity>
|
|
424
161
|
</react_native_1.View>
|
|
425
162
|
</react_native_1.View>
|
|
426
163
|
</react_native_1.View>
|
|
427
|
-
</react_native_1.Modal>);
|
|
428
|
-
};
|
|
429
|
-
const styles = react_native_1.StyleSheet.create({
|
|
430
|
-
backdrop: {
|
|
431
|
-
flex: 1,
|
|
432
|
-
backgroundColor: `${AppColors_1.AppColors.primaryBlack}85`,
|
|
433
|
-
justifyContent: 'center',
|
|
434
|
-
alignItems: 'center',
|
|
435
|
-
padding: 16,
|
|
436
|
-
},
|
|
437
|
-
modalCard: {
|
|
438
|
-
width: '100%',
|
|
439
|
-
maxWidth: 440,
|
|
440
|
-
backgroundColor: AppColors_1.AppColors.white,
|
|
441
|
-
borderRadius: 14,
|
|
442
|
-
borderWidth: 1,
|
|
443
|
-
borderColor: AppColors_1.AppColors.dividerColor,
|
|
444
|
-
shadowColor: AppColors_1.AppColors.black,
|
|
445
|
-
shadowOpacity: 0.18,
|
|
446
|
-
shadowRadius: 12,
|
|
447
|
-
shadowOffset: { width: 0, height: 4 },
|
|
448
|
-
elevation: 8,
|
|
449
|
-
overflow: 'hidden',
|
|
450
|
-
},
|
|
451
|
-
header: {
|
|
452
|
-
flexDirection: 'row',
|
|
453
|
-
alignItems: 'center',
|
|
454
|
-
justifyContent: 'space-between',
|
|
455
|
-
paddingHorizontal: 14,
|
|
456
|
-
paddingVertical: 12,
|
|
457
|
-
borderBottomWidth: 1,
|
|
458
|
-
borderBottomColor: AppColors_1.AppColors.dividerColor,
|
|
459
|
-
backgroundColor: `${AppColors_1.AppColors.brandPurple}08`,
|
|
460
|
-
},
|
|
461
|
-
headerIconBox: {
|
|
462
|
-
width: 28,
|
|
463
|
-
height: 28,
|
|
464
|
-
borderRadius: 7,
|
|
465
|
-
backgroundColor: `${AppColors_1.AppColors.brandPurple}18`,
|
|
466
|
-
alignItems: 'center',
|
|
467
|
-
justifyContent: 'center',
|
|
468
|
-
},
|
|
469
|
-
headerTitle: {
|
|
470
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
471
|
-
fontSize: 13.5,
|
|
472
|
-
color: AppColors_1.AppColors.primaryBlack,
|
|
473
|
-
},
|
|
474
|
-
headerSubtitle: {
|
|
475
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
476
|
-
fontSize: 10,
|
|
477
|
-
color: AppColors_1.AppColors.grayTextWeak,
|
|
478
|
-
},
|
|
479
|
-
resetBtn: {
|
|
480
|
-
paddingHorizontal: 8,
|
|
481
|
-
paddingVertical: 4,
|
|
482
|
-
borderRadius: 5,
|
|
483
|
-
backgroundColor: `${AppColors_1.AppColors.darkOrange}14`,
|
|
484
|
-
borderWidth: 1,
|
|
485
|
-
borderColor: `${AppColors_1.AppColors.darkOrange}30`,
|
|
486
|
-
},
|
|
487
|
-
resetBtnText: {
|
|
488
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
489
|
-
fontSize: 10,
|
|
490
|
-
color: AppColors_1.AppColors.darkOrange,
|
|
491
|
-
},
|
|
492
|
-
closeBtn: {
|
|
493
|
-
width: 24,
|
|
494
|
-
height: 24,
|
|
495
|
-
borderRadius: 12,
|
|
496
|
-
backgroundColor: `${AppColors_1.AppColors.primaryBlack}18`,
|
|
497
|
-
alignItems: 'center',
|
|
498
|
-
justifyContent: 'center',
|
|
499
|
-
},
|
|
500
|
-
scrollContent: {
|
|
501
|
-
padding: 14,
|
|
502
|
-
gap: 14,
|
|
503
|
-
},
|
|
504
|
-
section: {
|
|
505
|
-
gap: 7,
|
|
506
|
-
},
|
|
507
|
-
sectionHeaderRow: {
|
|
508
|
-
flexDirection: 'row',
|
|
509
|
-
alignItems: 'center',
|
|
510
|
-
gap: 5,
|
|
511
|
-
},
|
|
512
|
-
sectionTitle: {
|
|
513
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
514
|
-
fontSize: 9.5,
|
|
515
|
-
color: AppColors_1.AppColors.grayTextWeak,
|
|
516
|
-
letterSpacing: 0.5,
|
|
517
|
-
},
|
|
518
|
-
chipsWrap: {
|
|
519
|
-
flexDirection: 'row',
|
|
520
|
-
flexWrap: 'wrap',
|
|
521
|
-
gap: 6.5,
|
|
522
|
-
},
|
|
523
|
-
filterPill: {
|
|
524
|
-
flexDirection: 'row',
|
|
525
|
-
alignItems: 'center',
|
|
526
|
-
gap: 5,
|
|
527
|
-
paddingHorizontal: 9,
|
|
528
|
-
paddingVertical: 5.5,
|
|
529
|
-
borderRadius: 7,
|
|
530
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
531
|
-
borderWidth: 1,
|
|
532
|
-
borderColor: AppColors_1.AppColors.dividerColor,
|
|
533
|
-
},
|
|
534
|
-
filterPillActive: {
|
|
535
|
-
backgroundColor: AppColors_1.AppColors.brandPurple,
|
|
536
|
-
borderColor: AppColors_1.AppColors.brandPurple,
|
|
537
|
-
shadowColor: AppColors_1.AppColors.brandPurple,
|
|
538
|
-
shadowOffset: { width: 0, height: 1 },
|
|
539
|
-
shadowOpacity: 0.25,
|
|
540
|
-
shadowRadius: 3,
|
|
541
|
-
elevation: 2,
|
|
542
|
-
},
|
|
543
|
-
filterPillText: {
|
|
544
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
545
|
-
fontSize: 11,
|
|
546
|
-
color: AppColors_1.AppColors.primaryBlack,
|
|
547
|
-
},
|
|
548
|
-
filterPillTextActive: {
|
|
549
|
-
color: AppColors_1.AppColors.white,
|
|
550
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
551
|
-
},
|
|
552
|
-
footer: {
|
|
553
|
-
flexDirection: 'row',
|
|
554
|
-
alignItems: 'center',
|
|
555
|
-
gap: 10,
|
|
556
|
-
paddingHorizontal: 14,
|
|
557
|
-
paddingVertical: 12,
|
|
558
|
-
borderTopWidth: 1,
|
|
559
|
-
borderTopColor: AppColors_1.AppColors.dividerColor,
|
|
560
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
561
|
-
},
|
|
562
|
-
discardBtn: {
|
|
563
|
-
flex: 1,
|
|
564
|
-
paddingVertical: 9.5,
|
|
565
|
-
borderRadius: 8,
|
|
566
|
-
borderWidth: 1,
|
|
567
|
-
borderColor: AppColors_1.AppColors.dividerColor,
|
|
568
|
-
backgroundColor: AppColors_1.AppColors.white,
|
|
569
|
-
alignItems: 'center',
|
|
570
|
-
justifyContent: 'center',
|
|
571
|
-
},
|
|
572
|
-
discardBtnText: {
|
|
573
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
574
|
-
fontSize: 12.5,
|
|
575
|
-
color: AppColors_1.AppColors.grayTextStrong,
|
|
576
|
-
},
|
|
577
|
-
applyBtn: {
|
|
578
|
-
flex: 2,
|
|
579
|
-
backgroundColor: AppColors_1.AppColors.brandPurple,
|
|
580
|
-
paddingVertical: 9.5,
|
|
581
|
-
borderRadius: 8,
|
|
582
|
-
alignItems: 'center',
|
|
583
|
-
justifyContent: 'center',
|
|
584
|
-
shadowColor: AppColors_1.AppColors.brandPurple,
|
|
585
|
-
shadowOffset: { width: 0, height: 1 },
|
|
586
|
-
shadowOpacity: 0.25,
|
|
587
|
-
shadowRadius: 3,
|
|
588
|
-
elevation: 2,
|
|
589
|
-
},
|
|
590
|
-
applyBtnText: {
|
|
591
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
592
|
-
fontSize: 12.5,
|
|
593
|
-
color: AppColors_1.AppColors.white,
|
|
594
|
-
},
|
|
595
|
-
});
|
|
596
|
-
exports.default = CrashFilterModal;
|
|
164
|
+
</react_native_1.Modal>},styles=react_native_1.StyleSheet.create({backdrop:{flex:1,backgroundColor:`${AppColors_1.AppColors.primaryBlack}85`,justifyContent:"center",alignItems:"center",padding:16},modalCard:{width:"100%",maxWidth:440,backgroundColor:AppColors_1.AppColors.white,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:12,shadowOffset:{width:0,height:4},elevation:8,overflow:"hidden"},header:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:14,paddingVertical:12,borderBottomWidth:1,borderBottomColor:AppColors_1.AppColors.dividerColor,backgroundColor:`${AppColors_1.AppColors.brandPurple}08`},headerIconBox:{width:28,height:28,borderRadius:7,backgroundColor:`${AppColors_1.AppColors.brandPurple}18`,alignItems:"center",justifyContent:"center"},headerTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,color:AppColors_1.AppColors.primaryBlack},headerSubtitle:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:10,color:AppColors_1.AppColors.grayTextWeak},resetBtn:{paddingHorizontal:8,paddingVertical:4,borderRadius:5,backgroundColor:`${AppColors_1.AppColors.darkOrange}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.darkOrange}30`},resetBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:AppColors_1.AppColors.darkOrange},closeBtn:{width:24,height:24,borderRadius:12,backgroundColor:`${AppColors_1.AppColors.primaryBlack}18`,alignItems:"center",justifyContent:"center"},scrollContent:{padding:14,gap:14},section:{gap:7},sectionHeaderRow:{flexDirection:"row",alignItems:"center",gap:5},sectionTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.5},chipsWrap:{flexDirection:"row",flexWrap:"wrap",gap:6.5},filterPill:{flexDirection:"row",alignItems:"center",gap:5,paddingHorizontal:9,paddingVertical:5.5,borderRadius:7,backgroundColor:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor},filterPillActive:{backgroundColor:AppColors_1.AppColors.brandPurple,borderColor:AppColors_1.AppColors.brandPurple,shadowColor:AppColors_1.AppColors.brandPurple,shadowOffset:{width:0,height:1},shadowOpacity:.25,shadowRadius:3,elevation:2},filterPillText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.primaryBlack},filterPillTextActive:{color:AppColors_1.AppColors.white,fontFamily:AppFonts_1.AppFonts.interBold},footer:{flexDirection:"row",alignItems:"center",gap:10,paddingHorizontal:14,paddingVertical:12,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.dividerColor,backgroundColor:AppColors_1.AppColors.grayBackground},discardBtn:{flex:1,paddingVertical:9.5,borderRadius:8,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,backgroundColor:AppColors_1.AppColors.white,alignItems:"center",justifyContent:"center"},discardBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,color:AppColors_1.AppColors.grayTextStrong},applyBtn:{flex:2,backgroundColor:AppColors_1.AppColors.brandPurple,paddingVertical:9.5,borderRadius:8,alignItems:"center",justifyContent:"center",shadowColor:AppColors_1.AppColors.brandPurple,shadowOffset:{width:0,height:1},shadowOpacity:.25,shadowRadius:3,elevation:2},applyBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,color:AppColors_1.AppColors.white}});exports.default=CrashFilterModal;
|