@levo-so/studio 0.1.98 → 0.1.100

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 (45) hide show
  1. package/{BillingStep-C3jJkLXQ.js → BillingStep-Brc1Mzo3.js} +1 -1
  2. package/{Button-CwN6jTXH.js → Button-XTKnNIl9.js} +11 -5
  3. package/{CollectionInput-BoNAc4sq.js → CollectionInput-cmJ0RXzG.js} +1 -1
  4. package/DateTimeWidget-B5lBr0_R.js +255 -0
  5. package/{EntryCard-xpo36vUc.js → EntryCard-CYdsSkIk.js} +3 -3
  6. package/{CollectionField-DnbpB0Z5.js → Input-Btdc1Dee.js} +115 -76
  7. package/{LoginCard-DG8NAN0B.js → LoginCard-5LaKaFCO.js} +3 -3
  8. package/{LoginModal-BPI5tOIZ.js → LoginModal-BdYM8INu.js} +3 -3
  9. package/{MessageCard-BYxgc9dl.js → MessageCard-ChDBqLVG.js} +2 -2
  10. package/{ModalManager-BaIL6HG-.js → ModalManager-SggxCIno.js} +1 -1
  11. package/{PendingApprovalCard-DID1FhwF.js → PendingApprovalCard-z2sdLyCa.js} +3 -3
  12. package/{PhoneWidget-CjhHfwuG.js → PhoneWidget-1ffYuESC.js} +11 -11
  13. package/{Popover-DHVZdJuv.js → Popover-BdKCElnb.js} +2 -1
  14. package/RichTextWidget-CjEoGecM.js +1136 -0
  15. package/Tooltip-BOq5vSOW.js +68 -0
  16. package/{VerifyButton-DFKzKYxC.js → VerifyButton-CdPQqtc2.js} +3 -2
  17. package/{bookingCard-Bw4tvDYh.js → bookingCard-D3ZSjq-P.js} +3 -3
  18. package/collection.d.ts +20 -7
  19. package/collection.js +7 -7
  20. package/dist-ir7pIkAm.js +3115 -0
  21. package/{getFieldValidations-qVzuq6mv.js → getFieldValidations-DZnDgNI0.js} +52 -88
  22. package/index.d.ts +94 -3
  23. package/index.js +3223 -1415
  24. package/{nodeAlignment-CG3qmAuQ.js → nodeAlignment-BZbdafVA.js} +41 -42
  25. package/package.json +8 -8
  26. package/studio.css +1 -1
  27. package/theme.cssm-2YTdd8Yh.js +15 -0
  28. package/{utils-F6eBcsyI.js → utils-CsfPGq4R.js} +1 -1
  29. package/widgets-DD4OjK2Y.js +302 -0
  30. package/DateTimeWidget-IRleQI-3.js +0 -255
  31. package/RichTextWidget-CgT1_zC3.js +0 -1135
  32. package/Tooltip-ByJRyayB.js +0 -78
  33. package/dist-B7TPxn7o.js +0 -3180
  34. package/theme.cssm-De_pl52g.js +0 -4
  35. package/widgets-Dvyv5_uj.js +0 -215
  36. /package/{Beams-Blr-zwvz.js → Beams-B0O3uyYF.js} +0 -0
  37. /package/{Dots-DeBKuibU.js → Dots-DjezbpLp.js} +0 -0
  38. /package/{Gradient-DGFxOjft.js → Gradient-B1K9Yi04.js} +0 -0
  39. /package/{Grid-A7HRCQ0T.js → Grid-C9aUfXM-.js} +0 -0
  40. /package/{LoginForm-CPMtCyMF.js → LoginForm-Ck-xFaDg.js} +0 -0
  41. /package/{MessageFooter-C6DivT4m.js → MessageFooter-AzAtJWMo.js} +0 -0
  42. /package/{StripePaymentModal-BcePXzmC.js → StripePaymentModal-BHIBBvRj.js} +0 -0
  43. /package/{Waves-CIT6Ngng.js → Waves-BkaAfGqA.js} +0 -0
  44. /package/{card-izMd2DvE.js → card-BQr9258p.js} +0 -0
  45. /package/{dialog-CCWrvmHd.js → dialog-Dw6n_36P.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as e } from "./card-izMd2DvE.js";
