contentoh-components-library 21.1.52 → 21.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/components/atoms/GeneralInput/index.js +1 -0
  2. package/dist/components/atoms/StatusTag/index.js +2 -17
  3. package/dist/components/atoms/StatusTag/styles.js +1 -1
  4. package/dist/components/molecules/HeaderTop/index.js +1 -4
  5. package/dist/components/molecules/RetailerSelector/index.js +0 -32
  6. package/dist/components/molecules/StatusAsignationInfo/index.js +2 -3
  7. package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
  8. package/dist/components/organisms/FullTabsMenu/index.js +1 -3
  9. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +105 -107
  10. package/dist/components/pages/ProviderProductEdition/index.js +349 -324
  11. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +83 -38
  12. package/dist/components/pages/RetailerProductEdition/index.js +212 -202
  13. package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
  14. package/dist/global-files/data.js +10 -9
  15. package/dist/index.js +0 -13
  16. package/package.json +1 -1
  17. package/src/components/atoms/ValidationPanel/index.js +1 -1
  18. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +9 -1
  19. package/src/components/pages/ProviderProductEdition/index.js +67 -51
  20. package/src/global-files/data.js +8 -8
  21. package/dist/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +0 -37
  22. package/dist/components/pages/RegistrationLoginFirstStep/index.js +0 -269
  23. package/dist/components/pages/RegistrationLoginFirstStep/styles.js +0 -20
@@ -65,6 +65,7 @@ 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);
68
69
  generalValue = valueSelected;
69
70
  setTextValue({
70
71
  value: generalValue
@@ -18,27 +18,12 @@ var StatusTag = function StatusTag(_ref) {
18
18
  case "COMPLETED":
19
19
  return "C";
20
20
 
21
- case "RECEPTION":
22
- return "Pr";
23
-
24
21
  case "NULL":
25
- return "-";
26
-
27
- case "RECEIVED":
28
- return "Rc";
29
-
30
- case "IN_PROGRESS":
31
- return "P";
32
-
33
- case "ASSIGNED":
34
- return "As";
22
+ return "--";
35
23
 
36
24
  case "APPROVED":
37
25
  return "Ap";
38
26
 
39
- case "VALIDATING":
40
- return "V";
41
-
42
27
  case "PAID_OUT":
43
28
  return "Po";
44
29
 
@@ -48,7 +33,7 @@ var StatusTag = function StatusTag(_ref) {
48
33
  };
49
34
 
50
35
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
51
- className: "status-".concat(getShortStatus(statusType), " ").concat(ovalForm && "oval-form"),
36
+ className: "status-".concat(getShortStatus(statusType === null || statusType === void 0 ? void 0 : statusType.replace(/\/.*/, "")), " ").concat(ovalForm && "oval-form"),
52
37
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
53
38
  children: getShortStatus(statusType)
54
39
  })
@@ -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-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);
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-CA,\n &.status-IE {\n background-color: ", ";\n }\n\n &.status-R {\n background-color: ", ";\n }\n\n &.status-AA,\n &.status-AP,\n &.status-ACA,\n &.status-AC {\n background-color: ", ";\n }\n\n &.status-RA,\n &.status-RC,\n &.status-RP,\n &.status-RCA {\n background-color: ", ";\n }\n\n &.status-Dat,\n &.status-Dsc,\n &.status-Imgs {\n background-color: ", ";\n }\n\n &.status-Ex {\n background-color: ", ";\n }\n\n &.status-DDI {\n background-color: ", ";\n }\n\n &.status-GLD {\n background-color: ", ";\n }\n\n &.status-TAB {\n background-color: ", ";\n }\n\n &.status-Pt {\n background-color: ", ";\n color: ", ";\n }\n\n &.oval-form {\n border-radius: 10px;\n }\n &.delThis {\n color: red;\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,10 +26,7 @@ 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",
30
- onClick: function onClick() {
31
- window.location.href = "/products";
32
- }
29
+ buttonType: "close-button"
33
30
  })]
34
31
  });
35
32
  };
@@ -7,10 +7,6 @@ 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
-
14
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
15
11
 
16
12
  var _styles = require("./styles");
