react-native-inapp-inspector 2.0.4 → 2.0.6
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/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
- package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/9.2.0/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build/reports/problems/problems-report.html +659 -0
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +11 -0
- package/dist/commonjs/components/Inspector/AuditTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/AuditTab.js +741 -0
- package/dist/commonjs/components/Inspector/DeviceTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/DeviceTab.js +717 -0
- package/dist/commonjs/components/Inspector/InspectorHeader.js +115 -75
- package/dist/commonjs/components/Inspector/MainScreen.js +16 -2
- package/dist/commonjs/components/Inspector/NetworkDetail.js +15 -0
- package/dist/commonjs/components/Inspector/NetworkTab.js +317 -12
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +88 -39
- package/dist/commonjs/components/Inspector/PerformanceHud.d.ts +7 -0
- package/dist/commonjs/components/Inspector/PerformanceHud.js +210 -0
- package/dist/commonjs/components/Inspector/PerformanceTab.js +30 -18
- package/dist/commonjs/components/Inspector/RequestReplayModal.d.ts +9 -0
- package/dist/commonjs/components/Inspector/RequestReplayModal.js +792 -0
- package/dist/commonjs/components/Inspector/RequestReplayView.d.ts +8 -0
- package/dist/commonjs/components/Inspector/RequestReplayView.js +871 -0
- package/dist/commonjs/components/Inspector/SettingsPanel.js +847 -370
- package/dist/commonjs/components/Inspector/StorageTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/StorageTab.js +610 -0
- package/dist/commonjs/components/Inspector/TabBar.js +23 -2
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.d.ts +8 -0
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +469 -0
- package/dist/commonjs/components/NetworkIcons.d.ts +12 -0
- package/dist/commonjs/components/NetworkIcons.js +72 -3
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/storageInspector.d.ts +13 -0
- package/dist/commonjs/customHooks/storageInspector.js +179 -0
- package/dist/commonjs/helpers/deviceInfo.d.ts +4 -0
- package/dist/commonjs/helpers/deviceInfo.js +94 -0
- package/dist/commonjs/helpers/index.d.ts +2 -0
- package/dist/commonjs/helpers/index.js +12 -1
- package/dist/commonjs/helpers/packageAuditor.d.ts +5 -0
- package/dist/commonjs/helpers/packageAuditor.js +182 -0
- package/dist/commonjs/helpers/searchQueryParser.d.ts +8 -3
- package/dist/commonjs/helpers/searchQueryParser.js +85 -31
- package/dist/commonjs/helpers/telemetry.js +4 -4
- package/dist/commonjs/i18n/locales/en.json +3 -2
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.js +171 -16
- package/dist/commonjs/native/NativeInspector.d.ts +1 -0
- package/dist/commonjs/types/enums.d.ts +7 -0
- package/dist/commonjs/types/enums.js +7 -0
- package/dist/commonjs/types/interfaces.d.ts +82 -0
- package/dist/esm/components/Inspector/AuditTab.d.ts +3 -0
- package/dist/esm/components/Inspector/AuditTab.js +702 -0
- package/dist/esm/components/Inspector/DeviceTab.d.ts +3 -0
- package/dist/esm/components/Inspector/DeviceTab.js +678 -0
- package/dist/esm/components/Inspector/InspectorHeader.js +115 -75
- package/dist/esm/components/Inspector/MainScreen.js +16 -2
- package/dist/esm/components/Inspector/NetworkDetail.js +16 -1
- package/dist/esm/components/Inspector/NetworkTab.js +317 -12
- package/dist/esm/components/Inspector/NpmUpdateToast.js +88 -39
- package/dist/esm/components/Inspector/PerformanceHud.d.ts +7 -0
- package/dist/esm/components/Inspector/PerformanceHud.js +170 -0
- package/dist/esm/components/Inspector/PerformanceTab.js +31 -19
- package/dist/esm/components/Inspector/RequestReplayModal.d.ts +9 -0
- package/dist/esm/components/Inspector/RequestReplayModal.js +752 -0
- package/dist/esm/components/Inspector/RequestReplayView.d.ts +8 -0
- package/dist/esm/components/Inspector/RequestReplayView.js +831 -0
- package/dist/esm/components/Inspector/SettingsPanel.js +848 -371
- package/dist/esm/components/Inspector/StorageTab.d.ts +3 -0
- package/dist/esm/components/Inspector/StorageTab.js +571 -0
- package/dist/esm/components/Inspector/TabBar.js +24 -3
- package/dist/esm/components/Inspector/UpdateAvailableModal.d.ts +8 -0
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +432 -0
- package/dist/esm/components/NetworkIcons.d.ts +12 -0
- package/dist/esm/components/NetworkIcons.js +57 -0
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/storageInspector.d.ts +13 -0
- package/dist/esm/customHooks/storageInspector.js +170 -0
- package/dist/esm/helpers/deviceInfo.d.ts +4 -0
- package/dist/esm/helpers/deviceInfo.js +89 -0
- package/dist/esm/helpers/index.d.ts +2 -0
- package/dist/esm/helpers/index.js +10 -0
- package/dist/esm/helpers/packageAuditor.d.ts +5 -0
- package/dist/esm/helpers/packageAuditor.js +173 -0
- package/dist/esm/helpers/searchQueryParser.d.ts +8 -3
- package/dist/esm/helpers/searchQueryParser.js +85 -31
- package/dist/esm/helpers/telemetry.js +4 -4
- package/dist/esm/i18n/locales/en.json +3 -2
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +167 -15
- package/dist/esm/native/NativeInspector.d.ts +1 -0
- package/dist/esm/types/enums.d.ts +7 -0
- package/dist/esm/types/enums.js +7 -0
- package/dist/esm/types/interfaces.d.ts +82 -0
- package/ios/NetworkInspectorModule.mm +12 -5
- package/package.json +4 -1
|
@@ -0,0 +1,469 @@
|
|
|
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
|
+
exports.UpdateAvailableModal = void 0;
|
|
37
|
+
const react_1 = __importStar(require("react"));
|
|
38
|
+
const react_native_1 = require("react-native");
|
|
39
|
+
const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
40
|
+
const BrandSquareIcon_1 = require("../BrandSquareIcon");
|
|
41
|
+
const NetworkIcons_1 = require("../NetworkIcons");
|
|
42
|
+
const constants_1 = require("../../constants");
|
|
43
|
+
const helpers_1 = require("../../helpers");
|
|
44
|
+
const toast_1 = require("../../helpers/toast");
|
|
45
|
+
// ─── Crisp SVG Icons ─────────────────────────────────────────────────────────
|
|
46
|
+
const CopySvg = ({ size = 14, color = '#64748B' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
47
|
+
<react_native_svg_1.Path d="M8 4v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
48
|
+
<react_native_svg_1.Path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
49
|
+
</react_native_svg_1.default>);
|
|
50
|
+
const CheckSvg = ({ size = 14, color = '#10B981' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
51
|
+
<react_native_svg_1.Path d="M20 6L9 17l-5-5" stroke={color} strokeWidth="2.4" strokeLinecap="round" strokeLinejoin="round"/>
|
|
52
|
+
</react_native_svg_1.default>);
|
|
53
|
+
const ExternalLinkSvg = ({ size = 13, color = '#FFFFFF' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
54
|
+
<react_native_svg_1.Path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
55
|
+
<react_native_svg_1.Path d="M15 3h6v6" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
56
|
+
<react_native_svg_1.Path d="M10 14L21 3" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
57
|
+
</react_native_svg_1.default>);
|
|
58
|
+
const CloseSvg = ({ size = 13, color = '#64748B' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
59
|
+
<react_native_svg_1.Path d="M18 6L6 18M6 6l12 12" stroke={color} strokeWidth="2.2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
60
|
+
</react_native_svg_1.default>);
|
|
61
|
+
const SparkleSvg = ({ size = 14, color = '#F59E0B' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
62
|
+
<react_native_svg_1.Path d="M12 2l2.4 6.6L21 11l-6.6 2.4L12 20l-2.4-6.6L3 11l6.6-2.4L12 2z" fill={color}/>
|
|
63
|
+
</react_native_svg_1.default>);
|
|
64
|
+
const UpdateAvailableModal = ({ visible, latestVersion, onClose, }) => {
|
|
65
|
+
const [copied, setCopied] = (0, react_1.useState)(false);
|
|
66
|
+
const fadeAnim = (0, react_1.useState)(new react_native_1.Animated.Value(0))[0];
|
|
67
|
+
const scaleAnim = (0, react_1.useState)(new react_native_1.Animated.Value(0.92))[0];
|
|
68
|
+
const installCommand = `npm install react-native-inapp-inspector@latest`;
|
|
69
|
+
(0, react_1.useEffect)(() => {
|
|
70
|
+
if (visible) {
|
|
71
|
+
setCopied(false);
|
|
72
|
+
react_native_1.Animated.parallel([
|
|
73
|
+
react_native_1.Animated.timing(fadeAnim, {
|
|
74
|
+
toValue: 1,
|
|
75
|
+
duration: 220,
|
|
76
|
+
useNativeDriver: true,
|
|
77
|
+
}),
|
|
78
|
+
react_native_1.Animated.spring(scaleAnim, {
|
|
79
|
+
toValue: 1,
|
|
80
|
+
friction: 8,
|
|
81
|
+
tension: 50,
|
|
82
|
+
useNativeDriver: true,
|
|
83
|
+
}),
|
|
84
|
+
]).start();
|
|
85
|
+
}
|
|
86
|
+
}, [visible, fadeAnim, scaleAnim]);
|
|
87
|
+
const handleClose = () => {
|
|
88
|
+
react_native_1.Animated.parallel([
|
|
89
|
+
react_native_1.Animated.timing(fadeAnim, {
|
|
90
|
+
toValue: 0,
|
|
91
|
+
duration: 160,
|
|
92
|
+
useNativeDriver: true,
|
|
93
|
+
}),
|
|
94
|
+
react_native_1.Animated.timing(scaleAnim, {
|
|
95
|
+
toValue: 0.92,
|
|
96
|
+
duration: 160,
|
|
97
|
+
useNativeDriver: true,
|
|
98
|
+
}),
|
|
99
|
+
]).start(() => {
|
|
100
|
+
onClose();
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
const handleCopyCommand = () => {
|
|
104
|
+
(0, helpers_1.copyToClipboard)(installCommand, 'Install Command');
|
|
105
|
+
setCopied(true);
|
|
106
|
+
(0, toast_1.showToast)('Copied npm install command to clipboard!');
|
|
107
|
+
setTimeout(() => {
|
|
108
|
+
setCopied(false);
|
|
109
|
+
}, 2500);
|
|
110
|
+
};
|
|
111
|
+
const handleOpenNpm = () => {
|
|
112
|
+
react_native_1.Linking.openURL('https://www.npmjs.com/package/react-native-inapp-inspector').catch(() => { });
|
|
113
|
+
handleClose();
|
|
114
|
+
};
|
|
115
|
+
if (!visible)
|
|
116
|
+
return null;
|
|
117
|
+
return (<react_native_1.Modal transparent visible={visible} animationType="none" statusBarTranslucent onRequestClose={handleClose}>
|
|
118
|
+
<react_native_1.View style={styles.overlay}>
|
|
119
|
+
<react_native_1.Animated.View style={[
|
|
120
|
+
styles.card,
|
|
121
|
+
{
|
|
122
|
+
opacity: fadeAnim,
|
|
123
|
+
transform: [{ scale: scaleAnim }],
|
|
124
|
+
},
|
|
125
|
+
]}>
|
|
126
|
+
{/* Top-Right Dismiss Button */}
|
|
127
|
+
<react_native_1.TouchableOpacity style={styles.topCloseButton} onPress={handleClose} hitSlop={10} activeOpacity={0.7}>
|
|
128
|
+
<CloseSvg size={13} color="#64748B"/>
|
|
129
|
+
</react_native_1.TouchableOpacity>
|
|
130
|
+
|
|
131
|
+
{/* Header section with brand square icon & sparkle */}
|
|
132
|
+
<react_native_1.View style={styles.headerSection}>
|
|
133
|
+
<react_native_1.View style={styles.iconHaloRing}>
|
|
134
|
+
<BrandSquareIcon_1.BrandSquareIcon size={52}/>
|
|
135
|
+
<react_native_1.View style={styles.sparkleBadge}>
|
|
136
|
+
<SparkleSvg size={13} color="#F59E0B"/>
|
|
137
|
+
</react_native_1.View>
|
|
138
|
+
</react_native_1.View>
|
|
139
|
+
|
|
140
|
+
<react_native_1.Text style={styles.title}>Update Available</react_native_1.Text>
|
|
141
|
+
<react_native_1.Text style={styles.subtitle}>
|
|
142
|
+
A newer release of react-native-inapp-inspector is ready
|
|
143
|
+
</react_native_1.Text>
|
|
144
|
+
</react_native_1.View>
|
|
145
|
+
|
|
146
|
+
{/* Version Comparison Card */}
|
|
147
|
+
<react_native_1.View style={styles.versionComparisonCard}>
|
|
148
|
+
<react_native_1.View style={styles.versionColumn}>
|
|
149
|
+
<react_native_1.Text style={styles.versionLabel}>INSTALLED</react_native_1.Text>
|
|
150
|
+
<react_native_1.View style={styles.installedChip}>
|
|
151
|
+
<react_native_1.Text style={styles.installedText}>v{constants_1.LIB_VERSION}</react_native_1.Text>
|
|
152
|
+
</react_native_1.View>
|
|
153
|
+
</react_native_1.View>
|
|
154
|
+
|
|
155
|
+
<react_native_1.View style={styles.arrowContainer}>
|
|
156
|
+
<react_native_1.Text style={styles.arrowText}>➔</react_native_1.Text>
|
|
157
|
+
</react_native_1.View>
|
|
158
|
+
|
|
159
|
+
<react_native_1.View style={styles.versionColumn}>
|
|
160
|
+
<react_native_1.Text style={styles.versionLabel}>LATEST ON NPM</react_native_1.Text>
|
|
161
|
+
<react_native_1.View style={styles.latestChip}>
|
|
162
|
+
<NetworkIcons_1.NpmIcon size={12} color="#CB3837"/>
|
|
163
|
+
<react_native_1.Text style={styles.latestText}>v{latestVersion || 'latest'}</react_native_1.Text>
|
|
164
|
+
</react_native_1.View>
|
|
165
|
+
</react_native_1.View>
|
|
166
|
+
</react_native_1.View>
|
|
167
|
+
|
|
168
|
+
{/* Quick Install Snippet Box */}
|
|
169
|
+
<react_native_1.View style={styles.codeSnippetBox}>
|
|
170
|
+
<react_native_1.View style={styles.codeSnippetHeader}>
|
|
171
|
+
<react_native_1.Text style={styles.codeSnippetLabel}>UPGRADE COMMAND</react_native_1.Text>
|
|
172
|
+
{copied && (<react_native_1.View style={styles.copiedIndicator}>
|
|
173
|
+
<CheckSvg size={11} color="#10B981"/>
|
|
174
|
+
<react_native_1.Text style={styles.copiedText}>Copied</react_native_1.Text>
|
|
175
|
+
</react_native_1.View>)}
|
|
176
|
+
</react_native_1.View>
|
|
177
|
+
|
|
178
|
+
<react_native_1.TouchableOpacity style={styles.commandRow} onPress={handleCopyCommand} activeOpacity={0.75}>
|
|
179
|
+
<react_native_1.Text style={styles.commandText} numberOfLines={1}>
|
|
180
|
+
{installCommand}
|
|
181
|
+
</react_native_1.Text>
|
|
182
|
+
<react_native_1.View style={styles.copyIconWrapper}>
|
|
183
|
+
{copied ? <CheckSvg size={14} color="#10B981"/> : <CopySvg size={14} color="#64748B"/>}
|
|
184
|
+
</react_native_1.View>
|
|
185
|
+
</react_native_1.TouchableOpacity>
|
|
186
|
+
</react_native_1.View>
|
|
187
|
+
|
|
188
|
+
{/* Action Buttons */}
|
|
189
|
+
<react_native_1.View style={styles.buttonRow}>
|
|
190
|
+
<react_native_1.TouchableOpacity style={styles.secondaryButton} onPress={handleClose} activeOpacity={0.7}>
|
|
191
|
+
<react_native_1.Text style={styles.secondaryButtonText}>Later</react_native_1.Text>
|
|
192
|
+
</react_native_1.TouchableOpacity>
|
|
193
|
+
|
|
194
|
+
<react_native_1.TouchableOpacity style={styles.primaryButton} onPress={handleOpenNpm} activeOpacity={0.85}>
|
|
195
|
+
<react_native_1.Text style={styles.primaryButtonText}>View on NPM</react_native_1.Text>
|
|
196
|
+
<ExternalLinkSvg size={12} color="#FFFFFF"/>
|
|
197
|
+
</react_native_1.TouchableOpacity>
|
|
198
|
+
</react_native_1.View>
|
|
199
|
+
</react_native_1.Animated.View>
|
|
200
|
+
</react_native_1.View>
|
|
201
|
+
</react_native_1.Modal>);
|
|
202
|
+
};
|
|
203
|
+
exports.UpdateAvailableModal = UpdateAvailableModal;
|
|
204
|
+
const fontStack = react_native_1.Platform.select({
|
|
205
|
+
ios: {
|
|
206
|
+
fontFamily: 'System',
|
|
207
|
+
},
|
|
208
|
+
android: {
|
|
209
|
+
fontFamily: 'sans-serif',
|
|
210
|
+
},
|
|
211
|
+
default: {},
|
|
212
|
+
});
|
|
213
|
+
const styles = react_native_1.StyleSheet.create({
|
|
214
|
+
overlay: {
|
|
215
|
+
flex: 1,
|
|
216
|
+
backgroundColor: 'rgba(15, 23, 42, 0.62)',
|
|
217
|
+
justifyContent: 'center',
|
|
218
|
+
alignItems: 'center',
|
|
219
|
+
paddingHorizontal: 20,
|
|
220
|
+
zIndex: 999999,
|
|
221
|
+
},
|
|
222
|
+
card: {
|
|
223
|
+
width: '100%',
|
|
224
|
+
maxWidth: 360,
|
|
225
|
+
backgroundColor: '#FFFFFF',
|
|
226
|
+
borderRadius: 24,
|
|
227
|
+
borderWidth: 1,
|
|
228
|
+
borderColor: '#E2E8F0',
|
|
229
|
+
paddingHorizontal: 20,
|
|
230
|
+
paddingTop: 22,
|
|
231
|
+
paddingBottom: 20,
|
|
232
|
+
alignItems: 'center',
|
|
233
|
+
shadowColor: '#0F172A',
|
|
234
|
+
shadowOffset: { width: 0, height: 18 },
|
|
235
|
+
shadowOpacity: 0.24,
|
|
236
|
+
shadowRadius: 36,
|
|
237
|
+
elevation: 24,
|
|
238
|
+
},
|
|
239
|
+
topCloseButton: {
|
|
240
|
+
position: 'absolute',
|
|
241
|
+
top: 14,
|
|
242
|
+
right: 14,
|
|
243
|
+
width: 28,
|
|
244
|
+
height: 28,
|
|
245
|
+
borderRadius: 14,
|
|
246
|
+
backgroundColor: '#F8FAFC',
|
|
247
|
+
justifyContent: 'center',
|
|
248
|
+
alignItems: 'center',
|
|
249
|
+
borderWidth: 1,
|
|
250
|
+
borderColor: '#E2E8F0',
|
|
251
|
+
zIndex: 10,
|
|
252
|
+
},
|
|
253
|
+
headerSection: {
|
|
254
|
+
alignItems: 'center',
|
|
255
|
+
width: '100%',
|
|
256
|
+
marginBottom: 12,
|
|
257
|
+
},
|
|
258
|
+
iconHaloRing: {
|
|
259
|
+
width: 66,
|
|
260
|
+
height: 66,
|
|
261
|
+
borderRadius: 20,
|
|
262
|
+
backgroundColor: '#FAF5FF',
|
|
263
|
+
justifyContent: 'center',
|
|
264
|
+
alignItems: 'center',
|
|
265
|
+
borderWidth: 1.5,
|
|
266
|
+
borderColor: '#F3E8FF',
|
|
267
|
+
marginBottom: 8,
|
|
268
|
+
shadowColor: '#7C3AED',
|
|
269
|
+
shadowOffset: { width: 0, height: 4 },
|
|
270
|
+
shadowOpacity: 0.16,
|
|
271
|
+
shadowRadius: 10,
|
|
272
|
+
elevation: 4,
|
|
273
|
+
},
|
|
274
|
+
sparkleBadge: {
|
|
275
|
+
position: 'absolute',
|
|
276
|
+
top: -4,
|
|
277
|
+
right: -4,
|
|
278
|
+
width: 22,
|
|
279
|
+
height: 22,
|
|
280
|
+
borderRadius: 11,
|
|
281
|
+
backgroundColor: '#FEF3C7',
|
|
282
|
+
justifyContent: 'center',
|
|
283
|
+
alignItems: 'center',
|
|
284
|
+
borderWidth: 1.5,
|
|
285
|
+
borderColor: '#FFFFFF',
|
|
286
|
+
},
|
|
287
|
+
title: {
|
|
288
|
+
fontSize: 17.5,
|
|
289
|
+
fontWeight: '800',
|
|
290
|
+
color: '#0F172A',
|
|
291
|
+
letterSpacing: -0.4,
|
|
292
|
+
textAlign: 'center',
|
|
293
|
+
lineHeight: 22,
|
|
294
|
+
marginBottom: 2,
|
|
295
|
+
...fontStack,
|
|
296
|
+
},
|
|
297
|
+
subtitle: {
|
|
298
|
+
fontSize: 12,
|
|
299
|
+
fontWeight: '500',
|
|
300
|
+
color: '#64748B',
|
|
301
|
+
textAlign: 'center',
|
|
302
|
+
lineHeight: 16,
|
|
303
|
+
paddingHorizontal: 8,
|
|
304
|
+
...fontStack,
|
|
305
|
+
},
|
|
306
|
+
versionComparisonCard: {
|
|
307
|
+
flexDirection: 'row',
|
|
308
|
+
alignItems: 'center',
|
|
309
|
+
justifyContent: 'space-between',
|
|
310
|
+
backgroundColor: '#F8FAFC',
|
|
311
|
+
borderRadius: 14,
|
|
312
|
+
borderWidth: 1,
|
|
313
|
+
borderColor: '#E2E8F0',
|
|
314
|
+
paddingVertical: 10,
|
|
315
|
+
paddingHorizontal: 14,
|
|
316
|
+
marginBottom: 12,
|
|
317
|
+
width: '100%',
|
|
318
|
+
},
|
|
319
|
+
versionColumn: {
|
|
320
|
+
alignItems: 'center',
|
|
321
|
+
gap: 4,
|
|
322
|
+
},
|
|
323
|
+
versionLabel: {
|
|
324
|
+
fontSize: 9.5,
|
|
325
|
+
fontWeight: '700',
|
|
326
|
+
color: '#94A3B8',
|
|
327
|
+
letterSpacing: 0.6,
|
|
328
|
+
...fontStack,
|
|
329
|
+
},
|
|
330
|
+
installedChip: {
|
|
331
|
+
backgroundColor: '#E2E8F0',
|
|
332
|
+
paddingHorizontal: 8,
|
|
333
|
+
paddingVertical: 3,
|
|
334
|
+
borderRadius: 6,
|
|
335
|
+
},
|
|
336
|
+
installedText: {
|
|
337
|
+
fontSize: 12,
|
|
338
|
+
fontWeight: '700',
|
|
339
|
+
color: '#475569',
|
|
340
|
+
...fontStack,
|
|
341
|
+
},
|
|
342
|
+
arrowContainer: {
|
|
343
|
+
paddingHorizontal: 6,
|
|
344
|
+
},
|
|
345
|
+
arrowText: {
|
|
346
|
+
fontSize: 14,
|
|
347
|
+
color: '#94A3B8',
|
|
348
|
+
fontWeight: '700',
|
|
349
|
+
},
|
|
350
|
+
latestChip: {
|
|
351
|
+
flexDirection: 'row',
|
|
352
|
+
alignItems: 'center',
|
|
353
|
+
gap: 4,
|
|
354
|
+
backgroundColor: '#EDE9FE',
|
|
355
|
+
paddingHorizontal: 8,
|
|
356
|
+
paddingVertical: 3,
|
|
357
|
+
borderRadius: 6,
|
|
358
|
+
borderWidth: 1,
|
|
359
|
+
borderColor: '#DDD6FE',
|
|
360
|
+
},
|
|
361
|
+
latestText: {
|
|
362
|
+
fontSize: 12,
|
|
363
|
+
fontWeight: '800',
|
|
364
|
+
color: '#6D28D9',
|
|
365
|
+
...fontStack,
|
|
366
|
+
},
|
|
367
|
+
codeSnippetBox: {
|
|
368
|
+
backgroundColor: '#0F172A',
|
|
369
|
+
borderRadius: 12,
|
|
370
|
+
padding: 10,
|
|
371
|
+
width: '100%',
|
|
372
|
+
marginBottom: 14,
|
|
373
|
+
borderWidth: 1,
|
|
374
|
+
borderColor: '#1E293B',
|
|
375
|
+
},
|
|
376
|
+
codeSnippetHeader: {
|
|
377
|
+
flexDirection: 'row',
|
|
378
|
+
justifyContent: 'space-between',
|
|
379
|
+
alignItems: 'center',
|
|
380
|
+
marginBottom: 6,
|
|
381
|
+
},
|
|
382
|
+
codeSnippetLabel: {
|
|
383
|
+
fontSize: 9.5,
|
|
384
|
+
fontWeight: '700',
|
|
385
|
+
color: '#64748B',
|
|
386
|
+
letterSpacing: 0.6,
|
|
387
|
+
...fontStack,
|
|
388
|
+
},
|
|
389
|
+
copiedIndicator: {
|
|
390
|
+
flexDirection: 'row',
|
|
391
|
+
alignItems: 'center',
|
|
392
|
+
gap: 3,
|
|
393
|
+
},
|
|
394
|
+
copiedText: {
|
|
395
|
+
fontSize: 9.5,
|
|
396
|
+
fontWeight: '600',
|
|
397
|
+
color: '#10B981',
|
|
398
|
+
...fontStack,
|
|
399
|
+
},
|
|
400
|
+
commandRow: {
|
|
401
|
+
flexDirection: 'row',
|
|
402
|
+
alignItems: 'center',
|
|
403
|
+
justifyContent: 'space-between',
|
|
404
|
+
backgroundColor: '#1E293B',
|
|
405
|
+
borderRadius: 8,
|
|
406
|
+
paddingVertical: 7,
|
|
407
|
+
paddingHorizontal: 9,
|
|
408
|
+
gap: 8,
|
|
409
|
+
},
|
|
410
|
+
commandText: {
|
|
411
|
+
flex: 1,
|
|
412
|
+
fontSize: 11,
|
|
413
|
+
fontFamily: react_native_1.Platform.OS === 'ios' ? 'Courier' : 'monospace',
|
|
414
|
+
color: '#38BDF8',
|
|
415
|
+
},
|
|
416
|
+
copyIconWrapper: {
|
|
417
|
+
width: 22,
|
|
418
|
+
height: 22,
|
|
419
|
+
borderRadius: 6,
|
|
420
|
+
backgroundColor: '#334155',
|
|
421
|
+
justifyContent: 'center',
|
|
422
|
+
alignItems: 'center',
|
|
423
|
+
},
|
|
424
|
+
buttonRow: {
|
|
425
|
+
flexDirection: 'row',
|
|
426
|
+
justifyContent: 'space-between',
|
|
427
|
+
alignItems: 'center',
|
|
428
|
+
gap: 10,
|
|
429
|
+
width: '100%',
|
|
430
|
+
},
|
|
431
|
+
secondaryButton: {
|
|
432
|
+
flex: 1,
|
|
433
|
+
alignItems: 'center',
|
|
434
|
+
justifyContent: 'center',
|
|
435
|
+
paddingVertical: 11,
|
|
436
|
+
borderRadius: 12,
|
|
437
|
+
backgroundColor: '#F1F5F9',
|
|
438
|
+
borderWidth: 1,
|
|
439
|
+
borderColor: '#E2E8F0',
|
|
440
|
+
},
|
|
441
|
+
secondaryButtonText: {
|
|
442
|
+
fontSize: 13,
|
|
443
|
+
fontWeight: '600',
|
|
444
|
+
color: '#475569',
|
|
445
|
+
...fontStack,
|
|
446
|
+
},
|
|
447
|
+
primaryButton: {
|
|
448
|
+
flex: 1.3,
|
|
449
|
+
flexDirection: 'row',
|
|
450
|
+
alignItems: 'center',
|
|
451
|
+
justifyContent: 'center',
|
|
452
|
+
gap: 6,
|
|
453
|
+
paddingVertical: 11,
|
|
454
|
+
borderRadius: 12,
|
|
455
|
+
backgroundColor: '#7C3AED',
|
|
456
|
+
shadowColor: '#7C3AED',
|
|
457
|
+
shadowOffset: { width: 0, height: 3 },
|
|
458
|
+
shadowOpacity: 0.28,
|
|
459
|
+
shadowRadius: 6,
|
|
460
|
+
elevation: 4,
|
|
461
|
+
},
|
|
462
|
+
primaryButtonText: {
|
|
463
|
+
fontSize: 13,
|
|
464
|
+
fontWeight: '700',
|
|
465
|
+
color: '#FFFFFF',
|
|
466
|
+
...fontStack,
|
|
467
|
+
},
|
|
468
|
+
});
|
|
469
|
+
exports.default = exports.UpdateAvailableModal;
|
|
@@ -22,6 +22,7 @@ export declare const SizeIcon: ({ color }: IconProps) => React.JSX.Element;
|
|
|
22
22
|
export declare const RequestIcon: ({ color }: IconProps) => React.JSX.Element;
|
|
23
23
|
export declare const ResponseIcon: ({ color }: IconProps) => React.JSX.Element;
|
|
24
24
|
export declare const HeadersIcon: ({ color }: IconProps) => React.JSX.Element;
|
|
25
|
+
export declare const ReplayIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
25
26
|
export declare const CopyIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
26
27
|
export declare const FetchIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
27
28
|
export declare const TerminalIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
@@ -127,3 +128,14 @@ export declare const TagIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
|
127
128
|
export declare const NpmIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
128
129
|
export declare const ResetIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
129
130
|
export declare const ChevronDownIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
131
|
+
export declare const DatabaseIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
132
|
+
export declare const DevicePhoneIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
133
|
+
export declare const FlagIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
134
|
+
export declare const EditIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
135
|
+
export declare const PlusIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
136
|
+
export declare const CodeIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
137
|
+
export declare const CpuIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
138
|
+
export declare const FingerprintIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
139
|
+
export declare const MonitorIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
140
|
+
export declare const ShieldCheckIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
141
|
+
export declare const SparklesIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
@@ -36,9 +36,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.ChevronDownIcon = exports.ResetIcon = exports.NpmIcon = exports.TagIcon = exports.BugIcon = exports.AlertTriangleIcon = exports.SmartphoneIcon = exports.KeyIcon = exports.BarChartIcon = exports.DiceIcon = exports.ZapIcon = exports.FlaskIcon = exports.LoadingSpinnerIcon = exports.ListenerIcon = exports.AllFramesIcon = exports.AppFramesIcon = exports.RawJsonIcon = exports.TrailIcon = void 0;
|
|
39
|
+
exports.UserIcon = exports.LayersIcon = exports.WipeIcon = exports.FolderIcon = exports.SettingsIcon = exports.EyeIcon = exports.JsIcon = exports.CssIcon = exports.HtmlIcon = exports.BrandSquareIcon = exports.BrandCircleIcon = exports.MoonIcon = exports.SunIcon = exports.DebugIcon = exports.InsightsIcon = exports.AnalyticsIcon = exports.WhiteBackNavigation = exports.CloseWhite = exports.DownloadIcon = exports.FilterIcon = exports.ChevronIcon = exports.SortArrowIcon = exports.GlobeIcon = exports.DiffIcon = exports.SignalIcon = exports.ExportIcon = exports.HeaderPauseIcon = exports.TrashIcon = exports.FailIcon = exports.CircleAlertIcon = exports.CircleXIcon = exports.CircleCheckIcon = exports.CheckIcon = exports.TerminalIcon = exports.FetchIcon = exports.CopyIcon = exports.ReplayIcon = exports.HeadersIcon = exports.ResponseIcon = exports.RequestIcon = exports.SizeIcon = exports.StatusIcon = exports.CalendarIcon = exports.ClockIcon = exports.ClearIcon = exports.SearchIcon = exports.ExpandCollapseIcon = exports.ScreenIcon = exports.MapPinIcon = exports.EmptyRadarIcon = void 0;
|
|
40
|
+
exports.StackTraceIcon = exports.LayoutIcon = exports.ChipIcon = exports.SkullIcon = exports.ShieldAlertIcon = exports.CrashIcon = exports.UserCheckIcon = exports.TargetGoalIcon = exports.RepeatIcon = exports.PinIcon = exports.HourglassIcon = exports.FlameIcon = exports.CodeBracketsIcon = exports.AndroidIcon = exports.AppleIcon = exports.LinkChainIcon = exports.GitHubIcon = exports.PackageBoxIcon = exports.ExternalLinkIcon = exports.MoneyIcon = exports.CartIcon = exports.TextAaIcon = exports.BrainIcon = exports.AtomIcon = exports.MapIcon = exports.SparkleIcon = exports.LightbulbIcon = exports.DocIcon = exports.FolderOpenIcon = exports.BanIcon = exports.BoltIcon = exports.PerformanceIcon = exports.ReduxIcon = exports.MetadataIcon = exports.StorageIcon = exports.RefreshCcwIcon = exports.TimelineIcon = exports.LiveStateIcon = exports.BundleIcon = exports.ForwardChevronIcon = exports.PackageIcon = exports.TableIcon = exports.RawIcon = exports.PrettyIcon = exports.SortIcon = exports.MotionIcon = exports.TrendingUpIcon = exports.ErrorCircleIcon = exports.WarningTriangleIcon = exports.InfoCircleIcon = void 0;
|
|
41
|
+
exports.SparklesIcon = exports.ShieldCheckIcon = exports.MonitorIcon = exports.FingerprintIcon = exports.CpuIcon = exports.CodeIcon = exports.PlusIcon = exports.EditIcon = exports.FlagIcon = exports.DevicePhoneIcon = exports.DatabaseIcon = exports.ChevronDownIcon = exports.ResetIcon = exports.NpmIcon = exports.TagIcon = exports.BugIcon = exports.AlertTriangleIcon = exports.SmartphoneIcon = exports.KeyIcon = exports.BarChartIcon = exports.DiceIcon = exports.ZapIcon = exports.FlaskIcon = exports.LoadingSpinnerIcon = exports.ListenerIcon = exports.AllFramesIcon = exports.AppFramesIcon = exports.RawJsonIcon = exports.TrailIcon = exports.DiagnosticsIcon = void 0;
|
|
42
42
|
const react_1 = __importDefault(require("react"));
|
|
43
43
|
const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
44
44
|
// Stylesheet
|
|
@@ -133,6 +133,14 @@ const HeadersIcon = ({ color = AppColors_1.AppColors.skyBlue }) => {
|
|
|
133
133
|
</react_native_svg_1.default>);
|
|
134
134
|
};
|
|
135
135
|
exports.HeadersIcon = HeadersIcon;
|
|
136
|
+
const ReplayIcon = ({ color = AppColors_1.AppColors.purple, size = 14, }) => {
|
|
137
|
+
return (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
138
|
+
<react_native_svg_1.Path d="M21 2v6h-6" stroke={color} strokeWidth="2.2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
139
|
+
<react_native_svg_1.Path d="M21 8A10 10 0 1 0 21.8 14" stroke={color} strokeWidth="2.2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
140
|
+
<react_native_svg_1.Path d="M10 8.5l5.5 3.5-5.5 3.5v-7z" fill={color}/>
|
|
141
|
+
</react_native_svg_1.default>);
|
|
142
|
+
};
|
|
143
|
+
exports.ReplayIcon = ReplayIcon;
|
|
136
144
|
const CopyIcon = ({ color = AppColors_1.AppColors.grayTextWeak, size = 14 }) => {
|
|
137
145
|
return (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
138
146
|
<react_native_svg_1.Path d="M9 9V5a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-4" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
@@ -869,3 +877,64 @@ const ChevronDownIcon = ({ color = AppColors_1.AppColors.grayTextWeak, size = 14
|
|
|
869
877
|
<react_native_svg_1.Path d="M6 9l6 6 6-6" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
870
878
|
</react_native_svg_1.default>);
|
|
871
879
|
exports.ChevronDownIcon = ChevronDownIcon;
|
|
880
|
+
const DatabaseIcon = ({ color = AppColors_1.AppColors.purple, size = 16 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
881
|
+
<react_native_svg_1.Ellipse cx="12" cy="5" rx="9" ry="3" stroke={color} strokeWidth="1.8"/>
|
|
882
|
+
<react_native_svg_1.Path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
883
|
+
<react_native_svg_1.Path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
884
|
+
</react_native_svg_1.default>);
|
|
885
|
+
exports.DatabaseIcon = DatabaseIcon;
|
|
886
|
+
const DevicePhoneIcon = ({ color = AppColors_1.AppColors.purple, size = 16 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
887
|
+
<react_native_svg_1.Rect x="5" y="2" width="14" height="20" rx="3" stroke={color} strokeWidth="1.8"/>
|
|
888
|
+
<react_native_svg_1.Line x1="12" y1="18" x2="12.01" y2="18" stroke={color} strokeWidth="2.5" strokeLinecap="round"/>
|
|
889
|
+
<react_native_svg_1.Line x1="9" y1="5" x2="15" y2="5" stroke={color} strokeWidth="1.5" strokeLinecap="round"/>
|
|
890
|
+
</react_native_svg_1.default>);
|
|
891
|
+
exports.DevicePhoneIcon = DevicePhoneIcon;
|
|
892
|
+
const FlagIcon = ({ color = AppColors_1.AppColors.purple, size = 16 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
893
|
+
<react_native_svg_1.Path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1zM4 22v-7" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"/>
|
|
894
|
+
</react_native_svg_1.default>);
|
|
895
|
+
exports.FlagIcon = FlagIcon;
|
|
896
|
+
const EditIcon = ({ color = AppColors_1.AppColors.grayText, size = 14 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
897
|
+
<react_native_svg_1.Path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"/>
|
|
898
|
+
</react_native_svg_1.default>);
|
|
899
|
+
exports.EditIcon = EditIcon;
|
|
900
|
+
const PlusIcon = ({ color = AppColors_1.AppColors.white, size = 14 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
901
|
+
<react_native_svg_1.Line x1="12" y1="5" x2="12" y2="19" stroke={color} strokeWidth="2" strokeLinecap="round"/>
|
|
902
|
+
<react_native_svg_1.Line x1="5" y1="12" x2="19" y2="12" stroke={color} strokeWidth="2" strokeLinecap="round"/>
|
|
903
|
+
</react_native_svg_1.default>);
|
|
904
|
+
exports.PlusIcon = PlusIcon;
|
|
905
|
+
const CodeIcon = ({ color = AppColors_1.AppColors.grayText, size = 14 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
906
|
+
<react_native_svg_1.Path d="M16 18l6-6-6-6M8 6l-6 6 6 6" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"/>
|
|
907
|
+
</react_native_svg_1.default>);
|
|
908
|
+
exports.CodeIcon = CodeIcon;
|
|
909
|
+
const CpuIcon = ({ color = AppColors_1.AppColors.grayText, size = 14 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
910
|
+
<react_native_svg_1.Rect x="4" y="4" width="16" height="16" rx="2" stroke={color} strokeWidth="1.8"/>
|
|
911
|
+
<react_native_svg_1.Rect x="9" y="9" width="6" height="6" stroke={color} strokeWidth="1.8"/>
|
|
912
|
+
<react_native_svg_1.Line x1="9" y1="1" x2="9" y2="4" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
913
|
+
<react_native_svg_1.Line x1="15" y1="1" x2="15" y2="4" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
914
|
+
<react_native_svg_1.Line x1="9" y1="20" x2="9" y2="23" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
915
|
+
<react_native_svg_1.Line x1="15" y1="20" x2="15" y2="23" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
916
|
+
<react_native_svg_1.Line x1="20" y1="9" x2="23" y2="9" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
917
|
+
<react_native_svg_1.Line x1="20" y1="15" x2="23" y2="15" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
918
|
+
<react_native_svg_1.Line x1="1" y1="9" x2="4" y2="9" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
919
|
+
<react_native_svg_1.Line x1="1" y1="15" x2="4" y2="15" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
920
|
+
</react_native_svg_1.default>);
|
|
921
|
+
exports.CpuIcon = CpuIcon;
|
|
922
|
+
const FingerprintIcon = ({ color = AppColors_1.AppColors.grayText, size = 14 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
923
|
+
<react_native_svg_1.Path d="M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10c0 2.21-.895 4.21-2.343 5.657M12 7c-2.761 0-5 2.239-5 5 0 1.38.56 2.63 1.464 3.536M12 11c-.552 0-1 .448-1 1 0 2.5 1.5 4.5 4 5" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"/>
|
|
924
|
+
</react_native_svg_1.default>);
|
|
925
|
+
exports.FingerprintIcon = FingerprintIcon;
|
|
926
|
+
const MonitorIcon = ({ color = AppColors_1.AppColors.grayText, size = 14 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
927
|
+
<react_native_svg_1.Rect x="2" y="3" width="20" height="14" rx="2" stroke={color} strokeWidth="1.8"/>
|
|
928
|
+
<react_native_svg_1.Line x1="8" y1="21" x2="16" y2="21" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
929
|
+
<react_native_svg_1.Line x1="12" y1="17" x2="12" y2="21" stroke={color} strokeWidth="1.8" strokeLinecap="round"/>
|
|
930
|
+
</react_native_svg_1.default>);
|
|
931
|
+
exports.MonitorIcon = MonitorIcon;
|
|
932
|
+
const ShieldCheckIcon = ({ color = AppColors_1.AppColors.greenColor, size = 16 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
933
|
+
<react_native_svg_1.Path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"/>
|
|
934
|
+
<react_native_svg_1.Path d="M9 12l2 2 4-4" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"/>
|
|
935
|
+
</react_native_svg_1.default>);
|
|
936
|
+
exports.ShieldCheckIcon = ShieldCheckIcon;
|
|
937
|
+
const SparklesIcon = ({ color = AppColors_1.AppColors.purple, size = 16 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
938
|
+
<react_native_svg_1.Path d="M12 3l1.912 5.885L20 10.8l-4.756 3.63L16.824 20 12 16.3 7.176 20l1.58-5.57L4 10.8l6.088-1.915L12 3z" stroke={color} strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"/>
|
|
939
|
+
</react_native_svg_1.default>);
|
|
940
|
+
exports.SparklesIcon = SparklesIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "2.0.
|
|
1
|
+
export declare const LIB_VERSION = "2.0.6";
|
|
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LIB_VERSION = void 0;
|
|
4
4
|
// AUTO-GENERATED FILE — do not edit by hand.
|
|
5
5
|
// Regenerated from package.json on every build by scripts/gen-version.js.
|
|
6
|
-
exports.LIB_VERSION = '2.0.
|
|
6
|
+
exports.LIB_VERSION = '2.0.6';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StorageEntry } from '../types';
|
|
2
|
+
type StorageListener = () => void;
|
|
3
|
+
export declare function setCustomStorageAdapter(adapter: any): void;
|
|
4
|
+
export declare function subscribeStorageChanges(listener: StorageListener): () => void;
|
|
5
|
+
export declare function notifyStorageChange(): void;
|
|
6
|
+
/**
|
|
7
|
+
* Reads all entries from on-device storage (AsyncStorage or fallback store).
|
|
8
|
+
*/
|
|
9
|
+
export declare function fetchAllStorageEntries(): Promise<StorageEntry[]>;
|
|
10
|
+
export declare function setStorageItem(key: string, value: string): Promise<void>;
|
|
11
|
+
export declare function removeStorageItem(key: string): Promise<void>;
|
|
12
|
+
export declare function clearAllStorage(): Promise<void>;
|
|
13
|
+
export {};
|