randmarcomps 1.583.0 → 1.585.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/README.md +0 -1
- package/dist/randmarcomps.js +10 -10
- package/dist/randmarcomps.umd.cjs +3 -3
- package/dist/style.css +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/randmarcomps.js
CHANGED
|
@@ -51986,7 +51986,7 @@ function PartnerRelationshipPage({
|
|
|
51986
51986
|
TabsTrigger,
|
|
51987
51987
|
{
|
|
51988
51988
|
value: "reseller-overview",
|
|
51989
|
-
className: "
|
|
51989
|
+
className: "relative h-12 rounded-none border-b-2 border-b-transparent bg-transparent px-4 pb-3 pt-2 text-sm font-medium text-muted-foreground shadow-none transition-none hover:text-foreground data-[state=active]:border-b-primary data-[state=active]:text-foreground data-[state=active]:shadow-none cursor-pointer",
|
|
51990
51990
|
children: "Reseller Overview"
|
|
51991
51991
|
}
|
|
51992
51992
|
),
|
|
@@ -51994,7 +51994,7 @@ function PartnerRelationshipPage({
|
|
|
51994
51994
|
TabsTrigger,
|
|
51995
51995
|
{
|
|
51996
51996
|
value: "manufacturer-overview",
|
|
51997
|
-
className: "
|
|
51997
|
+
className: "relative h-12 rounded-none border-b-2 border-b-transparent bg-transparent px-4 pb-3 pt-2 text-sm font-medium text-muted-foreground shadow-none transition-none hover:text-foreground data-[state=active]:border-b-primary data-[state=active]:text-foreground data-[state=active]:shadow-none cursor-pointer",
|
|
51998
51998
|
children: "Manufacturer Overview"
|
|
51999
51999
|
}
|
|
52000
52000
|
),
|
|
@@ -53226,7 +53226,7 @@ function ManufacturerCard({
|
|
|
53226
53226
|
});
|
|
53227
53227
|
}
|
|
53228
53228
|
};
|
|
53229
|
-
return /* @__PURE__ */ jsxs(Card, { className: "
|
|
53229
|
+
return /* @__PURE__ */ jsxs(Card, { className: "flex flex-col h-full", children: [
|
|
53230
53230
|
/* @__PURE__ */ jsx(
|
|
53231
53231
|
PartnerCardHeader,
|
|
53232
53232
|
{
|
|
@@ -53416,7 +53416,7 @@ function ProductInventoryButton({
|
|
|
53416
53416
|
] }) }) });
|
|
53417
53417
|
if (at?.IsReseller && ft <= 0 && Ct <= 0)
|
|
53418
53418
|
return /* @__PURE__ */ jsx("div", { ref: o, children: /* @__PURE__ */ jsxs(Dialog, { open: S, onOpenChange: A, children: [
|
|
53419
|
-
/* @__PURE__ */ jsx(DialogTrigger, { asChild: !0, children: /* @__PURE__ */ jsxs(Button$1, { variant: "outline", size: s, className: cn("text-sm
|
|
53419
|
+
/* @__PURE__ */ jsx(DialogTrigger, { asChild: !0, children: /* @__PURE__ */ jsxs(Button$1, { variant: "outline", size: s, className: cn("text-sm text-primary", a), children: [
|
|
53420
53420
|
/* @__PURE__ */ jsx(Warehouse, { size: "16", className: "mr-2" }),
|
|
53421
53421
|
"Request to stock"
|
|
53422
53422
|
] }) }),
|
|
@@ -53441,7 +53441,7 @@ function ProductInventoryButton({
|
|
|
53441
53441
|
size: s,
|
|
53442
53442
|
className: cn(
|
|
53443
53443
|
"text-sm",
|
|
53444
|
-
Ft ? "
|
|
53444
|
+
Ft ? "text-info" : ft > 0 ? "text-success" : "text-destructive",
|
|
53445
53445
|
a
|
|
53446
53446
|
),
|
|
53447
53447
|
children: [
|
|
@@ -55946,10 +55946,10 @@ function PartnerCard({
|
|
|
55946
55946
|
),
|
|
55947
55947
|
/* @__PURE__ */ jsx(CardContent, { className: "pb-2 flex-grow", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
55948
55948
|
(e.IsManufacturer || e.IsReseller || e.IsSalesAgency || e.HasShopifyStore || e.IsVendor) && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-2", children: [
|
|
55949
|
-
e.IsManufacturer && /* @__PURE__ */ jsx(Badge, {
|
|
55950
|
-
e.IsReseller && /* @__PURE__ */ jsx(Badge, {
|
|
55951
|
-
e.IsSalesAgency && /* @__PURE__ */ jsx(Badge, { children: "Agency" }),
|
|
55952
|
-
e.HasShopifyStore && /* @__PURE__ */ jsx(Badge, {
|
|
55949
|
+
e.IsManufacturer && /* @__PURE__ */ jsx(Badge, { variant: "info", children: "Manufacturer" }),
|
|
55950
|
+
e.IsReseller && /* @__PURE__ */ jsx(Badge, { variant: "success", children: "Reseller" }),
|
|
55951
|
+
e.IsSalesAgency && /* @__PURE__ */ jsx(Badge, { variant: "outline", children: "Agency" }),
|
|
55952
|
+
e.HasShopifyStore && /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: "Shopify" }),
|
|
55953
55953
|
e.IsVendor && /* @__PURE__ */ jsx(Badge, { variant: "outline", children: "Vendor" })
|
|
55954
55954
|
] }),
|
|
55955
55955
|
a && e.About && /* @__PURE__ */ jsx(
|
|
@@ -56055,7 +56055,7 @@ function ResellerCard({
|
|
|
56055
56055
|
const at = R.toLowerCase();
|
|
56056
56056
|
return at.includes("starter") || at.includes("basic") ? "secondary" : at.includes("exclusive") || at.includes("jean coutu") || at.includes("novexco") || at.includes("coopsco") ? "success" : "info";
|
|
56057
56057
|
};
|
|
56058
|
-
return /* @__PURE__ */ jsxs(Card, { className: "
|
|
56058
|
+
return /* @__PURE__ */ jsxs(Card, { className: "flex flex-col h-full", children: [
|
|
56059
56059
|
/* @__PURE__ */ jsx(
|
|
56060
56060
|
PartnerCardHeader,
|
|
56061
56061
|
{
|