@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.
@@ -1,19 +1,24 @@
1
- import { a as b, V as N, c, $ as v, B as S, aI as C, aJ as I, aK as z, ac as H, ad as T, ah as y, ag as _, ae as A, ai as j } from "./chuncks/switch.BuckOH_X.js";
2
- import { r as ge, s as xe, w as be, J as me, x as he, y as fe, F as ue, z as pe, D as ye, E as we, G as ke, H as Ne, q as ve, t as Ce, K as Ie, L as ze, l as Me, m as Fe, n as Se, o as He, p as Te, M as _e, u as Ae, v as je, N as Le, X as Pe, Y as $e } from "./chuncks/youtube-icon.component.CHatcIZ3.js";
3
- import { jsx as e, jsxs as o, Fragment as L } from "react/jsx-runtime";
4
- import "react";
5
- import { parseISO as w, differenceInCalendarDays as P, format as $ } from "date-fns";
6
- import { S as f } from "./chuncks/skeleton.DL8TyUPY.js";
7
- const D = [
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
- ], B = b("circle-alert", D);
12
- const q = [
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
- ], R = b("copy", q);
16
- const V = [
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
- ], E = b("file-text", V);
29
- const J = [
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
- ], K = b("refresh-cw", J);
35
- const X = [
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
- ], Y = b("triangle-alert", X);
46
- function te({
47
- icon: a = Y,
48
- title: t,
49
- description: l,
50
- onRetry: n,
51
- tip: i,
52
- className: r,
53
- ...s
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(N, { className: c(r), ...s, children: /* @__PURE__ */ o(v, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
56
- /* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(a, { "aria-hidden": "true", className: "text-destructive/60 size-16" }) }),
57
- /* @__PURE__ */ e("h3", { className: "text-foreground mb-2 text-lg font-semibold", children: t }),
58
- /* @__PURE__ */ e("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: l }),
59
- n && /* @__PURE__ */ o(S, { onClick: n, variant: "outline", className: "mt-6", children: [
60
- /* @__PURE__ */ e(K, {}),
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
- 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 }) })
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 ae({
67
- content: a,
68
- align: t,
69
- asChild: l,
70
- className: n,
71
- openDelay: i = 0,
72
- closeDelay: r = 0,
73
- children: s,
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
- ...x
80
+ ...b
76
81
  }) {
77
- return /* @__PURE__ */ e(L, { children: d === !0 ? s : /* @__PURE__ */ o(C, { openDelay: i, closeDelay: r, ...x, children: [
78
- /* @__PURE__ */ e(I, { asChild: l, children: s }),
79
- /* @__PURE__ */ e(z, { align: t, className: n, children: a })
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 G = {
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
- }, O = {
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
- }, k = {
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 re({
137
- size: a,
138
- color: t,
139
- className: l,
140
- icon: n,
141
- filled: i
141
+ function xe({
142
+ size: r,
143
+ color: a,
144
+ className: n,
145
+ icon: l,
146
+ filled: s
142
147
  }) {
143
- const r = i ? O[t] : G[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) }) });
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 le({ className: a, ...t }) {
147
- return /* @__PURE__ */ e("div", { className: c("divide-y", a), ...t });
151
+ function be({ className: r, ...a }) {
152
+ return /* @__PURE__ */ e("div", { className: c("divide-y", r), ...a });
148
153
  }
149
- function ne({
150
- label: a,
151
- value: t,
152
- tooltip: l,
153
- highlight: n = !1,
154
- negative: i = !1,
155
- positive: r = !1,
156
- isPercentage: s = !1,
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: x = !1,
159
- isInvoiced: u = !1,
163
+ isText: b = !1,
164
+ isInvoiced: p = !1,
160
165
  hasCopyButton: m = !1,
161
- enableHoverableContent: M = !1,
162
- handleCopy: p
166
+ enableHoverableContent: T = !1,
167
+ handleCopy: y
163
168
  }) {
164
169
  let g = "";
165
- if (d && typeof t == "string" && !u && n) {
166
- const F = w(t), h = P(F, /* @__PURE__ */ new Date());
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 n && (g = "bg-[#ffe0b2] font-bold");
169
- return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(C, { openDelay: 0, closeDelay: 0, children: [
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
- i ? "text-red-600" : r ? "text-green-600" : ""
181
+ s ? "text-red-600" : t ? "text-green-600" : ""
177
182
  ),
178
183
  children: [
179
- a,
184
+ r,
180
185
  " ",
181
- /* @__PURE__ */ e(B, { className: "size-3.5" })
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
- i ? "text-red-600" : r ? "text-green-600" : ""
195
+ s ? "text-red-600" : t ? "text-green-600" : ""
191
196
  ),
192
197
  children: [
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 })}`,
194
- m && p && /* @__PURE__ */ e(R, { size: 15, onClick: () => p(t) })
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
- z,
205
+ M,
201
206
  {
202
207
  align: "start",
203
- className: c(!M && "pointer-events-none"),
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: a }),
206
- /* @__PURE__ */ e("div", { className: "font-normal opacity-80", children: l })
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 ie({
213
- icon: a = E,
214
- title: t,
215
- description: l,
216
- tip: n,
217
- className: i,
218
- ...r
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(N, { className: c(i), ...r, children: /* @__PURE__ */ o(v, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
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
- a,
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: t }),
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 }) })
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 se({
234
- columns: a = 9,
235
- rows: t = 20,
236
- hasActions: l = !1,
237
- actionsCount: n = 1
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(T, { children: /* @__PURE__ */ e(y, { children: Array.from({ length: a }).map((i, r) => {
241
- const s = l && r === a - 1;
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: s ? "w-0 text-right" : "",
318
+ className: i ? "w-0 text-right" : "",
246
319
  children: /* @__PURE__ */ e(
247
- f,
320
+ u,
248
321
  {
249
- className: s ? "ml-auto h-4 w-8" : "h-4 w-[60%]"
322
+ className: i ? "ml-auto h-4 w-8" : "h-4 w-[60%]"
250
323
  }
251
324
  )
252
325
  },
253
- r
326
+ t
254
327
  );
255
328
  }) }) }),
256
- /* @__PURE__ */ e(A, { 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(j, { children: x ? /* @__PURE__ */ e("div", { className: "flex gap-2", children: Array.from({ length: n }).map((u, m) => /* @__PURE__ */ e(f, { className: "ml-auto size-8" }, m)) }) : /* @__PURE__ */ e(f, { className: "h-4 w-full" }) }, d);
259
- }) }, r)) })
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 oe({
263
- size: a = 24,
264
- color: t = "currentColor",
265
- ...l
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: a,
272
- height: a,
344
+ width: r,
345
+ height: r,
273
346
  viewBox: "0 0 24 24",
274
347
  fill: "none",
275
- stroke: t,
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
- ...l,
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
- ge as CampaignsSelectInput,
287
- xe as ClientSelectInput,
288
- te as ErrorCard,
289
- be as FieldCalendar,
290
- me as FieldCheckbox,
291
- he as FieldClientSelectInput,
292
- fe as FieldInput,
293
- ue as FieldLabelWithAsterisk,
294
- pe as FieldProfileSelectInput,
295
- ye as FieldSaleSelectInput,
296
- we as FieldSelect,
297
- ke as FieldSwitch,
298
- Ne as FieldTextarea,
299
- ae as HoverContent,
300
- re as IconBadge,
301
- ve as Image,
302
- Ce as InfluencerSelectInput,
303
- Ie as InstagramIcon,
304
- ze as LinkedInIcon,
305
- le as List,
306
- ne as ListRow,
307
- ie as NotFoundCard,
308
- Me as PageHeader,
309
- Fe as PageHeaderActions,
310
- Se as PageHeaderContent,
311
- He as PageHeaderDescription,
312
- Te as PageHeaderTitle,
313
- _e as PinterestIcon,
314
- Ae as ProfileSelectInput,
315
- je as SaleSelectInput,
316
- se as TableSkeleton,
317
- Le as TikTokIcon,
318
- oe as TwitterIcon,
319
- Pe as XIcon,
320
- $e as YoutubeIcon
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.CHatcIZ3.js";
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
@@ -1,4 +1,4 @@
1
- import { b as o } from "./chuncks/format.util.iSvkH94y.js";
1
+ import { b as o } from "./chuncks/format.util.BvK_tzw5.js";
2
2
  const i = (t, a) => {
3
3
  const e = t.target.value, n = o(e);
4
4
  n !== !1 && a(n);
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 { a as i, c as t, B as m } from "./chuncks/switch.BuckOH_X.js";
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[];
@@ -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[];