contentoh-components-library 21.0.63 → 21.0.64

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 (246) 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 +9 -9
  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 +173 -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 +291 -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 +211 -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 +124 -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/sliderToolTip/infoIcon.svg +4 -0
  114. package/src/assets/images/sliderToolTip/slide1.svg +5 -0
  115. package/src/assets/images/sliderToolTip/slide2.svg +9 -0
  116. package/src/assets/images/sliderToolTip/slide3.svg +9 -0
  117. package/src/assets/images/sliderToolTip/slide4.svg +9 -0
  118. package/src/assets/images/sliderToolTip/slide5.svg +40 -0
  119. package/src/components/atoms/AsignationOption/index.js +5 -7
  120. package/src/components/atoms/AsignationOption/styles.js +1 -9
  121. package/src/components/atoms/CheckBox/index.js +2 -8
  122. package/src/components/atoms/GeneralButton/index.js +2 -9
  123. package/src/components/atoms/GeneralButton/styles.js +0 -23
  124. package/src/components/atoms/GeneralInput/index.js +23 -71
  125. package/src/components/atoms/GeneralInput/styles.js +1 -11
  126. package/src/components/atoms/GenericModal/index.js +2 -2
  127. package/src/components/atoms/GenericModal/styles.js +2 -10
  128. package/src/components/atoms/GradientPanel/styles.js +1 -0
  129. package/src/components/atoms/Loading/Loading.stories.js +10 -0
  130. package/src/components/atoms/Loading/index.js +3 -2
  131. package/src/components/atoms/LogoImage/index.js +1 -1
  132. package/src/components/atoms/PriorityFlag/index.js +1 -1
  133. package/src/components/atoms/ProductImage/styles.js +1 -1
  134. package/src/components/atoms/ProgressBar/index.js +2 -2
  135. package/src/components/atoms/ProgressBar/styles.js +3 -54
  136. package/src/components/atoms/ScreenHeader/index.js +3 -7
  137. package/src/components/atoms/ScreenHeader/styles.js +2 -9
  138. package/src/components/atoms/SliderToolTip/SliderToolTip.stories.js +23 -0
  139. package/src/components/atoms/SliderToolTip/index.js +182 -0
  140. package/src/components/atoms/SliderToolTip/styles.js +168 -0
  141. package/src/components/atoms/StatusTag/index.js +2 -30
  142. package/src/components/atoms/StatusTag/styles.js +3 -15
  143. package/src/components/atoms/ValidationPanel/index.js +3 -3
  144. package/src/components/molecules/AvatarAndValidation/index.js +6 -24
  145. package/src/components/molecules/AvatarAndValidation/styles.js +1 -1
  146. package/src/components/molecules/CarouselImagesLogin/index.js +34 -37
  147. package/src/components/molecules/EmailResetPasswordLogin/EmailResetPasswordLogin.stories.js +11 -0
  148. package/src/components/molecules/EmailResetPasswordLogin/index.js +85 -0
  149. package/src/components/molecules/EmailResetPasswordLogin/styles.js +23 -0
  150. package/src/components/molecules/FeaturesBar/index.js +7 -10
  151. package/src/components/molecules/GalleryElement/index.js +36 -75
  152. package/src/components/molecules/GalleryElement/styles.js +11 -38
  153. package/src/components/molecules/GalleryHeader/index.js +8 -14
  154. package/src/components/molecules/GalleryHeader/styles.js +0 -16
  155. package/src/components/molecules/ImageSelector/index.js +3 -2
  156. package/src/components/molecules/LoginPasswordStrength/index.js +11 -6
  157. package/src/components/molecules/LoginPasswordStrength/styles.js +5 -1
  158. package/src/components/molecules/LogoLoading/Loading.stories.js +10 -0
  159. package/src/components/molecules/LogoLoading/index.js +12 -0
  160. package/src/components/molecules/LogoLoading/styles.js +16 -0
  161. package/src/components/molecules/ProductNameHeader/index.js +2 -1
  162. package/src/components/molecules/RegistrationFirstStep/RegistrationFirstStep.stories.js +11 -0
  163. package/src/components/molecules/RegistrationFirstStep/index.js +227 -0
  164. package/src/components/molecules/RegistrationFirstStep/styles.js +87 -0
  165. package/src/components/molecules/RegistrationSecondStep/RegistrationSecondStep.stories.js +11 -0
  166. package/src/components/molecules/RegistrationSecondStep/index.js +136 -0
  167. package/src/components/molecules/RegistrationSecondStep/styles.js +64 -0
  168. package/src/components/molecules/RegistrationThirdStep/RegistrationThirdStep.stories.js +11 -0
  169. package/src/components/molecules/RegistrationThirdStep/index.js +130 -0
  170. package/src/components/molecules/RegistrationThirdStep/styles.js +44 -0
  171. package/src/components/molecules/SignInLogin/SignInLogin.stories.js +11 -0
  172. package/src/components/molecules/SignInLogin/index.js +201 -0
  173. package/src/components/molecules/SignInLogin/styles.js +79 -0
  174. package/src/components/molecules/StatusAsignationInfo/index.js +38 -62
  175. package/src/components/molecules/StatusAsignationInfo/styles.js +2 -12
  176. package/src/components/molecules/TableHeader/index.js +3 -16
  177. package/src/components/molecules/TableHeader/styles.js +0 -5
  178. package/src/components/molecules/TagAndInput/index.js +2 -24
  179. package/src/components/molecules/VerificationCodeResetPasswordLogin/VerificationCodeResetPasswordLogin.stories.js +11 -0
  180. package/src/components/molecules/VerificationCodeResetPasswordLogin/index.js +171 -0
  181. package/src/components/molecules/VerificationCodeResetPasswordLogin/styles.js +54 -0
  182. package/src/components/molecules/VerificationCodeResetPasswordLogin/utils.js +54 -0
  183. package/src/components/organisms/ChangePassword/ChangePassword.stories.js +11 -0
  184. package/src/components/organisms/ChangePassword/index.js +77 -0
  185. package/src/components/organisms/ChangePassword/styles.js +13 -0
  186. package/src/components/organisms/FullProductNameHeader/index.js +7 -28
  187. package/src/components/organisms/FullTabsMenu/index.js +3 -15
  188. package/src/components/organisms/ImageDataTable/index.js +11 -89
  189. package/src/components/organisms/InputGroup/index.js +11 -46
  190. package/src/components/organisms/InputGroup/styles.js +0 -3
  191. package/src/components/organisms/ProductImageModal/index.js +12 -20
  192. package/src/components/organisms/ProductImageModal/styles.js +0 -3
  193. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +343 -91
  194. package/src/components/pages/RetailerProductEdition/index.js +48 -1238
  195. package/src/components/pages/RetailerProductEdition/styles.js +4 -67
  196. package/src/global-files/data.js +57 -156
  197. package/src/global-files/global-styles.css +0 -1
  198. package/src/global-files/variables.js +0 -1
  199. package/src/index.js +20 -1
  200. package/dist/assets/images/generalButton/downloadIcon.svg +0 -3
  201. package/dist/assets/images/modalsSVGs/attributesSent.svg +0 -208
  202. package/dist/assets/images/modalsSVGs/descriptionSent.svg +0 -237
  203. package/dist/assets/images/modalsSVGs/providerSent.svg +0 -445
  204. package/dist/assets/images/modalsSVGs/uploadingImages.svg +0 -148
  205. package/dist/components/atoms/CharCounter/index.js +0 -22
  206. package/dist/components/atoms/Commentary/Commentary.stories.js +0 -1
  207. package/dist/components/atoms/Commentary/index.js +0 -23
  208. package/dist/components/atoms/Input/index.js +0 -26
  209. package/dist/components/atoms/Input/style.js +0 -26
  210. package/dist/components/atoms/InputFormatter/index.js +0 -184
  211. package/dist/components/atoms/InputFormatter/styles.js +0 -33
  212. package/dist/components/atoms/LabelToInput/index.js +0 -53
  213. package/dist/components/atoms/LabelToInput/style.js +0 -22
  214. package/dist/components/atoms/Percent/Percent.stories.js +0 -39
  215. package/dist/components/atoms/Percent/index.js +0 -39
  216. package/dist/components/atoms/Percent/styles.js +0 -20
  217. package/dist/components/atoms/Select/index.js +0 -39
  218. package/dist/components/atoms/Select/style.js +0 -32
  219. package/dist/components/molecules/RetailerSelector/RetailerSelector.stories.js +0 -48
  220. package/dist/components/molecules/RetailerSelector/index.js +0 -74
  221. package/dist/components/molecules/TextAndGradient/TextAndGradient.stories.js +0 -31
  222. package/dist/components/molecules/TextAndGradient/index.js +0 -36
  223. package/dist/components/molecules/TextAndGradient/styles.js +0 -18
  224. package/src/assets/images/generalButton/downloadIcon.svg +0 -3
  225. package/src/assets/images/modalsSVGs/attributesSent.svg +0 -208
  226. package/src/assets/images/modalsSVGs/descriptionSent.svg +0 -237
  227. package/src/assets/images/modalsSVGs/providerSent.svg +0 -445
  228. package/src/assets/images/modalsSVGs/uploadingImages.svg +0 -148
  229. package/src/components/atoms/CharCounter/CharCounter.stories.js +0 -11
  230. package/src/components/atoms/CharCounter/index.js +0 -13
  231. package/src/components/atoms/CharCounter/styles.js +0 -10
  232. package/src/components/atoms/Commentary/Commentary.stories.js +0 -0
  233. package/src/components/atoms/Commentary/index.js +0 -9
  234. package/src/components/atoms/Commentary/styles.js +0 -16
  235. package/src/components/atoms/Input/index.js +0 -15
  236. package/src/components/atoms/Input/style.js +0 -31
  237. package/src/components/atoms/InputFormatter/Wysiwyg.stories.js +0 -12
  238. package/src/components/atoms/InputFormatter/index.js +0 -144
  239. package/src/components/atoms/InputFormatter/styles.js +0 -40
  240. package/src/components/atoms/LabelToInput/index.js +0 -26
  241. package/src/components/atoms/LabelToInput/style.js +0 -41
  242. package/src/components/atoms/Select/index.js +0 -35
  243. package/src/components/atoms/Select/style.js +0 -76
  244. package/src/components/molecules/RetailerSelector/RetailerSelector.stories.js +0 -35
  245. package/src/components/molecules/RetailerSelector/index.js +0 -63
  246. package/src/components/molecules/RetailerSelector/styles.js +0 -18
