contentoh-components-library 21.3.55 → 21.3.56

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 (36) hide show
  1. package/dist/components/atoms/ButtonV2/styles.js +1 -1
  2. package/dist/components/atoms/Status/styles.js +1 -1
  3. package/dist/components/atoms/VerticalSideMenuMainPage/index.js +18 -23
  4. package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +4 -4
  5. package/dist/components/organisms/DashboardMetric/dashboardMetricUtils.js +27 -0
  6. package/dist/components/organisms/GlobalModal/styles.js +1 -1
  7. package/dist/components/organisms/OrderDetail/styles.js +1 -1
  8. package/dist/components/organisms/OrderDetail/utils/Table/styles.js +1 -1
  9. package/dist/components/pages/Dashboard/Dashboard.stories.js +35 -47
  10. package/dist/components/pages/Dashboard/index.js +2 -2
  11. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +98 -26
  12. package/dist/components/pages/ProviderProductEdition/index.js +623 -386
  13. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +103 -153
  14. package/dist/components/pages/RetailerProductEdition/index.js +34 -36
  15. package/dist/index.js +13 -0
  16. package/package.json +7 -6
  17. package/src/components/atoms/ButtonV2/styles.js +1 -1
  18. package/src/components/atoms/Status/styles.js +4 -0
  19. package/src/components/atoms/VerticalSideMenuMainPage/index.js +18 -22
  20. package/src/components/atoms/VerticalSideMenuMainPage/styles.js +3 -4
  21. package/src/components/organisms/DashboardMetric/dashboardMetricUtils.js +18 -1
  22. package/src/components/organisms/GlobalModal/styles.js +10 -0
  23. package/src/components/organisms/OrderDetail/styles.js +1 -1
  24. package/src/components/organisms/OrderDetail/utils/Table/styles.js +0 -1
  25. package/src/components/organisms/TableResizable/TableResizable.stories.js +17 -0
  26. package/src/components/organisms/TableResizable/index.js +119 -0
  27. package/src/components/organisms/TableResizable/styles.js +133 -0
  28. package/src/components/organisms/TableResizable/utils.js +46 -0
  29. package/src/components/pages/Dashboard/Dashboard.stories.js +35 -50
  30. package/src/components/pages/Dashboard/index.js +2 -2
  31. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +110 -31
  32. package/src/components/pages/ProviderProductEdition/index.js +244 -131
  33. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +93 -145
  34. package/src/components/pages/RetailerProductEdition/index.js +25 -23
  35. package/src/index.js +1 -0
  36. package/dist/assets/fonts/roboto/LICENSE.txt +0 -202
