react-ecosistema-unp 1.2.5 → 1.2.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/Animacion-ThNL9iiY.js +7667 -0
- package/dist/{Button-DMwpnJlD.js → Button-B87TJYml.js} +1 -1
- package/dist/{Card-BXqmurzN.js → Card-DAsInpjB.js} +2 -2
- package/dist/{CardBody-RoDe1y90.js → CardBody-CqyD8ylW.js} +1 -1
- package/dist/{NotificacionUsuario-B0uOnywk.js → NotificacionUsuario-DsYVJEKu.js} +21 -20
- package/dist/{TabPane-BvUHIFlv.js → TabPane-DtFCEmIj.js} +103 -102
- package/dist/{Table-dmTfkFLf.js → Table-C5ydZooy.js} +1 -1
- package/dist/{ThemeProvider-CFCmmLJC.js → ThemeProvider-Bs1j1Nwi.js} +22 -25
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/assets/Animacion.css +1 -0
- package/dist/cards/tarjeta/Tarjeta.js +3 -3
- package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +1 -1
- package/dist/cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js +1 -1
- package/dist/cards/tarjeta-lectura/TarjetaLectura.js +1 -1
- package/dist/{index-Bk5C3cP1.js → index-sDUMSncV.js} +1 -1
- package/dist/isLoading-B9qN9mny.js +407 -0
- package/dist/lib/assets/animations/loadingCat.json.d.ts +3 -0
- package/dist/lib/ui/animacion/Animacion.d.ts +8 -0
- package/dist/lib/ui.d.ts +1 -0
- package/dist/shared/breadcrumb/Breadcrumb.js +1 -1
- package/dist/shared/iconos-sistema/IconosSistema.js +1 -1
- package/dist/shared/notificacion-usuario/NotificacionUsuario.js +1 -1
- package/dist/shared/tab-ventana/TabVentana.js +2 -2
- package/dist/shared/ventana-tabs/VentanaTabs.js +3 -3
- package/dist/tables/tabla-registros/TablaRegistros.js +1012 -9073
- package/dist/tables/tabla-registros/buscador/Buscador.js +3 -3
- package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +3 -2
- package/dist/tables/tabla-registros/tabla/Tabla.js +1 -1
- package/dist/ui/animacion/Animacion.js +25 -0
- package/dist/ui/paginador/Paginador.js +2 -2
- package/dist/ui.js +12 -10
- package/dist/utils/unp-historico/UnpHistorico.js +1 -1
- package/dist/{warning-BMiIoRBk.js → warning-DfuoVnCC.js} +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as C from "react";
|
|
2
|
-
import _, { useRef as H, useCallback as T, useMemo as V, useEffect as
|
|
2
|
+
import _, { useRef as H, useCallback as T, useMemo as V, useEffect as fe, cloneElement as le, useContext as de } from "react";
|
|
3
3
|
import { o as pe, _ as ge, l as ee, u as me, T as j, m as B, S as $, a as ye, $ as Ee } from "./TabContext-CdjYJzMB.js";
|
|
4
4
|
import { jsx as v } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
7
|
-
import { P as g } from "./index-
|
|
5
|
+
import { c as q, u as te } from "./ThemeProvider-Bs1j1Nwi.js";
|
|
6
|
+
import { u as he } from "./useEventCallback-Bfo0-hwZ.js";
|
|
7
|
+
import { P as g } from "./index-sDUMSncV.js";
|
|
8
|
+
import { g as ve } from "./_commonjsHelpers-C6fGbg64.js";
|
|
8
9
|
function F(t, s) {
|
|
9
10
|
return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(c, o) {
|
|
10
11
|
return c.__proto__ = o, c;
|
|
@@ -94,7 +95,7 @@ function Ne() {
|
|
|
94
95
|
implementation: p
|
|
95
96
|
};
|
|
96
97
|
}
|
|
97
|
-
var
|
|
98
|
+
var f = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
98
99
|
function d(u, n) {
|
|
99
100
|
if (u === "font") return "";
|
|
100
101
|
if (typeof n == "string")
|
|
@@ -106,11 +107,11 @@ function Ne() {
|
|
|
106
107
|
throw Error(s(299));
|
|
107
108
|
return r(u, n, null, p);
|
|
108
109
|
}, E.flushSync = function(u) {
|
|
109
|
-
var n =
|
|
110
|
+
var n = f.T, p = o.p;
|
|
110
111
|
try {
|
|
111
|
-
if (
|
|
112
|
+
if (f.T = null, o.p = 2, u) return u();
|
|
112
113
|
} finally {
|
|
113
|
-
|
|
114
|
+
f.T = n, o.p = p, o.d.f();
|
|
114
115
|
}
|
|
115
116
|
}, E.preconnect = function(u, n) {
|
|
116
117
|
typeof u == "string" && (n ? (n = n.crossOrigin, n = typeof n == "string" ? n === "use-credentials" ? n : "" : void 0) : n = null, o.d.C(u, n));
|
|
@@ -118,19 +119,19 @@ function Ne() {
|
|
|
118
119
|
typeof u == "string" && o.d.D(u);
|
|
119
120
|
}, E.preinit = function(u, n) {
|
|
120
121
|
if (typeof u == "string" && n && typeof n.as == "string") {
|
|
121
|
-
var p = n.as, i = d(p, n.crossOrigin), e = typeof n.integrity == "string" ? n.integrity : void 0,
|
|
122
|
+
var p = n.as, i = d(p, n.crossOrigin), e = typeof n.integrity == "string" ? n.integrity : void 0, l = typeof n.fetchPriority == "string" ? n.fetchPriority : void 0;
|
|
122
123
|
p === "style" ? o.d.S(
|
|
123
124
|
u,
|
|
124
125
|
typeof n.precedence == "string" ? n.precedence : void 0,
|
|
125
126
|
{
|
|
126
127
|
crossOrigin: i,
|
|
127
128
|
integrity: e,
|
|
128
|
-
fetchPriority:
|
|
129
|
+
fetchPriority: l
|
|
129
130
|
}
|
|
130
131
|
) : p === "script" && o.d.X(u, {
|
|
131
132
|
crossOrigin: i,
|
|
132
133
|
integrity: e,
|
|
133
|
-
fetchPriority:
|
|
134
|
+
fetchPriority: l,
|
|
134
135
|
nonce: typeof n.nonce == "string" ? n.nonce : void 0
|
|
135
136
|
});
|
|
136
137
|
}
|
|
@@ -179,9 +180,9 @@ function Ne() {
|
|
|
179
180
|
}, E.unstable_batchedUpdates = function(u, n) {
|
|
180
181
|
return u(n);
|
|
181
182
|
}, E.useFormState = function(u, n, p) {
|
|
182
|
-
return
|
|
183
|
+
return f.H.useFormState(u, n, p);
|
|
183
184
|
}, E.useFormStatus = function() {
|
|
184
|
-
return
|
|
185
|
+
return f.H.useHostTransitionStatus();
|
|
185
186
|
}, E.version = "19.0.0", E;
|
|
186
187
|
}
|
|
187
188
|
var h = {};
|
|
@@ -202,7 +203,7 @@ function Ce() {
|
|
|
202
203
|
function s(i) {
|
|
203
204
|
return "" + i;
|
|
204
205
|
}
|
|
205
|
-
function c(i, e,
|
|
206
|
+
function c(i, e, l) {
|
|
206
207
|
var m = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
207
208
|
try {
|
|
208
209
|
s(m);
|
|
@@ -218,7 +219,7 @@ function Ce() {
|
|
|
218
219
|
key: m == null ? null : "" + m,
|
|
219
220
|
children: i,
|
|
220
221
|
containerInfo: e,
|
|
221
|
-
implementation:
|
|
222
|
+
implementation: l
|
|
222
223
|
};
|
|
223
224
|
}
|
|
224
225
|
function o(i, e) {
|
|
@@ -232,7 +233,7 @@ function Ce() {
|
|
|
232
233
|
function r(i) {
|
|
233
234
|
return i === null ? "`null`" : i === void 0 ? "`undefined`" : i === "" ? "an empty string" : typeof i == "string" ? JSON.stringify(i) : typeof i == "number" ? "`" + i + "`" : 'something with type "' + typeof i + '"';
|
|
234
235
|
}
|
|
235
|
-
function
|
|
236
|
+
function f() {
|
|
236
237
|
var i = p.H;
|
|
237
238
|
return i === null && console.error(
|
|
238
239
|
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
@@ -265,17 +266,17 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
265
266
|
typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
|
|
266
267
|
"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
|
|
267
268
|
), h.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, h.createPortal = function(i, e) {
|
|
268
|
-
var
|
|
269
|
+
var l = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
269
270
|
if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
|
|
270
271
|
throw Error("Target container is not a DOM element.");
|
|
271
|
-
return c(i, e, null,
|
|
272
|
+
return c(i, e, null, l);
|
|
272
273
|
}, h.flushSync = function(i) {
|
|
273
|
-
var e = p.T,
|
|
274
|
+
var e = p.T, l = u.p;
|
|
274
275
|
try {
|
|
275
276
|
if (p.T = null, u.p = 2, i)
|
|
276
277
|
return i();
|
|
277
278
|
} finally {
|
|
278
|
-
p.T = e, u.p =
|
|
279
|
+
p.T = e, u.p = l, u.d.f() && console.error(
|
|
279
280
|
"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
|
|
280
281
|
);
|
|
281
282
|
}
|
|
@@ -318,8 +319,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
318
319
|
"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
319
320
|
a(i)
|
|
320
321
|
), typeof i == "string" && e && typeof e.as == "string") {
|
|
321
|
-
var
|
|
322
|
-
|
|
322
|
+
var l = e.as, m = o(l, e.crossOrigin), y = typeof e.integrity == "string" ? e.integrity : void 0, O = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
|
|
323
|
+
l === "style" ? u.d.S(
|
|
323
324
|
i,
|
|
324
325
|
typeof e.precedence == "string" ? e.precedence : void 0,
|
|
325
326
|
{
|
|
@@ -327,7 +328,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
327
328
|
integrity: y,
|
|
328
329
|
fetchPriority: O
|
|
329
330
|
}
|
|
330
|
-
) :
|
|
331
|
+
) : l === "script" && u.d.X(i, {
|
|
331
332
|
crossOrigin: m,
|
|
332
333
|
integrity: y,
|
|
333
334
|
fetchPriority: O,
|
|
@@ -335,43 +336,43 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
335
336
|
});
|
|
336
337
|
}
|
|
337
338
|
}, h.preinitModule = function(i, e) {
|
|
338
|
-
var
|
|
339
|
-
if (typeof i == "string" && i || (
|
|
339
|
+
var l = "";
|
|
340
|
+
if (typeof i == "string" && i || (l += " The `href` argument encountered was " + a(i) + "."), e !== void 0 && typeof e != "object" ? l += " The `options` argument encountered was " + a(e) + "." : e && "as" in e && e.as !== "script" && (l += " The `as` option encountered was " + r(e.as) + "."), l)
|
|
340
341
|
console.error(
|
|
341
342
|
"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
|
|
342
|
-
|
|
343
|
+
l
|
|
343
344
|
);
|
|
344
345
|
else
|
|
345
|
-
switch (
|
|
346
|
+
switch (l = e && typeof e.as == "string" ? e.as : "script", l) {
|
|
346
347
|
case "script":
|
|
347
348
|
break;
|
|
348
349
|
default:
|
|
349
|
-
|
|
350
|
+
l = r(l), console.error(
|
|
350
351
|
'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
|
|
351
|
-
|
|
352
|
+
l,
|
|
352
353
|
i
|
|
353
354
|
);
|
|
354
355
|
}
|
|
355
|
-
typeof i == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (
|
|
356
|
+
typeof i == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (l = o(
|
|
356
357
|
e.as,
|
|
357
358
|
e.crossOrigin
|
|
358
359
|
), u.d.M(i, {
|
|
359
|
-
crossOrigin:
|
|
360
|
+
crossOrigin: l,
|
|
360
361
|
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
361
362
|
nonce: typeof e.nonce == "string" ? e.nonce : void 0
|
|
362
363
|
})) : e == null && u.d.M(i));
|
|
363
364
|
}, h.preload = function(i, e) {
|
|
364
|
-
var
|
|
365
|
-
if (typeof i == "string" && i || (
|
|
365
|
+
var l = "";
|
|
366
|
+
if (typeof i == "string" && i || (l += " The `href` argument encountered was " + a(i) + "."), e == null || typeof e != "object" ? l += " The `options` argument encountered was " + a(e) + "." : typeof e.as == "string" && e.as || (l += " The `as` option encountered was " + a(e.as) + "."), l && console.error(
|
|
366
367
|
'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
|
|
367
|
-
|
|
368
|
+
l
|
|
368
369
|
), typeof i == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
|
|
369
|
-
|
|
370
|
+
l = e.as;
|
|
370
371
|
var m = o(
|
|
371
|
-
|
|
372
|
+
l,
|
|
372
373
|
e.crossOrigin
|
|
373
374
|
);
|
|
374
|
-
u.d.L(i,
|
|
375
|
+
u.d.L(i, l, {
|
|
375
376
|
crossOrigin: m,
|
|
376
377
|
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
377
378
|
nonce: typeof e.nonce == "string" ? e.nonce : void 0,
|
|
@@ -384,26 +385,26 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
384
385
|
});
|
|
385
386
|
}
|
|
386
387
|
}, h.preloadModule = function(i, e) {
|
|
387
|
-
var
|
|
388
|
-
typeof i == "string" && i || (
|
|
388
|
+
var l = "";
|
|
389
|
+
typeof i == "string" && i || (l += " The `href` argument encountered was " + a(i) + "."), e !== void 0 && typeof e != "object" ? l += " The `options` argument encountered was " + a(e) + "." : e && "as" in e && typeof e.as != "string" && (l += " The `as` option encountered was " + a(e.as) + "."), l && console.error(
|
|
389
390
|
'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
|
|
390
|
-
|
|
391
|
-
), typeof i == "string" && (e ? (
|
|
391
|
+
l
|
|
392
|
+
), typeof i == "string" && (e ? (l = o(
|
|
392
393
|
e.as,
|
|
393
394
|
e.crossOrigin
|
|
394
395
|
), u.d.m(i, {
|
|
395
396
|
as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
|
|
396
|
-
crossOrigin:
|
|
397
|
+
crossOrigin: l,
|
|
397
398
|
integrity: typeof e.integrity == "string" ? e.integrity : void 0
|
|
398
399
|
})) : u.d.m(i));
|
|
399
400
|
}, h.requestFormReset = function(i) {
|
|
400
401
|
u.d.r(i);
|
|
401
402
|
}, h.unstable_batchedUpdates = function(i, e) {
|
|
402
403
|
return i(e);
|
|
403
|
-
}, h.useFormState = function(i, e,
|
|
404
|
-
return
|
|
404
|
+
}, h.useFormState = function(i, e, l) {
|
|
405
|
+
return f().useFormState(i, e, l);
|
|
405
406
|
}, h.useFormStatus = function() {
|
|
406
|
-
return
|
|
407
|
+
return f().useHostTransitionStatus();
|
|
407
408
|
}, h.version = "19.0.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
408
409
|
}()), h;
|
|
409
410
|
}
|
|
@@ -425,7 +426,7 @@ function we() {
|
|
|
425
426
|
return process.env.NODE_ENV === "production" ? (t(), I.exports = Ne()) : I.exports = Ce(), I.exports;
|
|
426
427
|
}
|
|
427
428
|
var Me = we();
|
|
428
|
-
const P = /* @__PURE__ */
|
|
429
|
+
const P = /* @__PURE__ */ ve(Me), Z = {
|
|
429
430
|
disabled: !1
|
|
430
431
|
};
|
|
431
432
|
var Pe = process.env.NODE_ENV !== "production" ? g.oneOfType([g.number, g.shape({
|
|
@@ -453,14 +454,14 @@ var Le = function(s) {
|
|
|
453
454
|
function s(o, a) {
|
|
454
455
|
var r;
|
|
455
456
|
r = t.call(this, o, a) || this;
|
|
456
|
-
var
|
|
457
|
+
var f = a, d = f && !f.isMounting ? o.enter : o.appear, u;
|
|
457
458
|
return r.appearStatus = null, o.in ? d ? (u = S, r.appearStatus = b) : u = R : o.unmountOnExit || o.mountOnEnter ? u = L : u = S, r.state = {
|
|
458
459
|
status: u
|
|
459
460
|
}, r.nextCallback = null, r;
|
|
460
461
|
}
|
|
461
462
|
s.getDerivedStateFromProps = function(a, r) {
|
|
462
|
-
var
|
|
463
|
-
return
|
|
463
|
+
var f = a.in;
|
|
464
|
+
return f && r.status === L ? {
|
|
464
465
|
status: S
|
|
465
466
|
} : null;
|
|
466
467
|
};
|
|
@@ -470,25 +471,25 @@ var Le = function(s) {
|
|
|
470
471
|
}, c.componentDidUpdate = function(a) {
|
|
471
472
|
var r = null;
|
|
472
473
|
if (a !== this.props) {
|
|
473
|
-
var
|
|
474
|
-
this.props.in ?
|
|
474
|
+
var f = this.state.status;
|
|
475
|
+
this.props.in ? f !== b && f !== R && (r = b) : (f === b || f === R) && (r = G);
|
|
475
476
|
}
|
|
476
477
|
this.updateStatus(!1, r);
|
|
477
478
|
}, c.componentWillUnmount = function() {
|
|
478
479
|
this.cancelNextCallback();
|
|
479
480
|
}, c.getTimeouts = function() {
|
|
480
|
-
var a = this.props.timeout, r,
|
|
481
|
-
return r =
|
|
481
|
+
var a = this.props.timeout, r, f, d;
|
|
482
|
+
return r = f = d = a, a != null && typeof a != "number" && (r = a.exit, f = a.enter, d = a.appear !== void 0 ? a.appear : f), {
|
|
482
483
|
exit: r,
|
|
483
|
-
enter:
|
|
484
|
+
enter: f,
|
|
484
485
|
appear: d
|
|
485
486
|
};
|
|
486
487
|
}, c.updateStatus = function(a, r) {
|
|
487
488
|
if (a === void 0 && (a = !1), r !== null)
|
|
488
489
|
if (this.cancelNextCallback(), r === b) {
|
|
489
490
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
490
|
-
var
|
|
491
|
-
|
|
491
|
+
var f = this.props.nodeRef ? this.props.nodeRef.current : P.findDOMNode(this);
|
|
492
|
+
f && Le(f);
|
|
492
493
|
}
|
|
493
494
|
this.performEnter(a);
|
|
494
495
|
} else
|
|
@@ -497,8 +498,8 @@ var Le = function(s) {
|
|
|
497
498
|
status: L
|
|
498
499
|
});
|
|
499
500
|
}, c.performEnter = function(a) {
|
|
500
|
-
var r = this,
|
|
501
|
-
if (!a && !
|
|
501
|
+
var r = this, f = this.props.enter, d = this.context ? this.context.isMounting : a, u = this.props.nodeRef ? [d] : [P.findDOMNode(this), d], n = u[0], p = u[1], i = this.getTimeouts(), e = d ? i.appear : i.enter;
|
|
502
|
+
if (!a && !f || Z.disabled) {
|
|
502
503
|
this.safeSetState({
|
|
503
504
|
status: R
|
|
504
505
|
}, function() {
|
|
@@ -518,7 +519,7 @@ var Le = function(s) {
|
|
|
518
519
|
});
|
|
519
520
|
});
|
|
520
521
|
}, c.performExit = function() {
|
|
521
|
-
var a = this, r = this.props.exit,
|
|
522
|
+
var a = this, r = this.props.exit, f = this.getTimeouts(), d = this.props.nodeRef ? void 0 : P.findDOMNode(this);
|
|
522
523
|
if (!r || Z.disabled) {
|
|
523
524
|
this.safeSetState({
|
|
524
525
|
status: S
|
|
@@ -530,7 +531,7 @@ var Le = function(s) {
|
|
|
530
531
|
this.props.onExit(d), this.safeSetState({
|
|
531
532
|
status: G
|
|
532
533
|
}, function() {
|
|
533
|
-
a.props.onExiting(d), a.onTransitionEnd(
|
|
534
|
+
a.props.onExiting(d), a.onTransitionEnd(f.exit, function() {
|
|
534
535
|
a.safeSetState({
|
|
535
536
|
status: S
|
|
536
537
|
}, function() {
|
|
@@ -543,21 +544,21 @@ var Le = function(s) {
|
|
|
543
544
|
}, c.safeSetState = function(a, r) {
|
|
544
545
|
r = this.setNextCallback(r), this.setState(a, r);
|
|
545
546
|
}, c.setNextCallback = function(a) {
|
|
546
|
-
var r = this,
|
|
547
|
+
var r = this, f = !0;
|
|
547
548
|
return this.nextCallback = function(d) {
|
|
548
|
-
|
|
549
|
+
f && (f = !1, r.nextCallback = null, a(d));
|
|
549
550
|
}, this.nextCallback.cancel = function() {
|
|
550
|
-
|
|
551
|
+
f = !1;
|
|
551
552
|
}, this.nextCallback;
|
|
552
553
|
}, c.onTransitionEnd = function(a, r) {
|
|
553
554
|
this.setNextCallback(r);
|
|
554
|
-
var
|
|
555
|
-
if (!
|
|
555
|
+
var f = this.props.nodeRef ? this.props.nodeRef.current : P.findDOMNode(this), d = a == null && !this.props.addEndListener;
|
|
556
|
+
if (!f || d) {
|
|
556
557
|
setTimeout(this.nextCallback, 0);
|
|
557
558
|
return;
|
|
558
559
|
}
|
|
559
560
|
if (this.props.addEndListener) {
|
|
560
|
-
var u = this.props.nodeRef ? [this.nextCallback] : [
|
|
561
|
+
var u = this.props.nodeRef ? [this.nextCallback] : [f, this.nextCallback], n = u[0], p = u[1];
|
|
561
562
|
this.props.addEndListener(n, p);
|
|
562
563
|
}
|
|
563
564
|
a != null && setTimeout(this.nextCallback, a);
|
|
@@ -565,14 +566,14 @@ var Le = function(s) {
|
|
|
565
566
|
var a = this.state.status;
|
|
566
567
|
if (a === L)
|
|
567
568
|
return null;
|
|
568
|
-
var r = this.props,
|
|
569
|
+
var r = this.props, f = r.children;
|
|
569
570
|
r.in, r.mountOnEnter, r.unmountOnExit, r.appear, r.enter, r.exit, r.timeout, r.addEndListener, r.onEnter, r.onEntering, r.onEntered, r.onExit, r.onExiting, r.onExited, r.nodeRef;
|
|
570
571
|
var d = ge(r, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
571
572
|
return (
|
|
572
573
|
// allows for nested Transitions
|
|
573
574
|
/* @__PURE__ */ _.createElement(re.Provider, {
|
|
574
575
|
value: null
|
|
575
|
-
}, typeof
|
|
576
|
+
}, typeof f == "function" ? f(a, d) : _.cloneElement(_.Children.only(f), d))
|
|
576
577
|
);
|
|
577
578
|
}, s;
|
|
578
579
|
}(_.Component);
|
|
@@ -591,8 +592,8 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
591
592
|
*/
|
|
592
593
|
nodeRef: g.shape({
|
|
593
594
|
current: typeof Element > "u" ? g.any : function(t, s, c, o, a, r) {
|
|
594
|
-
var
|
|
595
|
-
return g.instanceOf(
|
|
595
|
+
var f = t[s];
|
|
596
|
+
return g.instanceOf(f && "ownerDocument" in f ? f.ownerDocument.defaultView.Element : Element)(t, s, c, o, a, r);
|
|
596
597
|
}
|
|
597
598
|
}),
|
|
598
599
|
/**
|
|
@@ -835,16 +836,16 @@ const Ge = /* @__PURE__ */ _.forwardRef(({
|
|
|
835
836
|
onExit: o,
|
|
836
837
|
onExiting: a,
|
|
837
838
|
onExited: r,
|
|
838
|
-
addEndListener:
|
|
839
|
+
addEndListener: f,
|
|
839
840
|
children: d,
|
|
840
841
|
childRef: u,
|
|
841
842
|
...n
|
|
842
843
|
}, p) => {
|
|
843
|
-
const i = H(null), e = me(i, u),
|
|
844
|
+
const i = H(null), e = me(i, u), l = (D) => {
|
|
844
845
|
e(Fe(D));
|
|
845
846
|
}, m = (D) => (U) => {
|
|
846
847
|
D && i.current && D(i.current, U);
|
|
847
|
-
}, y = T(m(t), [t]), O = T(m(s), [s]), w = T(m(c), [c]), M = T(m(o), [o]), A = T(m(a), [a]), ue = T(m(r), [r]), ce = T(m(
|
|
848
|
+
}, y = T(m(t), [t]), O = T(m(s), [s]), w = T(m(c), [c]), M = T(m(o), [o]), A = T(m(a), [a]), ue = T(m(r), [r]), ce = T(m(f), [f]);
|
|
848
849
|
return /* @__PURE__ */ v(x, {
|
|
849
850
|
ref: p,
|
|
850
851
|
...n,
|
|
@@ -860,10 +861,10 @@ const Ge = /* @__PURE__ */ _.forwardRef(({
|
|
|
860
861
|
// TODO: Types for RTG missing innerProps, so need to cast.
|
|
861
862
|
d(D, {
|
|
862
863
|
...U,
|
|
863
|
-
ref:
|
|
864
|
+
ref: l
|
|
864
865
|
})
|
|
865
866
|
) : /* @__PURE__ */ _.cloneElement(d, {
|
|
866
|
-
ref:
|
|
867
|
+
ref: l
|
|
867
868
|
})
|
|
868
869
|
});
|
|
869
870
|
}), Ke = {
|
|
@@ -876,7 +877,7 @@ const Ge = /* @__PURE__ */ _.forwardRef(({
|
|
|
876
877
|
onEnter: o,
|
|
877
878
|
...a
|
|
878
879
|
}, r) => {
|
|
879
|
-
const
|
|
880
|
+
const f = {
|
|
880
881
|
in: !1,
|
|
881
882
|
timeout: 300,
|
|
882
883
|
mountOnEnter: !1,
|
|
@@ -889,7 +890,7 @@ const Ge = /* @__PURE__ */ _.forwardRef(({
|
|
|
889
890
|
return /* @__PURE__ */ v(Ge, {
|
|
890
891
|
ref: r,
|
|
891
892
|
addEndListener: He,
|
|
892
|
-
...
|
|
893
|
+
...f,
|
|
893
894
|
onEnter: d,
|
|
894
895
|
childRef: ie(s),
|
|
895
896
|
children: (u, n) => /* @__PURE__ */ C.cloneElement(s, {
|
|
@@ -918,14 +919,14 @@ function oe({
|
|
|
918
919
|
mountOnEnter: o,
|
|
919
920
|
unmountOnExit: a
|
|
920
921
|
}) {
|
|
921
|
-
const r = H(null),
|
|
922
|
-
|
|
923
|
-
s ?
|
|
922
|
+
const r = H(null), f = H(s), d = he(c);
|
|
923
|
+
fe(() => {
|
|
924
|
+
s ? f.current = !0 : d(r.current);
|
|
924
925
|
}, [s, d]);
|
|
925
|
-
const u = qe(r, ie(t)), n = /* @__PURE__ */
|
|
926
|
+
const u = qe(r, ie(t)), n = /* @__PURE__ */ le(t, {
|
|
926
927
|
ref: u
|
|
927
928
|
});
|
|
928
|
-
return s ? n : a || !
|
|
929
|
+
return s ? n : a || !f.current && o ? null : n;
|
|
929
930
|
}
|
|
930
931
|
const We = ["active", "eventKey", "mountOnEnter", "transition", "unmountOnExit", "role", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited"], Be = ["activeKey", "getControlledId", "getControllerId"], Ye = ["as"];
|
|
931
932
|
function K(t, s) {
|
|
@@ -944,17 +945,17 @@ function ae(t) {
|
|
|
944
945
|
mountOnEnter: o,
|
|
945
946
|
transition: a,
|
|
946
947
|
unmountOnExit: r,
|
|
947
|
-
role:
|
|
948
|
+
role: f = "tabpanel",
|
|
948
949
|
onEnter: d,
|
|
949
950
|
onEntering: u,
|
|
950
951
|
onEntered: n,
|
|
951
952
|
onExit: p,
|
|
952
953
|
onExiting: i,
|
|
953
954
|
onExited: e
|
|
954
|
-
} = t,
|
|
955
|
+
} = t, l = K(t, We);
|
|
955
956
|
const m = de(j);
|
|
956
|
-
if (!m) return [Object.assign({},
|
|
957
|
-
role:
|
|
957
|
+
if (!m) return [Object.assign({}, l, {
|
|
958
|
+
role: f
|
|
958
959
|
}), {
|
|
959
960
|
eventKey: c,
|
|
960
961
|
isActive: s,
|
|
@@ -973,8 +974,8 @@ function ae(t) {
|
|
|
973
974
|
getControlledId: O,
|
|
974
975
|
getControllerId: w
|
|
975
976
|
} = m, M = K(m, Be), A = B(c);
|
|
976
|
-
return [Object.assign({},
|
|
977
|
-
role:
|
|
977
|
+
return [Object.assign({}, l, {
|
|
978
|
+
role: f,
|
|
978
979
|
id: O(c),
|
|
979
980
|
"aria-labelledby": w(c)
|
|
980
981
|
}), {
|
|
@@ -999,14 +1000,14 @@ const se = /* @__PURE__ */ C.forwardRef(
|
|
|
999
1000
|
} = t, o = K(t, Ye);
|
|
1000
1001
|
const [a, {
|
|
1001
1002
|
isActive: r,
|
|
1002
|
-
onEnter:
|
|
1003
|
+
onEnter: f,
|
|
1003
1004
|
onEntering: d,
|
|
1004
1005
|
onEntered: u,
|
|
1005
1006
|
onExit: n,
|
|
1006
1007
|
onExiting: p,
|
|
1007
1008
|
onExited: i,
|
|
1008
1009
|
mountOnEnter: e,
|
|
1009
|
-
unmountOnExit:
|
|
1010
|
+
unmountOnExit: l,
|
|
1010
1011
|
transition: m = oe
|
|
1011
1012
|
}] = ae(o);
|
|
1012
1013
|
return /* @__PURE__ */ v(j.Provider, {
|
|
@@ -1015,14 +1016,14 @@ const se = /* @__PURE__ */ C.forwardRef(
|
|
|
1015
1016
|
value: null,
|
|
1016
1017
|
children: /* @__PURE__ */ v(m, {
|
|
1017
1018
|
in: r,
|
|
1018
|
-
onEnter:
|
|
1019
|
+
onEnter: f,
|
|
1019
1020
|
onEntering: d,
|
|
1020
1021
|
onEntered: u,
|
|
1021
1022
|
onExit: n,
|
|
1022
1023
|
onExiting: p,
|
|
1023
1024
|
onExited: i,
|
|
1024
1025
|
mountOnEnter: e,
|
|
1025
|
-
unmountOnExit:
|
|
1026
|
+
unmountOnExit: l,
|
|
1026
1027
|
children: /* @__PURE__ */ v(c, Object.assign({}, a, {
|
|
1027
1028
|
ref: s,
|
|
1028
1029
|
hidden: !r,
|
|
@@ -1041,19 +1042,19 @@ const Xe = (t) => {
|
|
|
1041
1042
|
onSelect: o,
|
|
1042
1043
|
activeKey: a,
|
|
1043
1044
|
defaultActiveKey: r,
|
|
1044
|
-
transition:
|
|
1045
|
+
transition: f,
|
|
1045
1046
|
mountOnEnter: d,
|
|
1046
1047
|
unmountOnExit: u,
|
|
1047
1048
|
children: n
|
|
1048
|
-
} = t, [p, i] = ye(a, r, o), e = Ee(s),
|
|
1049
|
+
} = t, [p, i] = ye(a, r, o), e = Ee(s), l = V(() => c || ((y, O) => e ? `${e}-${O}-${y}` : null), [e, c]), m = V(() => ({
|
|
1049
1050
|
onSelect: i,
|
|
1050
1051
|
activeKey: p,
|
|
1051
|
-
transition:
|
|
1052
|
+
transition: f,
|
|
1052
1053
|
mountOnEnter: d || !1,
|
|
1053
1054
|
unmountOnExit: u || !1,
|
|
1054
|
-
getControlledId: (y) =>
|
|
1055
|
-
getControllerId: (y) =>
|
|
1056
|
-
}), [i, p,
|
|
1055
|
+
getControlledId: (y) => l(y, "tabpane"),
|
|
1056
|
+
getControllerId: (y) => l(y, "tab")
|
|
1057
|
+
}), [i, p, f, d, u, l]);
|
|
1057
1058
|
return /* @__PURE__ */ v(j.Provider, {
|
|
1058
1059
|
value: m,
|
|
1059
1060
|
children: /* @__PURE__ */ v($.Provider, {
|
|
@@ -1086,7 +1087,7 @@ const Je = /* @__PURE__ */ C.forwardRef(({
|
|
|
1086
1087
|
className: a,
|
|
1087
1088
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
1088
1089
|
as: r = "div",
|
|
1089
|
-
...
|
|
1090
|
+
...f
|
|
1090
1091
|
}, {
|
|
1091
1092
|
isActive: d,
|
|
1092
1093
|
onEnter: u,
|
|
@@ -1094,7 +1095,7 @@ const Je = /* @__PURE__ */ C.forwardRef(({
|
|
|
1094
1095
|
onEntered: p,
|
|
1095
1096
|
onExit: i,
|
|
1096
1097
|
onExiting: e,
|
|
1097
|
-
onExited:
|
|
1098
|
+
onExited: l,
|
|
1098
1099
|
mountOnEnter: m,
|
|
1099
1100
|
unmountOnExit: y,
|
|
1100
1101
|
transition: O = W
|
|
@@ -1113,11 +1114,11 @@ const Je = /* @__PURE__ */ C.forwardRef(({
|
|
|
1113
1114
|
onEntered: p,
|
|
1114
1115
|
onExit: i,
|
|
1115
1116
|
onExiting: e,
|
|
1116
|
-
onExited:
|
|
1117
|
+
onExited: l,
|
|
1117
1118
|
mountOnEnter: m,
|
|
1118
1119
|
unmountOnExit: y,
|
|
1119
1120
|
children: /* @__PURE__ */ v(r, {
|
|
1120
|
-
...
|
|
1121
|
+
...f,
|
|
1121
1122
|
ref: o,
|
|
1122
1123
|
className: q(a, w, d && "active")
|
|
1123
1124
|
})
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import { g as m } from "./_commonjsHelpers-C6fGbg64.js";
|
|
1
2
|
import * as l from "react";
|
|
2
3
|
import { useContext as c } from "react";
|
|
3
4
|
import "react/jsx-runtime";
|
|
4
|
-
function m(r) {
|
|
5
|
-
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
6
|
-
}
|
|
7
5
|
var i = { exports: {} };
|
|
8
6
|
/*!
|
|
9
7
|
Copyright (c) 2018 Jed Watson.
|
|
@@ -12,12 +10,12 @@ var i = { exports: {} };
|
|
|
12
10
|
*/
|
|
13
11
|
var u;
|
|
14
12
|
function x() {
|
|
15
|
-
return u || (u = 1, function(
|
|
13
|
+
return u || (u = 1, function(e) {
|
|
16
14
|
(function() {
|
|
17
15
|
var o = {}.hasOwnProperty;
|
|
18
16
|
function s() {
|
|
19
|
-
for (var t = "",
|
|
20
|
-
var n = arguments[
|
|
17
|
+
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
18
|
+
var n = arguments[r];
|
|
21
19
|
n && (t = a(t, p(n)));
|
|
22
20
|
}
|
|
23
21
|
return t;
|
|
@@ -31,39 +29,38 @@ function x() {
|
|
|
31
29
|
return s.apply(null, t);
|
|
32
30
|
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
33
31
|
return t.toString();
|
|
34
|
-
var
|
|
32
|
+
var r = "";
|
|
35
33
|
for (var n in t)
|
|
36
|
-
o.call(t, n) && t[n] && (
|
|
37
|
-
return
|
|
34
|
+
o.call(t, n) && t[n] && (r = a(r, n));
|
|
35
|
+
return r;
|
|
38
36
|
}
|
|
39
|
-
function a(t,
|
|
40
|
-
return
|
|
37
|
+
function a(t, r) {
|
|
38
|
+
return r ? t ? t + " " + r : t + r : t;
|
|
41
39
|
}
|
|
42
|
-
|
|
40
|
+
e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
|
|
43
41
|
})();
|
|
44
42
|
}(i)), i.exports;
|
|
45
43
|
}
|
|
46
|
-
var
|
|
47
|
-
const
|
|
44
|
+
var v = x();
|
|
45
|
+
const S = /* @__PURE__ */ m(v), d = ["xxl", "xl", "lg", "md", "sm", "xs"], y = "xs", f = /* @__PURE__ */ l.createContext({
|
|
48
46
|
prefixes: {},
|
|
49
|
-
breakpoints:
|
|
50
|
-
minBreakpoint:
|
|
47
|
+
breakpoints: d,
|
|
48
|
+
minBreakpoint: y
|
|
51
49
|
});
|
|
52
|
-
function
|
|
50
|
+
function T(e, o) {
|
|
53
51
|
const {
|
|
54
52
|
prefixes: s
|
|
55
53
|
} = c(f);
|
|
56
|
-
return
|
|
54
|
+
return e || s[o] || o;
|
|
57
55
|
}
|
|
58
|
-
function
|
|
56
|
+
function h() {
|
|
59
57
|
const {
|
|
60
|
-
dir:
|
|
58
|
+
dir: e
|
|
61
59
|
} = c(f);
|
|
62
|
-
return
|
|
60
|
+
return e === "rtl";
|
|
63
61
|
}
|
|
64
62
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
E as u
|
|
63
|
+
h as a,
|
|
64
|
+
S as c,
|
|
65
|
+
T as u
|
|
69
66
|
};
|