contentoh-components-library 21.0.65 → 21.0.66

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 (253) hide show
  1. package/.env.development +5 -18
  2. package/.env.production +3 -16
  3. package/CHANGELOG.md +33 -31
  4. package/dist/assets/images/carouselImagesLogin/login2.svg +117 -0
  5. package/dist/assets/images/carouselImagesLogin/login3.svg +147 -0
  6. package/dist/assets/images/carouselImagesLogin/loginImage.svg +301 -0
  7. package/dist/assets/images/sliderToolTip/infoIcon.svg +4 -0
  8. package/dist/assets/images/sliderToolTip/slide1.svg +5 -0
  9. package/dist/assets/images/sliderToolTip/slide2.svg +9 -0
  10. package/dist/assets/images/sliderToolTip/slide3.svg +9 -0
  11. package/dist/assets/images/sliderToolTip/slide4.svg +9 -0
  12. package/dist/assets/images/sliderToolTip/slide5.svg +40 -0
  13. package/dist/components/atoms/AsignationOption/index.js +5 -9
  14. package/dist/components/atoms/AsignationOption/styles.js +1 -1
  15. package/dist/components/atoms/CheckBox/index.js +2 -4
  16. package/dist/components/atoms/GeneralButton/index.js +0 -5
  17. package/dist/components/atoms/GeneralButton/styles.js +2 -4
  18. package/dist/components/atoms/GeneralInput/index.js +25 -72
  19. package/dist/components/atoms/GeneralInput/styles.js +1 -7
  20. package/dist/components/atoms/GenericModal/index.js +2 -4
  21. package/dist/components/atoms/GenericModal/styles.js +1 -1
  22. package/dist/components/atoms/GradientPanel/styles.js +1 -1
  23. package/dist/components/atoms/ListCommercialRetailers/ListCommercialRetailers.stories.js +36 -0
  24. package/dist/components/atoms/ListCommercialRetailers/index.js +64 -0
  25. package/dist/components/atoms/ListCommercialRetailers/styles.js +20 -0
  26. package/dist/components/atoms/Loading/Loading.stories.js +28 -0
  27. package/dist/components/atoms/Loading/index.js +1 -0
  28. package/dist/components/atoms/LogoImage/index.js +1 -0
  29. package/dist/components/atoms/MenuCommercialRetailers/MenuCommercialRetailers.stories.js +37 -0
  30. package/dist/components/atoms/MenuCommercialRetailers/index.js +25 -0
  31. package/dist/components/{molecules/RetailerSelector → atoms/MenuCommercialRetailers}/styles.js +1 -1
  32. package/dist/components/atoms/MenuProductImage/MenuProductImage.stories.js +28 -0
  33. package/dist/components/atoms/MenuProductImage/index.js +88 -0
  34. package/dist/components/atoms/MenuProductImage/styles.js +20 -0
  35. package/dist/components/atoms/PriorityFlag/index.js +1 -1
  36. package/dist/components/atoms/ProductImage/styles.js +1 -1
  37. package/dist/components/atoms/ProgressBar/index.js +2 -2
  38. package/dist/components/atoms/ProgressBar/styles.js +5 -3
  39. package/dist/components/atoms/ScreenHeader/index.js +1 -1
  40. package/dist/components/atoms/ScreenHeader/styles.js +1 -1
  41. package/dist/components/atoms/SliderToolTip/SliderToolTip.stories.js +47 -0
  42. package/dist/components/atoms/SliderToolTip/index.js +200 -0
  43. package/dist/components/atoms/SliderToolTip/styles.js +24 -0
  44. package/dist/components/atoms/StatusTag/index.js +2 -37
  45. package/dist/components/atoms/StatusTag/styles.js +1 -1
  46. package/dist/components/atoms/ValidationPanel/index.js +3 -4
  47. package/dist/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +22 -0
  48. package/dist/components/atoms/VerticalSideMenuMainPage/index.js +49 -0
  49. package/dist/components/atoms/{Commentary → VerticalSideMenuMainPage}/styles.js +1 -6
  50. package/dist/components/molecules/ApproveRejetPanel/ApproveRejetPanel.stories.js +25 -0
  51. package/dist/components/molecules/ApproveRejetPanel/index.js +49 -0
  52. package/dist/components/{atoms/CharCounter → molecules/ApproveRejetPanel}/styles.js +1 -3
  53. package/dist/components/molecules/AvatarAndValidation/index.js +7 -17
  54. package/dist/components/molecules/AvatarAndValidation/styles.js +1 -1
  55. package/dist/components/molecules/CarouselImagesLogin/index.js +40 -42
  56. package/dist/components/molecules/EmailResetPasswordLogin/EmailResetPasswordLogin.stories.js +28 -0
  57. package/dist/components/molecules/EmailResetPasswordLogin/index.js +153 -0
  58. package/dist/components/molecules/EmailResetPasswordLogin/styles.js +20 -0
  59. package/dist/components/molecules/FeaturesBar/index.js +1 -1
  60. package/dist/components/molecules/GalleryElement/index.js +21 -80
  61. package/dist/components/molecules/GalleryElement/styles.js +1 -1
  62. package/dist/components/molecules/GalleryHeader/index.js +6 -28
  63. package/dist/components/molecules/GalleryHeader/styles.js +1 -1
  64. package/dist/components/molecules/ImageSelector/index.js +4 -2
  65. package/dist/components/molecules/LoginPasswordStrength/index.js +6 -6
  66. package/dist/components/molecules/LoginPasswordStrength/styles.js +1 -1
  67. package/dist/components/{atoms/CharCounter/CharCounter.stories.js → molecules/LogoLoading/Loading.stories.js} +7 -10
  68. package/dist/components/molecules/LogoLoading/index.js +22 -0
  69. package/dist/components/molecules/LogoLoading/styles.js +18 -0
  70. package/dist/components/molecules/ProductNameHeader/index.js +2 -1
  71. package/dist/components/molecules/RegistrationFirstStep/RegistrationFirstStep.stories.js +28 -0
  72. package/dist/components/molecules/RegistrationFirstStep/index.js +308 -0
  73. package/dist/components/molecules/RegistrationFirstStep/styles.js +20 -0
  74. package/dist/components/molecules/RegistrationSecondStep/RegistrationSecondStep.stories.js +28 -0
  75. package/dist/components/molecules/RegistrationSecondStep/index.js +169 -0
  76. package/dist/components/molecules/RegistrationSecondStep/styles.js +20 -0
  77. package/dist/components/molecules/RegistrationThirdStep/RegistrationThirdStep.stories.js +28 -0
  78. package/dist/components/molecules/RegistrationThirdStep/index.js +155 -0
  79. package/dist/components/molecules/RegistrationThirdStep/styles.js +20 -0
  80. package/dist/components/molecules/SignInLogin/SignInLogin.stories.js +28 -0
  81. package/dist/components/molecules/SignInLogin/index.js +321 -0
  82. package/dist/components/molecules/SignInLogin/styles.js +20 -0
  83. package/dist/components/molecules/SignInLoginCreationApp/SignInLogin.stories.js +28 -0
  84. package/dist/components/molecules/SignInLoginCreationApp/index.js +270 -0
  85. package/dist/components/molecules/SignInLoginCreationApp/styles.js +20 -0
  86. package/dist/components/molecules/StatusAsignationInfo/index.js +25 -46
  87. package/dist/components/molecules/StatusAsignationInfo/styles.js +1 -1
  88. package/dist/components/molecules/TableHeader/index.js +5 -12
  89. package/dist/components/molecules/TableHeader/styles.js +1 -1
  90. package/dist/components/molecules/TagAndInput/index.js +2 -24
  91. package/dist/components/molecules/VerificationCodeResetPasswordLogin/VerificationCodeResetPasswordLogin.stories.js +28 -0
  92. package/dist/components/molecules/VerificationCodeResetPasswordLogin/index.js +210 -0
  93. package/dist/components/molecules/VerificationCodeResetPasswordLogin/styles.js +20 -0
  94. package/dist/components/molecules/VerificationCodeResetPasswordLogin/utils.js +69 -0
  95. package/dist/components/{atoms/InputFormatter/Wysiwyg.stories.js → organisms/ChangePassword/ChangePassword.stories.js} +7 -9
  96. package/dist/components/organisms/ChangePassword/index.js +123 -0
  97. package/dist/components/organisms/ChangePassword/styles.js +18 -0
  98. package/dist/components/organisms/FullProductNameHeader/index.js +8 -32
  99. package/dist/components/organisms/FullTabsMenu/index.js +5 -18
  100. package/dist/components/organisms/ImageDataTable/index.js +14 -90
  101. package/dist/components/organisms/InputGroup/index.js +13 -34
  102. package/dist/components/organisms/InputGroup/styles.js +1 -1
  103. package/dist/components/organisms/ProductImageModal/index.js +11 -15
  104. package/dist/components/organisms/ProductImageModal/styles.js +1 -1
  105. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +347 -91
  106. package/dist/components/pages/RetailerProductEdition/index.js +60 -1608
  107. package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
  108. package/dist/global-files/data.js +53 -212
  109. package/dist/global-files/global-styles.css +0 -1
  110. package/dist/global-files/variables.js +0 -1
  111. package/dist/index.js +277 -30
  112. package/package.json +14 -12
  113. package/src/assets/images/editField/showPassword.png +0 -0
  114. package/src/assets/images/sliderToolTip/infoIcon.svg +4 -0
  115. package/src/assets/images/sliderToolTip/slide1.svg +5 -0
  116. package/src/assets/images/sliderToolTip/slide2.svg +9 -0
  117. package/src/assets/images/sliderToolTip/slide3.svg +9 -0
  118. package/src/assets/images/sliderToolTip/slide4.svg +9 -0
  119. package/src/assets/images/sliderToolTip/slide5.svg +40 -0
  120. package/src/components/atoms/AsignationOption/index.js +5 -7
  121. package/src/components/atoms/AsignationOption/styles.js +1 -9
  122. package/src/components/atoms/CheckBox/index.js +2 -8
  123. package/src/components/atoms/GeneralButton/index.js +2 -9
  124. package/src/components/atoms/GeneralButton/styles.js +0 -23
  125. package/src/components/atoms/GeneralInput/index.js +23 -71
  126. package/src/components/atoms/GeneralInput/styles.js +1 -11
  127. package/src/components/atoms/GenericModal/index.js +2 -2
  128. package/src/components/atoms/GenericModal/styles.js +2 -10
  129. package/src/components/atoms/GradientPanel/styles.js +1 -0
  130. package/src/components/atoms/Loading/Loading.stories.js +10 -0
  131. package/src/components/atoms/Loading/index.js +3 -2
  132. package/src/components/atoms/LogoImage/index.js +1 -1
  133. package/src/components/atoms/PriorityFlag/index.js +1 -1
  134. package/src/components/atoms/ProductImage/styles.js +1 -1
  135. package/src/components/atoms/ProgressBar/index.js +2 -2
  136. package/src/components/atoms/ProgressBar/styles.js +3 -54
  137. package/src/components/atoms/ScreenHeader/index.js +3 -7
  138. package/src/components/atoms/ScreenHeader/styles.js +2 -9
  139. package/src/components/atoms/SliderToolTip/SliderToolTip.stories.js +23 -0
  140. package/src/components/atoms/SliderToolTip/index.js +182 -0
  141. package/src/components/atoms/SliderToolTip/styles.js +168 -0
  142. package/src/components/atoms/StatusTag/index.js +2 -30
  143. package/src/components/atoms/StatusTag/styles.js +3 -15
  144. package/src/components/atoms/ValidationPanel/index.js +3 -3
  145. package/src/components/molecules/AvatarAndValidation/index.js +6 -24
  146. package/src/components/molecules/AvatarAndValidation/styles.js +1 -1
  147. package/src/components/molecules/CarouselImagesLogin/index.js +34 -37
  148. package/src/components/molecules/EmailResetPasswordLogin/EmailResetPasswordLogin.stories.js +11 -0
  149. package/src/components/molecules/EmailResetPasswordLogin/index.js +85 -0
  150. package/src/components/molecules/EmailResetPasswordLogin/styles.js +23 -0
  151. package/src/components/molecules/FeaturesBar/index.js +7 -10
  152. package/src/components/molecules/GalleryElement/index.js +36 -75
  153. package/src/components/molecules/GalleryElement/styles.js +11 -38
  154. package/src/components/molecules/GalleryHeader/index.js +8 -14
  155. package/src/components/molecules/GalleryHeader/styles.js +0 -16
  156. package/src/components/molecules/ImageSelector/index.js +3 -2
  157. package/src/components/molecules/LoginPasswordStrength/index.js +8 -3
  158. package/src/components/molecules/LoginPasswordStrength/styles.js +3 -0
  159. package/src/components/molecules/LogoLoading/Loading.stories.js +10 -0
  160. package/src/components/molecules/LogoLoading/index.js +12 -0
  161. package/src/components/molecules/LogoLoading/styles.js +16 -0
  162. package/src/components/molecules/ProductNameHeader/index.js +2 -1
  163. package/src/components/molecules/RegistrationFirstStep/RegistrationFirstStep.stories.js +11 -0
  164. package/src/components/molecules/RegistrationFirstStep/index.js +227 -0
  165. package/src/components/molecules/RegistrationFirstStep/styles.js +87 -0
  166. package/src/components/molecules/RegistrationSecondStep/RegistrationSecondStep.stories.js +11 -0
  167. package/src/components/molecules/RegistrationSecondStep/index.js +130 -0
  168. package/src/components/molecules/RegistrationSecondStep/styles.js +59 -0
  169. package/src/components/molecules/RegistrationThirdStep/RegistrationThirdStep.stories.js +11 -0
  170. package/src/components/molecules/RegistrationThirdStep/index.js +130 -0
  171. package/src/components/molecules/RegistrationThirdStep/styles.js +44 -0
  172. package/src/components/molecules/SignInLogin/SignInLogin.stories.js +11 -0
  173. package/src/components/molecules/SignInLogin/index.js +227 -0
  174. package/src/components/molecules/SignInLogin/styles.js +128 -0
  175. package/src/components/molecules/StatusAsignationInfo/index.js +38 -62
  176. package/src/components/molecules/StatusAsignationInfo/styles.js +2 -12
  177. package/src/components/molecules/TableHeader/index.js +3 -16
  178. package/src/components/molecules/TableHeader/styles.js +0 -5
  179. package/src/components/molecules/TagAndInput/index.js +2 -24
  180. package/src/components/molecules/VerificationCodeResetPasswordLogin/VerificationCodeResetPasswordLogin.stories.js +11 -0
  181. package/src/components/molecules/VerificationCodeResetPasswordLogin/index.js +170 -0
  182. package/src/components/molecules/VerificationCodeResetPasswordLogin/styles.js +51 -0
  183. package/src/components/molecules/VerificationCodeResetPasswordLogin/utils.js +54 -0
  184. package/src/components/organisms/ChangePassword/ChangePassword.stories.js +11 -0
  185. package/src/components/organisms/ChangePassword/index.js +76 -0
  186. package/src/components/organisms/ChangePassword/styles.js +13 -0
  187. package/src/components/organisms/FullProductNameHeader/index.js +7 -28
  188. package/src/components/organisms/FullTabsMenu/index.js +3 -15
  189. package/src/components/organisms/ImageDataTable/index.js +11 -89
  190. package/src/components/organisms/InputGroup/index.js +11 -46
  191. package/src/components/organisms/InputGroup/styles.js +0 -3
  192. package/src/components/organisms/ProductImageModal/index.js +12 -20
  193. package/src/components/organisms/ProductImageModal/styles.js +0 -3
  194. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +343 -91
  195. package/src/components/pages/RetailerProductEdition/index.js +48 -1239
  196. package/src/components/pages/RetailerProductEdition/styles.js +4 -67
  197. package/src/global-files/data.js +57 -156
  198. package/src/global-files/global-styles.css +0 -1
  199. package/src/global-files/variables.js +0 -1
  200. package/src/index.js +20 -1
  201. package/dist/assets/images/generalButton/downloadIcon.svg +0 -3
  202. package/dist/assets/images/modalsSVGs/attributesSent.svg +0 -208
  203. package/dist/assets/images/modalsSVGs/descriptionSent.svg +0 -237
  204. package/dist/assets/images/modalsSVGs/providerSent.svg +0 -445
  205. package/dist/assets/images/modalsSVGs/uploadingImages.svg +0 -148
  206. package/dist/components/atoms/CharCounter/index.js +0 -22
  207. package/dist/components/atoms/Commentary/Commentary.stories.js +0 -1
  208. package/dist/components/atoms/Commentary/index.js +0 -23
  209. package/dist/components/atoms/Input/index.js +0 -26
  210. package/dist/components/atoms/Input/style.js +0 -26
  211. package/dist/components/atoms/InputFormatter/index.js +0 -184
  212. package/dist/components/atoms/InputFormatter/styles.js +0 -33
  213. package/dist/components/atoms/LabelToInput/index.js +0 -53
  214. package/dist/components/atoms/LabelToInput/style.js +0 -22
  215. package/dist/components/atoms/Percent/Percent.stories.js +0 -39
  216. package/dist/components/atoms/Percent/index.js +0 -39
  217. package/dist/components/atoms/Percent/styles.js +0 -20
  218. package/dist/components/atoms/Select/index.js +0 -39
  219. package/dist/components/atoms/Select/style.js +0 -32
  220. package/dist/components/molecules/RetailerSelector/RetailerSelector.stories.js +0 -48
  221. package/dist/components/molecules/RetailerSelector/index.js +0 -74
  222. package/dist/components/molecules/TextAndGradient/TextAndGradient.stories.js +0 -31
  223. package/dist/components/molecules/TextAndGradient/index.js +0 -36
  224. package/dist/components/molecules/TextAndGradient/styles.js +0 -18
  225. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +0 -102
  226. package/dist/components/pages/ProviderProductEdition/index.js +0 -1688
  227. package/dist/components/pages/ProviderProductEdition/styles.js +0 -21
  228. package/src/assets/images/generalButton/downloadIcon.svg +0 -3
  229. package/src/assets/images/modalsSVGs/attributesSent.svg +0 -208
  230. package/src/assets/images/modalsSVGs/descriptionSent.svg +0 -237
  231. package/src/assets/images/modalsSVGs/providerSent.svg +0 -445
  232. package/src/assets/images/modalsSVGs/uploadingImages.svg +0 -148
  233. package/src/components/atoms/CharCounter/CharCounter.stories.js +0 -11
  234. package/src/components/atoms/CharCounter/index.js +0 -13
  235. package/src/components/atoms/CharCounter/styles.js +0 -10
  236. package/src/components/atoms/Commentary/Commentary.stories.js +0 -0
  237. package/src/components/atoms/Commentary/index.js +0 -9
  238. package/src/components/atoms/Commentary/styles.js +0 -16
  239. package/src/components/atoms/Input/index.js +0 -15
  240. package/src/components/atoms/Input/style.js +0 -31
  241. package/src/components/atoms/InputFormatter/Wysiwyg.stories.js +0 -12
  242. package/src/components/atoms/InputFormatter/index.js +0 -144
  243. package/src/components/atoms/InputFormatter/styles.js +0 -40
  244. package/src/components/atoms/LabelToInput/index.js +0 -26
  245. package/src/components/atoms/LabelToInput/style.js +0 -41
  246. package/src/components/atoms/Select/index.js +0 -35
  247. package/src/components/atoms/Select/style.js +0 -76
  248. package/src/components/molecules/RetailerSelector/RetailerSelector.stories.js +0 -35
  249. package/src/components/molecules/RetailerSelector/index.js +0 -63
  250. package/src/components/molecules/RetailerSelector/styles.js +0 -18
  251. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +0 -89
  252. package/src/components/pages/ProviderProductEdition/index.js +0 -1249
  253. package/src/components/pages/ProviderProductEdition/styles.js +0 -100