@@ -0,0 +1,211 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.VerificationCodeResetPasswordLogin = void 0;
9
+
10
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
+
12
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/asyncToGenerator"));
13
+
14
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
15
+
16
+ var _styles = require("./styles");
17
+
18
+ var _GradientPanel = require("../../atoms/GradientPanel");
19
+
20
+ var _react = require("react");
21
+
22
+ var _LogoImage = require("../../atoms/LogoImage");
23
+
24
+ var _ScreenHeader = require("../../atoms/ScreenHeader");
25
+
26
+ var _variables = require("../../../global-files/variables");
27
+
28
+ var _GeneralInput = require("../../atoms/GeneralInput");
29
+
30
+ var _GeneralButton = require("../../atoms/GeneralButton");
31
+
32
+ var _utils = require("./utils");
33
+
34
+ var _jsxRuntime = require("react/jsx-runtime");
35
+
36
+ var VerificationCodeResetPasswordLogin = function VerificationCodeResetPasswordLogin(props) {
37
+ var _useState = (0, _react.useState)(false),
38
+ _useState2 = (0, _slicedToArray2.default)(_useState, 2),
39
+ resend = _useState2[0],
40
+ setResend = _useState2[1];
41
+
42
+ var _useState3 = (0, _react.useState)(""),
43
+ _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
44
+ awsError = _useState4[0],
45
+ setAwsError = _useState4[1];
46
+
47
+ var _useState5 = (0, _react.useState)(false),
48
+ _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
49
+ emptyVerificationCode = _useState6[0],
50
+ setEmptyVerificationCode = _useState6[1];
51
+
52
+ var _useState7 = (0, _react.useState)(document.querySelectorAll("[id^='verificationCodeInput']")),
53
+ _useState8 = (0, _slicedToArray2.default)(_useState7, 2),
54
+ inputCodeVerificationAll = _useState8[0],
55
+ setInputCodeVerificationAll = _useState8[1];
56
+
57
+ var inputPositions = [1, 2, 3, 4, 5, 6];
58
+ (0, _react.useEffect)(function () {
59
+ props.confirmationError !== "" && setEmptyVerificationCode(false);
60
+ }, [props.confirmationError]);
61
+
62
+ var checkCode = function checkCode(e, flag) {
63
+ var valid = true;
64
+ e.preventDefault();
65
+ var code = "";
66
+
67
+ if (awsError === "" && !flag) {
68
+ inputPositions.map(function (position) {
69
+ return code = code + document.querySelector("#verificationCodeInput".concat(position)).value;
70
+ });
71
+
72
+ if (sessionStorage.getItem("resetError")) {
73
+ JSON.parse(sessionStorage.getItem("confirmationCode")) === code && (valid = false);
74
+ }
75
+
76
+ sessionStorage.setItem("confirmationCode", JSON.stringify(code));
77
+ valid && !sessionStorage.getItem("resetPasswordProcess") && props.setPaso(6);
78
+ valid && sessionStorage.getItem("resetPasswordProcess") && props.setPaso(8);
79
+ }
80
+ };
81
+
82
+ var validateResend = /*#__PURE__*/function () {
83
+ var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(e) {
84
+ var email;
85
+ return _regenerator.default.wrap(function _callee$(_context) {
86
+ while (1) {
87
+ switch (_context.prev = _context.next) {
88
+ case 0:
89
+ e.preventDefault();
90
+ email = JSON.parse(sessionStorage.getItem("email"));
91
+ _context.prev = 2;
92
+ _context.next = 5;
93
+ return props.Auth.forgotPassword(email);
94
+
95
+ case 5:
96
+ sessionStorage.setItem("email", JSON.stringify(email));
97
+ sessionStorage.setItem("resetPasswordProcess", JSON.stringify("true"));
98
+ props.setPaso(5);
99
+ setEmptyVerificationCode(false);
100
+ setResend(true);
101
+ _context.next = 16;
102
+ break;
103
+
104
+ case 12:
105
+ _context.prev = 12;
106
+ _context.t0 = _context["catch"](2);
107
+ setAwsError(_context.t0.code);
108
+ console.log(_context.t0.message);
109
+
110
+ case 16:
111
+ case "end":
112
+ return _context.stop();
113
+ }
114
+ }
115
+ }, _callee, null, [[2, 12]]);
116
+ }));
117
+
118
+ return function validateResend(_x) {
119
+ return _ref.apply(this, arguments);
120
+ };
121
+ }();
122
+
123
+ (0, _react.useEffect)(function () {
124
+ setInputCodeVerificationAll(document.querySelectorAll("[id^='verificationCodeInput']"));
125
+ }, []);
126
+ var loginRight = [/*#__PURE__*/(0, _jsxRuntime.jsx)(_LogoImage.LogoImage, {}, "1"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
127
+ className: "credenciales",
128
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
129
+ fontFamily: _variables.FontFamily.AvenirNext,
130
+ color: _variables.GlobalColors.s5,
131
+ text: "Ingresa tus credenciales"
132
+ })
133
+ }, "2"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
134
+ className: "user",
135
+ children: [sessionStorage.getItem("email") && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
136
+ text: "Ingrese el c\xF3digo de verificaci\xF3n enviado a: ".concat(JSON.parse(sessionStorage.getItem("email"))),
137
+ headerType: "input-name-header"
138
+ }), !sessionStorage.getItem("email") && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
139
+ text: "Ingrese c\xF3digo de verificaci\xF3n enviado a: ".concat(JSON.parse(sessionStorage.getItem("nuevoRegistro")).email),
140
+ headerType: "input-name-header"
141
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
142
+ className: "verification-code",
143
+ children: inputPositions.map(function (position) {
144
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralInput.GeneralInput, {
145
+ inputId: "verificationCodeInput".concat(position),
146
+ inputType: "text",
147
+ inputPlaceholder: "X",
148
+ validateInput: _utils.validateInput,
149
+ inputsArray: inputCodeVerificationAll,
150
+ position: position,
151
+ maxLength: "1"
152
+ });
153
+ })
154
+ }), emptyVerificationCode && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
155
+ children: "Ingrese su c\xF3digo de verificaci\xF3n"
156
+ }), sessionStorage.getItem("resetError") && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
157
+ children: "C\xF3digo de verifiaci\xF3n incorrecto"
158
+ }), props.confirmationError === "LimitExceededException" && !emptyVerificationCode && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
159
+ children: "Haz realizado demasiados intentos, intentalo m\xE1s tarde"
160
+ }), props.confirmationError === "CodeMismatchException" && !emptyVerificationCode && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
161
+ children: "C\xF3digo de verificaci\xF3n incorrecto"
162
+ }), props.confirmationError === "ExpiredCodeException" && !emptyVerificationCode && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
163
+ children: "El c\xF3digo ingresado est\xE1 expirado"
164
+ }), props.confirmationError === "InternalErrorException" && !emptyVerificationCode && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
165
+ children: "Algo sali\xF3 mal, porfavor vuelva a intentarlo"
166
+ }), awsError === "LimitExceededException" && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
167
+ children: "Haz realizado demasiados intentos, intentalo m\xE1s tarde"
168
+ }), awsError === "InternalErrorException" && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
169
+ children: "Algo sali\xF3 mal, porfavor vuelva a intentarlo"
170
+ }), resend && awsError === "" && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
171
+ className: "resendTrue",
172
+ children: "Se reenvi\xF3 el c\xF3digo de verificaci\xF3n correctamente"
173
+ })]
174
+ }, "3"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
175
+ className: "resend-code",
176
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
177
+ onClick: function onClick(e) {
178
+ return validateResend(e);
179
+ },
180
+ children: "Reenviar c\xF3digo de verificaci\xF3n"
181
+ })
182
+ }, "4"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
183
+ className: "button-center",
184
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
185
+ buttonType: "general-default-button",
186
+ label: "Enviar",
187
+ onClick: function onClick(e) {
188
+ var flag = (0, _utils.validate)(inputCodeVerificationAll);
189
+ checkCode(e, flag);
190
+ setEmptyVerificationCode(flag);
191
+ }
192
+ })
193
+ }, "5"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
194
+ className: "reset-password",
195
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
196
+ onClick: function onClick() {
197
+ return props.setPaso(10);
198
+ },
199
+ children: "Regresar..."
200
+ })
201
+ }, "6")];
202
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
203
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GradientPanel.GradientPanel, {
204
+ componentsArray: loginRight,
205
+ panelType: "home-login",
206
+ panelColor: _variables.GlobalColors.white
207
+ })
208
+ });
209
+ };
210
+
211
+ exports.VerificationCodeResetPasswordLogin = VerificationCodeResetPasswordLogin;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.Container = void 0;
9
+
10
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
11
+
12
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
13
+
14
+ var _variables = require("../../../global-files/variables");
15
+
16
+ var _templateObject;
17
+
18
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n height: 100vh;\n width: 50%;\n align-items: center;\n justify-content: center;\n .button-center {\n text-align: center;\n .general-default-button {\n width: 160px;\n }\n }\n .reset-password {\n text-align: center;\n margin: 15px !important;\n color: ", ";\n cursor: pointer;\n font-weight: bold;\n font-family: ", ";\n font-size: 13px;\n }\n .resend-code {\n margin-top: 8px !important;\n color: ", ";\n font-family: ", ";\n font-size: 11px;\n text-decoration: underline rgb(228, 81, 172);\n cursor: pointer;\n & + * {\n margin-top: 30px;\n }\n }\n .verification-code {\n display: flex;\n text-align: center;\n margin: auto;\n margin-top: 10px;\n input[type=\"number\"]::-webkit-inner-spin-button,\n input[type=\"number\"]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n input {\n width: 70%;\n text-align: center;\n }\n }\n .resendTrue{\n color: ", ";\n }\n"])), _variables.GlobalColors.secondary_magenta, _variables.FontFamily.Raleway, _variables.GlobalColors.magenta_s2, _variables.FontFamily.AvenirNext, _variables.GlobalColors.exported);
19
+
20
+ exports.Container = Container;
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.validateInput = exports.validate = void 0;
7
+
8
+ /**
9
+ *
10
+ * @param {event} e event received triggered by verification code input
11
+ * @param {number} index index position from the verification code(VC) input array (i.e. digit 1,2,3 etc...)
12
+ * @param {array<html nodes>} inputsArray array which contains every VC digit input (used to change focus on input change)
13
+ */
14
+ var validateInput = function validateInput(e, index, inputsArray) {
15
+ var isValid = false;
16
+ var inputNotEmpty = e.target.value.length > 0;
17
+
18
+ if (inputNotEmpty) {
19
+ if (validateInputNumber(e) !== null) {
20
+ isValid = true;
21
+ nextInputFocus(inputsArray, index++);
22
+ }
23
+ }
24
+
25
+ return isValid ? e.target.value : "";
26
+ };
27
+ /**
28
+ *
29
+ * @param {event} e event received triggered by verification code input
30
+ * @returns {boolean} if digit is a number
31
+ */
32
+
33
+
34
+ exports.validateInput = validateInput;
35
+
36
+ var validateInputNumber = function validateInputNumber(e) {
37
+ return (e.target.value || String.fromCharCode(e.keyCode)).match(/[0-9]{1}/);
38
+ };
39
+ /**
40
+ *
41
+ * @param {array<html nodes>} inputsArray array which contains every VC digit input (used to change focus on input change)
42
+ * @param {number} index index position from the verification code(VC) input array (i.e. digit 1,2,3 etc...)
43
+ * changes focus to next input if digit typed is a number and there wasn't any before
44
+ */
45
+
46
+
47
+ var nextInputFocus = function nextInputFocus(inputsArray, index) {
48
+ var _inputsArray$index;
49
+
50
+ var button = document.getElementsByClassName("general-default-button");
51
+ inputsArray !== null && inputsArray !== void 0 && inputsArray.length && index === (inputsArray === null || inputsArray === void 0 ? void 0 : inputsArray.length) ? button[0].focus() : (_inputsArray$index = inputsArray[index]) === null || _inputsArray$index === void 0 ? void 0 : _inputsArray$index.focus();
52
+ };
53
+ /**
54
+ *
55
+ * @param {array<html nodes>} inputsArray array which contains every VC digit input (used to check if there's any empty)
56
+ * @param {function} setEmptyVerificationCode function to update flag which handles if there's an empty char
57
+ * updates emptyVerificationFlag from father component
58
+ */
59
+
60
+
61
+ var validate = function validate(inputsArray) {
62
+ var contInputEmpty = 0;
63
+ inputsArray.forEach(function (element) {
64
+ element.value === "" ? 0 : contInputEmpty++;
65
+ });
66
+ return contInputEmpty !== inputsArray.length;
67
+ };
68
+
69
+ exports.validate = validate;
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.default = exports.DefaultInputFormatter = void 0;
8
+ exports.default = exports.ChangePasswordDefault = void 0;
9
9
 
