contentoh-components-library 21.3.39 → 21.3.41

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 (23) hide show
  1. package/dist/components/atoms/ButtonV2/styles.js +1 -1
  2. package/dist/components/atoms/Status/styles.js +1 -1
  3. package/dist/components/atoms/VerticalSideMenuMainPage/index.js +18 -23
  4. package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +4 -4
  5. package/dist/components/organisms/GlobalModal/styles.js +1 -1
  6. package/dist/components/organisms/TableResizable/index.js +6 -10
  7. package/dist/components/pages/Dashboard/Dashboard.stories.js +31 -50
  8. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +138 -52
  9. package/dist/components/pages/ProviderProductEdition/index.js +191 -202
  10. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +82 -118
  11. package/dist/components/pages/RetailerProductEdition/index.js +1 -1
  12. package/package.json +1 -1
  13. package/src/components/atoms/ButtonV2/styles.js +1 -1
  14. package/src/components/atoms/Status/styles.js +4 -0
  15. package/src/components/atoms/VerticalSideMenuMainPage/index.js +18 -22
  16. package/src/components/atoms/VerticalSideMenuMainPage/styles.js +3 -4
  17. package/src/components/organisms/GlobalModal/styles.js +10 -0
  18. package/src/components/organisms/TableResizable/index.js +0 -2
  19. package/src/components/pages/Dashboard/Dashboard.stories.js +31 -55
  20. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +157 -58
  21. package/src/components/pages/ProviderProductEdition/index.js +119 -121
  22. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +87 -127
  23. package/src/components/pages/RetailerProductEdition/index.js +1 -1
