contentoh-components-library 21.3.52 → 21.3.54
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 +2 -0
- package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +68 -11
- package/dist/components/organisms/Chat/Chat.stories.js +21 -1
- package/dist/components/organisms/Chat/ContainerItems/index.js +19 -3
- package/dist/components/organisms/Chat/ContainerItems/styles.js +1 -1
- package/dist/components/organisms/Chat/ContentChat/index.js +343 -191
- package/dist/components/organisms/Chat/Footer/index.js +48 -39
- package/dist/components/organisms/Chat/index.js +48 -3
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +190 -111
- package/dist/components/pages/ProviderProductEdition/index.js +193 -152
- package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +87 -57
- package/dist/components/pages/RetailerProductEdition/index.js +266 -277
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/utils.js +61 -2
- package/package.json +1 -1
- package/src/components/molecules/AvatarAndValidation/index.js +1 -1
- package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +52 -6
- package/src/components/organisms/Chat/Chat.stories.js +21 -0
- package/src/components/organisms/Chat/ContainerItems/index.js +18 -2
- package/src/components/organisms/Chat/ContainerItems/styles.js +10 -2
- package/src/components/organisms/Chat/ContentChat/index.js +81 -6
- package/src/components/organisms/Chat/Footer/index.js +11 -0
- package/src/components/organisms/Chat/index.js +47 -3
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +202 -115
- package/src/components/pages/ProviderProductEdition/index.js +109 -75
- package/src/components/pages/ProviderProductEdition/styles.js +5 -1
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +93 -59
- package/src/components/pages/RetailerProductEdition/index.js +110 -136
- package/src/components/pages/RetailerProductEdition/styles.js +4 -0
- package/src/components/pages/RetailerProductEdition/utils.js +37 -0
- package/dist/assets/fonts/roboto/LICENSE.txt +0 -202
|
@@ -31,87 +31,117 @@ RetailerProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI5YTIxMzEyOC02NDgyLTRjMTYtYTRiNi02ZTY0ZjIyNWIxYmQiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwiY29nbml0bzp1c2VybmFtZSI6IjlhMjEzMTI4LTY0ODItNGMxNi1hNGI2LTZlNjRmMjI1YjFiZCIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiI5OGE0NzYxMy04ZGIyLTRlZjUtYjA0Mi01ZDU3MWRkZjIwMWIiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY4Mzg3NTIyNiwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY4Mzg3ODgyNiwiaWF0IjoxNjgzODc1MjI2LCJlbWFpbCI6ImlzbWFlbDk3bG9wZXpAZ21haWwuY29tIn0.EtgmT_THMx-Zy_zB5yZK4gz6TXNTVVJEKFt5X0JK2UkGVrp_q_92YCEuejS4n976fyTez0jkwOee6IkVHLV71uZWRBDFt-3Yw4ZxfsZYPNJWhoHXGNxhMU8MCkSntfu597esBTk-VsUpstT5R7L-WJfN8viE7R-qVo-42RlPTG0TFrWA9q0oTcqjv8vbxLpOBUjiEpjmqRhg4blJZwgkGNta6MOlw1vfmisOVbo9wMvqwnCZ9xx9KMKoH9U4uNObK_JomjbvPmTmkcUXsE-wGSD7XcoSwtuhBngLC7-jiu1u8MvL_ff5Z0Qp70sSpLdUglcSS8d1Xf7j_fcZuJ5jKA",
|
|
35
35
|
productSelected: {
|
|
36
|
-
orderId:
|
|
37
|
-
|
|
38
|
-
datasheet_status: "
|
|
39
|
-
description_status: "AC",
|
|
40
|
-
images_status: "AC",
|
|
36
|
+
orderId: 15142,
|
|
37
|
+
status: "CA",
|
|
38
|
+
datasheet_status: "CA",
|
|
41
39
|
prio: "none",
|
|
42
40
|
version: 3,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
name: "BB HORA DEL BANO SET MENTA",
|
|
52
|
-
upc: "93905444796"
|
|
41
|
+
description_status: "AC",
|
|
42
|
+
images_status: "CA",
|
|
43
|
+
brand: "Garnier",
|
|
44
|
+
retailerOrder: 0,
|
|
45
|
+
missing: {
|
|
46
|
+
datasheet: null,
|
|
47
|
+
descriptions: null,
|
|
48
|
+
images: null
|
|
53
49
|
},
|
|
54
|
-
retailers: [{
|
|
55
|
-
id: 70,
|
|
56
|
-
name: "Bodega Aurrera"
|
|
57
|
-
}],
|
|
58
50
|
services: {
|
|
59
51
|
datasheets: 1,
|
|
60
52
|
descriptions: 1,
|
|
61
53
|
images: 1
|
|
62
54
|
},
|
|
55
|
+
article: {
|
|
56
|
+
category: "Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
|
|
57
|
+
company_name: "GRUPO BRAHMA",
|
|
58
|
+
country: "México",
|
|
59
|
+
id_category: "697",
|
|
60
|
+
id_datasheet_especialist: 54,
|
|
61
|
+
id_datasheet_facilitator: 52,
|
|
62
|
+
id_description_especialist: 54,
|
|
63
|
+
id_description_facilitator: 52,
|
|
64
|
+
id_images_especialist: 55,
|
|
65
|
+
id_images_facilitator: 53,
|
|
66
|
+
id_order: 15142,
|
|
67
|
+
id_article: 39270,
|
|
68
|
+
id_auditor: 37,
|
|
69
|
+
name: "Acondicionador Garnier Fructis 650 ml",
|
|
70
|
+
timestamp: "2023-03-27T18:37:48.000Z",
|
|
71
|
+
upc: "750955287656712"
|
|
72
|
+
},
|
|
73
|
+
retailers: [{
|
|
74
|
+
id: 12,
|
|
75
|
+
name: "La Comer",
|
|
76
|
+
image: "https://content-management-images.s3.amazonaws.com/retailers/12.png",
|
|
77
|
+
services: ["CA", "CA", "AC", "NA", "NA", "NA", "NA", "NA", "NA"],
|
|
78
|
+
percentage: 100
|
|
79
|
+
}, {
|
|
80
|
+
id: 29,
|
|
81
|
+
name: "Farmacias del Ahorro",
|
|
82
|
+
image: "https://content-management-images.s3.amazonaws.com/retailers/29.png",
|
|
83
|
+
services: ["NA", "NA", "NA", "CA", "CA", "CA", "NA", "NA", "NA"],
|
|
84
|
+
percentage: 100
|
|
85
|
+
}, {
|
|
86
|
+
id: 63,
|
|
87
|
+
name: "DAX",
|
|
88
|
+
image: "https://content-management-images.s3.amazonaws.com/retailers/63.png",
|
|
89
|
+
services: ["NA", "NA", "NA", "NA", "NA", "NA", "AC", "AC", "CA"],
|
|
90
|
+
percentage: 83
|
|
91
|
+
}],
|
|
63
92
|
statusByRetailer: {
|
|
64
|
-
|
|
65
|
-
datasheet: "
|
|
66
|
-
description: "
|
|
67
|
-
|
|
93
|
+
12: {
|
|
94
|
+
datasheet: "CA",
|
|
95
|
+
description: "CA"
|
|
96
|
+
},
|
|
97
|
+
29: {
|
|
98
|
+
datasheet: "CA",
|
|
99
|
+
description: "CA"
|
|
68
100
|
}
|
|
69
|
-
}
|
|
70
|
-
retailersWithService: ["70"],
|
|
71
|
-
id_article: 37569,
|
|
72
|
-
retailersAvailable: [{
|
|
73
|
-
id: 70,
|
|
74
|
-
name: "Bodega Aurrera"
|
|
75
|
-
}]
|
|
101
|
+
}
|
|
76
102
|
},
|
|
77
103
|
location: {
|
|
78
104
|
product: {
|
|
79
|
-
articleId:
|
|
105
|
+
articleId: 354,
|
|
80
106
|
versionId: 3
|
|
107
|
+
},
|
|
108
|
+
state: {
|
|
109
|
+
withChat: true,
|
|
110
|
+
chatType: "product_status"
|
|
81
111
|
}
|
|
82
112
|
},
|
|
83
113
|
user: {
|
|
84
|
-
id_user:
|
|
85
|
-
name: "
|
|
86
|
-
last_name: "
|
|
87
|
-
email: "
|
|
88
|
-
position: "
|
|
89
|
-
telephone: "
|
|
114
|
+
id_user: 37,
|
|
115
|
+
name: "José",
|
|
116
|
+
last_name: "Castañeda",
|
|
117
|
+
email: "ismael97lopez@gmail.com",
|
|
118
|
+
position: "Auditor",
|
|
119
|
+
telephone: "",
|
|
90
120
|
country: "México",
|
|
91
|
-
id_company:
|
|
92
|
-
id_cognito: "
|
|
121
|
+
id_company: 2,
|
|
122
|
+
id_cognito: "9a213128-6482-4c16-a4b6-6e64f225b1bd",
|
|
93
123
|
birth_Date: null,
|
|
94
|
-
about_me:
|
|
95
|
-
zip_code:
|
|
96
|
-
address:
|
|
97
|
-
job:
|
|
98
|
-
id_stripe:
|
|
99
|
-
id_role:
|
|
124
|
+
about_me: "",
|
|
125
|
+
zip_code: "",
|
|
126
|
+
address: "",
|
|
127
|
+
job: "",
|
|
128
|
+
id_stripe: "",
|
|
129
|
+
id_role: 6,
|
|
100
130
|
active: 1,
|
|
101
|
-
is_retailer:
|
|
131
|
+
is_retailer: 0,
|
|
102
132
|
email_notify: 1,
|
|
103
133
|
is_user_tech: null,
|
|
104
134
|
membership: {
|
|
105
|
-
id:
|
|
106
|
-
start_date: "
|
|
107
|
-
end_date: "
|
|
108
|
-
planID:
|
|
109
|
-
plan: "
|
|
110
|
-
name: "Plan
|
|
111
|
-
user_limit: "
|
|
112
|
-
products_limit: "
|
|
113
|
-
type: "
|
|
135
|
+
id: 2,
|
|
136
|
+
start_date: "2021-11-05T02:35:12.000Z",
|
|
137
|
+
end_date: "2022-11-05T02:34:49.000Z",
|
|
138
|
+
planID: 1,
|
|
139
|
+
plan: "prod_KtkvuFFLpOdP6e",
|
|
140
|
+
name: "Plan Free",
|
|
141
|
+
user_limit: "1",
|
|
142
|
+
products_limit: "3",
|
|
143
|
+
type: "PyMES"
|
|
114
144
|
},
|
|
115
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
145
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-37/37.png?1683875228327"
|
|
116
146
|
}
|
|
117
147
|
};
|