@@ -15,7 +15,7 @@ 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: 0px;\n cursor: ", ";\n border-radius: ", ";\n border: none;\n\n .button {\n --size: ", "px;\n width: 100%;\n min-width: min-content;\n cursor: inherit;\n display: flex;\n flex-direction: ", ";\n gap: 7px;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border-radius: inherit;\n border: ", ";\n font-family: ", ", sans-serif;\n font-size: var(--size);\n line-height: 1.2;\n text-transform: none;\n\n // tipos de botones fill\n &.fill {\n &.white {\n background-color: white;\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS2 {\n background-color: white;\n color: #7b7979;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS3 {\n background-color: white;\n color: #262626;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS4 {\n background-color: white;\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n background-color: #e0e0f1;\n }\n }\n &.pink {\n background-color: #e33aa9;\n color: white;\n border-color: #e33aa9;\n &:hover {\n background-color: #b42983;\n }\n }\n &.gray {\n background-color: #e8e5e5;\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n }\n &:hover {\n background-color: #d6d3d3;\n }\n }\n &.purple {\n background-color: #f7f7fc;\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n background-color: #e0e0f1;\n }\n }\n &.purpleS2 {\n background-color: #8a6caa;\n color: white;\n border-color: #8a6caa;\n &:hover {\n background-color: #61467e;\n }\n }\n }\n\n // tipos de botones transparent\n &.transparent {\n &:hover {\n background-color: transparent;\n }\n &.white {\n color: white;\n border-color: #e33aa9;\n &:hover {\n color: #d6d4d4;\n }\n }\n &.pink {\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n color: #b42983;\n }\n }\n &.gray {\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n transition: inherit;\n }\n &:hover {\n color: #7b7979;\n .icon,\n .iconLoading {\n color: #bdbbbb;\n }\n }\n }\n &.purple {\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n color: #714f95;\n }\n }\n &.black {\n color: #262626;\n border-color: #262626;\n &:hover {\n color: #7b7979;\n }\n }\n }\n\n .icon,\n .iconLoading {\n display: grid;\n place-items: center;\n color: inherit;\n font-size: ", ";\n }\n .iconLoading {\n font-size: ", ";\n }\n\n // mismo estilo desabilitado para cualquier tipo de boton\n &:disabled {\n background-color: #fcebf7 !important;\n color: #7b7979 !important;\n border-color: #7b7979 !important;\n\n .icon {\n color: #9e9c9c !important;\n }\n .iconLoading {\n color: #9e2674 !important;\n }\n\n &:hover {\n background-color: #fcebf7 !important;\n }\n }\n }\n"])), function (_ref) {
18
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0px;\n cursor: ", ";\n border-radius: ", ";\n border: none;\n\n .button {\n --size: ", "px;\n width: 100%;\n min-width: min-content;\n cursor: inherit;\n display: flex;\n flex-direction: ", ";\n gap: 7px;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border-radius: inherit;\n border: ", ";\n font-family: ", ", sans-serif;\n font-size: var(--size);\n line-height: 1.2;\n text-transform: none;\n\n // tipos de botones fill\n &.fill {\n &.white {\n background-color: white;\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS2 {\n background-color: white;\n color: #7b7979;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS3 {\n background-color: white;\n color: #262626;\n border-color: #f0f0f0;\n &:hover {\n background-color: #f4f4f4;\n }\n }\n &.whiteS4 {\n background-color: white;\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n background-color: #e0e0f1;\n }\n }\n &.pink {\n background-color: #e33aa9;\n color: red;\n border-color: #e33aa9;\n &:hover {\n background-color: #b42983;\n }\n }\n &.gray {\n background-color: #e8e5e5;\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n }\n &:hover {\n background-color: #d6d3d3;\n }\n }\n &.purple {\n background-color: #f7f7fc;\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n background-color: #e0e0f1;\n }\n }\n &.purpleS2 {\n background-color: #8a6caa;\n color: white;\n border-color: #8a6caa;\n &:hover {\n background-color: #61467e;\n }\n }\n }\n\n // tipos de botones transparent\n &.transparent {\n &:hover {\n background-color: transparent;\n }\n &.white {\n color: white;\n border-color: #e33aa9;\n &:hover {\n color: #d6d4d4;\n }\n }\n &.pink {\n color: #e33aa9;\n border-color: #e33aa9;\n &:hover {\n color: #b42983;\n }\n }\n &.gray {\n color: #262626;\n border-color: #7b7979;\n .icon,\n .iconLoading {\n color: #7b7979;\n transition: inherit;\n }\n &:hover {\n color: #7b7979;\n .icon,\n .iconLoading {\n color: #bdbbbb;\n }\n }\n }\n &.purple {\n color: #8a6caa;\n border-color: #8a6caa;\n &:hover {\n color: #714f95;\n }\n }\n &.black {\n color: #262626;\n border-color: #262626;\n &:hover {\n color: #7b7979;\n }\n }\n }\n\n .icon,\n .iconLoading {\n display: grid;\n place-items: center;\n color: inherit;\n font-size: ", ";\n }\n .iconLoading {\n font-size: ", ";\n }\n\n // mismo estilo desabilitado para cualquier tipo de boton\n &:disabled {\n background-color: #fcebf7 !important;\n color: #7b7979 !important;\n border-color: #7b7979 !important;\n\n .icon {\n color: #9e9c9c !important;\n }\n .iconLoading {\n color: #9e2674 !important;\n }\n\n &:hover {\n background-color: #fcebf7 !important;\n }\n }\n }\n"])), function (_ref) {
19
19
  var disabled = _ref.disabled,
20
20
  isLoading = _ref.isLoading;
21
21
  return disabled || isLoading ? "not-allowed" : "pointer";
@@ -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-CA,\n &.status-IE {\n background-color: ", ";\n }\n\n &.status-R,\n &.status-AS,\n &.status-PA {\n background-color: ", ";\n }\n\n &.status-AA,\n &.status-AP,\n &.status-AC,\n &.status-ACA {\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"])), _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-CA,\n &.status-IE {\n background-color: ", ";\n }\n\n &.status-R,\n &.status-AS,\n &.status-SAC,\n &.status-PA {\n background-color: ", ";\n }\n\n &.status-AA,\n &.status-AP,\n &.status-AC,\n &.status-AAC,\n &.status-ACA {\n background-color: ", ";\n }\n\n &.status-RA,\n &.status-RC,\n &.status-RP,\n &.status-RAC,\n &.status-RCA {\n background-color: ", ";\n }\n\n &.status-Dat,\n &.status-Dsc,\n &.status-Imgs {\n background-color: ", ";\n }\n\n &.status-FAP,\n &.status-Ex {\n background-color: ", ";\n }\n\n &.status-DDI {\n background-color: ", ";\n }\n\n &.status-GLD {\n background-color: ", ";\n }\n\n &.status-TAB {\n background-color: ", ";\n }\n\n &.status-Pt {\n background-color: ", ";\n color: ", ";\n }\n\n &.oval-form {\n border-radius: 10px;\n }\n"])), _variables.GlobalColors.s3, _variables.GlobalColors.white, _variables.FontFamily.Lato, _variables.GlobalColors.in_progress, _variables.GlobalColors.reception, _variables.GlobalColors.finished, _variables.GlobalColors.rejected_status, _variables.GlobalColors.s4, _variables.GlobalColors.exported, _variables.GlobalColors.original_purpura, _variables.GlobalColors.in_progress, _variables.GlobalColors.deep_gray, _variables.GlobalColors.s2, _variables.GlobalColors.s4);
19
19
 
