contentoh-components-library 21.2.4 → 21.2.7
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/.env.development +1 -3
- package/.env.production +1 -3
- package/dist/components/atoms/FeatureTag/styles.js +1 -1
- package/dist/components/atoms/Graphic/Graphic.stories.js +1 -9
- package/dist/components/atoms/Graphic/index.js +9 -4
- package/dist/components/atoms/Graphic/styles.js +1 -1
- package/dist/components/molecules/VersionItem/index.js +11 -1
- package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
- package/dist/components/organisms/VersionSelector/index.js +2 -1
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +121 -73
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +42 -216
- package/dist/components/pages/RetailerProductEdition/index.js +1 -1
- package/dist/index.js +0 -13
- package/package.json +1 -2
- package/src/components/atoms/FeatureTag/styles.js +0 -6
- package/src/components/atoms/Graphic/Graphic.stories.js +0 -8
- package/src/components/atoms/Graphic/index.js +9 -3
- package/src/components/atoms/Graphic/styles.js +2 -1
- package/src/components/molecules/VersionItem/index.js +8 -0
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/VersionSelector/index.js +2 -0
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +146 -80
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +41 -254
- package/src/components/pages/RetailerProductEdition/index.js +1 -1
- package/src/index.js +0 -1
- package/dist/components/atoms/MetricCard/MetricCard.stories.js +0 -31
- package/dist/components/atoms/MetricCard/index.js +0 -24
- package/dist/components/atoms/MetricCard/styles.js +0 -20
- package/dist/components/atoms/MetricSelect/MetricSelect.stories.js +0 -46
- package/dist/components/atoms/MetricSelect/index.js +0 -36
- package/dist/components/atoms/MetricSelect/styles.js +0 -20
- package/dist/components/organisms/Calendar/Calendar.stories.js +0 -28
- package/dist/components/organisms/Calendar/index.js +0 -33
- package/dist/components/organisms/Calendar/styles.js +0 -20
- package/dist/components/organisms/DashboardMetric/DashboardMetric.stories.js +0 -45
- package/dist/components/organisms/DashboardMetric/index.js +0 -168
- package/dist/components/organisms/DashboardMetric/styles.js +0 -20
- package/dist/components/pages/Dashboard/Dashboard.stories.js +0 -28
- package/dist/components/pages/Dashboard/index.js +0 -286
- package/dist/components/pages/Dashboard/styles.js +0 -18
- package/src/components/atoms/MetricCard/MetricCard.stories.js +0 -14
- package/src/components/atoms/MetricCard/index.js +0 -10
- package/src/components/atoms/MetricCard/styles.js +0 -30
- package/src/components/atoms/MetricSelect/MetricSelect.stories.js +0 -37
- package/src/components/atoms/MetricSelect/index.js +0 -22
- package/src/components/atoms/MetricSelect/styles.js +0 -20
- package/src/components/organisms/Calendar/Calendar.stories.js +0 -10
- package/src/components/organisms/Calendar/index.js +0 -17
- package/src/components/organisms/Calendar/styles.js +0 -851
- package/src/components/organisms/DashboardMetric/DashboardMetric.stories.js +0 -28
- package/src/components/organisms/DashboardMetric/index.js +0 -128
- package/src/components/organisms/DashboardMetric/styles.js +0 -60
- package/src/components/pages/Dashboard/Dashboard.stories.js +0 -10
- package/src/components/pages/Dashboard/index.js +0 -142
- package/src/components/pages/Dashboard/styles.js +0 -24
package/.env.development
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
REACT_APP_ARTICLE_DATA_ENDPOINT=https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/articles-data
|
|
2
|
+
|
|
2
3
|
REACT_APP_ARTICLE_DATA_DATASHEET_ENDPOINT=https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/articles-data/datasheets
|
|
3
4
|
REACT_APP_ARTICLE_DATA_DESCRIPTION_ENDPOINT=https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/articles-data/descriptions
|
|
4
5
|
REACT_APP_ARTICLE_DATA_IMAGES_ENDPOINT=https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/articles-data/images
|
|
@@ -15,9 +16,6 @@ REACT_APP_USER_TASKS_ENDPOINT = https://lqrc8jfjqi.execute-api.us-east-1.amazona
|
|
|
15
16
|
REACT_APP_CART = https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/cart
|
|
16
17
|
REACT_APP_RETAILER_REQUEST = https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/retailers-request
|
|
17
18
|
REACT_APP_VERSIONS_ENDPOINT = https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/versions
|
|
18
|
-
REACT_APP_RETAILER_ENDPOINT=https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/retailers
|
|
19
|
-
REACT_APP_READ_ORDERS_BY_STATUS=https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/read-orders-by-status
|
|
20
|
-
REACT_APP_READ_REQUIRED_ORDERS=https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/read-required-orders
|
|
21
19
|
|
|
22
20
|
REACT_APP_IMAGES_BUCKET=content-management-images
|
|
23
21
|
REACT_APP_KEY_UPLOAD_TO_S3=AKIA5CPHLQTT46EQ5TIK
|
package/.env.production
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
REACT_APP_ARTICLE_DATA_ENDPOINT=https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/articles-data
|
|
2
|
+
|
|
2
3
|
REACT_APP_ARTICLE_DATA_DATASHEET_ENDPOINT=https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/articles-data/datasheets
|
|
3
4
|
REACT_APP_ARTICLE_DATA_DESCRIPTION_ENDPOINT=https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/articles-data/descriptions
|
|
4
5
|
REACT_APP_ARTICLE_DATA_IMAGES_ENDPOINT=https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/articles-data/images
|
|
@@ -15,9 +16,6 @@ REACT_APP_USER_TASKS_ENDPOINT = https://6jqnpjf841.execute-api.us-east-1.amazona
|
|
|
15
16
|
REACT_APP_CART = https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/cart
|
|
16
17
|
REACT_APP_RETAILER_REQUEST = https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/retailers-request
|
|
17
18
|
REACT_APP_VERSIONS_ENDPOINT = https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/versions
|
|
18
|
-
REACT_APP_RETAILER_ENDPOINT=https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/retailers
|
|
19
|
-
REACT_APP_READ_ORDERS_BY_STATUS=https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/read-orders-by-status
|
|
20
|
-
REACT_APP_READ_REQUIRED_ORDERS=https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/read-required-orders
|
|
21
19
|
|
|
22
20
|
REACT_APP_IMAGES_BUCKET=content-management-images-prod
|
|
23
21
|
REACT_APP_KEY_UPLOAD_TO_S3=AKIA5CPHLQTT46EQ5TIK
|
|
@@ -17,6 +17,6 @@ var _variables = require("../../../global-files/variables");
|
|
|
17
17
|
|
|
18
18
|
var _templateObject;
|
|
19
19
|
|
|
20
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n background-color: #f0eef2;\n border-radius: 3px;\n display: flex;\n width: fit-content;\n height: 26px;\n padding: 5px;\n align-items: center;\n\n .feature-name {\n font-size: 14px;\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n font-size: 14px;\n line-height: 18px;\n color: ", ";\n\n & + * {\n margin-left: 5px;\n }\n }\n .feature-value {\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 16px;\n height: 12px;\n letter-spacing: -0.015em;\n color: ", ";\n }\n
|
|
20
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n background-color: #f0eef2;\n border-radius: 3px;\n display: flex;\n width: fit-content;\n height: 26px;\n padding: 5px;\n align-items: center;\n\n .feature-name {\n font-size: 14px;\n font-family: ", ";\n font-style: normal;\n font-weight: 500;\n font-size: 14px;\n line-height: 18px;\n color: ", ";\n\n & + * {\n margin-left: 5px;\n }\n }\n .feature-value {\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 16px;\n height: 12px;\n letter-spacing: -0.015em;\n color: ", ";\n }\n"])), _variables.FontFamily.Raleway_500, _variables.GlobalColors.original_magenta, _variables.FontFamily.AvenirNext, _variables.GlobalColors.s4);
|
|
21
21
|
|
|
22
22
|
exports.Container = Container;
|
|
@@ -14,12 +14,17 @@ require("chart.js/auto");
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
|
|
16
16
|
var Graphic = function Graphic(_ref) {
|
|
17
|
-
var data = _ref.data
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
var data = _ref.data;
|
|
18
|
+
var options = {
|
|
19
|
+
plugins: {
|
|
20
|
+
legend: {
|
|
21
|
+
position: "left"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
|
20
25
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
21
26
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactChartjs.Chart, {
|
|
22
|
-
type:
|
|
27
|
+
type: "doughnut",
|
|
23
28
|
data: data,
|
|
24
29
|
options: options
|
|
25
30
|
})
|
|
@@ -13,6 +13,6 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
13
13
|
|
|
14
14
|
var _templateObject;
|
|
15
15
|
|
|
16
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)([""])));
|
|
16
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n"])));
|
|
17
17
|
|
|
18
18
|
exports.Container = Container;
|
|
@@ -32,7 +32,15 @@ var VersionItem = function VersionItem(_ref) {
|
|
|
32
32
|
currentVersion = _ref.currentVersion,
|
|
33
33
|
_ref$productOwner = _ref.productOwner,
|
|
34
34
|
productOwner = _ref$productOwner === void 0 ? "owner test" : _ref$productOwner,
|
|
35
|
-
setVersion = _ref.setVersion
|
|
35
|
+
setVersion = _ref.setVersion,
|
|
36
|
+
timestamp = _ref.timestamp;
|
|
37
|
+
var textExportedDate = "";
|
|
38
|
+
|
|
39
|
+
if (timestamp !== null) {
|
|
40
|
+
var exportedDate = new Date(timestamp).toLocaleDateString();
|
|
41
|
+
textExportedDate = "\xD9ltima vez exportado: ".concat(exportedDate);
|
|
42
|
+
}
|
|
43
|
+
|
|
36
44
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
37
45
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
38
46
|
className: "header",
|
|
@@ -52,6 +60,8 @@ var VersionItem = function VersionItem(_ref) {
|
|
|
52
60
|
text: "Version " + version,
|
|
53
61
|
headerType: "input-name-header",
|
|
54
62
|
color: _variables.GlobalColors.magenta_s2
|
|
63
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
64
|
+
children: textExportedDate
|
|
55
65
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
56
66
|
children: currentVersion ? "Version actual" : articleStatus ? "Edición Content-oh!" : "Version de " + productOwner
|
|
57
67
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
@@ -72,7 +72,7 @@ var FullProductNameHeader = function FullProductNameHeader(_ref) {
|
|
|
72
72
|
feature: "Prov",
|
|
73
73
|
value: headerData === null || headerData === void 0 ? void 0 : (_headerData$article4 = headerData.article) === null || _headerData$article4 === void 0 ? void 0 : _headerData$article4.company_name
|
|
74
74
|
}, {
|
|
75
|
-
feature: "
|
|
75
|
+
feature: "UPC",
|
|
76
76
|
value: (headerData === null || headerData === void 0 ? void 0 : (_headerData$article5 = headerData.article) === null || _headerData$article5 === void 0 ? void 0 : _headerData$article5.upc) || (headerData === null || headerData === void 0 ? void 0 : headerData.upc)
|
|
77
77
|
}]
|
|
78
78
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AvatarAndValidation.AvatarAndValidation, {
|
|
@@ -127,7 +127,8 @@ var VersionSelector = function VersionSelector(_ref) {
|
|
|
127
127
|
articleStatus: item.article_status,
|
|
128
128
|
currentVersion: item.version === currentVersion,
|
|
129
129
|
productOwner: companyName,
|
|
130
|
-
setVersion: setVersion
|
|
130
|
+
setVersion: setVersion,
|
|
131
|
+
timestamp: item.timestamp
|
|
131
132
|
}, item.version);
|
|
132
133
|
})
|
|
133
134
|
})]
|
|
@@ -36,98 +36,146 @@ ProviderProductEditionDefault.args = {
|
|
|
36
36
|
category: 846,
|
|
37
37
|
version: 2,
|
|
38
38
|
productSelected: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
description_status: "AP",
|
|
43
|
-
images_status: "ACA",
|
|
44
|
-
prio: "none",
|
|
45
|
-
version: 2,
|
|
46
|
-
brand: null,
|
|
39
|
+
articleStatus: "ACA",
|
|
40
|
+
version: 5,
|
|
41
|
+
missing: {},
|
|
47
42
|
article: {
|
|
48
|
-
category: "
|
|
49
|
-
company_name: "
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
upc: "168462"
|
|
43
|
+
category: "Materiales de Construcción|Impermeabilizantes y Recubrimientos|Selladores",
|
|
44
|
+
company_name: "SIKA MEXICANA S.A. DE C.V.",
|
|
45
|
+
company_id: 383,
|
|
46
|
+
id_category: "2249",
|
|
47
|
+
id_article: 29457,
|
|
48
|
+
name: "SIKA TECHO FRESCO SUPER 15",
|
|
49
|
+
upc: "111187"
|
|
56
50
|
},
|
|
51
|
+
asignations: [],
|
|
57
52
|
retailers: [{
|
|
58
53
|
id: 58,
|
|
59
|
-
name: "The Home Depot Golden"
|
|
54
|
+
name: "The Home Depot Golden",
|
|
55
|
+
country: "México",
|
|
56
|
+
id_region: 1,
|
|
57
|
+
active: 1
|
|
58
|
+
}, {
|
|
59
|
+
id: 59,
|
|
60
|
+
name: "The Home Depot Platinum",
|
|
61
|
+
country: "México",
|
|
62
|
+
id_region: 1,
|
|
63
|
+
active: 1
|
|
64
|
+
}, {
|
|
65
|
+
id: 61,
|
|
66
|
+
name: "Home Depot TAB",
|
|
67
|
+
country: "México",
|
|
68
|
+
id_region: 1,
|
|
69
|
+
active: 1
|
|
60
70
|
}],
|
|
61
|
-
|
|
62
|
-
datasheets: 1,
|
|
63
|
-
descriptions: 1,
|
|
64
|
-
images: 1
|
|
65
|
-
},
|
|
66
|
-
statusByRetailer: {
|
|
67
|
-
58: {
|
|
68
|
-
datasheet: "AP",
|
|
69
|
-
description: "AP",
|
|
70
|
-
images: "ACA"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
retailersWithService: ["58"],
|
|
74
|
-
id_article: 78773,
|
|
71
|
+
percentage: 33.35,
|
|
75
72
|
retailersAvailable: [{
|
|
76
73
|
id: 58,
|
|
77
|
-
name: "The Home Depot Golden"
|
|
74
|
+
name: "The Home Depot Golden",
|
|
75
|
+
country: "México",
|
|
76
|
+
id_region: 1,
|
|
77
|
+
active: 1
|
|
78
|
+
}, {
|
|
79
|
+
id: 59,
|
|
80
|
+
name: "The Home Depot Platinum",
|
|
81
|
+
country: "México",
|
|
82
|
+
id_region: 1,
|
|
83
|
+
active: 1
|
|
84
|
+
}, {
|
|
85
|
+
id: 61,
|
|
86
|
+
name: "Home Depot TAB",
|
|
87
|
+
country: "México",
|
|
88
|
+
id_region: 1,
|
|
89
|
+
active: 1
|
|
90
|
+
}],
|
|
91
|
+
upc: "111187",
|
|
92
|
+
name: "SIKA TECHO FRESCO SUPER 15",
|
|
93
|
+
categoryName: "Materiales de Construcción|Impermeabilizantes y Recubrimientos|Selladores",
|
|
94
|
+
id_category: "2249",
|
|
95
|
+
id_article: 29457,
|
|
96
|
+
services: [{
|
|
97
|
+
id_article: 29457,
|
|
98
|
+
service: "datasheet",
|
|
99
|
+
quantity: 1,
|
|
100
|
+
price: 0,
|
|
101
|
+
id_user: 1237,
|
|
102
|
+
datasheet_common: null,
|
|
103
|
+
discount: null
|
|
78
104
|
}]
|
|
79
105
|
},
|
|
80
106
|
productToEdit: {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
product: {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
description_status: "AP",
|
|
88
|
-
images_status: "ACA",
|
|
89
|
-
prio: "none",
|
|
90
|
-
version: 2,
|
|
91
|
-
brand: null,
|
|
107
|
+
idCategory: "2249",
|
|
108
|
+
ArticleId: 29457,
|
|
109
|
+
product: [{
|
|
110
|
+
articleStatus: "ACA",
|
|
111
|
+
version: 5,
|
|
112
|
+
missing: {},
|
|
92
113
|
article: {
|
|
93
|
-
category: "
|
|
94
|
-
company_name: "
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
upc: "168462"
|
|
114
|
+
category: "Materiales de Construcción|Impermeabilizantes y Recubrimientos|Selladores",
|
|
115
|
+
company_name: "SIKA MEXICANA S.A. DE C.V.",
|
|
116
|
+
company_id: 383,
|
|
117
|
+
id_category: "2249",
|
|
118
|
+
id_article: 29457,
|
|
119
|
+
name: "SIKA TECHO FRESCO SUPER 15",
|
|
120
|
+
upc: "111187"
|
|
101
121
|
},
|
|
122
|
+
asignations: [],
|
|
102
123
|
retailers: [{
|
|
103
124
|
id: 58,
|
|
104
|
-
name: "The Home Depot Golden"
|
|
125
|
+
name: "The Home Depot Golden",
|
|
126
|
+
country: "México",
|
|
127
|
+
id_region: 1,
|
|
128
|
+
active: 1
|
|
129
|
+
}, {
|
|
130
|
+
id: 59,
|
|
131
|
+
name: "The Home Depot Platinum",
|
|
132
|
+
country: "México",
|
|
133
|
+
id_region: 1,
|
|
134
|
+
active: 1
|
|
135
|
+
}, {
|
|
136
|
+
id: 61,
|
|
137
|
+
name: "Home Depot TAB",
|
|
138
|
+
country: "México",
|
|
139
|
+
id_region: 1,
|
|
140
|
+
active: 1
|
|
105
141
|
}],
|
|
106
|
-
|
|
107
|
-
datasheets: 1,
|
|
108
|
-
descriptions: 1,
|
|
109
|
-
images: 1
|
|
110
|
-
},
|
|
111
|
-
statusByRetailer: {
|
|
112
|
-
58: {
|
|
113
|
-
datasheet: "AP",
|
|
114
|
-
description: "AP",
|
|
115
|
-
images: "ACA"
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
retailersWithService: ["58"],
|
|
119
|
-
id_article: 78773,
|
|
142
|
+
percentage: 33.35,
|
|
120
143
|
retailersAvailable: [{
|
|
121
144
|
id: 58,
|
|
122
|
-
name: "The Home Depot Golden"
|
|
145
|
+
name: "The Home Depot Golden",
|
|
146
|
+
country: "México",
|
|
147
|
+
id_region: 1,
|
|
148
|
+
active: 1
|
|
149
|
+
}, {
|
|
150
|
+
id: 59,
|
|
151
|
+
name: "The Home Depot Platinum",
|
|
152
|
+
country: "México",
|
|
153
|
+
id_region: 1,
|
|
154
|
+
active: 1
|
|
155
|
+
}, {
|
|
156
|
+
id: 61,
|
|
157
|
+
name: "Home Depot TAB",
|
|
158
|
+
country: "México",
|
|
159
|
+
id_region: 1,
|
|
160
|
+
active: 1
|
|
161
|
+
}],
|
|
162
|
+
upc: "111187",
|
|
163
|
+
name: "SIKA TECHO FRESCO SUPER 15",
|
|
164
|
+
categoryName: "Materiales de Construcción|Impermeabilizantes y Recubrimientos|Selladores",
|
|
165
|
+
id_category: "2249",
|
|
166
|
+
id_article: 29457,
|
|
167
|
+
services: [{
|
|
168
|
+
id_article: 29457,
|
|
169
|
+
service: "datasheet",
|
|
170
|
+
quantity: 1,
|
|
171
|
+
price: 0,
|
|
172
|
+
id_user: 1237,
|
|
173
|
+
datasheet_common: null,
|
|
174
|
+
discount: null
|
|
123
175
|
}]
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
location: {
|
|
127
|
-
state: {
|
|
128
|
-
origin: "Contentoh"
|
|
129
|
-
}
|
|
176
|
+
}]
|
|
130
177
|
},
|
|
178
|
+
location: {},
|
|
131
179
|
user: {
|
|
132
180
|
id_user: 1237,
|
|
133
181
|
name: "The Home",
|
|
@@ -31,233 +31,59 @@ RetailerProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.
|
|
34
|
+
token: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIwYjY2YTRhOS03NzkwLTQwMzQtYTMwYS1jMDA4MDg5NjI4NjciLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwiY29nbml0bzp1c2VybmFtZSI6IjBiNjZhNGE5LTc3OTAtNDAzNC1hMzBhLWMwMDgwODk2Mjg2NyIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiI4ZjA2YmU0NC04ZWEzLTQ5OWMtOGFjZC0xMDlmMDZiZWI1MjAiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY2MDA3NjQ5MywibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY2MDA4MDA5MywiaWF0IjoxNjYwMDc2NDkzLCJlbWFpbCI6ImJheWFkaTE1MzhAbW5xbG0uY29tIn0.aw_x1A8WR2MCp_Kz-T2Jcg0ZtuKwyzQ23yT_OoKr-aGJmEjSPihmksWgLZr9hJXyfvU0JndaVMM_3DRly1TdtJ264zwH4dZ7Cp9gF4TSXG16HQxIIPUA4NnwdpOnlBdE9E27mCXs4XYnCZ7dRMXnkjpRL4PVbrGji9qbEEJR6TxCJafR-zes1o4HC1KfQ5QF4s5I_LYQYbD-Ot0A1zDiJg34HR9tTILu5f4uc_2Nj8bqqYJsEdKg982WWO9ac2uKRPXQqNL6CsdltnSeQQcnS6Wj5DJTRRoc-lRdE6ekpAvDGPo0Dyj1Q8GYH3uxvM-pVu8J1Z_JOtO5j5mPN9krpA",
|
|
35
35
|
productSelected: {
|
|
36
36
|
services: {
|
|
37
|
-
datasheets:
|
|
38
|
-
descriptions:
|
|
37
|
+
datasheets: 0,
|
|
38
|
+
descriptions: 0,
|
|
39
39
|
images: 1
|
|
40
40
|
},
|
|
41
|
-
orderId:
|
|
42
|
-
status: "
|
|
43
|
-
datasheet_status: "
|
|
41
|
+
orderId: 1789,
|
|
42
|
+
status: "ACA",
|
|
43
|
+
datasheet_status: "NS",
|
|
44
44
|
prio: "none",
|
|
45
|
-
version:
|
|
46
|
-
description_status: "
|
|
47
|
-
images_status: "
|
|
45
|
+
version: 2,
|
|
46
|
+
description_status: "NS",
|
|
47
|
+
images_status: "ACA",
|
|
48
48
|
article: {
|
|
49
|
-
id_article:
|
|
50
|
-
id_category: "
|
|
51
|
-
name: "
|
|
52
|
-
upc: "
|
|
53
|
-
timestamp: "
|
|
54
|
-
id_user:
|
|
55
|
-
status: "
|
|
56
|
-
active:
|
|
57
|
-
company_id:
|
|
49
|
+
id_article: 68865,
|
|
50
|
+
id_category: "2999",
|
|
51
|
+
name: "RESIZE",
|
|
52
|
+
upc: "169955",
|
|
53
|
+
timestamp: "2022-06-21T16:03:10.000Z",
|
|
54
|
+
id_user: 1238,
|
|
55
|
+
status: "NULL",
|
|
56
|
+
active: 0,
|
|
57
|
+
company_id: 819,
|
|
58
58
|
SKU: null,
|
|
59
59
|
Descripcion: null,
|
|
60
60
|
Proveedor: null,
|
|
61
61
|
id_proveedor: 0,
|
|
62
|
-
company_name: "
|
|
63
|
-
country: "
|
|
64
|
-
id_order:
|
|
65
|
-
id_datasheet_especialist:
|
|
66
|
-
id_datasheet_facilitator:
|
|
67
|
-
id_description_especialist:
|
|
68
|
-
id_description_facilitator:
|
|
69
|
-
id_images_especialist:
|
|
70
|
-
id_images_facilitator:
|
|
71
|
-
id_auditor:
|
|
62
|
+
company_name: "The Home Depot Resize",
|
|
63
|
+
country: "México",
|
|
64
|
+
id_order: 1789,
|
|
65
|
+
id_datasheet_especialist: null,
|
|
66
|
+
id_datasheet_facilitator: null,
|
|
67
|
+
id_description_especialist: null,
|
|
68
|
+
id_description_facilitator: null,
|
|
69
|
+
id_images_especialist: 1250,
|
|
70
|
+
id_images_facilitator: 424,
|
|
71
|
+
id_auditor: null,
|
|
72
72
|
id_recepcionist: null,
|
|
73
|
-
category: "
|
|
74
|
-
missingAttributes:
|
|
75
|
-
missingDescriptions:
|
|
76
|
-
missingImages:
|
|
73
|
+
category: "Resizing|Resizing|Resizing",
|
|
74
|
+
missingAttributes: null,
|
|
75
|
+
missingDescriptions: null,
|
|
76
|
+
missingImages: null
|
|
77
77
|
},
|
|
78
78
|
retailers: [{
|
|
79
|
-
id:
|
|
80
|
-
name: "
|
|
79
|
+
id: 60,
|
|
80
|
+
name: "The Home Depot Resizing",
|
|
81
81
|
country: "México",
|
|
82
82
|
id_region: 1,
|
|
83
|
-
active: 1
|
|
84
|
-
percentage: 97.61904761904763,
|
|
85
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/4.png",
|
|
86
|
-
services: ["NA", "NA", "NA"]
|
|
87
|
-
}, {
|
|
88
|
-
id: 5,
|
|
89
|
-
name: "Chedraui",
|
|
90
|
-
country: "México",
|
|
91
|
-
id_region: 1,
|
|
92
|
-
active: 1,
|
|
93
|
-
percentage: 100,
|
|
94
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/5.png",
|
|
95
|
-
services: ["NA", "NA", "NA"]
|
|
96
|
-
}, {
|
|
97
|
-
id: 6,
|
|
98
|
-
name: "HEB",
|
|
99
|
-
country: "México",
|
|
100
|
-
id_region: 1,
|
|
101
|
-
active: 1,
|
|
102
|
-
percentage: 100,
|
|
103
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/6.png",
|
|
104
|
-
services: ["AP", "ACA", "AP"]
|
|
105
|
-
}, {
|
|
106
|
-
id: 7,
|
|
107
|
-
name: "Mega",
|
|
108
|
-
country: "México",
|
|
109
|
-
id_region: 1,
|
|
110
|
-
active: 1,
|
|
111
|
-
percentage: 100,
|
|
112
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/7.png",
|
|
113
|
-
services: ["NA", "NA", "NA"]
|
|
114
|
-
}, {
|
|
115
|
-
id: 8,
|
|
116
|
-
name: "Fragua",
|
|
117
|
-
country: "México",
|
|
118
|
-
id_region: 1,
|
|
119
|
-
active: 1,
|
|
120
|
-
percentage: null,
|
|
121
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/8.png",
|
|
122
|
-
services: ["NA", "NA", "NA"]
|
|
123
|
-
}, {
|
|
124
|
-
id: 9,
|
|
125
|
-
name: "Amazon",
|
|
126
|
-
country: "México",
|
|
127
|
-
id_region: 1,
|
|
128
|
-
active: 1,
|
|
129
|
-
percentage: 85.18518518518518,
|
|
130
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/9.png",
|
|
131
|
-
services: ["NA", "NA", "NA"]
|
|
132
|
-
}, {
|
|
133
|
-
id: 12,
|
|
134
|
-
name: "La Comer",
|
|
135
|
-
country: "México",
|
|
136
|
-
id_region: 1,
|
|
137
|
-
active: 1,
|
|
138
|
-
percentage: 100,
|
|
139
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/12.png",
|
|
140
|
-
services: ["NA", "NA", "NA"]
|
|
141
|
-
}, {
|
|
142
|
-
id: 13,
|
|
143
|
-
name: "Soriana",
|
|
144
|
-
country: "México",
|
|
145
|
-
id_region: 1,
|
|
146
|
-
active: 1,
|
|
147
|
-
percentage: 100,
|
|
148
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/13.png",
|
|
149
|
-
services: ["NA", "NA", "NA"]
|
|
150
|
-
}, {
|
|
151
|
-
id: 16,
|
|
152
|
-
name: "Rappi",
|
|
153
|
-
country: "México",
|
|
154
|
-
id_region: 1,
|
|
155
|
-
active: 1,
|
|
156
|
-
percentage: 93.33333333333333,
|
|
157
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/16.png",
|
|
158
|
-
services: ["NA", "NA", "NA"]
|
|
159
|
-
}, {
|
|
160
|
-
id: 17,
|
|
161
|
-
name: "Genérico",
|
|
162
|
-
country: "México",
|
|
163
|
-
id_region: 1,
|
|
164
|
-
active: 1,
|
|
165
|
-
percentage: 100,
|
|
166
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/17.png",
|
|
167
|
-
services: ["NA", "NA", "NA"]
|
|
168
|
-
}, {
|
|
169
|
-
id: 18,
|
|
170
|
-
name: "Google",
|
|
171
|
-
country: "México",
|
|
172
|
-
id_region: 1,
|
|
173
|
-
active: 1,
|
|
174
|
-
percentage: 96.66666666666667,
|
|
175
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/18.png",
|
|
176
|
-
services: ["NA", "NA", "NA"]
|
|
177
|
-
}, {
|
|
178
|
-
id: 20,
|
|
179
|
-
name: "Cornershop",
|
|
180
|
-
country: "México",
|
|
181
|
-
id_region: 1,
|
|
182
|
-
active: 1,
|
|
183
|
-
percentage: 91.66666666666667,
|
|
184
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/20.png",
|
|
185
|
-
services: ["NA", "NA", "NA"]
|
|
186
|
-
}, {
|
|
187
|
-
id: 24,
|
|
188
|
-
name: "Alsuper",
|
|
189
|
-
country: "México",
|
|
190
|
-
id_region: 1,
|
|
191
|
-
active: 1,
|
|
192
|
-
percentage: 95.83333333333333,
|
|
193
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/24.png",
|
|
194
|
-
services: ["NA", "NA", "NA"]
|
|
195
|
-
}, {
|
|
196
|
-
id: 27,
|
|
197
|
-
name: "IMPIRA México",
|
|
198
|
-
country: "México",
|
|
199
|
-
id_region: 1,
|
|
200
|
-
active: 1,
|
|
201
|
-
percentage: 100,
|
|
202
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/27.png",
|
|
203
|
-
services: ["NA", "NA", "NA"]
|
|
204
|
-
}, {
|
|
205
|
-
id: 29,
|
|
206
|
-
name: "Farmacias del Ahorro",
|
|
207
|
-
country: "México",
|
|
208
|
-
id_region: 1,
|
|
209
|
-
active: 1,
|
|
210
|
-
percentage: 81.48148148148148,
|
|
211
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/29.png",
|
|
212
|
-
services: ["NA", "NA", "NA"]
|
|
213
|
-
}, {
|
|
214
|
-
id: 33,
|
|
215
|
-
name: "Merza",
|
|
216
|
-
country: "México",
|
|
217
|
-
id_region: 1,
|
|
218
|
-
active: 1,
|
|
219
|
-
percentage: 66.66666666666667,
|
|
220
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/33.png",
|
|
221
|
-
services: ["NA", "NA", "NA"]
|
|
222
|
-
}, {
|
|
223
|
-
id: 34,
|
|
224
|
-
name: "San Pablo",
|
|
225
|
-
country: "México",
|
|
226
|
-
id_region: 1,
|
|
227
|
-
active: 1,
|
|
228
|
-
percentage: 95.16666666666667,
|
|
229
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/34.png",
|
|
230
|
-
services: ["NA", "NA", "NA"]
|
|
231
|
-
}, {
|
|
232
|
-
id: 38,
|
|
233
|
-
name: "Del Sol",
|
|
234
|
-
country: "México",
|
|
235
|
-
id_region: 1,
|
|
236
|
-
active: 1,
|
|
237
|
-
percentage: 100,
|
|
238
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/38.png",
|
|
239
|
-
services: ["NA", "NA", "NA"]
|
|
240
|
-
}, {
|
|
241
|
-
id: 39,
|
|
242
|
-
name: "Justo",
|
|
243
|
-
country: "México",
|
|
244
|
-
id_region: 1,
|
|
245
|
-
active: 1,
|
|
246
|
-
percentage: 94.73684210526316,
|
|
247
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/39.png",
|
|
248
|
-
services: ["NA", "NA", "NA"]
|
|
249
|
-
}, {
|
|
250
|
-
id: 62,
|
|
251
|
-
name: "Sanborns Café",
|
|
252
|
-
country: "México",
|
|
253
|
-
id_region: 1,
|
|
254
|
-
active: 1,
|
|
255
|
-
percentage: 100,
|
|
256
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/62.png",
|
|
257
|
-
services: ["NA", "NA", "NA"]
|
|
83
|
+
active: 1
|
|
258
84
|
}],
|
|
259
|
-
country: "
|
|
260
|
-
upc: "
|
|
85
|
+
country: "México",
|
|
86
|
+
upc: "169955"
|
|
261
87
|
},
|
|
262
88
|
location: {
|
|
263
89
|
product: {
|
|
@@ -266,15 +92,15 @@ RetailerProductEditionDefault.args = {
|
|
|
266
92
|
}
|
|
267
93
|
},
|
|
268
94
|
user: {
|
|
269
|
-
id_user:
|
|
270
|
-
name: "
|
|
95
|
+
id_user: 425,
|
|
96
|
+
name: "Auditor QA",
|
|
271
97
|
last_name: " ",
|
|
272
|
-
email: "
|
|
98
|
+
email: "ladiboh785@mi166.com",
|
|
273
99
|
position: "Tester",
|
|
274
100
|
telephone: null,
|
|
275
101
|
country: null,
|
|
276
102
|
id_company: 254,
|
|
277
|
-
id_cognito: "
|
|
103
|
+
id_cognito: "23a3f496-4e38-4e12-9bf5-7f90b77a2f35",
|
|
278
104
|
birth_Date: null,
|
|
279
105
|
about_me: null,
|
|
280
106
|
zip_code: null,
|
|
@@ -296,6 +122,6 @@ RetailerProductEditionDefault.args = {
|
|
|
296
122
|
products_limit: "1000",
|
|
297
123
|
type: "Enterprise"
|
|
298
124
|
},
|
|
299
|
-
src: "https://content-management-profile-prod.s3.amazonaws.com/id-
|
|
125
|
+
src: "https://content-management-profile-prod.s3.amazonaws.com/id-425/425.png?1659649029658"
|
|
300
126
|
}
|
|
301
127
|
};
|