@leatcom/portal-sessions 0.0.47 → 0.0.48

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.
@@ -10723,7 +10723,15 @@ function rs({ state: e }) {
10723
10723
  i && !a && !h && E();
10724
10724
  }, [i]), /* @__PURE__ */ u.jsxs(Tt, { children: [
10725
10725
  /* @__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" }) }) }) }),
10726
- /* @__PURE__ */ u.jsx(Et, { children: /* @__PURE__ */ u.jsx(is, { dataSetter: s, setDefer: v, label: n("contactIdentifier") }) }),
10726
+ /* @__PURE__ */ u.jsx(Et, { children: /* @__PURE__ */ u.jsx(
10727
+ "form",
10728
+ {
10729
+ onSubmit: (o) => {
10730
+ o.preventDefault(), E();
10731
+ },
10732
+ children: /* @__PURE__ */ u.jsx(is, { dataSetter: s, setDefer: v, label: n("contactIdentifier") })
10733
+ }
10734
+ ) }),
10727
10735
  /* @__PURE__ */ u.jsx(Bt, { children: /* @__PURE__ */ u.jsxs("div", { className: "flex flex-col gap-2", children: [
10728
10736
  /* @__PURE__ */ u.jsx(ot, { label: n("continue"), onClick: E }),
10729
10737
  f.input_data.enable_email_identification && /* @__PURE__ */ u.jsx(
@@ -17055,7 +17063,7 @@ function Lx() {
17055
17063
  }
17056
17064
  function Ws({ reward: e, selected: t, setSelected: n, disabled: r, readOnly: i }) {
17057
17065
  const { t: s } = ze(), { session: a } = st(), { contact: l, isLoading: f } = Tn(), m = f ? 0 : l.credit_balance.balance;
17058
- return console.log(e), /* @__PURE__ */ u.jsxs(
17066
+ return /* @__PURE__ */ u.jsxs(
17059
17067
  "div",
17060
17068
  {
17061
17069
  className: `max-h-[48px] rounded-lg border ${r ? "pointer-events-none opacity-40" : !i && "cursor-pointer"}`,
@@ -17271,7 +17279,15 @@ function qi() {
17271
17279
  ),
17272
17280
  /* @__PURE__ */ u.jsx("p", { children: t("fillInXBelow", { x: t("emailAddress").toLowerCase() }) })
17273
17281
  ] }) }),
17274
- /* @__PURE__ */ u.jsx(Et, { children: /* @__PURE__ */ u.jsx(ns, { label: t("emailAddress"), onChange: (o) => l(o.target.value) }) }),
17282
+ /* @__PURE__ */ u.jsx(Et, { children: /* @__PURE__ */ u.jsx(
17283
+ "form",
17284
+ {
17285
+ onSubmit: (o) => {
17286
+ o.preventDefault(), c();
17287
+ },
17288
+ children: /* @__PURE__ */ u.jsx(ns, { label: t("emailAddress"), onChange: (o) => l(o.target.value) })
17289
+ }
17290
+ ) }),
17275
17291
  /* @__PURE__ */ u.jsx(Bt, { children: /* @__PURE__ */ u.jsx(
17276
17292
  ot,
17277
17293
  {