@burdenoff/microfe-labsofscience 2026.624.1 → 2026.626.1

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.
Files changed (103) hide show
  1. package/dist/labsofscience/components/EmptyState.js +18 -11
  2. package/dist/labsofscience/components/EmptyState.js.map +1 -1
  3. package/dist/labsofscience/components/InvestmentCard.js +26 -24
  4. package/dist/labsofscience/components/InvestmentCard.js.map +1 -1
  5. package/dist/labsofscience/components/MetricsCard.js +19 -13
  6. package/dist/labsofscience/components/MetricsCard.js.map +1 -1
  7. package/dist/labsofscience/components/PageLayout.js +23 -15
  8. package/dist/labsofscience/components/PageLayout.js.map +1 -1
  9. package/dist/labsofscience/components/RatingDisplay.js +1 -1
  10. package/dist/labsofscience/components/RatingDisplay.js.map +1 -1
  11. package/dist/labsofscience/components/StatusBadge.js +34 -15
  12. package/dist/labsofscience/components/StatusBadge.js.map +1 -1
  13. package/dist/labsofscience/pages/HomePage.js +242 -223
  14. package/dist/labsofscience/pages/HomePage.js.map +1 -1
  15. package/dist/labsofscience/pages/admin/AdminAnalyticsPage.js +107 -101
  16. package/dist/labsofscience/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/labsofscience/pages/admin/AdminDashboard.js +118 -85
  18. package/dist/labsofscience/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/labsofscience/pages/admin/AdminFinancialPage.js +51 -45
  20. package/dist/labsofscience/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/labsofscience/pages/admin/AdminOrdersPage.js +245 -240
  22. package/dist/labsofscience/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/labsofscience/pages/admin/AdminProfilePage.js +131 -129
  24. package/dist/labsofscience/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/labsofscience/pages/admin/AdminSettingsPage.js +493 -491
  26. package/dist/labsofscience/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/labsofscience/pages/admin/CartManagementPage.js +163 -158
  28. package/dist/labsofscience/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/labsofscience/pages/admin/UserManagementPage.js +307 -302
  30. package/dist/labsofscience/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/labsofscience/pages/cart-owner/AnalyticsDashboard.js +89 -84
  32. package/dist/labsofscience/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/labsofscience/pages/cart-owner/BusinessSettingsPage.js +187 -182
  34. package/dist/labsofscience/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/labsofscience/pages/cart-owner/CartOwnerDashboard.js +119 -88
  36. package/dist/labsofscience/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/labsofscience/pages/cart-owner/CartOwnerProfilePage.js +149 -144
  38. package/dist/labsofscience/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/labsofscience/pages/cart-owner/CartServiceConfigPage.js +151 -146
  40. package/dist/labsofscience/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/labsofscience/pages/cart-owner/InventoryManagementPage.js +344 -346
  42. package/dist/labsofscience/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/labsofscience/pages/cart-owner/OrderManagementPage.js +269 -271
  44. package/dist/labsofscience/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/labsofscience/pages/cart-owner/StaffManagementPage.js +293 -287
  46. package/dist/labsofscience/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/labsofscience/pages/common/HelpSupportPage.js +344 -345
  48. package/dist/labsofscience/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/labsofscience/pages/common/NotificationCenterPage.js +94 -87
  50. package/dist/labsofscience/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/labsofscience/pages/common/SettingsPage.js +748 -739
  52. package/dist/labsofscience/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/labsofscience/pages/customer/BookingDetailsPage.js +400 -356
  54. package/dist/labsofscience/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/labsofscience/pages/customer/CartDetailPage.js +281 -248
  56. package/dist/labsofscience/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/labsofscience/pages/customer/CartDiscoveryPage.js +178 -166
  58. package/dist/labsofscience/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/labsofscience/pages/customer/CheckoutPage.js +236 -238
  60. package/dist/labsofscience/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/labsofscience/pages/customer/CustomerDashboard.js +425 -390
  62. package/dist/labsofscience/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/labsofscience/pages/customer/CustomerProfilePage.js +528 -491
  64. package/dist/labsofscience/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/labsofscience/pages/customer/DirectServiceBookingPage.js +522 -512
  66. package/dist/labsofscience/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/labsofscience/pages/customer/FavoritesPage.js +73 -66
  68. package/dist/labsofscience/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/labsofscience/pages/customer/OrderHistoryPage.js +74 -67
  70. package/dist/labsofscience/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/labsofscience/pages/customer/OrderTrackingPage.js +311 -274
  72. package/dist/labsofscience/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/labsofscience/pages/customer/PaymentMethodsPage.js +100 -93
  74. package/dist/labsofscience/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/labsofscience/pages/customer/ReviewsPage.js +96 -89
  76. package/dist/labsofscience/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/labsofscience/pages/customer/SavedAddressesPage.js +85 -78
  78. package/dist/labsofscience/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/labsofscience/pages/investor/InvestmentDetailsPage.js +135 -103
  80. package/dist/labsofscience/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/labsofscience/pages/investor/InvestmentOpportunitiesPage.js +267 -260
  82. package/dist/labsofscience/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/labsofscience/pages/investor/InvestorAnalyticsPage.js +97 -91
  84. package/dist/labsofscience/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/labsofscience/pages/investor/InvestorDashboard.js +346 -310
  86. package/dist/labsofscience/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/labsofscience/pages/investor/InvestorInvestmentsPage.js +118 -111
  88. package/dist/labsofscience/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/labsofscience/pages/investor/InvestorPortfolioPage.js +75 -69
  90. package/dist/labsofscience/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/labsofscience/pages/investor/InvestorProfilePage.js +434 -429
  92. package/dist/labsofscience/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/labsofscience/pages/worker/TaskDetailsPage.js +364 -323
  94. package/dist/labsofscience/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/labsofscience/pages/worker/WorkerDashboard.js +132 -101
  96. package/dist/labsofscience/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/labsofscience/pages/worker/WorkerOrdersPage.js +114 -108
  98. package/dist/labsofscience/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/labsofscience/pages/worker/WorkerProfilePage.js +124 -119
  100. package/dist/labsofscience/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/labsofscience/pages/worker/WorkerSchedulePage.js +354 -344
  102. package/dist/labsofscience/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/package.json +3 -3
@@ -1,13 +1,15 @@
1
1
  import { useLabsOfScience as e } from "../../context/LabsOfScienceContext.js";
2
2
  import { cn as t } from "../../utils/cn.js";
3
3
  import { PageLayout as n } from "../../components/PageLayout.js";
4
- import { formatCurrency as r } from "../../utils/formatters.js";
5
- import { mockProducts as i } from "../../mocks/data.js";
4
+ import { EmptyState as r } from "../../components/EmptyState.js";
5
+ import { formatCurrency as i } from "../../utils/formatters.js";
6
+ import { mockProducts as ee } from "../../mocks/data.js";
6
7
  import { useMemo as a, useState as o } from "react";
7
- import { AlertCircle as ee, CheckCircle2 as te, Edit2 as ne, Package as s, Plus as c, Search as re, Trash2 as ie, Upload as ae, X as oe } from "lucide-react";
8
- import { Fragment as se, jsx as l, jsxs as u } from "react/jsx-runtime";
8
+ import { AlertCircle as te, CheckCircle2 as s, Edit2 as ne, Package as c, Plus as l, Search as u, Trash2 as d, Upload as re, X as ie } from "lucide-react";
9
+ import { Fragment as ae, jsx as f, jsxs as p } from "react/jsx-runtime";
10
+ import { EmphasisPanel as oe, PagePurpose as m } from "@burdenoff/fe-libs/ui";
9
11
  //#region src/labsofscience/pages/cart-owner/InventoryManagementPage.tsx
