dmencu 1.0.6 → 1.0.7
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/client/unlogged/render-formulario.tsx +67 -13
- package/dist/client/unlogged/render-general.tsx +1 -0
- package/dist/server/server/procedures-dmencu.js +2 -2
- package/dist/unlogged/unlogged/render-formulario.d.ts +38 -6
- package/dist/unlogged/unlogged/render-formulario.js +77 -52
- package/dist/unlogged/unlogged/render-formulario.tsx +67 -13
- package/dist/unlogged/unlogged/render-general.d.ts +2 -0
- package/dist/unlogged/unlogged/render-general.js +2 -1
- package/dist/unlogged/unlogged/render-general.tsx +1 -0
- package/package.json +1 -1
|
@@ -1,23 +1,50 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { CasoState, ForPk, ForPkRaiz, Formulario, IdFormulario, IdVariable, PlainForPk, Respuestas, RespuestaLasUA, RespuestasRaiz, Valor, TEM, IdCarga, Carga, IdFin, InformacionHdr, IdOperativo, IdEnc, Libre } from "./tipos";
|
|
2
|
+
import { CasoState, EstadoCarga, ForPk, ForPkRaiz, Formulario, IdFormulario, IdVariable, PlainForPk, Respuestas, RespuestaLasUA, RespuestasRaiz, Valor, TEM, IdCarga, Carga, IdFin, InformacionHdr, IdOperativo, IdEnc, Libre } from "./tipos";
|
|
3
3
|
import { FormStructureState } from "row-validator";
|
|
4
|
+
import { CSSProperties } from "@material-ui/core/styles/withStyles";
|
|
5
|
+
type CommonAttributes = {
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
id?: string;
|
|
9
|
+
tabIndex?: number;
|
|
10
|
+
};
|
|
11
|
+
type ColorValues = 'primary' | 'secondary' | 'default' | 'inherit';
|
|
4
12
|
export type LibreDespliegueType = (props: {
|
|
5
13
|
key: string;
|
|
6
14
|
casillero: Libre;
|
|
7
15
|
formulario: Formulario;
|
|
8
16
|
forPk: ForPk;
|
|
9
17
|
}) => JSX.Element;
|
|
18
|
+
export declare const Button: ({ variant, onClick, disabled, children, className, color, size, disableElevation, disableFocusRipple, disableRipple, ...other }: {
|
|
19
|
+
variant?: string | undefined;
|
|
20
|
+
color?: ColorValues | undefined;
|
|
21
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
|
+
children: any;
|
|
24
|
+
className?: string | undefined;
|
|
25
|
+
size?: "small" | undefined;
|
|
26
|
+
disableElevation?: any;
|
|
27
|
+
disableFocusRipple?: any;
|
|
28
|
+
disableRipple?: any;
|
|
29
|
+
} & CommonAttributes) => React.JSX.Element;
|
|
10
30
|
export declare function Atributo(props: {
|
|
11
31
|
nombre: string;
|
|
12
32
|
valor: any;
|
|
13
33
|
}): React.JSX.Element | null;
|
|
14
|
-
export declare
|
|
34
|
+
export declare const listaEstadosCarga: EstadoCarga[];
|
|
35
|
+
export declare var resumidores: {
|
|
36
|
+
nombre: string;
|
|
37
|
+
f: (rr: RespuestasRaiz) => boolean;
|
|
38
|
+
}[];
|
|
39
|
+
export type DesplegarLineaResumenUAPrincipalType = (props: {
|
|
15
40
|
numVivienda: IdEnc;
|
|
16
41
|
formPrincipal: IdFormulario;
|
|
17
42
|
tarea: string;
|
|
18
43
|
respuestas: RespuestasRaiz;
|
|
19
|
-
})
|
|
20
|
-
export declare
|
|
44
|
+
}) => JSX.Element;
|
|
45
|
+
export declare var DesplegarLineaResumenUAPrincipal: DesplegarLineaResumenUAPrincipalType;
|
|
46
|
+
export declare const setDesplegarLineaResumenUAPrincipal: (lineaResumenUAPrincipal: DesplegarLineaResumenUAPrincipalType) => DesplegarLineaResumenUAPrincipalType;
|
|
47
|
+
export type DesplegarCargaType = (props: {
|
|
21
48
|
carga: Carga;
|
|
22
49
|
idCarga: IdCarga;
|
|
23
50
|
posicion: number;
|
|
@@ -26,7 +53,9 @@ export declare function DesplegarCarga(props: {
|
|
|
26
53
|
feedbackRowValidator: {
|
|
27
54
|
[formulario in PlainForPk]: FormStructureState<IdVariable, Valor, IdFin>;
|
|
28
55
|
};
|
|
29
|
-
})
|
|
56
|
+
}) => JSX.Element;
|
|
57
|
+
export declare var DesplegarCarga: DesplegarCargaType;
|
|
58
|
+
export declare const setDesplegarCarga: (despliegueCarga: DesplegarCargaType) => DesplegarCargaType;
|
|
30
59
|
export declare function DesplegarCitaPactada(props: {
|
|
31
60
|
respuestas: Respuestas;
|
|
32
61
|
}): React.JSX.Element;
|
|
@@ -36,7 +65,9 @@ export declare function DesplegarCitaPactadaYSeleccionadoAnteriorTem(props: {
|
|
|
36
65
|
export declare function DesplegarTem(props: {
|
|
37
66
|
tem: TEM;
|
|
38
67
|
}): React.JSX.Element;
|
|
39
|
-
export
|
|
68
|
+
export type HojaDeRutaDespliegueType = (props: {}) => JSX.Element;
|
|
69
|
+
export declare var HojaDeRutaDespliegue: HojaDeRutaDespliegueType;
|
|
70
|
+
export declare const setHojaDeRutaDespliegue: (hojaDeRuta: HojaDeRutaDespliegueType) => HojaDeRutaDespliegueType;
|
|
40
71
|
export declare function ListaTextos(props: {
|
|
41
72
|
textos: string[];
|
|
42
73
|
}): React.JSX.Element;
|
|
@@ -53,3 +84,4 @@ export declare function desplegarFormularioActual(opts: {
|
|
|
53
84
|
operativo: IdOperativo;
|
|
54
85
|
}): Promise<void>;
|
|
55
86
|
export declare const setLibreDespliegue: (libre: LibreDespliegueType) => LibreDespliegueType;
|
|
87
|
+
export {};
|