20
20
  exports.Container = Container;
@@ -11,16 +11,16 @@ exports.VerticalSideMenuMainPage = void 0;
11
11
 
12
12
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
13
13
 
14
+ var _react = _interopRequireWildcard(require("react"));
15
+
16
+ var _reactRouterDom = require("react-router-dom");
17
+
14
18
  var _styles = require("./styles");
15
19
 
16
20
  var _iconLogoContentoh = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconLogoContentoh.svg"));
17
21
 
18
22
  var _iconLogo = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconLogo.svg"));
19
23
 
20
- var _react = _interopRequireWildcard(require("react"));
21
-
22
- var _reactRouterDom = require("react-router-dom");
23
-
24
24
  var _jsxRuntime = require("react/jsx-runtime");
25
25
 
26
26
  var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
@@ -28,7 +28,7 @@ var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
28
28
  menuoption = _ref$menuoption === void 0 ? [] : _ref$menuoption,
29
29
  containerdash = _ref.containerdash;
30
30
 
31
- var _useState = (0, _react.useState)(),
31
+ var _useState = (0, _react.useState)(false),
32
32
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
33
33
  trueBar = _useState2[0],
34
34
  setTrueBar = _useState2[1];
@@ -55,31 +55,26 @@ var VerticalSideMenuMainPage = function VerticalSideMenuMainPage(_ref) {
55
55
  var _item$suboption;
56
56
 
57
57
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
58
- bar: trueBar,
59
58
  className: "option-div",
60
59
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.NavLinkOption, {
61
60
  to: item.path,
62
- bar: trueBar,
61
+ bar: trueBar.toString(),
63
62
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
64
63
  src: item.icon,
65
64
  alt: item.title
66
- }), trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
65
+ }), trueBar ? /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
67
66
  children: item.title
68
- })]
69
- }), item.suboption !== undefined && /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
70
- children: item === null || item === void 0 ? void 0 : (_item$suboption = item.suboption) === null || _item$suboption === void 0 ? void 0 : _item$suboption.map(function (subitem) {
71
- return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
72
- className: "sub-option",
73
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.NavLinkOption, {
74
- to: subitem.path,
75
- className: "sub-option-link",
76
- bar: trueBar,
77
- children: trueBar && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
78
- children: subitem.title
79
- })
80
- })
81
- });
82
- })
67
+ }) : null]
68
+ }), item === null || item === void 0 ? void 0 : (_item$suboption = item.suboption) === null || _item$suboption === void 0 ? void 0 : _item$suboption.map(function (subitem, index) {
69
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
70
+ className: "sub-option",
71
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.NavLinkOption, {
72
+ to: subitem.path,
73
+ className: "sub-option-link",
74
+ bar: trueBar.toString(),
75
+ children: trueBar ? subitem.title : null
76
+ })
77
+ }, index);
83
78
  })]
84
79
  }, index);
85
80
  })
@@ -17,13 +17,13 @@ var _reactRouterDom = require("react-router-dom");
17
17
 
18
18
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
19
19
 