10
- var d = [
12
+ var h = [
11
13
  "Service",
12
14
  "Repair",
13
15
  "Beauty",
@@ -16,7 +18,7 @@ var d = [
16
18
  "Health",
17
19
  "Wellness",
18
20
  "Education"
19
- ], f = (e) => d.some((t) => e.includes(t)), p = (e) => e === "Food & Beverage", m = [
21
+ ], g = (e) => h.some((t) => e.includes(t)), _ = (e) => e === "Food & Beverage", v = [
20
22
  10,
21
23
  25,
22
24
  0,
@@ -37,18 +39,18 @@ var d = [
37
39
  22,
38
40
  0,
39
41
  45
40
- ], h = () => i.slice(0, 20).map((e, t) => ({
42
+ ], se = () => ee.slice(0, 20).map((e, t) => ({
41
43
  id: e.id,
42
44
  name: e.name,
43
45
  description: e.description ?? `${e.name} - quality offering from ${e.cartName}`,
44
46
  price: e.price,
45
47
  originalPrice: t % 4 == 0 ? Math.round(e.price * 1.2) : void 0,
46
48
  category: e.category,
47
- stock: m[t] ?? 10,
49
+ stock: v[t] ?? 10,
48
50
  isAvailable: t !== 2 && t !== 9 && t !== 18,
49
51
  cartName: e.cartName,
50
52
  preparationTime: 15,
51
- calories: p(e.category) ? Math.floor(Math.random() * 400) + 100 : 0,
53
+ calories: _(e.category) ? Math.floor(Math.random() * 400) + 100 : 0,
52
54
  isVegetarian: t % 3 == 0,
53
55
  isVegan: t % 5 == 0,
54
56
  isGlutenFree: t % 7 == 0,
@@ -63,16 +65,16 @@ var d = [
63
65
  "trending",
64
66
  "new"
65
67
  ].slice(0, t % 3 + 1),
66
- allergens: p(e.category) ? ["nuts", "dairy"].slice(0, t % 2 + 1) : [],
67
- duration: f(e.category) ? 30 + t * 5 : 0,
68
- serviceType: f(e.category) ? [
68
+ allergens: _(e.category) ? ["nuts", "dairy"].slice(0, t % 2 + 1) : [],
69
+ duration: g(e.category) ? 30 + t * 5 : 0,
70
+ serviceType: g(e.category) ? [
69
71
  "instant",
70
72
  "appointment",
71
73
  "recurring",
72
74
  "consultation"
73
75
  ][t % 4] : "",
74
- requirements: f(e.category) ? ["advance booking"] : []
75
- })), g = {
76
+ requirements: g(e.category) ? ["advance booking"] : []
77
+ })), y = {
76
78
  name: "",
77
79
  description: "",
78
80
  category: "",
@@ -91,14 +93,14 @@ var d = [
91
93
  duration: 30,
92
94
  serviceType: "instant",
93
95
  requirements: []
94
- }, _ = () => {
95
- let { navigateTo: i } = e(), [d, m] = o(h), [_, v] = o(""), [y, b] = o(""), [x, S] = o(""), [C, w] = o("name"), [ce, le] = o(!1), [ue, T] = o(!1), [E, D] = o(null), [O, k] = o(g), [A, j] = o(""), [M, N] = o(""), [P, F] = o(""), [I, L] = o(null), R = a(() => [...new Set(d.map((e) => e.category))].sort(), [d]), z = a(() => {
96
- let e = [...d];
97
- if (_) {
98
- let t = _.toLowerCase();
96
+ }, b = () => {
97
+ let { navigateTo: ee } = e(), [h, v] = o(se), [b, x] = o(""), [S, C] = o(""), [w, T] = o(""), [E, D] = o("name"), [ce, le] = o(!1), [O, k] = o(!1), [A, j] = o(null), [M, N] = o(y), [P, F] = o(""), [I, L] = o(""), [R, z] = o(""), [B, V] = o(null), H = a(() => [...new Set(h.map((e) => e.category))].sort(), [h]), U = a(() => {
98
+ let e = [...h];
99
+ if (b) {
100
+ let t = b.toLowerCase();
99
101
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.description.toLowerCase().includes(t) || e.category.toLowerCase().includes(t) || e.tags.some((e) => e.toLowerCase().includes(t)));
100
102
  }
101
- switch (y && (e = e.filter((e) => e.category === y)), x === "available" ? e = e.filter((e) => e.isAvailable) : x === "unavailable" && (e = e.filter((e) => !e.isAvailable)), C) {
103
+ switch (S && (e = e.filter((e) => e.category === S)), w === "available" ? e = e.filter((e) => e.isAvailable) : w === "unavailable" && (e = e.filter((e) => !e.isAvailable)), E) {
102
104
  case "name":
103
105
  e.sort((e, t) => e.name.localeCompare(t.name));
104
106
  break;
@@ -114,23 +116,23 @@ var d = [
114
116
  }
115
117
  return e;
116
118
  }, [
117
- d,
118
- _,
119
- y,
120
- x,
121
- C
122
- ]), B = d.length, V = d.filter((e) => e.isAvailable).length, H = d.filter((e) => !f(e.category) && e.stock === 0).length, U = d.filter((e) => !f(e.category) && e.stock > 0 && e.stock < 10).length, W = (e, t) => {
123
- L({
119
+ h,
120
+ b,
121
+ S,
122
+ w,
123
+ E
124
+ ]), ue = h.length, de = h.filter((e) => e.isAvailable).length, fe = h.filter((e) => !g(e.category) && e.stock === 0).length, pe = h.filter((e) => !g(e.category) && e.stock > 0 && e.stock < 10).length, W = (e, t) => {
125
+ V({
124
126
  text: e,
125
127
  type: t
126
- }), setTimeout(() => L(null), 3e3);
128
+ }), setTimeout(() => V(null), 3e3);
127
129
  }, G = () => {
128
- D(null), k({
129
- ...g,
130
- category: R[0] || ""
131
- }), j(""), N(""), F(""), T(!0);
130
+ j(null), N({
131
+ ...y,
132
+ category: H[0] || ""
133
+ }), F(""), L(""), z(""), k(!0);
132
134
  }, K = (e) => {
133
- D(e), k({
135
+ j(e), N({
134
136
  name: e.name,
135
137
  description: e.description,
136
138
  category: e.category,
@@ -149,16 +151,16 @@ var d = [
149
151
  duration: e.duration,
150
152
  serviceType: e.serviceType,
151
153
  requirements: e.requirements
152
- }), j(e.tags.join(", ")), N(e.allergens.join(", ")), F(e.requirements.join(", ")), T(!0);
153
- }, de = () => {
154
- if (!O.name || !O.description || !O.category || O.price <= 0) {
154
+ }), F(e.tags.join(", ")), L(e.allergens.join(", ")), z(e.requirements.join(", ")), k(!0);
155
+ }, me = () => {
156
+ if (!M.name || !M.description || !M.category || M.price <= 0) {
155
157
  W("Please fill all required fields (name, description, category, price > 0)", "error");
156
158
  return;
157
159
  }
158
- let e = A.split(",").map((e) => e.trim()).filter(Boolean), t = M.split(",").map((e) => e.trim()).filter(Boolean), n = P.split(",").map((e) => e.trim()).filter(Boolean), r = f(O.category) ? "Service" : "Product";
159
- if (E) m((r) => r.map((r) => r.id === E.id ? {
160
+ let e = P.split(",").map((e) => e.trim()).filter(Boolean), t = I.split(",").map((e) => e.trim()).filter(Boolean), n = R.split(",").map((e) => e.trim()).filter(Boolean), r = g(M.category) ? "Service" : "Product";
161
+ if (A) v((r) => r.map((r) => r.id === A.id ? {
160
162
  ...r,
161
- ...O,
163
+ ...M,
162
164
  tags: e,
163
165
  allergens: t,
164
166
  requirements: n
@@ -166,203 +168,207 @@ var d = [
166
168
  else {
167
169
  let i = {
168
170
  id: `item-${Date.now()}`,
169
- ...O,
171
+ ...M,
170
172
  tags: e,
171
173
  allergens: t,
172
174
  requirements: n,
173
175
  cartName: "Dosa Express"
174
176
  };
175
- m((e) => [i, ...e]), W(`${r} added successfully`, "success");
177
+ v((e) => [i, ...e]), W(`${r} added successfully`, "success");
176
178
  }
177
- T(!1);
179
+ k(!1);
178
180
  }, q = (e) => {
179
- confirm("Are you sure you want to delete this offering?") && (m((t) => t.filter((t) => t.id !== e)), W("Offering deleted successfully", "success"));
181
+ confirm("Are you sure you want to delete this offering?") && (v((t) => t.filter((t) => t.id !== e)), W("Offering deleted successfully", "success"));
180
182
  }, J = (e, t) => {
181
- m((n) => n.map((n) => n.id === e ? {
183
+ v((n) => n.map((n) => n.id === e ? {
182
184
  ...n,
183
185
  isAvailable: t
184
186
  } : n)), W(`Offering ${t ? "enabled" : "disabled"} successfully`, "success");
185
187
  }, Y = (e) => {
186
- let t = e === "enable", n = d.filter((e) => e.isAvailable !== t).length;
188
+ let t = e === "enable", n = h.filter((e) => e.isAvailable !== t).length;
187
189
  if (n === 0) {
188
190
  W(`No offerings to ${e}`, "error");
189
191
  return;
190
192
  }
191
- m((e) => e.map((e) => ({
193
+ v((e) => e.map((e) => ({
192
194
  ...e,
193
195
  isAvailable: t
194
196
  }))), W(`${n} offerings ${e}d successfully`, "success");
195
- }, X = (e) => f(e.category) ? {
196
- color: "text-green-600 dark:text-green-400",
197
+ }, X = (e) => g(e.category) ? {
198
+ color: "text-status-success-text",
197
199
  label: "Available"
198
200
  } : e.stock === 0 ? {
199
- color: "text-red-600 dark:text-red-400",
201
+ color: "text-status-error-text",
200
202
  label: "Out of Stock"
201
203
  } : e.stock < 10 ? {
202
- color: "text-yellow-600 dark:text-yellow-400",
204
+ color: "text-status-warning-text",
203
205
  label: `Low Stock (${e.stock})`
204
206
  } : {
205
- color: "text-green-600 dark:text-green-400",
207
+ color: "text-status-success-text",
206
208
  label: `In Stock (${e.stock})`
207
- }, Z = O.category ? f(O.category) : !1, fe = O.category ? p(O.category) : !1, Q = !Z && fe, $ = O.name && O.description && O.category && O.price > 0 && (!Z || O.duration && O.duration > 0) && (Z || O.stock >= 0);
208
- return /* @__PURE__ */ u(n, {
209
+ }, Z = M.category ? g(M.category) : !1, he = M.category ? _(M.category) : !1, Q = !Z && he, $ = M.name && M.description && M.category && M.price > 0 && (!Z || M.duration && M.duration > 0) && (Z || M.stock >= 0);
210
+ return /* @__PURE__ */ p(n, {
209
211
  title: "Offerings Management",
210
212
  description: "Manage your products and services",
211
- actions: /* @__PURE__ */ u("button", {
213
+ actions: /* @__PURE__ */ p("button", {
212
214
  type: "button",
213
215
  onClick: G,
214
216
  className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
215
- children: [/* @__PURE__ */ l(c, { className: "h-4 w-4" }), "Add Item"]
217
+ children: [/* @__PURE__ */ f(l, { className: "h-4 w-4" }), "Add Item"]
216
218
  }),
217
- children: [/* @__PURE__ */ u("div", {
219
+ children: [/* @__PURE__ */ p("div", {
218
220
  className: "space-y-4",
219
221
  children: [
220
- I && /* @__PURE__ */ u("div", {
221
- className: t("flex items-center gap-2 rounded-lg border p-3", I.type === "success" ? "border-green-500/30 bg-green-500/10" : "border-red-500/30 bg-red-500/10"),
222
- children: [I.type === "success" ? /* @__PURE__ */ l(te, { className: "h-4 w-4 text-green-600 dark:text-green-400" }) : /* @__PURE__ */ l(ee, { className: "h-4 w-4 text-red-600 dark:text-red-400" }), /* @__PURE__ */ l("span", {
223
- className: t("text-sm font-medium", I.type === "success" ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
224
- children: I.text
222
+ B && /* @__PURE__ */ p("div", {
223
+ className: t("flex items-center gap-2 rounded-lg border p-3", B.type === "success" ? "border-status-success-border bg-status-success-bg-subtle" : "border-status-error-border bg-status-error-bg-subtle"),
224
+ children: [B.type === "success" ? /* @__PURE__ */ f(s, { className: "h-4 w-4 text-status-success-text" }) : /* @__PURE__ */ f(te, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ f("span", {
225
+ className: t("text-sm font-medium", B.type === "success" ? "text-status-success-text" : "text-status-error-text"),
226
+ children: B.text
225
227
  })]
226
228
  }),
227
- /* @__PURE__ */ u("div", {
229
+ /* @__PURE__ */ f(m, {
230
+ icon: /* @__PURE__ */ f(c, { className: "h-4 w-4" }),
231
+ children: "Your catalogue lives here. Add the products and services your cart sells, set prices and stock, mark items available or out of stock, and flag dietary info — keeping this list accurate is what lets customers find and order the right things from you."
232
+ }),
233
+ /* @__PURE__ */ p(oe, {
228
234
  className: "grid grid-cols-2 lg:grid-cols-4 gap-3",
229
235
  children: [
230
- /* @__PURE__ */ u("div", {
231
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
232
- children: [/* @__PURE__ */ l("p", {
236
+ /* @__PURE__ */ p("div", {
237
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
238
+ children: [/* @__PURE__ */ f("p", {
233
239
  className: "text-xs text-text-secondary",
234
240
  children: "Total Items"
235
- }), /* @__PURE__ */ l("p", {
241
+ }), /* @__PURE__ */ f("p", {
236
242
  className: "text-2xl font-bold text-text-primary",
237
- children: B
243
+ children: ue
238
244
  })]
239
245
  }),
240
- /* @__PURE__ */ u("div", {
241
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
242
- children: [/* @__PURE__ */ l("p", {
246
+ /* @__PURE__ */ p("div", {
247
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
248
+ children: [/* @__PURE__ */ f("p", {
243
249
  className: "text-xs text-text-secondary",
244
250
  children: "Available"
245
- }), /* @__PURE__ */ l("p", {
246
- className: "text-2xl font-bold text-green-600 dark:text-green-400",
247
- children: V
251
+ }), /* @__PURE__ */ f("p", {
252
+ className: "text-2xl font-bold text-status-success-text",
253
+ children: de
248
254
  })]
249
255
  }),
250
- /* @__PURE__ */ u("div", {
251
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
252
- children: [/* @__PURE__ */ l("p", {
256
+ /* @__PURE__ */ p("div", {
257
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
258
+ children: [/* @__PURE__ */ f("p", {
253
259
  className: "text-xs text-text-secondary",
254
260
  children: "Out of Stock"
255
- }), /* @__PURE__ */ l("p", {
256
- className: "text-2xl font-bold text-red-600 dark:text-red-400",
257
- children: H
261
+ }), /* @__PURE__ */ f("p", {
262
+ className: "text-2xl font-bold text-status-error-text",
263
+ children: fe
258
264
  })]
259
265
  }),
260
- /* @__PURE__ */ u("div", {
261
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
262
- children: [/* @__PURE__ */ l("p", {
266
+ /* @__PURE__ */ p("div", {
267
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
268
+ children: [/* @__PURE__ */ f("p", {
263
269
  className: "text-xs text-text-secondary",
264
270
  children: "Low Stock"
265
- }), /* @__PURE__ */ l("p", {
266
- className: "text-2xl font-bold text-yellow-600 dark:text-yellow-400",
267
- children: U
271
+ }), /* @__PURE__ */ f("p", {
272
+ className: "text-2xl font-bold text-status-warning-text",
273
+ children: pe
268
274
  })]
269
275
  })
270
276
  ]
271
277
  }),
272
- /* @__PURE__ */ u("div", {
273
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm space-y-4",
274
- children: [/* @__PURE__ */ u("div", {
278
+ /* @__PURE__ */ p("div", {
279
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm space-y-4",
280
+ children: [/* @__PURE__ */ p("div", {
275
281
  className: "flex flex-col lg:flex-row lg:items-center lg:justify-between gap-3",
276
- children: [/* @__PURE__ */ u("div", {
282
+ children: [/* @__PURE__ */ p("div", {
277
283
  className: "flex flex-wrap gap-2",
278
284
  children: [
279
- /* @__PURE__ */ u("button", {
285
+ /* @__PURE__ */ p("button", {
280
286
  type: "button",
281
287
  onClick: G,
282
288
  className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
283
- children: [/* @__PURE__ */ l(c, { className: "h-4 w-4" }), "Add Item"]
289
+ children: [/* @__PURE__ */ f(l, { className: "h-4 w-4" }), "Add Item"]
284
290
  }),
285
- /* @__PURE__ */ l("button", {
291
+ /* @__PURE__ */ f("button", {
286
292
  type: "button",
287
293
  onClick: () => Y("enable"),
288
- className: "rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken transition-colors",
294
+ className: "rounded-md border border-border-seam px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken transition-colors",
289
295
  children: "Enable All"
290
296
  }),
291
- /* @__PURE__ */ l("button", {
297
+ /* @__PURE__ */ f("button", {
292
298
  type: "button",
293
299
  onClick: () => Y("disable"),
294
- className: "rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken transition-colors",
300
+ className: "rounded-md border border-border-seam px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken transition-colors",
295
301
  children: "Disable All"
296
302
  })
297
303
  ]
298
- }), /* @__PURE__ */ u("button", {
304
+ }), /* @__PURE__ */ p("button", {
299
305
  type: "button",
300
306
  onClick: () => alert("Import/Export feature coming soon!"),
301
- className: "inline-flex items-center gap-1.5 rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken transition-colors",
302
- children: [/* @__PURE__ */ l(ae, { className: "h-4 w-4" }), "Import/Export"]
307
+ className: "inline-flex items-center gap-1.5 rounded-md border border-border-seam px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken transition-colors",
308
+ children: [/* @__PURE__ */ f(re, { className: "h-4 w-4" }), "Import/Export"]
303
309
  })]
304
- }), /* @__PURE__ */ u("div", {
310
+ }), /* @__PURE__ */ p("div", {
305
311
  className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3",
306
312
  children: [
307
- /* @__PURE__ */ u("div", {
313
+ /* @__PURE__ */ p("div", {
308
314
  className: "relative sm:col-span-2 lg:col-span-1",
309
- children: [/* @__PURE__ */ l(re, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ l("input", {
315
+ children: [/* @__PURE__ */ f(u, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ f("input", {
310
316
  type: "text",
311
317
  placeholder: "Search offerings...",
312
- value: _,
313
- onChange: (e) => v(e.target.value),
314
- className: "w-full rounded-md border border-border-subtle bg-bg-surface pl-10 pr-4 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
318
+ value: b,
319
+ onChange: (e) => x(e.target.value),
320
+ className: "w-full rounded-md border border-border-seam bg-bg-surface pl-10 pr-4 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
315
321
  })]
316
322
  }),
317
- /* @__PURE__ */ u("select", {
318
- value: y,
319
- onChange: (e) => b(e.target.value),
320
- className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
321
- children: [/* @__PURE__ */ l("option", {
323
+ /* @__PURE__ */ p("select", {
324
+ value: S,
325
+ onChange: (e) => C(e.target.value),
326
+ className: "rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
327
+ children: [/* @__PURE__ */ f("option", {
322
328
  value: "",
323
329
  children: "All Categories"
324
- }), R.map((e) => /* @__PURE__ */ l("option", {
330
+ }), H.map((e) => /* @__PURE__ */ f("option", {
325
331
  value: e,
326
332
  children: e
327
333
  }, e))]
328
334
  }),
329
- /* @__PURE__ */ u("select", {
330
- value: x,
331
- onChange: (e) => S(e.target.value),
332
- className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
335
+ /* @__PURE__ */ p("select", {
336
+ value: w,
337
+ onChange: (e) => T(e.target.value),
338
+ className: "rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
333
339
  children: [
334
- /* @__PURE__ */ l("option", {
340
+ /* @__PURE__ */ f("option", {
335
341
  value: "",
336
342
  children: "All Status"
337
343
  }),
338
- /* @__PURE__ */ l("option", {
344
+ /* @__PURE__ */ f("option", {
339
345
  value: "available",
340
346
  children: "Available"
341
347
  }),
342
- /* @__PURE__ */ l("option", {
348
+ /* @__PURE__ */ f("option", {
343
349
  value: "unavailable",
344
350
  children: "Unavailable"
345
351
  })
346
352
  ]
347
353
  }),
348
- /* @__PURE__ */ u("select", {
349
- value: C,
350
- onChange: (e) => w(e.target.value),
351
- className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
354
+ /* @__PURE__ */ p("select", {
355
+ value: E,
356
+ onChange: (e) => D(e.target.value),
357
+ className: "rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
352
358
  children: [
353
- /* @__PURE__ */ l("option", {
359
+ /* @__PURE__ */ f("option", {
354
360
  value: "name",
355
361
  children: "Name A-Z"
356
362
  }),
357
- /* @__PURE__ */ l("option", {
363
+ /* @__PURE__ */ f("option", {
358
364
  value: "price_low",
359
365
  children: "Price: Low to High"
360
366
  }),
361
- /* @__PURE__ */ l("option", {
367
+ /* @__PURE__ */ f("option", {
362
368
  value: "price_high",
363
369
  children: "Price: High to Low"
364
370
  }),
365
- /* @__PURE__ */ l("option", {
371
+ /* @__PURE__ */ f("option", {
366
372
  value: "stock",
367
373
  children: "Stock: Low to High"
368
374
  })
@@ -371,139 +377,131 @@ var d = [
371
377
  ]
372
378
  })]
373
379
  }),
374
- z.length === 0 ? /* @__PURE__ */ u("div", {
375
- className: "rounded-lg border border-border-subtle bg-bg-surface p-12 text-center shadow-sm",
376
- children: [
377
- /* @__PURE__ */ l(s, { className: "h-12 w-12 text-text-secondary opacity-40 mx-auto mb-3" }),
378
- /* @__PURE__ */ l("h3", {
379
- className: "text-lg font-semibold text-text-primary mb-2",
380
- children: "No Items Found"
381
- }),
382
- /* @__PURE__ */ l("p", {
383
- className: "text-sm text-text-secondary mb-4",
384
- children: _ || y || x ? "No items match your current filters. Try adjusting your search criteria." : "You haven't added any items yet. Start building your offerings!"
385
- }),
386
- /* @__PURE__ */ u("div", {
387
- className: "flex flex-wrap justify-center gap-3",
388
- children: [/* @__PURE__ */ u("button", {
389
- type: "button",
390
- onClick: G,
391
- className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent/80",
392
- children: [/* @__PURE__ */ l(c, { className: "h-4 w-4" }), "Add Your First Item"]
393
- }), (_ || y || x) && /* @__PURE__ */ l("button", {
394
- type: "button",
395
- onClick: () => {
396
- v(""), b(""), S(""), w("name");
397
- },
398
- className: "rounded-md border border-border-subtle px-4 py-2 text-sm text-text-primary hover:bg-bg-sunken",
399
- children: "Clear Filters"
400
- })]
401
- })
402
- ]
403
- }) : /* @__PURE__ */ u(se, { children: [/* @__PURE__ */ l("div", {
404
- className: "hidden lg:block rounded-lg border border-border-subtle bg-bg-surface shadow-sm overflow-hidden",
405
- children: /* @__PURE__ */ l("div", {
380
+ U.length === 0 ? /* @__PURE__ */ f(r, {
381
+ illustration: b || S || w ? "empty-search" : "empty-data",
382
+ icon: /* @__PURE__ */ f(c, { className: "h-12 w-12" }),
383
+ title: "No Items Found",
384
+ description: b || S || w ? "No items match your current filters. Try adjusting your search criteria." : "You haven't added any items yet. Start building your offerings!",
385
+ action: /* @__PURE__ */ p("div", {
386
+ className: "flex flex-wrap justify-center gap-3",
387
+ children: [/* @__PURE__ */ p("button", {
388
+ type: "button",
389
+ onClick: G,
390
+ className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent/80",
391
+ children: [/* @__PURE__ */ f(l, { className: "h-4 w-4" }), "Add Your First Item"]
392
+ }), (b || S || w) && /* @__PURE__ */ f("button", {
393
+ type: "button",
394
+ onClick: () => {
395
+ x(""), C(""), T(""), D("name");
396
+ },
397
+ className: "rounded-md border border-border-seam px-4 py-2 text-sm text-text-primary hover:bg-bg-sunken",
398
+ children: "Clear Filters"
399
+ })]
400
+ })
401
+ }) : /* @__PURE__ */ p(ae, { children: [/* @__PURE__ */ f("div", {
402
+ className: "hidden lg:block rounded-lg border border-border-seam bg-bg-surface shadow-sm overflow-hidden",
403
+ children: /* @__PURE__ */ f("div", {
406
404
  className: "overflow-x-auto",
407
- children: /* @__PURE__ */ u("table", {
405
+ children: /* @__PURE__ */ p("table", {
408
406
  className: "w-full text-sm",
409
- children: [/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ u("tr", {
410
- className: "border-b border-border-subtle bg-bg-sunken/50",
407
+ children: [/* @__PURE__ */ f("thead", { children: /* @__PURE__ */ p("tr", {
408
+ className: "border-b border-border-seam bg-bg-sunken/50",
411
409
  children: [
412
- /* @__PURE__ */ l("th", {
410
+ /* @__PURE__ */ f("th", {
413
411
  className: "px-5 py-3 text-left font-medium text-text-secondary",
414
412
  children: "Item"
415
413
  }),
416
- /* @__PURE__ */ l("th", {
414
+ /* @__PURE__ */ f("th", {
417
415
  className: "px-5 py-3 text-left font-medium text-text-secondary",
418
416
  children: "Category"
419
417
  }),
420
- /* @__PURE__ */ l("th", {
418
+ /* @__PURE__ */ f("th", {
421
419
  className: "px-5 py-3 text-right font-medium text-text-secondary",
422
420
  children: "Price"
423
421
  }),
424
- /* @__PURE__ */ l("th", {
422
+ /* @__PURE__ */ f("th", {
425
423
  className: "px-5 py-3 text-left font-medium text-text-secondary",
426
424
  children: "Stock/Status"
427
425
  }),
428
- /* @__PURE__ */ l("th", {
426
+ /* @__PURE__ */ f("th", {
429
427
  className: "px-5 py-3 text-center font-medium text-text-secondary",
430
428
  children: "Available"
431
429
  }),
432
- /* @__PURE__ */ l("th", {
430
+ /* @__PURE__ */ f("th", {
433
431
  className: "px-5 py-3 text-right font-medium text-text-secondary",
434
432
  children: "Actions"
435
433
  })
436
434
  ]
437
- }) }), /* @__PURE__ */ l("tbody", { children: z.map((e) => {
435
+ }) }), /* @__PURE__ */ f("tbody", { children: U.map((e) => {
438
436
  let n = X(e);
439
- return /* @__PURE__ */ u("tr", {
440
- className: "border-b border-border-subtle last:border-0 hover:bg-bg-sunken/30 transition-colors",
437
+ return /* @__PURE__ */ p("tr", {
438
+ className: "border-b border-border-seam last:border-0 hover:bg-bg-sunken/30 transition-colors",
441
439
  children: [
442
- /* @__PURE__ */ l("td", {
440
+ /* @__PURE__ */ f("td", {
443
441
  className: "px-5 py-3",
444
- children: /* @__PURE__ */ u("div", {
442
+ children: /* @__PURE__ */ p("div", {
445
443
  className: "flex items-center gap-3",
446
- children: [/* @__PURE__ */ l("div", {
444
+ children: [/* @__PURE__ */ f("div", {
447
445
  className: "flex h-10 w-10 items-center justify-center rounded-md bg-bg-sunken",
448
- children: /* @__PURE__ */ l(s, { className: "h-4 w-4 text-text-secondary" })
449
- }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("p", {
446
+ children: /* @__PURE__ */ f(c, { className: "h-4 w-4 text-text-secondary" })
447
+ }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
450
448
  className: "font-medium text-text-primary",
451
449
  children: e.name
452
- }), /* @__PURE__ */ u("p", {
450
+ }), /* @__PURE__ */ p("p", {
453
451
  className: "text-xs text-text-secondary line-clamp-1",
454
452
  children: [e.description.slice(0, 50), "..."]
455
453
  })] })]
456
454
  })
457
455
  }),
458
- /* @__PURE__ */ l("td", {
456
+ /* @__PURE__ */ f("td", {
459
457
  className: "px-5 py-3",
460
- children: /* @__PURE__ */ l("span", {
458
+ children: /* @__PURE__ */ f("span", {
461
459
  className: "inline-flex rounded-full bg-bg-sunken px-2.5 py-0.5 text-xs font-medium text-text-secondary",
462
460
  children: e.category
463
461
  })
464
462
  }),
465
- /* @__PURE__ */ u("td", {
463
+ /* @__PURE__ */ p("td", {
466
464
  className: "px-5 py-3 text-right",
467
- children: [/* @__PURE__ */ l("p", {
465
+ children: [/* @__PURE__ */ f("p", {
468
466
  className: "font-medium text-text-primary",
469
- children: r(e.price, { minimumFractionDigits: 0 })
470
- }), e.originalPrice && /* @__PURE__ */ l("p", {
467
+ children: i(e.price, { minimumFractionDigits: 0 })
468
+ }), e.originalPrice && /* @__PURE__ */ f("p", {
471
469
  className: "text-xs text-text-secondary line-through",
472
- children: r(e.originalPrice, { minimumFractionDigits: 0 })
470
+ children: i(e.originalPrice, { minimumFractionDigits: 0 })
473
471
  })]
474
472
  }),
475
- /* @__PURE__ */ l("td", {
473
+ /* @__PURE__ */ f("td", {
476
474
  className: "px-5 py-3",
477
- children: /* @__PURE__ */ l("span", {
475
+ children: /* @__PURE__ */ f("span", {
478
476
  className: t("text-sm font-medium", n.color),
479
477
  children: n.label
480
478
  })
481
479
  }),
482
- /* @__PURE__ */ l("td", {
480
+ /* @__PURE__ */ f("td", {
483
481
  className: "px-5 py-3 text-center",
484
- children: /* @__PURE__ */ l("button", {
482
+ children: /* @__PURE__ */ f("button", {
485
483
  type: "button",
486
484
  onClick: () => J(e.id, !e.isAvailable),
487
- className: t("h-6 w-11 rounded-full transition-colors relative inline-block", e.isAvailable ? "bg-blue-500" : "bg-muted-foreground/30"),
488
- children: /* @__PURE__ */ l("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-white transition-transform", e.isAvailable ? "translate-x-5" : "translate-x-0.5") })
485
+ className: t("h-6 w-11 rounded-full transition-colors relative inline-block", e.isAvailable ? "bg-status-info-bg" : "bg-muted-foreground/30"),
486
+ children: /* @__PURE__ */ f("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-white transition-transform", e.isAvailable ? "translate-x-5" : "translate-x-0.5") })
489
487
  })
490
488
  }),
491
- /* @__PURE__ */ l("td", {
489
+ /* @__PURE__ */ f("td", {
492
490
  className: "px-5 py-3",
493
- children: /* @__PURE__ */ u("div", {
491
+ children: /* @__PURE__ */ p("div", {
494
492
  className: "flex items-center justify-end gap-1",
495
- children: [/* @__PURE__ */ l("button", {
493
+ children: [/* @__PURE__ */ f("button", {
496
494
  type: "button",
497
495
  onClick: () => K(e),
498
496
  className: "rounded p-1.5 text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors",
499
497
  title: "Edit",
500
- children: /* @__PURE__ */ l(ne, { className: "h-4 w-4" })
501
- }), /* @__PURE__ */ l("button", {
498
+ children: /* @__PURE__ */ f(ne, { className: "h-4 w-4" })
499
+ }), /* @__PURE__ */ f("button", {
502
500
  type: "button",
503
501
  onClick: () => q(e.id),
504
- className: "rounded p-1.5 text-text-secondary hover:bg-red-500/10 hover:text-red-600 transition-colors",
502
+ className: "rounded p-1.5 text-text-secondary hover:bg-status-error-bg-subtle hover:text-status-error-text transition-colors",
505
503
  title: "Delete",
506
- children: /* @__PURE__ */ l(ie, { className: "h-4 w-4" })
504
+ children: /* @__PURE__ */ f(d, { className: "h-4 w-4" })
507
505
  })]
508
506
  })
509
507
  })
@@ -512,70 +510,70 @@ var d = [
512
510
  }) })]
513
511
  })
514
512
  })
515
- }), /* @__PURE__ */ l("div", {
513
+ }), /* @__PURE__ */ f("div", {
516
514
  className: "lg:hidden space-y-3",
517
- children: z.map((e) => {
515
+ children: U.map((e) => {
518
516
  let n = X(e);
519
- return /* @__PURE__ */ l("div", {
520
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
521
- children: /* @__PURE__ */ u("div", {
517
+ return /* @__PURE__ */ f("div", {
518
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
519
+ children: /* @__PURE__ */ p("div", {
522
520
  className: "flex items-start gap-3",
523
- children: [/* @__PURE__ */ l("div", {
521
+ children: [/* @__PURE__ */ f("div", {
524
522
  className: "flex h-14 w-14 items-center justify-center rounded-md bg-bg-sunken shrink-0",
525
- children: /* @__PURE__ */ l(s, { className: "h-6 w-6 text-text-secondary" })
526
- }), /* @__PURE__ */ u("div", {
523
+ children: /* @__PURE__ */ f(c, { className: "h-6 w-6 text-text-secondary" })
524
+ }), /* @__PURE__ */ p("div", {
527
525
  className: "flex-1 min-w-0",
528
526
  children: [
529
- /* @__PURE__ */ u("div", {
527
+ /* @__PURE__ */ p("div", {
530
528
  className: "flex items-start justify-between mb-1",
531
- children: [/* @__PURE__ */ u("div", {
529
+ children: [/* @__PURE__ */ p("div", {
532
530
  className: "flex-1",
533
- children: [/* @__PURE__ */ l("h3", {
531
+ children: [/* @__PURE__ */ f("h3", {
534
532
  className: "text-sm font-medium text-text-primary line-clamp-1",
535
533
  children: e.name
536
- }), /* @__PURE__ */ l("p", {
534
+ }), /* @__PURE__ */ f("p", {
537
535
  className: "text-xs text-text-secondary mt-0.5 line-clamp-2",
538
536
  children: e.description
539
537
  })]
540
- }), /* @__PURE__ */ l("button", {
538
+ }), /* @__PURE__ */ f("button", {
541
539
  type: "button",
542
540
  onClick: () => J(e.id, !e.isAvailable),
543
- className: t("h-5 w-9 rounded-full transition-colors relative ml-2 shrink-0", e.isAvailable ? "bg-blue-500" : "bg-muted-foreground/30"),
544
- children: /* @__PURE__ */ l("div", { className: t("absolute top-0.5 h-4 w-4 rounded-full bg-white transition-transform", e.isAvailable ? "translate-x-4" : "translate-x-0.5") })
541
+ className: t("h-5 w-9 rounded-full transition-colors relative ml-2 shrink-0", e.isAvailable ? "bg-status-info-bg" : "bg-muted-foreground/30"),
542
+ children: /* @__PURE__ */ f("div", { className: t("absolute top-0.5 h-4 w-4 rounded-full bg-white transition-transform", e.isAvailable ? "translate-x-4" : "translate-x-0.5") })
545
543
  })]
546
544
  }),
547
- /* @__PURE__ */ u("div", {
545
+ /* @__PURE__ */ p("div", {
548
546
  className: "flex flex-wrap items-center gap-2 mt-2 text-xs",
549
- children: [/* @__PURE__ */ l("span", {
547
+ children: [/* @__PURE__ */ f("span", {
550
548
  className: "px-2 py-0.5 rounded-full bg-bg-sunken text-text-secondary",
551
549
  children: e.category
552
- }), /* @__PURE__ */ l("span", {
550
+ }), /* @__PURE__ */ f("span", {
553
551
  className: t("font-medium", n.color),
554
552
  children: n.label
555
553
  })]
556
554
  }),
557
- /* @__PURE__ */ u("div", {
555
+ /* @__PURE__ */ p("div", {
558
556
  className: "flex items-center justify-between mt-3",
559
- children: [/* @__PURE__ */ u("div", {
557
+ children: [/* @__PURE__ */ p("div", {
560
558
  className: "flex items-center gap-2",
561
- children: [/* @__PURE__ */ l("span", {
559
+ children: [/* @__PURE__ */ f("span", {
562
560
  className: "font-semibold text-text-primary",
563
- children: r(e.price, { minimumFractionDigits: 0 })
564
- }), e.originalPrice && /* @__PURE__ */ l("span", {
561
+ children: i(e.price, { minimumFractionDigits: 0 })
562
+ }), e.originalPrice && /* @__PURE__ */ f("span", {
565
563
  className: "text-xs text-text-secondary line-through",
566
- children: r(e.originalPrice, { minimumFractionDigits: 0 })
564
+ children: i(e.originalPrice, { minimumFractionDigits: 0 })
567
565
  })]
568
- }), /* @__PURE__ */ u("div", {
566
+ }), /* @__PURE__ */ p("div", {
569
567
  className: "flex gap-1",
570
- children: [/* @__PURE__ */ l("button", {
568
+ children: [/* @__PURE__ */ f("button", {
571
569
  type: "button",
572
570
  onClick: () => K(e),
573
- className: "rounded px-2 py-1 text-xs border border-border-subtle text-text-primary hover:bg-bg-sunken",
571
+ className: "rounded px-2 py-1 text-xs border border-border-seam text-text-primary hover:bg-bg-sunken",
574
572
  children: "Edit"
575
- }), /* @__PURE__ */ l("button", {
573
+ }), /* @__PURE__ */ f("button", {
576
574
  type: "button",
577
575
  onClick: () => q(e.id),
578
- className: "rounded px-2 py-1 text-xs border border-border-subtle text-red-600 dark:text-red-400 hover:bg-red-500/10",
576
+ className: "rounded px-2 py-1 text-xs border border-border-seam text-status-error-text hover:bg-status-error-bg-subtle",
579
577
  children: "Delete"
580
578
  })]
581
579
  })]
@@ -587,318 +585,318 @@ var d = [
587
585
  })
588
586
  })] })
589
587
  ]
590
- }), ue && /* @__PURE__ */ l("div", {
588
+ }), O && /* @__PURE__ */ f("div", {
591
589
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
592
- children: /* @__PURE__ */ l("div", {
593
- className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border-subtle bg-bg-surface shadow-xl",
594
- children: /* @__PURE__ */ u("div", {
590
+ children: /* @__PURE__ */ f("div", {
591
+ className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border-seam bg-bg-surface shadow-xl",
592
+ children: /* @__PURE__ */ p("div", {
595
593
  className: "p-6",
596
594
  children: [
597
- /* @__PURE__ */ u("div", {
595
+ /* @__PURE__ */ p("div", {
598
596
  className: "flex items-center justify-between mb-4",
599
- children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("h3", {
597
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h3", {
600
598
  className: "text-lg font-semibold text-text-primary",
601
- children: E ? "Edit Item" : "Add New Item"
602
- }), O.category && /* @__PURE__ */ u("p", {
599
+ children: A ? "Edit Item" : "Add New Item"
600
+ }), M.category && /* @__PURE__ */ p("p", {
603
601
  className: "text-sm text-text-secondary mt-0.5",
604
602
  children: [
605
603
  "Type: ",
606
604
  Z ? "Service" : "Product",
607
605
  " | Category: ",
608
- O.category
606
+ M.category
609
607
  ]
610
- })] }), /* @__PURE__ */ l("button", {
608
+ })] }), /* @__PURE__ */ f("button", {
611
609
  type: "button",
612
- onClick: () => T(!1),
610
+ onClick: () => k(!1),
613
611
  className: "rounded p-1.5 text-text-secondary hover:text-text-primary hover:bg-bg-sunken transition-colors",
614
- children: /* @__PURE__ */ l(oe, { className: "h-5 w-5" })
612
+ children: /* @__PURE__ */ f(ie, { className: "h-5 w-5" })
615
613
  })]
616
614
  }),
617
- /* @__PURE__ */ u("div", {
615
+ /* @__PURE__ */ p("div", {
618
616
  className: "space-y-4",
619
617
  children: [
620
- /* @__PURE__ */ u("div", {
618
+ /* @__PURE__ */ p("div", {
621
619
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
622
- children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
620
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
623
621
  className: "block text-sm font-medium text-text-primary mb-1",
624
622
  children: "Item Name *"
625
- }), /* @__PURE__ */ l("input", {
623
+ }), /* @__PURE__ */ f("input", {
626
624
  type: "text",
627
- value: O.name,
628
- onChange: (e) => k((t) => ({
625
+ value: M.name,
626
+ onChange: (e) => N((t) => ({
629
627
  ...t,
630
628
  name: e.target.value
631
629
  })),
632
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary",
630
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary",
633
631
  placeholder: "Enter item name"
634
- })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
632
+ })] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
635
633
  className: "block text-sm font-medium text-text-primary mb-1",
636
634
  children: "Category *"
637
- }), /* @__PURE__ */ u("select", {
638
- value: O.category,
639
- onChange: (e) => k((t) => ({
635
+ }), /* @__PURE__ */ p("select", {
636
+ value: M.category,
637
+ onChange: (e) => N((t) => ({
640
638
  ...t,
641
639
  category: e.target.value
642
640
  })),
643
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
644
- children: [/* @__PURE__ */ l("option", {
641
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
642
+ children: [/* @__PURE__ */ f("option", {
645
643
  value: "",
646
644
  children: "Select category"
647
- }), R.map((e) => /* @__PURE__ */ l("option", {
645
+ }), H.map((e) => /* @__PURE__ */ f("option", {
648
646
  value: e,
649
647
  children: e
650
648
  }, e))]
651
649
  })] })]
652
650
  }),
653
- /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
651
+ /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
654
652
  className: "block text-sm font-medium text-text-primary mb-1",
655
653
  children: "Description *"
656
- }), /* @__PURE__ */ l("textarea", {
657
- value: O.description,
658
- onChange: (e) => k((t) => ({
654
+ }), /* @__PURE__ */ f("textarea", {
655
+ value: M.description,
656
+ onChange: (e) => N((t) => ({
659
657
  ...t,
660
658
  description: e.target.value
661
659
  })),
662
660
  rows: 3,
663
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary resize-none",
661
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary resize-none",
664
662
  placeholder: "Describe the offering..."
665
663
  })] }),
666
- /* @__PURE__ */ u("div", {
664
+ /* @__PURE__ */ p("div", {
667
665
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
668
- children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
666
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
669
667
  className: "block text-sm font-medium text-text-primary mb-1",
670
668
  children: "Price *"
671
- }), /* @__PURE__ */ l("input", {
669
+ }), /* @__PURE__ */ f("input", {
672
670
  type: "number",
673
- value: O.price,
674
- onChange: (e) => k((t) => ({
671
+ value: M.price,
672
+ onChange: (e) => N((t) => ({
675
673
  ...t,
676
674
  price: parseInt(e.target.value) || 0
677
675
  })),
678
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
679
- })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
676
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary"
677
+ })] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
680
678
  className: "block text-sm font-medium text-text-primary mb-1",
681
679
  children: "Original Price"
682
- }), /* @__PURE__ */ l("input", {
680
+ }), /* @__PURE__ */ f("input", {
683
681
  type: "number",
684
- value: O.originalPrice ?? "",
685
- onChange: (e) => k((t) => ({
682
+ value: M.originalPrice ?? "",
683
+ onChange: (e) => N((t) => ({
686
684
  ...t,
687
685
  originalPrice: e.target.value ? parseInt(e.target.value) : void 0
688
686
  })),
689
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
687
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
690
688
  placeholder: "Optional"
691
689
  })] })]
692
690
  }),
693
- !Z && /* @__PURE__ */ u("div", {
691
+ !Z && /* @__PURE__ */ p("div", {
694
692
  className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
695
693
  children: [
696
- /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
694
+ /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
697
695
  className: "block text-sm font-medium text-text-primary mb-1",
698
696
  children: "Stock Quantity *"
699
- }), /* @__PURE__ */ l("input", {
697
+ }), /* @__PURE__ */ f("input", {
700
698
  type: "number",
701
- value: O.stock,
702
- onChange: (e) => k((t) => ({
699
+ value: M.stock,
700
+ onChange: (e) => N((t) => ({
703
701
  ...t,
704
702
  stock: parseInt(e.target.value) || 0
705
703
  })),
706
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
704
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary"
707
705
  })] }),
708
- /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
706
+ /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
709
707
  className: "block text-sm font-medium text-text-primary mb-1",
710
708
  children: "Preparation Time (min)"
711
- }), /* @__PURE__ */ l("input", {
709
+ }), /* @__PURE__ */ f("input", {
712
710
  type: "number",
713
- value: O.preparationTime,
714
- onChange: (e) => k((t) => ({
711
+ value: M.preparationTime,
712
+ onChange: (e) => N((t) => ({
715
713
  ...t,
716
714
  preparationTime: parseInt(e.target.value) || 0
717
715
  })),
718
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
716
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary"
719
717
  })] }),
720
- Q && /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
718
+ Q && /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
721
719
  className: "block text-sm font-medium text-text-primary mb-1",
722
720
  children: "Calories"
723
- }), /* @__PURE__ */ l("input", {
721
+ }), /* @__PURE__ */ f("input", {
724
722
  type: "number",
725
- value: O.calories,
726
- onChange: (e) => k((t) => ({
723
+ value: M.calories,
724
+ onChange: (e) => N((t) => ({
727
725
  ...t,
728
726
  calories: parseInt(e.target.value) || 0
729
727
  })),
730
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
728
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary"
731
729
  })] })
732
730
  ]
733
731
  }),
734
- Z && /* @__PURE__ */ u("div", {
732
+ Z && /* @__PURE__ */ p("div", {
735
733
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
736
- children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
734
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
737
735
  className: "block text-sm font-medium text-text-primary mb-1",
738
736
  children: "Service Duration (min) *"
739
- }), /* @__PURE__ */ l("input", {
737
+ }), /* @__PURE__ */ f("input", {
740
738
  type: "number",
741
- value: O.duration,
742
- onChange: (e) => k((t) => ({
739
+ value: M.duration,
740
+ onChange: (e) => N((t) => ({
743
741
  ...t,
744
742
  duration: parseInt(e.target.value) || 30
745
743
  })),
746
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
747
- })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
744
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary"
745
+ })] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
748
746
  className: "block text-sm font-medium text-text-primary mb-1",
749
747
  children: "Setup Time (min)"
750
- }), /* @__PURE__ */ l("input", {
748
+ }), /* @__PURE__ */ f("input", {
751
749
  type: "number",
752
- value: O.preparationTime,
753
- onChange: (e) => k((t) => ({
750
+ value: M.preparationTime,
751
+ onChange: (e) => N((t) => ({
754
752
  ...t,
755
753
  preparationTime: parseInt(e.target.value) || 0
756
754
  })),
757
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
755
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary"
758
756
  })] })]
759
757
  }),
760
- Q && /* @__PURE__ */ u("div", {
758
+ Q && /* @__PURE__ */ p("div", {
761
759
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
762
- children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
760
+ children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
763
761
  className: "block text-sm font-medium text-text-primary mb-1",
764
762
  children: "Spice Level"
765
- }), /* @__PURE__ */ u("select", {
766
- value: O.spiceLevel,
767
- onChange: (e) => k((t) => ({
763
+ }), /* @__PURE__ */ p("select", {
764
+ value: M.spiceLevel,
765
+ onChange: (e) => N((t) => ({
768
766
  ...t,
769
767
  spiceLevel: e.target.value
770
768
  })),
771
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
769
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
772
770
  children: [
773
- /* @__PURE__ */ l("option", {
771
+ /* @__PURE__ */ f("option", {
774
772
  value: "none",
775
773
  children: "None"
776
774
  }),
777
- /* @__PURE__ */ l("option", {
775
+ /* @__PURE__ */ f("option", {
778
776
  value: "mild",
779
777
  children: "Mild"
780
778
  }),
781
- /* @__PURE__ */ l("option", {
779
+ /* @__PURE__ */ f("option", {
782
780
  value: "medium",
783
781
  children: "Medium"
784
782
  }),
785
- /* @__PURE__ */ l("option", {
783
+ /* @__PURE__ */ f("option", {
786
784
  value: "spicy",
787
785
  children: "Spicy"
788
786
  }),
789
- /* @__PURE__ */ l("option", {
787
+ /* @__PURE__ */ f("option", {
790
788
  value: "very-spicy",
791
789
  children: "Very Spicy"
792
790
  })
793
791
  ]
794
- })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
792
+ })] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
795
793
  className: "block text-sm font-medium text-text-primary mb-2",
796
794
  children: "Dietary Options"
797
- }), /* @__PURE__ */ l("div", {
795
+ }), /* @__PURE__ */ f("div", {
798
796
  className: "space-y-2",
799
797
  children: [
800
798
  "isVegetarian",
801
799
  "isVegan",
802
800
  "isGlutenFree"
803
- ].map((e) => /* @__PURE__ */ u("label", {
801
+ ].map((e) => /* @__PURE__ */ p("label", {
804
802
  className: "flex items-center gap-2 text-sm text-text-primary",
805
- children: [/* @__PURE__ */ l("input", {
803
+ children: [/* @__PURE__ */ f("input", {
806
804
  type: "checkbox",
807
- checked: O[e],
808
- onChange: (t) => k((n) => ({
805
+ checked: M[e],
806
+ onChange: (t) => N((n) => ({
809
807
  ...n,
810
808
  [e]: t.target.checked
811
809
  })),
812
- className: "rounded border-border-subtle"
810
+ className: "rounded border-border-seam"
813
811
  }), e === "isVegetarian" ? "Vegetarian" : e === "isVegan" ? "Vegan" : "Gluten Free"]
814
812
  }, e))
815
813
  })] })]
816
814
  }),
817
- Z && /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
815
+ Z && /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
818
816
  className: "block text-sm font-medium text-text-primary mb-1",
819
817
  children: "Service Type *"
820
- }), /* @__PURE__ */ u("select", {
821
- value: O.serviceType,
822
- onChange: (e) => k((t) => ({
818
+ }), /* @__PURE__ */ p("select", {
819
+ value: M.serviceType,
820
+ onChange: (e) => N((t) => ({
823
821
  ...t,
824
822
  serviceType: e.target.value
825
823
  })),
826
- className: "w-full sm:w-64 rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
824
+ className: "w-full sm:w-64 rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
827
825
  children: [
828
- /* @__PURE__ */ l("option", {
826
+ /* @__PURE__ */ f("option", {
829
827
  value: "instant",
830
828
  children: "Instant Service"
831
829
  }),
832
- /* @__PURE__ */ l("option", {
830
+ /* @__PURE__ */ f("option", {
833
831
  value: "appointment",
834
832
  children: "Appointment Based"
835
833
  }),
836
- /* @__PURE__ */ l("option", {
834
+ /* @__PURE__ */ f("option", {
837
835
  value: "recurring",
838
836
  children: "Recurring Service"
839
837
  }),
840
- /* @__PURE__ */ l("option", {
838
+ /* @__PURE__ */ f("option", {
841
839
  value: "consultation",
842
840
  children: "Consultation"
843
841
  })
844
842
  ]
845
843
  })] }),
846
- /* @__PURE__ */ u("div", { children: [
847
- /* @__PURE__ */ l("label", {
844
+ /* @__PURE__ */ p("div", { children: [
845
+ /* @__PURE__ */ f("label", {
848
846
  className: "block text-sm font-medium text-text-primary mb-1",
849
847
  children: "Tags (comma separated)"
850
848
  }),
851
- /* @__PURE__ */ l("input", {
849
+ /* @__PURE__ */ f("input", {
852
850
  type: "text",
853
- value: A,
854
- onChange: (e) => j(e.target.value),
851
+ value: P,
852
+ onChange: (e) => F(e.target.value),
855
853
  placeholder: Z ? "professional, certified, quick" : "popular, spicy, traditional",
856
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary"
854
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary"
857
855
  }),
858
- /* @__PURE__ */ u("p", {
856
+ /* @__PURE__ */ p("p", {
859
857
  className: "text-xs text-text-secondary mt-1",
860
858
  children: [
861
- A.split(",").map((e) => e.trim()).filter(Boolean).length,
859
+ P.split(",").map((e) => e.trim()).filter(Boolean).length,
862
860
  " ",
863
861
  "tags"
864
862
  ]
865
863
  })
866
864
  ] }),
867
- Q && /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
865
+ Q && /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
868
866
  className: "block text-sm font-medium text-text-primary mb-1",
869
867
  children: "Allergens (comma separated)"
870
- }), /* @__PURE__ */ l("input", {
868
+ }), /* @__PURE__ */ f("input", {
871
869
  type: "text",
872
- value: M,
873
- onChange: (e) => N(e.target.value),
870
+ value: I,
871
+ onChange: (e) => L(e.target.value),
874
872
  placeholder: "nuts, dairy, gluten, soy",
875
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary"
873
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary"
876
874
  })] }),
877
- Z && /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
875
+ Z && /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
878
876
  className: "block text-sm font-medium text-text-primary mb-1",
879
877
  children: "Service Requirements (comma separated)"
880
- }), /* @__PURE__ */ l("input", {
878
+ }), /* @__PURE__ */ f("input", {
881
879
  type: "text",
882
- value: P,
883
- onChange: (e) => F(e.target.value),
880
+ value: R,
881
+ onChange: (e) => z(e.target.value),
884
882
  placeholder: "advance booking, payment required, tools provided",
885
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary"
883
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary"
886
884
  })] })
887
885
  ]
888
886
  }),
889
- /* @__PURE__ */ u("div", {
887
+ /* @__PURE__ */ p("div", {
890
888
  className: "flex gap-3 mt-6",
891
- children: [/* @__PURE__ */ l("button", {
889
+ children: [/* @__PURE__ */ f("button", {
892
890
  type: "button",
893
- onClick: () => T(!1),
894
- className: "flex-1 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
891
+ onClick: () => k(!1),
892
+ className: "flex-1 rounded-md border border-border-seam px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
895
893
  children: "Cancel"
896
- }), /* @__PURE__ */ l("button", {
894
+ }), /* @__PURE__ */ f("button", {
897
895
  type: "button",
898
- onClick: de,
896
+ onClick: me,
899
897
  disabled: !$,
900
898
  className: t("flex-1 rounded-md px-4 py-2 text-sm font-medium transition-colors", $ ? "bg-accent text-text-primary hover:bg-accent/80" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
901
- children: E ? "Update Item" : "Add Item"
899
+ children: A ? "Update Item" : "Add Item"
902
900
  })]
903
901
  })
904
902
  ]
@@ -908,6 +906,6 @@ var d = [
908
906
  });
909
907
  };
910
908
  //#endregion
911
- export { _ as InventoryManagementPage };
909
+ export { b as InventoryManagementPage };
912
910
 
913
911
  //# sourceMappingURL=InventoryManagementPage.js.map