@leatcom/portal-sessions 0.0.43-beta.2 → 0.0.43-beta.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/portal-sessions.es.js +10 -15
- package/dist/portal-sessions.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -6873,7 +6873,7 @@ const a1 = Pr(
|
|
|
6873
6873
|
onClick: c,
|
|
6874
6874
|
...m,
|
|
6875
6875
|
children: [
|
|
6876
|
-
/* @__PURE__ */ u.jsxs("span", { className: `flex gap-1 ${h && "opacity-0"}`, children: [
|
|
6876
|
+
/* @__PURE__ */ u.jsxs("span", { className: `flex items-center gap-1 ${h && "opacity-0"}`, children: [
|
|
6877
6877
|
t && /* @__PURE__ */ u.jsx(
|
|
6878
6878
|
jt,
|
|
6879
6879
|
{
|
|
@@ -6901,7 +6901,7 @@ const a1 = Pr(
|
|
|
6901
6901
|
};
|
|
6902
6902
|
ct.displayName = "Button";
|
|
6903
6903
|
function St({ children: e }) {
|
|
6904
|
-
return /* @__PURE__ */ u.jsx("div", { className: "flex h-full max-h-full flex-col bg-white md:h-fit md:rounded-lg md:shadow-
|
|
6904
|
+
return /* @__PURE__ */ u.jsx("div", { className: "flex h-full max-h-full flex-col bg-white md:h-fit md:rounded-lg md:border md:shadow-md", children: e });
|
|
6905
6905
|
}
|
|
6906
6906
|
function Et({ children: e }) {
|
|
6907
6907
|
return /* @__PURE__ */ u.jsx("div", { className: "grow overflow-y-auto px-6 py-4", children: e });
|
|
@@ -10704,10 +10704,7 @@ function ns({ state: e }) {
|
|
|
10704
10704
|
i && !a && !h && E();
|
|
10705
10705
|
}, [i, a, h, E]), /* @__PURE__ */ u.jsxs(St, { children: [
|
|
10706
10706
|
/* @__PURE__ */ u.jsx(Ct, { children: /* @__PURE__ */ u.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ u.jsx("p", { children: n("scanOrEnterX", { x: "identifier" }) }) }) }),
|
|
10707
|
-
/* @__PURE__ */ u.
|
|
10708
|
-
/* @__PURE__ */ u.jsx("p", { children: "Are we seeing this?" }),
|
|
10709
|
-
/* @__PURE__ */ u.jsx(rs, { dataSetter: s, setDefer: v, label: n("contactIdentifier") })
|
|
10710
|
-
] }),
|
|
10707
|
+
/* @__PURE__ */ u.jsx(Et, { children: /* @__PURE__ */ u.jsx(rs, { dataSetter: s, setDefer: v, label: n("contactIdentifier") }) }),
|
|
10711
10708
|
/* @__PURE__ */ u.jsx(Pt, { children: /* @__PURE__ */ u.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
10712
10709
|
/* @__PURE__ */ u.jsx(ct, { label: n("continue"), onClick: E }),
|
|
10713
10710
|
f.input_data.enable_email_identification && /* @__PURE__ */ u.jsx(
|
|
@@ -16574,7 +16571,7 @@ function mh({ subscription: e, onChange: t, editable: n = !1 }) {
|
|
|
16574
16571
|
}
|
|
16575
16572
|
function Rx({ contact: e }) {
|
|
16576
16573
|
const t = At(), { t: n } = ze();
|
|
16577
|
-
return /* @__PURE__ */ u.jsxs("div", { className: "
|
|
16574
|
+
return /* @__PURE__ */ u.jsxs("div", { className: "inline-grid w-full items-center gap-4 py-4 lg:grid-cols-2", children: [
|
|
16578
16575
|
/* @__PURE__ */ u.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
16579
16576
|
/* @__PURE__ */ u.jsx(rc, { src: e.current_display_values.avatar, size: "2xl" }),
|
|
16580
16577
|
/* @__PURE__ */ u.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
@@ -16586,7 +16583,7 @@ function Rx({ contact: e }) {
|
|
|
16586
16583
|
] }),
|
|
16587
16584
|
/* @__PURE__ */ u.jsx(ic, { label: e.current_display_values.tier, size: "sm", stroke: !0 })
|
|
16588
16585
|
] }),
|
|
16589
|
-
/* @__PURE__ */ u.jsxs("p", { className: "text-sm text-core-gray-500", children: [
|
|
16586
|
+
/* @__PURE__ */ u.jsxs("p", { className: "text-sm text-core-gray-500 ", children: [
|
|
16590
16587
|
n("joined"),
|
|
16591
16588
|
" ",
|
|
16592
16589
|
new Date(e.current_values.created_at).toLocaleDateString(Nt.language, {
|
|
@@ -16596,11 +16593,10 @@ function Rx({ contact: e }) {
|
|
|
16596
16593
|
] })
|
|
16597
16594
|
] })
|
|
16598
16595
|
] }),
|
|
16599
|
-
/* @__PURE__ */ u.jsxs("div", { className: "
|
|
16596
|
+
/* @__PURE__ */ u.jsxs("div", { className: "inline-grid gap-2 lg:grid-cols-2", children: [
|
|
16600
16597
|
/* @__PURE__ */ u.jsx(
|
|
16601
16598
|
ct,
|
|
16602
16599
|
{
|
|
16603
|
-
className: "w-full lg:w-fit",
|
|
16604
16600
|
label: n("goToX", { x: "identifiers" }),
|
|
16605
16601
|
variant: "secondary",
|
|
16606
16602
|
size: "md",
|
|
@@ -16610,7 +16606,6 @@ function Rx({ contact: e }) {
|
|
|
16610
16606
|
/* @__PURE__ */ u.jsx(
|
|
16611
16607
|
ct,
|
|
16612
16608
|
{
|
|
16613
|
-
className: "w-full lg:w-fit",
|
|
16614
16609
|
before: /* @__PURE__ */ u.jsx(jt, { icon: "edit" }),
|
|
16615
16610
|
label: n("editProfile"),
|
|
16616
16611
|
variant: "secondary",
|
|
@@ -16979,7 +16974,7 @@ function Mx() {
|
|
|
16979
16974
|
return /* @__PURE__ */ u.jsxs("div", { className: "h-full md:container", children: [
|
|
16980
16975
|
/* @__PURE__ */ u.jsxs(St, { children: [
|
|
16981
16976
|
/* @__PURE__ */ u.jsx(Ct, { children: /* @__PURE__ */ u.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ u.jsx("p", { children: e("vouchers") }) }) }),
|
|
16982
|
-
/* @__PURE__ */ u.jsx(Et, { children: n ? /* @__PURE__ */ u.jsx(fs, { rows:
|
|
16977
|
+
/* @__PURE__ */ u.jsx(Et, { children: n ? /* @__PURE__ */ u.jsx(fs, { rows: 1 }) : /* @__PURE__ */ u.jsx("div", { className: "flex flex-col gap-1 md:max-h-[528px]", children: t && t.length ? t.map((o) => /* @__PURE__ */ u.jsx(
|
|
16983
16978
|
ka,
|
|
16984
16979
|
{
|
|
16985
16980
|
voucher: o,
|
|
@@ -17094,7 +17089,7 @@ function Fx() {
|
|
|
17094
17089
|
/* @__PURE__ */ u.jsx("p", { className: "text-sm text-core-gray-500", children: f.custom_credit_name ? f.custom_credit_name : e("points") })
|
|
17095
17090
|
] })
|
|
17096
17091
|
] }) }),
|
|
17097
|
-
/* @__PURE__ */ u.jsx(Et, { children: n || v ? /* @__PURE__ */ u.jsx(fs, { rows:
|
|
17092
|
+
/* @__PURE__ */ u.jsx(Et, { children: n || v ? /* @__PURE__ */ u.jsx(fs, { rows: 1 }) : /* @__PURE__ */ u.jsxs("div", { className: "flex flex-col gap-1 md:max-h-[528px]", children: [
|
|
17098
17093
|
/* @__PURE__ */ u.jsx("p", { className: "text-sm font-light text-core-gray-500", children: e("redeemableRewards") }),
|
|
17099
17094
|
t.filter((y) => y.required_credits <= h.credit_balance.balance).map((y) => /* @__PURE__ */ u.jsx(
|
|
17100
17095
|
Qs,
|
|
@@ -18781,7 +18776,7 @@ function P2({ children: e, config: t, payload: n }) {
|
|
|
18781
18776
|
/* @__PURE__ */ u.jsx("div", { className: "flex h-full overflow-auto", children: e }),
|
|
18782
18777
|
r && /* @__PURE__ */ u.jsx(of, {})
|
|
18783
18778
|
] }) }) }),
|
|
18784
|
-
/* @__PURE__ */ u.jsx(Sd, { className: "top-
|
|
18779
|
+
/* @__PURE__ */ u.jsx(Sd, { className: "lg:top-14" })
|
|
18785
18780
|
] }) : /* @__PURE__ */ u.jsx("div", { className: "flex h-screen items-center justify-center text-core-gray-500", children: /* @__PURE__ */ u.jsx(Bi, { className: "h-[48px] w-[48px]" }) });
|
|
18786
18781
|
}
|
|
18787
18782
|
function F2(e) {
|
|
@@ -18818,7 +18813,7 @@ function _2({ uuid: e, host: t }) {
|
|
|
18818
18813
|
/* @__PURE__ */ u.jsx("div", { className: "flex h-full overflow-auto", children: /* @__PURE__ */ u.jsx(Ku, { children: /* @__PURE__ */ u.jsx(vh, {}) }) }),
|
|
18819
18814
|
e && /* @__PURE__ */ u.jsx(of, {})
|
|
18820
18815
|
] }) }) }),
|
|
18821
|
-
/* @__PURE__ */ u.jsx(Sd, { className: "top-
|
|
18816
|
+
/* @__PURE__ */ u.jsx(Sd, { className: "lg:top-14" })
|
|
18822
18817
|
] }) : /* @__PURE__ */ u.jsx(u.Fragment, { children: "Initializing..." });
|
|
18823
18818
|
}
|
|
18824
18819
|
export {
|