@@ -23,9 +23,6 @@ export const Container = styled.div`
23
23
  flex: 1 1 20%;
24
24
  margin-right: 10px;
25
25
  min-width: 227px;
26
- display: flex;
27
- flex-direction: column;
28
- justify-content: space-between;
29
26
  }
30
27
  }
31
28
  }
@@ -5,16 +5,17 @@ import { ImageSelector } from "../../molecules/ImageSelector";
5
5
  import { useState, useEffect } from "react";
6
6
  import { ValidationPanel } from "../../atoms/ValidationPanel";
7
7
  import { Button } from "../../atoms/GeneralButton";
8
+ import { getImage } from "../../../global-files/data";
8
9
 
9
10
  export const ProductImageModal = ({
10
11
  images = [],
11
12
  headerInfo,
12
13
  validation,
13
14
  setShowModal,
14
- sendToFacilitator,
15
- approveRejectButtons,
16
15
  }) => {
17
- const [activeImage, setActiveImage] = useState(0);
16
+ const [activeImage, setActiveImage] = useState(
17
+ getImage(images?.values[0], 710, 710)
18
+ );
18
19
  const [buttonType, setButtonType] = useState(
19
20
  validation ? validation : "null-button"
20
21
  );
@@ -41,25 +42,18 @@ export const ProductImageModal = ({
41
42
  <div className="modal-container">
42
43
  <div className="modal-image-container">
43
44
  <ProductImage
44
- img={
45
- "https://" +
46
- process.env.REACT_APP_IMAGES_BUCKET +
47
- ".s3.amazonaws.com/" +
48
- images?.values[activeImage]?.srcDB
49
- }
50
- altText={images?.values[activeImage]?.name}
45
+ img={activeImage.src}
46
+ altText={activeImage?.name}
51
47
  imageType={"expanded-modal-image"}
52
48
  />
53
49
  </div>
54
50
  <div className="modal-data-container">
55
51
  <div className="validation-and-table-container">
56
52
  <div className="validation-panel">
57
- {approveRejectButtons("images") && (
58
- <Button
59
- buttonType={`circular-button ${buttonType}`}
60
- onClick={() => setShowValidationPanel(true)}
61
- />
62
- )}
53
+ <Button
54
+ buttonType={`circular-button ${buttonType}`}
55
+ onClick={() => setShowValidationPanel(true)}
56
+ />
63
57
  <Button
64
58
  buttonType={"close-button"}
65
59
  onClick={() => {
@@ -72,16 +66,14 @@ export const ProductImageModal = ({
72
66
  id="validation-panel"
73
67
  setOptionClicked={setButtonType}
74
68
  setShowValidationPanel={setShowValidationPanel}
75
- sendToFacilitator={sendToFacilitator}
76
69
  />
77
70
  )}
78
71
  </div>
79
72
  <ImageDataTable
80
- imageData={images?.values[activeImage]?.data}
73
+ imageData={activeImage.data}
81
74
  headerInfo={headerInfo}
82
- activeImage={images?.values[activeImage]}
75
+ activeImage={activeImage}
83
76
  darkMode={true}
84
- lists={images}
85
77
  />
86
78
  </div>
87
79
  <ImageSelector
@@ -11,9 +11,6 @@ export const Container = styled.div`
11
11
  position: fixed;
