react-native-inapp-inspector 2.4.1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ar.md +163 -0
- package/README.de.md +163 -0
- package/README.es.md +164 -0
- package/README.fr.md +163 -0
- package/README.hi.md +163 -0
- package/README.ja.md +180 -0
- package/README.ko.md +163 -0
- package/README.md +340 -243
- package/README.pt-BR.md +163 -0
- package/README.ru.md +163 -0
- package/README.zh-CN.md +387 -0
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +82 -21
- package/assets/banner_dark.svg +186 -0
- package/assets/banner_light.svg +186 -0
- package/assets/icon_circle.svg +148 -0
- package/assets/icon_square.svg +369 -0
- package/assets/inapp_inspector_icon.gif +0 -0
- package/assets/inapp_inspector_icon_original.gif +0 -0
- package/assets/social_preview.png +0 -0
- package/assets/walkthrough.gif +0 -0
- package/dist/commonjs/components/AnimatedBrandOwl.d.ts +7 -0
- package/dist/commonjs/components/AnimatedBrandOwl.js +175 -0
- package/dist/commonjs/components/AppHeaderLogo.d.ts +1 -0
- package/dist/commonjs/components/AppHeaderLogo.js +7 -5
- package/dist/commonjs/components/BrandSquareIcon.d.ts +5 -0
- package/dist/commonjs/components/BrandSquareIcon.js +139 -0
- package/dist/commonjs/components/ConsoleLogCard.d.ts +2 -1
- package/dist/commonjs/components/ConsoleLogCard.js +23 -39
- package/dist/commonjs/components/Inspector/AboutModal.js +44 -54
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +5 -5
- package/dist/commonjs/components/Inspector/ConfirmationModal.d.ts +13 -0
- package/dist/commonjs/components/Inspector/ConfirmationModal.js +32 -0
- package/dist/commonjs/components/Inspector/ConsoleTab.js +11 -11
- package/dist/commonjs/components/Inspector/CrashTab.js +14 -12
- package/dist/commonjs/components/Inspector/DebuggingTab.js +17 -17
- package/dist/commonjs/components/Inspector/FabLauncher.js +22 -30
- package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +2 -2
- package/dist/commonjs/components/Inspector/LanguageSelectorModal.d.ts +15 -0
- package/dist/commonjs/components/Inspector/LanguageSelectorModal.js +90 -0
- package/dist/commonjs/components/Inspector/MainScreen.js +46 -33
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +21 -19
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +85 -101
- package/dist/commonjs/components/Inspector/NetworkTab.js +50 -50
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +1 -1
- package/dist/commonjs/components/Inspector/PushCard.d.ts +3 -2
- package/dist/commonjs/components/Inspector/PushCard.js +5 -4
- package/dist/commonjs/components/Inspector/PushDetail.js +32 -23
- package/dist/commonjs/components/Inspector/PushTab.js +12 -12
- package/dist/commonjs/components/Inspector/ReduxDetail.js +32 -32
- package/dist/commonjs/components/Inspector/ReduxTab.js +5 -5
- package/dist/commonjs/components/Inspector/SettingsPanel.js +258 -139
- package/dist/commonjs/components/Inspector/SocketCard.d.ts +5 -0
- package/dist/commonjs/components/Inspector/SocketCard.js +116 -0
- package/dist/commonjs/components/Inspector/SocketDetail.d.ts +4 -0
- package/dist/commonjs/components/Inspector/SocketDetail.js +317 -0
- package/dist/commonjs/components/Inspector/SocketFilterModal.d.ts +13 -0
- package/dist/commonjs/components/Inspector/SocketFilterModal.js +69 -0
- package/dist/commonjs/components/Inspector/SocketTab.d.ts +3 -0
- package/dist/commonjs/components/Inspector/SocketTab.js +112 -0
- package/dist/commonjs/components/Inspector/StorageTab.js +38 -36
- package/dist/commonjs/components/Inspector/SupportModal.d.ts +7 -0
- package/dist/commonjs/components/Inspector/SupportModal.js +125 -0
- package/dist/commonjs/components/Inspector/SupportPage.d.ts +5 -0
- package/dist/commonjs/components/Inspector/SupportPage.js +227 -0
- package/dist/commonjs/components/Inspector/TabBar.js +24 -23
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +24 -24
- package/dist/commonjs/components/JsonViewer.js +7 -7
- package/dist/commonjs/components/LogCard.d.ts +3 -2
- package/dist/commonjs/components/LogCard.js +13 -13
- package/dist/commonjs/components/LogSyntaxHighlighter.js +5 -5
- package/dist/commonjs/components/ModuleErrorBoundary.js +2 -2
- package/dist/commonjs/components/NetworkIcons.d.ts +15 -0
- package/dist/commonjs/components/NetworkIcons.js +38 -3
- package/dist/commonjs/components/SegmentedTabs.js +1 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/socketLogger.d.ts +26 -0
- package/dist/commonjs/customHooks/socketLogger.js +2 -0
- package/dist/commonjs/helpers/index.js +3 -3
- package/dist/commonjs/helpers/memoryManager.d.ts +1 -0
- package/dist/commonjs/helpers/memoryManager.js +1 -1
- package/dist/commonjs/helpers/searchQueryParser.d.ts +1 -1
- package/dist/commonjs/helpers/searchQueryParser.js +5 -1
- package/dist/commonjs/helpers/settingsStore.d.ts +1 -0
- package/dist/commonjs/helpers/settingsStore.js +1 -1
- package/dist/commonjs/helpers/shareFormatter.d.ts +3 -1
- package/dist/commonjs/helpers/shareFormatter.js +8 -7
- package/dist/commonjs/i18n/index.d.ts +99 -1
- package/dist/commonjs/i18n/index.js +1 -1
- package/dist/commonjs/i18n/locales/ar.json +1 -1
- package/dist/commonjs/i18n/locales/bn.json +1 -0
- package/dist/commonjs/i18n/locales/de.json +1 -1
- package/dist/commonjs/i18n/locales/en.json +1 -1
- package/dist/commonjs/i18n/locales/es.json +1 -1
- package/dist/commonjs/i18n/locales/fr.json +1 -1
- package/dist/commonjs/i18n/locales/gu.json +1 -0
- package/dist/commonjs/i18n/locales/hi.json +1 -1
- package/dist/commonjs/i18n/locales/id.json +1 -0
- package/dist/commonjs/i18n/locales/it.json +1 -0
- package/dist/commonjs/i18n/locales/ja.json +1 -1
- package/dist/commonjs/i18n/locales/kn.json +1 -0
- package/dist/commonjs/i18n/locales/ko.json +1 -1
- package/dist/commonjs/i18n/locales/ml.json +1 -0
- package/dist/commonjs/i18n/locales/mr.json +1 -0
- package/dist/commonjs/i18n/locales/nl.json +1 -0
- package/dist/commonjs/i18n/locales/pa.json +1 -0
- package/dist/commonjs/i18n/locales/pl.json +1 -0
- package/dist/commonjs/i18n/locales/pt.json +1 -1
- package/dist/commonjs/i18n/locales/ru.json +1 -1
- package/dist/commonjs/i18n/locales/ta.json +1 -0
- package/dist/commonjs/i18n/locales/te.json +1 -0
- package/dist/commonjs/i18n/locales/tr.json +1 -0
- package/dist/commonjs/i18n/locales/vi.json +1 -0
- package/dist/commonjs/i18n/locales/zh.json +1 -1
- package/dist/commonjs/index.d.ts +13 -13
- package/dist/commonjs/index.js +5 -4
- package/dist/commonjs/native/NativeInspector.d.ts +1 -0
- package/dist/commonjs/socket.d.ts +4 -0
- package/dist/commonjs/socket.js +1 -0
- package/dist/commonjs/styles/index.d.ts +23 -0
- package/dist/commonjs/styles/index.js +1 -1
- package/dist/commonjs/types/enums.d.ts +40 -0
- package/dist/commonjs/types/enums.js +1 -1
- package/dist/commonjs/types/interfaces.d.ts +122 -1
- package/dist/esm/components/AnimatedBrandOwl.d.ts +7 -0
- package/dist/esm/components/AnimatedBrandOwl.js +175 -0
- package/dist/esm/components/AppHeaderLogo.d.ts +1 -0
- package/dist/esm/components/AppHeaderLogo.js +7 -5
- package/dist/esm/components/BrandSquareIcon.d.ts +5 -0
- package/dist/esm/components/BrandSquareIcon.js +139 -0
- package/dist/esm/components/ConsoleLogCard.d.ts +2 -1
- package/dist/esm/components/ConsoleLogCard.js +61 -77
- package/dist/esm/components/Inspector/AboutModal.js +85 -95
- package/dist/esm/components/Inspector/AnalyticsTab.js +15 -15
- package/dist/esm/components/Inspector/ConfirmationModal.d.ts +13 -0
- package/dist/esm/components/Inspector/ConfirmationModal.js +32 -0
- package/dist/esm/components/Inspector/ConsoleTab.js +47 -47
- package/dist/esm/components/Inspector/CrashTab.js +34 -32
- package/dist/esm/components/Inspector/DebuggingTab.js +29 -29
- package/dist/esm/components/Inspector/FabLauncher.js +50 -58
- package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +7 -7
- package/dist/esm/components/Inspector/LanguageSelectorModal.d.ts +15 -0
- package/dist/esm/components/Inspector/LanguageSelectorModal.js +90 -0
- package/dist/esm/components/Inspector/MainScreen.js +123 -110
- package/dist/esm/components/Inspector/MediaGalleryTab.js +64 -62
- package/dist/esm/components/Inspector/MediaPreviewModal.js +107 -123
- package/dist/esm/components/Inspector/NetworkTab.js +90 -90
- package/dist/esm/components/Inspector/NpmUpdateToast.js +1 -1
- package/dist/esm/components/Inspector/PushCard.d.ts +3 -2
- package/dist/esm/components/Inspector/PushCard.js +23 -22
- package/dist/esm/components/Inspector/PushDetail.js +34 -25
- package/dist/esm/components/Inspector/PushTab.js +23 -23
- package/dist/esm/components/Inspector/ReduxDetail.js +42 -42
- package/dist/esm/components/Inspector/ReduxTab.js +22 -22
- package/dist/esm/components/Inspector/SettingsPanel.js +495 -376
- package/dist/esm/components/Inspector/SocketCard.d.ts +5 -0
- package/dist/esm/components/Inspector/SocketCard.js +116 -0
- package/dist/esm/components/Inspector/SocketDetail.d.ts +4 -0
- package/dist/esm/components/Inspector/SocketDetail.js +317 -0
- package/dist/esm/components/Inspector/SocketFilterModal.d.ts +13 -0
- package/dist/esm/components/Inspector/SocketFilterModal.js +69 -0
- package/dist/esm/components/Inspector/SocketTab.d.ts +3 -0
- package/dist/esm/components/Inspector/SocketTab.js +112 -0
- package/dist/esm/components/Inspector/StorageTab.js +145 -143
- package/dist/esm/components/Inspector/SupportModal.d.ts +7 -0
- package/dist/esm/components/Inspector/SupportModal.js +125 -0
- package/dist/esm/components/Inspector/SupportPage.d.ts +5 -0
- package/dist/esm/components/Inspector/SupportPage.js +227 -0
- package/dist/esm/components/Inspector/TabBar.js +36 -35
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +22 -22
- package/dist/esm/components/JsonViewer.js +55 -55
- package/dist/esm/components/LogCard.d.ts +3 -2
- package/dist/esm/components/LogCard.js +60 -60
- package/dist/esm/components/LogSyntaxHighlighter.js +5 -5
- package/dist/esm/components/ModuleErrorBoundary.js +23 -23
- package/dist/esm/components/NetworkIcons.d.ts +15 -0
- package/dist/esm/components/NetworkIcons.js +38 -3
- package/dist/esm/components/SegmentedTabs.js +7 -7
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/socketLogger.d.ts +26 -0
- package/dist/esm/customHooks/socketLogger.js +2 -0
- package/dist/esm/helpers/index.js +3 -3
- package/dist/esm/helpers/memoryManager.d.ts +1 -0
- package/dist/esm/helpers/memoryManager.js +1 -1
- package/dist/esm/helpers/searchQueryParser.d.ts +1 -1
- package/dist/esm/helpers/searchQueryParser.js +5 -1
- package/dist/esm/helpers/settingsStore.d.ts +1 -0
- package/dist/esm/helpers/settingsStore.js +1 -1
- package/dist/esm/helpers/shareFormatter.d.ts +3 -1
- package/dist/esm/helpers/shareFormatter.js +8 -7
- package/dist/esm/i18n/index.d.ts +99 -1
- package/dist/esm/i18n/index.js +1 -1
- package/dist/esm/i18n/locales/ar.json +1 -1
- package/dist/esm/i18n/locales/bn.json +1 -0
- package/dist/esm/i18n/locales/de.json +1 -1
- package/dist/esm/i18n/locales/en.json +1 -1
- package/dist/esm/i18n/locales/es.json +1 -1
- package/dist/esm/i18n/locales/fr.json +1 -1
- package/dist/esm/i18n/locales/gu.json +1 -0
- package/dist/esm/i18n/locales/hi.json +1 -1
- package/dist/esm/i18n/locales/id.json +1 -0
- package/dist/esm/i18n/locales/it.json +1 -0
- package/dist/esm/i18n/locales/ja.json +1 -1
- package/dist/esm/i18n/locales/kn.json +1 -0
- package/dist/esm/i18n/locales/ko.json +1 -1
- package/dist/esm/i18n/locales/ml.json +1 -0
- package/dist/esm/i18n/locales/mr.json +1 -0
- package/dist/esm/i18n/locales/nl.json +1 -0
- package/dist/esm/i18n/locales/pa.json +1 -0
- package/dist/esm/i18n/locales/pl.json +1 -0
- package/dist/esm/i18n/locales/pt.json +1 -1
- package/dist/esm/i18n/locales/ru.json +1 -1
- package/dist/esm/i18n/locales/ta.json +1 -0
- package/dist/esm/i18n/locales/te.json +1 -0
- package/dist/esm/i18n/locales/tr.json +1 -0
- package/dist/esm/i18n/locales/vi.json +1 -0
- package/dist/esm/i18n/locales/zh.json +1 -1
- package/dist/esm/index.d.ts +13 -13
- package/dist/esm/index.js +8 -7
- package/dist/esm/native/NativeInspector.d.ts +1 -0
- package/dist/esm/socket.d.ts +4 -0
- package/dist/esm/socket.js +1 -0
- package/dist/esm/styles/index.d.ts +23 -0
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/types/enums.d.ts +40 -0
- package/dist/esm/types/enums.js +1 -1
- package/dist/esm/types/interfaces.d.ts +122 -1
- package/ios/NetworkInspectorModule.mm +102 -12
- package/package.json +204 -2
- package/src/native/NativeInspector.ts +8 -0
|
@@ -5,6 +5,7 @@ export declare const ActiveTab: {
|
|
|
5
5
|
readonly Redux: "redux";
|
|
6
6
|
readonly Crash: "crash";
|
|
7
7
|
readonly Push: "push";
|
|
8
|
+
readonly Socket: "socket";
|
|
8
9
|
readonly Device: "device";
|
|
9
10
|
readonly Storage: "storage";
|
|
10
11
|
readonly Debugging: "debugging";
|
|
@@ -61,6 +62,7 @@ export declare const SettingsPage: {
|
|
|
61
62
|
readonly Debugging: "debugging";
|
|
62
63
|
readonly Media: "media";
|
|
63
64
|
readonly Push: "push";
|
|
65
|
+
readonly Socket: "socket";
|
|
64
66
|
};
|
|
65
67
|
export type SettingsPage = (typeof SettingsPage)[keyof typeof SettingsPage] | null;
|
|
66
68
|
export declare const SettingsSubTab: {
|
|
@@ -177,3 +179,41 @@ export declare const PushFilterType: {
|
|
|
177
179
|
readonly Opened: "opened";
|
|
178
180
|
};
|
|
179
181
|
export type PushFilterType = (typeof PushFilterType)[keyof typeof PushFilterType] | string;
|
|
182
|
+
export declare const SocketStatus: {
|
|
183
|
+
readonly Connecting: "connecting";
|
|
184
|
+
readonly Open: "open";
|
|
185
|
+
readonly Closed: "closed";
|
|
186
|
+
readonly Error: "error";
|
|
187
|
+
};
|
|
188
|
+
export type SocketStatus = (typeof SocketStatus)[keyof typeof SocketStatus] | string;
|
|
189
|
+
export declare const SocketFrameDirection: {
|
|
190
|
+
readonly Send: "send";
|
|
191
|
+
readonly Receive: "receive";
|
|
192
|
+
};
|
|
193
|
+
export type SocketFrameDirection = (typeof SocketFrameDirection)[keyof typeof SocketFrameDirection];
|
|
194
|
+
export declare const SocketFrameType: {
|
|
195
|
+
readonly Text: "text";
|
|
196
|
+
readonly Json: "json";
|
|
197
|
+
readonly Binary: "binary";
|
|
198
|
+
readonly Ping: "ping";
|
|
199
|
+
readonly Pong: "pong";
|
|
200
|
+
readonly SocketIo: "socket.io";
|
|
201
|
+
readonly Custom: "custom";
|
|
202
|
+
};
|
|
203
|
+
export type SocketFrameType = (typeof SocketFrameType)[keyof typeof SocketFrameType] | string;
|
|
204
|
+
export declare const SocketDetailSubTab: {
|
|
205
|
+
readonly Messages: "messages";
|
|
206
|
+
readonly Overview: "overview";
|
|
207
|
+
readonly Params: "params";
|
|
208
|
+
readonly Raw: "raw";
|
|
209
|
+
};
|
|
210
|
+
export type SocketDetailSubTab = (typeof SocketDetailSubTab)[keyof typeof SocketDetailSubTab];
|
|
211
|
+
export declare const SocketFilterType: {
|
|
212
|
+
readonly All: "all";
|
|
213
|
+
readonly Open: "open";
|
|
214
|
+
readonly Closed: "closed";
|
|
215
|
+
readonly Error: "error";
|
|
216
|
+
readonly SocketIo: "socket.io";
|
|
217
|
+
readonly WebSocket: "ws";
|
|
218
|
+
};
|
|
219
|
+
export type SocketFilterType = (typeof SocketFilterType)[keyof typeof SocketFilterType] | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PushFilterType=exports.PushDetailSubTab=exports.PushActionType=exports.PushAppState=exports.BreadcrumbType=exports.CrashFilterType=exports.CrashDetailSubTab=exports.CrashExportFormat=exports.CrashType=exports.DiffResultType=exports.StackFrameType=exports.GAEventCategory=exports.AnalyticsEventSource=exports.ConsoleLogType=exports.LogFilter=exports.SettingsSubTab=exports.SettingsPage=exports.ModalAnimationType=exports.LocalFilter=exports.SortOrder=exports.StatusFilter=exports.Method=exports.ActiveTab=void 0,exports.ActiveTab={Apis:"apis",Analytics:"analytics",Logs:"logs",Redux:"redux",Crash:"crash",Push:"push",Device:"device",Storage:"storage",Debugging:"debugging",Media:"media"},exports.Method={All:"ALL",Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Query:"QUERY",Options:"OPTIONS",Head:"HEAD"},exports.StatusFilter={All:"ALL",TwoXx:"2xx",ThreeXx:"3xx",FourXx:"4xx",FiveXx:"5xx",Failed:"Failed"},exports.SortOrder={Newest:"newest",Oldest:"oldest"},exports.LocalFilter={Success:"success",Failed:"failed",Loading:"loading"},exports.ModalAnimationType={Slide:"slide",Fade:"fade",None:"none"},exports.SettingsPage={Main:"main",Apis:"apis",Logs:"logs",Analytics:"analytics",Redux:"redux",Crash:"crash",Device:"device",Storage:"storage",Debugging:"debugging",Media:"media",Push:"push"},exports.SettingsSubTab={Module:"module",Ui:"ui",Limits:"limits",Capture:"capture"},exports.LogFilter={All:"all",Info:"info",Warn:"warn",Error:"error",UserLog:"user-log",Analytics:"analytics"},exports.ConsoleLogType={Info:"info",Warn:"warn",Error:"error"},exports.AnalyticsEventSource={Firebase:"firebase",Manual:"manual"},exports.GAEventCategory={PageView:"page_view",Ecommerce:"ecommerce",System:"system",Custom:"custom"},exports.StackFrameType={App:"app",Dependency:"dependency",Runtime:"runtime",Native:"native"},exports.DiffResultType={Added:"added",Removed:"removed",Changed:"changed"},exports.CrashType={Native:"native",Js:"js",Promise:"promise",Render:"render",Custom:"custom"},exports.CrashExportFormat={Text:"text",Markdown:"markdown",Json:"json"},exports.CrashDetailSubTab={Stack:"stack",Diagnostics:"diagnostics",Breadcrumbs:"breadcrumbs",Raw:"raw"},exports.CrashFilterType={All:"all",Fatal:"fatal",Js:"js",Promise:"promise",Render:"render",Native:"native"},exports.BreadcrumbType={Navigation:"navigation",Network:"network",Redux:"redux",Console:"console",User:"user",System:"system"},exports.PushAppState={Foreground:"foreground",Background:"background",Quit:"quit",ColdStart:"cold_start"},exports.PushActionType={Received:"received",Opened:"opened",Dismissed:"dismissed",ActionPress:"action_press"},exports.PushDetailSubTab={Preview:"preview",Payload:"payload",Headers:"headers",Raw:"raw"},exports.PushFilterType={All:"all",Foreground:"foreground",Background:"background",Opened:"opened"};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SocketFilterType=exports.SocketDetailSubTab=exports.SocketFrameType=exports.SocketFrameDirection=exports.SocketStatus=exports.PushFilterType=exports.PushDetailSubTab=exports.PushActionType=exports.PushAppState=exports.BreadcrumbType=exports.CrashFilterType=exports.CrashDetailSubTab=exports.CrashExportFormat=exports.CrashType=exports.DiffResultType=exports.StackFrameType=exports.GAEventCategory=exports.AnalyticsEventSource=exports.ConsoleLogType=exports.LogFilter=exports.SettingsSubTab=exports.SettingsPage=exports.ModalAnimationType=exports.LocalFilter=exports.SortOrder=exports.StatusFilter=exports.Method=exports.ActiveTab=void 0,exports.ActiveTab={Apis:"apis",Analytics:"analytics",Logs:"logs",Redux:"redux",Crash:"crash",Push:"push",Socket:"socket",Device:"device",Storage:"storage",Debugging:"debugging",Media:"media"},exports.Method={All:"ALL",Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Query:"QUERY",Options:"OPTIONS",Head:"HEAD"},exports.StatusFilter={All:"ALL",TwoXx:"2xx",ThreeXx:"3xx",FourXx:"4xx",FiveXx:"5xx",Failed:"Failed"},exports.SortOrder={Newest:"newest",Oldest:"oldest"},exports.LocalFilter={Success:"success",Failed:"failed",Loading:"loading"},exports.ModalAnimationType={Slide:"slide",Fade:"fade",None:"none"},exports.SettingsPage={Main:"main",Apis:"apis",Logs:"logs",Analytics:"analytics",Redux:"redux",Crash:"crash",Device:"device",Storage:"storage",Debugging:"debugging",Media:"media",Push:"push",Socket:"socket"},exports.SettingsSubTab={Module:"module",Ui:"ui",Limits:"limits",Capture:"capture"},exports.LogFilter={All:"all",Info:"info",Warn:"warn",Error:"error",UserLog:"user-log",Analytics:"analytics"},exports.ConsoleLogType={Info:"info",Warn:"warn",Error:"error"},exports.AnalyticsEventSource={Firebase:"firebase",Manual:"manual"},exports.GAEventCategory={PageView:"page_view",Ecommerce:"ecommerce",System:"system",Custom:"custom"},exports.StackFrameType={App:"app",Dependency:"dependency",Runtime:"runtime",Native:"native"},exports.DiffResultType={Added:"added",Removed:"removed",Changed:"changed"},exports.CrashType={Native:"native",Js:"js",Promise:"promise",Render:"render",Custom:"custom"},exports.CrashExportFormat={Text:"text",Markdown:"markdown",Json:"json"},exports.CrashDetailSubTab={Stack:"stack",Diagnostics:"diagnostics",Breadcrumbs:"breadcrumbs",Raw:"raw"},exports.CrashFilterType={All:"all",Fatal:"fatal",Js:"js",Promise:"promise",Render:"render",Native:"native"},exports.BreadcrumbType={Navigation:"navigation",Network:"network",Redux:"redux",Console:"console",User:"user",System:"system"},exports.PushAppState={Foreground:"foreground",Background:"background",Quit:"quit",ColdStart:"cold_start"},exports.PushActionType={Received:"received",Opened:"opened",Dismissed:"dismissed",ActionPress:"action_press"},exports.PushDetailSubTab={Preview:"preview",Payload:"payload",Headers:"headers",Raw:"raw"},exports.PushFilterType={All:"all",Foreground:"foreground",Background:"background",Opened:"opened"},exports.SocketStatus={Connecting:"connecting",Open:"open",Closed:"closed",Error:"error"},exports.SocketFrameDirection={Send:"send",Receive:"receive"},exports.SocketFrameType={Text:"text",Json:"json",Binary:"binary",Ping:"ping",Pong:"pong",SocketIo:"socket.io",Custom:"custom"},exports.SocketDetailSubTab={Messages:"messages",Overview:"overview",Params:"params",Raw:"raw"},exports.SocketFilterType={All:"all",Open:"open",Closed:"closed",Error:"error",SocketIo:"socket.io",WebSocket:"ws"};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ViewStyle } from 'react-native';
|
|
3
3
|
import { Animated, PanResponderInstance } from 'react-native';
|
|
4
|
-
import type { ActiveTab, BreadcrumbType, CrashType, GroupedListItem, LocalFilter, LogFilter, Method, PushActionType, PushAppState, SettingsPage, SettingsSubTab, SortOrder, StatusFilter } from './index';
|
|
4
|
+
import type { ActiveTab, BreadcrumbType, CrashType, GroupedListItem, LocalFilter, LogFilter, Method, PushActionType, PushAppState, SettingsPage, SettingsSubTab, SocketFrameDirection, SocketFrameType, SocketStatus, SortOrder, StatusFilter } from './index';
|
|
5
5
|
export type SearchScope = 'all' | 'url' | 'reqBody' | 'resBody' | 'headers';
|
|
6
6
|
export interface ParsedStackFrame {
|
|
7
7
|
method: string;
|
|
@@ -133,6 +133,7 @@ export interface InspectorStorage {
|
|
|
133
133
|
}
|
|
134
134
|
export interface PersistedSettings {
|
|
135
135
|
isDark?: boolean;
|
|
136
|
+
language?: string;
|
|
136
137
|
modalHeightPercent?: number;
|
|
137
138
|
modalAnimationType?: string;
|
|
138
139
|
tabVisibility?: Record<string, boolean>;
|
|
@@ -142,6 +143,9 @@ export interface PersistedSettings {
|
|
|
142
143
|
maxAnalyticsEventsLimit?: number;
|
|
143
144
|
maxCrashLogs?: number;
|
|
144
145
|
maxPushLogsLimit?: number;
|
|
146
|
+
maxSocketLogsLimit?: number;
|
|
147
|
+
isSocketAutoCaptureEnabled?: boolean;
|
|
148
|
+
isGroupByPageEnabled?: boolean;
|
|
145
149
|
isAutoRamLimitEnabled?: boolean;
|
|
146
150
|
showConsoleLevels?: {
|
|
147
151
|
info: boolean;
|
|
@@ -163,6 +167,14 @@ export interface PersistedSettings {
|
|
|
163
167
|
starPromptActioned?: boolean;
|
|
164
168
|
starPromptLastShown?: number;
|
|
165
169
|
starPromptFirstSeen?: number;
|
|
170
|
+
captureImageFormat?: 'png' | 'jpeg' | 'webp';
|
|
171
|
+
captureAutoHide?: boolean;
|
|
172
|
+
captureAudioMode?: 'none' | 'app' | 'mic';
|
|
173
|
+
captureFps?: number;
|
|
174
|
+
captureScale?: number;
|
|
175
|
+
captureBitrate?: number;
|
|
176
|
+
captureMaxDurationSeconds?: number;
|
|
177
|
+
captureAutoGif?: boolean;
|
|
166
178
|
}
|
|
167
179
|
export interface NetworkInspectorProps {
|
|
168
180
|
enabled?: boolean;
|
|
@@ -185,6 +197,9 @@ export interface InspectorContextValue {
|
|
|
185
197
|
isMinimized: boolean;
|
|
186
198
|
setIsMinimized: React.Dispatch<React.SetStateAction<boolean>>;
|
|
187
199
|
minimizeInspector: () => void;
|
|
200
|
+
isDismissed: boolean;
|
|
201
|
+
setIsDismissed: React.Dispatch<React.SetStateAction<boolean>>;
|
|
202
|
+
dismissInspector: () => void;
|
|
188
203
|
isReady: boolean;
|
|
189
204
|
enabled: boolean;
|
|
190
205
|
isEnabled: boolean;
|
|
@@ -216,6 +231,8 @@ export interface InspectorContextValue {
|
|
|
216
231
|
setSettingsPage: React.Dispatch<React.SetStateAction<SettingsPage>>;
|
|
217
232
|
isAboutOpen: boolean;
|
|
218
233
|
setIsAboutOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
234
|
+
isSupportOpen: boolean;
|
|
235
|
+
setIsSupportOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
219
236
|
updateAvailable: boolean;
|
|
220
237
|
latestNpmVersion: string | null;
|
|
221
238
|
clearAnim: Animated.Value;
|
|
@@ -245,6 +262,12 @@ export interface InspectorContextValue {
|
|
|
245
262
|
setStatusFilters: React.Dispatch<React.SetStateAction<Set<StatusFilter>>>;
|
|
246
263
|
methodFilters: Set<Method>;
|
|
247
264
|
setMethodFilters: React.Dispatch<React.SetStateAction<Set<Method>>>;
|
|
265
|
+
latencyFilter: 'all' | 'fast' | 'normal' | 'slow';
|
|
266
|
+
setLatencyFilter: React.Dispatch<React.SetStateAction<'all' | 'fast' | 'normal' | 'slow'>>;
|
|
267
|
+
protocolFilter: 'all' | 'https' | 'http';
|
|
268
|
+
setProtocolFilter: React.Dispatch<React.SetStateAction<'all' | 'https' | 'http'>>;
|
|
269
|
+
networkSortBy: 'time_desc' | 'time_asc' | 'duration_desc' | 'duration_asc' | 'size_desc';
|
|
270
|
+
setNetworkSortBy: React.Dispatch<React.SetStateAction<'time_desc' | 'time_asc' | 'duration_desc' | 'duration_asc' | 'size_desc'>>;
|
|
248
271
|
availableMethods: Method[];
|
|
249
272
|
sortOrder: SortOrder;
|
|
250
273
|
setSortOrder: React.Dispatch<React.SetStateAction<SortOrder>>;
|
|
@@ -257,6 +280,8 @@ export interface InspectorContextValue {
|
|
|
257
280
|
toggleSectionCollapse: (pageName: string) => void;
|
|
258
281
|
loadMoreSection: (pageName: string, step?: number) => void;
|
|
259
282
|
handleDelete: () => void;
|
|
283
|
+
isGroupByPageEnabled: boolean;
|
|
284
|
+
setIsGroupByPageEnabled: React.Dispatch<React.SetStateAction<boolean>>;
|
|
260
285
|
detailTitle: string;
|
|
261
286
|
detailDisplayUrl: string;
|
|
262
287
|
apiDetailActiveTab: 'metadata' | 'headers' | 'request' | 'response';
|
|
@@ -332,6 +357,22 @@ export interface InspectorContextValue {
|
|
|
332
357
|
setMaxPushLogs: React.Dispatch<React.SetStateAction<number>>;
|
|
333
358
|
clearAllPushLogs: () => void;
|
|
334
359
|
simulatePush: (preset?: 'salesforce' | 'fcm' | 'apns' | 'deeplink' | 'rich_media' | 'custom', customData?: any) => void;
|
|
360
|
+
socketRecords: SocketConnectionRecord[];
|
|
361
|
+
filteredSocketRecords: SocketConnectionRecord[];
|
|
362
|
+
selectedSocket: SocketConnectionRecord | null;
|
|
363
|
+
setSelectedSocket: React.Dispatch<React.SetStateAction<SocketConnectionRecord | null>>;
|
|
364
|
+
socketSearch: string;
|
|
365
|
+
setSocketSearch: React.Dispatch<React.SetStateAction<string>>;
|
|
366
|
+
socketQuickFilter: string;
|
|
367
|
+
setSocketQuickFilter: React.Dispatch<React.SetStateAction<string>>;
|
|
368
|
+
lastReadSocketCount: number;
|
|
369
|
+
unreadSocketCount: number;
|
|
370
|
+
maxSocketLogs: number;
|
|
371
|
+
setMaxSocketLogs: React.Dispatch<React.SetStateAction<number>>;
|
|
372
|
+
clearAllSocketLogs: () => void;
|
|
373
|
+
deleteSocketRecord?: (id: string) => void;
|
|
374
|
+
deleteMultipleSocketRecords?: (ids: string[]) => void;
|
|
375
|
+
simulateSocket: (preset?: 'chat' | 'crypto' | 'socketio' | 'echo' | 'custom', customData?: any) => void;
|
|
335
376
|
settingsActiveSubTab: SettingsSubTab;
|
|
336
377
|
setSettingsActiveSubTab: React.Dispatch<React.SetStateAction<SettingsSubTab>>;
|
|
337
378
|
defaultTab: ActiveTab;
|
|
@@ -367,6 +408,22 @@ export interface InspectorContextValue {
|
|
|
367
408
|
setReduxAutoRefreshState: React.Dispatch<React.SetStateAction<boolean>>;
|
|
368
409
|
reduxExpandDepth: number;
|
|
369
410
|
setReduxExpandDepth: React.Dispatch<React.SetStateAction<number>>;
|
|
411
|
+
captureFps: number;
|
|
412
|
+
setCaptureFps: React.Dispatch<React.SetStateAction<number>>;
|
|
413
|
+
captureScale: number;
|
|
414
|
+
setCaptureScale: React.Dispatch<React.SetStateAction<number>>;
|
|
415
|
+
captureBitrate: number;
|
|
416
|
+
setCaptureBitrate: React.Dispatch<React.SetStateAction<number>>;
|
|
417
|
+
captureMaxDurationSeconds: number;
|
|
418
|
+
setCaptureMaxDurationSeconds: React.Dispatch<React.SetStateAction<number>>;
|
|
419
|
+
captureImageFormat: 'png' | 'jpeg' | 'webp';
|
|
420
|
+
setCaptureImageFormat: React.Dispatch<React.SetStateAction<'png' | 'jpeg' | 'webp'>>;
|
|
421
|
+
captureAudioMode: 'none' | 'app' | 'mic';
|
|
422
|
+
setCaptureAudioMode: React.Dispatch<React.SetStateAction<'none' | 'app' | 'mic'>>;
|
|
423
|
+
captureAutoHide: boolean;
|
|
424
|
+
setCaptureAutoHide: React.Dispatch<React.SetStateAction<boolean>>;
|
|
425
|
+
captureAutoGif: boolean;
|
|
426
|
+
setCaptureAutoGif: React.Dispatch<React.SetStateAction<boolean>>;
|
|
370
427
|
}
|
|
371
428
|
export interface CopyButtonProps {
|
|
372
429
|
value: unknown | (() => unknown);
|
|
@@ -457,6 +514,7 @@ export interface AnimatedEntranceProps {
|
|
|
457
514
|
export interface ConsoleLogCardProps {
|
|
458
515
|
item: ConsoleLog;
|
|
459
516
|
searchStr?: string;
|
|
517
|
+
onPress?: (item: ConsoleLog) => void;
|
|
460
518
|
}
|
|
461
519
|
export interface JsonContent {
|
|
462
520
|
header: string;
|
|
@@ -522,3 +580,66 @@ export interface PushDetailProps {
|
|
|
522
580
|
item: PushNotificationRecord | null;
|
|
523
581
|
onClose: () => void;
|
|
524
582
|
}
|
|
583
|
+
export interface SocketFrame {
|
|
584
|
+
id: string;
|
|
585
|
+
timestamp: number;
|
|
586
|
+
direction: SocketFrameDirection;
|
|
587
|
+
type: SocketFrameType;
|
|
588
|
+
data: any;
|
|
589
|
+
raw?: any;
|
|
590
|
+
size?: number;
|
|
591
|
+
eventName?: string;
|
|
592
|
+
ackId?: number;
|
|
593
|
+
}
|
|
594
|
+
export interface SocketConnectionRecord {
|
|
595
|
+
id: string;
|
|
596
|
+
url: string;
|
|
597
|
+
protocols?: string | string[];
|
|
598
|
+
readyState: number;
|
|
599
|
+
status: SocketStatus;
|
|
600
|
+
startTime: number;
|
|
601
|
+
endTime?: number;
|
|
602
|
+
duration?: number;
|
|
603
|
+
closeCode?: number;
|
|
604
|
+
closeReason?: string;
|
|
605
|
+
error?: string | any;
|
|
606
|
+
client: 'websocket' | 'socket.io' | string;
|
|
607
|
+
frames: SocketFrame[];
|
|
608
|
+
sentCount: number;
|
|
609
|
+
receivedCount: number;
|
|
610
|
+
totalBytesSent: number;
|
|
611
|
+
totalBytesReceived: number;
|
|
612
|
+
caller?: string;
|
|
613
|
+
query?: Record<string, string>;
|
|
614
|
+
headers?: Record<string, string>;
|
|
615
|
+
routeInfo?: RouteInfo;
|
|
616
|
+
}
|
|
617
|
+
export interface SocketFilterState {
|
|
618
|
+
search: string;
|
|
619
|
+
status: Set<string>;
|
|
620
|
+
types: Set<string>;
|
|
621
|
+
sortBy: 'time_desc' | 'time_asc' | 'frames_desc' | 'duration_desc';
|
|
622
|
+
}
|
|
623
|
+
export interface SocketStats {
|
|
624
|
+
total: number;
|
|
625
|
+
open: number;
|
|
626
|
+
closed: number;
|
|
627
|
+
error: number;
|
|
628
|
+
totalFrames: number;
|
|
629
|
+
sentFrames: number;
|
|
630
|
+
receivedFrames: number;
|
|
631
|
+
totalBytes: number;
|
|
632
|
+
}
|
|
633
|
+
export interface SocketCardProps {
|
|
634
|
+
item: SocketConnectionRecord;
|
|
635
|
+
onPress: () => void;
|
|
636
|
+
searchStr?: string;
|
|
637
|
+
isNew?: boolean;
|
|
638
|
+
isSelected?: boolean;
|
|
639
|
+
onToggleSelect?: (id: string) => void;
|
|
640
|
+
serialNumber?: number;
|
|
641
|
+
}
|
|
642
|
+
export interface SocketDetailProps {
|
|
643
|
+
item: SocketConnectionRecord | null;
|
|
644
|
+
onClose: () => void;
|
|
645
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import{useEffect as V,useRef as j}from"react";import{Animated as O,Easing as G,StyleSheet as I,View as N}from"react-native";import Y,{Circle as L,Defs as P,Ellipse as B,G as A,Line as R,LinearGradient as _,Path as C,RadialGradient as D,Rect as E,Stop as F}from"react-native-svg";export const AnimatedBrandOwl=({size:M=64,shape:Q="square"})=>{const m=j(new O.Value(0)).current;V(()=>{const U=O.loop(O.sequence([O.timing(m,{toValue:1,duration:2200,easing:G.inOut(G.sin),useNativeDriver:!0}),O.timing(m,{toValue:0,duration:2200,easing:G.inOut(G.sin),useNativeDriver:!0})]));return U.start(),()=>U.stop()},[m]);const v=m.interpolate({inputRange:[0,1],outputRange:[0,-8]}),q=m.interpolate({inputRange:[0,.5,1],outputRange:["0deg","-1.8deg","0deg"]}),W=Q==="square",Z=W?Math.round(M*.2265):M/2;return<N style={[S.container,{width:M,height:M,borderRadius:Z}]}>
|
|
2
|
+
<O.View style={[S.animatedLayer,{transform:[{translateY:v},{rotate:q}]}]}>
|
|
3
|
+
<Y width={M}height={M}viewBox="0 0 256 256"fill="none">
|
|
4
|
+
<P>
|
|
5
|
+
|
|
6
|
+
<_ id="owl_beam"x1="70"y1="74"x2="194"y2="187"gradientUnits="userSpaceOnUse">
|
|
7
|
+
<F offset="0"stopColor="#5EEAD4"/>
|
|
8
|
+
<F offset="0.5"stopColor="#38BDF8"/>
|
|
9
|
+
<F offset="1"stopColor="#A78BFA"/>
|
|
10
|
+
</_>
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
<D id="owl_halo"cx="0.5"cy="0.45"r="0.55">
|
|
14
|
+
<F offset="0"stopColor="#38BDF8"stopOpacity={.25}/>
|
|
15
|
+
<F offset="1"stopColor="#38BDF8"stopOpacity={0}/>
|
|
16
|
+
</D>
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<_ id="owl_body"x1="78"y1="60"x2="178"y2="186"gradientUnits="userSpaceOnUse">
|
|
20
|
+
<F offset="0"stopColor="#24345F"/>
|
|
21
|
+
<F offset="1"stopColor="#121B35"/>
|
|
22
|
+
</_>
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
<_ id="owl_beak"x1="120"y1="151"x2="136"y2="168"gradientUnits="userSpaceOnUse">
|
|
26
|
+
<F offset="0"stopColor="#FCD34D"/>
|
|
27
|
+
<F offset="1"stopColor="#FB923C"/>
|
|
28
|
+
</_>
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
<D id="owl_iris"cx="0.42"cy="0.38"r="0.72">
|
|
32
|
+
<F offset="0"stopColor="#FDE68A"/>
|
|
33
|
+
<F offset="0.5"stopColor="#FBBF24"/>
|
|
34
|
+
<F offset="1"stopColor="#F59E0B"/>
|
|
35
|
+
</D>
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
<D id="owl_blush"cx="0.5"cy="0.5"r="0.5">
|
|
39
|
+
<F offset="0"stopColor="#FB7185"stopOpacity={.6}/>
|
|
40
|
+
<F offset="1"stopColor="#FB7185"stopOpacity={0}/>
|
|
41
|
+
</D>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
<_ id="owl_wing"x1="70"y1="120"x2="190"y2="206"gradientUnits="userSpaceOnUse">
|
|
45
|
+
<F offset="0"stopColor="#1D2A4F"/>
|
|
46
|
+
<F offset="1"stopColor="#0F1735"/>
|
|
47
|
+
</_>
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
<_ id="owl_faceplate"x1="70"y1="72"x2="186"y2="152"gradientUnits="userSpaceOnUse">
|
|
51
|
+
<F offset="0"stopColor="#3B528D"/>
|
|
52
|
+
<F offset="1"stopColor="#223358"/>
|
|
53
|
+
</_>
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
<D id="owl_lensglass"cx="0.4"cy="0.32"r="0.75">
|
|
57
|
+
<F offset="0"stopColor="#7DE8FF"stopOpacity={.25}/>
|
|
58
|
+
<F offset="0.7"stopColor="#7DE8FF"stopOpacity={.06}/>
|
|
59
|
+
<F offset="1"stopColor="#7DE8FF"stopOpacity={0}/>
|
|
60
|
+
</D>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<_ id="owl_belly"x1="94"y1="126"x2="162"y2="212"gradientUnits="userSpaceOnUse">
|
|
64
|
+
<F offset="0"stopColor="#384F88"/>
|
|
65
|
+
<F offset="1"stopColor="#20305C"/>
|
|
66
|
+
</_>
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
<_ id="owl_tile"x1="30"y1="30"x2="210"y2="222"gradientUnits="userSpaceOnUse">
|
|
70
|
+
<F offset="0"stopColor="#141B33"/>
|
|
71
|
+
<F offset="1"stopColor="#0A0E1C"/>
|
|
72
|
+
</_>
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
<_ id="owl_edge"x1="14"y1="22"x2="220"y2="228"gradientUnits="userSpaceOnUse">
|
|
76
|
+
<F offset="0"stopColor="#3A4E7A"/>
|
|
77
|
+
<F offset="1"stopColor="#1A2238"/>
|
|
78
|
+
</_>
|
|
79
|
+
</P>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
{W?<>
|
|
83
|
+
<E x={8}y={8}width={240}height={240}rx={58}fill="url(#owl_tile)"/>
|
|
84
|
+
<E x={8.6}y={8.6}width={238.8}height={238.8}rx={57.4}fill="none"stroke="url(#owl_edge)"strokeOpacity={.75}strokeWidth={1.6}/>
|
|
85
|
+
<L cx={128}cy={128}r={104}fill="url(#owl_halo)"/>
|
|
86
|
+
</>:<>
|
|
87
|
+
<L cx={128}cy={128}r={122}fill="url(#owl_tile)"/>
|
|
88
|
+
<L cx={128}cy={128}r={121.4}fill="none"stroke="url(#owl_edge)"strokeOpacity={.75}strokeWidth={1.6}/>
|
|
89
|
+
<L cx={128}cy={128}r={105}fill="url(#owl_halo)"/>
|
|
90
|
+
</>}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<A transform={W?"translate(128 128) scale(1.16) translate(-128 -134)":"translate(128 132) scale(1.08) translate(-128 -134)"}>
|
|
94
|
+
|
|
95
|
+
<C d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z"fill="url(#owl_wing)"stroke="url(#owl_beam)"strokeWidth={2.5}strokeOpacity={.5}/>
|
|
96
|
+
<C d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z"fill="url(#owl_wing)"stroke="url(#owl_beam)"strokeWidth={2.5}strokeOpacity={.5}/>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<C 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(#owl_body)"stroke="url(#owl_beam)"strokeWidth={4}strokeLinejoin="round"/>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
<C d="M99 48 L114 62 L104 63 L98 55 Z"fill="#080F22"opacity={.55}/>
|
|
103
|
+
<C d="M157 48 L142 62 L152 63 L158 55 Z"fill="#080F22"opacity={.55}/>
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<A stroke="#22325A"strokeWidth={2.2}fill="none"strokeLinecap="round"opacity={.75}>
|
|
107
|
+
<C d="M80 138 q-5 26 3 50"/>
|
|
108
|
+
<C d="M90 134 q-4 26 3 48"/>
|
|
109
|
+
<C d="M176 138 q5 26 -3 50"/>
|
|
110
|
+
<C d="M166 134 q4 26 -3 48"/>
|
|
111
|
+
</A>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
<C d="M128 126 C151 126 164 148 162 174 C160 198 146 212 128 212 C110 212 96 198 94 174 C92 148 105 126 128 126 Z"fill="url(#owl_belly)"/>
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
<A stroke="#4A659E"strokeWidth={2.3}fill="none"strokeLinecap="round"opacity={.45}>
|
|
118
|
+
<C d="M110 154 Q118 162 126 154"/>
|
|
119
|
+
<C d="M126 154 Q134 162 142 154"/>
|
|
120
|
+
<C d="M142 154 Q150 162 158 154"/>
|
|
121
|
+
<C d="M102 172 Q110 180 118 172"/>
|
|
122
|
+
<C d="M150 172 Q158 180 166 172"/>
|
|
123
|
+
<C d="M112 190 Q120 198 128 190"/>
|
|
124
|
+
<C d="M128 190 Q136 198 144 190"/>
|
|
125
|
+
</A>
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
<E x={107}y={161}width={42}height={32}rx={9}fill="#0A1020"stroke="url(#owl_beam)"strokeWidth={2}strokeOpacity={.8}/>
|
|
129
|
+
<A stroke="#7DD3FC"strokeWidth={3}strokeLinecap="round"strokeLinejoin="round"fill="none">
|
|
130
|
+
<C d="M122 170 L115 177 L122 184"/>
|
|
131
|
+
<C d="M134 170 L141 177 L134 184"/>
|
|
132
|
+
<C d="M130 168 L126 186"/>
|
|
133
|
+
</A>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
<C 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="url(#owl_faceplate)"stroke="#52709E"strokeWidth={2.6}strokeOpacity={.7}/>
|
|
137
|
+
<C d="M128 96 L128 120"stroke="#52709E"strokeWidth={2}strokeLinecap="round"strokeOpacity={.45}/>
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
<A stroke="url(#owl_beak)"strokeWidth={5}strokeLinecap="round"fill="none">
|
|
141
|
+
<C d="M111 209 L105 224 M111 209 L111 226 M111 209 L117 224"/>
|
|
142
|
+
<C d="M145 209 L139 224 M145 209 L145 226 M145 209 L151 224"/>
|
|
143
|
+
</A>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
<L cx={153}cy={107}r={17}fill="url(#owl_iris)"stroke="#1A1205"strokeWidth={2.2}/>
|
|
147
|
+
<L cx={153}cy={108}r={8.2}fill="#0A0E18"/>
|
|
148
|
+
<L cx={156.2}cy={104}r={3.1}fill="#FFFFFF"opacity={.95}/>
|
|
149
|
+
<L cx={149.6}cy={111}r={1.6}fill="#FFFFFF"opacity={.7}/>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
<C d="M123.5 123 Q128 121 132.5 123 Q131 132 128 134.5 Q125 132 123.5 123 Z"fill="url(#owl_beak)"/>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
<L cx={95}cy={103}r={20}fill="url(#owl_iris)"stroke="#1A1205"strokeWidth={2.6}/>
|
|
156
|
+
<L cx={95}cy={104}r={10}fill="#0A0E18"/>
|
|
157
|
+
<L cx={98.6}cy={100}r={3.4}fill="#FFFFFF"opacity={.95}/>
|
|
158
|
+
<L cx={91}cy={107}r={1.8}fill="#FFFFFF"opacity={.7}/>
|
|
159
|
+
<L cx={95}cy={103}r={28}fill="url(#owl_lensglass)"/>
|
|
160
|
+
<C d="M77 87 A28 28 0 0 1 106 79"fill="none"stroke="#FFFFFF"strokeWidth={4}strokeLinecap="round"strokeOpacity={.5}/>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<R x1={75}y1={123}x2={54}y2={147}stroke="#0A0F1C"strokeWidth={14}strokeLinecap="round"/>
|
|
164
|
+
<R x1={75}y1={123}x2={54}y2={147}stroke="url(#owl_beam)"strokeWidth={8.5}strokeLinecap="round"/>
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
<L cx={95}cy={103}r={28}fill="none"stroke="url(#owl_beam)"strokeWidth={7}/>
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
<B cx={83}cy={127}rx={9}ry={6}fill="url(#owl_blush)"/>
|
|
171
|
+
<B cx={167}cy={122}rx={9}ry={6}fill="url(#owl_blush)"/>
|
|
172
|
+
</A>
|
|
173
|
+
</Y>
|
|
174
|
+
</O.View>
|
|
175
|
+
</N>};const S=I.create({container:{overflow:"visible",alignItems:"center",justifyContent:"center",backgroundColor:"transparent"},animatedLayer:{width:"100%",height:"100%",alignItems:"center",justifyContent:"center"}});export default AnimatedBrandOwl;
|
|
@@ -3,6 +3,7 @@ import { ImageSourcePropType } from 'react-native';
|
|
|
3
3
|
interface AppHeaderLogoProps {
|
|
4
4
|
size?: number;
|
|
5
5
|
customIcon?: ImageSourcePropType | null;
|
|
6
|
+
shape?: 'square' | 'circle';
|
|
6
7
|
}
|
|
7
8
|
export declare const AppHeaderLogo: React.FC<AppHeaderLogoProps>;
|
|
8
9
|
export default AppHeaderLogo;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
{
|
|
3
|
-
</
|
|
4
|
-
<
|
|
5
|
-
</
|
|
1
|
+
import b from"react";import{Image as C,StyleSheet as _,View as R}from"react-native";const M=require("../../../assets/inapp_inspector_icon.gif");export const AppHeaderLogo=({size:e=64,customIcon:o,shape:V="square"})=>{const r=V==="circle"?e/2:Math.round(e*.2265);if(o){if(b.isValidElement(o)){const v=b.cloneElement(o,{size:e,width:e,height:e});return<R style={[t.container,{width:e,height:e,borderRadius:r}]}>
|
|
2
|
+
{v}
|
|
3
|
+
</R>}return<R style={[t.imageContainer,{width:e,height:e,borderRadius:r}]}>
|
|
4
|
+
<C source={o}style={[t.image,{borderRadius:r}]}resizeMode="cover"/>
|
|
5
|
+
</R>}return<R style={[t.imageContainer,{width:e,height:e,borderRadius:r}]}>
|
|
6
|
+
<C source={M}style={[t.image,{borderRadius:r}]}resizeMode="cover"/>
|
|
7
|
+
</R>};const t=_.create({container:{overflow:"hidden",alignItems:"center",justifyContent:"center",backgroundColor:"transparent"},imageContainer:{overflow:"hidden",backgroundColor:"transparent",alignItems:"center",justifyContent:"center"},image:{width:"100%",height:"100%"}});export default AppHeaderLogo;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import"react";import U,{Circle as _,Path as L,G as F,Defs as W,LinearGradient as M,RadialGradient as O,Stop as C,Rect as E,Ellipse as A,Line as D}from"react-native-svg";export const BrandSquareIcon=({size:G=56})=><U width={G}height={G}viewBox="0 0 256 256"fill="none">
|
|
2
|
+
<W>
|
|
3
|
+
<M id="sq_tile"x1="30"y1="30"x2="210"y2="222"gradientUnits="userSpaceOnUse">
|
|
4
|
+
<C offset="0"stopColor="#141B33"/>
|
|
5
|
+
<C offset="1"stopColor="#0A0E1C"/>
|
|
6
|
+
</M>
|
|
7
|
+
<M id="sq_edge"x1="14"y1="22"x2="220"y2="228"gradientUnits="userSpaceOnUse">
|
|
8
|
+
<C offset="0"stopColor="#3A4E7A"/>
|
|
9
|
+
<C offset="1"stopColor="#1A2238"/>
|
|
10
|
+
</M>
|
|
11
|
+
<M id="sq_beam"x1="70"y1="74"x2="194"y2="187"gradientUnits="userSpaceOnUse">
|
|
12
|
+
<C offset="0"stopColor="#5EEAD4"/>
|
|
13
|
+
<C offset="0.5"stopColor="#38BDF8"/>
|
|
14
|
+
<C offset="1"stopColor="#A78BFA"/>
|
|
15
|
+
</M>
|
|
16
|
+
<O id="sq_halo"cx="0.5"cy="0.45"r="0.55">
|
|
17
|
+
<C offset="0"stopColor="#38BDF8"stopOpacity={.12}/>
|
|
18
|
+
<C offset="1"stopColor="#38BDF8"stopOpacity={0}/>
|
|
19
|
+
</O>
|
|
20
|
+
<M id="sq_owlbody"x1="78"y1="60"x2="178"y2="186"gradientUnits="userSpaceOnUse">
|
|
21
|
+
<C offset="0"stopColor="#202E55"/>
|
|
22
|
+
<C offset="1"stopColor="#10182F"/>
|
|
23
|
+
</M>
|
|
24
|
+
<M id="sq_beak"x1="120"y1="151"x2="136"y2="168"gradientUnits="userSpaceOnUse">
|
|
25
|
+
<C offset="0"stopColor="#FCD34D"/>
|
|
26
|
+
<C offset="1"stopColor="#FB923C"/>
|
|
27
|
+
</M>
|
|
28
|
+
<O id="sq_iris"cx="0.42"cy="0.38"r="0.72">
|
|
29
|
+
<C offset="0"stopColor="#FDE68A"/>
|
|
30
|
+
<C offset="0.5"stopColor="#FBBF24"/>
|
|
31
|
+
<C offset="1"stopColor="#F59E0B"/>
|
|
32
|
+
</O>
|
|
33
|
+
<O id="sq_blush"cx="0.5"cy="0.5"r="0.5">
|
|
34
|
+
<C offset="0"stopColor="#FB7185"stopOpacity={.5}/>
|
|
35
|
+
<C offset="1"stopColor="#FB7185"stopOpacity={0}/>
|
|
36
|
+
</O>
|
|
37
|
+
<M id="sq_wing"x1="70"y1="120"x2="190"y2="206"gradientUnits="userSpaceOnUse">
|
|
38
|
+
<C offset="0"stopColor="#1A2545"/>
|
|
39
|
+
<C offset="1"stopColor="#0E1530"/>
|
|
40
|
+
</M>
|
|
41
|
+
<M id="sq_faceplate"x1="70"y1="72"x2="186"y2="152"gradientUnits="userSpaceOnUse">
|
|
42
|
+
<C offset="0"stopColor="#35497E"/>
|
|
43
|
+
<C offset="1"stopColor="#1E2D4D"/>
|
|
44
|
+
</M>
|
|
45
|
+
<O id="sq_lensglass"cx="0.4"cy="0.32"r="0.75">
|
|
46
|
+
<C offset="0"stopColor="#7DE8FF"stopOpacity={.22}/>
|
|
47
|
+
<C offset="0.7"stopColor="#7DE8FF"stopOpacity={.05}/>
|
|
48
|
+
<C offset="1"stopColor="#7DE8FF"stopOpacity={0}/>
|
|
49
|
+
</O>
|
|
50
|
+
<M id="sq_belly"x1="94"y1="126"x2="162"y2="212"gradientUnits="userSpaceOnUse">
|
|
51
|
+
<C offset="0"stopColor="#33477A"/>
|
|
52
|
+
<C offset="1"stopColor="#1D2B53"/>
|
|
53
|
+
</M>
|
|
54
|
+
</W>
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
<E x={8}y={8}width={240}height={240}rx={58}fill="url(#sq_tile)"/>
|
|
58
|
+
<E x={8.6}y={8.6}width={238.8}height={238.8}rx={57.4}fill="none"stroke="url(#sq_edge)"strokeOpacity={.6}/>
|
|
59
|
+
<_ cx={128}cy={128}r={104}fill="url(#sq_halo)"/>
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
<F transform="translate(128 128) scale(1.16) translate(-128 -134)">
|
|
63
|
+
|
|
64
|
+
<L d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z"fill="url(#sq_wing)"stroke="url(#sq_beam)"strokeWidth={2.5}strokeOpacity={.45}/>
|
|
65
|
+
|
|
66
|
+
<L d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z"fill="url(#sq_wing)"stroke="url(#sq_beam)"strokeWidth={2.5}strokeOpacity={.45}/>
|
|
67
|
+
|
|
68
|
+
<L 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(#sq_owlbody)"stroke="url(#sq_beam)"strokeWidth={4}strokeLinejoin="round"/>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
<L d="M99 48 L114 62 L104 63 L98 55 Z"fill="#080F22"opacity={.5}/>
|
|
72
|
+
<L d="M157 48 L142 62 L152 63 L158 55 Z"fill="#080F22"opacity={.5}/>
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
<F stroke="#22325A"strokeWidth={2.2}fill="none"strokeLinecap="round"opacity={.75}>
|
|
76
|
+
<L d="M80 138 q-5 26 3 50"/>
|
|
77
|
+
<L d="M90 134 q-4 26 3 48"/>
|
|
78
|
+
<L d="M176 138 q5 26 -3 50"/>
|
|
79
|
+
<L d="M166 134 q4 26 -3 48"/>
|
|
80
|
+
</F>
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
<L d="M128 126 C151 126 164 148 162 174 C160 198 146 212 128 212 C110 212 96 198 94 174 C92 148 105 126 128 126 Z"fill="url(#sq_belly)"/>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
<F stroke="#3E588C"strokeWidth={2.3}fill="none"strokeLinecap="round"opacity={.4}>
|
|
87
|
+
<L d="M110 154 Q118 162 126 154"/>
|
|
88
|
+
<L d="M126 154 Q134 162 142 154"/>
|
|
89
|
+
<L d="M142 154 Q150 162 158 154"/>
|
|
90
|
+
<L d="M102 172 Q110 180 118 172"/>
|
|
91
|
+
<L d="M150 172 Q158 180 166 172"/>
|
|
92
|
+
<L d="M112 190 Q120 198 128 190"/>
|
|
93
|
+
<L d="M128 190 Q136 198 144 190"/>
|
|
94
|
+
</F>
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
<E x={107}y={161}width={42}height={32}rx={9}fill="#0C1426"stroke="url(#sq_beam)"strokeWidth={2}strokeOpacity={.7}/>
|
|
98
|
+
<F stroke="#8FD0EC"strokeWidth={3}strokeLinecap="round"strokeLinejoin="round"fill="none">
|
|
99
|
+
<L d="M122 170 L115 177 L122 184"/>
|
|
100
|
+
<L d="M134 170 L141 177 L134 184"/>
|
|
101
|
+
<L d="M130 168 L126 186"/>
|
|
102
|
+
</F>
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
<L 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="url(#sq_faceplate)"stroke="#52709E"strokeWidth={2.6}strokeOpacity={.7}/>
|
|
106
|
+
|
|
107
|
+
<L d="M128 96 L128 120"stroke="#52709E"strokeWidth={2}strokeLinecap="round"strokeOpacity={.45}/>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
<F stroke="url(#sq_beak)"strokeWidth={5}strokeLinecap="round"fill="none">
|
|
111
|
+
<L d="M111 209 L105 224 M111 209 L111 226 M111 209 L117 224"/>
|
|
112
|
+
<L d="M145 209 L139 224 M145 209 L145 226 M145 209 L151 224"/>
|
|
113
|
+
</F>
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
<_ cx={153}cy={107}r={17}fill="url(#sq_iris)"stroke="#1A1205"strokeWidth={2.2}/>
|
|
117
|
+
<_ cx={153}cy={108}r={8.2}fill="#0A0E18"/>
|
|
118
|
+
<_ cx={156.2}cy={104}r={3.1}fill="#ffffff"opacity={.95}/>
|
|
119
|
+
<_ cx={149.6}cy={111}r={1.6}fill="#ffffff"opacity={.7}/>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
<L d="M123.5 123 Q128 121 132.5 123 Q131 132 128 134.5 Q125 132 123.5 123 Z"fill="url(#sq_beak)"/>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<_ cx={95}cy={103}r={20}fill="url(#sq_iris)"stroke="#1A1205"strokeWidth={2.6}/>
|
|
126
|
+
<_ cx={95}cy={104}r={10}fill="#0A0E18"/>
|
|
127
|
+
<_ cx={98.6}cy={100}r={3.4}fill="#ffffff"opacity={.95}/>
|
|
128
|
+
<_ cx={91}cy={107}r={1.8}fill="#ffffff"opacity={.7}/>
|
|
129
|
+
<_ cx={95}cy={103}r={28}fill="url(#sq_lensglass)"/>
|
|
130
|
+
<L d="M77 87 A28 28 0 0 1 106 79"fill="none"stroke="#ffffff"strokeWidth={4}strokeLinecap="round"strokeOpacity={.5}/>
|
|
131
|
+
<D x1={75}y1={123}x2={54}y2={147}stroke="#0A0F1C"strokeWidth={14}strokeLinecap="round"/>
|
|
132
|
+
<D x1={75}y1={123}x2={54}y2={147}stroke="url(#sq_beam)"strokeWidth={8.5}strokeLinecap="round"/>
|
|
133
|
+
<_ cx={95}cy={103}r={28}fill="none"stroke="url(#sq_beam)"strokeWidth={7}/>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
<A cx={83}cy={127}rx={9}ry={6}fill="url(#sq_blush)"/>
|
|
137
|
+
<A cx={167}cy={122}rx={9}ry={6}fill="url(#sq_blush)"/>
|
|
138
|
+
</F>
|
|
139
|
+
</U>;export default BrandSquareIcon;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ConsoleLogCardProps } from '../types';
|
|
3
3
|
export declare const ConsoleLogCard: React.NamedExoticComponent<ConsoleLogCardProps>;
|
|
4
|
-
export
|
|
4
|
+
export declare const MemoizedConsoleLogCard: React.MemoExoticComponent<React.NamedExoticComponent<ConsoleLogCardProps>>;
|
|
5
|
+
export default MemoizedConsoleLogCard;
|