@grapadigital/shared-app-modules 0.0.197 → 0.0.198
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.tZcF7uIJ.js +2834 -0
- package/dist/chuncks/{format.util.Pd1CbTqQ.js → format.util.Frd0spI4.js} +1 -1
- package/dist/chuncks/index.CQj95ye6.js +7 -0
- package/dist/chuncks/{organization-users.service.I1WrInGh.js → organization-users.service.B8hU1HtK.js} +1 -1
- package/dist/chuncks/{switch.D4GUsewk.js → switch.D_38xWg-.js} +1714 -1710
- package/dist/chuncks/use-shared-app-modules.hook.DKoXZuvy.js +54 -0
- package/dist/chuncks/youtube-icon.component.BFVooMDQ.js +5686 -0
- package/dist/components.d.ts +34 -0
- package/dist/components.js +176 -229
- package/dist/configs.d.ts +22 -0
- package/dist/configs.js +4 -0
- package/dist/constants.js +20 -20
- package/dist/dictionaries.d.ts +15 -15
- package/dist/dictionaries.js +12 -105
- package/dist/events.js +1 -1
- package/dist/hooks.js +3 -3
- package/dist/pages.js +1 -1
- package/dist/shadcn.js +196 -207
- package/dist/utils.js +28 -29
- package/package.json +11 -3
- package/dist/chuncks/axios.lib.DebbmKD8.js +0 -38
- package/dist/chuncks/badge.Cur4Mrd7.js +0 -416
- package/dist/chuncks/directory.util.EdDxCF_I.js +0 -33
- package/dist/chuncks/popover.C3VFqVxV.js +0 -2413
- package/dist/chuncks/youtube-icon.component.DQAFOsU7.js +0 -4503
package/dist/shadcn.js
CHANGED
|
@@ -1,26 +1,15 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { al as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const [a, t] = l.useState(!1);
|
|
9
|
-
return l.useEffect(() => {
|
|
10
|
-
function r(d) {
|
|
11
|
-
t(d.matches);
|
|
12
|
-
}
|
|
13
|
-
const n = matchMedia(e);
|
|
14
|
-
return n.addEventListener("change", r), t(n.matches), () => n.removeEventListener("change", r);
|
|
15
|
-
}, [e]), a;
|
|
16
|
-
}
|
|
17
|
-
function x({ className: e, ...a }) {
|
|
18
|
-
return /* @__PURE__ */ s(
|
|
1
|
+
import { c as r, a as n, B as l, I as d, T as u, S as p, b as c } from "./chuncks/switch.D_38xWg-.js";
|
|
2
|
+
import { al as M, ao as y, am as B, an as P, w as H, A, F as L, E as N, y as V, x as j, z as E, at as R, aw as _, ax as q, ay as O, au as Q, av as U, C as J, ac as K, ad as W, ag as X, ah as Y, ae as Z, ai as $, af as aa, ak as ea, aj as ta, D as ra, n as oa, o as sa, p as na, q as ia, r as la, s as da, t as ua, u as pa, v as ca, a2 as ga, a6 as ma, a7 as ha, ab as ba, a9 as fa, a8 as Ca, a4 as va, a3 as Ta, aa as xa, a5 as Da, aH as Sa, aL as wa, aJ as ka, aQ as Ga, aK as Ia, aN as za, aR as Fa, aV as Ma, aM as ya, aO as Ba, aP as Pa, aS as Ha, aT as Aa, aU as La, aI as Na, aq as Va, as as ja, ar as Ea, L as Ra, ap as _a, aW as qa, aX as Oa, d as Qa, h as Ua, e as Ja, j as Ka, i as Wa, m as Xa, l as Ya, k as Za, g as $a, f as ae, G as ee, J as te, K as re, P as oe, N as se, M as ne, O as ie, H as le, aY as de, W as ue, Y as pe, a1 as ce, a0 as ge, Z as me, _ as he, X as be, $ as fe, Q as Ce, V as ve, R as Te, U as xe, az as De, aA as Se, aB as we, aC as ke, aD as Ge, aE as Ie, aF as ze, aG as Fe } from "./chuncks/switch.D_38xWg-.js";
|
|
3
|
+
import { B as ye, C as Be, j as Pe, F as He, h as Ae, b as Le, c as Ne, d as Ve, a as je, e as Ee, f as Re, g as _e, i as qe, P as Oe, q as Qe, p as Ue, t as Je, r as Ke, s as We, o as Xe, S as Ye, T as Ze, l as $e, m as at, k as et, n as tt, u as rt } from "./chuncks/badge.tZcF7uIJ.js";
|
|
4
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
5
|
+
import "react";
|
|
6
|
+
function v({ className: e, ...a }) {
|
|
7
|
+
return /* @__PURE__ */ o(
|
|
19
8
|
"div",
|
|
20
9
|
{
|
|
21
10
|
"data-slot": "input-group",
|
|
22
11
|
role: "group",
|
|
23
|
-
className:
|
|
12
|
+
className: r(
|
|
24
13
|
"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
14
|
"h-9 has-[>textarea]:h-auto",
|
|
26
15
|
// Variants based on alignment.
|
|
@@ -38,7 +27,7 @@ function x({ className: e, ...a }) {
|
|
|
38
27
|
}
|
|
39
28
|
);
|
|
40
29
|
}
|
|
41
|
-
const
|
|
30
|
+
const g = n(
|
|
42
31
|
"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
32
|
{
|
|
44
33
|
variants: {
|
|
@@ -54,26 +43,26 @@ const h = i(
|
|
|
54
43
|
}
|
|
55
44
|
}
|
|
56
45
|
);
|
|
57
|
-
function
|
|
46
|
+
function T({
|
|
58
47
|
className: e,
|
|
59
48
|
align: a = "inline-start",
|
|
60
49
|
...t
|
|
61
50
|
}) {
|
|
62
|
-
return /* @__PURE__ */
|
|
51
|
+
return /* @__PURE__ */ o(
|
|
63
52
|
"div",
|
|
64
53
|
{
|
|
65
54
|
role: "group",
|
|
66
55
|
"data-slot": "input-group-addon",
|
|
67
56
|
"data-align": a,
|
|
68
|
-
className:
|
|
69
|
-
onClick: (
|
|
70
|
-
|
|
57
|
+
className: r(g({ align: a }), e),
|
|
58
|
+
onClick: (s) => {
|
|
59
|
+
s.target.closest("button") || s.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
71
60
|
},
|
|
72
61
|
...t
|
|
73
62
|
}
|
|
74
63
|
);
|
|
75
64
|
}
|
|
76
|
-
const
|
|
65
|
+
const m = n(
|
|
77
66
|
"flex items-center gap-2 text-sm shadow-none",
|
|
78
67
|
{
|
|
79
68
|
variants: {
|
|
@@ -89,29 +78,29 @@ const b = i(
|
|
|
89
78
|
}
|
|
90
79
|
}
|
|
91
80
|
);
|
|
92
|
-
function
|
|
81
|
+
function x({
|
|
93
82
|
className: e,
|
|
94
83
|
type: a = "button",
|
|
95
84
|
variant: t = "ghost",
|
|
96
|
-
size:
|
|
97
|
-
...
|
|
85
|
+
size: s = "xs",
|
|
86
|
+
...i
|
|
98
87
|
}) {
|
|
99
|
-
return /* @__PURE__ */
|
|
100
|
-
|
|
88
|
+
return /* @__PURE__ */ o(
|
|
89
|
+
l,
|
|
101
90
|
{
|
|
102
91
|
type: a,
|
|
103
|
-
"data-size":
|
|
92
|
+
"data-size": s,
|
|
104
93
|
variant: t,
|
|
105
|
-
className:
|
|
106
|
-
...
|
|
94
|
+
className: r(m({ size: s }), e),
|
|
95
|
+
...i
|
|
107
96
|
}
|
|
108
97
|
);
|
|
109
98
|
}
|
|
110
|
-
function
|
|
111
|
-
return /* @__PURE__ */
|
|
99
|
+
function D({ className: e, ...a }) {
|
|
100
|
+
return /* @__PURE__ */ o(
|
|
112
101
|
"span",
|
|
113
102
|
{
|
|
114
|
-
className:
|
|
103
|
+
className: r(
|
|
115
104
|
"text-muted-foreground flex items-center gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",
|
|
116
105
|
e
|
|
117
106
|
),
|
|
@@ -119,15 +108,15 @@ function w({ className: e, ...a }) {
|
|
|
119
108
|
}
|
|
120
109
|
);
|
|
121
110
|
}
|
|
122
|
-
function
|
|
111
|
+
function S({
|
|
123
112
|
className: e,
|
|
124
113
|
...a
|
|
125
114
|
}) {
|
|
126
|
-
return /* @__PURE__ */
|
|
127
|
-
|
|
115
|
+
return /* @__PURE__ */ o(
|
|
116
|
+
d,
|
|
128
117
|
{
|
|
129
118
|
"data-slot": "input-group-control",
|
|
130
|
-
className:
|
|
119
|
+
className: r(
|
|
131
120
|
"flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent",
|
|
132
121
|
e
|
|
133
122
|
),
|
|
@@ -135,15 +124,15 @@ function k({
|
|
|
135
124
|
}
|
|
136
125
|
);
|
|
137
126
|
}
|
|
138
|
-
function
|
|
127
|
+
function w({
|
|
139
128
|
className: e,
|
|
140
129
|
...a
|
|
141
130
|
}) {
|
|
142
|
-
return /* @__PURE__ */
|
|
143
|
-
|
|
131
|
+
return /* @__PURE__ */ o(
|
|
132
|
+
u,
|
|
144
133
|
{
|
|
145
134
|
"data-slot": "input-group-control",
|
|
146
|
-
className:
|
|
135
|
+
className: r(
|
|
147
136
|
"flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent",
|
|
148
137
|
e
|
|
149
138
|
),
|
|
@@ -151,7 +140,7 @@ function G({
|
|
|
151
140
|
}
|
|
152
141
|
);
|
|
153
142
|
}
|
|
154
|
-
const
|
|
143
|
+
const h = n(
|
|
155
144
|
"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
145
|
{
|
|
157
146
|
variants: {
|
|
@@ -165,31 +154,31 @@ const f = i(
|
|
|
165
154
|
}
|
|
166
155
|
}
|
|
167
156
|
);
|
|
168
|
-
function
|
|
157
|
+
function k({
|
|
169
158
|
className: e,
|
|
170
159
|
orientation: a,
|
|
171
160
|
...t
|
|
172
161
|
}) {
|
|
173
|
-
return /* @__PURE__ */
|
|
162
|
+
return /* @__PURE__ */ o(
|
|
174
163
|
"div",
|
|
175
164
|
{
|
|
176
165
|
role: "group",
|
|
177
166
|
"data-slot": "button-group",
|
|
178
167
|
"data-orientation": a,
|
|
179
|
-
className:
|
|
168
|
+
className: r(h({ orientation: a }), e),
|
|
180
169
|
...t
|
|
181
170
|
}
|
|
182
171
|
);
|
|
183
172
|
}
|
|
184
|
-
function
|
|
173
|
+
function G({
|
|
185
174
|
className: e,
|
|
186
175
|
asChild: a = !1,
|
|
187
176
|
...t
|
|
188
177
|
}) {
|
|
189
|
-
return /* @__PURE__ */
|
|
190
|
-
a ?
|
|
178
|
+
return /* @__PURE__ */ o(
|
|
179
|
+
a ? c : "div",
|
|
191
180
|
{
|
|
192
|
-
className:
|
|
181
|
+
className: r(
|
|
193
182
|
"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
183
|
e
|
|
195
184
|
),
|
|
@@ -197,17 +186,17 @@ function M({
|
|
|
197
186
|
}
|
|
198
187
|
);
|
|
199
188
|
}
|
|
200
|
-
function
|
|
189
|
+
function I({
|
|
201
190
|
className: e,
|
|
202
191
|
orientation: a = "vertical",
|
|
203
192
|
...t
|
|
204
193
|
}) {
|
|
205
|
-
return /* @__PURE__ */
|
|
206
|
-
|
|
194
|
+
return /* @__PURE__ */ o(
|
|
195
|
+
p,
|
|
207
196
|
{
|
|
208
197
|
"data-slot": "button-group-separator",
|
|
209
198
|
orientation: a,
|
|
210
|
-
className:
|
|
199
|
+
className: r(
|
|
211
200
|
"bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto",
|
|
212
201
|
e
|
|
213
202
|
),
|
|
@@ -216,154 +205,154 @@ function z({
|
|
|
216
205
|
);
|
|
217
206
|
}
|
|
218
207
|
export {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
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
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
208
|
+
M as Accordion,
|
|
209
|
+
y as AccordionContent,
|
|
210
|
+
B as AccordionItem,
|
|
211
|
+
P as AccordionTrigger,
|
|
212
|
+
ye as Badge,
|
|
213
|
+
l as Button,
|
|
214
|
+
k as ButtonGroup,
|
|
215
|
+
I as ButtonGroupSeparator,
|
|
216
|
+
G as ButtonGroupText,
|
|
217
|
+
Be as Calendar,
|
|
218
|
+
Pe as CalendarDayButton,
|
|
219
|
+
H as Card,
|
|
220
|
+
A as CardAction,
|
|
221
|
+
L as CardContent,
|
|
222
|
+
N as CardDescription,
|
|
223
|
+
V as CardFooter,
|
|
224
|
+
j as CardHeader,
|
|
225
|
+
E as CardTitle,
|
|
226
|
+
R as ChartContainer,
|
|
227
|
+
_ as ChartLegend,
|
|
228
|
+
q as ChartLegendContent,
|
|
229
|
+
O as ChartStyle,
|
|
230
|
+
Q as ChartTooltip,
|
|
231
|
+
U as ChartTooltipContent,
|
|
232
|
+
J as Checkbox,
|
|
233
|
+
K as Command,
|
|
234
|
+
W as CommandDialog,
|
|
235
|
+
X as CommandEmpty,
|
|
236
|
+
Y as CommandGroup,
|
|
237
|
+
Z as CommandInput,
|
|
238
|
+
$ as CommandItem,
|
|
239
|
+
aa as CommandList,
|
|
240
|
+
ea as CommandSeparator,
|
|
241
|
+
ta as CommandShortcut,
|
|
242
|
+
ra as Dialog,
|
|
243
|
+
oa as DialogClose,
|
|
244
|
+
sa as DialogContent,
|
|
245
|
+
na as DialogDescription,
|
|
246
|
+
ia as DialogFooter,
|
|
247
|
+
la as DialogHeader,
|
|
248
|
+
da as DialogOverlay,
|
|
249
|
+
ua as DialogPortal,
|
|
250
|
+
pa as DialogTitle,
|
|
251
|
+
ca as DialogTrigger,
|
|
252
|
+
ga as Drawer,
|
|
253
|
+
ma as DrawerClose,
|
|
254
|
+
ha as DrawerContent,
|
|
255
|
+
ba as DrawerDescription,
|
|
256
|
+
fa as DrawerFooter,
|
|
257
|
+
Ca as DrawerHeader,
|
|
258
|
+
va as DrawerOverlay,
|
|
259
|
+
Ta as DrawerPortal,
|
|
260
|
+
xa as DrawerTitle,
|
|
261
|
+
Da as DrawerTrigger,
|
|
262
|
+
Sa as DropdownMenu,
|
|
263
|
+
wa as DropdownMenuCheckboxItem,
|
|
264
|
+
ka as DropdownMenuContent,
|
|
265
|
+
Ga as DropdownMenuGroup,
|
|
266
|
+
Ia as DropdownMenuItem,
|
|
267
|
+
za as DropdownMenuLabel,
|
|
268
|
+
Fa as DropdownMenuPortal,
|
|
269
|
+
Ma as DropdownMenuRadioGroup,
|
|
270
|
+
ya as DropdownMenuRadioItem,
|
|
271
|
+
Ba as DropdownMenuSeparator,
|
|
272
|
+
Pa as DropdownMenuShortcut,
|
|
273
|
+
Ha as DropdownMenuSub,
|
|
274
|
+
Aa as DropdownMenuSubContent,
|
|
275
|
+
La as DropdownMenuSubTrigger,
|
|
276
|
+
Na as DropdownMenuTrigger,
|
|
277
|
+
He as Field,
|
|
278
|
+
Ae as FieldContent,
|
|
279
|
+
Le as FieldDescription,
|
|
280
|
+
Ne as FieldError,
|
|
281
|
+
Ve as FieldGroup,
|
|
282
|
+
je as FieldLabel,
|
|
283
|
+
Ee as FieldLegend,
|
|
284
|
+
Re as FieldSeparator,
|
|
285
|
+
_e as FieldSet,
|
|
286
|
+
qe as FieldTitle,
|
|
287
|
+
Va as HoverCard,
|
|
288
|
+
ja as HoverCardContent,
|
|
289
|
+
Ea as HoverCardTrigger,
|
|
290
|
+
d as Input,
|
|
291
|
+
v as InputGroup,
|
|
292
|
+
T as InputGroupAddon,
|
|
293
|
+
x as InputGroupButton,
|
|
294
|
+
S as InputGroupInput,
|
|
295
|
+
D as InputGroupText,
|
|
296
|
+
w as InputGroupTextarea,
|
|
297
|
+
Ra as Label,
|
|
298
|
+
Oe as Popover,
|
|
299
|
+
Qe as PopoverAnchor,
|
|
300
|
+
Ue as PopoverContent,
|
|
301
|
+
Je as PopoverDescription,
|
|
302
|
+
Ke as PopoverHeader,
|
|
303
|
+
We as PopoverTitle,
|
|
304
|
+
Xe as PopoverTrigger,
|
|
305
|
+
_a as Progress,
|
|
306
|
+
qa as ScrollArea,
|
|
307
|
+
Oa as ScrollBar,
|
|
308
|
+
Qa as Select,
|
|
309
|
+
Ua as SelectContent,
|
|
310
|
+
Ja as SelectGroup,
|
|
311
|
+
Ka as SelectItem,
|
|
312
|
+
Wa as SelectLabel,
|
|
313
|
+
Xa as SelectScrollDownButton,
|
|
314
|
+
Ya as SelectScrollUpButton,
|
|
315
|
+
Za as SelectSeparator,
|
|
316
|
+
$a as SelectTrigger,
|
|
317
|
+
ae as SelectValue,
|
|
318
|
+
p as Separator,
|
|
319
|
+
ee as Sheet,
|
|
320
|
+
te as SheetClose,
|
|
321
|
+
re as SheetContent,
|
|
322
|
+
oe as SheetDescription,
|
|
323
|
+
se as SheetFooter,
|
|
324
|
+
ne as SheetHeader,
|
|
325
|
+
ie as SheetTitle,
|
|
326
|
+
le as SheetTrigger,
|
|
327
|
+
Ye as Skeleton,
|
|
328
|
+
de as Switch,
|
|
329
|
+
ue as Table,
|
|
330
|
+
pe as TableBody,
|
|
331
|
+
ce as TableCaption,
|
|
332
|
+
ge as TableCell,
|
|
333
|
+
me as TableFooter,
|
|
334
|
+
he as TableHead,
|
|
335
|
+
be as TableHeader,
|
|
336
|
+
fe as TableRow,
|
|
337
|
+
Ce as Tabs,
|
|
338
|
+
ve as TabsContent,
|
|
339
|
+
Te as TabsList,
|
|
340
|
+
xe as TabsTrigger,
|
|
341
|
+
u as Textarea,
|
|
342
|
+
De as Timeline,
|
|
343
|
+
Se as TimelineContent,
|
|
344
|
+
we as TimelineDate,
|
|
345
|
+
ke as TimelineHeader,
|
|
346
|
+
Ge as TimelineIndicator,
|
|
347
|
+
Ie as TimelineItem,
|
|
348
|
+
ze as TimelineSeparator,
|
|
349
|
+
Fe as TimelineTitle,
|
|
350
|
+
Ze as Tooltip,
|
|
351
|
+
$e as TooltipContent,
|
|
352
|
+
at as TooltipProvider,
|
|
353
|
+
et as TooltipTrigger,
|
|
354
|
+
tt as badgeVariants,
|
|
355
|
+
h as buttonGroupVariants,
|
|
356
|
+
r as cn,
|
|
357
|
+
rt as useMediaQuery
|
|
369
358
|
};
|
package/dist/utils.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { U as
|
|
2
|
-
import { g as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { c as G, e as V, k as j, v as B } from "./chuncks/directory.util.EdDxCF_I.js";
|
|
1
|
+
import { U as s } from "./chuncks/format.util.Frd0spI4.js";
|
|
2
|
+
import { g as l, h as v, f as y, a as C, d as E, m as L, c as P, e as _, p as b, b as k, u as D } from "./chuncks/format.util.Frd0spI4.js";
|
|
3
|
+
import { f as a } from "./chuncks/youtube-icon.component.BFVooMDQ.js";
|
|
4
|
+
import { q as U, p as h, n as q, j as N, h as x, l as F, i as O, m as T, k as j, g as A, o as G, v as V } from "./chuncks/youtube-icon.component.BFVooMDQ.js";
|
|
6
5
|
const o = (e) => e ? `${e} é obrigatório.` : "Campo obrigatório.", t = (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}.`, c = (e) => e ? `${e} inválido.` : "Valor inválido.", u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
6
|
__proto__: null,
|
|
8
7
|
invalidMessage: c,
|
|
@@ -11,38 +10,38 @@ const o = (e) => e ? `${e} é obrigatório.` : "Campo obrigatório.", t = (e, r)
|
|
|
11
10
|
minLengthMessage: t,
|
|
12
11
|
minValueMessage: i,
|
|
13
12
|
requiredMessage: o
|
|
14
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13
|
+
}, Symbol.toStringTag, { value: "Module" })), $ = s, f = a, M = u;
|
|
15
14
|
export {
|
|
16
15
|
M as FIELD_MESSAGE,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
f as IS,
|
|
17
|
+
$ as UTIL,
|
|
18
|
+
U as createDictionary,
|
|
19
|
+
h as entries,
|
|
20
|
+
l as formatCompactNumber,
|
|
21
|
+
v as formatCompactPercent,
|
|
22
|
+
y as formatCurrency,
|
|
23
|
+
C as formatPercentage,
|
|
25
24
|
c as invalidMessage,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
q as isActionStatus,
|
|
26
|
+
N as isBusinessUnit,
|
|
27
|
+
x as isClientType,
|
|
28
|
+
F as isInfluencerBroadcastMethod,
|
|
29
|
+
O as isNumber,
|
|
30
|
+
T as isPaymentPhase,
|
|
31
|
+
j as isPaymentType,
|
|
32
|
+
A as isSocialNetwork,
|
|
33
|
+
G as keys,
|
|
34
|
+
E as maskCNPJ,
|
|
35
|
+
L as maskCPF,
|
|
36
|
+
P as maskRG,
|
|
37
|
+
_ as maskZipCode,
|
|
39
38
|
n as maxLengthMessage,
|
|
40
39
|
m as maxValueMessage,
|
|
41
40
|
t as minLengthMessage,
|
|
42
41
|
i as minValueMessage,
|
|
43
|
-
|
|
42
|
+
b as preFormatCurrency,
|
|
44
43
|
k as preFormatPercentage,
|
|
45
44
|
o as requiredMessage,
|
|
46
45
|
D as unmask,
|
|
47
|
-
|
|
46
|
+
V as values
|
|
48
47
|
};
|
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.198",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
"import": "./dist/dictionaries.js",
|
|
51
51
|
"types": "./dist/dictionaries.d.ts"
|
|
52
52
|
},
|
|
53
|
+
"./configs": {
|
|
54
|
+
"import": "./dist/configs.js",
|
|
55
|
+
"types": "./dist/configs.d.ts"
|
|
56
|
+
},
|
|
53
57
|
"./interfaces/*": {
|
|
54
58
|
"types": "./dist/*.d.ts",
|
|
55
59
|
"import": "./dist/*.d.ts"
|
|
@@ -129,6 +133,8 @@
|
|
|
129
133
|
"react-dom": "^18.3.1"
|
|
130
134
|
},
|
|
131
135
|
"dependencies": {
|
|
136
|
+
"@firebase/auth-types": "^0.13.1",
|
|
137
|
+
"@hookform/resolvers": "^5.7.1",
|
|
132
138
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
133
139
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
134
140
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
@@ -150,7 +156,7 @@
|
|
|
150
156
|
"clsx": "^2.1.1",
|
|
151
157
|
"cmdk": "^1.1.1",
|
|
152
158
|
"date-fns": "^4.1.0",
|
|
153
|
-
"lucide-react": "^
|
|
159
|
+
"lucide-react": "^1.31.0",
|
|
154
160
|
"radix-ui": "^1.4.3",
|
|
155
161
|
"react-day-picker": "^9.11.3",
|
|
156
162
|
"react-error-boundary": "^6.1.2",
|
|
@@ -158,9 +164,11 @@
|
|
|
158
164
|
"react-mentions": "^4.4.10",
|
|
159
165
|
"react-router-dom": "^7.10.1",
|
|
160
166
|
"recharts": "2.15.4",
|
|
167
|
+
"sonner": "^2.0.8",
|
|
161
168
|
"tailwind-merge": "^3.4.0",
|
|
162
169
|
"tailwindcss-animate": "^1.0.7",
|
|
163
|
-
"vaul": "^1.1.2"
|
|
170
|
+
"vaul": "^1.1.2",
|
|
171
|
+
"zod": "^4.4.3"
|
|
164
172
|
},
|
|
165
173
|
"devDependencies": {
|
|
166
174
|
"@eslint/js": "latest",
|