contentoh-components-library 21.2.71 → 21.2.72
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/TagAndInput/index.js +3 -2
- package/dist/components/molecules/TagAndInput/styles.js +1 -1
- package/dist/components/organisms/InputGroup/index.js +4 -2
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +32 -128
- package/package.json +1 -1
- package/src/components/molecules/TagAndInput/index.js +2 -1
- package/src/components/molecules/TagAndInput/styles.js +1 -1
- package/src/components/organisms/InputGroup/index.js +2 -0
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +31 -318
|
@@ -37,7 +37,8 @@ var TagAndInput = function TagAndInput(_ref) {
|
|
|
37
37
|
inputOnChange = _ref.inputOnChange,
|
|
38
38
|
color = _ref.color,
|
|
39
39
|
disabled = _ref.disabled,
|
|
40
|
-
onKeyDown = _ref.onKeyDown
|
|
40
|
+
onKeyDown = _ref.onKeyDown,
|
|
41
|
+
showTooltip = _ref.showTooltip;
|
|
41
42
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
42
43
|
inputType: inputType,
|
|
43
44
|
className: "input-container",
|
|
@@ -47,7 +48,7 @@ var TagAndInput = function TagAndInput(_ref) {
|
|
|
47
48
|
text: label,
|
|
48
49
|
headerType: "input-name-header",
|
|
49
50
|
color: color
|
|
50
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
51
|
+
}), showTooltip && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
51
52
|
className: "tooltip",
|
|
52
53
|
children: label
|
|
53
54
|
})]
|
|
@@ -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 .title-container {\n
|
|
18
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .title-container {\n position: relative;\n .tooltip {\n display: none;\n position: absolute;\n background-color: ", ";\n color: ", ";\n font-family: ", ";\n font-size: 14px;\n line-height: 19px;\n left: 0;\n top: 0;\n height: fit-content;\n transition: display 2s;\n }\n\n &:hover {\n .tooltip {\n display: block;\n }\n }\n }\n\n & > :first-child {\n & + * {\n margin-top: ", "px;\n }\n }\n & + * {\n margin-top: ", "px;\n }\n"])), _variables.GlobalColors.white, function (_ref) {
|
|
19
19
|
var color = _ref.color;
|
|
20
20
|
return color ? color : _variables.GlobalColors.s5;
|
|
21
21
|
}, _variables.FontFamily.Raleway, function (_ref2) {
|
|
@@ -67,7 +67,8 @@ var InputGroup = function InputGroup(_ref) {
|
|
|
67
67
|
setUpdatedDatasheets: setUpdatedDatasheets,
|
|
68
68
|
maxChar: (_dataInputs$input9 = dataInputs[input]) !== null && _dataInputs$input9 !== void 0 && _dataInputs$input9.max_chars ? (_dataInputs$input10 = dataInputs[input]) === null || _dataInputs$input10 === void 0 ? void 0 : _dataInputs$input10.max_chars : 999,
|
|
69
69
|
optionList: (_dataInputs$input11 = dataInputs[input]) === null || _dataInputs$input11 === void 0 ? void 0 : _dataInputs$input11.option_list,
|
|
70
|
-
description: (_dataInputs$input12 = dataInputs[input]) === null || _dataInputs$input12 === void 0 ? void 0 : _dataInputs$input12.description
|
|
70
|
+
description: (_dataInputs$input12 = dataInputs[input]) === null || _dataInputs$input12 === void 0 ? void 0 : _dataInputs$input12.description,
|
|
71
|
+
showTooltip: true
|
|
71
72
|
}, index + "-" + ((_dataInputs$input = dataInputs[input]) === null || _dataInputs$input === void 0 ? void 0 : _dataInputs$input.value) + "-" + ((_dataInputs$input2 = dataInputs[input]) === null || _dataInputs$input2 === void 0 ? void 0 : _dataInputs$input2.id)) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_TagAndInput.TagAndInput, {
|
|
72
73
|
inputId: input.id,
|
|
73
74
|
index: index,
|
|
@@ -82,7 +83,8 @@ var InputGroup = function InputGroup(_ref) {
|
|
|
82
83
|
articleId: articleId,
|
|
83
84
|
version: version,
|
|
84
85
|
dinamicHeight: dinamicHeight,
|
|
85
|
-
description: input === null || input === void 0 ? void 0 : input.description
|
|
86
|
+
description: input === null || input === void 0 ? void 0 : input.description,
|
|
87
|
+
showTooltip: true
|
|
86
88
|
}, index + "-" + (input === null || input === void 0 ? void 0 : input.value));
|
|
87
89
|
})
|
|
88
90
|
})]
|
|
@@ -31,162 +31,66 @@ RetailerProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.
|
|
34
|
+
token: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI4ZDAxMDIxNC01YmZhLTQzYzMtOTZmYi1jNTU2ZGMwNTc3NGIiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwiY29nbml0bzp1c2VybmFtZSI6IjhkMDEwMjE0LTViZmEtNDNjMy05NmZiLWM1NTZkYzA1Nzc0YiIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiI2ZWY3Y2UxYy0xYjBjLTRkNGYtYTc3Yy1jMWIwYTk0ZjIwOWEiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY2NzMyMTQ5NCwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY2NzMyNTA5NCwiaWF0IjoxNjY3MzIxNDk0LCJlbWFpbCI6ImthcmFmZTMyMThAbW9tMmtpZC5jb20ifQ.GjBtY-LW5eYzvNfrIJOdb9pDMU_CZlIxRAn1ZszjMfWNU9s8s_j6o4_2x0J7AyiSjgu9TaLRcRpF6FZ5pzwNGs8G5AxnO3r_PIg2mznM44QLnt5PTfdoFx2jJmU53UA8GZU1SFDvDlR1QZR-EtANz2wfNs8RqY_mKTz5WjY7RdGTFVkowTv-Y1Q9T7x_fpv_5o-nB5GzLBQoHwTLQ_vjguSLH17l2BUn0QxLi2WJVs-qWX4ze4QysADVxYOlMkAQql328oqoqdXRbZrntnxYxa5EMpmref1bGbSOFk4qgHax4qa3gD2_h291NLjCZS7IMGDSIhOk9r7irItbojM01Q",
|
|
35
35
|
productSelected: {
|
|
36
36
|
services: {
|
|
37
37
|
datasheets: 1,
|
|
38
38
|
descriptions: 1,
|
|
39
39
|
images: 1
|
|
40
40
|
},
|
|
41
|
-
orderId:
|
|
42
|
-
status: "
|
|
43
|
-
datasheet_status: "
|
|
41
|
+
orderId: 3321,
|
|
42
|
+
status: "PA",
|
|
43
|
+
datasheet_status: "AC",
|
|
44
44
|
prio: "none",
|
|
45
|
-
version:
|
|
46
|
-
description_status: "
|
|
47
|
-
images_status: "
|
|
45
|
+
version: 2,
|
|
46
|
+
description_status: "AC",
|
|
47
|
+
images_status: "PA",
|
|
48
48
|
statusByRetailer: {
|
|
49
|
-
|
|
50
|
-
datasheet: "
|
|
51
|
-
description: "
|
|
52
|
-
images: "
|
|
53
|
-
},
|
|
54
|
-
5: {
|
|
55
|
-
datasheet: "RP/RA/AS",
|
|
56
|
-
description: "RP/RA/CA",
|
|
57
|
-
images: "AA"
|
|
58
|
-
},
|
|
59
|
-
12: {
|
|
60
|
-
description: "RP/RA/CA",
|
|
61
|
-
images: "AA",
|
|
62
|
-
datasheet: "RP/RA/AS"
|
|
63
|
-
},
|
|
64
|
-
13: {
|
|
65
|
-
datasheet: "RP/RA/AS",
|
|
66
|
-
description: "RP/RA/CA",
|
|
67
|
-
images: "AA"
|
|
68
|
-
},
|
|
69
|
-
16: {
|
|
70
|
-
datasheet: "RP/RA/AS",
|
|
71
|
-
description: "RP/RA/CA",
|
|
72
|
-
images: "AA"
|
|
73
|
-
},
|
|
74
|
-
29: {
|
|
75
|
-
datasheet: "RP/RA/AS",
|
|
76
|
-
description: "RP/RA/CA",
|
|
77
|
-
images: "AA"
|
|
78
|
-
},
|
|
79
|
-
34: {
|
|
80
|
-
datasheet: "RP/RA/AC",
|
|
81
|
-
description: "RP/RA/AC",
|
|
82
|
-
images: "AA"
|
|
49
|
+
58: {
|
|
50
|
+
datasheet: "AC",
|
|
51
|
+
description: "AC",
|
|
52
|
+
images: "PA"
|
|
83
53
|
}
|
|
84
54
|
},
|
|
85
55
|
article: {
|
|
86
|
-
id_article:
|
|
87
|
-
id_category: "
|
|
88
|
-
name: "
|
|
89
|
-
upc: "
|
|
90
|
-
timestamp: "2022-
|
|
91
|
-
id_user:
|
|
92
|
-
status:
|
|
56
|
+
id_article: 85655,
|
|
57
|
+
id_category: "2052",
|
|
58
|
+
name: "EXTENSION P/ EXTERIOR 3X10 AWG 10M ROJO",
|
|
59
|
+
upc: "165679",
|
|
60
|
+
timestamp: "2022-11-01T15:46:51.000Z",
|
|
61
|
+
id_user: 1436,
|
|
62
|
+
status: null,
|
|
93
63
|
active: 1,
|
|
94
|
-
company_id:
|
|
64
|
+
company_id: 409,
|
|
95
65
|
SKU: null,
|
|
96
66
|
Descripcion: null,
|
|
97
67
|
Proveedor: null,
|
|
98
68
|
id_proveedor: 0,
|
|
99
|
-
company_name: "
|
|
69
|
+
company_name: "HIGHLINE-WARREN LLC",
|
|
100
70
|
country: null,
|
|
101
|
-
id_order:
|
|
102
|
-
id_datasheet_especialist:
|
|
71
|
+
id_order: 3321,
|
|
72
|
+
id_datasheet_especialist: 1248,
|
|
103
73
|
id_datasheet_facilitator: null,
|
|
104
|
-
id_description_especialist:
|
|
74
|
+
id_description_especialist: 1248,
|
|
105
75
|
id_description_facilitator: null,
|
|
106
|
-
id_images_especialist:
|
|
107
|
-
id_images_facilitator:
|
|
108
|
-
id_auditor:
|
|
76
|
+
id_images_especialist: null,
|
|
77
|
+
id_images_facilitator: null,
|
|
78
|
+
id_auditor: null,
|
|
109
79
|
id_recepcionist: null,
|
|
110
|
-
category: "
|
|
80
|
+
category: "Eléctrico|Extensiones y Multicontactos|Extensiones y Multicontactos",
|
|
111
81
|
missingAttributes: null,
|
|
112
82
|
missingDescriptions: null,
|
|
113
83
|
missingImages: null
|
|
114
84
|
},
|
|
115
85
|
retailers: [{
|
|
116
|
-
id:
|
|
117
|
-
name: "
|
|
86
|
+
id: 58,
|
|
87
|
+
name: "The Home Depot Golden",
|
|
118
88
|
country: "México",
|
|
119
89
|
id_region: 1,
|
|
120
|
-
active: 1
|
|
121
|
-
percentage: 100,
|
|
122
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/4.png",
|
|
123
|
-
services: ["RP/RA/CA", "RP/RA/CA", "AP", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
124
|
-
}, {
|
|
125
|
-
id: 5,
|
|
126
|
-
name: "Chedraui",
|
|
127
|
-
country: "México",
|
|
128
|
-
id_region: 1,
|
|
129
|
-
active: 1,
|
|
130
|
-
percentage: 100,
|
|
131
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/5.png",
|
|
132
|
-
services: ["NA", "NA", "NA", "RP/RA/AS", "RP/RA/CA", "AA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
133
|
-
}, {
|
|
134
|
-
id: 6,
|
|
135
|
-
name: "HEB",
|
|
136
|
-
country: "México",
|
|
137
|
-
id_region: 1,
|
|
138
|
-
active: 1,
|
|
139
|
-
percentage: 100,
|
|
140
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/6.png",
|
|
141
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
142
|
-
}, {
|
|
143
|
-
id: 12,
|
|
144
|
-
name: "La Comer",
|
|
145
|
-
country: "México",
|
|
146
|
-
id_region: 1,
|
|
147
|
-
active: 1,
|
|
148
|
-
percentage: 100,
|
|
149
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/12.png",
|
|
150
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "RP/RA/AS", "RP/RA/CA", "AA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
151
|
-
}, {
|
|
152
|
-
id: 13,
|
|
153
|
-
name: "Soriana",
|
|
154
|
-
country: "México",
|
|
155
|
-
id_region: 1,
|
|
156
|
-
active: 1,
|
|
157
|
-
percentage: 100,
|
|
158
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/13.png",
|
|
159
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "RP/RA/AS", "RP/RA/CA", "AA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
160
|
-
}, {
|
|
161
|
-
id: 16,
|
|
162
|
-
name: "Rappi",
|
|
163
|
-
country: "México",
|
|
164
|
-
id_region: 1,
|
|
165
|
-
active: 1,
|
|
166
|
-
percentage: 100,
|
|
167
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/16.png",
|
|
168
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "RP/RA/AS", "RP/RA/CA", "AA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
169
|
-
}, {
|
|
170
|
-
id: 29,
|
|
171
|
-
name: "Farmacias del Ahorro",
|
|
172
|
-
country: "México",
|
|
173
|
-
id_region: 1,
|
|
174
|
-
active: 1,
|
|
175
|
-
percentage: 100,
|
|
176
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/29.png",
|
|
177
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "RP/RA/AS", "RP/RA/CA", "AA", "NA", "NA", "NA"]
|
|
178
|
-
}, {
|
|
179
|
-
id: 34,
|
|
180
|
-
name: "San Pablo",
|
|
181
|
-
country: "México",
|
|
182
|
-
id_region: 1,
|
|
183
|
-
active: 1,
|
|
184
|
-
percentage: 83.33333333333333,
|
|
185
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/34.png",
|
|
186
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "RP/RA/AC", "RP/RA/AC", "AA"]
|
|
90
|
+
active: 1
|
|
187
91
|
}],
|
|
188
92
|
country: null,
|
|
189
|
-
upc: "
|
|
93
|
+
upc: "165679"
|
|
190
94
|
},
|
|
191
95
|
location: {
|
|
192
96
|
product: {
|
|
@@ -225,6 +129,6 @@ RetailerProductEditionDefault.args = {
|
|
|
225
129
|
products_limit: "1000",
|
|
226
130
|
type: "Enterprise"
|
|
227
131
|
},
|
|
228
|
-
src: "https://content-management-profile-prod.s3.amazonaws.com/id-426/426.png?
|
|
132
|
+
src: "https://content-management-profile-prod.s3.amazonaws.com/id-426/426.png?1667321494598"
|
|
229
133
|
}
|
|
230
134
|
};
|
package/package.json
CHANGED
|
@@ -27,6 +27,7 @@ export const TagAndInput = ({
|
|
|
27
27
|
color,
|
|
28
28
|
disabled,
|
|
29
29
|
onKeyDown,
|
|
30
|
+
showTooltip,
|
|
30
31
|
}) => {
|
|
31
32
|
return (
|
|
32
33
|
<Container
|
|
@@ -40,7 +41,7 @@ export const TagAndInput = ({
|
|
|
40
41
|
headerType={"input-name-header"}
|
|
41
42
|
color={color}
|
|
42
43
|
/>
|
|
43
|
-
<span className="tooltip">{label}</span>
|
|
44
|
+
{showTooltip && <span className="tooltip">{label}</span>}
|
|
44
45
|
</div>
|
|
45
46
|
<GeneralInput
|
|
46
47
|
inputId={inputId}
|
|
@@ -71,6 +71,7 @@ export const InputGroup = ({
|
|
|
71
71
|
}
|
|
72
72
|
optionList={dataInputs[input]?.option_list}
|
|
73
73
|
description={dataInputs[input]?.description}
|
|
74
|
+
showTooltip={true}
|
|
74
75
|
/>
|
|
75
76
|
) : (
|
|
76
77
|
<TagAndInput
|
|
@@ -89,6 +90,7 @@ export const InputGroup = ({
|
|
|
89
90
|
version={version}
|
|
90
91
|
dinamicHeight={dinamicHeight}
|
|
91
92
|
description={input?.description}
|
|
93
|
+
showTooltip={true}
|
|
92
94
|
/>
|
|
93
95
|
)
|
|
94
96
|
)}
|
|
@@ -16,356 +16,69 @@ RetailerProductEditionDefault.args = {
|
|
|
16
16
|
Imágenes: false,
|
|
17
17
|
},
|
|
18
18
|
token:
|
|
19
|
-
"eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.
|
|
19
|
+
"eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI4ZDAxMDIxNC01YmZhLTQzYzMtOTZmYi1jNTU2ZGMwNTc3NGIiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwiY29nbml0bzp1c2VybmFtZSI6IjhkMDEwMjE0LTViZmEtNDNjMy05NmZiLWM1NTZkYzA1Nzc0YiIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiI2ZWY3Y2UxYy0xYjBjLTRkNGYtYTc3Yy1jMWIwYTk0ZjIwOWEiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY2NzMyMTQ5NCwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY2NzMyNTA5NCwiaWF0IjoxNjY3MzIxNDk0LCJlbWFpbCI6ImthcmFmZTMyMThAbW9tMmtpZC5jb20ifQ.GjBtY-LW5eYzvNfrIJOdb9pDMU_CZlIxRAn1ZszjMfWNU9s8s_j6o4_2x0J7AyiSjgu9TaLRcRpF6FZ5pzwNGs8G5AxnO3r_PIg2mznM44QLnt5PTfdoFx2jJmU53UA8GZU1SFDvDlR1QZR-EtANz2wfNs8RqY_mKTz5WjY7RdGTFVkowTv-Y1Q9T7x_fpv_5o-nB5GzLBQoHwTLQ_vjguSLH17l2BUn0QxLi2WJVs-qWX4ze4QysADVxYOlMkAQql328oqoqdXRbZrntnxYxa5EMpmref1bGbSOFk4qgHax4qa3gD2_h291NLjCZS7IMGDSIhOk9r7irItbojM01Q",
|
|
20
20
|
productSelected: {
|
|
21
21
|
services: {
|
|
22
22
|
datasheets: 1,
|
|
23
23
|
descriptions: 1,
|
|
24
24
|
images: 1,
|
|
25
25
|
},
|
|
26
|
-
orderId:
|
|
27
|
-
status: "
|
|
28
|
-
datasheet_status: "
|
|
26
|
+
orderId: 3321,
|
|
27
|
+
status: "PA",
|
|
28
|
+
datasheet_status: "AC",
|
|
29
29
|
prio: "none",
|
|
30
|
-
version:
|
|
31
|
-
description_status: "
|
|
32
|
-
images_status: "
|
|
30
|
+
version: 2,
|
|
31
|
+
description_status: "AC",
|
|
32
|
+
images_status: "PA",
|
|
33
33
|
statusByRetailer: {
|
|
34
|
-
|
|
35
|
-
datasheet: "
|
|
36
|
-
description: "
|
|
37
|
-
images: "
|
|
38
|
-
},
|
|
39
|
-
5: {
|
|
40
|
-
datasheet: "RP/RA/AS",
|
|
41
|
-
description: "RP/RA/CA",
|
|
42
|
-
images: "AA",
|
|
43
|
-
},
|
|
44
|
-
12: {
|
|
45
|
-
description: "RP/RA/CA",
|
|
46
|
-
images: "AA",
|
|
47
|
-
datasheet: "RP/RA/AS",
|
|
48
|
-
},
|
|
49
|
-
13: {
|
|
50
|
-
datasheet: "RP/RA/AS",
|
|
51
|
-
description: "RP/RA/CA",
|
|
52
|
-
images: "AA",
|
|
53
|
-
},
|
|
54
|
-
16: {
|
|
55
|
-
datasheet: "RP/RA/AS",
|
|
56
|
-
description: "RP/RA/CA",
|
|
57
|
-
images: "AA",
|
|
58
|
-
},
|
|
59
|
-
29: {
|
|
60
|
-
datasheet: "RP/RA/AS",
|
|
61
|
-
description: "RP/RA/CA",
|
|
62
|
-
images: "AA",
|
|
63
|
-
},
|
|
64
|
-
34: {
|
|
65
|
-
datasheet: "RP/RA/AC",
|
|
66
|
-
description: "RP/RA/AC",
|
|
67
|
-
images: "AA",
|
|
34
|
+
58: {
|
|
35
|
+
datasheet: "AC",
|
|
36
|
+
description: "AC",
|
|
37
|
+
images: "PA",
|
|
68
38
|
},
|
|
69
39
|
},
|
|
70
40
|
article: {
|
|
71
|
-
id_article:
|
|
72
|
-
id_category: "
|
|
73
|
-
name: "
|
|
74
|
-
upc: "
|
|
75
|
-
timestamp: "2022-
|
|
76
|
-
id_user:
|
|
77
|
-
status:
|
|
41
|
+
id_article: 85655,
|
|
42
|
+
id_category: "2052",
|
|
43
|
+
name: "EXTENSION P/ EXTERIOR 3X10 AWG 10M ROJO",
|
|
44
|
+
upc: "165679",
|
|
45
|
+
timestamp: "2022-11-01T15:46:51.000Z",
|
|
46
|
+
id_user: 1436,
|
|
47
|
+
status: null,
|
|
78
48
|
active: 1,
|
|
79
|
-
company_id:
|
|
49
|
+
company_id: 409,
|
|
80
50
|
SKU: null,
|
|
81
51
|
Descripcion: null,
|
|
82
52
|
Proveedor: null,
|
|
83
53
|
id_proveedor: 0,
|
|
84
|
-
company_name: "
|
|
54
|
+
company_name: "HIGHLINE-WARREN LLC",
|
|
85
55
|
country: null,
|
|
86
|
-
id_order:
|
|
87
|
-
id_datasheet_especialist:
|
|
56
|
+
id_order: 3321,
|
|
57
|
+
id_datasheet_especialist: 1248,
|
|
88
58
|
id_datasheet_facilitator: null,
|
|
89
|
-
id_description_especialist:
|
|
59
|
+
id_description_especialist: 1248,
|
|
90
60
|
id_description_facilitator: null,
|
|
91
|
-
id_images_especialist:
|
|
92
|
-
id_images_facilitator:
|
|
93
|
-
id_auditor:
|
|
61
|
+
id_images_especialist: null,
|
|
62
|
+
id_images_facilitator: null,
|
|
63
|
+
id_auditor: null,
|
|
94
64
|
id_recepcionist: null,
|
|
95
65
|
category:
|
|
96
|
-
"
|
|
66
|
+
"Eléctrico|Extensiones y Multicontactos|Extensiones y Multicontactos",
|
|
97
67
|
missingAttributes: null,
|
|
98
68
|
missingDescriptions: null,
|
|
99
69
|
missingImages: null,
|
|
100
70
|
},
|
|
101
71
|
retailers: [
|
|
102
72
|
{
|
|
103
|
-
id:
|
|
104
|
-
name: "
|
|
105
|
-
country: "México",
|
|
106
|
-
id_region: 1,
|
|
107
|
-
active: 1,
|
|
108
|
-
percentage: 100,
|
|
109
|
-
image:
|
|
110
|
-
"https://content-management-images.s3.amazonaws.com/retailers/4.png",
|
|
111
|
-
services: [
|
|
112
|
-
"RP/RA/CA",
|
|
113
|
-
"RP/RA/CA",
|
|
114
|
-
"AP",
|
|
115
|
-
"NA",
|
|
116
|
-
"NA",
|
|
117
|
-
"NA",
|
|
118
|
-
"NA",
|
|
119
|
-
"NA",
|
|
120
|
-
"NA",
|
|
121
|
-
"NA",
|
|
122
|
-
"NA",
|
|
123
|
-
"NA",
|
|
124
|
-
"NA",
|
|
125
|
-
"NA",
|
|
126
|
-
"NA",
|
|
127
|
-
"NA",
|
|
128
|
-
"NA",
|
|
129
|
-
"NA",
|
|
130
|
-
"NA",
|
|
131
|
-
"NA",
|
|
132
|
-
"NA",
|
|
133
|
-
],
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
id: 5,
|
|
137
|
-
name: "Chedraui",
|
|
138
|
-
country: "México",
|
|
139
|
-
id_region: 1,
|
|
140
|
-
active: 1,
|
|
141
|
-
percentage: 100,
|
|
142
|
-
image:
|
|
143
|
-
"https://content-management-images.s3.amazonaws.com/retailers/5.png",
|
|
144
|
-
services: [
|
|
145
|
-
"NA",
|
|
146
|
-
"NA",
|
|
147
|
-
"NA",
|
|
148
|
-
"RP/RA/AS",
|
|
149
|
-
"RP/RA/CA",
|
|
150
|
-
"AA",
|
|
151
|
-
"NA",
|
|
152
|
-
"NA",
|
|
153
|
-
"NA",
|
|
154
|
-
"NA",
|
|
155
|
-
"NA",
|
|
156
|
-
"NA",
|
|
157
|
-
"NA",
|
|
158
|
-
"NA",
|
|
159
|
-
"NA",
|
|
160
|
-
"NA",
|
|
161
|
-
"NA",
|
|
162
|
-
"NA",
|
|
163
|
-
"NA",
|
|
164
|
-
"NA",
|
|
165
|
-
"NA",
|
|
166
|
-
],
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
id: 6,
|
|
170
|
-
name: "HEB",
|
|
171
|
-
country: "México",
|
|
172
|
-
id_region: 1,
|
|
173
|
-
active: 1,
|
|
174
|
-
percentage: 100,
|
|
175
|
-
image:
|
|
176
|
-
"https://content-management-images.s3.amazonaws.com/retailers/6.png",
|
|
177
|
-
services: [
|
|
178
|
-
"NA",
|
|
179
|
-
"NA",
|
|
180
|
-
"NA",
|
|
181
|
-
"NA",
|
|
182
|
-
"NA",
|
|
183
|
-
"NA",
|
|
184
|
-
"NA",
|
|
185
|
-
"NA",
|
|
186
|
-
"NA",
|
|
187
|
-
"NA",
|
|
188
|
-
"NA",
|
|
189
|
-
"NA",
|
|
190
|
-
"NA",
|
|
191
|
-
"NA",
|
|
192
|
-
"NA",
|
|
193
|
-
"NA",
|
|
194
|
-
"NA",
|
|
195
|
-
"NA",
|
|
196
|
-
"NA",
|
|
197
|
-
"NA",
|
|
198
|
-
"NA",
|
|
199
|
-
],
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
id: 12,
|
|
203
|
-
name: "La Comer",
|
|
204
|
-
country: "México",
|
|
205
|
-
id_region: 1,
|
|
206
|
-
active: 1,
|
|
207
|
-
percentage: 100,
|
|
208
|
-
image:
|
|
209
|
-
"https://content-management-images.s3.amazonaws.com/retailers/12.png",
|
|
210
|
-
services: [
|
|
211
|
-
"NA",
|
|
212
|
-
"NA",
|
|
213
|
-
"NA",
|
|
214
|
-
"NA",
|
|
215
|
-
"NA",
|
|
216
|
-
"NA",
|
|
217
|
-
"RP/RA/AS",
|
|
218
|
-
"RP/RA/CA",
|
|
219
|
-
"AA",
|
|
220
|
-
"NA",
|
|
221
|
-
"NA",
|
|
222
|
-
"NA",
|
|
223
|
-
"NA",
|
|
224
|
-
"NA",
|
|
225
|
-
"NA",
|
|
226
|
-
"NA",
|
|
227
|
-
"NA",
|
|
228
|
-
"NA",
|
|
229
|
-
"NA",
|
|
230
|
-
"NA",
|
|
231
|
-
"NA",
|
|
232
|
-
],
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
id: 13,
|
|
236
|
-
name: "Soriana",
|
|
237
|
-
country: "México",
|
|
238
|
-
id_region: 1,
|
|
239
|
-
active: 1,
|
|
240
|
-
percentage: 100,
|
|
241
|
-
image:
|
|
242
|
-
"https://content-management-images.s3.amazonaws.com/retailers/13.png",
|
|
243
|
-
services: [
|
|
244
|
-
"NA",
|
|
245
|
-
"NA",
|
|
246
|
-
"NA",
|
|
247
|
-
"NA",
|
|
248
|
-
"NA",
|
|
249
|
-
"NA",
|
|
250
|
-
"NA",
|
|
251
|
-
"NA",
|
|
252
|
-
"NA",
|
|
253
|
-
"RP/RA/AS",
|
|
254
|
-
"RP/RA/CA",
|
|
255
|
-
"AA",
|
|
256
|
-
"NA",
|
|
257
|
-
"NA",
|
|
258
|
-
"NA",
|
|
259
|
-
"NA",
|
|
260
|
-
"NA",
|
|
261
|
-
"NA",
|
|
262
|
-
"NA",
|
|
263
|
-
"NA",
|
|
264
|
-
"NA",
|
|
265
|
-
],
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
id: 16,
|
|
269
|
-
name: "Rappi",
|
|
270
|
-
country: "México",
|
|
271
|
-
id_region: 1,
|
|
272
|
-
active: 1,
|
|
273
|
-
percentage: 100,
|
|
274
|
-
image:
|
|
275
|
-
"https://content-management-images.s3.amazonaws.com/retailers/16.png",
|
|
276
|
-
services: [
|
|
277
|
-
"NA",
|
|
278
|
-
"NA",
|
|
279
|
-
"NA",
|
|
280
|
-
"NA",
|
|
281
|
-
"NA",
|
|
282
|
-
"NA",
|
|
283
|
-
"NA",
|
|
284
|
-
"NA",
|
|
285
|
-
"NA",
|
|
286
|
-
"NA",
|
|
287
|
-
"NA",
|
|
288
|
-
"NA",
|
|
289
|
-
"RP/RA/AS",
|
|
290
|
-
"RP/RA/CA",
|
|
291
|
-
"AA",
|
|
292
|
-
"NA",
|
|
293
|
-
"NA",
|
|
294
|
-
"NA",
|
|
295
|
-
"NA",
|
|
296
|
-
"NA",
|
|
297
|
-
"NA",
|
|
298
|
-
],
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
id: 29,
|
|
302
|
-
name: "Farmacias del Ahorro",
|
|
303
|
-
country: "México",
|
|
304
|
-
id_region: 1,
|
|
305
|
-
active: 1,
|
|
306
|
-
percentage: 100,
|
|
307
|
-
image:
|
|
308
|
-
"https://content-management-images.s3.amazonaws.com/retailers/29.png",
|
|
309
|
-
services: [
|
|
310
|
-
"NA",
|
|
311
|
-
"NA",
|
|
312
|
-
"NA",
|
|
313
|
-
"NA",
|
|
314
|
-
"NA",
|
|
315
|
-
"NA",
|
|
316
|
-
"NA",
|
|
317
|
-
"NA",
|
|
318
|
-
"NA",
|
|
319
|
-
"NA",
|
|
320
|
-
"NA",
|
|
321
|
-
"NA",
|
|
322
|
-
"NA",
|
|
323
|
-
"NA",
|
|
324
|
-
"NA",
|
|
325
|
-
"RP/RA/AS",
|
|
326
|
-
"RP/RA/CA",
|
|
327
|
-
"AA",
|
|
328
|
-
"NA",
|
|
329
|
-
"NA",
|
|
330
|
-
"NA",
|
|
331
|
-
],
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
id: 34,
|
|
335
|
-
name: "San Pablo",
|
|
73
|
+
id: 58,
|
|
74
|
+
name: "The Home Depot Golden",
|
|
336
75
|
country: "México",
|
|
337
76
|
id_region: 1,
|
|
338
77
|
active: 1,
|
|
339
|
-
percentage: 83.33333333333333,
|
|
340
|
-
image:
|
|
341
|
-
"https://content-management-images.s3.amazonaws.com/retailers/34.png",
|
|
342
|
-
services: [
|
|
343
|
-
"NA",
|
|
344
|
-
"NA",
|
|
345
|
-
"NA",
|
|
346
|
-
"NA",
|
|
347
|
-
"NA",
|
|
348
|
-
"NA",
|
|
349
|
-
"NA",
|
|
350
|
-
"NA",
|
|
351
|
-
"NA",
|
|
352
|
-
"NA",
|
|
353
|
-
"NA",
|
|
354
|
-
"NA",
|
|
355
|
-
"NA",
|
|
356
|
-
"NA",
|
|
357
|
-
"NA",
|
|
358
|
-
"NA",
|
|
359
|
-
"NA",
|
|
360
|
-
"NA",
|
|
361
|
-
"RP/RA/AC",
|
|
362
|
-
"RP/RA/AC",
|
|
363
|
-
"AA",
|
|
364
|
-
],
|
|
365
78
|
},
|
|
366
79
|
],
|
|
367
80
|
country: null,
|
|
368
|
-
upc: "
|
|
81
|
+
upc: "165679",
|
|
369
82
|
},
|
|
370
83
|
location: {
|
|
371
84
|
product: { articleId: 109485, versionId: 3 },
|
|
@@ -401,6 +114,6 @@ RetailerProductEditionDefault.args = {
|
|
|
401
114
|
products_limit: "1000",
|
|
402
115
|
type: "Enterprise",
|
|
403
116
|
},
|
|
404
|
-
src: "https://content-management-profile-prod.s3.amazonaws.com/id-426/426.png?
|
|
117
|
+
src: "https://content-management-profile-prod.s3.amazonaws.com/id-426/426.png?1667321494598",
|
|
405
118
|
},
|
|
406
119
|
};
|