contentoh-components-library 21.1.49 → 21.1.52

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.
Files changed (29) hide show
  1. package/dist/components/atoms/StatusTag/index.js +17 -2
  2. package/dist/components/atoms/StatusTag/styles.js +1 -1
  3. package/dist/components/molecules/RetailerSelector/index.js +0 -2
  4. package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
  5. package/dist/components/organisms/FullTabsMenu/index.js +2 -2
  6. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +87 -119
  7. package/dist/components/pages/ProviderProductEdition/index.js +328 -380
  8. package/dist/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +37 -0
  9. package/dist/components/pages/RegistrationLoginFirstStep/index.js +269 -0
  10. package/dist/components/pages/RegistrationLoginFirstStep/styles.js +20 -0
  11. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +33 -75
  12. package/dist/components/pages/RetailerProductEdition/index.js +197 -210
  13. package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
  14. package/dist/global-files/data.js +9 -10
  15. package/dist/index.js +13 -0
  16. package/package.json +1 -1
  17. package/src/components/atoms/StatusTag/index.js +12 -2
  18. package/src/components/atoms/StatusTag/styles.js +11 -11
  19. package/src/components/molecules/RetailerSelector/index.js +0 -1
  20. package/src/components/molecules/StatusAsignationInfo/index.js +1 -1
  21. package/src/components/organisms/FullProductNameHeader/index.js +1 -1
  22. package/src/components/organisms/FullTabsMenu/index.js +1 -1
  23. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +92 -116
  24. package/src/components/pages/ProviderProductEdition/index.js +207 -217
  25. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +31 -77
  26. package/src/components/pages/RetailerProductEdition/index.js +165 -140
  27. package/src/components/pages/RetailerProductEdition/styles.js +1 -1
  28. package/src/global-files/data.js +9 -10
  29. package/src/index.js +1 -0
@@ -13,7 +13,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
13
13
 
14
14
  var _templateObject;
15
15
 
16
- var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n overflow: auto;\n\n .data-container {\n display: flex;\n flex: 0%;\n height: calc(100% - ", "px);\n .image-data-panel {\n width: 340px;\n\n & + * {\n margin-left: 10px;\n }\n }\n\n .product-information {\n width: 70%;\n display: flex;\n flex-direction: column;\n\n .services-information-container {\n height: 100%;\n overflow: auto;\n }\n\n .image-services {\n aside {\n display: grid;\n grid-template-columns: repeat(auto-fill, 179px);\n column-gap: 15px;\n row-gap: 15px;\n padding: 20px;\n }\n }\n\n .commentary-box {\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n padding: 10px;\n padding-left: 0;\n\n .commentary {\n display: flex;\n align-items: flex-end;\n\n .input-container {\n width: 500px;\n\n .quill {\n height: 100px;\n }\n\n & + * {\n margin-left: 5px;\n }\n }\n\n .buttons-box {\n display: flex;\n width: 210px;\n flex-wrap: wrap;\n\n .general-transparent-button {\n & + * {\n margin-top: 5px;\n }\n }\n\n .general-transparent-button,\n .general-green-button,\n .general-button-disabled {\n width: fit-content;\n min-width: 201px;\n height: 40px;\n }\n }\n }\n }\n\n .feedback-box {\n display: flex;\n }\n }\n }\n .container {\n width: 100%;\n height: 100%;\n .dropzone {\n height: 100%;\n width: 100%;\n }\n }\n"])), function (_ref) {
16
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n overflow: auto;\n\n .data-container {\n display: flex;\n flex: 0%;\n height: calc(100% - ", "px);\n .image-data-panel {\n width: 340px;\n\n & + * {\n margin-left: 10px;\n }\n }\n\n .product-information {\n width: calc(100% - 341px);\n display: flex;\n flex-direction: column;\n\n .services-information-container {\n height: 100%;\n overflow: auto;\n }\n\n .image-services {\n aside {\n display: grid;\n grid-template-columns: repeat(auto-fill, 179px);\n column-gap: 15px;\n row-gap: 15px;\n padding: 20px;\n }\n }\n\n .commentary-box {\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n padding: 10px;\n padding-left: 0;\n\n .commentary {\n display: flex;\n align-items: flex-end;\n\n .input-container {\n width: 500px;\n\n .quill {\n height: 100px;\n }\n\n & + * {\n margin-left: 5px;\n }\n }\n\n .buttons-box {\n display: flex;\n width: 210px;\n flex-wrap: wrap;\n\n .general-transparent-button {\n & + * {\n margin-top: 5px;\n }\n }\n\n .general-transparent-button,\n .general-green-button,\n .general-button-disabled {\n width: fit-content;\n min-width: 201px;\n height: 40px;\n }\n }\n }\n }\n\n .feedback-box {\n display: flex;\n }\n }\n }\n .container {\n width: 100%;\n height: 100%;\n .dropzone {\n height: 100%;\n width: 100%;\n }\n }\n"])), function (_ref) {
17
17
  var headerTop = _ref.headerTop;
