@grapadigital/shared-app-modules 0.0.117 → 0.0.119

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,19 @@
1
- import { a as b, c, B as F, as as k, at as v, au as C, O as T, P as H, V as y, U as _, Q as A, W as j } from "./chuncks/switch.CRijOkty.js";
2
- import { j as de, k as ge, o as xe, p as be, s as me, F as he, q as fe, t as pe, r as ue, u as ye, I as we, l as Ne, P as ke, e as ve, f as Ce, g as Ie, h as ze, m as Me, n as Se } from "./chuncks/field-textarea.component.Woi9pLCE.js";
1
+ import { a as b, c, B as F, ap as k, aq as v, ar as C, P as T, Q as H, W as y, V as _, R as A, X as j } from "./chuncks/switch.sICPxzDh.js";
2
+ import { j as de, k as ge, o as xe, p as be, s as me, F as he, q as fe, t as pe, r as ue, u as ye, I as we, l as Ne, P as ke, e as ve, f as Ce, g as Ie, h as ze, m as Me, n as Se } from "./chuncks/field-textarea.component.DXB1qEY1.js";
3
3
  import { jsx as e, jsxs as o, Fragment as L } from "react/jsx-runtime";
4
4
  import "react";
5
- import { C as I, f as z, S as f } from "./chuncks/card.D5PkIOr_.js";
5
+ import { C as I, f as z, S as f } from "./chuncks/card.BEPmJhJa.js";
6
6
  import { parseISO as w, differenceInCalendarDays as P, format as $ } from "date-fns";
7
7
  import { I as Te, L as He, P as _e, T as Ae, Y as je } from "./chuncks/youtube-icon.component.R7s6jY4w.js";
