contentoh-components-library 21.3.93 → 21.3.94
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 -5
- package/.env.production +0 -3
- package/dist/components/atoms/Card/index.js +5 -46
- package/dist/components/atoms/Card/styles.js +1 -3
- package/dist/components/atoms/CheckBox/index.js +2 -4
- 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 +8 -27
- 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 +197 -350
- package/dist/components/organisms/Chat/Footer/index.js +39 -48
- package/dist/components/organisms/Chat/index.js +4 -49
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/organisms/Modal/styles.js +1 -1
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +96 -171
- 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 +12 -51
- package/package.json +1 -3
- package/src/components/atoms/Card/index.js +2 -35
- package/src/components/atoms/Card/styles.js +5 -41
- package/src/components/atoms/CheckBox/index.js +0 -2
- 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 +7 -27
- 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 +12 -88
- package/src/components/organisms/Chat/Footer/index.js +0 -11
- package/src/components/organisms/Chat/index.js +4 -46
- 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 +98 -181
- 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 -3
- package/src/components/molecules/StripeCardForm/StripeCardForm.stories.js +0 -13
- package/src/components/molecules/StripeCardForm/index.js +0 -42
- package/src/components/molecules/StripeCardForm/paymentForm.js +0 -124
- package/src/components/molecules/StripeCardForm/styles.js +0 -73
- package/src/components/molecules/StripeCardSelector/CardSelector.stories.js +0 -12
- package/src/components/molecules/StripeCardSelector/index.js +0 -44
- package/src/components/molecules/StripeCardSelector/styles.js +0 -4
- package/src/components/molecules/StripeCardSelector/utils.js +0 -17
- 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
|
@@ -16,194 +16,106 @@ ProviderProductEditionDefault.args = {
|
|
|
16
16
|
Imágenes: false,
|
|
17
17
|
},
|
|
18
18
|
token:
|
|
19
|
-
"eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
19
|
+
"eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1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i1u-jTtMoKiUK-jw9MxI18hD0FWXVnJr-q9ftf2d0bv4JRv4XJ_tRh1N6jps5n3c_KKZswqRfGLU-8MS2X3DU6pDqEP2BZAGXksiFYXYH_uHE6BKJAl7EEhkDTqZsx_jWtVSXTdDg_QDKrOw0Kg",
|
|
20
20
|
articleId: 238,
|
|
21
21
|
category: 846,
|
|
22
22
|
version: 2,
|
|
23
23
|
productSelected: {
|
|
24
|
-
orderId:
|
|
25
|
-
|
|
26
|
-
datasheet_status: "
|
|
24
|
+
orderId: 15195,
|
|
25
|
+
article_status: "AP",
|
|
26
|
+
datasheet_status: "AP",
|
|
27
|
+
description_status: "AP",
|
|
28
|
+
images_status: "AP",
|
|
27
29
|
prio: "none",
|
|
28
30
|
version: 3,
|
|
29
|
-
|
|
30
|
-
images_status: "AA",
|
|
31
|
-
brand: "Garnier",
|
|
32
|
-
retailerOrder: 0,
|
|
33
|
-
missing: {
|
|
34
|
-
datasheet: null,
|
|
35
|
-
descriptions: null,
|
|
36
|
-
images: null,
|
|
37
|
-
},
|
|
38
|
-
services: {
|
|
39
|
-
datasheets: 1,
|
|
40
|
-
descriptions: 1,
|
|
41
|
-
images: 1,
|
|
42
|
-
},
|
|
31
|
+
brand: null,
|
|
43
32
|
article: {
|
|
44
33
|
category:
|
|
45
|
-
"
|
|
46
|
-
company_name: "
|
|
34
|
+
"Abarrotes Básicos|Abarrotes Básicos y Procesados|Abarrotes Básicos y Procesados",
|
|
35
|
+
company_name: "Financiado Bodega",
|
|
36
|
+
id_company: 912,
|
|
47
37
|
country: "México",
|
|
48
|
-
id_category: "
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
id_description_facilitator: 52,
|
|
53
|
-
id_images_especialist: 55,
|
|
54
|
-
id_images_facilitator: 53,
|
|
55
|
-
id_order: 15142,
|
|
56
|
-
id_article: 39270,
|
|
57
|
-
id_auditor: 37,
|
|
58
|
-
name: "Acondicionador Garnier Fructis 650 ml",
|
|
59
|
-
timestamp: "2023-03-27T18:37:48.000Z",
|
|
60
|
-
upc: "750955287656712",
|
|
38
|
+
id_category: "4004",
|
|
39
|
+
id_article: 39372,
|
|
40
|
+
name: "PRUEBA04BA",
|
|
41
|
+
upc: "001213",
|
|
61
42
|
},
|
|
62
43
|
retailers: [
|
|
63
44
|
{
|
|
64
|
-
id:
|
|
65
|
-
name: "
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
id: 29,
|
|
69
|
-
name: "Farmacias del Ahorro",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
id: 63,
|
|
73
|
-
name: "DAX",
|
|
45
|
+
id: 70,
|
|
46
|
+
name: "Bodega Aurrera",
|
|
74
47
|
},
|
|
75
48
|
],
|
|
49
|
+
services: {
|
|
50
|
+
datasheets: 1,
|
|
51
|
+
descriptions: 1,
|
|
52
|
+
images: 1,
|
|
53
|
+
},
|
|
76
54
|
statusByRetailer: {
|
|
77
|
-
|
|
78
|
-
datasheet: "
|
|
79
|
-
description: "
|
|
80
|
-
images: "
|
|
81
|
-
},
|
|
82
|
-
29: {
|
|
83
|
-
datasheet: "AA",
|
|
84
|
-
description: "AA",
|
|
85
|
-
images: "AA",
|
|
86
|
-
},
|
|
87
|
-
63: {
|
|
88
|
-
datasheet: "AA",
|
|
89
|
-
description: "AA",
|
|
90
|
-
images: "AA",
|
|
55
|
+
70: {
|
|
56
|
+
datasheet: "AP",
|
|
57
|
+
description: "AP",
|
|
58
|
+
images: "AP",
|
|
91
59
|
},
|
|
92
60
|
},
|
|
93
|
-
|
|
61
|
+
retailersWithService: ["70"],
|
|
62
|
+
id_article: 39372,
|
|
94
63
|
retailersAvailable: [
|
|
95
64
|
{
|
|
96
|
-
id:
|
|
97
|
-
name: "
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
id: 29,
|
|
101
|
-
name: "Farmacias del Ahorro",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
id: 63,
|
|
105
|
-
name: "DAX",
|
|
65
|
+
id: 70,
|
|
66
|
+
name: "Bodega Aurrera",
|
|
106
67
|
},
|
|
107
68
|
],
|
|
108
|
-
categoryName:
|
|
109
|
-
"Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
110
|
-
upc: "750955287656712",
|
|
111
|
-
id_article: 39270,
|
|
112
|
-
id_order: 15142,
|
|
113
69
|
},
|
|
114
70
|
productToEdit: {
|
|
115
|
-
ArticleId:
|
|
116
|
-
idCategory: "
|
|
71
|
+
ArticleId: 39372,
|
|
72
|
+
idCategory: "4004",
|
|
117
73
|
product: {
|
|
118
|
-
orderId:
|
|
119
|
-
|
|
120
|
-
datasheet_status: "
|
|
74
|
+
orderId: 15195,
|
|
75
|
+
article_status: "AP",
|
|
76
|
+
datasheet_status: "AP",
|
|
77
|
+
description_status: "AP",
|
|
78
|
+
images_status: "AP",
|
|
121
79
|
prio: "none",
|
|
122
80
|
version: 3,
|
|
123
|
-
|
|
124
|
-
images_status: "AA",
|
|
125
|
-
brand: "Garnier",
|
|
126
|
-
retailerOrder: 0,
|
|
127
|
-
missing: {
|
|
128
|
-
datasheet: null,
|
|
129
|
-
descriptions: null,
|
|
130
|
-
images: null,
|
|
131
|
-
},
|
|
132
|
-
services: {
|
|
133
|
-
datasheets: 1,
|
|
134
|
-
descriptions: 1,
|
|
135
|
-
images: 1,
|
|
136
|
-
},
|
|
81
|
+
brand: null,
|
|
137
82
|
article: {
|
|
138
83
|
category:
|
|
139
|
-
"
|
|
140
|
-
company_name: "
|
|
84
|
+
"Abarrotes Básicos|Abarrotes Básicos y Procesados|Abarrotes Básicos y Procesados",
|
|
85
|
+
company_name: "Financiado Bodega",
|
|
86
|
+
id_company: 912,
|
|
141
87
|
country: "México",
|
|
142
|
-
id_category: "
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
id_description_facilitator: 52,
|
|
147
|
-
id_images_especialist: 55,
|
|
148
|
-
id_images_facilitator: 53,
|
|
149
|
-
id_order: 15142,
|
|
150
|
-
id_article: 39270,
|
|
151
|
-
id_auditor: 37,
|
|
152
|
-
name: "Acondicionador Garnier Fructis 650 ml",
|
|
153
|
-
timestamp: "2023-03-27T18:37:48.000Z",
|
|
154
|
-
upc: "750955287656712",
|
|
88
|
+
id_category: "4004",
|
|
89
|
+
id_article: 39372,
|
|
90
|
+
name: "PRUEBA04BA",
|
|
91
|
+
upc: "001213",
|
|
155
92
|
},
|
|
156
93
|
retailers: [
|
|
157
94
|
{
|
|
158
|
-
id:
|
|
159
|
-
name: "
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
id: 29,
|
|
163
|
-
name: "Farmacias del Ahorro",
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
id: 63,
|
|
167
|
-
name: "DAX",
|
|
95
|
+
id: 70,
|
|
96
|
+
name: "Bodega Aurrera",
|
|
168
97
|
},
|
|
169
98
|
],
|
|
99
|
+
services: {
|
|
100
|
+
datasheets: 1,
|
|
101
|
+
descriptions: 1,
|
|
102
|
+
images: 1,
|
|
103
|
+
},
|
|
170
104
|
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",
|
|
105
|
+
70: {
|
|
106
|
+
datasheet: "AP",
|
|
107
|
+
description: "AP",
|
|
108
|
+
images: "AP",
|
|
185
109
|
},
|
|
186
110
|
},
|
|
187
|
-
|
|
111
|
+
retailersWithService: ["70"],
|
|
112
|
+
id_article: 39372,
|
|
188
113
|
retailersAvailable: [
|
|
189
114
|
{
|
|
190
|
-
id:
|
|
191
|
-
name: "
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
id: 29,
|
|
195
|
-
name: "Farmacias del Ahorro",
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
id: 63,
|
|
199
|
-
name: "DAX",
|
|
115
|
+
id: 70,
|
|
116
|
+
name: "Bodega Aurrera",
|
|
200
117
|
},
|
|
201
118
|
],
|
|
202
|
-
categoryName:
|
|
203
|
-
"Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
204
|
-
upc: "750955287656712",
|
|
205
|
-
id_article: 39270,
|
|
206
|
-
id_order: 15142,
|
|
207
119
|
},
|
|
208
120
|
},
|
|
209
121
|
location: {
|
|
@@ -211,37 +123,35 @@ ProviderProductEditionDefault.args = {
|
|
|
211
123
|
search: "",
|
|
212
124
|
hash: "",
|
|
213
125
|
state: {
|
|
214
|
-
withChat: true,
|
|
215
|
-
chatType: "product_status",
|
|
216
126
|
origin: "RequestWithContentoh",
|
|
217
127
|
},
|
|
218
128
|
key: "24vwut",
|
|
219
129
|
},
|
|
220
130
|
user: {
|
|
221
|
-
id_user:
|
|
222
|
-
name: "
|
|
223
|
-
last_name: "
|
|
224
|
-
email: "
|
|
225
|
-
position: "
|
|
226
|
-
telephone: "+
|
|
131
|
+
id_user: 132,
|
|
132
|
+
name: "Bodega",
|
|
133
|
+
last_name: "Aurrera",
|
|
134
|
+
email: "cadenabodega@allfreemail.net",
|
|
135
|
+
position: "TI",
|
|
136
|
+
telephone: "+529999999999",
|
|
227
137
|
country: "México",
|
|
228
|
-
id_company:
|
|
229
|
-
id_cognito: "
|
|
138
|
+
id_company: 912,
|
|
139
|
+
id_cognito: "fb2304ef-e1a2-4c2b-8874-eb754e4f6332",
|
|
230
140
|
birth_Date: null,
|
|
231
|
-
about_me:
|
|
232
|
-
zip_code:
|
|
233
|
-
address:
|
|
234
|
-
job:
|
|
235
|
-
id_stripe:
|
|
141
|
+
about_me: null,
|
|
142
|
+
zip_code: null,
|
|
143
|
+
address: null,
|
|
144
|
+
job: null,
|
|
145
|
+
id_stripe: null,
|
|
236
146
|
id_role: 0,
|
|
237
147
|
active: 1,
|
|
238
|
-
is_retailer:
|
|
148
|
+
is_retailer: 1,
|
|
239
149
|
email_notify: 1,
|
|
240
|
-
is_user_tech:
|
|
150
|
+
is_user_tech: null,
|
|
241
151
|
membership: {
|
|
242
|
-
id:
|
|
243
|
-
start_date: "2022-
|
|
244
|
-
end_date: "2023-
|
|
152
|
+
id: 101,
|
|
153
|
+
start_date: "2022-12-22T19:16:53.000Z",
|
|
154
|
+
end_date: "2023-12-22T19:16:53.000Z",
|
|
245
155
|
planID: 8,
|
|
246
156
|
plan: "prod_KtlhECVSFG2iro",
|
|
247
157
|
name: "Plan Pro",
|
|
@@ -249,26 +159,33 @@ ProviderProductEditionDefault.args = {
|
|
|
249
159
|
products_limit: "5000",
|
|
250
160
|
type: "Enterprise",
|
|
251
161
|
},
|
|
252
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
162
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-132/132.png?1685370125086",
|
|
253
163
|
},
|
|
254
164
|
company: {
|
|
255
|
-
id_company:
|
|
256
|
-
trade_name: "
|
|
257
|
-
company_name: "
|
|
258
|
-
rfc: "
|
|
259
|
-
adress: "
|
|
260
|
-
about_company:
|
|
261
|
-
telephone:
|
|
262
|
-
web_site:
|
|
263
|
-
zip_code:
|
|
165
|
+
id_company: 912,
|
|
166
|
+
trade_name: "Financiado Bodega",
|
|
167
|
+
company_name: "Bodega",
|
|
168
|
+
rfc: "9395jwhs",
|
|
169
|
+
adress: "Toluca",
|
|
170
|
+
about_company: null,
|
|
171
|
+
telephone: null,
|
|
172
|
+
web_site: null,
|
|
173
|
+
zip_code: null,
|
|
264
174
|
email: null,
|
|
265
|
-
social_link:
|
|
175
|
+
social_link: null,
|
|
266
176
|
is_retailer: 0,
|
|
177
|
+
financedRetailers: [
|
|
178
|
+
{
|
|
179
|
+
id: 70,
|
|
180
|
+
name: "Bodega Aurrera",
|
|
181
|
+
country: "México",
|
|
182
|
+
},
|
|
183
|
+
],
|
|
267
184
|
retailers: [
|
|
268
185
|
{
|
|
269
|
-
id:
|
|
270
|
-
name:
|
|
271
|
-
country:
|
|
186
|
+
id: 70,
|
|
187
|
+
name: "Bodega Aurrera",
|
|
188
|
+
country: "México",
|
|
272
189
|
},
|
|
273
190
|
],
|
|
274
191
|
},
|