dmencu 2.0.6 → 2.0.8
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/client/client.js +13 -11
- package/dist/client/unlogged/bypass-formulario.js +12 -6
- package/dist/client/unlogged/render-formulario.tsx +6 -3
- package/dist/server/server/procedures-dmencu.js +2 -2
- package/dist/unlogged/unlogged/bypass-formulario.js +12 -6
- package/dist/unlogged/unlogged/render-formulario.d.ts +1 -1
- package/dist/unlogged/unlogged/render-formulario.js +6 -3
- package/dist/unlogged/unlogged/render-formulario.tsx +6 -3
- package/package.json +1 -1
|
@@ -117,7 +117,7 @@ window.addEventListener('load', ()=>{
|
|
|
117
117
|
// /*
|
|
118
118
|
|
|
119
119
|
type CommonAttributes = {className?:string,style?:React.CSSProperties,id?:string, tabIndex?:number} // CSSProperties
|
|
120
|
-
type ColorValues = 'primary'|'secondary'|'default'|'inherit'
|
|
120
|
+
type ColorValues = 'primary'|'secondary'|'default'|'inherit'|'success'
|
|
121
121
|
|
|
122
122
|
export type LibreDespliegueType = (props:{
|
|
123
123
|
key:string
|
|
@@ -1104,7 +1104,9 @@ var botonFormularioConResumen = (
|
|
|
1104
1104
|
var BF_varname = '$B.F:'+ casillero.salto as IdVariable
|
|
1105
1105
|
dispatchByPass(accion_registrar_respuesta,{forPk:forPkPadre, variable:BF_varname, respuesta:defBoton.num==0?null:defBoton.num as Valor});
|
|
1106
1106
|
}
|
|
1107
|
-
|
|
1107
|
+
if(casillero.expresion_habilitar){
|
|
1108
|
+
dispatchByPass(accion_registrar_respuesta,{forPk:forPkPadre, variable:casillero.expresion_habilitar as IdVariable, respuesta:defBoton.num as Valor});
|
|
1109
|
+
}
|
|
1108
1110
|
}
|
|
1109
1111
|
}else{
|
|
1110
1112
|
var button = document.getElementById(idButton)! as HTMLButtonElement;
|
|
@@ -1922,6 +1924,7 @@ setDesplegarCarga((props:{
|
|
|
1922
1924
|
var estructura = getEstructura();
|
|
1923
1925
|
let cantLineasResumen = likeAr(informacionHdr).filter((informacion)=>informacion.tem.carga==idCarga).array().length;
|
|
1924
1926
|
const dispatch = useDispatch();
|
|
1927
|
+
const modoDM:ModoDM = my.getLocalVar(MODO_DM_LOCALSTORAGE_KEY);
|
|
1925
1928
|
return <Paper className="carga" style={{marginBottom: '10px', padding: '10px'}}>
|
|
1926
1929
|
<div className="informacion-carga">
|
|
1927
1930
|
<div className="carga">Área: {idCarga}</div>
|
|
@@ -1971,7 +1974,7 @@ setDesplegarCarga((props:{
|
|
|
1971
1974
|
<TableCell colSpan={3}>
|
|
1972
1975
|
<Button
|
|
1973
1976
|
variant="contained"
|
|
1974
|
-
color="primary"
|
|
1977
|
+
color={modoDM=="capa"?"success":"primary"}
|
|
1975
1978
|
onClick={()=>
|
|
1976
1979
|
crearEncuesta(idCarga,(forPkRaiz:ForPkRaiz)=>{
|
|
1977
1980
|
dispatch(dispatchers.CAMBIAR_FORMULARIO({forPk:forPkRaiz, apilarVuelta:false}));
|
package/package.json
CHANGED