contentoh-components-library 21.4.32 → 21.4.34

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 (116) hide show
  1. package/dist/assets/fonts/roboto/LICENSE.txt +202 -0
  2. package/dist/components/atoms/Avatar/index.js +2 -3
  3. package/dist/components/atoms/Card/index.js +5 -46
  4. package/dist/components/atoms/Card/styles.js +1 -3
  5. package/dist/components/atoms/CheckBox/index.js +2 -7
  6. package/dist/components/atoms/CheckBox/styles.js +1 -1
  7. package/dist/components/atoms/InputFormatter/styles.js +1 -1
  8. package/dist/components/atoms/SliderToolTip/styles.js +1 -1
  9. package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
  10. package/dist/components/molecules/HeaderTop/index.js +11 -68
  11. package/dist/components/molecules/SignInLogin/index.js +42 -28
  12. package/dist/components/molecules/TagAndInput/index.js +1 -1
  13. package/dist/components/organisms/Chat/Chat.stories.js +8 -27
  14. package/dist/components/organisms/Chat/ContainerItems/index.js +3 -19
  15. package/dist/components/organisms/Chat/ContainerItems/styles.js +1 -1
  16. package/dist/components/organisms/Chat/ContentChat/index.js +197 -350
  17. package/dist/components/organisms/Chat/Footer/index.js +39 -48
  18. package/dist/components/organisms/Chat/index.js +4 -49
  19. package/dist/components/organisms/Chat/styles.js +1 -1
  20. package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
  21. package/dist/components/organisms/Modal/styles.js +1 -1
  22. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +4 -6
  23. package/dist/components/pages/ProviderProductEdition/index.js +142 -117
  24. package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
  25. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +3 -7
  26. package/dist/components/pages/RetailerProductEdition/index.js +274 -276
  27. package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
  28. package/dist/components/pages/RetailerProductEdition/utils.js +2 -61
  29. package/dist/index.js +52 -247
  30. package/package.json +1 -4
  31. package/src/components/atoms/Avatar/index.js +2 -8
  32. package/src/components/atoms/Card/index.js +2 -35
  33. package/src/components/atoms/Card/styles.js +5 -41
  34. package/src/components/atoms/CheckBox/index.js +1 -4
  35. package/src/components/atoms/CheckBox/styles.js +0 -2
  36. package/src/components/atoms/InputFormatter/styles.js +1 -2
  37. package/src/components/atoms/SliderToolTip/styles.js +1 -1
  38. package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
  39. package/src/components/molecules/HeaderTop/index.js +6 -52
  40. package/src/components/molecules/SignInLogin/index.js +13 -11
  41. package/src/components/molecules/TagAndInput/index.js +8 -10
  42. package/src/components/organisms/Chat/Chat.stories.js +7 -27
  43. package/src/components/organisms/Chat/ContainerItems/index.js +2 -18
  44. package/src/components/organisms/Chat/ContainerItems/styles.js +2 -14
  45. package/src/components/organisms/Chat/ContentChat/index.js +12 -88
  46. package/src/components/organisms/Chat/Footer/index.js +0 -11
  47. package/src/components/organisms/Chat/index.js +4 -46
  48. package/src/components/organisms/Chat/styles.js +0 -4
  49. package/src/components/organisms/FullProductNameHeader/index.js +1 -1
  50. package/src/components/organisms/Modal/styles.js +1 -4
  51. package/src/components/organisms/OrderDetail/utils/Table/utils.js +16 -6
  52. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +4 -6
  53. package/src/components/pages/ProviderProductEdition/index.js +129 -97
  54. package/src/components/pages/ProviderProductEdition/styles.js +1 -5
  55. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +2 -6
  56. package/src/components/pages/RetailerProductEdition/index.js +142 -111
  57. package/src/components/pages/RetailerProductEdition/styles.js +0 -4
  58. package/src/components/pages/RetailerProductEdition/utils.js +0 -37
  59. package/src/index.js +0 -15
  60. package/src/assets/images/defaultImages/check_circle.svg +0 -10
  61. package/src/components/atoms/ImageCarousel/ImgeSlider.stories.js +0 -76
  62. package/src/components/atoms/ImageCarousel/index.js +0 -103
  63. package/src/components/atoms/ImageCarousel/styles.js +0 -79
  64. package/src/components/atoms/PercentTag/PercentTag.stories.js +0 -7
  65. package/src/components/atoms/PercentTag/index.js +0 -9
  66. package/src/components/atoms/PercentTag/styles.js +0 -69
  67. package/src/components/atoms/RatingStars/RatingStars.stories.js +0 -10
  68. package/src/components/atoms/RatingStars/index.js +0 -31
  69. package/src/components/atoms/RatingStars/styles.js +0 -28
  70. package/src/components/atoms/RetailerCatalog/RetailerCatalog.stories.js +0 -36
  71. package/src/components/atoms/RetailerCatalog/index.js +0 -49
  72. package/src/components/atoms/RetailerCatalog/styles.js +0 -30
  73. package/src/components/atoms/RetailerOption/RetailerOption.stories.js +0 -15
  74. package/src/components/atoms/RetailerOption/index.js +0 -53
  75. package/src/components/atoms/RetailerOption/styles.js +0 -41
  76. package/src/components/atoms/RetailersList/RetailersList.stories.js +0 -33
  77. package/src/components/atoms/RetailersList/index.js +0 -20
  78. package/src/components/atoms/RetailersList/styles.js +0 -19
  79. package/src/components/atoms/UserCatalog/UserCatalog.stories.js +0 -67
  80. package/src/components/atoms/UserCatalog/index.js +0 -100
  81. package/src/components/atoms/UserCatalog/styles.js +0 -24
  82. package/src/components/atoms/UserOption/UserOption.stories.js +0 -25
  83. package/src/components/atoms/UserOption/index.js +0 -95
  84. package/src/components/atoms/UserOption/styles.js +0 -61
  85. package/src/components/atoms/UserSelector/UserSelector.stories.js +0 -25
  86. package/src/components/atoms/UserSelector/index.js +0 -86
  87. package/src/components/atoms/UserSelector/styles.js +0 -55
  88. package/src/components/molecules/GridItem/GridItem.stories.js +0 -126
  89. package/src/components/molecules/GridItem/index.js +0 -105
  90. package/src/components/molecules/GridItem/styles.js +0 -104
  91. package/src/components/molecules/HeaderItem/ColumnItem.js +0 -9
  92. package/src/components/molecules/HeaderItem/HeaderItem.stories.js +0 -24
  93. package/src/components/molecules/HeaderItem/index.js +0 -26
  94. package/src/components/molecules/HeaderItem/styles.js +0 -27
  95. package/src/components/molecules/RowItem/ColumnItem.js +0 -9
  96. package/src/components/molecules/RowItem/RowItem.stories.js +0 -5660
  97. package/src/components/molecules/RowItem/index.js +0 -45
  98. package/src/components/molecules/RowItem/styles.js +0 -40
  99. package/src/components/molecules/StripeCardForm/StripeCardForm.stories.js +0 -14
  100. package/src/components/molecules/StripeCardForm/index.js +0 -45
  101. package/src/components/molecules/StripeCardForm/paymentForm.js +0 -126
  102. package/src/components/molecules/StripeCardForm/styles.js +0 -84
  103. package/src/components/molecules/StripeCardSelector/CardSelector.stories.js +0 -12
  104. package/src/components/molecules/StripeCardSelector/index.js +0 -59
  105. package/src/components/molecules/StripeCardSelector/styles.js +0 -15
  106. package/src/components/molecules/StripeCardSelector/utils.js +0 -17
  107. package/src/components/organisms/GridProducts/GridProducts.stories.js +0 -5485
  108. package/src/components/organisms/GridProducts/index.js +0 -50
  109. package/src/components/organisms/GridProducts/styles.js +0 -14
  110. package/src/components/organisms/GridProducts/utils.js +0 -111
  111. package/src/components/organisms/PanelLayout/PanelLayout.stories.js +0 -63
  112. package/src/components/organisms/PanelLayout/index.js +0 -11
  113. package/src/components/organisms/PanelLayout/styles.js +0 -39
  114. package/src/components/organisms/SideModal/SideModal.stories.js +0 -23
  115. package/src/components/organisms/SideModal/index.js +0 -50
  116. package/src/components/organisms/SideModal/styles.js +0 -30
