@levo-so/studio 0.1.99 → 0.1.101
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-DTcx6wfA.js} +3 -3
- package/{CollectionField-BpRjsPIl.js → Input-Btdc1Dee.js} +115 -76
- package/{LoginCard-Dgl3uq38.js → LoginCard-CnHmCKUF.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-C6ORDqrY.js} +3 -3
- package/{PhoneWidget-cSp-CqJl.js → PhoneWidget-BRIAve47.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-Bl2QqMpB.js} +93 -103
- package/{bookingCard-OUT621LL.js → bookingCard-D3ZSjq-P.js} +3 -3
- package/collection.d.ts +20 -7
- package/collection.js +7 -7
- package/dist-DuTd566a.js +3112 -0
- package/{getFieldValidations-j341NV59.js → getFieldValidations-DZnDgNI0.js} +48 -87
- package/index.d.ts +6 -9
- 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-kDaDLLGt.js} +1 -1
- package/{widgets-BHUjv2OM.js → widgets-CWDiqXm9.js} +84 -76
- 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,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, jsxs as r } from "react/jsx-runtime";
|
|
3
4
|
import { c as i } from "react/compiler-runtime";
|
|
4
5
|
import a from "clsx";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { n as e } from "./getFieldValidations-DZnDgNI0.js";
|
|
3
|
+
import { f as t } from "./Input-Btdc1Dee.js";
|
|
4
|
+
import { t as n } from "./CollectionInput-cmJ0RXzG.js";
|
|
4
5
|
import { useEffect as r, useState as i } from "react";
|
|
5
6
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
6
7
|
import { errorToast as c, successToast as l, useLevo as u } from "@levo-so/react";
|
|
@@ -21,7 +22,7 @@ var _ = "_1k4xirc1", v = (e) => {
|
|
|
21
22
|
className: i,
|
|
22
23
|
...r
|
|
23
24
|
}), t[5] = r, t[6] = i, t[7] = a) : a = t[7], a;
|
|
24
|
-
}, y = "
|
|
25
|
+
}, y = "_6o7s4x0", b = "qkytrb0", x = "qkytrb1", S = "qkytrb2", C = "qkytrb3", w = "qkytrb4", T = "qkytrb5", E = "qkytrb6", D = "ch8h0x0", O = "ch8h0x1", k = "ch8h0x2", A = "ch8h0x3", j = "ch8h0x5", M = (e) => {
|
|
25
26
|
let t = d(4), n;
|
|
26
27
|
t[0] === e ? n = t[1] : ({...n} = e, t[0] = e, t[1] = n);
|
|
27
28
|
let r;
|
|
@@ -29,7 +30,7 @@ var _ = "_1k4xirc1", v = (e) => {
|
|
|
29
30
|
"data-slot": "dialog",
|
|
30
31
|
...n
|
|
31
32
|
}), t[2] = n, t[3] = r), r;
|
|
32
|
-
},
|
|
33
|
+
}, N = (t) => {
|
|
33
34
|
let n = d(5), r;
|
|
34
35
|
n[0] === t ? r = n[1] : ({...r} = t, n[0] = t, n[1] = r);
|
|
35
36
|
let { portalRef: i } = e(), a;
|
|
@@ -37,36 +38,22 @@ var _ = "_1k4xirc1", v = (e) => {
|
|
|
37
38
|
container: i,
|
|
38
39
|
...r
|
|
39
40
|
}), n[2] = i, n[3] = r, n[4] = a) : a = n[4], a;
|
|
40
|
-
},
|
|
41
|
+
}, P = (e) => {
|
|
41
42
|
let t = d(8), n, r;
|
|
42
43
|
t[0] === e ? (n = t[1], r = t[2]) : ({className: n, ...r} = e, t[0] = e, t[1] = n, t[2] = r);
|
|
43
44
|
let i;
|
|
44
|
-
t[3] === n ? i = t[4] : (i = f(
|
|
45
|
+
t[3] === n ? i = t[4] : (i = f(O, n), t[3] = n, t[4] = i);
|
|
45
46
|
let a;
|
|
46
47
|
return t[5] !== r || t[6] !== i ? (a = /* @__PURE__ */ o(g.Viewport, {
|
|
47
48
|
"data-slot": "dialog-viewport",
|
|
48
49
|
className: i,
|
|
49
50
|
...r
|
|
50
51
|
}), t[5] = r, t[6] = i, t[7] = a) : a = t[7], a;
|
|
51
|
-
}, P = (e) => {
|
|
52
|
-
let n = d(10), r, i, a;
|
|
53
|
-
n[0] === e ? (r = n[1], i = n[2], a = n[3]) : ({variant: a, size: i, ...r} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = a);
|
|
54
|
-
let s;
|
|
55
|
-
n[4] !== i || n[5] !== a ? (s = /* @__PURE__ */ o(t, {
|
|
56
|
-
variant: a,
|
|
57
|
-
size: i
|
|
58
|
-
}), n[4] = i, n[5] = a, n[6] = s) : s = n[6];
|
|
59
|
-
let c;
|
|
60
|
-
return n[7] !== r || n[8] !== s ? (c = /* @__PURE__ */ o(g.Close, {
|
|
61
|
-
"data-slot": "dialog-close",
|
|
62
|
-
render: s,
|
|
63
|
-
...r
|
|
64
|
-
}), n[7] = r, n[8] = s, n[9] = c) : c = n[9], c;
|
|
65
52
|
}, F = (e) => {
|
|
66
53
|
let t = d(8), n, r;
|
|
67
54
|
t[0] === e ? (n = t[1], r = t[2]) : ({className: n, ...r} = e, t[0] = e, t[1] = n, t[2] = r);
|
|
68
55
|
let i;
|
|
69
|
-
t[3] === n ? i = t[4] : (i = f(
|
|
56
|
+
t[3] === n ? i = t[4] : (i = f(D, n), t[3] = n, t[4] = i);
|
|
70
57
|
let a;
|
|
71
58
|
return t[5] !== r || t[6] !== i ? (a = /* @__PURE__ */ o(g.Backdrop, {
|
|
72
59
|
"data-slot": "dialog-backdrop",
|
|
@@ -77,7 +64,7 @@ var _ = "_1k4xirc1", v = (e) => {
|
|
|
77
64
|
let n = d(14), r, i, a, c;
|
|
78
65
|
n[0] === e ? (r = n[1], i = n[2], a = n[3], c = n[4]) : ({className: i, children: r, showCloseButton: c, ...a} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = a, n[4] = c);
|
|
79
66
|
let l = c === void 0 ? !0 : c, u;
|
|
80
|
-
n[5] === i ? u = n[6] : (u = f(
|
|
67
|
+
n[5] === i ? u = n[6] : (u = f(k, i), n[5] = i, n[6] = u);
|
|
81
68
|
let p;
|
|
82
69
|
n[7] === l ? p = n[8] : (p = l && /* @__PURE__ */ o(g.Close, {
|
|
83
70
|
"data-slot": "dialog-close",
|
|
@@ -100,7 +87,7 @@ var _ = "_1k4xirc1", v = (e) => {
|
|
|
100
87
|
let t = d(8), n, r;
|
|
101
88
|
t[0] === e ? (n = t[1], r = t[2]) : ({className: n, ...r} = e, t[0] = e, t[1] = n, t[2] = r);
|
|
102
89
|
let i;
|
|
103
|
-
t[3] === n ? i = t[4] : (i = f(
|
|
90
|
+
t[3] === n ? i = t[4] : (i = f(A, n), t[3] = n, t[4] = i);
|
|
104
91
|
let a;
|
|
105
92
|
return t[5] !== r || t[6] !== i ? (a = /* @__PURE__ */ o("div", {
|
|
106
93
|
"data-slot": "dialog-header",
|
|
@@ -111,7 +98,7 @@ var _ = "_1k4xirc1", v = (e) => {
|
|
|
111
98
|
let t = d(8), n, r;
|
|
112
99
|
t[0] === e ? (n = t[1], r = t[2]) : ({className: n, ...r} = e, t[0] = e, t[1] = n, t[2] = r);
|
|
113
100
|
let i;
|
|
114
|
-
t[3] === n ? i = t[4] : (i = f(
|
|
101
|
+
t[3] === n ? i = t[4] : (i = f(j, n), t[3] = n, t[4] = i);
|
|
115
102
|
let a;
|
|
116
103
|
return t[5] !== r || t[6] !== i ? (a = /* @__PURE__ */ o(g.Title, {
|
|
117
104
|
"data-slot": "dialog-title",
|
|
@@ -124,108 +111,111 @@ var _ = "_1k4xirc1", v = (e) => {
|
|
|
124
111
|
let c = a === void 0 ? !0 : a, l;
|
|
125
112
|
t[5] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ o(F, {}), t[5] = l) : l = t[5];
|
|
126
113
|
let u;
|
|
127
|
-
return t[6] !== n || t[7] !== r || t[8] !== i || t[9] !== c ? (u = /* @__PURE__ */ s(
|
|
114
|
+
return t[6] !== n || t[7] !== r || t[8] !== i || t[9] !== c ? (u = /* @__PURE__ */ s(N, { children: [l, /* @__PURE__ */ o(P, { children: /* @__PURE__ */ o(I, {
|
|
128
115
|
className: r,
|
|
129
116
|
showCloseButton: c,
|
|
130
117
|
...i,
|
|
131
118
|
children: n
|
|
132
119
|
}) })] }), t[6] = n, t[7] = r, t[8] = i, t[9] = c, t[10] = u) : u = t[10], u;
|
|
133
120
|
}, B = ({ isOpen: e, onClose: a, value: d, type: f = "email", onVerifySuccess: p }) => {
|
|
134
|
-
let { membership: m } = u(), [h, g] = i(""), [_, v] = i(!1), [
|
|
121
|
+
let { membership: m } = u(), [h, g] = i(""), [_, v] = i(!1), [D, O] = i(!1), [k, A] = i(30);
|
|
135
122
|
return r(() => {
|
|
136
123
|
let t;
|
|
137
|
-
return e &&
|
|
138
|
-
|
|
124
|
+
return e && k > 0 && (t = setInterval(() => {
|
|
125
|
+
A((e) => e - 1);
|
|
139
126
|
}, 1e3)), () => clearInterval(t);
|
|
140
|
-
}, [e,
|
|
141
|
-
e && (g(""),
|
|
142
|
-
}, [e]), /* @__PURE__ */ o(
|
|
127
|
+
}, [e, k]), r(() => {
|
|
128
|
+
e && (g(""), A(30), v(!1), O(!1));
|
|
129
|
+
}, [e]), /* @__PURE__ */ o(M, {
|
|
143
130
|
open: e,
|
|
144
131
|
onOpenChange: (e) => {
|
|
145
132
|
e || a();
|
|
146
133
|
},
|
|
147
|
-
children: /* @__PURE__ */ s(z, {
|
|
134
|
+
children: /* @__PURE__ */ s(z, {
|
|
148
135
|
className: y,
|
|
149
|
-
children: [
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
136
|
+
children: [/* @__PURE__ */ o(L, { children: /* @__PURE__ */ o(R, { children: `Verify ${f === "email" ? "Email" : "Phone"}` }) }), /* @__PURE__ */ s("div", {
|
|
137
|
+
className: b,
|
|
138
|
+
children: [
|
|
139
|
+
/* @__PURE__ */ s("div", {
|
|
140
|
+
className: x,
|
|
141
|
+
children: [
|
|
142
|
+
"Enter the 4-digit code sent to ",
|
|
143
|
+
/* @__PURE__ */ o("strong", { children: d }),
|
|
144
|
+
".",
|
|
145
|
+
" ",
|
|
146
|
+
/* @__PURE__ */ o("button", {
|
|
147
|
+
onClick: () => a(),
|
|
148
|
+
className: S,
|
|
149
|
+
children: "Change?"
|
|
150
|
+
})
|
|
151
|
+
]
|
|
152
|
+
}),
|
|
153
|
+
/* @__PURE__ */ o("div", {
|
|
154
|
+
className: C,
|
|
155
|
+
children: /* @__PURE__ */ o(n, {
|
|
156
|
+
value: h,
|
|
157
|
+
onChange: (e) => {
|
|
158
|
+
g(e.target.value.replace(/\D/g, "").slice(0, 4));
|
|
159
|
+
},
|
|
160
|
+
placeholder: "0000",
|
|
161
|
+
maxLength: 4,
|
|
162
|
+
className: T
|
|
161
163
|
})
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
children: /* @__PURE__ */ o(n, {
|
|
167
|
-
value: h,
|
|
168
|
-
onChange: (e) => {
|
|
169
|
-
g(e.target.value.replace(/\D/g, "").slice(0, 4));
|
|
170
|
-
},
|
|
171
|
-
placeholder: "0000",
|
|
172
|
-
maxLength: 4,
|
|
173
|
-
className: w
|
|
174
|
-
})
|
|
175
|
-
}),
|
|
176
|
-
/* @__PURE__ */ s("div", {
|
|
177
|
-
className: C,
|
|
178
|
-
children: [/* @__PURE__ */ o(t, {
|
|
179
|
-
onClick: async () => {
|
|
180
|
-
if (!(!h || h.length !== 4)) {
|
|
181
|
-
v(!0);
|
|
182
|
-
try {
|
|
183
|
-
await m?.signInWithOtp({
|
|
184
|
-
content: d,
|
|
185
|
-
code: h
|
|
186
|
-
}), l("Verification successful"), p(d), a();
|
|
187
|
-
} catch (e) {
|
|
188
|
-
let t = e;
|
|
189
|
-
c(t?.message || "Invalid OTP", t?.title || "Verification Failed");
|
|
190
|
-
} finally {
|
|
191
|
-
v(!1);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
disabled: h.length !== 4 || _,
|
|
196
|
-
className: "w-full",
|
|
197
|
-
children: _ ? "Verifying..." : "Verify"
|
|
198
|
-
}), /* @__PURE__ */ o("div", {
|
|
199
|
-
className: T,
|
|
200
|
-
children: O > 0 ? /* @__PURE__ */ s("span", { children: [
|
|
201
|
-
"Resend code in ",
|
|
202
|
-
O,
|
|
203
|
-
"s"
|
|
204
|
-
] }) : /* @__PURE__ */ o("button", {
|
|
164
|
+
}),
|
|
165
|
+
/* @__PURE__ */ s("div", {
|
|
166
|
+
className: w,
|
|
167
|
+
children: [/* @__PURE__ */ o(t, {
|
|
205
168
|
onClick: async () => {
|
|
206
|
-
if (!(
|
|
207
|
-
|
|
169
|
+
if (!(!h || h.length !== 4)) {
|
|
170
|
+
v(!0);
|
|
208
171
|
try {
|
|
209
|
-
await m?.
|
|
172
|
+
await m?.signInWithOtp({
|
|
210
173
|
content: d,
|
|
211
|
-
|
|
212
|
-
}), l("
|
|
174
|
+
code: h
|
|
175
|
+
}), l("Verification successful"), p(d), a();
|
|
213
176
|
} catch (e) {
|
|
214
177
|
let t = e;
|
|
215
|
-
c(t?.message || "
|
|
178
|
+
c(t?.message || "Invalid OTP", t?.title || "Verification Failed");
|
|
216
179
|
} finally {
|
|
217
|
-
|
|
180
|
+
v(!1);
|
|
218
181
|
}
|
|
219
182
|
}
|
|
220
183
|
},
|
|
221
|
-
disabled:
|
|
222
|
-
className:
|
|
223
|
-
children:
|
|
224
|
-
})
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
184
|
+
disabled: h.length !== 4 || _,
|
|
185
|
+
className: "w-full",
|
|
186
|
+
children: _ ? "Verifying..." : "Verify"
|
|
187
|
+
}), /* @__PURE__ */ o("div", {
|
|
188
|
+
className: E,
|
|
189
|
+
children: k > 0 ? /* @__PURE__ */ s("span", { children: [
|
|
190
|
+
"Resend code in ",
|
|
191
|
+
k,
|
|
192
|
+
"s"
|
|
193
|
+
] }) : /* @__PURE__ */ o("button", {
|
|
194
|
+
onClick: async () => {
|
|
195
|
+
if (!(k > 0)) {
|
|
196
|
+
O(!0);
|
|
197
|
+
try {
|
|
198
|
+
await m?.requestOtp({
|
|
199
|
+
content: d,
|
|
200
|
+
medium: f === "phone" ? "whatsapp" : "email"
|
|
201
|
+
}), l("OTP resent successfully"), A(30);
|
|
202
|
+
} catch (e) {
|
|
203
|
+
let t = e;
|
|
204
|
+
c(t?.message || "Failed to resend OTP", t?.title || "Error");
|
|
205
|
+
} finally {
|
|
206
|
+
O(!1);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
disabled: D,
|
|
211
|
+
className: S,
|
|
212
|
+
children: D ? "Resending..." : "Resend Code"
|
|
213
|
+
})
|
|
214
|
+
})]
|
|
215
|
+
})
|
|
216
|
+
]
|
|
217
|
+
})]
|
|
218
|
+
})
|
|
229
219
|
});
|
|
230
220
|
}, V = "jfrbe10", H = "jfrbe11", U = "jfrbe12", W = ({ value: e, type: n, isVerified: r, onVerifySuccess: l, onStateChange: d }) => {
|
|
231
221
|
let { membership: f } = u(), [m, h] = i(!1), [g, _] = i(!1), y = (e) => {
|
|
@@ -280,4 +270,4 @@ var _ = "_1k4xirc1", v = (e) => {
|
|
|
280
270
|
})] });
|
|
281
271
|
};
|
|
282
272
|
//#endregion
|
|
283
|
-
export {
|
|
273
|
+
export { M as a, R as i, L as n, y as o, z as r, v as s, W as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as e } from "./AuthProvider-56TywIOB.js";
|
|
3
|
-
import { t } from "./Button-
|
|
4
|
-
import { n, t as r } from "./StripePaymentModal-
|
|
5
|
-
import { BillingStep as ee } from "./BillingStep-
|
|
3
|
+
import { t } from "./Button-XTKnNIl9.js";
|
|
4
|
+
import { n, t as r } from "./StripePaymentModal-BHIBBvRj.js";
|
|
5
|
+
import { BillingStep as ee } from "./BillingStep-Brc1Mzo3.js";
|
|
6
6
|
import { useRef as i, useState as a } from "react";
|
|
7
7
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
import { cn as te, errorHandler as l, useLevo as u } from "@levo-so/react";
|
package/collection.d.ts
CHANGED
|
@@ -312,6 +312,25 @@ export declare interface ILevoFormThemeContext {
|
|
|
312
312
|
|
|
313
313
|
export declare const isPhoneValid: (phone: string) => boolean;
|
|
314
314
|
|
|
315
|
+
declare interface IThemeProviderProps extends Omit<default_2.ComponentPropsWithoutRef<"div">, "className"> {
|
|
316
|
+
children: default_2.ReactNode;
|
|
317
|
+
/** Apply CSS reset. Only applies at root level, ignored when nested. */
|
|
318
|
+
cssReset?: boolean;
|
|
319
|
+
/** Theme class name(s). */
|
|
320
|
+
className?: string;
|
|
321
|
+
/**
|
|
322
|
+
* When true, portals target the ThemeProvider's own wrapper div instead of a
|
|
323
|
+
* dedicated div on document.body. Use for shadow DOM / scoped embeds where
|
|
324
|
+
* document.body is unreachable — the wrapper already sits inside the themed
|
|
325
|
+
* tree, so no class or style sync is needed.
|
|
326
|
+
*/
|
|
327
|
+
portalToThemeRoot?: boolean;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
declare interface IThemeWrapperProps extends IThemeProviderProps {
|
|
331
|
+
variant?: FormVariantType;
|
|
332
|
+
}
|
|
333
|
+
|
|
315
334
|
export declare type IWidgetRegistry = Record<(typeof CommonFieldInterfacesList)[number], WidgetComponent>;
|
|
316
335
|
|
|
317
336
|
declare const Label: React.FC<React.ComponentProps<"label">>;
|
|
@@ -327,13 +346,7 @@ export declare const setFormErrors: (errors: IFieldError[], setError: UseFormSet
|
|
|
327
346
|
|
|
328
347
|
export declare const submitDataParser: (data: Record<string, unknown>, schema: ILemaCollection) => any;
|
|
329
348
|
|
|
330
|
-
export declare const ThemeWrapper: default_2.FC<
|
|
331
|
-
children: default_2.ReactNode;
|
|
332
|
-
className?: string;
|
|
333
|
-
style?: default_2.CSSProperties;
|
|
334
|
-
cssReset?: boolean;
|
|
335
|
-
variant?: FormVariantType;
|
|
336
|
-
}>;
|
|
349
|
+
export declare const ThemeWrapper: default_2.FC<IThemeWrapperProps>;
|
|
337
350
|
|
|
338
351
|
export declare const updateFieldWInterface: (tempField: ILemaField, field_interface: (typeof FieldInterfacesList)[number]) => {
|
|
339
352
|
field: {
|
package/collection.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, u as d } from "./dist-
|
|
2
|
-
import { t as f } from "./getFieldValidations-
|
|
3
|
-
import { a as p, c as m, d as h, f as g, i as _, l as v, n as y, o as b, r as x, s as S, t as C, u as w } from "./widgets-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as F } from "./CollectionInput-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, u as d } from "./dist-DuTd566a.js";
|
|
2
|
+
import { t as f } from "./getFieldValidations-DZnDgNI0.js";
|
|
3
|
+
import { a as p, c as m, d as h, f as g, i as _, l as v, n as y, o as b, r as x, s as S, t as C, u as w } from "./widgets-CWDiqXm9.js";
|
|
4
|
+
import { t as T } from "./utils-kDaDLLGt.js";
|
|
5
|
+
import { a as E, c as D, i as O, l as k, m as A, o as j, r as M, s as N, u as P } from "./Input-Btdc1Dee.js";
|
|
6
|
+
import { t as F } from "./CollectionInput-cmJ0RXzG.js";
|
|
7
7
|
//#region ../../libraries/react-collection/dist/types/formVariant.js
|
|
8
8
|
var I = [
|
|
9
9
|
{
|
|
@@ -28,4 +28,4 @@ var I = [
|
|
|
28
28
|
}
|
|
29
29
|
];
|
|
30
30
|
//#endregion
|
|
31
|
-
export { c as AsyncSelectPaginate,
|
|
31
|
+
export { c as AsyncSelectPaginate, M as CollectionFieldWrapper, M as FieldWrapper, t as CollectionForm, l as CollectionFormBuilder, o as CollectionFormRenderer, F as CollectionInput, F as Input, A as CollectionLabel, r as DEFAULT_WIDGET_REGISTRY, N as Field, k as FieldContent, D as FieldDescription, O as FieldError, P as FieldGroup, E as FieldLabel, n as FieldRenderer, j as FieldSet, i as FormBuilder, I as FormVariantOptions, s as LevoFormProvider, d as ThemeWrapper, g as areAllFieldsHidden, C as createWidget, _ as errorsToParam, b as getDefaultFieldValues, h as getDefaultValuesByKind, f as getFieldValidations, m as getInitialValues, T as getKindFromMimetype, w as getValueIfNotUndefined, v as isPhoneValid, y as setFormErrors, x as submitDataParser, S as updateFieldWInterface, e as useLevoForm, u as useLevoFormContext, a as useLevoFormTheme, p as validateForm };
|