contentoh-components-library 21.3.87 → 21.3.89
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/assets/fonts/roboto/LICENSE.txt +202 -0
- package/dist/components/atoms/ButtonV2/styles.js +1 -1
- 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/atoms/ProgressBar/index.js +18 -10
- package/dist/components/atoms/TabSection/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/ButtonV2/styles.js +1 -1
- 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/atoms/ProgressBar/index.js +17 -8
- package/src/components/atoms/TabSection/styles.js +1 -0
- 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
|
@@ -31,174 +31,96 @@ ProviderProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha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mVlbWFpbC5uZXQifQ.ebKSsnTxKoNfWDoKGFJRlLWgNulGj4KrDe0EgsqLEIVx3Qu0lgmg43UY5tZ3FUlRE8XO2UGq0XxEgdbGOe_4nbTRYigdvxP3bh3cPQ0s68hlTDfhPRvxVJYlaO4s0rhk9rt_VVteTyLfhPHFCymrkFYYDB8bVvKnxUUCX_nJvqGQkl48JiYgvYVLpuus5FvRkGwi1u-jTtMoKiUK-jw9MxI18hD0FWXVnJr-q9ftf2d0bv4JRv4XJ_tRh1N6jps5n3c_KKZswqRfGLU-8MS2X3DU6pDqEP2BZAGXksiFYXYH_uHE6BKJAl7EEhkDTqZsx_jWtVSXTdDg_QDKrOw0Kg",
|
|
35
35
|
articleId: 238,
|
|
36
36
|
category: 846,
|
|
37
37
|
version: 2,
|
|
38
38
|
productSelected: {
|
|
39
|
-
orderId:
|
|
40
|
-
|
|
41
|
-
datasheet_status: "
|
|
39
|
+
orderId: 15195,
|
|
40
|
+
article_status: "AP",
|
|
41
|
+
datasheet_status: "AP",
|
|
42
|
+
description_status: "AP",
|
|
43
|
+
images_status: "AP",
|
|
42
44
|
prio: "none",
|
|
43
45
|
version: 3,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
brand: null,
|
|
47
|
+
article: {
|
|
48
|
+
category: "Abarrotes Básicos|Abarrotes Básicos y Procesados|Abarrotes Básicos y Procesados",
|
|
49
|
+
company_name: "Financiado Bodega",
|
|
50
|
+
id_company: 912,
|
|
51
|
+
country: "México",
|
|
52
|
+
id_category: "4004",
|
|
53
|
+
id_article: 39372,
|
|
54
|
+
name: "PRUEBA04BA",
|
|
55
|
+
upc: "001213"
|
|
52
56
|
},
|
|
57
|
+
retailers: [{
|
|
58
|
+
id: 70,
|
|
59
|
+
name: "Bodega Aurrera"
|
|
60
|
+
}],
|
|
53
61
|
services: {
|
|
54
62
|
datasheets: 1,
|
|
55
63
|
descriptions: 1,
|
|
56
64
|
images: 1
|
|
57
65
|
},
|
|
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
66
|
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"
|
|
67
|
+
70: {
|
|
68
|
+
datasheet: "AP",
|
|
69
|
+
description: "AP",
|
|
70
|
+
images: "AP"
|
|
101
71
|
}
|
|
102
72
|
},
|
|
103
|
-
|
|
73
|
+
retailersWithService: ["70"],
|
|
74
|
+
id_article: 39372,
|
|
104
75
|
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
|
|
76
|
+
id: 70,
|
|
77
|
+
name: "Bodega Aurrera"
|
|
78
|
+
}]
|
|
118
79
|
},
|
|
119
80
|
productToEdit: {
|
|
120
|
-
ArticleId:
|
|
121
|
-
idCategory: "
|
|
81
|
+
ArticleId: 39372,
|
|
82
|
+
idCategory: "4004",
|
|
122
83
|
product: {
|
|
123
|
-
orderId:
|
|
124
|
-
|
|
125
|
-
datasheet_status: "
|
|
84
|
+
orderId: 15195,
|
|
85
|
+
article_status: "AP",
|
|
86
|
+
datasheet_status: "AP",
|
|
87
|
+
description_status: "AP",
|
|
88
|
+
images_status: "AP",
|
|
126
89
|
prio: "none",
|
|
127
90
|
version: 3,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
91
|
+
brand: null,
|
|
92
|
+
article: {
|
|
93
|
+
category: "Abarrotes Básicos|Abarrotes Básicos y Procesados|Abarrotes Básicos y Procesados",
|
|
94
|
+
company_name: "Financiado Bodega",
|
|
95
|
+
id_company: 912,
|
|
96
|
+
country: "México",
|
|
97
|
+
id_category: "4004",
|
|
98
|
+
id_article: 39372,
|
|
99
|
+
name: "PRUEBA04BA",
|
|
100
|
+
upc: "001213"
|
|
136
101
|
},
|
|
102
|
+
retailers: [{
|
|
103
|
+
id: 70,
|
|
104
|
+
name: "Bodega Aurrera"
|
|
105
|
+
}],
|
|
137
106
|
services: {
|
|
138
107
|
datasheets: 1,
|
|
139
108
|
descriptions: 1,
|
|
140
109
|
images: 1
|
|
141
110
|
},
|
|
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
111
|
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"
|
|
112
|
+
70: {
|
|
113
|
+
datasheet: "AP",
|
|
114
|
+
description: "AP",
|
|
115
|
+
images: "AP"
|
|
185
116
|
}
|
|
186
117
|
},
|
|
187
|
-
|
|
118
|
+
retailersWithService: ["70"],
|
|
119
|
+
id_article: 39372,
|
|
188
120
|
retailersAvailable: [{
|
|
189
|
-
id:
|
|
190
|
-
name: "
|
|
191
|
-
}
|
|
192
|
-
id: 29,
|
|
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
|
|
121
|
+
id: 70,
|
|
122
|
+
name: "Bodega Aurrera"
|
|
123
|
+
}]
|
|
202
124
|
}
|
|
203
125
|
},
|
|
204
126
|
location: {
|
|
@@ -206,37 +128,35 @@ ProviderProductEditionDefault.args = {
|
|
|
206
128
|
search: "",
|
|
207
129
|
hash: "",
|
|
208
130
|
state: {
|
|
209
|
-
withChat: true,
|
|
210
|
-
chatType: "product_status",
|
|
211
131
|
origin: "RequestWithContentoh"
|
|
212
132
|
},
|
|
213
133
|
key: "24vwut"
|
|
214
134
|
},
|
|
215
135
|
user: {
|
|
216
|
-
id_user:
|
|
217
|
-
name: "
|
|
218
|
-
last_name: "
|
|
219
|
-
email: "
|
|
220
|
-
position: "
|
|
221
|
-
telephone: "+
|
|
136
|
+
id_user: 132,
|
|
137
|
+
name: "Bodega",
|
|
138
|
+
last_name: "Aurrera",
|
|
139
|
+
email: "cadenabodega@allfreemail.net",
|
|
140
|
+
position: "TI",
|
|
141
|
+
telephone: "+529999999999",
|
|
222
142
|
country: "México",
|
|
223
|
-
id_company:
|
|
224
|
-
id_cognito: "
|
|
143
|
+
id_company: 912,
|
|
144
|
+
id_cognito: "fb2304ef-e1a2-4c2b-8874-eb754e4f6332",
|
|
225
145
|
birth_Date: null,
|
|
226
|
-
about_me:
|
|
227
|
-
zip_code:
|
|
228
|
-
address:
|
|
229
|
-
job:
|
|
230
|
-
id_stripe:
|
|
146
|
+
about_me: null,
|
|
147
|
+
zip_code: null,
|
|
148
|
+
address: null,
|
|
149
|
+
job: null,
|
|
150
|
+
id_stripe: null,
|
|
231
151
|
id_role: 0,
|
|
232
152
|
active: 1,
|
|
233
|
-
is_retailer:
|
|
153
|
+
is_retailer: 1,
|
|
234
154
|
email_notify: 1,
|
|
235
|
-
is_user_tech:
|
|
155
|
+
is_user_tech: null,
|
|
236
156
|
membership: {
|
|
237
|
-
id:
|
|
238
|
-
start_date: "2022-
|
|
239
|
-
end_date: "2023-
|
|
157
|
+
id: 101,
|
|
158
|
+
start_date: "2022-12-22T19:16:53.000Z",
|
|
159
|
+
end_date: "2023-12-22T19:16:53.000Z",
|
|
240
160
|
planID: 8,
|
|
241
161
|
plan: "prod_KtlhECVSFG2iro",
|
|
242
162
|
name: "Plan Pro",
|
|
@@ -244,25 +164,30 @@ ProviderProductEditionDefault.args = {
|
|
|
244
164
|
products_limit: "5000",
|
|
245
165
|
type: "Enterprise"
|
|
246
166
|
},
|
|
247
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
167
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-132/132.png?1685370125086"
|
|
248
168
|
},
|
|
249
169
|
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:
|
|
170
|
+
id_company: 912,
|
|
171
|
+
trade_name: "Financiado Bodega",
|
|
172
|
+
company_name: "Bodega",
|
|
173
|
+
rfc: "9395jwhs",
|
|
174
|
+
adress: "Toluca",
|
|
175
|
+
about_company: null,
|
|
176
|
+
telephone: null,
|
|
177
|
+
web_site: null,
|
|
178
|
+
zip_code: null,
|
|
259
179
|
email: null,
|
|
260
|
-
social_link:
|
|
180
|
+
social_link: null,
|
|
261
181
|
is_retailer: 0,
|
|
182
|
+
financedRetailers: [{
|
|
183
|
+
id: 70,
|
|
184
|
+
name: "Bodega Aurrera",
|
|
185
|
+
country: "México"
|
|
186
|
+
}],
|
|
262
187
|
retailers: [{
|
|
263
|
-
id:
|
|
264
|
-
name:
|
|
265
|
-
country:
|
|
188
|
+
id: 70,
|
|
189
|
+
name: "Bodega Aurrera",
|
|
190
|
+
country: "México"
|
|
266
191
|
}]
|
|
267
192
|
},
|
|
268
193
|
showSurvey: function showSurvey(v) {
|