@grapadigital/shared-app-modules 0.0.210 → 0.0.212
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/action.d.ts +1 -0
- package/dist/chuncks/{format.util.C8JNQHuz.js → format.util.CP4sH71a.js} +1 -1
- package/dist/chuncks/{youtube-icon.component.BrliOl2F.js → youtube-icon.component.DJUDonHx.js} +127 -110
- package/dist/components.d.ts +1 -0
- package/dist/components.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/content.d.ts +1 -0
- package/dist/dictionaries.d.ts +60 -0
- package/dist/dictionaries.js +7 -5
- package/dist/events.js +1 -1
- package/dist/invoice.d.ts +1 -0
- package/dist/payment.d.ts +1 -0
- package/dist/recruitment.d.ts +1 -0
- package/dist/sale.d.ts +1 -0
- package/dist/utils.js +4 -4
- package/package.json +1 -1
package/dist/action.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ declare interface PaymentInterface {
|
|
|
390
390
|
phase: PaymentPhase;
|
|
391
391
|
installments: Installments[];
|
|
392
392
|
received?: Received_2;
|
|
393
|
+
omieId?: string;
|
|
393
394
|
}
|
|
394
395
|
|
|
395
396
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
package/dist/chuncks/{youtube-icon.component.BrliOl2F.js → youtube-icon.component.DJUDonHx.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as i, jsxs as h, Fragment as jt } from "react/jsx-runtime";
|
|
2
|
-
import { aZ as
|
|
2
|
+
import { aZ as fe, 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 pe, 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";
|
|
@@ -16,7 +16,7 @@ import { g as en } from "./index.GkteP4bn.js";
|
|
|
16
16
|
const ba = [
|
|
17
17
|
["path", { d: "m7 15 5 5 5-5", key: "1hf1tw" }],
|
|
18
18
|
["path", { d: "m7 9 5-5 5 5", key: "sgt6xg" }]
|
|
19
|
-
], He =
|
|
19
|
+
], He = fe("chevrons-up-down", ba);
|
|
20
20
|
const Ea = [
|
|
21
21
|
[
|
|
22
22
|
"path",
|
|
@@ -29,17 +29,17 @@ const Ea = [
|
|
|
29
29
|
["circle", { cx: "17.5", cy: "10.5", r: ".5", fill: "currentColor", key: "f64h9f" }],
|
|
30
30
|
["circle", { cx: "6.5", cy: "12.5", r: ".5", fill: "currentColor", key: "qy21gx" }],
|
|
31
31
|
["circle", { cx: "8.5", cy: "7.5", r: ".5", fill: "currentColor", key: "fotxhn" }]
|
|
32
|
-
], gn =
|
|
32
|
+
], gn = fe("palette", Ea);
|
|
33
33
|
const wa = [
|
|
34
34
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
35
35
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
36
|
-
], Ca =
|
|
36
|
+
], Ca = fe("plus", wa);
|
|
37
37
|
const Sa = [
|
|
38
38
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
39
39
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
40
40
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
41
41
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
42
|
-
], xa =
|
|
42
|
+
], xa = fe("refresh-cw", Sa);
|
|
43
43
|
const Pa = [
|
|
44
44
|
[
|
|
45
45
|
"path",
|
|
@@ -50,13 +50,13 @@ const Pa = [
|
|
|
50
50
|
],
|
|
51
51
|
["path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7", key: "1ydtos" }],
|
|
52
52
|
["path", { d: "M7 3v4a1 1 0 0 0 1 1h7", key: "t51u73" }]
|
|
53
|
-
], Ta =
|
|
53
|
+
], Ta = fe("save", Pa);
|
|
54
54
|
const Oa = [
|
|
55
55
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
56
56
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }],
|
|
57
57
|
["path", { d: "M11 7v4", key: "m2edmq" }],
|
|
58
58
|
["path", { d: "M11 15h.01", key: "k85uqc" }]
|
|
59
|
-
], Da =
|
|
59
|
+
], Da = fe("search-alert", Oa);
|
|
60
60
|
const Fa = [
|
|
61
61
|
[
|
|
62
62
|
"path",
|
|
@@ -66,7 +66,7 @@ const Fa = [
|
|
|
66
66
|
}
|
|
67
67
|
],
|
|
68
68
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
69
|
-
], Ia =
|
|
69
|
+
], Ia = fe("settings", Fa);
|
|
70
70
|
const Ra = [
|
|
71
71
|
["path", { d: "M16 13h6", key: "1um0mj" }],
|
|
72
72
|
[
|
|
@@ -78,7 +78,7 @@ const Ra = [
|
|
|
78
78
|
],
|
|
79
79
|
["path", { d: "M19 10v6", key: "13mz7b" }],
|
|
80
80
|
["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }]
|
|
81
|
-
], tn =
|
|
81
|
+
], tn = fe("tag-plus", Ra);
|
|
82
82
|
const Ba = [
|
|
83
83
|
[
|
|
84
84
|
"path",
|
|
@@ -90,14 +90,14 @@ const Ba = [
|
|
|
90
90
|
["path", { d: "m16.5 10.5 5 5", key: "1jo8bf" }],
|
|
91
91
|
["path", { d: "m21.5 10.5-5 5", key: "jzei60" }],
|
|
92
92
|
["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }]
|
|
93
|
-
], Na =
|
|
93
|
+
], Na = fe("tag-x", Ba);
|
|
94
94
|
const Ma = [
|
|
95
95
|
["path", { d: "M10 11v6", key: "nco0om" }],
|
|
96
96
|
["path", { d: "M14 11v6", key: "outv1u" }],
|
|
97
97
|
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
98
98
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
99
99
|
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
100
|
-
], ka =
|
|
100
|
+
], ka = fe("trash-2", Ma);
|
|
101
101
|
const ja = [
|
|
102
102
|
[
|
|
103
103
|
"path",
|
|
@@ -108,7 +108,7 @@ const ja = [
|
|
|
108
108
|
],
|
|
109
109
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
110
110
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
111
|
-
], _a =
|
|
111
|
+
], _a = fe("triangle-alert", ja);
|
|
112
112
|
function er(e) {
|
|
113
113
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
114
114
|
}
|
|
@@ -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 ue(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 = ue({
|
|
265
265
|
partner: "Parceiros",
|
|
266
266
|
exclusive: "Exclusivos"
|
|
267
|
-
}), zA =
|
|
267
|
+
}), zA = ue({
|
|
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 = ue({
|
|
274
274
|
agency: "Agência",
|
|
275
275
|
brand: "Marca"
|
|
276
|
-
}), UA =
|
|
276
|
+
}), UA = ue({
|
|
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 = ue({
|
|
294
294
|
pending: "Revisão Atendimento",
|
|
295
295
|
review: "Revisão Financeiro",
|
|
296
296
|
awaiting: "Aguardando",
|
|
@@ -300,14 +300,29 @@ const LA = ve({
|
|
|
300
300
|
paid: "Pago",
|
|
301
301
|
client: "Pagamento via Cliente",
|
|
302
302
|
canceled: "Cancelado"
|
|
303
|
-
}), VA =
|
|
303
|
+
}), VA = ue({
|
|
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 = ue({
|
|
311
|
+
screening: "Triagem",
|
|
312
|
+
proposal: "Proposta",
|
|
313
|
+
negotiation: "Negociação",
|
|
314
|
+
commission: "Comissionamento",
|
|
315
|
+
formalization: "Formalização",
|
|
316
|
+
closed: "Fechada",
|
|
317
|
+
lost: "Perdida"
|
|
318
|
+
}), QA = ue({
|
|
319
|
+
inbox: "Caixa de Entrada",
|
|
320
|
+
review: "Revisão Financeiro",
|
|
321
|
+
awaiting: "Aguardando",
|
|
322
|
+
invoiced: "Faturado",
|
|
323
|
+
received: "Recebido",
|
|
324
|
+
canceled: "Cancelado"
|
|
325
|
+
}), GA = ue({
|
|
311
326
|
instagram: "Instagram",
|
|
312
327
|
tiktok: "TikTok",
|
|
313
328
|
youtube: "YouTube",
|
|
@@ -315,19 +330,19 @@ const LA = ve({
|
|
|
315
330
|
pinterest: "Pinterest",
|
|
316
331
|
twitter: "Twitter (X)",
|
|
317
332
|
facebook: "Facebook"
|
|
318
|
-
}),
|
|
333
|
+
}), JA = ue({
|
|
319
334
|
instagram: "bg-gradient-to-br from-[#f09433] via-[#e6683c] via-[#dc2743] via-[#cc2366] to-[#bc1888]",
|
|
320
335
|
tiktok: "bg-black",
|
|
321
336
|
youtube: "bg-[#ff0033]",
|
|
322
337
|
linkedin: "bg-[#0a66c2]",
|
|
323
338
|
pinterest: "bg-[#e60023]",
|
|
324
339
|
twitter: "bg-black"
|
|
325
|
-
}),
|
|
340
|
+
}), XA = ue({
|
|
326
341
|
service: "Atendimento",
|
|
327
342
|
comercial: "Comercial",
|
|
328
343
|
squad_a: "Squad A",
|
|
329
344
|
squad_b: "Squad B"
|
|
330
|
-
}), Xe =
|
|
345
|
+
}), Xe = ue({
|
|
331
346
|
white: "hover:opacity-90 bg-white border border-border text-black",
|
|
332
347
|
black: "hover:opacity-90 bg-black text-white",
|
|
333
348
|
slate: "hover:opacity-90 bg-slate-500 text-slate-50",
|
|
@@ -777,26 +792,26 @@ const ar = G(
|
|
|
777
792
|
), /* @__PURE__ */ h(ae, { "data-invalid": a, children: [
|
|
778
793
|
e && /* @__PURE__ */ i(ye, { htmlFor: A, asterisk: n, children: e }),
|
|
779
794
|
/* @__PURE__ */ i(Qn, { id: A, "aria-invalid": a, ...o, ref: s }),
|
|
780
|
-
t && /* @__PURE__ */ i(
|
|
781
|
-
a && /* @__PURE__ */ i(
|
|
795
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
796
|
+
a && /* @__PURE__ */ i(pe, { errors: [r] })
|
|
782
797
|
] });
|
|
783
798
|
}
|
|
784
799
|
);
|
|
785
800
|
ar.displayName = "FieldInput";
|
|
786
|
-
const
|
|
787
|
-
if (!
|
|
788
|
-
if (!
|
|
789
|
-
if (!
|
|
801
|
+
const ce = {}, we = () => {
|
|
802
|
+
if (!ce.module) throw new Error("Module é obrigatório.");
|
|
803
|
+
if (!ce.moduleId) throw new Error("moduleId é obrigatório.");
|
|
804
|
+
if (!ce.organizationId)
|
|
790
805
|
throw new Error("organizationId é obrigatório.");
|
|
791
|
-
if (!
|
|
792
|
-
if (!
|
|
806
|
+
if (!ce.currentTags) throw new Error("currentTags é obrigatório.");
|
|
807
|
+
if (!ce.useUpdateModuleTags)
|
|
793
808
|
throw new Error("useUpdateModuleTags é obrigatório.");
|
|
794
809
|
return {
|
|
795
|
-
module:
|
|
796
|
-
organizationId:
|
|
797
|
-
moduleId:
|
|
798
|
-
currentTags:
|
|
799
|
-
useUpdateModuleTags:
|
|
810
|
+
module: ce.module,
|
|
811
|
+
organizationId: ce.organizationId,
|
|
812
|
+
moduleId: ce.moduleId,
|
|
813
|
+
currentTags: ce.currentTags,
|
|
814
|
+
useUpdateModuleTags: ce.useUpdateModuleTags
|
|
800
815
|
};
|
|
801
816
|
}, Et = ({
|
|
802
817
|
module: e,
|
|
@@ -912,14 +927,14 @@ function Co() {
|
|
|
912
927
|
}
|
|
913
928
|
);
|
|
914
929
|
}
|
|
915
|
-
function
|
|
930
|
+
function ZA({
|
|
916
931
|
module: e,
|
|
917
932
|
moduleId: t,
|
|
918
933
|
organizationId: n,
|
|
919
934
|
currentTags: a = [],
|
|
920
935
|
useUpdateModuleTags: r
|
|
921
936
|
}) {
|
|
922
|
-
return Object.assign(
|
|
937
|
+
return Object.assign(ce, {
|
|
923
938
|
module: e,
|
|
924
939
|
moduleId: t,
|
|
925
940
|
organizationId: n ?? en.organizationId,
|
|
@@ -989,7 +1004,7 @@ function To() {
|
|
|
989
1004
|
] })
|
|
990
1005
|
] });
|
|
991
1006
|
}
|
|
992
|
-
function
|
|
1007
|
+
function KA({
|
|
993
1008
|
module: e,
|
|
994
1009
|
organizationId: t
|
|
995
1010
|
}) {
|
|
@@ -1000,7 +1015,7 @@ function XA({
|
|
|
1000
1015
|
}
|
|
1001
1016
|
}).data;
|
|
1002
1017
|
}
|
|
1003
|
-
function
|
|
1018
|
+
function $A({
|
|
1004
1019
|
module: e,
|
|
1005
1020
|
tags: t = [],
|
|
1006
1021
|
organizationId: n
|
|
@@ -1258,7 +1273,7 @@ function ur() {
|
|
|
1258
1273
|
) }),
|
|
1259
1274
|
/* @__PURE__ */ i(fa, { className: "capitalize", children: o.value })
|
|
1260
1275
|
] }, o.value)) }),
|
|
1261
|
-
r.invalid && /* @__PURE__ */ i(
|
|
1276
|
+
r.invalid && /* @__PURE__ */ i(pe, { errors: [r.error] })
|
|
1262
1277
|
] })
|
|
1263
1278
|
}
|
|
1264
1279
|
) }),
|
|
@@ -2884,8 +2899,8 @@ function Ls() {
|
|
|
2884
2899
|
}
|
|
2885
2900
|
function E(P) {
|
|
2886
2901
|
if (typeof P == "object" && P !== null) {
|
|
2887
|
-
var
|
|
2888
|
-
switch (
|
|
2902
|
+
var me = P.$$typeof;
|
|
2903
|
+
switch (me) {
|
|
2889
2904
|
case t:
|
|
2890
2905
|
var ot = P.type;
|
|
2891
2906
|
switch (ot) {
|
|
@@ -2906,15 +2921,15 @@ function Ls() {
|
|
|
2906
2921
|
case s:
|
|
2907
2922
|
return sn;
|
|
2908
2923
|
default:
|
|
2909
|
-
return
|
|
2924
|
+
return me;
|
|
2910
2925
|
}
|
|
2911
2926
|
}
|
|
2912
2927
|
case n:
|
|
2913
|
-
return
|
|
2928
|
+
return me;
|
|
2914
2929
|
}
|
|
2915
2930
|
}
|
|
2916
2931
|
}
|
|
2917
|
-
var m = u, H = l, te = A, J = s,
|
|
2932
|
+
var m = u, H = l, te = A, J = s, le = t, se = d, ge = a, be = v, oe = p, W = n, ee = o, Y = r, k = c, Q = !1;
|
|
2918
2933
|
function Z(P) {
|
|
2919
2934
|
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
2935
|
}
|
|
@@ -2954,7 +2969,7 @@ function Ls() {
|
|
|
2954
2969
|
function re(P) {
|
|
2955
2970
|
return E(P) === c;
|
|
2956
2971
|
}
|
|
2957
|
-
z.AsyncMode = m, z.ConcurrentMode = H, z.ContextConsumer = te, z.ContextProvider = J, z.Element =
|
|
2972
|
+
z.AsyncMode = m, z.ConcurrentMode = H, z.ContextConsumer = te, z.ContextProvider = J, z.Element = le, 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
2973
|
})()), z;
|
|
2959
2974
|
}
|
|
2960
2975
|
var Bn;
|
|
@@ -3108,7 +3123,7 @@ function Us() {
|
|
|
3108
3123
|
node: se(),
|
|
3109
3124
|
objectOf: J,
|
|
3110
3125
|
oneOf: te,
|
|
3111
|
-
oneOfType:
|
|
3126
|
+
oneOfType: le,
|
|
3112
3127
|
shape: be,
|
|
3113
3128
|
exact: oe
|
|
3114
3129
|
};
|
|
@@ -3130,11 +3145,11 @@ function Us() {
|
|
|
3130
3145
|
);
|
|
3131
3146
|
throw P.name = "Invariant Violation", P;
|
|
3132
3147
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
3133
|
-
var
|
|
3134
|
-
!x[
|
|
3148
|
+
var me = _ + ":" + N;
|
|
3149
|
+
!x[me] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
3135
3150
|
F < 3 && (o(
|
|
3136
3151
|
"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[
|
|
3152
|
+
), x[me] = !0, F++);
|
|
3138
3153
|
}
|
|
3139
3154
|
}
|
|
3140
3155
|
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 +3234,8 @@ function Us() {
|
|
|
3219
3234
|
if (v(N, y[_]))
|
|
3220
3235
|
return null;
|
|
3221
3236
|
var U = JSON.stringify(y, function(re, P) {
|
|
3222
|
-
var
|
|
3223
|
-
return
|
|
3237
|
+
var me = k(P);
|
|
3238
|
+
return me === "symbol" ? String(P) : P;
|
|
3224
3239
|
});
|
|
3225
3240
|
return new b("Invalid " + j + " `" + B + "` of value `" + String(N) + "` " + ("supplied to `" + O + "`, expected one of " + U + "."));
|
|
3226
3241
|
}
|
|
@@ -3243,7 +3258,7 @@ function Us() {
|
|
|
3243
3258
|
}
|
|
3244
3259
|
return g(x);
|
|
3245
3260
|
}
|
|
3246
|
-
function
|
|
3261
|
+
function le(y) {
|
|
3247
3262
|
if (!Array.isArray(y))
|
|
3248
3263
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
3249
3264
|
for (var x = 0; x < y.length; x++) {
|
|
@@ -3260,8 +3275,8 @@ function Us() {
|
|
|
3260
3275
|
return null;
|
|
3261
3276
|
P.data && a(P.data, "expectedType") && U.push(P.data.expectedType);
|
|
3262
3277
|
}
|
|
3263
|
-
var
|
|
3264
|
-
return new b("Invalid " + N + " `" + _ + "` supplied to " + ("`" + B + "`" +
|
|
3278
|
+
var me = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
|
3279
|
+
return new b("Invalid " + N + " `" + _ + "` supplied to " + ("`" + B + "`" + me + "."));
|
|
3265
3280
|
}
|
|
3266
3281
|
return g(D);
|
|
3267
3282
|
}
|
|
@@ -3271,7 +3286,7 @@ function Us() {
|
|
|
3271
3286
|
}
|
|
3272
3287
|
return g(y);
|
|
3273
3288
|
}
|
|
3274
|
-
function
|
|
3289
|
+
function ge(y, x, F, D, O) {
|
|
3275
3290
|
return new b(
|
|
3276
3291
|
(y || "React class") + ": " + x + " type `" + F + "." + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
3277
3292
|
);
|
|
@@ -3284,7 +3299,7 @@ function Us() {
|
|
|
3284
3299
|
for (var U in y) {
|
|
3285
3300
|
var q = y[U];
|
|
3286
3301
|
if (typeof q != "function")
|
|
3287
|
-
return
|
|
3302
|
+
return ge(O, j, B, U, k(q));
|
|
3288
3303
|
var re = q(N, U, O, j, B + "." + U, n);
|
|
3289
3304
|
if (re)
|
|
3290
3305
|
return re;
|
|
@@ -3302,7 +3317,7 @@ function Us() {
|
|
|
3302
3317
|
for (var q in U) {
|
|
3303
3318
|
var re = y[q];
|
|
3304
3319
|
if (a(y, q) && typeof re != "function")
|
|
3305
|
-
return
|
|
3320
|
+
return ge(O, j, B, q, k(re));
|
|
3306
3321
|
if (!re)
|
|
3307
3322
|
return new b(
|
|
3308
3323
|
"Invalid " + j + " `" + B + "` key `" + q + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(F[D], null, " ") + `
|
|
@@ -3450,12 +3465,12 @@ var Ws = /* @__PURE__ */ Vs();
|
|
|
3450
3465
|
const w = /* @__PURE__ */ er(Ws);
|
|
3451
3466
|
var pt = function(t) {
|
|
3452
3467
|
return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
3453
|
-
},
|
|
3468
|
+
}, he = {
|
|
3454
3469
|
id: "__id__",
|
|
3455
3470
|
display: "__display__"
|
|
3456
3471
|
}, zn = function(t, n) {
|
|
3457
3472
|
ke(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"'));
|
|
3458
|
-
var a = t.indexOf(
|
|
3473
|
+
var a = t.indexOf(he.display), r = t.indexOf(he.id);
|
|
3459
3474
|
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
3475
|
}, Qs = function(t) {
|
|
3461
3476
|
var n = /^\/(.+)\/(\w+)?$/;
|
|
@@ -3542,8 +3557,8 @@ var pt = function(t) {
|
|
|
3542
3557
|
var a = Qe(t, n), r = a[a.length - 1];
|
|
3543
3558
|
return r ? r.plainTextIndex + r.display.length : 0;
|
|
3544
3559
|
}, Zs = function(t) {
|
|
3545
|
-
var n = pt(t), a = t[t.indexOf(
|
|
3546
|
-
return new RegExp(n.replace(
|
|
3560
|
+
var n = pt(t), a = t[t.indexOf(he.display) + he.display.length], r = t[t.indexOf(he.id) + he.id.length];
|
|
3561
|
+
return new RegExp(n.replace(he.display, "([^".concat(pt(a || ""), "]+?)")).replace(he.id, "([^".concat(pt(r || ""), "]+?)")));
|
|
3547
3562
|
}, Ce = function(t) {
|
|
3548
3563
|
return Je.toArray(t).map(function(n) {
|
|
3549
3564
|
var a = n.props, r = a.markup, o = a.regex, s = a.displayTransform;
|
|
@@ -3559,7 +3574,7 @@ var pt = function(t) {
|
|
|
3559
3574
|
var a = new RegExp(t.toString() + "|").exec("").length - 1, r = Er(n);
|
|
3560
3575
|
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
3576
|
}, $s = function(t, n, a) {
|
|
3562
|
-
return t.replace(
|
|
3577
|
+
return t.replace(he.id, n).replace(he.display, a);
|
|
3563
3578
|
}, ei = [{
|
|
3564
3579
|
base: "A",
|
|
3565
3580
|
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
|
|
@@ -3927,14 +3942,14 @@ function Sr(e) {
|
|
|
3927
3942
|
} else
|
|
3928
3943
|
H.push(se(W, te));
|
|
3929
3944
|
te++;
|
|
3930
|
-
},
|
|
3945
|
+
}, le = function(W, ee, Y, k, Q, Z, y) {
|
|
3931
3946
|
var x = si(m, k);
|
|
3932
|
-
H.push(
|
|
3947
|
+
H.push(ge(k, Q, Z, x));
|
|
3933
3948
|
}, se = function(W, ee) {
|
|
3934
3949
|
return /* @__PURE__ */ M.createElement("span", Ae({}, u("substring"), {
|
|
3935
3950
|
key: ee
|
|
3936
3951
|
}), W);
|
|
3937
|
-
},
|
|
3952
|
+
}, ge = function(W, ee, Y, k) {
|
|
3938
3953
|
var Q = {
|
|
3939
3954
|
id: W,
|
|
3940
3955
|
display: ee,
|
|
@@ -3947,7 +3962,7 @@ function Sr(e) {
|
|
|
3947
3962
|
key: "caret"
|
|
3948
3963
|
}), W);
|
|
3949
3964
|
};
|
|
3950
|
-
return at(r, T,
|
|
3965
|
+
return at(r, T, le, J), H.push(" "), H !== E && E.push(be(H)), /* @__PURE__ */ M.createElement("div", Ae({}, u, {
|
|
3951
3966
|
ref: s
|
|
3952
3967
|
}), E);
|
|
3953
3968
|
}
|
|
@@ -4038,7 +4053,7 @@ var di = {};
|
|
|
4038
4053
|
function Pr(e) {
|
|
4039
4054
|
var t = e.id, n = e.suggestions, a = n === void 0 ? {} : n, r = e.a11ySuggestionsListLabel, o = e.focusIndex, s = e.position, A = e.left, u = e.right, l = e.top, d = e.scrollFocusedIntoView, c = e.isLoading, f = e.isOpened, p = e.onSelect, v = p === void 0 ? function() {
|
|
4040
4055
|
return null;
|
|
4041
|
-
} : p, b = e.ignoreAccents, g = e.containerRef, S = e.children, T = e.style, C = e.customSuggestionsContainer, E = e.onMouseDown, m = e.onMouseEnter, H = V(void 0), te = ht(H, 2), J = te[0],
|
|
4056
|
+
} : p, b = e.ignoreAccents, g = e.containerRef, S = e.children, T = e.style, C = e.customSuggestionsContainer, E = e.onMouseDown, m = e.onMouseEnter, H = V(void 0), te = ht(H, 2), J = te[0], le = te[1];
|
|
4042
4057
|
Fe(function() {
|
|
4043
4058
|
if (!(!J || J.offsetHeight >= J.scrollHeight || !d)) {
|
|
4044
4059
|
var Y = J.scrollTop, k = J.children[o].getBoundingClientRect(), Q = k.top, Z = k.bottom, y = J.getBoundingClientRect(), x = y.top;
|
|
@@ -4047,18 +4062,18 @@ function Pr(e) {
|
|
|
4047
4062
|
}, [o, d, J]);
|
|
4048
4063
|
var se = function() {
|
|
4049
4064
|
var k = /* @__PURE__ */ M.createElement("ul", Ae({
|
|
4050
|
-
ref:
|
|
4065
|
+
ref: le,
|
|
4051
4066
|
id: t,
|
|
4052
4067
|
role: "listbox",
|
|
4053
4068
|
"aria-label": r
|
|
4054
4069
|
}, T("list")), Object.values(a).reduce(function(Q, Z) {
|
|
4055
4070
|
var y = Z.results, x = Z.queryInfo;
|
|
4056
4071
|
return [].concat(gt(Q), gt(y.map(function(F, D) {
|
|
4057
|
-
return
|
|
4072
|
+
return ge(F, x, Q.length + D);
|
|
4058
4073
|
})));
|
|
4059
4074
|
}, []));
|
|
4060
4075
|
return C ? C(k) : k;
|
|
4061
|
-
},
|
|
4076
|
+
}, ge = function(k, Q, Z) {
|
|
4062
4077
|
var y = Z === o, x = Q.childIndex, F = Q.query, D = Je.toArray(S)[x].props.renderSuggestion;
|
|
4063
4078
|
return /* @__PURE__ */ M.createElement(li, {
|
|
4064
4079
|
style: T("item"),
|
|
@@ -4139,7 +4154,7 @@ function Wn(e, t) {
|
|
|
4139
4154
|
}
|
|
4140
4155
|
return n;
|
|
4141
4156
|
}
|
|
4142
|
-
function
|
|
4157
|
+
function de(e) {
|
|
4143
4158
|
for (var t = 1; t < arguments.length; t++) {
|
|
4144
4159
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
4145
4160
|
t % 2 ? Wn(Object(n), !0).forEach(function(a) {
|
|
@@ -4228,7 +4243,7 @@ var hi = function(t) {
|
|
|
4228
4243
|
// substyle props
|
|
4229
4244
|
ri(Tr)
|
|
4230
4245
|
);
|
|
4231
|
-
return
|
|
4246
|
+
return de(de(de(de({}, l), u("input")), {}, {
|
|
4232
4247
|
value: r.getPlainText(),
|
|
4233
4248
|
onScroll: r.updateHighlighterScroll
|
|
4234
4249
|
}, !s && !A && {
|
|
@@ -4488,7 +4503,7 @@ var hi = function(t) {
|
|
|
4488
4503
|
b instanceof Array && r.updateSuggestions(r._queryId, s, o, A, u, l, b);
|
|
4489
4504
|
}), I(R(r), "updateSuggestions", function(o, s, A, u, l, d, c) {
|
|
4490
4505
|
if (o === r._queryId) {
|
|
4491
|
-
r.suggestions =
|
|
4506
|
+
r.suggestions = de(de({}, r.suggestions), {}, I({}, s, {
|
|
4492
4507
|
queryInfo: {
|
|
4493
4508
|
childIndex: s,
|
|
4494
4509
|
query: A,
|
|
@@ -4509,20 +4524,20 @@ var hi = function(t) {
|
|
|
4509
4524
|
C && (te += " ");
|
|
4510
4525
|
var J = Ge(p, m, H, te);
|
|
4511
4526
|
r.inputElement.focus();
|
|
4512
|
-
var
|
|
4513
|
-
C && (
|
|
4514
|
-
var se = d +
|
|
4527
|
+
var le = T(A, u);
|
|
4528
|
+
C && (le += " ");
|
|
4529
|
+
var se = d + le.length;
|
|
4515
4530
|
r.setState({
|
|
4516
4531
|
selectionStart: se,
|
|
4517
4532
|
selectionEnd: se,
|
|
4518
4533
|
setSelectionAfterMentionChange: !0
|
|
4519
4534
|
});
|
|
4520
|
-
var
|
|
4535
|
+
var ge = {
|
|
4521
4536
|
target: {
|
|
4522
4537
|
value: J
|
|
4523
4538
|
}
|
|
4524
|
-
}, be = Qe(J, v), oe = Ge(f, d, c,
|
|
4525
|
-
r.executeOnChange(
|
|
4539
|
+
}, be = Qe(J, v), oe = Ge(f, d, c, le);
|
|
4540
|
+
r.executeOnChange(ge, J, oe, be), E && E(A, u, m, H), r.clearSuggestions();
|
|
4526
4541
|
}), I(R(r), "isLoading", function() {
|
|
4527
4542
|
var o = !1;
|
|
4528
4543
|
return M.Children.forEach(r.props.children, function(s) {
|
|
@@ -4572,7 +4587,7 @@ var hi = function(t) {
|
|
|
4572
4587
|
if (r.target === this.inputElement && this.supportsClipboardActions(r)) {
|
|
4573
4588
|
r.preventDefault();
|
|
4574
4589
|
var o = this.state, s = o.selectionStart, A = o.selectionEnd, u = this.props, l = u.value, d = u.children, c = Ce(d), f = ne(l, c, s, "START"), p = ne(l, c, A, "END"), v = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), g = Ge(l, f, p, v || b).replace(/\r/g, ""), S = Te(g, c), T = {
|
|
4575
|
-
target:
|
|
4590
|
+
target: de(de({}, r.target), {}, {
|
|
4576
4591
|
value: g
|
|
4577
4592
|
})
|
|
4578
4593
|
};
|
|
@@ -4607,7 +4622,7 @@ var hi = function(t) {
|
|
|
4607
4622
|
if (r.target === this.inputElement && this.supportsClipboardActions(r)) {
|
|
4608
4623
|
r.preventDefault(), this.saveSelectionToClipboard(r);
|
|
4609
4624
|
var o = this.state, s = o.selectionStart, A = o.selectionEnd, u = this.props, l = u.children, d = u.value, c = Ce(l), f = ne(d, c, s, "START"), p = ne(d, c, A, "END"), v = [d.slice(0, f), d.slice(p)].join(""), b = Te(v, c), g = {
|
|
4610
|
-
target:
|
|
4625
|
+
target: de(de({}, r.target), {}, {
|
|
4611
4626
|
value: b
|
|
4612
4627
|
})
|
|
4613
4628
|
};
|
|
@@ -4652,7 +4667,7 @@ var kt = function(t, n) {
|
|
|
4652
4667
|
letterSpacing: "inherit"
|
|
4653
4668
|
},
|
|
4654
4669
|
"&multiLine": {
|
|
4655
|
-
input:
|
|
4670
|
+
input: de({
|
|
4656
4671
|
height: "100%",
|
|
4657
4672
|
bottom: 0,
|
|
4658
4673
|
overflow: "hidden",
|
|
@@ -4668,7 +4683,7 @@ var kt = function(t, n) {
|
|
|
4668
4683
|
"&singleLine": t,
|
|
4669
4684
|
"&multiLine": !t
|
|
4670
4685
|
};
|
|
4671
|
-
}),
|
|
4686
|
+
}), eu = bi(on), Ei = {
|
|
4672
4687
|
fontWeight: "inherit"
|
|
4673
4688
|
}, Or = function(t) {
|
|
4674
4689
|
var n = t.display, a = t.style, r = t.className, o = t.classNames, s = rn(Ei, {
|
|
@@ -5297,8 +5312,8 @@ const Si = {
|
|
|
5297
5312
|
}
|
|
5298
5313
|
) })
|
|
5299
5314
|
] }),
|
|
5300
|
-
a && /* @__PURE__ */ i(
|
|
5301
|
-
s && /* @__PURE__ */ i(
|
|
5315
|
+
a && /* @__PURE__ */ i(ve, { children: a }),
|
|
5316
|
+
s && /* @__PURE__ */ i(pe, { errors: [A] })
|
|
5302
5317
|
] });
|
|
5303
5318
|
}
|
|
5304
5319
|
);
|
|
@@ -5318,8 +5333,8 @@ const tA = G(({ label: e, description: t, asterisk: n, invalid: a, error: r, ...
|
|
|
5318
5333
|
ref: s
|
|
5319
5334
|
}
|
|
5320
5335
|
),
|
|
5321
|
-
t && /* @__PURE__ */ i(
|
|
5322
|
-
a && /* @__PURE__ */ i(
|
|
5336
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5337
|
+
a && /* @__PURE__ */ i(pe, { errors: [r] })
|
|
5323
5338
|
] });
|
|
5324
5339
|
});
|
|
5325
5340
|
tA.displayName = "FieldClientSelectInput";
|
|
@@ -5338,8 +5353,8 @@ const nA = G(({ label: e, description: t, asterisk: n, invalid: a, error: r, ...
|
|
|
5338
5353
|
ref: s
|
|
5339
5354
|
}
|
|
5340
5355
|
),
|
|
5341
|
-
t && /* @__PURE__ */ i(
|
|
5342
|
-
a && /* @__PURE__ */ i(
|
|
5356
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5357
|
+
a && /* @__PURE__ */ i(pe, { errors: [r] })
|
|
5343
5358
|
] });
|
|
5344
5359
|
});
|
|
5345
5360
|
nA.displayName = "FieldProfileSelectInput";
|
|
@@ -5358,8 +5373,8 @@ const rA = G(({ label: e, description: t, asterisk: n, invalid: a, error: r, ...
|
|
|
5358
5373
|
...o
|
|
5359
5374
|
}
|
|
5360
5375
|
),
|
|
5361
|
-
t && /* @__PURE__ */ i(
|
|
5362
|
-
a && /* @__PURE__ */ i(
|
|
5376
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5377
|
+
a && /* @__PURE__ */ i(pe, { errors: [r] })
|
|
5363
5378
|
] });
|
|
5364
5379
|
});
|
|
5365
5380
|
rA.displayName = "FieldSaleSelectInput";
|
|
@@ -5401,8 +5416,8 @@ const aA = G(
|
|
|
5401
5416
|
]
|
|
5402
5417
|
}
|
|
5403
5418
|
),
|
|
5404
|
-
a && /* @__PURE__ */ i(
|
|
5405
|
-
u && /* @__PURE__ */ i(
|
|
5419
|
+
a && /* @__PURE__ */ i(ve, { children: a }),
|
|
5420
|
+
u && /* @__PURE__ */ i(pe, { errors: [l] })
|
|
5406
5421
|
] }))
|
|
5407
5422
|
);
|
|
5408
5423
|
aA.displayName = "FieldSelect";
|
|
@@ -5426,8 +5441,8 @@ const oA = G(
|
|
|
5426
5441
|
),
|
|
5427
5442
|
/* @__PURE__ */ h(Kn, { children: [
|
|
5428
5443
|
e && /* @__PURE__ */ i(ye, { htmlFor: l, asterisk: n, children: e }),
|
|
5429
|
-
t && /* @__PURE__ */ i(
|
|
5430
|
-
a && /* @__PURE__ */ i(
|
|
5444
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5445
|
+
a && /* @__PURE__ */ i(pe, { errors: [r] })
|
|
5431
5446
|
] })
|
|
5432
5447
|
] });
|
|
5433
5448
|
}
|
|
@@ -5440,8 +5455,8 @@ const sA = G(({ label: e, description: t, asterisk: n, invalid: a, error: r, ...
|
|
|
5440
5455
|
), /* @__PURE__ */ h(ae, { "data-invalid": a, children: [
|
|
5441
5456
|
e && /* @__PURE__ */ i(ye, { htmlFor: A, asterisk: n, children: e }),
|
|
5442
5457
|
/* @__PURE__ */ i(ra, { id: A, "aria-invalid": a, ...o, ref: s }),
|
|
5443
|
-
t && /* @__PURE__ */ i(
|
|
5444
|
-
a && /* @__PURE__ */ i(
|
|
5458
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5459
|
+
a && /* @__PURE__ */ i(pe, { errors: [r] })
|
|
5445
5460
|
] });
|
|
5446
5461
|
});
|
|
5447
5462
|
sA.displayName = "FieldTextarea";
|
|
@@ -5466,8 +5481,8 @@ const iA = G(
|
|
|
5466
5481
|
),
|
|
5467
5482
|
e && /* @__PURE__ */ i(ye, { htmlFor: l, asterisk: n, children: e })
|
|
5468
5483
|
] }),
|
|
5469
|
-
t && /* @__PURE__ */ i(
|
|
5470
|
-
a && /* @__PURE__ */ i(
|
|
5484
|
+
t && /* @__PURE__ */ i(ve, { children: t }),
|
|
5485
|
+
a && /* @__PURE__ */ i(pe, { errors: [r] })
|
|
5471
5486
|
] }) });
|
|
5472
5487
|
}
|
|
5473
5488
|
);
|
|
@@ -5478,8 +5493,8 @@ const AA = G(
|
|
|
5478
5493
|
), /* @__PURE__ */ h(ae, { orientation: "vertical", "data-invalid": r, children: [
|
|
5479
5494
|
e && /* @__PURE__ */ i(ye, { htmlFor: t, asterisk: a, children: e }),
|
|
5480
5495
|
/* @__PURE__ */ i(Fr, { id: t, ref: A, ...s }),
|
|
5481
|
-
n && /* @__PURE__ */ i(
|
|
5482
|
-
r && /* @__PURE__ */ i(
|
|
5496
|
+
n && /* @__PURE__ */ i(ve, { children: n }),
|
|
5497
|
+
r && /* @__PURE__ */ i(pe, { errors: [o] })
|
|
5483
5498
|
] }))
|
|
5484
5499
|
);
|
|
5485
5500
|
AA.displayName = "FieldResponsibleSelectInput";
|
|
@@ -5661,7 +5676,7 @@ export {
|
|
|
5661
5676
|
Xo as J,
|
|
5662
5677
|
$o as K,
|
|
5663
5678
|
lr as L,
|
|
5664
|
-
|
|
5679
|
+
eu as M,
|
|
5665
5680
|
DA as N,
|
|
5666
5681
|
as as O,
|
|
5667
5682
|
Ha as P,
|
|
@@ -5688,10 +5703,10 @@ export {
|
|
|
5688
5703
|
dA as a8,
|
|
5689
5704
|
fA as a9,
|
|
5690
5705
|
pA as aa,
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5706
|
+
ZA as ab,
|
|
5707
|
+
KA as ac,
|
|
5708
|
+
$A as ad,
|
|
5709
|
+
XA as ae,
|
|
5695
5710
|
Xe as af,
|
|
5696
5711
|
LA as ag,
|
|
5697
5712
|
zA as ah,
|
|
@@ -5701,6 +5716,8 @@ export {
|
|
|
5701
5716
|
VA as al,
|
|
5702
5717
|
WA as am,
|
|
5703
5718
|
QA as an,
|
|
5719
|
+
GA as ao,
|
|
5720
|
+
JA as ap,
|
|
5704
5721
|
La as b,
|
|
5705
5722
|
MA as c,
|
|
5706
5723
|
Ya as d,
|
|
@@ -5717,7 +5734,7 @@ export {
|
|
|
5717
5734
|
$a as o,
|
|
5718
5735
|
eo as p,
|
|
5719
5736
|
qA as q,
|
|
5720
|
-
|
|
5737
|
+
ue as r,
|
|
5721
5738
|
Or as s,
|
|
5722
5739
|
ho as t,
|
|
5723
5740
|
Lo as u,
|
package/dist/components.d.ts
CHANGED
|
@@ -723,6 +723,7 @@ declare interface PaymentInterface {
|
|
|
723
723
|
phase: PaymentPhase;
|
|
724
724
|
installments: Installments[];
|
|
725
725
|
received?: Received_2;
|
|
726
|
+
omieId?: string;
|
|
726
727
|
}
|
|
727
728
|
|
|
728
729
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
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.DJUDonHx.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.DJUDonHx.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.DJUDonHx.js";
|
|
2
2
|
const o = [
|
|
3
3
|
{
|
|
4
4
|
compe: "001",
|
package/dist/content.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ declare interface PaymentInterface {
|
|
|
390
390
|
phase: PaymentPhase;
|
|
391
391
|
installments: Installments[];
|
|
392
392
|
received?: Received_2;
|
|
393
|
+
omieId?: string;
|
|
393
394
|
}
|
|
394
395
|
|
|
395
396
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
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";
|
|
@@ -176,6 +205,37 @@ export declare const paymentTypeDict: {
|
|
|
176
205
|
is(value?: string | number | symbol | null): value is "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "partlog" | "airplane_ticket" | "hotel_ticket" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
|
|
177
206
|
};
|
|
178
207
|
|
|
208
|
+
export declare const salePhaseDict: {
|
|
209
|
+
data: {
|
|
210
|
+
readonly screening: "Triagem";
|
|
211
|
+
readonly proposal: "Proposta";
|
|
212
|
+
readonly negotiation: "Negociação";
|
|
213
|
+
readonly commission: "Comissionamento";
|
|
214
|
+
readonly formalization: "Formalização";
|
|
215
|
+
readonly closed: "Fechada";
|
|
216
|
+
readonly lost: "Perdida";
|
|
217
|
+
};
|
|
218
|
+
values: ("closed" | "screening" | "proposal" | "negotiation" | "commission" | "formalization" | "lost")[];
|
|
219
|
+
labels: ("Triagem" | "Proposta" | "Negociação" | "Comissionamento" | "Formalização" | "Fechada" | "Perdida")[];
|
|
220
|
+
getLabel: {
|
|
221
|
+
<K extends "closed" | "screening" | "proposal" | "negotiation" | "commission" | "formalization" | "lost">(value: K): {
|
|
222
|
+
readonly screening: "Triagem";
|
|
223
|
+
readonly proposal: "Proposta";
|
|
224
|
+
readonly negotiation: "Negociação";
|
|
225
|
+
readonly commission: "Comissionamento";
|
|
226
|
+
readonly formalization: "Formalização";
|
|
227
|
+
readonly closed: "Fechada";
|
|
228
|
+
readonly lost: "Perdida";
|
|
229
|
+
}[K];
|
|
230
|
+
(value?: string | number | symbol | null): "Triagem" | "Proposta" | "Negociação" | "Comissionamento" | "Formalização" | "Fechada" | "Perdida" | null;
|
|
231
|
+
};
|
|
232
|
+
options: {
|
|
233
|
+
value: "closed" | "screening" | "proposal" | "negotiation" | "commission" | "formalization" | "lost";
|
|
234
|
+
label: "Triagem" | "Proposta" | "Negociação" | "Comissionamento" | "Formalização" | "Fechada" | "Perdida";
|
|
235
|
+
}[];
|
|
236
|
+
is(value?: string | number | symbol | null): value is "closed" | "screening" | "proposal" | "negotiation" | "commission" | "formalization" | "lost";
|
|
237
|
+
};
|
|
238
|
+
|
|
179
239
|
export declare const socialNetworkColorDict: {
|
|
180
240
|
data: {
|
|
181
241
|
readonly instagram: "bg-gradient-to-br from-[#f09433] via-[#e6683c] via-[#dc2743] via-[#cc2366] to-[#bc1888]";
|
package/dist/dictionaries.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./chuncks/switch.D_38xWg-.js";
|
|
2
|
-
import { ah as
|
|
2
|
+
import { ah as D, ag as m, ae as n, ai as l, an as y, ak as h, aj as k, am as P, ap as T, ao as f, af as g, al as u } from "./chuncks/youtube-icon.component.DJUDonHx.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@tanstack/react-query";
|
|
@@ -7,14 +7,16 @@ import "date-fns";
|
|
|
7
7
|
import "./chuncks/shared-app-modules.provider.DRJ7n4Cj.js";
|
|
8
8
|
import "axios";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
D as actionStatusDict,
|
|
11
|
+
m 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,
|
|
17
|
+
P as salePhaseDict,
|
|
16
18
|
T as socialNetworkColorDict,
|
|
17
19
|
f as socialNetworkDict,
|
|
18
20
|
g as tagColorDict,
|
|
19
|
-
|
|
21
|
+
u as typeSaleDict
|
|
20
22
|
};
|
package/dist/events.js
CHANGED
package/dist/invoice.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ declare interface PaymentInterface {
|
|
|
390
390
|
phase: PaymentPhase;
|
|
391
391
|
installments: Installments[];
|
|
392
392
|
received?: Received_2;
|
|
393
|
+
omieId?: string;
|
|
393
394
|
}
|
|
394
395
|
|
|
395
396
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
package/dist/payment.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ export declare interface PaymentInterface {
|
|
|
390
390
|
phase: PaymentPhase;
|
|
391
391
|
installments: Installments[];
|
|
392
392
|
received?: Received;
|
|
393
|
+
omieId?: string;
|
|
393
394
|
}
|
|
394
395
|
|
|
395
396
|
export declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
package/dist/recruitment.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ declare interface PaymentInterface {
|
|
|
390
390
|
phase: PaymentPhase;
|
|
391
391
|
installments: Installments[];
|
|
392
392
|
received?: Received_2;
|
|
393
|
+
omieId?: string;
|
|
393
394
|
}
|
|
394
395
|
|
|
395
396
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
package/dist/sale.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ declare interface PaymentInterface {
|
|
|
390
390
|
phase: PaymentPhase;
|
|
391
391
|
installments: Installments[];
|
|
392
392
|
received?: Received_2;
|
|
393
|
+
omieId?: string;
|
|
393
394
|
}
|
|
394
395
|
|
|
395
396
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
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.CP4sH71a.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.CP4sH71a.js";
|
|
3
|
+
import { f as s } from "./chuncks/youtube-icon.component.DJUDonHx.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.DJUDonHx.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,
|