contentoh-components-library 21.1.48 → 21.1.51

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 (48) hide show
  1. package/dist/components/atoms/CheckBox/styles.js +1 -1
  2. package/dist/components/atoms/Commentary/styles.js +1 -1
  3. package/dist/components/atoms/GeneralInput/styles.js +3 -3
  4. package/dist/components/atoms/InputFormatter/styles.js +1 -1
  5. package/dist/components/atoms/SliderToolTip/SliderToolTip.stories.js +13 -67
  6. package/dist/components/atoms/SliderToolTip/index.js +135 -70
  7. package/dist/components/atoms/SliderToolTip/styles.js +2 -2
  8. package/dist/components/atoms/StatusTag/index.js +17 -2
  9. package/dist/components/atoms/StatusTag/styles.js +1 -1
  10. package/dist/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +1 -44
  11. package/dist/components/atoms/VerticalSideMenuMainPage/index.js +65 -39
  12. package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +6 -21
  13. package/dist/components/molecules/StatusAsignationInfo/index.js +1 -29
  14. package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
  15. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +69 -75
  16. package/dist/components/pages/ProviderProductEdition/index.js +334 -424
  17. package/dist/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +37 -0
  18. package/dist/components/pages/RegistrationLoginFirstStep/index.js +269 -0
  19. package/dist/components/pages/RegistrationLoginFirstStep/styles.js +20 -0
  20. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +41 -86
  21. package/dist/components/pages/RetailerProductEdition/index.js +201 -214
  22. package/dist/global-files/data.js +9 -10
  23. package/dist/index.js +64 -38
  24. package/package.json +2 -2
  25. package/src/components/atoms/CheckBox/styles.js +1 -0
  26. package/src/components/atoms/Commentary/styles.js +2 -2
  27. package/src/components/atoms/GeneralInput/styles.js +5 -5
  28. package/src/components/atoms/InputFormatter/styles.js +3 -3
  29. package/src/components/atoms/SliderToolTip/SliderToolTip.stories.js +11 -77
  30. package/src/components/atoms/SliderToolTip/index.js +154 -98
  31. package/src/components/atoms/SliderToolTip/styles.js +26 -51
  32. package/src/components/atoms/StatusTag/index.js +12 -2
  33. package/src/components/atoms/StatusTag/styles.js +11 -11
  34. package/src/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +1 -24
  35. package/src/components/atoms/VerticalSideMenuMainPage/index.js +38 -32
  36. package/src/components/atoms/VerticalSideMenuMainPage/styles.js +29 -35
  37. package/src/components/molecules/StatusAsignationInfo/index.js +0 -31
  38. package/src/components/organisms/FullProductNameHeader/index.js +2 -2
  39. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +68 -66
  40. package/src/components/pages/ProviderProductEdition/index.js +200 -254
  41. package/src/components/pages/ProviderProductEdition/styles.js +1 -1
  42. package/src/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +17 -0
  43. package/src/components/pages/RegistrationLoginFirstStep/index.js +160 -0
  44. package/src/components/pages/RegistrationLoginFirstStep/styles.js +85 -0
  45. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +38 -87
  46. package/src/components/pages/RetailerProductEdition/index.js +169 -144
  47. package/src/global-files/data.js +9 -10
  48. package/src/index.js +2 -0
@@ -15,8 +15,16 @@ var _styles = require("./styles");
15
15
 
16
16
  var _iconLogoContentoh = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconLogoContentoh.svg"));
17
17
 
18
+ var _iconProduct = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconProduct.svg"));
19
+
20
+ var _iconGroup = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconGroup.svg"));
21
+
18
22
  var _iconLogo = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconLogo.svg"));
19
23
 
24
+ var _iconSpeedometer = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconSpeedometer.svg"));
25
+
26
+ var _iconTask = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconTask.svg"));
27
+
20
28
  var _openMenu = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/openMenu.svg"));
21
29
 
22
30
  var _closeMenu = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/closeMenu.svg"));
@@ -25,17 +33,16 @@ var _react = _interopRequireWildcard(require("react"));
25
33
 
26
34
  var _jsxRuntime = require("react/jsx-runtime");
27
35
 
