contentoh-components-library 21.4.49 → 21.4.51
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/molecules/BoxAttribute/index.js +50 -20
- package/dist/components/molecules/BoxAttribute/styles.js +1 -1
- package/dist/components/molecules/BoxButtons/index.js +0 -3
- package/dist/components/organisms/Box/index.js +2 -2
- package/dist/components/organisms/BoxOnboarding/index.js +3 -1
- package/dist/components/organisms/InputGroup/index.js +1 -2
- package/dist/components/pages/ProviderProductEdition/index.js +0 -2
- package/package.json +1 -1
- package/src/components/molecules/BoxAttribute/index.js +29 -20
- package/src/components/molecules/BoxAttribute/styles.js +6 -0
- package/src/components/molecules/BoxButtons/index.js +1 -2
- package/src/components/organisms/Box/index.js +2 -2
- package/src/components/organisms/BoxOnboarding/index.js +2 -0
- package/src/components/organisms/InputGroup/index.js +1 -2
- package/src/components/pages/ProviderProductEdition/index.js +0 -2
- package/src/components/pages/ProviderProductEdition/out.json +0 -0
- package/src/components/pages/ProviderProductEdition/out2.json +0 -0
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
4
|
|
|
5
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
|
+
|
|
5
7
|
Object.defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
8
10
|
exports.BoxAttribute = void 0;
|
|
9
11
|
|
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
13
|
+
|
|
10
14
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/defineProperty"));
|
|
11
15
|
|
|
12
16
|
var _objectSpread3 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
@@ -15,12 +19,18 @@ var _styles = require("./styles");
|
|
|
15
19
|
|
|
16
20
|
var _info = _interopRequireDefault(require("../../../assets/images/Icons/info.svg"));
|
|
17
21
|
|
|
18
|
-
var _Tooltip = require("../../atoms/Tooltip");
|
|
19
|
-
|
|
20
22
|
var _TextField = _interopRequireDefault(require("@mui/material/TextField"));
|
|
21
23
|
|
|
24
|
+
var _Tooltip = _interopRequireWildcard(require("@mui/material/Tooltip"));
|
|
25
|
+
|
|
26
|
+
var _styles2 = require("@mui/material/styles");
|
|
27
|
+
|
|
28
|
+
var _variables = require("../../../global-files/variables");
|
|
29
|
+
|
|
22
30
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
31
|
|
|
32
|
+
var _excluded = ["className"];
|
|
33
|
+
|
|
24
34
|
var BoxAttribute = function BoxAttribute(props) {
|
|
25
35
|
// console.log({ props });
|
|
26
36
|
var id = props.id,
|
|
@@ -28,10 +38,10 @@ var BoxAttribute = function BoxAttribute(props) {
|
|
|
28
38
|
className = props.className,
|
|
29
39
|
text = props.text,
|
|
30
40
|
borderType = props.borderType,
|
|
31
|
-
titletool = props.titletool,
|
|
32
|
-
texttool = props.texttool,
|
|
33
41
|
atributos = props.atributos,
|
|
34
|
-
setAtributos = props.setAtributos
|
|
42
|
+
setAtributos = props.setAtributos,
|
|
43
|
+
required = props.required,
|
|
44
|
+
description = props.description;
|
|
35
45
|
|
|
36
46
|
var handleInputChange = function handleInputChange(event) {
|
|
37
47
|
var _event$target = event.target,
|
|
@@ -42,10 +52,29 @@ var BoxAttribute = function BoxAttribute(props) {
|
|
|
42
52
|
});
|
|
43
53
|
};
|
|
44
54
|
|
|
55
|
+
var LightTooltip = (0, _styles2.styled)(function (_ref) {
|
|
56
|
+
var className = _ref.className,
|
|
57
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
58
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip.default, (0, _objectSpread3.default)((0, _objectSpread3.default)({}, props), {}, {
|
|
59
|
+
classes: {
|
|
60
|
+
popper: className
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
})(function (_ref2) {
|
|
64
|
+
var theme = _ref2.theme;
|
|
65
|
+
return (0, _defineProperty2.default)({}, "& .".concat(_Tooltip.tooltipClasses.tooltip), {
|
|
66
|
+
backgroundColor: _variables.GlobalColors.white,
|
|
67
|
+
color: 'rgba(0, 0, 0, 0.87)',
|
|
68
|
+
boxShadow: theme.shadows[1],
|
|
69
|
+
fontSize: 11,
|
|
70
|
+
fontFamily: "".concat(_variables.FontFamily.Roboto, ", sans-serif")
|
|
71
|
+
});
|
|
72
|
+
});
|
|
45
73
|
var formattedData = Object.keys(atributos).reduce(function (result, id) {
|
|
46
74
|
result["box".concat(id)] = atributos[id];
|
|
47
75
|
return result;
|
|
48
|
-
}, {});
|
|
76
|
+
}, {});
|
|
77
|
+
console.log("description", description); //escucha los cambios
|
|
49
78
|
// console.log(formattedData);
|
|
50
79
|
// console.log("atributos id", atributos[props.id]);
|
|
51
80
|
|
|
@@ -54,15 +83,13 @@ var BoxAttribute = function BoxAttribute(props) {
|
|
|
54
83
|
id: id,
|
|
55
84
|
className: className,
|
|
56
85
|
borderType: borderType,
|
|
57
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
})
|
|
64
|
-
children: texttool
|
|
65
|
-
})]
|
|
86
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(LightTooltip, {
|
|
87
|
+
title: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
88
|
+
className: "container-tooltip",
|
|
89
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
90
|
+
className: "container-tooltip",
|
|
91
|
+
children: description
|
|
92
|
+
})
|
|
66
93
|
}),
|
|
67
94
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
68
95
|
className: "",
|
|
@@ -71,10 +98,12 @@ var BoxAttribute = function BoxAttribute(props) {
|
|
|
71
98
|
src: _info.default,
|
|
72
99
|
alt: "iconInfo"
|
|
73
100
|
})
|
|
74
|
-
})
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
101
|
+
})
|
|
102
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
103
|
+
children: [text, /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
104
|
+
className: required ? 'required-text' : '',
|
|
105
|
+
children: required ? '*' : ''
|
|
106
|
+
})]
|
|
78
107
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextField.default, {
|
|
79
108
|
hiddenLabel: true,
|
|
80
109
|
name: props.id,
|
|
@@ -83,7 +112,8 @@ var BoxAttribute = function BoxAttribute(props) {
|
|
|
83
112
|
className: "caja-borde",
|
|
84
113
|
variant: "outlined",
|
|
85
114
|
size: "small",
|
|
86
|
-
type: "number"
|
|
115
|
+
type: "number",
|
|
116
|
+
required: required
|
|
87
117
|
}, props.id)]
|
|
88
118
|
}, key)
|
|
89
119
|
});
|
|
@@ -15,7 +15,7 @@ var _variables = require("../../../global-files/variables");
|
|
|
15
15
|
|
|
16
16
|
var _templateObject;
|
|
17
17
|
|
|
18
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n gap:4px;\n #atr-alto {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n .caja-borde {\n font-family: ", ", sans-serif;\n font-size: 12px;\n line-height: 1.2;\n border-radius: ", ";\n }\n span {\n font-family: ", ", sans-serif;\n font-size: 12px;\n line-height: 1.2;\n font-weight: 600;\n }\n .icon {\n width: 8px;\n height: 8px;\n }\n"])), _variables.FontFamily.RobotoMedium, function (_ref) {
|
|
18
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n gap:4px;\n #atr-alto {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n .caja-borde {\n font-family: ", ", sans-serif;\n font-size: 12px;\n line-height: 1.2;\n border-radius: ", ";\n }\n span {\n font-family: ", ", sans-serif;\n font-size: 12px;\n line-height: 1.2;\n font-weight: 600;\n }\n .icon {\n width: 8px;\n height: 8px;\n }\n .required-text {\n color: red;\n }\n\n\n \n"])), _variables.FontFamily.RobotoMedium, function (_ref) {
|
|
19
19
|
var borderType = _ref.borderType;
|
|
20
20
|
return (borderType === null || borderType === void 0 ? void 0 : borderType.toLowerCase()) === "rectangle" ? "5px" : (borderType === null || borderType === void 0 ? void 0 : borderType.toLowerCase()) === "circle" ? "50%" : "none";
|
|
21
21
|
}, _variables.FontFamily.RobotoMedium);
|
|
@@ -16,10 +16,7 @@ var BoxButtons = function BoxButtons(_ref) {
|
|
|
16
16
|
onAdd = _ref.onAdd,
|
|
17
17
|
onDelete = _ref.onDelete,
|
|
18
18
|
isTheFirstBox = _ref.isTheFirstBox,
|
|
19
|
-
onToggleEdit = _ref.onToggleEdit,
|
|
20
|
-
isEditEnabled = _ref.isEditEnabled,
|
|
21
19
|
index = _ref.index;
|
|
22
|
-
console.log("index", index);
|
|
23
20
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
24
21
|
index: index,
|
|
25
22
|
children: [!isTheFirstBox && /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Button, {
|
|
@@ -51,8 +51,8 @@ var Box = function Box(_ref) {
|
|
|
51
51
|
setBoxOnboardingList = _useState6[1];
|
|
52
52
|
|
|
53
53
|
(0, _react.useEffect)(function () {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
console.log("dataInputs:", dataInputs);
|
|
55
|
+
console.log("inputGroup:", inputGroup);
|
|
56
56
|
var temp = {};
|
|
57
57
|
var maxBoxId = 0;
|
|
58
58
|
inputGroup.inputs.forEach(function (attrId) {
|
|
@@ -58,13 +58,15 @@ var BoxOnboarding = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
58
58
|
fontFamily: _variables.FontFamily.Raleway,
|
|
59
59
|
children: ["Caja ", index + 1]
|
|
60
60
|
}), inputs.map(function (attrId) {
|
|
61
|
-
var _dataInputs$attrId;
|
|
61
|
+
var _dataInputs$attrId, _dataInputs$attrId2, _dataInputs$attrId3;
|
|
62
62
|
|
|
63
63
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BoxAttribute.BoxAttribute, {
|
|
64
64
|
id: attrId,
|
|
65
65
|
borderType: "rectangle",
|
|
66
66
|
className: "caja",
|
|
67
67
|
text: (_dataInputs$attrId = dataInputs[attrId]) === null || _dataInputs$attrId === void 0 ? void 0 : _dataInputs$attrId.name,
|
|
68
|
+
required: (_dataInputs$attrId2 = dataInputs[attrId]) === null || _dataInputs$attrId2 === void 0 ? void 0 : _dataInputs$attrId2.required,
|
|
69
|
+
description: (_dataInputs$attrId3 = dataInputs[attrId]) === null || _dataInputs$attrId3 === void 0 ? void 0 : _dataInputs$attrId3.description,
|
|
68
70
|
atributos: atributos,
|
|
69
71
|
setAtributos: setAtributos
|
|
70
72
|
}, attrId);
|
|
@@ -73,7 +73,6 @@ var InputGroup = function InputGroup(_ref) {
|
|
|
73
73
|
|
|
74
74
|
var isEquals = function isEquals(dataInputsVal, auditInputsVal) {
|
|
75
75
|
var result = dataInputsVal === auditInputsVal;
|
|
76
|
-
console.log("Input Val", dataInputsVal);
|
|
77
76
|
return result;
|
|
78
77
|
};
|
|
79
78
|
|
|
@@ -82,7 +81,7 @@ var InputGroup = function InputGroup(_ref) {
|
|
|
82
81
|
className: activeSection === "Ficha técnica" ? "datasheets-layout" : "descriptions-layout",
|
|
83
82
|
children: [(inputGroup === null || inputGroup === void 0 ? void 0 : inputGroup.dataGroup) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
84
83
|
headerType: "retailer-name-header",
|
|
85
|
-
text: "".concat(inputGroup
|
|
84
|
+
text: "".concat(inputGroup === null || inputGroup === void 0 ? void 0 : inputGroup.dataGroup)
|
|
86
85
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
87
86
|
className: "inputs-container",
|
|
88
87
|
children: inputGroup === null || inputGroup === void 0 ? void 0 : (_inputGroup$inputs = inputGroup.inputs) === null || _inputGroup$inputs === void 0 ? void 0 : _inputGroup$inputs.map(function (input, index) {
|
|
@@ -1090,7 +1090,6 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
1090
1090
|
|
|
1091
1091
|
if ((_services$0$activeRet = services[0][activeRetailer.id]) !== null && _services$0$activeRet !== void 0 && _services$0$activeRet.data) services[0][activeRetailer.id].data = Object.values(services[0][activeRetailer.id].data);
|
|
1092
1092
|
setActivePercentage(Math.round(activeRetailer === null || activeRetailer === void 0 ? void 0 : activeRetailer.percentage, 0));
|
|
1093
|
-
console.log("loadInputs: ", services[0]);
|
|
1094
1093
|
var datagroups = services[0][activeRetailer.id];
|
|
1095
1094
|
var inputs = (_services$2 = services[0]) === null || _services$2 === void 0 ? void 0 : _services$2.inputs;
|
|
1096
1095
|
|
|
@@ -2228,7 +2227,6 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
2228
2227
|
isShowbox: true,
|
|
2229
2228
|
groupData: services[0][activeRetailer.id].data,
|
|
2230
2229
|
setUpdatedBoxData: function setUpdatedBoxData(e) {
|
|
2231
|
-
console.log("UNO", e);
|
|
2232
2230
|
setBoxData(e);
|
|
2233
2231
|
},
|
|
2234
2232
|
index: index //enableActions={enableActions(product.version_status)} ADD THIS VALIDATION
|
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
2
|
import IconInfo from "../../../assets/images/Icons/info.svg";
|
|
3
|
-
import { Tooltip } from "../../atoms/Tooltip";
|
|
4
3
|
import TextField from "@mui/material/TextField";
|
|
4
|
+
import Tooltip, { tooltipClasses } from '@mui/material/Tooltip';
|
|
5
|
+
import { styled } from '@mui/material/styles';
|
|
6
|
+
import { FontFamily, GlobalColors } from "../../../global-files/variables";
|
|
5
7
|
|
|
6
8
|
export const BoxAttribute = (props) => {
|
|
7
9
|
// console.log({ props });
|
|
@@ -11,10 +13,10 @@ export const BoxAttribute = (props) => {
|
|
|
11
13
|
className,
|
|
12
14
|
text,
|
|
13
15
|
borderType,
|
|
14
|
-
titletool,
|
|
15
|
-
texttool,
|
|
16
16
|
atributos,
|
|
17
17
|
setAtributos,
|
|
18
|
+
required,
|
|
19
|
+
description,
|
|
18
20
|
} = props;
|
|
19
21
|
const handleInputChange = (event) => {
|
|
20
22
|
const { name, value } = event.target;
|
|
@@ -23,11 +25,23 @@ export const BoxAttribute = (props) => {
|
|
|
23
25
|
[name]: value,
|
|
24
26
|
}));
|
|
25
27
|
};
|
|
28
|
+
const LightTooltip = styled(({ className, ...props }) => (
|
|
29
|
+
<Tooltip {...props} classes={{ popper: className }} />
|
|
30
|
+
))(({ theme }) => ({
|
|
31
|
+
[`& .${tooltipClasses.tooltip}`]: {
|
|
32
|
+
backgroundColor: GlobalColors.white,
|
|
33
|
+
color: 'rgba(0, 0, 0, 0.87)',
|
|
34
|
+
boxShadow: theme.shadows[1],
|
|
35
|
+
fontSize: 11,
|
|
36
|
+
fontFamily: `${FontFamily.Roboto}, sans-serif`,
|
|
37
|
+
},
|
|
38
|
+
}));
|
|
26
39
|
|
|
27
40
|
const formattedData = Object.keys(atributos).reduce((result, id) => {
|
|
28
41
|
result[`box${id}`] = atributos[id];
|
|
29
42
|
return result;
|
|
30
43
|
}, {});
|
|
44
|
+
console.log("description",description)
|
|
31
45
|
//escucha los cambios
|
|
32
46
|
// console.log(formattedData);
|
|
33
47
|
// console.log("atributos id", atributos[props.id]);
|
|
@@ -39,23 +53,17 @@ export const BoxAttribute = (props) => {
|
|
|
39
53
|
className={className}
|
|
40
54
|
borderType={borderType}
|
|
41
55
|
>
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<img className="icon" src={IconInfo} alt="iconInfo" />
|
|
54
|
-
</Container>
|
|
55
|
-
}
|
|
56
|
-
classNameTooltip={"container-tooltip"}
|
|
57
|
-
/>
|
|
58
|
-
<span>{text}</span>
|
|
56
|
+
<LightTooltip title={
|
|
57
|
+
<div className="container-tooltip">
|
|
58
|
+
<p className="container-tooltip">{description}</p>
|
|
59
|
+
</div>
|
|
60
|
+
}>
|
|
61
|
+
<Container className="">
|
|
62
|
+
<img className="icon" src={IconInfo} alt="iconInfo" />
|
|
63
|
+
</Container>
|
|
64
|
+
</LightTooltip>
|
|
65
|
+
|
|
66
|
+
<span>{text}<span className={required ? 'required-text' : ''}>{required ? '*' : ''}</span></span>
|
|
59
67
|
<TextField
|
|
60
68
|
hiddenLabel
|
|
61
69
|
key={props.id}
|
|
@@ -66,6 +74,7 @@ export const BoxAttribute = (props) => {
|
|
|
66
74
|
variant="outlined"
|
|
67
75
|
size="small"
|
|
68
76
|
type="number"
|
|
77
|
+
required={required}
|
|
69
78
|
/>
|
|
70
79
|
</Container>
|
|
71
80
|
</>
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Container, ContainerIcon } from "./styles";
|
|
2
2
|
import { Button } from "@mui/material";
|
|
3
3
|
|
|
4
|
-
export const BoxButtons = ({ showAdd, onAdd, onDelete, isTheFirstBox,
|
|
5
|
-
console.log("index",index)
|
|
4
|
+
export const BoxButtons = ({ showAdd, onAdd, onDelete, isTheFirstBox, index }) => {
|
|
6
5
|
return (
|
|
7
6
|
<Container index={index}>
|
|
8
7
|
{/* <Button variant="outlined" className="button-circle" onClick={onToggleEdit}>
|
|
@@ -15,8 +15,8 @@ export const Box = ({ onChange, dataInputs, inputGroup }) => {
|
|
|
15
15
|
]);
|
|
16
16
|
|
|
17
17
|
useEffect(() => {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
console.log("dataInputs:", dataInputs);
|
|
19
|
+
console.log("inputGroup:", inputGroup);
|
|
20
20
|
const temp = {};
|
|
21
21
|
let maxBoxId = 0;
|
|
22
22
|
inputGroup.inputs.forEach((attrId) => {
|
|
@@ -44,6 +44,8 @@ export const BoxOnboarding = memo(
|
|
|
44
44
|
borderType="rectangle"
|
|
45
45
|
className="caja"
|
|
46
46
|
text={dataInputs[attrId]?.name}
|
|
47
|
+
required={dataInputs[attrId]?.required}
|
|
48
|
+
description={dataInputs[attrId]?.description}
|
|
47
49
|
atributos={atributos}
|
|
48
50
|
setAtributos={setAtributos}
|
|
49
51
|
/>
|
|
@@ -48,7 +48,6 @@ export const InputGroup = ({
|
|
|
48
48
|
|
|
49
49
|
const isEquals = (dataInputsVal, auditInputsVal) => {
|
|
50
50
|
const result = dataInputsVal === auditInputsVal;
|
|
51
|
-
console.log("Input Val",dataInputsVal)
|
|
52
51
|
return result;
|
|
53
52
|
};
|
|
54
53
|
return inputGroup.groupId !== "16" ? (
|
|
@@ -63,7 +62,7 @@ export const InputGroup = ({
|
|
|
63
62
|
{inputGroup?.dataGroup && (
|
|
64
63
|
<ScreenHeader
|
|
65
64
|
headerType={"retailer-name-header"}
|
|
66
|
-
text={`${inputGroup
|
|
65
|
+
text={`${inputGroup?.dataGroup}`}
|
|
67
66
|
/>
|
|
68
67
|
)}
|
|
69
68
|
<div className="inputs-container">
|
|
@@ -598,7 +598,6 @@ export const ProviderProductEdition = ({
|
|
|
598
598
|
);
|
|
599
599
|
setActivePercentage(Math.round(activeRetailer?.percentage, 0));
|
|
600
600
|
|
|
601
|
-
console.log("loadInputs: ", services[0]);
|
|
602
601
|
const datagroups = services[0][activeRetailer.id];
|
|
603
602
|
const inputs = services[0]?.inputs;
|
|
604
603
|
const descriptions = services[1]?.filter(
|
|
@@ -1487,7 +1486,6 @@ export const ProviderProductEdition = ({
|
|
|
1487
1486
|
isShowbox={true}
|
|
1488
1487
|
groupData={services[0][activeRetailer.id].data}
|
|
1489
1488
|
setUpdatedBoxData={(e) => {
|
|
1490
|
-
console.log("UNO",e);
|
|
1491
1489
|
setBoxData(e);
|
|
1492
1490
|
}}
|
|
1493
1491
|
index={index}
|
|
File without changes
|
|
File without changes
|