contentoh-components-library 21.1.89 → 21.1.90

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.
@@ -31,75 +31,107 @@ ProviderProductEditionDefault.args = {
31
31
  "Ficha técnica": true,
32
32
  Imágenes: true
33
33
  },
34
- token: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI5ZTQ0OGMwZS0xOGVkLTRlYWYtOWY4OC0zYjMxOTdkNGEyZmQiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6IjllNDQ4YzBlLTE4ZWQtNGVhZi05Zjg4LTNiMzE5N2Q0YTJmZCIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiI5ODg5YTFhYi1mMTljLTRiNzQtYjQ5Ni0xZDM3YzZjY2U3YmQiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NjQzMTQ5OCwibmFtZSI6IkdlcnNvbiBNYXJ0w61uZXoiLCJwaG9uZV9udW1iZXIiOiIrNTIxMjMxMjMxMjMiLCJleHAiOjE2NTY0MzUwOTgsImlhdCI6MTY1NjQzMTQ5OCwiZW1haWwiOiJnbWFydGluZXpAY29udGVudG9oLmNvbSJ9.qMBMYKxcaQrXT-3373y3K4eX73vgRApuFsT9-FVl9AuP_BKy51nHReEvwWHO4SMVpFxf3eHoQhUHG2PTl8qlvnoXlLq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nXkkp6IX7iKeOqRePrzin-XlG7KauuoHvv7M-dWGJB_xRg-C1uGIG7gKOFP7oM3BGuVqrlIzs-z3uKNSBz0raq3-tRUHRMKo30HGwdh9Q8X8F9RAEZ0-lpIoTCoMS4ua6OJVG_qPRGJHVF2_mzAxof81oHHj5tv-SC6lrJYc5UqDj97y_e-rGakVyVV7VXeKAJlnmw4y52_WDlbOq3W2e_wI8NuNiiEBYXgWSm5j_rzB4-BuF3nUNheKpimZEn1wTULHLo-Izj_WPdPS1l5yTi9oF09QZht_Te0o3SZliBPKgVcH8cycReoACukbY2BPPQ",
35
35
  articleId: 238,
36
36
  category: 846,
37
37
  version: 2,