@@ -43,39 +39,11 @@ var RetailerSelector = function RetailerSelector(_ref) {
43
39
  }
44
40
  };
45
41
 
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
-
71
42
  (0, _react.useEffect)(function () {
72
43
  if (retailersPanel) {
73
44
  document.addEventListener("click", closeRetailersPanel, false);
74
45
  }
75
46
  }, [retailersPanel]);
76
- (0, _react.useEffect)(function () {
77
- getRetailerImage();
78
- }, [activeRetailer]);
79
47
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
80
48
  id: "retailers-assignation",
81
49
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Avatar.Avatar, {
@@ -54,8 +54,7 @@ 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,
58
- canAssign = _ref.canAssign;
57
+ showSaveButton = _ref.showSaveButton;
59
58
 
60
59
  var _useState = (0, _react.useState)(false),
61
60
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
@@ -147,7 +146,7 @@ var StatusAsignationInfo = function StatusAsignationInfo(_ref) {
147
146
  color: "#969696",
148
147
  fontFamily: "Avenir Next",
149
148
  headerType: "input-name-header"
150
- }), showAsignationPanel && canAssign && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
149
+ }), showAsignationPanel && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
151
150
  className: "asignation-panel",
152
151
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
153
152
  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 : "RECEIVED");
50
+ element.push(sd.status ? sd.status : "R");
51
51
  } else element.push("NA");
52
52
 
53
53
  rt["services"] = element;
@@ -32,8 +32,7 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
32
32
  downloadImages = _ref.downloadImages,
33
33
  askToDeleteImages = _ref.askToDeleteImages,
34
34
  onClickSave = _ref.onClickSave,
35
- showSaveButton = _ref.showSaveButton,
36
- canAssign = _ref.canAssign;
35
+ showSaveButton = _ref.showSaveButton;
37
36
 
38
37
  var _useState = (0, _react.useState)(false),
39
38
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
@@ -46,7 +45,6 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
46
45
  setImagesSection: setImagesSection,
47
46
  setActiveTab: setActiveTab