10
10
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
11
11
 
@@ -14,17 +14,15 @@ var _index = require("./index");
14
14
  var _jsxRuntime = require("react/jsx-runtime");
15
15
 
16
16
  var _default = {
17
- title: "Components/atoms/InputFormatter",
18
- component: _index.InputFormatter
17
+ title: "Components/organisms/ChangePassword",
18
+ component: _index.ChangePassword
19
19
  };
20
20
  exports.default = _default;
21
21
 
22
22
  var Template = function Template(args) {
23
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.InputFormatter, (0, _objectSpread2.default)({}, args));
23
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ChangePassword, (0, _objectSpread2.default)({}, args));
24
24
  };
25
25
 
26
- var DefaultInputFormatter = Template.bind({});
27
- exports.DefaultInputFormatter = DefaultInputFormatter;
28
- DefaultInputFormatter.args = {
29
- text: "hola mundo"
30
- };
26
+ var ChangePasswordDefault = Template.bind({});
27
+ exports.ChangePasswordDefault = ChangePasswordDefault;
28
+ ChangePasswordDefault.args = {};
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.ChangePassword = void 0;
9
+
10
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
+
12
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/asyncToGenerator"));
13
+
14
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
15
+
16
+ var _styles = require("./styles");
17
+
18
+ var _LoginPasswordStrength = require("../../molecules/LoginPasswordStrength");
19
+
20
+ var _react = require("react");
21
+
22
+ var _GeneralButton = require("../../atoms/GeneralButton");
23
+
24
+ var _LogoImage = require("../../atoms/LogoImage");
25
+
26
+ var _ScreenHeader = require("../../atoms/ScreenHeader");
27
+
28
+ var _variables = require("../../../global-files/variables");
29
+
30
+ var _GradientPanel = require("../../atoms/GradientPanel");
31
+
32
+ var _jsxRuntime = require("react/jsx-runtime");
33
+
34
+ var ChangePassword = function ChangePassword(props) {
35
+ var _useState = (0, _react.useState)(false),
36
+ _useState2 = (0, _slicedToArray2.default)(_useState, 2),
37
+ emptyPassword = _useState2[0],
38
+ setEmptyPassword = _useState2[1];
39
+
40
+ var _useState3 = (0, _react.useState)(false),
41
+ _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
42
+ emptyConfirmPassword = _useState4[0],
43
+ setEmptyConfirmPassword = _useState4[1];
44
+
45
+ var _useState5 = (0, _react.useState)(true),
46
+ _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
47
+ matchPasswords = _useState6[0],
48
+ setMatchPasswords = _useState6[1];
49
+
50
+ var validate = /*#__PURE__*/function () {
51
+ var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(e) {
52
+ var password, confirmPassword, valid;
53
+ return _regenerator.default.wrap(function _callee$(_context) {
54
+ while (1) {
55
+ switch (_context.prev = _context.next) {
56
+ case 0:
57
+ e.preventDefault();
58
+ password = document.querySelector("#newPasswordInput").value;
59
+ password.length < 8 ? setEmptyPassword(true) : setEmptyPassword(false);
60
+ confirmPassword = document.querySelector("#confirmPasswordInput").value;
61
+ confirmPassword === "" ? setEmptyConfirmPassword(true) : setEmptyConfirmPassword(false);
62
+
63
+ if (password === confirmPassword) {
64
+ setMatchPasswords(true);
65
+ } else {
66
+ setMatchPasswords(false);
67
+ }
68
+
69
+ valid = true;
70
+
71
+ if (password.length < 8 || confirmPassword === "" || password !== confirmPassword) {
72
+ valid = false;
73
+ }
74
+
75
+ if (valid) {
76
+ sessionStorage.setItem("newPassword", JSON.stringify(password));
77
+ !sessionStorage.getItem("resetPasswordProcess") ? props.setPaso(9) : props.setPaso(11);
78
+ }
79
+
80
+ case 9:
81
+ case "end":
82
+ return _context.stop();
83
+ }
84
+ }
85
+ }, _callee);
86
+ }));
87
+
88
+ return function validate(_x) {
89
+ return _ref.apply(this, arguments);
90
+ };
91
+ }();
92
+
93
+ var loginRight = [/*#__PURE__*/(0, _jsxRuntime.jsx)(_LogoImage.LogoImage, {}, "1"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
94
+ className: "credenciales",
95
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
96
+ fontFamily: _variables.FontFamily.AvenirNext,
97
+ color: _variables.GlobalColors.s5,
98
+ text: "Ingresa tus credenciales"
99
+ })
100
+ }, "2"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_LoginPasswordStrength.LoginPasswordStrength, {
101
+ emptyPassword: emptyPassword,
102
+ emptyConfirmPassword: emptyConfirmPassword,
103
+ matchPasswords: matchPasswords,
104
+ textTittle: "Ingresa tus credenciales"
105
+ }, "3"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
106
+ className: "button-center",
107
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
108
+ buttonType: "general-default-button",
109
+ label: "Enviar",
110
+ onClick: function onClick(e) {
111
+ return validate(e);
112
+ }
113
+ })
114
+ }, "4")];
115
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
116
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GradientPanel.GradientPanel, {
117
+ panelColor: _variables.GlobalColors.white,
118
+ componentsArray: loginRight,
119
+ panelType: "home-login"
120
+ })
121
+ });
122
+ };
123
+
124
+ exports.ChangePassword = ChangePassword;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.Container = void 0;
9
+
10
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
11
+
12
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
13
+
14
+ var _templateObject;
15
+
16
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 50%;\n height: 100vh;\n .button-center {\n display: flex;\n justify-content: center;\n .general-default-button {\n width: 160px;\n }\n }\n"])));
17
+
18
+ exports.Container = Container;
@@ -16,46 +16,22 @@ var _AvatarAndValidation = require("../../molecules/AvatarAndValidation");
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
17
 
