contentoh-components-library 21.3.52 → 21.3.53
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/components/atoms/ButtonV2/styles.js +1 -1
- package/dist/components/atoms/Status/styles.js +1 -1
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +23 -18
- package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +4 -4
- package/dist/components/organisms/DashboardMetric/dashboardMetricUtils.js +0 -27
- package/dist/components/organisms/GlobalModal/styles.js +1 -1
- package/dist/components/organisms/OrderDetail/styles.js +1 -1
- package/dist/components/organisms/OrderDetail/utils/Table/styles.js +1 -1
- package/dist/components/pages/Dashboard/Dashboard.stories.js +50 -31
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +89 -127
- package/dist/components/pages/ProviderProductEdition/index.js +392 -647
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +108 -61
- package/dist/components/pages/RetailerProductEdition/index.js +1 -1
- package/dist/index.js +0 -13
- package/package.json +6 -7
- package/src/components/atoms/ButtonV2/styles.js +1 -1
- package/src/components/atoms/Status/styles.js +0 -4
- package/src/components/atoms/VerticalSideMenuMainPage/index.js +22 -18
- package/src/components/atoms/VerticalSideMenuMainPage/styles.js +4 -3
- package/src/components/molecules/AvatarAndValidation/index.js +1 -1
- package/src/components/organisms/DashboardMetric/dashboardMetricUtils.js +1 -18
- package/src/components/organisms/GlobalModal/styles.js +0 -10
- package/src/components/organisms/OrderDetail/index.js +0 -1
- package/src/components/organisms/OrderDetail/styles.js +1 -1
- package/src/components/organisms/OrderDetail/utils/Table/styles.js +1 -0
- package/src/components/pages/Dashboard/Dashboard.stories.js +55 -31
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +96 -135
- package/src/components/pages/ProviderProductEdition/index.js +135 -264
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +111 -61
- package/src/components/pages/RetailerProductEdition/index.js +1 -1
- package/src/index.js +0 -1
- package/dist/assets/fonts/roboto/LICENSE.txt +0 -202
- package/src/components/organisms/TableResizable/TableResizable.stories.js +0 -17
- package/src/components/organisms/TableResizable/index.js +0 -119
- package/src/components/organisms/TableResizable/styles.js +0 -133
- package/src/components/organisms/TableResizable/utils.js +0 -46
|
@@ -15,7 +15,7 @@ var _variables = require("../../../global-files/variables");
|
|
|
15
15
|
|
|
16
16
|
var _templateObject;
|
|
17
17
|
|
|
18
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0px;\n cursor: ", ";\n border-radius: ", ";\n border: none;\n\n .button {\n --size: ", "px;\n width: 100%;\n min-width: min-content;\n cursor: inherit;\n display: flex;\n flex-direction: ", ";\n gap: 7px;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border-radius: inherit;\n border: ", ";\n font-family: ", ", sans-serif;\n font-size: var(--size);\n line-height: 1.2;\n text-transform: none;\n\n // tipos de botones fill\n &.fill {\n &.white {\n background-color: white;\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS2 {\n background-color: white;\n color: #7b7979;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS3 {\n background-color: white;\n color: #262626;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS4 {\n background-color: white;\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n background-color: #e0e0f1;\n }\n }\n &.pink {\n background-color: #e33aa9;\n color:
|
|
18
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0px;\n cursor: ", ";\n border-radius: ", ";\n border: none;\n\n .button {\n --size: ", "px;\n width: 100%;\n min-width: min-content;\n cursor: inherit;\n display: flex;\n flex-direction: ", ";\n gap: 7px;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border-radius: inherit;\n border: ", ";\n font-family: ", ", sans-serif;\n font-size: var(--size);\n line-height: 1.2;\n text-transform: none;\n\n // tipos de botones fill\n &.fill {\n &.white {\n background-color: white;\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS2 {\n background-color: white;\n color: #7b7979;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS3 {\n background-color: white;\n color: #262626;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS4 {\n background-color: white;\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n background-color: #e0e0f1;\n }\n }\n &.pink {\n background-color: #e33aa9;\n color: white;\n border-color: #e33aa9;\n &:hover {\n background-color: #b42983;\n }\n }\n &.gray {\n background-color: #e8e5e5;\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n }\n &:hover {\n background-color: #d6d3d3;\n }\n }\n &.purple {\n background-color: #f7f7fc;\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n background-color: #e0e0f1;\n }\n }\n &.purpleS2 {\n background-color: #8a6caa;\n color: white;\n border-color: #8a6caa;\n &:hover {\n background-color: #61467e;\n }\n }\n }\n\n // tipos de botones transparent\n &.transparent {\n &:hover {\n background-color: transparent;\n }\n &.white {\n color: white;\n border-color: #e33aa9;\n &:hover {\n color: #d6d4d4;\n }\n }\n &.pink {\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n color: #b42983;\n }\n }\n &.gray {\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n transition: inherit;\n }\n &:hover {\n color: #7b7979;\n .icon,\n .iconLoading {\n color: #bdbbbb;\n }\n }\n }\n &.purple {\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n color: #714f95;\n }\n }\n &.black {\n color: #262626;\n border-color: #262626;\n &:hover {\n color: #7b7979;\n }\n }\n }\n\n .icon,\n .iconLoading {\n display: grid;\n place-items: center;\n color: inherit;\n font-size: ", ";\n }\n .iconLoading {\n font-size: ", ";\n }\n\n // mismo estilo desabilitado para cualquier tipo de boton\n &:disabled {\n background-color: #fcebf7 !important;\n color: #7b7979 !important;\n border-color: #7b7979 !important;\n\n .icon {\n color: #9e9c9c !important;\n }\n .iconLoading {\n color: #9e2674 !important;\n }\n\n &:hover {\n background-color: #fcebf7 !important;\n }\n }\n }\n"])), function (_ref) {
|
|
19
19
|
var disabled = _ref.disabled,
|
|
20
20
|
isLoading = _ref.isLoading;
|
|
21
21
|
return disabled || isLoading ? "not-allowed" : "pointer";
|
|
@@ -15,6 +15,6 @@ var _variables = require("../../../global-files/variables");
|
|
|
15
15
|
|
|
16
16
|
var _templateObject;
|
|
17
17
|
|
|
18
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0 10px;\n height: 20px;\n background-color: ", ";\n border-radius: 3px;\n\n p {\n text-align: center;\n color: ", ";\n font-family: ", ";\n font-size: 12px;\n line-height: 20px;\n }\n\n &.status-CA,\n &.status-IE {\n background-color: ", ";\n }\n\n &.status-R,\n &.status-AS,\n &.status-
|
|
18
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0 10px;\n height: 20px;\n background-color: ", ";\n border-radius: 3px;\n\n p {\n text-align: center;\n color: ", ";\n font-family: ", ";\n font-size: 12px;\n line-height: 20px;\n }\n\n &.status-CA,\n &.status-IE {\n background-color: ", ";\n }\n\n &.status-R,\n &.status-AS,\n &.status-PA {\n background-color: ", ";\n }\n\n &.status-AA,\n &.status-AP,\n &.status-AC,\n &.status-ACA {\n background-color: ", ";\n }\n\n &.status-RA,\n &.status-RC,\n &.status-RP,\n &.status-RCA {\n background-color: ", ";\n }\n\n &.status-Dat,\n &.status-Dsc,\n &.status-Imgs {\n background-color: ", ";\n }\n\n &.status-Ex {\n background-color: ", ";\n }\n\n &.status-DDI {\n background-color: ", ";\n }\n\n &.status-GLD {\n background-color: ", ";\n }\n\n &.status-TAB {\n background-color: ", ";\n }\n\n &.status-Pt {\n background-color: ", ";\n color: ", ";\n }\n\n &.oval-form {\n border-radius: 10px;\n }\n"])), _variables.GlobalColors.s3, _variables.GlobalColors.white, _variables.FontFamily.Lato, _variables.GlobalColors.in_progress, _variables.GlobalColors.reception, _variables.GlobalColors.finished, _variables.GlobalColors.rejected_status, _variables.GlobalColors.s4, _variables.GlobalColors.exported, _variables.GlobalColors.original_purpura, _variables.GlobalColors.in_progress, _variables.GlobalColors.deep_gray, _variables.GlobalColors.s2, _variables.GlobalColors.s4);
|
|
19
19
|
|
|
20
20
|
exports.Container = Container;
|
|
@@ -11,16 +11,16 @@ exports.VerticalSideMenuMainPage = void 0;
|
|
|
11
11
|
|
|
12
12
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
13
13
|
|
|
14
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
-
|
|
16
|
-
var _reactRouterDom = require("react-router-dom");
|
|
17
|
-
|
|
18
14
|
var _styles = require("./styles");
|
|
19
15
|
|
|
20
16
|
var _iconLogoContentoh = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconLogoContentoh.svg"));
|
|
21
17
|
|
|
22
18
|
var _iconLogo = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconLogo.svg"));
|
|
23
19
|
|
|
20
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
21
|
+
|
|
22
|
+
var _reactRouterDom = require("react-router-dom");
|
|
23
|
+
|
|
24
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
25
|
|
|
26
26
|
var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
|
|
@@ -28,7 +28,7 @@ var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
|
|
|
28
28
|
menuoption = _ref$menuoption === void 0 ? [] : _ref$menuoption,
|
|
29
29
|
containerdash = _ref.containerdash;
|
|
30
30
|
|
|
31
|
-
var _useState = (0, _react.useState)(
|
|
31
|
+
var _useState = (0, _react.useState)(),
|
|
32
32
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
33
33
|
trueBar = _useState2[0],
|
|
34
34
|
setTrueBar = _useState2[1];
|
|
@@ -55,26 +55,31 @@ var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
|
|
|
55
55
|
var _item$suboption;
|
|
56
56
|
|
|
57
57
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
58
|
+
bar: trueBar,
|
|
58
59
|
className: "option-div",
|
|
59
60
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.NavLinkOption, {
|
|
60
61
|
to: item.path,
|
|
61
|
-
bar: trueBar
|
|
62
|
+
bar: trueBar,
|
|
62
63
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
63
64
|
src: item.icon,
|
|
64
65
|
alt: item.title
|
|
65
|
-
}), trueBar
|
|
66
|
+
}), trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
66
67
|
children: item.title
|
|
67
|
-
})
|
|
68
|
-
}), item
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
68
|
+
})]
|
|
69
|
+
}), item.suboption !== undefined && /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
70
|
+
children: item === null || item === void 0 ? void 0 : (_item$suboption = item.suboption) === null || _item$suboption === void 0 ? void 0 : _item$suboption.map(function (subitem) {
|
|
71
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
72
|
+
className: "sub-option",
|
|
73
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.NavLinkOption, {
|
|
74
|
+
to: subitem.path,
|
|
75
|
+
className: "sub-option-link",
|
|
76
|
+
bar: trueBar,
|
|
77
|
+
children: trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
78
|
+
children: subitem.title
|
|
79
|
+
})
|
|
80
|
+
})
|
|
81
|
+
});
|
|
82
|
+
})
|
|
78
83
|
})]
|
|
79
84
|
}, index);
|
|
80
85
|
})
|
|
@@ -17,13 +17,13 @@ var _reactRouterDom = require("react-router-dom");
|
|
|
17
17
|
|
|
18
18
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
19
19
|
|
|
20
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n box-sizing: border-box;\n padding: 23px 0 70px 0;\n flex-direction: column;\n justify-content: space-between;\n overflow: none;\n width: ", ";\n background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);\n scrollbar-width: none;\n display: flex;\n text-align: center;\n transition: width 0.3s linear;\n margin: 0;\n & + * {\n margin-left: 30px;\n }\n .navbar-top {\n .logo {\n height: 22px;\n }\n .option {\n .option-div {\n width: 100%;\n white-space: nowrap;\n }\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: 50px;\n .active {\n text-decoration: none;\n background: rgba(255, 255, 255, 0.1);\n }\n .sub-option {\n display: flex;\n flex-direction: column;\n padding-left: 32px;\n height: auto;\n width: auto;\n &:last-child {\n margin-bottom: 10px;\n }\n }\n }\n }\n"])), function (_ref) {
|
|
20
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n box-sizing: border-box;\n padding: 23px 0 70px 0;\n flex-direction: column;\n justify-content: space-between;\n overflow: none;\n width: ", "px;\n background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);\n scrollbar-width: none;\n display: flex;\n text-align: center;\n transition: width 0.3s linear;\n margin: 0;\n & + * {\n margin-left: 30px;\n }\n .navbar-top {\n .logo {\n height: 22px;\n }\n .option {\n .option-div {\n width: 100%;\n white-space: nowrap;\n }\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: 50px;\n .active {\n text-decoration: none;\n background: rgba(255, 255, 255, 0.1);\n }\n .sub-option {\n display: flex;\n flex-direction: column;\n padding-left: 32px;\n height: auto;\n width: auto;\n &:last-child {\n margin-bottom: 10px;\n }\n }\n }\n }\n"])), function (_ref) {
|
|
21
21
|
var bar = _ref.bar;
|
|
22
|
-
return bar ?
|
|
22
|
+
return bar ? 240 : 66;
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.Container = Container;
|
|
26
|
-
var NavLinkOption = (0, _styledComponents.default)(_reactRouterDom.NavLink)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n height: 42px;\n display: flex;\n justify-content: ", ";\n align-items: center;\n font-family: sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 17px;\n line-height: 21px;\n letter-spacing: -0.015em;\n transition: color 0.3s linear;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n padding: ", ";\n &:hover {\n background: rgba(255, 255, 255, 0.2);\n color: #fafafa;\n text-decoration: none;\n }\n p {\n cursor: pointer;\n margin: 0%;\n pointer-events: none;\n }\n img {\n height: 22px;\n position: absolute;\n left: 22px;\n & + * {\n margin-left: 30px;\n }\n }\n &.sub-option-link {\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 transition: color 0.3s linear;\n color: ", ";\n height: 25px;\n margin: 0;\n padding-left: 12px;\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
|
|
26
|
+
var NavLinkOption = (0, _styledComponents.default)(_reactRouterDom.NavLink)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n height: 42px;\n display: flex;\n justify-content: ", ";\n align-items: center;\n font-family: sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 17px;\n line-height: 21px;\n letter-spacing: -0.015em;\n transition: color 0.3s linear;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n padding: ", "px;\n &:hover {\n background: rgba(255, 255, 255, 0.2);\n color: #fafafa;\n text-decoration: none;\n }\n p {\n cursor: pointer;\n margin: 0%;\n pointer-events: none;\n }\n img {\n height: 22px;\n position: absolute;\n left: 22px;\n & + * {\n margin-left: 30px;\n }\n }\n &.sub-option-link {\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 transition: color 0.3s linear;\n color: ", ";\n padding-top: 14px;\n height: 25px;\n margin: 0;\n padding-left: 12px;\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 bottom: 0;\n left: -6px;\n }\n &.active {\n background: none !important;\n text-decoration: none;\n transition: color 0.3s linear;\n color: ", ";\n &::before {\n background-color: #e33aa9;\n }\n }\n &:hover {\n background: none;\n }\n }\n"])), function (_ref2) {
|
|
27
27
|
var bar = _ref2.bar;
|
|
28
28
|
return bar ? "flex-start" : "center";
|
|
29
29
|
}, function (_ref3) {
|
|
@@ -31,7 +31,7 @@ var NavLinkOption = (0, _styledComponents.default)(_reactRouterDom.NavLink)(_tem
|
|
|
31
31
|
return bar ? "#fafafa" : "transparent";
|
|
32
32
|
}, function (_ref4) {
|
|
33
33
|
var bar = _ref4.bar;
|
|
34
|
-
return bar ? "0
|
|
34
|
+
return bar ? "0 22" : "0 8";
|
|
35
35
|
}, function (_ref5) {
|
|
36
36
|
var bar = _ref5.bar;
|
|
37
37
|
return bar ? "#f0eef2" : "transparent";
|
|
@@ -56,21 +56,6 @@ var getFullStatus = function getFullStatus(status) {
|
|
|
56
56
|
|
|
57
57
|
case "NS":
|
|
58
58
|
return "No solicitado";
|
|
59
|
-
|
|
60
|
-
case "SAC":
|
|
61
|
-
return "Solicitud Auditoría Content-oh!";
|
|
62
|
-
|
|
63
|
-
case "AAC":
|
|
64
|
-
return "Aprobado Auditoría Content-oh!";
|
|
65
|
-
|
|
66
|
-
case "RAC":
|
|
67
|
-
return "Rechazado Auditoría Content-oh!";
|
|
68
|
-
|
|
69
|
-
case "FAP":
|
|
70
|
-
return "Finalización Auditoría por Proveedor";
|
|
71
|
-
|
|
72
|
-
default:
|
|
73
|
-
return "";
|
|
74
59
|
}
|
|
75
60
|
};
|
|
76
61
|
|
|
@@ -128,18 +113,6 @@ var getStatusColor = function getStatusColor(status) {
|
|
|
128
113
|
case "Ex":
|
|
129
114
|
return "#09CAD8";
|
|
130
115
|
|
|
131
|
-
case "SAC":
|
|
132
|
-
return "#2471A3";
|
|
133
|
-
|
|
134
|
-
case "AAC":
|
|
135
|
-
return "#1ABC9C";
|
|
136
|
-
|
|
137
|
-
case "RAC":
|
|
138
|
-
return "#229954";
|
|
139
|
-
|
|
140
|
-
case "FAP":
|
|
141
|
-
return "#F1C40F";
|
|
142
|
-
|
|
143
116
|
default:
|
|
144
117
|
return "white";
|
|
145
118
|
}
|
|
@@ -21,7 +21,7 @@ var Header = _styledComponents.default.div(_templateObject2 || (_templateObject2
|
|
|
21
21
|
|
|
22
22
|
exports.Header = Header;
|
|
23
23
|
|
|
24
|
-
var MessageContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n padding: 40px 20px;\n box-sizing: border-box;\n width: 600px;\n min-height: ", ";\n background: #281f33;\n border-radius: 39px;\n
|
|
24
|
+
var MessageContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n padding: 40px 20px;\n box-sizing: border-box;\n width: 600px;\n min-height: ", ";\n background: #281f33;\n border-radius: 39px;\n"])), function (props) {
|
|
25
25
|
return props.height ? "300px" : "190px";
|
|
26
26
|
});
|
|
27
27
|
|
|
@@ -15,7 +15,7 @@ var _variables = require("../../../global-files/variables");
|
|
|
15
15
|
|
|
16
16
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
|
17
17
|
|
|
18
|
-
var MainContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: fixed;\n top: 0;\n right: 0;\n width: 785px;\n height: 100vh;\n z-index: 5;\n background: #ffffff;\n box-sizing: border-box;\n font-family: ", ";\n & > * {\n padding: 0 30px;\n }\n box-shadow: -4px 0px 8px 0px rgba(0,
|
|
18
|
+
var MainContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: fixed;\n top: 0;\n right: 0;\n width: 785px;\n height: 100vh;\n z-index: 5;\n background: #ffffff;\n box-sizing: border-box;\n font-family: ", ";\n & > * {\n padding: 0 30px;\n }\n box-shadow: -4px 0px 8px 0px rgba(0,0,0,0.1);\n .headerTitle {\n font-weight: bold;\n font-size: 25px;\n }\n\n display: grid;\n grid-template-columns: 1fr;\n grid-template-rows: 101px 120px 1fr 115px;\n grid-column-gap: 0px;\n grid-row-gap: 0px;\n\n .body {\n overflow-y: auto;\n }\n .footer {\n width: 100%;\n display: flex;\n align-items: center;\n height: 115px;\n border-top: 1px solid #e6e6e6;\n position: sticky;\n bottom: 0;\n padding: 20px;\n box-sizing: border-box;\n > h2 {\n margin-right: 20px;\n }\n > div {\n margin-right: 10px;\n }\n }\n"])), _variables.FontFamily.Roboto);
|
|
19
19
|
|
|
20
20
|
exports.MainContainer = MainContainer;
|
|
21
21
|
|
|
@@ -17,7 +17,7 @@ var Header = _styledComponents.default.div(_templateObject || (_templateObject =
|
|
|
17
17
|
|
|
18
18
|
exports.Header = Header;
|
|
19
19
|
|
|
20
|
-
var Column = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n height: 35px;\n width: ", ";\n padding: 10px 15px;\n font-family: Roboto;\n font-size: 12px;\n color: ", ";\n font-weight: ", ";\n white-space: nowrap;\n text-overflow: ellipsis;\n .flex {\n display: flex;\n }\n .material-icons.small {\n font-size: 18px;\n color: #b3b3b3;\n }\n .center {\n margin: auto;\n }\n &:nth-child(-n + 2) {\n overflow: hidden;\n }\n .tooltip {\n position: relative;\n display: inline-block;\n }\n\n .tooltip .tooltiptext {\n visibility: hidden;\n background-color: #fff;\n color: black;\n text-align: center;\n padding: 5px 0;\n border-radius: 3px;\n\n position: absolute;\n z-index: 1;\n top: -8px;\n left: 3px;\n font-family: Roboto;\n font-size: 10px;\n padding: 2px 5px;\n }\n\n .tooltip:hover .tooltiptext {\n visibility: visible;\n }\n"])), function (_ref) {
|
|
20
|
+
var Column = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n height: 35px;\n width: ", ";\n padding: 10px 15px;\n font-family: Roboto;\n font-size: 12px;\n color: ", ";\n font-weight: ", ";\n white-space: nowrap;\n text-overflow: ellipsis;\n .flex {\n display: flex;\n }\n .material-icons.small {\n font-size: 18px;\n color: #b3b3b3;\n }\n .center {\n margin: auto;\n }\n &:nth-child(-n + 2) {\n overflow: hidden;\n }\n\n .tooltip {\n position: relative;\n display: inline-block;\n }\n\n .tooltip .tooltiptext {\n visibility: hidden;\n background-color: #fff;\n color: black;\n text-align: center;\n padding: 5px 0;\n border-radius: 3px;\n\n position: absolute;\n z-index: 1;\n top: -8px;\n left: 3px;\n font-family: Roboto;\n font-size: 10px;\n padding: 2px 5px;\n }\n\n .tooltip:hover .tooltiptext {\n visibility: visible;\n }\n"])), function (_ref) {
|
|
21
21
|
var width = _ref.width;
|
|
22
22
|
return "".concat(width, "px");
|
|
23
23
|
}, function (_ref2) {
|
|
@@ -27,57 +27,76 @@ var DashboardDeafult = Template.bind({});
|
|
|
27
27
|
exports.DashboardDeafult = DashboardDeafult;
|
|
28
28
|
DashboardDeafult.args = {
|
|
29
29
|
user: {
|
|
30
|
-
id_user:
|
|
31
|
-
name: "
|
|
32
|
-
last_name: "",
|
|
33
|
-
email: "
|
|
34
|
-
position: "",
|
|
35
|
-
telephone: "",
|
|
36
|
-
country: "",
|
|
37
|
-
id_company:
|
|
38
|
-
id_cognito: "
|
|
30
|
+
id_user: 59,
|
|
31
|
+
name: "Cadena",
|
|
32
|
+
last_name: "Comercial",
|
|
33
|
+
email: "cadena.ismael@allfreemail.net",
|
|
34
|
+
position: "Admin",
|
|
35
|
+
telephone: "+523111366336",
|
|
36
|
+
country: "México",
|
|
37
|
+
id_company: 817,
|
|
38
|
+
id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
|
|
39
39
|
birth_Date: null,
|
|
40
40
|
about_me: "",
|
|
41
41
|
zip_code: "",
|
|
42
42
|
address: "",
|
|
43
43
|
job: "",
|
|
44
44
|
id_stripe: "",
|
|
45
|
-
id_role:
|
|
45
|
+
id_role: 0,
|
|
46
46
|
active: 1,
|
|
47
|
-
is_retailer:
|
|
48
|
-
email_notify:
|
|
47
|
+
is_retailer: 1,
|
|
48
|
+
email_notify: 0,
|
|
49
49
|
is_user_tech: null,
|
|
50
50
|
membership: {
|
|
51
|
-
id:
|
|
52
|
-
start_date: "
|
|
53
|
-
end_date: "
|
|
54
|
-
planID:
|
|
55
|
-
plan: "
|
|
56
|
-
name: "Plan
|
|
57
|
-
user_limit: "
|
|
58
|
-
products_limit: "
|
|
51
|
+
id: 47,
|
|
52
|
+
start_date: "2022-05-25T14:31:12.000Z",
|
|
53
|
+
end_date: "2023-05-25T14:31:12.000Z",
|
|
54
|
+
planID: 5,
|
|
55
|
+
plan: "prod_Ktl6B5Ou2gqTB2",
|
|
56
|
+
name: "Plan Pro",
|
|
57
|
+
user_limit: "5",
|
|
58
|
+
products_limit: "500",
|
|
59
59
|
type: "PyMES"
|
|
60
60
|
},
|
|
61
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
61
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1681406304781"
|
|
62
62
|
},
|
|
63
63
|
company: {
|
|
64
|
-
id_company:
|
|
65
|
-
trade_name: "
|
|
66
|
-
company_name: "
|
|
67
|
-
rfc:
|
|
68
|
-
adress:
|
|
64
|
+
id_company: 817,
|
|
65
|
+
trade_name: "Retailer acc",
|
|
66
|
+
company_name: "Retailer acc",
|
|
67
|
+
rfc: "ASER12345",
|
|
68
|
+
adress: "Av. Insurgentes",
|
|
69
69
|
about_company: null,
|
|
70
70
|
telephone: null,
|
|
71
71
|
web_site: null,
|
|
72
72
|
zip_code: null,
|
|
73
73
|
email: null,
|
|
74
74
|
social_link: null,
|
|
75
|
-
is_retailer:
|
|
75
|
+
is_retailer: 1,
|
|
76
|
+
financedRetailers: [{
|
|
77
|
+
id: 68,
|
|
78
|
+
name: "The Home Depot Merchants",
|
|
79
|
+
country: "México",
|
|
80
|
+
id_region: 1,
|
|
81
|
+
active: 1
|
|
82
|
+
}],
|
|
76
83
|
retailers: [{
|
|
77
|
-
id:
|
|
78
|
-
name:
|
|
79
|
-
country:
|
|
84
|
+
id: 59,
|
|
85
|
+
name: "The Home Depot Platinum",
|
|
86
|
+
country: "México"
|
|
87
|
+
}, {
|
|
88
|
+
id: 60,
|
|
89
|
+
name: "The Home Depot Resizing",
|
|
90
|
+
country: "México"
|
|
91
|
+
}, {
|
|
92
|
+
id: 61,
|
|
93
|
+
name: "Home Depot TAB",
|
|
94
|
+
country: "México"
|
|
95
|
+
}, {
|
|
96
|
+
id: 68,
|
|
97
|
+
name: "The Home Depot Merchants",
|
|
98
|
+
country: "México"
|
|
80
99
|
}]
|
|
81
100
|
},
|
|
82
|
-
jwt: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
101
|
+
jwt: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIyNDlhMjJkMC00Y2VhLTRjNGEtYTNjYS0zM2ZjN2VmNjAwOTEiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwiY29nbml0bzp1c2VybmFtZSI6IjI0OWEyMmQwLTRjZWEtNGM0YS1hM2NhLTMzZmM3ZWY2MDA5MSIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiI0MzRhODBmZi0yZmNiLTQyMmItOGI5ZC0wNzU4OGQ3NGQyNmIiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY4MTQyNjgyOCwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY4MTQzMDQyOCwiaWF0IjoxNjgxNDI2ODI4LCJlbWFpbCI6Im1lcmNoYW50c2lsdW1pbmFjaW9uQGFsbGZyZWVtYWlsLm5ldCJ9.IJNkSNUBmeOFQiDzyR2R0dDtwqg7U5GbXIwtW60cpxVBXj5Lr4zRdPuQnW3o02PxVR189IX2S3jcGgHhnvGMMKh4jRr-YM_eFpXYRQL_279tjG_rlZjwYFC333XMOcHViB8rEqNAti1PnuphCzqNiWH1z_b6aynxlbAeR23-P3VhSb0v6z_EWTdnuEw7ETXLFu2V6qaZTJCx6l7CZKECG2UExbaA0Be5_Ju56Q5cSNSf-lngetTvlb5DGeCge4nQ36y2qy9HnjAPDtP6c1v7KrT6zE74qh_L6u-xrdwYlaP5KBg4B3qJobtI9bgtKiqY1AZSTjWp4vr0T0_5M6GA7Q"
|
|
83
102
|
};
|
|
@@ -26,167 +26,129 @@ var Template = function Template(args) {
|
|
|
26
26
|
var ProviderProductEditionDefault = Template.bind({});
|
|
27
27
|
exports.ProviderProductEditionDefault = ProviderProductEditionDefault;
|
|
28
28
|
ProviderProductEditionDefault.args = {
|
|
29
|
+
tabsSections: {
|
|
30
|
+
Descripción: true,
|
|
31
|
+
"Ficha técnica": false,
|
|
32
|
+
Imágenes: false
|
|
33
|
+
},
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI1ODg0YWUzNC01OWQ2LTQ0NTQtYjk4ZS04MjE1MThiY2MzYTciLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6IjU4ODRhZTM0LTU5ZDYtNDQ1NC1iOThlLTgyMTUxOGJjYzNhNyIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJlZjViNDQzYi02ODc0LTQ2NGQtOWZiZS00Y2UwNWU4ZDQ3YTEiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY4MDAzODYyNiwibmFtZSI6IkNhZGVuYSBJc21hZWwiLCJwaG9uZV9udW1iZXIiOiIrNTIzMTExMzY2MzM2IiwiZXhwIjoxNjgwMDQyMjI1LCJpYXQiOjE2ODAwMzg2MjYsImVtYWlsIjoiY2FkZW5hLmlzbWFlbEBhbGxmcmVlbWFpbC5uZXQifQ.rhufpJdUaJOpiKtXJgNoDq863ecFnLp63c9_6NeEbpYYNN19d_xac8aZADN-QMpkmz1oxtqfxf_-JN5jMJexi9gJCRb9O7-xL75v_G9UjdmE8sRA6qRNb_tFUCt1oee_ulgqm_2wTjb7qGMGvY1eb1J1IX2pBYKnBy64KM6J5xFfZ57ac_bGruYhCzUexPBWyZKc5ckoY2zJqK5m5Ok7ds0m1hC0t-eQSGX_8KMsGQKiHevQ07cZUQ9mxOGVweRuAqITNx8fVmpD9QTpoZJJ5STVVcKO2CS0ltyE_DNlyejO7mZqbKvGEeLYc4ga0nozK9aP8H2cN_topT0d4JZ5rA",
|
|
35
|
+
articleId: 238,
|
|
36
|
+
category: 846,
|
|
37
|
+
version: 2,
|
|
29
38
|
productSelected: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
article: {
|
|
39
|
-
category: "Juguetes|Juguetes|Juguetes",
|
|
40
|
-
company_name: "Financiado Bodega",
|
|
41
|
-
id_company: 912,
|
|
42
|
-
country: "México",
|
|
43
|
-
id_category: "4208",
|
|
44
|
-
id_article: 37565,
|
|
45
|
-
name: "CARRIOLA Y MUNECA 30CM",
|
|
46
|
-
upc: "26253713368"
|
|
47
|
-
},
|
|
48
|
-
retailers: [{
|
|
49
|
-
id: 70,
|
|
50
|
-
name: "Bodega Aurrera"
|
|
51
|
-
}],
|
|
52
|
-
services: {
|
|
53
|
-
datasheets: 1,
|
|
54
|
-
descriptions: 1,
|
|
55
|
-
images: 1
|
|
56
|
-
},
|
|
57
|
-
statusByRetailer: {
|
|
58
|
-
70: {
|
|
59
|
-
datasheet: "AP",
|
|
60
|
-
description: "AP",
|
|
61
|
-
images: "AP"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
retailersWithService: ["70"],
|
|
65
|
-
id_article: 37565,
|
|
39
|
+
category: "Iluminación|Lámparas de Interior|Pie y Pedestal",
|
|
40
|
+
company_name: "Demo",
|
|
41
|
+
company_id: 923,
|
|
42
|
+
id_category: "2676",
|
|
43
|
+
id_article: 17163,
|
|
44
|
+
name: "Eglo 95055",
|
|
45
|
+
upc: "165033",
|
|
46
|
+
version: 1,
|
|
66
47
|
retailersAvailable: [{
|
|
67
|
-
id:
|
|
68
|
-
name: "
|
|
48
|
+
id: 68,
|
|
49
|
+
name: "The Home Depot Merchants"
|
|
69
50
|
}]
|
|
70
51
|
},
|
|
71
52
|
productToEdit: {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
product: {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
article: {
|
|
84
|
-
category: "Juguetes|Juguetes|Juguetes",
|
|
85
|
-
company_name: "Financiado Bodega",
|
|
86
|
-
id_company: 912,
|
|
87
|
-
country: "México",
|
|
88
|
-
id_category: "4208",
|
|
89
|
-
id_article: 37565,
|
|
90
|
-
name: "CARRIOLA Y MUNECA 30CM",
|
|
91
|
-
upc: "26253713368"
|
|
92
|
-
},
|
|
93
|
-
retailers: [{
|
|
94
|
-
id: 70,
|
|
95
|
-
name: "Bodega Aurrera"
|
|
96
|
-
}],
|
|
97
|
-
services: {
|
|
98
|
-
datasheets: 1,
|
|
99
|
-
descriptions: 1,
|
|
100
|
-
images: 1
|
|
101
|
-
},
|
|
102
|
-
statusByRetailer: {
|
|
103
|
-
70: {
|
|
104
|
-
datasheet: "AP",
|
|
105
|
-
description: "AP",
|
|
106
|
-
images: "AP"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
retailersWithService: ["70"],
|
|
110
|
-
id_article: 37565,
|
|
53
|
+
idCategory: "2676",
|
|
54
|
+
ArticleId: 17163,
|
|
55
|
+
product: [{
|
|
56
|
+
category: "Iluminación|Lámparas de Interior|Pie y Pedestal",
|
|
57
|
+
company_name: "Demo",
|
|
58
|
+
company_id: 923,
|
|
59
|
+
id_category: "2676",
|
|
60
|
+
id_article: 17163,
|
|
61
|
+
name: "Eglo 95055",
|
|
62
|
+
upc: "165033",
|
|
63
|
+
version: 1,
|
|
111
64
|
retailersAvailable: [{
|
|
112
|
-
id:
|
|
113
|
-
name: "
|
|
65
|
+
id: 68,
|
|
66
|
+
name: "The Home Depot Merchants"
|
|
114
67
|
}]
|
|
115
|
-
}
|
|
68
|
+
}]
|
|
69
|
+
},
|
|
70
|
+
location: {
|
|
71
|
+
pathname: "/EditProducts",
|
|
72
|
+
search: "",
|
|
73
|
+
hash: "",
|
|
74
|
+
state: {
|
|
75
|
+
withChat: true
|
|
76
|
+
},
|
|
77
|
+
key: "24vwut"
|
|
116
78
|
},
|
|
117
79
|
user: {
|
|
118
|
-
id_user:
|
|
119
|
-
name: "
|
|
120
|
-
last_name: "
|
|
121
|
-
email: "
|
|
122
|
-
position: "
|
|
123
|
-
telephone: "+
|
|
80
|
+
id_user: 59,
|
|
81
|
+
name: "Cadena",
|
|
82
|
+
last_name: "Comercial",
|
|
83
|
+
email: "cadena.ismael@allfreemail.net",
|
|
84
|
+
position: "Admin",
|
|
85
|
+
telephone: "+523111366336",
|
|
124
86
|
country: "México",
|
|
125
|
-
id_company:
|
|
126
|
-
id_cognito: "
|
|
87
|
+
id_company: 817,
|
|
88
|
+
id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
|
|
127
89
|
birth_Date: null,
|
|
128
|
-
about_me:
|
|
129
|
-
zip_code:
|
|
130
|
-
address:
|
|
131
|
-
job:
|
|
132
|
-
id_stripe:
|
|
90
|
+
about_me: "",
|
|
91
|
+
zip_code: "",
|
|
92
|
+
address: "",
|
|
93
|
+
job: "",
|
|
94
|
+
id_stripe: "",
|
|
133
95
|
id_role: 0,
|
|
134
96
|
active: 1,
|
|
135
97
|
is_retailer: 1,
|
|
136
|
-
email_notify:
|
|
98
|
+
email_notify: 0,
|
|
137
99
|
is_user_tech: null,
|
|
138
100
|
membership: {
|
|
139
|
-
id:
|
|
140
|
-
start_date: "2022-
|
|
141
|
-
end_date: "2023-
|
|
142
|
-
planID:
|
|
143
|
-
plan: "
|
|
101
|
+
id: 47,
|
|
102
|
+
start_date: "2022-05-25T14:31:12.000Z",
|
|
103
|
+
end_date: "2023-05-25T14:31:12.000Z",
|
|
104
|
+
planID: 5,
|
|
105
|
+
plan: "prod_Ktl6B5Ou2gqTB2",
|
|
144
106
|
name: "Plan Pro",
|
|
145
|
-
user_limit: "
|
|
146
|
-
products_limit: "
|
|
147
|
-
type: "
|
|
107
|
+
user_limit: "5",
|
|
108
|
+
products_limit: "500",
|
|
109
|
+
type: "PyMES"
|
|
148
110
|
},
|
|
149
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
111
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1680038627077"
|
|
150
112
|
},
|
|
151
113
|
company: {
|
|
152
|
-
id_company:
|
|
153
|
-
trade_name: "
|
|
154
|
-
company_name: "
|
|
155
|
-
rfc: "
|
|
156
|
-
adress: "
|
|
114
|
+
id_company: 817,
|
|
115
|
+
trade_name: "Retailer acc",
|
|
116
|
+
company_name: "Retailer acc",
|
|
117
|
+
rfc: "ASER12345",
|
|
118
|
+
adress: "Av. Insurgentes",
|
|
157
119
|
about_company: null,
|
|
158
120
|
telephone: null,
|
|
159
121
|
web_site: null,
|
|
160
122
|
zip_code: null,
|
|
161
123
|
email: null,
|
|
162
124
|
social_link: null,
|
|
163
|
-
is_retailer:
|
|
125
|
+
is_retailer: 1,
|
|
164
126
|
financedRetailers: [{
|
|
165
|
-
id:
|
|
166
|
-
name: "
|
|
127
|
+
id: 68,
|
|
128
|
+
name: "The Home Depot Merchants",
|
|
167
129
|
country: "México",
|
|
168
130
|
id_region: 1,
|
|
169
131
|
active: 1
|
|
170
132
|
}],
|
|
171
133
|
retailers: [{
|
|
172
|
-
id:
|
|
173
|
-
name: "
|
|
134
|
+
id: 59,
|
|
135
|
+
name: "The Home Depot Platinum",
|
|
136
|
+
country: "México"
|
|
137
|
+
}, {
|
|
138
|
+
id: 60,
|
|
139
|
+
name: "The Home Depot Resizing",
|
|
140
|
+
country: "México"
|
|
141
|
+
}, {
|
|
142
|
+
id: 61,
|
|
143
|
+
name: "Home Depot TAB",
|
|
144
|
+
country: "México"
|
|
145
|
+
}, {
|
|
146
|
+
id: 68,
|
|
147
|
+
name: "The Home Depot Merchants",
|
|
174
148
|
country: "México"
|
|
175
149
|
}]
|
|
176
150
|
},
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
Descripción: true,
|
|
180
|
-
"Ficha técnica": false,
|
|
181
|
-
Imágenes: false
|
|
182
|
-
},
|
|
183
|
-
location: {
|
|
184
|
-
pathname: "/products/37565/datasheet",
|
|
185
|
-
state: {
|
|
186
|
-
origin: "RequestWithContentoh"
|
|
187
|
-
},
|
|
188
|
-
search: "",
|
|
189
|
-
hash: "",
|
|
190
|
-
key: "oym1rf"
|
|
151
|
+
showSurvey: function showSurvey(v) {
|
|
152
|
+
return v && alert("se muestra");
|
|
191
153
|
}
|
|
192
154
|
};
|