react-native-inapp-inspector 2.2.3 → 2.2.5
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/dist/commonjs/components/AnalyticsDetail.js +5 -1
- package/dist/commonjs/components/AnalyticsEventCard.js +2 -1
- package/dist/commonjs/components/BrandSquareIcon.js +51 -117
- package/dist/commonjs/components/DiffViewer.js +1 -1
- package/dist/commonjs/components/Inspector/BundleTab.js +22 -0
- package/dist/commonjs/components/Inspector/DeviceInfoTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +835 -0
- package/dist/commonjs/components/Inspector/InspectorHeader.js +12 -14
- package/dist/commonjs/components/Inspector/LogDetail.js +6 -3
- package/dist/commonjs/components/Inspector/MainScreen.js +7 -3
- package/dist/commonjs/components/Inspector/NetworkTab.js +92 -15
- package/dist/commonjs/components/Inspector/PerformanceTab.js +38 -12
- package/dist/commonjs/components/Inspector/SettingsPanel.js +440 -229
- package/dist/commonjs/components/Inspector/StorageTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/StorageTab.js +892 -0
- package/dist/commonjs/components/Inspector/TabBar.js +14 -0
- package/dist/commonjs/components/Inspector/TelemetryConsentModal.js +12 -18
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +4 -1
- package/dist/commonjs/components/NetworkIcons.d.ts +6 -0
- package/dist/commonjs/components/NetworkIcons.js +30 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/bundleAnalyzer.js +44 -22
- package/dist/commonjs/customHooks/storageInspector.d.ts +67 -0
- package/dist/commonjs/customHooks/storageInspector.js +486 -0
- package/dist/commonjs/i18n/locales/en.json +8 -2
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.js +16 -1
- package/dist/commonjs/native/NativeInspector.js +50 -26
- package/dist/commonjs/storage.d.ts +5 -0
- package/dist/commonjs/storage.js +18 -0
- package/dist/commonjs/types/enums.d.ts +5 -0
- package/dist/commonjs/types/enums.js +5 -0
- package/dist/esm/components/AnalyticsDetail.js +6 -2
- package/dist/esm/components/AnalyticsEventCard.js +2 -1
- package/dist/esm/components/BrandSquareIcon.js +52 -118
- package/dist/esm/components/DiffViewer.js +1 -1
- package/dist/esm/components/Inspector/BundleTab.js +22 -0
- package/dist/esm/components/Inspector/DeviceInfoTab.d.ts +3 -0
- package/dist/esm/components/Inspector/DeviceInfoTab.js +796 -0
- package/dist/esm/components/Inspector/InspectorHeader.js +13 -15
- package/dist/esm/components/Inspector/LogDetail.js +7 -4
- package/dist/esm/components/Inspector/MainScreen.js +7 -3
- package/dist/esm/components/Inspector/NetworkTab.js +93 -16
- package/dist/esm/components/Inspector/PerformanceTab.js +39 -13
- package/dist/esm/components/Inspector/SettingsPanel.js +441 -230
- package/dist/esm/components/Inspector/StorageTab.d.ts +3 -0
- package/dist/esm/components/Inspector/StorageTab.js +853 -0
- package/dist/esm/components/Inspector/TabBar.js +15 -1
- package/dist/esm/components/Inspector/TelemetryConsentModal.js +12 -18
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +4 -1
- package/dist/esm/components/NetworkIcons.d.ts +6 -0
- package/dist/esm/components/NetworkIcons.js +23 -0
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/bundleAnalyzer.js +44 -22
- package/dist/esm/customHooks/storageInspector.d.ts +67 -0
- package/dist/esm/customHooks/storageInspector.js +469 -0
- package/dist/esm/i18n/locales/en.json +8 -2
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/native/NativeInspector.js +51 -27
- package/dist/esm/storage.d.ts +5 -0
- package/dist/esm/storage.js +5 -0
- package/dist/esm/types/enums.d.ts +5 -0
- package/dist/esm/types/enums.js +5 -0
- package/ios/NetworkInspectorModule.mm +34 -19
- package/package.json +8 -1
- package/src/components/AnalyticsDetail.tsx +6 -1
- package/src/components/AnalyticsEventCard.tsx +2 -1
- package/src/components/BrandSquareIcon.tsx +109 -118
- package/src/components/DiffViewer.tsx +1 -1
- package/src/components/Inspector/BundleTab.tsx +29 -0
- package/src/components/Inspector/DeviceInfoTab.tsx +1204 -0
- package/src/components/Inspector/InspectorHeader.tsx +13 -14
- package/src/components/Inspector/LogDetail.tsx +15 -11
- package/src/components/Inspector/MainScreen.tsx +7 -3
- package/src/components/Inspector/NetworkTab.tsx +104 -16
- package/src/components/Inspector/PerformanceTab.tsx +46 -12
- package/src/components/Inspector/SettingsPanel.tsx +570 -304
- package/src/components/Inspector/StorageTab.tsx +1048 -0
- package/src/components/Inspector/TabBar.tsx +20 -0
- package/src/components/Inspector/TelemetryConsentModal.tsx +17 -52
- package/src/components/Inspector/UpdateAvailableModal.tsx +13 -1
- package/src/components/NetworkIcons.tsx +103 -0
- package/src/constants/version.ts +1 -1
- package/src/customHooks/bundleAnalyzer.ts +47 -22
- package/src/customHooks/storageInspector.ts +509 -0
- package/src/i18n/locales/en.json +8 -2
- package/src/index.tsx +21 -1
- package/src/native/NativeInspector.ts +56 -24
- package/src/storage.ts +18 -0
- package/src/types/enums.ts +5 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.subscribeToStorageChanges = exports.clearStorageDriver = exports.removeStorageEntry = exports.setStorageEntry = exports.fetchStorageEntries = exports.getRegisteredMMKVInstanceIds = exports.isMMKVConnected = exports.isAsyncStorageConnected = exports.connectMMKV = exports.connectAsyncStorage = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Sub-module entry point: react-native-inapp-inspector/storage
|
|
6
|
+
* Universal AsyncStorage and MMKV live inspector with full CRUD operations.
|
|
7
|
+
*/
|
|
8
|
+
var storageInspector_1 = require("./customHooks/storageInspector");
|
|
9
|
+
Object.defineProperty(exports, "connectAsyncStorage", { enumerable: true, get: function () { return storageInspector_1.connectAsyncStorage; } });
|
|
10
|
+
Object.defineProperty(exports, "connectMMKV", { enumerable: true, get: function () { return storageInspector_1.connectMMKV; } });
|
|
11
|
+
Object.defineProperty(exports, "isAsyncStorageConnected", { enumerable: true, get: function () { return storageInspector_1.isAsyncStorageConnected; } });
|
|
12
|
+
Object.defineProperty(exports, "isMMKVConnected", { enumerable: true, get: function () { return storageInspector_1.isMMKVConnected; } });
|
|
13
|
+
Object.defineProperty(exports, "getRegisteredMMKVInstanceIds", { enumerable: true, get: function () { return storageInspector_1.getRegisteredMMKVInstanceIds; } });
|
|
14
|
+
Object.defineProperty(exports, "fetchStorageEntries", { enumerable: true, get: function () { return storageInspector_1.fetchStorageEntries; } });
|
|
15
|
+
Object.defineProperty(exports, "setStorageEntry", { enumerable: true, get: function () { return storageInspector_1.setStorageEntry; } });
|
|
16
|
+
Object.defineProperty(exports, "removeStorageEntry", { enumerable: true, get: function () { return storageInspector_1.removeStorageEntry; } });
|
|
17
|
+
Object.defineProperty(exports, "clearStorageDriver", { enumerable: true, get: function () { return storageInspector_1.clearStorageDriver; } });
|
|
18
|
+
Object.defineProperty(exports, "subscribeToStorageChanges", { enumerable: true, get: function () { return storageInspector_1.subscribeToStorageChanges; } });
|
|
@@ -6,6 +6,8 @@ export declare const ActiveTab: {
|
|
|
6
6
|
readonly Bundle: "bundle";
|
|
7
7
|
readonly Performance: "performance";
|
|
8
8
|
readonly Crash: "crash";
|
|
9
|
+
readonly Device: "device";
|
|
10
|
+
readonly Storage: "storage";
|
|
9
11
|
};
|
|
10
12
|
export type ActiveTab = (typeof ActiveTab)[keyof typeof ActiveTab];
|
|
11
13
|
export declare const Method: {
|
|
@@ -52,11 +54,14 @@ export declare const SettingsPage: {
|
|
|
52
54
|
readonly Bundle: "bundle";
|
|
53
55
|
readonly Performance: "performance";
|
|
54
56
|
readonly Crash: "crash";
|
|
57
|
+
readonly Device: "device";
|
|
58
|
+
readonly Storage: "storage";
|
|
55
59
|
};
|
|
56
60
|
export type SettingsPage = (typeof SettingsPage)[keyof typeof SettingsPage] | null;
|
|
57
61
|
export declare const SettingsSubTab: {
|
|
58
62
|
readonly Module: "module";
|
|
59
63
|
readonly Ui: "ui";
|
|
64
|
+
readonly Limits: "limits";
|
|
60
65
|
};
|
|
61
66
|
export type SettingsSubTab = (typeof SettingsSubTab)[keyof typeof SettingsSubTab];
|
|
62
67
|
export declare const LogFilter: {
|
|
@@ -12,6 +12,8 @@ exports.ActiveTab = {
|
|
|
12
12
|
Bundle: 'bundle',
|
|
13
13
|
Performance: 'performance',
|
|
14
14
|
Crash: 'crash',
|
|
15
|
+
Device: 'device',
|
|
16
|
+
Storage: 'storage',
|
|
15
17
|
};
|
|
16
18
|
exports.Method = {
|
|
17
19
|
All: 'ALL',
|
|
@@ -52,10 +54,13 @@ exports.SettingsPage = {
|
|
|
52
54
|
Bundle: 'bundle',
|
|
53
55
|
Performance: 'performance',
|
|
54
56
|
Crash: 'crash',
|
|
57
|
+
Device: 'device',
|
|
58
|
+
Storage: 'storage',
|
|
55
59
|
};
|
|
56
60
|
exports.SettingsSubTab = {
|
|
57
61
|
Module: 'module',
|
|
58
62
|
Ui: 'ui',
|
|
63
|
+
Limits: 'limits',
|
|
59
64
|
};
|
|
60
65
|
exports.LogFilter = {
|
|
61
66
|
All: 'all',
|
|
@@ -12,7 +12,7 @@ import { AppColors } from '../styles/AppColors';
|
|
|
12
12
|
import { getSize, formatDateTime } from '../helpers';
|
|
13
13
|
import { getEventCategory } from '../helpers/gaAnalyticsRegistry';
|
|
14
14
|
import { useTranslation } from '../i18n';
|
|
15
|
-
import { SparkleIcon, ClockIcon, SearchIcon, ClearIcon, LayersIcon, CartIcon, GlobeIcon, BoltIcon, PinIcon, MoneyIcon, PrettyIcon, RawIcon, TableIcon, DocIcon, } from './NetworkIcons';
|
|
15
|
+
import { SparkleIcon, ClockIcon, SearchIcon, ClearIcon, LayersIcon, CartIcon, GlobeIcon, BoltIcon, PinIcon, MoneyIcon, PrettyIcon, RawIcon, TableIcon, DocIcon, PackageIcon, } from './NetworkIcons';
|
|
16
16
|
const AnalyticsDetail = ({ event, }) => {
|
|
17
17
|
const { t } = useTranslation();
|
|
18
18
|
const [activeViewTab, setActiveViewTab] = useState('overview');
|
|
@@ -227,8 +227,9 @@ const AnalyticsDetail = ({ event, }) => {
|
|
|
227
227
|
</View>)}
|
|
228
228
|
|
|
229
229
|
{itemsCount !== null && (<View style={detailStyles.itemsPill}>
|
|
230
|
+
<PackageIcon size={12} color="#1D4ED8"/>
|
|
230
231
|
<Text style={detailStyles.itemsValue}>
|
|
231
|
-
|
|
232
|
+
{itemsCount} items
|
|
232
233
|
</Text>
|
|
233
234
|
</View>)}
|
|
234
235
|
</View>
|
|
@@ -531,6 +532,9 @@ const detailStyles = StyleSheet.create({
|
|
|
531
532
|
color: '#047857',
|
|
532
533
|
},
|
|
533
534
|
itemsPill: {
|
|
535
|
+
flexDirection: 'row',
|
|
536
|
+
alignItems: 'center',
|
|
537
|
+
gap: 4,
|
|
534
538
|
backgroundColor: '#EFF6FF',
|
|
535
539
|
paddingHorizontal: 7,
|
|
536
540
|
paddingVertical: 3,
|
|
@@ -162,8 +162,9 @@ const AnalyticsEventCard = React.memo(function AnalyticsEventCard({ event, onPre
|
|
|
162
162
|
borderColor: `${AppColors.brandPurple}25`,
|
|
163
163
|
},
|
|
164
164
|
]}>
|
|
165
|
+
<SparkleIcon color={AppColors.brandPurple} size={10}/>
|
|
165
166
|
<Text style={[cardStyles.chipText, { color: AppColors.brandPurple, fontFamily: AppFonts.interBold }]}>
|
|
166
|
-
|
|
167
|
+
{userPropCount} {t('analytics.props')}
|
|
167
168
|
</Text>
|
|
168
169
|
</View>)}
|
|
169
170
|
|
|
@@ -1,140 +1,74 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Svg, { Circle, Path, G, Defs, LinearGradient, RadialGradient, Stop, Rect,
|
|
2
|
+
import Svg, { Circle, Path, G, Defs, LinearGradient, RadialGradient, Stop, Rect, Line, } from 'react-native-svg';
|
|
3
3
|
export const BrandSquareIcon = ({ size = 56 }) => {
|
|
4
4
|
return (<Svg width={size} height={size} viewBox="0 0 256 256" fill="none">
|
|
5
5
|
<Defs>
|
|
6
|
-
<LinearGradient id="
|
|
7
|
-
<Stop offset="0" stopColor="#
|
|
8
|
-
<Stop offset="1" stopColor="#
|
|
6
|
+
<LinearGradient id="bs_tile" x1="0" y1="0" x2="256" y2="256" gradientUnits="userSpaceOnUse">
|
|
7
|
+
<Stop offset="0" stopColor="#1E1B4B"/>
|
|
8
|
+
<Stop offset="1" stopColor="#0F172A"/>
|
|
9
9
|
</LinearGradient>
|
|
10
|
-
<LinearGradient id="
|
|
11
|
-
<Stop offset="0" stopColor="#
|
|
12
|
-
<Stop offset="
|
|
10
|
+
<LinearGradient id="bs_beam" x1="0" y1="0" x2="256" y2="256" gradientUnits="userSpaceOnUse">
|
|
11
|
+
<Stop offset="0" stopColor="#818CF8"/>
|
|
12
|
+
<Stop offset="0.5" stopColor="#A855F7"/>
|
|
13
|
+
<Stop offset="1" stopColor="#EC4899"/>
|
|
13
14
|
</LinearGradient>
|
|
14
|
-
<LinearGradient id="
|
|
15
|
-
<Stop offset="0" stopColor="#
|
|
16
|
-
<Stop offset="
|
|
17
|
-
<Stop offset="1" stopColor="#A78BFA"/>
|
|
15
|
+
<LinearGradient id="bs_body" x1="0" y1="0" x2="0" y2="256" gradientUnits="userSpaceOnUse">
|
|
16
|
+
<Stop offset="0" stopColor="#312E81"/>
|
|
17
|
+
<Stop offset="1" stopColor="#1E1B4B"/>
|
|
18
18
|
</LinearGradient>
|
|
19
|
-
<RadialGradient id="
|
|
20
|
-
<Stop offset="0" stopColor="#
|
|
21
|
-
<Stop offset="
|
|
19
|
+
<RadialGradient id="bs_iris" cx="40%" cy="40%" r="60%">
|
|
20
|
+
<Stop offset="0" stopColor="#FDE047"/>
|
|
21
|
+
<Stop offset="0.7" stopColor="#F59E0B"/>
|
|
22
|
+
<Stop offset="1" stopColor="#D97706"/>
|
|
22
23
|
</RadialGradient>
|
|
23
|
-
<LinearGradient id="
|
|
24
|
-
<Stop offset="0" stopColor="#
|
|
25
|
-
<Stop offset="1" stopColor="#
|
|
26
|
-
</LinearGradient>
|
|
27
|
-
<LinearGradient id="beakSquare" x1="120" y1="151" x2="136" y2="168" gradientUnits="userSpaceOnUse">
|
|
28
|
-
<Stop offset="0" stopColor="#FCD34D"/>
|
|
29
|
-
<Stop offset="1" stopColor="#FB923C"/>
|
|
30
|
-
</LinearGradient>
|
|
31
|
-
<RadialGradient id="irisSquare" cx="0.42" cy="0.38" r="0.72">
|
|
32
|
-
<Stop offset="0" stopColor="#FDE68A"/>
|
|
33
|
-
<Stop offset="0.5" stopColor="#FBBF24"/>
|
|
34
|
-
<Stop offset="1" stopColor="#F59E0B"/>
|
|
35
|
-
</RadialGradient>
|
|
36
|
-
<RadialGradient id="blushSquare" cx="0.5" cy="0.5" r="0.5">
|
|
37
|
-
<Stop offset="0" stopColor="#FB7185" stopOpacity={0.5}/>
|
|
38
|
-
<Stop offset="1" stopColor="#FB7185" stopOpacity={0}/>
|
|
39
|
-
</RadialGradient>
|
|
40
|
-
<LinearGradient id="wingSquare" x1="70" y1="120" x2="190" y2="206" gradientUnits="userSpaceOnUse">
|
|
41
|
-
<Stop offset="0" stopColor="#1A2545"/>
|
|
42
|
-
<Stop offset="1" stopColor="#0E1530"/>
|
|
43
|
-
</LinearGradient>
|
|
44
|
-
<LinearGradient id="faceplateSquare" x1="70" y1="72" x2="186" y2="152" gradientUnits="userSpaceOnUse">
|
|
45
|
-
<Stop offset="0" stopColor="#35497E"/>
|
|
46
|
-
<Stop offset="1" stopColor="#1E2D4D"/>
|
|
47
|
-
</LinearGradient>
|
|
48
|
-
<RadialGradient id="lensglassSquare" cx="0.4" cy="0.32" r="0.75">
|
|
49
|
-
<Stop offset="0" stopColor="#7DE8FF" stopOpacity={0.22}/>
|
|
50
|
-
<Stop offset="0.7" stopColor="#7DE8FF" stopOpacity={0.05}/>
|
|
51
|
-
<Stop offset="1" stopColor="#7DE8FF" stopOpacity={0}/>
|
|
52
|
-
</RadialGradient>
|
|
53
|
-
<LinearGradient id="bellySquare" x1="94" y1="126" x2="162" y2="212" gradientUnits="userSpaceOnUse">
|
|
54
|
-
<Stop offset="0" stopColor="#33477A"/>
|
|
55
|
-
<Stop offset="1" stopColor="#1D2B53"/>
|
|
24
|
+
<LinearGradient id="bs_beak" x1="0" y1="0" x2="0" y2="20" gradientUnits="userSpaceOnUse">
|
|
25
|
+
<Stop offset="0" stopColor="#FBBF24"/>
|
|
26
|
+
<Stop offset="1" stopColor="#F97316"/>
|
|
56
27
|
</LinearGradient>
|
|
57
28
|
</Defs>
|
|
58
|
-
<Rect x={8} y={8} width={240} height={240} rx={58} fill="url(#tileSquare)"/>
|
|
59
|
-
<Rect x={8.6} y={8.6} width={238.8} height={238.8} rx={57.4} fill="none" stroke="url(#edgeSquare)" strokeOpacity={0.6} strokeWidth={1.2}/>
|
|
60
|
-
<Circle cx={128} cy={128} r={104} fill="url(#haloSquare)"/>
|
|
61
|
-
<G transform="translate(128 128) scale(1.16) translate(-128 -134)">
|
|
62
|
-
{/* wing 1 */}
|
|
63
|
-
<Path d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z" fill="url(#wingSquare)" stroke="url(#beamSquare)" strokeWidth={2.5} strokeOpacity={0.45}/>
|
|
64
|
-
{/* wing 2 */}
|
|
65
|
-
<Path d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z" fill="url(#wingSquare)" stroke="url(#beamSquare)" strokeWidth={2.5} strokeOpacity={0.45}/>
|
|
66
|
-
{/* body */}
|
|
67
|
-
<Path d="M62 150 C58 104 70 70 90 58 L98 42 L116 62 Q128 57 140 62 L158 42 L166 58 C186 70 198 104 194 150 C198 180 184 204 152 212 C140 216 116 216 104 212 C72 204 58 180 62 150 Z" fill="url(#owlbodySquare)" stroke="url(#beamSquare)" strokeWidth={4} strokeLinejoin="round"/>
|
|
68
|
-
|
|
69
|
-
{/* inner-ear shadows */}
|
|
70
|
-
<Path d="M99 48 L114 62 L104 63 L98 55 Z" fill="#080F22" opacity={0.5}/>
|
|
71
|
-
<Path d="M157 48 L142 62 L152 63 L158 55 Z" fill="#080F22" opacity={0.5}/>
|
|
72
|
-
|
|
73
|
-
{/* wing feather lines */}
|
|
74
|
-
<G stroke="#22325A" strokeWidth={2.2} fill="none" strokeLinecap="round" opacity={0.75}>
|
|
75
|
-
<Path d="M80 138 q-5 26 3 50"/>
|
|
76
|
-
<Path d="M90 134 q-4 26 3 48"/>
|
|
77
|
-
<Path d="M176 138 q5 26 -3 50"/>
|
|
78
|
-
<Path d="M166 134 q4 26 -3 48"/>
|
|
79
|
-
</G>
|
|
80
29
|
|
|
81
|
-
|
|
82
|
-
|
|
30
|
+
{/* Rounded App Tile Background */}
|
|
31
|
+
<Rect x="8" y="8" width="240" height="240" rx="54" fill="url(#bs_tile)"/>
|
|
32
|
+
<Rect x="8" y="8" width="240" height="240" rx="54" fill="none" stroke="url(#bs_beam)" strokeWidth="3" strokeOpacity={0.4}/>
|
|
83
33
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
<Path d="M110 154 Q118 162 126 154"/>
|
|
87
|
-
<Path d="M126 154 Q134 162 142 154"/>
|
|
88
|
-
<Path d="M142 154 Q150 162 158 154"/>
|
|
89
|
-
<Path d="M102 172 Q110 180 118 172"/>
|
|
90
|
-
<Path d="M150 172 Q158 180 166 172"/>
|
|
91
|
-
<Path d="M112 190 Q120 198 128 190"/>
|
|
92
|
-
<Path d="M128 190 Q136 198 144 190"/>
|
|
93
|
-
</G>
|
|
34
|
+
{/* Owl Outer Body Contour */}
|
|
35
|
+
<Path d="M64 148 C60 102 72 68 92 56 L100 40 L118 60 Q128 55 138 60 L156 40 L164 56 C184 68 196 102 192 148 C196 178 182 202 150 210 C138 214 118 214 106 210 C74 202 60 178 64 148 Z" fill="url(#bs_body)" stroke="url(#bs_beam)" strokeWidth="4" strokeLinejoin="round"/>
|
|
94
36
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
<Path d="M122 170 L115 177 L122 184"/>
|
|
99
|
-
<Path d="M134 170 L141 177 L134 184"/>
|
|
100
|
-
<Path d="M130 168 L126 186"/>
|
|
101
|
-
</G>
|
|
37
|
+
{/* Wings */}
|
|
38
|
+
<Path d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z" fill="#1E1B4B" stroke="#818CF8" strokeWidth="2.5" strokeOpacity={0.6}/>
|
|
39
|
+
<Path d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z" fill="#1E1B4B" stroke="#818CF8" strokeWidth="2.5" strokeOpacity={0.6}/>
|
|
102
40
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
41
|
+
{/* Belly Screen Plate */}
|
|
42
|
+
<Rect x="105" y="160" width="46" height="34" rx="8" fill="#0B0F19" stroke="url(#bs_beam)" strokeWidth="2"/>
|
|
43
|
+
{/* Code Emblem on Chest */}
|
|
44
|
+
<G stroke="#A5B4FC" strokeWidth="2.8" strokeLinecap="round" strokeLinejoin="round" fill="none">
|
|
45
|
+
<Path d="M120 171 L114 177 L120 183"/>
|
|
46
|
+
<Path d="M136 171 L142 177 L136 183"/>
|
|
47
|
+
<Path d="M130 169 L126 185" stroke="#EC4899"/>
|
|
48
|
+
</G>
|
|
107
49
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
<Path d="M111 209 L105 224 M111 209 L111 226 M111 209 L117 224"/>
|
|
111
|
-
<Path d="M145 209 L139 224 M145 209 L145 226 M145 209 L151 224"/>
|
|
112
|
-
</G>
|
|
50
|
+
{/* Facial Disc & Mask */}
|
|
51
|
+
<Path d="M128 92 C148 70 186 78 186 108 C186 134 160 152 128 152 C96 152 70 134 70 108 C70 78 108 70 128 92 Z" fill="#2E1065" stroke="#818CF8" strokeWidth="2" strokeOpacity={0.6}/>
|
|
113
52
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
53
|
+
{/* Right Eye (Normal Cute Eye) */}
|
|
54
|
+
<Circle cx="154" cy="108" r="17" fill="url(#bs_iris)" stroke="#0F172A" strokeWidth="2"/>
|
|
55
|
+
<Circle cx="154" cy="108" r="8.5" fill="#0F172A"/>
|
|
56
|
+
<Circle cx="157" cy="105" r="3" fill="#FFFFFF"/>
|
|
57
|
+
<Circle cx="151" cy="111" r="1.5" fill="#FFFFFF" opacity={0.8}/>
|
|
119
58
|
|
|
120
|
-
|
|
121
|
-
|
|
59
|
+
{/* Left Eye (Diagnostic Magnifier Lens) */}
|
|
60
|
+
<Circle cx="96" cy="104" r="20" fill="url(#bs_iris)" stroke="#0F172A" strokeWidth="2"/>
|
|
61
|
+
<Circle cx="96" cy="104" r="10" fill="#0F172A"/>
|
|
62
|
+
<Circle cx="99.5" cy="100.5" r="3.5" fill="#FFFFFF"/>
|
|
63
|
+
<Circle cx="92" cy="107" r="1.8" fill="#FFFFFF" opacity={0.8}/>
|
|
122
64
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
<Circle cx={91} cy={107} r={1.8} fill="#ffffff" opacity={0.7}/>
|
|
128
|
-
<Circle cx={95} cy={103} r={28} fill="url(#lensglassSquare)"/>
|
|
129
|
-
<Path d="M77 87 A28 28 0 0 1 106 79" fill="none" stroke="#ffffff" strokeWidth={4} strokeLinecap="round" strokeOpacity={0.5}/>
|
|
130
|
-
<Line x1={75} y1={123} x2={54} y2={147} stroke="#0A0F1C" strokeWidth={14} strokeLinecap="round"/>
|
|
131
|
-
<Line x1={75} y1={123} x2={54} y2={147} stroke="url(#beamSquare)" strokeWidth={8.5} strokeLinecap="round"/>
|
|
132
|
-
<Circle cx={95} cy={103} r={28} fill="none" stroke="url(#beamSquare)" strokeWidth={7}/>
|
|
65
|
+
{/* Magnifier Glass Ring & Handle */}
|
|
66
|
+
<Line x1="76" y1="124" x2="55" y2="148" stroke="#0F172A" strokeWidth="12" strokeLinecap="round"/>
|
|
67
|
+
<Line x1="76" y1="124" x2="55" y2="148" stroke="url(#bs_beam)" strokeWidth="7" strokeLinecap="round"/>
|
|
68
|
+
<Circle cx="96" cy="104" r="28" fill="#38BDF8" fillOpacity={0.12} stroke="url(#bs_beam)" strokeWidth="6"/>
|
|
133
69
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
<Ellipse cx={167} cy={122} rx={9} ry={6} fill="url(#blushSquare)"/>
|
|
137
|
-
</G>
|
|
70
|
+
{/* Beak */}
|
|
71
|
+
<Path d="M123.5 123 Q128 121 132.5 123 Q131 132 128 134.5 Q125 132 123.5 123 Z" fill="url(#bs_beak)"/>
|
|
138
72
|
</Svg>);
|
|
139
73
|
};
|
|
140
74
|
export default BrandSquareIcon;
|
|
@@ -40,7 +40,7 @@ const DiffViewer = React.memo(({ oldData, newData, forceOpen, }) => {
|
|
|
40
40
|
return (<Text key={i} selectable={true} style={styles.diffChanged}>
|
|
41
41
|
~ <Text style={styles.codeKey}>{key}</Text>
|
|
42
42
|
{JSON.stringify(d.oldVal)}{' '}
|
|
43
|
-
<Text style={{ color: AppColors.grayTextWeak }}
|
|
43
|
+
<Text style={{ color: AppColors.grayTextWeak }}>→</Text>{' '}
|
|
44
44
|
{JSON.stringify(d.newVal)}
|
|
45
45
|
</Text>);
|
|
46
46
|
})}
|
|
@@ -985,6 +985,28 @@ const BundleTab = React.memo(() => {
|
|
|
985
985
|
{t('bundle.liveAnalysisUnavailableSub')}
|
|
986
986
|
</Text>
|
|
987
987
|
</View>
|
|
988
|
+
<TouchableScale onPress={refreshAnalysis} style={{
|
|
989
|
+
backgroundColor: `${AppColors.amber700}18`,
|
|
990
|
+
paddingHorizontal: 8,
|
|
991
|
+
paddingVertical: 5,
|
|
992
|
+
borderRadius: 6,
|
|
993
|
+
borderWidth: 1,
|
|
994
|
+
borderColor: `${AppColors.amber700}30`,
|
|
995
|
+
flexDirection: 'row',
|
|
996
|
+
alignItems: 'center',
|
|
997
|
+
gap: 4,
|
|
998
|
+
}}>
|
|
999
|
+
{isAnalyzing ? (<ActivityIndicator size="small" color={AppColors.amber700}/>) : (<>
|
|
1000
|
+
<RefreshCcwIcon color={AppColors.amber700} size={11}/>
|
|
1001
|
+
<Text style={{
|
|
1002
|
+
fontSize: 10.5,
|
|
1003
|
+
fontFamily: AppFonts.interBold,
|
|
1004
|
+
color: AppColors.amber700,
|
|
1005
|
+
}}>
|
|
1006
|
+
Retry
|
|
1007
|
+
</Text>
|
|
1008
|
+
</>)}
|
|
1009
|
+
</TouchableScale>
|
|
988
1010
|
</View>
|
|
989
1011
|
</View>)}
|
|
990
1012
|
|