28
- var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
29
- var menuoption = _ref.menuoption;
30
-
31
- var _useState = (0, _react.useState)(""),
36
+ var VerticalSideMenuMainPage = function VerticalSideMenuMainPage() {
37
+ var _useState = (0, _react.useState)(false),
32
38
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
33
39
  trueBar = _useState2[0],
34
40
  setTrueBar = _useState2[1];
35
41
 
36
- var sub;
42
+ var active = function active() {//document.getElementById("slidea1").style.border= "1px solid rgb(227, 58, 169)";
43
+ };
44
+
37
45
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
38
- className: trueBar,
39
46
  bar: trueBar,
40
47
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
41
48
  className: "navbar-top",
@@ -43,39 +50,58 @@ var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
43
50
  src: trueBar ? _iconLogoContentoh.default : _iconLogo.default,
44
51
  alt: "Logo",
45
52
  className: "logo"
46
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
53
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
47
54
  className: "option",
48
- children: menuoption.map(function (item) {
49
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
50
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
51
- className: "option-link",
52
- exact: true,
53
- activeClassName: "active",
54
- to: item.path,
55
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
56
- src: item.icon,
57
- alt: item.title,
58
- width: "25px"
59
- }), trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
60
- children: item.title
61
- })]
62
- }), item.suboption === undefined ? "" : /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
63
- children: menuoption[1].suboption.map(function (subitem) {
64
- return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
65
- className: "sub-option",
66
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
67
- exact: true,
68
- activeClassName: "active",
69
- to: subitem.path,
70
- children: trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
71
- children: subitem.title
72
- })
73
- })
74
- });
75
- })
76
- })]
77
- });
78
- })
55
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("a", {
56
+ href: "/Dashboard",
57
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
58
+ src: _iconSpeedometer.default,
59
+ alt: "Speed Meter",
60
+ width: "25px"
61
+ }), trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
62
+ children: "Dashborad"
63
+ })]
64
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("a", {
65
+ href: "/products",
66
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
67
+ src: _iconProduct.default,
68
+ alt: "Focus Product",
69
+ width: "25px"
70
+ }), trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
71
+ children: "Productos"
72
+ })]
73
+ }), trueBar && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
74
+ className: "sub-option",
75
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
76
+ href: "/Dashboard",
77
+ children: trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
78
+ children: "General"
79
+ })
80
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
81
+ href: "/AddProducts",
82
+ children: trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
83
+ children: "Agregar Producto"
84
+ })
85
+ })]
86
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("a", {
87
+ href: "/providers",
88
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
89
+ src: _iconGroup.default,
90
+ alt: "Group",
91
+ width: "25px"
92
+ }), trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
93
+ children: "Proovedores"
94
+ })]
95
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("a", {
96
+ href: "/ContentohProducts",
97
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
98
+ src: _iconLogo.default,
99
+ alt: "Logo",
100
+ width: "25px"
101
+ }), trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
102
+ children: "Content Oh!"
103
+ })]
104
+ })]
79
105
  })]
80
106
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
81
107
  className: "menu-bottom",
@@ -84,7 +110,7 @@ var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
84
110
  alt: "Open Menu",
85
111
  onClick: function onClick() {
86
112
  {
87
- trueBar ? setTrueBar("") : setTrueBar("actived");
113
+ trueBar ? setTrueBar(false) : setTrueBar(true);
88
114
  }
89
115
  }
90
116
  })
@@ -11,40 +11,25 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
11
11
 
12
12
  var _styledComponents = _interopRequireDefault(require("styled-components"));
13
13
 
14
- var _reactRouterDom = require("react-router-dom");
15
-
16
14
  var _templateObject;
17
15
 
