@arquimedes.co/eureka-forms 1.9.14 → 1.9.15-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.
Files changed (62) hide show
  1. package/dist/@Types/AYFFormStep.d.ts +1 -1
  2. package/dist/@Types/CBRFormStep.d.ts +1 -1
  3. package/dist/@Types/Form.d.ts +2 -2
  4. package/dist/@Types/FormStep.d.ts +3 -3
  5. package/dist/App.js +11 -11
  6. package/dist/AxiosWidget.js +1 -1
  7. package/dist/FormComponents/Form/ColumnForm/ColumnForm.js +8 -8
  8. package/dist/FormComponents/Form/ConfirmationDialog/ConfirmationDialog.js +2 -2
  9. package/dist/FormComponents/Form/Form.js +8 -8
  10. package/dist/FormComponents/Form/StepperForm/StepperForm.js +1 -1
  11. package/dist/FormComponents/Section/MaterialSection/MaterialSection.js +1 -1
  12. package/dist/FormComponents/Section/Section.js +2 -2
  13. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +2 -2
  14. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +3 -3
  15. package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +6 -6
  16. package/dist/FormComponents/Step/@Construction/CBRLocativasStep/CBRLocativasStep.js +9 -9
  17. package/dist/FormComponents/Step/@Construction/CBRPropertyStep/CBRPropertyStep.js +7 -7
  18. package/dist/FormComponents/Step/AYFStepMapper.js +6 -6
  19. package/dist/FormComponents/Step/CBRStepMapper.js +22 -22
  20. package/dist/FormComponents/Step/CheckBoxStep/CheckBoxStep.js +2 -2
  21. package/dist/FormComponents/Step/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +4 -4
  22. package/dist/FormComponents/Step/ClassifierSelectorStep/ClassifierSelectorStep.js +2 -2
  23. package/dist/FormComponents/Step/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +8 -8
  24. package/dist/FormComponents/Step/DatePickerStep/DatePickerStep.js +2 -2
  25. package/dist/FormComponents/Step/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +2 -2
  26. package/dist/FormComponents/Step/FileUploadStep/FileUploadStep.js +2 -2
  27. package/dist/FormComponents/Step/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.js +11 -11
  28. package/dist/FormComponents/Step/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +7 -7
  29. package/dist/FormComponents/Step/RatingStep/MaterialRatingStep/MaterialRatingStep.js +5 -5
  30. package/dist/FormComponents/Step/RatingStep/RatingStep.js +2 -2
  31. package/dist/FormComponents/Step/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +6 -6
  32. package/dist/FormComponents/Step/SelectorStep/SelectorStep.js +2 -2
  33. package/dist/FormComponents/Step/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.js +1 -1
  34. package/dist/FormComponents/Step/SeparatorStep/SeparatorStep.js +2 -2
  35. package/dist/FormComponents/Step/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +5 -5
  36. package/dist/FormComponents/Step/SmartSelectStep/SmartSelectStep.js +2 -2
  37. package/dist/FormComponents/Step/Step.js +13 -13
  38. package/dist/FormComponents/Step/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.d.ts +1 -1
  39. package/dist/FormComponents/Step/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +7 -7
  40. package/dist/FormComponents/Step/TextAreaStep/TextAreaStep.js +2 -2
  41. package/dist/FormComponents/Step/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +2 -2
  42. package/dist/FormComponents/Step/TextInputStep/TextInputStep.js +2 -2
  43. package/dist/FormComponents/Step/TitleStep/MaterialTitleStep/MaterialTitleStep.js +2 -2
  44. package/dist/FormComponents/Step/TitleStep/TitleStep.js +2 -2
  45. package/dist/FormComponents/Term/MaterialTerm/MaterialTerm.js +6 -6
  46. package/dist/FormComponents/Term/Term.js +2 -2
  47. package/dist/Widget.js +1 -1
  48. package/dist/controllers/FileService.js +2 -2
  49. package/dist/index.js +1 -1
  50. package/dist/shared/Loader/Loader.js +1 -1
  51. package/dist/shared/Navbar/Navbar.js +1 -1
  52. package/dist/shared/Rating/Rating.js +4 -4
  53. package/dist/shared/Rating/Ratings/LikeRating.js +3 -3
  54. package/dist/shared/Rating/Ratings/SatisfactionRating.js +5 -5
  55. package/dist/shared/Rating/Ratings/ScaleRating.js +4 -4
  56. package/dist/shared/RoundedButton/RoundedButton.js +1 -1
  57. package/dist/shared/RoundedCheckBox/RoundedCheckBox.js +2 -2
  58. package/dist/shared/RoundedDatePicker/RoundedDatePicker.js +7 -7
  59. package/dist/shared/RoundedSelect/RoundedSelect.js +3 -3
  60. package/dist/shared/RoundedSmartSelect/RoundedSmartSelect.js +5 -5
  61. package/dist/shared/RoundedTextField/RoundedTextField.js +3 -3
  62. package/package.json +2 -2
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -55,7 +55,7 @@ import CBRIncidentsStep from './@Construction/CBRIncidentsStep/CBRIncidentsStep'
55
55
  import CBRLocativasStep from './@Construction/CBRLocativasStep/CBRLocativasStep';
56
56
  import axios from 'axios';
57
57
  import CBRPropertyStep from './@Construction/CBRPropertyStep/CBRPropertyStep';
