@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.
- package/dist/assets/switch.css +1 -1
- package/dist/chuncks/{card.D5PkIOr_.js → card.BEPmJhJa.js} +1 -1
- package/dist/chuncks/{field-textarea.component.Woi9pLCE.js → field-textarea.component.DXB1qEY1.js} +36 -36
- package/dist/chuncks/{format.util.CIxiTD4F.js → format.util.DR7VHTpM.js} +1 -1
- package/dist/chuncks/popover.BIXpZwtw.js +2377 -0
- package/dist/chuncks/{switch.CRijOkty.js → switch.sICPxzDh.js} +5665 -5875
- package/dist/components.js +16 -16
- package/dist/constants.js +2 -2
- package/dist/events.js +1 -1
- package/dist/pages.js +1 -1
- package/dist/shadcn.d.ts +9 -10
- package/dist/shadcn.js +185 -170
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/chuncks/calendar.BwOHd4z9.js +0 -2129
package/dist/components.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { a as b, c, B as F,
|
|
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.
|
|
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.
|
|
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
|
-
],
|
|
13
|
-
const
|
|
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",
|
|
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
|
-
],
|
|
30
|
-
const
|
|
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
|
-
],
|
|
36
|
-
const
|
|
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",
|
|
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(
|
|
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
|
|
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] :
|
|
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(
|
|
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 =
|
|
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.
|
|
2
|
-
import "./chuncks/switch.
|
|
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
package/dist/pages.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as i, c as a, B as m } from "./chuncks/switch.
|
|
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
|
|
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 }:
|
|
52
|
-
|
|
53
|
-
|
|
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
|
|
407
|
+
export declare function Popover({ ...props }: React_2.ComponentProps<typeof Popover_2.Root>): JSX.Element;
|
|
409
408
|
|
|
410
|
-
export declare
|
|
409
|
+
export declare function PopoverAnchor({ ...props }: React_2.ComponentProps<typeof Popover_2.Anchor>): JSX.Element;
|
|
411
410
|
|
|
412
|
-
export declare
|
|
411
|
+
export declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof Popover_2.Content>): JSX.Element;
|
|
413
412
|
|
|
414
|
-
export declare
|
|
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
|
|