20
- var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n box-sizing: border-box;\n padding: 23px 0 70px 0;\n flex-direction: column;\n justify-content: space-between;\n overflow: none;\n width: ", "px;\n background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);\n scrollbar-width: none;\n display: flex;\n text-align: center;\n transition: width 0.3s linear;\n margin: 0;\n & + * {\n margin-left: 30px;\n }\n .navbar-top {\n .logo {\n height: 22px;\n }\n .option {\n .option-div {\n width: 100%;\n white-space: nowrap;\n }\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: 50px;\n .active {\n text-decoration: none;\n background: rgba(255, 255, 255, 0.1);\n }\n .sub-option {\n display: flex;\n flex-direction: column;\n padding-left: 32px;\n height: auto;\n width: auto;\n &:last-child {\n margin-bottom: 10px;\n }\n }\n }\n }\n"])), function (_ref) {
20
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n box-sizing: border-box;\n padding: 23px 0 70px 0;\n flex-direction: column;\n justify-content: space-between;\n overflow: none;\n width: ", ";\n background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);\n scrollbar-width: none;\n display: flex;\n text-align: center;\n transition: width 0.3s linear;\n margin: 0;\n & + * {\n margin-left: 30px;\n }\n .navbar-top {\n .logo {\n height: 22px;\n }\n .option {\n .option-div {\n width: 100%;\n white-space: nowrap;\n }\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: 50px;\n .active {\n text-decoration: none;\n background: rgba(255, 255, 255, 0.1);\n }\n .sub-option {\n display: flex;\n flex-direction: column;\n padding-left: 32px;\n height: auto;\n width: auto;\n &:last-child {\n margin-bottom: 10px;\n }\n }\n }\n }\n"])), function (_ref) {
21
21
  var bar = _ref.bar;
22
- return bar ? 240 : 66;
22
+ return bar ? "240px" : "66px";
23
23
  });
24
24
 
25
25
  exports.Container = Container;
