react-native-inapp-inspector 2.3.19 → 2.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -14
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +67 -0
- package/dist/commonjs/analytics.js +1 -24
- package/dist/commonjs/bundle.js +1 -16
- package/dist/commonjs/capture.js +1 -35
- 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.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 +243 -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 +74 -875
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
- package/dist/commonjs/components/Inspector/FabLauncher.js +42 -466
- package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
- package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
- package/dist/commonjs/components/Inspector/InspectorHeader.js +191 -1110
- package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
- package/dist/commonjs/components/Inspector/MainScreen.js +52 -335
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +97 -644
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +90 -605
- package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
- package/dist/commonjs/components/Inspector/NetworkDetail.js +89 -411
- 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 +18 -434
- 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 +427 -3807
- 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 +36 -334
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +37 -412
- package/dist/commonjs/components/JsonViewer.js +168 -381
- 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 +13 -0
- package/dist/commonjs/components/NetworkIcons.js +521 -1022
- package/dist/commonjs/components/QRCodeView.js +5 -79
- package/dist/commonjs/components/SectionHeader.js +15 -37
- package/dist/commonjs/components/SegmentedTabs.js +7 -62
- 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.d.ts +1 -0
- 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 -1140
- package/dist/commonjs/index.js +5 -2168
- package/dist/commonjs/metro.js +6 -468
- package/dist/commonjs/native/NativeInspector.d.ts +1 -0
- package/dist/commonjs/native/NativeInspector.js +1 -415
- 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 +0 -1
- package/dist/commonjs/types/enums.js +1 -152
- package/dist/commonjs/types/index.js +1 -18
- package/dist/commonjs/types/interfaces.d.ts +2 -2
- 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.js +1 -32
- 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.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 +243 -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 +164 -925
- package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
- package/dist/esm/components/Inspector/FabLauncher.js +68 -454
- package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
- package/dist/esm/components/Inspector/InspectorContext.js +1 -12
- package/dist/esm/components/Inspector/InspectorHeader.js +282 -1163
- package/dist/esm/components/Inspector/LogDetail.js +235 -1023
- package/dist/esm/components/Inspector/MainScreen.js +78 -323
- package/dist/esm/components/Inspector/MediaGalleryTab.js +143 -650
- package/dist/esm/components/Inspector/MediaPreviewModal.js +138 -613
- package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
- package/dist/esm/components/Inspector/NetworkDetail.js +138 -455
- 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 +643 -3985
- 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 +45 -305
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +80 -418
- package/dist/esm/components/JsonViewer.js +179 -354
- 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 +13 -0
- package/dist/esm/components/NetworkIcons.js +523 -838
- package/dist/esm/components/QRCodeView.js +8 -45
- package/dist/esm/components/SectionHeader.js +22 -39
- package/dist/esm/components/SegmentedTabs.js +8 -58
- 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.d.ts +1 -0
- 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 -1140
- package/dist/esm/index.js +7 -1982
- package/dist/esm/metro.js +6 -459
- package/dist/esm/native/NativeInspector.d.ts +1 -0
- package/dist/esm/native/NativeInspector.js +1 -382
- 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 +0 -1
- package/dist/esm/types/enums.js +1 -149
- package/dist/esm/types/index.js +1 -2
- package/dist/esm/types/interfaces.d.ts +2 -2
- package/dist/esm/types/interfaces.js +1 -1
- package/ios/NetworkInspectorModule.mm +60 -12
- package/package.json +5 -3
- package/src/native/NativeInspector.ts +18 -0
- package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +0 -7
- package/dist/commonjs/components/Inspector/FeedbackModal.js +0 -552
- package/dist/esm/components/Inspector/FeedbackModal.d.ts +0 -7
- package/dist/esm/components/Inspector/FeedbackModal.js +0 -515
- package/src/analytics.ts +0 -35
- package/src/bundle.ts +0 -25
- package/src/capture.ts +0 -109
- 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 -97
- 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 -590
- 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 -1583
- package/src/components/Inspector/LogDetail.tsx +0 -1431
- package/src/components/Inspector/MainScreen.tsx +0 -460
- package/src/components/Inspector/MediaGalleryTab.tsx +0 -829
- package/src/components/Inspector/MediaPreviewModal.tsx +0 -783
- package/src/components/Inspector/NavigationTracker.tsx +0 -13
- package/src/components/Inspector/NetworkDetail.tsx +0 -778
- 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 -5136
- package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Inspector/StorageTab.tsx +0 -1159
- package/src/components/Inspector/TabBar.tsx +0 -431
- package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
- package/src/components/JsonViewer.tsx +0 -549
- 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 -2655
- package/src/components/QRCodeView.tsx +0 -75
- package/src/components/SectionHeader.tsx +0 -101
- package/src/components/SegmentedTabs.tsx +0 -84
- 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 -1141
- package/src/index.tsx +0 -2650
- 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 -210
- package/src/types/index.ts +0 -34
- package/src/types/interfaces.ts +0 -535
|
@@ -1,288 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
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.DebuggingTab = void 0;
|
|
40
|
-
const react_1 = __importStar(require("react"));
|
|
41
|
-
const react_native_1 = require("react-native");
|
|
42
|
-
const AppColors_1 = require("../../styles/AppColors");
|
|
43
|
-
const AppFonts_1 = require("../../styles/AppFonts");
|
|
44
|
-
const QRCodeView_1 = __importDefault(require("../QRCodeView"));
|
|
45
|
-
const TouchableScale_1 = __importDefault(require("../TouchableScale"));
|
|
46
|
-
const toast_1 = require("../../helpers/toast");
|
|
47
|
-
const NativeInspector_1 = require("../../native/NativeInspector");
|
|
48
|
-
const NetworkIcons_1 = require("../NetworkIcons");
|
|
49
|
-
const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
50
|
-
const TerminalConsoleIcon = ({ color = AppColors_1.AppColors.purple, size = 13 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
51
|
-
<react_native_svg_1.Path d="M4 17l6-6-6-6M12 19h8" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
52
|
-
</react_native_svg_1.default>);
|
|
53
|
-
const DebuggingTab = () => {
|
|
54
|
-
const detectedConfig = (0, react_1.useMemo)(() => {
|
|
55
|
-
const scriptURL = react_native_1.NativeModules.SourceCode?.scriptURL || '';
|
|
56
|
-
let host = 'localhost';
|
|
57
|
-
let port = 8081;
|
|
58
|
-
try {
|
|
59
|
-
if (scriptURL.includes('://')) {
|
|
60
|
-
const urlWithoutScheme = scriptURL.split('://')[1];
|
|
61
|
-
const hostAndPort = urlWithoutScheme.split('/')[0];
|
|
62
|
-
if (hostAndPort.includes(':')) {
|
|
63
|
-
const parts = hostAndPort.split(':');
|
|
64
|
-
host = parts[0];
|
|
65
|
-
const parsedPort = parseInt(parts[1], 10);
|
|
66
|
-
if (!isNaN(parsedPort))
|
|
67
|
-
port = parsedPort;
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
host = hostAndPort;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
catch { }
|
|
75
|
-
return { host, port, scriptURL };
|
|
76
|
-
}, []);
|
|
77
|
-
const [hostIp, setHostIp] = (0, react_1.useState)(() => {
|
|
78
|
-
if (detectedConfig.host &&
|
|
79
|
-
detectedConfig.host !== 'localhost' &&
|
|
80
|
-
detectedConfig.host !== '127.0.0.1' &&
|
|
81
|
-
detectedConfig.host !== '10.0.2.2') {
|
|
82
|
-
return detectedConfig.host;
|
|
83
|
-
}
|
|
84
|
-
return '192.168.1.2';
|
|
85
|
-
});
|
|
86
|
-
const [port, setPort] = (0, react_1.useState)(detectedConfig.port || 8083);
|
|
87
|
-
const [apkFileName, setApkFileName] = (0, react_1.useState)('app-debug.apk');
|
|
88
|
-
const [apkSizeMb, setApkSizeMb] = (0, react_1.useState)(null);
|
|
89
|
-
const [selectedScheme, setSelectedScheme] = (0, react_1.useState)('assembleRelease');
|
|
90
|
-
const [isCleanBuild, setIsCleanBuild] = (0, react_1.useState)(true);
|
|
91
|
-
const [buildStatus, setBuildStatus] = (0, react_1.useState)({
|
|
92
|
-
status: 'idle',
|
|
93
|
-
scheme: 'assembleRelease',
|
|
94
|
-
clean: true,
|
|
95
|
-
progress: 0,
|
|
96
|
-
currentTask: '',
|
|
97
|
-
error: null,
|
|
98
|
-
apkName: null,
|
|
99
|
-
apkSize: null,
|
|
100
|
-
});
|
|
101
|
-
const pollingRef = (0, react_1.useRef)(null);
|
|
102
|
-
const progressAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(0)).current;
|
|
103
|
-
const [showVerboseLogs, setShowVerboseLogs] = (0, react_1.useState)(true);
|
|
104
|
-
const verboseScrollRef = (0, react_1.useRef)(null);
|
|
105
|
-
(0, react_1.useEffect)(() => {
|
|
106
|
-
react_native_1.Animated.timing(progressAnim, {
|
|
107
|
-
toValue: Math.max(0, Math.min(100, buildStatus.progress)),
|
|
108
|
-
duration: 350,
|
|
109
|
-
useNativeDriver: false,
|
|
110
|
-
}).start();
|
|
111
|
-
}, [buildStatus.progress, progressAnim]);
|
|
112
|
-
(0, react_1.useEffect)(() => {
|
|
113
|
-
if (buildStatus.logs && buildStatus.logs.length > 0) {
|
|
114
|
-
setTimeout(() => {
|
|
115
|
-
verboseScrollRef.current?.scrollToEnd({ animated: true });
|
|
116
|
-
}, 50);
|
|
117
|
-
}
|
|
118
|
-
}, [buildStatus.logs]);
|
|
119
|
-
const fetchMetroTelemetry = (0, react_1.useCallback)(async () => {
|
|
120
|
-
const hostsToTry = Array.from(new Set([detectedConfig.host, '10.0.2.2', 'localhost', '127.0.0.1'].filter(Boolean)));
|
|
121
|
-
const portsToTry = Array.from(new Set([detectedConfig.port, 8083, 8081, 8082].filter(Boolean)));
|
|
122
|
-
for (const h of hostsToTry) {
|
|
123
|
-
for (const p of portsToTry) {
|
|
124
|
-
try {
|
|
125
|
-
const controller = new AbortController();
|
|
126
|
-
const timeoutId = setTimeout(() => controller.abort(), 1200);
|
|
127
|
-
const res = await fetch(`http://${h}:${p}/__inapp_inspector/apk-info`, {
|
|
128
|
-
signal: controller.signal,
|
|
129
|
-
});
|
|
130
|
-
clearTimeout(timeoutId);
|
|
131
|
-
if (res.ok) {
|
|
132
|
-
const data = await res.json();
|
|
133
|
-
if (data.hostIp &&
|
|
134
|
-
data.hostIp !== '127.0.0.1' &&
|
|
135
|
-
data.hostIp !== 'localhost' &&
|
|
136
|
-
data.hostIp !== '10.0.2.2') {
|
|
137
|
-
setHostIp(data.hostIp);
|
|
138
|
-
}
|
|
139
|
-
if (data.port) {
|
|
140
|
-
setPort(data.port);
|
|
141
|
-
}
|
|
142
|
-
if (data.apkName) {
|
|
143
|
-
setApkFileName(data.apkName);
|
|
144
|
-
}
|
|
145
|
-
if (data.apkSize) {
|
|
146
|
-
setApkSizeMb((data.apkSize / (1024 * 1024)).toFixed(1));
|
|
147
|
-
}
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
catch { }
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}, [detectedConfig.host, detectedConfig.port]);
|
|
155
|
-
(0, react_1.useEffect)(() => {
|
|
156
|
-
fetchMetroTelemetry();
|
|
157
|
-
}, [fetchMetroTelemetry]);
|
|
158
|
-
(0, react_1.useEffect)(() => {
|
|
159
|
-
return () => {
|
|
160
|
-
if (pollingRef.current) {
|
|
161
|
-
clearInterval(pollingRef.current);
|
|
162
|
-
}
|
|
163
|
-
};
|
|
164
|
-
}, []);
|
|
165
|
-
const pollBuildStatus = (0, react_1.useCallback)(() => {
|
|
166
|
-
if (pollingRef.current)
|
|
167
|
-
clearInterval(pollingRef.current);
|
|
168
|
-
const targetHost = detectedConfig.host || '10.0.2.2';
|
|
169
|
-
pollingRef.current = setInterval(async () => {
|
|
170
|
-
try {
|
|
171
|
-
const res = await fetch(`http://${targetHost}:${port}/__inapp_inspector/build-status`);
|
|
172
|
-
if (res.ok) {
|
|
173
|
-
const data = await res.json();
|
|
174
|
-
setBuildStatus(data);
|
|
175
|
-
if (data.status === 'completed') {
|
|
176
|
-
if (pollingRef.current)
|
|
177
|
-
clearInterval(pollingRef.current);
|
|
178
|
-
(0, NativeInspector_1.triggerNativeHaptic)('success');
|
|
179
|
-
(0, toast_1.showToast)('✓ APK Build Generated Successfully!');
|
|
180
|
-
if (data.apkSize) {
|
|
181
|
-
setApkSizeMb((data.apkSize / (1024 * 1024)).toFixed(1));
|
|
182
|
-
}
|
|
183
|
-
if (data.apkName) {
|
|
184
|
-
setApkFileName(data.apkName);
|
|
185
|
-
}
|
|
186
|
-
fetchMetroTelemetry();
|
|
187
|
-
}
|
|
188
|
-
else if (data.status === 'failed') {
|
|
189
|
-
if (pollingRef.current)
|
|
190
|
-
clearInterval(pollingRef.current);
|
|
191
|
-
(0, NativeInspector_1.triggerNativeHaptic)('error');
|
|
192
|
-
(0, toast_1.showToast)('✕ Build Failed: ' + (data.error || 'Gradle error'));
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
catch { }
|
|
197
|
-
}, 1000);
|
|
198
|
-
}, [detectedConfig.host, port, fetchMetroTelemetry]);
|
|
199
|
-
const handleStartBuild = async () => {
|
|
200
|
-
(0, NativeInspector_1.triggerNativeHaptic)('medium');
|
|
201
|
-
setBuildStatus({
|
|
202
|
-
status: 'running',
|
|
203
|
-
scheme: selectedScheme,
|
|
204
|
-
clean: isCleanBuild,
|
|
205
|
-
progress: 5,
|
|
206
|
-
currentTask: isCleanBuild ? 'Cleaning build cache...' : 'Initializing build...',
|
|
207
|
-
error: null,
|
|
208
|
-
apkName: null,
|
|
209
|
-
apkSize: null,
|
|
210
|
-
});
|
|
211
|
-
const hostsToTry = Array.from(new Set([detectedConfig.host, '10.0.2.2', 'localhost', '127.0.0.1'].filter(Boolean)));
|
|
212
|
-
const portsToTry = Array.from(new Set([port, 8083, 8081, 8082].filter(Boolean)));
|
|
213
|
-
let buildTriggered = false;
|
|
214
|
-
for (const h of hostsToTry) {
|
|
215
|
-
for (const p of portsToTry) {
|
|
216
|
-
try {
|
|
217
|
-
const controller = new AbortController();
|
|
218
|
-
const timeoutId = setTimeout(() => controller.abort(), 2000);
|
|
219
|
-
const res = await fetch(`http://${h}:${p}/__inapp_inspector/build-apk?scheme=${selectedScheme}&clean=${isCleanBuild}`, { signal: controller.signal });
|
|
220
|
-
clearTimeout(timeoutId);
|
|
221
|
-
if (res.ok) {
|
|
222
|
-
buildTriggered = true;
|
|
223
|
-
pollBuildStatus();
|
|
224
|
-
return;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
catch { }
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
if (!buildTriggered) {
|
|
231
|
-
setBuildStatus(prev => ({
|
|
232
|
-
...prev,
|
|
233
|
-
status: 'failed',
|
|
234
|
-
error: 'Cannot reach build server. Ensure npm start or npm run serve-apk is running on host.',
|
|
235
|
-
}));
|
|
236
|
-
}
|
|
237
|
-
};
|
|
238
|
-
const handleStopBuild = async () => {
|
|
239
|
-
(0, NativeInspector_1.triggerNativeHaptic)('warning');
|
|
240
|
-
if (pollingRef.current)
|
|
241
|
-
clearInterval(pollingRef.current);
|
|
242
|
-
const hostsToTry = Array.from(new Set([detectedConfig.host, '10.0.2.2', 'localhost', '127.0.0.1'].filter(Boolean)));
|
|
243
|
-
const portsToTry = Array.from(new Set([port, 8083, 8081, 8082].filter(Boolean)));
|
|
244
|
-
for (const h of hostsToTry) {
|
|
245
|
-
for (const p of portsToTry) {
|
|
246
|
-
try {
|
|
247
|
-
const controller = new AbortController();
|
|
248
|
-
const timeoutId = setTimeout(() => controller.abort(), 1500);
|
|
249
|
-
await fetch(`http://${h}:${p}/__inapp_inspector/stop-build`, {
|
|
250
|
-
signal: controller.signal,
|
|
251
|
-
});
|
|
252
|
-
clearTimeout(timeoutId);
|
|
253
|
-
}
|
|
254
|
-
catch { }
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
setBuildStatus(prev => ({
|
|
258
|
-
...prev,
|
|
259
|
-
status: 'idle',
|
|
260
|
-
currentTask: 'Build cancelled by user',
|
|
261
|
-
logs: [...(prev.logs || []), '🛑 Build cancelled by user.'],
|
|
262
|
-
}));
|
|
263
|
-
(0, toast_1.showToast)('Build cancelled');
|
|
264
|
-
};
|
|
265
|
-
const apkDownloadUrl = `http://${hostIp}:${port}/${apkFileName.replace(/^\/+/, '')}`;
|
|
266
|
-
const handleShare = () => {
|
|
267
|
-
(0, NativeInspector_1.triggerNativeHaptic)('light');
|
|
268
|
-
react_native_1.Share.share({
|
|
269
|
-
message: apkDownloadUrl,
|
|
270
|
-
title: 'Install Android APK',
|
|
271
|
-
});
|
|
272
|
-
};
|
|
273
|
-
const isBuilding = buildStatus.status === 'running';
|
|
274
|
-
return (<react_native_1.ScrollView style={styles.scrollArea} contentContainerStyle={styles.scrollContent} showsVerticalScrollIndicator={false}>
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(e,o,l,r){r===void 0&&(r=l);var n=Object.getOwnPropertyDescriptor(o,l);(!n||("get"in n?!o.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return o[l]}}),Object.defineProperty(e,r,n)}):(function(e,o,l,r){r===void 0&&(r=l),e[r]=o[l]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(e,o){Object.defineProperty(e,"default",{enumerable:!0,value:o})}):function(e,o){e.default=o}),__importStar=this&&this.__importStar||(function(){var e=function(o){return e=Object.getOwnPropertyNames||function(l){var r=[];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(r[r.length]=n);return r},e(o)};return function(o){if(o&&o.__esModule)return o;var l={};if(o!=null)for(var r=e(o),n=0;n<r.length;n++)r[n]!=="default"&&__createBinding(l,o,r[n]);return __setModuleDefault(l,o),l}})(),__importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DebuggingTab=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),QRCodeView_1=__importDefault(require("../QRCodeView")),TouchableScale_1=__importDefault(require("../TouchableScale")),toast_1=require("../../helpers/toast"),NativeInspector_1=require("../../native/NativeInspector"),NetworkIcons_1=require("../NetworkIcons"),react_native_svg_1=__importStar(require("react-native-svg")),TerminalConsoleIcon=({color:e=AppColors_1.AppColors.purple,size:o=13})=><react_native_svg_1.default width={o}height={o}viewBox="0 0 24 24"fill="none">
|
|
2
|
+
<react_native_svg_1.Path d="M4 17l6-6-6-6M12 19h8"stroke={e}strokeWidth="2"strokeLinecap="round"strokeLinejoin="round"/>
|
|
3
|
+
</react_native_svg_1.default>,DebuggingTab=()=>{const e=(0,react_1.useMemo)(()=>{const a=react_native_1.NativeModules.SourceCode?.scriptURL||"";let s="localhost",t=8081;try{if(a.includes("://")){const d=a.split("://")[1].split("/")[0];if(d.includes(":")){const u=d.split(":");s=u[0];const y=parseInt(u[1],10);isNaN(y)||(t=y)}else s=d}}catch{}return{host:s,port:t,scriptURL:a}},[]),[o,l]=(0,react_1.useState)(()=>e.host&&e.host!=="localhost"&&e.host!=="127.0.0.1"&&e.host!=="10.0.2.2"?e.host:"192.168.1.2"),[r,n]=(0,react_1.useState)(e.port||8083),[V,A]=(0,react_1.useState)("app-debug.apk"),[T,x]=(0,react_1.useState)(null),[g,v]=(0,react_1.useState)("assembleRelease"),[f,k]=(0,react_1.useState)(!0),[i,C]=(0,react_1.useState)({status:"idle",scheme:"assembleRelease",clean:!0,progress:0,currentTask:"",error:null,apkName:null,apkSize:null}),p=(0,react_1.useRef)(null),_=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current,[m,I]=(0,react_1.useState)(!0),S=(0,react_1.useRef)(null);(0,react_1.useEffect)(()=>{react_native_1.Animated.timing(_,{toValue:Math.max(0,Math.min(100,i.progress)),duration:350,useNativeDriver:!1}).start()},[i.progress,_]),(0,react_1.useEffect)(()=>{i.logs&&i.logs.length>0&&setTimeout(()=>{S.current?.scrollToEnd({animated:!0})},50)},[i.logs]);const w=(0,react_1.useCallback)(async()=>{const a=Array.from(new Set([e.host,"10.0.2.2","localhost","127.0.0.1"].filter(Boolean))),s=Array.from(new Set([e.port,8083,8081,8082].filter(Boolean)));for(const t of a)for(const h of s)try{const d=new AbortController,u=setTimeout(()=>d.abort(),1200),y=await fetch(`http://${t}:${h}/__inapp_inspector/apk-info`,{signal:d.signal});if(clearTimeout(u),y.ok){const c=await y.json();c.hostIp&&c.hostIp!=="127.0.0.1"&&c.hostIp!=="localhost"&&c.hostIp!=="10.0.2.2"&&l(c.hostIp),c.port&&n(c.port),c.apkName&&A(c.apkName),c.apkSize&&x((c.apkSize/(1024*1024)).toFixed(1));return}}catch{}},[e.host,e.port]);(0,react_1.useEffect)(()=>{w()},[w]),(0,react_1.useEffect)(()=>()=>{p.current&&clearInterval(p.current)},[]);const R=(0,react_1.useCallback)(()=>{p.current&&clearInterval(p.current);const a=e.host||"10.0.2.2";p.current=setInterval(async()=>{try{const s=await fetch(`http://${a}:${r}/__inapp_inspector/build-status`);if(s.ok){const t=await s.json();C(t),t.status==="completed"?(p.current&&clearInterval(p.current),(0,NativeInspector_1.triggerNativeHaptic)("success"),(0,toast_1.showToast)("\u2713 APK Build Generated Successfully!"),t.apkSize&&x((t.apkSize/(1024*1024)).toFixed(1)),t.apkName&&A(t.apkName),w()):t.status==="failed"&&(p.current&&clearInterval(p.current),(0,NativeInspector_1.triggerNativeHaptic)("error"),(0,toast_1.showToast)("\u2715 Build Failed: "+(t.error||"Gradle error")))}}catch{}},1e3)},[e.host,r,w]),F=async()=>{(0,NativeInspector_1.triggerNativeHaptic)("medium"),C({status:"running",scheme:g,clean:f,progress:5,currentTask:f?"Cleaning build cache...":"Initializing build...",error:null,apkName:null,apkSize:null});const a=Array.from(new Set([e.host,"10.0.2.2","localhost","127.0.0.1"].filter(Boolean))),s=Array.from(new Set([r,8083,8081,8082].filter(Boolean)));let t=!1;for(const h of a)for(const d of s)try{const u=new AbortController,y=setTimeout(()=>u.abort(),2e3),c=await fetch(`http://${h}:${d}/__inapp_inspector/build-apk?scheme=${g}&clean=${f}`,{signal:u.signal});if(clearTimeout(y),c.ok){t=!0,R();return}}catch{}t||C(h=>({...h,status:"failed",error:"Cannot reach build server. Ensure npm start or npm run serve-apk is running on host."}))},D=async()=>{(0,NativeInspector_1.triggerNativeHaptic)("warning"),p.current&&clearInterval(p.current);const a=Array.from(new Set([e.host,"10.0.2.2","localhost","127.0.0.1"].filter(Boolean))),s=Array.from(new Set([r,8083,8081,8082].filter(Boolean)));for(const t of a)for(const h of s)try{const d=new AbortController,u=setTimeout(()=>d.abort(),1500);await fetch(`http://${t}:${h}/__inapp_inspector/stop-build`,{signal:d.signal}),clearTimeout(u)}catch{}C(t=>({...t,status:"idle",currentTask:"Build cancelled by user",logs:[...t.logs||[],"\u{1F6D1} Build cancelled by user."]})),(0,toast_1.showToast)("Build cancelled")},B=`http://${o}:${r}/${V.replace(/^\/+/,"")}`,z=()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),react_native_1.Share.share({message:B,title:"Install Android APK"})},b=i.status==="running";return<react_native_1.ScrollView style={styles.scrollArea}contentContainerStyle={styles.scrollContent}showsVerticalScrollIndicator={!1}>
|
|
275
4
|
|
|
276
5
|
<react_native_1.View style={styles.heroCard}>
|
|
277
6
|
<react_native_1.View style={styles.heroHeader}>
|
|
278
7
|
<react_native_1.View style={styles.heroIconWrap}>
|
|
279
|
-
<NetworkIcons_1.AndroidIcon size={20}
|
|
8
|
+
<NetworkIcons_1.AndroidIcon size={20}color={AppColors_1.AppColors.white}/>
|
|
280
9
|
</react_native_1.View>
|
|
281
|
-
<react_native_1.View style={{
|
|
282
|
-
<react_native_1.Text style={styles.heroTitle}
|
|
10
|
+
<react_native_1.View style={{flex:1,minWidth:0}}>
|
|
11
|
+
<react_native_1.Text style={styles.heroTitle}numberOfLines={1}>
|
|
283
12
|
Multi-Device APK Installer
|
|
284
13
|
</react_native_1.Text>
|
|
285
|
-
<react_native_1.Text style={styles.heroSubtitle}
|
|
14
|
+
<react_native_1.Text style={styles.heroSubtitle}numberOfLines={1}>
|
|
286
15
|
Scan QR code with another Android device to download
|
|
287
16
|
</react_native_1.Text>
|
|
288
17
|
</react_native_1.View>
|
|
@@ -296,32 +25,26 @@ const DebuggingTab = () => {
|
|
|
296
25
|
<react_native_1.View style={styles.heroMetricsStrip}>
|
|
297
26
|
<react_native_1.View style={styles.heroMetricItem}>
|
|
298
27
|
<react_native_1.Text style={styles.heroMetricLabel}>HOST IP</react_native_1.Text>
|
|
299
|
-
<react_native_1.Text style={styles.heroMetricValue}
|
|
300
|
-
{
|
|
28
|
+
<react_native_1.Text style={styles.heroMetricValue}numberOfLines={1}>
|
|
29
|
+
{o}
|
|
301
30
|
</react_native_1.Text>
|
|
302
31
|
</react_native_1.View>
|
|
303
32
|
<react_native_1.View style={styles.heroMetricDivider}/>
|
|
304
33
|
<react_native_1.View style={styles.heroMetricItem}>
|
|
305
34
|
<react_native_1.Text style={styles.heroMetricLabel}>PORT</react_native_1.Text>
|
|
306
|
-
<react_native_1.Text style={styles.heroMetricValue}>{
|
|
35
|
+
<react_native_1.Text style={styles.heroMetricValue}>{r}</react_native_1.Text>
|
|
307
36
|
</react_native_1.View>
|
|
308
37
|
<react_native_1.View style={styles.heroMetricDivider}/>
|
|
309
38
|
<react_native_1.View style={styles.heroMetricItem}>
|
|
310
39
|
<react_native_1.Text style={styles.heroMetricLabel}>APK SIZE</react_native_1.Text>
|
|
311
|
-
<react_native_1.Text style={[
|
|
312
|
-
|
|
313
|
-
{ color: apkSizeMb ? AppColors_1.AppColors.emerald500 : AppColors_1.AppColors.grayTextWeak },
|
|
314
|
-
]}>
|
|
315
|
-
{apkSizeMb ? `${apkSizeMb} MB` : 'Detected'}
|
|
40
|
+
<react_native_1.Text style={[styles.heroMetricValue,{color:T?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayTextWeak}]}>
|
|
41
|
+
{T?`${T} MB`:"Detected"}
|
|
316
42
|
</react_native_1.Text>
|
|
317
43
|
</react_native_1.View>
|
|
318
44
|
<react_native_1.View style={styles.heroMetricDivider}/>
|
|
319
45
|
<react_native_1.View style={styles.heroMetricItem}>
|
|
320
46
|
<react_native_1.Text style={styles.heroMetricLabel}>STATUS</react_native_1.Text>
|
|
321
|
-
<react_native_1.Text style={[
|
|
322
|
-
styles.heroMetricValue,
|
|
323
|
-
{ color: AppColors_1.AppColors.emerald500 },
|
|
324
|
-
]}>
|
|
47
|
+
<react_native_1.Text style={[styles.heroMetricValue,{color:AppColors_1.AppColors.emerald500}]}>
|
|
325
48
|
Ready
|
|
326
49
|
</react_native_1.Text>
|
|
327
50
|
</react_native_1.View>
|
|
@@ -332,8 +55,8 @@ const DebuggingTab = () => {
|
|
|
332
55
|
<react_native_1.View style={styles.sectionCard}>
|
|
333
56
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
334
57
|
<react_native_1.Text style={styles.sectionTitle}>QR CODE & DIRECT DOWNLOAD</react_native_1.Text>
|
|
335
|
-
<react_native_1.TouchableOpacity activeOpacity={
|
|
336
|
-
<NetworkIcons_1.RepeatIcon size={12}
|
|
58
|
+
<react_native_1.TouchableOpacity activeOpacity={.7}onPress={w}style={styles.refreshBtn}>
|
|
59
|
+
<NetworkIcons_1.RepeatIcon size={12}color={AppColors_1.AppColors.purple}/>
|
|
337
60
|
<react_native_1.Text style={styles.refreshBtnText}>Refresh</react_native_1.Text>
|
|
338
61
|
</react_native_1.TouchableOpacity>
|
|
339
62
|
</react_native_1.View>
|
|
@@ -341,7 +64,7 @@ const DebuggingTab = () => {
|
|
|
341
64
|
|
|
342
65
|
<react_native_1.View style={styles.qrCenteredWrapper}>
|
|
343
66
|
<react_native_1.View style={styles.qrInnerFrame}>
|
|
344
|
-
<QRCodeView_1.default value={
|
|
67
|
+
<QRCodeView_1.default value={B}size={235}color={AppColors_1.AppColors.primaryBlack}backgroundColor={AppColors_1.AppColors.white}/>
|
|
345
68
|
</react_native_1.View>
|
|
346
69
|
</react_native_1.View>
|
|
347
70
|
</react_native_1.View>
|
|
@@ -349,59 +72,41 @@ const DebuggingTab = () => {
|
|
|
349
72
|
|
|
350
73
|
<react_native_1.View style={styles.sectionCard}>
|
|
351
74
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
352
|
-
<react_native_1.View style={{
|
|
353
|
-
<NetworkIcons_1.BoltIcon size={13}
|
|
75
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
76
|
+
<NetworkIcons_1.BoltIcon size={13}color={AppColors_1.AppColors.purple}/>
|
|
354
77
|
<react_native_1.Text style={styles.sectionTitle}>BUILD GENERATOR (GRADLE)</react_native_1.Text>
|
|
355
78
|
</react_native_1.View>
|
|
356
|
-
{
|
|
357
|
-
<NetworkIcons_1.CheckIcon size={10}
|
|
79
|
+
{i.status==="completed"&&<react_native_1.View style={styles.completedBadge}>
|
|
80
|
+
<NetworkIcons_1.CheckIcon size={10}color={AppColors_1.AppColors.emerald500}/>
|
|
358
81
|
<react_native_1.Text style={styles.completedBadgeText}>100% Ready</react_native_1.Text>
|
|
359
|
-
</react_native_1.View>
|
|
82
|
+
</react_native_1.View>}
|
|
360
83
|
</react_native_1.View>
|
|
361
84
|
|
|
362
85
|
|
|
363
86
|
<react_native_1.View style={styles.subTabStrip}>
|
|
364
|
-
<react_native_1.TouchableOpacity disabled={
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
<react_native_1.Text style={[
|
|
372
|
-
styles.subTabText,
|
|
373
|
-
selectedScheme === 'assembleRelease' && styles.subTabTextActive,
|
|
374
|
-
]}>
|
|
375
|
-
⚡ Release (assembleRelease)
|
|
376
|
-
</react_native_1.Text>
|
|
87
|
+
<react_native_1.TouchableOpacity disabled={b}activeOpacity={.7}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),v("assembleRelease")}}style={[styles.subTabItem,g==="assembleRelease"&&styles.subTabItemActive]}>
|
|
88
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:5}}>
|
|
89
|
+
<NetworkIcons_1.BoltIcon size={12}color={g==="assembleRelease"?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}/>
|
|
90
|
+
<react_native_1.Text style={[styles.subTabText,g==="assembleRelease"&&styles.subTabTextActive]}>
|
|
91
|
+
Release (assembleRelease)
|
|
92
|
+
</react_native_1.Text>
|
|
93
|
+
</react_native_1.View>
|
|
377
94
|
</react_native_1.TouchableOpacity>
|
|
378
95
|
|
|
379
|
-
<react_native_1.TouchableOpacity disabled={
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
<react_native_1.Text style={[
|
|
387
|
-
styles.subTabText,
|
|
388
|
-
selectedScheme === 'assembleDebug' && styles.subTabTextActive,
|
|
389
|
-
]}>
|
|
390
|
-
🛠 Debug (assembleDebug)
|
|
391
|
-
</react_native_1.Text>
|
|
96
|
+
<react_native_1.TouchableOpacity disabled={b}activeOpacity={.7}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),v("assembleDebug")}}style={[styles.subTabItem,g==="assembleDebug"&&styles.subTabItemActive]}>
|
|
97
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:5}}>
|
|
98
|
+
<NetworkIcons_1.WrenchIcon size={12}color={g==="assembleDebug"?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}/>
|
|
99
|
+
<react_native_1.Text style={[styles.subTabText,g==="assembleDebug"&&styles.subTabTextActive]}>
|
|
100
|
+
Debug (assembleDebug)
|
|
101
|
+
</react_native_1.Text>
|
|
102
|
+
</react_native_1.View>
|
|
392
103
|
</react_native_1.TouchableOpacity>
|
|
393
104
|
</react_native_1.View>
|
|
394
105
|
|
|
395
106
|
|
|
396
|
-
<react_native_1.TouchableOpacity disabled={
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
}} style={styles.cleanRow}>
|
|
400
|
-
<react_native_1.View style={[
|
|
401
|
-
styles.checkboxBox,
|
|
402
|
-
isCleanBuild && styles.checkboxBoxActive,
|
|
403
|
-
]}>
|
|
404
|
-
{isCleanBuild && <NetworkIcons_1.CheckIcon size={11} color={AppColors_1.AppColors.white}/>}
|
|
107
|
+
<react_native_1.TouchableOpacity disabled={b}activeOpacity={.7}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),k(!f)}}style={styles.cleanRow}>
|
|
108
|
+
<react_native_1.View style={[styles.checkboxBox,f&&styles.checkboxBoxActive]}>
|
|
109
|
+
{f&&<NetworkIcons_1.CheckIcon size={11}color={AppColors_1.AppColors.white}/>}
|
|
405
110
|
</react_native_1.View>
|
|
406
111
|
<react_native_1.Text style={styles.cleanLabel}>
|
|
407
112
|
Clean build cache <react_native_1.Text style={styles.cleanCode}>(./gradlew clean)</react_native_1.Text>
|
|
@@ -409,590 +114,84 @@ const DebuggingTab = () => {
|
|
|
409
114
|
</react_native_1.TouchableOpacity>
|
|
410
115
|
|
|
411
116
|
|
|
412
|
-
{
|
|
117
|
+
{b&&<react_native_1.View style={styles.progressContainer}>
|
|
413
118
|
<react_native_1.View style={styles.progressTopRow}>
|
|
414
119
|
<react_native_1.View style={styles.progressTaskGroup}>
|
|
415
|
-
<react_native_1.ActivityIndicator size="small"
|
|
416
|
-
<react_native_1.Text style={styles.progressTaskText}
|
|
417
|
-
{
|
|
120
|
+
<react_native_1.ActivityIndicator size="small"color={AppColors_1.AppColors.purple}/>
|
|
121
|
+
<react_native_1.Text style={styles.progressTaskText}numberOfLines={1}>
|
|
122
|
+
{i.currentTask||"Executing Gradle tasks..."}
|
|
418
123
|
</react_native_1.Text>
|
|
419
124
|
</react_native_1.View>
|
|
420
125
|
<react_native_1.Text style={styles.progressPercentageText}>
|
|
421
|
-
{
|
|
126
|
+
{i.progress}%
|
|
422
127
|
</react_native_1.Text>
|
|
423
128
|
</react_native_1.View>
|
|
424
129
|
|
|
425
130
|
|
|
426
131
|
<react_native_1.View style={styles.progressBarTrack}>
|
|
427
|
-
<react_native_1.Animated.View style={[
|
|
428
|
-
styles.progressBarFill,
|
|
429
|
-
{
|
|
430
|
-
width: progressAnim.interpolate({
|
|
431
|
-
inputRange: [0, 100],
|
|
432
|
-
outputRange: ['5%', '100%'],
|
|
433
|
-
}),
|
|
434
|
-
},
|
|
435
|
-
]}/>
|
|
132
|
+
<react_native_1.Animated.View style={[styles.progressBarFill,{width:_.interpolate({inputRange:[0,100],outputRange:["5%","100%"]})}]}/>
|
|
436
133
|
</react_native_1.View>
|
|
437
|
-
</react_native_1.View>
|
|
134
|
+
</react_native_1.View>}
|
|
438
135
|
|
|
439
136
|
|
|
440
|
-
{
|
|
441
|
-
<NetworkIcons_1.CircleXIcon size={13}
|
|
442
|
-
<react_native_1.Text style={styles.errorText}
|
|
443
|
-
{
|
|
137
|
+
{i.status==="failed"&&<react_native_1.View style={styles.errorContainer}>
|
|
138
|
+
<NetworkIcons_1.CircleXIcon size={13}color={AppColors_1.AppColors.errorColor}/>
|
|
139
|
+
<react_native_1.Text style={styles.errorText}numberOfLines={2}>
|
|
140
|
+
{i.error||"Build execution failed."}
|
|
444
141
|
</react_native_1.Text>
|
|
445
|
-
</react_native_1.View>
|
|
142
|
+
</react_native_1.View>}
|
|
446
143
|
|
|
447
144
|
|
|
448
|
-
{(
|
|
145
|
+
{(i.logs&&i.logs.length>0||b)&&<react_native_1.View style={styles.consoleContainer}>
|
|
449
146
|
<react_native_1.View style={styles.consoleHeaderRow}>
|
|
450
|
-
<react_native_1.View style={{
|
|
451
|
-
<TerminalConsoleIcon color="#38BDF8"
|
|
147
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
148
|
+
<TerminalConsoleIcon color="#38BDF8"size={12}/>
|
|
452
149
|
<react_native_1.Text style={styles.consoleHeaderTitle}>GRADLE VERBOSE OUTPUT</react_native_1.Text>
|
|
453
150
|
</react_native_1.View>
|
|
454
|
-
<react_native_1.TouchableOpacity activeOpacity={
|
|
151
|
+
<react_native_1.TouchableOpacity activeOpacity={.7}onPress={()=>I(!m)}style={styles.consoleToggleBtn}>
|
|
455
152
|
<react_native_1.Text style={styles.consoleToggleText}>
|
|
456
|
-
{
|
|
153
|
+
{m?"Hide Console":"Show Console"}
|
|
457
154
|
</react_native_1.Text>
|
|
458
155
|
</react_native_1.TouchableOpacity>
|
|
459
156
|
</react_native_1.View>
|
|
460
157
|
|
|
461
|
-
{
|
|
462
|
-
{
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
logColor = '#38BDF8';
|
|
466
|
-
else if (logLine.includes('BUILD SUCCESSFUL'))
|
|
467
|
-
logColor = '#4ADE80';
|
|
468
|
-
else if (logLine.includes('FAILURE') || logLine.includes('error:'))
|
|
469
|
-
logColor = '#F87171';
|
|
470
|
-
else if (logLine.includes('UP-TO-DATE'))
|
|
471
|
-
logColor = '#A78BFA';
|
|
472
|
-
return (<react_native_1.Text key={idx} style={[styles.consoleLogLine, { color: logColor }]}>
|
|
473
|
-
{logLine}
|
|
474
|
-
</react_native_1.Text>);
|
|
475
|
-
})) : (<react_native_1.Text style={styles.consoleLogPlaceholder}>
|
|
158
|
+
{m&&<react_native_1.ScrollView ref={S}style={styles.consoleLogBox}contentContainerStyle={styles.consoleLogContent}nestedScrollEnabled showsVerticalScrollIndicator>
|
|
159
|
+
{i.logs&&i.logs.length>0?i.logs.map((a,s)=>{let t="#94A3B8";return a.startsWith("> Task :")?t="#38BDF8":a.includes("BUILD SUCCESSFUL")?t="#4ADE80":a.includes("FAILURE")||a.includes("error:")?t="#F87171":a.includes("UP-TO-DATE")&&(t="#A78BFA"),<react_native_1.Text key={s}style={[styles.consoleLogLine,{color:t}]}>
|
|
160
|
+
{a}
|
|
161
|
+
</react_native_1.Text>}):<react_native_1.Text style={styles.consoleLogPlaceholder}>
|
|
476
162
|
Waiting for Gradle daemon output...
|
|
477
|
-
</react_native_1.Text>
|
|
478
|
-
</react_native_1.ScrollView>
|
|
479
|
-
</react_native_1.View>
|
|
163
|
+
</react_native_1.Text>}
|
|
164
|
+
</react_native_1.ScrollView>}
|
|
165
|
+
</react_native_1.View>}
|
|
480
166
|
|
|
481
167
|
|
|
482
|
-
{
|
|
168
|
+
{b?<react_native_1.View style={styles.buildingActionsRow}>
|
|
483
169
|
<react_native_1.View style={styles.buildingStatusPill}>
|
|
484
|
-
<react_native_1.ActivityIndicator size="small"
|
|
485
|
-
<react_native_1.Text style={styles.buildingStatusPillText}
|
|
486
|
-
Building ({
|
|
170
|
+
<react_native_1.ActivityIndicator size="small"color={AppColors_1.AppColors.purple}/>
|
|
171
|
+
<react_native_1.Text style={styles.buildingStatusPillText}numberOfLines={1}>
|
|
172
|
+
Building ({i.progress}%)
|
|
487
173
|
</react_native_1.Text>
|
|
488
174
|
</react_native_1.View>
|
|
489
175
|
|
|
490
|
-
<TouchableScale_1.default onPress={
|
|
491
|
-
<NetworkIcons_1.CircleXIcon size={13}
|
|
176
|
+
<TouchableScale_1.default onPress={D}style={styles.stopBtn}>
|
|
177
|
+
<NetworkIcons_1.CircleXIcon size={13}color={AppColors_1.AppColors.white}/>
|
|
492
178
|
<react_native_1.Text style={styles.stopBtnText}>Stop Build</react_native_1.Text>
|
|
493
179
|
</TouchableScale_1.default>
|
|
494
|
-
</react_native_1.View
|
|
180
|
+
</react_native_1.View>:<TouchableScale_1.default onPress={F}style={styles.generateBtn}>
|
|
495
181
|
<react_native_1.View style={styles.ctaContentRow}>
|
|
496
|
-
<NetworkIcons_1.SparkleIcon size={14}
|
|
182
|
+
<NetworkIcons_1.SparkleIcon size={14}color={AppColors_1.AppColors.white}/>
|
|
497
183
|
<react_native_1.Text style={styles.generateBtnText}>
|
|
498
|
-
{
|
|
184
|
+
{f?"Clean & Generate Build":"Generate Build"}
|
|
499
185
|
</react_native_1.Text>
|
|
500
186
|
</react_native_1.View>
|
|
501
|
-
</TouchableScale_1.default>
|
|
187
|
+
</TouchableScale_1.default>}
|
|
502
188
|
</react_native_1.View>
|
|
503
189
|
|
|
504
190
|
|
|
505
191
|
<react_native_1.View style={styles.footerNoteRow}>
|
|
506
|
-
<NetworkIcons_1.InfoCircleIcon size={13}
|
|
192
|
+
<NetworkIcons_1.InfoCircleIcon size={13}color={AppColors_1.AppColors.grayTextWeak}/>
|
|
507
193
|
<react_native_1.Text style={styles.footerNoteText}>
|
|
508
194
|
Ensure both Android devices are connected to the same Wi-Fi network.
|
|
509
195
|
</react_native_1.Text>
|
|
510
196
|
</react_native_1.View>
|
|
511
|
-
</react_native_1.ScrollView>);
|
|
512
|
-
};
|
|
513
|
-
exports.DebuggingTab = DebuggingTab;
|
|
514
|
-
const styles = react_native_1.StyleSheet.create({
|
|
515
|
-
scrollArea: {
|
|
516
|
-
flex: 1,
|
|
517
|
-
backgroundColor: AppColors_1.AppColors.contentBg,
|
|
518
|
-
},
|
|
519
|
-
scrollContent: {
|
|
520
|
-
padding: 12,
|
|
521
|
-
gap: 12,
|
|
522
|
-
paddingBottom: 100,
|
|
523
|
-
},
|
|
524
|
-
heroCard: {
|
|
525
|
-
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
526
|
-
borderRadius: 14,
|
|
527
|
-
borderWidth: 1,
|
|
528
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
529
|
-
padding: 14,
|
|
530
|
-
shadowColor: AppColors_1.AppColors.black,
|
|
531
|
-
shadowOpacity: 0.04,
|
|
532
|
-
shadowRadius: 4,
|
|
533
|
-
shadowOffset: { width: 0, height: 2 },
|
|
534
|
-
elevation: 1,
|
|
535
|
-
gap: 12,
|
|
536
|
-
},
|
|
537
|
-
heroHeader: {
|
|
538
|
-
flexDirection: 'row',
|
|
539
|
-
alignItems: 'center',
|
|
540
|
-
gap: 10,
|
|
541
|
-
},
|
|
542
|
-
heroIconWrap: {
|
|
543
|
-
width: 38,
|
|
544
|
-
height: 38,
|
|
545
|
-
borderRadius: 10,
|
|
546
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
547
|
-
alignItems: 'center',
|
|
548
|
-
justifyContent: 'center',
|
|
549
|
-
shadowColor: AppColors_1.AppColors.purple,
|
|
550
|
-
shadowOpacity: 0.25,
|
|
551
|
-
shadowRadius: 4,
|
|
552
|
-
shadowOffset: { width: 0, height: 2 },
|
|
553
|
-
elevation: 2,
|
|
554
|
-
},
|
|
555
|
-
heroTitle: {
|
|
556
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
557
|
-
fontSize: 15,
|
|
558
|
-
color: AppColors_1.AppColors.primaryBlack,
|
|
559
|
-
letterSpacing: -0.2,
|
|
560
|
-
},
|
|
561
|
-
heroSubtitle: {
|
|
562
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
563
|
-
fontSize: 11.5,
|
|
564
|
-
color: AppColors_1.AppColors.grayText,
|
|
565
|
-
marginTop: 1,
|
|
566
|
-
},
|
|
567
|
-
heroBadge: {
|
|
568
|
-
flexDirection: 'row',
|
|
569
|
-
alignItems: 'center',
|
|
570
|
-
gap: 4,
|
|
571
|
-
backgroundColor: `${AppColors_1.AppColors.emerald500}18`,
|
|
572
|
-
paddingHorizontal: 7,
|
|
573
|
-
paddingVertical: 3,
|
|
574
|
-
borderRadius: 6,
|
|
575
|
-
},
|
|
576
|
-
pulseDot: {
|
|
577
|
-
width: 6,
|
|
578
|
-
height: 6,
|
|
579
|
-
borderRadius: 3,
|
|
580
|
-
backgroundColor: AppColors_1.AppColors.emerald500,
|
|
581
|
-
},
|
|
582
|
-
heroBadgeText: {
|
|
583
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
584
|
-
fontSize: 9.5,
|
|
585
|
-
color: AppColors_1.AppColors.emerald500,
|
|
586
|
-
},
|
|
587
|
-
heroMetricsStrip: {
|
|
588
|
-
flexDirection: 'row',
|
|
589
|
-
alignItems: 'center',
|
|
590
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
591
|
-
borderRadius: 10,
|
|
592
|
-
paddingVertical: 8,
|
|
593
|
-
paddingHorizontal: 10,
|
|
594
|
-
},
|
|
595
|
-
heroMetricItem: {
|
|
596
|
-
flex: 1,
|
|
597
|
-
alignItems: 'center',
|
|
598
|
-
paddingHorizontal: 2,
|
|
599
|
-
minWidth: 0,
|
|
600
|
-
},
|
|
601
|
-
heroMetricLabel: {
|
|
602
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
603
|
-
fontSize: 8.5,
|
|
604
|
-
color: AppColors_1.AppColors.grayTextWeak,
|
|
605
|
-
letterSpacing: 0.4,
|
|
606
|
-
},
|
|
607
|
-
heroMetricValue: {
|
|
608
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
609
|
-
fontSize: 11,
|
|
610
|
-
color: AppColors_1.AppColors.primaryBlack,
|
|
611
|
-
marginTop: 2,
|
|
612
|
-
},
|
|
613
|
-
heroMetricDivider: {
|
|
614
|
-
width: 1,
|
|
615
|
-
height: 20,
|
|
616
|
-
backgroundColor: AppColors_1.AppColors.dividerColor,
|
|
617
|
-
},
|
|
618
|
-
sectionCard: {
|
|
619
|
-
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
620
|
-
borderRadius: 14,
|
|
621
|
-
borderWidth: 1,
|
|
622
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
623
|
-
padding: 14,
|
|
624
|
-
shadowColor: AppColors_1.AppColors.black,
|
|
625
|
-
shadowOpacity: 0.03,
|
|
626
|
-
shadowRadius: 3,
|
|
627
|
-
shadowOffset: { width: 0, height: 1 },
|
|
628
|
-
elevation: 1,
|
|
629
|
-
gap: 12,
|
|
630
|
-
},
|
|
631
|
-
sectionHeaderRow: {
|
|
632
|
-
flexDirection: 'row',
|
|
633
|
-
alignItems: 'center',
|
|
634
|
-
justifyContent: 'space-between',
|
|
635
|
-
},
|
|
636
|
-
sectionTitle: {
|
|
637
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
638
|
-
fontSize: 10.5,
|
|
639
|
-
color: AppColors_1.AppColors.grayTextWeak,
|
|
640
|
-
letterSpacing: 0.8,
|
|
641
|
-
textTransform: 'uppercase',
|
|
642
|
-
},
|
|
643
|
-
refreshBtn: {
|
|
644
|
-
flexDirection: 'row',
|
|
645
|
-
alignItems: 'center',
|
|
646
|
-
gap: 4,
|
|
647
|
-
paddingHorizontal: 7,
|
|
648
|
-
paddingVertical: 3,
|
|
649
|
-
borderRadius: 6,
|
|
650
|
-
backgroundColor: `${AppColors_1.AppColors.purple}12`,
|
|
651
|
-
},
|
|
652
|
-
refreshBtnText: {
|
|
653
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
654
|
-
fontSize: 10,
|
|
655
|
-
color: AppColors_1.AppColors.purple,
|
|
656
|
-
},
|
|
657
|
-
qrCenteredWrapper: {
|
|
658
|
-
alignItems: 'center',
|
|
659
|
-
justifyContent: 'center',
|
|
660
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
661
|
-
padding: 12,
|
|
662
|
-
borderRadius: 12,
|
|
663
|
-
borderWidth: 1,
|
|
664
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
665
|
-
},
|
|
666
|
-
qrInnerFrame: {
|
|
667
|
-
backgroundColor: AppColors_1.AppColors.white,
|
|
668
|
-
padding: 6,
|
|
669
|
-
borderRadius: 8,
|
|
670
|
-
},
|
|
671
|
-
urlBox: {
|
|
672
|
-
flexDirection: 'row',
|
|
673
|
-
alignItems: 'center',
|
|
674
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
675
|
-
borderRadius: 10,
|
|
676
|
-
paddingLeft: 10,
|
|
677
|
-
paddingRight: 6,
|
|
678
|
-
paddingVertical: 6,
|
|
679
|
-
borderWidth: 1,
|
|
680
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
681
|
-
gap: 8,
|
|
682
|
-
},
|
|
683
|
-
urlText: {
|
|
684
|
-
flex: 1,
|
|
685
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
686
|
-
fontSize: 11.5,
|
|
687
|
-
color: AppColors_1.AppColors.skyBlue,
|
|
688
|
-
},
|
|
689
|
-
actionsRow: {
|
|
690
|
-
flexDirection: 'row',
|
|
691
|
-
gap: 10,
|
|
692
|
-
},
|
|
693
|
-
actionBtnSecondary: {
|
|
694
|
-
flex: 1,
|
|
695
|
-
flexDirection: 'row',
|
|
696
|
-
alignItems: 'center',
|
|
697
|
-
justifyContent: 'center',
|
|
698
|
-
gap: 6,
|
|
699
|
-
paddingVertical: 9,
|
|
700
|
-
borderRadius: 10,
|
|
701
|
-
borderWidth: 1,
|
|
702
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
703
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
704
|
-
},
|
|
705
|
-
actionBtnSecondaryText: {
|
|
706
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
707
|
-
fontSize: 12,
|
|
708
|
-
color: AppColors_1.AppColors.grayTextStrong,
|
|
709
|
-
},
|
|
710
|
-
actionBtnPrimary: {
|
|
711
|
-
flex: 1,
|
|
712
|
-
flexDirection: 'row',
|
|
713
|
-
alignItems: 'center',
|
|
714
|
-
justifyContent: 'center',
|
|
715
|
-
gap: 6,
|
|
716
|
-
paddingVertical: 9,
|
|
717
|
-
borderRadius: 10,
|
|
718
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
719
|
-
shadowColor: AppColors_1.AppColors.purple,
|
|
720
|
-
shadowOpacity: 0.25,
|
|
721
|
-
shadowRadius: 4,
|
|
722
|
-
shadowOffset: { width: 0, height: 2 },
|
|
723
|
-
elevation: 2,
|
|
724
|
-
},
|
|
725
|
-
actionBtnPrimaryText: {
|
|
726
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
727
|
-
fontSize: 12,
|
|
728
|
-
color: AppColors_1.AppColors.white,
|
|
729
|
-
},
|
|
730
|
-
completedBadge: {
|
|
731
|
-
flexDirection: 'row',
|
|
732
|
-
alignItems: 'center',
|
|
733
|
-
gap: 3,
|
|
734
|
-
backgroundColor: `${AppColors_1.AppColors.emerald500}18`,
|
|
735
|
-
paddingHorizontal: 6,
|
|
736
|
-
paddingVertical: 2,
|
|
737
|
-
borderRadius: 5,
|
|
738
|
-
},
|
|
739
|
-
completedBadgeText: {
|
|
740
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
741
|
-
fontSize: 9.5,
|
|
742
|
-
color: AppColors_1.AppColors.emerald500,
|
|
743
|
-
},
|
|
744
|
-
subTabStrip: {
|
|
745
|
-
flexDirection: 'row',
|
|
746
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
747
|
-
borderRadius: 8,
|
|
748
|
-
padding: 2,
|
|
749
|
-
borderWidth: 1,
|
|
750
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
751
|
-
},
|
|
752
|
-
subTabItem: {
|
|
753
|
-
flex: 1,
|
|
754
|
-
paddingVertical: 7,
|
|
755
|
-
borderRadius: 6,
|
|
756
|
-
alignItems: 'center',
|
|
757
|
-
justifyContent: 'center',
|
|
758
|
-
},
|
|
759
|
-
subTabItemActive: {
|
|
760
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
761
|
-
shadowColor: AppColors_1.AppColors.purple,
|
|
762
|
-
shadowOpacity: 0.2,
|
|
763
|
-
shadowRadius: 3,
|
|
764
|
-
shadowOffset: { width: 0, height: 1 },
|
|
765
|
-
elevation: 1,
|
|
766
|
-
},
|
|
767
|
-
subTabText: {
|
|
768
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
769
|
-
fontSize: 11,
|
|
770
|
-
color: AppColors_1.AppColors.grayText,
|
|
771
|
-
},
|
|
772
|
-
subTabTextActive: {
|
|
773
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
774
|
-
color: AppColors_1.AppColors.white,
|
|
775
|
-
},
|
|
776
|
-
cleanRow: {
|
|
777
|
-
flexDirection: 'row',
|
|
778
|
-
alignItems: 'center',
|
|
779
|
-
gap: 8,
|
|
780
|
-
paddingVertical: 2,
|
|
781
|
-
},
|
|
782
|
-
checkboxBox: {
|
|
783
|
-
width: 18,
|
|
784
|
-
height: 18,
|
|
785
|
-
borderRadius: 4,
|
|
786
|
-
borderWidth: 1.5,
|
|
787
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
788
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
789
|
-
alignItems: 'center',
|
|
790
|
-
justifyContent: 'center',
|
|
791
|
-
},
|
|
792
|
-
checkboxBoxActive: {
|
|
793
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
794
|
-
borderColor: AppColors_1.AppColors.purple,
|
|
795
|
-
},
|
|
796
|
-
cleanLabel: {
|
|
797
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
798
|
-
fontSize: 11.5,
|
|
799
|
-
color: AppColors_1.AppColors.grayTextStrong,
|
|
800
|
-
},
|
|
801
|
-
cleanCode: {
|
|
802
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
803
|
-
color: AppColors_1.AppColors.grayTextWeak,
|
|
804
|
-
fontSize: 10.5,
|
|
805
|
-
},
|
|
806
|
-
progressContainer: {
|
|
807
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
808
|
-
borderRadius: 10,
|
|
809
|
-
padding: 10,
|
|
810
|
-
gap: 6,
|
|
811
|
-
borderWidth: 1,
|
|
812
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
813
|
-
},
|
|
814
|
-
progressTopRow: {
|
|
815
|
-
flexDirection: 'row',
|
|
816
|
-
alignItems: 'center',
|
|
817
|
-
justifyContent: 'space-between',
|
|
818
|
-
},
|
|
819
|
-
progressTaskGroup: {
|
|
820
|
-
flexDirection: 'row',
|
|
821
|
-
alignItems: 'center',
|
|
822
|
-
gap: 6,
|
|
823
|
-
flex: 1,
|
|
824
|
-
paddingRight: 8,
|
|
825
|
-
},
|
|
826
|
-
progressTaskText: {
|
|
827
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
828
|
-
fontSize: 11,
|
|
829
|
-
color: AppColors_1.AppColors.primaryBlack,
|
|
830
|
-
flex: 1,
|
|
831
|
-
},
|
|
832
|
-
progressPercentageText: {
|
|
833
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
834
|
-
fontSize: 11.5,
|
|
835
|
-
color: AppColors_1.AppColors.purple,
|
|
836
|
-
},
|
|
837
|
-
progressBarTrack: {
|
|
838
|
-
width: '100%',
|
|
839
|
-
height: 6,
|
|
840
|
-
borderRadius: 3,
|
|
841
|
-
backgroundColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
842
|
-
overflow: 'hidden',
|
|
843
|
-
},
|
|
844
|
-
progressBarFill: {
|
|
845
|
-
height: '100%',
|
|
846
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
847
|
-
borderRadius: 3,
|
|
848
|
-
},
|
|
849
|
-
errorContainer: {
|
|
850
|
-
flexDirection: 'row',
|
|
851
|
-
alignItems: 'center',
|
|
852
|
-
gap: 6,
|
|
853
|
-
backgroundColor: `${AppColors_1.AppColors.errorColor}12`,
|
|
854
|
-
padding: 8,
|
|
855
|
-
borderRadius: 8,
|
|
856
|
-
borderWidth: 1,
|
|
857
|
-
borderColor: `${AppColors_1.AppColors.errorColor}25`,
|
|
858
|
-
},
|
|
859
|
-
errorText: {
|
|
860
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
861
|
-
fontSize: 11,
|
|
862
|
-
color: AppColors_1.AppColors.errorColor,
|
|
863
|
-
flex: 1,
|
|
864
|
-
},
|
|
865
|
-
consoleContainer: {
|
|
866
|
-
backgroundColor: '#0F172A',
|
|
867
|
-
borderRadius: 10,
|
|
868
|
-
borderWidth: 1,
|
|
869
|
-
borderColor: '#1E293B',
|
|
870
|
-
overflow: 'hidden',
|
|
871
|
-
marginTop: 4,
|
|
872
|
-
},
|
|
873
|
-
consoleHeaderRow: {
|
|
874
|
-
flexDirection: 'row',
|
|
875
|
-
alignItems: 'center',
|
|
876
|
-
justifyContent: 'space-between',
|
|
877
|
-
backgroundColor: '#1E293B',
|
|
878
|
-
paddingHorizontal: 10,
|
|
879
|
-
paddingVertical: 6,
|
|
880
|
-
},
|
|
881
|
-
consoleHeaderTitle: {
|
|
882
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
883
|
-
fontSize: 10,
|
|
884
|
-
color: '#38BDF8',
|
|
885
|
-
letterSpacing: 0.5,
|
|
886
|
-
},
|
|
887
|
-
consoleToggleBtn: {
|
|
888
|
-
paddingHorizontal: 6,
|
|
889
|
-
paddingVertical: 2,
|
|
890
|
-
borderRadius: 4,
|
|
891
|
-
backgroundColor: 'rgba(255,255,255,0.1)',
|
|
892
|
-
},
|
|
893
|
-
consoleToggleText: {
|
|
894
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
895
|
-
fontSize: 9.5,
|
|
896
|
-
color: '#94A3B8',
|
|
897
|
-
},
|
|
898
|
-
consoleLogBox: {
|
|
899
|
-
maxHeight: 140,
|
|
900
|
-
paddingHorizontal: 10,
|
|
901
|
-
paddingVertical: 8,
|
|
902
|
-
},
|
|
903
|
-
consoleLogContent: {
|
|
904
|
-
gap: 3,
|
|
905
|
-
},
|
|
906
|
-
consoleLogLine: {
|
|
907
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
908
|
-
fontSize: 10,
|
|
909
|
-
lineHeight: 14,
|
|
910
|
-
},
|
|
911
|
-
consoleLogPlaceholder: {
|
|
912
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
913
|
-
fontSize: 10,
|
|
914
|
-
color: '#64748B',
|
|
915
|
-
fontStyle: 'italic',
|
|
916
|
-
},
|
|
917
|
-
generateBtn: {
|
|
918
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
919
|
-
borderRadius: 10,
|
|
920
|
-
paddingVertical: 10,
|
|
921
|
-
alignItems: 'center',
|
|
922
|
-
justifyContent: 'center',
|
|
923
|
-
shadowColor: AppColors_1.AppColors.purple,
|
|
924
|
-
shadowOpacity: 0.25,
|
|
925
|
-
shadowRadius: 4,
|
|
926
|
-
shadowOffset: { width: 0, height: 2 },
|
|
927
|
-
elevation: 2,
|
|
928
|
-
},
|
|
929
|
-
generateBtnDisabled: {
|
|
930
|
-
opacity: 0.7,
|
|
931
|
-
},
|
|
932
|
-
buildingActionsRow: {
|
|
933
|
-
flexDirection: 'row',
|
|
934
|
-
alignItems: 'center',
|
|
935
|
-
gap: 10,
|
|
936
|
-
},
|
|
937
|
-
buildingStatusPill: {
|
|
938
|
-
flex: 1,
|
|
939
|
-
flexDirection: 'row',
|
|
940
|
-
alignItems: 'center',
|
|
941
|
-
justifyContent: 'center',
|
|
942
|
-
gap: 8,
|
|
943
|
-
backgroundColor: `${AppColors_1.AppColors.purple}14`,
|
|
944
|
-
borderRadius: 10,
|
|
945
|
-
paddingVertical: 10,
|
|
946
|
-
borderWidth: 1,
|
|
947
|
-
borderColor: `${AppColors_1.AppColors.purple}30`,
|
|
948
|
-
},
|
|
949
|
-
buildingStatusPillText: {
|
|
950
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
951
|
-
fontSize: 12,
|
|
952
|
-
color: AppColors_1.AppColors.purple,
|
|
953
|
-
},
|
|
954
|
-
stopBtn: {
|
|
955
|
-
flexDirection: 'row',
|
|
956
|
-
alignItems: 'center',
|
|
957
|
-
justifyContent: 'center',
|
|
958
|
-
gap: 6,
|
|
959
|
-
backgroundColor: AppColors_1.AppColors.errorColor,
|
|
960
|
-
borderRadius: 10,
|
|
961
|
-
paddingHorizontal: 16,
|
|
962
|
-
paddingVertical: 10,
|
|
963
|
-
shadowColor: AppColors_1.AppColors.errorColor,
|
|
964
|
-
shadowOpacity: 0.25,
|
|
965
|
-
shadowRadius: 4,
|
|
966
|
-
shadowOffset: { width: 0, height: 2 },
|
|
967
|
-
elevation: 2,
|
|
968
|
-
},
|
|
969
|
-
stopBtnText: {
|
|
970
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
971
|
-
fontSize: 12,
|
|
972
|
-
color: AppColors_1.AppColors.white,
|
|
973
|
-
},
|
|
974
|
-
ctaContentRow: {
|
|
975
|
-
flexDirection: 'row',
|
|
976
|
-
alignItems: 'center',
|
|
977
|
-
gap: 6,
|
|
978
|
-
},
|
|
979
|
-
generateBtnText: {
|
|
980
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
981
|
-
fontSize: 12.5,
|
|
982
|
-
color: AppColors_1.AppColors.white,
|
|
983
|
-
},
|
|
984
|
-
footerNoteRow: {
|
|
985
|
-
flexDirection: 'row',
|
|
986
|
-
alignItems: 'center',
|
|
987
|
-
gap: 6,
|
|
988
|
-
paddingHorizontal: 8,
|
|
989
|
-
},
|
|
990
|
-
footerNoteText: {
|
|
991
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
992
|
-
fontSize: 11,
|
|
993
|
-
color: AppColors_1.AppColors.grayTextWeak,
|
|
994
|
-
textAlign: 'center',
|
|
995
|
-
flex: 1,
|
|
996
|
-
},
|
|
997
|
-
});
|
|
998
|
-
exports.default = exports.DebuggingTab;
|
|
197
|
+
</react_native_1.ScrollView>};exports.DebuggingTab=DebuggingTab;const styles=react_native_1.StyleSheet.create({scrollArea:{flex:1,backgroundColor:AppColors_1.AppColors.contentBg},scrollContent:{padding:12,gap:12,paddingBottom:100},heroCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:14,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.04,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:1,gap:12},heroHeader:{flexDirection:"row",alignItems:"center",gap:10},heroIconWrap:{width:38,height:38,borderRadius:10,backgroundColor:AppColors_1.AppColors.purple,alignItems:"center",justifyContent:"center",shadowColor:AppColors_1.AppColors.purple,shadowOpacity:.25,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2},heroTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:15,color:AppColors_1.AppColors.primaryBlack,letterSpacing:-.2},heroSubtitle:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11.5,color:AppColors_1.AppColors.grayText,marginTop:1},heroBadge:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:`${AppColors_1.AppColors.emerald500}18`,paddingHorizontal:7,paddingVertical:3,borderRadius:6},pulseDot:{width:6,height:6,borderRadius:3,backgroundColor:AppColors_1.AppColors.emerald500},heroBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:AppColors_1.AppColors.emerald500},heroMetricsStrip:{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,paddingVertical:8,paddingHorizontal:10},heroMetricItem:{flex:1,alignItems:"center",paddingHorizontal:2,minWidth:0},heroMetricLabel:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.4},heroMetricValue:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.primaryBlack,marginTop:2},heroMetricDivider:{width:1,height:20,backgroundColor:AppColors_1.AppColors.dividerColor},sectionCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:14,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.03,shadowRadius:3,shadowOffset:{width:0,height:1},elevation:1,gap:12},sectionHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},sectionTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.8,textTransform:"uppercase"},refreshBtn:{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:7,paddingVertical:3,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.purple}12`},refreshBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:AppColors_1.AppColors.purple},qrCenteredWrapper:{alignItems:"center",justifyContent:"center",backgroundColor:AppColors_1.AppColors.grayBackground,padding:12,borderRadius:12,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary},qrInnerFrame:{backgroundColor:AppColors_1.AppColors.white,padding:6,borderRadius:8},urlBox:{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,paddingLeft:10,paddingRight:6,paddingVertical:6,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:8},urlText:{flex:1,fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11.5,color:AppColors_1.AppColors.skyBlue},actionsRow:{flexDirection:"row",gap:10},actionBtnSecondary:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,paddingVertical:9,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:AppColors_1.AppColors.grayBackground},actionBtnSecondaryText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.grayTextStrong},actionBtnPrimary:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,paddingVertical:9,borderRadius:10,backgroundColor:AppColors_1.AppColors.purple,shadowColor:AppColors_1.AppColors.purple,shadowOpacity:.25,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2},actionBtnPrimaryText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.white},completedBadge:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:`${AppColors_1.AppColors.emerald500}18`,paddingHorizontal:6,paddingVertical:2,borderRadius:5},completedBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:AppColors_1.AppColors.emerald500},subTabStrip:{flexDirection:"row",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:8,padding:2,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary},subTabItem:{flex:1,paddingVertical:7,borderRadius:6,alignItems:"center",justifyContent:"center"},subTabItemActive:{backgroundColor:AppColors_1.AppColors.purple,shadowColor:AppColors_1.AppColors.purple,shadowOpacity:.2,shadowRadius:3,shadowOffset:{width:0,height:1},elevation:1},subTabText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayText},subTabTextActive:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.white},cleanRow:{flexDirection:"row",alignItems:"center",gap:8,paddingVertical:2},checkboxBox:{width:18,height:18,borderRadius:4,borderWidth:1.5,borderColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center"},checkboxBoxActive:{backgroundColor:AppColors_1.AppColors.purple,borderColor:AppColors_1.AppColors.purple},cleanLabel:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11.5,color:AppColors_1.AppColors.grayTextStrong},cleanCode:{fontFamily:AppFonts_1.AppFonts.interRegular,color:AppColors_1.AppColors.grayTextWeak,fontSize:10.5},progressContainer:{backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,padding:10,gap:6,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary},progressTopRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},progressTaskGroup:{flexDirection:"row",alignItems:"center",gap:6,flex:1,paddingRight:8},progressTaskText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.primaryBlack,flex:1},progressPercentageText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,color:AppColors_1.AppColors.purple},progressBarTrack:{width:"100%",height:6,borderRadius:3,backgroundColor:AppColors_1.AppColors.grayBorderSecondary,overflow:"hidden"},progressBarFill:{height:"100%",backgroundColor:AppColors_1.AppColors.purple,borderRadius:3},errorContainer:{flexDirection:"row",alignItems:"center",gap:6,backgroundColor:`${AppColors_1.AppColors.errorColor}12`,padding:8,borderRadius:8,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}25`},errorText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.errorColor,flex:1},consoleContainer:{backgroundColor:"#0F172A",borderRadius:10,borderWidth:1,borderColor:"#1E293B",overflow:"hidden",marginTop:4},consoleHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:"#1E293B",paddingHorizontal:10,paddingVertical:6},consoleHeaderTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:"#38BDF8",letterSpacing:.5},consoleToggleBtn:{paddingHorizontal:6,paddingVertical:2,borderRadius:4,backgroundColor:"rgba(255,255,255,0.1)"},consoleToggleText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:9.5,color:"#94A3B8"},consoleLogBox:{maxHeight:140,paddingHorizontal:10,paddingVertical:8},consoleLogContent:{gap:3},consoleLogLine:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,lineHeight:14},consoleLogPlaceholder:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:"#64748B",fontStyle:"italic"},generateBtn:{backgroundColor:AppColors_1.AppColors.purple,borderRadius:10,paddingVertical:10,alignItems:"center",justifyContent:"center",shadowColor:AppColors_1.AppColors.purple,shadowOpacity:.25,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2},generateBtnDisabled:{opacity:.7},buildingActionsRow:{flexDirection:"row",alignItems:"center",gap:10},buildingStatusPill:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:8,backgroundColor:`${AppColors_1.AppColors.purple}14`,borderRadius:10,paddingVertical:10,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}30`},buildingStatusPillText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.purple},stopBtn:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,backgroundColor:AppColors_1.AppColors.errorColor,borderRadius:10,paddingHorizontal:16,paddingVertical:10,shadowColor:AppColors_1.AppColors.errorColor,shadowOpacity:.25,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2},stopBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.white},ctaContentRow:{flexDirection:"row",alignItems:"center",gap:6},generateBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,color:AppColors_1.AppColors.white},footerNoteRow:{flexDirection:"row",alignItems:"center",gap:6,paddingHorizontal:8},footerNoteText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,textAlign:"center",flex:1}});exports.default=exports.DebuggingTab;
|