18
18
  var FullProductNameHeader = function FullProductNameHeader(_ref) {
19
- var _headerData$article, _headerData$article2, _headerData$article3, _headerData$article4, _headerData$article5;
20
-
21
- var headerData = _ref.headerData,
22
- percent = _ref.percent,
23
- activeRetailer = _ref.activeRetailer,
24
- setActiveRetailer = _ref.setActiveRetailer,
25
- approveRejectButtons = _ref.approveRejectButtons,
26
- sendToFacilitator = _ref.sendToFacilitator,
27
- auditorAssigned = _ref.auditorAssigned,
28
- userAssigned = _ref.userAssigned;
19
+ var headerData = _ref.headerData;
29
20
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
30
21
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ProductNameHeader.ProductNameHeader, {
31
- productName: headerData === null || headerData === void 0 ? void 0 : (_headerData$article = headerData.article) === null || _headerData$article === void 0 ? void 0 : _headerData$article.name,
22
+ productName: headerData === null || headerData === void 0 ? void 0 : headerData.name,
32
23
  statusType: headerData === null || headerData === void 0 ? void 0 : headerData.status,
33
- percent: percent === null || percent === void 0 ? void 0 : percent.toFixed(0),
34
- priority: headerData === null || headerData === void 0 ? void 0 : headerData.prio,
35
- date: new Date(headerData === null || headerData === void 0 ? void 0 : (_headerData$article2 = headerData.article) === null || _headerData$article2 === void 0 ? void 0 : _headerData$article2.timestamp).toLocaleDateString()
24
+ percent: headerData === null || headerData === void 0 ? void 0 : headerData.percent,
25
+ backgroundColor: headerData === null || headerData === void 0 ? void 0 : headerData.backgroundColor,
26
+ priority: headerData === null || headerData === void 0 ? void 0 : headerData.priority,
27
+ date: headerData === null || headerData === void 0 ? void 0 : headerData.date
36
28
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
37
29
  className: "features-bar-container",
38
30
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_FeaturesBar.FeaturesBar, {
39
- features: [{
40
- feature: "Categoría",
41
- value: headerData === null || headerData === void 0 ? void 0 : (_headerData$article3 = headerData.article) === null || _headerData$article3 === void 0 ? void 0 : _headerData$article3.category
42
- }, {
43
- feature: "Prov",
44
- value: headerData === null || headerData === void 0 ? void 0 : (_headerData$article4 = headerData.article) === null || _headerData$article4 === void 0 ? void 0 : _headerData$article4.company_name
45
- }, {
46
- feature: "UPC",
47
- value: headerData === null || headerData === void 0 ? void 0 : (_headerData$article5 = headerData.article) === null || _headerData$article5 === void 0 ? void 0 : _headerData$article5.upc
48
- }]
31
+ features: headerData === null || headerData === void 0 ? void 0 : headerData.features
49
32
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AvatarAndValidation.AvatarAndValidation, {
50
- retailers: headerData === null || headerData === void 0 ? void 0 : headerData.retailers,
51
33
  avatarData: headerData === null || headerData === void 0 ? void 0 : headerData.avatarData,
52
- validation: headerData === null || headerData === void 0 ? void 0 : headerData.validation,
53
- activeRetailer: activeRetailer,
54
- setActiveRetailer: setActiveRetailer,
55
- approveRejectButtons: approveRejectButtons,
56
- sendToFacilitator: sendToFacilitator,
57
- auditorAssigned: auditorAssigned,
58
- userAssigned: userAssigned
34
+ validation: headerData === null || headerData === void 0 ? void 0 : headerData.validation
59
35
  })]
60
36
  })]
