react-ecosistema-unp 2.6.0 → 2.7.0
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/README.md +3 -1
- package/dist/{AppList-CNtk-CBh.js → AppList-BMiq1ohd.js} +65 -65
- package/dist/{Button-eLVX04GZ.js → Button-CFf-9Lsg.js} +1 -1
- package/dist/{Card-_JzS9Ssz.js → Card-pj1hogT6.js} +2 -2
- package/dist/{CardBody-CUEPjltD.js → CardBody-osBHz8Sj.js} +1 -1
- package/dist/FormCheck-C44kvYaC.js +109 -0
- package/dist/{FormControl-DshWdHuR.js → FormControl-CjlQ5vZ8.js} +6 -6
- package/dist/{FormGroup-B8RAswur.js → FormGroup-BKpeUcMi.js} +3 -3
- package/dist/{Spinner-D69BfVXa.js → Spinner-DlaZVI7E.js} +1 -1
- package/dist/{TabPane-D71zhQGl.js → TabPane-C7rqu9vB.js} +1 -1
- package/dist/{Table-cUZFLrPi.js → Table-CYSh6C16.js} +1 -1
- package/dist/ThemeProvider-D8TYBK1p.js +41 -0
- package/dist/assets/SmartTextArea.css +1 -1
- package/dist/cards/tarjeta/Tarjeta.js +3 -3
- package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +2 -2
- package/dist/cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js +1 -1
- package/dist/cards/tarjeta-info/TarjetaInfo.js +3 -3
- package/dist/cards/tarjeta-lectura/TarjetaLectura.js +1 -1
- package/dist/data/tarjeta-datos/TarjetaDatos.js +2 -2
- package/dist/ia/diccionario/analisisRiesgo.js +245 -0
- package/dist/ia/diccionario/index.js +9 -0
- package/dist/ia/diccionario/tipos.js +4 -0
- package/dist/ia/larissa/larissaService.js +160 -0
- package/dist/ia/smart-textarea/DiffResult.js +7 -0
- package/dist/ia/smart-textarea/SmartTextArea.js +550 -0
- package/dist/ia/smart-textarea/diff.js +55 -0
- package/dist/ia.js +26 -0
- package/dist/{index-HaNVi1BU.js → index-DBLHT45t.js} +61 -61
- package/dist/lib/ia/diccionario/analisisRiesgo.d.ts +170 -0
- package/dist/lib/ia/diccionario/index.d.ts +10 -0
- package/dist/lib/ia/diccionario/tipos.d.ts +40 -0
- package/dist/lib/ia/larissa/larissaService.d.ts +153 -0
- package/dist/lib/ia/smart-textarea/DiffResult.d.ts +7 -0
- package/dist/lib/ia/smart-textarea/SmartTextArea.d.ts +82 -0
- package/dist/lib/ia/smart-textarea/diff.d.ts +15 -0
- package/dist/lib/ia.d.ts +8 -0
- package/dist/lib/ui.d.ts +0 -2
- package/dist/shared/app-list/AppList.js +2 -2
- package/dist/shared/breadcrumb/Breadcrumb.js +1 -1
- package/dist/shared/iconos-sistema/IconosSistema.js +1 -1
- package/dist/shared/iconos-sistema/logout-button/LogoutButton.js +1 -1
- package/dist/shared/menu-lateral/MenuLateral.js +3 -4
- package/dist/shared/notificacion-usuario/NotificacionUsuario.js +20 -21
- package/dist/shared/tab-ventana/TabVentana.js +1 -1
- package/dist/shared/ventana-tabs/VentanaTabs.js +3 -3
- package/dist/tables/custom-data-table/CustomDataTable.js +4 -5
- package/dist/tables/custom-data-table-split/CustomDataTableSplit.js +4 -5
- package/dist/tables/eco-data-table/components/EcoBandejaEncabezado.js +3 -4
- package/dist/tables/eco-data-table/components/EcoDataTable/EcoDataTable.js +14 -14
- package/dist/tables/eco-data-table/components/EcoDataTableLoading.js +1 -1
- package/dist/tables/eco-data-table/components/EcoDataTablePageStatus.js +1 -1
- package/dist/tables/tabla-registros/buscador/Buscador.js +4 -4
- package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +3 -4
- package/dist/tables/tabla-registros/modal-v2/EcoModal.js +8 -8
- package/dist/tables/tabla-registros/tabla/Tabla.js +17 -17
- package/dist/ui/alertas/AlertaFormulario.js +1 -1
- package/dist/ui/contenido-modal/ContenidoModal.js +1 -1
- package/dist/ui/contenido-modal/ContenidoModalv0.1.js +1 -1
- package/dist/ui/contenido-modal-v2/ContenidoModalV2.js +3 -3
- package/dist/ui/contenido-modal-v2/ModalV2Menu.js +1 -1
- package/dist/ui/icono-tooltip/IconoTooltip.js +24 -24
- package/dist/ui/items-modal/ItemsModal.js +1 -1
- package/dist/ui/nav-formularios-lateral/NavFormulariosLateral.js +1 -1
- package/dist/ui/notificacion-popover-v2/NotificacionPopoverV2.js +55 -55
- package/dist/ui/paginador/Paginador.js +2 -2
- package/dist/ui/seccion-formulario/SeccionFormulario.js +1 -1
- package/dist/ui/status-filter-bar/StatusFilterBar.js +7 -7
- package/dist/ui/status-semaphore/StatusSemaphore.js +1 -1
- package/dist/ui/stepper-v2/StepperV2.js +2 -2
- package/dist/ui.js +6 -8
- package/dist/utils/eco-provider/EcoContext.js +3 -4
- package/dist/utils/modal-radicados/AuxRadicadosComponents/TarjetaRadicado.js +11 -12
- package/dist/utils/modal-radicados/DocumentoVisorEstado.js +4 -5
- package/dist/utils/modal-radicados/ModalDocumento.js +10 -10
- package/dist/utils/modal-radicados/ModalRadicado.js +152 -254
- package/dist/utils/unp-historico/UnpHistorico.js +4 -5
- package/package.json +5 -2
- package/dist/ThemeProvider-Cv61y4Uy.js +0 -27
- package/dist/lib/ui/smart-textarea/SmartTextArea.d.ts +0 -17
- package/dist/ui/smart-textarea/SmartTextArea.js +0 -123
package/README.md
CHANGED
|
@@ -128,12 +128,13 @@ import { EcoDataTable } from 'react-ecosistema-unp/tables';
|
|
|
128
128
|
|
|
129
129
|
| Módulo | Importación | Contenido principal |
|
|
130
130
|
|--------|-------------|---------------------|
|
|
131
|
-
| UI | `react-ecosistema-unp/ui` | `Encabezado`, `EncabezadoV2`, `Subtitulo`, `Logo`, `Paginador`, `PaginadorV2`, `StepperV2`, `Animacion`, `ContenedorVentana`, `IconoTooltip`, `ItemsModal`, `ContenidoModal`, `ContenidoModalV2`, `EcoModal`, `CustomModal`, `SeccionFormulario`, `AlertaFormulario`, `
|
|
131
|
+
| UI | `react-ecosistema-unp/ui` | `Encabezado`, `EncabezadoV2`, `Subtitulo`, `Logo`, `Paginador`, `PaginadorV2`, `StepperV2`, `Animacion`, `ContenedorVentana`, `IconoTooltip`, `ItemsModal`, `ContenidoModal`, `ContenidoModalV2`, `EcoModal`, `CustomModal`, `SeccionFormulario`, `AlertaFormulario`, `StatusSemaphore`, `StatusFilterBar`, `TableSkeleton`, `DatosBasicosCard`, `NavFormulariosLateral`, `CardGestionLateral`, `NotificacionBellV2`, `ResumenEvaluacionTable`, `EcoFooter` |
|
|
132
132
|
| Shared | `react-ecosistema-unp/shared` | `VentanaLienzo`, `VentanaTabs`, `TabVentana`, `VentanaSesion`, `VentanaSesionMarca`, `FooterInstitucionalSesion`, `IconosSistema` |
|
|
133
133
|
| Cards | `react-ecosistema-unp/cards` | `Tarjeta`, `SeccionTarjeta`, `ContenedorTarjeta`, `NuevoElemento`, `TarjetaLectura`, `SeccionTarjetaLectura`, `TarjetaInfo` |
|
|
134
134
|
| Tables | `react-ecosistema-unp/tables` | `EcoDataTable` y sus piezas (`EcoDataTablePaginator`, `EcoBandejaEncabezado`, `EcoDataTableSelectionToolbar`…), los hooks `useEcoTablePagination`, `useEcoTableSelection`, `useEcoTableReorder` y `useEcoTableServerPages`, `CustomDataTable`, `CustomDataTableSplit`, `CustomTableToolbar`, `TablaRegistros` |
|
|
135
135
|
| Utils | `react-ecosistema-unp/utils` | `EcoProvider`, `ProtectedRoute`, `UserRoute`, `useFetchData`, `useFormValidation`, `CaptchaEcosistema`, `useWebSocket`, `ModalRadicado`, `ModalDocumento`, `VisorDocumento`, `UnpHistorico`, `Toaster`, `formatDate` |
|
|
136
136
|
| Auth | `react-ecosistema-unp/auth` | `AuthProvider`, `useAuth`, `auth` |
|
|
137
|
+
| IA | `react-ecosistema-unp/ia` | `SmartTextArea` con Larissa y métricas por `ubicacion`, `fetchLarissaCorrection`, `informarAplicado`, `computeDiff` y el diccionario `UBICACION_IA` (solo DER) |
|
|
137
138
|
| Accessibility | `react-ecosistema-unp/accessibility` | `BarraAccesibilidad` |
|
|
138
139
|
| Data | `react-ecosistema-unp/data` | `DocsEcosistema` |
|
|
139
140
|
| Estilos | `react-ecosistema-unp/styles/EcoStyles.css` | Hoja de estilos base del ecosistema |
|
|
@@ -154,6 +155,7 @@ Cada guía describe las propiedades de los componentes del módulo y trae ejempl
|
|
|
154
155
|
| [Tablas y modales](docs/tables.md) | `EcoDataTable`, tablas anteriores y modales de tabla |
|
|
155
156
|
| [Utilidades](docs/utils.md) | Proveedor, rutas, peticiones, validaciones, captcha y WebSocket |
|
|
156
157
|
| [Autenticación](docs/auth.md) | Sesión, rutas protegidas y uso del gateway |
|
|
158
|
+
| [IA / Larissa](docs/ia.md) | Campo con corrección de ortografía y redacción, configuración global y métricas |
|
|
157
159
|
| [Datos](docs/data.md) | Catálogo de documentos del ecosistema |
|
|
158
160
|
| [Accesibilidad](docs/accessibility.md) | Barra de accesibilidad |
|
|
159
161
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as e, Fragment as
|
|
1
|
+
import { jsx as e, Fragment as He, jsxs as ee } from "react/jsx-runtime";
|
|
2
2
|
import * as C from "react";
|
|
3
3
|
import { useEffect as W, useRef as V, useReducer as Ns, useContext as R, useCallback as J, useMemo as We, useState as gs } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { f as Ae, aa as zs, ab as hs, ac as vs, q as ws, ad as q, v as re, a1 as Cs, ae as Se, af as xe, ag as bs, ah as ie, ai as Ie, aj as $e, ak as ce, al as le, am as As, an as de, ao as ys, ap as X, aq as ke, ar as Fs, P as ue, as as x, w as Ge, a4 as Te, at as Oe, au as me, M as Rs, av as Ds, aw as Y, ax as Me, d as pe, ay as Es, E as Ps, az as Z, aA as fe, a7 as Ne, aB as Ss, aC as ge, aD as Q, aE as xs, aF as k, aG as Is, a8 as ze, N as $s, aH as he, aI as ks, W as Ue, aJ as ve, aK as Gs, aL as we, aM as Ce, aN as B, aO as be, $ as Ts } from "./index-DBLHT45t.js";
|
|
5
5
|
import { G as Os } from "./iconBase-DSKTHwal.js";
|
|
6
6
|
import { logger as Ms } from "./utils/logger/logger.js";
|
|
7
7
|
import { c as G } from "./index-ZphT3dr_.js";
|
|
8
|
-
import { u as T,
|
|
8
|
+
import { u as T, c as Us } from "./ThemeProvider-D8TYBK1p.js";
|
|
9
9
|
import { a as Ls, u as ye } from "./useMergedRefs-YI9EGKd_.js";
|
|
10
|
-
import { $ as Bs, S as se, m as ae, u as js, T as
|
|
11
|
-
import { u as
|
|
12
|
-
import { c as
|
|
10
|
+
import { $ as Bs, S as se, m as ae, u as js, T as _s } from "./TabContext-Du6X9q-A.js";
|
|
11
|
+
import { u as H } from "./useEventCallback-Bfo0-hwZ.js";
|
|
12
|
+
import { c as Hs, d as Ws, m as Vs, b as Js, a as Ks, j as Le, f as qs, u as Xs, e as Ys } from "./useIsomorphicEffect-DH-agvLb.js";
|
|
13
13
|
import { B as Ve } from "./Button-ChyKCwSh.js";
|
|
14
14
|
import { A as Je } from "./Anchor-BfRjyGjE.js";
|
|
15
|
-
import { w as
|
|
16
|
-
import { B as Qs } from "./Button-
|
|
15
|
+
import { w as Zs } from "./warning-DfuoVnCC.js";
|
|
16
|
+
import { B as Qs } from "./Button-CFf-9Lsg.js";
|
|
17
17
|
import './assets/AppList.css';function ea(o, t, n, r = !1) {
|
|
18
|
-
const c =
|
|
18
|
+
const c = H(n);
|
|
19
19
|
W(() => {
|
|
20
20
|
const i = typeof o == "function" ? o() : o;
|
|
21
21
|
return i.addEventListener(t, c, r), () => i.removeEventListener(t, c, r);
|
|
@@ -48,7 +48,7 @@ function na(o, t) {
|
|
|
48
48
|
const ra = () => {
|
|
49
49
|
};
|
|
50
50
|
function Ke(o = {}) {
|
|
51
|
-
const t = R(oe), [n, r] =
|
|
51
|
+
const t = R(oe), [n, r] = Hs(), c = V(!1), {
|
|
52
52
|
flip: i,
|
|
53
53
|
offset: l,
|
|
54
54
|
rootCloseEvent: d,
|
|
@@ -105,7 +105,7 @@ function qe(o) {
|
|
|
105
105
|
const [c, i] = Ke(Object.assign({}, r, {
|
|
106
106
|
usePopper: n
|
|
107
107
|
}));
|
|
108
|
-
return /* @__PURE__ */ e(
|
|
108
|
+
return /* @__PURE__ */ e(He, {
|
|
109
109
|
children: t(c, i)
|
|
110
110
|
});
|
|
111
111
|
}
|
|
@@ -115,7 +115,7 @@ const Xe = (o) => {
|
|
|
115
115
|
return ((t = o.getAttribute("role")) == null ? void 0 : t.toLowerCase()) === "menu";
|
|
116
116
|
}, je = () => {
|
|
117
117
|
};
|
|
118
|
-
function
|
|
118
|
+
function Ye() {
|
|
119
119
|
const o = Bs(), {
|
|
120
120
|
show: t = !1,
|
|
121
121
|
toggle: n = je,
|
|
@@ -134,15 +134,15 @@ function Ze() {
|
|
|
134
134
|
toggle: n
|
|
135
135
|
}];
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Ze({
|
|
138
138
|
children: o
|
|
139
139
|
}) {
|
|
140
|
-
const [t, n] =
|
|
141
|
-
return /* @__PURE__ */ e(
|
|
140
|
+
const [t, n] = Ye();
|
|
141
|
+
return /* @__PURE__ */ e(He, {
|
|
142
142
|
children: o(t, n)
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
Ze.displayName = "DropdownToggle";
|
|
146
146
|
const Fe = /* @__PURE__ */ C.createContext(null);
|
|
147
147
|
Fe.displayName = "NavContext";
|
|
148
148
|
const ia = "data-rr-ui-", ca = "rrUi";
|
|
@@ -173,7 +173,7 @@ function Qe({
|
|
|
173
173
|
activeKey: d
|
|
174
174
|
} = l || {}, f = ae(o, t), u = n == null && o != null ? ae(d) === f : n;
|
|
175
175
|
return [{
|
|
176
|
-
onClick:
|
|
176
|
+
onClick: H((m) => {
|
|
177
177
|
r || (c == null || c(m), i && !m.isPropagationStopped() && i(f, m));
|
|
178
178
|
}),
|
|
179
179
|
"aria-disabled": r || void 0,
|
|
@@ -203,7 +203,7 @@ const es = /* @__PURE__ */ C.forwardRef((o, t) => {
|
|
|
203
203
|
}, f));
|
|
204
204
|
});
|
|
205
205
|
es.displayName = "DropdownItem";
|
|
206
|
-
function
|
|
206
|
+
function _e() {
|
|
207
207
|
const o = oa(), t = V(null), n = J((r) => {
|
|
208
208
|
t.current = r, o();
|
|
209
209
|
}, [o]);
|
|
@@ -219,12 +219,12 @@ function K({
|
|
|
219
219
|
placement: l = "bottom-start",
|
|
220
220
|
children: d
|
|
221
221
|
}) {
|
|
222
|
-
const f = Ks(), [u, p] = js(t, o, r), [m, z] =
|
|
222
|
+
const f = Ks(), [u, p] = js(t, o, r), [m, z] = _e(), h = m.current, [D, E] = _e(), y = D.current, O = sa(u), P = V(null), v = V(!1), M = R(se), b = J((N, g, A = g == null ? void 0 : g.type) => {
|
|
223
223
|
p(N, {
|
|
224
224
|
originalEvent: g,
|
|
225
225
|
source: A
|
|
226
226
|
});
|
|
227
|
-
}, [p]), U =
|
|
227
|
+
}, [p]), U = H((N, g) => {
|
|
228
228
|
n == null || n(N, g), b(!1, g, "select"), g.isPropagationStopped() || M == null || M(N, g);
|
|
229
229
|
}), F = We(() => ({
|
|
230
230
|
toggle: b,
|
|
@@ -236,9 +236,9 @@ function K({
|
|
|
236
236
|
setToggle: E
|
|
237
237
|
}), [b, l, u, h, y, z, E]);
|
|
238
238
|
h && O && !u && (v.current = h.contains(h.ownerDocument.activeElement));
|
|
239
|
-
const w =
|
|
239
|
+
const w = H(() => {
|
|
240
240
|
y && y.focus && y.focus();
|
|
241
|
-
}),
|
|
241
|
+
}), I = H(() => {
|
|
242
242
|
const N = P.current;
|
|
243
243
|
let g = i;
|
|
244
244
|
if (g == null && (g = m.current && Xe(m.current) ? "keyboard" : !1), g === !1 || g === "keyboard" && !/^key.+$/.test(N))
|
|
@@ -247,11 +247,11 @@ function K({
|
|
|
247
247
|
A && A.focus && A.focus();
|
|
248
248
|
});
|
|
249
249
|
W(() => {
|
|
250
|
-
u ?
|
|
251
|
-
}, [u, v, w,
|
|
250
|
+
u ? I() : v.current && (v.current = !1, w());
|
|
251
|
+
}, [u, v, w, I]), W(() => {
|
|
252
252
|
P.current = null;
|
|
253
253
|
});
|
|
254
|
-
const
|
|
254
|
+
const _ = (N, g) => {
|
|
255
255
|
if (!m.current) return null;
|
|
256
256
|
const A = Be(m.current, c);
|
|
257
257
|
let $ = A.indexOf(N) + g;
|
|
@@ -271,7 +271,7 @@ function K({
|
|
|
271
271
|
};
|
|
272
272
|
switch ($) {
|
|
273
273
|
case "ArrowUp": {
|
|
274
|
-
const S =
|
|
274
|
+
const S = _(L, -1);
|
|
275
275
|
S && S.focus && S.focus(), N.preventDefault();
|
|
276
276
|
return;
|
|
277
277
|
}
|
|
@@ -279,7 +279,7 @@ function K({
|
|
|
279
279
|
if (N.preventDefault(), !u)
|
|
280
280
|
p(!0, ne);
|
|
281
281
|
else {
|
|
282
|
-
const S =
|
|
282
|
+
const S = _(L, 1);
|
|
283
283
|
S && S.focus && S.focus();
|
|
284
284
|
}
|
|
285
285
|
return;
|
|
@@ -305,7 +305,7 @@ function K({
|
|
|
305
305
|
}
|
|
306
306
|
K.displayName = "Dropdown";
|
|
307
307
|
K.Menu = qe;
|
|
308
|
-
K.Toggle =
|
|
308
|
+
K.Toggle = Ze;
|
|
309
309
|
K.Item = es;
|
|
310
310
|
const Re = /* @__PURE__ */ C.createContext({});
|
|
311
311
|
Re.displayName = "DropdownContext";
|
|
@@ -412,7 +412,7 @@ const cs = /* @__PURE__ */ C.forwardRef(({
|
|
|
412
412
|
if (n)
|
|
413
413
|
if (typeof n == "object") {
|
|
414
414
|
const N = Object.keys(n);
|
|
415
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
415
|
+
if (process.env.NODE_ENV !== "production" && Zs(N.length === 1, "There should only be 1 breakpoint when passing an object to `align`"), N.length) {
|
|
416
416
|
const g = N[0], A = n[g];
|
|
417
417
|
z = A === "start", v.push(`${D}-${g}-${A}`);
|
|
418
418
|
}
|
|
@@ -421,7 +421,7 @@ const cs = /* @__PURE__ */ C.forwardRef(({
|
|
|
421
421
|
hasShown: U,
|
|
422
422
|
popper: F,
|
|
423
423
|
show: w,
|
|
424
|
-
toggle:
|
|
424
|
+
toggle: I
|
|
425
425
|
}] = Ke({
|
|
426
426
|
flip: c,
|
|
427
427
|
rootCloseEvent: r,
|
|
@@ -434,15 +434,15 @@ const cs = /* @__PURE__ */ C.forwardRef(({
|
|
|
434
434
|
if (b.ref = ye(rs(m, "DropdownMenu"), b.ref), qs(() => {
|
|
435
435
|
w && (F == null || F.update());
|
|
436
436
|
}, [w]), !U && !l && !P) return null;
|
|
437
|
-
typeof d != "string" && (b.show = w, b.close = () =>
|
|
438
|
-
let
|
|
439
|
-
return F != null && F.placement && (
|
|
437
|
+
typeof d != "string" && (b.show = w, b.close = () => I == null ? void 0 : I(!1), b.align = n);
|
|
438
|
+
let _ = p.style;
|
|
439
|
+
return F != null && F.placement && (_ = {
|
|
440
440
|
...p.style,
|
|
441
441
|
...b.style
|
|
442
442
|
}, p["x-placement"] = F.placement), /* @__PURE__ */ e(d, {
|
|
443
443
|
...p,
|
|
444
444
|
...b,
|
|
445
|
-
style:
|
|
445
|
+
style: _,
|
|
446
446
|
...(v.length || h) && {
|
|
447
447
|
"data-bs-popper": "static"
|
|
448
448
|
},
|
|
@@ -461,7 +461,7 @@ const ls = /* @__PURE__ */ C.forwardRef(({
|
|
|
461
461
|
}, l) => {
|
|
462
462
|
const d = T(o, "dropdown-toggle"), f = R(oe);
|
|
463
463
|
r !== void 0 && (i.bsPrefix = r);
|
|
464
|
-
const [u] =
|
|
464
|
+
const [u] = Ye();
|
|
465
465
|
return u.ref = ye(u.ref, rs(l, "DropdownToggle")), /* @__PURE__ */ e(c, {
|
|
466
466
|
className: G(n, d, t && `${d}-split`, (f == null ? void 0 : f.show) && "show"),
|
|
467
467
|
...u,
|
|
@@ -486,9 +486,9 @@ const ds = /* @__PURE__ */ C.forwardRef((o, t) => {
|
|
|
486
486
|
...h
|
|
487
487
|
} = Xs(o, {
|
|
488
488
|
show: "onToggle"
|
|
489
|
-
}), D = R(De), E = T(n, "dropdown"), y = Us(), O = (F) => z === !1 ? F === "click" : z === "inside" ? F !== "rootClose" : z === "outside" ? F !== "select" : !0, P =
|
|
490
|
-
var
|
|
491
|
-
!((
|
|
489
|
+
}), D = R(De), E = T(n, "dropdown"), y = Us(), O = (F) => z === !1 ? F === "click" : z === "inside" ? F !== "rootClose" : z === "outside" ? F !== "select" : !0, P = Ys((F, w) => {
|
|
490
|
+
var I;
|
|
491
|
+
!((I = w.originalEvent) == null || (I = I.target) == null) && I.classList.contains("dropdown-toggle") && w.source === "mousedown" || (w.originalEvent.currentTarget === document && (w.source !== "keydown" || w.originalEvent.key === "Escape") && (w.source = "rootClose"), O(w.source) && (f == null || f(F, w)));
|
|
492
492
|
}), M = is(l === "end", r, y), b = We(() => ({
|
|
493
493
|
align: l,
|
|
494
494
|
drop: r,
|
|
@@ -544,7 +544,7 @@ function us({
|
|
|
544
544
|
role: c,
|
|
545
545
|
disabled: i
|
|
546
546
|
}) {
|
|
547
|
-
const l = R(se), d = R(Fe), f = R(
|
|
547
|
+
const l = R(se), d = R(Fe), f = R(_s);
|
|
548
548
|
let u = n;
|
|
549
549
|
const p = {
|
|
550
550
|
role: c
|
|
@@ -554,7 +554,7 @@ function us({
|
|
|
554
554
|
const m = d.getControllerId(o ?? null), z = d.getControlledId(o ?? null);
|
|
555
555
|
p[te("event-key")] = o, p.id = m || r, u = n == null && o != null ? d.activeKey === o : n, (u || !(f != null && f.unmountOnExit) && !(f != null && f.mountOnEnter)) && (p["aria-controls"] = z);
|
|
556
556
|
}
|
|
557
|
-
return p.role === "tab" && (p["aria-selected"] = u, u || (p.tabIndex = -1), i && (p.tabIndex = -1, p["aria-disabled"] = !0)), p.onClick =
|
|
557
|
+
return p.role === "tab" && (p["aria-selected"] = u, u || (p.tabIndex = -1), i && (p.tabIndex = -1, p["aria-disabled"] = !0)), p.onClick = H((m) => {
|
|
558
558
|
i || (t == null || t(m), o != null && l && !m.isPropagationStopped() && l(o, m));
|
|
559
559
|
}), [p, {
|
|
560
560
|
isActive: u
|
|
@@ -676,7 +676,7 @@ const s = 24, a = "icon-app-2", ga = {
|
|
|
676
676
|
"Reparto Juridico Cerrem": /* @__PURE__ */ e(k, { size: s, className: a }),
|
|
677
677
|
"Reparto Inactivaciones": /* @__PURE__ */ e(we, { size: s, className: a }),
|
|
678
678
|
// Gestión de personas / población
|
|
679
|
-
"Gestor Poblacional": /* @__PURE__ */ e(
|
|
679
|
+
"Gestor Poblacional": /* @__PURE__ */ e(Z, { size: s, className: a }),
|
|
680
680
|
"Persona de Protección": /* @__PURE__ */ e(Gs, { size: s, className: a }),
|
|
681
681
|
// Analistas
|
|
682
682
|
"Analista de Asignaciones": /* @__PURE__ */ e(X, { size: s, className: a }),
|
|
@@ -692,24 +692,24 @@ const s = 24, a = "icon-app-2", ga = {
|
|
|
692
692
|
"Gestor de Asignaciones Col": /* @__PURE__ */ e(Ue, { size: s, className: a }),
|
|
693
693
|
"Asignaciones Gscp": /* @__PURE__ */ e(X, { size: s, className: a }),
|
|
694
694
|
// Abogados / Jurídicos
|
|
695
|
-
"Abogado Sustanciador": /* @__PURE__ */ e(
|
|
696
|
-
"Abogado Despacho": /* @__PURE__ */ e(
|
|
697
|
-
"Abogado Notificación": /* @__PURE__ */ e(
|
|
698
|
-
"Abogado (GRAERR)": /* @__PURE__ */ e(
|
|
699
|
-
"Abogado Inactivaciones": /* @__PURE__ */ e(
|
|
700
|
-
"Abogado Cerrem": /* @__PURE__ */ e(
|
|
695
|
+
"Abogado Sustanciador": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
696
|
+
"Abogado Despacho": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
697
|
+
"Abogado Notificación": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
698
|
+
"Abogado (GRAERR)": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
699
|
+
"Abogado Inactivaciones": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
700
|
+
"Abogado Cerrem": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
701
701
|
"Abogado contratos": /* @__PURE__ */ e(ks, { size: s, className: a }),
|
|
702
|
-
"Abog. Comisionado Sust.": /* @__PURE__ */ e(
|
|
702
|
+
"Abog. Comisionado Sust.": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
703
703
|
"Abog. Revisor": /* @__PURE__ */ e(he, { size: s, className: a }),
|
|
704
704
|
"Lider Jurídico": /* @__PURE__ */ e($s, { size: s, className: a }),
|
|
705
705
|
"Líder Inactivaciones": /* @__PURE__ */ e(Ne, { size: s, className: a }),
|
|
706
|
-
"Apoyo jurídico": /* @__PURE__ */ e(
|
|
707
|
-
"Jurídico OAJ": /* @__PURE__ */ e(
|
|
706
|
+
"Apoyo jurídico": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
707
|
+
"Jurídico OAJ": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
708
708
|
// Notificaciones
|
|
709
709
|
"Notificación Resolución": /* @__PURE__ */ e(ze, { size: s, className: a }),
|
|
710
710
|
Notificador: /* @__PURE__ */ e(ze, { size: s, className: a }),
|
|
711
711
|
"Gestor Notificador": /* @__PURE__ */ e(ze, { size: s, className: a }),
|
|
712
|
-
"Notificaciones Masivas": /* @__PURE__ */ e(
|
|
712
|
+
"Notificaciones Masivas": /* @__PURE__ */ e(Is, { size: s, className: a }),
|
|
713
713
|
// Coordinaciones
|
|
714
714
|
"Coordinación GRAERR": /* @__PURE__ */ e(k, { size: s, className: a }),
|
|
715
715
|
"Coordinación CTAR": /* @__PURE__ */ e(k, { size: s, className: a }),
|
|
@@ -726,7 +726,7 @@ const s = 24, a = "icon-app-2", ga = {
|
|
|
726
726
|
"Subdirección SESP": /* @__PURE__ */ e(pe, { size: s, className: a }),
|
|
727
727
|
"Subdirección SER": /* @__PURE__ */ e(pe, { size: s, className: a }),
|
|
728
728
|
// Dirección
|
|
729
|
-
"Director General de la UNP": /* @__PURE__ */ e(
|
|
729
|
+
"Director General de la UNP": /* @__PURE__ */ e(xs, { size: s, className: a }),
|
|
730
730
|
// Jefes
|
|
731
731
|
"Jefe OCDI": /* @__PURE__ */ e(Q, { size: s, className: a }),
|
|
732
732
|
"Jefe OAJ": /* @__PURE__ */ e(Q, { size: s, className: a }),
|
|
@@ -735,7 +735,7 @@ const s = 24, a = "icon-app-2", ga = {
|
|
|
735
735
|
Administrador: /* @__PURE__ */ e(ge, { size: s, className: a }),
|
|
736
736
|
"Administrador ASP": /* @__PURE__ */ e(ge, { size: s, className: a }),
|
|
737
737
|
"Administrador contratación": /* @__PURE__ */ e(ge, { size: s, className: a }),
|
|
738
|
-
"Administrador mant. vehículos": /* @__PURE__ */ e(
|
|
738
|
+
"Administrador mant. vehículos": /* @__PURE__ */ e(xe, { size: s, className: a }),
|
|
739
739
|
"Administrador Transferencias": /* @__PURE__ */ e(Ss, { size: s, className: a }),
|
|
740
740
|
"Administrador Base de Datos": /* @__PURE__ */ e(me, { size: s, className: a }),
|
|
741
741
|
// Líderes / APP
|
|
@@ -744,13 +744,13 @@ const s = 24, a = "icon-app-2", ga = {
|
|
|
744
744
|
"Líder ASP": /* @__PURE__ */ e(Ne, { size: s, className: a }),
|
|
745
745
|
// Gestores varios
|
|
746
746
|
"Gestor Viáticos": /* @__PURE__ */ e(fe, { size: s, className: a }),
|
|
747
|
-
"Gestores ASP": /* @__PURE__ */ e(
|
|
748
|
-
"Gestores UT": /* @__PURE__ */ e(
|
|
747
|
+
"Gestores ASP": /* @__PURE__ */ e(Z, { size: s, className: a }),
|
|
748
|
+
"Gestores UT": /* @__PURE__ */ e(Z, { size: s, className: a }),
|
|
749
749
|
"Gestor de mantenimiento": /* @__PURE__ */ e(le, { size: s, className: a }),
|
|
750
750
|
"Gestor mant. vehículos": /* @__PURE__ */ e(le, { size: s, className: a }),
|
|
751
751
|
"Gestor Trámite": /* @__PURE__ */ e(X, { size: s, className: a }),
|
|
752
752
|
"Gestor Registros CTAR": /* @__PURE__ */ e(me, { size: s, className: a }),
|
|
753
|
-
"Gestor de roles": /* @__PURE__ */ e(
|
|
753
|
+
"Gestor de roles": /* @__PURE__ */ e(Z, { size: s, className: a }),
|
|
754
754
|
"Gestor de archivos": /* @__PURE__ */ e(Ps, { size: s, className: a }),
|
|
755
755
|
"Gestión de Inventario": /* @__PURE__ */ e(Es, { size: s, className: a }),
|
|
756
756
|
"Gestión UNP": /* @__PURE__ */ e(pe, { size: s, className: a }),
|
|
@@ -758,10 +758,10 @@ const s = 24, a = "icon-app-2", ga = {
|
|
|
758
758
|
"Operador SICP": /* @__PURE__ */ e(Me, { size: s, className: a }),
|
|
759
759
|
"Operador NOA": /* @__PURE__ */ e(Me, { size: s, className: a }),
|
|
760
760
|
// Datos / Visualización
|
|
761
|
-
"Visor de datos DER": /* @__PURE__ */ e(
|
|
762
|
-
"Visor de datos CTAR": /* @__PURE__ */ e(
|
|
763
|
-
"Visor de datos (GT)": /* @__PURE__ */ e(
|
|
764
|
-
"Visor de datos (GSC)": /* @__PURE__ */ e(
|
|
761
|
+
"Visor de datos DER": /* @__PURE__ */ e(Y, { size: s, className: a }),
|
|
762
|
+
"Visor de datos CTAR": /* @__PURE__ */ e(Y, { size: s, className: a }),
|
|
763
|
+
"Visor de datos (GT)": /* @__PURE__ */ e(Y, { size: s, className: a }),
|
|
764
|
+
"Visor de datos (GSC)": /* @__PURE__ */ e(Y, { size: s, className: a }),
|
|
765
765
|
"Visualización de datos (SESP)": /* @__PURE__ */ e(Ds, { size: s, className: a }),
|
|
766
766
|
"Actualización de datos (SESP)": /* @__PURE__ */ e(Rs, { size: s, className: a }),
|
|
767
767
|
"Apoyo Gestión Datos": /* @__PURE__ */ e(me, { size: s, className: a }),
|
|
@@ -773,8 +773,8 @@ const s = 24, a = "icon-app-2", ga = {
|
|
|
773
773
|
"Consulta histórico (SIGOB)": /* @__PURE__ */ e(Ge, { size: s, className: a }),
|
|
774
774
|
"Consulta histórico (SER)": /* @__PURE__ */ e(Ge, { size: s, className: a }),
|
|
775
775
|
// Mesas / Comités
|
|
776
|
-
"Moderador Premesa": /* @__PURE__ */ e(
|
|
777
|
-
"Moderador Cerrem": /* @__PURE__ */ e(
|
|
776
|
+
"Moderador Premesa": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
777
|
+
"Moderador Cerrem": /* @__PURE__ */ e(x, { size: s, className: a }),
|
|
778
778
|
"Invitados Premesa": /* @__PURE__ */ e(ue, { size: s, className: a }),
|
|
779
779
|
Invitados: /* @__PURE__ */ e(ue, { size: s, className: a }),
|
|
780
780
|
"Invitados Cerrem": /* @__PURE__ */ e(ue, { size: s, className: a }),
|
|
@@ -800,12 +800,12 @@ const s = 24, a = "icon-app-2", ga = {
|
|
|
800
800
|
// Financiero / Contratación
|
|
801
801
|
"Enlace Viáticos": /* @__PURE__ */ e($e, { size: s, className: a }),
|
|
802
802
|
"Enlace contratación": /* @__PURE__ */ e($e, { size: s, className: a }),
|
|
803
|
-
SIIF: /* @__PURE__ */ e(
|
|
804
|
-
"Contabilidad contratación": /* @__PURE__ */ e(
|
|
803
|
+
SIIF: /* @__PURE__ */ e(Ie, { size: s, className: a }),
|
|
804
|
+
"Contabilidad contratación": /* @__PURE__ */ e(Ie, { size: s, className: a }),
|
|
805
805
|
"Tesorería contratación": /* @__PURE__ */ e(ie, { size: s, className: a }),
|
|
806
806
|
"Ordenador del gasto": /* @__PURE__ */ e(bs, { size: s, className: a }),
|
|
807
807
|
// Vehículos / Mantenimiento
|
|
808
|
-
"Solicitante mant. vehículos": /* @__PURE__ */ e(
|
|
808
|
+
"Solicitante mant. vehículos": /* @__PURE__ */ e(xe, { size: s, className: a }),
|
|
809
809
|
"Supervisor mant. vehículos": /* @__PURE__ */ e(Se, { size: s, className: a }),
|
|
810
810
|
// Supervisores / Verificadores
|
|
811
811
|
Supervisor: /* @__PURE__ */ e(Se, { size: s, className: a }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as i } from "./index-ZphT3dr_.js";
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import { u as B } from "./Button-ChyKCwSh.js";
|
|
4
|
-
import { u as N } from "./ThemeProvider-
|
|
4
|
+
import { u as N } from "./ThemeProvider-D8TYBK1p.js";
|
|
5
5
|
import { jsx as x } from "react/jsx-runtime";
|
|
6
6
|
const $ = /* @__PURE__ */ l.forwardRef(({
|
|
7
7
|
as: e,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as o } from "./index-ZphT3dr_.js";
|
|
2
2
|
import * as c from "react";
|
|
3
3
|
import { useMemo as $ } from "react";
|
|
4
|
-
import { u as m } from "./ThemeProvider-
|
|
5
|
-
import { C as n } from "./CardBody-
|
|
4
|
+
import { u as m } from "./ThemeProvider-D8TYBK1p.js";
|
|
5
|
+
import { C as n } from "./CardBody-osBHz8Sj.js";
|
|
6
6
|
import { jsx as t } from "react/jsx-runtime";
|
|
7
7
|
import { c as S } from "./CardHeaderContext-DVw0yHuy.js";
|
|
8
8
|
const f = ((e) => /* @__PURE__ */ c.forwardRef((a, r) => /* @__PURE__ */ t("div", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
2
|
import { c as d } from "./index-ZphT3dr_.js";
|
|
3
|
-
import { u as e } from "./ThemeProvider-
|
|
3
|
+
import { u as e } from "./ThemeProvider-D8TYBK1p.js";
|
|
4
4
|
import { jsx as p } from "react/jsx-runtime";
|
|
5
5
|
const c = /* @__PURE__ */ t.forwardRef(({
|
|
6
6
|
className: r,
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { c as F } from "./index-ZphT3dr_.js";
|
|
2
|
+
import * as C from "react";
|
|
3
|
+
import { useContext as I, useMemo as V } from "react";
|
|
4
|
+
import { b as n, a as b } from "./FormGroup-BKpeUcMi.js";
|
|
5
|
+
import { u as m } from "./ThemeProvider-D8TYBK1p.js";
|
|
6
|
+
import { jsx as s, jsxs as q, Fragment as x } from "react/jsx-runtime";
|
|
7
|
+
import { h as z } from "./ElementChildren-67NLtZ0A.js";
|
|
8
|
+
const v = /* @__PURE__ */ C.forwardRef(({
|
|
9
|
+
id: e,
|
|
10
|
+
bsPrefix: o,
|
|
11
|
+
className: a,
|
|
12
|
+
type: t = "checkbox",
|
|
13
|
+
isValid: r = !1,
|
|
14
|
+
isInvalid: c = !1,
|
|
15
|
+
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
16
|
+
as: d = "input",
|
|
17
|
+
...h
|
|
18
|
+
}, p) => {
|
|
19
|
+
const {
|
|
20
|
+
controlId: l
|
|
21
|
+
} = I(n);
|
|
22
|
+
return o = m(o, "form-check-input"), /* @__PURE__ */ s(d, {
|
|
23
|
+
...h,
|
|
24
|
+
ref: p,
|
|
25
|
+
type: t,
|
|
26
|
+
id: e || l,
|
|
27
|
+
className: F(a, o, r && "is-valid", c && "is-invalid")
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
v.displayName = "FormCheckInput";
|
|
31
|
+
const i = /* @__PURE__ */ C.forwardRef(({
|
|
32
|
+
bsPrefix: e,
|
|
33
|
+
className: o,
|
|
34
|
+
htmlFor: a,
|
|
35
|
+
...t
|
|
36
|
+
}, r) => {
|
|
37
|
+
const {
|
|
38
|
+
controlId: c
|
|
39
|
+
} = I(n);
|
|
40
|
+
return e = m(e, "form-check-label"), /* @__PURE__ */ s("label", {
|
|
41
|
+
...t,
|
|
42
|
+
ref: r,
|
|
43
|
+
htmlFor: a || c,
|
|
44
|
+
className: F(o, e)
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
i.displayName = "FormCheckLabel";
|
|
48
|
+
const w = /* @__PURE__ */ C.forwardRef(({
|
|
49
|
+
id: e,
|
|
50
|
+
bsPrefix: o,
|
|
51
|
+
bsSwitchPrefix: a,
|
|
52
|
+
inline: t = !1,
|
|
53
|
+
reverse: r = !1,
|
|
54
|
+
disabled: c = !1,
|
|
55
|
+
isValid: d = !1,
|
|
56
|
+
isInvalid: h = !1,
|
|
57
|
+
feedbackTooltip: p = !1,
|
|
58
|
+
feedback: l,
|
|
59
|
+
feedbackType: L,
|
|
60
|
+
className: R,
|
|
61
|
+
style: j,
|
|
62
|
+
title: $ = "",
|
|
63
|
+
type: f = "checkbox",
|
|
64
|
+
label: u,
|
|
65
|
+
children: k,
|
|
66
|
+
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
67
|
+
as: g = "input",
|
|
68
|
+
...O
|
|
69
|
+
}, B) => {
|
|
70
|
+
o = m(o, "form-check"), a = m(a, "form-switch");
|
|
71
|
+
const {
|
|
72
|
+
controlId: N
|
|
73
|
+
} = I(n), M = V(() => ({
|
|
74
|
+
controlId: e || N
|
|
75
|
+
}), [N, e]), y = !k && u != null && u !== !1 || z(k, i), T = /* @__PURE__ */ s(v, {
|
|
76
|
+
...O,
|
|
77
|
+
type: f === "switch" ? "checkbox" : f,
|
|
78
|
+
ref: B,
|
|
79
|
+
isValid: d,
|
|
80
|
+
isInvalid: h,
|
|
81
|
+
disabled: c,
|
|
82
|
+
as: g
|
|
83
|
+
});
|
|
84
|
+
return /* @__PURE__ */ s(n.Provider, {
|
|
85
|
+
value: M,
|
|
86
|
+
children: /* @__PURE__ */ s("div", {
|
|
87
|
+
style: j,
|
|
88
|
+
className: F(R, y && o, t && `${o}-inline`, r && `${o}-reverse`, f === "switch" && a),
|
|
89
|
+
children: k || /* @__PURE__ */ q(x, {
|
|
90
|
+
children: [T, y && /* @__PURE__ */ s(i, {
|
|
91
|
+
title: $,
|
|
92
|
+
children: u
|
|
93
|
+
}), l && /* @__PURE__ */ s(b, {
|
|
94
|
+
type: L,
|
|
95
|
+
tooltip: p,
|
|
96
|
+
children: l
|
|
97
|
+
})]
|
|
98
|
+
})
|
|
99
|
+
})
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
w.displayName = "FormCheck";
|
|
103
|
+
const K = Object.assign(w, {
|
|
104
|
+
Input: v,
|
|
105
|
+
Label: i
|
|
106
|
+
});
|
|
107
|
+
export {
|
|
108
|
+
K as F
|
|
109
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as F } from "./index-ZphT3dr_.js";
|
|
2
2
|
import * as C from "react";
|
|
3
3
|
import { useContext as N } from "react";
|
|
4
4
|
import { w as $ } from "./warning-DfuoVnCC.js";
|
|
5
|
-
import {
|
|
6
|
-
import { u as g } from "./ThemeProvider-
|
|
5
|
+
import { a as v, b as w } from "./FormGroup-BKpeUcMi.js";
|
|
6
|
+
import { u as g } from "./ThemeProvider-D8TYBK1p.js";
|
|
7
7
|
import { jsx as O } from "react/jsx-runtime";
|
|
8
8
|
const n = /* @__PURE__ */ C.forwardRef(({
|
|
9
9
|
bsPrefix: o,
|
|
@@ -19,7 +19,7 @@ const n = /* @__PURE__ */ C.forwardRef(({
|
|
|
19
19
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
20
20
|
as: d = "input",
|
|
21
21
|
...f
|
|
22
|
-
},
|
|
22
|
+
}, u) => {
|
|
23
23
|
const {
|
|
24
24
|
controlId: s
|
|
25
25
|
} = N(w);
|
|
@@ -27,10 +27,10 @@ const n = /* @__PURE__ */ C.forwardRef(({
|
|
|
27
27
|
...f,
|
|
28
28
|
type: r,
|
|
29
29
|
size: m,
|
|
30
|
-
ref:
|
|
30
|
+
ref: u,
|
|
31
31
|
readOnly: p,
|
|
32
32
|
id: a || s,
|
|
33
|
-
className:
|
|
33
|
+
className: F(e, c ? `${o}-plaintext` : o, t && `${o}-${t}`, r === "color" && `${o}-color`, i && "is-valid", l && "is-invalid")
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
n.displayName = "FormControl";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as i } from "./index-ZphT3dr_.js";
|
|
2
2
|
import * as f from "react";
|
|
3
|
-
import { u as c } from "./ThemeProvider-
|
|
3
|
+
import { u as c } from "./ThemeProvider-D8TYBK1p.js";
|
|
4
4
|
import { jsx as $ } from "react/jsx-runtime";
|
|
5
5
|
const d = /* @__PURE__ */ f.forwardRef(({
|
|
6
6
|
bsPrefix: r,
|
|
@@ -3,7 +3,7 @@ import { useContext as w, useMemo as T } from "react";
|
|
|
3
3
|
import { T as b, m as I, S as y, u as R, $ as k } from "./TabContext-Du6X9q-A.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { c as K } from "./index-ZphT3dr_.js";
|
|
6
|
-
import { u as N } from "./ThemeProvider-
|
|
6
|
+
import { u as N } from "./ThemeProvider-D8TYBK1p.js";
|
|
7
7
|
import { N as $, F as A } from "./NoopTransition-D8AxBGEr.js";
|
|
8
8
|
const F = ["active", "eventKey", "mountOnEnter", "transition", "unmountOnExit", "role", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited"], _ = ["activeKey", "getControlledId", "getControllerId"], B = ["as"];
|
|
9
9
|
function C(n, o) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as u } from "./index-ZphT3dr_.js";
|
|
2
2
|
import * as x from "react";
|
|
3
|
-
import { u as N } from "./ThemeProvider-
|
|
3
|
+
import { u as N } from "./ThemeProvider-D8TYBK1p.js";
|
|
4
4
|
import { jsx as $ } from "react/jsx-runtime";
|
|
5
5
|
const B = /* @__PURE__ */ x.forwardRef(({
|
|
6
6
|
bsPrefix: c,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { useContext as n } from "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
const i = ["xxl", "xl", "lg", "md", "sm", "xs"], a = "xs", o = /* @__PURE__ */ e.createContext({
|
|
5
|
+
prefixes: {},
|
|
6
|
+
breakpoints: i,
|
|
7
|
+
minBreakpoint: a
|
|
8
|
+
}), {
|
|
9
|
+
Consumer: u,
|
|
10
|
+
Provider: m
|
|
11
|
+
} = o;
|
|
12
|
+
function x(t, r) {
|
|
13
|
+
const {
|
|
14
|
+
prefixes: s
|
|
15
|
+
} = n(o);
|
|
16
|
+
return t || s[r] || r;
|
|
17
|
+
}
|
|
18
|
+
function B() {
|
|
19
|
+
const {
|
|
20
|
+
breakpoints: t
|
|
21
|
+
} = n(o);
|
|
22
|
+
return t;
|
|
23
|
+
}
|
|
24
|
+
function f() {
|
|
25
|
+
const {
|
|
26
|
+
minBreakpoint: t
|
|
27
|
+
} = n(o);
|
|
28
|
+
return t;
|
|
29
|
+
}
|
|
30
|
+
function k() {
|
|
31
|
+
const {
|
|
32
|
+
dir: t
|
|
33
|
+
} = n(o);
|
|
34
|
+
return t === "rtl";
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
B as a,
|
|
38
|
+
f as b,
|
|
39
|
+
k as c,
|
|
40
|
+
x as u
|
|
41
|
+
};
|