@grapadigital/shared-app-modules 0.0.174 → 0.0.176
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/assets/switch.css +1 -1
- package/dist/chuncks/{format.util.iSvkH94y.js → format.util.BvK_tzw5.js} +1 -1
- package/dist/chuncks/{popover.DD2hYdsr.js → popover.4p4HlZwe.js} +1 -1
- package/dist/chuncks/{switch.BuckOH_X.js → switch.BF6I8Lqo.js} +23 -22
- package/dist/chuncks/tooltip.BR6kaw4f.js +378 -0
- package/dist/chuncks/{youtube-icon.component.CHatcIZ3.js → youtube-icon.component.DNSli53G.js} +2 -2
- package/dist/components.d.ts +15 -0
- package/dist/components.js +227 -153
- package/dist/constants.js +1 -1
- package/dist/content.d.ts +1 -0
- package/dist/events.js +1 -1
- package/dist/invoice.d.ts +1 -0
- package/dist/pages.js +1 -1
- package/dist/payment.d.ts +1 -0
- package/dist/recruitment.d.ts +1 -0
- package/dist/sale.d.ts +1 -0
- package/dist/shadcn.js +218 -574
- package/dist/utils.js +4 -4
- package/package.json +1 -1
- package/dist/chuncks/skeleton.DL8TyUPY.js +0 -17
package/dist/components.js
CHANGED
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as
|
|
3
|
-
import { jsx as e, jsxs as o, Fragment as
|
|
4
|
-
import "react";
|
|
5
|
-
import { parseISO as
|
|
6
|
-
import { S as
|
|
7
|
-
const
|
|
1
|
+
import { l as x, V as v, c, $ as C, B as f, aI as z, aJ as I, aK as M, bf as F, ac as H, ad as _, ah as w, ag as L, ae as j, ai as A } from "./chuncks/switch.BF6I8Lqo.js";
|
|
2
|
+
import { r as ke, s as Ne, w as ve, J as Ce, x as ze, y as Ie, F as Me, z as Te, D as Se, E as Fe, G as He, H as _e, q as Le, t as je, K as Ae, L as De, l as $e, m as Ee, n as Pe, o as Be, p as Re, M as qe, u as Ke, v as Oe, N as Ve, X as Xe, Y as Je } from "./chuncks/youtube-icon.component.DNSli53G.js";
|
|
3
|
+
import { jsx as e, jsxs as o, Fragment as D } from "react/jsx-runtime";
|
|
4
|
+
import { useState as $, useRef as E, useEffect as P } from "react";
|
|
5
|
+
import { parseISO as k, differenceInCalendarDays as B, format as R } from "date-fns";
|
|
6
|
+
import { T as q, a as K, b as O, S as u } from "./chuncks/tooltip.BR6kaw4f.js";
|
|
7
|
+
const V = [
|
|
8
8
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
9
9
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
10
10
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
11
|
-
],
|
|
12
|
-
const
|
|
11
|
+
], X = x("circle-alert", V);
|
|
12
|
+
const J = [
|
|
13
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
14
|
+
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
|
|
15
|
+
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
16
|
+
], Y = x("circle-question-mark", J);
|
|
17
|
+
const G = [
|
|
13
18
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
14
19
|
["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" }]
|
|
15
|
-
],
|
|
16
|
-
const
|
|
20
|
+
], Q = x("copy", G);
|
|
21
|
+
const W = [
|
|
17
22
|
[
|
|
18
23
|
"path",
|
|
19
24
|
{
|
|
@@ -25,14 +30,14 @@ const V = [
|
|
|
25
30
|
["path", { d: "M10 9H8", key: "b1mrlr" }],
|
|
26
31
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
27
32
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
28
|
-
],
|
|
29
|
-
const
|
|
33
|
+
], U = x("file-text", W);
|
|
34
|
+
const Z = [
|
|
30
35
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
31
36
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
32
37
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
33
38
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
34
|
-
],
|
|
35
|
-
const
|
|
39
|
+
], ee = x("refresh-cw", Z);
|
|
40
|
+
const te = [
|
|
36
41
|
[
|
|
37
42
|
"path",
|
|
38
43
|
{
|
|
@@ -42,44 +47,44 @@ const X = [
|
|
|
42
47
|
],
|
|
43
48
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
44
49
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
45
|
-
],
|
|
46
|
-
function
|
|
47
|
-
icon:
|
|
48
|
-
title:
|
|
49
|
-
description:
|
|
50
|
-
onRetry:
|
|
51
|
-
tip:
|
|
52
|
-
className:
|
|
53
|
-
...
|
|
50
|
+
], ae = x("triangle-alert", te);
|
|
51
|
+
function ce({
|
|
52
|
+
icon: r = ae,
|
|
53
|
+
title: a,
|
|
54
|
+
description: n,
|
|
55
|
+
onRetry: l,
|
|
56
|
+
tip: s,
|
|
57
|
+
className: t,
|
|
58
|
+
...i
|
|
54
59
|
}) {
|
|
55
|
-
return /* @__PURE__ */ e(
|
|
56
|
-
/* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(
|
|
57
|
-
/* @__PURE__ */ e("h3", { className: "text-foreground mb-2 text-lg font-semibold", children:
|
|
58
|
-
/* @__PURE__ */ e("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children:
|
|
59
|
-
|
|
60
|
-
/* @__PURE__ */ e(
|
|
60
|
+
return /* @__PURE__ */ e(v, { className: c(t), ...i, children: /* @__PURE__ */ o(C, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
|
|
61
|
+
/* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(r, { "aria-hidden": "true", className: "text-destructive/60 size-16" }) }),
|
|
62
|
+
/* @__PURE__ */ e("h3", { className: "text-foreground mb-2 text-lg font-semibold", children: a }),
|
|
63
|
+
/* @__PURE__ */ e("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: n }),
|
|
64
|
+
l && /* @__PURE__ */ o(f, { onClick: l, variant: "outline", className: "mt-6", children: [
|
|
65
|
+
/* @__PURE__ */ e(ee, {}),
|
|
61
66
|
"Tentar novamente"
|
|
62
67
|
] }),
|
|
63
|
-
|
|
68
|
+
s && /* @__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: s }) })
|
|
64
69
|
] }) });
|
|
65
70
|
}
|
|
66
|
-
function
|
|
67
|
-
content:
|
|
68
|
-
align:
|
|
69
|
-
asChild:
|
|
70
|
-
className:
|
|
71
|
-
openDelay:
|
|
72
|
-
closeDelay:
|
|
73
|
-
children:
|
|
71
|
+
function ge({
|
|
72
|
+
content: r,
|
|
73
|
+
align: a,
|
|
74
|
+
asChild: n,
|
|
75
|
+
className: l,
|
|
76
|
+
openDelay: s = 0,
|
|
77
|
+
closeDelay: t = 0,
|
|
78
|
+
children: i,
|
|
74
79
|
disabled: d = !1,
|
|
75
|
-
...
|
|
80
|
+
...b
|
|
76
81
|
}) {
|
|
77
|
-
return /* @__PURE__ */ e(
|
|
78
|
-
/* @__PURE__ */ e(I, { asChild:
|
|
79
|
-
/* @__PURE__ */ e(
|
|
82
|
+
return /* @__PURE__ */ e(D, { children: d === !0 ? i : /* @__PURE__ */ o(z, { openDelay: s, closeDelay: t, ...b, children: [
|
|
83
|
+
/* @__PURE__ */ e(I, { asChild: n, children: i }),
|
|
84
|
+
/* @__PURE__ */ e(M, { align: a, className: l, children: r })
|
|
80
85
|
] }) });
|
|
81
86
|
}
|
|
82
|
-
const
|
|
87
|
+
const re = {
|
|
83
88
|
red: { bg: "bg-red-50", text: "text-red-600" },
|
|
84
89
|
orange: { bg: "bg-orange-50", text: "text-orange-600" },
|
|
85
90
|
amber: { bg: "bg-amber-50", text: "text-amber-600" },
|
|
@@ -102,7 +107,7 @@ const G = {
|
|
|
102
107
|
zinc: { bg: "bg-zinc-200", text: "text-zinc-800" },
|
|
103
108
|
neutral: { bg: "bg-neutral-200", text: "text-neutral-800" },
|
|
104
109
|
stone: { bg: "bg-stone-200", text: "text-stone-800" }
|
|
105
|
-
},
|
|
110
|
+
}, ne = {
|
|
106
111
|
red: { bg: "bg-red-500", text: "text-white" },
|
|
107
112
|
orange: { bg: "bg-orange-500", text: "text-white" },
|
|
108
113
|
amber: { bg: "bg-amber-500", text: "text-white" },
|
|
@@ -126,59 +131,59 @@ const G = {
|
|
|
126
131
|
neutral: { bg: "bg-neutral-500", text: "text-white" },
|
|
127
132
|
stone: { bg: "bg-stone-500", text: "text-white" },
|
|
128
133
|
black: { bg: "bg-black", text: "text-white" }
|
|
129
|
-
},
|
|
134
|
+
}, N = {
|
|
130
135
|
xs: "size-3",
|
|
131
136
|
sm: "size-4",
|
|
132
137
|
md: "size-5",
|
|
133
138
|
lg: "size-6",
|
|
134
139
|
xl: "size-7"
|
|
135
140
|
};
|
|
136
|
-
function
|
|
137
|
-
size:
|
|
138
|
-
color:
|
|
139
|
-
className:
|
|
140
|
-
icon:
|
|
141
|
-
filled:
|
|
141
|
+
function xe({
|
|
142
|
+
size: r,
|
|
143
|
+
color: a,
|
|
144
|
+
className: n,
|
|
145
|
+
icon: l,
|
|
146
|
+
filled: s
|
|
142
147
|
}) {
|
|
143
|
-
const
|
|
144
|
-
return /* @__PURE__ */ e("div", { className: c("w-fit p-2 rounded-lg",
|
|
148
|
+
const t = s ? ne[a] : re[a], i = r ? N[r] : N.md;
|
|
149
|
+
return /* @__PURE__ */ e("div", { className: c("w-fit p-2 rounded-lg", t?.bg, n), children: /* @__PURE__ */ e(l, { className: c(i, t?.text) }) });
|
|
145
150
|
}
|
|
146
|
-
function
|
|
147
|
-
return /* @__PURE__ */ e("div", { className: c("divide-y",
|
|
151
|
+
function be({ className: r, ...a }) {
|
|
152
|
+
return /* @__PURE__ */ e("div", { className: c("divide-y", r), ...a });
|
|
148
153
|
}
|
|
149
|
-
function
|
|
150
|
-
label:
|
|
151
|
-
value:
|
|
152
|
-
tooltip:
|
|
153
|
-
highlight:
|
|
154
|
-
negative:
|
|
155
|
-
positive:
|
|
156
|
-
isPercentage:
|
|
154
|
+
function me({
|
|
155
|
+
label: r,
|
|
156
|
+
value: a,
|
|
157
|
+
tooltip: n,
|
|
158
|
+
highlight: l = !1,
|
|
159
|
+
negative: s = !1,
|
|
160
|
+
positive: t = !1,
|
|
161
|
+
isPercentage: i = !1,
|
|
157
162
|
isDate: d = !1,
|
|
158
|
-
isText:
|
|
159
|
-
isInvoiced:
|
|
163
|
+
isText: b = !1,
|
|
164
|
+
isInvoiced: p = !1,
|
|
160
165
|
hasCopyButton: m = !1,
|
|
161
|
-
enableHoverableContent:
|
|
162
|
-
handleCopy:
|
|
166
|
+
enableHoverableContent: T = !1,
|
|
167
|
+
handleCopy: y
|
|
163
168
|
}) {
|
|
164
169
|
let g = "";
|
|
165
|
-
if (d && typeof
|
|
166
|
-
const
|
|
170
|
+
if (d && typeof a == "string" && !p && l) {
|
|
171
|
+
const S = k(a), h = B(S, /* @__PURE__ */ new Date());
|
|
167
172
|
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";
|
|
168
|
-
} else
|
|
169
|
-
return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(
|
|
173
|
+
} else l && (g = "bg-[#ffe0b2] font-bold");
|
|
174
|
+
return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(z, { openDelay: 0, closeDelay: 0, children: [
|
|
170
175
|
/* @__PURE__ */ e(I, { children: /* @__PURE__ */ o("div", { className: "flex justify-between", children: [
|
|
171
176
|
/* @__PURE__ */ o(
|
|
172
177
|
"span",
|
|
173
178
|
{
|
|
174
179
|
className: c(
|
|
175
180
|
"flex flex-row gap-1",
|
|
176
|
-
|
|
181
|
+
s ? "text-red-600" : t ? "text-green-600" : ""
|
|
177
182
|
),
|
|
178
183
|
children: [
|
|
179
|
-
|
|
184
|
+
r,
|
|
180
185
|
" ",
|
|
181
|
-
/* @__PURE__ */ e(
|
|
186
|
+
/* @__PURE__ */ e(X, { className: "size-3.5" })
|
|
182
187
|
]
|
|
183
188
|
}
|
|
184
189
|
),
|
|
@@ -187,135 +192,204 @@ function ne({
|
|
|
187
192
|
{
|
|
188
193
|
className: c(
|
|
189
194
|
"flex flex-row justify-end gap-2 text-right",
|
|
190
|
-
|
|
195
|
+
s ? "text-red-600" : t ? "text-green-600" : ""
|
|
191
196
|
),
|
|
192
197
|
children: [
|
|
193
|
-
|
|
194
|
-
m &&
|
|
198
|
+
i && typeof a == "number" ? `${a.toFixed(2)}%` : d && typeof a == "string" ? R(k(a), "dd/MM/yyyy") : b && typeof a == "string" ? a : `R$ ${a.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`,
|
|
199
|
+
m && y && /* @__PURE__ */ e(Q, { size: 15, onClick: () => y(a) })
|
|
195
200
|
]
|
|
196
201
|
}
|
|
197
202
|
)
|
|
198
203
|
] }) }),
|
|
199
204
|
/* @__PURE__ */ e(
|
|
200
|
-
|
|
205
|
+
M,
|
|
201
206
|
{
|
|
202
207
|
align: "start",
|
|
203
|
-
className: c(!
|
|
208
|
+
className: c(!T && "pointer-events-none"),
|
|
204
209
|
children: /* @__PURE__ */ o("div", { className: "space-y-0.5", children: [
|
|
205
|
-
/* @__PURE__ */ e("div", { className: "font-medium", children:
|
|
206
|
-
/* @__PURE__ */ e("div", { className: "font-normal opacity-80", children:
|
|
210
|
+
/* @__PURE__ */ e("div", { className: "font-medium", children: r }),
|
|
211
|
+
/* @__PURE__ */ e("div", { className: "font-normal opacity-80", children: n })
|
|
207
212
|
] })
|
|
208
213
|
}
|
|
209
214
|
)
|
|
210
215
|
] }) });
|
|
211
216
|
}
|
|
212
|
-
function
|
|
213
|
-
icon:
|
|
214
|
-
title:
|
|
215
|
-
description:
|
|
216
|
-
tip:
|
|
217
|
-
className:
|
|
218
|
-
...
|
|
217
|
+
function he({
|
|
218
|
+
icon: r = U,
|
|
219
|
+
title: a,
|
|
220
|
+
description: n,
|
|
221
|
+
tip: l,
|
|
222
|
+
className: s,
|
|
223
|
+
...t
|
|
219
224
|
}) {
|
|
220
|
-
return /* @__PURE__ */ e(
|
|
225
|
+
return /* @__PURE__ */ e(v, { className: c(s), ...t, children: /* @__PURE__ */ o(C, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
|
|
221
226
|
/* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(
|
|
222
|
-
|
|
227
|
+
r,
|
|
223
228
|
{
|
|
224
229
|
"aria-hidden": "true",
|
|
225
230
|
className: "size-16 text-muted-foreground/40"
|
|
226
231
|
}
|
|
227
232
|
) }),
|
|
228
|
-
/* @__PURE__ */ e("h3", { className: "mb-2 text-lg font-semibold text-foreground", children:
|
|
229
|
-
/* @__PURE__ */ e("p", { className: "max-w-md text-sm leading-relaxed text-muted-foreground", children:
|
|
230
|
-
|
|
233
|
+
/* @__PURE__ */ e("h3", { className: "mb-2 text-lg font-semibold text-foreground", children: a }),
|
|
234
|
+
/* @__PURE__ */ e("p", { className: "max-w-md text-sm leading-relaxed text-muted-foreground", children: n }),
|
|
235
|
+
l && /* @__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: l }) })
|
|
231
236
|
] }) });
|
|
232
237
|
}
|
|
233
|
-
function
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
+
function ue({
|
|
239
|
+
actions: r,
|
|
240
|
+
icon: a = Y
|
|
241
|
+
}) {
|
|
242
|
+
const [n, l] = $(!1), s = E(null);
|
|
243
|
+
return P(() => {
|
|
244
|
+
if (!n) return;
|
|
245
|
+
const t = (d) => {
|
|
246
|
+
s.current?.contains(d.target) || l(!1);
|
|
247
|
+
}, i = (d) => {
|
|
248
|
+
d.key === "Escape" && l(!1);
|
|
249
|
+
};
|
|
250
|
+
return document.addEventListener("mousedown", t), document.addEventListener("keydown", i), () => {
|
|
251
|
+
document.removeEventListener("mousedown", t), document.removeEventListener("keydown", i);
|
|
252
|
+
};
|
|
253
|
+
}, [n]), /* @__PURE__ */ o(
|
|
254
|
+
"div",
|
|
255
|
+
{
|
|
256
|
+
ref: s,
|
|
257
|
+
className: "fixed bottom-6 right-6 z-50 flex flex-col items-end gap-3",
|
|
258
|
+
children: [
|
|
259
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col items-end gap-3", children: r.map((t, i) => /* @__PURE__ */ e(
|
|
260
|
+
"div",
|
|
261
|
+
{
|
|
262
|
+
className: c(
|
|
263
|
+
"transition-all duration-200 ease-out",
|
|
264
|
+
n ? "translate-y-0 opacity-100" : "pointer-events-none translate-y-2 opacity-0"
|
|
265
|
+
),
|
|
266
|
+
style: { transitionDelay: n ? `${i * 30}ms` : "0ms" },
|
|
267
|
+
children: /* @__PURE__ */ o(q, { children: [
|
|
268
|
+
/* @__PURE__ */ e(K, { asChild: !0, children: /* @__PURE__ */ e(
|
|
269
|
+
f,
|
|
270
|
+
{
|
|
271
|
+
size: "icon",
|
|
272
|
+
variant: "outline",
|
|
273
|
+
disabled: t.disabled,
|
|
274
|
+
"aria-disabled": t.disabled,
|
|
275
|
+
className: c(
|
|
276
|
+
"size-11 rounded-full shadow-md",
|
|
277
|
+
t.disabled && "opacity-50"
|
|
278
|
+
),
|
|
279
|
+
onClick: () => {
|
|
280
|
+
t.disabled || (t.onClick(), l(!1));
|
|
281
|
+
},
|
|
282
|
+
children: /* @__PURE__ */ e(t.icon, { className: "size-5" })
|
|
283
|
+
}
|
|
284
|
+
) }),
|
|
285
|
+
/* @__PURE__ */ e(O, { side: "left", children: t.label })
|
|
286
|
+
] })
|
|
287
|
+
},
|
|
288
|
+
t.label
|
|
289
|
+
)) }),
|
|
290
|
+
/* @__PURE__ */ e(
|
|
291
|
+
f,
|
|
292
|
+
{
|
|
293
|
+
size: "icon",
|
|
294
|
+
variant: "outline",
|
|
295
|
+
className: "size-11 rounded-full shadow-md",
|
|
296
|
+
"aria-label": n ? "Fechar menu de ajuda" : "Abrir menu de ajuda",
|
|
297
|
+
"aria-expanded": n,
|
|
298
|
+
onClick: () => l((t) => !t),
|
|
299
|
+
children: n ? /* @__PURE__ */ e(F, { className: "size-5" }) : /* @__PURE__ */ e(a, { className: "size-5" })
|
|
300
|
+
}
|
|
301
|
+
)
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
);
|
|
305
|
+
}
|
|
306
|
+
function fe({
|
|
307
|
+
columns: r = 9,
|
|
308
|
+
rows: a = 20,
|
|
309
|
+
hasActions: n = !1,
|
|
310
|
+
actionsCount: l = 1
|
|
238
311
|
}) {
|
|
239
312
|
return /* @__PURE__ */ o(H, { children: [
|
|
240
|
-
/* @__PURE__ */ e(
|
|
241
|
-
const
|
|
313
|
+
/* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(w, { children: Array.from({ length: r }).map((s, t) => {
|
|
314
|
+
const i = n && t === r - 1;
|
|
242
315
|
return /* @__PURE__ */ e(
|
|
243
|
-
|
|
316
|
+
L,
|
|
244
317
|
{
|
|
245
|
-
className:
|
|
318
|
+
className: i ? "w-0 text-right" : "",
|
|
246
319
|
children: /* @__PURE__ */ e(
|
|
247
|
-
|
|
320
|
+
u,
|
|
248
321
|
{
|
|
249
|
-
className:
|
|
322
|
+
className: i ? "ml-auto h-4 w-8" : "h-4 w-[60%]"
|
|
250
323
|
}
|
|
251
324
|
)
|
|
252
325
|
},
|
|
253
|
-
|
|
326
|
+
t
|
|
254
327
|
);
|
|
255
328
|
}) }) }),
|
|
256
|
-
/* @__PURE__ */ e(
|
|
257
|
-
const
|
|
258
|
-
return /* @__PURE__ */ e(
|
|
259
|
-
}) },
|
|
329
|
+
/* @__PURE__ */ e(j, { children: Array.from({ length: a }).map((s, t) => /* @__PURE__ */ e(w, { className: "h-[3.05rem]", children: Array.from({ length: r }).map((i, d) => {
|
|
330
|
+
const b = n && d === r - 1;
|
|
331
|
+
return /* @__PURE__ */ e(A, { children: b ? /* @__PURE__ */ e("div", { className: "flex gap-2", children: Array.from({ length: l }).map((p, m) => /* @__PURE__ */ e(u, { className: "ml-auto size-8" }, m)) }) : /* @__PURE__ */ e(u, { className: "h-4 w-full" }) }, d);
|
|
332
|
+
}) }, t)) })
|
|
260
333
|
] });
|
|
261
334
|
}
|
|
262
|
-
function
|
|
263
|
-
size:
|
|
264
|
-
color:
|
|
265
|
-
...
|
|
335
|
+
function pe({
|
|
336
|
+
size: r = 24,
|
|
337
|
+
color: a = "currentColor",
|
|
338
|
+
...n
|
|
266
339
|
}) {
|
|
267
340
|
return /* @__PURE__ */ e(
|
|
268
341
|
"svg",
|
|
269
342
|
{
|
|
270
343
|
xmlns: "http://www.w3.org/2000/svg",
|
|
271
|
-
width:
|
|
272
|
-
height:
|
|
344
|
+
width: r,
|
|
345
|
+
height: r,
|
|
273
346
|
viewBox: "0 0 24 24",
|
|
274
347
|
fill: "none",
|
|
275
|
-
stroke:
|
|
348
|
+
stroke: a,
|
|
276
349
|
"stroke-width": "2",
|
|
277
350
|
"stroke-linecap": "round",
|
|
278
351
|
"stroke-linejoin": "round",
|
|
279
352
|
className: "lucide lucide-twitter-icon lucide-twitter",
|
|
280
|
-
...
|
|
353
|
+
...n,
|
|
281
354
|
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
355
|
}
|
|
283
356
|
);
|
|
284
357
|
}
|
|
285
358
|
export {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
359
|
+
ke as CampaignsSelectInput,
|
|
360
|
+
Ne as ClientSelectInput,
|
|
361
|
+
ce as ErrorCard,
|
|
362
|
+
ve as FieldCalendar,
|
|
363
|
+
Ce as FieldCheckbox,
|
|
364
|
+
ze as FieldClientSelectInput,
|
|
365
|
+
Ie as FieldInput,
|
|
366
|
+
Me as FieldLabelWithAsterisk,
|
|
367
|
+
Te as FieldProfileSelectInput,
|
|
368
|
+
Se as FieldSaleSelectInput,
|
|
369
|
+
Fe as FieldSelect,
|
|
370
|
+
He as FieldSwitch,
|
|
371
|
+
_e as FieldTextarea,
|
|
372
|
+
ge as HoverContent,
|
|
373
|
+
xe as IconBadge,
|
|
374
|
+
Le as Image,
|
|
375
|
+
je as InfluencerSelectInput,
|
|
376
|
+
Ae as InstagramIcon,
|
|
377
|
+
De as LinkedInIcon,
|
|
378
|
+
be as List,
|
|
379
|
+
me as ListRow,
|
|
380
|
+
he as NotFoundCard,
|
|
381
|
+
$e as PageHeader,
|
|
382
|
+
Ee as PageHeaderActions,
|
|
383
|
+
Pe as PageHeaderContent,
|
|
384
|
+
Be as PageHeaderDescription,
|
|
385
|
+
Re as PageHeaderTitle,
|
|
386
|
+
qe as PinterestIcon,
|
|
387
|
+
Ke as ProfileSelectInput,
|
|
388
|
+
Oe as SaleSelectInput,
|
|
389
|
+
ue as SpeedDialButton,
|
|
390
|
+
fe as TableSkeleton,
|
|
391
|
+
Ve as TikTokIcon,
|
|
392
|
+
pe as TwitterIcon,
|
|
393
|
+
Xe as XIcon,
|
|
394
|
+
Je as YoutubeIcon
|
|
321
395
|
};
|
package/dist/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, B as S, C as n, I as T, b as O, P as L, a as N, c, S as I, T as P } from "./chuncks/youtube-icon.component.
|
|
1
|
+
import { A as s, B as S, C as n, I as T, b as O, P as L, a as N, c, S as I, T as P } from "./chuncks/youtube-icon.component.DNSli53G.js";
|
|
2
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.", _ = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.", e = "Há um erro na validação dos campos. Por favor, entre em contato com o suporte.", A = "Campo obrigatório.";
|
|
3
3
|
export {
|
|
4
4
|
s as ACTION_TYPE_VALUES,
|
package/dist/content.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare interface ActionInterface {
|
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
8
|
status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
|
|
9
|
+
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
9
10
|
startDate?: string;
|
|
10
11
|
endDate?: string;
|
|
11
12
|
recruitments?: RecruitmentInterface[];
|
package/dist/events.js
CHANGED
package/dist/invoice.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare interface ActionInterface {
|
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
8
|
status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
|
|
9
|
+
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
9
10
|
startDate?: string;
|
|
10
11
|
endDate?: string;
|
|
11
12
|
recruitments?: RecruitmentInterface[];
|
package/dist/pages.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as i, c as t, B as m } from "./chuncks/switch.BF6I8Lqo.js";
|
|
2
2
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import { useNavigate as d } from "react-router-dom";
|
package/dist/payment.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare interface ActionInterface {
|
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
8
|
status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
|
|
9
|
+
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
9
10
|
startDate?: string;
|
|
10
11
|
endDate?: string;
|
|
11
12
|
recruitments?: RecruitmentInterface[];
|
package/dist/recruitment.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare interface ActionInterface {
|
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
8
|
status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
|
|
9
|
+
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
9
10
|
startDate?: string;
|
|
10
11
|
endDate?: string;
|
|
11
12
|
recruitments?: RecruitmentInterface[];
|
package/dist/sale.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare interface ActionInterface {
|
|
|
6
6
|
clientId?: string;
|
|
7
7
|
cluster?: string;
|
|
8
8
|
status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
|
|
9
|
+
businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
|
|
9
10
|
startDate?: string;
|
|
10
11
|
endDate?: string;
|
|
11
12
|
recruitments?: RecruitmentInterface[];
|