@levo-so/react 0.1.32 → 0.1.33

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.
Files changed (32) hide show
  1. package/dist/{CheckboxWidget-Dedx-7Wy.js → CheckboxWidget-BrVNbP0R.js} +1 -1
  2. package/dist/{CollectionFormBuilder-BPzVyGLq.js → CollectionFormBuilder-CkD8uVKZ.js} +18 -18
  3. package/dist/{CurrencyWidget-CW3cMoYn.js → CurrencyWidget-D_q2AYWu.js} +1 -1
  4. package/dist/{DateTimeWidget-eKbj2Q86.js → DateTimeWidget-CsuCisSs.js} +1 -1
  5. package/dist/{DefaultFormVariant-DGecA_SF.js → DefaultFormVariant-rv38sBOZ.js} +2 -2
  6. package/dist/{DropdownWidget-DJ6rBFE0.js → DropdownWidget-CsTQ0Ojo.js} +1 -1
  7. package/dist/{EmailWidget-Bx3LTBSb.js → EmailWidget-Did2OUyB.js} +1 -1
  8. package/dist/{FormCaptcha-BVawlT6h.js → FormCaptcha-C_DxR2za.js} +2 -2
  9. package/dist/{GeocoderWidget-C_8wJijA.js → GeocoderWidget-CyzcaWxa.js} +9 -9
  10. package/dist/{MultiGeocoderWidget-0uUFNNoH.js → MultiGeocoderWidget-DgwiZ330.js} +2 -2
  11. package/dist/{MultiTextWidget-BluGgZVP.js → MultiTextWidget-Dic46WBU.js} +1 -1
  12. package/dist/{PhoneWidget-Mm6DmCsK.js → PhoneWidget-DKH-Wzgz.js} +1 -1
  13. package/dist/{RadioWidget-BkYAbg4o.js → RadioWidget-CTgWKCg2.js} +1 -1
  14. package/dist/{RichTextWidget-CbyT-y1E.js → RichTextWidget-C30H7mVF.js} +1 -1
  15. package/dist/{StepsFormVariant-Bk_rc3R7.js → StepsFormVariant-myT97AwJ.js} +2 -2
  16. package/dist/{SwitchWidget-DeCIh2Vm.js → SwitchWidget-BS-rmHiq.js} +1 -1
  17. package/dist/{TextWidget-Di_db2UE.js → TextWidget-aNB-0vc-.js} +1 -1
  18. package/dist/{TextareaWidget-CZqLQQAK.js → TextareaWidget-CEH-97Oj.js} +1 -1
  19. package/dist/{ToggleCheckboxWidget-Dynr-C0Y.js → ToggleCheckboxWidget-C0buyS29.js} +1 -1
  20. package/dist/{URLWidget-BvQvn0aZ.js → URLWidget-DrZlRAD7.js} +2 -2
  21. package/dist/{UploadWidget-mRgEWRVS.js → UploadWidget-Bw7urh-7.js} +2 -2
  22. package/dist/audience/hooks/usePerformanceMetrics.d.ts.map +1 -1
  23. package/dist/audience/index.js +1 -1
  24. package/dist/collection/index.js +1 -1
  25. package/dist/index.js +9 -9
  26. package/dist/membership/index.js +1 -1
  27. package/dist/{page-BjcgPmsH.js → page-BVeU7Dl9.js} +132 -132
  28. package/dist/providers/LevoProvider.d.ts.map +1 -1
  29. package/dist/providers/index.d.ts +2 -0
  30. package/dist/providers/index.js +169 -0
  31. package/package.json +6 -2
  32. package/dist/LevoProvider-BAZy7_tP.js +0 -223
@@ -3,7 +3,7 @@ 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-BPzVyGLq.js";
6
+ import { z as O, A as I, B as x } from "./CollectionFormBuilder-CkD8uVKZ.js";
7
7
  import { C as g } from "./Checbox-sq-atGlJ.js";
8
8
  import { I as S } from "./Input-Vv7mKQFt.js";
