contentoh-components-library 21.1.78 → 21.1.81

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 (48) hide show
  1. package/dist/components/atoms/AsignationOption/index.js +2 -2
  2. package/dist/components/atoms/ProductPercentCard/Percent.stories.js +1 -1
  3. package/dist/components/atoms/ProductPercentCard/styles.js +1 -1
  4. package/dist/components/atoms/ProgressBar/styles.js +1 -1
  5. package/dist/components/atoms/StatusTag/StatusTag.stories.js +48 -0
  6. package/dist/components/atoms/StatusTag/index.js +58 -0
  7. package/dist/components/atoms/StatusTag/styles.js +20 -0
  8. package/dist/components/molecules/AssignedWork/AssignedWork.stories.js +1 -1
  9. package/dist/components/molecules/AssignedWork/styles.js +1 -1
  10. package/dist/components/molecules/ProductNameHeader/index.js +2 -2
  11. package/dist/components/molecules/StatusAsignationInfo/index.js +6 -8
  12. package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
  13. package/dist/components/organisms/VersionSelector/index.js +13 -17
  14. package/dist/components/organisms/VersionSelector/styles.js +1 -1
  15. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +6 -2
  16. package/dist/components/pages/ProviderProductEdition/index.js +433 -433
  17. package/dist/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +37 -0
  18. package/dist/components/pages/RegistrationLoginFirstStep/index.js +269 -0
  19. package/dist/components/pages/RegistrationLoginFirstStep/styles.js +20 -0
  20. package/dist/components/pages/RetailerProductEdition/index.js +209 -223
  21. package/dist/global-files/customHooks.js +19 -11
  22. package/dist/global-files/data.js +8 -8
  23. package/dist/index.js +14 -1
  24. package/package.json +1 -1
  25. package/src/components/atoms/AsignationOption/index.js +2 -2
  26. package/src/components/atoms/ProductPercentCard/Percent.stories.js +12 -11
  27. package/src/components/atoms/ProductPercentCard/styles.js +9 -9
  28. package/src/components/atoms/ProgressBar/styles.js +8 -7
  29. package/src/components/atoms/StatusTag/index.js +37 -0
  30. package/src/components/atoms/{Status → StatusTag}/styles.js +10 -7
  31. package/src/components/molecules/AssignedWork/AssignedWork.stories.js +8 -8
  32. package/src/components/molecules/AssignedWork/styles.js +10 -9
  33. package/src/components/molecules/ProductNameHeader/index.js +2 -2
  34. package/src/components/molecules/StatusAsignationInfo/index.js +4 -6
  35. package/src/components/organisms/FullProductNameHeader/index.js +2 -2
  36. package/src/components/organisms/VersionSelector/index.js +10 -3
  37. package/src/components/organisms/VersionSelector/styles.js +1 -0
  38. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +3 -2
  39. package/src/components/pages/ProviderProductEdition/index.js +250 -233
  40. package/src/components/pages/RetailerProductEdition/index.js +177 -152
  41. package/src/global-files/customHooks.js +14 -14
  42. package/src/global-files/data.js +8 -8
  43. package/src/index.js +2 -1
  44. package/dist/components/atoms/Status/Status.stories.js +0 -31
  45. package/dist/components/atoms/Status/index.js +0 -23
  46. package/dist/components/atoms/Status/styles.js +0 -20
  47. package/src/components/atoms/Status/Status.stories.js +0 -14
  48. package/src/components/atoms/Status/index.js +0 -13
@@ -5,31 +5,39 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.closeModals = void 0;
8
+ exports.useCloseModal = void 0;
9
9
 
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
11
11
 
12
12
  var _react = require("react");
13
13
 
