@grapadigital/shared-app-modules 0.0.131 → 0.0.133
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/chuncks/{format.util.DeUIL00r.js → format.util.CJbm73IW.js} +1 -1
- package/dist/chuncks/{popover.B3Gr9au_.js → popover.B2pQNQDl.js} +1 -1
- package/dist/chuncks/skeleton.BjmmpFAG.js +17 -0
- package/dist/chuncks/{switch.BgkPsd63.js → switch.q7qsNhmq.js} +1155 -1067
- package/dist/chuncks/{youtube-icon.component.CKDqR6FG.js → youtube-icon.component.Bv5w0q6e.js} +139 -143
- package/dist/components.d.ts +1 -1
- package/dist/components.js +29 -29
- package/dist/constants.js +1 -1
- package/dist/events.js +1 -1
- package/dist/pages.js +1 -1
- package/dist/shadcn.d.ts +2 -2
- package/dist/shadcn.js +118 -118
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/chuncks/card.C4GIVN6P.js +0 -104
package/dist/components.d.ts
CHANGED
|
@@ -107,7 +107,7 @@ declare interface Canceled_2 {
|
|
|
107
107
|
notes: string;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
declare
|
|
110
|
+
declare const Card: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
111
111
|
|
|
112
112
|
declare interface CardIconProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
113
113
|
size?: keyof typeof sizeMap;
|
package/dist/components.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as b, c, B as F,
|
|
2
|
-
import { k as ge, l as xe, p as be, q as me, r as he, F as fe, s as
|
|
1
|
+
import { a as b, y as N, c, H as v, B as F, aw as C, ax as I, ay as z, Y as T, Z as H, a1 as y, a0 as _, _ as j, a2 as A } from "./chuncks/switch.q7qsNhmq.js";
|
|
2
|
+
import { k as ge, l as xe, p as be, q as me, r as he, F as fe, s as ue, t as pe, u as ye, v as we, w as ke, I as Ne, m as ve, x as Ce, L as Ie, P as ze, f as Me, g as Se, h as Fe, j as Te, y as He, n as _e, o as je, T as Ae, X as Le, Y as Pe } from "./chuncks/youtube-icon.component.Bv5w0q6e.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.C4GIVN6P.js";
|
|
6
5
|
import { parseISO as w, differenceInCalendarDays as P, format as $ } from "date-fns";
|
|
6
|
+
import { S as f } from "./chuncks/skeleton.BjmmpFAG.js";
|
|
7
7
|
const B = [
|
|
8
8
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
9
9
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
@@ -13,7 +13,7 @@ const q = [
|
|
|
13
13
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
14
14
|
["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" }]
|
|
15
15
|
], R = b("copy", q);
|
|
16
|
-
const
|
|
16
|
+
const Y = [
|
|
17
17
|
[
|
|
18
18
|
"path",
|
|
19
19
|
{
|
|
@@ -25,14 +25,14 @@ const V = [
|
|
|
25
25
|
["path", { d: "M10 9H8", key: "b1mrlr" }],
|
|
26
26
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
27
27
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
28
|
-
],
|
|
29
|
-
const
|
|
28
|
+
], V = b("file-text", Y);
|
|
29
|
+
const X = [
|
|
30
30
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
31
31
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
32
32
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
33
33
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
34
|
-
],
|
|
35
|
-
const
|
|
34
|
+
], E = b("refresh-cw", X);
|
|
35
|
+
const O = [
|
|
36
36
|
[
|
|
37
37
|
"path",
|
|
38
38
|
{
|
|
@@ -42,9 +42,9 @@ const E = [
|
|
|
42
42
|
],
|
|
43
43
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
44
44
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
45
|
-
],
|
|
45
|
+
], W = b("triangle-alert", O);
|
|
46
46
|
function te({
|
|
47
|
-
icon: a =
|
|
47
|
+
icon: a = W,
|
|
48
48
|
title: t,
|
|
49
49
|
description: l,
|
|
50
50
|
onRetry: n,
|
|
@@ -52,12 +52,12 @@ function te({
|
|
|
52
52
|
className: r,
|
|
53
53
|
...s
|
|
54
54
|
}) {
|
|
55
|
-
return /* @__PURE__ */ e(
|
|
55
|
+
return /* @__PURE__ */ e(N, { className: c(r), ...s, children: /* @__PURE__ */ o(v, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
|
|
56
56
|
/* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(a, { "aria-hidden": "true", className: "text-destructive/60 size-16" }) }),
|
|
57
57
|
/* @__PURE__ */ e("h3", { className: "text-foreground mb-2 text-lg font-semibold", children: t }),
|
|
58
58
|
/* @__PURE__ */ e("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: l }),
|
|
59
59
|
n && /* @__PURE__ */ o(F, { onClick: n, variant: "outline", className: "mt-6", children: [
|
|
60
|
-
/* @__PURE__ */ e(
|
|
60
|
+
/* @__PURE__ */ e(E, {}),
|
|
61
61
|
"Tentar novamente"
|
|
62
62
|
] }),
|
|
63
63
|
i && /* @__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: i }) })
|
|
@@ -74,12 +74,12 @@ function ae({
|
|
|
74
74
|
disabled: d = !1,
|
|
75
75
|
...x
|
|
76
76
|
}) {
|
|
77
|
-
return /* @__PURE__ */ e(L, { children: d === !0 ? s : /* @__PURE__ */ o(
|
|
78
|
-
/* @__PURE__ */ e(
|
|
79
|
-
/* @__PURE__ */ e(
|
|
77
|
+
return /* @__PURE__ */ e(L, { children: d === !0 ? s : /* @__PURE__ */ o(C, { openDelay: i, closeDelay: r, ...x, children: [
|
|
78
|
+
/* @__PURE__ */ e(I, { asChild: l, children: s }),
|
|
79
|
+
/* @__PURE__ */ e(z, { align: t, className: n, children: a })
|
|
80
80
|
] }) });
|
|
81
81
|
}
|
|
82
|
-
const
|
|
82
|
+
const Z = {
|
|
83
83
|
red: { bg: "bg-red-50", text: "text-red-600" },
|
|
84
84
|
orange: { bg: "bg-orange-50", text: "text-orange-600" },
|
|
85
85
|
amber: { bg: "bg-amber-50", text: "text-amber-600" },
|
|
@@ -140,7 +140,7 @@ function re({
|
|
|
140
140
|
icon: n,
|
|
141
141
|
filled: i
|
|
142
142
|
}) {
|
|
143
|
-
const r = i ? G[t] :
|
|
143
|
+
const r = i ? G[t] : Z[t], s = a ? k[a] : k.md;
|
|
144
144
|
return /* @__PURE__ */ e("div", { className: c("w-fit p-2 rounded-lg", r?.bg, l), children: /* @__PURE__ */ e(n, { className: c(s, r?.text) }) });
|
|
145
145
|
}
|
|
146
146
|
function le({ className: a, ...t }) {
|
|
@@ -156,18 +156,18 @@ function ne({
|
|
|
156
156
|
isPercentage: s = !1,
|
|
157
157
|
isDate: d = !1,
|
|
158
158
|
isText: x = !1,
|
|
159
|
-
isInvoiced:
|
|
159
|
+
isInvoiced: u = !1,
|
|
160
160
|
hasCopyButton: m = !1,
|
|
161
161
|
enableHoverableContent: M = !1,
|
|
162
|
-
handleCopy:
|
|
162
|
+
handleCopy: p
|
|
163
163
|
}) {
|
|
164
164
|
let g = "";
|
|
165
|
-
if (d && typeof t == "string" && !
|
|
165
|
+
if (d && typeof t == "string" && !u && n) {
|
|
166
166
|
const S = w(t), h = P(S, /* @__PURE__ */ new Date());
|
|
167
167
|
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";
|
|
168
168
|
} else n && (g = "bg-[#ffe0b2] font-bold");
|
|
169
|
-
return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(
|
|
170
|
-
/* @__PURE__ */ e(
|
|
169
|
+
return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(C, { openDelay: 0, closeDelay: 0, children: [
|
|
170
|
+
/* @__PURE__ */ e(I, { children: /* @__PURE__ */ o("div", { className: "flex justify-between", children: [
|
|
171
171
|
/* @__PURE__ */ o(
|
|
172
172
|
"span",
|
|
173
173
|
{
|
|
@@ -191,13 +191,13 @@ function ne({
|
|
|
191
191
|
),
|
|
192
192
|
children: [
|
|
193
193
|
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 })}`,
|
|
194
|
-
m &&
|
|
194
|
+
m && p && /* @__PURE__ */ e(R, { size: 15, onClick: () => p(t) })
|
|
195
195
|
]
|
|
196
196
|
}
|
|
197
197
|
)
|
|
198
198
|
] }) }),
|
|
199
199
|
/* @__PURE__ */ e(
|
|
200
|
-
|
|
200
|
+
z,
|
|
201
201
|
{
|
|
202
202
|
align: "start",
|
|
203
203
|
className: c(!M && "pointer-events-none"),
|
|
@@ -210,14 +210,14 @@ function ne({
|
|
|
210
210
|
] }) });
|
|
211
211
|
}
|
|
212
212
|
function ie({
|
|
213
|
-
icon: a =
|
|
213
|
+
icon: a = V,
|
|
214
214
|
title: t,
|
|
215
215
|
description: l,
|
|
216
216
|
tip: n,
|
|
217
217
|
className: i,
|
|
218
218
|
...r
|
|
219
219
|
}) {
|
|
220
|
-
return /* @__PURE__ */ e(
|
|
220
|
+
return /* @__PURE__ */ e(N, { className: c(i), ...r, children: /* @__PURE__ */ o(v, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
|
|
221
221
|
/* @__PURE__ */ e("div", { className: "relative mb-4", children: /* @__PURE__ */ e(
|
|
222
222
|
a,
|
|
223
223
|
{
|
|
@@ -255,7 +255,7 @@ function se({
|
|
|
255
255
|
}) }) }),
|
|
256
256
|
/* @__PURE__ */ e(j, { children: Array.from({ length: t }).map((i, r) => /* @__PURE__ */ e(y, { className: "h-[3.05rem]", children: Array.from({ length: a }).map((s, d) => {
|
|
257
257
|
const x = l && d === a - 1;
|
|
258
|
-
return /* @__PURE__ */ e(A, { children: x ? /* @__PURE__ */ e("div", { className: "flex gap-2", children: Array.from({ length: n }).map((
|
|
258
|
+
return /* @__PURE__ */ e(A, { children: x ? /* @__PURE__ */ e("div", { className: "flex gap-2", children: Array.from({ length: n }).map((u, m) => /* @__PURE__ */ e(f, { className: "ml-auto size-8" }, m)) }) : /* @__PURE__ */ e(f, { className: "h-4 w-full" }) }, d);
|
|
259
259
|
}) }, r)) })
|
|
260
260
|
] });
|
|
261
261
|
}
|
|
@@ -290,8 +290,8 @@ export {
|
|
|
290
290
|
me as FieldClientSelectInput,
|
|
291
291
|
he as FieldInput,
|
|
292
292
|
fe as FieldLabelWithAsterisk,
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
ue as FieldProfileSelectInput,
|
|
294
|
+
pe as FieldSaleSelectInput,
|
|
295
295
|
ye as FieldSelect,
|
|
296
296
|
we as FieldSwitch,
|
|
297
297
|
ke as FieldTextarea,
|
package/dist/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as r, B as n, C as s, S as A, e as S, d as O } from "./chuncks/youtube-icon.component.
|
|
1
|
+
import { A as r, B as n, C as s, S as A, e as S, d as O } from "./chuncks/youtube-icon.component.Bv5w0q6e.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.", t = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.";
|
|
3
3
|
export {
|
|
4
4
|
r as ACTION_TYPE_VALUES,
|
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.q7qsNhmq.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
|
@@ -86,11 +86,11 @@ export declare function Calendar({ className, classNames, showOutsideDays, capti
|
|
|
86
86
|
|
|
87
87
|
export declare function CalendarDayButton({ className, day, modifiers, ...props }: React_2.ComponentProps<typeof DayButton>): JSX.Element;
|
|
88
88
|
|
|
89
|
-
export declare
|
|
89
|
+
export declare const Card: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
90
90
|
|
|
91
91
|
export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
92
92
|
|
|
93
|
-
export declare
|
|
93
|
+
export declare const CardContent: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
94
94
|
|
|
95
95
|
export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
96
96
|
|
package/dist/shadcn.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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.
|
|
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.q7qsNhmq.js";
|
|
2
|
+
import { ar as L, au as N, as as V, at as A, y as j, F as E, H as R, G as _, A as O, z as Q, E as U, az as $, aC as q, aD as J, aE as K, aA as W, aB as X, C as Y, ai as Z, aj as aa, am as ea, an as ta, ak as ra, ao as oa, al as sa, aq as na, ap as ia, D as da, p as la, q as ua, r as pa, s as ca, t as ga, u as ba, v as ma, w as ha, x as va, a8 as fa, ac as xa, ad as Ca, ah as wa, af as Ta, ae as Da, aa as Sa, a9 as ka, ag as ya, ab as za, aN as Ga, aR as Ia, aP as Ma, aW as Fa, aQ as Pa, aT as Ba, aX as Ha, a$ as La, aS as Na, aU as Va, aV as Aa, aY as ja, aZ as Ea, a_ as Ra, aO as _a, aw as Oa, ay as Qa, ax as Ua, L as $a, av as qa, b0 as Ja, b1 as Ka, f as Wa, j as Xa, g as Ya, l as Za, k as ae, o as ee, n as te, m as re, i as oe, h as se, J as ne, M as ie, N as de, R as le, P as ue, O as pe, Q as ce, K as ge, b2 as be, Y as me, _ as he, a3 as ve, a2 as fe, $ as xe, a0 as Ce, Z as we, a1 as Te, U as De, X as Se, V as ke, W as ye, aF as ze, aG as Ge, aH as Ie, aI as Me, aJ as Fe, aK as Pe, aL as Be, aM as He, a4 as Le, a6 as Ne, a7 as Ve, a5 as Ae } from "./chuncks/switch.q7qsNhmq.js";
|
|
3
3
|
import * as d from "react";
|
|
4
|
-
import {
|
|
5
|
-
import { C as _e, j as Oe, F as Qe, h as Ue, b as
|
|
4
|
+
import { S as Ee } from "./chuncks/skeleton.BjmmpFAG.js";
|
|
5
|
+
import { C as _e, j as Oe, F as Qe, h as Ue, b as $e, c as qe, d as Je, a as Ke, e as We, f as Xe, g as Ye, i as Ze, P as at, m as et, l as tt, p as rt, n as ot, o as st, k as nt } from "./chuncks/popover.B2pQNQDl.js";
|
|
6
6
|
import { jsx as s } from "react/jsx-runtime";
|
|
7
7
|
function T(e) {
|
|
8
8
|
const [a, t] = d.useState(!1);
|
|
@@ -263,77 +263,77 @@ export {
|
|
|
263
263
|
M as ButtonGroupText,
|
|
264
264
|
_e as Calendar,
|
|
265
265
|
Oe as CalendarDayButton,
|
|
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
|
-
|
|
266
|
+
j as Card,
|
|
267
|
+
E as CardAction,
|
|
268
|
+
R as CardContent,
|
|
269
|
+
_ as CardDescription,
|
|
270
|
+
O as CardFooter,
|
|
271
|
+
Q as CardHeader,
|
|
272
|
+
U as CardTitle,
|
|
273
|
+
$ as ChartContainer,
|
|
274
|
+
q as ChartLegend,
|
|
275
|
+
J as ChartLegendContent,
|
|
276
|
+
K as ChartStyle,
|
|
277
|
+
W as ChartTooltip,
|
|
278
|
+
X as ChartTooltipContent,
|
|
279
|
+
Y as Checkbox,
|
|
280
|
+
Z as Command,
|
|
281
|
+
aa as CommandDialog,
|
|
282
|
+
ea as CommandEmpty,
|
|
283
|
+
ta as CommandGroup,
|
|
284
|
+
ra as CommandInput,
|
|
285
|
+
oa as CommandItem,
|
|
286
|
+
sa as CommandList,
|
|
287
|
+
na as CommandSeparator,
|
|
288
|
+
ia as CommandShortcut,
|
|
289
|
+
da as Dialog,
|
|
290
|
+
la as DialogClose,
|
|
291
|
+
ua as DialogContent,
|
|
292
|
+
pa as DialogDescription,
|
|
293
|
+
ca as DialogFooter,
|
|
294
|
+
ga as DialogHeader,
|
|
295
|
+
ba as DialogOverlay,
|
|
296
|
+
ma as DialogPortal,
|
|
297
|
+
ha as DialogTitle,
|
|
298
|
+
va as DialogTrigger,
|
|
299
|
+
fa as Drawer,
|
|
300
|
+
xa as DrawerClose,
|
|
301
|
+
Ca as DrawerContent,
|
|
302
|
+
wa as DrawerDescription,
|
|
303
|
+
Ta as DrawerFooter,
|
|
304
|
+
Da as DrawerHeader,
|
|
305
|
+
Sa as DrawerOverlay,
|
|
306
|
+
ka as DrawerPortal,
|
|
307
|
+
ya as DrawerTitle,
|
|
308
|
+
za as DrawerTrigger,
|
|
309
|
+
Ga as DropdownMenu,
|
|
310
|
+
Ia as DropdownMenuCheckboxItem,
|
|
311
|
+
Ma as DropdownMenuContent,
|
|
312
|
+
Fa as DropdownMenuGroup,
|
|
313
|
+
Pa as DropdownMenuItem,
|
|
314
|
+
Ba as DropdownMenuLabel,
|
|
315
|
+
Ha as DropdownMenuPortal,
|
|
316
|
+
La as DropdownMenuRadioGroup,
|
|
317
|
+
Na as DropdownMenuRadioItem,
|
|
318
|
+
Va as DropdownMenuSeparator,
|
|
319
|
+
Aa as DropdownMenuShortcut,
|
|
320
|
+
ja as DropdownMenuSub,
|
|
321
|
+
Ea as DropdownMenuSubContent,
|
|
322
|
+
Ra as DropdownMenuSubTrigger,
|
|
323
|
+
_a as DropdownMenuTrigger,
|
|
324
324
|
Qe as Field,
|
|
325
325
|
Ue as FieldContent,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
326
|
+
$e as FieldDescription,
|
|
327
|
+
qe as FieldError,
|
|
328
|
+
Je as FieldGroup,
|
|
329
|
+
Ke as FieldLabel,
|
|
330
|
+
We as FieldLegend,
|
|
331
|
+
Xe as FieldSeparator,
|
|
332
332
|
Ye as FieldSet,
|
|
333
333
|
Ze as FieldTitle,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
334
|
+
Oa as HoverCard,
|
|
335
|
+
Qa as HoverCardContent,
|
|
336
|
+
Ua as HoverCardTrigger,
|
|
337
337
|
p as Input,
|
|
338
338
|
D as InputGroup,
|
|
339
339
|
S as InputGroupAddon,
|
|
@@ -341,7 +341,7 @@ export {
|
|
|
341
341
|
z as InputGroupInput,
|
|
342
342
|
y as InputGroupText,
|
|
343
343
|
G as InputGroupTextarea,
|
|
344
|
-
|
|
344
|
+
$a as Label,
|
|
345
345
|
at as Popover,
|
|
346
346
|
et as PopoverAnchor,
|
|
347
347
|
tt as PopoverContent,
|
|
@@ -349,55 +349,55 @@ export {
|
|
|
349
349
|
ot as PopoverHeader,
|
|
350
350
|
st as PopoverTitle,
|
|
351
351
|
nt as PopoverTrigger,
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
352
|
+
qa as Progress,
|
|
353
|
+
Ja as ScrollArea,
|
|
354
|
+
Ka as ScrollBar,
|
|
355
|
+
Wa as Select,
|
|
356
|
+
Xa as SelectContent,
|
|
357
|
+
Ya as SelectGroup,
|
|
358
|
+
Za as SelectItem,
|
|
359
|
+
ae as SelectLabel,
|
|
360
|
+
ee as SelectScrollDownButton,
|
|
361
|
+
te as SelectScrollUpButton,
|
|
362
|
+
re as SelectSeparator,
|
|
363
|
+
oe as SelectTrigger,
|
|
364
|
+
se as SelectValue,
|
|
365
365
|
g as Separator,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
366
|
+
ne as Sheet,
|
|
367
|
+
ie as SheetClose,
|
|
368
|
+
de as SheetContent,
|
|
369
|
+
le as SheetDescription,
|
|
370
|
+
ue as SheetFooter,
|
|
371
|
+
pe as SheetHeader,
|
|
372
|
+
ce as SheetTitle,
|
|
373
|
+
ge as SheetTrigger,
|
|
374
374
|
Ee as Skeleton,
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
375
|
+
be as Switch,
|
|
376
|
+
me as Table,
|
|
377
|
+
he as TableBody,
|
|
378
|
+
ve as TableCaption,
|
|
379
|
+
fe as TableCell,
|
|
380
|
+
xe as TableFooter,
|
|
381
|
+
Ce as TableHead,
|
|
382
|
+
we as TableHeader,
|
|
383
|
+
Te as TableRow,
|
|
384
|
+
De as Tabs,
|
|
385
|
+
Se as TabsContent,
|
|
386
|
+
ke as TabsList,
|
|
387
|
+
ye as TabsTrigger,
|
|
388
388
|
c as Textarea,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
389
|
+
ze as Timeline,
|
|
390
|
+
Ge as TimelineContent,
|
|
391
|
+
Ie as TimelineDate,
|
|
392
|
+
Me as TimelineHeader,
|
|
393
|
+
Fe as TimelineIndicator,
|
|
394
|
+
Pe as TimelineItem,
|
|
395
|
+
Be as TimelineSeparator,
|
|
396
|
+
He as TimelineTitle,
|
|
397
|
+
Le as Tooltip,
|
|
398
|
+
Ne as TooltipContent,
|
|
399
|
+
Ve as TooltipProvider,
|
|
400
|
+
Ae as TooltipTrigger,
|
|
401
401
|
x as badgeVariants,
|
|
402
402
|
f as buttonGroupVariants,
|
|
403
403
|
o as cn,
|
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/youtube-icon.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.CJbm73IW.js";
|
|
2
|
+
import { i as k, a as P, b, c as N } from "./chuncks/youtube-icon.component.Bv5w0q6e.js";
|
|
3
3
|
export {
|
|
4
4
|
e as formatCompactNumber,
|
|
5
5
|
r as formatCompactPercent,
|
package/package.json
CHANGED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "./switch.BgkPsd63.js";
|
|
3
|
-
import "react";
|
|
4
|
-
function n({
|
|
5
|
-
className: a,
|
|
6
|
-
...t
|
|
7
|
-
}) {
|
|
8
|
-
return /* @__PURE__ */ r(
|
|
9
|
-
"div",
|
|
10
|
-
{
|
|
11
|
-
className: e("animate-pulse rounded-md bg-primary/10", a),
|
|
12
|
-
...t
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
function c({ className: a, ...t }) {
|
|
17
|
-
return /* @__PURE__ */ r(
|
|
18
|
-
"div",
|
|
19
|
-
{
|
|
20
|
-
"data-slot": "card",
|
|
21
|
-
className: e(
|
|
22
|
-
"bg-card text-card-foreground flex flex-col gap-3 rounded-xl border py-6 shadow-sm",
|
|
23
|
-
a
|
|
24
|
-
),
|
|
25
|
-
...t
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
function i({ className: a, ...t }) {
|
|
30
|
-
return /* @__PURE__ */ r(
|
|
31
|
-
"div",
|
|
32
|
-
{
|
|
33
|
-
"data-slot": "card-header",
|
|
34
|
-
className: e(
|
|
35
|
-
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
36
|
-
a
|
|
37
|
-
),
|
|
38
|
-
...t
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
function l({ className: a, ...t }) {
|
|
43
|
-
return /* @__PURE__ */ r(
|
|
44
|
-
"div",
|
|
45
|
-
{
|
|
46
|
-
"data-slot": "card-title",
|
|
47
|
-
className: e("leading-none font-semibold", a),
|
|
48
|
-
...t
|
|
49
|
-
}
|
|
50
|
-
);
|
|
51
|
-
}
|
|
52
|
-
function u({ className: a, ...t }) {
|
|
53
|
-
return /* @__PURE__ */ r(
|
|
54
|
-
"div",
|
|
55
|
-
{
|
|
56
|
-
"data-slot": "card-description",
|
|
57
|
-
className: e("text-muted-foreground text-sm", a),
|
|
58
|
-
...t
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
function m({ className: a, ...t }) {
|
|
63
|
-
return /* @__PURE__ */ r(
|
|
64
|
-
"div",
|
|
65
|
-
{
|
|
66
|
-
"data-slot": "card-action",
|
|
67
|
-
className: e(
|
|
68
|
-
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
69
|
-
a
|
|
70
|
-
),
|
|
71
|
-
...t
|
|
72
|
-
}
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
function f({ className: a, ...t }) {
|
|
76
|
-
return /* @__PURE__ */ r(
|
|
77
|
-
"div",
|
|
78
|
-
{
|
|
79
|
-
"data-slot": "card-content",
|
|
80
|
-
className: e("px-6", a),
|
|
81
|
-
...t
|
|
82
|
-
}
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
function p({ className: a, ...t }) {
|
|
86
|
-
return /* @__PURE__ */ r(
|
|
87
|
-
"div",
|
|
88
|
-
{
|
|
89
|
-
"data-slot": "card-footer",
|
|
90
|
-
className: e("flex items-center px-6 [.border-t]:pt-6", a),
|
|
91
|
-
...t
|
|
92
|
-
}
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
export {
|
|
96
|
-
c as C,
|
|
97
|
-
n as S,
|
|
98
|
-
i as a,
|
|
99
|
-
p as b,
|
|
100
|
-
l as c,
|
|
101
|
-
m as d,
|
|
102
|
-
u as e,
|
|
103
|
-
f
|
|
104
|
-
};
|