contentoh-components-library 21.1.92 → 21.1.95

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.
@@ -16,138 +16,173 @@ ProviderProductEditionDefault.args = {
16
16
  Imágenes: true,
17
17
  },
18
18
  token:
19
- "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhYmUxODhlMi0yNWIxLTRhMTktODY3Mi0wZDRiYzExYTliZjIiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImFiZTE4OGUyLTI1YjEtNGExOS04NjcyLTBkNGJjMTFhOWJmMiIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiJiZTE5OWE0ZS1lYTYwLTQwYTktODIwNC02ODZlOWI1ODczMGQiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1OTUzOTczMiwibmFtZSI6IlJldGFpbGVyIEFjYyIsInBob25lX251bWJlciI6Iis1MjMxMTExMTExMTEiLCJleHAiOjE2NTk1NDMzMzIsImlhdCI6MTY1OTUzOTczMiwiZW1haWwiOiJyZXRhaWxlclRoZEBBbGxGcmVlTWFpbC5uZXQifQ.HSIFFKD5jkoRPzh9uxNUnXkkp6IX7iKeOqRePrzin-XlG7KauuoHvv7M-dWGJB_xRg-C1uGIG7gKOFP7oM3BGuVqrlIzs-z3uKNSBz0raq3-tRUHRMKo30HGw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qF0QFZCgncubcYtDoAmpqad7UT0_5HKE1d5nwPM-fA639uv1029YnZwbgfPE3TSAna9NLKN7b0q9DZ6VeX05cjSPtdlnOCCjpdbaQk1Qkl6sAg80tidgBaCyffqns7uYgnSg73GAYxlkRkffH90pddxSykQbj-VVkJFEuLiBSGvu2oj5iwmmZ_EVB6XYv0a5p70IZmbia-3HrQB_qZJxDXLDK4sV3asv-iJJizU0lp64pD0k5TM0q4kY3iVTlHxb7uXBHeTJS8cxPVutxbITYLFyFOTCmm3mQ",
20
20
  articleId: 238,
21
21
  category: 846,
22
22
  version: 2,
23
23
  productSelected: {
24
- services: {
25
- datasheets: 1,
26
- descriptions: 1,
27
- images: 1,
28
- },
29
- orderId: 2437,
30
- status: "AS",
31
- datasheet_status: "AS",
32
- prio: "none",
33
- version: 2,
34
- description_status: "AS",
35
- images_status: "AS",
24
+ articleStatus: "ACA",
25
+ version: 5,
26
+ missing: {},
36
27
  article: {
37
- id_article: 78748,
38
- id_category: "684",
39
- name: "TP COLG Luminous White Lovers Wine 4x70g",
40
- upc: "7509546681603",
41
- timestamp: "2022-08-02T14:31:07.000Z",
42
- id_user: 1258,
43
- status: "NULL",
44
- active: 1,
45
- company_id: 226,
46
- SKU: null,
47
- Descripcion: null,
48
- Proveedor: null,
49
- id_proveedor: 0,
50
- company_name: "COLGATE PALMOLIVE S.A. DE C.V.",
51
- country: null,
52
- id_order: 2437,
53
- id_datasheet_especialist: 405,
54
- id_datasheet_facilitator: 158,
55
- id_description_especialist: 405,
56
- id_description_facilitator: 158,
57
- id_images_especialist: 381,
58
- id_images_facilitator: 160,
59
- id_auditor: 9,
60
- id_recepcionist: null,
61
- category: "Salud y Belleza|Cuidado Bucal|Pastas Dentales y Aseo Bucal",
62
- missingAttributes: 47,
63
- missingDescriptions: 2,
64
- missingImages: 4,
28
+ category:
29
+ "Materiales de Construcción|Impermeabilizantes y Recubrimientos|Selladores",
30
+ company_name: "SIKA MEXICANA S.A. DE C.V.",
31
+ company_id: 383,
32
+ id_category: "2249",
33
+ id_article: 29457,
34
+ name: "SIKA TECHO FRESCO SUPER 15",
35
+ upc: "111187",
65
36
  },
37
+ asignations: [],
66
38
  retailers: [
67
39
  {
68
- id: 3,
69
- name: "Sam´s Club",
40
+ id: 58,
41
+ name: "The Home Depot Golden",
70
42
  country: "México",
71
43
  id_region: 1,
72
44
  active: 1,
73
45
  },
74
46
  {
75
- id: 19,
76
- name: "Costco",
47
+ id: 59,
48
+ name: "The Home Depot Platinum",
49
+ country: "México",
50
+ id_region: 1,
51
+ active: 1,
52
+ },
53
+ {
54
+ id: 61,
55
+ name: "Home Depot TAB",
77
56
  country: "México",
78
57
  id_region: 1,
79
58
  active: 1,
80
59
  },
81
60
  ],
82
- country: null,
83
- upc: "7509546681603",
61
+ percentage: 33.35,
62
+ retailersAvailable: [
63
+ {
64
+ id: 58,
65
+ name: "The Home Depot Golden",
66
+ country: "México",
67
+ id_region: 1,
68
+ active: 1,
69
+ },
70
+ {
71
+ id: 59,
72
+ name: "The Home Depot Platinum",
73
+ country: "México",
74
+ id_region: 1,
75
+ active: 1,
76
+ },
77
+ {
78
+ id: 61,
79
+ name: "Home Depot TAB",
80
+ country: "México",
81
+ id_region: 1,
82
+ active: 1,
83
+ },
84
+ ],
85
+ upc: "111187",
86
+ name: "SIKA TECHO FRESCO SUPER 15",
87
+ categoryName:
88
+ "Materiales de Construcción|Impermeabilizantes y Recubrimientos|Selladores",
89
+ id_category: "2249",
90
+ id_article: 29457,
91
+ services: [
92
+ {
93
+ id_article: 29457,
94
+ service: "datasheet",
95
+ quantity: 1,
96
+ price: 0,
97
+ id_user: 1237,
98
+ datasheet_common: null,
99
+ discount: null,
100
+ },
101
+ ],
84
102
  },