26
- var NavLinkOption = (0, _styledComponents.default)(_reactRouterDom.NavLink)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n height: 42px;\n display: flex;\n justify-content: ", ";\n align-items: center;\n font-family: sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 17px;\n line-height: 21px;\n letter-spacing: -0.015em;\n transition: color 0.3s linear;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n padding: ", "px;\n &:hover {\n background: rgba(255, 255, 255, 0.2);\n color: #fafafa;\n text-decoration: none;\n }\n p {\n cursor: pointer;\n margin: 0%;\n pointer-events: none;\n }\n img {\n height: 22px;\n position: absolute;\n left: 22px;\n & + * {\n margin-left: 30px;\n }\n }\n &.sub-option-link {\n display: flex;\n justify-content: flex-start;\n text-decoration: none;\n position: relative;\n font-size: 13px;\n border-left: 1px solid #f0eef2;\n border-radius: 0;\n transition: color 0.3s linear;\n color: ", ";\n padding-top: 14px;\n height: 25px;\n margin: 0;\n padding-left: 12px;\n &::before {\n border-left: 1px solid #e33aa9;\n width: 10px;\n content: \"\";\n border-radius: 50%;\n height: 10px;\n background-color: white;\n position: absolute;\n bottom: 0;\n left: -6px;\n }\n &.active {\n background: none !important;\n text-decoration: none;\n transition: color 0.3s linear;\n color: ", ";\n &::before {\n background-color: #e33aa9;\n }\n }\n &:hover {\n background: none;\n }\n }\n"])), function (_ref2) {
26
+ var NavLinkOption = (0, _styledComponents.default)(_reactRouterDom.NavLink)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n height: 42px;\n display: flex;\n justify-content: ", ";\n align-items: center;\n font-family: sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 17px;\n line-height: 21px;\n letter-spacing: -0.015em;\n transition: color 0.3s linear;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n padding: ", ";\n &:hover {\n background: rgba(255, 255, 255, 0.2);\n color: #fafafa;\n text-decoration: none;\n }\n p {\n cursor: pointer;\n margin: 0%;\n pointer-events: none;\n }\n img {\n height: 22px;\n position: absolute;\n left: 22px;\n & + * {\n margin-left: 30px;\n }\n }\n &.sub-option-link {\n display: flex;\n justify-content: flex-start;\n text-decoration: none;\n position: relative;\n font-size: 13px;\n border-left: 1px solid #f0eef2;\n border-radius: 0;\n transition: color 0.3s linear;\n color: ", ";\n height: 25px;\n margin: 0;\n padding-left: 12px;\n &::before {\n border-left: 1px solid #e33aa9;\n width: 10px;\n content: \"\";\n border-radius: 50%;\n height: 10px;\n background-color: white;\n position: absolute;\n top: 13;\n left: -6px;\n }\n &.active {\n background: none !important;\n text-decoration: none;\n transition: color 0.3s linear;\n color: ", ";\n &::before {\n background-color: #e33aa9;\n }\n }\n &:hover {\n background: none;\n }\n }\n"])), function (_ref2) {
27
27
  var bar = _ref2.bar;
28
28
  return bar ? "flex-start" : "center";
29
29
  }, function (_ref3) {
@@ -31,7 +31,7 @@ var NavLinkOption = (0, _styledComponents.default)(_reactRouterDom.NavLink)(_tem
31
31
  return bar ? "#fafafa" : "transparent";
32
32
  }, function (_ref4) {
33
33
  var bar = _ref4.bar;
34
- return bar ? "0 22" : "0 8";
34
+ return bar ? "0 22px" : "0 8px";
35
35
  }, function (_ref5) {
36
36
  var bar = _ref5.bar;
37
37
  return bar ? "#f0eef2" : "transparent";
@@ -56,6 +56,21 @@ var getFullStatus = function getFullStatus(status) {
56
56
 
57
57
  case "NS":
58
58
  return "No solicitado";
59
+
60
+ case "SAC":
61
+ return "Solicitud Auditoría Content-oh!";
62
+
63
+ case "AAC":
64
+ return "Aprobado Auditoría Content-oh!";
65
+
66
+ case "RAC":
67
+ return "Rechazado Auditoría Content-oh!";
68
+
69
+ case "FAP":
70
+ return "Finalización Auditoría por Proveedor";
71
+
72
+ default:
73
+ return "";
59
74
  }
60
75
  };
61
76
 
@@ -113,6 +128,18 @@ var getStatusColor = function getStatusColor(status) {
113
128
  case "Ex":
114
129
  return "#09CAD8";
115
130
 
131
+ case "SAC":
132
+ return "#2471A3";
133
+
134
+ case "AAC":
135
+ return "#1ABC9C";
136
+
137
+ case "RAC":
138
+ return "#229954";
139
+
140
+ case "FAP":
141
+ return "#F1C40F";
142
+
116
143
  default:
117
144
  return "white";
118
145
  }
@@ -21,7 +21,7 @@ var Header = _styledComponents.default.div(_templateObject2 || (_templateObject2
21
21
 
22
22
  exports.Header = Header;
23
23
 
24
- var MessageContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n padding: 40px 20px;\n box-sizing: border-box;\n width: 600px;\n min-height: ", ";\n background: #281f33;\n border-radius: 39px;\n"])), function (props) {
24
+ var MessageContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n padding: 40px 20px;\n box-sizing: border-box;\n width: 600px;\n min-height: ", ";\n background: #281f33;\n border-radius: 39px;\n & > .generic-text {\n width: 100%;\n font-family: Raleway;\n font-style: normal;\n font-weight: normal;\n font-size: 16px;\n text-align: center;\n color: #f7f7f7;\n margin: 20px 0px;\n }\n"])), function (props) {
25
25
  return props.height ? "300px" : "190px";
26
26
  });
27
27
 
@@ -15,7 +15,7 @@ var _variables = require("../../../global-files/variables");
15
15
 
16
16
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
17
17
 
18
- var MainContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: fixed;\n top: 0;\n right: 0;\n width: 785px;\n height: 100vh;\n z-index: 5;\n background: #ffffff;\n box-sizing: border-box;\n font-family: ", ";\n & > * {\n padding: 0 30px;\n }\n box-shadow: -4px 0px 8px 0px rgba(0,0,0,0.1);\n .headerTitle {\n font-weight: bold;\n font-size: 25px;\n }\n\n display: grid;\n grid-template-columns: 1fr;\n grid-template-rows: 101px 120px 1fr 115px;\n grid-column-gap: 0px;\n grid-row-gap: 0px;\n\n .body {\n overflow-y: auto;\n }\n .footer {\n width: 100%;\n display: flex;\n align-items: center;\n height: 115px;\n border-top: 1px solid #e6e6e6;\n position: sticky;\n bottom: 0;\n padding: 20px;\n box-sizing: border-box;\n > h2 {\n margin-right: 20px;\n }\n > div {\n margin-right: 10px;\n }\n }\n"])), _variables.FontFamily.Roboto);
18
+ var MainContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: fixed;\n top: 0;\n right: 0;\n width: 785px;\n height: 100vh;\n z-index: 5;\n background: #ffffff;\n box-sizing: border-box;\n font-family: ", ";\n & > * {\n padding: 0 30px;\n }\n box-shadow: -4px 0px 8px 0px rgba(0, 0, 0, 0.1);\n .headerTitle {\n font-weight: bold;\n font-size: 25px;\n }\n\n display: grid;\n grid-template-columns: 1fr;\n grid-template-rows: 101px 120px 1fr 115px;\n grid-column-gap: 0px;\n grid-row-gap: 0px;\n\n .body {\n overflow-y: auto;\n }\n .footer {\n width: 100%;\n display: flex;\n align-items: center;\n height: 115px;\n border-top: 1px solid #e6e6e6;\n position: sticky;\n bottom: 0;\n padding: 20px;\n box-sizing: border-box;\n > h2 {\n margin-right: 20px;\n }\n > div {\n margin-right: 10px;\n }\n }\n"])), _variables.FontFamily.Roboto);
19
19
 
20
20
  exports.MainContainer = MainContainer;
21
21
 
@@ -17,7 +17,7 @@ var Header = _styledComponents.default.div(_templateObject || (_templateObject =
17
17
 
18
18
  exports.Header = Header;
19
19
 
20
- var Column = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n height: 35px;\n width: ", ";\n padding: 10px 15px;\n font-family: Roboto;\n font-size: 12px;\n color: ", ";\n font-weight: ", ";\n white-space: nowrap;\n text-overflow: ellipsis;\n .flex {\n display: flex;\n }\n .material-icons.small {\n font-size: 18px;\n color: #b3b3b3;\n }\n .center {\n margin: auto;\n }\n &:nth-child(-n + 2) {\n overflow: hidden;\n }\n\n .tooltip {\n position: relative;\n display: inline-block;\n }\n\n .tooltip .tooltiptext {\n visibility: hidden;\n background-color: #fff;\n color: black;\n text-align: center;\n padding: 5px 0;\n border-radius: 3px;\n\n position: absolute;\n z-index: 1;\n top: -8px;\n left: 3px;\n font-family: Roboto;\n font-size: 10px;\n padding: 2px 5px;\n }\n\n .tooltip:hover .tooltiptext {\n visibility: visible;\n }\n"])), function (_ref) {
20
+ var Column = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n height: 35px;\n width: ", ";\n padding: 10px 15px;\n font-family: Roboto;\n font-size: 12px;\n color: ", ";\n font-weight: ", ";\n white-space: nowrap;\n text-overflow: ellipsis;\n .flex {\n display: flex;\n }\n .material-icons.small {\n font-size: 18px;\n color: #b3b3b3;\n }\n .center {\n margin: auto;\n }\n &:nth-child(-n + 2) {\n overflow: hidden;\n }\n .tooltip {\n position: relative;\n display: inline-block;\n }\n\n .tooltip .tooltiptext {\n visibility: hidden;\n background-color: #fff;\n color: black;\n text-align: center;\n padding: 5px 0;\n border-radius: 3px;\n\n position: absolute;\n z-index: 1;\n top: -8px;\n left: 3px;\n font-family: Roboto;\n font-size: 10px;\n padding: 2px 5px;\n }\n\n .tooltip:hover .tooltiptext {\n visibility: visible;\n }\n"])), function (_ref) {
21
21
  var width = _ref.width;
22
22
  return "".concat(width, "px");
23
23
  }, function (_ref2) {
@@ -27,76 +27,64 @@ var DashboardDeafult = Template.bind({});
27
27
  exports.DashboardDeafult = DashboardDeafult;
28
28
  DashboardDeafult.args = {
29
29
  user: {
30
- id_user: 59,
31
- name: "Cadena",
32
- last_name: "Comercial",
33
- email: "cadena.ismael@allfreemail.net",
34
- position: "Admin",
35
- telephone: "+523111366336",
30
+ id_user: 133,
31
+ name: "Financiado Bodega",
32
+ last_name: "Aurrera",
33
+ email: "financiadobodega@allfreemail.net",
34
+ position: "TI",
35
+ telephone: "+527777777777",
36
36
  country: "México",
37
- id_company: 817,
38
- id_cognito: "5884ae34-59d6-4454-b98e-821518bcc3a7",
37
+ id_company: 912,
38
+ id_cognito: "25481a4f-e8c7-4104-b772-64fdb291a640",
39
39
  birth_Date: null,
40
- about_me: "",
41
- zip_code: "",
42
- address: "",
43
- job: "",
44
- id_stripe: "",
40
+ about_me: null,
41
+ zip_code: null,
42
+ address: null,
43
+ job: null,
44
+ id_stripe: null,
45
45
  id_role: 0,
46
46
  active: 1,
47
- is_retailer: 1,
48
- email_notify: 0,
47
+ is_retailer: 0,
48
+ email_notify: 1,
49
49
  is_user_tech: null,
50
50
  membership: {
51
- id: 47,
52
- start_date: "2022-05-25T14:31:12.000Z",
53
- end_date: "2023-05-25T14:31:12.000Z",
54
- planID: 5,
55
- plan: "prod_Ktl6B5Ou2gqTB2",
51
+ id: 101,
52
+ start_date: "2022-12-22T19:16:53.000Z",
53
+ end_date: "2023-12-22T19:16:53.000Z",
54
+ planID: 8,
55
+ plan: "prod_KtlhECVSFG2iro",
56
56
  name: "Plan Pro",
57
- user_limit: "5",
58
- products_limit: "500",
59
- type: "PyMES"
57
+ user_limit: "20",
58
+ products_limit: "5000",
59
+ type: "Enterprise"
60
60
  },
61
- src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1681406304781"
61
+ src: "https://content-management-profile.s3.amazonaws.com/id-133/133.png?1684388625309"
62
62
  },
63
63
  company: {
64
- id_company: 817,
65
- trade_name: "Retailer acc",
66
- company_name: "Retailer acc",
67
- rfc: "ASER12345",
68
- adress: "Av. Insurgentes",
64
+ id_company: 912,
65
+ trade_name: "Financiado Bodega",
66
+ company_name: "Bodega",
67
+ rfc: "9395jwhs",
68
+ adress: "Toluca",
69
69
  about_company: null,
70
70
  telephone: null,
71
71
  web_site: null,
72
72
  zip_code: null,
73
73
  email: null,
74
74
  social_link: null,
75
- is_retailer: 1,
75
+ is_retailer: 0,
76
76
  financedRetailers: [{
77
- id: 68,
78
- name: "The Home Depot Merchants",
77
+ id: 70,
78
+ name: "Bodega Aurrera",
79
79
  country: "México",
80
80
  id_region: 1,
81
81
  active: 1
82
82
  }],
83
83
  retailers: [{
84
- id: 59,
85
- name: "The Home Depot Platinum",
86
- country: "México"
87
- }, {
88
- id: 60,
89
- name: "The Home Depot Resizing",
90
- country: "México"
91
- }, {
92
- id: 61,
93
- name: "Home Depot TAB",
94
- country: "México"
95
- }, {
96
- id: 68,
97
- name: "The Home Depot Merchants",
84
+ id: 70,
85
+ name: "Bodega Aurrera",
98
86
  country: "México"
99
87
  }]
100
88
  },
101
- jwt: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIyNDlhMjJkMC00Y2VhLTRjNGEtYTNjYS0zM2ZjN2VmNjAwOTEiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0c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Iws9FGsWl_CalkYG3HMR84psAIEA3kSYpiSF_biOySrXpX6H1HZjLRRR_6-P0AxNVZ6kmVTYbSO4vgmbEsO_feoDwtIxPWc3O7htOcevCAM8KyjmmQwlI52y4caQ"
102
90
  };
@@ -455,7 +455,7 @@ var Dashboard = function Dashboard(_ref) {
455
455
  parameterArray: datesRange,
456
456
  setParameterArray: setDatesRange,
457
457
  isSingleSelect: true
458
- }), (providers === null || providers === void 0 ? void 0 : providers.length) > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CustomSelect.CustomSelect, {
458
+ }), company.financedRetailers[0].id !== 70 && (providers === null || providers === void 0 ? void 0 : providers.length) > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CustomSelect.CustomSelect, {
459
459
  showFilterString: true,
460
460
  showSearchBar: true,
461
461
  options: providers,
@@ -475,7 +475,7 @@ var Dashboard = function Dashboard(_ref) {
475
475
  parameterArray: categoryId,
476
476
  setParameterArray: setCategoryId,
477
477
  defaultOption: "Todas las categor\xEDas"
478
- }), (retailers === null || retailers === void 0 ? void 0 : retailers.length) > 1 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CustomSelect.CustomSelect, {
478
+ }), company.financedRetailers[0].id !== 70 && (retailers === null || retailers === void 0 ? void 0 : retailers.length) > 1 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CustomSelect.CustomSelect, {
479
479
  showFilterString: true,
480
480
  showSearchBar: true,
481
481
  options: retailers,
@@ -31,41 +31,109 @@ ProviderProductEditionDefault.args = {
31
31
  "Ficha técnica": false,
32
32
  Imágenes: false
33
33
  },
34
- token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI1ODg0YWUzNC01OWQ2LTQ0NTQtYjk4ZS04MjE1MThiY2MzYTciLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnR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hPHFCymrkFYYDB8bVvKnxUUCX_nJvqGQkl48JiYgvYVLpuus5FvRkGwi1u-jTtMoKiUK-jw9MxI18hD0FWXVnJr-q9ftf2d0bv4JRv4XJ_tRh1N6jps5n3c_KKZswqRfGLU-8MS2X3DU6pDqEP2BZAGXksiFYXYH_uHE6BKJAl7EEhkDTqZsx_jWtVSXTdDg_QDKrOw0Kg",
35
35
  articleId: 238,
36
36
  category: 846,
37
37
  version: 2,
38
38
  productSelected: {
39
- category: "Iluminación|Lámparas de Interior|Pie y Pedestal",
40
- company_name: "Demo",
41
- company_id: 923,
42
- id_category: "2676",
43
- id_article: 17163,
44
- name: "Eglo 95055",
45
- upc: "165033",
46
- version: 1,
39
+ orderId: 15165,
40
+ article_status: "AAC",
41
+ datasheet_status: "AAC",
42
+ description_status: "FAP",
43
+ images_status: "FAP",
44
+ prio: "none",
45
+ version: 3,
46
+ brand: null,
47
+ article: {
48
+ category: "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
49
+ company_name: "Demo",
50
+ id_company: 923,
51
+ country: "México",
52
+ id_category: "2366",
53
+ id_article: 39336,
54
+ name: "Prueba Auditoria",
55
+ upc: "100030124"
56
+ },
57
+ retailers: [{
58
+ id: 58,
59
+ name: "The Home Depot Golden"
60
+ }, {
61
+ id: 68,
62
+ name: "The Home Depot Dropship"
63
+ }],
64
+ services: {
65
+ datasheets: 1,
66
+ descriptions: 1,
67
+ images: 1
68
+ },
69
+ statusByRetailer: {
70
+ 58: {
71
+ datasheet: "AAC",
72
+ description: "FAP",
73
+ images: "FAP"
74
+ }
75
+ },
76
+ retailersWithService: ["58"],
77
+ id_article: 39336,
47
78
  retailersAvailable: [{
79
+ id: 58,
80
+ name: "The Home Depot Golden"
81
+ }, {
48
82
  id: 68,
49
- name: "The Home Depot Merchants"
83
+ name: "The Home Depot Dropship"
50
84
  }]
51
85
  },
52
86
  productToEdit: {
53
- idCategory: "2676",
54
- ArticleId: 17163,
55
- product: [{
56
- category: "Iluminación|Lámparas de Interior|Pie y Pedestal",
57
- company_name: "Demo",
58
- company_id: 923,
59
- id_category: "2676",
60
- id_article: 17163,
61
- name: "Eglo 95055",
62
- upc: "165033",
63
- version: 1,
87
+ ArticleId: 39336,
88
+ idCategory: "2366",
89
+ product: {
90
+ orderId: 15165,
91
+ article_status: "AAC",
92
+ datasheet_status: "AAC",
93
+ description_status: "FAP",
94
+ images_status: "FAP",
95
+ prio: "none",
96
+ version: 3,
97
+ brand: null,
98
+ article: {
99
+ category: "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
100
+ company_name: "Demo",
101
+ id_company: 923,
102
+ country: "México",
103
+ id_category: "2366",
104
+ id_article: 39336,
105
+ name: "Prueba Auditoria",
106
+ upc: "100030124"
107
+ },
108
+ retailers: [{
109
+ id: 58,
110
+ name: "The Home Depot Golden"
111
+ }, {
112
+ id: 68,
113
+ name: "The Home Depot Dropship"
114
+ }],
115
+ services: {
116
+ datasheets: 1,
117
+ descriptions: 1,
118
+ images: 1
119
+ },
120
+ statusByRetailer: {
121
+ 58: {
122
+ datasheet: "AAC",
123
+ description: "FAP",
124
+ images: "FAP"
125
+ }
126
+ },
127
+ retailersWithService: ["58"],
128
+ id_article: 39336,
64
129
  retailersAvailable: [{
130
+ id: 58,
131
+ name: "The Home Depot Golden"
132
+ }, {
65
133
  id: 68,
66
- name: "The Home Depot Merchants"
134
+ name: "The Home Depot Dropship"
67
135
  }]
68
- }]
136
+ }
69
137
  },
70
138
  location: {
71
139
  pathname: "/EditProducts",
@@ -108,7 +176,7 @@ ProviderProductEditionDefault.args = {
108
176
  products_limit: "500",
109
177
  type: "PyMES"
110
178
  },
111
- src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1680038627077"
179
+ src: "https://content-management-profile.s3.amazonaws.com/id-59/59.png?1682462786497"
112
180
  },
113
181
  company: {
114
182
  id_company: 817,
@@ -125,7 +193,7 @@ ProviderProductEditionDefault.args = {
125
193
  is_retailer: 1,
126
194
  financedRetailers: [{
127
195
  id: 68,
128
- name: "The Home Depot Merchants",
196
+ name: "The Home Depot Dropship",
129
197
  country: "México",
130
198
  id_region: 1,
131
199
  active: 1
@@ -144,7 +212,11 @@ ProviderProductEditionDefault.args = {
144
212
  country: "México"
145
213
  }, {
146
214
  id: 68,
147
- name: "The Home Depot Merchants",
215
+ name: "The Home Depot Dropship",
216
+ country: "México"
217
+ }, {
218
+ id: 58,
219
+ name: "The Home Depot Golden",
148
220
  country: "México"
149
221
  }]
150
222
  },