@levo-so/react 0.1.10 → 0.1.12

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-Cfgvj7cn.js → CheckboxWidget-BLxjrwGY.js} +1 -1
  2. package/dist/{CollectionFormBuilder-Cl75S4QY.js → CollectionFormBuilder-dqQC2Vnj.js} +17 -17
  3. package/dist/{CurrencyWidget-CIrjUd7P.js → CurrencyWidget-CAMx9DJF.js} +1 -1
  4. package/dist/{DateTimeWidget-C3ZjRkzt.js → DateTimeWidget-DaLajxcA.js} +1 -1
  5. package/dist/{DefaultFormVariant-vMPY17-9.js → DefaultFormVariant-CpnU1wDu.js} +2 -2
  6. package/dist/{DropdownWidget-CK1trfBl.js → DropdownWidget-6qBfLQ2N.js} +1 -1
  7. package/dist/{EmailWidget-BO-vqkzR.js → EmailWidget-p5rZwhuj.js} +1 -1
  8. package/dist/{GeocoderWidget-B2YFZCYX.js → GeocoderWidget-BbKp8xEY.js} +2 -2
  9. package/dist/{LevoProvider-Cp0CKrgY.js → LevoProvider-BI6g_T4E.js} +54 -54
  10. package/dist/{MultiGeocoderWidget-C_s8Zsij.js → MultiGeocoderWidget-BNHx170i.js} +2 -2
  11. package/dist/{PhoneWidget-DUaS-iYE.js → PhoneWidget-BWzgF1A0.js} +1 -1
  12. package/dist/{RadioWidget-B6_ziyPx.js → RadioWidget-DiHb1y_Q.js} +1 -1
  13. package/dist/{RichTextWidget-CgRsIwtY.js → RichTextWidget-D7o_yfwT.js} +1 -1
  14. package/dist/{StepsFormVariant-BLoWPVj3.js → StepsFormVariant-DGmREjGv.js} +2 -2
  15. package/dist/{SwitchWidget-DO-hypNx.js → SwitchWidget-CKHM9_1n.js} +1 -1
  16. package/dist/{TextWidget-LJ-qBQ4d.js → TextWidget-DU_YaDEV.js} +1 -1
  17. package/dist/{TextareaWidget-D1baKIEx.js → TextareaWidget-znTolctc.js} +1 -1
  18. package/dist/{ToggleCheckboxWidget-j7f_du6j.js → ToggleCheckboxWidget-CcNooLk3.js} +1 -1
  19. package/dist/{URLWidget-5IJ9CYEQ.js → URLWidget-BRXXKqlE.js} +2 -2
  20. package/dist/{UploadWidget-D9AcSa7N.js → UploadWidget-Dr8-x83l.js} +2 -2
  21. package/dist/audience/components/page.d.ts +0 -2
  22. package/dist/audience/components/page.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.css +1 -1
  26. package/dist/index.js +3 -3
  27. package/dist/libs.css +1 -1
  28. package/dist/membership/index.js +1 -1
  29. package/dist/page-D6IRG1XF.js +198 -0
  30. package/dist/{useLevoForm-CMcusFAD.js → useLevoForm-D8moCDuJ.js} +2 -2
  31. package/package.json +2 -2
  32. package/dist/page-YRcNFGqi.js +0 -205
@@ -3,7 +3,7 @@ import { j as t } from "./jsx-runtime-B6kdoens.js";
3
3
  import B, { useState as k } from "react";
4
4
  import { useController as C } from "react-hook-form";
5
5
  import { c as E } from "./cn-C9QoOYNG.js";
6
- import { h as I, j as O, k as u } from "./CollectionFormBuilder-Cl75S4QY.js";
6
+ import { h as I, j as O, k as u } from "./CollectionFormBuilder-dqQC2Vnj.js";
7
7
  import { C as w } from "./Checbox-sq-atGlJ.js";
8
8
  import { I as _ } from "./Input-2CvZ90f8.js";