@@ -86,8 +86,7 @@ export const ContentChat = (props) => {
86
86
 
87
87
  // al cargar el componente
88
88
  useEffect(() => {
89
- //if (dataChat && showPopUpChat) {
90
- if (Object.keys(dataChat || {}).length) {
89
+ if (dataChat && showPopUpChat) {
91
90
  stopUpdate();
92
91
  if (dataChat.code) {
93
92
  setErrorChat({
@@ -101,7 +100,6 @@ export const ContentChat = (props) => {
101
100
  }
102
101
  if (chatType === "merchant_product") getInitialMerchantProduct();
103
102
  else if (chatType === "order_product") getInitialOrderProduct();
104
- else if (chatType === "product_status") getInitialProductStatus();
105
103
  else getInitialTicket();
106
104
  }
107
105
  if (!showPopUpChat) {
@@ -128,8 +126,6 @@ export const ContentChat = (props) => {
128
126
  } else if (chatType === "order_product") {
129
127
  if (companies) getUpdateLatestOrderProduct(true);
130
128
  else getInitialOrderProduct();
131
- } else if (chatType === "product_status") {
132
- getInitialProductStatus();
133
129
  } else {
134
130
  if (singleChat.items) getUpdateLatestTicket(true);
135
131
  else getInitialTicket();
@@ -139,47 +135,6 @@ export const ContentChat = (props) => {
139
135
  /*=======================================================================
140
136
  PETICION GET INICIAL SEGUN EL TIPO DE CHAT
141
137
  ======================================================================= */
142
- const getInitialProductStatus = async () => {
143
- const paramsQuery = {
144
- articleData: JSON.stringify({
145
- articleId: JSON.stringify(dataChat.id),
146
- version: JSON.stringify(dataChat.version),
147
- retailerId: JSON.stringify(dataChat.retailerId),
148
- status: dataChat.status,
149
- })
150
- };
151
- const paramsHeaders = { Authorization: dataChat.userToken };
152
- const response = await fetchGET(
153
- process.env.REACT_APP_READ_MESSAGES,
154
- paramsQuery,
155
- paramsHeaders
156
- );
157
- if (!response.body) {
158
- setErrorChat({
159
- existError: true,
160
- code: 400,
161
- message: response.message,
162
- errorDetail: response.errorDetail,
163
- });
164
- setIsLoading(false);
165
- return;
166
- }
167
- // success
168
- setStartUpdate((prev) => prev + 1);
169
- setCurrentUser({
170
- id: response.body.data.currentUserId,
171
- companyId: response.body.data.currentCompanyId,
172
- });
173
- setLastUpdateDate(response.body.data.lastUpdateDate);
174
- setAllUsers(response.body.users);
175
- setSingleChat({
176
- items: response.body.items,
177
- enabledLoadMore: response.body.items.length === 50,
178
- });
179
- setErrorChat({ existError: false });
180
- setIsLoading(false);
181
- };
182
-
183
138
  const getInitialMerchantProduct = async () => {
184
139
  const paramsQuery = {
185
140
  getType: "initial",
@@ -613,14 +568,14 @@ export const ContentChat = (props) => {
613
568
  };
614
569
 
615
570
  /*=======================================================================
616
- FUNCION QUE EJECUTA EL MICROSERVICIO CREATE-ITEM
571
+ FUNCION QUE EJECUTA EL MICROSERVICIO CREATE-ITEM
617
572
  Este metodo recibe los items que queremos agregar al chat.
618
573
  requiere:
619
- => items: [ { type , value } , ... ]
574
+ => items: [ { type , value } , ... ]
620
575
  NOTA: si se quiere agregar un mensaje mandar un array con un object
621
- example: [ {
622
- type: "message" ,
623
- value: "mi mensaje"
576
+ example: [ {
577
+ type: "message" ,
578
+ value: "mi mensaje"
624
579
  } ]
625
580
  ======================================================================= */
626
581
  const createItemsChat = async (items = []) => {
@@ -656,14 +611,12 @@ export const ContentChat = (props) => {
656
611
  // enviar items a la BD
657
612
  if (chatType === "merchant_product") {
658
613
  errorCreate = await createItemsMerchantProduct(items);
659
- } else if (chatType === "product_status") {
660
- errorCreate = await createItemsProductStatus(items);
661
614
  } else if (chatType === "order_product") {
662
615
  errorCreate = await createItemsOrderProduct(items);
663
616
  } else errorCreate = await createItemsTicket(items);
664
617
 
665
618
  // actualizar chat para que aparezcan los items enviados
666
- if (["merchant_product", "product_status"].includes(chatType)) {
619
+ if (chatType === "merchant_product") {
667
620
  await getUpdateLatestMerchantProduct();
668
621
  } else if (chatType === "order_product") {
669
622
  await getUpdateLatestOrderProduct();
@@ -676,10 +629,9 @@ export const ContentChat = (props) => {
676
629
  };
677
630
 
678
631
  const createItemsMerchantProduct = async (items = []) => {
679
- const { id, version, orderId } = dataChat;
632
+ const { id, version } = dataChat;
680
633
  const { id: retailerId } = activeRetailer;
681
634
  const paramsBody = { id, version, items, retailerId };
682
- if (chatType === "product_status") paramsBody["orderId"] = orderId;
683
635
  const paramsHeaders = { Authorization: dataChat.userToken };
684
636
  const response = await fetchPOST(
685
637
  process.env.REACT_APP_PRODUCTS_CHAT_ENDPOINT,
@@ -693,23 +645,6 @@ export const ContentChat = (props) => {
693
645
  };
694
646
  }
695
647
  };
696
- const createItemsProductStatus = async (items = []) => {
697
- const { id, version, orderId, status } = dataChat;
698
- const { id: retailerId } = activeRetailer;
699
- const paramsBody = { id, version, items, retailerId, orderId, status };
700
- const paramsHeaders = { Authorization: dataChat.userToken };
701
- const response = await fetchPOST(
702
- process.env.REACT_APP_CREATE_MESSAGES,
703
- paramsBody,
704
- paramsHeaders
705
- );
706
- if (!response.body) {
707
- return {
708
- message: response.message,
709
- errorDetail: response.errorDetail,
710
- };
711
- }
712
- };
713
648
 
714
649
  const createItemsOrderProduct = async (items = []) => {
715
650
  const paramsBody = {
@@ -757,11 +692,7 @@ export const ContentChat = (props) => {
757
692
  SECCION DE FUNCIONES
758
693
  ======================================================================= */
759
694
  const isSingleChat = () => {
760
- if (
761
- chatType === "merchant_product" ||
762
- chatType === "ticket" ||
763
- chatType === "product_status"
764
- ) {
695
+ if (chatType === "merchant_product" || chatType === "ticket") {
765
696
  return true;
766
697
  }
767
698
  if (companies && Object.keys(companies).length < 2) return true;
@@ -876,7 +807,7 @@ export const ContentChat = (props) => {
876
807
  // mostrar chat?
877
808
  let items;
878
809
  let enabledLoadMore;
879
- if (["merchant_product", "ticket", "product_status"].includes(chatType)) {
810
+ if (["merchant_product", "ticket"].includes(chatType)) {
880
811
  items = singleChat.items;
881
812
  enabledLoadMore = singleChat.enabledLoadMore;
882
813
  }
@@ -918,9 +849,7 @@ export const ContentChat = (props) => {
918
849
  activeCompanyId={activeCompanyId}
919
850
  ticketCompany={ticketCompany}
920
851
  currentUser={
921
- ["merchant_product", "order_product", "product_status"].includes(
922
- chatType
923
- )
852
+ ["merchant_product", "order_product"].includes(chatType)
924
853
  ? currentUser
925
854
  : dataChat.currentUser
926
855
  }
@@ -959,12 +888,6 @@ export const ContentChat = (props) => {
959
888
  ? { id: dataChat.id, version: currentArticle.version }
960
889
  : chatType === "ticket"
961
890
  ? { id: dataChat.id }
962
- : chatType === "product_status"
963
- ? {
964
- id: dataChat.id,
965
- version: dataChat.version,
966
- retailerId: dataChat.retailerId,
967
- }
968
891
  : undefined
969
892
  }
970
893
  chatCompany={getChatCompany()}
@@ -1007,6 +930,7 @@ export const ContentChat = (props) => {
1007
930
  }}
1008
931
  />
1009
932
  )}
933
+
1010
934
  {/* body */}
1011
935
  {renderBodyChat()}
1012
936
  </Container>
@@ -169,17 +169,6 @@ export const Footer = (props) => {
169
169
  errorMessage = "El ID del ticket no es valido";
170
170
  }
171
171
  break;
172
- case "product_status":
173
- if (
174
- isValidNaturalNumber(dataChat?.id) &&
175
- isValidNaturalNumber(dataChat?.version) &&
176
- isValidNaturalNumber(dataChat?.retailerId)
177
- ) {
178
- fileKey += `productStatus/${dataChat.id}-${dataChat?.version}-${dataChat?.retailerId}/`;
179
- } else {
180
- errorMessage = "El ID del ticket no es valido";
181
- }
182
- break;
183
172
 
184
173
  default:
185
174
  errorMessage =
@@ -17,14 +17,14 @@ export const Chat = (props) => {
17
17
  const {
18
18
  chatType, // "merchant_product" | "order_product" | "ticket"
19
19
  chatContainerType, // ("fixed") | ("popUp")
20
- chatData = {}, // {} => aqui poner los datos requeridos segun el tipo de chat
20
+ chatData, // {} => aqui poner los datos requeridos segun el tipo de chat
21
21
  classNameContainerFixed, // clases CSS del envoltoria chat fixed
22
22
  size = 14, // tamaño del icono
23
23
  } = props;
24
24
  const [showPopUpChat, setShowPopUpChat] = useState(false);
25
25
  const [data, setData] = useState();
26
26
 
27
- const { ticketCompany, retailerId } = chatData || {};
27
+ const { ticketCompany } = chatData || {};
28
28
 
29
29
  useEffect(() => {
30
30
  switch (chatType) {
@@ -37,9 +37,6 @@ export const Chat = (props) => {
37
37
  case "ticket":
38
38
  validateChatTicket();
39
39
  break;
40
- case "product_status":
41
- validateProductStatus();
42
- break;
43
40
  default:
44
41
  setData({
45
42
  code: 404,
@@ -49,45 +46,6 @@ export const Chat = (props) => {
49
46
  }
50
47
  }, [chatType]);
51
48
 
52
- const validateProductStatus = () => {
53
- const {
54
- userToken, // string
55
- id, // number
56
- version,
57
- retailerId, // number
58
- status,
59
- orderId,
60
- } = chatData;
61
-
62
- if (!isValidGeneral(userToken, id)) return;
63
-
64
- // validar el ID de la cadena asociada al producto en la OT
65
- if (!isValidNaturalNumber(retailerId)) {
66
- setDataError("La cadena relacionada al producto no es válida");
67
- return;
68
- }
69
-
70
- // validar el ID de la version asociada al producto en la OT
71
- if (!isValidNaturalNumber(version)) {
72
- setDataError("La versión del producto no es válida");
73
- return;
74
- }
75
-
76
- if (orderId && !isValidNaturalNumber(orderId)) {
77
- setDataError("La orden del producto no es válida");
78
- return;
79
- }
80
-
81
- setData({
82
- userToken,
83
- id,
84
- version,
85
- retailerId,
86
- orderId,
87
- status,
88
- });
89
- };
90
-
91
49
  const isValidGeneral = (userToken, id) => {
92
50
  // validar token del user
93
51
  if (isStringEmpty(userToken)) {
@@ -239,7 +197,7 @@ export const Chat = (props) => {
239
197
  dataChat={data}
240
198
  showBtnClose={false}
241
199
  ticketCompany={ticketCompany}
242
- activeRetailer={props.activeRetailer || { id: retailerId }}
200
+ activeRetailer={props.activeRetailer}
243
201
  />
244
202
  </ContainerFixed>
245
203
  );
@@ -272,7 +230,7 @@ export const Chat = (props) => {
272
230
  onClickBtnClose={() => {
273
231
  setShowPopUpChat(false);
274
232
  }}
275
- activeRetailer={props.activeRetailer || { id: retailerId }}
233
+ activeRetailer={props.activeRetailer}
276
234
  />
277
235
  </ContainerPopUp>
278
236
  </Slide>
@@ -12,10 +12,6 @@ export const ContainerFixed = styled.div`
12
12
  border: 1px solid #f0f0f0;
13
13
  z-index: 1000;
14
14
  padding: 0px;
15
- @media (max-width: 1024px) {
16
- width: auto;
17
- max-width: 100%;
18
- }
19
15
  @media (max-width: 600px) {
20
16
  width: 90%;
21
17
  min-width: 300px;
@@ -23,7 +23,7 @@ export const FullProductNameHeader = ({
23
23
  useEffect(() => {
24
24
  const rtls = headerData?.retailers || headerData?.retailersAvailable;
25
25
  servicesData &&
26
- rtls?.forEach((rt) => {
26
+ rtls.forEach((rt) => {
27
27
  const element = [];
28
28
  servicesData.forEach((sd) => {
29
29
  if (sd.id_retailer === rt.id) {
@@ -31,6 +31,7 @@ export const ContainerModal = styled.div`
31
31
  align-items: center;
32
32
  justify-content: flex-start;
33
33
  gap: 6px;
34
+ margin-bottom: 20px;
34
35
 
35
36
  .label-title {
36
37
  width: 100%;
@@ -41,10 +42,6 @@ export const ContainerModal = styled.div`
41
42
  color: #262626;
42
43
  white-space: pre-wrap;
43
44
  }
44
-
45
- & + * {
46
- margin-top: 20px;
47
- }
48
45
  }
49
46
 
50
47
  .iconModal {
@@ -1,31 +1,41 @@
1
1
  export const servicesCodeIcon = {
2
2
  datasheet: (
3
3
  <div key="datasheet" className="tooltip">
4
- <span className="material-icons small">&#xf8ee;</span>
4
+ <span className="material-icons small">
5
+ &#xf8ee;
6
+ </span>
5
7
  <span className="tooltiptext">Ficha Técnica</span>
6
8
  </div>
7
9
  ),
8
10
  description: (
9
11
  <div key="description" className="tooltip">
10
- <span className="material-icons small">&#xe873;</span>
12
+ <span className="material-icons small">
13
+ &#xe873;
14
+ </span>
11
15
  <span className="tooltiptext">Descripción</span>
12
16
  </div>
13
17
  ),
14
18
  image: (
15
19
  <div key="image" className="tooltip">
16
- <span className="material-icons small">&#xe3f4;</span>
20
+ <span className="material-icons small">
21
+ &#xe3f4;
22
+ </span>
17
23
  <span className="tooltiptext">Imagen</span>
18
24
  </div>
19
25
  ),
20
26
  translate: (
21
27
  <div key="translate" className="tooltip">
22
- <span className="material-icons small">&#xe8e2;</span>
28
+ <span className="material-icons small">
29
+ &#xe8e2;
30
+ </span>
23
31
  <span className="tooltiptext">Traducción</span>
24
32
  </div>
25
33
  ),
26
34
  build: (
27
- <div key="build" className="tooltip">
28
- <span className="material-icons small">&#xe1bd;</span>
35
+ <div key="build" className="tooltip">
36
+ <span className="material-icons small">
37
+ &#xe1bd;
38
+ </span>
29
39
  <span className="tooltiptext">Construcción</span>
30
40
  </div>
31
41
  ),
@@ -16,10 +16,10 @@ ProviderProductEditionDefault.args = {
16
16
  Imágenes: false,
17
17
  },
18
18
  token:
19
- "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJmNTkyN2Y4ZS1jYmY3LTQ5MjItOWUwOS1lNjllYzBiMjczMWEiLCJjb2duaXRvOmdyb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belvzxbk5vX9E1vKoZLOKn8gO9yaFe0YawKjS0hW-P4NcjIonsNJ5KWMsh0fJCM2oAKAk8oAGZcszYHknMPF6ahf-fWeboVuK89UEsKlQukr7W8fnIePFI8aSlKM1nG0I7nOT_1734Pf-A9QQDXEwhfj8NMHHICb2c_ECgHPEspM9VxIR6Lbws-gCTSG6FTMjsIFKU3EqaQvlVw",
20
+ articleId: 39485,
21
+ category: 11,
22
+ version: 3,
23
23
  productSelected: {
24
24
  orderId: 15275,
25
25
  status: "AA",
@@ -153,8 +153,6 @@ ProviderProductEditionDefault.args = {
153
153
  search: "",
154
154
  hash: "",
155
155
  state: {
156
- withChat: true,
157
- chatType: "product_status",
158
156
  origin: "RequestWithContentoh",
159
157
  },
160
158
  key: "24vwut",