prometeo-design-system 1.6.5 → 1.6.7
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/Button.es.js +14 -16
- package/dist/Input.es.js +88 -84
- package/dist/InputFormik.es.js +56 -64
- package/dist/components/Button/Button.d.ts +1 -2
- package/dist/components/Input/Input.d.ts +3 -2
- package/dist/components/InputFormik/InputFormik.d.ts +1 -4
- package/dist/components/InputMultiple/InputMultiple.d.ts +21 -0
- package/dist/index.d.ts +0 -2
- package/dist/preview/InputsPreviews.d.ts +2 -0
- package/dist/prometeo-design-system.css +1 -1
- package/dist/prometeo-design-system.es.js +205 -387
- package/package.json +1 -5
|
@@ -1,225 +1,44 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { default 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 { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { Menu as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
1
|
+
import { default as ve } from "./Avatar.es.js";
|
|
2
|
+
import { default as we } from "./Button.es.js";
|
|
3
|
+
import { C as Ne, a as Ce } from "./CardProfile-BZajBGbO.js";
|
|
4
|
+
import { default as ke } from "./CheckBox.es.js";
|
|
5
|
+
import { default as Be } from "./CheckboxFormik.es.js";
|
|
6
|
+
import { default as Re, useDialogControl as qe } from "./DialogModal.es.js";
|
|
7
|
+
import { default as Ae, useDrawerDesktop as Te } from "./DrawerDesktop.es.js";
|
|
8
|
+
import { default as Ee, useDrawerMobile as Oe } from "./DrawerMobile.es.js";
|
|
9
|
+
import { default as Fe } from "./Header.es.js";
|
|
10
|
+
import { default as We } from "./Input.es.js";
|
|
11
|
+
import { default as Me } from "./InputFormik.es.js";
|
|
12
|
+
import { default as Ve } from "./Logo.es.js";
|
|
13
|
+
import { Menu as Xe } from "./Menu.es.js";
|
|
14
|
+
import { default as Je } from "./Pagination.es.js";
|
|
15
|
+
import { default as Qe } from "./ProgressBar.es.js";
|
|
16
|
+
import { default as _e } from "./Select.es.js";
|
|
17
|
+
import { default as tt } from "./SelectFormik.es.js";
|
|
18
|
+
import { default as rt } from "./Spinner.es.js";
|
|
19
|
+
import { default as nt } from "./SwipeContainer.es.js";
|
|
20
|
+
import { default as st } from "./TabLinks.es.js";
|
|
21
|
+
import { Table as ct, TableBody as ut, TableCaption as dt, TableCell as ft, TableFooter as pt, TableHead as mt, TableHeader as xt, TableRow as bt } from "./Table.es.js";
|
|
22
|
+
import { default as gt } from "./TextArea.es.js";
|
|
23
|
+
import { default as ht } from "./Tooltip.es.js";
|
|
24
|
+
import { u as j } from "./LayoutGeneric-jDE96L2N.js";
|
|
25
|
+
import { L as jt, S as Nt } from "./LayoutGeneric-jDE96L2N.js";
|
|
19
26
|
import { j as a } from "./jsx-runtime-ByW6EXIE.js";
|
|
20
|
-
import { c as
|
|
21
|
-
import {
|
|
27
|
+
import { c as s } from "./cn-B6yFEsav.js";
|
|
28
|
+
import { useRef as p, useState as v, useLayoutEffect as q, createContext as P, useContext as A, forwardRef as N, useCallback as T, useEffect as C } from "react";
|
|
29
|
+
import { useGSAP as S } from "@gsap/react";
|
|
30
|
+
import c from "gsap";
|
|
22
31
|
import { Icons as b } from "./Icons.es.js";
|
|
23
|
-
import {
|
|
24
|
-
import { default as
|
|
25
|
-
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
import { u as R } from "./LayoutGeneric-jDE96L2N.js";
|
|
29
|
-
import { L as Lt, S as Rt } from "./LayoutGeneric-jDE96L2N.js";
|
|
30
|
-
import { useRef as v, useState as S, useLayoutEffect as D, createContext as E, useContext as F, forwardRef as q, useCallback as z, useEffect as P } from "react";
|
|
31
|
-
import { useGSAP as $ } from "@gsap/react";
|
|
32
|
-
import p from "gsap";
|
|
33
|
-
import { default as Pt } from "./OtpInput.es.js";
|
|
34
|
-
import { DropZone as At } from "./DropZone.es.js";
|
|
35
|
-
const I = ({
|
|
36
|
-
index: t,
|
|
37
|
-
isHorizontal: e,
|
|
38
|
-
currentStep: o
|
|
39
|
-
}) => {
|
|
40
|
-
const r = t < o, n = t === o - 1;
|
|
41
|
-
return /* @__PURE__ */ a.jsxs("div", { className: `relative ${e ? "w-20 h-1" : "w-0.5 h-8"}`, children: [
|
|
42
|
-
/* @__PURE__ */ a.jsx(
|
|
43
|
-
"div",
|
|
44
|
-
{
|
|
45
|
-
className: "absolute inset-0 rounded-full bg-neutral-medium-default"
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
/* @__PURE__ */ a.jsx(
|
|
49
|
-
f.div,
|
|
50
|
-
{
|
|
51
|
-
className: "absolute inset-0 rounded-full bg-primary-default-default",
|
|
52
|
-
initial: {
|
|
53
|
-
scaleX: e ? 0 : 1,
|
|
54
|
-
scaleY: e ? 1 : 0,
|
|
55
|
-
opacity: 0
|
|
56
|
-
},
|
|
57
|
-
animate: {
|
|
58
|
-
scaleX: r ? 1 : e ? 0 : 1,
|
|
59
|
-
scaleY: r || e ? 1 : 0,
|
|
60
|
-
opacity: r ? 1 : 0
|
|
61
|
-
},
|
|
62
|
-
transition: {
|
|
63
|
-
duration: 0.2,
|
|
64
|
-
ease: "easeInOut",
|
|
65
|
-
delay: t * 0.1
|
|
66
|
-
},
|
|
67
|
-
style: {
|
|
68
|
-
originX: e ? 0 : 0.5,
|
|
69
|
-
originY: e ? 0.5 : 0
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
),
|
|
73
|
-
n && /* @__PURE__ */ a.jsx(
|
|
74
|
-
f.div,
|
|
75
|
-
{
|
|
76
|
-
className: "absolute inset-0 rounded-full bg-primary-default-default",
|
|
77
|
-
initial: {
|
|
78
|
-
scaleX: e ? 0 : 1,
|
|
79
|
-
scaleY: e ? 1 : 0,
|
|
80
|
-
opacity: 0
|
|
81
|
-
},
|
|
82
|
-
animate: {
|
|
83
|
-
scaleX: 1,
|
|
84
|
-
scaleY: 1,
|
|
85
|
-
opacity: [0, 0.3, 0]
|
|
86
|
-
},
|
|
87
|
-
transition: {
|
|
88
|
-
duration: 1.5,
|
|
89
|
-
repeat: 1 / 0,
|
|
90
|
-
ease: "easeInOut"
|
|
91
|
-
},
|
|
92
|
-
style: {
|
|
93
|
-
originX: e ? 0 : 0.5,
|
|
94
|
-
originY: e ? 0.5 : 0,
|
|
95
|
-
filter: "blur(4px)"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
)
|
|
99
|
-
] });
|
|
100
|
-
}, fe = ({
|
|
101
|
-
steps: t,
|
|
102
|
-
currentStep: e,
|
|
103
|
-
orientation: o = "horizontal",
|
|
104
|
-
variant: r = "default",
|
|
105
|
-
size: n = "md",
|
|
106
|
-
className: s = "",
|
|
107
|
-
onStepClick: l,
|
|
108
|
-
allowClickableSteps: d = !1
|
|
109
|
-
}) => {
|
|
110
|
-
const m = o === "horizontal", g = (i) => ({
|
|
111
|
-
sm: { right: "-40px", top: "16px" },
|
|
112
|
-
md: { right: "-40px", top: "20px" },
|
|
113
|
-
lg: { right: "-40px", top: "24px" }
|
|
114
|
-
})[i], x = {
|
|
115
|
-
sm: {
|
|
116
|
-
circle: "w-8 h-8 text-xs",
|
|
117
|
-
title: "text-sm",
|
|
118
|
-
description: "text-xs",
|
|
119
|
-
spacing: m ? "gap-4" : "gap-1"
|
|
120
|
-
},
|
|
121
|
-
md: {
|
|
122
|
-
circle: "w-10 h-10 text-sm",
|
|
123
|
-
title: "text-base",
|
|
124
|
-
description: "text-sm",
|
|
125
|
-
spacing: m ? "gap-3" : "gap-2"
|
|
126
|
-
},
|
|
127
|
-
lg: {
|
|
128
|
-
circle: "w-12 h-12 text-base",
|
|
129
|
-
title: "text-lg",
|
|
130
|
-
description: "text-base",
|
|
131
|
-
spacing: m ? "gap-4" : "gap-3"
|
|
132
|
-
}
|
|
133
|
-
}, h = (i) => i < e ? "completed" : i === e ? "current" : "upcoming", w = (i) => {
|
|
134
|
-
const c = `${x[n].circle} rounded-full flex items-center justify-center font-medium`;
|
|
135
|
-
switch (i) {
|
|
136
|
-
case "completed":
|
|
137
|
-
return `${c} bg-primary-default-default text-neutral-strong-default shadow-lg`;
|
|
138
|
-
case "current":
|
|
139
|
-
return `${c} border-3 border-primary text-neutral-strong-default shadow-lg duration-900`;
|
|
140
|
-
default:
|
|
141
|
-
return `${c} bg-neutral-medium-default text-neutral-medium-default`;
|
|
142
|
-
}
|
|
143
|
-
}, j = (i) => {
|
|
144
|
-
d && l && l(i);
|
|
145
|
-
}, O = m ? `flex items-center ${s}` : `space-y-0 ${s}`;
|
|
146
|
-
return /* @__PURE__ */ a.jsx("div", { className: O, children: t.map((i, c) => {
|
|
147
|
-
const y = h(c), N = d && l;
|
|
148
|
-
return /* @__PURE__ */ a.jsx("div", { className: "flex items-center", children: m ? /* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsxs("div", { className: "w-40 flex flex-col items-center relative", children: [
|
|
149
|
-
/* @__PURE__ */ a.jsx(
|
|
150
|
-
f.div,
|
|
151
|
-
{
|
|
152
|
-
className: `${w(y)} ${N ? "cursor-pointer" : ""} relative z-10`,
|
|
153
|
-
initial: { scale: 0.8, opacity: 0 },
|
|
154
|
-
animate: { scale: 1, opacity: 1 },
|
|
155
|
-
transition: { duration: 0.3, delay: c * 0.1 },
|
|
156
|
-
whileTap: N ? { scale: 0.95 } : {},
|
|
157
|
-
onClick: () => j(c),
|
|
158
|
-
children: r === "numbered" || !i.icon ? y === "completed" ? /* @__PURE__ */ a.jsx(f.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ a.jsx(b.Check, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ a.jsx("span", { children: c + 1 }) : i.icon
|
|
159
|
-
}
|
|
160
|
-
),
|
|
161
|
-
c < t.length - 1 && /* @__PURE__ */ a.jsx(
|
|
162
|
-
"div",
|
|
163
|
-
{
|
|
164
|
-
className: "absolute",
|
|
165
|
-
style: g(n),
|
|
166
|
-
children: /* @__PURE__ */ a.jsx(
|
|
167
|
-
I,
|
|
168
|
-
{
|
|
169
|
-
index: c,
|
|
170
|
-
isHorizontal: m,
|
|
171
|
-
currentStep: e
|
|
172
|
-
}
|
|
173
|
-
)
|
|
174
|
-
}
|
|
175
|
-
),
|
|
176
|
-
r !== "minimal" && i.description && /* @__PURE__ */ a.jsx("p", { className: u(
|
|
177
|
-
x[n].description,
|
|
178
|
-
"text-gray-400 mt-2 text-center max-w-full",
|
|
179
|
-
y === "current" ? "text-neutral-strong-default font-semibold text-sm" : "text-neutral-medium-default"
|
|
180
|
-
), children: i.description })
|
|
181
|
-
] }) }) : /* @__PURE__ */ a.jsxs("div", { className: "relative flex w-36", children: [
|
|
182
|
-
/* @__PURE__ */ a.jsxs("div", { className: "flex flex-col items-center w-full", children: [
|
|
183
|
-
/* @__PURE__ */ a.jsx(
|
|
184
|
-
f.div,
|
|
185
|
-
{
|
|
186
|
-
className: `${w(y)} ${N ? "cursor-pointer" : ""}`,
|
|
187
|
-
initial: { scale: 0.8, opacity: 0 },
|
|
188
|
-
animate: { scale: 1, opacity: 1 },
|
|
189
|
-
transition: { duration: 0.3, delay: c * 0.1 },
|
|
190
|
-
whileTap: N ? { scale: 0.95 } : {},
|
|
191
|
-
onClick: () => j(c),
|
|
192
|
-
children: r === "numbered" || !i.icon ? y === "completed" ? /* @__PURE__ */ a.jsx(f.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ a.jsx(b.Check, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ a.jsx("span", { children: c + 1 }) : i.icon
|
|
193
|
-
}
|
|
194
|
-
),
|
|
195
|
-
c < t.length - 1 && /* @__PURE__ */ a.jsx(
|
|
196
|
-
I,
|
|
197
|
-
{
|
|
198
|
-
index: c,
|
|
199
|
-
isHorizontal: m,
|
|
200
|
-
currentStep: e
|
|
201
|
-
}
|
|
202
|
-
)
|
|
203
|
-
] }),
|
|
204
|
-
r !== "minimal" && /* @__PURE__ */ a.jsx(
|
|
205
|
-
f.div,
|
|
206
|
-
{
|
|
207
|
-
className: `absolute -right-30 ml-4 top-3 gap-3 flex flex-col w-full ${x[n].spacing} flex h-full`,
|
|
208
|
-
initial: { opacity: 0, x: -10 },
|
|
209
|
-
animate: { opacity: 1, x: 0 },
|
|
210
|
-
transition: { duration: 0.3, delay: c * 0.1 + 0.1 },
|
|
211
|
-
children: i.description && /* @__PURE__ */ a.jsx("p", { className: u(x[n].description, "text-gray-400", y === "current" ? "text-neutral-strong-default font-semibold text-sm" : "text-neutral-medium-default"), children: i.description })
|
|
212
|
-
}
|
|
213
|
-
)
|
|
214
|
-
] }) }, i.id);
|
|
215
|
-
}) });
|
|
216
|
-
}, W = (t, e) => {
|
|
217
|
-
$(
|
|
32
|
+
import { motion as d, AnimatePresence as k } from "framer-motion";
|
|
33
|
+
import { default as St } from "./OtpInput.es.js";
|
|
34
|
+
import { DropZone as It } from "./DropZone.es.js";
|
|
35
|
+
const D = (t, e) => {
|
|
36
|
+
S(
|
|
218
37
|
() => {
|
|
219
38
|
if (!t.current) return;
|
|
220
39
|
const o = t.current, r = document.querySelector('[data-main-content="true"]');
|
|
221
40
|
if (e) {
|
|
222
|
-
|
|
41
|
+
c.fromTo(
|
|
223
42
|
o,
|
|
224
43
|
{
|
|
225
44
|
width: "0rem",
|
|
@@ -231,13 +50,13 @@ const I = ({
|
|
|
231
50
|
duration: 0.4,
|
|
232
51
|
ease: "power2.out"
|
|
233
52
|
}
|
|
234
|
-
), r &&
|
|
53
|
+
), r && c.to(r, {
|
|
235
54
|
marginLeft: o.offsetWidth + "px",
|
|
236
55
|
duration: 0.4,
|
|
237
56
|
ease: "power2.out"
|
|
238
57
|
});
|
|
239
58
|
const n = o.querySelectorAll(".secondary-bar-content > *");
|
|
240
|
-
n.length > 0 &&
|
|
59
|
+
n.length > 0 && c.fromTo(
|
|
241
60
|
n,
|
|
242
61
|
{
|
|
243
62
|
y: 20,
|
|
@@ -253,12 +72,12 @@ const I = ({
|
|
|
253
72
|
}
|
|
254
73
|
);
|
|
255
74
|
} else
|
|
256
|
-
|
|
75
|
+
c.to(o, {
|
|
257
76
|
width: "0rem",
|
|
258
77
|
opacity: 0,
|
|
259
78
|
duration: 0.3,
|
|
260
79
|
ease: "power2.in"
|
|
261
|
-
}), r &&
|
|
80
|
+
}), r && c.to(r, {
|
|
262
81
|
marginLeft: "0px",
|
|
263
82
|
duration: 0.3,
|
|
264
83
|
ease: "power2.in"
|
|
@@ -266,31 +85,31 @@ const I = ({
|
|
|
266
85
|
},
|
|
267
86
|
{ scope: t, dependencies: [e] }
|
|
268
87
|
);
|
|
269
|
-
},
|
|
88
|
+
}, w = ({
|
|
270
89
|
children: t,
|
|
271
90
|
isOpen: e = !1,
|
|
272
91
|
className: o = "",
|
|
273
92
|
width: r = "w-96",
|
|
274
93
|
action: n,
|
|
275
|
-
primarySidebarCollapsed:
|
|
94
|
+
primarySidebarCollapsed: i,
|
|
276
95
|
onClose: l
|
|
277
96
|
}) => {
|
|
278
|
-
const
|
|
279
|
-
return
|
|
97
|
+
const u = p(null), [f, m] = v({ left: 0, width: 0 }), { primarySidebarRef: x } = j();
|
|
98
|
+
return q(() => {
|
|
280
99
|
if (x?.current) {
|
|
281
|
-
const
|
|
282
|
-
|
|
283
|
-
left:
|
|
284
|
-
width:
|
|
100
|
+
const g = x.current.getBoundingClientRect();
|
|
101
|
+
m({
|
|
102
|
+
left: g.width,
|
|
103
|
+
width: g.width
|
|
285
104
|
});
|
|
286
105
|
}
|
|
287
|
-
}, [x, e,
|
|
106
|
+
}, [x, e, i]), D(u, e), /* @__PURE__ */ a.jsx(a.Fragment, { children: e && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
288
107
|
/* @__PURE__ */ a.jsx(
|
|
289
108
|
"div",
|
|
290
109
|
{
|
|
291
110
|
className: "fixed inset-0 bg-black/95 z-20",
|
|
292
111
|
style: {
|
|
293
|
-
left:
|
|
112
|
+
left: f.left
|
|
294
113
|
},
|
|
295
114
|
onClick: l
|
|
296
115
|
}
|
|
@@ -298,47 +117,47 @@ const I = ({
|
|
|
298
117
|
/* @__PURE__ */ a.jsx(
|
|
299
118
|
"div",
|
|
300
119
|
{
|
|
301
|
-
ref:
|
|
302
|
-
className:
|
|
120
|
+
ref: u,
|
|
121
|
+
className: s(
|
|
303
122
|
"h-screen bg-neutral-default-default border-r-1 border-neutral-strong-default flex flex-col secondary-bar flex-shrink-0",
|
|
304
123
|
"absolute top-0 z-30",
|
|
305
124
|
r,
|
|
306
125
|
o
|
|
307
126
|
),
|
|
308
127
|
style: {
|
|
309
|
-
left:
|
|
128
|
+
left: f.left
|
|
310
129
|
},
|
|
311
130
|
"data-action": n,
|
|
312
131
|
children: /* @__PURE__ */ a.jsx("div", { className: "secondary-bar-content", children: t })
|
|
313
132
|
}
|
|
314
133
|
)
|
|
315
134
|
] }) });
|
|
316
|
-
},
|
|
317
|
-
Root:
|
|
318
|
-
Header:
|
|
319
|
-
Content:
|
|
320
|
-
Footer:
|
|
321
|
-
Spacer:
|
|
322
|
-
}),
|
|
135
|
+
}, E = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: s("h-16 ", e), children: t }), O = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: s("flex-1 overflow-y-auto p-4", e), children: t }), z = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: s("p-4 border-t border-neutral-strong-default", e), children: t }), F = ({ className: t }) => /* @__PURE__ */ a.jsx("div", { className: s("flex-1", t) }), ie = Object.assign(w, {
|
|
136
|
+
Root: w,
|
|
137
|
+
Header: E,
|
|
138
|
+
Content: O,
|
|
139
|
+
Footer: z,
|
|
140
|
+
Spacer: F
|
|
141
|
+
}), I = P(
|
|
323
142
|
void 0
|
|
324
|
-
),
|
|
325
|
-
const t =
|
|
143
|
+
), se = () => {
|
|
144
|
+
const t = A(I);
|
|
326
145
|
if (!t)
|
|
327
146
|
throw new Error("useSidebar must be used within a Sidebar.Root");
|
|
328
147
|
return t;
|
|
329
|
-
},
|
|
148
|
+
}, H = ({
|
|
330
149
|
children: t
|
|
331
150
|
}) => {
|
|
332
|
-
const [e, o] =
|
|
151
|
+
const [e, o] = v(!1), [r, n] = v(!1), i = p(null), l = () => {
|
|
333
152
|
o(!1), n(!1);
|
|
334
|
-
},
|
|
153
|
+
}, u = () => {
|
|
335
154
|
o(!0), n(!1);
|
|
336
|
-
},
|
|
155
|
+
}, L = {
|
|
337
156
|
isCollapsed: e,
|
|
338
157
|
setIsCollapsed: o,
|
|
339
|
-
navbarRef:
|
|
158
|
+
navbarRef: i,
|
|
340
159
|
toggleCollapse: () => {
|
|
341
|
-
e ? l() :
|
|
160
|
+
e ? l() : u();
|
|
342
161
|
},
|
|
343
162
|
activeSecondaryBar: r ? "notifications" : null,
|
|
344
163
|
openSecondaryBar: () => {
|
|
@@ -348,22 +167,22 @@ const I = ({
|
|
|
348
167
|
n(!1);
|
|
349
168
|
},
|
|
350
169
|
toggleSecondaryBar: () => {
|
|
351
|
-
n((
|
|
170
|
+
n((R) => !R);
|
|
352
171
|
}
|
|
353
172
|
};
|
|
354
|
-
return /* @__PURE__ */ a.jsx(
|
|
355
|
-
},
|
|
356
|
-
|
|
173
|
+
return /* @__PURE__ */ a.jsx(I.Provider, { value: L, children: t });
|
|
174
|
+
}, y = (t, e, o, r) => e && (Array.isArray(e) ? e.length > 0 : e) ? t.to(e, o, r) : t, W = (t, e, o) => {
|
|
175
|
+
S(
|
|
357
176
|
() => {
|
|
358
177
|
if (!t.current) return;
|
|
359
|
-
const r =
|
|
178
|
+
const r = c.timeline({
|
|
360
179
|
defaults: { duration: 0.7, ease: "power1.out" }
|
|
361
180
|
}), n = {
|
|
362
181
|
navbar: t.current,
|
|
363
|
-
navLabels:
|
|
364
|
-
navIconWrappers:
|
|
365
|
-
navIcons:
|
|
366
|
-
navLinkItems:
|
|
182
|
+
navLabels: c.utils.toArray(".nav-label"),
|
|
183
|
+
navIconWrappers: c.utils.toArray(".nav-icon-wrapper"),
|
|
184
|
+
navIcons: c.utils.toArray(".nav-icon"),
|
|
185
|
+
navLinkItems: c.utils.toArray(".nav-link-item"),
|
|
367
186
|
logoutButton: document.querySelector(".logout-button"),
|
|
368
187
|
logoutLabel: document.querySelector(".logout-label"),
|
|
369
188
|
logoutIcon: document.querySelector(".logout-icon"),
|
|
@@ -391,14 +210,14 @@ const I = ({
|
|
|
391
210
|
),
|
|
392
211
|
// Secondary bar elements
|
|
393
212
|
secondaryBar: document.querySelector(".secondary-bar"),
|
|
394
|
-
secondaryBarContent:
|
|
395
|
-
badgeInLink:
|
|
213
|
+
secondaryBarContent: c.utils.toArray(".secondary-bar *"),
|
|
214
|
+
badgeInLink: c.utils.toArray(".badge-in-link")
|
|
396
215
|
};
|
|
397
|
-
e ?
|
|
216
|
+
e ? $(r, n) : M(r, n), n.secondaryBar && U(n.secondaryBar);
|
|
398
217
|
},
|
|
399
218
|
{ scope: t, dependencies: [e, o] }
|
|
400
219
|
);
|
|
401
|
-
},
|
|
220
|
+
}, $ = (t, e) => {
|
|
402
221
|
t.to(e.navbar, {
|
|
403
222
|
width: "5rem",
|
|
404
223
|
duration: 0.2,
|
|
@@ -457,7 +276,7 @@ const I = ({
|
|
|
457
276
|
marginLeft: 0
|
|
458
277
|
},
|
|
459
278
|
0
|
|
460
|
-
).to(e.navIcons, { scale: 0.95, ease: "elastic.out(1, 0.3)" }, 0),
|
|
279
|
+
).to(e.navIcons, { scale: 0.95, ease: "elastic.out(1, 0.3)" }, 0), y(
|
|
461
280
|
t,
|
|
462
281
|
e.buttonCrevron,
|
|
463
282
|
{
|
|
@@ -470,7 +289,7 @@ const I = ({
|
|
|
470
289
|
}
|
|
471
290
|
},
|
|
472
291
|
0
|
|
473
|
-
),
|
|
292
|
+
), y(
|
|
474
293
|
t,
|
|
475
294
|
e.buttonContentChevron,
|
|
476
295
|
{
|
|
@@ -537,7 +356,7 @@ const I = ({
|
|
|
537
356
|
},
|
|
538
357
|
-1
|
|
539
358
|
);
|
|
540
|
-
},
|
|
359
|
+
}, M = (t, e) => {
|
|
541
360
|
t.to(e.navbar, { width: "20rem" }, -1).to(
|
|
542
361
|
e.navLinkItems,
|
|
543
362
|
{
|
|
@@ -547,7 +366,7 @@ const I = ({
|
|
|
547
366
|
justifyContent: "flex-start"
|
|
548
367
|
},
|
|
549
368
|
-1
|
|
550
|
-
),
|
|
369
|
+
), y(
|
|
551
370
|
t,
|
|
552
371
|
e.buttonCrevron,
|
|
553
372
|
{
|
|
@@ -560,7 +379,7 @@ const I = ({
|
|
|
560
379
|
}
|
|
561
380
|
},
|
|
562
381
|
0
|
|
563
|
-
),
|
|
382
|
+
), y(
|
|
564
383
|
t,
|
|
565
384
|
e.buttonContentChevron,
|
|
566
385
|
{
|
|
@@ -665,21 +484,21 @@ const I = ({
|
|
|
665
484
|
},
|
|
666
485
|
0
|
|
667
486
|
).to(e.navIcons, { scale: 1 }, 0.3);
|
|
668
|
-
},
|
|
669
|
-
|
|
487
|
+
}, U = (t, e) => {
|
|
488
|
+
c.to(t, {
|
|
670
489
|
x: "-100%",
|
|
671
490
|
opacity: 0,
|
|
672
491
|
duration: 0.3,
|
|
673
492
|
ease: "power2.in"
|
|
674
493
|
});
|
|
675
|
-
},
|
|
494
|
+
}, V = N(
|
|
676
495
|
({ children: t, isCollapsed: e = !1, className: o = "" }, r) => {
|
|
677
|
-
const n =
|
|
678
|
-
n.current =
|
|
496
|
+
const n = p(null), { registerPrimarySidebar: i } = j(), l = T((u) => {
|
|
497
|
+
n.current = u, typeof r == "function" ? r(u) : r && (r.current = u);
|
|
679
498
|
}, [r]);
|
|
680
|
-
return
|
|
681
|
-
n.current &&
|
|
682
|
-
}, [
|
|
499
|
+
return C(() => {
|
|
500
|
+
n.current && i(n);
|
|
501
|
+
}, [i]), W(n, e, !1), /* @__PURE__ */ a.jsx(
|
|
683
502
|
"div",
|
|
684
503
|
{
|
|
685
504
|
ref: l,
|
|
@@ -689,11 +508,11 @@ const I = ({
|
|
|
689
508
|
}
|
|
690
509
|
);
|
|
691
510
|
}
|
|
692
|
-
),
|
|
693
|
-
(t, e) => /* @__PURE__ */ a.jsx(
|
|
511
|
+
), h = N(
|
|
512
|
+
(t, e) => /* @__PURE__ */ a.jsx(H, { children: /* @__PURE__ */ a.jsx(V, { ...t, ref: e }) })
|
|
694
513
|
);
|
|
695
|
-
|
|
696
|
-
const
|
|
514
|
+
h.displayName = "SidebarRoot";
|
|
515
|
+
const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("div", { className: s("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade", t && ""), children: /* @__PURE__ */ a.jsx(
|
|
697
516
|
"button",
|
|
698
517
|
{
|
|
699
518
|
onClick: e,
|
|
@@ -702,7 +521,7 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
702
521
|
className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
|
|
703
522
|
children: t ? /* @__PURE__ */ a.jsx(b.CloseNavBarDesktop, { size: 24, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ a.jsx(b.CloseNavBarDesktop, { size: 24, className: "rotate-0 transition-transform duration-300" })
|
|
704
523
|
}
|
|
705
|
-
) }),
|
|
524
|
+
) }), X = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: `${e} sidebar-header`, children: t }), Z = ({ className: t }) => /* @__PURE__ */ a.jsx("div", { className: s("px-3 flex justify-center items-center w-full mb-4", t), children: /* @__PURE__ */ a.jsx("div", { className: "border-b border-neutral-strong-default border-1 w-full" }) }), J = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: e, children: t }), K = ({ className: t, size: e = "auto" }) => {
|
|
706
525
|
const o = () => {
|
|
707
526
|
switch (e) {
|
|
708
527
|
case "auto":
|
|
@@ -715,36 +534,36 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
715
534
|
return "h-8 w-8";
|
|
716
535
|
}
|
|
717
536
|
};
|
|
718
|
-
return /* @__PURE__ */ a.jsx("div", { className:
|
|
719
|
-
},
|
|
720
|
-
Root:
|
|
721
|
-
CollapseButton:
|
|
722
|
-
Header:
|
|
723
|
-
Divider:
|
|
724
|
-
Content:
|
|
725
|
-
Spacer:
|
|
726
|
-
Footer:
|
|
727
|
-
}),
|
|
537
|
+
return /* @__PURE__ */ a.jsx("div", { className: s(o(), t) });
|
|
538
|
+
}, Q = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: e, children: t }), le = Object.assign(h, {
|
|
539
|
+
Root: h,
|
|
540
|
+
CollapseButton: G,
|
|
541
|
+
Header: X,
|
|
542
|
+
Divider: Z,
|
|
543
|
+
Content: J,
|
|
544
|
+
Spacer: K,
|
|
545
|
+
Footer: Q
|
|
546
|
+
}), ce = ({
|
|
728
547
|
children: t,
|
|
729
548
|
icon: e,
|
|
730
549
|
label: o,
|
|
731
550
|
href: r,
|
|
732
551
|
onClick: n,
|
|
733
|
-
isActive:
|
|
552
|
+
isActive: i = !1,
|
|
734
553
|
className: l
|
|
735
554
|
}) => {
|
|
736
|
-
const
|
|
555
|
+
const u = r ? "a" : "button";
|
|
737
556
|
return /* @__PURE__ */ a.jsxs(
|
|
738
|
-
|
|
557
|
+
u,
|
|
739
558
|
{
|
|
740
559
|
href: r,
|
|
741
560
|
onClick: n,
|
|
742
|
-
className:
|
|
561
|
+
className: s(
|
|
743
562
|
"nav-link-item",
|
|
744
563
|
"flex items-center w-full px-3 py-2 text-left",
|
|
745
564
|
"hover:bg-neutral-medium-default transition-colors rounded-lg",
|
|
746
565
|
"focus:outline-none focus:ring-2 focus:ring-primary-default-default",
|
|
747
|
-
|
|
566
|
+
i && "bg-neutral-medium-default",
|
|
748
567
|
l
|
|
749
568
|
),
|
|
750
569
|
children: [
|
|
@@ -754,39 +573,39 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
754
573
|
]
|
|
755
574
|
}
|
|
756
575
|
);
|
|
757
|
-
},
|
|
576
|
+
}, B = ({
|
|
758
577
|
count: t,
|
|
759
578
|
maxCount: e = 9,
|
|
760
579
|
className: o = "",
|
|
761
580
|
size: r = "medium",
|
|
762
581
|
variant: n = "primary",
|
|
763
|
-
showZero:
|
|
582
|
+
showZero: i = !1
|
|
764
583
|
}) => {
|
|
765
|
-
const l = t,
|
|
766
|
-
if (l === 0 && !
|
|
767
|
-
const
|
|
584
|
+
const l = t, u = l > e ? `+${e}` : l;
|
|
585
|
+
if (l === 0 && !i) return null;
|
|
586
|
+
const f = {
|
|
768
587
|
small: "w-4.5 h-4.5 text-xs ",
|
|
769
588
|
medium: "w-5 h-5 text-xs",
|
|
770
589
|
large: "w-6 h-6 text-sm"
|
|
771
|
-
},
|
|
590
|
+
}, m = {
|
|
772
591
|
primary: "bg-primary-default-default text-neutral-strong-default",
|
|
773
592
|
secondary: "bg-neutral-medium-default text-neutral-strong-default",
|
|
774
593
|
success: "bg-green-500 text-white",
|
|
775
594
|
warning: "bg-yellow-500 text-black",
|
|
776
595
|
danger: "bg-red-500 text-white"
|
|
777
596
|
};
|
|
778
|
-
return /* @__PURE__ */ a.jsx("div", { className:
|
|
597
|
+
return /* @__PURE__ */ a.jsx("div", { className: s(
|
|
779
598
|
"rounded-full flex items-center justify-center font-medium ",
|
|
780
|
-
|
|
781
|
-
|
|
599
|
+
f[r],
|
|
600
|
+
m[n],
|
|
782
601
|
o
|
|
783
|
-
), children: /* @__PURE__ */ a.jsx("span", { children:
|
|
784
|
-
},
|
|
602
|
+
), children: /* @__PURE__ */ a.jsx("span", { children: u }) });
|
|
603
|
+
}, ue = ({
|
|
785
604
|
linkActions: t,
|
|
786
605
|
onClick: e,
|
|
787
606
|
activeAction: o
|
|
788
607
|
}) => /* @__PURE__ */ a.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((r, n) => r.isView && r.viewAccess() && /* @__PURE__ */ a.jsx(
|
|
789
|
-
|
|
608
|
+
d.div,
|
|
790
609
|
{
|
|
791
610
|
initial: { opacity: 0 },
|
|
792
611
|
animate: { opacity: 1 },
|
|
@@ -802,15 +621,15 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
802
621
|
onClick: () => {
|
|
803
622
|
e?.(r.action);
|
|
804
623
|
},
|
|
805
|
-
className:
|
|
624
|
+
className: s(
|
|
806
625
|
"nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
|
|
807
626
|
"transition-all duration-300 ease-out w-full",
|
|
808
627
|
"group hover:bg-neutral-medium-selected",
|
|
809
628
|
o === r.action ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
|
|
810
629
|
),
|
|
811
630
|
children: [
|
|
812
|
-
/* @__PURE__ */ a.jsx(
|
|
813
|
-
|
|
631
|
+
/* @__PURE__ */ a.jsx(k, { mode: "wait", children: o === r.action && /* @__PURE__ */ a.jsx(
|
|
632
|
+
d.div,
|
|
814
633
|
{
|
|
815
634
|
layoutId: "nav-active-bg",
|
|
816
635
|
className: "absolute inset-0 bg-neutral-medium-selected rounded-lg",
|
|
@@ -825,7 +644,7 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
825
644
|
}
|
|
826
645
|
) }),
|
|
827
646
|
/* @__PURE__ */ a.jsxs(
|
|
828
|
-
|
|
647
|
+
d.div,
|
|
829
648
|
{
|
|
830
649
|
className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
|
|
831
650
|
animate: {
|
|
@@ -838,7 +657,7 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
838
657
|
children: [
|
|
839
658
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
840
659
|
/* @__PURE__ */ a.jsx(
|
|
841
|
-
|
|
660
|
+
d.div,
|
|
842
661
|
{
|
|
843
662
|
className: "nav-icon-wrapper flex items-center justify-center flex-shrink-0",
|
|
844
663
|
animate: {
|
|
@@ -850,7 +669,7 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
850
669
|
},
|
|
851
670
|
children: typeof r.icon == "function" ? r.icon({
|
|
852
671
|
size: 24,
|
|
853
|
-
className:
|
|
672
|
+
className: s(
|
|
854
673
|
"nav-icon transition-colors duration-250 ease-out",
|
|
855
674
|
o === r.action ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
|
|
856
675
|
)
|
|
@@ -859,7 +678,7 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
859
678
|
),
|
|
860
679
|
/* @__PURE__ */ a.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: r.title })
|
|
861
680
|
] }),
|
|
862
|
-
/* @__PURE__ */ a.jsx("div", { className: "badge-in-link", children: r.count && r?.count >= 1 ? /* @__PURE__ */ a.jsx(
|
|
681
|
+
/* @__PURE__ */ a.jsx("div", { className: "badge-in-link", children: r.count && r?.count >= 1 ? /* @__PURE__ */ a.jsx(B, { count: r.count, maxCount: 9, className: "" }) : "" })
|
|
863
682
|
]
|
|
864
683
|
}
|
|
865
684
|
)
|
|
@@ -868,16 +687,16 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
868
687
|
)
|
|
869
688
|
},
|
|
870
689
|
n
|
|
871
|
-
)) }),
|
|
690
|
+
)) }), de = ({
|
|
872
691
|
links: t,
|
|
873
692
|
isLinkActive: e,
|
|
874
693
|
onLinkClick: o
|
|
875
694
|
}) => /* @__PURE__ */ a.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((r, n) => {
|
|
876
|
-
const
|
|
695
|
+
const i = e(r.path) || (r.relatedPaths?.some(
|
|
877
696
|
(l) => e(l)
|
|
878
697
|
) ?? !1);
|
|
879
698
|
return r.isView && r.viewAccess() && /* @__PURE__ */ a.jsx(
|
|
880
|
-
|
|
699
|
+
d.div,
|
|
881
700
|
{
|
|
882
701
|
initial: { opacity: 0 },
|
|
883
702
|
animate: { opacity: 1 },
|
|
@@ -893,15 +712,15 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
893
712
|
onClick: () => {
|
|
894
713
|
o?.(r.path);
|
|
895
714
|
},
|
|
896
|
-
className:
|
|
715
|
+
className: s(
|
|
897
716
|
"nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
|
|
898
717
|
"transition-all duration-300 ease-out w-full",
|
|
899
718
|
"group hover:bg-neutral-medium-selected",
|
|
900
|
-
|
|
719
|
+
i ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
|
|
901
720
|
),
|
|
902
721
|
children: [
|
|
903
|
-
/* @__PURE__ */ a.jsx(
|
|
904
|
-
|
|
722
|
+
/* @__PURE__ */ a.jsx(k, { mode: "wait", children: i && /* @__PURE__ */ a.jsx(
|
|
723
|
+
d.div,
|
|
905
724
|
{
|
|
906
725
|
layoutId: "nav-active-bg",
|
|
907
726
|
className: "absolute inset-0 bg-neutral-medium-selected rounded-lg",
|
|
@@ -916,7 +735,7 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
916
735
|
}
|
|
917
736
|
) }),
|
|
918
737
|
/* @__PURE__ */ a.jsxs(
|
|
919
|
-
|
|
738
|
+
d.div,
|
|
920
739
|
{
|
|
921
740
|
className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
|
|
922
741
|
animate: {
|
|
@@ -929,11 +748,11 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
929
748
|
children: [
|
|
930
749
|
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
931
750
|
/* @__PURE__ */ a.jsx(
|
|
932
|
-
|
|
751
|
+
d.div,
|
|
933
752
|
{
|
|
934
753
|
className: "nav-icon-wrapper flex items-center justify-center flex-shrink-0",
|
|
935
754
|
animate: {
|
|
936
|
-
scale:
|
|
755
|
+
scale: i ? 1.05 : 1
|
|
937
756
|
},
|
|
938
757
|
transition: {
|
|
939
758
|
duration: 0.25,
|
|
@@ -941,16 +760,16 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
941
760
|
},
|
|
942
761
|
children: typeof r.icon == "function" ? r.icon({
|
|
943
762
|
size: 24,
|
|
944
|
-
className:
|
|
763
|
+
className: s(
|
|
945
764
|
"nav-icon transition-colors duration-250 ease-out",
|
|
946
|
-
|
|
765
|
+
i ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
|
|
947
766
|
)
|
|
948
767
|
}) : null
|
|
949
768
|
}
|
|
950
769
|
),
|
|
951
770
|
/* @__PURE__ */ a.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: r.title })
|
|
952
771
|
] }),
|
|
953
|
-
/* @__PURE__ */ a.jsx("div", { className: "badge-in-link", children: r.count && r.count ? /* @__PURE__ */ a.jsx(
|
|
772
|
+
/* @__PURE__ */ a.jsx("div", { className: "badge-in-link", children: r.count && r.count ? /* @__PURE__ */ a.jsx(B, { count: r.count, maxCount: 9, className: "" }) : "" })
|
|
954
773
|
]
|
|
955
774
|
}
|
|
956
775
|
)
|
|
@@ -960,18 +779,18 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
960
779
|
},
|
|
961
780
|
n
|
|
962
781
|
);
|
|
963
|
-
}) }),
|
|
782
|
+
}) }), fe = ({
|
|
964
783
|
isActiveModalNotification: t,
|
|
965
784
|
setIsActiveModalNotification: e
|
|
966
785
|
}) => ({ handleNotificationClick: () => {
|
|
967
786
|
e(!0);
|
|
968
|
-
}, isActiveModalNotification: t }),
|
|
969
|
-
const e =
|
|
787
|
+
}, isActiveModalNotification: t }), pe = (t) => {
|
|
788
|
+
const e = p(null);
|
|
970
789
|
return {
|
|
971
790
|
isCollapsed: t,
|
|
972
791
|
navbarRef: e
|
|
973
792
|
};
|
|
974
|
-
},
|
|
793
|
+
}, me = ({
|
|
975
794
|
isCollapsed: t,
|
|
976
795
|
onToggle: e
|
|
977
796
|
}) => /* @__PURE__ */ a.jsx("div", { className: "", children: /* @__PURE__ */ a.jsx(
|
|
@@ -983,16 +802,16 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
983
802
|
className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
|
|
984
803
|
children: t ? /* @__PURE__ */ a.jsx(b.CloseNavBarDesktop, { size: 34, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ a.jsx(b.CloseNavBarDesktop, { size: 34, className: "rotate-0 transition-transform duration-300" })
|
|
985
804
|
}
|
|
986
|
-
) }),
|
|
805
|
+
) }), xe = ({ logoUrl: t, companyName: e }) => /* @__PURE__ */ a.jsx("div", { className: "w-full flex justify-center items-center p-2 h-20", children: /* @__PURE__ */ a.jsx(
|
|
987
806
|
"img",
|
|
988
807
|
{
|
|
989
808
|
src: t,
|
|
990
809
|
className: "h-2/3 rounded-full",
|
|
991
810
|
alt: e ?? ""
|
|
992
811
|
}
|
|
993
|
-
) }),
|
|
994
|
-
const o =
|
|
995
|
-
return
|
|
812
|
+
) }), be = (t, e = !0) => {
|
|
813
|
+
const o = p(null);
|
|
814
|
+
return C(() => {
|
|
996
815
|
if (!e) return;
|
|
997
816
|
const r = (n) => {
|
|
998
817
|
o.current && !o.current.contains(n.target) && t();
|
|
@@ -1011,58 +830,57 @@ const Q = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
1011
830
|
}, [t, e]), o;
|
|
1012
831
|
};
|
|
1013
832
|
export {
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
833
|
+
ve as Avatar,
|
|
834
|
+
B as Badge,
|
|
835
|
+
we as Button,
|
|
836
|
+
Ne as CardProfile,
|
|
837
|
+
Ce as ChangueAccount,
|
|
838
|
+
ke as CheckBox,
|
|
839
|
+
Be as CheckboxFormik,
|
|
840
|
+
xe as CompanyLogo,
|
|
841
|
+
Re as DialogModal,
|
|
842
|
+
Ae as DrawerDesktop,
|
|
843
|
+
Ee as DrawerMobile,
|
|
844
|
+
It as DropZone,
|
|
845
|
+
Fe as Header,
|
|
1027
846
|
b as Icons,
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
R as useSidebarContext
|
|
847
|
+
We as Input,
|
|
848
|
+
Me as InputFormik,
|
|
849
|
+
jt as LayoutGeneric,
|
|
850
|
+
Ve as Logo,
|
|
851
|
+
Xe as Menu,
|
|
852
|
+
ue as NavBarActions,
|
|
853
|
+
me as NavbarCollapseButton,
|
|
854
|
+
de as NavbarLinks,
|
|
855
|
+
ce as NavigationLink,
|
|
856
|
+
St as OtpInput,
|
|
857
|
+
Je as Pagination,
|
|
858
|
+
Qe as ProgressBar,
|
|
859
|
+
ie as SecondaryBar,
|
|
860
|
+
_e as Select,
|
|
861
|
+
tt as SelectFormik,
|
|
862
|
+
le as Sidebar,
|
|
863
|
+
H as SidebarProvider,
|
|
864
|
+
Nt as SidebarRefProvider,
|
|
865
|
+
rt as Spinner,
|
|
866
|
+
nt as SwipeContainer,
|
|
867
|
+
st as TabLinks,
|
|
868
|
+
ct as Table,
|
|
869
|
+
ut as TableBody,
|
|
870
|
+
dt as TableCaption,
|
|
871
|
+
ft as TableCell,
|
|
872
|
+
pt as TableFooter,
|
|
873
|
+
mt as TableHead,
|
|
874
|
+
xt as TableHeader,
|
|
875
|
+
bt as TableRow,
|
|
876
|
+
gt as TextArea,
|
|
877
|
+
ht as Tooltip,
|
|
878
|
+
fe as useActionsNavbar,
|
|
879
|
+
be as useClickOutside,
|
|
880
|
+
qe as useDialogControl,
|
|
881
|
+
Te as useDrawerDesktop,
|
|
882
|
+
Oe as useDrawerMobile,
|
|
883
|
+
pe as useNavbarCollapse,
|
|
884
|
+
se as useSidebar,
|
|
885
|
+
j as useSidebarContext
|
|
1068
886
|
};
|