@grapadigital/shared-app-modules 0.0.117 → 0.0.118
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/{calendar.BwOHd4z9.js → calendar.D3Ip1sq3.js} +1 -1
- package/dist/chuncks/{card.D5PkIOr_.js → card.CSku_Q-L.js} +1 -1
- package/dist/chuncks/{field-textarea.component.Woi9pLCE.js → field-textarea.component.BkCzBuKr.js} +32 -32
- package/dist/chuncks/{format.util.CIxiTD4F.js → format.util.B1t3mSA1.js} +1 -1
- package/dist/chuncks/{switch.CRijOkty.js → switch.BJ3c7vY0.js} +921 -921
- package/dist/components.js +15 -15
- package/dist/constants.js +2 -2
- package/dist/events.js +1 -1
- package/dist/pages.js +1 -1
- package/dist/shadcn.d.ts +4 -5
- package/dist/shadcn.js +163 -148
- package/dist/utils.js +2 -2
- package/package.json +1 -1
package/dist/components.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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, at as k, au as v, av as C, P as T, Q as H, W as y, V as _, R as A, X as j } from "./chuncks/switch.BJ3c7vY0.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.BkCzBuKr.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.CSku_Q-L.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 = [
|
|
@@ -10,10 +10,10 @@ const D = [
|
|
|
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
12
|
], B = b("circle-alert", D);
|
|
13
|
-
const
|
|
13
|
+
const R = [
|
|
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
|
-
],
|
|
16
|
+
], q = b("copy", R);
|
|
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 }) {
|
|
@@ -192,7 +192,7 @@ function ne({
|
|
|
192
192
|
),
|
|
193
193
|
children: [
|
|
194
194
|
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 })}`,
|
|
195
|
-
m && u && /* @__PURE__ */ e(
|
|
195
|
+
m && u && /* @__PURE__ */ e(q, { size: 15, onClick: () => u(t) })
|
|
196
196
|
]
|
|
197
197
|
}
|
|
198
198
|
)
|
|
@@ -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.BkCzBuKr.js";
|
|
2
|
+
import "./chuncks/switch.BJ3c7vY0.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.BJ3c7vY0.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
|
@@ -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>>;
|
package/dist/shadcn.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
1
|
+
import { c as o, b as i, B as u, I as p, T as c, S as g, d as b, e as m } from "./chuncks/switch.BJ3c7vY0.js";
|
|
2
|
+
import { ao as N, ar as V, ap as A, aq as P, aw as j, az as E, aA as R, aB as _, ax as O, ay as Q, C as U, af as $, ag as q, aj as J, ak as K, ah as W, al as X, ai as Y, an as Z, am as aa, D as ea, p as ta, q as ra, r as oa, s as sa, t as na, u as ia, v as da, w as la, x as ua, a5 as pa, a9 as ca, aa as ga, ae as ba, ac as ma, ab as ha, a7 as fa, a6 as va, ad as xa, a8 as Ca, aK as wa, aO as Ta, aM as Da, aT as Sa, aN as ka, aQ as ya, aU as za, aY as Ga, aP as Ia, aR as Ma, aS as Fa, aV as Ba, aW as La, aX as Ha, aL as Na, at as Va, av as Aa, au as Pa, L as ja, Z as Ea, a0 as Ra, $ as _a, _ as Oa, as as Qa, aZ as Ua, a_ as $a, f as qa, j as Ja, g as Ka, l as Wa, k as Xa, o as Ya, n as Za, m as ae, i as ee, h as te, y as re, A as oe, E as se, J as ne, G as ie, F as de, H as le, z as ue, a$ as pe, P as ce, R as ge, Y as be, X as me, U as he, V as fe, Q as ve, W as xe, K as Ce, O as we, M as Te, N as De, aC as Se, aD as ke, aE as ye, aF as ze, aG as Ge, aH as Ie, aI as Me, aJ as Fe, a1 as Be, a3 as Le, a4 as He, a2 as Ne } from "./chuncks/switch.BJ3c7vY0.js";
|
|
3
3
|
import * as d from "react";
|
|
4
|
-
import { C as
|
|
5
|
-
import { C as
|
|
6
|
-
import { jsx as
|
|
4
|
+
import { C as Ae, d as Pe, f as je, e as Ee, b as Re, a as _e, c as Oe, S as Qe } from "./chuncks/card.CSku_Q-L.js";
|
|
5
|
+
import { C as $e, j as qe, F as Je, h as Ke, b as We, c as Xe, d as Ye, a as Ze, e as at, f as et, g as tt, i as rt } from "./chuncks/calendar.D3Ip1sq3.js";
|
|
6
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
7
7
|
function T(e) {
|
|
8
8
|
const [a, t] = d.useState(!1);
|
|
9
9
|
return d.useEffect(() => {
|
|
10
|
-
function
|
|
10
|
+
function r(l) {
|
|
11
11
|
t(l.matches);
|
|
12
12
|
}
|
|
13
13
|
const n = matchMedia(e);
|
|
14
|
-
return n.addEventListener("change",
|
|
14
|
+
return n.addEventListener("change", r), t(n.matches), () => n.removeEventListener("change", r);
|
|
15
15
|
}, [e]), a;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
return /* @__PURE__ */
|
|
17
|
+
function D({ className: e, ...a }) {
|
|
18
|
+
return /* @__PURE__ */ s(
|
|
19
19
|
"div",
|
|
20
20
|
{
|
|
21
21
|
"data-slot": "input-group",
|
|
22
22
|
role: "group",
|
|
23
|
-
className:
|
|
23
|
+
className: o(
|
|
24
24
|
"group/input-group border-input dark:bg-input/30 shadow-xs relative flex w-full items-center rounded-md border outline-none transition-[color,box-shadow]",
|
|
25
25
|
"h-9 has-[>textarea]:h-auto",
|
|
26
26
|
// Variants based on alignment.
|
|
@@ -38,7 +38,7 @@ function w({ className: e, ...a }) {
|
|
|
38
38
|
}
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
const
|
|
41
|
+
const h = i(
|
|
42
42
|
"text-muted-foreground flex h-auto cursor-text select-none items-center justify-center gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",
|
|
43
43
|
{
|
|
44
44
|
variants: {
|
|
@@ -54,26 +54,26 @@ const b = i(
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
);
|
|
57
|
-
function
|
|
57
|
+
function S({
|
|
58
58
|
className: e,
|
|
59
59
|
align: a = "inline-start",
|
|
60
60
|
...t
|
|
61
61
|
}) {
|
|
62
|
-
return /* @__PURE__ */
|
|
62
|
+
return /* @__PURE__ */ s(
|
|
63
63
|
"div",
|
|
64
64
|
{
|
|
65
65
|
role: "group",
|
|
66
66
|
"data-slot": "input-group-addon",
|
|
67
67
|
"data-align": a,
|
|
68
|
-
className:
|
|
69
|
-
onClick: (
|
|
70
|
-
|
|
68
|
+
className: o(h({ align: a }), e),
|
|
69
|
+
onClick: (r) => {
|
|
70
|
+
r.target.closest("button") || r.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
71
71
|
},
|
|
72
72
|
...t
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
|
-
const
|
|
76
|
+
const f = i(
|
|
77
77
|
"flex items-center gap-2 text-sm shadow-none",
|
|
78
78
|
{
|
|
79
79
|
variants: {
|
|
@@ -89,29 +89,29 @@ const h = i(
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
|
-
function
|
|
92
|
+
function k({
|
|
93
93
|
className: e,
|
|
94
94
|
type: a = "button",
|
|
95
95
|
variant: t = "ghost",
|
|
96
|
-
size:
|
|
96
|
+
size: r = "xs",
|
|
97
97
|
...n
|
|
98
98
|
}) {
|
|
99
|
-
return /* @__PURE__ */
|
|
99
|
+
return /* @__PURE__ */ s(
|
|
100
100
|
u,
|
|
101
101
|
{
|
|
102
102
|
type: a,
|
|
103
|
-
"data-size":
|
|
103
|
+
"data-size": r,
|
|
104
104
|
variant: t,
|
|
105
|
-
className:
|
|
105
|
+
className: o(f({ size: r }), e),
|
|
106
106
|
...n
|
|
107
107
|
}
|
|
108
108
|
);
|
|
109
109
|
}
|
|
110
110
|
function y({ className: e, ...a }) {
|
|
111
|
-
return /* @__PURE__ */
|
|
111
|
+
return /* @__PURE__ */ s(
|
|
112
112
|
"span",
|
|
113
113
|
{
|
|
114
|
-
className:
|
|
114
|
+
className: o(
|
|
115
115
|
"text-muted-foreground flex items-center gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",
|
|
116
116
|
e
|
|
117
117
|
),
|
|
@@ -119,15 +119,15 @@ function y({ className: e, ...a }) {
|
|
|
119
119
|
}
|
|
120
120
|
);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function z({
|
|
123
123
|
className: e,
|
|
124
124
|
...a
|
|
125
125
|
}) {
|
|
126
|
-
return /* @__PURE__ */
|
|
126
|
+
return /* @__PURE__ */ s(
|
|
127
127
|
p,
|
|
128
128
|
{
|
|
129
129
|
"data-slot": "input-group-control",
|
|
130
|
-
className:
|
|
130
|
+
className: o(
|
|
131
131
|
"flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent",
|
|
132
132
|
e
|
|
133
133
|
),
|
|
@@ -139,11 +139,11 @@ function G({
|
|
|
139
139
|
className: e,
|
|
140
140
|
...a
|
|
141
141
|
}) {
|
|
142
|
-
return /* @__PURE__ */
|
|
142
|
+
return /* @__PURE__ */ s(
|
|
143
143
|
c,
|
|
144
144
|
{
|
|
145
145
|
"data-slot": "input-group-control",
|
|
146
|
-
className:
|
|
146
|
+
className: o(
|
|
147
147
|
"flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent",
|
|
148
148
|
e
|
|
149
149
|
),
|
|
@@ -151,7 +151,7 @@ function G({
|
|
|
151
151
|
}
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
|
-
const
|
|
154
|
+
const v = i(
|
|
155
155
|
"flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",
|
|
156
156
|
{
|
|
157
157
|
variants: {
|
|
@@ -170,13 +170,13 @@ function I({
|
|
|
170
170
|
orientation: a,
|
|
171
171
|
...t
|
|
172
172
|
}) {
|
|
173
|
-
return /* @__PURE__ */
|
|
173
|
+
return /* @__PURE__ */ s(
|
|
174
174
|
"div",
|
|
175
175
|
{
|
|
176
176
|
role: "group",
|
|
177
177
|
"data-slot": "button-group",
|
|
178
178
|
"data-orientation": a,
|
|
179
|
-
className:
|
|
179
|
+
className: o(v({ orientation: a }), e),
|
|
180
180
|
...t
|
|
181
181
|
}
|
|
182
182
|
);
|
|
@@ -186,10 +186,10 @@ function M({
|
|
|
186
186
|
asChild: a = !1,
|
|
187
187
|
...t
|
|
188
188
|
}) {
|
|
189
|
-
return /* @__PURE__ */
|
|
190
|
-
a ?
|
|
189
|
+
return /* @__PURE__ */ s(
|
|
190
|
+
a ? b : "div",
|
|
191
191
|
{
|
|
192
|
-
className:
|
|
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",
|
|
194
194
|
e
|
|
195
195
|
),
|
|
@@ -197,17 +197,17 @@ function M({
|
|
|
197
197
|
}
|
|
198
198
|
);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function F({
|
|
201
201
|
className: e,
|
|
202
202
|
orientation: a = "vertical",
|
|
203
203
|
...t
|
|
204
204
|
}) {
|
|
205
|
-
return /* @__PURE__ */
|
|
205
|
+
return /* @__PURE__ */ s(
|
|
206
206
|
g,
|
|
207
207
|
{
|
|
208
208
|
"data-slot": "button-group-separator",
|
|
209
209
|
orientation: a,
|
|
210
|
-
className:
|
|
210
|
+
className: o(
|
|
211
211
|
"bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto",
|
|
212
212
|
e
|
|
213
213
|
),
|
|
@@ -215,17 +215,19 @@ function z({
|
|
|
215
215
|
}
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
|
-
const
|
|
219
|
-
"inline-flex items-center rounded-
|
|
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
220
|
{
|
|
221
221
|
variants: {
|
|
222
222
|
variant: {
|
|
223
|
-
default: "
|
|
224
|
-
secondary: "
|
|
225
|
-
destructive: "
|
|
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
226
|
success: "border-transparent bg-green-500 text-destructive-foreground shadow hover:bg-green-500/80",
|
|
227
227
|
warning: "border-transparent bg-orange-500 text-destructive-foreground shadow hover:bg-orange-500/80",
|
|
228
|
-
outline: "text-foreground"
|
|
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"
|
|
229
231
|
}
|
|
230
232
|
},
|
|
231
233
|
defaultVariants: {
|
|
@@ -233,36 +235,49 @@ const v = i(
|
|
|
233
235
|
}
|
|
234
236
|
}
|
|
235
237
|
);
|
|
236
|
-
function
|
|
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
|
+
);
|
|
238
253
|
}
|
|
239
254
|
export {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
255
|
+
N as Accordion,
|
|
256
|
+
V as AccordionContent,
|
|
257
|
+
A as AccordionItem,
|
|
258
|
+
P as AccordionTrigger,
|
|
259
|
+
B as Badge,
|
|
245
260
|
u as Button,
|
|
246
261
|
I as ButtonGroup,
|
|
247
|
-
|
|
262
|
+
F as ButtonGroupSeparator,
|
|
248
263
|
M as ButtonGroupText,
|
|
249
|
-
|
|
264
|
+
$e as Calendar,
|
|
250
265
|
qe as CalendarDayButton,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
266
|
+
Ae as Card,
|
|
267
|
+
Pe as CardAction,
|
|
268
|
+
je as CardContent,
|
|
254
269
|
Ee as CardDescription,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
270
|
+
Re as CardFooter,
|
|
271
|
+
_e as CardHeader,
|
|
272
|
+
Oe as CardTitle,
|
|
273
|
+
j as ChartContainer,
|
|
259
274
|
E as ChartLegend,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
275
|
+
R as ChartLegendContent,
|
|
276
|
+
_ as ChartStyle,
|
|
277
|
+
O as ChartTooltip,
|
|
278
|
+
Q as ChartTooltipContent,
|
|
279
|
+
U as Checkbox,
|
|
280
|
+
$ as Command,
|
|
266
281
|
q as CommandDialog,
|
|
267
282
|
J as CommandEmpty,
|
|
268
283
|
K as CommandGroup,
|
|
@@ -270,70 +285,70 @@ export {
|
|
|
270
285
|
X as CommandItem,
|
|
271
286
|
Y as CommandList,
|
|
272
287
|
Z as CommandSeparator,
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
+
aa as CommandShortcut,
|
|
289
|
+
ea as Dialog,
|
|
290
|
+
ta as DialogClose,
|
|
291
|
+
ra as DialogContent,
|
|
292
|
+
oa as DialogDescription,
|
|
293
|
+
sa as DialogFooter,
|
|
294
|
+
na as DialogHeader,
|
|
295
|
+
ia as DialogOverlay,
|
|
296
|
+
da as DialogPortal,
|
|
297
|
+
la as DialogTitle,
|
|
298
|
+
ua as DialogTrigger,
|
|
299
|
+
pa as Drawer,
|
|
300
|
+
ca as DrawerClose,
|
|
301
|
+
ga as DrawerContent,
|
|
302
|
+
ba as DrawerDescription,
|
|
288
303
|
ma as DrawerFooter,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
304
|
+
ha as DrawerHeader,
|
|
305
|
+
fa as DrawerOverlay,
|
|
306
|
+
va as DrawerPortal,
|
|
307
|
+
xa as DrawerTitle,
|
|
308
|
+
Ca as DrawerTrigger,
|
|
309
|
+
wa as DropdownMenu,
|
|
295
310
|
Ta as DropdownMenuCheckboxItem,
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
311
|
+
Da as DropdownMenuContent,
|
|
312
|
+
Sa as DropdownMenuGroup,
|
|
313
|
+
ka as DropdownMenuItem,
|
|
299
314
|
ya as DropdownMenuLabel,
|
|
300
|
-
|
|
315
|
+
za as DropdownMenuPortal,
|
|
301
316
|
Ga as DropdownMenuRadioGroup,
|
|
302
317
|
Ia as DropdownMenuRadioItem,
|
|
303
318
|
Ma as DropdownMenuSeparator,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
319
|
+
Fa as DropdownMenuShortcut,
|
|
320
|
+
Ba as DropdownMenuSub,
|
|
321
|
+
La as DropdownMenuSubContent,
|
|
322
|
+
Ha as DropdownMenuSubTrigger,
|
|
323
|
+
Na as DropdownMenuTrigger,
|
|
309
324
|
Je as Field,
|
|
310
325
|
Ke as FieldContent,
|
|
311
326
|
We as FieldDescription,
|
|
312
327
|
Xe as FieldError,
|
|
313
328
|
Ye as FieldGroup,
|
|
314
329
|
Ze as FieldLabel,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
330
|
+
at as FieldLegend,
|
|
331
|
+
et as FieldSeparator,
|
|
332
|
+
tt as FieldSet,
|
|
333
|
+
rt as FieldTitle,
|
|
334
|
+
Va as HoverCard,
|
|
335
|
+
Aa as HoverCardContent,
|
|
336
|
+
Pa as HoverCardTrigger,
|
|
322
337
|
p as Input,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
338
|
+
D as InputGroup,
|
|
339
|
+
S as InputGroupAddon,
|
|
340
|
+
k as InputGroupButton,
|
|
341
|
+
z as InputGroupInput,
|
|
327
342
|
y as InputGroupText,
|
|
328
343
|
G as InputGroupTextarea,
|
|
329
|
-
|
|
344
|
+
ja as Label,
|
|
330
345
|
Ea as Popover,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
346
|
+
Ra as PopoverAnchor,
|
|
347
|
+
_a as PopoverContent,
|
|
348
|
+
Oa as PopoverTrigger,
|
|
349
|
+
Qa as Progress,
|
|
350
|
+
Ua as ScrollArea,
|
|
351
|
+
$a as ScrollBar,
|
|
337
352
|
qa as Select,
|
|
338
353
|
Ja as SelectContent,
|
|
339
354
|
Ka as SelectGroup,
|
|
@@ -341,47 +356,47 @@ export {
|
|
|
341
356
|
Xa as SelectLabel,
|
|
342
357
|
Ya as SelectScrollDownButton,
|
|
343
358
|
Za as SelectScrollUpButton,
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
359
|
+
ae as SelectSeparator,
|
|
360
|
+
ee as SelectTrigger,
|
|
361
|
+
te as SelectValue,
|
|
347
362
|
g as Separator,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
363
|
+
re as Sheet,
|
|
364
|
+
oe as SheetClose,
|
|
365
|
+
se as SheetContent,
|
|
366
|
+
ne as SheetDescription,
|
|
367
|
+
ie as SheetFooter,
|
|
368
|
+
de as SheetHeader,
|
|
369
|
+
le as SheetTitle,
|
|
370
|
+
ue as SheetTrigger,
|
|
371
|
+
Qe as Skeleton,
|
|
372
|
+
pe as Switch,
|
|
373
|
+
ce as Table,
|
|
374
|
+
ge as TableBody,
|
|
375
|
+
be as TableCaption,
|
|
361
376
|
me as TableCell,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
377
|
+
he as TableFooter,
|
|
378
|
+
fe as TableHead,
|
|
379
|
+
ve as TableHeader,
|
|
380
|
+
xe as TableRow,
|
|
381
|
+
Ce as Tabs,
|
|
382
|
+
we as TabsContent,
|
|
368
383
|
Te as TabsList,
|
|
369
|
-
|
|
384
|
+
De as TabsTrigger,
|
|
370
385
|
c as Textarea,
|
|
371
|
-
|
|
372
|
-
|
|
386
|
+
Se as Timeline,
|
|
387
|
+
ke as TimelineContent,
|
|
373
388
|
ye as TimelineDate,
|
|
374
|
-
|
|
389
|
+
ze as TimelineHeader,
|
|
375
390
|
Ge as TimelineIndicator,
|
|
376
391
|
Ie as TimelineItem,
|
|
377
392
|
Me as TimelineSeparator,
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
393
|
+
Fe as TimelineTitle,
|
|
394
|
+
Be as Tooltip,
|
|
395
|
+
Le as TooltipContent,
|
|
396
|
+
He as TooltipProvider,
|
|
397
|
+
Ne as TooltipTrigger,
|
|
398
|
+
x as badgeVariants,
|
|
399
|
+
v as buttonGroupVariants,
|
|
400
|
+
o as cn,
|
|
386
401
|
T as useMediaQuery
|
|
387
402
|
};
|
package/dist/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.
|
|
2
|
-
import { i as k, a as P, b, c as N } from "./chuncks/field-textarea.component.
|
|
1
|
+
import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.B1t3mSA1.js";
|
|
2
|
+
import { i as k, a as P, b, c as N } from "./chuncks/field-textarea.component.BkCzBuKr.js";
|
|
3
3
|
export {
|
|
4
4
|
e as formatCompactNumber,
|
|
5
5
|
r as formatCompactPercent,
|