18
18
  return headerTop;
19
19
  });
@@ -280,21 +280,20 @@ var getNewStatus = function getNewStatus(statusArray) {
280
280
  statusArray.forEach(function (element) {
281
281
  return lookupString += element + "/";
282
282
  });
283
- if (lookupString.includes("RC")) return "RC";
283
+ if (lookupString.includes("RF")) return "RF";
284
284
  if (lookupString.includes("RA")) return "RA";
285
285
  if (lookupString.includes("RP")) return "RP";
286
- if (lookupString.includes("RCA")) return "RCA";
287
- if (lookupString.includes("UNASSIGNED")) return "CA";
288
- if (lookupString.includes("CA")) return "CA";
289
- if (lookupString.includes("IE")) return "IE";
290
- if (lookupString.includes("AC")) return "AC";
286
+ if (lookupString.includes("RC")) return "RC";
287
+ if (lookupString.includes("UNASSIGNED")) return "IN_PROGRESS";
288
+ if (lookupString.includes("IN_PROGRESS")) return "IN_PROGRESS";
289
+ if (lookupString.includes("QF")) return "QF";
290
+ if (lookupString.includes("AF")) return "AF";
291
291
  if (lookupString.includes("AA")) return "AA";
292
292
  if (lookupString.includes("AP")) return "AP";
293
- if (lookupString.includes("ACA")) return "ACA";
294
- if (lookupString.includes("R")) return "R";
293
+ if (lookupString.includes("AC")) return "AC";
294
+ if (lookupString.includes("RECEIVED")) return "RECEIVED";
295
295
  if (lookupString.includes("NA")) return "NA";
296
- console.log("Status not found");
297
- return "NA";
296
+ return new Error("Status not found");
298
297
  };
299
298
 
300
299
  exports.getNewStatus = getNewStatus;
package/dist/index.js CHANGED
@@ -784,6 +784,19 @@ Object.keys(_OnboardPlan).forEach(function (key) {
784
784
  });
785
785
  });
786
786
 
787
+ var _RegistrationLoginFirstStep = require("./components/pages/RegistrationLoginFirstStep");
788
+
789
+ Object.keys(_RegistrationLoginFirstStep).forEach(function (key) {
790
+ if (key === "default" || key === "__esModule") return;
791
+ if (key in exports && exports[key] === _RegistrationLoginFirstStep[key]) return;
792
+ Object.defineProperty(exports, key, {
793
+ enumerable: true,
794
+ get: function get() {
795
+ return _RegistrationLoginFirstStep[key];
796
+ }
797
+ });
798
+ });
799
+
787
800
  var _RegistrationLoginSecondStep = require("./components/pages/RegistrationLoginSecondStep");
788
801
 
