contentoh-components-library 21.1.28 → 21.1.29
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.
- package/dist/assets/images/sliderToolTip/slide21.svg +9 -0
- package/dist/assets/images/sliderToolTip/slide22.svg +9 -0
- package/dist/assets/images/sliderToolTip/slide23.svg +9 -0
- package/dist/components/atoms/CheckBox/styles.js +1 -1
- package/dist/components/atoms/ListCommercialRetailers/ListCommercialRetailers.stories.js +36 -0
- package/dist/components/atoms/ListCommercialRetailers/index.js +64 -0
- package/dist/components/atoms/ListCommercialRetailers/styles.js +20 -0
- package/dist/components/atoms/MenuCommercialRetailers/MenuCommercialRetailers.stories.js +37 -0
- package/dist/components/atoms/MenuCommercialRetailers/index.js +25 -0
- package/dist/components/atoms/MenuCommercialRetailers/styles.js +20 -0
- package/dist/components/atoms/MenuProductImage/MenuProductImage.stories.js +28 -0
- package/dist/components/atoms/MenuProductImage/index.js +88 -0
- package/dist/components/atoms/MenuProductImage/styles.js +20 -0
- package/dist/components/atoms/SliderToolTip/SliderToolTip.stories.js +67 -13
- package/dist/components/atoms/SliderToolTip/index.js +64 -134
- package/dist/components/atoms/SliderToolTip/styles.js +2 -2
- package/dist/components/atoms/ValidationPanel/index.js +3 -4
- package/dist/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +44 -1
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +45 -48
- package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +30 -3
- package/dist/components/molecules/ApproveRejetPanel/ApproveRejetPanel.stories.js +25 -0
- package/dist/components/molecules/ApproveRejetPanel/index.js +49 -0
- package/dist/components/molecules/ApproveRejetPanel/styles.js +18 -0
- package/dist/components/molecules/AvatarAndValidation/index.js +0 -4
- package/dist/components/molecules/SignInLoginCreationApp/SignInLogin.stories.js +28 -0
- package/dist/components/molecules/SignInLoginCreationApp/index.js +270 -0
- package/dist/components/molecules/SignInLoginCreationApp/styles.js +20 -0
- package/dist/components/molecules/StatusAsignationInfo/index.js +29 -1
- package/dist/components/organisms/FullProductNameHeader/index.js +1 -5
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +109 -99
- package/dist/components/pages/ProviderProductEdition/index.js +100 -146
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +65 -56
- package/dist/components/pages/RetailerProductEdition/index.js +18 -127
- package/dist/global-files/global-styles.css +0 -1
- package/dist/index.js +38 -51
- package/package.json +1 -1
- package/src/assets/images/sliderToolTip/slide21.svg +9 -0
- package/src/assets/images/sliderToolTip/slide22.svg +9 -0
- package/src/assets/images/sliderToolTip/slide23.svg +9 -0
- package/src/components/atoms/CheckBox/styles.js +0 -1
- package/src/components/atoms/SliderToolTip/SliderToolTip.stories.js +77 -11
- package/src/components/atoms/SliderToolTip/index.js +91 -154
- package/src/components/atoms/SliderToolTip/styles.js +51 -22
- package/src/components/atoms/ValidationPanel/index.js +3 -4
- package/src/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +24 -1
- package/src/components/atoms/VerticalSideMenuMainPage/index.js +37 -30
- package/src/components/atoms/VerticalSideMenuMainPage/styles.js +76 -18
- package/src/components/molecules/AvatarAndValidation/index.js +0 -4
- package/src/components/molecules/StatusAsignationInfo/index.js +31 -0
- package/src/components/organisms/FullProductNameHeader/index.js +0 -4
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +107 -105
- package/src/components/pages/ProviderProductEdition/index.js +72 -102
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +67 -56
- package/src/components/pages/RetailerProductEdition/index.js +2 -102
- package/src/index.js +0 -1
- package/dist/components/atoms/Percent/Percent.stories.js +0 -39
- package/dist/components/atoms/Percent/index.js +0 -39
- package/dist/components/atoms/Percent/styles.js +0 -20
- package/dist/components/molecules/TextAndGradient/TextAndGradient.stories.js +0 -31
- package/dist/components/molecules/TextAndGradient/index.js +0 -36
- package/dist/components/molecules/TextAndGradient/styles.js +0 -18
- package/src/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +0 -17
- package/src/components/pages/RegistrationLoginFirstStep/index.js +0 -160
- package/src/components/pages/RegistrationLoginFirstStep/styles.js +0 -85
|
@@ -1,45 +1,103 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
|
-
|
|
2
|
+
import { NavLink } from "react-router-dom";
|
|
3
|
+
//styled(NavLink)
|
|
3
4
|
export const Container = styled.div`
|
|
4
5
|
height: 100%;
|
|
5
|
-
width:
|
|
6
|
+
width: 58px;
|
|
6
7
|
box-sizing: border-box;
|
|
7
8
|
padding: 23px 10px 70px 10px;
|
|
8
9
|
flex-direction: column;
|
|
9
10
|
justify-content: space-between;
|
|
10
11
|
overflow: auto;
|
|
11
|
-
border-radius:
|
|
12
|
+
border-radius: 50px;
|
|
12
13
|
background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);
|
|
13
14
|
scrollbar-width: none;
|
|
14
15
|
display: flex;
|
|
15
16
|
text-align: center;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
&.actived {
|
|
18
|
+
width: 200px;
|
|
19
|
+
padding: 23px 10px 15px 10px;
|
|
20
|
+
border-radius: 20px;
|
|
19
21
|
}
|
|
20
22
|
.navbar-top {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
.logo {
|
|
24
|
+
& + * {
|
|
25
|
+
margin-top: ${({ bar }) => (bar === "" ? 145 : 50)}%;
|
|
26
|
+
}
|
|
23
27
|
}
|
|
24
28
|
.option {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
align-items: flex-start;
|
|
32
|
+
padding-left: ${({ bar }) => (bar ? 5 : 0)}px;
|
|
25
33
|
div {
|
|
26
|
-
height:
|
|
34
|
+
height: ${({ bar }) => (bar ? 32 : 38)}px;
|
|
35
|
+
width: ${({ bar }) => (bar ? 165 : 38)}px;
|
|
27
36
|
display: flex;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
border-radius: 100
|
|
30
|
-
|
|
37
|
+
justify-content: ${({ bar }) => (bar ? "flex-start" : "center")};
|
|
38
|
+
border-radius: ${({ bar }) => (bar ? 18 : 100)}px;
|
|
39
|
+
align-items: center;
|
|
40
|
+
font-family: "Raleway";
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
font-size: 18px;
|
|
44
|
+
line-height: 21px;
|
|
45
|
+
letter-spacing: -0.015em;
|
|
46
|
+
color: #fafafa;
|
|
47
|
+
text-decoration: none;
|
|
48
|
+
&.option-link {
|
|
49
|
+
cursor: pointer;
|
|
31
50
|
margin-top: 12px;
|
|
51
|
+
padding-left: ${({ bar }) => (bar ? 15 : 0)}px;
|
|
52
|
+
}
|
|
53
|
+
p {
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
}
|
|
56
|
+
img {
|
|
57
|
+
& + * {
|
|
58
|
+
margin-left: 12px;
|
|
59
|
+
}
|
|
32
60
|
}
|
|
33
61
|
}
|
|
34
|
-
|
|
62
|
+
.option-link:hover {
|
|
35
63
|
background: #e33aa9;
|
|
36
64
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
65
|
+
.sub-option {
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
padding-left: ${({ bar }) => (bar ? 28 : 20)}px;
|
|
69
|
+
height: auto;
|
|
70
|
+
width: auto;
|
|
71
|
+
div {
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: flex-start;
|
|
74
|
+
text-decoration: none;
|
|
75
|
+
position: relative;
|
|
76
|
+
font-size: 13px;
|
|
77
|
+
border-left: 1px solid #f0eef2;
|
|
78
|
+
border-radius: 0;
|
|
79
|
+
color: #f0eef2;
|
|
80
|
+
padding-top: 20px;
|
|
81
|
+
padding-left: 12px;
|
|
82
|
+
height: 25px;
|
|
83
|
+
&::before {
|
|
84
|
+
border-left: 1px solid #e33aa9;
|
|
85
|
+
width: 10px;
|
|
86
|
+
content: "";
|
|
87
|
+
border-radius: 50%;
|
|
88
|
+
height: 10px;
|
|
89
|
+
background-color: white;
|
|
90
|
+
position: absolute;
|
|
91
|
+
left: ${({ bar }) => (bar ? -4 : -16)}%;
|
|
92
|
+
bottom: 1%;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
42
95
|
}
|
|
43
96
|
}
|
|
44
97
|
}
|
|
98
|
+
.menu-bottom {
|
|
99
|
+
display: flex;
|
|
100
|
+
justify-content: ${({ bar }) => (bar ? "flex-end" : "center")};
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
}
|
|
45
103
|
`;
|
|
@@ -15,8 +15,6 @@ export const AvatarAndValidation = ({
|
|
|
15
15
|
showValidationButtons,
|
|
16
16
|
approve,
|
|
17
17
|
reject,
|
|
18
|
-
approveAll,
|
|
19
|
-
rejectAll,
|
|
20
18
|
showApproveRejectAll,
|
|
21
19
|
}) => {
|
|
22
20
|
const [showValidationPanel, setShowValidationPanel] = useState(false);
|
|
@@ -65,8 +63,6 @@ export const AvatarAndValidation = ({
|
|
|
65
63
|
setShowValidationPanel={setShowValidationPanel}
|
|
66
64
|
approve={approve}
|
|
67
65
|
reject={reject}
|
|
68
|
-
approveAll={approveAll}
|
|
69
|
-
rejectAll={rejectAll}
|
|
70
66
|
showApproveRejectAll={showApproveRejectAll}
|
|
71
67
|
/>
|
|
72
68
|
)}
|
|
@@ -6,6 +6,11 @@ import { Button } from "../../atoms/GeneralButton";
|
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
7
|
import { AsignationOption } from "../../atoms/AsignationOption/index";
|
|
8
8
|
import { getProfilePicture } from "../../../global-files/data";
|
|
9
|
+
import { SliderToolTip } from "../../atoms/SliderToolTip";
|
|
10
|
+
import InfoIcon from "../../../assets/images/sliderToolTip/infoIcon.svg";
|
|
11
|
+
import Slide1 from "../../../assets/images/sliderToolTip/slide21.svg";
|
|
12
|
+
import Slide2 from "../../../assets/images/sliderToolTip/slide22.svg";
|
|
13
|
+
import Slide3 from "../../../assets/images/sliderToolTip/slide23.svg";
|
|
9
14
|
|
|
10
15
|
export const StatusAsignationInfo = ({
|
|
11
16
|
status = "-",
|
|
@@ -31,6 +36,26 @@ export const StatusAsignationInfo = ({
|
|
|
31
36
|
setShowAsignationPanel(false);
|
|
32
37
|
}
|
|
33
38
|
};
|
|
39
|
+
const slidefront = [
|
|
40
|
+
{
|
|
41
|
+
slide: Slide1,
|
|
42
|
+
title: "Valida tu producto en cada activo digital",
|
|
43
|
+
description:
|
|
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.",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
slide: Slide2,
|
|
48
|
+
title: "Aprueba o rechaza con un clic",
|
|
49
|
+
description:
|
|
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.",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
slide: Slide3,
|
|
54
|
+
title: "Estatus de tu producto en el proceso",
|
|
55
|
+
description:
|
|
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.",
|
|
57
|
+
},
|
|
58
|
+
];
|
|
34
59
|
|
|
35
60
|
useEffect(() => {
|
|
36
61
|
if (showAsignationPanel) {
|
|
@@ -40,6 +65,12 @@ export const StatusAsignationInfo = ({
|
|
|
40
65
|
|
|
41
66
|
return (
|
|
42
67
|
<Container id={id}>
|
|
68
|
+
<SliderToolTip
|
|
69
|
+
infoIcon={InfoIcon}
|
|
70
|
+
slidefront={slidefront}
|
|
71
|
+
iconSize={"medium-image"}
|
|
72
|
+
slidePosition={"bottom-slide"}
|
|
73
|
+
></SliderToolTip>
|
|
43
74
|
{status !== "-" && <StatusTag statusType={status} ovalForm={true} />}
|
|
44
75
|
{showSaveButton && (
|
|
45
76
|
<Button
|
|
@@ -13,8 +13,6 @@ export const FullProductNameHeader = ({
|
|
|
13
13
|
showValidationButtons,
|
|
14
14
|
approve,
|
|
15
15
|
reject,
|
|
16
|
-
approveAll,
|
|
17
|
-
rejectAll,
|
|
18
16
|
servicesData,
|
|
19
17
|
showApproveRejectAll,
|
|
20
18
|
}) => {
|
|
@@ -75,8 +73,6 @@ export const FullProductNameHeader = ({
|
|
|
75
73
|
showApproveRejectAll={showApproveRejectAll}
|
|
76
74
|
approve={approve}
|
|
77
75
|
reject={reject}
|
|
78
|
-
approveAll={approveAll}
|
|
79
|
-
rejectAll={rejectAll}
|
|
80
76
|
/>
|
|
81
77
|
</div>
|
|
82
78
|
</Container>
|
|
@@ -16,134 +16,136 @@ ProviderProductEditionDefault.args = {
|
|
|
16
16
|
Imágenes: false,
|
|
17
17
|
},
|
|
18
18
|
token:
|
|
19
|
-
"eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
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
|
-
orderId:
|
|
25
|
-
|
|
24
|
+
orderId: 64,
|
|
25
|
+
status: "AP",
|
|
26
26
|
datasheet_status: "AP",
|
|
27
|
+
prio: "none",
|
|
28
|
+
version: 7,
|
|
27
29
|
description_status: "AP",
|
|
28
30
|
images_status: "AP",
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
country: "México",
|
|
36
|
-
id_category: "2143",
|
|
37
|
-
id_article: 55118,
|
|
38
|
-
name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
|
|
39
|
-
upc: "145582",
|
|
31
|
+
brand: "1",
|
|
32
|
+
retailerOrder: 0,
|
|
33
|
+
missing: {
|
|
34
|
+
datasheet: null,
|
|
35
|
+
descriptions: null,
|
|
36
|
+
images: null,
|
|
40
37
|
},
|
|
41
|
-
retailers: [
|
|
42
|
-
{
|
|
43
|
-
id: 58,
|
|
44
|
-
name: "The Home Depot Golden",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
id: 59,
|
|
48
|
-
name: "The Home Depot Platinum",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: 60,
|
|
52
|
-
name: "The Home Depot Resizing",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: 61,
|
|
56
|
-
name: "Home Depot TAB",
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
38
|
services: {
|
|
60
39
|
datasheets: 1,
|
|
61
40
|
descriptions: 1,
|
|
62
41
|
images: 1,
|
|
63
42
|
},
|
|
64
|
-
|
|
65
|
-
|
|
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: [
|
|
66
61
|
{
|
|
67
|
-
id:
|
|
68
|
-
name: "
|
|
62
|
+
id: 3,
|
|
63
|
+
name: "Sam´s Club",
|
|
69
64
|
},
|
|
70
65
|
{
|
|
71
|
-
id:
|
|
72
|
-
name: "
|
|
66
|
+
id: 8,
|
|
67
|
+
name: "Fragua",
|
|
73
68
|
},
|
|
69
|
+
],
|
|
70
|
+
retailersAvailable: [
|
|
74
71
|
{
|
|
75
|
-
id:
|
|
76
|
-
name: "
|
|
72
|
+
id: 3,
|
|
73
|
+
name: "Sam´s Club",
|
|
77
74
|
},
|
|
78
75
|
{
|
|
79
|
-
id:
|
|
80
|
-
name: "
|
|
76
|
+
id: 8,
|
|
77
|
+
name: "Fragua",
|
|
81
78
|
},
|
|
82
79
|
],
|
|
80
|
+
categoryName: "ABARROTES|BOTANAS, GOLOSINAS Y CHOCOLATES|BOTANAS",
|
|
81
|
+
upc: "1010101010",
|
|
82
|
+
id_article: 35707,
|
|
83
|
+
id_order: 64,
|
|
83
84
|
},
|
|
84
85
|
productToEdit: {
|
|
85
|
-
ArticleId:
|
|
86
|
-
idCategory: "
|
|
86
|
+
ArticleId: 35707,
|
|
87
|
+
idCategory: "41",
|
|
87
88
|
product: {
|
|
88
|
-
orderId:
|
|
89
|
-
|
|
89
|
+
orderId: 64,
|
|
90
|
+
status: "AP",
|
|
90
91
|
datasheet_status: "AP",
|
|
92
|
+
prio: "none",
|
|
93
|
+
version: 7,
|
|
91
94
|
description_status: "AP",
|
|
92
95
|
images_status: "AP",
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
country: "México",
|
|
100
|
-
id_category: "2143",
|
|
101
|
-
id_article: 55118,
|
|
102
|
-
name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
|
|
103
|
-
upc: "145582",
|
|
96
|
+
brand: "1",
|
|
97
|
+
retailerOrder: 0,
|
|
98
|
+
missing: {
|
|
99
|
+
datasheet: null,
|
|
100
|
+
descriptions: null,
|
|
101
|
+
images: null,
|
|
104
102
|
},
|
|
105
|
-
retailers: [
|
|
106
|
-
{
|
|
107
|
-
id: 58,
|
|
108
|
-
name: "The Home Depot Golden",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
id: 59,
|
|
112
|
-
name: "The Home Depot Platinum",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
id: 60,
|
|
116
|
-
name: "The Home Depot Resizing",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
id: 61,
|
|
120
|
-
name: "Home Depot TAB",
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
103
|
services: {
|
|
124
104
|
datasheets: 1,
|
|
125
105
|
descriptions: 1,
|
|
126
106
|
images: 1,
|
|
127
107
|
},
|
|
128
|
-
|
|
129
|
-
|
|
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: [
|
|
130
126
|
{
|
|
131
|
-
id:
|
|
132
|
-
name: "
|
|
127
|
+
id: 3,
|
|
128
|
+
name: "Sam´s Club",
|
|
133
129
|
},
|
|
134
130
|
{
|
|
135
|
-
id:
|
|
136
|
-
name: "
|
|
131
|
+
id: 8,
|
|
132
|
+
name: "Fragua",
|
|
137
133
|
},
|
|
134
|
+
],
|
|
135
|
+
retailersAvailable: [
|
|
138
136
|
{
|
|
139
|
-
id:
|
|
140
|
-
name: "
|
|
137
|
+
id: 3,
|
|
138
|
+
name: "Sam´s Club",
|
|
141
139
|
},
|
|
142
140
|
{
|
|
143
|
-
id:
|
|
144
|
-
name: "
|
|
141
|
+
id: 8,
|
|
142
|
+
name: "Fragua",
|
|
145
143
|
},
|
|
146
144
|
],
|
|
145
|
+
categoryName: "ABARROTES|BOTANAS, GOLOSINAS Y CHOCOLATES|BOTANAS",
|
|
146
|
+
upc: "1010101010",
|
|
147
|
+
id_article: 35707,
|
|
148
|
+
id_order: 64,
|
|
147
149
|
},
|
|
148
150
|
},
|
|
149
151
|
location: {
|
|
@@ -151,36 +153,36 @@ ProviderProductEditionDefault.args = {
|
|
|
151
153
|
state: { origin: "Contentoh" },
|
|
152
154
|
},
|
|
153
155
|
user: {
|
|
154
|
-
id_user:
|
|
155
|
-
name: "
|
|
156
|
-
last_name: "
|
|
157
|
-
email: "
|
|
158
|
-
position: "
|
|
159
|
-
telephone: "+
|
|
156
|
+
id_user: 1236,
|
|
157
|
+
name: "THD",
|
|
158
|
+
last_name: "Proveedor",
|
|
159
|
+
email: "thd@allfreemail.net",
|
|
160
|
+
position: "Prod test",
|
|
161
|
+
telephone: "+523111111111",
|
|
160
162
|
country: "México",
|
|
161
|
-
id_company:
|
|
162
|
-
id_cognito: "
|
|
163
|
+
id_company: 816,
|
|
164
|
+
id_cognito: "d660ccca-f906-4970-892c-6d152e832e5d",
|
|
163
165
|
birth_Date: null,
|
|
164
166
|
about_me: null,
|
|
165
167
|
zip_code: null,
|
|
166
168
|
address: null,
|
|
167
169
|
job: null,
|
|
168
|
-
id_stripe:
|
|
170
|
+
id_stripe: null,
|
|
169
171
|
id_role: 0,
|
|
170
172
|
active: 1,
|
|
171
|
-
is_retailer:
|
|
172
|
-
email_notify:
|
|
173
|
+
is_retailer: 1,
|
|
174
|
+
email_notify: 0,
|
|
173
175
|
membership: {
|
|
174
|
-
id:
|
|
175
|
-
start_date: "
|
|
176
|
-
end_date: "
|
|
177
|
-
planID:
|
|
178
|
-
plan: "
|
|
179
|
-
name: "Plan
|
|
180
|
-
user_limit: "
|
|
181
|
-
products_limit: "
|
|
176
|
+
id: 797,
|
|
177
|
+
start_date: "2022-06-19T04:18:39.000Z",
|
|
178
|
+
end_date: "2023-06-19T04:18:39.000Z",
|
|
179
|
+
planID: 6,
|
|
180
|
+
plan: "prod_KvGd6YSTJyR3AP",
|
|
181
|
+
name: "Plan Small",
|
|
182
|
+
user_limit: "10",
|
|
183
|
+
products_limit: "1000",
|
|
182
184
|
type: "Enterprise",
|
|
183
185
|
},
|
|
184
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
186
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-28/28.png?1656087239674",
|
|
185
187
|
},
|
|
186
188
|
};
|