@grapadigital/shared-app-modules 0.0.190 → 0.0.192

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.
@@ -1,4 +1,4 @@
1
- import { i as n } from "./youtube-icon.component.CRGHhhcx.js";
1
+ import { i as n } from "./youtube-icon.component.DTkVj8Ri.js";
2
2
  function a(e) {
3
3
  const r = e.replace(/[^0-9]/g, "");
4
4
  return Number(r) / 100;
@@ -1,8 +1,8 @@
1
1
  import { jsx as d, jsxs as O } from "react/jsx-runtime";
2
- import { aZ as Tn, c as ne, L as In, bg as Mn, B as ye, ac as Be, ae as xe, af as Fe, ag as J, bh as Ye, ah as Re, ai as Te, bi as Ie, bj as jn, I as Nn, d as Ln, g as qn, f as kn, h as _n, j as Hn, aY as Un, T as zn, C as Yn } from "./switch.D4GUsewk.js";
2
+ import { aZ as Tn, c as ne, L as In, bg as Mn, B as ye, ac as Be, ae as Fe, af as xe, ag as J, bh as Ye, ah as Re, ai as Te, bi as Ie, bj as Nn, I as jn, d as Ln, g as qn, f as kn, h as _n, j as Hn, aY as Un, T as zn, C as Yn } from "./switch.D4GUsewk.js";
3
3
  import * as Wn from "react";
4
4
  import k, { createContext as an, Component as Qn, createElement as Tt, forwardRef as G, useState as Z, useEffect as Ee, useContext as Gn, useMemo as Vn, Children as He } from "react";
5
- import { P as be, k as Ce, l as Se, q as ut, r as Ne, s as Le, t as Jn, F as se, C as Zn, b as de, c as fe, h as on } from "./popover.C3VFqVxV.js";
5
+ import { P as be, k as Ce, l as Se, q as ut, r as je, s as Le, t as Jn, F as se, C as Zn, b as de, c as fe, h as on } from "./popover.C3VFqVxV.js";
6
6
  import { useQuery as We } from "@tanstack/react-query";
7
7
  import "date-fns";
8
8
  import { c as Qe, u as Ge, a as Ve } from "./axios.lib.DebbmKD8.js";
@@ -214,9 +214,9 @@ function ir() {
214
214
  };
215
215
  })(dt)), dt;
216
216
  }
