randmarcomps 1.261.0 → 1.263.0
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/randmarcomps.js +52 -49
- package/dist/randmarcomps.umd.cjs +8 -8
- package/package.json +1 -1
package/dist/randmarcomps.js
CHANGED
|
@@ -17067,7 +17067,7 @@ const ManufacturerSectionComponent = React__default.memo(({
|
|
|
17067
17067
|
t && /* @__PURE__ */ jsx("h2", { className: "text-2xl mb-4 mr-auto", children: t }),
|
|
17068
17068
|
n
|
|
17069
17069
|
] }),
|
|
17070
|
-
(e == null ? void 0 : e.length) > 0 ? /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4", children: e.map((b) => /* @__PURE__ */ jsx(
|
|
17070
|
+
(e == null ? void 0 : e.length) > 0 ? /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @md:grid-cols-2 @xl:grid-cols-3 gap-4", children: e.map((b) => /* @__PURE__ */ jsx(
|
|
17071
17071
|
ManufacturerCard,
|
|
17072
17072
|
{
|
|
17073
17073
|
manufacturer: b,
|
|
@@ -57391,7 +57391,7 @@ function PartnerCard({
|
|
|
57391
57391
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-full" }),
|
|
57392
57392
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-full" })
|
|
57393
57393
|
] }),
|
|
57394
|
-
d && /* @__PURE__ */ jsx("div", { className: "p-3 bg-slate-50 rounded-md", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-3 gap-2", children: [
|
|
57394
|
+
d && /* @__PURE__ */ jsx("div", { className: "p-3 bg-slate-50 rounded-md", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @lg:grid-cols-3 gap-2", children: [
|
|
57395
57395
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
57396
57396
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-20 mb-1" }),
|
|
57397
57397
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-24" })
|
|
@@ -57437,7 +57437,7 @@ function PartnerCard({
|
|
|
57437
57437
|
dangerouslySetInnerHTML: { __html: t.About ?? "" }
|
|
57438
57438
|
}
|
|
57439
57439
|
),
|
|
57440
|
-
d && /* @__PURE__ */ jsx("div", { className: "p-3 bg-slate-50 rounded-md", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-3 gap-2", children: [
|
|
57440
|
+
d && /* @__PURE__ */ jsx("div", { className: "p-3 bg-slate-50 rounded-md", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @lg:grid-cols-3 gap-2", children: [
|
|
57441
57441
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
57442
57442
|
/* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: "Voice Name" }),
|
|
57443
57443
|
/* @__PURE__ */ jsx("div", { className: "font-medium", children: t.VoiceName ?? "Regular" })
|
|
@@ -57459,7 +57459,7 @@ function PartnerCard({
|
|
|
57459
57459
|
/* @__PURE__ */ jsx(Video, { className: "h-4 w-4" }),
|
|
57460
57460
|
/* @__PURE__ */ jsx("span", { children: "Watch Video" })
|
|
57461
57461
|
] }) }),
|
|
57462
|
-
/* @__PURE__ */ jsxs(DialogContent, { className: "sm:max-w-[360px]", children: [
|
|
57462
|
+
/* @__PURE__ */ jsxs(DialogContent, { className: "@sm:max-w-[360px]", children: [
|
|
57463
57463
|
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsxs(DialogTitle, { children: [
|
|
57464
57464
|
t.PublicName,
|
|
57465
57465
|
" Video"
|
|
@@ -60155,7 +60155,7 @@ const DebugMessageDisplay = ({ debugMessages: t }) => {
|
|
|
60155
60155
|
] })
|
|
60156
60156
|
] })
|
|
60157
60157
|
] }) : /* @__PURE__ */ jsx("div", { className: "flex-1 flex items-center justify-center text-muted-foreground", children: "Select a chat to start messaging" }) }),
|
|
60158
|
-
/* @__PURE__ */
|
|
60158
|
+
/* @__PURE__ */ jsx("div", { className: "w-[480px] flex flex-2 flex-col border-l", children: isAssistantChat(ae) ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
60159
60159
|
/* @__PURE__ */ jsx("div", { className: "flex items-center p-4 border-b", children: /* @__PURE__ */ jsx("p", { className: "h-9 text-base/9", children: "Sources and System Info" }) }),
|
|
60160
60160
|
/* @__PURE__ */ jsx(ScrollArea, { className: "flex-1 pl-2 pr-2 bg-slate-50", children: /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
60161
60161
|
et ? /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsxs("div", { className: "flex", children: [
|
|
@@ -60171,7 +60171,10 @@ const DebugMessageDisplay = ({ debugMessages: t }) => {
|
|
|
60171
60171
|
] }) }))
|
|
60172
60172
|
] }) }),
|
|
60173
60173
|
/* @__PURE__ */ jsx(ScrollArea, { className: "flex-4 border-t pl-2 pr-2 bg-slate-50", children: /* @__PURE__ */ jsx("div", { className: "space-y-2", children: /* @__PURE__ */ jsx(DebugMessageDisplay, { debugMessages: Q }) }) })
|
|
60174
|
-
] })
|
|
60174
|
+
] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
60175
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center p-4 border-b", children: /* @__PURE__ */ jsx("p", { className: "h-9 text-base/9", children: "Partner Overview" }) }),
|
|
60176
|
+
/* @__PURE__ */ jsx(ScrollArea, { className: "flex-1 pl-2 pr-2 bg-slate-50", children: /* @__PURE__ */ jsx(PartnerRelationshipPage, { applicationId: t, partnerId: ((ae == null ? void 0 : ae[0]) === t ? ae[1] : ae == null ? void 0 : ae[0]) ?? t, userEmail: e, shopifyHostName: void 0, isSuperAdmin: !1 }) })
|
|
60177
|
+
] }) })
|
|
60175
60178
|
] });
|
|
60176
60179
|
}
|
|
60177
60180
|
);
|
|
@@ -60720,7 +60723,7 @@ function ActiveOrdersCard({ orders: t, loading: e = !1 }) {
|
|
|
60720
60723
|
];
|
|
60721
60724
|
return e ? /* @__PURE__ */ jsxs(Card, { children: [
|
|
60722
60725
|
/* @__PURE__ */ jsx(CardHeader, { className: "pb-0", children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg font-bold", children: "Active Orders" }) }),
|
|
60723
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4 p-4", children: [1, 2, 3, 4].map((d) => /* @__PURE__ */ jsxs("div", { className: "overflow-hidden rounded-md border", children: [
|
|
60726
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @sm:grid-cols-2 gap-4 p-4", children: [1, 2, 3, 4].map((d) => /* @__PURE__ */ jsxs("div", { className: "overflow-hidden rounded-md border", children: [
|
|
60724
60727
|
/* @__PURE__ */ jsx("div", { className: "bg-slate-200 dark:bg-slate-700 h-[3px]" }),
|
|
60725
60728
|
/* @__PURE__ */ jsxs("div", { className: "p-6 border border-t-0", children: [
|
|
60726
60729
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
@@ -60741,7 +60744,7 @@ function ActiveOrdersCard({ orders: t, loading: e = !1 }) {
|
|
|
60741
60744
|
] }, d)) })
|
|
60742
60745
|
] }) : /* @__PURE__ */ jsxs(Card, { children: [
|
|
60743
60746
|
/* @__PURE__ */ jsx(CardHeader, { className: "pb-0", children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg font-bold", children: "Active Orders" }) }),
|
|
60744
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4 p-4", children: l.map((d) => /* @__PURE__ */ jsxs("div", { className: "overflow-hidden rounded-md border", children: [
|
|
60747
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @sm:grid-cols-2 gap-4 p-4", children: l.map((d) => /* @__PURE__ */ jsxs("div", { className: "overflow-hidden rounded-md border", children: [
|
|
60745
60748
|
/* @__PURE__ */ jsx("div", { className: `${d.color} bg-opacity-60 h-[3px]` }),
|
|
60746
60749
|
/* @__PURE__ */ jsxs("div", { className: "p-6 border border-t-0", children: [
|
|
60747
60750
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
@@ -69294,7 +69297,7 @@ function ManufacturerReorderingCard({
|
|
|
69294
69297
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-10" }),
|
|
69295
69298
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-40" })
|
|
69296
69299
|
] }),
|
|
69297
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
69300
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-6", children: [
|
|
69298
69301
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
69299
69302
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-40" }),
|
|
69300
69303
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full" })
|
|
@@ -69339,7 +69342,7 @@ function ManufacturerReorderingCard({
|
|
|
69339
69342
|
),
|
|
69340
69343
|
/* @__PURE__ */ jsx(Label$2, { htmlFor: "automatic-reordering", children: "Automatic Reordering" })
|
|
69341
69344
|
] }),
|
|
69342
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
69345
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-6", children: [
|
|
69343
69346
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
69344
69347
|
/* @__PURE__ */ jsx(Label$2, { htmlFor: "reorder-date", children: "Automatic Reorder Date" }),
|
|
69345
69348
|
/* @__PURE__ */ jsxs(
|
|
@@ -69895,7 +69898,7 @@ function ResellerBillingOverviewSkeleton() {
|
|
|
69895
69898
|
return /* @__PURE__ */ jsxs(Card, { children: [
|
|
69896
69899
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: /* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-40" }) }) }),
|
|
69897
69900
|
/* @__PURE__ */ jsxs(CardContent, { children: [
|
|
69898
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
69901
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-4", children: [
|
|
69899
69902
|
/* @__PURE__ */ jsx("div", { className: "space-y-4", children: Array(3).fill(0).map((t, e) => /* @__PURE__ */ jsxs("div", { className: "border rounded-lg p-4", children: [
|
|
69900
69903
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
69901
69904
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-24" }),
|
|
@@ -69963,7 +69966,7 @@ function ResellerBillingOverviewData({ reseller: t, actions: e }) {
|
|
|
69963
69966
|
return /* @__PURE__ */ jsxs(Card, { children: [
|
|
69964
69967
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Billing Overview" }) }),
|
|
69965
69968
|
/* @__PURE__ */ jsxs(CardContent, { children: [
|
|
69966
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
69969
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-4", children: [
|
|
69967
69970
|
/* @__PURE__ */ jsx("div", { className: "space-y-4", children: l.map((f, g) => /* @__PURE__ */ jsxs("div", { className: "border rounded-lg p-4", children: [
|
|
69968
69971
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center", children: [
|
|
69969
69972
|
/* @__PURE__ */ jsx("h3", { className: "text-sm sm:text-base font-medium", children: f.title }),
|
|
@@ -69986,13 +69989,13 @@ function ResellerBillingOverviewData({ reseller: t, actions: e }) {
|
|
|
69986
69989
|
function ResellerQualificationsCard({ qualifications: t = [], loading: e = !1 }) {
|
|
69987
69990
|
return e ? /* @__PURE__ */ jsxs(Card, { children: [
|
|
69988
69991
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Qualifications" }) }),
|
|
69989
|
-
/* @__PURE__ */ jsx(CardContent, { className: "p-6", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4 gap-y-8", children: Array.from({ length: 10 }).map((n, o) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
|
|
69992
|
+
/* @__PURE__ */ jsx(CardContent, { className: "p-6", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 @sm:grid-cols-3 @md:grid-cols-4 @lg:grid-cols-5 gap-4 gap-y-8", children: Array.from({ length: 10 }).map((n, o) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
|
|
69990
69993
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-12 w-24 rounded-md mb-2" }),
|
|
69991
69994
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-16 rounded-full" })
|
|
69992
69995
|
] }, o)) }) })
|
|
69993
69996
|
] }) : /* @__PURE__ */ jsxs(Card, { children: [
|
|
69994
69997
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Qualifications" }) }),
|
|
69995
|
-
/* @__PURE__ */ jsx(CardContent, { children: t && t.length > 0 ? /* @__PURE__ */ jsx("div", { className: "p-6", children: /* @__PURE__ */ jsx("div", { className: "flex grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4 gap-y-8", children: t.map((n, o) => /* @__PURE__ */ jsx(
|
|
69998
|
+
/* @__PURE__ */ jsx(CardContent, { children: t && t.length > 0 ? /* @__PURE__ */ jsx("div", { className: "p-6", children: /* @__PURE__ */ jsx("div", { className: "flex grid grid-cols-2 @sm:grid-cols-3 @md:grid-cols-4 @lg:grid-cols-5 gap-4 gap-y-8", children: t.map((n, o) => /* @__PURE__ */ jsx(
|
|
69996
69999
|
ManufacturerLogo,
|
|
69997
70000
|
{
|
|
69998
70001
|
manufacturerId: n.ManufacturerId,
|
|
@@ -70013,9 +70016,9 @@ function SalesOverviewCard({ salesData: t, salesStatistics: e = [], loading: n =
|
|
|
70013
70016
|
}
|
|
70014
70017
|
function SalesOverviewSkeleton() {
|
|
70015
70018
|
return /* @__PURE__ */ jsxs(Card, { children: [
|
|
70016
|
-
/* @__PURE__ */ jsx(CardHeader, { className: "pb-0", children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg sm:text-xl", children: /* @__PURE__ */ jsx(Skeleton, { className: "h-7 w-40" }) }) }),
|
|
70017
|
-
/* @__PURE__ */ jsxs(CardContent, { className: "pt-4 px-3 sm:px-6", children: [
|
|
70018
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4", children: Array(3).fill(0).map((t, e) => /* @__PURE__ */ jsxs("div", { className: "border rounded-lg p-4", children: [
|
|
70019
|
+
/* @__PURE__ */ jsx(CardHeader, { className: "pb-0", children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg @sm:text-xl", children: /* @__PURE__ */ jsx(Skeleton, { className: "h-7 w-40" }) }) }),
|
|
70020
|
+
/* @__PURE__ */ jsxs(CardContent, { className: "pt-4 px-3 @sm:px-6", children: [
|
|
70021
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @sm:grid-cols-2 @lg:grid-cols-3 gap-4", children: Array(3).fill(0).map((t, e) => /* @__PURE__ */ jsxs("div", { className: "border rounded-lg p-4", children: [
|
|
70019
70022
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
70020
70023
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-24" }),
|
|
70021
70024
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-9 w-9 rounded-full" })
|
|
@@ -70077,16 +70080,16 @@ function SalesOverviewData({
|
|
|
70077
70080
|
}));
|
|
70078
70081
|
}, [e]);
|
|
70079
70082
|
return /* @__PURE__ */ jsxs(Card, { children: [
|
|
70080
|
-
/* @__PURE__ */ jsx(CardHeader, { className: "pb-0", children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg sm:text-xl", children: "Sales Overview" }) }),
|
|
70081
|
-
/* @__PURE__ */ jsxs(CardContent, { className: "pt-4 px-3 sm:px-6", children: [
|
|
70082
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4", children: o.map((d, f) => /* @__PURE__ */ jsxs("div", { className: "border rounded-lg p-4", children: [
|
|
70083
|
+
/* @__PURE__ */ jsx(CardHeader, { className: "pb-0", children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg @sm:text-xl", children: "Sales Overview" }) }),
|
|
70084
|
+
/* @__PURE__ */ jsxs(CardContent, { className: "pt-4 px-3 @sm:px-6", children: [
|
|
70085
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @sm:grid-cols-2 @lg:grid-cols-3 gap-4", children: o.map((d, f) => /* @__PURE__ */ jsxs("div", { className: "border rounded-lg p-4", children: [
|
|
70083
70086
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
70084
|
-
/* @__PURE__ */ jsx("h3", { className: "text-sm sm:text-base font-medium", children: d.title }),
|
|
70087
|
+
/* @__PURE__ */ jsx("h3", { className: "text-sm @sm:text-base font-medium", children: d.title }),
|
|
70085
70088
|
/* @__PURE__ */ jsx("div", { className: `p-2 rounded-full ${d.color}`, children: d.icon })
|
|
70086
70089
|
] }),
|
|
70087
70090
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
70088
70091
|
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: "Total Amount" }),
|
|
70089
|
-
/* @__PURE__ */ jsx("p", { className: "text-base sm:text-lg font-bold", children: n(d.amount) })
|
|
70092
|
+
/* @__PURE__ */ jsx("p", { className: "text-base @sm:text-lg font-bold", children: n(d.amount) })
|
|
70090
70093
|
] })
|
|
70091
70094
|
] }, f)) }),
|
|
70092
70095
|
/* @__PURE__ */ jsx("div", { className: "mt-6", children: e && e.length > 0 && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -71120,7 +71123,7 @@ const PublicInfo = ({ reseller: t, appID: e, isLoading: n, readonly: o, onUnsave
|
|
|
71120
71123
|
return n ? /* @__PURE__ */ jsxs(Card, { children: [
|
|
71121
71124
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Public Information" }) }),
|
|
71122
71125
|
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
71123
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
71126
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-4", children: [
|
|
71124
71127
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
71125
71128
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-32" }),
|
|
71126
71129
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full" })
|
|
@@ -71152,7 +71155,7 @@ const PublicInfo = ({ reseller: t, appID: e, isLoading: n, readonly: o, onUnsave
|
|
|
71152
71155
|
/* @__PURE__ */ jsx(AlertDescription, { children: "All fields are required to get started at working with Manufacturers." })
|
|
71153
71156
|
] }),
|
|
71154
71157
|
/* @__PURE__ */ jsxs("form", { onSubmit: C(q), className: "space-y-4", children: [
|
|
71155
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
71158
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-4", children: [
|
|
71156
71159
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
71157
71160
|
/* @__PURE__ */ jsx("label", { className: "text-sm font-medium leading-none", htmlFor: "contactName", children: "Main Representative *" }),
|
|
71158
71161
|
/* @__PURE__ */ jsx(
|
|
@@ -71786,21 +71789,21 @@ $10 with opportunities under $1,000` : t === "D" ? "$15 under $1,500" : t === "E
|
|
|
71786
71789
|
/* @__PURE__ */ jsx(CardContent, { className: "pt-2 px-4 pb-4", children: /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
|
|
71787
71790
|
/* @__PURE__ */ jsxs("div", { className: "bg-muted/30 p-2 rounded-lg", children: [
|
|
71788
71791
|
/* @__PURE__ */ jsx(Label$2, { className: "block mb-1 text-xs font-medium", children: "Priority" }),
|
|
71789
|
-
/* @__PURE__ */ jsx(RadioGroup$1, { value: I, onValueChange: ae, className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-1", children: [{ value: "starter", label: "Starter" }, { value: "ecommerce", label: "E-Commerce" }, { value: "commercial", label: "Commercial" }, { value: "cws", label: "CWS (Basics)" }, { value: "novexco", label: "Novexco" }, { value: "jeancoutu", label: "Jean Coutu" }, { value: "exclusive", label: "Exclusive" }].map((Ve) => /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1", children: [
|
|
71792
|
+
/* @__PURE__ */ jsx(RadioGroup$1, { value: I, onValueChange: ae, className: "grid grid-cols-2 @sm:grid-cols-3 @md:grid-cols-4 gap-1", children: [{ value: "starter", label: "Starter" }, { value: "ecommerce", label: "E-Commerce" }, { value: "commercial", label: "Commercial" }, { value: "cws", label: "CWS (Basics)" }, { value: "novexco", label: "Novexco" }, { value: "jeancoutu", label: "Jean Coutu" }, { value: "exclusive", label: "Exclusive" }].map((Ve) => /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1", children: [
|
|
71790
71793
|
/* @__PURE__ */ jsx(RadioGroupItem, { value: Ve.value, id: `priority-${Ve.value}`, className: "h-6 w-6 scale-50" }),
|
|
71791
71794
|
/* @__PURE__ */ jsx(Label$2, { htmlFor: `priority-${Ve.value}`, className: "cursor-pointer text-xs", children: Ve.label })
|
|
71792
71795
|
] }, Ve.value)) })
|
|
71793
71796
|
] }),
|
|
71794
71797
|
/* @__PURE__ */ jsxs("div", { className: "bg-muted/30 p-2 rounded-lg", children: [
|
|
71795
71798
|
/* @__PURE__ */ jsx(Label$2, { className: "block mb-1 text-xs font-medium", children: "Shipping Profile" }),
|
|
71796
|
-
/* @__PURE__ */ jsx(RadioGroup$1, { value: V, onValueChange: ge, className: "grid grid-cols-1 md:grid-cols-2 gap-1", children: [{ value: "free", label: "Free (A)" }, { value: "fixed", label: "Fixed $10 Shipping (B)" }, { value: "dropshipped", label: "$15 for drop shipped (C)" }, { value: "under1500", label: "15$ under 1,500 (D)" }, { value: "fullcharges", label: "Full shipping charges (E)" }].map((Ve) => /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1", children: [
|
|
71799
|
+
/* @__PURE__ */ jsx(RadioGroup$1, { value: V, onValueChange: ge, className: "grid grid-cols-1 @md:grid-cols-2 gap-1", children: [{ value: "free", label: "Free (A)" }, { value: "fixed", label: "Fixed $10 Shipping (B)" }, { value: "dropshipped", label: "$15 for drop shipped (C)" }, { value: "under1500", label: "15$ under 1,500 (D)" }, { value: "fullcharges", label: "Full shipping charges (E)" }].map((Ve) => /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1", children: [
|
|
71797
71800
|
/* @__PURE__ */ jsx(RadioGroupItem, { value: Ve.value, id: `shipping-${Ve.value}`, className: "h-6 w-6 scale-50" }),
|
|
71798
71801
|
/* @__PURE__ */ jsx(Label$2, { htmlFor: `shipping-${Ve.value}`, className: "cursor-pointer text-xs", children: Ve.label })
|
|
71799
71802
|
] }, Ve.value)) })
|
|
71800
71803
|
] }),
|
|
71801
71804
|
/* @__PURE__ */ jsxs("div", { className: "bg-muted/30 p-2 rounded-lg", children: [
|
|
71802
71805
|
/* @__PURE__ */ jsx(Label$2, { className: "block mb-1 text-xs font-medium", children: "Pricing Profile" }),
|
|
71803
|
-
/* @__PURE__ */ jsx(RadioGroup$1, { value: z, onValueChange: oe, className: "grid grid-cols-2 sm:grid-cols-3 gap-1", children: [{ value: "exclusive", label: "Exclusive (1)" }, { value: "ecommerce", label: "E-Commerce (2)" }, { value: "commercial", label: "Commercial (3)" }, { value: "buyinggroup", label: "Buying Group (4)" }, { value: "cost", label: "Cost (5)" }].map((Ve) => /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1", children: [
|
|
71806
|
+
/* @__PURE__ */ jsx(RadioGroup$1, { value: z, onValueChange: oe, className: "grid grid-cols-2 @sm:grid-cols-3 gap-1", children: [{ value: "exclusive", label: "Exclusive (1)" }, { value: "ecommerce", label: "E-Commerce (2)" }, { value: "commercial", label: "Commercial (3)" }, { value: "buyinggroup", label: "Buying Group (4)" }, { value: "cost", label: "Cost (5)" }].map((Ve) => /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1", children: [
|
|
71804
71807
|
/* @__PURE__ */ jsx(RadioGroupItem, { value: Ve.value, id: `pricing-${Ve.value}`, className: "h-6 w-6 scale-50 antialiased" }),
|
|
71805
71808
|
/* @__PURE__ */ jsx(Label$2, { htmlFor: `pricing-${Ve.value}`, className: "cursor-pointer text-xs", children: Ve.label })
|
|
71806
71809
|
] }, Ve.value)) })
|
|
@@ -71840,9 +71843,9 @@ function OrderCategories({ openOrders: t = [], isLoading: e = !1 }) {
|
|
|
71840
71843
|
amount: S
|
|
71841
71844
|
}
|
|
71842
71845
|
];
|
|
71843
|
-
return e ? /* @__PURE__ */ jsxs(Card, { className: "w-full md:col-span-2 xl:col-span-1", children: [
|
|
71846
|
+
return e ? /* @__PURE__ */ jsxs(Card, { className: "w-full @md:col-span-2 @xl:col-span-1", children: [
|
|
71844
71847
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(Skeleton, { className: "h-7 w-40" }) }),
|
|
71845
|
-
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-3.5", children: [1, 2, 3, 4].map((I) => /* @__PURE__ */ jsx(Card, { className: "overflow-hidden rounded-md rounded-b-lg border-0 shadow-md", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-0", children: [
|
|
71848
|
+
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @sm:grid-cols-2 gap-3.5", children: [1, 2, 3, 4].map((I) => /* @__PURE__ */ jsx(Card, { className: "overflow-hidden rounded-md rounded-b-lg border-0 shadow-md", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-0", children: [
|
|
71846
71849
|
/* @__PURE__ */ jsx("div", { className: "bg-gray-200 h-[3px]" }),
|
|
71847
71850
|
/* @__PURE__ */ jsxs("div", { className: "p-6 border border-t-0", children: [
|
|
71848
71851
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
@@ -71861,9 +71864,9 @@ function OrderCategories({ openOrders: t = [], isLoading: e = !1 }) {
|
|
|
71861
71864
|
] })
|
|
71862
71865
|
] })
|
|
71863
71866
|
] }) }, I)) }) })
|
|
71864
|
-
] }) : /* @__PURE__ */ jsxs(Card, { className: "w-full md:col-span-2 xl:col-span-1", children: [
|
|
71867
|
+
] }) : /* @__PURE__ */ jsxs(Card, { className: "w-full @md:col-span-2 @xl:col-span-1", children: [
|
|
71865
71868
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-1xl font-bold", children: "Order Categories" }) }),
|
|
71866
|
-
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-3.5", children: A.map((I) => /* @__PURE__ */ jsx(Card, { className: "overflow-hidden rounded-md rounded-b-lg border-0 shadow-md", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-0", children: [
|
|
71869
|
+
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @sm:grid-cols-2 gap-3.5", children: A.map((I) => /* @__PURE__ */ jsx(Card, { className: "overflow-hidden rounded-md rounded-b-lg border-0 shadow-md", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-0", children: [
|
|
71867
71870
|
/* @__PURE__ */ jsx("div", { className: `${I.color} bg-opacity-60 h-[3px]` }),
|
|
71868
71871
|
/* @__PURE__ */ jsxs("div", { className: "p-6 border border-t-0", children: [
|
|
71869
71872
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
@@ -71914,7 +71917,7 @@ function LongMonthName(t) {
|
|
|
71914
71917
|
}
|
|
71915
71918
|
function SalesSummary({ fiscalYearMonthStart: t, salesData: e, isLoading: n }) {
|
|
71916
71919
|
const o = (e == null ? void 0 : e.SalesLast30Days) ?? 0, l = (e == null ? void 0 : e.SalesLast3Months) ?? 0, d = (e == null ? void 0 : e.SalesYearToDay) ?? 0, f = LongMonthName(t);
|
|
71917
|
-
return n ? /* @__PURE__ */ jsxs("div", { className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-3 mb-4", children: [
|
|
71920
|
+
return n ? /* @__PURE__ */ jsxs("div", { className: "grid gap-4 @sm:grid-cols-2 @lg:grid-cols-3 mb-4", children: [
|
|
71918
71921
|
/* @__PURE__ */ jsxs(Card, { children: [
|
|
71919
71922
|
/* @__PURE__ */ jsxs(CardHeader, { className: "flex flex-row items-center justify-between space-y-0 pb-2", children: [
|
|
71920
71923
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-24" }),
|
|
@@ -71945,7 +71948,7 @@ function SalesSummary({ fiscalYearMonthStart: t, salesData: e, isLoading: n }) {
|
|
|
71945
71948
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-24" })
|
|
71946
71949
|
] })
|
|
71947
71950
|
] })
|
|
71948
|
-
] }) : /* @__PURE__ */ jsxs("div", { className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-3 mb-4", children: [
|
|
71951
|
+
] }) : /* @__PURE__ */ jsxs("div", { className: "grid gap-4 @sm:grid-cols-2 @lg:grid-cols-3 mb-4", children: [
|
|
71949
71952
|
/* @__PURE__ */ jsxs(Card, { children: [
|
|
71950
71953
|
/* @__PURE__ */ jsxs(CardHeader, { className: "flex flex-row items-center justify-between space-y-0 pb-2", children: [
|
|
71951
71954
|
/* @__PURE__ */ jsx(CardTitle, { className: "text-sm font-medium", children: "Last 30 Days" }),
|
|
@@ -71966,7 +71969,7 @@ function SalesSummary({ fiscalYearMonthStart: t, salesData: e, isLoading: n }) {
|
|
|
71966
71969
|
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground" })
|
|
71967
71970
|
] })
|
|
71968
71971
|
] }),
|
|
71969
|
-
f && /* @__PURE__ */ jsxs(Card, { className: "col-span-2 lg:col-span-1", children: [
|
|
71972
|
+
f && /* @__PURE__ */ jsxs(Card, { className: "col-span-2 @lg:col-span-1", children: [
|
|
71970
71973
|
/* @__PURE__ */ jsxs(CardHeader, { className: "flex flex-row items-center justify-between space-y-0 pb-2", children: [
|
|
71971
71974
|
/* @__PURE__ */ jsxs(CardTitle, { className: "text-sm font-medium", children: [
|
|
71972
71975
|
"Year to Date (",
|
|
@@ -72275,7 +72278,7 @@ function ResellerOverview({
|
|
|
72275
72278
|
isLoading: g
|
|
72276
72279
|
}
|
|
72277
72280
|
),
|
|
72278
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
|
|
72281
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @lg:grid-cols-2 gap-6", children: [
|
|
72279
72282
|
/* @__PURE__ */ jsx(
|
|
72280
72283
|
SalesChart,
|
|
72281
72284
|
{
|
|
@@ -72316,7 +72319,7 @@ function ResellerOverview({
|
|
|
72316
72319
|
] }),
|
|
72317
72320
|
g || M.length > 0 ? /* @__PURE__ */ jsxs(Card, { className: "w-full", children: [
|
|
72318
72321
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Manufacturers you are qualified for" }) }),
|
|
72319
|
-
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: g ? Array.from({ length: 2 }).map((q, z) => /* @__PURE__ */ jsx(ManufacturerCard, { loading: !0 }, z)) : M.map((q) => /* @__PURE__ */ jsx(
|
|
72322
|
+
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-4", children: g ? Array.from({ length: 2 }).map((q, z) => /* @__PURE__ */ jsx(ManufacturerCard, { loading: !0 }, z)) : M.map((q) => /* @__PURE__ */ jsx(
|
|
72320
72323
|
ManufacturerCard,
|
|
72321
72324
|
{
|
|
72322
72325
|
manufacturer: q,
|
|
@@ -74359,7 +74362,7 @@ function DataTable({ columns: t, data: e, uniqueValues: n }) {
|
|
|
74359
74362
|
},
|
|
74360
74363
|
children: [
|
|
74361
74364
|
/* @__PURE__ */ jsx(SelectTrigger, { className: "h-8 w-[70px]", children: /* @__PURE__ */ jsx(SelectValue, { placeholder: C.getState().pagination.pageSize }) }),
|
|
74362
|
-
/* @__PURE__ */ jsx(SelectContent, { side: "top", children: [10, 20, 30, 40, 50].map((A) => /* @__PURE__ */ jsx(SelectItem, { value: `${A}`, children: A }, A)) })
|
|
74365
|
+
/* @__PURE__ */ jsx(SelectContent, { side: "top", children: [10, 20, 30, 40, 50].map((A) => /* @__PURE__ */ jsx(SelectItem, { value: `${A}`, children: /* @__PURE__ */ jsx("span", { children: A }) }, A)) })
|
|
74363
74366
|
]
|
|
74364
74367
|
}
|
|
74365
74368
|
)
|
|
@@ -74529,7 +74532,7 @@ function ManufacturerProducts({
|
|
|
74529
74532
|
] })
|
|
74530
74533
|
] })
|
|
74531
74534
|
] }),
|
|
74532
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-4 mb-4", children: E || R ? Array.from({ length: 4 }).map((Q, j) => /* @__PURE__ */ jsx(ProductCard, {}, j)) : C != null && C.Products && (C == null ? void 0 : C.Products.length) > 0 ? (z = C == null ? void 0 : C.Products) == null ? void 0 : z.map((Q) => /* @__PURE__ */ jsx(
|
|
74535
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @md:grid-cols-2 @lg:grid-cols-2 gap-4 mb-4", children: E || R ? Array.from({ length: 4 }).map((Q, j) => /* @__PURE__ */ jsx(ProductCard, {}, j)) : C != null && C.Products && (C == null ? void 0 : C.Products.length) > 0 ? (z = C == null ? void 0 : C.Products) == null ? void 0 : z.map((Q) => /* @__PURE__ */ jsx(
|
|
74533
74536
|
ProductCard,
|
|
74534
74537
|
{
|
|
74535
74538
|
applicationId: t,
|
|
@@ -74578,8 +74581,8 @@ function PartnerRelationshipPage({
|
|
|
74578
74581
|
_(!1);
|
|
74579
74582
|
}
|
|
74580
74583
|
}, A = () => d != null && d.Reseller ? "reseller-overview" : d != null && d.Manufacturer ? "manufacturer-overview" : "";
|
|
74581
|
-
return /* @__PURE__ */ jsxs(
|
|
74582
|
-
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 grid-cols-1 md:grid-cols-2", children: [
|
|
74584
|
+
return /* @__PURE__ */ jsxs("div", { className: "@container", children: [
|
|
74585
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 grid-cols-1 @md:grid-cols-2", children: [
|
|
74583
74586
|
/* @__PURE__ */ jsx(
|
|
74584
74587
|
PartnerCard,
|
|
74585
74588
|
{
|
|
@@ -74728,7 +74731,7 @@ function ManufacturerBillingInfoSection({ manufacturer: t, readonly: e = !1, isL
|
|
|
74728
74731
|
/* @__PURE__ */ jsx(CardContent, { children: n ? (
|
|
74729
74732
|
// Skeleton loading state
|
|
74730
74733
|
/* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
74731
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
74734
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-4", children: [
|
|
74732
74735
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
74733
74736
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-48" }),
|
|
74734
74737
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full" })
|
|
@@ -74738,7 +74741,7 @@ function ManufacturerBillingInfoSection({ manufacturer: t, readonly: e = !1, isL
|
|
|
74738
74741
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full" })
|
|
74739
74742
|
] })
|
|
74740
74743
|
] }),
|
|
74741
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
74744
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-4", children: [
|
|
74742
74745
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
74743
74746
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-16" }),
|
|
74744
74747
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full" })
|
|
@@ -74792,7 +74795,7 @@ function ManufacturerBillingInfoSection({ manufacturer: t, readonly: e = !1, isL
|
|
|
74792
74795
|
variant: "destructive"
|
|
74793
74796
|
});
|
|
74794
74797
|
}), className: "space-y-4", children: [
|
|
74795
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
74798
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-4", children: [
|
|
74796
74799
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
74797
74800
|
/* @__PURE__ */ jsx(Label$2, { className: "text-sm font-medium leading-none", htmlFor: "accountsPayableRep", children: "Accounts Payable Representative" }),
|
|
74798
74801
|
/* @__PURE__ */ jsx(Input, { id: "accountsPayableRep", placeholder: "John Doe", ...S("accountsPayableRep"), readOnly: e })
|
|
@@ -74816,7 +74819,7 @@ function ManufacturerBillingInfoSection({ manufacturer: t, readonly: e = !1, isL
|
|
|
74816
74819
|
R.representativeEmail && /* @__PURE__ */ jsx("p", { className: "text-red-500 text-sm", children: R.representativeEmail.message })
|
|
74817
74820
|
] })
|
|
74818
74821
|
] }),
|
|
74819
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
74822
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @md:grid-cols-2 gap-4", children: [
|
|
74820
74823
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
74821
74824
|
/* @__PURE__ */ jsx(Label$2, { className: "text-sm font-medium leading-none", htmlFor: "phone", children: "Phone" }),
|
|
74822
74825
|
/* @__PURE__ */ jsx(Input, { id: "phone", placeholder: "(555) 123-4567", ...S("phone"), readOnly: e })
|
|
@@ -75419,7 +75422,7 @@ function ManufacturerResellerOrdersSection(t) {
|
|
|
75419
75422
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-1xl font-bold", children: "Reseller Orders" }) }),
|
|
75420
75423
|
/* @__PURE__ */ jsxs(CardContent, { children: [
|
|
75421
75424
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-40 mb-4" }),
|
|
75422
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-3.5", children: [1, 2, 3, 4].map((b) => /* @__PURE__ */ jsx(Skeleton, { className: "h-32 w-full" }, b)) })
|
|
75425
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @sm:grid-cols-2 gap-3.5", children: [1, 2, 3, 4].map((b) => /* @__PURE__ */ jsx(Skeleton, { className: "h-32 w-full" }, b)) })
|
|
75423
75426
|
] })
|
|
75424
75427
|
] }) : o ? /* @__PURE__ */ jsxs(Card, { className: "w-full", children: [
|
|
75425
75428
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-1xl font-bold", children: "Reseller Orders" }) }),
|
|
@@ -75435,7 +75438,7 @@ function ManufacturerResellerOrdersSection(t) {
|
|
|
75435
75438
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: "Active Orders:" }),
|
|
75436
75439
|
/* @__PURE__ */ jsx("span", { className: "ml-2 font-bold", children: f.all.orders })
|
|
75437
75440
|
] }),
|
|
75438
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-3.5", children: g.map((b) => /* @__PURE__ */ jsx(Card, { className: "overflow-hidden rounded-md rounded-b-lg border-0 shadow-md", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-0", children: [
|
|
75441
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 @sm:grid-cols-2 gap-3.5", children: g.map((b) => /* @__PURE__ */ jsx(Card, { className: "overflow-hidden rounded-md rounded-b-lg border-0 shadow-md", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-0", children: [
|
|
75439
75442
|
/* @__PURE__ */ jsx("div", { className: `${b.color} bg-opacity-60 h-[3px]` }),
|
|
75440
75443
|
/* @__PURE__ */ jsxs("div", { className: "p-6 border border-t-0", children: [
|
|
75441
75444
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
@@ -75784,7 +75787,7 @@ function ManufacturerOverviewPage({
|
|
|
75784
75787
|
isLoading: f
|
|
75785
75788
|
}
|
|
75786
75789
|
),
|
|
75787
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-2 gap-6", children: [
|
|
75790
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 @sm:grid-cols-1 @md:grid-cols-2 @lg:grid-cols-2 @xl:grid-cols-2 gap-6", children: [
|
|
75788
75791
|
/* @__PURE__ */ jsx(
|
|
75789
75792
|
SalesChart,
|
|
75790
75793
|
{
|
|
@@ -90763,7 +90766,7 @@ function OpportunitiesTable({
|
|
|
90763
90766
|
] }),
|
|
90764
90767
|
/* @__PURE__ */ jsx(Dialog, { open: f, onOpenChange: (ne) => {
|
|
90765
90768
|
g(ne), ne || (C(null), S(""));
|
|
90766
|
-
}, children: /* @__PURE__ */ jsxs(DialogContent, { className: "sm:max-w-[425px]", children: [
|
|
90769
|
+
}, children: /* @__PURE__ */ jsxs(DialogContent, { className: "@sm:max-w-[425px]", children: [
|
|
90767
90770
|
/* @__PURE__ */ jsxs(DialogHeader, { children: [
|
|
90768
90771
|
/* @__PURE__ */ jsx(DialogTitle, { children: "Send Opportunity Report" }),
|
|
90769
90772
|
/* @__PURE__ */ jsxs(DialogDescription, { children: [
|
|
@@ -91031,7 +91034,7 @@ function ProductOverviewPage({
|
|
|
91031
91034
|
skip: !g
|
|
91032
91035
|
}), C = (g == null ? void 0 : g.ManufacturerId) !== t;
|
|
91033
91036
|
return console.log("readonly", C), /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
91034
|
-
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-3", children: [
|
|
91037
|
+
/* @__PURE__ */ jsxs("div", { className: "grid gap-4 grid-cols-1 @md:grid-cols-2 @lg:grid-cols-3", children: [
|
|
91035
91038
|
/* @__PURE__ */ jsx("div", { className: "lg:col-span-2", children: /* @__PURE__ */ jsx(
|
|
91036
91039
|
ProductCard,
|
|
91037
91040
|
{
|