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.
- package/dist/components/organisms/InputGroup/index.js +3 -10
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +678 -89
- package/dist/components/pages/ProviderProductEdition/index.js +16 -17
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +151 -79
- package/dist/components/pages/RetailerProductEdition/index.js +7 -5
- package/package.json +1 -1
- package/src/components/organisms/InputGroup/index.js +3 -3
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +719 -103
- package/src/components/pages/ProviderProductEdition/index.js +3 -4
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +165 -86
- package/src/components/pages/RetailerProductEdition/index.js +6 -4
|
@@ -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
|
|
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
|
|
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" &&
|
|
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",
|