58
- var baseUrl = "https://integrations." + process.env.REACT_APP_DOMAIN + "/sinco/cbr/";
58
+ var baseUrl = "https://integrations.".concat(process.env.REACT_APP_DOMAIN, "/sinco/cbr/");
59
59
  function CBRStepMapper(props) {
60
60
  var _this = this;
61
61
  var getTipoDocOptions = function (idOrganization) { return __awaiter(_this, void 0, void 0, function () {
@@ -128,31 +128,31 @@ function CBRStepMapper(props) {
128
128
  case CBRFormStepTypes.CBR_FIRST_NAME:
129
129
  case CBRFormStepTypes.CBR_MIDDLE_NAME:
130
130
  case CBRFormStepTypes.CBR_SECOND_LAST_NAME:
131
- return _jsx(TextInputStep, __assign({}, props, { step: props.step }), void 0);
131
+ return _jsx(TextInputStep, __assign({}, props, { step: props.step }));
132
132
  case CBRFormStepTypes.CBR_DOC:
133
- return (_jsx(TextInputStep, __assign({}, props, { step: props.step, icon: _jsx(DocumentIconComponent, {}, void 0) }), void 0));
133
+ return (_jsx(TextInputStep, __assign({}, props, { step: props.step, icon: _jsx(DocumentIconComponent, {}) })));
134
134
  case CBRFormStepTypes.CBR_TIPO_DOC:
135
135
  return (_jsx(SmartSelectStep, __assign({}, props, { step: __assign(__assign({}, props.step), { showIcon: false }), getOptions: getTipoDocOptions, getOptionSelected: function (option, value) {
136
136
  return option.id === value.id;
137
- }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } }), void 0));
137
+ }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } })));
138
138
  case CBRFormStepTypes.CBR_MACRO_PROYECTO:
139
139
  return (_jsx(SmartSelectStep, __assign({}, props, { step: props.step, icon: _jsx(ProjectIcon, { fill: "#757575", style: {
140
140
  display: 'flex',
141
141
  height: 23,
142
142
  width: 23,
143
- } }, void 0), getOptions: getMacroProyectoOptions, getOptionSelected: function (option, value) {
143
+ } }), getOptions: getMacroProyectoOptions, getOptionSelected: function (option, value) {
144
144
  return option.id === value.id;
145
- }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } }), void 0));
145
+ }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } })));
146
146
  case CBRFormStepTypes.CBR_PROYECTO:
147
147
  return (_jsx(SmartSelectStep, __assign({}, props, { step: props.step, icon: _jsx(ProjectIcon, { fill: "#757575", style: {
148
148
  display: 'flex',
149
149
  height: 24,
150
150
  width: 24,
151
- } }, void 0), getOptions: getProyectoOptions, getOptionSelected: function (option, value) {
151
+ } }), getOptions: getProyectoOptions, getOptionSelected: function (option, value) {
152
152
  return option.id === value.id;
153
- }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } }), void 0));
153
+ }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } })));
154
154
  case CBRFormStepTypes.CBR_INMUEBLE:
155
- return _jsx(CBRPropertyStep, __assign({}, props, { step: props.step }), void 0);
155
+ return _jsx(CBRPropertyStep, __assign({}, props, { step: props.step }));
156
156
  case CBRFormStepTypes.CBR_TIPO_SOLICITANTE:
157
157
  return (_jsx(SmartSelectStep, __assign({}, props, { step: props.step, icon: _jsx(PersonRoundedIcon, { fill: "#757575", style: {
158
158
  display: 'flex',
@@ -160,15 +160,15 @@ function CBRStepMapper(props) {
160
160
  width: 23,
161
161
  marginRight: 3,
162
162
  marginTop: 1,
163
- } }, void 0), getOptions: getTipoSolicitanteOptions, getOptionSelected: function (option, value) {
163
+ } }), getOptions: getTipoSolicitanteOptions, getOptionSelected: function (option, value) {
164
164
  return option.id === value.id;
165
- }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } }), void 0));
165
+ }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } })));
166
166
  case CBRFormStepTypes.CBR_TIPO_ESPACIO:
167
167
  return (_jsx(SmartSelectStep, __assign({}, props, { step: props.step, icon: _jsx(SpaceTypeIcon, { fill: "#757575", style: {
168
168
  display: 'flex',
169
169
  height: 23,
170
170
  width: 23,
171
- } }, void 0), getOptions: getTipoEspaciosOptions, calcDepError: function (types) {
171
+ } }), getOptions: getTipoEspaciosOptions, calcDepError: function (types) {
172
172
  for (var _i = 0, _a = types; _i < _a.length; _i++) {
173
173
  var type = _a[_i];
174
174
  if (type === CBRFormStepTypes.CBR_PROYECTO) {
@@ -178,15 +178,15 @@ function CBRStepMapper(props) {
178
178
  return undefined;
179
179
  }, getOptionSelected: function (option, value) {
180
180
  return option.id === value.id;
181
- }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } }), void 0));
181
+ }, getValueString: function (value) { return value === null || value === void 0 ? void 0 : value.id; } })));
182
182
  case CBRFormStepTypes.CBR_LOCATIVAS:
183
- return _jsx(CBRLocativasStep, __assign({}, props, { step: props.step }), void 0);
183
+ return _jsx(CBRLocativasStep, __assign({}, props, { step: props.step }));
184
184
  case CBRFormStepTypes.CBR_COMENTARIO:
185
- return _jsx(TextAreaStep, __assign({}, props, { step: props.step }), void 0);
185
+ return _jsx(TextAreaStep, __assign({}, props, { step: props.step }));
186
186
  case CBRFormStepTypes.CBR_INCIDENCIAS:
187
- return _jsx(CBRIncidentsStep, __assign({}, props, { step: props.step }), void 0);
187
+ return _jsx(CBRIncidentsStep, __assign({}, props, { step: props.step }));
188
188
  default:
189
- return _jsx("div", {}, void 0);
189
+ return _jsx("div", {});
190
190
  }
191
191
  }
192
192
  export default CBRStepMapper;
@@ -197,8 +197,8 @@ function DocumentIconComponent(props) {
197
197
  display: 'flex',
198
198
  height: 23,
199
199
  width: 23,
200
- } }, void 0) }), void 0));
200
+ } }) })));
201
201
  }
