contentoh-components-library 21.0.74 → 21.0.78
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.
- package/.env.development +4 -2
- package/.env.production +4 -2
- package/CHANGELOG.md +39 -0
- package/dist/assets/images/editField/showPassword.png +0 -0
- package/dist/assets/images/sliderToolTip/infoIcon.svg +4 -0
- package/dist/assets/images/sliderToolTip/slide1.svg +5 -0
- package/dist/assets/images/sliderToolTip/slide2.svg +9 -0
- package/dist/assets/images/sliderToolTip/slide3.svg +9 -0
- package/dist/assets/images/sliderToolTip/slide4.svg +9 -0
- package/dist/assets/images/sliderToolTip/slide5.svg +40 -0
- package/dist/assets/images/verticalSideMenuMainPage/closeMenu.svg +4 -0
- package/dist/assets/images/verticalSideMenuMainPage/iconFAQS.svg +12 -0
- package/dist/assets/images/verticalSideMenuMainPage/iconGroup.svg +3 -0
- package/dist/assets/images/verticalSideMenuMainPage/iconLogo.svg +12 -0
- package/dist/assets/images/verticalSideMenuMainPage/iconLogoContentoh.svg +15 -0
- package/dist/assets/images/verticalSideMenuMainPage/iconProduct.svg +3 -0
- package/dist/assets/images/verticalSideMenuMainPage/iconSpeedometer.svg +12 -0
- package/dist/assets/images/verticalSideMenuMainPage/iconTask.svg +10 -0
- package/dist/assets/images/verticalSideMenuMainPage/openMenu.svg +4 -0
- package/dist/components/atoms/GeneralInput/index.js +2 -2
- package/dist/components/atoms/GradientPanel/styles.js +1 -1
- package/dist/components/atoms/Loading/Loading.stories.js +28 -0
- package/dist/components/atoms/Loading/index.js +1 -0
- package/dist/components/atoms/LogoImage/index.js +1 -0
- package/dist/components/atoms/SliderToolTip/SliderToolTip.stories.js +47 -0
- package/dist/components/atoms/SliderToolTip/index.js +200 -0
- package/dist/components/atoms/SliderToolTip/styles.js +24 -0
- package/dist/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +28 -0
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +99 -0
- package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +24 -0
- package/dist/components/molecules/CarouselImagesLogin/index.js +40 -42
- package/dist/components/molecules/EmailResetPasswordLogin/EmailResetPasswordLogin.stories.js +28 -0
- package/dist/components/molecules/EmailResetPasswordLogin/index.js +153 -0
- package/dist/components/molecules/EmailResetPasswordLogin/styles.js +20 -0
- package/dist/components/molecules/LoginPasswordStrength/index.js +9 -9
- package/dist/components/molecules/LoginPasswordStrength/styles.js +1 -1
- package/dist/components/molecules/LogoLoading/Loading.stories.js +28 -0
- package/dist/components/molecules/LogoLoading/index.js +22 -0
- package/dist/components/molecules/LogoLoading/styles.js +18 -0
- package/dist/components/molecules/RegistrationFirstStep/RegistrationFirstStep.stories.js +28 -0
- package/dist/components/molecules/RegistrationFirstStep/index.js +308 -0
- package/dist/components/molecules/RegistrationFirstStep/styles.js +20 -0
- package/dist/components/molecules/RegistrationSecondStep/RegistrationSecondStep.stories.js +28 -0
- package/dist/components/molecules/RegistrationSecondStep/index.js +173 -0
- package/dist/components/molecules/RegistrationSecondStep/styles.js +20 -0
- package/dist/components/molecules/RegistrationThirdStep/RegistrationThirdStep.stories.js +28 -0
- package/dist/components/molecules/RegistrationThirdStep/index.js +155 -0
- package/dist/components/molecules/RegistrationThirdStep/styles.js +20 -0
- package/dist/components/molecules/SignInLogin/SignInLogin.stories.js +28 -0
- package/dist/components/molecules/SignInLogin/index.js +315 -0
- package/dist/components/molecules/SignInLogin/styles.js +20 -0
- package/dist/components/molecules/StatusAsignationInfo/index.js +3 -2
- package/dist/components/molecules/TagAndInput/index.js +4 -2
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/VerificationCodeResetPasswordLogin.stories.js +28 -0
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/index.js +211 -0
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/styles.js +20 -0
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/utils.js +69 -0
- package/dist/components/organisms/ChangePassword/ChangePassword.stories.js +28 -0
- package/dist/components/organisms/ChangePassword/index.js +124 -0
- package/dist/components/organisms/ChangePassword/styles.js +18 -0
- package/dist/components/organisms/FullTabsMenu/index.js +4 -2
- package/dist/components/organisms/InputGroup/index.js +1 -0
- package/dist/components/pages/ProviderProductEdition/index.js +1 -0
- package/dist/components/pages/RetailerProductEdition/index.js +1 -0
- package/dist/components/pages/VerificationCodeResetPassword/index.js +1 -1
- package/dist/index.js +290 -30
- package/package.json +12 -4
- package/src/assets/images/editField/showPassword.png +0 -0
- package/src/assets/images/sliderToolTip/infoIcon.svg +4 -0
- package/src/assets/images/sliderToolTip/slide1.svg +5 -0
- package/src/assets/images/sliderToolTip/slide2.svg +9 -0
- package/src/assets/images/sliderToolTip/slide3.svg +9 -0
- package/src/assets/images/sliderToolTip/slide4.svg +9 -0
- package/src/assets/images/sliderToolTip/slide5.svg +40 -0
- package/src/assets/images/verticalSideMenuMainPage/closeMenu.svg +4 -0
- package/src/assets/images/verticalSideMenuMainPage/iconFAQS.svg +12 -0
- package/src/assets/images/verticalSideMenuMainPage/iconGroup.svg +3 -0
- package/src/assets/images/verticalSideMenuMainPage/iconLogo.svg +12 -0
- package/src/assets/images/verticalSideMenuMainPage/iconLogoContentoh.svg +15 -0
- package/src/assets/images/verticalSideMenuMainPage/iconProduct.svg +3 -0
- package/src/assets/images/verticalSideMenuMainPage/iconSpeedometer.svg +12 -0
- package/src/assets/images/verticalSideMenuMainPage/iconTask.svg +10 -0
- package/src/assets/images/verticalSideMenuMainPage/openMenu.svg +4 -0
- package/src/components/atoms/GeneralInput/index.js +1 -1
- package/src/components/atoms/GradientPanel/styles.js +1 -0
- package/src/components/atoms/Loading/Loading.stories.js +10 -0
- package/src/components/atoms/Loading/index.js +3 -2
- package/src/components/atoms/LogoImage/index.js +1 -1
- package/src/components/atoms/SliderToolTip/SliderToolTip.stories.js +23 -0
- package/src/components/atoms/SliderToolTip/index.js +182 -0
- package/src/components/atoms/SliderToolTip/styles.js +168 -0
- package/src/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +12 -0
- package/src/components/atoms/VerticalSideMenuMainPage/index.js +55 -0
- package/src/components/atoms/VerticalSideMenuMainPage/styles.js +45 -0
- package/src/components/molecules/CarouselImagesLogin/index.js +34 -37
- package/src/components/molecules/EmailResetPasswordLogin/EmailResetPasswordLogin.stories.js +11 -0
- package/src/components/molecules/EmailResetPasswordLogin/index.js +85 -0
- package/src/components/molecules/EmailResetPasswordLogin/styles.js +23 -0
- package/src/components/molecules/LoginPasswordStrength/index.js +11 -6
- package/src/components/molecules/LoginPasswordStrength/styles.js +5 -1
- package/src/components/molecules/LogoLoading/Loading.stories.js +10 -0
- package/src/components/molecules/LogoLoading/index.js +12 -0
- package/src/components/molecules/LogoLoading/styles.js +16 -0
- package/src/components/molecules/RegistrationFirstStep/RegistrationFirstStep.stories.js +11 -0
- package/src/components/molecules/RegistrationFirstStep/index.js +227 -0
- package/src/components/molecules/RegistrationFirstStep/styles.js +87 -0
- package/src/components/molecules/RegistrationSecondStep/RegistrationSecondStep.stories.js +11 -0
- package/src/components/molecules/RegistrationSecondStep/index.js +136 -0
- package/src/components/molecules/RegistrationSecondStep/styles.js +64 -0
- package/src/components/molecules/RegistrationThirdStep/RegistrationThirdStep.stories.js +11 -0
- package/src/components/molecules/RegistrationThirdStep/index.js +130 -0
- package/src/components/molecules/RegistrationThirdStep/styles.js +44 -0
- package/src/components/molecules/SignInLogin/SignInLogin.stories.js +11 -0
- package/src/components/molecules/SignInLogin/index.js +226 -0
- package/src/components/molecules/SignInLogin/styles.js +120 -0
- package/src/components/molecules/StatusAsignationInfo/index.js +2 -1
- package/src/components/molecules/TagAndInput/index.js +2 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/VerificationCodeResetPasswordLogin.stories.js +11 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/index.js +171 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/styles.js +54 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/utils.js +54 -0
- package/src/components/organisms/ChangePassword/ChangePassword.stories.js +11 -0
- package/src/components/organisms/ChangePassword/index.js +77 -0
- package/src/components/organisms/ChangePassword/styles.js +13 -0
- package/src/components/organisms/FullTabsMenu/index.js +2 -0
- package/src/components/organisms/InputGroup/index.js +1 -0
- package/src/components/pages/ProviderProductEdition/index.js +1 -0
- package/src/components/pages/RetailerProductEdition/index.js +1 -0
- package/src/components/pages/VerificationCodeResetPassword/index.js +1 -1
- package/src/index.js +21 -1
|
@@ -0,0 +1,308 @@
|
|
|
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.RegistrationFirstStep = void 0;
|
|
9
|
+
|
|
10
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
11
|
+
|
|
12
|
+
var _styles = require("./styles");
|
|
13
|
+
|
|
14
|
+
var _GradientPanel = require("../../atoms/GradientPanel");
|
|
15
|
+
|
|
16
|
+
var _react = require("react");
|
|
17
|
+
|
|
18
|
+
var _LogoImage = require("../../atoms/LogoImage");
|
|
19
|
+
|
|
20
|
+
var _ScreenHeader = require("../../atoms/ScreenHeader");
|
|
21
|
+
|
|
22
|
+
var _variables = require("../../../global-files/variables");
|
|
23
|
+
|
|
24
|
+
var _TagAndInput = require("../../molecules/TagAndInput");
|
|
25
|
+
|
|
26
|
+
var _GeneralButton = require("../../atoms/GeneralButton");
|
|
27
|
+
|
|
28
|
+
var _GeneralInput = require("../../atoms/GeneralInput");
|
|
29
|
+
|
|
30
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
31
|
+
|
|
32
|
+
var RegistrationFirstStep = function RegistrationFirstStep(props) {
|
|
33
|
+
var _useState = (0, _react.useState)(false),
|
|
34
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
35
|
+
emptyName = _useState2[0],
|
|
36
|
+
setEmptyName = _useState2[1];
|
|
37
|
+
|
|
38
|
+
var _useState3 = (0, _react.useState)(false),
|
|
39
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
40
|
+
emptyLastName = _useState4[0],
|
|
41
|
+
setEmptyLastName = _useState4[1];
|
|
42
|
+
|
|
43
|
+
var _useState5 = (0, _react.useState)(false),
|
|
44
|
+
_useState6 = (0, _slicedToArray2.default)(_useState5, 2),
|
|
45
|
+
emptyEmail = _useState6[0],
|
|
46
|
+
setEmptyEmail = _useState6[1];
|
|
47
|
+
|
|
48
|
+
var _useState7 = (0, _react.useState)(false),
|
|
49
|
+
_useState8 = (0, _slicedToArray2.default)(_useState7, 2),
|
|
50
|
+
emptyJob = _useState8[0],
|
|
51
|
+
setEmptyJob = _useState8[1];
|
|
52
|
+
|
|
53
|
+
var _useState9 = (0, _react.useState)(false),
|
|
54
|
+
_useState10 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
55
|
+
emptyPhone = _useState10[0],
|
|
56
|
+
setEmptyPhone = _useState10[1];
|
|
57
|
+
|
|
58
|
+
var _useState11 = (0, _react.useState)(false),
|
|
59
|
+
_useState12 = (0, _slicedToArray2.default)(_useState11, 2),
|
|
60
|
+
emptyCountry = _useState12[0],
|
|
61
|
+
setEmptyCountry = _useState12[1];
|
|
62
|
+
|
|
63
|
+
var _useState13 = (0, _react.useState)(false),
|
|
64
|
+
_useState14 = (0, _slicedToArray2.default)(_useState13, 2),
|
|
65
|
+
invalidEmail = _useState14[0],
|
|
66
|
+
setInvalidEmail = _useState14[1];
|
|
67
|
+
|
|
68
|
+
var _useState15 = (0, _react.useState)(false),
|
|
69
|
+
_useState16 = (0, _slicedToArray2.default)(_useState15, 2),
|
|
70
|
+
phoneFormatError = _useState16[0],
|
|
71
|
+
setPhoneFormatError = _useState16[1];
|
|
72
|
+
|
|
73
|
+
var _useState17 = (0, _react.useState)(false),
|
|
74
|
+
_useState18 = (0, _slicedToArray2.default)(_useState17, 2),
|
|
75
|
+
regError = _useState18[0],
|
|
76
|
+
setRegError = _useState18[1];
|
|
77
|
+
|
|
78
|
+
(0, _react.useEffect)(function () {
|
|
79
|
+
JSON.parse(sessionStorage.getItem("nuevoRegistro")).name === "" && sessionStorage.removeItem("registrationError");
|
|
80
|
+
sessionStorage.getItem("registrationError") && setRegError(true);
|
|
81
|
+
|
|
82
|
+
if (sessionStorage.getItem("registrationError")) {
|
|
83
|
+
setEmptyName(false);
|
|
84
|
+
setEmptyLastName(false);
|
|
85
|
+
setEmptyEmail(false);
|
|
86
|
+
setEmptyJob(false);
|
|
87
|
+
setEmptyCountry(false);
|
|
88
|
+
setEmptyPhone(false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
sessionStorage.getItem("resetPasswordProcess") && sessionStorage.getItem("resetPasswordProcess");
|
|
92
|
+
}, []);
|
|
93
|
+
|
|
94
|
+
var validate = function validate(evt) {
|
|
95
|
+
var name = document.querySelector("#nameInput").value;
|
|
96
|
+
var lastName = document.querySelector("#lastNameInput").value;
|
|
97
|
+
var email = document.querySelector("#emailInput").value;
|
|
98
|
+
var job = document.querySelector("#jobInput").value;
|
|
99
|
+
var phone = document.querySelector("#phoneInput").value;
|
|
100
|
+
var country = document.querySelector("#countrySelect").value;
|
|
101
|
+
var countryCode = document.querySelector("#countryCodeSelect").value;
|
|
102
|
+
var valid = true;
|
|
103
|
+
evt.preventDefault();
|
|
104
|
+
name === "" ? setEmptyName(true) : setEmptyName(false);
|
|
105
|
+
lastName === "" ? setEmptyLastName(true) : setEmptyLastName(false);
|
|
106
|
+
email === "" ? setEmptyEmail(true) : setEmptyEmail(false);
|
|
107
|
+
job === "" ? setEmptyJob(true) : setEmptyJob(false);
|
|
108
|
+
phone === "" ? setEmptyPhone(true) : setEmptyPhone(false);
|
|
109
|
+
!/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(email) ? setInvalidEmail(true) : setInvalidEmail(false);
|
|
110
|
+
var invalidPhone = true;
|
|
111
|
+
country === "value" ? setEmptyCountry(true) : setEmptyCountry(false);
|
|
112
|
+
Array.from(phone).forEach(function (digit, i) {
|
|
113
|
+
phone.charCodeAt(i) < 48 ? setPhoneFormatError(true) : invalidPhone = false;
|
|
114
|
+
phone.charCodeAt(i) > 57 ? setPhoneFormatError(true) : invalidPhone = false;
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
if (name === "" || lastName === "" || email === "" || job === "" || phone === "" || country === "value" || !/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(email) || invalidPhone) {
|
|
118
|
+
valid = false;
|
|
119
|
+
} else valid = true;
|
|
120
|
+
|
|
121
|
+
var nuevoUsuario = JSON.parse(sessionStorage.getItem("nuevoRegistro"));
|
|
122
|
+
|
|
123
|
+
if (valid) {
|
|
124
|
+
sessionStorage.setItem("countryCode", JSON.stringify(countryCode));
|
|
125
|
+
nuevoUsuario.name = name;
|
|
126
|
+
nuevoUsuario.lastName = lastName;
|
|
127
|
+
nuevoUsuario.email = email;
|
|
128
|
+
nuevoUsuario.position = job;
|
|
129
|
+
nuevoUsuario.phone = "".concat(JSON.parse(sessionStorage.getItem("countryCode"))).concat(phone);
|
|
130
|
+
nuevoUsuario.country = country;
|
|
131
|
+
sessionStorage.setItem("nuevoRegistro", JSON.stringify(nuevoUsuario));
|
|
132
|
+
!regError && valid && props.setPaso(function (paso) {
|
|
133
|
+
return props.paso + 1;
|
|
134
|
+
});
|
|
135
|
+
regError && valid && props.setPaso(4);
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
var loginRight = [/*#__PURE__*/(0, _jsxRuntime.jsx)(_LogoImage.LogoImage, {}, "1"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
140
|
+
className: "credenciales",
|
|
141
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
142
|
+
fontFamily: _variables.FontFamily.AvenirNext,
|
|
143
|
+
color: _variables.GlobalColors.s5,
|
|
144
|
+
text: "Ingresa tus credenciales"
|
|
145
|
+
})
|
|
146
|
+
}, "2"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
147
|
+
className: "user",
|
|
148
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
149
|
+
className: "name-registration-user",
|
|
150
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_TagAndInput.TagAndInput, {
|
|
151
|
+
inputType: "text",
|
|
152
|
+
inputId: "nameInput",
|
|
153
|
+
label: "Nombre",
|
|
154
|
+
inputPlaceHolder: "Nombre",
|
|
155
|
+
required: "required"
|
|
156
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TagAndInput.TagAndInput, {
|
|
157
|
+
inputType: "text",
|
|
158
|
+
inputId: "lastNameInput",
|
|
159
|
+
label: "Apellido",
|
|
160
|
+
inputPlaceHolder: "Apellido",
|
|
161
|
+
required: "required"
|
|
162
|
+
})]
|
|
163
|
+
}), emptyName && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
164
|
+
children: "Ingrese su nombre"
|
|
165
|
+
}), emptyLastName && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
166
|
+
className: "lastname",
|
|
167
|
+
children: "Ingrese sus apellidos"
|
|
168
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TagAndInput.TagAndInput, {
|
|
169
|
+
inputType: "text",
|
|
170
|
+
inputId: "emailInput",
|
|
171
|
+
label: "Correo electrónico",
|
|
172
|
+
inputPlaceHolder: "username@contentoh.com",
|
|
173
|
+
required: "required"
|
|
174
|
+
}), regError && JSON.parse(sessionStorage.getItem("registrationError")) === "emailExists" && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
175
|
+
children: "Ya existe una cuenta asociada a este correo"
|
|
176
|
+
}), emptyEmail && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
177
|
+
children: "Ingrese su email"
|
|
178
|
+
}), invalidEmail && !emptyEmail && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
179
|
+
children: "Ingrese un correo v\xE1lido"
|
|
180
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TagAndInput.TagAndInput, {
|
|
181
|
+
inputType: "text",
|
|
182
|
+
inputId: "jobInput",
|
|
183
|
+
label: "Puesto laboral",
|
|
184
|
+
inputPlaceHolder: "Puesto dentro de la empresa",
|
|
185
|
+
required: "required"
|
|
186
|
+
}), emptyJob && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
187
|
+
children: "Ingrese su puesto"
|
|
188
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
189
|
+
text: "Teléfono",
|
|
190
|
+
headerType: "input-name-header"
|
|
191
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
192
|
+
className: "phone-registration-user",
|
|
193
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("select", {
|
|
194
|
+
name: "select",
|
|
195
|
+
className: "phone-options",
|
|
196
|
+
id: "countryCodeSelect",
|
|
197
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
198
|
+
children: "+52"
|
|
199
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
200
|
+
children: "+54"
|
|
201
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
202
|
+
children: "+57"
|
|
203
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
204
|
+
children: "+506"
|
|
205
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
206
|
+
children: "+593"
|
|
207
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
208
|
+
children: "+503"
|
|
209
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
210
|
+
children: "+504"
|
|
211
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
212
|
+
children: "+507"
|
|
213
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
214
|
+
children: "+51"
|
|
215
|
+
})]
|
|
216
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralInput.GeneralInput, {
|
|
217
|
+
inputId: "phoneInput",
|
|
218
|
+
inputType: "text",
|
|
219
|
+
inputPlaceholder: "Teléfono",
|
|
220
|
+
required: "required"
|
|
221
|
+
})]
|
|
222
|
+
}), regError && JSON.parse(sessionStorage.getItem("registrationError")) === "phoneFormatError" && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
223
|
+
children: "Introduzca un n\xFAmero v\xE1lido"
|
|
224
|
+
}), emptyPhone && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
225
|
+
children: "Ingrese su n\xFAmero de tel\xE9fono"
|
|
226
|
+
}), phoneFormatError && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
227
|
+
children: "Introduzca un n\xFAmero valido ( Solo numeros )"
|
|
228
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
229
|
+
text: "País",
|
|
230
|
+
headerType: "input-name-header"
|
|
231
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("select", {
|
|
232
|
+
name: "select",
|
|
233
|
+
className: "country-options",
|
|
234
|
+
id: "countrySelect",
|
|
235
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
236
|
+
value: "value",
|
|
237
|
+
selected: true,
|
|
238
|
+
children: "Selecciona tu pa\xEDs"
|
|
239
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
240
|
+
value: "Argentina",
|
|
241
|
+
children: "Argentina"
|
|
242
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
243
|
+
value: "Colombia",
|
|
244
|
+
children: "Colombia"
|
|
245
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
246
|
+
value: "Ecuador",
|
|
247
|
+
children: "Ecuador"
|
|
248
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
249
|
+
value: "El Salvador",
|
|
250
|
+
children: "El Salvador"
|
|
251
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
252
|
+
value: "Honduras",
|
|
253
|
+
children: "Honduras"
|
|
254
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
255
|
+
value: "M\xE9xico",
|
|
256
|
+
children: "M\xE9xico"
|
|
257
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
258
|
+
value: "Panam\xE1",
|
|
259
|
+
children: "Panam\xE1"
|
|
260
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("option", {
|
|
261
|
+
value: "Per\xFA",
|
|
262
|
+
children: "Per\xFA"
|
|
263
|
+
})]
|
|
264
|
+
}), emptyCountry && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
265
|
+
children: "Seleccione su pa\xEDs"
|
|
266
|
+
})]
|
|
267
|
+
}, "3"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
268
|
+
className: "button-end",
|
|
269
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
|
|
270
|
+
buttonType: "general-default-button",
|
|
271
|
+
label: "Enviar",
|
|
272
|
+
onClick: function onClick(e) {
|
|
273
|
+
validate(e);
|
|
274
|
+
}
|
|
275
|
+
})
|
|
276
|
+
}, "4"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
277
|
+
className: "progress-bar",
|
|
278
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
279
|
+
className: "progress-bar-first-step"
|
|
280
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
281
|
+
className: "progress-bar-registration"
|
|
282
|
+
})]
|
|
283
|
+
}, "5"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
284
|
+
text: "Paso 1",
|
|
285
|
+
headerType: "date-header",
|
|
286
|
+
color: _variables.GlobalColors.s4
|
|
287
|
+
}, "6"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
288
|
+
className: "new-login",
|
|
289
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("p", {
|
|
290
|
+
className: "pre-registro",
|
|
291
|
+
onClick: function onClick() {
|
|
292
|
+
return props.setPaso(7);
|
|
293
|
+
},
|
|
294
|
+
children: ["\xBFYa tienes una cuenta?", /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
295
|
+
children: " Inicia Sesi\xF3n"
|
|
296
|
+
})]
|
|
297
|
+
})
|
|
298
|
+
}, "7")];
|
|
299
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
300
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GradientPanel.GradientPanel, {
|
|
301
|
+
componentsArray: loginRight,
|
|
302
|
+
panelType: "home-login",
|
|
303
|
+
panelColor: _variables.GlobalColors.white
|
|
304
|
+
})
|
|
305
|
+
});
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
exports.RegistrationFirstStep = RegistrationFirstStep;
|
|
@@ -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 width: 50%;\n height: 100vh;\n .user {\n .name-registration-user {\n display: flex;\n justify-content: space-between;\n input {\n width: 160px;\n }\n }\n .lastname {\n margin-left: 69%;\n }\n .input-name-header {\n margin-bottom: 4px;\n margin-top: 12px;\n }\n .phone-registration-user {\n display: flex;\n justify-content: space-between;\n .phone-options {\n width: 80px;\n }\n input {\n width: 100%;\n }\n & + * {\n margin-top: 10px;\n }\n }\n .country-options,\n .phone-options {\n width: 100%;\n border: 1px solid ", ";\n font-family: ", ";\n color: ", ";\n font-weight: normal;\n font-size: 12px;\n line-height: 15px;\n padding: 10px;\n outline: none;\n border-radius: 2px;\n resize: none;\n &:focus {\n border: 1px solid ", ";\n }\n }\n }\n .button-end {\n text-align: end;\n .general-default-button {\n width: 160px;\n }\n & + * {\n margin-top: 10px;\n }\n }\n .progress-bar {\n width: 100%;\n height: 8px;\n display: flex;\n justify-content: space-between;\n .progress-bar-first-step {\n width: 33.33%;\n background-color: rgb(196, 196, 196);\n }\n .progress-bar-registration {\n background-color: rgb(226, 226, 226);\n width: 66.66%;\n }\n }\n .date-header {\n .new-login {\n & + * {\n margin-top: 20px;\n }\n }\n }\n .pre-registro {\n cursor: pointer;\n }\n"])), _variables.GlobalColors.s2, _variables.FontFamily.AvenirNext, _variables.GlobalColors.s4, _variables.GlobalColors.magenta_s2);
|
|
19
|
+
|
|
20
|
+
exports.Container = Container;
|
|
@@ -0,0 +1,28 @@
|
|
|
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.default = exports.RegistrationSecondStepDefault = void 0;
|
|
9
|
+
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
12
|
+
var _index = require("./index");
|
|
13
|
+
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
|
|
16
|
+
var _default = {
|
|
17
|
+
title: "Components/molecules/RegistrationSecondStep",
|
|
18
|
+
component: _index.RegistrationSecondStep
|
|
19
|
+
};
|
|
20
|
+
exports.default = _default;
|
|
21
|
+
|
|
22
|
+
var Template = function Template(args) {
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.RegistrationSecondStep, (0, _objectSpread2.default)({}, args));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
var RegistrationSecondStepDefault = Template.bind({});
|
|
27
|
+
exports.RegistrationSecondStepDefault = RegistrationSecondStepDefault;
|
|
28
|
+
RegistrationSecondStepDefault.args = {};
|
|
@@ -0,0 +1,173 @@
|
|
|
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.RegistrationSecondStep = void 0;
|
|
9
|
+
|
|
10
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
11
|
+
|
|
12
|
+
var _styles = require("./styles");
|
|
13
|
+
|
|
14
|
+
var _GradientPanel = require("../../atoms/GradientPanel");
|
|
15
|
+
|
|
16
|
+
var _react = require("react");
|
|
17
|
+
|
|
18
|
+
var _ScreenHeader = require("../../atoms/ScreenHeader");
|
|
19
|
+
|
|
20
|
+
var _variables = require("../../../global-files/variables");
|
|
21
|
+
|
|
22
|
+
var _GeneralButton = require("../../atoms/GeneralButton");
|
|
23
|
+
|
|
24
|
+
var _LoginPasswordStrength = require("../../molecules/LoginPasswordStrength");
|
|
25
|
+
|
|
26
|
+
var _LogoImage = require("../../atoms/LogoImage");
|
|
27
|
+
|
|
28
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
29
|
+
|
|
30
|
+
var RegistrationSecondStep = function RegistrationSecondStep(props) {
|
|
31
|
+
var _useState = (0, _react.useState)(false),
|
|
32
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
33
|
+
privacyCheck = _useState2[0],
|
|
34
|
+
setPrivacyCheck = _useState2[1];
|
|
35
|
+
|
|
36
|
+
var _useState3 = (0, _react.useState)(false),
|
|
37
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
38
|
+
termsCheck = _useState4[0],
|
|
39
|
+
setTermsCheck = _useState4[1];
|
|
40
|
+
|
|
41
|
+
var _useState5 = (0, _react.useState)(false),
|
|
42
|
+
_useState6 = (0, _slicedToArray2.default)(_useState5, 2),
|
|
43
|
+
emptyPassword = _useState6[0],
|
|
44
|
+
setEmptyPassword = _useState6[1];
|
|
45
|
+
|
|
46
|
+
var _useState7 = (0, _react.useState)(false),
|
|
47
|
+
_useState8 = (0, _slicedToArray2.default)(_useState7, 2),
|
|
48
|
+
emptyConfirmPassword = _useState8[0],
|
|
49
|
+
setEmptyConfirmPassword = _useState8[1];
|
|
50
|
+
|
|
51
|
+
var _useState9 = (0, _react.useState)(true),
|
|
52
|
+
_useState10 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
53
|
+
matchPasswords = _useState10[0],
|
|
54
|
+
setMatchPasswords = _useState10[1];
|
|
55
|
+
|
|
56
|
+
var nuevoUsuario = JSON.parse(sessionStorage.getItem("nuevoRegistro"));
|
|
57
|
+
|
|
58
|
+
var validateForm = function validateForm(evt, valid) {
|
|
59
|
+
evt.preventDefault();
|
|
60
|
+
var password = document.querySelector("#newPasswordInput").value;
|
|
61
|
+
!termsCheck && (valid = false);
|
|
62
|
+
!privacyCheck && (valid = false);
|
|
63
|
+
|
|
64
|
+
if (valid) {
|
|
65
|
+
console.log(valid);
|
|
66
|
+
nuevoUsuario.password = password;
|
|
67
|
+
sessionStorage.setItem("nuevoRegistro", JSON.stringify(nuevoUsuario));
|
|
68
|
+
valid && props.setPaso(3);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
var validate = function validate(e) {
|
|
73
|
+
e.preventDefault();
|
|
74
|
+
var valid = true;
|
|
75
|
+
var password = document.querySelector("#newPasswordInput").value;
|
|
76
|
+
password.length < 8 ? setEmptyPassword(true) : setEmptyPassword(false);
|
|
77
|
+
var confirmPassword = document.querySelector("#confirmPasswordInput").value;
|
|
78
|
+
confirmPassword === "" ? setEmptyConfirmPassword(true) : setEmptyConfirmPassword(false);
|
|
79
|
+
password === confirmPassword ? setMatchPasswords(true) : setMatchPasswords(false);
|
|
80
|
+
|
|
81
|
+
if (password.length < 8 || confirmPassword === "" || password !== confirmPassword) {
|
|
82
|
+
valid = false;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return valid;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
var loginRight = [/*#__PURE__*/(0, _jsxRuntime.jsx)(_LogoImage.LogoImage, {}, "1"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
89
|
+
className: "credenciales",
|
|
90
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
91
|
+
fontFamily: _variables.FontFamily.AvenirNext,
|
|
92
|
+
color: _variables.GlobalColors.s5,
|
|
93
|
+
text: "Ingresa tus credenciales"
|
|
94
|
+
})
|
|
95
|
+
}, "2"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_LoginPasswordStrength.LoginPasswordStrength, {
|
|
96
|
+
emptyPassword: emptyPassword,
|
|
97
|
+
emptyConfirmPassword: emptyConfirmPassword,
|
|
98
|
+
matchPasswords: matchPasswords,
|
|
99
|
+
textTittle: "Ingresa tus credenciales",
|
|
100
|
+
required: "required"
|
|
101
|
+
}, "3"), /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
102
|
+
className: "label-terms",
|
|
103
|
+
children: "T\xE9rminos y condiciones"
|
|
104
|
+
}, "4"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
105
|
+
className: "checkbox-terms",
|
|
106
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
|
|
107
|
+
type: "checkbox",
|
|
108
|
+
onClick: function onClick(e) {
|
|
109
|
+
return setTermsCheck(e.target.checked);
|
|
110
|
+
}
|
|
111
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
112
|
+
text: "Conoce nuestros termnios y condiciones de cada uno de nuestros servicios. Si tienes algunda duda o comentario escríbenos.",
|
|
113
|
+
headerType: "date-header"
|
|
114
|
+
})]
|
|
115
|
+
}, "5"), /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
116
|
+
className: "label-terms",
|
|
117
|
+
children: "Aviso de privacidad"
|
|
118
|
+
}, "6"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
119
|
+
className: "checkbox-terms",
|
|
120
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
|
|
121
|
+
type: "checkbox",
|
|
122
|
+
onClick: function onClick(e) {
|
|
123
|
+
return setPrivacyCheck(e.target.checked);
|
|
124
|
+
}
|
|
125
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
126
|
+
text: "Todos los datos estan protegidos.",
|
|
127
|
+
headerType: "date-header"
|
|
128
|
+
})]
|
|
129
|
+
}, "7"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
130
|
+
className: "button-end",
|
|
131
|
+
children: [(!termsCheck || !privacyCheck) && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
132
|
+
className: "terms",
|
|
133
|
+
children: "*Aceptar los t\xE9rminos y condiciones y el aviso de privacidad"
|
|
134
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
|
|
135
|
+
buttonType: "general-default-button",
|
|
136
|
+
label: "Enviar",
|
|
137
|
+
onClick: function onClick(e) {
|
|
138
|
+
var flag = validate(e);
|
|
139
|
+
validateForm(e, flag);
|
|
140
|
+
}
|
|
141
|
+
})]
|
|
142
|
+
}, "8"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
143
|
+
className: "progress-bar",
|
|
144
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
145
|
+
className: "progress-bar-first-step-check"
|
|
146
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
147
|
+
className: "progress-bar-second-step"
|
|
148
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
149
|
+
className: "progress-bar-registration"
|
|
150
|
+
})]
|
|
151
|
+
}, "9"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
152
|
+
text: "Paso 2",
|
|
153
|
+
headerType: "date-header",
|
|
154
|
+
color: _variables.GlobalColors.s4
|
|
155
|
+
}, "10"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
156
|
+
className: "new-login",
|
|
157
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("p", {
|
|
158
|
+
className: "pre-registro",
|
|
159
|
+
children: ["\xBFA\xFAn no tienes cuenta?", /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
160
|
+
children: " Reg\xEDstrate"
|
|
161
|
+
})]
|
|
162
|
+
})
|
|
163
|
+
}, "11")];
|
|
164
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
165
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GradientPanel.GradientPanel, {
|
|
166
|
+
panelColor: _variables.GlobalColors.white,
|
|
167
|
+
componentsArray: loginRight,
|
|
168
|
+
panelType: "home-login"
|
|
169
|
+
})
|
|
170
|
+
});
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
exports.RegistrationSecondStep = RegistrationSecondStep;
|
|
@@ -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 width: 50%;\n height: 100vh;\n .button-end {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n .general-default-button {\n width: 160px;\n }\n .terms{\n margin-bottom: 5px;\n }\n & + * {\n margin-top: 10px;\n }\n }\n .progress-bar {\n width: 100%;\n height: 8px;\n display: flex;\n justify-content: space-between;\n .progress-bar-first-step-check {\n width: 33.33%;\n background-color: ", ";\n }\n .progress-bar-second-step {\n width: 33.33%;\n background-color: rgb(196, 196, 196);\n }\n .progress-bar-registration {\n background-color: rgb(226, 226, 226);\n width: 33.33%;\n }\n }\n .date-header {\n margin-left: 33.33%;\n }\n .checkbox-terms {\n display: flex;\n margin-bottom: 5px;\n input {\n cursor: pointer;\n & + * {\n margin-left: 15px;\n }\n }\n }\n .label-terms {\n color: rgb(129, 115, 147);\n font-size: 13px;\n line-height: 24px;\n font-weight: 700;\n cursor: pointer;\n margin-left: 25px;\n & + * {\n margin-top: 5px;\n }\n }\n"])), _variables.GlobalColors.exported);
|
|
19
|
+
|
|
20
|
+
exports.Container = Container;
|
|
@@ -0,0 +1,28 @@
|
|
|
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.default = exports.RegistrationThirdStepDefault = void 0;
|
|
9
|
+
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
12
|
+
var _index = require("./index");
|
|
13
|
+
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
|
|
16
|
+
var _default = {
|
|
17
|
+
title: "Components/molecules/RegistrationThirdStep",
|
|
18
|
+
component: _index.RegistrationThirdStep
|
|
19
|
+
};
|
|
20
|
+
exports.default = _default;
|
|
21
|
+
|
|
22
|
+
var Template = function Template(args) {
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.RegistrationThirdStep, (0, _objectSpread2.default)({}, args));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
var RegistrationThirdStepDefault = Template.bind({});
|
|
27
|
+
exports.RegistrationThirdStepDefault = RegistrationThirdStepDefault;
|
|
28
|
+
RegistrationThirdStepDefault.args = {};
|