14
- var closeModals = function closeModals(id) {
14
+ var useCloseModal = function useCloseModal(id) {
15
15
  var _useState = (0, _react.useState)(false),
16
16
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
17
17
  showModal = _useState2[0],
18
18
  setShowModal = _useState2[1];
19
19
 
20
- (0, _react.useEffect)(function () {
21
- var closeModal = function closeModal(e) {
22
- if ((!e.target.closest("#".concat(id)) || e.target.closest("#close-button") || e.target.closest("#add-version")) && showModal) {
23
- document.removeEventListener("click", closeModal);
24
- setShowModal(false);
25
- }
26
- };
20
+ var closeModal = function closeModal(e) {
21
+ e.stopPropagation();
22
+ e.preventDefault();
23
+ console.log(e.target);
24
+
25
+ if (!e.target.closest("#".concat(id)) && showModal) {
26
+ document.removeEventListener("click", closeModal, false);
27
+ setShowModal(false);
28
+ }
29
+ };
27
30
 
31
+ (0, _react.useEffect)(function () {
28
32
  if (showModal) {
29
- document.addEventListener("click", closeModal);
33
+ document.addEventListener("click", closeModal, false);
30
34
  }
35
+
36
+ return function () {
37
+ document.removeEventListener("click", closeModal, false);
38
+ };
31
39
  }, [showModal]);
32
40
  return [showModal, setShowModal];
33
41
  };
34
42
 
35
- exports.closeModals = closeModals;
43
+ exports.useCloseModal = useCloseModal;
@@ -280,18 +280,18 @@ var getNewStatus = function getNewStatus(statusArray) {
280
280
  statusArray.forEach(function (element) {
281
281
  return lookupString += element + "/";
282
282
  });
283
- if (lookupString.includes("RCA")) return "RCA";
284
- if (lookupString.includes("RC")) return "RC";
283
+ if (lookupString.includes("RF")) return "RF";
285
284
  if (lookupString.includes("RA")) return "RA";
286
285
  if (lookupString.includes("RP")) return "RP";
287
- if (lookupString.includes("ACA")) return "ACA";
288
- if (lookupString.includes("PA")) return "PA";
289
- if (lookupString.includes("CA")) return "CA";
290
- if (lookupString.includes("IE")) return "IE";
291
- if (lookupString.includes("AC")) return "AC";
286
+ if (lookupString.includes("RC")) return "RC";
287
+ if (lookupString.includes("UNASSIGNED")) return "IN_PROGRESS";
288
+ if (lookupString.includes("IN_PROGRESS")) return "IN_PROGRESS";
289
+ if (lookupString.includes("QF")) return "QF";
290
+ if (lookupString.includes("AF")) return "AF";
292
291
  if (lookupString.includes("AA")) return "AA";
293
292
  if (lookupString.includes("AP")) return "AP";
294
- if (lookupString.includes("R")) return "R";
293
+ if (lookupString.includes("AC")) return "AC";
294
+ if (lookupString.includes("RECEIVED")) return "RECEIVED";
295
295
  if (lookupString.includes("NA")) return "NA";
296
296
  return new Error("Status not found");
297
297
  };
package/dist/index.js CHANGED
@@ -264,7 +264,7 @@ Object.keys(_index20).forEach(function (key) {
264
264
  });
265
265
  });
266
266
 
267
- var _index21 = require("./components/atoms/Status/index");
267
+ var _index21 = require("./components/atoms/StatusTag/index");
268
268
 
269
269
  Object.keys(_index21).forEach(function (key) {
270
270
  if (key === "default" || key === "__esModule") return;
@@ -784,6 +784,19 @@ Object.keys(_OnboardPlan).forEach(function (key) {
784
784
  });
785
785
  });
786
786
 
787
+ var _RegistrationLoginFirstStep = require("./components/pages/RegistrationLoginFirstStep");
788
+
789
+ Object.keys(_RegistrationLoginFirstStep).forEach(function (key) {
790
+ if (key === "default" || key === "__esModule") return;
791
+ if (key in exports && exports[key] === _RegistrationLoginFirstStep[key]) return;
792
+ Object.defineProperty(exports, key, {
793
+ enumerable: true,
794
+ get: function get() {
795
+ return _RegistrationLoginFirstStep[key];
796
+ }
797
+ });
798
+ });
799
+
787
800
  var _RegistrationLoginSecondStep = require("./components/pages/RegistrationLoginSecondStep");
788
801
 
789
802
  Object.keys(_RegistrationLoginSecondStep).forEach(function (key) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.1.78",
3
+ "version": "21.1.81",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -6,7 +6,7 @@ import requesToProvider from "../../../assets/images/asignationOptions/requestTo
6
6
  import requestToTeam from "../../../assets/images/asignationOptions/requestToTeam.svg";
7
7
  import availableIcon from "../../../assets/images/asignationOptions/availableIcon.svg";
8
8
  import { getNewStatus } from "../../../global-files/data";
9
- import { Status } from "../Status";
9
+ import { StatusTag } from "../StatusTag";
10
10
 
11
11
  export const AsignationOption = ({
12
12
  profileImage,
@@ -51,7 +51,7 @@ export const AsignationOption = ({
51
51
  {asignationType && iconsAsignation[asignationType]}
52
52
  {services && (
53
53
  <div className="status-container">
54
- <Status statusType={getStatus()} />
54
+ <StatusTag statusType={getStatus()} />
55
55
  </div>
56
56
  )}
57
57
  {active && <div className="green-circle"></div>}
@@ -3,18 +3,18 @@ import { ProductPercentCard } from "./index";
3
3
  const status = [
4
4
  "-",
5
5
  "Pr",
6
- "R",
7
- "AS",
8
- "CA",
9
- "IE",
10
- "AC",
6
+ "Rc",
7
+ "As",
8
+ "P",
9
+ "QF",
10
+ "AF",
11
11
  "AA",
12
12
  "AP",
13
- "ACA",
13
+ "AC",
14
14
  "RA",
15
- "RC",
15
+ "RF",
16
16
  "RP",
17
- "RCA",
17
+ "RC",
18
18
  "Ex",
19
19
  ];
20
20
 
@@ -29,12 +29,13 @@ export default {
29
29
  },
30
30
  };
31
31
 
32
- const Template = (args) => <ProductPercentCard {...args} />;
32
+ const Template = (args) => <ProductPercentCard {...args}/>;
33
33
 
34
- export const ProductPercentCardDefault = Template.bind({});
34
+ export const ProductPercentCardDefault = Template.bind ({});
35
35
 
36
36
  ProductPercentCardDefault.args = {
37
37
  statusType: "-",
38
38
  productsInStatus: 0,
39
39
  totalProcucts: 0,
40
- };
40
+
41
+ };
@@ -8,8 +8,8 @@ export const Container = styled.div`
8
8
  height: 83px;
9
9
  padding: 10px;
10
10
 
11
- &.status-PA,
12
- &.status-RC {
11
+ &.status-Pr,
12
+ &.status-Rc {
13
13
  border: 1px solid ${GlobalColors.reception};
14
14
  .span {
15
15
  color: ${GlobalColors.reception};
@@ -22,19 +22,19 @@ export const Container = styled.div`
22
22
  }
23
23
  }
24
24
 
25
- &.status-AS,
26
- &.status-CA,
27
- &.status-IE {
25
+ &.status-As,
26
+ &.status-P,
27
+ &.status-QF {
28
28
  border: 1px solid ${GlobalColors.in_progress};
29
29
  .span {
30
30
  color: ${GlobalColors.in_progress};
31
31
  }
32
32
  }
33
33
 
34
- &.status-AC,
34
+ &.status-AF,
35
35
  &.status-AA,
36
36
  &.status-AP,
37
- &.status-ACA {
37
+ &.status-AC {
38
38
  border: 1px solid ${GlobalColors.finished};
39
39
  .span {
40
40
  color: ${GlobalColors.finished};
@@ -42,9 +42,9 @@ export const Container = styled.div`
42
42
  }
43
43
 
44
44
  &.status-RA,
45
- &.status-RC,
45
+ &.status-RF,
46
46
  &.status-RP,
47
- &.status-RCA {
47
+ &.status-RC {
48
48
  border: 1px solid #d74ded;
49
49
  .span {
50
50
  color: #d74ded;
@@ -16,26 +16,27 @@ export const Container = styled.div`
16
16
  ? GlobalColors.s4
17
17
  : GlobalColors.white};
18
18
 
19
- &.status-CA {
19
+ &.status-As,
20
+ &.status-P {
20
21
  background-color: ${GlobalColors.in_progress};
21
22
  }
22
23
 
23
- &.status-R,
24
- &.status-AS {
24
+ &.status-Pr,
25
+ &.status-Rr {
25
26
  background-color: ${GlobalColors.reception};
26
27
  }
27
28
 
28
29
  &.status-AA,
29
30
  &.status-AP,
30
- &.status-ACA,
31
- &.status-AC {
31
+ &.status-AC,
32
+ &.status-AF {
32
33
  background-color: ${GlobalColors.finished};
33
34
  }
34
35
 
35
36
  &.status-RA,
36
- &.status-RC,
37
+ &.status-RF,
37
38
  &.status-RP,
38
- &.status-RCA {
39
+ &.status-RC {
39
40
  background-color: ${GlobalColors.rejected_status};
40
41
  }
41
42
 
@@ -0,0 +1,37 @@
1
+ import { Container } from "./styles";
2
+
3
+ export const StatusTag = ({ statusType, ovalForm }) => {
4
+ const getShortStatus = (status) => {
5
+ switch (status) {
6
+ case "COMPLETED":
7
+ return "C";
8
+ case "RECEPTION":
9
+ return "Pr";
10
+ case "NULL":
11
+ return "-";
12
+ case "RECEIVED":
13
+ return "Rc";
14
+ case "IN_PROGRESS":
15
+ return "P";
16
+ case "ASSIGNED":
17
+ return "As";
18
+ case "APPROVED":
19
+ return "Ap";
20
+ case "VALIDATING":
21
+ return "V";
22
+ case "PAID_OUT":
23
+ return "Po";
24
+ default:
25
+ return status;
26
+ }
27
+ };
28
+ return (
29
+ <Container
30
+ className={`status-${getShortStatus(statusType)} ${
31
+ ovalForm && "oval-form"
32
+ }`}
33
+ >
34
+ <p>{getShortStatus(statusType)}</p>
35
+ </Container>
36
+ );
37
+ };
@@ -16,27 +16,30 @@ export const Container = styled.div`
16
16
  line-height: 20px;
17
17
  }
18
18
 
19
- &.status-CA,
20
- &.status-IE {
19
+ &.status-As,
20
+ &.status-P,
21
+ &.status-IN_PROGRESS,
22
+ &.status-QF {
21
23
  background-color: ${GlobalColors.in_progress};
22
24
  }
23
25
 
24
- &.status-R,
25
- &.status-AS {
26
+ &.status-Pr,
27
+ &.status-Rr,
28
+ &.status-Rc {
26
29
  background-color: ${GlobalColors.reception};
27
30
  }
28
31
 
29
32
  &.status-AA,
30
33
  &.status-AP,
31
34
  &.status-AC,
32
- &.status-ACA {
35
+ &.status-AF {
33
36
  background-color: ${GlobalColors.finished};
34
37
  }
35
38
 
36
39
  &.status-RA,
37
- &.status-RC,
40
+ &.status-RF,
38
41
  &.status-RP,
39
- &.status-RCA {
42
+ &.status-RC {
40
43
  background-color: ${GlobalColors.rejected_status};
41
44
  }
42
45
 
@@ -5,18 +5,18 @@ import assignedImage2 from "../../../assets/images/componentAssigned/assignedIma
5
5
  const status = [
6
6
  "-",
7
7
  "Pr",
8
- "R",
9
- "AS",
10
- "CA",
11
- "IE",
12
- "AC",
8
+ "Rc",
9
+ "As",
10
+ "P",
11
+ "QF",
12
+ "AF",
13
13
  "AA",
14
14
  "AP",
15
- "ACA",
15
+ "AC",
16
16
  "RA",
17
- "RC",
17
+ "RF",
18
18
  "RP",
19
- "RCA",
19
+ "RC",
20
20
  "Ex",
21
21
  ];
22
22
 
@@ -9,8 +9,8 @@ export const Container = styled.div`
9
9
  padding-bottom: 5px;
10
10
  position: relative;
11
11
 
12
- &.status-PA,
13
- &.status-R {
12
+ &.status-Pr,
13
+ &.status-Rc {
14
14
  border: 1px solid ${GlobalColors.reception};
15
15
  .header-and-paragraph {
16
16
  color: ${GlobalColors.reception};
@@ -23,19 +23,19 @@ export const Container = styled.div`
23
23
  }
24
24
  }
25
25
 
26
- &.status-AA,
27
- &.status-CA,
28
- &.status-IE {
26
+ &.status-As,
27
+ &.status-P,
28
+ &.status-QF {
29
29
  border: 1px solid ${GlobalColors.in_progress};
30
30
  .header-and-paragraph {
31
31
  color: ${GlobalColors.in_progress};
32
32
  }
33
33
  }
34
34
 
35
- &.status-AC,
35
+ &.status-AF,
36
36
  &.status-AA,
37
37
  &.status-AP,
38
- &.status-ACA {
38
+ &.status-AC {
39
39
  border: 1px solid ${GlobalColors.finished};
40
40
  .header-and-paragraph {
41
41
  color: ${GlobalColors.finished};
@@ -43,9 +43,9 @@ export const Container = styled.div`
43
43
  }
44
44
 
45
45
  &.status-RA,
46
- &.status-RC,
46
+ &.status-RF,
47
47
  &.status-RP,
48
- &.status-RCA {
48
+ &.status-RC {
49
49
  border: 1px solid #d74ded;
50
50
  .header-and-paragraph {
51
51
  color: #d74ded;
@@ -56,6 +56,7 @@ export const Container = styled.div`
56
56
  border: 1px solid ${GlobalColors.exported};
57
57
  .header-and-paragraph {
58
58
  color: ${GlobalColors.exported};
59
+
59
60
  }
60
61
  }
61
62
 
@@ -1,6 +1,6 @@
1
1
  import { Container } from "./styles";
2
2
  import { ScreenHeader } from "../../atoms/ScreenHeader/index";
3
- import { Status } from "../../atoms/Status/index";
3
+ import { StatusTag } from "../../atoms/StatusTag/index";
4
4
  import { ProgressBar } from "../../atoms/ProgressBar/index";
5
5
  import { PriorityFlag } from "../../atoms/PriorityFlag/index";
6
6
 
@@ -14,7 +14,7 @@ export const ProductNameHeader = ({
14
14
  return (
15
15
  <Container>
16
16
  <ScreenHeader headerType={"product-name-header"} text={productName} />
17
- <Status statusType={statusType} />
17
+ <StatusTag statusType={statusType} />
18
18
  <ProgressBar percent={percent} progressBarType={statusType} />
19
19
  <PriorityFlag priority={priority} />
20
20
  <ScreenHeader headerType={"date-header"} text={date} />
@@ -1,7 +1,7 @@
1
1
  import { Container } from "./styles";
2
2
  import { ScreenHeader } from "../../atoms/ScreenHeader/index";
3
3
  import { Avatar } from "../../atoms/Avatar";
4
- import { Status as StatusTag } from "../../atoms/Status/index";
4
+ import { StatusTag } from "../../atoms/StatusTag/index";
5
5
  import { Button } from "../../atoms/GeneralButton";
6
6
  import { useEffect, useState } from "react";
7
7
  import { AsignationOption } from "../../atoms/AsignationOption/index";
@@ -74,12 +74,10 @@ export const StatusAsignationInfo = ({
74
74
  iconSize={"medium-image"}
75
75
  slidePosition={"bottom-slide"}
76
76
  />
77
- <Button
77
+ <img
78
78
  buttonType={"general circular-button version-button"}
79
- onClick={() => {
80
- setShowVersionSelector(true);
81
- }}
82
- label={`V${version}`}
79
+ onClick={setShowVersionSelector}
80
+ alt={`V${version}`}
83
81
  />
84
82
  {status !== "-" && <StatusTag statusType={status} ovalForm={true} />}
85
83
  {showSaveButton && (
@@ -26,7 +26,7 @@ export const FullProductNameHeader = ({
26
26
  const element = [];
27
27
  servicesData.forEach((sd) => {
28
28
  if (sd.id_retailer === rt.id) {
29
- element.push(sd.status ? sd.status : "R");
29
+ element.push(sd.status ? sd.status : "RECEIVED");
30
30
  } else element.push("NA");
31
31
  rt["services"] = element;
32
32
  });
@@ -81,4 +81,4 @@ export const FullProductNameHeader = ({
81
81
  </div>
82
82
  </Container>
83
83
  );
84
- };
84
+ };
@@ -16,8 +16,9 @@ export const VersionSelector = ({
16
16
  companyName,
17
17
  currentVersion,
18
18
  setShowCreateVersion,
19
+ setShowVersionSelector,
19
20
  }) => {
20
- const [versions, setVersions] = useState();
21
+ const [versions, setVersions] = useState([]);
21
22
 
22
23
  const loadProductVersions = async (articleId) => {
23
24
  try {
@@ -32,8 +33,13 @@ export const VersionSelector = ({
32
33
  }
33
34
  };
34
35
 
35
- useEffect(async () => {
36
- await loadProductVersions(articleId);
36
+ useEffect(() => {
37
+ loadProductVersions(articleId);
38
+
39
+ return () => {
40
+ setVersions([]);
41
+ setShowCreateVersion(false);
42
+ };
37
43
  }, []);
38
44
 
39
45
  return (
@@ -55,6 +61,7 @@ export const VersionSelector = ({
55
61
  <Button
56
62
  image={closeIcon}
57
63
  buttonType={"circular-button"}
64
+ onClick={() => setShowVersionSelector(false)}
58
65
  id="close-button"
59
66
  />
60
67
  </div>
@@ -10,6 +10,7 @@ export const Container = styled.div`
10
10
  position: absolute;
11
11
  right: 0;
12
12
  top: 0;
13
+ z-index: 500;
13
14
 
14
15
  .versions-header {
15
16
  display: flex;
@@ -12,8 +12,8 @@ export const ProviderProductEditionDefault = Template.bind({});
12
12
  ProviderProductEditionDefault.args = {
13
13
  tabsSections: {
14
14
  Descripción: true,
15
- "Ficha técnica": true,
16
- Imágenes: true,
15
+ "Ficha técnica": false,
16
+ Imágenes: false,
17
17
  },
18
18
  token:
19
19
  "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI5ZTQ0OGMwZS0xOGVkLTRlYWYtOWY4OC0zYjMxOTdkNGEyZmQiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6IjllNDQ4YzBlLTE4ZWQtNGVhZi05Zjg4LTNiMzE5N2Q0YTJmZCIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiI5ODg5YTFhYi1mMTljLTRiNzQtYjQ5Ni0xZDM3YzZjY2U3YmQiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NjQzMTQ5OCwibmFtZSI6IkdlcnNvbiBNYXJ0w61uZXoiLCJwaG9uZV9udW1iZXIiOiIrNTIxMjMxMjMxMjMiLCJleHAiOjE2NTY0MzUwOTgsImlhdCI6MTY1NjQzMTQ5OCwiZW1haWwiOiJnbWFydGluZXpAY29udGVudG9oLmNvbSJ9.qMBMYKxcaQrXT-3373y3K4eX73vgRApuFsT9-FVl9AuP_BKy51nHReEvwWHO4SMVpFxf3eHoQhUHG2PTl8qlvnoXlLqfCdgJEnq5DMFIOqcs_WzUHfb3k4r3y66DMzPwQI0aEk35ZYsAvkxd9m6Ax9fwJBuMCpb3jf7Az0SBpDvUgT7iRvS2b09UTwkW3ZIxfnaUE4uoqacoTUm7239AjuNe5Qh3UZl0rVvZ-mnh3SmAcNpxl-RtUEdcw4gO0MbIch39gIJ_1CcvBxXR2tVSUILZWfbpXI2ubA_sQZ0VJy5kWpe4pYF5beJISZ7sZ0Fzrv2ftE7poEtueYloftRfng",
@@ -96,6 +96,7 @@ ProviderProductEditionDefault.args = {
96
96
  ],
97
97
  },
98
98
  location: {
99
+ product: { articleId: 109485, versionId: 3 },
99
100
  state: { origin: "Contentoh" },
100
101
  },
101
102
  user: {