@grapadigital/shared-app-modules 0.0.210 → 0.0.211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chuncks/{format.util.C8JNQHuz.js → format.util.B1bqic1Z.js} +1 -1
- package/dist/chuncks/{youtube-icon.component.BrliOl2F.js → youtube-icon.component.DAQZy0aH.js} +67 -59
- package/dist/components.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/dictionaries.d.ts +29 -0
- package/dist/dictionaries.js +4 -3
- package/dist/events.js +1 -1
- package/dist/utils.js +4 -4
- package/package.json +1 -1
package/dist/chuncks/{youtube-icon.component.BrliOl2F.js → youtube-icon.component.DAQZy0aH.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as h, Fragment as jt } from "react/jsx-runtime";
|
|
|
2
2
|
import { aZ as de, w as Wt, c as $, F as Qt, B as K, L as Ir, bo as Rr, I as Qn, x as Gn, z as Jn, A as Xn, D as Br, v as Nr, o as Mr, r as kr, u as jr, p as _r, Q as qr, R as Lr, U as An, V as un, a2 as zr, a5 as Hr, a7 as Ur, a8 as Yr, aa as Vr, a9 as Wr, a6 as Qr, S as Gr, C as Zn, a_ as Jr, bp as De, ac as je, ae as _e, af as qe, ag as X, bq as $e, ah as Le, ai as ze, b0 as Xr, d as Zr, g as Kr, f as $r, h as ea, j as ta, aY as na, T as ra } from "./switch.D_38xWg-.js";
|
|
3
3
|
import * as aa from "react";
|
|
4
4
|
import M, { createContext as vt, Component as oa, createElement as ln, Suspense as sa, forwardRef as G, useState as V, useContext as Gt, useEffect as Fe, useMemo as ia, Children as Je } from "react";
|
|
5
|
-
import { S as _t, F as ae, b as
|
|
5
|
+
import { S as _t, F as ae, b as ve, c as fe, m as Aa, B as yt, u as ua, P as Se, o as xe, p as Pe, d as la, a as cn, T as ca, k as da, l as fa, v as St, w as Ye, x as Ve, y as pa, C as ga, h as Kn } from "./badge.tZcF7uIJ.js";
|
|
6
6
|
import { QueryErrorResetBoundary as ma, useSuspenseQuery as ha, useQueryClient as Jt, useMutation as Xt, useQuery as et } from "@tanstack/react-query";
|
|
7
7
|
import "date-fns";
|
|
8
8
|
import { b as bt, c as tt, u as nt, a as rt } from "./use-shared-app-modules.hook.uZhjsTQ0.js";
|
|
@@ -246,7 +246,7 @@ function to(e) {
|
|
|
246
246
|
return Object.values(e);
|
|
247
247
|
}
|
|
248
248
|
const qA = (e) => e !== 0 && !e ? null : new Date(e);
|
|
249
|
-
function
|
|
249
|
+
function pe(e) {
|
|
250
250
|
function t(a) {
|
|
251
251
|
return !a || !(a in e) ? null : e[a];
|
|
252
252
|
}
|
|
@@ -261,19 +261,19 @@ function ve(e) {
|
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
|
-
const LA =
|
|
264
|
+
const LA = pe({
|
|
265
265
|
partner: "Parceiros",
|
|
266
266
|
exclusive: "Exclusivos"
|
|
267
|
-
}), zA =
|
|
267
|
+
}), zA = pe({
|
|
268
268
|
config: "Configuração",
|
|
269
269
|
inProgress: "Em Andamento",
|
|
270
270
|
finished: "Concluído",
|
|
271
271
|
archived: "Arquivada",
|
|
272
272
|
cancelled: "Cancelado"
|
|
273
|
-
}), HA =
|
|
273
|
+
}), HA = pe({
|
|
274
274
|
agency: "Agência",
|
|
275
275
|
brand: "Marca"
|
|
276
|
-
}), UA =
|
|
276
|
+
}), UA = pe({
|
|
277
277
|
influencer: "Veículação de Influenciador",
|
|
278
278
|
advisor: "Pagamento de Assessor",
|
|
279
279
|
supplier: "Pagamento de Fornecedor",
|
|
@@ -290,7 +290,7 @@ const LA = ve({
|
|
|
290
290
|
motoboy_others: "Motoboy Outros",
|
|
291
291
|
logistics_control: "Controle de Logística",
|
|
292
292
|
transfer_between_accounts: "Transferência entre Contas"
|
|
293
|
-
}), YA =
|
|
293
|
+
}), YA = pe({
|
|
294
294
|
pending: "Revisão Atendimento",
|
|
295
295
|
review: "Revisão Financeiro",
|
|
296
296
|
awaiting: "Aguardando",
|
|
@@ -300,14 +300,21 @@ const LA = ve({
|
|
|
300
300
|
paid: "Pago",
|
|
301
301
|
client: "Pagamento via Cliente",
|
|
302
302
|
canceled: "Cancelado"
|
|
303
|
-
}), VA =
|
|
303
|
+
}), VA = pe({
|
|
304
304
|
new: "Aquisição",
|
|
305
305
|
organic_expansion: "Expansão Orgânica de Base",
|
|
306
306
|
strategic_expansion: "Expansão Estratégica de Base",
|
|
307
307
|
renewal: "Renovação",
|
|
308
308
|
comercial_winback: "Reativação Comercial",
|
|
309
309
|
organic_winback: "Reativação Orgânica"
|
|
310
|
-
}), WA =
|
|
310
|
+
}), WA = pe({
|
|
311
|
+
inbox: "Caixa de Entrada",
|
|
312
|
+
review: "Revisão Financeiro",
|
|
313
|
+
awaiting: "Aguardando",
|
|
314
|
+
invoiced: "Faturado",
|
|
315
|
+
received: "Recebido",
|
|
316
|
+
canceled: "Cancelado"
|
|
317
|
+
}), QA = pe({
|
|
311
318
|
instagram: "Instagram",
|
|
312
319
|
tiktok: "TikTok",
|
|
313
320
|
youtube: "YouTube",
|
|
@@ -315,19 +322,19 @@ const LA = ve({
|
|
|
315
322
|
pinterest: "Pinterest",
|
|
316
323
|
twitter: "Twitter (X)",
|
|
317
324
|
facebook: "Facebook"
|
|
318
|
-
}),
|
|
325
|
+
}), GA = pe({
|
|
319
326
|
instagram: "bg-gradient-to-br from-[#f09433] via-[#e6683c] via-[#dc2743] via-[#cc2366] to-[#bc1888]",
|
|
320
327
|
tiktok: "bg-black",
|
|
321
328
|
youtube: "bg-[#ff0033]",
|
|
322
329
|
linkedin: "bg-[#0a66c2]",
|
|
323
330
|
pinterest: "bg-[#e60023]",
|
|
324
331
|
twitter: "bg-black"
|
|
325
|
-
}),
|
|
332
|
+
}), JA = pe({
|
|
326
333
|
service: "Atendimento",
|
|
327
334
|
comercial: "Comercial",
|
|
328
335
|
squad_a: "Squad A",
|
|
329
336
|
squad_b: "Squad B"
|
|
330
|
-
}), Xe =
|
|
337
|
+
}), Xe = pe({
|
|
331
338
|
white: "hover:opacity-90 bg-white border border-border text-black",
|
|
332
339
|
black: "hover:opacity-90 bg-black text-white",
|
|
333
340
|
slate: "hover:opacity-90 bg-slate-500 text-slate-50",
|
|
@@ -777,7 +784,7 @@ const ar = G(
|
|
|
777
784
|
), /* @__PURE__ */ h(ae, { "data-invalid": a, children: [
|
|
778
785
|
e && /* @__PURE__ */ i(ye, { htmlFor: A, asterisk: n, children: e }),
|
|
779
786
|
/* @__PURE__ */ i(Qn, { id: A, "aria-invalid": a, ...o, ref: s }),
|
|
780
|
-
t && /* @__PURE__ */ i(
|
|
787
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
781
788
|
a && /* @__PURE__ */ i(fe, { errors: [r] })
|
|
782
789
|
] });
|
|
783
790
|
}
|
|
@@ -912,7 +919,7 @@ function Co() {
|
|
|
912
919
|
}
|
|
913
920
|
);
|
|
914
921
|
}
|
|
915
|
-
function
|
|
922
|
+
function XA({
|
|
916
923
|
module: e,
|
|
917
924
|
moduleId: t,
|
|
918
925
|
organizationId: n,
|
|
@@ -989,7 +996,7 @@ function To() {
|
|
|
989
996
|
] })
|
|
990
997
|
] });
|
|
991
998
|
}
|
|
992
|
-
function
|
|
999
|
+
function ZA({
|
|
993
1000
|
module: e,
|
|
994
1001
|
organizationId: t
|
|
995
1002
|
}) {
|
|
@@ -1000,7 +1007,7 @@ function XA({
|
|
|
1000
1007
|
}
|
|
1001
1008
|
}).data;
|
|
1002
1009
|
}
|
|
1003
|
-
function
|
|
1010
|
+
function KA({
|
|
1004
1011
|
module: e,
|
|
1005
1012
|
tags: t = [],
|
|
1006
1013
|
organizationId: n
|
|
@@ -2884,8 +2891,8 @@ function Ls() {
|
|
|
2884
2891
|
}
|
|
2885
2892
|
function E(P) {
|
|
2886
2893
|
if (typeof P == "object" && P !== null) {
|
|
2887
|
-
var
|
|
2888
|
-
switch (
|
|
2894
|
+
var me = P.$$typeof;
|
|
2895
|
+
switch (me) {
|
|
2889
2896
|
case t:
|
|
2890
2897
|
var ot = P.type;
|
|
2891
2898
|
switch (ot) {
|
|
@@ -2906,15 +2913,15 @@ function Ls() {
|
|
|
2906
2913
|
case s:
|
|
2907
2914
|
return sn;
|
|
2908
2915
|
default:
|
|
2909
|
-
return
|
|
2916
|
+
return me;
|
|
2910
2917
|
}
|
|
2911
2918
|
}
|
|
2912
2919
|
case n:
|
|
2913
|
-
return
|
|
2920
|
+
return me;
|
|
2914
2921
|
}
|
|
2915
2922
|
}
|
|
2916
2923
|
}
|
|
2917
|
-
var m = u, H = l, te = A, J = s, ue = t, se = d,
|
|
2924
|
+
var m = u, H = l, te = A, J = s, ue = t, se = d, ge = a, be = v, oe = p, W = n, ee = o, Y = r, k = c, Q = !1;
|
|
2918
2925
|
function Z(P) {
|
|
2919
2926
|
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.")), y(P) || E(P) === u;
|
|
2920
2927
|
}
|
|
@@ -2954,7 +2961,7 @@ function Ls() {
|
|
|
2954
2961
|
function re(P) {
|
|
2955
2962
|
return E(P) === c;
|
|
2956
2963
|
}
|
|
2957
|
-
z.AsyncMode = m, z.ConcurrentMode = H, z.ContextConsumer = te, z.ContextProvider = J, z.Element = ue, z.ForwardRef = se, z.Fragment =
|
|
2964
|
+
z.AsyncMode = m, z.ConcurrentMode = H, z.ContextConsumer = te, z.ContextProvider = J, z.Element = ue, z.ForwardRef = se, z.Fragment = ge, z.Lazy = be, z.Memo = oe, z.Portal = W, z.Profiler = ee, z.StrictMode = Y, z.Suspense = k, z.isAsyncMode = Z, z.isConcurrentMode = y, z.isContextConsumer = x, z.isContextProvider = F, z.isElement = D, z.isForwardRef = O, z.isFragment = j, z.isLazy = B, z.isMemo = N, z.isPortal = _, z.isProfiler = U, z.isStrictMode = q, z.isSuspense = re, z.isValidElementType = C, z.typeOf = E;
|
|
2958
2965
|
})()), z;
|
|
2959
2966
|
}
|
|
2960
2967
|
var Bn;
|
|
@@ -3130,11 +3137,11 @@ function Us() {
|
|
|
3130
3137
|
);
|
|
3131
3138
|
throw P.name = "Invariant Violation", P;
|
|
3132
3139
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
3133
|
-
var
|
|
3134
|
-
!x[
|
|
3140
|
+
var me = _ + ":" + N;
|
|
3141
|
+
!x[me] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
3135
3142
|
F < 3 && (o(
|
|
3136
3143
|
"You are manually calling a React.PropTypes validation function for the `" + q + "` prop on `" + _ + "`. 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."
|
|
3137
|
-
), x[
|
|
3144
|
+
), x[me] = !0, F++);
|
|
3138
3145
|
}
|
|
3139
3146
|
}
|
|
3140
3147
|
return B[N] == null ? j ? B[N] === null ? new b("The " + U + " `" + q + "` is marked as required " + ("in `" + _ + "`, but its value is `null`.")) : new b("The " + U + " `" + q + "` is marked as required in " + ("`" + _ + "`, but its value is `undefined`.")) : null : y(B, N, _, U, q);
|
|
@@ -3219,8 +3226,8 @@ function Us() {
|
|
|
3219
3226
|
if (v(N, y[_]))
|
|
3220
3227
|
return null;
|
|
3221
3228
|
var U = JSON.stringify(y, function(re, P) {
|
|
3222
|
-
var
|
|
3223
|
-
return
|
|
3229
|
+
var me = k(P);
|
|
3230
|
+
return me === "symbol" ? String(P) : P;
|
|
3224
3231
|
});
|
|
3225
3232
|
return new b("Invalid " + j + " `" + B + "` of value `" + String(N) + "` " + ("supplied to `" + O + "`, expected one of " + U + "."));
|
|
3226
3233
|
}
|
|
@@ -3260,8 +3267,8 @@ function Us() {
|
|
|
3260
3267
|
return null;
|
|
3261
3268
|
P.data && a(P.data, "expectedType") && U.push(P.data.expectedType);
|
|
3262
3269
|
}
|
|
3263
|
-
var
|
|
3264
|
-
return new b("Invalid " + N + " `" + _ + "` supplied to " + ("`" + B + "`" +
|
|
3270
|
+
var me = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
|
3271
|
+
return new b("Invalid " + N + " `" + _ + "` supplied to " + ("`" + B + "`" + me + "."));
|
|
3265
3272
|
}
|
|
3266
3273
|
return g(D);
|
|
3267
3274
|
}
|
|
@@ -3271,7 +3278,7 @@ function Us() {
|
|
|
3271
3278
|
}
|
|
3272
3279
|
return g(y);
|
|
3273
3280
|
}
|
|
3274
|
-
function
|
|
3281
|
+
function ge(y, x, F, D, O) {
|
|
3275
3282
|
return new b(
|
|
3276
3283
|
(y || "React class") + ": " + x + " type `" + F + "." + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
3277
3284
|
);
|
|
@@ -3284,7 +3291,7 @@ function Us() {
|
|
|
3284
3291
|
for (var U in y) {
|
|
3285
3292
|
var q = y[U];
|
|
3286
3293
|
if (typeof q != "function")
|
|
3287
|
-
return
|
|
3294
|
+
return ge(O, j, B, U, k(q));
|
|
3288
3295
|
var re = q(N, U, O, j, B + "." + U, n);
|
|
3289
3296
|
if (re)
|
|
3290
3297
|
return re;
|
|
@@ -3302,7 +3309,7 @@ function Us() {
|
|
|
3302
3309
|
for (var q in U) {
|
|
3303
3310
|
var re = y[q];
|
|
3304
3311
|
if (a(y, q) && typeof re != "function")
|
|
3305
|
-
return
|
|
3312
|
+
return ge(O, j, B, q, k(re));
|
|
3306
3313
|
if (!re)
|
|
3307
3314
|
return new b(
|
|
3308
3315
|
"Invalid " + j + " `" + B + "` key `" + q + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(F[D], null, " ") + `
|
|
@@ -3450,12 +3457,12 @@ var Ws = /* @__PURE__ */ Vs();
|
|
|
3450
3457
|
const w = /* @__PURE__ */ er(Ws);
|
|
3451
3458
|
var pt = function(t) {
|
|
3452
3459
|
return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
3453
|
-
},
|
|
3460
|
+
}, he = {
|
|
3454
3461
|
id: "__id__",
|
|
3455
3462
|
display: "__display__"
|
|
3456
3463
|
}, zn = function(t, n) {
|
|
3457
3464
|
ke(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"'));
|
|
3458
|
-
var a = t.indexOf(
|
|
3465
|
+
var a = t.indexOf(he.display), r = t.indexOf(he.id);
|
|
3459
3466
|
return a < 0 && (a = null), r < 0 && (r = null), ke(a !== null || r !== null, "The markup '".concat(t, "' does not contain either of the placeholders '__id__' or '__display__'")), a !== null && r !== null ? n === "id" && r <= a || n === "display" && a <= r ? 0 : 1 : 0;
|
|
3460
3467
|
}, Qs = function(t) {
|
|
3461
3468
|
var n = /^\/(.+)\/(\w+)?$/;
|
|
@@ -3542,8 +3549,8 @@ var pt = function(t) {
|
|
|
3542
3549
|
var a = Qe(t, n), r = a[a.length - 1];
|
|
3543
3550
|
return r ? r.plainTextIndex + r.display.length : 0;
|
|
3544
3551
|
}, Zs = function(t) {
|
|
3545
|
-
var n = pt(t), a = t[t.indexOf(
|
|
3546
|
-
return new RegExp(n.replace(
|
|
3552
|
+
var n = pt(t), a = t[t.indexOf(he.display) + he.display.length], r = t[t.indexOf(he.id) + he.id.length];
|
|
3553
|
+
return new RegExp(n.replace(he.display, "([^".concat(pt(a || ""), "]+?)")).replace(he.id, "([^".concat(pt(r || ""), "]+?)")));
|
|
3547
3554
|
}, Ce = function(t) {
|
|
3548
3555
|
return Je.toArray(t).map(function(n) {
|
|
3549
3556
|
var a = n.props, r = a.markup, o = a.regex, s = a.displayTransform;
|
|
@@ -3559,7 +3566,7 @@ var pt = function(t) {
|
|
|
3559
3566
|
var a = new RegExp(t.toString() + "|").exec("").length - 1, r = Er(n);
|
|
3560
3567
|
return ke(a === r, "Number of capturing groups in RegExp ".concat(t.toString(), " (").concat(a, ") does not match the number of placeholders in the markup '").concat(n, "' (").concat(r, ")")), t;
|
|
3561
3568
|
}, $s = function(t, n, a) {
|
|
3562
|
-
return t.replace(
|
|
3569
|
+
return t.replace(he.id, n).replace(he.display, a);
|
|
3563
3570
|
}, ei = [{
|
|
3564
3571
|
base: "A",
|
|
3565
3572
|
letters: /(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\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
|
|
@@ -3929,12 +3936,12 @@ function Sr(e) {
|
|
|
3929
3936
|
te++;
|
|
3930
3937
|
}, ue = function(W, ee, Y, k, Q, Z, y) {
|
|
3931
3938
|
var x = si(m, k);
|
|
3932
|
-
H.push(
|
|
3939
|
+
H.push(ge(k, Q, Z, x));
|
|
3933
3940
|
}, se = function(W, ee) {
|
|
3934
3941
|
return /* @__PURE__ */ M.createElement("span", Ae({}, u("substring"), {
|
|
3935
3942
|
key: ee
|
|
3936
3943
|
}), W);
|
|
3937
|
-
},
|
|
3944
|
+
}, ge = function(W, ee, Y, k) {
|
|
3938
3945
|
var Q = {
|
|
3939
3946
|
id: W,
|
|
3940
3947
|
display: ee,
|
|
@@ -4054,11 +4061,11 @@ function Pr(e) {
|
|
|
4054
4061
|
}, T("list")), Object.values(a).reduce(function(Q, Z) {
|
|
4055
4062
|
var y = Z.results, x = Z.queryInfo;
|
|
4056
4063
|
return [].concat(gt(Q), gt(y.map(function(F, D) {
|
|
4057
|
-
return
|
|
4064
|
+
return ge(F, x, Q.length + D);
|
|
4058
4065
|
})));
|
|
4059
4066
|
}, []));
|
|
4060
4067
|
return C ? C(k) : k;
|
|
4061
|
-
},
|
|
4068
|
+
}, ge = function(k, Q, Z) {
|
|
4062
4069
|
var y = Z === o, x = Q.childIndex, F = Q.query, D = Je.toArray(S)[x].props.renderSuggestion;
|
|
4063
4070
|
return /* @__PURE__ */ M.createElement(li, {
|
|
4064
4071
|
style: T("item"),
|
|
@@ -4517,12 +4524,12 @@ var hi = function(t) {
|
|
|
4517
4524
|
selectionEnd: se,
|
|
4518
4525
|
setSelectionAfterMentionChange: !0
|
|
4519
4526
|
});
|
|
4520
|
-
var
|
|
4527
|
+
var ge = {
|
|
4521
4528
|
target: {
|
|
4522
4529
|
value: J
|
|
4523
4530
|
}
|
|
4524
4531
|
}, be = Qe(J, v), oe = Ge(f, d, c, ue);
|
|
4525
|
-
r.executeOnChange(
|
|
4532
|
+
r.executeOnChange(ge, J, oe, be), E && E(A, u, m, H), r.clearSuggestions();
|
|
4526
4533
|
}), I(R(r), "isLoading", function() {
|
|
4527
4534
|
var o = !1;
|
|
4528
4535
|
return M.Children.forEach(r.props.children, function(s) {
|
|
@@ -4668,7 +4675,7 @@ var kt = function(t, n) {
|
|
|
4668
4675
|
"&singleLine": t,
|
|
4669
4676
|
"&multiLine": !t
|
|
4670
4677
|
};
|
|
4671
|
-
}),
|
|
4678
|
+
}), $A = bi(on), Ei = {
|
|
4672
4679
|
fontWeight: "inherit"
|
|
4673
4680
|
}, Or = function(t) {
|
|
4674
4681
|
var n = t.display, a = t.style, r = t.className, o = t.classNames, s = rn(Ei, {
|
|
@@ -5297,7 +5304,7 @@ const Si = {
|
|
|
5297
5304
|
}
|
|
5298
5305
|
) })
|
|
5299
5306
|
] }),
|
|
5300
|
-
a && /* @__PURE__ */ i(
|
|
5307
|
+
a && /* @__PURE__ */ i(ve, { children: a }),
|
|
5301
5308
|
s && /* @__PURE__ */ i(fe, { errors: [A] })
|
|
5302
5309
|
] });
|
|
5303
5310
|
}
|
|
@@ -5318,7 +5325,7 @@ const tA = G(({ label: e, description: t, asterisk: n, invalid: a, error: r, ...
|
|
|
5318
5325
|
ref: s
|
|
5319
5326
|
}
|
|
5320
5327
|
),
|
|
5321
|
-
t && /* @__PURE__ */ i(
|
|
5328
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5322
5329
|
a && /* @__PURE__ */ i(fe, { errors: [r] })
|
|
5323
5330
|
] });
|
|
5324
5331
|
});
|
|
@@ -5338,7 +5345,7 @@ const nA = G(({ label: e, description: t, asterisk: n, invalid: a, error: r, ...
|
|
|
5338
5345
|
ref: s
|
|
5339
5346
|
}
|
|
5340
5347
|
),
|
|
5341
|
-
t && /* @__PURE__ */ i(
|
|
5348
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5342
5349
|
a && /* @__PURE__ */ i(fe, { errors: [r] })
|
|
5343
5350
|
] });
|
|
5344
5351
|
});
|
|
@@ -5358,7 +5365,7 @@ const rA = G(({ label: e, description: t, asterisk: n, invalid: a, error: r, ...
|
|
|
5358
5365
|
...o
|
|
5359
5366
|
}
|
|
5360
5367
|
),
|
|
5361
|
-
t && /* @__PURE__ */ i(
|
|
5368
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5362
5369
|
a && /* @__PURE__ */ i(fe, { errors: [r] })
|
|
5363
5370
|
] });
|
|
5364
5371
|
});
|
|
@@ -5401,7 +5408,7 @@ const aA = G(
|
|
|
5401
5408
|
]
|
|
5402
5409
|
}
|
|
5403
5410
|
),
|
|
5404
|
-
a && /* @__PURE__ */ i(
|
|
5411
|
+
a && /* @__PURE__ */ i(ve, { children: a }),
|
|
5405
5412
|
u && /* @__PURE__ */ i(fe, { errors: [l] })
|
|
5406
5413
|
] }))
|
|
5407
5414
|
);
|
|
@@ -5426,7 +5433,7 @@ const oA = G(
|
|
|
5426
5433
|
),
|
|
5427
5434
|
/* @__PURE__ */ h(Kn, { children: [
|
|
5428
5435
|
e && /* @__PURE__ */ i(ye, { htmlFor: l, asterisk: n, children: e }),
|
|
5429
|
-
t && /* @__PURE__ */ i(
|
|
5436
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5430
5437
|
a && /* @__PURE__ */ i(fe, { errors: [r] })
|
|
5431
5438
|
] })
|
|
5432
5439
|
] });
|
|
@@ -5440,7 +5447,7 @@ const sA = G(({ label: e, description: t, asterisk: n, invalid: a, error: r, ...
|
|
|
5440
5447
|
), /* @__PURE__ */ h(ae, { "data-invalid": a, children: [
|
|
5441
5448
|
e && /* @__PURE__ */ i(ye, { htmlFor: A, asterisk: n, children: e }),
|
|
5442
5449
|
/* @__PURE__ */ i(ra, { id: A, "aria-invalid": a, ...o, ref: s }),
|
|
5443
|
-
t && /* @__PURE__ */ i(
|
|
5450
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5444
5451
|
a && /* @__PURE__ */ i(fe, { errors: [r] })
|
|
5445
5452
|
] });
|
|
5446
5453
|
});
|
|
@@ -5466,7 +5473,7 @@ const iA = G(
|
|
|
5466
5473
|
),
|
|
5467
5474
|
e && /* @__PURE__ */ i(ye, { htmlFor: l, asterisk: n, children: e })
|
|
5468
5475
|
] }),
|
|
5469
|
-
t && /* @__PURE__ */ i(
|
|
5476
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5470
5477
|
a && /* @__PURE__ */ i(fe, { errors: [r] })
|
|
5471
5478
|
] }) });
|
|
5472
5479
|
}
|
|
@@ -5478,7 +5485,7 @@ const AA = G(
|
|
|
5478
5485
|
), /* @__PURE__ */ h(ae, { orientation: "vertical", "data-invalid": r, children: [
|
|
5479
5486
|
e && /* @__PURE__ */ i(ye, { htmlFor: t, asterisk: a, children: e }),
|
|
5480
5487
|
/* @__PURE__ */ i(Fr, { id: t, ref: A, ...s }),
|
|
5481
|
-
n && /* @__PURE__ */ i(
|
|
5488
|
+
n && /* @__PURE__ */ i(ve, { children: n }),
|
|
5482
5489
|
r && /* @__PURE__ */ i(fe, { errors: [o] })
|
|
5483
5490
|
] }))
|
|
5484
5491
|
);
|
|
@@ -5661,7 +5668,7 @@ export {
|
|
|
5661
5668
|
Xo as J,
|
|
5662
5669
|
$o as K,
|
|
5663
5670
|
lr as L,
|
|
5664
|
-
|
|
5671
|
+
$A as M,
|
|
5665
5672
|
DA as N,
|
|
5666
5673
|
as as O,
|
|
5667
5674
|
Ha as P,
|
|
@@ -5688,10 +5695,10 @@ export {
|
|
|
5688
5695
|
dA as a8,
|
|
5689
5696
|
fA as a9,
|
|
5690
5697
|
pA as aa,
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5698
|
+
XA as ab,
|
|
5699
|
+
ZA as ac,
|
|
5700
|
+
KA as ad,
|
|
5701
|
+
JA as ae,
|
|
5695
5702
|
Xe as af,
|
|
5696
5703
|
LA as ag,
|
|
5697
5704
|
zA as ah,
|
|
@@ -5701,6 +5708,7 @@ export {
|
|
|
5701
5708
|
VA as al,
|
|
5702
5709
|
WA as am,
|
|
5703
5710
|
QA as an,
|
|
5711
|
+
GA as ao,
|
|
5704
5712
|
La as b,
|
|
5705
5713
|
MA as c,
|
|
5706
5714
|
Ya as d,
|
|
@@ -5717,7 +5725,7 @@ export {
|
|
|
5717
5725
|
$a as o,
|
|
5718
5726
|
eo as p,
|
|
5719
5727
|
qA as q,
|
|
5720
|
-
|
|
5728
|
+
pe as r,
|
|
5721
5729
|
Or as s,
|
|
5722
5730
|
ho as t,
|
|
5723
5731
|
Lo as u,
|
package/dist/components.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { aZ as v, c as u, B as N, a_ as z, aq as M, ar as T, as as R, w as O, F as $, W as j, X as q, $ as C, _ as B, Y as P, a0 as U } from "./chuncks/switch.D_38xWg-.js";
|
|
2
|
-
import { M as K, s as W } from "./chuncks/youtube-icon.component.
|
|
3
|
-
import { t as We, K as Xe, L as Ge, G as Qe, X as Ve, a3 as Ye, Y as Ze, Z as Je, H as et, _ as tt, a4 as nt, $ as at, a0 as rt, a1 as st, a2 as it, J as ot, O as lt, a5 as dt, a6 as ct, ab as gt, u as ut, w as pt, x as xt, y as mt, z as bt, a7 as ht, Q as ft, W as yt, U as wt, a8 as vt, a9 as kt, aa as Nt, ad as Ct, ac as St } from "./chuncks/youtube-icon.component.
|
|
2
|
+
import { M as K, s as W } from "./chuncks/youtube-icon.component.DAQZy0aH.js";
|
|
3
|
+
import { t as We, K as Xe, L as Ge, G as Qe, X as Ve, a3 as Ye, Y as Ze, Z as Je, H as et, _ as tt, a4 as nt, $ as at, a0 as rt, a1 as st, a2 as it, J as ot, O as lt, a5 as dt, a6 as ct, ab as gt, u as ut, w as pt, x as xt, y as mt, z as bt, a7 as ht, Q as ft, W as yt, U as wt, a8 as vt, a9 as kt, aa as Nt, ad as Ct, ac as St } from "./chuncks/youtube-icon.component.DAQZy0aH.js";
|
|
4
4
|
import { jsxs as g, jsx as e, Fragment as A } from "react/jsx-runtime";
|
|
5
5
|
import S, { useState as F, useRef as D, useEffect as H, useMemo as X } from "react";
|
|
6
6
|
import { B as L, m as G, T as Q, k as V, l as Y, S as k } from "./chuncks/badge.tZcF7uIJ.js";
|
package/dist/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as n, A as m, B as S, C as A, D as c, E as N, F as E, I as g, N as l, a as _, d as p, P as B, R as r, c as s, e as i, S as t, T, V as I } from "./chuncks/youtube-icon.component.
|
|
1
|
+
import { b as n, A as m, B as S, C as A, D as c, E as N, F as E, I as g, N as l, a as _, d as p, P as B, R as r, c as s, e as i, S as t, T, V as I } from "./chuncks/youtube-icon.component.DAQZy0aH.js";
|
|
2
2
|
const o = [
|
|
3
3
|
{
|
|
4
4
|
compe: "001",
|
package/dist/dictionaries.d.ts
CHANGED
|
@@ -92,6 +92,35 @@ export declare const clientTypeDict: {
|
|
|
92
92
|
is(value?: string | number | symbol | null): value is "agency" | "brand";
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
+
export declare const invoicePhaseDict: {
|
|
96
|
+
data: {
|
|
97
|
+
readonly inbox: "Caixa de Entrada";
|
|
98
|
+
readonly review: "Revisão Financeiro";
|
|
99
|
+
readonly awaiting: "Aguardando";
|
|
100
|
+
readonly invoiced: "Faturado";
|
|
101
|
+
readonly received: "Recebido";
|
|
102
|
+
readonly canceled: "Cancelado";
|
|
103
|
+
};
|
|
104
|
+
values: ("review" | "awaiting" | "received" | "canceled" | "inbox" | "invoiced")[];
|
|
105
|
+
labels: ("Cancelado" | "Revisão Financeiro" | "Aguardando" | "Caixa de Entrada" | "Faturado" | "Recebido")[];
|
|
106
|
+
getLabel: {
|
|
107
|
+
<K extends "review" | "awaiting" | "received" | "canceled" | "inbox" | "invoiced">(value: K): {
|
|
108
|
+
readonly inbox: "Caixa de Entrada";
|
|
109
|
+
readonly review: "Revisão Financeiro";
|
|
110
|
+
readonly awaiting: "Aguardando";
|
|
111
|
+
readonly invoiced: "Faturado";
|
|
112
|
+
readonly received: "Recebido";
|
|
113
|
+
readonly canceled: "Cancelado";
|
|
114
|
+
}[K];
|
|
115
|
+
(value?: string | number | symbol | null): "Cancelado" | "Revisão Financeiro" | "Aguardando" | "Caixa de Entrada" | "Faturado" | "Recebido" | null;
|
|
116
|
+
};
|
|
117
|
+
options: {
|
|
118
|
+
value: "review" | "awaiting" | "received" | "canceled" | "inbox" | "invoiced";
|
|
119
|
+
label: "Cancelado" | "Revisão Financeiro" | "Aguardando" | "Caixa de Entrada" | "Faturado" | "Recebido";
|
|
120
|
+
}[];
|
|
121
|
+
is(value?: string | number | symbol | null): value is "review" | "awaiting" | "received" | "canceled" | "inbox" | "invoiced";
|
|
122
|
+
};
|
|
123
|
+
|
|
95
124
|
export declare const paymentPhaseDict: {
|
|
96
125
|
data: {
|
|
97
126
|
readonly pending: "Revisão Atendimento";
|
package/dist/dictionaries.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./chuncks/switch.D_38xWg-.js";
|
|
2
|
-
import { ah as m, ag as D, ae as n, ai as l,
|
|
2
|
+
import { ah as m, ag as D, ae as n, ai as l, am as y, ak as h, aj as k, ao as T, an as f, af as g, al as u } from "./chuncks/youtube-icon.component.DAQZy0aH.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@tanstack/react-query";
|
|
@@ -11,10 +11,11 @@ export {
|
|
|
11
11
|
D as actionTypeDict,
|
|
12
12
|
n as businessUnitDict,
|
|
13
13
|
l as clientTypeDict,
|
|
14
|
-
y as
|
|
14
|
+
y as invoicePhaseDict,
|
|
15
|
+
h as paymentPhaseDict,
|
|
15
16
|
k as paymentTypeDict,
|
|
16
17
|
T as socialNetworkColorDict,
|
|
17
18
|
f as socialNetworkDict,
|
|
18
19
|
g as tagColorDict,
|
|
19
|
-
|
|
20
|
+
u as typeSaleDict
|
|
20
21
|
};
|
package/dist/events.js
CHANGED
package/dist/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { U as a } from "./chuncks/format.util.
|
|
2
|
-
import { g as l, h as v, f as y, a as C, d as D, m as E, c as L, e as P, p as _, b, u as k } from "./chuncks/format.util.
|
|
3
|
-
import { f as s } from "./chuncks/youtube-icon.component.
|
|
4
|
-
import { r as U, p as h, n as q, j as N, h as x, l as F, i as O, m as T, k as j, g as A, o as G, q as V, v as w } from "./chuncks/youtube-icon.component.
|
|
1
|
+
import { U as a } from "./chuncks/format.util.B1bqic1Z.js";
|
|
2
|
+
import { g as l, h as v, f as y, a as C, d as D, m as E, c as L, e as P, p as _, b, u as k } from "./chuncks/format.util.B1bqic1Z.js";
|
|
3
|
+
import { f as s } from "./chuncks/youtube-icon.component.DAQZy0aH.js";
|
|
4
|
+
import { r as U, p as h, n as q, j as N, h as x, l as F, i as O, m as T, k as j, g as A, o as G, q as V, v as w } from "./chuncks/youtube-icon.component.DAQZy0aH.js";
|
|
5
5
|
const t = (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}.`, c = (e) => e ? `${e} inválido.` : "Valor inválido.", u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6
6
|
__proto__: null,
|
|
7
7
|
invalidMessage: c,
|