18
- //styled(NavLink)
19
- var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n width: 58px;\n box-sizing: border-box;\n padding: 23px 10px 70px 10px;\n flex-direction: column;\n justify-content: space-between;\n overflow: auto;\n border-radius: 50px;\n background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);\n scrollbar-width: none;\n display: flex;\n text-align: center;\n &.actived {\n width: 200px;\n padding: 23px 10px 15px 10px;\n border-radius: 20px;\n }\n .navbar-top {\n .logo {\n & + * {\n margin-top: ", "%;\n }\n }\n .option {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding-left: ", "px;\n div {\n height: ", "px;\n width: ", "px;\n display: flex;\n justify-content: ", ";\n border-radius: ", "px;\n align-items: center;\n font-family: \"Raleway\";\n font-style: normal;\n font-weight: 400;\n font-size: 18px;\n line-height: 21px;\n letter-spacing: -0.015em;\n color: #fafafa;\n text-decoration: none;\n &.option-link {\n cursor: pointer;\n margin-top: 12px;\n padding-left: ", "px;\n }\n p {\n cursor: pointer;\n }\n img {\n & + * {\n margin-left: 12px;\n }\n }\n }\n .option-link:hover {\n background: #e33aa9;\n }\n .sub-option {\n display: flex;\n flex-direction: column;\n padding-left: ", "px;\n height: auto;\n width: auto;\n div {\n display: flex;\n justify-content: flex-start;\n text-decoration: none;\n position: relative;\n font-size: 13px;\n border-left: 1px solid #f0eef2;\n border-radius: 0;\n color: #f0eef2;\n padding-top: 20px;\n padding-left: 12px;\n height: 25px;\n &::before {\n border-left: 1px solid #e33aa9;\n width: 10px;\n content: \"\";\n border-radius: 50%;\n height: 10px;\n background-color: white;\n position: absolute;\n left: ", "%;\n bottom: 1%;\n }\n }\n }\n }\n }\n .menu-bottom {\n display: flex;\n justify-content: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
16
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n width: ", "px;\n box-sizing: border-box;\n padding: 23px 10px ", "px 10px;\n flex-direction: column;\n justify-content: space-between;\n overflow: auto;\n border-radius: ", "px;\n background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);\n scrollbar-width: none;\n display: flex;\n text-align: center;\n .navbar-top {\n .logo {\n & + * {\n margin-top: ", "%;\n }\n }\n .option {\n a {\n cursor: pointer;\n height: 38px;\n display: flex;\n justify-content: center;\n border-radius: ", "px;\n align-items: center;\n font-family: \"Raleway\";\n font-style: normal;\n font-weight: 400;\n font-size: 18px;\n line-height: 21px;\n letter-spacing: -0.015em;\n color: #fafafa;\n text-decoration: none;\n img {\n & + * {\n margin-left: 12px;\n }\n }\n &:hover {\n background: #e33aa9;\n }\n /* & + * {\n margin-top: 12px;\n } */\n }\n .sub-option {\n display: flex;\n flex-direction: column;\n padding-left: 40px;\n a {\n display: flex;\n justify-content: flex-start;\n text-decoration: none;\n position: relative;\n font-family: Raleway;\n font-style: normal;\n font-weight: normal;\n font-size: 13px;\n border-left: 1px solid #f0eef2;\n border-radius: 0;\n line-height: 16px;\n letter-spacing: -0.015em;\n color: #f0eef2;\n padding-top: 20px;\n padding-left: 12px;\n height: 25px;\n &::before {\n border-left: 1px solid #e33aa9;\n width: 10px;\n content: \"\";\n border-radius: 50%;\n height: 10px;\n background-color: white;\n position: absolute;\n left: -4%;\n bottom: 1%;\n }\n &:hover {\n background-color: transparent;\n }\n }\n & + * {\n margin-top: 12px;\n }\n }\n }\n }\n .menu-bottom {\n display: flex;\n justify-content: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
20
17
  var bar = _ref.bar;
21
- return bar === "" ? 145 : 50;
18
+ return bar ? 200 : 58;
22
19
  }, function (_ref2) {
23
20
  var bar = _ref2.bar;
24
- return bar ? 5 : 0;
21
+ return bar ? 15 : 70;
25
22
  }, function (_ref3) {
26
23
  var bar = _ref3.bar;
27
- return bar ? 32 : 38;
24
+ return bar ? 20 : 50;
28
25
  }, function (_ref4) {
29
26
  var bar = _ref4.bar;
30
- return bar ? 165 : 38;
27
+ return bar ? 45 : 225;
31
28
  }, function (_ref5) {
32
29
  var bar = _ref5.bar;
33
- return bar ? "flex-start" : "center";
30
+ return bar ? 18 : 100;
34
31
  }, function (_ref6) {
35
32
  var bar = _ref6.bar;
36
- return bar ? 18 : 100;
37
- }, function (_ref7) {
38
- var bar = _ref7.bar;
39
- return bar ? 15 : 0;
40
- }, function (_ref8) {
41
- var bar = _ref8.bar;
42
- return bar ? 28 : 20;
43
- }, function (_ref9) {
44
- var bar = _ref9.bar;
45
- return bar ? -4 : -16;
46
- }, function (_ref10) {
47
- var bar = _ref10.bar;
48
33
  return bar ? "flex-end" : "center";
49
34
  });
50
35
 
@@ -25,16 +25,6 @@ var _index3 = require("../../atoms/AsignationOption/index");
25
25
 
26
26
  var _data = require("../../../global-files/data");
27
27
 
28
- var _SliderToolTip = require("../../atoms/SliderToolTip");
29
-
30
- var _infoIcon = _interopRequireDefault(require("../../../assets/images/sliderToolTip/infoIcon.svg"));
31
-
32
- var _slide = _interopRequireDefault(require("../../../assets/images/sliderToolTip/slide21.svg"));
33
-
34
- var _slide2 = _interopRequireDefault(require("../../../assets/images/sliderToolTip/slide22.svg"));
35
-
36
- var _slide3 = _interopRequireDefault(require("../../../assets/images/sliderToolTip/slide23.svg"));
37
-
38
28
  var _jsxRuntime = require("react/jsx-runtime");
39
29
 
40
30
  var StatusAsignationInfo = function StatusAsignationInfo(_ref) {
@@ -78,19 +68,6 @@ var StatusAsignationInfo = function StatusAsignationInfo(_ref) {
78
68
  }
79
69
  };
80
70
 
81
- var slidefront = [{
82
- slide: _slide.default,
83
- title: "Valida tu producto en cada activo digital",
84
- description: "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."
85
- }, {
86
- slide: _slide2.default,
87
- title: "Aprueba o rechaza con un clic",
88
- description: "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."
89
- }, {
90
- slide: _slide3.default,
91
- title: "Estatus de tu producto en el proceso",
92
- description: "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."
93
- }];
94
71
  (0, _react.useEffect)(function () {
95
72
  if (showAsignationPanel) {
96
73
  document.addEventListener("click", closeAsignations, false);
@@ -98,12 +75,7 @@ var StatusAsignationInfo = function StatusAsignationInfo(_ref) {
98
75
  }, [showAsignationPanel]);
99
76
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
100
77
  id: id,
101
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SliderToolTip.SliderToolTip, {
102
- infoIcon: _infoIcon.default,
103
- slidefront: slidefront,
104
- iconSize: "medium-image",
105
- slidePosition: "bottom-slide"
106
- }), status !== "-" && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.StatusTag, {
78
+ children: [status !== "-" && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.StatusTag, {
107
79
  statusType: status,
108
80
  ovalForm: true
109
81
  }), showSaveButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
@@ -47,7 +47,7 @@ var FullProductNameHeader = function FullProductNameHeader(_ref) {
47
47
  var element = [];
48
48
  servicesData.forEach(function (sd) {
49
49
  if (sd.id_retailer === rt.id) {
50
- element.push(sd.status ? sd.status : "R");
50
+ element.push(sd.status ? sd.status : "RECEIVED");
51
51
  } else element.push("NA");
52
52
 
53
53
  rt["services"] = element;
@@ -28,128 +28,122 @@ exports.ProviderProductEditionDefault = ProviderProductEditionDefault;
28
28
  ProviderProductEditionDefault.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: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI1ODg0YWUzNC01OWQ2LTQ0NTQtYjk4ZS04MjE1MThiY2MzYTciLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwL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yIWhsP3oaKTvJGDKCaJxwkFEKk-3antoMtfua9H8V4p2Kkqa_eDbFk8pLYGaYgImLlaia2orGgETkHZIWEMr4WJq1V_7qOg4lYq2BUUuMhWdmK6XUL_Jhmv05TUJ3Rp_Ti4_J2WE4zQqhbfQ",
35
+ articleId: 238,
36
+ category: 846,
37
+ version: 2,
38
38
  productSelected: {
39
- orderId: 96,
39
+ orderId: 55,
40
40
  article_status: "AP",
41
- datasheet_status: "ACA",
42
- description_status: "ACA",
43
- images_status: "ACA",
41
+ datasheet_status: "AP",
42
+ description_status: "AP",
43
+ images_status: "AP",
44
44
  prio: "none",
45
- version: 3,
45
+ version: 2,
46
46
  brand: null,
47
47
  article: {
48
- category: "SEGURIDAD|BATERÍAS Y PILAS|BATERÍAS Y PILAS",
49
- company_name: "COMPANY DEV",
48
+ category: "ILUMINACIÓN|FOCOS|FOCOS",
49
+ company_name: "THD Proveedor",
50
50
  country: "México",
51
- id_category: "2568",
52
- id_article: 55154,
53
- name: "Prueba 12312",
54
- upc: "977812"
51
+ id_category: "2143",
52
+ id_article: 55118,
53
+ name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
54
+ upc: "145582"
55
55
  },
56
56
  retailers: [{
57
57
  id: 58,
58
- name: "The Home Depot Golden",
59
- services: ["ACA", "ACA", "ACA", "NA"]
58
+ name: "The Home Depot Golden"
60
59
  }, {
61
60
  id: 59,
62
- name: "The Home Depot Platinum",
63
- services: ["NA", "NA", "NA", "AP"]
61
+ name: "The Home Depot Platinum"
62
+ }, {
63
+ id: 60,
64
+ name: "The Home Depot Resizing"
65
+ }, {
66
+ id: 61,
67
+ name: "Home Depot TAB"
64
68
  }],
65
69
  services: {
66
70
  datasheets: 1,
67
71
  descriptions: 1,
68
72
  images: 1
69
73
  },
70
- statusByRetailer: {
71
- 58: {
72
- datasheet: "ACA",
73
- description: "ACA",
74
- images: "ACA"
75
- },
76
- 59: {
77
- images: "ACA"
78
- }
79
- },
80
- id_article: 55154,
74
+ id_article: 55118,
81
75
  retailersAvailable: [{
82
76
  id: 58,
83
- name: "The Home Depot Golden",
84
- percentage: 100
77
+ name: "The Home Depot Golden"
85
78
  }, {
86
79
  id: 59,
87
- name: "The Home Depot Platinum",
88
- percentage: 100
89
- }],
90
- status: "ACA"
80
+ name: "The Home Depot Platinum"
81
+ }, {
82
+ id: 60,
83
+ name: "The Home Depot Resizing"
84
+ }, {
85
+ id: 61,
86
+ name: "Home Depot TAB"
87
+ }]
91
88
  },
92
89
  productToEdit: {
93
- ArticleId: 55154,
94
- idCategory: "2568",
90
+ ArticleId: 55118,
91
+ idCategory: "2143",
95
92
  product: {
96
- orderId: 96,
93
+ orderId: 55,
97
94
  article_status: "AP",
98
- datasheet_status: "ACA",
99
- description_status: "ACA",
100
- images_status: "ACA",
95
+ datasheet_status: "AP",
96
+ description_status: "AP",
97
+ images_status: "AP",
101
98
  prio: "none",
102
- version: 3,
99
+ version: 2,
103
100
  brand: null,
104
101
  article: {
105
- category: "SEGURIDAD|BATERÍAS Y PILAS|BATERÍAS Y PILAS",
106
- company_name: "COMPANY DEV",
102
+ category: "ILUMINACIÓN|FOCOS|FOCOS",
103
+ company_name: "THD Proveedor",
107
104
  country: "México",
108
- id_category: "2568",
109
- id_article: 55154,
110
- name: "Prueba 12312",
111
- upc: "977812"
105
+ id_category: "2143",
106
+ id_article: 55118,
107
+ name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
108
+ upc: "145582"
112
109
  },
113
110
  retailers: [{
114
111
  id: 58,
115
- name: "The Home Depot Golden",
116
- services: ["ACA", "ACA", "ACA", "NA"]
112
+ name: "The Home Depot Golden"
117
113
  }, {
118
114
  id: 59,
119
- name: "The Home Depot Platinum",
120
- services: ["NA", "NA", "NA", "AP"]
115
+ name: "The Home Depot Platinum"
116
+ }, {
117
+ id: 60,
118
+ name: "The Home Depot Resizing"
119
+ }, {
120
+ id: 61,
121
+ name: "Home Depot TAB"
121
122
  }],
122
123
  services: {
123
124
  datasheets: 1,
124
125
  descriptions: 1,
125
126
  images: 1
126
127
  },
127
- statusByRetailer: {
128
- 58: {
129
- datasheet: "ACA",
130
- description: "ACA",
131
- images: "ACA"
132
- },
133
- 59: {
134
- images: "ACA"
135
- }
136
- },
137
- id_article: 55154,
128
+ id_article: 55118,
138
129
  retailersAvailable: [{
139
130
  id: 58,
140
- name: "The Home Depot Golden",
141
- percentage: 100
131
+ name: "The Home Depot Golden"
142
132
  }, {
143
133
  id: 59,
144
- name: "The Home Depot Platinum",
145
- percentage: 100
146
- }],
147
- status: "ACA"
134
+ name: "The Home Depot Platinum"
135
+ }, {
136
+ id: 60,
137
+ name: "The Home Depot Resizing"
138
+ }, {
139
+ id: 61,
140
+ name: "Home Depot TAB"
141
+ }]
148
142
  }
149
143
  },
150
144
  location: {
151
145
  product: {
152
- articleId: 55157,
146
+ articleId: 109485,
153
147
  versionId: 3
154
148
  },
155
149
  state: {
@@ -174,7 +168,7 @@ ProviderProductEditionDefault.args = {
174
168
  id_stripe: "",
175
169
  id_role: 0,
176
170
  active: 1,
177
- is_retailer: 1,
171
+ is_retailer: 0,
178
172
  email_notify: 1,
179
173
  membership: {
180
174
  id: 24,
@@ -187,6 +181,6 @@ ProviderProductEditionDefault.args = {
187
181
  products_limit: "10000",
188
182
  type: "Enterprise"
189
183
  },
190
- src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1657069378649"
184
+ src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1656113146885"
191
185
  }
192
186
  };