@levo-so/studio 0.1.108 → 0.1.110

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.
Files changed (42) hide show
  1. package/{BillingStep-CJqmdIz2.js → BillingStep-CY2MHQ-L.js} +1 -1
  2. package/{Button-DujHjtOV.js → Button-DjphTnCg.js} +545 -97
  3. package/{CollectionField-BPl8E9MW.js → CollectionField-DrJuHNsg.js} +38 -38
  4. package/{DateTimeWidget-CbpvxQ9s.js → DateTimeWidget-BVHZh4EV.js} +13 -13
  5. package/{EntryCard-Drnobf4s.js → EntryCard-BYONyIm5.js} +7 -4
  6. package/{LoginCard-B9HKjZEk.js → LoginCard-CrtSHdaR.js} +3 -3
  7. package/{LoginForm-DpgxFh89.js → LoginForm-DeYsk4kd.js} +18 -18
  8. package/{LoginModal-CaqsScly.js → LoginModal-BbDfB4S9.js} +3 -3
  9. package/{MessageCard-DojQRKnf.js → MessageCard-x6jPClGi.js} +2 -2
  10. package/{MessageFooter-C4qC8cem.js → MessageFooter-CHuPnL_D.js} +1 -1
  11. package/{ModalManager-CaBZKQR2.js → ModalManager-DQVNPEuG.js} +1 -1
  12. package/{PendingApprovalCard-CrdOrMRu.js → PendingApprovalCard-CsnyrSsa.js} +3 -3
  13. package/{PhoneWidget-BxW2gL28.js → PhoneWidget-BaDSMSW5.js} +5 -5
  14. package/{PopupRenderer-CV5HY1dP-hICGc5AG.js → PopupRenderer-Dd9zoNIY-Cx663DmW.js} +346 -315
  15. package/ProfileCard-Dg5TY1Mw.js +102 -0
  16. package/{RichTextWidget-DCzgJ9EA.js → RichTextWidget-yaDCZwIo.js} +10 -10
  17. package/{RteThemeProvider-Cfepkyer.js → RteThemeProvider-LFGzAYi1.js} +2 -2
  18. package/{Toolbar-B5UZer_x.js → Toolbar-D3PnF7Ud.js} +4 -4
  19. package/{VerifyButton-DFAg6STD.js → VerifyButton-6BIXAEGp.js} +1 -1
  20. package/{bookingCard-BgApvrcj.js → bookingCard-D40dbgvH.js} +3 -3
  21. package/collection.d.ts +14 -6
  22. package/collection.js +6 -7
  23. package/dist-bHoi1bCB.js +3795 -0
  24. package/index.d.ts +312 -18
  25. package/index.js +2709 -2177
  26. package/{inlineCollectionTheme-WpCvMKrW.js → inlineCollectionTheme-D2w17LHX.js} +1 -1
  27. package/{inlineRteTheme-Ajq9PNpQ.js → inlineRteTheme-abXxag3B.js} +1 -1
  28. package/{nodeAlignment-DKCIjzlR.js → nodeAlignment-BC_Uferw.js} +5 -5
  29. package/package.json +5 -5
  30. package/studio.css +1 -1
  31. package/{utils-CUqS5dMC.js → utils-C_tr8kXV.js} +1 -1
  32. package/CollectionFormBuilder-BvFtiZeH.js +0 -3668
  33. package/dist-DZbXWctg.js +0 -97
  34. /package/{CollectionInput-DcNJT5Pg.js → CollectionInput-CG-Pu_51.js} +0 -0
  35. /package/{Popover-DOvRAGzc.js → Popover-DnZY1k6o.js} +0 -0
  36. /package/{StripePaymentModal-Do1xHctU.js → StripePaymentModal-BsYNQ4MB.js} +0 -0
  37. /package/{Tooltip-CJINDx93.js → Tooltip-DreKXbTO.js} +0 -0
  38. /package/{authentication-ClOFcry8.js → authentication-TdyaDNTn.js} +0 -0
  39. /package/{card-E2LKF9nT.js → card-D5fPArfa.js} +0 -0
  40. /package/{dialog-DoxC50i0.js → dialog-LRLdr3kq.js} +0 -0
  41. /package/{theme.cssm-BXDp-ojp.js → theme.cssm-2YTdd8Yh.js} +0 -0
  42. /package/{useLogin-D4A5iRey.js → useLogin-B2HHZxTi.js} +0 -0
