@arquimedes.co/eureka-forms 1.9.92-test → 1.9.93-test

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.
@@ -63,7 +63,7 @@ import FormStepTypes, { EntityValueOptionTypes, } from '../../../../constants/Fo
63
63
  import styles from './MaterialEntityValuePickerStep.module.css';
64
64
  import StepComponent from '../../Step';
65
65
  import { Controller } from 'react-hook-form';
66
- import { calcFillerSize, calcStepWidth } from '../../StepFunctions';
66
+ import { calcFillerSize } from '../../StepFunctions';
67
67
  import { SmartSelect } from '../../SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep';
68
68
  import widgetInstance from '../../../../AxiosWidget';
69
69
  import axiosInstance from '../../../../AxiosAPI';
@@ -141,25 +141,17 @@ function EntityValuePicker(_a) {
141
141
  }
142
142
  };
143
143
  var renderSelect = function () {
144
- return (_jsx("div", __assign({ className: styles.container, style: {
145
- width: widthStats.currentBreakPoint <= step.size
146
- ? '100%'
147
- : calcStepWidth(step.size, form.size),
148
- minHeight: step.description ||
149
- (!postview && editable && step.required)
150
- ? '55px'
151
- : '43px',
152
- } }, { children: _jsx(SmartSelect, __assign({}, others, { form: form, level: level, control: control, postview: postview, getValues: getValues, widthStats: widthStats, value: value, inputRef: inputRef, editable: editable, step: step, icon: step.icon ? _jsx(InputIcon, { icon: step.icon }) : undefined, getOptions: getEntityValueOptions, getOptionSelected: function (option, value) {
153
- return option._id === value._id;
154
- }, calcDepError: function (steps) {
155
- for (var _i = 0, steps_1 = steps; _i < steps_1.length; _i++) {
156
- var step_1 = steps_1[_i];
157
- if (step_1.type === FormStepTypes.ENTITYVALUEPICKER) {
158
- return 'Selecciona un ' + step_1.label;
159
- }
144
+ return (_jsx(SmartSelect, __assign({}, others, { form: form, level: level, control: control, postview: postview, getValues: getValues, widthStats: widthStats, value: value, inputRef: inputRef, editable: editable, step: step, icon: step.icon ? _jsx(InputIcon, { icon: step.icon }) : undefined, getOptions: getEntityValueOptions, getOptionSelected: function (option, value) {
145
+ return option._id === value._id;
146
+ }, calcDepError: function (steps) {
147
+ for (var _i = 0, steps_1 = steps; _i < steps_1.length; _i++) {
148
+ var step_1 = steps_1[_i];
149
+ if (step_1.type === FormStepTypes.ENTITYVALUEPICKER) {
150
+ return 'Selecciona un ' + step_1.label;
160
151
  }
161
- return undefined;
162
- }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value._id; } })) }), step.id));
152
+ }
153
+ return undefined;
154
+ }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value._id; } })));
163
155
  };
164
156
  var mapNestedOption = function () {
165
157
  if (value) {
@@ -82,6 +82,7 @@ var useTextfieldStyles = function (props) {
82
82
  },
83
83
  '& .EF-MuiOutlinedInput-notchedOutline': {
84
84
  borderColor: props.outlineColor,
85
+ pointerEvents: 'all',
85
86
  },
86
87
  height: props.height,
87
88
  '& .EF-MuiAutocomplete-input': {
@@ -210,7 +211,7 @@ export default function RoundedSmartSelect(_a) {
210
211
  }
211
212
  }, renderOption: function (option) {
212
213
  return typeof option === 'string' ? option : option.label;
213
- }, renderInput: function (params) { return (_jsx(TextField, __assign({ classes: textFieldClasses }, params, { inputRef: inputRef, onBlur: onBlur, name: name, variant: "outlined", label: label, required: required, error: error, helperText: helperText }))); }, style: { pointerEvents: 'none' }, noOptionsText: "No hay opciones" }));
214
+ }, renderInput: function (params) { return (_jsx(TextField, __assign({ classes: textFieldClasses }, params, { inputRef: inputRef, onBlur: onBlur, name: name, variant: "outlined", label: label, required: required, error: error, helperText: helperText }))); }, noOptionsText: "No hay opciones" }));
214
215
  }
215
216
  else {
216
217
  return (_jsxs(RoundedSelect, __assign({ onBlur: onBlur, onFocus: onFocus, inputRef: inputRef, name: name, fullWidth: true, handleUpdate: function (event) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"1.9.92-test",
4
+ "version":"1.9.93-test",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",