react-native-inapp-inspector 2.3.9 → 2.3.11
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/Inspector/DebuggingTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/DebuggingTab.js +682 -0
- package/dist/commonjs/components/Inspector/MainScreen.js +2 -0
- package/dist/commonjs/components/Inspector/NetworkDetail.js +2 -1
- package/dist/commonjs/components/Inspector/NetworkFilterModal.d.ts +19 -0
- package/dist/commonjs/components/Inspector/NetworkFilterModal.js +648 -0
- package/dist/commonjs/components/Inspector/NetworkTab.js +89 -147
- package/dist/commonjs/components/Inspector/SettingsPanel.js +12 -0
- package/dist/commonjs/components/Inspector/TabBar.js +9 -0
- package/dist/commonjs/components/LogCard.js +5 -26
- package/dist/commonjs/components/NetworkIcons.d.ts +2 -0
- package/dist/commonjs/components/NetworkIcons.js +13 -1
- package/dist/commonjs/components/QRCodeView.d.ts +9 -0
- package/dist/commonjs/components/QRCodeView.js +79 -0
- package/dist/commonjs/constants/index.js +3 -0
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/helpers/qrGenerator.d.ts +2 -0
- package/dist/commonjs/helpers/qrGenerator.js +170 -0
- package/dist/commonjs/index.js +2 -0
- package/dist/commonjs/styles/index.d.ts +11 -0
- package/dist/commonjs/styles/index.js +20 -5
- package/dist/commonjs/types/enums.d.ts +5 -0
- package/dist/commonjs/types/enums.js +5 -0
- package/dist/esm/components/Inspector/DebuggingTab.d.ts +3 -0
- package/dist/esm/components/Inspector/DebuggingTab.js +642 -0
- package/dist/esm/components/Inspector/MainScreen.js +2 -0
- package/dist/esm/components/Inspector/NetworkDetail.js +2 -1
- package/dist/esm/components/Inspector/NetworkFilterModal.d.ts +19 -0
- package/dist/esm/components/Inspector/NetworkFilterModal.js +607 -0
- package/dist/esm/components/Inspector/NetworkTab.js +91 -149
- package/dist/esm/components/Inspector/SettingsPanel.js +13 -1
- package/dist/esm/components/Inspector/TabBar.js +10 -1
- package/dist/esm/components/LogCard.js +5 -26
- package/dist/esm/components/NetworkIcons.d.ts +2 -0
- package/dist/esm/components/NetworkIcons.js +10 -0
- package/dist/esm/components/QRCodeView.d.ts +9 -0
- package/dist/esm/components/QRCodeView.js +42 -0
- package/dist/esm/constants/index.js +3 -0
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/helpers/qrGenerator.d.ts +2 -0
- package/dist/esm/helpers/qrGenerator.js +167 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/styles/index.d.ts +11 -0
- package/dist/esm/styles/index.js +20 -5
- package/dist/esm/types/enums.d.ts +5 -0
- package/dist/esm/types/enums.js +5 -0
- package/package.json +2 -2
- package/src/components/Inspector/DebuggingTab.tsx +755 -0
- package/src/components/Inspector/MainScreen.tsx +2 -0
- package/src/components/Inspector/NetworkDetail.tsx +2 -1
- package/src/components/Inspector/NetworkFilterModal.tsx +710 -0
- package/src/components/Inspector/NetworkTab.tsx +127 -204
- package/src/components/Inspector/SettingsPanel.tsx +20 -0
- package/src/components/Inspector/TabBar.tsx +11 -0
- package/src/components/LogCard.tsx +5 -30
- package/src/components/NetworkIcons.tsx +66 -0
- package/src/components/QRCodeView.tsx +71 -0
- package/src/constants/index.ts +3 -0
- package/src/constants/version.ts +1 -1
- package/src/helpers/qrGenerator.ts +184 -0
- package/src/index.tsx +2 -0
- package/src/styles/index.ts +20 -5
- package/src/types/enums.ts +5 -0
|
@@ -57,6 +57,7 @@ const CrashTab_1 = __importDefault(require("./CrashTab"));
|
|
|
57
57
|
const CrashDetail_1 = __importDefault(require("./CrashDetail"));
|
|
58
58
|
const DeviceInfoTab_1 = __importDefault(require("./DeviceInfoTab"));
|
|
59
59
|
const StorageTab_1 = __importDefault(require("./StorageTab"));
|
|
60
|
+
const DebuggingTab_1 = __importDefault(require("./DebuggingTab"));
|
|
60
61
|
const SettingsPanel_1 = __importDefault(require("./SettingsPanel"));
|
|
61
62
|
const NpmUpdateToast_1 = __importDefault(require("./NpmUpdateToast"));
|
|
62
63
|
const Toast_1 = __importDefault(require("../Toast"));
|
|
@@ -156,6 +157,7 @@ const MainScreen = () => {
|
|
|
156
157
|
{activeTab === 'crash' && <CrashTab_1.default />}
|
|
157
158
|
{activeTab === 'device' && <DeviceInfoTab_1.default />}
|
|
158
159
|
{activeTab === 'storage' && <StorageTab_1.default />}
|
|
160
|
+
{activeTab === 'debugging' && <DebuggingTab_1.default />}
|
|
159
161
|
</react_native_1.Animated.View>
|
|
160
162
|
|
|
161
163
|
|
|
@@ -49,7 +49,7 @@ const NetworkDetail = react_1.default.memo(() => {
|
|
|
49
49
|
return null;
|
|
50
50
|
return (<react_native_1.View style={{ flex: 1 }}>
|
|
51
51
|
|
|
52
|
-
<react_native_1.View style={{ paddingHorizontal:
|
|
52
|
+
<react_native_1.View style={{ paddingHorizontal: 8, paddingTop: 4 }}>
|
|
53
53
|
<react_native_1.View style={styles_1.default.detailInfoBar}>
|
|
54
54
|
{(() => {
|
|
55
55
|
let schemeStr = '';
|
|
@@ -99,6 +99,7 @@ const NetworkDetail = react_1.default.memo(() => {
|
|
|
99
99
|
gap: 6,
|
|
100
100
|
flexWrap: 'wrap',
|
|
101
101
|
flex: 1,
|
|
102
|
+
minWidth: 0,
|
|
102
103
|
}}>
|
|
103
104
|
|
|
104
105
|
<react_native_1.View style={[
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface NetworkFilterState {
|
|
3
|
+
statusCodes: Set<string>;
|
|
4
|
+
methods: Set<string>;
|
|
5
|
+
latency: 'all' | 'fast' | 'normal' | 'slow';
|
|
6
|
+
protocol: 'all' | 'https' | 'http';
|
|
7
|
+
sortBy: 'time_desc' | 'time_asc' | 'duration_desc' | 'duration_asc' | 'size_desc';
|
|
8
|
+
}
|
|
9
|
+
export declare const DEFAULT_NETWORK_FILTERS: NetworkFilterState;
|
|
10
|
+
export declare const isNetworkFiltersDefault: (f: NetworkFilterState) => boolean;
|
|
11
|
+
interface NetworkFilterModalProps {
|
|
12
|
+
visible: boolean;
|
|
13
|
+
onClose: () => void;
|
|
14
|
+
filters: NetworkFilterState;
|
|
15
|
+
onApply: (filters: NetworkFilterState) => void;
|
|
16
|
+
searchQuery?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const NetworkFilterModal: React.FC<NetworkFilterModalProps>;
|
|
19
|
+
export default NetworkFilterModal;
|