38
38
  productSelected: {
39
- id_article: 76145,
40
- id_category: "700",
41
- name: "prod 8 LCR",
42
- upc: "8484161",
43
- timestamp: "2022-07-11T15:28:44.000Z",
44
- status: "NULL",
45
- categoryName: "Salud y Belleza|Cuidado Facial|Cremas, Mascarillas y Tratamientos",
46
- asignations: [],
39
+ orderId: 1936,
40
+ article_status: "AP",
41
+ datasheet_status: "NS",
42
+ description_status: "NS",
43
+ images_status: "AP",
44
+ prio: "none",
47
45
  version: 3,
48
- version_status: "R",
49
- retailersAvailable: [{
50
- id: 12,
51
- name: "La Comer",
52
- country: "México",
53
- id_region: 1,
54
- active: 1
46
+ brand: null,
47
+ article: {
48
+ category: "Herramientas|Herramientas Manuales|Espátulas y Llanas",
49
+ company_name: "TRUPER SA DE CV",
50
+ id_company: 301,
51
+ country: null,
52
+ id_category: "2125",
53
+ id_article: 28099,
54
+ name: 'Espátula flexible, mango de madera, 6"',
55
+ upc: "90364"
56
+ },
57
+ retailers: [{
58
+ id: 58,
59
+ name: "The Home Depot Golden"
60
+ }, {
61
+ id: 59,
62
+ name: "The Home Depot Platinum"
55
63
  }],
56
- missing: {}
64
+ services: {
65
+ datasheets: 0,
66
+ descriptions: 0,
67
+ images: 1
68
+ },
69
+ statusByRetailer: {
70
+ 59: {
71
+ images: "AP"
72
+ }
73
+ },
74
+ retailersWithService: ["59"],
75
+ checked: false,
76
+ id_article: 28099,
77
+ retailersAvailable: [{
78
+ id: 58,
79
+ name: "The Home Depot Golden"
80
+ }, {
81
+ id: 59,
82
+ name: "The Home Depot Platinum"
83
+ }]
57
84
  },
58
85
  productToEdit: {
59
- idCategory: "2999",
60
- ArticleId: 69031,
61
- product: [{
62
- orderId: 1829,
63
- id_category: "2999",
64
- status: "AC",
86
+ ArticleId: 28099,
87
+ idCategory: "2125",
88
+ product: {
89
+ orderId: 1936,
90
+ article_status: "AP",
65
91
  datasheet_status: "NS",
66
- prio: "none",
67
- version: 2,
68
92
  description_status: "NS",
69
- images_status: "AC",
93
+ images_status: "AP",
94
+ prio: "none",
95
+ version: 3,
70
96
  brand: null,
71
- missing: {
72
- datasheet: 0,
73
- descriptions: 0,
74
- images: 0
75
- },
76
97
  article: {
77
- category: "RESIZING|RESIZING|RESIZING",
78
- company_name: "The Home Depot Resize",
79
- id_category: "2999",
80
- id_article: 69031,
81
- name: "RESIZING",
82
- timestamp: "2022-06-23T15:53:54.000Z",
83
- upc: "130994"
98
+ category: "Herramientas|Herramientas Manuales|Espátulas y Llanas",
99
+ company_name: "TRUPER SA DE CV",
100
+ id_company: 301,
101
+ country: null,
102
+ id_category: "2125",
103
+ id_article: 28099,
104
+ name: 'Espátula flexible, mango de madera, 6"',
105
+ upc: "90364"
84
106
  },
85
107
  retailers: [{
86
- id: 60,
87
- name: "The Home Depot Resizing"
108
+ id: 58,
109
+ name: "The Home Depot Golden"
110
+ }, {
111
+ id: 59,
112
+ name: "The Home Depot Platinum"
88
113
  }],
89
114
  services: {
90
115
  datasheets: 0,
91
116
  descriptions: 0,
92
117
  images: 1
93
118
  },
119
+ statusByRetailer: {
120
+ 59: {
121
+ images: "AP"
122
+ }
123
+ },
124
+ retailersWithService: ["59"],
94
125
  checked: false,
126
+ id_article: 28099,
95
127
  retailersAvailable: [{
96
- id: 60,
97
- name: "The Home Depot Resizing"
98
- }],
99
- id_article: 69031,
100
- categoryName: "RESIZING|RESIZING|RESIZING",
101
- version_status: "AC"
102
- }]
128
+ id: 58,
129
+ name: "The Home Depot Golden"
130
+ }, {
131
+ id: 59,
132
+ name: "The Home Depot Platinum"
133
+ }]
134
+ }
103
135
  },