61
37
  });
@@ -21,17 +21,10 @@ var _jsxRuntime = require("react/jsx-runtime");
21
21
 
22
22
  var FullTabsMenu = function FullTabsMenu(_ref) {
23
23
  var tabsSections = _ref.tabsSections,
24
- _ref$status = _ref.status,
25
- status = _ref$status === void 0 ? "" : _ref$status,
26
- activeTab = _ref.activeTab,
24
+ status = _ref.status,
25
+ profileImage = _ref.profileImage,
27
26
  setActiveTab = _ref.setActiveTab,
28
- setImageLayout = _ref.setImageLayout,
29
- assig = _ref.assig,
30
- setAssignation = _ref.setAssignation,
31
- isRetailer = _ref.isRetailer,
32
- downloadImages = _ref.downloadImages,
33
- askToDeleteImages = _ref.askToDeleteImages,
34
- onClickSave = _ref.onClickSave;
27
+ setImageLayout = _ref.setImageLayout;
35
28
 
36
29
  var _useState = (0, _react.useState)(false),
37
30
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
@@ -45,15 +38,9 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
45
38
  setActiveTab: setActiveTab
46
39
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.StatusAsignationInfo, {
47
40
  status: status,
48
- activeTab: activeTab,
41
+ image: profileImage,
49
42
  setImageLayout: setImageLayout,
50
- imagesSection: imagesSection,
51
- assignationsImages: assig,
52
- setAssignation: setAssignation,
53
- isRetailer: isRetailer,
54
- downloadImages: downloadImages,
55
- onClickSave: onClickSave,
56
- askToDeleteImages: askToDeleteImages
43
+ imagesSection: imagesSection
57
44
  })]
58
45
  });
59
46
  };