9
9
  const T = ({ field: i }) => {
@@ -5,7 +5,7 @@ import j, { useState as L, lazy as h, Suspense as ie, useEffect as le } from "re
5
5
  import { useFieldArray as ce, useController as ue } from "react-hook-form";
6
6
  import { G as O, T as de, a as ge, c as me, B as v, d as he, r as pe, s as xe, S as ye } from "./Spinner-DzGH5rKe.js";
7
7
  import { Mate as $ } from "@theinternetfolks/mate";
8
- import { u as G } from "./LevoProvider-Cp0CKrgY.js";
8
+ import { u as G } from "./LevoProvider-BI6g_T4E.js";
9
9
  import { Snowflake as fe } from "@theinternetfolks/snowflake";
10
10
  import We from "google-libphonenumber";
11
11
  import P from "validator";
@@ -502,25 +502,25 @@ const A = ({
502
502
  ]
503
503
  }
504
504
  );
505
- }, H = h(() => import("./TextWidget-LJ-qBQ4d.js")), Me = h(
506
- () => import("./CurrencyWidget-CIrjUd7P.js")
505
+ }, H = h(() => import("./TextWidget-DU_YaDEV.js")), Me = h(
506
+ () => import("./CurrencyWidget-CAMx9DJF.js")
507
507
  ), De = h(
508
- () => import("./CheckboxWidget-Cfgvj7cn.js")
508
+ () => import("./CheckboxWidget-BLxjrwGY.js")
509
509
  ), U = h(
510
- () => import("./DateTimeWidget-C3ZjRkzt.js")
510
+ () => import("./DateTimeWidget-DaLajxcA.js")
511
511
  ), q = h(
512
- () => import("./DropdownWidget-CK1trfBl.js")
513
- ), Se = h(() => import("./EmailWidget-BO-vqkzR.js")), Ve = h(
514
- () => import("./GeocoderWidget-B2YFZCYX.js")
512
+ () => import("./DropdownWidget-6qBfLQ2N.js")
513
+ ), Se = h(() => import("./EmailWidget-p5rZwhuj.js")), Ve = h(
514
+ () => import("./GeocoderWidget-BbKp8xEY.js")
515
515
  ), $e = h(
516
- () => import("./MultiGeocoderWidget-C_s8Zsij.js")
517
- ), Pe = h(() => import("./PhoneWidget-DUaS-iYE.js")), ze = h(() => import("./RadioWidget-B6_ziyPx.js")), Be = h(
518
- () => import("./RichTextWidget-CgRsIwtY.js")
519
- ), Ee = h(() => import("./SwitchWidget-DO-hypNx.js")), He = h(
520
- () => import("./TextareaWidget-D1baKIEx.js")
516
+ () => import("./MultiGeocoderWidget-BNHx170i.js")
517
+ ), Pe = h(() => import("./PhoneWidget-BWzgF1A0.js")), ze = h(() => import("./RadioWidget-DiHb1y_Q.js")), Be = h(
518
+ () => import("./RichTextWidget-D7o_yfwT.js")
519
+ ), Ee = h(() => import("./SwitchWidget-CKHM9_1n.js")), He = h(
520
+ () => import("./TextareaWidget-znTolctc.js")
521
521
  ), Ue = h(
522
- () => import("./ToggleCheckboxWidget-j7f_du6j.js")
523
- ), qe = h(() => import("./URLWidget-5IJ9CYEQ.js")), R = h(() => import("./UploadWidget-D9AcSa7N.js")), Fe = ({
522
+ () => import("./ToggleCheckboxWidget-CcNooLk3.js")
523
+ ), qe = h(() => import("./URLWidget-BRXXKqlE.js")), R = h(() => import("./UploadWidget-Dr8-x83l.js")), Fe = ({
524
524
  field: e,
525
525
  isInternal: r
526
526
  }) => {
@@ -668,9 +668,9 @@ const A = ({
668
668
  e
669
669
  ] });
670
670
  }, Wt = () => j.useContext(Q), Ke = j.lazy(
671
- () => import("./DefaultFormVariant-vMPY17-9.js")
671
+ () => import("./DefaultFormVariant-CpnU1wDu.js")
672
672
  ), Je = j.lazy(
673
- () => import("./StepsFormVariant-BLoWPVj3.js")
673
+ () => import("./StepsFormVariant-DGmREjGv.js")
674
674
  ), Qe = ({
675
675
  formVariant: e,
676
676
  ...r
@@ -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 { h as C, j as k, k as N } from "./CollectionFormBuilder-Cl75S4QY.js";
5
+ import { h as C, j as k, k as N } from "./CollectionFormBuilder-dqQC2Vnj.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 { h as M, j as D, k as C } from "./CollectionFormBuilder-Cl75S4QY.js";
7
+ import { h as M, j as D, k as C } from "./CollectionFormBuilder-dqQC2Vnj.js";
8
8
  import { I as F } from "./Input-2CvZ90f8.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 S } from "react-hook-form";
3
3
  import { c as m } from "./cn-C9QoOYNG.js";
4
- import { l as y, F } from "./CollectionFormBuilder-Cl75S4QY.js";
5
- import { u as N, S as w } from "./useLevoForm-CMcusFAD.js";
4
+ import { l as y, F } from "./CollectionFormBuilder-dqQC2Vnj.js";
5
+ import { u as N, S as w } from "./useLevoForm-D8moCDuJ.js";
6
6
  import { B as b } from "./Spinner-DzGH5rKe.js";
7
7
  const E = () => {
8
8
  var d;
@@ -4,7 +4,7 @@ import { useState as f, useEffect as j } from "react";
4
4
  import { useController as k } from "react-hook-form";
5
5
  import D from "react-select";
6
6
  import { c as x } from "./cn-C9QoOYNG.js";
7
- import { h as N, j as q, k as B } from "./CollectionFormBuilder-Cl75S4QY.js";
7
+ import { h as N, j as q, k as B } from "./CollectionFormBuilder-dqQC2Vnj.js";
8
8
  import { I as L } from "./Input-2CvZ90f8.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-DzGH5rKe.js";
4
- import { h as F, j as I, k as V } from "./CollectionFormBuilder-Cl75S4QY.js";
4
+ import { h as F, j as I, k as V } from "./CollectionFormBuilder-dqQC2Vnj.js";
5
5
  import { I as b } from "./Input-2CvZ90f8.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);
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { j as h } from "./jsx-runtime-B6kdoens.js";
3
3
  import le, { useState as J, useEffect as fe } from "react";
4
- import { c as U } from "./LevoProvider-Cp0CKrgY.js";
4
+ import { c as U } from "./LevoProvider-BI6g_T4E.js";
5
5
  import { useController as de } from "react-hook-form";
6
6
  import { q as pe } from "./Spinner-DzGH5rKe.js";
7
- import { h as ge, j as me, k as ye } from "./CollectionFormBuilder-Cl75S4QY.js";
7
+ import { h as ge, j as me, k as ye } from "./CollectionFormBuilder-dqQC2Vnj.js";
8
8
  import { I as _e } from "./Input-2CvZ90f8.js";
9
9
  var ne = {}, ve = "Expected a function", Y = NaN, be = "[object Symbol]", Se = /^\s+|\s+$/g, Pe = /^[-+]0x[0-9a-f]+$/i, Oe = /^0b[01]+$/i, he = /^0o[0-7]+$/i, Te = parseInt, je = typeof U == "object" && U && U.Object === Object && U, xe = typeof self == "object" && self && self.Object === Object && self, Ae = je || xe || Function("return this")(), Le = Object.prototype, Ee = Le.toString, Ie = Math.max, we = Math.min, $ = function() {
10
10
  return Ae.Date.now();
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  var j = Object.defineProperty;
3
3
  var D = (r, l, o) => l in r ? j(r, l, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[l] = o;
4
- var v = (r, l, o) => D(r, typeof l != "symbol" ? l + "" : l, o);
4
+ var p = (r, l, o) => D(r, typeof l != "symbol" ? l + "" : l, o);
5
5
  import { j as B } from "./jsx-runtime-B6kdoens.js";
6
6
  import k from "wretch";
7
7
  import { createContext as G, useContext as W } from "react";
@@ -11,7 +11,7 @@ function z(r) {
11
11
  }
12
12
  var T = class {
13
13
  constructor(r) {
14
- v(this, "client");
14
+ p(this, "client");
15
15
  this.client = r;
16
16
  }
17
17
  }, F = { exports: {} };
@@ -20,15 +20,15 @@ var T = class {
20
20
  r.exports ? r.exports = o() : l.log = o();
21
21
  })(q, function() {
22
22
  var l = function() {
23
- }, o = "undefined", b = typeof window !== o && typeof window.navigator !== o && /Trident\/|MSIE /.test(window.navigator.userAgent), y = [
23
+ }, o = "undefined", L = typeof window !== o && typeof window.navigator !== o && /Trident\/|MSIE /.test(window.navigator.userAgent), g = [
24
24
  "trace",
25
25
  "debug",
26
26
  "info",
27
27
  "warn",
28
28
  "error"
29
- ], c = {}, i = null;
30
- function w(t, s) {
31
- var e = t[s];
29
+ ], c = {}, a = null;
30
+ function b(t, i) {
31
+ var e = t[i];
32
32
  if (typeof e.bind == "function")
33
33
  return e.bind(t);
34
34
  try {
@@ -43,37 +43,37 @@ var T = class {
43
43
  console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
44
44
  }
45
45
  function U(t) {
46
- return t === "debug" && (t = "log"), typeof console === o ? !1 : t === "trace" && b ? S : console[t] !== void 0 ? w(console, t) : console.log !== void 0 ? w(console, "log") : l;
46
+ return t === "debug" && (t = "log"), typeof console === o ? !1 : t === "trace" && L ? S : console[t] !== void 0 ? b(console, t) : console.log !== void 0 ? b(console, "log") : l;
47
47
  }
48
- function g() {
49
- for (var t = this.getLevel(), s = 0; s < y.length; s++) {
50
- var e = y[s];
51
- this[e] = s < t ? l : this.methodFactory(e, t, this.name);
48
+ function d() {
49
+ for (var t = this.getLevel(), i = 0; i < g.length; i++) {
50
+ var e = g[i];
51
+ this[e] = i < t ? l : this.methodFactory(e, t, this.name);
52
52
  }
53
53
  if (this.log = this.debug, typeof console === o && t < this.levels.SILENT)
54
54
  return "No console available for logging";
55
55
  }
56
56
  function A(t) {
57
57
  return function() {
58
- typeof console !== o && (g.call(this), this[t].apply(this, arguments));
58
+ typeof console !== o && (d.call(this), this[t].apply(this, arguments));
59
59
  };
60
60
  }
61
- function M(t, s, e) {
61
+ function M(t, i, e) {
62
62
  return U(t) || A.apply(this, arguments);
63
63
  }
64
- function E(t, s) {
65
- var e = this, h, m, f, u = "loglevel";
64
+ function E(t, i) {
65
+ var e = this, w, m, f, u = "loglevel";
66
66
  typeof t == "string" ? u += ":" + t : typeof t == "symbol" && (u = void 0);
67
67
  function O(n) {
68
- var a = (y[n] || "silent").toUpperCase();
68
+ var s = (g[n] || "silent").toUpperCase();
69
69
  if (!(typeof window === o || !u)) {
70
70
  try {
71
- window.localStorage[u] = a;
71
+ window.localStorage[u] = s;
72
72
  return;
73
73
  } catch {
74
74
  }
75
75
  try {
76
- window.document.cookie = encodeURIComponent(u) + "=" + a + ";";
76
+ window.document.cookie = encodeURIComponent(u) + "=" + s + ";";
77
77
  } catch {
78
78
  }
79
79
  }
@@ -87,9 +87,9 @@ var T = class {
87
87
  }
88
88
  if (typeof n === o)
89
89
  try {
90
- var a = window.document.cookie, L = encodeURIComponent(u), I = a.indexOf(L + "=");
90
+ var s = window.document.cookie, h = encodeURIComponent(u), I = s.indexOf(h + "=");
91
91
  I !== -1 && (n = /^([^;]+)/.exec(
92
- a.slice(I + L.length + 1)
92
+ s.slice(I + h.length + 1)
93
93
  )[1]);
94
94
  } catch {
95
95
  }
@@ -108,10 +108,10 @@ var T = class {
108
108
  }
109
109
  }
110
110
  }
111
- function d(n) {
112
- var a = n;
113
- if (typeof a == "string" && e.levels[a.toUpperCase()] !== void 0 && (a = e.levels[a.toUpperCase()]), typeof a == "number" && a >= 0 && a <= e.levels.SILENT)
114
- return a;
111
+ function v(n) {
112
+ var s = n;
113
+ if (typeof s == "string" && e.levels[s.toUpperCase()] !== void 0 && (s = e.levels[s.toUpperCase()]), typeof s == "number" && s >= 0 && s <= e.levels.SILENT)
114
+ return s;
115
115
  throw new TypeError("log.setLevel() called with invalid level: " + n);
116
116
  }
117
117
  e.name = t, e.levels = {
@@ -121,67 +121,67 @@ var T = class {
121
121
  WARN: 3,
122
122
  ERROR: 4,
123
123
  SILENT: 5
124
- }, e.methodFactory = s || M, e.getLevel = function() {
125
- return f ?? m ?? h;
126
- }, e.setLevel = function(n, a) {
127
- return f = d(n), a !== !1 && O(f), g.call(e);
124
+ }, e.methodFactory = i || M, e.getLevel = function() {
125
+ return f ?? m ?? w;
126
+ }, e.setLevel = function(n, s) {
127
+ return f = v(n), s !== !1 && O(f), d.call(e);
128
128
  }, e.setDefaultLevel = function(n) {
129
- m = d(n), C() || e.setLevel(n, !1);
129
+ m = v(n), C() || e.setLevel(n, !1);
130
130
  }, e.resetLevel = function() {
131
- f = null, P(), g.call(e);
131
+ f = null, P(), d.call(e);
132
132
  }, e.enableAll = function(n) {
133
133
  e.setLevel(e.levels.TRACE, n);
134
134
  }, e.disableAll = function(n) {
135
135
  e.setLevel(e.levels.SILENT, n);
136
136
  }, e.rebuild = function() {
137
- if (i !== e && (h = d(i.getLevel())), g.call(e), i === e)
137
+ if (a !== e && (w = v(a.getLevel())), d.call(e), a === e)
138
138
  for (var n in c)
139
139
  c[n].rebuild();
140
- }, h = d(
141
- i ? i.getLevel() : "WARN"
140
+ }, w = v(
141
+ a ? a.getLevel() : "WARN"
142
142
  );
143
143
  var x = C();
144
- x != null && (f = d(x)), g.call(e);
144
+ x != null && (f = v(x)), d.call(e);
145
145
  }
146
- i = new E(), i.getLogger = function(s) {
147
- if (typeof s != "symbol" && typeof s != "string" || s === "")
146
+ a = new E(), a.getLogger = function(i) {
147
+ if (typeof i != "symbol" && typeof i != "string" || i === "")
148
148
  throw new TypeError("You must supply a name when creating a logger.");
149
- var e = c[s];
150
- return e || (e = c[s] = new E(
151
- s,
152
- i.methodFactory
149
+ var e = c[i];
150
+ return e || (e = c[i] = new E(
151
+ i,
152
+ a.methodFactory
153
153
  )), e;
154
154
  };
155
155
  var N = typeof window !== o ? window.log : void 0;
156
- return i.noConflict = function() {
157
- return typeof window !== o && window.log === i && (window.log = N), i;
158
- }, i.getLoggers = function() {
156
+ return a.noConflict = function() {
157
+ return typeof window !== o && window.log === a && (window.log = N), a;
158
+ }, a.getLoggers = function() {
159
159
  return c;
160
- }, i.default = i, i;
160
+ }, a.default = a, a;
161
161
  });
162
162
  })(F);
163
163
  var J = F.exports;
164
- const p = /* @__PURE__ */ z(J);
164
+ const y = /* @__PURE__ */ z(J);
165
165
  var K = class extends T {
166
166
  constructor(l) {
167
167
  super(l);
168
- v(this, "logger", p);
169
- p.setLevel(
170
- this.client.NODE_ENV === "production" ? p.levels.INFO : p.levels.DEBUG
171
- ), p.methodFactory = (o, b, y) => (c, i = {}) => {
168
+ p(this, "logger", y);
169
+ y.setLevel(
170
+ this.client.NODE_ENV === "production" ? y.levels.INFO : y.levels.DEBUG
171
+ ), y.methodFactory = (o) => (L, g = {}) => {
172
172
  k().url(`${this.client.apiUrl}/v1/apm/logs/json`).post({
173
173
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
174
174
  level: o,
175
- message: c,
176
- ...i
177
- }).res().catch((w) => console.error(w));
175
+ message: L,
176
+ ...g
177
+ }).res().catch((c) => console.error(c));
178
178
  };
179
179
  }
180
180
  }, V = class extends T {
181
181
  constructor() {
182
182
  super(...arguments);
183
- v(this, "mediaBulkUpload", (l, o = {}) => this.client.fetch.url("/v1/assets/media/bulk").options(o).post(l).json());
184
- v(this, "getAllMedia", async (l = {}) => await this.client.fetch.url("/v1/assets/media/query").post(l).json());
183
+ p(this, "mediaBulkUpload", (l, o = {}) => this.client.fetch.url("/v1/assets/media/bulk").options(o).post(l).json());
184
+ p(this, "getAllMedia", async (l = {}) => await this.client.fetch.url("/v1/assets/media/query").post(l).json());
185
185
  }
186
186
  };
187
187
  const R = G(null), X = ({
@@ -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 { k as c } from "./CollectionFormBuilder-Cl75S4QY.js";
6
- import { GeocoderWidget as d } from "./GeocoderWidget-B2YFZCYX.js";
5
+ import { k as c } from "./CollectionFormBuilder-dqQC2Vnj.js";
6
+ import { GeocoderWidget as d } from "./GeocoderWidget-BbKp8xEY.js";
7
7
  import { B as p } from "./Spinner-DzGH5rKe.js";
8
8
  const g = ({
9
9
  field: l
@@ -3,7 +3,7 @@ import { j as o } from "./jsx-runtime-B6kdoens.js";
3
3
  import { useController as f } from "react-hook-form";
4
4
  import { PhoneInput as g } from "react-international-phone";
5
5
  import { c as l } from "./cn-C9QoOYNG.js";
6
- import { h as x, j as v, k as j } from "./CollectionFormBuilder-Cl75S4QY.js";
6
+ import { h as x, j as v, k as j } from "./CollectionFormBuilder-dqQC2Vnj.js";
7
7
  const k = ({ field: e }) => {
8
8
  const { key: u = "", label: t = "", 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 E } from "./Spinner-DzGH5rKe.js";
7
7
  import { c as N } from "./cn-C9QoOYNG.js";
8
- import { h as G, j as V, k as f } from "./CollectionFormBuilder-Cl75S4QY.js";
8
+ import { h as G, j as V, k as f } from "./CollectionFormBuilder-dqQC2Vnj.js";
9
9
  import { I as q } from "./Input-2CvZ90f8.js";
10
10
  function B(s) {
11
11
  return E({ 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 D, useEffect as G } from "react";
19
19
  import { useController as q } from "react-hook-form";
20
20
  import { G as p, e as J, f as V, g as W, h as Z, i as _, j as P, k as K, l as Q, m as X, n as Y, o as $, p as nn } from "./Spinner-DzGH5rKe.js";
21
21
  import { c as j } from "./cn-C9QoOYNG.js";
22
- import { h as ln, j as en, k as sn } from "./CollectionFormBuilder-Cl75S4QY.js";
22
+ import { h as ln, j as en, k as sn } from "./CollectionFormBuilder-dqQC2Vnj.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 A, useMemo as v } from "react";
4
4
  import { FormProvider as I } from "react-hook-form";
5
5
  import { c as N } from "./cn-C9QoOYNG.js";
6
- import { l as g, F as T } from "./CollectionFormBuilder-Cl75S4QY.js";
7
- import { u as H, S as M } from "./useLevoForm-CMcusFAD.js";
6
+ import { l as g, F as T } from "./CollectionFormBuilder-dqQC2Vnj.js";
7
+ import { u as H, S as M } from "./useLevoForm-D8moCDuJ.js";
8
8
  import { B as y } from "./Spinner-DzGH5rKe.js";
9
9
  const X = () => {
10
10
  const [n, l] = A(0), { containerStyles: m } = g(), a = () => {
@@ -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 { h as w, j, k as v } from "./CollectionFormBuilder-Cl75S4QY.js";
4
+ import { h as w, j, k as v } from "./CollectionFormBuilder-dqQC2Vnj.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 h, get as j } from "react-hook-form";
3
3
  import { c as g } from "./cn-C9QoOYNG.js";
4
- import { j as F, k as b, h as y } from "./CollectionFormBuilder-Cl75S4QY.js";
4
+ import { j as F, k as b, h as y } from "./CollectionFormBuilder-dqQC2Vnj.js";
5
5
  import { I as f } from "./Input-2CvZ90f8.js";
6
6
  const W = ({
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 { j as g, k as h, h as f } from "./CollectionFormBuilder-Cl75S4QY.js";
4
+ import { j as g, k as h, h as f } from "./CollectionFormBuilder-dqQC2Vnj.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 { h as u, j as g, k as j } from "./CollectionFormBuilder-Cl75S4QY.js";
4
+ import { h as u, j as g, k as j } from "./CollectionFormBuilder-dqQC2Vnj.js";
5
5
  import { C } 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-Cl75S4QY.js";
3
- import r from "./TextWidget-LJ-qBQ4d.js";
2
+ import { H as s } from "./CollectionFormBuilder-dqQC2Vnj.js";
3
+ import r from "./TextWidget-DU_YaDEV.js";
4
4
  const a = (t) => /* @__PURE__ */ e.jsx(
5
5
  r,
6
6
  {
@@ -6,9 +6,9 @@ import { useMemo as Q, useState as S, useRef as tr, useEffect as M } from "react
6
6
  import { useController as sr } from "react-hook-form";
7
7
  import { G as R, B as P, S as W, T as er, a as or, c as q, d as G } from "./Spinner-DzGH5rKe.js";
8
8
  import { m as cr, g as K } from "./fileUploadPresets-2raQmHT0.js";
9
- import { u as V } from "./LevoProvider-Cp0CKrgY.js";
9
+ import { u as V } from "./LevoProvider-BI6g_T4E.js";
10
10
  import { e as X } from "./errorHandler-_34Yv8wA.js";
11
- import { h as nr, j as lr, k as dr } from "./CollectionFormBuilder-Cl75S4QY.js";
11
+ import { h as nr, j as lr, k as dr } from "./CollectionFormBuilder-dqQC2Vnj.js";
12
12
  import { I as J } from "./Input-2CvZ90f8.js";
13
13
  import { l as ir, S as F, i as xr } from "./Tooltip-CI4i4mYr.js";
14
14
  import { useDropzone as pr } from "react-dropzone";
@@ -1,9 +1,7 @@
1
1
  import { ILevoAudience } from '@levo-so/core';
2
2
  export declare const LevoAudiencePage: React.FC<{
3
- workspace_id: string;
4
3
  id?: string;
5
4
  properties?: ILevoAudience.Properties;
6
- baseUrl?: string;
7
5
  }>;
8
6
  export default LevoAudiencePage;
9
7
  //# sourceMappingURL=page.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/audience/components/page.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAInD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CA2FA,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/audience/components/page.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAInD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;CACvC,CAoFA,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { L as e, a, b as n } from "../page-YRcNFGqi.js";
1
+ import { L as e, a, b as n } from "../page-D6IRG1XF.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, g as l, b as i, d as o, c as d, i as u, a as f, p as m, f as n, s as F, u as V, v as c } from "../CollectionFormBuilder-Cl75S4QY.js";
1
+ import { C as s, F as r, e as t, g as l, b as i, d as o, c as d, i as u, a as f, p as m, f as n, s as F, u as V, v as c } from "../CollectionFormBuilder-dqQC2Vnj.js";
2
2
  import { default as p } from "validatorjs";
3
3
  export {
4
4
  s as CollectionFormBuilder,