dmencu 0.8.48 → 0.8.50

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.
@@ -1299,7 +1299,7 @@ function DesplegarContenidoInternoBloqueOFormulario(props:{bloqueOFormulario:Blo
1299
1299
  volcadoInicialElementosRegistrados(props.forPk);
1300
1300
  }
1301
1301
  },[toPlainForPk(props.forPk),verTodo])
1302
- useLayoutEffect(() => {
1302
+ useEffect(() => {
1303
1303
  if(props.bloqueOFormulario.tipoc=='F' && verTodo){
1304
1304
  var {siguienteVariable, variableActual} = dispatchByPass(accion_registrar_respuesta, {respuesta:null, variable:NO_CAMBIAR__SOLO_TRAER_STATUS, forPk:props.forPk});
1305
1305
  if(variableActual || siguienteVariable){
@@ -0,0 +1,26 @@
1
+ --funciones para diccionarios
2
+ -- TODO Mejorar dic_parte
3
+
4
+ CREATE OR REPLACE FUNCTION dic_tradu(
5
+ p_dic text,
6
+ p_origen text)
7
+ RETURNS integer
8
+ LANGUAGE 'sql'
9
+ STABLE
10
+ AS $BODY$
11
+ select destino from dictra where diccionario=p_dic and origen=comun.cadena_normalizar(p_origen)
12
+ $BODY$;
13
+
14
+ CREATE OR REPLACE FUNCTION dic_parte(
15
+ p_dic text,
16
+ p_origen text,
17
+ p_destino integer)
18
+ RETURNS boolean
19
+ LANGUAGE 'sql'
20
+ STABLE
21
+ AS $BODY$
22
+ select p_origen ~*
23
+ ('(\m' || coalesce((select string_agg(origen, '\M|\m')
24
+ from dictra
25
+ where diccionario=p_dic and destino=p_destino),'')|| '\M)' )
26
+ $BODY$;
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.8.48",
4
+ "version": "0.8.50",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "main": "dist/server/server/app-dmencu.js",