202
- var SpaceTypeIcon = function (props) { return (_jsxs("svg", __assign({ fill: props.fill, className: props.class, style: props.style, width: "512pt", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64" }, { children: [_jsx("title", { children: "SpaceType" }, void 0), _jsxs("g", __assign({ id: "space_type", "data-name": "space type" }, { children: [_jsx("path", { d: "M29.74,39A10.21,10.21,0,0,0,27.61,39,1.63,1.63,0,0,0,26,40.61V53.35A1.63,1.63,0,0,0,27.61,55h1.74A1.63,1.63,0,0,0,31,53.35V40.61A1.63,1.63,0,0,0,29.74,39Z" }, void 0), _jsx("path", { d: "M57.35,39a10.27,10.27,0,0,0-2.13.05A1.63,1.63,0,0,0,54,40.61V53.35A1.63,1.63,0,0,0,55.61,55h1.74A1.63,1.63,0,0,0,59,53.35V40.61A1.63,1.63,0,0,0,57.35,39Z" }, void 0), _jsx("path", { d: "M33,54a1,1,0,0,0,1,1H51a1,1,0,0,0,1-1V49H33Z" }, void 0), _jsx("path", { d: "M49,42H36a3,3,0,0,0-3,3v2H52V45A3,3,0,0,0,49,42Z" }, void 0), _jsx("path", { d: "M54,31a5,5,0,0,0-5-5H36a5,5,0,0,0-5,5v6.39a3.62,3.62,0,0,1,1.86,2.24A4.68,4.68,0,0,1,33,41c1.37-1.37,4.2-1,16-1a5,5,0,0,1,2.68.78c.64.39.07.39.46-1.15a3.65,3.65,0,0,1,1.43-2C54.15,37.19,54,38.41,54,31Z" }, void 0), _jsx("path", { d: "M17,32c-5.85,0-4.33,0-4-.05a7.06,7.06,0,0,0,6-7,7,7,0,0,0-4.47,1.59,7.08,7.08,0,0,0-2.07-5.05,7.06,7.06,0,0,0-2.07,5.05,7,7,0,0,0-4.47-1.59,7.07,7.07,0,0,0,6,7c.36.08,1.89.05-4,.05l1.71,6H3V55H5V50H20v5h2V38H15.26ZM15,45H10V43h5Z" }, void 0), _jsx("path", { d: "M26,21h6L31,10H19L18,21h6V40.61a3.63,3.63,0,0,1,2-3.24Z" }, void 0)] }), void 0)] }), void 0)); };
203
- var DocumentIcon = function (props) { return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, id: "bold", enableBackground: "new 0 0 24 24", height: "512", viewBox: "0 0 24 24", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m21.25 3h-18.5c-1.517 0-2.75 1.233-2.75 2.75v12.5c0 1.517 1.233 2.75 2.75 2.75h18.5c1.517 0 2.75-1.233 2.75-2.75v-12.5c0-1.517-1.233-2.75-2.75-2.75zm-13.75 4c1.378 0 2.5 1.122 2.5 2.5s-1.122 2.5-2.5 2.5-2.5-1.122-2.5-2.5 1.122-2.5 2.5-2.5zm4.5 9.25c0 .414-.336.75-.75.75h-7.5c-.414 0-.75-.336-.75-.75v-.5c0-1.517 1.233-2.75 2.75-2.75h3.5c1.517 0 2.75 1.233 2.75 2.75zm8.25.75h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75z" }, void 0) }), void 0)); };
204
- var ProjectIcon = function (props) { return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, height: "480pt", viewBox: "0 -8 480 480", width: "480pt", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m440 448v-49.960938c10.546875-6.214843 16.726562-17.816406 16-30.039062 0-17.671875-10.742188-32-24-32s-24 14.328125-24 32c-.726562 12.222656 5.453125 23.824219 16 30.039062v49.960938h-56v-243.054688l-48-24v43.054688h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v16h-16v-321.96875l-96-27.421875v29.390625h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v16h-16v-448h-144v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v16h-48v16h480v-16zm0 0" }, void 0) }), void 0)); };
202
+ var SpaceTypeIcon = function (props) { return (_jsxs("svg", __assign({ fill: props.fill, className: props.class, style: props.style, width: "512pt", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64" }, { children: [_jsx("title", { children: "SpaceType" }), _jsxs("g", __assign({ id: "space_type", "data-name": "space type" }, { children: [_jsx("path", { d: "M29.74,39A10.21,10.21,0,0,0,27.61,39,1.63,1.63,0,0,0,26,40.61V53.35A1.63,1.63,0,0,0,27.61,55h1.74A1.63,1.63,0,0,0,31,53.35V40.61A1.63,1.63,0,0,0,29.74,39Z" }), _jsx("path", { d: "M57.35,39a10.27,10.27,0,0,0-2.13.05A1.63,1.63,0,0,0,54,40.61V53.35A1.63,1.63,0,0,0,55.61,55h1.74A1.63,1.63,0,0,0,59,53.35V40.61A1.63,1.63,0,0,0,57.35,39Z" }), _jsx("path", { d: "M33,54a1,1,0,0,0,1,1H51a1,1,0,0,0,1-1V49H33Z" }), _jsx("path", { d: "M49,42H36a3,3,0,0,0-3,3v2H52V45A3,3,0,0,0,49,42Z" }), _jsx("path", { d: "M54,31a5,5,0,0,0-5-5H36a5,5,0,0,0-5,5v6.39a3.62,3.62,0,0,1,1.86,2.24A4.68,4.68,0,0,1,33,41c1.37-1.37,4.2-1,16-1a5,5,0,0,1,2.68.78c.64.39.07.39.46-1.15a3.65,3.65,0,0,1,1.43-2C54.15,37.19,54,38.41,54,31Z" }), _jsx("path", { d: "M17,32c-5.85,0-4.33,0-4-.05a7.06,7.06,0,0,0,6-7,7,7,0,0,0-4.47,1.59,7.08,7.08,0,0,0-2.07-5.05,7.06,7.06,0,0,0-2.07,5.05,7,7,0,0,0-4.47-1.59,7.07,7.07,0,0,0,6,7c.36.08,1.89.05-4,.05l1.71,6H3V55H5V50H20v5h2V38H15.26ZM15,45H10V43h5Z" }), _jsx("path", { d: "M26,21h6L31,10H19L18,21h6V40.61a3.63,3.63,0,0,1,2-3.24Z" })] }))] }))); };
203
+ var DocumentIcon = function (props) { return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, id: "bold", enableBackground: "new 0 0 24 24", height: "512", viewBox: "0 0 24 24", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m21.25 3h-18.5c-1.517 0-2.75 1.233-2.75 2.75v12.5c0 1.517 1.233 2.75 2.75 2.75h18.5c1.517 0 2.75-1.233 2.75-2.75v-12.5c0-1.517-1.233-2.75-2.75-2.75zm-13.75 4c1.378 0 2.5 1.122 2.5 2.5s-1.122 2.5-2.5 2.5-2.5-1.122-2.5-2.5 1.122-2.5 2.5-2.5zm4.5 9.25c0 .414-.336.75-.75.75h-7.5c-.414 0-.75-.336-.75-.75v-.5c0-1.517 1.233-2.75 2.75-2.75h3.5c1.517 0 2.75 1.233 2.75 2.75zm8.25.75h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75z" }) }))); };
204
+ var ProjectIcon = function (props) { return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, height: "480pt", viewBox: "0 -8 480 480", width: "480pt", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m440 448v-49.960938c10.546875-6.214843 16.726562-17.816406 16-30.039062 0-17.671875-10.742188-32-24-32s-24 14.328125-24 32c-.726562 12.222656 5.453125 23.824219 16 30.039062v49.960938h-56v-243.054688l-48-24v43.054688h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v16h-16v-321.96875l-96-27.421875v29.390625h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v16h-16v-448h-144v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v16h-48v16h480v-16zm0 0" }) }))); };
@@ -27,10 +27,10 @@ function CheckboxStep(_a) {
27
27
  var formStyle = _a.formStyle, others = __rest(_a, ["formStyle"]);
28
28
  switch (formStyle.type) {
29
29
  case FormStyleTypes.MATERIAL: {
30
- return _jsx(MaterialCheckBoxStep, __assign({ formStyle: formStyle }, others), void 0);
30
+ return _jsx(MaterialCheckBoxStep, __assign({ formStyle: formStyle }, others));
31
31
  }
32
32
  default: {
33
- return _jsx(MaterialCheckBoxStep, __assign({ formStyle: formStyle }, others), void 0);
33
+ return _jsx(MaterialCheckBoxStep, __assign({ formStyle: formStyle }, others));
34
34
  }
35
35
  }
36
36
  }
@@ -21,19 +21,19 @@ function CheckBoxStep(_a) {
21
21
  ? '100%'
22
22
  : calcStepWidth(step.size, form.size),
23
23
  minHeight: step.description || step.required ? '55px' : '43px',
24
- } }, { children: [_jsxs("div", __assign({ className: styles.labelCheckBoxContainer }, { children: [step.label && (_jsxs("div", __assign({ className: styles.checkboxLbl }, { children: [step.label, step.required ? ' *' : '', ":"] }), void 0)), _jsx(Controller, { name: step.id, control: control, defaultValue: false, rules: {
24
+ } }, { children: [_jsxs("div", __assign({ className: styles.labelCheckBoxContainer }, { children: [step.label && (_jsxs("div", __assign({ className: styles.checkboxLbl }, { children: [step.label, step.required ? ' *' : '', ":"] }))), _jsx(Controller, { name: step.id, control: control, defaultValue: false, rules: {
25
25
  required: step.required
26
26
  ? 'Este campo es obligatorio'
27
27
  : undefined,
28
28
  }, shouldUnregister: true, render: function (_a) {
29
29
  var field = _a.field;
30
- return (_jsx(RoundedCheckBox, __assign({}, field, { "data-testid": step.id, inputRef: field.ref, padding: "0px", size: "1.6rem", cantEdit: !editable || postview, checkedColor: formStyle.primaryColor, uncheckedColor: formStyle.outlineColor, checked: field.value }), void 0));
31
- } }, void 0)] }), void 0), (step.description || !!errors[step.id]) && (_jsx("div", __assign({ className: styles.descriptionPar, style: {
30
+ return (_jsx(RoundedCheckBox, __assign({}, field, { "data-testid": step.id, inputRef: field.ref, padding: "0px", size: "1.6rem", cantEdit: !editable || postview, checkedColor: formStyle.primaryColor, uncheckedColor: formStyle.outlineColor, checked: field.value })));
31
+ } })] })), (step.description || !!errors[step.id]) && (_jsx("div", __assign({ className: styles.descriptionPar, style: {
32
32
  color: !!errors[step.id]
33
33
  ? formStyle.errorColor
34
34
  : formStyle.descriptionTextColor,
35
35
  } }, { children: !!errors[step.id]
36
36
  ? 'Este campo es obligatorio'
37
- : step.description }), void 0))] }), void 0));
37
+ : step.description })))] })));
38
38
  }
39
39
  export default CheckBoxStep;
@@ -27,10 +27,10 @@ function ClassifierSelectorStep(_a) {
27
27
  var formStyle = _a.formStyle, others = __rest(_a, ["formStyle"]);
28
28
  switch (formStyle.type) {
29
29
  case FormStyleTypes.MATERIAL: {
30
- return (_jsx(MaterialClassifierSelectorStep, __assign({ formStyle: formStyle }, others), void 0));
30
+ return (_jsx(MaterialClassifierSelectorStep, __assign({ formStyle: formStyle }, others)));
31
31
  }
32
32
  default: {
33
- return (_jsx(MaterialClassifierSelectorStep, __assign({ formStyle: formStyle }, others), void 0));
33
+ return (_jsx(MaterialClassifierSelectorStep, __assign({ formStyle: formStyle }, others)));
34
34
  }
35
35
  }
36
36
  }
@@ -35,11 +35,11 @@ function ClassifierSelector(_a) {
35
35
  ? calcFillerSize(step, form.steps, getValues(), form.size)
36
36
  : 0), fillerSize = _b[0], setFillerSize = _b[1];
37
37
  if (!step.idClassifier) {
38
- return _jsx("div", {}, void 0);
38
+ return _jsx("div", {});
39
39
  }
40
40
  var classifier = form.classifiers[step.idClassifier];
41
41
  if (!classifier) {
42
- return _jsx("div", {}, void 0);
42
+ return _jsx("div", {});
43
43
  }
44
44
  var options = classifier.children
45
45
  .filter(function (classifier) {
@@ -77,7 +77,7 @@ function ClassifierSelector(_a) {
77
77
  return option.value === (value === null || value === void 0 ? void 0 : value.value);
78
78
  }, helperText: errors[step.id]
79
79
  ? errors[step.id].message
80
- : step.description, error: !!errors[step.id] }, void 0) }), step.id));
80
+ : step.description, error: !!errors[step.id] }) }), step.id));
81
81
  };