789
802
  Object.keys(_RegistrationLoginSecondStep).forEach(function (key) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.1.49",
3
+ "version": "21.1.52",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -5,10 +5,20 @@ export const StatusTag = ({ statusType, ovalForm }) => {
5
5
  switch (status) {
6
6
  case "COMPLETED":
7
7
  return "C";
8
+ case "RECEPTION":
9
+ return "Pr";
8
10
  case "NULL":
9
- return "--";
11
+ return "-";
12
+ case "RECEIVED":
13
+ return "Rc";
14
+ case "IN_PROGRESS":
15
+ return "P";
16
+ case "ASSIGNED":
17
+ return "As";
10
18
  case "APPROVED":
11
19
  return "Ap";
20
+ case "VALIDATING":
21
+ return "V";
12
22
  case "PAID_OUT":
13
23
  return "Po";
14
24
  default:
@@ -17,7 +27,7 @@ export const StatusTag = ({ statusType, ovalForm }) => {
17
27
  };
18
28
  return (
19
29
  <Container
20
- className={`status-${getShortStatus(statusType?.replace(/\/.*/, ""))} ${
30
+ className={`status-${getShortStatus(statusType)} ${
21
31
  ovalForm && "oval-form"
22
32
  }`}
23
33
  >
@@ -16,27 +16,30 @@ export const Container = styled.div`
16
16
  line-height: 20px;
17
17
  }
18
18
 
19
- &.status-AS,
20
- &.status-CA,
21
- &.status-IE {
19
+ &.status-As,
20
+ &.status-P,
21
+ &.status-IN_PROGRESS,
22
+ &.status-QF {
22
23
  background-color: ${GlobalColors.in_progress};
23
24
  }
24
25
 
25
- &.status-R {
26
+ &.status-Pr,
27
+ &.status-Rr,
28
+ &.status-Rc {
26
29
  background-color: ${GlobalColors.reception};
27
30
  }
28
31
 
29
32
  &.status-AA,
30
33
  &.status-AP,
31
- &.status-ACA,
32
- &.status-AC {
34
+ &.status-AC,
35
+ &.status-AF {
33
36
  background-color: ${GlobalColors.finished};
34
37
  }
35
38
 
36
39
  &.status-RA,
37
- &.status-RC,
40
+ &.status-RF,
38
41
  &.status-RP,
39
- &.status-RCA {
42
+ &.status-RC {
40
43
  background-color: ${GlobalColors.rejected_status};
41
44
  }
42
45
 
@@ -70,7 +73,4 @@ export const Container = styled.div`
70
73
  &.oval-form {
71
74
  border-radius: 10px;
72
75
  }
73
- &.delThis {
74
- color: red;
75
- }
76
76
  `;
@@ -3,7 +3,6 @@ import { Avatar } from "../../atoms/Avatar";
3
3
  import { useEffect, useState } from "react";
4
4
  import { AsignationOption } from "../../atoms/AsignationOption";
5
5
  import { DropDownButton } from "../../atoms/DropDownButton";
6
- import axios from "axios";
7
6
 
8
7
  export const RetailerSelector = ({
9
8
  retailers,
@@ -71,7 +71,7 @@ export const StatusAsignationInfo = ({
71
71
  slidefront={slidefront}
72
72
  iconSize={"medium-image"}
73
73
  slidePosition={"bottom-slide"}
74
- />
74
+ ></SliderToolTip>
75
75
  {status !== "-" && <StatusTag statusType={status} ovalForm={true} />}
76
76
  {showSaveButton && (
77
77
  <Button
@@ -26,7 +26,7 @@ export const FullProductNameHeader = ({
26
26
  const element = [];
27
27
  servicesData.forEach((sd) => {
28
28
  if (sd.id_retailer === rt.id) {
29
- element.push(sd.status ? sd.status : "R");
29
+ element.push(sd.status ? sd.status : "RECEIVED");
30
30
  } else element.push("NA");
31
31
  rt["services"] = element;
32
32
  });
@@ -28,6 +28,7 @@ export const FullTabsMenu = ({
28
28
  setActiveTab={setActiveTab}
29
29
  />
30
30
  <StatusAsignationInfo
31
+ canAssign={canAssign}
31
32
  status={status}
32
33
  activeTab={activeTab}
33
34
  setImageLayout={setImageLayout}
@@ -39,7 +40,6 @@ export const FullTabsMenu = ({
39
40
  onClickSave={onClickSave}
40
41
  askToDeleteImages={askToDeleteImages}
41
42
  showSaveButton={showSaveButton}
42
- canAssign={canAssign}
43
43
  />
44
44
  </Container>
45
45
  );
@@ -12,51 +12,31 @@ export const ProviderProductEditionDefault = Template.bind({});
12
12
  ProviderProductEditionDefault.args = {
13
13
  tabsSections: {
14
14
  Descripción: true,
15
- "Ficha técnica": true,
16
- Imágenes: true,
15
+ "Ficha técnica": false,
16
+ Imágenes: false,
17
17
  },
18
18
  token:
19
- "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJmNTkyN2Y4ZS1jYmY3LTQ5MjItOWUwOS1lNjllYzBiMjczMWEiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImY1OTI3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+ articleId: 238,
21
+ category: 846,
22
+ version: 2,
23
23
  productSelected: {
24
- orderId: 96,
25
- status: "AA",
26
- datasheet_status: "AA",
24
+ orderId: 55,
25
+ article_status: "AP",
26
+ datasheet_status: "AP",
27
+ description_status: "AP",
28
+ images_status: "AP",
27
29
  prio: "none",
28
- version: 3,
29
- description_status: "AA",
30
- images_status: "AA",
30
+ version: 2,
31
31
  brand: null,
32
- retailerOrder: 0,
33
- missing: {
34
- datasheet: null,
35
- descriptions: null,
36
- images: null,
37
- },
38
- services: {
39
- datasheets: 1,
40
- descriptions: 1,
41
- images: 1,
42
- },
43
32
  article: {
44
- category: "SEGURIDAD|BATERÍAS Y PILAS|BATERÍAS Y PILAS",
45
- company_name: "COMPANY DEV",
33
+ category: "ILUMINACIÓN|FOCOS|FOCOS",
34
+ company_name: "THD Proveedor",
46
35
  country: "México",
47
- id_category: "2568",
48
- id_datasheet_especialist: 54,
49
- id_datasheet_facilitator: 52,
50
- id_description_especialist: 54,
51
- id_description_facilitator: 52,
52
- id_images_especialist: 55,
53
- id_images_facilitator: 53,
54
- id_order: 96,
55
- id_article: 55154,
56
- id_auditor: 37,
57
- name: "Prueba 12312",
58
- timestamp: "2022-07-04T22:17:43.000Z",
59
- upc: "977812",
36
+ id_category: "2143",
37
+ id_article: 55118,
38
+ name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
39
+ upc: "145582",
60
40
  },
61
41
  retailers: [
62
42
  {
@@ -67,17 +47,21 @@ ProviderProductEditionDefault.args = {
67
47
  id: 59,
68
48
  name: "The Home Depot Platinum",
69
49
  },
70
- ],
71
- statusByRetailer: {
72
- 58: {
73
- datasheet: "AA",
74
- description: "AA",
75
- images: "AA",
50
+ {
51
+ id: 60,
52
+ name: "The Home Depot Resizing",
76
53
  },
77
- 59: {
78
- images: "AA",
54
+ {
55
+ id: 61,
56
+ name: "Home Depot TAB",
79
57
  },
58
+ ],
59
+ services: {
60
+ datasheets: 1,
61
+ descriptions: 1,
62
+ images: 1,
80
63
  },
64
+ id_article: 55118,
81
65
  retailersAvailable: [
82
66
  {
83
67
  id: 58,
@@ -87,52 +71,36 @@ ProviderProductEditionDefault.args = {
87
71
  id: 59,
88
72
  name: "The Home Depot Platinum",
89
73
  },
74
+ {
75
+ id: 60,
76
+ name: "The Home Depot Resizing",
77
+ },
78
+ {
79
+ id: 61,
80
+ name: "Home Depot TAB",
81
+ },
90
82
  ],
91
- categoryName: "SEGURIDAD|BATERÍAS Y PILAS|BATERÍAS Y PILAS",
92
- upc: "977812",
93
- id_article: 55154,
94
- id_order: 96,
95
83
  },
96
84
  productToEdit: {
97
- ArticleId: 55154,
98
- idCategory: "2568",
85
+ ArticleId: 55118,
86
+ idCategory: "2143",
99
87
  product: {
100
- orderId: 96,
101
- status: "AA",
102
- datasheet_status: "AA",
88
+ orderId: 55,
89
+ article_status: "AP",
90
+ datasheet_status: "AP",
91
+ description_status: "AP",
92
+ images_status: "AP",
103
93
  prio: "none",
104
- version: 3,
105
- description_status: "AA",
106
- images_status: "AA",
94
+ version: 2,
107
95
  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
96
  article: {
120
- category: "SEGURIDAD|BATERÍAS Y PILAS|BATERÍAS Y PILAS",
121
- company_name: "COMPANY DEV",
97
+ category: "ILUMINACIÓN|FOCOS|FOCOS",
98
+ company_name: "THD Proveedor",
122
99
  country: "México",
123
- id_category: "2568",
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: 96,
131
- id_article: 55154,
132
- id_auditor: 37,
133
- name: "Prueba 12312",
134
- timestamp: "2022-07-04T22:17:43.000Z",
135
- upc: "977812",
100
+ id_category: "2143",
101
+ id_article: 55118,
102
+ name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
103
+ upc: "145582",
136
104
  },
137
105
  retailers: [
138
106
  {
@@ -143,17 +111,21 @@ ProviderProductEditionDefault.args = {
143
111
  id: 59,
144
112
  name: "The Home Depot Platinum",
145
113
  },
146
- ],
147
- statusByRetailer: {
148
- 58: {
149
- datasheet: "AA",
150
- description: "AA",
151
- images: "AA",
114
+ {
115
+ id: 60,
116
+ name: "The Home Depot Resizing",
152
117
  },
153
- 59: {
154
- images: "AA",
118
+ {
119
+ id: 61,
120
+ name: "Home Depot TAB",
155
121
  },
122
+ ],
123
+ services: {
124
+ datasheets: 1,
125
+ descriptions: 1,
126
+ images: 1,
156
127
  },
128
+ id_article: 55118,
157
129
  retailersAvailable: [
158
130
  {
159
131
  id: 58,
@@ -163,48 +135,52 @@ ProviderProductEditionDefault.args = {
163
135
  id: 59,
164
136
  name: "The Home Depot Platinum",
165
137
  },
138
+ {
139
+ id: 60,
140
+ name: "The Home Depot Resizing",
141
+ },
142
+ {
143
+ id: 61,
144
+ name: "Home Depot TAB",
145
+ },
166
146
  ],
167
- categoryName: "SEGURIDAD|BATERÍAS Y PILAS|BATERÍAS Y PILAS",
168
- upc: "977812",
169
- id_article: 55154,
170
- id_order: 96,
171
147
  },
172
148
  },
173
149
  location: {
174
- product: { articleId: 55157, versionId: 3 },
150
+ product: { articleId: 109485, versionId: 3 },
175
151
  state: { origin: "Contentoh" },
176
152
  },
177
153
  user: {
178
- id_user: 28,
179
- name: "Proveedor",
180
- last_name: "Colgate",
181
- email: "ilopez@contentoh.com",
182
- position: "Prueba Admin",
154
+ id_user: 59,
155
+ name: "The Home",
156
+ last_name: "Depot",
157
+ email: "cadena.ismael@allfreemail.net",
158
+ position: "Admin",
183
159
  telephone: "+523111366336",
184
160
  country: "México",
185
- id_company: 1,
186
- id_cognito: "f5927f8e-cbf7-4922-9e09-e69ec0b2731a",
161
+ id_company: 7,
162
+ id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
187
163
  birth_Date: null,
188
164
  about_me: null,
189
165
  zip_code: null,
190
166
  address: null,
191
167
  job: null,
192
- id_stripe: "cus_KuEt6R6vwmN09f",
168
+ id_stripe: "",
193
169
  id_role: 0,
194
170
  active: 1,
195
171
  is_retailer: 0,
196
- email_notify: 0,
172
+ email_notify: 1,
197
173
  membership: {
198
- id: 38,
199
- start_date: "2022-01-18T17:25:35.000Z",
200
- end_date: "2023-01-18T17:25:35.000Z",
201
- planID: 8,
202
- plan: "prod_KtlhECVSFG2iro",
203
- name: "Plan Pro",
204
- user_limit: "20",
205
- products_limit: "5000",
174
+ id: 24,
175
+ start_date: "2021-11-23T03:35:50.000Z",
176
+ end_date: "2022-11-23T03:35:50.000Z",
177
+ planID: 9,
178
+ plan: "prod_KtlkzZVGq6bRTO",
179
+ name: "Plan Enterprise Full",
180
+ user_limit: "30",
181
+ products_limit: "10000",
206
182
  type: "Enterprise",
207
183
  },
208
- src: "https://content-management-profile.s3.amazonaws.com/id-28/28.png?1656972421501",
184
+ src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1656113146885",
209
185
  },
210
- };
186
+ };