@leatcom/portal-sessions 0.0.40 → 0.0.42

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.
@@ -11985,7 +11985,7 @@ function v1({ onScan: e, label: t = "" }) {
11985
11985
  );
11986
11986
  return /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col gap-1", children: [
11987
11987
  /* @__PURE__ */ T.jsx("p", { children: `Scan ${t == null ? void 0 : t.toLowerCase()}` }),
11988
- /* @__PURE__ */ T.jsxs("div", { className: "relative", children: [
11988
+ /* @__PURE__ */ T.jsxs("div", { className: "relative w-fit", children: [
11989
11989
  /* @__PURE__ */ T.jsx(
11990
11990
  m1,
11991
11991
  {
@@ -18303,7 +18303,7 @@ function Ds() {
18303
18303
  }, [t, s, a]);
18304
18304
  return rt(() => {
18305
18305
  c === Pn.CAMERA && t && !r && g().then();
18306
- }, [t, r, c, g]), (a == null ? void 0 : a.type) === oi.REDEEM_GIFTCARD && !(a != null && a.input_data.amount_in_cents) ? /* @__PURE__ */ T.jsx(T.Fragment, { children: e("xIsRequired", { x: "Amount in cents" }) }) : /* @__PURE__ */ T.jsx("div", { className: "container m-auto max-h-screen max-w-3xl", children: /* @__PURE__ */ T.jsx(gn, { children: /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col gap-3", children: [
18306
+ }, [t, r, c, g]), (a == null ? void 0 : a.type) === oi.REDEEM_GIFTCARD && !(a != null && a.input_data.amount_in_cents) ? /* @__PURE__ */ T.jsx(T.Fragment, { children: e("xIsRequired", { x: "Amount in cents" }) }) : /* @__PURE__ */ T.jsx("div", { className: "container m-auto w-[420px]", children: /* @__PURE__ */ T.jsx(gn, { children: /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col gap-3", children: [
18307
18307
  /* @__PURE__ */ T.jsx(ft, { size: "sm", weight: "extralight", children: e("scanGiftcard") }),
18308
18308
  (a == null ? void 0 : a.type) === oi.REDEEM_GIFTCARD && /* @__PURE__ */ T.jsx(ft, { size: "lg", children: `${e("amountToBePaid")}: ${si(h())}` }),
18309
18309
  /* @__PURE__ */ T.jsx(Ao, { dataSetter: n, type: c, label: e("hash") }),
@@ -18725,7 +18725,7 @@ function xE() {
18725
18725
  }
18726
18726
  function gu() {
18727
18727
  const e = mn();
18728
- return /* @__PURE__ */ T.jsx("div", { className: "container m-auto h-full max-w-3xl", children: /* @__PURE__ */ T.jsx(gn, { children: /* @__PURE__ */ T.jsx(Us, { callback: () => e("../") }) }) });
18728
+ return /* @__PURE__ */ T.jsx("div", { className: "container m-auto w-[420px] max-w-3xl", children: /* @__PURE__ */ T.jsx(gn, { children: /* @__PURE__ */ T.jsx(Us, { callback: () => e("../") }) }) });
18729
18729
  }
18730
18730
  function hh() {
18731
18731
  const { session: e } = Zt();
@@ -18789,7 +18789,7 @@ jr([
18789
18789
  ]);
18790
18790
  function mh() {
18791
18791
  const e = mn();
18792
- return /* @__PURE__ */ T.jsx("div", { className: "container m-auto max-h-screen max-w-3xl", children: /* @__PURE__ */ T.jsx(gn, { children: /* @__PURE__ */ T.jsx(Us, { callback: () => e("balance") }) }) });
18792
+ return /* @__PURE__ */ T.jsx("div", { className: "container m-auto w-[420px]", children: /* @__PURE__ */ T.jsx(gn, { children: /* @__PURE__ */ T.jsx(Us, { callback: () => e("balance") }) }) });
18793
18793
  }
18794
18794
  function yh() {
18795
18795
  const { t: e } = Et(), { balance: t, mutate: n } = fy(), [r, i] = Ue(""), [a, s] = Ue(1), [c, h] = Ue(!1), g = async () => {
@@ -18860,7 +18860,7 @@ function vh() {
18860
18860
  };
18861
18861
  return rt(() => {
18862
18862
  a && a.contact && i(!0);
18863
- }, [c, a]), /* @__PURE__ */ T.jsxs("div", { className: "container m-auto max-h-screen max-w-3xl", children: [
18863
+ }, [c, a]), /* @__PURE__ */ T.jsxs("div", { className: "container m-auto w-[420px]", children: [
18864
18864
  /* @__PURE__ */ T.jsx(gn, { children: /* @__PURE__ */ T.jsx(Us, {}) }),
18865
18865
  /* @__PURE__ */ T.jsx(Br, { isOpen: r, children: /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col gap-4", children: [
18866
18866
  /* @__PURE__ */ T.jsxs("p", { className: "text-center", children: [
@@ -18937,7 +18937,7 @@ function bh() {
18937
18937
  }, [t, b, g]);
18938
18938
  return rt(() => {
18939
18939
  E === Pn.CAMERA && t && !a && (async () => await o())();
18940
- }, [t, a, E, o, c]), /* @__PURE__ */ T.jsxs("div", { className: "container m-auto max-h-screen max-w-3xl", children: [
18940
+ }, [t, a, E, o, c]), /* @__PURE__ */ T.jsxs("div", { className: "container m-auto w-[420px]", children: [
18941
18941
  /* @__PURE__ */ T.jsxs(gn, { children: [
18942
18942
  /* @__PURE__ */ T.jsx(Ao, { dataSetter: n, type: E, label: e("voucherCode") }),
18943
18943
  E === Pn.HAND_SCANNER && /* @__PURE__ */ T.jsx("div", { className: "pt-3", children: /* @__PURE__ */ T.jsx(bt, { type: "submit", label: e("redeemVoucher"), onClick: o }) })