82
82
  var mapNestedOption = function () {
83
83
  if (value) {
@@ -88,7 +88,7 @@ function ClassifierSelector(_a) {
88
88
  return (_createElement(StepComponent, __assign({}, others, { postview: postview, editable: editable, widthStats: widthStats, getValues: getValues, formStyle: formStyle, errors: errors, form: form, control: control, step: subStep, key: index, level: level + 1, handleSizeChange: function () {
89
89
  sizeChange();
90
90
  } })));
91
- }) }, void 0));
91
+ }) }));
92
92
  }
93
93
  }
94
94
  };
@@ -99,10 +99,10 @@ function ClassifierSelector(_a) {
99
99
  : 'fit-content',
100
100
  } }, { children: [renderSelect(), mapNestedOption(), level === 0 && step.maxSize < form.size.blockNum && (_jsx("div", { className: styles.smallSeparator, style: {
101
101
  width: fillerSize,
102
- } }, "SEPARATOR"))] }), void 0));
102
+ } }, "SEPARATOR"))] })));
103
103
  }
104
104
  else {
105
- return (_jsxs(React.Fragment, { children: [renderSelect(), mapNestedOption(), level === 0 && _jsx("div", { className: styles.separator }, void 0)] }, void 0));
105
+ return (_jsxs(React.Fragment, { children: [renderSelect(), mapNestedOption(), level === 0 && _jsx("div", { className: styles.separator })] }));
106
106
  }
