react-native-inapp-inspector 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ar.md +163 -0
- package/README.de.md +163 -0
- package/README.es.md +164 -0
- package/README.fr.md +163 -0
- package/README.hi.md +163 -0
- package/README.ja.md +180 -0
- package/README.ko.md +163 -0
- package/README.md +340 -243
- package/README.pt-BR.md +163 -0
- package/README.ru.md +163 -0
- package/README.zh-CN.md +387 -0
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +605 -23
- package/assets/banner_dark.svg +186 -0
- package/assets/banner_light.svg +186 -0
- package/assets/icon_circle.svg +148 -0
- package/assets/icon_square.svg +369 -0
- package/assets/inapp_inspector_icon.gif +0 -0
- package/assets/inapp_inspector_icon_original.gif +0 -0
- package/assets/social_preview.png +0 -0
- package/assets/walkthrough.gif +0 -0
- package/dist/commonjs/capture.d.ts +2 -0
- package/dist/commonjs/capture.js +1 -1
- package/dist/commonjs/components/AnalyticsDetail.js +23 -23
- package/dist/commonjs/components/AnalyticsEventCard.js +1 -1
- package/dist/commonjs/components/AnalyticsGraph.js +44 -44
- package/dist/commonjs/components/AnimatedBrandOwl.d.ts +7 -0
- package/dist/commonjs/components/AnimatedBrandOwl.js +175 -0
- package/dist/commonjs/components/AppHeaderLogo.d.ts +1 -0
- package/dist/commonjs/components/AppHeaderLogo.js +5 -3
- package/dist/commonjs/components/BrandCircleIcon.js +28 -28
- package/dist/commonjs/components/BrandSquareIcon.d.ts +5 -0
- package/dist/commonjs/components/BrandSquareIcon.js +139 -0
- package/dist/commonjs/components/ConsoleLogCard.d.ts +2 -1
- package/dist/commonjs/components/ConsoleLogCard.js +23 -39
- package/dist/commonjs/components/Inspector/AboutModal.js +44 -54
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +6 -6
- package/dist/commonjs/components/Inspector/ConfirmationModal.d.ts +13 -0
- package/dist/commonjs/components/Inspector/ConfirmationModal.js +30 -0
- package/dist/commonjs/components/Inspector/ConsoleTab.js +12 -12
- package/dist/commonjs/components/Inspector/CrashTab.js +44 -9
- package/dist/commonjs/components/Inspector/DebuggingTab.js +17 -17
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +1 -1
- package/dist/commonjs/components/Inspector/FabLauncher.js +30 -33
- package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +2 -2
- package/dist/commonjs/components/Inspector/FloatingCaptureWidget.d.ts +3 -0
- package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +54 -0
- package/dist/commonjs/components/Inspector/GlobalCrashScreenModal.d.ts +11 -0
- package/dist/commonjs/components/Inspector/GlobalCrashScreenModal.js +234 -0
- package/dist/commonjs/components/Inspector/InspectorHeader.js +137 -127
- package/dist/commonjs/components/Inspector/LanguageSelectorModal.d.ts +15 -0
- package/dist/commonjs/components/Inspector/LanguageSelectorModal.js +172 -0
- package/dist/commonjs/components/Inspector/MainScreen.js +55 -35
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +40 -35
- package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +36 -0
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +341 -135
- package/dist/commonjs/components/Inspector/NetworkTab.js +50 -50
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +1 -1
- package/dist/commonjs/components/Inspector/PushCard.d.ts +3 -2
- package/dist/commonjs/components/Inspector/PushCard.js +5 -4
- package/dist/commonjs/components/Inspector/PushDetail.js +41 -32
- package/dist/commonjs/components/Inspector/PushTab.js +12 -12
- package/dist/commonjs/components/Inspector/ReduxDetail.js +32 -32
- package/dist/commonjs/components/Inspector/ReduxTab.js +10 -8
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.d.ts +2 -0
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.js +43 -0
- package/dist/commonjs/components/Inspector/SettingsPanel.js +287 -139
- package/dist/commonjs/components/Inspector/SocketCard.d.ts +5 -0
- package/dist/commonjs/components/Inspector/SocketCard.js +116 -0
- package/dist/commonjs/components/Inspector/SocketDetail.d.ts +4 -0
- package/dist/commonjs/components/Inspector/SocketDetail.js +327 -0
- package/dist/commonjs/components/Inspector/SocketFilterModal.d.ts +13 -0
- package/dist/commonjs/components/Inspector/SocketFilterModal.js +69 -0
- package/dist/commonjs/components/Inspector/SocketTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/SocketTab.js +112 -0
- package/dist/commonjs/components/Inspector/StorageTab.js +39 -37
- package/dist/commonjs/components/Inspector/SupportModal.d.ts +7 -0
- package/dist/commonjs/components/Inspector/SupportModal.js +125 -0
- package/dist/commonjs/components/Inspector/SupportPage.d.ts +5 -0
- package/dist/commonjs/components/Inspector/SupportPage.js +227 -0
- package/dist/commonjs/components/Inspector/TabBar.js +24 -23
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +24 -24
- package/dist/commonjs/components/JsonViewer.js +50 -48
- package/dist/commonjs/components/LogCard.d.ts +3 -2
- package/dist/commonjs/components/LogCard.js +27 -25
- package/dist/commonjs/components/LogSyntaxHighlighter.js +5 -5
- package/dist/commonjs/components/ModuleErrorBoundary.js +5 -5
- package/dist/commonjs/components/NetworkIcons.d.ts +42 -0
- package/dist/commonjs/components/NetworkIcons.js +139 -6
- package/dist/commonjs/components/SegmentedTabs.js +1 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/crash.d.ts +1 -1
- package/dist/commonjs/crash.js +1 -1
- package/dist/commonjs/customHooks/crashHandler.d.ts +2 -1
- package/dist/commonjs/customHooks/crashHandler.js +7 -7
- package/dist/commonjs/customHooks/socketLogger.d.ts +26 -0
- package/dist/commonjs/customHooks/socketLogger.js +2 -0
- package/dist/commonjs/editor.d.ts +13 -0
- package/dist/commonjs/editor.js +1 -0
- package/dist/commonjs/helpers/index.d.ts +1 -0
- package/dist/commonjs/helpers/index.js +3 -3
- package/dist/commonjs/helpers/memoryManager.d.ts +1 -0
- package/dist/commonjs/helpers/memoryManager.js +1 -1
- package/dist/commonjs/helpers/searchQueryParser.d.ts +1 -1
- package/dist/commonjs/helpers/searchQueryParser.js +5 -1
- package/dist/commonjs/helpers/settingsStore.d.ts +1 -0
- package/dist/commonjs/helpers/settingsStore.js +1 -1
- package/dist/commonjs/helpers/shareFormatter.d.ts +3 -1
- package/dist/commonjs/helpers/shareFormatter.js +8 -7
- package/dist/commonjs/helpers/telemetry.js +1 -1
- package/dist/commonjs/i18n/index.d.ts +99 -1
- package/dist/commonjs/i18n/index.js +1 -1
- package/dist/commonjs/i18n/locales/ar.json +1 -1
- package/dist/commonjs/i18n/locales/bn.json +1 -0
- package/dist/commonjs/i18n/locales/de.json +1 -1
- package/dist/commonjs/i18n/locales/en.json +1 -1
- package/dist/commonjs/i18n/locales/es.json +1 -1
- package/dist/commonjs/i18n/locales/fr.json +1 -1
- package/dist/commonjs/i18n/locales/gu.json +1 -0
- package/dist/commonjs/i18n/locales/hi.json +1 -1
- package/dist/commonjs/i18n/locales/id.json +1 -0
- package/dist/commonjs/i18n/locales/it.json +1 -0
- package/dist/commonjs/i18n/locales/ja.json +1 -1
- package/dist/commonjs/i18n/locales/kn.json +1 -0
- package/dist/commonjs/i18n/locales/ko.json +1 -1
- package/dist/commonjs/i18n/locales/ml.json +1 -0
- package/dist/commonjs/i18n/locales/mr.json +1 -0
- package/dist/commonjs/i18n/locales/nl.json +1 -0
- package/dist/commonjs/i18n/locales/pa.json +1 -0
- package/dist/commonjs/i18n/locales/pl.json +1 -0
- package/dist/commonjs/i18n/locales/pt.json +1 -1
- package/dist/commonjs/i18n/locales/ru.json +1 -1
- package/dist/commonjs/i18n/locales/ta.json +1 -0
- package/dist/commonjs/i18n/locales/te.json +1 -0
- package/dist/commonjs/i18n/locales/tr.json +1 -0
- package/dist/commonjs/i18n/locales/vi.json +1 -0
- package/dist/commonjs/i18n/locales/zh.json +1 -1
- package/dist/commonjs/index.d.ts +16 -13
- package/dist/commonjs/index.js +5 -4
- package/dist/commonjs/native/NativeInspector.d.ts +4 -0
- package/dist/commonjs/native/NativeInspector.js +1 -1
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +4 -0
- package/dist/commonjs/socket.d.ts +4 -0
- package/dist/commonjs/socket.js +1 -0
- package/dist/commonjs/styles/AppColors.d.ts +42 -2
- package/dist/commonjs/styles/AppColors.js +1 -1
- package/dist/commonjs/styles/common.js +1 -1
- package/dist/commonjs/styles/index.d.ts +30 -0
- package/dist/commonjs/styles/index.js +1 -1
- package/dist/commonjs/types/editor.d.ts +96 -0
- package/dist/commonjs/types/editor.js +1 -0
- package/dist/commonjs/types/enums.d.ts +40 -0
- package/dist/commonjs/types/enums.js +1 -1
- package/dist/commonjs/types/interfaces.d.ts +143 -1
- package/dist/esm/capture.d.ts +2 -0
- package/dist/esm/capture.js +1 -1
- package/dist/esm/components/AnalyticsDetail.js +31 -31
- package/dist/esm/components/AnalyticsEventCard.js +1 -1
- package/dist/esm/components/AnalyticsGraph.js +74 -74
- package/dist/esm/components/AnimatedBrandOwl.d.ts +7 -0
- package/dist/esm/components/AnimatedBrandOwl.js +175 -0
- package/dist/esm/components/AppHeaderLogo.d.ts +1 -0
- package/dist/esm/components/AppHeaderLogo.js +7 -5
- package/dist/esm/components/BrandCircleIcon.js +70 -70
- package/dist/esm/components/BrandSquareIcon.d.ts +5 -0
- package/dist/esm/components/BrandSquareIcon.js +139 -0
- package/dist/esm/components/ConsoleLogCard.d.ts +2 -1
- package/dist/esm/components/ConsoleLogCard.js +61 -77
- package/dist/esm/components/Inspector/AboutModal.js +85 -95
- package/dist/esm/components/Inspector/AnalyticsTab.js +24 -24
- package/dist/esm/components/Inspector/ConfirmationModal.d.ts +13 -0
- package/dist/esm/components/Inspector/ConfirmationModal.js +30 -0
- package/dist/esm/components/Inspector/ConsoleTab.js +48 -48
- package/dist/esm/components/Inspector/CrashTab.js +203 -168
- package/dist/esm/components/Inspector/DebuggingTab.js +29 -29
- package/dist/esm/components/Inspector/DeviceInfoTab.js +75 -75
- package/dist/esm/components/Inspector/FabLauncher.js +57 -60
- package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +7 -7
- package/dist/esm/components/Inspector/FloatingCaptureWidget.d.ts +3 -0
- package/dist/esm/components/Inspector/FloatingCaptureWidget.js +54 -0
- package/dist/esm/components/Inspector/GlobalCrashScreenModal.d.ts +11 -0
- package/dist/esm/components/Inspector/GlobalCrashScreenModal.js +234 -0
- package/dist/esm/components/Inspector/InspectorHeader.js +162 -152
- package/dist/esm/components/Inspector/LanguageSelectorModal.d.ts +15 -0
- package/dist/esm/components/Inspector/LanguageSelectorModal.js +172 -0
- package/dist/esm/components/Inspector/MainScreen.js +130 -110
- package/dist/esm/components/Inspector/MediaGalleryTab.js +83 -78
- package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +36 -0
- package/dist/esm/components/Inspector/MediaPreviewModal.js +345 -139
- package/dist/esm/components/Inspector/NetworkTab.js +130 -130
- package/dist/esm/components/Inspector/NpmUpdateToast.js +1 -1
- package/dist/esm/components/Inspector/PushCard.d.ts +3 -2
- package/dist/esm/components/Inspector/PushCard.js +23 -22
- package/dist/esm/components/Inspector/PushDetail.js +45 -36
- package/dist/esm/components/Inspector/PushTab.js +23 -23
- package/dist/esm/components/Inspector/ReduxDetail.js +42 -42
- package/dist/esm/components/Inspector/ReduxTab.js +20 -18
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.d.ts +2 -0
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.js +43 -0
- package/dist/esm/components/Inspector/SettingsPanel.js +526 -378
- package/dist/esm/components/Inspector/SocketCard.d.ts +5 -0
- package/dist/esm/components/Inspector/SocketCard.js +116 -0
- package/dist/esm/components/Inspector/SocketDetail.d.ts +4 -0
- package/dist/esm/components/Inspector/SocketDetail.js +327 -0
- package/dist/esm/components/Inspector/SocketFilterModal.d.ts +13 -0
- package/dist/esm/components/Inspector/SocketFilterModal.js +69 -0
- package/dist/esm/components/Inspector/SocketTab.d.ts +3 -0
- package/dist/esm/components/Inspector/SocketTab.js +112 -0
- package/dist/esm/components/Inspector/StorageTab.js +139 -137
- package/dist/esm/components/Inspector/SupportModal.d.ts +7 -0
- package/dist/esm/components/Inspector/SupportModal.js +125 -0
- package/dist/esm/components/Inspector/SupportPage.d.ts +5 -0
- package/dist/esm/components/Inspector/SupportPage.js +227 -0
- package/dist/esm/components/Inspector/TabBar.js +36 -35
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +22 -22
- package/dist/esm/components/JsonViewer.js +66 -64
- package/dist/esm/components/LogCard.d.ts +3 -2
- package/dist/esm/components/LogCard.js +57 -55
- package/dist/esm/components/LogSyntaxHighlighter.js +5 -5
- package/dist/esm/components/ModuleErrorBoundary.js +23 -23
- package/dist/esm/components/NetworkIcons.d.ts +42 -0
- package/dist/esm/components/NetworkIcons.js +139 -6
- package/dist/esm/components/SegmentedTabs.js +7 -7
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/crash.d.ts +1 -1
- package/dist/esm/crash.js +1 -1
- package/dist/esm/customHooks/crashHandler.d.ts +2 -1
- package/dist/esm/customHooks/crashHandler.js +7 -7
- package/dist/esm/customHooks/socketLogger.d.ts +26 -0
- package/dist/esm/customHooks/socketLogger.js +2 -0
- package/dist/esm/editor.d.ts +13 -0
- package/dist/esm/editor.js +1 -0
- package/dist/esm/helpers/index.d.ts +1 -0
- package/dist/esm/helpers/index.js +4 -4
- package/dist/esm/helpers/memoryManager.d.ts +1 -0
- package/dist/esm/helpers/memoryManager.js +1 -1
- package/dist/esm/helpers/searchQueryParser.d.ts +1 -1
- package/dist/esm/helpers/searchQueryParser.js +5 -1
- package/dist/esm/helpers/settingsStore.d.ts +1 -0
- package/dist/esm/helpers/settingsStore.js +1 -1
- package/dist/esm/helpers/shareFormatter.d.ts +3 -1
- package/dist/esm/helpers/shareFormatter.js +8 -7
- package/dist/esm/helpers/telemetry.js +1 -1
- package/dist/esm/i18n/index.d.ts +99 -1
- package/dist/esm/i18n/index.js +1 -1
- package/dist/esm/i18n/locales/ar.json +1 -1
- package/dist/esm/i18n/locales/bn.json +1 -0
- package/dist/esm/i18n/locales/de.json +1 -1
- package/dist/esm/i18n/locales/en.json +1 -1
- package/dist/esm/i18n/locales/es.json +1 -1
- package/dist/esm/i18n/locales/fr.json +1 -1
- package/dist/esm/i18n/locales/gu.json +1 -0
- package/dist/esm/i18n/locales/hi.json +1 -1
- package/dist/esm/i18n/locales/id.json +1 -0
- package/dist/esm/i18n/locales/it.json +1 -0
- package/dist/esm/i18n/locales/ja.json +1 -1
- package/dist/esm/i18n/locales/kn.json +1 -0
- package/dist/esm/i18n/locales/ko.json +1 -1
- package/dist/esm/i18n/locales/ml.json +1 -0
- package/dist/esm/i18n/locales/mr.json +1 -0
- package/dist/esm/i18n/locales/nl.json +1 -0
- package/dist/esm/i18n/locales/pa.json +1 -0
- package/dist/esm/i18n/locales/pl.json +1 -0
- package/dist/esm/i18n/locales/pt.json +1 -1
- package/dist/esm/i18n/locales/ru.json +1 -1
- package/dist/esm/i18n/locales/ta.json +1 -0
- package/dist/esm/i18n/locales/te.json +1 -0
- package/dist/esm/i18n/locales/tr.json +1 -0
- package/dist/esm/i18n/locales/vi.json +1 -0
- package/dist/esm/i18n/locales/zh.json +1 -1
- package/dist/esm/index.d.ts +16 -13
- package/dist/esm/index.js +8 -7
- package/dist/esm/native/NativeInspector.d.ts +4 -0
- package/dist/esm/native/NativeInspector.js +1 -1
- package/dist/esm/native/NativeNetworkInspector.d.ts +4 -0
- package/dist/esm/socket.d.ts +4 -0
- package/dist/esm/socket.js +1 -0
- package/dist/esm/styles/AppColors.d.ts +42 -2
- package/dist/esm/styles/AppColors.js +1 -1
- package/dist/esm/styles/common.js +1 -1
- package/dist/esm/styles/index.d.ts +30 -0
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/types/editor.d.ts +96 -0
- package/dist/esm/types/editor.js +1 -0
- package/dist/esm/types/enums.d.ts +40 -0
- package/dist/esm/types/enums.js +1 -1
- package/dist/esm/types/interfaces.d.ts +143 -1
- package/editor.d.ts +1 -0
- package/editor.js +1 -0
- package/ios/NetworkInspectorModule.mm +531 -12
- package/package.json +213 -2
- package/react-native-inapp-inspector.podspec +1 -1
- package/src/native/NativeInspector.ts +65 -4
- package/src/native/NativeNetworkInspector.ts +4 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,i,
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,i,b,n){n===void 0&&(n=b);var A=Object.getOwnPropertyDescriptor(i,b);(!A||("get"in A?!i.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return i[b]}}),Object.defineProperty(o,n,A)}):(function(o,i,b,n){n===void 0&&(n=b),o[n]=i[b]})),__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(b){var n=[];for(var A in b)Object.prototype.hasOwnProperty.call(b,A)&&(n[n.length]=A);return n},o(i)};return function(i){if(i&&i.__esModule)return i;var b={};if(i!=null)for(var n=o(i),A=0;A<n.length;A++)n[A]!=="default"&&__createBinding(b,i,n[A]);return __setModuleDefault(b,i),b}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),react_native_svg_1=__importStar(require("react-native-svg")),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),Slider_1=__importDefault(require("../Slider")),styles_1=require("../../styles"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),settingsStore_1=require("../../helpers/settingsStore"),networkLogger_1=require("../../customHooks/networkLogger"),consoleLogger_1=require("../../customHooks/consoleLogger"),analyticsLogger_1=require("../../customHooks/analyticsLogger"),crashHandler_1=require("../../customHooks/crashHandler"),reduxLogger_1=require("../../customHooks/reduxLogger"),i18n_1=require("../../i18n"),LanguageSelectorModal_1=require("./LanguageSelectorModal"),NetworkIcons_1=require("../NetworkIcons"),capture_1=require("../../capture"),NativeInspector_1=require("../../native/NativeInspector"),helpers_1=require("../../helpers"),toast_1=require("../../helpers/toast"),memoryManager_1=require("../../helpers/memoryManager"),SettingsPanel=()=>{const{t:o}=(0,i18n_1.useTranslation)(),{settingsPage:i,setSettingsPage:b,settingsActiveSubTab:n,setSettingsActiveSubTab:A,tabVisibility:t,toggleTabVisibility:be,defaultTab:S,setDefaultTab:Ae,isDark:F,setIsDark:we,modalHeightPercent:B,setModalHeightPercent:fe,modalAnimationType:_e,setModalAnimationType:me,showDuplicateLogs:G,setShowDuplicateLogs:xe,showUpdateToast:U,setShowUpdateToast:Te,showConsoleLevels:ve,setShowConsoleLevels:Ve,closeModal:Se,logs:q,consoleLogs:K,analyticsEvents:J,reduxState:z,maxConsoleLogs:Q,setMaxConsoleLogs:ke,maxAnalyticsEventsLimit:re,setMaxAnalyticsEventsLimit:Fe,isAutoRamLimitEnabled:f,setIsAutoRamLimitEnabled:Be,deviceFreeRamMb:X,reduxAutoRefresh:Y,setReduxAutoRefreshState:ze,reduxExpandDepth:te,setReduxExpandDepth:Re,setSelected:Ie,setSelectedEvent:He,setReduxState:Le,crashRecords:R,maxCrashLogs:ie,setMaxCrashLogs:De,pushRecords:I,maxPushLogs:Pe,setMaxPushLogs:We,clearAllPushLogs:$e,simulatePush:H,socketRecords:L,maxSocketLogs:Oe,setMaxSocketLogs:Me,clearAllSocketLogs:Ee,simulateSocket:D,captureImageFormat:Z,setCaptureImageFormat:ae,captureAutoHide:_,setCaptureAutoHide:P,captureAudioMode:le,setCaptureAudioMode:ne,captureFps:se,setCaptureFps:pe,captureScale:Ke,setCaptureScale:Je,captureBitrate:Qe,setCaptureBitrate:Xe,captureMaxDurationSeconds:Ye,setCaptureMaxDurationSeconds:Ze,captureAutoGif:m,setCaptureAutoGif:W,peekOpacity:ce,setPeekOpacity:Ne}=(0,InspectorContext_1.useInspector)(),[$,de]=(0,react_1.useState)(B),[je,ge]=(0,react_1.useState)(!1),Ge=(0,i18n_1.getLanguage)(),O=i18n_1.SUPPORTED_LANGUAGES.find(e=>e.code===Ge)||i18n_1.SUPPORTED_LANGUAGES[0];(0,react_1.useEffect)(()=>{de(B)},[B]);const M=(0,settingsStore_1.calculateRamBasedLimits)(X),w=(0,react_1.useMemo)(()=>[{id:1,key:"apis",label:"APIs (Network)",category:"core",icon:"apis",desc:"HTTP/HTTPS requests, GraphQL, Axios & WebSocket inspector"},{id:2,key:"logs",label:"Console Logs",category:"core",icon:"logs",desc:"Terminal console logs, warnings, errors & stack traces"},{id:3,key:"analytics",label:"Analytics Logger",category:"telemetry",icon:"analytics",desc:"Firebase & custom analytics events, user properties & params"},{id:4,key:"redux",label:"Redux Inspector",category:"telemetry",icon:"redux",desc:"Store state diffing, action history & reducer timeline"},{id:5,key:"storage",label:"Storage Inspector",category:"telemetry",icon:"storage",desc:"AsyncStorage & MMKV key-value store viewer with full CRUD support"},{id:6,key:"device",label:"Device Info",category:"diagnostic",icon:"device",desc:"Hardware specs, IP address, screen metrics, UDID & runtime stats"},{id:7,key:"crash",label:"Crash Protection",category:"diagnostic",icon:"crash",desc:"Runtime exception guard, breadcrumbs & memory snapshot"},{id:8,key:"debugging",label:"Multi-Device Debugging",category:"diagnostic",icon:"debugging",desc:"QR Code bridge for direct Debug APK download & Metro live-reload sync"},{id:9,key:"media",label:"Screencast",category:"diagnostic",icon:"media",desc:"Screenshots, video recordings, audio narration & animated GIFs"},{id:10,key:"push",label:"Push Notifications",category:"telemetry",icon:"push",desc:"Universal push & local notification logger (Salesforce, FCM, APNs, Braze, Expo)"},{id:11,key:"socket",label:"WebSocket & Socket.IO",category:"telemetry",icon:"socket",desc:"Real-time WebSocket & Socket.IO message inspector, frames & event logger"}].filter(e=>e.key==="debugging"?react_native_1.Platform.OS==="android"&&(0,helpers_1.isLocalDebugEnvironment)():!0),[]),[v,E]=(0,react_1.useState)(()=>({apis:!0,logs:!!(t?.logs??!0),analytics:!!(t?.analytics??!0),redux:!!(t?.redux??!0),storage:!!(t?.storage??!0),device:!!(t?.device??!0),crash:!!(t?.crash??!0),debugging:!!(t?.debugging??!0),media:!!(t?.media??!0),push:!!(t?.push??!0),socket:!!(t?.socket??!0)}));(0,react_1.useEffect)(()=>{E({apis:!0,logs:!!(t?.logs??!0),analytics:!!(t?.analytics??!0),redux:!!(t?.redux??!0),storage:!!(t?.storage??!0),device:!!(t?.device??!0),crash:!!(t?.crash??!0),debugging:!!(t?.debugging??!0),media:!!(t?.media??!0),push:!!(t?.push??!0),socket:!!(t?.socket??!0)})},[t]);const k=(0,react_1.useMemo)(()=>w.some(e=>!!v[e.key]!=!!t?.[e.key]),[v,t,w]),ue=w.filter(e=>e.key==="apis"||!!v[e.key]).length,N=(0,react_1.useMemo)(()=>w.filter(e=>!(e.key==="apis"||e.key==="redux"&&!(0,reduxLogger_1.isReduxConnected)()||e.key==="analytics"&&!(0,analyticsLogger_1.isAnalyticsConnected)())),[w]),T=(0,react_1.useMemo)(()=>N.length===0?!1:N.every(e=>!!v[e.key]),[N,v]),ye=()=>{const e=!T;E(r=>{const C={...r};return N.forEach(h=>{C[h.key]=e}),C})},Ue=()=>{k&&react_native_1.Alert.alert("Apply Changes & Reload","Are you sure you want to save module changes? The inspector will close and reload the app to apply the new configuration.",[{text:"Cancel",style:"cancel",onPress:()=>{E({apis:!0,logs:!!t?.logs,analytics:!!t?.analytics,redux:!!t?.redux,storage:!!t?.storage,device:!!t?.device,crash:!!t?.crash,debugging:!!t?.debugging,media:!!(t?.media??!0),push:!!(t?.push??!0),socket:!!(t?.socket??!1)})}},{text:"Save & Reload",style:"default",onPress:()=>{(0,InspectorContext_1.animateNextLayout)(),w.forEach(e=>{if(e.key!=="apis"){const r=!!v[e.key],C=!!t?.[e.key];r!==C&&be(e.key)}}),Se(),setTimeout(()=>{__DEV__&&react_native_1.DevSettings&&react_native_1.DevSettings.reload&&react_native_1.DevSettings.reload()},350)}}])},[ee,Ce]=(0,react_1.useState)(!1),a=e=><react_native_1.View style={{paddingVertical:12,borderBottomWidth:e.isLast?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
|
|
2
2
|
<TouchableScale_1.default disabled={!e.onPress}onPress={e.onPress}style={{flexDirection:"row",alignItems:"center",gap:12}}>
|
|
3
3
|
<react_native_1.View style={{width:36,height:36,borderRadius:10,backgroundColor:AppColors_1.AppColors.purpleShade50,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}2E`,alignItems:"center",justifyContent:"center"}}>
|
|
4
4
|
{e.icon}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</TouchableScale_1.default>
|
|
16
16
|
{e.numericInput&&<react_native_1.View style={{marginTop:10,gap:6}}>
|
|
17
17
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:8,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,paddingHorizontal:12,paddingVertical:4}}>
|
|
18
|
-
<react_native_1.TextInput style={{flex:1,fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:14,lineHeight:18,color:AppColors_1.AppColors.primaryBlack,paddingVertical:6}}value={String(e.numericInput.value||"")}onChangeText={r=>{const C=parseInt(r.replace(/[^0-9]/g,""),10);if(!isNaN(C)){const
|
|
18
|
+
<react_native_1.TextInput style={{flex:1,fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:14,lineHeight:18,color:AppColors_1.AppColors.primaryBlack,paddingVertical:6}}value={String(e.numericInput.value||"")}onChangeText={r=>{const C=parseInt(r.replace(/[^0-9]/g,""),10);if(!isNaN(C)){const h=Math.max(e.numericInput?.min??1,Math.min(e.numericInput?.max??1e4,C));e.numericInput?.onChange(h)}}}keyboardType={e.numericInput.keyboardType??"number-pad"}placeholder={e.numericInput.placeholder}placeholderTextColor={AppColors_1.AppColors.grayTextWeak}maxLength={6}selectTextOnFocus/>
|
|
19
19
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.purple,marginLeft:6}}>
|
|
20
20
|
MAX
|
|
21
21
|
</react_native_1.Text>
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
</react_native_1.Text>
|
|
33
33
|
</TouchableScale_1.default>})}
|
|
34
34
|
</react_native_1.View>}
|
|
35
|
-
</react_native_1.View>,
|
|
35
|
+
</react_native_1.View>,qe=()=><react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
|
|
36
36
|
<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:14}}showsVerticalScrollIndicator={!1}>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:13,paddingVertical:4,paddingHorizontal:4,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.04,shadowRadius:4,shadowOffset:{width:0,height:2}}}>
|
|
40
40
|
<react_native_1.ScrollView horizontal showsHorizontalScrollIndicator={!1}contentContainerStyle={{flexDirection:"row",alignItems:"center",gap:6,paddingHorizontal:2}}>
|
|
41
|
-
{[{key:"module",label:o("settings.modulesAndTools","Modules & Tools"),Icon:NetworkIcons_1.LayersIcon,badge:`${
|
|
41
|
+
{[{key:"module",label:o("settings.modulesAndTools","Modules & Tools"),Icon:NetworkIcons_1.LayersIcon,badge:`${w.filter(e=>v?.[e.key]||e.key==="apis").length}/${w.length}`},{key:"ui",label:o("settings.uiPreferences","UI Preferences"),Icon:NetworkIcons_1.ScreenIcon},{key:"limits",label:o("settings.ramLimits","RAM & Limits"),Icon:NetworkIcons_1.BrainIcon},{key:"capture",label:o("settings.screenVideoCapture","Screen & Video Capture"),Icon:NetworkIcons_1.CameraIcon}].map(e=>{const r=n===e.key,C=e.Icon;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="tab"accessibilityLabel={e.label}accessibilityState={{selected:r}}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),A(e.key)}}style={{paddingVertical:8,paddingHorizontal:14,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,borderRadius:9,backgroundColor:r?AppColors_1.AppColors.purple:"transparent"}}>
|
|
42
42
|
<C color={r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}size={13}/>
|
|
43
43
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,lineHeight:16,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}}>
|
|
44
44
|
{e.label}
|
|
@@ -54,48 +54,72 @@
|
|
|
54
54
|
|
|
55
55
|
{n==="module"&&<react_native_1.View style={{gap:12}}>
|
|
56
56
|
|
|
57
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:12,paddingVertical:10,paddingHorizontal:14,borderWidth:1,borderColor:T?`${AppColors_1.AppColors.purple}40`:AppColors_1.AppColors.grayBorderSecondary,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.02,shadowRadius:3,shadowOffset:{width:0,height:1}}}>
|
|
58
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="checkbox"accessibilityLabel="Toggle Select All Modules"accessibilityState={{checked:T}}onPress={ye}style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
|
|
59
|
+
<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:T?0:1.8,borderColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:T?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center"}}>
|
|
60
|
+
{T&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.white}/>}
|
|
61
|
+
</react_native_1.View>
|
|
62
|
+
<react_native_1.View>
|
|
63
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.primaryBlack}}>
|
|
64
|
+
{T?"Deselect All Modules":"Select All Modules"}
|
|
65
|
+
</react_native_1.Text>
|
|
66
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10.5,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
67
|
+
{ue} of {w.length} modules active
|
|
68
|
+
</react_native_1.Text>
|
|
69
|
+
</react_native_1.View>
|
|
70
|
+
</TouchableScale_1.default>
|
|
71
|
+
|
|
72
|
+
<TouchableScale_1.default onPress={ye}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:T?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.purple,borderWidth:1,borderColor:T?`${AppColors_1.AppColors.purple}30`:"transparent"}}>
|
|
73
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:T?AppColors_1.AppColors.purple:AppColors_1.AppColors.white}}>
|
|
74
|
+
{T?"Deselect All":"Select All"}
|
|
75
|
+
</react_native_1.Text>
|
|
76
|
+
</TouchableScale_1.default>
|
|
77
|
+
</react_native_1.View>
|
|
78
|
+
|
|
79
|
+
|
|
57
80
|
<react_native_1.View style={{gap:10}}>
|
|
58
|
-
{
|
|
81
|
+
{w.map(e=>{const r=(0,reduxLogger_1.isReduxConnected)(),C=(0,analyticsLogger_1.isAnalyticsConnected)(),h=e.key==="redux"&&!r||e.key==="analytics"&&!C,x=e.key==="apis"||h,l=e.key==="apis"||!!v?.[e.key]&&!h,oe=e.key==="apis"?q.length>0?`${q.length} requests`:"":e.key==="logs"?K.length>0?`${K.length} logs \u2022 Limit: ${Q}`:"":e.key==="crash"?R&&R.length>0?`${R.length} crashes recorded \u2022 Crash Guard`:"":e.key==="analytics"?J.length>0?`${J.length} events logged`:"":e.key==="redux"?z&&Object.keys(z).length>0?`${Object.keys(z).length} slices \u2022 Depth: ${te}`:"":e.key==="push"?I&&I.length>0?`${I.length} notifications logged`:"":e.key==="socket"&&L&&L.length>0?`${L.length} connections active`:"";return<react_native_1.View key={e.key}style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1.5,borderColor:l?`${AppColors_1.AppColors.purple}38`:AppColors_1.AppColors.grayBorderSecondary,padding:14,gap:10,shadowColor:AppColors_1.AppColors.black,shadowOpacity:l?.04:.02,shadowRadius:5,shadowOffset:{width:0,height:2}}}>
|
|
59
82
|
|
|
60
83
|
<react_native_1.View style={{flexDirection:"row",alignItems:"flex-start",gap:10}}>
|
|
61
84
|
|
|
62
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="checkbox"accessibilityLabel={`Select ${e.label}`}accessibilityState={{checked:
|
|
63
|
-
{e.key==="apis"?<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.blue500}/>:
|
|
85
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="checkbox"accessibilityLabel={`Select ${e.label}`}accessibilityState={{checked:l,disabled:x}}disabled={x}onPress={()=>{x||E(he=>({...he,[e.key]:!he[e.key]}))}}hitSlop={8}style={{width:22,height:22,borderRadius:6,borderWidth:l?0:1.8,borderColor:x?AppColors_1.AppColors.dividerColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:e.key==="apis"?`${AppColors_1.AppColors.blue500}22`:l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center",marginTop:7,shadowColor:l?AppColors_1.AppColors.purple:"transparent",shadowOpacity:l?.25:0,shadowRadius:2,elevation:l?2:0}}>
|
|
86
|
+
{e.key==="apis"?<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.blue500}/>:l?<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.white}/>:x?<react_native_svg_1.default width={10}height={10}viewBox="0 0 24 24"fill="none">
|
|
64
87
|
<react_native_svg_1.Path d="M7 10V7a5 5 0 0 1 10 0v3"stroke={AppColors_1.AppColors.grayText}strokeWidth="2.2"strokeLinecap="round"/>
|
|
65
88
|
<react_native_svg_1.Path d="M5 10h14v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z"fill={AppColors_1.AppColors.grayText}/>
|
|
66
89
|
</react_native_svg_1.default>:null}
|
|
67
90
|
</TouchableScale_1.default>
|
|
68
91
|
|
|
69
92
|
|
|
70
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`${e.label} settings`}disabled={
|
|
93
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`${e.label} settings`}disabled={h}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),b(e.key)}}style={{flex:1,flexDirection:"row",alignItems:"flex-start",gap:10}}>
|
|
71
94
|
|
|
72
|
-
<react_native_1.View style={{width:36,height:36,borderRadius:10,backgroundColor:
|
|
73
|
-
{e.icon==="apis"&&<NetworkIcons_1.SignalIcon color={
|
|
74
|
-
{e.icon==="logs"&&<NetworkIcons_1.TerminalIcon color={
|
|
75
|
-
{e.icon==="crash"&&<NetworkIcons_1.CrashIcon color={
|
|
76
|
-
{e.icon==="analytics"&&<NetworkIcons_1.AnalyticsIcon color={
|
|
77
|
-
{e.icon==="redux"&&<NetworkIcons_1.ReduxIcon color={
|
|
78
|
-
{e.icon==="device"&&<NetworkIcons_1.SmartphoneIcon color={
|
|
79
|
-
{e.icon==="storage"&&<NetworkIcons_1.DatabaseIcon color={
|
|
80
|
-
{e.icon==="debugging"&&<NetworkIcons_1.QrCodeIcon color={
|
|
81
|
-
{e.icon==="media"&&<NetworkIcons_1.ScreencastIcon color={
|
|
82
|
-
{e.icon==="push"&&<NetworkIcons_1.BellIcon color={
|
|
95
|
+
<react_native_1.View style={{width:36,height:36,borderRadius:10,backgroundColor:x?`${AppColors_1.AppColors.grayBorderSecondary}4D`:l?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:x?AppColors_1.AppColors.dividerColor:l?`${AppColors_1.AppColors.purple}33`:AppColors_1.AppColors.grayBorderSecondary,alignItems:"center",justifyContent:"center",marginTop:1}}>
|
|
96
|
+
{e.icon==="apis"&&<NetworkIcons_1.SignalIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
97
|
+
{e.icon==="logs"&&<NetworkIcons_1.TerminalIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
98
|
+
{e.icon==="crash"&&<NetworkIcons_1.CrashIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
99
|
+
{e.icon==="analytics"&&<NetworkIcons_1.AnalyticsIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
100
|
+
{e.icon==="redux"&&<NetworkIcons_1.ReduxIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
101
|
+
{e.icon==="device"&&<NetworkIcons_1.SmartphoneIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
102
|
+
{e.icon==="storage"&&<NetworkIcons_1.DatabaseIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
103
|
+
{e.icon==="debugging"&&<NetworkIcons_1.QrCodeIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
104
|
+
{e.icon==="media"&&<NetworkIcons_1.ScreencastIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
105
|
+
{e.icon==="push"&&<NetworkIcons_1.BellIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
106
|
+
{e.icon==="socket"&&<NetworkIcons_1.WebsocketIcon color={l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
83
107
|
</react_native_1.View>
|
|
84
108
|
|
|
85
109
|
|
|
86
110
|
<react_native_1.View style={{flex:1,gap:2}}>
|
|
87
111
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6,flexWrap:"wrap"}}>
|
|
88
|
-
<react_native_1.View style={{minWidth:22,height:22,paddingHorizontal:5,borderRadius:11,backgroundColor:
|
|
89
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:
|
|
112
|
+
<react_native_1.View style={{minWidth:22,height:22,paddingHorizontal:5,borderRadius:11,backgroundColor:l?`${AppColors_1.AppColors.purple}1C`:`${AppColors_1.AppColors.grayBorderSecondary}80`,borderWidth:1,borderColor:l?`${AppColors_1.AppColors.purple}44`:AppColors_1.AppColors.grayBorderSecondary,alignItems:"center",justifyContent:"center"}}>
|
|
113
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:l?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText}}>
|
|
90
114
|
#{e.id}
|
|
91
115
|
</react_native_1.Text>
|
|
92
116
|
</react_native_1.View>
|
|
93
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:14,lineHeight:18,color:
|
|
117
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:14,lineHeight:18,color:x?AppColors_1.AppColors.grayText:AppColors_1.AppColors.primaryBlack}}>
|
|
94
118
|
{e.label}
|
|
95
119
|
</react_native_1.Text>
|
|
96
120
|
|
|
97
121
|
|
|
98
|
-
{e.key===
|
|
122
|
+
{e.key===S&&!h&&<react_native_1.View style={{flexDirection:"row",alignItems:"center",backgroundColor:`${AppColors_1.AppColors.purple}14`,borderRadius:12,paddingHorizontal:5,paddingVertical:1.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}2E`,gap:3}}>
|
|
99
123
|
<react_native_1.View style={{width:4,height:4,borderRadius:2,backgroundColor:AppColors_1.AppColors.purple}}/>
|
|
100
124
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,lineHeight:11,color:AppColors_1.AppColors.purple,letterSpacing:.4}}>
|
|
101
125
|
{o("settings.defaultBadge")}
|
|
@@ -107,11 +131,11 @@
|
|
|
107
131
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,lineHeight:11,color:AppColors_1.AppColors.blue500,letterSpacing:.3}}>
|
|
108
132
|
{o("settings.coreBadge")}
|
|
109
133
|
</react_native_1.Text>
|
|
110
|
-
</react_native_1.View>:
|
|
134
|
+
</react_native_1.View>:h?<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.amber500}18`,borderRadius:4,paddingHorizontal:5,paddingVertical:1.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.amber500}35`}}>
|
|
111
135
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,lineHeight:11,color:AppColors_1.AppColors.amber700,letterSpacing:.3}}>
|
|
112
136
|
{e.key==="redux"?o("settings.notConnectedBadge"):o("settings.notDetectedBadge")}
|
|
113
137
|
</react_native_1.Text>
|
|
114
|
-
</react_native_1.View>:
|
|
138
|
+
</react_native_1.View>:l?<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.liveGreen}18`,borderRadius:4,paddingHorizontal:5,paddingVertical:1.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.liveGreen}38`}}>
|
|
115
139
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,lineHeight:11,color:AppColors_1.AppColors.green700,letterSpacing:.3}}>
|
|
116
140
|
{o("settings.activeBadge")}
|
|
117
141
|
</react_native_1.Text>
|
|
@@ -130,17 +154,17 @@
|
|
|
130
154
|
</react_native_1.View>
|
|
131
155
|
|
|
132
156
|
|
|
133
|
-
{!
|
|
157
|
+
{!h&&<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingTop:8,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.dividerColor}}>
|
|
134
158
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
159
|
+
{oe&&oe.trim().length>0?<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6,flex:1}}>
|
|
160
|
+
<react_native_1.View style={{width:6,height:6,borderRadius:3,backgroundColor:l?AppColors_1.AppColors.liveGreen:AppColors_1.AppColors.grayTextWeak}}/>
|
|
161
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayText,lineHeight:14}}>
|
|
162
|
+
{oe}
|
|
163
|
+
</react_native_1.Text>
|
|
164
|
+
</react_native_1.View>:<react_native_1.View style={{flex:1}}/>}
|
|
141
165
|
|
|
142
166
|
|
|
143
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Configure ${e.label} settings`}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),
|
|
167
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Configure ${e.label} settings`}onPress={()=>{(0,InspectorContext_1.animateNextLayout)(),b(e.key)}}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${AppColors_1.AppColors.purple}12`,paddingHorizontal:10,paddingVertical:5,borderRadius:8,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}26`}}>
|
|
144
168
|
<NetworkIcons_1.SettingsIcon color={AppColors_1.AppColors.purple}size={11}/>
|
|
145
169
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.purple}}>
|
|
146
170
|
{o("settings.configure")}
|
|
@@ -162,7 +186,7 @@
|
|
|
162
186
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}>
|
|
163
187
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
|
|
164
188
|
<react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:AppColors_1.AppColors.purpleShade50,alignItems:"center",justifyContent:"center"}}>
|
|
165
|
-
{
|
|
189
|
+
{F?<NetworkIcons_1.SunIcon color={AppColors_1.AppColors.purple}size={15}/>:<NetworkIcons_1.MoonIcon color={AppColors_1.AppColors.purple}size={15}/>}
|
|
166
190
|
</react_native_1.View>
|
|
167
191
|
<react_native_1.View style={{flex:1}}>
|
|
168
192
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
|
|
@@ -174,10 +198,37 @@
|
|
|
174
198
|
</react_native_1.View>
|
|
175
199
|
</react_native_1.View>
|
|
176
200
|
|
|
177
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle Dark Theme"accessibilityState={{checked:
|
|
201
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle Dark Theme"accessibilityState={{checked:F}}onPress={()=>{const e=!F;we(e),(0,styles_1.toggleGlobalTheme)(e)}}style={{width:42,height:24,borderRadius:12,backgroundColor:F?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:F?"flex-end":"flex-start"}}>
|
|
178
202
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
179
203
|
</TouchableScale_1.default>
|
|
180
204
|
</react_native_1.View>
|
|
205
|
+
|
|
206
|
+
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.grayBorderSecondary,opacity:.6}}/>
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}>
|
|
210
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
|
|
211
|
+
<react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.blue600}14`,alignItems:"center",justifyContent:"center"}}>
|
|
212
|
+
<NetworkIcons_1.GlobeIcon color={AppColors_1.AppColors.blue600}size={15}/>
|
|
213
|
+
</react_native_1.View>
|
|
214
|
+
<react_native_1.View style={{flex:1}}>
|
|
215
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
|
|
216
|
+
{o("settings.general.language","Language")}
|
|
217
|
+
</react_native_1.Text>
|
|
218
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
219
|
+
{o("settings.general.languageDescription","Choose preferred display language")}
|
|
220
|
+
</react_native_1.Text>
|
|
221
|
+
</react_native_1.View>
|
|
222
|
+
</react_native_1.View>
|
|
223
|
+
|
|
224
|
+
<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ge(!0)}}style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.purpleShade50,paddingHorizontal:10,paddingVertical:6,borderRadius:8,gap:5,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}20`}}>
|
|
225
|
+
{O?.flag?<react_native_1.Text style={{fontSize:13}}>{O.flag}</react_native_1.Text>:<NetworkIcons_1.GlobeIcon size={14}color={AppColors_1.AppColors.purple}/>}
|
|
226
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:12,color:AppColors_1.AppColors.purple}}>
|
|
227
|
+
{O?.nativeName||O?.name||"English"}
|
|
228
|
+
</react_native_1.Text>
|
|
229
|
+
<NetworkIcons_1.ForwardChevronIcon size={11}color={AppColors_1.AppColors.purple}/>
|
|
230
|
+
</TouchableScale_1.default>
|
|
231
|
+
</react_native_1.View>
|
|
181
232
|
</react_native_1.View>
|
|
182
233
|
|
|
183
234
|
|
|
@@ -203,16 +254,47 @@
|
|
|
203
254
|
</react_native_1.View>
|
|
204
255
|
</react_native_1.View>
|
|
205
256
|
|
|
206
|
-
{
|
|
257
|
+
{$!==B&&<TouchableScale_1.default onPress={()=>{fe($)}}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:AppColors_1.AppColors.purple,paddingHorizontal:10,paddingVertical:5,borderRadius:7,shadowColor:AppColors_1.AppColors.purple,shadowOffset:{width:0,height:1},shadowOpacity:.28,shadowRadius:2,elevation:2}}>
|
|
207
258
|
<NetworkIcons_1.CheckIcon size={11}color={AppColors_1.AppColors.white}/>
|
|
208
259
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.white}}>
|
|
209
|
-
Save ({
|
|
260
|
+
Save ({$}%)
|
|
210
261
|
</react_native_1.Text>
|
|
211
262
|
</TouchableScale_1.default>}
|
|
212
263
|
</react_native_1.View>
|
|
213
264
|
|
|
214
265
|
<react_native_1.View style={{marginTop:6}}>
|
|
215
|
-
<Slider_1.default value={
|
|
266
|
+
<Slider_1.default value={$}onValueChange={de}min={50}max={90}step={5}quickPresets={[50,60,70,80,90]}formatLabel={e=>`${Math.round(e)}%`}/>
|
|
267
|
+
</react_native_1.View>
|
|
268
|
+
</react_native_1.View>
|
|
269
|
+
|
|
270
|
+
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
<react_native_1.View style={{gap:8}}>
|
|
274
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:10}}>
|
|
275
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
|
|
276
|
+
<react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:"rgba(6, 182, 212, 0.12)",alignItems:"center",justifyContent:"center"}}>
|
|
277
|
+
<NetworkIcons_1.EyeIcon color={"#06B6D4"}size={15}/>
|
|
278
|
+
</react_native_1.View>
|
|
279
|
+
<react_native_1.View style={{flex:1}}>
|
|
280
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
|
|
281
|
+
{o("settings.general.peekOpacity","Peek-Through Opacity")}
|
|
282
|
+
</react_native_1.Text>
|
|
283
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
284
|
+
{o("settings.general.peekOpacityDescription","Transparency level when the eye icon is enabled")}
|
|
285
|
+
</react_native_1.Text>
|
|
286
|
+
</react_native_1.View>
|
|
287
|
+
</react_native_1.View>
|
|
288
|
+
|
|
289
|
+
<react_native_1.View style={{backgroundColor:"rgba(6, 182, 212, 0.14)",paddingHorizontal:8,paddingVertical:3,borderRadius:6,borderWidth:1,borderColor:"rgba(6, 182, 212, 0.30)"}}>
|
|
290
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:"#06B6D4"}}>
|
|
291
|
+
{ce.toFixed(1)}
|
|
292
|
+
</react_native_1.Text>
|
|
293
|
+
</react_native_1.View>
|
|
294
|
+
</react_native_1.View>
|
|
295
|
+
|
|
296
|
+
<react_native_1.View style={{marginTop:6}}>
|
|
297
|
+
<Slider_1.default value={ce}onValueChange={e=>{const r=Math.round(e*10)/10;Ne(r)}}min={.1}max={1}step={.1}quickPresets={[.1,.3,.5,.7,1]}formatLabel={e=>e.toFixed(1)}/>
|
|
216
298
|
</react_native_1.View>
|
|
217
299
|
</react_native_1.View>
|
|
218
300
|
|
|
@@ -235,7 +317,7 @@
|
|
|
235
317
|
</react_native_1.View>
|
|
236
318
|
|
|
237
319
|
<react_native_1.View style={{flexDirection:"row",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,padding:3,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor}}>
|
|
238
|
-
{[{key:"slide",label:"Slide Up"},{key:"fade",label:"Fade"},{key:"none",label:"None"}].map(e=>{const r=
|
|
320
|
+
{[{key:"slide",label:"Slide Up"},{key:"fade",label:"Fade"},{key:"none",label:"None"}].map(e=>{const r=_e===e.key;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Set transition animation to ${e.label}`}accessibilityState={{selected:r}}onPress={()=>me(e.key)}style={{flex:1,paddingVertical:7,alignItems:"center",borderRadius:8,backgroundColor:r?AppColors_1.AppColors.purple:"transparent"}}>
|
|
239
321
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,lineHeight:15,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}}>
|
|
240
322
|
{e.label}
|
|
241
323
|
</react_native_1.Text>
|
|
@@ -266,11 +348,11 @@
|
|
|
266
348
|
|
|
267
349
|
|
|
268
350
|
<react_native_1.View style={{marginTop:6,gap:6}}>
|
|
269
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Default opening tab: ${
|
|
351
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Default opening tab: ${w.find(e=>e.key===S)?.label||"APIs"}`}onPress={()=>Ce(e=>!e)}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,borderWidth:1.5,borderColor:ee?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:14,paddingVertical:11}}>
|
|
270
352
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
|
|
271
353
|
<react_native_1.View style={{width:8,height:8,borderRadius:4,backgroundColor:AppColors_1.AppColors.purple}}/>
|
|
272
354
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
|
|
273
|
-
{
|
|
355
|
+
{w.find(e=>e.key===S)?`#${w.find(e=>e.key===S)?.id} ${w.find(e=>e.key===S)?.label}`:"#1 APIs (Network)"}
|
|
274
356
|
</react_native_1.Text>
|
|
275
357
|
<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,paddingHorizontal:6,paddingVertical:1.5,borderRadius:6}}>
|
|
276
358
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.purple}}>
|
|
@@ -279,21 +361,21 @@
|
|
|
279
361
|
</react_native_1.View>
|
|
280
362
|
</react_native_1.View>
|
|
281
363
|
|
|
282
|
-
<react_native_1.View style={{transform:[{rotate:
|
|
364
|
+
<react_native_1.View style={{transform:[{rotate:ee?"180deg":"0deg"}]}}>
|
|
283
365
|
<NetworkIcons_1.ChevronDownIcon color={AppColors_1.AppColors.grayText}size={15}/>
|
|
284
366
|
</react_native_1.View>
|
|
285
367
|
</TouchableScale_1.default>
|
|
286
368
|
|
|
287
369
|
|
|
288
|
-
{
|
|
289
|
-
{
|
|
370
|
+
{ee&&<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,overflow:"hidden",shadowColor:AppColors_1.AppColors.black,shadowOpacity:.08,shadowRadius:6,shadowOffset:{width:0,height:3},elevation:4}}>
|
|
371
|
+
{w.filter(e=>e.key==="apis"||v?.[e.key]||t?.[e.key]).map((e,r,C)=>{const h=S===e.key,x=r===C.length-1;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Select ${e.label} as default tab`}onPress={()=>{Ae(e.key),Ce(!1)}}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:14,paddingVertical:11,backgroundColor:h?`${AppColors_1.AppColors.purple}0F`:"transparent",borderBottomWidth:x?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
|
|
290
372
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
|
|
291
|
-
<react_native_1.View style={{width:6,height:6,borderRadius:3,backgroundColor:
|
|
292
|
-
<react_native_1.Text style={{fontFamily:
|
|
373
|
+
<react_native_1.View style={{width:6,height:6,borderRadius:3,backgroundColor:h?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}}/>
|
|
374
|
+
<react_native_1.Text style={{fontFamily:h?AppFonts_1.AppFonts.interBold:AppFonts_1.AppFonts.interMedium,fontSize:13,color:h?AppColors_1.AppColors.purple:AppColors_1.AppColors.primaryBlack}}>
|
|
293
375
|
#{e.id} {e.label}
|
|
294
376
|
</react_native_1.Text>
|
|
295
377
|
</react_native_1.View>
|
|
296
|
-
{
|
|
378
|
+
{h&&<NetworkIcons_1.CheckIcon size={14}color={AppColors_1.AppColors.purple}/>}
|
|
297
379
|
</TouchableScale_1.default>})}
|
|
298
380
|
</react_native_1.View>}
|
|
299
381
|
</react_native_1.View>
|
|
@@ -321,7 +403,7 @@
|
|
|
321
403
|
</react_native_1.View>
|
|
322
404
|
</react_native_1.View>
|
|
323
405
|
|
|
324
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle NPM Update Toast"accessibilityState={{checked:
|
|
406
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle NPM Update Toast"accessibilityState={{checked:U}}onPress={()=>Te(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:U?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:U?"flex-end":"flex-start"}}>
|
|
325
407
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
326
408
|
</TouchableScale_1.default>
|
|
327
409
|
</react_native_1.View>
|
|
@@ -352,7 +434,7 @@
|
|
|
352
434
|
</react_native_1.View>
|
|
353
435
|
</react_native_1.View>
|
|
354
436
|
|
|
355
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle auto RAM limit calculation"accessibilityState={{checked:
|
|
437
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle auto RAM limit calculation"accessibilityState={{checked:f}}onPress={()=>Be(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:f?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:f?"flex-end":"flex-start"}}>
|
|
356
438
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
357
439
|
</TouchableScale_1.default>
|
|
358
440
|
</react_native_1.View>
|
|
@@ -361,20 +443,20 @@
|
|
|
361
443
|
|
|
362
444
|
|
|
363
445
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
|
|
364
|
-
<react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:
|
|
365
|
-
<NetworkIcons_1.SignalIcon color={
|
|
446
|
+
<react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:f?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center"}}>
|
|
447
|
+
<NetworkIcons_1.SignalIcon color={f?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={15}/>
|
|
366
448
|
</react_native_1.View>
|
|
367
449
|
<react_native_1.View style={{flex:1}}>
|
|
368
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:
|
|
450
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:f?AppColors_1.AppColors.primaryBlack:AppColors_1.AppColors.grayText}}>
|
|
369
451
|
Detected Available RAM
|
|
370
452
|
</react_native_1.Text>
|
|
371
453
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
372
|
-
{
|
|
454
|
+
{X} MB available on device
|
|
373
455
|
</react_native_1.Text>
|
|
374
456
|
</react_native_1.View>
|
|
375
|
-
<react_native_1.View style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:
|
|
376
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,lineHeight:15,color:
|
|
377
|
-
{
|
|
457
|
+
<react_native_1.View style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:f?`${AppColors_1.AppColors.purple}12`:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:f?`${AppColors_1.AppColors.purple}26`:AppColors_1.AppColors.dividerColor}}>
|
|
458
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,lineHeight:15,color:f?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText}}>
|
|
459
|
+
{X} MB
|
|
378
460
|
</react_native_1.Text>
|
|
379
461
|
</react_native_1.View>
|
|
380
462
|
</react_native_1.View>
|
|
@@ -383,17 +465,17 @@
|
|
|
383
465
|
<react_native_1.View style={{marginTop:4,paddingTop:8,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.dividerColor,gap:6}}>
|
|
384
466
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}>
|
|
385
467
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,lineHeight:15,color:AppColors_1.AppColors.purple}}>
|
|
386
|
-
Profile: {
|
|
468
|
+
Profile: {M.profileName}
|
|
387
469
|
</react_native_1.Text>
|
|
388
|
-
<react_native_1.View style={{backgroundColor:
|
|
389
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:
|
|
390
|
-
{
|
|
470
|
+
<react_native_1.View style={{backgroundColor:f?`${AppColors_1.AppColors.emerald500}18`:`${AppColors_1.AppColors.purple}18`,paddingHorizontal:7,paddingVertical:2.5,borderRadius:4}}>
|
|
471
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:f?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.purple}}>
|
|
472
|
+
{f?"AUTO-TUNED":"MANUAL"}
|
|
391
473
|
</react_native_1.Text>
|
|
392
474
|
</react_native_1.View>
|
|
393
475
|
</react_native_1.View>
|
|
394
476
|
|
|
395
477
|
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:8,marginTop:4}}>
|
|
396
|
-
{[{label:"Logs",value:
|
|
478
|
+
{[{label:"Logs",value:f?M.maxConsoleLogs:Q,color:AppColors_1.AppColors.sky500},{label:"Analytics",value:f?M.maxAnalyticsEvents:re,color:AppColors_1.AppColors.purple},{label:"Crash",value:f?M.maxCrashRecords:ie,color:AppColors_1.AppColors.errorColor}].map(e=><react_native_1.View key={e.label}style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${e.color}14`,borderWidth:1,borderColor:`${e.color}33`}}>
|
|
397
479
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,lineHeight:14,color:e.color}}>
|
|
398
480
|
{e.label}:
|
|
399
481
|
</react_native_1.Text>
|
|
@@ -437,13 +519,13 @@
|
|
|
437
519
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:10}}>
|
|
438
520
|
<react_native_1.View style={{flex:1}}>
|
|
439
521
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.primaryBlack}}>
|
|
440
|
-
Manual Memory Cleanup
|
|
522
|
+
{o("settings.memory.manualTitle","Manual Memory Cleanup")}
|
|
441
523
|
</react_native_1.Text>
|
|
442
524
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
443
|
-
Prune older entries across all log stores and free RAM
|
|
525
|
+
{o("settings.memory.manualDescription","Prune older entries across all log stores and free RAM")}
|
|
444
526
|
</react_native_1.Text>
|
|
445
527
|
</react_native_1.View>
|
|
446
|
-
<TouchableScale_1.default onPress={()=>{const e=(0,memoryManager_1.pruneAllLogs)("manual",.5);(0,toast_1.showToast)(
|
|
528
|
+
<TouchableScale_1.default onPress={()=>{const e=(0,memoryManager_1.pruneAllLogs)("manual",.5);(0,toast_1.showToast)(o("settings.memory.pruned",{count:e.totalPruned},`Pruned ${e.totalPruned} items from memory`))}}style={{backgroundColor:AppColors_1.AppColors.purple,paddingHorizontal:12,paddingVertical:8,borderRadius:8,flexDirection:"row",alignItems:"center",gap:5}}>
|
|
447
529
|
<NetworkIcons_1.TrashIcon size={13}color={AppColors_1.AppColors.white}/>
|
|
448
530
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,color:AppColors_1.AppColors.white}}>
|
|
449
531
|
Prune Now
|
|
@@ -469,17 +551,17 @@
|
|
|
469
551
|
</react_native_1.View>
|
|
470
552
|
</react_native_1.View>
|
|
471
553
|
|
|
472
|
-
{
|
|
473
|
-
{["
|
|
554
|
+
{a({icon:<NetworkIcons_1.ImageIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.imageFormat","Image Format"),description:o("settings.media.imageFormatDesc","Export formats (PNG lossless, JPEG lossy, WebP)"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
555
|
+
{["png","jpeg","webp"].map(e=>{const r=Z===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ae(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
474
556
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
475
|
-
{e}
|
|
557
|
+
{e.toUpperCase()}
|
|
476
558
|
</react_native_1.Text>
|
|
477
559
|
</TouchableScale_1.default>})}
|
|
478
560
|
</react_native_1.View>})}
|
|
479
561
|
|
|
480
|
-
{
|
|
481
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:
|
|
482
|
-
{
|
|
562
|
+
{a({icon:<NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.autoHide","Auto-Hide Inspector During Capture"),description:o("settings.media.autoHideDesc","Temporarily hides the inspector overlay during screen capture"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),P(e=>!e),(0,toast_1.showToast)(`Auto-hide overlay: ${_?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),P(e=>!e),(0,toast_1.showToast)(`Auto-hide overlay: ${_?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:_?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:_?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
563
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:_?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
564
|
+
{_?o("settings.media.enabled","ON"):"OFF"}
|
|
483
565
|
</react_native_1.Text>
|
|
484
566
|
</TouchableScale_1.default>})}
|
|
485
567
|
</react_native_1.View>
|
|
@@ -500,32 +582,32 @@
|
|
|
500
582
|
</react_native_1.View>
|
|
501
583
|
</react_native_1.View>
|
|
502
584
|
|
|
503
|
-
{
|
|
504
|
-
{["Muted","App","Mic"].map(e=>{const r=
|
|
585
|
+
{a({icon:<NetworkIcons_1.MicrophoneIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.audioMode","Audio Source"),description:o("settings.media.audioModeDesc","Record video with muted, app audio, or microphone commentary"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
586
|
+
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=le===e.key;return<TouchableScale_1.default key={e.key}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ne(e.key),(0,toast_1.showToast)(`Audio source: ${e.label}`)}}style={{paddingHorizontal:8,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
505
587
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
506
|
-
{e}
|
|
588
|
+
{e.label}
|
|
507
589
|
</react_native_1.Text>
|
|
508
590
|
</TouchableScale_1.default>})}
|
|
509
591
|
</react_native_1.View>})}
|
|
510
592
|
|
|
511
|
-
{
|
|
512
|
-
{[
|
|
593
|
+
{a({icon:<NetworkIcons_1.FilmIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.frameRate","Recording Frame Rate (FPS)"),description:o("settings.media.frameRateDesc","Target video smoothness: 15, 24, 30, or 60 FPS"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
594
|
+
{[15,24,30,60].map(e=>{const r=se===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),pe(e),(0,toast_1.showToast)(`Recording FPS: ${e}`)}}style={{paddingHorizontal:7,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
513
595
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
514
596
|
{e}fps
|
|
515
597
|
</react_native_1.Text>
|
|
516
598
|
</TouchableScale_1.default>})}
|
|
517
599
|
</react_native_1.View>})}
|
|
518
600
|
|
|
519
|
-
{
|
|
520
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:
|
|
521
|
-
{
|
|
601
|
+
{a({icon:<NetworkIcons_1.GifIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.gifAutoOpt","Auto GIF Optimization"),description:o("settings.media.gifAutoOptDesc","Automatic palette reduction and frame skip for lightweight animated GIFs"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),W(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),W(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:m?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:m?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
602
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:m?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
603
|
+
{m?"ON":"OFF"}
|
|
522
604
|
</react_native_1.Text>
|
|
523
605
|
</TouchableScale_1.default>})}
|
|
524
606
|
</react_native_1.View>
|
|
525
607
|
|
|
526
608
|
|
|
527
609
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
528
|
-
{
|
|
610
|
+
{a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.media.purgeAll","Purge Captured Media Cache"),description:o("settings.media.purgeAllDesc","Delete all local screenshots, screen recordings and converted GIFs"),isLast:!0,onPress:()=>{react_native_1.Alert.alert(o("settings.media.purgeConfirmTitle","Purge Media Storage?"),o("settings.media.purgeConfirmMessage","This will permanently delete all captured screenshots and videos from disk."),[{text:o("common.cancel","Cancel"),style:"cancel"},{text:o("settings.media.purgeCacheBtn","Purge All"),style:"destructive",onPress:async()=>{await capture_1.ScreenCapture.clearAllMedia(),(0,toast_1.showToast)(o("settings.media.purgedSuccess","Media cache cleared successfully"))}}])},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
529
611
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
530
612
|
{o("settings.media.purgeCacheBtn","Purge All")}
|
|
531
613
|
</react_native_1.Text>
|
|
@@ -539,38 +621,38 @@
|
|
|
539
621
|
{n==="module"&&<react_native_1.View style={{paddingHorizontal:16,paddingTop:12,paddingBottom:react_native_1.Platform.OS==="ios"?36:24,backgroundColor:AppColors_1.AppColors.primaryLight,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.dividerColor,flexDirection:"row",alignItems:"center",gap:12,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.08,shadowRadius:8,shadowOffset:{width:0,height:-3},elevation:8}}>
|
|
540
622
|
<react_native_1.View style={{flex:1}}>
|
|
541
623
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,lineHeight:17,color:AppColors_1.AppColors.primaryBlack}}>
|
|
542
|
-
{
|
|
624
|
+
{ue} of {w.length} Modules Active
|
|
543
625
|
</react_native_1.Text>
|
|
544
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:
|
|
545
|
-
{o(
|
|
626
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:k?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
627
|
+
{o(k?"settings.unsavedPending":"settings.allSynchronized")}
|
|
546
628
|
</react_native_1.Text>
|
|
547
629
|
</react_native_1.View>
|
|
548
630
|
|
|
549
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel="Save Changes"onPress={
|
|
550
|
-
<NetworkIcons_1.CheckIcon size={14}color={
|
|
551
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,lineHeight:17,color:
|
|
631
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel="Save Changes"onPress={Ue}style={{flexDirection:"row",alignItems:"center",gap:6,backgroundColor:k?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}22`,paddingHorizontal:18,paddingVertical:10,borderRadius:10}}>
|
|
632
|
+
<NetworkIcons_1.CheckIcon size={14}color={k?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}/>
|
|
633
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,lineHeight:17,color:k?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
552
634
|
{o("settings.saveChanges")}
|
|
553
635
|
</react_native_1.Text>
|
|
554
636
|
</TouchableScale_1.default>
|
|
555
637
|
</react_native_1.View>}
|
|
556
|
-
</react_native_1.View>;let
|
|
638
|
+
</react_native_1.View>;let V=null;i==="apis"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
557
639
|
|
|
558
640
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
559
|
-
{
|
|
641
|
+
{a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.apis.clearNetworkLogs"),description:o("settings.apis.clearNetworkLogsDescription",{count:q.length}),isLast:!0,onPress:()=>{(0,networkLogger_1.clearNetworkLogs)(),Ie(null),react_native_1.Alert.alert(o("common.success"),o("settings.apis.networkLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
560
642
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
561
643
|
{o("common.clear")}
|
|
562
644
|
</react_native_1.Text>
|
|
563
645
|
</react_native_1.View>})}
|
|
564
646
|
</react_native_1.View>
|
|
565
647
|
<react_native_1.View style={{height:48}}/>
|
|
566
|
-
</react_native_1.ScrollView>:i==="logs"?
|
|
648
|
+
</react_native_1.ScrollView>:i==="logs"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
567
649
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
568
|
-
{
|
|
650
|
+
{a({icon:<NetworkIcons_1.TerminalIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.logs.maxConsoleLogs"),description:o("settings.logs.maxConsoleLogsDescription"),numericInput:{value:Q,onChange:ke,min:10,max:100,placeholder:"Enter max logs (10-100)"}})}
|
|
569
651
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
570
652
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,lineHeight:17,color:AppColors_1.AppColors.primaryBlack,paddingTop:6}}>
|
|
571
653
|
{o("settings.logs.logLevels")}
|
|
572
654
|
</react_native_1.Text>
|
|
573
|
-
{["info","warn","error"].map(e=>{const r=
|
|
655
|
+
{["info","warn","error"].map(e=>{const r=ve?.[e],C=e==="error"?AppColors_1.AppColors.errorColor:e==="warn"?AppColors_1.AppColors.warningIconGold:AppColors_1.AppColors.skyBlue,h=o(e==="info"?"settings.logs.showInfo":e==="warn"?"settings.logs.showWarn":"settings.logs.showError"),x=o(e==="info"?"settings.logs.showInfoDesc":e==="warn"?"settings.logs.showWarnDesc":"settings.logs.showErrorDesc");return a({icon:<react_native_1.View style={{width:12,height:12,borderRadius:6,backgroundColor:C}}/>,label:h,description:x,isLast:e==="error",onPress:()=>Ve(l=>({...l,[e]:!l[e]})),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:r?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:r?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
|
|
574
656
|
{r&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.purple}/>}
|
|
575
657
|
</react_native_1.View>})})}
|
|
576
658
|
</react_native_1.View>
|
|
@@ -597,54 +679,54 @@
|
|
|
597
679
|
</react_native_1.View>
|
|
598
680
|
</react_native_1.View>
|
|
599
681
|
|
|
600
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle show duplicate logs"accessibilityState={{checked:
|
|
682
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle show duplicate logs"accessibilityState={{checked:G}}onPress={()=>xe(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:G?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:G?"flex-end":"flex-start"}}>
|
|
601
683
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
602
684
|
</TouchableScale_1.default>
|
|
603
685
|
</react_native_1.View>
|
|
604
686
|
</react_native_1.View>
|
|
605
687
|
|
|
606
688
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
607
|
-
{
|
|
689
|
+
{a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.logs.clearConsoleLogs"),description:o("settings.logs.clearConsoleLogsDescription",{count:K.length}),isLast:!0,onPress:()=>{(0,consoleLogger_1.clearConsoleLogs)(),react_native_1.Alert.alert(o("common.success"),o("settings.logs.consoleLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
608
690
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
609
691
|
{o("common.clear")}
|
|
610
692
|
</react_native_1.Text>
|
|
611
693
|
</react_native_1.View>})}
|
|
612
694
|
</react_native_1.View>
|
|
613
695
|
<react_native_1.View style={{height:48}}/>
|
|
614
|
-
</react_native_1.ScrollView>:i==="analytics"?
|
|
696
|
+
</react_native_1.ScrollView>:i==="analytics"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
615
697
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary}}>
|
|
616
|
-
{
|
|
698
|
+
{a({icon:<NetworkIcons_1.AnalyticsIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.analytics.maxAnalyticsEvents"),description:o("settings.analytics.maxAnalyticsEventsDescription",{count:J.length}),numericInput:{value:re,onChange:Fe,min:10,max:75,placeholder:"Enter max events (10-75)"},isLast:!0})}
|
|
617
699
|
</react_native_1.View>
|
|
618
700
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
619
|
-
{
|
|
701
|
+
{a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.analytics.clearAnalyticsEvents"),description:o("settings.analytics.clearAnalyticsEventsDescription"),isLast:!0,onPress:()=>{(0,analyticsLogger_1.clearAnalyticsEvents)(),He(null),react_native_1.Alert.alert(o("common.success"),o("settings.analytics.analyticsEventsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
620
702
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
621
703
|
{o("common.clear")}
|
|
622
704
|
</react_native_1.Text>
|
|
623
705
|
</react_native_1.View>})}
|
|
624
706
|
</react_native_1.View>
|
|
625
707
|
<react_native_1.View style={{height:48}}/>
|
|
626
|
-
</react_native_1.ScrollView>:i==="redux"?
|
|
708
|
+
</react_native_1.ScrollView>:i==="redux"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
627
709
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
628
|
-
{
|
|
629
|
-
{
|
|
710
|
+
{a({icon:<NetworkIcons_1.ReduxIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.autoRefresh"),description:o("settings.redux.autoRefreshDescription"),onPress:()=>ze(e=>!e),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:Y?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:Y?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
|
|
711
|
+
{Y&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.purple}/>}
|
|
630
712
|
</react_native_1.View>})}
|
|
631
713
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
632
|
-
{
|
|
714
|
+
{a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.defaultJsonExpandDepth"),description:o("settings.redux.defaultJsonExpandDepthDescription"),picker:{options:[1,2,3,5],selectedValue:te,onSelect:Re},isLast:!0})}
|
|
633
715
|
</react_native_1.View>
|
|
634
716
|
|
|
635
717
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
636
|
-
{
|
|
718
|
+
{a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.redux.clearReduxState"),description:o(z?"settings.redux.clearReduxStateDescription":"settings.redux.clearReduxStateEmpty"),isLast:!0,onPress:()=>{Le(null),react_native_1.Alert.alert(o("common.success"),o("settings.redux.reduxStateCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
637
719
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
638
720
|
{o("common.clear")}
|
|
639
721
|
</react_native_1.Text>
|
|
640
722
|
</react_native_1.View>})}
|
|
641
723
|
</react_native_1.View>
|
|
642
724
|
<react_native_1.View style={{height:48}}/>
|
|
643
|
-
</react_native_1.ScrollView>:i==="crash"?
|
|
725
|
+
</react_native_1.ScrollView>:i==="crash"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
644
726
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
645
|
-
{
|
|
727
|
+
{a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.maxCrashLogs"),description:o("settings.crash.maxCrashLogsDesc"),numericInput:{value:ie,onChange:De,min:5,max:50,placeholder:"Enter max crashes (5-50)"}})}
|
|
646
728
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
647
|
-
{
|
|
729
|
+
{a({icon:<NetworkIcons_1.ShieldAlertIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:o("settings.crash.globalGuard"),description:o("settings.crash.globalGuardDesc"),isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
|
|
648
730
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
|
|
649
731
|
{o("settings.protectedBadge")}
|
|
650
732
|
</react_native_1.Text>
|
|
@@ -652,19 +734,19 @@
|
|
|
652
734
|
</react_native_1.View>
|
|
653
735
|
|
|
654
736
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
655
|
-
{
|
|
737
|
+
{a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.crash.clearHistory"),description:o("settings.crash.clearHistoryDesc",{count:R?.length||0}),isLast:!0,onPress:()=>{(0,crashHandler_1.clearCrashRecords)(),react_native_1.Alert.alert(o("common.success"),o("settings.crash.historyCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
656
738
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
657
739
|
{o("common.clear")}
|
|
658
740
|
</react_native_1.Text>
|
|
659
741
|
</react_native_1.View>})}
|
|
660
742
|
</react_native_1.View>
|
|
661
743
|
<react_native_1.View style={{height:48}}/>
|
|
662
|
-
</react_native_1.ScrollView>:i==="push"?
|
|
744
|
+
</react_native_1.ScrollView>:i==="push"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
663
745
|
|
|
664
746
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
665
|
-
{
|
|
747
|
+
{a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max Push Notification Logs",description:"Buffer size limit for recorded push payloads (10-200)",numericInput:{value:Pe,onChange:We,min:10,max:200,placeholder:"Enter max logs (10-200)"}})}
|
|
666
748
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
667
|
-
{
|
|
749
|
+
{a({icon:<NetworkIcons_1.BellIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:"Universal Ingestion Engine",description:"Captures any push domain (Salesforce, FCM, APNs, Expo, Braze, Custom)",isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
|
|
668
750
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
|
|
669
751
|
ACTIVE
|
|
670
752
|
</react_native_1.Text>
|
|
@@ -673,30 +755,33 @@
|
|
|
673
755
|
|
|
674
756
|
|
|
675
757
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:8}}>
|
|
676
|
-
<react_native_1.
|
|
677
|
-
|
|
678
|
-
|
|
758
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6,marginBottom:4}}>
|
|
759
|
+
<NetworkIcons_1.BoltIcon size={13}color={AppColors_1.AppColors.amber500}/>
|
|
760
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.primaryBlack}}>
|
|
761
|
+
{o("settings.simulatePushTitle","SIMULATE TEST PUSH NOTIFICATIONS")}
|
|
762
|
+
</react_native_1.Text>
|
|
763
|
+
</react_native_1.View>
|
|
679
764
|
|
|
680
765
|
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:6}}>
|
|
681
|
-
<TouchableScale_1.default onPress={()=>{
|
|
766
|
+
<TouchableScale_1.default onPress={()=>{H("salesforce"),(0,toast_1.showToast)(o("settings.simulator.salesforce","Simulated Salesforce Marketing Cloud push"))}}style={{backgroundColor:`${AppColors_1.AppColors.sky600}14`,borderColor:`${AppColors_1.AppColors.sky600}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
682
767
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.sky600}}>
|
|
683
768
|
+ Salesforce MC
|
|
684
769
|
</react_native_1.Text>
|
|
685
770
|
</TouchableScale_1.default>
|
|
686
771
|
|
|
687
|
-
<TouchableScale_1.default onPress={()=>{
|
|
772
|
+
<TouchableScale_1.default onPress={()=>{H("fcm"),(0,toast_1.showToast)(o("settings.simulator.fcm","Simulated Firebase FCM push"))}}style={{backgroundColor:`${AppColors_1.AppColors.darkOrange}14`,borderColor:`${AppColors_1.AppColors.darkOrange}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
688
773
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.darkOrange}}>
|
|
689
774
|
+ Firebase FCM
|
|
690
775
|
</react_native_1.Text>
|
|
691
776
|
</TouchableScale_1.default>
|
|
692
777
|
|
|
693
|
-
<TouchableScale_1.default onPress={()=>{
|
|
778
|
+
<TouchableScale_1.default onPress={()=>{H("apns"),(0,toast_1.showToast)(o("settings.simulator.apns","Simulated Apple APNs push"))}}style={{backgroundColor:`${AppColors_1.AppColors.primaryBlack}10`,borderColor:`${AppColors_1.AppColors.primaryBlack}25`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
694
779
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.primaryBlack}}>
|
|
695
780
|
+ Apple APNs
|
|
696
781
|
</react_native_1.Text>
|
|
697
782
|
</TouchableScale_1.default>
|
|
698
783
|
|
|
699
|
-
<TouchableScale_1.default onPress={()=>{
|
|
784
|
+
<TouchableScale_1.default onPress={()=>{H("deeplink"),(0,toast_1.showToast)(o("settings.simulator.deepLink","Simulated Deep Link push"))}}style={{backgroundColor:`${AppColors_1.AppColors.brandPurple}14`,borderColor:`${AppColors_1.AppColors.brandPurple}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
700
785
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.brandPurple}}>
|
|
701
786
|
+ Deep Link
|
|
702
787
|
</react_native_1.Text>
|
|
@@ -706,22 +791,82 @@
|
|
|
706
791
|
|
|
707
792
|
|
|
708
793
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
709
|
-
{
|
|
794
|
+
{a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("push.clearTitle","Clear Push History"),description:`Permanently remove all ${I?.length||0} recorded notifications`,isLast:!0,onPress:()=>{$e(),react_native_1.Alert.alert(o("common.success","Success"),o("settings.pushHistoryCleared","Push notification history cleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
710
795
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
711
796
|
{o("common.clear")}
|
|
712
797
|
</react_native_1.Text>
|
|
713
798
|
</react_native_1.View>})}
|
|
714
799
|
</react_native_1.View>
|
|
715
800
|
<react_native_1.View style={{height:48}}/>
|
|
716
|
-
</react_native_1.ScrollView>:i==="
|
|
801
|
+
</react_native_1.ScrollView>:i==="socket"?V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
802
|
+
|
|
803
|
+
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
804
|
+
{a({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max WebSocket Connections",description:"Ring buffer limit for active & closed socket sessions (10-200)",numericInput:{value:Oe,onChange:Me,min:10,max:200,placeholder:"Enter max sockets (10-200)"}})}
|
|
805
|
+
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
806
|
+
{a({icon:<NetworkIcons_1.WebsocketIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:"Global WebSocket Interceptor",description:"Automatic capture for WebSocket, WSS & Socket.IO traffic",isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
|
|
807
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
|
|
808
|
+
ACTIVE
|
|
809
|
+
</react_native_1.Text>
|
|
810
|
+
</react_native_1.View>})}
|
|
811
|
+
</react_native_1.View>
|
|
812
|
+
|
|
717
813
|
|
|
718
814
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:8}}>
|
|
719
|
-
<react_native_1.
|
|
720
|
-
|
|
721
|
-
|
|
815
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6,marginBottom:4}}>
|
|
816
|
+
<NetworkIcons_1.BoltIcon size={13}color={AppColors_1.AppColors.amber500}/>
|
|
817
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.primaryBlack}}>
|
|
818
|
+
{o("settings.simulateSocketTitle","SIMULATE TEST SOCKET CONNECTIONS")}
|
|
819
|
+
</react_native_1.Text>
|
|
820
|
+
</react_native_1.View>
|
|
821
|
+
|
|
822
|
+
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:6}}>
|
|
823
|
+
<TouchableScale_1.default onPress={()=>{D("chat"),(0,toast_1.showToast)(o("settings.simulator.chat","Simulated Real-time Chat WebSocket session"))}}style={{backgroundColor:`${AppColors_1.AppColors.blue600}14`,borderColor:`${AppColors_1.AppColors.blue600}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
824
|
+
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.blue600}}>
|
|
825
|
+
+ Chat Room (WS)
|
|
826
|
+
</react_native_1.Text>
|
|
827
|
+
</TouchableScale_1.default>
|
|
828
|
+
|
|
829
|
+
<TouchableScale_1.default onPress={()=>{D("crypto"),(0,toast_1.showToast)(o("settings.simulator.crypto","Simulated Binance Crypto Ticker stream"))}}style={{backgroundColor:`${AppColors_1.AppColors.emerald600}14`,borderColor:`${AppColors_1.AppColors.emerald600}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
830
|
+
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.emerald600}}>
|
|
831
|
+
+ Crypto Feed (WSS)
|
|
832
|
+
</react_native_1.Text>
|
|
833
|
+
</TouchableScale_1.default>
|
|
834
|
+
|
|
835
|
+
<TouchableScale_1.default onPress={()=>{D("socketio"),(0,toast_1.showToast)(o("settings.simulator.socketio","Simulated Socket.IO v4 session"))}}style={{backgroundColor:`${AppColors_1.AppColors.violet600}14`,borderColor:`${AppColors_1.AppColors.violet600}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
836
|
+
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.violet600}}>
|
|
837
|
+
+ Socket.IO Room
|
|
838
|
+
</react_native_1.Text>
|
|
839
|
+
</TouchableScale_1.default>
|
|
840
|
+
|
|
841
|
+
<TouchableScale_1.default onPress={()=>{D("echo"),(0,toast_1.showToast)(o("settings.simulator.echo","Simulated WebSocket Echo test"))}}style={{backgroundColor:`${AppColors_1.AppColors.brandPurple}14`,borderColor:`${AppColors_1.AppColors.brandPurple}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
842
|
+
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.brandPurple}}>
|
|
843
|
+
+ Echo Test
|
|
844
|
+
</react_native_1.Text>
|
|
845
|
+
</TouchableScale_1.default>
|
|
846
|
+
</react_native_1.View>
|
|
847
|
+
</react_native_1.View>
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
851
|
+
{a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("socket.clearTitle","Clear All WebSocket Logs").replace("All WebSocket Logs","Socket History"),description:`Permanently remove all ${L?.length||0} recorded sessions`,isLast:!0,onPress:()=>{Ee(),react_native_1.Alert.alert(o("common.success","Success"),o("settings.socketHistoryCleared","WebSocket history cleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
852
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
853
|
+
{o("common.clear")}
|
|
854
|
+
</react_native_1.Text>
|
|
855
|
+
</react_native_1.View>})}
|
|
856
|
+
</react_native_1.View>
|
|
857
|
+
<react_native_1.View style={{height:48}}/>
|
|
858
|
+
</react_native_1.ScrollView>:i==="media"&&(V=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
859
|
+
|
|
860
|
+
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:8}}>
|
|
861
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6,marginBottom:4}}>
|
|
862
|
+
<NetworkIcons_1.BoltIcon size={13}color={AppColors_1.AppColors.amber500}/>
|
|
863
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.primaryBlack}}>
|
|
864
|
+
{o("settings.directCaptureShortcuts","DIRECT CAPTURE SHORTCUTS")}
|
|
865
|
+
</react_native_1.Text>
|
|
866
|
+
</react_native_1.View>
|
|
722
867
|
|
|
723
868
|
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:8}}>
|
|
724
|
-
<TouchableScale_1.default onPress={async()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),await capture_1.ScreenCapture.takeScreenshot({format:
|
|
869
|
+
<TouchableScale_1.default onPress={async()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),await capture_1.ScreenCapture.takeScreenshot({format:Z.toLowerCase(),quality:.9,hideInspector:_})&&((0,NativeInspector_1.triggerNativeHaptic)("success"),(0,toast_1.showToast)(o("settings.simulator.screenshotSaved","Screenshot captured and saved!")))}}style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,borderColor:`${AppColors_1.AppColors.purple}33`,borderWidth:1,paddingHorizontal:12,paddingVertical:7,borderRadius:8,flexDirection:"row",alignItems:"center",gap:6}}>
|
|
725
870
|
<NetworkIcons_1.CameraIcon color={AppColors_1.AppColors.purple}size={14}/>
|
|
726
871
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.purple}}>
|
|
727
872
|
Take Screenshot
|
|
@@ -746,17 +891,17 @@
|
|
|
746
891
|
</react_native_1.View>
|
|
747
892
|
</react_native_1.View>
|
|
748
893
|
|
|
749
|
-
{
|
|
750
|
-
{["
|
|
894
|
+
{a({icon:<NetworkIcons_1.ImageIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.imageFormat","Image Format"),description:o("settings.media.imageFormatDesc","Export formats (PNG lossless, JPEG lossy, WebP)"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
895
|
+
{["png","jpeg","webp"].map(e=>{const r=Z===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ae(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
751
896
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
752
|
-
{e}
|
|
897
|
+
{e.toUpperCase()}
|
|
753
898
|
</react_native_1.Text>
|
|
754
899
|
</TouchableScale_1.default>})}
|
|
755
900
|
</react_native_1.View>})}
|
|
756
901
|
|
|
757
|
-
{
|
|
758
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:
|
|
759
|
-
{
|
|
902
|
+
{a({icon:<NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.autoHide","Auto-Hide Inspector During Capture"),description:o("settings.media.autoHideDesc","Temporarily hides the inspector overlay during screen capture"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),P(e=>!e),(0,toast_1.showToast)(`Auto-hide overlay: ${_?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),P(e=>!e),(0,toast_1.showToast)(`Auto-hide overlay: ${_?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:_?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:_?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
903
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:_?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
904
|
+
{_?o("settings.media.enabled","ON"):"OFF"}
|
|
760
905
|
</react_native_1.Text>
|
|
761
906
|
</TouchableScale_1.default>})}
|
|
762
907
|
</react_native_1.View>
|
|
@@ -777,46 +922,49 @@
|
|
|
777
922
|
</react_native_1.View>
|
|
778
923
|
</react_native_1.View>
|
|
779
924
|
|
|
780
|
-
{
|
|
781
|
-
{["Muted","App","Mic"].map(e=>{const r=
|
|
925
|
+
{a({icon:<NetworkIcons_1.MicrophoneIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.audioMode","Audio Source"),description:o("settings.media.audioModeDesc","Record video with muted, app audio, or microphone commentary"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
926
|
+
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=le===e.key;return<TouchableScale_1.default key={e.key}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ne(e.key),(0,toast_1.showToast)(`Audio source: ${e.label}`)}}style={{paddingHorizontal:8,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
782
927
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
783
|
-
{e}
|
|
928
|
+
{e.label}
|
|
784
929
|
</react_native_1.Text>
|
|
785
930
|
</TouchableScale_1.default>})}
|
|
786
931
|
</react_native_1.View>})}
|
|
787
932
|
|
|
788
|
-
{
|
|
789
|
-
{[
|
|
933
|
+
{a({icon:<NetworkIcons_1.FilmIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.frameRate","Recording Frame Rate (FPS)"),description:o("settings.media.frameRateDesc","Target video smoothness: 15, 24, 30, or 60 FPS"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
934
|
+
{[15,24,30,60].map(e=>{const r=se===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),pe(e),(0,toast_1.showToast)(`Recording FPS: ${e}`)}}style={{paddingHorizontal:7,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
790
935
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
791
936
|
{e}fps
|
|
792
937
|
</react_native_1.Text>
|
|
793
938
|
</TouchableScale_1.default>})}
|
|
794
939
|
</react_native_1.View>})}
|
|
795
940
|
|
|
796
|
-
{
|
|
797
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:
|
|
798
|
-
{
|
|
941
|
+
{a({icon:<NetworkIcons_1.GifIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.gifAutoOpt","Auto GIF Optimization"),description:o("settings.media.gifAutoOptDesc","Automatic palette reduction and frame skip for lightweight animated GIFs"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),W(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),W(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${m?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:m?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:m?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
942
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:m?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
943
|
+
{m?"ON":"OFF"}
|
|
799
944
|
</react_native_1.Text>
|
|
800
945
|
</TouchableScale_1.default>})}
|
|
801
946
|
</react_native_1.View>
|
|
802
947
|
|
|
803
948
|
|
|
804
949
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
805
|
-
{
|
|
950
|
+
{a({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.media.purgeAll","Purge Captured Media Cache"),description:o("settings.media.purgeAllDesc","Delete all local screenshots, screen recordings and converted GIFs"),isLast:!0,onPress:()=>{react_native_1.Alert.alert(o("settings.media.purgeConfirmTitle","Purge Media Storage?"),o("settings.media.purgeConfirmMessage","This will permanently delete all captured screenshots and videos from disk."),[{text:o("common.cancel","Cancel"),style:"cancel"},{text:o("settings.media.purgeCacheBtn","Purge All"),style:"destructive",onPress:async()=>{await capture_1.ScreenCapture.clearAllMedia(),(0,toast_1.showToast)(o("settings.media.purgedSuccess","Media cache cleared successfully"))}}])},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
806
951
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
807
952
|
{o("settings.media.purgeCacheBtn","Purge All")}
|
|
808
953
|
</react_native_1.Text>
|
|
809
954
|
</react_native_1.View>})}
|
|
810
955
|
</react_native_1.View>
|
|
811
956
|
<react_native_1.View style={{height:48}}/>
|
|
812
|
-
</react_native_1.ScrollView>);const
|
|
957
|
+
</react_native_1.ScrollView>);const j=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current;return(0,react_1.useEffect)(()=>{i!=="main"&&(j.setValue(0),react_native_1.Animated.spring(j,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start())},[i]),<react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
|
|
813
958
|
|
|
814
959
|
<react_native_1.View style={[react_native_1.StyleSheet.absoluteFill,i!=="main"&&{pointerEvents:"none"}]}>
|
|
815
|
-
{
|
|
960
|
+
{qe()}
|
|
816
961
|
</react_native_1.View>
|
|
817
962
|
|
|
818
963
|
|
|
819
|
-
{i!=="main"&&<react_native_1.Animated.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.grayBackground,opacity:
|
|
820
|
-
{
|
|
964
|
+
{i!=="main"&&<react_native_1.Animated.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.grayBackground,opacity:j,transform:[{translateX:j.interpolate({inputRange:[0,1],outputRange:[30,0]})}]}]}>
|
|
965
|
+
{V}
|
|
821
966
|
</react_native_1.Animated.View>}
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
<LanguageSelectorModal_1.LanguageSelectorModal visible={je}onClose={()=>ge(!1)}/>
|
|
822
970
|
</react_native_1.View>};exports.default=SettingsPanel;
|