contentoh-components-library 21.1.23 → 21.1.26

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 (31) hide show
  1. package/dist/components/atoms/SliderToolTip/styles.js +2 -2
  2. package/dist/components/atoms/ValidationPanel/index.js +26 -17
  3. package/dist/components/atoms/ValidationPanel/styles.js +1 -1
  4. package/dist/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +1 -1
  5. package/dist/components/atoms/VerticalSideMenuMainPage/index.js +21 -23
  6. package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +22 -6
  7. package/dist/components/molecules/AvatarAndValidation/index.js +4 -2
  8. package/dist/components/molecules/StatusAsignationInfo/index.js +0 -6
  9. package/dist/components/organisms/FullProductNameHeader/index.js +3 -1
  10. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +111 -72
  11. package/dist/components/pages/ProviderProductEdition/index.js +159 -81
  12. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +58 -51
  13. package/dist/components/pages/RetailerProductEdition/index.js +25 -19
  14. package/dist/global-files/data.js +21 -12
  15. package/dist/index.js +38 -51
  16. package/package.json +1 -1
  17. package/src/components/atoms/SliderToolTip/styles.js +6 -3
  18. package/src/components/atoms/ValidationPanel/index.js +24 -14
  19. package/src/components/atoms/ValidationPanel/styles.js +6 -2
  20. package/src/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +2 -2
  21. package/src/components/atoms/VerticalSideMenuMainPage/index.js +19 -22
  22. package/src/components/atoms/VerticalSideMenuMainPage/styles.js +25 -19
  23. package/src/components/molecules/AvatarAndValidation/index.js +2 -0
  24. package/src/components/molecules/StatusAsignationInfo/index.js +0 -6
  25. package/src/components/organisms/FullProductNameHeader/index.js +2 -0
  26. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +119 -82
  27. package/src/components/pages/ProviderProductEdition/index.js +131 -49
  28. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +59 -51
  29. package/src/components/pages/RetailerProductEdition/index.js +18 -8
  30. package/src/global-files/data.js +32 -20
  31. package/src/index.js +0 -1
@@ -3,8 +3,7 @@ import { GlobalColors, FontFamily } from "../../../global-files/variables";
3
3
 
4
4
  export const Container = styled.div`
5
5
  background-color: ${GlobalColors.s2};
6
- width: 110px;
7
- height: 92px;
6
+ width: max-content;
8
7
  padding: 8px;
9
8
  border: 1px solid ${GlobalColors.s3};
10
9
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
@@ -33,6 +32,11 @@ export const Container = styled.div`
33
32
  }
34
33
  }
35
34
 
35
+ &:hover {
36
+ background-color: ${GlobalColors.s3};
37
+ border-radius: 10px;
38
+ }
39
+
36
40
  & + * {
37
41
  margin-top: 8px;
38
42
  }
@@ -24,12 +24,12 @@ VerticalSideMenuMainPageDefault.args = {
24
24
  suboption: [{ path: "/Dashboard", title: "General" },{ path: "/AddProducts", title: "Agregar Producto" }],
25
25
  },
26
26
  { icon: iconGroup, path: "/providers", title: "Proovedores" },
27
- {
27
+ {
28
28
  icon: iconLogo,
29
29
  path: "/ContentohProducts",
30
30
  title: "Content Oh!",
31
31
  suboption: { path: "/ContentohProducts", title: "Productos" },
32
32
  },
33
- { icon: iconTask, path: "/tasks/7", title: "Tareas Lista" },
33
+ { icon: iconTask, path: "/tasks/7", title: "Tareas" },
34
34
  ],
35
35
  };
@@ -4,9 +4,11 @@ import iconLogo from "../../../assets/images/verticalSideMenuMainPage/iconLogo.s
4
4
  import openMenu from "../../../assets/images/verticalSideMenuMainPage/openMenu.svg";
5
5
  import closeMenu from "../../../assets/images/verticalSideMenuMainPage/closeMenu.svg";
6
6
  import React, { useState } from "react";
7
+ import { ItemPasswordStrength } from "../../molecules/LoginPasswordStrength/styles";
7
8
 
