contentoh-components-library 21.3.66 → 21.3.67
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/.env.development +0 -2
- package/dist/assets/fonts/roboto/LICENSE.txt +202 -0
- package/dist/components/atoms/ButtonV2/styles.js +1 -1
- package/dist/components/atoms/InputFormatter/styles.js +1 -1
- package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +11 -68
- package/dist/components/molecules/TagAndInput/index.js +1 -1
- package/dist/components/organisms/Chat/Chat.stories.js +1 -21
- package/dist/components/organisms/Chat/ContainerItems/index.js +3 -19
- package/dist/components/organisms/Chat/ContainerItems/styles.js +1 -1
- package/dist/components/organisms/Chat/ContentChat/index.js +191 -343
- package/dist/components/organisms/Chat/Footer/index.js +39 -48
- package/dist/components/organisms/Chat/index.js +3 -48
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/organisms/Modal/styles.js +1 -1
- package/dist/components/organisms/SideModal/index.js +0 -11
- package/dist/components/organisms/SideModal/styles.js +1 -1
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +127 -172
- package/dist/components/pages/ProviderProductEdition/index.js +175 -188
- package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +28 -40
- package/dist/components/pages/RetailerProductEdition/index.js +273 -265
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/utils.js +2 -61
- package/dist/index.js +0 -13
- package/package.json +1 -1
- package/src/components/atoms/ButtonV2/styles.js +1 -1
- package/src/components/atoms/InputFormatter/styles.js +1 -2
- package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +6 -52
- package/src/components/molecules/TagAndInput/index.js +8 -10
- package/src/components/organisms/Chat/Chat.stories.js +0 -21
- package/src/components/organisms/Chat/ContainerItems/index.js +2 -18
- package/src/components/organisms/Chat/ContainerItems/styles.js +2 -10
- package/src/components/organisms/Chat/ContentChat/index.js +6 -81
- package/src/components/organisms/Chat/Footer/index.js +0 -11
- package/src/components/organisms/Chat/index.js +3 -47
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/Modal/styles.js +1 -4
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +130 -177
- package/src/components/pages/ProviderProductEdition/index.js +129 -132
- package/src/components/pages/ProviderProductEdition/styles.js +1 -5
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +26 -38
- package/src/components/pages/RetailerProductEdition/index.js +135 -109
- package/src/components/pages/RetailerProductEdition/styles.js +0 -4
- package/src/components/pages/RetailerProductEdition/utils.js +0 -37
- package/src/index.js +0 -1
- package/src/components/organisms/SideModal/SideModal.stories.js +0 -23
- package/src/components/organisms/SideModal/index.js +0 -50
- package/src/components/organisms/SideModal/styles.js +0 -30
|
@@ -31,174 +31,108 @@ ProviderProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI1ODg0YWUzNC01OWQ2LTQ0NTQtYjk4ZS04MjE1MThiY2MzYTciLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LT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|
39
|
+
orderId: 15165,
|
|
40
|
+
article_status: "AAC",
|
|
41
|
+
datasheet_status: "AAC",
|
|
42
|
+
description_status: "FAP",
|
|
43
|
+
images_status: "FAP",
|
|
42
44
|
prio: "none",
|
|
43
45
|
version: 3,
|
|
44
|
-
|
|
45
|
-
images_status: "AA",
|
|
46
|
-
brand: "Garnier",
|
|
47
|
-
retailerOrder: 0,
|
|
48
|
-
missing: {
|
|
49
|
-
datasheet: null,
|
|
50
|
-
descriptions: null,
|
|
51
|
-
images: null
|
|
52
|
-
},
|
|
53
|
-
services: {
|
|
54
|
-
datasheets: 1,
|
|
55
|
-
descriptions: 1,
|
|
56
|
-
images: 1
|
|
57
|
-
},
|
|
46
|
+
brand: null,
|
|
58
47
|
article: {
|
|
59
|
-
category: "
|
|
60
|
-
company_name: "
|
|
48
|
+
category: "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
|
|
49
|
+
company_name: "Demo",
|
|
50
|
+
id_company: 923,
|
|
61
51
|
country: "México",
|
|
62
|
-
id_category: "
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
id_description_facilitator: 52,
|
|
67
|
-
id_images_especialist: 55,
|
|
68
|
-
id_images_facilitator: 53,
|
|
69
|
-
id_order: 15142,
|
|
70
|
-
id_article: 39270,
|
|
71
|
-
id_auditor: 37,
|
|
72
|
-
name: "Acondicionador Garnier Fructis 650 ml",
|
|
73
|
-
timestamp: "2023-03-27T18:37:48.000Z",
|
|
74
|
-
upc: "750955287656712"
|
|
52
|
+
id_category: "2366",
|
|
53
|
+
id_article: 39336,
|
|
54
|
+
name: "Prueba Auditoria",
|
|
55
|
+
upc: "100030124"
|
|
75
56
|
},
|
|
76
57
|
retailers: [{
|
|
77
|
-
id:
|
|
78
|
-
name: "
|
|
79
|
-
}, {
|
|
80
|
-
id: 29,
|
|
81
|
-
name: "Farmacias del Ahorro"
|
|
58
|
+
id: 58,
|
|
59
|
+
name: "The Home Depot Golden"
|
|
82
60
|
}, {
|
|
83
|
-
id:
|
|
84
|
-
name: "
|
|
61
|
+
id: 68,
|
|
62
|
+
name: "The Home Depot Dropship"
|
|
85
63
|
}],
|
|
64
|
+
services: {
|
|
65
|
+
datasheets: 1,
|
|
66
|
+
descriptions: 1,
|
|
67
|
+
images: 1
|
|
68
|
+
},
|
|
86
69
|
statusByRetailer: {
|
|
87
|
-
|
|
88
|
-
datasheet: "
|
|
89
|
-
description: "
|
|
90
|
-
images: "
|
|
91
|
-
},
|
|
92
|
-
29: {
|
|
93
|
-
datasheet: "AA",
|
|
94
|
-
description: "AA",
|
|
95
|
-
images: "AA"
|
|
96
|
-
},
|
|
97
|
-
63: {
|
|
98
|
-
datasheet: "AA",
|
|
99
|
-
description: "AA",
|
|
100
|
-
images: "AA"
|
|
70
|
+
58: {
|
|
71
|
+
datasheet: "AAC",
|
|
72
|
+
description: "FAP",
|
|
73
|
+
images: "FAP"
|
|
101
74
|
}
|
|
102
75
|
},
|
|
103
|
-
|
|
76
|
+
retailersWithService: ["58"],
|
|
77
|
+
id_article: 39336,
|
|
104
78
|
retailersAvailable: [{
|
|
105
|
-
id:
|
|
106
|
-
name: "
|
|
107
|
-
}, {
|
|
108
|
-
id: 29,
|
|
109
|
-
name: "Farmacias del Ahorro"
|
|
79
|
+
id: 58,
|
|
80
|
+
name: "The Home Depot Golden"
|
|
110
81
|
}, {
|
|
111
|
-
id:
|
|
112
|
-
name: "
|
|
113
|
-
}]
|
|
114
|
-
categoryName: "Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
115
|
-
upc: "750955287656712",
|
|
116
|
-
id_article: 39270,
|
|
117
|
-
id_order: 15142
|
|
82
|
+
id: 68,
|
|
83
|
+
name: "The Home Depot Dropship"
|
|
84
|
+
}]
|
|
118
85
|
},
|
|
119
86
|
productToEdit: {
|
|
120
|
-
ArticleId:
|
|
121
|
-
idCategory: "
|
|
87
|
+
ArticleId: 39336,
|
|
88
|
+
idCategory: "2366",
|
|
122
89
|
product: {
|
|
123
|
-
orderId:
|
|
124
|
-
|
|
125
|
-
datasheet_status: "
|
|
90
|
+
orderId: 15165,
|
|
91
|
+
article_status: "AAC",
|
|
92
|
+
datasheet_status: "AAC",
|
|
93
|
+
description_status: "FAP",
|
|
94
|
+
images_status: "FAP",
|
|
126
95
|
prio: "none",
|
|
127
96
|
version: 3,
|
|
128
|
-
|
|
129
|
-
images_status: "AA",
|
|
130
|
-
brand: "Garnier",
|
|
131
|
-
retailerOrder: 0,
|
|
132
|
-
missing: {
|
|
133
|
-
datasheet: null,
|
|
134
|
-
descriptions: null,
|
|
135
|
-
images: null
|
|
136
|
-
},
|
|
137
|
-
services: {
|
|
138
|
-
datasheets: 1,
|
|
139
|
-
descriptions: 1,
|
|
140
|
-
images: 1
|
|
141
|
-
},
|
|
97
|
+
brand: null,
|
|
142
98
|
article: {
|
|
143
|
-
category: "
|
|
144
|
-
company_name: "
|
|
99
|
+
category: "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
|
|
100
|
+
company_name: "Demo",
|
|
101
|
+
id_company: 923,
|
|
145
102
|
country: "México",
|
|
146
|
-
id_category: "
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
id_description_facilitator: 52,
|
|
151
|
-
id_images_especialist: 55,
|
|
152
|
-
id_images_facilitator: 53,
|
|
153
|
-
id_order: 15142,
|
|
154
|
-
id_article: 39270,
|
|
155
|
-
id_auditor: 37,
|
|
156
|
-
name: "Acondicionador Garnier Fructis 650 ml",
|
|
157
|
-
timestamp: "2023-03-27T18:37:48.000Z",
|
|
158
|
-
upc: "750955287656712"
|
|
103
|
+
id_category: "2366",
|
|
104
|
+
id_article: 39336,
|
|
105
|
+
name: "Prueba Auditoria",
|
|
106
|
+
upc: "100030124"
|
|
159
107
|
},
|
|
160
108
|
retailers: [{
|
|
161
|
-
id:
|
|
162
|
-
name: "
|
|
163
|
-
}, {
|
|
164
|
-
id: 29,
|
|
165
|
-
name: "Farmacias del Ahorro"
|
|
109
|
+
id: 58,
|
|
110
|
+
name: "The Home Depot Golden"
|
|
166
111
|
}, {
|
|
167
|
-
id:
|
|
168
|
-
name: "
|
|
112
|
+
id: 68,
|
|
113
|
+
name: "The Home Depot Dropship"
|
|
169
114
|
}],
|
|
115
|
+
services: {
|
|
116
|
+
datasheets: 1,
|
|
117
|
+
descriptions: 1,
|
|
118
|
+
images: 1
|
|
119
|
+
},
|
|
170
120
|
statusByRetailer: {
|
|
171
|
-
|
|
172
|
-
datasheet: "
|
|
173
|
-
description: "
|
|
174
|
-
images: "
|
|
175
|
-
},
|
|
176
|
-
29: {
|
|
177
|
-
datasheet: "AA",
|
|
178
|
-
description: "AA",
|
|
179
|
-
images: "AA"
|
|
180
|
-
},
|
|
181
|
-
63: {
|
|
182
|
-
datasheet: "AA",
|
|
183
|
-
description: "AA",
|
|
184
|
-
images: "AA"
|
|
121
|
+
58: {
|
|
122
|
+
datasheet: "AAC",
|
|
123
|
+
description: "FAP",
|
|
124
|
+
images: "FAP"
|
|
185
125
|
}
|
|
186
126
|
},
|
|
187
|
-
|
|
127
|
+
retailersWithService: ["58"],
|
|
128
|
+
id_article: 39336,
|
|
188
129
|
retailersAvailable: [{
|
|
189
|
-
id:
|
|
190
|
-
name: "
|
|
130
|
+
id: 58,
|
|
131
|
+
name: "The Home Depot Golden"
|
|
191
132
|
}, {
|
|
192
|
-
id:
|
|
193
|
-
name: "
|
|
194
|
-
}
|
|
195
|
-
id: 63,
|
|
196
|
-
name: "DAX"
|
|
197
|
-
}],
|
|
198
|
-
categoryName: "Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
199
|
-
upc: "750955287656712",
|
|
200
|
-
id_article: 39270,
|
|
201
|
-
id_order: 15142
|
|
133
|
+
id: 68,
|
|
134
|
+
name: "The Home Depot Dropship"
|
|
135
|
+
}]
|
|
202
136
|
}
|
|
203
137
|
},
|
|
204
138
|
location: {
|
|
@@ -206,63 +140,84 @@ ProviderProductEditionDefault.args = {
|
|
|
206
140
|
search: "",
|
|
207
141
|
hash: "",
|
|
208
142
|
state: {
|
|
209
|
-
withChat: true
|
|
210
|
-
chatType: "product_status",
|
|
211
|
-
origin: "RequestWithContentoh"
|
|
143
|
+
withChat: true
|
|
212
144
|
},
|
|
213
145
|
key: "24vwut"
|
|
214
146
|
},
|
|
215
147
|
user: {
|
|
216
|
-
id_user:
|
|
217
|
-
name: "
|
|
218
|
-
last_name: "
|
|
219
|
-
email: "
|
|
220
|
-
position: "
|
|
148
|
+
id_user: 59,
|
|
149
|
+
name: "Cadena",
|
|
150
|
+
last_name: "Comercial",
|
|
151
|
+
email: "cadena.ismael@allfreemail.net",
|
|
152
|
+
position: "Admin",
|
|
221
153
|
telephone: "+523111366336",
|
|
222
154
|
country: "México",
|
|
223
|
-
id_company:
|
|
224
|
-
id_cognito: "
|
|
155
|
+
id_company: 817,
|
|
156
|
+
id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
|
|
225
157
|
birth_Date: null,
|
|
226
158
|
about_me: "",
|
|
227
159
|
zip_code: "",
|
|
228
160
|
address: "",
|
|
229
161
|
job: "",
|
|
230
|
-
id_stripe: "
|
|
162
|
+
id_stripe: "",
|
|
231
163
|
id_role: 0,
|
|
232
164
|
active: 1,
|
|
233
|
-
is_retailer:
|
|
234
|
-
email_notify:
|
|
235
|
-
is_user_tech:
|
|
165
|
+
is_retailer: 1,
|
|
166
|
+
email_notify: 0,
|
|
167
|
+
is_user_tech: null,
|
|
236
168
|
membership: {
|
|
237
|
-
id:
|
|
238
|
-
start_date: "2022-
|
|
239
|
-
end_date: "2023-
|
|
240
|
-
planID:
|
|
241
|
-
plan: "
|
|
169
|
+
id: 47,
|
|
170
|
+
start_date: "2022-05-25T14:31:12.000Z",
|
|
171
|
+
end_date: "2023-05-25T14:31:12.000Z",
|
|
172
|
+
planID: 5,
|
|
173
|
+
plan: "prod_Ktl6B5Ou2gqTB2",
|
|
242
174
|
name: "Plan Pro",
|
|
243
|
-
user_limit: "
|
|
244
|
-
products_limit: "
|
|
245
|
-
type: "
|
|
175
|
+
user_limit: "5",
|
|
176
|
+
products_limit: "500",
|
|
177
|
+
type: "PyMES"
|
|
246
178
|
},
|
|
247
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
179
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1682462786497"
|
|
248
180
|
},
|
|
249
181
|
company: {
|
|
250
|
-
id_company:
|
|
251
|
-
trade_name: "
|
|
252
|
-
company_name: "
|
|
253
|
-
rfc: "
|
|
254
|
-
adress: "
|
|
255
|
-
about_company:
|
|
256
|
-
telephone:
|
|
257
|
-
web_site:
|
|
258
|
-
zip_code:
|
|
182
|
+
id_company: 817,
|
|
183
|
+
trade_name: "Retailer acc",
|
|
184
|
+
company_name: "Retailer acc",
|
|
185
|
+
rfc: "ASER12345",
|
|
186
|
+
adress: "Av. Insurgentes",
|
|
187
|
+
about_company: null,
|
|
188
|
+
telephone: null,
|
|
189
|
+
web_site: null,
|
|
190
|
+
zip_code: null,
|
|
259
191
|
email: null,
|
|
260
|
-
social_link:
|
|
261
|
-
is_retailer:
|
|
192
|
+
social_link: null,
|
|
193
|
+
is_retailer: 1,
|
|
194
|
+
financedRetailers: [{
|
|
195
|
+
id: 68,
|
|
196
|
+
name: "The Home Depot Dropship",
|
|
197
|
+
country: "México",
|
|
198
|
+
id_region: 1,
|
|
199
|
+
active: 1
|
|
200
|
+
}],
|
|
262
201
|
retailers: [{
|
|
263
|
-
id:
|
|
264
|
-
name:
|
|
265
|
-
country:
|
|
202
|
+
id: 59,
|
|
203
|
+
name: "The Home Depot Platinum",
|
|
204
|
+
country: "México"
|
|
205
|
+
}, {
|
|
206
|
+
id: 60,
|
|
207
|
+
name: "The Home Depot Resizing",
|
|
208
|
+
country: "México"
|
|
209
|
+
}, {
|
|
210
|
+
id: 61,
|
|
211
|
+
name: "Home Depot TAB",
|
|
212
|
+
country: "México"
|
|
213
|
+
}, {
|
|
214
|
+
id: 68,
|
|
215
|
+
name: "The Home Depot Dropship",
|
|
216
|
+
country: "México"
|
|
217
|
+
}, {
|
|
218
|
+
id: 58,
|
|
219
|
+
name: "The Home Depot Golden",
|
|
220
|
+
country: "México"
|
|
266
221
|
}]
|
|
267
222
|
},
|
|
268
223
|
showSurvey: function showSurvey(v) {
|