@@ -6,8 +6,39 @@ import { FieldInterfaces as o } from "@levo-so/core";
6
6
  import { isValidPhoneNumber as s } from "react-phone-number-input";
7
7
  import * as c from "yup";
8
8
  import { Separator as l } from "@base-ui/react/separator";
9
+ //#region ../../libraries/react-collection/dist/components/collectionField/CollectionField.cssm.js
10
+ var u = "_1ompjs11", d = "_1d7f2b80", f = (n) => {
11
+ let i = e(8), a, o;
12
+ i[0] === n ? (a = i[1], o = i[2]) : ({className: a, ...o} = n, i[0] = n, i[1] = a, i[2] = o);
13
+ let s;
14
+ i[3] === a ? s = i[4] : (s = r(d, a), i[3] = a, i[4] = s);
15
+ let c;
16
+ return i[5] !== o || i[6] !== s ? (c = /* @__PURE__ */ t("label", {
17
+ "data-slot": "label",
18
+ className: s,
19
+ ...o
20
+ }), i[5] = o, i[6] = s, i[7] = c) : c = i[7], c;
21
+ };
22
+ //#endregion
23
+ //#region ../../libraries/react-collection/dist/components/collectionLabel/CollectionLabel.js
24
+ function p(r) {
25
+ let i = e(6), { label: a, isRequired: o, htmlFor: s } = r;
26
+ if (!a) return null;
27
+ let c;
28
+ i[0] === o ? c = i[1] : (c = o && /* @__PURE__ */ t("span", {
29
+ className: "_1ompjs10",
30
+ children: "*"
31
+ }), i[0] = o, i[1] = c);
32
+ let l;
33
+ return i[2] !== s || i[3] !== a || i[4] !== c ? (l = /* @__PURE__ */ n(f, {
34
+ htmlFor: s,
35
+ className: u,
36
+ children: [a, c]
37
+ }), i[2] = s, i[3] = a, i[4] = c, i[5] = l) : l = i[5], l;
38
+ }
39
+ //#endregion
9
40
  //#region ../../libraries/react-collection/dist/utils/getFieldValidations.js
