dmencu 0.4.1 → 0.4.3

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.
@@ -306,7 +306,8 @@ function OpcionDespliegue(props:{casillero:Opcion, valorOpcion:number, variable:
306
306
  if(botonStyle) botonStyle.color = 'green';
307
307
  await sleep(100);
308
308
  if(botonStyle) botonStyle.color = '';
309
- enfocarElementoDeVariable(siguienteVariable);
309
+ //@ts-ignore algunos casilleros tienen especial y otros no
310
+ (casillero.especial?.noScroll == true)?null:enfocarElementoDeVariable(siguienteVariable);
310
311
  }
311
312
  }
312
313
  };
@@ -571,7 +572,8 @@ function Campo(props:{disabled:boolean, pregunta:PreguntaSimple|PreguntaConOpcio
571
572
  const onChange=(nuevoValor:Valor|typeof NO_CAMBIAR__VERIFICAR_SI_ES_NECESARIO)=>{
572
573
  var {siguienteVariable} = dispatchByPass(accion_registrar_respuesta, {forPk:props.forPk, variable:pregunta.var_name, respuesta:nuevoValor});
573
574
  if(siguienteVariable && debeSaltar){
574
- enfocarElementoDeVariable(siguienteVariable);
575
+ //@ts-ignore algunos casilleros tienen especial y otros no
576
+ (pregunta.especial?.noScroll == true)?null:enfocarElementoDeVariable(siguienteVariable);
575
577
  }
576
578
  };
577
579
  var nuestraLongitud = calcularNuestraLongitud(longitud)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dmencu",
3
3
  "description": "DM Encu - Encuestas en dispositivo móvil",
4
- "version": "0.4.1",
4
+ "version": "0.4.3",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "main": "dist/server/server/app-dmencu.js",
@@ -15,7 +15,7 @@
15
15
  "memoize-one": "~6.0.0",
16
16
  "meta-enc": "^1.4.9",
17
17
  "procesamiento": "^1.0.10",
18
- "backend-plus": "^1.18.8",
18
+ "backend-plus": "^1.19.0",
19
19
  "qrcode": "^1.5.3",
20
20
  "react": "~17.0.2",
21
21
  "react-dom": "~17.0.2",