anima-ds-nucleus 1.0.5 → 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 +44 -44
- package/dist/anima-ds.esm.js +422 -376
- package/package.json +1 -1
- package/src/components/Layout/Sidebar/SidebarCore.jsx +60 -19
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,
|
|
@@ -32454,7 +32454,7 @@ const e5 = FD, b = ({
|
|
|
32454
32454
|
"aria-label": "Perfil de usuario",
|
|
32455
32455
|
children: [
|
|
32456
32456
|
/* @__PURE__ */ t.jsx(
|
|
32457
|
-
|
|
32457
|
+
k0,
|
|
32458
32458
|
{
|
|
32459
32459
|
src: l,
|
|
32460
32460
|
name: r,
|
|
@@ -32568,7 +32568,7 @@ const e5 = FD, b = ({
|
|
|
32568
32568
|
className: "hover:bg-gray-50 rounded-lg transition-colors",
|
|
32569
32569
|
"aria-label": "Perfil de usuario",
|
|
32570
32570
|
children: /* @__PURE__ */ t.jsx(
|
|
32571
|
-
|
|
32571
|
+
k0,
|
|
32572
32572
|
{
|
|
32573
32573
|
src: l,
|
|
32574
32574
|
name: r || "",
|
|
@@ -32648,19 +32648,19 @@ const e5 = FD, b = ({
|
|
|
32648
32648
|
buttonBackgroundColor: g = "#000000",
|
|
32649
32649
|
buttonBorderColor: v = "#FFFFFF",
|
|
32650
32650
|
buttonTextColor: A = "#FFFFFF",
|
|
32651
|
-
className:
|
|
32651
|
+
className: L = "",
|
|
32652
32652
|
...M
|
|
32653
32653
|
}) => {
|
|
32654
|
-
const
|
|
32654
|
+
const R = l || (/* @__PURE__ */ new Date()).toLocaleDateString("es-AR", {
|
|
32655
32655
|
weekday: "long",
|
|
32656
32656
|
year: "numeric",
|
|
32657
32657
|
month: "long",
|
|
32658
32658
|
day: "numeric"
|
|
32659
|
-
}), E =
|
|
32659
|
+
}), E = R.charAt(0).toUpperCase() + R.slice(1);
|
|
32660
32660
|
return /* @__PURE__ */ t.jsx(
|
|
32661
32661
|
"header",
|
|
32662
32662
|
{
|
|
32663
|
-
className: `${
|
|
32663
|
+
className: `${L}`,
|
|
32664
32664
|
style: {
|
|
32665
32665
|
backgroundColor: s || "#FFFFFF",
|
|
32666
32666
|
borderBottom: i ? `1px solid ${i}` : "1px solid #E5E7EB"
|
|
@@ -32676,7 +32676,7 @@ const e5 = FD, b = ({
|
|
|
32676
32676
|
className: "w-8 h-8"
|
|
32677
32677
|
}
|
|
32678
32678
|
) : /* @__PURE__ */ t.jsx(
|
|
32679
|
-
|
|
32679
|
+
a0,
|
|
32680
32680
|
{
|
|
32681
32681
|
width: 36,
|
|
32682
32682
|
height: 40
|
|
@@ -32752,7 +32752,7 @@ const e5 = FD, b = ({
|
|
|
32752
32752
|
};
|
|
32753
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: [
|
|
32754
32754
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
32755
|
-
/* @__PURE__ */ t.jsx(
|
|
32755
|
+
/* @__PURE__ */ t.jsx(a0, { width: 32, height: 36 }),
|
|
32756
32756
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center", style: { gap: "4px" }, children: [
|
|
32757
32757
|
/* @__PURE__ */ t.jsx(Z, { variant: "h6", className: "font-normal", style: { color: "#2D5C63", margin: 0 }, children: a }),
|
|
32758
32758
|
/* @__PURE__ */ t.jsx(Z, { variant: "h6", className: "font-normal", style: { color: "#2D5C63", margin: 0 }, children: r })
|
|
@@ -32827,11 +32827,15 @@ const e5 = FD, b = ({
|
|
|
32827
32827
|
// Texto del footer: puede ser string "v1.0 | Powered by Nucleus" o objeto { version: "v1.0", poweredBy: "Powered by", brand: "Nucleus" }
|
|
32828
32828
|
footerCollapsedContent: d,
|
|
32829
32829
|
// Contenido a mostrar en el footer cuando está colapsado (puede ser string, ReactNode, o objeto con icon y text)
|
|
32830
|
-
|
|
32831
|
-
|
|
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
|
|
32832
32836
|
}) => {
|
|
32833
|
-
const [
|
|
32834
|
-
|
|
32837
|
+
const [v, A] = I(!1), L = () => {
|
|
32838
|
+
A(!v);
|
|
32835
32839
|
};
|
|
32836
32840
|
return (() => {
|
|
32837
32841
|
if (d)
|
|
@@ -32847,7 +32851,7 @@ const e5 = FD, b = ({
|
|
|
32847
32851
|
/* @__PURE__ */ t.jsx("style", { children: `
|
|
32848
32852
|
.sidebar-core-mobile {
|
|
32849
32853
|
width: 100%;
|
|
32850
|
-
transform: ${
|
|
32854
|
+
transform: ${v ? "translateX(0)" : "translateX(-100%)"};
|
|
32851
32855
|
position: fixed;
|
|
32852
32856
|
left: 0;
|
|
32853
32857
|
top: 0;
|
|
@@ -32856,10 +32860,10 @@ const e5 = FD, b = ({
|
|
|
32856
32860
|
transition: transform 0.3s ease-in-out;
|
|
32857
32861
|
}
|
|
32858
32862
|
` }),
|
|
32859
|
-
!
|
|
32863
|
+
!v && /* @__PURE__ */ t.jsx(
|
|
32860
32864
|
"button",
|
|
32861
32865
|
{
|
|
32862
|
-
onClick:
|
|
32866
|
+
onClick: L,
|
|
32863
32867
|
className: `fixed top-4 left-4 z-50 p-2 bg-white border border-gray-200 rounded-lg shadow-md \r
|
|
32864
32868
|
hover:bg-gray-50 transition-colors`,
|
|
32865
32869
|
"aria-label": "Toggle menu",
|
|
@@ -32874,33 +32878,63 @@ const e5 = FD, b = ({
|
|
|
32874
32878
|
)
|
|
32875
32879
|
}
|
|
32876
32880
|
),
|
|
32877
|
-
|
|
32881
|
+
v && /* @__PURE__ */ t.jsx(
|
|
32878
32882
|
"div",
|
|
32879
32883
|
{
|
|
32880
32884
|
className: "fixed inset-0 bg-black bg-opacity-50 z-40",
|
|
32881
|
-
onClick:
|
|
32885
|
+
onClick: L
|
|
32882
32886
|
}
|
|
32883
32887
|
),
|
|
32884
32888
|
/* @__PURE__ */ t.jsx(
|
|
32885
32889
|
"aside",
|
|
32886
32890
|
{
|
|
32887
|
-
className: `bg-white border-r border-gray-200 sidebar-core-mobile ${
|
|
32888
|
-
...
|
|
32891
|
+
className: `bg-white border-r border-gray-200 sidebar-core-mobile ${h}`,
|
|
32892
|
+
...g,
|
|
32889
32893
|
children: /* @__PURE__ */ t.jsxs("nav", { className: "h-full flex flex-col", children: [
|
|
32890
32894
|
/* @__PURE__ */ t.jsxs("div", { className: "bg-white px-4 py-4 flex items-center justify-between border-b border-gray-200", children: [
|
|
32891
|
-
/* @__PURE__ */ t.
|
|
32892
|
-
|
|
32895
|
+
/* @__PURE__ */ t.jsxs(
|
|
32896
|
+
"div",
|
|
32893
32897
|
{
|
|
32894
|
-
|
|
32895
|
-
style:
|
|
32896
|
-
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
|
+
]
|
|
32897
32931
|
}
|
|
32898
32932
|
),
|
|
32899
32933
|
/* @__PURE__ */ t.jsx(
|
|
32900
32934
|
"button",
|
|
32901
32935
|
{
|
|
32902
|
-
onClick:
|
|
32903
|
-
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",
|
|
32904
32938
|
"aria-label": "Cerrar menú",
|
|
32905
32939
|
children: /* @__PURE__ */ t.jsx(
|
|
32906
32940
|
b,
|
|
@@ -32919,7 +32953,7 @@ const e5 = FD, b = ({
|
|
|
32919
32953
|
"button",
|
|
32920
32954
|
{
|
|
32921
32955
|
onClick: () => {
|
|
32922
|
-
l && l("inicio"),
|
|
32956
|
+
l && l("inicio"), L();
|
|
32923
32957
|
},
|
|
32924
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"}`,
|
|
32925
32959
|
style: r === "inicio" ? { backgroundColor: "#2D5C63" } : {},
|
|
@@ -32947,10 +32981,11 @@ const e5 = FD, b = ({
|
|
|
32947
32981
|
"span",
|
|
32948
32982
|
{
|
|
32949
32983
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
32950
|
-
|
|
32984
|
+
rounded-full flex items-center justify-center\r
|
|
32951
32985
|
text-body-sm font-medium`,
|
|
32952
32986
|
style: {
|
|
32953
|
-
backgroundColor: "#6D3856",
|
|
32987
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
32988
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
32954
32989
|
borderRadius: "12px"
|
|
32955
32990
|
},
|
|
32956
32991
|
children: i.inicio > 9 ? "9+" : i.inicio
|
|
@@ -32959,7 +32994,7 @@ const e5 = FD, b = ({
|
|
|
32959
32994
|
]
|
|
32960
32995
|
}
|
|
32961
32996
|
) }),
|
|
32962
|
-
a.map((R,
|
|
32997
|
+
a.map((R, E) => /* @__PURE__ */ t.jsxs("div", { className: "mb-6", children: [
|
|
32963
32998
|
/* @__PURE__ */ t.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
32964
32999
|
Z,
|
|
32965
33000
|
{
|
|
@@ -32968,51 +33003,52 @@ const e5 = FD, b = ({
|
|
|
32968
33003
|
children: R.title
|
|
32969
33004
|
}
|
|
32970
33005
|
) }),
|
|
32971
|
-
/* @__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(
|
|
32972
33007
|
"button",
|
|
32973
33008
|
{
|
|
32974
33009
|
onClick: () => {
|
|
32975
|
-
l && l(
|
|
33010
|
+
l && l(k.id), L();
|
|
32976
33011
|
},
|
|
32977
|
-
className: `w-full flex items-center cursor-pointer px-4 justify-between py-2.5 rounded-lg transition-all duration-200 ${r ===
|
|
32978
|
-
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" } : {},
|
|
32979
33014
|
children: [
|
|
32980
33015
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center", children: [
|
|
32981
33016
|
/* @__PURE__ */ t.jsx(
|
|
32982
33017
|
b,
|
|
32983
33018
|
{
|
|
32984
|
-
name:
|
|
33019
|
+
name: k.icon,
|
|
32985
33020
|
variant: "24-outline",
|
|
32986
33021
|
size: 20,
|
|
32987
|
-
className: `mr-3 ${r ===
|
|
33022
|
+
className: `mr-3 ${r === k.id ? "color-white" : "color-gray-700"}`
|
|
32988
33023
|
}
|
|
32989
33024
|
),
|
|
32990
33025
|
/* @__PURE__ */ t.jsx(
|
|
32991
33026
|
Z,
|
|
32992
33027
|
{
|
|
32993
33028
|
variant: "body-md",
|
|
32994
|
-
className: `font-medium ${r ===
|
|
32995
|
-
children:
|
|
33029
|
+
className: `font-medium ${r === k.id ? "color-white" : "color-gray-700"}`,
|
|
33030
|
+
children: k.label
|
|
32996
33031
|
}
|
|
32997
33032
|
)
|
|
32998
33033
|
] }),
|
|
32999
|
-
(i[
|
|
33034
|
+
(i[k.id] !== void 0 && i[k.id] > 0 || k.id === "empleados" && 2) && /* @__PURE__ */ t.jsx(
|
|
33000
33035
|
"span",
|
|
33001
33036
|
{
|
|
33002
33037
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33003
|
-
|
|
33038
|
+
rounded-full flex items-center justify-center\r
|
|
33004
33039
|
text-body-sm font-medium`,
|
|
33005
33040
|
style: {
|
|
33006
|
-
backgroundColor: "#6D3856",
|
|
33041
|
+
backgroundColor: r === k.id ? "#ffffff" : "#6D3856",
|
|
33042
|
+
color: r === k.id ? "#6D3856" : "#ffffff",
|
|
33007
33043
|
borderRadius: "12px"
|
|
33008
33044
|
},
|
|
33009
|
-
children:
|
|
33045
|
+
children: k.id === "empleados" ? 2 : i[k.id] > 9 ? "9+" : i[k.id]
|
|
33010
33046
|
}
|
|
33011
33047
|
)
|
|
33012
33048
|
]
|
|
33013
33049
|
}
|
|
33014
|
-
) },
|
|
33015
|
-
] },
|
|
33050
|
+
) }, k.id)) })
|
|
33051
|
+
] }, E))
|
|
33016
33052
|
] }),
|
|
33017
33053
|
u && /* @__PURE__ */ t.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33018
33054
|
"div",
|
|
@@ -33031,17 +33067,17 @@ const e5 = FD, b = ({
|
|
|
33031
33067
|
children: (() => {
|
|
33032
33068
|
const R = u.split("|");
|
|
33033
33069
|
if (R.length === 2) {
|
|
33034
|
-
const
|
|
33035
|
-
if (
|
|
33036
|
-
const
|
|
33037
|
-
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)
|
|
33038
33074
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
33039
|
-
|
|
33075
|
+
E,
|
|
33040
33076
|
" | Powered by ",
|
|
33041
|
-
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children:
|
|
33077
|
+
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children: W[1] })
|
|
33042
33078
|
] });
|
|
33043
33079
|
}
|
|
33044
|
-
return `${
|
|
33080
|
+
return `${E} | ${k}`;
|
|
33045
33081
|
}
|
|
33046
33082
|
return u;
|
|
33047
33083
|
})()
|
|
@@ -33083,21 +33119,25 @@ const e5 = FD, b = ({
|
|
|
33083
33119
|
// Texto del footer: puede ser string "v1.0 | Powered by Nucleus" o objeto { version: "v1.0", poweredBy: "Powered by", brand: "Nucleus" }
|
|
33084
33120
|
footerCollapsedContent: g,
|
|
33085
33121
|
// Contenido a mostrar en el footer cuando está colapsado (puede ser string, ReactNode, o objeto con icon y text)
|
|
33086
|
-
|
|
33087
|
-
|
|
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
|
|
33088
33128
|
}) => {
|
|
33089
|
-
const [R,
|
|
33090
|
-
|
|
33091
|
-
const
|
|
33092
|
-
|
|
33129
|
+
const [R, E] = I(n), [k, W] = I(!1);
|
|
33130
|
+
t0(() => {
|
|
33131
|
+
const V = () => {
|
|
33132
|
+
W(window.innerWidth <= 768);
|
|
33093
33133
|
};
|
|
33094
|
-
return
|
|
33095
|
-
window.removeEventListener("resize",
|
|
33134
|
+
return V(), window.addEventListener("resize", V), () => {
|
|
33135
|
+
window.removeEventListener("resize", V);
|
|
33096
33136
|
};
|
|
33097
33137
|
}, []);
|
|
33098
|
-
const
|
|
33099
|
-
|
|
33100
|
-
},
|
|
33138
|
+
const Y = () => {
|
|
33139
|
+
E(!R);
|
|
33140
|
+
}, S = (() => {
|
|
33101
33141
|
if (g)
|
|
33102
33142
|
return g;
|
|
33103
33143
|
if (h && !g) {
|
|
@@ -33108,7 +33148,7 @@ const e5 = FD, b = ({
|
|
|
33108
33148
|
}
|
|
33109
33149
|
return null;
|
|
33110
33150
|
})();
|
|
33111
|
-
return
|
|
33151
|
+
return k ? /* @__PURE__ */ t.jsx(
|
|
33112
33152
|
TD,
|
|
33113
33153
|
{
|
|
33114
33154
|
sections: a,
|
|
@@ -33120,14 +33160,16 @@ const e5 = FD, b = ({
|
|
|
33120
33160
|
itemBadges: w,
|
|
33121
33161
|
footerText: h,
|
|
33122
33162
|
footerCollapsedContent: g,
|
|
33123
|
-
|
|
33124
|
-
|
|
33163
|
+
coreContainerStyle: v,
|
|
33164
|
+
coreTextStyle: A,
|
|
33165
|
+
className: L,
|
|
33166
|
+
...M
|
|
33125
33167
|
}
|
|
33126
33168
|
) : /* @__PURE__ */ t.jsx(
|
|
33127
33169
|
"aside",
|
|
33128
33170
|
{
|
|
33129
|
-
className: `bg-white border-r border-gray-200 transition-all duration-300 ease-in-out h-full ${R ? "w-20" : "w-64"} ${
|
|
33130
|
-
...
|
|
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,
|
|
33131
33173
|
children: /* @__PURE__ */ t.jsxs("nav", { className: "h-full flex flex-col", style: { overflow: "hidden" }, children: [
|
|
33132
33174
|
!R && /* @__PURE__ */ t.jsx("div", { className: "p-4 border-b border-gray-200 flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33133
33175
|
"button",
|
|
@@ -33143,7 +33185,7 @@ const e5 = FD, b = ({
|
|
|
33143
33185
|
alt: c,
|
|
33144
33186
|
className: "w-8 h-8 rounded"
|
|
33145
33187
|
}
|
|
33146
|
-
) : /* @__PURE__ */ t.jsx(
|
|
33188
|
+
) : /* @__PURE__ */ t.jsx(a0, { width: 36, height: 40 }),
|
|
33147
33189
|
/* @__PURE__ */ t.jsx(
|
|
33148
33190
|
Z,
|
|
33149
33191
|
{
|
|
@@ -33158,7 +33200,7 @@ const e5 = FD, b = ({
|
|
|
33158
33200
|
!R && /* @__PURE__ */ t.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-end flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33159
33201
|
"button",
|
|
33160
33202
|
{
|
|
33161
|
-
onClick:
|
|
33203
|
+
onClick: Y,
|
|
33162
33204
|
className: "p-1.5 hover:bg-gray-100 rounded-lg transition-colors",
|
|
33163
33205
|
"aria-label": "Colapsar sidebar",
|
|
33164
33206
|
style: { marginRight: "10px" },
|
|
@@ -33180,11 +33222,11 @@ const e5 = FD, b = ({
|
|
|
33180
33222
|
alt: c,
|
|
33181
33223
|
className: "w-8 h-8 rounded"
|
|
33182
33224
|
}
|
|
33183
|
-
) : /* @__PURE__ */ t.jsx(
|
|
33225
|
+
) : /* @__PURE__ */ t.jsx(a0, { width: 36, height: 40 }) }),
|
|
33184
33226
|
R && /* @__PURE__ */ t.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-center flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33185
33227
|
"button",
|
|
33186
33228
|
{
|
|
33187
|
-
onClick:
|
|
33229
|
+
onClick: Y,
|
|
33188
33230
|
className: "p-1.5 hover:bg-gray-100 rounded-lg transition-colors",
|
|
33189
33231
|
"aria-label": "Expandir sidebar",
|
|
33190
33232
|
children: /* @__PURE__ */ t.jsx(
|
|
@@ -33228,10 +33270,11 @@ const e5 = FD, b = ({
|
|
|
33228
33270
|
"span",
|
|
33229
33271
|
{
|
|
33230
33272
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33231
|
-
|
|
33273
|
+
rounded-full flex items-center justify-center\r
|
|
33232
33274
|
text-body-sm font-medium absolute`,
|
|
33233
33275
|
style: {
|
|
33234
|
-
backgroundColor: "#6D3856",
|
|
33276
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
33277
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
33235
33278
|
borderRadius: "12px",
|
|
33236
33279
|
top: "-4px",
|
|
33237
33280
|
right: "-4px",
|
|
@@ -33245,10 +33288,11 @@ const e5 = FD, b = ({
|
|
|
33245
33288
|
"span",
|
|
33246
33289
|
{
|
|
33247
33290
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33248
|
-
|
|
33291
|
+
rounded-full flex items-center justify-center\r
|
|
33249
33292
|
text-body-sm font-medium`,
|
|
33250
33293
|
style: {
|
|
33251
|
-
backgroundColor: "#6D3856",
|
|
33294
|
+
backgroundColor: r === "inicio" ? "#ffffff" : "#6D3856",
|
|
33295
|
+
color: r === "inicio" ? "#6D3856" : "#ffffff",
|
|
33252
33296
|
borderRadius: "12px"
|
|
33253
33297
|
},
|
|
33254
33298
|
children: w.inicio > 9 ? "9+" : w.inicio
|
|
@@ -33257,76 +33301,78 @@ const e5 = FD, b = ({
|
|
|
33257
33301
|
]
|
|
33258
33302
|
}
|
|
33259
33303
|
) }),
|
|
33260
|
-
a.map((
|
|
33304
|
+
a.map((V, T) => /* @__PURE__ */ t.jsxs("div", { className: "mb-6", children: [
|
|
33261
33305
|
R && /* @__PURE__ */ t.jsx("div", { className: "px-4 mb-4", children: /* @__PURE__ */ t.jsx("div", { className: "border-t", style: { borderColor: "#2D5C63" } }) }),
|
|
33262
33306
|
!R && /* @__PURE__ */ t.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
33263
33307
|
Z,
|
|
33264
33308
|
{
|
|
33265
33309
|
variant: "body-sm",
|
|
33266
33310
|
className: "color-gray-500 uppercase font-medium tracking-wider",
|
|
33267
|
-
children:
|
|
33311
|
+
children: V.title
|
|
33268
33312
|
}
|
|
33269
33313
|
) }),
|
|
33270
|
-
/* @__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(
|
|
33271
33315
|
"button",
|
|
33272
33316
|
{
|
|
33273
|
-
onClick: () => l && l(
|
|
33274
|
-
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 ===
|
|
33275
|
-
style: r ===
|
|
33276
|
-
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 : "",
|
|
33277
33321
|
children: [
|
|
33278
|
-
/* @__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: [
|
|
33279
33323
|
/* @__PURE__ */ t.jsx(
|
|
33280
33324
|
b,
|
|
33281
33325
|
{
|
|
33282
|
-
name:
|
|
33326
|
+
name: C.icon,
|
|
33283
33327
|
variant: "24-outline",
|
|
33284
33328
|
size: 20,
|
|
33285
|
-
className: `${R ? "" : "mr-3"} ${r ===
|
|
33329
|
+
className: `${R ? "" : "mr-3"} ${r === C.id ? "color-white" : "color-gray-700"}`
|
|
33286
33330
|
}
|
|
33287
33331
|
),
|
|
33288
33332
|
!R && /* @__PURE__ */ t.jsx(
|
|
33289
33333
|
Z,
|
|
33290
33334
|
{
|
|
33291
33335
|
variant: "body-md",
|
|
33292
|
-
className: `font-medium ${r ===
|
|
33293
|
-
children:
|
|
33336
|
+
className: `font-medium ${r === C.id ? "color-white" : "color-gray-700"}`,
|
|
33337
|
+
children: C.label
|
|
33294
33338
|
}
|
|
33295
33339
|
),
|
|
33296
|
-
R && (w[
|
|
33340
|
+
R && (w[C.id] !== void 0 && w[C.id] > 0 || C.id === "empleados" && 2) && /* @__PURE__ */ t.jsx(
|
|
33297
33341
|
"span",
|
|
33298
33342
|
{
|
|
33299
33343
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33300
|
-
|
|
33344
|
+
rounded-full flex items-center justify-center\r
|
|
33301
33345
|
text-body-sm font-medium absolute`,
|
|
33302
33346
|
style: {
|
|
33303
|
-
backgroundColor: "#6D3856",
|
|
33347
|
+
backgroundColor: r === C.id ? "#ffffff" : "#6D3856",
|
|
33348
|
+
color: r === C.id ? "#6D3856" : "#ffffff",
|
|
33304
33349
|
borderRadius: "12px",
|
|
33305
33350
|
top: "-4px",
|
|
33306
33351
|
right: "-4px",
|
|
33307
33352
|
zIndex: 10
|
|
33308
33353
|
},
|
|
33309
|
-
children:
|
|
33354
|
+
children: C.id === "empleados" ? 2 : w[C.id] > 9 ? "9+" : w[C.id]
|
|
33310
33355
|
}
|
|
33311
33356
|
)
|
|
33312
33357
|
] }),
|
|
33313
|
-
!R && (w[
|
|
33358
|
+
!R && (w[C.id] !== void 0 && w[C.id] > 0 || C.id === "empleados" && 2) && /* @__PURE__ */ t.jsx(
|
|
33314
33359
|
"span",
|
|
33315
33360
|
{
|
|
33316
33361
|
className: `px-2 py-0.5 min-w-[20px] h-5 \r
|
|
33317
|
-
|
|
33362
|
+
rounded-full flex items-center justify-center\r
|
|
33318
33363
|
text-body-sm font-medium`,
|
|
33319
33364
|
style: {
|
|
33320
|
-
backgroundColor: "#6D3856",
|
|
33365
|
+
backgroundColor: r === C.id ? "#ffffff" : "#6D3856",
|
|
33366
|
+
color: r === C.id ? "#6D3856" : "#ffffff",
|
|
33321
33367
|
borderRadius: "12px"
|
|
33322
33368
|
},
|
|
33323
|
-
children:
|
|
33369
|
+
children: C.id === "empleados" ? 2 : w[C.id] > 9 ? "9+" : w[C.id]
|
|
33324
33370
|
}
|
|
33325
33371
|
)
|
|
33326
33372
|
]
|
|
33327
33373
|
}
|
|
33328
|
-
) },
|
|
33329
|
-
] },
|
|
33374
|
+
) }, C.id)) })
|
|
33375
|
+
] }, T))
|
|
33330
33376
|
] }) }),
|
|
33331
33377
|
h && !R && /* @__PURE__ */ t.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33332
33378
|
"div",
|
|
@@ -33343,19 +33389,19 @@ const e5 = FD, b = ({
|
|
|
33343
33389
|
style: { color: "#2D5C63" },
|
|
33344
33390
|
className: "text-center",
|
|
33345
33391
|
children: (() => {
|
|
33346
|
-
const
|
|
33347
|
-
if (
|
|
33348
|
-
const
|
|
33349
|
-
if (
|
|
33350
|
-
const
|
|
33351
|
-
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)
|
|
33352
33398
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
33353
|
-
|
|
33399
|
+
T,
|
|
33354
33400
|
" | Powered by ",
|
|
33355
|
-
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children:
|
|
33401
|
+
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children: i0[1] })
|
|
33356
33402
|
] });
|
|
33357
33403
|
}
|
|
33358
|
-
return `${
|
|
33404
|
+
return `${T} | ${C}`;
|
|
33359
33405
|
}
|
|
33360
33406
|
return h;
|
|
33361
33407
|
})()
|
|
@@ -33376,7 +33422,7 @@ const e5 = FD, b = ({
|
|
|
33376
33422
|
)
|
|
33377
33423
|
}
|
|
33378
33424
|
) }),
|
|
33379
|
-
|
|
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(
|
|
33380
33426
|
"div",
|
|
33381
33427
|
{
|
|
33382
33428
|
className: "bg-white border flex items-center justify-center",
|
|
@@ -33390,7 +33436,7 @@ const e5 = FD, b = ({
|
|
|
33390
33436
|
paddingBottom: "8px",
|
|
33391
33437
|
paddingLeft: "12px"
|
|
33392
33438
|
},
|
|
33393
|
-
children: typeof
|
|
33439
|
+
children: typeof S == "string" ? /* @__PURE__ */ t.jsx(
|
|
33394
33440
|
"span",
|
|
33395
33441
|
{
|
|
33396
33442
|
style: {
|
|
@@ -33404,30 +33450,30 @@ const e5 = FD, b = ({
|
|
|
33404
33450
|
textOverflow: "ellipsis",
|
|
33405
33451
|
maxWidth: "100%"
|
|
33406
33452
|
},
|
|
33407
|
-
children:
|
|
33453
|
+
children: S
|
|
33408
33454
|
}
|
|
33409
|
-
) : typeof
|
|
33410
|
-
|
|
33455
|
+
) : typeof S == "object" && S.icon ? /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-center", children: [
|
|
33456
|
+
S.icon && /* @__PURE__ */ t.jsx(
|
|
33411
33457
|
b,
|
|
33412
33458
|
{
|
|
33413
|
-
name:
|
|
33459
|
+
name: S.icon,
|
|
33414
33460
|
variant: "24-outline",
|
|
33415
33461
|
size: 14,
|
|
33416
33462
|
style: { color: "#2D5C63" }
|
|
33417
33463
|
}
|
|
33418
33464
|
),
|
|
33419
|
-
|
|
33465
|
+
S.text && /* @__PURE__ */ t.jsx(
|
|
33420
33466
|
"span",
|
|
33421
33467
|
{
|
|
33422
33468
|
style: {
|
|
33423
33469
|
color: "#2D5C63",
|
|
33424
33470
|
fontSize: "12px",
|
|
33425
|
-
marginLeft:
|
|
33471
|
+
marginLeft: S.icon ? "4px" : "0"
|
|
33426
33472
|
},
|
|
33427
|
-
children:
|
|
33473
|
+
children: S.text
|
|
33428
33474
|
}
|
|
33429
33475
|
)
|
|
33430
|
-
] }) :
|
|
33476
|
+
] }) : S
|
|
33431
33477
|
}
|
|
33432
33478
|
) })
|
|
33433
33479
|
] })
|
|
@@ -33467,7 +33513,7 @@ const e5 = FD, b = ({
|
|
|
33467
33513
|
className: h = "",
|
|
33468
33514
|
...g
|
|
33469
33515
|
}) => {
|
|
33470
|
-
const [v, A] = I(n),
|
|
33516
|
+
const [v, A] = I(n), L = () => {
|
|
33471
33517
|
A(!v);
|
|
33472
33518
|
};
|
|
33473
33519
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -33490,7 +33536,7 @@ const e5 = FD, b = ({
|
|
|
33490
33536
|
alt: c,
|
|
33491
33537
|
className: "w-8 h-8 rounded"
|
|
33492
33538
|
}
|
|
33493
|
-
) : /* @__PURE__ */ t.jsx(
|
|
33539
|
+
) : /* @__PURE__ */ t.jsx(a0, { width: 36, height: 40 }),
|
|
33494
33540
|
/* @__PURE__ */ t.jsx(
|
|
33495
33541
|
Z,
|
|
33496
33542
|
{
|
|
@@ -33505,7 +33551,7 @@ const e5 = FD, b = ({
|
|
|
33505
33551
|
!v && /* @__PURE__ */ t.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-end flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33506
33552
|
"button",
|
|
33507
33553
|
{
|
|
33508
|
-
onClick:
|
|
33554
|
+
onClick: L,
|
|
33509
33555
|
className: "p-1.5 hover:bg-gray-100 rounded-lg transition-colors",
|
|
33510
33556
|
"aria-label": "Colapsar sidebar",
|
|
33511
33557
|
style: { marginRight: "10px" },
|
|
@@ -33535,11 +33581,11 @@ const e5 = FD, b = ({
|
|
|
33535
33581
|
alt: c,
|
|
33536
33582
|
className: "w-8 h-8 rounded"
|
|
33537
33583
|
}
|
|
33538
|
-
) : /* @__PURE__ */ t.jsx(
|
|
33584
|
+
) : /* @__PURE__ */ t.jsx(a0, { width: 36, height: 40 }) }),
|
|
33539
33585
|
v && /* @__PURE__ */ t.jsx("div", { className: "px-4 pt-2 pb-2 flex justify-center flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33540
33586
|
"button",
|
|
33541
33587
|
{
|
|
33542
|
-
onClick:
|
|
33588
|
+
onClick: L,
|
|
33543
33589
|
className: "p-1.5 hover:bg-gray-100 rounded-lg transition-colors",
|
|
33544
33590
|
"aria-label": "Expandir sidebar",
|
|
33545
33591
|
children: /* @__PURE__ */ t.jsx(
|
|
@@ -33594,7 +33640,7 @@ const e5 = FD, b = ({
|
|
|
33594
33640
|
]
|
|
33595
33641
|
}
|
|
33596
33642
|
) }),
|
|
33597
|
-
a.map((M,
|
|
33643
|
+
a.map((M, R) => /* @__PURE__ */ t.jsxs("div", { className: "mb-6", children: [
|
|
33598
33644
|
v && /* @__PURE__ */ t.jsx("div", { className: "px-4 mb-4", children: /* @__PURE__ */ t.jsx("div", { className: "border-t", style: { borderColor: "#2D5C63" } }) }),
|
|
33599
33645
|
!v && /* @__PURE__ */ t.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
33600
33646
|
Z,
|
|
@@ -33647,7 +33693,7 @@ const e5 = FD, b = ({
|
|
|
33647
33693
|
]
|
|
33648
33694
|
}
|
|
33649
33695
|
) }, E.id)) })
|
|
33650
|
-
] },
|
|
33696
|
+
] }, R))
|
|
33651
33697
|
] }) }),
|
|
33652
33698
|
d && !v && /* @__PURE__ */ t.jsx("div", { className: "px-4 pb-4 flex-shrink-0", children: /* @__PURE__ */ t.jsx(
|
|
33653
33699
|
"div",
|
|
@@ -33666,17 +33712,17 @@ const e5 = FD, b = ({
|
|
|
33666
33712
|
children: (() => {
|
|
33667
33713
|
const M = d.split("|");
|
|
33668
33714
|
if (M.length === 2) {
|
|
33669
|
-
const
|
|
33715
|
+
const R = M[0].trim(), E = M[1].trim();
|
|
33670
33716
|
if (E.includes("Powered by")) {
|
|
33671
|
-
const
|
|
33672
|
-
if (
|
|
33717
|
+
const k = E.match(/Powered by (.+)/);
|
|
33718
|
+
if (k)
|
|
33673
33719
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
33674
|
-
|
|
33720
|
+
R,
|
|
33675
33721
|
" | Powered by ",
|
|
33676
|
-
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children:
|
|
33722
|
+
/* @__PURE__ */ t.jsx("span", { className: "font-bold", children: k[1] })
|
|
33677
33723
|
] });
|
|
33678
33724
|
}
|
|
33679
|
-
return `${
|
|
33725
|
+
return `${R} | ${E}`;
|
|
33680
33726
|
}
|
|
33681
33727
|
return d;
|
|
33682
33728
|
})()
|
|
@@ -33901,7 +33947,7 @@ const e5 = FD, b = ({
|
|
|
33901
33947
|
]
|
|
33902
33948
|
}
|
|
33903
33949
|
) }),
|
|
33904
|
-
a.map((A,
|
|
33950
|
+
a.map((A, L) => /* @__PURE__ */ t.jsxs("div", { className: "mb-6", children: [
|
|
33905
33951
|
/* @__PURE__ */ t.jsx("div", { className: "px-4 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
33906
33952
|
Z,
|
|
33907
33953
|
{
|
|
@@ -33954,7 +34000,7 @@ const e5 = FD, b = ({
|
|
|
33954
34000
|
]
|
|
33955
34001
|
}
|
|
33956
34002
|
) }, M.id)) })
|
|
33957
|
-
] },
|
|
34003
|
+
] }, L))
|
|
33958
34004
|
] })
|
|
33959
34005
|
] })
|
|
33960
34006
|
}
|
|
@@ -34026,7 +34072,7 @@ const e5 = FD, b = ({
|
|
|
34026
34072
|
className: u = "",
|
|
34027
34073
|
...d
|
|
34028
34074
|
}) => {
|
|
34029
|
-
if (
|
|
34075
|
+
if (t0(() => (a ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
34030
34076
|
document.body.style.overflow = "unset";
|
|
34031
34077
|
}), [a]), !a) return null;
|
|
34032
34078
|
const f = {
|
|
@@ -34187,7 +34233,7 @@ const e5 = FD, b = ({
|
|
|
34187
34233
|
};
|
|
34188
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: [
|
|
34189
34235
|
n && /* @__PURE__ */ t.jsx(
|
|
34190
|
-
|
|
34236
|
+
z,
|
|
34191
34237
|
{
|
|
34192
34238
|
variant: "outline",
|
|
34193
34239
|
size: "small",
|
|
@@ -34197,7 +34243,7 @@ const e5 = FD, b = ({
|
|
|
34197
34243
|
}
|
|
34198
34244
|
),
|
|
34199
34245
|
/* @__PURE__ */ t.jsx(
|
|
34200
|
-
|
|
34246
|
+
z,
|
|
34201
34247
|
{
|
|
34202
34248
|
variant: "outline",
|
|
34203
34249
|
size: "small",
|
|
@@ -34207,7 +34253,7 @@ const e5 = FD, b = ({
|
|
|
34207
34253
|
}
|
|
34208
34254
|
),
|
|
34209
34255
|
u().map((d) => /* @__PURE__ */ t.jsx(
|
|
34210
|
-
|
|
34256
|
+
z,
|
|
34211
34257
|
{
|
|
34212
34258
|
variant: a === d ? "primary" : "outline",
|
|
34213
34259
|
size: "small",
|
|
@@ -34217,7 +34263,7 @@ const e5 = FD, b = ({
|
|
|
34217
34263
|
d
|
|
34218
34264
|
)),
|
|
34219
34265
|
/* @__PURE__ */ t.jsx(
|
|
34220
|
-
|
|
34266
|
+
z,
|
|
34221
34267
|
{
|
|
34222
34268
|
variant: "outline",
|
|
34223
34269
|
size: "small",
|
|
@@ -34227,7 +34273,7 @@ const e5 = FD, b = ({
|
|
|
34227
34273
|
}
|
|
34228
34274
|
),
|
|
34229
34275
|
n && /* @__PURE__ */ t.jsx(
|
|
34230
|
-
|
|
34276
|
+
z,
|
|
34231
34277
|
{
|
|
34232
34278
|
variant: "outline",
|
|
34233
34279
|
size: "small",
|
|
@@ -34248,7 +34294,7 @@ const e5 = FD, b = ({
|
|
|
34248
34294
|
className: u = "",
|
|
34249
34295
|
...d
|
|
34250
34296
|
}) => {
|
|
34251
|
-
if (
|
|
34297
|
+
if (t0(() => (a ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
34252
34298
|
document.body.style.overflow = "unset";
|
|
34253
34299
|
}), [a]), !a) return null;
|
|
34254
34300
|
const f = {
|
|
@@ -34300,7 +34346,7 @@ const e5 = FD, b = ({
|
|
|
34300
34346
|
...c
|
|
34301
34347
|
}) => {
|
|
34302
34348
|
const [s, i] = I(!1), u = r5(null);
|
|
34303
|
-
|
|
34349
|
+
t0(() => {
|
|
34304
34350
|
const f = (w) => {
|
|
34305
34351
|
u.current && !u.current.contains(w.target) && i(!1);
|
|
34306
34352
|
};
|
|
@@ -35200,7 +35246,7 @@ const e5 = FD, b = ({
|
|
|
35200
35246
|
className: i = "",
|
|
35201
35247
|
...u
|
|
35202
35248
|
}) => {
|
|
35203
|
-
const { t: d } =
|
|
35249
|
+
const { t: d } = _(), f = a.map((v) => {
|
|
35204
35250
|
const A = v.translationKey ? d(v.translationKey) : v.label || v.headerName;
|
|
35205
35251
|
return {
|
|
35206
35252
|
...v,
|
|
@@ -35267,7 +35313,7 @@ const e5 = FD, b = ({
|
|
|
35267
35313
|
className: u = "",
|
|
35268
35314
|
...d
|
|
35269
35315
|
}) => {
|
|
35270
|
-
const f =
|
|
35316
|
+
const f = o0(() => ({
|
|
35271
35317
|
chart: {
|
|
35272
35318
|
type: "line",
|
|
35273
35319
|
height: n,
|
|
@@ -35323,7 +35369,7 @@ const e5 = FD, b = ({
|
|
|
35323
35369
|
return /* @__PURE__ */ t.jsxs("div", { className: u, children: [
|
|
35324
35370
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35325
35371
|
/* @__PURE__ */ t.jsx(
|
|
35326
|
-
|
|
35372
|
+
c0,
|
|
35327
35373
|
{
|
|
35328
35374
|
options: f,
|
|
35329
35375
|
series: a,
|
|
@@ -35345,7 +35391,7 @@ const e5 = FD, b = ({
|
|
|
35345
35391
|
className: d = "",
|
|
35346
35392
|
...f
|
|
35347
35393
|
}) => {
|
|
35348
|
-
const w =
|
|
35394
|
+
const w = o0(() => ({
|
|
35349
35395
|
chart: {
|
|
35350
35396
|
type: "bar",
|
|
35351
35397
|
height: n,
|
|
@@ -35404,7 +35450,7 @@ const e5 = FD, b = ({
|
|
|
35404
35450
|
return /* @__PURE__ */ t.jsxs("div", { className: d, children: [
|
|
35405
35451
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35406
35452
|
/* @__PURE__ */ t.jsx(
|
|
35407
|
-
|
|
35453
|
+
c0,
|
|
35408
35454
|
{
|
|
35409
35455
|
options: w,
|
|
35410
35456
|
series: a,
|
|
@@ -35425,7 +35471,7 @@ const e5 = FD, b = ({
|
|
|
35425
35471
|
className: u = "",
|
|
35426
35472
|
...d
|
|
35427
35473
|
}) => {
|
|
35428
|
-
const f =
|
|
35474
|
+
const f = o0(() => ({
|
|
35429
35475
|
chart: {
|
|
35430
35476
|
type: "area",
|
|
35431
35477
|
height: n,
|
|
@@ -35490,7 +35536,7 @@ const e5 = FD, b = ({
|
|
|
35490
35536
|
return /* @__PURE__ */ t.jsxs("div", { className: u, children: [
|
|
35491
35537
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35492
35538
|
/* @__PURE__ */ t.jsx(
|
|
35493
|
-
|
|
35539
|
+
c0,
|
|
35494
35540
|
{
|
|
35495
35541
|
options: f,
|
|
35496
35542
|
series: a,
|
|
@@ -35510,7 +35556,7 @@ const e5 = FD, b = ({
|
|
|
35510
35556
|
className: i = "",
|
|
35511
35557
|
...u
|
|
35512
35558
|
}) => {
|
|
35513
|
-
const d =
|
|
35559
|
+
const d = o0(() => ({
|
|
35514
35560
|
chart: {
|
|
35515
35561
|
type: "pie",
|
|
35516
35562
|
height: n,
|
|
@@ -35545,7 +35591,7 @@ const e5 = FD, b = ({
|
|
|
35545
35591
|
return /* @__PURE__ */ t.jsxs("div", { className: i, children: [
|
|
35546
35592
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35547
35593
|
/* @__PURE__ */ t.jsx(
|
|
35548
|
-
|
|
35594
|
+
c0,
|
|
35549
35595
|
{
|
|
35550
35596
|
options: d,
|
|
35551
35597
|
series: a,
|
|
@@ -35566,7 +35612,7 @@ const e5 = FD, b = ({
|
|
|
35566
35612
|
className: u = "",
|
|
35567
35613
|
...d
|
|
35568
35614
|
}) => {
|
|
35569
|
-
const f =
|
|
35615
|
+
const f = o0(() => ({
|
|
35570
35616
|
chart: {
|
|
35571
35617
|
type: "donut",
|
|
35572
35618
|
height: n,
|
|
@@ -35616,7 +35662,7 @@ const e5 = FD, b = ({
|
|
|
35616
35662
|
return /* @__PURE__ */ t.jsxs("div", { className: u, children: [
|
|
35617
35663
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35618
35664
|
/* @__PURE__ */ t.jsx(
|
|
35619
|
-
|
|
35665
|
+
c0,
|
|
35620
35666
|
{
|
|
35621
35667
|
options: f,
|
|
35622
35668
|
series: a,
|
|
@@ -35637,7 +35683,7 @@ const e5 = FD, b = ({
|
|
|
35637
35683
|
className: u = "",
|
|
35638
35684
|
...d
|
|
35639
35685
|
}) => {
|
|
35640
|
-
const f =
|
|
35686
|
+
const f = o0(() => ({
|
|
35641
35687
|
chart: {
|
|
35642
35688
|
type: "column",
|
|
35643
35689
|
height: n,
|
|
@@ -35699,7 +35745,7 @@ const e5 = FD, b = ({
|
|
|
35699
35745
|
return /* @__PURE__ */ t.jsxs("div", { className: u, children: [
|
|
35700
35746
|
l && /* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-4", children: l }),
|
|
35701
35747
|
/* @__PURE__ */ t.jsx(
|
|
35702
|
-
|
|
35748
|
+
c0,
|
|
35703
35749
|
{
|
|
35704
35750
|
options: f,
|
|
35705
35751
|
series: a,
|
|
@@ -35721,7 +35767,7 @@ const e5 = FD, b = ({
|
|
|
35721
35767
|
/* @__PURE__ */ t.jsx("div", { className: "mb-4", children: /* @__PURE__ */ t.jsx(b, { name: a, className: "h-16 w-16 text-gray-400" }) }),
|
|
35722
35768
|
/* @__PURE__ */ t.jsx("h3", { className: "text-lg font-semibold text-gray-900 mb-2", children: r }),
|
|
35723
35769
|
/* @__PURE__ */ t.jsx("p", { className: "text-sm text-gray-500 text-center max-w-sm mb-4", children: l }),
|
|
35724
|
-
n && c && /* @__PURE__ */ t.jsx(
|
|
35770
|
+
n && c && /* @__PURE__ */ t.jsx(z, { variant: "primary", onClick: c, children: n })
|
|
35725
35771
|
] }), UN = ({
|
|
35726
35772
|
title: a,
|
|
35727
35773
|
value: r,
|
|
@@ -35800,7 +35846,7 @@ const e5 = FD, b = ({
|
|
|
35800
35846
|
className: r = "",
|
|
35801
35847
|
...l
|
|
35802
35848
|
}) => {
|
|
35803
|
-
const { t: n } =
|
|
35849
|
+
const { t: n } = _(), [c, s] = I({
|
|
35804
35850
|
email: "",
|
|
35805
35851
|
password: "",
|
|
35806
35852
|
rememberMe: !1
|
|
@@ -35825,7 +35871,7 @@ const e5 = FD, b = ({
|
|
|
35825
35871
|
/* @__PURE__ */ t.jsx("h2", { className: "text-2xl font-bold mb-6 text-center", children: n("form.login") }),
|
|
35826
35872
|
/* @__PURE__ */ t.jsxs("div", { className: "space-y-4", children: [
|
|
35827
35873
|
/* @__PURE__ */ t.jsx(
|
|
35828
|
-
|
|
35874
|
+
l0,
|
|
35829
35875
|
{
|
|
35830
35876
|
label: n("form.email"),
|
|
35831
35877
|
type: "email",
|
|
@@ -35837,7 +35883,7 @@ const e5 = FD, b = ({
|
|
|
35837
35883
|
}
|
|
35838
35884
|
),
|
|
35839
35885
|
/* @__PURE__ */ t.jsx(
|
|
35840
|
-
|
|
35886
|
+
l0,
|
|
35841
35887
|
{
|
|
35842
35888
|
label: n("form.password"),
|
|
35843
35889
|
type: "password",
|
|
@@ -35856,7 +35902,7 @@ const e5 = FD, b = ({
|
|
|
35856
35902
|
onChange: (w) => d("rememberMe", w.target.checked)
|
|
35857
35903
|
}
|
|
35858
35904
|
),
|
|
35859
|
-
/* @__PURE__ */ t.jsx(
|
|
35905
|
+
/* @__PURE__ */ t.jsx(z, { type: "submit", variant: "primary", className: "w-full", children: n("form.login") }),
|
|
35860
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") }) })
|
|
35861
35907
|
] })
|
|
35862
35908
|
]
|
|
@@ -35867,7 +35913,7 @@ const e5 = FD, b = ({
|
|
|
35867
35913
|
className: r = "",
|
|
35868
35914
|
...l
|
|
35869
35915
|
}) => {
|
|
35870
|
-
const { t: n } =
|
|
35916
|
+
const { t: n } = _(), [c, s] = I({
|
|
35871
35917
|
currentPassword: "",
|
|
35872
35918
|
newPassword: "",
|
|
35873
35919
|
confirmPassword: ""
|
|
@@ -35897,7 +35943,7 @@ const e5 = FD, b = ({
|
|
|
35897
35943
|
d && /* @__PURE__ */ t.jsx(PD, { variant: "success", className: "mb-4", children: "Password changed successfully!" }),
|
|
35898
35944
|
/* @__PURE__ */ t.jsxs("div", { className: "space-y-4", children: [
|
|
35899
35945
|
/* @__PURE__ */ t.jsx(
|
|
35900
|
-
|
|
35946
|
+
l0,
|
|
35901
35947
|
{
|
|
35902
35948
|
label: n("form.currentPassword"),
|
|
35903
35949
|
type: "password",
|
|
@@ -35909,7 +35955,7 @@ const e5 = FD, b = ({
|
|
|
35909
35955
|
}
|
|
35910
35956
|
),
|
|
35911
35957
|
/* @__PURE__ */ t.jsx(
|
|
35912
|
-
|
|
35958
|
+
l0,
|
|
35913
35959
|
{
|
|
35914
35960
|
label: n("form.newPassword"),
|
|
35915
35961
|
type: "password",
|
|
@@ -35922,7 +35968,7 @@ const e5 = FD, b = ({
|
|
|
35922
35968
|
}
|
|
35923
35969
|
),
|
|
35924
35970
|
/* @__PURE__ */ t.jsx(
|
|
35925
|
-
|
|
35971
|
+
l0,
|
|
35926
35972
|
{
|
|
35927
35973
|
label: n("form.confirmPassword"),
|
|
35928
35974
|
type: "password",
|
|
@@ -35934,8 +35980,8 @@ const e5 = FD, b = ({
|
|
|
35934
35980
|
}
|
|
35935
35981
|
),
|
|
35936
35982
|
/* @__PURE__ */ t.jsxs("div", { className: "flex space-x-4", children: [
|
|
35937
|
-
/* @__PURE__ */ t.jsx(
|
|
35938
|
-
/* @__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") })
|
|
35939
35985
|
] })
|
|
35940
35986
|
] })
|
|
35941
35987
|
]
|
|
@@ -35950,10 +35996,10 @@ const e5 = FD, b = ({
|
|
|
35950
35996
|
className: c = "",
|
|
35951
35997
|
...s
|
|
35952
35998
|
}) => {
|
|
35953
|
-
const { t: i } =
|
|
35999
|
+
const { t: i } = _(), [u, d] = I(""), f = r5(null), w = () => {
|
|
35954
36000
|
f.current?.scrollIntoView({ behavior: "smooth" });
|
|
35955
36001
|
};
|
|
35956
|
-
|
|
36002
|
+
t0(() => {
|
|
35957
36003
|
w();
|
|
35958
36004
|
}, [r]);
|
|
35959
36005
|
const h = (v) => {
|
|
@@ -35999,7 +36045,7 @@ const e5 = FD, b = ({
|
|
|
35999
36045
|
] }),
|
|
36000
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: [
|
|
36001
36047
|
/* @__PURE__ */ t.jsx(
|
|
36002
|
-
|
|
36048
|
+
l0,
|
|
36003
36049
|
{
|
|
36004
36050
|
value: u,
|
|
36005
36051
|
onChange: (v) => d(v.target.value),
|
|
@@ -36009,7 +36055,7 @@ const e5 = FD, b = ({
|
|
|
36009
36055
|
}
|
|
36010
36056
|
),
|
|
36011
36057
|
/* @__PURE__ */ t.jsx(
|
|
36012
|
-
|
|
36058
|
+
z,
|
|
36013
36059
|
{
|
|
36014
36060
|
type: "submit",
|
|
36015
36061
|
variant: "primary",
|
|
@@ -36199,7 +36245,7 @@ const e5 = FD, b = ({
|
|
|
36199
36245
|
}
|
|
36200
36246
|
}
|
|
36201
36247
|
};
|
|
36202
|
-
|
|
36248
|
+
E0.use(V5).init({
|
|
36203
36249
|
resources: JD,
|
|
36204
36250
|
lng: "es-AR",
|
|
36205
36251
|
fallbackLng: "es-AR",
|
|
@@ -36207,16 +36253,16 @@ b0.use(V5).init({
|
|
|
36207
36253
|
escapeValue: !1
|
|
36208
36254
|
}
|
|
36209
36255
|
});
|
|
36210
|
-
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 }));
|
|
36211
36257
|
export {
|
|
36212
36258
|
jN as Accordion,
|
|
36213
36259
|
PD as Alert,
|
|
36214
36260
|
DN as AreaChart,
|
|
36215
|
-
|
|
36261
|
+
k0 as Avatar,
|
|
36216
36262
|
U5 as Badge,
|
|
36217
36263
|
SN as BarChart,
|
|
36218
36264
|
kN as Breadcrumbs,
|
|
36219
|
-
|
|
36265
|
+
z as Button,
|
|
36220
36266
|
HN as Card,
|
|
36221
36267
|
GD as CardError,
|
|
36222
36268
|
zD as CardSkeleton,
|
|
@@ -36243,12 +36289,12 @@ export {
|
|
|
36243
36289
|
EN as HeaderPoint,
|
|
36244
36290
|
KN as I18nProvider,
|
|
36245
36291
|
b as Icon,
|
|
36246
|
-
|
|
36292
|
+
l0 as Input,
|
|
36247
36293
|
pN as Layout,
|
|
36248
36294
|
VN as LineChart,
|
|
36249
36295
|
qN as List,
|
|
36250
36296
|
_N as LoginForm,
|
|
36251
|
-
|
|
36297
|
+
a0 as LogoHexa,
|
|
36252
36298
|
yN as Modal,
|
|
36253
36299
|
CN as NavPoint,
|
|
36254
36300
|
BN as Pagination,
|