@grapadigital/shared-app-modules 0.0.129 → 0.0.131
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.DeUIL00r.js} +1 -1
- package/dist/chuncks/{field-textarea.component.BW5BUAih.js → youtube-icon.component.CKDqR6FG.js} +557 -372
- package/dist/components.d.ts +4 -0
- package/dist/components.js +110 -86
- package/dist/constants.d.ts +5 -0
- package/dist/constants.js +12 -23
- package/dist/events.js +1 -1
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/chuncks/youtube-icon.component.R7s6jY4w.js +0 -145
package/dist/components.d.ts
CHANGED
|
@@ -798,6 +798,8 @@ declare interface TableSkeletonProps {
|
|
|
798
798
|
|
|
799
799
|
export declare function TikTokIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
800
800
|
|
|
801
|
+
export declare function TwitterIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
802
|
+
|
|
801
803
|
declare interface UserInterface {
|
|
802
804
|
_id?: string;
|
|
803
805
|
name?: string;
|
|
@@ -833,6 +835,8 @@ declare interface UserInterface {
|
|
|
833
835
|
};
|
|
834
836
|
}
|
|
835
837
|
|
|
838
|
+
export declare function XIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
839
|
+
|
|
836
840
|
export declare function YoutubeIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
837
841
|
|
|
838
842
|
export { }
|
package/dist/components.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { a as b, c, B as
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as e, jsxs as o, Fragment as
|
|
1
|
+
import { a as b, c, B as F, ap as N, aq as v, ar as C, P as T, Q as H, W as y, V as _, R as j, X as A } from "./chuncks/switch.BgkPsd63.js";
|
|
2
|
+
import { k as ge, l as xe, p as be, q as me, r as he, F as fe, s as pe, t as ue, u as ye, v as we, w as ke, I as Ne, m as ve, x as Ce, L as Ie, P as ze, f as Me, g as Se, h as Fe, j as Te, y as He, n as _e, o as je, T as Ae, X as Le, Y as Pe } from "./chuncks/youtube-icon.component.CKDqR6FG.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
|
-
|
|
8
|
-
const D = [
|
|
6
|
+
import { parseISO as w, differenceInCalendarDays as P, format as $ } from "date-fns";
|
|
7
|
+
const B = [
|
|
9
8
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
10
9
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
11
10
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
12
|
-
],
|
|
13
|
-
const
|
|
11
|
+
], D = b("circle-alert", B);
|
|
12
|
+
const q = [
|
|
14
13
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
15
14
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
16
|
-
], R = b("copy",
|
|
15
|
+
], R = b("copy", q);
|
|
17
16
|
const V = [
|
|
18
17
|
[
|
|
19
18
|
"path",
|
|
@@ -26,14 +25,14 @@ const V = [
|
|
|
26
25
|
["path", { d: "M10 9H8", key: "b1mrlr" }],
|
|
27
26
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
28
27
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
29
|
-
],
|
|
30
|
-
const
|
|
28
|
+
], X = b("file-text", V);
|
|
29
|
+
const W = [
|
|
31
30
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
32
31
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
33
32
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
34
33
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
35
|
-
],
|
|
36
|
-
const
|
|
34
|
+
], Y = b("refresh-cw", W);
|
|
35
|
+
const E = [
|
|
37
36
|
[
|
|
38
37
|
"path",
|
|
39
38
|
{
|
|
@@ -43,44 +42,44 @@ const O = [
|
|
|
43
42
|
],
|
|
44
43
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
45
44
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
46
|
-
],
|
|
45
|
+
], O = b("triangle-alert", E);
|
|
47
46
|
function te({
|
|
48
|
-
icon: a =
|
|
47
|
+
icon: a = O,
|
|
49
48
|
title: t,
|
|
50
|
-
description:
|
|
51
|
-
onRetry:
|
|
52
|
-
tip:
|
|
49
|
+
description: l,
|
|
50
|
+
onRetry: n,
|
|
51
|
+
tip: i,
|
|
53
52
|
className: r,
|
|
54
53
|
...s
|
|
55
54
|
}) {
|
|
56
55
|
return /* @__PURE__ */ e(I, { className: c(r), ...s, children: /* @__PURE__ */ o(z, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
|
|
57
56
|
/* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(a, { "aria-hidden": "true", className: "text-destructive/60 size-16" }) }),
|
|
58
57
|
/* @__PURE__ */ e("h3", { className: "text-foreground mb-2 text-lg font-semibold", children: t }),
|
|
59
|
-
/* @__PURE__ */ e("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children:
|
|
60
|
-
|
|
61
|
-
/* @__PURE__ */ e(
|
|
58
|
+
/* @__PURE__ */ e("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: l }),
|
|
59
|
+
n && /* @__PURE__ */ o(F, { onClick: n, variant: "outline", className: "mt-6", children: [
|
|
60
|
+
/* @__PURE__ */ e(Y, {}),
|
|
62
61
|
"Tentar novamente"
|
|
63
62
|
] }),
|
|
64
|
-
|
|
63
|
+
i && /* @__PURE__ */ e("div", { className: "bg-destructive/5 border-destructive/20 mt-6 rounded-lg border border-dashed px-4 py-2", children: /* @__PURE__ */ e("p", { className: "text-muted-foreground text-xs", children: i }) })
|
|
65
64
|
] }) });
|
|
66
65
|
}
|
|
67
66
|
function ae({
|
|
68
67
|
content: a,
|
|
69
68
|
align: t,
|
|
70
|
-
asChild:
|
|
71
|
-
className:
|
|
72
|
-
openDelay:
|
|
69
|
+
asChild: l,
|
|
70
|
+
className: n,
|
|
71
|
+
openDelay: i = 0,
|
|
73
72
|
closeDelay: r = 0,
|
|
74
73
|
children: s,
|
|
75
74
|
disabled: d = !1,
|
|
76
75
|
...x
|
|
77
76
|
}) {
|
|
78
|
-
return /* @__PURE__ */ e(
|
|
79
|
-
/* @__PURE__ */ e(v, { asChild:
|
|
80
|
-
/* @__PURE__ */ e(C, { align: t, className:
|
|
77
|
+
return /* @__PURE__ */ e(L, { children: d === !0 ? s : /* @__PURE__ */ o(N, { openDelay: i, closeDelay: r, ...x, children: [
|
|
78
|
+
/* @__PURE__ */ e(v, { asChild: l, children: s }),
|
|
79
|
+
/* @__PURE__ */ e(C, { align: t, className: n, children: a })
|
|
81
80
|
] }) });
|
|
82
81
|
}
|
|
83
|
-
const
|
|
82
|
+
const Q = {
|
|
84
83
|
red: { bg: "bg-red-50", text: "text-red-600" },
|
|
85
84
|
orange: { bg: "bg-orange-50", text: "text-orange-600" },
|
|
86
85
|
amber: { bg: "bg-amber-50", text: "text-amber-600" },
|
|
@@ -127,7 +126,7 @@ const X = {
|
|
|
127
126
|
neutral: { bg: "bg-neutral-500", text: "text-white" },
|
|
128
127
|
stone: { bg: "bg-stone-500", text: "text-white" },
|
|
129
128
|
black: { bg: "bg-black", text: "text-white" }
|
|
130
|
-
},
|
|
129
|
+
}, k = {
|
|
131
130
|
xs: "size-3",
|
|
132
131
|
sm: "size-4",
|
|
133
132
|
md: "size-5",
|
|
@@ -137,12 +136,12 @@ const X = {
|
|
|
137
136
|
function re({
|
|
138
137
|
size: a,
|
|
139
138
|
color: t,
|
|
140
|
-
className:
|
|
141
|
-
icon:
|
|
142
|
-
filled:
|
|
139
|
+
className: l,
|
|
140
|
+
icon: n,
|
|
141
|
+
filled: i
|
|
143
142
|
}) {
|
|
144
|
-
const r =
|
|
145
|
-
return /* @__PURE__ */ e("div", { className: c("w-fit p-2 rounded-lg", r?.bg,
|
|
143
|
+
const r = i ? G[t] : Q[t], s = a ? k[a] : k.md;
|
|
144
|
+
return /* @__PURE__ */ e("div", { className: c("w-fit p-2 rounded-lg", r?.bg, l), children: /* @__PURE__ */ e(n, { className: c(s, r?.text) }) });
|
|
146
145
|
}
|
|
147
146
|
function le({ className: a, ...t }) {
|
|
148
147
|
return /* @__PURE__ */ e("div", { className: c("divide-y", a), ...t });
|
|
@@ -150,36 +149,36 @@ function le({ className: a, ...t }) {
|
|
|
150
149
|
function ne({
|
|
151
150
|
label: a,
|
|
152
151
|
value: t,
|
|
153
|
-
tooltip:
|
|
154
|
-
highlight:
|
|
155
|
-
negative:
|
|
152
|
+
tooltip: l,
|
|
153
|
+
highlight: n = !1,
|
|
154
|
+
negative: i = !1,
|
|
156
155
|
positive: r = !1,
|
|
157
156
|
isPercentage: s = !1,
|
|
158
157
|
isDate: d = !1,
|
|
159
158
|
isText: x = !1,
|
|
160
159
|
isInvoiced: p = !1,
|
|
161
160
|
hasCopyButton: m = !1,
|
|
162
|
-
enableHoverableContent:
|
|
161
|
+
enableHoverableContent: M = !1,
|
|
163
162
|
handleCopy: u
|
|
164
163
|
}) {
|
|
165
164
|
let g = "";
|
|
166
|
-
if (d && typeof t == "string" && !p &&
|
|
167
|
-
const
|
|
165
|
+
if (d && typeof t == "string" && !p && n) {
|
|
166
|
+
const S = w(t), h = P(S, /* @__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
|
-
} else
|
|
170
|
-
return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(
|
|
168
|
+
} else n && (g = "bg-[#ffe0b2] font-bold");
|
|
169
|
+
return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(N, { openDelay: 0, closeDelay: 0, children: [
|
|
171
170
|
/* @__PURE__ */ e(v, { children: /* @__PURE__ */ o("div", { className: "flex justify-between", children: [
|
|
172
171
|
/* @__PURE__ */ o(
|
|
173
172
|
"span",
|
|
174
173
|
{
|
|
175
174
|
className: c(
|
|
176
175
|
"flex flex-row gap-1",
|
|
177
|
-
|
|
176
|
+
i ? "text-red-600" : r ? "text-green-600" : ""
|
|
178
177
|
),
|
|
179
178
|
children: [
|
|
180
179
|
a,
|
|
181
180
|
" ",
|
|
182
|
-
/* @__PURE__ */ e(
|
|
181
|
+
/* @__PURE__ */ e(D, { className: "size-3.5" })
|
|
183
182
|
]
|
|
184
183
|
}
|
|
185
184
|
),
|
|
@@ -188,7 +187,7 @@ function ne({
|
|
|
188
187
|
{
|
|
189
188
|
className: c(
|
|
190
189
|
"flex flex-row justify-end gap-2 text-right",
|
|
191
|
-
|
|
190
|
+
i ? "text-red-600" : r ? "text-green-600" : ""
|
|
192
191
|
),
|
|
193
192
|
children: [
|
|
194
193
|
s && typeof t == "number" ? `${t.toFixed(2)}%` : d && typeof t == "string" ? $(w(t), "dd/MM/yyyy") : x && typeof t == "string" ? t : `R$ ${t.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`,
|
|
@@ -201,24 +200,24 @@ function ne({
|
|
|
201
200
|
C,
|
|
202
201
|
{
|
|
203
202
|
align: "start",
|
|
204
|
-
className: c(!
|
|
203
|
+
className: c(!M && "pointer-events-none"),
|
|
205
204
|
children: /* @__PURE__ */ o("div", { className: "space-y-0.5", children: [
|
|
206
205
|
/* @__PURE__ */ e("div", { className: "font-medium", children: a }),
|
|
207
|
-
/* @__PURE__ */ e("div", { className: "font-normal opacity-80", children:
|
|
206
|
+
/* @__PURE__ */ e("div", { className: "font-normal opacity-80", children: l })
|
|
208
207
|
] })
|
|
209
208
|
}
|
|
210
209
|
)
|
|
211
210
|
] }) });
|
|
212
211
|
}
|
|
213
212
|
function ie({
|
|
214
|
-
icon: a =
|
|
213
|
+
icon: a = X,
|
|
215
214
|
title: t,
|
|
216
|
-
description:
|
|
217
|
-
tip:
|
|
218
|
-
className:
|
|
215
|
+
description: l,
|
|
216
|
+
tip: n,
|
|
217
|
+
className: i,
|
|
219
218
|
...r
|
|
220
219
|
}) {
|
|
221
|
-
return /* @__PURE__ */ e(I, { className: c(
|
|
220
|
+
return /* @__PURE__ */ e(I, { className: c(i), ...r, children: /* @__PURE__ */ o(z, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
|
|
222
221
|
/* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(
|
|
223
222
|
a,
|
|
224
223
|
{
|
|
@@ -227,19 +226,19 @@ function ie({
|
|
|
227
226
|
}
|
|
228
227
|
) }),
|
|
229
228
|
/* @__PURE__ */ e("h3", { className: "mb-2 text-lg font-semibold text-foreground", children: t }),
|
|
230
|
-
/* @__PURE__ */ e("p", { className: "max-w-md text-sm leading-relaxed text-muted-foreground", children:
|
|
231
|
-
|
|
229
|
+
/* @__PURE__ */ e("p", { className: "max-w-md text-sm leading-relaxed text-muted-foreground", children: l }),
|
|
230
|
+
n && /* @__PURE__ */ e("div", { className: "mt-6 rounded-lg border border-dashed border-muted-foreground/20 bg-muted/50 px-4 py-2", children: /* @__PURE__ */ e("p", { className: "text-xs text-muted-foreground", children: n }) })
|
|
232
231
|
] }) });
|
|
233
232
|
}
|
|
234
233
|
function se({
|
|
235
234
|
columns: a = 9,
|
|
236
235
|
rows: t = 20,
|
|
237
|
-
hasActions:
|
|
238
|
-
actionsCount:
|
|
236
|
+
hasActions: l = !1,
|
|
237
|
+
actionsCount: n = 1
|
|
239
238
|
}) {
|
|
240
239
|
return /* @__PURE__ */ o(T, { children: [
|
|
241
|
-
/* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(y, { children: Array.from({ length: a }).map((
|
|
242
|
-
const s =
|
|
240
|
+
/* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(y, { children: Array.from({ length: a }).map((i, r) => {
|
|
241
|
+
const s = l && r === a - 1;
|
|
243
242
|
return /* @__PURE__ */ e(
|
|
244
243
|
_,
|
|
245
244
|
{
|
|
@@ -254,43 +253,68 @@ function se({
|
|
|
254
253
|
r
|
|
255
254
|
);
|
|
256
255
|
}) }) }),
|
|
257
|
-
/* @__PURE__ */ e(
|
|
258
|
-
const x =
|
|
259
|
-
return /* @__PURE__ */ e(
|
|
256
|
+
/* @__PURE__ */ e(j, { children: Array.from({ length: t }).map((i, r) => /* @__PURE__ */ e(y, { className: "h-[3.05rem]", children: Array.from({ length: a }).map((s, d) => {
|
|
257
|
+
const x = l && d === a - 1;
|
|
258
|
+
return /* @__PURE__ */ e(A, { children: x ? /* @__PURE__ */ e("div", { className: "flex gap-2", children: Array.from({ length: n }).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
|
}
|
|
262
|
+
function oe({
|
|
263
|
+
size: a = 24,
|
|
264
|
+
color: t = "currentColor",
|
|
265
|
+
...l
|
|
266
|
+
}) {
|
|
267
|
+
return /* @__PURE__ */ e(
|
|
268
|
+
"svg",
|
|
269
|
+
{
|
|
270
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
271
|
+
width: a,
|
|
272
|
+
height: a,
|
|
273
|
+
viewBox: "0 0 24 24",
|
|
274
|
+
fill: "none",
|
|
275
|
+
stroke: t,
|
|
276
|
+
"stroke-width": "2",
|
|
277
|
+
"stroke-linecap": "round",
|
|
278
|
+
"stroke-linejoin": "round",
|
|
279
|
+
className: "lucide lucide-twitter-icon lucide-twitter",
|
|
280
|
+
...l,
|
|
281
|
+
children: /* @__PURE__ */ e("path", { d: "M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z" })
|
|
282
|
+
}
|
|
283
|
+
);
|
|
284
|
+
}
|
|
263
285
|
export {
|
|
264
|
-
|
|
265
|
-
|
|
286
|
+
ge as CampaignsSelectInput,
|
|
287
|
+
xe as ClientSelectInput,
|
|
266
288
|
te as ErrorCard,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
289
|
+
be as FieldCalendar,
|
|
290
|
+
me as FieldClientSelectInput,
|
|
291
|
+
he as FieldInput,
|
|
292
|
+
fe as FieldLabelWithAsterisk,
|
|
293
|
+
pe as FieldProfileSelectInput,
|
|
294
|
+
ue as FieldSaleSelectInput,
|
|
295
|
+
ye as FieldSelect,
|
|
296
|
+
we as FieldSwitch,
|
|
297
|
+
ke as FieldTextarea,
|
|
276
298
|
ae as HoverContent,
|
|
277
299
|
re as IconBadge,
|
|
278
300
|
Ne as Image,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
301
|
+
ve as InfluencerSelectInput,
|
|
302
|
+
Ce as InstagramIcon,
|
|
303
|
+
Ie as LinkedInIcon,
|
|
282
304
|
le as List,
|
|
283
305
|
ne as ListRow,
|
|
284
306
|
ie as NotFoundCard,
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
307
|
+
ze as PageHeader,
|
|
308
|
+
Me as PageHeaderActions,
|
|
309
|
+
Se as PageHeaderContent,
|
|
310
|
+
Fe as PageHeaderDescription,
|
|
311
|
+
Te as PageHeaderTitle,
|
|
312
|
+
He as PinterestIcon,
|
|
313
|
+
_e as ProfileSelectInput,
|
|
314
|
+
je as SaleSelectInput,
|
|
293
315
|
se as TableSkeleton,
|
|
294
|
-
|
|
295
|
-
|
|
316
|
+
Ae as TikTokIcon,
|
|
317
|
+
oe as TwitterIcon,
|
|
318
|
+
Le as XIcon,
|
|
319
|
+
Pe as YoutubeIcon
|
|
296
320
|
};
|
package/dist/constants.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export declare const SOCIAL_NETWORK_COLOR_VALUES: {
|
|
|
51
51
|
youtube: string;
|
|
52
52
|
linkedin: string;
|
|
53
53
|
pinterest: string;
|
|
54
|
+
twitter: string;
|
|
54
55
|
};
|
|
55
56
|
|
|
56
57
|
export declare const SOCIAL_NETWORK_ICON_COMPONENTS: {
|
|
@@ -59,6 +60,7 @@ export declare const SOCIAL_NETWORK_ICON_COMPONENTS: {
|
|
|
59
60
|
readonly youtube: typeof YoutubeIcon;
|
|
60
61
|
readonly linkedin: typeof LinkedInIcon;
|
|
61
62
|
readonly pinterest: typeof PinterestIcon;
|
|
63
|
+
readonly twitter: typeof XIcon;
|
|
62
64
|
};
|
|
63
65
|
|
|
64
66
|
export declare const SOCIAL_NETWORK_VALUES: {
|
|
@@ -67,10 +69,13 @@ export declare const SOCIAL_NETWORK_VALUES: {
|
|
|
67
69
|
readonly youtube: "YouTube";
|
|
68
70
|
readonly linkedin: "LinkedIn";
|
|
69
71
|
readonly pinterest: "Pinterest";
|
|
72
|
+
readonly twitter: "Twitter (X)";
|
|
70
73
|
};
|
|
71
74
|
|
|
72
75
|
declare function TikTokIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
73
76
|
|
|
77
|
+
declare function XIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
78
|
+
|
|
74
79
|
declare function YoutubeIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
75
80
|
|
|
76
81
|
export { }
|
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.CKDqR6FG.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.d.ts
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.DeUIL00r.js";
|
|
2
|
+
import { i as k, a as P, b, c as N } from "./chuncks/youtube-icon.component.CKDqR6FG.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
|
-
};
|