@levo-so/studio 0.1.99 → 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-CD-nP5Zg.js → BillingStep-Brc1Mzo3.js} +1 -1
- package/{Button-BN9tHQ7U.js → Button-XTKnNIl9.js} +11 -5
- package/{CollectionInput-57OEuaRO.js → CollectionInput-cmJ0RXzG.js} +1 -1
- package/DateTimeWidget-B5lBr0_R.js +255 -0
- package/{EntryCard-DMxKxYzC.js → EntryCard-CYdsSkIk.js} +3 -3
- package/{CollectionField-BpRjsPIl.js → Input-Btdc1Dee.js} +115 -76
- package/{LoginCard-Dgl3uq38.js → LoginCard-5LaKaFCO.js} +3 -3
- package/{LoginModal-CVh8k24t.js → LoginModal-BdYM8INu.js} +3 -3
- package/{MessageCard-BYxgc9dl.js → MessageCard-ChDBqLVG.js} +2 -2
- package/{ModalManager-D2pV7Ba2.js → ModalManager-SggxCIno.js} +1 -1
- package/{PendingApprovalCard-ZIhBzT3K.js → PendingApprovalCard-z2sdLyCa.js} +3 -3
- package/{PhoneWidget-cSp-CqJl.js → PhoneWidget-1ffYuESC.js} +11 -11
- package/{Popover-ieqK7ZXF.js → Popover-BdKCElnb.js} +2 -1
- package/RichTextWidget-CjEoGecM.js +1136 -0
- package/{Tooltip-9zds9Zoi.js → Tooltip-BOq5vSOW.js} +2 -1
- package/{VerifyButton-faa0wOES.js → VerifyButton-CdPQqtc2.js} +3 -2
- package/{bookingCard-OUT621LL.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-j341NV59.js → getFieldValidations-DZnDgNI0.js} +48 -87
- package/index.d.ts +6 -4
- package/index.js +3017 -1242
- package/{nodeAlignment-UpurkBVP.js → nodeAlignment-BZbdafVA.js} +31 -32
- package/package.json +10 -10
- package/studio.css +1 -1
- package/{utils-C_ATWxPM.js → utils-CsfPGq4R.js} +1 -1
- package/{widgets-BHUjv2OM.js → widgets-DD4OjK2Y.js} +87 -74
- package/DateTimeWidget-BlOQYia2.js +0 -255
- package/RichTextWidget-BeUcHYmx.js +0 -1131
- package/dist-IAADcuph.js +0 -3113
- /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-DC-ySB_o.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-BJpM4UEG.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";
|