contentoh-components-library 21.4.61 → 21.4.63
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/dist/assets/fonts/roboto/LICENSE.txt +202 -0
- package/dist/components/molecules/BoxAttribute/styles.js +1 -1
- package/dist/components/molecules/BoxButtons/index.js +1 -0
- package/dist/components/molecules/TagAndInput/index.js +64 -3
- package/dist/components/organisms/InputGroup/index.js +153 -48
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +82 -146
- package/dist/components/pages/ProviderProductEdition/index.js +173 -138
- package/dist/components/pages/RetailerProductEdition/index.js +5 -5
- package/package.json +1 -1
- package/src/assets/images/Icons/info.svg +8 -0
- package/src/components/atoms/TabSection/styles.js +1 -1
- package/src/components/molecules/BoxAttribute/BoxAttribute.stories.js +16 -0
- package/src/components/molecules/BoxAttribute/index.js +71 -0
- package/src/components/molecules/BoxAttribute/styles.js +38 -0
- package/src/components/molecules/BoxButtons/BoxButtons.stories.js +15 -0
- package/src/components/molecules/BoxButtons/index.js +28 -0
- package/src/components/molecules/BoxButtons/styles.js +43 -0
- package/src/components/molecules/TagAndInput/index.js +52 -8
- package/src/components/organisms/Box/Box.stories.js +17 -0
- package/src/components/organisms/Box/index.js +103 -0
- package/src/components/organisms/Box/styles.js +48 -0
- package/src/components/organisms/BoxOnboarding/BoxOnboarding.stories.js +17 -0
- package/src/components/organisms/BoxOnboarding/index.js +60 -0
- package/src/components/organisms/BoxOnboarding/styles.js +44 -0
- package/src/components/organisms/InputGroup/index.js +233 -87
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +86 -175
- package/src/components/pages/ProviderProductEdition/index.js +43 -16
- package/src/components/pages/RetailerProductEdition/index.js +7 -5
|
@@ -31,164 +31,86 @@ ProviderProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJkQWJkZ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mpVyZSQw4-ikTChkxcZ5tFYvqhk1GdvNCFttfSQIqM-14dAYYBc28YwwKP86gqOuzB1fG41rN5x1Yx3tkJq6hiVRgiBbSHWtThA9c8VnxNQbrJiaRTvvkDiM5KNTEst1oxQHL5Ct9_iKQMJMRFie7Xv0xnyS0qZ6QHK4Q2A9OHsnDkAuumALZJcE19Zh6VgSitgWrZiz3x5Text4Q-U-R48NUAzUFirAzYZzJN_fCme5pGf1AnUaZjeUjPsmrV5TBVzPEYwXO0KG8lYjL8id80D7tbGs28ZIK6B4rf3-eqI_ngmBB4CjQ",
|
|
35
|
+
articleId: 39550,
|
|
36
|
+
category: 287,
|
|
37
|
+
version: 1,
|
|
38
38
|
productSelected: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
brand: null,
|
|
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: "Abarrotes|Abarrotes Secos|Frutos Secos",
|
|
60
|
-
company_name: "GRUPO BRAHMA",
|
|
61
|
-
country: "México",
|
|
62
|
-
id_category: "11",
|
|
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: 15275,
|
|
70
|
-
id_article: 39485,
|
|
71
|
-
id_auditor: 37,
|
|
72
|
-
name: "Mix de nueces",
|
|
73
|
-
timestamp: "2023-07-14T21:03:19.000Z",
|
|
74
|
-
upc: "7543453453"
|
|
75
|
-
},
|
|
76
|
-
retailers: [{
|
|
77
|
-
id: 34,
|
|
78
|
-
name: "San Pablo"
|
|
79
|
-
}],
|
|
80
|
-
statusByRetailer: {
|
|
81
|
-
34: {
|
|
82
|
-
datasheet: "AA",
|
|
83
|
-
description: "AA",
|
|
84
|
-
images: "AA"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
39
|
+
id_article: 39550,
|
|
40
|
+
upc: 43654697,
|
|
41
|
+
name: "Campana de Cocina",
|
|
42
|
+
timestamp: "2023-08-04T22:23:40.000Z",
|
|
43
|
+
categoryName: "Ferretería|Ferretería General|Tornillos, Tuercas y Arandelas",
|
|
44
|
+
id_category: 287,
|
|
45
|
+
version: 1,
|
|
87
46
|
retailersAvailable: [{
|
|
88
|
-
|
|
89
|
-
|
|
47
|
+
name: "The Home Depot Golden",
|
|
48
|
+
"id": 58
|
|
49
|
+
}, {
|
|
50
|
+
name: "The Home Depot Onboarding",
|
|
51
|
+
"id": 68
|
|
90
52
|
}],
|
|
91
|
-
|
|
92
|
-
upc: "7543453453",
|
|
93
|
-
id_article: 39485,
|
|
94
|
-
id_order: 15275
|
|
53
|
+
percentage: "89"
|
|
95
54
|
},
|
|
96
55
|
productToEdit: {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
product: {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
brand: null,
|
|
108
|
-
retailerOrder: 0,
|
|
109
|
-
missing: {
|
|
110
|
-
datasheet: null,
|
|
111
|
-
descriptions: null,
|
|
112
|
-
images: null
|
|
113
|
-
},
|
|
114
|
-
services: {
|
|
115
|
-
datasheets: 1,
|
|
116
|
-
descriptions: 1,
|
|
117
|
-
images: 1
|
|
118
|
-
},
|
|
119
|
-
article: {
|
|
120
|
-
category: "Abarrotes|Abarrotes Secos|Frutos Secos",
|
|
121
|
-
company_name: "GRUPO BRAHMA",
|
|
122
|
-
country: "México",
|
|
123
|
-
id_category: "11",
|
|
124
|
-
id_datasheet_especialist: 54,
|
|
125
|
-
id_datasheet_facilitator: 52,
|
|
126
|
-
id_description_especialist: 54,
|
|
127
|
-
id_description_facilitator: 52,
|
|
128
|
-
id_images_especialist: 55,
|
|
129
|
-
id_images_facilitator: 53,
|
|
130
|
-
id_order: 15275,
|
|
131
|
-
id_article: 39485,
|
|
132
|
-
id_auditor: 37,
|
|
133
|
-
name: "Mix de nueces",
|
|
134
|
-
timestamp: "2023-07-14T21:03:19.000Z",
|
|
135
|
-
upc: "7543453453"
|
|
136
|
-
},
|
|
137
|
-
retailers: [{
|
|
138
|
-
id: 34,
|
|
139
|
-
name: "San Pablo"
|
|
140
|
-
}],
|
|
141
|
-
statusByRetailer: {
|
|
142
|
-
34: {
|
|
143
|
-
datasheet: "AA",
|
|
144
|
-
description: "AA",
|
|
145
|
-
images: "AA"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
56
|
+
idCategory: 287,
|
|
57
|
+
ArticleId: 39550,
|
|
58
|
+
product: [{
|
|
59
|
+
id_article: 39550,
|
|
60
|
+
upc: 43654697,
|
|
61
|
+
name: "Campana de Cocina",
|
|
62
|
+
timestamp: "2023-08-04T22:23:40.000Z",
|
|
63
|
+
categoryName: "Ferretería|Ferretería General|Tornillos, Tuercas y Arandelas",
|
|
64
|
+
id_category: 287,
|
|
65
|
+
version: 1,
|
|
148
66
|
retailersAvailable: [{
|
|
149
|
-
|
|
150
|
-
|
|
67
|
+
name: "The Home Depot Golden",
|
|
68
|
+
id: 58,
|
|
69
|
+
percentage: 100
|
|
70
|
+
}, {
|
|
71
|
+
name: "The Home Depot Onboarding",
|
|
72
|
+
id: 68,
|
|
73
|
+
percentage: 78
|
|
151
74
|
}],
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
id_article: 39485,
|
|
155
|
-
id_order: 15275
|
|
156
|
-
}
|
|
75
|
+
percentage: "89"
|
|
76
|
+
}]
|
|
157
77
|
},
|
|
158
78
|
location: {
|
|
159
79
|
pathname: "/EditProducts",
|
|
160
80
|
search: "",
|
|
161
81
|
hash: "",
|
|
162
82
|
state: {
|
|
83
|
+
withChat: true,
|
|
84
|
+
chatType: "product_status",
|
|
163
85
|
origin: "RequestWithContentoh"
|
|
164
86
|
},
|
|
165
87
|
key: "24vwut"
|
|
166
88
|
},
|
|
167
89
|
user: {
|
|
168
|
-
id_user:
|
|
169
|
-
name: "
|
|
170
|
-
last_name: "
|
|
171
|
-
email: "
|
|
172
|
-
position: "Test
|
|
173
|
-
telephone: "+
|
|
90
|
+
id_user: 191,
|
|
91
|
+
name: "Demo",
|
|
92
|
+
last_name: "Demo",
|
|
93
|
+
email: "merchants24feb@allfreemail.net",
|
|
94
|
+
position: "Test",
|
|
95
|
+
telephone: "+52123456789",
|
|
174
96
|
country: "México",
|
|
175
|
-
id_company:
|
|
176
|
-
id_cognito: "
|
|
97
|
+
id_company: 923,
|
|
98
|
+
id_cognito: "c3cd160c-76c2-497c-9357-5ef949307e1e",
|
|
177
99
|
birth_Date: null,
|
|
178
|
-
about_me:
|
|
179
|
-
zip_code:
|
|
180
|
-
address:
|
|
181
|
-
job:
|
|
182
|
-
id_stripe:
|
|
100
|
+
about_me: null,
|
|
101
|
+
zip_code: null,
|
|
102
|
+
address: null,
|
|
103
|
+
job: null,
|
|
104
|
+
id_stripe: null,
|
|
183
105
|
id_role: 0,
|
|
184
106
|
active: 1,
|
|
185
107
|
is_retailer: 0,
|
|
186
108
|
email_notify: 1,
|
|
187
|
-
is_user_tech:
|
|
109
|
+
is_user_tech: null,
|
|
188
110
|
membership: {
|
|
189
|
-
id:
|
|
190
|
-
start_date: "
|
|
191
|
-
end_date: "
|
|
111
|
+
id: 114,
|
|
112
|
+
start_date: "2023-02-24T18:14:43.000Z",
|
|
113
|
+
end_date: "2024-02-24T18:14:43.000Z",
|
|
192
114
|
planID: 8,
|
|
193
115
|
plan: "prod_KtlhECVSFG2iro",
|
|
194
116
|
name: "Plan Pro",
|
|
@@ -196,23 +118,37 @@ ProviderProductEditionDefault.args = {
|
|
|
196
118
|
products_limit: "5000",
|
|
197
119
|
type: "Enterprise"
|
|
198
120
|
},
|
|
199
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
121
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-191/191.png?1697171804447"
|
|
200
122
|
},
|
|
201
123
|
company: {
|
|
202
|
-
id_company:
|
|
203
|
-
trade_name: "
|
|
204
|
-
company_name: "
|
|
205
|
-
rfc: "
|
|
206
|
-
adress: "
|
|
207
|
-
about_company:
|
|
208
|
-
telephone:
|
|
209
|
-
web_site:
|
|
210
|
-
zip_code:
|
|
124
|
+
id_company: 923,
|
|
125
|
+
trade_name: "Demo",
|
|
126
|
+
company_name: "Demo",
|
|
127
|
+
rfc: "Demo",
|
|
128
|
+
adress: "Demo",
|
|
129
|
+
about_company: null,
|
|
130
|
+
telephone: null,
|
|
131
|
+
web_site: null,
|
|
132
|
+
zip_code: null,
|
|
211
133
|
email: null,
|
|
212
|
-
social_link:
|
|
134
|
+
social_link: null,
|
|
213
135
|
is_retailer: 0,
|
|
214
|
-
financedRetailers: [
|
|
215
|
-
|
|
136
|
+
financedRetailers: [{
|
|
137
|
+
id: 68,
|
|
138
|
+
name: "The Home Depot Onboarding",
|
|
139
|
+
country: "México",
|
|
140
|
+
id_region: 1,
|
|
141
|
+
active: 1,
|
|
142
|
+
flow: 1
|
|
143
|
+
}],
|
|
144
|
+
retailers: [{
|
|
145
|
+
id: 68,
|
|
146
|
+
name: "The Home Depot Onboarding",
|
|
147
|
+
country: "México",
|
|
148
|
+
id_region: 1,
|
|
149
|
+
"active": 1,
|
|
150
|
+
flow: 1
|
|
151
|
+
}]
|
|
216
152
|
},
|
|
217
153
|
showSurvey: function showSurvey(v) {
|
|
218
154
|
return v && alert("se muestra");
|