107
107
  }
108
108
  export default ClassifierSelectorStep;
@@ -113,6 +113,6 @@ function ClassifierSelectorStep(props) {
113
113
  : undefined,
114
114
  }, shouldUnregister: true, render: function (_a) {
115
115
  var field = _a.field;
116
- return (_jsx(ClassifierSelector, __assign({}, props, { inputRef: field.ref, value: field.value, onChange: field.onChange, onBlur: field.onBlur }), void 0));
117
- } }, void 0));
116
+ return (_jsx(ClassifierSelector, __assign({}, props, { inputRef: field.ref, value: field.value, onChange: field.onChange, onBlur: field.onBlur })));
117
+ } }));
118
118
  }
@@ -15,10 +15,10 @@ import MaterialDatePickerStep from './MaterialDatePickerStep/MaterialDatePickerS
15
15
  function DatePickerStep(props) {
16
16
  switch (props.formStyle.type) {
17
17
  case FormStyleTypes.MATERIAL: {
18
- return _jsx(MaterialDatePickerStep, __assign({}, props), void 0);
18
+ return _jsx(MaterialDatePickerStep, __assign({}, props));
19
19
  }
20
20
  default: {
21
- return _jsx(MaterialDatePickerStep, __assign({}, props), void 0);
21
+ return _jsx(MaterialDatePickerStep, __assign({}, props));
22
22
  }
23
23
  }
24
24
  }
@@ -29,7 +29,7 @@ function DatePickerStep(_a) {
29
29
  var field = _a.field;
30
30
  return (_jsx(RoundedDatePicker, __assign({}, field, { pickTime: step.pickTime, inputRef: field.ref, cantEdit: !editable || postview, "data-testid": step.id, secondaryColor: formStyle.secondaryColor, contrastColor: formStyle.secondaryContrastColor, accentColor: formStyle.textColor, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, helperTextColor: formStyle.descriptionTextColor, fontWeight: 400, label: step.label, helperText: errors[step.id]
31
31
  ? errors[step.id].message
32
- : step.description, error: !!errors[step.id], required: step.required }), void 0));
33
- } }, void 0) }), void 0));
32
+ : step.description, error: !!errors[step.id], required: step.required })));
33
+ } }) })));
34
34
  }
35
35
  export default DatePickerStep;
