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,316 @@
|
|
|
1
|
+
import { u as useNavigation, r as reactExports, j as jsxRuntimeExports, c as ScrollView, V as View, T as Text, b as TouchableOpacity, S as StyleSheet } from "./index-hEzd4JVy.js";
|
|
2
|
+
function HomeScreen() {
|
|
3
|
+
const navigation = useNavigation();
|
|
4
|
+
const [activeTab, setActiveTab] = reactExports.useState("Featured");
|
|
5
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(ScrollView, { style: styles.container, contentContainerStyle: styles.content, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "16", agyCol: "4", agyAstPath: "0", agyTag: "ScrollView" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "16", "data-agy-col": "4", "data-agy-ast-path": "0", "data-agy-tag": "ScrollView", children: [
|
|
6
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.topBar, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "17", agyCol: "6", agyAstPath: "1", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "17", "data-agy-col": "6", "data-agy-ast-path": "1", "data-agy-tag": "View", children: [
|
|
7
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "18", agyCol: "8", agyAstPath: "2", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "18", "data-agy-col": "8", "data-agy-ast-path": "2", "data-agy-tag": "View", children: [
|
|
8
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.greetingLabel, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "19", agyCol: "10", agyAstPath: "3", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "19", "data-agy-col": "10", "data-agy-ast-path": "3", "data-agy-tag": "Text", children: "CHRONOS ACOUSTIC DIVISION" }),
|
|
9
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.headerTitle, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "20", agyCol: "10", agyAstPath: "4", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "20", "data-agy-col": "10", "data-agy-ast-path": "4", "data-agy-tag": "Text", children: "Reference Hardware" })
|
|
10
|
+
] }),
|
|
11
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12
|
+
TouchableOpacity,
|
|
13
|
+
{
|
|
14
|
+
activeOpacity: 0.78,
|
|
15
|
+
style: styles.avatarButton,
|
|
16
|
+
onPress: () => navigation.navigate("Profile"),
|
|
17
|
+
dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "22", agyCol: "8", agyAstPath: "5", agyTag: "TouchableOpacity" },
|
|
18
|
+
"data-agy-file": "src/screens/HomeScreen.tsx",
|
|
19
|
+
"data-agy-line": "22",
|
|
20
|
+
"data-agy-col": "8",
|
|
21
|
+
"data-agy-ast-path": "5",
|
|
22
|
+
"data-agy-tag": "TouchableOpacity",
|
|
23
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.avatarButtonText, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "27", agyCol: "10", agyAstPath: "6", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "27", "data-agy-col": "10", "data-agy-ast-path": "6", "data-agy-tag": "Text", children: "AX" })
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
] }),
|
|
27
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.heroBanner, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "31", agyCol: "6", agyAstPath: "7", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "31", "data-agy-col": "6", "data-agy-ast-path": "7", "data-agy-tag": "View", children: [
|
|
28
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.heroMetaRow, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "32", agyCol: "8", agyAstPath: "8", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "32", "data-agy-col": "8", "data-agy-ast-path": "8", "data-agy-tag": "View", children: [
|
|
29
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.heroBadge, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "33", agyCol: "10", agyAstPath: "9", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "33", "data-agy-col": "10", "data-agy-ast-path": "9", "data-agy-tag": "Text", children: "SERIES 04 // BERYLLIUM" }),
|
|
30
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.heroSerial, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "34", agyCol: "10", agyAstPath: "10", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "34", "data-agy-col": "10", "data-agy-ast-path": "10", "data-agy-tag": "Text", children: "48H DAC" })
|
|
31
|
+
] }),
|
|
32
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.heroTitle, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "36", agyCol: "8", agyAstPath: "11", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "36", "data-agy-col": "8", "data-agy-ast-path": "11", "data-agy-tag": "Text", children: "Chronos Spatial Studio Reference" }),
|
|
33
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.heroSubtitle, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "37", agyCol: "8", agyAstPath: "12", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "37", "data-agy-col": "8", "data-agy-ast-path": "12", "data-agy-tag": "Text", children: "Planar-magnetic acoustic architecture with zero-latency DSP room calibration." }),
|
|
34
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
35
|
+
TouchableOpacity,
|
|
36
|
+
{
|
|
37
|
+
activeOpacity: 0.78,
|
|
38
|
+
style: styles.heroCta,
|
|
39
|
+
onPress: () => navigation.navigate("ProductDetail"),
|
|
40
|
+
dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "40", agyCol: "8", agyAstPath: "13", agyTag: "TouchableOpacity" },
|
|
41
|
+
"data-agy-file": "src/screens/HomeScreen.tsx",
|
|
42
|
+
"data-agy-line": "40",
|
|
43
|
+
"data-agy-col": "8",
|
|
44
|
+
"data-agy-ast-path": "13",
|
|
45
|
+
"data-agy-tag": "TouchableOpacity",
|
|
46
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.heroCtaText, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "45", agyCol: "10", agyAstPath: "14", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "45", "data-agy-col": "10", "data-agy-ast-path": "14", "data-agy-tag": "Text", children: "Inspect Spec Sheet — $349" })
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
] }),
|
|
50
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(View, { style: styles.categoryRow, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "49", agyCol: "6", agyAstPath: "15", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "49", "data-agy-col": "6", "data-agy-ast-path": "15", "data-agy-tag": "View", children: ["Featured", "Hardware", "Audio"].map(
|
|
51
|
+
(cat) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
52
|
+
TouchableOpacity,
|
|
53
|
+
{
|
|
54
|
+
activeOpacity: 0.78,
|
|
55
|
+
style: activeTab === cat ? styles.categoryPillActive : styles.categoryPill,
|
|
56
|
+
onPress: () => setActiveTab(cat),
|
|
57
|
+
dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "51", agyCol: "10", agyAstPath: "16", agyTag: "TouchableOpacity" },
|
|
58
|
+
"data-agy-file": "src/screens/HomeScreen.tsx",
|
|
59
|
+
"data-agy-line": "51",
|
|
60
|
+
"data-agy-col": "10",
|
|
61
|
+
"data-agy-ast-path": "16",
|
|
62
|
+
"data-agy-tag": "TouchableOpacity",
|
|
63
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
64
|
+
Text,
|
|
65
|
+
{
|
|
66
|
+
style: activeTab === cat ? styles.categoryTextActive : styles.categoryText,
|
|
67
|
+
dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "57", agyCol: "12", agyAstPath: "17", agyTag: "Text" },
|
|
68
|
+
"data-agy-file": "src/screens/HomeScreen.tsx",
|
|
69
|
+
"data-agy-line": "57",
|
|
70
|
+
"data-agy-col": "12",
|
|
71
|
+
"data-agy-ast-path": "17",
|
|
72
|
+
"data-agy-tag": "Text",
|
|
73
|
+
children: cat
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
},
|
|
77
|
+
cat
|
|
78
|
+
)
|
|
79
|
+
) }),
|
|
80
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.productList, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "68", agyCol: "6", agyAstPath: "18", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "68", "data-agy-col": "6", "data-agy-ast-path": "18", "data-agy-tag": "View", children: [
|
|
81
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
82
|
+
TouchableOpacity,
|
|
83
|
+
{
|
|
84
|
+
activeOpacity: 0.78,
|
|
85
|
+
style: styles.productCard,
|
|
86
|
+
onPress: () => navigation.navigate("ProductDetail"),
|
|
87
|
+
dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "69", agyCol: "8", agyAstPath: "19", agyTag: "TouchableOpacity" },
|
|
88
|
+
"data-agy-file": "src/screens/HomeScreen.tsx",
|
|
89
|
+
"data-agy-line": "69",
|
|
90
|
+
"data-agy-col": "8",
|
|
91
|
+
"data-agy-ast-path": "19",
|
|
92
|
+
"data-agy-tag": "TouchableOpacity",
|
|
93
|
+
children: [
|
|
94
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(View, { style: styles.productIconBox, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "74", agyCol: "10", agyAstPath: "20", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "74", "data-agy-col": "10", "data-agy-ast-path": "20", "data-agy-tag": "View", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productMonogram, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "75", agyCol: "12", agyAstPath: "21", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "75", "data-agy-col": "12", "data-agy-ast-path": "21", "data-agy-tag": "Text", children: "CH-01" }) }),
|
|
95
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.productInfo, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "77", agyCol: "10", agyAstPath: "22", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "77", "data-agy-col": "10", "data-agy-ast-path": "22", "data-agy-tag": "View", children: [
|
|
96
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productName, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "78", agyCol: "12", agyAstPath: "23", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "78", "data-agy-col": "12", "data-agy-ast-path": "23", "data-agy-tag": "Text", children: "Chronos Studio Pro" }),
|
|
97
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productMeta, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "79", agyCol: "12", agyAstPath: "24", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "79", "data-agy-col": "12", "data-agy-ast-path": "24", "data-agy-tag": "Text", children: "45mm Beryllium · Titanium Matte" })
|
|
98
|
+
] }),
|
|
99
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productPrice, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "81", agyCol: "10", agyAstPath: "25", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "81", "data-agy-col": "10", "data-agy-ast-path": "25", "data-agy-tag": "Text", children: "$349" })
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
),
|
|
103
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
104
|
+
TouchableOpacity,
|
|
105
|
+
{
|
|
106
|
+
activeOpacity: 0.78,
|
|
107
|
+
style: styles.productCard,
|
|
108
|
+
onPress: () => navigation.navigate("Checkout"),
|
|
109
|
+
dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "84", agyCol: "8", agyAstPath: "26", agyTag: "TouchableOpacity" },
|
|
110
|
+
"data-agy-file": "src/screens/HomeScreen.tsx",
|
|
111
|
+
"data-agy-line": "84",
|
|
112
|
+
"data-agy-col": "8",
|
|
113
|
+
"data-agy-ast-path": "26",
|
|
114
|
+
"data-agy-tag": "TouchableOpacity",
|
|
115
|
+
children: [
|
|
116
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(View, { style: styles.productIconBoxAlt, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "89", agyCol: "10", agyAstPath: "27", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "89", "data-agy-col": "10", "data-agy-ast-path": "27", "data-agy-tag": "View", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productMonogramAlt, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "90", agyCol: "12", agyAstPath: "28", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "90", "data-agy-col": "12", "data-agy-ast-path": "28", "data-agy-tag": "Text", children: "KS-75" }) }),
|
|
117
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.productInfo, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "92", agyCol: "10", agyAstPath: "29", agyTag: "View" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "92", "data-agy-col": "10", "data-agy-ast-path": "29", "data-agy-tag": "View", children: [
|
|
118
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productName, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "93", agyCol: "12", agyAstPath: "30", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "93", "data-agy-col": "12", "data-agy-ast-path": "30", "data-agy-tag": "Text", children: "Keystone Field Controller" }),
|
|
119
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productMeta, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "94", agyCol: "12", agyAstPath: "31", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "94", "data-agy-col": "12", "data-agy-ast-path": "31", "data-agy-tag": "Text", children: "CNC Aluminum · Optical Hall Switches" })
|
|
120
|
+
] }),
|
|
121
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.productPrice, dataSet: { agyFile: "src/screens/HomeScreen.tsx", agyLine: "96", agyCol: "10", agyAstPath: "32", agyTag: "Text" }, "data-agy-file": "src/screens/HomeScreen.tsx", "data-agy-line": "96", "data-agy-col": "10", "data-agy-ast-path": "32", "data-agy-tag": "Text", children: "$219" })
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
] })
|
|
126
|
+
] });
|
|
127
|
+
}
|
|
128
|
+
const styles = StyleSheet.create({
|
|
129
|
+
container: {
|
|
130
|
+
flex: 1,
|
|
131
|
+
backgroundColor: "#0A0B0E"
|
|
132
|
+
},
|
|
133
|
+
content: {
|
|
134
|
+
padding: 20,
|
|
135
|
+
gap: 20
|
|
136
|
+
},
|
|
137
|
+
topBar: {
|
|
138
|
+
flexDirection: "row",
|
|
139
|
+
justifyContent: "space-between",
|
|
140
|
+
alignItems: "center",
|
|
141
|
+
marginTop: 6
|
|
142
|
+
},
|
|
143
|
+
greetingLabel: {
|
|
144
|
+
color: "#38BDF8",
|
|
145
|
+
fontSize: 10,
|
|
146
|
+
fontWeight: "700",
|
|
147
|
+
letterSpacing: 1.1
|
|
148
|
+
},
|
|
149
|
+
headerTitle: {
|
|
150
|
+
color: "#F8FAFC",
|
|
151
|
+
fontSize: 24,
|
|
152
|
+
fontWeight: "700",
|
|
153
|
+
letterSpacing: -0.4,
|
|
154
|
+
marginTop: 2
|
|
155
|
+
},
|
|
156
|
+
avatarButton: {
|
|
157
|
+
width: 42,
|
|
158
|
+
height: 42,
|
|
159
|
+
borderRadius: 10,
|
|
160
|
+
backgroundColor: "#13161E",
|
|
161
|
+
alignItems: "center",
|
|
162
|
+
justifyContent: "center",
|
|
163
|
+
borderWidth: 1,
|
|
164
|
+
borderColor: "#222836"
|
|
165
|
+
},
|
|
166
|
+
avatarButtonText: {
|
|
167
|
+
color: "#F8FAFC",
|
|
168
|
+
fontSize: 12,
|
|
169
|
+
fontWeight: "700"
|
|
170
|
+
},
|
|
171
|
+
heroBanner: {
|
|
172
|
+
backgroundColor: "#11141C",
|
|
173
|
+
borderRadius: 16,
|
|
174
|
+
padding: 20,
|
|
175
|
+
gap: 10,
|
|
176
|
+
borderWidth: 1,
|
|
177
|
+
borderColor: "#262D3D"
|
|
178
|
+
},
|
|
179
|
+
heroMetaRow: {
|
|
180
|
+
flexDirection: "row",
|
|
181
|
+
justifyContent: "space-between",
|
|
182
|
+
alignItems: "center"
|
|
183
|
+
},
|
|
184
|
+
heroBadge: {
|
|
185
|
+
color: "#38BDF8",
|
|
186
|
+
fontSize: 10,
|
|
187
|
+
fontWeight: "700",
|
|
188
|
+
letterSpacing: 1
|
|
189
|
+
},
|
|
190
|
+
heroSerial: {
|
|
191
|
+
color: "#10B981",
|
|
192
|
+
fontSize: 10,
|
|
193
|
+
fontWeight: "700",
|
|
194
|
+
letterSpacing: 0.8
|
|
195
|
+
},
|
|
196
|
+
heroTitle: {
|
|
197
|
+
color: "#F8FAFC",
|
|
198
|
+
fontSize: 22,
|
|
199
|
+
fontWeight: "700",
|
|
200
|
+
letterSpacing: -0.3
|
|
201
|
+
},
|
|
202
|
+
heroSubtitle: {
|
|
203
|
+
color: "#94A3B8",
|
|
204
|
+
fontSize: 13,
|
|
205
|
+
lineHeight: 19
|
|
206
|
+
},
|
|
207
|
+
heroCta: {
|
|
208
|
+
backgroundColor: "#F8FAFC",
|
|
209
|
+
borderRadius: 9,
|
|
210
|
+
paddingVertical: 12,
|
|
211
|
+
paddingHorizontal: 16,
|
|
212
|
+
alignSelf: "flex-start",
|
|
213
|
+
marginTop: 6
|
|
214
|
+
},
|
|
215
|
+
heroCtaText: {
|
|
216
|
+
color: "#08090C",
|
|
217
|
+
fontSize: 13,
|
|
218
|
+
fontWeight: "700"
|
|
219
|
+
},
|
|
220
|
+
categoryRow: {
|
|
221
|
+
flexDirection: "row",
|
|
222
|
+
gap: 8
|
|
223
|
+
},
|
|
224
|
+
categoryPillActive: {
|
|
225
|
+
backgroundColor: "#191D28",
|
|
226
|
+
paddingHorizontal: 16,
|
|
227
|
+
paddingVertical: 10,
|
|
228
|
+
borderRadius: 8,
|
|
229
|
+
borderWidth: 1,
|
|
230
|
+
borderColor: "#38BDF8"
|
|
231
|
+
},
|
|
232
|
+
categoryPill: {
|
|
233
|
+
backgroundColor: "#11141C",
|
|
234
|
+
paddingHorizontal: 16,
|
|
235
|
+
paddingVertical: 10,
|
|
236
|
+
borderRadius: 8,
|
|
237
|
+
borderWidth: 1,
|
|
238
|
+
borderColor: "#1E2433"
|
|
239
|
+
},
|
|
240
|
+
categoryTextActive: {
|
|
241
|
+
color: "#F8FAFC",
|
|
242
|
+
fontSize: 12,
|
|
243
|
+
fontWeight: "700"
|
|
244
|
+
},
|
|
245
|
+
categoryText: {
|
|
246
|
+
color: "#94A3B8",
|
|
247
|
+
fontSize: 12,
|
|
248
|
+
fontWeight: "500"
|
|
249
|
+
},
|
|
250
|
+
productList: {
|
|
251
|
+
gap: 12
|
|
252
|
+
},
|
|
253
|
+
productCard: {
|
|
254
|
+
backgroundColor: "#11141C",
|
|
255
|
+
borderRadius: 14,
|
|
256
|
+
padding: 14,
|
|
257
|
+
flexDirection: "row",
|
|
258
|
+
alignItems: "center",
|
|
259
|
+
gap: 14,
|
|
260
|
+
borderWidth: 1,
|
|
261
|
+
borderColor: "#1E2433"
|
|
262
|
+
},
|
|
263
|
+
productIconBox: {
|
|
264
|
+
width: 52,
|
|
265
|
+
height: 52,
|
|
266
|
+
borderRadius: 10,
|
|
267
|
+
backgroundColor: "#161A26",
|
|
268
|
+
borderWidth: 1,
|
|
269
|
+
borderColor: "#262D3D",
|
|
270
|
+
alignItems: "center",
|
|
271
|
+
justifyContent: "center"
|
|
272
|
+
},
|
|
273
|
+
productIconBoxAlt: {
|
|
274
|
+
width: 52,
|
|
275
|
+
height: 52,
|
|
276
|
+
borderRadius: 10,
|
|
277
|
+
backgroundColor: "#131720",
|
|
278
|
+
borderWidth: 1,
|
|
279
|
+
borderColor: "#222836",
|
|
280
|
+
alignItems: "center",
|
|
281
|
+
justifyContent: "center"
|
|
282
|
+
},
|
|
283
|
+
productMonogram: {
|
|
284
|
+
color: "#38BDF8",
|
|
285
|
+
fontSize: 11,
|
|
286
|
+
fontWeight: "700",
|
|
287
|
+
letterSpacing: 0.5
|
|
288
|
+
},
|
|
289
|
+
productMonogramAlt: {
|
|
290
|
+
color: "#10B981",
|
|
291
|
+
fontSize: 11,
|
|
292
|
+
fontWeight: "700",
|
|
293
|
+
letterSpacing: 0.5
|
|
294
|
+
},
|
|
295
|
+
productInfo: {
|
|
296
|
+
flex: 1,
|
|
297
|
+
gap: 3
|
|
298
|
+
},
|
|
299
|
+
productName: {
|
|
300
|
+
color: "#F8FAFC",
|
|
301
|
+
fontSize: 15,
|
|
302
|
+
fontWeight: "600"
|
|
303
|
+
},
|
|
304
|
+
productMeta: {
|
|
305
|
+
color: "#64748B",
|
|
306
|
+
fontSize: 12
|
|
307
|
+
},
|
|
308
|
+
productPrice: {
|
|
309
|
+
color: "#F8FAFC",
|
|
310
|
+
fontSize: 15,
|
|
311
|
+
fontWeight: "700"
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
export {
|
|
315
|
+
HomeScreen as default
|
|
316
|
+
};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { u as useNavigation, r as reactExports, j as jsxRuntimeExports, V as View, T as Text, a as TextInput, b as TouchableOpacity, S as StyleSheet } from "./index-hEzd4JVy.js";
|
|
2
|
+
function LoginScreen() {
|
|
3
|
+
const navigation = useNavigation();
|
|
4
|
+
const [email, setEmail] = reactExports.useState("alex@zelune.studio");
|
|
5
|
+
const [password, setPassword] = reactExports.useState("••••••••••••");
|
|
6
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.container, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "17", agyCol: "4", agyAstPath: "0", agyTag: "View" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "17", "data-agy-col": "4", "data-agy-ast-path": "0", "data-agy-tag": "View", children: [
|
|
7
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.brandSection, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "18", agyCol: "6", agyAstPath: "1", agyTag: "View" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "18", "data-agy-col": "6", "data-agy-ast-path": "1", "data-agy-tag": "View", children: [
|
|
8
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(View, { style: styles.logoBadge, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "19", agyCol: "8", agyAstPath: "2", agyTag: "View" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "19", "data-agy-col": "8", "data-agy-ast-path": "2", "data-agy-tag": "View", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.logoText, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "20", agyCol: "10", agyAstPath: "3", agyTag: "Text" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "20", "data-agy-col": "10", "data-agy-ast-path": "3", "data-agy-tag": "Text", children: "CH//01" }) }),
|
|
9
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.title, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "22", agyCol: "8", agyAstPath: "4", agyTag: "Text" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "22", "data-agy-col": "8", "data-agy-ast-path": "4", "data-agy-tag": "Text", children: "Welcome back" }),
|
|
10
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.subtitle, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "23", agyCol: "8", agyAstPath: "5", agyTag: "Text" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "23", "data-agy-col": "8", "data-agy-ast-path": "5", "data-agy-tag": "Text", children: "Authenticate to access Chronos Acoustic Lab & hardware telemetry" })
|
|
11
|
+
] }),
|
|
12
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.formCard, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "28", agyCol: "6", agyAstPath: "6", agyTag: "View" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "28", "data-agy-col": "6", "data-agy-ast-path": "6", "data-agy-tag": "View", children: [
|
|
13
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.fieldGroup, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "29", agyCol: "8", agyAstPath: "7", agyTag: "View" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "29", "data-agy-col": "8", "data-agy-ast-path": "7", "data-agy-tag": "View", children: [
|
|
14
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.fieldLabel, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "30", agyCol: "10", agyAstPath: "8", agyTag: "Text" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "30", "data-agy-col": "10", "data-agy-ast-path": "8", "data-agy-tag": "Text", children: "OPERATOR ID / EMAIL" }),
|
|
15
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
16
|
+
TextInput,
|
|
17
|
+
{
|
|
18
|
+
style: styles.input,
|
|
19
|
+
value: email,
|
|
20
|
+
onChangeText: setEmail,
|
|
21
|
+
placeholder: "operator@chronos.audio",
|
|
22
|
+
placeholderTextColor: "#64748B",
|
|
23
|
+
dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "31", agyCol: "10", agyAstPath: "9", agyTag: "TextInput" },
|
|
24
|
+
"data-agy-file": "src/screens/LoginScreen.tsx",
|
|
25
|
+
"data-agy-line": "31",
|
|
26
|
+
"data-agy-col": "10",
|
|
27
|
+
"data-agy-ast-path": "9",
|
|
28
|
+
"data-agy-tag": "TextInput"
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
] }),
|
|
32
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.fieldGroup, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "40", agyCol: "8", agyAstPath: "10", agyTag: "View" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "40", "data-agy-col": "8", "data-agy-ast-path": "10", "data-agy-tag": "View", children: [
|
|
33
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.fieldLabel, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "41", agyCol: "10", agyAstPath: "11", agyTag: "Text" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "41", "data-agy-col": "10", "data-agy-ast-path": "11", "data-agy-tag": "Text", children: "SECURITY KEY" }),
|
|
34
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
35
|
+
TextInput,
|
|
36
|
+
{
|
|
37
|
+
style: styles.input,
|
|
38
|
+
value: password,
|
|
39
|
+
onChangeText: setPassword,
|
|
40
|
+
secureTextEntry: true,
|
|
41
|
+
placeholderTextColor: "#64748B",
|
|
42
|
+
dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "42", agyCol: "10", agyAstPath: "12", agyTag: "TextInput" },
|
|
43
|
+
"data-agy-file": "src/screens/LoginScreen.tsx",
|
|
44
|
+
"data-agy-line": "42",
|
|
45
|
+
"data-agy-col": "10",
|
|
46
|
+
"data-agy-ast-path": "12",
|
|
47
|
+
"data-agy-tag": "TextInput"
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
] }),
|
|
51
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
52
|
+
TouchableOpacity,
|
|
53
|
+
{
|
|
54
|
+
activeOpacity: 0.78,
|
|
55
|
+
style: styles.primaryButton,
|
|
56
|
+
onPress: () => navigation.navigate("Home"),
|
|
57
|
+
dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "51", agyCol: "8", agyAstPath: "13", agyTag: "TouchableOpacity" },
|
|
58
|
+
"data-agy-file": "src/screens/LoginScreen.tsx",
|
|
59
|
+
"data-agy-line": "51",
|
|
60
|
+
"data-agy-col": "8",
|
|
61
|
+
"data-agy-ast-path": "13",
|
|
62
|
+
"data-agy-tag": "TouchableOpacity",
|
|
63
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.primaryButtonText, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "56", agyCol: "10", agyAstPath: "14", agyTag: "Text" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "56", "data-agy-col": "10", "data-agy-ast-path": "14", "data-agy-tag": "Text", children: "Enter Acoustic Studio" })
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
67
|
+
TouchableOpacity,
|
|
68
|
+
{
|
|
69
|
+
activeOpacity: 0.78,
|
|
70
|
+
style: styles.secondaryButton,
|
|
71
|
+
onPress: () => navigation.navigate("Profile"),
|
|
72
|
+
dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "59", agyCol: "8", agyAstPath: "15", agyTag: "TouchableOpacity" },
|
|
73
|
+
"data-agy-file": "src/screens/LoginScreen.tsx",
|
|
74
|
+
"data-agy-line": "59",
|
|
75
|
+
"data-agy-col": "8",
|
|
76
|
+
"data-agy-ast-path": "15",
|
|
77
|
+
"data-agy-tag": "TouchableOpacity",
|
|
78
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.secondaryButtonText, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "64", agyCol: "10", agyAstPath: "16", agyTag: "Text" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "64", "data-agy-col": "10", "data-agy-ast-path": "16", "data-agy-tag": "Text", children: "Hardware Passkey Handshake" })
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
] }),
|
|
82
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(View, { style: styles.footerRow, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "68", agyCol: "6", agyAstPath: "17", agyTag: "View" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "68", "data-agy-col": "6", "data-agy-ast-path": "17", "data-agy-tag": "View", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: styles.footerHint, dataSet: { agyFile: "src/screens/LoginScreen.tsx", agyLine: "69", agyCol: "8", agyAstPath: "18", agyTag: "Text" }, "data-agy-file": "src/screens/LoginScreen.tsx", "data-agy-line": "69", "data-agy-col": "8", "data-agy-ast-path": "18", "data-agy-tag": "Text", children: "SYS-AUTH · ENCRYPTED SESSION 256-GCM" }) })
|
|
83
|
+
] });
|
|
84
|
+
}
|
|
85
|
+
const styles = StyleSheet.create({
|
|
86
|
+
container: {
|
|
87
|
+
flex: 1,
|
|
88
|
+
backgroundColor: "#0A0B0E",
|
|
89
|
+
paddingHorizontal: 24,
|
|
90
|
+
paddingVertical: 38,
|
|
91
|
+
justifyContent: "space-between"
|
|
92
|
+
},
|
|
93
|
+
brandSection: {
|
|
94
|
+
marginTop: 22,
|
|
95
|
+
gap: 10
|
|
96
|
+
},
|
|
97
|
+
logoBadge: {
|
|
98
|
+
alignSelf: "flex-start",
|
|
99
|
+
paddingHorizontal: 12,
|
|
100
|
+
paddingVertical: 8,
|
|
101
|
+
borderRadius: 8,
|
|
102
|
+
backgroundColor: "#13161E",
|
|
103
|
+
borderWidth: 1,
|
|
104
|
+
borderColor: "#262D3D",
|
|
105
|
+
marginBottom: 6
|
|
106
|
+
},
|
|
107
|
+
logoText: {
|
|
108
|
+
color: "#38BDF8",
|
|
109
|
+
fontSize: 12,
|
|
110
|
+
fontWeight: "700",
|
|
111
|
+
letterSpacing: 1.2
|
|
112
|
+
},
|
|
113
|
+
title: {
|
|
114
|
+
color: "#F8FAFC",
|
|
115
|
+
fontSize: 28,
|
|
116
|
+
fontWeight: "700",
|
|
117
|
+
letterSpacing: -0.5
|
|
118
|
+
},
|
|
119
|
+
subtitle: {
|
|
120
|
+
color: "#94A3B8",
|
|
121
|
+
fontSize: 14,
|
|
122
|
+
lineHeight: 20
|
|
123
|
+
},
|
|
124
|
+
formCard: {
|
|
125
|
+
backgroundColor: "#11141C",
|
|
126
|
+
borderRadius: 16,
|
|
127
|
+
padding: 20,
|
|
128
|
+
gap: 16,
|
|
129
|
+
borderWidth: 1,
|
|
130
|
+
borderColor: "#1E2433"
|
|
131
|
+
},
|
|
132
|
+
fieldGroup: {
|
|
133
|
+
gap: 6
|
|
134
|
+
},
|
|
135
|
+
fieldLabel: {
|
|
136
|
+
color: "#64748B",
|
|
137
|
+
fontSize: 10,
|
|
138
|
+
fontWeight: "700",
|
|
139
|
+
letterSpacing: 1
|
|
140
|
+
},
|
|
141
|
+
input: {
|
|
142
|
+
backgroundColor: "#08090C",
|
|
143
|
+
borderWidth: 1,
|
|
144
|
+
borderColor: "#222836",
|
|
145
|
+
borderRadius: 10,
|
|
146
|
+
paddingHorizontal: 14,
|
|
147
|
+
paddingVertical: 13,
|
|
148
|
+
color: "#F8FAFC",
|
|
149
|
+
fontSize: 14
|
|
150
|
+
},
|
|
151
|
+
primaryButton: {
|
|
152
|
+
backgroundColor: "#F8FAFC",
|
|
153
|
+
borderRadius: 10,
|
|
154
|
+
paddingVertical: 15,
|
|
155
|
+
alignItems: "center",
|
|
156
|
+
marginTop: 4
|
|
157
|
+
},
|
|
158
|
+
primaryButtonText: {
|
|
159
|
+
color: "#08090C",
|
|
160
|
+
fontSize: 14,
|
|
161
|
+
fontWeight: "700"
|
|
162
|
+
},
|
|
163
|
+
secondaryButton: {
|
|
164
|
+
backgroundColor: "#161A24",
|
|
165
|
+
borderRadius: 10,
|
|
166
|
+
paddingVertical: 14,
|
|
167
|
+
alignItems: "center",
|
|
168
|
+
borderWidth: 1,
|
|
169
|
+
borderColor: "#262D3D"
|
|
170
|
+
},
|
|
171
|
+
secondaryButtonText: {
|
|
172
|
+
color: "#CBD5E1",
|
|
173
|
+
fontSize: 13,
|
|
174
|
+
fontWeight: "600"
|
|
175
|
+
},
|
|
176
|
+
footerRow: {
|
|
177
|
+
alignItems: "center",
|
|
178
|
+
paddingBottom: 6
|
|
179
|
+
},
|
|
180
|
+
footerHint: {
|
|
181
|
+
color: "#475569",
|
|
182
|
+
fontSize: 10,
|
|
183
|
+
fontWeight: "600",
|
|
184
|
+
letterSpacing: 1
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
export {
|
|
188
|
+
LoginScreen as default
|
|
189
|
+
};
|