85
103
  productToEdit: {
86
- idCategory: "684",
87
- ArticleId: 78748,
104
+ idCategory: "2249",
105
+ ArticleId: 29457,
88
106
  product: [
89
107
  {
90
- services: {
91
- datasheets: 1,
92
- descriptions: 1,
93
- images: 1,
94
- },
95
- orderId: 2437,
96
- status: "AS",
97
- datasheet_status: "AS",
98
- prio: "none",
99
- version: 2,
100
- description_status: "AS",
101
- images_status: "AS",
108
+ articleStatus: "ACA",
109
+ version: 5,
110
+ missing: {},
102
111
  article: {
103
- id_article: 78748,
104
- id_category: "684",
105
- name: "TP COLG Luminous White Lovers Wine 4x70g",
106
- upc: "7509546681603",
107
- timestamp: "2022-08-02T14:31:07.000Z",
108
- id_user: 1258,
109
- status: "NULL",
110
- active: 1,
111
- company_id: 226,
112
- SKU: null,
113
- Descripcion: null,
114
- Proveedor: null,
115
- id_proveedor: 0,
116
- company_name: "COLGATE PALMOLIVE S.A. DE C.V.",
117
- country: null,
118
- id_order: 2437,
119
- id_datasheet_especialist: 405,
120
- id_datasheet_facilitator: 158,
121
- id_description_especialist: 405,
122
- id_description_facilitator: 158,
123
- id_images_especialist: 381,
124
- id_images_facilitator: 160,
125
- id_auditor: 9,
126
- id_recepcionist: null,
127
112
  category:
128
- "Salud y Belleza|Cuidado Bucal|Pastas Dentales y Aseo Bucal",
129
- missingAttributes: 47,
130
- missingDescriptions: 2,
131
- missingImages: 4,
113
+ "Materiales de Construcción|Impermeabilizantes y Recubrimientos|Selladores",
114
+ company_name: "SIKA MEXICANA S.A. DE C.V.",
115
+ company_id: 383,
116
+ id_category: "2249",
117
+ id_article: 29457,
118
+ name: "SIKA TECHO FRESCO SUPER 15",
119
+ upc: "111187",
132
120
  },
121
+ asignations: [],
133
122
  retailers: [
134
123
  {
135
- id: 3,
136
- name: "Sam´s Club",
124
+ id: 58,
125
+ name: "The Home Depot Golden",
126
+ country: "México",
127
+ id_region: 1,
128
+ active: 1,
129
+ },
130
+ {
131
+ id: 59,
132
+ name: "The Home Depot Platinum",
133
+ country: "México",
134
+ id_region: 1,
135
+ active: 1,
136
+ },
137
+ {
138
+ id: 61,
139
+ name: "Home Depot TAB",
140
+ country: "México",
141
+ id_region: 1,
142
+ active: 1,
143
+ },
144
+ ],
145
+ percentage: 33.35,
146
+ retailersAvailable: [
147
+ {
148
+ id: 58,
149
+ name: "The Home Depot Golden",
150
+ country: "México",
151
+ id_region: 1,
152
+ active: 1,
153
+ },
154
+ {
155
+ id: 59,
156
+ name: "The Home Depot Platinum",
137
157
  country: "México",
138
158
  id_region: 1,
139
159
  active: 1,
140
160
  },
141
161
  {
142
- id: 19,
143
- name: "Costco",
162
+ id: 61,
163
+ name: "Home Depot TAB",
144
164
  country: "México",
145
165
  id_region: 1,
146
166
  active: 1,
147
167
  },
148
168
  ],
149
- country: null,
150
- upc: "7509546681603",
169
+ upc: "111187",
170
+ name: "SIKA TECHO FRESCO SUPER 15",
171
+ categoryName:
172
+ "Materiales de Construcción|Impermeabilizantes y Recubrimientos|Selladores",
173
+ id_category: "2249",
174
+ id_article: 29457,
175
+ services: [
176
+ {
177
+ id_article: 29457,
178
+ service: "datasheet",
179
+ quantity: 1,
180
+ price: 0,
181
+ id_user: 1237,
182
+ datasheet_common: null,
183
+ discount: null,
184
+ },
185
+ ],
151
186
  },
152
187
  ],
153
188
  },
