@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.
- package/{BillingStep-C3jJkLXQ.js → BillingStep-Brc1Mzo3.js} +1 -1
- package/{Button-CwN6jTXH.js → Button-XTKnNIl9.js} +11 -5
- package/{CollectionInput-BoNAc4sq.js → CollectionInput-cmJ0RXzG.js} +1 -1
- package/DateTimeWidget-B5lBr0_R.js +255 -0
- package/{EntryCard-xpo36vUc.js → EntryCard-CYdsSkIk.js} +3 -3
- package/{CollectionField-DnbpB0Z5.js → Input-Btdc1Dee.js} +115 -76
- package/{LoginCard-DG8NAN0B.js → LoginCard-5LaKaFCO.js} +3 -3
- package/{LoginModal-BPI5tOIZ.js → LoginModal-BdYM8INu.js} +3 -3
- package/{MessageCard-BYxgc9dl.js → MessageCard-ChDBqLVG.js} +2 -2
- package/{ModalManager-BaIL6HG-.js → ModalManager-SggxCIno.js} +1 -1
- package/{PendingApprovalCard-DID1FhwF.js → PendingApprovalCard-z2sdLyCa.js} +3 -3
- package/{PhoneWidget-CjhHfwuG.js → PhoneWidget-1ffYuESC.js} +11 -11
- package/{Popover-DHVZdJuv.js → Popover-BdKCElnb.js} +2 -1
- package/RichTextWidget-CjEoGecM.js +1136 -0
- package/Tooltip-BOq5vSOW.js +68 -0
- package/{VerifyButton-DFKzKYxC.js → VerifyButton-CdPQqtc2.js} +3 -2
- package/{bookingCard-Bw4tvDYh.js → bookingCard-D3ZSjq-P.js} +3 -3
- package/collection.d.ts +20 -7
- package/collection.js +7 -7
- package/dist-ir7pIkAm.js +3115 -0
- package/{getFieldValidations-qVzuq6mv.js → getFieldValidations-DZnDgNI0.js} +52 -88
- package/index.d.ts +94 -3
- package/index.js +3223 -1415
- package/{nodeAlignment-CG3qmAuQ.js → nodeAlignment-BZbdafVA.js} +41 -42
- package/package.json +8 -8
- package/studio.css +1 -1
- package/theme.cssm-2YTdd8Yh.js +15 -0
- package/{utils-F6eBcsyI.js → utils-CsfPGq4R.js} +1 -1
- package/widgets-DD4OjK2Y.js +302 -0
- package/DateTimeWidget-IRleQI-3.js +0 -255
- package/RichTextWidget-CgT1_zC3.js +0 -1135
- package/Tooltip-ByJRyayB.js +0 -78
- package/dist-B7TPxn7o.js +0 -3180
- package/theme.cssm-De_pl52g.js +0 -4
- package/widgets-Dvyv5_uj.js +0 -215
- /package/{Beams-Blr-zwvz.js → Beams-B0O3uyYF.js} +0 -0
- /package/{Dots-DeBKuibU.js → Dots-DjezbpLp.js} +0 -0
- /package/{Gradient-DGFxOjft.js → Gradient-B1K9Yi04.js} +0 -0
- /package/{Grid-A7HRCQ0T.js → Grid-C9aUfXM-.js} +0 -0
- /package/{LoginForm-CPMtCyMF.js → LoginForm-Ck-xFaDg.js} +0 -0
- /package/{MessageFooter-C6DivT4m.js → MessageFooter-AzAtJWMo.js} +0 -0
- /package/{StripePaymentModal-BcePXzmC.js → StripePaymentModal-BHIBBvRj.js} +0 -0
- /package/{Waves-CIT6Ngng.js → Waves-BkaAfGqA.js} +0 -0
- /package/{card-izMd2DvE.js → card-BQr9258p.js} +0 -0
- /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-
|
|
3
|
-
import { t } from "./MessageFooter-
|
|
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-
|
|
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-
|
|
3
|
-
import { t } from "./card-
|
|
4
|
-
import { t as n } from "./MessageFooter-
|
|
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-
|
|
3
|
-
import { t } from "./
|
|
4
|
-
import { t as n } from "./VerifyButton-
|
|
5
|
-
import { t as r } from "./CollectionInput-
|
|
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 {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
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 } =
|
|
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 (
|
|
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(
|
|
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(
|
|
59
|
+
children: /* @__PURE__ */ a(c, {
|
|
60
60
|
value: W,
|
|
61
61
|
international: !0,
|
|
62
62
|
inputComponent: r,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
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";
|