8
8
  const D = [
9
9
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10
10
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
11
11
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
12
- ], B = b("circle-alert", D);
13
- const q = [
12
+ ], q = b("circle-alert", D);
13
+ const B = [
14
14
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
15
15
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
16
- ], R = b("copy", q);
16
+ ], R = b("copy", B);
17
17
  const V = [
18
18
  [
19
19
  "path",
@@ -26,14 +26,14 @@ const V = [
26
26
  ["path", { d: "M10 9H8", key: "b1mrlr" }],
27
27
  ["path", { d: "M16 13H8", key: "t4e002" }],
28
28
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
29
- ], O = b("file-text", V);
30
- const W = [
29
+ ], W = b("file-text", V);
30
+ const Y = [
31
31
  ["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
32
32
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
33
33
  ["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
34
34
  ["path", { d: "M8 16H3v5", key: "1cv678" }]
35
- ], Y = b("refresh-cw", W);
36
- const E = [
35
+ ], E = b("refresh-cw", Y);
36
+ const O = [
37
37
  [
38
38
  "path",
39
39
  {
@@ -43,7 +43,7 @@ const E = [
43
43
  ],
44
44
  ["path", { d: "M12 9v4", key: "juzpu7" }],
45
45
  ["path", { d: "M12 17h.01", key: "p32p05" }]
46
- ], Q = b("triangle-alert", E);
46
+ ], Q = b("triangle-alert", O);
47
47
  function te({
48
48
  icon: a = Q,
49
49
  title: t,
@@ -58,7 +58,7 @@ function te({
58
58
  /* @__PURE__ */ e("h3", { className: "text-foreground mb-2 text-lg font-semibold", children: t }),
59
59
  /* @__PURE__ */ e("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: i }),
60
60
  l && /* @__PURE__ */ o(F, { onClick: l, variant: "outline", className: "mt-6", children: [
61
- /* @__PURE__ */ e(Y, {}),
61
+ /* @__PURE__ */ e(E, {}),
62
62
  "Tentar novamente"
63
63
  ] }),
64
64
  n && /* @__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: n }) })
@@ -80,7 +80,7 @@ function ae({
80
80
  /* @__PURE__ */ e(C, { align: t, className: l, children: a })
81
81
  ] }) });
82
82
  }
83
- const U = {
83
+ const X = {
84
84
  red: { bg: "bg-red-50", text: "text-red-600" },
85
85
  orange: { bg: "bg-orange-50", text: "text-orange-600" },
86
86
  amber: { bg: "bg-amber-50", text: "text-amber-600" },
@@ -141,7 +141,7 @@ function re({
141
141
  icon: l,
142
142
  filled: n
143
143
  }) {
144
- const r = n ? G[t] : U[t], s = a ? N[a] : N.md;
144
+ const r = n ? G[t] : X[t], s = a ? N[a] : N.md;
145
145
  return /* @__PURE__ */ e("div", { className: c("w-fit p-2 rounded-lg", r?.bg, i), children: /* @__PURE__ */ e(l, { className: c(s, r?.text) }) });
146
146
  }
147
147
  function le({ className: a, ...t }) {
@@ -179,7 +179,7 @@ function ne({
179
179
  children: [
180
180
  a,
181
181
  " ",
182
- /* @__PURE__ */ e(B, { className: "size-3.5" })
182
+ /* @__PURE__ */ e(q, { className: "size-3.5" })
183
183
  ]
184
184
  }
185
185
  ),
@@ -211,7 +211,7 @@ function ne({
211
211
  ] }) });
212
212
  }
213
213
  function ie({
214
- icon: a = O,
214
+ icon: a = W,
215
215
  title: t,
216
216
  description: i,
217
217
  tip: l,
package/dist/constants.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as p, B as L, C as N, S as d, d as u } from "./chuncks/field-textarea.component.Woi9pLCE.js";
2
- import "./chuncks/switch.CRijOkty.js";
1
+ import { A as p, B as L, C as N, S as d, d as u } from "./chuncks/field-textarea.component.DXB1qEY1.js";
2
+ import "./chuncks/switch.sICPxzDh.js";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "date-fns";
package/dist/events.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as o } from "./chuncks/format.util.CIxiTD4F.js";
1
+ import { h as o } from "./chuncks/format.util.DR7VHTpM.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/pages.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as i, c as a, B as m } from "./chuncks/switch.CRijOkty.js";
1
+ import { a as i, c as a, B as m } from "./chuncks/switch.sICPxzDh.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/shadcn.d.ts CHANGED
@@ -25,7 +25,7 @@ import { JSX } from 'react/jsx-runtime';
25
25
  import * as LabelPrimitive from '@radix-ui/react-label';
26
26
  import { NameType } from 'recharts/types/component/DefaultTooltipContent';
27
27
  import { Payload } from 'recharts/types/component/DefaultTooltipContent';
28
- import * as PopoverPrimitive from '@radix-ui/react-popover';
28
+ import { Popover as Popover_2 } from 'radix-ui';
29
29
  import { Portal } from 'vaul';
30
30
  import * as ProgressPrimitive from '@radix-ui/react-progress';
31
31
  import * as React_2 from 'react';
@@ -48,13 +48,12 @@ export declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<Accor
48
48
 
49
49
  export declare const AccordionTrigger: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
50
50
 
51
- export declare function Badge({ className, variant, ...props }: BadgeProps): JSX.Element;
52
-
53
- declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
54
- }
51
+ export declare function Badge({ className, variant, asChild, ...props }: React_2.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
52
+ asChild?: boolean;
53
+ }): JSX.Element;
55
54
 
56
55
  export declare const badgeVariants: (props?: ({
57
- variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | null | undefined;
56
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "success" | "warning" | null | undefined;
58
57
  } & ClassProp) | undefined) => string;
59
58
 
60
59
  export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
@@ -405,13 +404,13 @@ export declare function InputGroupTextarea({ className, ...props }: React_2.Comp
405
404
 
406
405
  export declare const Label: React_2.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React_2.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & React_2.RefAttributes<HTMLLabelElement>>;
407
406
 
408
- export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
407
+ export declare function Popover({ ...props }: React_2.ComponentProps<typeof Popover_2.Root>): JSX.Element;
409
408
 
410
- export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
409
+ export declare function PopoverAnchor({ ...props }: React_2.ComponentProps<typeof Popover_2.Anchor>): JSX.Element;
411
410
 
412
- export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
411
+ export declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof Popover_2.Content>): JSX.Element;
413
412
 
414
- export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
413
+ export declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof Popover_2.Trigger>): JSX.Element;
415
414
 
416
415
  export declare const Progress: React_2.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & ProgressPrimitiveIndicatorProps & React_2.RefAttributes<HTMLDivElement & ProgressPrimitiveIndicatorProps>>;
417
416