48
47
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.StatusAsignationInfo, {
49
- canAssign: canAssign,
50
48
  status: status,
51
49
  activeTab: activeTab,
52
50
  setImageLayout: setImageLayout,
@@ -31,119 +31,117 @@ ProviderProductEditionDefault.args = {
31
31
  "Ficha técnica": false,
32
32
  Imágenes: false
33
33
  },
34
- token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI1ODg0YWUzNC01OWQ2LTQ0NTQtYjk4ZS04MjE1MThiY2MzYTciLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6IjU4ODRhZTM0LTU5ZDYtNDQ1NC1iOThlLTgyMTUxOGJjYzNhNyIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJhODE2NGMwNi1hN2U5LTQ2OGItYTBiMS02MDIxNzMyNWY0ZTgiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NjExMzE0NiwibmFtZSI6IkNhZGVuYSBJc21hZWwiLCJwaG9uZV9udW1iZXIiOiIrNTIzMTExMzY2MzM2IiwiZXhwIjoxNjU2MTE2NzQ2LCJpYXQiOjE2NTYxMTMxNDYsImVtYWlsIjoiY2FkZW5hLmlzbWFlbEBhbGxmcmVlbWFpbC5uZXQifQ.kfMoKcxYDkpNZJibGdw50oOkRwPVl26YNAwwDoLEfQjOZB6WRCY95iHfU1maYcTTvA5KlT5ali8XZ-nLnxh60vZoLGTDOfCvEnwd1t94JtfE5CsWDr_jfH1U0AVidxihqKnkwvCezkHwU1DUFlbu2iBNo7MHQw4ydiK2sx4q0-QGltmE7W2JJ0sayRDuNchy2S6FQoyIWhsP3oaKTvJGDKCaJxwkFEKk-3antoMtfua9H8V4p2Kkqa_eDbFk8pLYGaYgImLlaia2orGgETkHZIWEMr4WJq1V_7qOg4lYq2BUUuMhWdmK6XUL_Jhmv05TUJ3Rp_Ti4_J2WE4zQqhbfQ",
35
- articleId: 238,
36
- category: 846,
37
- version: 2,
34
+ token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJmNTkyN2Y4ZS1jYmY3LTQ5MjItOWUwOS1lNjllYzBiMjczMWEiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImY1OTI3ZjhlLWNiZjctNDkyMi05ZTA5LWU2OWVjMGIyNzMxYSIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiJiM2ZmOGNjNi0xNGVmLTQ0NjUtYWEwOC1mMWNiY2VlNmI0MjIiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1Njk1OTU2NSwibmFtZSI6IklzbWFlbCBMb3BleiIsInBob25lX251bWJlciI6Iis1MjMxMTEzNjYzMzYiLCJleHAiOjE2NTY5NjMxNjUsImlhdCI6MTY1Njk1OTU2NSwiZW1haWwiOiJpbG9wZXpAY29udGVudG9oLmNvbSJ9.hWU0Pt-6PIw61M40SLu47E6_U9_Kt3k-j5PhuTlRkiX9OzU7bQUwWfeXAUxAAUYk_s1DhsYBqTyAmhmcQ3EECDcw2K6byyU4o-SFR-itTAUapnEy5Hzxf1ObDGMlfpVtPu1GQsmvIEXe6DuLuvpLZgOjqgnG5rHPAxpEJKfnEkv01h396sI2sh2bOXYcg4jPqyoRhqMjpj161MA5Fxl1a4O-2qHoyPTcoRXERk96M-63_PxPbcCuqSS8bhOr8jnUWvcmjhhwWXjYv44cLwCkwjFp8uBOStxBaUKHFIGpX4LjAFSqVCxoLb2bKSAJ_MH0ywO1Nke1VsicIGe-yluuGg",
35
+ articleId: 55157,
36
+ category: 4,
37
+ version: 3,
38
38
  productSelected: {
39
- orderId: 55,
40
- article_status: "AP",
41
- datasheet_status: "AP",
42
- description_status: "AP",
43
- images_status: "AP",
39
+ orderId: 89,
40
+ status: "AA",
41
+ datasheet_status: "AA",
44
42
  prio: "none",
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"
43
+ version: 3,
44
+ description_status: "AA",
45
+ images_status: "AA",
46
+ brand: "123",
47
+ retailerOrder: 0,
48
+ missing: {
49
+ datasheet: 17,
50
+ descriptions: 4,
51
+ images: 3
55
52
  },
56
- retailers: [{
57
- id: 58,
58
- name: "The Home Depot Golden"
59
- }, {
60
- id: 59,
61
- name: "The Home Depot Platinum"
62
- }, {
63
- id: 60,
64
- name: "The Home Depot Resizing"
65
- }, {
66
- id: 61,
67
- name: "Home Depot TAB"
68
- }],
69
53
  services: {
70
54
  datasheets: 1,
71
55
  descriptions: 1,
72
56
  images: 1
73
57
  },
74
- id_article: 55118,
58
+ article: {
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
+ }],
75
79
  retailersAvailable: [{
76
- id: 58,
77
- name: "The Home Depot Golden"
78
- }, {
79
- id: 59,
80
- name: "The Home Depot Platinum"
81
- }, {
82
- id: 60,
83
- name: "The Home Depot Resizing"
84
- }, {
85
- id: 61,
86
- name: "Home Depot TAB"
87
- }]
80
+ id: 3,
81
+ name: "Sam´s Club"
82
+ }],
83
+ categoryName: "ABARROTES|ABARROTES SECOS|ALIMENTOS DESHIDRATADOS",
84
+ upc: "807526",
85
+ id_article: 55157,
86
+ id_order: 89
88
87
  },
