@grapadigital/shared-app-modules 0.0.181 → 0.0.183
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/assets/switch.css +1 -1
- package/dist/chuncks/badge.Cur4Mrd7.js +416 -0
- package/dist/chuncks/{format.util.DDDOd55d.js → format.util.B1F-QlvS.js} +1 -1
- package/dist/chuncks/{popover.4p4HlZwe.js → popover.C3VFqVxV.js} +1 -1
- package/dist/chuncks/{switch.BF6I8Lqo.js → switch.D4GUsewk.js} +127 -127
- package/dist/chuncks/youtube-icon.component.Dasmq5T5.js +4435 -0
- package/dist/components.d.ts +40 -2
- package/dist/components.js +341 -198
- package/dist/constants.js +1 -1
- package/dist/events.js +1 -1
- package/dist/hooks.d.ts +1 -0
- package/dist/pages.js +1 -1
- package/dist/providers.d.ts +1 -0
- package/dist/shadcn.js +151 -187
- package/dist/utils.d.ts +16 -1
- package/dist/utils.js +11 -10
- package/package.json +12 -9
- package/dist/chuncks/tooltip.BR6kaw4f.js +0 -378
- package/dist/chuncks/youtube-icon.component.DBqPyuqe.js +0 -2023
package/dist/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as r, A as s, B as T, C as n, I as O, c as L, P as N, b as c, d as I, S as U, T as P } from "./chuncks/youtube-icon.component.
|
|
1
|
+
import { a as r, A as s, B as T, C as n, I as O, c as L, P as N, b as c, d as I, S as U, T as P } from "./chuncks/youtube-icon.component.Dasmq5T5.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.", A = "Há um erro na validação dos campos. Por favor, entre em contato com o suporte.", e = "Campo obrigatório.";
|
|
3
3
|
export {
|
|
4
4
|
r as ACTION_STATUS_VALUES,
|
package/dist/events.js
CHANGED
package/dist/hooks.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ declare interface Environments {
|
|
|
4
4
|
readonly VITE_BACKEND_API_PROFILES_URL?: string;
|
|
5
5
|
readonly VITE_BACKEND_API_SALES_URL?: string;
|
|
6
6
|
readonly VITE_BACKEND_API_CLIENTS_URL?: string;
|
|
7
|
+
readonly VITE_BACKEND_API_ORGANIZATION_URL?: string;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
declare interface SharedAppModulesContextData {
|
package/dist/pages.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aZ as i, c as t, B as m } from "./chuncks/switch.D4GUsewk.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/providers.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare interface Environments {
|
|
|
6
6
|
readonly VITE_BACKEND_API_PROFILES_URL?: string;
|
|
7
7
|
readonly VITE_BACKEND_API_SALES_URL?: string;
|
|
8
8
|
readonly VITE_BACKEND_API_CLIENTS_URL?: string;
|
|
9
|
+
readonly VITE_BACKEND_API_ORGANIZATION_URL?: string;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
declare interface SharedAppModulesContextProps {
|
package/dist/shadcn.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { c as o,
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import { S as
|
|
5
|
-
import { C as Re, j as
|
|
1
|
+
import { c as o, a as i, B as u, I as p, T as c, S as g, b as m } from "./chuncks/switch.D4GUsewk.js";
|
|
2
|
+
import { al as B, ao as P, am as H, an as L, w as A, A as N, F as V, E, y as j, x as R, z as _, at as O, aw as Q, ax as U, ay as q, au as J, av as K, C as W, ac as X, ad as Y, ag as Z, ah as $, ae as aa, ai as ea, af as ta, ak as ra, aj as oa, D as sa, n as na, o as ia, p as la, q as da, r as ua, s as pa, t as ca, u as ga, v as ma, a2 as ha, a6 as ba, a7 as fa, ab as va, a9 as Ca, a8 as Ta, a4 as xa, a3 as Da, aa as Sa, a5 as wa, aH as ka, aL as Ga, aJ as Ia, aQ as Ma, aK as za, aN as Fa, aR as ya, aV as Ba, aM as Pa, aO as Ha, aP as La, aS as Aa, aT as Na, aU as Va, aI as Ea, aq as ja, as as Ra, ar as _a, L as Oa, ap as Qa, aW as Ua, aX as qa, d as Ja, h as Ka, e as Wa, j as Xa, i as Ya, m as Za, l as $a, k as ae, g as ee, f as te, G as re, J as oe, K as se, P as ne, N as ie, M as le, O as de, H as ue, aY as pe, W as ce, Y as ge, a1 as me, a0 as he, Z as be, _ as fe, X as ve, $ as Ce, Q as Te, V as xe, R as De, U as Se, az as we, aA as ke, aB as Ge, aC as Ie, aD as Me, aE as ze, aF as Fe, aG as ye } from "./chuncks/switch.D4GUsewk.js";
|
|
3
|
+
import * as l from "react";
|
|
4
|
+
import { B as Pe, S as He, T as Le, b as Ae, c as Ne, a as Ve, d as Ee } from "./chuncks/badge.Cur4Mrd7.js";
|
|
5
|
+
import { C as Re, j as _e, F as Oe, h as Qe, b as Ue, c as qe, d as Je, a as Ke, e as We, f as Xe, g as Ye, i as Ze, P as $e, m as at, l as et, p as tt, n as rt, o as ot, k as st } from "./chuncks/popover.C3VFqVxV.js";
|
|
6
6
|
import { jsx as s } from "react/jsx-runtime";
|
|
7
|
-
function
|
|
8
|
-
const [a, t] =
|
|
9
|
-
return
|
|
10
|
-
function r(
|
|
11
|
-
t(
|
|
7
|
+
function T(e) {
|
|
8
|
+
const [a, t] = l.useState(!1);
|
|
9
|
+
return l.useEffect(() => {
|
|
10
|
+
function r(d) {
|
|
11
|
+
t(d.matches);
|
|
12
12
|
}
|
|
13
13
|
const n = matchMedia(e);
|
|
14
14
|
return n.addEventListener("change", r), t(n.matches), () => n.removeEventListener("change", r);
|
|
15
15
|
}, [e]), a;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function x({ className: e, ...a }) {
|
|
18
18
|
return /* @__PURE__ */ s(
|
|
19
19
|
"div",
|
|
20
20
|
{
|
|
@@ -54,7 +54,7 @@ const h = i(
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
);
|
|
57
|
-
function
|
|
57
|
+
function D({
|
|
58
58
|
className: e,
|
|
59
59
|
align: a = "inline-start",
|
|
60
60
|
...t
|
|
@@ -73,7 +73,7 @@ function S({
|
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
|
-
const
|
|
76
|
+
const b = i(
|
|
77
77
|
"flex items-center gap-2 text-sm shadow-none",
|
|
78
78
|
{
|
|
79
79
|
variants: {
|
|
@@ -89,7 +89,7 @@ const v = i(
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
|
-
function
|
|
92
|
+
function S({
|
|
93
93
|
className: e,
|
|
94
94
|
type: a = "button",
|
|
95
95
|
variant: t = "ghost",
|
|
@@ -102,12 +102,12 @@ function k({
|
|
|
102
102
|
type: a,
|
|
103
103
|
"data-size": r,
|
|
104
104
|
variant: t,
|
|
105
|
-
className: o(
|
|
105
|
+
className: o(b({ size: r }), e),
|
|
106
106
|
...n
|
|
107
107
|
}
|
|
108
108
|
);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function w({ className: e, ...a }) {
|
|
111
111
|
return /* @__PURE__ */ s(
|
|
112
112
|
"span",
|
|
113
113
|
{
|
|
@@ -119,7 +119,7 @@ function y({ className: e, ...a }) {
|
|
|
119
119
|
}
|
|
120
120
|
);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function k({
|
|
123
123
|
className: e,
|
|
124
124
|
...a
|
|
125
125
|
}) {
|
|
@@ -187,7 +187,7 @@ function M({
|
|
|
187
187
|
...t
|
|
188
188
|
}) {
|
|
189
189
|
return /* @__PURE__ */ s(
|
|
190
|
-
a ?
|
|
190
|
+
a ? m : "div",
|
|
191
191
|
{
|
|
192
192
|
className: o(
|
|
193
193
|
"bg-muted shadow-xs flex items-center gap-2 rounded-md border px-4 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",
|
|
@@ -197,7 +197,7 @@ function M({
|
|
|
197
197
|
}
|
|
198
198
|
);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function z({
|
|
201
201
|
className: e,
|
|
202
202
|
orientation: a = "vertical",
|
|
203
203
|
...t
|
|
@@ -215,115 +215,79 @@ function F({
|
|
|
215
215
|
}
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
|
-
const x = i(
|
|
219
|
-
"inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
|
|
220
|
-
{
|
|
221
|
-
variants: {
|
|
222
|
-
variant: {
|
|
223
|
-
default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
224
|
-
secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
225
|
-
destructive: "bg-destructive text-white focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",
|
|
226
|
-
success: "border-transparent bg-green-500 text-destructive-foreground shadow hover:bg-green-500/80",
|
|
227
|
-
warning: "border-transparent bg-orange-500 text-destructive-foreground shadow hover:bg-orange-500/80",
|
|
228
|
-
outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
229
|
-
ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
230
|
-
link: "text-primary underline-offset-4 [a&]:hover:underline"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
defaultVariants: {
|
|
234
|
-
variant: "default"
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
);
|
|
238
|
-
function B({
|
|
239
|
-
className: e,
|
|
240
|
-
variant: a = "default",
|
|
241
|
-
asChild: t = !1,
|
|
242
|
-
...r
|
|
243
|
-
}) {
|
|
244
|
-
return /* @__PURE__ */ s(
|
|
245
|
-
t ? m : "span",
|
|
246
|
-
{
|
|
247
|
-
"data-slot": "badge",
|
|
248
|
-
"data-variant": a,
|
|
249
|
-
className: o(x({ variant: a }), e),
|
|
250
|
-
...r
|
|
251
|
-
}
|
|
252
|
-
);
|
|
253
|
-
}
|
|
254
218
|
export {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
219
|
+
B as Accordion,
|
|
220
|
+
P as AccordionContent,
|
|
221
|
+
H as AccordionItem,
|
|
222
|
+
L as AccordionTrigger,
|
|
223
|
+
Pe as Badge,
|
|
260
224
|
u as Button,
|
|
261
225
|
I as ButtonGroup,
|
|
262
|
-
|
|
226
|
+
z as ButtonGroupSeparator,
|
|
263
227
|
M as ButtonGroupText,
|
|
264
228
|
Re as Calendar,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
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
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
229
|
+
_e as CalendarDayButton,
|
|
230
|
+
A as Card,
|
|
231
|
+
N as CardAction,
|
|
232
|
+
V as CardContent,
|
|
233
|
+
E as CardDescription,
|
|
234
|
+
j as CardFooter,
|
|
235
|
+
R as CardHeader,
|
|
236
|
+
_ as CardTitle,
|
|
237
|
+
O as ChartContainer,
|
|
238
|
+
Q as ChartLegend,
|
|
239
|
+
U as ChartLegendContent,
|
|
240
|
+
q as ChartStyle,
|
|
241
|
+
J as ChartTooltip,
|
|
242
|
+
K as ChartTooltipContent,
|
|
243
|
+
W as Checkbox,
|
|
244
|
+
X as Command,
|
|
245
|
+
Y as CommandDialog,
|
|
246
|
+
Z as CommandEmpty,
|
|
247
|
+
$ as CommandGroup,
|
|
248
|
+
aa as CommandInput,
|
|
249
|
+
ea as CommandItem,
|
|
250
|
+
ta as CommandList,
|
|
251
|
+
ra as CommandSeparator,
|
|
252
|
+
oa as CommandShortcut,
|
|
253
|
+
sa as Dialog,
|
|
254
|
+
na as DialogClose,
|
|
255
|
+
ia as DialogContent,
|
|
256
|
+
la as DialogDescription,
|
|
257
|
+
da as DialogFooter,
|
|
258
|
+
ua as DialogHeader,
|
|
259
|
+
pa as DialogOverlay,
|
|
260
|
+
ca as DialogPortal,
|
|
261
|
+
ga as DialogTitle,
|
|
262
|
+
ma as DialogTrigger,
|
|
263
|
+
ha as Drawer,
|
|
264
|
+
ba as DrawerClose,
|
|
265
|
+
fa as DrawerContent,
|
|
266
|
+
va as DrawerDescription,
|
|
267
|
+
Ca as DrawerFooter,
|
|
268
|
+
Ta as DrawerHeader,
|
|
269
|
+
xa as DrawerOverlay,
|
|
270
|
+
Da as DrawerPortal,
|
|
271
|
+
Sa as DrawerTitle,
|
|
272
|
+
wa as DrawerTrigger,
|
|
273
|
+
ka as DropdownMenu,
|
|
274
|
+
Ga as DropdownMenuCheckboxItem,
|
|
275
|
+
Ia as DropdownMenuContent,
|
|
276
|
+
Ma as DropdownMenuGroup,
|
|
277
|
+
za as DropdownMenuItem,
|
|
278
|
+
Fa as DropdownMenuLabel,
|
|
279
|
+
ya as DropdownMenuPortal,
|
|
280
|
+
Ba as DropdownMenuRadioGroup,
|
|
281
|
+
Pa as DropdownMenuRadioItem,
|
|
282
|
+
Ha as DropdownMenuSeparator,
|
|
283
|
+
La as DropdownMenuShortcut,
|
|
284
|
+
Aa as DropdownMenuSub,
|
|
285
|
+
Na as DropdownMenuSubContent,
|
|
286
|
+
Va as DropdownMenuSubTrigger,
|
|
287
|
+
Ea as DropdownMenuTrigger,
|
|
288
|
+
Oe as Field,
|
|
289
|
+
Qe as FieldContent,
|
|
290
|
+
Ue as FieldDescription,
|
|
327
291
|
qe as FieldError,
|
|
328
292
|
Je as FieldGroup,
|
|
329
293
|
Ke as FieldLabel,
|
|
@@ -331,75 +295,75 @@ export {
|
|
|
331
295
|
Xe as FieldSeparator,
|
|
332
296
|
Ye as FieldSet,
|
|
333
297
|
Ze as FieldTitle,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
298
|
+
ja as HoverCard,
|
|
299
|
+
Ra as HoverCardContent,
|
|
300
|
+
_a as HoverCardTrigger,
|
|
337
301
|
p as Input,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
302
|
+
x as InputGroup,
|
|
303
|
+
D as InputGroupAddon,
|
|
304
|
+
S as InputGroupButton,
|
|
305
|
+
k as InputGroupInput,
|
|
306
|
+
w as InputGroupText,
|
|
343
307
|
G as InputGroupTextarea,
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
308
|
+
Oa as Label,
|
|
309
|
+
$e as Popover,
|
|
310
|
+
at as PopoverAnchor,
|
|
311
|
+
et as PopoverContent,
|
|
312
|
+
tt as PopoverDescription,
|
|
313
|
+
rt as PopoverHeader,
|
|
314
|
+
ot as PopoverTitle,
|
|
315
|
+
st as PopoverTrigger,
|
|
316
|
+
Qa as Progress,
|
|
317
|
+
Ua as ScrollArea,
|
|
318
|
+
qa as ScrollBar,
|
|
319
|
+
Ja as Select,
|
|
320
|
+
Ka as SelectContent,
|
|
321
|
+
Wa as SelectGroup,
|
|
322
|
+
Xa as SelectItem,
|
|
323
|
+
Ya as SelectLabel,
|
|
324
|
+
Za as SelectScrollDownButton,
|
|
325
|
+
$a as SelectScrollUpButton,
|
|
326
|
+
ae as SelectSeparator,
|
|
327
|
+
ee as SelectTrigger,
|
|
328
|
+
te as SelectValue,
|
|
365
329
|
g as Separator,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
330
|
+
re as Sheet,
|
|
331
|
+
oe as SheetClose,
|
|
332
|
+
se as SheetContent,
|
|
333
|
+
ne as SheetDescription,
|
|
334
|
+
ie as SheetFooter,
|
|
335
|
+
le as SheetHeader,
|
|
336
|
+
de as SheetTitle,
|
|
337
|
+
ue as SheetTrigger,
|
|
338
|
+
He as Skeleton,
|
|
339
|
+
pe as Switch,
|
|
340
|
+
ce as Table,
|
|
341
|
+
ge as TableBody,
|
|
342
|
+
me as TableCaption,
|
|
343
|
+
he as TableCell,
|
|
344
|
+
be as TableFooter,
|
|
345
|
+
fe as TableHead,
|
|
346
|
+
ve as TableHeader,
|
|
347
|
+
Ce as TableRow,
|
|
348
|
+
Te as Tabs,
|
|
349
|
+
xe as TabsContent,
|
|
350
|
+
De as TabsList,
|
|
351
|
+
Se as TabsTrigger,
|
|
388
352
|
c as Textarea,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
353
|
+
we as Timeline,
|
|
354
|
+
ke as TimelineContent,
|
|
355
|
+
Ge as TimelineDate,
|
|
356
|
+
Ie as TimelineHeader,
|
|
357
|
+
Me as TimelineIndicator,
|
|
358
|
+
ze as TimelineItem,
|
|
359
|
+
Fe as TimelineSeparator,
|
|
360
|
+
ye as TimelineTitle,
|
|
361
|
+
Le as Tooltip,
|
|
398
362
|
Ae as TooltipContent,
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
363
|
+
Ne as TooltipProvider,
|
|
364
|
+
Ve as TooltipTrigger,
|
|
365
|
+
Ee as badgeVariants,
|
|
402
366
|
f as buttonGroupVariants,
|
|
403
367
|
o as cn,
|
|
404
|
-
|
|
368
|
+
T as useMediaQuery
|
|
405
369
|
};
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
declare const ACTION_STATUS_VALUES: {
|
|
2
|
+
readonly config: "Configuração";
|
|
3
|
+
readonly script: "Roteiro";
|
|
4
|
+
readonly production: "Produção";
|
|
5
|
+
readonly posting: "Postagem";
|
|
6
|
+
readonly analytics: "Analytics";
|
|
7
|
+
readonly finished: "Concluído";
|
|
8
|
+
readonly onHold: "Aguardando";
|
|
9
|
+
readonly cancelled: "Cancelado";
|
|
10
|
+
readonly archived: "Arquivada";
|
|
11
|
+
};
|
|
12
|
+
|
|
1
13
|
declare const BUSINESS_UNIT_VALUES: {
|
|
2
14
|
readonly service: "Atendimento";
|
|
3
15
|
readonly comercial: "Comercial";
|
|
@@ -102,10 +114,13 @@ declare namespace IS_MODULES {
|
|
|
102
114
|
isBusinessUnit,
|
|
103
115
|
isPaymentType,
|
|
104
116
|
isInfluencerBroadcastMethod,
|
|
105
|
-
isPaymentPhase
|
|
117
|
+
isPaymentPhase,
|
|
118
|
+
isActionStatus
|
|
106
119
|
}
|
|
107
120
|
}
|
|
108
121
|
|
|
122
|
+
export declare function isActionStatus(value?: string): value is keyof typeof ACTION_STATUS_VALUES;
|
|
123
|
+
|
|
109
124
|
export declare function isBusinessUnit(value?: string): value is keyof typeof BUSINESS_UNIT_VALUES;
|
|
110
125
|
|
|
111
126
|
export declare function isClientType(value?: string): value is keyof typeof CLIENT_TYPE_VALUES;
|
package/dist/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { U as t } from "./chuncks/format.util.
|
|
2
|
-
import { g as y, h as k, f as C, b as E, d as L, m as P, c as _, e as O, a as D, p as I, u as U } from "./chuncks/format.util.
|
|
3
|
-
import { e as s } from "./chuncks/youtube-icon.component.
|
|
4
|
-
import {
|
|
1
|
+
import { U as t } from "./chuncks/format.util.B1F-QlvS.js";
|
|
2
|
+
import { g as y, h as k, f as C, b as E, d as L, m as P, c as _, e as O, a as D, p as I, u as U } from "./chuncks/format.util.B1F-QlvS.js";
|
|
3
|
+
import { e as s } from "./chuncks/youtube-icon.component.Dasmq5T5.js";
|
|
4
|
+
import { m as j, h as N, g as q, k as x, i as F, l as T, j as A, f as G } from "./chuncks/youtube-icon.component.Dasmq5T5.js";
|
|
5
5
|
const a = (e) => e ? `${e} é obrigatório.` : "Campo obrigatório.", o = (e, r) => r ? `${r} deve ter no mínimo ${e} caracteres.` : `Deve ter no mínimo ${e} caracteres.`, n = (e, r) => r ? `${r} deve ter no máximo ${e} caracteres.` : `Deve ter no máximo ${e} caracteres.`, i = (e, r) => r ? `${r} não pode ser menor que ${e}.` : `Não pode ser menor que ${e}.`, m = (e, r) => r ? `${r} não pode ser maior que ${e}.` : `Não pode ser maior que ${e}.`, u = (e) => e ? `${e} inválido.` : "Valor inválido.", c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6
6
|
__proto__: null,
|
|
7
7
|
invalidMessage: u,
|
|
@@ -31,12 +31,13 @@ export {
|
|
|
31
31
|
C as formatCurrency,
|
|
32
32
|
E as formatPercentage,
|
|
33
33
|
u as invalidMessage,
|
|
34
|
-
j as
|
|
35
|
-
N as
|
|
36
|
-
q as
|
|
37
|
-
x as
|
|
38
|
-
F as
|
|
39
|
-
T as
|
|
34
|
+
j as isActionStatus,
|
|
35
|
+
N as isBusinessUnit,
|
|
36
|
+
q as isClientType,
|
|
37
|
+
x as isInfluencerBroadcastMethod,
|
|
38
|
+
F as isNumber,
|
|
39
|
+
T as isPaymentPhase,
|
|
40
|
+
A as isPaymentType,
|
|
40
41
|
G as isSocialNetwork,
|
|
41
42
|
g as keys,
|
|
42
43
|
L as maskCNPJ,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grapadigital/shared-app-modules",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.183",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -120,6 +120,13 @@
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"type": "module",
|
|
123
|
+
"scripts": {
|
|
124
|
+
"dev": "vite",
|
|
125
|
+
"build": "rm -rf dist && tsc -b && vite build",
|
|
126
|
+
"lint": "eslint .",
|
|
127
|
+
"preview": "vite preview",
|
|
128
|
+
"lib:publish": "pnpm build && pnpm publish --no-git-checks"
|
|
129
|
+
},
|
|
123
130
|
"peerDependencies": {
|
|
124
131
|
"react": "^18.3.1",
|
|
125
132
|
"react-dom": "^18.3.1"
|
|
@@ -149,7 +156,9 @@
|
|
|
149
156
|
"lucide-react": "^0.555.0",
|
|
150
157
|
"radix-ui": "^1.4.3",
|
|
151
158
|
"react-day-picker": "^9.11.3",
|
|
159
|
+
"react-error-boundary": "^6.1.2",
|
|
152
160
|
"react-hook-form": "^7.71.2",
|
|
161
|
+
"react-mentions": "^4.4.10",
|
|
153
162
|
"react-router-dom": "^7.10.1",
|
|
154
163
|
"recharts": "2.15.4",
|
|
155
164
|
"tailwind-merge": "^3.4.0",
|
|
@@ -161,6 +170,7 @@
|
|
|
161
170
|
"@types/node": "^24.10.1",
|
|
162
171
|
"@types/react": "^19.2.5",
|
|
163
172
|
"@types/react-dom": "^19.2.3",
|
|
173
|
+
"@types/react-mentions": "^4.4.1",
|
|
164
174
|
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
165
175
|
"autoprefixer": "^10.4.22",
|
|
166
176
|
"eslint": "^9.39.1",
|
|
@@ -175,12 +185,5 @@
|
|
|
175
185
|
"vite": "^7.2.4",
|
|
176
186
|
"vite-plugin-dts": "^4.5.4",
|
|
177
187
|
"vite-plugin-lib-inject-css": "^2.2.2"
|
|
178
|
-
},
|
|
179
|
-
"scripts": {
|
|
180
|
-
"dev": "vite",
|
|
181
|
-
"build": "rm -rf dist && tsc -b && vite build",
|
|
182
|
-
"lint": "eslint .",
|
|
183
|
-
"preview": "vite preview",
|
|
184
|
-
"lib:publish": "pnpm build && pnpm publish --no-git-checks"
|
|
185
188
|
}
|
|
186
|
-
}
|
|
189
|
+
}
|