@levo-so/react 0.1.29 → 0.1.31
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/dist/{CheckboxWidget-Bug2FXpG.js → CheckboxWidget-Dedx-7Wy.js} +6 -6
- package/dist/{CollectionFormBuilder-DxViQE0w.js → CollectionFormBuilder-BPzVyGLq.js} +36 -36
- package/dist/{CurrencyWidget-BtjxmXgj.js → CurrencyWidget-CW3cMoYn.js} +1 -1
- package/dist/{DateTimeWidget-Ds8g90-j.js → DateTimeWidget-eKbj2Q86.js} +5 -5
- package/dist/{DefaultFormVariant-ChnisPj2.js → DefaultFormVariant-DGecA_SF.js} +6 -6
- package/dist/{DropdownWidget-B2o6wz-C.js → DropdownWidget-DJ6rBFE0.js} +2 -2
- package/dist/{EmailWidget-Cfyfy5OH.js → EmailWidget-Bx3LTBSb.js} +4 -4
- package/dist/{FormCaptcha-BOjVusbv.js → FormCaptcha-BVawlT6h.js} +1 -1
- package/dist/{GeocoderWidget-B5TnEwp-.js → GeocoderWidget-C_8wJijA.js} +6 -6
- package/dist/{Input-2CvZ90f8.js → Input-Vv7mKQFt.js} +4 -4
- package/dist/{MultiGeocoderWidget-CF4HGkCg.js → MultiGeocoderWidget-0uUFNNoH.js} +6 -6
- package/dist/{MultiTextWidget-fnzlopnN.js → MultiTextWidget-BluGgZVP.js} +2 -2
- package/dist/{PhoneWidget-BVk5mhOm.js → PhoneWidget-Mm6DmCsK.js} +2 -2
- package/dist/{RadioWidget-CouCg5aG.js → RadioWidget-BkYAbg4o.js} +7 -7
- package/dist/{RichTextWidget-dqN--eKc.js → RichTextWidget-CbyT-y1E.js} +10 -10
- package/dist/{Spinner-CDMNP44S.js → Spinner-BcBoT-J5.js} +3 -3
- package/dist/{StepsFormVariant-Buw3v2UB.js → StepsFormVariant-Bk_rc3R7.js} +8 -8
- package/dist/{SwitchWidget-BkBgr_nQ.js → SwitchWidget-DeCIh2Vm.js} +2 -2
- package/dist/{TextWidget-I9pwxamg.js → TextWidget-Di_db2UE.js} +2 -2
- package/dist/{TextareaWidget-takl2qqW.js → TextareaWidget-CZqLQQAK.js} +1 -1
- package/dist/{ToggleCheckboxWidget-B8hL0ZhV.js → ToggleCheckboxWidget-Dynr-C0Y.js} +2 -2
- package/dist/{URLWidget-C1S_yZ9J.js → URLWidget-BvQvn0aZ.js} +3 -3
- package/dist/{UploadWidget-D7USwx7q.js → UploadWidget-mRgEWRVS.js} +29 -29
- package/dist/audience/hooks/useTrackClicks.d.ts.map +1 -1
- package/dist/audience/index.js +1 -1
- package/dist/audience/utils/autocapture.d.ts +2 -3
- package/dist/audience/utils/autocapture.d.ts.map +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index.js +3 -3
- package/dist/page-jWvzWjyk.js +452 -0
- package/package.json +2 -2
- package/dist/page-Bgl12goV.js +0 -449
|
@@ -3,9 +3,9 @@ import { j as a } from "./jsx-runtime-B6kdoens.js";
|
|
|
3
3
|
import { useState as w, useEffect as B } from "react";
|
|
4
4
|
import { useController as E } from "react-hook-form";
|
|
5
5
|
import { c as C } from "./cn-C9QoOYNG.js";
|
|
6
|
-
import { z as O, A as I, B as x } from "./CollectionFormBuilder-
|
|
6
|
+
import { z as O, A as I, B as x } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
7
7
|
import { C as g } from "./Checbox-sq-atGlJ.js";
|
|
8
|
-
import { I as S } from "./Input-
|
|
8
|
+
import { I as S } from "./Input-Vv7mKQFt.js";
|
|
9
9
|
const L = ({ field: i }) => {
|
|
10
10
|
const [o, p] = w(""), [j, m] = w(!1), {
|
|
11
11
|
key: k = "",
|
|
@@ -44,13 +44,13 @@ const L = ({ field: i }) => {
|
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
46
|
className: C(
|
|
47
|
-
"w-full flex
|
|
47
|
+
"flex w-full flex-col flex-wrap gap-4 pt-1",
|
|
48
48
|
y && "pointer-events-none cursor-not-allowed"
|
|
49
49
|
),
|
|
50
50
|
children: n == null ? void 0 : n.map((r, e) => /* @__PURE__ */ a.jsxs(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
|
-
className: "w-full flex
|
|
53
|
+
className: "flex w-full flex-nowrap items-start gap-2",
|
|
54
54
|
children: [
|
|
55
55
|
/* @__PURE__ */ a.jsx(
|
|
56
56
|
g,
|
|
@@ -72,8 +72,8 @@ const L = ({ field: i }) => {
|
|
|
72
72
|
))
|
|
73
73
|
}
|
|
74
74
|
),
|
|
75
|
-
$ && /* @__PURE__ */ a.jsxs("div", { className: "flex w-full items-center
|
|
76
|
-
/* @__PURE__ */ a.jsxs("div", { className: "flex
|
|
75
|
+
$ && /* @__PURE__ */ a.jsxs("div", { className: "my-4 flex w-full flex-wrap items-center gap-2", children: [
|
|
76
|
+
/* @__PURE__ */ a.jsxs("div", { className: "flex shrink-0 flex-nowrap gap-2", children: [
|
|
77
77
|
/* @__PURE__ */ a.jsx(
|
|
78
78
|
g,
|
|
79
79
|
{
|
|
@@ -4,7 +4,7 @@ import { FieldInterfaces as l, defaultByKinds as ue, formatsByInterface as we, i
|
|
|
4
4
|
import * as I from "react";
|
|
5
5
|
import E, { useState as w, useEffect as ge, lazy as v, Suspense as _e } from "react";
|
|
6
6
|
import { useFieldArray as Ne, useController as me } from "react-hook-form";
|
|
7
|
-
import { G as P, T as Re, l as Le, m as Te, B as W, n as Me, C as Ie, E as Ae, k as De, o as Be, S as Se } from "./Spinner-
|
|
7
|
+
import { G as P, T as Re, l as Le, m as Te, B as W, n as Me, C as Ie, E as Ae, k as De, o as Be, S as Se } from "./Spinner-BcBoT-J5.js";
|
|
8
8
|
import { X as Fe } from "lucide-react";
|
|
9
9
|
import { u as X } from "./LevoProvider-BAZy7_tP.js";
|
|
10
10
|
import { Snowflake as Ee } from "@theinternetfolks/snowflake";
|
|
@@ -247,7 +247,7 @@ const q = ({
|
|
|
247
247
|
"label",
|
|
248
248
|
{
|
|
249
249
|
className: b(
|
|
250
|
-
"block text-sm font-medium leading-normal peer-disabled:cursor-not-allowed peer-disabled:opacity-70
|
|
250
|
+
"block flex-1 select-none text-sm font-medium leading-normal text-text-1 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
251
251
|
"mb-2",
|
|
252
252
|
t
|
|
253
253
|
),
|
|
@@ -268,8 +268,8 @@ const q = ({
|
|
|
268
268
|
return !c || !t ? null : /* @__PURE__ */ s.jsxs("div", { className: "w-full max-w-full", children: [
|
|
269
269
|
/* @__PURE__ */ s.jsx(q, { children: r }),
|
|
270
270
|
i && Array.isArray(i) ? /* @__PURE__ */ s.jsxs(Re, { value: o, onValueChange: a, className: "w-full", children: [
|
|
271
|
-
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2
|
|
272
|
-
i.length ? /* @__PURE__ */ s.jsx(Le, { className: "h-11
|
|
271
|
+
/* @__PURE__ */ s.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
272
|
+
i.length ? /* @__PURE__ */ s.jsx(Le, { className: "h-11 w-1 flex-1 justify-start overflow-x-auto overflow-y-hidden", children: i == null ? void 0 : i.map((x, d) => /* @__PURE__ */ s.jsx(
|
|
273
273
|
Te,
|
|
274
274
|
{
|
|
275
275
|
id: `${e == null ? void 0 : e.key}-${d}`,
|
|
@@ -288,7 +288,7 @@ const q = ({
|
|
|
288
288
|
m.append(U(g)), a(((i == null ? void 0 : i.length) ?? 0).toString());
|
|
289
289
|
},
|
|
290
290
|
children: [
|
|
291
|
-
/* @__PURE__ */ s.jsx(le, { className: "inline-block
|
|
291
|
+
/* @__PURE__ */ s.jsx(le, { className: "mr-1 inline-block", size: "14px" }),
|
|
292
292
|
"Add"
|
|
293
293
|
]
|
|
294
294
|
}
|
|
@@ -297,10 +297,10 @@ const q = ({
|
|
|
297
297
|
i == null ? void 0 : i.map((x, d) => /* @__PURE__ */ s.jsxs(
|
|
298
298
|
Me,
|
|
299
299
|
{
|
|
300
|
-
className: "space-y-4 border
|
|
300
|
+
className: "space-y-4 rounded border bg-secondary/40",
|
|
301
301
|
value: d.toString(),
|
|
302
302
|
children: [
|
|
303
|
-
/* @__PURE__ */ s.jsx("div", { className: "flex flex-col px-3 py-2
|
|
303
|
+
/* @__PURE__ */ s.jsx("div", { className: "flex flex-col gap-3 px-3 py-2", children: g.map((y) => {
|
|
304
304
|
const k = {
|
|
305
305
|
...y,
|
|
306
306
|
key: `${t}.${d}.${y == null ? void 0 : y.key}`
|
|
@@ -314,7 +314,7 @@ const q = ({
|
|
|
314
314
|
`common-fields-${y == null ? void 0 : y.id}`
|
|
315
315
|
);
|
|
316
316
|
}) }),
|
|
317
|
-
/* @__PURE__ */ s.jsxs("div", { className: "flex
|
|
317
|
+
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center border-t p-2", children: [
|
|
318
318
|
/* @__PURE__ */ s.jsx(
|
|
319
319
|
W,
|
|
320
320
|
{
|
|
@@ -323,7 +323,7 @@ const q = ({
|
|
|
323
323
|
},
|
|
324
324
|
disabled: d === 0,
|
|
325
325
|
size: "icon",
|
|
326
|
-
className: "
|
|
326
|
+
className: "h-8 w-8 rounded-full",
|
|
327
327
|
children: /* @__PURE__ */ s.jsx(Ie, { size: "24px" })
|
|
328
328
|
}
|
|
329
329
|
),
|
|
@@ -341,7 +341,7 @@ const q = ({
|
|
|
341
341
|
/* @__PURE__ */ s.jsx(
|
|
342
342
|
W,
|
|
343
343
|
{
|
|
344
|
-
className: "
|
|
344
|
+
className: "h-8 w-8 rounded-full",
|
|
345
345
|
onClick: () => {
|
|
346
346
|
a((d + 1).toString()), m.move(d, d + 1);
|
|
347
347
|
},
|
|
@@ -364,7 +364,7 @@ const q = ({
|
|
|
364
364
|
m.append(U(g)), a("0");
|
|
365
365
|
},
|
|
366
366
|
children: [
|
|
367
|
-
/* @__PURE__ */ s.jsx(le, { className: "inline-block
|
|
367
|
+
/* @__PURE__ */ s.jsx(le, { className: "mr-1 inline-block", size: "14px" }),
|
|
368
368
|
"Add"
|
|
369
369
|
]
|
|
370
370
|
}
|
|
@@ -428,7 +428,7 @@ const xe = (e) => {
|
|
|
428
428
|
};
|
|
429
429
|
}, rt = ({
|
|
430
430
|
children: e
|
|
431
|
-
}) => /* @__PURE__ */ s.jsx("p", { className: "text-xs font-normal text-red-400
|
|
431
|
+
}) => /* @__PURE__ */ s.jsx("p", { className: "text-wrap text-xs font-normal text-red-400", children: e }), at = ({
|
|
432
432
|
children: e
|
|
433
433
|
}) => /* @__PURE__ */ s.jsx("p", { className: b("text-xs font-normal text-text-1"), children: e }), J = E.forwardRef(({ error: e, helperText: n, containerStyles: t, readOnly: r, children: c }, g) => /* @__PURE__ */ s.jsx(
|
|
434
434
|
"div",
|
|
@@ -441,8 +441,8 @@ const xe = (e) => {
|
|
|
441
441
|
ref: g,
|
|
442
442
|
children: /* @__PURE__ */ s.jsxs("div", { className: b("w-full shrink-0", "sm:flex-1"), children: [
|
|
443
443
|
c,
|
|
444
|
-
e && /* @__PURE__ */ s.jsx("div", { className: b("w-full
|
|
445
|
-
n && /* @__PURE__ */ s.jsx("div", { className: b("w-full
|
|
444
|
+
e && /* @__PURE__ */ s.jsx("div", { className: b("mt-3 w-full"), children: /* @__PURE__ */ s.jsx(rt, { children: e }) }),
|
|
445
|
+
n && /* @__PURE__ */ s.jsx("div", { className: b("mt-3 w-full"), children: /* @__PURE__ */ s.jsx(at, { children: n }) })
|
|
446
446
|
] })
|
|
447
447
|
}
|
|
448
448
|
));
|
|
@@ -719,8 +719,8 @@ const dt = E.lazy(
|
|
|
719
719
|
),
|
|
720
720
|
f != null && f.length ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
721
721
|
/* @__PURE__ */ s.jsxs("div", { className: "relative overflow-hidden", children: [
|
|
722
|
-
t ? /* @__PURE__ */ s.jsx("div", { className: "
|
|
723
|
-
/* @__PURE__ */ s.jsx(Be, { className: "h-8 w-8 animate-spin
|
|
722
|
+
t ? /* @__PURE__ */ s.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 z-10 flex items-center justify-center bg-[rgba(0,0,0,0.05)]", children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center", children: [
|
|
723
|
+
/* @__PURE__ */ s.jsx(Be, { className: "mr-2 h-8 w-8 animate-spin" }),
|
|
724
724
|
"Fetching"
|
|
725
725
|
] }) }) : null,
|
|
726
726
|
/* @__PURE__ */ s.jsx(he, { className: f.length > 5 ? "min-h-72" : "", children: /* @__PURE__ */ s.jsx(ye, { children: c.map((u) => /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsxs(je, { className: "flex justify-between", children: [
|
|
@@ -915,26 +915,26 @@ const dt = E.lazy(
|
|
|
915
915
|
}
|
|
916
916
|
);
|
|
917
917
|
}, pt = v(
|
|
918
|
-
() => import("./MultiTextWidget-
|
|
919
|
-
), ie = v(() => import("./TextWidget-
|
|
920
|
-
() => import("./CurrencyWidget-
|
|
918
|
+
() => import("./MultiTextWidget-BluGgZVP.js")
|
|
919
|
+
), ie = v(() => import("./TextWidget-Di_db2UE.js")), xt = v(
|
|
920
|
+
() => import("./CurrencyWidget-CW3cMoYn.js")
|
|
921
921
|
), ht = v(
|
|
922
|
-
() => import("./CheckboxWidget-
|
|
922
|
+
() => import("./CheckboxWidget-Dedx-7Wy.js")
|
|
923
923
|
), ce = v(
|
|
924
|
-
() => import("./DateTimeWidget-
|
|
924
|
+
() => import("./DateTimeWidget-eKbj2Q86.js")
|
|
925
925
|
), de = v(
|
|
926
|
-
() => import("./DropdownWidget-
|
|
927
|
-
), yt = v(() => import("./EmailWidget-
|
|
928
|
-
() => import("./GeocoderWidget-
|
|
926
|
+
() => import("./DropdownWidget-DJ6rBFE0.js")
|
|
927
|
+
), yt = v(() => import("./EmailWidget-Bx3LTBSb.js")), ft = v(
|
|
928
|
+
() => import("./GeocoderWidget-C_8wJijA.js")
|
|
929
929
|
), jt = v(
|
|
930
|
-
() => import("./MultiGeocoderWidget-
|
|
931
|
-
), bt = v(() => import("./PhoneWidget-
|
|
932
|
-
() => import("./RichTextWidget-
|
|
933
|
-
), wt = v(() => import("./SwitchWidget-
|
|
934
|
-
() => import("./TextareaWidget-
|
|
930
|
+
() => import("./MultiGeocoderWidget-0uUFNNoH.js")
|
|
931
|
+
), bt = v(() => import("./PhoneWidget-Mm6DmCsK.js")), vt = v(() => import("./RadioWidget-BkYAbg4o.js")), Ct = v(
|
|
932
|
+
() => import("./RichTextWidget-CbyT-y1E.js")
|
|
933
|
+
), wt = v(() => import("./SwitchWidget-DeCIh2Vm.js")), kt = v(
|
|
934
|
+
() => import("./TextareaWidget-CZqLQQAK.js")
|
|
935
935
|
), Wt = v(
|
|
936
|
-
() => import("./ToggleCheckboxWidget-
|
|
937
|
-
), _t = v(() => import("./URLWidget-
|
|
936
|
+
() => import("./ToggleCheckboxWidget-Dynr-C0Y.js")
|
|
937
|
+
), _t = v(() => import("./URLWidget-BvQvn0aZ.js")), K = v(() => import("./UploadWidget-mRgEWRVS.js")), Nt = ({
|
|
938
938
|
field: e,
|
|
939
939
|
isInternal: n
|
|
940
940
|
}) => {
|
|
@@ -1056,7 +1056,7 @@ const dt = E.lazy(
|
|
|
1056
1056
|
const { key: t = "", label: r = "", field_interface: c = "", fields: g = [] } = e;
|
|
1057
1057
|
return !c || !t ? null : /* @__PURE__ */ s.jsxs("div", { className: "w-full", children: [
|
|
1058
1058
|
/* @__PURE__ */ s.jsx(q, { children: r }),
|
|
1059
|
-
/* @__PURE__ */ s.jsx("div", { className: "
|
|
1059
|
+
/* @__PURE__ */ s.jsx("div", { className: "flex flex-col gap-3 rounded border bg-secondary/40 px-3 py-4", children: g.map((o) => {
|
|
1060
1060
|
const a = {
|
|
1061
1061
|
...o,
|
|
1062
1062
|
key: `${t}.${o == null ? void 0 : o.key}`
|
|
@@ -1103,9 +1103,9 @@ const dt = E.lazy(
|
|
|
1103
1103
|
e
|
|
1104
1104
|
] });
|
|
1105
1105
|
}, ns = () => E.useContext(Ce), Tt = E.lazy(
|
|
1106
|
-
() => import("./DefaultFormVariant-
|
|
1106
|
+
() => import("./DefaultFormVariant-DGecA_SF.js")
|
|
1107
1107
|
), Mt = E.lazy(
|
|
1108
|
-
() => import("./StepsFormVariant-
|
|
1108
|
+
() => import("./StepsFormVariant-Bk_rc3R7.js")
|
|
1109
1109
|
), It = ({
|
|
1110
1110
|
formVariant: e,
|
|
1111
1111
|
...n
|
|
@@ -1116,7 +1116,7 @@ const dt = E.lazy(
|
|
|
1116
1116
|
"h1",
|
|
1117
1117
|
{
|
|
1118
1118
|
className: b(
|
|
1119
|
-
"
|
|
1119
|
+
"mb-4 text-left text-2xl font-semibold text-black",
|
|
1120
1120
|
e === "default" ? "ml-[32%]" : "ml-0"
|
|
1121
1121
|
),
|
|
1122
1122
|
children: [
|
|
@@ -1157,7 +1157,7 @@ const dt = E.lazy(
|
|
|
1157
1157
|
}) : (console.error(
|
|
1158
1158
|
"[CollectionFormBuilder] Collection ID or Workspace ID is missing."
|
|
1159
1159
|
), g(!1));
|
|
1160
|
-
}, [e]), /* @__PURE__ */ s.jsx("div", { className: "w-full
|
|
1160
|
+
}, [e]), /* @__PURE__ */ s.jsx("div", { className: "h-auto w-full", children: c ? /* @__PURE__ */ s.jsx("div", { className: "flex min-h-[400px] w-full items-center justify-center rounded-md", children: /* @__PURE__ */ s.jsx(Se, {}) }) : o ? /* @__PURE__ */ s.jsx(It, { schema: o, ...t }) : null });
|
|
1161
1161
|
};
|
|
1162
1162
|
export {
|
|
1163
1163
|
J as A,
|
|
@@ -2,7 +2,7 @@ import { j as t } from "./jsx-runtime-B6kdoens.js";
|
|
|
2
2
|
import { useController as j } from "react-hook-form";
|
|
3
3
|
import { NumericFormat as F } from "react-number-format";
|
|
4
4
|
import { c as w } from "./cn-C9QoOYNG.js";
|
|
5
|
-
import { z as C, A as B, B as N } from "./CollectionFormBuilder-
|
|
5
|
+
import { z as C, A as B, B as N } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
6
6
|
const V = ({
|
|
7
7
|
field: r,
|
|
8
8
|
...m
|
|
@@ -4,8 +4,8 @@ import { Calendar as w, X as N } from "lucide-react";
|
|
|
4
4
|
import * as l from "react-datepicker";
|
|
5
5
|
import { useController as v } from "react-hook-form";
|
|
6
6
|
import { c as p } from "./cn-C9QoOYNG.js";
|
|
7
|
-
import { z as M, A as D, B as C } from "./CollectionFormBuilder-
|
|
8
|
-
import { I as F } from "./Input-
|
|
7
|
+
import { z as M, A as D, B as C } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
8
|
+
import { I as F } from "./Input-Vv7mKQFt.js";
|
|
9
9
|
const T = l.default.default || l.default || l, I = (e) => {
|
|
10
10
|
if (e) {
|
|
11
11
|
const o = new Date(e);
|
|
@@ -23,12 +23,12 @@ const T = l.default.default || l.default || l, I = (e) => {
|
|
|
23
23
|
}), y = !!(e != null && e.required), g = (d = a == null ? void 0 : a.error) == null ? void 0 : d.message, c = (e == null ? void 0 : e.field_interface) === b.DateTimeWidget;
|
|
24
24
|
return /* @__PURE__ */ r.jsxs(D, { helperText: f, readOnly: x, error: g, children: [
|
|
25
25
|
m && /* @__PURE__ */ r.jsx(C, { htmlFor: n, isRequired: y, children: m }),
|
|
26
|
-
/* @__PURE__ */ r.jsxs("div", { className: "w-full
|
|
26
|
+
/* @__PURE__ */ r.jsxs("div", { className: "relative w-full rounded-md", children: [
|
|
27
27
|
/* @__PURE__ */ r.jsx(
|
|
28
28
|
"div",
|
|
29
29
|
{
|
|
30
30
|
className: p(
|
|
31
|
-
"absolute
|
|
31
|
+
"pointer-events-none absolute bottom-0 left-0 top-0 flex w-9 items-center justify-center overflow-hidden rounded-l-md"
|
|
32
32
|
),
|
|
33
33
|
children: /* @__PURE__ */ r.jsx(w, { size: "20px", className: "text-muted-foreground" })
|
|
34
34
|
}
|
|
@@ -58,7 +58,7 @@ const T = l.default.default || l.default || l, I = (e) => {
|
|
|
58
58
|
"div",
|
|
59
59
|
{
|
|
60
60
|
className: p(
|
|
61
|
-
"absolute
|
|
61
|
+
"absolute bottom-0 right-0 top-0 z-10 flex w-9 items-center justify-center overflow-hidden rounded-l-md"
|
|
62
62
|
),
|
|
63
63
|
children: /* @__PURE__ */ r.jsx(
|
|
64
64
|
"button",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as e } from "./jsx-runtime-B6kdoens.js";
|
|
2
2
|
import { FormProvider as y } from "react-hook-form";
|
|
3
3
|
import { c as t } from "./cn-C9QoOYNG.js";
|
|
4
|
-
import { D as F, F as N } from "./CollectionFormBuilder-
|
|
5
|
-
import { u as g, S as w, F as b } from "./FormCaptcha-
|
|
6
|
-
import { B as D } from "./Spinner-
|
|
4
|
+
import { D as F, F as N } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
5
|
+
import { u as g, S as w, F as b } from "./FormCaptcha-BVawlT6h.js";
|
|
6
|
+
import { B as D } from "./Spinner-BcBoT-J5.js";
|
|
7
7
|
const _ = () => {
|
|
8
8
|
var n;
|
|
9
9
|
const {
|
|
@@ -39,8 +39,8 @@ const _ = () => {
|
|
|
39
39
|
"form",
|
|
40
40
|
{
|
|
41
41
|
className: t(
|
|
42
|
-
"w-full
|
|
43
|
-
u && "
|
|
42
|
+
"flex w-full flex-col gap-6 rounded-md px-4 py-6 text-text-1 md:px-8",
|
|
43
|
+
u && "pointer-events-none opacity-50"
|
|
44
44
|
),
|
|
45
45
|
id: "collection-form",
|
|
46
46
|
onSubmit: j,
|
|
@@ -60,7 +60,7 @@ const _ = () => {
|
|
|
60
60
|
] }, s.id);
|
|
61
61
|
}),
|
|
62
62
|
!d && /* @__PURE__ */ e.jsx(b, {}),
|
|
63
|
-
(a == null ? void 0 : a.show) && /* @__PURE__ */ e.jsx("div", { className: "w-full
|
|
63
|
+
(a == null ? void 0 : a.show) && /* @__PURE__ */ e.jsx("div", { className: "mt-6 flex w-full items-center justify-end", children: /* @__PURE__ */ e.jsx(
|
|
64
64
|
D,
|
|
65
65
|
{
|
|
66
66
|
className: a == null ? void 0 : a.styles,
|
|
@@ -4,8 +4,8 @@ import { useState as f, useEffect as w } from "react";
|
|
|
4
4
|
import { useController as R } from "react-hook-form";
|
|
5
5
|
import B from "react-select";
|
|
6
6
|
import { c as y } from "./cn-C9QoOYNG.js";
|
|
7
|
-
import { z as D, A as N, B as q } from "./CollectionFormBuilder-
|
|
8
|
-
import { I as L } from "./Input-
|
|
7
|
+
import { z as D, A as N, B as q } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
8
|
+
import { I as L } from "./Input-Vv7mKQFt.js";
|
|
9
9
|
const G = ({
|
|
10
10
|
field: s,
|
|
11
11
|
...o
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as r } from "./jsx-runtime-B6kdoens.js";
|
|
2
2
|
import { useController as y } from "react-hook-form";
|
|
3
|
-
import { G as C } from "./Spinner-
|
|
4
|
-
import { z as F, A as I, B as V } from "./CollectionFormBuilder-
|
|
5
|
-
import { I as b } from "./Input-
|
|
3
|
+
import { G as C } from "./Spinner-BcBoT-J5.js";
|
|
4
|
+
import { z as F, A as I, B as V } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
5
|
+
import { I as b } from "./Input-Vv7mKQFt.js";
|
|
6
6
|
function w(e) {
|
|
7
7
|
return C({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M1.75 3h20.5c.966 0 1.75.784 1.75 1.75v14a1.75 1.75 0 0 1-1.75 1.75H1.75A1.75 1.75 0 0 1 0 18.75v-14C0 3.784.784 3 1.75 3ZM1.5 7.412V18.75c0 .138.112.25.25.25h20.5a.25.25 0 0 0 .25-.25V7.412l-9.52 6.433c-.592.4-1.368.4-1.96 0Zm0-2.662v.852l10.36 7a.25.25 0 0 0 .28 0l10.36-7V4.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z" }, child: [] }] })(e);
|
|
8
8
|
}
|
|
@@ -22,7 +22,7 @@ const Z = ({ field: e, ...c }) => {
|
|
|
22
22
|
{
|
|
23
23
|
id: t,
|
|
24
24
|
type: "email",
|
|
25
|
-
leftIcon: /* @__PURE__ */ r.jsx("div", { className: "
|
|
25
|
+
leftIcon: /* @__PURE__ */ r.jsx("div", { className: "flex h-full w-full items-center justify-center bg-muted", children: /* @__PURE__ */ r.jsx(w, { size: "20px", className: "text-muted-foreground" }) }),
|
|
26
26
|
value: h || "",
|
|
27
27
|
onChange: (o) => {
|
|
28
28
|
var n, i, m;
|
|
@@ -3,7 +3,7 @@ import { useEffect as k, useState as b, useRef as J } from "react";
|
|
|
3
3
|
import { useFormContext as W, useWatch as Y, useForm as B, useController as G } from "react-hook-form";
|
|
4
4
|
import { useDebouncedCallback as H } from "use-debounce";
|
|
5
5
|
import { u as x } from "./LevoProvider-BAZy7_tP.js";
|
|
6
|
-
import { D as C, s as z, h as Q, c as X, A as Z } from "./CollectionFormBuilder-
|
|
6
|
+
import { D as C, s as z, h as Q, c as X, A as Z } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
7
7
|
import { s as m } from "./Sonner-t6JVKA0a.js";
|
|
8
8
|
import { e as D } from "./errorHandler-_34Yv8wA.js";
|
|
9
9
|
import { a as h } from "./isEmptyObject-C5s4GzLE.js";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { j as o } from "./jsx-runtime-B6kdoens.js";
|
|
3
3
|
import { useState as p, useEffect as v } from "react";
|
|
4
4
|
import { useController as k } from "react-hook-form";
|
|
5
|
-
import { o as z } from "./Spinner-
|
|
6
|
-
import { z as T, A as q, B as A } from "./CollectionFormBuilder-
|
|
7
|
-
import { I as E } from "./Input-
|
|
5
|
+
import { o as z } from "./Spinner-BcBoT-J5.js";
|
|
6
|
+
import { z as T, A as q, B as A } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
7
|
+
import { I as E } from "./Input-Vv7mKQFt.js";
|
|
8
8
|
import { u as O } from "./LevoProvider-BAZy7_tP.js";
|
|
9
9
|
const $ = ({ field: t }) => {
|
|
10
10
|
var _;
|
|
@@ -33,7 +33,7 @@ const $ = ({ field: t }) => {
|
|
|
33
33
|
}).finally(() => i(!1)));
|
|
34
34
|
}, [c, m]), v(() => {
|
|
35
35
|
s != null && s.place_name && (h(s == null ? void 0 : s.place_name), u(!0));
|
|
36
|
-
}, [s]), /* @__PURE__ */ o.jsx(q, { error: C, helperText: w, readOnly: j, children: /* @__PURE__ */ o.jsxs("div", { className: "w-full
|
|
36
|
+
}, [s]), /* @__PURE__ */ o.jsx(q, { error: C, helperText: w, readOnly: j, children: /* @__PURE__ */ o.jsxs("div", { className: "relative w-full", children: [
|
|
37
37
|
f && /* @__PURE__ */ o.jsx(A, { htmlFor: d, isRequired: B, children: f }),
|
|
38
38
|
/* @__PURE__ */ o.jsx(
|
|
39
39
|
E,
|
|
@@ -51,10 +51,10 @@ const $ = ({ field: t }) => {
|
|
|
51
51
|
...L
|
|
52
52
|
}
|
|
53
53
|
),
|
|
54
|
-
c && !g && !m && /* @__PURE__ */ o.jsx("div", { className: "absolute
|
|
54
|
+
c && !g && !m && /* @__PURE__ */ o.jsx("div", { className: "absolute left-[-1px] z-50 w-full rounded-[6px] bg-white p-[4px] shadow-[0_0_8px_rgba(0,0,0,0.25)]", children: l != null && l.length ? l.map((e) => /* @__PURE__ */ o.jsx(
|
|
55
55
|
"p",
|
|
56
56
|
{
|
|
57
|
-
className: "text-md
|
|
57
|
+
className: "text-md cursor-pointer rounded-[6px] p-[8px] text-black hover:bg-gray-200",
|
|
58
58
|
onClick: () => I(e),
|
|
59
59
|
children: e.description
|
|
60
60
|
},
|
|
@@ -10,12 +10,12 @@ const b = u.forwardRef(
|
|
|
10
10
|
rightIconBoxStyles: d,
|
|
11
11
|
containerStyles: n,
|
|
12
12
|
...s
|
|
13
|
-
}, a) => /* @__PURE__ */ e.jsxs("div", { className: r("w-full
|
|
13
|
+
}, a) => /* @__PURE__ */ e.jsxs("div", { className: r("relative w-full", n), children: [
|
|
14
14
|
t ? /* @__PURE__ */ e.jsx(
|
|
15
15
|
"div",
|
|
16
16
|
{
|
|
17
17
|
className: r(
|
|
18
|
-
"absolute
|
|
18
|
+
"absolute bottom-0 left-0 top-0 flex w-9 items-center justify-center overflow-hidden rounded-l-md",
|
|
19
19
|
"border border-transparent",
|
|
20
20
|
i
|
|
21
21
|
),
|
|
@@ -27,7 +27,7 @@ const b = u.forwardRef(
|
|
|
27
27
|
{
|
|
28
28
|
ref: a,
|
|
29
29
|
className: r(
|
|
30
|
-
"h-9
|
|
30
|
+
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
31
31
|
s.readOnly ? "focus-visible:ring-0" : "",
|
|
32
32
|
t ? "pl-11" : "",
|
|
33
33
|
o ? "pr-11" : "",
|
|
@@ -40,7 +40,7 @@ const b = u.forwardRef(
|
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
className: r(
|
|
43
|
-
"absolute
|
|
43
|
+
"absolute bottom-0 right-0 top-0 flex w-9 items-center justify-center overflow-hidden rounded-r-md",
|
|
44
44
|
"border border-transparent",
|
|
45
45
|
d
|
|
46
46
|
),
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { j as e } from "./jsx-runtime-B6kdoens.js";
|
|
3
3
|
import { Plus as m } from "lucide-react";
|
|
4
4
|
import { useFieldArray as n } from "react-hook-form";
|
|
5
|
-
import { B as c } from "./CollectionFormBuilder-
|
|
6
|
-
import { GeocoderWidget as d } from "./GeocoderWidget-
|
|
7
|
-
import { B as p } from "./Spinner-
|
|
5
|
+
import { B as c } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
6
|
+
import { GeocoderWidget as d } from "./GeocoderWidget-C_8wJijA.js";
|
|
7
|
+
import { B as p } from "./Spinner-BcBoT-J5.js";
|
|
8
8
|
const k = ({
|
|
9
9
|
field: l
|
|
10
10
|
}) => {
|
|
11
11
|
const { key: s = "", label: o = "" } = l, { fields: r, ...i } = n({
|
|
12
12
|
name: s
|
|
13
13
|
});
|
|
14
|
-
return /* @__PURE__ */ e.jsxs("div", { className: "w-full
|
|
14
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "relative w-full", children: [
|
|
15
15
|
o && /* @__PURE__ */ e.jsx(c, { htmlFor: s, children: o }),
|
|
16
16
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
17
17
|
r == null ? void 0 : r.map((a, t) => /* @__PURE__ */ e.jsx(
|
|
@@ -30,12 +30,12 @@ const k = ({
|
|
|
30
30
|
{
|
|
31
31
|
variant: "ghost",
|
|
32
32
|
size: "xs",
|
|
33
|
-
className: "shrink-0 grow-0
|
|
33
|
+
className: "shrink-0 grow-0 self-start",
|
|
34
34
|
onClick: () => {
|
|
35
35
|
i.append(null);
|
|
36
36
|
},
|
|
37
37
|
children: [
|
|
38
|
-
/* @__PURE__ */ e.jsx(m, { className: "inline-block
|
|
38
|
+
/* @__PURE__ */ e.jsx(m, { className: "mr-1 inline-block", size: "14px" }),
|
|
39
39
|
"Add"
|
|
40
40
|
]
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as a } from "./jsx-runtime-B6kdoens.js";
|
|
2
2
|
import { useController as A } from "react-hook-form";
|
|
3
|
-
import { z as C, A as b, B as q } from "./CollectionFormBuilder-
|
|
4
|
-
import { I } from "./Input-
|
|
3
|
+
import { z as C, A as b, B as q } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
4
|
+
import { I } from "./Input-Vv7mKQFt.js";
|
|
5
5
|
const f = ({ field: r }) => {
|
|
6
6
|
var l;
|
|
7
7
|
const { key: u = "", label: n = "", helper_text: c = "", readonly: x = !1 } = r, o = u, {
|
|
@@ -3,7 +3,7 @@ import { j as t } from "./jsx-runtime-B6kdoens.js";
|
|
|
3
3
|
import { useController as f } from "react-hook-form";
|
|
4
4
|
import { PhoneInput as x } from "react-international-phone";
|
|
5
5
|
import { c as l } from "./cn-C9QoOYNG.js";
|
|
6
|
-
import { z as g, A as v, B as y } from "./CollectionFormBuilder-
|
|
6
|
+
import { z as g, A as v, B as y } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
7
7
|
const P = ({ field: e }) => {
|
|
8
8
|
const { key: u = "", label: o = "", helper_text: c = "", readonly: n = !1 } = e, s = u, {
|
|
9
9
|
field: { value: d, onBlur: a, onChange: i, ...m },
|
|
@@ -21,7 +21,7 @@ const P = ({ field: e }) => {
|
|
|
21
21
|
value: d,
|
|
22
22
|
className: l(
|
|
23
23
|
"w-full",
|
|
24
|
-
n ? "focus-visible:ring-0
|
|
24
|
+
n ? "pointer-events-none focus-visible:ring-0" : ""
|
|
25
25
|
),
|
|
26
26
|
inputClassName: l(
|
|
27
27
|
"w-full border border-input !bg-transparent text-sm shadow-sm transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 !text-text-1"
|
|
@@ -3,10 +3,10 @@ import { j as r } from "./jsx-runtime-B6kdoens.js";
|
|
|
3
3
|
import * as n from "@radix-ui/react-radio-group";
|
|
4
4
|
import * as d from "react";
|
|
5
5
|
import { useController as F } from "react-hook-form";
|
|
6
|
-
import { G as B } from "./Spinner-
|
|
6
|
+
import { G as B } from "./Spinner-BcBoT-J5.js";
|
|
7
7
|
import { c as N } from "./cn-C9QoOYNG.js";
|
|
8
|
-
import { z as E, A as G, B as f } from "./CollectionFormBuilder-
|
|
9
|
-
import { I as V } from "./Input-
|
|
8
|
+
import { z as E, A as G, B as f } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
9
|
+
import { I as V } from "./Input-Vv7mKQFt.js";
|
|
10
10
|
function q(s) {
|
|
11
11
|
return B({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "M416 128 192 384l-96-96" }, child: [] }] })(s);
|
|
12
12
|
}
|
|
@@ -35,7 +35,7 @@ const C = ({ field: s }) => {
|
|
|
35
35
|
{
|
|
36
36
|
id: a,
|
|
37
37
|
className: N(
|
|
38
|
-
"w-full flex
|
|
38
|
+
"flex w-full flex-col flex-wrap gap-4 pt-1",
|
|
39
39
|
g && "pointer-events-none cursor-not-allowed"
|
|
40
40
|
),
|
|
41
41
|
onValueChange: (e) => {
|
|
@@ -47,13 +47,13 @@ const C = ({ field: s }) => {
|
|
|
47
47
|
value: u ? "Other" : i,
|
|
48
48
|
...R,
|
|
49
49
|
children: [
|
|
50
|
-
t == null ? void 0 : t.map((e, l) => /* @__PURE__ */ r.jsxs("div", { className: "flex gap-2
|
|
50
|
+
t == null ? void 0 : t.map((e, l) => /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
51
51
|
/* @__PURE__ */ r.jsx(x, { id: `${a}-${e}-${l}`, value: e, children: e }),
|
|
52
52
|
/* @__PURE__ */ r.jsx(
|
|
53
53
|
f,
|
|
54
54
|
{
|
|
55
55
|
htmlFor: `${a}-${e}-${l}`,
|
|
56
|
-
className: "font-normal
|
|
56
|
+
className: "mb-0 font-normal",
|
|
57
57
|
children: e
|
|
58
58
|
}
|
|
59
59
|
)
|
|
@@ -63,7 +63,7 @@ const C = ({ field: s }) => {
|
|
|
63
63
|
/* @__PURE__ */ r.jsx(
|
|
64
64
|
f,
|
|
65
65
|
{
|
|
66
|
-
className: "font-normal leading-none
|
|
66
|
+
className: "mb-0 font-normal leading-none",
|
|
67
67
|
htmlFor: `${a}-other`,
|
|
68
68
|
children: "Other:"
|
|
69
69
|
}
|
|
@@ -17,9 +17,9 @@ import F from "@tiptap/extension-underline";
|
|
|
17
17
|
import { useEditor as I, EditorContent as E } from "@tiptap/react";
|
|
18
18
|
import { useState as q, useEffect as D } from "react";
|
|
19
19
|
import { useController as G } from "react-hook-form";
|
|
20
|
-
import { G as p, p as J, q as V, r as W, s as Z, t as _, u as P, v as K, w as Q, x as X, y as Y, z as $, A as nn } from "./Spinner-
|
|
20
|
+
import { G as p, p as J, q as V, r as W, s as Z, t as _, u as P, v as K, w as Q, x as X, y as Y, z as $, A as nn } from "./Spinner-BcBoT-J5.js";
|
|
21
21
|
import { c as j } from "./cn-C9QoOYNG.js";
|
|
22
|
-
import { z as ln, A as en, B as sn } from "./CollectionFormBuilder-
|
|
22
|
+
import { z as ln, A as en, B as sn } from "./CollectionFormBuilder-BPzVyGLq.js";
|
|
23
23
|
function an(n) {
|
|
24
24
|
return p({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 0 1-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 0 1-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 0 0-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z" }, child: [] }] })(n);
|
|
25
25
|
}
|
|
@@ -38,7 +38,7 @@ const e = ({
|
|
|
38
38
|
"button",
|
|
39
39
|
{
|
|
40
40
|
className: j(
|
|
41
|
-
"text-gray-900
|
|
41
|
+
"rounded-[4px] text-gray-900 hover:bg-gray-200",
|
|
42
42
|
n ? "bg-gray-400" : "bg-transparent",
|
|
43
43
|
c
|
|
44
44
|
),
|
|
@@ -46,7 +46,7 @@ const e = ({
|
|
|
46
46
|
...i,
|
|
47
47
|
children: t
|
|
48
48
|
}
|
|
49
|
-
), a = ({ children: n }) => /* @__PURE__ */ l.jsx("div", { className: "flex
|
|
49
|
+
), a = ({ children: n }) => /* @__PURE__ */ l.jsx("div", { className: "flex gap-[2px] border-r-[1px] border-solid border-input p-1", children: n }), rn = ({ editor: n }) => {
|
|
50
50
|
if (!n)
|
|
51
51
|
return null;
|
|
52
52
|
function c(i) {
|
|
@@ -60,7 +60,7 @@ const e = ({
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
const t = n.getAttributes("link").href;
|
|
63
|
-
return /* @__PURE__ */ l.jsxs("div", { className: "w-full
|
|
63
|
+
return /* @__PURE__ */ l.jsxs("div", { className: "overflow flex w-full flex-wrap rounded-br-[14px] rounded-tl-[14px] border-b-[1px] border-solid bg-white", children: [
|
|
64
64
|
/* @__PURE__ */ l.jsxs(a, { children: [
|
|
65
65
|
/* @__PURE__ */ l.jsx(
|
|
66
66
|
e,
|
|
@@ -273,16 +273,16 @@ const e = ({
|
|
|
273
273
|
"div",
|
|
274
274
|
{
|
|
275
275
|
className: j(
|
|
276
|
-
"w-full rounded-md border border-input placeholder:text-muted-foreground focus-within:outline-none focus-within:ring-1 focus-within:ring-ring
|
|
277
|
-
(m == null ? void 0 : m.disabled) && "cursor-not-allowed opacity-50
|
|
278
|
-
x && "focus-visible:ring-0
|
|
276
|
+
"w-full overflow-hidden rounded-md border border-input placeholder:text-muted-foreground focus-within:outline-none focus-within:ring-1 focus-within:ring-ring",
|
|
277
|
+
(m == null ? void 0 : m.disabled) && "pointer-events-none cursor-not-allowed opacity-50",
|
|
278
|
+
x && "pointer-events-none focus-visible:ring-0"
|
|
279
279
|
),
|
|
280
280
|
children: [
|
|
281
281
|
/* @__PURE__ */ l.jsx(rn, { editor: s }),
|
|
282
282
|
/* @__PURE__ */ l.jsx(
|
|
283
283
|
"div",
|
|
284
284
|
{
|
|
285
|
-
className: "
|
|
285
|
+
className: "h-[210px] w-full flex-1 overflow-y-auto rounded-b-[inherit] bg-white",
|
|
286
286
|
onClick: () => {
|
|
287
287
|
var f;
|
|
288
288
|
return (f = s == null ? void 0 : s.commands) == null ? void 0 : f.focus();
|
|
@@ -291,7 +291,7 @@ const e = ({
|
|
|
291
291
|
E,
|
|
292
292
|
{
|
|
293
293
|
id: o,
|
|
294
|
-
className: "prose prose-sm
|
|
294
|
+
className: "prose prose-sm !w-full px-4 [&>div]:w-full [&>div]:outline-none",
|
|
295
295
|
name: o,
|
|
296
296
|
editor: s
|
|
297
297
|
}
|