89
88
  productToEdit: {
90
- ArticleId: 55118,
91
- idCategory: "2143",
89
+ ArticleId: 55157,
90
+ idCategory: "4",
92
91
  product: {
93
- orderId: 55,
94
- article_status: "AP",
95
- datasheet_status: "AP",
96
- description_status: "AP",
97
- images_status: "AP",
92
+ orderId: 89,
93
+ status: "AA",
94
+ datasheet_status: "AA",
98
95
  prio: "none",
99
- version: 2,
100
- brand: null,
101
- article: {
102
- category: "ILUMINACIÓN|FOCOS|FOCOS",
103
- company_name: "THD Proveedor",
104
- country: "México",
105
- id_category: "2143",
106
- id_article: 55118,
107
- name: "FOCO BLUETOOTH SPOT PHILIPS 6 WATTS 300 LÚMENES MULTICOLOR",
108
- upc: "145582"
96
+ version: 3,
97
+ description_status: "AA",
98
+ images_status: "AA",
99
+ brand: "123",
100
+ retailerOrder: 0,
101
+ missing: {
102
+ datasheet: 17,
103
+ descriptions: 4,
104
+ images: 3
109
105
  },
110
- retailers: [{
111
- id: 58,
112
- name: "The Home Depot Golden"
113
- }, {
114
- id: 59,
115
- name: "The Home Depot Platinum"
116
- }, {
117
- id: 60,
118
- name: "The Home Depot Resizing"
119
- }, {
120
- id: 61,
121
- name: "Home Depot TAB"
122
- }],
123
106
  services: {
124
107
  datasheets: 1,
125
108
  descriptions: 1,
126
109
  images: 1
127
110
  },
128
- id_article: 55118,
111
+ article: {
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
+ }],
129
132
  retailersAvailable: [{
130
- id: 58,
131
- name: "The Home Depot Golden"
132
- }, {
133
- id: 59,
134
- name: "The Home Depot Platinum"
135
- }, {
136
- id: 60,
137
- name: "The Home Depot Resizing"
138
- }, {
139
- id: 61,
140
- name: "Home Depot TAB"
141
- }]
133
+ id: 3,
134
+ name: "Sam´s Club"
135
+ }],
136
+ categoryName: "ABARROTES|ABARROTES SECOS|ALIMENTOS DESHIDRATADOS",
137
+ upc: "807526",
138
+ id_article: 55157,
139
+ id_order: 89
142
140
  }
143
141
  },
144
142
  location: {
145
143
  product: {
146
- articleId: 109485,
144
+ articleId: 55157,
147
145
  versionId: 3
148
146
  },
149
147
  state: {
@@ -151,36 +149,36 @@ ProviderProductEditionDefault.args = {
151
149
  }
152
150
  },
153
151
  user: {
154
- id_user: 59,
155
- name: "The Home",
156
- last_name: "Depot",
157
- email: "cadena.ismael@allfreemail.net",
158
- position: "Admin",
152
+ id_user: 28,
153
+ name: "Proveedor",
154
+ last_name: "Colgate",
155
+ email: "ilopez@contentoh.com",
156
+ position: "Prueba Admin",
159
157
  telephone: "+523111366336",
160
158
  country: "México",
161
- id_company: 7,
162
- id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
159
+ id_company: 1,
160
+ id_cognito: "f5927f8e-cbf7-4922-9e09-e69ec0b2731a",
163
161
  birth_Date: null,
164
162
  about_me: null,
165
163
  zip_code: null,
166
164
  address: null,
167
165
  job: null,
168
- id_stripe: "",
166
+ id_stripe: "cus_KuEt6R6vwmN09f",
169
167
  id_role: 0,
170
168
  active: 1,
171
169
  is_retailer: 0,
172
- email_notify: 1,
170
+ email_notify: 0,
173
171
  membership: {
174
- id: 24,
175
- start_date: "2021-11-23T03:35:50.000Z",
176
- end_date: "2022-11-23T03:35:50.000Z",
177
- planID: 9,
178
- plan: "prod_KtlkzZVGq6bRTO",
179
- name: "Plan Enterprise Full",
180
- user_limit: "30",
181
- products_limit: "10000",
172
+ id: 38,
173
+ start_date: "2022-01-18T17:25:35.000Z",
174
+ end_date: "2023-01-18T17:25:35.000Z",
175
+ planID: 8,
176
+ plan: "prod_KtlhECVSFG2iro",
177
+ name: "Plan Pro",
178
+ user_limit: "20",
179
+ products_limit: "5000",
182
180
  type: "Enterprise"
183
181
  },
184
- src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1656113146885"
182
+ src: "https://content-management-profile.s3.amazonaws.com/id-28/28.png?1656607722122"
185
183
  }
186
184
  };