react-ecosistema-unp 1.7.1 → 1.7.2

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.
Files changed (34) hide show
  1. package/README.md +61 -61
  2. package/dist/TabPane-BiwPZSbT.js +752 -0
  3. package/dist/assets/EcoModalStyles.css +1 -0
  4. package/dist/assets/Modal.css +1 -1
  5. package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +1 -1
  6. package/dist/cards/tarjeta-info/TarjetaInfo.js +1 -1
  7. package/dist/data/tarjeta-datos/TarjetaDatos.js +1 -1
  8. package/dist/{index-Cpp73e44.js → index-069JzHFQ.js} +23 -15
  9. package/dist/index-BrykDZgK.js +390 -0
  10. package/dist/lib/assets/animations/noData.json.d.ts +5866 -5866
  11. package/dist/lib/assets/animations/noInfo.json.d.ts +2981 -2981
  12. package/dist/lib/tables/tabla-registros/modal/Modal.d.ts +2 -3
  13. package/dist/lib/tables/tabla-registros/modal-v2/EcoModal.d.ts +21 -0
  14. package/dist/lib/ui.d.ts +1 -1
  15. package/dist/shared/app-list/AppList.js +1 -1
  16. package/dist/shared/iconos-sistema/logout-button/LogoutButton.js +1 -1
  17. package/dist/shared/menu-lateral/MenuLateral.js +14 -12
  18. package/dist/shared/tab-ventana/TabVentana.js +1 -1
  19. package/dist/shared/ventana-tabs/VentanaTabs.js +1 -1
  20. package/dist/tables/tabla-registros/TablaRegistros.js +2 -1
  21. package/dist/tables/tabla-registros/buscador/Buscador.js +1 -1
  22. package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +5 -3
  23. package/dist/tables/tabla-registros/modal/Modal.js +23 -23
  24. package/dist/tables/tabla-registros/modal-v2/EcoModal.js +117 -0
  25. package/dist/tables/tabla-registros/tabla/Tabla.js +1 -1
  26. package/dist/ui/contenido-modal/ContenidoModal.js +1 -1
  27. package/dist/ui/contenido-modal/ContenidoModalv0.1.js +1 -1
  28. package/dist/ui/icono-tooltip/IconoTooltip.js +1 -1
  29. package/dist/ui/items-modal/ItemsModal.js +5 -5
  30. package/dist/ui/logo/Logo.js +6 -6
  31. package/dist/ui.js +9 -8
  32. package/dist/utils/unp-historico/UnpHistorico.js +5 -3
  33. package/package.json +111 -111
  34. package/dist/TabPane-DtFCEmIj.js +0 -1136
