@acvl/frontend-components 0.0.78 → 0.0.80
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +569 -14
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _mui_material from '@mui/material';
|
|
2
2
|
import { ButtonProps, ButtonGroupProps, IconButtonProps, MenuItemProps, BoxProps, AutocompleteProps, SliderProps, SwitchProps, GridProps, DrawerProps, SxProps, Theme, StackProps, TypographyProps, MenuProps, PaletteColorOptions, TextFieldProps as TextFieldProps$1, InputBaseProps, DialogProps, DialogContentProps } from '@mui/material';
|
|
3
|
-
import * as React from 'react';
|
|
3
|
+
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { ReactNode, Dispatch, SetStateAction, JSX, RefObject, ReactElement, FC, BaseSyntheticEvent, JSXElementConstructor, ElementType } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { GridRowId, GridRowSelectionModel, GridSortModel, GridFilterModel, GridRowModesModel, GridRenderEditCellParams, GridToolbarProps, DataGridProps as DataGridProps$1, GridApi, GridPaginationModel, GridColumnVisibilityModel, useGridApiRef, GridColDef } from '@mui/x-data-grid';
|
|
@@ -11,6 +11,7 @@ import * as zod from 'zod';
|
|
|
11
11
|
import { coerce, z } from 'zod';
|
|
12
12
|
import { NumericFormatProps } from 'react-number-format';
|
|
13
13
|
import { TextFieldProps } from '@mui/material/TextField';
|
|
14
|
+
import dayjs from 'dayjs';
|
|
14
15
|
export { default as dayjs } from 'dayjs';
|
|
15
16
|
import * as redux from 'redux';
|
|
16
17
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
@@ -282,12 +283,20 @@ interface EditGridColumnsProps {
|
|
|
282
283
|
options?: {
|
|
283
284
|
[key: string]: unknown[] | undefined;
|
|
284
285
|
};
|
|
286
|
+
/** Rótulos de la columna y de sus acciones. Los pasa el wrapper, que tiene el idioma. */
|
|
287
|
+
etiquetas?: {
|
|
288
|
+
editar?: string;
|
|
289
|
+
guardar?: string;
|
|
290
|
+
cancelar?: string;
|
|
291
|
+
};
|
|
285
292
|
}
|
|
286
293
|
declare const editColumn: (props?: EditGridColumnsProps) => GridColDefPropsOverrides[];
|
|
287
294
|
|
|
288
295
|
interface DeleteGridColumnsProps$1 {
|
|
289
296
|
displayDelete?: boolean;
|
|
290
297
|
handleOpen: (id: GridRowId) => () => void;
|
|
298
|
+
/** Rótulo de la columna y de la acción. Lo pasa el wrapper, que es quien tiene el idioma. */
|
|
299
|
+
etiqueta?: string;
|
|
291
300
|
}
|
|
292
301
|
declare const deleteColumn$1: (props: DeleteGridColumnsProps$1) => GridColDefPropsOverrides[];
|
|
293
302
|
|
|
@@ -879,7 +888,7 @@ interface SidePanelHost {
|
|
|
879
888
|
* Fuera de un `MainLayout` el contexto es `null`: el panel se pinta donde esté declarado y
|
|
880
889
|
* no se turna con nadie.
|
|
881
890
|
*/
|
|
882
|
-
declare const SidePanelHostContext: React.Context<SidePanelHost | null>;
|
|
891
|
+
declare const SidePanelHostContext: React$1.Context<SidePanelHost | null>;
|
|
883
892
|
/** El hueco de paneles acoplados del layout, o `null` si no hay ninguno arriba. */
|
|
884
893
|
declare const useSidePanelHost: () => SidePanelHost | null;
|
|
885
894
|
|
|
@@ -1090,7 +1099,7 @@ interface TransitionsProps {
|
|
|
1090
1099
|
/**
|
|
1091
1100
|
* Componente customizable para generar efectos de transición
|
|
1092
1101
|
**/
|
|
1093
|
-
declare const Transitions: React.ForwardRefExoticComponent<Omit<TransitionsProps, "ref"> & React.RefAttributes<unknown>>;
|
|
1102
|
+
declare const Transitions: React$1.ForwardRefExoticComponent<Omit<TransitionsProps, "ref"> & React$1.RefAttributes<unknown>>;
|
|
1094
1103
|
|
|
1095
1104
|
interface ListPageProps {
|
|
1096
1105
|
tabs?: MyTabProps;
|
|
@@ -1134,7 +1143,7 @@ interface APIcontextProps {
|
|
|
1134
1143
|
useGuardarPreferenciaDeExportacionMutation: any;
|
|
1135
1144
|
useBorrarPreferenciaDeExportacionMutation: any;
|
|
1136
1145
|
}
|
|
1137
|
-
declare const APIContext: React.Context<APIcontextProps | null>;
|
|
1146
|
+
declare const APIContext: React$1.Context<APIcontextProps | null>;
|
|
1138
1147
|
declare const APIProvider: ({ children, hooks, }: {
|
|
1139
1148
|
children: ReactNode;
|
|
1140
1149
|
hooks: APIcontextProps;
|
|
@@ -1193,9 +1202,517 @@ interface NavigationContextProps {
|
|
|
1193
1202
|
children: ReactNode;
|
|
1194
1203
|
hook: any;
|
|
1195
1204
|
}
|
|
1196
|
-
declare const NavigationContext: React.Context<NavigationContextProps | null>;
|
|
1205
|
+
declare const NavigationContext: React$1.Context<NavigationContextProps | null>;
|
|
1197
1206
|
declare const NavigationProvider: ({ children, hook }: NavigationContextProps) => react_jsx_runtime.JSX.Element;
|
|
1198
1207
|
|
|
1208
|
+
/**
|
|
1209
|
+
* Los textos que la librería dibuja por su cuenta, en los dos idiomas.
|
|
1210
|
+
*
|
|
1211
|
+
* Es un diccionario tipado y no un runtime de i18n a propósito. La librería la consumen tres
|
|
1212
|
+
* portales (`acv-wms`, `acv-tms`, `acv-suma`) y meterle `i18next` como dependencia obligaría a los
|
|
1213
|
+
* tres a montar una instancia antes de poder actualizar. Aquí sólo hay ~130 textos y ninguno se
|
|
1214
|
+
* carga tarde ni se interpola de formas raras, así que un objeto alcanza —y de paso da autocompletado
|
|
1215
|
+
* y error de compilación si a `en` le falta una llave, que un `t("llave.mal.escrita")` no da—.
|
|
1216
|
+
*
|
|
1217
|
+
* El idioma lo pone la app con `LocaleProvider`; se lee con `useTextos()`.
|
|
1218
|
+
*
|
|
1219
|
+
* Las plantillas van como funciones (`registrosSeleccionados: (n) => ...`) en vez de concatenarse
|
|
1220
|
+
* en el punto de uso: el orden de las palabras cambia entre idiomas y una concatenación lo fija.
|
|
1221
|
+
*/
|
|
1222
|
+
/** Idiomas que entiende la librería. */
|
|
1223
|
+
type Locale = "es" | "en";
|
|
1224
|
+
declare const es: {
|
|
1225
|
+
comun: {
|
|
1226
|
+
aceptar: string;
|
|
1227
|
+
cancelar: string;
|
|
1228
|
+
guardar: string;
|
|
1229
|
+
editar: string;
|
|
1230
|
+
eliminar: string;
|
|
1231
|
+
crear: string;
|
|
1232
|
+
cerrar: string;
|
|
1233
|
+
limpiar: string;
|
|
1234
|
+
aplicar: string;
|
|
1235
|
+
confirmar: string;
|
|
1236
|
+
volver: string;
|
|
1237
|
+
buscar: string;
|
|
1238
|
+
busqueda: string;
|
|
1239
|
+
busquedaPlaceholder: string;
|
|
1240
|
+
limpiarBusqueda: string;
|
|
1241
|
+
redimensionarPanel: string;
|
|
1242
|
+
sinResultados: string;
|
|
1243
|
+
cargando: string;
|
|
1244
|
+
todos: string;
|
|
1245
|
+
todas: string;
|
|
1246
|
+
noDisponible: string;
|
|
1247
|
+
algoSalioMal: string;
|
|
1248
|
+
error: string;
|
|
1249
|
+
};
|
|
1250
|
+
grid: {
|
|
1251
|
+
columnas: string;
|
|
1252
|
+
filtros: string;
|
|
1253
|
+
exportar: string;
|
|
1254
|
+
dobleClicParaHerramientas: string;
|
|
1255
|
+
abrirEnPaginaCompleta: string;
|
|
1256
|
+
guardarYSiguienteCorto: string;
|
|
1257
|
+
hilerasPorPagina: string;
|
|
1258
|
+
informacionActualizada: string;
|
|
1259
|
+
errorActualizando: string;
|
|
1260
|
+
ordenar: string;
|
|
1261
|
+
ordenarAsc: string;
|
|
1262
|
+
ordenarDesc: string;
|
|
1263
|
+
menu: string;
|
|
1264
|
+
refrescar: string;
|
|
1265
|
+
acciones: string;
|
|
1266
|
+
};
|
|
1267
|
+
exportar: {
|
|
1268
|
+
titulo: string;
|
|
1269
|
+
descargarCSV: string;
|
|
1270
|
+
descargado: string;
|
|
1271
|
+
errorAlDescargar: string;
|
|
1272
|
+
generandose: string;
|
|
1273
|
+
noSePudieronCargarColumnas: string;
|
|
1274
|
+
todasLasColumnas: string;
|
|
1275
|
+
usarPorDefecto: string;
|
|
1276
|
+
eliminarPreferencia: string;
|
|
1277
|
+
quitarTodas: string;
|
|
1278
|
+
seleccionarTodas: string;
|
|
1279
|
+
quitarEncontradas: string;
|
|
1280
|
+
seleccionarEncontradas: string;
|
|
1281
|
+
buscarColumna: string;
|
|
1282
|
+
limpiarBusqueda: string;
|
|
1283
|
+
sinColumnasQueCoincidan: (texto: string) => string;
|
|
1284
|
+
seleccionadasDe: (n: number, total: number) => string;
|
|
1285
|
+
nombreDeLaPreferencia: string;
|
|
1286
|
+
seExportaranRegistros: (n: string) => string;
|
|
1287
|
+
seExportaraElListado: string;
|
|
1288
|
+
alcanceDeSeleccion: (n: string, cantidad: number) => string;
|
|
1289
|
+
columnasElegidas: (n: number) => string;
|
|
1290
|
+
};
|
|
1291
|
+
detalle: {
|
|
1292
|
+
editar: string;
|
|
1293
|
+
editarAtajo: string;
|
|
1294
|
+
eliminar: string;
|
|
1295
|
+
historial: string;
|
|
1296
|
+
historialAtajo: string;
|
|
1297
|
+
anterior: string;
|
|
1298
|
+
siguiente: string;
|
|
1299
|
+
guardarYSiguiente: string;
|
|
1300
|
+
cambiosPendientes: string;
|
|
1301
|
+
masInformacion: string;
|
|
1302
|
+
/** El título de "crear" que arma `PageHeader` a partir del nombre del modelo. */
|
|
1303
|
+
crearRegistro: (singular: string) => string;
|
|
1304
|
+
cargarPagina: (titulo: string) => string;
|
|
1305
|
+
};
|
|
1306
|
+
notificaciones: {
|
|
1307
|
+
titulo: string;
|
|
1308
|
+
vacio: string;
|
|
1309
|
+
todas: string;
|
|
1310
|
+
noLeidas: string;
|
|
1311
|
+
cerrar: string;
|
|
1312
|
+
marcarTodasComoLeidas: string;
|
|
1313
|
+
todasMarcadasComoLeidas: string;
|
|
1314
|
+
todasBorradas: string;
|
|
1315
|
+
anterior: string;
|
|
1316
|
+
siguiente: string;
|
|
1317
|
+
leerTodas: string;
|
|
1318
|
+
borrarTodas: string;
|
|
1319
|
+
borrarTodasAria: string;
|
|
1320
|
+
};
|
|
1321
|
+
cuenta: {
|
|
1322
|
+
modoOscuro: string;
|
|
1323
|
+
idioma: string;
|
|
1324
|
+
espanol: string;
|
|
1325
|
+
ingles: string;
|
|
1326
|
+
};
|
|
1327
|
+
historial: {
|
|
1328
|
+
titulo: string;
|
|
1329
|
+
ocultarCampos: string;
|
|
1330
|
+
verTodosLosCampos: string;
|
|
1331
|
+
verLosCampos: string;
|
|
1332
|
+
};
|
|
1333
|
+
opciones: {
|
|
1334
|
+
agregarNuevo: string;
|
|
1335
|
+
agregarOpcion: string;
|
|
1336
|
+
editarOpcion: string;
|
|
1337
|
+
eliminarOpcion: string;
|
|
1338
|
+
creada: string;
|
|
1339
|
+
errorAlCrear: string;
|
|
1340
|
+
actualizada: string;
|
|
1341
|
+
errorAlActualizar: string;
|
|
1342
|
+
eliminada: string;
|
|
1343
|
+
errorAlEliminar: string;
|
|
1344
|
+
seleccionarTodo: string;
|
|
1345
|
+
escribeAlMenos: (n: number) => string;
|
|
1346
|
+
};
|
|
1347
|
+
archivos: {
|
|
1348
|
+
subidoConExito: string;
|
|
1349
|
+
error: string;
|
|
1350
|
+
archivoDeMuestra: string;
|
|
1351
|
+
tipoInvalido: string;
|
|
1352
|
+
soltarAqui: string;
|
|
1353
|
+
arrastraOHazClic: string;
|
|
1354
|
+
archivos: string;
|
|
1355
|
+
};
|
|
1356
|
+
color: {
|
|
1357
|
+
sinColor: string;
|
|
1358
|
+
formatoInvalido: string;
|
|
1359
|
+
elegirColor: string;
|
|
1360
|
+
colorPersonalizado: string;
|
|
1361
|
+
};
|
|
1362
|
+
confirmarBorrado: {
|
|
1363
|
+
/**
|
|
1364
|
+
* La palabra que hay que teclear para confirmar. **No es sólo copia**: el diálogo compara
|
|
1365
|
+
* lo tecleado contra este mismo valor, así que traducirla cambia el comportamiento y las
|
|
1366
|
+
* dos cosas tienen que salir de aquí para no quedar desfasadas.
|
|
1367
|
+
*/
|
|
1368
|
+
palabra: string;
|
|
1369
|
+
instruccion: (palabra: string) => string;
|
|
1370
|
+
exito: string;
|
|
1371
|
+
};
|
|
1372
|
+
errores: {
|
|
1373
|
+
accesoNoPermitido: string;
|
|
1374
|
+
sinPermisos: string;
|
|
1375
|
+
validacion: string;
|
|
1376
|
+
alGuardar: string;
|
|
1377
|
+
};
|
|
1378
|
+
layout: {
|
|
1379
|
+
avisoDePrivacidad: string;
|
|
1380
|
+
avisoDePrivacidadCorto: string;
|
|
1381
|
+
verNovedades: string;
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
/**
|
|
1385
|
+
* La forma del diccionario, tomada del español. Cualquier llave que le falte a `en` —o que sobre—
|
|
1386
|
+
* es error de compilación.
|
|
1387
|
+
*/
|
|
1388
|
+
type Textos = typeof es;
|
|
1389
|
+
/** Los diccionarios por idioma. */
|
|
1390
|
+
declare const TEXTOS: Record<Locale, Textos>;
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* El idioma en el que la librería dibuja lo suyo.
|
|
1394
|
+
*
|
|
1395
|
+
* La librería **no traduce**: recibe el idioma ya resuelto y lo usa para elegir diccionario. Quien
|
|
1396
|
+
* decide es el proyecto —de dónde lo saca (el usuario, el navegador, un claim del token), dónde lo
|
|
1397
|
+
* guarda y dónde pone el interruptor es asunto suyo—. Es el mismo trato que `useColorMode`: la
|
|
1398
|
+
* librería da estado y acciones, el proyecto los coloca.
|
|
1399
|
+
*
|
|
1400
|
+
* Si nadie monta el provider el idioma es español, que es como se comportaba antes de que esto
|
|
1401
|
+
* existiera. Por eso `acv-tms` y `acv-suma` pueden actualizar sin tocar nada.
|
|
1402
|
+
*
|
|
1403
|
+
* @example
|
|
1404
|
+
* // En el `main.tsx` del proyecto, al lado de los otros providers
|
|
1405
|
+
* <LocaleProvider locale={idioma} setLocale={setIdioma}>
|
|
1406
|
+
* <App />
|
|
1407
|
+
* </LocaleProvider>
|
|
1408
|
+
*
|
|
1409
|
+
* @example
|
|
1410
|
+
* // Dentro de un componente de la librería
|
|
1411
|
+
* const t = useTextos();
|
|
1412
|
+
* <Button>{t.comun.guardar}</Button>
|
|
1413
|
+
*/
|
|
1414
|
+
interface LocaleContextProps {
|
|
1415
|
+
/** Idioma activo. */
|
|
1416
|
+
locale: Locale;
|
|
1417
|
+
/**
|
|
1418
|
+
* Cambia el idioma. Opcional: un proyecto puede fijar el idioma y no ofrecer cómo cambiarlo,
|
|
1419
|
+
* en cuyo caso los controles que la librería dibuja para elegirlo no aparecen.
|
|
1420
|
+
*/
|
|
1421
|
+
setLocale?: (locale: Locale) => void;
|
|
1422
|
+
}
|
|
1423
|
+
declare const LocaleContext: React$1.Context<LocaleContextProps>;
|
|
1424
|
+
interface LocaleProviderProps extends LocaleContextProps {
|
|
1425
|
+
children: ReactNode;
|
|
1426
|
+
}
|
|
1427
|
+
declare const LocaleProvider: ({ children, locale, setLocale }: LocaleProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1428
|
+
/** El idioma activo y, si el proyecto lo ofrece, cómo cambiarlo. */
|
|
1429
|
+
declare const useLocale: () => LocaleContextProps;
|
|
1430
|
+
/**
|
|
1431
|
+
* Los textos de la librería en el idioma activo.
|
|
1432
|
+
*
|
|
1433
|
+
* Devuelve el diccionario entero, no una función: `t.comun.guardar` se autocompleta y una llave
|
|
1434
|
+
* mal escrita no compila.
|
|
1435
|
+
*/
|
|
1436
|
+
declare const useTextos: () => Textos;
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* Fija el idioma de dayjs.
|
|
1440
|
+
*
|
|
1441
|
+
* `dayjs.locale()` es una **mutación global** del módulo: no hay forma de tener dos idiomas vivos
|
|
1442
|
+
* en subárboles distintos, y alcanza también a quien importe `dayjs` directo en vez de esta copia.
|
|
1443
|
+
* Aquí eso es lo que se quiere —hay un solo idioma activo a la vez— pero conviene saberlo antes de
|
|
1444
|
+
* intentar usarlo por componente.
|
|
1445
|
+
*
|
|
1446
|
+
* Lo llama `LocaleProvider`; no hace falta invocarlo a mano.
|
|
1447
|
+
*/
|
|
1448
|
+
declare const aplicarLocaleDeDayjs: (locale: "es" | "en") => void;
|
|
1449
|
+
|
|
1450
|
+
declare const localeTextDeMUI: (locale: Locale) => {
|
|
1451
|
+
columnHeaderSortIconLabel: string;
|
|
1452
|
+
columnMenuSortAsc: string;
|
|
1453
|
+
columnMenuSortDesc: string;
|
|
1454
|
+
columnMenuLabel: string;
|
|
1455
|
+
noRowsLabel?: string | undefined;
|
|
1456
|
+
noResultsOverlayLabel?: string | undefined;
|
|
1457
|
+
noColumnsOverlayLabel?: string | undefined;
|
|
1458
|
+
noColumnsOverlayManageColumns?: string | undefined;
|
|
1459
|
+
emptyPivotOverlayLabel?: string | undefined;
|
|
1460
|
+
toolbarDensity?: React.ReactNode;
|
|
1461
|
+
toolbarDensityLabel?: string | undefined;
|
|
1462
|
+
toolbarDensityCompact?: string | undefined;
|
|
1463
|
+
toolbarDensityStandard?: string | undefined;
|
|
1464
|
+
toolbarDensityComfortable?: string | undefined;
|
|
1465
|
+
toolbarUndo?: React.ReactNode;
|
|
1466
|
+
toolbarRedo?: React.ReactNode;
|
|
1467
|
+
toolbarColumns?: React.ReactNode;
|
|
1468
|
+
toolbarColumnsLabel?: string | undefined;
|
|
1469
|
+
toolbarFilters?: React.ReactNode;
|
|
1470
|
+
toolbarFiltersLabel?: string | undefined;
|
|
1471
|
+
toolbarFiltersTooltipHide?: React.ReactNode;
|
|
1472
|
+
toolbarFiltersTooltipShow?: React.ReactNode;
|
|
1473
|
+
toolbarFiltersTooltipActive?: ((count: number) => React.ReactNode) | undefined;
|
|
1474
|
+
toolbarQuickFilterPlaceholder?: string | undefined;
|
|
1475
|
+
toolbarQuickFilterLabel?: string | undefined;
|
|
1476
|
+
toolbarQuickFilterDeleteIconLabel?: string | undefined;
|
|
1477
|
+
toolbarExport?: React.ReactNode;
|
|
1478
|
+
toolbarExportLabel?: string | undefined;
|
|
1479
|
+
toolbarExportCSV?: React.ReactNode;
|
|
1480
|
+
toolbarExportPrint?: React.ReactNode;
|
|
1481
|
+
toolbarExportExcel?: string | undefined;
|
|
1482
|
+
toolbarPivot?: string | undefined;
|
|
1483
|
+
toolbarCharts?: string | undefined;
|
|
1484
|
+
toolbarAssistant?: React.ReactNode;
|
|
1485
|
+
columnsManagementSearchTitle?: string | undefined;
|
|
1486
|
+
columnsManagementNoColumns?: string | undefined;
|
|
1487
|
+
columnsManagementShowHideAllText?: string | undefined;
|
|
1488
|
+
columnsManagementReset?: string | undefined;
|
|
1489
|
+
columnsManagementDeleteIconLabel?: string | undefined;
|
|
1490
|
+
filterPanelAddFilter?: React.ReactNode;
|
|
1491
|
+
filterPanelRemoveAll?: React.ReactNode;
|
|
1492
|
+
filterPanelDeleteIconLabel?: string | undefined;
|
|
1493
|
+
filterPanelLogicOperator?: string | undefined;
|
|
1494
|
+
filterPanelOperator?: React.ReactNode;
|
|
1495
|
+
filterPanelOperatorAnd?: React.ReactNode;
|
|
1496
|
+
filterPanelOperatorOr?: React.ReactNode;
|
|
1497
|
+
filterPanelColumns?: React.ReactNode;
|
|
1498
|
+
filterPanelInputLabel?: string | undefined;
|
|
1499
|
+
filterPanelInputPlaceholder?: string | undefined;
|
|
1500
|
+
filterOperatorContains?: string | undefined;
|
|
1501
|
+
filterOperatorDoesNotContain?: string | undefined;
|
|
1502
|
+
filterOperatorEquals?: string | undefined;
|
|
1503
|
+
filterOperatorDoesNotEqual?: string | undefined;
|
|
1504
|
+
filterOperatorStartsWith?: string | undefined;
|
|
1505
|
+
filterOperatorEndsWith?: string | undefined;
|
|
1506
|
+
filterOperatorIs?: string | undefined;
|
|
1507
|
+
filterOperatorNot?: string | undefined;
|
|
1508
|
+
filterOperatorAfter?: string | undefined;
|
|
1509
|
+
filterOperatorOnOrAfter?: string | undefined;
|
|
1510
|
+
filterOperatorBefore?: string | undefined;
|
|
1511
|
+
filterOperatorOnOrBefore?: string | undefined;
|
|
1512
|
+
filterOperatorIsEmpty?: string | undefined;
|
|
1513
|
+
filterOperatorIsNotEmpty?: string | undefined;
|
|
1514
|
+
filterOperatorIsAnyOf?: string | undefined;
|
|
1515
|
+
'filterOperator='?: string | undefined;
|
|
1516
|
+
'filterOperator!='?: string | undefined;
|
|
1517
|
+
'filterOperator>'?: string | undefined;
|
|
1518
|
+
'filterOperator>='?: string | undefined;
|
|
1519
|
+
'filterOperator<'?: string | undefined;
|
|
1520
|
+
'filterOperator<='?: string | undefined;
|
|
1521
|
+
headerFilterOperatorContains?: string | undefined;
|
|
1522
|
+
headerFilterOperatorDoesNotContain?: string | undefined;
|
|
1523
|
+
headerFilterOperatorEquals?: string | undefined;
|
|
1524
|
+
headerFilterOperatorDoesNotEqual?: string | undefined;
|
|
1525
|
+
headerFilterOperatorStartsWith?: string | undefined;
|
|
1526
|
+
headerFilterOperatorEndsWith?: string | undefined;
|
|
1527
|
+
headerFilterOperatorIs?: string | undefined;
|
|
1528
|
+
headerFilterOperatorNot?: string | undefined;
|
|
1529
|
+
headerFilterOperatorAfter?: string | undefined;
|
|
1530
|
+
headerFilterOperatorOnOrAfter?: string | undefined;
|
|
1531
|
+
headerFilterOperatorBefore?: string | undefined;
|
|
1532
|
+
headerFilterOperatorOnOrBefore?: string | undefined;
|
|
1533
|
+
headerFilterOperatorIsEmpty?: string | undefined;
|
|
1534
|
+
headerFilterOperatorIsNotEmpty?: string | undefined;
|
|
1535
|
+
headerFilterOperatorIsAnyOf?: string | undefined;
|
|
1536
|
+
'headerFilterOperator='?: string | undefined;
|
|
1537
|
+
'headerFilterOperator!='?: string | undefined;
|
|
1538
|
+
'headerFilterOperator>'?: string | undefined;
|
|
1539
|
+
'headerFilterOperator>='?: string | undefined;
|
|
1540
|
+
'headerFilterOperator<'?: string | undefined;
|
|
1541
|
+
'headerFilterOperator<='?: string | undefined;
|
|
1542
|
+
headerFilterClear?: string | undefined;
|
|
1543
|
+
filterValueAny?: string | undefined;
|
|
1544
|
+
filterValueTrue?: string | undefined;
|
|
1545
|
+
filterValueFalse?: string | undefined;
|
|
1546
|
+
columnMenuAriaLabel?: ((columnName: string) => string) | undefined;
|
|
1547
|
+
columnMenuShowColumns?: React.ReactNode;
|
|
1548
|
+
columnMenuManageColumns?: React.ReactNode;
|
|
1549
|
+
columnMenuFilter?: React.ReactNode;
|
|
1550
|
+
columnMenuHideColumn?: React.ReactNode;
|
|
1551
|
+
columnMenuUnsort?: React.ReactNode;
|
|
1552
|
+
columnMenuManagePivot?: string | undefined;
|
|
1553
|
+
columnMenuManageCharts?: string | undefined;
|
|
1554
|
+
columnHeaderFiltersTooltipActive?: ((count: number) => React.ReactNode) | undefined;
|
|
1555
|
+
columnHeaderFiltersLabel?: string | undefined;
|
|
1556
|
+
footerRowSelected?: ((count: number) => React.ReactNode) | undefined;
|
|
1557
|
+
footerTotalRows?: React.ReactNode;
|
|
1558
|
+
footerTotalVisibleRows?: ((visibleCount: number, totalCount: number) => React.ReactNode) | undefined;
|
|
1559
|
+
checkboxSelectionHeaderName?: string | undefined;
|
|
1560
|
+
checkboxSelectionSelectAllRows?: string | undefined;
|
|
1561
|
+
checkboxSelectionUnselectAllRows?: string | undefined;
|
|
1562
|
+
checkboxSelectionSelectRow?: string | undefined;
|
|
1563
|
+
checkboxSelectionUnselectRow?: string | undefined;
|
|
1564
|
+
booleanCellTrueLabel?: string | undefined;
|
|
1565
|
+
booleanCellFalseLabel?: string | undefined;
|
|
1566
|
+
longTextCellExpandLabel?: string | undefined;
|
|
1567
|
+
longTextCellCollapseLabel?: string | undefined;
|
|
1568
|
+
actionsCellMore?: string | undefined;
|
|
1569
|
+
pinToLeft?: string | undefined;
|
|
1570
|
+
pinToRight?: string | undefined;
|
|
1571
|
+
unpin?: string | undefined;
|
|
1572
|
+
treeDataGroupingHeaderName?: string | undefined;
|
|
1573
|
+
treeDataExpand?: string | undefined;
|
|
1574
|
+
treeDataCollapse?: string | undefined;
|
|
1575
|
+
groupingColumnHeaderName?: string | undefined;
|
|
1576
|
+
groupColumn?: ((name: string) => string) | undefined;
|
|
1577
|
+
unGroupColumn?: ((name: string) => string) | undefined;
|
|
1578
|
+
detailPanelToggle?: string | undefined;
|
|
1579
|
+
expandDetailPanel?: string | undefined;
|
|
1580
|
+
collapseDetailPanel?: string | undefined;
|
|
1581
|
+
rowReorderingHeaderName?: string | undefined;
|
|
1582
|
+
aggregationMenuItemHeader?: string | undefined;
|
|
1583
|
+
aggregationFunctionLabelNone?: string | undefined;
|
|
1584
|
+
aggregationFunctionLabelSum?: string | undefined;
|
|
1585
|
+
aggregationFunctionLabelAvg?: string | undefined;
|
|
1586
|
+
aggregationFunctionLabelMin?: string | undefined;
|
|
1587
|
+
aggregationFunctionLabelMax?: string | undefined;
|
|
1588
|
+
aggregationFunctionLabelSize?: string | undefined;
|
|
1589
|
+
paginationRowsPerPage?: string | undefined;
|
|
1590
|
+
paginationDisplayedRows?: ((params: {
|
|
1591
|
+
from: number;
|
|
1592
|
+
to: number;
|
|
1593
|
+
count: number;
|
|
1594
|
+
estimated: number | undefined;
|
|
1595
|
+
}) => string) | undefined;
|
|
1596
|
+
paginationItemAriaLabel?: ((type: "first" | "last" | "previous" | "next") => string) | undefined;
|
|
1597
|
+
pivotToggleLabel?: string | undefined;
|
|
1598
|
+
pivotCloseButton?: string | undefined;
|
|
1599
|
+
pivotSearchButton?: string | undefined;
|
|
1600
|
+
pivotSearchControlPlaceholder?: string | undefined;
|
|
1601
|
+
pivotSearchControlLabel?: string | undefined;
|
|
1602
|
+
pivotSearchControlClear?: string | undefined;
|
|
1603
|
+
pivotNoFields?: string | undefined;
|
|
1604
|
+
pivotRows?: string | undefined;
|
|
1605
|
+
pivotColumns?: string | undefined;
|
|
1606
|
+
pivotValues?: string | undefined;
|
|
1607
|
+
pivotMenuMoveUp?: string | undefined;
|
|
1608
|
+
pivotMenuMoveDown?: string | undefined;
|
|
1609
|
+
pivotMenuMoveToTop?: string | undefined;
|
|
1610
|
+
pivotMenuMoveToBottom?: string | undefined;
|
|
1611
|
+
pivotMenuRows?: string | undefined;
|
|
1612
|
+
pivotMenuColumns?: string | undefined;
|
|
1613
|
+
pivotMenuValues?: string | undefined;
|
|
1614
|
+
pivotMenuOptions?: string | undefined;
|
|
1615
|
+
pivotMenuAddToRows?: string | undefined;
|
|
1616
|
+
pivotMenuAddToColumns?: string | undefined;
|
|
1617
|
+
pivotMenuAddToValues?: string | undefined;
|
|
1618
|
+
pivotMenuRemove?: string | undefined;
|
|
1619
|
+
pivotDragToRows?: string | undefined;
|
|
1620
|
+
pivotDragToColumns?: string | undefined;
|
|
1621
|
+
pivotDragToValues?: string | undefined;
|
|
1622
|
+
pivotYearColumnHeaderName?: string | undefined;
|
|
1623
|
+
pivotQuarterColumnHeaderName?: string | undefined;
|
|
1624
|
+
chartsNoCharts?: string | undefined;
|
|
1625
|
+
chartsChartNotSelected?: string | undefined;
|
|
1626
|
+
chartsTabChart?: string | undefined;
|
|
1627
|
+
chartsTabFields?: string | undefined;
|
|
1628
|
+
chartsTabCustomize?: string | undefined;
|
|
1629
|
+
chartsCloseButton?: string | undefined;
|
|
1630
|
+
chartsSyncButtonLabel?: string | undefined;
|
|
1631
|
+
chartsSearchPlaceholder?: string | undefined;
|
|
1632
|
+
chartsSearchLabel?: string | undefined;
|
|
1633
|
+
chartsSearchClear?: string | undefined;
|
|
1634
|
+
chartsNoFields?: string | undefined;
|
|
1635
|
+
chartsFieldBlocked?: string | undefined;
|
|
1636
|
+
chartsCategories?: string | undefined;
|
|
1637
|
+
chartsSeries?: string | undefined;
|
|
1638
|
+
chartsMenuAddToDimensions?: ((dimensionLabel: string) => string) | undefined;
|
|
1639
|
+
chartsMenuAddToValues?: ((valuesLabel: string) => string) | undefined;
|
|
1640
|
+
chartsMenuMoveUp?: string | undefined;
|
|
1641
|
+
chartsMenuMoveDown?: string | undefined;
|
|
1642
|
+
chartsMenuMoveToTop?: string | undefined;
|
|
1643
|
+
chartsMenuMoveToBottom?: string | undefined;
|
|
1644
|
+
chartsMenuOptions?: string | undefined;
|
|
1645
|
+
chartsMenuRemove?: string | undefined;
|
|
1646
|
+
chartsDragToDimensions?: ((dimensionLabel: string) => string) | undefined;
|
|
1647
|
+
chartsDragToValues?: ((valuesLabel: string) => string) | undefined;
|
|
1648
|
+
aiAssistantPanelTitle?: string | undefined;
|
|
1649
|
+
aiAssistantPanelClose?: string | undefined;
|
|
1650
|
+
aiAssistantPanelConversationHistory?: string | undefined;
|
|
1651
|
+
aiAssistantPanelNewConversation?: string | undefined;
|
|
1652
|
+
aiAssistantPanelEmptyConversation?: string | undefined;
|
|
1653
|
+
aiAssistantSuggestions?: string | undefined;
|
|
1654
|
+
promptRerun?: string | undefined;
|
|
1655
|
+
promptProcessing?: string | undefined;
|
|
1656
|
+
promptAppliedChanges?: string | undefined;
|
|
1657
|
+
promptChangeGroupDescription?: ((column: string) => string) | undefined;
|
|
1658
|
+
promptChangeAggregationLabel?: ((column: string, aggregation: string) => string) | undefined;
|
|
1659
|
+
promptChangeAggregationDescription?: ((column: string, aggregation: string) => string) | undefined;
|
|
1660
|
+
promptChangeFilterLabel?: ((column: string, operator: string, value: string) => string) | undefined;
|
|
1661
|
+
promptChangeFilterDescription?: ((column: string, operator: string, value: string) => string) | undefined;
|
|
1662
|
+
promptChangeSortDescription?: ((column: string, direction: string) => string) | undefined;
|
|
1663
|
+
promptChangePivotEnableLabel?: string | undefined;
|
|
1664
|
+
promptChangePivotEnableDescription?: string | undefined;
|
|
1665
|
+
promptChangePivotColumnsLabel?: ((count: number) => string) | undefined;
|
|
1666
|
+
promptChangePivotColumnsDescription?: ((column: string, direction: string) => string) | undefined;
|
|
1667
|
+
promptChangePivotRowsLabel?: ((count: number) => string) | undefined;
|
|
1668
|
+
promptChangePivotValuesLabel?: ((count: number) => string) | undefined;
|
|
1669
|
+
promptChangePivotValuesDescription?: ((column: string, aggregation: string) => string) | undefined;
|
|
1670
|
+
promptChangeChartsLabel?: ((dimensionsCount: number, valuesCount: number) => string) | undefined;
|
|
1671
|
+
promptFieldLabel?: string | undefined;
|
|
1672
|
+
promptFieldPlaceholder?: string | undefined;
|
|
1673
|
+
promptFieldPlaceholderWithRecording?: string | undefined;
|
|
1674
|
+
promptFieldPlaceholderListening?: string | undefined;
|
|
1675
|
+
promptFieldSpeechRecognitionNotSupported?: string | undefined;
|
|
1676
|
+
promptFieldSend?: string | undefined;
|
|
1677
|
+
promptFieldRecord?: string | undefined;
|
|
1678
|
+
promptFieldStopRecording?: string | undefined;
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* La etiqueta BCP-47 para `toLocaleString` / `Intl.*` según el idioma activo.
|
|
1683
|
+
*
|
|
1684
|
+
* Está aquí para que no vuelva a haber tres `toLocaleString` con la etiqueta escrita a mano —y
|
|
1685
|
+
* discrepando entre sí: había dos en `"es-MX"` y una en `"en-US"`—.
|
|
1686
|
+
*/
|
|
1687
|
+
declare const localeDeNumeros: (locale: Locale) => string;
|
|
1688
|
+
|
|
1689
|
+
/** El `localeText` para Toolpad, o `undefined` cuando su propio idioma ya sirve. */
|
|
1690
|
+
declare const localeTextDeToolpad: (locale: Locale) => {
|
|
1691
|
+
accountSignInLabel: string;
|
|
1692
|
+
accountSignOutLabel: string;
|
|
1693
|
+
accountPreviewTitle: string;
|
|
1694
|
+
accountPreviewIconButtonLabel: string;
|
|
1695
|
+
signInTitle: string;
|
|
1696
|
+
signInSubtitle: string;
|
|
1697
|
+
signInRememberMe: string;
|
|
1698
|
+
providerSignInTitle: (proveedor: string) => string;
|
|
1699
|
+
email: string;
|
|
1700
|
+
password: string;
|
|
1701
|
+
username: string;
|
|
1702
|
+
passkey: string;
|
|
1703
|
+
save: string;
|
|
1704
|
+
cancel: string;
|
|
1705
|
+
ok: string;
|
|
1706
|
+
or: string;
|
|
1707
|
+
to: string;
|
|
1708
|
+
with: string;
|
|
1709
|
+
close: string;
|
|
1710
|
+
delete: string;
|
|
1711
|
+
alert: string;
|
|
1712
|
+
confirm: string;
|
|
1713
|
+
loading: string;
|
|
1714
|
+
} | undefined;
|
|
1715
|
+
|
|
1199
1716
|
declare const mergeSettings: (baseSettings: object, mergingSettings?: object) => any;
|
|
1200
1717
|
declare const filterQuery: ({ filters }: {
|
|
1201
1718
|
filters: {
|
|
@@ -1844,10 +2361,11 @@ declare function resolveInitialState({ storageKey, disabled, initialState, colum
|
|
|
1844
2361
|
* Page sizes offered by the grid and by the pagination slot. One list: in v1 the grid and
|
|
1845
2362
|
* `CustomPagination` each declared their own copy and had to be kept in sync by hand.
|
|
1846
2363
|
*
|
|
1847
|
-
* `-1` is "
|
|
1848
|
-
* `next`/`previous` null but a correct `count`.
|
|
2364
|
+
* `-1` is "all" — the backends read that literal and return the whole result set with
|
|
2365
|
+
* `next`/`previous` null but a correct `count`. Only its label is translated; the value is wire
|
|
2366
|
+
* protocol and never changes.
|
|
1849
2367
|
*/
|
|
1850
|
-
declare const
|
|
2368
|
+
declare const pageSizeOptions: (etiquetaTodos: string) => (number | {
|
|
1851
2369
|
value: number;
|
|
1852
2370
|
label: string;
|
|
1853
2371
|
})[];
|
|
@@ -1862,6 +2380,12 @@ declare const LAYER_ORDER: readonly GridLayerId[];
|
|
|
1862
2380
|
interface DeleteGridColumnsProps {
|
|
1863
2381
|
displayDelete?: boolean;
|
|
1864
2382
|
handleOpen: (id: GridRowId) => () => void;
|
|
2383
|
+
/**
|
|
2384
|
+
* Rótulo de la columna y de la acción. Es un parámetro y no un `useTextos()` porque esto no
|
|
2385
|
+
* es un componente: lo llama la capa de borrado, que sí es la que tiene el idioma a mano.
|
|
2386
|
+
* El default en español mantiene andando a quien la llame sin pasarlo.
|
|
2387
|
+
*/
|
|
2388
|
+
etiqueta?: string;
|
|
1865
2389
|
}
|
|
1866
2390
|
/**
|
|
1867
2391
|
* The per-row delete action, shown only while delete mode is on.
|
|
@@ -1878,6 +2402,17 @@ type ChipColor = StatusColor;
|
|
|
1878
2402
|
type ChipOption = {
|
|
1879
2403
|
value: string;
|
|
1880
2404
|
label: string;
|
|
2405
|
+
/**
|
|
2406
|
+
* Etiquetas extra con las que **emparejar**, sin que ninguna llegue a mostrarse.
|
|
2407
|
+
*
|
|
2408
|
+
* Existe porque el backend manda la etiqueta y no el código
|
|
2409
|
+
* (`serializers.CharField(source='get_estado_display')`), así que el emparejado real de casi
|
|
2410
|
+
* todas las columnas de estado es contra el texto en español. En cuanto `label` se traduce,
|
|
2411
|
+
* ese emparejado deja de encontrar nada y la celda sale **en blanco** —sin error, sin aviso—.
|
|
2412
|
+
*
|
|
2413
|
+
* Aquí se conserva el texto original: `label` es lo que se ve, `match` lo que se reconoce.
|
|
2414
|
+
*/
|
|
2415
|
+
match?: string[];
|
|
1881
2416
|
};
|
|
1882
2417
|
declare const resolveChipOption: (value: unknown, options: ChipOption[]) => ChipOption | undefined;
|
|
1883
2418
|
type ChipCellProps = {
|
|
@@ -2580,6 +3115,8 @@ interface DetailFormDrawerProps {
|
|
|
2580
3115
|
/** @see DetailPageV2Props.slotProps.badge */
|
|
2581
3116
|
badge?: {
|
|
2582
3117
|
colors?: Record<string, StatusColor>;
|
|
3118
|
+
/** @see DetailPageV2Props.slotProps.badge.options */
|
|
3119
|
+
options?: ChipOption[];
|
|
2583
3120
|
};
|
|
2584
3121
|
};
|
|
2585
3122
|
}
|
|
@@ -2698,6 +3235,11 @@ interface DrawerGridDrawerConfig {
|
|
|
2698
3235
|
badge?: {
|
|
2699
3236
|
path: string;
|
|
2700
3237
|
colors?: Record<string, StatusColor>;
|
|
3238
|
+
/**
|
|
3239
|
+
* Los estados con su rótulo, para poder mostrarlo en otro idioma.
|
|
3240
|
+
* @see DetailPageV2Props.slotProps.badge.options
|
|
3241
|
+
*/
|
|
3242
|
+
options?: ChipOption[];
|
|
2701
3243
|
};
|
|
2702
3244
|
/** Runs after any successful create/edit (e.g. side effects; the grid refetches via RTK tag invalidation). */
|
|
2703
3245
|
onSaved?: (response: any) => void;
|
|
@@ -3058,6 +3600,19 @@ interface DetailPageV2Props {
|
|
|
3058
3600
|
* hubiera con qué distinguirlos.
|
|
3059
3601
|
*/
|
|
3060
3602
|
colors?: Record<string, StatusColor>;
|
|
3603
|
+
/**
|
|
3604
|
+
* Los estados con su rótulo, para poder mostrarlo en otro idioma.
|
|
3605
|
+
*
|
|
3606
|
+
* Es el mismo `ChipOption[]` que reciben las columnas de la tabla, y se resuelve
|
|
3607
|
+
* igual (`resolveChipOption`), así que la ficha y la lista nombran el estado con la
|
|
3608
|
+
* misma palabra. Sin esto, la insignia sólo puede repetir lo que mandó el backend,
|
|
3609
|
+
* que viene en español (`get_estado_display`).
|
|
3610
|
+
*
|
|
3611
|
+
* Ojo con traducir el `label` de una opción: casi todos estos endpoints mandan la
|
|
3612
|
+
* etiqueta y no el código, así que el emparejado real es contra el texto en español
|
|
3613
|
+
* — para eso está `ChipOption.match`.
|
|
3614
|
+
*/
|
|
3615
|
+
options?: ChipOption[];
|
|
3061
3616
|
};
|
|
3062
3617
|
};
|
|
3063
3618
|
}
|
|
@@ -3445,7 +4000,7 @@ interface PageInfoHost {
|
|
|
3445
4000
|
* Fuera de un `MainLayout` el contexto es `null` y `<PageInfo>` no pinta nada, en vez de
|
|
3446
4001
|
* soltar el botón en medio del contenido.
|
|
3447
4002
|
*/
|
|
3448
|
-
declare const PageInfoHostContext: React.Context<PageInfoHost | null>;
|
|
4003
|
+
declare const PageInfoHostContext: React$1.Context<PageInfoHost | null>;
|
|
3449
4004
|
/** El hueco de la nota del encabezado, o `null` si no hay ninguno arriba. */
|
|
3450
4005
|
declare const usePageInfoHost: () => PageInfoHost | null;
|
|
3451
4006
|
|
|
@@ -3473,7 +4028,7 @@ interface PageActionsHost {
|
|
|
3473
4028
|
* Fuera de un `MainLayout` el contexto es `null`, y quien lo use se las arregla por su cuenta
|
|
3474
4029
|
* —la página de detalle vuelve a la esquina flotante de siempre—.
|
|
3475
4030
|
*/
|
|
3476
|
-
declare const PageActionsHostContext: React.Context<PageActionsHost | null>;
|
|
4031
|
+
declare const PageActionsHostContext: React$1.Context<PageActionsHost | null>;
|
|
3477
4032
|
/** El hueco de las acciones del encabezado, o `null` si no hay ninguno arriba. */
|
|
3478
4033
|
declare const usePageActionsHost: () => PageActionsHost | null;
|
|
3479
4034
|
|
|
@@ -3498,7 +4053,7 @@ interface PageBadgeHost {
|
|
|
3498
4053
|
* Fuera de un `MainLayout` el contexto es `null` y la página de detalle vuelve a colgar la
|
|
3499
4054
|
* insignia de la esquina flotante del `ContentLayout`, que es donde vivía.
|
|
3500
4055
|
*/
|
|
3501
|
-
declare const PageBadgeHostContext: React.Context<PageBadgeHost | null>;
|
|
4056
|
+
declare const PageBadgeHostContext: React$1.Context<PageBadgeHost | null>;
|
|
3502
4057
|
/** El hueco de la insignia del encabezado, o `null` si no hay ninguno arriba. */
|
|
3503
4058
|
declare const usePageBadgeHost: () => PageBadgeHost | null;
|
|
3504
4059
|
|
|
@@ -3525,7 +4080,7 @@ interface StickyPageHeaderHost {
|
|
|
3525
4080
|
* Fuera de un `MainLayout` el contexto es `null` y no pasa nada: el encabezado de ese proyecto
|
|
3526
4081
|
* se queda como estaba.
|
|
3527
4082
|
*/
|
|
3528
|
-
declare const StickyPageHeaderContext: React.Context<StickyPageHeaderHost | null>;
|
|
4083
|
+
declare const StickyPageHeaderContext: React$1.Context<StickyPageHeaderHost | null>;
|
|
3529
4084
|
/** Lo lee el encabezado para saber si le toca pegarse. */
|
|
3530
4085
|
declare const useStickyPageHeaderHost: () => StickyPageHeaderHost | null;
|
|
3531
4086
|
/**
|
|
@@ -3801,5 +4356,5 @@ interface UseColorModeResult {
|
|
|
3801
4356
|
}
|
|
3802
4357
|
declare function useColorMode(): UseColorModeResult;
|
|
3803
4358
|
|
|
3804
|
-
export { APIContext, APIProvider, AccountMenuContent, ActiveCell, ActiveIcon, Base, ButtonWithDrawer, COLOR_SCHEME_SELECTOR, CSVUpload, ChipCell, ConfirmDialog, ContentLayout, ControlledAddressAutocomplete, ControlledAmountWithCurrency, ControlledAutocomplete, ControlledColor, ControlledDate$1 as ControlledDate, ControlledDate as ControlledDate_v2, ControlledDropdown, ControlledFileField$1 as ControlledFileField, ControlledFileField as ControlledFileField_v2, FileUploadBox as ControlledFileUploadBox, ControlledNumber, ControlledPhoneNumber, ControlledSelect$1 as ControlledSelect, ControlledSelect as ControlledSelect_v2, ControlledSlider as ControlledSimpleSlider, ControlledSlider$1 as ControlledSlider, ControlledSwitch, ControlledText, ControlledTimePicker, ControlledToggleButtons, CoverPage, CreateButtonBase, CreateButtonWithMenuOptions, CrudDropdown, CustomNoRows, DEFAULT_FORM_BREAKPOINTS, DEFAULT_PAGINATION, DeleteButton, DeleteConfirmationDialog, DetailFormDialog as DetailFormDialog_v2, DetailFormDrawer as DetailFormDrawer_v2, DetailForm as DetailForm_v2, DetailPage$1 as DetailPage, DetailPage as DetailPage_v2, DrawerGrid as DrawerGrid_v2, EditButton, ExportCSV$1 as ExportCSV, ExportCSV as ExportCSV_v2, ExtraButtons, FORM_CONTAINER_NAME, GlobalSearch, HEADER_CONTAINER, HEADER_NARROW, HistorialDrawer, KpiCard, LAYER_ORDER, ListPage, Loadable, LoadingComponent, Logo, MainDrawer, MainDrawer$1 as MainDrawer_v2, MainLayout, MenuItemWithLoading, ModuleCard, MoreOptions, MyGridEditSingleSelect, NavigationContext, NavigationProvider, NormalOrIcon, NotAllowed, NotFound, NotificationItem, NotificationsBell, ObjectProgressStack,
|
|
3805
|
-
export type { APIcontextProps, AccountMenuContentProps, AccountMenuItem, AddressValue, AppTheme, AutocompleteOption, ChipCellProps, ChipColor, ChipOption, ColorMode, ComoOpcionesProps, ConfirmDialogProps, ControlledAutocompleteProps, ControlledInput, CustomFilterDef, CustomToolbarProps, DeleteGridColumnsProps$1 as DeleteGridColumnsProps, DetachedPage, DetailExtraButton, DetailFormApi, DetailFormConfig, DetailFormController, DetailFormDialogProps, DetailFormDrawerNavigation, DetailFormDrawerProps, DetailFormProps, DetailFormStatus, DetailPageV2Props, DetailRenderProps, DrawerGridDrawerConfig, DrawerGridEditConfig, DrawerGridProps, EditGridColumnsProps, EditReadOnlyFields, ExportCSVProps as ExportCSVProps_v2, FieldFilter, FieldProps$1 as FieldProps, FieldValidationProps, FilterInput, FormBreakpoint, FormGridSxOptions, GlobalSearchOption, GlobalSearchProps, GridArgs, GridColDefPropsOverrides, GridLayerContribution, GridLayerId, GridLayerMap, JSONFormProps, JSONParserProps, KeyboardShortcut, KpiCardProps, MainDrawerV2Props, MainLayoutFooterConfig, MainLayoutPageHeaderProps, MainLayoutProps, MainLayoutSidebarFooterProps, MyDataGridProps, MyGridFilterModel, MyTab, MyTabProps, NotificationItemProps, NotificationsApi, NotificationsBellProps, PageActionsHost, PageBadgeHost, PageInfoHost, PageInfoProps, PageType, PanelProps, PollingCountdownChipProps, ProgressStatusProps, PulseDotProps, ResponsiveAction, ResponsiveActionsMode, ResponsiveActionsProps, RowsSnapshot, ServerGridArgs, ServerGridCreateApi, ServerGridDataApi, ServerGridDeleteApi, ServerGridEditApi, ServerGridEditToggleApi, ServerGridHandle, ServerGridProps, ServerGridSnapshot, ServerGridState, SidePanelHost, StatusColor, StickyPageHeaderHost, UseColorModeResult, UseServerGridOptions };
|
|
4359
|
+
export { APIContext, APIProvider, AccountMenuContent, ActiveCell, ActiveIcon, Base, ButtonWithDrawer, COLOR_SCHEME_SELECTOR, CSVUpload, ChipCell, ConfirmDialog, ContentLayout, ControlledAddressAutocomplete, ControlledAmountWithCurrency, ControlledAutocomplete, ControlledColor, ControlledDate$1 as ControlledDate, ControlledDate as ControlledDate_v2, ControlledDropdown, ControlledFileField$1 as ControlledFileField, ControlledFileField as ControlledFileField_v2, FileUploadBox as ControlledFileUploadBox, ControlledNumber, ControlledPhoneNumber, ControlledSelect$1 as ControlledSelect, ControlledSelect as ControlledSelect_v2, ControlledSlider as ControlledSimpleSlider, ControlledSlider$1 as ControlledSlider, ControlledSwitch, ControlledText, ControlledTimePicker, ControlledToggleButtons, CoverPage, CreateButtonBase, CreateButtonWithMenuOptions, CrudDropdown, CustomNoRows, DEFAULT_FORM_BREAKPOINTS, DEFAULT_PAGINATION, DeleteButton, DeleteConfirmationDialog, DetailFormDialog as DetailFormDialog_v2, DetailFormDrawer as DetailFormDrawer_v2, DetailForm as DetailForm_v2, DetailPage$1 as DetailPage, DetailPage as DetailPage_v2, DrawerGrid as DrawerGrid_v2, EditButton, ExportCSV$1 as ExportCSV, ExportCSV as ExportCSV_v2, ExtraButtons, FORM_CONTAINER_NAME, GlobalSearch, HEADER_CONTAINER, HEADER_NARROW, HistorialDrawer, KpiCard, LAYER_ORDER, ListPage, Loadable, LoadingComponent, LocaleContext, LocaleProvider, Logo, MainDrawer, MainDrawer$1 as MainDrawer_v2, MainLayout, MenuItemWithLoading, ModuleCard, MoreOptions, MyGridEditSingleSelect, NavigationContext, NavigationProvider, NormalOrIcon, NotAllowed, NotFound, NotificationItem, NotificationsBell, ObjectProgressStack, PageActionsHostContext, PageBadgeHostContext, PageInfo, PageInfoHostContext, Panel, PollingCountdownChip, PulseDot, RESPONSIVE_ACTION_MODES, ResponsiveActions, SIDE_PANEL_WIDTH_VAR, SaveCancelButton, ServerGrid as ServerGrid_v2, SidePanelHostContext, StatusBadge, StickyPageHeaderContext, StyledMenu, TEXTOS, Tabs, Transitions, TrueFalse, UncontrolledText, aplicarLocaleDeDayjs, changeTitle, closeProgressSnack, composeGridProps, deleteColumn$1 as deleteColumn, deleteColumn as deleteColumn_v2, editColumn, filterQuery, formContainerSx, formGridSx, formParser, headerContainerSx, _default as headerReducer, localeDeNumeros, localeTextDeMUI, localeTextDeToolpad, manualCacheRefresh, mergeSettings, openProgressSnack, pageSizeOptions, query, renderChipCell, renderEditCellWithErrorTooltip, resolveChipOption, resolveInitialState, resolveStatusColor, setErrors, singularizarPalabra, singularizarTitulo, _default$1 as snackProgressReducer, statusColors, tags, theme, togglableFields, updateProgressSnackData, useAPI, useColorMode, useDetailForm, useHasPermission, useHasPermission_v2, useKeyboardShortcut, useLocale, useMutationHandler, useNavigation, usePageActionsHost, usePageBadgeHost, usePageInfoHost, useServerGrid, useSidePanelHost, useStickyPageHeader, useStickyPageHeaderHost, useTextos, valueLabel };
|
|
4360
|
+
export type { APIcontextProps, AccountMenuContentProps, AccountMenuItem, AddressValue, AppTheme, AutocompleteOption, ChipCellProps, ChipColor, ChipOption, ColorMode, ComoOpcionesProps, ConfirmDialogProps, ControlledAutocompleteProps, ControlledInput, CustomFilterDef, CustomToolbarProps, DeleteGridColumnsProps$1 as DeleteGridColumnsProps, DetachedPage, DetailExtraButton, DetailFormApi, DetailFormConfig, DetailFormController, DetailFormDialogProps, DetailFormDrawerNavigation, DetailFormDrawerProps, DetailFormProps, DetailFormStatus, DetailPageV2Props, DetailRenderProps, DrawerGridDrawerConfig, DrawerGridEditConfig, DrawerGridProps, EditGridColumnsProps, EditReadOnlyFields, ExportCSVProps as ExportCSVProps_v2, FieldFilter, FieldProps$1 as FieldProps, FieldValidationProps, FilterInput, FormBreakpoint, FormGridSxOptions, GlobalSearchOption, GlobalSearchProps, GridArgs, GridColDefPropsOverrides, GridLayerContribution, GridLayerId, GridLayerMap, JSONFormProps, JSONParserProps, KeyboardShortcut, KpiCardProps, Locale, LocaleContextProps, LocaleProviderProps, MainDrawerV2Props, MainLayoutFooterConfig, MainLayoutPageHeaderProps, MainLayoutProps, MainLayoutSidebarFooterProps, MyDataGridProps, MyGridFilterModel, MyTab, MyTabProps, NotificationItemProps, NotificationsApi, NotificationsBellProps, PageActionsHost, PageBadgeHost, PageInfoHost, PageInfoProps, PageType, PanelProps, PollingCountdownChipProps, ProgressStatusProps, PulseDotProps, ResponsiveAction, ResponsiveActionsMode, ResponsiveActionsProps, RowsSnapshot, ServerGridArgs, ServerGridCreateApi, ServerGridDataApi, ServerGridDeleteApi, ServerGridEditApi, ServerGridEditToggleApi, ServerGridHandle, ServerGridProps, ServerGridSnapshot, ServerGridState, SidePanelHost, StatusColor, StickyPageHeaderHost, Textos, UseColorModeResult, UseServerGridOptions };
|