contentoh-components-library 21.1.53 → 21.1.54
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/GeneralInput/index.js +0 -1
- package/dist/components/atoms/StatusTag/index.js +17 -2
- package/dist/components/atoms/StatusTag/styles.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +4 -1
- package/dist/components/molecules/RetailerSelector/index.js +32 -0
- package/dist/components/molecules/StatusAsignationInfo/index.js +3 -2
- package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
- package/dist/components/organisms/FullTabsMenu/index.js +3 -1
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +115 -105
- package/dist/components/pages/ProviderProductEdition/index.js +335 -329
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +38 -83
- package/dist/components/pages/RetailerProductEdition/index.js +202 -212
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/global-files/data.js +3 -4
- package/dist/index.js +13 -0
- package/package.json +1 -1
|
@@ -65,7 +65,6 @@ var GeneralInput = function GeneralInput(_ref) {
|
|
|
65
65
|
if ((optionList === null || optionList === void 0 ? void 0 : optionList.length) > 0) {
|
|
66
66
|
var index = evt.target.selectedIndex;
|
|
67
67
|
var valueSelected = evt.target.value;
|
|
68
|
-
console.log(valueSelected);
|
|
69
68
|
generalValue = valueSelected;
|
|
70
69
|
setTextValue({
|
|
71
70
|
value: generalValue
|
|
@@ -18,12 +18,27 @@ var StatusTag = function StatusTag(_ref) {
|
|
|
18
18
|
case "COMPLETED":
|
|
19
19
|
return "C";
|
|
20
20
|
|
|
21
|
+
case "RECEPTION":
|
|
22
|
+
return "Pr";
|
|
23
|
+
|
|
21
24
|
case "NULL":
|
|
22
|
-
return "
|
|
25
|
+
return "-";
|
|
26
|
+
|
|
27
|
+
case "RECEIVED":
|
|
28
|
+
return "Rc";
|
|
29
|
+
|
|
30
|
+
case "IN_PROGRESS":
|
|
31
|
+
return "P";
|
|
32
|
+
|
|
33
|
+
case "ASSIGNED":
|
|
34
|
+
return "As";
|
|
23
35
|
|
|
24
36
|
case "APPROVED":
|
|
25
37
|
return "Ap";
|
|
26
38
|
|
|
39
|
+
case "VALIDATING":
|
|
40
|
+
return "V";
|
|
41
|
+
|
|
27
42
|
case "PAID_OUT":
|
|
28
43
|
return "Po";
|
|
29
44
|
|
|
@@ -33,7 +48,7 @@ var StatusTag = function StatusTag(_ref) {
|
|
|
33
48
|
};
|
|
34
49
|
|
|
35
50
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
36
|
-
className: "status-".concat(getShortStatus(statusType
|
|
51
|
+
className: "status-".concat(getShortStatus(statusType), " ").concat(ovalForm && "oval-form"),
|
|
37
52
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
38
53
|
children: getShortStatus(statusType)
|
|
39
54
|
})
|
|
@@ -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-
|
|
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-As,\n &.status-P,\n &.status-IN_PROGRESS,\n &.status-QF {\n background-color: ", ";\n }\n\n &.status-Pr,\n &.status-Rr,\n &.status-Rc {\n background-color: ", ";\n }\n\n &.status-AA,\n &.status-AP,\n &.status-AC,\n &.status-AF {\n background-color: ", ";\n }\n\n &.status-RA,\n &.status-RF,\n &.status-RP,\n &.status-RC {\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;
|
|
@@ -26,7 +26,10 @@ var HeaderTop = function HeaderTop(_ref) {
|
|
|
26
26
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ScreenHeader, {
|
|
27
27
|
text: "Edici\xF3n de producto"
|
|
28
28
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Button, {
|
|
29
|
-
buttonType: "close-button"
|
|
29
|
+
buttonType: "close-button",
|
|
30
|
+
onClick: function onClick() {
|
|
31
|
+
window.location.href = "/products";
|
|
32
|
+
}
|
|
30
33
|
})]
|
|
31
34
|
});
|
|
32
35
|
};
|
|
@@ -7,6 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.RetailerSelector = void 0;
|
|
9
9
|
|
|
10
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
11
|
+
|
|
12
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/asyncToGenerator"));
|
|
13
|
+
|
|
10
14
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
11
15
|
|
|
12
16
|
var _styles = require("./styles");
|
|
@@ -39,11 +43,39 @@ var RetailerSelector = function RetailerSelector(_ref) {
|
|
|
39
43
|
}
|
|
40
44
|
};
|
|
41
45
|
|
|
46
|
+
var getRetailerImage = /*#__PURE__*/function () {
|
|
47
|
+
var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
48
|
+
return _regenerator.default.wrap(function _callee$(_context) {
|
|
49
|
+
while (1) {
|
|
50
|
+
switch (_context.prev = _context.next) {
|
|
51
|
+
case 0:
|
|
52
|
+
console.log("https://content-management-images.s3.amazonaws.com/retailers/".concat(activeRetailer.id, ".png"));
|
|
53
|
+
activeRetailer.image = "https://content-management-images.s3.amazonaws.com/retailers/".concat(activeRetailer.id, ".png");
|
|
54
|
+
retailers.forEach(function (retailer) {
|
|
55
|
+
return retailer.image = "https://content-management-images.s3.amazonaws.com/retailers/".concat(retailer.id, ".png");
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
case 3:
|
|
59
|
+
case "end":
|
|
60
|
+
return _context.stop();
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}, _callee);
|
|
64
|
+
}));
|
|
65
|
+
|
|
66
|
+
return function getRetailerImage() {
|
|
67
|
+
return _ref2.apply(this, arguments);
|
|
68
|
+
};
|
|
69
|
+
}();
|
|
70
|
+
|
|
42
71
|
(0, _react.useEffect)(function () {
|
|
43
72
|
if (retailersPanel) {
|
|
44
73
|
document.addEventListener("click", closeRetailersPanel, false);
|
|
45
74
|
}
|
|
46
75
|
}, [retailersPanel]);
|
|
76
|
+
(0, _react.useEffect)(function () {
|
|
77
|
+
getRetailerImage();
|
|
78
|
+
}, [activeRetailer]);
|
|
47
79
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
48
80
|
id: "retailers-assignation",
|
|
49
81
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Avatar.Avatar, {
|
|
@@ -54,7 +54,8 @@ var StatusAsignationInfo = function StatusAsignationInfo(_ref) {
|
|
|
54
54
|
_ref$id = _ref.id,
|
|
55
55
|
id = _ref$id === void 0 ? "default-id" : _ref$id,
|
|
56
56
|
onClickSave = _ref.onClickSave,
|
|
57
|
-
showSaveButton = _ref.showSaveButton
|
|
57
|
+
showSaveButton = _ref.showSaveButton,
|
|
58
|
+
canAssign = _ref.canAssign;
|
|
58
59
|
|
|
59
60
|
var _useState = (0, _react.useState)(false),
|
|
60
61
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -146,7 +147,7 @@ var StatusAsignationInfo = function StatusAsignationInfo(_ref) {
|
|
|
146
147
|
color: "#969696",
|
|
147
148
|
fontFamily: "Avenir Next",
|
|
148
149
|
headerType: "input-name-header"
|
|
149
|
-
}), showAsignationPanel && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
150
|
+
}), showAsignationPanel && canAssign && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
150
151
|
className: "asignation-panel",
|
|
151
152
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
152
153
|
className: "asignation-header",
|
|
@@ -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 : "
|
|
50
|
+
element.push(sd.status ? sd.status : "RECEIVED");
|
|
51
51
|
} else element.push("NA");
|
|
52
52
|
|
|
53
53
|
rt["services"] = element;
|
|
@@ -32,7 +32,8 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
|
|
|
32
32
|
downloadImages = _ref.downloadImages,
|
|
33
33
|
askToDeleteImages = _ref.askToDeleteImages,
|
|
34
34
|
onClickSave = _ref.onClickSave,
|
|
35
|
-
showSaveButton = _ref.showSaveButton
|
|
35
|
+
showSaveButton = _ref.showSaveButton,
|
|
36
|
+
canAssign = _ref.canAssign;
|
|
36
37
|
|
|
37
38
|
var _useState = (0, _react.useState)(false),
|
|
38
39
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -45,6 +46,7 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
|
|
|
45
46
|
setImagesSection: setImagesSection,
|
|
46
47
|
setActiveTab: setActiveTab
|
|
47
48
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.StatusAsignationInfo, {
|
|
49
|
+
canAssign: canAssign,
|
|
48
50
|
status: status,
|
|
49
51
|
activeTab: activeTab,
|
|
50
52
|
setImageLayout: setImageLayout,
|
|
@@ -31,117 +31,127 @@ ProviderProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
35
|
-
articleId:
|
|
36
|
-
category:
|
|
37
|
-
version:
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI1ODg0YWUzNC01OWQ2LTQ0NTQtYjk4ZS04MjE1MThiY2MzYTciLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6IjU4ODRhZTM0LTU5ZDYtNDQ1NC1iOThlLTgyMTUxOGJjYzNhNyIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJhODE2NGMwNi1hN2U5LTQ2OGItYTBiMS02MDIxNzMyNWY0ZTgiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NjExMzE0NiwibmFtZSI6IkNhZGVuYSBJc21hZWwiLCJwaG9uZV9udW1iZXIiOiIrNTIzMTExMzY2MzM2IiwiZXhwIjoxNjU2MTE2NzQ2LCJpYXQiOjE2NTYxMTMxNDYsImVtYWlsIjoiY2FkZW5hLmlzbWFlbEBhbGxmcmVlbWFpbC5uZXQifQ.kfMoKcxYDkpNZJibGdw50oOkRwPVl26YNAwwDoLEfQjOZB6WRCY95iHfU1maYcTTvA5KlT5ali8XZ-nLnxh60vZoLGTDOfCvEnwd1t94JtfE5CsWDr_jfH1U0AVidxihqKnkwvCezkHwU1DUFlbu2iBNo7MHQw4ydiK2sx4q0-QGltmE7W2JJ0sayRDuNchy2S6FQoyIWhsP3oaKTvJGDKCaJxwkFEKk-3antoMtfua9H8V4p2Kkqa_eDbFk8pLYGaYgImLlaia2orGgETkHZIWEMr4WJq1V_7qOg4lYq2BUUuMhWdmK6XUL_Jhmv05TUJ3Rp_Ti4_J2WE4zQqhbfQ",
|
|
35
|
+
articleId: 238,
|
|
36
|
+
category: 846,
|
|
37
|
+
version: 2,
|
|
38
38
|
productSelected: {
|
|
39
|
-
orderId:
|
|
40
|
-
|
|
41
|
-
datasheet_status: "
|
|
39
|
+
orderId: 55,
|
|
40
|
+
article_status: "AP",
|
|
41
|
+
datasheet_status: "AP",
|
|
42
|
+
description_status: "AP",
|
|
43
|
+
images_status: "AP",
|
|
42
44
|
prio: "none",
|
|
43
|
-
version:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
version: 2,
|
|
46
|
+
brand: null,
|
|
47
|
+
article: {
|
|
48
|
+
category: "ILUMINACIÓN|FOCOS|FOCOS",
|
|
49
|
+
company_name: "THD Proveedor",
|
|
50
|
+
country: "México",
|
|
51
|
+
id_category: "2143",
|
|
52
|
+
id_article: 55118,
|
|
53
|
+
name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
|
|
54
|
+
upc: "145582"
|
|
52
55
|
},
|
|
56
|
+
retailers: [{
|
|
57
|
+
id: 58,
|
|
58
|
+
name: "The Home Depot Golden",
|
|
59
|
+
services: ["AA", "AA", "AA", "AA"]
|
|
60
|
+
}, {
|
|
61
|
+
id: 59,
|
|
62
|
+
name: "The Home Depot Platinum",
|
|
63
|
+
services: ["NA", "NA", "NA", "AA"]
|
|
64
|
+
}, {
|
|
65
|
+
id: 60,
|
|
66
|
+
name: "The Home Depot Resizing"
|
|
67
|
+
}, {
|
|
68
|
+
id: 61,
|
|
69
|
+
name: "Home Depot TAB"
|
|
70
|
+
}],
|
|
53
71
|
services: {
|
|
54
72
|
datasheets: 1,
|
|
55
73
|
descriptions: 1,
|
|
56
74
|
images: 1
|
|
57
75
|
},
|
|
58
|
-
|
|
59
|
-
category: "ABARROTES|ABARROTES SECOS|ALIMENTOS DESHIDRATADOS",
|
|
60
|
-
company_name: "COMPANY DEV",
|
|
61
|
-
country: "México",
|
|
62
|
-
id_category: "4",
|
|
63
|
-
id_datasheet_especialist: 54,
|
|
64
|
-
id_datasheet_facilitator: 52,
|
|
65
|
-
id_description_especialist: 54,
|
|
66
|
-
id_description_facilitator: 52,
|
|
67
|
-
id_images_especialist: 55,
|
|
68
|
-
id_images_facilitator: 53,
|
|
69
|
-
id_order: 89,
|
|
70
|
-
id_article: 55157,
|
|
71
|
-
id_auditor: 37,
|
|
72
|
-
name: "testing",
|
|
73
|
-
upc: "807526"
|
|
74
|
-
},
|
|
75
|
-
retailers: [{
|
|
76
|
-
id: 3,
|
|
77
|
-
name: "Sam´s Club"
|
|
78
|
-
}],
|
|
76
|
+
id_article: 55118,
|
|
79
77
|
retailersAvailable: [{
|
|
80
|
-
id:
|
|
81
|
-
name: "
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
78
|
+
id: 58,
|
|
79
|
+
name: "The Home Depot Golden",
|
|
80
|
+
percentage: 100
|
|
81
|
+
}, {
|
|
82
|
+
id: 59,
|
|
83
|
+
name: "The Home Depot Platinum",
|
|
84
|
+
percentage: 100
|
|
85
|
+
}, {
|
|
86
|
+
id: 60,
|
|
87
|
+
name: "The Home Depot Resizing"
|
|
88
|
+
}, {
|
|
89
|
+
id: 61,
|
|
90
|
+
name: "Home Depot TAB"
|
|
91
|
+
}]
|
|
87
92
|
},
|
|
88
93
|
productToEdit: {
|
|
89
|
-
ArticleId:
|
|
90
|
-
idCategory: "
|
|
94
|
+
ArticleId: 55118,
|
|
95
|
+
idCategory: "2143",
|
|
91
96
|
product: {
|
|
92
|
-
orderId:
|
|
93
|
-
|
|
94
|
-
datasheet_status: "
|
|
97
|
+
orderId: 55,
|
|
98
|
+
article_status: "AP",
|
|
99
|
+
datasheet_status: "AP",
|
|
100
|
+
description_status: "AP",
|
|
101
|
+
images_status: "AP",
|
|
95
102
|
prio: "none",
|
|
96
|
-
version:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
version: 2,
|
|
104
|
+
brand: null,
|
|
105
|
+
article: {
|
|
106
|
+
category: "ILUMINACIÓN|FOCOS|FOCOS",
|
|
107
|
+
company_name: "THD Proveedor",
|
|
108
|
+
country: "México",
|
|
109
|
+
id_category: "2143",
|
|
110
|
+
id_article: 55118,
|
|
111
|
+
name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
|
|
112
|
+
upc: "145582"
|
|
105
113
|
},
|
|
114
|
+
retailers: [{
|
|
115
|
+
id: 58,
|
|
116
|
+
name: "The Home Depot Golden",
|
|
117
|
+
services: ["AA", "AA", "AA", "NA"]
|
|
118
|
+
}, {
|
|
119
|
+
id: 59,
|
|
120
|
+
name: "The Home Depot Platinum",
|
|
121
|
+
services: ["NA", "NA", "NA", "AA"]
|
|
122
|
+
}, {
|
|
123
|
+
id: 60,
|
|
124
|
+
name: "The Home Depot Resizing"
|
|
125
|
+
}, {
|
|
126
|
+
id: 61,
|
|
127
|
+
name: "Home Depot TAB"
|
|
128
|
+
}],
|
|
106
129
|
services: {
|
|
107
130
|
datasheets: 1,
|
|
108
131
|
descriptions: 1,
|
|
109
132
|
images: 1
|
|
110
133
|
},
|
|
111
|
-
|
|
112
|
-
category: "ABARROTES|ABARROTES SECOS|ALIMENTOS DESHIDRATADOS",
|
|
113
|
-
company_name: "COMPANY DEV",
|
|
114
|
-
country: "México",
|
|
115
|
-
id_category: "4",
|
|
116
|
-
id_datasheet_especialist: 54,
|
|
117
|
-
id_datasheet_facilitator: 52,
|
|
118
|
-
id_description_especialist: 54,
|
|
119
|
-
id_description_facilitator: 52,
|
|
120
|
-
id_images_especialist: 55,
|
|
121
|
-
id_images_facilitator: 53,
|
|
122
|
-
id_order: 89,
|
|
123
|
-
id_article: 55157,
|
|
124
|
-
id_auditor: 37,
|
|
125
|
-
name: "testing",
|
|
126
|
-
upc: "807526"
|
|
127
|
-
},
|
|
128
|
-
retailers: [{
|
|
129
|
-
id: 3,
|
|
130
|
-
name: "Sam´s Club"
|
|
131
|
-
}],
|
|
134
|
+
id_article: 55118,
|
|
132
135
|
retailersAvailable: [{
|
|
133
|
-
id:
|
|
134
|
-
name: "
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
136
|
+
id: 58,
|
|
137
|
+
name: "The Home Depot Golden",
|
|
138
|
+
percentage: 100
|
|
139
|
+
}, {
|
|
140
|
+
id: 59,
|
|
141
|
+
name: "The Home Depot Platinum",
|
|
142
|
+
percentage: 100
|
|
143
|
+
}, {
|
|
144
|
+
id: 60,
|
|
145
|
+
name: "The Home Depot Resizing"
|
|
146
|
+
}, {
|
|
147
|
+
id: 61,
|
|
148
|
+
name: "Home Depot TAB"
|
|
149
|
+
}]
|
|
140
150
|
}
|
|
141
151
|
},
|
|
142
152
|
location: {
|
|
143
153
|
product: {
|
|
144
|
-
articleId:
|
|
154
|
+
articleId: 109485,
|
|
145
155
|
versionId: 3
|
|
146
156
|
},
|
|
147
157
|
state: {
|
|
@@ -149,36 +159,36 @@ ProviderProductEditionDefault.args = {
|
|
|
149
159
|
}
|
|
150
160
|
},
|
|
151
161
|
user: {
|
|
152
|
-
id_user:
|
|
153
|
-
name: "
|
|
154
|
-
last_name: "
|
|
155
|
-
email: "
|
|
156
|
-
position: "
|
|
162
|
+
id_user: 59,
|
|
163
|
+
name: "The Home",
|
|
164
|
+
last_name: "Depot",
|
|
165
|
+
email: "cadena.ismael@allfreemail.net",
|
|
166
|
+
position: "Admin",
|
|
157
167
|
telephone: "+523111366336",
|
|
158
168
|
country: "México",
|
|
159
|
-
id_company:
|
|
160
|
-
id_cognito: "
|
|
169
|
+
id_company: 7,
|
|
170
|
+
id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
|
|
161
171
|
birth_Date: null,
|
|
162
172
|
about_me: null,
|
|
163
173
|
zip_code: null,
|
|
164
174
|
address: null,
|
|
165
175
|
job: null,
|
|
166
|
-
id_stripe: "
|
|
176
|
+
id_stripe: "",
|
|
167
177
|
id_role: 0,
|
|
168
178
|
active: 1,
|
|
169
179
|
is_retailer: 0,
|
|
170
|
-
email_notify:
|
|
180
|
+
email_notify: 1,
|
|
171
181
|
membership: {
|
|
172
|
-
id:
|
|
173
|
-
start_date: "
|
|
174
|
-
end_date: "
|
|
175
|
-
planID:
|
|
176
|
-
plan: "
|
|
177
|
-
name: "Plan
|
|
178
|
-
user_limit: "
|
|
179
|
-
products_limit: "
|
|
182
|
+
id: 24,
|
|
183
|
+
start_date: "2021-11-23T03:35:50.000Z",
|
|
184
|
+
end_date: "2022-11-23T03:35:50.000Z",
|
|
185
|
+
planID: 9,
|
|
186
|
+
plan: "prod_KtlkzZVGq6bRTO",
|
|
187
|
+
name: "Plan Enterprise Full",
|
|
188
|
+
user_limit: "30",
|
|
189
|
+
products_limit: "10000",
|
|
180
190
|
type: "Enterprise"
|
|
181
191
|
},
|
|
182
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
192
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1656113146885"
|
|
183
193
|
}
|
|
184
194
|
};
|