10
- var u = (e, t) => {
41
+ var m = (e, t) => {
11
42
  let n = (e?.label || e?.key || "")?.replace(/_/g, " ");
12
43
  if (n?.endsWith("Id") && (n = n?.replace("Id", "")), n.includes(".")) {
13
44
  let [e] = n.split(".");
@@ -90,38 +121,7 @@ var u = (e, t) => {
90
121
  }
91
122
  }
92
123
  };
93
- }, d = "_1ompjs11", f = "_1d7f2b80", p = (n) => {
94
- let i = e(8), a, o;
95
- i[0] === n ? (a = i[1], o = i[2]) : ({className: a, ...o} = n, i[0] = n, i[1] = a, i[2] = o);
96
- let s;
97
- i[3] === a ? s = i[4] : (s = r(f, a), i[3] = a, i[4] = s);
98
- let c;
99
- return i[5] !== o || i[6] !== s ? (c = /* @__PURE__ */ t("label", {
100
- "data-slot": "label",
101
- className: s,
102
- ...o
103
- }), i[5] = o, i[6] = s, i[7] = c) : c = i[7], c;
104
- };
105
- //#endregion
106
- //#region ../../libraries/react-collection/dist/components/collectionLabel/CollectionLabel.js
107
- function m(r) {
108
- let i = e(6), { label: a, isRequired: o, htmlFor: s } = r;
109
- if (!a) return null;
110
- let c;
111
- i[0] === o ? c = i[1] : (c = o && /* @__PURE__ */ t("span", {
112
- className: "_1ompjs10",
113
- children: "*"
114
- }), i[0] = o, i[1] = c);
115
- let l;
116
- return i[2] !== s || i[3] !== a || i[4] !== c ? (l = /* @__PURE__ */ n(p, {
117
- htmlFor: s,
118
- className: d,
119
- children: [a, c]
120
- }), i[2] = s, i[3] = a, i[4] = c, i[5] = l) : l = i[5], l;
121
- }
122
- //#endregion
123
- //#region ../../libraries/levocn/dist/ui/field/Field.cssm.js
124
- var h = "_11sljvf0", g = "_11sljvf2", _ = a({
124
+ }, h = "_11sljvf0", g = "_11sljvf2", _ = a({
125
125
  defaultClassName: "_11sljvf3",
126
126
  variantClassNames: { orientation: {
127
127
  vertical: "_11sljvf4",
@@ -211,7 +211,7 @@ function k(n) {
211
211
  let s;
212
212
  r[3] === a ? s = r[4] : (s = i(y, a), r[3] = a, r[4] = s);
213
213
  let c;
214
- return r[5] !== o || r[6] !== s ? (c = /* @__PURE__ */ t(p, {
214
+ return r[5] !== o || r[6] !== s ? (c = /* @__PURE__ */ t(f, {
215
215
  "data-slot": "field-label",
216
216
  className: s,
217
217
  ...o
@@ -277,10 +277,10 @@ function N(e) {
277
277
  //#endregion
278
278
  //#region ../../libraries/react-collection/dist/components/collectionField/CollectionField.js
279
279
  function P(i) {
280
- let a = e(21), { label: o, error: s, helperText: c, topHelperText: l, isRequired: u, readOnly: d, htmlFor: f, className: p, children: h, ref: g } = i, _ = d && "_1ompjs14", v;
281
- a[0] !== p || a[1] !== _ ? (v = r(_, p), a[0] = p, a[1] = _, a[2] = v) : v = a[2];
280
+ let a = e(21), { label: o, error: s, helperText: c, topHelperText: l, isRequired: u, readOnly: d, htmlFor: f, className: m, children: h, ref: g } = i, _ = d && "_1ompjs14", v;
281
+ a[0] !== m || a[1] !== _ ? (v = r(_, m), a[0] = m, a[1] = _, a[2] = v) : v = a[2];
282
282
  let y;
283
- a[3] !== f || a[4] !== u || a[5] !== o ? (y = /* @__PURE__ */ t(m, {
283
+ a[3] !== f || a[4] !== u || a[5] !== o ? (y = /* @__PURE__ */ t(p, {
284
284
  label: o,
285
285
  isRequired: u,
286
286
  htmlFor: f
@@ -315,4 +315,4 @@ function P(i) {
315
315
  }), a[13] = h, a[14] = g, a[15] = v, a[16] = y, a[17] = b, a[18] = x, a[19] = S, a[20] = C) : C = a[20], C;
316
316
  }
317
317
  //#endregion
318
- export { D as a, E as c, p as d, u as f, T as i, w as l, j as n, A as o, k as r, O as s, P as t, m as u };
318
+ export { D as a, E as c, p as d, f, T as i, w as l, j as n, A as o, k as r, O as s, P as t, m as u };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./Button-lUfKisu8.js";
2
- import { f as t, t as n } from "./CollectionField-BPl8E9MW.js";
3
- import { t as ee } from "./CollectionInput-DcNJT5Pg.js";
4
- import { a as r, i, n as a, r as o, t as s } from "./Popover-DOvRAGzc.js";
2
+ import { t, u as n } from "./CollectionField-DrJuHNsg.js";
3
+ import { t as ee } from "./CollectionInput-CG-Pu_51.js";
4
+ import { a as r, i, n as a, r as o, t as s } from "./Popover-DnZY1k6o.js";
5
5
  import { c as te } from "react/compiler-runtime";
6
6
  import { useEffect as ne, useRef as c, useState as l } from "react";
7
7
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
@@ -9,8 +9,8 @@ import f from "clsx";
9
9
  import { IconCalendar as re, IconChevronDown as p, IconChevronLeft as m, IconChevronRight as h, IconX as ie } from "@tabler/icons-react";
10
10
  import { FieldInterfaces as ae } from "@levo-so/core";
11
11
  import g from "dayjs";
12
- import { DayPicker as oe, getDefaultClassNames as se } from "react-day-picker";
13
- import { useController as _ } from "react-hook-form";
12
+ import { useController as oe } from "react-hook-form";
13
+ import { DayPicker as se, getDefaultClassNames as _ } from "react-day-picker";
14
14
  //#region ../../libraries/react-collection/dist/widgets/dateTimeWidget/DateTimeWidget.cssm.js
15
15
  var ce = "rpx4b10", le = "rpx4b11", ue = "rpx4b12", de = "rpx4b14 _6o7s4x0", fe = "rpx4b15", pe = "rpx4b17", me = "rpx4b18", he = "rpx4b19", ge = "rpx4b1a", _e = "rpx4b1b", ve = "rpx4b1c", ye = "rpx4b1d", be = "rpx4b1e", xe = "rpx4b1f", Se = "rpx4b1g", Ce = "rpx4b1h", we = "rpx4b1i", Te = "rpx4b1j", Ee = "rpx4b1k", De = "rpx4b1l", Oe = "rpx4b1m", ke = "rpx4b1n", Ae = "rpx4b1o", je = "rpx4b1p", Me = "rpx4b1q", Ne = "rpx4b1r", Pe = "rpx4b1s", Fe = "rpx4b1t", Ie = "rpx4b1u", Le = "rpx4b1v", Re = (e) => {
16
16
  if (e) {
@@ -106,23 +106,23 @@ var ce = "rpx4b10", le = "rpx4b11", ue = "rpx4b12", de = "rpx4b14 _6o7s4x0", fe
106
106
  }), t[16] = ae, t[17] = _, t[18] = ce) : ce = t[18], ce;
107
107
  }, Ve = (ne) => {
108
108
  let c = te(160), { field: p } = ne, { key: m, label: h, helper_text: g, readonly: Pe } = p, Fe = m === void 0 ? "" : m, Ie = h === void 0 ? "" : h, Le = g === void 0 ? "" : g, Ve = Pe === void 0 ? !1 : Pe, v = Fe, [Ue, We] = l(!1), y;
109
- c[0] === p ? y = c[1] : (y = t(p), c[0] = p, c[1] = y);
109
+ c[0] === p ? y = c[1] : (y = n(p), c[0] = p, c[1] = y);
110
110
  let Ge;
111
111
  c[2] !== v || c[3] !== y ? (Ge = {
112
112
  name: v,
113
113
  rules: y
114
114
  }, c[2] = v, c[3] = y, c[4] = Ge) : Ge = c[4];
115
- let { field: Ke, fieldState: qe } = _(Ge), b, x, S, C, w;
115
+ let { field: Ke, fieldState: qe } = oe(Ge), b, x, S, C, w;
116
116
  c[5] === Ke ? (b = c[6], x = c[7], S = c[8], C = c[9], w = c[10]) : ({value: w, onBlur: b, onChange: x, ref: S, ...C} = Ke, c[5] = Ke, c[6] = b, c[7] = x, c[8] = S, c[9] = C, c[10] = w);
117
117
  let Je = !!p?.required, Ye = qe?.error?.message, T = p?.field_interface === ae.DateTimeWidget, E, Xe;
118
118
  c[11] !== T || c[12] !== w ? (E = Re(w), Xe = ze(E, T), c[11] = T, c[12] = w, c[13] = E, c[14] = Xe) : (E = c[13], Xe = c[14]);
119
119
  let Ze = Xe, D, O, k, A, j, M, N, P, F, I, L, R, z, B, V, H, U, W, G, Qe, K, $e, et, tt, nt, rt, q, J, it, Y, at, ot, st, ct, lt, X, ut, dt, ft, pt, mt, Z, ht;
120
120
  if (c[15] !== Ze || c[16] !== T || c[17] !== Ye || c[18] !== Le || c[19] !== Ue || c[20] !== Je || c[21] !== Ie || c[22] !== v || c[23] !== b || c[24] !== x || c[25] !== Ve || c[26] !== S || c[27] !== C || c[28] !== E || c[29] !== w) {
121
- let e = se(), t;
122
- c[73] !== T || c[74] !== x || c[75] !== E ? (t = (e) => {
121
+ let e = _(), n;
122
+ c[73] !== T || c[74] !== x || c[75] !== E ? (n = (e) => {
123
123
  e && (T && E && e.setHours(E.getHours(), E.getMinutes(), 0, 0), x(e.toISOString()), T || We(!1));
124
- }, c[73] = T, c[74] = x, c[75] = E, c[76] = t) : t = c[76];
125
- let te = t, ne;
124
+ }, c[73] = T, c[74] = x, c[75] = E, c[76] = n) : n = c[76];
125
+ let te = n, ne;
126
126
  c[77] === x ? ne = c[78] : (ne = (e) => {
127
127
  x(e.toISOString());
128
128
  }, c[77] = x, c[78] = ne), N = ne;
@@ -131,7 +131,7 @@ var ce = "rpx4b10", le = "rpx4b11", ue = "rpx4b12", de = "rpx4b14 _6o7s4x0", fe
131
131
  e.preventDefault(), e.stopPropagation(), x(null);
132
132
  }, c[79] = x, c[80] = l);
133
133
  let d = l;
134
- M = n, ut = Le, dt = Ve, ft = Ye, pt = v, mt = Je, Z = Ie, j = a, ct = Ue, lt = We;
134
+ M = t, ut = Le, dt = Ve, ft = Ye, pt = v, mt = Je, Z = Ie, j = a, ct = Ue, lt = We;
135
135
  let p;
136
136
  c[81] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ u(re, { size: 18 }), c[81] = p) : p = c[81];
137
137
  let m;
@@ -158,7 +158,7 @@ var ce = "rpx4b10", le = "rpx4b11", ue = "rpx4b12", de = "rpx4b14 _6o7s4x0", fe
158
158
  })
159
159
  }) }), c[85] = Ze, c[86] = v, c[87] = b, c[88] = S, c[89] = C, c[90] = m, c[91] = X) : X = c[91], A = i, k = o, ot = "start", st = 4, O = s, at = de;
160
160
  let h = T && "rpx4b16";
161
- c[92] === h ? Y = c[93] : (Y = f(fe, h), c[92] = h, c[93] = Y), D = oe, et = "single", tt = E || void 0, nt = te, rt = "dropdown", c[94] === Symbol.for("react.memo_cache_sentinel") ? (q = new Date((/* @__PURE__ */ new Date()).getFullYear() - 100, 0), c[94] = q) : q = c[94], c[95] === Symbol.for("react.memo_cache_sentinel") ? (J = new Date((/* @__PURE__ */ new Date()).getFullYear() + 10, 11), c[95] = J) : J = c[95], it = !0, ht = f(e.root, me), P = he, F = ge, I = f(e.month_caption, _e), L = f(ve, e.dropdowns), R = f(be, e.dropdown), z = f(ye, e.dropdown_root), B = f(xe, e.caption_label), V = f(Se, e.nav), H = f(Ce, e.button_previous), U = f(we, e.button_next), W = f(Te, e.weekdays), G = f(Ee, e.weekday), Qe = f(De, e.week), K = f(Oe, e.day), $e = f(ke, e.day_button), c[15] = Ze, c[16] = T, c[17] = Ye, c[18] = Le, c[19] = Ue, c[20] = Je, c[21] = Ie, c[22] = v, c[23] = b, c[24] = x, c[25] = Ve, c[26] = S, c[27] = C, c[28] = E, c[29] = w, c[30] = D, c[31] = O, c[32] = k, c[33] = A, c[34] = j, c[35] = M, c[36] = N, c[37] = P, c[38] = F, c[39] = I, c[40] = L, c[41] = R, c[42] = z, c[43] = B, c[44] = V, c[45] = H, c[46] = U, c[47] = W, c[48] = G, c[49] = Qe, c[50] = K, c[51] = $e, c[52] = et, c[53] = tt, c[54] = nt, c[55] = rt, c[56] = q, c[57] = J, c[58] = it, c[59] = Y, c[60] = at, c[61] = ot, c[62] = st, c[63] = ct, c[64] = lt, c[65] = X, c[66] = ut, c[67] = dt, c[68] = ft, c[69] = pt, c[70] = mt, c[71] = Z, c[72] = ht;
161
+ c[92] === h ? Y = c[93] : (Y = f(fe, h), c[92] = h, c[93] = Y), D = se, et = "single", tt = E || void 0, nt = te, rt = "dropdown", c[94] === Symbol.for("react.memo_cache_sentinel") ? (q = new Date((/* @__PURE__ */ new Date()).getFullYear() - 100, 0), c[94] = q) : q = c[94], c[95] === Symbol.for("react.memo_cache_sentinel") ? (J = new Date((/* @__PURE__ */ new Date()).getFullYear() + 10, 11), c[95] = J) : J = c[95], it = !0, ht = f(e.root, me), P = he, F = ge, I = f(e.month_caption, _e), L = f(ve, e.dropdowns), R = f(be, e.dropdown), z = f(ye, e.dropdown_root), B = f(xe, e.caption_label), V = f(Se, e.nav), H = f(Ce, e.button_previous), U = f(we, e.button_next), W = f(Te, e.weekdays), G = f(Ee, e.weekday), Qe = f(De, e.week), K = f(Oe, e.day), $e = f(ke, e.day_button), c[15] = Ze, c[16] = T, c[17] = Ye, c[18] = Le, c[19] = Ue, c[20] = Je, c[21] = Ie, c[22] = v, c[23] = b, c[24] = x, c[25] = Ve, c[26] = S, c[27] = C, c[28] = E, c[29] = w, c[30] = D, c[31] = O, c[32] = k, c[33] = A, c[34] = j, c[35] = M, c[36] = N, c[37] = P, c[38] = F, c[39] = I, c[40] = L, c[41] = R, c[42] = z, c[43] = B, c[44] = V, c[45] = H, c[46] = U, c[47] = W, c[48] = G, c[49] = Qe, c[50] = K, c[51] = $e, c[52] = et, c[53] = tt, c[54] = nt, c[55] = rt, c[56] = q, c[57] = J, c[58] = it, c[59] = Y, c[60] = at, c[61] = ot, c[62] = st, c[63] = ct, c[64] = lt, c[65] = X, c[66] = ut, c[67] = dt, c[68] = ft, c[69] = pt, c[70] = mt, c[71] = Z, c[72] = ht;
162
162
  } else D = c[30], O = c[31], k = c[32], A = c[33], j = c[34], M = c[35], N = c[36], P = c[37], F = c[38], I = c[39], L = c[40], R = c[41], z = c[42], B = c[43], V = c[44], H = c[45], U = c[46], W = c[47], G = c[48], Qe = c[49], K = c[50], $e = c[51], et = c[52], tt = c[53], nt = c[54], rt = c[55], q = c[56], J = c[57], it = c[58], Y = c[59], at = c[60], ot = c[61], st = c[62], ct = c[63], lt = c[64], X = c[65], ut = c[66], dt = c[67], ft = c[68], pt = c[69], mt = c[70], Z = c[71], ht = c[72];
163
163
  let gt;
164
164
  c[96] !== P || c[97] !== F || c[98] !== I || c[99] !== L || c[100] !== R || c[101] !== z || c[102] !== B || c[103] !== V || c[104] !== H || c[105] !== U || c[106] !== W || c[107] !== G || c[108] !== Qe || c[109] !== K || c[110] !== $e || c[111] !== ht ? (gt = {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { t as e } from "./CollectionFormBuilder-BvFtiZeH.js";
2
+ import { r as e } from "./dist-bHoi1bCB.js";
3
3
  import { n as t } from "./AuthProvider-C6bvedwF.js";
4
- import { t as n } from "./card-E2LKF9nT.js";
5
- import { t as r } from "./MessageFooter-C4qC8cem.js";
4
+ import { t as n } from "./card-D5fPArfa.js";
5
+ import { t as r } from "./MessageFooter-CHuPnL_D.js";
6
6
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
7
7
  var o = {
8
8
  header: "_header_emo7t_1",
@@ -40,7 +40,10 @@ var o = {
40
40
  show: !0,
41
41
  text: "Submit"
42
42
  },
43
- account: f,
43
+ account: {
44
+ email: f?.email,
45
+ mobile: f?.mobile
46
+ },
44
47
  hiddenFields: u?.hidden ?? [],
45
48
  onSuccess: d
46
49
  })
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as e } from "./LoginForm-DpgxFh89.js";
3
- import { t } from "./card-E2LKF9nT.js";
2
+ import { t as e } from "./LoginForm-DeYsk4kd.js";
3
+ import { t } from "./card-D5fPArfa.js";
4
4
  import { Suspense as n, lazy as r, useState as i } from "react";
5
5
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
6
  var s = {
@@ -8,7 +8,7 @@ var s = {
8
8
  title: "_title_s7k8g_7",
9
9
  subtitle: "_subtitle_s7k8g_14",
10
10
  formWrapper: "_formWrapper_s7k8g_20"
11
- }, c = r(() => import("./PendingApprovalCard-CrdOrMRu.js")), l = ({ logo: r, siteName: l, page: u }) => {
11
+ }, c = r(() => import("./PendingApprovalCard-CsnyrSsa.js")), l = ({ logo: r, siteName: l, page: u }) => {
12
12
  let [d, f] = i(!1), [p, m] = i(!1), h = u.access?.find((e) => e.kind === "gating" && e.enabled)?.options;
13
13
  return p ? /* @__PURE__ */ a(n, {
14
14
  fallback: /* @__PURE__ */ a("div", {}),
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as e } from "./useLogin-D4A5iRey.js";
3
- import { c as t, t as n } from "./authentication-ClOFcry8.js";
2
+ import { t as e } from "./useLogin-B2HHZxTi.js";
3
+ import { c as t, t as n } from "./authentication-TdyaDNTn.js";
4
4
  import { LevoOAuth as r, errorHandler as i, successToast as a, useLevo as o } from "@levo-so/react";
5
5
  import { useEffect as s, useMemo as c, useRef as l, useState as u } from "react";
6
6
  import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
@@ -129,11 +129,11 @@ var T = _.string().required("Email is required").email("Please enter a valid ema
129
129
  })
130
130
  });
131
131
  }, F = {
132
- container: "_container_wx5fd_1",
133
- label: "_label_wx5fd_5",
134
- inputWrapper: "_inputWrapper_wx5fd_13",
135
- input: "_input_wx5fd_13",
136
- editButton: "_editButton_wx5fd_38"
132
+ container: "_container_sgr3i_1",
133
+ label: "_label_sgr3i_5",
134
+ inputWrapper: "_inputWrapper_sgr3i_13",
135
+ input: "_input_sgr3i_13",
136
+ editButton: "_editButton_sgr3i_38"
137
137
  }, I = ({ email: e, setEmail: t, otpSent: n, handleReset: r }) => /* @__PURE__ */ p("div", {
138
138
  className: F.container,
139
139
  children: [/* @__PURE__ */ f("label", {
@@ -448,17 +448,17 @@ var T = _.string().required("Email is required").email("Please enter a valid ema
448
448
  ]
449
449
  });
450
450
  }, G = {
451
- label: "_label_1fvbo_1",
452
- inputWrapper: "_inputWrapper_1fvbo_9",
453
- phoneInputWrapper: "_phoneInputWrapper_1fvbo_14",
454
- input: "_input_1fvbo_9",
455
- selector: "_selector_1fvbo_41",
456
- editButton: "_editButton_1fvbo_69",
457
- dropdownContent: "_dropdownContent_1fvbo_73",
458
- countryItem: "_countryItem_1fvbo_89",
459
- flag: "_flag_1fvbo_111",
460
- countryName: "_countryName_1fvbo_118",
461
- dialCode: "_dialCode_1fvbo_125"
451
+ label: "_label_1odi8_1",
452
+ inputWrapper: "_inputWrapper_1odi8_9",
453
+ phoneInputWrapper: "_phoneInputWrapper_1odi8_14",
454
+ input: "_input_1odi8_9",
455
+ selector: "_selector_1odi8_41",
456
+ editButton: "_editButton_1odi8_69",
457
+ dropdownContent: "_dropdownContent_1odi8_73",
458
+ countryItem: "_countryItem_1odi8_89",
459
+ flag: "_flag_1odi8_111",
460
+ countryName: "_countryName_1odi8_118",
461
+ dialCode: "_dialCode_1odi8_125"
462
462
  }, K = ({ phone: e, setPhone: t, otpSent: n, handleReset: r }) => {
463
463
  let [i, a] = u(!1), [o, s] = u(""), c = l(null), d = l(null), { inputValue: m, handlePhoneValueChange: _, inputRef: v, country: y, setCountry: b } = w({
464
464
  defaultCountry: "in",
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { n as e } from "./AuthProvider-C6bvedwF.js";
3
- import { n as t } from "./ModalManager-CaBZKQR2.js";
4
- import { a as n, n as r, o as i, r as a, t as o } from "./dialog-DoxC50i0.js";
5
- import { t as s } from "./LoginForm-DpgxFh89.js";
3
+ import { n as t } from "./ModalManager-DQVNPEuG.js";
4
+ import { a as n, n as r, o as i, r as a, t as o } from "./dialog-LRLdr3kq.js";
5
+ import { t as s } from "./LoginForm-DeYsk4kd.js";
6
6
  import { useEffect as c } from "react";
7
7
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
8
8
  var d = {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as e } from "./card-E2LKF9nT.js";
3
- import { t } from "./MessageFooter-C4qC8cem.js";
2
+ import { t as e } from "./card-D5fPArfa.js";
3
+ import { t } from "./MessageFooter-CHuPnL_D.js";
4
4
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
5
  //#region src/components/accessCard/MessageCard.tsx
6
6
  var i = ({ logo: i, siteName: a, options: o, message: s }) => /* @__PURE__ */ r(e, {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { n as e } from "./AuthProvider-C6bvedwF.js";
3
- import { t } from "./useLogin-D4A5iRey.js";
3
+ import { t } from "./useLogin-B2HHZxTi.js";
4
4
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
5
  import i from "libphonenumber-js";
6
6
  var a = {
@@ -2,7 +2,7 @@
2
2
  import { Suspense as e, createContext as t, lazy as n, useCallback as r, useContext as i, useState as a } from "react";
3
3
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
4
4
  //#region src/context/ModalManager.tsx
5
- var c = n(() => import("./LoginModal-CaqsScly.js")), l = t({
5
+ var c = n(() => import("./LoginModal-BbDfB4S9.js")), l = t({
6
6
  availableModals: ["login"],
7
7
  openModals: { key: null },
8
8
  openModal: () => ({}),
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as e } from "./CollectionFormBuilder-BvFtiZeH.js";
3
- import { t } from "./card-E2LKF9nT.js";
4
- import { t as n } from "./MessageFooter-C4qC8cem.js";
2
+ import { r as e } from "./dist-bHoi1bCB.js";
3
+ import { t } from "./card-D5fPArfa.js";
4
+ import { t as n } from "./MessageFooter-CHuPnL_D.js";
5
5
  import { useState as r } from "react";
6
6
  import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  var s = {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { f as e, t } from "./CollectionField-BPl8E9MW.js";
3
- import { t as n } from "./VerifyButton-DFAg6STD.js";
4
- import { t as r } from "./CollectionInput-DcNJT5Pg.js";
2
+ import { t as e, u as t } from "./CollectionField-DrJuHNsg.js";
3
+ import { t as n } from "./VerifyButton-6BIXAEGp.js";
4
+ import { t as r } from "./CollectionInput-CG-Pu_51.js";
5
5
  import { c as ee } from "react/compiler-runtime";
6
6
  import { useState as i } from "react";
7
7
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
@@ -13,7 +13,7 @@ var ae = "_89f1hw0", s = "_89f1hw1", c = "_89f1hw2", oe = "_89f1hw4", l = (l) =>
13
13
  let u = ee(51), { field: d, settings: se } = l, { key: f, label: p, helper_text: m, readonly: h, options: g } = d, _ = f === void 0 ? "" : f, v = p === void 0 ? "" : p, y = m === void 0 ? "" : m, b = h === void 0 ? !1 : h, x = _, S = !!g?.verification && !!se?.enableVerification, [C, w] = i(null), [T, E] = i(!1), D;
14
14
  u[0] !== T || u[1] !== S || u[2] !== C ? (D = (e) => T ? !0 : S && (!C || C !== e) ? "Phone verification required" : !0, u[0] = T, u[1] = S, u[2] = C, u[3] = D) : D = u[3];
15
15
  let O;
16
- u[4] !== d || u[5] !== D ? (O = e(d, D), u[4] = d, u[5] = D, u[6] = O) : O = u[6];
16
+ u[4] !== d || u[5] !== D ? (O = t(d, D), u[4] = d, u[5] = D, u[6] = O) : O = u[6];
17
17
  let k = O, A;
18
18
  u[7] !== x || u[8] !== k ? (A = {
19
19
  name: x,
@@ -85,7 +85,7 @@ var ae = "_89f1hw0", s = "_89f1hw1", c = "_89f1hw2", oe = "_89f1hw4", l = (l) =>
85
85
  children: [X, Z]
86
86
  }), u[40] = X, u[41] = Z, u[42] = Q) : Q = u[42];
87
87
  let $;
88
- return u[43] !== R || u[44] !== y || u[45] !== L || u[46] !== v || u[47] !== x || u[48] !== b || u[49] !== Q ? ($ = /* @__PURE__ */ a(t, {
88
+ return u[43] !== R || u[44] !== y || u[45] !== L || u[46] !== v || u[47] !== x || u[48] !== b || u[49] !== Q ? ($ = /* @__PURE__ */ a(e, {
89
89
  error: R,
90
90
  helperText: y,
91
91
  readOnly: b,