dmencu 0.8.27 → 0.8.29

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.
@@ -53,7 +53,7 @@ import {
53
53
  Dialog, DialogActions, DialogContent, DialogContentText,
54
54
  DialogTitle, Divider, Fab, IconButton,
55
55
  Menu, MenuItem, Paper, Popover,
56
- Table, TableBody, TableCell, TableHead, TableRow, Toolbar
56
+ Table, TableBody, TableCell, TableHead, TableRow, Toolbar, CssBaselineProps
57
57
  } from "@material-ui/core";
58
58
  import { EstadoVariable, FormStructureState } from "row-validator";
59
59
  import { CSSProperties } from "@material-ui/core/styles/withStyles";
@@ -723,12 +723,19 @@ function PreguntaDespliegue(props:{
723
723
  direct:true,
724
724
  fun: registradorDeVariable(pregunta)
725
725
  })
726
+ var style: CSSProperties = {}
727
+ if(pregunta.despliegue == 'grid'){
728
+ style.display = 'grid';
729
+ style.gridTemplateColumns = 'repeat(3,1fr)';
730
+ }
726
731
  return <DesplegarCasillero
727
732
  id={id}
728
733
  casillero={pregunta}
734
+ style={style}
729
735
  nuestro-tipovar={pregunta.tipovar||"multiple"}
730
736
  ocultar-salteada={pregunta.despliegueOculta?(pregunta.expresion_habilitar_js?'INHABILITAR':'SI'):'NO'}
731
737
  despliegueEncabezado={props.despliegueEncabezado}
738
+
732
739
  >
733
740
  <EncabezadoDespliegue
734
741
  casillero={pregunta}
@@ -61,6 +61,23 @@ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<proc
61
61
  menuType: string;
62
62
  name: string;
63
63
  }[];
64
+ getMenuVarios(context: Context): {
65
+ menuType: string;
66
+ name: string;
67
+ menuContent: procesamiento.MenuInfoBase[];
68
+ };
69
+ getMenuAsignacion(context: Context): {
70
+ menuType: string;
71
+ name: string;
72
+ label: string;
73
+ menuContent: procesamiento.MenuInfoBase[];
74
+ };
75
+ getMenuRecepcion(context: Context): {
76
+ menuType: string;
77
+ name: string;
78
+ label: string;
79
+ menuContent: procesamiento.MenuInfoBase[];
80
+ };
64
81
  getMenu(context: Context): {
65
82
  menu: procesamiento.MenuInfoBase[];
66
83
  };
@@ -508,6 +525,23 @@ export declare var AppDmEncu: {
508
525
  menuType: string;
509
526
  name: string;
510
527
  }[];
528
+ getMenuVarios(context: Context): {
529
+ menuType: string;
530
+ name: string;
531
+ menuContent: procesamiento.MenuInfoBase[];
532
+ };
533
+ getMenuAsignacion(context: Context): {
534
+ menuType: string;
535
+ name: string;
536
+ label: string;
537
+ menuContent: procesamiento.MenuInfoBase[];
538
+ };
539
+ getMenuRecepcion(context: Context): {
540
+ menuType: string;
541
+ name: string;
542
+ label: string;
543
+ menuContent: procesamiento.MenuInfoBase[];
544
+ };
511
545
  getMenu(context: Context): {
512
546
  menu: procesamiento.MenuInfoBase[];
513
547
  };