anima-ds-nucleus 1.0.4 → 1.0.6
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 +56 -55
- package/dist/anima-ds.esm.js +434 -387
- package/package.json +1 -1
- package/src/components/DataDisplay/Card/CardTituloCorto.jsx +1 -0
- package/src/components/DataDisplay/Card/CardTituloCortoMasEstado.jsx +1 -0
- package/src/components/DataDisplay/Card/CardTituloLargo.jsx +1 -0
- package/src/components/Layout/Header/HeaderConBuscador.stories.jsx +1 -0
- package/src/components/Layout/Header/HeaderCore.jsx +14 -13
- package/src/components/Layout/Sidebar/SidebarCore.jsx +61 -20
package/dist/anima-ds.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import a5, { useState as I, useEffect as
|
|
3
|
-
import { useTranslation as
|
|
2
|
+
import a5, { useState as I, useEffect as t0, useRef as r5, useMemo as o0 } from "react";
|
|
3
|
+
import { useTranslation as _, initReactI18next as V5, I18nextProvider as S5 } from "react-i18next";
|
|
4
4
|
import { DataGrid as D5 } from "@mui/x-data-grid";
|
|
5
5
|
import { Box as N5 } from "@mui/material";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
var
|
|
6
|
+
import c0 from "react-apexcharts";
|
|
7
|
+
import E0 from "i18next";
|
|
8
|
+
var R0 = { exports: {} }, u0 = {};
|
|
9
9
|
var _0;
|
|
10
10
|
function P5() {
|
|
11
|
-
if (_0) return
|
|
11
|
+
if (_0) return u0;
|
|
12
12
|
_0 = 1;
|
|
13
13
|
var a = a5, r = Symbol.for("react.element"), l = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, c = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
14
14
|
function i(u, d, f) {
|
|
@@ -18,57 +18,57 @@ function P5() {
|
|
|
18
18
|
if (u && u.defaultProps) for (w in d = u.defaultProps, d) h[w] === void 0 && (h[w] = d[w]);
|
|
19
19
|
return { $$typeof: r, type: u, key: g, ref: v, props: h, _owner: c.current };
|
|
20
20
|
}
|
|
21
|
-
return
|
|
21
|
+
return u0.Fragment = l, u0.jsx = i, u0.jsxs = i, u0;
|
|
22
22
|
}
|
|
23
|
-
var
|
|
23
|
+
var w0 = {};
|
|
24
24
|
var X0;
|
|
25
25
|
function W5() {
|
|
26
26
|
return X0 || (X0 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
27
|
-
var a = a5, r = Symbol.for("react.element"), l = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), A = Symbol.iterator,
|
|
27
|
+
var a = a5, r = Symbol.for("react.element"), l = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), A = Symbol.iterator, L = "@@iterator";
|
|
28
28
|
function M(o) {
|
|
29
29
|
if (o === null || typeof o != "object")
|
|
30
30
|
return null;
|
|
31
|
-
var m = A && o[A] || o[
|
|
31
|
+
var m = A && o[A] || o[L];
|
|
32
32
|
return typeof m == "function" ? m : null;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
35
35
|
function E(o) {
|
|
36
36
|
{
|
|
37
37
|
for (var m = arguments.length, p = new Array(m > 1 ? m - 1 : 0), x = 1; x < m; x++)
|
|
38
38
|
p[x - 1] = arguments[x];
|
|
39
|
-
|
|
39
|
+
k("error", o, p);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function k(o, m, p) {
|
|
43
43
|
{
|
|
44
|
-
var x =
|
|
44
|
+
var x = R.ReactDebugCurrentFrame, B = x.getStackAddendum();
|
|
45
45
|
B !== "" && (m += "%s", p = p.concat([B]));
|
|
46
|
-
var
|
|
46
|
+
var O = p.map(function(j) {
|
|
47
47
|
return String(j);
|
|
48
48
|
});
|
|
49
|
-
|
|
49
|
+
O.unshift("Warning: " + m), Function.prototype.apply.call(console[o], console, O);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
|
|
54
|
-
function
|
|
55
|
-
return !!(typeof o == "string" || typeof o == "function" || o === n || o === s ||
|
|
52
|
+
var W = !1, Y = !1, q = !1, S = !1, V = !1, T;
|
|
53
|
+
T = Symbol.for("react.module.reference");
|
|
54
|
+
function C(o) {
|
|
55
|
+
return !!(typeof o == "string" || typeof o == "function" || o === n || o === s || V || o === c || o === f || o === w || S || o === v || W || Y || q || typeof o == "object" && o !== null && (o.$$typeof === g || o.$$typeof === h || o.$$typeof === i || o.$$typeof === u || 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
|
-
o.$$typeof ===
|
|
59
|
+
o.$$typeof === T || o.getModuleId !== void 0));
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function i0(o, m, p) {
|
|
62
62
|
var x = o.displayName;
|
|
63
63
|
if (x)
|
|
64
64
|
return x;
|
|
65
65
|
var B = m.displayName || m.name || "";
|
|
66
66
|
return B !== "" ? p + "(" + B + ")" : p;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function d0(o) {
|
|
69
69
|
return o.displayName || "Context";
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function U(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")
|
|
@@ -93,19 +93,19 @@ function W5() {
|
|
|
93
93
|
switch (o.$$typeof) {
|
|
94
94
|
case u:
|
|
95
95
|
var m = o;
|
|
96
|
-
return
|
|
96
|
+
return d0(m) + ".Consumer";
|
|
97
97
|
case i:
|
|
98
98
|
var p = o;
|
|
99
|
-
return
|
|
99
|
+
return d0(p._context) + ".Provider";
|
|
100
100
|
case d:
|
|
101
|
-
return
|
|
101
|
+
return i0(o, o.render, "ForwardRef");
|
|
102
102
|
case h:
|
|
103
103
|
var x = o.displayName || null;
|
|
104
|
-
return x !== null ? x :
|
|
104
|
+
return x !== null ? x : U(o.type) || "Memo";
|
|
105
105
|
case g: {
|
|
106
|
-
var B = o,
|
|
106
|
+
var B = o, O = B._payload, j = B._init;
|
|
107
107
|
try {
|
|
108
|
-
return
|
|
108
|
+
return U(j(O));
|
|
109
109
|
} catch {
|
|
110
110
|
return null;
|
|
111
111
|
}
|
|
@@ -113,14 +113,14 @@ function W5() {
|
|
|
113
113
|
}
|
|
114
114
|
return null;
|
|
115
115
|
}
|
|
116
|
-
var
|
|
116
|
+
var G = Object.assign, K = 0, h0, $, X, Q, J, m0, B0;
|
|
117
117
|
function L0() {
|
|
118
118
|
}
|
|
119
119
|
L0.__reactDisabledLog = !0;
|
|
120
120
|
function s5() {
|
|
121
121
|
{
|
|
122
|
-
if (
|
|
123
|
-
|
|
122
|
+
if (K === 0) {
|
|
123
|
+
h0 = console.log, $ = console.info, X = console.warn, Q = console.error, J = console.group, m0 = console.groupCollapsed, B0 = console.groupEnd;
|
|
124
124
|
var o = {
|
|
125
125
|
configurable: !0,
|
|
126
126
|
enumerable: !0,
|
|
@@ -137,77 +137,77 @@ function W5() {
|
|
|
137
137
|
groupEnd: o
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
-
|
|
140
|
+
K++;
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
function u5() {
|
|
144
144
|
{
|
|
145
|
-
if (
|
|
145
|
+
if (K--, K === 0) {
|
|
146
146
|
var o = {
|
|
147
147
|
configurable: !0,
|
|
148
148
|
enumerable: !0,
|
|
149
149
|
writable: !0
|
|
150
150
|
};
|
|
151
151
|
Object.defineProperties(console, {
|
|
152
|
-
log:
|
|
153
|
-
value:
|
|
152
|
+
log: G({}, o, {
|
|
153
|
+
value: h0
|
|
154
154
|
}),
|
|
155
|
-
info:
|
|
155
|
+
info: G({}, o, {
|
|
156
156
|
value: $
|
|
157
157
|
}),
|
|
158
|
-
warn:
|
|
159
|
-
value:
|
|
158
|
+
warn: G({}, o, {
|
|
159
|
+
value: X
|
|
160
160
|
}),
|
|
161
|
-
error:
|
|
162
|
-
value: K
|
|
163
|
-
}),
|
|
164
|
-
group: z({}, o, {
|
|
161
|
+
error: G({}, o, {
|
|
165
162
|
value: Q
|
|
166
163
|
}),
|
|
167
|
-
|
|
168
|
-
value:
|
|
164
|
+
group: G({}, o, {
|
|
165
|
+
value: J
|
|
166
|
+
}),
|
|
167
|
+
groupCollapsed: G({}, o, {
|
|
168
|
+
value: m0
|
|
169
169
|
}),
|
|
170
|
-
groupEnd:
|
|
170
|
+
groupEnd: G({}, o, {
|
|
171
171
|
value: B0
|
|
172
172
|
})
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
|
|
175
|
+
K < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
var
|
|
179
|
-
function
|
|
178
|
+
var x0 = R.ReactCurrentDispatcher, Z0;
|
|
179
|
+
function v0(o, m, p) {
|
|
180
180
|
{
|
|
181
|
-
if (
|
|
181
|
+
if (Z0 === void 0)
|
|
182
182
|
try {
|
|
183
183
|
throw Error();
|
|
184
184
|
} catch (B) {
|
|
185
185
|
var x = B.stack.trim().match(/\n( *(at )?)/);
|
|
186
|
-
|
|
186
|
+
Z0 = x && x[1] || "";
|
|
187
187
|
}
|
|
188
188
|
return `
|
|
189
|
-
` +
|
|
189
|
+
` + Z0 + o;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
var
|
|
192
|
+
var M0 = !1, g0;
|
|
193
193
|
{
|
|
194
194
|
var w5 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
195
|
-
|
|
195
|
+
g0 = new w5();
|
|
196
196
|
}
|
|
197
197
|
function O0(o, m) {
|
|
198
|
-
if (!o ||
|
|
198
|
+
if (!o || M0)
|
|
199
199
|
return "";
|
|
200
200
|
{
|
|
201
|
-
var p =
|
|
201
|
+
var p = g0.get(o);
|
|
202
202
|
if (p !== void 0)
|
|
203
203
|
return p;
|
|
204
204
|
}
|
|
205
205
|
var x;
|
|
206
|
-
|
|
206
|
+
M0 = !0;
|
|
207
207
|
var B = Error.prepareStackTrace;
|
|
208
208
|
Error.prepareStackTrace = void 0;
|
|
209
|
-
var
|
|
210
|
-
|
|
209
|
+
var O;
|
|
210
|
+
O = x0.current, x0.current = null, s5();
|
|
211
211
|
try {
|
|
212
212
|
if (m) {
|
|
213
213
|
var j = function() {
|
|
@@ -220,50 +220,50 @@ function W5() {
|
|
|
220
220
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
221
221
|
try {
|
|
222
222
|
Reflect.construct(j, []);
|
|
223
|
-
} catch (
|
|
224
|
-
x =
|
|
223
|
+
} catch (N) {
|
|
224
|
+
x = N;
|
|
225
225
|
}
|
|
226
226
|
Reflect.construct(o, [], j);
|
|
227
227
|
} else {
|
|
228
228
|
try {
|
|
229
229
|
j.call();
|
|
230
|
-
} catch (
|
|
231
|
-
x =
|
|
230
|
+
} catch (N) {
|
|
231
|
+
x = N;
|
|
232
232
|
}
|
|
233
233
|
o.call(j.prototype);
|
|
234
234
|
}
|
|
235
235
|
} else {
|
|
236
236
|
try {
|
|
237
237
|
throw Error();
|
|
238
|
-
} catch (
|
|
239
|
-
x =
|
|
238
|
+
} catch (N) {
|
|
239
|
+
x = N;
|
|
240
240
|
}
|
|
241
241
|
o();
|
|
242
242
|
}
|
|
243
|
-
} catch (
|
|
244
|
-
if (
|
|
245
|
-
for (var y =
|
|
246
|
-
`),
|
|
247
|
-
`),
|
|
243
|
+
} catch (N) {
|
|
244
|
+
if (N && x && typeof N.stack == "string") {
|
|
245
|
+
for (var y = N.stack.split(`
|
|
246
|
+
`), D = x.stack.split(`
|
|
247
|
+
`), F = y.length - 1, H = D.length - 1; F >= 1 && H >= 0 && y[F] !== D[H]; )
|
|
248
248
|
H--;
|
|
249
|
-
for (;
|
|
250
|
-
if (y[
|
|
251
|
-
if (
|
|
249
|
+
for (; F >= 1 && H >= 0; F--, H--)
|
|
250
|
+
if (y[F] !== D[H]) {
|
|
251
|
+
if (F !== 1 || H !== 1)
|
|
252
252
|
do
|
|
253
|
-
if (
|
|
253
|
+
if (F--, H--, H < 0 || y[F] !== D[H]) {
|
|
254
254
|
var P = `
|
|
255
|
-
` + y[
|
|
256
|
-
return o.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", o.displayName)), typeof o == "function" &&
|
|
255
|
+
` + y[F].replace(" at new ", " at ");
|
|
256
|
+
return o.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", o.displayName)), typeof o == "function" && g0.set(o, P), P;
|
|
257
257
|
}
|
|
258
|
-
while (
|
|
258
|
+
while (F >= 1 && H >= 0);
|
|
259
259
|
break;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
} finally {
|
|
263
|
-
|
|
263
|
+
M0 = !1, x0.current = O, u5(), Error.prepareStackTrace = B;
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
return typeof o == "function" &&
|
|
265
|
+
var n0 = o ? o.displayName || o.name : "", e0 = n0 ? v0(n0) : "";
|
|
266
|
+
return typeof o == "function" && g0.set(o, e0), e0;
|
|
267
267
|
}
|
|
268
268
|
function f5(o, m, p) {
|
|
269
269
|
return O0(o, !1);
|
|
@@ -272,64 +272,64 @@ function W5() {
|
|
|
272
272
|
var m = o.prototype;
|
|
273
273
|
return !!(m && m.isReactComponent);
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function p0(o, m, p) {
|
|
276
276
|
if (o == null)
|
|
277
277
|
return "";
|
|
278
278
|
if (typeof o == "function")
|
|
279
279
|
return O0(o, h5(o));
|
|
280
280
|
if (typeof o == "string")
|
|
281
|
-
return
|
|
281
|
+
return v0(o);
|
|
282
282
|
switch (o) {
|
|
283
283
|
case f:
|
|
284
|
-
return
|
|
284
|
+
return v0("Suspense");
|
|
285
285
|
case w:
|
|
286
|
-
return
|
|
286
|
+
return v0("SuspenseList");
|
|
287
287
|
}
|
|
288
288
|
if (typeof o == "object")
|
|
289
289
|
switch (o.$$typeof) {
|
|
290
290
|
case d:
|
|
291
291
|
return f5(o.render);
|
|
292
292
|
case h:
|
|
293
|
-
return
|
|
293
|
+
return p0(o.type, m, p);
|
|
294
294
|
case g: {
|
|
295
|
-
var x = o, B = x._payload,
|
|
295
|
+
var x = o, B = x._payload, O = x._init;
|
|
296
296
|
try {
|
|
297
|
-
return
|
|
297
|
+
return p0(O(B), m, p);
|
|
298
298
|
} catch {
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
return "";
|
|
303
303
|
}
|
|
304
|
-
var
|
|
305
|
-
function
|
|
304
|
+
var s0 = Object.prototype.hasOwnProperty, F0 = {}, H0 = R.ReactDebugCurrentFrame;
|
|
305
|
+
function b0(o) {
|
|
306
306
|
if (o) {
|
|
307
|
-
var m = o._owner, p =
|
|
307
|
+
var m = o._owner, p = p0(o.type, o._source, m ? m.type : null);
|
|
308
308
|
H0.setExtraStackFrame(p);
|
|
309
309
|
} else
|
|
310
310
|
H0.setExtraStackFrame(null);
|
|
311
311
|
}
|
|
312
312
|
function m5(o, m, p, x, B) {
|
|
313
313
|
{
|
|
314
|
-
var
|
|
314
|
+
var O = Function.call.bind(s0);
|
|
315
315
|
for (var j in o)
|
|
316
|
-
if (
|
|
316
|
+
if (O(o, j)) {
|
|
317
317
|
var y = void 0;
|
|
318
318
|
try {
|
|
319
319
|
if (typeof o[j] != "function") {
|
|
320
|
-
var
|
|
321
|
-
throw
|
|
320
|
+
var D = Error((x || "React class") + ": " + p + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
321
|
+
throw D.name = "Invariant Violation", D;
|
|
322
322
|
}
|
|
323
323
|
y = o[j](m, j, x, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
324
|
-
} catch (
|
|
325
|
-
y =
|
|
324
|
+
} catch (F) {
|
|
325
|
+
y = F;
|
|
326
326
|
}
|
|
327
|
-
y && !(y instanceof Error) && (
|
|
327
|
+
y && !(y instanceof Error) && (b0(B), 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).", x || "React class", p, j, typeof y), b0(null)), y instanceof Error && !(y.message in F0) && (F0[y.message] = !0, b0(B), E("Failed %s type: %s", p, y.message), b0(null));
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
var v5 = Array.isArray;
|
|
332
|
-
function
|
|
332
|
+
function A0(o) {
|
|
333
333
|
return v5(o);
|
|
334
334
|
}
|
|
335
335
|
function g5(o) {
|
|
@@ -352,14 +352,14 @@ function W5() {
|
|
|
352
352
|
if (p5(o))
|
|
353
353
|
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", g5(o)), I0(o);
|
|
354
354
|
}
|
|
355
|
-
var S0 =
|
|
355
|
+
var S0 = R.ReactCurrentOwner, b5 = {
|
|
356
356
|
key: !0,
|
|
357
357
|
ref: !0,
|
|
358
358
|
__self: !0,
|
|
359
359
|
__source: !0
|
|
360
360
|
}, D0, N0;
|
|
361
361
|
function R5(o) {
|
|
362
|
-
if (
|
|
362
|
+
if (s0.call(o, "ref")) {
|
|
363
363
|
var m = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
364
364
|
if (m && m.isReactWarning)
|
|
365
365
|
return !1;
|
|
@@ -367,7 +367,7 @@ function W5() {
|
|
|
367
367
|
return o.ref !== void 0;
|
|
368
368
|
}
|
|
369
369
|
function E5(o) {
|
|
370
|
-
if (
|
|
370
|
+
if (s0.call(o, "key")) {
|
|
371
371
|
var m = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
372
372
|
if (m && m.isReactWarning)
|
|
373
373
|
return !1;
|
|
@@ -399,7 +399,7 @@ function W5() {
|
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
var A5 = function(o, m, p, x, B,
|
|
402
|
+
var A5 = function(o, m, p, x, B, O, j) {
|
|
403
403
|
var y = {
|
|
404
404
|
// This tag allows us to uniquely identify this as a React Element
|
|
405
405
|
$$typeof: r,
|
|
@@ -409,7 +409,7 @@ function W5() {
|
|
|
409
409
|
ref: p,
|
|
410
410
|
props: j,
|
|
411
411
|
// Record the component responsible for creating this element.
|
|
412
|
-
_owner:
|
|
412
|
+
_owner: O
|
|
413
413
|
};
|
|
414
414
|
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
|
415
415
|
configurable: !1,
|
|
@@ -430,39 +430,39 @@ function W5() {
|
|
|
430
430
|
};
|
|
431
431
|
function C5(o, m, p, x, B) {
|
|
432
432
|
{
|
|
433
|
-
var
|
|
434
|
-
p !== void 0 && (V0(p), y = "" + p), E5(m) && (V0(m.key), y = "" + m.key), R5(m) && (
|
|
435
|
-
for (
|
|
436
|
-
|
|
433
|
+
var O, j = {}, y = null, D = null;
|
|
434
|
+
p !== void 0 && (V0(p), y = "" + p), E5(m) && (V0(m.key), y = "" + m.key), R5(m) && (D = m.ref, x5(m, B));
|
|
435
|
+
for (O in m)
|
|
436
|
+
s0.call(m, O) && !b5.hasOwnProperty(O) && (j[O] = m[O]);
|
|
437
437
|
if (o && o.defaultProps) {
|
|
438
|
-
var
|
|
439
|
-
for (
|
|
440
|
-
j[
|
|
438
|
+
var F = o.defaultProps;
|
|
439
|
+
for (O in F)
|
|
440
|
+
j[O] === void 0 && (j[O] = F[O]);
|
|
441
441
|
}
|
|
442
|
-
if (y ||
|
|
442
|
+
if (y || D) {
|
|
443
443
|
var H = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
444
|
-
y && Z5(j, H),
|
|
444
|
+
y && Z5(j, H), D && M5(j, H);
|
|
445
445
|
}
|
|
446
|
-
return A5(o, y,
|
|
446
|
+
return A5(o, y, D, B, x, S0.current, j);
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
|
-
var
|
|
450
|
-
function
|
|
449
|
+
var C0 = R.ReactCurrentOwner, P0 = R.ReactDebugCurrentFrame;
|
|
450
|
+
function r0(o) {
|
|
451
451
|
if (o) {
|
|
452
|
-
var m = o._owner, p =
|
|
452
|
+
var m = o._owner, p = p0(o.type, o._source, m ? m.type : null);
|
|
453
453
|
P0.setExtraStackFrame(p);
|
|
454
454
|
} else
|
|
455
455
|
P0.setExtraStackFrame(null);
|
|
456
456
|
}
|
|
457
|
-
var
|
|
458
|
-
|
|
459
|
-
function
|
|
457
|
+
var y0;
|
|
458
|
+
y0 = !1;
|
|
459
|
+
function $0(o) {
|
|
460
460
|
return typeof o == "object" && o !== null && o.$$typeof === r;
|
|
461
461
|
}
|
|
462
462
|
function W0() {
|
|
463
463
|
{
|
|
464
|
-
if (
|
|
465
|
-
var o =
|
|
464
|
+
if (C0.current) {
|
|
465
|
+
var o = U(C0.current.type);
|
|
466
466
|
if (o)
|
|
467
467
|
return `
|
|
468
468
|
|
|
@@ -497,25 +497,25 @@ Check the top-level render call using <` + p + ">.");
|
|
|
497
497
|
return;
|
|
498
498
|
T0[p] = !0;
|
|
499
499
|
var x = "";
|
|
500
|
-
o && o._owner && o._owner !==
|
|
500
|
+
o && o._owner && o._owner !== C0.current && (x = " It was passed a child from " + U(o._owner.type) + "."), r0(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.', p, x), r0(null);
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
503
|
function z0(o, m) {
|
|
504
504
|
{
|
|
505
505
|
if (typeof o != "object")
|
|
506
506
|
return;
|
|
507
|
-
if (
|
|
507
|
+
if (A0(o))
|
|
508
508
|
for (var p = 0; p < o.length; p++) {
|
|
509
509
|
var x = o[p];
|
|
510
|
-
|
|
510
|
+
$0(x) && U0(x, m);
|
|
511
511
|
}
|
|
512
|
-
else if (
|
|
512
|
+
else if ($0(o))
|
|
513
513
|
o._store && (o._store.validated = !0);
|
|
514
514
|
else if (o) {
|
|
515
515
|
var B = M(o);
|
|
516
516
|
if (typeof B == "function" && B !== o.entries)
|
|
517
|
-
for (var
|
|
518
|
-
|
|
517
|
+
for (var O = B.call(o), j; !(j = O.next()).done; )
|
|
518
|
+
$0(j.value) && U0(j.value, m);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
}
|
|
@@ -534,11 +534,11 @@ Check the top-level render call using <` + p + ">.");
|
|
|
534
534
|
else
|
|
535
535
|
return;
|
|
536
536
|
if (p) {
|
|
537
|
-
var x =
|
|
537
|
+
var x = U(m);
|
|
538
538
|
m5(p, o.props, "prop", x, o);
|
|
539
|
-
} else if (m.PropTypes !== void 0 && !
|
|
540
|
-
|
|
541
|
-
var B =
|
|
539
|
+
} else if (m.PropTypes !== void 0 && !y0) {
|
|
540
|
+
y0 = !0;
|
|
541
|
+
var B = U(m);
|
|
542
542
|
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "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.");
|
|
@@ -549,53 +549,53 @@ Check the top-level render call using <` + p + ">.");
|
|
|
549
549
|
for (var m = Object.keys(o.props), p = 0; p < m.length; p++) {
|
|
550
550
|
var x = m[p];
|
|
551
551
|
if (x !== "children" && x !== "key") {
|
|
552
|
-
|
|
552
|
+
r0(o), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), r0(null);
|
|
553
553
|
break;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
o.ref !== null && (
|
|
556
|
+
o.ref !== null && (r0(o), E("Invalid attribute `ref` supplied to `React.Fragment`."), r0(null));
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
var q0 = {};
|
|
560
|
-
function G0(o, m, p, x, B,
|
|
560
|
+
function G0(o, m, p, x, B, O) {
|
|
561
561
|
{
|
|
562
|
-
var j =
|
|
562
|
+
var j = C(o);
|
|
563
563
|
if (!j) {
|
|
564
564
|
var y = "";
|
|
565
565
|
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (y += " 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
|
|
567
|
-
|
|
568
|
-
var
|
|
569
|
-
o === null ?
|
|
566
|
+
var D = y5();
|
|
567
|
+
D ? y += D : y += W0();
|
|
568
|
+
var F;
|
|
569
|
+
o === null ? F = "null" : A0(o) ? F = "array" : o !== void 0 && o.$$typeof === r ? (F = "<" + (U(o.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : F = 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", F, y);
|
|
570
570
|
}
|
|
571
|
-
var H = C5(o, m, p, B,
|
|
571
|
+
var H = C5(o, m, p, B, O);
|
|
572
572
|
if (H == null)
|
|
573
573
|
return H;
|
|
574
574
|
if (j) {
|
|
575
575
|
var P = m.children;
|
|
576
576
|
if (P !== void 0)
|
|
577
577
|
if (x)
|
|
578
|
-
if (
|
|
579
|
-
for (var
|
|
580
|
-
z0(P[
|
|
578
|
+
if (A0(P)) {
|
|
579
|
+
for (var n0 = 0; n0 < P.length; n0++)
|
|
580
|
+
z0(P[n0], o);
|
|
581
581
|
Object.freeze && Object.freeze(P);
|
|
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
|
z0(P, o);
|
|
586
586
|
}
|
|
587
|
-
if (
|
|
588
|
-
var
|
|
587
|
+
if (s0.call(m, "key")) {
|
|
588
|
+
var e0 = U(o), N = Object.keys(m).filter(function(I5) {
|
|
589
589
|
return I5 !== "key";
|
|
590
|
-
}),
|
|
591
|
-
if (!q0[
|
|
592
|
-
var H5 =
|
|
590
|
+
}), j0 = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
591
|
+
if (!q0[e0 + j0]) {
|
|
592
|
+
var H5 = N.length > 0 ? "{" + N.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} />`, j0, e0, H5, e0), q0[e0 + j0] = !0;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
return o === n ? k5(H) : j5(H), H;
|
|
@@ -608,15 +608,15 @@ React keys must be passed directly to JSX without using spread:
|
|
|
608
608
|
return G0(o, m, p, !1);
|
|
609
609
|
}
|
|
610
610
|
var O5 = L5, F5 = B5;
|
|
611
|
-
|
|
612
|
-
})()),
|
|
611
|
+
w0.Fragment = n, w0.jsx = O5, w0.jsxs = F5;
|
|
612
|
+
})()), w0;
|
|
613
613
|
}
|
|
614
614
|
var Y0;
|
|
615
615
|
function T5() {
|
|
616
|
-
return Y0 || (Y0 = 1, process.env.NODE_ENV === "production" ?
|
|
616
|
+
return Y0 || (Y0 = 1, process.env.NODE_ENV === "production" ? R0.exports = P5() : R0.exports = W5()), R0.exports;
|
|
617
617
|
}
|
|
618
618
|
var t = T5();
|
|
619
|
-
const
|
|
619
|
+
const z = ({
|
|
620
620
|
texto: a,
|
|
621
621
|
children: r,
|
|
622
622
|
tipo: l,
|
|
@@ -640,7 +640,7 @@ const T = ({
|
|
|
640
640
|
Grape: "#ffffff",
|
|
641
641
|
Honey: "#374151"
|
|
642
642
|
// gray-700 (gris oscuro/carbón)
|
|
643
|
-
},
|
|
643
|
+
}, L = {
|
|
644
644
|
Teal: v.Teal,
|
|
645
645
|
Grape: v.Grape,
|
|
646
646
|
Honey: "#80501F"
|
|
@@ -650,7 +650,7 @@ const T = ({
|
|
|
650
650
|
Grape: v.Grape,
|
|
651
651
|
Honey: "#80501F"
|
|
652
652
|
// marrón medio-oscuro para Ghost (igual que Secondary)
|
|
653
|
-
},
|
|
653
|
+
}, R = {
|
|
654
654
|
Teal: v.Teal,
|
|
655
655
|
Grape: v.Grape,
|
|
656
656
|
Honey: "#6E4D11"
|
|
@@ -662,16 +662,16 @@ const T = ({
|
|
|
662
662
|
// gray-400
|
|
663
663
|
background: "#F3F4F6"
|
|
664
664
|
// gray-100
|
|
665
|
-
},
|
|
665
|
+
}, k = v[c] || v.Teal, [W, Y] = I(!1), q = d, S = "font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2", V = {
|
|
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
|
-
},
|
|
670
|
-
const
|
|
671
|
-
return `rgba(${
|
|
672
|
-
},
|
|
669
|
+
}, T = ($, X = 1) => {
|
|
670
|
+
const Q = parseInt($.slice(1, 3), 16), J = parseInt($.slice(3, 5), 16), m0 = parseInt($.slice(5, 7), 16);
|
|
671
|
+
return `rgba(${Q}, ${J}, ${m0}, ${X})`;
|
|
672
|
+
}, C = () => {
|
|
673
673
|
const $ = {};
|
|
674
|
-
if (
|
|
674
|
+
if (q) {
|
|
675
675
|
switch (h) {
|
|
676
676
|
case "Primary":
|
|
677
677
|
$.backgroundColor = E.background, $.color = E.text;
|
|
@@ -687,20 +687,20 @@ const T = ({
|
|
|
687
687
|
}
|
|
688
688
|
switch (h) {
|
|
689
689
|
case "Primary":
|
|
690
|
-
$.backgroundColor =
|
|
690
|
+
$.backgroundColor = k, $.color = A[c] || "#ffffff", W && ($.opacity = "0.9");
|
|
691
691
|
break;
|
|
692
692
|
case "Secondary":
|
|
693
|
-
const
|
|
694
|
-
$.borderColor =
|
|
693
|
+
const X = L[c] || k;
|
|
694
|
+
$.borderColor = X, $.color = X, $.borderWidth = "1px", $.borderStyle = "solid", W ? $.backgroundColor = T(X, 0.1) : $.backgroundColor = c === "Honey" || c === "Grape" ? "#ffffff" : "transparent";
|
|
695
695
|
break;
|
|
696
696
|
case "Ghost":
|
|
697
|
-
const
|
|
698
|
-
c === "Honey" ? ($.color =
|
|
697
|
+
const Q = M[c] || k, J = R[c] || k;
|
|
698
|
+
c === "Honey" ? ($.color = J, $.backgroundColor = "#ffffff", W && ($.backgroundColor = T(Q, 0.1))) : ($.color = J, $.backgroundColor = W ? T(Q, 0.1) : "transparent");
|
|
699
699
|
break;
|
|
700
700
|
}
|
|
701
701
|
return $;
|
|
702
|
-
},
|
|
703
|
-
if (
|
|
702
|
+
}, d0 = (() => {
|
|
703
|
+
if (q)
|
|
704
704
|
switch (h) {
|
|
705
705
|
case "Primary":
|
|
706
706
|
return {
|
|
@@ -745,25 +745,25 @@ const T = ({
|
|
|
745
745
|
disabled: "opacity-50 cursor-not-allowed"
|
|
746
746
|
};
|
|
747
747
|
}
|
|
748
|
-
})(),
|
|
749
|
-
${
|
|
750
|
-
${
|
|
751
|
-
${
|
|
752
|
-
${
|
|
748
|
+
})(), U = V[s] || V.Default, G = C(), K = `
|
|
749
|
+
${S}
|
|
750
|
+
${U}
|
|
751
|
+
${d0.base}
|
|
752
|
+
${q ? d0.disabled : "cursor-pointer"}
|
|
753
753
|
${f}
|
|
754
|
-
`.trim().replace(/\s+/g, " "),
|
|
755
|
-
!
|
|
754
|
+
`.trim().replace(/\s+/g, " "), h0 = ($) => {
|
|
755
|
+
!q && i && i($);
|
|
756
756
|
};
|
|
757
757
|
return /* @__PURE__ */ t.jsx(
|
|
758
758
|
"button",
|
|
759
759
|
{
|
|
760
760
|
type: u,
|
|
761
|
-
className:
|
|
762
|
-
style:
|
|
763
|
-
disabled:
|
|
764
|
-
onClick:
|
|
765
|
-
onMouseEnter: () => !
|
|
766
|
-
onMouseLeave: () =>
|
|
761
|
+
className: K,
|
|
762
|
+
style: G,
|
|
763
|
+
disabled: q,
|
|
764
|
+
onClick: h0,
|
|
765
|
+
onMouseEnter: () => !q && Y(!0),
|
|
766
|
+
onMouseLeave: () => Y(!1),
|
|
767
767
|
...w,
|
|
768
768
|
children: g
|
|
769
769
|
}
|
|
@@ -31279,15 +31279,15 @@ const BD = /* @__PURE__ */ e.forwardRef(kD), o5 = /* @__PURE__ */ Object.freeze(
|
|
|
31279
31279
|
{ name: "modules-time", component: "ClockIcon" }
|
|
31280
31280
|
],
|
|
31281
31281
|
nuevos: [{ name: "nuevos-eye", component: "EyeIcon" }]
|
|
31282
|
-
}, Q0 = Object.values(OD).flat().reduce((a, r) => (a[r.name] = r.component, a), {}),
|
|
31282
|
+
}, Q0 = Object.values(OD).flat().reduce((a, r) => (a[r.name] = r.component, a), {}), f0 = [
|
|
31283
31283
|
{ key: "24-outline", weight: 24, style: "outline", lib: n5, defaultSize: 24 },
|
|
31284
31284
|
{ key: "24-solid", weight: 24, style: "solid", lib: l5, defaultSize: 24 },
|
|
31285
31285
|
{ key: "20-solid", weight: 20, style: "solid", lib: t5, defaultSize: 20 },
|
|
31286
31286
|
{ key: "16-solid", weight: 16, style: "solid", lib: o5, defaultSize: 16 }
|
|
31287
31287
|
], FD = Array.from(
|
|
31288
|
-
new Set(
|
|
31288
|
+
new Set(f0.flatMap(({ lib: a }) => Object.keys(a)))
|
|
31289
31289
|
).sort();
|
|
31290
|
-
|
|
31290
|
+
f0.map(({ key: a }) => a);
|
|
31291
31291
|
const HD = [
|
|
31292
31292
|
{ key: "critical", fill: "#EF4444", subtle: "#FEE2E2" },
|
|
31293
31293
|
{ key: "high", fill: "#F97316", subtle: "#FFEDD5" },
|
|
@@ -31467,8 +31467,8 @@ const e5 = FD, b = ({
|
|
|
31467
31467
|
const i = ID[a];
|
|
31468
31468
|
if (i)
|
|
31469
31469
|
return ND(i, l ?? 18, n, c, s);
|
|
31470
|
-
const u = DD(a), d =
|
|
31471
|
-
({ weight: A, style:
|
|
31470
|
+
const u = DD(a), d = f0.find(({ key: A }) => A === r) || f0[0], f = f0.find(
|
|
31471
|
+
({ weight: A, style: L }) => A === d.weight && L !== d.style
|
|
31472
31472
|
), w = d.lib[u] || (f ? f.lib[u] : null) || n5[u] || l5[u] || t5[u] || o5[u];
|
|
31473
31473
|
if (!w)
|
|
31474
31474
|
return console.warn(`Icon "${a}" not found in catalog`), null;
|
|
@@ -31514,7 +31514,7 @@ const e5 = FD, b = ({
|
|
|
31514
31514
|
}
|
|
31515
31515
|
)
|
|
31516
31516
|
] }) });
|
|
31517
|
-
},
|
|
31517
|
+
}, k0 = ({
|
|
31518
31518
|
src: a,
|
|
31519
31519
|
alt: r = "",
|
|
31520
31520
|
name: l,
|
|
@@ -31705,7 +31705,7 @@ const e5 = FD, b = ({
|
|
|
31705
31705
|
className: s = "",
|
|
31706
31706
|
...i
|
|
31707
31707
|
}) => {
|
|
31708
|
-
|
|
31708
|
+
t0(() => {
|
|
31709
31709
|
if (l > 0 && n) {
|
|
31710
31710
|
const w = setTimeout(() => {
|
|
31711
31711
|
n();
|
|
@@ -31807,7 +31807,7 @@ const e5 = FD, b = ({
|
|
|
31807
31807
|
]
|
|
31808
31808
|
}
|
|
31809
31809
|
);
|
|
31810
|
-
},
|
|
31810
|
+
}, a0 = ({
|
|
31811
31811
|
width: a = 36,
|
|
31812
31812
|
height: r = 40,
|
|
31813
31813
|
backgroundColor: l = "#2D5C63",
|
|
@@ -31837,7 +31837,7 @@ const e5 = FD, b = ({
|
|
|
31837
31837
|
}
|
|
31838
31838
|
)
|
|
31839
31839
|
}
|
|
31840
|
-
),
|
|
31840
|
+
), l0 = ({
|
|
31841
31841
|
label: a,
|
|
31842
31842
|
placeholder: r,
|
|
31843
31843
|
type: l = "text",
|
|
@@ -31848,7 +31848,7 @@ const e5 = FD, b = ({
|
|
|
31848
31848
|
className: u = "",
|
|
31849
31849
|
...d
|
|
31850
31850
|
}) => {
|
|
31851
|
-
const { t: f } =
|
|
31851
|
+
const { t: f } = _(), 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 e5 = FD, b = ({
|
|
|
31929
31929
|
className: d = "",
|
|
31930
31930
|
...f
|
|
31931
31931
|
}) => {
|
|
31932
|
-
const { t: w } =
|
|
31932
|
+
const { t: w } = _(), h = `
|
|
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 e5 = FD, b = ({
|
|
|
31968
31968
|
className: u = "",
|
|
31969
31969
|
...d
|
|
31970
31970
|
}) => {
|
|
31971
|
-
const { t: f } =
|
|
31971
|
+
const { t: f } = _(), 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 e5 = FD, b = ({
|
|
|
32046
32046
|
className: i = "",
|
|
32047
32047
|
...u
|
|
32048
32048
|
}) => {
|
|
32049
|
-
const { t: d } =
|
|
32049
|
+
const { t: d } = _(), 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,11 +32086,11 @@ const e5 = FD, b = ({
|
|
|
32086
32086
|
className: d = "",
|
|
32087
32087
|
...f
|
|
32088
32088
|
}) => {
|
|
32089
|
-
const { t: w } =
|
|
32090
|
-
const M = Array.from(
|
|
32089
|
+
const { t: w } = _(), [h, g] = I([]), v = (L) => {
|
|
32090
|
+
const M = Array.from(L.target.files);
|
|
32091
32091
|
g(M), u && u(M);
|
|
32092
|
-
}, A = (
|
|
32093
|
-
const M = h.filter((
|
|
32092
|
+
}, A = (L) => {
|
|
32093
|
+
const M = h.filter((R, E) => E !== L);
|
|
32094
32094
|
g(M), u && u(M);
|
|
32095
32095
|
};
|
|
32096
32096
|
return /* @__PURE__ */ t.jsxs("div", { className: `w-full ${d}`, children: [
|
|
@@ -32129,17 +32129,17 @@ const e5 = FD, b = ({
|
|
|
32129
32129
|
] }),
|
|
32130
32130
|
/* @__PURE__ */ t.jsx("p", { className: "text-xs text-gray-500", children: "PNG, JPG, GIF hasta 10MB" })
|
|
32131
32131
|
] }) }),
|
|
32132
|
-
h.length > 0 && /* @__PURE__ */ t.jsx("div", { className: "mt-4 space-y-2", children: h.map((
|
|
32132
|
+
h.length > 0 && /* @__PURE__ */ t.jsx("div", { className: "mt-4 space-y-2", children: h.map((L, M) => /* @__PURE__ */ t.jsxs(
|
|
32133
32133
|
"div",
|
|
32134
32134
|
{
|
|
32135
32135
|
className: "flex items-center justify-between p-2 bg-gray-50 rounded-lg",
|
|
32136
32136
|
children: [
|
|
32137
32137
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
32138
32138
|
/* @__PURE__ */ t.jsx(b, { name: "DocumentIcon", className: "h-5 w-5 text-gray-400" }),
|
|
32139
|
-
/* @__PURE__ */ t.jsx("span", { className: "text-sm text-gray-700", children:
|
|
32139
|
+
/* @__PURE__ */ t.jsx("span", { className: "text-sm text-gray-700", children: L.name }),
|
|
32140
32140
|
/* @__PURE__ */ t.jsxs("span", { className: "text-xs text-gray-500", children: [
|
|
32141
32141
|
"(",
|
|
32142
|
-
(
|
|
32142
|
+
(L.size / 1024).toFixed(2),
|
|
32143
32143
|
" KB)"
|
|
32144
32144
|
] })
|
|
32145
32145
|
] }),
|
|
@@ -32256,7 +32256,7 @@ const e5 = FD, b = ({
|
|
|
32256
32256
|
"aria-label": "Perfil de usuario",
|
|
32257
32257
|
children: [
|
|
32258
32258
|
/* @__PURE__ */ t.jsx(
|
|
32259
|
-
|
|
32259
|
+
k0,
|
|
32260
32260
|
{
|
|
32261
32261
|
src: l,
|
|
32262
32262
|
name: r,
|
|
@@ -32331,16 +32331,9 @@ const e5 = FD, b = ({
|
|
|
32331
32331
|
box-shadow: 0 0 0 1px #3b82f6;
|
|
32332
32332
|
}
|
|
32333
32333
|
@media (max-width: 768px) {
|
|
32334
|
-
.header-
|
|
32335
|
-
|
|
32336
|
-
padding-left: 8px !important;
|
|
32337
|
-
padding-right: 8px !important;
|
|
32338
|
-
}
|
|
32339
|
-
.header-search-icon-container {
|
|
32340
|
-
width: 36px !important;
|
|
32334
|
+
.header-mobile-layout {
|
|
32335
|
+
display: block;
|
|
32341
32336
|
}
|
|
32342
|
-
}
|
|
32343
|
-
@media (max-width: 480px) {
|
|
32344
32337
|
.header-mobile-top-row {
|
|
32345
32338
|
display: flex;
|
|
32346
32339
|
align-items: center;
|
|
@@ -32353,10 +32346,18 @@ const e5 = FD, b = ({
|
|
|
32353
32346
|
padding: 12px 4px 8px 4px;
|
|
32354
32347
|
}
|
|
32355
32348
|
.header-desktop-layout {
|
|
32356
|
-
display: none;
|
|
32349
|
+
display: none !important;
|
|
32350
|
+
}
|
|
32351
|
+
.header-mobile-layout .header-search-input {
|
|
32352
|
+
font-size: 12px !important;
|
|
32353
|
+
padding-left: 8px !important;
|
|
32354
|
+
padding-right: 8px !important;
|
|
32355
|
+
}
|
|
32356
|
+
.header-mobile-layout .header-search-icon-container {
|
|
32357
|
+
width: 36px !important;
|
|
32357
32358
|
}
|
|
32358
32359
|
}
|
|
32359
|
-
@media (min-width:
|
|
32360
|
+
@media (min-width: 769px) {
|
|
32360
32361
|
.header-mobile-layout {
|
|
32361
32362
|
display: none;
|
|
32362
32363
|
}
|
|
@@ -32453,7 +32454,7 @@ const e5 = FD, b = ({
|
|
|
32453
32454
|
"aria-label": "Perfil de usuario",
|
|
32454
32455
|
children: [
|
|
32455
32456
|
/* @__PURE__ */ t.jsx(
|
|
32456
|
-
|
|
32457
|
+
k0,
|
|
32457
32458
|
{
|
|
32458
32459
|
src: l,
|
|
32459
32460
|
name: r,
|
|
@@ -32567,7 +32568,7 @@ const e5 = FD, b = ({
|
|
|
32567
32568
|
className: "hover:bg-gray-50 rounded-lg transition-colors",
|
|
32568
32569
|
"aria-label": "Perfil de usuario",
|
|
32569
32570
|
children: /* @__PURE__ */ t.jsx(
|
|
32570
|
-
|
|
32571
|
+
k0,
|
|
32571
32572
|
{
|
|
32572
32573
|
src: l,
|
|
32573
32574
|
name: r || "",
|
|
@@ -32647,19 +32648,19 @@ const e5 = FD, b = ({
|
|
|
32647
32648
|
buttonBackgroundColor: g = "#000000",
|
|
32648
32649
|
buttonBorderColor: v = "#FFFFFF",
|
|
32649
32650
|
buttonTextColor: A = "#FFFFFF",
|
|
32650
|
-
className:
|
|
32651
|
+
className: L = "",
|
|
32651
32652
|
...M
|
|
32652
32653
|
}) => {
|
|
32653
|
-
const
|
|
32654
|
+
const R = l || (/* @__PURE__ */ new Date()).toLocaleDateString("es-AR", {
|
|
32654
32655
|
weekday: "long",
|
|
32655
32656
|
year: "numeric",
|
|
32656
32657
|
month: "long",
|
|
32657
32658
|
day: "numeric"
|
|
32658
|
-
}), E =
|
|
32659
|
+
}), E = R.charAt(0).toUpperCase() + R.slice(1);
|
|
32659
32660
|
return /* @__PURE__ */ t.jsx(
|
|
32660
32661
|
"header",
|
|
32661
32662
|
{
|
|
32662
|
-
className: `${
|
|
32663
|
+
className: `${L}`,
|
|
32663
32664
|
style: {
|
|
32664
32665
|
backgroundColor: s || "#FFFFFF",
|
|
32665
32666
|
borderBottom: i ? `1px solid ${i}` : "1px solid #E5E7EB"
|
|
@@ -32675,7 +32676,7 @@ const e5 = FD, b = ({
|
|
|
32675
32676
|
className: "w-8 h-8"
|
|
32676
32677
|
}
|
|
32677
32678
|
) : /* @__PURE__ */ t.jsx(
|
|
32678
|
-
|
|
32679
|
+
a0,
|
|
32679
32680
|
{
|
|
32680
32681
|
width: 36,
|
|
32681
32682
|
height: 40
|
|
@@ -32751,7 +32752,7 @@ const e5 = FD, b = ({
|
|
|
32751
32752
|
};
|
|
32752
32753
|
return /* @__PURE__ */ t.jsxs("header", { className: `w-full flex justify-between items-center bg-white ${s}`, style: { paddingTop: "4px", paddingBottom: "4px", paddingLeft: "8px", paddingRight: "12px" }, ...i, children: [
|
|
32753
32754
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
32754
|
-
/* @__PURE__ */ t.jsx(
|
|
32755
|
+
/* @__PURE__ */ t.jsx(a0, { width: 32, height: 36 }),
|
|
32755
32756
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center", style: { gap: "4px" }, children: [
|
|
32756
32757
|
/* @__PURE__ */ t.jsx(Z, { variant: "h6", className: "font-normal", style: { color: "#2D5C63", margin: 0 }, children: a }),
|
|
32757
32758
|
/* @__PURE__ */ t.jsx(Z, { variant: "h6", className: "font-normal", style: { color: "#2D5C63", margin: 0 }, children: r })
|
|
@@ -32826,11 +32827,15 @@ const e5 = FD, b = ({
|
|
|
32826
32827
|
// Texto del footer: puede ser string "v1.0 | Powered by Nucleus" o objeto { version: "v1.0", poweredBy: "Powered by", brand: "Nucleus" }
|
|
32827
32828
|
footerCollapsedContent: d,
|
|
32828
32829
|
// Contenido a mostrar en el footer cuando está colapsado (puede ser string, ReactNode, o objeto con icon y text)
|
|
32829
|
-
|
|
32830
|
-
|
|
32830
|
+
coreContainerStyle: f,
|
|
32831
|
+
// Estilos personalizados para el contenedor de LogoHexa y "Core"
|
|
32832
|
+
coreTextStyle: w,
|
|
32833
|
+
// Estilos personalizados para el texto "Core"
|
|
32834
|
+
className: h = "",
|
|
32835
|
+
...g
|
|
32831
32836
|
}) => {
|
|
32832
|
-
const [
|
|
32833
|
-
|
|
32837
|
+
const [v, A] = I(!1), L = () => {
|
|
32838
|
+
A(!v);
|
|
32834
32839
|
};
|
|
32835
32840
|
return (() => {
|
|
32836
32841
|
if (d)
|
|
@@ -32846,7 +32851,7 @@ const e5 = FD, b = ({
|
|
|
32846
32851
|
/* @__PURE__ */ t.jsx("style", { children: `
|
|
32847
32852
|
.sidebar-core-mobile {
|
|
32848
32853
|
width: 100%;
|
|
32849
|
-
transform: ${
|
|
32854
|
+
transform: ${v ? "translateX(0)" : "translateX(-100%)"};
|
|
32850
32855
|
position: fixed;
|
|
32851
32856
|
left: 0;
|
|
32852
32857
|
top: 0;
|
|
@@ -32855,10 +32860,10 @@ const e5 = FD, b = ({
|
|
|
32855
32860
|
transition: transform 0.3s ease-in-out;
|
|
32856
32861
|
}
|
|
32857
32862
|
` }),
|
|
32858
|
-
!
|
|
32863
|
+
!v && /* @__PURE__ */ t.jsx(
|
|
32859
32864
|
"button",
|
|
32860
32865
|
{
|
|
32861
|
-
onClick:
|
|
32866
|
+
onClick: L,
|
|
32862
32867
|
className: `fixed top-4 left-4 z-50 p-2 bg-white border border-gray-200 rounded-lg shadow-md \r
|
|
32863
32868
|
hover:bg-gray-50 transition-colors`,
|
|
32864
32869
|
"aria-label": "Toggle menu",
|
|
@@ -32873,33 +32878,63 @@ const e5 = FD, b = ({
|
|
|
32873
32878
|
)
|
|
32874
32879
|
}
|
|
32875
32880
|
),
|
|
32876
|
-
|
|
32881
|
+
v && /* @__PURE__ */ t.jsx(
|
|
32877
32882
|
"div",
|
|
32878
32883
|
{
|
|
32879
32884
|
className: "fixed inset-0 bg-black bg-opacity-50 z-40",
|
|
32880
|
-
onClick:
|
|
32885
|
+
onClick: L
|
|
32881
32886
|
}
|
|
32882
32887
|
),
|
|
32883
32888
|
/* @__PURE__ */ t.jsx(
|
|
32884
32889
|
"aside",
|
|
32885
32890
|
{
|
|
32886
|
-
className: `bg-white border-r border-gray-200 sidebar-core-mobile ${
|
|
32887
|
-
...
|
|
32891
|
+
className: `bg-white border-r border-gray-200 sidebar-core-mobile ${h}`,
|
|
32892
|
+
...g,
|
|
32888
32893
|
children: /* @__PURE__ */ t.jsxs("nav", { className: "h-full flex flex-col", children: [
|
|
32889
32894
|
/* @__PURE__ */ t.jsxs("div", { className: "bg-white px-4 py-4 flex items-center justify-between border-b border-gray-200", children: [
|
|
32890
|
-
/* @__PURE__ */ t.
|
|
32891
|
-
|
|
32895
|
+
/* @__PURE__ */ t.jsxs(
|
|
32896
|
+
"div",
|
|
32892
32897
|
{
|
|
32893
|
-
|
|
32894
|
-
style:
|
|
32895
|
-
children:
|
|
32898
|
+
className: "flex items-center space-x-2",
|
|
32899
|
+
style: f,
|
|
32900
|
+
children: [
|
|
32901
|
+
/* @__PURE__ */ t.jsx(
|
|
32902
|
+
a0,
|
|
32903
|
+
{
|
|
32904
|
+
width: 36,
|
|
32905
|
+
height: 40,
|
|
32906
|
+
className: "flex-shrink-0"
|
|
32907
|
+
}
|
|
32908
|
+
),
|
|
32909
|
+
/* @__PURE__ */ t.jsx(
|
|
32910
|
+
Z,
|
|
32911
|
+
{
|
|
32912
|
+
variant: "h6",
|
|
32913
|
+
style: {
|
|
32914
|
+
color: "#2D5C63",
|
|
32915
|
+
fontSize: "24px",
|
|
32916
|
+
fontFamily: "IBM Plex Sans",
|
|
32917
|
+
fontWeight: 600,
|
|
32918
|
+
lineHeight: "1.2",
|
|
32919
|
+
margin: 0,
|
|
32920
|
+
marginLeft: "8px",
|
|
32921
|
+
width: "272px",
|
|
32922
|
+
height: "40px",
|
|
32923
|
+
display: "flex",
|
|
32924
|
+
alignItems: "center",
|
|
32925
|
+
...w
|
|
32926
|
+
},
|
|
32927
|
+
children: "Core"
|
|
32928
|
+
}
|
|
32929
|
+
)
|
|
32930
|
+
]
|
|
32896
32931
|
}
|
|
32897
32932
|
),
|
|
32898
32933
|
/* @__PURE__ */ t.jsx(
|
|
32899
32934
|
"button",
|
|
32900
32935
|
{
|
|
32901
|
-
onClick:
|
|
32902
|
-
className: "p-1 hover:bg-gray-100 rounded transition-colors",
|
|
32936
|
+
onClick: L,
|
|
32937
|
+
className: "p-1 hover:bg-gray-100 rounded transition-colors flex-shrink-0",
|
|
32903
32938
|
"aria-label": "Cerrar menú",
|
|
32904
32939
|
children: /* @__PURE__ */ t.jsx(
|
|
32905
32940
|
b,
|
|
@@ -32918,7 +32953,7 @@ const e5 = FD, b = ({
|
|
|
32918
32953
|
"button",
|
|
32919
32954
|
{
|
|
32920
32955
|
onClick: () => {
|
|
32921
|
-
l && l("inicio"),
|
|
32956
|
+
l && l("inicio"), L();
|
|
32922
32957
|
},
|
|
32923
32958
|
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"}`,
|
|
32924
32959
|
style: r === "inicio" ? { backgroundColor: "#2D5C63" } : {},
|
|
@@ -32946,10 +32981,11 @@ const e5 = FD, b = ({
|
|
|
32946
32981
|
"span",
|
|
32947
32982
|
{
|
|
32948
32983
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
32949
|
-
|
|
32984
|
+
rounded-full flex items-center justify-center\r
|
|
32950
32985
|
text-body-sm font-medium`,
|
|
32951
32986
|
style: {
|
|
32952
|
-
backgroundColor: "#6D3856",
|
|
32987
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
32988
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
32953
32989
|
borderRadius: "12px"
|
|
32954
32990
|
},
|
|
32955
32991
|
children: i.inicio > 9 ? "9+" : i.inicio
|
|
@@ -32958,7 +32994,7 @@ const e5 = FD, b = ({
|
|
|
32958
32994
|
]
|
|
32959
32995
|
}
|
|
32960
32996
|
) }),
|
|
32961
|
-
a.map((R,
|
|
32997
|
+
a.map((R, E) => /* @__PURE__ */ t.jsxs("div", { className: "mb-6", children: [
|
|
32962
32998
|
/* @__PURE__ */ t.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
32963
32999
|
Z,
|
|
32964
33000
|
{
|
|
@@ -32967,51 +33003,52 @@ const e5 = FD, b = ({
|
|
|
32967
33003
|
children: R.title
|
|
32968
33004
|
}
|
|
32969
33005
|
) }),
|
|
32970
|
-
/* @__PURE__ */ t.jsx("div", { className: "space-y-1", children: R.items.map((
|
|
33006
|
+
/* @__PURE__ */ t.jsx("div", { className: "space-y-1", children: R.items.map((k) => /* @__PURE__ */ t.jsx("div", { className: "px-4", children: /* @__PURE__ */ t.jsxs(
|
|
32971
33007
|
"button",
|
|
32972
33008
|
{
|
|
32973
33009
|
onClick: () => {
|
|
32974
|
-
l && l(
|
|
33010
|
+
l && l(k.id), L();
|
|
32975
33011
|
},
|
|
32976
|
-
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${r ===
|
|
32977
|
-
style: r ===
|
|
33012
|
+
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${r === k.id ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
33013
|
+
style: r === k.id ? { backgroundColor: "#2D5C63" } : {},
|
|
32978
33014
|
children: [
|
|
32979
33015
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center", children: [
|
|
32980
33016
|
/* @__PURE__ */ t.jsx(
|
|
32981
33017
|
b,
|
|
32982
33018
|
{
|
|
32983
|
-
name:
|
|
33019
|
+
name: k.icon,
|
|
32984
33020
|
variant: "24-outline",
|
|
32985
33021
|
size: 20,
|
|
32986
|
-
className: `mr-3 ${r ===
|
|
33022
|
+
className: `mr-3 ${r === k.id ? "color-white" : "color-gray-700"}`
|
|
32987
33023
|
}
|
|
32988
33024
|
),
|
|
32989
33025
|
/* @__PURE__ */ t.jsx(
|
|
32990
33026
|
Z,
|
|
32991
33027
|
{
|
|
32992
33028
|
variant: "body-md",
|
|
32993
|
-
className: `font-medium ${r ===
|
|
32994
|
-
children:
|
|
33029
|
+
className: `font-medium ${r === k.id ? "color-white" : "color-gray-700"}`,
|
|
33030
|
+
children: k.label
|
|
32995
33031
|
}
|
|
32996
33032
|
)
|
|
32997
33033
|
] }),
|
|
32998
|
-
(i[
|
|
33034
|
+
(i[k.id] !== void 0 && i[k.id] > 0 || k.id === "empleados" && 2) && /* @__PURE__ */ t.jsx(
|
|
32999
33035
|
"span",
|
|
33000
33036
|
{
|
|
33001
33037
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33002
|
-
|
|
33038
|
+
rounded-full flex items-center justify-center\r
|
|
33003
33039
|
text-body-sm font-medium`,
|
|
33004
33040
|
style: {
|
|
33005
|
-
backgroundColor: "#6D3856",
|
|
33041
|
+
backgroundColor: r === k.id ? "#ffffff" : "#6D3856",
|
|
33042
|
+
color: r === k.id ? "#6D3856" : "#ffffff",
|
|
33006
33043
|
borderRadius: "12px"
|
|
33007
33044
|
},
|
|
33008
|
-
children:
|
|
33045
|
+
children: k.id === "empleados" ? 2 : i[k.id] > 9 ? "9+" : i[k.id]
|
|
33009
33046
|
}
|
|
33010
33047
|
)
|
|
33011
33048
|
]
|
|
33012
33049
|
}
|
|
33013
|
-
) },
|
|
33014
|
-
] },
|
|
33050
|
+
) }, k.id)) })
|
|
33051
|
+
] }, E))
|
|
33015
33052
|
] }),
|
|
33016
33053
|
u && /* @__PURE__ */ t.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33017
33054
|
"div",
|
|
@@ -33030,17 +33067,17 @@ const e5 = FD, b = ({
|
|
|
33030
33067
|
children: (() => {
|
|
33031
33068
|
const R = u.split("|");
|
|
33032
33069
|
if (R.length === 2) {
|
|
33033
|
-
const
|
|
33034
|
-
if (
|
|
33035
|
-
const
|
|
33036
|
-
if (
|
|
33070
|
+
const E = R[0].trim(), k = R[1].trim();
|
|
33071
|
+
if (k.includes("Powered by")) {
|
|
33072
|
+
const W = k.match(/Powered by (.+)/);
|
|
33073
|
+
if (W)
|
|
33037
33074
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
33038
|
-
|
|
33075
|
+
E,
|
|
33039
33076
|
" | Powered by ",
|
|
33040
|
-
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children:
|
|
33077
|
+
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children: W[1] })
|
|
33041
33078
|
] });
|
|
33042
33079
|
}
|
|
33043
|
-
return `${
|
|
33080
|
+
return `${E} | ${k}`;
|
|
33044
33081
|
}
|
|
33045
33082
|
return u;
|
|
33046
33083
|
})()
|
|
@@ -33082,21 +33119,25 @@ const e5 = FD, b = ({
|
|
|
33082
33119
|
// Texto del footer: puede ser string "v1.0 | Powered by Nucleus" o objeto { version: "v1.0", poweredBy: "Powered by", brand: "Nucleus" }
|
|
33083
33120
|
footerCollapsedContent: g,
|
|
33084
33121
|
// Contenido a mostrar en el footer cuando está colapsado (puede ser string, ReactNode, o objeto con icon y text)
|
|
33085
|
-
|
|
33086
|
-
|
|
33122
|
+
coreContainerStyle: v,
|
|
33123
|
+
// Estilos personalizados para el contenedor de LogoHexa y "Core" (solo mobile)
|
|
33124
|
+
coreTextStyle: A,
|
|
33125
|
+
// Estilos personalizados para el texto "Core" (solo mobile)
|
|
33126
|
+
className: L = "",
|
|
33127
|
+
...M
|
|
33087
33128
|
}) => {
|
|
33088
|
-
const [R,
|
|
33089
|
-
|
|
33090
|
-
const
|
|
33091
|
-
|
|
33129
|
+
const [R, E] = I(n), [k, W] = I(!1);
|
|
33130
|
+
t0(() => {
|
|
33131
|
+
const V = () => {
|
|
33132
|
+
W(window.innerWidth <= 768);
|
|
33092
33133
|
};
|
|
33093
|
-
return
|
|
33094
|
-
window.removeEventListener("resize",
|
|
33134
|
+
return V(), window.addEventListener("resize", V), () => {
|
|
33135
|
+
window.removeEventListener("resize", V);
|
|
33095
33136
|
};
|
|
33096
33137
|
}, []);
|
|
33097
|
-
const
|
|
33098
|
-
|
|
33099
|
-
},
|
|
33138
|
+
const Y = () => {
|
|
33139
|
+
E(!R);
|
|
33140
|
+
}, S = (() => {
|
|
33100
33141
|
if (g)
|
|
33101
33142
|
return g;
|
|
33102
33143
|
if (h && !g) {
|
|
@@ -33107,7 +33148,7 @@ const e5 = FD, b = ({
|
|
|
33107
33148
|
}
|
|
33108
33149
|
return null;
|
|
33109
33150
|
})();
|
|
33110
|
-
return
|
|
33151
|
+
return k ? /* @__PURE__ */ t.jsx(
|
|
33111
33152
|
TD,
|
|
33112
33153
|
{
|
|
33113
33154
|
sections: a,
|
|
@@ -33119,14 +33160,16 @@ const e5 = FD, b = ({
|
|
|
33119
33160
|
itemBadges: w,
|
|
33120
33161
|
footerText: h,
|
|
33121
33162
|
footerCollapsedContent: g,
|
|
33122
|
-
|
|
33123
|
-
|
|
33163
|
+
coreContainerStyle: v,
|
|
33164
|
+
coreTextStyle: A,
|
|
33165
|
+
className: L,
|
|
33166
|
+
...M
|
|
33124
33167
|
}
|
|
33125
33168
|
) : /* @__PURE__ */ t.jsx(
|
|
33126
33169
|
"aside",
|
|
33127
33170
|
{
|
|
33128
|
-
className: `bg-white border-r border-gray-200 transition-all duration-300 ease-in-out h-full ${R ? "w-20" : "w-64"} ${
|
|
33129
|
-
...
|
|
33171
|
+
className: `bg-white border-r border-gray-200 transition-all duration-300 ease-in-out h-full ${R ? "w-20" : "w-64"} ${L}`,
|
|
33172
|
+
...M,
|
|
33130
33173
|
children: /* @__PURE__ */ t.jsxs("nav", { className: "h-full flex flex-col", style: { overflow: "hidden" }, children: [
|
|
33131
33174
|
!R && /* @__PURE__ */ t.jsx("div", { className: "p-4 border-b border-gray-200 flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33132
33175
|
"button",
|
|
@@ -33142,7 +33185,7 @@ const e5 = FD, b = ({
|
|
|
33142
33185
|
alt: c,
|
|
33143
33186
|
className: "w-8 h-8 rounded"
|
|
33144
33187
|
}
|
|
33145
|
-
) : /* @__PURE__ */ t.jsx(
|
|
33188
|
+
) : /* @__PURE__ */ t.jsx(a0, { width: 36, height: 40 }),
|
|
33146
33189
|
/* @__PURE__ */ t.jsx(
|
|
33147
33190
|
Z,
|
|
33148
33191
|
{
|
|
@@ -33157,7 +33200,7 @@ const e5 = FD, b = ({
|
|
|
33157
33200
|
!R && /* @__PURE__ */ t.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-end flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33158
33201
|
"button",
|
|
33159
33202
|
{
|
|
33160
|
-
onClick:
|
|
33203
|
+
onClick: Y,
|
|
33161
33204
|
className: "p-1.5 hover:bg-gray-100 rounded-lg transition-colors",
|
|
33162
33205
|
"aria-label": "Colapsar sidebar",
|
|
33163
33206
|
style: { marginRight: "10px" },
|
|
@@ -33179,11 +33222,11 @@ const e5 = FD, b = ({
|
|
|
33179
33222
|
alt: c,
|
|
33180
33223
|
className: "w-8 h-8 rounded"
|
|
33181
33224
|
}
|
|
33182
|
-
) : /* @__PURE__ */ t.jsx(
|
|
33225
|
+
) : /* @__PURE__ */ t.jsx(a0, { width: 36, height: 40 }) }),
|
|
33183
33226
|
R && /* @__PURE__ */ t.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-center flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33184
33227
|
"button",
|
|
33185
33228
|
{
|
|
33186
|
-
onClick:
|
|
33229
|
+
onClick: Y,
|
|
33187
33230
|
className: "p-1.5 hover:bg-gray-100 rounded-lg transition-colors",
|
|
33188
33231
|
"aria-label": "Expandir sidebar",
|
|
33189
33232
|
children: /* @__PURE__ */ t.jsx(
|
|
@@ -33227,10 +33270,11 @@ const e5 = FD, b = ({
|
|
|
33227
33270
|
"span",
|
|
33228
33271
|
{
|
|
33229
33272
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33230
|
-
|
|
33273
|
+
rounded-full flex items-center justify-center\r
|
|
33231
33274
|
text-body-sm font-medium absolute`,
|
|
33232
33275
|
style: {
|
|
33233
|
-
backgroundColor: "#6D3856",
|
|
33276
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
33277
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
33234
33278
|
borderRadius: "12px",
|
|
33235
33279
|
top: "-4px",
|
|
33236
33280
|
right: "-4px",
|
|
@@ -33244,10 +33288,11 @@ const e5 = FD, b = ({
|
|
|
33244
33288
|
"span",
|
|
33245
33289
|
{
|
|
33246
33290
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33247
|
-
|
|
33291
|
+
rounded-full flex items-center justify-center\r
|
|
33248
33292
|
text-body-sm font-medium`,
|
|
33249
33293
|
style: {
|
|
33250
|
-
backgroundColor: "#6D3856",
|
|
33294
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
33295
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
33251
33296
|
borderRadius: "12px"
|
|
33252
33297
|
},
|
|
33253
33298
|
children: w.inicio > 9 ? "9+" : w.inicio
|
|
@@ -33256,76 +33301,78 @@ const e5 = FD, b = ({
|
|
|
33256
33301
|
]
|
|
33257
33302
|
}
|
|
33258
33303
|
) }),
|
|
33259
|
-
a.map((
|
|
33304
|
+
a.map((V, T) => /* @__PURE__ */ t.jsxs("div", { className: "mb-6", children: [
|
|
33260
33305
|
R && /* @__PURE__ */ t.jsx("div", { className: "px-4 mb-4", children: /* @__PURE__ */ t.jsx("div", { className: "border-t", style: { borderColor: "#2D5C63" } }) }),
|
|
33261
33306
|
!R && /* @__PURE__ */ t.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
33262
33307
|
Z,
|
|
33263
33308
|
{
|
|
33264
33309
|
variant: "body-sm",
|
|
33265
33310
|
className: "color-gray-500 uppercase font-medium tracking-wider",
|
|
33266
|
-
children:
|
|
33311
|
+
children: V.title
|
|
33267
33312
|
}
|
|
33268
33313
|
) }),
|
|
33269
|
-
/* @__PURE__ */ t.jsx("div", { className: "space-y-1", children:
|
|
33314
|
+
/* @__PURE__ */ t.jsx("div", { className: "space-y-1", children: V.items.map((C) => /* @__PURE__ */ t.jsx("div", { className: "px-4", children: /* @__PURE__ */ t.jsxs(
|
|
33270
33315
|
"button",
|
|
33271
33316
|
{
|
|
33272
|
-
onClick: () => l && l(
|
|
33273
|
-
className: `w-full flex items-center ${R ? "justify-center px-2" : "px-4 justify-between"} py-2.5 rounded-lg transition-all duration-200 ${r ===
|
|
33274
|
-
style: r ===
|
|
33275
|
-
title: R ?
|
|
33317
|
+
onClick: () => l && l(C.id),
|
|
33318
|
+
className: `w-full flex items-center ${R ? "justify-center px-2" : "px-4 justify-between"} py-2.5 rounded-lg transition-all duration-200 ${r === C.id ? "" : "color-gray-700 hover:bg-gray-100"}`,
|
|
33319
|
+
style: r === C.id ? { backgroundColor: "#2D5C63" } : {},
|
|
33320
|
+
title: R ? C.label : "",
|
|
33276
33321
|
children: [
|
|
33277
|
-
/* @__PURE__ */ t.jsxs("div", { className: `flex items-center ${R ? "relative" : ""}`, style: R && (w[
|
|
33322
|
+
/* @__PURE__ */ t.jsxs("div", { className: `flex items-center ${R ? "relative" : ""}`, style: R && (w[C.id] !== void 0 && w[C.id] > 0 || C.id === "empleados") ? { paddingRight: "16px" } : {}, children: [
|
|
33278
33323
|
/* @__PURE__ */ t.jsx(
|
|
33279
33324
|
b,
|
|
33280
33325
|
{
|
|
33281
|
-
name:
|
|
33326
|
+
name: C.icon,
|
|
33282
33327
|
variant: "24-outline",
|
|
33283
33328
|
size: 20,
|
|
33284
|
-
className: `${R ? "" : "mr-3"} ${r ===
|
|
33329
|
+
className: `${R ? "" : "mr-3"} ${r === C.id ? "color-white" : "color-gray-700"}`
|
|
33285
33330
|
}
|
|
33286
33331
|
),
|
|
33287
33332
|
!R && /* @__PURE__ */ t.jsx(
|
|
33288
33333
|
Z,
|
|
33289
33334
|
{
|
|
33290
33335
|
variant: "body-md",
|
|
33291
|
-
className: `font-medium ${r ===
|
|
33292
|
-
children:
|
|
33336
|
+
className: `font-medium ${r === C.id ? "color-white" : "color-gray-700"}`,
|
|
33337
|
+
children: C.label
|
|
33293
33338
|
}
|
|
33294
33339
|
),
|
|
33295
|
-
R && (w[
|
|
33340
|
+
R && (w[C.id] !== void 0 && w[C.id] > 0 || C.id === "empleados" && 2) && /* @__PURE__ */ t.jsx(
|
|
33296
33341
|
"span",
|
|
33297
33342
|
{
|
|
33298
33343
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33299
|
-
|
|
33344
|
+
rounded-full flex items-center justify-center\r
|
|
33300
33345
|
text-body-sm font-medium absolute`,
|
|
33301
33346
|
style: {
|
|
33302
|
-
backgroundColor: "#6D3856",
|
|
33347
|
+
backgroundColor: r === C.id ? "#ffffff" : "#6D3856",
|
|
33348
|
+
color: r === C.id ? "#6D3856" : "#ffffff",
|
|
33303
33349
|
borderRadius: "12px",
|
|
33304
33350
|
top: "-4px",
|
|
33305
33351
|
right: "-4px",
|
|
33306
33352
|
zIndex: 10
|
|
33307
33353
|
},
|
|
33308
|
-
children:
|
|
33354
|
+
children: C.id === "empleados" ? 2 : w[C.id] > 9 ? "9+" : w[C.id]
|
|
33309
33355
|
}
|
|
33310
33356
|
)
|
|
33311
33357
|
] }),
|
|
33312
|
-
!R && (w[
|
|
33358
|
+
!R && (w[C.id] !== void 0 && w[C.id] > 0 || C.id === "empleados" && 2) && /* @__PURE__ */ t.jsx(
|
|
33313
33359
|
"span",
|
|
33314
33360
|
{
|
|
33315
33361
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33316
|
-
|
|
33362
|
+
rounded-full flex items-center justify-center\r
|
|
33317
33363
|
text-body-sm font-medium`,
|
|
33318
33364
|
style: {
|
|
33319
|
-
backgroundColor: "#6D3856",
|
|
33365
|
+
backgroundColor: r === C.id ? "#ffffff" : "#6D3856",
|
|
33366
|
+
color: r === C.id ? "#6D3856" : "#ffffff",
|
|
33320
33367
|
borderRadius: "12px"
|
|
33321
33368
|
},
|
|
33322
|
-
children:
|
|
33369
|
+
children: C.id === "empleados" ? 2 : w[C.id] > 9 ? "9+" : w[C.id]
|
|
33323
33370
|
}
|
|
33324
33371
|
)
|
|
33325
33372
|
]
|
|
33326
33373
|
}
|
|
33327
|
-
) },
|
|
33328
|
-
] },
|
|
33374
|
+
) }, C.id)) })
|
|
33375
|
+
] }, T))
|
|
33329
33376
|
] }) }),
|
|
33330
33377
|
h && !R && /* @__PURE__ */ t.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33331
33378
|
"div",
|
|
@@ -33342,19 +33389,19 @@ const e5 = FD, b = ({
|
|
|
33342
33389
|
style: { color: "#2D5C63" },
|
|
33343
33390
|
className: "text-center",
|
|
33344
33391
|
children: (() => {
|
|
33345
|
-
const
|
|
33346
|
-
if (
|
|
33347
|
-
const
|
|
33348
|
-
if (
|
|
33349
|
-
const
|
|
33350
|
-
if (
|
|
33392
|
+
const V = h.split("|");
|
|
33393
|
+
if (V.length === 2) {
|
|
33394
|
+
const T = V[0].trim(), C = V[1].trim();
|
|
33395
|
+
if (C.includes("Powered by")) {
|
|
33396
|
+
const i0 = C.match(/Powered by (.+)/);
|
|
33397
|
+
if (i0)
|
|
33351
33398
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
33352
|
-
|
|
33399
|
+
T,
|
|
33353
33400
|
" | Powered by ",
|
|
33354
|
-
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children:
|
|
33401
|
+
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children: i0[1] })
|
|
33355
33402
|
] });
|
|
33356
33403
|
}
|
|
33357
|
-
return `${
|
|
33404
|
+
return `${T} | ${C}`;
|
|
33358
33405
|
}
|
|
33359
33406
|
return h;
|
|
33360
33407
|
})()
|
|
@@ -33375,7 +33422,7 @@ const e5 = FD, b = ({
|
|
|
33375
33422
|
)
|
|
33376
33423
|
}
|
|
33377
33424
|
) }),
|
|
33378
|
-
|
|
33425
|
+
S && R && /* @__PURE__ */ t.jsx("div", { className: "flex justify-center flex-shrink-0", style: { zIndex: 10, paddingTop: "10px", paddingBottom: "10px" }, children: /* @__PURE__ */ t.jsx(
|
|
33379
33426
|
"div",
|
|
33380
33427
|
{
|
|
33381
33428
|
className: "bg-white border flex items-center justify-center",
|
|
@@ -33389,7 +33436,7 @@ const e5 = FD, b = ({
|
|
|
33389
33436
|
paddingBottom: "8px",
|
|
33390
33437
|
paddingLeft: "12px"
|
|
33391
33438
|
},
|
|
33392
|
-
children: typeof
|
|
33439
|
+
children: typeof S == "string" ? /* @__PURE__ */ t.jsx(
|
|
33393
33440
|
"span",
|
|
33394
33441
|
{
|
|
33395
33442
|
style: {
|
|
@@ -33403,30 +33450,30 @@ const e5 = FD, b = ({
|
|
|
33403
33450
|
textOverflow: "ellipsis",
|
|
33404
33451
|
maxWidth: "100%"
|
|
33405
33452
|
},
|
|
33406
|
-
children:
|
|
33453
|
+
children: S
|
|
33407
33454
|
}
|
|
33408
|
-
) : typeof
|
|
33409
|
-
|
|
33455
|
+
) : typeof S == "object" && S.icon ? /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center", children: [
|
|
33456
|
+
S.icon && /* @__PURE__ */ t.jsx(
|
|
33410
33457
|
b,
|
|
33411
33458
|
{
|
|
33412
|
-
name:
|
|
33459
|
+
name: S.icon,
|
|
33413
33460
|
variant: "24-outline",
|
|
33414
33461
|
size: 14,
|
|
33415
33462
|
style: { color: "#2D5C63" }
|
|
33416
33463
|
}
|
|
33417
33464
|
),
|
|
33418
|
-
|
|
33465
|
+
S.text && /* @__PURE__ */ t.jsx(
|
|
33419
33466
|
"span",
|
|
33420
33467
|
{
|
|
33421
33468
|
style: {
|
|
33422
33469
|
color: "#2D5C63",
|
|
33423
33470
|
fontSize: "12px",
|
|
33424
|
-
marginLeft:
|
|
33471
|
+
marginLeft: S.icon ? "4px" : "0"
|
|
33425
33472
|
},
|
|
33426
|
-
children:
|
|
33473
|
+
children: S.text
|
|
33427
33474
|
}
|
|
33428
33475
|
)
|
|
33429
|
-
] }) :
|
|
33476
|
+
] }) : S
|
|
33430
33477
|
}
|
|
33431
33478
|
) })
|
|
33432
33479
|
] })
|
|
@@ -33466,7 +33513,7 @@ const e5 = FD, b = ({
|
|
|
33466
33513
|
className: h = "",
|
|
33467
33514
|
...g
|
|
33468
33515
|
}) => {
|
|
33469
|
-
const [v, A] = I(n),
|
|
33516
|
+
const [v, A] = I(n), L = () => {
|
|
33470
33517
|
A(!v);
|
|
33471
33518
|
};
|
|
33472
33519
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -33489,7 +33536,7 @@ const e5 = FD, b = ({
|
|
|
33489
33536
|
alt: c,
|
|
33490
33537
|
className: "w-8 h-8 rounded"
|
|
33491
33538
|
}
|
|
33492
|
-
) : /* @__PURE__ */ t.jsx(
|
|
33539
|
+
) : /* @__PURE__ */ t.jsx(a0, { width: 36, height: 40 }),
|
|
33493
33540
|
/* @__PURE__ */ t.jsx(
|
|
33494
33541
|
Z,
|
|
33495
33542
|
{
|
|
@@ -33504,7 +33551,7 @@ const e5 = FD, b = ({
|
|
|
33504
33551
|
!v && /* @__PURE__ */ t.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-end flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33505
33552
|
"button",
|
|
33506
33553
|
{
|
|
33507
|
-
onClick:
|
|
33554
|
+
onClick: L,
|
|
33508
33555
|
className: "p-1.5 hover:bg-gray-100 rounded-lg transition-colors",
|
|
33509
33556
|
"aria-label": "Colapsar sidebar",
|
|
33510
33557
|
style: { marginRight: "10px" },
|
|
@@ -33534,11 +33581,11 @@ const e5 = FD, b = ({
|
|
|
33534
33581
|
alt: c,
|
|
33535
33582
|
className: "w-8 h-8 rounded"
|
|
33536
33583
|
}
|
|
33537
|
-
) : /* @__PURE__ */ t.jsx(
|
|
33584
|
+
) : /* @__PURE__ */ t.jsx(a0, { width: 36, height: 40 }) }),
|
|
33538
33585
|
v && /* @__PURE__ */ t.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-center flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33539
33586
|
"button",
|
|
33540
33587
|
{
|
|
33541
|
-
onClick:
|
|
33588
|
+
onClick: L,
|
|
33542
33589
|
className: "p-1.5 hover:bg-gray-100 rounded-lg transition-colors",
|
|
33543
33590
|
"aria-label": "Expandir sidebar",
|
|
33544
33591
|
children: /* @__PURE__ */ t.jsx(
|
|
@@ -33593,7 +33640,7 @@ const e5 = FD, b = ({
|
|
|
33593
33640
|
]
|
|
33594
33641
|
}
|
|
33595
33642
|
) }),
|
|
33596
|
-
a.map((M,
|
|
33643
|
+
a.map((M, R) => /* @__PURE__ */ t.jsxs("div", { className: "mb-6", children: [
|
|
33597
33644
|
v && /* @__PURE__ */ t.jsx("div", { className: "px-4 mb-4", children: /* @__PURE__ */ t.jsx("div", { className: "border-t", style: { borderColor: "#2D5C63" } }) }),
|
|
33598
33645
|
!v && /* @__PURE__ */ t.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
33599
33646
|
Z,
|
|
@@ -33646,7 +33693,7 @@ const e5 = FD, b = ({
|
|
|
33646
33693
|
]
|
|
33647
33694
|
}
|
|
33648
33695
|
) }, E.id)) })
|
|
33649
|
-
] },
|
|
33696
|
+
] }, R))
|
|
33650
33697
|
] }) }),
|
|
33651
33698
|
d && !v && /* @__PURE__ */ t.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33652
33699
|
"div",
|
|
@@ -33665,17 +33712,17 @@ const e5 = FD, b = ({
|
|
|
33665
33712
|
children: (() => {
|
|
33666
33713
|
const M = d.split("|");
|
|
33667
33714
|
if (M.length === 2) {
|
|
33668
|
-
const
|
|
33715
|
+
const R = M[0].trim(), E = M[1].trim();
|
|
33669
33716
|
if (E.includes("Powered by")) {
|
|
33670
|
-
const
|
|
33671
|
-
if (
|
|
33717
|
+
const k = E.match(/Powered by (.+)/);
|
|
33718
|
+
if (k)
|
|
33672
33719
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
33673
|
-
|
|
33720
|
+
R,
|
|
33674
33721
|
" | Powered by ",
|
|
33675
|
-
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children:
|
|
33722
|
+
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children: k[1] })
|
|
33676
33723
|
] });
|
|
33677
33724
|
}
|
|
33678
|
-
return `${
|
|
33725
|
+
return `${R} | ${E}`;
|
|
33679
33726
|
}
|
|
33680
33727
|
return d;
|
|
33681
33728
|
})()
|
|
@@ -33900,7 +33947,7 @@ const e5 = FD, b = ({
|
|
|
33900
33947
|
]
|
|
33901
33948
|
}
|
|
33902
33949
|
) }),
|
|
33903
|
-
a.map((A,
|
|
33950
|
+
a.map((A, L) => /* @__PURE__ */ t.jsxs("div", { className: "mb-6", children: [
|
|
33904
33951
|
/* @__PURE__ */ t.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
33905
33952
|
Z,
|
|
33906
33953
|
{
|
|
@@ -33953,7 +34000,7 @@ const e5 = FD, b = ({
|
|
|
33953
34000
|
]
|
|
33954
34001
|
}
|
|
33955
34002
|
) }, M.id)) })
|
|
33956
|
-
] },
|
|
34003
|
+
] }, L))
|
|
33957
34004
|
] })
|
|
33958
34005
|
] })
|
|
33959
34006
|
}
|
|
@@ -34025,7 +34072,7 @@ const e5 = FD, b = ({
|
|
|
34025
34072
|
className: u = "",
|
|
34026
34073
|
...d
|
|
34027
34074
|
}) => {
|
|
34028
|
-
if (
|
|
34075
|
+
if (t0(() => (a ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
34029
34076
|
document.body.style.overflow = "unset";
|
|
34030
34077
|
}), [a]), !a) return null;
|
|
34031
34078
|
const f = {
|
|
@@ -34186,7 +34233,7 @@ const e5 = FD, b = ({
|
|
|
34186
34233
|
};
|
|
34187
34234
|
return r <= 1 ? null : /* @__PURE__ */ t.jsx("nav", { className: c, "aria-label": "Pagination", ...s, children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center space-x-1", children: [
|
|
34188
34235
|
n && /* @__PURE__ */ t.jsx(
|
|
34189
|
-
|
|
34236
|
+
z,
|
|
34190
34237
|
{
|
|
34191
34238
|
variant: "outline",
|
|
34192
34239
|
size: "small",
|
|
@@ -34196,7 +34243,7 @@ const e5 = FD, b = ({
|
|
|
34196
34243
|
}
|
|
34197
34244
|
),
|
|
34198
34245
|
/* @__PURE__ */ t.jsx(
|
|
34199
|
-
|
|
34246
|
+
z,
|
|
34200
34247
|
{
|
|
34201
34248
|
variant: "outline",
|
|
34202
34249
|
size: "small",
|
|
@@ -34206,7 +34253,7 @@ const e5 = FD, b = ({
|
|
|
34206
34253
|
}
|
|
34207
34254
|
),
|
|
34208
34255
|
u().map((d) => /* @__PURE__ */ t.jsx(
|
|
34209
|
-
|
|
34256
|
+
z,
|
|
34210
34257
|
{
|
|
34211
34258
|
variant: a === d ? "primary" : "outline",
|
|
34212
34259
|
size: "small",
|
|
@@ -34216,7 +34263,7 @@ const e5 = FD, b = ({
|
|
|
34216
34263
|
d
|
|
34217
34264
|
)),
|
|
34218
34265
|
/* @__PURE__ */ t.jsx(
|
|
34219
|
-
|
|
34266
|
+
z,
|
|
34220
34267
|
{
|
|
34221
34268
|
variant: "outline",
|
|
34222
34269
|
size: "small",
|
|
@@ -34226,7 +34273,7 @@ const e5 = FD, b = ({
|
|
|
34226
34273
|
}
|
|
34227
34274
|
),
|
|
34228
34275
|
n && /* @__PURE__ */ t.jsx(
|
|
34229
|
-
|
|
34276
|
+
z,
|
|
34230
34277
|
{
|
|
34231
34278
|
variant: "outline",
|
|
34232
34279
|
size: "small",
|
|
@@ -34247,7 +34294,7 @@ const e5 = FD, b = ({
|
|
|
34247
34294
|
className: u = "",
|
|
34248
34295
|
...d
|
|
34249
34296
|
}) => {
|
|
34250
|
-
if (
|
|
34297
|
+
if (t0(() => (a ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
34251
34298
|
document.body.style.overflow = "unset";
|
|
34252
34299
|
}), [a]), !a) return null;
|
|
34253
34300
|
const f = {
|
|
@@ -34299,7 +34346,7 @@ const e5 = FD, b = ({
|
|
|
34299
34346
|
...c
|
|
34300
34347
|
}) => {
|
|
34301
34348
|
const [s, i] = I(!1), u = r5(null);
|
|
34302
|
-
|
|
34349
|
+
t0(() => {
|
|
34303
34350
|
const f = (w) => {
|
|
34304
34351
|
u.current && !u.current.contains(w.target) && i(!1);
|
|
34305
34352
|
};
|
|
@@ -35199,7 +35246,7 @@ const e5 = FD, b = ({
|
|
|
35199
35246
|
className: i = "",
|
|
35200
35247
|
...u
|
|
35201
35248
|
}) => {
|
|
35202
|
-
const { t: d } =
|
|
35249
|
+
const { t: d } = _(), f = a.map((v) => {
|
|
35203
35250
|
const A = v.translationKey ? d(v.translationKey) : v.label || v.headerName;
|
|
35204
35251
|
return {
|
|
35205
35252
|
...v,
|
|
@@ -35266,7 +35313,7 @@ const e5 = FD, b = ({
|
|
|
35266
35313
|
className: u = "",
|
|
35267
35314
|
...d
|
|
35268
35315
|
}) => {
|
|
35269
|
-
const f =
|
|
35316
|
+
const f = o0(() => ({
|
|
35270
35317
|
chart: {
|
|
35271
35318
|
type: "line",
|
|
35272
35319
|
height: n,
|
|
@@ -35322,7 +35369,7 @@ const e5 = FD, b = ({
|
|
|
35322
35369
|
return /* @__PURE__ */ t.jsxs("div", { className: u, children: [
|
|
35323
35370
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35324
35371
|
/* @__PURE__ */ t.jsx(
|
|
35325
|
-
|
|
35372
|
+
c0,
|
|
35326
35373
|
{
|
|
35327
35374
|
options: f,
|
|
35328
35375
|
series: a,
|
|
@@ -35344,7 +35391,7 @@ const e5 = FD, b = ({
|
|
|
35344
35391
|
className: d = "",
|
|
35345
35392
|
...f
|
|
35346
35393
|
}) => {
|
|
35347
|
-
const w =
|
|
35394
|
+
const w = o0(() => ({
|
|
35348
35395
|
chart: {
|
|
35349
35396
|
type: "bar",
|
|
35350
35397
|
height: n,
|
|
@@ -35403,7 +35450,7 @@ const e5 = FD, b = ({
|
|
|
35403
35450
|
return /* @__PURE__ */ t.jsxs("div", { className: d, children: [
|
|
35404
35451
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35405
35452
|
/* @__PURE__ */ t.jsx(
|
|
35406
|
-
|
|
35453
|
+
c0,
|
|
35407
35454
|
{
|
|
35408
35455
|
options: w,
|
|
35409
35456
|
series: a,
|
|
@@ -35424,7 +35471,7 @@ const e5 = FD, b = ({
|
|
|
35424
35471
|
className: u = "",
|
|
35425
35472
|
...d
|
|
35426
35473
|
}) => {
|
|
35427
|
-
const f =
|
|
35474
|
+
const f = o0(() => ({
|
|
35428
35475
|
chart: {
|
|
35429
35476
|
type: "area",
|
|
35430
35477
|
height: n,
|
|
@@ -35489,7 +35536,7 @@ const e5 = FD, b = ({
|
|
|
35489
35536
|
return /* @__PURE__ */ t.jsxs("div", { className: u, children: [
|
|
35490
35537
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35491
35538
|
/* @__PURE__ */ t.jsx(
|
|
35492
|
-
|
|
35539
|
+
c0,
|
|
35493
35540
|
{
|
|
35494
35541
|
options: f,
|
|
35495
35542
|
series: a,
|
|
@@ -35509,7 +35556,7 @@ const e5 = FD, b = ({
|
|
|
35509
35556
|
className: i = "",
|
|
35510
35557
|
...u
|
|
35511
35558
|
}) => {
|
|
35512
|
-
const d =
|
|
35559
|
+
const d = o0(() => ({
|
|
35513
35560
|
chart: {
|
|
35514
35561
|
type: "pie",
|
|
35515
35562
|
height: n,
|
|
@@ -35544,7 +35591,7 @@ const e5 = FD, b = ({
|
|
|
35544
35591
|
return /* @__PURE__ */ t.jsxs("div", { className: i, children: [
|
|
35545
35592
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35546
35593
|
/* @__PURE__ */ t.jsx(
|
|
35547
|
-
|
|
35594
|
+
c0,
|
|
35548
35595
|
{
|
|
35549
35596
|
options: d,
|
|
35550
35597
|
series: a,
|
|
@@ -35565,7 +35612,7 @@ const e5 = FD, b = ({
|
|
|
35565
35612
|
className: u = "",
|
|
35566
35613
|
...d
|
|
35567
35614
|
}) => {
|
|
35568
|
-
const f =
|
|
35615
|
+
const f = o0(() => ({
|
|
35569
35616
|
chart: {
|
|
35570
35617
|
type: "donut",
|
|
35571
35618
|
height: n,
|
|
@@ -35615,7 +35662,7 @@ const e5 = FD, b = ({
|
|
|
35615
35662
|
return /* @__PURE__ */ t.jsxs("div", { className: u, children: [
|
|
35616
35663
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35617
35664
|
/* @__PURE__ */ t.jsx(
|
|
35618
|
-
|
|
35665
|
+
c0,
|
|
35619
35666
|
{
|
|
35620
35667
|
options: f,
|
|
35621
35668
|
series: a,
|
|
@@ -35636,7 +35683,7 @@ const e5 = FD, b = ({
|
|
|
35636
35683
|
className: u = "",
|
|
35637
35684
|
...d
|
|
35638
35685
|
}) => {
|
|
35639
|
-
const f =
|
|
35686
|
+
const f = o0(() => ({
|
|
35640
35687
|
chart: {
|
|
35641
35688
|
type: "column",
|
|
35642
35689
|
height: n,
|
|
@@ -35698,7 +35745,7 @@ const e5 = FD, b = ({
|
|
|
35698
35745
|
return /* @__PURE__ */ t.jsxs("div", { className: u, children: [
|
|
35699
35746
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35700
35747
|
/* @__PURE__ */ t.jsx(
|
|
35701
|
-
|
|
35748
|
+
c0,
|
|
35702
35749
|
{
|
|
35703
35750
|
options: f,
|
|
35704
35751
|
series: a,
|
|
@@ -35720,7 +35767,7 @@ const e5 = FD, b = ({
|
|
|
35720
35767
|
/* @__PURE__ */ t.jsx("div", { className: "mb-4", children: /* @__PURE__ */ t.jsx(b, { name: a, className: "h-16 w-16 text-gray-400" }) }),
|
|
35721
35768
|
/* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-2", children: r }),
|
|
35722
35769
|
/* @__PURE__ */ t.jsx("p", { className: "text-sm text-gray-500 text-center max-w-sm mb-4", children: l }),
|
|
35723
|
-
n && c && /* @__PURE__ */ t.jsx(
|
|
35770
|
+
n && c && /* @__PURE__ */ t.jsx(z, { variant: "primary", onClick: c, children: n })
|
|
35724
35771
|
] }), UN = ({
|
|
35725
35772
|
title: a,
|
|
35726
35773
|
value: r,
|
|
@@ -35799,7 +35846,7 @@ const e5 = FD, b = ({
|
|
|
35799
35846
|
className: r = "",
|
|
35800
35847
|
...l
|
|
35801
35848
|
}) => {
|
|
35802
|
-
const { t: n } =
|
|
35849
|
+
const { t: n } = _(), [c, s] = I({
|
|
35803
35850
|
email: "",
|
|
35804
35851
|
password: "",
|
|
35805
35852
|
rememberMe: !1
|
|
@@ -35824,7 +35871,7 @@ const e5 = FD, b = ({
|
|
|
35824
35871
|
/* @__PURE__ */ t.jsx("h2", { className: "text-2xl font-bold mb-6 text-center", children: n("form.login") }),
|
|
35825
35872
|
/* @__PURE__ */ t.jsxs("div", { className: "space-y-4", children: [
|
|
35826
35873
|
/* @__PURE__ */ t.jsx(
|
|
35827
|
-
|
|
35874
|
+
l0,
|
|
35828
35875
|
{
|
|
35829
35876
|
label: n("form.email"),
|
|
35830
35877
|
type: "email",
|
|
@@ -35836,7 +35883,7 @@ const e5 = FD, b = ({
|
|
|
35836
35883
|
}
|
|
35837
35884
|
),
|
|
35838
35885
|
/* @__PURE__ */ t.jsx(
|
|
35839
|
-
|
|
35886
|
+
l0,
|
|
35840
35887
|
{
|
|
35841
35888
|
label: n("form.password"),
|
|
35842
35889
|
type: "password",
|
|
@@ -35855,7 +35902,7 @@ const e5 = FD, b = ({
|
|
|
35855
35902
|
onChange: (w) => d("rememberMe", w.target.checked)
|
|
35856
35903
|
}
|
|
35857
35904
|
),
|
|
35858
|
-
/* @__PURE__ */ t.jsx(
|
|
35905
|
+
/* @__PURE__ */ t.jsx(z, { type: "submit", variant: "primary", className: "w-full", children: n("form.login") }),
|
|
35859
35906
|
/* @__PURE__ */ t.jsx("div", { className: "text-center", children: /* @__PURE__ */ t.jsx("a", { href: "#", className: "text-sm text-blue-600 hover:underline", children: n("form.forgotPassword") }) })
|
|
35860
35907
|
] })
|
|
35861
35908
|
]
|
|
@@ -35866,7 +35913,7 @@ const e5 = FD, b = ({
|
|
|
35866
35913
|
className: r = "",
|
|
35867
35914
|
...l
|
|
35868
35915
|
}) => {
|
|
35869
|
-
const { t: n } =
|
|
35916
|
+
const { t: n } = _(), [c, s] = I({
|
|
35870
35917
|
currentPassword: "",
|
|
35871
35918
|
newPassword: "",
|
|
35872
35919
|
confirmPassword: ""
|
|
@@ -35896,7 +35943,7 @@ const e5 = FD, b = ({
|
|
|
35896
35943
|
d && /* @__PURE__ */ t.jsx(PD, { variant: "success", className: "mb-4", children: "Password changed successfully!" }),
|
|
35897
35944
|
/* @__PURE__ */ t.jsxs("div", { className: "space-y-4", children: [
|
|
35898
35945
|
/* @__PURE__ */ t.jsx(
|
|
35899
|
-
|
|
35946
|
+
l0,
|
|
35900
35947
|
{
|
|
35901
35948
|
label: n("form.currentPassword"),
|
|
35902
35949
|
type: "password",
|
|
@@ -35908,7 +35955,7 @@ const e5 = FD, b = ({
|
|
|
35908
35955
|
}
|
|
35909
35956
|
),
|
|
35910
35957
|
/* @__PURE__ */ t.jsx(
|
|
35911
|
-
|
|
35958
|
+
l0,
|
|
35912
35959
|
{
|
|
35913
35960
|
label: n("form.newPassword"),
|
|
35914
35961
|
type: "password",
|
|
@@ -35921,7 +35968,7 @@ const e5 = FD, b = ({
|
|
|
35921
35968
|
}
|
|
35922
35969
|
),
|
|
35923
35970
|
/* @__PURE__ */ t.jsx(
|
|
35924
|
-
|
|
35971
|
+
l0,
|
|
35925
35972
|
{
|
|
35926
35973
|
label: n("form.confirmPassword"),
|
|
35927
35974
|
type: "password",
|
|
@@ -35933,8 +35980,8 @@ const e5 = FD, b = ({
|
|
|
35933
35980
|
}
|
|
35934
35981
|
),
|
|
35935
35982
|
/* @__PURE__ */ t.jsxs("div", { className: "flex space-x-4", children: [
|
|
35936
|
-
/* @__PURE__ */ t.jsx(
|
|
35937
|
-
/* @__PURE__ */ t.jsx(
|
|
35983
|
+
/* @__PURE__ */ t.jsx(z, { type: "submit", variant: "primary", className: "flex-1", children: n("form.changePassword") }),
|
|
35984
|
+
/* @__PURE__ */ t.jsx(z, { type: "button", variant: "outline", className: "flex-1", children: n("common.cancel") })
|
|
35938
35985
|
] })
|
|
35939
35986
|
] })
|
|
35940
35987
|
]
|
|
@@ -35949,10 +35996,10 @@ const e5 = FD, b = ({
|
|
|
35949
35996
|
className: c = "",
|
|
35950
35997
|
...s
|
|
35951
35998
|
}) => {
|
|
35952
|
-
const { t: i } =
|
|
35999
|
+
const { t: i } = _(), [u, d] = I(""), f = r5(null), w = () => {
|
|
35953
36000
|
f.current?.scrollIntoView({ behavior: "smooth" });
|
|
35954
36001
|
};
|
|
35955
|
-
|
|
36002
|
+
t0(() => {
|
|
35956
36003
|
w();
|
|
35957
36004
|
}, [r]);
|
|
35958
36005
|
const h = (v) => {
|
|
@@ -35998,7 +36045,7 @@ const e5 = FD, b = ({
|
|
|
35998
36045
|
] }),
|
|
35999
36046
|
/* @__PURE__ */ t.jsx("form", { onSubmit: h, className: "px-4 py-3 border-t border-gray-200", children: /* @__PURE__ */ t.jsxs("div", { className: "flex space-x-2", children: [
|
|
36000
36047
|
/* @__PURE__ */ t.jsx(
|
|
36001
|
-
|
|
36048
|
+
l0,
|
|
36002
36049
|
{
|
|
36003
36050
|
value: u,
|
|
36004
36051
|
onChange: (v) => d(v.target.value),
|
|
@@ -36008,7 +36055,7 @@ const e5 = FD, b = ({
|
|
|
36008
36055
|
}
|
|
36009
36056
|
),
|
|
36010
36057
|
/* @__PURE__ */ t.jsx(
|
|
36011
|
-
|
|
36058
|
+
z,
|
|
36012
36059
|
{
|
|
36013
36060
|
type: "submit",
|
|
36014
36061
|
variant: "primary",
|
|
@@ -36198,7 +36245,7 @@ const e5 = FD, b = ({
|
|
|
36198
36245
|
}
|
|
36199
36246
|
}
|
|
36200
36247
|
};
|
|
36201
|
-
|
|
36248
|
+
E0.use(V5).init({
|
|
36202
36249
|
resources: JD,
|
|
36203
36250
|
lng: "es-AR",
|
|
36204
36251
|
fallbackLng: "es-AR",
|
|
@@ -36206,16 +36253,16 @@ b0.use(V5).init({
|
|
|
36206
36253
|
escapeValue: !1
|
|
36207
36254
|
}
|
|
36208
36255
|
});
|
|
36209
|
-
const KN = ({ children: a, language: r = "es-AR" }) => (
|
|
36256
|
+
const KN = ({ children: a, language: r = "es-AR" }) => (E0.language !== r && E0.changeLanguage(r), /* @__PURE__ */ t.jsx(S5, { i18n: E0, children: a }));
|
|
36210
36257
|
export {
|
|
36211
36258
|
jN as Accordion,
|
|
36212
36259
|
PD as Alert,
|
|
36213
36260
|
DN as AreaChart,
|
|
36214
|
-
|
|
36261
|
+
k0 as Avatar,
|
|
36215
36262
|
U5 as Badge,
|
|
36216
36263
|
SN as BarChart,
|
|
36217
36264
|
kN as Breadcrumbs,
|
|
36218
|
-
|
|
36265
|
+
z as Button,
|
|
36219
36266
|
HN as Card,
|
|
36220
36267
|
GD as CardError,
|
|
36221
36268
|
zD as CardSkeleton,
|
|
@@ -36242,12 +36289,12 @@ export {
|
|
|
36242
36289
|
EN as HeaderPoint,
|
|
36243
36290
|
KN as I18nProvider,
|
|
36244
36291
|
b as Icon,
|
|
36245
|
-
|
|
36292
|
+
l0 as Input,
|
|
36246
36293
|
pN as Layout,
|
|
36247
36294
|
VN as LineChart,
|
|
36248
36295
|
qN as List,
|
|
36249
36296
|
_N as LoginForm,
|
|
36250
|
-
|
|
36297
|
+
a0 as LogoHexa,
|
|
36251
36298
|
yN as Modal,
|
|
36252
36299
|
CN as NavPoint,
|
|
36253
36300
|
BN as Pagination,
|