contentoh-components-library 21.5.39 → 21.5.41

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.
@@ -36,7 +36,7 @@ var _system = require("@mui/system");
36
36
  var _jsxRuntime = require("react/jsx-runtime");
37
37
 
38
38
  var InputGroup = function InputGroup(_ref) {
39
- var _activeRetailer$retai3, _inputGroup$inputs, _activeRetailer$retai4, _inputGroup$inputs2;
39
+ var _inputGroup$inputs, _inputGroup$inputs2;
40
40
 
41
41
  var _ref$inputGroup = _ref.inputGroup,
42
42
  inputGroup = _ref$inputGroup === void 0 ? {} : _ref$inputGroup,
@@ -175,14 +175,7 @@ var InputGroup = function InputGroup(_ref) {
175
175
  }
176
176
  }, [activeRetailer, inputGroup.groupId]);
177
177
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
178
- children: [inputGroup.groupId === "16" && (activeRetailer === null || activeRetailer === void 0 ? void 0 : (_activeRetailer$retai3 = activeRetailer.retailer) === null || _activeRetailer$retai3 === void 0 ? void 0 : _activeRetailer$retai3.id) === 68 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
179
- className: activeSection === "Ficha técnica" ? "datasheets-layout" : "descriptions-layout",
180
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Box.Box, {
181
- inputGroup: inputGroup,
182
- dataInputs: dataInputs,
183
- onChange: setUpdatedBoxData
184
- })
185
- }), inputGroup.groupId !== "16" && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
178
+ children: [inputGroup.groupId !== "16" && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
186
179
  className: activeSection === "Ficha técnica" ? "datasheets-layout" : "descriptions-layout",
187
180
  children: [(inputGroup === null || inputGroup === void 0 ? void 0 : inputGroup.dataGroup) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
188
181
  headerType: "retailer-name-header",
@@ -252,7 +245,7 @@ var InputGroup = function InputGroup(_ref) {
252
245
  });
253
246
  })
254
247
  })]
255
- }), inputGroup.groupId === "16" && (activeRetailer === null || activeRetailer === void 0 ? void 0 : (_activeRetailer$retai4 = activeRetailer.retailer) === null || _activeRetailer$retai4 === void 0 ? void 0 : _activeRetailer$retai4.id) === 74 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
248
+ }), inputGroup.groupId === "16" && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
256
249
  className: activeSection === "Ficha técnica" ? "datasheets-layout" : "descriptions-layout",
257
250
  children: [(inputGroup === null || inputGroup === void 0 ? void 0 : inputGroup.dataGroup) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
258
251
  headerType: "retailer-name-header",