@grapadigital/shared-app-modules 0.0.175 → 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.
@@ -18,7 +18,8 @@ declare interface ActionInterface {
18
18
  title?: string;
19
19
  clientId?: string;
20
20
  cluster?: string;
21
- status?: "config" | "inProgress" | "onHold" | "finished" | "archived";
21
+ status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
22
+ businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
22
23
  startDate?: string;
23
24
  endDate?: string;
24
25
  recruitments?: RecruitmentInterface[];
@@ -92,16 +93,6 @@ declare interface Approval {
92
93
  approvedAt: string;
93
94
  }
94
95
 
95
- export declare function AsyncBoundary({ suspenseFallback: SuspenseFallback, errorFallback: ErrorFallback, children, }: AsyncBoundaryProps): JSX.Element;
96
-
97
- declare interface AsyncBoundaryProps extends React.PropsWithChildren {
98
- suspenseFallback?: React.ComponentType;
99
- errorFallback?: React.ComponentType<{
100
- error?: Error | unknown;
101
- onRetry?: () => void;
102
- }>;
103
- }
104
-
105
96
  declare interface Attachments {
106
97
  url: string;
107
98
  name: string;
@@ -264,11 +255,10 @@ export declare function ErrorCard({ icon: Icon, title, description, onRetry, tip
264
255
 
265
256
  declare interface ErrorCardProps extends React.ComponentProps<typeof Card> {
266
257
  icon?: LucideIcon;
267
- title?: string;
268
- description?: string;
269
- tip?: string;
270
- error?: Error | unknown;
258
+ title: string;
259
+ description: string;
271
260
  onRetry?: () => void;
261
+ tip?: string;
272
262
  }
273
263
 
274
264
  declare interface Exchange {
@@ -870,6 +860,20 @@ declare const sizeMap: {
870
860
  xl: string;
871
861
  };
872
862
 
863
+ export declare interface SpeedDialAction {
864
+ icon: LucideIcon;
865
+ label: string;
866
+ onClick: () => void;
867
+ disabled?: boolean;
868
+ }
869
+
870
+ export declare function SpeedDialButton({ actions, icon: Icon }: SpeedDialButtonProps): JSX.Element;
871
+
872
+ declare interface SpeedDialButtonProps {
873
+ actions: SpeedDialAction[];
874
+ icon?: LucideIcon;
875
+ }
876
+
873
877
  declare interface SupplierInterface extends UserInterface {
874
878
  }
875
879
 
@@ -1,21 +1,24 @@
1
- import { a as b, V as N, c, $ as v, B as M, aI as C, aJ as I, aK as z, ac as T, ad as H, ah as y, ag as _, ae as A, ai as j } from "./chuncks/switch.BuckOH_X.js";
2
- import { jsx as e, jsxs as o, Fragment as L } from "react/jsx-runtime";
3
- import { QueryErrorResetBoundary as B } from "@tanstack/react-query";
4
- import { Suspense as D } from "react";
5
- import { m as P } from "./chuncks/youtube-icon.component.BzUx7I9H.js";
6
- import { s as pe, t as ye, x as we, K as ke, y as Ne, z as ve, F as Ce, D as Ie, E as ze, G as Fe, H as Se, J as Me, r as Te, u as He, L as _e, M as Ae, l as je, n as Le, o as Be, p as De, q as Pe, N as Re, v as $e, w as qe, O as Ee, X as Ve, Y as Je } from "./chuncks/youtube-icon.component.BzUx7I9H.js";
7
- import { S as m } from "./chuncks/skeleton.DL8TyUPY.js";
8
- import { parseISO as w, differenceInCalendarDays as R, format as $ } from "date-fns";
9
- const q = [
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 = [
10
8
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
11
9
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
12
10
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
13
- ], E = b("circle-alert", q);
14
- const V = [
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 = [
15
18
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
16
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" }]
17
- ], J = b("copy", V);
18
- const K = [
20
+ ], Q = x("copy", G);
21
+ const W = [
19
22
  [
20
23
  "path",
21
24
  {
@@ -27,14 +30,14 @@ const K = [
27
30
  ["path", { d: "M10 9H8", key: "b1mrlr" }],
28
31
  ["path", { d: "M16 13H8", key: "t4e002" }],
29
32
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
30
- ], O = b("file-text", K);
31
- const X = [
33
+ ], U = x("file-text", W);
34
+ const Z = [
32
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" }],
33
36
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
34
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" }],
35
38
  ["path", { d: "M8 16H3v5", key: "1cv678" }]
36
- ], Y = b("refresh-cw", X);
37
- const G = [
39
+ ], ee = x("refresh-cw", Z);
40
+ const te = [
38
41
  [
39
42
  "path",
40
43
  {
@@ -44,61 +47,44 @@ const G = [
44
47
  ],
45
48
  ["path", { d: "M12 9v4", key: "juzpu7" }],
46
49
  ["path", { d: "M12 17h.01", key: "p32p05" }]
47
- ], Q = b("triangle-alert", G);
48
- function W({
49
- icon: a = Q,
50
- title: t = "Algo deu errado",
51
- description: n = "Não foi possível concluir esta operação no momento. Tente novamente em alguns instantes. Se o problema persistir, entre em contato com o suporte.",
50
+ ], ae = x("triangle-alert", te);
51
+ function ce({
52
+ icon: r = ae,
53
+ title: a,
54
+ description: n,
52
55
  onRetry: l,
53
56
  tip: s,
54
- className: r,
57
+ className: t,
55
58
  ...i
56
59
  }) {
57
- return /* @__PURE__ */ e(N, { className: c(r), ...i, children: /* @__PURE__ */ o(v, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
58
- /* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(a, { "aria-hidden": "true", className: "text-destructive/60 size-16" }) }),
59
- /* @__PURE__ */ e("h3", { className: "text-foreground mb-2 text-lg font-semibold", children: t }),
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 }),
60
63
  /* @__PURE__ */ e("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: n }),
61
- l && /* @__PURE__ */ o(M, { onClick: l, variant: "outline", className: "mt-6", children: [
62
- /* @__PURE__ */ e(Y, {}),
64
+ l && /* @__PURE__ */ o(f, { onClick: l, variant: "outline", className: "mt-6", children: [
65
+ /* @__PURE__ */ e(ee, {}),
63
66
  "Tentar novamente"
64
67
  ] }),
65
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 }) })
66
69
  ] }) });
67
70
  }
68
- function oe({
69
- suspenseFallback: a = U,
70
- errorFallback: t = W,
71
- children: n
72
- }) {
73
- return /* @__PURE__ */ e(D, { fallback: /* @__PURE__ */ e(a, {}), children: /* @__PURE__ */ e(B, { children: ({ reset: l }) => /* @__PURE__ */ e(
74
- P,
75
- {
76
- onReset: l,
77
- fallbackRender: ({ resetErrorBoundary: s, error: r }) => /* @__PURE__ */ e(t, { error: r, onRetry: s }),
78
- children: n
79
- }
80
- ) }) });
81
- }
82
- function U() {
83
- return /* @__PURE__ */ e(m, { className: "h-[13.75625rem]" });
84
- }
85
- function ce({
86
- content: a,
87
- align: t,
71
+ function ge({
72
+ content: r,
73
+ align: a,
88
74
  asChild: n,
89
75
  className: l,
90
76
  openDelay: s = 0,
91
- closeDelay: r = 0,
77
+ closeDelay: t = 0,
92
78
  children: i,
93
79
  disabled: d = !1,
94
- ...x
80
+ ...b
95
81
  }) {
96
- return /* @__PURE__ */ e(L, { children: d === !0 ? i : /* @__PURE__ */ o(C, { openDelay: s, closeDelay: r, ...x, children: [
82
+ return /* @__PURE__ */ e(D, { children: d === !0 ? i : /* @__PURE__ */ o(z, { openDelay: s, closeDelay: t, ...b, children: [
97
83
  /* @__PURE__ */ e(I, { asChild: n, children: i }),
98
- /* @__PURE__ */ e(z, { align: t, className: l, children: a })
84
+ /* @__PURE__ */ e(M, { align: a, className: l, children: r })
99
85
  ] }) });
100
86
  }
101
- const Z = {
87
+ const re = {
102
88
  red: { bg: "bg-red-50", text: "text-red-600" },
103
89
  orange: { bg: "bg-orange-50", text: "text-orange-600" },
104
90
  amber: { bg: "bg-amber-50", text: "text-amber-600" },
@@ -121,7 +107,7 @@ const Z = {
121
107
  zinc: { bg: "bg-zinc-200", text: "text-zinc-800" },
122
108
  neutral: { bg: "bg-neutral-200", text: "text-neutral-800" },
123
109
  stone: { bg: "bg-stone-200", text: "text-stone-800" }
124
- }, ee = {
110
+ }, ne = {
125
111
  red: { bg: "bg-red-500", text: "text-white" },
126
112
  orange: { bg: "bg-orange-500", text: "text-white" },
127
113
  amber: { bg: "bg-amber-500", text: "text-white" },
@@ -145,59 +131,59 @@ const Z = {
145
131
  neutral: { bg: "bg-neutral-500", text: "text-white" },
146
132
  stone: { bg: "bg-stone-500", text: "text-white" },
147
133
  black: { bg: "bg-black", text: "text-white" }
148
- }, k = {
134
+ }, N = {
149
135
  xs: "size-3",
150
136
  sm: "size-4",
151
137
  md: "size-5",
152
138
  lg: "size-6",
153
139
  xl: "size-7"
154
140
  };
155
- function de({
156
- size: a,
157
- color: t,
141
+ function xe({
142
+ size: r,
143
+ color: a,
158
144
  className: n,
159
145
  icon: l,
160
146
  filled: s
161
147
  }) {
162
- const r = s ? ee[t] : Z[t], i = a ? k[a] : k.md;
163
- return /* @__PURE__ */ e("div", { className: c("w-fit p-2 rounded-lg", r?.bg, n), children: /* @__PURE__ */ e(l, { className: c(i, 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) }) });
164
150
  }
165
- function ge({ className: a, ...t }) {
166
- 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 });
167
153
  }
168
- function xe({
169
- label: a,
170
- value: t,
154
+ function me({
155
+ label: r,
156
+ value: a,
171
157
  tooltip: n,
172
158
  highlight: l = !1,
173
159
  negative: s = !1,
174
- positive: r = !1,
160
+ positive: t = !1,
175
161
  isPercentage: i = !1,
176
162
  isDate: d = !1,
177
- isText: x = !1,
178
- isInvoiced: f = !1,
179
- hasCopyButton: h = !1,
180
- enableHoverableContent: F = !1,
181
- handleCopy: p
163
+ isText: b = !1,
164
+ isInvoiced: p = !1,
165
+ hasCopyButton: m = !1,
166
+ enableHoverableContent: T = !1,
167
+ handleCopy: y
182
168
  }) {
183
169
  let g = "";
184
- if (d && typeof t == "string" && !f && l) {
185
- const S = w(t), u = R(S, /* @__PURE__ */ new Date());
186
- u > 15 ? g = "bg-yellow-100 font-bold" : u > 7 ? g = "bg-yellow-300 font-bold" : u >= 0 ? g = "bg-red-300 font-bold" : g = "bg-red-500 text-white font-bold";
170
+ if (d && typeof a == "string" && !p && l) {
171
+ const S = k(a), h = B(S, /* @__PURE__ */ new Date());
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";
187
173
  } else l && (g = "bg-[#ffe0b2] font-bold");
188
- return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(C, { openDelay: 0, closeDelay: 0, children: [
174
+ return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(z, { openDelay: 0, closeDelay: 0, children: [
189
175
  /* @__PURE__ */ e(I, { children: /* @__PURE__ */ o("div", { className: "flex justify-between", children: [
190
176
  /* @__PURE__ */ o(
191
177
  "span",
192
178
  {
193
179
  className: c(
194
180
  "flex flex-row gap-1",
195
- s ? "text-red-600" : r ? "text-green-600" : ""
181
+ s ? "text-red-600" : t ? "text-green-600" : ""
196
182
  ),
197
183
  children: [
198
- a,
184
+ r,
199
185
  " ",
200
- /* @__PURE__ */ e(E, { className: "size-3.5" })
186
+ /* @__PURE__ */ e(X, { className: "size-3.5" })
201
187
  ]
202
188
  }
203
189
  ),
@@ -206,92 +192,160 @@ function xe({
206
192
  {
207
193
  className: c(
208
194
  "flex flex-row justify-end gap-2 text-right",
209
- s ? "text-red-600" : r ? "text-green-600" : ""
195
+ s ? "text-red-600" : t ? "text-green-600" : ""
210
196
  ),
211
197
  children: [
212
- i && 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 })}`,
213
- h && p && /* @__PURE__ */ e(J, { 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) })
214
200
  ]
215
201
  }
216
202
  )
217
203
  ] }) }),
218
204
  /* @__PURE__ */ e(
219
- z,
205
+ M,
220
206
  {
221
207
  align: "start",
222
- className: c(!F && "pointer-events-none"),
208
+ className: c(!T && "pointer-events-none"),
223
209
  children: /* @__PURE__ */ o("div", { className: "space-y-0.5", children: [
224
- /* @__PURE__ */ e("div", { className: "font-medium", children: a }),
210
+ /* @__PURE__ */ e("div", { className: "font-medium", children: r }),
225
211
  /* @__PURE__ */ e("div", { className: "font-normal opacity-80", children: n })
226
212
  ] })
227
213
  }
228
214
  )
229
215
  ] }) });
230
216
  }
231
- function be({
232
- icon: a = O,
233
- title: t,
217
+ function he({
218
+ icon: r = U,
219
+ title: a,
234
220
  description: n,
235
221
  tip: l,
236
222
  className: s,
237
- ...r
223
+ ...t
238
224
  }) {
239
- return /* @__PURE__ */ e(N, { className: c(s), ...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: [
240
226
  /* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(
241
- a,
227
+ r,
242
228
  {
243
229
  "aria-hidden": "true",
244
230
  className: "size-16 text-muted-foreground/40"
245
231
  }
246
232
  ) }),
247
- /* @__PURE__ */ e("h3", { className: "mb-2 text-lg font-semibold text-foreground", children: t }),
233
+ /* @__PURE__ */ e("h3", { className: "mb-2 text-lg font-semibold text-foreground", children: a }),
248
234
  /* @__PURE__ */ e("p", { className: "max-w-md text-sm leading-relaxed text-muted-foreground", children: n }),
249
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 }) })
250
236
  ] }) });
251
237
  }
252
- function me({
253
- columns: a = 9,
254
- rows: t = 20,
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,
255
309
  hasActions: n = !1,
256
310
  actionsCount: l = 1
257
311
  }) {
258
- return /* @__PURE__ */ o(T, { children: [
259
- /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(y, { children: Array.from({ length: a }).map((s, r) => {
260
- const i = n && r === a - 1;
312
+ return /* @__PURE__ */ o(H, { children: [
313
+ /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(w, { children: Array.from({ length: r }).map((s, t) => {
314
+ const i = n && t === r - 1;
261
315
  return /* @__PURE__ */ e(
262
- _,
316
+ L,
263
317
  {
264
318
  className: i ? "w-0 text-right" : "",
265
319
  children: /* @__PURE__ */ e(
266
- m,
320
+ u,
267
321
  {
268
322
  className: i ? "ml-auto h-4 w-8" : "h-4 w-[60%]"
269
323
  }
270
324
  )
271
325
  },
272
- r
326
+ t
273
327
  );
274
328
  }) }) }),
275
- /* @__PURE__ */ e(A, { children: Array.from({ length: t }).map((s, r) => /* @__PURE__ */ e(y, { className: "h-[3.05rem]", children: Array.from({ length: a }).map((i, d) => {
276
- const x = n && d === a - 1;
277
- return /* @__PURE__ */ e(j, { children: x ? /* @__PURE__ */ e("div", { className: "flex gap-2", children: Array.from({ length: l }).map((f, h) => /* @__PURE__ */ e(m, { className: "ml-auto size-8" }, h)) }) : /* @__PURE__ */ e(m, { className: "h-4 w-full" }) }, d);
278
- }) }, 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)) })
279
333
  ] });
280
334
  }
281
- function he({
282
- size: a = 24,
283
- color: t = "currentColor",
335
+ function pe({
336
+ size: r = 24,
337
+ color: a = "currentColor",
284
338
  ...n
285
339
  }) {
286
340
  return /* @__PURE__ */ e(
287
341
  "svg",
288
342
  {
289
343
  xmlns: "http://www.w3.org/2000/svg",
290
- width: a,
291
- height: a,
344
+ width: r,
345
+ height: r,
292
346
  viewBox: "0 0 24 24",
293
347
  fill: "none",
294
- stroke: t,
348
+ stroke: a,
295
349
  "stroke-width": "2",
296
350
  "stroke-linecap": "round",
297
351
  "stroke-linejoin": "round",
@@ -302,40 +356,40 @@ function he({
302
356
  );
303
357
  }
304
358
  export {
305
- oe as AsyncBoundary,
306
- pe as CampaignsSelectInput,
307
- ye as ClientSelectInput,
308
- W as ErrorCard,
309
- we as FieldCalendar,
310
- ke as FieldCheckbox,
311
- Ne as FieldClientSelectInput,
312
- ve as FieldInput,
313
- Ce as FieldLabelWithAsterisk,
314
- Ie as FieldProfileSelectInput,
315
- ze as FieldSaleSelectInput,
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,
316
369
  Fe as FieldSelect,
317
- Se as FieldSwitch,
318
- Me as FieldTextarea,
319
- ce as HoverContent,
320
- de as IconBadge,
321
- Te as Image,
322
- He as InfluencerSelectInput,
323
- _e as InstagramIcon,
324
- Ae as LinkedInIcon,
325
- ge as List,
326
- xe as ListRow,
327
- be as NotFoundCard,
328
- je as PageHeader,
329
- Le as PageHeaderActions,
330
- Be as PageHeaderContent,
331
- De as PageHeaderDescription,
332
- Pe as PageHeaderTitle,
333
- Re as PinterestIcon,
334
- $e as ProfileSelectInput,
335
- qe as SaleSelectInput,
336
- me as TableSkeleton,
337
- Ee as TikTokIcon,
338
- he as TwitterIcon,
339
- Ve as XIcon,
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,
340
394
  Je as YoutubeIcon
341
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.BzUx7I9H.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
@@ -5,7 +5,8 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "inProgress" | "onHold" | "finished" | "archived";
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.fEyACJbG.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
@@ -5,7 +5,8 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "inProgress" | "onHold" | "finished" | "archived";
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
@@ -5,7 +5,8 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "inProgress" | "onHold" | "finished" | "archived";
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[];
@@ -5,7 +5,8 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "inProgress" | "onHold" | "finished" | "archived";
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
@@ -5,7 +5,8 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "inProgress" | "onHold" | "finished" | "archived";
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[];