@burdenoff/microfe-movethewheels 2026.703.2 → 2026.703.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AIAssistantPage-C3cPsWt-.js → AIAssistantPage-3YOnHO9Y.js} +3 -3
- package/dist/{AnalyticsPage-Dz6g2MvK.js → AnalyticsPage-CMpI1070.js} +11 -11
- package/dist/CreateOrderPage-DRAgGo9i.js +490 -0
- package/dist/CustomerDetailsPage-BCeMmOFe.js +615 -0
- package/dist/{CustomersPage-2Y05LVyh.js → CustomersPage-CaNBMXmM.js} +64 -53
- package/dist/{DashboardPage-BVjQi0EB.js → DashboardPage-DIKlXde3.js} +16 -16
- package/dist/DataTable-XvUcTjwi.js +340 -0
- package/dist/DocumentsCard-U2lSe-cn.js +169 -0
- package/dist/{DriverDetailsPage-CN3WQ0B9.js → DriverDetailsPage-BQrYd_Lp.js} +178 -195
- package/dist/{DriversPage-B0Zpx8OQ.js → DriversPage-PYmdFiby.js} +65 -54
- package/dist/FinancePage-Cwh9Bw4M.js +136 -0
- package/dist/{FleetPage-DqkFi3s3.js → FleetPage-3ZHsB-TN.js} +23 -22
- package/dist/{FormError-BlOjnXOq.js → FormError-cuLV2jVD.js} +1 -1
- package/dist/{ImportExportPage-DKJRCezl.js → ImportExportPage-C6f7DqhM.js} +50 -70
- package/dist/{InventoryPage-DwfgCUQq.js → InventoryPage-DpiqVu1v.js} +9 -9
- package/dist/{LiveTrackingPage-DCX-K-LR.js → LiveTrackingPage-FAzzlVnX.js} +9 -9
- package/dist/MarketplacePage-Bh_2ns4v.js +426 -0
- package/dist/Notice-CSoDYKw9.js +46 -0
- package/dist/OrderDetailsPage-zCj0lW0j.js +584 -0
- package/dist/{OrdersListPage-BjDlCKJd.js → OrdersListPage-CAMsuUck.js} +166 -89
- package/dist/{ProductDetailsPage-C9uOiYLp.js → ProductDetailsPage-wsxAQkA0.js} +12 -12
- package/dist/{ProductsPage-C1G9h7Xd.js → ProductsPage-DC5qDLfz.js} +60 -49
- package/dist/ReportsPage-BwUJ37eO.js +356 -0
- package/dist/RouteDetailsPage-DyMJE9AS.js +583 -0
- package/dist/{RoutesPage-DMfoicM1.js → RoutesPage-Dtc669yc.js} +57 -46
- package/dist/{SettingsPage-Bn-v0mbQ.js → SettingsPage-CpH9xhQg.js} +5 -27
- package/dist/{TrackingPage-W-jtdM3Y.js → TrackingPage-DaNEFG_h.js} +10 -10
- package/dist/{VehicleDetailsPage-Bceo5oz3.js → VehicleDetailsPage-DldYNsYV.js} +125 -142
- package/dist/{VehiclesPage-VBtOep91.js → VehiclesPage-BFw13iMt.js} +61 -50
- package/dist/{WarehouseDetailsPage-L_6sWigM.js → WarehouseDetailsPage-CMG7or6G.js} +17 -17
- package/dist/{WarehousesPage-DCbXXXWE.js → WarehousesPage-Wkytnt86.js} +58 -47
- package/dist/arrow-right-Q3XQpTPR.js +11 -0
- package/dist/arrow-up-xNF1zJUG.js +17 -0
- package/dist/chevron-left-B2_r0Elx.js +8 -0
- package/dist/{wrench-CANXWxF-.js → fuel-B6_lnKDs.js} +2 -5
- package/dist/index.js +163 -174
- package/dist/upload-CHZofOqb.js +21 -0
- package/dist/{useAnalytics-DS8n0xgg.js → useAnalytics-D7HW2XRb.js} +52 -2
- package/dist/{useCustomers-BmTNGxiI.js → useCustomers-BPW4__PR.js} +29 -26
- package/dist/{useFleet-DKqXZ16m.js → useFleet-ChBkxAd6.js} +81 -69
- package/dist/{useInventory-DkyiVY_A.js → useInventory-CAAVMRp6.js} +83 -38
- package/dist/{useOrders-Cfk1GLiq.js → useOrders-B465S2nt.js} +58 -47
- package/dist/{useReports-CTqZr-AB.js → useReports-jQ3GpNOm.js} +40 -34
- package/dist/{useRoutes-BQWO607N.js → useRoutes-hS3d5-xr.js} +49 -41
- package/dist/{useTracking-B-va1kO3.js → useTracking-RjGz9PZG.js} +2 -2
- package/dist/user-check-BEKRCi7v.js +20 -0
- package/dist/wrench-q_rgJfaP.js +8 -0
- package/dist/x-tMeDMcCw.js +11 -0
- package/package.json +1 -1
- package/src/movethewheels/components/DataTable.tsx +252 -84
- package/src/movethewheels/components/DocumentsCard.tsx +102 -0
- package/src/movethewheels/components/Notice.tsx +61 -0
- package/src/movethewheels/components/index.ts +7 -0
- package/src/movethewheels/hooks/index.ts +9 -0
- package/src/movethewheels/hooks/useAnalytics.ts +95 -0
- package/src/movethewheels/hooks/useCustomers.ts +11 -4
- package/src/movethewheels/hooks/useEntityDocuments.ts +132 -0
- package/src/movethewheels/hooks/useFleet.ts +26 -7
- package/src/movethewheels/hooks/useInventory.ts +70 -7
- package/src/movethewheels/hooks/useOrders.ts +32 -2
- package/src/movethewheels/hooks/useReports.ts +14 -4
- package/src/movethewheels/hooks/useRoutes.ts +20 -3
- package/src/movethewheels/pages/AnalyticsPage.tsx +2 -2
- package/src/movethewheels/pages/CreateOrderPage.tsx +44 -16
- package/src/movethewheels/pages/CustomerDetailsPage.tsx +239 -33
- package/src/movethewheels/pages/CustomersPage.tsx +27 -11
- package/src/movethewheels/pages/DriverDetailsPage.tsx +16 -30
- package/src/movethewheels/pages/DriversPage.tsx +26 -9
- package/src/movethewheels/pages/FinancePage.tsx +67 -84
- package/src/movethewheels/pages/InventoryPage.tsx +1 -1
- package/src/movethewheels/pages/MarketplacePage.tsx +265 -50
- package/src/movethewheels/pages/OrderDetailsPage.tsx +214 -10
- package/src/movethewheels/pages/OrdersListPage.tsx +77 -14
- package/src/movethewheels/pages/ProductsPage.tsx +27 -7
- package/src/movethewheels/pages/ReportsPage.tsx +65 -4
- package/src/movethewheels/pages/RouteDetailsPage.tsx +74 -13
- package/src/movethewheels/pages/RoutesPage.tsx +22 -6
- package/src/movethewheels/pages/SettingsPage.tsx +3 -19
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +3 -33
- package/src/movethewheels/pages/VehiclesPage.tsx +26 -5
- package/src/movethewheels/pages/WarehousesPage.tsx +22 -17
- package/src/movethewheels/types/index.ts +8 -0
- package/src/movethewheels/utils/download.ts +62 -0
- package/dist/CreateOrderPage-C5iwnjp4.js +0 -479
- package/dist/CustomerDetailsPage-B6nwFyLO.js +0 -406
- package/dist/DataTable-DmciIKKM.js +0 -249
- package/dist/FinancePage-DEDykSOP.js +0 -158
- package/dist/MarketplacePage-CIQ97_zp.js +0 -247
- package/dist/OrderDetailsPage-DYiZ-9UK.js +0 -429
- package/dist/ReportsPage-Zp53q3_8.js +0 -284
- package/dist/RouteDetailsPage-DUStXSf9.js +0 -531
- /package/dist/{MetricCard-BY0QrMD4.js → MetricCard-CVBVpu7o.js} +0 -0
- /package/dist/{StatusBadge-BZurYHMy.js → StatusBadge-C87mDpDP.js} +0 -0
- /package/dist/{box-D9Pal4HM.js → box-Eu05PXDh.js} +0 -0
- /package/dist/{chart-column-BFIJysDR.js → chart-column-ouzgxIv_.js} +0 -0
- /package/dist/{chevron-right-EMIIyyJ1.js → chevron-right-eV4LjaSi.js} +0 -0
- /package/dist/{circle-alert-iY24lSlp.js → circle-alert-Bzh2DBSF.js} +0 -0
- /package/dist/{circle-check-big-w0TrLKMF.js → circle-check-big-CGMSpQmD.js} +0 -0
- /package/dist/{clock-DJZtdl8u.js → clock-Bl3ptexL.js} +0 -0
- /package/dist/{dollar-sign-CgKQRz_e.js → dollar-sign-CAVU95SO.js} +0 -0
- /package/dist/{download-DRXxoiQR.js → download-C5NbvVDc.js} +0 -0
- /package/dist/{file-text-DWWY6_f5.js → file-text-D-1uvLZG.js} +0 -0
- /package/dist/{filter-DloLC2eE.js → filter-DUfUg6BO.js} +0 -0
- /package/dist/{formatters-CF2S2l1m.js → formatters-BQr-aR5W.js} +0 -0
- /package/dist/{map-CkJaULb2.js → map-C-M-FQLR.js} +0 -0
- /package/dist/{map-pin-BGiCvyCs.js → map-pin-Dznl5l40.js} +0 -0
- /package/dist/{navigation-D36prnAn.js → navigation-BJSJl-VG.js} +0 -0
- /package/dist/{package-BChUzpJS.js → package-CcRttV2N.js} +0 -0
- /package/dist/{phone-Ac9s3mo_.js → phone-DVSZHt_j.js} +0 -0
- /package/dist/{plus-Z76q-FZm.js → plus-C_XZDwBz.js} +0 -0
- /package/dist/{refresh-cw-DKt6f5T6.js → refresh-cw-CfgN67l3.js} +0 -0
- /package/dist/{save-CojywNhG.js → save-DJE8Fpdv.js} +0 -0
- /package/dist/{search-CDGefqb3.js → search-D_VyGcZT.js} +0 -0
- /package/dist/{square-pen-CopE9GmB.js → square-pen-D-6JYrVQ.js} +0 -0
- /package/dist/{star-nHlLjDKR.js → star-BpRlUZuU.js} +0 -0
- /package/dist/{store-BR9Voi5E.js → store-B-8HMuyZ.js} +0 -0
- /package/dist/{trash-2-BKhar6Hs.js → trash-2-8vmv-XV_.js} +0 -0
- /package/dist/{trending-up-Dohgd4t_.js → trending-up-Dz6PqPRj.js} +0 -0
- /package/dist/{triangle-alert-i-XQL9Rd.js → triangle-alert-D7Y3J_4z.js} +0 -0
- /package/dist/{truck-C0v_hbLR.js → truck-D-y2IDzv.js} +0 -0
- /package/dist/{useAssistant-D4v3oxD3.js → useAssistant-DVW4QgQb.js} +0 -0
- /package/dist/{useImportExport-DHr-SWSw.js → useImportExport-DrPDHEDK.js} +0 -0
- /package/dist/{useSettings-CkDH_-gM.js → useSettings-BB8X2RLh.js} +0 -0
- /package/dist/{user-jyFU3lXk.js → user-DzfTn4dE.js} +0 -0
- /package/dist/{users-DZ-ilS6B.js → users-CCrq-w0C.js} +0 -0
- /package/dist/{warehouse-6m5kXMLu.js → warehouse-CaqfmMKh.js} +0 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { d as e, f as t, g as n, h as r, i, l as a, lt as o, u as s } from "./PageLayout-D4LDHJJq.js";
|
|
2
|
-
import { t as c } from "./download-
|
|
3
|
-
import { t as l } from "./file-text-
|
|
4
|
-
import { t as u } from "./
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { t as c } from "./download-C5NbvVDc.js";
|
|
3
|
+
import { t as l } from "./file-text-D-1uvLZG.js";
|
|
4
|
+
import { t as u } from "./upload-CHZofOqb.js";
|
|
5
|
+
import { t as d } from "./x-tMeDMcCw.js";
|
|
6
|
+
import { t as f } from "./useImportExport-DrPDHEDK.js";
|
|
7
|
+
import { useRef as p, useState as m } from "react";
|
|
8
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
9
|
+
import { EmphasisPanel as _, IllustratedEmptyState as v, PagePurpose as y } from "@burdenoff/fe-libs/ui";
|
|
8
10
|
//#region node_modules/lucide-react/dist/esm/icons/check.js
|
|
9
|
-
var
|
|
11
|
+
var b = o("Check", [["path", {
|
|
10
12
|
d: "M20 6 9 17l-5-5",
|
|
11
13
|
key: "1gmf2c"
|
|
12
|
-
}]]),
|
|
14
|
+
}]]), x = o("FileSpreadsheet", [
|
|
13
15
|
["path", {
|
|
14
16
|
d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",
|
|
15
17
|
key: "1rqfz7"
|
|
@@ -34,29 +36,7 @@ var v = o("Check", [["path", {
|
|
|
34
36
|
d: "M14 17h2",
|
|
35
37
|
key: "10kma7"
|
|
36
38
|
}]
|
|
37
|
-
]),
|
|
38
|
-
["path", {
|
|
39
|
-
d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
|
|
40
|
-
key: "ih7n3h"
|
|
41
|
-
}],
|
|
42
|
-
["polyline", {
|
|
43
|
-
points: "17 8 12 3 7 8",
|
|
44
|
-
key: "t8dd8p"
|
|
45
|
-
}],
|
|
46
|
-
["line", {
|
|
47
|
-
x1: "12",
|
|
48
|
-
x2: "12",
|
|
49
|
-
y1: "3",
|
|
50
|
-
y2: "15",
|
|
51
|
-
key: "widbto"
|
|
52
|
-
}]
|
|
53
|
-
]), x = o("X", [["path", {
|
|
54
|
-
d: "M18 6 6 18",
|
|
55
|
-
key: "1bl5f8"
|
|
56
|
-
}], ["path", {
|
|
57
|
-
d: "m6 6 12 12",
|
|
58
|
-
key: "d8bk6v"
|
|
59
|
-
}]]), S = [
|
|
39
|
+
]), S = [
|
|
60
40
|
{
|
|
61
41
|
name: "Orders",
|
|
62
42
|
description: "Import orders from CSV or JSON",
|
|
@@ -104,7 +84,7 @@ var v = o("Check", [["path", {
|
|
|
104
84
|
}
|
|
105
85
|
];
|
|
106
86
|
function w() {
|
|
107
|
-
let { exportData: o, importData: w, isBusy: T } =
|
|
87
|
+
let { exportData: o, importData: w, isBusy: T } = f(), [E, D] = m([]), [O, k] = m(null), A = p(null), j = p(null), M = (e) => D((t) => [e, ...t]), N = async (e, t) => {
|
|
108
88
|
k(`${e.resource}:${t}`);
|
|
109
89
|
try {
|
|
110
90
|
let n = await o(e.resource, t);
|
|
@@ -133,16 +113,16 @@ function w() {
|
|
|
133
113
|
}, P = (e) => {
|
|
134
114
|
j.current = e, A.current?.click();
|
|
135
115
|
};
|
|
136
|
-
return /* @__PURE__ */
|
|
116
|
+
return /* @__PURE__ */ g(i, {
|
|
137
117
|
title: "Import / Export",
|
|
138
118
|
subtitle: "Import and export your data",
|
|
139
|
-
icon: /* @__PURE__ */
|
|
119
|
+
icon: /* @__PURE__ */ h(l, { size: 24 }),
|
|
140
120
|
children: [
|
|
141
|
-
/* @__PURE__ */
|
|
142
|
-
icon: /* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ h(y, {
|
|
122
|
+
icon: /* @__PURE__ */ h(l, { size: 18 }),
|
|
143
123
|
children: "Move data in and out in bulk. Import orders, customers, products or inventory from CSV/JSON to onboard or migrate without re-keying, and export any dataset for accounting, BI tools or backups — no manual copy-paste required."
|
|
144
124
|
}),
|
|
145
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ h("input", {
|
|
146
126
|
ref: A,
|
|
147
127
|
type: "file",
|
|
148
128
|
accept: ".csv,.json,application/json,text/csv",
|
|
@@ -177,65 +157,65 @@ function w() {
|
|
|
177
157
|
}
|
|
178
158
|
}
|
|
179
159
|
}),
|
|
180
|
-
/* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ g("div", {
|
|
181
161
|
className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
|
|
182
|
-
children: [/* @__PURE__ */
|
|
162
|
+
children: [/* @__PURE__ */ g(_, {
|
|
183
163
|
className: "space-y-4",
|
|
184
|
-
children: [/* @__PURE__ */
|
|
164
|
+
children: [/* @__PURE__ */ g("h2", {
|
|
185
165
|
className: "flex items-center gap-2 text-base font-semibold text-text-primary",
|
|
186
|
-
children: [/* @__PURE__ */
|
|
187
|
-
}), /* @__PURE__ */
|
|
166
|
+
children: [/* @__PURE__ */ h(u, { size: 18 }), " Import Data"]
|
|
167
|
+
}), /* @__PURE__ */ h("div", {
|
|
188
168
|
className: "space-y-4",
|
|
189
|
-
children: S.map((e) => /* @__PURE__ */
|
|
169
|
+
children: S.map((e) => /* @__PURE__ */ g("div", {
|
|
190
170
|
className: "flex items-center justify-between p-4 border rounded-lg hover:border-primary/50 transition-colors",
|
|
191
|
-
children: [/* @__PURE__ */
|
|
171
|
+
children: [/* @__PURE__ */ g("div", {
|
|
192
172
|
className: "flex items-center gap-3",
|
|
193
|
-
children: [/* @__PURE__ */
|
|
173
|
+
children: [/* @__PURE__ */ h("div", {
|
|
194
174
|
className: "w-10 h-10 rounded-lg bg-action-primary-bg/10 flex items-center justify-center",
|
|
195
|
-
children: /* @__PURE__ */
|
|
175
|
+
children: /* @__PURE__ */ h(x, {
|
|
196
176
|
size: 20,
|
|
197
177
|
className: "text-primary"
|
|
198
178
|
})
|
|
199
|
-
}), /* @__PURE__ */
|
|
179
|
+
}), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
|
|
200
180
|
className: "font-medium",
|
|
201
181
|
children: e.name
|
|
202
|
-
}), /* @__PURE__ */
|
|
182
|
+
}), /* @__PURE__ */ h("p", {
|
|
203
183
|
className: "text-sm text-text-secondary",
|
|
204
184
|
children: e.description
|
|
205
185
|
})] })]
|
|
206
|
-
}), /* @__PURE__ */
|
|
186
|
+
}), /* @__PURE__ */ g("div", {
|
|
207
187
|
className: "text-right",
|
|
208
|
-
children: [/* @__PURE__ */
|
|
188
|
+
children: [/* @__PURE__ */ h(a, {
|
|
209
189
|
variant: "outline",
|
|
210
190
|
children: "CSV, JSON"
|
|
211
|
-
}), /* @__PURE__ */
|
|
191
|
+
}), /* @__PURE__ */ h(s, {
|
|
212
192
|
variant: "outline",
|
|
213
193
|
size: "sm",
|
|
214
194
|
className: "ml-2",
|
|
215
195
|
"aria-label": `Import ${e.name}`,
|
|
216
196
|
disabled: T,
|
|
217
197
|
onClick: () => P(e),
|
|
218
|
-
children: /* @__PURE__ */
|
|
198
|
+
children: /* @__PURE__ */ h(u, { size: 14 })
|
|
219
199
|
})]
|
|
220
200
|
})]
|
|
221
201
|
}, e.name))
|
|
222
202
|
})]
|
|
223
|
-
}), /* @__PURE__ */
|
|
203
|
+
}), /* @__PURE__ */ g(e, { children: [/* @__PURE__ */ h(r, { children: /* @__PURE__ */ g(n, {
|
|
224
204
|
className: "flex items-center gap-2",
|
|
225
|
-
children: [/* @__PURE__ */
|
|
226
|
-
}) }), /* @__PURE__ */
|
|
205
|
+
children: [/* @__PURE__ */ h(c, { size: 18 }), " Export Data"]
|
|
206
|
+
}) }), /* @__PURE__ */ h(t, {
|
|
227
207
|
className: "space-y-4",
|
|
228
|
-
children: C.map((e) => /* @__PURE__ */
|
|
208
|
+
children: C.map((e) => /* @__PURE__ */ g("div", {
|
|
229
209
|
className: "flex items-center justify-between p-4 border rounded-lg hover:border-primary/50 transition-colors",
|
|
230
|
-
children: [/* @__PURE__ */
|
|
210
|
+
children: [/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
|
|
231
211
|
className: "font-medium",
|
|
232
212
|
children: e.name
|
|
233
|
-
}), /* @__PURE__ */
|
|
213
|
+
}), /* @__PURE__ */ h("p", {
|
|
234
214
|
className: "text-sm text-text-secondary",
|
|
235
215
|
children: e.description
|
|
236
|
-
})] }), /* @__PURE__ */
|
|
216
|
+
})] }), /* @__PURE__ */ h("div", {
|
|
237
217
|
className: "flex gap-1",
|
|
238
|
-
children: e.formats.map((t) => /* @__PURE__ */
|
|
218
|
+
children: e.formats.map((t) => /* @__PURE__ */ h(s, {
|
|
239
219
|
variant: "outline",
|
|
240
220
|
size: "sm",
|
|
241
221
|
disabled: O === `${e.resource}:${t}`,
|
|
@@ -246,26 +226,26 @@ function w() {
|
|
|
246
226
|
}, e.name))
|
|
247
227
|
})] })]
|
|
248
228
|
}),
|
|
249
|
-
/* @__PURE__ */
|
|
229
|
+
/* @__PURE__ */ g(e, { children: [/* @__PURE__ */ h(r, { children: /* @__PURE__ */ h(n, { children: "Recent Activity" }) }), /* @__PURE__ */ h(t, { children: E.length === 0 ? /* @__PURE__ */ h(v, {
|
|
250
230
|
illustration: "empty-data",
|
|
251
231
|
title: "No import or export activity yet",
|
|
252
232
|
description: "Your recent imports and exports will show up here once you run one."
|
|
253
|
-
}) : /* @__PURE__ */
|
|
233
|
+
}) : /* @__PURE__ */ h("div", {
|
|
254
234
|
className: "space-y-3",
|
|
255
|
-
children: E.map((e, t) => /* @__PURE__ */
|
|
235
|
+
children: E.map((e, t) => /* @__PURE__ */ g("div", {
|
|
256
236
|
className: "flex items-center justify-between p-3 bg-bg-sunken/50 rounded-lg",
|
|
257
|
-
children: [/* @__PURE__ */
|
|
237
|
+
children: [/* @__PURE__ */ g("div", {
|
|
258
238
|
className: "flex items-center gap-3",
|
|
259
|
-
children: [e.type === "import" ? /* @__PURE__ */
|
|
239
|
+
children: [e.type === "import" ? /* @__PURE__ */ h(u, {
|
|
260
240
|
size: 16,
|
|
261
241
|
className: "text-primary"
|
|
262
|
-
}) : /* @__PURE__ */
|
|
242
|
+
}) : /* @__PURE__ */ h(c, {
|
|
263
243
|
size: 16,
|
|
264
244
|
className: "text-primary"
|
|
265
|
-
}), /* @__PURE__ */
|
|
245
|
+
}), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
|
|
266
246
|
className: "font-medium",
|
|
267
247
|
children: e.name
|
|
268
|
-
}), /* @__PURE__ */
|
|
248
|
+
}), /* @__PURE__ */ g("p", {
|
|
269
249
|
className: "text-sm text-text-secondary",
|
|
270
250
|
children: [
|
|
271
251
|
e.type === "import" ? "Imported" : "Exported",
|
|
@@ -276,10 +256,10 @@ function w() {
|
|
|
276
256
|
e.message
|
|
277
257
|
]
|
|
278
258
|
})] })]
|
|
279
|
-
}), /* @__PURE__ */
|
|
259
|
+
}), /* @__PURE__ */ g(a, {
|
|
280
260
|
variant: e.success ? "default" : "destructive",
|
|
281
261
|
className: "gap-1",
|
|
282
|
-
children: [e.success ? /* @__PURE__ */
|
|
262
|
+
children: [e.success ? /* @__PURE__ */ h(b, { size: 12 }) : /* @__PURE__ */ h(d, { size: 12 }), e.success ? "done" : "failed"]
|
|
283
263
|
})]
|
|
284
264
|
}, t))
|
|
285
265
|
}) })] })
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { M as e, a as t, ct as n, d as r, f as i, i as a, l as o, ot as s, u as c } from "./PageLayout-D4LDHJJq.js";
|
|
2
|
-
import { t as l } from "./chevron-right-
|
|
3
|
-
import { t as u } from "./package-
|
|
4
|
-
import { t as d } from "./plus-
|
|
5
|
-
import { t as f } from "./triangle-alert-
|
|
6
|
-
import { t as p } from "./warehouse-
|
|
7
|
-
import { n as m, t as h } from "./useInventory-
|
|
8
|
-
import { n as g, r as _, t as v } from "./MetricCard-
|
|
9
|
-
import { n as y } from "./formatters-
|
|
2
|
+
import { t as l } from "./chevron-right-eV4LjaSi.js";
|
|
3
|
+
import { t as u } from "./package-CcRttV2N.js";
|
|
4
|
+
import { t as d } from "./plus-C_XZDwBz.js";
|
|
5
|
+
import { t as f } from "./triangle-alert-D7Y3J_4z.js";
|
|
6
|
+
import { t as p } from "./warehouse-CaqfmMKh.js";
|
|
7
|
+
import { n as m, t as h } from "./useInventory-CAAVMRp6.js";
|
|
8
|
+
import { n as g, r as _, t as v } from "./MetricCard-CVBVpu7o.js";
|
|
9
|
+
import { n as y } from "./formatters-BQr-aR5W.js";
|
|
10
10
|
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
11
11
|
import { CTAOverflowMenu as S, EmphasisPanel as C, PagePurpose as w } from "@burdenoff/fe-libs/ui";
|
|
12
12
|
import { useI18n as T } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
@@ -26,7 +26,7 @@ function E() {
|
|
|
26
26
|
primary: {
|
|
27
27
|
label: D("movethewheels.inventory.actions.addProduct", "Add Product"),
|
|
28
28
|
icon: /* @__PURE__ */ b(d, { size: 16 }),
|
|
29
|
-
onSelect: () =>
|
|
29
|
+
onSelect: () => L("inventory/products/new")
|
|
30
30
|
},
|
|
31
31
|
actions: [{
|
|
32
32
|
label: D("movethewheels.inventory.actions.products", "Products"),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { J as e, N as t, X as n, Z as r, ct as i, d as a, f as o, g as s, h as c, i as l, l as u, lt as d, ot as f, t as p, u as m } from "./PageLayout-D4LDHJJq.js";
|
|
2
|
-
import { t as h } from "./map-pin-
|
|
3
|
-
import { t as g } from "./map-
|
|
4
|
-
import { t as _ } from "./package-
|
|
5
|
-
import { t as v } from "./refresh-cw-
|
|
6
|
-
import { t as y } from "./truck-
|
|
7
|
-
import { o as b, r as x } from "./useTracking-
|
|
8
|
-
import { r as S, t as C } from "./MetricCard-
|
|
9
|
-
import { r as w } from "./StatusBadge-
|
|
10
|
-
import { r as T } from "./formatters-
|
|
2
|
+
import { t as h } from "./map-pin-Dznl5l40.js";
|
|
3
|
+
import { t as g } from "./map-C-M-FQLR.js";
|
|
4
|
+
import { t as _ } from "./package-CcRttV2N.js";
|
|
5
|
+
import { t as v } from "./refresh-cw-CfgN67l3.js";
|
|
6
|
+
import { t as y } from "./truck-D-y2IDzv.js";
|
|
7
|
+
import { o as b, r as x } from "./useTracking-RjGz9PZG.js";
|
|
8
|
+
import { r as S, t as C } from "./MetricCard-CVBVpu7o.js";
|
|
9
|
+
import { r as w } from "./StatusBadge-C87mDpDP.js";
|
|
10
|
+
import { r as T } from "./formatters-BQr-aR5W.js";
|
|
11
11
|
import { useState as E } from "react";
|
|
12
12
|
import { jsx as D, jsxs as O } from "react/jsx-runtime";
|
|
13
13
|
import { EmphasisPanel as k, NextSteps as A, PagePurpose as j } from "@burdenoff/fe-libs/ui";
|