contentoh-components-library 21.3.54 → 21.3.55
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/Status/styles.js +1 -1
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +23 -18
- package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +4 -4
- package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +11 -68
- 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/DashboardMetric/dashboardMetricUtils.js +0 -27
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/organisms/GlobalModal/styles.js +1 -1
- package/dist/components/organisms/OrderDetail/styles.js +1 -1
- package/dist/components/organisms/OrderDetail/utils/Table/styles.js +1 -1
- package/dist/components/pages/Dashboard/Dashboard.stories.js +50 -31
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +81 -198
- package/dist/components/pages/ProviderProductEdition/index.js +429 -725
- package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +139 -86
- package/dist/components/pages/RetailerProductEdition/index.js +279 -268
- 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 +6 -7
- package/src/components/atoms/ButtonV2/styles.js +1 -1
- package/src/components/atoms/Status/styles.js +0 -4
- package/src/components/atoms/VerticalSideMenuMainPage/index.js +22 -18
- package/src/components/atoms/VerticalSideMenuMainPage/styles.js +4 -3
- package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +6 -52
- 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/DashboardMetric/dashboardMetricUtils.js +1 -18
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/GlobalModal/styles.js +0 -10
- package/src/components/organisms/OrderDetail/index.js +0 -1
- package/src/components/organisms/OrderDetail/styles.js +1 -1
- package/src/components/organisms/OrderDetail/utils/Table/styles.js +1 -0
- package/src/components/pages/Dashboard/Dashboard.stories.js +55 -31
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +88 -214
- package/src/components/pages/ProviderProductEdition/index.js +160 -323
- package/src/components/pages/ProviderProductEdition/styles.js +1 -5
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +146 -89
- package/src/components/pages/RetailerProductEdition/index.js +138 -112
- 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/TableResizable/TableResizable.stories.js +0 -17
- package/src/components/organisms/TableResizable/index.js +0 -119
- package/src/components/organisms/TableResizable/styles.js +0 -133
- package/src/components/organisms/TableResizable/utils.js +0 -46
|
@@ -31,238 +31,121 @@ ProviderProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExV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mE8sRA6qRNb_tFUCt1oee_ulgqm_2wTjb7qGMGvY1eb1J1IX2pBYKnBy64KM6J5xFfZ57ac_bGruYhCzUexPBWyZKc5ckoY2zJqK5m5Ok7ds0m1hC0t-eQSGX_8KMsGQKiHevQ07cZUQ9mxOGVweRuAqITNx8fVmpD9QTpoZJJ5STVVcKO2CS0ltyE_DNlyejO7mZqbKvGEeLYc4ga0nozK9aP8H2cN_topT0d4JZ5rA",
|
|
35
35
|
articleId: 238,
|
|
36
36
|
category: 846,
|
|
37
37
|
version: 2,
|
|
38
38
|
productSelected: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
},
|
|
58
|
-
article: {
|
|
59
|
-
category: "Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
60
|
-
company_name: "GRUPO BRAHMA",
|
|
61
|
-
country: "México",
|
|
62
|
-
id_category: "697",
|
|
63
|
-
id_datasheet_especialist: 54,
|
|
64
|
-
id_datasheet_facilitator: 52,
|
|
65
|
-
id_description_especialist: 54,
|
|
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"
|
|
75
|
-
},
|
|
76
|
-
retailers: [{
|
|
77
|
-
id: 12,
|
|
78
|
-
name: "La Comer"
|
|
79
|
-
}, {
|
|
80
|
-
id: 29,
|
|
81
|
-
name: "Farmacias del Ahorro"
|
|
82
|
-
}, {
|
|
83
|
-
id: 63,
|
|
84
|
-
name: "DAX"
|
|
85
|
-
}],
|
|
86
|
-
statusByRetailer: {
|
|
87
|
-
12: {
|
|
88
|
-
datasheet: "AA",
|
|
89
|
-
description: "AA",
|
|
90
|
-
images: "AA"
|
|
91
|
-
},
|
|
92
|
-
29: {
|
|
93
|
-
datasheet: "AA",
|
|
94
|
-
description: "AA",
|
|
95
|
-
images: "AA"
|
|
96
|
-
},
|
|
97
|
-
63: {
|
|
98
|
-
datasheet: "AA",
|
|
99
|
-
description: "AA",
|
|
100
|
-
images: "AA"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
checked: false,
|
|
39
|
+
category: "Iluminación|Lámparas de Interior|Pie y Pedestal",
|
|
40
|
+
company_name: "Demo",
|
|
41
|
+
company_id: 923,
|
|
42
|
+
id_category: "2676",
|
|
43
|
+
id_article: 17163,
|
|
44
|
+
name: "Eglo 95055",
|
|
45
|
+
upc: "165033",
|
|
46
|
+
version: 1,
|
|
104
47
|
retailersAvailable: [{
|
|
105
|
-
id:
|
|
106
|
-
name: "
|
|
107
|
-
}
|
|
108
|
-
id: 29,
|
|
109
|
-
name: "Farmacias del Ahorro"
|
|
110
|
-
}, {
|
|
111
|
-
id: 63,
|
|
112
|
-
name: "DAX"
|
|
113
|
-
}],
|
|
114
|
-
categoryName: "Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
115
|
-
upc: "750955287656712",
|
|
116
|
-
id_article: 39270,
|
|
117
|
-
id_order: 15142
|
|
48
|
+
id: 68,
|
|
49
|
+
name: "The Home Depot Merchants"
|
|
50
|
+
}]
|
|
118
51
|
},
|
|
119
52
|
productToEdit: {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
product: {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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
|
-
},
|
|
142
|
-
article: {
|
|
143
|
-
category: "Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
144
|
-
company_name: "GRUPO BRAHMA",
|
|
145
|
-
country: "México",
|
|
146
|
-
id_category: "697",
|
|
147
|
-
id_datasheet_especialist: 54,
|
|
148
|
-
id_datasheet_facilitator: 52,
|
|
149
|
-
id_description_especialist: 54,
|
|
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"
|
|
159
|
-
},
|
|
160
|
-
retailers: [{
|
|
161
|
-
id: 12,
|
|
162
|
-
name: "La Comer"
|
|
163
|
-
}, {
|
|
164
|
-
id: 29,
|
|
165
|
-
name: "Farmacias del Ahorro"
|
|
166
|
-
}, {
|
|
167
|
-
id: 63,
|
|
168
|
-
name: "DAX"
|
|
169
|
-
}],
|
|
170
|
-
statusByRetailer: {
|
|
171
|
-
12: {
|
|
172
|
-
datasheet: "AA",
|
|
173
|
-
description: "AA",
|
|
174
|
-
images: "AA"
|
|
175
|
-
},
|
|
176
|
-
29: {
|
|
177
|
-
datasheet: "AA",
|
|
178
|
-
description: "AA",
|
|
179
|
-
images: "AA"
|
|
180
|
-
},
|
|
181
|
-
63: {
|
|
182
|
-
datasheet: "AA",
|
|
183
|
-
description: "AA",
|
|
184
|
-
images: "AA"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
checked: false,
|
|
53
|
+
idCategory: "2676",
|
|
54
|
+
ArticleId: 17163,
|
|
55
|
+
product: [{
|
|
56
|
+
category: "Iluminación|Lámparas de Interior|Pie y Pedestal",
|
|
57
|
+
company_name: "Demo",
|
|
58
|
+
company_id: 923,
|
|
59
|
+
id_category: "2676",
|
|
60
|
+
id_article: 17163,
|
|
61
|
+
name: "Eglo 95055",
|
|
62
|
+
upc: "165033",
|
|
63
|
+
version: 1,
|
|
188
64
|
retailersAvailable: [{
|
|
189
|
-
id:
|
|
190
|
-
name: "
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
name: "Farmacias del Ahorro"
|
|
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
|
|
202
|
-
}
|
|
65
|
+
id: 68,
|
|
66
|
+
name: "The Home Depot Merchants"
|
|
67
|
+
}]
|
|
68
|
+
}]
|
|
203
69
|
},
|
|
204
70
|
location: {
|
|
205
71
|
pathname: "/EditProducts",
|
|
206
72
|
search: "",
|
|
207
73
|
hash: "",
|
|
208
74
|
state: {
|
|
209
|
-
withChat: true
|
|
210
|
-
chatType: "product_status",
|
|
211
|
-
origin: "RequestWithContentoh"
|
|
75
|
+
withChat: true
|
|
212
76
|
},
|
|
213
77
|
key: "24vwut"
|
|
214
78
|
},
|
|
215
79
|
user: {
|
|
216
|
-
id_user:
|
|
217
|
-
name: "
|
|
218
|
-
last_name: "
|
|
219
|
-
email: "
|
|
220
|
-
position: "
|
|
80
|
+
id_user: 59,
|
|
81
|
+
name: "Cadena",
|
|
82
|
+
last_name: "Comercial",
|
|
83
|
+
email: "cadena.ismael@allfreemail.net",
|
|
84
|
+
position: "Admin",
|
|
221
85
|
telephone: "+523111366336",
|
|
222
86
|
country: "México",
|
|
223
|
-
id_company:
|
|
224
|
-
id_cognito: "
|
|
87
|
+
id_company: 817,
|
|
88
|
+
id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
|
|
225
89
|
birth_Date: null,
|
|
226
90
|
about_me: "",
|
|
227
91
|
zip_code: "",
|
|
228
92
|
address: "",
|
|
229
93
|
job: "",
|
|
230
|
-
id_stripe: "
|
|
94
|
+
id_stripe: "",
|
|
231
95
|
id_role: 0,
|
|
232
96
|
active: 1,
|
|
233
|
-
is_retailer:
|
|
234
|
-
email_notify:
|
|
235
|
-
is_user_tech:
|
|
97
|
+
is_retailer: 1,
|
|
98
|
+
email_notify: 0,
|
|
99
|
+
is_user_tech: null,
|
|
236
100
|
membership: {
|
|
237
|
-
id:
|
|
238
|
-
start_date: "2022-
|
|
239
|
-
end_date: "2023-
|
|
240
|
-
planID:
|
|
241
|
-
plan: "
|
|
101
|
+
id: 47,
|
|
102
|
+
start_date: "2022-05-25T14:31:12.000Z",
|
|
103
|
+
end_date: "2023-05-25T14:31:12.000Z",
|
|
104
|
+
planID: 5,
|
|
105
|
+
plan: "prod_Ktl6B5Ou2gqTB2",
|
|
242
106
|
name: "Plan Pro",
|
|
243
|
-
user_limit: "
|
|
244
|
-
products_limit: "
|
|
245
|
-
type: "
|
|
107
|
+
user_limit: "5",
|
|
108
|
+
products_limit: "500",
|
|
109
|
+
type: "PyMES"
|
|
246
110
|
},
|
|
247
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
111
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1680038627077"
|
|
248
112
|
},
|
|
249
113
|
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:
|
|
114
|
+
id_company: 817,
|
|
115
|
+
trade_name: "Retailer acc",
|
|
116
|
+
company_name: "Retailer acc",
|
|
117
|
+
rfc: "ASER12345",
|
|
118
|
+
adress: "Av. Insurgentes",
|
|
119
|
+
about_company: null,
|
|
120
|
+
telephone: null,
|
|
121
|
+
web_site: null,
|
|
122
|
+
zip_code: null,
|
|
259
123
|
email: null,
|
|
260
|
-
social_link:
|
|
261
|
-
is_retailer:
|
|
124
|
+
social_link: null,
|
|
125
|
+
is_retailer: 1,
|
|
126
|
+
financedRetailers: [{
|
|
127
|
+
id: 68,
|
|
128
|
+
name: "The Home Depot Merchants",
|
|
129
|
+
country: "México",
|
|
130
|
+
id_region: 1,
|
|
131
|
+
active: 1
|
|
132
|
+
}],
|
|
262
133
|
retailers: [{
|
|
263
|
-
id:
|
|
264
|
-
name:
|
|
265
|
-
country:
|
|
134
|
+
id: 59,
|
|
135
|
+
name: "The Home Depot Platinum",
|
|
136
|
+
country: "México"
|
|
137
|
+
}, {
|
|
138
|
+
id: 60,
|
|
139
|
+
name: "The Home Depot Resizing",
|
|
140
|
+
country: "México"
|
|
141
|
+
}, {
|
|
142
|
+
id: 61,
|
|
143
|
+
name: "Home Depot TAB",
|
|
144
|
+
country: "México"
|
|
145
|
+
}, {
|
|
146
|
+
id: 68,
|
|
147
|
+
name: "The Home Depot Merchants",
|
|
148
|
+
country: "México"
|
|
266
149
|
}]
|
|
267
150
|
},
|
|
268
151
|
showSurvey: function showSurvey(v) {
|