@burdenoff/microfe-adaptercloud 2026.614.1 → 2026.624.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.
- package/dist/adaptercloud/components/EmptyState.js +3 -3
- package/dist/adaptercloud/components/EmptyState.js.map +1 -1
- package/dist/adaptercloud/components/InvestmentCard.js +9 -9
- package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
- package/dist/adaptercloud/components/MetricsCard.js +5 -5
- package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
- package/dist/adaptercloud/components/PageLayout.js +3 -3
- package/dist/adaptercloud/components/PageLayout.js.map +1 -1
- package/dist/adaptercloud/components/RatingDisplay.js +3 -3
- package/dist/adaptercloud/components/RatingDisplay.js.map +1 -1
- package/dist/adaptercloud/components/StatusBadge.js +2 -2
- package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
- package/dist/adaptercloud/pages/HomePage.js +54 -54
- package/dist/adaptercloud/pages/HomePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +60 -60
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminDashboard.js +77 -77
- package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +43 -43
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +85 -85
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js +34 -34
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +40 -40
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/CartManagementPage.js +86 -86
- package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/UserManagementPage.js +80 -80
- package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +100 -100
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +29 -29
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +81 -81
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +100 -100
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +67 -67
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +94 -94
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +57 -57
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +75 -75
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/HelpSupportPage.js +102 -102
- package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js +35 -35
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/SettingsPage.js +109 -109
- package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +60 -60
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDetailPage.js +71 -71
- package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +54 -54
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CheckoutPage.js +75 -75
- package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js +69 -69
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +72 -72
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +75 -75
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/FavoritesPage.js +30 -30
- package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +41 -41
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +53 -53
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +51 -51
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/ReviewsPage.js +33 -33
- package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +33 -33
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +108 -108
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +76 -76
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +69 -69
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js +53 -53
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +32 -32
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +55 -55
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +138 -138
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +65 -65
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js +74 -74
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +49 -49
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +92 -92
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +55 -55
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/dist/adaptercloud/utils/cn.js +2 -2
- package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/package.json +1 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
|
@@ -211,7 +211,7 @@ var d = [
|
|
|
211
211
|
actions: /* @__PURE__ */ u("button", {
|
|
212
212
|
type: "button",
|
|
213
213
|
onClick: G,
|
|
214
|
-
className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-
|
|
214
|
+
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
215
|
children: [/* @__PURE__ */ l(c, { className: "h-4 w-4" }), "Add Item"]
|
|
216
216
|
}),
|
|
217
217
|
children: [/* @__PURE__ */ u("div", {
|
|
@@ -228,19 +228,19 @@ var d = [
|
|
|
228
228
|
className: "grid grid-cols-2 lg:grid-cols-4 gap-3",
|
|
229
229
|
children: [
|
|
230
230
|
/* @__PURE__ */ u("div", {
|
|
231
|
-
className: "rounded-lg border border-border bg-
|
|
231
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
|
|
232
232
|
children: [/* @__PURE__ */ l("p", {
|
|
233
|
-
className: "text-xs text-
|
|
233
|
+
className: "text-xs text-text-secondary",
|
|
234
234
|
children: "Total Items"
|
|
235
235
|
}), /* @__PURE__ */ l("p", {
|
|
236
|
-
className: "text-2xl font-bold text-
|
|
236
|
+
className: "text-2xl font-bold text-text-primary",
|
|
237
237
|
children: B
|
|
238
238
|
})]
|
|
239
239
|
}),
|
|
240
240
|
/* @__PURE__ */ u("div", {
|
|
241
|
-
className: "rounded-lg border border-border bg-
|
|
241
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
|
|
242
242
|
children: [/* @__PURE__ */ l("p", {
|
|
243
|
-
className: "text-xs text-
|
|
243
|
+
className: "text-xs text-text-secondary",
|
|
244
244
|
children: "Available"
|
|
245
245
|
}), /* @__PURE__ */ l("p", {
|
|
246
246
|
className: "text-2xl font-bold text-green-600 dark:text-green-400",
|
|
@@ -248,9 +248,9 @@ var d = [
|
|
|
248
248
|
})]
|
|
249
249
|
}),
|
|
250
250
|
/* @__PURE__ */ u("div", {
|
|
251
|
-
className: "rounded-lg border border-border bg-
|
|
251
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
|
|
252
252
|
children: [/* @__PURE__ */ l("p", {
|
|
253
|
-
className: "text-xs text-
|
|
253
|
+
className: "text-xs text-text-secondary",
|
|
254
254
|
children: "Out of Stock"
|
|
255
255
|
}), /* @__PURE__ */ l("p", {
|
|
256
256
|
className: "text-2xl font-bold text-red-600 dark:text-red-400",
|
|
@@ -258,9 +258,9 @@ var d = [
|
|
|
258
258
|
})]
|
|
259
259
|
}),
|
|
260
260
|
/* @__PURE__ */ u("div", {
|
|
261
|
-
className: "rounded-lg border border-border bg-
|
|
261
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
|
|
262
262
|
children: [/* @__PURE__ */ l("p", {
|
|
263
|
-
className: "text-xs text-
|
|
263
|
+
className: "text-xs text-text-secondary",
|
|
264
264
|
children: "Low Stock"
|
|
265
265
|
}), /* @__PURE__ */ l("p", {
|
|
266
266
|
className: "text-2xl font-bold text-yellow-600 dark:text-yellow-400",
|
|
@@ -270,7 +270,7 @@ var d = [
|
|
|
270
270
|
]
|
|
271
271
|
}),
|
|
272
272
|
/* @__PURE__ */ u("div", {
|
|
273
|
-
className: "rounded-lg border border-border bg-
|
|
273
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm space-y-4",
|
|
274
274
|
children: [/* @__PURE__ */ u("div", {
|
|
275
275
|
className: "flex flex-col lg:flex-row lg:items-center lg:justify-between gap-3",
|
|
276
276
|
children: [/* @__PURE__ */ u("div", {
|
|
@@ -279,26 +279,26 @@ var d = [
|
|
|
279
279
|
/* @__PURE__ */ u("button", {
|
|
280
280
|
type: "button",
|
|
281
281
|
onClick: G,
|
|
282
|
-
className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-sm font-medium text-
|
|
282
|
+
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
283
|
children: [/* @__PURE__ */ l(c, { className: "h-4 w-4" }), "Add Item"]
|
|
284
284
|
}),
|
|
285
285
|
/* @__PURE__ */ l("button", {
|
|
286
286
|
type: "button",
|
|
287
287
|
onClick: () => Y("enable"),
|
|
288
|
-
className: "rounded-md border border-border px-3 py-2 text-sm text-
|
|
288
|
+
className: "rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken transition-colors",
|
|
289
289
|
children: "Enable All"
|
|
290
290
|
}),
|
|
291
291
|
/* @__PURE__ */ l("button", {
|
|
292
292
|
type: "button",
|
|
293
293
|
onClick: () => Y("disable"),
|
|
294
|
-
className: "rounded-md border border-border px-3 py-2 text-sm text-
|
|
294
|
+
className: "rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken transition-colors",
|
|
295
295
|
children: "Disable All"
|
|
296
296
|
})
|
|
297
297
|
]
|
|
298
298
|
}), /* @__PURE__ */ u("button", {
|
|
299
299
|
type: "button",
|
|
300
300
|
onClick: () => alert("Import/Export feature coming soon!"),
|
|
301
|
-
className: "inline-flex items-center gap-1.5 rounded-md border border-border px-3 py-2 text-sm text-
|
|
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
302
|
children: [/* @__PURE__ */ l(ae, { className: "h-4 w-4" }), "Import/Export"]
|
|
303
303
|
})]
|
|
304
304
|
}), /* @__PURE__ */ u("div", {
|
|
@@ -306,18 +306,18 @@ var d = [
|
|
|
306
306
|
children: [
|
|
307
307
|
/* @__PURE__ */ u("div", {
|
|
308
308
|
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-
|
|
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", {
|
|
310
310
|
type: "text",
|
|
311
311
|
placeholder: "Search offerings...",
|
|
312
312
|
value: _,
|
|
313
313
|
onChange: (e) => v(e.target.value),
|
|
314
|
-
className: "w-full rounded-md border border-border bg-
|
|
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)]"
|
|
315
315
|
})]
|
|
316
316
|
}),
|
|
317
317
|
/* @__PURE__ */ u("select", {
|
|
318
318
|
value: y,
|
|
319
319
|
onChange: (e) => b(e.target.value),
|
|
320
|
-
className: "rounded-md border border-border bg-
|
|
320
|
+
className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
|
|
321
321
|
children: [/* @__PURE__ */ l("option", {
|
|
322
322
|
value: "",
|
|
323
323
|
children: "All Categories"
|
|
@@ -329,7 +329,7 @@ var d = [
|
|
|
329
329
|
/* @__PURE__ */ u("select", {
|
|
330
330
|
value: x,
|
|
331
331
|
onChange: (e) => S(e.target.value),
|
|
332
|
-
className: "rounded-md border border-border bg-
|
|
332
|
+
className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
|
|
333
333
|
children: [
|
|
334
334
|
/* @__PURE__ */ l("option", {
|
|
335
335
|
value: "",
|
|
@@ -348,7 +348,7 @@ var d = [
|
|
|
348
348
|
/* @__PURE__ */ u("select", {
|
|
349
349
|
value: C,
|
|
350
350
|
onChange: (e) => w(e.target.value),
|
|
351
|
-
className: "rounded-md border border-border bg-
|
|
351
|
+
className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
|
|
352
352
|
children: [
|
|
353
353
|
/* @__PURE__ */ l("option", {
|
|
354
354
|
value: "name",
|
|
@@ -372,15 +372,15 @@ var d = [
|
|
|
372
372
|
})]
|
|
373
373
|
}),
|
|
374
374
|
z.length === 0 ? /* @__PURE__ */ u("div", {
|
|
375
|
-
className: "rounded-lg border border-border bg-
|
|
375
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-12 text-center shadow-sm",
|
|
376
376
|
children: [
|
|
377
|
-
/* @__PURE__ */ l(s, { className: "h-12 w-12 text-
|
|
377
|
+
/* @__PURE__ */ l(s, { className: "h-12 w-12 text-text-secondary opacity-40 mx-auto mb-3" }),
|
|
378
378
|
/* @__PURE__ */ l("h3", {
|
|
379
|
-
className: "text-lg font-semibold text-
|
|
379
|
+
className: "text-lg font-semibold text-text-primary mb-2",
|
|
380
380
|
children: "No Items Found"
|
|
381
381
|
}),
|
|
382
382
|
/* @__PURE__ */ l("p", {
|
|
383
|
-
className: "text-sm text-
|
|
383
|
+
className: "text-sm text-text-secondary mb-4",
|
|
384
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
385
|
}),
|
|
386
386
|
/* @__PURE__ */ u("div", {
|
|
@@ -388,69 +388,69 @@ var d = [
|
|
|
388
388
|
children: [/* @__PURE__ */ u("button", {
|
|
389
389
|
type: "button",
|
|
390
390
|
onClick: G,
|
|
391
|
-
className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-
|
|
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
392
|
children: [/* @__PURE__ */ l(c, { className: "h-4 w-4" }), "Add Your First Item"]
|
|
393
393
|
}), (_ || y || x) && /* @__PURE__ */ l("button", {
|
|
394
394
|
type: "button",
|
|
395
395
|
onClick: () => {
|
|
396
396
|
v(""), b(""), S(""), w("name");
|
|
397
397
|
},
|
|
398
|
-
className: "rounded-md border border-border px-4 py-2 text-sm text-
|
|
398
|
+
className: "rounded-md border border-border-subtle px-4 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
399
399
|
children: "Clear Filters"
|
|
400
400
|
})]
|
|
401
401
|
})
|
|
402
402
|
]
|
|
403
403
|
}) : /* @__PURE__ */ u(se, { children: [/* @__PURE__ */ l("div", {
|
|
404
|
-
className: "hidden lg:block rounded-lg border border-border bg-
|
|
404
|
+
className: "hidden lg:block rounded-lg border border-border-subtle bg-bg-surface shadow-sm overflow-hidden",
|
|
405
405
|
children: /* @__PURE__ */ l("div", {
|
|
406
406
|
className: "overflow-x-auto",
|
|
407
407
|
children: /* @__PURE__ */ u("table", {
|
|
408
408
|
className: "w-full text-sm",
|
|
409
409
|
children: [/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ u("tr", {
|
|
410
|
-
className: "border-b border-border bg-
|
|
410
|
+
className: "border-b border-border-subtle bg-bg-sunken/50",
|
|
411
411
|
children: [
|
|
412
412
|
/* @__PURE__ */ l("th", {
|
|
413
|
-
className: "px-5 py-3 text-left font-medium text-
|
|
413
|
+
className: "px-5 py-3 text-left font-medium text-text-secondary",
|
|
414
414
|
children: "Item"
|
|
415
415
|
}),
|
|
416
416
|
/* @__PURE__ */ l("th", {
|
|
417
|
-
className: "px-5 py-3 text-left font-medium text-
|
|
417
|
+
className: "px-5 py-3 text-left font-medium text-text-secondary",
|
|
418
418
|
children: "Category"
|
|
419
419
|
}),
|
|
420
420
|
/* @__PURE__ */ l("th", {
|
|
421
|
-
className: "px-5 py-3 text-right font-medium text-
|
|
421
|
+
className: "px-5 py-3 text-right font-medium text-text-secondary",
|
|
422
422
|
children: "Price"
|
|
423
423
|
}),
|
|
424
424
|
/* @__PURE__ */ l("th", {
|
|
425
|
-
className: "px-5 py-3 text-left font-medium text-
|
|
425
|
+
className: "px-5 py-3 text-left font-medium text-text-secondary",
|
|
426
426
|
children: "Stock/Status"
|
|
427
427
|
}),
|
|
428
428
|
/* @__PURE__ */ l("th", {
|
|
429
|
-
className: "px-5 py-3 text-center font-medium text-
|
|
429
|
+
className: "px-5 py-3 text-center font-medium text-text-secondary",
|
|
430
430
|
children: "Available"
|
|
431
431
|
}),
|
|
432
432
|
/* @__PURE__ */ l("th", {
|
|
433
|
-
className: "px-5 py-3 text-right font-medium text-
|
|
433
|
+
className: "px-5 py-3 text-right font-medium text-text-secondary",
|
|
434
434
|
children: "Actions"
|
|
435
435
|
})
|
|
436
436
|
]
|
|
437
437
|
}) }), /* @__PURE__ */ l("tbody", { children: z.map((e) => {
|
|
438
438
|
let n = X(e);
|
|
439
439
|
return /* @__PURE__ */ u("tr", {
|
|
440
|
-
className: "border-b border-border last:border-0 hover:bg-
|
|
440
|
+
className: "border-b border-border-subtle last:border-0 hover:bg-bg-sunken/30 transition-colors",
|
|
441
441
|
children: [
|
|
442
442
|
/* @__PURE__ */ l("td", {
|
|
443
443
|
className: "px-5 py-3",
|
|
444
444
|
children: /* @__PURE__ */ u("div", {
|
|
445
445
|
className: "flex items-center gap-3",
|
|
446
446
|
children: [/* @__PURE__ */ l("div", {
|
|
447
|
-
className: "flex h-10 w-10 items-center justify-center rounded-md bg-
|
|
448
|
-
children: /* @__PURE__ */ l(s, { className: "h-4 w-4 text-
|
|
447
|
+
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
449
|
}), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("p", {
|
|
450
|
-
className: "font-medium text-
|
|
450
|
+
className: "font-medium text-text-primary",
|
|
451
451
|
children: e.name
|
|
452
452
|
}), /* @__PURE__ */ u("p", {
|
|
453
|
-
className: "text-xs text-
|
|
453
|
+
className: "text-xs text-text-secondary line-clamp-1",
|
|
454
454
|
children: [e.description.slice(0, 50), "..."]
|
|
455
455
|
})] })]
|
|
456
456
|
})
|
|
@@ -458,17 +458,17 @@ var d = [
|
|
|
458
458
|
/* @__PURE__ */ l("td", {
|
|
459
459
|
className: "px-5 py-3",
|
|
460
460
|
children: /* @__PURE__ */ l("span", {
|
|
461
|
-
className: "inline-flex rounded-full bg-
|
|
461
|
+
className: "inline-flex rounded-full bg-bg-sunken px-2.5 py-0.5 text-xs font-medium text-text-secondary",
|
|
462
462
|
children: e.category
|
|
463
463
|
})
|
|
464
464
|
}),
|
|
465
465
|
/* @__PURE__ */ u("td", {
|
|
466
466
|
className: "px-5 py-3 text-right",
|
|
467
467
|
children: [/* @__PURE__ */ l("p", {
|
|
468
|
-
className: "font-medium text-
|
|
468
|
+
className: "font-medium text-text-primary",
|
|
469
469
|
children: r(e.price, { minimumFractionDigits: 0 })
|
|
470
470
|
}), e.originalPrice && /* @__PURE__ */ l("p", {
|
|
471
|
-
className: "text-xs text-
|
|
471
|
+
className: "text-xs text-text-secondary line-through",
|
|
472
472
|
children: r(e.originalPrice, { minimumFractionDigits: 0 })
|
|
473
473
|
})]
|
|
474
474
|
}),
|
|
@@ -495,13 +495,13 @@ var d = [
|
|
|
495
495
|
children: [/* @__PURE__ */ l("button", {
|
|
496
496
|
type: "button",
|
|
497
497
|
onClick: () => K(e),
|
|
498
|
-
className: "rounded p-1.5 text-
|
|
498
|
+
className: "rounded p-1.5 text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors",
|
|
499
499
|
title: "Edit",
|
|
500
500
|
children: /* @__PURE__ */ l(ne, { className: "h-4 w-4" })
|
|
501
501
|
}), /* @__PURE__ */ l("button", {
|
|
502
502
|
type: "button",
|
|
503
503
|
onClick: () => q(e.id),
|
|
504
|
-
className: "rounded p-1.5 text-
|
|
504
|
+
className: "rounded p-1.5 text-text-secondary hover:bg-red-500/10 hover:text-red-600 transition-colors",
|
|
505
505
|
title: "Delete",
|
|
506
506
|
children: /* @__PURE__ */ l(ie, { className: "h-4 w-4" })
|
|
507
507
|
})]
|
|
@@ -517,12 +517,12 @@ var d = [
|
|
|
517
517
|
children: z.map((e) => {
|
|
518
518
|
let n = X(e);
|
|
519
519
|
return /* @__PURE__ */ l("div", {
|
|
520
|
-
className: "rounded-lg border border-border bg-
|
|
520
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
|
|
521
521
|
children: /* @__PURE__ */ u("div", {
|
|
522
522
|
className: "flex items-start gap-3",
|
|
523
523
|
children: [/* @__PURE__ */ l("div", {
|
|
524
|
-
className: "flex h-14 w-14 items-center justify-center rounded-md bg-
|
|
525
|
-
children: /* @__PURE__ */ l(s, { className: "h-6 w-6 text-
|
|
524
|
+
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
526
|
}), /* @__PURE__ */ u("div", {
|
|
527
527
|
className: "flex-1 min-w-0",
|
|
528
528
|
children: [
|
|
@@ -531,10 +531,10 @@ var d = [
|
|
|
531
531
|
children: [/* @__PURE__ */ u("div", {
|
|
532
532
|
className: "flex-1",
|
|
533
533
|
children: [/* @__PURE__ */ l("h3", {
|
|
534
|
-
className: "text-sm font-medium text-
|
|
534
|
+
className: "text-sm font-medium text-text-primary line-clamp-1",
|
|
535
535
|
children: e.name
|
|
536
536
|
}), /* @__PURE__ */ l("p", {
|
|
537
|
-
className: "text-xs text-
|
|
537
|
+
className: "text-xs text-text-secondary mt-0.5 line-clamp-2",
|
|
538
538
|
children: e.description
|
|
539
539
|
})]
|
|
540
540
|
}), /* @__PURE__ */ l("button", {
|
|
@@ -547,7 +547,7 @@ var d = [
|
|
|
547
547
|
/* @__PURE__ */ u("div", {
|
|
548
548
|
className: "flex flex-wrap items-center gap-2 mt-2 text-xs",
|
|
549
549
|
children: [/* @__PURE__ */ l("span", {
|
|
550
|
-
className: "px-2 py-0.5 rounded-full bg-
|
|
550
|
+
className: "px-2 py-0.5 rounded-full bg-bg-sunken text-text-secondary",
|
|
551
551
|
children: e.category
|
|
552
552
|
}), /* @__PURE__ */ l("span", {
|
|
553
553
|
className: t("font-medium", n.color),
|
|
@@ -559,10 +559,10 @@ var d = [
|
|
|
559
559
|
children: [/* @__PURE__ */ u("div", {
|
|
560
560
|
className: "flex items-center gap-2",
|
|
561
561
|
children: [/* @__PURE__ */ l("span", {
|
|
562
|
-
className: "font-semibold text-
|
|
562
|
+
className: "font-semibold text-text-primary",
|
|
563
563
|
children: r(e.price, { minimumFractionDigits: 0 })
|
|
564
564
|
}), e.originalPrice && /* @__PURE__ */ l("span", {
|
|
565
|
-
className: "text-xs text-
|
|
565
|
+
className: "text-xs text-text-secondary line-through",
|
|
566
566
|
children: r(e.originalPrice, { minimumFractionDigits: 0 })
|
|
567
567
|
})]
|
|
568
568
|
}), /* @__PURE__ */ u("div", {
|
|
@@ -570,12 +570,12 @@ var d = [
|
|
|
570
570
|
children: [/* @__PURE__ */ l("button", {
|
|
571
571
|
type: "button",
|
|
572
572
|
onClick: () => K(e),
|
|
573
|
-
className: "rounded px-2 py-1 text-xs border border-border text-
|
|
573
|
+
className: "rounded px-2 py-1 text-xs border border-border-subtle text-text-primary hover:bg-bg-sunken",
|
|
574
574
|
children: "Edit"
|
|
575
575
|
}), /* @__PURE__ */ l("button", {
|
|
576
576
|
type: "button",
|
|
577
577
|
onClick: () => q(e.id),
|
|
578
|
-
className: "rounded px-2 py-1 text-xs border border-border text-red-600 dark:text-red-400 hover:bg-red-500/10",
|
|
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",
|
|
579
579
|
children: "Delete"
|
|
580
580
|
})]
|
|
581
581
|
})]
|
|
@@ -590,17 +590,17 @@ var d = [
|
|
|
590
590
|
}), ue && /* @__PURE__ */ l("div", {
|
|
591
591
|
className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
|
|
592
592
|
children: /* @__PURE__ */ l("div", {
|
|
593
|
-
className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border bg-
|
|
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
594
|
children: /* @__PURE__ */ u("div", {
|
|
595
595
|
className: "p-6",
|
|
596
596
|
children: [
|
|
597
597
|
/* @__PURE__ */ u("div", {
|
|
598
598
|
className: "flex items-center justify-between mb-4",
|
|
599
599
|
children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("h3", {
|
|
600
|
-
className: "text-lg font-semibold text-
|
|
600
|
+
className: "text-lg font-semibold text-text-primary",
|
|
601
601
|
children: E ? "Edit Item" : "Add New Item"
|
|
602
602
|
}), O.category && /* @__PURE__ */ u("p", {
|
|
603
|
-
className: "text-sm text-
|
|
603
|
+
className: "text-sm text-text-secondary mt-0.5",
|
|
604
604
|
children: [
|
|
605
605
|
"Type: ",
|
|
606
606
|
Z ? "Service" : "Product",
|
|
@@ -610,7 +610,7 @@ var d = [
|
|
|
610
610
|
})] }), /* @__PURE__ */ l("button", {
|
|
611
611
|
type: "button",
|
|
612
612
|
onClick: () => T(!1),
|
|
613
|
-
className: "rounded p-1.5 text-
|
|
613
|
+
className: "rounded p-1.5 text-text-secondary hover:text-text-primary hover:bg-bg-sunken transition-colors",
|
|
614
614
|
children: /* @__PURE__ */ l(oe, { className: "h-5 w-5" })
|
|
615
615
|
})]
|
|
616
616
|
}),
|
|
@@ -620,7 +620,7 @@ var d = [
|
|
|
620
620
|
/* @__PURE__ */ u("div", {
|
|
621
621
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
622
622
|
children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
623
|
-
className: "block text-sm font-medium text-
|
|
623
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
624
624
|
children: "Item Name *"
|
|
625
625
|
}), /* @__PURE__ */ l("input", {
|
|
626
626
|
type: "text",
|
|
@@ -629,10 +629,10 @@ var d = [
|
|
|
629
629
|
...t,
|
|
630
630
|
name: e.target.value
|
|
631
631
|
})),
|
|
632
|
-
className: "w-full rounded-md border border-border bg-
|
|
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",
|
|
633
633
|
placeholder: "Enter item name"
|
|
634
634
|
})] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
635
|
-
className: "block text-sm font-medium text-
|
|
635
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
636
636
|
children: "Category *"
|
|
637
637
|
}), /* @__PURE__ */ u("select", {
|
|
638
638
|
value: O.category,
|
|
@@ -640,7 +640,7 @@ var d = [
|
|
|
640
640
|
...t,
|
|
641
641
|
category: e.target.value
|
|
642
642
|
})),
|
|
643
|
-
className: "w-full rounded-md border border-border bg-
|
|
643
|
+
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
|
|
644
644
|
children: [/* @__PURE__ */ l("option", {
|
|
645
645
|
value: "",
|
|
646
646
|
children: "Select category"
|
|
@@ -651,7 +651,7 @@ var d = [
|
|
|
651
651
|
})] })]
|
|
652
652
|
}),
|
|
653
653
|
/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
654
|
-
className: "block text-sm font-medium text-
|
|
654
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
655
655
|
children: "Description *"
|
|
656
656
|
}), /* @__PURE__ */ l("textarea", {
|
|
657
657
|
value: O.description,
|
|
@@ -660,13 +660,13 @@ var d = [
|
|
|
660
660
|
description: e.target.value
|
|
661
661
|
})),
|
|
662
662
|
rows: 3,
|
|
663
|
-
className: "w-full rounded-md border border-border bg-
|
|
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",
|
|
664
664
|
placeholder: "Describe the offering..."
|
|
665
665
|
})] }),
|
|
666
666
|
/* @__PURE__ */ u("div", {
|
|
667
667
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
668
668
|
children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
669
|
-
className: "block text-sm font-medium text-
|
|
669
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
670
670
|
children: "Price *"
|
|
671
671
|
}), /* @__PURE__ */ l("input", {
|
|
672
672
|
type: "number",
|
|
@@ -675,9 +675,9 @@ var d = [
|
|
|
675
675
|
...t,
|
|
676
676
|
price: parseInt(e.target.value) || 0
|
|
677
677
|
})),
|
|
678
|
-
className: "w-full rounded-md border border-border bg-
|
|
678
|
+
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
|
|
679
679
|
})] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
680
|
-
className: "block text-sm font-medium text-
|
|
680
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
681
681
|
children: "Original Price"
|
|
682
682
|
}), /* @__PURE__ */ l("input", {
|
|
683
683
|
type: "number",
|
|
@@ -686,7 +686,7 @@ var d = [
|
|
|
686
686
|
...t,
|
|
687
687
|
originalPrice: e.target.value ? parseInt(e.target.value) : void 0
|
|
688
688
|
})),
|
|
689
|
-
className: "w-full rounded-md border border-border bg-
|
|
689
|
+
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
|
|
690
690
|
placeholder: "Optional"
|
|
691
691
|
})] })]
|
|
692
692
|
}),
|
|
@@ -694,7 +694,7 @@ var d = [
|
|
|
694
694
|
className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
|
|
695
695
|
children: [
|
|
696
696
|
/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
697
|
-
className: "block text-sm font-medium text-
|
|
697
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
698
698
|
children: "Stock Quantity *"
|
|
699
699
|
}), /* @__PURE__ */ l("input", {
|
|
700
700
|
type: "number",
|
|
@@ -703,10 +703,10 @@ var d = [
|
|
|
703
703
|
...t,
|
|
704
704
|
stock: parseInt(e.target.value) || 0
|
|
705
705
|
})),
|
|
706
|
-
className: "w-full rounded-md border border-border bg-
|
|
706
|
+
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
|
|
707
707
|
})] }),
|
|
708
708
|
/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
709
|
-
className: "block text-sm font-medium text-
|
|
709
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
710
710
|
children: "Preparation Time (min)"
|
|
711
711
|
}), /* @__PURE__ */ l("input", {
|
|
712
712
|
type: "number",
|
|
@@ -715,10 +715,10 @@ var d = [
|
|
|
715
715
|
...t,
|
|
716
716
|
preparationTime: parseInt(e.target.value) || 0
|
|
717
717
|
})),
|
|
718
|
-
className: "w-full rounded-md border border-border bg-
|
|
718
|
+
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
|
|
719
719
|
})] }),
|
|
720
720
|
Q && /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
721
|
-
className: "block text-sm font-medium text-
|
|
721
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
722
722
|
children: "Calories"
|
|
723
723
|
}), /* @__PURE__ */ l("input", {
|
|
724
724
|
type: "number",
|
|
@@ -727,14 +727,14 @@ var d = [
|
|
|
727
727
|
...t,
|
|
728
728
|
calories: parseInt(e.target.value) || 0
|
|
729
729
|
})),
|
|
730
|
-
className: "w-full rounded-md border border-border bg-
|
|
730
|
+
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
|
|
731
731
|
})] })
|
|
732
732
|
]
|
|
733
733
|
}),
|
|
734
734
|
Z && /* @__PURE__ */ u("div", {
|
|
735
735
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
736
736
|
children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
737
|
-
className: "block text-sm font-medium text-
|
|
737
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
738
738
|
children: "Service Duration (min) *"
|
|
739
739
|
}), /* @__PURE__ */ l("input", {
|
|
740
740
|
type: "number",
|
|
@@ -743,9 +743,9 @@ var d = [
|
|
|
743
743
|
...t,
|
|
744
744
|
duration: parseInt(e.target.value) || 30
|
|
745
745
|
})),
|
|
746
|
-
className: "w-full rounded-md border border-border bg-
|
|
746
|
+
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
|
|
747
747
|
})] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
748
|
-
className: "block text-sm font-medium text-
|
|
748
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
749
749
|
children: "Setup Time (min)"
|
|
750
750
|
}), /* @__PURE__ */ l("input", {
|
|
751
751
|
type: "number",
|
|
@@ -754,13 +754,13 @@ var d = [
|
|
|
754
754
|
...t,
|
|
755
755
|
preparationTime: parseInt(e.target.value) || 0
|
|
756
756
|
})),
|
|
757
|
-
className: "w-full rounded-md border border-border bg-
|
|
757
|
+
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary"
|
|
758
758
|
})] })]
|
|
759
759
|
}),
|
|
760
760
|
Q && /* @__PURE__ */ u("div", {
|
|
761
761
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
762
762
|
children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
763
|
-
className: "block text-sm font-medium text-
|
|
763
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
764
764
|
children: "Spice Level"
|
|
765
765
|
}), /* @__PURE__ */ u("select", {
|
|
766
766
|
value: O.spiceLevel,
|
|
@@ -768,7 +768,7 @@ var d = [
|
|
|
768
768
|
...t,
|
|
769
769
|
spiceLevel: e.target.value
|
|
770
770
|
})),
|
|
771
|
-
className: "w-full rounded-md border border-border bg-
|
|
771
|
+
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
|
|
772
772
|
children: [
|
|
773
773
|
/* @__PURE__ */ l("option", {
|
|
774
774
|
value: "none",
|
|
@@ -792,7 +792,7 @@ var d = [
|
|
|
792
792
|
})
|
|
793
793
|
]
|
|
794
794
|
})] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
795
|
-
className: "block text-sm font-medium text-
|
|
795
|
+
className: "block text-sm font-medium text-text-primary mb-2",
|
|
796
796
|
children: "Dietary Options"
|
|
797
797
|
}), /* @__PURE__ */ l("div", {
|
|
798
798
|
className: "space-y-2",
|
|
@@ -801,7 +801,7 @@ var d = [
|
|
|
801
801
|
"isVegan",
|
|
802
802
|
"isGlutenFree"
|
|
803
803
|
].map((e) => /* @__PURE__ */ u("label", {
|
|
804
|
-
className: "flex items-center gap-2 text-sm text-
|
|
804
|
+
className: "flex items-center gap-2 text-sm text-text-primary",
|
|
805
805
|
children: [/* @__PURE__ */ l("input", {
|
|
806
806
|
type: "checkbox",
|
|
807
807
|
checked: O[e],
|
|
@@ -809,13 +809,13 @@ var d = [
|
|
|
809
809
|
...n,
|
|
810
810
|
[e]: t.target.checked
|
|
811
811
|
})),
|
|
812
|
-
className: "rounded border-border"
|
|
812
|
+
className: "rounded border-border-subtle"
|
|
813
813
|
}), e === "isVegetarian" ? "Vegetarian" : e === "isVegan" ? "Vegan" : "Gluten Free"]
|
|
814
814
|
}, e))
|
|
815
815
|
})] })]
|
|
816
816
|
}),
|
|
817
817
|
Z && /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
818
|
-
className: "block text-sm font-medium text-
|
|
818
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
819
819
|
children: "Service Type *"
|
|
820
820
|
}), /* @__PURE__ */ u("select", {
|
|
821
821
|
value: O.serviceType,
|
|
@@ -823,7 +823,7 @@ var d = [
|
|
|
823
823
|
...t,
|
|
824
824
|
serviceType: e.target.value
|
|
825
825
|
})),
|
|
826
|
-
className: "w-full sm:w-64 rounded-md border border-border bg-
|
|
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",
|
|
827
827
|
children: [
|
|
828
828
|
/* @__PURE__ */ l("option", {
|
|
829
829
|
value: "instant",
|
|
@@ -845,7 +845,7 @@ var d = [
|
|
|
845
845
|
})] }),
|
|
846
846
|
/* @__PURE__ */ u("div", { children: [
|
|
847
847
|
/* @__PURE__ */ l("label", {
|
|
848
|
-
className: "block text-sm font-medium text-
|
|
848
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
849
849
|
children: "Tags (comma separated)"
|
|
850
850
|
}),
|
|
851
851
|
/* @__PURE__ */ l("input", {
|
|
@@ -853,10 +853,10 @@ var d = [
|
|
|
853
853
|
value: A,
|
|
854
854
|
onChange: (e) => j(e.target.value),
|
|
855
855
|
placeholder: Z ? "professional, certified, quick" : "popular, spicy, traditional",
|
|
856
|
-
className: "w-full rounded-md border border-border bg-
|
|
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"
|
|
857
857
|
}),
|
|
858
858
|
/* @__PURE__ */ u("p", {
|
|
859
|
-
className: "text-xs text-
|
|
859
|
+
className: "text-xs text-text-secondary mt-1",
|
|
860
860
|
children: [
|
|
861
861
|
A.split(",").map((e) => e.trim()).filter(Boolean).length,
|
|
862
862
|
" ",
|
|
@@ -865,24 +865,24 @@ var d = [
|
|
|
865
865
|
})
|
|
866
866
|
] }),
|
|
867
867
|
Q && /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
868
|
-
className: "block text-sm font-medium text-
|
|
868
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
869
869
|
children: "Allergens (comma separated)"
|
|
870
870
|
}), /* @__PURE__ */ l("input", {
|
|
871
871
|
type: "text",
|
|
872
872
|
value: M,
|
|
873
873
|
onChange: (e) => N(e.target.value),
|
|
874
874
|
placeholder: "nuts, dairy, gluten, soy",
|
|
875
|
-
className: "w-full rounded-md border border-border bg-
|
|
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"
|
|
876
876
|
})] }),
|
|
877
877
|
Z && /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
|
|
878
|
-
className: "block text-sm font-medium text-
|
|
878
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
879
879
|
children: "Service Requirements (comma separated)"
|
|
880
880
|
}), /* @__PURE__ */ l("input", {
|
|
881
881
|
type: "text",
|
|
882
882
|
value: P,
|
|
883
883
|
onChange: (e) => F(e.target.value),
|
|
884
884
|
placeholder: "advance booking, payment required, tools provided",
|
|
885
|
-
className: "w-full rounded-md border border-border bg-
|
|
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"
|
|
886
886
|
})] })
|
|
887
887
|
]
|
|
888
888
|
}),
|
|
@@ -891,13 +891,13 @@ var d = [
|
|
|
891
891
|
children: [/* @__PURE__ */ l("button", {
|
|
892
892
|
type: "button",
|
|
893
893
|
onClick: () => T(!1),
|
|
894
|
-
className: "flex-1 rounded-md border border-border px-4 py-2 text-sm font-medium text-
|
|
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",
|
|
895
895
|
children: "Cancel"
|
|
896
896
|
}), /* @__PURE__ */ l("button", {
|
|
897
897
|
type: "button",
|
|
898
898
|
onClick: de,
|
|
899
899
|
disabled: !$,
|
|
900
|
-
className: t("flex-1 rounded-md px-4 py-2 text-sm font-medium transition-colors", $ ? "bg-accent text-
|
|
900
|
+
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
901
|
children: E ? "Update Item" : "Add Item"
|
|
902
902
|
})]
|
|
903
903
|
})
|