react-native-inapp-inspector 2.3.18 → 2.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +57 -0
- package/dist/commonjs/analytics.js +1 -24
- package/dist/commonjs/bundle.js +1 -16
- package/dist/commonjs/capture.d.ts +2 -0
- package/dist/commonjs/capture.js +1 -32
- package/dist/commonjs/components/AnalyticsDetail.js +92 -623
- package/dist/commonjs/components/AnalyticsEventCard.js +54 -350
- package/dist/commonjs/components/AnalyticsGraph.js +70 -370
- package/dist/commonjs/components/AnimatedEntrance.js +1 -11
- package/dist/commonjs/components/AppHeaderLogo.js +7 -134
- package/dist/commonjs/components/BrandCircleIcon.js +73 -118
- package/dist/commonjs/components/BrandSquareIcon.js +63 -108
- package/dist/commonjs/components/CodeSnippet.js +48 -623
- package/dist/commonjs/components/ConsoleLogCard.js +63 -537
- package/dist/commonjs/components/CopyButton.js +3 -89
- package/dist/commonjs/components/DiffViewer.js +19 -83
- package/dist/commonjs/components/DomainHeader.js +27 -127
- package/dist/commonjs/components/EmptyState.d.ts +1 -0
- package/dist/commonjs/components/EmptyState.js +10 -87
- package/dist/commonjs/components/EndOfListFooter.js +7 -81
- package/dist/commonjs/components/ErrorBoundary.js +72 -566
- package/dist/commonjs/components/HeadersSection.js +31 -110
- package/dist/commonjs/components/HighlightText.js +17 -58
- package/dist/commonjs/components/Inspector/AboutModal.d.ts +6 -0
- package/dist/commonjs/components/Inspector/AboutModal.js +351 -0
- package/dist/commonjs/components/Inspector/AnalyticsFilterModal.js +98 -797
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +284 -930
- package/dist/commonjs/components/Inspector/BundleTab.js +551 -2918
- package/dist/commonjs/components/Inspector/ConsoleTab.js +79 -492
- package/dist/commonjs/components/Inspector/CrashDetail.js +123 -672
- package/dist/commonjs/components/Inspector/CrashFilterModal.js +66 -498
- package/dist/commonjs/components/Inspector/CrashTab.js +98 -670
- package/dist/commonjs/components/Inspector/DebuggingTab.js +64 -871
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
- package/dist/commonjs/components/Inspector/FabLauncher.js +85 -54
- package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
- package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +9 -0
- package/dist/commonjs/components/Inspector/FeedbackModal.js +167 -521
- package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
- package/dist/commonjs/components/Inspector/InspectorHeader.js +219 -1093
- package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
- package/dist/commonjs/components/Inspector/MainScreen.js +60 -332
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +136 -278
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +134 -361
- package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
- package/dist/commonjs/components/Inspector/NetworkDetail.js +96 -432
- package/dist/commonjs/components/Inspector/NetworkFilterModal.js +60 -576
- package/dist/commonjs/components/Inspector/NetworkTab.js +84 -514
- package/dist/commonjs/components/Inspector/NpmStarPrompt.js +17 -433
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +25 -298
- package/dist/commonjs/components/Inspector/PerformanceTab.js +182 -1397
- package/dist/commonjs/components/Inspector/ReduxDetail.js +188 -1089
- package/dist/commonjs/components/Inspector/ReduxTab.js +85 -701
- package/dist/commonjs/components/Inspector/SettingsPanel.js +431 -3431
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +11 -180
- package/dist/commonjs/components/Inspector/StorageTab.js +93 -826
- package/dist/commonjs/components/Inspector/TabBar.js +47 -183
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +34 -408
- package/dist/commonjs/components/JsonViewer.js +168 -380
- package/dist/commonjs/components/LogCard.js +57 -567
- package/dist/commonjs/components/LogSyntaxHighlighter.js +11 -130
- package/dist/commonjs/components/MetaAccordion.js +69 -238
- package/dist/commonjs/components/MiniBarChart.js +3 -56
- package/dist/commonjs/components/MiniLineChart.js +3 -58
- package/dist/commonjs/components/NetworkIcons.d.ts +7 -0
- package/dist/commonjs/components/NetworkIcons.js +479 -997
- package/dist/commonjs/components/QRCodeView.js +5 -79
- package/dist/commonjs/components/SectionHeader.js +15 -37
- package/dist/commonjs/components/SegmentedTabs.js +7 -61
- package/dist/commonjs/components/SkeletonPlaceholder.js +11 -180
- package/dist/commonjs/components/Slider.js +15 -243
- package/dist/commonjs/components/SourcePageCard.js +30 -89
- package/dist/commonjs/components/Toast.js +5 -147
- package/dist/commonjs/components/TouchableScale.js +3 -24
- package/dist/commonjs/components/TreeNode.js +55 -130
- package/dist/commonjs/console.js +1 -16
- package/dist/commonjs/constants/index.js +1 -32
- package/dist/commonjs/constants/telemetryConfig.js +1 -6
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -4
- package/dist/commonjs/crash.js +1 -23
- package/dist/commonjs/customHooks/analyticsLogger.js +1 -250
- package/dist/commonjs/customHooks/bundleAnalyzer.js +1 -957
- package/dist/commonjs/customHooks/consoleLogger.js +6 -445
- package/dist/commonjs/customHooks/crashHandler.js +7 -656
- package/dist/commonjs/customHooks/logFilters.js +1 -23
- package/dist/commonjs/customHooks/networkLogger.js +2 -536
- package/dist/commonjs/customHooks/performanceTracker.js +63 -750
- package/dist/commonjs/customHooks/reduxLogger.js +2 -313
- package/dist/commonjs/customHooks/storageInspector.js +1 -435
- package/dist/commonjs/customHooks/useAccordion.js +1 -18
- package/dist/commonjs/decorators/index.js +1 -100
- package/dist/commonjs/helpers/gaAnalyticsRegistry.js +1 -148
- package/dist/commonjs/helpers/index.js +8 -921
- package/dist/commonjs/helpers/memoryManager.js +1 -99
- package/dist/commonjs/helpers/qrGenerator.js +1 -367
- package/dist/commonjs/helpers/remoteConfig.js +1 -165
- package/dist/commonjs/helpers/searchQueryParser.js +1 -62
- package/dist/commonjs/helpers/settingsStore.js +1 -144
- package/dist/commonjs/helpers/telemetry.js +1 -501
- package/dist/commonjs/helpers/toast.js +1 -20
- package/dist/commonjs/i18n/index.js +1 -90
- package/dist/commonjs/i18n/locales/en.json +1 -1122
- package/dist/commonjs/index.js +5 -2153
- package/dist/commonjs/metro.js +6 -468
- package/dist/commonjs/native/NativeInspector.d.ts +3 -0
- package/dist/commonjs/native/NativeInspector.js +1 -402
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +1 -0
- package/dist/commonjs/native/NativeNetworkInspector.js +1 -4
- package/dist/commonjs/network.js +1 -13
- package/dist/commonjs/performance.js +1 -29
- package/dist/commonjs/redux.js +1 -20
- package/dist/commonjs/storage.js +1 -14
- package/dist/commonjs/styles/AppColors.js +1 -423
- package/dist/commonjs/styles/AppFonts.js +1 -17
- package/dist/commonjs/styles/common.js +1 -190
- package/dist/commonjs/styles/index.d.ts +6 -0
- package/dist/commonjs/styles/index.js +1 -1589
- package/dist/commonjs/types/enums.d.ts +2 -1
- package/dist/commonjs/types/enums.js +1 -150
- package/dist/commonjs/types/index.js +1 -18
- package/dist/commonjs/types/interfaces.d.ts +7 -0
- package/dist/commonjs/types/interfaces.js +1 -2
- package/dist/esm/analytics.js +1 -2
- package/dist/esm/bundle.js +1 -2
- package/dist/esm/capture.d.ts +2 -0
- package/dist/esm/capture.js +1 -29
- package/dist/esm/components/AnalyticsDetail.js +171 -664
- package/dist/esm/components/AnalyticsEventCard.js +77 -335
- package/dist/esm/components/AnalyticsGraph.js +95 -357
- package/dist/esm/components/AnimatedEntrance.js +1 -6
- package/dist/esm/components/AppHeaderLogo.js +7 -94
- package/dist/esm/components/BrandCircleIcon.js +114 -119
- package/dist/esm/components/BrandSquareIcon.js +73 -78
- package/dist/esm/components/CodeSnippet.js +58 -595
- package/dist/esm/components/ConsoleLogCard.js +91 -526
- package/dist/esm/components/CopyButton.js +3 -51
- package/dist/esm/components/DiffViewer.js +22 -48
- package/dist/esm/components/DomainHeader.js +43 -138
- package/dist/esm/components/EmptyState.d.ts +1 -0
- package/dist/esm/components/EmptyState.js +17 -56
- package/dist/esm/components/EndOfListFooter.js +15 -83
- package/dist/esm/components/ErrorBoundary.js +125 -582
- package/dist/esm/components/HeadersSection.js +52 -93
- package/dist/esm/components/HighlightText.js +17 -53
- package/dist/esm/components/Inspector/AboutModal.d.ts +6 -0
- package/dist/esm/components/Inspector/AboutModal.js +351 -0
- package/dist/esm/components/Inspector/AnalyticsFilterModal.js +225 -886
- package/dist/esm/components/Inspector/AnalyticsTab.js +296 -904
- package/dist/esm/components/Inspector/BundleTab.js +1175 -3502
- package/dist/esm/components/Inspector/ConsoleTab.js +113 -488
- package/dist/esm/components/Inspector/CrashDetail.js +236 -747
- package/dist/esm/components/Inspector/CrashFilterModal.js +149 -541
- package/dist/esm/components/Inspector/CrashTab.js +177 -711
- package/dist/esm/components/Inspector/DebuggingTab.js +156 -923
- package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
- package/dist/esm/components/Inspector/FabLauncher.js +85 -49
- package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
- package/dist/esm/components/Inspector/FeedbackModal.d.ts +9 -0
- package/dist/esm/components/Inspector/FeedbackModal.js +182 -499
- package/dist/esm/components/Inspector/InspectorContext.js +1 -12
- package/dist/esm/components/Inspector/InspectorHeader.js +309 -1145
- package/dist/esm/components/Inspector/LogDetail.js +235 -1023
- package/dist/esm/components/Inspector/MainScreen.js +86 -320
- package/dist/esm/components/Inspector/MediaGalleryTab.js +157 -259
- package/dist/esm/components/Inspector/MediaPreviewModal.js +153 -340
- package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
- package/dist/esm/components/Inspector/NetworkDetail.js +141 -472
- package/dist/esm/components/Inspector/NetworkFilterModal.js +122 -597
- package/dist/esm/components/Inspector/NetworkTab.js +125 -517
- package/dist/esm/components/Inspector/NpmStarPrompt.js +58 -434
- package/dist/esm/components/Inspector/NpmUpdateToast.js +45 -281
- package/dist/esm/components/Inspector/PerformanceTab.js +393 -1570
- package/dist/esm/components/Inspector/ReduxDetail.js +307 -1170
- package/dist/esm/components/Inspector/ReduxTab.js +144 -722
- package/dist/esm/components/Inspector/SettingsPanel.js +647 -3609
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +30 -163
- package/dist/esm/components/Inspector/StorageTab.js +172 -866
- package/dist/esm/components/Inspector/TabBar.js +52 -183
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +79 -416
- package/dist/esm/components/JsonViewer.js +179 -353
- package/dist/esm/components/LogCard.js +93 -565
- package/dist/esm/components/LogSyntaxHighlighter.js +11 -123
- package/dist/esm/components/MetaAccordion.js +136 -267
- package/dist/esm/components/MiniBarChart.js +3 -18
- package/dist/esm/components/MiniLineChart.js +3 -20
- package/dist/esm/components/NetworkIcons.d.ts +7 -0
- package/dist/esm/components/NetworkIcons.js +481 -817
- package/dist/esm/components/QRCodeView.js +8 -45
- package/dist/esm/components/SectionHeader.js +22 -39
- package/dist/esm/components/SegmentedTabs.js +8 -57
- package/dist/esm/components/SkeletonPlaceholder.js +30 -163
- package/dist/esm/components/Slider.js +24 -213
- package/dist/esm/components/SourcePageCard.js +65 -86
- package/dist/esm/components/Toast.js +10 -117
- package/dist/esm/components/TouchableScale.js +3 -19
- package/dist/esm/components/TreeNode.js +58 -95
- package/dist/esm/console.js +1 -2
- package/dist/esm/constants/index.js +1 -28
- package/dist/esm/constants/telemetryConfig.js +1 -3
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/crash.js +1 -2
- package/dist/esm/customHooks/analyticsLogger.js +1 -230
- package/dist/esm/customHooks/bundleAnalyzer.js +1 -944
- package/dist/esm/customHooks/consoleLogger.js +6 -432
- package/dist/esm/customHooks/crashHandler.js +7 -630
- package/dist/esm/customHooks/logFilters.js +1 -20
- package/dist/esm/customHooks/networkLogger.js +2 -519
- package/dist/esm/customHooks/performanceTracker.js +63 -723
- package/dist/esm/customHooks/reduxLogger.js +2 -293
- package/dist/esm/customHooks/storageInspector.js +1 -418
- package/dist/esm/customHooks/useAccordion.js +1 -16
- package/dist/esm/decorators/index.js +1 -95
- package/dist/esm/helpers/gaAnalyticsRegistry.js +1 -143
- package/dist/esm/helpers/index.js +8 -861
- package/dist/esm/helpers/memoryManager.js +1 -91
- package/dist/esm/helpers/qrGenerator.js +1 -364
- package/dist/esm/helpers/remoteConfig.js +1 -160
- package/dist/esm/helpers/searchQueryParser.js +1 -59
- package/dist/esm/helpers/settingsStore.js +1 -134
- package/dist/esm/helpers/telemetry.js +1 -489
- package/dist/esm/helpers/toast.js +1 -15
- package/dist/esm/i18n/index.js +1 -78
- package/dist/esm/i18n/locales/en.json +1 -1122
- package/dist/esm/index.js +7 -1967
- package/dist/esm/metro.js +6 -459
- package/dist/esm/native/NativeInspector.d.ts +3 -0
- package/dist/esm/native/NativeInspector.js +1 -370
- package/dist/esm/native/NativeNetworkInspector.d.ts +1 -0
- package/dist/esm/native/NativeNetworkInspector.js +1 -2
- package/dist/esm/network.js +1 -1
- package/dist/esm/performance.js +1 -2
- package/dist/esm/redux.js +1 -1
- package/dist/esm/storage.js +1 -1
- package/dist/esm/styles/AppColors.js +1 -417
- package/dist/esm/styles/AppFonts.js +1 -13
- package/dist/esm/styles/common.js +1 -186
- package/dist/esm/styles/index.d.ts +6 -0
- package/dist/esm/styles/index.js +1 -1551
- package/dist/esm/types/enums.d.ts +2 -1
- package/dist/esm/types/enums.js +1 -147
- package/dist/esm/types/index.js +1 -2
- package/dist/esm/types/interfaces.d.ts +7 -0
- package/dist/esm/types/interfaces.js +1 -1
- package/ios/NetworkInspectorModule.mm +253 -136
- package/package.json +5 -3
- package/react-native-inapp-inspector.podspec +1 -1
- package/src/native/NativeInspector.ts +17 -0
- package/src/native/NativeNetworkInspector.ts +1 -0
- package/src/analytics.ts +0 -35
- package/src/bundle.ts +0 -25
- package/src/capture.ts +0 -101
- package/src/components/AnalyticsDetail.tsx +0 -870
- package/src/components/AnalyticsEventCard.tsx +0 -444
- package/src/components/AnalyticsGraph.tsx +0 -583
- package/src/components/AnimatedEntrance.tsx +0 -20
- package/src/components/AppHeaderLogo.tsx +0 -143
- package/src/components/BrandCircleIcon.tsx +0 -144
- package/src/components/BrandSquareIcon.tsx +0 -184
- package/src/components/CodeSnippet.tsx +0 -725
- package/src/components/ConsoleLogCard.tsx +0 -679
- package/src/components/CopyButton.tsx +0 -87
- package/src/components/DiffViewer.tsx +0 -82
- package/src/components/DomainHeader.tsx +0 -224
- package/src/components/EmptyState.tsx +0 -95
- package/src/components/EndOfListFooter.tsx +0 -100
- package/src/components/ErrorBoundary.tsx +0 -688
- package/src/components/HeadersSection.tsx +0 -172
- package/src/components/HighlightText.tsx +0 -100
- package/src/components/Inspector/AnalyticsFilterModal.tsx +0 -1250
- package/src/components/Inspector/AnalyticsTab.tsx +0 -1362
- package/src/components/Inspector/BundleTab.tsx +0 -4768
- package/src/components/Inspector/ConsoleTab.tsx +0 -726
- package/src/components/Inspector/CrashDetail.tsx +0 -997
- package/src/components/Inspector/CrashFilterModal.tsx +0 -721
- package/src/components/Inspector/CrashTab.tsx +0 -933
- package/src/components/Inspector/DebuggingTab.tsx +0 -1103
- package/src/components/Inspector/DeviceInfoTab.tsx +0 -1397
- package/src/components/Inspector/FabLauncher.tsx +0 -80
- package/src/components/Inspector/FeatureUnderDevNotice.tsx +0 -94
- package/src/components/Inspector/FeedbackModal.tsx +0 -626
- package/src/components/Inspector/InspectorContext.tsx +0 -28
- package/src/components/Inspector/InspectorHeader.tsx +0 -1545
- package/src/components/Inspector/LogDetail.tsx +0 -1431
- package/src/components/Inspector/MainScreen.tsx +0 -459
- package/src/components/Inspector/MediaGalleryTab.tsx +0 -355
- package/src/components/Inspector/MediaPreviewModal.tsx +0 -435
- package/src/components/Inspector/NavigationTracker.tsx +0 -13
- package/src/components/Inspector/NetworkDetail.tsx +0 -795
- package/src/components/Inspector/NetworkFilterModal.tsx +0 -730
- package/src/components/Inspector/NetworkTab.tsx +0 -820
- package/src/components/Inspector/NpmStarPrompt.tsx +0 -532
- package/src/components/Inspector/NpmUpdateToast.tsx +0 -387
- package/src/components/Inspector/PerformanceTab.tsx +0 -1967
- package/src/components/Inspector/ReduxDetail.tsx +0 -1651
- package/src/components/Inspector/ReduxTab.tsx +0 -987
- package/src/components/Inspector/SettingsPanel.tsx +0 -4580
- package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Inspector/StorageTab.tsx +0 -1159
- package/src/components/Inspector/TabBar.tsx +0 -263
- package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
- package/src/components/JsonViewer.tsx +0 -547
- package/src/components/LogCard.tsx +0 -694
- package/src/components/LogSyntaxHighlighter.tsx +0 -178
- package/src/components/MetaAccordion.tsx +0 -355
- package/src/components/MiniBarChart.tsx +0 -42
- package/src/components/MiniLineChart.tsx +0 -33
- package/src/components/NetworkIcons.tsx +0 -2599
- package/src/components/QRCodeView.tsx +0 -75
- package/src/components/SectionHeader.tsx +0 -101
- package/src/components/SegmentedTabs.tsx +0 -83
- package/src/components/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Slider.tsx +0 -300
- package/src/components/SourcePageCard.tsx +0 -150
- package/src/components/Toast.tsx +0 -131
- package/src/components/TouchableScale.tsx +0 -61
- package/src/components/TreeNode.tsx +0 -171
- package/src/console.ts +0 -24
- package/src/constants/index.ts +0 -41
- package/src/constants/telemetryConfig.ts +0 -4
- package/src/constants/version.ts +0 -3
- package/src/crash.ts +0 -32
- package/src/customHooks/analyticsLogger.ts +0 -336
- package/src/customHooks/bundleAnalyzer.ts +0 -1256
- package/src/customHooks/consoleLogger.ts +0 -530
- package/src/customHooks/crashHandler.ts +0 -944
- package/src/customHooks/logFilters.ts +0 -32
- package/src/customHooks/networkLogger.ts +0 -624
- package/src/customHooks/performanceTracker.ts +0 -1014
- package/src/customHooks/reduxLogger.ts +0 -406
- package/src/customHooks/storageInspector.ts +0 -513
- package/src/customHooks/useAccordion.tsx +0 -27
- package/src/decorators/index.ts +0 -184
- package/src/helpers/gaAnalyticsRegistry.ts +0 -204
- package/src/helpers/index.ts +0 -1092
- package/src/helpers/memoryManager.ts +0 -138
- package/src/helpers/qrGenerator.ts +0 -430
- package/src/helpers/remoteConfig.ts +0 -212
- package/src/helpers/searchQueryParser.ts +0 -84
- package/src/helpers/settingsStore.ts +0 -171
- package/src/helpers/telemetry.ts +0 -568
- package/src/helpers/toast.ts +0 -17
- package/src/i18n/index.ts +0 -104
- package/src/i18n/locales/en.json +0 -1125
- package/src/index.tsx +0 -2635
- package/src/metro.ts +0 -598
- package/src/network.ts +0 -22
- package/src/performance.ts +0 -38
- package/src/redux.ts +0 -23
- package/src/storage.ts +0 -18
- package/src/styles/AppColors.ts +0 -455
- package/src/styles/AppFonts.ts +0 -26
- package/src/styles/common.ts +0 -209
- package/src/styles/index.ts +0 -1606
- package/src/types/enums.ts +0 -208
- package/src/types/index.ts +0 -34
- package/src/types/interfaces.ts +0 -530
|
@@ -1,261 +1,33 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Slider = void 0;
|
|
40
|
-
const react_1 = __importStar(require("react"));
|
|
41
|
-
const react_native_1 = require("react-native");
|
|
42
|
-
const AppColors_1 = require("../styles/AppColors");
|
|
43
|
-
const AppFonts_1 = require("../styles/AppFonts");
|
|
44
|
-
const TouchableScale_1 = __importDefault(require("./TouchableScale"));
|
|
45
|
-
exports.Slider = react_1.default.memo(({ value, onValueChange, min = 50, max = 90, step = 5, formatLabel = val => `${Math.round(val)}%`, quickPresets = [50, 60, 70, 80, 90], disabled = false, }) => {
|
|
46
|
-
const trackWidthRef = (0, react_1.useRef)(0);
|
|
47
|
-
const [trackWidth, setTrackWidth] = (0, react_1.useState)(0);
|
|
48
|
-
const [isDragging, setIsDragging] = (0, react_1.useState)(false);
|
|
49
|
-
const clampedValue = Math.max(min, Math.min(max, value));
|
|
50
|
-
const percentage = (clampedValue - min) / (max - min || 1);
|
|
51
|
-
const updateValueFromPosition = (0, react_1.useCallback)((pageX, trackPageX) => {
|
|
52
|
-
if (trackWidthRef.current <= 0)
|
|
53
|
-
return;
|
|
54
|
-
const relativeX = Math.max(0, Math.min(trackWidthRef.current, pageX - trackPageX));
|
|
55
|
-
const rawRatio = relativeX / trackWidthRef.current;
|
|
56
|
-
let newValue = min + rawRatio * (max - min);
|
|
57
|
-
if (step > 0) {
|
|
58
|
-
newValue = Math.round(newValue / step) * step;
|
|
59
|
-
}
|
|
60
|
-
newValue = Math.max(min, Math.min(max, newValue));
|
|
61
|
-
onValueChange(newValue);
|
|
62
|
-
}, [min, max, step, onValueChange]);
|
|
63
|
-
const trackContainerRef = (0, react_1.useRef)(null);
|
|
64
|
-
const trackPageXRef = (0, react_1.useRef)(0);
|
|
65
|
-
const measureTrack = (0, react_1.useCallback)(() => {
|
|
66
|
-
if (trackContainerRef.current) {
|
|
67
|
-
trackContainerRef.current.measure((_x, _y, _width, _height, pageX) => {
|
|
68
|
-
trackPageXRef.current = pageX;
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
}, []);
|
|
72
|
-
const panResponder = (0, react_1.useMemo)(() => react_native_1.PanResponder.create({
|
|
73
|
-
onStartShouldSetPanResponder: () => !disabled,
|
|
74
|
-
onMoveShouldSetPanResponder: () => !disabled,
|
|
75
|
-
onPanResponderGrant: (evt) => {
|
|
76
|
-
setIsDragging(true);
|
|
77
|
-
measureTrack();
|
|
78
|
-
updateValueFromPosition(evt.nativeEvent.pageX, trackPageXRef.current);
|
|
79
|
-
},
|
|
80
|
-
onPanResponderMove: (evt, _gestureState) => {
|
|
81
|
-
updateValueFromPosition(evt.nativeEvent.pageX, trackPageXRef.current);
|
|
82
|
-
},
|
|
83
|
-
onPanResponderRelease: () => {
|
|
84
|
-
setIsDragging(false);
|
|
85
|
-
},
|
|
86
|
-
onPanResponderTerminate: () => {
|
|
87
|
-
setIsDragging(false);
|
|
88
|
-
},
|
|
89
|
-
}), [disabled, measureTrack, updateValueFromPosition]);
|
|
90
|
-
const handleLayout = (e) => {
|
|
91
|
-
const w = e.nativeEvent.layout.width;
|
|
92
|
-
trackWidthRef.current = w;
|
|
93
|
-
setTrackWidth(w);
|
|
94
|
-
measureTrack();
|
|
95
|
-
};
|
|
96
|
-
const thumbPosition = percentage * (trackWidth || 0);
|
|
97
|
-
return (<react_native_1.View style={styles.container}>
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(a,e,t,r){r===void 0&&(r=t);var o=Object.getOwnPropertyDescriptor(e,t);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(a,r,o)}):(function(a,e,t,r){r===void 0&&(r=t),a[r]=e[t]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(a,e){Object.defineProperty(a,"default",{enumerable:!0,value:e})}):function(a,e){a.default=e}),__importStar=this&&this.__importStar||(function(){var a=function(e){return a=Object.getOwnPropertyNames||function(t){var r=[];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[r.length]=o);return r},a(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=a(e),o=0;o<r.length;o++)r[o]!=="default"&&__createBinding(t,e,r[o]);return __setModuleDefault(t,e),t}})(),__importDefault=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Slider=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),AppColors_1=require("../styles/AppColors"),AppFonts_1=require("../styles/AppFonts"),TouchableScale_1=__importDefault(require("./TouchableScale"));exports.Slider=react_1.default.memo(({value:a,onValueChange:e,min:t=50,max:r=90,step:o=5,formatLabel:C=s=>`${Math.round(s)}%`,quickPresets:u=[50,60,70,80,90],disabled:c=!1})=>{const s=(0,react_1.useRef)(0),[v,A]=(0,react_1.useState)(0),[b,p]=(0,react_1.useState)(!1),d=Math.max(t,Math.min(r,a)),w=(d-t)/(r-t||1),f=(0,react_1.useCallback)((n,i)=>{if(s.current<=0)return;const y=Math.max(0,Math.min(s.current,n-i))/s.current;let l=t+y*(r-t);o>0&&(l=Math.round(l/o)*o),l=Math.max(t,Math.min(r,l)),e(l)},[t,r,o,e]),h=(0,react_1.useRef)(null),g=(0,react_1.useRef)(0),_=(0,react_1.useCallback)(()=>{h.current&&h.current.measure((n,i,V,y,l)=>{g.current=l})},[]),x=(0,react_1.useMemo)(()=>react_native_1.PanResponder.create({onStartShouldSetPanResponder:()=>!c,onMoveShouldSetPanResponder:()=>!c,onPanResponderGrant:n=>{p(!0),_(),f(n.nativeEvent.pageX,g.current)},onPanResponderMove:(n,i)=>{f(n.nativeEvent.pageX,g.current)},onPanResponderRelease:()=>{p(!1)},onPanResponderTerminate:()=>{p(!1)}}),[c,_,f]),R=n=>{const i=n.nativeEvent.layout.width;s.current=i,A(i),_()},T=w*(v||0);return<react_native_1.View style={styles.container}>
|
|
98
2
|
|
|
99
3
|
<react_native_1.View style={styles.valueRow}>
|
|
100
|
-
<react_native_1.Text style={styles.rangeText}>{
|
|
101
|
-
<react_native_1.View style={[
|
|
102
|
-
styles.
|
|
103
|
-
isDragging && styles.currentValueBadgeActive,
|
|
104
|
-
]}>
|
|
105
|
-
<react_native_1.Text style={styles.currentValueText}>{formatLabel(clampedValue)}</react_native_1.Text>
|
|
4
|
+
<react_native_1.Text style={styles.rangeText}>{t}%</react_native_1.Text>
|
|
5
|
+
<react_native_1.View style={[styles.currentValueBadge,b&&styles.currentValueBadgeActive]}>
|
|
6
|
+
<react_native_1.Text style={styles.currentValueText}>{C(d)}</react_native_1.Text>
|
|
106
7
|
</react_native_1.View>
|
|
107
|
-
<react_native_1.Text style={styles.rangeText}>{
|
|
8
|
+
<react_native_1.Text style={styles.rangeText}>{r}%</react_native_1.Text>
|
|
108
9
|
</react_native_1.View>
|
|
109
10
|
|
|
110
11
|
|
|
111
|
-
<react_native_1.View ref={
|
|
12
|
+
<react_native_1.View ref={h}onLayout={R}{...x.panHandlers}style={styles.touchArea}>
|
|
112
13
|
|
|
113
14
|
<react_native_1.View style={styles.rail}>
|
|
114
15
|
|
|
115
|
-
<react_native_1.View style={[
|
|
116
|
-
styles.fillBar,
|
|
117
|
-
{ width: `${Math.round(percentage * 100)}%` },
|
|
118
|
-
]}/>
|
|
16
|
+
<react_native_1.View style={[styles.fillBar,{width:`${Math.round(w*100)}%`}]}/>
|
|
119
17
|
</react_native_1.View>
|
|
120
18
|
|
|
121
19
|
|
|
122
|
-
<react_native_1.View style={[
|
|
123
|
-
styles.thumb,
|
|
124
|
-
{
|
|
125
|
-
left: Math.max(0, Math.min((trackWidth || 0) - 24, thumbPosition - 12)),
|
|
126
|
-
},
|
|
127
|
-
isDragging && styles.thumbActive,
|
|
128
|
-
]}>
|
|
20
|
+
<react_native_1.View style={[styles.thumb,{left:Math.max(0,Math.min((v||0)-24,T-12))},b&&styles.thumbActive]}>
|
|
129
21
|
<react_native_1.View style={styles.thumbCenterDot}/>
|
|
130
22
|
</react_native_1.View>
|
|
131
23
|
</react_native_1.View>
|
|
132
24
|
|
|
133
25
|
|
|
134
|
-
{
|
|
135
|
-
{
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
styles.presetButton,
|
|
139
|
-
isSelected && styles.presetButtonActive,
|
|
140
|
-
]}>
|
|
141
|
-
<react_native_1.Text style={[
|
|
142
|
-
styles.presetText,
|
|
143
|
-
isSelected && styles.presetTextActive,
|
|
144
|
-
]}>
|
|
145
|
-
{preset}%
|
|
26
|
+
{u&&u.length>0&&<react_native_1.View style={styles.presetRow}>
|
|
27
|
+
{u.map(n=>{const i=Math.round(d)===n;return<TouchableScale_1.default key={n}onPress={()=>e(n)}style={[styles.presetButton,i&&styles.presetButtonActive]}>
|
|
28
|
+
<react_native_1.Text style={[styles.presetText,i&&styles.presetTextActive]}>
|
|
29
|
+
{n}%
|
|
146
30
|
</react_native_1.Text>
|
|
147
|
-
</TouchableScale_1.default>)
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
</react_native_1.View>);
|
|
151
|
-
});
|
|
152
|
-
const styles = react_native_1.StyleSheet.create({
|
|
153
|
-
container: {
|
|
154
|
-
paddingVertical: 4,
|
|
155
|
-
gap: 8,
|
|
156
|
-
},
|
|
157
|
-
valueRow: {
|
|
158
|
-
flexDirection: 'row',
|
|
159
|
-
alignItems: 'center',
|
|
160
|
-
justifyContent: 'space-between',
|
|
161
|
-
paddingHorizontal: 2,
|
|
162
|
-
},
|
|
163
|
-
rangeText: {
|
|
164
|
-
fontFamily: AppFonts_1.AppFonts.interMedium,
|
|
165
|
-
fontSize: 11,
|
|
166
|
-
color: AppColors_1.AppColors.grayText,
|
|
167
|
-
},
|
|
168
|
-
currentValueBadge: {
|
|
169
|
-
backgroundColor: `${AppColors_1.AppColors.purple}1A`,
|
|
170
|
-
borderColor: `${AppColors_1.AppColors.purple}33`,
|
|
171
|
-
borderWidth: 1,
|
|
172
|
-
borderRadius: 8,
|
|
173
|
-
paddingHorizontal: 10,
|
|
174
|
-
paddingVertical: 2.5,
|
|
175
|
-
},
|
|
176
|
-
currentValueBadgeActive: {
|
|
177
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
178
|
-
borderColor: AppColors_1.AppColors.purple,
|
|
179
|
-
transform: [{ scale: 1.05 }],
|
|
180
|
-
},
|
|
181
|
-
currentValueText: {
|
|
182
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
183
|
-
fontSize: 12,
|
|
184
|
-
color: AppColors_1.AppColors.purple,
|
|
185
|
-
},
|
|
186
|
-
touchArea: {
|
|
187
|
-
height: 36,
|
|
188
|
-
justifyContent: 'center',
|
|
189
|
-
position: 'relative',
|
|
190
|
-
},
|
|
191
|
-
rail: {
|
|
192
|
-
height: 8,
|
|
193
|
-
backgroundColor: `${AppColors_1.AppColors.grayTextWeak}2B`,
|
|
194
|
-
borderRadius: 4,
|
|
195
|
-
overflow: 'hidden',
|
|
196
|
-
position: 'relative',
|
|
197
|
-
},
|
|
198
|
-
fillBar: {
|
|
199
|
-
height: '100%',
|
|
200
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
201
|
-
borderRadius: 4,
|
|
202
|
-
},
|
|
203
|
-
thumb: {
|
|
204
|
-
position: 'absolute',
|
|
205
|
-
width: 24,
|
|
206
|
-
height: 24,
|
|
207
|
-
borderRadius: 12,
|
|
208
|
-
backgroundColor: AppColors_1.AppColors.white,
|
|
209
|
-
borderWidth: 2.5,
|
|
210
|
-
borderColor: AppColors_1.AppColors.purple,
|
|
211
|
-
alignItems: 'center',
|
|
212
|
-
justifyContent: 'center',
|
|
213
|
-
shadowColor: AppColors_1.AppColors.black,
|
|
214
|
-
shadowOffset: { width: 0, height: 2 },
|
|
215
|
-
shadowOpacity: 0.18,
|
|
216
|
-
shadowRadius: 3.5,
|
|
217
|
-
elevation: 4,
|
|
218
|
-
},
|
|
219
|
-
thumbActive: {
|
|
220
|
-
transform: [{ scale: 1.15 }],
|
|
221
|
-
shadowOpacity: 0.28,
|
|
222
|
-
shadowRadius: 5,
|
|
223
|
-
elevation: 6,
|
|
224
|
-
borderColor: AppColors_1.AppColors.purple,
|
|
225
|
-
},
|
|
226
|
-
thumbCenterDot: {
|
|
227
|
-
width: 6,
|
|
228
|
-
height: 6,
|
|
229
|
-
borderRadius: 3,
|
|
230
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
231
|
-
},
|
|
232
|
-
presetRow: {
|
|
233
|
-
flexDirection: 'row',
|
|
234
|
-
alignItems: 'center',
|
|
235
|
-
justifyContent: 'space-between',
|
|
236
|
-
gap: 8,
|
|
237
|
-
marginTop: 2,
|
|
238
|
-
},
|
|
239
|
-
presetButton: {
|
|
240
|
-
flex: 1,
|
|
241
|
-
paddingVertical: 5,
|
|
242
|
-
borderRadius: 7,
|
|
243
|
-
alignItems: 'center',
|
|
244
|
-
backgroundColor: AppColors_1.AppColors.grayBackground,
|
|
245
|
-
borderWidth: 1,
|
|
246
|
-
borderColor: AppColors_1.AppColors.dividerColor,
|
|
247
|
-
},
|
|
248
|
-
presetButtonActive: {
|
|
249
|
-
backgroundColor: `${AppColors_1.AppColors.purple}20`,
|
|
250
|
-
borderColor: AppColors_1.AppColors.purple,
|
|
251
|
-
},
|
|
252
|
-
presetText: {
|
|
253
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
254
|
-
fontSize: 10.5,
|
|
255
|
-
color: AppColors_1.AppColors.grayText,
|
|
256
|
-
},
|
|
257
|
-
presetTextActive: {
|
|
258
|
-
color: AppColors_1.AppColors.purple,
|
|
259
|
-
},
|
|
260
|
-
});
|
|
261
|
-
exports.default = exports.Slider;
|
|
31
|
+
</TouchableScale_1.default>})}
|
|
32
|
+
</react_native_1.View>}
|
|
33
|
+
</react_native_1.View>});const styles=react_native_1.StyleSheet.create({container:{paddingVertical:4,gap:8},valueRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:2},rangeText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayText},currentValueBadge:{backgroundColor:`${AppColors_1.AppColors.purple}1A`,borderColor:`${AppColors_1.AppColors.purple}33`,borderWidth:1,borderRadius:8,paddingHorizontal:10,paddingVertical:2.5},currentValueBadgeActive:{backgroundColor:AppColors_1.AppColors.purple,borderColor:AppColors_1.AppColors.purple,transform:[{scale:1.05}]},currentValueText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.purple},touchArea:{height:36,justifyContent:"center",position:"relative"},rail:{height:8,backgroundColor:`${AppColors_1.AppColors.grayTextWeak}2B`,borderRadius:4,overflow:"hidden",position:"relative"},fillBar:{height:"100%",backgroundColor:AppColors_1.AppColors.purple,borderRadius:4},thumb:{position:"absolute",width:24,height:24,borderRadius:12,backgroundColor:AppColors_1.AppColors.white,borderWidth:2.5,borderColor:AppColors_1.AppColors.purple,alignItems:"center",justifyContent:"center",shadowColor:AppColors_1.AppColors.black,shadowOffset:{width:0,height:2},shadowOpacity:.18,shadowRadius:3.5,elevation:4},thumbActive:{transform:[{scale:1.15}],shadowOpacity:.28,shadowRadius:5,elevation:6,borderColor:AppColors_1.AppColors.purple},thumbCenterDot:{width:6,height:6,borderRadius:3,backgroundColor:AppColors_1.AppColors.purple},presetRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:8,marginTop:2},presetButton:{flex:1,paddingVertical:5,borderRadius:7,alignItems:"center",backgroundColor:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor},presetButtonActive:{backgroundColor:`${AppColors_1.AppColors.purple}20`,borderColor:AppColors_1.AppColors.purple},presetText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:AppColors_1.AppColors.grayText},presetTextActive:{color:AppColors_1.AppColors.purple}});exports.default=exports.Slider;
|
|
@@ -1,126 +1,67 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
const react_1 = __importDefault(require("react"));
|
|
40
|
-
const react_native_1 = require("react-native");
|
|
41
|
-
const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
42
|
-
const CopyButton_1 = __importDefault(require("./CopyButton"));
|
|
43
|
-
const useAccordion_1 = __importDefault(require("../customHooks/useAccordion"));
|
|
44
|
-
const NetworkIcons_1 = require("./NetworkIcons");
|
|
45
|
-
const AppColors_1 = require("../styles/AppColors");
|
|
46
|
-
const styles_1 = __importDefault(require("../styles"));
|
|
47
|
-
const SourcePageCard = ({ routeInfo }) => {
|
|
48
|
-
const main = (0, useAccordion_1.default)(true);
|
|
49
|
-
const params = (0, useAccordion_1.default)(false);
|
|
50
|
-
const hasParams = routeInfo.params && Object.keys(routeInfo.params).length > 0;
|
|
51
|
-
return (<react_native_1.View style={styles_1.default.sourcePageCard}>
|
|
52
|
-
<react_native_1.Pressable onPress={main.toggleOpen} hitSlop={12}>
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(e,t,r,i){i===void 0&&(i=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,a)}):(function(e,t,r,i){i===void 0&&(i=r),e[i]=t[r]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),__importStar=this&&this.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var i=[];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[i.length]=a);return i},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i=e(t),a=0;a<i.length;a++)i[a]!=="default"&&__createBinding(r,t,i[a]);return __setModuleDefault(r,t),r}})(),__importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importDefault(require("react")),react_native_1=require("react-native"),react_native_svg_1=__importStar(require("react-native-svg")),CopyButton_1=__importDefault(require("./CopyButton")),useAccordion_1=__importDefault(require("../customHooks/useAccordion")),NetworkIcons_1=require("./NetworkIcons"),AppColors_1=require("../styles/AppColors"),styles_1=__importDefault(require("../styles")),SourcePageCard=({routeInfo:e})=>{const t=(0,useAccordion_1.default)(!0),r=(0,useAccordion_1.default)(!1),i=e.params&&Object.keys(e.params).length>0;return<react_native_1.View style={styles_1.default.sourcePageCard}>
|
|
2
|
+
<react_native_1.Pressable onPress={t.toggleOpen}hitSlop={12}>
|
|
53
3
|
<react_native_1.View style={styles_1.default.sourcePageAccordionHeader}>
|
|
54
4
|
<react_native_1.View style={styles_1.default.sourcePageTop}>
|
|
55
5
|
<react_native_1.View style={styles_1.default.sourcePageIcon}>
|
|
56
|
-
<react_native_svg_1.default width={14}
|
|
57
|
-
<react_native_svg_1.Rect x="3"
|
|
58
|
-
<react_native_svg_1.Rect x="14"
|
|
59
|
-
<react_native_svg_1.Rect x="3"
|
|
60
|
-
<react_native_svg_1.Path d="M14 17.5h7M17.5 14v7"
|
|
6
|
+
<react_native_svg_1.default width={14}height={14}viewBox="0 0 24 24"fill="none">
|
|
7
|
+
<react_native_svg_1.Rect x="3"y="3"width="7"height="7"rx="1.5"stroke={AppColors_1.AppColors.purple}strokeWidth="2"/>
|
|
8
|
+
<react_native_svg_1.Rect x="14"y="3"width="7"height="7"rx="1.5"stroke={AppColors_1.AppColors.purple}strokeWidth="2"/>
|
|
9
|
+
<react_native_svg_1.Rect x="3"y="14"width="7"height="7"rx="1.5"stroke={AppColors_1.AppColors.purple}strokeWidth="2"/>
|
|
10
|
+
<react_native_svg_1.Path d="M14 17.5h7M17.5 14v7"stroke={AppColors_1.AppColors.purple}strokeWidth="2"strokeLinecap="round"/>
|
|
61
11
|
</react_native_svg_1.default>
|
|
62
12
|
</react_native_1.View>
|
|
63
|
-
<react_native_1.View style={{
|
|
13
|
+
<react_native_1.View style={{flex:1}}>
|
|
64
14
|
<react_native_1.Text style={styles_1.default.sourcePageLabel}>Source Page</react_native_1.Text>
|
|
65
|
-
<react_native_1.Text style={styles_1.default.sourcePageValue}
|
|
66
|
-
{
|
|
15
|
+
<react_native_1.Text style={styles_1.default.sourcePageValue}numberOfLines={1}>
|
|
16
|
+
{e.path}
|
|
67
17
|
</react_native_1.Text>
|
|
68
18
|
</react_native_1.View>
|
|
69
19
|
</react_native_1.View>
|
|
70
20
|
<react_native_1.View style={styles_1.default.sourcePageHeaderRight}>
|
|
71
|
-
<CopyButton_1.default value={
|
|
21
|
+
<CopyButton_1.default value={e.path}label="Source Path"/>
|
|
72
22
|
<react_native_1.View style={styles_1.default.iconSquareBtn}>
|
|
73
|
-
<react_native_1.View style={
|
|
74
|
-
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextStrong}
|
|
23
|
+
<react_native_1.View style={t.chevronStyle}>
|
|
24
|
+
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextStrong}size={14}/>
|
|
75
25
|
</react_native_1.View>
|
|
76
26
|
</react_native_1.View>
|
|
77
27
|
</react_native_1.View>
|
|
78
28
|
</react_native_1.View>
|
|
79
29
|
</react_native_1.Pressable>
|
|
80
30
|
|
|
81
|
-
{
|
|
82
|
-
{
|
|
83
|
-
<react_native_1.Pressable onPress={
|
|
31
|
+
{t.isOpen&&<react_native_1.View>
|
|
32
|
+
{i&&<react_native_1.View style={styles_1.default.sourceParamsBox}>
|
|
33
|
+
<react_native_1.Pressable onPress={r.toggleOpen}hitSlop={10}>
|
|
84
34
|
<react_native_1.View style={styles_1.default.paramsAccordionHeader}>
|
|
85
35
|
<react_native_1.View style={styles_1.default.paramsAccordionLeft}>
|
|
86
36
|
<react_native_1.Text style={styles_1.default.sourceParamsLabel}>Parameters</react_native_1.Text>
|
|
87
37
|
<react_native_1.View style={styles_1.default.headerCountBadge}>
|
|
88
38
|
<react_native_1.Text style={styles_1.default.headerCountText}>
|
|
89
|
-
{Object.keys(
|
|
39
|
+
{Object.keys(e.params).length}
|
|
90
40
|
</react_native_1.Text>
|
|
91
41
|
</react_native_1.View>
|
|
92
42
|
</react_native_1.View>
|
|
93
43
|
<react_native_1.View style={styles_1.default.paramsAccordionRight}>
|
|
94
|
-
<CopyButton_1.default value={
|
|
44
|
+
<CopyButton_1.default value={e.params}label="Parameters"/>
|
|
95
45
|
<react_native_1.View style={styles_1.default.iconSquareBtn}>
|
|
96
|
-
<react_native_1.View style={
|
|
97
|
-
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextStrong}
|
|
46
|
+
<react_native_1.View style={r.chevronStyle}>
|
|
47
|
+
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextStrong}size={14}/>
|
|
98
48
|
</react_native_1.View>
|
|
99
49
|
</react_native_1.View>
|
|
100
50
|
</react_native_1.View>
|
|
101
51
|
</react_native_1.View>
|
|
102
52
|
</react_native_1.Pressable>
|
|
103
53
|
|
|
104
|
-
{
|
|
105
|
-
{Object.entries(
|
|
106
|
-
|
|
107
|
-
i < arr.length - 1 ? styles_1.default.paramRowBorder : null,
|
|
108
|
-
]}>
|
|
109
|
-
<react_native_1.Text style={styles_1.default.paramKey}>{key}</react_native_1.Text>
|
|
54
|
+
{r.isOpen&&<react_native_1.View style={styles_1.default.paramsBody}>
|
|
55
|
+
{Object.entries(e.params).map(([a,s],n,l)=><react_native_1.View key={a}style={[styles_1.default.paramRow,n<l.length-1?styles_1.default.paramRowBorder:null]}>
|
|
56
|
+
<react_native_1.Text style={styles_1.default.paramKey}>{a}</react_native_1.Text>
|
|
110
57
|
<react_native_1.View style={styles_1.default.paramValueRow}>
|
|
111
58
|
<react_native_1.Text selectable style={styles_1.default.paramValue}>
|
|
112
|
-
{typeof
|
|
113
|
-
? JSON.stringify(val)
|
|
114
|
-
: String(val)}
|
|
59
|
+
{typeof s=="object"?JSON.stringify(s):String(s)}
|
|
115
60
|
</react_native_1.Text>
|
|
116
|
-
<CopyButton_1.default value={typeof
|
|
117
|
-
? JSON.stringify(val)
|
|
118
|
-
: String(val)} label={key}/>
|
|
61
|
+
<CopyButton_1.default value={typeof s=="object"?JSON.stringify(s):String(s)}label={a}/>
|
|
119
62
|
</react_native_1.View>
|
|
120
|
-
</react_native_1.View>)
|
|
121
|
-
</react_native_1.View>
|
|
122
|
-
</react_native_1.View>
|
|
123
|
-
</react_native_1.View>
|
|
124
|
-
</react_native_1.View>
|
|
125
|
-
};
|
|
126
|
-
exports.default = SourcePageCard;
|
|
63
|
+
</react_native_1.View>)}
|
|
64
|
+
</react_native_1.View>}
|
|
65
|
+
</react_native_1.View>}
|
|
66
|
+
</react_native_1.View>}
|
|
67
|
+
</react_native_1.View>};exports.default=SourcePageCard;
|
|
@@ -1,152 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const react_1 = __importStar(require("react"));
|
|
37
|
-
const react_native_1 = require("react-native");
|
|
38
|
-
const toast_1 = require("../helpers/toast");
|
|
39
|
-
const NetworkIcons_1 = require("./NetworkIcons");
|
|
40
|
-
const AppColors_1 = require("../styles/AppColors");
|
|
41
|
-
const AppFonts_1 = require("../styles/AppFonts");
|
|
42
|
-
const Toast = react_1.default.memo(() => {
|
|
43
|
-
const [toastMessage, setToastMessage] = (0, react_1.useState)(null);
|
|
44
|
-
const opacityAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(0)).current;
|
|
45
|
-
const translateYAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(20)).current;
|
|
46
|
-
const hideTimerRef = (0, react_1.useRef)(null);
|
|
47
|
-
(0, react_1.useEffect)(() => {
|
|
48
|
-
const unsubscribe = (0, toast_1.subscribeToast)((message) => {
|
|
49
|
-
if (hideTimerRef.current) {
|
|
50
|
-
clearTimeout(hideTimerRef.current);
|
|
51
|
-
}
|
|
52
|
-
setToastMessage(message);
|
|
53
|
-
react_native_1.Animated.parallel([
|
|
54
|
-
react_native_1.Animated.timing(opacityAnim, {
|
|
55
|
-
toValue: 1,
|
|
56
|
-
duration: 180,
|
|
57
|
-
useNativeDriver: false,
|
|
58
|
-
}),
|
|
59
|
-
react_native_1.Animated.spring(translateYAnim, {
|
|
60
|
-
toValue: 0,
|
|
61
|
-
tension: 80,
|
|
62
|
-
friction: 8,
|
|
63
|
-
useNativeDriver: false,
|
|
64
|
-
}),
|
|
65
|
-
]).start();
|
|
66
|
-
hideTimerRef.current = setTimeout(() => {
|
|
67
|
-
react_native_1.Animated.parallel([
|
|
68
|
-
react_native_1.Animated.timing(opacityAnim, {
|
|
69
|
-
toValue: 0,
|
|
70
|
-
duration: 200,
|
|
71
|
-
useNativeDriver: false,
|
|
72
|
-
}),
|
|
73
|
-
react_native_1.Animated.timing(translateYAnim, {
|
|
74
|
-
toValue: 20,
|
|
75
|
-
duration: 200,
|
|
76
|
-
useNativeDriver: false,
|
|
77
|
-
}),
|
|
78
|
-
]).start(() => {
|
|
79
|
-
setToastMessage(null);
|
|
80
|
-
});
|
|
81
|
-
}, 2000);
|
|
82
|
-
});
|
|
83
|
-
return () => {
|
|
84
|
-
unsubscribe();
|
|
85
|
-
if (hideTimerRef.current) {
|
|
86
|
-
clearTimeout(hideTimerRef.current);
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
}, [opacityAnim, translateYAnim]);
|
|
90
|
-
if (!toastMessage) {
|
|
91
|
-
return null;
|
|
92
|
-
}
|
|
93
|
-
return (<react_native_1.Animated.View pointerEvents="none" style={[
|
|
94
|
-
styles.toastContainer,
|
|
95
|
-
{
|
|
96
|
-
opacity: opacityAnim,
|
|
97
|
-
transform: [{ translateY: translateYAnim }],
|
|
98
|
-
},
|
|
99
|
-
]}>
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(i,e,n,t){t===void 0&&(t=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(i,t,r)}):(function(i,e,n,t){t===void 0&&(t=n),i[t]=e[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(i,e){Object.defineProperty(i,"default",{enumerable:!0,value:e})}):function(i,e){i.default=e}),__importStar=this&&this.__importStar||(function(){var i=function(e){return i=Object.getOwnPropertyNames||function(n){var t=[];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[t.length]=r);return t},i(e)};return function(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t=i(e),r=0;r<t.length;r++)t[r]!=="default"&&__createBinding(n,e,t[r]);return __setModuleDefault(n,e),n}})();Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),toast_1=require("../helpers/toast"),NetworkIcons_1=require("./NetworkIcons"),AppColors_1=require("../styles/AppColors"),AppFonts_1=require("../styles/AppFonts"),Toast=react_1.default.memo(()=>{const[i,e]=(0,react_1.useState)(null),n=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current,t=(0,react_1.useRef)(new react_native_1.Animated.Value(20)).current,r=(0,react_1.useRef)(null);return(0,react_1.useEffect)(()=>{const o=(0,toast_1.subscribeToast)(a=>{r.current&&clearTimeout(r.current),e(a),react_native_1.Animated.parallel([react_native_1.Animated.timing(n,{toValue:1,duration:180,useNativeDriver:!1}),react_native_1.Animated.spring(t,{toValue:0,tension:80,friction:8,useNativeDriver:!1})]).start(),r.current=setTimeout(()=>{react_native_1.Animated.parallel([react_native_1.Animated.timing(n,{toValue:0,duration:200,useNativeDriver:!1}),react_native_1.Animated.timing(t,{toValue:20,duration:200,useNativeDriver:!1})]).start(()=>{e(null)})},2e3)});return()=>{o(),r.current&&clearTimeout(r.current)}},[n,t]),i?<react_native_1.Animated.View pointerEvents="none"style={[styles.toastContainer,{opacity:n,transform:[{translateY:t}]}]}>
|
|
100
2
|
<react_native_1.View style={styles.toastCard}>
|
|
101
3
|
<react_native_1.View style={styles.iconCircle}>
|
|
102
|
-
<NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.white}
|
|
4
|
+
<NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.white}size={11}/>
|
|
103
5
|
</react_native_1.View>
|
|
104
|
-
<react_native_1.Text style={styles.toastText}
|
|
105
|
-
{
|
|
6
|
+
<react_native_1.Text style={styles.toastText}numberOfLines={2}>
|
|
7
|
+
{i}
|
|
106
8
|
</react_native_1.Text>
|
|
107
9
|
</react_native_1.View>
|
|
108
|
-
</react_native_1.Animated.View
|
|
109
|
-
});
|
|
110
|
-
const styles = react_native_1.StyleSheet.create({
|
|
111
|
-
toastContainer: {
|
|
112
|
-
position: 'absolute',
|
|
113
|
-
bottom: react_native_1.Platform.OS === 'ios' ? 44 : 28,
|
|
114
|
-
left: 20,
|
|
115
|
-
right: 20,
|
|
116
|
-
alignItems: 'center',
|
|
117
|
-
justifyContent: 'center',
|
|
118
|
-
zIndex: 999999,
|
|
119
|
-
},
|
|
120
|
-
toastCard: {
|
|
121
|
-
flexDirection: 'row',
|
|
122
|
-
alignItems: 'center',
|
|
123
|
-
backgroundColor: AppColors_1.AppColors.toastBg,
|
|
124
|
-
paddingVertical: 10,
|
|
125
|
-
paddingHorizontal: 16,
|
|
126
|
-
borderRadius: 24,
|
|
127
|
-
shadowColor: AppColors_1.AppColors.black,
|
|
128
|
-
shadowOffset: { width: 0, height: 6 },
|
|
129
|
-
shadowOpacity: 0.28,
|
|
130
|
-
shadowRadius: 10,
|
|
131
|
-
elevation: 8,
|
|
132
|
-
borderWidth: 1,
|
|
133
|
-
borderColor: AppColors_1.AppColors.toastBorder,
|
|
134
|
-
maxWidth: '90%',
|
|
135
|
-
gap: 9,
|
|
136
|
-
},
|
|
137
|
-
iconCircle: {
|
|
138
|
-
width: 18,
|
|
139
|
-
height: 18,
|
|
140
|
-
borderRadius: 9,
|
|
141
|
-
backgroundColor: AppColors_1.AppColors.greenColor,
|
|
142
|
-
alignItems: 'center',
|
|
143
|
-
justifyContent: 'center',
|
|
144
|
-
},
|
|
145
|
-
toastText: {
|
|
146
|
-
color: AppColors_1.AppColors.white,
|
|
147
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
148
|
-
fontSize: 12.5,
|
|
149
|
-
letterSpacing: -0.1,
|
|
150
|
-
},
|
|
151
|
-
});
|
|
152
|
-
exports.default = Toast;
|
|
10
|
+
</react_native_1.Animated.View>:null}),styles=react_native_1.StyleSheet.create({toastContainer:{position:"absolute",bottom:react_native_1.Platform.OS==="ios"?44:28,left:20,right:20,alignItems:"center",justifyContent:"center",zIndex:999999},toastCard:{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.toastBg,paddingVertical:10,paddingHorizontal:16,borderRadius:24,shadowColor:AppColors_1.AppColors.black,shadowOffset:{width:0,height:6},shadowOpacity:.28,shadowRadius:10,elevation:8,borderWidth:1,borderColor:AppColors_1.AppColors.toastBorder,maxWidth:"90%",gap:9},iconCircle:{width:18,height:18,borderRadius:9,backgroundColor:AppColors_1.AppColors.greenColor,alignItems:"center",justifyContent:"center"},toastText:{color:AppColors_1.AppColors.white,fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,letterSpacing:-.1}});exports.default=Toast;
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const react_native_1 = require("react-native");
|
|
8
|
-
const NativeInspector_1 = require("../native/NativeInspector");
|
|
9
|
-
const TouchableScale = react_1.default.memo(function TouchableScale({ onPress, onLongPress, style, children, hitSlop, disabled, enableHaptics = true, accessible, accessibilityRole, accessibilityLabel, accessibilityHint, accessibilityState, accessibilityValue, ...rest }) {
|
|
10
|
-
const handlePressIn = () => {
|
|
11
|
-
if (disabled)
|
|
12
|
-
return;
|
|
13
|
-
if (enableHaptics) {
|
|
14
|
-
(0, NativeInspector_1.triggerNativeHaptic)('light');
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
return (<react_native_1.Pressable accessible={accessible} accessibilityRole={accessibilityRole} accessibilityLabel={accessibilityLabel} accessibilityHint={accessibilityHint} accessibilityState={accessibilityState} accessibilityValue={accessibilityValue} disabled={disabled} style={({ pressed }) => [
|
|
18
|
-
typeof style === 'function' ? style({ pressed }) : style,
|
|
19
|
-
pressed && !disabled && { opacity: 0.82, transform: [{ scale: 0.96 }] },
|
|
20
|
-
]} onPressIn={handlePressIn} onPress={onPress} onLongPress={onLongPress} hitSlop={hitSlop} {...rest}>
|
|
21
|
-
{children}
|
|
22
|
-
</react_native_1.Pressable>);
|
|
23
|
-
});
|
|
24
|
-
exports.default = TouchableScale;
|
|
1
|
+
"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importDefault(require("react")),react_native_1=require("react-native"),NativeInspector_1=require("../native/NativeInspector"),TouchableScale=react_1.default.memo(function({onPress:r,onLongPress:s,style:t,children:c,hitSlop:n,disabled:i,enableHaptics:o=!0,accessible:l,accessibilityRole:u,accessibilityLabel:_,accessibilityHint:f,accessibilityState:b,accessibilityValue:p,...v}){const h=()=>{i||o&&(0,NativeInspector_1.triggerNativeHaptic)("light")};return<react_native_1.Pressable accessible={l}accessibilityRole={u}accessibilityLabel={_}accessibilityHint={f}accessibilityState={b}accessibilityValue={p}disabled={i}style={({pressed:a})=>[typeof t=="function"?t({pressed:a}):t,a&&!i&&{opacity:.82,transform:[{scale:.96}]}]}onPressIn={h}onPress={r}onLongPress={s}hitSlop={n}{...v}>
|
|
2
|
+
{c}
|
|
3
|
+
</react_native_1.Pressable>});exports.default=TouchableScale;
|