anima-ds-nucleus 1.0.18 → 1.0.19
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/anima-ds.cjs.js +28 -28
- package/dist/anima-ds.esm.js +880 -900
- package/package.json +1 -1
- package/src/components/Layout/Sidebar/SidebarCore.jsx +197 -241
package/dist/anima-ds.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { DataGrid as
|
|
5
|
-
import { Box as
|
|
2
|
+
import Be, { useState as H, useEffect as g0, useRef as ge, useMemo as _0 } from "react";
|
|
3
|
+
import { useTranslation as p0, initReactI18next as Ge, I18nextProvider as qe } from "react-i18next";
|
|
4
|
+
import { DataGrid as Xe } from "@mui/x-data-grid";
|
|
5
|
+
import { Box as Ye } from "@mui/material";
|
|
6
6
|
import G0 from "react-apexcharts";
|
|
7
|
-
import
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
function
|
|
11
|
-
if (
|
|
12
|
-
|
|
13
|
-
var a =
|
|
7
|
+
import fe from "i18next";
|
|
8
|
+
var se = { exports: {} }, J0 = {};
|
|
9
|
+
var xe;
|
|
10
|
+
function Ke() {
|
|
11
|
+
if (xe) return J0;
|
|
12
|
+
xe = 1;
|
|
13
|
+
var a = Be, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, c = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
14
14
|
function s(i, d, f) {
|
|
15
15
|
var w, v = {}, b = null, h = null;
|
|
16
16
|
f !== void 0 && (b = "" + f), d.key !== void 0 && (b = "" + d.key), d.ref !== void 0 && (h = d.ref);
|
|
@@ -20,11 +20,11 @@ function K5() {
|
|
|
20
20
|
}
|
|
21
21
|
return J0.Fragment = t, J0.jsx = s, J0.jsxs = s, J0;
|
|
22
22
|
}
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
function
|
|
26
|
-
return
|
|
27
|
-
var a =
|
|
23
|
+
var ee = {};
|
|
24
|
+
var Re;
|
|
25
|
+
function Qe() {
|
|
26
|
+
return Re || (Re = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
27
|
+
var a = Be, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), M = Symbol.iterator, g = "@@iterator";
|
|
28
28
|
function j(o) {
|
|
29
29
|
if (o === null || typeof o != "object")
|
|
30
30
|
return null;
|
|
@@ -34,41 +34,41 @@ function Q5() {
|
|
|
34
34
|
var p = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
35
35
|
function E(o) {
|
|
36
36
|
{
|
|
37
|
-
for (var m = arguments.length, R = new Array(m > 1 ? m - 1 : 0),
|
|
38
|
-
R[
|
|
37
|
+
for (var m = arguments.length, R = new Array(m > 1 ? m - 1 : 0), k = 1; k < m; k++)
|
|
38
|
+
R[k - 1] = arguments[k];
|
|
39
39
|
A("error", o, R);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
function A(o, m, R) {
|
|
43
43
|
{
|
|
44
|
-
var
|
|
45
|
-
|
|
46
|
-
var
|
|
47
|
-
return String(
|
|
44
|
+
var k = p.ReactDebugCurrentFrame, D = k.getStackAddendum();
|
|
45
|
+
D !== "" && (m += "%s", R = R.concat([D]));
|
|
46
|
+
var P = R.map(function(I) {
|
|
47
|
+
return String(I);
|
|
48
48
|
});
|
|
49
|
-
|
|
49
|
+
P.unshift("Warning: " + m), Function.prototype.apply.call(console[o], console, P);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var V = !1, C = !1, W = !1, _ = !1, q = !1, y;
|
|
53
53
|
y = Symbol.for("react.module.reference");
|
|
54
|
-
function
|
|
55
|
-
return !!(typeof o == "string" || typeof o == "function" || o === n || o === u || q || o === c || o === f || o === w || _ || o === h ||
|
|
54
|
+
function B(o) {
|
|
55
|
+
return !!(typeof o == "string" || typeof o == "function" || o === n || o === u || q || o === c || o === f || o === w || _ || o === h || V || C || W || typeof o == "object" && o !== null && (o.$$typeof === b || o.$$typeof === v || o.$$typeof === s || o.$$typeof === i || o.$$typeof === d || // This needs to include all possible module reference object
|
|
56
56
|
// types supported by any Flight configuration anywhere since
|
|
57
57
|
// we don't know which Flight build this will end up being used
|
|
58
58
|
// with.
|
|
59
59
|
o.$$typeof === y || o.getModuleId !== void 0));
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
var
|
|
63
|
-
if (
|
|
64
|
-
return
|
|
65
|
-
var
|
|
66
|
-
return
|
|
61
|
+
function U(o, m, R) {
|
|
62
|
+
var k = o.displayName;
|
|
63
|
+
if (k)
|
|
64
|
+
return k;
|
|
65
|
+
var D = m.displayName || m.name || "";
|
|
66
|
+
return D !== "" ? R + "(" + D + ")" : R;
|
|
67
67
|
}
|
|
68
68
|
function K(o) {
|
|
69
69
|
return o.displayName || "Context";
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function S(o) {
|
|
72
72
|
if (o == null)
|
|
73
73
|
return null;
|
|
74
74
|
if (typeof o.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
@@ -98,14 +98,14 @@ function Q5() {
|
|
|
98
98
|
var R = o;
|
|
99
99
|
return K(R._context) + ".Provider";
|
|
100
100
|
case d:
|
|
101
|
-
return
|
|
101
|
+
return U(o, o.render, "ForwardRef");
|
|
102
102
|
case v:
|
|
103
|
-
var
|
|
104
|
-
return
|
|
103
|
+
var k = o.displayName || null;
|
|
104
|
+
return k !== null ? k : S(o.type) || "Memo";
|
|
105
105
|
case b: {
|
|
106
|
-
var
|
|
106
|
+
var D = o, P = D._payload, I = D._init;
|
|
107
107
|
try {
|
|
108
|
-
return
|
|
108
|
+
return S(I(P));
|
|
109
109
|
} catch {
|
|
110
110
|
return null;
|
|
111
111
|
}
|
|
@@ -113,18 +113,18 @@ function Q5() {
|
|
|
113
113
|
}
|
|
114
114
|
return null;
|
|
115
115
|
}
|
|
116
|
-
var G = Object.assign,
|
|
117
|
-
function
|
|
116
|
+
var G = Object.assign, n0 = 0, J, $, O, Q, t0, f0, b0;
|
|
117
|
+
function x0() {
|
|
118
118
|
}
|
|
119
|
-
|
|
119
|
+
x0.__reactDisabledLog = !0;
|
|
120
120
|
function M0() {
|
|
121
121
|
{
|
|
122
|
-
if (
|
|
123
|
-
J = console.log, $ = console.info,
|
|
122
|
+
if (n0 === 0) {
|
|
123
|
+
J = console.log, $ = console.info, O = console.warn, Q = console.error, t0 = console.group, f0 = console.groupCollapsed, b0 = console.groupEnd;
|
|
124
124
|
var o = {
|
|
125
125
|
configurable: !0,
|
|
126
126
|
enumerable: !0,
|
|
127
|
-
value:
|
|
127
|
+
value: x0,
|
|
128
128
|
writable: !0
|
|
129
129
|
};
|
|
130
130
|
Object.defineProperties(console, {
|
|
@@ -137,12 +137,12 @@ function Q5() {
|
|
|
137
137
|
groupEnd: o
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
-
|
|
140
|
+
n0++;
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function h0() {
|
|
144
144
|
{
|
|
145
|
-
if (
|
|
145
|
+
if (n0--, n0 === 0) {
|
|
146
146
|
var o = {
|
|
147
147
|
configurable: !0,
|
|
148
148
|
enumerable: !0,
|
|
@@ -156,34 +156,34 @@ function Q5() {
|
|
|
156
156
|
value: $
|
|
157
157
|
}),
|
|
158
158
|
warn: G({}, o, {
|
|
159
|
-
value:
|
|
159
|
+
value: O
|
|
160
160
|
}),
|
|
161
161
|
error: G({}, o, {
|
|
162
162
|
value: Q
|
|
163
163
|
}),
|
|
164
164
|
group: G({}, o, {
|
|
165
|
-
value:
|
|
165
|
+
value: t0
|
|
166
166
|
}),
|
|
167
167
|
groupCollapsed: G({}, o, {
|
|
168
168
|
value: f0
|
|
169
169
|
}),
|
|
170
170
|
groupEnd: G({}, o, {
|
|
171
|
-
value:
|
|
171
|
+
value: b0
|
|
172
172
|
})
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
|
|
175
|
+
n0 < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
var
|
|
178
|
+
var a0 = p.ReactCurrentDispatcher, C0;
|
|
179
179
|
function R0(o, m, R) {
|
|
180
180
|
{
|
|
181
181
|
if (C0 === void 0)
|
|
182
182
|
try {
|
|
183
183
|
throw Error();
|
|
184
|
-
} catch (
|
|
185
|
-
var
|
|
186
|
-
C0 =
|
|
184
|
+
} catch (D) {
|
|
185
|
+
var k = D.stack.trim().match(/\n( *(at )?)/);
|
|
186
|
+
C0 = k && k[1] || "";
|
|
187
187
|
}
|
|
188
188
|
return `
|
|
189
189
|
` + C0 + o;
|
|
@@ -202,57 +202,57 @@ function Q5() {
|
|
|
202
202
|
if (R !== void 0)
|
|
203
203
|
return R;
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var k;
|
|
206
206
|
A0 = !0;
|
|
207
|
-
var
|
|
207
|
+
var D = Error.prepareStackTrace;
|
|
208
208
|
Error.prepareStackTrace = void 0;
|
|
209
|
-
var
|
|
210
|
-
|
|
209
|
+
var P;
|
|
210
|
+
P = a0.current, a0.current = null, M0();
|
|
211
211
|
try {
|
|
212
212
|
if (m) {
|
|
213
|
-
var
|
|
213
|
+
var I = function() {
|
|
214
214
|
throw Error();
|
|
215
215
|
};
|
|
216
|
-
if (Object.defineProperty(
|
|
216
|
+
if (Object.defineProperty(I.prototype, "props", {
|
|
217
217
|
set: function() {
|
|
218
218
|
throw Error();
|
|
219
219
|
}
|
|
220
220
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
221
221
|
try {
|
|
222
|
-
Reflect.construct(
|
|
222
|
+
Reflect.construct(I, []);
|
|
223
223
|
} catch (c0) {
|
|
224
|
-
|
|
224
|
+
k = c0;
|
|
225
225
|
}
|
|
226
|
-
Reflect.construct(o, [],
|
|
226
|
+
Reflect.construct(o, [], I);
|
|
227
227
|
} else {
|
|
228
228
|
try {
|
|
229
|
-
|
|
229
|
+
I.call();
|
|
230
230
|
} catch (c0) {
|
|
231
|
-
|
|
231
|
+
k = c0;
|
|
232
232
|
}
|
|
233
|
-
o.call(
|
|
233
|
+
o.call(I.prototype);
|
|
234
234
|
}
|
|
235
235
|
} else {
|
|
236
236
|
try {
|
|
237
237
|
throw Error();
|
|
238
238
|
} catch (c0) {
|
|
239
|
-
|
|
239
|
+
k = c0;
|
|
240
240
|
}
|
|
241
241
|
o();
|
|
242
242
|
}
|
|
243
243
|
} catch (c0) {
|
|
244
|
-
if (c0 &&
|
|
245
|
-
for (var
|
|
246
|
-
`),
|
|
247
|
-
`), X =
|
|
244
|
+
if (c0 && k && typeof c0.stack == "string") {
|
|
245
|
+
for (var F = c0.stack.split(`
|
|
246
|
+
`), r0 = k.stack.split(`
|
|
247
|
+
`), X = F.length - 1, Y = r0.length - 1; X >= 1 && Y >= 0 && F[X] !== r0[Y]; )
|
|
248
248
|
Y--;
|
|
249
249
|
for (; X >= 1 && Y >= 0; X--, Y--)
|
|
250
|
-
if (
|
|
250
|
+
if (F[X] !== r0[Y]) {
|
|
251
251
|
if (X !== 1 || Y !== 1)
|
|
252
252
|
do
|
|
253
|
-
if (X--, Y--, Y < 0 ||
|
|
253
|
+
if (X--, Y--, Y < 0 || F[X] !== r0[Y]) {
|
|
254
254
|
var s0 = `
|
|
255
|
-
` +
|
|
255
|
+
` + F[X].replace(" at new ", " at ");
|
|
256
256
|
return o.displayName && s0.includes("<anonymous>") && (s0 = s0.replace("<anonymous>", o.displayName)), typeof o == "function" && E0.set(o, s0), s0;
|
|
257
257
|
}
|
|
258
258
|
while (X >= 1 && Y >= 0);
|
|
@@ -260,7 +260,7 @@ function Q5() {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
} finally {
|
|
263
|
-
A0 = !1,
|
|
263
|
+
A0 = !1, a0.current = P, h0(), Error.prepareStackTrace = D;
|
|
264
264
|
}
|
|
265
265
|
var T0 = o ? o.displayName || o.name : "", V0 = T0 ? R0(T0) : "";
|
|
266
266
|
return typeof o == "function" && E0.set(o, V0), V0;
|
|
@@ -272,7 +272,7 @@ function Q5() {
|
|
|
272
272
|
var m = o.prototype;
|
|
273
273
|
return !!(m && m.isReactComponent);
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function m0(o, m, R) {
|
|
276
276
|
if (o == null)
|
|
277
277
|
return "";
|
|
278
278
|
if (typeof o == "function")
|
|
@@ -290,11 +290,11 @@ function Q5() {
|
|
|
290
290
|
case d:
|
|
291
291
|
return j0(o.render);
|
|
292
292
|
case v:
|
|
293
|
-
return
|
|
293
|
+
return m0(o.type, m, R);
|
|
294
294
|
case b: {
|
|
295
|
-
var
|
|
295
|
+
var k = o, D = k._payload, P = k._init;
|
|
296
296
|
try {
|
|
297
|
-
return
|
|
297
|
+
return m0(P(D), m, R);
|
|
298
298
|
} catch {
|
|
299
299
|
}
|
|
300
300
|
}
|
|
@@ -304,27 +304,27 @@ function Q5() {
|
|
|
304
304
|
var Z0 = Object.prototype.hasOwnProperty, D0 = {}, N0 = p.ReactDebugCurrentFrame;
|
|
305
305
|
function $0(o) {
|
|
306
306
|
if (o) {
|
|
307
|
-
var m = o._owner, R =
|
|
307
|
+
var m = o._owner, R = m0(o.type, o._source, m ? m.type : null);
|
|
308
308
|
N0.setExtraStackFrame(R);
|
|
309
309
|
} else
|
|
310
310
|
N0.setExtraStackFrame(null);
|
|
311
311
|
}
|
|
312
|
-
function X0(o, m, R,
|
|
312
|
+
function X0(o, m, R, k, D) {
|
|
313
313
|
{
|
|
314
|
-
var
|
|
315
|
-
for (var
|
|
316
|
-
if (
|
|
317
|
-
var
|
|
314
|
+
var P = Function.call.bind(Z0);
|
|
315
|
+
for (var I in o)
|
|
316
|
+
if (P(o, I)) {
|
|
317
|
+
var F = void 0;
|
|
318
318
|
try {
|
|
319
|
-
if (typeof o[
|
|
320
|
-
var
|
|
321
|
-
throw
|
|
319
|
+
if (typeof o[I] != "function") {
|
|
320
|
+
var r0 = Error((k || "React class") + ": " + R + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
321
|
+
throw r0.name = "Invariant Violation", r0;
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
F = o[I](m, I, k, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
324
324
|
} catch (X) {
|
|
325
|
-
|
|
325
|
+
F = X;
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
F && !(F instanceof Error) && ($0(D), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", k || "React class", R, I, typeof F), $0(null)), F instanceof Error && !(F.message in D0) && (D0[F.message] = !0, $0(D), E("Failed %s type: %s", R, F.message), $0(null));
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
}
|
|
@@ -332,13 +332,13 @@ function Q5() {
|
|
|
332
332
|
function L0(o) {
|
|
333
333
|
return Y0(o);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function le(o) {
|
|
336
336
|
{
|
|
337
337
|
var m = typeof Symbol == "function" && Symbol.toStringTag, R = m && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
338
338
|
return R;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function oe(o) {
|
|
342
342
|
try {
|
|
343
343
|
return O0(o), !1;
|
|
344
344
|
} catch {
|
|
@@ -348,11 +348,11 @@ function Q5() {
|
|
|
348
348
|
function O0(o) {
|
|
349
349
|
return "" + o;
|
|
350
350
|
}
|
|
351
|
-
function
|
|
352
|
-
if (
|
|
353
|
-
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
351
|
+
function T(o) {
|
|
352
|
+
if (oe(o))
|
|
353
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", le(o)), O0(o);
|
|
354
354
|
}
|
|
355
|
-
var
|
|
355
|
+
var N = p.ReactCurrentOwner, v0 = {
|
|
356
356
|
key: !0,
|
|
357
357
|
ref: !0,
|
|
358
358
|
__self: !0,
|
|
@@ -375,9 +375,9 @@ function Q5() {
|
|
|
375
375
|
return o.key !== void 0;
|
|
376
376
|
}
|
|
377
377
|
function i0(o, m) {
|
|
378
|
-
typeof o.ref == "string" &&
|
|
378
|
+
typeof o.ref == "string" && N.current;
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function z(o, m) {
|
|
381
381
|
{
|
|
382
382
|
var R = function() {
|
|
383
383
|
k0 || (k0 = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", m));
|
|
@@ -399,70 +399,70 @@ function Q5() {
|
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
var W0 = function(o, m, R,
|
|
403
|
-
var
|
|
402
|
+
var W0 = function(o, m, R, k, D, P, I) {
|
|
403
|
+
var F = {
|
|
404
404
|
// This tag allows us to uniquely identify this as a React Element
|
|
405
405
|
$$typeof: r,
|
|
406
406
|
// Built-in properties that belong on the element
|
|
407
407
|
type: o,
|
|
408
408
|
key: m,
|
|
409
409
|
ref: R,
|
|
410
|
-
props:
|
|
410
|
+
props: I,
|
|
411
411
|
// Record the component responsible for creating this element.
|
|
412
|
-
_owner:
|
|
412
|
+
_owner: P
|
|
413
413
|
};
|
|
414
|
-
return
|
|
414
|
+
return F._store = {}, Object.defineProperty(F._store, "validated", {
|
|
415
415
|
configurable: !1,
|
|
416
416
|
enumerable: !1,
|
|
417
417
|
writable: !0,
|
|
418
418
|
value: !1
|
|
419
|
-
}), Object.defineProperty(
|
|
419
|
+
}), Object.defineProperty(F, "_self", {
|
|
420
420
|
configurable: !1,
|
|
421
421
|
enumerable: !1,
|
|
422
422
|
writable: !1,
|
|
423
|
-
value:
|
|
424
|
-
}), Object.defineProperty(
|
|
423
|
+
value: k
|
|
424
|
+
}), Object.defineProperty(F, "_source", {
|
|
425
425
|
configurable: !1,
|
|
426
426
|
enumerable: !1,
|
|
427
427
|
writable: !1,
|
|
428
|
-
value:
|
|
429
|
-
}), Object.freeze && (Object.freeze(
|
|
428
|
+
value: D
|
|
429
|
+
}), Object.freeze && (Object.freeze(F.props), Object.freeze(F)), F;
|
|
430
430
|
};
|
|
431
|
-
function Q0(o, m, R,
|
|
431
|
+
function Q0(o, m, R, k, D) {
|
|
432
432
|
{
|
|
433
|
-
var
|
|
434
|
-
R !== void 0 && (
|
|
435
|
-
for (
|
|
436
|
-
Z0.call(m,
|
|
433
|
+
var P, I = {}, F = null, r0 = null;
|
|
434
|
+
R !== void 0 && (T(R), F = "" + R), H0(m) && (T(m.key), F = "" + m.key), P0(m) && (r0 = m.ref, i0(m, D));
|
|
435
|
+
for (P in m)
|
|
436
|
+
Z0.call(m, P) && !v0.hasOwnProperty(P) && (I[P] = m[P]);
|
|
437
437
|
if (o && o.defaultProps) {
|
|
438
438
|
var X = o.defaultProps;
|
|
439
|
-
for (
|
|
440
|
-
|
|
439
|
+
for (P in X)
|
|
440
|
+
I[P] === void 0 && (I[P] = X[P]);
|
|
441
441
|
}
|
|
442
|
-
if (
|
|
442
|
+
if (F || r0) {
|
|
443
443
|
var Y = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
444
|
-
|
|
444
|
+
F && z(I, Y), r0 && K0(I, Y);
|
|
445
445
|
}
|
|
446
|
-
return W0(o,
|
|
446
|
+
return W0(o, F, r0, D, k, N.current, I);
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
|
-
var
|
|
450
|
-
function
|
|
449
|
+
var w0 = p.ReactCurrentOwner, l0 = p.ReactDebugCurrentFrame;
|
|
450
|
+
function e0(o) {
|
|
451
451
|
if (o) {
|
|
452
|
-
var m = o._owner, R =
|
|
453
|
-
|
|
452
|
+
var m = o._owner, R = m0(o.type, o._source, m ? m.type : null);
|
|
453
|
+
l0.setExtraStackFrame(R);
|
|
454
454
|
} else
|
|
455
|
-
|
|
455
|
+
l0.setExtraStackFrame(null);
|
|
456
456
|
}
|
|
457
457
|
var y0;
|
|
458
458
|
y0 = !1;
|
|
459
|
-
function
|
|
459
|
+
function ce(o) {
|
|
460
460
|
return typeof o == "object" && o !== null && o.$$typeof === r;
|
|
461
461
|
}
|
|
462
462
|
function o0() {
|
|
463
463
|
{
|
|
464
|
-
if (
|
|
465
|
-
var o =
|
|
464
|
+
if (w0.current) {
|
|
465
|
+
var o = S(w0.current.type);
|
|
466
466
|
if (o)
|
|
467
467
|
return `
|
|
468
468
|
|
|
@@ -471,10 +471,10 @@ Check the render method of \`` + o + "`.";
|
|
|
471
471
|
return "";
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function we(o) {
|
|
475
475
|
return "";
|
|
476
476
|
}
|
|
477
|
-
var
|
|
477
|
+
var ie = {};
|
|
478
478
|
function d0(o) {
|
|
479
479
|
{
|
|
480
480
|
var m = o0();
|
|
@@ -493,33 +493,33 @@ Check the top-level render call using <` + R + ">.");
|
|
|
493
493
|
return;
|
|
494
494
|
o._store.validated = !0;
|
|
495
495
|
var R = d0(m);
|
|
496
|
-
if (
|
|
496
|
+
if (ie[R])
|
|
497
497
|
return;
|
|
498
|
-
|
|
499
|
-
var
|
|
500
|
-
o && o._owner && o._owner !==
|
|
498
|
+
ie[R] = !0;
|
|
499
|
+
var k = "";
|
|
500
|
+
o && o._owner && o._owner !== w0.current && (k = " It was passed a child from " + S(o._owner.type) + "."), e0(o), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', R, k), e0(null);
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function L(o, m) {
|
|
504
504
|
{
|
|
505
505
|
if (typeof o != "object")
|
|
506
506
|
return;
|
|
507
507
|
if (L0(o))
|
|
508
508
|
for (var R = 0; R < o.length; R++) {
|
|
509
|
-
var
|
|
510
|
-
|
|
509
|
+
var k = o[R];
|
|
510
|
+
ce(k) && I0(k, m);
|
|
511
511
|
}
|
|
512
|
-
else if (
|
|
512
|
+
else if (ce(o))
|
|
513
513
|
o._store && (o._store.validated = !0);
|
|
514
514
|
else if (o) {
|
|
515
|
-
var
|
|
516
|
-
if (typeof
|
|
517
|
-
for (var
|
|
518
|
-
|
|
515
|
+
var D = j(o);
|
|
516
|
+
if (typeof D == "function" && D !== o.entries)
|
|
517
|
+
for (var P = D.call(o), I; !(I = P.next()).done; )
|
|
518
|
+
ce(I.value) && I0(I.value, m);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function de(o) {
|
|
523
523
|
{
|
|
524
524
|
var m = o.type;
|
|
525
525
|
if (m == null || typeof m == "string")
|
|
@@ -534,88 +534,88 @@ Check the top-level render call using <` + R + ">.");
|
|
|
534
534
|
else
|
|
535
535
|
return;
|
|
536
536
|
if (R) {
|
|
537
|
-
var
|
|
538
|
-
X0(R, o.props, "prop",
|
|
537
|
+
var k = S(m);
|
|
538
|
+
X0(R, o.props, "prop", k, o);
|
|
539
539
|
} else if (m.PropTypes !== void 0 && !y0) {
|
|
540
540
|
y0 = !0;
|
|
541
|
-
var
|
|
542
|
-
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
541
|
+
var D = S(m);
|
|
542
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
|
|
543
543
|
}
|
|
544
544
|
typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function Ne(o) {
|
|
548
548
|
{
|
|
549
549
|
for (var m = Object.keys(o.props), R = 0; R < m.length; R++) {
|
|
550
|
-
var
|
|
551
|
-
if (
|
|
552
|
-
|
|
550
|
+
var k = m[R];
|
|
551
|
+
if (k !== "children" && k !== "key") {
|
|
552
|
+
e0(o), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), e0(null);
|
|
553
553
|
break;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
o.ref !== null && (
|
|
556
|
+
o.ref !== null && (e0(o), E("Invalid attribute `ref` supplied to `React.Fragment`."), e0(null));
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
var
|
|
560
|
-
function
|
|
559
|
+
var pe = {};
|
|
560
|
+
function be(o, m, R, k, D, P) {
|
|
561
561
|
{
|
|
562
|
-
var
|
|
563
|
-
if (!
|
|
564
|
-
var
|
|
565
|
-
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (
|
|
566
|
-
var
|
|
567
|
-
|
|
562
|
+
var I = B(o);
|
|
563
|
+
if (!I) {
|
|
564
|
+
var F = "";
|
|
565
|
+
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
566
|
+
var r0 = we();
|
|
567
|
+
r0 ? F += r0 : F += o0();
|
|
568
568
|
var X;
|
|
569
|
-
o === null ? X = "null" : L0(o) ? X = "array" : o !== void 0 && o.$$typeof === r ? (X = "<" + (
|
|
569
|
+
o === null ? X = "null" : L0(o) ? X = "array" : o !== void 0 && o.$$typeof === r ? (X = "<" + (S(o.type) || "Unknown") + " />", F = " Did you accidentally export a JSX literal instead of a component?") : X = typeof o, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", X, F);
|
|
570
570
|
}
|
|
571
|
-
var Y = Q0(o, m, R,
|
|
571
|
+
var Y = Q0(o, m, R, D, P);
|
|
572
572
|
if (Y == null)
|
|
573
573
|
return Y;
|
|
574
|
-
if (
|
|
574
|
+
if (I) {
|
|
575
575
|
var s0 = m.children;
|
|
576
576
|
if (s0 !== void 0)
|
|
577
|
-
if (
|
|
577
|
+
if (k)
|
|
578
578
|
if (L0(s0)) {
|
|
579
579
|
for (var T0 = 0; T0 < s0.length; T0++)
|
|
580
|
-
|
|
580
|
+
L(s0[T0], o);
|
|
581
581
|
Object.freeze && Object.freeze(s0);
|
|
582
582
|
} else
|
|
583
583
|
E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
584
584
|
else
|
|
585
|
-
|
|
585
|
+
L(s0, o);
|
|
586
586
|
}
|
|
587
587
|
if (Z0.call(m, "key")) {
|
|
588
|
-
var V0 =
|
|
589
|
-
return
|
|
590
|
-
}),
|
|
591
|
-
if (!
|
|
592
|
-
var
|
|
588
|
+
var V0 = S(o), c0 = Object.keys(m).filter(function(_e) {
|
|
589
|
+
return _e !== "key";
|
|
590
|
+
}), he = c0.length > 0 ? "{key: someKey, " + c0.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
591
|
+
if (!pe[V0 + he]) {
|
|
592
|
+
var ze = c0.length > 0 ? "{" + c0.join(": ..., ") + ": ...}" : "{}";
|
|
593
593
|
E(`A props object containing a "key" prop is being spread into JSX:
|
|
594
594
|
let props = %s;
|
|
595
595
|
<%s {...props} />
|
|
596
596
|
React keys must be passed directly to JSX without using spread:
|
|
597
597
|
let props = %s;
|
|
598
|
-
<%s key={someKey} {...props} />`,
|
|
598
|
+
<%s key={someKey} {...props} />`, he, V0, ze, V0), pe[V0 + he] = !0;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
return o === n ?
|
|
601
|
+
return o === n ? Ne(Y) : de(Y), Y;
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
function
|
|
605
|
-
return
|
|
604
|
+
function Pe(o, m, R) {
|
|
605
|
+
return be(o, m, R, !0);
|
|
606
606
|
}
|
|
607
|
-
function
|
|
608
|
-
return
|
|
607
|
+
function We(o, m, R) {
|
|
608
|
+
return be(o, m, R, !1);
|
|
609
609
|
}
|
|
610
|
-
var
|
|
611
|
-
|
|
612
|
-
})()),
|
|
610
|
+
var Te = We, Ue = Pe;
|
|
611
|
+
ee.Fragment = n, ee.jsx = Te, ee.jsxs = Ue;
|
|
612
|
+
})()), ee;
|
|
613
613
|
}
|
|
614
|
-
var
|
|
615
|
-
function
|
|
616
|
-
return
|
|
614
|
+
var Ee;
|
|
615
|
+
function Je() {
|
|
616
|
+
return Ee || (Ee = 1, process.env.NODE_ENV === "production" ? se.exports = Ke() : se.exports = Qe()), se.exports;
|
|
617
617
|
}
|
|
618
|
-
var l =
|
|
618
|
+
var l = Je();
|
|
619
619
|
const u0 = ({
|
|
620
620
|
texto: a,
|
|
621
621
|
children: r,
|
|
@@ -662,16 +662,16 @@ const u0 = ({
|
|
|
662
662
|
// gray-400
|
|
663
663
|
background: "#F3F4F6"
|
|
664
664
|
// gray-100
|
|
665
|
-
}, A = h[c] || h.Teal, [
|
|
665
|
+
}, A = h[c] || h.Teal, [V, C] = H(!1), W = d, _ = "font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2", q = {
|
|
666
666
|
Small: "px-3 py-1.5 text-sm rounded-md",
|
|
667
667
|
Default: "px-4 py-2 text-base rounded-lg",
|
|
668
668
|
Large: "px-6 py-3 text-lg rounded-lg"
|
|
669
|
-
}, y = ($,
|
|
670
|
-
const Q = parseInt($.slice(1, 3), 16),
|
|
671
|
-
return `rgba(${Q}, ${
|
|
672
|
-
},
|
|
669
|
+
}, y = ($, O = 1) => {
|
|
670
|
+
const Q = parseInt($.slice(1, 3), 16), t0 = parseInt($.slice(3, 5), 16), f0 = parseInt($.slice(5, 7), 16);
|
|
671
|
+
return `rgba(${Q}, ${t0}, ${f0}, ${O})`;
|
|
672
|
+
}, B = () => {
|
|
673
673
|
const $ = {};
|
|
674
|
-
if (
|
|
674
|
+
if (W) {
|
|
675
675
|
switch (v) {
|
|
676
676
|
case "Primary":
|
|
677
677
|
$.backgroundColor = E.background, $.color = E.text;
|
|
@@ -687,20 +687,20 @@ const u0 = ({
|
|
|
687
687
|
}
|
|
688
688
|
switch (v) {
|
|
689
689
|
case "Primary":
|
|
690
|
-
$.backgroundColor = A, $.color = M[c] || "#ffffff",
|
|
690
|
+
$.backgroundColor = A, $.color = M[c] || "#ffffff", V && ($.opacity = "0.9");
|
|
691
691
|
break;
|
|
692
692
|
case "Secondary":
|
|
693
|
-
const
|
|
694
|
-
$.borderColor =
|
|
693
|
+
const O = g[c] || A;
|
|
694
|
+
$.borderColor = O, $.color = O, $.borderWidth = "1px", $.borderStyle = "solid", V ? $.backgroundColor = y(O, 0.1) : $.backgroundColor = c === "Honey" || c === "Grape" ? "#ffffff" : "transparent";
|
|
695
695
|
break;
|
|
696
696
|
case "Ghost":
|
|
697
|
-
const Q = j[c] || A,
|
|
698
|
-
c === "Honey" ? ($.color =
|
|
697
|
+
const Q = j[c] || A, t0 = p[c] || A;
|
|
698
|
+
c === "Honey" ? ($.color = t0, $.backgroundColor = "#ffffff", V && ($.backgroundColor = y(Q, 0.1))) : ($.color = t0, $.backgroundColor = V ? y(Q, 0.1) : "transparent");
|
|
699
699
|
break;
|
|
700
700
|
}
|
|
701
701
|
return $;
|
|
702
702
|
}, K = (() => {
|
|
703
|
-
if (
|
|
703
|
+
if (W)
|
|
704
704
|
switch (v) {
|
|
705
705
|
case "Primary":
|
|
706
706
|
return {
|
|
@@ -745,24 +745,24 @@ const u0 = ({
|
|
|
745
745
|
disabled: "opacity-50 cursor-not-allowed"
|
|
746
746
|
};
|
|
747
747
|
}
|
|
748
|
-
})(),
|
|
748
|
+
})(), S = q[u] || q.Default, G = B(), n0 = `
|
|
749
749
|
${_}
|
|
750
|
-
${
|
|
750
|
+
${S}
|
|
751
751
|
${K.base}
|
|
752
|
-
${
|
|
752
|
+
${W ? K.disabled : "cursor-pointer"}
|
|
753
753
|
${f}
|
|
754
754
|
`.trim().replace(/\s+/g, " "), J = ($) => {
|
|
755
|
-
!
|
|
755
|
+
!W && s && s($);
|
|
756
756
|
};
|
|
757
757
|
return /* @__PURE__ */ l.jsx(
|
|
758
758
|
"button",
|
|
759
759
|
{
|
|
760
760
|
type: i,
|
|
761
|
-
className:
|
|
761
|
+
className: n0,
|
|
762
762
|
style: G,
|
|
763
|
-
disabled:
|
|
763
|
+
disabled: W,
|
|
764
764
|
onClick: J,
|
|
765
|
-
onMouseEnter: () => !
|
|
765
|
+
onMouseEnter: () => !W && C(!0),
|
|
766
766
|
onMouseLeave: () => C(!1),
|
|
767
767
|
...w,
|
|
768
768
|
children: b
|
|
@@ -829,7 +829,7 @@ const u0 = ({
|
|
|
829
829
|
c && i[c] && (v = v.replace(/font-(light|regular|medium|semibold|bold)/g, ""), v = `${v} ${i[c]}`.trim()), u && d[u] && (v = v.replace(/color-\w+(-\w+)?/g, ""), v = `${v} ${d[u]}`.trim());
|
|
830
830
|
const b = `${v} ${n}`.trim();
|
|
831
831
|
return /* @__PURE__ */ l.jsx(w, { className: b, ...s, children: t });
|
|
832
|
-
},
|
|
832
|
+
}, e5 = ({
|
|
833
833
|
children: a,
|
|
834
834
|
variant: r = "default",
|
|
835
835
|
size: t = "medium",
|
|
@@ -849,7 +849,7 @@ const u0 = ({
|
|
|
849
849
|
}, d = `${u} ${s[r]} ${i[t]} ${n}`;
|
|
850
850
|
return /* @__PURE__ */ l.jsx("span", { className: d, ...c, children: a });
|
|
851
851
|
};
|
|
852
|
-
function
|
|
852
|
+
function a5({
|
|
853
853
|
title: a,
|
|
854
854
|
titleId: r,
|
|
855
855
|
...t
|
|
@@ -872,8 +872,8 @@ function ae({
|
|
|
872
872
|
d: "M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"
|
|
873
873
|
}));
|
|
874
874
|
}
|
|
875
|
-
const
|
|
876
|
-
function
|
|
875
|
+
const r5 = /* @__PURE__ */ e.forwardRef(a5);
|
|
876
|
+
function n5({
|
|
877
877
|
title: a,
|
|
878
878
|
titleId: r,
|
|
879
879
|
...t
|
|
@@ -896,8 +896,8 @@ function ne({
|
|
|
896
896
|
d: "M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"
|
|
897
897
|
}));
|
|
898
898
|
}
|
|
899
|
-
const
|
|
900
|
-
function
|
|
899
|
+
const t5 = /* @__PURE__ */ e.forwardRef(n5);
|
|
900
|
+
function l5({
|
|
901
901
|
title: a,
|
|
902
902
|
titleId: r,
|
|
903
903
|
...t
|
|
@@ -920,8 +920,8 @@ function le({
|
|
|
920
920
|
d: "M6 13.5V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m12-3V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m-6-9V3.75m0 3.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 9.75V10.5"
|
|
921
921
|
}));
|
|
922
922
|
}
|
|
923
|
-
const
|
|
924
|
-
function
|
|
923
|
+
const o5 = /* @__PURE__ */ e.forwardRef(l5);
|
|
924
|
+
function c5({
|
|
925
925
|
title: a,
|
|
926
926
|
titleId: r,
|
|
927
927
|
...t
|
|
@@ -944,8 +944,8 @@ function ce({
|
|
|
944
944
|
d: "m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5m8.25 3v6.75m0 0-3-3m3 3 3-3M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"
|
|
945
945
|
}));
|
|
946
946
|
}
|
|
947
|
-
const
|
|
948
|
-
function
|
|
947
|
+
const i5 = /* @__PURE__ */ e.forwardRef(c5);
|
|
948
|
+
function d5({
|
|
949
949
|
title: a,
|
|
950
950
|
titleId: r,
|
|
951
951
|
...t
|
|
@@ -968,8 +968,8 @@ function de({
|
|
|
968
968
|
d: "m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5m6 4.125 2.25 2.25m0 0 2.25 2.25M12 13.875l2.25-2.25M12 13.875l-2.25 2.25M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"
|
|
969
969
|
}));
|
|
970
970
|
}
|
|
971
|
-
const
|
|
972
|
-
function
|
|
971
|
+
const s5 = /* @__PURE__ */ e.forwardRef(d5);
|
|
972
|
+
function u5({
|
|
973
973
|
title: a,
|
|
974
974
|
titleId: r,
|
|
975
975
|
...t
|
|
@@ -992,8 +992,8 @@ function ue({
|
|
|
992
992
|
d: "m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"
|
|
993
993
|
}));
|
|
994
994
|
}
|
|
995
|
-
const
|
|
996
|
-
function
|
|
995
|
+
const f5 = /* @__PURE__ */ e.forwardRef(u5);
|
|
996
|
+
function w5({
|
|
997
997
|
title: a,
|
|
998
998
|
titleId: r,
|
|
999
999
|
...t
|
|
@@ -1016,8 +1016,8 @@ function we({
|
|
|
1016
1016
|
d: "m9 12.75 3 3m0 0 3-3m-3 3v-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
1017
1017
|
}));
|
|
1018
1018
|
}
|
|
1019
|
-
const
|
|
1020
|
-
function
|
|
1019
|
+
const h5 = /* @__PURE__ */ e.forwardRef(w5);
|
|
1020
|
+
function m5({
|
|
1021
1021
|
title: a,
|
|
1022
1022
|
titleId: r,
|
|
1023
1023
|
...t
|
|
@@ -1040,8 +1040,8 @@ function me({
|
|
|
1040
1040
|
d: "m19.5 4.5-15 15m0 0h11.25m-11.25 0V8.25"
|
|
1041
1041
|
}));
|
|
1042
1042
|
}
|
|
1043
|
-
const
|
|
1044
|
-
function
|
|
1043
|
+
const v5 = /* @__PURE__ */ e.forwardRef(m5);
|
|
1044
|
+
function g5({
|
|
1045
1045
|
title: a,
|
|
1046
1046
|
titleId: r,
|
|
1047
1047
|
...t
|
|
@@ -1064,8 +1064,8 @@ function ge({
|
|
|
1064
1064
|
d: "M7.5 7.5h-.75A2.25 2.25 0 0 0 4.5 9.75v7.5a2.25 2.25 0 0 0 2.25 2.25h7.5a2.25 2.25 0 0 0 2.25-2.25v-7.5a2.25 2.25 0 0 0-2.25-2.25h-.75m-6 3.75 3 3m0 0 3-3m-3 3V1.5m6 9h.75a2.25 2.25 0 0 1 2.25 2.25v7.5a2.25 2.25 0 0 1-2.25 2.25h-7.5a2.25 2.25 0 0 1-2.25-2.25v-.75"
|
|
1065
1065
|
}));
|
|
1066
1066
|
}
|
|
1067
|
-
const
|
|
1068
|
-
function
|
|
1067
|
+
const p5 = /* @__PURE__ */ e.forwardRef(g5);
|
|
1068
|
+
function b5({
|
|
1069
1069
|
title: a,
|
|
1070
1070
|
titleId: r,
|
|
1071
1071
|
...t
|
|
@@ -1088,8 +1088,8 @@ function be({
|
|
|
1088
1088
|
d: "M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15M9 12l3 3m0 0 3-3m-3 3V2.25"
|
|
1089
1089
|
}));
|
|
1090
1090
|
}
|
|
1091
|
-
const
|
|
1092
|
-
function
|
|
1091
|
+
const x5 = /* @__PURE__ */ e.forwardRef(b5);
|
|
1092
|
+
function R5({
|
|
1093
1093
|
title: a,
|
|
1094
1094
|
titleId: r,
|
|
1095
1095
|
...t
|
|
@@ -1112,8 +1112,8 @@ function Re({
|
|
|
1112
1112
|
d: "m4.5 4.5 15 15m0 0V8.25m0 11.25H8.25"
|
|
1113
1113
|
}));
|
|
1114
1114
|
}
|
|
1115
|
-
const
|
|
1116
|
-
function
|
|
1115
|
+
const E5 = /* @__PURE__ */ e.forwardRef(R5);
|
|
1116
|
+
function Z5({
|
|
1117
1117
|
title: a,
|
|
1118
1118
|
titleId: r,
|
|
1119
1119
|
...t
|
|
@@ -1136,8 +1136,8 @@ function Ze({
|
|
|
1136
1136
|
d: "M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"
|
|
1137
1137
|
}));
|
|
1138
1138
|
}
|
|
1139
|
-
const
|
|
1140
|
-
function
|
|
1139
|
+
const y5 = /* @__PURE__ */ e.forwardRef(Z5);
|
|
1140
|
+
function M5({
|
|
1141
1141
|
title: a,
|
|
1142
1142
|
titleId: r,
|
|
1143
1143
|
...t
|
|
@@ -1160,8 +1160,8 @@ function Me({
|
|
|
1160
1160
|
d: "M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"
|
|
1161
1161
|
}));
|
|
1162
1162
|
}
|
|
1163
|
-
const
|
|
1164
|
-
function
|
|
1163
|
+
const C5 = /* @__PURE__ */ e.forwardRef(M5);
|
|
1164
|
+
function A5({
|
|
1165
1165
|
title: a,
|
|
1166
1166
|
titleId: r,
|
|
1167
1167
|
...t
|
|
@@ -1184,8 +1184,8 @@ function Ae({
|
|
|
1184
1184
|
d: "m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
1185
1185
|
}));
|
|
1186
1186
|
}
|
|
1187
|
-
const
|
|
1188
|
-
function $
|
|
1187
|
+
const j5 = /* @__PURE__ */ e.forwardRef(A5);
|
|
1188
|
+
function $5({
|
|
1189
1189
|
title: a,
|
|
1190
1190
|
titleId: r,
|
|
1191
1191
|
...t
|
|
@@ -1208,8 +1208,8 @@ function $e({
|
|
|
1208
1208
|
d: "M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75"
|
|
1209
1209
|
}));
|
|
1210
1210
|
}
|
|
1211
|
-
const
|
|
1212
|
-
function
|
|
1211
|
+
const k5 = /* @__PURE__ */ e.forwardRef($5);
|
|
1212
|
+
function B5({
|
|
1213
1213
|
title: a,
|
|
1214
1214
|
titleId: r,
|
|
1215
1215
|
...t
|
|
@@ -1232,8 +1232,8 @@ function Be({
|
|
|
1232
1232
|
d: "M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75"
|
|
1233
1233
|
}));
|
|
1234
1234
|
}
|
|
1235
|
-
const
|
|
1236
|
-
function
|
|
1235
|
+
const L5 = /* @__PURE__ */ e.forwardRef(B5);
|
|
1236
|
+
function O5({
|
|
1237
1237
|
title: a,
|
|
1238
1238
|
titleId: r,
|
|
1239
1239
|
...t
|
|
@@ -1256,8 +1256,8 @@ function Oe({
|
|
|
1256
1256
|
d: "M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15m-3 0-3-3m0 0 3-3m-3 3H15"
|
|
1257
1257
|
}));
|
|
1258
1258
|
}
|
|
1259
|
-
const
|
|
1260
|
-
function
|
|
1259
|
+
const F5 = /* @__PURE__ */ e.forwardRef(O5);
|
|
1260
|
+
function H5({
|
|
1261
1261
|
title: a,
|
|
1262
1262
|
titleId: r,
|
|
1263
1263
|
...t
|
|
@@ -1280,8 +1280,8 @@ function He({
|
|
|
1280
1280
|
d: "M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"
|
|
1281
1281
|
}));
|
|
1282
1282
|
}
|
|
1283
|
-
const
|
|
1284
|
-
function
|
|
1283
|
+
const I5 = /* @__PURE__ */ e.forwardRef(H5);
|
|
1284
|
+
function V5({
|
|
1285
1285
|
title: a,
|
|
1286
1286
|
titleId: r,
|
|
1287
1287
|
...t
|
|
@@ -1304,8 +1304,8 @@ function Ve({
|
|
|
1304
1304
|
d: "M15.75 17.25 12 21m0 0-3.75-3.75M12 21V3"
|
|
1305
1305
|
}));
|
|
1306
1306
|
}
|
|
1307
|
-
const
|
|
1308
|
-
function
|
|
1307
|
+
const S5 = /* @__PURE__ */ e.forwardRef(V5);
|
|
1308
|
+
function D5({
|
|
1309
1309
|
title: a,
|
|
1310
1310
|
titleId: r,
|
|
1311
1311
|
...t
|
|
@@ -1328,8 +1328,8 @@ function De({
|
|
|
1328
1328
|
d: "M6.75 15.75 3 12m0 0 3.75-3.75M3 12h18"
|
|
1329
1329
|
}));
|
|
1330
1330
|
}
|
|
1331
|
-
const
|
|
1332
|
-
function
|
|
1331
|
+
const N5 = /* @__PURE__ */ e.forwardRef(D5);
|
|
1332
|
+
function P5({
|
|
1333
1333
|
title: a,
|
|
1334
1334
|
titleId: r,
|
|
1335
1335
|
...t
|
|
@@ -1352,8 +1352,8 @@ function Pe({
|
|
|
1352
1352
|
d: "M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"
|
|
1353
1353
|
}));
|
|
1354
1354
|
}
|
|
1355
|
-
const
|
|
1356
|
-
function
|
|
1355
|
+
const W5 = /* @__PURE__ */ e.forwardRef(P5);
|
|
1356
|
+
function T5({
|
|
1357
1357
|
title: a,
|
|
1358
1358
|
titleId: r,
|
|
1359
1359
|
...t
|
|
@@ -1376,8 +1376,8 @@ function Te({
|
|
|
1376
1376
|
d: "M8.25 6.75 12 3m0 0 3.75 3.75M12 3v18"
|
|
1377
1377
|
}));
|
|
1378
1378
|
}
|
|
1379
|
-
const
|
|
1380
|
-
function
|
|
1379
|
+
const U5 = /* @__PURE__ */ e.forwardRef(T5);
|
|
1380
|
+
function z5({
|
|
1381
1381
|
title: a,
|
|
1382
1382
|
titleId: r,
|
|
1383
1383
|
...t
|
|
@@ -1400,8 +1400,8 @@ function ze({
|
|
|
1400
1400
|
d: "M19.5 12c0-1.232-.046-2.453-.138-3.662a4.006 4.006 0 0 0-3.7-3.7 48.678 48.678 0 0 0-7.324 0 4.006 4.006 0 0 0-3.7 3.7c-.017.22-.032.441-.046.662M19.5 12l3-3m-3 3-3-3m-12 3c0 1.232.046 2.453.138 3.662a4.006 4.006 0 0 0 3.7 3.7 48.656 48.656 0 0 0 7.324 0 4.006 4.006 0 0 0 3.7-3.7c.017-.22.032-.441.046-.662M4.5 12l3 3m-3-3-3 3"
|
|
1401
1401
|
}));
|
|
1402
1402
|
}
|
|
1403
|
-
const
|
|
1404
|
-
function
|
|
1403
|
+
const _5 = /* @__PURE__ */ e.forwardRef(z5);
|
|
1404
|
+
function G5({
|
|
1405
1405
|
title: a,
|
|
1406
1406
|
titleId: r,
|
|
1407
1407
|
...t
|
|
@@ -1424,8 +1424,8 @@ function Ge({
|
|
|
1424
1424
|
d: "M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"
|
|
1425
1425
|
}));
|
|
1426
1426
|
}
|
|
1427
|
-
const
|
|
1428
|
-
function
|
|
1427
|
+
const q5 = /* @__PURE__ */ e.forwardRef(G5);
|
|
1428
|
+
function X5({
|
|
1429
1429
|
title: a,
|
|
1430
1430
|
titleId: r,
|
|
1431
1431
|
...t
|
|
@@ -1448,8 +1448,8 @@ function Xe({
|
|
|
1448
1448
|
d: "m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
1449
1449
|
}));
|
|
1450
1450
|
}
|
|
1451
|
-
const
|
|
1452
|
-
function
|
|
1451
|
+
const Y5 = /* @__PURE__ */ e.forwardRef(X5);
|
|
1452
|
+
function K5({
|
|
1453
1453
|
title: a,
|
|
1454
1454
|
titleId: r,
|
|
1455
1455
|
...t
|
|
@@ -1472,8 +1472,8 @@ function Ke({
|
|
|
1472
1472
|
d: "M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"
|
|
1473
1473
|
}));
|
|
1474
1474
|
}
|
|
1475
|
-
const
|
|
1476
|
-
function
|
|
1475
|
+
const Q5 = /* @__PURE__ */ e.forwardRef(K5);
|
|
1476
|
+
function J5({
|
|
1477
1477
|
title: a,
|
|
1478
1478
|
titleId: r,
|
|
1479
1479
|
...t
|
|
@@ -1496,7 +1496,7 @@ function Je({
|
|
|
1496
1496
|
d: "M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"
|
|
1497
1497
|
}));
|
|
1498
1498
|
}
|
|
1499
|
-
const e1 = /* @__PURE__ */ e.forwardRef(
|
|
1499
|
+
const e1 = /* @__PURE__ */ e.forwardRef(J5);
|
|
1500
1500
|
function a1({
|
|
1501
1501
|
title: a,
|
|
1502
1502
|
titleId: r,
|
|
@@ -8675,34 +8675,34 @@ function ai({
|
|
|
8675
8675
|
d: "M6 18 18 6M6 6l12 12"
|
|
8676
8676
|
}));
|
|
8677
8677
|
}
|
|
8678
|
-
const ri = /* @__PURE__ */ e.forwardRef(ai),
|
|
8678
|
+
const ri = /* @__PURE__ */ e.forwardRef(ai), Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8679
8679
|
__proto__: null,
|
|
8680
|
-
AcademicCapIcon:
|
|
8681
|
-
AdjustmentsHorizontalIcon:
|
|
8682
|
-
AdjustmentsVerticalIcon:
|
|
8683
|
-
ArchiveBoxArrowDownIcon:
|
|
8684
|
-
ArchiveBoxIcon:
|
|
8685
|
-
ArchiveBoxXMarkIcon:
|
|
8686
|
-
ArrowDownCircleIcon:
|
|
8687
|
-
ArrowDownIcon:
|
|
8688
|
-
ArrowDownLeftIcon:
|
|
8689
|
-
ArrowDownOnSquareIcon:
|
|
8690
|
-
ArrowDownOnSquareStackIcon:
|
|
8691
|
-
ArrowDownRightIcon:
|
|
8692
|
-
ArrowDownTrayIcon:
|
|
8693
|
-
ArrowLeftCircleIcon:
|
|
8694
|
-
ArrowLeftEndOnRectangleIcon:
|
|
8695
|
-
ArrowLeftIcon:
|
|
8696
|
-
ArrowLeftOnRectangleIcon:
|
|
8697
|
-
ArrowLeftStartOnRectangleIcon:
|
|
8698
|
-
ArrowLongDownIcon:
|
|
8699
|
-
ArrowLongLeftIcon:
|
|
8700
|
-
ArrowLongRightIcon:
|
|
8701
|
-
ArrowLongUpIcon:
|
|
8702
|
-
ArrowPathIcon:
|
|
8703
|
-
ArrowPathRoundedSquareIcon:
|
|
8704
|
-
ArrowRightCircleIcon:
|
|
8705
|
-
ArrowRightEndOnRectangleIcon:
|
|
8680
|
+
AcademicCapIcon: r5,
|
|
8681
|
+
AdjustmentsHorizontalIcon: t5,
|
|
8682
|
+
AdjustmentsVerticalIcon: o5,
|
|
8683
|
+
ArchiveBoxArrowDownIcon: i5,
|
|
8684
|
+
ArchiveBoxIcon: f5,
|
|
8685
|
+
ArchiveBoxXMarkIcon: s5,
|
|
8686
|
+
ArrowDownCircleIcon: h5,
|
|
8687
|
+
ArrowDownIcon: C5,
|
|
8688
|
+
ArrowDownLeftIcon: v5,
|
|
8689
|
+
ArrowDownOnSquareIcon: x5,
|
|
8690
|
+
ArrowDownOnSquareStackIcon: p5,
|
|
8691
|
+
ArrowDownRightIcon: E5,
|
|
8692
|
+
ArrowDownTrayIcon: y5,
|
|
8693
|
+
ArrowLeftCircleIcon: j5,
|
|
8694
|
+
ArrowLeftEndOnRectangleIcon: k5,
|
|
8695
|
+
ArrowLeftIcon: I5,
|
|
8696
|
+
ArrowLeftOnRectangleIcon: L5,
|
|
8697
|
+
ArrowLeftStartOnRectangleIcon: F5,
|
|
8698
|
+
ArrowLongDownIcon: S5,
|
|
8699
|
+
ArrowLongLeftIcon: N5,
|
|
8700
|
+
ArrowLongRightIcon: W5,
|
|
8701
|
+
ArrowLongUpIcon: U5,
|
|
8702
|
+
ArrowPathIcon: q5,
|
|
8703
|
+
ArrowPathRoundedSquareIcon: _5,
|
|
8704
|
+
ArrowRightCircleIcon: Y5,
|
|
8705
|
+
ArrowRightEndOnRectangleIcon: Q5,
|
|
8706
8706
|
ArrowRightIcon: t1,
|
|
8707
8707
|
ArrowRightOnRectangleIcon: e1,
|
|
8708
8708
|
ArrowRightStartOnRectangleIcon: r1,
|
|
@@ -16203,7 +16203,7 @@ function rv({
|
|
|
16203
16203
|
clipRule: "evenodd"
|
|
16204
16204
|
}));
|
|
16205
16205
|
}
|
|
16206
|
-
const nv = /* @__PURE__ */ e.forwardRef(rv),
|
|
16206
|
+
const nv = /* @__PURE__ */ e.forwardRef(rv), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16207
16207
|
__proto__: null,
|
|
16208
16208
|
AcademicCapIcon: ti,
|
|
16209
16209
|
AdjustmentsHorizontalIcon: oi,
|
|
@@ -23631,7 +23631,7 @@ function rj({
|
|
|
23631
23631
|
d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"
|
|
23632
23632
|
}));
|
|
23633
23633
|
}
|
|
23634
|
-
const nj = /* @__PURE__ */ e.forwardRef(rj),
|
|
23634
|
+
const nj = /* @__PURE__ */ e.forwardRef(rj), Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23635
23635
|
__proto__: null,
|
|
23636
23636
|
AcademicCapIcon: lv,
|
|
23637
23637
|
AdjustmentsHorizontalIcon: cv,
|
|
@@ -30885,7 +30885,7 @@ function ND({
|
|
|
30885
30885
|
d: "M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94 5.28 4.22Z"
|
|
30886
30886
|
}));
|
|
30887
30887
|
}
|
|
30888
|
-
const PD = /* @__PURE__ */ e.forwardRef(ND),
|
|
30888
|
+
const PD = /* @__PURE__ */ e.forwardRef(ND), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30889
30889
|
__proto__: null,
|
|
30890
30890
|
AcademicCapIcon: lj,
|
|
30891
30891
|
AdjustmentsHorizontalIcon: cj,
|
|
@@ -31203,7 +31203,7 @@ const PD = /* @__PURE__ */ e.forwardRef(ND), H5 = /* @__PURE__ */ Object.freeze(
|
|
|
31203
31203
|
WrenchScrewdriverIcon: HD,
|
|
31204
31204
|
XCircleIcon: DD,
|
|
31205
31205
|
XMarkIcon: PD
|
|
31206
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
31206
|
+
}, Symbol.toStringTag, { value: "Module" })), Ze = {
|
|
31207
31207
|
black: "color-black",
|
|
31208
31208
|
white: "color-white",
|
|
31209
31209
|
"gray-900": "color-gray-900",
|
|
@@ -31279,15 +31279,15 @@ const PD = /* @__PURE__ */ e.forwardRef(ND), H5 = /* @__PURE__ */ Object.freeze(
|
|
|
31279
31279
|
{ name: "modules-time", component: "ClockIcon" }
|
|
31280
31280
|
],
|
|
31281
31281
|
nuevos: [{ name: "nuevos-eye", component: "EyeIcon" }]
|
|
31282
|
-
},
|
|
31283
|
-
{ key: "24-outline", weight: 24, style: "outline", lib:
|
|
31284
|
-
{ key: "24-solid", weight: 24, style: "solid", lib:
|
|
31285
|
-
{ key: "20-solid", weight: 20, style: "solid", lib:
|
|
31286
|
-
{ key: "16-solid", weight: 16, style: "solid", lib:
|
|
31282
|
+
}, ye = Object.values(TD).flat().reduce((a, r) => (a[r.name] = r.component, a), {}), re = [
|
|
31283
|
+
{ key: "24-outline", weight: 24, style: "outline", lib: Le, defaultSize: 24 },
|
|
31284
|
+
{ key: "24-solid", weight: 24, style: "solid", lib: Oe, defaultSize: 24 },
|
|
31285
|
+
{ key: "20-solid", weight: 20, style: "solid", lib: Fe, defaultSize: 20 },
|
|
31286
|
+
{ key: "16-solid", weight: 16, style: "solid", lib: He, defaultSize: 16 }
|
|
31287
31287
|
], UD = Array.from(
|
|
31288
|
-
new Set(
|
|
31288
|
+
new Set(re.flatMap(({ lib: a }) => Object.keys(a)))
|
|
31289
31289
|
).sort();
|
|
31290
|
-
|
|
31290
|
+
re.map(({ key: a }) => a);
|
|
31291
31291
|
const zD = [
|
|
31292
31292
|
{ key: "critical", fill: "#EF4444", subtle: "#FEE2E2" },
|
|
31293
31293
|
{ key: "high", fill: "#F97316", subtle: "#FFEDD5" },
|
|
@@ -31295,7 +31295,7 @@ const zD = [
|
|
|
31295
31295
|
{ key: "low", fill: "#22C55E", subtle: "#DCFCE7" },
|
|
31296
31296
|
{ key: "info", fill: "#2563EB", subtle: "#DBEAFE" },
|
|
31297
31297
|
{ key: "neutral", fill: "#94A3B8", subtle: "#E2E8F0" }
|
|
31298
|
-
],
|
|
31298
|
+
], Ie = zD.flatMap((a) => [
|
|
31299
31299
|
{
|
|
31300
31300
|
id: `status-${a.key}`,
|
|
31301
31301
|
shape: "circle",
|
|
@@ -31350,19 +31350,19 @@ const zD = [
|
|
|
31350
31350
|
group: "square",
|
|
31351
31351
|
tone: a.key
|
|
31352
31352
|
}
|
|
31353
|
-
]), _D =
|
|
31353
|
+
]), _D = Ie.reduce((a, r) => (a[r.id] = r, a), {}), GD = (a) => a.charAt(0).toUpperCase() + a.slice(1), qD = (a) => {
|
|
31354
31354
|
if (!a) return a;
|
|
31355
31355
|
const r = a.replace(/icon$/i, "").trim();
|
|
31356
31356
|
if (!r) return a;
|
|
31357
31357
|
const t = r.split(/[\s-_]+/).filter(Boolean).map((n) => GD(n.toLowerCase()));
|
|
31358
31358
|
return t.length ? `${t.join("")}Icon` : a;
|
|
31359
31359
|
}, XD = (a) => {
|
|
31360
|
-
if (
|
|
31361
|
-
if (
|
|
31360
|
+
if (ye[a]) return ye[a];
|
|
31361
|
+
if (Ce.includes(a)) return a;
|
|
31362
31362
|
const r = qD(a);
|
|
31363
|
-
return
|
|
31364
|
-
},
|
|
31365
|
-
const s =
|
|
31363
|
+
return Ce.includes(r) ? r : a;
|
|
31364
|
+
}, Me = (a, r) => a ? WD[a] || a : r, YD = (a, r, t, n, c) => {
|
|
31365
|
+
const s = Me(n, a.fill), i = Me(n, a.stroke || a.fill), d = a.variant === "outline" ? 2 : 0;
|
|
31366
31366
|
return a.shape === "triangle" ? /* @__PURE__ */ l.jsx(
|
|
31367
31367
|
"svg",
|
|
31368
31368
|
{
|
|
@@ -31453,8 +31453,8 @@ const zD = [
|
|
|
31453
31453
|
}
|
|
31454
31454
|
);
|
|
31455
31455
|
};
|
|
31456
|
-
|
|
31457
|
-
const
|
|
31456
|
+
Ie.map(({ id: a }) => a);
|
|
31457
|
+
const Ce = UD, x = ({
|
|
31458
31458
|
name: a,
|
|
31459
31459
|
variant: r = "24-outline",
|
|
31460
31460
|
size: t,
|
|
@@ -31467,12 +31467,12 @@ const C5 = UD, x = ({
|
|
|
31467
31467
|
const s = _D[a];
|
|
31468
31468
|
if (s)
|
|
31469
31469
|
return YD(s, t ?? 18, n, c, u);
|
|
31470
|
-
const i = XD(a), d =
|
|
31470
|
+
const i = XD(a), d = re.find(({ key: M }) => M === r) || re[0], f = re.find(
|
|
31471
31471
|
({ weight: M, style: g }) => M === d.weight && g !== d.style
|
|
31472
|
-
), w = d.lib[i] || (f ? f.lib[i] : null) ||
|
|
31472
|
+
), w = d.lib[i] || (f ? f.lib[i] : null) || Le[i] || Oe[i] || Fe[i] || He[i];
|
|
31473
31473
|
if (!w)
|
|
31474
31474
|
return console.warn(`Icon "${a}" not found in catalog`), null;
|
|
31475
|
-
const b = `${c &&
|
|
31475
|
+
const b = `${c && Ze[c] ? Ze[c] : ""} ${n}`.trim(), h = t ?? d.defaultSize;
|
|
31476
31476
|
return /* @__PURE__ */ l.jsx(w, { className: b, width: h, height: h, ...u });
|
|
31477
31477
|
}, KD = ({
|
|
31478
31478
|
variant: a = "info",
|
|
@@ -31514,7 +31514,7 @@ const C5 = UD, x = ({
|
|
|
31514
31514
|
}
|
|
31515
31515
|
)
|
|
31516
31516
|
] }) });
|
|
31517
|
-
},
|
|
31517
|
+
}, ne = ({
|
|
31518
31518
|
src: a,
|
|
31519
31519
|
alt: r = "",
|
|
31520
31520
|
name: t,
|
|
@@ -31705,7 +31705,7 @@ const C5 = UD, x = ({
|
|
|
31705
31705
|
className: u = "",
|
|
31706
31706
|
...s
|
|
31707
31707
|
}) => {
|
|
31708
|
-
|
|
31708
|
+
g0(() => {
|
|
31709
31709
|
if (t > 0 && n) {
|
|
31710
31710
|
const w = setTimeout(() => {
|
|
31711
31711
|
n();
|
|
@@ -31769,7 +31769,7 @@ const C5 = UD, x = ({
|
|
|
31769
31769
|
className: n = "",
|
|
31770
31770
|
...c
|
|
31771
31771
|
}) => {
|
|
31772
|
-
const [u, s] =
|
|
31772
|
+
const [u, s] = H(!1), i = {
|
|
31773
31773
|
top: "bottom-full left-1/2 transform -translate-x-1/2 mb-2",
|
|
31774
31774
|
bottom: "top-full left-1/2 transform -translate-x-1/2 mt-2",
|
|
31775
31775
|
left: "right-full top-1/2 transform -translate-y-1/2 mr-2",
|
|
@@ -31807,7 +31807,7 @@ const C5 = UD, x = ({
|
|
|
31807
31807
|
]
|
|
31808
31808
|
}
|
|
31809
31809
|
);
|
|
31810
|
-
},
|
|
31810
|
+
}, te = ({
|
|
31811
31811
|
width: a = 36,
|
|
31812
31812
|
height: r = 40,
|
|
31813
31813
|
backgroundColor: t = "#2D5C63",
|
|
@@ -31848,7 +31848,7 @@ const C5 = UD, x = ({
|
|
|
31848
31848
|
className: i = "",
|
|
31849
31849
|
...d
|
|
31850
31850
|
}) => {
|
|
31851
|
-
const { t: f } =
|
|
31851
|
+
const { t: f } = p0(), w = `
|
|
31852
31852
|
w-full px-3 py-2 border rounded-lg
|
|
31853
31853
|
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent
|
|
31854
31854
|
disabled:bg-gray-100 disabled:cursor-not-allowed
|
|
@@ -31929,7 +31929,7 @@ const C5 = UD, x = ({
|
|
|
31929
31929
|
className: d = "",
|
|
31930
31930
|
...f
|
|
31931
31931
|
}) => {
|
|
31932
|
-
const { t: w } =
|
|
31932
|
+
const { t: w } = p0(), v = `
|
|
31933
31933
|
w-full px-3 py-2 border rounded-lg
|
|
31934
31934
|
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent
|
|
31935
31935
|
disabled:bg-gray-100 disabled:cursor-not-allowed
|
|
@@ -31968,7 +31968,7 @@ const C5 = UD, x = ({
|
|
|
31968
31968
|
className: i = "",
|
|
31969
31969
|
...d
|
|
31970
31970
|
}) => {
|
|
31971
|
-
const { t: f } =
|
|
31971
|
+
const { t: f } = p0(), w = `
|
|
31972
31972
|
w-full px-3 py-2 border rounded-lg
|
|
31973
31973
|
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent
|
|
31974
31974
|
disabled:bg-gray-100 disabled:cursor-not-allowed
|
|
@@ -32046,7 +32046,7 @@ const C5 = UD, x = ({
|
|
|
32046
32046
|
className: s = "",
|
|
32047
32047
|
...i
|
|
32048
32048
|
}) => {
|
|
32049
|
-
const { t: d } =
|
|
32049
|
+
const { t: d } = p0(), f = `
|
|
32050
32050
|
w-full px-3 py-2 pl-10 border rounded-lg
|
|
32051
32051
|
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent
|
|
32052
32052
|
disabled:bg-gray-100 disabled:cursor-not-allowed
|
|
@@ -32086,7 +32086,7 @@ const C5 = UD, x = ({
|
|
|
32086
32086
|
className: d = "",
|
|
32087
32087
|
...f
|
|
32088
32088
|
}) => {
|
|
32089
|
-
const { t: w } =
|
|
32089
|
+
const { t: w } = p0(), [v, b] = H([]), h = (g) => {
|
|
32090
32090
|
const j = Array.from(g.target.files);
|
|
32091
32091
|
b(j), i && i(j);
|
|
32092
32092
|
}, M = (g) => {
|
|
@@ -32170,7 +32170,7 @@ const C5 = UD, x = ({
|
|
|
32170
32170
|
className: i = "",
|
|
32171
32171
|
...d
|
|
32172
32172
|
}) => {
|
|
32173
|
-
const [f, w] =
|
|
32173
|
+
const [f, w] = H(""), v = (h) => {
|
|
32174
32174
|
const M = h.target.value;
|
|
32175
32175
|
w(M), c && c(M);
|
|
32176
32176
|
}, b = (h) => {
|
|
@@ -32256,7 +32256,7 @@ const C5 = UD, x = ({
|
|
|
32256
32256
|
"aria-label": "Perfil de usuario",
|
|
32257
32257
|
children: [
|
|
32258
32258
|
/* @__PURE__ */ l.jsx(
|
|
32259
|
-
|
|
32259
|
+
ne,
|
|
32260
32260
|
{
|
|
32261
32261
|
src: t,
|
|
32262
32262
|
name: r,
|
|
@@ -32288,7 +32288,7 @@ const C5 = UD, x = ({
|
|
|
32288
32288
|
] }) })
|
|
32289
32289
|
}
|
|
32290
32290
|
);
|
|
32291
|
-
},
|
|
32291
|
+
}, Ve = [
|
|
32292
32292
|
{
|
|
32293
32293
|
title: "PERSONAS",
|
|
32294
32294
|
items: [
|
|
@@ -32303,8 +32303,8 @@ const C5 = UD, x = ({
|
|
|
32303
32303
|
{ id: "desarrollo", label: "Desarrollo", icon: "AcademicCapIcon" }
|
|
32304
32304
|
]
|
|
32305
32305
|
}
|
|
32306
|
-
],
|
|
32307
|
-
sections: a =
|
|
32306
|
+
], Se = ({
|
|
32307
|
+
sections: a = Ve,
|
|
32308
32308
|
activeItem: r,
|
|
32309
32309
|
onItemClick: t,
|
|
32310
32310
|
companyName: n = "HEXA Core",
|
|
@@ -32331,17 +32331,17 @@ const C5 = UD, x = ({
|
|
|
32331
32331
|
// Mobile: íconos
|
|
32332
32332
|
mobileIconSize: E = 24,
|
|
32333
32333
|
mobileIconStyle: A,
|
|
32334
|
-
isOpen:
|
|
32334
|
+
isOpen: V,
|
|
32335
32335
|
onClose: C,
|
|
32336
|
-
className:
|
|
32336
|
+
className: W = "",
|
|
32337
32337
|
..._
|
|
32338
32338
|
}) => {
|
|
32339
|
-
const [q, y] =
|
|
32340
|
-
|
|
32341
|
-
h &&
|
|
32342
|
-
}, [r,
|
|
32343
|
-
h && !K &&
|
|
32344
|
-
}, [K,
|
|
32339
|
+
const [q, y] = H(!1), [B, U] = H(null), K = V !== void 0 ? V : q, S = h && B != null ? B : r;
|
|
32340
|
+
g0(() => {
|
|
32341
|
+
h && B != null && B === r && U(null);
|
|
32342
|
+
}, [r, B, h]), g0(() => {
|
|
32343
|
+
h && !K && B != null && U(null);
|
|
32344
|
+
}, [K, B, h]);
|
|
32345
32345
|
const G = () => {
|
|
32346
32346
|
C ? C() : y(!q);
|
|
32347
32347
|
};
|
|
@@ -32368,7 +32368,7 @@ const C5 = UD, x = ({
|
|
|
32368
32368
|
transition: transform ${v}ms ${b};
|
|
32369
32369
|
}
|
|
32370
32370
|
` }),
|
|
32371
|
-
!K &&
|
|
32371
|
+
!K && V === void 0 && /* @__PURE__ */ l.jsx(
|
|
32372
32372
|
"button",
|
|
32373
32373
|
{
|
|
32374
32374
|
onClick: G,
|
|
@@ -32411,7 +32411,7 @@ const C5 = UD, x = ({
|
|
|
32411
32411
|
/* @__PURE__ */ l.jsx(
|
|
32412
32412
|
"aside",
|
|
32413
32413
|
{
|
|
32414
|
-
className: `bg-white sidebar-core-mobile ${
|
|
32414
|
+
className: `bg-white sidebar-core-mobile ${W}`,
|
|
32415
32415
|
style: { border: "1px solid #C4C4C4", borderRadius: "16px" },
|
|
32416
32416
|
..._,
|
|
32417
32417
|
children: /* @__PURE__ */ l.jsxs("nav", { className: "h-full flex flex-col", children: [
|
|
@@ -32423,7 +32423,7 @@ const C5 = UD, x = ({
|
|
|
32423
32423
|
style: f,
|
|
32424
32424
|
children: [
|
|
32425
32425
|
/* @__PURE__ */ l.jsx(
|
|
32426
|
-
|
|
32426
|
+
te,
|
|
32427
32427
|
{
|
|
32428
32428
|
width: 36,
|
|
32429
32429
|
height: 40,
|
|
@@ -32488,8 +32488,8 @@ const C5 = UD, x = ({
|
|
|
32488
32488
|
onClick: () => {
|
|
32489
32489
|
t && t("inicio"), C ? C() : G();
|
|
32490
32490
|
},
|
|
32491
|
-
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${
|
|
32492
|
-
style:
|
|
32491
|
+
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${S === "inicio" ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
32492
|
+
style: S === "inicio" ? { backgroundColor: "#2D5C63" } : {},
|
|
32493
32493
|
children: [
|
|
32494
32494
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center", children: [
|
|
32495
32495
|
/* @__PURE__ */ l.jsx(
|
|
@@ -32498,7 +32498,7 @@ const C5 = UD, x = ({
|
|
|
32498
32498
|
name: "HomeIcon",
|
|
32499
32499
|
variant: "24-outline",
|
|
32500
32500
|
size: E,
|
|
32501
|
-
className: `mr-3 ${
|
|
32501
|
+
className: `mr-3 ${S === "inicio" ? "color-white" : "color-gray-700"}`,
|
|
32502
32502
|
style: {
|
|
32503
32503
|
width: `${E}px`,
|
|
32504
32504
|
height: `${E}px`,
|
|
@@ -32512,8 +32512,8 @@ const C5 = UD, x = ({
|
|
|
32512
32512
|
Z,
|
|
32513
32513
|
{
|
|
32514
32514
|
variant: "body-md",
|
|
32515
|
-
weight:
|
|
32516
|
-
className:
|
|
32515
|
+
weight: S === "inicio" ? p : j,
|
|
32516
|
+
className: S === "inicio" ? "color-white" : "color-gray-700",
|
|
32517
32517
|
style: { fontSize: g },
|
|
32518
32518
|
children: "Inicio"
|
|
32519
32519
|
}
|
|
@@ -32526,8 +32526,8 @@ const C5 = UD, x = ({
|
|
|
32526
32526
|
rounded-full flex items-center justify-center\r
|
|
32527
32527
|
text-body-sm font-medium`,
|
|
32528
32528
|
style: {
|
|
32529
|
-
backgroundColor:
|
|
32530
|
-
color:
|
|
32529
|
+
backgroundColor: S === "inicio" ? "#ffffff" : "#6D3856",
|
|
32530
|
+
color: S === "inicio" ? "#6D3856" : "#ffffff",
|
|
32531
32531
|
borderRadius: "12px"
|
|
32532
32532
|
},
|
|
32533
32533
|
children: s.inicio > 9 ? "9+" : s.inicio
|
|
@@ -32545,23 +32545,23 @@ const C5 = UD, x = ({
|
|
|
32545
32545
|
children: J.title
|
|
32546
32546
|
}
|
|
32547
32547
|
) }),
|
|
32548
|
-
/* @__PURE__ */ l.jsx("div", { children: J.items.map((
|
|
32548
|
+
/* @__PURE__ */ l.jsx("div", { children: J.items.map((O) => /* @__PURE__ */ l.jsx("div", { className: "px-4", children: /* @__PURE__ */ l.jsxs(
|
|
32549
32549
|
"button",
|
|
32550
32550
|
{
|
|
32551
32551
|
onClick: () => {
|
|
32552
|
-
h &&
|
|
32552
|
+
h && U(O.id), t && t(O.id), C ? M ? requestAnimationFrame(() => C()) : C() : G();
|
|
32553
32553
|
},
|
|
32554
|
-
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${
|
|
32555
|
-
style:
|
|
32554
|
+
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${S === O.id ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
32555
|
+
style: S === O.id ? { backgroundColor: "#2D5C63" } : {},
|
|
32556
32556
|
children: [
|
|
32557
32557
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center", children: [
|
|
32558
32558
|
/* @__PURE__ */ l.jsx(
|
|
32559
32559
|
x,
|
|
32560
32560
|
{
|
|
32561
|
-
name:
|
|
32561
|
+
name: O.icon,
|
|
32562
32562
|
variant: "24-outline",
|
|
32563
32563
|
size: E,
|
|
32564
|
-
className: `mr-3 ${
|
|
32564
|
+
className: `mr-3 ${S === O.id ? "color-white" : "color-gray-700"}`,
|
|
32565
32565
|
style: {
|
|
32566
32566
|
width: `${E}px`,
|
|
32567
32567
|
height: `${E}px`,
|
|
@@ -32575,30 +32575,30 @@ const C5 = UD, x = ({
|
|
|
32575
32575
|
Z,
|
|
32576
32576
|
{
|
|
32577
32577
|
variant: "body-md",
|
|
32578
|
-
weight:
|
|
32579
|
-
className:
|
|
32578
|
+
weight: S === O.id ? p : j,
|
|
32579
|
+
className: S === O.id ? "color-white" : "color-gray-700",
|
|
32580
32580
|
style: { fontSize: g },
|
|
32581
|
-
children:
|
|
32581
|
+
children: O.label
|
|
32582
32582
|
}
|
|
32583
32583
|
)
|
|
32584
32584
|
] }),
|
|
32585
|
-
(s[
|
|
32585
|
+
(s[O.id] !== void 0 && s[O.id] > 0 || O.id === "empleados" && 2) && /* @__PURE__ */ l.jsx(
|
|
32586
32586
|
"span",
|
|
32587
32587
|
{
|
|
32588
32588
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
32589
32589
|
rounded-full flex items-center justify-center\r
|
|
32590
32590
|
text-body-sm font-medium`,
|
|
32591
32591
|
style: {
|
|
32592
|
-
backgroundColor:
|
|
32593
|
-
color:
|
|
32592
|
+
backgroundColor: S === O.id ? "#ffffff" : "#6D3856",
|
|
32593
|
+
color: S === O.id ? "#6D3856" : "#ffffff",
|
|
32594
32594
|
borderRadius: "12px"
|
|
32595
32595
|
},
|
|
32596
|
-
children:
|
|
32596
|
+
children: O.id === "empleados" ? 2 : s[O.id] > 9 ? "9+" : s[O.id]
|
|
32597
32597
|
}
|
|
32598
32598
|
)
|
|
32599
32599
|
]
|
|
32600
32600
|
}
|
|
32601
|
-
) },
|
|
32601
|
+
) }, O.id)) })
|
|
32602
32602
|
] }, $))
|
|
32603
32603
|
] }),
|
|
32604
32604
|
i && /* @__PURE__ */ l.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
@@ -32618,9 +32618,9 @@ const C5 = UD, x = ({
|
|
|
32618
32618
|
children: (() => {
|
|
32619
32619
|
const J = i.split("|");
|
|
32620
32620
|
if (J.length === 2) {
|
|
32621
|
-
const $ = J[0].trim(),
|
|
32622
|
-
if (
|
|
32623
|
-
const Q =
|
|
32621
|
+
const $ = J[0].trim(), O = J[1].trim();
|
|
32622
|
+
if (O.includes("Powered by")) {
|
|
32623
|
+
const Q = O.match(/Powered by (.+)/);
|
|
32624
32624
|
if (Q)
|
|
32625
32625
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
32626
32626
|
$,
|
|
@@ -32628,7 +32628,7 @@ const C5 = UD, x = ({
|
|
|
32628
32628
|
/* @__PURE__ */ l.jsx("span", { className: "font-bold", children: Q[1] })
|
|
32629
32629
|
] });
|
|
32630
32630
|
}
|
|
32631
|
-
return `${$} | ${
|
|
32631
|
+
return `${$} | ${O}`;
|
|
32632
32632
|
}
|
|
32633
32633
|
return i;
|
|
32634
32634
|
})()
|
|
@@ -32654,7 +32654,7 @@ const C5 = UD, x = ({
|
|
|
32654
32654
|
)
|
|
32655
32655
|
] });
|
|
32656
32656
|
}, QN = ({
|
|
32657
|
-
sections: a =
|
|
32657
|
+
sections: a = Ve,
|
|
32658
32658
|
activeItem: r,
|
|
32659
32659
|
onItemClick: t,
|
|
32660
32660
|
defaultCollapsed: n = !1,
|
|
@@ -32677,34 +32677,34 @@ const C5 = UD, x = ({
|
|
|
32677
32677
|
desktopCollapseIconClassName: E = "",
|
|
32678
32678
|
desktopCollapseIconStyle: A,
|
|
32679
32679
|
// Desktop: overrides para el control de expandir (solo cuando está colapsado)
|
|
32680
|
-
desktopExpandButtonClassName:
|
|
32680
|
+
desktopExpandButtonClassName: V = "",
|
|
32681
32681
|
desktopExpandButtonStyle: C,
|
|
32682
|
-
desktopExpandIconSize:
|
|
32682
|
+
desktopExpandIconSize: W = 20,
|
|
32683
32683
|
desktopExpandIconStrokeWidth: _ = 1.5,
|
|
32684
32684
|
desktopExpandIconColor: q = "#0F172A",
|
|
32685
32685
|
desktopExpandIconClassName: y = "",
|
|
32686
|
-
desktopExpandIconStyle:
|
|
32686
|
+
desktopExpandIconStyle: B,
|
|
32687
32687
|
// Desktop: labels de items (solo cuando NO está colapsado)
|
|
32688
|
-
desktopItemLabelFontSize:
|
|
32688
|
+
desktopItemLabelFontSize: U = "1rem",
|
|
32689
32689
|
desktopItemLabelWeightInactive: K = "regular",
|
|
32690
|
-
desktopItemLabelWeightActive:
|
|
32690
|
+
desktopItemLabelWeightActive: S = "semibold",
|
|
32691
32691
|
// Desktop: íconos de navegación (items)
|
|
32692
32692
|
desktopExpandedIconSize: G = 24,
|
|
32693
|
-
desktopCollapsedIconSize:
|
|
32693
|
+
desktopCollapsedIconSize: n0 = 32,
|
|
32694
32694
|
// Desktop colapsado: wrapper interno del ícono (hijo del 32x32)
|
|
32695
32695
|
desktopCollapsedIconInnerSize: J = 24,
|
|
32696
32696
|
desktopCollapsedIconInnerStyle: $,
|
|
32697
|
-
desktopCollapsedIconWrapperStyle:
|
|
32697
|
+
desktopCollapsedIconWrapperStyle: O,
|
|
32698
32698
|
// Desktop colapsado: solapamiento icono + badge (mínimo)
|
|
32699
32699
|
desktopCollapsedOverlapEnabled: Q = !0,
|
|
32700
|
-
desktopCollapsedOverlapIconMarginLeftPx:
|
|
32700
|
+
desktopCollapsedOverlapIconMarginLeftPx: t0 = 3,
|
|
32701
32701
|
desktopCollapsedOverlapBadgeMarginLeftPx: f0 = -6,
|
|
32702
|
-
desktopCollapsedOverlapColumnGapPx:
|
|
32703
|
-
desktopNavIconStyle:
|
|
32702
|
+
desktopCollapsedOverlapColumnGapPx: b0 = 0,
|
|
32703
|
+
desktopNavIconStyle: x0,
|
|
32704
32704
|
// Desktop colapsado: wrapper de cada item (Inicio + opciones)
|
|
32705
32705
|
desktopCollapsedItemWrapperClassName: M0 = "",
|
|
32706
|
-
desktopCollapsedItemWrapperStyle:
|
|
32707
|
-
desktopCollapsedItemActiveBackgroundColor:
|
|
32706
|
+
desktopCollapsedItemWrapperStyle: h0,
|
|
32707
|
+
desktopCollapsedItemActiveBackgroundColor: a0 = "#2D5C63",
|
|
32708
32708
|
// Desktop colapsado: badge (globito) de notificaciones
|
|
32709
32709
|
desktopCollapsedBadgeClassName: C0 = "",
|
|
32710
32710
|
desktopCollapsedBadgeStyle: R0,
|
|
@@ -32716,7 +32716,7 @@ const C5 = UD, x = ({
|
|
|
32716
32716
|
desktopCollapsedFooterContainerClassName: S0 = "",
|
|
32717
32717
|
desktopCollapsedFooterContainerStyle: j0,
|
|
32718
32718
|
desktopCollapsedFooterTextClassName: B0 = "",
|
|
32719
|
-
desktopCollapsedFooterTextStyle:
|
|
32719
|
+
desktopCollapsedFooterTextStyle: m0,
|
|
32720
32720
|
// Desktop colapsado: separador entre secciones
|
|
32721
32721
|
desktopCollapsedSectionSeparatorClassName: Z0 = "",
|
|
32722
32722
|
desktopCollapsedSectionSeparatorStyle: D0,
|
|
@@ -32726,14 +32726,14 @@ const C5 = UD, x = ({
|
|
|
32726
32726
|
desktopCollapsedInicioContainerClassName: X0 = "",
|
|
32727
32727
|
desktopCollapsedSectionContainerClassName: Y0 = "",
|
|
32728
32728
|
desktopCollapsedSeparatorContainerClassName: L0 = "",
|
|
32729
|
-
nucleusName:
|
|
32730
|
-
nucleusLogo:
|
|
32729
|
+
nucleusName: le = "Nucleus AR",
|
|
32730
|
+
nucleusLogo: oe,
|
|
32731
32731
|
onNucleusClick: O0,
|
|
32732
|
-
itemBadges:
|
|
32732
|
+
itemBadges: T = {},
|
|
32733
32733
|
// Objeto con { itemId: number } para los badges
|
|
32734
|
-
footerText:
|
|
32734
|
+
footerText: N,
|
|
32735
32735
|
// Texto del footer: puede ser string "v1.0 | Powered by Nucleus" o objeto { version: "v1.0", poweredBy: "Powered by", brand: "Nucleus" }
|
|
32736
|
-
footerCollapsedContent:
|
|
32736
|
+
footerCollapsedContent: v0,
|
|
32737
32737
|
// Contenido a mostrar en el footer cuando está colapsado (puede ser string, ReactNode, o objeto con icon y text)
|
|
32738
32738
|
coreContainerStyle: k0,
|
|
32739
32739
|
// Estilos personalizados para el contenedor de LogoHexa y "Core" (solo mobile)
|
|
@@ -32744,8 +32744,8 @@ const C5 = UD, x = ({
|
|
|
32744
32744
|
className: H0 = "",
|
|
32745
32745
|
...i0
|
|
32746
32746
|
}) => {
|
|
32747
|
-
const [
|
|
32748
|
-
width: "
|
|
32747
|
+
const [z, K0] = H(n), [W0, Q0] = H(!1), w0 = z ? n0 : G, l0 = z ? J : G, e0 = {
|
|
32748
|
+
width: "100%",
|
|
32749
32749
|
height: "48px",
|
|
32750
32750
|
paddingTop: "8px",
|
|
32751
32751
|
paddingRight: "12px",
|
|
@@ -32757,7 +32757,7 @@ const C5 = UD, x = ({
|
|
|
32757
32757
|
borderRadius: "8px",
|
|
32758
32758
|
boxSizing: "border-box"
|
|
32759
32759
|
};
|
|
32760
|
-
|
|
32760
|
+
g0(() => {
|
|
32761
32761
|
const d0 = () => {
|
|
32762
32762
|
Q0(window.innerWidth <= 768);
|
|
32763
32763
|
};
|
|
@@ -32766,21 +32766,21 @@ const C5 = UD, x = ({
|
|
|
32766
32766
|
};
|
|
32767
32767
|
}, []);
|
|
32768
32768
|
const y0 = () => {
|
|
32769
|
-
K0(!
|
|
32769
|
+
K0(!z);
|
|
32770
32770
|
}, o0 = (() => {
|
|
32771
|
-
if (
|
|
32772
|
-
return
|
|
32773
|
-
if (
|
|
32774
|
-
if (typeof
|
|
32775
|
-
return
|
|
32776
|
-
if (typeof
|
|
32777
|
-
return
|
|
32771
|
+
if (v0)
|
|
32772
|
+
return v0;
|
|
32773
|
+
if (N && !v0) {
|
|
32774
|
+
if (typeof N == "string")
|
|
32775
|
+
return N.split("|")[0].trim() || N.trim();
|
|
32776
|
+
if (typeof N == "object" && N.version)
|
|
32777
|
+
return N.version;
|
|
32778
32778
|
}
|
|
32779
32779
|
return null;
|
|
32780
32780
|
})();
|
|
32781
32781
|
if (W0)
|
|
32782
32782
|
return /* @__PURE__ */ l.jsx(
|
|
32783
|
-
|
|
32783
|
+
Se,
|
|
32784
32784
|
{
|
|
32785
32785
|
sections: a,
|
|
32786
32786
|
activeItem: r,
|
|
@@ -32788,33 +32788,33 @@ const C5 = UD, x = ({
|
|
|
32788
32788
|
companyName: c,
|
|
32789
32789
|
companyLogo: u,
|
|
32790
32790
|
onCompanyClick: s,
|
|
32791
|
-
itemBadges:
|
|
32792
|
-
footerText:
|
|
32793
|
-
footerCollapsedContent:
|
|
32791
|
+
itemBadges: T,
|
|
32792
|
+
footerText: N,
|
|
32793
|
+
footerCollapsedContent: v0,
|
|
32794
32794
|
coreContainerStyle: k0,
|
|
32795
32795
|
coreTextStyle: F0,
|
|
32796
32796
|
className: H0,
|
|
32797
32797
|
...i0
|
|
32798
32798
|
}
|
|
32799
32799
|
);
|
|
32800
|
-
const
|
|
32800
|
+
const we = P0 ? {
|
|
32801
32801
|
width: "100%",
|
|
32802
32802
|
maxWidth: "100%",
|
|
32803
32803
|
minWidth: 0,
|
|
32804
32804
|
boxSizing: "border-box"
|
|
32805
|
-
} :
|
|
32805
|
+
} : z ? { width: q0 } : {}, ie = P0 ? `bg-white transition-all duration-300 ease-in-out h-full ${H0}` : `bg-white transition-all duration-300 ease-in-out h-full ${z ? "" : "w-64"} ${H0}`;
|
|
32806
32806
|
return /* @__PURE__ */ l.jsx(
|
|
32807
32807
|
"aside",
|
|
32808
32808
|
{
|
|
32809
|
-
className:
|
|
32809
|
+
className: ie,
|
|
32810
32810
|
style: {
|
|
32811
32811
|
border: "1px solid #C4C4C4",
|
|
32812
32812
|
borderRadius: "16px",
|
|
32813
|
-
...
|
|
32813
|
+
...we
|
|
32814
32814
|
},
|
|
32815
32815
|
...i0,
|
|
32816
32816
|
children: /* @__PURE__ */ l.jsxs("nav", { className: "h-full flex flex-col", style: { overflow: "hidden" }, children: [
|
|
32817
|
-
!
|
|
32817
|
+
!z && /* @__PURE__ */ l.jsx("div", { className: "p-4 border-b border-gray-200 flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
32818
32818
|
"button",
|
|
32819
32819
|
{
|
|
32820
32820
|
onClick: s,
|
|
@@ -32829,7 +32829,7 @@ const C5 = UD, x = ({
|
|
|
32829
32829
|
alt: c,
|
|
32830
32830
|
className: "w-8 h-8 rounded flex-shrink-0"
|
|
32831
32831
|
}
|
|
32832
|
-
) : /* @__PURE__ */ l.jsx(
|
|
32832
|
+
) : /* @__PURE__ */ l.jsx(te, { width: 36, height: 40, className: "flex-shrink-0" }),
|
|
32833
32833
|
/* @__PURE__ */ l.jsx(
|
|
32834
32834
|
Z,
|
|
32835
32835
|
{
|
|
@@ -32856,7 +32856,7 @@ const C5 = UD, x = ({
|
|
|
32856
32856
|
] })
|
|
32857
32857
|
}
|
|
32858
32858
|
) }),
|
|
32859
|
-
!
|
|
32859
|
+
!z && /* @__PURE__ */ l.jsx("div", { className: "px-4 pt-2 flex justify-end flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
32860
32860
|
"div",
|
|
32861
32861
|
{
|
|
32862
32862
|
className: `flex justify-end ${v}`,
|
|
@@ -32909,19 +32909,19 @@ const C5 = UD, x = ({
|
|
|
32909
32909
|
)
|
|
32910
32910
|
}
|
|
32911
32911
|
) }),
|
|
32912
|
-
|
|
32912
|
+
z && /* @__PURE__ */ l.jsx("div", { className: "p-4 border-b border-gray-200 flex justify-center flex-shrink-0", children: u ? /* @__PURE__ */ l.jsx(
|
|
32913
32913
|
"img",
|
|
32914
32914
|
{
|
|
32915
32915
|
src: u,
|
|
32916
32916
|
alt: c,
|
|
32917
32917
|
className: "w-8 h-8 rounded"
|
|
32918
32918
|
}
|
|
32919
|
-
) : /* @__PURE__ */ l.jsx(
|
|
32920
|
-
|
|
32919
|
+
) : /* @__PURE__ */ l.jsx(te, { width: 36, height: 40 }) }),
|
|
32920
|
+
z && /* @__PURE__ */ l.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-center flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
32921
32921
|
"button",
|
|
32922
32922
|
{
|
|
32923
32923
|
onClick: y0,
|
|
32924
|
-
className: `p-1.5 hover:bg-gray-100 rounded-lg transition-colors ${
|
|
32924
|
+
className: `p-1.5 hover:bg-gray-100 rounded-lg transition-colors ${V}`,
|
|
32925
32925
|
"aria-label": "Expandir sidebar",
|
|
32926
32926
|
style: C,
|
|
32927
32927
|
children: /* @__PURE__ */ l.jsx(
|
|
@@ -32929,83 +32929,281 @@ const C5 = UD, x = ({
|
|
|
32929
32929
|
{
|
|
32930
32930
|
name: "ChevronDoubleRightIcon",
|
|
32931
32931
|
variant: "24-outline",
|
|
32932
|
-
size:
|
|
32932
|
+
size: W,
|
|
32933
32933
|
strokeWidth: _,
|
|
32934
32934
|
className: y,
|
|
32935
32935
|
style: {
|
|
32936
32936
|
color: q,
|
|
32937
|
-
width: `${
|
|
32938
|
-
height: `${
|
|
32937
|
+
width: `${W}px`,
|
|
32938
|
+
height: `${W}px`,
|
|
32939
32939
|
opacity: 1,
|
|
32940
32940
|
transform: "rotate(0deg)",
|
|
32941
|
-
...
|
|
32941
|
+
...B || {}
|
|
32942
32942
|
}
|
|
32943
32943
|
}
|
|
32944
32944
|
)
|
|
32945
32945
|
}
|
|
32946
32946
|
) }),
|
|
32947
|
-
/* @__PURE__ */ l.jsx("div", { className: "flex-1 min-h-0 flex flex-col overflow-hidden", children: /* @__PURE__ */ l.jsxs("div", { className: `flex-1 overflow-y-auto ${
|
|
32947
|
+
/* @__PURE__ */ l.jsx("div", { className: "flex-1 min-h-0 flex flex-col overflow-hidden", children: /* @__PURE__ */ l.jsxs("div", { className: `flex-1 overflow-y-auto ${z ? "py-2" : "py-4"}`, style: { overflowX: "hidden" }, children: [
|
|
32948
32948
|
/* @__PURE__ */ l.jsx(
|
|
32949
32949
|
"div",
|
|
32950
32950
|
{
|
|
32951
|
-
className:
|
|
32952
|
-
children: /* @__PURE__ */ l.jsx(
|
|
32951
|
+
className: `${z ? "px-2" : "px-4"} ${z ? "mb-0" : "mb-4"} ${X0}`,
|
|
32952
|
+
children: z ? /* @__PURE__ */ l.jsx(
|
|
32953
32953
|
"div",
|
|
32954
32954
|
{
|
|
32955
|
-
className:
|
|
32956
|
-
style:
|
|
32957
|
-
...
|
|
32958
|
-
backgroundColor: r === "inicio" ?
|
|
32959
|
-
...
|
|
32960
|
-
}
|
|
32961
|
-
children: /* @__PURE__ */ l.
|
|
32955
|
+
className: M0,
|
|
32956
|
+
style: {
|
|
32957
|
+
...e0,
|
|
32958
|
+
backgroundColor: r === "inicio" ? a0 : "transparent",
|
|
32959
|
+
...h0 || {}
|
|
32960
|
+
},
|
|
32961
|
+
children: /* @__PURE__ */ l.jsx(
|
|
32962
32962
|
"button",
|
|
32963
32963
|
{
|
|
32964
32964
|
onClick: () => t && t("inicio"),
|
|
32965
|
-
className:
|
|
32966
|
-
style:
|
|
32965
|
+
className: "flex items-center justify-center transition-all duration-200",
|
|
32966
|
+
style: {
|
|
32967
32967
|
width: "100%",
|
|
32968
32968
|
height: "100%",
|
|
32969
32969
|
backgroundColor: "transparent",
|
|
32970
32970
|
borderRadius: "8px"
|
|
32971
|
-
} : {
|
|
32972
|
-
width: "228px",
|
|
32973
|
-
height: "40px",
|
|
32974
|
-
paddingTop: "8px",
|
|
32975
|
-
paddingRight: "12px",
|
|
32976
|
-
paddingBottom: "8px",
|
|
32977
|
-
paddingLeft: "12px",
|
|
32978
|
-
gap: "12px",
|
|
32979
|
-
borderRadius: "8px",
|
|
32980
|
-
opacity: 1,
|
|
32981
|
-
backgroundColor: r === "inicio" ? "#2D5C63" : "transparent"
|
|
32982
32971
|
},
|
|
32983
|
-
children:
|
|
32984
|
-
|
|
32972
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
32973
|
+
"div",
|
|
32974
|
+
{
|
|
32975
|
+
className: "flex items-center",
|
|
32976
|
+
style: {
|
|
32977
|
+
justifyContent: "center",
|
|
32978
|
+
columnGap: `${b0}px`,
|
|
32979
|
+
width: "100%"
|
|
32980
|
+
},
|
|
32981
|
+
children: [
|
|
32982
|
+
/* @__PURE__ */ l.jsx(
|
|
32983
|
+
"div",
|
|
32984
|
+
{
|
|
32985
|
+
style: {
|
|
32986
|
+
width: `${w0}px`,
|
|
32987
|
+
height: `${w0}px`,
|
|
32988
|
+
opacity: 1,
|
|
32989
|
+
transform: "rotate(0deg)",
|
|
32990
|
+
display: "flex",
|
|
32991
|
+
alignItems: "center",
|
|
32992
|
+
justifyContent: "center",
|
|
32993
|
+
marginLeft: Q && T.inicio !== void 0 && T.inicio > 0 ? `${t0}px` : void 0,
|
|
32994
|
+
...O || {}
|
|
32995
|
+
},
|
|
32996
|
+
children: /* @__PURE__ */ l.jsx(
|
|
32997
|
+
"div",
|
|
32998
|
+
{
|
|
32999
|
+
style: {
|
|
33000
|
+
width: "24px",
|
|
33001
|
+
height: "24px",
|
|
33002
|
+
opacity: 1,
|
|
33003
|
+
transform: "rotate(0deg)",
|
|
33004
|
+
display: "flex",
|
|
33005
|
+
alignItems: "center",
|
|
33006
|
+
justifyContent: "center",
|
|
33007
|
+
...$ || {}
|
|
33008
|
+
},
|
|
33009
|
+
children: /* @__PURE__ */ l.jsx(
|
|
33010
|
+
x,
|
|
33011
|
+
{
|
|
33012
|
+
name: "HomeIcon",
|
|
33013
|
+
variant: "24-outline",
|
|
33014
|
+
size: l0,
|
|
33015
|
+
className: r === "inicio" ? "color-white" : "color-gray-700",
|
|
33016
|
+
style: {
|
|
33017
|
+
width: `${l0}px`,
|
|
33018
|
+
height: `${l0}px`,
|
|
33019
|
+
opacity: 1,
|
|
33020
|
+
transform: "rotate(0deg)",
|
|
33021
|
+
...x0 || {}
|
|
33022
|
+
}
|
|
33023
|
+
}
|
|
33024
|
+
)
|
|
33025
|
+
}
|
|
33026
|
+
)
|
|
33027
|
+
}
|
|
33028
|
+
),
|
|
33029
|
+
T.inicio !== void 0 && T.inicio > 0 && /* @__PURE__ */ l.jsx(
|
|
33030
|
+
"span",
|
|
33031
|
+
{
|
|
33032
|
+
className: `flex items-center justify-center text-body-sm font-medium ${C0}`,
|
|
33033
|
+
style: {
|
|
33034
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
33035
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
33036
|
+
width: A0,
|
|
33037
|
+
height: E0,
|
|
33038
|
+
paddingTop: "4px",
|
|
33039
|
+
paddingRight: "6px",
|
|
33040
|
+
paddingBottom: "4px",
|
|
33041
|
+
paddingLeft: "6px",
|
|
33042
|
+
borderRadius: "16px",
|
|
33043
|
+
opacity: 1,
|
|
33044
|
+
transform: "rotate(0deg)",
|
|
33045
|
+
marginLeft: Q ? `${f0}px` : void 0,
|
|
33046
|
+
boxSizing: "border-box",
|
|
33047
|
+
...R0 || {}
|
|
33048
|
+
},
|
|
33049
|
+
children: T.inicio > 9 ? "9+" : T.inicio
|
|
33050
|
+
}
|
|
33051
|
+
)
|
|
33052
|
+
]
|
|
33053
|
+
}
|
|
33054
|
+
)
|
|
33055
|
+
}
|
|
33056
|
+
)
|
|
33057
|
+
}
|
|
33058
|
+
) : /* @__PURE__ */ l.jsxs(
|
|
33059
|
+
"button",
|
|
33060
|
+
{
|
|
33061
|
+
onClick: () => t && t("inicio"),
|
|
33062
|
+
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${r === "inicio" ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
33063
|
+
style: r === "inicio" ? { backgroundColor: "#2D5C63" } : {},
|
|
33064
|
+
children: [
|
|
33065
|
+
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center", children: [
|
|
33066
|
+
/* @__PURE__ */ l.jsx(
|
|
33067
|
+
x,
|
|
33068
|
+
{
|
|
33069
|
+
name: "HomeIcon",
|
|
33070
|
+
variant: "24-outline",
|
|
33071
|
+
size: l0,
|
|
33072
|
+
className: `mr-3 ${r === "inicio" ? "color-white" : "color-gray-700"}`
|
|
33073
|
+
}
|
|
33074
|
+
),
|
|
33075
|
+
/* @__PURE__ */ l.jsx(
|
|
33076
|
+
Z,
|
|
33077
|
+
{
|
|
33078
|
+
variant: "body-lg",
|
|
33079
|
+
weight: r === "inicio" ? S : K,
|
|
33080
|
+
className: `${r === "inicio" ? "color-white" : "color-gray-700"} min-w-0`,
|
|
33081
|
+
style: {
|
|
33082
|
+
fontSize: U,
|
|
33083
|
+
overflow: "hidden",
|
|
33084
|
+
textOverflow: "ellipsis",
|
|
33085
|
+
whiteSpace: "nowrap"
|
|
33086
|
+
},
|
|
33087
|
+
children: "Inicio"
|
|
33088
|
+
}
|
|
33089
|
+
)
|
|
33090
|
+
] }),
|
|
33091
|
+
T.inicio !== void 0 && T.inicio > 0 && /* @__PURE__ */ l.jsx(
|
|
33092
|
+
"span",
|
|
33093
|
+
{
|
|
33094
|
+
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33095
|
+
rounded-full flex items-center justify-center\r
|
|
33096
|
+
text-body-sm font-medium`,
|
|
33097
|
+
style: {
|
|
33098
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
33099
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
33100
|
+
borderRadius: "12px"
|
|
33101
|
+
},
|
|
33102
|
+
children: T.inicio > 9 ? "9+" : T.inicio
|
|
33103
|
+
}
|
|
33104
|
+
)
|
|
33105
|
+
]
|
|
33106
|
+
}
|
|
33107
|
+
)
|
|
33108
|
+
}
|
|
33109
|
+
),
|
|
33110
|
+
a.map((d0, I0) => /* @__PURE__ */ l.jsxs(
|
|
33111
|
+
"div",
|
|
33112
|
+
{
|
|
33113
|
+
className: `${z ? "mb-0" : "mb-6"} ${Y0}`,
|
|
33114
|
+
children: [
|
|
33115
|
+
z && /* @__PURE__ */ l.jsx("div", { className: `px-2 mb-0 ${L0}`, children: /* @__PURE__ */ l.jsx(
|
|
33116
|
+
"div",
|
|
33117
|
+
{
|
|
33118
|
+
className: N0,
|
|
33119
|
+
style: {
|
|
33120
|
+
width: "100%",
|
|
33121
|
+
height: "32px",
|
|
33122
|
+
paddingTop: "16px",
|
|
33123
|
+
paddingRight: "8px",
|
|
33124
|
+
paddingBottom: "16px",
|
|
33125
|
+
paddingLeft: "8px",
|
|
33126
|
+
opacity: 1,
|
|
33127
|
+
transform: "rotate(0deg)",
|
|
33128
|
+
display: "flex",
|
|
33129
|
+
alignItems: "center",
|
|
33130
|
+
justifyContent: "center",
|
|
33131
|
+
boxSizing: "border-box",
|
|
33132
|
+
...$0 || {}
|
|
33133
|
+
},
|
|
33134
|
+
children: /* @__PURE__ */ l.jsx(
|
|
33135
|
+
"div",
|
|
33136
|
+
{
|
|
33137
|
+
className: Z0,
|
|
33138
|
+
style: {
|
|
33139
|
+
width: "42px",
|
|
33140
|
+
height: "0px",
|
|
33141
|
+
opacity: 1,
|
|
33142
|
+
transform: "rotate(0deg)",
|
|
33143
|
+
borderTopWidth: "1px",
|
|
33144
|
+
borderTopStyle: "solid",
|
|
33145
|
+
borderTopColor: "#2D5C63",
|
|
33146
|
+
marginLeft: "auto",
|
|
33147
|
+
marginRight: "auto",
|
|
33148
|
+
...D0 || {}
|
|
33149
|
+
}
|
|
33150
|
+
}
|
|
33151
|
+
)
|
|
33152
|
+
}
|
|
33153
|
+
) }),
|
|
33154
|
+
!z && /* @__PURE__ */ l.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ l.jsx(
|
|
33155
|
+
Z,
|
|
33156
|
+
{
|
|
33157
|
+
variant: "body-sm",
|
|
33158
|
+
className: "color-gray-500 uppercase font-medium tracking-wider",
|
|
33159
|
+
children: d0.title
|
|
33160
|
+
}
|
|
33161
|
+
) }),
|
|
33162
|
+
/* @__PURE__ */ l.jsx("div", { children: d0.items.map((L) => /* @__PURE__ */ l.jsx("div", { className: z ? "px-2" : "px-4", children: z ? /* @__PURE__ */ l.jsx(
|
|
33163
|
+
"div",
|
|
33164
|
+
{
|
|
33165
|
+
className: M0,
|
|
33166
|
+
style: {
|
|
33167
|
+
...e0,
|
|
33168
|
+
backgroundColor: r === L.id ? a0 : "transparent",
|
|
33169
|
+
...h0 || {}
|
|
33170
|
+
},
|
|
33171
|
+
title: L.label,
|
|
33172
|
+
children: /* @__PURE__ */ l.jsx(
|
|
33173
|
+
"button",
|
|
33174
|
+
{
|
|
33175
|
+
onClick: () => t && t(L.id),
|
|
33176
|
+
className: "flex items-center justify-center transition-all duration-200",
|
|
33177
|
+
style: {
|
|
33178
|
+
width: "100%",
|
|
33179
|
+
height: "100%",
|
|
33180
|
+
backgroundColor: "transparent",
|
|
33181
|
+
borderRadius: "8px"
|
|
33182
|
+
},
|
|
33183
|
+
title: L.label,
|
|
33184
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
32985
33185
|
"div",
|
|
32986
33186
|
{
|
|
32987
|
-
className:
|
|
32988
|
-
style:
|
|
33187
|
+
className: "flex items-center",
|
|
33188
|
+
style: {
|
|
32989
33189
|
justifyContent: "center",
|
|
32990
|
-
columnGap: `${
|
|
33190
|
+
columnGap: `${b0}px`,
|
|
32991
33191
|
width: "100%"
|
|
32992
|
-
} : {
|
|
32993
|
-
minWidth: 0
|
|
32994
33192
|
},
|
|
32995
33193
|
children: [
|
|
32996
|
-
|
|
33194
|
+
/* @__PURE__ */ l.jsx(
|
|
32997
33195
|
"div",
|
|
32998
33196
|
{
|
|
32999
33197
|
style: {
|
|
33000
|
-
width: `${
|
|
33001
|
-
height: `${
|
|
33198
|
+
width: `${w0}px`,
|
|
33199
|
+
height: `${w0}px`,
|
|
33002
33200
|
opacity: 1,
|
|
33003
33201
|
transform: "rotate(0deg)",
|
|
33004
33202
|
display: "flex",
|
|
33005
33203
|
alignItems: "center",
|
|
33006
33204
|
justifyContent: "center",
|
|
33007
|
-
marginLeft: Q &&
|
|
33008
|
-
...
|
|
33205
|
+
marginLeft: Q && (T[L.id] !== void 0 && T[L.id] > 0 || L.id === "empleados") ? `${t0}px` : void 0,
|
|
33206
|
+
...O || {}
|
|
33009
33207
|
},
|
|
33010
33208
|
children: /* @__PURE__ */ l.jsx(
|
|
33011
33209
|
"div",
|
|
@@ -33023,60 +33221,30 @@ const C5 = UD, x = ({
|
|
|
33023
33221
|
children: /* @__PURE__ */ l.jsx(
|
|
33024
33222
|
x,
|
|
33025
33223
|
{
|
|
33026
|
-
name:
|
|
33224
|
+
name: L.icon,
|
|
33027
33225
|
variant: "24-outline",
|
|
33028
|
-
size:
|
|
33029
|
-
className: r ===
|
|
33226
|
+
size: l0,
|
|
33227
|
+
className: r === L.id ? "color-white" : "color-gray-700",
|
|
33030
33228
|
style: {
|
|
33031
|
-
width: `${
|
|
33032
|
-
height: `${
|
|
33229
|
+
width: `${l0}px`,
|
|
33230
|
+
height: `${l0}px`,
|
|
33033
33231
|
opacity: 1,
|
|
33034
33232
|
transform: "rotate(0deg)",
|
|
33035
|
-
...
|
|
33233
|
+
...x0 || {}
|
|
33036
33234
|
}
|
|
33037
33235
|
}
|
|
33038
33236
|
)
|
|
33039
33237
|
}
|
|
33040
33238
|
)
|
|
33041
33239
|
}
|
|
33042
|
-
) : /* @__PURE__ */ l.jsx(
|
|
33043
|
-
x,
|
|
33044
|
-
{
|
|
33045
|
-
name: "HomeIcon",
|
|
33046
|
-
variant: "24-outline",
|
|
33047
|
-
size: e0,
|
|
33048
|
-
className: `${k ? "" : "mr-3"} ${r === "inicio" ? "color-white" : "color-gray-700"}`,
|
|
33049
|
-
style: {
|
|
33050
|
-
width: `${e0}px`,
|
|
33051
|
-
height: `${e0}px`,
|
|
33052
|
-
opacity: 1,
|
|
33053
|
-
transform: "rotate(0deg)",
|
|
33054
|
-
...w0 || {}
|
|
33055
|
-
}
|
|
33056
|
-
}
|
|
33057
|
-
),
|
|
33058
|
-
!k && /* @__PURE__ */ l.jsx(
|
|
33059
|
-
Z,
|
|
33060
|
-
{
|
|
33061
|
-
variant: "body-lg",
|
|
33062
|
-
weight: r === "inicio" ? D : K,
|
|
33063
|
-
className: `${r === "inicio" ? "color-white" : "color-gray-700"} min-w-0`,
|
|
33064
|
-
style: {
|
|
33065
|
-
fontSize: z,
|
|
33066
|
-
overflow: "hidden",
|
|
33067
|
-
textOverflow: "ellipsis",
|
|
33068
|
-
whiteSpace: "nowrap"
|
|
33069
|
-
},
|
|
33070
|
-
children: "Inicio"
|
|
33071
|
-
}
|
|
33072
33240
|
),
|
|
33073
|
-
|
|
33241
|
+
(T[L.id] !== void 0 && T[L.id] > 0 || L.id === "empleados" && 2) && /* @__PURE__ */ l.jsx(
|
|
33074
33242
|
"span",
|
|
33075
33243
|
{
|
|
33076
33244
|
className: `flex items-center justify-center text-body-sm font-medium ${C0}`,
|
|
33077
33245
|
style: {
|
|
33078
|
-
backgroundColor: r ===
|
|
33079
|
-
color: r ===
|
|
33246
|
+
backgroundColor: r === L.id ? "#ffffff" : "#6D3856",
|
|
33247
|
+
color: r === L.id ? "#6D3856" : "#ffffff",
|
|
33080
33248
|
width: A0,
|
|
33081
33249
|
height: E0,
|
|
33082
33250
|
paddingTop: "4px",
|
|
@@ -33090,259 +33258,71 @@ const C5 = UD, x = ({
|
|
|
33090
33258
|
boxSizing: "border-box",
|
|
33091
33259
|
...R0 || {}
|
|
33092
33260
|
},
|
|
33093
|
-
children:
|
|
33261
|
+
children: L.id === "empleados" ? 2 : T[L.id] > 9 ? "9+" : T[L.id]
|
|
33094
33262
|
}
|
|
33095
33263
|
)
|
|
33096
33264
|
]
|
|
33097
33265
|
}
|
|
33266
|
+
)
|
|
33267
|
+
}
|
|
33268
|
+
)
|
|
33269
|
+
}
|
|
33270
|
+
) : /* @__PURE__ */ l.jsxs(
|
|
33271
|
+
"button",
|
|
33272
|
+
{
|
|
33273
|
+
onClick: () => t && t(L.id),
|
|
33274
|
+
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${r === L.id ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
33275
|
+
style: r === L.id ? { backgroundColor: "#2D5C63" } : {},
|
|
33276
|
+
children: [
|
|
33277
|
+
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center", children: [
|
|
33278
|
+
/* @__PURE__ */ l.jsx(
|
|
33279
|
+
x,
|
|
33280
|
+
{
|
|
33281
|
+
name: L.icon,
|
|
33282
|
+
variant: "24-outline",
|
|
33283
|
+
size: l0,
|
|
33284
|
+
className: `mr-3 ${r === L.id ? "color-white" : "color-gray-700"}`
|
|
33285
|
+
}
|
|
33098
33286
|
),
|
|
33099
|
-
|
|
33100
|
-
|
|
33287
|
+
/* @__PURE__ */ l.jsx(
|
|
33288
|
+
Z,
|
|
33101
33289
|
{
|
|
33102
|
-
|
|
33103
|
-
|
|
33104
|
-
|
|
33290
|
+
variant: "body-lg",
|
|
33291
|
+
weight: r === L.id ? S : K,
|
|
33292
|
+
className: `${r === L.id ? "color-white" : "color-gray-700"} min-w-0`,
|
|
33105
33293
|
style: {
|
|
33106
|
-
|
|
33107
|
-
|
|
33108
|
-
|
|
33294
|
+
fontSize: U,
|
|
33295
|
+
overflow: "hidden",
|
|
33296
|
+
textOverflow: "ellipsis",
|
|
33297
|
+
whiteSpace: "nowrap"
|
|
33109
33298
|
},
|
|
33110
|
-
children:
|
|
33299
|
+
children: L.label
|
|
33111
33300
|
}
|
|
33112
33301
|
)
|
|
33113
|
-
]
|
|
33114
|
-
|
|
33115
|
-
|
|
33116
|
-
|
|
33117
|
-
|
|
33118
|
-
}
|
|
33119
|
-
),
|
|
33120
|
-
a.map((d0, I0) => /* @__PURE__ */ l.jsxs(
|
|
33121
|
-
"div",
|
|
33122
|
-
{
|
|
33123
|
-
className: `${k ? "mb-0" : "mb-6"} ${Y0}`,
|
|
33124
|
-
children: [
|
|
33125
|
-
k && /* @__PURE__ */ l.jsx("div", { className: `px-4 mb-0 ${L0}`, children: /* @__PURE__ */ l.jsx(
|
|
33126
|
-
"div",
|
|
33127
|
-
{
|
|
33128
|
-
className: N0,
|
|
33129
|
-
style: {
|
|
33130
|
-
width: "78px",
|
|
33131
|
-
height: "32px",
|
|
33132
|
-
paddingTop: "16px",
|
|
33133
|
-
paddingRight: "8px",
|
|
33134
|
-
paddingBottom: "16px",
|
|
33135
|
-
paddingLeft: "8px",
|
|
33136
|
-
opacity: 1,
|
|
33137
|
-
transform: "rotate(0deg)",
|
|
33138
|
-
display: "flex",
|
|
33139
|
-
alignItems: "center",
|
|
33140
|
-
justifyContent: "center",
|
|
33141
|
-
boxSizing: "border-box",
|
|
33142
|
-
...$0 || {}
|
|
33143
|
-
},
|
|
33144
|
-
children: /* @__PURE__ */ l.jsx(
|
|
33145
|
-
"div",
|
|
33146
|
-
{
|
|
33147
|
-
className: Z0,
|
|
33148
|
-
style: {
|
|
33149
|
-
width: "42px",
|
|
33150
|
-
height: "0px",
|
|
33151
|
-
opacity: 1,
|
|
33152
|
-
transform: "rotate(0deg)",
|
|
33153
|
-
borderTopWidth: "1px",
|
|
33154
|
-
borderTopStyle: "solid",
|
|
33155
|
-
borderTopColor: "#2D5C63",
|
|
33156
|
-
marginLeft: "auto",
|
|
33157
|
-
marginRight: "auto",
|
|
33158
|
-
...D0 || {}
|
|
33159
|
-
}
|
|
33160
|
-
}
|
|
33161
|
-
)
|
|
33162
|
-
}
|
|
33163
|
-
) }),
|
|
33164
|
-
!k && /* @__PURE__ */ l.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ l.jsx(
|
|
33165
|
-
Z,
|
|
33166
|
-
{
|
|
33167
|
-
variant: "body-sm",
|
|
33168
|
-
className: "color-gray-500 uppercase font-medium tracking-wider",
|
|
33169
|
-
children: d0.title
|
|
33170
|
-
}
|
|
33171
|
-
) }),
|
|
33172
|
-
/* @__PURE__ */ l.jsx("div", { children: d0.items.map((O) => /* @__PURE__ */ l.jsx("div", { className: "px-4", children: /* @__PURE__ */ l.jsx(
|
|
33173
|
-
"div",
|
|
33174
|
-
{
|
|
33175
|
-
className: k ? M0 : "",
|
|
33176
|
-
style: k ? {
|
|
33177
|
-
...a0,
|
|
33178
|
-
backgroundColor: r === O.id ? r0 : "transparent",
|
|
33179
|
-
...m0 || {}
|
|
33180
|
-
} : void 0,
|
|
33181
|
-
title: k ? O.label : "",
|
|
33182
|
-
children: /* @__PURE__ */ l.jsxs(
|
|
33183
|
-
"button",
|
|
33184
|
-
{
|
|
33185
|
-
onClick: () => t && t(O.id),
|
|
33186
|
-
className: `flex items-center ${k ? "justify-center" : "justify-between"} ${k ? "" : "rounded-lg"} transition-all duration-200 ${r === O.id ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
33187
|
-
style: k ? {
|
|
33188
|
-
width: "100%",
|
|
33189
|
-
height: "100%",
|
|
33190
|
-
backgroundColor: "transparent",
|
|
33191
|
-
borderRadius: "8px"
|
|
33192
|
-
} : {
|
|
33193
|
-
width: "228px",
|
|
33194
|
-
height: "40px",
|
|
33195
|
-
paddingTop: "8px",
|
|
33196
|
-
paddingRight: "12px",
|
|
33197
|
-
paddingBottom: "8px",
|
|
33198
|
-
paddingLeft: "12px",
|
|
33199
|
-
gap: "12px",
|
|
33200
|
-
borderRadius: "8px",
|
|
33201
|
-
opacity: 1,
|
|
33202
|
-
backgroundColor: r === O.id ? "#2D5C63" : "transparent"
|
|
33203
|
-
},
|
|
33204
|
-
title: k ? O.label : "",
|
|
33205
|
-
children: [
|
|
33206
|
-
/* @__PURE__ */ l.jsxs(
|
|
33207
|
-
"div",
|
|
33208
|
-
{
|
|
33209
|
-
className: `flex items-center ${k ? "" : "min-w-0 flex-1"}`,
|
|
33210
|
-
style: k ? {
|
|
33211
|
-
justifyContent: "center",
|
|
33212
|
-
columnGap: `${x0}px`,
|
|
33213
|
-
width: "100%"
|
|
33214
|
-
} : {
|
|
33215
|
-
minWidth: 0
|
|
33216
|
-
},
|
|
33217
|
-
children: [
|
|
33218
|
-
k ? /* @__PURE__ */ l.jsx(
|
|
33219
|
-
"div",
|
|
33220
|
-
{
|
|
33221
|
-
style: {
|
|
33222
|
-
width: `${h0}px`,
|
|
33223
|
-
height: `${h0}px`,
|
|
33224
|
-
opacity: 1,
|
|
33225
|
-
transform: "rotate(0deg)",
|
|
33226
|
-
display: "flex",
|
|
33227
|
-
alignItems: "center",
|
|
33228
|
-
justifyContent: "center",
|
|
33229
|
-
marginLeft: Q && (U[O.id] !== void 0 && U[O.id] > 0 || O.id === "empleados") ? `${l0}px` : void 0,
|
|
33230
|
-
...F || {}
|
|
33231
|
-
},
|
|
33232
|
-
children: /* @__PURE__ */ l.jsx(
|
|
33233
|
-
"div",
|
|
33234
|
-
{
|
|
33235
|
-
style: {
|
|
33236
|
-
width: "24px",
|
|
33237
|
-
height: "24px",
|
|
33238
|
-
opacity: 1,
|
|
33239
|
-
transform: "rotate(0deg)",
|
|
33240
|
-
display: "flex",
|
|
33241
|
-
alignItems: "center",
|
|
33242
|
-
justifyContent: "center",
|
|
33243
|
-
...$ || {}
|
|
33244
|
-
},
|
|
33245
|
-
children: /* @__PURE__ */ l.jsx(
|
|
33246
|
-
x,
|
|
33247
|
-
{
|
|
33248
|
-
name: O.icon,
|
|
33249
|
-
variant: "24-outline",
|
|
33250
|
-
size: e0,
|
|
33251
|
-
className: r === O.id ? "color-white" : "color-gray-700",
|
|
33252
|
-
style: {
|
|
33253
|
-
width: `${e0}px`,
|
|
33254
|
-
height: `${e0}px`,
|
|
33255
|
-
opacity: 1,
|
|
33256
|
-
transform: "rotate(0deg)",
|
|
33257
|
-
...w0 || {}
|
|
33258
|
-
}
|
|
33259
|
-
}
|
|
33260
|
-
)
|
|
33261
|
-
}
|
|
33262
|
-
)
|
|
33263
|
-
}
|
|
33264
|
-
) : /* @__PURE__ */ l.jsx(
|
|
33265
|
-
x,
|
|
33266
|
-
{
|
|
33267
|
-
name: O.icon,
|
|
33268
|
-
variant: "24-outline",
|
|
33269
|
-
size: e0,
|
|
33270
|
-
className: `${k ? "" : "mr-3"} ${r === O.id ? "color-white" : "color-gray-700"}`,
|
|
33271
|
-
style: {
|
|
33272
|
-
width: `${e0}px`,
|
|
33273
|
-
height: `${e0}px`,
|
|
33274
|
-
opacity: 1,
|
|
33275
|
-
transform: "rotate(0deg)",
|
|
33276
|
-
...w0 || {}
|
|
33277
|
-
}
|
|
33278
|
-
}
|
|
33279
|
-
),
|
|
33280
|
-
!k && /* @__PURE__ */ l.jsx(
|
|
33281
|
-
Z,
|
|
33282
|
-
{
|
|
33283
|
-
variant: "body-lg",
|
|
33284
|
-
weight: r === O.id ? D : K,
|
|
33285
|
-
className: `${r === O.id ? "color-white" : "color-gray-700"} min-w-0`,
|
|
33286
|
-
style: {
|
|
33287
|
-
fontSize: z,
|
|
33288
|
-
overflow: "hidden",
|
|
33289
|
-
textOverflow: "ellipsis",
|
|
33290
|
-
whiteSpace: "nowrap"
|
|
33291
|
-
},
|
|
33292
|
-
children: O.label
|
|
33293
|
-
}
|
|
33294
|
-
),
|
|
33295
|
-
k && (U[O.id] !== void 0 && U[O.id] > 0 || O.id === "empleados" && 2) && /* @__PURE__ */ l.jsx(
|
|
33296
|
-
"span",
|
|
33297
|
-
{
|
|
33298
|
-
className: `flex items-center justify-center text-body-sm font-medium ${C0}`,
|
|
33299
|
-
style: {
|
|
33300
|
-
backgroundColor: r === O.id ? "#ffffff" : "#6D3856",
|
|
33301
|
-
color: r === O.id ? "#6D3856" : "#ffffff",
|
|
33302
|
-
width: A0,
|
|
33303
|
-
height: E0,
|
|
33304
|
-
paddingTop: "4px",
|
|
33305
|
-
paddingRight: "6px",
|
|
33306
|
-
paddingBottom: "4px",
|
|
33307
|
-
paddingLeft: "6px",
|
|
33308
|
-
borderRadius: "16px",
|
|
33309
|
-
opacity: 1,
|
|
33310
|
-
transform: "rotate(0deg)",
|
|
33311
|
-
marginLeft: Q ? `${f0}px` : void 0,
|
|
33312
|
-
boxSizing: "border-box",
|
|
33313
|
-
...R0 || {}
|
|
33314
|
-
},
|
|
33315
|
-
children: O.id === "empleados" ? 2 : U[O.id] > 9 ? "9+" : U[O.id]
|
|
33316
|
-
}
|
|
33317
|
-
)
|
|
33318
|
-
]
|
|
33319
|
-
}
|
|
33320
|
-
),
|
|
33321
|
-
!k && (U[O.id] !== void 0 && U[O.id] > 0 || O.id === "empleados" && 2) && /* @__PURE__ */ l.jsx(
|
|
33322
|
-
"span",
|
|
33323
|
-
{
|
|
33324
|
-
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33302
|
+
] }),
|
|
33303
|
+
(T[L.id] !== void 0 && T[L.id] > 0 || L.id === "empleados" && 2) && /* @__PURE__ */ l.jsx(
|
|
33304
|
+
"span",
|
|
33305
|
+
{
|
|
33306
|
+
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33325
33307
|
rounded-full flex items-center justify-center\r
|
|
33326
33308
|
text-body-sm font-medium`,
|
|
33327
|
-
|
|
33328
|
-
|
|
33329
|
-
|
|
33330
|
-
|
|
33331
|
-
|
|
33332
|
-
|
|
33333
|
-
|
|
33334
|
-
|
|
33335
|
-
|
|
33336
|
-
}
|
|
33337
|
-
)
|
|
33309
|
+
style: {
|
|
33310
|
+
backgroundColor: r === L.id ? "#ffffff" : "#6D3856",
|
|
33311
|
+
color: r === L.id ? "#6D3856" : "#ffffff",
|
|
33312
|
+
borderRadius: "12px"
|
|
33313
|
+
},
|
|
33314
|
+
children: L.id === "empleados" ? 2 : T[L.id] > 9 ? "9+" : T[L.id]
|
|
33315
|
+
}
|
|
33316
|
+
)
|
|
33317
|
+
]
|
|
33338
33318
|
}
|
|
33339
|
-
) },
|
|
33319
|
+
) }, L.id)) })
|
|
33340
33320
|
]
|
|
33341
33321
|
},
|
|
33342
33322
|
I0
|
|
33343
33323
|
))
|
|
33344
33324
|
] }) }),
|
|
33345
|
-
|
|
33325
|
+
N && !z && /* @__PURE__ */ l.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ l.jsx(
|
|
33346
33326
|
"div",
|
|
33347
33327
|
{
|
|
33348
33328
|
className: "bg-white border rounded-lg px-3 py-2 flex items-center justify-center",
|
|
@@ -33350,28 +33330,28 @@ const C5 = UD, x = ({
|
|
|
33350
33330
|
borderColor: "#2D5C63",
|
|
33351
33331
|
borderRadius: "8px"
|
|
33352
33332
|
},
|
|
33353
|
-
children: typeof
|
|
33333
|
+
children: typeof N == "string" ? /* @__PURE__ */ l.jsx(
|
|
33354
33334
|
Z,
|
|
33355
33335
|
{
|
|
33356
33336
|
variant: "body-sm",
|
|
33357
33337
|
style: { color: "#2D5C63" },
|
|
33358
33338
|
className: "text-center",
|
|
33359
33339
|
children: (() => {
|
|
33360
|
-
const d0 =
|
|
33340
|
+
const d0 = N.split("|");
|
|
33361
33341
|
if (d0.length === 2) {
|
|
33362
|
-
const I0 = d0[0].trim(),
|
|
33363
|
-
if (
|
|
33364
|
-
const
|
|
33365
|
-
if (
|
|
33342
|
+
const I0 = d0[0].trim(), L = d0[1].trim();
|
|
33343
|
+
if (L.includes("Powered by")) {
|
|
33344
|
+
const de = L.match(/Powered by (.+)/);
|
|
33345
|
+
if (de)
|
|
33366
33346
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
33367
33347
|
I0,
|
|
33368
33348
|
" | Powered by ",
|
|
33369
|
-
/* @__PURE__ */ l.jsx("span", { className: "font-bold", children:
|
|
33349
|
+
/* @__PURE__ */ l.jsx("span", { className: "font-bold", children: de[1] })
|
|
33370
33350
|
] });
|
|
33371
33351
|
}
|
|
33372
|
-
return `${I0} | ${
|
|
33352
|
+
return `${I0} | ${L}`;
|
|
33373
33353
|
}
|
|
33374
|
-
return
|
|
33354
|
+
return N;
|
|
33375
33355
|
})()
|
|
33376
33356
|
}
|
|
33377
33357
|
) : /* @__PURE__ */ l.jsxs(
|
|
@@ -33381,21 +33361,21 @@ const C5 = UD, x = ({
|
|
|
33381
33361
|
style: { color: "#2D5C63" },
|
|
33382
33362
|
className: "text-center",
|
|
33383
33363
|
children: [
|
|
33384
|
-
|
|
33385
|
-
|
|
33386
|
-
|
|
33387
|
-
|
|
33364
|
+
N.version && `${N.version}`,
|
|
33365
|
+
N.version && (N.poweredBy || N.brand) && " | ",
|
|
33366
|
+
N.poweredBy && `${N.poweredBy} `,
|
|
33367
|
+
N.brand && /* @__PURE__ */ l.jsx("span", { className: "font-bold", children: N.brand })
|
|
33388
33368
|
]
|
|
33389
33369
|
}
|
|
33390
33370
|
)
|
|
33391
33371
|
}
|
|
33392
33372
|
) }),
|
|
33393
|
-
o0 &&
|
|
33373
|
+
o0 && z && /* @__PURE__ */ l.jsx("div", { className: "px-2 pt-2 pb-2 flex justify-center flex-shrink-0", style: { zIndex: 10 }, children: /* @__PURE__ */ l.jsx(
|
|
33394
33374
|
"div",
|
|
33395
33375
|
{
|
|
33396
33376
|
className: `bg-white flex items-center justify-center ${S0}`,
|
|
33397
33377
|
style: {
|
|
33398
|
-
width: "
|
|
33378
|
+
width: "100%",
|
|
33399
33379
|
height: "32px",
|
|
33400
33380
|
borderRadius: "8px",
|
|
33401
33381
|
border: "1px solid #29474C",
|
|
@@ -33426,7 +33406,7 @@ const C5 = UD, x = ({
|
|
|
33426
33406
|
overflow: "hidden",
|
|
33427
33407
|
textOverflow: "ellipsis",
|
|
33428
33408
|
maxWidth: "100%",
|
|
33429
|
-
...
|
|
33409
|
+
...m0 || {}
|
|
33430
33410
|
},
|
|
33431
33411
|
children: o0
|
|
33432
33412
|
}
|
|
@@ -33454,7 +33434,7 @@ const C5 = UD, x = ({
|
|
|
33454
33434
|
letterSpacing: "0%",
|
|
33455
33435
|
textAlign: "center",
|
|
33456
33436
|
marginLeft: o0.icon ? "4px" : "0",
|
|
33457
|
-
...
|
|
33437
|
+
...m0 || {}
|
|
33458
33438
|
},
|
|
33459
33439
|
children: o0.text
|
|
33460
33440
|
}
|
|
@@ -33490,30 +33470,30 @@ const C5 = UD, x = ({
|
|
|
33490
33470
|
desktopSearchContainerClassName: p = "",
|
|
33491
33471
|
desktopSearchContainerStyle: E,
|
|
33492
33472
|
desktopRightContainerClassName: A = "",
|
|
33493
|
-
desktopRightContainerStyle:
|
|
33473
|
+
desktopRightContainerStyle: V,
|
|
33494
33474
|
notificationButtonClassName: C = "",
|
|
33495
|
-
notificationButtonStyle:
|
|
33475
|
+
notificationButtonStyle: W,
|
|
33496
33476
|
notificationIconClassName: _ = "",
|
|
33497
33477
|
notificationIconStyle: q,
|
|
33498
33478
|
notificationBadgeClassName: y = "",
|
|
33499
|
-
notificationBadgeStyle:
|
|
33479
|
+
notificationBadgeStyle: B,
|
|
33500
33480
|
// Overrides específicos de medidas/posiciones (Desktop / Mobile)
|
|
33501
|
-
notificationDesktopButtonStyle:
|
|
33481
|
+
notificationDesktopButtonStyle: U,
|
|
33502
33482
|
notificationDesktopIconWrapperClassName: K = "",
|
|
33503
|
-
notificationDesktopIconWrapperStyle:
|
|
33483
|
+
notificationDesktopIconWrapperStyle: S,
|
|
33504
33484
|
notificationDesktopIconSize: G = 24,
|
|
33505
|
-
notificationDesktopIconStrokeWidth:
|
|
33485
|
+
notificationDesktopIconStrokeWidth: n0 = 1.5,
|
|
33506
33486
|
notificationDesktopIconStyle: J,
|
|
33507
33487
|
notificationDesktopBadgeStyle: $,
|
|
33508
|
-
notificationMobileButtonClassName:
|
|
33488
|
+
notificationMobileButtonClassName: O = "",
|
|
33509
33489
|
notificationMobileButtonStyle: Q,
|
|
33510
|
-
notificationMobileIconWrapperClassName:
|
|
33490
|
+
notificationMobileIconWrapperClassName: t0 = "",
|
|
33511
33491
|
notificationMobileIconWrapperStyle: f0,
|
|
33512
|
-
notificationMobileIconSize:
|
|
33513
|
-
notificationMobileIconStrokeWidth:
|
|
33492
|
+
notificationMobileIconSize: b0 = 24,
|
|
33493
|
+
notificationMobileIconStrokeWidth: x0 = 1.5,
|
|
33514
33494
|
notificationMobileIconStyle: M0,
|
|
33515
|
-
showNotificationBadgeOnMobile:
|
|
33516
|
-
notificationMobileBadgeStyle:
|
|
33495
|
+
showNotificationBadgeOnMobile: h0 = !1,
|
|
33496
|
+
notificationMobileBadgeStyle: a0,
|
|
33517
33497
|
// Desktop avatar / nombre (overrides)
|
|
33518
33498
|
desktopUserAvatarClassName: C0 = "",
|
|
33519
33499
|
desktopUserAvatarStyle: R0,
|
|
@@ -33525,7 +33505,7 @@ const C5 = UD, x = ({
|
|
|
33525
33505
|
sidebarActiveItem: j0,
|
|
33526
33506
|
onSidebarItemClick: B0,
|
|
33527
33507
|
// Mobile: permitir persistir el item activo aunque el consumidor no controle sidebarActiveItem
|
|
33528
|
-
enableInternalSidebarActiveItem:
|
|
33508
|
+
enableInternalSidebarActiveItem: m0 = !0,
|
|
33529
33509
|
sidebarItemBadges: Z0,
|
|
33530
33510
|
sidebarCompanyName: D0,
|
|
33531
33511
|
sidebarCompanyLogo: N0,
|
|
@@ -33533,30 +33513,30 @@ const C5 = UD, x = ({
|
|
|
33533
33513
|
sidebarFooterCollapsedContent: X0,
|
|
33534
33514
|
sidebarCoreContainerStyle: Y0,
|
|
33535
33515
|
sidebarCoreTextStyle: L0,
|
|
33536
|
-
className:
|
|
33537
|
-
...
|
|
33516
|
+
className: le = "",
|
|
33517
|
+
...oe
|
|
33538
33518
|
}) => {
|
|
33539
|
-
const [O0,
|
|
33540
|
-
i0.current && (clearTimeout(i0.current), i0.current = null), F0(!0),
|
|
33519
|
+
const [O0, T] = H(""), [N, v0] = H(!1), [k0, F0] = H(!1), [P0, H0] = H(void 0), i0 = ge(null), z = c > 0 ? "BellAlertIcon" : "BellIcon", K0 = () => {
|
|
33520
|
+
i0.current && (clearTimeout(i0.current), i0.current = null), F0(!0), v0(!1), requestAnimationFrame(() => v0(!0));
|
|
33541
33521
|
}, W0 = () => {
|
|
33542
|
-
|
|
33543
|
-
}, Q0 = j0 ?? (
|
|
33544
|
-
|
|
33522
|
+
v0(!1);
|
|
33523
|
+
}, Q0 = j0 ?? (m0 ? P0 : j0);
|
|
33524
|
+
g0(() => (!N && k0 && (i0.current = setTimeout(() => {
|
|
33545
33525
|
F0(!1), i0.current = null;
|
|
33546
33526
|
}, w)), () => {
|
|
33547
33527
|
i0.current && (clearTimeout(i0.current), i0.current = null);
|
|
33548
|
-
}), [
|
|
33549
|
-
const
|
|
33550
|
-
const y0 =
|
|
33551
|
-
|
|
33552
|
-
},
|
|
33553
|
-
|
|
33528
|
+
}), [N, k0, w]);
|
|
33529
|
+
const w0 = (e0) => {
|
|
33530
|
+
const y0 = e0.target.value;
|
|
33531
|
+
T(y0), u && u(y0);
|
|
33532
|
+
}, l0 = (e0) => {
|
|
33533
|
+
e0.preventDefault(), u && u(O0);
|
|
33554
33534
|
};
|
|
33555
33535
|
return /* @__PURE__ */ l.jsxs(
|
|
33556
33536
|
"header",
|
|
33557
33537
|
{
|
|
33558
|
-
className: `bg-white ${d ? f : ""} ${
|
|
33559
|
-
...
|
|
33538
|
+
className: `bg-white ${d ? f : ""} ${le}`,
|
|
33539
|
+
...oe,
|
|
33560
33540
|
children: [
|
|
33561
33541
|
/* @__PURE__ */ l.jsx("style", { children: `
|
|
33562
33542
|
.header-search-input {
|
|
@@ -33622,13 +33602,13 @@ const C5 = UD, x = ({
|
|
|
33622
33602
|
{
|
|
33623
33603
|
className: `flex-1 mr-2 md:mr-4 ${p}`,
|
|
33624
33604
|
style: { maxWidth: "none", minWidth: "0", ...E || {} },
|
|
33625
|
-
children: /* @__PURE__ */ l.jsxs("form", { onSubmit:
|
|
33605
|
+
children: /* @__PURE__ */ l.jsxs("form", { onSubmit: l0, className: "header-search-form flex items-center w-full", children: [
|
|
33626
33606
|
/* @__PURE__ */ l.jsx(
|
|
33627
33607
|
"input",
|
|
33628
33608
|
{
|
|
33629
33609
|
type: "text",
|
|
33630
33610
|
value: O0,
|
|
33631
|
-
onChange:
|
|
33611
|
+
onChange: w0,
|
|
33632
33612
|
placeholder: a,
|
|
33633
33613
|
className: `header-search-input flex-1 pl-2 md:pl-4 pr-2 md:pr-4 py-2 md:py-2.5 bg-white border border-gray-400 rounded-l-lg \r
|
|
33634
33614
|
focus:outline-none text-sm md:text-base`,
|
|
@@ -33675,7 +33655,7 @@ const C5 = UD, x = ({
|
|
|
33675
33655
|
"div",
|
|
33676
33656
|
{
|
|
33677
33657
|
className: `flex items-center space-x-3 md:space-x-6 flex-shrink-0 ${A}`,
|
|
33678
|
-
style: { marginLeft: "auto", paddingRight: "0px", ...
|
|
33658
|
+
style: { marginLeft: "auto", paddingRight: "0px", ...V || {} },
|
|
33679
33659
|
children: [
|
|
33680
33660
|
c !== void 0 && /* @__PURE__ */ l.jsxs(
|
|
33681
33661
|
"button",
|
|
@@ -33688,8 +33668,8 @@ const C5 = UD, x = ({
|
|
|
33688
33668
|
// Un ml-* en el primer hijo no “mueve” visualmente, porque ensancha el contenedor hacia la izquierda.
|
|
33689
33669
|
// Por eso usamos translateX por defecto (overrideable por props).
|
|
33690
33670
|
transform: "translateX(12px)",
|
|
33691
|
-
...
|
|
33692
|
-
...
|
|
33671
|
+
...W || {},
|
|
33672
|
+
...U || {}
|
|
33693
33673
|
},
|
|
33694
33674
|
children: [
|
|
33695
33675
|
/* @__PURE__ */ l.jsx(
|
|
@@ -33700,15 +33680,15 @@ const C5 = UD, x = ({
|
|
|
33700
33680
|
width: "24px",
|
|
33701
33681
|
height: "24px",
|
|
33702
33682
|
opacity: 1,
|
|
33703
|
-
...
|
|
33683
|
+
...S || {}
|
|
33704
33684
|
},
|
|
33705
33685
|
children: /* @__PURE__ */ l.jsx(
|
|
33706
33686
|
x,
|
|
33707
33687
|
{
|
|
33708
|
-
name:
|
|
33688
|
+
name: z,
|
|
33709
33689
|
variant: "24-outline",
|
|
33710
33690
|
size: G,
|
|
33711
|
-
strokeWidth:
|
|
33691
|
+
strokeWidth: n0,
|
|
33712
33692
|
className: `color-gray-600 ${_}`,
|
|
33713
33693
|
style: {
|
|
33714
33694
|
width: "24px",
|
|
@@ -33741,7 +33721,7 @@ const C5 = UD, x = ({
|
|
|
33741
33721
|
borderRadius: "16px",
|
|
33742
33722
|
opacity: 1,
|
|
33743
33723
|
transform: "rotate(0deg)",
|
|
33744
|
-
...
|
|
33724
|
+
...B || {},
|
|
33745
33725
|
...$ || {}
|
|
33746
33726
|
},
|
|
33747
33727
|
children: c > 9 ? "9+" : c
|
|
@@ -33759,7 +33739,7 @@ const C5 = UD, x = ({
|
|
|
33759
33739
|
"aria-label": "Perfil de usuario",
|
|
33760
33740
|
children: [
|
|
33761
33741
|
/* @__PURE__ */ l.jsx(
|
|
33762
|
-
|
|
33742
|
+
ne,
|
|
33763
33743
|
{
|
|
33764
33744
|
src: n,
|
|
33765
33745
|
name: t,
|
|
@@ -33858,7 +33838,7 @@ const C5 = UD, x = ({
|
|
|
33858
33838
|
"button",
|
|
33859
33839
|
{
|
|
33860
33840
|
onClick: s,
|
|
33861
|
-
className: `ml-2 hover:bg-gray-100 transition-colors flex items-center justify-center ${C} ${
|
|
33841
|
+
className: `ml-2 hover:bg-gray-100 transition-colors flex items-center justify-center ${C} ${O}`,
|
|
33862
33842
|
"aria-label": "Notificaciones",
|
|
33863
33843
|
style: {
|
|
33864
33844
|
width: "48px",
|
|
@@ -33867,14 +33847,14 @@ const C5 = UD, x = ({
|
|
|
33867
33847
|
borderRadius: "8px",
|
|
33868
33848
|
opacity: 1,
|
|
33869
33849
|
transform: "rotate(0deg)",
|
|
33870
|
-
...
|
|
33850
|
+
...W || {},
|
|
33871
33851
|
...Q || {}
|
|
33872
33852
|
},
|
|
33873
33853
|
children: [
|
|
33874
33854
|
/* @__PURE__ */ l.jsx(
|
|
33875
33855
|
"span",
|
|
33876
33856
|
{
|
|
33877
|
-
className: `relative inline-block ${
|
|
33857
|
+
className: `relative inline-block ${t0}`,
|
|
33878
33858
|
style: {
|
|
33879
33859
|
width: "24px",
|
|
33880
33860
|
height: "24px",
|
|
@@ -33884,10 +33864,10 @@ const C5 = UD, x = ({
|
|
|
33884
33864
|
children: /* @__PURE__ */ l.jsx(
|
|
33885
33865
|
x,
|
|
33886
33866
|
{
|
|
33887
|
-
name:
|
|
33867
|
+
name: z,
|
|
33888
33868
|
variant: "24-outline",
|
|
33889
|
-
size:
|
|
33890
|
-
strokeWidth:
|
|
33869
|
+
size: b0,
|
|
33870
|
+
strokeWidth: x0,
|
|
33891
33871
|
className: `color-gray-600 ${_}`,
|
|
33892
33872
|
style: {
|
|
33893
33873
|
width: "24px",
|
|
@@ -33904,7 +33884,7 @@ const C5 = UD, x = ({
|
|
|
33904
33884
|
)
|
|
33905
33885
|
}
|
|
33906
33886
|
),
|
|
33907
|
-
|
|
33887
|
+
h0 && c > 0 && /* @__PURE__ */ l.jsx(
|
|
33908
33888
|
"span",
|
|
33909
33889
|
{
|
|
33910
33890
|
className: `h-5 text-white flex items-center justify-center text-body-sm font-medium ${y}`,
|
|
@@ -33921,8 +33901,8 @@ const C5 = UD, x = ({
|
|
|
33921
33901
|
marginLeft: "6px",
|
|
33922
33902
|
opacity: 1,
|
|
33923
33903
|
transform: "rotate(0deg)",
|
|
33924
|
-
...
|
|
33925
|
-
...
|
|
33904
|
+
...B || {},
|
|
33905
|
+
...a0 || {}
|
|
33926
33906
|
},
|
|
33927
33907
|
children: c > 9 ? "9+" : c
|
|
33928
33908
|
}
|
|
@@ -33937,7 +33917,7 @@ const C5 = UD, x = ({
|
|
|
33937
33917
|
className: "hover:bg-gray-50 rounded-lg transition-colors",
|
|
33938
33918
|
"aria-label": "Perfil de usuario",
|
|
33939
33919
|
children: /* @__PURE__ */ l.jsx(
|
|
33940
|
-
|
|
33920
|
+
ne,
|
|
33941
33921
|
{
|
|
33942
33922
|
src: n,
|
|
33943
33923
|
name: t || "",
|
|
@@ -33951,13 +33931,13 @@ const C5 = UD, x = ({
|
|
|
33951
33931
|
)
|
|
33952
33932
|
] })
|
|
33953
33933
|
] }),
|
|
33954
|
-
/* @__PURE__ */ l.jsx("div", { className: "header-mobile-search-row", children: /* @__PURE__ */ l.jsxs("form", { onSubmit:
|
|
33934
|
+
/* @__PURE__ */ l.jsx("div", { className: "header-mobile-search-row", children: /* @__PURE__ */ l.jsxs("form", { onSubmit: l0, className: "header-search-form flex items-center w-full", children: [
|
|
33955
33935
|
/* @__PURE__ */ l.jsx(
|
|
33956
33936
|
"input",
|
|
33957
33937
|
{
|
|
33958
33938
|
type: "text",
|
|
33959
33939
|
value: O0,
|
|
33960
|
-
onChange:
|
|
33940
|
+
onChange: w0,
|
|
33961
33941
|
placeholder: r,
|
|
33962
33942
|
className: `header-search-input flex-1 pl-3 pr-3 py-2 bg-white border border-gray-400 rounded-l-lg \r
|
|
33963
33943
|
focus:outline-none text-sm`,
|
|
@@ -34003,12 +33983,12 @@ const C5 = UD, x = ({
|
|
|
34003
33983
|
)
|
|
34004
33984
|
] }),
|
|
34005
33985
|
k0 && /* @__PURE__ */ l.jsx("div", { className: "header-core-mobile-sidebar-wrapper", children: /* @__PURE__ */ l.jsx(
|
|
34006
|
-
|
|
33986
|
+
Se,
|
|
34007
33987
|
{
|
|
34008
33988
|
sections: S0,
|
|
34009
33989
|
activeItem: Q0,
|
|
34010
|
-
onItemClick: (
|
|
34011
|
-
|
|
33990
|
+
onItemClick: (e0) => {
|
|
33991
|
+
m0 && H0(e0), B0 && B0(e0), requestAnimationFrame(() => W0());
|
|
34012
33992
|
},
|
|
34013
33993
|
itemBadges: Z0,
|
|
34014
33994
|
companyName: D0,
|
|
@@ -34017,7 +33997,7 @@ const C5 = UD, x = ({
|
|
|
34017
33997
|
footerCollapsedContent: X0,
|
|
34018
33998
|
coreContainerStyle: Y0,
|
|
34019
33999
|
coreTextStyle: L0,
|
|
34020
|
-
isOpen:
|
|
34000
|
+
isOpen: N,
|
|
34021
34001
|
onClose: W0,
|
|
34022
34002
|
transitionDurationMs: w,
|
|
34023
34003
|
transitionEasing: v
|
|
@@ -34026,7 +34006,7 @@ const C5 = UD, x = ({
|
|
|
34026
34006
|
]
|
|
34027
34007
|
}
|
|
34028
34008
|
);
|
|
34029
|
-
},
|
|
34009
|
+
}, De = [
|
|
34030
34010
|
{
|
|
34031
34011
|
title: "PERSONAS",
|
|
34032
34012
|
items: [
|
|
@@ -34042,7 +34022,7 @@ const C5 = UD, x = ({
|
|
|
34042
34022
|
]
|
|
34043
34023
|
}
|
|
34044
34024
|
], eP = ({
|
|
34045
|
-
sections: a =
|
|
34025
|
+
sections: a = De,
|
|
34046
34026
|
activeItem: r,
|
|
34047
34027
|
onItemClick: t,
|
|
34048
34028
|
defaultCollapsed: n = !1,
|
|
@@ -34060,7 +34040,7 @@ const C5 = UD, x = ({
|
|
|
34060
34040
|
className: v = "",
|
|
34061
34041
|
...b
|
|
34062
34042
|
}) => {
|
|
34063
|
-
const [h, M] =
|
|
34043
|
+
const [h, M] = H(n);
|
|
34064
34044
|
return /* @__PURE__ */ l.jsx(
|
|
34065
34045
|
"aside",
|
|
34066
34046
|
{
|
|
@@ -34277,7 +34257,7 @@ const C5 = UD, x = ({
|
|
|
34277
34257
|
}
|
|
34278
34258
|
);
|
|
34279
34259
|
}, JD = ({
|
|
34280
|
-
sections: a =
|
|
34260
|
+
sections: a = De,
|
|
34281
34261
|
activeItem: r,
|
|
34282
34262
|
onItemClick: t,
|
|
34283
34263
|
companyName: n = "HEXA Point",
|
|
@@ -34289,8 +34269,8 @@ const C5 = UD, x = ({
|
|
|
34289
34269
|
className: f = "",
|
|
34290
34270
|
...w
|
|
34291
34271
|
}) => {
|
|
34292
|
-
const [v, b] =
|
|
34293
|
-
|
|
34272
|
+
const [v, b] = H(!1), [h, M] = H(!1), g = i !== void 0 ? i : v;
|
|
34273
|
+
g0(() => {
|
|
34294
34274
|
if (i !== void 0)
|
|
34295
34275
|
if (i) {
|
|
34296
34276
|
M(!1);
|
|
@@ -34457,7 +34437,7 @@ const C5 = UD, x = ({
|
|
|
34457
34437
|
]
|
|
34458
34438
|
}
|
|
34459
34439
|
) }),
|
|
34460
|
-
a.map((A,
|
|
34440
|
+
a.map((A, V) => /* @__PURE__ */ l.jsxs("div", { className: "mb-6", children: [
|
|
34461
34441
|
/* @__PURE__ */ l.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ l.jsx(
|
|
34462
34442
|
Z,
|
|
34463
34443
|
{
|
|
@@ -34510,13 +34490,13 @@ const C5 = UD, x = ({
|
|
|
34510
34490
|
]
|
|
34511
34491
|
}
|
|
34512
34492
|
) }, C.id)) })
|
|
34513
|
-
] },
|
|
34493
|
+
] }, V))
|
|
34514
34494
|
] })
|
|
34515
34495
|
] })
|
|
34516
34496
|
}
|
|
34517
34497
|
)
|
|
34518
34498
|
] });
|
|
34519
|
-
},
|
|
34499
|
+
}, Ae = "80px", eN = "40px", je = "40px", aN = "#6D3856", me = "#374151", ve = "#9ca3af", ue = "#3b82f6", rN = "IBM Plex Sans", nN = 400, tN = "14px", lN = "20px", oN = "1024px", $e = "1025px", cN = "700px", ke = "transparent", aP = ({
|
|
34520
34500
|
searchPlaceholder: a = "Buscar empleados, reportes, configuraciones...",
|
|
34521
34501
|
userName: r,
|
|
34522
34502
|
userAvatar: t,
|
|
@@ -34530,16 +34510,16 @@ const C5 = UD, x = ({
|
|
|
34530
34510
|
sidebarItemBadges: w,
|
|
34531
34511
|
sidebarCompanyName: v,
|
|
34532
34512
|
sidebarCompanyLogo: b,
|
|
34533
|
-
mobileBackgroundColor: h =
|
|
34513
|
+
mobileBackgroundColor: h = ke,
|
|
34534
34514
|
className: M = "",
|
|
34535
34515
|
...g
|
|
34536
34516
|
}) => {
|
|
34537
|
-
const [j, p] =
|
|
34538
|
-
const
|
|
34539
|
-
p(
|
|
34517
|
+
const [j, p] = H(""), [E, A] = H(!1), V = (y) => {
|
|
34518
|
+
const B = y.target.value;
|
|
34519
|
+
p(B), c && c(B);
|
|
34540
34520
|
}, C = (y) => {
|
|
34541
34521
|
y.preventDefault(), c && c(j);
|
|
34542
|
-
},
|
|
34522
|
+
}, W = (y) => {
|
|
34543
34523
|
f && f(y), A(!1);
|
|
34544
34524
|
}, _ = () => {
|
|
34545
34525
|
A(!1);
|
|
@@ -34547,12 +34527,12 @@ const C5 = UD, x = ({
|
|
|
34547
34527
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
34548
34528
|
/* @__PURE__ */ l.jsx("style", { children: `
|
|
34549
34529
|
.header-point-container {
|
|
34550
|
-
height: ${
|
|
34530
|
+
height: ${Ae};
|
|
34551
34531
|
}
|
|
34552
34532
|
.header-search-input {
|
|
34553
|
-
border-color: ${
|
|
34533
|
+
border-color: ${ve};
|
|
34554
34534
|
height: ${eN};
|
|
34555
|
-
color: ${
|
|
34535
|
+
color: ${me};
|
|
34556
34536
|
font-family: ${rN};
|
|
34557
34537
|
font-weight: ${nN};
|
|
34558
34538
|
font-style: italic;
|
|
@@ -34561,28 +34541,28 @@ const C5 = UD, x = ({
|
|
|
34561
34541
|
letter-spacing: 0px;
|
|
34562
34542
|
}
|
|
34563
34543
|
.header-search-input::placeholder {
|
|
34564
|
-
color: ${
|
|
34544
|
+
color: ${ve} !important;
|
|
34565
34545
|
opacity: 1 !important;
|
|
34566
34546
|
}
|
|
34567
34547
|
.header-search-icon-container {
|
|
34568
|
-
border-color: ${
|
|
34569
|
-
width: ${
|
|
34570
|
-
height: ${
|
|
34548
|
+
border-color: ${ve};
|
|
34549
|
+
width: ${je};
|
|
34550
|
+
height: ${je};
|
|
34571
34551
|
}
|
|
34572
34552
|
.header-search-form:focus-within .header-search-input {
|
|
34573
|
-
border-color: ${
|
|
34574
|
-
box-shadow: 0 0 0 1px ${
|
|
34553
|
+
border-color: ${ue} !important;
|
|
34554
|
+
box-shadow: 0 0 0 1px ${ue};
|
|
34575
34555
|
}
|
|
34576
34556
|
.header-search-form:focus-within .header-search-icon-container {
|
|
34577
|
-
border-color: ${
|
|
34578
|
-
box-shadow: 0 0 0 1px ${
|
|
34557
|
+
border-color: ${ue} !important;
|
|
34558
|
+
box-shadow: 0 0 0 1px ${ue};
|
|
34579
34559
|
}
|
|
34580
34560
|
.header-notification-badge {
|
|
34581
34561
|
background-color: ${aN};
|
|
34582
34562
|
border-radius: 12px;
|
|
34583
34563
|
}
|
|
34584
34564
|
.header-desktop-layout {
|
|
34585
|
-
height: ${
|
|
34565
|
+
height: ${Ae};
|
|
34586
34566
|
}
|
|
34587
34567
|
.header-search-wrapper {
|
|
34588
34568
|
flex: 1 1 0%;
|
|
@@ -34592,7 +34572,7 @@ const C5 = UD, x = ({
|
|
|
34592
34572
|
flex-shrink: 0;
|
|
34593
34573
|
}
|
|
34594
34574
|
/* Estilos para rango intermedio (1025px - 700px) - No aplica con nuevo breakpoint */
|
|
34595
|
-
@media (min-width: ${$
|
|
34575
|
+
@media (min-width: ${$e}) and (max-width: ${cN}) {
|
|
34596
34576
|
.header-desktop-layout {
|
|
34597
34577
|
gap: 0.5rem;
|
|
34598
34578
|
padding-left: 0.25rem;
|
|
@@ -34677,7 +34657,7 @@ const C5 = UD, x = ({
|
|
|
34677
34657
|
background-color: ${h} !important;
|
|
34678
34658
|
background: ${h} !important;
|
|
34679
34659
|
z-index: 0 !important;
|
|
34680
|
-
border-bottom: ${h !==
|
|
34660
|
+
border-bottom: ${h !== ke ? "1px solid var(--color-main-800)" : "none"} !important;
|
|
34681
34661
|
pointer-events: none !important;
|
|
34682
34662
|
display: block !important;
|
|
34683
34663
|
visibility: visible !important;
|
|
@@ -34723,15 +34703,15 @@ const C5 = UD, x = ({
|
|
|
34723
34703
|
.header-mobile-menu-button:hover .header-mobile-menu-icon,
|
|
34724
34704
|
.header-mobile-menu-button:active .header-mobile-menu-icon,
|
|
34725
34705
|
.header-mobile-menu-button:focus .header-mobile-menu-icon {
|
|
34726
|
-
color: ${
|
|
34706
|
+
color: ${me} !important;
|
|
34727
34707
|
}
|
|
34728
34708
|
.header-mobile-notification-button:hover .header-mobile-notification-icon,
|
|
34729
34709
|
.header-mobile-notification-button:active .header-mobile-notification-icon,
|
|
34730
34710
|
.header-mobile-notification-button:focus .header-mobile-notification-icon {
|
|
34731
|
-
color: ${
|
|
34711
|
+
color: ${me} !important;
|
|
34732
34712
|
}
|
|
34733
34713
|
}
|
|
34734
|
-
@media (min-width: ${$
|
|
34714
|
+
@media (min-width: ${$e}) {
|
|
34735
34715
|
.header-mobile-layout {
|
|
34736
34716
|
display: none;
|
|
34737
34717
|
}
|
|
@@ -34754,7 +34734,7 @@ const C5 = UD, x = ({
|
|
|
34754
34734
|
{
|
|
34755
34735
|
type: "text",
|
|
34756
34736
|
value: j,
|
|
34757
|
-
onChange:
|
|
34737
|
+
onChange: V,
|
|
34758
34738
|
placeholder: a,
|
|
34759
34739
|
className: "header-search-input flex-1 pl-2 md:pl-4 pr-2 md:pr-4 py-2 md:py-2.5 bg-white border border-gray-400 rounded-l-lg focus:outline-none text-sm md:text-base border-r-0 rounded-r-none"
|
|
34760
34740
|
}
|
|
@@ -34798,7 +34778,7 @@ const C5 = UD, x = ({
|
|
|
34798
34778
|
"aria-label": "Perfil de usuario",
|
|
34799
34779
|
children: [
|
|
34800
34780
|
/* @__PURE__ */ l.jsx(
|
|
34801
|
-
|
|
34781
|
+
ne,
|
|
34802
34782
|
{
|
|
34803
34783
|
src: t,
|
|
34804
34784
|
name: r,
|
|
@@ -34882,7 +34862,7 @@ const C5 = UD, x = ({
|
|
|
34882
34862
|
{
|
|
34883
34863
|
type: "text",
|
|
34884
34864
|
value: j,
|
|
34885
|
-
onChange:
|
|
34865
|
+
onChange: V,
|
|
34886
34866
|
placeholder: a,
|
|
34887
34867
|
className: "header-search-input flex-1 pl-4 pr-4 py-2 bg-white border border-gray-400 rounded-l-lg focus:outline-none text-sm border-r-0 rounded-r-none"
|
|
34888
34868
|
}
|
|
@@ -34904,7 +34884,7 @@ const C5 = UD, x = ({
|
|
|
34904
34884
|
{
|
|
34905
34885
|
sections: i,
|
|
34906
34886
|
activeItem: d,
|
|
34907
|
-
onItemClick:
|
|
34887
|
+
onItemClick: W,
|
|
34908
34888
|
itemBadges: w,
|
|
34909
34889
|
companyName: v,
|
|
34910
34890
|
companyLogo: b,
|
|
@@ -34929,7 +34909,7 @@ const C5 = UD, x = ({
|
|
|
34929
34909
|
className: s = "",
|
|
34930
34910
|
...i
|
|
34931
34911
|
}) => {
|
|
34932
|
-
const [d, f] =
|
|
34912
|
+
const [d, f] = H(!1), [w, v] = H(null), [b, h] = H(!1), M = a === "login", g = n.find((p) => p.code === c) || n[0], j = (p) => {
|
|
34933
34913
|
u && u(p), f(!1);
|
|
34934
34914
|
};
|
|
34935
34915
|
return M ? (() => {
|
|
@@ -34946,7 +34926,7 @@ const C5 = UD, x = ({
|
|
|
34946
34926
|
...E,
|
|
34947
34927
|
children: [
|
|
34948
34928
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
34949
|
-
/* @__PURE__ */ l.jsx(
|
|
34929
|
+
/* @__PURE__ */ l.jsx(te, { width: 36, height: 40 }),
|
|
34950
34930
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center", style: { gap: "4px" }, children: [
|
|
34951
34931
|
/* @__PURE__ */ l.jsx(
|
|
34952
34932
|
Z,
|
|
@@ -35138,7 +35118,7 @@ const C5 = UD, x = ({
|
|
|
35138
35118
|
);
|
|
35139
35119
|
})() : /* @__PURE__ */ l.jsxs("header", { className: `w-full flex justify-between items-center bg-white ${s}`, style: { paddingTop: "4px", paddingBottom: "4px", paddingLeft: "8px", paddingRight: "12px" }, ...i, children: [
|
|
35140
35120
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
35141
|
-
/* @__PURE__ */ l.jsx(
|
|
35121
|
+
/* @__PURE__ */ l.jsx(te, { width: 32, height: 36 }),
|
|
35142
35122
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center", style: { gap: "4px" }, children: [
|
|
35143
35123
|
/* @__PURE__ */ l.jsx(Z, { variant: "h6", className: "font-normal", style: { color: "#2D5C63", margin: 0 }, children: r }),
|
|
35144
35124
|
/* @__PURE__ */ l.jsx(Z, { variant: "h6", className: "font-normal", style: { color: "#2D5C63", margin: 0 }, children: t })
|
|
@@ -35205,11 +35185,11 @@ const C5 = UD, x = ({
|
|
|
35205
35185
|
className: h = "",
|
|
35206
35186
|
...M
|
|
35207
35187
|
}) => {
|
|
35208
|
-
const [g, j] =
|
|
35209
|
-
const C =
|
|
35188
|
+
const [g, j] = H(""), p = (V) => V > 9 ? "9+" : V, E = (V) => {
|
|
35189
|
+
const C = V.target.value;
|
|
35210
35190
|
j(C), c && c(C);
|
|
35211
|
-
}, A = (
|
|
35212
|
-
|
|
35191
|
+
}, A = (V) => {
|
|
35192
|
+
V.preventDefault(), c && c(g);
|
|
35213
35193
|
};
|
|
35214
35194
|
return /* @__PURE__ */ l.jsxs(
|
|
35215
35195
|
"header",
|
|
@@ -35333,7 +35313,7 @@ const C5 = UD, x = ({
|
|
|
35333
35313
|
"aria-label": "Perfil de usuario",
|
|
35334
35314
|
children: [
|
|
35335
35315
|
/* @__PURE__ */ l.jsx(
|
|
35336
|
-
|
|
35316
|
+
ne,
|
|
35337
35317
|
{
|
|
35338
35318
|
src: t,
|
|
35339
35319
|
name: r,
|
|
@@ -35368,7 +35348,7 @@ const C5 = UD, x = ({
|
|
|
35368
35348
|
]
|
|
35369
35349
|
}
|
|
35370
35350
|
);
|
|
35371
|
-
}, dN = 24, sN = "#FFFFFF", uN = "#374151", fN = "#2D5C63", wN = "#FFFFFF", hN = "#374151",
|
|
35351
|
+
}, dN = 24, sN = "#FFFFFF", uN = "#374151", fN = "#2D5C63", wN = "#FFFFFF", hN = "#374151", ae = "80px", U0 = "16px", mN = "rgba(0, 0, 0, 0.1)", vN = "1024px", gN = "1025px", pN = [
|
|
35372
35352
|
{ id: "inicio", label: "Inicio", icon: "Squares2X2Icon" },
|
|
35373
35353
|
{ id: "docs", label: "Docs", icon: "DocumentTextIcon" },
|
|
35374
35354
|
{ id: "equipo", label: "Equipo", icon: "UserGroupIcon" },
|
|
@@ -35388,8 +35368,8 @@ const C5 = UD, x = ({
|
|
|
35388
35368
|
.nav-point {
|
|
35389
35369
|
border-radius: ${U0} ${U0} 0 0 !important;
|
|
35390
35370
|
overflow: hidden !important;
|
|
35391
|
-
min-height: ${
|
|
35392
|
-
height: ${
|
|
35371
|
+
min-height: ${ae} !important;
|
|
35372
|
+
height: ${ae} !important;
|
|
35393
35373
|
}
|
|
35394
35374
|
/* Mostrar NavPoint de 0px a 1024px */
|
|
35395
35375
|
@media (max-width: ${vN}) {
|
|
@@ -35409,7 +35389,7 @@ const C5 = UD, x = ({
|
|
|
35409
35389
|
}
|
|
35410
35390
|
.nav-point-item {
|
|
35411
35391
|
min-width: 0;
|
|
35412
|
-
min-height: ${
|
|
35392
|
+
min-height: ${ae};
|
|
35413
35393
|
height: 100%;
|
|
35414
35394
|
}
|
|
35415
35395
|
.nav-point-text {
|
|
@@ -35432,8 +35412,8 @@ const C5 = UD, x = ({
|
|
|
35432
35412
|
boxShadow: `0 -2px 8px ${mN}`,
|
|
35433
35413
|
borderRadius: `${U0} ${U0} 0 0`,
|
|
35434
35414
|
overflow: "hidden",
|
|
35435
|
-
minHeight:
|
|
35436
|
-
height:
|
|
35415
|
+
minHeight: ae,
|
|
35416
|
+
height: ae
|
|
35437
35417
|
},
|
|
35438
35418
|
...c,
|
|
35439
35419
|
children: /* @__PURE__ */ l.jsx("div", { className: "flex items-stretch h-full", style: { overflow: "hidden" }, children: a.map((i, d) => {
|
|
@@ -35491,7 +35471,7 @@ const C5 = UD, x = ({
|
|
|
35491
35471
|
className: i = "",
|
|
35492
35472
|
...d
|
|
35493
35473
|
}) => {
|
|
35494
|
-
if (
|
|
35474
|
+
if (g0(() => (a ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
35495
35475
|
document.body.style.overflow = "unset";
|
|
35496
35476
|
}), [a]), !a) return null;
|
|
35497
35477
|
const f = {
|
|
@@ -35548,7 +35528,7 @@ const C5 = UD, x = ({
|
|
|
35548
35528
|
className: c = "",
|
|
35549
35529
|
...u
|
|
35550
35530
|
}) => {
|
|
35551
|
-
const [s, i] =
|
|
35531
|
+
const [s, i] = H(r), d = (w) => {
|
|
35552
35532
|
i(w), t && t(w);
|
|
35553
35533
|
}, f = {
|
|
35554
35534
|
default: "border-blue-500 text-blue-600",
|
|
@@ -35577,7 +35557,7 @@ const C5 = UD, x = ({
|
|
|
35577
35557
|
className: n = "",
|
|
35578
35558
|
...c
|
|
35579
35559
|
}) => {
|
|
35580
|
-
const [u, s] =
|
|
35560
|
+
const [u, s] = H(t), i = (d) => {
|
|
35581
35561
|
s(
|
|
35582
35562
|
r ? (f) => f.includes(d) ? f.filter((w) => w !== d) : [...f, d] : (f) => f.includes(d) ? [] : [d]
|
|
35583
35563
|
);
|
|
@@ -35713,7 +35693,7 @@ const C5 = UD, x = ({
|
|
|
35713
35693
|
className: i = "",
|
|
35714
35694
|
...d
|
|
35715
35695
|
}) => {
|
|
35716
|
-
if (
|
|
35696
|
+
if (g0(() => (a ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
35717
35697
|
document.body.style.overflow = "unset";
|
|
35718
35698
|
}), [a]), !a) return null;
|
|
35719
35699
|
const f = {
|
|
@@ -35764,8 +35744,8 @@ const C5 = UD, x = ({
|
|
|
35764
35744
|
className: n = "",
|
|
35765
35745
|
...c
|
|
35766
35746
|
}) => {
|
|
35767
|
-
const [u, s] =
|
|
35768
|
-
|
|
35747
|
+
const [u, s] = H(!1), i = ge(null);
|
|
35748
|
+
g0(() => {
|
|
35769
35749
|
const f = (w) => {
|
|
35770
35750
|
i.current && !i.current.contains(w.target) && s(!1);
|
|
35771
35751
|
};
|
|
@@ -35918,31 +35898,31 @@ const C5 = UD, x = ({
|
|
|
35918
35898
|
// Layout / styles (overrideable)
|
|
35919
35899
|
className: E = "",
|
|
35920
35900
|
style: A,
|
|
35921
|
-
leftClassName:
|
|
35901
|
+
leftClassName: V = "",
|
|
35922
35902
|
leftStyle: C,
|
|
35923
|
-
rightClassName:
|
|
35903
|
+
rightClassName: W = "",
|
|
35924
35904
|
rightStyle: _,
|
|
35925
35905
|
saludoFechaContainerClassName: q = "",
|
|
35926
35906
|
saludoFechaContainerStyle: y,
|
|
35927
|
-
inicioContainerClassName:
|
|
35928
|
-
inicioContainerStyle:
|
|
35907
|
+
inicioContainerClassName: B = "",
|
|
35908
|
+
inicioContainerStyle: U,
|
|
35929
35909
|
inicioTextClassName: K = "",
|
|
35930
|
-
inicioTextStyle:
|
|
35910
|
+
inicioTextStyle: S,
|
|
35931
35911
|
inicioIconClassName: G = "",
|
|
35932
|
-
inicioIconStyle:
|
|
35912
|
+
inicioIconStyle: n0,
|
|
35933
35913
|
greetingClassName: J = "",
|
|
35934
35914
|
greetingStyle: $,
|
|
35935
|
-
greetingPrefix:
|
|
35915
|
+
greetingPrefix: O = "¡",
|
|
35936
35916
|
greetingSuffix: Q = "!",
|
|
35937
|
-
nameClassName:
|
|
35917
|
+
nameClassName: t0 = "",
|
|
35938
35918
|
nameStyle: f0,
|
|
35939
|
-
dateTextClassName:
|
|
35940
|
-
dateTextStyle:
|
|
35919
|
+
dateTextClassName: b0 = "",
|
|
35920
|
+
dateTextStyle: x0,
|
|
35941
35921
|
...M0
|
|
35942
35922
|
}) => {
|
|
35943
|
-
const
|
|
35944
|
-
let
|
|
35945
|
-
return
|
|
35923
|
+
const h0 = n ? xN(t) : null;
|
|
35924
|
+
let a0 = "";
|
|
35925
|
+
return h0 && (typeof j == "function" ? a0 = j(h0, { locale: M, dateOptions: g }) : a0 = new Intl.DateTimeFormat(M, g).format(h0), p && (a0 = RN(a0))), /* @__PURE__ */ l.jsxs(
|
|
35946
35926
|
"div",
|
|
35947
35927
|
{
|
|
35948
35928
|
className: `w-full ${E}`,
|
|
@@ -35972,11 +35952,11 @@ const C5 = UD, x = ({
|
|
|
35972
35952
|
c && /* @__PURE__ */ l.jsxs(
|
|
35973
35953
|
"div",
|
|
35974
35954
|
{
|
|
35975
|
-
className: `scfd-inicio col-start-1 row-start-1 flex items-center gap-1 ${
|
|
35955
|
+
className: `scfd-inicio col-start-1 row-start-1 flex items-center gap-1 ${B}`,
|
|
35976
35956
|
style: {
|
|
35977
35957
|
// Mantener "Inicio" alineado al mismo borde que "Hola" (padding-left del contenedor inferior)
|
|
35978
35958
|
paddingLeft: "8px",
|
|
35979
|
-
...
|
|
35959
|
+
...U || {}
|
|
35980
35960
|
},
|
|
35981
35961
|
children: [
|
|
35982
35962
|
/* @__PURE__ */ l.jsx(
|
|
@@ -35993,7 +35973,7 @@ const C5 = UD, x = ({
|
|
|
35993
35973
|
lineHeight: "20px",
|
|
35994
35974
|
letterSpacing: "0%",
|
|
35995
35975
|
verticalAlign: "middle",
|
|
35996
|
-
...
|
|
35976
|
+
...S || {}
|
|
35997
35977
|
},
|
|
35998
35978
|
children: u
|
|
35999
35979
|
}
|
|
@@ -36009,7 +35989,7 @@ const C5 = UD, x = ({
|
|
|
36009
35989
|
color: "#223B40",
|
|
36010
35990
|
opacity: 1,
|
|
36011
35991
|
transform: "rotate(0deg)",
|
|
36012
|
-
...
|
|
35992
|
+
...n0 || {}
|
|
36013
35993
|
}
|
|
36014
35994
|
}
|
|
36015
35995
|
) : null
|
|
@@ -36035,7 +36015,7 @@ const C5 = UD, x = ({
|
|
|
36035
36015
|
...y || {}
|
|
36036
36016
|
},
|
|
36037
36017
|
children: [
|
|
36038
|
-
/* @__PURE__ */ l.jsx("div", { className: `scfd-greeting-wrapper min-w-0 ${
|
|
36018
|
+
/* @__PURE__ */ l.jsx("div", { className: `scfd-greeting-wrapper min-w-0 ${V}`, style: C, children: /* @__PURE__ */ l.jsxs(
|
|
36039
36019
|
Z,
|
|
36040
36020
|
{
|
|
36041
36021
|
variant: "h5",
|
|
@@ -36067,7 +36047,7 @@ const C5 = UD, x = ({
|
|
|
36067
36047
|
color: "#223B40"
|
|
36068
36048
|
},
|
|
36069
36049
|
children: [
|
|
36070
|
-
|
|
36050
|
+
O,
|
|
36071
36051
|
r
|
|
36072
36052
|
]
|
|
36073
36053
|
}
|
|
@@ -36077,7 +36057,7 @@ const C5 = UD, x = ({
|
|
|
36077
36057
|
/* @__PURE__ */ l.jsx(
|
|
36078
36058
|
"span",
|
|
36079
36059
|
{
|
|
36080
|
-
className:
|
|
36060
|
+
className: t0,
|
|
36081
36061
|
style: {
|
|
36082
36062
|
display: "inline-block",
|
|
36083
36063
|
verticalAlign: "middle",
|
|
@@ -36098,13 +36078,13 @@ const C5 = UD, x = ({
|
|
|
36098
36078
|
]
|
|
36099
36079
|
}
|
|
36100
36080
|
) }),
|
|
36101
|
-
n &&
|
|
36081
|
+
n && a0 ? /* @__PURE__ */ l.jsx("div", { className: `scfd-date flex items-center flex-shrink-0 ${W}`, style: _, children: /* @__PURE__ */ l.jsx(
|
|
36102
36082
|
Z,
|
|
36103
36083
|
{
|
|
36104
36084
|
variant: "body-lg",
|
|
36105
|
-
className: `color-gray-600 ${
|
|
36106
|
-
style:
|
|
36107
|
-
children:
|
|
36085
|
+
className: `color-gray-600 ${b0}`,
|
|
36086
|
+
style: x0,
|
|
36087
|
+
children: a0
|
|
36108
36088
|
}
|
|
36109
36089
|
) }) : null
|
|
36110
36090
|
]
|
|
@@ -36992,7 +36972,7 @@ const C5 = UD, x = ({
|
|
|
36992
36972
|
className: s = "",
|
|
36993
36973
|
...i
|
|
36994
36974
|
}) => {
|
|
36995
|
-
const { t: d } =
|
|
36975
|
+
const { t: d } = p0(), f = a.map((h) => {
|
|
36996
36976
|
const M = h.translationKey ? d(h.translationKey) : h.label || h.headerName;
|
|
36997
36977
|
return {
|
|
36998
36978
|
...h,
|
|
@@ -37029,8 +37009,8 @@ const C5 = UD, x = ({
|
|
|
37029
37009
|
// Personalizar mensaje de sin datos si se proporciona
|
|
37030
37010
|
...n && { noRowsLabel: n }
|
|
37031
37011
|
};
|
|
37032
|
-
return /* @__PURE__ */ l.jsx(
|
|
37033
|
-
|
|
37012
|
+
return /* @__PURE__ */ l.jsx(Ye, { className: s, sx: { height: 400, width: "100%" }, children: /* @__PURE__ */ l.jsx(
|
|
37013
|
+
Xe,
|
|
37034
37014
|
{
|
|
37035
37015
|
rows: r,
|
|
37036
37016
|
columns: v,
|
|
@@ -37576,7 +37556,7 @@ const C5 = UD, x = ({
|
|
|
37576
37556
|
...c
|
|
37577
37557
|
}) => a.length === 0 ? null : /* @__PURE__ */ l.jsx("div", { className: `flex flex-wrap gap-2 ${n}`, ...c, children: a.map((u, s) => {
|
|
37578
37558
|
const i = typeof u == "string" ? u : u.label, d = typeof u == "string" ? t : u.variant || t;
|
|
37579
|
-
return /* @__PURE__ */ l.jsxs(
|
|
37559
|
+
return /* @__PURE__ */ l.jsxs(e5, { variant: d, children: [
|
|
37580
37560
|
i,
|
|
37581
37561
|
r && /* @__PURE__ */ l.jsx(
|
|
37582
37562
|
"button",
|
|
@@ -37602,7 +37582,7 @@ const C5 = UD, x = ({
|
|
|
37602
37582
|
labelStyle: v,
|
|
37603
37583
|
...b
|
|
37604
37584
|
}) => {
|
|
37605
|
-
const [h, M] =
|
|
37585
|
+
const [h, M] = H(!1), g = i === "hexa-login", p = `
|
|
37606
37586
|
${g ? "w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent text-sm text-gray-900" : "w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed"}
|
|
37607
37587
|
${g ? "" : c ? "border-red-500" : "border-gray-300"}
|
|
37608
37588
|
${f}
|
|
@@ -37676,17 +37656,17 @@ const C5 = UD, x = ({
|
|
|
37676
37656
|
className: h = "",
|
|
37677
37657
|
...M
|
|
37678
37658
|
}) => {
|
|
37679
|
-
const { t: g } =
|
|
37659
|
+
const { t: g } = p0(), j = a === "hexa-login", [p, E] = H({
|
|
37680
37660
|
email: "",
|
|
37681
37661
|
password: "",
|
|
37682
37662
|
rememberMe: !1
|
|
37683
|
-
}), [A,
|
|
37684
|
-
E((
|
|
37685
|
-
},
|
|
37663
|
+
}), [A, V] = H({}), C = (y, B) => {
|
|
37664
|
+
E((U) => ({ ...U, [y]: B })), A[y] && V((U) => ({ ...U, [y]: null }));
|
|
37665
|
+
}, W = (y) => {
|
|
37686
37666
|
y.preventDefault();
|
|
37687
|
-
const
|
|
37688
|
-
if (p.email || (
|
|
37689
|
-
|
|
37667
|
+
const B = {};
|
|
37668
|
+
if (p.email || (B.email = g("form.email") + " is required"), p.password || (B.password = g("form.password") + " is required"), Object.keys(B).length > 0) {
|
|
37669
|
+
V(B);
|
|
37690
37670
|
return;
|
|
37691
37671
|
}
|
|
37692
37672
|
r && r(p);
|
|
@@ -37711,7 +37691,7 @@ const C5 = UD, x = ({
|
|
|
37711
37691
|
background: "#FFFFFF",
|
|
37712
37692
|
boxShadow: "0px 4px 6px -4px #0000001A, 0px 10px 15px -3px #0000001A"
|
|
37713
37693
|
},
|
|
37714
|
-
children: /* @__PURE__ */ l.jsxs("form", { onSubmit:
|
|
37694
|
+
children: /* @__PURE__ */ l.jsxs("form", { onSubmit: W, className: h, ...M, children: [
|
|
37715
37695
|
/* @__PURE__ */ l.jsxs("div", { className: "w-full", children: [
|
|
37716
37696
|
/* @__PURE__ */ l.jsx(
|
|
37717
37697
|
"label",
|
|
@@ -37963,7 +37943,7 @@ const C5 = UD, x = ({
|
|
|
37963
37943
|
) : /* @__PURE__ */ l.jsxs(
|
|
37964
37944
|
"form",
|
|
37965
37945
|
{
|
|
37966
|
-
onSubmit:
|
|
37946
|
+
onSubmit: W,
|
|
37967
37947
|
className: `max-w-md mx-auto bg-white p-6 rounded-lg shadow-md ${h}`,
|
|
37968
37948
|
...M,
|
|
37969
37949
|
children: [
|
|
@@ -38012,11 +37992,11 @@ const C5 = UD, x = ({
|
|
|
38012
37992
|
className: r = "",
|
|
38013
37993
|
...t
|
|
38014
37994
|
}) => {
|
|
38015
|
-
const { t: n } =
|
|
37995
|
+
const { t: n } = p0(), [c, u] = H({
|
|
38016
37996
|
currentPassword: "",
|
|
38017
37997
|
newPassword: "",
|
|
38018
37998
|
confirmPassword: ""
|
|
38019
|
-
}), [s, i] =
|
|
37999
|
+
}), [s, i] = H({}), [d, f] = H(!1), w = (b, h) => {
|
|
38020
38000
|
u((M) => ({ ...M, [b]: h })), s[b] && i((M) => ({ ...M, [b]: null })), f(!1);
|
|
38021
38001
|
}, v = (b) => {
|
|
38022
38002
|
b.preventDefault();
|
|
@@ -38095,25 +38075,25 @@ const C5 = UD, x = ({
|
|
|
38095
38075
|
variant: u = "default",
|
|
38096
38076
|
...s
|
|
38097
38077
|
}) => {
|
|
38098
|
-
const { t: i } =
|
|
38078
|
+
const { t: i } = p0(), [d, f] = H(""), [w, v] = H({}), [b, h] = H(!1), [M, g] = H(null), [j, p] = H(null), E = t !== void 0 ? t : b, A = n !== void 0 ? n : j, V = (y) => y && y.includes("@"), C = (y) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(y), W = () => {
|
|
38099
38079
|
const y = {};
|
|
38100
38080
|
return d ? C(d) || (y.email = i("errors.invalidEmail") ?? "El mail ingresado no es válido") : y.email = i("errors.required") ?? "Este campo es obligatorio", v(y), Object.keys(y).length === 0;
|
|
38101
38081
|
}, _ = (y) => {
|
|
38102
|
-
const
|
|
38103
|
-
f(
|
|
38082
|
+
const B = y.target.value;
|
|
38083
|
+
f(B), w.email && v((U) => ({ ...U, email: null })), j && p(null);
|
|
38104
38084
|
}, q = async (y) => {
|
|
38105
|
-
if (y.preventDefault(), !!
|
|
38085
|
+
if (y.preventDefault(), !!W()) {
|
|
38106
38086
|
if (!r) {
|
|
38107
38087
|
console.warn("ForgotPassword: onSubmit prop is required");
|
|
38108
38088
|
return;
|
|
38109
38089
|
}
|
|
38110
38090
|
t === void 0 && h(!0), v({}), p(null);
|
|
38111
38091
|
try {
|
|
38112
|
-
const
|
|
38113
|
-
|
|
38114
|
-
} catch (
|
|
38115
|
-
let
|
|
38116
|
-
|
|
38092
|
+
const B = await r({ email: d, countryCode: null });
|
|
38093
|
+
B?.resetLink ? g(B.resetLink) : g("success");
|
|
38094
|
+
} catch (B) {
|
|
38095
|
+
let U = i("forgotPassword.errors.sendFailed") ?? "Error al enviar el link. Intenta nuevamente.";
|
|
38096
|
+
B?.response?.status === 404 ? U = B?.response?.data?.message || B?.message || "No se encontró una cuenta asociada a este correo electrónico. Por favor, verifica que el correo esté correcto." : B?.response?.status === 400 ? U = B?.response?.data?.message || B?.message || "El correo electrónico ingresado no es válido." : B?.response?.status >= 500 ? U = "Error del servidor. Por favor, intenta más tarde." : B?.message && (U = B.message), n === void 0 && p(U);
|
|
38117
38097
|
} finally {
|
|
38118
38098
|
t === void 0 && h(!1);
|
|
38119
38099
|
}
|
|
@@ -38312,7 +38292,7 @@ const C5 = UD, x = ({
|
|
|
38312
38292
|
tamaño: "Default",
|
|
38313
38293
|
type: "submit",
|
|
38314
38294
|
className: "w-full",
|
|
38315
|
-
disabled: E || !
|
|
38295
|
+
disabled: E || !V(d),
|
|
38316
38296
|
children: /* @__PURE__ */ l.jsx(
|
|
38317
38297
|
"span",
|
|
38318
38298
|
{
|
|
@@ -38344,10 +38324,10 @@ const C5 = UD, x = ({
|
|
|
38344
38324
|
className: c = "",
|
|
38345
38325
|
...u
|
|
38346
38326
|
}) => {
|
|
38347
|
-
const { t: s } =
|
|
38327
|
+
const { t: s } = p0(), [i, d] = H(""), f = ge(null), w = () => {
|
|
38348
38328
|
f.current?.scrollIntoView({ behavior: "smooth" });
|
|
38349
38329
|
};
|
|
38350
|
-
|
|
38330
|
+
g0(() => {
|
|
38351
38331
|
w();
|
|
38352
38332
|
}, [r]);
|
|
38353
38333
|
const v = (h) => {
|
|
@@ -38603,7 +38583,7 @@ const C5 = UD, x = ({
|
|
|
38603
38583
|
}
|
|
38604
38584
|
}
|
|
38605
38585
|
};
|
|
38606
|
-
|
|
38586
|
+
fe.use(Ge).init({
|
|
38607
38587
|
resources: BN,
|
|
38608
38588
|
lng: "es-AR",
|
|
38609
38589
|
fallbackLng: "es-AR",
|
|
@@ -38611,13 +38591,13 @@ f5.use(G5).init({
|
|
|
38611
38591
|
escapeValue: !1
|
|
38612
38592
|
}
|
|
38613
38593
|
});
|
|
38614
|
-
const BP = ({ children: a, language: r = "es-AR" }) => (
|
|
38594
|
+
const BP = ({ children: a, language: r = "es-AR" }) => (fe.language !== r && fe.changeLanguage(r), /* @__PURE__ */ l.jsx(qe, { i18n: fe, children: a }));
|
|
38615
38595
|
export {
|
|
38616
38596
|
cP as Accordion,
|
|
38617
38597
|
KD as Alert,
|
|
38618
38598
|
pP as AreaChart,
|
|
38619
|
-
|
|
38620
|
-
|
|
38599
|
+
ne as Avatar,
|
|
38600
|
+
e5 as Badge,
|
|
38621
38601
|
gP as BarChart,
|
|
38622
38602
|
iP as Breadcrumbs,
|
|
38623
38603
|
u0 as Button,
|
|
@@ -38654,7 +38634,7 @@ export {
|
|
|
38654
38634
|
vP as LineChart,
|
|
38655
38635
|
MP as List,
|
|
38656
38636
|
AP as LoginForm,
|
|
38657
|
-
|
|
38637
|
+
te as LogoHexa,
|
|
38658
38638
|
lP as Modal,
|
|
38659
38639
|
tP as NavPoint,
|
|
38660
38640
|
dP as Pagination,
|
|
@@ -38664,7 +38644,7 @@ export {
|
|
|
38664
38644
|
wP as SaludoConFechaDashboard,
|
|
38665
38645
|
zN as Select,
|
|
38666
38646
|
QN as SidebarCore,
|
|
38667
|
-
|
|
38647
|
+
Se as SidebarCoreMobile,
|
|
38668
38648
|
eP as SidebarPoint,
|
|
38669
38649
|
JD as SidebarPointMobile,
|
|
38670
38650
|
PN as Skeleton,
|