prometeo-design-system 2.5.0 → 2.5.2
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/{CardProfile-Fn44kEnM.js → CardProfile-DV3gwvqE.js} +20 -20
- package/dist/CardProfile.es.js +1 -1
- package/dist/Icons/Icons.d.ts +2 -0
- package/dist/OtpInput.es.js +143 -138
- package/dist/SegmentedButton.es.js +16 -16
- package/dist/{Select-CxJFcGuQ.js → Select-B32JqJIS.js} +289 -286
- package/dist/Select.es.js +1 -1
- package/dist/SelectFormik.es.js +1 -1
- package/dist/SelectSearch.es.js +117 -124
- package/dist/components/FAB/FAButton.d.ts +21 -0
- package/dist/components/OtpInput/OtpInput.d.ts +5 -2
- package/dist/exports/FAButton.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/pages/ButtonsPage.d.ts +2 -0
- package/dist/pages/OtpPage.d.ts +2 -0
- package/dist/preview/FABPreview.d.ts +2 -0
- package/dist/preview/OTPPreview.d.ts +2 -0
- package/dist/preview/SegmentedButtonPreview.d.ts +2 -0
- package/dist/prometeo-design-system.css +1 -1
- package/dist/prometeo-design-system.es.js +329 -269
- package/package.json +1 -1
- package/src/styles/intellisense.css +10 -1
- package/dist/pages/Buttons.d.ts +0 -2
|
@@ -1,60 +1,113 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { B as
|
|
3
|
-
import { C as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { I as
|
|
11
|
-
import { default as
|
|
12
|
-
import { InputMultiple as
|
|
13
|
-
import { default as
|
|
14
|
-
import { Menu as
|
|
15
|
-
import { default as
|
|
16
|
-
import { ProfilePictureUpload as
|
|
17
|
-
import { default as
|
|
18
|
-
import { S as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { Steps as
|
|
23
|
-
import { default as
|
|
24
|
-
import { Switch as
|
|
25
|
-
import { default as
|
|
26
|
-
import { Table as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { Skeleton as
|
|
31
|
-
import { SegmentedButton as
|
|
1
|
+
import { default as qe } from "./Avatar.es.js";
|
|
2
|
+
import { B as De } from "./Button-DsbEyjth.js";
|
|
3
|
+
import { C as Oe, a as Pe } from "./CardProfile-DV3gwvqE.js";
|
|
4
|
+
import { default as He } from "./CheckBox.es.js";
|
|
5
|
+
import { default as $e } from "./CheckboxFormik.es.js";
|
|
6
|
+
import { default as Ue, useDialogControl as Ve } from "./DialogModal.es.js";
|
|
7
|
+
import { default as Ge, useDrawerDesktop as Xe } from "./DrawerDesktop.es.js";
|
|
8
|
+
import { default as Je, useDrawerMobile as Ke } from "./DrawerMobile.es.js";
|
|
9
|
+
import { default as Ye } from "./Header.es.js";
|
|
10
|
+
import { I as tt } from "./Input-Bhd0bmVq.js";
|
|
11
|
+
import { default as at } from "./InputFormik.es.js";
|
|
12
|
+
import { InputMultiple as nt } from "./InputMultiple.es.js";
|
|
13
|
+
import { default as st } from "./Logo.es.js";
|
|
14
|
+
import { Menu as ct } from "./Menu.es.js";
|
|
15
|
+
import { default as ut } from "./Pagination.es.js";
|
|
16
|
+
import { ProfilePictureUpload as mt } from "./ProfilePictureUpload.es.js";
|
|
17
|
+
import { default as xt } from "./ProgressBar.es.js";
|
|
18
|
+
import { S as vt } from "./Select-B32JqJIS.js";
|
|
19
|
+
import { default as gt } from "./SelectFormikLegacy.es.js";
|
|
20
|
+
import { default as wt } from "./SelectFormik.es.js";
|
|
21
|
+
import { default as jt } from "./Spinner.es.js";
|
|
22
|
+
import { Steps as St } from "./Steps.es.js";
|
|
23
|
+
import { default as It } from "./SwipeContainer.es.js";
|
|
24
|
+
import { Switch as Rt } from "./Switch.es.js";
|
|
25
|
+
import { default as Lt } from "./DatePicker.es.js";
|
|
26
|
+
import { Table as qt, TableBody as zt, TableCaption as Dt, TableCell as Et, TableFooter as Ot, TableHead as Pt, TableHeader as Ft, TableRow as Ht } from "./Table.es.js";
|
|
27
|
+
import { default as $t } from "./TabLinks.es.js";
|
|
28
|
+
import { default as Ut } from "./TextArea.es.js";
|
|
29
|
+
import { default as _t } from "./Tooltip.es.js";
|
|
30
|
+
import { Skeleton as Xt } from "./Skeleton.es.js";
|
|
31
|
+
import { SegmentedButton as Jt } from "./SegmentedButton.es.js";
|
|
32
32
|
import { u as S } from "./LayoutGeneric-p4Pll4Cm.js";
|
|
33
|
-
import { L as
|
|
34
|
-
import { I as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { j as
|
|
40
|
-
import {
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
33
|
+
import { L as Qt, S as Yt } from "./LayoutGeneric-p4Pll4Cm.js";
|
|
34
|
+
import { I as tr } from "./ImageGallery-DnoRTpCr.js";
|
|
35
|
+
import { default as ar } from "./Image.es.js";
|
|
36
|
+
import { default as nr, toastpyrion as ir } from "./Toast.es.js";
|
|
37
|
+
import { default as lr } from "./ToastProvider.es.js";
|
|
38
|
+
import { default as dr } from "./SelectSearch.es.js";
|
|
39
|
+
import { j as r } from "./jsx-runtime-DKDX3adD.js";
|
|
40
|
+
import k, { memo as q, useRef as h, useState as y, useLayoutEffect as z, createContext as D, useContext as E, useEffect as j, forwardRef as I, useCallback as O } from "react";
|
|
41
|
+
import { c as d } from "./cn-B6yFEsav.js";
|
|
42
|
+
import { Icons as g } from "./Icons.es.js";
|
|
43
|
+
import { createPortal as P } from "react-dom";
|
|
44
|
+
import { useGSAP as B } from "@gsap/react";
|
|
43
45
|
import m from "gsap";
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
import { motion as b, AnimatePresence as R } from "framer-motion";
|
|
47
|
+
import { default as fr } from "./OtpInput.es.js";
|
|
48
|
+
import { useDropzone as F } from "react-dropzone";
|
|
49
|
+
import { useIsMobile as pr } from "./useDevice.es.js";
|
|
50
|
+
import { DropZone as br } from "./DropZone.es.js";
|
|
51
|
+
const H = {
|
|
52
|
+
right: 24,
|
|
53
|
+
bottom: 64,
|
|
54
|
+
left: "auto",
|
|
55
|
+
top: "auto"
|
|
56
|
+
}, W = {
|
|
57
|
+
filled: {
|
|
58
|
+
primary: "bg-primary-default-default hover:bg-primary-default-hover active:bg-primary-default-pressed",
|
|
59
|
+
secondary: "bg-neutral-medium-default hover:bg-neutral-medium-hover active:bg-neutral-medium-pressed",
|
|
60
|
+
success: "bg-success-default-default hover:bg-success-default-hover active:bg-success-default-pressed",
|
|
61
|
+
error: "bg-error-default-default hover:bg-error-default-hover active:bg-error-default-pressed",
|
|
62
|
+
warning: "bg-warning-default-default hover:bg-warning-default-hover active:bg-warning-default-pressed"
|
|
63
|
+
},
|
|
64
|
+
outlined: {
|
|
65
|
+
primary: "border border-primary-default-default hover:border-primary-default-hover active:border-primary-default-pressed text-primary-default-default hover:text-primary-default-hover active:text-primary-default-pressed",
|
|
66
|
+
secondary: "border border-neutral-medium-default hover:border-neutral-medium-hover active:border-neutral-medium-pressed text-neutral-medium-default hover:text-neutral-medium-hover active:text-neutral-medium-pressed",
|
|
67
|
+
success: "border border-success-default-default hover:border-success-default-hover active:border-success-default-pressed text-success-default-default hover:text-success-default-hover active:text-success-default-pressed",
|
|
68
|
+
error: "border border-error-default-default hover:border-error-default-hover active:border-error-default-pressed text-error-default-default hover:text-error-default-hover active:text-error-default-pressed",
|
|
69
|
+
warning: "border border-warning-default-default hover:border-warning-default-hover active:border-warning-default-pressed text-warning-default-default hover:text-warning-default-hover active:text-warning-default-pressed"
|
|
70
|
+
},
|
|
71
|
+
text: {
|
|
72
|
+
primary: "text-primary-default-default hover:text-primary-default-hover active:text-primary-default-pressed",
|
|
73
|
+
secondary: "text-neutral-medium-default hover:text-neutral-medium-hover active:text-neutral-medium-pressed",
|
|
74
|
+
success: "text-success-default-default hover:text-success-default-hover active:text-success-default-pressed",
|
|
75
|
+
error: "text-error-default-default hover:text-error-default-hover active:text-error-default-pressed",
|
|
76
|
+
warning: "text-warning-default-default hover:text-warning-default-hover active:text-warning-default-pressed"
|
|
77
|
+
}
|
|
78
|
+
}, $ = "bg-primary-default-disabled text-neutral-default-disabled hover:bg-primary-default-disabled active:bg-primary-default-disabled cursor-not-allowed", M = (t) => {
|
|
79
|
+
const e = t.position || H, a = t.attachToParent || !1, o = t.color || "primary", n = t.icon || g.Add, i = t.disabled || !1, s = t.variant || "filled", c = /* @__PURE__ */ r.jsx(
|
|
80
|
+
"div",
|
|
81
|
+
{
|
|
82
|
+
style: {
|
|
83
|
+
width: "56px",
|
|
84
|
+
height: "56px",
|
|
85
|
+
borderRadius: "8px",
|
|
86
|
+
position: a ? "absolute" : "fixed",
|
|
87
|
+
right: e.right,
|
|
88
|
+
bottom: e.bottom,
|
|
89
|
+
left: e.left,
|
|
90
|
+
top: e.top,
|
|
91
|
+
display: "grid",
|
|
92
|
+
placeItems: "center",
|
|
93
|
+
padding: 16
|
|
94
|
+
},
|
|
95
|
+
className: d("transition-all duration-300 cursor-pointer text-neutral-default-default", W[s][o], i && $, t.className),
|
|
96
|
+
onClick: i ? void 0 : t.onClick,
|
|
97
|
+
children: k.createElement(n, { size: 24 })
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
return a ? c : P(c, document.body);
|
|
101
|
+
}, U = q(M, (t, e) => t.attachToParent === e.attachToParent && t.position === e.position && t.color === e.color && t.icon === e.icon && t.disabled === e.disabled && t.variant === e.variant && t.className === e.className && t.onClick === e.onClick);
|
|
102
|
+
U.displayName = "FAButton";
|
|
103
|
+
const V = (t, e) => {
|
|
104
|
+
B(
|
|
52
105
|
() => {
|
|
53
106
|
if (!t.current) return;
|
|
54
|
-
const
|
|
107
|
+
const a = t.current, o = document.querySelector('[data-main-content="true"]');
|
|
55
108
|
if (e) {
|
|
56
109
|
m.fromTo(
|
|
57
|
-
|
|
110
|
+
a,
|
|
58
111
|
{
|
|
59
112
|
width: "0rem",
|
|
60
113
|
opacity: 0
|
|
@@ -66,11 +119,11 @@ const O = (t, e) => {
|
|
|
66
119
|
ease: "power2.out"
|
|
67
120
|
}
|
|
68
121
|
), o && m.to(o, {
|
|
69
|
-
marginLeft:
|
|
122
|
+
marginLeft: a.offsetWidth + "px",
|
|
70
123
|
duration: 0.4,
|
|
71
124
|
ease: "power2.out"
|
|
72
125
|
});
|
|
73
|
-
const n =
|
|
126
|
+
const n = a.querySelectorAll(".secondary-bar-content > *");
|
|
74
127
|
n.length > 0 && m.fromTo(
|
|
75
128
|
n,
|
|
76
129
|
{
|
|
@@ -87,7 +140,7 @@ const O = (t, e) => {
|
|
|
87
140
|
}
|
|
88
141
|
);
|
|
89
142
|
} else
|
|
90
|
-
m.to(
|
|
143
|
+
m.to(a, {
|
|
91
144
|
width: "0rem",
|
|
92
145
|
opacity: 0,
|
|
93
146
|
duration: 0.3,
|
|
@@ -103,73 +156,73 @@ const O = (t, e) => {
|
|
|
103
156
|
}, C = ({
|
|
104
157
|
children: t,
|
|
105
158
|
isOpen: e = !1,
|
|
106
|
-
className:
|
|
159
|
+
className: a = "",
|
|
107
160
|
width: o = "w-96",
|
|
108
161
|
action: n,
|
|
109
162
|
primarySidebarCollapsed: i,
|
|
110
163
|
onClose: s
|
|
111
164
|
}) => {
|
|
112
|
-
const c =
|
|
113
|
-
return
|
|
165
|
+
const c = h(null), [l, u] = y({ left: 0, width: 0 }), { primarySidebarRef: f } = S();
|
|
166
|
+
return z(() => {
|
|
114
167
|
if (f?.current) {
|
|
115
168
|
const x = f.current.getBoundingClientRect();
|
|
116
|
-
|
|
169
|
+
u({
|
|
117
170
|
left: x.width,
|
|
118
171
|
width: x.width
|
|
119
172
|
});
|
|
120
173
|
}
|
|
121
|
-
}, [f, e, i]),
|
|
122
|
-
/* @__PURE__ */
|
|
174
|
+
}, [f, e, i]), V(c, e), /* @__PURE__ */ r.jsx(r.Fragment, { children: e && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
175
|
+
/* @__PURE__ */ r.jsx(
|
|
123
176
|
"div",
|
|
124
177
|
{
|
|
125
|
-
className: "fixed inset-0 bg-black/95 z-
|
|
178
|
+
className: "fixed inset-0 bg-black/95 z-40",
|
|
126
179
|
style: {
|
|
127
180
|
left: l.left
|
|
128
181
|
},
|
|
129
182
|
onClick: s
|
|
130
183
|
}
|
|
131
184
|
),
|
|
132
|
-
/* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ r.jsx(
|
|
133
186
|
"div",
|
|
134
187
|
{
|
|
135
188
|
ref: c,
|
|
136
|
-
className:
|
|
137
|
-
"h-screen bg-neutral-default-default border-r
|
|
138
|
-
"absolute top-0 z-
|
|
189
|
+
className: d(
|
|
190
|
+
"h-screen bg-neutral-default-default border-r border-neutral-strong-default flex flex-col secondary-bar shrink-0",
|
|
191
|
+
"absolute top-0 z-50",
|
|
139
192
|
o,
|
|
140
|
-
|
|
193
|
+
a
|
|
141
194
|
),
|
|
142
195
|
style: {
|
|
143
196
|
left: l.left
|
|
144
197
|
},
|
|
145
198
|
"data-action": n,
|
|
146
|
-
children: /* @__PURE__ */
|
|
199
|
+
children: /* @__PURE__ */ r.jsx("div", { className: "secondary-bar-content", children: t })
|
|
147
200
|
}
|
|
148
201
|
)
|
|
149
202
|
] }) });
|
|
150
|
-
},
|
|
203
|
+
}, _ = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: d("h-16 ", e), children: t }), G = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: d("flex-1 overflow-y-auto p-4", e), children: t }), X = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: d("p-4 border-t border-neutral-strong-default", e), children: t }), Z = ({ className: t }) => /* @__PURE__ */ r.jsx("div", { className: d("flex-1", t) }), ge = Object.assign(C, {
|
|
151
204
|
Root: C,
|
|
152
|
-
Header:
|
|
153
|
-
Content:
|
|
154
|
-
Footer:
|
|
155
|
-
Spacer:
|
|
156
|
-
}),
|
|
205
|
+
Header: _,
|
|
206
|
+
Content: G,
|
|
207
|
+
Footer: X,
|
|
208
|
+
Spacer: Z
|
|
209
|
+
}), T = D(
|
|
157
210
|
void 0
|
|
158
|
-
),
|
|
159
|
-
const t =
|
|
211
|
+
), ye = () => {
|
|
212
|
+
const t = E(T);
|
|
160
213
|
if (!t)
|
|
161
214
|
throw new Error("useSidebar must be used within a Sidebar.Root");
|
|
162
215
|
return t;
|
|
163
|
-
},
|
|
216
|
+
}, J = ({
|
|
164
217
|
children: t
|
|
165
218
|
}) => {
|
|
166
|
-
const [e,
|
|
167
|
-
|
|
219
|
+
const [e, a] = y(!1), [o, n] = y(!1), i = h(null), s = () => {
|
|
220
|
+
a(!1), n(!1);
|
|
168
221
|
}, c = () => {
|
|
169
|
-
|
|
222
|
+
a(!0), n(!1);
|
|
170
223
|
}, p = {
|
|
171
224
|
isCollapsed: e,
|
|
172
|
-
setIsCollapsed:
|
|
225
|
+
setIsCollapsed: a,
|
|
173
226
|
navbarRef: i,
|
|
174
227
|
toggleCollapse: () => {
|
|
175
228
|
e ? s() : c();
|
|
@@ -185,9 +238,9 @@ const O = (t, e) => {
|
|
|
185
238
|
n((v) => !v);
|
|
186
239
|
}
|
|
187
240
|
};
|
|
188
|
-
return /* @__PURE__ */
|
|
189
|
-
}, w = (t, e,
|
|
190
|
-
|
|
241
|
+
return /* @__PURE__ */ r.jsx(T.Provider, { value: p, children: t });
|
|
242
|
+
}, w = (t, e, a, o) => e && (Array.isArray(e) ? e.length > 0 : e) ? t.to(e, a, o) : t, K = (t, e, a) => {
|
|
243
|
+
B(
|
|
191
244
|
() => {
|
|
192
245
|
if (!t.current) return;
|
|
193
246
|
const o = m.timeline({
|
|
@@ -228,11 +281,11 @@ const O = (t, e) => {
|
|
|
228
281
|
secondaryBarContent: m.utils.toArray(".secondary-bar *"),
|
|
229
282
|
badgeInLink: m.utils.toArray(".badge-in-link")
|
|
230
283
|
};
|
|
231
|
-
e ?
|
|
284
|
+
e ? Q(o, n) : Y(o, n), n.secondaryBar && ee(n.secondaryBar);
|
|
232
285
|
},
|
|
233
|
-
{ scope: t, dependencies: [e,
|
|
286
|
+
{ scope: t, dependencies: [e, a] }
|
|
234
287
|
);
|
|
235
|
-
},
|
|
288
|
+
}, Q = (t, e) => {
|
|
236
289
|
t.to(e.navbar, {
|
|
237
290
|
width: "5rem",
|
|
238
291
|
duration: 0.2,
|
|
@@ -371,7 +424,7 @@ const O = (t, e) => {
|
|
|
371
424
|
},
|
|
372
425
|
-1
|
|
373
426
|
);
|
|
374
|
-
},
|
|
427
|
+
}, Y = (t, e) => {
|
|
375
428
|
t.to(e.navbar, { width: "20rem" }, -1).to(
|
|
376
429
|
e.navLinkItems,
|
|
377
430
|
{
|
|
@@ -499,23 +552,23 @@ const O = (t, e) => {
|
|
|
499
552
|
},
|
|
500
553
|
0
|
|
501
554
|
).to(e.navIcons, { scale: 1 }, 0.3);
|
|
502
|
-
},
|
|
555
|
+
}, ee = (t, e) => {
|
|
503
556
|
m.to(t, {
|
|
504
557
|
x: "-100%",
|
|
505
558
|
opacity: 0,
|
|
506
559
|
duration: 0.3,
|
|
507
560
|
ease: "power2.in"
|
|
508
561
|
});
|
|
509
|
-
},
|
|
510
|
-
const [e,
|
|
511
|
-
|
|
562
|
+
}, te = (t) => {
|
|
563
|
+
const [e, a] = y(t?.currentTabName || t.tabs[0].name), o = h(null), { tabs: n = [], className: i, activeColor: s = "var(--neutral-900)" } = t;
|
|
564
|
+
j(() => {
|
|
512
565
|
o.current?.style.setProperty("--tab-bg", s);
|
|
513
566
|
}, [s]);
|
|
514
567
|
const c = n.find((l) => l.name === (t?.currentTabName || e));
|
|
515
|
-
return /* @__PURE__ */
|
|
568
|
+
return /* @__PURE__ */ r.jsx(
|
|
516
569
|
"div",
|
|
517
570
|
{
|
|
518
|
-
className:
|
|
571
|
+
className: d(
|
|
519
572
|
"flex flex-col gap-2",
|
|
520
573
|
"bg-neutral-strong-default",
|
|
521
574
|
"h-full w-14 max-w-14 pl-[6px] py-6",
|
|
@@ -523,14 +576,14 @@ const O = (t, e) => {
|
|
|
523
576
|
i
|
|
524
577
|
),
|
|
525
578
|
children: n.map(
|
|
526
|
-
(l,
|
|
527
|
-
const f = l.name === c?.name, x = typeof l.thumbnail == "string" ? /* @__PURE__ */
|
|
528
|
-
l.disabled || (
|
|
579
|
+
(l, u) => {
|
|
580
|
+
const f = l.name === c?.name, x = typeof l.thumbnail == "string" ? /* @__PURE__ */ r.jsx("img", { src: l.thumbnail, alt: l.description, className: "aspect-square object-contain" }) : l.thumbnail, p = () => {
|
|
581
|
+
l.disabled || (a(l.name), l.onClick && l.onClick(l.name));
|
|
529
582
|
};
|
|
530
|
-
return /* @__PURE__ */
|
|
583
|
+
return /* @__PURE__ */ r.jsx(
|
|
531
584
|
"div",
|
|
532
585
|
{
|
|
533
|
-
className:
|
|
586
|
+
className: d(
|
|
534
587
|
"bg-[var(--tab-bg)]",
|
|
535
588
|
"h-12 w-[50px] z-20",
|
|
536
589
|
"flex items-center pl-[6px] ",
|
|
@@ -540,7 +593,7 @@ const O = (t, e) => {
|
|
|
540
593
|
),
|
|
541
594
|
onClick: p,
|
|
542
595
|
ref: o,
|
|
543
|
-
children: /* @__PURE__ */
|
|
596
|
+
children: /* @__PURE__ */ r.jsx("div", { className: d(
|
|
544
597
|
"size-8 rounded-[4px]",
|
|
545
598
|
"grid place-items-center",
|
|
546
599
|
"tab-thumbnail-icon",
|
|
@@ -548,56 +601,62 @@ const O = (t, e) => {
|
|
|
548
601
|
l?.className
|
|
549
602
|
), children: x })
|
|
550
603
|
},
|
|
551
|
-
|
|
604
|
+
u
|
|
552
605
|
);
|
|
553
606
|
}
|
|
554
607
|
)
|
|
555
608
|
}
|
|
556
609
|
);
|
|
557
|
-
},
|
|
558
|
-
({ children: t, isCollapsed: e = !1, className:
|
|
559
|
-
const s =
|
|
560
|
-
s.current =
|
|
610
|
+
}, re = I(
|
|
611
|
+
({ children: t, isCollapsed: e = !1, className: a = "", tabs: o = [], currentTabName: n }, i) => {
|
|
612
|
+
const s = h(null), { registerPrimarySidebar: c } = S(), l = O((u) => {
|
|
613
|
+
s.current = u, typeof i == "function" ? i(u) : i && (i.current = u);
|
|
561
614
|
}, [i]);
|
|
562
|
-
return
|
|
615
|
+
return j(() => {
|
|
563
616
|
s.current && c(s);
|
|
564
|
-
}, [c]),
|
|
565
|
-
"
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
617
|
+
}, [c]), K(s, e, !1), /* @__PURE__ */ r.jsxs(
|
|
618
|
+
"div",
|
|
619
|
+
{
|
|
620
|
+
ref: l,
|
|
621
|
+
className: d(
|
|
622
|
+
"flex"
|
|
623
|
+
),
|
|
624
|
+
children: [
|
|
625
|
+
o.length > 0 && /* @__PURE__ */ r.jsx(
|
|
626
|
+
te,
|
|
627
|
+
{
|
|
628
|
+
tabs: o,
|
|
629
|
+
activeColor: "var(--neutral-900)",
|
|
630
|
+
currentTabName: n
|
|
631
|
+
}
|
|
632
|
+
),
|
|
633
|
+
/* @__PURE__ */ r.jsx(
|
|
634
|
+
"div",
|
|
635
|
+
{
|
|
636
|
+
className: `bg-neutral-default-default hidden overflow-hidden h-screen md:flex flex-col border-r border-neutral-strong-default transition-all duration-300 relative z-50 shrink-0
|
|
637
|
+
${e ? "w-16" : "w-64"} ${a}`,
|
|
638
|
+
children: t
|
|
639
|
+
}
|
|
640
|
+
)
|
|
641
|
+
]
|
|
642
|
+
}
|
|
643
|
+
);
|
|
585
644
|
}
|
|
586
|
-
),
|
|
587
|
-
(t, e) => /* @__PURE__ */
|
|
645
|
+
), N = I(
|
|
646
|
+
(t, e) => /* @__PURE__ */ r.jsx(J, { children: /* @__PURE__ */ r.jsx(re, { ...t, ref: e }) })
|
|
588
647
|
);
|
|
589
|
-
|
|
590
|
-
const
|
|
648
|
+
N.displayName = "SidebarRoot";
|
|
649
|
+
const ae = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ r.jsx("div", { className: d("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade", t && ""), children: /* @__PURE__ */ r.jsx(
|
|
591
650
|
"button",
|
|
592
651
|
{
|
|
593
652
|
onClick: e,
|
|
594
653
|
title: t ? "Expandir Navbar" : "Contraer Navbar",
|
|
595
654
|
"aria-label": t ? "Expandir Navbar" : "Contraer Navbar",
|
|
596
655
|
className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
|
|
597
|
-
children: t ? /* @__PURE__ */
|
|
656
|
+
children: t ? /* @__PURE__ */ r.jsx(g.CloseNavBarDesktop, { size: 24, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ r.jsx(g.CloseNavBarDesktop, { size: 24, className: "rotate-0 transition-transform duration-300" })
|
|
598
657
|
}
|
|
599
|
-
) }),
|
|
600
|
-
const
|
|
658
|
+
) }), oe = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: `${e} sidebar-header`, children: t }), ne = ({ className: t }) => /* @__PURE__ */ r.jsx("div", { className: d("px-3 flex justify-center items-center w-full mb-4", t), children: /* @__PURE__ */ r.jsx("div", { className: "border-b border-neutral-strong-default border w-full" }) }), ie = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: e, children: t }), se = ({ className: t, size: e = "auto" }) => {
|
|
659
|
+
const a = () => {
|
|
601
660
|
switch (e) {
|
|
602
661
|
case "auto":
|
|
603
662
|
return "flex-grow";
|
|
@@ -609,31 +668,31 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
609
668
|
return "h-8 w-8";
|
|
610
669
|
}
|
|
611
670
|
};
|
|
612
|
-
return /* @__PURE__ */
|
|
613
|
-
},
|
|
614
|
-
Root:
|
|
615
|
-
CollapseButton:
|
|
616
|
-
Header:
|
|
617
|
-
Divider:
|
|
618
|
-
Content:
|
|
619
|
-
Spacer:
|
|
620
|
-
Footer:
|
|
621
|
-
}),
|
|
671
|
+
return /* @__PURE__ */ r.jsx("div", { className: d(a(), t) });
|
|
672
|
+
}, le = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: e, children: t }), we = Object.assign(N, {
|
|
673
|
+
Root: N,
|
|
674
|
+
CollapseButton: ae,
|
|
675
|
+
Header: oe,
|
|
676
|
+
Divider: ne,
|
|
677
|
+
Content: ie,
|
|
678
|
+
Spacer: se,
|
|
679
|
+
Footer: le
|
|
680
|
+
}), Ne = ({
|
|
622
681
|
children: t,
|
|
623
682
|
icon: e,
|
|
624
|
-
label:
|
|
683
|
+
label: a,
|
|
625
684
|
href: o,
|
|
626
685
|
onClick: n,
|
|
627
686
|
isActive: i = !1,
|
|
628
687
|
className: s
|
|
629
688
|
}) => {
|
|
630
689
|
const c = o ? "a" : "button";
|
|
631
|
-
return /* @__PURE__ */
|
|
690
|
+
return /* @__PURE__ */ r.jsxs(
|
|
632
691
|
c,
|
|
633
692
|
{
|
|
634
693
|
href: o,
|
|
635
694
|
onClick: n,
|
|
636
|
-
className:
|
|
695
|
+
className: d(
|
|
637
696
|
"nav-link-item",
|
|
638
697
|
"flex items-center w-full px-3 py-2 text-left",
|
|
639
698
|
"hover:bg-neutral-medium-default transition-colors rounded-lg",
|
|
@@ -642,8 +701,8 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
642
701
|
s
|
|
643
702
|
),
|
|
644
703
|
children: [
|
|
645
|
-
e && /* @__PURE__ */
|
|
646
|
-
|
|
704
|
+
e && /* @__PURE__ */ r.jsx("div", { className: "nav-icon-wrapper mr-3 flex-shrink-0", children: /* @__PURE__ */ r.jsx("div", { className: "nav-icon flex items-center justify-center w-5 h-5", children: e }) }),
|
|
705
|
+
a && /* @__PURE__ */ r.jsx("span", { className: "nav-label text-sm text-neutral-strong-default", children: a }),
|
|
647
706
|
t
|
|
648
707
|
]
|
|
649
708
|
}
|
|
@@ -651,7 +710,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
651
710
|
}, L = ({
|
|
652
711
|
count: t,
|
|
653
712
|
maxCount: e = 9,
|
|
654
|
-
className:
|
|
713
|
+
className: a = "",
|
|
655
714
|
size: o = "medium",
|
|
656
715
|
variant: n = "primary",
|
|
657
716
|
showZero: i = !1
|
|
@@ -662,26 +721,26 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
662
721
|
small: "w-4.5 h-4.5 text-xs ",
|
|
663
722
|
medium: "w-5 h-5 text-xs",
|
|
664
723
|
large: "w-6 h-6 text-sm"
|
|
665
|
-
},
|
|
724
|
+
}, u = {
|
|
666
725
|
primary: "bg-primary-default-default text-neutral-strong-default",
|
|
667
726
|
secondary: "bg-neutral-medium-default text-neutral-strong-default",
|
|
668
727
|
success: "bg-green-500 text-white",
|
|
669
728
|
warning: "bg-yellow-500 text-black",
|
|
670
729
|
danger: "bg-red-500 text-white"
|
|
671
730
|
};
|
|
672
|
-
return /* @__PURE__ */
|
|
731
|
+
return /* @__PURE__ */ r.jsx("div", { className: d(
|
|
673
732
|
"rounded-full flex items-center justify-center font-medium ",
|
|
674
733
|
l[o],
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
), children: /* @__PURE__ */
|
|
678
|
-
},
|
|
734
|
+
u[n],
|
|
735
|
+
a
|
|
736
|
+
), children: /* @__PURE__ */ r.jsx("span", { children: c }) });
|
|
737
|
+
}, je = ({
|
|
679
738
|
linkActions: t,
|
|
680
739
|
onClick: e,
|
|
681
|
-
activeAction:
|
|
682
|
-
}) => /* @__PURE__ */
|
|
683
|
-
const { isView: i = !1, actionName: s, title: c, icon: l, count:
|
|
684
|
-
return x && /* @__PURE__ */
|
|
740
|
+
activeAction: a
|
|
741
|
+
}) => /* @__PURE__ */ r.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((o, n) => {
|
|
742
|
+
const { isView: i = !1, actionName: s, title: c, icon: l, count: u, viewAccess: f } = o || {}, x = (typeof i == "function" ? i() : i !== !1) && (!f || f()), p = a === s;
|
|
743
|
+
return x && /* @__PURE__ */ r.jsx(
|
|
685
744
|
b.div,
|
|
686
745
|
{
|
|
687
746
|
initial: { opacity: 0 },
|
|
@@ -692,20 +751,20 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
692
751
|
ease: "easeOut"
|
|
693
752
|
},
|
|
694
753
|
className: "relative flex justify-center w-full items-center px-3",
|
|
695
|
-
children: /* @__PURE__ */
|
|
754
|
+
children: /* @__PURE__ */ r.jsxs(
|
|
696
755
|
"button",
|
|
697
756
|
{
|
|
698
757
|
onClick: () => {
|
|
699
758
|
e?.(s);
|
|
700
759
|
},
|
|
701
|
-
className:
|
|
760
|
+
className: d(
|
|
702
761
|
"nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
|
|
703
762
|
"transition-all duration-300 ease-out w-full",
|
|
704
763
|
"group hover:bg-neutral-medium-selected",
|
|
705
764
|
p ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
|
|
706
765
|
),
|
|
707
766
|
children: [
|
|
708
|
-
/* @__PURE__ */
|
|
767
|
+
/* @__PURE__ */ r.jsx(R, { mode: "wait", children: p && /* @__PURE__ */ r.jsx(
|
|
709
768
|
b.div,
|
|
710
769
|
{
|
|
711
770
|
layoutId: "nav-active-bg",
|
|
@@ -720,7 +779,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
720
779
|
}
|
|
721
780
|
}
|
|
722
781
|
) }),
|
|
723
|
-
/* @__PURE__ */
|
|
782
|
+
/* @__PURE__ */ r.jsxs(
|
|
724
783
|
b.div,
|
|
725
784
|
{
|
|
726
785
|
className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
|
|
@@ -732,8 +791,8 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
732
791
|
ease: "easeOut"
|
|
733
792
|
},
|
|
734
793
|
children: [
|
|
735
|
-
/* @__PURE__ */
|
|
736
|
-
/* @__PURE__ */
|
|
794
|
+
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
795
|
+
/* @__PURE__ */ r.jsx(
|
|
737
796
|
b.div,
|
|
738
797
|
{
|
|
739
798
|
className: "nav-icon-wrapper flex items-center justify-center flex-shrink-0",
|
|
@@ -746,16 +805,16 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
746
805
|
},
|
|
747
806
|
children: typeof l == "function" ? l({
|
|
748
807
|
size: 24,
|
|
749
|
-
className:
|
|
808
|
+
className: d(
|
|
750
809
|
"nav-icon transition-colors duration-250 ease-out",
|
|
751
810
|
p ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
|
|
752
811
|
)
|
|
753
812
|
}) : null
|
|
754
813
|
}
|
|
755
814
|
),
|
|
756
|
-
/* @__PURE__ */
|
|
815
|
+
/* @__PURE__ */ r.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: c })
|
|
757
816
|
] }),
|
|
758
|
-
/* @__PURE__ */
|
|
817
|
+
/* @__PURE__ */ r.jsx("div", { className: "badge-in-link", children: u && u >= 1 ? /* @__PURE__ */ r.jsx(L, { count: u, maxCount: 9, className: "" }) : "" })
|
|
759
818
|
]
|
|
760
819
|
}
|
|
761
820
|
)
|
|
@@ -765,15 +824,15 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
765
824
|
},
|
|
766
825
|
n
|
|
767
826
|
);
|
|
768
|
-
}) }),
|
|
827
|
+
}) }), Ce = ({
|
|
769
828
|
links: t,
|
|
770
829
|
isLinkActive: e,
|
|
771
|
-
onLinkClick:
|
|
772
|
-
}) => /* @__PURE__ */
|
|
773
|
-
const { isView: i = !1, viewAccess: s, path: c, title: l, icon:
|
|
774
|
-
(
|
|
830
|
+
onLinkClick: a
|
|
831
|
+
}) => /* @__PURE__ */ r.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((o, n) => {
|
|
832
|
+
const { isView: i = !1, viewAccess: s, path: c, title: l, icon: u, count: f, relatedPaths: x } = o, p = (typeof i == "function" ? i() : i !== !1) && (!s || s()), v = e(c) || (x?.some(
|
|
833
|
+
(A) => e(A)
|
|
775
834
|
) ?? !1);
|
|
776
|
-
return p && /* @__PURE__ */
|
|
835
|
+
return p && /* @__PURE__ */ r.jsx(
|
|
777
836
|
b.div,
|
|
778
837
|
{
|
|
779
838
|
initial: { opacity: 0 },
|
|
@@ -784,20 +843,20 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
784
843
|
ease: "easeOut"
|
|
785
844
|
},
|
|
786
845
|
className: "relative flex justify-center w-full items-center px-3",
|
|
787
|
-
children: /* @__PURE__ */
|
|
846
|
+
children: /* @__PURE__ */ r.jsxs(
|
|
788
847
|
"button",
|
|
789
848
|
{
|
|
790
849
|
onClick: () => {
|
|
791
|
-
|
|
850
|
+
a?.(c);
|
|
792
851
|
},
|
|
793
|
-
className:
|
|
852
|
+
className: d(
|
|
794
853
|
"nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
|
|
795
854
|
"transition-all duration-300 ease-out w-full",
|
|
796
855
|
"group hover:bg-neutral-medium-selected",
|
|
797
856
|
v ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
|
|
798
857
|
),
|
|
799
858
|
children: [
|
|
800
|
-
/* @__PURE__ */
|
|
859
|
+
/* @__PURE__ */ r.jsx(R, { mode: "wait", children: v && /* @__PURE__ */ r.jsx(
|
|
801
860
|
b.div,
|
|
802
861
|
{
|
|
803
862
|
layoutId: "nav-active-bg",
|
|
@@ -812,7 +871,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
812
871
|
}
|
|
813
872
|
}
|
|
814
873
|
) }),
|
|
815
|
-
/* @__PURE__ */
|
|
874
|
+
/* @__PURE__ */ r.jsxs(
|
|
816
875
|
b.div,
|
|
817
876
|
{
|
|
818
877
|
className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
|
|
@@ -824,8 +883,8 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
824
883
|
ease: "easeOut"
|
|
825
884
|
},
|
|
826
885
|
children: [
|
|
827
|
-
/* @__PURE__ */
|
|
828
|
-
/* @__PURE__ */
|
|
886
|
+
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
887
|
+
/* @__PURE__ */ r.jsx(
|
|
829
888
|
b.div,
|
|
830
889
|
{
|
|
831
890
|
className: "nav-icon-wrapper flex items-center justify-center flex-shrink-0",
|
|
@@ -836,18 +895,18 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
836
895
|
duration: 0.25,
|
|
837
896
|
ease: "easeOut"
|
|
838
897
|
},
|
|
839
|
-
children: typeof
|
|
898
|
+
children: typeof u == "function" ? u({
|
|
840
899
|
size: 24,
|
|
841
|
-
className:
|
|
900
|
+
className: d(
|
|
842
901
|
"nav-icon transition-colors duration-250 ease-out",
|
|
843
902
|
v ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
|
|
844
903
|
)
|
|
845
904
|
}) : null
|
|
846
905
|
}
|
|
847
906
|
),
|
|
848
|
-
/* @__PURE__ */
|
|
907
|
+
/* @__PURE__ */ r.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: l })
|
|
849
908
|
] }),
|
|
850
|
-
/* @__PURE__ */
|
|
909
|
+
/* @__PURE__ */ r.jsx("div", { className: "badge-in-link", children: f && f ? /* @__PURE__ */ r.jsx(L, { count: f, maxCount: 9, className: "" }) : "" })
|
|
851
910
|
]
|
|
852
911
|
}
|
|
853
912
|
)
|
|
@@ -857,30 +916,30 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
857
916
|
},
|
|
858
917
|
n
|
|
859
918
|
);
|
|
860
|
-
}) }),
|
|
919
|
+
}) }), Se = ({
|
|
861
920
|
isActiveModalNotification: t,
|
|
862
921
|
setIsActiveModalNotification: e
|
|
863
922
|
}) => ({ handleNotificationClick: () => {
|
|
864
923
|
e(!0);
|
|
865
|
-
}, isActiveModalNotification: t }),
|
|
866
|
-
const e =
|
|
924
|
+
}, isActiveModalNotification: t }), ke = (t) => {
|
|
925
|
+
const e = h(null);
|
|
867
926
|
return {
|
|
868
927
|
isCollapsed: t,
|
|
869
928
|
navbarRef: e
|
|
870
929
|
};
|
|
871
|
-
},
|
|
930
|
+
}, Ie = ({
|
|
872
931
|
isCollapsed: t,
|
|
873
932
|
onToggle: e
|
|
874
|
-
}) => /* @__PURE__ */
|
|
933
|
+
}) => /* @__PURE__ */ r.jsx("div", { className: "", children: /* @__PURE__ */ r.jsx(
|
|
875
934
|
"button",
|
|
876
935
|
{
|
|
877
936
|
onClick: e,
|
|
878
937
|
title: t ? "Expandir Navbar" : "Contraer Navbar",
|
|
879
938
|
"aria-label": t ? "Expandir Navbar" : "Contraer Navbar",
|
|
880
939
|
className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
|
|
881
|
-
children: t ? /* @__PURE__ */
|
|
940
|
+
children: t ? /* @__PURE__ */ r.jsx(g.CloseNavBarDesktop, { size: 34, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ r.jsx(g.CloseNavBarDesktop, { size: 34, className: "rotate-0 transition-transform duration-300" })
|
|
882
941
|
}
|
|
883
|
-
) }),
|
|
942
|
+
) }), Be = ({ logoUrl: t, companyName: e }) => /* @__PURE__ */ r.jsx("div", { className: "w-full flex justify-center items-center p-2 h-20", children: /* @__PURE__ */ r.jsx(
|
|
884
943
|
"img",
|
|
885
944
|
{
|
|
886
945
|
src: t,
|
|
@@ -888,31 +947,31 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
888
947
|
alt: e ?? ""
|
|
889
948
|
}
|
|
890
949
|
) });
|
|
891
|
-
function
|
|
950
|
+
function Re({
|
|
892
951
|
onFilesAccepted: t,
|
|
893
952
|
onFilesRejected: e,
|
|
894
|
-
...
|
|
953
|
+
...a
|
|
895
954
|
}) {
|
|
896
|
-
const o =
|
|
955
|
+
const o = k.useCallback(
|
|
897
956
|
(i, s) => {
|
|
898
957
|
i.length > 0 && t?.(i), s.length > 0 && e?.(s);
|
|
899
958
|
},
|
|
900
959
|
[t, e]
|
|
901
|
-
), n =
|
|
960
|
+
), n = F({
|
|
902
961
|
onDrop: o,
|
|
903
|
-
...
|
|
962
|
+
...a
|
|
904
963
|
});
|
|
905
964
|
return {
|
|
906
965
|
...n,
|
|
907
966
|
hasErrors: n.fileRejections.length > 0
|
|
908
967
|
};
|
|
909
968
|
}
|
|
910
|
-
const
|
|
911
|
-
const
|
|
912
|
-
return
|
|
969
|
+
const Te = (t, e = !0) => {
|
|
970
|
+
const a = h(null);
|
|
971
|
+
return j(() => {
|
|
913
972
|
if (!e) return;
|
|
914
973
|
const o = (n) => {
|
|
915
|
-
|
|
974
|
+
a.current && !a.current.contains(n.target) && t();
|
|
916
975
|
};
|
|
917
976
|
return document.addEventListener("mousedown", o, {
|
|
918
977
|
capture: !0
|
|
@@ -925,76 +984,77 @@ const je = (t, e = !0) => {
|
|
|
925
984
|
capture: !0
|
|
926
985
|
});
|
|
927
986
|
};
|
|
928
|
-
}, [t, e]),
|
|
987
|
+
}, [t, e]), a;
|
|
929
988
|
};
|
|
930
989
|
export {
|
|
931
|
-
|
|
990
|
+
qe as Avatar,
|
|
932
991
|
L as Badge,
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
Pt as
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
992
|
+
De as Button,
|
|
993
|
+
Oe as CardProfile,
|
|
994
|
+
Pe as ChangueAccount,
|
|
995
|
+
He as CheckBox,
|
|
996
|
+
$e as CheckboxFormik,
|
|
997
|
+
Be as CompanyLogo,
|
|
998
|
+
Lt as DatePicker,
|
|
999
|
+
Ue as DialogModal,
|
|
1000
|
+
Ge as DrawerDesktop,
|
|
1001
|
+
Je as DrawerMobile,
|
|
1002
|
+
br as DropZone,
|
|
1003
|
+
U as FAButton,
|
|
1004
|
+
Ye as Header,
|
|
1005
|
+
g as Icons,
|
|
1006
|
+
ar as Image,
|
|
1007
|
+
tr as ImageGallery,
|
|
1008
|
+
tt as Input,
|
|
1009
|
+
at as InputFormik,
|
|
1010
|
+
nt as InputMultiple,
|
|
1011
|
+
Qt as LayoutGeneric,
|
|
1012
|
+
st as Logo,
|
|
1013
|
+
ct as Menu,
|
|
1014
|
+
je as NavBarActions,
|
|
1015
|
+
Ie as NavbarCollapseButton,
|
|
1016
|
+
Ce as NavbarLinks,
|
|
1017
|
+
Ne as NavigationLink,
|
|
1018
|
+
fr as OtpInput,
|
|
1019
|
+
ut as Pagination,
|
|
1020
|
+
mt as ProfilePictureUpload,
|
|
1021
|
+
xt as ProgressBar,
|
|
1022
|
+
ge as SecondaryBar,
|
|
1023
|
+
Jt as SegmentedButton,
|
|
1024
|
+
vt as Select,
|
|
1025
|
+
wt as SelectFormik,
|
|
1026
|
+
gt as SelectFormikLegacy,
|
|
1027
|
+
dr as SelectSearch,
|
|
1028
|
+
we as Sidebar,
|
|
1029
|
+
J as SidebarProvider,
|
|
1030
|
+
Yt as SidebarRefProvider,
|
|
1031
|
+
Xt as Skeleton,
|
|
1032
|
+
jt as Spinner,
|
|
1033
|
+
St as Steps,
|
|
1034
|
+
It as SwipeContainer,
|
|
1035
|
+
Rt as Switch,
|
|
1036
|
+
$t as TabLinks,
|
|
1037
|
+
qt as Table,
|
|
1038
|
+
zt as TableBody,
|
|
1039
|
+
Dt as TableCaption,
|
|
1040
|
+
Et as TableCell,
|
|
1041
|
+
Ot as TableFooter,
|
|
1042
|
+
Pt as TableHead,
|
|
1043
|
+
Ft as TableHeader,
|
|
1044
|
+
Ht as TableRow,
|
|
1045
|
+
Ut as TextArea,
|
|
1046
|
+
nr as Toast,
|
|
1047
|
+
lr as ToastProvider,
|
|
1048
|
+
_t as Tooltip,
|
|
1049
|
+
ir as toastpyrion,
|
|
1050
|
+
Se as useActionsNavbar,
|
|
1051
|
+
Te as useClickOutside,
|
|
1052
|
+
Ve as useDialogControl,
|
|
1053
|
+
Xe as useDrawerDesktop,
|
|
1054
|
+
Ke as useDrawerMobile,
|
|
1055
|
+
Re as useFileDropzone,
|
|
1056
|
+
pr as useIsMobile,
|
|
1057
|
+
ke as useNavbarCollapse,
|
|
1058
|
+
ye as useSidebar,
|
|
999
1059
|
S as useSidebarContext
|
|
1000
1060
|
};
|