@@ -155,29 +190,29 @@ ProviderProductEditionDefault.args = {
155
190
  state: { origin: "Contentoh" },
156
191
  },
157
192
  user: {
158
- id_user: 460,
159
- name: "Ismael",
160
- last_name: "López",
161
- email: "ilopez@contentoh.com",
162
- position: "Desarrollador",
163
- telephone: null,
193
+ id_user: 1237,
194
+ name: "The Home",
195
+ last_name: "Depot",
196
+ email: "retailerThd@AllFreeMail.net",
197
+ position: "Retailer",
198
+ telephone: "+523111111111",
164
199
  country: "México",
165
- id_company: 254,
166
- id_cognito: "9d0cc5c8-a89e-4bdd-9e2d-358a01cc9a62",
167
- birth_Date: "1997-08-15T00:00:00.000Z",
200
+ id_company: 817,
201
+ id_cognito: "abe188e2-25b1-4a19-8672-0d4bc11a9bf2",
202
+ birth_Date: null,
168
203
  about_me: null,
169
204
  zip_code: null,
170
205
  address: null,
171
206
  job: null,
172
207
  id_stripe: null,
173
- id_role: 1,
208
+ id_role: 0,
174
209
  active: 1,
175
- is_retailer: 0,
176
- email_notify: null,
210
+ is_retailer: 1,
211
+ email_notify: 1,
177
212
  membership: {
178
- id: 750,
179
- start_date: "2022-01-07T21:32:54.000Z",
180
- end_date: "2023-01-07T21:32:54.000Z",
213
+ id: 798,
214
+ start_date: "2022-06-19T04:25:07.000Z",
215
+ end_date: "2023-06-19T04:25:07.000Z",
181
216
  planID: 6,
182
217
  plan: "prod_KvGd6YSTJyR3AP",
183
218
  name: "Plan Small",
@@ -185,7 +220,7 @@ ProviderProductEditionDefault.args = {
185
220
  products_limit: "1000",
186
221
  type: "Enterprise",
187
222
  },
188
- src: "https://content-management-profile-prod.s3.amazonaws.com/id-460/460.png?1659303790385",
223
+ src: "https://content-management-profile-prod.s3.amazonaws.com/id-1237/1237.png?1660064505178",
189
224
  },
190
225
  company: {
191
226
  id_company: 817,
@@ -348,7 +348,8 @@ export const ProviderProductEdition = ({
348
348
  loadData();
349
349
  getCart();
350
350
  fetchUsers(token).then((res) => setUserGroups(res));
351
- }, [product]);
351
+ setImages({ action: "orderImages", retailerId: activeRetailer.id });
352
+ }, [product, version]);
352
353
 