@@ -15,10 +15,10 @@ import MaterialFileUploadStep from './MaterialFileUploadStep/MaterialFileUploadS
15
15
  function FileUploadStep(props) {
16
16
  switch (props.formStyle.type) {
17
17
  case FormStyleTypes.MATERIAL: {
18
- return _jsx(MaterialFileUploadStep, __assign({}, props), void 0);
18
+ return _jsx(MaterialFileUploadStep, __assign({}, props));
19
19
  }
20
20
  default: {
21
- return _jsx(MaterialFileUploadStep, __assign({}, props), void 0);
21
+ return _jsx(MaterialFileUploadStep, __assign({}, props));
22
22
  }
23
23
  }
24
24
  }
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -58,7 +58,7 @@ function FileUploadComponent(_a) {
58
58
  var file = _a.file, formStyle = _a.formStyle, error = _a.error, handleRemove = _a.handleRemove, fetchDownloadUrl = _a.fetchDownloadUrl;
59
59
  var _d = useState(false), downloading = _d[0], setDownloading = _d[1];
60
60
  if (!file) {
61
- return _jsx("div", {}, void 0);
61
+ return _jsx("div", {});
62
62
  }
63
63
  var downloadFile = function () { return __awaiter(_this, void 0, void 0, function () {
64
64
  var fileUrl, a, error_1;
@@ -89,26 +89,26 @@ function FileUploadComponent(_a) {
89
89
  }); };
90
90
  var calcIcon = function () {
91
91
  if (downloading) {
92
- return (_jsx("div", __assign({ className: styles.loaderContainer }, { children: _jsx(Loader, { size: 26, color: formStyle.primaryColor }, void 0) }), void 0));
92
+ return (_jsx("div", __assign({ className: styles.loaderContainer }, { children: _jsx(Loader, { size: 26, color: formStyle.primaryColor }) })));
93
93
  }
94
94
  else if (file.state !== undefined) {
95
95
  switch (file.state) {
96
96
  case 'STARTING':
97
97
  case 'UPLOADING':
98
- return (_jsx("div", __assign({ className: styles.loaderContainer }, { children: _jsx(Loader, { size: 26, color: formStyle.primaryColor }, void 0) }), void 0));
98
+ return (_jsx("div", __assign({ className: styles.loaderContainer }, { children: _jsx(Loader, { size: 26, color: formStyle.primaryColor }) })));
99
99
  case 'DONE':
100
- return (_jsx("div", __assign({ className: styles.documentIcon, style: { color: formStyle.primaryColor } }, { children: _jsx(DescriptionRoundedIcon, {}, void 0) }), void 0));
100
+ return (_jsx("div", __assign({ className: styles.documentIcon, style: { color: formStyle.primaryColor } }, { children: _jsx(DescriptionRoundedIcon, {}) })));
101
101
  case 'ERROR':
102
- return (_jsx("div", __assign({ className: styles.documentIcon, style: { color: formStyle.errorColor } }, { children: _jsx(ErrorRoundedIcon, {}, void 0) }), void 0));
102
+ return (_jsx("div", __assign({ className: styles.documentIcon, style: { color: formStyle.errorColor } }, { children: _jsx(ErrorRoundedIcon, {}) })));
103
103
  default:
104
- return _jsx("div", {}, void 0);
104
+ return _jsx("div", {});
105
105
  }
106
106
  }
107
107
  else {
108
- return (_jsx("div", __assign({ className: styles.documentIcon, style: { color: formStyle.primaryColor } }, { children: _jsx(DescriptionRoundedIcon, {}, void 0) }), void 0));
108
+ return (_jsx("div", __assign({ className: styles.documentIcon, style: { color: formStyle.primaryColor } }, { children: _jsx(DescriptionRoundedIcon, {}) })));
109
109
  }
110
110
  };
111
- return (_jsxs("div", __assign({ className: styles.container }, { children: [_jsx("div", __assign({ className: styles.iconContainer }, { children: calcIcon() }), void 0), _jsx("div", __assign({ className: fetchDownloadUrl && file.S3Key
111
+ return (_jsxs("div", __assign({ className: styles.container }, { children: [_jsx("div", __assign({ className: styles.iconContainer }, { children: calcIcon() })), _jsx("div", __assign({ className: fetchDownloadUrl && file.S3Key
112
112
  ? styles.downloadableLbl
113
113
  : styles.label, style: {
114
114
  color: error ? formStyle.errorColor : formStyle.textColor,
@@ -116,8 +116,8 @@ function FileUploadComponent(_a) {
116
116
  if (fetchDownloadUrl !== undefined && file.S3Key) {
117
117
  downloadFile();
118
118
  }
119
- } }, { children: (_c = (_b = file.file) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : file.fileName }), void 0), _jsx("div", __assign({ className: styles.deletBtn, onClick: function () {
119
+ } }, { children: (_c = (_b = file.file) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : file.fileName })), _jsx("div", __assign({ className: styles.deletBtn, onClick: function () {
120
120
  handleRemove();
121
- } }, { children: file.state !== undefined && (_jsx(ClearRoundedIcon, { fontSize: "inherit" }, void 0)) }), void 0)] }), void 0));
121
+ } }, { children: file.state !== undefined && (_jsx(ClearRoundedIcon, { fontSize: "inherit" })) }))] })));
122
122
  }
123
123
  export default FileUploadComponent;
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -191,7 +191,7 @@ function FileUploadStep(_a) {
191
191
  return '';
192
192
  };
193
193
  return (_jsxs("div", __assign({ className: styles.container +
194
- (error || !!errors[step.id] ? ' EF-error' : ''), "data-testid": step.id }, { children: [_jsx("div", __assign({ className: styles.labelLabel }, { children: step.label }), void 0), step.description && (_jsx("div", __assign({ className: styles.stepDescriptionLabel, style: { color: formStyle.descriptionTextColor } }, { children: step.description }), void 0)), _jsx("input", { type: "file", ref: inputRef, className: styles.filesInput, onChange: function (e) {
194
+ (error || !!errors[step.id] ? ' EF-error' : ''), "data-testid": step.id }, { children: [_jsx("div", __assign({ className: styles.labelLabel }, { children: step.label })), step.description && (_jsx("div", __assign({ className: styles.stepDescriptionLabel, style: { color: formStyle.descriptionTextColor } }, { children: step.description }))), _jsx("input", { type: "file", ref: inputRef, className: styles.filesInput, onChange: function (e) {
195
195
  var files = e.target.files;
196
196
  if (files) {
197
197
  var filesArray = Array.from(files);
@@ -217,7 +217,7 @@ function FileUploadStep(_a) {
217
217
  }
218
218
  inputRef.current.value = '';
219
219
  }
220
- }, multiple: true, accept: getAcceptedExtensions() }, void 0), _jsxs("div", __assign({ className: styles.btnContainer }, { children: [_jsx("input", { ref: btnRef, className: styles.hiddenInput }, void 0), _jsx(RoundedButton, { disabled: !editable || postview, text: 'Examinar' + (step.required ? ' *' : ''), color: formStyle.primaryContrastColor, backgroundColor: formStyle.primaryColor, fontSize: '1rem', padding: '5px 15px 5px 15px', onClick: function () {
220
+ }, multiple: true, accept: getAcceptedExtensions() }), _jsxs("div", __assign({ className: styles.btnContainer }, { children: [_jsx("input", { ref: btnRef, className: styles.hiddenInput }), _jsx(RoundedButton, { disabled: !editable || postview, text: 'Examinar' + (step.required ? ' *' : ''), color: formStyle.primaryContrastColor, backgroundColor: formStyle.primaryColor, fontSize: '1rem', padding: '5px 15px 5px 15px', onClick: function () {
221
221
  if (editable && !postview) {
222
222
  var input = inputRef.current;
223
223
  if (input !== null) {
@@ -226,7 +226,7 @@ function FileUploadStep(_a) {
226
226
  input.click();
227
227
  }
228
228
  }
229
- } }, void 0)] }), void 0), _jsx("div", __assign({ className: styles.filesContainer }, { children: value.map(function (file, index) { return (_jsx(FileComponent, { formStyle: formStyle, file: file, error: (!!errors[step.id] &&
229
+ } })] })), _jsx("div", __assign({ className: styles.filesContainer }, { children: value.map(function (file, index) { return (_jsx(FileComponent, { formStyle: formStyle, file: file, error: (!!errors[step.id] &&
230
230
  file.state !== 'DONE') ||
231
231
  file.state === 'ERROR', handleRemove: function () {
232
232
  if (value.filter(function (val) {
@@ -240,7 +240,7 @@ function FileUploadStep(_a) {
240
240
  __assign(__assign({}, file), { state: 'CANCEL' }),
241
241
  ]);
242
242
  }
243
- }, fetchDownloadUrl: fetchDownloadUrl }, index)); }) }), void 0), _jsx("div", __assign({ className: styles.errorMsg, style: { color: formStyle.errorColor } }, { children: error !== null && error !== void 0 ? error : calcErrorMsg() }), void 0)] }), void 0));
243
+ }, fetchDownloadUrl: fetchDownloadUrl }, index)); }) })), _jsx("div", __assign({ className: styles.errorMsg, style: { color: formStyle.errorColor } }, { children: error !== null && error !== void 0 ? error : calcErrorMsg() }))] })));
244
244
  }
