react-native-inapp-inspector 2.3.23 → 2.3.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/components/AnalyticsDetail.js +8 -8
- package/dist/commonjs/components/AnalyticsEventCard.js +11 -8
- package/dist/commonjs/components/AppHeaderLogo.js +1 -1
- package/dist/commonjs/components/BrandSquareIcon.js +12 -12
- package/dist/commonjs/components/ConsoleLogCard.d.ts +1 -0
- package/dist/commonjs/components/ConsoleLogCard.js +92 -80
- package/dist/commonjs/components/EndOfListFooter.d.ts +5 -1
- package/dist/commonjs/components/EndOfListFooter.js +27 -5
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +30 -298
- package/dist/commonjs/components/Inspector/ConsoleTab.js +38 -93
- package/dist/commonjs/components/Inspector/CrashDetail.js +12 -12
- package/dist/commonjs/components/Inspector/CrashTab.js +43 -33
- package/dist/commonjs/components/Inspector/DebuggingTab.js +9 -9
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +54 -52
- package/dist/commonjs/components/Inspector/InspectorHeader.js +1 -1
- package/dist/commonjs/components/Inspector/LogDetail.js +6 -6
- package/dist/commonjs/components/Inspector/MainScreen.js +23 -25
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +1 -1
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +3 -3
- package/dist/commonjs/components/Inspector/NetworkTab.js +31 -31
- package/dist/commonjs/components/Inspector/NpmStarPrompt.js +3 -3
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +21 -22
- package/dist/commonjs/components/Inspector/ReduxDetail.js +1 -1
- package/dist/commonjs/components/Inspector/ReduxTab.js +110 -97
- package/dist/commonjs/components/Inspector/SettingsPanel.js +48 -100
- package/dist/commonjs/components/Inspector/StorageTab.js +56 -52
- package/dist/commonjs/components/Inspector/TabBar.js +29 -26
- package/dist/commonjs/components/JsonViewer.js +169 -164
- package/dist/commonjs/components/LogCard.js +34 -38
- package/dist/commonjs/components/LogSyntaxHighlighter.js +3 -3
- package/dist/commonjs/components/SegmentedTabs.d.ts +4 -1
- package/dist/commonjs/components/SegmentedTabs.js +8 -8
- package/dist/commonjs/constants/index.js +1 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/networkLogger.js +1 -2
- package/dist/commonjs/helpers/index.d.ts +6 -0
- package/dist/commonjs/helpers/index.js +4 -4
- package/dist/commonjs/helpers/memoryManager.d.ts +0 -1
- package/dist/commonjs/helpers/memoryManager.js +1 -1
- package/dist/commonjs/helpers/remoteConfig.js +1 -1
- package/dist/commonjs/helpers/settingsStore.js +1 -1
- package/dist/commonjs/i18n/index.d.ts +35 -0
- package/dist/commonjs/i18n/index.js +1 -1
- package/dist/commonjs/i18n/locales/ar.json +1 -0
- package/dist/commonjs/i18n/locales/de.json +1 -0
- package/dist/commonjs/i18n/locales/en.json +1 -1
- package/dist/commonjs/i18n/locales/es.json +1 -0
- package/dist/commonjs/i18n/locales/fr.json +1 -0
- package/dist/commonjs/i18n/locales/hi.json +1 -0
- package/dist/commonjs/i18n/locales/ja.json +1 -0
- package/dist/commonjs/i18n/locales/ko.json +1 -0
- package/dist/commonjs/i18n/locales/pt.json +1 -0
- package/dist/commonjs/i18n/locales/ru.json +1 -0
- package/dist/commonjs/i18n/locales/zh.json +1 -0
- package/dist/commonjs/index.d.ts +2 -4
- package/dist/commonjs/index.js +2 -2
- package/dist/commonjs/styles/AppColors.d.ts +40 -0
- package/dist/commonjs/styles/AppColors.js +1 -1
- package/dist/commonjs/styles/index.js +1 -1
- package/dist/commonjs/types/enums.d.ts +0 -20
- package/dist/commonjs/types/enums.js +1 -1
- package/dist/esm/components/AnalyticsDetail.js +75 -75
- package/dist/esm/components/AnalyticsEventCard.js +20 -17
- package/dist/esm/components/AppHeaderLogo.js +5 -5
- package/dist/esm/components/BrandSquareIcon.js +39 -39
- package/dist/esm/components/ConsoleLogCard.d.ts +1 -0
- package/dist/esm/components/ConsoleLogCard.js +98 -86
- package/dist/esm/components/EndOfListFooter.d.ts +5 -1
- package/dist/esm/components/EndOfListFooter.js +36 -14
- package/dist/esm/components/Inspector/AnalyticsTab.js +47 -315
- package/dist/esm/components/Inspector/ConsoleTab.js +61 -116
- package/dist/esm/components/Inspector/CrashDetail.js +49 -49
- package/dist/esm/components/Inspector/CrashTab.js +75 -65
- package/dist/esm/components/Inspector/DebuggingTab.js +31 -31
- package/dist/esm/components/Inspector/DeviceInfoTab.js +146 -144
- package/dist/esm/components/Inspector/InspectorHeader.js +5 -5
- package/dist/esm/components/Inspector/LogDetail.js +1 -1
- package/dist/esm/components/Inspector/MainScreen.js +51 -53
- package/dist/esm/components/Inspector/MediaGalleryTab.js +1 -1
- package/dist/esm/components/Inspector/MediaPreviewModal.js +31 -31
- package/dist/esm/components/Inspector/NetworkTab.js +63 -63
- package/dist/esm/components/Inspector/NpmStarPrompt.js +42 -42
- package/dist/esm/components/Inspector/NpmUpdateToast.js +45 -46
- package/dist/esm/components/Inspector/ReduxDetail.js +1 -1
- package/dist/esm/components/Inspector/ReduxTab.js +163 -150
- package/dist/esm/components/Inspector/SettingsPanel.js +136 -188
- package/dist/esm/components/Inspector/StorageTab.js +88 -84
- package/dist/esm/components/Inspector/TabBar.js +37 -34
- package/dist/esm/components/JsonViewer.js +173 -168
- package/dist/esm/components/LogCard.js +38 -42
- package/dist/esm/components/LogSyntaxHighlighter.js +1 -1
- package/dist/esm/components/SegmentedTabs.d.ts +4 -1
- package/dist/esm/components/SegmentedTabs.js +8 -8
- package/dist/esm/constants/index.js +1 -1
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/networkLogger.js +1 -2
- package/dist/esm/helpers/index.d.ts +6 -0
- package/dist/esm/helpers/index.js +4 -4
- package/dist/esm/helpers/memoryManager.d.ts +0 -1
- package/dist/esm/helpers/memoryManager.js +1 -1
- package/dist/esm/helpers/remoteConfig.js +1 -1
- package/dist/esm/helpers/settingsStore.js +1 -1
- package/dist/esm/i18n/index.d.ts +35 -0
- package/dist/esm/i18n/index.js +1 -1
- package/dist/esm/i18n/locales/ar.json +1 -0
- package/dist/esm/i18n/locales/de.json +1 -0
- package/dist/esm/i18n/locales/en.json +1 -1
- package/dist/esm/i18n/locales/es.json +1 -0
- package/dist/esm/i18n/locales/fr.json +1 -0
- package/dist/esm/i18n/locales/hi.json +1 -0
- package/dist/esm/i18n/locales/ja.json +1 -0
- package/dist/esm/i18n/locales/ko.json +1 -0
- package/dist/esm/i18n/locales/pt.json +1 -0
- package/dist/esm/i18n/locales/ru.json +1 -0
- package/dist/esm/i18n/locales/zh.json +1 -0
- package/dist/esm/index.d.ts +2 -4
- package/dist/esm/index.js +5 -5
- package/dist/esm/styles/AppColors.d.ts +40 -0
- package/dist/esm/styles/AppColors.js +1 -1
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/types/enums.d.ts +0 -20
- package/dist/esm/types/enums.js +1 -1
- package/package.json +1 -15
- package/dist/commonjs/bundle.d.ts +0 -2
- package/dist/commonjs/bundle.js +0 -1
- package/dist/commonjs/components/Inspector/BundleTab.d.ts +0 -48
- package/dist/commonjs/components/Inspector/BundleTab.js +0 -1297
- package/dist/commonjs/components/Inspector/PerformanceTab.d.ts +0 -27
- package/dist/commonjs/components/Inspector/PerformanceTab.js +0 -454
- package/dist/commonjs/customHooks/bundleAnalyzer.d.ts +0 -115
- package/dist/commonjs/customHooks/bundleAnalyzer.js +0 -1
- package/dist/commonjs/customHooks/performanceTracker.d.ts +0 -144
- package/dist/commonjs/customHooks/performanceTracker.js +0 -63
- package/dist/commonjs/performance.d.ts +0 -2
- package/dist/commonjs/performance.js +0 -1
- package/dist/esm/bundle.d.ts +0 -2
- package/dist/esm/bundle.js +0 -1
- package/dist/esm/components/Inspector/BundleTab.d.ts +0 -48
- package/dist/esm/components/Inspector/BundleTab.js +0 -1297
- package/dist/esm/components/Inspector/PerformanceTab.d.ts +0 -27
- package/dist/esm/components/Inspector/PerformanceTab.js +0 -454
- package/dist/esm/customHooks/bundleAnalyzer.d.ts +0 -115
- package/dist/esm/customHooks/bundleAnalyzer.js +0 -1
- package/dist/esm/customHooks/performanceTracker.d.ts +0 -144
- package/dist/esm/customHooks/performanceTracker.js +0 -63
- package/dist/esm/performance.d.ts +0 -2
- package/dist/esm/performance.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BreadcrumbType=exports.CrashFilterType=exports.CrashDetailSubTab=exports.CrashExportFormat=exports.CrashType=exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),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",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"},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"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{useState as q,useMemo as z}from"react";import{Pressable as Ce,ScrollView as Te,StyleSheet as
|
|
1
|
+
import{useState as q,useMemo as z}from"react";import{Pressable as Ce,ScrollView as Te,StyleSheet as Ve,Text as B,TextInput as Be,View as C}from"react-native";import G from"./CopyButton";import Y from"./JsonViewer";import Se from"./SegmentedTabs";import Q from"./HighlightText";import Ie from"./AnimatedEntrance";import{AppFonts as S}from"../styles/AppFonts";import{AppColors as e}from"../styles/AppColors";import{getSize as ze,formatDateTime as Pe}from"../helpers";import{getEventCategory as Re}from"../helpers/gaAnalyticsRegistry";import{useTranslation as We}from"../i18n";import{SparkleIcon as X,ClockIcon as De,SearchIcon as He,ClearIcon as Fe,LayersIcon as Ne,CartIcon as Oe,GlobeIcon as Ae,BoltIcon as Ee,PinIcon as Ke,MoneyIcon as Le,PrettyIcon as Me,TableIcon as Z,DocIcon as $e,PackageIcon as _e}from"./NetworkIcons";const Je=({event:T})=>{const{t:P}=We(),[O,ee]=q("overview"),[R,v]=q(""),k=z(()=>T.params??{},[T.params]),F=z(()=>T.userProperties??{},[T.userProperties]),N=z(()=>Object.keys(k),[k]),W=z(()=>Object.keys(F),[F]),M=z(()=>Re(T.name,k),[T.name,k]),A=z(()=>({name:T.name,timestamp:T.timestamp,source:T.source,...T.screenName?{screenName:T.screenName}:{},...T.screenClass?{screenClass:T.screenClass}:{},...T.userId?{userId:T.userId}:{},...T.sessionId?{sessionId:T.sessionId}:{},...T.trackingId?{trackingId:T.trackingId}:{},params:k,...W.length>0?{userProperties:F}:{}}),[T,k,W.length,F]),E=z(()=>{const V=k.value??k.price,I=k.currency??"USD";return V!=null&&!isNaN(Number(V))?{amount:Number(V).toFixed(2),currency:String(I).toUpperCase()}:null},[k]),$=z(()=>Array.isArray(k.items)?k.items.length:null,[k.items]),_=z(()=>T.screenName||k.firebase_screen||k.screen_name||k.page_title||T.screenClass||k.firebase_screen_class,[T.screenName,T.screenClass,k]),J=z(()=>{const V=Object.entries(k);if(!R.trim())return V;const I=R.toLowerCase();return V.filter(([K,D])=>{const L=typeof D=="object"?JSON.stringify(D):String(D);return K.toLowerCase().includes(I)||L.toLowerCase().includes(I)})},[k,R]),H=z(()=>{switch(M){case"ecommerce":return{label:P("analytics.ecommerceCategory"),color:e.amber700,bg:e.amber100,border:e.amber200,icon:V=><Oe color={V}size={11}/>};case"page_view":return{label:P("analytics.screensCategory"),color:e.sky600,bg:e.sky100,border:e.sky400,icon:V=><Ae color={V}size={11}/>};case"system":return{label:P("analytics.systemCategory"),color:e.purple,bg:e.purple100,border:e.purple200,icon:V=><Ee color={V}size={11}/>};default:return{label:P("analytics.customCategory"),color:e.brandPurple,bg:e.purple100,border:e.purple200,icon:V=><X color={V}size={11}/>}}},[M,P]),re=[{key:"overview",label:`${P("analytics.overviewTab")} (${N.length})`,icon:V=><Z color={V?e.white:e.grayText}size={12}/>},{key:"json",label:"JSON Payload",icon:V=><Me color={V?e.white:e.grayText}size={12}/>}];return<Te style={r.scroll}contentContainerStyle={r.content}showsVerticalScrollIndicator contentInsetAdjustmentBehavior="never"automaticallyAdjustContentInsets={!1}>
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
<C style={r.heroCard}>
|
|
@@ -7,25 +7,25 @@ import{useState as q,useMemo as z}from"react";import{Pressable as Ce,ScrollView
|
|
|
7
7
|
<C style={{flexDirection:"row",alignItems:"center",gap:6,flexWrap:"wrap",flex:1}}>
|
|
8
8
|
|
|
9
9
|
<C style={r.idBadge}>
|
|
10
|
-
<
|
|
10
|
+
<B style={r.idBadgeText}>
|
|
11
11
|
#{T.id!=null?T.id+1:1}
|
|
12
|
-
</
|
|
12
|
+
</B>
|
|
13
13
|
</C>
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
<C style={[r.sourceBadge,T.source==="firebase"?{backgroundColor:e.amberBg,borderColor:e.amberBorder}:{backgroundColor:e.purpleBg,borderColor:e.purpleBorder}]}>
|
|
17
17
|
<C style={[r.sourceDot,{backgroundColor:T.source==="firebase"?e.firebaseOrange:e.purple}]}/>
|
|
18
|
-
<
|
|
18
|
+
<B style={[r.sourceBadgeText,{color:T.source==="firebase"?e.amber800Warm:e.purple}]}>
|
|
19
19
|
{T.source==="firebase"?P("analytics.sourceFirebase"):P("analytics.sourceCustom")}
|
|
20
|
-
</
|
|
20
|
+
</B>
|
|
21
21
|
</C>
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
<C style={[r.catBadge,{backgroundColor:
|
|
25
|
-
{
|
|
26
|
-
<
|
|
27
|
-
{
|
|
28
|
-
</
|
|
24
|
+
<C style={[r.catBadge,{backgroundColor:H.bg,borderColor:H.border}]}>
|
|
25
|
+
{H.icon(H.color)}
|
|
26
|
+
<B style={[r.catBadgeText,{color:H.color}]}>
|
|
27
|
+
{H.label}
|
|
28
|
+
</B>
|
|
29
29
|
</C>
|
|
30
30
|
</C>
|
|
31
31
|
|
|
@@ -35,86 +35,86 @@ import{useState as q,useMemo as z}from"react";import{Pressable as Ce,ScrollView
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
<C style={r.titleRow}>
|
|
38
|
-
<
|
|
38
|
+
<B style={r.eventTitle}selectable numberOfLines={2}>
|
|
39
39
|
{T.name}
|
|
40
|
-
</
|
|
40
|
+
</B>
|
|
41
41
|
</C>
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
<C style={r.metaRow}>
|
|
45
45
|
<C style={r.timePill}>
|
|
46
|
-
<
|
|
47
|
-
<
|
|
46
|
+
<De color={e.purple}size={11}/>
|
|
47
|
+
<B style={r.timeText}>
|
|
48
48
|
{Pe(T.timestamp)}
|
|
49
|
-
</
|
|
49
|
+
</B>
|
|
50
50
|
</C>
|
|
51
51
|
|
|
52
52
|
{_&&<C style={r.screenPill}>
|
|
53
53
|
<Ke color={e.sky600}size={11}/>
|
|
54
|
-
<
|
|
54
|
+
<B style={r.screenText}numberOfLines={1}>
|
|
55
55
|
{String(_)}
|
|
56
|
-
</
|
|
56
|
+
</B>
|
|
57
57
|
</C>}
|
|
58
58
|
</C>
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
<C style={r.metricsBar}>
|
|
62
62
|
<C style={r.metricPill}>
|
|
63
|
-
<
|
|
64
|
-
<
|
|
63
|
+
<B style={r.metricLabel}>Params:</B>
|
|
64
|
+
<B style={r.metricValue}>{N.length}</B>
|
|
65
65
|
</C>
|
|
66
66
|
|
|
67
|
-
{
|
|
68
|
-
<
|
|
69
|
-
<
|
|
67
|
+
{W.length>0&&<C style={r.metricPill}>
|
|
68
|
+
<B style={r.metricLabel}>User Props:</B>
|
|
69
|
+
<B style={r.metricValue}>{W.length}</B>
|
|
70
70
|
</C>}
|
|
71
71
|
|
|
72
72
|
<C style={r.metricPill}>
|
|
73
|
-
<
|
|
74
|
-
<
|
|
73
|
+
<B style={r.metricLabel}>Size:</B>
|
|
74
|
+
<B style={r.metricValue}>{ze(A)}</B>
|
|
75
75
|
</C>
|
|
76
76
|
|
|
77
|
-
{
|
|
77
|
+
{E&&<C style={r.revenuePill}>
|
|
78
78
|
<Le color={e.emerald600}size={11}/>
|
|
79
|
-
<
|
|
80
|
-
${
|
|
81
|
-
</
|
|
79
|
+
<B style={r.revenueValue}>
|
|
80
|
+
${E.amount} {E.currency}
|
|
81
|
+
</B>
|
|
82
82
|
</C>}
|
|
83
83
|
|
|
84
84
|
{$!==null&&<C style={r.itemsPill}>
|
|
85
|
-
<_e size={12}color=
|
|
86
|
-
<
|
|
85
|
+
<_e size={12}color={e.blue700}/>
|
|
86
|
+
<B style={r.itemsValue}>
|
|
87
87
|
{$} items
|
|
88
|
-
</
|
|
88
|
+
</B>
|
|
89
89
|
</C>}
|
|
90
90
|
</C>
|
|
91
91
|
</C>
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
<C style={r.tabsWrap}>
|
|
95
|
-
<Se tabs={re}activeKey={
|
|
95
|
+
<Se tabs={re}activeKey={O}onChange={V=>ee(V)}/>
|
|
96
96
|
</C>
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
{
|
|
99
|
+
{O==="overview"&&<C style={r.tabContent}>
|
|
100
100
|
|
|
101
101
|
{(T.userId||T.sessionId||T.trackingId)&&<C style={r.sectionCard}>
|
|
102
102
|
<C style={r.sectionHeader}>
|
|
103
|
-
<
|
|
104
|
-
<
|
|
103
|
+
<Ne color={e.purple}size={12}/>
|
|
104
|
+
<B style={r.sectionTitle}>SESSION & IDENTITY</B>
|
|
105
105
|
</C>
|
|
106
106
|
<C style={r.sectionBody}>
|
|
107
107
|
{T.userId&&<C style={r.kvRow}>
|
|
108
|
-
<
|
|
109
|
-
<
|
|
108
|
+
<B style={r.kvKey}>User ID:</B>
|
|
109
|
+
<B style={r.kvVal}selectable>{T.userId}</B>
|
|
110
110
|
</C>}
|
|
111
111
|
{T.sessionId&&<C style={r.kvRow}>
|
|
112
|
-
<
|
|
113
|
-
<
|
|
112
|
+
<B style={r.kvKey}>Session ID:</B>
|
|
113
|
+
<B style={r.kvVal}selectable>{T.sessionId}</B>
|
|
114
114
|
</C>}
|
|
115
115
|
{T.trackingId&&<C style={r.kvRow}>
|
|
116
|
-
<
|
|
117
|
-
<
|
|
116
|
+
<B style={r.kvKey}>Tracking ID:</B>
|
|
117
|
+
<B style={r.kvVal}selectable>{T.trackingId}</B>
|
|
118
118
|
</C>}
|
|
119
119
|
</C>
|
|
120
120
|
</C>}
|
|
@@ -124,53 +124,53 @@ import{useState as q,useMemo as z}from"react";import{Pressable as Ce,ScrollView
|
|
|
124
124
|
<C style={r.sectionHeaderBetween}>
|
|
125
125
|
<C style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
126
126
|
<Z color={e.brandPurple}size={12}/>
|
|
127
|
-
<
|
|
128
|
-
EVENT PARAMETERS ({
|
|
129
|
-
</
|
|
127
|
+
<B style={r.sectionTitle}>
|
|
128
|
+
EVENT PARAMETERS ({N.length})
|
|
129
|
+
</B>
|
|
130
130
|
</C>
|
|
131
|
-
<
|
|
131
|
+
<B style={r.sectionSubtitle}>
|
|
132
132
|
Key-Value Attributes
|
|
133
|
-
</
|
|
133
|
+
</B>
|
|
134
134
|
</C>
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
{
|
|
138
|
-
<
|
|
139
|
-
<
|
|
140
|
-
{
|
|
141
|
-
<
|
|
137
|
+
{N.length>4&&<C style={r.searchBar}>
|
|
138
|
+
<He color={e.grayTextWeak}size={13}/>
|
|
139
|
+
<Be placeholder="Filter parameters by key or value..."placeholderTextColor={e.grayTextWeak}value={R}onChangeText={v}style={r.searchInput}autoCorrect={!1}autoCapitalize="none"/>
|
|
140
|
+
{R.length>0&&<Ce onPress={()=>v("")}hitSlop={8}>
|
|
141
|
+
<Fe color={e.grayTextWeak}size={13}/>
|
|
142
142
|
</Ce>}
|
|
143
143
|
</C>}
|
|
144
144
|
|
|
145
|
-
{
|
|
145
|
+
{N.length===0?<C style={r.emptyParamsBox}>
|
|
146
146
|
<$e color={e.grayTextWeak}size={16}/>
|
|
147
|
-
<
|
|
147
|
+
<B style={r.emptyParamsText}>
|
|
148
148
|
No custom parameters recorded for this event.
|
|
149
|
-
</
|
|
149
|
+
</B>
|
|
150
150
|
</C>:J.length===0?<C style={r.emptyParamsBox}>
|
|
151
|
-
<
|
|
152
|
-
No parameters matching "{
|
|
153
|
-
</
|
|
151
|
+
<B style={r.emptyParamsText}>
|
|
152
|
+
No parameters matching "{R}"
|
|
153
|
+
</B>
|
|
154
154
|
</C>:<C style={r.paramList}>
|
|
155
|
-
{J.map(([
|
|
155
|
+
{J.map(([V,I],K)=>{const D=typeof I=="object"&&I!==null,L=Array.isArray(I);let j=typeof I;I===null?j="null":L?j=`array [${I.length}]`:D&&(j="object");const U=D?JSON.stringify(I,null,2):String(I),te=V==="value"||V==="price"||V==="currency"||V==="screen_name"||V==="item_id"||V==="item_name";return<Ie key={V}index={K}distance={4}>
|
|
156
156
|
<C style={r.paramCard}>
|
|
157
157
|
|
|
158
158
|
<C style={r.paramCardHeader}>
|
|
159
159
|
<C style={{flexDirection:"row",alignItems:"center",gap:6,flex:1,minWidth:0}}>
|
|
160
|
-
<Q text={
|
|
160
|
+
<Q text={V}search={R}style={[r.paramKeyText,te&&r.paramKeyHighlighted]}highlightStyle={r.highlight}/>
|
|
161
161
|
<C style={r.typeBadge}>
|
|
162
|
-
<
|
|
163
|
-
{
|
|
164
|
-
</
|
|
162
|
+
<B style={r.typeBadgeText}>
|
|
163
|
+
{j.toUpperCase()}
|
|
164
|
+
</B>
|
|
165
165
|
</C>
|
|
166
166
|
</C>
|
|
167
167
|
|
|
168
|
-
<G value={U}label={
|
|
168
|
+
<G value={U}label={V}/>
|
|
169
169
|
</C>
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
<C style={r.paramValBox}>
|
|
173
|
-
{
|
|
173
|
+
{D?<Y data={I}search={R}hideTabs wrap/>:<Q text={U}search={R}style={r.paramValText}highlightStyle={r.highlight}selectable/>}
|
|
174
174
|
</C>
|
|
175
175
|
</C>
|
|
176
176
|
</Ie>})}
|
|
@@ -178,26 +178,26 @@ import{useState as q,useMemo as z}from"react";import{Pressable as Ce,ScrollView
|
|
|
178
178
|
</C>
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
{
|
|
181
|
+
{W.length>0&&<C style={r.sectionCard}>
|
|
182
182
|
<C style={r.sectionHeader}>
|
|
183
183
|
<X color={e.purple}size={12}/>
|
|
184
|
-
<
|
|
185
|
-
USER PROPERTIES SNAPSHOT ({
|
|
186
|
-
</
|
|
184
|
+
<B style={r.sectionTitle}>
|
|
185
|
+
USER PROPERTIES SNAPSHOT ({W.length})
|
|
186
|
+
</B>
|
|
187
187
|
</C>
|
|
188
188
|
<C style={r.sectionBody}>
|
|
189
|
-
{
|
|
190
|
-
<
|
|
191
|
-
<
|
|
192
|
-
{String(
|
|
193
|
-
</
|
|
189
|
+
{W.map(V=><C key={V}style={r.kvRow}>
|
|
190
|
+
<B style={r.kvKey}>{V}:</B>
|
|
191
|
+
<B style={r.kvVal}selectable>
|
|
192
|
+
{String(F[V])}
|
|
193
|
+
</B>
|
|
194
194
|
</C>)}
|
|
195
195
|
</C>
|
|
196
196
|
</C>}
|
|
197
197
|
</C>}
|
|
198
198
|
|
|
199
199
|
|
|
200
|
-
{
|
|
200
|
+
{O==="json"&&<C style={r.jsonContainer}>
|
|
201
201
|
<Y data={A}defaultExpandDepth={2}fullHeight/>
|
|
202
202
|
</C>}
|
|
203
|
-
</Te>},r=
|
|
203
|
+
</Te>},r=Ve.create({scroll:{flex:1,backgroundColor:e.grayBackground},content:{paddingTop:12,paddingBottom:40,paddingHorizontal:12},heroCard:{backgroundColor:e.white,borderRadius:12,padding:14,borderWidth:1,borderColor:e.dividerColor,shadowColor:e.primaryBlack,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:4,elevation:2,marginBottom:12},heroTopRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:10},idBadge:{paddingHorizontal:6,paddingVertical:2.5,borderRadius:5,backgroundColor:`${e.slate500}12`,borderWidth:1,borderColor:`${e.slate500}22`},idBadgeText:{fontFamily:S.interBold,fontSize:10,color:e.grayTextWeak,letterSpacing:.2},sourceBadge:{flexDirection:"row",alignItems:"center",gap:4.5,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1},sourceDot:{width:6,height:6,borderRadius:3},sourceBadgeText:{fontFamily:S.interBold,fontSize:9.5,letterSpacing:.4},catBadge:{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1},catBadgeText:{fontFamily:S.interBold,fontSize:9.5,letterSpacing:.3},titleRow:{marginBottom:8},eventTitle:{fontFamily:S.interBold,fontSize:16,color:e.primaryBlack,lineHeight:22},metaRow:{flexDirection:"row",alignItems:"center",gap:6,flexWrap:"wrap",marginBottom:10},timePill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:`${e.purple}14`,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:`${e.purple}2E`},timeText:{fontFamily:S.interMedium,fontSize:10.5,color:e.purple},screenPill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:`${e.sky500}14`,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:`${e.sky500}2E`,maxWidth:220},screenText:{fontFamily:S.interMedium,fontSize:10.5,color:e.sky600},metricsBar:{flexDirection:"row",alignItems:"center",gap:6,flexWrap:"wrap",paddingTop:8,borderTopWidth:1,borderTopColor:e.dividerColor},metricPill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:e.grayBackground,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.dividerColor},metricLabel:{fontFamily:S.interMedium,fontSize:10.5,color:e.grayTextWeak},metricValue:{fontFamily:S.interBold,fontSize:10.5,color:e.primaryBlack},revenuePill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:e.emeraldBg,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.emeraldBorder},revenueValue:{fontFamily:S.interBold,fontSize:10.5,color:e.greenSuccessDark},itemsPill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:e.blueTintBg,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.sky100},itemsValue:{fontFamily:S.interBold,fontSize:10.5,color:e.blue700},tabsWrap:{marginBottom:12},tabContent:{gap:12},sectionCard:{backgroundColor:e.white,borderRadius:12,padding:12,borderWidth:1,borderColor:e.dividerColor,shadowColor:e.primaryBlack,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:4,elevation:2},sectionHeader:{flexDirection:"row",alignItems:"center",gap:6,marginBottom:10,paddingBottom:6,borderBottomWidth:1,borderBottomColor:e.dividerColor},sectionHeaderBetween:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:10,paddingBottom:6,borderBottomWidth:1,borderBottomColor:e.dividerColor},sectionTitle:{fontFamily:S.interBold,fontSize:11,color:e.slate700,letterSpacing:.4},sectionSubtitle:{fontFamily:S.interMedium,fontSize:10,color:e.grayTextWeak},sectionBody:{gap:6},kvRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:3},kvKey:{fontFamily:S.interMedium,fontSize:11,color:e.grayTextWeak},kvVal:{fontFamily:S.interBold,fontSize:11,color:e.primaryBlack},searchBar:{flexDirection:"row",alignItems:"center",backgroundColor:e.grayBackground,borderRadius:8,paddingHorizontal:8,paddingVertical:5,borderWidth:1,borderColor:e.dividerColor,marginBottom:10,gap:6},searchInput:{flex:1,fontFamily:S.interRegular,fontSize:11,color:e.primaryBlack,paddingVertical:0},emptyParamsBox:{alignItems:"center",justifyContent:"center",paddingVertical:20,gap:6},emptyParamsText:{fontFamily:S.interMedium,fontSize:11,color:e.grayTextWeak},paramList:{gap:8},paramCard:{backgroundColor:e.grayBackground,borderRadius:8,padding:9,borderWidth:1,borderColor:e.dividerColor},paramCardHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4},paramKeyText:{fontFamily:S.interBold,fontSize:11.5,color:e.primaryBlack},paramKeyHighlighted:{color:e.brandPurple},typeBadge:{backgroundColor:e.slate200,paddingHorizontal:5,paddingVertical:1.5,borderRadius:3},typeBadgeText:{fontFamily:S.interBold,fontSize:8.5,color:e.slate700,letterSpacing:.3},paramValBox:{marginTop:2},paramValText:{fontFamily:S.interRegular,fontSize:11,color:e.slate700,lineHeight:16},jsonContainer:{borderRadius:12,borderWidth:1,borderColor:e.dividerColor,overflow:"hidden",backgroundColor:e.white,minHeight:300},highlight:{backgroundColor:e.yellow200,color:e.yellow800,fontFamily:S.interBold}});export default Je;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import K,{useEffect as U,useRef as q}from"react";import{Animated as F,StyleSheet as
|
|
1
|
+
import K,{useEffect as U,useRef as q}from"react";import{Animated as F,StyleSheet as j,Text as V,View as C}from"react-native";import{AppColors as e}from"../styles/AppColors";import{AppFonts as T}from"../styles/AppFonts";import{formatGap as Q,formatTime as X,getEventColor as Y,getEventCategory as Z,getCategoryColors as v}from"../helpers";import{useTranslation as ee}from"../i18n";import Ce from"./HighlightText";import Te from"./TouchableScale";import{CartIcon as $,MoneyIcon as Be,GlobeIcon as Ve,BoltIcon as Se,SparkleIcon as L,ClockIcon as Ie,ForwardChevronIcon as Re}from"./NetworkIcons";const We=K.memo(function({event:o,onPress:O,isNew:R=!1,searchStr:A="",msSincePrev:W,computedScreenName:P}){const{t:S}=ee(),E=Y(o.name),_=o.params?Object.keys(o.params).length:0,H=o.userProperties?Object.keys(o.userProperties).length:0,z=Z(o.name),B=v(z),D=q(new F.Value(R?1:0)).current;U(()=>{R&&F.timing(D,{toValue:0,duration:1200,useNativeDriver:!1}).start()},[R]);const N=W!=null&&W>=2e3,G=S(z==="page_view"?"analytics.pageViewCategory":z==="ecommerce"?"analytics.ecommerceCategory":z==="system"?"analytics.systemCategory":"analytics.customCategory");return<C style={r.container}>
|
|
2
2
|
|
|
3
3
|
{N&&<C style={r.gapContainer}>
|
|
4
4
|
<C style={r.gapLine}/>
|
|
@@ -9,8 +9,8 @@ import K,{useEffect as U,useRef as q}from"react";import{Animated as F,StyleSheet
|
|
|
9
9
|
</C>}
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
<Te onPress={
|
|
13
|
-
{
|
|
12
|
+
<Te onPress={O}style={[r.modernCard,{borderLeftWidth:3.5,borderLeftColor:B.text}]}>
|
|
13
|
+
{R&&<F.View style={[j.absoluteFill,{backgroundColor:E,opacity:D.interpolate({inputRange:[0,1],outputRange:[0,.08]})}]}/>}
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
<C style={r.cardHeader}>
|
|
@@ -24,7 +24,7 @@ import K,{useEffect as U,useRef as q}from"react";import{Animated as F,StyleSheet
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
<C style={[r.iconBadge,{backgroundColor:B.bg,borderColor:B.border}]}>
|
|
27
|
-
{z==="ecommerce"
|
|
27
|
+
{z==="ecommerce"?<$ color={B.text}size={12}/>:z==="page_view"?<Ve color={B.text}size={12}/>:z==="system"?<Se color={B.text}size={12}/>:<L color={B.text}size={12}/>}
|
|
28
28
|
</C>
|
|
29
29
|
|
|
30
30
|
|
|
@@ -46,21 +46,24 @@ import K,{useEffect as U,useRef as q}from"react";import{Animated as F,StyleSheet
|
|
|
46
46
|
</C>
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
<C style={{flexDirection:"row",alignItems:"center",gap:
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
{
|
|
53
|
-
|
|
49
|
+
<C style={{flexDirection:"row",alignItems:"center",gap:5}}>
|
|
50
|
+
<C style={{flexDirection:"row",alignItems:"center",gap:3}}>
|
|
51
|
+
<Ie color={e.grayTextWeak}size={10}/>
|
|
52
|
+
<V style={[r.timestamp,{color:e.grayTextWeak}]}>
|
|
53
|
+
{X(o.timestamp)}
|
|
54
|
+
</V>
|
|
55
|
+
</C>
|
|
56
|
+
<Re color={e.grayTextWeak}size={13}/>
|
|
54
57
|
</C>
|
|
55
58
|
</C>
|
|
56
59
|
|
|
57
60
|
|
|
58
61
|
<C style={r.cardBody}>
|
|
59
62
|
<C style={r.chipsRow}>
|
|
60
|
-
{(()=>{const w=P||o.screenName||o.params?.firebase_screen||o.params?.screen_name||o.params?.firebase_screen_class;if(!w)return null;const
|
|
63
|
+
{(()=>{const w=P||o.screenName||o.params?.firebase_screen||o.params?.screen_name||o.params?.firebase_screen_class;if(!w)return null;const I=typeof w=="object"?JSON.stringify(w):String(w);return<C style={[r.chip,{backgroundColor:`${e.amber500}12`,borderColor:`${e.amber500}2E`}]}>
|
|
61
64
|
<C style={[r.screenDot,{backgroundColor:e.amber500}]}/>
|
|
62
65
|
<V style={[r.chipText,{color:e.amber700,fontFamily:T.interBold}]}numberOfLines={1}>
|
|
63
|
-
{
|
|
66
|
+
{I}
|
|
64
67
|
</V>
|
|
65
68
|
</C>})()}
|
|
66
69
|
|
|
@@ -70,22 +73,22 @@ import K,{useEffect as U,useRef as q}from"react";import{Animated as F,StyleSheet
|
|
|
70
73
|
</V>
|
|
71
74
|
</C>
|
|
72
75
|
|
|
73
|
-
{
|
|
74
|
-
<
|
|
76
|
+
{H>0&&<C style={[r.chip,{backgroundColor:`${e.brandPurple}10`,borderColor:`${e.brandPurple}25`}]}>
|
|
77
|
+
<L color={e.brandPurple}size={10}/>
|
|
75
78
|
<V style={[r.chipText,{color:e.brandPurple,fontFamily:T.interBold}]}>
|
|
76
|
-
{
|
|
79
|
+
{H} {S("analytics.props")}
|
|
77
80
|
</V>
|
|
78
81
|
</C>}
|
|
79
82
|
|
|
80
83
|
{(()=>{const w=o.params?.items;return Array.isArray(w)&&w.length>0?<C style={[r.chip,{backgroundColor:e.amberBg,borderColor:e.amberBorder}]}>
|
|
81
|
-
|
|
84
|
+
<$ color={e.amber700}size={11}/>
|
|
82
85
|
<V style={[r.chipText,{color:e.amber700,fontFamily:T.interBold}]}>
|
|
83
86
|
{w.length}{" "}
|
|
84
87
|
{w.length===1?S("analytics.item"):S("analytics.items")}
|
|
85
88
|
</V>
|
|
86
89
|
</C>:null})()}
|
|
87
90
|
|
|
88
|
-
{(()=>{const w=o.params?.value??o.params?.price,
|
|
91
|
+
{(()=>{const w=o.params?.value??o.params?.price,I=o.params?.currency??"",M=typeof w=="string"||typeof w=="number";if(w!=null&&M&&String(w).trim()!==""){const J=typeof I=="string"&&I.trim()!==""?I.toUpperCase():"";return<C style={[r.chip,{backgroundColor:`${e.emerald500}15`,borderColor:`${e.emerald500}35`}]}>
|
|
89
92
|
<Be color={e.emerald600}size={11}/>
|
|
90
93
|
<V style={[r.chipText,{color:e.emerald600,fontFamily:T.interBold}]}>
|
|
91
94
|
{String(w)} {J}
|
|
@@ -94,4 +97,4 @@ import K,{useEffect as U,useRef as q}from"react";import{Animated as F,StyleSheet
|
|
|
94
97
|
</C>
|
|
95
98
|
</C>
|
|
96
99
|
</Te>
|
|
97
|
-
</C>}),r
|
|
100
|
+
</C>}),r=j.create({container:{paddingHorizontal:10,paddingVertical:4,height:86,justifyContent:"center"},gapContainer:{flexDirection:"row",alignItems:"center",justifyContent:"center",marginVertical:4,gap:8},gapLine:{flex:1,height:1,backgroundColor:`${e.dividerColor}`},gapText:{fontFamily:T.interBold,fontSize:9.5,color:e.grayTextWeak,letterSpacing:.5},modernCard:{backgroundColor:e.white,borderRadius:10,borderWidth:1,borderColor:e.dividerColor,paddingHorizontal:12,paddingVertical:9,shadowColor:e.black,shadowOpacity:.03,shadowRadius:3,shadowOffset:{width:0,height:1},elevation:1,overflow:"hidden",height:78,justifyContent:"space-between"},cardHeader:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",height:24},iconBadge:{width:22,height:22,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"},eventName:{fontFamily:T.interBold,fontSize:13,lineHeight:17,letterSpacing:.1,color:e.primaryBlack},timestamp:{fontFamily:T.interMedium,fontSize:10.5,lineHeight:14,color:e.grayTextWeak},highlight:{backgroundColor:e.yellowHighlight,color:e.primaryBlack,borderRadius:2},cardBody:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:24,overflow:"hidden"},chipsRow:{flexDirection:"row",alignItems:"center",flexWrap:"nowrap",gap:6,flex:1,overflow:"hidden"},chip:{flexDirection:"row",alignItems:"center",paddingHorizontal:6,paddingVertical:2.5,borderRadius:4.5,borderWidth:1,gap:3.5},chipText:{fontFamily:T.interMedium,fontSize:10,lineHeight:13,color:e.grayText},screenDot:{width:5,height:5,borderRadius:2.5},duplicateBadge:{backgroundColor:e.roseBg,borderColor:e.roseBorder,borderWidth:1,paddingHorizontal:5,paddingVertical:1.5,borderRadius:4},duplicateText:{fontFamily:T.interBold,fontSize:8.5,color:e.rose600,textTransform:"uppercase"},idBadge:{paddingHorizontal:5.5,paddingVertical:2,borderRadius:5,backgroundColor:`${e.slate500}12`,borderWidth:1,borderColor:`${e.slate500}22`},idBadgeText:{fontFamily:T.interBold,fontSize:9.5,color:e.grayTextWeak,letterSpacing:.2},categoryBadge:{borderWidth:1,paddingHorizontal:5,paddingVertical:1.5,borderRadius:4},categoryText:{fontFamily:T.interBold,fontSize:8.5,textTransform:"uppercase",letterSpacing:.4}});export default We;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import b from"react";import{Image as R,StyleSheet as
|
|
2
|
-
{
|
|
1
|
+
import b from"react";import{Image as R,StyleSheet as S,View as C}from"react-native";import V from"./BrandSquareIcon";import{AppColors as t}from"../styles/AppColors";export const AppHeaderLogo=({size:e=46,customIcon:o})=>{const r=Math.round(e*.23);if(o){if(b.isValidElement(o)){const p=b.cloneElement(o,{size:e,width:e,height:e});return<C style={[i.container,{width:e,height:e,borderRadius:r}]}>
|
|
2
|
+
{p}
|
|
3
3
|
</C>}return<C style={[i.imageContainer,{width:e,height:e,borderRadius:r}]}>
|
|
4
|
-
<R source={
|
|
4
|
+
<R source={o}style={[i.image,{borderRadius:r-2}]}resizeMode="cover"/>
|
|
5
5
|
</C>}return<C style={[i.container,{width:e,height:e,borderRadius:r}]}>
|
|
6
|
-
<
|
|
7
|
-
</C>};const i=
|
|
6
|
+
<V size={e}/>
|
|
7
|
+
</C>};const i=S.create({container:{overflow:"hidden",alignItems:"center",justifyContent:"center",borderWidth:1.5,borderColor:"rgba(255, 255, 255, 0.55)",backgroundColor:t.white,shadowColor:t.shadowColorString,shadowOffset:{width:0,height:2},shadowOpacity:.35,shadowRadius:5,elevation:4},imageContainer:{overflow:"hidden",backgroundColor:t.white,borderWidth:1.5,borderColor:"rgba(255, 255, 255, 0.55)",alignItems:"center",justifyContent:"center",shadowColor:t.shadowColorString,shadowOffset:{width:0,height:2},shadowOpacity:.3,shadowRadius:4,elevation:3},image:{width:"100%",height:"100%"}});export default AppHeaderLogo;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import"react";import
|
|
1
|
+
import"react";import G,{Circle as L,Path as C,G as A,Defs as M,LinearGradient as _,RadialGradient as O,Stop as F,Rect as B,Line as W}from"react-native-svg";export const BrandSquareIcon=({size:E=56})=><G width={E}height={E}viewBox="0 0 256 256"fill="none">
|
|
2
2
|
<M>
|
|
3
3
|
|
|
4
|
-
<
|
|
5
|
-
<F offset="0%"stopColor="#
|
|
6
|
-
<F offset="50%"stopColor="#
|
|
7
|
-
<F offset="100%"stopColor="#
|
|
8
|
-
</
|
|
4
|
+
<_ id="bs_tile"x1="0"y1="0"x2="256"y2="256"gradientUnits="userSpaceOnUse">
|
|
5
|
+
<F offset="0%"stopColor="#4F46E5"/>
|
|
6
|
+
<F offset="50%"stopColor="#4338CA"/>
|
|
7
|
+
<F offset="100%"stopColor="#312E81"/>
|
|
8
|
+
</_>
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
<
|
|
12
|
-
<F offset="0%"stopColor="#
|
|
13
|
-
<F offset="
|
|
14
|
-
<F offset="
|
|
15
|
-
<F offset="100%"stopColor="#
|
|
16
|
-
</
|
|
11
|
+
<_ id="bs_border"x1="0"y1="0"x2="256"y2="256"gradientUnits="userSpaceOnUse">
|
|
12
|
+
<F offset="0%"stopColor="#FFFFFF"stopOpacity={.95}/>
|
|
13
|
+
<F offset="30%"stopColor="#A5B4FC"stopOpacity={.9}/>
|
|
14
|
+
<F offset="70%"stopColor="#C084FC"stopOpacity={.9}/>
|
|
15
|
+
<F offset="100%"stopColor="#67E8F9"stopOpacity={.95}/>
|
|
16
|
+
</_>
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
<O id="bs_top_glow"cx="50%"cy="15%"r="65%">
|
|
20
|
-
<F offset="0%"stopColor="#
|
|
21
|
-
<F offset="60%"stopColor="#
|
|
22
|
-
<F offset="100%"stopColor="#
|
|
20
|
+
<F offset="0%"stopColor="#A5B4FC"stopOpacity={.5}/>
|
|
21
|
+
<F offset="60%"stopColor="#818CF8"stopOpacity={.2}/>
|
|
22
|
+
<F offset="100%"stopColor="#312E81"stopOpacity={0}/>
|
|
23
23
|
</O>
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
<
|
|
26
|
+
<_ id="bs_body"x1="64"y1="40"x2="192"y2="220"gradientUnits="userSpaceOnUse">
|
|
27
27
|
<F offset="0%"stopColor="#3730A3"/>
|
|
28
|
-
<F offset="50%"stopColor="#
|
|
29
|
-
<F offset="100%"stopColor="#
|
|
30
|
-
</
|
|
28
|
+
<F offset="50%"stopColor="#1E1B4B"/>
|
|
29
|
+
<F offset="100%"stopColor="#0F172A"/>
|
|
30
|
+
</_>
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
<
|
|
33
|
+
<_ id="bs_beam"x1="40"y1="40"x2="220"y2="220"gradientUnits="userSpaceOnUse">
|
|
34
34
|
<F offset="0%"stopColor="#67E8F9"/>
|
|
35
35
|
<F offset="35%"stopColor="#818CF8"/>
|
|
36
36
|
<F offset="70%"stopColor="#C084FC"/>
|
|
37
37
|
<F offset="100%"stopColor="#F472B6"/>
|
|
38
|
-
</
|
|
38
|
+
</_>
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
<O id="bs_iris"cx="38%"cy="36%"r="65%">
|
|
@@ -46,10 +46,10 @@ import"react";import E,{Circle as B,Path as C,G,Defs as M,LinearGradient as L,Ra
|
|
|
46
46
|
</O>
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
<
|
|
49
|
+
<_ id="bs_beak"x1="124"y1="120"x2="132"y2="136"gradientUnits="userSpaceOnUse">
|
|
50
50
|
<F offset="0%"stopColor="#FDE047"/>
|
|
51
51
|
<F offset="100%"stopColor="#EA580C"/>
|
|
52
|
-
</
|
|
52
|
+
</_>
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
<O id="bs_lens"cx="40%"cy="35%"r="65%">
|
|
@@ -60,9 +60,9 @@ import"react";import E,{Circle as B,Path as C,G,Defs as M,LinearGradient as L,Ra
|
|
|
60
60
|
</M>
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
<
|
|
64
|
-
<
|
|
65
|
-
<
|
|
63
|
+
<B x="2"y="2"width="252"height="252"rx="58"fill="url(#bs_tile)"/>
|
|
64
|
+
<B x="2"y="2"width="252"height="252"rx="58"fill="url(#bs_top_glow)"/>
|
|
65
|
+
<B x="2"y="2"width="252"height="252"rx="58"fill="none"stroke="url(#bs_border)"strokeWidth="3.5"/>
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
<C d="M62 120 C42 152 46 194 76 210 C68 178 66 146 80 120 Z"fill="#1E1B4B"stroke="url(#bs_beam)"strokeWidth="3"strokeOpacity={.75}/>
|
|
@@ -76,37 +76,37 @@ import"react";import E,{Circle as B,Path as C,G,Defs as M,LinearGradient as L,Ra
|
|
|
76
76
|
<C d="M158 42 L144 56 L154 57 Z"fill="#F472B6"opacity={.6}/>
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
<
|
|
80
|
-
<
|
|
79
|
+
<B x="98"y="162"width="60"height="38"rx="10"fill="#050811"stroke="url(#bs_beam)"strokeWidth="2.5"/>
|
|
80
|
+
<A strokeWidth="3"strokeLinecap="round"strokeLinejoin="round"fill="none">
|
|
81
81
|
<C d="M116 174 L108 181 L116 188"stroke="#38BDF8"/>
|
|
82
82
|
<C d="M140 174 L148 181 L140 188"stroke="#38BDF8"/>
|
|
83
83
|
<C d="M131 171 L125 191"stroke="#F43F5E"/>
|
|
84
|
-
</
|
|
84
|
+
</A>
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
<C d="M128 88 C152 64 192 72 192 104 C192 132 162 152 128 152 C94 152 64 132 64 104 C64 72 104 64 128 88 Z"fill="#1E1B4B"stroke="url(#bs_beam)"strokeWidth="2.8"/>
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
<
|
|
91
|
-
<
|
|
92
|
-
<
|
|
93
|
-
<
|
|
90
|
+
<L cx="156"cy="106"r="19"fill="url(#bs_iris)"stroke="#0F172A"strokeWidth="2.5"/>
|
|
91
|
+
<L cx="156"cy="106"r="9.5"fill="#0B0F19"/>
|
|
92
|
+
<L cx="159.5"cy="102.5"r="3.5"fill="#FFFFFF"/>
|
|
93
|
+
<L cx="153"cy="109.5"r="1.8"fill="#FFFFFF"opacity={.85}/>
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<
|
|
97
|
+
<L cx="94"cy="104"r="30"fill="url(#bs_lens)"stroke="url(#bs_beam)"strokeWidth="6"/>
|
|
98
98
|
<W x1="72"y1="126"x2="48"y2="152"stroke="#0B0F19"strokeWidth="13"strokeLinecap="round"/>
|
|
99
99
|
<W x1="72"y1="126"x2="48"y2="152"stroke="url(#bs_beam)"strokeWidth="8"strokeLinecap="round"/>
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
<
|
|
103
|
-
<
|
|
104
|
-
<
|
|
105
|
-
<
|
|
102
|
+
<L cx="94"cy="104"r="21"fill="url(#bs_iris)"stroke="#0F172A"strokeWidth="2.5"/>
|
|
103
|
+
<L cx="94"cy="104"r="10.5"fill="#0B0F19"/>
|
|
104
|
+
<L cx="98"cy="100"r="4"fill="#FFFFFF"/>
|
|
105
|
+
<L cx="90.5"cy="107.5"r="2"fill="#FFFFFF"opacity={.85}/>
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
<C d="M74 94 A26 26 0 0 1 106 78"stroke="#FFFFFF"strokeWidth="3"strokeLinecap="round"opacity={.65}fill="none"/>
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
<C d="M123 120 Q128 118 133 120 Q131.5 133 128 137 Q124.5 133 123 120 Z"fill="url(#bs_beak)"stroke="#78350F"strokeWidth="1"/>
|
|
112
|
-
</
|
|
112
|
+
</G>;export default BrandSquareIcon;
|