zelune 1.6.2 → 1.6.4
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/CHANGELOG.md +16 -0
- package/bin/cli.mjs +13 -54
- package/dist/assets/CheckoutScreen-6IdrpKgm.js +229 -0
- package/dist/assets/HomeScreen-Dxe9L4I2.js +316 -0
- package/dist/assets/LoginScreen-Dp1awI4F.js +189 -0
- package/dist/assets/ProductDetailScreen-Wa5_nlRP.js +196 -0
- package/dist/assets/ProfileScreen-riAU6vVh.js +185 -0
- package/dist/assets/index-hEzd4JVy.js +44697 -0
- package/{index.html → dist/index.html} +3 -7
- package/mcp/server.mjs +1370 -34
- package/package.json +10 -17
- package/plugin.json +1 -1
- package/socket.yml +11 -0
- package/mcp/server.ts +0 -446
- package/plugins/viteReactNativeFallbackPlugin.ts +0 -519
- package/plugins/viteRnSourceInject.ts +0 -117
- package/plugins/viteVirtualScreensPlugin.ts +0 -216
- package/src/canvas/CanvasApp.tsx +0 -1655
- package/src/canvas/FlowArrowsLayer.tsx +0 -239
- package/src/canvas/InspectorPanel.tsx +0 -1494
- package/src/canvas/ScreenArtboard.tsx +0 -1491
- package/src/canvas/types.ts +0 -23
- package/src/main.tsx +0 -80
- package/src/runtime/MockNavigationContext.tsx +0 -1795
- package/src/runtime/ScreenErrorBoundary.tsx +0 -86
- package/src/runtime/nativewindShim.ts +0 -997
- package/src/runtime/reactNativeShim.ts +0 -240
- package/src/screens/CheckoutScreen.tsx +0 -229
- package/src/screens/HomeScreen.tsx +0 -288
- package/src/screens/LoginScreen.tsx +0 -176
- package/src/screens/ProductDetailScreen.tsx +0 -207
- package/src/screens/ProfileScreen.tsx +0 -172
- package/src/screens/index.ts +0 -1
- package/src/server/apiMiddleware.ts +0 -375
- package/src/server/astEngine.ts +0 -2553
- package/src/vite-env.d.ts +0 -7
- package/tsconfig.json +0 -23
- package/vite.config.ts +0 -340
- /package/{src/styles.css → dist/assets/index-C7nrS82N.css} +0 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { u as useNavigation, r as reactExports, j as jsxRuntimeExports, V as View, b as TouchableOpacity, T as Text, S as StyleSheet } from "./index-hEzd4JVy.js";
|
|
2
|
+
function ProductDetailScreen() {
|
|
3
|
+
const navigation = useNavigation();
|
|
4
|
+
const [selectedFinish, setSelectedFinish] = reactExports.useState("Obsidian");
|
|
5
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.container, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "7", agyCol: "9", agyAstPath: "0", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "7", "data-agy-col": "9", "data-agy-ast-path": "0", "data-agy-tag": "View", children: [
|
|
6
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.headerRow, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "8", agyCol: "6", agyAstPath: "1", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "8", "data-agy-col": "6", "data-agy-ast-path": "1", "data-agy-tag": "View", children: [
|
|
7
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(TouchableOpacity, { activeOpacity: 0.78, style: styles.backButton, onPress: () => navigation.navigate("Home"), dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "9", agyCol: "8", agyAstPath: "2", agyTag: "TouchableOpacity" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "9", "data-agy-col": "8", "data-agy-ast-path": "2", "data-agy-tag": "TouchableOpacity", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.backButtonText, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "10", agyCol: "10", agyAstPath: "3", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "10", "data-agy-col": "10", "data-agy-ast-path": "3", "data-agy-tag": "Text", children: "← Catalog" }) }),
|
|
8
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.headerBadge, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "12", agyCol: "8", agyAstPath: "4", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "12", "data-agy-col": "8", "data-agy-ast-path": "4", "data-agy-tag": "Text", children: "MODEL CH-01 // PRO" })
|
|
9
|
+
] }),
|
|
10
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.showcaseCard, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "15", agyCol: "6", agyAstPath: "5", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "15", "data-agy-col": "6", "data-agy-ast-path": "5", "data-agy-tag": "View", children: [
|
|
11
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.showcaseSpecCode, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "16", agyCol: "8", agyAstPath: "6", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "16", "data-agy-col": "8", "data-agy-ast-path": "6", "data-agy-tag": "Text", children: "45MM BERYLLIUM TRANSDUCER" }),
|
|
12
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.showcaseMonogram, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "17", agyCol: "8", agyAstPath: "7", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "17", "data-agy-col": "8", "data-agy-ast-path": "7", "data-agy-tag": "Text", children: "CH // 01" }),
|
|
13
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.showcaseTag, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "18", agyCol: "8", agyAstPath: "8", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "18", "data-agy-col": "8", "data-agy-ast-path": "8", "data-agy-tag": "Text", children: "48-HOUR BATTERY · DUAL USB-C LOSS-ZERO DAC" })
|
|
14
|
+
] }),
|
|
15
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.detailsSection, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "21", agyCol: "6", agyAstPath: "9", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "21", "data-agy-col": "6", "data-agy-ast-path": "9", "data-agy-tag": "View", children: [
|
|
16
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.titlePriceRow, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "22", agyCol: "8", agyAstPath: "10", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "22", "data-agy-col": "8", "data-agy-ast-path": "10", "data-agy-tag": "View", children: [
|
|
17
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productTitle, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "23", agyCol: "10", agyAstPath: "11", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "23", "data-agy-col": "10", "data-agy-ast-path": "11", "data-agy-tag": "Text", children: "Chronos Studio Pro" }),
|
|
18
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productPrice, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "24", agyCol: "10", agyAstPath: "12", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "24", "data-agy-col": "10", "data-agy-ast-path": "12", "data-agy-tag": "Text", children: "$349" })
|
|
19
|
+
] }),
|
|
20
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productDescription, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "26", agyCol: "8", agyAstPath: "13", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "26", "data-agy-col": "8", "data-agy-ast-path": "13", "data-agy-tag": "Text", children: "Custom 45mm beryllium drivers paired with dual-chip room calibration and ultra-soft memory foam ear cushions." }),
|
|
21
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.specGrid, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "30", agyCol: "8", agyAstPath: "14", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "30", "data-agy-col": "8", "data-agy-ast-path": "14", "data-agy-tag": "View", children: [
|
|
22
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.specBox, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "31", agyCol: "10", agyAstPath: "15", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "31", "data-agy-col": "10", "data-agy-ast-path": "15", "data-agy-tag": "View", children: [
|
|
23
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.specValue, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "32", agyCol: "12", agyAstPath: "16", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "32", "data-agy-col": "12", "data-agy-ast-path": "16", "data-agy-tag": "Text", children: "-46 dB" }),
|
|
24
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.specLabel, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "33", agyCol: "12", agyAstPath: "17", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "33", "data-agy-col": "12", "data-agy-ast-path": "17", "data-agy-tag": "Text", children: "HYBRID ANC" })
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.specBox, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "35", agyCol: "10", agyAstPath: "18", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "35", "data-agy-col": "10", "data-agy-ast-path": "18", "data-agy-tag": "View", children: [
|
|
27
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.specValue, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "36", agyCol: "12", agyAstPath: "19", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "36", "data-agy-col": "12", "data-agy-ast-path": "19", "data-agy-tag": "Text", children: "24-bit" }),
|
|
28
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.specLabel, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "37", agyCol: "12", agyAstPath: "20", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "37", "data-agy-col": "12", "data-agy-ast-path": "20", "data-agy-tag": "Text", children: "96KHZ PCM" })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.specBox, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "39", agyCol: "10", agyAstPath: "21", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "39", "data-agy-col": "10", "data-agy-ast-path": "21", "data-agy-tag": "View", children: [
|
|
31
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.specValue, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "40", agyCol: "12", agyAstPath: "22", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "40", "data-agy-col": "12", "data-agy-ast-path": "22", "data-agy-tag": "Text", children: "265 g" }),
|
|
32
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.specLabel, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "41", agyCol: "12", agyAstPath: "23", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "41", "data-agy-col": "12", "data-agy-ast-path": "23", "data-agy-tag": "Text", children: "MACHINED TI" })
|
|
33
|
+
] })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(View, { style: styles.finishRow, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "45", agyCol: "8", agyAstPath: "24", agyTag: "View" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "45", "data-agy-col": "8", "data-agy-ast-path": "24", "data-agy-tag": "View", children: ["Obsidian", "Silver"].map((finish) => /* @__PURE__ */ jsxRuntimeExports.jsx(TouchableOpacity, { activeOpacity: 0.78, style: selectedFinish === finish ? styles.finishPillActive : styles.finishPill, onPress: () => setSelectedFinish(finish), dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "46", agyCol: "59", agyAstPath: "25", agyTag: "TouchableOpacity" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "46", "data-agy-col": "59", "data-agy-ast-path": "25", "data-agy-tag": "TouchableOpacity", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Text, { style: styles.finishPillText, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "47", agyCol: "14", agyAstPath: "26", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "47", "data-agy-col": "14", "data-agy-ast-path": "26", "data-agy-tag": "Text", children: [
|
|
36
|
+
finish,
|
|
37
|
+
" Anodized"
|
|
38
|
+
] }) }, finish)) })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(TouchableOpacity, { activeOpacity: 0.78, style: styles.buyButton, onPress: () => navigation.navigate("Checkout"), dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "52", agyCol: "6", agyAstPath: "27", agyTag: "TouchableOpacity" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "52", "data-agy-col": "6", "data-agy-ast-path": "27", "data-agy-tag": "TouchableOpacity", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.buyButtonText, dataSet: { agyFile: "src/screens/ProductDetailScreen.tsx", agyLine: "53", agyCol: "8", agyAstPath: "28", agyTag: "Text" }, "data-agy-file": "src/screens/ProductDetailScreen.tsx", "data-agy-line": "53", "data-agy-col": "8", "data-agy-ast-path": "28", "data-agy-tag": "Text", children: "Reserve Unit & Express Checkout" }) })
|
|
41
|
+
] });
|
|
42
|
+
}
|
|
43
|
+
const styles = StyleSheet.create({
|
|
44
|
+
container: {
|
|
45
|
+
flex: 1,
|
|
46
|
+
backgroundColor: "#0A0B0E",
|
|
47
|
+
padding: 20,
|
|
48
|
+
justifyContent: "space-between"
|
|
49
|
+
},
|
|
50
|
+
headerRow: {
|
|
51
|
+
flexDirection: "row",
|
|
52
|
+
justifyContent: "space-between",
|
|
53
|
+
alignItems: "center",
|
|
54
|
+
marginTop: 6
|
|
55
|
+
},
|
|
56
|
+
backButton: {
|
|
57
|
+
backgroundColor: "#13161E",
|
|
58
|
+
paddingHorizontal: 14,
|
|
59
|
+
paddingVertical: 9,
|
|
60
|
+
borderRadius: 8,
|
|
61
|
+
borderWidth: 1,
|
|
62
|
+
borderColor: "#222836"
|
|
63
|
+
},
|
|
64
|
+
backButtonText: {
|
|
65
|
+
color: "#E2E8F0",
|
|
66
|
+
fontSize: 12,
|
|
67
|
+
fontWeight: "600"
|
|
68
|
+
},
|
|
69
|
+
headerBadge: {
|
|
70
|
+
color: "#38BDF8",
|
|
71
|
+
fontSize: 10,
|
|
72
|
+
fontWeight: "700",
|
|
73
|
+
letterSpacing: 1
|
|
74
|
+
},
|
|
75
|
+
showcaseCard: {
|
|
76
|
+
backgroundColor: "#11141C",
|
|
77
|
+
borderRadius: 16,
|
|
78
|
+
paddingVertical: 26,
|
|
79
|
+
paddingHorizontal: 18,
|
|
80
|
+
alignItems: "center",
|
|
81
|
+
gap: 10,
|
|
82
|
+
borderWidth: 1,
|
|
83
|
+
borderColor: "#1E2433"
|
|
84
|
+
},
|
|
85
|
+
showcaseSpecCode: {
|
|
86
|
+
color: "#64748B",
|
|
87
|
+
fontSize: 10,
|
|
88
|
+
fontWeight: "700",
|
|
89
|
+
letterSpacing: 1.2
|
|
90
|
+
},
|
|
91
|
+
showcaseMonogram: {
|
|
92
|
+
color: "#F8FAFC",
|
|
93
|
+
fontSize: 34,
|
|
94
|
+
fontWeight: "800",
|
|
95
|
+
letterSpacing: 2
|
|
96
|
+
},
|
|
97
|
+
showcaseTag: {
|
|
98
|
+
color: "#38BDF8",
|
|
99
|
+
fontSize: 10,
|
|
100
|
+
fontWeight: "600",
|
|
101
|
+
letterSpacing: 0.8
|
|
102
|
+
},
|
|
103
|
+
detailsSection: {
|
|
104
|
+
gap: 12
|
|
105
|
+
},
|
|
106
|
+
titlePriceRow: {
|
|
107
|
+
flexDirection: "row",
|
|
108
|
+
justifyContent: "space-between",
|
|
109
|
+
alignItems: "baseline"
|
|
110
|
+
},
|
|
111
|
+
productTitle: {
|
|
112
|
+
color: "#F8FAFC",
|
|
113
|
+
fontSize: 24,
|
|
114
|
+
fontWeight: "700",
|
|
115
|
+
letterSpacing: -0.4
|
|
116
|
+
},
|
|
117
|
+
productPrice: {
|
|
118
|
+
color: "#10B981",
|
|
119
|
+
fontSize: 20,
|
|
120
|
+
fontWeight: "700"
|
|
121
|
+
},
|
|
122
|
+
productDescription: {
|
|
123
|
+
color: "#94A3B8",
|
|
124
|
+
fontSize: 13,
|
|
125
|
+
lineHeight: 19
|
|
126
|
+
},
|
|
127
|
+
specGrid: {
|
|
128
|
+
flexDirection: "row",
|
|
129
|
+
gap: 8,
|
|
130
|
+
marginTop: 2
|
|
131
|
+
},
|
|
132
|
+
specBox: {
|
|
133
|
+
flex: 1,
|
|
134
|
+
backgroundColor: "#11141C",
|
|
135
|
+
borderRadius: 10,
|
|
136
|
+
paddingVertical: 12,
|
|
137
|
+
paddingHorizontal: 8,
|
|
138
|
+
alignItems: "center",
|
|
139
|
+
borderWidth: 1,
|
|
140
|
+
borderColor: "#1E2433"
|
|
141
|
+
},
|
|
142
|
+
specValue: {
|
|
143
|
+
color: "#F8FAFC",
|
|
144
|
+
fontSize: 15,
|
|
145
|
+
fontWeight: "700"
|
|
146
|
+
},
|
|
147
|
+
specLabel: {
|
|
148
|
+
color: "#64748B",
|
|
149
|
+
fontSize: 9,
|
|
150
|
+
fontWeight: "700",
|
|
151
|
+
letterSpacing: 0.8,
|
|
152
|
+
marginTop: 3
|
|
153
|
+
},
|
|
154
|
+
finishRow: {
|
|
155
|
+
flexDirection: "row",
|
|
156
|
+
gap: 10,
|
|
157
|
+
marginTop: 2
|
|
158
|
+
},
|
|
159
|
+
finishPillActive: {
|
|
160
|
+
flex: 1,
|
|
161
|
+
backgroundColor: "#161A26",
|
|
162
|
+
borderRadius: 10,
|
|
163
|
+
paddingVertical: 11,
|
|
164
|
+
alignItems: "center",
|
|
165
|
+
borderWidth: 1,
|
|
166
|
+
borderColor: "#38BDF8"
|
|
167
|
+
},
|
|
168
|
+
finishPill: {
|
|
169
|
+
flex: 1,
|
|
170
|
+
backgroundColor: "#11141C",
|
|
171
|
+
borderRadius: 10,
|
|
172
|
+
paddingVertical: 11,
|
|
173
|
+
alignItems: "center",
|
|
174
|
+
borderWidth: 1,
|
|
175
|
+
borderColor: "#1E2433"
|
|
176
|
+
},
|
|
177
|
+
finishPillText: {
|
|
178
|
+
color: "#E2E8F0",
|
|
179
|
+
fontSize: 12,
|
|
180
|
+
fontWeight: "600"
|
|
181
|
+
},
|
|
182
|
+
buyButton: {
|
|
183
|
+
backgroundColor: "#10B981",
|
|
184
|
+
borderRadius: 10,
|
|
185
|
+
paddingVertical: 15,
|
|
186
|
+
alignItems: "center"
|
|
187
|
+
},
|
|
188
|
+
buyButtonText: {
|
|
189
|
+
color: "#052E16",
|
|
190
|
+
fontSize: 14,
|
|
191
|
+
fontWeight: "700"
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
export {
|
|
195
|
+
ProductDetailScreen as default
|
|
196
|
+
};
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { u as useNavigation, j as jsxRuntimeExports, V as View, T as Text, b as TouchableOpacity, S as StyleSheet } from "./index-hEzd4JVy.js";
|
|
2
|
+
function ProfileScreen() {
|
|
3
|
+
const navigation = useNavigation();
|
|
4
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.container, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "14", agyCol: "4", agyAstPath: "0", agyTag: "View" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "14", "data-agy-col": "4", "data-agy-ast-path": "0", "data-agy-tag": "View", children: [
|
|
5
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.profileHeader, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "15", agyCol: "6", agyAstPath: "1", agyTag: "View" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "15", "data-agy-col": "6", "data-agy-ast-path": "1", "data-agy-tag": "View", children: [
|
|
6
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(View, { style: styles.avatarLarge, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "16", agyCol: "8", agyAstPath: "2", agyTag: "View" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "16", "data-agy-col": "8", "data-agy-ast-path": "2", "data-agy-tag": "View", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.avatarInitials, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "17", agyCol: "10", agyAstPath: "3", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "17", "data-agy-col": "10", "data-agy-ast-path": "3", "data-agy-tag": "Text", children: "AX" }) }),
|
|
7
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.memberName, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "19", agyCol: "8", agyAstPath: "4", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "19", "data-agy-col": "8", "data-agy-ast-path": "4", "data-agy-tag": "Text", children: "Alex Mercer" }),
|
|
8
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.memberTier, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "20", agyCol: "8", agyAstPath: "5", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "20", "data-agy-col": "8", "data-agy-ast-path": "5", "data-agy-tag": "Text", children: "LEAD ACOUSTIC ENGINEER · TIER 01" })
|
|
9
|
+
] }),
|
|
10
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.statsRow, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "23", agyCol: "6", agyAstPath: "6", agyTag: "View" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "23", "data-agy-col": "6", "data-agy-ast-path": "6", "data-agy-tag": "View", children: [
|
|
11
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.statCard, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "24", agyCol: "8", agyAstPath: "7", agyTag: "View" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "24", "data-agy-col": "8", "data-agy-ast-path": "7", "data-agy-tag": "View", children: [
|
|
12
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.statNumber, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "25", agyCol: "10", agyAstPath: "8", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "25", "data-agy-col": "10", "data-agy-ast-path": "8", "data-agy-tag": "Text", children: "14" }),
|
|
13
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.statCaption, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "26", agyCol: "10", agyAstPath: "9", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "26", "data-agy-col": "10", "data-agy-ast-path": "9", "data-agy-tag": "Text", children: "UNITS" })
|
|
14
|
+
] }),
|
|
15
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.statCard, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "28", agyCol: "8", agyAstPath: "10", agyTag: "View" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "28", "data-agy-col": "8", "data-agy-ast-path": "10", "data-agy-tag": "View", children: [
|
|
16
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.statNumber, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "29", agyCol: "10", agyAstPath: "11", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "29", "data-agy-col": "10", "data-agy-ast-path": "11", "data-agy-tag": "Text", children: "4,820" }),
|
|
17
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.statCaption, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "30", agyCol: "10", agyAstPath: "12", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "30", "data-agy-col": "10", "data-agy-ast-path": "12", "data-agy-tag": "Text", children: "CREDITS" })
|
|
18
|
+
] }),
|
|
19
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.statCard, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "32", agyCol: "8", agyAstPath: "13", agyTag: "View" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "32", "data-agy-col": "8", "data-agy-ast-path": "13", "data-agy-tag": "View", children: [
|
|
20
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.statNumber, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "33", agyCol: "10", agyAstPath: "14", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "33", "data-agy-col": "10", "data-agy-ast-path": "14", "data-agy-tag": "Text", children: "LAB" }),
|
|
21
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.statCaption, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "34", agyCol: "10", agyAstPath: "15", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "34", "data-agy-col": "10", "data-agy-ast-path": "15", "data-agy-tag": "Text", children: "ACCESS" })
|
|
22
|
+
] })
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.menuList, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "38", agyCol: "6", agyAstPath: "16", agyTag: "View" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "38", "data-agy-col": "6", "data-agy-ast-path": "16", "data-agy-tag": "View", children: [
|
|
25
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
26
|
+
TouchableOpacity,
|
|
27
|
+
{
|
|
28
|
+
activeOpacity: 0.78,
|
|
29
|
+
style: styles.menuItem,
|
|
30
|
+
onPress: () => navigation.navigate("Home"),
|
|
31
|
+
dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "39", agyCol: "8", agyAstPath: "17", agyTag: "TouchableOpacity" },
|
|
32
|
+
"data-agy-file": "src/screens/ProfileScreen.tsx",
|
|
33
|
+
"data-agy-line": "39",
|
|
34
|
+
"data-agy-col": "8",
|
|
35
|
+
"data-agy-ast-path": "17",
|
|
36
|
+
"data-agy-tag": "TouchableOpacity",
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.menuItemTitle, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "44", agyCol: "10", agyAstPath: "18", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "44", "data-agy-col": "10", "data-agy-ast-path": "18", "data-agy-tag": "Text", children: "Reference Hardware Catalog" }),
|
|
39
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.menuItemArrow, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "45", agyCol: "10", agyAstPath: "19", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "45", "data-agy-col": "10", "data-agy-ast-path": "19", "data-agy-tag": "Text", children: "→" })
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
44
|
+
TouchableOpacity,
|
|
45
|
+
{
|
|
46
|
+
activeOpacity: 0.78,
|
|
47
|
+
style: styles.menuItem,
|
|
48
|
+
onPress: () => navigation.navigate("Checkout"),
|
|
49
|
+
dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "48", agyCol: "8", agyAstPath: "20", agyTag: "TouchableOpacity" },
|
|
50
|
+
"data-agy-file": "src/screens/ProfileScreen.tsx",
|
|
51
|
+
"data-agy-line": "48",
|
|
52
|
+
"data-agy-col": "8",
|
|
53
|
+
"data-agy-ast-path": "20",
|
|
54
|
+
"data-agy-tag": "TouchableOpacity",
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.menuItemTitle, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "53", agyCol: "10", agyAstPath: "21", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "53", "data-agy-col": "10", "data-agy-ast-path": "21", "data-agy-tag": "Text", children: "Active Allocation & Settlement" }),
|
|
57
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.menuItemArrow, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "54", agyCol: "10", agyAstPath: "22", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "54", "data-agy-col": "10", "data-agy-ast-path": "22", "data-agy-tag": "Text", children: "→" })
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
63
|
+
TouchableOpacity,
|
|
64
|
+
{
|
|
65
|
+
activeOpacity: 0.78,
|
|
66
|
+
style: styles.signOutButton,
|
|
67
|
+
onPress: () => navigation.navigate("Login"),
|
|
68
|
+
dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "58", agyCol: "6", agyAstPath: "23", agyTag: "TouchableOpacity" },
|
|
69
|
+
"data-agy-file": "src/screens/ProfileScreen.tsx",
|
|
70
|
+
"data-agy-line": "58",
|
|
71
|
+
"data-agy-col": "6",
|
|
72
|
+
"data-agy-ast-path": "23",
|
|
73
|
+
"data-agy-tag": "TouchableOpacity",
|
|
74
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.signOutText, dataSet: { agyFile: "src/screens/ProfileScreen.tsx", agyLine: "63", agyCol: "8", agyAstPath: "24", agyTag: "Text" }, "data-agy-file": "src/screens/ProfileScreen.tsx", "data-agy-line": "63", "data-agy-col": "8", "data-agy-ast-path": "24", "data-agy-tag": "Text", children: "Terminate Studio Session" })
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
] });
|
|
78
|
+
}
|
|
79
|
+
const styles = StyleSheet.create({
|
|
80
|
+
container: {
|
|
81
|
+
flex: 1,
|
|
82
|
+
backgroundColor: "#0A0B0E",
|
|
83
|
+
padding: 20,
|
|
84
|
+
justifyContent: "space-between"
|
|
85
|
+
},
|
|
86
|
+
profileHeader: {
|
|
87
|
+
alignItems: "center",
|
|
88
|
+
marginTop: 14,
|
|
89
|
+
gap: 6
|
|
90
|
+
},
|
|
91
|
+
avatarLarge: {
|
|
92
|
+
width: 68,
|
|
93
|
+
height: 68,
|
|
94
|
+
borderRadius: 16,
|
|
95
|
+
backgroundColor: "#13161E",
|
|
96
|
+
borderWidth: 1,
|
|
97
|
+
borderColor: "#262D3D",
|
|
98
|
+
alignItems: "center",
|
|
99
|
+
justifyContent: "center",
|
|
100
|
+
marginBottom: 6
|
|
101
|
+
},
|
|
102
|
+
avatarInitials: {
|
|
103
|
+
color: "#38BDF8",
|
|
104
|
+
fontSize: 22,
|
|
105
|
+
fontWeight: "700",
|
|
106
|
+
letterSpacing: 1
|
|
107
|
+
},
|
|
108
|
+
memberName: {
|
|
109
|
+
color: "#F8FAFC",
|
|
110
|
+
fontSize: 22,
|
|
111
|
+
fontWeight: "700",
|
|
112
|
+
letterSpacing: -0.3
|
|
113
|
+
},
|
|
114
|
+
memberTier: {
|
|
115
|
+
color: "#64748B",
|
|
116
|
+
fontSize: 10,
|
|
117
|
+
fontWeight: "700",
|
|
118
|
+
letterSpacing: 1
|
|
119
|
+
},
|
|
120
|
+
statsRow: {
|
|
121
|
+
flexDirection: "row",
|
|
122
|
+
gap: 8
|
|
123
|
+
},
|
|
124
|
+
statCard: {
|
|
125
|
+
flex: 1,
|
|
126
|
+
backgroundColor: "#11141C",
|
|
127
|
+
borderRadius: 12,
|
|
128
|
+
paddingVertical: 14,
|
|
129
|
+
alignItems: "center",
|
|
130
|
+
borderWidth: 1,
|
|
131
|
+
borderColor: "#1E2433"
|
|
132
|
+
},
|
|
133
|
+
statNumber: {
|
|
134
|
+
color: "#F8FAFC",
|
|
135
|
+
fontSize: 17,
|
|
136
|
+
fontWeight: "700"
|
|
137
|
+
},
|
|
138
|
+
statCaption: {
|
|
139
|
+
color: "#64748B",
|
|
140
|
+
fontSize: 9,
|
|
141
|
+
fontWeight: "700",
|
|
142
|
+
letterSpacing: 0.8,
|
|
143
|
+
marginTop: 3
|
|
144
|
+
},
|
|
145
|
+
menuList: {
|
|
146
|
+
gap: 10
|
|
147
|
+
},
|
|
148
|
+
menuItem: {
|
|
149
|
+
backgroundColor: "#11141C",
|
|
150
|
+
borderRadius: 12,
|
|
151
|
+
paddingHorizontal: 16,
|
|
152
|
+
paddingVertical: 15,
|
|
153
|
+
flexDirection: "row",
|
|
154
|
+
justifyContent: "space-between",
|
|
155
|
+
alignItems: "center",
|
|
156
|
+
borderWidth: 1,
|
|
157
|
+
borderColor: "#1E2433"
|
|
158
|
+
},
|
|
159
|
+
menuItemTitle: {
|
|
160
|
+
color: "#E2E8F0",
|
|
161
|
+
fontSize: 13,
|
|
162
|
+
fontWeight: "600"
|
|
163
|
+
},
|
|
164
|
+
menuItemArrow: {
|
|
165
|
+
color: "#38BDF8",
|
|
166
|
+
fontSize: 15,
|
|
167
|
+
fontWeight: "700"
|
|
168
|
+
},
|
|
169
|
+
signOutButton: {
|
|
170
|
+
backgroundColor: "#16131A",
|
|
171
|
+
borderRadius: 10,
|
|
172
|
+
paddingVertical: 14,
|
|
173
|
+
alignItems: "center",
|
|
174
|
+
borderWidth: 1,
|
|
175
|
+
borderColor: "#3B1D2A"
|
|
176
|
+
},
|
|
177
|
+
signOutText: {
|
|
178
|
+
color: "#FB7185",
|
|
179
|
+
fontSize: 13,
|
|
180
|
+
fontWeight: "600"
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
export {
|
|
184
|
+
ProfileScreen as default
|
|
185
|
+
};
|