contentoh-components-library 21.1.89 → 21.1.90
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/pages/ProviderProductEdition/ProviderProductEdition.stories.js +120 -71
- package/dist/components/pages/ProviderProductEdition/index.js +1 -1
- package/package.json +1 -1
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +144 -87
- package/src/components/pages/ProviderProductEdition/index.js +3 -1
|
@@ -31,75 +31,107 @@ ProviderProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": true,
|
|
32
32
|
Imágenes: true
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.
|
|
34
|
+
token: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhYmUxODhlMi0yNWIxLTRhMTktODY3Mi0wZDRiYzExYTliZjIiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImFiZTE4OGUyLTI1YjEtNGExOS04NjcyLTBkNGJjMTFhOWJmMiIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiJiZTE5OWE0ZS1lYTYwLTQwYTktODIwNC02ODZlOWI1ODczMGQiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1OTUzOTczMiwibmFtZSI6IlJldGFpbGVyIEFjYyIsInBob25lX251bWJlciI6Iis1MjMxMTExMTExMTEiLCJleHAiOjE2NTk1NDMzMzIsImlhdCI6MTY1OTUzOTczMiwiZW1haWwiOiJyZXRhaWxlclRoZEBBbGxGcmVlTWFpbC5uZXQifQ.HSIFFKD5jkoRPzh9uxNUnXkkp6IX7iKeOqRePrzin-XlG7KauuoHvv7M-dWGJB_xRg-C1uGIG7gKOFP7oM3BGuVqrlIzs-z3uKNSBz0raq3-tRUHRMKo30HGwdh9Q8X8F9RAEZ0-lpIoTCoMS4ua6OJVG_qPRGJHVF2_mzAxof81oHHj5tv-SC6lrJYc5UqDj97y_e-rGakVyVV7VXeKAJlnmw4y52_WDlbOq3W2e_wI8NuNiiEBYXgWSm5j_rzB4-BuF3nUNheKpimZEn1wTULHLo-Izj_WPdPS1l5yTi9oF09QZht_Te0o3SZliBPKgVcH8cycReoACukbY2BPPQ",
|
|
35
35
|
articleId: 238,
|
|
36
36
|
category: 846,
|
|
37
37
|
version: 2,
|
|
38
38
|
productSelected: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
categoryName: "Salud y Belleza|Cuidado Facial|Cremas, Mascarillas y Tratamientos",
|
|
46
|
-
asignations: [],
|
|
39
|
+
orderId: 1936,
|
|
40
|
+
article_status: "AP",
|
|
41
|
+
datasheet_status: "NS",
|
|
42
|
+
description_status: "NS",
|
|
43
|
+
images_status: "AP",
|
|
44
|
+
prio: "none",
|
|
47
45
|
version: 3,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
brand: null,
|
|
47
|
+
article: {
|
|
48
|
+
category: "Herramientas|Herramientas Manuales|Espátulas y Llanas",
|
|
49
|
+
company_name: "TRUPER SA DE CV",
|
|
50
|
+
id_company: 301,
|
|
51
|
+
country: null,
|
|
52
|
+
id_category: "2125",
|
|
53
|
+
id_article: 28099,
|
|
54
|
+
name: 'Espátula flexible, mango de madera, 6"',
|
|
55
|
+
upc: "90364"
|
|
56
|
+
},
|
|
57
|
+
retailers: [{
|
|
58
|
+
id: 58,
|
|
59
|
+
name: "The Home Depot Golden"
|
|
60
|
+
}, {
|
|
61
|
+
id: 59,
|
|
62
|
+
name: "The Home Depot Platinum"
|
|
55
63
|
}],
|
|
56
|
-
|
|
64
|
+
services: {
|
|
65
|
+
datasheets: 0,
|
|
66
|
+
descriptions: 0,
|
|
67
|
+
images: 1
|
|
68
|
+
},
|
|
69
|
+
statusByRetailer: {
|
|
70
|
+
59: {
|
|
71
|
+
images: "AP"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
retailersWithService: ["59"],
|
|
75
|
+
checked: false,
|
|
76
|
+
id_article: 28099,
|
|
77
|
+
retailersAvailable: [{
|
|
78
|
+
id: 58,
|
|
79
|
+
name: "The Home Depot Golden"
|
|
80
|
+
}, {
|
|
81
|
+
id: 59,
|
|
82
|
+
name: "The Home Depot Platinum"
|
|
83
|
+
}]
|
|
57
84
|
},
|
|
58
85
|
productToEdit: {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
product:
|
|
62
|
-
orderId:
|
|
63
|
-
|
|
64
|
-
status: "AC",
|
|
86
|
+
ArticleId: 28099,
|
|
87
|
+
idCategory: "2125",
|
|
88
|
+
product: {
|
|
89
|
+
orderId: 1936,
|
|
90
|
+
article_status: "AP",
|
|
65
91
|
datasheet_status: "NS",
|
|
66
|
-
prio: "none",
|
|
67
|
-
version: 2,
|
|
68
92
|
description_status: "NS",
|
|
69
|
-
images_status: "
|
|
93
|
+
images_status: "AP",
|
|
94
|
+
prio: "none",
|
|
95
|
+
version: 3,
|
|
70
96
|
brand: null,
|
|
71
|
-
missing: {
|
|
72
|
-
datasheet: 0,
|
|
73
|
-
descriptions: 0,
|
|
74
|
-
images: 0
|
|
75
|
-
},
|
|
76
97
|
article: {
|
|
77
|
-
category: "
|
|
78
|
-
company_name: "
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
98
|
+
category: "Herramientas|Herramientas Manuales|Espátulas y Llanas",
|
|
99
|
+
company_name: "TRUPER SA DE CV",
|
|
100
|
+
id_company: 301,
|
|
101
|
+
country: null,
|
|
102
|
+
id_category: "2125",
|
|
103
|
+
id_article: 28099,
|
|
104
|
+
name: 'Espátula flexible, mango de madera, 6"',
|
|
105
|
+
upc: "90364"
|
|
84
106
|
},
|
|
85
107
|
retailers: [{
|
|
86
|
-
id:
|
|
87
|
-
name: "The Home Depot
|
|
108
|
+
id: 58,
|
|
109
|
+
name: "The Home Depot Golden"
|
|
110
|
+
}, {
|
|
111
|
+
id: 59,
|
|
112
|
+
name: "The Home Depot Platinum"
|
|
88
113
|
}],
|
|
89
114
|
services: {
|
|
90
115
|
datasheets: 0,
|
|
91
116
|
descriptions: 0,
|
|
92
117
|
images: 1
|
|
93
118
|
},
|
|
119
|
+
statusByRetailer: {
|
|
120
|
+
59: {
|
|
121
|
+
images: "AP"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
retailersWithService: ["59"],
|
|
94
125
|
checked: false,
|
|
126
|
+
id_article: 28099,
|
|
95
127
|
retailersAvailable: [{
|
|
96
|
-
id:
|
|
97
|
-
name: "The Home Depot
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
128
|
+
id: 58,
|
|
129
|
+
name: "The Home Depot Golden"
|
|
130
|
+
}, {
|
|
131
|
+
id: 59,
|
|
132
|
+
name: "The Home Depot Platinum"
|
|
133
|
+
}]
|
|
134
|
+
}
|
|
103
135
|
},
|
|
104
136
|
location: {
|
|
105
137
|
state: {
|
|
@@ -107,15 +139,15 @@ ProviderProductEditionDefault.args = {
|
|
|
107
139
|
}
|
|
108
140
|
},
|
|
109
141
|
user: {
|
|
110
|
-
id_user:
|
|
111
|
-
name: "
|
|
112
|
-
last_name: "
|
|
113
|
-
email: "
|
|
114
|
-
position: "
|
|
115
|
-
telephone: "+
|
|
142
|
+
id_user: 1237,
|
|
143
|
+
name: "The Home",
|
|
144
|
+
last_name: "Depot",
|
|
145
|
+
email: "retailerThd@AllFreeMail.net",
|
|
146
|
+
position: "Retailer",
|
|
147
|
+
telephone: "+523111111111",
|
|
116
148
|
country: "México",
|
|
117
|
-
id_company:
|
|
118
|
-
id_cognito: "
|
|
149
|
+
id_company: 817,
|
|
150
|
+
id_cognito: "abe188e2-25b1-4a19-8672-0d4bc11a9bf2",
|
|
119
151
|
birth_Date: null,
|
|
120
152
|
about_me: null,
|
|
121
153
|
zip_code: null,
|
|
@@ -124,12 +156,12 @@ ProviderProductEditionDefault.args = {
|
|
|
124
156
|
id_stripe: null,
|
|
125
157
|
id_role: 0,
|
|
126
158
|
active: 1,
|
|
127
|
-
is_retailer:
|
|
159
|
+
is_retailer: 1,
|
|
128
160
|
email_notify: 1,
|
|
129
161
|
membership: {
|
|
130
|
-
id:
|
|
131
|
-
start_date: "2022-06-
|
|
132
|
-
end_date: "2023-06-
|
|
162
|
+
id: 798,
|
|
163
|
+
start_date: "2022-06-19T04:25:07.000Z",
|
|
164
|
+
end_date: "2023-06-19T04:25:07.000Z",
|
|
133
165
|
planID: 6,
|
|
134
166
|
plan: "prod_KvGd6YSTJyR3AP",
|
|
135
167
|
name: "Plan Small",
|
|
@@ -137,20 +169,37 @@ ProviderProductEditionDefault.args = {
|
|
|
137
169
|
products_limit: "1000",
|
|
138
170
|
type: "Enterprise"
|
|
139
171
|
},
|
|
140
|
-
src: "https://content-management-profile-prod.s3.amazonaws.com/id-
|
|
172
|
+
src: "https://content-management-profile-prod.s3.amazonaws.com/id-1237/1237.png?1659539733360"
|
|
141
173
|
},
|
|
142
174
|
company: {
|
|
143
|
-
id_company:
|
|
144
|
-
trade_name: "
|
|
145
|
-
company_name: "
|
|
146
|
-
rfc:
|
|
147
|
-
adress: "",
|
|
148
|
-
about_company:
|
|
149
|
-
telephone:
|
|
150
|
-
web_site:
|
|
151
|
-
zip_code:
|
|
175
|
+
id_company: 817,
|
|
176
|
+
trade_name: "Retailer acc",
|
|
177
|
+
company_name: "Retailer acc",
|
|
178
|
+
rfc: "ASER12345",
|
|
179
|
+
adress: "Av. Insurgentes",
|
|
180
|
+
about_company: null,
|
|
181
|
+
telephone: null,
|
|
182
|
+
web_site: null,
|
|
183
|
+
zip_code: null,
|
|
152
184
|
email: null,
|
|
153
|
-
social_link:
|
|
154
|
-
is_retailer:
|
|
185
|
+
social_link: null,
|
|
186
|
+
is_retailer: 1,
|
|
187
|
+
retailers: [{
|
|
188
|
+
id: 58,
|
|
189
|
+
name: "The Home Depot Golden",
|
|
190
|
+
country: "México"
|
|
191
|
+
}, {
|
|
192
|
+
id: 59,
|
|
193
|
+
name: "The Home Depot Platinum",
|
|
194
|
+
country: "México"
|
|
195
|
+
}, {
|
|
196
|
+
id: 60,
|
|
197
|
+
name: "The Home Depot Resizing",
|
|
198
|
+
country: "México"
|
|
199
|
+
}, {
|
|
200
|
+
id: 61,
|
|
201
|
+
name: "Home Depot TAB",
|
|
202
|
+
country: "México"
|
|
203
|
+
}]
|
|
155
204
|
}
|
|
156
205
|
};
|
|
@@ -1820,7 +1820,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
1820
1820
|
}
|
|
1821
1821
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FullTabsMenu.FullTabsMenu, {
|
|
1822
1822
|
tabsSections: tabsSections,
|
|
1823
|
-
status: activeRetailer.id && retailerStatus ? retailerStatus[activeRetailer === null || activeRetailer === void 0 ? void 0 : activeRetailer.id][getConcept(activeTab)] || "NS" : "-",
|
|
1823
|
+
status: activeRetailer !== null && activeRetailer !== void 0 && activeRetailer.id && retailerStatus && retailerStatus[activeRetailer.id] ? retailerStatus[activeRetailer === null || activeRetailer === void 0 ? void 0 : activeRetailer.id][getConcept(activeTab)] || "NS" : "-",
|
|
1824
1824
|
activeTab: activeTab,
|
|
1825
1825
|
setActiveTab: setActiveTab,
|
|
1826
1826
|
setImageLayout: setImageLayout,
|
package/package.json
CHANGED
|
@@ -16,98 +16,133 @@ ProviderProductEditionDefault.args = {
|
|
|
16
16
|
Imágenes: true,
|
|
17
17
|
},
|
|
18
18
|
token:
|
|
19
|
-
"eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.
|
|
19
|
+
"eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhYmUxODhlMi0yNWIxLTRhMTktODY3Mi0wZDRiYzExYTliZjIiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImFiZTE4OGUyLTI1YjEtNGExOS04NjcyLTBkNGJjMTFhOWJmMiIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiJiZTE5OWE0ZS1lYTYwLTQwYTktODIwNC02ODZlOWI1ODczMGQiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1OTUzOTczMiwibmFtZSI6IlJldGFpbGVyIEFjYyIsInBob25lX251bWJlciI6Iis1MjMxMTExMTExMTEiLCJleHAiOjE2NTk1NDMzMzIsImlhdCI6MTY1OTUzOTczMiwiZW1haWwiOiJyZXRhaWxlclRoZEBBbGxGcmVlTWFpbC5uZXQifQ.HSIFFKD5jkoRPzh9uxNUnXkkp6IX7iKeOqRePrzin-XlG7KauuoHvv7M-dWGJB_xRg-C1uGIG7gKOFP7oM3BGuVqrlIzs-z3uKNSBz0raq3-tRUHRMKo30HGwdh9Q8X8F9RAEZ0-lpIoTCoMS4ua6OJVG_qPRGJHVF2_mzAxof81oHHj5tv-SC6lrJYc5UqDj97y_e-rGakVyVV7VXeKAJlnmw4y52_WDlbOq3W2e_wI8NuNiiEBYXgWSm5j_rzB4-BuF3nUNheKpimZEn1wTULHLo-Izj_WPdPS1l5yTi9oF09QZht_Te0o3SZliBPKgVcH8cycReoACukbY2BPPQ",
|
|
20
20
|
articleId: 238,
|
|
21
21
|
category: 846,
|
|
22
22
|
version: 2,
|
|
23
23
|
productSelected: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
categoryName:
|
|
31
|
-
"Salud y Belleza|Cuidado Facial|Cremas, Mascarillas y Tratamientos",
|
|
32
|
-
asignations: [],
|
|
24
|
+
orderId: 1936,
|
|
25
|
+
article_status: "AP",
|
|
26
|
+
datasheet_status: "NS",
|
|
27
|
+
description_status: "NS",
|
|
28
|
+
images_status: "AP",
|
|
29
|
+
prio: "none",
|
|
33
30
|
version: 3,
|
|
34
|
-
|
|
31
|
+
brand: null,
|
|
32
|
+
article: {
|
|
33
|
+
category: "Herramientas|Herramientas Manuales|Espátulas y Llanas",
|
|
34
|
+
company_name: "TRUPER SA DE CV",
|
|
35
|
+
id_company: 301,
|
|
36
|
+
country: null,
|
|
37
|
+
id_category: "2125",
|
|
38
|
+
id_article: 28099,
|
|
39
|
+
name: 'Espátula flexible, mango de madera, 6"',
|
|
40
|
+
upc: "90364",
|
|
41
|
+
},
|
|
42
|
+
retailers: [
|
|
43
|
+
{
|
|
44
|
+
id: 58,
|
|
45
|
+
name: "The Home Depot Golden",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: 59,
|
|
49
|
+
name: "The Home Depot Platinum",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
services: {
|
|
53
|
+
datasheets: 0,
|
|
54
|
+
descriptions: 0,
|
|
55
|
+
images: 1,
|
|
56
|
+
},
|
|
57
|
+
statusByRetailer: {
|
|
58
|
+
59: {
|
|
59
|
+
images: "AP",
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
retailersWithService: ["59"],
|
|
63
|
+
checked: false,
|
|
64
|
+
id_article: 28099,
|
|
35
65
|
retailersAvailable: [
|
|
36
66
|
{
|
|
37
|
-
id:
|
|
38
|
-
name: "
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
67
|
+
id: 58,
|
|
68
|
+
name: "The Home Depot Golden",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: 59,
|
|
72
|
+
name: "The Home Depot Platinum",
|
|
42
73
|
},
|
|
43
74
|
],
|
|
44
|
-
missing: {},
|
|
45
75
|
},
|
|
46
76
|
productToEdit: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
product:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
77
|
+
ArticleId: 28099,
|
|
78
|
+
idCategory: "2125",
|
|
79
|
+
product: {
|
|
80
|
+
orderId: 1936,
|
|
81
|
+
article_status: "AP",
|
|
82
|
+
datasheet_status: "NS",
|
|
83
|
+
description_status: "NS",
|
|
84
|
+
images_status: "AP",
|
|
85
|
+
prio: "none",
|
|
86
|
+
version: 3,
|
|
87
|
+
brand: null,
|
|
88
|
+
article: {
|
|
89
|
+
category: "Herramientas|Herramientas Manuales|Espátulas y Llanas",
|
|
90
|
+
company_name: "TRUPER SA DE CV",
|
|
91
|
+
id_company: 301,
|
|
92
|
+
country: null,
|
|
93
|
+
id_category: "2125",
|
|
94
|
+
id_article: 28099,
|
|
95
|
+
name: 'Espátula flexible, mango de madera, 6"',
|
|
96
|
+
upc: "90364",
|
|
97
|
+
},
|
|
98
|
+
retailers: [
|
|
99
|
+
{
|
|
100
|
+
id: 58,
|
|
101
|
+
name: "The Home Depot Golden",
|
|
64
102
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
id_category: "2999",
|
|
69
|
-
id_article: 69031,
|
|
70
|
-
name: "RESIZING",
|
|
71
|
-
timestamp: "2022-06-23T15:53:54.000Z",
|
|
72
|
-
upc: "130994",
|
|
103
|
+
{
|
|
104
|
+
id: 59,
|
|
105
|
+
name: "The Home Depot Platinum",
|
|
73
106
|
},
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
images: 1,
|
|
107
|
+
],
|
|
108
|
+
services: {
|
|
109
|
+
datasheets: 0,
|
|
110
|
+
descriptions: 0,
|
|
111
|
+
images: 1,
|
|
112
|
+
},
|
|
113
|
+
statusByRetailer: {
|
|
114
|
+
59: {
|
|
115
|
+
images: "AP",
|
|
84
116
|
},
|
|
85
|
-
checked: false,
|
|
86
|
-
retailersAvailable: [
|
|
87
|
-
{
|
|
88
|
-
id: 60,
|
|
89
|
-
name: "The Home Depot Resizing",
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
id_article: 69031,
|
|
93
|
-
categoryName: "RESIZING|RESIZING|RESIZING",
|
|
94
|
-
version_status: "AC",
|
|
95
117
|
},
|
|
96
|
-
|
|
118
|
+
retailersWithService: ["59"],
|
|
119
|
+
checked: false,
|
|
120
|
+
id_article: 28099,
|
|
121
|
+
retailersAvailable: [
|
|
122
|
+
{
|
|
123
|
+
id: 58,
|
|
124
|
+
name: "The Home Depot Golden",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: 59,
|
|
128
|
+
name: "The Home Depot Platinum",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
},
|
|
97
132
|
},
|
|
98
133
|
location: {
|
|
99
134
|
state: { origin: "Contentoh" },
|
|
100
135
|
},
|
|
101
136
|
user: {
|
|
102
|
-
id_user:
|
|
103
|
-
name: "
|
|
104
|
-
last_name: "
|
|
105
|
-
email: "
|
|
106
|
-
position: "
|
|
107
|
-
telephone: "+
|
|
137
|
+
id_user: 1237,
|
|
138
|
+
name: "The Home",
|
|
139
|
+
last_name: "Depot",
|
|
140
|
+
email: "retailerThd@AllFreeMail.net",
|
|
141
|
+
position: "Retailer",
|
|
142
|
+
telephone: "+523111111111",
|
|
108
143
|
country: "México",
|
|
109
|
-
id_company:
|
|
110
|
-
id_cognito: "
|
|
144
|
+
id_company: 817,
|
|
145
|
+
id_cognito: "abe188e2-25b1-4a19-8672-0d4bc11a9bf2",
|
|
111
146
|
birth_Date: null,
|
|
112
147
|
about_me: null,
|
|
113
148
|
zip_code: null,
|
|
@@ -116,12 +151,12 @@ ProviderProductEditionDefault.args = {
|
|
|
116
151
|
id_stripe: null,
|
|
117
152
|
id_role: 0,
|
|
118
153
|
active: 1,
|
|
119
|
-
is_retailer:
|
|
154
|
+
is_retailer: 1,
|
|
120
155
|
email_notify: 1,
|
|
121
156
|
membership: {
|
|
122
|
-
id:
|
|
123
|
-
start_date: "2022-06-
|
|
124
|
-
end_date: "2023-06-
|
|
157
|
+
id: 798,
|
|
158
|
+
start_date: "2022-06-19T04:25:07.000Z",
|
|
159
|
+
end_date: "2023-06-19T04:25:07.000Z",
|
|
125
160
|
planID: 6,
|
|
126
161
|
plan: "prod_KvGd6YSTJyR3AP",
|
|
127
162
|
name: "Plan Small",
|
|
@@ -129,20 +164,42 @@ ProviderProductEditionDefault.args = {
|
|
|
129
164
|
products_limit: "1000",
|
|
130
165
|
type: "Enterprise",
|
|
131
166
|
},
|
|
132
|
-
src: "https://content-management-profile-prod.s3.amazonaws.com/id-
|
|
167
|
+
src: "https://content-management-profile-prod.s3.amazonaws.com/id-1237/1237.png?1659539733360",
|
|
133
168
|
},
|
|
134
169
|
company: {
|
|
135
|
-
id_company:
|
|
136
|
-
trade_name: "
|
|
137
|
-
company_name: "
|
|
138
|
-
rfc:
|
|
139
|
-
adress: "",
|
|
140
|
-
about_company:
|
|
141
|
-
telephone:
|
|
142
|
-
web_site:
|
|
143
|
-
zip_code:
|
|
170
|
+
id_company: 817,
|
|
171
|
+
trade_name: "Retailer acc",
|
|
172
|
+
company_name: "Retailer acc",
|
|
173
|
+
rfc: "ASER12345",
|
|
174
|
+
adress: "Av. Insurgentes",
|
|
175
|
+
about_company: null,
|
|
176
|
+
telephone: null,
|
|
177
|
+
web_site: null,
|
|
178
|
+
zip_code: null,
|
|
144
179
|
email: null,
|
|
145
|
-
social_link:
|
|
146
|
-
is_retailer:
|
|
180
|
+
social_link: null,
|
|
181
|
+
is_retailer: 1,
|
|
182
|
+
retailers: [
|
|
183
|
+
{
|
|
184
|
+
id: 58,
|
|
185
|
+
name: "The Home Depot Golden",
|
|
186
|
+
country: "México",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
id: 59,
|
|
190
|
+
name: "The Home Depot Platinum",
|
|
191
|
+
country: "México",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
id: 60,
|
|
195
|
+
name: "The Home Depot Resizing",
|
|
196
|
+
country: "México",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: 61,
|
|
200
|
+
name: "Home Depot TAB",
|
|
201
|
+
country: "México",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
147
204
|
},
|
|
148
205
|
};
|
|
@@ -1209,7 +1209,9 @@ export const ProviderProductEdition = ({
|
|
|
1209
1209
|
<FullTabsMenu
|
|
1210
1210
|
tabsSections={tabsSections}
|
|
1211
1211
|
status={
|
|
1212
|
-
activeRetailer
|
|
1212
|
+
activeRetailer?.id &&
|
|
1213
|
+
retailerStatus &&
|
|
1214
|
+
retailerStatus[activeRetailer.id]
|
|
1213
1215
|
? retailerStatus[activeRetailer?.id][getConcept(activeTab)] ||
|
|
1214
1216
|
"NS"
|
|
1215
1217
|
: "-"
|