contentoh-components-library 21.3.40 → 21.3.42
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/atoms/ButtonV2/styles.js +1 -1
- package/dist/components/atoms/Status/styles.js +1 -1
- package/dist/components/organisms/GlobalModal/styles.js +1 -1
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +94 -22
- package/dist/components/pages/ProviderProductEdition/index.js +623 -386
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +82 -118
- package/dist/components/pages/RetailerProductEdition/index.js +1 -1
- package/package.json +1 -1
- package/src/components/atoms/ButtonV2/styles.js +1 -1
- package/src/components/atoms/Status/styles.js +4 -0
- package/src/components/organisms/GlobalModal/styles.js +10 -0
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +107 -28
- package/src/components/pages/ProviderProductEdition/index.js +244 -131
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +87 -127
- package/src/components/pages/RetailerProductEdition/index.js +1 -1
|
@@ -28,137 +28,101 @@ exports.RetailerProductEditionDefault = RetailerProductEditionDefault;
|
|
|
28
28
|
RetailerProductEditionDefault.args = {
|
|
29
29
|
tabsSections: {
|
|
30
30
|
Descripción: true,
|
|
31
|
-
"Ficha técnica":
|
|
32
|
-
Imágenes:
|
|
31
|
+
"Ficha técnica": false,
|
|
32
|
+
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhNmM0ZDNkNi0yNGE0LTQxZDQtYWQwZi1kMDg3NDM4YWI1YjYiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwiY29nbml0bzp1c2VybmFtZSI6ImE2YzRkM2Q2LTI0YTQtNDFkNC1hZDBmLWQwODc0MzhhYjViNiIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiIyYjU3MjZlMy04MjM2LTRmYzMtODBkMi05NWVmYmU4ODdjOTYiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY4MjAxNjI5MSwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY4MjAxOTg5MSwiaWF0IjoxNjgyMDE2MjkxLCJlbWFpbCI6ImV0Y0Bjb250ZW50b2guY29tIn0.SCj_yp1NkGCED59JHoDSdFAOakIOvZVeC0yLwt9z0BtenDXlU0m5cUofQQonnWPM8Q70yMFEkyMGI9kQs_fz1gxrmrSc2FGefn3B_1Vymq3pQ_S1JrY_syYf88m_GtJKOywEnE6--Ef9lZhFBFKGtqRJ4H8JBa9Xb96uCjAKyEMCSURDlw37pk2RQdULlZPj17Zb6Xrqi2lwrhpI1ByptX3__UoTiZklnTXwIxM4JdU7yuhXLznaEH8NOSd2Jw-CV6FCUbYBHlnRYBQg7B5mwyVKtDQm6QpRgBTBPCvljJJpFjRKUcnon8WZiFXx1qVbkWPt2vCT1TZqqoSLdlP6lA",
|
|
35
35
|
productSelected: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
"orderId": 15160,
|
|
37
|
+
"status": "SAC",
|
|
38
|
+
"datasheet_status": "SAC",
|
|
39
|
+
"prio": "none",
|
|
40
|
+
"version": 7,
|
|
41
|
+
"description_status": "SAC",
|
|
42
|
+
"images_status": "SAC",
|
|
43
|
+
"brand": null,
|
|
44
|
+
"retailerOrder": 1,
|
|
45
|
+
"missing": {
|
|
46
|
+
"datasheet": null,
|
|
47
|
+
"descriptions": null,
|
|
48
|
+
"images": null
|
|
40
49
|
},
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
version: 3,
|
|
46
|
-
description_status: "CA",
|
|
47
|
-
images_status: "AS",
|
|
48
|
-
statusByRetailer: {
|
|
49
|
-
4: {
|
|
50
|
-
datasheet: "AC",
|
|
51
|
-
description: "CA",
|
|
52
|
-
images: "AS"
|
|
53
|
-
},
|
|
54
|
-
5: {
|
|
55
|
-
datasheet: "CA",
|
|
56
|
-
description: "CA",
|
|
57
|
-
images: "AS"
|
|
58
|
-
},
|
|
59
|
-
6: {
|
|
60
|
-
description: "CA",
|
|
61
|
-
images: "AS",
|
|
62
|
-
datasheet: "CA"
|
|
63
|
-
},
|
|
64
|
-
12: {
|
|
65
|
-
datasheet: "CA",
|
|
66
|
-
description: "CA",
|
|
67
|
-
images: "AS"
|
|
68
|
-
},
|
|
69
|
-
17: {
|
|
70
|
-
datasheet: "CA",
|
|
71
|
-
description: "AC",
|
|
72
|
-
images: "AS"
|
|
73
|
-
}
|
|
50
|
+
"services": {
|
|
51
|
+
"datasheets": 1,
|
|
52
|
+
"descriptions": 1,
|
|
53
|
+
"images": 1
|
|
74
54
|
},
|
|
75
|
-
article: {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
id_datasheet_especialist: 54,
|
|
93
|
-
id_datasheet_facilitator: 52,
|
|
94
|
-
id_description_especialist: 54,
|
|
95
|
-
id_description_facilitator: 52,
|
|
96
|
-
id_images_especialist: 55,
|
|
97
|
-
id_images_facilitator: 53,
|
|
98
|
-
id_auditor: 37,
|
|
99
|
-
id_recepcionist: null,
|
|
100
|
-
category: "Consumibles|Productos de Limpieza y Lavandería|Jabones y Lavatrastes",
|
|
101
|
-
missingAttributes: 0,
|
|
102
|
-
missingDescriptions: 0,
|
|
103
|
-
missingImages: 0
|
|
55
|
+
"article": {
|
|
56
|
+
"category": "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
|
|
57
|
+
"company_name": "Demo",
|
|
58
|
+
"country": "México",
|
|
59
|
+
"id_category": "2366",
|
|
60
|
+
"id_datasheet_especialist": null,
|
|
61
|
+
"id_datasheet_facilitator": null,
|
|
62
|
+
"id_description_especialist": null,
|
|
63
|
+
"id_description_facilitator": null,
|
|
64
|
+
"id_images_especialist": null,
|
|
65
|
+
"id_images_facilitator": null,
|
|
66
|
+
"id_order": 15160,
|
|
67
|
+
"id_article": 39290,
|
|
68
|
+
"id_auditor": 37,
|
|
69
|
+
"name": "MOLDURA MARCO MODER 11X4X244 CM",
|
|
70
|
+
"timestamp": "2023-04-19T21:36:02.000Z",
|
|
71
|
+
"upc": "100030"
|
|
104
72
|
},
|
|
105
|
-
retailers: [{
|
|
106
|
-
id:
|
|
107
|
-
name: "
|
|
108
|
-
}, {
|
|
109
|
-
id: 5,
|
|
110
|
-
name: "Chedraui"
|
|
111
|
-
}, {
|
|
112
|
-
id: 6,
|
|
113
|
-
name: "HEB"
|
|
73
|
+
"retailers": [{
|
|
74
|
+
"id": 58,
|
|
75
|
+
"name": "The Home Depot Golden"
|
|
114
76
|
}, {
|
|
115
|
-
id:
|
|
116
|
-
name: "
|
|
117
|
-
}, {
|
|
118
|
-
id: 17,
|
|
119
|
-
name: "Genérico"
|
|
77
|
+
"id": 68,
|
|
78
|
+
"name": "The Home Depot Merchants"
|
|
120
79
|
}],
|
|
121
|
-
|
|
122
|
-
|
|
80
|
+
"statusByRetailer": {
|
|
81
|
+
"58": {
|
|
82
|
+
"datasheet": "SAC",
|
|
83
|
+
"description": "SAC",
|
|
84
|
+
"images": "SAC"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
123
87
|
},
|
|
124
88
|
location: {
|
|
125
89
|
product: {
|
|
126
|
-
articleId:
|
|
127
|
-
versionId:
|
|
90
|
+
articleId: 39290,
|
|
91
|
+
versionId: 7
|
|
128
92
|
}
|
|
129
93
|
},
|
|
130
94
|
user: {
|
|
131
|
-
id_user: 51,
|
|
132
|
-
name: "ADMIN PRUEBA",
|
|
133
|
-
last_name: "",
|
|
134
|
-
email: "etc@contentoh.com",
|
|
135
|
-
position: "",
|
|
136
|
-
telephone: "",
|
|
137
|
-
country: "",
|
|
138
|
-
id_company: 2,
|
|
139
|
-
id_cognito: "a6c4d3d6-24a4-41d4-ad0f-d087438ab5b6",
|
|
140
|
-
birth_Date: null,
|
|
141
|
-
about_me: "",
|
|
142
|
-
zip_code: "",
|
|
143
|
-
address: "",
|
|
144
|
-
job: "",
|
|
145
|
-
id_stripe: "",
|
|
146
|
-
id_role: 1,
|
|
147
|
-
active: 1,
|
|
148
|
-
is_retailer: 0,
|
|
149
|
-
email_notify: 1,
|
|
150
|
-
is_user_tech: null,
|
|
151
|
-
membership: {
|
|
152
|
-
id:
|
|
153
|
-
start_date: "
|
|
154
|
-
end_date: "
|
|
155
|
-
planID:
|
|
156
|
-
plan: "
|
|
157
|
-
name: "Plan
|
|
158
|
-
user_limit: "
|
|
159
|
-
products_limit: "
|
|
160
|
-
type: "
|
|
95
|
+
"id_user": 51,
|
|
96
|
+
"name": "ADMIN PRUEBA",
|
|
97
|
+
"last_name": "",
|
|
98
|
+
"email": "etc@contentoh.com",
|
|
99
|
+
"position": "",
|
|
100
|
+
"telephone": "",
|
|
101
|
+
"country": "",
|
|
102
|
+
"id_company": 2,
|
|
103
|
+
"id_cognito": "a6c4d3d6-24a4-41d4-ad0f-d087438ab5b6",
|
|
104
|
+
"birth_Date": null,
|
|
105
|
+
"about_me": "",
|
|
106
|
+
"zip_code": "",
|
|
107
|
+
"address": "",
|
|
108
|
+
"job": "",
|
|
109
|
+
"id_stripe": "",
|
|
110
|
+
"id_role": 1,
|
|
111
|
+
"active": 1,
|
|
112
|
+
"is_retailer": 0,
|
|
113
|
+
"email_notify": 1,
|
|
114
|
+
"is_user_tech": null,
|
|
115
|
+
"membership": {
|
|
116
|
+
"id": 2,
|
|
117
|
+
"start_date": "2021-11-05T02:35:12.000Z",
|
|
118
|
+
"end_date": "2022-11-05T02:34:49.000Z",
|
|
119
|
+
"planID": 1,
|
|
120
|
+
"plan": "prod_KtkvuFFLpOdP6e",
|
|
121
|
+
"name": "Plan Free",
|
|
122
|
+
"user_limit": "1",
|
|
123
|
+
"products_limit": "3",
|
|
124
|
+
"type": "PyMES"
|
|
161
125
|
},
|
|
162
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-51/51.png?
|
|
126
|
+
"src": "https://content-management-profile.s3.amazonaws.com/id-51/51.png?1682016291518"
|
|
163
127
|
}
|
|
164
128
|
};
|
|
@@ -1258,7 +1258,7 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
|
|
|
1258
1258
|
})) === null || _servicesData$find === void 0 ? void 0 : (_servicesData$find$st = _servicesData$find.status) === null || _servicesData$find$st === void 0 ? void 0 : _servicesData$find$st.replace(/.*\//, ""); //sessionStorage product
|
|
1259
1259
|
|
|
1260
1260
|
var adminFacilitatorCanEvaluate = retailerStatus === "IE" && [1, 4, 5].includes(user.id_role);
|
|
1261
|
-
var adminAuditorCanEvaluate = ["AC", "RP", "RCA"].includes(retailerStatus) && [1, 6].includes(user.id_role);
|
|
1261
|
+
var adminAuditorCanEvaluate = ["AC", "RP", "RCA", "SAC"].includes(retailerStatus) && [1, 6].includes(user.id_role);
|
|
1262
1262
|
return adminFacilitatorCanEvaluate || adminAuditorCanEvaluate;
|
|
1263
1263
|
};
|
|
1264
1264
|
|
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ export const Container = styled.div`
|
|
|
23
23
|
|
|
24
24
|
&.status-R,
|
|
25
25
|
&.status-AS,
|
|
26
|
+
&.status-SAC,
|
|
26
27
|
&.status-PA {
|
|
27
28
|
background-color: ${GlobalColors.reception};
|
|
28
29
|
}
|
|
@@ -30,6 +31,7 @@ export const Container = styled.div`
|
|
|
30
31
|
&.status-AA,
|
|
31
32
|
&.status-AP,
|
|
32
33
|
&.status-AC,
|
|
34
|
+
&.status-AAC,
|
|
33
35
|
&.status-ACA {
|
|
34
36
|
background-color: ${GlobalColors.finished};
|
|
35
37
|
}
|
|
@@ -37,6 +39,7 @@ export const Container = styled.div`
|
|
|
37
39
|
&.status-RA,
|
|
38
40
|
&.status-RC,
|
|
39
41
|
&.status-RP,
|
|
42
|
+
&.status-RAC,
|
|
40
43
|
&.status-RCA {
|
|
41
44
|
background-color: ${GlobalColors.rejected_status};
|
|
42
45
|
}
|
|
@@ -47,6 +50,7 @@ export const Container = styled.div`
|
|
|
47
50
|
background-color: ${GlobalColors.s4};
|
|
48
51
|
}
|
|
49
52
|
|
|
53
|
+
&.status-FAP,
|
|
50
54
|
&.status-Ex {
|
|
51
55
|
background-color: ${GlobalColors.exported};
|
|
52
56
|
}
|
|
@@ -27,6 +27,16 @@ export const MessageContainer = styled.div`
|
|
|
27
27
|
min-height: ${(props) => (props.height ? "300px" : "190px")};
|
|
28
28
|
background: #281f33;
|
|
29
29
|
border-radius: 39px;
|
|
30
|
+
& > .generic-text {
|
|
31
|
+
width: 100%;
|
|
32
|
+
font-family: Raleway;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: normal;
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
text-align: center;
|
|
37
|
+
color: #f7f7f7;
|
|
38
|
+
margin: 20px 0px;
|
|
39
|
+
}
|
|
30
40
|
`;
|
|
31
41
|
export const TextArea = styled.textarea`
|
|
32
42
|
display: block;
|
|
@@ -16,20 +16,58 @@ ProviderProductEditionDefault.args = {
|
|
|
16
16
|
Imágenes: false,
|
|
17
17
|
},
|
|
18
18
|
token:
|
|
19
|
-
"eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
19
|
+
"eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI1ODg0YWUzNC01OWQ2LTQ0NTQtYjk4ZS04MjE1MThiY2MzYTciLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6IjU4ODRhZTM0LTU5ZDYtNDQ1NC1iOThlLTgyMTUxOGJjYzNhNyIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJkMmY0ZTZmNC1jYmM4LTQ5NTItODMyYi0yYTNlNzBlOTM0ZjAiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY4MjAyNDQ4OCwibmFtZSI6IkNhZGVuYSBJc21hZWwiLCJwaG9uZV9udW1iZXIiOiIrNTIzMTExMzY2MzM2IiwiZXhwIjoxNjgyMDI4MDg4LCJpYXQiOjE2ODIwMjQ0ODgsImVtYWlsIjoiY2FkZW5hLmlzbWFlbEBhbGxmcmVlbWFpbC5uZXQifQ.eTJuJXGjCEOcOzJreoJQ3GA_3a7-7IR5sojvBwyEp360Z_Nd7LNDAA605jkRTx2c39zk9o3hkgzEZsK6RYwFrB-jOqlFA7E3dvkCaDC0fh6V1tAY3nKWvFE13VHMj08WAPmQOtr2glpzv0vcCNilOmbw8-D7E7zb2K6R63YdVyC1mSVPvlqJaecBVmiWu5OoHDRFjfdkx-tnxQacm3YeuqYPHho4hy18xU4NG4SmeqXQmuBD8lGMZuZ5Kkr9tkjgEQzjaY5wUik6MWDc43xG5pMhXsuluUnwxPWo3V4tc7MKsml6T6solr31JlL5qsVc4trqWMkLG2bbtUzRRxUUXg",
|
|
20
20
|
articleId: 238,
|
|
21
21
|
category: 846,
|
|
22
22
|
version: 2,
|
|
23
23
|
productSelected: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
orderId: 15158,
|
|
25
|
+
article_status: "RAC",
|
|
26
|
+
datasheet_status: "RAC",
|
|
27
|
+
description_status: "RAC",
|
|
28
|
+
images_status: "RAC",
|
|
29
|
+
prio: "none",
|
|
30
|
+
version: 5,
|
|
31
|
+
brand: null,
|
|
32
|
+
article: {
|
|
33
|
+
category: "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
|
|
34
|
+
company_name: "Demo",
|
|
35
|
+
id_company: 924,
|
|
36
|
+
country: "México",
|
|
37
|
+
id_category: "2366",
|
|
38
|
+
id_article: 39290,
|
|
39
|
+
name: "MOLDURA MARCO MODER 11X4X244 CM",
|
|
40
|
+
upc: "100030",
|
|
41
|
+
},
|
|
42
|
+
retailers: [
|
|
43
|
+
{
|
|
44
|
+
id: 58,
|
|
45
|
+
name: "The Home Depot Golden",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: 68,
|
|
49
|
+
name: "The Home Depot Merchants",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
services: {
|
|
53
|
+
datasheets: 1,
|
|
54
|
+
descriptions: 1,
|
|
55
|
+
images: 1,
|
|
56
|
+
},
|
|
57
|
+
statusByRetailer: {
|
|
58
|
+
58: {
|
|
59
|
+
datasheet: "RAC",
|
|
60
|
+
description: "RAC",
|
|
61
|
+
images: "RAC",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
retailersWithService: ["58"],
|
|
65
|
+
id_article: 39290,
|
|
32
66
|
retailersAvailable: [
|
|
67
|
+
{
|
|
68
|
+
id: 58,
|
|
69
|
+
name: "The Home Depot Golden",
|
|
70
|
+
},
|
|
33
71
|
{
|
|
34
72
|
id: 68,
|
|
35
73
|
name: "The Home Depot Merchants",
|
|
@@ -37,26 +75,62 @@ ProviderProductEditionDefault.args = {
|
|
|
37
75
|
],
|
|
38
76
|
},
|
|
39
77
|
productToEdit: {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
product:
|
|
43
|
-
|
|
44
|
-
|
|
78
|
+
ArticleId: 39290,
|
|
79
|
+
idCategory: "2366",
|
|
80
|
+
product: {
|
|
81
|
+
orderId: 15158,
|
|
82
|
+
article_status: "RAC",
|
|
83
|
+
datasheet_status: "RAC",
|
|
84
|
+
description_status: "RAC",
|
|
85
|
+
images_status: "RAC",
|
|
86
|
+
prio: "none",
|
|
87
|
+
version: 5,
|
|
88
|
+
brand: null,
|
|
89
|
+
article: {
|
|
90
|
+
category: "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
|
|
45
91
|
company_name: "Demo",
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
retailersAvailable: [
|
|
53
|
-
{
|
|
54
|
-
id: 68,
|
|
55
|
-
name: "The Home Depot Merchants",
|
|
56
|
-
},
|
|
57
|
-
],
|
|
92
|
+
id_company: 924,
|
|
93
|
+
country: "México",
|
|
94
|
+
id_category: "2366",
|
|
95
|
+
id_article: 39290,
|
|
96
|
+
name: "MOLDURA MARCO MODER 11X4X244 CM",
|
|
97
|
+
upc: "100030",
|
|
58
98
|
},
|
|
59
|
-
|
|
99
|
+
retailers: [
|
|
100
|
+
{
|
|
101
|
+
id: 58,
|
|
102
|
+
name: "The Home Depot Golden",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: 68,
|
|
106
|
+
name: "The Home Depot Merchants",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
services: {
|
|
110
|
+
datasheets: 1,
|
|
111
|
+
descriptions: 1,
|
|
112
|
+
images: 1,
|
|
113
|
+
},
|
|
114
|
+
statusByRetailer: {
|
|
115
|
+
58: {
|
|
116
|
+
datasheet: "RAC",
|
|
117
|
+
description: "RAC",
|
|
118
|
+
images: "RAC",
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
retailersWithService: ["58"],
|
|
122
|
+
id_article: 39290,
|
|
123
|
+
retailersAvailable: [
|
|
124
|
+
{
|
|
125
|
+
id: 58,
|
|
126
|
+
name: "The Home Depot Golden",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
id: 68,
|
|
130
|
+
name: "The Home Depot Merchants",
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
},
|
|
60
134
|
},
|
|
61
135
|
location: {
|
|
62
136
|
pathname: "/EditProducts",
|
|
@@ -99,7 +173,7 @@ ProviderProductEditionDefault.args = {
|
|
|
99
173
|
products_limit: "500",
|
|
100
174
|
type: "PyMES",
|
|
101
175
|
},
|
|
102
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?
|
|
176
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1682103877593",
|
|
103
177
|
},
|
|
104
178
|
company: {
|
|
105
179
|
id_company: 817,
|
|
@@ -144,6 +218,11 @@ ProviderProductEditionDefault.args = {
|
|
|
144
218
|
name: "The Home Depot Merchants",
|
|
145
219
|
country: "México",
|
|
146
220
|
},
|
|
221
|
+
{
|
|
222
|
+
id: 58,
|
|
223
|
+
name: "The Home Depot Golden",
|
|
224
|
+
country: "México",
|
|
225
|
+
},
|
|
147
226
|
],
|
|
148
227
|
},
|
|
149
228
|
showSurvey: (v) => v && alert("se muestra"),
|