randmarcomps 1.616.0 → 1.617.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.d.ts +2 -2
- package/dist/randmarcomps.js +25 -25
- package/dist/randmarcomps.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -724,7 +724,7 @@ declare interface OrdersCardProps {
|
|
|
724
724
|
export declare function PageHeader({ title, children, className }: PageHeaderProps): JSX.Element;
|
|
725
725
|
|
|
726
726
|
export declare interface PageHeaderProps {
|
|
727
|
-
title:
|
|
727
|
+
title: React.ReactNode;
|
|
728
728
|
children?: React.ReactNode;
|
|
729
729
|
className?: string;
|
|
730
730
|
}
|
|
@@ -938,7 +938,7 @@ export declare interface RmPageHeaderBreadcrumbItem {
|
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
export declare interface RmPageHeaderProps {
|
|
941
|
-
title:
|
|
941
|
+
title: React_2.ReactNode;
|
|
942
942
|
subtitle?: React_2.ReactNode;
|
|
943
943
|
breadcrumbs?: RmPageHeaderBreadcrumbItem[];
|
|
944
944
|
rightTopActions?: React_2.ReactNode;
|
package/dist/randmarcomps.js
CHANGED
|
@@ -14163,6 +14163,17 @@ const emptySplitApi = createApi({
|
|
|
14163
14163
|
method: "PUT"
|
|
14164
14164
|
})
|
|
14165
14165
|
}),
|
|
14166
|
+
getV4PartnerByApplicationIdAccountVendor: e.query({
|
|
14167
|
+
query: (t) => ({
|
|
14168
|
+
url: `/V4/Partner/${t.applicationId}/Account/Vendor`
|
|
14169
|
+
})
|
|
14170
|
+
}),
|
|
14171
|
+
putV4PartnerByApplicationIdAccountVendor: e.mutation({
|
|
14172
|
+
query: (t) => ({
|
|
14173
|
+
url: `/V4/Partner/${t.applicationId}/Account/Vendor`,
|
|
14174
|
+
method: "PUT"
|
|
14175
|
+
})
|
|
14176
|
+
}),
|
|
14166
14177
|
putV4PartnerByApplicationIdAccountBilling: e.mutation({
|
|
14167
14178
|
query: (t) => ({
|
|
14168
14179
|
url: `/V4/Partner/${t.applicationId}/Account/Billing`,
|
|
@@ -14176,12 +14187,6 @@ const emptySplitApi = createApi({
|
|
|
14176
14187
|
method: "PUT"
|
|
14177
14188
|
})
|
|
14178
14189
|
}),
|
|
14179
|
-
putV4PartnerByApplicationIdAccountVendor: e.mutation({
|
|
14180
|
-
query: (t) => ({
|
|
14181
|
-
url: `/V4/Partner/${t.applicationId}/Account/Vendor`,
|
|
14182
|
-
method: "PUT"
|
|
14183
|
-
})
|
|
14184
|
-
}),
|
|
14185
14190
|
postV4PartnerByApplicationIdAccountFeedback: e.mutation({
|
|
14186
14191
|
query: (t) => ({
|
|
14187
14192
|
url: `/V4/Partner/${t.applicationId}/Account/Feedback`,
|
|
@@ -62058,12 +62063,6 @@ function DataRefreshAssistantCluster({
|
|
|
62058
62063
|
}, [t, a, e, n]);
|
|
62059
62064
|
return /* @__PURE__ */ jsx(RefreshCluster, { ...o, onAssistantClick: s });
|
|
62060
62065
|
}
|
|
62061
|
-
function PageHeader({ title: e, children: t, className: n }) {
|
|
62062
|
-
return /* @__PURE__ */ jsx("header", { className: "w-full", children: /* @__PURE__ */ jsx("div", { className: "mx-auto w-full max-w-[1440px] px-6 pt-8", children: /* @__PURE__ */ jsx(Card, { className: cn("rounded-2xl border-border shadow-sm", n), children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 p-6 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
62063
|
-
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-semibold leading-tight tracking-tight text-foreground", children: e }),
|
|
62064
|
-
t ? /* @__PURE__ */ jsx("div", { className: "flex shrink-0 flex-wrap items-center gap-2", children: t }) : null
|
|
62065
|
-
] }) }) }) });
|
|
62066
|
-
}
|
|
62067
62066
|
function RmPageHeaderBreadcrumbLink({
|
|
62068
62067
|
item: e,
|
|
62069
62068
|
isCurrent: t
|
|
@@ -62117,8 +62116,8 @@ function RmPageHeader({
|
|
|
62117
62116
|
cardClassName: f,
|
|
62118
62117
|
contentClassName: S
|
|
62119
62118
|
}) {
|
|
62120
|
-
const R = !!(o || a), te = /* @__PURE__ */
|
|
62121
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between", children: [
|
|
62119
|
+
const R = !!(o || a), te = /* @__PURE__ */ jsxs("header", { className: cn("w-full border-b border-border bg-background", d), children: [
|
|
62120
|
+
/* @__PURE__ */ jsx("div", { className: cn("px-4 py-6 sm:px-6", f), children: /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between", S), children: [
|
|
62122
62121
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
62123
62122
|
n?.length ? /* @__PURE__ */ jsx(RmPageHeaderBreadcrumbs, { items: n }) : null,
|
|
62124
62123
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-semibold leading-tight tracking-tight text-foreground", children: e }),
|
|
@@ -62128,19 +62127,20 @@ function RmPageHeader({
|
|
|
62128
62127
|
o ? /* @__PURE__ */ jsx("div", { className: "flex w-full flex-wrap items-center justify-start gap-2 lg:justify-end", children: o }) : null,
|
|
62129
62128
|
a ? /* @__PURE__ */ jsx("div", { className: "flex w-full flex-wrap items-center justify-start gap-2 lg:justify-end", children: a }) : null
|
|
62130
62129
|
] }) : null
|
|
62131
|
-
] }),
|
|
62132
|
-
s ? /* @__PURE__ */ jsx("div", { className: "border-t border-border
|
|
62133
|
-
] })
|
|
62134
|
-
return l ? /* @__PURE__ */ jsx(
|
|
62135
|
-
|
|
62130
|
+
] }) }),
|
|
62131
|
+
s ? /* @__PURE__ */ jsx("div", { className: "border-t border-border bg-muted/40", children: /* @__PURE__ */ jsx("div", { className: "px-4 py-4 sm:px-6", children: s }) }) : null
|
|
62132
|
+
] });
|
|
62133
|
+
return l ? /* @__PURE__ */ jsx("div", { className: cn("sticky top-0 z-20", c), children: te }) : te;
|
|
62134
|
+
}
|
|
62135
|
+
function PageHeader({ title: e, children: t, className: n }) {
|
|
62136
|
+
return /* @__PURE__ */ jsx(
|
|
62137
|
+
RmPageHeader,
|
|
62136
62138
|
{
|
|
62137
|
-
|
|
62138
|
-
|
|
62139
|
-
|
|
62140
|
-
),
|
|
62141
|
-
children: te
|
|
62139
|
+
title: e,
|
|
62140
|
+
rightBottomActions: t ? /* @__PURE__ */ jsx("div", { className: "flex shrink-0 flex-wrap items-center gap-2", children: t }) : void 0,
|
|
62141
|
+
cardClassName: n
|
|
62142
62142
|
}
|
|
62143
|
-
)
|
|
62143
|
+
);
|
|
62144
62144
|
}
|
|
62145
62145
|
function OrderedMap(e) {
|
|
62146
62146
|
this.content = e;
|