@grapadigital/shared-app-modules 0.0.129 → 0.0.130
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.0m7GYVKG.js → format.util.DUEefj5C.js} +1 -1
- package/dist/chuncks/{field-textarea.component.BW5BUAih.js → youtube-icon.component.BpgjzXcR.js} +447 -297
- package/dist/components.js +18 -19
- package/dist/constants.js +12 -23
- package/dist/events.js +1 -1
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/chuncks/youtube-icon.component.R7s6jY4w.js +0 -145
package/dist/components.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a as b, c, B as M, ap as k, aq as v, ar as C, P as T, Q as H, W as y, V as _, R as A, X as
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as e, jsxs as o, Fragment as
|
|
1
|
+
import { a as b, c, B as M, ap as k, aq as v, ar as C, P as T, Q as H, W as y, V as _, R as A, X as j } from "./chuncks/switch.BgkPsd63.js";
|
|
2
|
+
import { k as de, l as ge, p as xe, q as be, u as me, F as he, r as fe, s as pe, v as ue, t as ye, w as we, I as Ne, m as ke, x as ve, L as Ce, P as Ie, f as ze, g as Se, h as Fe, j as Me, y as Te, n as He, o as _e, T as Ae, Y as je } from "./chuncks/youtube-icon.component.BpgjzXcR.js";
|
|
3
|
+
import { jsx as e, jsxs as o, Fragment as L } from "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import { C as I, f as z, S as f } from "./chuncks/card.C4GIVN6P.js";
|
|
6
|
-
import { parseISO as w, differenceInCalendarDays as
|
|
7
|
-
import { I as He, L as _e, P as Ae, T as Pe, Y as je } from "./chuncks/youtube-icon.component.R7s6jY4w.js";
|
|
6
|
+
import { parseISO as w, differenceInCalendarDays as P, format as $ } from "date-fns";
|
|
8
7
|
const D = [
|
|
9
8
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
10
9
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
@@ -75,7 +74,7 @@ function ae({
|
|
|
75
74
|
disabled: d = !1,
|
|
76
75
|
...x
|
|
77
76
|
}) {
|
|
78
|
-
return /* @__PURE__ */ e(
|
|
77
|
+
return /* @__PURE__ */ e(L, { children: d === !0 ? s : /* @__PURE__ */ o(k, { openDelay: n, closeDelay: r, ...x, children: [
|
|
79
78
|
/* @__PURE__ */ e(v, { asChild: i, children: s }),
|
|
80
79
|
/* @__PURE__ */ e(C, { align: t, className: l, children: a })
|
|
81
80
|
] }) });
|
|
@@ -164,7 +163,7 @@ function ne({
|
|
|
164
163
|
}) {
|
|
165
164
|
let g = "";
|
|
166
165
|
if (d && typeof t == "string" && !p && l) {
|
|
167
|
-
const F = w(t), h =
|
|
166
|
+
const F = w(t), h = P(F, /* @__PURE__ */ new Date());
|
|
168
167
|
h > 15 ? g = "bg-yellow-100 font-bold" : h > 7 ? g = "bg-yellow-300 font-bold" : h >= 0 ? g = "bg-red-300 font-bold" : g = "bg-red-500 text-white font-bold";
|
|
169
168
|
} else l && (g = "bg-[#ffe0b2] font-bold");
|
|
170
169
|
return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(k, { openDelay: 0, closeDelay: 0, children: [
|
|
@@ -256,7 +255,7 @@ function se({
|
|
|
256
255
|
}) }) }),
|
|
257
256
|
/* @__PURE__ */ e(A, { children: Array.from({ length: t }).map((n, r) => /* @__PURE__ */ e(y, { className: "h-[3.05rem]", children: Array.from({ length: a }).map((s, d) => {
|
|
258
257
|
const x = i && d === a - 1;
|
|
259
|
-
return /* @__PURE__ */ e(
|
|
258
|
+
return /* @__PURE__ */ e(j, { children: x ? /* @__PURE__ */ e("div", { className: "flex gap-2", children: Array.from({ length: l }).map((p, m) => /* @__PURE__ */ e(f, { className: "ml-auto size-8" }, m)) }) : /* @__PURE__ */ e(f, { className: "h-4 w-full" }) }, d);
|
|
260
259
|
}) }, r)) })
|
|
261
260
|
] });
|
|
262
261
|
}
|
|
@@ -277,20 +276,20 @@ export {
|
|
|
277
276
|
re as IconBadge,
|
|
278
277
|
Ne as Image,
|
|
279
278
|
ke as InfluencerSelectInput,
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
ve as InstagramIcon,
|
|
280
|
+
Ce as LinkedInIcon,
|
|
282
281
|
le as List,
|
|
283
282
|
ne as ListRow,
|
|
284
283
|
ie as NotFoundCard,
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
284
|
+
Ie as PageHeader,
|
|
285
|
+
ze as PageHeaderActions,
|
|
286
|
+
Se as PageHeaderContent,
|
|
287
|
+
Fe as PageHeaderDescription,
|
|
288
|
+
Me as PageHeaderTitle,
|
|
289
|
+
Te as PinterestIcon,
|
|
290
|
+
He as ProfileSelectInput,
|
|
291
|
+
_e as SaleSelectInput,
|
|
293
292
|
se as TableSkeleton,
|
|
294
|
-
|
|
293
|
+
Ae as TikTokIcon,
|
|
295
294
|
je as YoutubeIcon
|
|
296
295
|
};
|
package/dist/constants.js
CHANGED
|
@@ -1,25 +1,14 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
|
|
3
|
-
import "react/jsx-runtime";
|
|
4
|
-
import "react";
|
|
5
|
-
import "date-fns";
|
|
6
|
-
import { P as o, L as a, Y as t, T as e, I as n } from "./chuncks/youtube-icon.component.R7s6jY4w.js";
|
|
7
|
-
const A = "Não há dados para atualizar.", T = "O filtro selecionado já está ativo. Por favor, escolha outro filtro antes de tentar novamente.", S = "Nenhum dado novo foi informado para realizar a operação. Por favor, atualize os campos antes de tentar novamente.", m = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.", I = {
|
|
8
|
-
instagram: n,
|
|
9
|
-
tiktok: e,
|
|
10
|
-
youtube: t,
|
|
11
|
-
linkedin: a,
|
|
12
|
-
pinterest: o
|
|
13
|
-
};
|
|
1
|
+
import { A as r, B as n, C as s, S as A, e as S, d as O } from "./chuncks/youtube-icon.component.BpgjzXcR.js";
|
|
2
|
+
const o = "Não há dados para atualizar.", a = "O filtro selecionado já está ativo. Por favor, escolha outro filtro antes de tentar novamente.", e = "Nenhum dado novo foi informado para realizar a operação. Por favor, atualize os campos antes de tentar novamente.", t = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.";
|
|
14
3
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
4
|
+
r as ACTION_TYPE_VALUES,
|
|
5
|
+
n as BUSINESS_UNIT_VALUES,
|
|
6
|
+
s as CLIENT_TYPE_VALUES,
|
|
7
|
+
t as ERROR_MESSAGE,
|
|
8
|
+
a as FILTER_ALREADY_APPLIED_MESSAGE,
|
|
9
|
+
o as NO_DATA_TO_UPDATE,
|
|
10
|
+
e as NO_DATA_TO_UPDATE_MESSAGE,
|
|
11
|
+
A as SOCIAL_NETWORK_COLOR_VALUES,
|
|
12
|
+
S as SOCIAL_NETWORK_ICON_COMPONENTS,
|
|
13
|
+
O as SOCIAL_NETWORK_VALUES
|
|
25
14
|
};
|
package/dist/events.js
CHANGED
package/dist/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.
|
|
2
|
-
import { i as k, a as P, b, c as N } from "./chuncks/
|
|
1
|
+
import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.DUEefj5C.js";
|
|
2
|
+
import { i as k, a as P, b, c as N } from "./chuncks/youtube-icon.component.BpgjzXcR.js";
|
|
3
3
|
export {
|
|
4
4
|
e as formatCompactNumber,
|
|
5
5
|
r as formatCompactPercent,
|
package/package.json
CHANGED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
function a({
|
|
3
|
-
size: t = 24,
|
|
4
|
-
color: o = "currentColor",
|
|
5
|
-
...e
|
|
6
|
-
}) {
|
|
7
|
-
return /* @__PURE__ */ r(
|
|
8
|
-
"svg",
|
|
9
|
-
{
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
width: t,
|
|
12
|
-
height: t,
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "none",
|
|
15
|
-
stroke: o,
|
|
16
|
-
strokeWidth: "2",
|
|
17
|
-
strokeLinecap: "round",
|
|
18
|
-
strokeLinejoin: "round",
|
|
19
|
-
className: "lucide lucide-instagram-icon lucide-instagram",
|
|
20
|
-
...e,
|
|
21
|
-
children: [
|
|
22
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", x: "2", y: "2", rx: "5", ry: "5" }),
|
|
23
|
-
/* @__PURE__ */ n("path", { d: "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z" }),
|
|
24
|
-
/* @__PURE__ */ n("line", { x1: "17.5", x2: "17.51", y1: "6.5", y2: "6.5" })
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
function s({
|
|
30
|
-
size: t = 24,
|
|
31
|
-
color: o = "currentColor",
|
|
32
|
-
...e
|
|
33
|
-
}) {
|
|
34
|
-
return /* @__PURE__ */ r(
|
|
35
|
-
"svg",
|
|
36
|
-
{
|
|
37
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
38
|
-
width: t,
|
|
39
|
-
height: t,
|
|
40
|
-
viewBox: "0 0 24 24",
|
|
41
|
-
fill: "none",
|
|
42
|
-
stroke: o,
|
|
43
|
-
strokeWidth: "2",
|
|
44
|
-
strokeLinecap: "round",
|
|
45
|
-
strokeLinejoin: "round",
|
|
46
|
-
className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-linkedin",
|
|
47
|
-
...e,
|
|
48
|
-
children: [
|
|
49
|
-
/* @__PURE__ */ n("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
50
|
-
/* @__PURE__ */ n("path", { d: "M8 11v5" }),
|
|
51
|
-
/* @__PURE__ */ n("path", { d: "M8 8v.01" }),
|
|
52
|
-
/* @__PURE__ */ n("path", { d: "M12 16v-5" }),
|
|
53
|
-
/* @__PURE__ */ n("path", { d: "M16 16v-3a2 2 0 1 0 -4 0" }),
|
|
54
|
-
/* @__PURE__ */ n("path", { d: "M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4l0 -10" })
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
function l({
|
|
60
|
-
size: t = 24,
|
|
61
|
-
color: o = "currentColor",
|
|
62
|
-
...e
|
|
63
|
-
}) {
|
|
64
|
-
return /* @__PURE__ */ r(
|
|
65
|
-
"svg",
|
|
66
|
-
{
|
|
67
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
68
|
-
width: t,
|
|
69
|
-
height: t,
|
|
70
|
-
viewBox: "0 0 24 24",
|
|
71
|
-
fill: "none",
|
|
72
|
-
stroke: o,
|
|
73
|
-
strokeWidth: "2",
|
|
74
|
-
strokeLinecap: "round",
|
|
75
|
-
strokeLinejoin: "round",
|
|
76
|
-
className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-pinterest",
|
|
77
|
-
...e,
|
|
78
|
-
children: [
|
|
79
|
-
/* @__PURE__ */ n("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
80
|
-
/* @__PURE__ */ n("path", { d: "M8 20l4 -9" }),
|
|
81
|
-
/* @__PURE__ */ n("path", { d: "M10.7 14c.437 1.263 1.43 2 2.55 2c2.071 0 3.75 -1.554 3.75 -4a5 5 0 1 0 -9.7 1.7" }),
|
|
82
|
-
/* @__PURE__ */ n("path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" })
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
function h({
|
|
88
|
-
size: t = 24,
|
|
89
|
-
color: o = "transparent",
|
|
90
|
-
...e
|
|
91
|
-
}) {
|
|
92
|
-
return /* @__PURE__ */ r(
|
|
93
|
-
"svg",
|
|
94
|
-
{
|
|
95
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
96
|
-
width: t,
|
|
97
|
-
height: t,
|
|
98
|
-
viewBox: "0 0 24 24",
|
|
99
|
-
fill: o,
|
|
100
|
-
stroke: "currentColor",
|
|
101
|
-
strokeWidth: "2",
|
|
102
|
-
strokeLinecap: "round",
|
|
103
|
-
strokeLinejoin: "round",
|
|
104
|
-
className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-tiktok",
|
|
105
|
-
...e,
|
|
106
|
-
children: [
|
|
107
|
-
/* @__PURE__ */ n("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
108
|
-
/* @__PURE__ */ n("path", { d: "M21 7.917v4.034a9.948 9.948 0 0 1 -5 -1.951v4.5a6.5 6.5 0 1 1 -8 -6.326v4.326a2.5 2.5 0 1 0 4 2v-11.5h4.083a6.005 6.005 0 0 0 4.917 4.917" })
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
function c({
|
|
114
|
-
size: t = 24,
|
|
115
|
-
color: o = "currentColor",
|
|
116
|
-
...e
|
|
117
|
-
}) {
|
|
118
|
-
return /* @__PURE__ */ r(
|
|
119
|
-
"svg",
|
|
120
|
-
{
|
|
121
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
122
|
-
width: t,
|
|
123
|
-
height: t,
|
|
124
|
-
viewBox: "0 0 24 24",
|
|
125
|
-
fill: "none",
|
|
126
|
-
stroke: o,
|
|
127
|
-
strokeWidth: "2",
|
|
128
|
-
strokeLinecap: "round",
|
|
129
|
-
strokeLinejoin: "round",
|
|
130
|
-
className: "lucide lucide-youtube-icon lucide-youtube",
|
|
131
|
-
...e,
|
|
132
|
-
children: [
|
|
133
|
-
/* @__PURE__ */ n("path", { d: "M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17" }),
|
|
134
|
-
/* @__PURE__ */ n("path", { d: "m10 15 5-3-5-3z" })
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
export {
|
|
140
|
-
a as I,
|
|
141
|
-
s as L,
|
|
142
|
-
l as P,
|
|
143
|
-
h as T,
|
|
144
|
-
c as Y
|
|
145
|
-
};
|