@levo-so/studio 0.1.109 → 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.
- package/{BillingStep-DZeqbtfs.js → BillingStep-CY2MHQ-L.js} +1 -1
- package/{Button-BMUB23Y7.js → Button-DjphTnCg.js} +160 -148
- package/CollectionField-DrJuHNsg.js +318 -0
- package/{DateTimeWidget-DWbn_kXp.js → DateTimeWidget-BVHZh4EV.js} +13 -14
- package/{EntryCard-BNZ-0_Kv.js → EntryCard-BYONyIm5.js} +3 -3
- package/{LoginCard-B1XlZfEU.js → LoginCard-CrtSHdaR.js} +3 -3
- package/{LoginForm-NmDPe72V.js → LoginForm-DeYsk4kd.js} +2 -2
- package/{LoginModal-CVd08mNx.js → LoginModal-BbDfB4S9.js} +3 -3
- package/{MessageCard-C2fU_Bo_.js → MessageCard-x6jPClGi.js} +2 -2
- package/{MessageFooter-4qIEK91O.js → MessageFooter-CHuPnL_D.js} +1 -1
- package/{ModalManager-Dqq7D60M.js → ModalManager-DQVNPEuG.js} +1 -1
- package/{PendingApprovalCard-CXOEpAbg.js → PendingApprovalCard-CsnyrSsa.js} +3 -3
- package/{PhoneWidget-CtNIit2w.js → PhoneWidget-BaDSMSW5.js} +5 -6
- package/{PopupRenderer-SSn97BLs-DQfvcymq.js → PopupRenderer-Dd9zoNIY-Cx663DmW.js} +258 -223
- package/{ProfileCard-CzL5uB2z.js → ProfileCard-Dg5TY1Mw.js} +3 -3
- package/{RichTextWidget-DkRrKQqN.js → RichTextWidget-yaDCZwIo.js} +10 -11
- package/{RteThemeProvider-Cfepkyer.js → RteThemeProvider-LFGzAYi1.js} +2 -2
- package/{Toolbar-C3WDkSnO.js → Toolbar-D3PnF7Ud.js} +3 -3
- package/{VerifyButton-TNkt-SDu.js → VerifyButton-6BIXAEGp.js} +1 -1
- package/{bookingCard-61Yx6JO-.js → bookingCard-D40dbgvH.js} +3 -3
- package/collection.js +6 -8
- package/dist-bHoi1bCB.js +3795 -0
- package/index.d.ts +77 -2
- package/index.js +2391 -2197
- package/{inlineCollectionTheme-WpCvMKrW.js → inlineCollectionTheme-D2w17LHX.js} +1 -1
- package/{inlineRteTheme-Ajq9PNpQ.js → inlineRteTheme-abXxag3B.js} +1 -1
- package/package.json +2 -2
- package/studio.css +1 -1
- package/{utils-BJLmuC5w.js → utils-C_tr8kXV.js} +1 -1
- package/CollectionField-xa-jed3_.js +0 -232
- package/dist-Cfv-YjpI.js +0 -3469
- package/getFieldValidations-CSkSV2hW.js +0 -90
- package/widgets-K6ECnoJJ.js +0 -335
- /package/{Beams-WJN38XSv.js → Beams-DboMUgCv.js} +0 -0
- /package/{CollectionInput-CpNGIXJx.js → CollectionInput-CG-Pu_51.js} +0 -0
- /package/{Dots-DggLz5I7.js → Dots-a8xSboDv.js} +0 -0
- /package/{Gradient-BSWJAu0a.js → Gradient-NacpoDCM.js} +0 -0
- /package/{Grid-BFKl0MUt.js → Grid-BJQvxnks.js} +0 -0
- /package/{Popover-O1poOHk2.js → Popover-DnZY1k6o.js} +0 -0
- /package/{StripePaymentModal-Do1xHctU.js → StripePaymentModal-BsYNQ4MB.js} +0 -0
- /package/{Tooltip-NEMQqPyr.js → Tooltip-DreKXbTO.js} +0 -0
- /package/{Waves-BPEgTYoO.js → Waves-DUuT_IFr.js} +0 -0
- /package/{authentication-hnV1BI8s.js → authentication-TdyaDNTn.js} +0 -0
- /package/{card-5ooLmYSr.js → card-D5fPArfa.js} +0 -0
- /package/{dialog-DoxC50i0.js → dialog-LRLdr3kq.js} +0 -0
- /package/{theme.cssm-BXDp-ojp.js → theme.cssm-2YTdd8Yh.js} +0 -0
- /package/{useLogin-D4A5iRey.js → useLogin-B2HHZxTi.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { l as e } from "./dist-bHoi1bCB.js";
|
|
3
3
|
import { n as t } from "./AuthProvider-C6bvedwF.js";
|
|
4
|
-
import { t as n } from "./card-
|
|
5
|
-
import { t as r } from "./MessageFooter-
|
|
4
|
+
import { t as n } from "./card-D5fPArfa.js";
|
|
5
|
+
import { t as r } from "./MessageFooter-CHuPnL_D.js";
|
|
6
6
|
import { Spinner as i, useLevo as a } from "@levo-so/react";
|
|
7
7
|
import { useEffect as o, useState as s } from "react";
|
|
8
8
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as e, t } from "./inlineRteTheme-
|
|
3
|
-
import { t as ee } from "./RteThemeProvider-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { r, t as ie } from "./Toolbar-C3WDkSnO.js";
|
|
2
|
+
import { r as e, t } from "./inlineRteTheme-abXxag3B.js";
|
|
3
|
+
import { t as ee } from "./RteThemeProvider-LFGzAYi1.js";
|
|
4
|
+
import { l as te, t as ne, u as re } from "./CollectionField-DrJuHNsg.js";
|
|
5
|
+
import { i as n } from "./Tooltip-DreKXbTO.js";
|
|
6
|
+
import { r, t as ie } from "./Toolbar-D3PnF7Ud.js";
|
|
8
7
|
import { c as ae } from "react/compiler-runtime";
|
|
9
8
|
import { useEffect as i, useState as oe } from "react";
|
|
10
9
|
import { jsx as a, jsxs as se } from "react/jsx-runtime";
|
|
@@ -14,7 +13,7 @@ import { EditorContent as o, EditorContext as s, useEditor as c } from "@tiptap/
|
|
|
14
13
|
//#region ../../libraries/react-collection/dist/widgets/richTextWidget/RichTextWidget.cssm.js
|
|
15
14
|
var ue = "_1vx76w30", de = "_1vx76w33", fe = "_1vx76w34", pe = { style: t({ baseSpacing: ".875rem" }) }, l = (t) => {
|
|
16
15
|
let l = ae(58), { field: u } = t, [d, me] = oe(!1), { key: f, label: p, helper_text: m, readonly: h, placeholder: he } = u, g = f === void 0 ? "" : f, _ = p === void 0 ? "" : p, v = m === void 0 ? "" : m, y = h === void 0 ? !1 : h, b;
|
|
17
|
-
l[0] === u ? b = l[1] : (b =
|
|
16
|
+
l[0] === u ? b = l[1] : (b = re(u), l[0] = u, l[1] = b);
|
|
18
17
|
let x;
|
|
19
18
|
l[2] !== g || l[3] !== b ? (x = {
|
|
20
19
|
name: g,
|
|
@@ -45,13 +44,13 @@ var ue = "_1vx76w30", de = "_1vx76w33", fe = "_1vx76w34", pe = { style: t({ base
|
|
|
45
44
|
}, l[10] = O, l[11] = k, l[12] = j, l[13] = D, l[14] = M) : M = l[14];
|
|
46
45
|
let N = c(M), P;
|
|
47
46
|
l[15] !== N || l[16] !== d || l[17] !== S ? (P = () => {
|
|
48
|
-
N?.commands && !d && (N.commands.setContent(S || ""), me(!0));
|
|
47
|
+
N?.commands && !d && (N.commands.setContent(S || "", { emitUpdate: !1 }), me(!0));
|
|
49
48
|
}, l[15] = N, l[16] = d, l[17] = S, l[18] = P) : P = l[18];
|
|
50
49
|
let F;
|
|
51
50
|
l[19] === S ? F = l[20] : (F = [S], l[19] = S, l[20] = F), i(P, F);
|
|
52
51
|
let I, L;
|
|
53
52
|
l[21] !== T || l[22] !== N || l[23] !== y ? (I = () => {
|
|
54
|
-
N && N.setEditable(!T && !y);
|
|
53
|
+
N && N.setEditable(!T && !y, !1);
|
|
55
54
|
}, L = [
|
|
56
55
|
N,
|
|
57
56
|
T,
|
|
@@ -68,7 +67,7 @@ var ue = "_1vx76w30", de = "_1vx76w33", fe = "_1vx76w34", pe = { style: t({ base
|
|
|
68
67
|
let G;
|
|
69
68
|
l[33] === N ? G = l[34] : (G = { editor: N }, l[33] = N, l[34] = G);
|
|
70
69
|
let K, q;
|
|
71
|
-
l[35] === Symbol.for("react.memo_cache_sentinel") ? (K = /* @__PURE__ */ a(ie, {}), q = /* @__PURE__ */ a(
|
|
70
|
+
l[35] === Symbol.for("react.memo_cache_sentinel") ? (K = /* @__PURE__ */ a(ie, {}), q = /* @__PURE__ */ a(te, { orientation: "horizontal" }), l[35] = K, l[36] = q) : (K = l[35], q = l[36]);
|
|
72
71
|
let J;
|
|
73
72
|
l[37] === N?.commands ? J = l[38] : (J = () => N?.commands.focus(), l[37] = N?.commands, l[38] = J);
|
|
74
73
|
let Y;
|
|
@@ -100,7 +99,7 @@ var ue = "_1vx76w30", de = "_1vx76w33", fe = "_1vx76w34", pe = { style: t({ base
|
|
|
100
99
|
children: Z
|
|
101
100
|
}), l[47] = W, l[48] = Z, l[49] = Q) : Q = l[49];
|
|
102
101
|
let $;
|
|
103
|
-
return l[50] !== v || l[51] !== g || l[52] !== _ || l[53] !== y || l[54] !== B || l[55] !== V || l[56] !== Q ? ($ = /* @__PURE__ */ a(
|
|
102
|
+
return l[50] !== v || l[51] !== g || l[52] !== _ || l[53] !== y || l[54] !== B || l[55] !== V || l[56] !== Q ? ($ = /* @__PURE__ */ a(ne, {
|
|
104
103
|
error: B,
|
|
105
104
|
helperText: v,
|
|
106
105
|
readOnly: y,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./Button-lUfKisu8.js";
|
|
2
|
-
import { n as t } from "./inlineRteTheme-
|
|
3
|
-
import { t as n } from "./theme.cssm-
|
|
2
|
+
import { n as t } from "./inlineRteTheme-abXxag3B.js";
|
|
3
|
+
import { t as n } from "./theme.cssm-2YTdd8Yh.js";
|
|
4
4
|
import { c as r } from "react/compiler-runtime";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
6
|
import a from "clsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./Button-lUfKisu8.js";
|
|
2
2
|
import { t } from "./nodeAlignment-BC_Uferw.js";
|
|
3
|
-
import { l as n } from "./CollectionField-
|
|
4
|
-
import { n as r, r as i, t as a } from "./Tooltip-
|
|
5
|
-
import { a as o, i as s, n as c, o as l, r as u } from "./Popover-
|
|
3
|
+
import { l as n } from "./CollectionField-DrJuHNsg.js";
|
|
4
|
+
import { n as r, r as i, t as a } from "./Tooltip-DreKXbTO.js";
|
|
5
|
+
import { a as o, i as s, n as c, o as l, r as u } from "./Popover-DnZY1k6o.js";
|
|
6
6
|
import { c as d } from "react/compiler-runtime";
|
|
7
7
|
import { forwardRef as f, useEffect as p, useState as m } from "react";
|
|
8
8
|
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as e, n as t, o as n, t as r } from "./Dialog-IrII0ugb.js";
|
|
3
3
|
import { t as i } from "./Button-lUfKisu8.js";
|
|
4
|
-
import { t as a } from "./CollectionInput-
|
|
4
|
+
import { t as a } from "./CollectionInput-CG-Pu_51.js";
|
|
5
5
|
import { c as o } from "react/compiler-runtime";
|
|
6
6
|
import { errorToast as s, successToast as c, useLevo as l } from "@levo-so/react";
|
|
7
7
|
import { useEffect as u, useState as d } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./Button-
|
|
2
|
+
import { t as e } from "./Button-DjphTnCg.js";
|
|
3
3
|
import { n as t } from "./AuthProvider-C6bvedwF.js";
|
|
4
|
-
import { n, t as r } from "./StripePaymentModal-
|
|
5
|
-
import { BillingStep as i } from "./BillingStep-
|
|
4
|
+
import { n, t as r } from "./StripePaymentModal-BsYNQ4MB.js";
|
|
5
|
+
import { BillingStep as i } from "./BillingStep-CY2MHQ-L.js";
|
|
6
6
|
import { cn as a, errorHandler as o, useLevo as s } from "@levo-so/react";
|
|
7
7
|
import { useEffect as c, useRef as l, useState as u } from "react";
|
|
8
8
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
package/collection.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { t as L } from "./CollectionInput-CpNGIXJx.js";
|
|
7
|
-
import { n as R, r as z, t as B } from "./Toolbar-C3WDkSnO.js";
|
|
1
|
+
import { C as e, D as t, E as n, O as r, S as i, T as a, _ as o, a as s, b as c, c as l, d as u, f as d, g as f, h as p, i as m, l as h, n as g, o as _, p as v, r as y, s as b, u as x, v as S, w as C, x as w, y as T } from "./dist-bHoi1bCB.js";
|
|
2
|
+
import { a as E, c as D, d as O, i as k, n as A, o as j, r as M, s as N, t as P, u as F } from "./CollectionField-DrJuHNsg.js";
|
|
3
|
+
import { t as I } from "./CollectionInput-CG-Pu_51.js";
|
|
4
|
+
import { t as L } from "./utils-C_tr8kXV.js";
|
|
5
|
+
import { n as R, r as z, t as B } from "./Toolbar-D3PnF7Ud.js";
|
|
8
6
|
//#region ../../libraries/react-collection/dist/types/formVariant.js
|
|
9
7
|
var V = [
|
|
10
8
|
{
|
|
@@ -29,4 +27,4 @@ var V = [
|
|
|
29
27
|
}
|
|
30
28
|
];
|
|
31
29
|
//#endregion
|
|
32
|
-
export {
|
|
30
|
+
export { S as AsyncSelectPaginate, f as CURRENCY_SYMBOLS, B as CollectionEditorToolbar, P as CollectionFieldWrapper, P as FieldWrapper, h as CollectionForm, y as CollectionFormBuilder, g as CollectionFormRenderer, I as CollectionInput, I as Input, O as CollectionLabel, v as DEFAULT_WIDGET_REGISTRY, E as Field, N as FieldContent, j as FieldDescription, A as FieldError, D as FieldGroup, M as FieldLabel, d as FieldRenderer, k as FieldSet, m as FormBuilder, V as FormVariantOptions, p as INR_CURRENCY_SYMBOL, b as LevoFormProvider, u as ThemeWrapper, R as ToolbarButton, c as areAllFieldsHidden, o as createWidget, n as errorsToParam, z as getCollectionEditorExtensions, C as getDefaultFieldValues, e as getDefaultValuesByKind, F as getFieldValidations, T as getInitialValues, L as getKindFromMimetype, i as getValueIfNotUndefined, w as isPhoneValid, _ as setFormErrors, r as submitDataParser, t as updateFieldWInterface, s as useLevoForm, l as useLevoFormContext, x as useLevoFormTheme, a as validateForm };
|