217
- var jt;
217
+ var Nt;
218
218
  function sr() {
219
- return jt || (jt = 1, (function(e) {
219
+ return Nt || (Nt = 1, (function(e) {
220
220
  Object.defineProperty(e, "__esModule", {
221
221
  value: !0
222
222
  }), Object.defineProperty(e, "default", {
@@ -567,10 +567,10 @@ function sr() {
567
567
  };
568
568
  })(lt)), lt;
569
569
  }
570
- var ft, Nt;
570
+ var ft, jt;
571
571
  function ur() {
572
- if (Nt) return ft;
573
- Nt = 1;
572
+ if (jt) return ft;
573
+ jt = 1;
574
574
  let e = sr();
575
575
  return ft = (e.__esModule ? e : { default: e }).default, ft;
576
576
  }
@@ -655,7 +655,7 @@ const pr = G(
655
655
  ) }),
656
656
  /* @__PURE__ */ d(Se, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ O(Be, { shouldFilter: !1, children: [
657
657
  /* @__PURE__ */ d(
658
- xe,
658
+ Fe,
659
659
  {
660
660
  ...o,
661
661
  disabled: a,
@@ -666,7 +666,7 @@ const pr = G(
666
666
  ref: i
667
667
  }
668
668
  ),
669
- /* @__PURE__ */ O(Fe, { children: [
669
+ /* @__PURE__ */ O(xe, { children: [
670
670
  f.isSuccess && S?.length === 0 && /* @__PURE__ */ d(J, { children: "Nenhuma ação encontrada." }),
671
671
  f.isError && /* @__PURE__ */ d(J, { children: "Ocorreu um erro ao buscar as ações." }),
672
672
  !f.isEnabled && /* @__PURE__ */ d(J, { children: "Busque uma Ação..." }),
@@ -769,7 +769,7 @@ const cn = G(
769
769
  ) }),
770
770
  /* @__PURE__ */ d(Se, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ O(Be, { shouldFilter: !1, children: [
771
771
  /* @__PURE__ */ d(
772
- xe,
772
+ Fe,
773
773
  {
774
774
  ...i,
775
775
  disabled: a,
@@ -780,7 +780,7 @@ const cn = G(
780
780
  ref: s
781
781
  }
782
782
  ),
783
- /* @__PURE__ */ O(Fe, { children: [
783
+ /* @__PURE__ */ O(xe, { children: [
784
784
  S.isSuccess && D?.length === 0 && /* @__PURE__ */ d(J, { children: "Nenhuma cliente encontrado." }),
785
785
  S.isError && /* @__PURE__ */ d(J, { children: "Ocorreu um erro ao buscar os clientes." }),
786
786
  !S.isEnabled && /* @__PURE__ */ d(J, { children: "Busque um cliente..." }),
@@ -875,7 +875,7 @@ const yr = G(
875
875
  ) }),
876
876
  /* @__PURE__ */ d(Se, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ O(Be, { shouldFilter: !1, children: [
877
877
  /* @__PURE__ */ d(
878
- xe,
878
+ Fe,
879
879
  {
880
880
  ...o,
881
881
  disabled: a,
@@ -886,7 +886,7 @@ const yr = G(
886
886
  ref: i
887
887
  }
888
888
  ),
889
- /* @__PURE__ */ O(Fe, { children: [
889
+ /* @__PURE__ */ O(xe, { children: [
890
890
  f.isSuccess && S?.length === 0 && /* @__PURE__ */ d(J, { children: "Nenhuma influenciador encontrado." }),
891
891
  f.isError && /* @__PURE__ */ d(J, { children: "Ocorreu um erro ao buscar os influenciadores." }),
892
892
  !f.isEnabled && /* @__PURE__ */ d(J, { children: "Busque um influenciador..." }),
@@ -997,6 +997,28 @@ const ln = {
997
997
  paid: "Pago",
998
998
  client: "Pagamento via Cliente",
999
999
  canceled: "Cancelado"
1000
+ }, oo = {
1001
+ pending: "Revisão Atendimento",
1002
+ review: "Revisão Financeiro",
1003
+ awaiting: "Aguardando",
1004
+ requested: "NF Solicitada",
1005
+ received: "NF Recebida",
1006
+ queued: "Na Fila para Pagamento",
1007
+ paid: "Pago",
1008
+ client: "Pagamento via Cliente",
1009
+ canceled: "Cancelado"
1010
+ }, io = {
1011
+ reels: "Reels",
1012
+ images: "Feed (Foto)",
1013
+ carousels: "Carousel",
1014
+ stories: "Story",
1015
+ tiktok: "TikTok",
1016
+ youtube: "YouTube",
1017
+ ytshorts: "YT Shorts",
1018
+ dayAllocation: "Diária",
1019
+ pinterest: "Pin",
1020
+ linkedin: "LinkedIn",
1021
+ twitter: "Tweet"
1000
1022
  }, Or = {
1001
1023
  instagram: ka,
1002
1024
  tiktok: Ua,
@@ -1014,10 +1036,10 @@ function Ct(e) {
1014
1036
  function Br(e) {
1015
1037
  return typeof e != "string" || !e ? !1 : e in Er;
1016
1038
  }
1017
- function xr(e) {
1039
+ function Fr(e) {
1018
1040
  return typeof e != "string" || !e ? !1 : e in Cr;
1019
1041
  }
1020
- function Fr(e) {
1042
+ function xr(e) {
1021
1043
  return typeof e != "string" || !e ? !1 : e in Sr;
1022
1044
  }
1023
1045
  function Rr(e) {
@@ -1029,15 +1051,15 @@ function Tr(e) {
1029
1051
  function Ir(e) {
1030
1052
  return typeof e != "string" || !e ? !1 : e in br;
1031
1053
  }
1032
- const oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1054
+ const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1033
1055
  __proto__: null,
1034
1056
  isActionStatus: Ir,
1035
- isBusinessUnit: xr,
1057
+ isBusinessUnit: Fr,
1036
1058
  isClientType: Br,
1037
1059
  isInfluencerBroadcastMethod: Rr,
1038
1060
  isNumber: Dr,
1039
1061
  isPaymentPhase: Tr,
1040
- isPaymentType: Fr,
1062
+ isPaymentType: xr,
1041
1063
  isSocialNetwork: Ct
1042
1064
  }, Symbol.toStringTag, { value: "Module" })), Mr = async ({
1043
1065
  filter: e,
@@ -1045,7 +1067,7 @@ const oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1045
1067
  }) => (await Qe(t).get("/profiles", {
1046
1068
  params: e
1047
1069
  })).data;
1048
- function jr({
1070
+ function Nr({
1049
1071
  filter: e,
1050
1072
  queryKey: t,
1051
1073
  enabled: r = !0
@@ -1062,7 +1084,7 @@ function jr({
1062
1084
  }
1063
1085
  const dn = G(
1064
1086
  ({ queryKey: e, value: t, defaultValue: r, onValueChange: A, id: n, disabled: a, ...o }, i) => {
1065
- const s = r ? { username: String(r) } : void 0, [l, c] = Z(!1), [u, g] = Z(s), [h, b] = Z(""), C = Ve(h, 200), f = jr({
1087
+ const s = r ? { username: String(r) } : void 0, [l, c] = Z(!1), [u, g] = Z(s), [h, b] = Z(""), C = Ve(h, 200), f = Nr({
1066
1088
  filter: {
1067
1089
  searchTerm: C,
1068
1090
  fromRecruitment: !1
@@ -1100,7 +1122,7 @@ const dn = G(
1100
1122
  ) }),
1101
1123
  /* @__PURE__ */ d(Se, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ O(Be, { shouldFilter: !1, children: [
1102
1124
  /* @__PURE__ */ d(
1103
- xe,
1125
+ Fe,
1104
1126
  {
1105
1127
  ...o,
1106
1128
  disabled: a,
@@ -1111,7 +1133,7 @@ const dn = G(
1111
1133
  ref: i
1112
1134
  }
1113
1135
  ),
1114
- /* @__PURE__ */ O(Fe, { children: [
1136
+ /* @__PURE__ */ O(xe, { children: [
1115
1137
  f.isSuccess && S?.length === 0 && /* @__PURE__ */ d(J, { children: "Nenhuma perfil encontrado." }),
1116
1138
  f.isError && /* @__PURE__ */ d(J, { children: "Ocorreu um erro ao buscar os perfis." }),
1117
1139
  !f.isEnabled && /* @__PURE__ */ d(J, { children: "Busque um perfil..." }),
@@ -1155,7 +1177,7 @@ const dn = G(
1155
1177
  }
1156
1178
  );
1157
1179
  dn.displayName = "ProfileSelectInput";
1158
- function Nr(e) {
1180
+ function jr(e) {
1159
1181
  if (Array.isArray(e)) {
1160
1182
  for (var t = 0, r = new Array(e.length); t < e.length; t++)
1161
1183
  r[t] = e[t];
@@ -1169,7 +1191,7 @@ function qr() {
1169
1191
  throw new TypeError("Invalid attempt to spread non-iterable instance");
1170
1192
  }
1171
1193
  function at(e) {
1172
- return Nr(e) || Lr(e) || qr();
1194
+ return jr(e) || Lr(e) || qr();
1173
1195
  }
1174
1196
  function ae() {
1175
1197
  return ae = Object.assign || function(e) {
@@ -1370,14 +1392,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1370
1392
  function me(e) {
1371
1393
  return $r(e) || eA(e) || tA(e) || nA();
1372
1394
  }
1373
- var je = function(t) {
1395
+ var Ne = function(t) {
1374
1396
  return t === Object(t) ? Object.keys(t) : [];
1375
1397
  }, fn = function(t) {
1376
1398
  return t === Object(t) ? Object.values(t) : [];
1377
1399
  };
1378
1400
  function pn(e, t) {
1379
1401
  var r = Object.assign({}, e);
1380
- return rt(e) && rt(t) && je(t).forEach(function(A) {
1402
+ return rt(e) && rt(t) && Ne(t).forEach(function(A) {
1381
1403
  rt(t[A]) ? A in e ? r[A] = pn(e[A], t[A]) : Object.assign(r, ze({}, A, t[A])) : Object.assign(r, ze({}, A, t[A]));
1382
1404
  }), r;
1383
1405
  }
@@ -1406,7 +1428,7 @@ var Pt = function(t) {
1406
1428
  return A.toUpperCase();
1407
1429
  });
1408
1430
  }, oA = function(t) {
1409
- for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], A = je(t), n = {}, a = 0, o = A.length; a < o; a += 1) {
1431
+ for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], A = Ne(t), n = {}, a = 0, o = A.length; a < o; a += 1) {
1410
1432
  var i = A[a], s = Object.prototype.toString.call(t[i]) !== "[object Object]" || // style defs
1411
1433
  i[0] === ":" || // pseudo selectors
1412
1434
  i[0] === "@" || // @media / @keyframes / @supports / @font-face
@@ -1415,13 +1437,13 @@ var Pt = function(t) {
1415
1437
  }
1416
1438
  return n;
1417
1439
  }, gn = function(t, r) {
1418
- for (var A = r.map(qt), n = je(t), a = {}, o = 0, i = n.length; o < i; o += 1) {
1440
+ for (var A = r.map(qt), n = Ne(t), a = {}, o = 0, i = n.length; o < i; o += 1) {
1419
1441
  var s = n[o];
1420
1442
  (r.indexOf(s) >= 0 || A.indexOf(qt(s)) >= 0) && (a[s] = t[s]);
1421
1443
  }
1422
1444
  return a;
1423
1445
  }, iA = function e(t, r) {
1424
- for (var A = Pt.apply(void 0, [{}, rA(t, r)].concat(me(fn(gn(t, r))))), n = je(A).filter(Dt), a = 0, o = n.length; a < o; a += 1) {
1446
+ for (var A = Pt.apply(void 0, [{}, rA(t, r)].concat(me(fn(gn(t, r))))), n = Ne(A).filter(Dt), a = 0, o = n.length; a < o; a += 1) {
1425
1447
  var i = n[a], s = e(A[i], r);
1426
1448
  r.indexOf(i) >= 0 ? (delete A[i], A = Pt({}, A, s)) : A[i] = s;
1427
1449
  }
@@ -1463,7 +1485,7 @@ var vn = function(t) {
1463
1485
  return [t];
1464
1486
  if (!Array.isArray(t)) {
1465
1487
  var r = t;
1466
- return je(t).reduce(function(A, n) {
1488
+ return Ne(t).reduce(function(A, n) {
1467
1489
  return A.concat(r[n] ? [n] : []);
1468
1490
  }, []);
1469
1491
  }
@@ -1501,7 +1523,7 @@ function we(e) {
1501
1523
  return e;
1502
1524
  }
1503
1525
  var lA = function(t) {
1504
- var r = t && je(t)[0];
1526
+ var r = t && Ne(t)[0];
1505
1527
  return r && r.split("__")[0].split("--")[0];
1506
1528
  }, dA = function(t, r, A) {
1507
1529
  if (t) {
@@ -1687,7 +1709,7 @@ function gA() {
1687
1709
  }
1688
1710
  }
1689
1711
  }
1690
- var p = s, U = l, $ = i, V = o, oe = t, Ae = c, ue = A, ge = b, re = h, W = r, K = a, Y = n, j = u, Q = !1;
1712
+ var p = s, U = l, $ = i, V = o, oe = t, Ae = c, ue = A, ge = b, re = h, W = r, K = a, Y = n, N = u, Q = !1;
1691
1713
  function X(P) {
1692
1714
  return Q || (Q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m(P) || v(P) === s;
1693
1715
  }
@@ -1697,16 +1719,16 @@ function gA() {
1697
1719
  function w(P) {
1698
1720
  return v(P) === i;
1699
1721
  }
1700
- function F(P) {
1722
+ function x(P) {
1701
1723
  return v(P) === o;
1702
1724
  }
1703
- function x(P) {
1725
+ function F(P) {
1704
1726
  return typeof P == "object" && P !== null && P.$$typeof === t;
1705
1727
  }
1706
1728
  function B(P) {
1707
1729
  return v(P) === c;
1708
1730
  }
1709
- function N(P) {
1731
+ function j(P) {
1710
1732
  return v(P) === A;
1711
1733
  }
1712
1734
  function I(P) {
@@ -1727,7 +1749,7 @@ function gA() {
1727
1749
  function te(P) {
1728
1750
  return v(P) === u;
1729
1751
  }
1730
- H.AsyncMode = p, H.ConcurrentMode = U, H.ContextConsumer = $, H.ContextProvider = V, H.Element = oe, H.ForwardRef = Ae, H.Fragment = ue, H.Lazy = ge, H.Memo = re, H.Portal = W, H.Profiler = K, H.StrictMode = Y, H.Suspense = j, H.isAsyncMode = X, H.isConcurrentMode = m, H.isContextConsumer = w, H.isContextProvider = F, H.isElement = x, H.isForwardRef = B, H.isFragment = N, H.isLazy = I, H.isMemo = M, H.isPortal = L, H.isProfiler = z, H.isStrictMode = q, H.isSuspense = te, H.isValidElementType = E, H.typeOf = v;
1752
+ H.AsyncMode = p, H.ConcurrentMode = U, H.ContextConsumer = $, H.ContextProvider = V, H.Element = oe, H.ForwardRef = Ae, H.Fragment = ue, H.Lazy = ge, H.Memo = re, H.Portal = W, H.Profiler = K, H.StrictMode = Y, H.Suspense = N, H.isAsyncMode = X, H.isConcurrentMode = m, H.isContextConsumer = w, H.isContextProvider = x, H.isElement = F, H.isForwardRef = B, H.isFragment = j, H.isLazy = I, H.isMemo = M, H.isPortal = L, H.isProfiler = z, H.isStrictMode = q, H.isSuspense = te, H.isValidElementType = E, H.typeOf = v;
1731
1753
  })()), H;
1732
1754
  }
1733
1755
  var Wt;
@@ -1781,7 +1803,7 @@ function mA() {
1781
1803
  }, gt;
1782
1804
  }
1783
1805
  var mt, Gt;
1784
- function xt() {
1806
+ function Ft() {
1785
1807
  if (Gt) return mt;
1786
1808
  Gt = 1;
1787
1809
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
@@ -1798,7 +1820,7 @@ function hA() {
1798
1820
  var e = function() {
1799
1821
  };
1800
1822
  if (process.env.NODE_ENV !== "production") {
1801
- var t = /* @__PURE__ */ xt(), r = {}, A = /* @__PURE__ */ bn();
1823
+ var t = /* @__PURE__ */ Ft(), r = {}, A = /* @__PURE__ */ bn();
1802
1824
  e = function(a) {
1803
1825
  var o = "Warning: " + a;
1804
1826
  typeof console < "u" && console.error(o);
@@ -1844,7 +1866,7 @@ var yt, Zt;
1844
1866
  function vA() {
1845
1867
  if (Zt) return yt;
1846
1868
  Zt = 1;
1847
- var e = En(), t = mA(), r = /* @__PURE__ */ xt(), A = /* @__PURE__ */ bn(), n = /* @__PURE__ */ hA(), a = function() {
1869
+ var e = En(), t = mA(), r = /* @__PURE__ */ Ft(), A = /* @__PURE__ */ bn(), n = /* @__PURE__ */ hA(), a = function() {
1848
1870
  };
1849
1871
  process.env.NODE_ENV !== "production" && (a = function(i) {
1850
1872
  var s = "Warning: " + i;
@@ -1894,8 +1916,8 @@ function vA() {
1894
1916
  C.prototype = Error.prototype;
1895
1917
  function f(m) {
1896
1918
  if (process.env.NODE_ENV !== "production")
1897
- var w = {}, F = 0;
1898
- function x(N, I, M, L, z, q, te) {
1919
+ var w = {}, x = 0;
1920
+ function F(j, I, M, L, z, q, te) {
1899
1921
  if (L = L || g, q = q || M, te !== r) {
1900
1922
  if (s) {
1901
1923
  var P = new Error(
@@ -1905,23 +1927,23 @@ function vA() {
1905
1927
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1906
1928
  var ce = L + ":" + M;
1907
1929
  !w[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
1908
- F < 3 && (a(
1930
+ x < 3 && (a(
1909
1931
  "You are manually calling a React.PropTypes validation function for the `" + q + "` prop on `" + L + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1910
- ), w[ce] = !0, F++);
1932
+ ), w[ce] = !0, x++);
1911
1933
  }
1912
1934
  }
1913
- return I[M] == null ? N ? I[M] === null ? new C("The " + z + " `" + q + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new C("The " + z + " `" + q + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : m(I, M, L, z, q);
1935
+ return I[M] == null ? j ? I[M] === null ? new C("The " + z + " `" + q + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new C("The " + z + " `" + q + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : m(I, M, L, z, q);
1914
1936
  }
1915
- var B = x.bind(null, !1);
1916
- return B.isRequired = x.bind(null, !0), B;
1937
+ var B = F.bind(null, !1);
1938
+ return B.isRequired = F.bind(null, !0), B;
1917
1939
  }
1918
1940
  function S(m) {
1919
- function w(F, x, B, N, I, M) {
1920
- var L = F[x], z = Y(L);
1941
+ function w(x, F, B, j, I, M) {
1942
+ var L = x[F], z = Y(L);
1921
1943
  if (z !== m) {
1922
- var q = j(L);
1944
+ var q = N(L);
1923
1945
  return new C(
1924
- "Invalid " + N + " `" + I + "` of type " + ("`" + q + "` supplied to `" + B + "`, expected ") + ("`" + m + "`."),
1946
+ "Invalid " + j + " `" + I + "` of type " + ("`" + q + "` supplied to `" + B + "`, expected ") + ("`" + m + "`."),
1925
1947
  { expectedType: m }
1926
1948
  );
1927
1949
  }
@@ -1933,16 +1955,16 @@ function vA() {
1933
1955
  return f(o);
1934
1956
  }
1935
1957
  function E(m) {
1936
- function w(F, x, B, N, I) {
1958
+ function w(x, F, B, j, I) {
1937
1959
  if (typeof m != "function")
1938
1960
  return new C("Property `" + I + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
1939
- var M = F[x];
1961
+ var M = x[F];
1940
1962
  if (!Array.isArray(M)) {
1941
1963
  var L = Y(M);
1942
- return new C("Invalid " + N + " `" + I + "` of type " + ("`" + L + "` supplied to `" + B + "`, expected an array."));
1964
+ return new C("Invalid " + j + " `" + I + "` of type " + ("`" + L + "` supplied to `" + B + "`, expected an array."));
1943
1965
  }
1944
1966
  for (var z = 0; z < M.length; z++) {
1945
- var q = m(M, z, B, N, I + "[" + z + "]", r);
1967
+ var q = m(M, z, B, j, I + "[" + z + "]", r);
1946
1968
  if (q instanceof Error)
1947
1969
  return q;
1948
1970
  }
@@ -1951,32 +1973,32 @@ function vA() {
1951
1973
  return f(w);
1952
1974
  }
1953
1975
  function v() {
1954
- function m(w, F, x, B, N) {
1955
- var I = w[F];
1976
+ function m(w, x, F, B, j) {
1977
+ var I = w[x];
1956
1978
  if (!i(I)) {
1957
1979
  var M = Y(I);
1958
- return new C("Invalid " + B + " `" + N + "` of type " + ("`" + M + "` supplied to `" + x + "`, expected a single ReactElement."));
1980
+ return new C("Invalid " + B + " `" + j + "` of type " + ("`" + M + "` supplied to `" + F + "`, expected a single ReactElement."));
1959
1981
  }
1960
1982
  return null;
1961
1983
  }
1962
1984
  return f(m);
1963
1985
  }
1964
1986
  function p() {
1965
- function m(w, F, x, B, N) {
1966
- var I = w[F];
1987
+ function m(w, x, F, B, j) {
1988
+ var I = w[x];
1967
1989
  if (!e.isValidElementType(I)) {
1968
1990
  var M = Y(I);
1969
- return new C("Invalid " + B + " `" + N + "` of type " + ("`" + M + "` supplied to `" + x + "`, expected a single ReactElement type."));
1991
+ return new C("Invalid " + B + " `" + j + "` of type " + ("`" + M + "` supplied to `" + F + "`, expected a single ReactElement type."));
1970
1992
  }
1971
1993
  return null;
1972
1994
  }
1973
1995
  return f(m);
1974
1996
  }
1975
1997
  function U(m) {
1976
- function w(F, x, B, N, I) {
1977
- if (!(F[x] instanceof m)) {
1978
- var M = m.name || g, L = X(F[x]);
1979
- return new C("Invalid " + N + " `" + I + "` of type " + ("`" + L + "` supplied to `" + B + "`, expected ") + ("instance of `" + M + "`."));
1998
+ function w(x, F, B, j, I) {
1999
+ if (!(x[F] instanceof m)) {
2000
+ var M = m.name || g, L = X(x[F]);
2001
+ return new C("Invalid " + j + " `" + I + "` of type " + ("`" + L + "` supplied to `" + B + "`, expected ") + ("instance of `" + M + "`."));
1980
2002
  }
1981
2003
  return null;
1982
2004
  }
@@ -1987,28 +2009,28 @@ function vA() {
1987
2009
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1988
2010
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1989
2011
  ) : a("Invalid argument supplied to oneOf, expected an array.")), o;
1990
- function w(F, x, B, N, I) {
1991
- for (var M = F[x], L = 0; L < m.length; L++)
2012
+ function w(x, F, B, j, I) {
2013
+ for (var M = x[F], L = 0; L < m.length; L++)
1992
2014
  if (b(M, m[L]))
1993
2015
  return null;
1994
2016
  var z = JSON.stringify(m, function(te, P) {
1995
- var ce = j(P);
2017
+ var ce = N(P);
1996
2018
  return ce === "symbol" ? String(P) : P;
1997
2019
  });
1998
- return new C("Invalid " + N + " `" + I + "` of value `" + String(M) + "` " + ("supplied to `" + B + "`, expected one of " + z + "."));
2020
+ return new C("Invalid " + j + " `" + I + "` of value `" + String(M) + "` " + ("supplied to `" + B + "`, expected one of " + z + "."));
1999
2021
  }
2000
2022
  return f(w);
2001
2023
  }
2002
2024
  function V(m) {
2003
- function w(F, x, B, N, I) {
2025
+ function w(x, F, B, j, I) {
2004
2026
  if (typeof m != "function")
2005
2027
  return new C("Property `" + I + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
2006
- var M = F[x], L = Y(M);
2028
+ var M = x[F], L = Y(M);
2007
2029
  if (L !== "object")
2008
- return new C("Invalid " + N + " `" + I + "` of type " + ("`" + L + "` supplied to `" + B + "`, expected an object."));
2030
+ return new C("Invalid " + j + " `" + I + "` of type " + ("`" + L + "` supplied to `" + B + "`, expected an object."));
2009
2031
  for (var z in M)
2010
2032
  if (A(M, z)) {
2011
- var q = m(M, z, B, N, I + "." + z, r);
2033
+ var q = m(M, z, B, j, I + "." + z, r);
2012
2034
  if (q instanceof Error)
2013
2035
  return q;
2014
2036
  }
@@ -2020,15 +2042,15 @@ function vA() {
2020
2042
  if (!Array.isArray(m))
2021
2043
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), o;
2022
2044
  for (var w = 0; w < m.length; w++) {
2023
- var F = m[w];
2024
- if (typeof F != "function")
2045
+ var x = m[w];
2046
+ if (typeof x != "function")
2025
2047
  return a(
2026
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Q(F) + " at index " + w + "."
2048
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Q(x) + " at index " + w + "."
2027
2049
  ), o;
2028
2050
  }
2029
- function x(B, N, I, M, L) {
2051
+ function F(B, j, I, M, L) {
2030
2052
  for (var z = [], q = 0; q < m.length; q++) {
2031
- var te = m[q], P = te(B, N, I, M, L, r);
2053
+ var te = m[q], P = te(B, j, I, M, L, r);
2032
2054
  if (P == null)
2033
2055
  return null;
2034
2056
  P.data && A(P.data, "expectedType") && z.push(P.data.expectedType);
@@ -2036,29 +2058,29 @@ function vA() {
2036
2058
  var ce = z.length > 0 ? ", expected one of type [" + z.join(", ") + "]" : "";
2037
2059
  return new C("Invalid " + M + " `" + L + "` supplied to " + ("`" + I + "`" + ce + "."));
2038
2060
  }
2039
- return f(x);
2061
+ return f(F);
2040
2062
  }
2041
2063
  function Ae() {
2042
- function m(w, F, x, B, N) {
2043
- return W(w[F]) ? null : new C("Invalid " + B + " `" + N + "` supplied to " + ("`" + x + "`, expected a ReactNode."));
2064
+ function m(w, x, F, B, j) {
2065
+ return W(w[x]) ? null : new C("Invalid " + B + " `" + j + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
2044
2066
  }
2045
2067
  return f(m);
2046
2068
  }
2047
- function ue(m, w, F, x, B) {
2069
+ function ue(m, w, x, F, B) {
2048
2070
  return new C(
2049
- (m || "React class") + ": " + w + " type `" + F + "." + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
2071
+ (m || "React class") + ": " + w + " type `" + x + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
2050
2072
  );
2051
2073
  }
2052
2074
  function ge(m) {
2053
- function w(F, x, B, N, I) {
2054
- var M = F[x], L = Y(M);
2075
+ function w(x, F, B, j, I) {
2076
+ var M = x[F], L = Y(M);
2055
2077
  if (L !== "object")
2056
- return new C("Invalid " + N + " `" + I + "` of type `" + L + "` " + ("supplied to `" + B + "`, expected `object`."));
2078
+ return new C("Invalid " + j + " `" + I + "` of type `" + L + "` " + ("supplied to `" + B + "`, expected `object`."));
2057
2079
  for (var z in m) {
2058
2080
  var q = m[z];
2059
2081
  if (typeof q != "function")
2060
- return ue(B, N, I, z, j(q));
2061
- var te = q(M, z, B, N, I + "." + z, r);
2082
+ return ue(B, j, I, z, N(q));
2083
+ var te = q(M, z, B, j, I + "." + z, r);
2062
2084
  if (te)
2063
2085
  return te;
2064
2086
  }
@@ -2067,21 +2089,21 @@ function vA() {
2067
2089
  return f(w);
2068
2090
  }
2069
2091
  function re(m) {
2070
- function w(F, x, B, N, I) {
2071
- var M = F[x], L = Y(M);
2092
+ function w(x, F, B, j, I) {
2093
+ var M = x[F], L = Y(M);
2072
2094
  if (L !== "object")
2073
- return new C("Invalid " + N + " `" + I + "` of type `" + L + "` " + ("supplied to `" + B + "`, expected `object`."));
2074
- var z = t({}, F[x], m);
2095
+ return new C("Invalid " + j + " `" + I + "` of type `" + L + "` " + ("supplied to `" + B + "`, expected `object`."));
2096
+ var z = t({}, x[F], m);
2075
2097
  for (var q in z) {
2076
2098
  var te = m[q];
2077
2099
  if (A(m, q) && typeof te != "function")
2078
- return ue(B, N, I, q, j(te));
2100
+ return ue(B, j, I, q, N(te));
2079
2101
  if (!te)
2080
2102
  return new C(
2081
- "Invalid " + N + " `" + I + "` key `" + q + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(F[x], null, " ") + `
2103
+ "Invalid " + j + " `" + I + "` key `" + q + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(x[F], null, " ") + `
2082
2104
  Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
2083
2105
  );
2084
- var P = te(M, q, B, N, I + "." + q, r);
2106
+ var P = te(M, q, B, j, I + "." + q, r);
2085
2107
  if (P)
2086
2108
  return P;
2087
2109
  }
@@ -2104,14 +2126,14 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
2104
2126
  return !0;
2105
2127
  var w = u(m);
2106
2128
  if (w) {
2107
- var F = w.call(m), x;
2129
+ var x = w.call(m), F;
2108
2130
  if (w !== m.entries) {
2109
- for (; !(x = F.next()).done; )
2110
- if (!W(x.value))
2131
+ for (; !(F = x.next()).done; )
2132
+ if (!W(F.value))
2111
2133
  return !1;
2112
2134
  } else
2113
- for (; !(x = F.next()).done; ) {
2114
- var B = x.value;
2135
+ for (; !(F = x.next()).done; ) {
2136
+ var B = F.value;
2115
2137
  if (B && !W(B[1]))
2116
2138
  return !1;
2117
2139
  }
@@ -2129,7 +2151,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
2129
2151
  var w = typeof m;
2130
2152
  return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" : K(w, m) ? "symbol" : w;
2131
2153
  }
2132
- function j(m) {
2154
+ function N(m) {
2133
2155
  if (typeof m > "u" || m === null)
2134
2156
  return "" + m;
2135
2157
  var w = Y(m);
@@ -2142,7 +2164,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
2142
2164
  return w;
2143
2165
  }
2144
2166
  function Q(m) {
2145
- var w = j(m);
2167
+ var w = N(m);
2146
2168
  switch (w) {
2147
2169
  case "array":
2148
2170
  case "object":
@@ -2165,7 +2187,7 @@ var Et, Xt;
2165
2187
  function yA() {
2166
2188
  if (Xt) return Et;
2167
2189
  Xt = 1;
2168
- var e = /* @__PURE__ */ xt();
2190
+ var e = /* @__PURE__ */ Ft();
2169
2191
  function t() {
2170
2192
  }
2171
2193
  function r() {
@@ -2333,7 +2355,7 @@ var At = function(t) {
2333
2355
  return De(A === n, "Number of capturing groups in RegExp ".concat(t.toString(), " (").concat(A, ") does not match the number of placeholders in the markup '").concat(r, "' (").concat(n, ")")), t;
2334
2356
  }, BA = function(t, r, A) {
2335
2357
  return t.replace(le.id, r).replace(le.display, A);
2336
- }, xA = [{
2358
+ }, FA = [{
2337
2359
  base: "A",
2338
2360
  letters: /(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g
2339
2361
  }, {
@@ -2603,13 +2625,13 @@ var At = function(t) {
2603
2625
  }, {
2604
2626
  base: "z",
2605
2627
  letters: /(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g
2606
- }], FA = function(t) {
2628
+ }], xA = function(t) {
2607
2629
  var r = t;
2608
- return xA.forEach(function(A) {
2630
+ return FA.forEach(function(A) {
2609
2631
  r = r.replace(A.letters, A.base);
2610
2632
  }), r;
2611
2633
  }, tn = function(t) {
2612
- return FA(t).toLowerCase();
2634
+ return xA(t).toLowerCase();
2613
2635
  }, wn = function(t, r, A) {
2614
2636
  return A ? tn(t).indexOf(tn(r)) : t.toLowerCase().indexOf(r.toLowerCase());
2615
2637
  }, RA = function() {
@@ -2667,7 +2689,7 @@ function st(e, t) {
2667
2689
  };
2668
2690
  return r;
2669
2691
  }
2670
- var jA = function(t, r) {
2692
+ var NA = function(t, r) {
2671
2693
  return t.hasOwnProperty(r) ? t[r]++ : t[r] = 0, r + "_" + t[r];
2672
2694
  };
2673
2695
  function Pn(e) {
@@ -2695,23 +2717,23 @@ function Pn(e) {
2695
2717
  r === t && (E = ee(n, D, t, "START"));
2696
2718
  var v = [], p = {}, U = v, $ = 0, V = function(W, K, Y) {
2697
2719
  if (Ot(E) && E >= K && E <= K + W.length) {
2698
- var j = E - K;
2699
- U.push(Ae(W.substring(0, j), $)), U = [Ae(W.substring(j), $)];
2720
+ var N = E - K;
2721
+ U.push(Ae(W.substring(0, N), $)), U = [Ae(W.substring(N), $)];
2700
2722
  } else
2701
2723
  U.push(Ae(W, $));
2702
2724
  $++;
2703
- }, oe = function(W, K, Y, j, Q, X, m) {
2704
- var w = jA(p, j);
2705
- U.push(ue(j, Q, X, w));
2725
+ }, oe = function(W, K, Y, N, Q, X, m) {
2726
+ var w = NA(p, N);
2727
+ U.push(ue(N, Q, X, w));
2706
2728
  }, Ae = function(W, K) {
2707
2729
  return /* @__PURE__ */ k.createElement("span", ae({}, s("substring"), {
2708
2730
  key: K
2709
2731
  }), W);
2710
- }, ue = function(W, K, Y, j) {
2732
+ }, ue = function(W, K, Y, N) {
2711
2733
  var Q = {
2712
2734
  id: W,
2713
2735
  display: K,
2714
- key: j
2736
+ key: N
2715
2737
  }, X = He.toArray(i)[Y];
2716
2738
  return /* @__PURE__ */ k.cloneElement(X, Q);
2717
2739
  }, ge = function(W) {
@@ -2734,7 +2756,7 @@ Pn.propTypes = {
2734
2756
  })]),
2735
2757
  children: y.oneOfType([y.element, y.arrayOf(y.element)]).isRequired
2736
2758
  };
2737
- var NA = st({
2759
+ var jA = st({
2738
2760
  position: "relative",
2739
2761
  boxSizing: "border-box",
2740
2762
  width: "100%",
@@ -2755,7 +2777,7 @@ var NA = st({
2755
2777
  return {
2756
2778
  "&singleLine": e.singleLine
2757
2779
  };
2758
- }), LA = NA(Pn);
2780
+ }), LA = jA(Pn);
2759
2781
  function On(e) {
2760
2782
  var t = e.id, r = e.focused, A = e.ignoreAccents, n = e.index, a = e.onClick, o = e.onMouseEnter, i = e.query, s = e.renderSuggestion, l = e.suggestion, c = e.style;
2761
2783
  e.className, e.classNames;
@@ -2814,37 +2836,37 @@ function Dn(e) {
2814
2836
  } : h, C = e.ignoreAccents, f = e.containerRef, S = e.children, D = e.style, E = e.customSuggestionsContainer, v = e.onMouseDown, p = e.onMouseEnter, U = Z(void 0), $ = it(U, 2), V = $[0], oe = $[1];
2815
2837
  Ee(function() {
2816
2838
  if (!(!V || V.offsetHeight >= V.scrollHeight || !c)) {
2817
- var Y = V.scrollTop, j = V.children[a].getBoundingClientRect(), Q = j.top, X = j.bottom, m = V.getBoundingClientRect(), w = m.top;
2839
+ var Y = V.scrollTop, N = V.children[a].getBoundingClientRect(), Q = N.top, X = N.bottom, m = V.getBoundingClientRect(), w = m.top;
2818
2840
  Q = Q - w + Y, X = X - w + Y, Q < Y ? V.scrollTop = Q : X > V.offsetHeight && (V.scrollTop = X - V.offsetHeight);
2819
2841
  }
2820
2842
  }, [a, c, V]);
2821
2843
  var Ae = function() {
2822
- var j = /* @__PURE__ */ k.createElement("ul", ae({
2844
+ var N = /* @__PURE__ */ k.createElement("ul", ae({
2823
2845
  ref: oe,
2824
2846
  id: t,
2825
2847
  role: "listbox",
2826
2848
  "aria-label": n
2827
2849
  }, D("list")), Object.values(A).reduce(function(Q, X) {
2828
2850
  var m = X.results, w = X.queryInfo;
2829
- return [].concat(at(Q), at(m.map(function(F, x) {
2830
- return ue(F, w, Q.length + x);
2851
+ return [].concat(at(Q), at(m.map(function(x, F) {
2852
+ return ue(x, w, Q.length + F);
2831
2853
  })));
2832
2854
  }, []));
2833
- return E ? E(j) : j;
2834
- }, ue = function(j, Q, X) {
2835
- var m = X === a, w = Q.childIndex, F = Q.query, x = He.toArray(S)[w].props.renderSuggestion;
2855
+ return E ? E(N) : N;
2856
+ }, ue = function(N, Q, X) {
2857
+ var m = X === a, w = Q.childIndex, x = Q.query, F = He.toArray(S)[w].props.renderSuggestion;
2836
2858
  return /* @__PURE__ */ k.createElement(kA, {
2837
2859
  style: D("item"),
2838
- key: "".concat(w, "-").concat(K(j)),
2860
+ key: "".concat(w, "-").concat(K(N)),
2839
2861
  id: Sn(t, X),
2840
- query: F,
2862
+ query: x,
2841
2863
  index: X,
2842
2864
  ignoreAccents: C,
2843
- renderSuggestion: x,
2844
- suggestion: j,
2865
+ renderSuggestion: F,
2866
+ suggestion: N,
2845
2867
  focused: m,
2846
2868
  onClick: function() {
2847
- return W(j, Q);
2869
+ return W(N, Q);
2848
2870
  },
2849
2871
  onMouseEnter: function() {
2850
2872
  return re(X);
@@ -2855,12 +2877,12 @@ function Dn(e) {
2855
2877
  return /* @__PURE__ */ k.createElement(_A, {
2856
2878
  style: D("loadingIndicator")
2857
2879
  });
2858
- }, re = function(j, Q) {
2859
- p && p(j);
2860
- }, W = function(j, Q) {
2861
- b(j, Q);
2862
- }, K = function(j) {
2863
- return typeof j == "string" ? j : j.id;
2880
+ }, re = function(N, Q) {
2881
+ p && p(N);
2882
+ }, W = function(N, Q) {
2883
+ b(N, Q);
2884
+ }, K = function(N) {
2885
+ return typeof N == "string" ? N : N.id;
2864
2886
  };
2865
2887
  return g ? /* @__PURE__ */ k.createElement("div", ae({}, fA({
2866
2888
  position: o || "absolute",
@@ -2987,7 +3009,7 @@ var QA = function(t) {
2987
3009
  current: typeof Element > "u" ? y.any : y.instanceOf(Element)
2988
3010
  })]),
2989
3011
  children: y.oneOfType([y.element, y.arrayOf(y.element)]).isRequired
2990
- }, Ft = /* @__PURE__ */ (function(e) {
3012
+ }, xt = /* @__PURE__ */ (function(e) {
2991
3013
  Ur(r, e);
2992
3014
  var t = YA(r);
2993
3015
  function r(A) {
@@ -3390,8 +3412,8 @@ var QA = function(t) {
3390
3412
  // Handle input element's change event
3391
3413
  }]), r;
3392
3414
  })(k.Component);
3393
- R(Ft, "propTypes", Bn);
3394
- R(Ft, "defaultProps", {
3415
+ R(xt, "propTypes", Bn);
3416
+ R(xt, "defaultProps", {
3395
3417
  ignoreAccents: !1,
3396
3418
  singleLine: !1,
3397
3419
  allowSuggestionsAboveCursor: !1,
@@ -3441,9 +3463,9 @@ var bt = function(t, r) {
3441
3463
  "&singleLine": t,
3442
3464
  "&multiLine": !t
3443
3465
  };
3444
- }), io = JA(Ft), ZA = {
3466
+ }), uo = JA(xt), ZA = {
3445
3467
  fontWeight: "inherit"
3446
- }, xn = function(t) {
3468
+ }, Fn = function(t) {
3447
3469
  var r = t.display, A = t.style, n = t.className, a = t.classNames, o = Bt(ZA, {
3448
3470
  style: A,
3449
3471
  className: n,
@@ -3451,7 +3473,7 @@ var bt = function(t, r) {
3451
3473
  });
3452
3474
  return /* @__PURE__ */ k.createElement("strong", o, r);
3453
3475
  };
3454
- xn.propTypes = {
3476
+ Fn.propTypes = {
3455
3477
  /**
3456
3478
  * Called when a new mention is added in the input
3457
3479
  *
@@ -3475,7 +3497,7 @@ xn.propTypes = {
3475
3497
  allowSpaceInQuery: y.bool,
3476
3498
  isLoading: y.bool
3477
3499
  };
3478
- xn.defaultProps = {
3500
+ Fn.defaultProps = {
3479
3501
  trigger: "@",
3480
3502
  markup: "@[__display__](__id__)",
3481
3503
  displayTransform: function(t, r) {
@@ -3510,7 +3532,7 @@ function KA({
3510
3532
  enabled: r && !!(e.title && e.title.length > 3)
3511
3533
  });
3512
3534
  }
3513
- const Fn = G(
3535
+ const xn = G(
3514
3536
  ({ queryKey: e, value: t, defaultValue: r, onValueChange: A, id: n, disabled: a, ...o }, i) => {
3515
3537
  const s = r ? { title: String(r) } : void 0, [l, c] = Z(!1), [u, g] = Z(s), [h, b] = Z(""), C = Ve(h, 200), f = KA({
3516
3538
  filter: {
@@ -3546,7 +3568,7 @@ const Fn = G(
3546
3568
  ) }),
3547
3569
  /* @__PURE__ */ d(Se, { className: "w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ O(Be, { shouldFilter: !1, children: [
3548
3570
  /* @__PURE__ */ d(
3549
- xe,
3571
+ Fe,
3550
3572
  {
3551
3573
  ...o,
3552
3574
  disabled: a,
@@ -3557,7 +3579,7 @@ const Fn = G(
3557
3579
  ref: i
3558
3580
  }
3559
3581
  ),
3560
- /* @__PURE__ */ O(Fe, { children: [
3582
+ /* @__PURE__ */ O(xe, { children: [
3561
3583
  f.isSuccess && S?.length === 0 && /* @__PURE__ */ d(J, { children: "Nenhuma venda encontrado." }),
3562
3584
  f.isError && /* @__PURE__ */ d(J, { children: "Ocorreu um erro ao buscar as vendas." }),
3563
3585
  !f.isEnabled && /* @__PURE__ */ d(J, { children: "Busque uma venda..." }),
@@ -3594,7 +3616,7 @@ const Fn = G(
3594
3616
  ] });
3595
3617
  }
3596
3618
  );
3597
- Fn.displayName = "SaleSelectInput";
3619
+ xn.displayName = "SaleSelectInput";
3598
3620
  const Rn = G(
3599
3621
  ({ users: e, value: t, onValueChange: r, isLoading: A, disabled: n, placeholder: a = "Selecionar", id: o }, i) => {
3600
3622
  const [s, l] = Z(!1), c = e.find((u) => u.email === t);
@@ -3617,8 +3639,8 @@ const Rn = G(
3617
3639
  }
3618
3640
  ) }),
3619
3641
  /* @__PURE__ */ d(Se, { className: "z-[10000] w-full min-w-[var(--radix-popper-anchor-width)] p-0", children: /* @__PURE__ */ O(Be, { children: [
3620
- /* @__PURE__ */ d(xe, { placeholder: "Buscar usuário...", className: "h-9" }),
3621
- /* @__PURE__ */ O(Fe, { onWheel: (u) => u.stopPropagation(), children: [
3642
+ /* @__PURE__ */ d(Fe, { placeholder: "Buscar usuário...", className: "h-9" }),
3643
+ /* @__PURE__ */ O(xe, { onWheel: (u) => u.stopPropagation(), children: [
3622
3644
  /* @__PURE__ */ d(J, { children: "Nenhum usuário encontrado." }),
3623
3645
  /* @__PURE__ */ d(Re, { children: e.map((u) => /* @__PURE__ */ O(
3624
3646
  Te,
@@ -3881,24 +3903,24 @@ const $A = {
3881
3903
  return t?.unit === "week" ? r + "ª" : r + "º";
3882
3904
  }, pa = {
3883
3905
  ordinalNumber: fa,
3884
- era: Ne({
3906
+ era: je({
3885
3907
  values: ia,
3886
3908
  defaultWidth: "wide"
3887
3909
  }),
3888
- quarter: Ne({
3910
+ quarter: je({
3889
3911
  values: sa,
3890
3912
  defaultWidth: "wide",
3891
3913
  argumentCallback: (e) => e - 1
3892
3914
  }),
3893
- month: Ne({
3915
+ month: je({
3894
3916
  values: ua,
3895
3917
  defaultWidth: "wide"
3896
3918
  }),
3897
- day: Ne({
3919
+ day: je({
3898
3920
  values: ca,
3899
3921
  defaultWidth: "wide"
3900
3922
  }),
3901
- dayPeriod: Ne({
3923
+ dayPeriod: je({
3902
3924
  values: la,
3903
3925
  defaultWidth: "wide",
3904
3926
  formattingValues: da,
@@ -4021,7 +4043,7 @@ const $A = {
4021
4043
  weekStartsOn: 0,
4022
4044
  firstWeekContainsDate: 1
4023
4045
  }
4024
- }, xa = G(
4046
+ }, Fa = G(
4025
4047
  ({
4026
4048
  label: e,
4027
4049
  name: t,
@@ -4049,7 +4071,7 @@ const $A = {
4049
4071
  ref: l,
4050
4072
  children: [
4051
4073
  r ? new Date(r).toLocaleDateString() : "dd/mm/aa",
4052
- /* @__PURE__ */ d(jn, {})
4074
+ /* @__PURE__ */ d(Nn, {})
4053
4075
  ]
4054
4076
  }
4055
4077
  ) }),
@@ -4075,8 +4097,8 @@ const $A = {
4075
4097
  ] });
4076
4098
  }
4077
4099
  );
4078
- xa.displayName = "FieldCalendar";
4079
- const Fa = G(({ label: e, description: t, asterisk: r, invalid: A, error: n, ...a }, o) => {
4100
+ Fa.displayName = "FieldCalendar";
4101
+ const xa = G(({ label: e, description: t, asterisk: r, invalid: A, error: n, ...a }, o) => {
4080
4102
  const { name: i } = a;
4081
4103
  return r && !e && console.warn(
4082
4104
  "A prop `asterisk` deve ser utilizada junto com a prop `label`."
@@ -4095,7 +4117,7 @@ const Fa = G(({ label: e, description: t, asterisk: r, invalid: A, error: n, ...
4095
4117
  A && /* @__PURE__ */ d(fe, { errors: [n] })
4096
4118
  ] });
4097
4119
  });
4098
- Fa.displayName = "FieldClientSelectInput";
4120
+ xa.displayName = "FieldClientSelectInput";
4099
4121
  const Ra = G(
4100
4122
  ({ label: e, description: t, asterisk: r, invalid: A, error: n, ...a }, o) => {
4101
4123
  const { name: i } = a;
@@ -4103,7 +4125,7 @@ const Ra = G(
4103
4125
  "A prop `asterisk` deve ser utilizada junto com a prop `label`."
4104
4126
  ), /* @__PURE__ */ O(se, { "data-invalid": A, children: [
4105
4127
  e && /* @__PURE__ */ d(pe, { htmlFor: i, asterisk: r, children: e }),
4106
- /* @__PURE__ */ d(Nn, { id: i, "aria-invalid": A, ...a, ref: o }),
4128
+ /* @__PURE__ */ d(jn, { id: i, "aria-invalid": A, ...a, ref: o }),
4107
4129
  t && /* @__PURE__ */ d(de, { children: t }),
4108
4130
  A && /* @__PURE__ */ d(fe, { errors: [n] })
4109
4131
  ] });
@@ -4137,7 +4159,7 @@ const Ia = G(({ label: e, description: t, asterisk: r, invalid: A, error: n, ...
4137
4159
  ), /* @__PURE__ */ O(se, { "data-invalid": A, children: [
4138
4160
  e && /* @__PURE__ */ d(pe, { htmlFor: i, asterisk: r, children: e }),
4139
4161
  /* @__PURE__ */ d(
4140
- Fn,
4162
+ xn,
4141
4163
  {
4142
4164
  id: i,
4143
4165
  "aria-invalid": A,
@@ -4193,7 +4215,7 @@ const Ma = G(
4193
4215
  ] }))
4194
4216
  );
4195
4217
  Ma.displayName = "FieldSelect";
4196
- const ja = G(
4218
+ const Na = G(
4197
4219
  ({ label: e, description: t, asterisk: r, invalid: A, error: n, value: a, onChange: o, ...i }, s) => {
4198
4220
  const { name: l } = i;
4199
4221
  return r && !e && console.warn(
@@ -4219,8 +4241,8 @@ const ja = G(
4219
4241
  ] });
4220
4242
  }
4221
4243
  );
4222
- ja.displayName = "FieldSwitch";
4223
- const Na = G(({ label: e, description: t, asterisk: r, invalid: A, error: n, ...a }, o) => {
4244
+ Na.displayName = "FieldSwitch";
4245
+ const ja = G(({ label: e, description: t, asterisk: r, invalid: A, error: n, ...a }, o) => {
4224
4246
  const { name: i } = a;
4225
4247
  return r && !e && console.warn(
4226
4248
  "A prop `asterisk` deve ser utilizada junto com a prop `label`."
@@ -4231,7 +4253,7 @@ const Na = G(({ label: e, description: t, asterisk: r, invalid: A, error: n, ...
4231
4253
  A && /* @__PURE__ */ d(fe, { errors: [n] })
4232
4254
  ] });
4233
4255
  });
4234
- Na.displayName = "FieldTextarea";
4256
+ ja.displayName = "FieldTextarea";
4235
4257
  const La = G(
4236
4258
  ({ label: e, description: t, asterisk: r, invalid: A, error: n, value: a, onChange: o, ...i }, s) => {
4237
4259
  const { name: l } = i;
@@ -4435,56 +4457,58 @@ function Ya({
4435
4457
  );
4436
4458
  }
4437
4459
  export {
4460
+ Ya as $,
4438
4461
  ro as A,
4439
4462
  Cr as B,
4440
4463
  Er as C,
4441
- xa as D,
4442
- Fa as E,
4464
+ io as D,
4465
+ xn as E,
4443
4466
  pe as F,
4444
- Ra as G,
4445
- Ta as H,
4467
+ Fa as G,
4468
+ xa as H,
4446
4469
  wr as I,
4447
- Ia as J,
4448
- Ma as K,
4449
- ja as L,
4450
- io as M,
4451
- Na as N,
4452
- La as O,
4470
+ Ra as J,
4471
+ Ta as K,
4472
+ Ia as L,
4473
+ uo as M,
4474
+ Ma as N,
4475
+ Na as O,
4453
4476
  Sr as P,
4454
- qa as Q,
4477
+ ja as Q,
4455
4478
  Rn as R,
4456
4479
  ln as S,
4457
4480
  ao as T,
4458
- ka as U,
4459
- _a as V,
4460
- Ha as W,
4461
- Ua as X,
4462
- za as Y,
4463
- Ya as Z,
4481
+ La as U,
4482
+ qa as V,
4483
+ ka as W,
4484
+ _a as X,
4485
+ Ha as Y,
4486
+ Ua as Z,
4487
+ za as _,
4464
4488
  br as a,
4465
4489
  Ao as b,
4466
4490
  Pr as c,
4467
- Or as d,
4468
- oo as e,
4469
- Ct as f,
4470
- Br as g,
4471
- xr as h,
4491
+ oo as d,
4492
+ Or as e,
4493
+ so as f,
4494
+ Ct as g,
4495
+ Br as h,
4472
4496
  Dr as i,
4473
4497
  Fr as j,
4474
- Rr as k,
4475
- Tr as l,
4476
- Ir as m,
4477
- no as n,
4478
- xn as o,
4479
- tr as p,
4480
- nr as q,
4481
- rr as r,
4482
- Ar as s,
4483
- ar as t,
4484
- lr as u,
4485
- pr as v,
4486
- cn as w,
4487
- yr as x,
4488
- dn as y,
4489
- Fn as z
4498
+ xr as k,
4499
+ Rr as l,
4500
+ Tr as m,
4501
+ Ir as n,
4502
+ no as o,
4503
+ Fn as p,
4504
+ tr as q,
4505
+ nr as r,
4506
+ rr as s,
4507
+ Ar as t,
4508
+ ar as u,
4509
+ lr as v,
4510
+ pr as w,
4511
+ cn as x,
4512
+ yr as y,
4513
+ dn as z
4490
4514
  };
@@ -1,10 +1,10 @@
1
- import { aZ as v, c as g, B as N, bf as I, w as M, F as R, aq as T, ar as F, as as A, W as O, X as $, $ as C, _ as B, Y as P, a0 as U } from "./chuncks/switch.D4GUsewk.js";
1
+ import { aZ as v, c as g, B as N, bf as I, w as M, F as R, aq as T, ar as F, as as A, W as j, X as O, $ as C, _ as B, Y as P, a0 as U } from "./chuncks/switch.D4GUsewk.js";
2
2
  import { jsxs as l, jsx as e, Fragment as D } from "react/jsx-runtime";
3
3
  import S, { Suspense as K, useState as L, useRef as E, useEffect as H, useMemo as W } from "react";
4
4
  import { B as q, S as k, c as X, T as Q, a as V, b as G } from "./chuncks/badge.Cur4Mrd7.js";
5
5
  import { QueryErrorResetBoundary as Y, useQuery as Z } from "@tanstack/react-query";
6
- import { n as J, M as ee, o as te } from "./chuncks/youtube-icon.component.CRGHhhcx.js";
7
- import { v as nt, w as at, D as rt, O as st, E as it, G as ot, F as lt, H as dt, Q as ct, J as gt, K as ut, L as mt, N as pt, u as xt, x as ht, U as bt, V as ft, p as yt, q as vt, r as wt, s as kt, t as Nt, W as Ct, y as St, R as _t, z as zt, X as It, Y as Mt, Z as Rt } from "./chuncks/youtube-icon.component.CRGHhhcx.js";
6
+ import { o as J, M as ee, p as te } from "./chuncks/youtube-icon.component.DTkVj8Ri.js";
7
+ import { w as nt, x as at, G as rt, U as st, H as it, J as ot, F as lt, K as dt, V as ct, L as gt, N as ut, O as mt, Q as pt, v as xt, y as ht, W as bt, X as ft, q as yt, r as vt, s as wt, t as kt, u as Nt, Y as Ct, z as St, R as _t, E as zt, Z as It, _ as Mt, $ as Rt } from "./chuncks/youtube-icon.component.DTkVj8Ri.js";
8
8
  import { parseISO as _, differenceInCalendarDays as ne, format as ae } from "date-fns";
9
9
  import { u as re, a as se } from "./chuncks/axios.lib.DebbmKD8.js";
10
10
  import "./chuncks/shared-app-modules.provider.DRJ7n4Cj.js";
@@ -59,7 +59,7 @@ const ye = [
59
59
  ["path", { d: "m17 8-5-5-5 5", key: "7q97r8" }],
60
60
  ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }]
61
61
  ], ve = v("upload", ye);
62
- function $e({
62
+ function Oe({
63
63
  icon: a = ve,
64
64
  title: n = "Enviar arquivos",
65
65
  description: r = "Arraste e solte os arquivos aqui ou clique para selecionar.",
@@ -433,8 +433,8 @@ function Ve({
433
433
  hasActions: r = !1,
434
434
  actionsCount: s = 1
435
435
  }) {
436
- return /* @__PURE__ */ l(O, { children: [
437
- /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(C, { children: Array.from({ length: a }).map((i, t) => {
436
+ return /* @__PURE__ */ l(j, { children: [
437
+ /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(C, { children: Array.from({ length: a }).map((i, t) => {
438
438
  const o = r && t === a - 1;
439
439
  return /* @__PURE__ */ e(
440
440
  B,
@@ -456,9 +456,9 @@ function Ve({
456
456
  }) }, t)) })
457
457
  ] });
458
458
  }
459
- const Se = "@[__display__](__id__)", j = /@\[([^\]]+)\]\(([^)]+)\)/g;
459
+ const Se = "@[__display__](__id__)", $ = /@\[([^\]]+)\]\(([^)]+)\)/g;
460
460
  function _e(a) {
461
- const n = [], r = new RegExp(j);
461
+ const n = [], r = new RegExp($);
462
462
  let s;
463
463
  for (; (s = r.exec(a)) !== null; )
464
464
  n.push({ display: s[1], id: s[2] });
@@ -584,7 +584,7 @@ function Ye({
584
584
  );
585
585
  }
586
586
  function Ze({ text: a, className: n }) {
587
- const r = new RegExp(j), s = [];
587
+ const r = new RegExp($), s = [];
588
588
  let i = 0, t, o = 0;
589
589
  for (; (t = r.exec(a)) !== null; )
590
590
  t.index > i && s.push(
@@ -622,7 +622,7 @@ function Je({
622
622
  }
623
623
  export {
624
624
  Be as AsyncBoundary,
625
- $e as AttachmentInput,
625
+ Oe as AttachmentInput,
626
626
  nt as CampaignsSelectInput,
627
627
  at as ClientSelectInput,
628
628
  we as ErrorCard,
@@ -23,6 +23,18 @@ export declare const banks: {
23
23
  longName: string;
24
24
  }[];
25
25
 
26
+ export declare const BANKS_VALUES: {
27
+ readonly pending: "Revisão Atendimento";
28
+ readonly review: "Revisão Financeiro";
29
+ readonly awaiting: "Aguardando";
30
+ readonly requested: "NF Solicitada";
31
+ readonly received: "NF Recebida";
32
+ readonly queued: "Na Fila para Pagamento";
33
+ readonly paid: "Pago";
34
+ readonly client: "Pagamento via Cliente";
35
+ readonly canceled: "Cancelado";
36
+ };
37
+
26
38
  export declare const BUSINESS_UNIT_VALUES: {
27
39
  readonly service: "Atendimento";
28
40
  readonly comercial: "Comercial";
@@ -35,6 +47,20 @@ export declare const CLIENT_TYPE_VALUES: {
35
47
  readonly brand: "Marca";
36
48
  };
37
49
 
50
+ export declare const DELIVERY_SCOPE_VALUES: {
51
+ readonly reels: "Reels";
52
+ readonly images: "Feed (Foto)";
53
+ readonly carousels: "Carousel";
54
+ readonly stories: "Story";
55
+ readonly tiktok: "TikTok";
56
+ readonly youtube: "YouTube";
57
+ readonly ytshorts: "YT Shorts";
58
+ readonly dayAllocation: "Diária";
59
+ readonly pinterest: "Pin";
60
+ readonly linkedin: "LinkedIn";
61
+ readonly twitter: "Tweet";
62
+ };
63
+
38
64
  /**
39
65
  * Mensagem de erro genérico.
40
66
  * @returns {string} A mensagem.
package/dist/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as t, A as N, B as l, C as g, I as p, c as E, P as i, b as s, d as _, S as B, T } from "./chuncks/youtube-icon.component.CRGHhhcx.js";
1
+ import { a as t, A as N, d as l, B as E, C as g, D as p, I as s, c as i, P as _, b as B, e as P, S as T, T as L } from "./chuncks/youtube-icon.component.DTkVj8Ri.js";
2
2
  const o = "Não há dados para atualizar.", a = "O filtro selecionado já está ativo. Por favor, escolha outro filtro antes de tentar novamente.", e = "Nenhum dado novo foi informado para realizar a operação. Por favor, atualize os campos antes de tentar novamente.", n = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.", m = "Há um erro na validação dos campos. Por favor, entre em contato com o suporte.", c = "Campo obrigatório.", S = [
3
3
  {
4
4
  compe: "001",
@@ -144,20 +144,22 @@ const o = "Não há dados para atualizar.", a = "O filtro selecionado já está
144
144
  export {
145
145
  t as ACTION_STATUS_VALUES,
146
146
  N as ACTION_TYPE_VALUES,
147
- l as BUSINESS_UNIT_VALUES,
147
+ l as BANKS_VALUES,
148
+ E as BUSINESS_UNIT_VALUES,
148
149
  g as CLIENT_TYPE_VALUES,
150
+ p as DELIVERY_SCOPE_VALUES,
149
151
  n as ERROR_MESSAGE,
150
152
  a as FILTER_ALREADY_APPLIED_MESSAGE,
151
- p as INFLUENCER_BROADCAST_METHOD_VALUES,
153
+ s as INFLUENCER_BROADCAST_METHOD_VALUES,
152
154
  o as NO_DATA_TO_UPDATE,
153
155
  e as NO_DATA_TO_UPDATE_MESSAGE,
154
- E as PAYMENT_PHASE_VALUES,
155
- i as PAYMENT_TYPE_VALUES,
156
+ i as PAYMENT_PHASE_VALUES,
157
+ _ as PAYMENT_TYPE_VALUES,
156
158
  c as REQUIRED_FIELD_MESSAGE,
157
- s as SOCIAL_NETWORK_COLOR_VALUES,
158
- _ as SOCIAL_NETWORK_ICON_COMPONENTS,
159
- B as SOCIAL_NETWORK_VALUES,
160
- T as TYPE_SALE_VALUES,
159
+ B as SOCIAL_NETWORK_COLOR_VALUES,
160
+ P as SOCIAL_NETWORK_ICON_COMPONENTS,
161
+ T as SOCIAL_NETWORK_VALUES,
162
+ L as TYPE_SALE_VALUES,
161
163
  m as VALIDATION_ERROR_MESSAGE,
162
164
  S as banks
163
165
  };
package/dist/events.js CHANGED
@@ -1,4 +1,4 @@
1
- import { p as o } from "./chuncks/format.util.BTMXECYG.js";
1
+ import { p as o } from "./chuncks/format.util.hT2Ajyma.js";
2
2
  const i = (t, a) => {
3
3
  const e = t.target.value, n = o(e);
4
4
  n !== !1 && a(n);
package/dist/utils.js CHANGED
@@ -1,7 +1,7 @@
1
- import { U as t } from "./chuncks/format.util.BTMXECYG.js";
2
- import { g as y, h as k, f as C, b as E, d as L, m as P, c as _, e as O, a as D, p as I, u as U } from "./chuncks/format.util.BTMXECYG.js";
3
- import { e as s } from "./chuncks/youtube-icon.component.CRGHhhcx.js";
4
- import { m as j, h as N, g as q, k as x, i as F, l as T, j as A, f as G } from "./chuncks/youtube-icon.component.CRGHhhcx.js";
1
+ import { U as t } from "./chuncks/format.util.hT2Ajyma.js";
2
+ import { g as y, h as k, f as C, b as E, d as L, m as P, c as _, e as O, a as D, p as I, u as U } from "./chuncks/format.util.hT2Ajyma.js";
3
+ import { f as s } from "./chuncks/youtube-icon.component.DTkVj8Ri.js";
4
+ import { n as j, j as N, h as q, l as x, i as F, m as T, k as A, g as G } from "./chuncks/youtube-icon.component.DTkVj8Ri.js";
5
5
  const a = (e) => e ? `${e} é obrigatório.` : "Campo obrigatório.", o = (e, r) => r ? `${r} deve ter no mínimo ${e} caracteres.` : `Deve ter no mínimo ${e} caracteres.`, n = (e, r) => r ? `${r} deve ter no máximo ${e} caracteres.` : `Deve ter no máximo ${e} caracteres.`, i = (e, r) => r ? `${r} não pode ser menor que ${e}.` : `Não pode ser menor que ${e}.`, m = (e, r) => r ? `${r} não pode ser maior que ${e}.` : `Não pode ser maior que ${e}.`, u = (e) => e ? `${e} inválido.` : "Valor inválido.", c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6
6
  __proto__: null,
7
7
  invalidMessage: u,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-app-modules",
3
3
  "private": false,
4
- "version": "0.0.190",
4
+ "version": "0.0.192",
5
5
  "files": [
6
6
  "dist"
7
7
  ],