@acvl/frontend-components 0.0.125 → 0.0.127
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 +1795 -4
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _mui_material from '@mui/material';
|
|
2
|
-
import { ButtonProps, ButtonGroupProps, IconButtonProps, MenuItemProps, BoxProps, AutocompleteProps, SliderProps, SwitchProps, ToggleButtonGroupProps, GridProps, DrawerProps, SxProps, Theme, StackProps, TypographyProps, MenuProps, PaletteColorOptions, TextFieldProps as TextFieldProps$1, DialogProps, DialogContentProps } from '@mui/material';
|
|
2
|
+
import { ButtonProps, ButtonGroupProps, IconButtonProps, MenuItemProps, BoxProps, AutocompleteProps, SliderProps, SwitchProps, ToggleButtonGroupProps, GridProps, DrawerProps, SxProps, Theme, StackProps, TypographyProps, MenuProps, PaletteColorOptions, TextFieldProps as TextFieldProps$1, DialogProps, DialogContentProps, ChipProps, SvgIconProps } from '@mui/material';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { ReactNode, Dispatch, SetStateAction, JSX, RefObject, FC, ComponentType, ReactElement, BaseSyntheticEvent, JSXElementConstructor, ElementType } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -27,6 +27,7 @@ import { Breadcrumb, PageHeaderProps, Navigation, Branding, Session, Authenticat
|
|
|
27
27
|
import { SidebarFooterProps } from '@toolpad/core/DashboardLayout';
|
|
28
28
|
import { Mutex } from 'async-mutex';
|
|
29
29
|
import ReconnectingWebSocket from 'reconnecting-websocket';
|
|
30
|
+
import { UniqueIdentifier, Announcements, ScreenReaderInstructions } from '@dnd-kit/core';
|
|
30
31
|
|
|
31
32
|
interface NormalOrIconProps {
|
|
32
33
|
buttonProps: ButtonProps;
|
|
@@ -5079,6 +5080,82 @@ interface ListaProps extends ConHijos {
|
|
|
5079
5080
|
/** Una lista de `<li>`. */
|
|
5080
5081
|
declare const Lista: ({ children, numerada }: ListaProps) => react_jsx_runtime.JSX.Element;
|
|
5081
5082
|
|
|
5083
|
+
/**
|
|
5084
|
+
* La forma del changelog que cada portal escribe a mano y le pasa a `PaginaDeNovedades` y a
|
|
5085
|
+
* `useNovedadesSinLeer`. El contenido es del portal; la librería sólo lo pinta.
|
|
5086
|
+
*
|
|
5087
|
+
* Tres reglas que la página y el aviso de no leídas dan por hechas:
|
|
5088
|
+
*
|
|
5089
|
+
* 1. La lista va **de más nueva a más vieja**. La primera entrada es la que se marca como "Más
|
|
5090
|
+
* reciente", la que arranca desplegada y la que decide si el punto de aviso del pie del menú se
|
|
5091
|
+
* enciende (ver `novedadesVistas.ts`).
|
|
5092
|
+
* 2. `fecha` identifica la entrada y tiene que ser **única**: es el valor que se guarda como "ya lo
|
|
5093
|
+
* vio" en `localStorage`. Dos publicaciones el mismo día van en la misma entrada.
|
|
5094
|
+
* 3. `cambios` va plano; la página lo agrupa sola por módulo y por tipo. El orden de los módulos
|
|
5095
|
+
* sale del orden en que aparecen escritos, así que lo más importante de cada fecha va primero.
|
|
5096
|
+
*
|
|
5097
|
+
* Se agrupa por fecha y no por número de versión porque es lo que le sirve al usuario ("qué cambió
|
|
5098
|
+
* desde la última vez que entré"); el tag `vX.Y.Z` sigue siendo la referencia interna del release.
|
|
5099
|
+
**/
|
|
5100
|
+
/** Naturaleza del cambio; define el icono y el color con el que se pinta. */
|
|
5101
|
+
type TipoDeCambio = "nuevo" | "mejora" | "correccion";
|
|
5102
|
+
interface Cambio {
|
|
5103
|
+
tipo: TipoDeCambio;
|
|
5104
|
+
/** Módulo del portal al que pertenece (Órdenes de envío, Viajes, General, ...). */
|
|
5105
|
+
modulo: string;
|
|
5106
|
+
/** Redacción para el usuario final, no el mensaje del commit. */
|
|
5107
|
+
texto: string;
|
|
5108
|
+
}
|
|
5109
|
+
interface Release {
|
|
5110
|
+
/** Fecha de publicación en ISO (`YYYY-MM-DD`). Identifica la entrada. */
|
|
5111
|
+
fecha: string;
|
|
5112
|
+
/** Titular de la publicación; se muestra al desplegarla. */
|
|
5113
|
+
resumen?: string;
|
|
5114
|
+
cambios: Cambio[];
|
|
5115
|
+
}
|
|
5116
|
+
|
|
5117
|
+
/**
|
|
5118
|
+
* Notas de versión de un portal, una tarjeta desplegable por fecha de publicación (de la más nueva
|
|
5119
|
+
* a la más vieja) y dentro agrupadas por módulo y por tipo de cambio. El contenido es del portal:
|
|
5120
|
+
* llega entero por `changelog` (ver `tipos.ts` para sus reglas).
|
|
5121
|
+
*
|
|
5122
|
+
* Al abrir la página se marca la última publicación como leída, que es lo que apaga el punto de
|
|
5123
|
+
* aviso del pie del menú de navegación (`useNovedadesSinLeer`).
|
|
5124
|
+
*
|
|
5125
|
+
* Va dentro del `MainLayout`: el título y las migas los pone el layout a partir de la navigation
|
|
5126
|
+
* del portal, así que la página no pinta encabezado propio.
|
|
5127
|
+
**/
|
|
5128
|
+
interface PaginaDeNovedadesProps {
|
|
5129
|
+
/** Las publicaciones, de la más nueva a la más vieja. */
|
|
5130
|
+
changelog: readonly Release[];
|
|
5131
|
+
}
|
|
5132
|
+
declare const PaginaDeNovedades: ({ changelog }: PaginaDeNovedadesProps) => react_jsx_runtime.JSX.Element;
|
|
5133
|
+
|
|
5134
|
+
/** Deja registrado que el usuario ya abrió las novedades de `fecha`. */
|
|
5135
|
+
declare const marcarNovedadesVistas: (fecha: string) => void;
|
|
5136
|
+
/** Cómo pide el portal su changelog: un `import()` dinámico, para que no viaje en el bundle principal. */
|
|
5137
|
+
type CargarChangelog = () => Promise<readonly Release[]>;
|
|
5138
|
+
/**
|
|
5139
|
+
* `true` mientras la última publicación del changelog no coincida con la que el usuario abrió
|
|
5140
|
+
* por última vez. Se apaga sola cuando `PaginaDeNovedades` se monta, sin recargar.
|
|
5141
|
+
*
|
|
5142
|
+
* **Recibe cómo cargar el changelog, no el changelog.** Lo usa el `MainLayout`, que está en el
|
|
5143
|
+
* bundle principal: con el arreglo importado de forma estática, todo el historial (cientos de KB
|
|
5144
|
+
* con el tiempo) viajaría en la primera carga de cada pantalla sólo para leer una fecha. Con un
|
|
5145
|
+
* `import()`, el bundler lo saca a su propio chunk —el mismo que usa la página de Novedades— y se
|
|
5146
|
+
* pide después del primer render; el punto aparece un instante más tarde, nada más.
|
|
5147
|
+
*
|
|
5148
|
+
* `cargar` tiene que ser estable: declárala a nivel de módulo, no dentro del componente, o se
|
|
5149
|
+
* volvería a pedir en cada render. Si la carga falla, el punto se queda apagado.
|
|
5150
|
+
*
|
|
5151
|
+
* @example
|
|
5152
|
+
* const cargarChangelog = () => import("../novedades/changelog.ts").then((m) => m.CHANGELOG);
|
|
5153
|
+
* // dentro del layout:
|
|
5154
|
+
* const hayNovedades = useNovedadesSinLeer(cargarChangelog);
|
|
5155
|
+
* <MainLayout footer={{ releaseNotesUrl: "/novedades", hasUnreadReleaseNotes: hayNovedades }} />
|
|
5156
|
+
**/
|
|
5157
|
+
declare const useNovedadesSinLeer: (cargar: CargarChangelog) => boolean;
|
|
5158
|
+
|
|
5082
5159
|
/**
|
|
5083
5160
|
* Encabezado por defecto del `PageContainer`: resuelve título y breadcrumbs a
|
|
5084
5161
|
* partir de `useActivePage`, con soporte para páginas "sueltas" (rutas que ya no
|
|
@@ -5895,6 +5972,26 @@ declare function createLiveSocketSession(options: LiveSocketSessionOptions): {
|
|
|
5895
5972
|
};
|
|
5896
5973
|
type LiveSocketSession = ReturnType<typeof createLiveSocketSession>;
|
|
5897
5974
|
|
|
5975
|
+
/**
|
|
5976
|
+
* Lo que un lector de pantalla dice al reordenar con `@dnd-kit` (la prop `accessibility` de
|
|
5977
|
+
* `DndContext`), en español: los textos de la librería vienen en inglés y nombran los elementos por
|
|
5978
|
+
* su id («Draggable item 12 was dropped over droppable area 7»).
|
|
5979
|
+
*
|
|
5980
|
+
* `nombre` dice cómo se llama cada elemento tal como se lee en una oración («el panel «Ventas»»);
|
|
5981
|
+
* con `lugar` y `total`, también en qué posición queda.
|
|
5982
|
+
*
|
|
5983
|
+
* <DndContext accessibility={accesibilidadDeArrastre({ nombre: (id) => … })} …>
|
|
5984
|
+
*/
|
|
5985
|
+
declare const accesibilidadDeArrastre: ({ nombre, lugar, total, }: {
|
|
5986
|
+
nombre: (id: UniqueIdentifier) => string;
|
|
5987
|
+
/** La posición de un elemento, desde 1. */
|
|
5988
|
+
lugar?: (id: UniqueIdentifier) => number;
|
|
5989
|
+
total?: number;
|
|
5990
|
+
}) => {
|
|
5991
|
+
announcements: Announcements;
|
|
5992
|
+
screenReaderInstructions: ScreenReaderInstructions;
|
|
5993
|
+
};
|
|
5994
|
+
|
|
5898
5995
|
/**
|
|
5899
5996
|
* El contrato con el backend de reportes (`backend/reportes` en wms).
|
|
5900
5997
|
*
|
|
@@ -6137,6 +6234,8 @@ interface DefinicionDeListado {
|
|
|
6137
6234
|
agrupacion: AgrupacionDeListado | Record<string, never>;
|
|
6138
6235
|
busqueda: string;
|
|
6139
6236
|
orden: string[];
|
|
6237
|
+
/** Cómo se pinta la vista previa; sin ella, tabla (`ReporteBase.visualizacion`). */
|
|
6238
|
+
visualizacion?: Partial<VisualizacionDeReporte>;
|
|
6140
6239
|
}
|
|
6141
6240
|
/** Un reporte tipo listado tal como lo sirve el backend. */
|
|
6142
6241
|
interface ReporteDeListado extends DefinicionDeListado {
|
|
@@ -6151,6 +6250,15 @@ interface ReporteDeListado extends DefinicionDeListado {
|
|
|
6151
6250
|
delimitador: string;
|
|
6152
6251
|
compartido_con: number[];
|
|
6153
6252
|
es_propio: boolean;
|
|
6253
|
+
/**
|
|
6254
|
+
* Editar y borrar, sólo para el propietario con el permiso de modelo; `delete_motivo` dice por
|
|
6255
|
+
* qué no se puede borrar (en un tablero, con envíos programados). Desde acv_core 0.16.0.
|
|
6256
|
+
*/
|
|
6257
|
+
obj_permissions?: {
|
|
6258
|
+
edit: boolean;
|
|
6259
|
+
delete: boolean;
|
|
6260
|
+
delete_motivo?: string;
|
|
6261
|
+
};
|
|
6154
6262
|
creado_en: string;
|
|
6155
6263
|
actualizado_en: string;
|
|
6156
6264
|
}
|
|
@@ -6286,7 +6394,17 @@ interface PaginaDelBackend<T> {
|
|
|
6286
6394
|
interface ArchivoDeReporte {
|
|
6287
6395
|
filename: string;
|
|
6288
6396
|
file: string;
|
|
6397
|
+
/**
|
|
6398
|
+
* Si el motor cortó el archivo, en cuántas filas (el encabezado `X-Reporte-Truncado` de
|
|
6399
|
+
* acv_core, `ENCABEZADO_DE_CORTE`): el reporte trae más, y quien lo baja lo tiene que saber.
|
|
6400
|
+
*/
|
|
6401
|
+
truncadoEn?: number;
|
|
6289
6402
|
}
|
|
6403
|
+
/**
|
|
6404
|
+
* El encabezado con que acv_core avisa que cortó una descarga síncrona; su valor es el tope. El
|
|
6405
|
+
* proyecto lo expone en `CORS_EXPOSE_HEADERS` para que el portal lo pueda leer.
|
|
6406
|
+
*/
|
|
6407
|
+
declare const ENCABEZADO_DE_CORTE = "x-reporte-truncado";
|
|
6290
6408
|
/** El 202 de una descarga que no cabe en una respuesta: se genera y llega por la campana. */
|
|
6291
6409
|
interface AvisoDeExportacion {
|
|
6292
6410
|
exportacion: number;
|
|
@@ -6351,7 +6469,8 @@ declare const paginaDeResultados: ({ page, pageSize, parametros, }: PaginaDeResu
|
|
|
6351
6469
|
* todo lo demás —el 202 de uno que se genera en segundo plano, o un error como el 404 sin
|
|
6352
6470
|
* registros— como JSON, para que quien descarga lea `detalle` o el mensaje de error.
|
|
6353
6471
|
*
|
|
6354
|
-
* El nombre sale del `Content-Disposition`; `nombrePorDefecto` sólo si no lo trae.
|
|
6472
|
+
* El nombre sale del `Content-Disposition`; `nombrePorDefecto` sólo si no lo trae. Si el motor
|
|
6473
|
+
* cortó el archivo, `truncadoEn` dice en cuántas filas (`ENCABEZADO_DE_CORTE`).
|
|
6355
6474
|
*/
|
|
6356
6475
|
declare const leerArchivoOAviso: (nombrePorDefecto: string) => (response: Response) => Promise<unknown>;
|
|
6357
6476
|
/** Los módulos de un `createApi` de `@reduxjs/toolkit/query/react`: el núcleo y los hooks. */
|
|
@@ -6869,5 +6988,1677 @@ interface ProgramacionesDelReporteProps extends Pick<ProgramacionDialogProps, "d
|
|
|
6869
6988
|
}
|
|
6870
6989
|
declare function ProgramacionesDelReporte({ reporte, editable, api, ...dialogo }: ProgramacionesDelReporteProps): react_jsx_runtime.JSX.Element;
|
|
6871
6990
|
|
|
6872
|
-
|
|
6873
|
-
|
|
6991
|
+
/**
|
|
6992
|
+
* Cómo se pinta un reporte (`ReporteBase.visualizacion` de acv_core): tabla, barras, líneas,
|
|
6993
|
+
* pastel o indicador. Las etiquetas son las del backend (`acv_core.reportes.visualizacion.
|
|
6994
|
+
* VISUALIZACIONES`): no se piden, no cambian de un usuario a otro.
|
|
6995
|
+
*/
|
|
6996
|
+
declare const ETIQUETAS_DE_VISUALIZACION: Record<TipoDeVisualizacion, string>;
|
|
6997
|
+
/** Una gráfica pinta la página que llega: se pide la más grande que acepta el backend. */
|
|
6998
|
+
declare const PAGINA_DE_GRAFICA: {
|
|
6999
|
+
page: number;
|
|
7000
|
+
pageSize: number;
|
|
7001
|
+
};
|
|
7002
|
+
/** La visualización tal cual, o tabla si no dice su tipo (o dice uno que no existe). */
|
|
7003
|
+
declare const visualizacionDe: (visualizacion: Partial<VisualizacionDeReporte> | null | undefined) => VisualizacionDeReporte;
|
|
7004
|
+
/**
|
|
7005
|
+
* Si se pinta como gráfica. `{}` no lo es: preguntar sólo `tipo !== "tabla"` pintaba los listados
|
|
7006
|
+
* como una gráfica sin datos.
|
|
7007
|
+
*/
|
|
7008
|
+
declare const esGrafica: (visualizacion: Partial<VisualizacionDeReporte> | null | undefined) => boolean;
|
|
7009
|
+
|
|
7010
|
+
interface VistaDeResultadosProps extends TablaDeResultadosProps {
|
|
7011
|
+
/** Cómo se pinta; sin ella, la que trajeron los resultados (y si tampoco, tabla). */
|
|
7012
|
+
visualizacion?: Partial<VisualizacionDeReporte> | null;
|
|
7013
|
+
/** Ofrece ver como tabla lo que es una gráfica (en la ficha; en un panel no cabe). */
|
|
7014
|
+
alternarTabla?: boolean;
|
|
7015
|
+
/**
|
|
7016
|
+
* El alto de la gráfica, en px; `"llenar"` ocupa el que le deje su contenedor —un panel del
|
|
7017
|
+
* tablero, el diálogo de verlo en grande—, que tiene que tener alto propio.
|
|
7018
|
+
*/
|
|
7019
|
+
alto?: number | "llenar";
|
|
7020
|
+
}
|
|
7021
|
+
/**
|
|
7022
|
+
* Lo que se le da a `pintar` de `CorridaDeReporte` para ver un reporte como lo pide su
|
|
7023
|
+
* `visualizacion`: la tabla o la gráfica, y los avisos de que no se ve todo: el reporte se cortó en
|
|
7024
|
+
* el tope de filas (`truncado`), o hay más filas que la página que se pintó —una gráfica, o su
|
|
7025
|
+
* página vista como tabla—. La comparten la ficha de un reporte y los paneles de un tablero.
|
|
7026
|
+
*
|
|
7027
|
+
* <CorridaDeReporte … pintar={(tabla) => <VistaDeResultados {...tabla} alternarTabla />} />
|
|
7028
|
+
*/
|
|
7029
|
+
declare function VistaDeResultados({ visualizacion: pedida, alternarTabla, alto, ...tabla }: VistaDeResultadosProps): react_jsx_runtime.JSX.Element;
|
|
7030
|
+
|
|
7031
|
+
interface GraficaDeResultadosProps {
|
|
7032
|
+
resultados: ResultadosDeReporte;
|
|
7033
|
+
visualizacion: VisualizacionDeReporte;
|
|
7034
|
+
/** El alto, en px. */
|
|
7035
|
+
alto?: number;
|
|
7036
|
+
}
|
|
7037
|
+
declare function GraficaDeResultados({ resultados, visualizacion, alto, }: GraficaDeResultadosProps): react_jsx_runtime.JSX.Element;
|
|
7038
|
+
|
|
7039
|
+
type Visualizacion = Partial<VisualizacionDeReporte> | null | undefined;
|
|
7040
|
+
/** El ícono de cómo se ve un reporte: el de un panel, el de un renglón de una lista. */
|
|
7041
|
+
declare function IconoDeVisualizacion({ visualizacion, ...props }: {
|
|
7042
|
+
visualizacion: Visualizacion;
|
|
7043
|
+
} & SvgIconProps): react_jsx_runtime.JSX.Element;
|
|
7044
|
+
/** Cómo se ve un reporte —tabla, barras, líneas, pastel o indicador—, con su color. */
|
|
7045
|
+
declare function ChipDeVisualizacion({ visualizacion, ...props }: {
|
|
7046
|
+
visualizacion: Visualizacion;
|
|
7047
|
+
} & Omit<ChipProps, "label" | "color" | "icon">): react_jsx_runtime.JSX.Element;
|
|
7048
|
+
|
|
7049
|
+
/** Lo que se le dice a quien guardó o descargó un reporte. */
|
|
7050
|
+
interface MensajeDeReporte {
|
|
7051
|
+
tipo: "success" | "info" | "warning" | "error";
|
|
7052
|
+
texto: string;
|
|
7053
|
+
/** El archivo se genera en segundo plano: el aviso lleva a donde va a quedar. */
|
|
7054
|
+
aExportaciones?: boolean;
|
|
7055
|
+
}
|
|
7056
|
+
interface AvisoDeReporteProps {
|
|
7057
|
+
aviso: MensajeDeReporte | null;
|
|
7058
|
+
onCerrar: () => void;
|
|
7059
|
+
/** Adónde lleva «Ir a Exportaciones»: la página de exportaciones de la app. */
|
|
7060
|
+
rutaDeExportaciones?: string;
|
|
7061
|
+
}
|
|
7062
|
+
/** El resultado de guardar o descargar un reporte, con el enlace a Exportaciones si hace falta. */
|
|
7063
|
+
declare function AvisoDeReporte({ aviso, onCerrar, rutaDeExportaciones, }: AvisoDeReporteProps): react_jsx_runtime.JSX.Element | null;
|
|
7064
|
+
|
|
7065
|
+
/**
|
|
7066
|
+
* El `useDescargarReporteMutation` de `crearApiDeReportes`, visto desde aquí: lo que se usa de él.
|
|
7067
|
+
*/
|
|
7068
|
+
type UseDescargarReporte = () => readonly [
|
|
7069
|
+
(args: {
|
|
7070
|
+
id: number | string;
|
|
7071
|
+
valores?: ValoresDeParametros;
|
|
7072
|
+
}) => {
|
|
7073
|
+
unwrap: () => Promise<ArchivoDeReporte | AvisoDeExportacion>;
|
|
7074
|
+
},
|
|
7075
|
+
{
|
|
7076
|
+
isLoading: boolean;
|
|
7077
|
+
}
|
|
7078
|
+
];
|
|
7079
|
+
/** El aviso de un archivo que llegó cortado, o nada. */
|
|
7080
|
+
declare const avisoDeCorte: (archivo: ArchivoDeReporte) => MensajeDeReporte | null;
|
|
7081
|
+
/**
|
|
7082
|
+
* Bajar un reporte guardado: un CSV que cabe en la respuesta llega enseguida; todo lo demás —un
|
|
7083
|
+
* Excel, un CSV grande— se genera en segundo plano y llega por la campana (202), y sin registros el
|
|
7084
|
+
* backend contesta 404 con «Ningún registro fue encontrado.». Si el motor cortó el archivo en su
|
|
7085
|
+
* tope de filas, se baja igual y se avisa (`truncadoEn`).
|
|
7086
|
+
*
|
|
7087
|
+
* const { bajar, descargando } = useDescargaDeReporte(useDescargarReporteMutation, setAviso);
|
|
7088
|
+
*/
|
|
7089
|
+
declare function useDescargaDeReporte(useDescargar: UseDescargarReporte, setAviso: (aviso: MensajeDeReporte | null) => void): {
|
|
7090
|
+
bajar: (id: number, valores?: ValoresDeParametros) => Promise<void>;
|
|
7091
|
+
descargando: boolean;
|
|
7092
|
+
};
|
|
7093
|
+
|
|
7094
|
+
/**
|
|
7095
|
+
* Lo que va en el renglón del título de la página, como las acciones de una ficha de
|
|
7096
|
+
* `DetailPage_v2`: la ficha de un reporte y la vista de un tablero no tienen encabezado propio
|
|
7097
|
+
* donde ponerlas. Si el layout no ofrece ese lugar (`usePageActionsHost`), van arriba, a la
|
|
7098
|
+
* derecha.
|
|
7099
|
+
*/
|
|
7100
|
+
declare function AccionesDelTitulo({ children }: {
|
|
7101
|
+
children: ReactNode;
|
|
7102
|
+
}): react_jsx_runtime.JSX.Element;
|
|
7103
|
+
/**
|
|
7104
|
+
* El título del encabezado de una página que no es `DetailPage_v2` (o cuyo registro no trae
|
|
7105
|
+
* `titulo`): el `PageHeader` lo lee de `state.header.title` cuando la ruta trae un id, y sin él
|
|
7106
|
+
* pinta «Tablero 12».
|
|
7107
|
+
*
|
|
7108
|
+
* Se limpia al salir: nadie más lo hace, y la ficha siguiente sin título heredaba el de ésta.
|
|
7109
|
+
*/
|
|
7110
|
+
declare function useTituloDePagina(titulo: string | undefined): void;
|
|
7111
|
+
|
|
7112
|
+
/**
|
|
7113
|
+
* El contrato con el backend de tableros (`acv_core.reportes`: `TableroBase`,
|
|
7114
|
+
* `PanelDeTableroBase` y sus serializadores).
|
|
7115
|
+
*/
|
|
7116
|
+
interface PanelDeTablero {
|
|
7117
|
+
id: number;
|
|
7118
|
+
tablero: number;
|
|
7119
|
+
reporte: number;
|
|
7120
|
+
reporte_label: string;
|
|
7121
|
+
/** `{}` si quien mira el tablero no puede correr el reporte (`accesible`). */
|
|
7122
|
+
visualizacion: Partial<VisualizacionDeReporte>;
|
|
7123
|
+
/** `[]` si quien mira no puede correr el reporte, o si su tipo no declara parámetros. */
|
|
7124
|
+
parametros_del_reporte: ParametroDeReporte[];
|
|
7125
|
+
posicion: number;
|
|
7126
|
+
/** De 1 a 12: las columnas que ocupa en la rejilla. */
|
|
7127
|
+
ancho: number;
|
|
7128
|
+
/** De 1 a 6: los renglones de alto (`ALTO_DE_RENGLON`); 2 es el de siempre. */
|
|
7129
|
+
alto: number;
|
|
7130
|
+
titulo: string;
|
|
7131
|
+
/** La pestaña donde se ve; vacía, la primera («General»). */
|
|
7132
|
+
pestana: string;
|
|
7133
|
+
/** Si quien mira el tablero puede correr su reporte: un panel nunca amplía el acceso. */
|
|
7134
|
+
accesible: boolean;
|
|
7135
|
+
}
|
|
7136
|
+
interface Tablero {
|
|
7137
|
+
id: number;
|
|
7138
|
+
nombre: string;
|
|
7139
|
+
descripcion: string;
|
|
7140
|
+
propietario_label: string;
|
|
7141
|
+
/** Los parámetros comunes; vacíos en un portal cuyos reportes no declaran parámetros. */
|
|
7142
|
+
parametros: ParametroDeReporte[];
|
|
7143
|
+
compartido_con: number[];
|
|
7144
|
+
/** Cada cuántos minutos se refresca solo el tablero abierto; `null`, sólo a mano. */
|
|
7145
|
+
refrescar_cada: {
|
|
7146
|
+
value: string;
|
|
7147
|
+
label: string;
|
|
7148
|
+
} | null;
|
|
7149
|
+
es_propio: boolean;
|
|
7150
|
+
numero_de_paneles?: number;
|
|
7151
|
+
paneles?: PanelDeTablero[];
|
|
7152
|
+
obj_permissions?: {
|
|
7153
|
+
edit: boolean;
|
|
7154
|
+
delete: boolean;
|
|
7155
|
+
};
|
|
7156
|
+
}
|
|
7157
|
+
/** Un reporte que se puede agregar a un tablero (la búsqueda de «Reportes disponibles»). */
|
|
7158
|
+
interface ReporteDisponible {
|
|
7159
|
+
id: number;
|
|
7160
|
+
nombre: string;
|
|
7161
|
+
visualizacion?: Partial<VisualizacionDeReporte>;
|
|
7162
|
+
}
|
|
7163
|
+
/** Las rutas del backend, como en el `constants.ts` de la app (sin `/` al final). */
|
|
7164
|
+
interface RutasDeTableros {
|
|
7165
|
+
/** El CRUD de los tableros (`TableroView`). */
|
|
7166
|
+
tableros: string;
|
|
7167
|
+
/** Los paneles (`PanelDeTableroViewBase`): alta, cambio, `reordenar/` y `<id>/resultados/`. */
|
|
7168
|
+
paneles: string;
|
|
7169
|
+
/** Los reportes, para buscar los que caben en un tablero (`?fuera_del_tablero=`). */
|
|
7170
|
+
reportes: string;
|
|
7171
|
+
}
|
|
7172
|
+
/** Las rutas del portal a las que llevan los botones y menús de un tablero. */
|
|
7173
|
+
interface RutasDelPortal {
|
|
7174
|
+
/** Los tableros: `<tableros>/<id>` y `<tableros>/<id>/editar`. */
|
|
7175
|
+
tableros: string;
|
|
7176
|
+
/** La ficha de un reporte: `<reportes>/<id>` («Abrir el reporte»). */
|
|
7177
|
+
reportes: string;
|
|
7178
|
+
/** Exportaciones, adonde llega una descarga que se genera en segundo plano. */
|
|
7179
|
+
exportaciones?: string;
|
|
7180
|
+
}
|
|
7181
|
+
|
|
7182
|
+
/**
|
|
7183
|
+
* Los nombres de los endpoints que inyecta la fábrica. Quedan **reservados** en el `createApi` de
|
|
7184
|
+
* la app: con `overrideExisting: false`, RTK ignora en silencio un `injectEndpoints` con un nombre
|
|
7185
|
+
* que ya existe. Los cuatro primeros los arma la fábrica de catálogos con la clave `tableros`; son
|
|
7186
|
+
* los que tms ya usaba, para no cambiar su caché.
|
|
7187
|
+
*/
|
|
7188
|
+
declare const ENDPOINTS_DE_TABLEROS: readonly ["tablerosObtener", "tablerosListar", "tablerosGuardar", "tablerosEliminar", "guardarPanelDeTablero", "borrarPanelDeTablero", "reordenarPanelesDeTablero", "getResultadosDePanel", "buscarReportesParaPanel"];
|
|
7189
|
+
/**
|
|
7190
|
+
* Lo que se está pidiendo cuando un tablero se refresca: el tablero y lo que corre cada panel
|
|
7191
|
+
* (`useRefrescoDeTablero` lo vigila para girar el botón).
|
|
7192
|
+
*/
|
|
7193
|
+
declare const ENDPOINTS_DEL_REFRESCO: string[];
|
|
7194
|
+
/**
|
|
7195
|
+
* Los tags. `tableros` y `panelesDeTablero` son los que la app pone en `invalidaTambien.
|
|
7196
|
+
* alCambiarReporte` de `crearApiDeReportes`: un panel enseña el nombre, la visualización y los
|
|
7197
|
+
* parámetros de su reporte.
|
|
7198
|
+
*/
|
|
7199
|
+
declare const TAGS_DE_TABLEROS: readonly ["tableros", "panelesDeTablero"];
|
|
7200
|
+
interface OpcionesDeApiDeTableros {
|
|
7201
|
+
endpoints: RutasDeTableros;
|
|
7202
|
+
}
|
|
7203
|
+
/**
|
|
7204
|
+
* Inyecta los endpoints de los tableros en el `createApi` de una app y devuelve sus hooks.
|
|
7205
|
+
*
|
|
7206
|
+
* El CRUD del tablero sale de la fábrica de catálogos (`useObtener`, `useListarLazy`, `useGuardar`
|
|
7207
|
+
* y `useEliminar`, con la clave `tableros`): el backend es un `ProjectBaseViewset` y la ficha es un
|
|
7208
|
+
* `DetailPage_v2`, como un catálogo. Lo de los paneles se edita aparte (`<paneles>/`) y viaja
|
|
7209
|
+
* dentro de la ficha del tablero, así que todo lo que cambia un panel invalida esa ficha.
|
|
7210
|
+
*
|
|
7211
|
+
* Se llama una vez, al cargar el módulo. Reserva los nombres de `ENDPOINTS_DE_TABLEROS`.
|
|
7212
|
+
*
|
|
7213
|
+
* const tablerosAPI = crearApiDeTableros(mainAPI, {
|
|
7214
|
+
* endpoints: {
|
|
7215
|
+
* tableros: constants.endpoints.reportes.tableros,
|
|
7216
|
+
* paneles: constants.endpoints.reportes.paneles,
|
|
7217
|
+
* reportes: constants.endpoints.reportes.reportes,
|
|
7218
|
+
* },
|
|
7219
|
+
* });
|
|
7220
|
+
*
|
|
7221
|
+
* y en `crearApiDeReportes`, `invalidaTambien.alCambiarReporte: [{ type: "tableros" },
|
|
7222
|
+
* { type: "panelesDeTablero" }]`.
|
|
7223
|
+
*/
|
|
7224
|
+
declare const crearApiDeTableros: (mainAPI: ApiInyectable, { endpoints: rutas }: OpcionesDeApiDeTableros) => {
|
|
7225
|
+
useGuardarPanelDeTableroMutation: <R extends Record<string, any> = ({
|
|
7226
|
+
requestId?: undefined;
|
|
7227
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7228
|
+
data?: undefined;
|
|
7229
|
+
error?: undefined;
|
|
7230
|
+
endpointName?: string;
|
|
7231
|
+
startedTimeStamp?: undefined;
|
|
7232
|
+
fulfilledTimeStamp?: undefined;
|
|
7233
|
+
} & {
|
|
7234
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7235
|
+
isUninitialized: true;
|
|
7236
|
+
isLoading: false;
|
|
7237
|
+
isSuccess: false;
|
|
7238
|
+
isError: false;
|
|
7239
|
+
}) | ({
|
|
7240
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7241
|
+
} & Omit<{
|
|
7242
|
+
requestId: string;
|
|
7243
|
+
data?: PanelDeTablero | undefined;
|
|
7244
|
+
error?: unknown;
|
|
7245
|
+
endpointName: string;
|
|
7246
|
+
startedTimeStamp: number;
|
|
7247
|
+
fulfilledTimeStamp?: number;
|
|
7248
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
7249
|
+
requestId: string;
|
|
7250
|
+
data?: PanelDeTablero | undefined;
|
|
7251
|
+
error?: unknown;
|
|
7252
|
+
endpointName: string;
|
|
7253
|
+
startedTimeStamp: number;
|
|
7254
|
+
fulfilledTimeStamp?: number;
|
|
7255
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
7256
|
+
error: undefined;
|
|
7257
|
+
} & {
|
|
7258
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7259
|
+
isUninitialized: false;
|
|
7260
|
+
isLoading: false;
|
|
7261
|
+
isSuccess: true;
|
|
7262
|
+
isError: false;
|
|
7263
|
+
}) | ({
|
|
7264
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7265
|
+
} & {
|
|
7266
|
+
requestId: string;
|
|
7267
|
+
data?: PanelDeTablero | undefined;
|
|
7268
|
+
error?: unknown;
|
|
7269
|
+
endpointName: string;
|
|
7270
|
+
startedTimeStamp: number;
|
|
7271
|
+
fulfilledTimeStamp?: number;
|
|
7272
|
+
} & {
|
|
7273
|
+
data?: undefined;
|
|
7274
|
+
} & {
|
|
7275
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7276
|
+
isUninitialized: false;
|
|
7277
|
+
isLoading: true;
|
|
7278
|
+
isSuccess: false;
|
|
7279
|
+
isError: false;
|
|
7280
|
+
}) | ({
|
|
7281
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7282
|
+
} & Omit<{
|
|
7283
|
+
requestId: string;
|
|
7284
|
+
data?: PanelDeTablero | undefined;
|
|
7285
|
+
error?: unknown;
|
|
7286
|
+
endpointName: string;
|
|
7287
|
+
startedTimeStamp: number;
|
|
7288
|
+
fulfilledTimeStamp?: number;
|
|
7289
|
+
}, "error"> & Required<Pick<{
|
|
7290
|
+
requestId: string;
|
|
7291
|
+
data?: PanelDeTablero | undefined;
|
|
7292
|
+
error?: unknown;
|
|
7293
|
+
endpointName: string;
|
|
7294
|
+
startedTimeStamp: number;
|
|
7295
|
+
fulfilledTimeStamp?: number;
|
|
7296
|
+
}, "error">> & {
|
|
7297
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7298
|
+
isUninitialized: false;
|
|
7299
|
+
isLoading: false;
|
|
7300
|
+
isSuccess: false;
|
|
7301
|
+
isError: true;
|
|
7302
|
+
})>(options?: {
|
|
7303
|
+
selectFromResult?: ((state: ({
|
|
7304
|
+
requestId?: undefined;
|
|
7305
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7306
|
+
data?: undefined;
|
|
7307
|
+
error?: undefined;
|
|
7308
|
+
endpointName?: string;
|
|
7309
|
+
startedTimeStamp?: undefined;
|
|
7310
|
+
fulfilledTimeStamp?: undefined;
|
|
7311
|
+
} & {
|
|
7312
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7313
|
+
isUninitialized: true;
|
|
7314
|
+
isLoading: false;
|
|
7315
|
+
isSuccess: false;
|
|
7316
|
+
isError: false;
|
|
7317
|
+
}) | ({
|
|
7318
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7319
|
+
} & Omit<{
|
|
7320
|
+
requestId: string;
|
|
7321
|
+
data?: PanelDeTablero | undefined;
|
|
7322
|
+
error?: unknown;
|
|
7323
|
+
endpointName: string;
|
|
7324
|
+
startedTimeStamp: number;
|
|
7325
|
+
fulfilledTimeStamp?: number;
|
|
7326
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
7327
|
+
requestId: string;
|
|
7328
|
+
data?: PanelDeTablero | undefined;
|
|
7329
|
+
error?: unknown;
|
|
7330
|
+
endpointName: string;
|
|
7331
|
+
startedTimeStamp: number;
|
|
7332
|
+
fulfilledTimeStamp?: number;
|
|
7333
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
7334
|
+
error: undefined;
|
|
7335
|
+
} & {
|
|
7336
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7337
|
+
isUninitialized: false;
|
|
7338
|
+
isLoading: false;
|
|
7339
|
+
isSuccess: true;
|
|
7340
|
+
isError: false;
|
|
7341
|
+
}) | ({
|
|
7342
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7343
|
+
} & {
|
|
7344
|
+
requestId: string;
|
|
7345
|
+
data?: PanelDeTablero | undefined;
|
|
7346
|
+
error?: unknown;
|
|
7347
|
+
endpointName: string;
|
|
7348
|
+
startedTimeStamp: number;
|
|
7349
|
+
fulfilledTimeStamp?: number;
|
|
7350
|
+
} & {
|
|
7351
|
+
data?: undefined;
|
|
7352
|
+
} & {
|
|
7353
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7354
|
+
isUninitialized: false;
|
|
7355
|
+
isLoading: true;
|
|
7356
|
+
isSuccess: false;
|
|
7357
|
+
isError: false;
|
|
7358
|
+
}) | ({
|
|
7359
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7360
|
+
} & Omit<{
|
|
7361
|
+
requestId: string;
|
|
7362
|
+
data?: PanelDeTablero | undefined;
|
|
7363
|
+
error?: unknown;
|
|
7364
|
+
endpointName: string;
|
|
7365
|
+
startedTimeStamp: number;
|
|
7366
|
+
fulfilledTimeStamp?: number;
|
|
7367
|
+
}, "error"> & Required<Pick<{
|
|
7368
|
+
requestId: string;
|
|
7369
|
+
data?: PanelDeTablero | undefined;
|
|
7370
|
+
error?: unknown;
|
|
7371
|
+
endpointName: string;
|
|
7372
|
+
startedTimeStamp: number;
|
|
7373
|
+
fulfilledTimeStamp?: number;
|
|
7374
|
+
}, "error">> & {
|
|
7375
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7376
|
+
isUninitialized: false;
|
|
7377
|
+
isLoading: false;
|
|
7378
|
+
isSuccess: false;
|
|
7379
|
+
isError: true;
|
|
7380
|
+
})) => R) | undefined;
|
|
7381
|
+
fixedCacheKey?: string;
|
|
7382
|
+
} | undefined) => readonly [(arg: Partial<PanelDeTablero> & {
|
|
7383
|
+
tablero: number;
|
|
7384
|
+
}) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<Partial<PanelDeTablero> & {
|
|
7385
|
+
tablero: number;
|
|
7386
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, PanelDeTablero, string, unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
|
|
7387
|
+
originalArgs?: (Partial<PanelDeTablero> & {
|
|
7388
|
+
tablero: number;
|
|
7389
|
+
}) | undefined;
|
|
7390
|
+
reset: () => void;
|
|
7391
|
+
}];
|
|
7392
|
+
useBorrarPanelDeTableroMutation: <R extends Record<string, any> = ({
|
|
7393
|
+
requestId?: undefined;
|
|
7394
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7395
|
+
data?: undefined;
|
|
7396
|
+
error?: undefined;
|
|
7397
|
+
endpointName?: string;
|
|
7398
|
+
startedTimeStamp?: undefined;
|
|
7399
|
+
fulfilledTimeStamp?: undefined;
|
|
7400
|
+
} & {
|
|
7401
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7402
|
+
isUninitialized: true;
|
|
7403
|
+
isLoading: false;
|
|
7404
|
+
isSuccess: false;
|
|
7405
|
+
isError: false;
|
|
7406
|
+
}) | ({
|
|
7407
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7408
|
+
} & Omit<{
|
|
7409
|
+
requestId: string;
|
|
7410
|
+
data?: void | undefined;
|
|
7411
|
+
error?: unknown;
|
|
7412
|
+
endpointName: string;
|
|
7413
|
+
startedTimeStamp: number;
|
|
7414
|
+
fulfilledTimeStamp?: number;
|
|
7415
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
7416
|
+
requestId: string;
|
|
7417
|
+
data?: void | undefined;
|
|
7418
|
+
error?: unknown;
|
|
7419
|
+
endpointName: string;
|
|
7420
|
+
startedTimeStamp: number;
|
|
7421
|
+
fulfilledTimeStamp?: number;
|
|
7422
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
7423
|
+
error: undefined;
|
|
7424
|
+
} & {
|
|
7425
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7426
|
+
isUninitialized: false;
|
|
7427
|
+
isLoading: false;
|
|
7428
|
+
isSuccess: true;
|
|
7429
|
+
isError: false;
|
|
7430
|
+
}) | ({
|
|
7431
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7432
|
+
} & {
|
|
7433
|
+
requestId: string;
|
|
7434
|
+
data?: void | undefined;
|
|
7435
|
+
error?: unknown;
|
|
7436
|
+
endpointName: string;
|
|
7437
|
+
startedTimeStamp: number;
|
|
7438
|
+
fulfilledTimeStamp?: number;
|
|
7439
|
+
} & {
|
|
7440
|
+
data?: undefined;
|
|
7441
|
+
} & {
|
|
7442
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7443
|
+
isUninitialized: false;
|
|
7444
|
+
isLoading: true;
|
|
7445
|
+
isSuccess: false;
|
|
7446
|
+
isError: false;
|
|
7447
|
+
}) | ({
|
|
7448
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7449
|
+
} & Omit<{
|
|
7450
|
+
requestId: string;
|
|
7451
|
+
data?: void | undefined;
|
|
7452
|
+
error?: unknown;
|
|
7453
|
+
endpointName: string;
|
|
7454
|
+
startedTimeStamp: number;
|
|
7455
|
+
fulfilledTimeStamp?: number;
|
|
7456
|
+
}, "error"> & Required<Pick<{
|
|
7457
|
+
requestId: string;
|
|
7458
|
+
data?: void | undefined;
|
|
7459
|
+
error?: unknown;
|
|
7460
|
+
endpointName: string;
|
|
7461
|
+
startedTimeStamp: number;
|
|
7462
|
+
fulfilledTimeStamp?: number;
|
|
7463
|
+
}, "error">> & {
|
|
7464
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7465
|
+
isUninitialized: false;
|
|
7466
|
+
isLoading: false;
|
|
7467
|
+
isSuccess: false;
|
|
7468
|
+
isError: true;
|
|
7469
|
+
})>(options?: {
|
|
7470
|
+
selectFromResult?: ((state: ({
|
|
7471
|
+
requestId?: undefined;
|
|
7472
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7473
|
+
data?: undefined;
|
|
7474
|
+
error?: undefined;
|
|
7475
|
+
endpointName?: string;
|
|
7476
|
+
startedTimeStamp?: undefined;
|
|
7477
|
+
fulfilledTimeStamp?: undefined;
|
|
7478
|
+
} & {
|
|
7479
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7480
|
+
isUninitialized: true;
|
|
7481
|
+
isLoading: false;
|
|
7482
|
+
isSuccess: false;
|
|
7483
|
+
isError: false;
|
|
7484
|
+
}) | ({
|
|
7485
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7486
|
+
} & Omit<{
|
|
7487
|
+
requestId: string;
|
|
7488
|
+
data?: void | undefined;
|
|
7489
|
+
error?: unknown;
|
|
7490
|
+
endpointName: string;
|
|
7491
|
+
startedTimeStamp: number;
|
|
7492
|
+
fulfilledTimeStamp?: number;
|
|
7493
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
7494
|
+
requestId: string;
|
|
7495
|
+
data?: void | undefined;
|
|
7496
|
+
error?: unknown;
|
|
7497
|
+
endpointName: string;
|
|
7498
|
+
startedTimeStamp: number;
|
|
7499
|
+
fulfilledTimeStamp?: number;
|
|
7500
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
7501
|
+
error: undefined;
|
|
7502
|
+
} & {
|
|
7503
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7504
|
+
isUninitialized: false;
|
|
7505
|
+
isLoading: false;
|
|
7506
|
+
isSuccess: true;
|
|
7507
|
+
isError: false;
|
|
7508
|
+
}) | ({
|
|
7509
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7510
|
+
} & {
|
|
7511
|
+
requestId: string;
|
|
7512
|
+
data?: void | undefined;
|
|
7513
|
+
error?: unknown;
|
|
7514
|
+
endpointName: string;
|
|
7515
|
+
startedTimeStamp: number;
|
|
7516
|
+
fulfilledTimeStamp?: number;
|
|
7517
|
+
} & {
|
|
7518
|
+
data?: undefined;
|
|
7519
|
+
} & {
|
|
7520
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7521
|
+
isUninitialized: false;
|
|
7522
|
+
isLoading: true;
|
|
7523
|
+
isSuccess: false;
|
|
7524
|
+
isError: false;
|
|
7525
|
+
}) | ({
|
|
7526
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7527
|
+
} & Omit<{
|
|
7528
|
+
requestId: string;
|
|
7529
|
+
data?: void | undefined;
|
|
7530
|
+
error?: unknown;
|
|
7531
|
+
endpointName: string;
|
|
7532
|
+
startedTimeStamp: number;
|
|
7533
|
+
fulfilledTimeStamp?: number;
|
|
7534
|
+
}, "error"> & Required<Pick<{
|
|
7535
|
+
requestId: string;
|
|
7536
|
+
data?: void | undefined;
|
|
7537
|
+
error?: unknown;
|
|
7538
|
+
endpointName: string;
|
|
7539
|
+
startedTimeStamp: number;
|
|
7540
|
+
fulfilledTimeStamp?: number;
|
|
7541
|
+
}, "error">> & {
|
|
7542
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7543
|
+
isUninitialized: false;
|
|
7544
|
+
isLoading: false;
|
|
7545
|
+
isSuccess: false;
|
|
7546
|
+
isError: true;
|
|
7547
|
+
})) => R) | undefined;
|
|
7548
|
+
fixedCacheKey?: string;
|
|
7549
|
+
} | undefined) => readonly [(arg: {
|
|
7550
|
+
id: number;
|
|
7551
|
+
tablero: number;
|
|
7552
|
+
}) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<{
|
|
7553
|
+
id: number;
|
|
7554
|
+
tablero: number;
|
|
7555
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, void, string, unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
|
|
7556
|
+
originalArgs?: {
|
|
7557
|
+
id: number;
|
|
7558
|
+
tablero: number;
|
|
7559
|
+
} | undefined;
|
|
7560
|
+
reset: () => void;
|
|
7561
|
+
}];
|
|
7562
|
+
useReordenarPanelesDeTableroMutation: <R extends Record<string, any> = ({
|
|
7563
|
+
requestId?: undefined;
|
|
7564
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7565
|
+
data?: undefined;
|
|
7566
|
+
error?: undefined;
|
|
7567
|
+
endpointName?: string;
|
|
7568
|
+
startedTimeStamp?: undefined;
|
|
7569
|
+
fulfilledTimeStamp?: undefined;
|
|
7570
|
+
} & {
|
|
7571
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7572
|
+
isUninitialized: true;
|
|
7573
|
+
isLoading: false;
|
|
7574
|
+
isSuccess: false;
|
|
7575
|
+
isError: false;
|
|
7576
|
+
}) | ({
|
|
7577
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7578
|
+
} & Omit<{
|
|
7579
|
+
requestId: string;
|
|
7580
|
+
data?: void | undefined;
|
|
7581
|
+
error?: unknown;
|
|
7582
|
+
endpointName: string;
|
|
7583
|
+
startedTimeStamp: number;
|
|
7584
|
+
fulfilledTimeStamp?: number;
|
|
7585
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
7586
|
+
requestId: string;
|
|
7587
|
+
data?: void | undefined;
|
|
7588
|
+
error?: unknown;
|
|
7589
|
+
endpointName: string;
|
|
7590
|
+
startedTimeStamp: number;
|
|
7591
|
+
fulfilledTimeStamp?: number;
|
|
7592
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
7593
|
+
error: undefined;
|
|
7594
|
+
} & {
|
|
7595
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7596
|
+
isUninitialized: false;
|
|
7597
|
+
isLoading: false;
|
|
7598
|
+
isSuccess: true;
|
|
7599
|
+
isError: false;
|
|
7600
|
+
}) | ({
|
|
7601
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7602
|
+
} & {
|
|
7603
|
+
requestId: string;
|
|
7604
|
+
data?: void | undefined;
|
|
7605
|
+
error?: unknown;
|
|
7606
|
+
endpointName: string;
|
|
7607
|
+
startedTimeStamp: number;
|
|
7608
|
+
fulfilledTimeStamp?: number;
|
|
7609
|
+
} & {
|
|
7610
|
+
data?: undefined;
|
|
7611
|
+
} & {
|
|
7612
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7613
|
+
isUninitialized: false;
|
|
7614
|
+
isLoading: true;
|
|
7615
|
+
isSuccess: false;
|
|
7616
|
+
isError: false;
|
|
7617
|
+
}) | ({
|
|
7618
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7619
|
+
} & Omit<{
|
|
7620
|
+
requestId: string;
|
|
7621
|
+
data?: void | undefined;
|
|
7622
|
+
error?: unknown;
|
|
7623
|
+
endpointName: string;
|
|
7624
|
+
startedTimeStamp: number;
|
|
7625
|
+
fulfilledTimeStamp?: number;
|
|
7626
|
+
}, "error"> & Required<Pick<{
|
|
7627
|
+
requestId: string;
|
|
7628
|
+
data?: void | undefined;
|
|
7629
|
+
error?: unknown;
|
|
7630
|
+
endpointName: string;
|
|
7631
|
+
startedTimeStamp: number;
|
|
7632
|
+
fulfilledTimeStamp?: number;
|
|
7633
|
+
}, "error">> & {
|
|
7634
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7635
|
+
isUninitialized: false;
|
|
7636
|
+
isLoading: false;
|
|
7637
|
+
isSuccess: false;
|
|
7638
|
+
isError: true;
|
|
7639
|
+
})>(options?: {
|
|
7640
|
+
selectFromResult?: ((state: ({
|
|
7641
|
+
requestId?: undefined;
|
|
7642
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7643
|
+
data?: undefined;
|
|
7644
|
+
error?: undefined;
|
|
7645
|
+
endpointName?: string;
|
|
7646
|
+
startedTimeStamp?: undefined;
|
|
7647
|
+
fulfilledTimeStamp?: undefined;
|
|
7648
|
+
} & {
|
|
7649
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7650
|
+
isUninitialized: true;
|
|
7651
|
+
isLoading: false;
|
|
7652
|
+
isSuccess: false;
|
|
7653
|
+
isError: false;
|
|
7654
|
+
}) | ({
|
|
7655
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7656
|
+
} & Omit<{
|
|
7657
|
+
requestId: string;
|
|
7658
|
+
data?: void | undefined;
|
|
7659
|
+
error?: unknown;
|
|
7660
|
+
endpointName: string;
|
|
7661
|
+
startedTimeStamp: number;
|
|
7662
|
+
fulfilledTimeStamp?: number;
|
|
7663
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
7664
|
+
requestId: string;
|
|
7665
|
+
data?: void | undefined;
|
|
7666
|
+
error?: unknown;
|
|
7667
|
+
endpointName: string;
|
|
7668
|
+
startedTimeStamp: number;
|
|
7669
|
+
fulfilledTimeStamp?: number;
|
|
7670
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
7671
|
+
error: undefined;
|
|
7672
|
+
} & {
|
|
7673
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
7674
|
+
isUninitialized: false;
|
|
7675
|
+
isLoading: false;
|
|
7676
|
+
isSuccess: true;
|
|
7677
|
+
isError: false;
|
|
7678
|
+
}) | ({
|
|
7679
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7680
|
+
} & {
|
|
7681
|
+
requestId: string;
|
|
7682
|
+
data?: void | undefined;
|
|
7683
|
+
error?: unknown;
|
|
7684
|
+
endpointName: string;
|
|
7685
|
+
startedTimeStamp: number;
|
|
7686
|
+
fulfilledTimeStamp?: number;
|
|
7687
|
+
} & {
|
|
7688
|
+
data?: undefined;
|
|
7689
|
+
} & {
|
|
7690
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
7691
|
+
isUninitialized: false;
|
|
7692
|
+
isLoading: true;
|
|
7693
|
+
isSuccess: false;
|
|
7694
|
+
isError: false;
|
|
7695
|
+
}) | ({
|
|
7696
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7697
|
+
} & Omit<{
|
|
7698
|
+
requestId: string;
|
|
7699
|
+
data?: void | undefined;
|
|
7700
|
+
error?: unknown;
|
|
7701
|
+
endpointName: string;
|
|
7702
|
+
startedTimeStamp: number;
|
|
7703
|
+
fulfilledTimeStamp?: number;
|
|
7704
|
+
}, "error"> & Required<Pick<{
|
|
7705
|
+
requestId: string;
|
|
7706
|
+
data?: void | undefined;
|
|
7707
|
+
error?: unknown;
|
|
7708
|
+
endpointName: string;
|
|
7709
|
+
startedTimeStamp: number;
|
|
7710
|
+
fulfilledTimeStamp?: number;
|
|
7711
|
+
}, "error">> & {
|
|
7712
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7713
|
+
isUninitialized: false;
|
|
7714
|
+
isLoading: false;
|
|
7715
|
+
isSuccess: false;
|
|
7716
|
+
isError: true;
|
|
7717
|
+
})) => R) | undefined;
|
|
7718
|
+
fixedCacheKey?: string;
|
|
7719
|
+
} | undefined) => readonly [(arg: {
|
|
7720
|
+
tablero: number;
|
|
7721
|
+
ids: number[];
|
|
7722
|
+
}) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<{
|
|
7723
|
+
tablero: number;
|
|
7724
|
+
ids: number[];
|
|
7725
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, void, string, unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
|
|
7726
|
+
originalArgs?: {
|
|
7727
|
+
tablero: number;
|
|
7728
|
+
ids: number[];
|
|
7729
|
+
} | undefined;
|
|
7730
|
+
reset: () => void;
|
|
7731
|
+
}];
|
|
7732
|
+
useGetResultadosDePanelQuery: <R extends Record<string, any> = _reduxjs_toolkit_query.TSHelpersId<(Omit<{
|
|
7733
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7734
|
+
originalArgs?: undefined | undefined;
|
|
7735
|
+
data?: undefined | undefined;
|
|
7736
|
+
error?: undefined | undefined;
|
|
7737
|
+
requestId?: undefined | undefined;
|
|
7738
|
+
endpointName?: string | undefined;
|
|
7739
|
+
startedTimeStamp?: undefined | undefined;
|
|
7740
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
7741
|
+
} & {
|
|
7742
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7743
|
+
isUninitialized: false;
|
|
7744
|
+
isLoading: false;
|
|
7745
|
+
isFetching: false;
|
|
7746
|
+
isSuccess: false;
|
|
7747
|
+
isError: false;
|
|
7748
|
+
}, "isUninitialized"> & {
|
|
7749
|
+
isUninitialized: true;
|
|
7750
|
+
}) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7751
|
+
id: number | string;
|
|
7752
|
+
parametros?: ValoresDeParametros;
|
|
7753
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7754
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7755
|
+
isUninitialized: false;
|
|
7756
|
+
isLoading: false;
|
|
7757
|
+
isFetching: false;
|
|
7758
|
+
isSuccess: false;
|
|
7759
|
+
isError: false;
|
|
7760
|
+
}, "data" | "isLoading" | "isFetching"> & {
|
|
7761
|
+
isLoading: true;
|
|
7762
|
+
isFetching: boolean;
|
|
7763
|
+
data: undefined;
|
|
7764
|
+
}) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7765
|
+
id: number | string;
|
|
7766
|
+
parametros?: ValoresDeParametros;
|
|
7767
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7768
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7769
|
+
isUninitialized: false;
|
|
7770
|
+
isLoading: false;
|
|
7771
|
+
isFetching: false;
|
|
7772
|
+
isSuccess: false;
|
|
7773
|
+
isError: false;
|
|
7774
|
+
}, "data" | "error" | "isFetching" | "fulfilledTimeStamp" | "isSuccess"> & {
|
|
7775
|
+
isSuccess: true;
|
|
7776
|
+
isFetching: true;
|
|
7777
|
+
error: undefined;
|
|
7778
|
+
} & {
|
|
7779
|
+
data: ResultadosDeReporte;
|
|
7780
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7781
|
+
id: number | string;
|
|
7782
|
+
parametros?: ValoresDeParametros;
|
|
7783
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7784
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7785
|
+
isUninitialized: false;
|
|
7786
|
+
isLoading: false;
|
|
7787
|
+
isFetching: false;
|
|
7788
|
+
isSuccess: false;
|
|
7789
|
+
isError: false;
|
|
7790
|
+
}, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7791
|
+
id: number | string;
|
|
7792
|
+
parametros?: ValoresDeParametros;
|
|
7793
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7794
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7795
|
+
isUninitialized: false;
|
|
7796
|
+
isLoading: false;
|
|
7797
|
+
isFetching: false;
|
|
7798
|
+
isSuccess: false;
|
|
7799
|
+
isError: false;
|
|
7800
|
+
}, "data" | "error" | "isFetching" | "fulfilledTimeStamp" | "currentData" | "isSuccess"> & {
|
|
7801
|
+
isSuccess: true;
|
|
7802
|
+
isFetching: false;
|
|
7803
|
+
error: undefined;
|
|
7804
|
+
} & {
|
|
7805
|
+
data: ResultadosDeReporte;
|
|
7806
|
+
currentData: ResultadosDeReporte;
|
|
7807
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7808
|
+
id: number | string;
|
|
7809
|
+
parametros?: ValoresDeParametros;
|
|
7810
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7811
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7812
|
+
isUninitialized: false;
|
|
7813
|
+
isLoading: false;
|
|
7814
|
+
isFetching: false;
|
|
7815
|
+
isSuccess: false;
|
|
7816
|
+
isError: false;
|
|
7817
|
+
}, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7818
|
+
id: number | string;
|
|
7819
|
+
parametros?: ValoresDeParametros;
|
|
7820
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7821
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7822
|
+
isUninitialized: false;
|
|
7823
|
+
isLoading: false;
|
|
7824
|
+
isFetching: false;
|
|
7825
|
+
isSuccess: false;
|
|
7826
|
+
isError: false;
|
|
7827
|
+
}, "error" | "isError"> & {
|
|
7828
|
+
isError: true;
|
|
7829
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7830
|
+
id: number | string;
|
|
7831
|
+
parametros?: ValoresDeParametros;
|
|
7832
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7833
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7834
|
+
isUninitialized: false;
|
|
7835
|
+
isLoading: false;
|
|
7836
|
+
isFetching: false;
|
|
7837
|
+
isSuccess: false;
|
|
7838
|
+
isError: false;
|
|
7839
|
+
}, "error">>)> & {
|
|
7840
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7841
|
+
}>(arg: typeof _reduxjs_toolkit_query.skipToken | ({
|
|
7842
|
+
id: number | string;
|
|
7843
|
+
parametros?: ValoresDeParametros;
|
|
7844
|
+
} & PaginaDeResultados), options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
7845
|
+
skip?: boolean;
|
|
7846
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
7847
|
+
} & {
|
|
7848
|
+
skip?: boolean;
|
|
7849
|
+
selectFromResult?: ((state: _reduxjs_toolkit_query.TSHelpersId<(Omit<{
|
|
7850
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7851
|
+
originalArgs?: undefined | undefined;
|
|
7852
|
+
data?: undefined | undefined;
|
|
7853
|
+
error?: undefined | undefined;
|
|
7854
|
+
requestId?: undefined | undefined;
|
|
7855
|
+
endpointName?: string | undefined;
|
|
7856
|
+
startedTimeStamp?: undefined | undefined;
|
|
7857
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
7858
|
+
} & {
|
|
7859
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7860
|
+
isUninitialized: false;
|
|
7861
|
+
isLoading: false;
|
|
7862
|
+
isFetching: false;
|
|
7863
|
+
isSuccess: false;
|
|
7864
|
+
isError: false;
|
|
7865
|
+
}, "isUninitialized"> & {
|
|
7866
|
+
isUninitialized: true;
|
|
7867
|
+
}) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7868
|
+
id: number | string;
|
|
7869
|
+
parametros?: ValoresDeParametros;
|
|
7870
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7871
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7872
|
+
isUninitialized: false;
|
|
7873
|
+
isLoading: false;
|
|
7874
|
+
isFetching: false;
|
|
7875
|
+
isSuccess: false;
|
|
7876
|
+
isError: false;
|
|
7877
|
+
}, "data" | "isLoading" | "isFetching"> & {
|
|
7878
|
+
isLoading: true;
|
|
7879
|
+
isFetching: boolean;
|
|
7880
|
+
data: undefined;
|
|
7881
|
+
}) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7882
|
+
id: number | string;
|
|
7883
|
+
parametros?: ValoresDeParametros;
|
|
7884
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7885
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7886
|
+
isUninitialized: false;
|
|
7887
|
+
isLoading: false;
|
|
7888
|
+
isFetching: false;
|
|
7889
|
+
isSuccess: false;
|
|
7890
|
+
isError: false;
|
|
7891
|
+
}, "data" | "error" | "isFetching" | "fulfilledTimeStamp" | "isSuccess"> & {
|
|
7892
|
+
isSuccess: true;
|
|
7893
|
+
isFetching: true;
|
|
7894
|
+
error: undefined;
|
|
7895
|
+
} & {
|
|
7896
|
+
data: ResultadosDeReporte;
|
|
7897
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7898
|
+
id: number | string;
|
|
7899
|
+
parametros?: ValoresDeParametros;
|
|
7900
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7901
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7902
|
+
isUninitialized: false;
|
|
7903
|
+
isLoading: false;
|
|
7904
|
+
isFetching: false;
|
|
7905
|
+
isSuccess: false;
|
|
7906
|
+
isError: false;
|
|
7907
|
+
}, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7908
|
+
id: number | string;
|
|
7909
|
+
parametros?: ValoresDeParametros;
|
|
7910
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7911
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7912
|
+
isUninitialized: false;
|
|
7913
|
+
isLoading: false;
|
|
7914
|
+
isFetching: false;
|
|
7915
|
+
isSuccess: false;
|
|
7916
|
+
isError: false;
|
|
7917
|
+
}, "data" | "error" | "isFetching" | "fulfilledTimeStamp" | "currentData" | "isSuccess"> & {
|
|
7918
|
+
isSuccess: true;
|
|
7919
|
+
isFetching: false;
|
|
7920
|
+
error: undefined;
|
|
7921
|
+
} & {
|
|
7922
|
+
data: ResultadosDeReporte;
|
|
7923
|
+
currentData: ResultadosDeReporte;
|
|
7924
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7925
|
+
id: number | string;
|
|
7926
|
+
parametros?: ValoresDeParametros;
|
|
7927
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7928
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7929
|
+
isUninitialized: false;
|
|
7930
|
+
isLoading: false;
|
|
7931
|
+
isFetching: false;
|
|
7932
|
+
isSuccess: false;
|
|
7933
|
+
isError: false;
|
|
7934
|
+
}, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7935
|
+
id: number | string;
|
|
7936
|
+
parametros?: ValoresDeParametros;
|
|
7937
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7938
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7939
|
+
isUninitialized: false;
|
|
7940
|
+
isLoading: false;
|
|
7941
|
+
isFetching: false;
|
|
7942
|
+
isSuccess: false;
|
|
7943
|
+
isError: false;
|
|
7944
|
+
}, "error" | "isError"> & {
|
|
7945
|
+
isError: true;
|
|
7946
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7947
|
+
id: number | string;
|
|
7948
|
+
parametros?: ValoresDeParametros;
|
|
7949
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>> & {
|
|
7950
|
+
currentData?: ResultadosDeReporte | undefined;
|
|
7951
|
+
isUninitialized: false;
|
|
7952
|
+
isLoading: false;
|
|
7953
|
+
isFetching: false;
|
|
7954
|
+
isSuccess: false;
|
|
7955
|
+
isError: false;
|
|
7956
|
+
}, "error">>)> & {
|
|
7957
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7958
|
+
}) => R) | undefined;
|
|
7959
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
7960
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7961
|
+
id: number | string;
|
|
7962
|
+
parametros?: ValoresDeParametros;
|
|
7963
|
+
} & PaginaDeResultados, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, ResultadosDeReporte, string, unknown>>;
|
|
7964
|
+
};
|
|
7965
|
+
useBuscarReportesParaPanelQuery: <R extends Record<string, any> = _reduxjs_toolkit_query.TSHelpersId<(Omit<{
|
|
7966
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7967
|
+
originalArgs?: undefined | undefined;
|
|
7968
|
+
data?: undefined | undefined;
|
|
7969
|
+
error?: undefined | undefined;
|
|
7970
|
+
requestId?: undefined | undefined;
|
|
7971
|
+
endpointName?: string | undefined;
|
|
7972
|
+
startedTimeStamp?: undefined | undefined;
|
|
7973
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
7974
|
+
} & {
|
|
7975
|
+
currentData?: {
|
|
7976
|
+
count: number;
|
|
7977
|
+
results: ReporteDisponible[];
|
|
7978
|
+
} | undefined;
|
|
7979
|
+
isUninitialized: false;
|
|
7980
|
+
isLoading: false;
|
|
7981
|
+
isFetching: false;
|
|
7982
|
+
isSuccess: false;
|
|
7983
|
+
isError: false;
|
|
7984
|
+
}, "isUninitialized"> & {
|
|
7985
|
+
isUninitialized: true;
|
|
7986
|
+
}) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
7987
|
+
texto: string;
|
|
7988
|
+
tablero: number;
|
|
7989
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
7990
|
+
count: number;
|
|
7991
|
+
results: ReporteDisponible[];
|
|
7992
|
+
}, string, unknown>> & {
|
|
7993
|
+
currentData?: {
|
|
7994
|
+
count: number;
|
|
7995
|
+
results: ReporteDisponible[];
|
|
7996
|
+
} | undefined;
|
|
7997
|
+
isUninitialized: false;
|
|
7998
|
+
isLoading: false;
|
|
7999
|
+
isFetching: false;
|
|
8000
|
+
isSuccess: false;
|
|
8001
|
+
isError: false;
|
|
8002
|
+
}, "data" | "isLoading" | "isFetching"> & {
|
|
8003
|
+
isLoading: true;
|
|
8004
|
+
isFetching: boolean;
|
|
8005
|
+
data: undefined;
|
|
8006
|
+
}) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8007
|
+
texto: string;
|
|
8008
|
+
tablero: number;
|
|
8009
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8010
|
+
count: number;
|
|
8011
|
+
results: ReporteDisponible[];
|
|
8012
|
+
}, string, unknown>> & {
|
|
8013
|
+
currentData?: {
|
|
8014
|
+
count: number;
|
|
8015
|
+
results: ReporteDisponible[];
|
|
8016
|
+
} | undefined;
|
|
8017
|
+
isUninitialized: false;
|
|
8018
|
+
isLoading: false;
|
|
8019
|
+
isFetching: false;
|
|
8020
|
+
isSuccess: false;
|
|
8021
|
+
isError: false;
|
|
8022
|
+
}, "data" | "error" | "isFetching" | "fulfilledTimeStamp" | "isSuccess"> & {
|
|
8023
|
+
isSuccess: true;
|
|
8024
|
+
isFetching: true;
|
|
8025
|
+
error: undefined;
|
|
8026
|
+
} & {
|
|
8027
|
+
data: {
|
|
8028
|
+
count: number;
|
|
8029
|
+
results: ReporteDisponible[];
|
|
8030
|
+
};
|
|
8031
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8032
|
+
texto: string;
|
|
8033
|
+
tablero: number;
|
|
8034
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8035
|
+
count: number;
|
|
8036
|
+
results: ReporteDisponible[];
|
|
8037
|
+
}, string, unknown>> & {
|
|
8038
|
+
currentData?: {
|
|
8039
|
+
count: number;
|
|
8040
|
+
results: ReporteDisponible[];
|
|
8041
|
+
} | undefined;
|
|
8042
|
+
isUninitialized: false;
|
|
8043
|
+
isLoading: false;
|
|
8044
|
+
isFetching: false;
|
|
8045
|
+
isSuccess: false;
|
|
8046
|
+
isError: false;
|
|
8047
|
+
}, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8048
|
+
texto: string;
|
|
8049
|
+
tablero: number;
|
|
8050
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8051
|
+
count: number;
|
|
8052
|
+
results: ReporteDisponible[];
|
|
8053
|
+
}, string, unknown>> & {
|
|
8054
|
+
currentData?: {
|
|
8055
|
+
count: number;
|
|
8056
|
+
results: ReporteDisponible[];
|
|
8057
|
+
} | undefined;
|
|
8058
|
+
isUninitialized: false;
|
|
8059
|
+
isLoading: false;
|
|
8060
|
+
isFetching: false;
|
|
8061
|
+
isSuccess: false;
|
|
8062
|
+
isError: false;
|
|
8063
|
+
}, "data" | "error" | "isFetching" | "fulfilledTimeStamp" | "currentData" | "isSuccess"> & {
|
|
8064
|
+
isSuccess: true;
|
|
8065
|
+
isFetching: false;
|
|
8066
|
+
error: undefined;
|
|
8067
|
+
} & {
|
|
8068
|
+
data: {
|
|
8069
|
+
count: number;
|
|
8070
|
+
results: ReporteDisponible[];
|
|
8071
|
+
};
|
|
8072
|
+
currentData: {
|
|
8073
|
+
count: number;
|
|
8074
|
+
results: ReporteDisponible[];
|
|
8075
|
+
};
|
|
8076
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8077
|
+
texto: string;
|
|
8078
|
+
tablero: number;
|
|
8079
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8080
|
+
count: number;
|
|
8081
|
+
results: ReporteDisponible[];
|
|
8082
|
+
}, string, unknown>> & {
|
|
8083
|
+
currentData?: {
|
|
8084
|
+
count: number;
|
|
8085
|
+
results: ReporteDisponible[];
|
|
8086
|
+
} | undefined;
|
|
8087
|
+
isUninitialized: false;
|
|
8088
|
+
isLoading: false;
|
|
8089
|
+
isFetching: false;
|
|
8090
|
+
isSuccess: false;
|
|
8091
|
+
isError: false;
|
|
8092
|
+
}, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8093
|
+
texto: string;
|
|
8094
|
+
tablero: number;
|
|
8095
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8096
|
+
count: number;
|
|
8097
|
+
results: ReporteDisponible[];
|
|
8098
|
+
}, string, unknown>> & {
|
|
8099
|
+
currentData?: {
|
|
8100
|
+
count: number;
|
|
8101
|
+
results: ReporteDisponible[];
|
|
8102
|
+
} | undefined;
|
|
8103
|
+
isUninitialized: false;
|
|
8104
|
+
isLoading: false;
|
|
8105
|
+
isFetching: false;
|
|
8106
|
+
isSuccess: false;
|
|
8107
|
+
isError: false;
|
|
8108
|
+
}, "error" | "isError"> & {
|
|
8109
|
+
isError: true;
|
|
8110
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8111
|
+
texto: string;
|
|
8112
|
+
tablero: number;
|
|
8113
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8114
|
+
count: number;
|
|
8115
|
+
results: ReporteDisponible[];
|
|
8116
|
+
}, string, unknown>> & {
|
|
8117
|
+
currentData?: {
|
|
8118
|
+
count: number;
|
|
8119
|
+
results: ReporteDisponible[];
|
|
8120
|
+
} | undefined;
|
|
8121
|
+
isUninitialized: false;
|
|
8122
|
+
isLoading: false;
|
|
8123
|
+
isFetching: false;
|
|
8124
|
+
isSuccess: false;
|
|
8125
|
+
isError: false;
|
|
8126
|
+
}, "error">>)> & {
|
|
8127
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
8128
|
+
}>(arg: typeof _reduxjs_toolkit_query.skipToken | {
|
|
8129
|
+
texto: string;
|
|
8130
|
+
tablero: number;
|
|
8131
|
+
}, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
8132
|
+
skip?: boolean;
|
|
8133
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
8134
|
+
} & {
|
|
8135
|
+
skip?: boolean;
|
|
8136
|
+
selectFromResult?: ((state: _reduxjs_toolkit_query.TSHelpersId<(Omit<{
|
|
8137
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
8138
|
+
originalArgs?: undefined | undefined;
|
|
8139
|
+
data?: undefined | undefined;
|
|
8140
|
+
error?: undefined | undefined;
|
|
8141
|
+
requestId?: undefined | undefined;
|
|
8142
|
+
endpointName?: string | undefined;
|
|
8143
|
+
startedTimeStamp?: undefined | undefined;
|
|
8144
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
8145
|
+
} & {
|
|
8146
|
+
currentData?: {
|
|
8147
|
+
count: number;
|
|
8148
|
+
results: ReporteDisponible[];
|
|
8149
|
+
} | undefined;
|
|
8150
|
+
isUninitialized: false;
|
|
8151
|
+
isLoading: false;
|
|
8152
|
+
isFetching: false;
|
|
8153
|
+
isSuccess: false;
|
|
8154
|
+
isError: false;
|
|
8155
|
+
}, "isUninitialized"> & {
|
|
8156
|
+
isUninitialized: true;
|
|
8157
|
+
}) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8158
|
+
texto: string;
|
|
8159
|
+
tablero: number;
|
|
8160
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8161
|
+
count: number;
|
|
8162
|
+
results: ReporteDisponible[];
|
|
8163
|
+
}, string, unknown>> & {
|
|
8164
|
+
currentData?: {
|
|
8165
|
+
count: number;
|
|
8166
|
+
results: ReporteDisponible[];
|
|
8167
|
+
} | undefined;
|
|
8168
|
+
isUninitialized: false;
|
|
8169
|
+
isLoading: false;
|
|
8170
|
+
isFetching: false;
|
|
8171
|
+
isSuccess: false;
|
|
8172
|
+
isError: false;
|
|
8173
|
+
}, "data" | "isLoading" | "isFetching"> & {
|
|
8174
|
+
isLoading: true;
|
|
8175
|
+
isFetching: boolean;
|
|
8176
|
+
data: undefined;
|
|
8177
|
+
}) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8178
|
+
texto: string;
|
|
8179
|
+
tablero: number;
|
|
8180
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8181
|
+
count: number;
|
|
8182
|
+
results: ReporteDisponible[];
|
|
8183
|
+
}, string, unknown>> & {
|
|
8184
|
+
currentData?: {
|
|
8185
|
+
count: number;
|
|
8186
|
+
results: ReporteDisponible[];
|
|
8187
|
+
} | undefined;
|
|
8188
|
+
isUninitialized: false;
|
|
8189
|
+
isLoading: false;
|
|
8190
|
+
isFetching: false;
|
|
8191
|
+
isSuccess: false;
|
|
8192
|
+
isError: false;
|
|
8193
|
+
}, "data" | "error" | "isFetching" | "fulfilledTimeStamp" | "isSuccess"> & {
|
|
8194
|
+
isSuccess: true;
|
|
8195
|
+
isFetching: true;
|
|
8196
|
+
error: undefined;
|
|
8197
|
+
} & {
|
|
8198
|
+
data: {
|
|
8199
|
+
count: number;
|
|
8200
|
+
results: ReporteDisponible[];
|
|
8201
|
+
};
|
|
8202
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8203
|
+
texto: string;
|
|
8204
|
+
tablero: number;
|
|
8205
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8206
|
+
count: number;
|
|
8207
|
+
results: ReporteDisponible[];
|
|
8208
|
+
}, string, unknown>> & {
|
|
8209
|
+
currentData?: {
|
|
8210
|
+
count: number;
|
|
8211
|
+
results: ReporteDisponible[];
|
|
8212
|
+
} | undefined;
|
|
8213
|
+
isUninitialized: false;
|
|
8214
|
+
isLoading: false;
|
|
8215
|
+
isFetching: false;
|
|
8216
|
+
isSuccess: false;
|
|
8217
|
+
isError: false;
|
|
8218
|
+
}, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8219
|
+
texto: string;
|
|
8220
|
+
tablero: number;
|
|
8221
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8222
|
+
count: number;
|
|
8223
|
+
results: ReporteDisponible[];
|
|
8224
|
+
}, string, unknown>> & {
|
|
8225
|
+
currentData?: {
|
|
8226
|
+
count: number;
|
|
8227
|
+
results: ReporteDisponible[];
|
|
8228
|
+
} | undefined;
|
|
8229
|
+
isUninitialized: false;
|
|
8230
|
+
isLoading: false;
|
|
8231
|
+
isFetching: false;
|
|
8232
|
+
isSuccess: false;
|
|
8233
|
+
isError: false;
|
|
8234
|
+
}, "data" | "error" | "isFetching" | "fulfilledTimeStamp" | "currentData" | "isSuccess"> & {
|
|
8235
|
+
isSuccess: true;
|
|
8236
|
+
isFetching: false;
|
|
8237
|
+
error: undefined;
|
|
8238
|
+
} & {
|
|
8239
|
+
data: {
|
|
8240
|
+
count: number;
|
|
8241
|
+
results: ReporteDisponible[];
|
|
8242
|
+
};
|
|
8243
|
+
currentData: {
|
|
8244
|
+
count: number;
|
|
8245
|
+
results: ReporteDisponible[];
|
|
8246
|
+
};
|
|
8247
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8248
|
+
texto: string;
|
|
8249
|
+
tablero: number;
|
|
8250
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8251
|
+
count: number;
|
|
8252
|
+
results: ReporteDisponible[];
|
|
8253
|
+
}, string, unknown>> & {
|
|
8254
|
+
currentData?: {
|
|
8255
|
+
count: number;
|
|
8256
|
+
results: ReporteDisponible[];
|
|
8257
|
+
} | undefined;
|
|
8258
|
+
isUninitialized: false;
|
|
8259
|
+
isLoading: false;
|
|
8260
|
+
isFetching: false;
|
|
8261
|
+
isSuccess: false;
|
|
8262
|
+
isError: false;
|
|
8263
|
+
}, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8264
|
+
texto: string;
|
|
8265
|
+
tablero: number;
|
|
8266
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8267
|
+
count: number;
|
|
8268
|
+
results: ReporteDisponible[];
|
|
8269
|
+
}, string, unknown>> & {
|
|
8270
|
+
currentData?: {
|
|
8271
|
+
count: number;
|
|
8272
|
+
results: ReporteDisponible[];
|
|
8273
|
+
} | undefined;
|
|
8274
|
+
isUninitialized: false;
|
|
8275
|
+
isLoading: false;
|
|
8276
|
+
isFetching: false;
|
|
8277
|
+
isSuccess: false;
|
|
8278
|
+
isError: false;
|
|
8279
|
+
}, "error" | "isError"> & {
|
|
8280
|
+
isError: true;
|
|
8281
|
+
} & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8282
|
+
texto: string;
|
|
8283
|
+
tablero: number;
|
|
8284
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8285
|
+
count: number;
|
|
8286
|
+
results: ReporteDisponible[];
|
|
8287
|
+
}, string, unknown>> & {
|
|
8288
|
+
currentData?: {
|
|
8289
|
+
count: number;
|
|
8290
|
+
results: ReporteDisponible[];
|
|
8291
|
+
} | undefined;
|
|
8292
|
+
isUninitialized: false;
|
|
8293
|
+
isLoading: false;
|
|
8294
|
+
isFetching: false;
|
|
8295
|
+
isSuccess: false;
|
|
8296
|
+
isError: false;
|
|
8297
|
+
}, "error">>)> & {
|
|
8298
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
8299
|
+
}) => R) | undefined;
|
|
8300
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
8301
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<{
|
|
8302
|
+
texto: string;
|
|
8303
|
+
tablero: number;
|
|
8304
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, unknown>, string, {
|
|
8305
|
+
count: number;
|
|
8306
|
+
results: ReporteDisponible[];
|
|
8307
|
+
}, string, unknown>>;
|
|
8308
|
+
};
|
|
8309
|
+
/**
|
|
8310
|
+
* Lo que refrescar un tablero invalida: su ficha y lo que corre cada panel que se ve. Sólo
|
|
8311
|
+
* se vuelven a pedir las consultas que alguien está mirando; las demás, al abrirlas.
|
|
8312
|
+
*/
|
|
8313
|
+
invalidarTablero: (tablero: number, paneles: number[]) => {
|
|
8314
|
+
payload: (_reduxjs_toolkit_query.TagDescription<string> | null | undefined)[];
|
|
8315
|
+
type: string;
|
|
8316
|
+
};
|
|
8317
|
+
/** Dónde vive el estado del `createApi` de la app, para saber si algo se está pidiendo. */
|
|
8318
|
+
reducerPath: string;
|
|
8319
|
+
useObtener: any;
|
|
8320
|
+
useListarLazy: any;
|
|
8321
|
+
useGuardar: any;
|
|
8322
|
+
useEliminar: any;
|
|
8323
|
+
};
|
|
8324
|
+
type ApiDeTableros = ReturnType<typeof crearApiDeTableros>;
|
|
8325
|
+
|
|
8326
|
+
/** Las columnas de la rejilla: el ancho de un panel va de 1 a éstas. */
|
|
8327
|
+
declare const COLUMNAS = 12;
|
|
8328
|
+
/**
|
|
8329
|
+
* Lo que mide un renglón de alto, en px. Un panel va de 1 a `RENGLONES_MAXIMOS`; 2 es el de
|
|
8330
|
+
* siempre (380 px).
|
|
8331
|
+
*/
|
|
8332
|
+
declare const ALTO_DE_RENGLON = 190;
|
|
8333
|
+
declare const RENGLONES_MAXIMOS = 6;
|
|
8334
|
+
/** Los paneles en el orden en que se pintan. */
|
|
8335
|
+
declare const enOrden: (paneles: PanelDeTablero[] | undefined) => PanelDeTablero[];
|
|
8336
|
+
/** El nombre de la pestaña de los paneles que no dicen la suya. */
|
|
8337
|
+
declare const PESTANA_GENERAL = "General";
|
|
8338
|
+
/** La pestaña donde se ve un panel: la suya, o «General» si la tiene vacía. */
|
|
8339
|
+
declare const nombreDePestana: (panel: Pick<PanelDeTablero, "pestana">) => string;
|
|
8340
|
+
/**
|
|
8341
|
+
* Los paneles por pestaña, cada pestaña en el orden de su primer panel y sus paneles en el suyo:
|
|
8342
|
+
* el orden de las pestañas sale de mover los paneles, no se guarda aparte.
|
|
8343
|
+
*/
|
|
8344
|
+
declare const porPestana: (paneles: PanelDeTablero[]) => [string, PanelDeTablero[]][];
|
|
8345
|
+
/**
|
|
8346
|
+
* Cada cuántos minutos se refresca solo un tablero abierto (`TableroBase.REFRESCOS`). Los `value`
|
|
8347
|
+
* son texto, como los manda el backend en `{value, label}`: así el autocompletado de la ficha
|
|
8348
|
+
* empareja la opción guardada con la de la lista.
|
|
8349
|
+
*/
|
|
8350
|
+
declare const OPCIONES_DE_REFRESCO: readonly {
|
|
8351
|
+
value: string;
|
|
8352
|
+
label: string;
|
|
8353
|
+
}[];
|
|
8354
|
+
/** Los minutos de `refrescar_cada` tal como llegan —`{value, label}`—, o `null` si es a mano. */
|
|
8355
|
+
declare const minutosDeRefresco: (refrescarCada: {
|
|
8356
|
+
value: string | number;
|
|
8357
|
+
} | null | undefined) => number | null;
|
|
8358
|
+
/** Lo que dice el tooltip del botón: «Refrescar», o «Refrescar · cada 5 min». */
|
|
8359
|
+
declare const textoDelRefresco: (minutos: number | null) => string;
|
|
8360
|
+
|
|
8361
|
+
interface VistaDeTableroProps {
|
|
8362
|
+
/** Los endpoints (`crearApiDeTableros`). */
|
|
8363
|
+
api: ApiDeTableros;
|
|
8364
|
+
/** El tablero que se ve (el `:id` de la ruta). */
|
|
8365
|
+
id: number | string;
|
|
8366
|
+
/** Si quien mira puede cambiar tableros (`<app>.tablero.change`): organizar y configurar. */
|
|
8367
|
+
puedeCambiar: boolean;
|
|
8368
|
+
/** Las rutas del portal: la ficha del tablero, la de un reporte y Exportaciones. */
|
|
8369
|
+
rutas: RutasDelPortal;
|
|
8370
|
+
/** El `useDescargarReporteMutation` de `crearApiDeReportes`: «Descargar» en un panel. */
|
|
8371
|
+
useDescargarReporte: UseDescargarReporte;
|
|
8372
|
+
/**
|
|
8373
|
+
* Lo que ofrecen los controles de los parámetros comunes (periodos, fechas relativas, de dónde
|
|
8374
|
+
* salen los clientes). Se llama siempre, con `necesario` en falso si el tablero no tiene
|
|
8375
|
+
* parámetros, para que su consulta se salte. Sin él, un portal sin parámetros.
|
|
8376
|
+
*/
|
|
8377
|
+
useCatalogoDeParametros?: (necesario: boolean) => CatalogoDeParametros | undefined;
|
|
8378
|
+
}
|
|
8379
|
+
/**
|
|
8380
|
+
* El detalle de un tablero: el tablero corriendo. Los parámetros comunes arriba y los paneles en
|
|
8381
|
+
* una rejilla de 12. Los valores se aplican con un botón, no al teclear: cada cambio vuelve a correr
|
|
8382
|
+
* todos los paneles.
|
|
8383
|
+
*
|
|
8384
|
+
* Con paneles en más de una pestaña, se ve una a la vez y sólo corren los paneles de ésa; los
|
|
8385
|
+
* valores comunes valen para todas.
|
|
8386
|
+
*
|
|
8387
|
+
* «Refrescar», «Organizar» y «Configurar» van en el renglón del título (`AccionesDelTitulo`).
|
|
8388
|
+
* **Refrescar** vuelve a pedir el tablero y a correr los paneles de la pestaña que se ve, para
|
|
8389
|
+
* todos; si el propietario fijó `refrescar_cada`, se hace solo (`useRefrescoDeTablero`).
|
|
8390
|
+
*
|
|
8391
|
+
* **Organizar** es un modo, para el propietario con `change`: mientras dura, los paneles se
|
|
8392
|
+
* arrastran y se redimensionan (`RejillaDePaneles`), a la derecha se acopla la lista de reportes
|
|
8393
|
+
* que el tablero no tiene (`ReportesDisponibles`) y al final de las pestañas hay un «+». Una
|
|
8394
|
+
* pestaña nueva sólo vive en pantalla hasta que recibe su primer reporte: las pestañas salen de
|
|
8395
|
+
* los paneles, así que al salir del modo se van las nuevas que siguen vacías. Un tablero recién
|
|
8396
|
+
* creado llega organizándose (`?organizar=1`, ver `FichaDeTablero`).
|
|
8397
|
+
*
|
|
8398
|
+
* La app pone la ruta (`<tableros>/:id`) y el permiso; esta vista no es una página ruteada.
|
|
8399
|
+
*/
|
|
8400
|
+
declare function VistaDeTablero({ api, id, puedeCambiar, rutas, useDescargarReporte, useCatalogoDeParametros, }: VistaDeTableroProps): react_jsx_runtime.JSX.Element;
|
|
8401
|
+
|
|
8402
|
+
/**
|
|
8403
|
+
* La ficha de un tablero. Los parámetros comunes los valida el backend
|
|
8404
|
+
* (`TableroBase.validar_parametros`): aquí sólo se dice su forma.
|
|
8405
|
+
*/
|
|
8406
|
+
declare const schemaDeTablero: z.ZodObject<{
|
|
8407
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
8408
|
+
nombre: z.ZodString;
|
|
8409
|
+
descripcion: z.ZodString;
|
|
8410
|
+
compartido_con: z.ZodArray<z.ZodNumber>;
|
|
8411
|
+
refrescar_cada: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8412
|
+
value: z.ZodCoercedString<unknown>;
|
|
8413
|
+
label: z.ZodString;
|
|
8414
|
+
}, z.core.$strip>>>;
|
|
8415
|
+
parametros: z.ZodArray<z.ZodCustom<ParametroDeReporte, ParametroDeReporte>>;
|
|
8416
|
+
}, z.core.$strip>;
|
|
8417
|
+
type FormularioDeTablero = z.infer<typeof schemaDeTablero>;
|
|
8418
|
+
declare const TABLERO_VACIO: FormularioDeTablero;
|
|
8419
|
+
interface PropsDeControl {
|
|
8420
|
+
name: string;
|
|
8421
|
+
control?: Control;
|
|
8422
|
+
fieldProps?: {
|
|
8423
|
+
helperText?: string;
|
|
8424
|
+
endpoint?: string;
|
|
8425
|
+
};
|
|
8426
|
+
}
|
|
8427
|
+
/**
|
|
8428
|
+
* «Compartir con»: los ids de `compartido_con`, como `type` de un campo de `DetailPage_v2`
|
|
8429
|
+
* (`EditField` le pasa `name` y `control`). Los grupos salen de `fieldProps.endpoint`. Pinta su
|
|
8430
|
+
* propia etiqueta (`labelInside`).
|
|
8431
|
+
*/
|
|
8432
|
+
declare const ControlledSelectorDeGrupos: ControlledInput<PropsDeControl>;
|
|
8433
|
+
interface OpcionesDeSeccionesDeTablero {
|
|
8434
|
+
/** El `como_opciones` de los grupos con los que se comparte (`/configuracion/grupos`…). */
|
|
8435
|
+
endpointDeGrupos: string;
|
|
8436
|
+
/**
|
|
8437
|
+
* El editor de los parámetros comunes, como `type` de un campo (pinta su etiqueta). Sin él, la
|
|
8438
|
+
* ficha no los ofrece: es un portal cuyos reportes no declaran parámetros, y su backend no los
|
|
8439
|
+
* acepta (`TableroBase.validar_parametros`).
|
|
8440
|
+
*/
|
|
8441
|
+
editorDeParametros?: ControlledInput;
|
|
8442
|
+
}
|
|
8443
|
+
/**
|
|
8444
|
+
* Las secciones de la ficha de un tablero: nombre, con quién se comparte, cada cuánto se refresca
|
|
8445
|
+
* y, si la app los tiene, los parámetros comunes. Sus paneles no están aquí: se agregan, se
|
|
8446
|
+
* acomodan y se quitan en el tablero mismo, con «Organizar tablero» (`VistaDeTablero`).
|
|
8447
|
+
*
|
|
8448
|
+
* Sin editor de parámetros, su subsección **no se arma** (no se esconde con `display`): una
|
|
8449
|
+
* subsección escondida recorre otros hooks y la ficha truena con «Rendered more hooks».
|
|
8450
|
+
*/
|
|
8451
|
+
declare const seccionesDeTablero: ({ endpointDeGrupos, editorDeParametros, }: OpcionesDeSeccionesDeTablero) => {
|
|
8452
|
+
display: boolean;
|
|
8453
|
+
label: string;
|
|
8454
|
+
subsections: ({
|
|
8455
|
+
display: boolean;
|
|
8456
|
+
title: string;
|
|
8457
|
+
fields: ({
|
|
8458
|
+
name: string;
|
|
8459
|
+
label: string;
|
|
8460
|
+
type: React$1.FC<ControlledTextProps> & {
|
|
8461
|
+
labelInside?: boolean;
|
|
8462
|
+
};
|
|
8463
|
+
fieldProps: {
|
|
8464
|
+
fullWidth: boolean;
|
|
8465
|
+
required: boolean;
|
|
8466
|
+
multiline?: undefined;
|
|
8467
|
+
endpoint?: undefined;
|
|
8468
|
+
helperText?: undefined;
|
|
8469
|
+
};
|
|
8470
|
+
gridProps: {
|
|
8471
|
+
size: number;
|
|
8472
|
+
};
|
|
8473
|
+
extraProps?: undefined;
|
|
8474
|
+
} | {
|
|
8475
|
+
name: string;
|
|
8476
|
+
label: string;
|
|
8477
|
+
type: React$1.FC<ControlledTextProps> & {
|
|
8478
|
+
labelInside?: boolean;
|
|
8479
|
+
};
|
|
8480
|
+
fieldProps: {
|
|
8481
|
+
fullWidth: boolean;
|
|
8482
|
+
multiline: boolean;
|
|
8483
|
+
required?: undefined;
|
|
8484
|
+
endpoint?: undefined;
|
|
8485
|
+
helperText?: undefined;
|
|
8486
|
+
};
|
|
8487
|
+
gridProps: {
|
|
8488
|
+
size: number;
|
|
8489
|
+
};
|
|
8490
|
+
extraProps?: undefined;
|
|
8491
|
+
} | {
|
|
8492
|
+
name: string;
|
|
8493
|
+
label: string;
|
|
8494
|
+
type: ControlledInput<PropsDeControl>;
|
|
8495
|
+
fieldProps: {
|
|
8496
|
+
endpoint: string;
|
|
8497
|
+
helperText: string;
|
|
8498
|
+
fullWidth?: undefined;
|
|
8499
|
+
required?: undefined;
|
|
8500
|
+
multiline?: undefined;
|
|
8501
|
+
};
|
|
8502
|
+
gridProps: {
|
|
8503
|
+
size: number;
|
|
8504
|
+
};
|
|
8505
|
+
extraProps?: undefined;
|
|
8506
|
+
} | {
|
|
8507
|
+
name: string;
|
|
8508
|
+
label: string;
|
|
8509
|
+
type: ControlledInput<ControlledAutocompleteProps>;
|
|
8510
|
+
extraProps: {
|
|
8511
|
+
options: {
|
|
8512
|
+
value: string;
|
|
8513
|
+
label: string;
|
|
8514
|
+
}[];
|
|
8515
|
+
};
|
|
8516
|
+
fieldProps: {
|
|
8517
|
+
fullWidth: boolean;
|
|
8518
|
+
helperText: string;
|
|
8519
|
+
required?: undefined;
|
|
8520
|
+
multiline?: undefined;
|
|
8521
|
+
endpoint?: undefined;
|
|
8522
|
+
};
|
|
8523
|
+
gridProps: {
|
|
8524
|
+
size: number;
|
|
8525
|
+
};
|
|
8526
|
+
})[];
|
|
8527
|
+
description?: undefined;
|
|
8528
|
+
} | {
|
|
8529
|
+
display: boolean;
|
|
8530
|
+
title: string;
|
|
8531
|
+
description: string;
|
|
8532
|
+
fields: {
|
|
8533
|
+
name: string;
|
|
8534
|
+
label: string;
|
|
8535
|
+
type: ControlledInput<any>;
|
|
8536
|
+
gridProps: {
|
|
8537
|
+
size: number;
|
|
8538
|
+
};
|
|
8539
|
+
}[];
|
|
8540
|
+
})[];
|
|
8541
|
+
}[];
|
|
8542
|
+
|
|
8543
|
+
interface FichaDeTableroProps extends OpcionesDeSeccionesDeTablero {
|
|
8544
|
+
/** `create` o `edit`: el detalle de un tablero es `VistaDeTablero`. */
|
|
8545
|
+
type: PageType;
|
|
8546
|
+
/** El tablero que se edita (el `:id` de la ruta); nada en el alta. */
|
|
8547
|
+
id?: string;
|
|
8548
|
+
api: ApiDeTableros;
|
|
8549
|
+
/** La ruta de los tableros en el portal: `<rutaDeTableros>/<id>`. */
|
|
8550
|
+
rutaDeTableros: string;
|
|
8551
|
+
}
|
|
8552
|
+
/**
|
|
8553
|
+
* La ficha de un tablero: lo suyo (nombre, descripción, con quién se comparte, cada cuánto se
|
|
8554
|
+
* refresca y, si la app los tiene, los parámetros comunes) en el formulario de `DetailPage_v2`.
|
|
8555
|
+
* Sus paneles se arman en el tablero mismo, con «Organizar tablero».
|
|
8556
|
+
*
|
|
8557
|
+
* **Al guardar**, la edición vuelve a donde se vino —el tablero, por «Configurar»—, y el alta
|
|
8558
|
+
* lleva al tablero nuevo ya organizándose (`?organizar=1`), que es lo siguiente que hay que hacer:
|
|
8559
|
+
* agregarle reportes.
|
|
8560
|
+
*
|
|
8561
|
+
* Sólo el propietario lo edita: a los demás el backend les responde 404, que la página enseña como
|
|
8562
|
+
* «no encontrado».
|
|
8563
|
+
*/
|
|
8564
|
+
declare function FichaDeTablero({ type, id, api, rutaDeTableros, endpointDeGrupos, editorDeParametros, }: FichaDeTableroProps): react_jsx_runtime.JSX.Element;
|
|
8565
|
+
|
|
8566
|
+
/**
|
|
8567
|
+
* Las columnas de la lista de tableros. Sólo lectura, y **ninguna se filtra por columna**: el
|
|
8568
|
+
* `TableroFiltroBase` sólo declara la búsqueda rápida y el orden.
|
|
8569
|
+
*/
|
|
8570
|
+
declare const columnasDeTableros: () => GridColDefPropsOverrides[];
|
|
8571
|
+
/**
|
|
8572
|
+
* La lista de tableros: reportes lado a lado, con parámetros comunes que se pasan a todos sus
|
|
8573
|
+
* paneles. Un renglón abre el tablero. La app la pone en su ruta (`<tableros>`).
|
|
8574
|
+
*/
|
|
8575
|
+
declare function ListaDeTableros({ api }: {
|
|
8576
|
+
api: ApiDeTableros;
|
|
8577
|
+
}): react_jsx_runtime.JSX.Element;
|
|
8578
|
+
|
|
8579
|
+
/**
|
|
8580
|
+
* Pedir un nombre corto en el modo «Organizar»: el de una pestaña nueva o el título de un panel.
|
|
8581
|
+
*
|
|
8582
|
+
* `validar` dice por qué no se acepta lo escrito (o nada); `permiteVacio` deja guardarlo vacío,
|
|
8583
|
+
* que en un título es volver al nombre del reporte. Arranca de `inicial` cada que se abre.
|
|
8584
|
+
*/
|
|
8585
|
+
interface DialogoDeNombreProps {
|
|
8586
|
+
open: boolean;
|
|
8587
|
+
titulo: string;
|
|
8588
|
+
etiqueta: string;
|
|
8589
|
+
inicial?: string;
|
|
8590
|
+
placeholder?: string;
|
|
8591
|
+
ayuda?: string;
|
|
8592
|
+
maxLength: number;
|
|
8593
|
+
permiteVacio?: boolean;
|
|
8594
|
+
textoDelBoton: string;
|
|
8595
|
+
validar?: (nombre: string) => string | null;
|
|
8596
|
+
onCerrar: () => void;
|
|
8597
|
+
onGuardar: (nombre: string) => void;
|
|
8598
|
+
}
|
|
8599
|
+
declare function DialogoDeNombre({ open, titulo, etiqueta, inicial, placeholder, ayuda, maxLength, permiteVacio, textoDelBoton, validar, onCerrar, onGuardar, }: DialogoDeNombreProps): react_jsx_runtime.JSX.Element;
|
|
8600
|
+
|
|
8601
|
+
/**
|
|
8602
|
+
* La orilla de un panel que se jala para cambiarle el tamaño: la derecha (`eje="x"`, el ancho en
|
|
8603
|
+
* columnas) o la de abajo (`eje="y"`, el alto en renglones). Avanza a pasos enteros —`paso()` es
|
|
8604
|
+
* cuánto mide uno en píxeles, medido al empezar— entre `minimo` y `maximo`.
|
|
8605
|
+
*
|
|
8606
|
+
* Avisa cada paso nuevo (`onCambio`, para verlo al momento) y el último al soltar (`onSoltar`, para
|
|
8607
|
+
* guardarlo); `onJalando`, cuándo empieza y termina. Si el navegador cancela el gesto (una
|
|
8608
|
+
* llamada, el sistema que se apropia del dedo), vuelve a donde estaba y no guarda nada. Se mide contra donde se empezó, no contra el paso anterior, para que no se acumule
|
|
8609
|
+
* el redondeo. Se ve al pasar el cursor por el panel (la clase `orilla-del-panel`), mientras se
|
|
8610
|
+
* jala y con el foco del teclado; en pantallas angostas no se pinta.
|
|
8611
|
+
*
|
|
8612
|
+
* **Con el teclado** es un separador que se enfoca con Tab: las flechas de su eje (izquierda y
|
|
8613
|
+
* derecha en `x`, arriba y abajo en `y`) la mueven un paso, y cada paso se guarda.
|
|
8614
|
+
*/
|
|
8615
|
+
declare function Orilla({ eje, valor, minimo, maximo, paso, etiqueta, onCambio, onSoltar, onJalando, }: {
|
|
8616
|
+
eje: "x" | "y";
|
|
8617
|
+
valor: number;
|
|
8618
|
+
minimo: number;
|
|
8619
|
+
maximo: number;
|
|
8620
|
+
paso: () => number;
|
|
8621
|
+
etiqueta: string;
|
|
8622
|
+
onCambio: (valor: number) => void;
|
|
8623
|
+
onSoltar: (valor: number) => void;
|
|
8624
|
+
onJalando?: (jalando: boolean) => void;
|
|
8625
|
+
}): react_jsx_runtime.JSX.Element;
|
|
8626
|
+
|
|
8627
|
+
/**
|
|
8628
|
+
* Lo que queda de la visualización al cambiarle el tipo: la tabla no lleva eje ni series, el
|
|
8629
|
+
* indicador no lleva eje, y el pastel y el indicador llevan una sola serie.
|
|
8630
|
+
*/
|
|
8631
|
+
declare const conTipo: (visualizacion: VisualizacionDeReporte, tipo: TipoDeVisualizacion) => VisualizacionDeReporte;
|
|
8632
|
+
interface EditorDeVisualizacionProps {
|
|
8633
|
+
visualizacion: VisualizacionDeReporte;
|
|
8634
|
+
/** Las columnas que trae el reporte (las de su última corrida): de ahí el eje y las series. */
|
|
8635
|
+
columnas: ColumnaDeReporte[];
|
|
8636
|
+
disabled?: boolean;
|
|
8637
|
+
onChange: (visualizacion: VisualizacionDeReporte) => void;
|
|
8638
|
+
}
|
|
8639
|
+
/**
|
|
8640
|
+
* Cómo se pinta un reporte: tabla, barras, líneas, pastel o indicador, con su eje y sus series
|
|
8641
|
+
* tomados de sus columnas. Barras y líneas llevan eje y al menos una serie; el pastel, eje y una
|
|
8642
|
+
* sola; el indicador, una sola. El backend revisa la forma al guardar
|
|
8643
|
+
* (`acv_core.reportes.visualizacion`), y el motor de cada tipo, contra sus columnas.
|
|
8644
|
+
*/
|
|
8645
|
+
declare function EditorDeVisualizacion({ visualizacion, columnas, disabled, onChange, }: EditorDeVisualizacionProps): react_jsx_runtime.JSX.Element;
|
|
8646
|
+
/**
|
|
8647
|
+
* «Visualización» en la ficha de un reporte: cómo se pinta en pantalla y en un tablero, con el eje
|
|
8648
|
+
* y las series de entre `columnas`. Sin columnas todavía, dice qué hacer para tenerlas
|
|
8649
|
+
* (`sinColumnas`: «Corre el reporte…»).
|
|
8650
|
+
*/
|
|
8651
|
+
declare function SeccionDeVisualizacion({ sinColumnas, ...editor }: EditorDeVisualizacionProps & {
|
|
8652
|
+
sinColumnas: string;
|
|
8653
|
+
}): react_jsx_runtime.JSX.Element;
|
|
8654
|
+
/**
|
|
8655
|
+
* Avisa las columnas que trajo la última corrida, para elegir de ellas el eje y las series. Va
|
|
8656
|
+
* dentro del `pintar` de `CorridaDeReporte`, que es donde llegan los resultados.
|
|
8657
|
+
*/
|
|
8658
|
+
declare function AlLlegarColumnas({ columnas, onColumnas, }: {
|
|
8659
|
+
columnas: ColumnaDeReporte[] | undefined;
|
|
8660
|
+
onColumnas: (columnas: ColumnaDeReporte[]) => void;
|
|
8661
|
+
}): null;
|
|
8662
|
+
|
|
8663
|
+
export { ALTO_DE_RENGLON, ANCHO as ANCHO_DE_CONTROL, APIContext, APIProvider, SINGLE_ROW_SX as AUTOCOMPLETE_SINGLE_ROW_SX, AccionesDelTitulo, AccountMenuContent, ActiveCell, ActiveIcon, AlLlegarColumnas, AvisoDeReporte, Base, ButtonWithDrawer, COLOR_SCHEME_SELECTOR, COLUMNAS as COLUMNAS_DEL_TABLERO, CSVUpload, CampoDeFecha, CampoDeParametro, CatalogoItem, CatalogoList, CellLink, ChipCell, ChipDeVisualizacion, CondicionDeReporte, ConfirmDialog, ContentBorderRadiusContext, ContentLayout, ControlledAddressAutocomplete, ControlledAmountWithCurrency, ControlledAutocomplete, ControlledColor, ControlledCorreos, 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, ControlledSelectorDeGrupos, ControlledSlider as ControlledSimpleSlider, ControlledSlider$1 as ControlledSlider, ControlledSwitch, ControlledText, ControlledTimePicker, ControlledToggleButtons, CorridaDeReporte, CoverPage, CreateButtonBase, CreateButtonWithMenuOptions, CrudDropdown, CustomNoRows, DEFAULT_CONTENT_BORDER_RADIUS, DEFAULT_FORM_BREAKPOINTS, DEFAULT_PAGINATION, DRAWER_Z_INDEX, Dato, DeleteButton, DeleteConfirmationDialog, DetailFormDialog as DetailFormDialog_v2, DetailFormDrawer as DetailFormDrawer_v2, DetailForm as DetailForm_v2, DetailPage$1 as DetailPage, DetailPage as DetailPage_v2, DetailPreview, DialogoDeNombre, Documento, DrawerGrid as DrawerGrid_v2, EMPTY_DETAIL_VALUE, ENCABEZADO_DE_CORTE, ENDPOINTS_DEL_REFRESCO, ENDPOINTS_DE_REPORTES, ENDPOINTS_DE_TABLEROS, ETIQUETAS_DE_VISUALIZACION, EditButton, EditorDeAgrupacion, EditorDeVisualizacion, ExportCSV$1 as ExportCSV, ExportCSV as ExportCSV_v2, ExtraButtons, FILTERS_DRAWER_GAP, FORM_CONTAINER_NAME, FichaDeTablero, Fila as FilaDeReporte, FiltroDeReporte, FormularioDeParametros, GlobalSearch, GraficaDeResultados, GrillaHastaElFondo, HEADER_CONTAINER, HEADER_NARROW, HiddenPageHeaderContext, HistorialDrawer, IconoDeVisualizacion, KpiCard, LAYER_ORDER, ListPage, Lista, ListaDeTableros, Loadable, LoadingComponent, LocaleContext, LocaleProvider, Logo, MainDrawer, MainDrawer$1 as MainDrawer_v2, MainLayout, MenuItemWithLoading, ModuleCard, MoreOptions, MyGridEditSingleSelect, NavigationContext, NavigationProvider, NormalOrIcon, NotAllowed, NotFound, NotificationItem, NotificationsBell, OPCIONES_DE_REFRESCO, ObjectProgressStack, Orilla, OverModalContext, OverModalProvider, PAGINA_DE_GRAFICA, PAGINA_INICIAL as PAGINA_INICIAL_DE_RESULTADOS, PESTANA_GENERAL, PageActionsHostContext, PageBadgeHostContext, PageInfo, PageInfoHostContext, PaginaDeNovedades, PaginaLegal, Panel, Parrafo, PollingCountdownChip, ProgramacionDialog, ProgramacionesDelReporte, PulseDot, RENGLONES_MAXIMOS, RESPONSIVE_ACTION_MODES, ResponsiveActions, SIDE_PANEL_WIDTH_VAR, SaveCancelButton, Seccion$1 as Seccion, SeccionDeCondiciones, SeccionDeFiltros, SeccionDeOrdenYCompartir, Seccion as SeccionDeReporte, SeccionDeVisualizacion, SelectorDeGrupos, SelectorDeOpciones, SelectorDeOrden, SelectorRemoto, SelectorSiNo, ServerGrid as ServerGrid_v2, SidePanelHostContext, StatusBadge, StickyPageHeaderContext, StyledMenu, StyledToggleButtonGroup, SubsectionCard, Subtitulo, TABLERO_VACIO, TAGS_DE_REPORTES, TAGS_DE_TABLEROS, TEXTOS, TabCounter, TablaDeResultados, Tabs, Titulo, Transitions, TrueFalse, UncontrolledText, VistaDeResultados, VistaDeTablero, accesibilidadDeArrastre, agrupacionActiva, aplicarLocaleDeDayjs, avisoDeCorte, deReporte as borradorDeReporte, brightenForDark, buildEstadoTabs, changeTitle, closeProgressSnack, columnasDeCatalogo, columnasDeTableros, comoLista, composeGridProps, correosInvalidos, crearApiDeReportes, crearApiDeTableros, crearFabricaDeCatalogos, createLiveSocketSession, definicionDe, deleteColumn$1 as deleteColumn, deleteColumn as deleteColumn_v2, describirValor as describirValorDeParametro, drawerZIndex, editColumn, esCorreo, esGrafica, esRango as esRangoDeFechas, filterQuery, filtersPanelFrameSx, tieneValor as filtroConValor, formContainerSx, formGridSx, formParser, headerContainerSx, _default as headerReducer, helperTextFor, leerArchivoOAviso, llaveDeFiltrosCompartidos, llaveDe as llaveDeResultados, llavesDe as llavesDeFiltro, localeDeNumeros, localeTextDeMUI, localeTextDeToolpad, manualCacheRefresh, marcarNovedadesVistas, mergeSettings, minutosDeRefresco, mutationData, mutationId, mutationParams, nombreDePestana, normalizarCorreos, openProgressSnack, origenDeOpciones, pageSizeOptions, paginaDeResultados, enOrden as panelesEnOrden, parametroVacio, parametrosFaltantes, porPestana, query, renderChipCell, renderEditCellWithErrorTooltip, resolveChipOption, resolveInitialState, resolveStatusColor, schemaDeTablero, seccionesDeTablero, setErrors, singularizarPalabra, singularizarTitulo, _default$1 as snackProgressReducer, statusColors, subsectionCardStyle, tags, textoDelRefresco, theme, togglableFields, updateProgressSnackData, useAPI, useAltoDisponible, useBorradorDeReporte, useColorMode, useContentBorderRadius, useDescargaDeReporte, useDetailForm, useHasPermission, useHasPermission_v2, useHiddenPageHeader, useHiddenPageHeaderHost, useKeyboardShortcut, useLocale, useMutationHandler, useNavigation, useNovedadesSinLeer, useOverModal, usePageActionsHost, usePageBadgeHost, usePageInfoHost, useRememberedTab, useServerGrid, useSharedFilters, useSidePanelHost, useStickyPageHeader, useStickyPageHeaderHost, useTextos, useTituloDePagina, valorInicial as valorInicialDeCondicion, valoresElegidos as valoresElegidosDeParametros, valoresIniciales as valoresInicialesDeParametros, valueLabel, conTipo as visualizacionConTipo, visualizacionDe, withCellLink };
|
|
8664
|
+
export type { APIcontextProps, AccountMenuContentProps, AccountMenuItem, AddressValue, AgrupacionDeListado, ApiDeCorrida, ApiDeProgramaciones, ApiDeReportes, ApiDeTableros, ApiInyectable, AppTheme, ArchivoDeReporte, AridadDeOperador, AutocompleteOption, AvisoDeExportacion, AvisoDeReporteProps, Borrador as BorradorDeReporte, BuildEstadoTabsOptions, CSVMenuOptionProps, Cambio, CampoDeFuente, CampoDeParametroProps, CargarChangelog, CatalogoAPI, CatalogoDeParametros, CatalogoItemProps, CatalogoListProps, CellLinkProps, ChipCellProps, ChipColor, ChipOption, ColorMode, ColumnLink, ColumnaDeReporte, ComoOpcionesProps, CondicionDeListado, CondicionDeReporteProps, ConfirmDialogProps, ControlledAutocompleteProps, ControlledCorreosProps, ControlledInput, CorridaDeReporteProps, CrearCatalogoAPI, CustomFilterDef, CustomToolbarProps, DefinicionDeCatalogo, DefinicionDeListado, DeleteGridColumnsProps$1 as DeleteGridColumnsProps, DetachedPage, DetailExtraButton, DetailFormApi, DetailFormConfig, DetailFormController, DetailFormDialogProps, DetailFormDrawerNavigation, DetailFormDrawerProps, DetailFormProps, DetailFormStatus, DetailPageV2Props, DetailPreviewProps, DetailPreviewRow, DetailRenderProps, DialogoDeNombreProps, DrawerGridDrawerConfig, DrawerGridEditConfig, DrawerGridProps, EditGridColumnsProps, EditReadOnlyFields, EditorDeAgrupacionProps, EditorDeVisualizacionProps, EstadoDeFiltro, EstadoTabConfig, ExportCSVProps as ExportCSVProps_v2, ExtraButtonContext, ExtraCreateOptionProps, FichaDeTableroProps, FieldFilter, FieldPreview, FieldPreviewProps, FieldProps$1 as FieldProps, FieldValidationProps, FilaProps as FilaDeReporteProps, FilterInput, FiltroDeFuente, FiltroDeReporteProps, FormBreakpoint, FormGridSxOptions, FormularioDeParametrosProps, FormularioDeTablero, FuenteDeReporte, FuenteDeReporteResumida, GlobalSearchOption, GlobalSearchProps, GraficaDeResultadosProps, GridArgs, GridColDefPropsOverrides, GridLayerContribution, GridLayerId, GridLayerMap, GrillaHastaElFondoProps, HiddenPageHeaderHost, InsigniaDeCatalogo, JSONFormProps, JSONParserProps, KeyboardShortcut, KpiCardProps, ListaProps, LiveNotification, LiveSocketDispatch, LiveSocketSession, LiveSocketSessionOptions, Locale, LocaleContextProps, LocaleProviderProps, MainDrawerV2Props, MainLayoutFooterConfig, MainLayoutPageHeaderProps, MainLayoutProps, MainLayoutSidebarFooterProps, MensajeDeReporte, MutationArgs, MyDataGridProps, MyGridFilterModel, MyTab, MyTabProps, NotificationItemProps, NotificationsApi, NotificationsBellProps, OpcionDeReporte, OpcionesDeApiDeReportes, OpcionesDeApiDeTableros, OpcionesDeSeccionesDeTablero, OperadorDeCondicion, OrigenDeDestinatarios, OrigenDeResultados, PageActionsHost, PageBadgeHost, PageInfoHost, PageInfoProps, PageType, PaginaDeNovedadesProps, PaginaDeResultados, PaginaDelBackend, PaginaLegalProps, PaginacionDeResultados, PanelDeTablero, PanelProps, ParametroDeReporte, PollingCountdownChipProps, ProgramacionDeReporte, ProgramacionDeReporteAGuardar, ProgramacionDialogProps, ProgramacionesDelReporteProps, ProgressStatusProps, PropsDeSeccion, PulseDotProps, RangoDeFechas, Release, ReporteDeListado, ReporteDisponible, ResponsiveAction, ResponsiveActionsMode, ResponsiveActionsProps, ResultadosDeReporte, RowsSnapshot, RutasDePaginaLegal, RutasDeReportes, RutasDeTableros, RutasDelPortal, SeccionDeOrdenYCompartirProps, SeccionProps, SelectorDeGruposProps, SelectorDeOrdenProps, SelectorRemotoProps, ServerGridArgs, ServerGridCreateApi, ServerGridDataApi, ServerGridDeleteApi, ServerGridEditApi, ServerGridEditToggleApi, ServerGridHandle, ServerGridProps, ServerGridSnapshot, ServerGridState, SessionTokens, SharedFiltersConfig, SidePanelHost, StatusColor, StickyPageHeaderHost, SubsectionCardProps, TabCounterProps, TablaDeResultadosProps, Tablero, TagDeReportes, Textos, TextosDePaginaLegal, ThemeBackground, ThemeBrandColor, ThemeColors, TipoDeCambio, TipoDeColumna, TipoDeFiltro, TipoDeParametro, TipoDeVisualizacion, TiposDeListado, TiposDeReportes, UseColorModeResult, UseDescargarReporte, UseGuardarProgramacion, UseServerGridOptions, ValorDeCondicion, ValorDeFiltro, ValorDeParametro, ValoresDeParametros, VistaDeResultadosProps, VistaDeTableroProps, VisualizacionDeReporte };
|