245
245
  function UploadStepComponent(props) {
246
246
  return (_jsx(Controller, { name: props.step.id, control: props.control, defaultValue: [], rules: {
@@ -251,7 +251,7 @@ function UploadStepComponent(props) {
251
251
  },
252
252
  }, shouldUnregister: true, render: function (_a) {
253
253
  var field = _a.field;
254
- return (_jsx(FileUploadStep, __assign({}, props, { btnRef: field.ref, onChange: field.onChange, value: field.value }), void 0));
255
- } }, void 0));
254
+ return (_jsx(FileUploadStep, __assign({}, props, { btnRef: field.ref, onChange: field.onChange, value: field.value })));
255
+ } }));
256
256
  }
257
257
  export default UploadStepComponent;
@@ -44,19 +44,19 @@ function MaterialRatingStep(_a) {
44
44
  return (_jsx(React.Fragment, { children: currentOption.map(function (idSubStep, index) {
45
45
  var subStep = form.steps[idSubStep];
46
46
  return (_createElement(StepComponent, __assign({}, others, { form: form, postview: postview, editable: editable, formStyle: formStyle, errors: errors, widthStats: widthStats, step: subStep, key: index, level: level + 1 })));
47
- }) }, void 0));
47
+ }) }));
48
48
  }
49
49
  }
50
50
  };
51
51
  return (_jsxs(React.Fragment, { children: [_jsxs("div", __assign({ className: styles.container, style: {
52
52
  paddingBottom: step.description || step.required ? 0 : 15,
53
- } }, { children: [_jsx("div", __assign({ className: styles.labelLabel }, { children: step.label + (step.required ? ' *' : '') }), void 0), _jsx("div", __assign({ className: styles.ratingContainer }, { children: _jsx(Rating, { name: step.id, type: step.ratingType, isMobile: widthStats.isMobile, focusColor: (_b = formStyle.primaryColor) !== null && _b !== void 0 ? _b : '#3d5a7f', unSelectedColor: (_c = formStyle.outlineColor) !== null && _c !== void 0 ? _c : '#b8b8b8', disabled: !editable || postview, value: value, onChange: onChange, inputRef: inputRef }, void 0) }), void 0), (step.description || step.required) && (_jsx("div", __assign({ className: styles.stepDescriptionLabel, style: {
53
+ } }, { children: [_jsx("div", __assign({ className: styles.labelLabel }, { children: step.label + (step.required ? ' *' : '') })), _jsx("div", __assign({ className: styles.ratingContainer }, { children: _jsx(Rating, { name: step.id, type: step.ratingType, isMobile: widthStats.isMobile, focusColor: (_b = formStyle.primaryColor) !== null && _b !== void 0 ? _b : '#3d5a7f', unSelectedColor: (_c = formStyle.outlineColor) !== null && _c !== void 0 ? _c : '#b8b8b8', disabled: !editable || postview, value: value, onChange: onChange, inputRef: inputRef }) })), (step.description || step.required) && (_jsx("div", __assign({ className: styles.stepDescriptionLabel, style: {
54
54
  color: !!errors[step.id] && value === null
55
55
  ? (_d = formStyle.errorColor) !== null && _d !== void 0 ? _d : '#cc2936'
56
56
  : (_e = formStyle.descriptionTextColor) !== null && _e !== void 0 ? _e : '#989898',
57
57
  } }, { children: !!errors[step.id] && value === null
58
58
  ? (_f = errors[step.id]) === null || _f === void 0 ? void 0 : _f.message
59
- : step.description }), void 0))] }), void 0), renderNestedOption()] }, void 0));
59
+ : step.description })))] })), renderNestedOption()] }));
60
60
  }
61
61
  function RatingStep(props) {
62
62
  return (_jsx(Controller, { name: props.step.id, control: props.control, defaultValue: null, rules: {
@@ -65,7 +65,7 @@ function RatingStep(props) {
65
65
  : undefined,
66
66
  }, shouldUnregister: true, render: function (_a) {
67
67
  var field = _a.field;
68
- return (_jsx(MaterialRatingStep, __assign({}, props, { inputRef: field.ref, value: field.value, onChange: field.onChange }), void 0));
69
- } }, void 0));
68
+ return (_jsx(MaterialRatingStep, __assign({}, props, { inputRef: field.ref, value: field.value, onChange: field.onChange })));
69
+ } }));
70
70
  }
71
71
  export default RatingStep;
@@ -15,10 +15,10 @@ import MaterialRatingStep from './MaterialRatingStep/MaterialRatingStep';
15
15
  function RatingStep(props) {
16
16
  switch (props.formStyle.type) {
17
17
  case FormStyleTypes.MATERIAL: {
18
- return _jsx(MaterialRatingStep, __assign({}, props), void 0);
18
+ return _jsx(MaterialRatingStep, __assign({}, props));
19
19
  }
20
20
  default: {
21
- return _jsx(MaterialRatingStep, __assign({}, props), void 0);
21
+ return _jsx(MaterialRatingStep, __assign({}, props));
22
22
  }
23
23
  }
24
24
  }
@@ -53,7 +53,7 @@ function Selector(_a) {
53
53
  return (option === null || option === void 0 ? void 0 : option.value) === (value === null || value === void 0 ? void 0 : value.value);
54
54
  }, helperText: errors[step.id]
55
55
  ? errors[step.id].message
56
- : step.description, error: !!errors[step.id] }, void 0) }), void 0));
56
+ : step.description, error: !!errors[step.id] }) })));
57
57
  };
