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.
Files changed (30) hide show
  1. package/dist/components/atoms/InputFormatter/index.js +3 -3
  2. package/dist/components/atoms/ListCommercialRetailers/ListCommercialRetailers.stories.js +36 -0
  3. package/dist/components/atoms/ListCommercialRetailers/index.js +64 -0
  4. package/dist/components/atoms/ListCommercialRetailers/styles.js +20 -0
  5. package/dist/components/atoms/MenuCommercialRetailers/MenuCommercialRetailers.stories.js +37 -0
  6. package/dist/components/atoms/MenuCommercialRetailers/index.js +25 -0
  7. package/dist/components/atoms/MenuCommercialRetailers/styles.js +20 -0
  8. package/dist/components/atoms/MenuProductImage/MenuProductImage.stories.js +28 -0
  9. package/dist/components/atoms/MenuProductImage/index.js +88 -0
  10. package/dist/components/atoms/MenuProductImage/styles.js +20 -0
  11. package/dist/components/atoms/VerticalSideMenuMainPage/index.js +23 -33
  12. package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +14 -14
  13. package/dist/components/molecules/ApproveRejetPanel/ApproveRejetPanel.stories.js +25 -0
  14. package/dist/components/molecules/ApproveRejetPanel/index.js +49 -0
  15. package/dist/components/molecules/ApproveRejetPanel/styles.js +18 -0
  16. package/dist/components/molecules/SignInLoginCreationApp/SignInLogin.stories.js +28 -0
  17. package/dist/components/molecules/SignInLoginCreationApp/index.js +270 -0
  18. package/dist/components/molecules/SignInLoginCreationApp/styles.js +20 -0
  19. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +173 -108
  20. package/dist/components/pages/ProviderProductEdition/index.js +54 -41
  21. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +69 -193
  22. package/dist/components/pages/RetailerProductEdition/index.js +98 -45
  23. package/package.json +1 -1
  24. package/src/components/atoms/InputFormatter/index.js +8 -3
  25. package/src/components/atoms/VerticalSideMenuMainPage/index.js +17 -30
  26. package/src/components/atoms/VerticalSideMenuMainPage/styles.js +34 -28
  27. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +183 -117
  28. package/src/components/pages/ProviderProductEdition/index.js +15 -7
  29. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +69 -489
  30. 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 _useState61 = (0, _react.useState)({
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
- inCart = _useState64[0],
470
- setInCart = _useState64[1];
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
- modalSent = _useState66[0],
475
- setModalSent = _useState66[1];
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
- modalViewError = _useState68[0],
480
- setModalViewError = _useState68[1];
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
- showGenericModal = _useState70[0],
485
- setShowGenericModal = _useState70[1];
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 _useState71 = (0, _react.useState)({
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
- modalViewTextArea = _useState74[0],
511
- setModalViewTextArea = _useState74[1];
510
+ dataGenericModal = _useState74[0],
511
+ setDataGenericModal = _useState74[1];
512
512
 
513
- var _useState75 = (0, _react.useState)(null),
513
+ var _useState75 = (0, _react.useState)(false),
514
514
  _useState76 = (0, _slicedToArray2.default)(_useState75, 2),
515
- socketType = _useState76[0],
516
- setSocketType = _useState76[1];
515
+ modalViewTextArea = _useState76[0],
516
+ setModalViewTextArea = _useState76[1];
517
517
 
518
- var _useState77 = (0, _react.useState)(loading),
518
+ var _useState77 = (0, _react.useState)(null),
519
519
  _useState78 = (0, _slicedToArray2.default)(_useState77, 2),
520
- saving = _useState78[0],
521
- setSaving = _useState78[1];
520
+ socketType = _useState78[0],
521
+ setSocketType = _useState78[1];
522
522
 
523
- var _useState79 = (0, _react.useState)(product.statusByRetailer),
523
+ var _useState79 = (0, _react.useState)(loading),
524
524
  _useState80 = (0, _slicedToArray2.default)(_useState79, 2),
525
- retailerStatus = _useState80[0],
526
- setRetailerStatus = _useState80[1];
525
+ saving = _useState80[0],
526
+ setSaving = _useState80[1];
527
527
 
528
- var _useState81 = (0, _react.useState)(false),
528
+ var _useState81 = (0, _react.useState)(product.statusByRetailer),
529
529
  _useState82 = (0, _slicedToArray2.default)(_useState81, 2),
530
- showCreateVersion = _useState82[0],
531
- setShowCreateVersion = _useState82[1];
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
- validateAll("R");
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
- validateAll("R");
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
- sendEvaluation("R");
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
- sendEvaluation("R");
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
- createComment(e, document.querySelector("#area").value);
2039
- setModalViewError(false);
2040
- setModalViewTextArea(true);
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: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJjN2U1YTZhNC0yYjNmLTRkNTQtYWY5OC05ZTA5YTRjYmMwMWUiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwiY29nbml0bzp1c2VybmFtZSI6ImM3ZTVhNmE0LTJiM2YtNGQ1NC1hZjk4LTllMDlhNGNiYzAxZSIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiIyYjcyOTIzYS04MWMzLTQ0NTYtODE1ZC1kMzI5ZWVkMDRmZmMiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY2MTg5ODYzNSwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY2MTkwMjIzNSwiaWF0IjoxNjYxODk4NjM1LCJlbWFpbCI6Imtpa2lqZTE0NjdAbXRsY3ouY29tIn0.EcQE9cjvjfyl4JlNVh57wlvDAxem7glTCJwZNLHs-oZj1Q0M_Sg1h24ISsES1WD_OjNaYjub46xU3rNH-i3IgA386H4hC3cfXzAkc82dxkhEcaRcUrAC9q8HUmoxT70XQpY40L2h2-DMjVm9Ka8C2JsFsgxVe-ulH2SpAXHk8Lt60qGYwoAdupP5jtJXBVMQKLKkWceAYrckWl-3AMq6uJLciB30zVQxMxjQ0EF8ZpldGDV8ypurZ2HkEtBZudepo2spBYj50L1IJ8oE-bBujcauOEzHw7kHFtBoL0W4xsjcBGiH9ejV7ULoWPO7AJr8MTZh1CVGkAYs1LmCWDAuHw",
34
+ token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJiMmNlNWIyYS02MDljLTRlNzktOWVhOS0yZjc0Y2ZmNDM4ODkiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwiY29nbml0bzp1c2VybmFtZSI6ImIyY2U1YjJhLTYwOWMtNGU3OS05ZWE5LTJmNzRjZmY0Mzg4OSIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJhYWIzZDM1NS01MDYyLTQ2MTAtYjljZi03MjIyMTNlZTI4OWEiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY2MjA2NTU3NSwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY2MjA2OTE3NSwiaWF0IjoxNjYyMDY1NTc1LCJlbWFpbCI6ImF6YXJhdGVAY29udGVudG9oLmNvbSJ9.QtYQg6gjDDrfliKi9k5JnrJHRPt8XhqUphryq7l19BnK1GSFMUBVKx_4CVnbrML8MiKH7AwWFu4TSY5-M8qTEYKTQsr_sYrR-ICe6rAM_LQihD4x1e9THU7FAuXMDdRPv2JnCCUFCjzURbkc1A11oIIYIWnNfCwr33JTwcGQnX1LwYSY7PqhNdIU1pU9aat7lALIV8mFN4npn8m8AvSromfeonD07jl6AqQEs4SuOSiDaMkRENlp--hOx2rY4gEhvX2k3Zl4nHsvJU3Zh3DLaWhD3I9QdX4AOMUjrQOkUXJ7lkSEqY4p2o7fQXXL-D2nL28qAfwE-WlkVGJn-2LpHQ",
35
35
  productSelected: {
36
36
  services: {
37
- datasheets: 0,
38
- descriptions: 0,
37
+ datasheets: 1,
38
+ descriptions: 1,
39
39
  images: 1
40
40
  },
41
- orderId: 2612,
42
- status: "CA",
43
- datasheet_status: "NS",
41
+ orderId: 149,
42
+ status: "IE",
43
+ datasheet_status: "IE",
44
44
  prio: "none",
45
45
  version: 2,
46
- description_status: "NS",
46
+ description_status: "IE",
47
47
  images_status: "IE",
48
48
  article: {
49
- id_article: 79732,
50
- id_category: "42",
51
- name: "Bolos Naviesferas 6p 96g Bolsa RIC",
52
- upc: "7500810012130",
53
- timestamp: "2022-08-22T19:34:16.000Z",
54
- id_user: 467,
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: 229,
58
- SKU: null,
59
- Descripcion: null,
60
- Proveedor: null,
61
- id_proveedor: 0,
62
- company_name: "BIMBO SA DE CV",
63
- country: null,
64
- id_order: 2612,
65
- id_datasheet_especialist: null,
66
- id_datasheet_facilitator: null,
67
- id_description_especialist: null,
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: "Abarrotes|Botanas, Golosinas y Chocolates|Confitería",
74
- missingAttributes: 208,
75
- missingDescriptions: 9,
76
- missingImages: 8
69
+ category: "Decoración|Accesorios Decorativos|Accesorios Decorativos",
70
+ missingAttributes: 0,
71
+ missingDescriptions: 0,
72
+ missingImages: 0
77
73
  },
78
74
  retailers: [{
79
- id: 4,
80
- name: "Walmart Super y Superama",
81
- country: "México",
82
- id_region: 1,
83
- active: 1,
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: 6,
98
- name: "HEB",
99
- country: "México",
100
- id_region: 1,
101
- active: 1,
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: 9,
107
- name: "Amazon",
108
- country: "México",
109
- id_region: 1,
110
- active: 1,
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: 13,
116
- name: "Soriana",
117
- country: "México",
118
- id_region: 1,
119
- active: 1,
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: null,
224
- upc: "7500810012130"
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: 427,
234
- name: "Especialista Edición",
235
- last_name: " ",
236
- email: "kikije1467@mtlcz.com",
237
- position: "Tester",
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: 254,
241
- id_cognito: "c7e5a6a4-2b3f-4d54-af98-9e09a4cbc01e",
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: 8,
124
+ id_role: 4,
249
125
  active: 1,
250
126
  is_retailer: 0,
251
- email_notify: null,
127
+ email_notify: 0,
252
128
  membership: {
253
- id: 750,
254
- start_date: "2022-01-07T21:32:54.000Z",
255
- end_date: "2023-01-07T21:32:54.000Z",
256
- planID: 6,
257
- plan: "prod_KvGd6YSTJyR3AP",
258
- name: "Plan Small",
259
- user_limit: "10",
260
- products_limit: "1000",
261
- type: "Enterprise"
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-prod.s3.amazonaws.com/id-427/427.png?1661898636177"
139
+ src: "https://content-management-profile.s3.amazonaws.com/id-52/52.png?1662065576139"
264
140
  }
265
141
  };