@burdenoff/microfe-movethewheels 2026.703.3 → 2026.703.5
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-D2gaEL1U.js} +16 -15
- package/dist/AnalyticsPage-DZMlEoBi.js +194 -0
- package/dist/CreateOrderPage-CWHx8yys.js +490 -0
- package/dist/CustomerDetailsPage-nR4oZ_ju.js +615 -0
- package/dist/CustomersPage-Bbvwvn8k.js +205 -0
- package/dist/DashboardPage-DrEhNf7N.js +542 -0
- package/dist/DataTable-CqMUD4er.js +340 -0
- package/dist/DocumentsCard-edDkgnJj.js +169 -0
- package/dist/DriverDetailsPage-whEMOWs9.js +490 -0
- package/dist/DriversPage-CHF2ZEzd.js +221 -0
- package/dist/FinancePage-Dn9GrW-1.js +175 -0
- package/dist/{FleetPage-DqkFi3s3.js → FleetPage-CrtGPy-p.js} +36 -35
- package/dist/{FormError-BlOjnXOq.js → FormError-BKcb_wT-.js} +1 -1
- package/dist/{ImportExportPage-DKJRCezl.js → ImportExportPage-WYdwZomZ.js} +52 -72
- package/dist/InventoryPage-l5A1f753.js +259 -0
- package/dist/LiveTrackingPage-DhEaNKZ4.js +429 -0
- package/dist/MarketplacePage-B9RYOb1Y.js +426 -0
- package/dist/MetricCard-y3bWHKUQ.js +191 -0
- package/dist/Notice-DOO-tjpV.js +46 -0
- package/dist/OrderDetailsPage-CwYHwk1K.js +584 -0
- package/dist/OrdersListPage-DhZJoQeI.js +386 -0
- package/dist/{PageLayout-D4LDHJJq.js → PageLayout-BniRJaQ6.js} +1 -1
- package/dist/{ProductDetailsPage-C9uOiYLp.js → ProductDetailsPage-1Gm9JKy0.js} +56 -56
- package/dist/ProductsPage-C8sn-1tN.js +186 -0
- package/dist/ReportsPage-D1tb0dcz.js +377 -0
- package/dist/RouteDetailsPage-CkMyR9b_.js +610 -0
- package/dist/{RoutesPage-DMfoicM1.js → RoutesPage-QkENzsE5.js} +58 -47
- package/dist/{SettingsPage-Bn-v0mbQ.js → SettingsPage-DV3_tU_X.js} +16 -38
- package/dist/Sparkline-K2RMJ58u.js +16729 -0
- package/dist/{StatusBadge-BZurYHMy.js → StatusBadge-BNHXYvZx.js} +7 -7
- package/dist/TrackingPage-BZrg4RCu.js +368 -0
- package/dist/VehicleDetailsPage-D-8XPZ2G.js +393 -0
- package/dist/VehiclesPage-D5BELbtM.js +184 -0
- package/dist/{WarehouseDetailsPage-L_6sWigM.js → WarehouseDetailsPage-Cmg-8Frn.js} +70 -70
- package/dist/WarehousesPage-C1Y1M867.js +182 -0
- package/dist/{arrow-left-n48Y-Wis.js → arrow-left-ClW4Isj7.js} +1 -1
- package/dist/arrow-right-CmKOmIkh.js +11 -0
- package/dist/arrow-up-BJijRLAZ.js +17 -0
- package/dist/{box-D9Pal4HM.js → box-BT3NsRQP.js} +1 -1
- package/dist/boxes-B_OGvQiW.js +54 -0
- package/dist/{chart-column-BFIJysDR.js → chart-column-DQTTdUPk.js} +1 -1
- package/dist/charts-Tj_PPTfA.js +2018 -0
- package/dist/chevron-left-B1rZyWWb.js +8 -0
- package/dist/{chevron-right-EMIIyyJ1.js → chevron-right-BIcwUJZq.js} +1 -1
- package/dist/chunk-BdsCSvBP.js +20 -0
- package/dist/{circle-alert-iY24lSlp.js → circle-alert-CNkuDNc6.js} +1 -1
- package/dist/circle-check-Cs1OVjtV.js +13 -0
- package/dist/{circle-check-big-w0TrLKMF.js → circle-check-big-C-p4eNwn.js} +1 -1
- package/dist/{clock-DJZtdl8u.js → clock-dRGG4rkF.js} +1 -1
- package/dist/{dollar-sign-CgKQRz_e.js → dollar-sign-B6RoYHHz.js} +1 -1
- package/dist/{download-DRXxoiQR.js → download-DP04iWTd.js} +1 -1
- package/dist/{file-text-DWWY6_f5.js → file-text-BuDx4hZp.js} +1 -1
- package/dist/{filter-DloLC2eE.js → filter-BD483_8g.js} +1 -1
- package/dist/{wrench-CANXWxF-.js → fuel-DLH1ag04.js} +3 -6
- package/dist/index.css +2 -0
- package/dist/index.js +150 -172
- package/dist/{map-CkJaULb2.js → map-DNQn9fyY.js} +1 -1
- package/dist/{map-pin-BGiCvyCs.js → map-pin-CqN1bbT1.js} +1 -1
- package/dist/mapMarkers-NCV9MRKR.js +28 -0
- package/dist/maps-yzLqiK_C.js +5070 -0
- package/dist/{navigation-D36prnAn.js → navigation-CgGUt2tR.js} +1 -1
- package/dist/{package-BChUzpJS.js → package-DmRF7iQD.js} +1 -1
- package/dist/{phone-Ac9s3mo_.js → phone-Cl32EXKW.js} +1 -1
- package/dist/{plus-Z76q-FZm.js → plus-DlANgOFx.js} +1 -1
- package/dist/{refresh-cw-DKt6f5T6.js → refresh-cw-rW59D4b7.js} +1 -1
- package/dist/route-CWjPrtAN.js +22 -0
- package/dist/{save-CojywNhG.js → save-UDlog7hg.js} +1 -1
- package/dist/{search-CDGefqb3.js → search-DNIG5Ck7.js} +1 -1
- package/dist/{square-pen-CopE9GmB.js → square-pen-BcfB3Grd.js} +1 -1
- package/dist/{star-nHlLjDKR.js → star-CVZHFwDx.js} +1 -1
- package/dist/{store-BR9Voi5E.js → store-bwnmCK9f.js} +1 -1
- package/dist/{trash-2-BKhar6Hs.js → trash-2-B80G12d4.js} +1 -1
- package/dist/{trending-up-Dohgd4t_.js → trending-up-CH4R4KOa.js} +1 -1
- package/dist/{triangle-alert-i-XQL9Rd.js → triangle-alert-CmS8AUU6.js} +1 -1
- package/dist/{truck-C0v_hbLR.js → truck-9rLDncav.js} +1 -1
- package/dist/upload-DanJY1Vo.js +21 -0
- package/dist/{useAssistant-D4v3oxD3.js → useAssistant-CnEwkTLm.js} +11 -28
- package/dist/{useCustomers-BmTNGxiI.js → useCustomers-ChJao1ET.js} +30 -27
- package/dist/{useFleet-DKqXZ16m.js → useFleet-g5Yri0G8.js} +82 -70
- package/dist/{useImportExport-DHr-SWSw.js → useImportExport-MYwIT3rE.js} +1 -1
- package/dist/{useInventory-DkyiVY_A.js → useInventory-BSOn-R1c.js} +84 -39
- package/dist/{useOrders-Cfk1GLiq.js → useOrders-BSiqo61w.js} +59 -48
- package/dist/{useReports-CTqZr-AB.js → useReports-fWESfsF9.js} +41 -35
- package/dist/{useRoutes-BQWO607N.js → useRoutes-zD8Yp323.js} +50 -42
- package/dist/{useSettings-CkDH_-gM.js → useSettings-B1lsWeZ1.js} +6 -6
- package/dist/{useTracking-B-va1kO3.js → useTracking-BKG0I2ln.js} +3 -3
- package/dist/{user-jyFU3lXk.js → user-DU51el3m.js} +1 -1
- package/dist/user-check-IMhk-qkX.js +20 -0
- package/dist/{users-DZ-ilS6B.js → users-B8KhJBGg.js} +1 -1
- package/dist/{warehouse-6m5kXMLu.js → warehouse-CcMMioeY.js} +1 -1
- package/dist/wrench-Dg-sgH2e.js +8 -0
- package/dist/x-C4ObLVEa.js +11 -0
- package/package.json +5 -1
- package/src/movethewheels/components/DataTable.tsx +252 -84
- package/src/movethewheels/components/DocumentsCard.tsx +102 -0
- package/src/movethewheels/components/GlassPanel.tsx +71 -0
- package/src/movethewheels/components/MetricCard.tsx +171 -73
- package/src/movethewheels/components/Notice.tsx +61 -0
- package/src/movethewheels/components/StatusBadge.tsx +7 -6
- package/src/movethewheels/components/charts/ChartShell.tsx +78 -0
- package/src/movethewheels/components/charts/Sparkline.tsx +85 -0
- package/src/movethewheels/components/charts/StatusDonut.tsx +115 -0
- package/src/movethewheels/components/charts/TrendChart.tsx +179 -0
- package/src/movethewheels/components/charts/VolumeBar.tsx +97 -0
- package/src/movethewheels/components/charts/chartTokens.ts +43 -0
- package/src/movethewheels/components/charts/index.ts +9 -0
- package/src/movethewheels/components/index.ts +51 -1
- package/src/movethewheels/components/maps/LogisticsMap.tsx +94 -0
- package/src/movethewheels/components/maps/MapCanvas.tsx +118 -0
- package/src/movethewheels/components/maps/RouteMap.tsx +71 -0
- package/src/movethewheels/components/maps/TrackingMap.tsx +102 -0
- package/src/movethewheels/components/maps/index.ts +16 -0
- package/src/movethewheels/components/maps/leaflet-setup.ts +124 -0
- package/src/movethewheels/components/maps/map-markers.css +121 -0
- package/src/movethewheels/hooks/index.ts +9 -0
- package/src/movethewheels/hooks/useAnalytics.ts +109 -4
- 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 +93 -73
- package/src/movethewheels/pages/CreateOrderPage.tsx +48 -20
- package/src/movethewheels/pages/CustomerDetailsPage.tsx +239 -33
- package/src/movethewheels/pages/CustomersPage.tsx +53 -28
- package/src/movethewheels/pages/DashboardPage.tsx +238 -12
- package/src/movethewheels/pages/DriverDetailsPage.tsx +17 -31
- package/src/movethewheels/pages/DriversPage.tsx +59 -31
- package/src/movethewheels/pages/FinancePage.tsx +103 -82
- package/src/movethewheels/pages/InventoryPage.tsx +15 -3
- package/src/movethewheels/pages/LiveTrackingPage.tsx +124 -16
- package/src/movethewheels/pages/MarketplacePage.tsx +265 -50
- package/src/movethewheels/pages/OrderDetailsPage.tsx +214 -10
- package/src/movethewheels/pages/OrdersListPage.tsx +118 -47
- package/src/movethewheels/pages/ProductsPage.tsx +52 -28
- package/src/movethewheels/pages/ReportsPage.tsx +88 -4
- package/src/movethewheels/pages/RouteDetailsPage.tsx +119 -19
- package/src/movethewheels/pages/RoutesPage.tsx +22 -6
- package/src/movethewheels/pages/SettingsPage.tsx +5 -21
- package/src/movethewheels/pages/TrackingPage.tsx +76 -6
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +4 -34
- package/src/movethewheels/pages/VehiclesPage.tsx +58 -27
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +1 -1
- package/src/movethewheels/pages/WarehousesPage.tsx +47 -36
- package/src/movethewheels/types/index.ts +9 -1
- package/src/movethewheels/utils/download.ts +62 -0
- package/src/movethewheels/utils/mapMarkers.ts +58 -0
- package/dist/AnalyticsPage-Dz6g2MvK.js +0 -215
- package/dist/CreateOrderPage-C5iwnjp4.js +0 -479
- package/dist/CustomerDetailsPage-B6nwFyLO.js +0 -406
- package/dist/CustomersPage-BKxMS1AV.js +0 -161
- package/dist/DashboardPage-BVjQi0EB.js +0 -387
- package/dist/DataTable-DmciIKKM.js +0 -249
- package/dist/DriverDetailsPage-CN3WQ0B9.js +0 -507
- package/dist/DriversPage-CH9rjQC-.js +0 -165
- package/dist/FinancePage-DEDykSOP.js +0 -158
- package/dist/InventoryPage-e0ze63iX.js +0 -253
- package/dist/LiveTrackingPage-DCX-K-LR.js +0 -379
- package/dist/MarketplacePage-CIQ97_zp.js +0 -247
- package/dist/MetricCard-BY0QrMD4.js +0 -146
- package/dist/OrderDetailsPage-DYiZ-9UK.js +0 -429
- package/dist/OrdersListPage-Cn90P1Xx.js +0 -307
- package/dist/ProductsPage-QJfHHpqB.js +0 -169
- package/dist/ReportsPage-Zp53q3_8.js +0 -284
- package/dist/RouteDetailsPage-DUStXSf9.js +0 -531
- package/dist/TrackingPage-W-jtdM3Y.js +0 -325
- package/dist/VehicleDetailsPage-Bceo5oz3.js +0 -410
- package/dist/VehiclesPage-ApKThYeG.js +0 -165
- package/dist/WarehousesPage-DCbXXXWE.js +0 -162
- package/dist/useAnalytics-DS8n0xgg.js +0 -297
- /package/dist/{formatters-CF2S2l1m.js → formatters-FWJDwTFv.js} +0 -0
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { i as e, l as t, lt as n, o as r, s as i, st as a, u as o, ut as s } from "./PageLayout-BniRJaQ6.js";
|
|
2
|
+
import { t as c } from "./DataTable-CqMUD4er.js";
|
|
3
|
+
import { t as l } from "./download-DP04iWTd.js";
|
|
4
|
+
import { t as u } from "./plus-DlANgOFx.js";
|
|
5
|
+
import { t as d } from "./refresh-cw-rW59D4b7.js";
|
|
6
|
+
import { t as f } from "./star-CVZHFwDx.js";
|
|
7
|
+
import { t as p } from "./user-check-IMhk-qkX.js";
|
|
8
|
+
import { t as m } from "./users-B8KhJBGg.js";
|
|
9
|
+
import { n as h, r as g } from "./useCustomers-ChJao1ET.js";
|
|
10
|
+
import { r as _, t as v } from "./MetricCard-y3bWHKUQ.js";
|
|
11
|
+
import { i as y } from "./StatusBadge-BNHXYvZx.js";
|
|
12
|
+
import { r as b } from "./formatters-FWJDwTFv.js";
|
|
13
|
+
import { useState as x } from "react";
|
|
14
|
+
import { jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
15
|
+
import { CTAOverflowMenu as w, PagePurpose as T } from "@burdenoff/fe-libs/ui";
|
|
16
|
+
//#region node_modules/lucide-react/dist/esm/icons/building-2.js
|
|
17
|
+
var E = s("Building2", [
|
|
18
|
+
["path", {
|
|
19
|
+
d: "M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",
|
|
20
|
+
key: "1b4qmf"
|
|
21
|
+
}],
|
|
22
|
+
["path", {
|
|
23
|
+
d: "M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",
|
|
24
|
+
key: "i71pzd"
|
|
25
|
+
}],
|
|
26
|
+
["path", {
|
|
27
|
+
d: "M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",
|
|
28
|
+
key: "10jefs"
|
|
29
|
+
}],
|
|
30
|
+
["path", {
|
|
31
|
+
d: "M10 6h4",
|
|
32
|
+
key: "1itunk"
|
|
33
|
+
}],
|
|
34
|
+
["path", {
|
|
35
|
+
d: "M10 10h4",
|
|
36
|
+
key: "tcdvrf"
|
|
37
|
+
}],
|
|
38
|
+
["path", {
|
|
39
|
+
d: "M10 14h4",
|
|
40
|
+
key: "kelpxr"
|
|
41
|
+
}],
|
|
42
|
+
["path", {
|
|
43
|
+
d: "M10 18h4",
|
|
44
|
+
key: "1ulq68"
|
|
45
|
+
}]
|
|
46
|
+
]);
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/movethewheels/pages/CustomersPage.tsx
|
|
49
|
+
function D() {
|
|
50
|
+
let { basePath: s, navigate: D } = a(), [O, k] = x(0), [A, j] = x(25), { customers: M, hasMore: N, isLoading: P, refetch: F } = g({
|
|
51
|
+
limit: A,
|
|
52
|
+
offset: O * A
|
|
53
|
+
}), { stats: I } = h(), L = (e) => D?.(n(s, e));
|
|
54
|
+
return /* @__PURE__ */ C(e, {
|
|
55
|
+
title: "Customers",
|
|
56
|
+
subtitle: `${I.total} customers`,
|
|
57
|
+
icon: /* @__PURE__ */ S(m, { size: 24 }),
|
|
58
|
+
headerActions: /* @__PURE__ */ S(w, {
|
|
59
|
+
primary: {
|
|
60
|
+
label: "Add Customer",
|
|
61
|
+
icon: /* @__PURE__ */ S(u, { size: 16 }),
|
|
62
|
+
onSelect: () => L("customers/new")
|
|
63
|
+
},
|
|
64
|
+
actions: [{
|
|
65
|
+
label: "Refresh",
|
|
66
|
+
icon: /* @__PURE__ */ S(d, { size: 16 }),
|
|
67
|
+
onSelect: () => F()
|
|
68
|
+
}, {
|
|
69
|
+
label: "Export",
|
|
70
|
+
icon: /* @__PURE__ */ S(l, { size: 16 }),
|
|
71
|
+
onSelect: () => L("import-export")
|
|
72
|
+
}]
|
|
73
|
+
}),
|
|
74
|
+
children: [
|
|
75
|
+
/* @__PURE__ */ S(T, {
|
|
76
|
+
icon: /* @__PURE__ */ S(m, { size: 18 }),
|
|
77
|
+
children: "The businesses and individuals you deliver for. Keep contact details, locations and satisfaction ratings here, and open a customer to see their order history before booking the next shipment."
|
|
78
|
+
}),
|
|
79
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
80
|
+
className: "mb-3 text-sm font-medium text-text-secondary",
|
|
81
|
+
children: "Customer base at a glance"
|
|
82
|
+
}), /* @__PURE__ */ C(_, {
|
|
83
|
+
columns: 3,
|
|
84
|
+
children: [
|
|
85
|
+
/* @__PURE__ */ S(v, {
|
|
86
|
+
label: "Total customers",
|
|
87
|
+
value: I.total,
|
|
88
|
+
icon: /* @__PURE__ */ S(m, { size: 20 }),
|
|
89
|
+
accent: "brand"
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ S(v, {
|
|
92
|
+
label: "Active",
|
|
93
|
+
value: I.active,
|
|
94
|
+
icon: /* @__PURE__ */ S(p, { size: 20 }),
|
|
95
|
+
accent: "success",
|
|
96
|
+
subtitle: "Currently transacting"
|
|
97
|
+
}),
|
|
98
|
+
/* @__PURE__ */ S(v, {
|
|
99
|
+
label: "Business accounts",
|
|
100
|
+
value: I.b2b,
|
|
101
|
+
icon: /* @__PURE__ */ S(E, { size: 20 }),
|
|
102
|
+
accent: "blue",
|
|
103
|
+
subtitle: "B2B relationships"
|
|
104
|
+
})
|
|
105
|
+
]
|
|
106
|
+
})] }),
|
|
107
|
+
/* @__PURE__ */ S(c, {
|
|
108
|
+
columns: [
|
|
109
|
+
{
|
|
110
|
+
id: "customer",
|
|
111
|
+
header: "Customer",
|
|
112
|
+
cell: (e) => /* @__PURE__ */ C("div", {
|
|
113
|
+
className: "flex items-center gap-3",
|
|
114
|
+
children: [/* @__PURE__ */ S(r, { children: /* @__PURE__ */ S(i, { children: e.name.split(" ").map((e) => e[0]).join("") }) }), /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
115
|
+
className: "font-medium",
|
|
116
|
+
children: e.name
|
|
117
|
+
}), /* @__PURE__ */ S("p", {
|
|
118
|
+
className: "text-sm text-text-secondary",
|
|
119
|
+
children: e.email
|
|
120
|
+
})] })]
|
|
121
|
+
})
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
id: "type",
|
|
125
|
+
header: "Type",
|
|
126
|
+
accessorKey: "type",
|
|
127
|
+
cell: (e) => /* @__PURE__ */ S(y, { type: e.type })
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
id: "company",
|
|
131
|
+
header: "Company",
|
|
132
|
+
accessorKey: "company",
|
|
133
|
+
cell: (e) => e.company || "-"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: "phone",
|
|
137
|
+
header: "Phone",
|
|
138
|
+
accessorKey: "phone"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: "location",
|
|
142
|
+
header: "Location",
|
|
143
|
+
cell: (e) => `${e.address.city}, ${e.address.state}`
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
id: "rating",
|
|
147
|
+
header: "Rating",
|
|
148
|
+
cell: (e) => /* @__PURE__ */ C("div", {
|
|
149
|
+
className: "flex items-center gap-1",
|
|
150
|
+
children: [/* @__PURE__ */ S(f, {
|
|
151
|
+
size: 14,
|
|
152
|
+
className: "text-status-warning-text fill-current"
|
|
153
|
+
}), /* @__PURE__ */ S("span", { children: e.rating.toFixed(1) })]
|
|
154
|
+
})
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
id: "status",
|
|
158
|
+
header: "Status",
|
|
159
|
+
cell: (e) => /* @__PURE__ */ S(t, {
|
|
160
|
+
variant: e.isActive ? "default" : "secondary",
|
|
161
|
+
children: e.isActive ? "Active" : "Inactive"
|
|
162
|
+
})
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
id: "created",
|
|
166
|
+
header: "Created",
|
|
167
|
+
accessorKey: "createdAt",
|
|
168
|
+
sortable: !0,
|
|
169
|
+
cell: (e) => b(e.createdAt, "short")
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
data: M,
|
|
173
|
+
isLoading: P,
|
|
174
|
+
searchable: !0,
|
|
175
|
+
searchPlaceholder: "Search customers...",
|
|
176
|
+
searchFields: [
|
|
177
|
+
"name",
|
|
178
|
+
"email",
|
|
179
|
+
"company"
|
|
180
|
+
],
|
|
181
|
+
onRowClick: (e) => L(`customers/${e.id}`),
|
|
182
|
+
getRowId: (e) => e.id,
|
|
183
|
+
pageIndex: O,
|
|
184
|
+
pageSize: A,
|
|
185
|
+
onPageChange: k,
|
|
186
|
+
onPageSizeChange: (e) => {
|
|
187
|
+
j(e), k(0);
|
|
188
|
+
},
|
|
189
|
+
hasNextPage: N,
|
|
190
|
+
emptyIllustration: "empty-people",
|
|
191
|
+
emptyTitle: "No customers yet",
|
|
192
|
+
emptyDescription: "Add your first customer to start booking deliveries for them.",
|
|
193
|
+
emptyAction: /* @__PURE__ */ C(o, {
|
|
194
|
+
onClick: () => L("customers/new"),
|
|
195
|
+
children: [/* @__PURE__ */ S(u, {
|
|
196
|
+
size: 16,
|
|
197
|
+
className: "mr-1.5"
|
|
198
|
+
}), "Add Customer"]
|
|
199
|
+
})
|
|
200
|
+
})
|
|
201
|
+
]
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
//#endregion
|
|
205
|
+
export { D as default };
|