58
58
  var mapNestedOption = function () {
59
59
  var currentOptionIndex = null;
@@ -72,7 +72,7 @@ function Selector(_a) {
72
72
  return (_createElement(StepComponent, __assign({}, others, { postview: postview, editable: editable, formStyle: formStyle, form: form, getValues: getValues, errors: errors, control: control, widthStats: widthStats, step: subStep, key: index, level: level + 1, handleSizeChange: function () {
73
73
  sizeChange();
74
74
  } })));
75
- }) }, void 0));
75
+ }) }));
76
76
  }
77
77
  };
78
78
  if (level === 0 && step.maxSize < form.size.blockNum) {
@@ -82,10 +82,10 @@ function Selector(_a) {
82
82
  : 'fit-content',
83
83
  } }, { children: [renderSelect(), mapNestedOption(), level === 0 && step.maxSize < form.size.blockNum && (_jsx("div", { className: styles.smallSeparator, style: {
84
84
  width: fillerSize,
85
- } }, void 0))] }), void 0));
85
+ } }))] })));
86
86
  }
87
87
  else {
88
- return (_jsxs(React.Fragment, { children: [renderSelect(), mapNestedOption(), level === 0 && _jsx("div", { className: styles.separator }, void 0)] }, void 0));
88
+ return (_jsxs(React.Fragment, { children: [renderSelect(), mapNestedOption(), level === 0 && _jsx("div", { className: styles.separator })] }));
89
89
  }
90
90
  }
91
91
  function SelectorStep(props) {
@@ -95,7 +95,7 @@ function SelectorStep(props) {
95
95
  : undefined,
96
96
  }, shouldUnregister: true, render: function (_a) {
97
97
  var field = _a.field;
98
- return (_jsx(Selector, __assign({}, props, { inputRef: field.ref, value: field.value, onChange: field.onChange, onBlur: field.onBlur }), void 0));
99
- } }, void 0));
98
+ return (_jsx(Selector, __assign({}, props, { inputRef: field.ref, value: field.value, onChange: field.onChange, onBlur: field.onBlur })));
99
+ } }));
100
100
  }
101
101
  export default SelectorStep;
@@ -27,10 +27,10 @@ function SelectorStep(_a) {
27
27
  var formStyle = _a.formStyle, others = __rest(_a, ["formStyle"]);
28
28
  switch (formStyle.type) {
29
29
  case FormStyleTypes.MATERIAL: {
30
- return _jsx(MaterialSelectorStep, __assign({ formStyle: formStyle }, others), void 0);
30
+ return _jsx(MaterialSelectorStep, __assign({ formStyle: formStyle }, others));
31
31
  }
32
32
  default: {
33
- return _jsx(MaterialSelectorStep, __assign({ formStyle: formStyle }, others), void 0);
33
+ return _jsx(MaterialSelectorStep, __assign({ formStyle: formStyle }, others));
34
34
  }
35
35
  }
36
36
  }
@@ -6,6 +6,6 @@ function SeparatorStep(_a) {
6
6
  backgroundColor: step.transparent
7
7
  ? 'transparent'
8
8
  : formStyle.primaryColor,
9
- } }, void 0));
9
+ } }));
10
10
  }
11
11
  export default SeparatorStep;
@@ -27,10 +27,10 @@ function SeparatorStep(_a) {
27
27
  var step = _a.step, formStyle = _a.formStyle, others = __rest(_a, ["step", "formStyle"]);
28
28
  switch (formStyle.type) {
29
29
  case FormStyleTypes.MATERIAL: {
30
- return (_jsx(MaterialSeparatorStep, __assign({ step: step, formStyle: formStyle }, others), void 0));
30
+ return (_jsx(MaterialSeparatorStep, __assign({ step: step, formStyle: formStyle }, others)));
31
31
  }
32
32
  default: {
33
- return (_jsx(MaterialSeparatorStep, __assign({ step: step, formStyle: formStyle }, others), void 0));
33
+ return (_jsx(MaterialSeparatorStep, __assign({ step: step, formStyle: formStyle }, others)));
34
34
  }
35
35
  }
36
36
  }
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -189,11 +189,11 @@ function SmartSelect(_a) {
189
189
  ? errors[step.id].message
190
190
  : step.description), error: error !== undefined ||
191
191
  (warning !== undefined && warning !== null) ||
192
- !!errors[step.id] }, void 0) }), void 0), children &&
192
+ !!errors[step.id] }) })), children &&
193
193
  cloneElement(children, {
194
194
  value: value,
195
195
  stepProps: __assign({ step: step, form: form, errors: errors, trigger: trigger, postview: postview, editable: editable, formStyle: formStyle, widthStats: widthStats, organization: organization, originalValues: originalValues, dependencyStore: dependencyStore, setDependencyStore: setDependencyStore }, others),
196
- })] }, void 0));
196
+ })] }));
197
197
  }
198
198
  function SmartSelectStep(props) {
199
199
  var _a;
@@ -203,7 +203,7 @@ function SmartSelectStep(props) {
203
203
  : undefined,
204
204
  }, shouldUnregister: true, render: function (_a) {
205
205
  var field = _a.field;
206
- return (_jsx(SmartSelect, __assign({}, props, { inputRef: field.ref, value: field.value, onChange: field.onChange, onBlur: field.onBlur }), void 0));
207
- } }, void 0));
206
+ return (_jsx(SmartSelect, __assign({}, props, { inputRef: field.ref, value: field.value, onChange: field.onChange, onBlur: field.onBlur })));
207
+ } }));
208
208
  }
209
209
  export default SmartSelectStep;
@@ -15,10 +15,10 @@ import MaterialSmartSelectStep from './MaterialSmartSelectStep/MaterialSmartSele
15
15
  function SmartSelectStep(props) {
16
16
  switch (props.formStyle.type) {
17
17
  case FormStyleTypes.MATERIAL: {
18
- return _jsx(MaterialSmartSelectStep, __assign({}, props), void 0);
18
+ return _jsx(MaterialSmartSelectStep, __assign({}, props));
19
19
  }
20
20
  default: {
21
- return _jsx(MaterialSmartSelectStep, __assign({}, props), void 0);
21
+ return _jsx(MaterialSmartSelectStep, __assign({}, props));
22
22
  }
23
23
  }
24
24
  }