353
354
  const loadAssignations = (currentProduct) => {
354
355
  setAssig(product?.asignations);
@@ -391,7 +392,8 @@ export const ProviderProductEdition = ({
391
392
 
392
393
  useEffect(() => {
393
394
  loadInputs();
394
- setImages({ action: "orderImages", retailerId: activeRetailer.id });
395
+ activeRetailer.id &&
396
+ setImages({ action: "orderImages", retailerId: activeRetailer.id });
395
397
  }, [servicesData, activeRetailer, services]);
396
398
 
397
399
  const thumbs = () => {
@@ -16,61 +16,61 @@ RetailerProductEditionDefault.args = {
16
16
  Imágenes: false,
17
17
  },
18
18
  token:
19
- "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIyM2EzZjQ5Ni00ZTM4LTRlMTItOWJmNS03ZjkwYjc3YTJmMzUiLCJjb2duaXRvOmdyb3VwcyI6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Jjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwiY29nbml0bzp1c2VybmFtZSI6IjBiNjZhNGE5LTc3OTAtNDAzNC1hMzBhLWMwMDgwODk2Mjg2NyIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiI4ZjA2YmU0NC04ZWEzLTQ5OWMtOGFjZC0xMDlmMDZiZWI1MjAiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY2MDA3NjQ5MywibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY2MDA4MDA5MywiaWF0IjoxNjYwMDc2NDkzLCJlbWFpbCI6ImJheWFkaTE1MzhAbW5xbG0uY29tIn0.aw_x1A8WR2MCp_Kz-T2Jcg0ZtuKwyzQ23yT_OoKr-aGJmEjSPihmksWgLZr9hJXyfvU0JndaVMM_3DRly1TdtJ264zwH4dZ7Cp9gF4TSXG16HQxIIPUA4NnwdpOnlBdE9E27mCXs4XYnCZ7dRMXnkjpRL4PVbrGji9qbEEJR6TxCJafR-zes1o4HC1KfQ5QF4s5I_LYQYbD-Ot0A1zDiJg34HR9tTILu5f4uc_2Nj8bqqYJsEdKg982WWO9ac2uKRPXQqNL6CsdltnSeQQcnS6Wj5DJTRRoc-lRdE6ekpAvDGPo0Dyj1Q8GYH3uxvM-pVu8J1Z_JOtO5j5mPN9krpA",
20
20
  productSelected: {
21
21
  services: {
22
- datasheets: 1,
23
- descriptions: 1,
22
+ datasheets: 0,
23
+ descriptions: 0,
24
24
  images: 1,
25
25
  },
26
- orderId: 2012,
26
+ orderId: 1789,
27
27
  status: "ACA",
28
- datasheet_status: "ACA",
28
+ datasheet_status: "NS",
29
29
  prio: "none",
30
30
  version: 2,
31
- description_status: "ACA",
31
+ description_status: "NS",
32
32
  images_status: "ACA",
33
33
  article: {
34
- id_article: 77106,
35
- id_category: "2898",
36
- name: "INFLABLE CATRINA 2.13M HALLOWEEN",
37
- upc: "163556",
38
- timestamp: "2022-07-07T17:01:17.000Z",
39
- id_user: 1195,
34
+ id_article: 68865,
35
+ id_category: "2999",
36
+ name: "RESIZE",
37
+ upc: "169955",
38
+ timestamp: "2022-06-21T16:03:10.000Z",
39
+ id_user: 1238,
40
40
  status: "NULL",
41
- active: 1,
42
- company_id: 657,
41
+ active: 0,
42
+ company_id: 819,
43
43
  SKU: null,
44
44
  Descripcion: null,
45
45
  Proveedor: null,
46
46
  id_proveedor: 0,
47
- company_name: "",
48
- country: null,
49
- id_order: 2012,
50
- id_datasheet_especialist: 1248,
51
- id_datasheet_facilitator: 1252,
52
- id_description_especialist: 334,
53
- id_description_facilitator: 1252,
47
+ company_name: "The Home Depot Resize",
48
+ country: "México",
49
+ id_order: 1789,
50
+ id_datasheet_especialist: null,
51
+ id_datasheet_facilitator: null,
52
+ id_description_especialist: null,
53
+ id_description_facilitator: null,
54
54
  id_images_especialist: 1250,
55
- id_images_facilitator: 1286,
56
- id_auditor: 1254,
55
+ id_images_facilitator: 424,
56
+ id_auditor: null,
57
57
  id_recepcionist: null,
58
- category: "Hallowen|Decoración e Inflables|Decoración e Inflables",
59
- missingAttributes: 3,
60
- missingDescriptions: 0,
61
- missingImages: -2,
58
+ category: "Resizing|Resizing|Resizing",
59
+ missingAttributes: null,
60
+ missingDescriptions: null,
61
+ missingImages: null,
62
62
  },
63
63
  retailers: [
64
64
  {
65
- id: 58,
66
- name: "The Home Depot Golden",
65
+ id: 60,
66
+ name: "The Home Depot Resizing",
67
67
  country: "México",
68
68
  id_region: 1,
69
69
  active: 1,
70
70
  },
71
71
  ],
72
- country: null,
73
- upc: "163556",
72
+ country: "México",
73
+ upc: "169955",
74
74
  },
75
75
  location: {
76
76
  product: { articleId: 109485, versionId: 3 },
@@ -389,7 +389,8 @@ export const RetailerProductEdition = ({
389
389
  setDatasheets([datagroups, inputs]);
390
390
  setDescriptions(descriptions);
391
391
  }
392
- setImages({ action: "orderImages", retailerId: activeRetailer.id });
392
+ activeRetailer?.id &&
393
+ setImages({ action: "orderImages", retailerId: activeRetailer.id });
393
394
  }, [activeRetailer, services]);
394
395
 
395
396
  const thumbs = () => {