12
12
  background-color: rgba(59, 59, 59, 0.53);
13
13
  backdrop-filter: blur(4px);
14
- left: 0;
15
- top: 0;
16
- z-index: 100;
17
14
 
18
15
  .modal-container {
19
16
  display: flex;
@@ -10,100 +10,352 @@ const Template = (args) => <RetailerProductEdition {...args} />;
10
10
  export const RetailerProductEditionDefault = Template.bind({});
11
11
 
12
12
  RetailerProductEditionDefault.args = {
13
+ productData: {
14
+ imagesData: {
15
+ image: {
16
+ src: "https://www.thestar.com/content/dam/thestar/columnist_logos/francis_angelyn_logo2020.jpg",
17
+ name: "Hero.jpg",
18
+ },
19
+ },
20
+ headerData: {
21
+ name: "Nombre del producto",
22
+ status: "P",
23
+ percent: 20,
24
+ backgroundColor: "in_progress",
25
+ priority: "low",
26
+ date: new Date().toLocaleDateString(),
27
+ features: [
28
+ { feature: "Prov", value: "Unilever" },
29
+ { feature: "Vendor", value: "1234567890" },
30
+ { feature: "SKU", value: "1234567890" },
31
+ { feature: "UPC", value: "1234567890" },
32
+ { feature: "Categoría", value: "Desodorantes Caballero y Dama" },
33
+ ],
34
+ validation: "null-button",
35
+ },
36
+ status: "AA",
37
+ image: {
38
+ src: "https://image.shutterstock.com/image-illustration/3d-render-generic-drug-pills-260nw-709112806.jpg",
39
+ },
40
+ services: {
41
+ Descripción: [
42
+ {
43
+ inputGroup: {
44
+ name: "Información básica del producto",
45
+ inputs: [
46
+ {
47
+ label: "Item",
48
+ value: "1234567890",
49
+ placeholder: "Ingresar valor",
50
+ },
51
+ {
52
+ label: "Item",
53
+ value: "1234567890",
54
+ placeholder: "Ingresar valor",
55
+ },
56
+ {
57
+ label: "Item",
58
+ value: "1234567890",
59
+ placeholder: "Ingresar valor",
60
+ },
61
+ {
62
+ label: "Item",
63
+ value: "1234567890",
64
+ placeholder: "Ingresar valor",
65
+ },
66
+ {
67
+ label: "Item",
68
+ value: "1234567890",
69
+ placeholder: "Ingresar valor",
70
+ },
71
+ {
72
+ label: "Item",
73
+ value: "1234567890",
74
+ placeholder: "Ingresar valor",
75
+ },
76
+ {
77
+ label: "Item",
78
+ value: "1234567890",
79
+ placeholder: "Ingresar valor",
80
+ },
81
+ {
82
+ label: "Item",
83
+ value: "1234567890",
84
+ placeholder: "Ingresar valor",
85
+ },
86
+ ],
87
+ },
88
+ },
89
+ ],
90
+ "Ficha técnica": [
91
+ {
92
+ inputGroup: {
93
+ name: "Información básica del producto",
94
+ inputs: [
95
+ {
96
+ label: "Item",
97
+ value: "1234567890",
98
+ placeholder: "Ingresar valor",
99
+ },
100
+ {
101
+ label: "Item",
102
+ value: "1234567890",
103
+ placeholder: "Ingresar valor",
104
+ },
105
+ {
106
+ label: "Item",
107
+ value: "1234567890",
108
+ placeholder: "Ingresar valor",
109
+ },
110
+ {
111
+ label: "Item",
112
+ value: "1234567890",
113
+ placeholder: "Ingresar valor",
114
+ },
115
+ {
116
+ label: "Item",
117
+ value: "1234567890",
118
+ placeholder: "Ingresar valor",
119
+ },
120
+ {
121
+ label: "Item",
122
+ value: "1234567890",
123
+ placeholder: "Ingresar valor",
124
+ },
125
+ {
126
+ label: "Item",
127
+ value: "1234567890",
128
+ placeholder: "Ingresar valor",
129
+ },
130
+ {
131
+ label: "Item",
132
+ value: "1234567890",
133
+ placeholder: "Ingresar valor",
134
+ },
135
+ ],
136
+ },
137
+ },
138
+ {
139
+ inputGroup: {
140
+ name: "Información básica del producto",
141
+ inputs: [
142
+ {
143
+ label: "Item",
144
+ value: "1234567890",
145
+ placeholder: "Ingresar valor",
146
+ },
147
+ {
148
+ label: "Item",
149
+ value: "1234567890",
150
+ placeholder: "Ingresar valor",
151
+ },
152
+ {
153
+ label: "Item",
154
+ value: "1234567890",
155
+ placeholder: "Ingresar valor",
156
+ },
157
+ {
158
+ label: "Item",
159
+ value: "1234567890",
160
+ placeholder: "Ingresar valor",
161
+ },
162
+ {
163
+ label: "Item",
164
+ value: "1234567890",
165
+ placeholder: "Ingresar valor",
166
+ },
167
+ {
168
+ label: "Item",
169
+ value: "1234567890",
170
+ placeholder: "Ingresar valor",
171
+ },
172
+ {
173
+ label: "Item",
174
+ value: "1234567890",
175
+ placeholder: "Ingresar valor",
176
+ },
177
+ {
178
+ label: "Item",
179
+ value: "1234567890",
180
+ placeholder: "Ingresar valor",
181
+ },
182
+ ],
183
+ },
184
+ },
185
+ {
186
+ inputGroup: {
187
+ name: "Información básica del producto",
188
+ inputs: [
189
+ {
190
+ label: "Item",
191
+ value: "1234567890",
192
+ placeholder: "Ingresar valor",
193
+ },
194
+ {
195
+ label: "Item",
196
+ value: "1234567890",
197
+ placeholder: "Ingresar valor",
198
+ },
199
+ {
200
+ label: "Item",
201
+ value: "1234567890",
202
+ placeholder: "Ingresar valor",
203
+ },
204
+ {
205
+ label: "Item",
206
+ value: "1234567890",
207
+ placeholder: "Ingresar valor",
208
+ },
209
+ {
210
+ label: "Item",
211
+ value: "1234567890",
212
+ placeholder: "Ingresar valor",
213
+ },
214
+ {
215
+ label: "Item",
216
+ value: "1234567890",
217
+ placeholder: "Ingresar valor",
218
+ },
219
+ {
220
+ label: "Item",
221
+ value: "1234567890",
222
+ placeholder: "Ingresar valor",
223
+ },
224
+ {
225
+ label: "Item",
226
+ value: "1234567890",
227
+ placeholder: "Ingresar valor",
228
+ },
229
+ ],
230
+ },
231
+ },
232
+ {
233
+ inputGroup: {
234
+ name: "Información básica del producto",
235
+ inputs: [
236
+ {
237
+ label: "Item",
238
+ value: "1234567890",
239
+ placeholder: "Ingresar valor",
240
+ },
241
+ {
242
+ label: "Item",
243
+ value: "1234567890",
244
+ placeholder: "Ingresar valor",
245
+ },
246
+ {
247
+ label: "Item",
248
+ value: "1234567890",
249
+ placeholder: "Ingresar valor",
250
+ },
251
+ {
252
+ label: "Item",
253
+ value: "1234567890",
254
+ placeholder: "Ingresar valor",
255
+ },
256
+ {
257
+ label: "Item",
258
+ value: "1234567890",
259
+ placeholder: "Ingresar valor",
260
+ },
261
+ {
262
+ label: "Item",
263
+ value: "1234567890",
264
+ placeholder: "Ingresar valor",
265
+ },
266
+ {
267
+ label: "Item",
268
+ value: "1234567890",
269
+ placeholder: "Ingresar valor",
270
+ },
271
+ {
272
+ label: "Item",
273
+ value: "1234567890",
274
+ placeholder: "Ingresar valor",
275
+ },
276
+ ],
277
+ },
278
+ },
279
+ ],
280
+ Imágenes: [
281
+ {
282
+ img: "https://image.shutterstock.com/image-illustration/3d-render-generic-drug-pills-260nw-709112806.jpg",
283
+ alt: "img",
284
+ name: "Hero",
285
+ data: [
286
+ { feature: "Tamaño de imagen", value: "1000x10000" },
287
+ { feature: "Formato", value: "jpg" },
288
+ { feature: "Resolución", value: "300dpi" },
289
+ { feature: "Tipo de imagen", value: "Tipo de imagen" },
290
+ { feature: "Identificador", value: "F261" },
291
+ ],
292
+ },
293
+ {
294
+ img: "https://www.muycomputer.com/wp-content/uploads/2020/12/google.png",
295
+ alt: "img",
296
+ name: "Hero2",
297
+ data: [
298
+ { feature: "Tamaño de imagen", value: "1000x10000" },
299
+ { feature: "Formato", value: "jpg" },
300
+ { feature: "Resolución", value: "300dpi" },
301
+ { feature: "Tipo de imagen", value: "Tipo de imagen" },
302
+ { feature: "Identificador", value: "F261" },
303
+ ],
304
+ },
305
+ {
306
+ img: "https://www.ionos.es/digitalguide/fileadmin/DigitalGuide/Teaser/bildergalerie-online-t.jpg",
307
+ alt: "img",
308
+ name: "Hero3",
309
+ data: [
310
+ { feature: "Tamaño de imagen", value: "1000x10000" },
311
+ { feature: "Formato", value: "jpg" },
312
+ { feature: "Resolución", value: "300dpi" },
313
+ { feature: "Tipo de imagen", value: "Tipo de imagen" },
314
+ { feature: "Identificador", value: "F261" },
315
+ ],
316
+ },
317
+ {
318
+ img: "https://i.pinimg.com/originals/d0/b9/28/d0b928df15d3a3bf1905865a8fedb257.jpg",
319
+ alt: "img",
320
+ name: "Hero4",
321
+ data: [
322
+ { feature: "Tamaño de imagen", value: "1000x10000" },
323
+ { feature: "Formato", value: "jpg" },
324
+ { feature: "Resolución", value: "300dpi" },
325
+ { feature: "Tipo de imagen", value: "Tipo de imagen" },
326
+ { feature: "Identificador", value: "F261" },
327
+ ],
328
+ },
329
+ {
330
+ img: "https://memegenerator.net/img/images/72798198.jpg",
331
+ alt: "img",
332
+ name: "Hero5",
333
+ data: [
334
+ { feature: "Tamaño de imagen", value: "1000x10000" },
335
+ { feature: "Formato", value: "jpg" },
336
+ { feature: "Resolución", value: "300dpi" },
337
+ { feature: "Tipo de imagen", value: "Tipo de imagen" },
338
+ { feature: "Identificador", value: "F261" },
339
+ ],
340
+ },
341
+ {
342
+ img: "http://www.dumpaday.com/wp-content/uploads/2016/02/funny-pictures-621.jpg",
343
+ alt: "img",
344
+ name: "Hero6",
345
+ data: [
346
+ { feature: "Tamaño de imagen", value: "1000x10000" },
347
+ { feature: "Formato", value: "jpg" },
348
+ { feature: "Resolución", value: "300dpi" },
349
+ { feature: "Tipo de imagen", value: "Tipo de imagen" },
350
+ { feature: "Identificador", value: "F261" },
351
+ ],
352
+ },
353
+ ],
354
+ },
355
+ },
13
356
  tabsSections: {
14
357
  Descripción: true,
15
358
  "Ficha técnica": false,
16
359
  Imágenes: false,
17
360
  },
18
- token:
19
- "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJjOTRhNzMwNS05MzY1LTQ2ZmYtYTQyMy00YjRiYzNiOGIxODAiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjp0cnVlLCJjb2duaXRvOnVzZXJuYW1lIjoiYzk0YTczMDUtOTM2NS00NmZmLWE0MjMtNGI0YmMzYjhiMTgwIiwiY29nbml0bzpyb2xlcyI6WyJhcm46YXdzOmlhbTo6ODk4NjcwMjMyODA3OnJvbGVcL2NvbnRlbnRvaC1kZXYtdXMtZWFzdC0xLWxhbWJkYVJvbGUiXSwiYXVkIjoiNWFjOHRwZ3M2Z2JzcTEzZnJ2cnBpZWVwNDAiLCJldmVudF9pZCI6IjcxNWU4ZTc3LTAwMmMtNGMyNC1hNjM2LTYxNDkxYzQ0MzI2MSIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxNjUyMzA3MTUzLCJuYW1lIjoiQ29sYWJvcmFkb3IiLCJwaG9uZV9udW1iZXIiOiIrNTIxMTExIiwiZXhwIjoxNjUyMzEwNzUzLCJpYXQiOjE2NTIzMDcxNTMsImVtYWlsIjoic2FsbWVyb24uNUBob3RtYWlsLmNvbSJ9.Ov1kjVt1sWrNu-8gPhBvnS6SpCuPmOYcqBwJVIoz-YJvuyNx0lMeRflG99cpgj4SojZqgMfPMQ8gJg5263fhj9oynolP7kh08AS_uoTf6_FK2KCaY8gVF4OJnoJJaX7J12JxzmRMI-lQJftvvoPxo5KYHCf7uZSj-5C5z6yIdk59T3U7vziYiKVtJFvVpA6IEB-oIS57MSdg27kwOtYjWvkfZ5vDRfkoOBGmBBELI9uFbKQS0cmWaLSBhd8ptbXWkAprxm-nkJnH9KQKmCsCLBthqmZTsMDw3ok0RsVpEE7_x4X0Hg0756ebqDe1kLCVuTIBpPx4ySvCdlewvi9bYA",
20
- articleId: 238,
21
- category: 846,
22
- version: 2,
23
- productSelected: {
24
- services: {
25
- datasheets: 1,
26
- descriptions: 1,
27
- images: 1,
28
- },
29
- orderId: 152,
30
- status: "ASSIGNED",
31
- datasheet_status: "IN_PROGRESS",
32
- prio: "none",
33
- version: 3,
34
- description_status: "IN_PROGRESS",
35
- images_status: "IN_PROGRESS",
36
- article: {
37
- id_article: 343,
38
- id_category: "2898",
39
- name: "Producto prueba dos ",
40
- upc: "2004202212",
41
- timestamp: "2022-04-20T17:01:17.000Z",
42
- id_user: 28,
43
- status: "NULL",
44
- active: 1,
45
- company_id: 1,
46
- company_name: "COMPANY DEV",
47
- country: "México",
48
- id_order: 152,
49
- id_datasheet_especialist: 54,
50
- id_datasheet_facilitator: 52,
51
- id_description_especialist: 54,
52
- id_description_facilitator: 52,
53
- id_images_especialist: 55,
54
- id_images_facilitator: 53,
55
- id_auditor: 30,
56
- id_recepcionist: null,
57
- category: "HALLOWEN|DECORACIÓN E INFLABLES|DECORACIÓN E INFLABLES",
58
- missingAttributes: null,
59
- missingDescriptions: null,
60
- missingImages: null,
61
- },
62
- retailers: [
63
- {
64
- id: 58,
65
- name: "The Home Depot",
66
- country: "México",
67
- id_region: 1,
68
- active: 1,
69
- },
70
- ],
71
- country: "México",
72
- upc: "2004202212",
73
- },
74
- location: {
75
- product: { articleId: 109485, versionId: 3 },
76
- },
77
- user: {
78
- id_user: 54,
79
- name: "ESPECIALISTA TXTS PRUEBA",
80
- last_name: "",
81
- email: "rlegorreta@contentoh.com",
82
- position: null,
83
- telephone: null,
84
- country: null,
85
- id_company: 2,
86
- id_cognito: "ca1d24ab-e992-4c19-b4e1-2fe6f720c16b",
87
- birth_Date: null,
88
- about_me: null,
89
- zip_code: null,
90
- address: null,
91
- job: null,
92
- id_stripe: null,
93
- id_role: 7,
94
- active: 1,
95
- is_retailer: 0,
96
- membership: {
97
- id: 2,
98
- start_date: "2021-11-05T02:35:12.000Z",
99
- end_date: "2022-11-05T02:34:49.000Z",
100
- planID: 1,
101
- plan: "prod_KtkvuFFLpOdP6e",
102
- name: "Plan Free",
103
- user_limit: "1",
104
- products_limit: "3",
105
- type: "PyMES",
106
- },
107
- src: "https://content-management-profile.s3.amazonaws.com/id-54/54.png?1653425316222",
108
- },
109
361
  };