@@ -1,1136 +0,0 @@
1
- import * as C from "react";
2
- import _, { useRef as H, useCallback as T, useMemo as V, useEffect as fe, cloneElement as le, useContext as de } from "react";
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
- import { jsx as v } from "react/jsx-runtime";
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";
9
- function F(t, s) {
10
- return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(c, o) {
11
- return c.__proto__ = o, c;
12
- }, F(t, s);
13
- }
14
- function Oe(t, s) {
15
- t.prototype = Object.create(s.prototype), t.prototype.constructor = t, F(t, s);
16
- }
17
- function _e(t) {
18
- var s = pe(t);
19
- return s && s.defaultView || window;
20
- }
21
- function xe(t, s) {
22
- return _e(t).getComputedStyle(t, s);
23
- }
24
- var Te = /([A-Z])/g;
25
- function be(t) {
26
- return t.replace(Te, "-$1").toLowerCase();
27
- }
28
- var Se = /^ms-/;
29
- function k(t) {
30
- return be(t).replace(Se, "-ms-");
31
- }
32
- var Re = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
33
- function De(t) {
34
- return !!(t && Re.test(t));
35
- }
36
- function ne(t, s) {
37
- var c = "", o = "";
38
- if (typeof s == "string")
39
- return t.style.getPropertyValue(k(s)) || xe(t).getPropertyValue(k(s));
40
- Object.keys(s).forEach(function(a) {
41
- var r = s[a];
42
- !r && r !== 0 ? t.style.removeProperty(k(a)) : De(a) ? o += a + "(" + r + ") " : c += k(a) + ": " + r + ";";
43
- }), o && (c += "transform: " + o + ";"), t.style.cssText += ";" + c;
44
- }
45
- var I = { exports: {} }, E = {};
46
- /**
47
- * @license React
48
- * react-dom.production.js
49
- *
50
- * Copyright (c) Meta Platforms, Inc. and affiliates.
51
- *
52
- * This source code is licensed under the MIT license found in the
53
- * LICENSE file in the root directory of this source tree.
54
- */
55
- var Y;
56
- function Ne() {
57
- if (Y) return E;
58
- Y = 1;
59
- var t = _;
60
- function s(u) {
61
- var n = "https://react.dev/errors/" + u;
62
- if (1 < arguments.length) {
63
- n += "?args[]=" + encodeURIComponent(arguments[1]);
64
- for (var p = 2; p < arguments.length; p++)
65
- n += "&args[]=" + encodeURIComponent(arguments[p]);
66
- }
67
- return "Minified React error #" + u + "; visit " + n + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
68
- }
69
- function c() {
70
- }
71
- var o = {
72
- d: {
73
- f: c,
74
- r: function() {
75
- throw Error(s(522));
76
- },
77
- D: c,
78
- C: c,
79
- L: c,
80
- m: c,
81
- X: c,
82
- S: c,
83
- M: c
84
- },
85
- p: 0,
86
- findDOMNode: null
87
- }, a = Symbol.for("react.portal");
88
- function r(u, n, p) {
89
- var i = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
90
- return {
91
- $$typeof: a,
92
- key: i == null ? null : "" + i,
93
- children: u,
94
- containerInfo: n,
95
- implementation: p
96
- };
97
- }
98
- var f = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
99
- function d(u, n) {
100
- if (u === "font") return "";
101
- if (typeof n == "string")
102
- return n === "use-credentials" ? n : "";
103
- }
104
- return E.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, E.createPortal = function(u, n) {
105
- var p = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
106
- if (!n || n.nodeType !== 1 && n.nodeType !== 9 && n.nodeType !== 11)
107
- throw Error(s(299));
108
- return r(u, n, null, p);
109
- }, E.flushSync = function(u) {
110
- var n = f.T, p = o.p;
111
- try {
112
- if (f.T = null, o.p = 2, u) return u();
113
- } finally {
114
- f.T = n, o.p = p, o.d.f();
115
- }
116
- }, E.preconnect = function(u, n) {
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
- }, E.prefetchDNS = function(u) {
119
- typeof u == "string" && o.d.D(u);
120
- }, E.preinit = function(u, n) {
121
- if (typeof u == "string" && n && typeof n.as == "string") {
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;
123
- p === "style" ? o.d.S(
124
- u,
125
- typeof n.precedence == "string" ? n.precedence : void 0,
126
- {
127
- crossOrigin: i,
128
- integrity: e,
129
- fetchPriority: l
130
- }
131
- ) : p === "script" && o.d.X(u, {
132
- crossOrigin: i,
133
- integrity: e,
134
- fetchPriority: l,
135
- nonce: typeof n.nonce == "string" ? n.nonce : void 0
136
- });
137
- }
138
- }, E.preinitModule = function(u, n) {
139
- if (typeof u == "string")
140
- if (typeof n == "object" && n !== null) {
141
- if (n.as == null || n.as === "script") {
142
- var p = d(
143
- n.as,
144
- n.crossOrigin
145
- );
146
- o.d.M(u, {
147
- crossOrigin: p,
148
- integrity: typeof n.integrity == "string" ? n.integrity : void 0,
149
- nonce: typeof n.nonce == "string" ? n.nonce : void 0
150
- });
151
- }
152
- } else n == null && o.d.M(u);
153
- }, E.preload = function(u, n) {
154
- if (typeof u == "string" && typeof n == "object" && n !== null && typeof n.as == "string") {
155
- var p = n.as, i = d(p, n.crossOrigin);
156
- o.d.L(u, p, {
157
- crossOrigin: i,
158
- integrity: typeof n.integrity == "string" ? n.integrity : void 0,
159
- nonce: typeof n.nonce == "string" ? n.nonce : void 0,
160
- type: typeof n.type == "string" ? n.type : void 0,
161
- fetchPriority: typeof n.fetchPriority == "string" ? n.fetchPriority : void 0,
162
- referrerPolicy: typeof n.referrerPolicy == "string" ? n.referrerPolicy : void 0,
163
- imageSrcSet: typeof n.imageSrcSet == "string" ? n.imageSrcSet : void 0,
164
- imageSizes: typeof n.imageSizes == "string" ? n.imageSizes : void 0,
165
- media: typeof n.media == "string" ? n.media : void 0
166
- });
167
- }
168
- }, E.preloadModule = function(u, n) {
169
- if (typeof u == "string")
170
- if (n) {
171
- var p = d(n.as, n.crossOrigin);
172
- o.d.m(u, {
173
- as: typeof n.as == "string" && n.as !== "script" ? n.as : void 0,
174
- crossOrigin: p,
175
- integrity: typeof n.integrity == "string" ? n.integrity : void 0
176
- });
177
- } else o.d.m(u);
178
- }, E.requestFormReset = function(u) {
179
- o.d.r(u);
180
- }, E.unstable_batchedUpdates = function(u, n) {
181
- return u(n);
182
- }, E.useFormState = function(u, n, p) {
183
- return f.H.useFormState(u, n, p);
184
- }, E.useFormStatus = function() {
185
- return f.H.useHostTransitionStatus();
186
- }, E.version = "19.0.0", E;
187
- }
188
- var h = {};
189
- /**
190
- * @license React
191
- * react-dom.development.js
192
- *
193
- * Copyright (c) Meta Platforms, Inc. and affiliates.
194
- *
195
- * This source code is licensed under the MIT license found in the
196
- * LICENSE file in the root directory of this source tree.
197
- */
198
- var X;
199
- function Ce() {
200
- return X || (X = 1, process.env.NODE_ENV !== "production" && function() {
201
- function t() {
202
- }
203
- function s(i) {
204
- return "" + i;
205
- }
206
- function c(i, e, l) {
207
- var m = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
208
- try {
209
- s(m);
210
- var y = !1;
211
- } catch {
212
- y = !0;
213
- }
214
- return y && (console.error(
215
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
216
- typeof Symbol == "function" && Symbol.toStringTag && m[Symbol.toStringTag] || m.constructor.name || "Object"
217
- ), s(m)), {
218
- $$typeof: n,
219
- key: m == null ? null : "" + m,
220
- children: i,
221
- containerInfo: e,
222
- implementation: l
223
- };
224
- }
225
- function o(i, e) {
226
- if (i === "font") return "";
227
- if (typeof e == "string")
228
- return e === "use-credentials" ? e : "";
229
- }
230
- function a(i) {
231
- return i === null ? "`null`" : i === void 0 ? "`undefined`" : i === "" ? "an empty string" : 'something with type "' + typeof i + '"';
232
- }
233
- function r(i) {
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 + '"';
235
- }
236
- function f() {
237
- var i = p.H;
238
- return i === null && console.error(
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:
240
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
241
- 2. You might be breaking the Rules of Hooks
242
- 3. You might have more than one copy of React in the same app
243
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
244
- ), i;
245
- }
246
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
247
- var d = _, u = {
248
- d: {
249
- f: t,
250
- r: function() {
251
- throw Error(
252
- "Invalid form element. requestFormReset must be passed a form that was rendered by React."
253
- );
254
- },
255
- D: t,
256
- C: t,
257
- L: t,
258
- m: t,
259
- X: t,
260
- S: t,
261
- M: t
262
- },
263
- p: 0,
264
- findDOMNode: null
265
- }, n = Symbol.for("react.portal"), p = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
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(
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"
268
- ), h.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, h.createPortal = function(i, e) {
269
- var l = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
270
- if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
271
- throw Error("Target container is not a DOM element.");
272
- return c(i, e, null, l);
273
- }, h.flushSync = function(i) {
274
- var e = p.T, l = u.p;
275
- try {
276
- if (p.T = null, u.p = 2, i)
277
- return i();
278
- } finally {
279
- p.T = e, u.p = l, u.d.f() && console.error(
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."
281
- );
282
- }
283
- }, h.preconnect = function(i, e) {
284
- typeof i == "string" && i ? e != null && typeof e != "object" ? console.error(
285
- "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
286
- r(e)
287
- ) : e != null && typeof e.crossOrigin != "string" && console.error(
288
- "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
289
- a(e.crossOrigin)
290
- ) : console.error(
291
- "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
292
- a(i)
293
- ), typeof i == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, u.d.C(i, e));
294
- }, h.prefetchDNS = function(i) {
295
- if (typeof i != "string" || !i)
296
- console.error(
297
- "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
298
- a(i)
299
- );
300
- else if (1 < arguments.length) {
301
- var e = arguments[1];
302
- typeof e == "object" && e.hasOwnProperty("crossOrigin") ? console.error(
303
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
304
- r(e)
305
- ) : console.error(
306
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
307
- r(e)
308
- );
309
- }
310
- typeof i == "string" && u.d.D(i);
311
- }, h.preinit = function(i, e) {
312
- if (typeof i == "string" && i ? e == null || typeof e != "object" ? console.error(
313
- "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
314
- r(e)
315
- ) : e.as !== "style" && e.as !== "script" && console.error(
316
- 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
317
- r(e.as)
318
- ) : console.error(
319
- "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
320
- a(i)
321
- ), typeof i == "string" && e && typeof e.as == "string") {
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(
324
- i,
325
- typeof e.precedence == "string" ? e.precedence : void 0,
326
- {
327
- crossOrigin: m,
328
- integrity: y,
329
- fetchPriority: O
330
- }
331
- ) : l === "script" && u.d.X(i, {
332
- crossOrigin: m,
333
- integrity: y,
334
- fetchPriority: O,
335
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
336
- });
337
- }
338
- }, h.preinitModule = function(i, e) {
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)
341
- console.error(
342
- "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
343
- l
344
- );
345
- else
346
- switch (l = e && typeof e.as == "string" ? e.as : "script", l) {
347
- case "script":
348
- break;
349
- default:
350
- l = r(l), console.error(
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)',
352
- l,
353
- i
354
- );
355
- }
356
- typeof i == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (l = o(
357
- e.as,
358
- e.crossOrigin
359
- ), u.d.M(i, {
360
- crossOrigin: l,
361
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
362
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
363
- })) : e == null && u.d.M(i));
364
- }, h.preload = function(i, e) {
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(
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',
368
- l
369
- ), typeof i == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
370
- l = e.as;
371
- var m = o(
372
- l,
373
- e.crossOrigin
374
- );
375
- u.d.L(i, l, {
376
- crossOrigin: m,
377
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
378
- nonce: typeof e.nonce == "string" ? e.nonce : void 0,
379
- type: typeof e.type == "string" ? e.type : void 0,
380
- fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
381
- referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
382
- imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
383
- imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
384
- media: typeof e.media == "string" ? e.media : void 0
385
- });
386
- }
387
- }, h.preloadModule = function(i, e) {
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(
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',
391
- l
392
- ), typeof i == "string" && (e ? (l = o(
393
- e.as,
394
- e.crossOrigin
395
- ), u.d.m(i, {
396
- as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
397
- crossOrigin: l,
398
- integrity: typeof e.integrity == "string" ? e.integrity : void 0
399
- })) : u.d.m(i));
400
- }, h.requestFormReset = function(i) {
401
- u.d.r(i);
402
- }, h.unstable_batchedUpdates = function(i, e) {
403
- return i(e);
404
- }, h.useFormState = function(i, e, l) {
405
- return f().useFormState(i, e, l);
406
- }, h.useFormStatus = function() {
407
- return f().useHostTransitionStatus();
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());
409
- }()), h;
410
- }
411
- var z;
412
- function we() {
413
- if (z) return I.exports;
414
- z = 1;
415
- function t() {
416
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
417
- if (process.env.NODE_ENV !== "production")
418
- throw new Error("^_^");
419
- try {
420
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t);
421
- } catch (s) {
422
- console.error(s);
423
- }
424
- }
425
- }
426
- return process.env.NODE_ENV === "production" ? (t(), I.exports = Ne()) : I.exports = Ce(), I.exports;
427
- }
428
- var Me = we();
429
- const P = /* @__PURE__ */ ve(Me), Z = {
430
- disabled: !1
431
- };
432
- var Pe = process.env.NODE_ENV !== "production" ? g.oneOfType([g.number, g.shape({
433
- enter: g.number,
434
- exit: g.number,
435
- appear: g.number
436
- }).isRequired]) : null;
437
- process.env.NODE_ENV !== "production" && g.oneOfType([g.string, g.shape({
438
- enter: g.string,
439
- exit: g.string,
440
- active: g.string
441
- }), g.shape({
442
- enter: g.string,
443
- enterDone: g.string,
444
- enterActive: g.string,
445
- exit: g.string,
446
- exitDone: g.string,
447
- exitActive: g.string
448
- })]);
449
- const re = _.createContext(null);
450
- var Le = function(s) {
451
- return s.scrollTop;
452
- }, L = "unmounted", S = "exited", b = "entering", R = "entered", G = "exiting", x = /* @__PURE__ */ function(t) {
453
- Oe(s, t);
454
- function s(o, a) {
455
- var r;
456
- r = t.call(this, o, a) || this;
457
- var f = a, d = f && !f.isMounting ? o.enter : o.appear, u;
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 = {
459
- status: u
460
- }, r.nextCallback = null, r;
461
- }
462
- s.getDerivedStateFromProps = function(a, r) {
463
- var f = a.in;
464
- return f && r.status === L ? {
465
- status: S
466
- } : null;
467
- };
468
- var c = s.prototype;
469
- return c.componentDidMount = function() {
470
- this.updateStatus(!0, this.appearStatus);
471
- }, c.componentDidUpdate = function(a) {
472
- var r = null;
473
- if (a !== this.props) {
474
- var f = this.state.status;
475
- this.props.in ? f !== b && f !== R && (r = b) : (f === b || f === R) && (r = G);
476
- }
477
- this.updateStatus(!1, r);
478
- }, c.componentWillUnmount = function() {
479
- this.cancelNextCallback();
480
- }, c.getTimeouts = function() {
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), {
483
- exit: r,
484
- enter: f,
485
- appear: d
486
- };
487
- }, c.updateStatus = function(a, r) {
488
- if (a === void 0 && (a = !1), r !== null)
489
- if (this.cancelNextCallback(), r === b) {
490
- if (this.props.unmountOnExit || this.props.mountOnEnter) {
491
- var f = this.props.nodeRef ? this.props.nodeRef.current : P.findDOMNode(this);
492
- f && Le(f);
493
- }
494
- this.performEnter(a);
495
- } else
496
- this.performExit();
497
- else this.props.unmountOnExit && this.state.status === S && this.setState({
498
- status: L
499
- });
500
- }, c.performEnter = function(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) {
503
- this.safeSetState({
504
- status: R
505
- }, function() {
506
- r.props.onEntered(n);
507
- });
508
- return;
509
- }
510
- this.props.onEnter(n, p), this.safeSetState({
511
- status: b
512
- }, function() {
513
- r.props.onEntering(n, p), r.onTransitionEnd(e, function() {
514
- r.safeSetState({
515
- status: R
516
- }, function() {
517
- r.props.onEntered(n, p);
518
- });
519
- });
520
- });
521
- }, c.performExit = function() {
522
- var a = this, r = this.props.exit, f = this.getTimeouts(), d = this.props.nodeRef ? void 0 : P.findDOMNode(this);
523
- if (!r || Z.disabled) {
524
- this.safeSetState({
525
- status: S
526
- }, function() {
527
- a.props.onExited(d);
528
- });
529
- return;
530
- }
531
- this.props.onExit(d), this.safeSetState({
532
- status: G
533
- }, function() {
534
- a.props.onExiting(d), a.onTransitionEnd(f.exit, function() {
535
- a.safeSetState({
536
- status: S
537
- }, function() {
538
- a.props.onExited(d);
539
- });
540
- });
541
- });
542
- }, c.cancelNextCallback = function() {
543
- this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
544
- }, c.safeSetState = function(a, r) {
545
- r = this.setNextCallback(r), this.setState(a, r);
546
- }, c.setNextCallback = function(a) {
547
- var r = this, f = !0;
548
- return this.nextCallback = function(d) {
549
- f && (f = !1, r.nextCallback = null, a(d));
550
- }, this.nextCallback.cancel = function() {
551
- f = !1;
552
- }, this.nextCallback;
553
- }, c.onTransitionEnd = function(a, r) {
554
- this.setNextCallback(r);
555
- var f = this.props.nodeRef ? this.props.nodeRef.current : P.findDOMNode(this), d = a == null && !this.props.addEndListener;
556
- if (!f || d) {
557
- setTimeout(this.nextCallback, 0);
558
- return;
559
- }
560
- if (this.props.addEndListener) {
561
- var u = this.props.nodeRef ? [this.nextCallback] : [f, this.nextCallback], n = u[0], p = u[1];
562
- this.props.addEndListener(n, p);
563
- }
564
- a != null && setTimeout(this.nextCallback, a);
565
- }, c.render = function() {
566
- var a = this.state.status;
567
- if (a === L)
568
- return null;
569
- var r = this.props, f = r.children;
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;
571
- var d = ge(r, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
572
- return (
573
- // allows for nested Transitions
574
- /* @__PURE__ */ _.createElement(re.Provider, {
575
- value: null
576
- }, typeof f == "function" ? f(a, d) : _.cloneElement(_.Children.only(f), d))
577
- );
578
- }, s;
579
- }(_.Component);
580
- x.contextType = re;
581
- x.propTypes = process.env.NODE_ENV !== "production" ? {
582
- /**
583
- * A React reference to DOM element that need to transition:
584
- * https://stackoverflow.com/a/51127130/4671932
585
- *
586
- * - When `nodeRef` prop is used, `node` is not passed to callback functions
587
- * (e.g. `onEnter`) because user already has direct access to the node.
588
- * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
589
- * `nodeRef` need to be provided to `Transition` with changed `key` prop
590
- * (see
591
- * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
592
- */
593
- nodeRef: g.shape({
594
- current: typeof Element > "u" ? g.any : function(t, s, c, o, a, r) {
595
- var f = t[s];
596
- return g.instanceOf(f && "ownerDocument" in f ? f.ownerDocument.defaultView.Element : Element)(t, s, c, o, a, r);
597
- }
598
- }),
599
- /**
600
- * A `function` child can be used instead of a React element. This function is
601
- * called with the current transition status (`'entering'`, `'entered'`,
602
- * `'exiting'`, `'exited'`), which can be used to apply context
603
- * specific props to a component.
604
- *
605
- * ```jsx
606
- * <Transition in={this.state.in} timeout={150}>
607
- * {state => (
608
- * <MyComponent className={`fade fade-${state}`} />
609
- * )}
610
- * </Transition>
611
- * ```
612
- */
613
- children: g.oneOfType([g.func.isRequired, g.element.isRequired]).isRequired,
614
- /**
615
- * Show the component; triggers the enter or exit states
616
- */
617
- in: g.bool,
618
- /**
619
- * By default the child component is mounted immediately along with
620
- * the parent `Transition` component. If you want to "lazy mount" the component on the
621
- * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
622
- * mounted, even on "exited", unless you also specify `unmountOnExit`.
623
- */
624
- mountOnEnter: g.bool,
625
- /**
626
- * By default the child component stays mounted after it reaches the `'exited'` state.
627
- * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
628
- */
629
- unmountOnExit: g.bool,
630
- /**
631
- * By default the child component does not perform the enter transition when
632
- * it first mounts, regardless of the value of `in`. If you want this
633
- * behavior, set both `appear` and `in` to `true`.
634
- *
635
- * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
636
- * > only adds an additional enter transition. However, in the
637
- * > `<CSSTransition>` component that first enter transition does result in
638
- * > additional `.appear-*` classes, that way you can choose to style it
639
- * > differently.
640
- */
641
- appear: g.bool,
642
- /**
643
- * Enable or disable enter transitions.
644
- */
645
- enter: g.bool,
646
- /**
647
- * Enable or disable exit transitions.
648
- */
649
- exit: g.bool,
650
- /**
651
- * The duration of the transition, in milliseconds.
652
- * Required unless `addEndListener` is provided.
653
- *
654
- * You may specify a single timeout for all transitions:
655
- *
656
- * ```jsx
657
- * timeout={500}
658
- * ```
659
- *
660
- * or individually:
661
- *
662
- * ```jsx
663
- * timeout={{
664
- * appear: 500,
665
- * enter: 300,
666
- * exit: 500,
667
- * }}
668
- * ```
669
- *
670
- * - `appear` defaults to the value of `enter`
671
- * - `enter` defaults to `0`
672
- * - `exit` defaults to `0`
673
- *
674
- * @type {number | { enter?: number, exit?: number, appear?: number }}
675
- */
676
- timeout: function(s) {
677
- var c = Pe;
678
- s.addEndListener || (c = c.isRequired);
679
- for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), r = 1; r < o; r++)
680
- a[r - 1] = arguments[r];
681
- return c.apply(void 0, [s].concat(a));
682
- },
683
- /**
684
- * Add a custom transition end trigger. Called with the transitioning
685
- * DOM node and a `done` callback. Allows for more fine grained transition end
686
- * logic. Timeouts are still used as a fallback if provided.
687
- *
688
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
689
- *
690
- * ```jsx
691
- * addEndListener={(node, done) => {
692
- * // use the css transitionend event to mark the finish of a transition
693
- * node.addEventListener('transitionend', done, false);
694
- * }}
695
- * ```
696
- */
697
- addEndListener: g.func,
698
- /**
699
- * Callback fired before the "entering" status is applied. An extra parameter
700
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
701
- *
702
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
703
- *
704
- * @type Function(node: HtmlElement, isAppearing: bool) -> void
705
- */
706
- onEnter: g.func,
707
- /**
708
- * Callback fired after the "entering" status is applied. An extra parameter
709
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
710
- *
711
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
712
- *
713
- * @type Function(node: HtmlElement, isAppearing: bool)
714
- */
715
- onEntering: g.func,
716
- /**
717
- * Callback fired after the "entered" status is applied. An extra parameter
718
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
719
- *
720
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
721
- *
722
- * @type Function(node: HtmlElement, isAppearing: bool) -> void
723
- */
724
- onEntered: g.func,
725
- /**
726
- * Callback fired before the "exiting" status is applied.
727
- *
728
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
729
- *
730
- * @type Function(node: HtmlElement) -> void
731
- */
732
- onExit: g.func,
733
- /**
734
- * Callback fired after the "exiting" status is applied.
735
- *
736
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
737
- *
738
- * @type Function(node: HtmlElement) -> void
739
- */
740
- onExiting: g.func,
741
- /**
742
- * Callback fired after the "exited" status is applied.
743
- *
744
- * **Note**: when `nodeRef` prop is passed, `node` is not passed
745
- *
746
- * @type Function(node: HtmlElement) -> void
747
- */
748
- onExited: g.func
749
- } : {};
750
- function N() {
751
- }
752
- x.defaultProps = {
753
- in: !1,
754
- mountOnEnter: !1,
755
- unmountOnExit: !1,
756
- appear: !1,
757
- enter: !0,
758
- exit: !0,
759
- onEnter: N,
760
- onEntering: N,
761
- onEntered: N,
762
- onExit: N,
763
- onExiting: N,
764
- onExited: N
765
- };
766
- x.UNMOUNTED = L;
767
- x.EXITED = S;
768
- x.ENTERING = b;
769
- x.ENTERED = R;
770
- x.EXITING = G;
771
- function Ae() {
772
- const t = C.version.split(".");
773
- return {
774
- major: +t[0],
775
- minor: +t[1],
776
- patch: +t[2]
777
- };
778
- }
779
- function ie(t) {
780
- if (!t || typeof t == "function")
781
- return null;
782
- const {
783
- major: s
784
- } = Ae();
785
- return s >= 19 ? t.props.ref : t.ref;
786
- }
787
- function ke(t, s, c, o) {
788
- if (o === void 0 && (o = !0), t) {
789
- var a = document.createEvent("HTMLEvents");
790
- a.initEvent(s, c, o), t.dispatchEvent(a);
791
- }
792
- }
793
- function Ie(t) {
794
- var s = ne(t, "transitionDuration") || "", c = s.indexOf("ms") === -1 ? 1e3 : 1;
795
- return parseFloat(s) * c;
796
- }
797
- function je(t, s, c) {
798
- c === void 0 && (c = 5);
799
- var o = !1, a = setTimeout(function() {
800
- o || ke(t, "transitionend", !0);
801
- }, s + c), r = ee(t, "transitionend", function() {
802
- o = !0;
803
- }, {
804
- once: !0
805
- });
806
- return function() {
807
- clearTimeout(a), r();
808
- };
809
- }
810
- function Ue(t, s, c, o) {
811
- c == null && (c = Ie(t) || 0);
812
- var a = je(t, c, o), r = ee(t, "transitionend", s);
813
- return function() {
814
- a(), r();
815
- };
816
- }
817
- function J(t, s) {
818
- const c = ne(t, s) || "", o = c.indexOf("ms") === -1 ? 1e3 : 1;
819
- return parseFloat(c) * o;
820
- }
821
- function He(t, s) {
822
- const c = J(t, "transitionDuration"), o = J(t, "transitionDelay"), a = Ue(t, (r) => {
823
- r.target === t && (a(), s(r));
824
- }, c + o);
825
- }
826
- function Ve(t) {
827
- t.offsetHeight;
828
- }
829
- function Fe(t) {
830
- return t && "setState" in t ? P.findDOMNode(t) : t ?? null;
831
- }
832
- const Ge = /* @__PURE__ */ _.forwardRef(({
833
- onEnter: t,
834
- onEntering: s,
835
- onEntered: c,
836
- onExit: o,
837
- onExiting: a,
838
- onExited: r,
839
- addEndListener: f,
840
- children: d,
841
- childRef: u,
842
- ...n
843
- }, p) => {
844
- const i = H(null), e = me(i, u), l = (D) => {
845
- e(Fe(D));
846
- }, m = (D) => (U) => {
847
- D && i.current && D(i.current, U);
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]);
849
- return /* @__PURE__ */ v(x, {
850
- ref: p,
851
- ...n,
852
- onEnter: y,
853
- onEntered: w,
854
- onEntering: O,
855
- onExit: M,
856
- onExited: ue,
857
- onExiting: A,
858
- addEndListener: ce,
859
- nodeRef: i,
860
- children: typeof d == "function" ? (D, U) => (
861
- // TODO: Types for RTG missing innerProps, so need to cast.
862
- d(D, {
863
- ...U,
864
- ref: l
865
- })
866
- ) : /* @__PURE__ */ _.cloneElement(d, {
867
- ref: l
868
- })
869
- });
870
- }), Ke = {
871
- [b]: "show",
872
- [R]: "show"
873
- }, W = /* @__PURE__ */ C.forwardRef(({
874
- className: t,
875
- children: s,
876
- transitionClasses: c = {},
877
- onEnter: o,
878
- ...a
879
- }, r) => {
880
- const f = {
881
- in: !1,
882
- timeout: 300,
883
- mountOnEnter: !1,
884
- unmountOnExit: !1,
885
- appear: !1,
886
- ...a
887
- }, d = T((u, n) => {
888
- Ve(u), o == null || o(u, n);
889
- }, [o]);
890
- return /* @__PURE__ */ v(Ge, {
891
- ref: r,
892
- addEndListener: He,
893
- ...f,
894
- onEnter: d,
895
- childRef: ie(s),
896
- children: (u, n) => /* @__PURE__ */ C.cloneElement(s, {
897
- ...n,
898
- className: q("fade", t, s.props.className, Ke[u], c[u])
899
- })
900
- });
901
- });
902
- W.displayName = "Fade";
903
- const Q = (t) => !t || typeof t == "function" ? t : (s) => {
904
- t.current = s;
905
- };
906
- function $e(t, s) {
907
- const c = Q(t), o = Q(s);
908
- return (a) => {
909
- c && c(a), o && o(a);
910
- };
911
- }
912
- function qe(t, s) {
913
- return V(() => $e(t, s), [t, s]);
914
- }
915
- function oe({
916
- children: t,
917
- in: s,
918
- onExited: c,
919
- mountOnEnter: o,
920
- unmountOnExit: a
921
- }) {
922
- const r = H(null), f = H(s), d = he(c);
923
- fe(() => {
924
- s ? f.current = !0 : d(r.current);
925
- }, [s, d]);
926
- const u = qe(r, ie(t)), n = /* @__PURE__ */ le(t, {
927
- ref: u
928
- });
929
- return s ? n : a || !f.current && o ? null : n;
930
- }
931
- const We = ["active", "eventKey", "mountOnEnter", "transition", "unmountOnExit", "role", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited"], Be = ["activeKey", "getControlledId", "getControllerId"], Ye = ["as"];
932
- function K(t, s) {
933
- if (t == null) return {};
934
- var c = {};
935
- for (var o in t) if ({}.hasOwnProperty.call(t, o)) {
936
- if (s.indexOf(o) >= 0) continue;
937
- c[o] = t[o];
938
- }
939
- return c;
940
- }
941
- function ae(t) {
942
- let {
943
- active: s,
944
- eventKey: c,
945
- mountOnEnter: o,
946
- transition: a,
947
- unmountOnExit: r,
948
- role: f = "tabpanel",
949
- onEnter: d,
950
- onEntering: u,
951
- onEntered: n,
952
- onExit: p,
953
- onExiting: i,
954
- onExited: e
955
- } = t, l = K(t, We);
956
- const m = de(j);
957
- if (!m) return [Object.assign({}, l, {
958
- role: f
959
- }), {
960
- eventKey: c,
961
- isActive: s,
962
- mountOnEnter: o,
963
- transition: a,
964
- unmountOnExit: r,
965
- onEnter: d,
966
- onEntering: u,
967
- onEntered: n,
968
- onExit: p,
969
- onExiting: i,
970
- onExited: e
971
- }];
972
- const {
973
- activeKey: y,
974
- getControlledId: O,
975
- getControllerId: w
976
- } = m, M = K(m, Be), A = B(c);
977
- return [Object.assign({}, l, {
978
- role: f,
979
- id: O(c),
980
- "aria-labelledby": w(c)
981
- }), {
982
- eventKey: c,
983
- isActive: s == null && A != null ? B(y) === A : s,
984
- transition: a || M.transition,
985
- mountOnEnter: o ?? M.mountOnEnter,
986
- unmountOnExit: r ?? M.unmountOnExit,
987
- onEnter: d,
988
- onEntering: u,
989
- onEntered: n,
990
- onExit: p,
991
- onExiting: i,
992
- onExited: e
993
- }];
994
- }
995
- const se = /* @__PURE__ */ C.forwardRef(
996
- // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
997
- (t, s) => {
998
- let {
999
- as: c = "div"
1000
- } = t, o = K(t, Ye);
1001
- const [a, {
1002
- isActive: r,
1003
- onEnter: f,
1004
- onEntering: d,
1005
- onEntered: u,
1006
- onExit: n,
1007
- onExiting: p,
1008
- onExited: i,
1009
- mountOnEnter: e,
1010
- unmountOnExit: l,
1011
- transition: m = oe
1012
- }] = ae(o);
1013
- return /* @__PURE__ */ v(j.Provider, {
1014
- value: null,
1015
- children: /* @__PURE__ */ v($.Provider, {
1016
- value: null,
1017
- children: /* @__PURE__ */ v(m, {
1018
- in: r,
1019
- onEnter: f,
1020
- onEntering: d,
1021
- onEntered: u,
1022
- onExit: n,
1023
- onExiting: p,
1024
- onExited: i,
1025
- mountOnEnter: e,
1026
- unmountOnExit: l,
1027
- children: /* @__PURE__ */ v(c, Object.assign({}, a, {
1028
- ref: s,
1029
- hidden: !r,
1030
- "aria-hidden": !r
1031
- }))
1032
- })
1033
- })
1034
- });
1035
- }
1036
- );
1037
- se.displayName = "TabPanel";
1038
- const Xe = (t) => {
1039
- const {
1040
- id: s,
1041
- generateChildId: c,
1042
- onSelect: o,
1043
- activeKey: a,
1044
- defaultActiveKey: r,
1045
- transition: f,
1046
- mountOnEnter: d,
1047
- unmountOnExit: u,
1048
- children: n
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(() => ({
1050
- onSelect: i,
1051
- activeKey: p,
1052
- transition: f,
1053
- mountOnEnter: d || !1,
1054
- unmountOnExit: u || !1,
1055
- getControlledId: (y) => l(y, "tabpane"),
1056
- getControllerId: (y) => l(y, "tab")
1057
- }), [i, p, f, d, u, l]);
1058
- return /* @__PURE__ */ v(j.Provider, {
1059
- value: m,
1060
- children: /* @__PURE__ */ v($.Provider, {
1061
- value: i || null,
1062
- children: n
1063
- })
1064
- });
1065
- };
1066
- Xe.Panel = se;
1067
- function ze(t) {
1068
- return typeof t == "boolean" ? t ? W : oe : t;
1069
- }
1070
- const Ze = /* @__PURE__ */ C.forwardRef(({
1071
- className: t,
1072
- bsPrefix: s,
1073
- as: c = "div",
1074
- ...o
1075
- }, a) => (s = te(s, "tab-content"), /* @__PURE__ */ v(c, {
1076
- ref: a,
1077
- className: q(t, s),
1078
- ...o
1079
- })));
1080
- Ze.displayName = "TabContent";
1081
- const Je = /* @__PURE__ */ C.forwardRef(({
1082
- bsPrefix: t,
1083
- transition: s,
1084
- ...c
1085
- }, o) => {
1086
- const [{
1087
- className: a,
1088
- // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
1089
- as: r = "div",
1090
- ...f
1091
- }, {
1092
- isActive: d,
1093
- onEnter: u,
1094
- onEntering: n,
1095
- onEntered: p,
1096
- onExit: i,
1097
- onExiting: e,
1098
- onExited: l,
1099
- mountOnEnter: m,
1100
- unmountOnExit: y,
1101
- transition: O = W
1102
- }] = ae({
1103
- ...c,
1104
- transition: ze(s)
1105
- }), w = te(t, "tab-pane");
1106
- return /* @__PURE__ */ v(j.Provider, {
1107
- value: null,
1108
- children: /* @__PURE__ */ v($.Provider, {
1109
- value: null,
1110
- children: /* @__PURE__ */ v(O, {
1111
- in: d,
1112
- onEnter: u,
1113
- onEntering: n,
1114
- onEntered: p,
1115
- onExit: i,
1116
- onExiting: e,
1117
- onExited: l,
1118
- mountOnEnter: m,
1119
- unmountOnExit: y,
1120
- children: /* @__PURE__ */ v(r, {
1121
- ...f,
1122
- ref: o,
1123
- className: q(a, w, d && "active")
1124
- })
1125
- })
1126
- })
1127
- });
1128
- });
1129
- Je.displayName = "TabPane";
1130
- export {
1131
- Xe as T,
1132
- Ze as a,
1133
- Je as b,
1134
- ze as g,
1135
- qe as u
1136
- };