@@ -28,137 +28,101 @@ exports.RetailerProductEditionDefault = RetailerProductEditionDefault;
28
28
  RetailerProductEditionDefault.args = {
29
29
  tabsSections: {
30
30
  Descripción: true,
31
- "Ficha técnica": true,
32
- Imágenes: true
31
+ "Ficha técnica": false,
32
+ Imágenes: false
33
33
  },
34
- token: "e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q70yMFEkyMGI9kQs_fz1gxrmrSc2FGefn3B_1Vymq3pQ_S1JrY_syYf88m_GtJKOywEnE6--Ef9lZhFBFKGtqRJ4H8JBa9Xb96uCjAKyEMCSURDlw37pk2RQdULlZPj17Zb6Xrqi2lwrhpI1ByptX3__UoTiZklnTXwIxM4JdU7yuhXLznaEH8NOSd2Jw-CV6FCUbYBHlnRYBQg7B5mwyVKtDQm6QpRgBTBPCvljJJpFjRKUcnon8WZiFXx1qVbkWPt2vCT1TZqqoSLdlP6lA",
35
35
  productSelected: {
36
- services: {
37
- datasheets: 1,
38
- descriptions: 1,
39
- images: 1
36
+ "orderId": 15160,
37
+ "status": "SAC",
38
+ "datasheet_status": "SAC",
39
+ "prio": "none",
40
+ "version": 7,
41
+ "description_status": "SAC",
42
+ "images_status": "SAC",
43
+ "brand": null,
44
+ "retailerOrder": 1,
45
+ "missing": {
46
+ "datasheet": null,
47
+ "descriptions": null,
48
+ "images": null
40
49
  },
41
- orderId: 14606,
42
- status: "AS",
43
- datasheet_status: "CA",
44
- prio: "none",
45
- version: 3,
46
- description_status: "CA",
47
- images_status: "AS",
48
- statusByRetailer: {
49
- 4: {
50
- datasheet: "AC",
51
- description: "CA",
52
- images: "AS"
53
- },
54
- 5: {
55
- datasheet: "CA",
56
- description: "CA",
57
- images: "AS"
58
- },
59
- 6: {
60
- description: "CA",
61
- images: "AS",
62
- datasheet: "CA"
63
- },
64
- 12: {
65
- datasheet: "CA",
66
- description: "CA",
67
- images: "AS"
68
- },
69
- 17: {
70
- datasheet: "CA",
71
- description: "AC",
72
- images: "AS"
73
- }
50
+ "services": {
51
+ "datasheets": 1,
52
+ "descriptions": 1,
53
+ "images": 1
74
54
  },
75
- article: {
76
- id_article: 37317,
77
- id_category: "157",
78
- name: "Detergente lavatrastres líquido Axion Complete tricloro 1.1 l",
79
- upc: "7509546078915",
80
- timestamp: "2023-03-10T20:19:15.000Z",
81
- id_user: 28,
82
- status: "NULL",
83
- active: 1,
84
- company_id: 1005,
85
- SKU: null,
86
- Descripcion: null,
87
- Proveedor: null,
88
- id_proveedor: 0,
89
- company_name: "CRS Transformaciones",
90
- country: "México",
91
- id_order: 14606,
92
- id_datasheet_especialist: 54,
93
- id_datasheet_facilitator: 52,
94
- id_description_especialist: 54,
95
- id_description_facilitator: 52,
96
- id_images_especialist: 55,
97
- id_images_facilitator: 53,
98
- id_auditor: 37,
99
- id_recepcionist: null,
100
- category: "Consumibles|Productos de Limpieza y Lavandería|Jabones y Lavatrastes",
101
- missingAttributes: 0,
102
- missingDescriptions: 0,
103
- missingImages: 0
55
+ "article": {
56
+ "category": "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
57
+ "company_name": "Demo",
58
+ "country": "México",
59
+ "id_category": "2366",
60
+ "id_datasheet_especialist": null,
61
+ "id_datasheet_facilitator": null,
62
+ "id_description_especialist": null,
63
+ "id_description_facilitator": null,
64
+ "id_images_especialist": null,
65
+ "id_images_facilitator": null,
66
+ "id_order": 15160,
67
+ "id_article": 39290,
68
+ "id_auditor": 37,
69
+ "name": "MOLDURA MARCO MODER 11X4X244 CM",
70
+ "timestamp": "2023-04-19T21:36:02.000Z",
71
+ "upc": "100030"
104
72
  },
105
- retailers: [{
106
- id: 4,
107
- name: "Walmart Super y Superama"
108
- }, {
109
- id: 5,
110
- name: "Chedraui"
111
- }, {
112
- id: 6,
113
- name: "HEB"
73
+ "retailers": [{
74
+ "id": 58,
75
+ "name": "The Home Depot Golden"
114
76
  }, {
115
- id: 12,
116
- name: "La Comer"
117
- }, {
118
- id: 17,
119
- name: "Genérico"
77
+ "id": 68,
78
+ "name": "The Home Depot Merchants"
120
79
  }],
121
- country: "México",
122
- upc: "7509546078915"
80
+ "statusByRetailer": {
81
+ "58": {
82
+ "datasheet": "SAC",
83
+ "description": "SAC",
84
+ "images": "SAC"
85
+ }
86
+ }
123
87
  },
124
88
  location: {
125
89
  product: {
126
- articleId: 354,
127
- versionId: 3
90
+ articleId: 39290,
91
+ versionId: 7
128
92
  }
129
93
  },
130
94
  user: {
131
- id_user: 51,
132
- name: "ADMIN PRUEBA",
133
- last_name: "",
134
- email: "etc@contentoh.com",
135
- position: "",
136
- telephone: "",
137
- country: "",
138
- id_company: 2,
139
- id_cognito: "a6c4d3d6-24a4-41d4-ad0f-d087438ab5b6",
140
- birth_Date: null,
141
- about_me: "",
142
- zip_code: "",
143
- address: "",
144
- job: "",
145
- id_stripe: "",
146
- id_role: 1,
147
- active: 1,
148
- is_retailer: 0,
149
- email_notify: 1,
150
- is_user_tech: null,
151
- membership: {
152
- id: 750,
153
- start_date: "2022-01-07T21:32:54.000Z",
154
- end_date: "2023-01-07T21:32:54.000Z",
155
- planID: 6,
156
- plan: "prod_KvGd6YSTJyR3AP",
157
- name: "Plan Small",
158
- user_limit: "10",
159
- products_limit: "1000",
160
- type: "Enterprise"
95
+ "id_user": 51,
96
+ "name": "ADMIN PRUEBA",
97
+ "last_name": "",
98
+ "email": "etc@contentoh.com",
99
+ "position": "",
100
+ "telephone": "",
101
+ "country": "",
102
+ "id_company": 2,
103
+ "id_cognito": "a6c4d3d6-24a4-41d4-ad0f-d087438ab5b6",
104
+ "birth_Date": null,
105
+ "about_me": "",
106
+ "zip_code": "",
107
+ "address": "",
108
+ "job": "",
109
+ "id_stripe": "",
110
+ "id_role": 1,
111
+ "active": 1,
112
+ "is_retailer": 0,
113
+ "email_notify": 1,
114
+ "is_user_tech": null,
115
+ "membership": {
116
+ "id": 2,
117
+ "start_date": "2021-11-05T02:35:12.000Z",
118
+ "end_date": "2022-11-05T02:34:49.000Z",
119
+ "planID": 1,
120
+ "plan": "prod_KtkvuFFLpOdP6e",
121
+ "name": "Plan Free",
122
+ "user_limit": "1",
123
+ "products_limit": "3",
124
+ "type": "PyMES"
161
125
  },
162
- src: "https://content-management-profile.s3.amazonaws.com/id-51/51.png?1678494637588"
126
+ "src": "https://content-management-profile.s3.amazonaws.com/id-51/51.png?1682016291518"
163
127
  }
164
128
  };
@@ -1258,7 +1258,7 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
1258
1258
  })) === null || _servicesData$find === void 0 ? void 0 : (_servicesData$find$st = _servicesData$find.status) === null || _servicesData$find$st === void 0 ? void 0 : _servicesData$find$st.replace(/.*\//, ""); //sessionStorage product
1259
1259
 
1260
1260
  var adminFacilitatorCanEvaluate = retailerStatus === "IE" && [1, 4, 5].includes(user.id_role);
1261
- var adminAuditorCanEvaluate = ["AC", "RP", "RCA"].includes(retailerStatus) && [1, 6].includes(user.id_role);
1261
+ var adminAuditorCanEvaluate = ["AC", "RP", "RCA", "SAC"].includes(retailerStatus) && [1, 6].includes(user.id_role);
1262
1262
  return adminFacilitatorCanEvaluate || adminAuditorCanEvaluate;
1263
1263
  };
1264
1264
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.3.39",
3
+ "version": "21.3.41",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -94,7 +94,7 @@ export const Container = styled.div`
94
94
  }
95
95
  &.pink {
96
96
  background-color: #e33aa9;
97
- color: white;
97
+ color: red;
98
98
  border-color: #e33aa9;
99
99
  &:hover {
100
100
  background-color: #b42983;
@@ -23,6 +23,7 @@ export const Container = styled.div`
23
23
 
24
24
  &.status-R,
25
25
  &.status-AS,
26
+ &.status-SAC,
26
27
  &.status-PA {
27
28
  background-color: ${GlobalColors.reception};
28
29
  }
@@ -30,6 +31,7 @@ export const Container = styled.div`
30
31
  &.status-AA,
31
32
  &.status-AP,
32
33
  &.status-AC,
34
+ &.status-AAC,
33
35
  &.status-ACA {
34
36
  background-color: ${GlobalColors.finished};
35
37
  }
@@ -37,6 +39,7 @@ export const Container = styled.div`
37
39
  &.status-RA,
38
40
  &.status-RC,
39
41
  &.status-RP,
42
+ &.status-RAC,
40
43
  &.status-RCA {
41
44
  background-color: ${GlobalColors.rejected_status};
42
45
  }
@@ -47,6 +50,7 @@ export const Container = styled.div`
47
50
  background-color: ${GlobalColors.s4};
48
51
  }
49
52
 
53
+ &.status-FAP,
50
54
  &.status-Ex {
51
55
  background-color: ${GlobalColors.exported};
52
56
  }
@@ -1,3 +1,5 @@
1
+ import React, { useState } from "react";
2
+ import { BrowserRouter as Router } from "react-router-dom";
1
3
  import {
2
4
  Container,
3
5
  NavLinkOption,
@@ -6,14 +8,12 @@ import {
6
8
  } from "./styles";
7
9
  import iconLogoContentoh from "../../../assets/images/verticalSideMenuMainPage/iconLogoContentoh.svg";
8
10
  import iconLogo from "../../../assets/images/verticalSideMenuMainPage/iconLogo.svg";
9
- import React, { useState } from "react";
10
- import { BrowserRouter as Router } from "react-router-dom";
11
11
 
12
12
  export const VerticalSideMenuMainPage = ({
13
13
  menuoption = [],
14
14
  containerdash,
15
15
  }) => {
16
- const [trueBar, setTrueBar] = useState();
16
+ const [trueBar, setTrueBar] = useState(false);
17
17
  return (
18
18
  <Router>
19
19
  <ContainerPrincipal>
@@ -27,29 +27,25 @@ export const VerticalSideMenuMainPage = ({
27
27
  src={trueBar ? iconLogoContentoh : iconLogo}
28
28
  alt="Logo"
29
29
  className="logo"
30
- ></img>
30
+ />
31
31
  <div className="option">
32
32
  {menuoption.map((item, index) => (
33
- <div key={index} bar={trueBar} className="option-div">
34
- <NavLinkOption to={item.path} bar={trueBar}>
33
+ <div key={index} className="option-div">
34
+ <NavLinkOption to={item.path} bar={trueBar.toString()}>
35
35
  <img src={item.icon} alt={item.title}></img>
36
- {trueBar && <p>{item.title}</p>}
36
+ {trueBar ? <p>{item.title}</p> : null}
37
37
  </NavLinkOption>
38
- {item.suboption !== undefined && (
39
- <>
40
- {item?.suboption?.map((subitem) => (
41
- <div className="sub-option">
42
- <NavLinkOption
43
- to={subitem.path}
44
- className="sub-option-link"
45
- bar={trueBar}
46
- >
47
- {trueBar && <p>{subitem.title}</p>}
48
- </NavLinkOption>
49
- </div>
50
- ))}
51
- </>
52
- )}
38
+ {item?.suboption?.map((subitem, index) => (
39
+ <div className="sub-option" key={index}>
40
+ <NavLinkOption
41
+ to={subitem.path}
42
+ className="sub-option-link"
43
+ bar={trueBar.toString()}
44
+ >
45
+ {trueBar ? subitem.title : null}
46
+ </NavLinkOption>
47
+ </div>
48
+ ))}
53
49
  </div>
54
50
  ))}
55
51
  </div>
@@ -9,7 +9,7 @@ export const Container = styled.div`
9
9
  flex-direction: column;
10
10
  justify-content: space-between;
11
11
  overflow: none;
12
- width: ${({ bar }) => (bar ? 240 : 66)}px;
12
+ width: ${({ bar }) => (bar ? "240px" : "66px")};
13
13
  background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);
14
14
  scrollbar-width: none;
15
15
  display: flex;
@@ -65,7 +65,7 @@ export const NavLinkOption = styled(NavLink)`
65
65
  color: ${({ bar }) => (bar ? "#fafafa" : "transparent")};
66
66
  text-decoration: none;
67
67
  cursor: pointer;
68
- padding: ${({ bar }) => (bar ? "0 22" : "0 8")}px;
68
+ padding: ${({ bar }) => (bar ? "0 22px" : "0 8px")};
69
69
  &:hover {
70
70
  background: rgba(255, 255, 255, 0.2);
71
71
  color: #fafafa;
@@ -94,7 +94,6 @@ export const NavLinkOption = styled(NavLink)`
94
94
  border-radius: 0;
95
95
  transition: color 0.3s linear;
96
96
  color: ${({ bar }) => (bar ? "#f0eef2" : "transparent")};
97
- padding-top: 14px;
98
97
  height: 25px;
99
98
  margin: 0;
100
99
  padding-left: 12px;
@@ -106,7 +105,7 @@ export const NavLinkOption = styled(NavLink)`
106
105
  height: 10px;
107
106
  background-color: white;
108
107
  position: absolute;
109
- bottom: 0;
108
+ top: 13;
110
109
  left: -6px;
111
110
  }
112
111
  &.active {
@@ -27,6 +27,16 @@ export const MessageContainer = styled.div`
27
27
  min-height: ${(props) => (props.height ? "300px" : "190px")};
28
28
  background: #281f33;
29
29
  border-radius: 39px;
30
+ & > .generic-text {
31
+ width: 100%;
32
+ font-family: Raleway;
33
+ font-style: normal;
34
+ font-weight: normal;
35
+ font-size: 16px;
36
+ text-align: center;
37
+ color: #f7f7f7;
38
+ margin: 20px 0px;
39
+ }
30
40
  `;
31
41
  export const TextArea = styled.textarea`
32
42
  display: block;
@@ -84,7 +84,6 @@ export const TableResizable = (props) => {
84
84
  <table className="resizeable-table" ref={tableElement}>
85
85
  <thead>
86
86
  <tr>
87
- {console.log({ columns })}
88
87
  {columns?.map(({ ref, text }, i) => (
89
88
  <th ref={ref} key={i}>
90
89
  <span>{text}</span>
@@ -100,7 +99,6 @@ export const TableResizable = (props) => {
100
99
  </tr>
101
100
  </thead>
102
101
  <tbody>
103
- {console.log({ tableContent })}
104
102
  {tableContent.map((row) => (
105
103
  <tr key={row.key}>
106
104
  {row?.columns?.map((column, indexColumn) => (
@@ -9,83 +9,59 @@ const Template = (args) => <Dashboard {...args} />;
9
9
  export const DashboardDeafult = Template.bind({});
10
10
  DashboardDeafult.args = {
11
11
  user: {
12
- id_user: 59,
13
- name: "Cadena",
14
- last_name: "Comercial",
15
- email: "cadena.ismael@allfreemail.net",
16
- position: "Admin",
17
- telephone: "+523111366336",
18
- country: "México",
19
- id_company: 817,
20
- id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
12
+ id_user: 51,
13
+ name: "ADMIN PRUEBA",
14
+ last_name: "",
15
+ email: "etc@contentoh.com",
16
+ position: "",
17
+ telephone: "",
18
+ country: "",
19
+ id_company: 2,
20
+ id_cognito: "a6c4d3d6-24a4-41d4-ad0f-d087438ab5b6",
21
21
  birth_Date: null,
22
22
  about_me: "",
23
23
  zip_code: "",
24
24
  address: "",
25
25
  job: "",
26
26
  id_stripe: "",
27
- id_role: 0,
27
+ id_role: 1,
28
28
  active: 1,
29
- is_retailer: 1,
30
- email_notify: 0,
29
+ is_retailer: 0,
30
+ email_notify: 1,
31
31
  is_user_tech: null,
32
32
  membership: {
33
- id: 47,
34
- start_date: "2022-05-25T14:31:12.000Z",
35
- end_date: "2023-05-25T14:31:12.000Z",
36
- planID: 5,
37
- plan: "prod_Ktl6B5Ou2gqTB2",
38
- name: "Plan Pro",
39
- user_limit: "5",
40
- products_limit: "500",
33
+ id: 2,
34
+ start_date: "2021-11-05T02:35:12.000Z",
35
+ end_date: "2022-11-05T02:34:49.000Z",
36
+ planID: 1,
37
+ plan: "prod_KtkvuFFLpOdP6e",
38
+ name: "Plan Free",
39
+ user_limit: "1",
40
+ products_limit: "3",
41
41
  type: "PyMES",
42
42
  },
43
- src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1681406304781",
43
+ src: "https://content-management-profile.s3.amazonaws.com/id-51/51.png?1681499918721",
44
44
  },
45
45
  company: {
46
- id_company: 817,
47
- trade_name: "Retailer acc",
48
- company_name: "Retailer acc",
49
- rfc: "ASER12345",
50
- adress: "Av. Insurgentes",
46
+ id_company: 2,
47
+ trade_name: "Content-oh!",
48
+ company_name: "Content-oh!",
49
+ rfc: null,
50
+ adress: null,
51
51
  about_company: null,
52
52
  telephone: null,
53
53
  web_site: null,
54
54
  zip_code: null,
55
55
  email: null,
56
56
  social_link: null,
57
- is_retailer: 1,
58
- financedRetailers: [
59
- {
60
- id: 68,
61
- name: "The Home Depot Merchants",
62
- country: "México",
63
- id_region: 1,
64
- active: 1,
65
- },
66
- ],
57
+ is_retailer: 0,
67
58
  retailers: [
68
59
  {
69
- id: 59,
70
- name: "The Home Depot Platinum",
71
- country: "México",
72
- },
73
- {
74
- id: 60,
75
- name: "The Home Depot Resizing",
76
- country: "México",
77
- },
78
- {
79
- id: 61,
80
- name: "Home Depot TAB",
81
- country: "México",
82
- },
83
- {
84
- id: 68,
85
- name: "The Home Depot Merchants",
86
- country: "México",
60
+ id: null,
61
+ name: null,
62
+ country: null,
87
63
  },
88
64
  ],
89
65
  },
90
- jwt: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIyNDlhMjJkMC00Y2VhLTRjNGEtYTNjYS0zM2ZjN2VmNjA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