104
136
  location: {
105
137
  state: {
@@ -107,15 +139,15 @@ ProviderProductEditionDefault.args = {
107
139
  }
108
140
  },
109
141
  user: {
110
- id_user: 1287,
111
- name: "Gerson",
112
- last_name: "Martinez",
113
- email: "gmartinez@contentoh.com",
114
- position: "Cuenta financiada",
115
- telephone: "+525551234567",
142
+ id_user: 1237,
143
+ name: "The Home",
144
+ last_name: "Depot",
145
+ email: "retailerThd@AllFreeMail.net",
146
+ position: "Retailer",
147
+ telephone: "+523111111111",
116
148
  country: "México",
117
- id_company: 819,
118
- id_cognito: "9e448c0e-18ed-4eaf-9f88-3b3197d4a2fd",
149
+ id_company: 817,
150
+ id_cognito: "abe188e2-25b1-4a19-8672-0d4bc11a9bf2",
119
151
  birth_Date: null,
120
152
  about_me: null,
121
153
  zip_code: null,
@@ -124,12 +156,12 @@ ProviderProductEditionDefault.args = {
124
156
  id_stripe: null,
125
157
  id_role: 0,
126
158
  active: 1,
127
- is_retailer: 0,
159
+ is_retailer: 1,
128
160
  email_notify: 1,
129
161
  membership: {
130
- id: 799,
131
- start_date: "2022-06-19T15:48:09.000Z",
132
- end_date: "2023-06-19T15:48:09.000Z",
162
+ id: 798,
163
+ start_date: "2022-06-19T04:25:07.000Z",
164
+ end_date: "2023-06-19T04:25:07.000Z",
133
165
  planID: 6,
134
166
  plan: "prod_KvGd6YSTJyR3AP",
135
167
  name: "Plan Small",
@@ -137,20 +169,37 @@ ProviderProductEditionDefault.args = {
137
169
  products_limit: "1000",
138
170
  type: "Enterprise"
139
171
  },
140
- src: "https://content-management-profile-prod.s3.amazonaws.com/id-1287/1287.png?1656431499310"
172
+ src: "https://content-management-profile-prod.s3.amazonaws.com/id-1237/1237.png?1659539733360"
141
173
  },
142
174
  company: {
143
- id_company: 1,
144
- trade_name: "COMPANY DEV",
145
- company_name: "COMPANY DEV",
146
- rfc: null,
147
- adress: "",
148
- about_company: "...",
149
- telephone: "",
150
- web_site: "",
151
- zip_code: "",
175
+ id_company: 817,
176
+ trade_name: "Retailer acc",
177
+ company_name: "Retailer acc",
178
+ rfc: "ASER12345",
179
+ adress: "Av. Insurgentes",
180
+ about_company: null,
181
+ telephone: null,
182
+ web_site: null,
183
+ zip_code: null,
152
184
  email: null,
153
- social_link: "",
154
- is_retailer: 0
185
+ social_link: null,
186
+ is_retailer: 1,
187
+ retailers: [{
188
+ id: 58,
189
+ name: "The Home Depot Golden",
190
+ country: "México"
191
+ }, {
192
+ id: 59,
193
+ name: "The Home Depot Platinum",
194
+ country: "México"
195
+ }, {
196
+ id: 60,
197
+ name: "The Home Depot Resizing",
198
+ country: "México"
199
+ }, {
200
+ id: 61,
201
+ name: "Home Depot TAB",
202
+ country: "México"
203
+ }]
155
204
  }
156
205
  };
@@ -1820,7 +1820,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
1820
1820
  }
1821
1821
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FullTabsMenu.FullTabsMenu, {
1822
1822
  tabsSections: tabsSections,
1823
- status: activeRetailer.id && retailerStatus ? retailerStatus[activeRetailer === null || activeRetailer === void 0 ? void 0 : activeRetailer.id][getConcept(activeTab)] || "NS" : "-",
1823
+ status: activeRetailer !== null && activeRetailer !== void 0 && activeRetailer.id && retailerStatus && retailerStatus[activeRetailer.id] ? retailerStatus[activeRetailer === null || activeRetailer === void 0 ? void 0 : activeRetailer.id][getConcept(activeTab)] || "NS" : "-",
1824
1824
  activeTab: activeTab,
1825
1825
  setActiveTab: setActiveTab,
1826
1826
  setImageLayout: setImageLayout,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.1.89",
3
+ "version": "21.1.90",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",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SBz0raq3-tRUHRMKo30HGwdh9Q8X8F9RAEZ0-lpIoTCoMS4ua6OJVG_qPRGJHVF2_mzAxof81oHHj5tv-SC6lrJYc5UqDj97y_e-rGakVyVV7VXeKAJlnmw4y52_WDlbOq3W2e_wI8NuNiiEBYXgWSm5j_rzB4-BuF3nUNheKpimZEn1wTULHLo-Izj_WPdPS1l5yTi9oF09QZht_Te0o3SZliBPKgVcH8cycReoACukbY2BPPQ",
20
20
  articleId: 238,
21
21
  category: 846,
22
22
  version: 2,
23
23
  productSelected: {
24
- id_article: 76145,
25
- id_category: "700",
26
- name: "prod 8 LCR",
27
- upc: "8484161",
28
- timestamp: "2022-07-11T15:28:44.000Z",
29
- status: "NULL",
30
- categoryName:
31
- "Salud y Belleza|Cuidado Facial|Cremas, Mascarillas y Tratamientos",
32
- asignations: [],
24
+ orderId: 1936,
25
+ article_status: "AP",
26
+ datasheet_status: "NS",
27
+ description_status: "NS",
28
+ images_status: "AP",
29
+ prio: "none",
33
30
  version: 3,
34
- version_status: "R",
31
+ brand: null,
32
+ article: {
33
+ category: "Herramientas|Herramientas Manuales|Espátulas y Llanas",
34
+ company_name: "TRUPER SA DE CV",
35
+ id_company: 301,
36
+ country: null,
37
+ id_category: "2125",
38
+ id_article: 28099,
39
+ name: 'Espátula flexible, mango de madera, 6"',
40
+ upc: "90364",
41
+ },
42
+ retailers: [
43
+ {
44
+ id: 58,
45
+ name: "The Home Depot Golden",
46
+ },
47
+ {
48
+ id: 59,
49
+ name: "The Home Depot Platinum",
50
+ },
51
+ ],
52
+ services: {
53
+ datasheets: 0,
54
+ descriptions: 0,
55
+ images: 1,
56
+ },
57
+ statusByRetailer: {
58
+ 59: {
59
+ images: "AP",
60
+ },
61
+ },
62
+ retailersWithService: ["59"],
63
+ checked: false,
64
+ id_article: 28099,
35
65
  retailersAvailable: [
36
66
  {
37
- id: 12,
38
- name: "La Comer",
39
- country: "México",
40
- id_region: 1,
41
- active: 1,
67
+ id: 58,
68
+ name: "The Home Depot Golden",
69
+ },
70
+ {
71
+ id: 59,
72
+ name: "The Home Depot Platinum",
42
73
  },
43
74
  ],
44
- missing: {},
45
75
  },
46
76
  productToEdit: {
47
- idCategory: "2999",
48
- ArticleId: 69031,
49
- product: [
50
- {
51
- orderId: 1829,
52
- id_category: "2999",
53
- status: "AC",
54
- datasheet_status: "NS",
55
- prio: "none",
56
- version: 2,
57
- description_status: "NS",
58
- images_status: "AC",
59
- brand: null,
60
- missing: {
61
- datasheet: 0,
62
- descriptions: 0,
63
- images: 0,
77
+ ArticleId: 28099,
78
+ idCategory: "2125",
79
+ product: {
80
+ orderId: 1936,
81
+ article_status: "AP",
82
+ datasheet_status: "NS",
83
+ description_status: "NS",
84
+ images_status: "AP",
85
+ prio: "none",
86
+ version: 3,
87
+ brand: null,
88
+ article: {
89
+ category: "Herramientas|Herramientas Manuales|Espátulas y Llanas",
90
+ company_name: "TRUPER SA DE CV",
91
+ id_company: 301,
92
+ country: null,
93
+ id_category: "2125",
94
+ id_article: 28099,
95
+ name: 'Espátula flexible, mango de madera, 6"',
96
+ upc: "90364",
97
+ },
98
+ retailers: [
99
+ {
100
+ id: 58,
101
+ name: "The Home Depot Golden",
64
102
  },
65
- article: {
66
- category: "RESIZING|RESIZING|RESIZING",
67
- company_name: "The Home Depot Resize",
68
- id_category: "2999",
69
- id_article: 69031,
70
- name: "RESIZING",
71
- timestamp: "2022-06-23T15:53:54.000Z",
72
- upc: "130994",
103
+ {
104
+ id: 59,
105
+ name: "The Home Depot Platinum",
73
106
  },
74
- retailers: [
75
- {
76
- id: 60,
77
- name: "The Home Depot Resizing",
78
- },
79
- ],
80
- services: {
81
- datasheets: 0,
82
- descriptions: 0,
83
- images: 1,
107
+ ],
108
+ services: {
109
+ datasheets: 0,
110
+ descriptions: 0,
111
+ images: 1,
112
+ },
113
+ statusByRetailer: {
114
+ 59: {
115
+ images: "AP",
84
116
  },
85
- checked: false,
86
- retailersAvailable: [
87
- {
88
- id: 60,
89
- name: "The Home Depot Resizing",
90
- },
91
- ],
92
- id_article: 69031,
93
- categoryName: "RESIZING|RESIZING|RESIZING",
94
- version_status: "AC",
95
117
  },
96
- ],
118
+ retailersWithService: ["59"],
119
+ checked: false,
120
+ id_article: 28099,
121
+ retailersAvailable: [
122
+ {
123
+ id: 58,
124
+ name: "The Home Depot Golden",
125
+ },
126
+ {
127
+ id: 59,
128
+ name: "The Home Depot Platinum",
129
+ },
130
+ ],
131
+ },
97
132
  },
98
133
  location: {
99
134
  state: { origin: "Contentoh" },
100
135
  },
101
136
  user: {
102
- id_user: 1287,
103
- name: "Gerson",
104
- last_name: "Martinez",
105
- email: "gmartinez@contentoh.com",
106
- position: "Cuenta financiada",
107
- telephone: "+525551234567",
137
+ id_user: 1237,
138
+ name: "The Home",
139
+ last_name: "Depot",
140
+ email: "retailerThd@AllFreeMail.net",
141
+ position: "Retailer",
142
+ telephone: "+523111111111",
108
143
  country: "México",
109
- id_company: 819,
110
- id_cognito: "9e448c0e-18ed-4eaf-9f88-3b3197d4a2fd",
144
+ id_company: 817,
145
+ id_cognito: "abe188e2-25b1-4a19-8672-0d4bc11a9bf2",
111
146
  birth_Date: null,
112
147
  about_me: null,
113
148
  zip_code: null,
@@ -116,12 +151,12 @@ ProviderProductEditionDefault.args = {
116
151
  id_stripe: null,
117
152
  id_role: 0,
118
153
  active: 1,
119
- is_retailer: 0,
154
+ is_retailer: 1,
120
155
  email_notify: 1,
121
156
  membership: {
122
- id: 799,
123
- start_date: "2022-06-19T15:48:09.000Z",
124
- end_date: "2023-06-19T15:48:09.000Z",
157
+ id: 798,
158
+ start_date: "2022-06-19T04:25:07.000Z",
159
+ end_date: "2023-06-19T04:25:07.000Z",
125
160
  planID: 6,
126
161
  plan: "prod_KvGd6YSTJyR3AP",
127
162
  name: "Plan Small",
@@ -129,20 +164,42 @@ ProviderProductEditionDefault.args = {
129
164
  products_limit: "1000",
130
165
  type: "Enterprise",
131
166
  },
132
- src: "https://content-management-profile-prod.s3.amazonaws.com/id-1287/1287.png?1656431499310",
167
+ src: "https://content-management-profile-prod.s3.amazonaws.com/id-1237/1237.png?1659539733360",
133
168
  },
134
169
  company: {
135
- id_company: 1,
136
- trade_name: "COMPANY DEV",
137
- company_name: "COMPANY DEV",
138
- rfc: null,
139
- adress: "",
140
- about_company: "...",
141
- telephone: "",
142
- web_site: "",
143
- zip_code: "",
170
+ id_company: 817,
171
+ trade_name: "Retailer acc",
172
+ company_name: "Retailer acc",
173
+ rfc: "ASER12345",
174
+ adress: "Av. Insurgentes",
175
+ about_company: null,
176
+ telephone: null,
177
+ web_site: null,
178
+ zip_code: null,
144
179
  email: null,
145
- social_link: "",
146
- is_retailer: 0,
180
+ social_link: null,
181
+ is_retailer: 1,
182
+ retailers: [
183
+ {
184
+ id: 58,
185
+ name: "The Home Depot Golden",
186
+ country: "México",
187
+ },
188
+ {
189
+ id: 59,
190
+ name: "The Home Depot Platinum",
191
+ country: "México",
192
+ },
193
+ {
194
+ id: 60,
195
+ name: "The Home Depot Resizing",
196
+ country: "México",
197
+ },
198
+ {
199
+ id: 61,
200
+ name: "Home Depot TAB",
201
+ country: "México",
202
+ },
203
+ ],
147
204
  },
148
205
  };
@@ -1209,7 +1209,9 @@ export const ProviderProductEdition = ({
1209
1209
  <FullTabsMenu
1210
1210
  tabsSections={tabsSections}
1211
1211
  status={
1212
- activeRetailer.id && retailerStatus
1212
+ activeRetailer?.id &&
1213
+ retailerStatus &&
1214
+ retailerStatus[activeRetailer.id]
1213
1215
  ? retailerStatus[activeRetailer?.id][getConcept(activeTab)] ||
1214
1216
  "NS"
1215
1217
  : "-"