9
9
  const L = ({ field: i }) => {
@@ -6,7 +6,7 @@ import E, { useState as w, useEffect as ge, lazy as v, Suspense as _e } from "re
6
6
  import { useFieldArray as Ne, useController as me } from "react-hook-form";
7
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
- import { u as X } from "./LevoProvider-BAZy7_tP.js";
9
+ import { useLevo as X } from "./providers/index.js";
10
10
  import { Snowflake as Ee } from "@theinternetfolks/snowflake";
11
11
  import Pe from "google-libphonenumber";
12
12
  import re from "validator";
@@ -915,26 +915,26 @@ const dt = E.lazy(
915
915
  }
916
916
  );
917
917
  }, pt = v(
918
- () => import("./MultiTextWidget-BluGgZVP.js")
919
- ), ie = v(() => import("./TextWidget-Di_db2UE.js")), xt = v(
920
- () => import("./CurrencyWidget-CW3cMoYn.js")
918
+ () => import("./MultiTextWidget-Dic46WBU.js")
919
+ ), ie = v(() => import("./TextWidget-aNB-0vc-.js")), xt = v(
920
+ () => import("./CurrencyWidget-D_q2AYWu.js")
921
921
  ), ht = v(
922
- () => import("./CheckboxWidget-Dedx-7Wy.js")
922
+ () => import("./CheckboxWidget-BrVNbP0R.js")
923
923
  ), ce = v(
924
- () => import("./DateTimeWidget-eKbj2Q86.js")
924
+ () => import("./DateTimeWidget-CsuCisSs.js")
925
925
  ), de = v(
926
- () => import("./DropdownWidget-DJ6rBFE0.js")
927
- ), yt = v(() => import("./EmailWidget-Bx3LTBSb.js")), ft = v(
928
- () => import("./GeocoderWidget-C_8wJijA.js")
926
+ () => import("./DropdownWidget-CsTQ0Ojo.js")
927
+ ), yt = v(() => import("./EmailWidget-Did2OUyB.js")), ft = v(
928
+ () => import("./GeocoderWidget-CyzcaWxa.js")
929
929
  ), jt = v(
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")
930
+ () => import("./MultiGeocoderWidget-DgwiZ330.js")
931
+ ), bt = v(() => import("./PhoneWidget-DKH-Wzgz.js")), vt = v(() => import("./RadioWidget-CTgWKCg2.js")), Ct = v(
932
+ () => import("./RichTextWidget-C30H7mVF.js")
933
+ ), wt = v(() => import("./SwitchWidget-BS-rmHiq.js")), kt = v(
934
+ () => import("./TextareaWidget-CEH-97Oj.js")
935
935
  ), Wt = v(
936
- () => import("./ToggleCheckboxWidget-Dynr-C0Y.js")
937
- ), _t = v(() => import("./URLWidget-BvQvn0aZ.js")), K = v(() => import("./UploadWidget-mRgEWRVS.js")), Nt = ({
936
+ () => import("./ToggleCheckboxWidget-C0buyS29.js")
937
+ ), _t = v(() => import("./URLWidget-DrZlRAD7.js")), K = v(() => import("./UploadWidget-Bw7urh-7.js")), Nt = ({
938
938
  field: e,
939
939
  isInternal: n
940
940
  }) => {
@@ -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-DGecA_SF.js")
1106
+ () => import("./DefaultFormVariant-rv38sBOZ.js")
1107
1107
  ), Mt = E.lazy(
1108
- () => import("./StepsFormVariant-Bk_rc3R7.js")
1108
+ () => import("./StepsFormVariant-myT97AwJ.js")
1109
1109
  ), It = ({
1110
1110
  formVariant: e,
1111
1111
  ...n
@@ -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-BPzVyGLq.js";
5
+ import { z as C, A as B, B as N } from "./CollectionFormBuilder-CkD8uVKZ.js";
6
6
  const V = ({
7
7
  field: r,
8
8
  ...m
@@ -4,7 +4,7 @@ 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-BPzVyGLq.js";
7
+ import { z as M, A as D, B as C } from "./CollectionFormBuilder-CkD8uVKZ.js";
8
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) {
@@ -1,8 +1,8 @@
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-BPzVyGLq.js";
5
- import { u as g, S as w, F as b } from "./FormCaptcha-BVawlT6h.js";
4
+ import { D as F, F as N } from "./CollectionFormBuilder-CkD8uVKZ.js";
5
+ import { u as g, S as w, F as b } from "./FormCaptcha-C_DxR2za.js";
6
6
  import { B as D } from "./Spinner-BcBoT-J5.js";
7
7
  const _ = () => {
8
8
  var n;
@@ -4,7 +4,7 @@ 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-BPzVyGLq.js";
7
+ import { z as D, A as N, B as q } from "./CollectionFormBuilder-CkD8uVKZ.js";
8
8
  import { I as L } from "./Input-Vv7mKQFt.js";
9
9
  const G = ({
10
10
  field: s,
@@ -1,7 +1,7 @@
1
1
  import { j as r } from "./jsx-runtime-B6kdoens.js";
2
2
  import { useController as y } from "react-hook-form";
3
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";
4
+ import { z as F, A as I, B as V } from "./CollectionFormBuilder-CkD8uVKZ.js";
5
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);
@@ -2,8 +2,8 @@
2
2
  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
- 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-BPzVyGLq.js";
5
+ import { useLevo as x } from "./providers/index.js";
6
+ import { D as C, s as z, h as Q, c as X, A as Z } from "./CollectionFormBuilder-CkD8uVKZ.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";
@@ -3,19 +3,19 @@ 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
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";
6
+ import { z as T, A as q, B as A } from "./CollectionFormBuilder-CkD8uVKZ.js";
7
7
  import { I as E } from "./Input-Vv7mKQFt.js";
8
- import { u as O } from "./LevoProvider-BAZy7_tP.js";
8
+ import { useLevo as O } from "./providers/index.js";
9
9
  const $ = ({ field: t }) => {
10
10
  var _;
11
- const [c, h] = p(""), [m, u] = p(!1), [l, N] = p([]), [g, i] = p(!1), { client: a } = O(), { key: d = "", label: f = "", helper_text: w = "", readonly: j = !1 } = t, {
11
+ const [c, h] = p(""), [m, d] = p(!1), [l, N] = p([]), [g, i] = p(!1), { client: a } = O(), { key: u = "", label: f = "", helper_text: w = "", readonly: j = !1 } = t, {
12
12
  field: { value: s, onBlur: F, onChange: y, ...L },
13
13
  fieldState: x
14
14
  } = k({
15
- name: d,
15
+ name: u,
16
16
  rules: T(t)
17
17
  }), B = !!(t != null && t.required), C = (_ = x == null ? void 0 : x.error) == null ? void 0 : _.message, I = (e) => {
18
- i(!0), u(!0), a == null || a.fetch.url(`/v1/bevy/content/location/${e == null ? void 0 : e.place_id}/get-location-details`).get().json().then((n) => {
18
+ i(!0), d(!0), a == null || a.fetch.url(`/v1/bevy/content/location/${e == null ? void 0 : e.place_id}/get-location-details`).get().json().then((n) => {
19
19
  var r;
20
20
  y && y((r = n == null ? void 0 : n.content) == null ? void 0 : r.data);
21
21
  }).finally(() => i(!1));
@@ -32,16 +32,16 @@ const $ = ({ field: t }) => {
32
32
  N((b = r == null ? void 0 : r.content) == null ? void 0 : b.data);
33
33
  }).finally(() => i(!1)));
34
34
  }, [c, m]), v(() => {
35
- s != null && s.place_name && (h(s == null ? void 0 : s.place_name), u(!0));
35
+ s != null && s.place_name && (h(s == null ? void 0 : s.place_name), d(!0));
36
36
  }, [s]), /* @__PURE__ */ o.jsx(q, { error: C, helperText: w, readOnly: j, children: /* @__PURE__ */ o.jsxs("div", { className: "relative w-full", children: [
37
- f && /* @__PURE__ */ o.jsx(A, { htmlFor: d, isRequired: B, children: f }),
37
+ f && /* @__PURE__ */ o.jsx(A, { htmlFor: u, isRequired: B, children: f }),
38
38
  /* @__PURE__ */ o.jsx(
39
39
  E,
40
40
  {
41
- id: d,
41
+ id: u,
42
42
  value: c,
43
43
  onChange: (e) => {
44
- u(!1), h(e.target.value);
44
+ d(!1), h(e.target.value);
45
45
  },
46
46
  onBlur: () => {
47
47
  F();
@@ -2,8 +2,8 @@
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-BPzVyGLq.js";
6
- import { GeocoderWidget as d } from "./GeocoderWidget-C_8wJijA.js";
5
+ import { B as c } from "./CollectionFormBuilder-CkD8uVKZ.js";
6
+ import { GeocoderWidget as d } from "./GeocoderWidget-CyzcaWxa.js";
7
7
  import { B as p } from "./Spinner-BcBoT-J5.js";
8
8
  const k = ({
9
9
  field: l
@@ -1,6 +1,6 @@
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-BPzVyGLq.js";
3
+ import { z as C, A as b, B as q } from "./CollectionFormBuilder-CkD8uVKZ.js";
4
4
  import { I } from "./Input-Vv7mKQFt.js";
5
5
  const f = ({ field: r }) => {
6
6
  var l;
@@ -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-BPzVyGLq.js";
6
+ import { z as g, A as v, B as y } from "./CollectionFormBuilder-CkD8uVKZ.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 },
@@ -5,7 +5,7 @@ import * as d from "react";
5
5
  import { useController as F } from "react-hook-form";
6
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-BPzVyGLq.js";
8
+ import { z as E, A as G, B as f } from "./CollectionFormBuilder-CkD8uVKZ.js";
9
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);
@@ -19,7 +19,7 @@ import { useState as q, useEffect as D } from "react";
19
19
  import { useController as G } from "react-hook-form";
20
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-BPzVyGLq.js";
22
+ import { z as ln, A as en, B as sn } from "./CollectionFormBuilder-CkD8uVKZ.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
  }
@@ -3,8 +3,8 @@ import { j as t } from "./jsx-runtime-B6kdoens.js";
3
3
  import { useState as I, useMemo as y } from "react";
4
4
  import { FormProvider as T } from "react-hook-form";
5
5
  import { c as F } from "./cn-C9QoOYNG.js";
6
- import { D as N, F as _ } from "./CollectionFormBuilder-BPzVyGLq.js";
7
- import { u as C, S as H, F as M } from "./FormCaptcha-BVawlT6h.js";
6
+ import { D as N, F as _ } from "./CollectionFormBuilder-CkD8uVKZ.js";
7
+ import { u as C, S as H, F as M } from "./FormCaptcha-C_DxR2za.js";
8
8
  import { B as g } from "./Spinner-BcBoT-J5.js";
9
9
  const Y = () => {
10
10
  const [n, a] = I(0), { containerStyles: m } = N(), l = () => {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { j as r } from "./jsx-runtime-B6kdoens.js";
3
3
  import { useController as k } from "react-hook-form";
4
- import { z as w, A as j, B as v } from "./CollectionFormBuilder-BPzVyGLq.js";
4
+ import { z as w, A as j, B as v } from "./CollectionFormBuilder-CkD8uVKZ.js";
5
5
  import * as c from "@radix-ui/react-switch";
6
6
  import * as y from "react";
7
7
  import { c as d } from "./cn-C9QoOYNG.js";
@@ -1,7 +1,7 @@
1
1
  import { j as t } from "./jsx-runtime-B6kdoens.js";
2
2
  import { useFormContext as g, get as h } from "react-hook-form";
3
3
  import { c as j } from "./cn-C9QoOYNG.js";
4
- import { A as F, B as b, z as y } from "./CollectionFormBuilder-BPzVyGLq.js";
4
+ import { A as F, B as b, z as y } from "./CollectionFormBuilder-CkD8uVKZ.js";
5
5
  import { I as f } from "./Input-Vv7mKQFt.js";
6
6
  const k = ({
7
7
  field: r,
@@ -1,7 +1,7 @@
1
1
  import { j as s } from "./jsx-runtime-B6kdoens.js";
2
2
  import { useFormContext as u, get as x } from "react-hook-form";
3
3
  import { c as b } from "./cn-C9QoOYNG.js";
4
- import { A as g, B as f, z as h } from "./CollectionFormBuilder-BPzVyGLq.js";
4
+ import { A as g, B as f, z as h } from "./CollectionFormBuilder-CkD8uVKZ.js";
5
5
  const w = ({ field: e }) => {
6
6
  var a;
7
7
  const {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { j as r } from "./jsx-runtime-B6kdoens.js";
3
3
  import { useController as p } from "react-hook-form";
4
- import { z as u, A as g, B as C } from "./CollectionFormBuilder-BPzVyGLq.js";
4
+ import { z as u, A as g, B as C } from "./CollectionFormBuilder-CkD8uVKZ.js";
5
5
  import { C as f } from "./Checbox-sq-atGlJ.js";
6
6
  const y = ({
7
7
  field: e
@@ -1,6 +1,6 @@
1
1
  import { j as e } from "./jsx-runtime-B6kdoens.js";
2
- import { H as s } from "./CollectionFormBuilder-BPzVyGLq.js";
3
- import r from "./TextWidget-Di_db2UE.js";
2
+ import { H as s } from "./CollectionFormBuilder-CkD8uVKZ.js";
3
+ import r from "./TextWidget-aNB-0vc-.js";
4
4
  const a = (t) => /* @__PURE__ */ e.jsx(
5
5
  r,
6
6
  {
@@ -5,8 +5,8 @@ import { Upload as Z, X as at, ExternalLink as et } from "lucide-react";
5
5
  import { useState as B, useMemo as D, useRef as st, useEffect as R } from "react";
6
6
  import { useController as ot } from "react-hook-form";
7
7
  import { G as q, S as W, B as F, k as nt, T as ct, l as lt, m as V, n as H } from "./Spinner-BcBoT-J5.js";
8
- import { t as it, g as dt, z as xt, w as J, A as ut, B as mt } from "./CollectionFormBuilder-BPzVyGLq.js";
9
- import { u as G } from "./LevoProvider-BAZy7_tP.js";
8
+ import { t as it, g as dt, z as xt, w as J, A as ut, B as mt } from "./CollectionFormBuilder-CkD8uVKZ.js";
9
+ import { useLevo as G } from "./providers/index.js";
10
10
  import { e as k } from "./errorHandler-_34Yv8wA.js";
11
11
  import { I as Q } from "./Input-Vv7mKQFt.js";
12
12
  import { c as I } from "./cn-C9QoOYNG.js";
@@ -1 +1 @@
1
- {"version":3,"file":"usePerformanceMetrics.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/usePerformanceMetrics.tsx"],"names":[],"mappings":"AAIA,KAAK,kBAAkB,GAAG;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,qBAAqB,SAAU,MAAM,KAAG,kBAAkB,GAAG,IA4DlE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"usePerformanceMetrics.d.ts","sourceRoot":"","sources":["../../../src/audience/hooks/usePerformanceMetrics.tsx"],"names":[],"mappings":"AAIA,KAAK,kBAAkB,GAAG;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAMF,QAAA,MAAM,qBAAqB,SAAU,MAAM,KAAG,kBAAkB,GAAG,IA4DlE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { L as e, a, b as n } from "../page-BjcgPmsH.js";
1
+ import { L as e, a, b as n } from "../page-BVeU7Dl9.js";
2
2
  export {
3
3
  e as LevoInsightsBlock,
4
4
  a as LevoInsightsComponent,
@@ -1,4 +1,4 @@
1
- import { C as s, F as r, e as t, b as i, c as l, f as o, g as d, d as m, i as u, a as n, p as f, h as F, s as g, u as p, v as V } from "../CollectionFormBuilder-BPzVyGLq.js";
1
+ import { C as s, F as r, e as t, b as i, c as l, f as o, g as d, d as m, i as u, a as n, p as f, h as F, s as g, u as p, v as V } from "../CollectionFormBuilder-CkD8uVKZ.js";
2
2
  import { default as h } from "validatorjs";
3
3
  export {
4
4
  s as CollectionFormBuilder,
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { L as s, u as o } from "./LevoProvider-BAZy7_tP.js";
2
- import { L as t, a as r, b as l } from "./page-BjcgPmsH.js";
3
- import { C as m, F as p, x as d, y as g, m as T, r as f, j as u, n as c, e as x, b, c as D, f as y, g as F, d as v, k as h, o as L, i as M, a as E, w as P, t as B, p as C, h as O, s as V, u as j, v as I, l as S, q as K } from "./CollectionFormBuilder-BPzVyGLq.js";
1
+ import { LevoProvider as s, useLevo as o } from "./providers/index.js";
2
+ import { L as t, a as r, b as l } from "./page-BVeU7Dl9.js";
3
+ import { C as m, F as p, x as d, y as g, m as T, r as f, j as u, n as c, e as x, b, c as D, f as y, g as F, d as v, k as h, o as M, i as E, a as L, w as P, t as B, p as C, h as O, s as V, u as j, v as I, l as S, q as K } from "./CollectionFormBuilder-CkD8uVKZ.js";
4
4
  import { LevoOAuth as U } from "./membership/index.js";
5
5
  import { B as H, D as N, j as q, e as w, i as z, g as A, f as R, c as G, a as J, h as Q, d as X, k as Y, S as Z, T as _, n as $, l as aa, m as ea, b as sa } from "./Spinner-BcBoT-J5.js";
6
6
  import { T as ia, e as ta, s as ra } from "./Sonner-t6JVKA0a.js";
@@ -8,7 +8,7 @@ import { S as na, T as ma, b as pa, d as da, c as ga, a as Ta } from "./Tooltip-
8
8
  import { b as ua } from "./byteToSize-BFKZSBu1.js";
9
9
  import { e as xa } from "./errorHandler-_34Yv8wA.js";
10
10
  import { c as Da } from "./cn-C9QoOYNG.js";
11
- import { i as Fa, a as va, b as ha, d as La, c as Ma } from "./isEmptyObject-C5s4GzLE.js";
11
+ import { i as Fa, a as va, b as ha, d as Ma, c as Ea } from "./isEmptyObject-C5s4GzLE.js";
12
12
  import { default as Pa } from "validatorjs";
13
13
  import { toast as Ca } from "sonner";
14
14
  export {
@@ -61,14 +61,14 @@ export {
61
61
  F as getKindFromMimetype,
62
62
  v as getValueIfNotUndefined,
63
63
  h as imageFileExtensions,
64
- L as imageMimetype,
64
+ M as imageMimetype,
65
65
  Fa as isDateObject,
66
66
  va as isEmptyObject,
67
67
  ha as isNullOrUndefined,
68
- La as isObject,
69
- Ma as isObjectType,
70
- M as isPhoneValid,
71
- E as isValidSchema,
68
+ Ma as isObject,
69
+ Ea as isObjectType,
70
+ E as isPhoneValid,
71
+ L as isValidSchema,
72
72
  P as mediaExtensionsByKind,
73
73
  B as mediaMimetypeByKind,
74
74
  C as phoneUtil,
@@ -4,7 +4,7 @@ var R = (e, t, n) => t in e ? P(e, t, { enumerable: !0, configurable: !0, writab
4
4
  var x = (e, t, n) => R(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import { j as h } from "../jsx-runtime-B6kdoens.js";
6
6
  import j, { useState as L, useEffect as C, useMemo as y, useContext as U, useRef as W, useCallback as _ } from "react";
7
- import { u as k } from "../LevoProvider-BAZy7_tP.js";
7
+ import { useLevo as k } from "../providers/index.js";
8
8
  const O = j.createContext({
9
9
  urls: null,
10
10
  title: "",