@burdenoff/microfe-movethewheels 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.
- package/dist/{AIAssistantPage-BrHX2lQn.js → AIAssistantPage-AvsMbunM.js} +39 -33
- package/dist/{AnalyticsPage-DI6Wcaw5.js → AnalyticsPage-CCLfHgQZ.js} +44 -33
- package/dist/CreateOrderPage-CjlnEtk3.js +510 -0
- package/dist/CustomerDetailsPage-I6cdDHUi.js +265 -0
- package/dist/CustomersPage-CGGfD4ki.js +163 -0
- package/dist/{DashboardPage-3ZOnwg1a.js → DashboardPage-D2HRqwg9.js} +122 -111
- package/dist/DataTable-CD9ZhpLB.js +249 -0
- package/dist/DriverDetailsPage-rg_pGNuP.js +330 -0
- package/dist/DriversPage-DKiynISH.js +167 -0
- package/dist/FinancePage-Vg8WPs38.js +158 -0
- package/dist/{FleetPage-CPS7r4J3.js → FleetPage-DddXt8r8.js} +124 -85
- package/dist/ImportExportPage-BW6qO3kc.js +248 -0
- package/dist/InventoryPage-rMGuaJN-.js +222 -0
- package/dist/LiveTrackingPage-DQ1q4Id3.js +375 -0
- package/dist/MarketplacePage-DKrXAv62.js +219 -0
- package/dist/MetricCard-B7yMyvMX.js +146 -0
- package/dist/OrderDetailsPage-CFASgsYX.js +431 -0
- package/dist/OrdersListPage-BHeT8S5o.js +309 -0
- package/dist/{PageLayout-xDTiBTDS.js → PageLayout-D3N8MCTm.js} +213 -195
- package/dist/ProductDetailsPage-CFGcbaHo.js +195 -0
- package/dist/ProductsPage--xEpbQ8A.js +171 -0
- package/dist/{ReportsPage-B8OyWGzl.js → ReportsPage-Bb7_90rK.js} +57 -49
- package/dist/RouteDetailsPage-CVtDVb1N.js +282 -0
- package/dist/RoutesPage-s57PtgcQ.js +163 -0
- package/dist/SettingsPage-BYNCBOpN.js +298 -0
- package/dist/{StatusBadge-C--7NhoW.js → StatusBadge-CijYQXtb.js} +5 -2
- package/dist/{TrackingPage-BldUm_g7.js → TrackingPage-CcRc_dva.js} +88 -83
- package/dist/VehicleDetailsPage-3YDMPsPs.js +220 -0
- package/dist/VehiclesPage-UlxPWP9K.js +167 -0
- package/dist/WarehouseDetailsPage-Db7KeN-d.js +238 -0
- package/dist/WarehousesPage-CuTO-OPp.js +164 -0
- package/dist/{arrow-left-Bk5GsGNk.js → arrow-left-CBpZKkpq.js} +1 -1
- package/dist/{box-BAMv2-7M.js → box-CAaiElsb.js} +1 -1
- package/dist/{chart-column-CAfkf4o6.js → chart-column-D1Ym15-S.js} +1 -1
- package/dist/{chevron-right-Czrt_Qew.js → chevron-right-BIFGi0UA.js} +1 -1
- package/dist/{circle-alert-CEuV9Pij.js → circle-alert-DjmNo5_L.js} +1 -1
- package/dist/{circle-check-big-Cx8aO6B-.js → circle-check-big-CjuPVo3_.js} +1 -1
- package/dist/{clock-Be95bq7_.js → clock-BjkdnddD.js} +1 -1
- package/dist/{dollar-sign-kJqItPli.js → dollar-sign-IB4O0wuQ.js} +1 -1
- package/dist/{download-caab0D3V.js → download-Dpa9vqoG.js} +1 -1
- package/dist/{file-text-b1qhrJn1.js → file-text-C8Uioy11.js} +1 -1
- package/dist/{filter-BWmLTZB-.js → filter-Da5OZaHI.js} +1 -1
- package/dist/index.js +16 -16
- package/dist/{map-CS2aFgyO.js → map-_Per4sT9.js} +1 -1
- package/dist/{map-pin-96FeqL7H.js → map-pin-BSaf5IDL.js} +1 -1
- package/dist/{navigation-i6UXEjTC.js → navigation-DaTbrhw2.js} +1 -1
- package/dist/{package-KhSi3xaT.js → package-BE7U0wQE.js} +1 -1
- package/dist/{phone-B-h3tbsr.js → phone-DV4StZiA.js} +1 -1
- package/dist/{plus-D2BYAzMn.js → plus-Dl1rLeJR.js} +1 -1
- package/dist/{refresh-cw-D5Sy01s-.js → refresh-cw-CWfERAit.js} +1 -1
- package/dist/{route-CBDXuwH9.js → route-Dp9JiN_E.js} +1 -1
- package/dist/{save-CMc7h-Vi.js → save-XH8vydOn.js} +1 -1
- package/dist/{search-DVrUQbOg.js → search-OxoIiL_C.js} +1 -1
- package/dist/{settings-BwzIRYv3.js → settings-3Rw5NwFF.js} +1 -1
- package/dist/{square-pen-DmW36Bau.js → square-pen-hLIbFQFV.js} +1 -1
- package/dist/{star-Cv2MzxZL.js → star-YsVV3MNQ.js} +1 -1
- package/dist/{store-CLH957vl.js → store-RCBl7HB-.js} +1 -1
- package/dist/{trending-up-l8M0BO_w.js → trending-up-C-85AwGT.js} +1 -1
- package/dist/{triangle-alert-BI45s6bH.js → triangle-alert-BOhfGgmh.js} +1 -1
- package/dist/{truck-DX3lNQkz.js → truck-CtDjNFbi.js} +1 -1
- package/dist/{user-D8EY1uvt.js → user-Dz5TJZFs.js} +1 -1
- package/dist/{users-CfG0J8wP.js → users-g2N0eL-Z.js} +1 -1
- package/dist/{warehouse-Dt_bAr82.js → warehouse-D3WWDeTX.js} +1 -1
- package/dist/{wrench-C50eI_Iy.js → wrench-CmxY1n4I.js} +1 -1
- package/package.json +2 -2
- package/src/movethewheels/components/DataTable.tsx +41 -6
- package/src/movethewheels/components/MetricCard.tsx +51 -20
- package/src/movethewheels/components/PageLayout.tsx +60 -5
- package/src/movethewheels/components/StatusBadge.tsx +2 -1
- package/src/movethewheels/pages/AIAssistantPage.tsx +11 -3
- package/src/movethewheels/pages/AnalyticsPage.tsx +31 -25
- package/src/movethewheels/pages/CreateOrderPage.tsx +56 -17
- package/src/movethewheels/pages/CustomerDetailsPage.tsx +63 -38
- package/src/movethewheels/pages/CustomersPage.tsx +51 -12
- package/src/movethewheels/pages/DashboardPage.tsx +62 -48
- package/src/movethewheels/pages/DriverDetailsPage.tsx +57 -26
- package/src/movethewheels/pages/DriversPage.tsx +45 -12
- package/src/movethewheels/pages/FinancePage.tsx +45 -41
- package/src/movethewheels/pages/FleetPage.tsx +82 -34
- package/src/movethewheels/pages/ImportExportPage.tsx +46 -29
- package/src/movethewheels/pages/InventoryPage.tsx +37 -33
- package/src/movethewheels/pages/LiveTrackingPage.tsx +58 -20
- package/src/movethewheels/pages/MarketplacePage.tsx +37 -3
- package/src/movethewheels/pages/OrderDetailsPage.tsx +74 -46
- package/src/movethewheels/pages/OrdersListPage.tsx +81 -14
- package/src/movethewheels/pages/ProductDetailsPage.tsx +36 -11
- package/src/movethewheels/pages/ProductsPage.tsx +41 -12
- package/src/movethewheels/pages/ReportsPage.tsx +23 -19
- package/src/movethewheels/pages/RouteDetailsPage.tsx +71 -31
- package/src/movethewheels/pages/RoutesPage.tsx +48 -9
- package/src/movethewheels/pages/SettingsPage.tsx +68 -26
- package/src/movethewheels/pages/TrackingPage.tsx +52 -49
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +49 -24
- package/src/movethewheels/pages/VehiclesPage.tsx +41 -15
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +55 -30
- package/src/movethewheels/pages/WarehousesPage.tsx +46 -9
- package/dist/CreateOrderPage-DfkSi6JF.js +0 -471
- package/dist/CustomerDetailsPage-DzAIu_tH.js +0 -239
- package/dist/CustomersPage-d21ixOYa.js +0 -119
- package/dist/DataTable-CZGz3SJu.js +0 -239
- package/dist/DriverDetailsPage-YuZSlPSV.js +0 -297
- package/dist/DriversPage-BOhqEBTv.js +0 -127
- package/dist/FinancePage-CnjUNXOb.js +0 -154
- package/dist/ImportExportPage-zNjs7xsV.js +0 -232
- package/dist/InventoryPage-C9g5d3SW.js +0 -223
- package/dist/LiveTrackingPage-DoBvtdBG.js +0 -332
- package/dist/MarketplacePage-BEj5hcBF.js +0 -192
- package/dist/MetricCard-DeHVeVwl.js +0 -135
- package/dist/OrderDetailsPage-D-9lDZYU.js +0 -398
- package/dist/OrdersListPage-CJzHbgY3.js +0 -257
- package/dist/ProductDetailsPage-3rKtzXpy.js +0 -168
- package/dist/ProductsPage-B0P_wjBJ.js +0 -131
- package/dist/RouteDetailsPage-DGjKTUMj.js +0 -240
- package/dist/RoutesPage-CpopY8xN.js +0 -116
- package/dist/SettingsPage-BvXSa3gi.js +0 -247
- package/dist/VehicleDetailsPage-Dqv--MVW.js +0 -194
- package/dist/VehiclesPage-CCBHRDHu.js +0 -127
- package/dist/WarehouseDetailsPage-ZObC_c7W.js +0 -215
- package/dist/WarehousesPage-CpgZEVW9.js +0 -121
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { createElement as t, forwardRef as n } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { Badge as
|
|
3
|
+
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import { AuroraBackground as o, Badge as s, Button as c, Card as l, CardContent as u, CardDescription as d, CardFooter as ee, CardHeader as f, CardTitle as p, Checkbox as m, Dialog as h, DialogContent as g, DialogDescription as te, DialogFooter as _, DialogHeader as v, DialogTitle as y, DialogTrigger as b, DropdownMenu as x, DropdownMenuContent as S, DropdownMenuItem as C, DropdownMenuSeparator as ne, DropdownMenuTrigger as re, GradientText as w, IllustratedEmptyState as ie, Input as T, Label as E, ScrollArea as D, Select as O, SelectContent as k, SelectItem as A, SelectTrigger as j, SelectValue as ae, Separator as oe, Skeleton as se, Switch as M, Table as N, TableBody as P, TableCell as F, TableHead as ce, TableHeader as I, TableRow as le, Tabs as L, TabsContent as R, TabsList as z, TabsTrigger as B, Textarea as ue, Tooltip as de, TooltipContent as fe, TooltipProvider as pe, TooltipTrigger as me } from "@burdenoff/fe-libs/ui";
|
|
5
5
|
//#region node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
6
|
-
var
|
|
6
|
+
var he = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), ge = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), _e = {
|
|
7
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8
8
|
width: 24,
|
|
9
9
|
height: 24,
|
|
@@ -13,74 +13,74 @@ var de = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), fe = (..
|
|
|
13
13
|
strokeWidth: 2,
|
|
14
14
|
strokeLinecap: "round",
|
|
15
15
|
strokeLinejoin: "round"
|
|
16
|
-
},
|
|
16
|
+
}, ve = n(({ color: e = "currentColor", size: n = 24, strokeWidth: r = 2, absoluteStrokeWidth: i, className: a = "", children: o, iconNode: s, ...c }, l) => t("svg", {
|
|
17
17
|
ref: l,
|
|
18
|
-
...
|
|
18
|
+
..._e,
|
|
19
19
|
width: n,
|
|
20
20
|
height: n,
|
|
21
21
|
stroke: e,
|
|
22
22
|
strokeWidth: i ? Number(r) * 24 / Number(n) : r,
|
|
23
|
-
className:
|
|
23
|
+
className: ge("lucide", a),
|
|
24
24
|
...c
|
|
25
|
-
}, [...s.map(([e, n]) => t(e, n)), ...Array.isArray(o) ? o : [o]])),
|
|
26
|
-
let i = n(({ className: n, ...i }, a) => t(
|
|
25
|
+
}, [...s.map(([e, n]) => t(e, n)), ...Array.isArray(o) ? o : [o]])), ye = (e, r) => {
|
|
26
|
+
let i = n(({ className: n, ...i }, a) => t(ve, {
|
|
27
27
|
ref: a,
|
|
28
28
|
iconNode: r,
|
|
29
|
-
className:
|
|
29
|
+
className: ge(`lucide-${he(e)}`, n),
|
|
30
30
|
...i
|
|
31
31
|
}));
|
|
32
32
|
return i.displayName = `${e}`, i;
|
|
33
33
|
};
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region node_modules/clsx/dist/clsx.mjs
|
|
36
|
-
function
|
|
36
|
+
function be(e) {
|
|
37
37
|
var t, n, r = "";
|
|
38
38
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
39
39
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
40
40
|
var i = e.length;
|
|
41
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
41
|
+
for (t = 0; t < i; t++) e[t] && (n = be(e[t])) && (r && (r += " "), r += n);
|
|
42
42
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
43
43
|
return r;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
45
|
+
function xe() {
|
|
46
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = be(e)) && (r && (r += " "), r += t);
|
|
47
47
|
return r;
|
|
48
48
|
}
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
51
|
-
var
|
|
51
|
+
var Se = (e, t) => {
|
|
52
52
|
let n = Array(e.length + t.length);
|
|
53
53
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
54
54
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
55
55
|
return n;
|
|
56
|
-
},
|
|
56
|
+
}, Ce = (e, t) => ({
|
|
57
57
|
classGroupId: e,
|
|
58
58
|
validator: t
|
|
59
|
-
}),
|
|
59
|
+
}), we = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
60
60
|
nextPart: e,
|
|
61
61
|
validators: t,
|
|
62
62
|
classGroupId: n
|
|
63
|
-
}), V = "-",
|
|
64
|
-
let t =
|
|
63
|
+
}), V = "-", Te = [], Ee = "arbitrary..", De = (e) => {
|
|
64
|
+
let t = Ae(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
65
65
|
return {
|
|
66
66
|
getClassGroupId: (e) => {
|
|
67
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
67
|
+
if (e.startsWith("[") && e.endsWith("]")) return ke(e);
|
|
68
68
|
let n = e.split(V);
|
|
69
|
-
return
|
|
69
|
+
return Oe(n, +(n[0] === "" && n.length > 1), t);
|
|
70
70
|
},
|
|
71
71
|
getConflictingClassGroupIds: (e, t) => {
|
|
72
72
|
if (t) {
|
|
73
73
|
let t = r[e], i = n[e];
|
|
74
|
-
return t ? i ?
|
|
74
|
+
return t ? i ? Se(i, t) : t : i || Te;
|
|
75
75
|
}
|
|
76
|
-
return n[e] ||
|
|
76
|
+
return n[e] || Te;
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
|
-
},
|
|
79
|
+
}, Oe = (e, t, n) => {
|
|
80
80
|
if (e.length - t === 0) return n.classGroupId;
|
|
81
81
|
let r = e[t], i = n.nextPart.get(r);
|
|
82
82
|
if (i) {
|
|
83
|
-
let n =
|
|
83
|
+
let n = Oe(e, t + 1, i);
|
|
84
84
|
if (n) return n;
|
|
85
85
|
}
|
|
86
86
|
let a = n.validators;
|
|
@@ -90,58 +90,58 @@ var ve = (e, t) => {
|
|
|
90
90
|
let t = a[e];
|
|
91
91
|
if (t.validator(o)) return t.classGroupId;
|
|
92
92
|
}
|
|
93
|
-
},
|
|
93
|
+
}, ke = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
94
94
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
95
|
-
return r ?
|
|
96
|
-
})(),
|
|
95
|
+
return r ? Ee + r : void 0;
|
|
96
|
+
})(), Ae = (e) => {
|
|
97
97
|
let { theme: t, classGroups: n } = e;
|
|
98
|
-
return
|
|
99
|
-
},
|
|
100
|
-
let n =
|
|
98
|
+
return je(n, t);
|
|
99
|
+
}, je = (e, t) => {
|
|
100
|
+
let n = we();
|
|
101
101
|
for (let r in e) {
|
|
102
102
|
let i = e[r];
|
|
103
|
-
|
|
103
|
+
Me(i, n, r, t);
|
|
104
104
|
}
|
|
105
105
|
return n;
|
|
106
|
-
},
|
|
106
|
+
}, Me = (e, t, n, r) => {
|
|
107
107
|
let i = e.length;
|
|
108
108
|
for (let a = 0; a < i; a++) {
|
|
109
109
|
let i = e[a];
|
|
110
|
-
|
|
110
|
+
Ne(i, t, n, r);
|
|
111
111
|
}
|
|
112
|
-
},
|
|
112
|
+
}, Ne = (e, t, n, r) => {
|
|
113
113
|
if (typeof e == "string") {
|
|
114
|
-
|
|
114
|
+
Pe(e, t, n);
|
|
115
115
|
return;
|
|
116
116
|
}
|
|
117
117
|
if (typeof e == "function") {
|
|
118
|
-
|
|
118
|
+
Fe(e, t, n, r);
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
let r = e === "" ? t :
|
|
121
|
+
Ie(e, t, n, r);
|
|
122
|
+
}, Pe = (e, t, n) => {
|
|
123
|
+
let r = e === "" ? t : Le(t, e);
|
|
124
124
|
r.classGroupId = n;
|
|
125
|
-
},
|
|
126
|
-
if (
|
|
127
|
-
|
|
125
|
+
}, Fe = (e, t, n, r) => {
|
|
126
|
+
if (Re(e)) {
|
|
127
|
+
Me(e(r), t, n, r);
|
|
128
128
|
return;
|
|
129
129
|
}
|
|
130
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
131
|
-
},
|
|
130
|
+
t.validators === null && (t.validators = []), t.validators.push(Ce(n, e));
|
|
131
|
+
}, Ie = (e, t, n, r) => {
|
|
132
132
|
let i = Object.entries(e), a = i.length;
|
|
133
133
|
for (let e = 0; e < a; e++) {
|
|
134
134
|
let [a, o] = i[e];
|
|
135
|
-
|
|
135
|
+
Me(o, Le(t, a), n, r);
|
|
136
136
|
}
|
|
137
|
-
},
|
|
137
|
+
}, Le = (e, t) => {
|
|
138
138
|
let n = e, r = t.split(V), i = r.length;
|
|
139
139
|
for (let e = 0; e < i; e++) {
|
|
140
140
|
let t = r[e], i = n.nextPart.get(t);
|
|
141
|
-
i || (i =
|
|
141
|
+
i || (i = we(), n.nextPart.set(t, i)), n = i;
|
|
142
142
|
}
|
|
143
143
|
return n;
|
|
144
|
-
},
|
|
144
|
+
}, Re = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ze = (e) => {
|
|
145
145
|
if (e < 1) return {
|
|
146
146
|
get: () => void 0,
|
|
147
147
|
set: () => {}
|
|
@@ -159,19 +159,19 @@ var ve = (e, t) => {
|
|
|
159
159
|
e in n ? n[e] = t : i(e, t);
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
|
-
},
|
|
162
|
+
}, Be = "!", Ve = ":", He = [], Ue = (e, t, n, r, i) => ({
|
|
163
163
|
modifiers: e,
|
|
164
164
|
hasImportantModifier: t,
|
|
165
165
|
baseClassName: n,
|
|
166
166
|
maybePostfixModifierPosition: r,
|
|
167
167
|
isExternal: i
|
|
168
|
-
}),
|
|
168
|
+
}), We = (e) => {
|
|
169
169
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
170
170
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
171
171
|
for (let s = 0; s < o; s++) {
|
|
172
172
|
let o = e[s];
|
|
173
173
|
if (n === 0 && r === 0) {
|
|
174
|
-
if (o ===
|
|
174
|
+
if (o === Ve) {
|
|
175
175
|
t.push(e.slice(i, s)), i = s + 1;
|
|
176
176
|
continue;
|
|
177
177
|
}
|
|
@@ -183,13 +183,13 @@ var ve = (e, t) => {
|
|
|
183
183
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
184
184
|
}
|
|
185
185
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
186
|
-
s.endsWith(
|
|
186
|
+
s.endsWith(Be) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Be) && (c = s.slice(1), l = !0);
|
|
187
187
|
let u = a && a > i ? a - i : void 0;
|
|
188
|
-
return
|
|
188
|
+
return Ue(t, l, c, u);
|
|
189
189
|
};
|
|
190
190
|
if (t) {
|
|
191
|
-
let e = t +
|
|
192
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) :
|
|
191
|
+
let e = t + Ve, n = r;
|
|
192
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Ue(He, !1, t, void 0, !0);
|
|
193
193
|
}
|
|
194
194
|
if (n) {
|
|
195
195
|
let e = r;
|
|
@@ -199,7 +199,7 @@ var ve = (e, t) => {
|
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
return r;
|
|
202
|
-
},
|
|
202
|
+
}, Ge = (e) => {
|
|
203
203
|
let t = /* @__PURE__ */ new Map();
|
|
204
204
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
205
205
|
t.set(e, 1e6 + n);
|
|
@@ -211,80 +211,80 @@ var ve = (e, t) => {
|
|
|
211
211
|
}
|
|
212
212
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
213
213
|
};
|
|
214
|
-
},
|
|
215
|
-
cache:
|
|
216
|
-
parseClassName:
|
|
217
|
-
sortModifiers:
|
|
218
|
-
postfixLookupClassGroupIds:
|
|
219
|
-
...
|
|
220
|
-
}),
|
|
214
|
+
}, Ke = (e) => ({
|
|
215
|
+
cache: ze(e.cacheSize),
|
|
216
|
+
parseClassName: We(e),
|
|
217
|
+
sortModifiers: Ge(e),
|
|
218
|
+
postfixLookupClassGroupIds: qe(e),
|
|
219
|
+
...De(e)
|
|
220
|
+
}), qe = (e) => {
|
|
221
221
|
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
222
222
|
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
223
223
|
return t;
|
|
224
|
-
},
|
|
225
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
224
|
+
}, Je = /\s+/, Ye = (e, t) => {
|
|
225
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Je), l = "";
|
|
226
226
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
227
|
-
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: ee, baseClassName: f, maybePostfixModifierPosition:
|
|
227
|
+
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: ee, baseClassName: f, maybePostfixModifierPosition: p } = n(t);
|
|
228
228
|
if (u) {
|
|
229
229
|
l = t + (l.length > 0 ? " " + l : l);
|
|
230
230
|
continue;
|
|
231
231
|
}
|
|
232
|
-
let
|
|
233
|
-
if (
|
|
234
|
-
|
|
235
|
-
let e =
|
|
236
|
-
e && e !==
|
|
237
|
-
} else
|
|
238
|
-
if (!
|
|
239
|
-
if (!
|
|
232
|
+
let m = !!p, h;
|
|
233
|
+
if (m) {
|
|
234
|
+
h = r(f.substring(0, p));
|
|
235
|
+
let e = h && o[h] ? r(f) : void 0;
|
|
236
|
+
e && e !== h && (h = e, m = !1);
|
|
237
|
+
} else h = r(f);
|
|
238
|
+
if (!h) {
|
|
239
|
+
if (!m) {
|
|
240
240
|
l = t + (l.length > 0 ? " " + l : l);
|
|
241
241
|
continue;
|
|
242
242
|
}
|
|
243
|
-
if (
|
|
243
|
+
if (h = r(f), !h) {
|
|
244
244
|
l = t + (l.length > 0 ? " " + l : l);
|
|
245
245
|
continue;
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
m = !1;
|
|
248
248
|
}
|
|
249
|
-
let
|
|
249
|
+
let g = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), te = ee ? g + Be : g, _ = te + h;
|
|
250
250
|
if (s.indexOf(_) > -1) continue;
|
|
251
251
|
s.push(_);
|
|
252
|
-
let v = i(
|
|
252
|
+
let v = i(h, m);
|
|
253
253
|
for (let e = 0; e < v.length; ++e) {
|
|
254
254
|
let t = v[e];
|
|
255
|
-
s.push(
|
|
255
|
+
s.push(te + t);
|
|
256
256
|
}
|
|
257
257
|
l = t + (l.length > 0 ? " " + l : l);
|
|
258
258
|
}
|
|
259
259
|
return l;
|
|
260
|
-
},
|
|
260
|
+
}, Xe = (...e) => {
|
|
261
261
|
let t = 0, n, r, i = "";
|
|
262
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
262
|
+
for (; t < e.length;) (n = e[t++]) && (r = Ze(n)) && (i && (i += " "), i += r);
|
|
263
263
|
return i;
|
|
264
|
-
},
|
|
264
|
+
}, Ze = (e) => {
|
|
265
265
|
if (typeof e == "string") return e;
|
|
266
266
|
let t, n = "";
|
|
267
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
267
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = Ze(e[r])) && (n && (n += " "), n += t);
|
|
268
268
|
return n;
|
|
269
|
-
},
|
|
270
|
-
let n, r, i, a, o = (o) => (n =
|
|
269
|
+
}, Qe = (e, ...t) => {
|
|
270
|
+
let n, r, i, a, o = (o) => (n = Ke(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
271
271
|
let t = r(e);
|
|
272
272
|
if (t) return t;
|
|
273
|
-
let a =
|
|
273
|
+
let a = Ye(e, n);
|
|
274
274
|
return i(e, a), a;
|
|
275
275
|
};
|
|
276
|
-
return a = o, (...e) => a(
|
|
277
|
-
},
|
|
278
|
-
let t = (t) => t[e] ||
|
|
276
|
+
return a = o, (...e) => a(Xe(...e));
|
|
277
|
+
}, $e = [], H = (e) => {
|
|
278
|
+
let t = (t) => t[e] || $e;
|
|
279
279
|
return t.isThemeGetter = !0, t;
|
|
280
|
-
},
|
|
281
|
-
let r =
|
|
280
|
+
}, et = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, tt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, nt = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, rt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, it = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, at = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ot = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, st = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, U = (e) => nt.test(e), W = (e) => !!e && !Number.isNaN(Number(e)), G = (e) => !!e && Number.isInteger(Number(e)), ct = (e) => e.endsWith("%") && W(e.slice(0, -1)), K = (e) => rt.test(e), lt = () => !0, ut = (e) => it.test(e) && !at.test(e), dt = () => !1, ft = (e) => ot.test(e), pt = (e) => st.test(e), mt = (e) => !q(e) && !Y(e), ht = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), gt = (e) => Z(e, jt, dt), q = (e) => et.test(e), J = (e) => Z(e, Mt, ut), _t = (e) => Z(e, Nt, W), vt = (e) => Z(e, Ft, lt), yt = (e) => Z(e, Pt, dt), bt = (e) => Z(e, kt, dt), xt = (e) => Z(e, At, pt), St = (e) => Z(e, It, ft), Y = (e) => tt.test(e), X = (e) => Q(e, Mt), Ct = (e) => Q(e, Pt), wt = (e) => Q(e, kt), Tt = (e) => Q(e, jt), Et = (e) => Q(e, At), Dt = (e) => Q(e, It, !0), Ot = (e) => Q(e, Ft, !0), Z = (e, t, n) => {
|
|
281
|
+
let r = et.exec(e);
|
|
282
282
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
283
283
|
}, Q = (e, t, n = !1) => {
|
|
284
|
-
let r =
|
|
284
|
+
let r = tt.exec(e);
|
|
285
285
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
286
|
-
},
|
|
287
|
-
let e = H("color"), t = H("font"), n = H("text"), r = H("font-weight"), i = H("tracking"), a = H("leading"), o = H("breakpoint"), s = H("container"), c = H("spacing"), l = H("radius"), u = H("shadow"), d = H("inset-shadow"), ee = H("text-shadow"), f = H("drop-shadow"),
|
|
286
|
+
}, kt = (e) => e === "position" || e === "percentage", At = (e) => e === "image" || e === "url", jt = (e) => e === "length" || e === "size" || e === "bg-size", Mt = (e) => e === "length", Nt = (e) => e === "number", Pt = (e) => e === "family-name", Ft = (e) => e === "number" || e === "weight", It = (e) => e === "shadow", Lt = /* @__PURE__ */ Qe(() => {
|
|
287
|
+
let e = H("color"), t = H("font"), n = H("text"), r = H("font-weight"), i = H("tracking"), a = H("leading"), o = H("breakpoint"), s = H("container"), c = H("spacing"), l = H("radius"), u = H("shadow"), d = H("inset-shadow"), ee = H("text-shadow"), f = H("drop-shadow"), p = H("blur"), m = H("perspective"), h = H("aspect"), g = H("ease"), te = H("animate"), _ = () => [
|
|
288
288
|
"auto",
|
|
289
289
|
"avoid",
|
|
290
290
|
"all",
|
|
@@ -420,8 +420,8 @@ var ve = (e, t) => {
|
|
|
420
420
|
q
|
|
421
421
|
], ae = () => [
|
|
422
422
|
...v(),
|
|
423
|
+
wt,
|
|
423
424
|
bt,
|
|
424
|
-
gt,
|
|
425
425
|
{ position: [Y, q] }
|
|
426
426
|
], oe = () => ["no-repeat", { repeat: [
|
|
427
427
|
"",
|
|
@@ -433,11 +433,11 @@ var ve = (e, t) => {
|
|
|
433
433
|
"auto",
|
|
434
434
|
"cover",
|
|
435
435
|
"contain",
|
|
436
|
-
|
|
437
|
-
|
|
436
|
+
Tt,
|
|
437
|
+
gt,
|
|
438
438
|
{ size: [Y, q] }
|
|
439
439
|
], M = () => [
|
|
440
|
-
|
|
440
|
+
ct,
|
|
441
441
|
X,
|
|
442
442
|
J
|
|
443
443
|
], N = () => [
|
|
@@ -476,13 +476,13 @@ var ve = (e, t) => {
|
|
|
476
476
|
"luminosity"
|
|
477
477
|
], I = () => [
|
|
478
478
|
W,
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
479
|
+
ct,
|
|
480
|
+
wt,
|
|
481
|
+
bt
|
|
482
482
|
], le = () => [
|
|
483
483
|
"",
|
|
484
484
|
"none",
|
|
485
|
-
|
|
485
|
+
p,
|
|
486
486
|
Y,
|
|
487
487
|
q
|
|
488
488
|
], L = () => [
|
|
@@ -516,7 +516,7 @@ var ve = (e, t) => {
|
|
|
516
516
|
aspect: ["video"],
|
|
517
517
|
blur: [K],
|
|
518
518
|
breakpoint: [K],
|
|
519
|
-
color: [
|
|
519
|
+
color: [lt],
|
|
520
520
|
container: [K],
|
|
521
521
|
"drop-shadow": [K],
|
|
522
522
|
ease: [
|
|
@@ -524,7 +524,7 @@ var ve = (e, t) => {
|
|
|
524
524
|
"out",
|
|
525
525
|
"in-out"
|
|
526
526
|
],
|
|
527
|
-
font: [
|
|
527
|
+
font: [mt],
|
|
528
528
|
"font-weight": [
|
|
529
529
|
"thin",
|
|
530
530
|
"extralight",
|
|
@@ -574,7 +574,7 @@ var ve = (e, t) => {
|
|
|
574
574
|
U,
|
|
575
575
|
q,
|
|
576
576
|
Y,
|
|
577
|
-
|
|
577
|
+
h
|
|
578
578
|
] }],
|
|
579
579
|
container: ["container"],
|
|
580
580
|
"container-type": [{ "@container": [
|
|
@@ -584,7 +584,7 @@ var ve = (e, t) => {
|
|
|
584
584
|
Y,
|
|
585
585
|
q
|
|
586
586
|
] }],
|
|
587
|
-
"container-named": [
|
|
587
|
+
"container-named": [ht],
|
|
588
588
|
columns: [{ columns: [
|
|
589
589
|
W,
|
|
590
590
|
q,
|
|
@@ -847,8 +847,8 @@ var ve = (e, t) => {
|
|
|
847
847
|
"font-style": ["italic", "not-italic"],
|
|
848
848
|
"font-weight": [{ font: [
|
|
849
849
|
r,
|
|
850
|
-
|
|
851
|
-
|
|
850
|
+
Ot,
|
|
851
|
+
vt
|
|
852
852
|
] }],
|
|
853
853
|
"font-stretch": [{ "font-stretch": [
|
|
854
854
|
"ultra-condensed",
|
|
@@ -860,12 +860,12 @@ var ve = (e, t) => {
|
|
|
860
860
|
"expanded",
|
|
861
861
|
"extra-expanded",
|
|
862
862
|
"ultra-expanded",
|
|
863
|
-
|
|
863
|
+
ct,
|
|
864
864
|
q
|
|
865
865
|
] }],
|
|
866
866
|
"font-family": [{ font: [
|
|
867
|
+
Ct,
|
|
867
868
|
yt,
|
|
868
|
-
ht,
|
|
869
869
|
t
|
|
870
870
|
] }],
|
|
871
871
|
"font-features": [{ "font-features": [q] }],
|
|
@@ -884,7 +884,7 @@ var ve = (e, t) => {
|
|
|
884
884
|
W,
|
|
885
885
|
"none",
|
|
886
886
|
Y,
|
|
887
|
-
|
|
887
|
+
_t
|
|
888
888
|
] }],
|
|
889
889
|
leading: [{ leading: [a, ...S()] }],
|
|
890
890
|
"list-image": [{ "list-image": [
|
|
@@ -1043,8 +1043,8 @@ var ve = (e, t) => {
|
|
|
1043
1043
|
q
|
|
1044
1044
|
]
|
|
1045
1045
|
},
|
|
1046
|
-
|
|
1047
|
-
|
|
1046
|
+
Et,
|
|
1047
|
+
xt
|
|
1048
1048
|
] }],
|
|
1049
1049
|
"bg-color": [{ bg: j() }],
|
|
1050
1050
|
"gradient-from-pos": [{ from: M() }],
|
|
@@ -1126,15 +1126,15 @@ var ve = (e, t) => {
|
|
|
1126
1126
|
"",
|
|
1127
1127
|
"none",
|
|
1128
1128
|
u,
|
|
1129
|
-
|
|
1130
|
-
|
|
1129
|
+
Dt,
|
|
1130
|
+
St
|
|
1131
1131
|
] }],
|
|
1132
1132
|
"shadow-color": [{ shadow: j() }],
|
|
1133
1133
|
"inset-shadow": [{ "inset-shadow": [
|
|
1134
1134
|
"none",
|
|
1135
1135
|
d,
|
|
1136
|
-
|
|
1137
|
-
|
|
1136
|
+
Dt,
|
|
1137
|
+
St
|
|
1138
1138
|
] }],
|
|
1139
1139
|
"inset-shadow-color": [{ "inset-shadow": j() }],
|
|
1140
1140
|
"ring-w": [{ ring: P() }],
|
|
@@ -1147,8 +1147,8 @@ var ve = (e, t) => {
|
|
|
1147
1147
|
"text-shadow": [{ "text-shadow": [
|
|
1148
1148
|
"none",
|
|
1149
1149
|
ee,
|
|
1150
|
-
|
|
1151
|
-
|
|
1150
|
+
Dt,
|
|
1151
|
+
St
|
|
1152
1152
|
] }],
|
|
1153
1153
|
"text-shadow-color": [{ "text-shadow": j() }],
|
|
1154
1154
|
opacity: [{ opacity: [
|
|
@@ -1264,8 +1264,8 @@ var ve = (e, t) => {
|
|
|
1264
1264
|
"",
|
|
1265
1265
|
"none",
|
|
1266
1266
|
f,
|
|
1267
|
-
|
|
1268
|
-
|
|
1267
|
+
Dt,
|
|
1268
|
+
St
|
|
1269
1269
|
] }],
|
|
1270
1270
|
"drop-shadow-color": [{ "drop-shadow": j() }],
|
|
1271
1271
|
grayscale: [{ grayscale: [
|
|
@@ -1373,7 +1373,7 @@ var ve = (e, t) => {
|
|
|
1373
1373
|
ease: [{ ease: [
|
|
1374
1374
|
"linear",
|
|
1375
1375
|
"initial",
|
|
1376
|
-
|
|
1376
|
+
g,
|
|
1377
1377
|
Y,
|
|
1378
1378
|
q
|
|
1379
1379
|
] }],
|
|
@@ -1384,13 +1384,13 @@ var ve = (e, t) => {
|
|
|
1384
1384
|
] }],
|
|
1385
1385
|
animate: [{ animate: [
|
|
1386
1386
|
"none",
|
|
1387
|
-
|
|
1387
|
+
te,
|
|
1388
1388
|
Y,
|
|
1389
1389
|
q
|
|
1390
1390
|
] }],
|
|
1391
1391
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1392
1392
|
perspective: [{ perspective: [
|
|
1393
|
-
|
|
1393
|
+
m,
|
|
1394
1394
|
Y,
|
|
1395
1395
|
q
|
|
1396
1396
|
] }],
|
|
@@ -1570,7 +1570,7 @@ var ve = (e, t) => {
|
|
|
1570
1570
|
W,
|
|
1571
1571
|
X,
|
|
1572
1572
|
J,
|
|
1573
|
-
|
|
1573
|
+
_t
|
|
1574
1574
|
] }],
|
|
1575
1575
|
stroke: [{ stroke: ["none", ...j()] }],
|
|
1576
1576
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
@@ -1762,44 +1762,44 @@ var ve = (e, t) => {
|
|
|
1762
1762
|
//#endregion
|
|
1763
1763
|
//#region src/movethewheels/utils/cn.ts
|
|
1764
1764
|
function $(...e) {
|
|
1765
|
-
return
|
|
1765
|
+
return Lt(xe(e));
|
|
1766
1766
|
}
|
|
1767
1767
|
//#endregion
|
|
1768
1768
|
//#region src/movethewheels/components/ui.tsx
|
|
1769
|
-
var
|
|
1769
|
+
var Rt = e.forwardRef(({ className: e, value: t = 0, max: n = 100, ...r }, a) => {
|
|
1770
1770
|
let o = Math.min(Math.max(t / n * 100, 0), 100);
|
|
1771
|
-
return /* @__PURE__ */
|
|
1771
|
+
return /* @__PURE__ */ i("div", {
|
|
1772
1772
|
ref: a,
|
|
1773
1773
|
className: $("relative h-2 w-full overflow-hidden rounded-full bg-bg-sunken", e),
|
|
1774
|
-
...
|
|
1775
|
-
children: /* @__PURE__ */
|
|
1774
|
+
...r,
|
|
1775
|
+
children: /* @__PURE__ */ i("div", {
|
|
1776
1776
|
className: "h-full bg-action-primary-bg transition-all duration-300 ease-in-out",
|
|
1777
1777
|
style: { width: `${o}%` }
|
|
1778
1778
|
})
|
|
1779
1779
|
});
|
|
1780
1780
|
});
|
|
1781
|
-
|
|
1782
|
-
var
|
|
1781
|
+
Rt.displayName = "Progress";
|
|
1782
|
+
var zt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ i("div", {
|
|
1783
1783
|
ref: n,
|
|
1784
1784
|
className: $("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
|
|
1785
1785
|
...t
|
|
1786
1786
|
}));
|
|
1787
|
-
|
|
1788
|
-
var
|
|
1787
|
+
zt.displayName = "Avatar";
|
|
1788
|
+
var Bt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ i("img", {
|
|
1789
1789
|
ref: n,
|
|
1790
1790
|
className: $("aspect-square h-full w-full", e),
|
|
1791
1791
|
...t
|
|
1792
1792
|
}));
|
|
1793
|
-
|
|
1794
|
-
var
|
|
1793
|
+
Bt.displayName = "AvatarImage";
|
|
1794
|
+
var Vt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ i("div", {
|
|
1795
1795
|
ref: n,
|
|
1796
1796
|
className: $("flex h-full w-full items-center justify-center rounded-full bg-bg-sunken", e),
|
|
1797
1797
|
...t
|
|
1798
1798
|
}));
|
|
1799
|
-
|
|
1799
|
+
Vt.displayName = "AvatarFallback";
|
|
1800
1800
|
//#endregion
|
|
1801
1801
|
//#region src/movethewheels/components/PageLayout.tsx
|
|
1802
|
-
var
|
|
1802
|
+
var Ht = {
|
|
1803
1803
|
sm: "max-w-screen-sm",
|
|
1804
1804
|
md: "max-w-screen-md",
|
|
1805
1805
|
lg: "max-w-screen-lg",
|
|
@@ -1808,107 +1808,125 @@ var Rt = {
|
|
|
1808
1808
|
"3xl": "max-w-[1600px]",
|
|
1809
1809
|
full: "max-w-full"
|
|
1810
1810
|
};
|
|
1811
|
-
function
|
|
1812
|
-
return /* @__PURE__ */
|
|
1813
|
-
className: $("min-h-full w-full", "px-4 sm:px-6 lg:px-8 xl:px-12", "py-6 sm:py-8 lg:py-10", "animate-in fade-in-0 slide-in-from-bottom-4 duration-500",
|
|
1814
|
-
children: /* @__PURE__ */
|
|
1815
|
-
className: $("mx-auto w-full",
|
|
1816
|
-
children: [
|
|
1817
|
-
className: "mb-6 sm:mb-8",
|
|
1818
|
-
children: [
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
className: "
|
|
1822
|
-
children: [
|
|
1823
|
-
className: "
|
|
1824
|
-
children: [
|
|
1825
|
-
className: "flex
|
|
1826
|
-
children:
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1811
|
+
function Ut({ children: e, title: t, subtitle: n, icon: s, headerActions: c, headerContent: l, maxWidth: u = "xl", showHeader: d = !0, className: ee, contentClassName: f, hero: p = !1, titleAccent: m }) {
|
|
1812
|
+
return /* @__PURE__ */ i("div", {
|
|
1813
|
+
className: $("min-h-full w-full", "px-4 sm:px-6 lg:px-8 xl:px-12", "py-6 sm:py-8 lg:py-10", "animate-in fade-in-0 slide-in-from-bottom-4 duration-500", ee),
|
|
1814
|
+
children: /* @__PURE__ */ a("div", {
|
|
1815
|
+
className: $("mx-auto w-full", Ht[u], f),
|
|
1816
|
+
children: [d && (t || c) && /* @__PURE__ */ a("header", {
|
|
1817
|
+
className: $("mb-6 sm:mb-8", p && "relative overflow-hidden rounded-card border border-border-seam bg-hero-mesh px-5 py-6 sm:px-7 sm:py-8"),
|
|
1818
|
+
children: [
|
|
1819
|
+
p && /* @__PURE__ */ i(o, { intensity: "subtle" }),
|
|
1820
|
+
/* @__PURE__ */ a("div", {
|
|
1821
|
+
className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
1822
|
+
children: [/* @__PURE__ */ a("div", {
|
|
1823
|
+
className: "space-y-1",
|
|
1824
|
+
children: [(t || s) && /* @__PURE__ */ a("div", {
|
|
1825
|
+
className: "flex items-center gap-3",
|
|
1826
|
+
children: [s && /* @__PURE__ */ i("div", {
|
|
1827
|
+
className: "flex-shrink-0 p-2.5 rounded-xl bg-action-primary-bg/10 text-action-primary-bg",
|
|
1828
|
+
children: s
|
|
1829
|
+
}), t && /* @__PURE__ */ i("h1", {
|
|
1830
|
+
className: "text-2xl sm:text-3xl font-bold tracking-tight text-text-primary",
|
|
1831
|
+
children: ((e) => {
|
|
1832
|
+
if (!m || !e.includes(m)) return e;
|
|
1833
|
+
let [t, n] = e.split(m);
|
|
1834
|
+
return /* @__PURE__ */ a(r, { children: [
|
|
1835
|
+
t,
|
|
1836
|
+
/* @__PURE__ */ i(w, { children: m }),
|
|
1837
|
+
n
|
|
1838
|
+
] });
|
|
1839
|
+
})(t)
|
|
1840
|
+
})]
|
|
1841
|
+
}), n && /* @__PURE__ */ i("p", {
|
|
1842
|
+
className: "text-sm sm:text-base text-text-secondary max-w-2xl",
|
|
1843
|
+
children: n
|
|
1830
1844
|
})]
|
|
1831
|
-
}),
|
|
1832
|
-
className: "
|
|
1833
|
-
children:
|
|
1845
|
+
}), c && /* @__PURE__ */ i("div", {
|
|
1846
|
+
className: "flex items-center gap-2 flex-shrink-0",
|
|
1847
|
+
children: c
|
|
1834
1848
|
})]
|
|
1835
|
-
}),
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
})]
|
|
1843
|
-
}), /* @__PURE__ */ r("div", {
|
|
1849
|
+
}),
|
|
1850
|
+
l && /* @__PURE__ */ i("div", {
|
|
1851
|
+
className: "mt-4",
|
|
1852
|
+
children: l
|
|
1853
|
+
})
|
|
1854
|
+
]
|
|
1855
|
+
}), /* @__PURE__ */ i("div", {
|
|
1844
1856
|
className: "space-y-6",
|
|
1845
1857
|
children: e
|
|
1846
1858
|
})]
|
|
1847
1859
|
})
|
|
1848
1860
|
});
|
|
1849
1861
|
}
|
|
1850
|
-
function
|
|
1851
|
-
return /* @__PURE__ */
|
|
1862
|
+
function Wt({ children: e, title: t, description: n, actions: r, className: o }) {
|
|
1863
|
+
return /* @__PURE__ */ a("section", {
|
|
1852
1864
|
className: $("space-y-4", o),
|
|
1853
|
-
children: [(t ||
|
|
1865
|
+
children: [(t || r) && /* @__PURE__ */ a("div", {
|
|
1854
1866
|
className: "flex items-center justify-between",
|
|
1855
|
-
children: [/* @__PURE__ */
|
|
1867
|
+
children: [/* @__PURE__ */ a("div", { children: [t && /* @__PURE__ */ i("h2", {
|
|
1856
1868
|
className: "text-lg font-semibold text-text-primary",
|
|
1857
1869
|
children: t
|
|
1858
|
-
}), n && /* @__PURE__ */
|
|
1870
|
+
}), n && /* @__PURE__ */ i("p", {
|
|
1859
1871
|
className: "text-sm text-text-secondary",
|
|
1860
1872
|
children: n
|
|
1861
|
-
})] }),
|
|
1873
|
+
})] }), r && /* @__PURE__ */ i("div", {
|
|
1862
1874
|
className: "flex items-center gap-2",
|
|
1863
|
-
children:
|
|
1875
|
+
children: r
|
|
1864
1876
|
})]
|
|
1865
1877
|
}), e]
|
|
1866
1878
|
});
|
|
1867
1879
|
}
|
|
1868
|
-
function
|
|
1869
|
-
return /* @__PURE__ */
|
|
1880
|
+
function Gt({ icon: e, title: t, description: n, action: r, className: o, illustration: s = "empty-data" }) {
|
|
1881
|
+
return e ? /* @__PURE__ */ a("div", {
|
|
1870
1882
|
className: $("flex flex-col items-center justify-center", "py-12 sm:py-16 px-4", "text-center", "animate-in fade-in-0 zoom-in-95 duration-300", o),
|
|
1871
1883
|
children: [
|
|
1872
|
-
|
|
1884
|
+
/* @__PURE__ */ i("div", {
|
|
1873
1885
|
className: "mb-4 p-4 rounded-2xl bg-bg-sunken/50 text-text-secondary",
|
|
1874
1886
|
children: e
|
|
1875
1887
|
}),
|
|
1876
|
-
/* @__PURE__ */
|
|
1888
|
+
/* @__PURE__ */ i("h3", {
|
|
1877
1889
|
className: "text-lg font-semibold text-text-primary mb-1",
|
|
1878
1890
|
children: t
|
|
1879
1891
|
}),
|
|
1880
|
-
n && /* @__PURE__ */
|
|
1892
|
+
n && /* @__PURE__ */ i("p", {
|
|
1881
1893
|
className: "text-sm text-text-secondary max-w-sm mb-4",
|
|
1882
1894
|
children: n
|
|
1883
1895
|
}),
|
|
1884
|
-
|
|
1896
|
+
r
|
|
1885
1897
|
]
|
|
1898
|
+
}) : /* @__PURE__ */ i(ie, {
|
|
1899
|
+
illustration: s,
|
|
1900
|
+
title: t,
|
|
1901
|
+
description: n,
|
|
1902
|
+
action: r,
|
|
1903
|
+
className: $("animate-in fade-in-0 zoom-in-95 duration-300", o)
|
|
1886
1904
|
});
|
|
1887
1905
|
}
|
|
1888
|
-
function
|
|
1889
|
-
return /* @__PURE__ */
|
|
1906
|
+
function Kt({ message: e = "Loading..." }) {
|
|
1907
|
+
return /* @__PURE__ */ i("div", {
|
|
1890
1908
|
className: "flex items-center justify-center min-h-[400px]",
|
|
1891
|
-
children: /* @__PURE__ */
|
|
1909
|
+
children: /* @__PURE__ */ a("div", {
|
|
1892
1910
|
className: "flex flex-col items-center gap-3",
|
|
1893
|
-
children: [/* @__PURE__ */
|
|
1911
|
+
children: [/* @__PURE__ */ i("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ i("p", {
|
|
1894
1912
|
className: "text-sm text-text-secondary",
|
|
1895
1913
|
children: e
|
|
1896
1914
|
})]
|
|
1897
1915
|
})
|
|
1898
1916
|
});
|
|
1899
1917
|
}
|
|
1900
|
-
function
|
|
1901
|
-
return /* @__PURE__ */
|
|
1918
|
+
function qt({ title: e = "Something went wrong", message: t, onRetry: n }) {
|
|
1919
|
+
return /* @__PURE__ */ a("div", {
|
|
1902
1920
|
className: "flex flex-col items-center justify-center py-12 px-4 text-center",
|
|
1903
1921
|
children: [
|
|
1904
|
-
/* @__PURE__ */
|
|
1922
|
+
/* @__PURE__ */ i("div", {
|
|
1905
1923
|
className: "mb-4 p-4 rounded-2xl bg-status-error-bg/10 text-status-error-text",
|
|
1906
|
-
children: /* @__PURE__ */
|
|
1924
|
+
children: /* @__PURE__ */ i("svg", {
|
|
1907
1925
|
className: "h-12 w-12",
|
|
1908
1926
|
fill: "none",
|
|
1909
1927
|
viewBox: "0 0 24 24",
|
|
1910
1928
|
stroke: "currentColor",
|
|
1911
|
-
children: /* @__PURE__ */
|
|
1929
|
+
children: /* @__PURE__ */ i("path", {
|
|
1912
1930
|
strokeLinecap: "round",
|
|
1913
1931
|
strokeLinejoin: "round",
|
|
1914
1932
|
strokeWidth: 2,
|
|
@@ -1916,15 +1934,15 @@ function Ut({ title: e = "Something went wrong", message: t, onRetry: n }) {
|
|
|
1916
1934
|
})
|
|
1917
1935
|
})
|
|
1918
1936
|
}),
|
|
1919
|
-
/* @__PURE__ */
|
|
1937
|
+
/* @__PURE__ */ i("h3", {
|
|
1920
1938
|
className: "text-lg font-semibold text-text-primary mb-1",
|
|
1921
1939
|
children: e
|
|
1922
1940
|
}),
|
|
1923
|
-
t && /* @__PURE__ */
|
|
1941
|
+
t && /* @__PURE__ */ i("p", {
|
|
1924
1942
|
className: "text-sm text-text-secondary max-w-sm mb-4",
|
|
1925
1943
|
children: t
|
|
1926
1944
|
}),
|
|
1927
|
-
n && /* @__PURE__ */
|
|
1945
|
+
n && /* @__PURE__ */ i("button", {
|
|
1928
1946
|
onClick: n,
|
|
1929
1947
|
className: "px-4 py-2 text-sm font-medium text-primary hover:text-primary/80 transition-colors",
|
|
1930
1948
|
children: "Try again"
|
|
@@ -1933,4 +1951,4 @@ function Ut({ title: e = "Something went wrong", message: t, onRetry: n }) {
|
|
|
1933
1951
|
});
|
|
1934
1952
|
}
|
|
1935
1953
|
//#endregion
|
|
1936
|
-
export {
|
|
1954
|
+
export { de as $, T as A, se as B, y as C, C as D, S as E, k as F, ce as G, N as H, A as I, L as J, I as K, j as L, Rt as M, D as N, ne as O, O as P, ue as Q, ae as R, v as S, x as T, P as U, M as V, F as W, z as X, R as Y, B as Z, m as _, Wt as a, te as b, Bt as c, l as d, fe as et, u as f, p as g, f as h, Ut as i, ye as it, E as j, re as k, s as l, ee as m, qt as n, me as nt, zt as o, d as p, le as q, Kt as r, $ as rt, Vt as s, Gt as t, pe as tt, c as u, h as v, b as w, _ as x, g as y, oe as z };
|