@grapadigital/shared-app-modules 0.0.202 → 0.0.203
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 -1
- package/dist/chuncks/{format.util.GNsuhUxt.js → format.util.CxhILG2b.js} +1 -1
- package/dist/chuncks/{organization-users.service.BCM_WcCz.js → organization-users.service.CUZsF7go.js} +1 -1
- package/dist/chuncks/{use-shared-app-modules.hook.B3x4jLx3.js → use-shared-app-modules.hook.uZhjsTQ0.js} +16 -17
- package/dist/chuncks/{youtube-icon.component.BiPOuPjz.js → youtube-icon.component.DgmjX6Bz.js} +7 -15
- package/dist/components.d.ts +1 -1
- package/dist/components.js +4 -4
- package/dist/constants.d.ts +2 -6
- package/dist/constants.js +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/dictionaries.d.ts +14 -22
- package/dist/dictionaries.js +1 -1
- package/dist/events.js +1 -1
- package/dist/hooks.js +3 -3
- package/dist/invoice.d.ts +1 -1
- package/dist/payment.d.ts +1 -1
- package/dist/recruitment.d.ts +1 -1
- package/dist/sale.d.ts +1 -1
- package/dist/utils.d.ts +2 -6
- package/dist/utils.js +4 -4
- package/package.json +9 -9
package/dist/action.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare interface ActionInterface {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
|
-
status?: "config" | "
|
|
8
|
+
status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
|
|
9
9
|
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
10
10
|
startDate?: string;
|
|
11
11
|
endDate?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import s from "axios";
|
|
2
2
|
import { g as r } from "./index.GkteP4bn.js";
|
|
3
|
-
import { useState as
|
|
3
|
+
import { useState as i, useEffect as u, useContext as c } from "react";
|
|
4
4
|
import { a as p } from "./shared-app-modules.provider.DRJ7n4Cj.js";
|
|
5
5
|
const A = (e) => {
|
|
6
|
-
const t =
|
|
6
|
+
const t = s.create({
|
|
7
7
|
baseURL: e,
|
|
8
8
|
headers: { "Content-Type": "application/json" }
|
|
9
9
|
});
|
|
@@ -11,8 +11,8 @@ const A = (e) => {
|
|
|
11
11
|
const n = localStorage.getItem("token");
|
|
12
12
|
return n && (o.headers.Authorization = `Bearer ${n}`), o;
|
|
13
13
|
}), t;
|
|
14
|
-
},
|
|
15
|
-
const t =
|
|
14
|
+
}, m = (e) => () => {
|
|
15
|
+
const t = s.create({
|
|
16
16
|
headers: { "Content-Type": "application/json" },
|
|
17
17
|
...e()
|
|
18
18
|
});
|
|
@@ -20,26 +20,25 @@ const A = (e) => {
|
|
|
20
20
|
const n = localStorage.getItem("token");
|
|
21
21
|
return n && (o.headers.Authorization = `Bearer ${n}`), o;
|
|
22
22
|
}), t;
|
|
23
|
-
},
|
|
24
|
-
const
|
|
25
|
-
return {
|
|
26
|
-
}, C =
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}));
|
|
23
|
+
}, d = (e) => {
|
|
24
|
+
const o = r.environments ?? {}, n = r.axios?.timeout ?? 5e3;
|
|
25
|
+
return { baseURL: o[e], timeout: n };
|
|
26
|
+
}, C = m(
|
|
27
|
+
() => d("VITE_BACKEND_API_ORGANIZATION_URL")
|
|
28
|
+
);
|
|
30
29
|
function S(e, t = 500) {
|
|
31
|
-
const [o, n] =
|
|
32
|
-
return
|
|
33
|
-
const
|
|
30
|
+
const [o, n] = i(e);
|
|
31
|
+
return u(() => {
|
|
32
|
+
const a = setTimeout(() => {
|
|
34
33
|
n(e);
|
|
35
34
|
}, t);
|
|
36
35
|
return () => {
|
|
37
|
-
clearTimeout(
|
|
36
|
+
clearTimeout(a);
|
|
38
37
|
};
|
|
39
38
|
}, [e, t]), o;
|
|
40
39
|
}
|
|
41
40
|
function v() {
|
|
42
|
-
const e =
|
|
41
|
+
const e = c(p);
|
|
43
42
|
if (!e)
|
|
44
43
|
throw new Error(
|
|
45
44
|
"useSharedAppModules deve ser usando detro de um componente SharedAppModulesProvider"
|
package/dist/chuncks/{youtube-icon.component.BiPOuPjz.js → youtube-icon.component.DgmjX6Bz.js}
RENAMED
|
@@ -5,7 +5,7 @@ import M, { createContext as vt, Component as oa, createElement as ln, Suspense
|
|
|
5
5
|
import { S as _t, F as ae, b as he, 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
|
-
import { b as bt, c as tt, u as nt, a as rt } from "./use-shared-app-modules.hook.
|
|
8
|
+
import { b as bt, c as tt, u as nt, a as rt } from "./use-shared-app-modules.hook.uZhjsTQ0.js";
|
|
9
9
|
import "./shared-app-modules.provider.DRJ7n4Cj.js";
|
|
10
10
|
import { isAxiosError as Zt } from "axios";
|
|
11
11
|
import va from "react-dom";
|
|
@@ -127,14 +127,10 @@ const DA = "Não há dados para atualizar.", FA = "O filtro selecionado já est
|
|
|
127
127
|
exclusive: "Exclusivos"
|
|
128
128
|
}, La = {
|
|
129
129
|
config: "Configuração",
|
|
130
|
-
|
|
131
|
-
production: "Produção",
|
|
132
|
-
posting: "Postagem",
|
|
133
|
-
analytics: "Analytics",
|
|
130
|
+
inProgress: "Em Andamento",
|
|
134
131
|
finished: "Concluído",
|
|
135
|
-
|
|
136
|
-
cancelled: "Cancelado"
|
|
137
|
-
archived: "Arquivada"
|
|
132
|
+
archived: "Arquivada",
|
|
133
|
+
cancelled: "Cancelado"
|
|
138
134
|
}, za = {
|
|
139
135
|
service: "Atendimento",
|
|
140
136
|
comercial: "Comercial",
|
|
@@ -272,14 +268,10 @@ const qA = ve({
|
|
|
272
268
|
exclusive: "Exclusivos"
|
|
273
269
|
}), LA = ve({
|
|
274
270
|
config: "Configuração",
|
|
275
|
-
|
|
276
|
-
production: "Produção",
|
|
277
|
-
posting: "Postagem",
|
|
278
|
-
analytics: "Analytics",
|
|
271
|
+
inProgress: "Em Andamento",
|
|
279
272
|
finished: "Concluído",
|
|
280
|
-
|
|
281
|
-
cancelled: "Cancelado"
|
|
282
|
-
archived: "Arquivada"
|
|
273
|
+
archived: "Arquivada",
|
|
274
|
+
cancelled: "Cancelado"
|
|
283
275
|
}), zA = ve({
|
|
284
276
|
agency: "Agência",
|
|
285
277
|
brand: "Marca"
|
package/dist/components.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare interface ActionInterface {
|
|
|
18
18
|
title?: string;
|
|
19
19
|
clientId?: string;
|
|
20
20
|
cluster?: string;
|
|
21
|
-
status?: "config" | "
|
|
21
|
+
status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
|
|
22
22
|
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
23
23
|
startDate?: string;
|
|
24
24
|
endDate?: string;
|
package/dist/components.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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, r as W } from "./chuncks/youtube-icon.component.
|
|
3
|
-
import { s as We, J as Xe, K as Ge, z as Qe, W as Ve, a2 as Ye, X as Ze, Y as Je, G as et, Z as tt, a3 as nt, _ as at, $ as rt, a0 as st, a1 as it, H as ot, L as lt, a4 as dt, a5 as ct, aa as gt, t as ut, u as pt, w as xt, x as mt, y as bt, a6 as ht, O as ft, U as yt, Q as wt, a7 as vt, a8 as kt, a9 as Nt, ac as Ct, ab as St } from "./chuncks/youtube-icon.component.
|
|
2
|
+
import { M as K, r as W } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
|
|
3
|
+
import { s as We, J as Xe, K as Ge, z as Qe, W as Ve, a2 as Ye, X as Ze, Y as Je, G as et, Z as tt, a3 as nt, _ as at, $ as rt, a0 as st, a1 as it, H as ot, L as lt, a4 as dt, a5 as ct, aa as gt, t as ut, u as pt, w as xt, x as mt, y as bt, a6 as ht, O as ft, U as yt, Q as wt, a7 as vt, a8 as kt, a9 as Nt, ac as Ct, ab as St } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
|
|
4
4
|
import { jsxs as d, 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";
|
|
7
7
|
import { parseISO as I, differenceInCalendarDays as Z, format as J } from "date-fns";
|
|
8
|
-
import { u as ee, a as te } from "./chuncks/use-shared-app-modules.hook.
|
|
8
|
+
import { u as ee, a as te } from "./chuncks/use-shared-app-modules.hook.uZhjsTQ0.js";
|
|
9
9
|
import "./chuncks/shared-app-modules.provider.DRJ7n4Cj.js";
|
|
10
10
|
import { useQuery as ne } from "@tanstack/react-query";
|
|
11
11
|
import "axios";
|
|
12
|
-
import { l as ae } from "./chuncks/organization-users.service.
|
|
12
|
+
import { l as ae } from "./chuncks/organization-users.service.CUZsF7go.js";
|
|
13
13
|
const re = [
|
|
14
14
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
15
15
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
package/dist/constants.d.ts
CHANGED
|
@@ -3,14 +3,10 @@ import { LucideProps } from 'lucide-react';
|
|
|
3
3
|
|
|
4
4
|
export declare const ACTION_STATUS_VALUES: {
|
|
5
5
|
readonly config: "Configuração";
|
|
6
|
-
readonly
|
|
7
|
-
readonly production: "Produção";
|
|
8
|
-
readonly posting: "Postagem";
|
|
9
|
-
readonly analytics: "Analytics";
|
|
6
|
+
readonly inProgress: "Em Andamento";
|
|
10
7
|
readonly finished: "Concluído";
|
|
11
|
-
readonly onHold: "Aguardando";
|
|
12
|
-
readonly cancelled: "Cancelado";
|
|
13
8
|
readonly archived: "Arquivada";
|
|
9
|
+
readonly cancelled: "Cancelado";
|
|
14
10
|
};
|
|
15
11
|
|
|
16
12
|
export declare const ACTION_TYPE_VALUES: {
|
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.DgmjX6Bz.js";
|
|
2
2
|
const o = [
|
|
3
3
|
{
|
|
4
4
|
compe: "001",
|
package/dist/content.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare interface ActionInterface {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
|
-
status?: "config" | "
|
|
8
|
+
status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
|
|
9
9
|
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
10
10
|
startDate?: string;
|
|
11
11
|
endDate?: string;
|
package/dist/dictionaries.d.ts
CHANGED
|
@@ -1,36 +1,28 @@
|
|
|
1
1
|
export declare const actionStatusDict: {
|
|
2
2
|
data: {
|
|
3
3
|
readonly config: "Configuração";
|
|
4
|
-
readonly
|
|
5
|
-
readonly production: "Produção";
|
|
6
|
-
readonly posting: "Postagem";
|
|
7
|
-
readonly analytics: "Analytics";
|
|
4
|
+
readonly inProgress: "Em Andamento";
|
|
8
5
|
readonly finished: "Concluído";
|
|
9
|
-
readonly onHold: "Aguardando";
|
|
10
|
-
readonly cancelled: "Cancelado";
|
|
11
6
|
readonly archived: "Arquivada";
|
|
7
|
+
readonly cancelled: "Cancelado";
|
|
12
8
|
};
|
|
13
|
-
values: ("
|
|
14
|
-
labels: ("Configuração" | "
|
|
9
|
+
values: ("config" | "inProgress" | "finished" | "archived" | "cancelled")[];
|
|
10
|
+
labels: ("Configuração" | "Em Andamento" | "Concluído" | "Arquivada" | "Cancelado")[];
|
|
15
11
|
getLabel: {
|
|
16
|
-
<K extends "
|
|
12
|
+
<K extends "config" | "inProgress" | "finished" | "archived" | "cancelled">(value: K): {
|
|
17
13
|
readonly config: "Configuração";
|
|
18
|
-
readonly
|
|
19
|
-
readonly production: "Produção";
|
|
20
|
-
readonly posting: "Postagem";
|
|
21
|
-
readonly analytics: "Analytics";
|
|
14
|
+
readonly inProgress: "Em Andamento";
|
|
22
15
|
readonly finished: "Concluído";
|
|
23
|
-
readonly onHold: "Aguardando";
|
|
24
|
-
readonly cancelled: "Cancelado";
|
|
25
16
|
readonly archived: "Arquivada";
|
|
17
|
+
readonly cancelled: "Cancelado";
|
|
26
18
|
}[K];
|
|
27
|
-
(value?: string | number | symbol | null): "Configuração" | "
|
|
19
|
+
(value?: string | number | symbol | null): "Configuração" | "Em Andamento" | "Concluído" | "Arquivada" | "Cancelado" | null;
|
|
28
20
|
};
|
|
29
21
|
options: {
|
|
30
|
-
value: "
|
|
31
|
-
label: "Configuração" | "
|
|
22
|
+
value: "config" | "inProgress" | "finished" | "archived" | "cancelled";
|
|
23
|
+
label: "Configuração" | "Em Andamento" | "Concluído" | "Arquivada" | "Cancelado";
|
|
32
24
|
}[];
|
|
33
|
-
is(value?: string | number | symbol | null): value is "
|
|
25
|
+
is(value?: string | number | symbol | null): value is "config" | "inProgress" | "finished" | "archived" | "cancelled";
|
|
34
26
|
};
|
|
35
27
|
|
|
36
28
|
export declare const actionTypeDict: {
|
|
@@ -113,7 +105,7 @@ export declare const paymentPhaseDict: {
|
|
|
113
105
|
readonly canceled: "Cancelado";
|
|
114
106
|
};
|
|
115
107
|
values: ("client" | "pending" | "review" | "awaiting" | "requested" | "received" | "queued" | "paid" | "canceled")[];
|
|
116
|
-
labels: ("
|
|
108
|
+
labels: ("Cancelado" | "Revisão Atendimento" | "Revisão Financeiro" | "Aguardando" | "NF Solicitada" | "NF Recebida" | "Na Fila para Pagamento" | "Pago" | "Pagamento via Cliente")[];
|
|
117
109
|
getLabel: {
|
|
118
110
|
<K extends "client" | "pending" | "review" | "awaiting" | "requested" | "received" | "queued" | "paid" | "canceled">(value: K): {
|
|
119
111
|
readonly pending: "Revisão Atendimento";
|
|
@@ -126,11 +118,11 @@ export declare const paymentPhaseDict: {
|
|
|
126
118
|
readonly client: "Pagamento via Cliente";
|
|
127
119
|
readonly canceled: "Cancelado";
|
|
128
120
|
}[K];
|
|
129
|
-
(value?: string | number | symbol | null): "
|
|
121
|
+
(value?: string | number | symbol | null): "Cancelado" | "Revisão Atendimento" | "Revisão Financeiro" | "Aguardando" | "NF Solicitada" | "NF Recebida" | "Na Fila para Pagamento" | "Pago" | "Pagamento via Cliente" | null;
|
|
130
122
|
};
|
|
131
123
|
options: {
|
|
132
124
|
value: "client" | "pending" | "review" | "awaiting" | "requested" | "received" | "queued" | "paid" | "canceled";
|
|
133
|
-
label: "
|
|
125
|
+
label: "Cancelado" | "Revisão Atendimento" | "Revisão Financeiro" | "Aguardando" | "NF Solicitada" | "NF Recebida" | "Na Fila para Pagamento" | "Pago" | "Pagamento via Cliente";
|
|
134
126
|
}[];
|
|
135
127
|
is(value?: string | number | symbol | null): value is "client" | "pending" | "review" | "awaiting" | "requested" | "received" | "queued" | "paid" | "canceled";
|
|
136
128
|
};
|
package/dist/dictionaries.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./chuncks/switch.D_38xWg-.js";
|
|
2
|
-
import { ag as m, af as D, ad as l, ah as n, aj as y, ai as k, am as T, al as f, ae as g, ak as h } from "./chuncks/youtube-icon.component.
|
|
2
|
+
import { ag as m, af as D, ad as l, ah as n, aj as y, ai as k, am as T, al as f, ae as g, ak as h } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@tanstack/react-query";
|
package/dist/events.js
CHANGED
package/dist/hooks.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as s } from "./chuncks/use-shared-app-modules.hook.
|
|
2
|
-
import { a as l } from "./chuncks/use-shared-app-modules.hook.
|
|
1
|
+
import { u as s } from "./chuncks/use-shared-app-modules.hook.uZhjsTQ0.js";
|
|
2
|
+
import { a as l } from "./chuncks/use-shared-app-modules.hook.uZhjsTQ0.js";
|
|
3
3
|
import { useQuery as o } from "@tanstack/react-query";
|
|
4
|
-
import { l as n } from "./chuncks/organization-users.service.
|
|
4
|
+
import { l as n } from "./chuncks/organization-users.service.CUZsF7go.js";
|
|
5
5
|
function a(e) {
|
|
6
6
|
const { environments: r } = s();
|
|
7
7
|
return o({
|
package/dist/invoice.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare interface ActionInterface {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
|
-
status?: "config" | "
|
|
8
|
+
status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
|
|
9
9
|
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
10
10
|
startDate?: string;
|
|
11
11
|
endDate?: string;
|
package/dist/payment.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare interface ActionInterface {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
|
-
status?: "config" | "
|
|
8
|
+
status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
|
|
9
9
|
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
10
10
|
startDate?: string;
|
|
11
11
|
endDate?: string;
|
package/dist/recruitment.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare interface ActionInterface {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
|
-
status?: "config" | "
|
|
8
|
+
status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
|
|
9
9
|
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
10
10
|
startDate?: string;
|
|
11
11
|
endDate?: string;
|
package/dist/sale.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare interface ActionInterface {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
|
-
status?: "config" | "
|
|
8
|
+
status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
|
|
9
9
|
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
10
10
|
startDate?: string;
|
|
11
11
|
endDate?: string;
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
declare const ACTION_STATUS_VALUES: {
|
|
2
2
|
readonly config: "Configuração";
|
|
3
|
-
readonly
|
|
4
|
-
readonly production: "Produção";
|
|
5
|
-
readonly posting: "Postagem";
|
|
6
|
-
readonly analytics: "Analytics";
|
|
3
|
+
readonly inProgress: "Em Andamento";
|
|
7
4
|
readonly finished: "Concluído";
|
|
8
|
-
readonly onHold: "Aguardando";
|
|
9
|
-
readonly cancelled: "Cancelado";
|
|
10
5
|
readonly archived: "Arquivada";
|
|
6
|
+
readonly cancelled: "Cancelado";
|
|
11
7
|
};
|
|
12
8
|
|
|
13
9
|
declare const BUSINESS_UNIT_VALUES: {
|
package/dist/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { U as s } from "./chuncks/format.util.
|
|
2
|
-
import { g as l, h as v, f as y, a as C, d as E, m as L, c as P, e as _, p as b, b as k, u as D } from "./chuncks/format.util.
|
|
3
|
-
import { f as a } from "./chuncks/youtube-icon.component.
|
|
4
|
-
import { q 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, v as V } from "./chuncks/youtube-icon.component.
|
|
1
|
+
import { U as s } from "./chuncks/format.util.CxhILG2b.js";
|
|
2
|
+
import { g as l, h as v, f as y, a as C, d as E, m as L, c as P, e as _, p as b, b as k, u as D } from "./chuncks/format.util.CxhILG2b.js";
|
|
3
|
+
import { f as a } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
|
|
4
|
+
import { q 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, v as V } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
|
|
5
5
|
const o = (e) => e ? `${e} é obrigatório.` : "Campo obrigatório.", t = (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,
|
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.
|
|
4
|
+
"version": "0.0.203",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -128,6 +128,13 @@
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
"type": "module",
|
|
131
|
+
"scripts": {
|
|
132
|
+
"dev": "vite",
|
|
133
|
+
"build": "rm -rf dist && tsc -b && vite build",
|
|
134
|
+
"lint": "eslint .",
|
|
135
|
+
"preview": "vite preview",
|
|
136
|
+
"lib:publish": "pnpm build && pnpm publish --no-git-checks"
|
|
137
|
+
},
|
|
131
138
|
"peerDependencies": {
|
|
132
139
|
"react": "^18.3.1",
|
|
133
140
|
"react-dom": "^18.3.1"
|
|
@@ -190,12 +197,5 @@
|
|
|
190
197
|
"vite": "^7.2.4",
|
|
191
198
|
"vite-plugin-dts": "^4.5.4",
|
|
192
199
|
"vite-plugin-lib-inject-css": "^2.2.2"
|
|
193
|
-
},
|
|
194
|
-
"scripts": {
|
|
195
|
-
"dev": "vite",
|
|
196
|
-
"build": "rm -rf dist && tsc -b && vite build",
|
|
197
|
-
"lint": "eslint .",
|
|
198
|
-
"preview": "vite preview",
|
|
199
|
-
"lib:publish": "pnpm build && pnpm publish --no-git-checks"
|
|
200
200
|
}
|
|
201
|
-
}
|
|
201
|
+
}
|