8
9
  export const VerticalSideMenuMainPage = ({ menuoption }) => {
9
10
  const [trueBar, setTrueBar] = useState("");
11
+ let sub;
10
12
  return (
11
13
  <Container className={trueBar} bar={trueBar}>
12
14
  <div className="navbar-top">
@@ -16,35 +18,30 @@ export const VerticalSideMenuMainPage = ({ menuoption }) => {
16
18
  className="logo"
17
19
  ></img>
18
20
  <div className="option">
19
- {menuoption.map((item, index) => (
21
+ {menuoption.map((item) => (
20
22
  <>
21
23
  <div
22
24
  className="option-link"
23
25
  exact
24
26
  activeClassName="active"
25
- to={menuoption[index].path}
27
+ to={item.path}
26
28
  >
27
- <img
28
- src={menuoption[index].icon}
29
- alt={menuoption[index].title}
30
- width={"25px"}
31
- ></img>
32
- {trueBar && <p>{menuoption[index].title}</p>}
29
+ <img src={item.icon} alt={item.title} width={"25px"}></img>
30
+ {trueBar && <p>{item.title}</p>}
33
31
  </div>
34
- <div className="sub-option">
35
- {menuoption[index].title !== "Productos" ? (
36
- ""
37
- ) : (
38
- <>
39
- <div exact activeClassName="active" to="/Dashboard">
40
- {trueBar && <p>General</p>}
32
+ {item.suboption === undefined ? (
33
+ ""
34
+ ) : (
35
+ <>
36
+ {menuoption[1].suboption.map((subitem) => (
37
+ <div className="sub-option">
38
+ <div exact activeClassName="active" to={subitem.path}>
39
+ {trueBar && <p>{subitem.title}</p>}
40
+ </div>
41
41
  </div>
42
- <div exact activeClassName="active" to="/AddProducts">
43
- {trueBar && <p>Agregar Producto</p>}
44
- </div>
45
- </>
46
- )}
47
- </div>
42
+ ))}
43
+ </>
44
+ )}
48
45
  </>
49
46
  ))}
50
47
  </div>
@@ -55,7 +52,7 @@ export const VerticalSideMenuMainPage = ({ menuoption }) => {
55
52
  alt="Open Menu"
56
53
  onClick={() => {
57
54
  {
58
- trueBar ? setTrueBar("") : setTrueBar("active");
55
+ trueBar ? setTrueBar("") : setTrueBar("actived");
59
56
  }
60
57
  }}
61
58
  ></img>
@@ -1,6 +1,7 @@
1
1
  import styled from "styled-components";
2
+ import { NavLink } from "react-router-dom";
2
3
 
3
- export const Container = styled.div`
4
+ export const Container = styled(NavLink)`
4
5
  height: 100%;
5
6
  width: 58px;
6
7
  box-sizing: border-box;
@@ -13,7 +14,7 @@ export const Container = styled.div`
13
14
  scrollbar-width: none;
14
15
  display: flex;
15
16
  text-align: center;
16
- &.active {
17
+ &.actived {
17
18
  width: 200px;
18
19
  padding: 23px 10px 15px 10px;
19
20
  border-radius: 20px;
@@ -21,15 +22,19 @@ export const Container = styled.div`
21
22
  .navbar-top {
22
23
  .logo {
23
24
  & + * {
24
- margin-top: ${({ bar }) => (bar === "" ? 345 : 50)}%;
25
+ margin-top: ${({ bar }) => (bar === "" ? 145 : 50)}%;
25
26
  }
26
27
  }
27
28
  .option {
28
- a {
29
- cursor: pointer;
30
- height: 38px;
29
+ display: flex;
30
+ flex-direction: column;
31
+ align-items: flex-start;
32
+ padding-left: ${({ bar }) => (bar ? 5 : 0)}px;
33
+ div {
34
+ height: ${({ bar }) => (bar ? 32 : 38)}px;
35
+ width: ${({ bar }) => (bar ? 165 : 38)}px;
31
36
  display: flex;
32
- justify-content: center;
37
+ justify-content: ${({ bar }) => (bar ? "flex-start" : "center")};
33
38
  border-radius: ${({ bar }) => (bar ? 18 : 100)}px;
34
39
  align-items: center;
35
40
  font-family: "Raleway";
@@ -41,22 +46,29 @@ export const Container = styled.div`
41
46
  color: #fafafa;
42
47
  text-decoration: none;
43
48
  &.option-link {
49
+ cursor: pointer;
44
50
  margin-top: 12px;
51
+ padding-left: ${({ bar }) => (bar ? 15 : 0)}px;
52
+ }
53
+ p {
54
+ cursor: pointer;
45
55
  }
46
56
  img {
47
57
  & + * {
48
58
  margin-left: 12px;
49
59
  }
50
60
  }
51
- &:hover {
52
- background: #e33aa9;
53
- }
61
+ }
62
+ .option-link:hover {
63
+ background: #e33aa9;
54
64
  }
55
65
  .sub-option {
56
66
  display: flex;
57
67
  flex-direction: column;
58
- padding-left: ${({ bar }) => (bar ? 40 : 18)}px;
59
- a {
68
+ padding-left: ${({ bar }) => (bar ? 28 : 20)}px;
69
+ height: auto;
70
+ width: auto;
71
+ div {
60
72
  display: flex;
61
73
  justify-content: flex-start;
62
74
  text-decoration: none;
@@ -76,15 +88,9 @@ export const Container = styled.div`
76
88
  height: 10px;
77
89
  background-color: white;
78
90
  position: absolute;
79
- left: ${({ bar }) => (bar ? -4 : -35)}%;
91
+ left: ${({ bar }) => (bar ? -4 : -16)}%;
80
92
  bottom: 1%;
81
93
  }
82
- &:hover {
83
- background-color: transparent;
84
- }
85
- }
86
- & + * {
87
- margin-top: 12px;
88
94
  }
89
95
  }
90
96
  }
@@ -15,6 +15,7 @@ export const AvatarAndValidation = ({
15
15
  showValidationButtons,
16
16
  approve,
17
17
  reject,
18
+ showApproveRejectAll,
18
19
  }) => {
19
20
  const [showValidationPanel, setShowValidationPanel] = useState(false);
20
21
  const [buttonType, setButtonType] = useState(
@@ -62,6 +63,7 @@ export const AvatarAndValidation = ({
62
63
  setShowValidationPanel={setShowValidationPanel}
63
64
  approve={approve}
64
65
  reject={reject}
66
+ showApproveRejectAll={showApproveRejectAll}
65
67
  />
66
68
  )}
67
69
  </Container>
@@ -39,24 +39,18 @@ export const StatusAsignationInfo = ({
39
39
  const slidefront = [
40
40
  {
41
41
  slide: Slide1,
42
- id: "slide1",
43
- id_link: "slidea1",
44
42
  title: "Valida tu producto en cada activo digital",
45
43
  description:
46
44
  "Al solicitar a Content-oh! podrás validar la información, imágenes y documentación de tu producto, esto hará más sencillo que puedas aprobar o rechazar el contenido.",
47
45
  },
48
46
  {
49
47
  slide: Slide2,
50
- id: "slide2",
51
- id_link: "slidea2",
52
48
  title: "Aprueba o rechaza con un clic",
53
49
  description:
54
50
  "Cuando termines de revisar tu información, elige si aproebas o rechazas, esto enviara una notificiación a nuestro equipo, para continuar o corregir el producto.",
55
51
  },
56
52
  {
57
53
  slide: Slide3,
58
- id: "slide3",
59
- id_link: "slidea3",
60
54
  title: "Estatus de tu producto en el proceso",
61
55
  description:
62
56
  "La mayor parte del proceso podrás identificar que estatus tiene tu producto, esto dara visibilidad a todo tu equipo para saber la etapa se encuentra.",
@@ -14,6 +14,7 @@ export const FullProductNameHeader = ({
14
14
  approve,
15
15
  reject,
16
16
  servicesData,
17
+ showApproveRejectAll,
17
18
  }) => {
18
19
  const [retailers, setRetailers] = useState([]);
19
20
  useEffect(() => {
@@ -69,6 +70,7 @@ export const FullProductNameHeader = ({
69
70
  activeRetailer={activeRetailer}
70
71
  setActiveRetailer={setActiveRetailer}
71
72
  showValidationButtons={showValidationButtons}
73
+ showApproveRejectAll={showApproveRejectAll}
72
74
  approve={approve}
73
75
  reject={reject}
74
76
  />
@@ -16,105 +16,141 @@ ProviderProductEditionDefault.args = {
16
16
  Imágenes: false,
17
17
  },
18
18
  token:
19
- "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJkNjYwY2NjYS1mOTA2LTQ5NzAtODkyYy02ZDE1MmU4MzJlNWQiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImQ2NjBjY2NhLWY5MDYtNDk3MC04OTJjLTZkMTUyZTgzMmU1ZCIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiJiY2ZhOGZlNi0wMDRjLTQ3NzAtODFjOC01YmNmMmMxMzM3YmIiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NTkxMTI4NywibmFtZSI6IlRIRCBQcm92ZWVkb3IiLCJwaG9uZV9udW1iZXIiOiIrNTIzMTExMTExMTExIiwiZXhwIjoxNjU1OTE0ODg3LCJpYXQiOjE2NTU5MTEyODcsImVtYWlsIjoidGhkQGFsbGZyZWVtYWlsLm5ldCJ9.MWZiRXTcH2fBgHASZ-6rIr43-WzIkp48ToBS4XQgJt4klDp96qzZCO8o6siDK5ptw48CawlFT1nl4QszEA8b6WeqgdjsMo-MhTFF9v0QtYyjCZ97Sfs2roSLAU0pZC8-JT-yZV7auHfsoGzGWhR6CoDLQEtm0nk0pqJtwm2qObv1tZUeJUvS4qPRnLBXv3qn8--0D7dGI2NTJKfm4RN-BiDNIQQE6B0UZuY8hCxYz0OXqvpstYNQnd0YQLTXnBYN0SiHAdF2DuQqDVhnVCphqcgq49DxwN6o1br7M4ySHhe7a9mg4-uSJjLF25oW8K4dFgvvStMvuScUhpzngc8caA",
19
+ "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJmNTkyN2Y4ZS1jYmY3LTQ5MjItOWUwOS1lNjllYzBiMjczMWEiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImY1OTI3ZjhlLWNiZjctNDkyMi05ZTA5LWU2OWVjMGIyNzMxYSIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiI5ZmM5YThiNC1mYWViLTQ3ZDUtYjEyYS05NzcxNThmNWUzMWUiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NjA4NzIzOSwibmFtZSI6IklzbWFlbCBMb3BleiIsInBob25lX251bWJlciI6Iis1MjMxMTEzNjYzMzYiLCJleHAiOjE2NTYwOTA4MzksImlhdCI6MTY1NjA4NzIzOSwiZW1haWwiOiJpbG9wZXpAY29udGVudG9oLmNvbSJ9.P4HmwNMwF6r9BuH-9onpbU7_iiXwSw1TOEux9seeVwHiEJytl6BOcHkKJEnUZ2dfarK2CRMiYVLVycbT3O4MCVyFb8hWnos_eTBAVIOD9kxd7FMLOL_v5JP6Vw4XxWx2xsut9Jvcw0M-_QipxvAKdHtNcC-pOYs0W2IvyXf0JbYgkthZwRwIOUYhqF2yMtKFFzAX2kZO5_QMNeTLamFoexDU_0heba7sToE_oLyovhPTTRobXQcss8mmiilEfnnGZ_YNlwf-0myAMMJkllESl0tff1YQpHLn1sUN6sA-DotQvYhaGbxNebgQ_sMfPNy8cEFOIrNLP_QMjEC_RCu_tw",
20
20
  articleId: 238,
21
21
  category: 846,
22
22
  version: 2,
23
23
  productSelected: {
24
- id_article: 55070,
25
- id_category: "2976",
26
- name: "TOALLERO CORTO ACCESS NEGRO ÉBANO",
27
- upc: "161788",
28
- timestamp: "2022-06-17T17:31:14.000Z",
29
- status: "NULL",
30
- categoryName: "BAÑOS|ACCESORIOS PARA BAÑO|TOALLEROS",
31
- asignations: [],
32
- version: 1,
33
- version_status: null,
34
- retailersAvailable: [
24
+ orderId: 64,
25
+ status: "AP",
26
+ datasheet_status: "AP",
27
+ prio: "none",
28
+ version: 7,
29
+ description_status: "AP",
30
+ images_status: "AP",
31
+ brand: "1",
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
+ article: {
44
+ category: "ABARROTES|BOTANAS, GOLOSINAS Y CHOCOLATES|BOTANAS",
45
+ company_name: "COMPANY DEV",
46
+ country: "México",
47
+ id_category: "41",
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: 64,
55
+ id_article: 35707,
56
+ id_auditor: 37,
57
+ name: "chetos",
58
+ upc: "1010101010",
59
+ },
60
+ retailers: [
35
61
  {
36
- id: 58,
37
- name: "The Home Depot Golden",
38
- country: "México",
39
- id_region: 1,
40
- active: 1,
62
+ id: 3,
63
+ name: "Sam´s Club",
41
64
  },
42
65
  {
43
- id: 59,
44
- name: "The Home Depot Platinum",
45
- country: "México",
46
- id_region: 1,
47
- active: 1,
66
+ id: 8,
67
+ name: "Fragua",
48
68
  },
69
+ ],
70
+ retailersAvailable: [
49
71
  {
50
- id: 60,
51
- name: "The Home Depot Resizing",
52
- country: "México",
53
- id_region: 1,
54
- active: 1,
72
+ id: 3,
73
+ name: "Sam´s Club",
55
74
  },
56
75
  {
57
- id: 61,
58
- name: "Home Depot TAB",
59
- country: "México",
60
- id_region: 1,
61
- active: 1,
76
+ id: 8,
77
+ name: "Fragua",
62
78
  },
63
79
  ],
64
- missing: {},
80
+ categoryName: "ABARROTES|BOTANAS, GOLOSINAS Y CHOCOLATES|BOTANAS",
81
+ upc: "1010101010",
82
+ id_article: 35707,
83
+ id_order: 64,
65
84
  },
66
85
  productToEdit: {
67
- idCategory: "2976",
68
- ArticleId: 55070,
69
- product: [
70
- {
71
- id_article: 55070,
72
- id_category: "2976",
73
- name: "TOALLERO CORTO ACCESS NEGRO ÉBANO",
74
- upc: "161788",
75
- timestamp: "2022-06-17T17:31:14.000Z",
76
- status: "NULL",
77
- categoryName: "BAÑOS|ACCESORIOS PARA BAÑO|TOALLEROS",
78
- asignations: [],
79
- version: 1,
80
- version_status: null,
81
- retailersAvailable: [
82
- {
83
- id: 58,
84
- name: "The Home Depot Golden",
85
- country: "México",
86
- id_region: 1,
87
- active: 1,
88
- },
89
- {
90
- id: 59,
91
- name: "The Home Depot Platinum",
92
- country: "México",
93
- id_region: 1,
94
- active: 1,
95
- },
96
- {
97
- id: 60,
98
- name: "The Home Depot Resizing",
99
- country: "México",
100
- id_region: 1,
101
- active: 1,
102
- },
103
- {
104
- id: 61,
105
- name: "Home Depot TAB",
106
- country: "México",
107
- id_region: 1,
108
- active: 1,
109
- },
110
- ],
111
- missing: {},
86
+ ArticleId: 35707,
87
+ idCategory: "41",
88
+ product: {
89
+ orderId: 64,
90
+ status: "AP",
91
+ datasheet_status: "AP",
92
+ prio: "none",
93
+ version: 7,
94
+ description_status: "AP",
95
+ images_status: "AP",
96
+ brand: "1",
97
+ retailerOrder: 0,
98
+ missing: {
99
+ datasheet: null,
100
+ descriptions: null,
101
+ images: null,
112
102
  },
113
- ],
103
+ services: {
104
+ datasheets: 1,
105
+ descriptions: 1,
106
+ images: 1,
107
+ },
108
+ article: {
109
+ category: "ABARROTES|BOTANAS, GOLOSINAS Y CHOCOLATES|BOTANAS",
110
+ company_name: "COMPANY DEV",
111
+ country: "México",
112
+ id_category: "41",
113
+ id_datasheet_especialist: 54,
114
+ id_datasheet_facilitator: 52,
115
+ id_description_especialist: 54,
116
+ id_description_facilitator: 52,
117
+ id_images_especialist: 55,
118
+ id_images_facilitator: 53,
119
+ id_order: 64,
120
+ id_article: 35707,
121
+ id_auditor: 37,
122
+ name: "chetos",
123
+ upc: "1010101010",
124
+ },
125
+ retailers: [
126
+ {
127
+ id: 3,
128
+ name: "Sam´s Club",
129
+ },
130
+ {
131
+ id: 8,
132
+ name: "Fragua",
133
+ },
134
+ ],
135
+ retailersAvailable: [
136
+ {
137
+ id: 3,
138
+ name: "Sam´s Club",
139
+ },
140
+ {
141
+ id: 8,
142
+ name: "Fragua",
143
+ },
144
+ ],
145
+ categoryName: "ABARROTES|BOTANAS, GOLOSINAS Y CHOCOLATES|BOTANAS",
146
+ upc: "1010101010",
147
+ id_article: 35707,
148
+ id_order: 64,
149
+ },
114
150
  },
115
151
  location: {
116
152
  product: { articleId: 109485, versionId: 3 },
117
- state: {},
153
+ state: { origin: "Contentoh" },
118
154
  },
119
155
  user: {
120
156
  id_user: 1236,
@@ -134,7 +170,8 @@ ProviderProductEditionDefault.args = {
134
170
  id_stripe: null,
135
171
  id_role: 0,
136
172
  active: 1,
137
- is_retailer: 0,
173
+ is_retailer: 1,
174
+ email_notify: 0,
138
175
  membership: {
139
176
  id: 797,
140
177
  start_date: "2022-06-19T04:18:39.000Z",
@@ -146,6 +183,6 @@ ProviderProductEditionDefault.args = {
146
183
  products_limit: "1000",
147
184
  type: "Enterprise",
148
185
  },
149
- src: "https://content-management-profile-prod.s3.amazonaws.com/id-1236/1236.png?1655911288481",
186
+ src: "https://content-management-profile.s3.amazonaws.com/id-28/28.png?1656087239674",
150
187
  },
151
188
  };