3
- import { t } from "./MessageFooter-C6DivT4m.js";
2
+ import { t as e } from "./card-BQr9258p.js";
3
+ import { t } from "./MessageFooter-AzAtJWMo.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, {
@@ -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-BPI5tOIZ.js")), l = t({
5
+ var c = n(() => import("./LoginModal-BdYM8INu.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 { r as e } from "./dist-B7TPxn7o.js";
3
- import { t } from "./card-izMd2DvE.js";
4
- import { t as n } from "./MessageFooter-C6DivT4m.js";
2
+ import { r as e } from "./dist-ir7pIkAm.js";
3
+ import { t } from "./card-BQr9258p.js";
4
+ import { t as n } from "./MessageFooter-AzAtJWMo.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,14 +1,14 @@
1
1
  "use client";
2
- import { t as e } from "./getFieldValidations-qVzuq6mv.js";
3
- import { t } from "./CollectionField-DnbpB0Z5.js";
4
- import { t as n } from "./VerifyButton-DFKzKYxC.js";
5
- import { t as r } from "./CollectionInput-BoNAc4sq.js";
2
+ import { t as e } from "./getFieldValidations-DZnDgNI0.js";
3
+ import { r as t } from "./Input-Btdc1Dee.js";
4
+ import { t as n } from "./VerifyButton-CdPQqtc2.js";
5
+ import { t as r } from "./CollectionInput-cmJ0RXzG.js";
6
6
  import { useState as i } from "react";
7
7
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
8
8
  import { c as s } from "react/compiler-runtime";
9
- import { IconPencil as c } from "@tabler/icons-react";
10
- import ee, { isSupportedCountry as te } from "react-phone-number-input";
11
- import { useController as ne } from "react-hook-form";
9
+ import c, { isSupportedCountry as ee } from "react-phone-number-input";
10
+ import { useController as te } from "react-hook-form";
11
+ import { IconPencil as ne } from "@tabler/icons-react";
12
12
  //#region ../../libraries/react-collection/dist/widgets/phoneWidget/PhoneWidget.cssm.js
13
13
  var re = "_89f1hw0", l = "_89f1hw1", u = "_89f1hw2", ie = "_89f1hw4", d = (d) => {
14
14
  let f = s(51), { field: p, settings: ae } = d, { key: m, label: h, helper_text: g, readonly: _, options: v } = p, y = m === void 0 ? "" : m, b = h === void 0 ? "" : h, x = g === void 0 ? "" : g, S = _ === void 0 ? !1 : _, C = y, w = !!v?.verification && !!ae?.enableVerification, [T, E] = i(null), [D, oe] = i(!1), O;
@@ -20,14 +20,14 @@ var re = "_89f1hw0", l = "_89f1hw1", u = "_89f1hw2", ie = "_89f1hw4", d = (d) =>
20
20
  name: C,
21
21
  rules: A
22
22
  }, f[7] = C, f[8] = A, f[9] = j) : j = f[9];
23
- let { field: M, fieldState: se } = ne(j), N, P, F, I;
23
+ let { field: M, fieldState: se } = te(j), N, P, F, I;
24
24
  f[10] === M ? (N = f[11], P = f[12], F = f[13], I = f[14]) : ({value: I, onBlur: N, onChange: P, ...F} = M, f[10] = M, f[11] = N, f[12] = P, f[13] = F, f[14] = I);
25
25
  let { error: ce } = se, L = !!p?.required, R = ce?.message, z = !!T && !!I && T === I, B;
26
26
  f[15] === v?.country ? B = f[16] : (B = () => {
27
27
  let e = v?.country;
28
28
  if (e && typeof e == "string") {
29
29
  let t = e?.toUpperCase();
30
- if (te(t)) return t;
30
+ if (ee(t)) return t;
31
31
  }
32
32
  return "IN";
33
33
  }, f[15] = v?.country, f[16] = B);
@@ -51,12 +51,12 @@ var re = "_89f1hw0", l = "_89f1hw1", u = "_89f1hw2", ie = "_89f1hw4", d = (d) =>
51
51
  onClick: () => E(null),
52
52
  className: ie,
53
53
  title: "Change phone number",
54
- children: /* @__PURE__ */ a(c, { size: 14 })
54
+ children: /* @__PURE__ */ a(ne, { size: 14 })
55
55
  }) : null, f[25] = z, f[26] = Y);
56
56
  let X;
57
57
  f[27] !== F || f[28] !== W || f[29] !== G || f[30] !== K || f[31] !== q || f[32] !== J || f[33] !== Y ? (X = /* @__PURE__ */ a("div", {
58
58
  className: u,
59
- children: /* @__PURE__ */ a(ee, {
59
+ children: /* @__PURE__ */ a(c, {
60
60
  value: W,
61
61
  international: !0,
62
62
  inputComponent: r,
@@ -1,4 +1,5 @@
1
- import { i as e, r as t } from "./getFieldValidations-qVzuq6mv.js";
1
+ import { n as e } from "./getFieldValidations-DZnDgNI0.js";
2
+ import { p as t } from "./Input-Btdc1Dee.js";
2
3
  import { jsx as n } from "react/jsx-runtime";
3
4
  import { c as r } from "react/compiler-runtime";
4
5
  import i from "clsx";