contentoh-components-library 21.2.19 → 21.2.22
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/InputFormatter/index.js +3 -3
- package/dist/components/atoms/ListCommercialRetailers/ListCommercialRetailers.stories.js +36 -0
- package/dist/components/atoms/ListCommercialRetailers/index.js +64 -0
- package/dist/components/atoms/ListCommercialRetailers/styles.js +20 -0
- package/dist/components/atoms/MenuCommercialRetailers/MenuCommercialRetailers.stories.js +37 -0
- package/dist/components/atoms/MenuCommercialRetailers/index.js +25 -0
- package/dist/components/atoms/MenuCommercialRetailers/styles.js +20 -0
- package/dist/components/atoms/MenuProductImage/MenuProductImage.stories.js +28 -0
- package/dist/components/atoms/MenuProductImage/index.js +88 -0
- package/dist/components/atoms/MenuProductImage/styles.js +20 -0
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +23 -33
- package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +14 -14
- package/dist/components/molecules/ApproveRejetPanel/ApproveRejetPanel.stories.js +25 -0
- package/dist/components/molecules/ApproveRejetPanel/index.js +49 -0
- package/dist/components/molecules/ApproveRejetPanel/styles.js +18 -0
- package/dist/components/molecules/SignInLoginCreationApp/SignInLogin.stories.js +28 -0
- package/dist/components/molecules/SignInLoginCreationApp/index.js +270 -0
- package/dist/components/molecules/SignInLoginCreationApp/styles.js +20 -0
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +173 -108
- package/dist/components/pages/ProviderProductEdition/index.js +54 -41
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +69 -193
- package/dist/components/pages/RetailerProductEdition/index.js +98 -45
- package/package.json +1 -1
- package/src/components/atoms/InputFormatter/index.js +8 -3
- package/src/components/atoms/VerticalSideMenuMainPage/index.js +17 -30
- package/src/components/atoms/VerticalSideMenuMainPage/styles.js +34 -28
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +183 -117
- package/src/components/pages/ProviderProductEdition/index.js +15 -7
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +69 -489
- package/src/components/pages/RetailerProductEdition/index.js +64 -24
|
@@ -453,38 +453,43 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
453
453
|
loading = _useState60[0],
|
|
454
454
|
setLoading = _useState60[1];
|
|
455
455
|
|
|
456
|
+
var _useState61 = (0, _react.useState)(false),
|
|
457
|
+
_useState62 = (0, _slicedToArray2.default)(_useState61, 2),
|
|
458
|
+
validatedAll = _useState62[0],
|
|
459
|
+
setValidatedAll = _useState62[1];
|
|
460
|
+
|
|
456
461
|
var originProp = location === null || location === void 0 ? void 0 : (_location$state = location.state) === null || _location$state === void 0 ? void 0 : _location$state.origin;
|
|
457
462
|
|
|
458
|
-
var
|
|
463
|
+
var _useState63 = (0, _react.useState)({
|
|
459
464
|
"Ficha técnica": originProp,
|
|
460
465
|
Descripción: originProp,
|
|
461
466
|
Imágenes: originProp
|
|
462
467
|
}),
|
|
463
|
-
_useState62 = (0, _slicedToArray2.default)(_useState61, 2),
|
|
464
|
-
origin = _useState62[0],
|
|
465
|
-
setOrigin = _useState62[1];
|
|
466
|
-
|
|
467
|
-
var _useState63 = (0, _react.useState)(false),
|
|
468
468
|
_useState64 = (0, _slicedToArray2.default)(_useState63, 2),
|
|
469
|
-
|
|
470
|
-
|
|
469
|
+
origin = _useState64[0],
|
|
470
|
+
setOrigin = _useState64[1];
|
|
471
471
|
|
|
472
472
|
var _useState65 = (0, _react.useState)(false),
|
|
473
473
|
_useState66 = (0, _slicedToArray2.default)(_useState65, 2),
|
|
474
|
-
|
|
475
|
-
|
|
474
|
+
inCart = _useState66[0],
|
|
475
|
+
setInCart = _useState66[1];
|
|
476
476
|
|
|
477
477
|
var _useState67 = (0, _react.useState)(false),
|
|
478
478
|
_useState68 = (0, _slicedToArray2.default)(_useState67, 2),
|
|
479
|
-
|
|
480
|
-
|
|
479
|
+
modalSent = _useState68[0],
|
|
480
|
+
setModalSent = _useState68[1];
|
|
481
481
|
|
|
482
482
|
var _useState69 = (0, _react.useState)(false),
|
|
483
483
|
_useState70 = (0, _slicedToArray2.default)(_useState69, 2),
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
modalViewError = _useState70[0],
|
|
485
|
+
setModalViewError = _useState70[1];
|
|
486
|
+
|
|
487
|
+
var _useState71 = (0, _react.useState)(false),
|
|
488
|
+
_useState72 = (0, _slicedToArray2.default)(_useState71, 2),
|
|
489
|
+
showGenericModal = _useState72[0],
|
|
490
|
+
setShowGenericModal = _useState72[1];
|
|
486
491
|
|
|
487
|
-
var
|
|
492
|
+
var _useState73 = (0, _react.useState)({
|
|
488
493
|
message: "¿Estás seguro de continuar?",
|
|
489
494
|
detail: " ".concat(user.is_retailer ? "Asegurate de haber revisado las tres secciones" : "Envíar el producto a la cadena"),
|
|
490
495
|
button1: {
|
|
@@ -501,34 +506,34 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
501
506
|
},
|
|
502
507
|
img: _defaultProfileImage.default
|
|
503
508
|
}),
|
|
504
|
-
_useState72 = (0, _slicedToArray2.default)(_useState71, 2),
|
|
505
|
-
dataGenericModal = _useState72[0],
|
|
506
|
-
setDataGenericModal = _useState72[1];
|
|
507
|
-
|
|
508
|
-
var _useState73 = (0, _react.useState)(false),
|
|
509
509
|
_useState74 = (0, _slicedToArray2.default)(_useState73, 2),
|
|
510
|
-
|
|
511
|
-
|
|
510
|
+
dataGenericModal = _useState74[0],
|
|
511
|
+
setDataGenericModal = _useState74[1];
|
|
512
512
|
|
|
513
|
-
var _useState75 = (0, _react.useState)(
|
|
513
|
+
var _useState75 = (0, _react.useState)(false),
|
|
514
514
|
_useState76 = (0, _slicedToArray2.default)(_useState75, 2),
|
|
515
|
-
|
|
516
|
-
|
|
515
|
+
modalViewTextArea = _useState76[0],
|
|
516
|
+
setModalViewTextArea = _useState76[1];
|
|
517
517
|
|
|
518
|
-
var _useState77 = (0, _react.useState)(
|
|
518
|
+
var _useState77 = (0, _react.useState)(null),
|
|
519
519
|
_useState78 = (0, _slicedToArray2.default)(_useState77, 2),
|
|
520
|
-
|
|
521
|
-
|
|
520
|
+
socketType = _useState78[0],
|
|
521
|
+
setSocketType = _useState78[1];
|
|
522
522
|
|
|
523
|
-
var _useState79 = (0, _react.useState)(
|
|
523
|
+
var _useState79 = (0, _react.useState)(loading),
|
|
524
524
|
_useState80 = (0, _slicedToArray2.default)(_useState79, 2),
|
|
525
|
-
|
|
526
|
-
|
|
525
|
+
saving = _useState80[0],
|
|
526
|
+
setSaving = _useState80[1];
|
|
527
527
|
|
|
528
|
-
var _useState81 = (0, _react.useState)(
|
|
528
|
+
var _useState81 = (0, _react.useState)(product.statusByRetailer),
|
|
529
529
|
_useState82 = (0, _slicedToArray2.default)(_useState81, 2),
|
|
530
|
-
|
|
531
|
-
|
|
530
|
+
retailerStatus = _useState82[0],
|
|
531
|
+
setRetailerStatus = _useState82[1];
|
|
532
|
+
|
|
533
|
+
var _useState83 = (0, _react.useState)(false),
|
|
534
|
+
_useState84 = (0, _slicedToArray2.default)(_useState83, 2),
|
|
535
|
+
showCreateVersion = _useState84[0],
|
|
536
|
+
setShowCreateVersion = _useState84[1];
|
|
532
537
|
|
|
533
538
|
var _useCloseModal = (0, _customHooks.useCloseModal)("version-selector"),
|
|
534
539
|
_useCloseModal2 = (0, _slicedToArray2.default)(_useCloseModal, 2),
|
|
@@ -1767,7 +1772,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
1767
1772
|
return;
|
|
1768
1773
|
} else if (user.is_retailer) {
|
|
1769
1774
|
if (product.id_order || product.orderId) {
|
|
1770
|
-
|
|
1775
|
+
setValidatedAll(true);
|
|
1771
1776
|
setModalViewError(true);
|
|
1772
1777
|
} else {
|
|
1773
1778
|
setDataGenericModal(function (prev) {
|
|
@@ -1783,7 +1788,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
1783
1788
|
setShowGenericModal(true);
|
|
1784
1789
|
}
|
|
1785
1790
|
} else {
|
|
1786
|
-
|
|
1791
|
+
setValidatedAll(true);
|
|
1787
1792
|
setModalViewError(true);
|
|
1788
1793
|
}
|
|
1789
1794
|
},
|
|
@@ -1825,7 +1830,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
1825
1830
|
return;
|
|
1826
1831
|
} else if (user.is_retailer) {
|
|
1827
1832
|
if (product.id_order || product.orderId) {
|
|
1828
|
-
|
|
1833
|
+
setValidatedAll(false);
|
|
1829
1834
|
setModalViewError(true);
|
|
1830
1835
|
} else {
|
|
1831
1836
|
setDataGenericModal(function (prev) {
|
|
@@ -1841,7 +1846,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
1841
1846
|
setShowGenericModal(true);
|
|
1842
1847
|
}
|
|
1843
1848
|
} else {
|
|
1844
|
-
|
|
1849
|
+
setValidatedAll(false);
|
|
1845
1850
|
setModalViewError(true);
|
|
1846
1851
|
}
|
|
1847
1852
|
}
|
|
@@ -2035,9 +2040,17 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
|
|
|
2035
2040
|
button1: {
|
|
2036
2041
|
name: "Enviar",
|
|
2037
2042
|
action: function action(e) {
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2043
|
+
var textArea = document.querySelector("#area");
|
|
2044
|
+
|
|
2045
|
+
if (textArea.value) {
|
|
2046
|
+
textArea.style.border = "none";
|
|
2047
|
+
createComment(e, textArea.value);
|
|
2048
|
+
setModalViewError(false);
|
|
2049
|
+
setModalViewTextArea(true);
|
|
2050
|
+
validatedAll ? validateAll("R") : sendEvaluation("R");
|
|
2051
|
+
} else {
|
|
2052
|
+
textArea.style.border = "2px solid red";
|
|
2053
|
+
}
|
|
2041
2054
|
}
|
|
2042
2055
|
},
|
|
2043
2056
|
img: _errorModal.default,
|
|
@@ -31,197 +31,73 @@ RetailerProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJiMmNlNWIyYS02MDljLTRlNzktOWVhOS0yZjc0Y2ZmNDM4ODkiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwiY29nbml0bzp1c2VybmFtZSI6ImIyY2U1YjJhLTYwOWMtNGU3OS05ZWE5LTJmNzRjZmY0Mzg4OSIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJhYWIzZDM1NS01MDYyLTQ2MTAtYjljZi03MjIyMTNlZTI4OWEiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY2MjA2NTU3NSwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY2MjA2OTE3NSwiaWF0IjoxNjYyMDY1NTc1LCJlbWFpbCI6ImF6YXJhdGVAY29udGVudG9oLmNvbSJ9.QtYQg6gjDDrfliKi9k5JnrJHRPt8XhqUphryq7l19BnK1GSFMUBVKx_4CVnbrML8MiKH7AwWFu4TSY5-M8qTEYKTQsr_sYrR-ICe6rAM_LQihD4x1e9THU7FAuXMDdRPv2JnCCUFCjzURbkc1A11oIIYIWnNfCwr33JTwcGQnX1LwYSY7PqhNdIU1pU9aat7lALIV8mFN4npn8m8AvSromfeonD07jl6AqQEs4SuOSiDaMkRENlp--hOx2rY4gEhvX2k3Zl4nHsvJU3Zh3DLaWhD3I9QdX4AOMUjrQOkUXJ7lkSEqY4p2o7fQXXL-D2nL28qAfwE-WlkVGJn-2LpHQ",
|
|
35
35
|
productSelected: {
|
|
36
36
|
services: {
|
|
37
|
-
datasheets:
|
|
38
|
-
descriptions:
|
|
37
|
+
datasheets: 1,
|
|
38
|
+
descriptions: 1,
|
|
39
39
|
images: 1
|
|
40
40
|
},
|
|
41
|
-
orderId:
|
|
42
|
-
status: "
|
|
43
|
-
datasheet_status: "
|
|
41
|
+
orderId: 149,
|
|
42
|
+
status: "IE",
|
|
43
|
+
datasheet_status: "IE",
|
|
44
44
|
prio: "none",
|
|
45
45
|
version: 2,
|
|
46
|
-
description_status: "
|
|
46
|
+
description_status: "IE",
|
|
47
47
|
images_status: "IE",
|
|
48
48
|
article: {
|
|
49
|
-
id_article:
|
|
50
|
-
id_category: "
|
|
51
|
-
name: "
|
|
52
|
-
upc: "
|
|
53
|
-
timestamp: "2022-08-
|
|
54
|
-
id_user:
|
|
49
|
+
id_article: 76225,
|
|
50
|
+
id_category: "2028",
|
|
51
|
+
name: "Para documentar",
|
|
52
|
+
upc: "222222222",
|
|
53
|
+
timestamp: "2022-08-03T06:00:23.000Z",
|
|
54
|
+
id_user: 59,
|
|
55
55
|
status: "NULL",
|
|
56
56
|
active: 1,
|
|
57
|
-
company_id:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
id_description_facilitator: null,
|
|
69
|
-
id_images_especialist: 427,
|
|
70
|
-
id_images_facilitator: 160,
|
|
71
|
-
id_auditor: 9,
|
|
57
|
+
company_id: 1,
|
|
58
|
+
company_name: "Cadena Ismael",
|
|
59
|
+
country: "México",
|
|
60
|
+
id_order: 149,
|
|
61
|
+
id_datasheet_especialist: 54,
|
|
62
|
+
id_datasheet_facilitator: 52,
|
|
63
|
+
id_description_especialist: 54,
|
|
64
|
+
id_description_facilitator: 52,
|
|
65
|
+
id_images_especialist: 55,
|
|
66
|
+
id_images_facilitator: 53,
|
|
67
|
+
id_auditor: 37,
|
|
72
68
|
id_recepcionist: null,
|
|
73
|
-
category: "
|
|
74
|
-
missingAttributes:
|
|
75
|
-
missingDescriptions:
|
|
76
|
-
missingImages:
|
|
69
|
+
category: "Decoración|Accesorios Decorativos|Accesorios Decorativos",
|
|
70
|
+
missingAttributes: 0,
|
|
71
|
+
missingDescriptions: 0,
|
|
72
|
+
missingImages: 0
|
|
77
73
|
},
|
|
78
74
|
retailers: [{
|
|
79
|
-
id:
|
|
80
|
-
name: "
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
percentage: 37.5,
|
|
85
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/4.png",
|
|
86
|
-
services: ["IE", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
87
|
-
}, {
|
|
88
|
-
id: 5,
|
|
89
|
-
name: "Chedraui",
|
|
90
|
-
country: "México",
|
|
91
|
-
id_region: 1,
|
|
92
|
-
active: 1,
|
|
93
|
-
percentage: 35.29411764705882,
|
|
94
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/5.png",
|
|
95
|
-
services: ["NA", "CA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
75
|
+
id: 58,
|
|
76
|
+
name: "The Home Depot Golden",
|
|
77
|
+
percentage: 66.66666666666667,
|
|
78
|
+
image: "https://content-management-images.s3.amazonaws.com/retailers/58.png",
|
|
79
|
+
services: ["CA", "CA", "AS", "NA", "NA", "NA", "NA", "NA"]
|
|
96
80
|
}, {
|
|
97
|
-
id:
|
|
98
|
-
name: "
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
percentage: 38.46153846153846,
|
|
103
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/6.png",
|
|
104
|
-
services: ["NA", "NA", "CA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
81
|
+
id: 59,
|
|
82
|
+
name: "The Home Depot Platinum",
|
|
83
|
+
percentage: 66.66666666666667,
|
|
84
|
+
image: "https://content-management-images.s3.amazonaws.com/retailers/59.png",
|
|
85
|
+
services: ["NA", "NA", "NA", "AS", "NA", "NA", "NA", "NA"]
|
|
105
86
|
}, {
|
|
106
|
-
id:
|
|
107
|
-
name: "
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
percentage: 34.72222222222222,
|
|
112
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/9.png",
|
|
113
|
-
services: ["NA", "NA", "NA", "CA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
87
|
+
id: 60,
|
|
88
|
+
name: "The Home Depot Resizing",
|
|
89
|
+
percentage: null,
|
|
90
|
+
image: "https://content-management-images.s3.amazonaws.com/retailers/60.png",
|
|
91
|
+
services: ["NA", "NA", "NA", "NA", "AS", "NA", "NA", "NA"]
|
|
114
92
|
}, {
|
|
115
|
-
id:
|
|
116
|
-
name: "
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
percentage: 40,
|
|
121
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/13.png",
|
|
122
|
-
services: ["NA", "NA", "NA", "NA", "CA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
123
|
-
}, {
|
|
124
|
-
id: 16,
|
|
125
|
-
name: "Rappi",
|
|
126
|
-
country: "México",
|
|
127
|
-
id_region: 1,
|
|
128
|
-
active: 1,
|
|
129
|
-
percentage: 36.666666666666664,
|
|
130
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/16.png",
|
|
131
|
-
services: ["NA", "NA", "NA", "NA", "NA", "CA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
132
|
-
}, {
|
|
133
|
-
id: 17,
|
|
134
|
-
name: "Genérico",
|
|
135
|
-
country: "México",
|
|
136
|
-
id_region: 1,
|
|
137
|
-
active: 1,
|
|
138
|
-
percentage: 34.78260869565217,
|
|
139
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/17.png",
|
|
140
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "CA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
141
|
-
}, {
|
|
142
|
-
id: 24,
|
|
143
|
-
name: "Alsuper",
|
|
144
|
-
country: "México",
|
|
145
|
-
id_region: 1,
|
|
146
|
-
active: 1,
|
|
147
|
-
percentage: 37.5,
|
|
148
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/24.png",
|
|
149
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "CA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
150
|
-
}, {
|
|
151
|
-
id: 25,
|
|
152
|
-
name: "Merqueo(México)",
|
|
153
|
-
country: "México",
|
|
154
|
-
id_region: 1,
|
|
155
|
-
active: 1,
|
|
156
|
-
percentage: 100,
|
|
157
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/25.png",
|
|
158
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "CA", "NA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
159
|
-
}, {
|
|
160
|
-
id: 28,
|
|
161
|
-
name: "Farmacias Benavides",
|
|
162
|
-
country: "México",
|
|
163
|
-
id_region: 1,
|
|
164
|
-
active: 1,
|
|
165
|
-
percentage: 100,
|
|
166
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/28.png",
|
|
167
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "CA", "NA", "NA", "NA", "NA", "NA", "NA"]
|
|
168
|
-
}, {
|
|
169
|
-
id: 39,
|
|
170
|
-
name: "Justo",
|
|
171
|
-
country: "México",
|
|
172
|
-
id_region: 1,
|
|
173
|
-
active: 1,
|
|
174
|
-
percentage: 35.416666666666664,
|
|
175
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/39.png",
|
|
176
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "CA", "NA", "NA", "NA", "NA", "NA"]
|
|
177
|
-
}, {
|
|
178
|
-
id: 44,
|
|
179
|
-
name: "Calimax",
|
|
180
|
-
country: "México",
|
|
181
|
-
id_region: 1,
|
|
182
|
-
active: 1,
|
|
183
|
-
percentage: 100,
|
|
184
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/44.png",
|
|
185
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "CA", "NA", "NA", "NA", "NA"]
|
|
186
|
-
}, {
|
|
187
|
-
id: 45,
|
|
188
|
-
name: "Casa Ley",
|
|
189
|
-
country: "México",
|
|
190
|
-
id_region: 1,
|
|
191
|
-
active: 1,
|
|
192
|
-
percentage: 100,
|
|
193
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/45.png",
|
|
194
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "CA", "NA", "NA", "NA"]
|
|
195
|
-
}, {
|
|
196
|
-
id: 46,
|
|
197
|
-
name: "S-Mart",
|
|
198
|
-
country: "México",
|
|
199
|
-
id_region: 1,
|
|
200
|
-
active: 1,
|
|
201
|
-
percentage: 100,
|
|
202
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/46.png",
|
|
203
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "CA", "NA", "NA"]
|
|
204
|
-
}, {
|
|
205
|
-
id: 56,
|
|
206
|
-
name: "JOKR",
|
|
207
|
-
country: "Mexico",
|
|
208
|
-
id_region: 1,
|
|
209
|
-
active: 1,
|
|
210
|
-
percentage: 100,
|
|
211
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/56.png",
|
|
212
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "CA", "NA"]
|
|
213
|
-
}, {
|
|
214
|
-
id: 65,
|
|
215
|
-
name: "Súper Aki",
|
|
216
|
-
country: "México",
|
|
217
|
-
id_region: 1,
|
|
218
|
-
active: 1,
|
|
219
|
-
percentage: 100,
|
|
220
|
-
image: "https://content-management-images.s3.amazonaws.com/retailers/65.png",
|
|
221
|
-
services: ["NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "NA", "CA"]
|
|
93
|
+
id: 61,
|
|
94
|
+
name: "Home Depot TAB",
|
|
95
|
+
percentage: null,
|
|
96
|
+
image: "https://content-management-images.s3.amazonaws.com/retailers/61.png",
|
|
97
|
+
services: ["NA", "NA", "NA", "NA", "NA", "CA", "CA", "AS"]
|
|
222
98
|
}],
|
|
223
|
-
country:
|
|
224
|
-
upc: "
|
|
99
|
+
country: "México",
|
|
100
|
+
upc: "222222222"
|
|
225
101
|
},
|
|
226
102
|
location: {
|
|
227
103
|
product: {
|
|
@@ -230,36 +106,36 @@ RetailerProductEditionDefault.args = {
|
|
|
230
106
|
}
|
|
231
107
|
},
|
|
232
108
|
user: {
|
|
233
|
-
id_user:
|
|
234
|
-
name: "
|
|
235
|
-
last_name: "
|
|
236
|
-
email: "
|
|
237
|
-
position:
|
|
109
|
+
id_user: 52,
|
|
110
|
+
name: "FACILITADOR TXT PRUEBA",
|
|
111
|
+
last_name: "",
|
|
112
|
+
email: "azarate@contentoh.com",
|
|
113
|
+
position: null,
|
|
238
114
|
telephone: null,
|
|
239
115
|
country: null,
|
|
240
|
-
id_company:
|
|
241
|
-
id_cognito: "
|
|
116
|
+
id_company: 2,
|
|
117
|
+
id_cognito: "b2ce5b2a-609c-4e79-9ea9-2f74cff43889",
|
|
242
118
|
birth_Date: null,
|
|
243
119
|
about_me: null,
|
|
244
120
|
zip_code: null,
|
|
245
121
|
address: null,
|
|
246
122
|
job: null,
|
|
247
123
|
id_stripe: null,
|
|
248
|
-
id_role:
|
|
124
|
+
id_role: 4,
|
|
249
125
|
active: 1,
|
|
250
126
|
is_retailer: 0,
|
|
251
|
-
email_notify:
|
|
127
|
+
email_notify: 0,
|
|
252
128
|
membership: {
|
|
253
|
-
id:
|
|
254
|
-
start_date: "
|
|
255
|
-
end_date: "
|
|
256
|
-
planID:
|
|
257
|
-
plan: "
|
|
258
|
-
name: "Plan
|
|
259
|
-
user_limit: "
|
|
260
|
-
products_limit: "
|
|
261
|
-
type: "
|
|
129
|
+
id: 2,
|
|
130
|
+
start_date: "2021-11-05T02:35:12.000Z",
|
|
131
|
+
end_date: "2022-11-05T02:34:49.000Z",
|
|
132
|
+
planID: 1,
|
|
133
|
+
plan: "prod_KtkvuFFLpOdP6e",
|
|
134
|
+
name: "Plan Free",
|
|
135
|
+
user_limit: "1",
|
|
136
|
+
products_limit: "3",
|
|
137
|
+
type: "PyMES"
|
|
262
138
|
},
|
|
263
|
-
src: "https://content-management-profile
|
|
139
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-52/52.png?1662065576139"
|
|
264
140
|
}
|
|
265
141
|
};
|