contentoh-components-library 21.0.20 → 21.0.21
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/dist/components/atoms/ActivedFilter/ActivedFilter.stories.js +7 -1
- package/dist/components/atoms/ActivedFilter/index.js +12 -4
- package/dist/components/atoms/AsignationOption/AsignationOptions.stories.js +7 -1
- package/dist/components/atoms/AsignationOption/index.js +28 -20
- package/dist/components/atoms/AtomList/AtomList.stories.js +7 -1
- package/dist/components/atoms/AtomList/index.js +14 -9
- package/dist/components/atoms/Avatar/AsignationImage.stories.js +7 -1
- package/dist/components/atoms/Avatar/index.js +11 -8
- package/dist/components/atoms/Card/Card.stories.js +7 -1
- package/dist/components/atoms/Card/index.js +8 -4
- package/dist/components/atoms/CheckBox/CheckBox.stories.js +7 -1
- package/dist/components/atoms/CheckBox/index.js +16 -12
- package/dist/components/atoms/CustomerTypeImage/CustomerTypeImage.stories.js +7 -1
- package/dist/components/atoms/CustomerTypeImage/index.js +8 -6
- package/dist/components/atoms/DropDownButton/DropDownButton.stories.js +7 -1
- package/dist/components/atoms/DropDownButton/index.js +9 -6
- package/dist/components/atoms/EditField/EditField.stories.js +7 -1
- package/dist/components/atoms/EditField/index.js +17 -10
- package/dist/components/atoms/FeatureTag/FeatureTag.stories.js +7 -1
- package/dist/components/atoms/FeatureTag/index.js +11 -5
- package/dist/components/atoms/GeneralButton/GeneralButton.stories.js +7 -1
- package/dist/components/atoms/GeneralButton/index.js +8 -6
- package/dist/components/atoms/GeneralInput/GeneralInput.stories.js +7 -1
- package/dist/components/atoms/GeneralInput/index.js +24 -20
- package/dist/components/atoms/GeneralTextBox/GeneralTextBox.stories.js +7 -1
- package/dist/components/atoms/GeneralTextBox/index.js +12 -7
- package/dist/components/atoms/GenericModal/GenericModal.stories.js +46 -59
- package/dist/components/atoms/GenericModal/index.js +12 -7
- package/dist/components/atoms/GradientPanel/GradientPanel.stories.js +85 -80
- package/dist/components/atoms/GradientPanel/index.js +11 -7
- package/dist/components/atoms/Graphic/Graphic.stories.js +7 -1
- package/dist/components/atoms/Graphic/index.js +9 -5
- package/dist/components/atoms/LoadImageMenu/LoadImageMenu.stories.js +7 -1
- package/dist/components/atoms/LoadImageMenu/index.js +33 -22
- package/dist/components/atoms/LogoImage/LogoImage.stories.js +7 -1
- package/dist/components/atoms/LogoImage/index.js +8 -6
- package/dist/components/atoms/MenuNotification/MenuNotification.stories.js +7 -1
- package/dist/components/atoms/MenuNotification/index.js +21 -15
- package/dist/components/atoms/MenuProfile/MenuProfile.stories.js +7 -1
- package/dist/components/atoms/MenuProfile/index.js +25 -15
- package/dist/components/atoms/Notification/Notification.stories.js +5 -1
- package/dist/components/atoms/Notification/index.js +15 -9
- package/dist/components/atoms/PriorityFlag/PriorityFlag.stories.js +7 -1
- package/dist/components/atoms/PriorityFlag/index.js +8 -4
- package/dist/components/atoms/ProductImage/ProductImage.stories.js +7 -1
- package/dist/components/atoms/ProductImage/index.js +11 -8
- package/dist/components/atoms/ProductPercentCard/Percent.stories.js +7 -1
- package/dist/components/atoms/ProductPercentCard/index.js +21 -14
- package/dist/components/atoms/ProgressBar/ProgressBar.stories.js +7 -1
- package/dist/components/atoms/ProgressBar/index.js +8 -3
- package/dist/components/atoms/ScreenHeader/ScreenHeader.stories.js +7 -1
- package/dist/components/atoms/ScreenHeader/index.js +9 -3
- package/dist/components/atoms/SideMenuButton/SideMenuButton.stories.js +5 -1
- package/dist/components/atoms/SideMenuButton/index.js +10 -4
- package/dist/components/atoms/StatusTag/StatusTag.stories.js +7 -1
- package/dist/components/atoms/StatusTag/index.js +8 -3
- package/dist/components/atoms/TabSection/TabSection.stories.js +7 -1
- package/dist/components/atoms/TabSection/index.js +8 -3
- package/dist/components/atoms/ValidationPanel/ValidationPanel.stories.js +7 -1
- package/dist/components/atoms/ValidationPanel/index.js +39 -27
- package/dist/components/molecules/AddProvidersAndProducts/AddProvidersAndProducts.stories.js +5 -1
- package/dist/components/molecules/AddProvidersAndProducts/index.js +18 -12
- package/dist/components/molecules/AssignedWork/AssignedWork.stories.js +5 -1
- package/dist/components/molecules/AssignedWork/index.js +36 -30
- package/dist/components/molecules/AvatarAndValidation/AvatarAndValidation.stories.js +7 -1
- package/dist/components/molecules/AvatarAndValidation/index.js +20 -15
- package/dist/components/molecules/CarouselImagesLogin/CarouselImagesLogin.stories.js +5 -1
- package/dist/components/molecules/CarouselImagesLogin/index.js +20 -16
- package/dist/components/molecules/EditionActiveImage/EditionActiveImage.stories.js +7 -1
- package/dist/components/molecules/EditionActiveImage/index.js +14 -10
- package/dist/components/molecules/FeaturesBar/FeaturesBar.stories.js +7 -1
- package/dist/components/molecules/FeaturesBar/index.js +11 -9
- package/dist/components/molecules/GalleryElement/GalleryElement.stories.js +7 -1
- package/dist/components/molecules/GalleryElement/index.js +37 -29
- package/dist/components/molecules/GalleryHeader/GalleryHeader.stories.js +7 -1
- package/dist/components/molecules/GalleryHeader/index.js +23 -5
- package/dist/components/molecules/HeaderTop/HeaderTop.stories.js +7 -1
- package/dist/components/molecules/HeaderTop/index.js +10 -7
- package/dist/components/molecules/ImageSelector/ImageSelector.stories.js +7 -1
- package/dist/components/molecules/ImageSelector/index.js +15 -13
- package/dist/components/molecules/LoginPasswordStrength/LoginPasswordStrength.stories.js +7 -1
- package/dist/components/molecules/LoginPasswordStrength/index.js +60 -38
- package/dist/components/molecules/ParentComponent/ParentComponent.stories.js +10 -2
- package/dist/components/molecules/ParentComponent/index.js +9 -5
- package/dist/components/molecules/PayMethod/PayMethod.stories.js +7 -1
- package/dist/components/molecules/PayMethod/index.js +38 -33
- package/dist/components/molecules/PlanSelection/PlanSelection.stories.js +7 -1
- package/dist/components/molecules/PlanSelection/index.js +14 -11
- package/dist/components/molecules/ProductNameHeader/ProductNameHeader.stories.js +7 -1
- package/dist/components/molecules/ProductNameHeader/index.js +18 -14
- package/dist/components/molecules/ProductNotification/ProductNotification.stories.js +7 -1
- package/dist/components/molecules/ProductNotification/index.js +12 -9
- package/dist/components/molecules/ProfileHeader/ProfileHeader.stories.js +5 -1
- package/dist/components/molecules/ProfileHeader/index.js +21 -15
- package/dist/components/molecules/SidebarNotification/SidebarNotification.stories.js +5 -1
- package/dist/components/molecules/SidebarNotification/index.js +43 -37
- package/dist/components/molecules/StatusAsignationInfo/StatusAsignationInfo.stories.js +7 -1
- package/dist/components/molecules/StatusAsignationInfo/index.js +86 -70
- package/dist/components/molecules/TableHeader/TableHeader.stories.js +7 -1
- package/dist/components/molecules/TableHeader/index.js +12 -8
- package/dist/components/molecules/TableRow/TableRow.stories.js +7 -1
- package/dist/components/molecules/TableRow/index.js +11 -7
- package/dist/components/molecules/TabsMenu/TabsMenu.stories.js +7 -1
- package/dist/components/molecules/TabsMenu/index.js +13 -10
- package/dist/components/molecules/TagAndInput/TagAndInput.stories.js +7 -1
- package/dist/components/molecules/TagAndInput/index.js +13 -11
- package/dist/components/organisms/FullProductNameHeader/FullProductNameHeader.stories.js +7 -1
- package/dist/components/organisms/FullProductNameHeader/index.js +20 -15
- package/dist/components/organisms/FullTabsMenu/FullTabsMenu.stories.js +7 -1
- package/dist/components/organisms/FullTabsMenu/index.js +14 -10
- package/dist/components/organisms/Fullplan/FullPlan.stories.js +7 -1
- package/dist/components/organisms/Fullplan/index.js +23 -15
- package/dist/components/organisms/ImageDataTable/ImageDataTable.stories.js +7 -1
- package/dist/components/organisms/ImageDataTable/index.js +15 -13
- package/dist/components/organisms/ImagePreviewer/ImagePreviewer.stories.js +7 -1
- package/dist/components/organisms/ImagePreviewer/index.js +12 -8
- package/dist/components/organisms/ImagesGroup/index.js +5 -1
- package/dist/components/organisms/InputGroup/InputGroup.stories.js +7 -1
- package/dist/components/organisms/InputGroup/index.js +27 -25
- package/dist/components/organisms/ProductImageModal/ProductImageModal.stories.js +7 -1
- package/dist/components/organisms/ProductImageModal/index.js +47 -38
- package/dist/components/pages/ChangePasswordLogin/ChangePasswordLogin.stories.js +5 -1
- package/dist/components/pages/ChangePasswordLogin/index.js +36 -33
- package/dist/components/pages/CustomerLogin/CustomerLogin.stories.js +52 -47
- package/dist/components/pages/CustomerLogin/index.js +18 -12
- package/dist/components/pages/CustomerPayMethod/CustomerPayMethod.stories.js +36 -28
- package/dist/components/pages/CustomerPayMethod/index.js +18 -12
- package/dist/components/pages/CustomerType/CustomerType.stories.js +21 -22
- package/dist/components/pages/CustomerType/index.js +18 -12
- package/dist/components/pages/EmailResetPassword/EmailResetPassword.stories.js +5 -1
- package/dist/components/pages/EmailResetPassword/index.js +49 -39
- package/dist/components/pages/OnboardPlan/OnboardPlan.stories.js +12 -9
- package/dist/components/pages/OnboardPlan/index.js +18 -12
- package/dist/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +5 -1
- package/dist/components/pages/RegistrationLoginFirstStep/index.js +155 -104
- package/dist/components/pages/RegistrationLoginSecondStep/RegistrationLoginSecondStep.stories.js +5 -1
- package/dist/components/pages/RegistrationLoginSecondStep/index.js +74 -63
- package/dist/components/pages/RegistrationLoginThirdStep/RegistrationLoginThirdStep.stories.js +5 -1
- package/dist/components/pages/RegistrationLoginThirdStep/index.js +79 -65
- package/dist/components/pages/RetailerPlan/RetailerPlan.stories.js +13 -10
- package/dist/components/pages/RetailerPlan/index.js +18 -12
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +7 -1
- package/dist/components/pages/RetailerProductEdition/index.js +54 -49
- package/dist/components/pages/VerificationCodeResetPassword/VerificationCodeResetPassword.stories.js +5 -1
- package/dist/components/pages/VerificationCodeResetPassword/index.js +62 -51
- package/package.json +8 -1
|
@@ -33,6 +33,8 @@ var _LoginPasswordStrength = require("../../molecules/LoginPasswordStrength");
|
|
|
33
33
|
|
|
34
34
|
var _LogoImage = require("../../atoms/LogoImage");
|
|
35
35
|
|
|
36
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
37
|
+
|
|
36
38
|
var RegistrationLoginSecondStep = function RegistrationLoginSecondStep(_ref) {
|
|
37
39
|
var _ref$imageArrayCarous = _ref.imageArrayCarousel,
|
|
38
40
|
imageArrayCarousel = _ref$imageArrayCarous === void 0 ? [] : _ref$imageArrayCarous,
|
|
@@ -87,79 +89,88 @@ var RegistrationLoginSecondStep = function RegistrationLoginSecondStep(_ref) {
|
|
|
87
89
|
};
|
|
88
90
|
}();
|
|
89
91
|
|
|
90
|
-
var loginRight = [/*#__PURE__*/
|
|
91
|
-
key: "1"
|
|
92
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
92
|
+
var loginRight = [/*#__PURE__*/(0, _jsxRuntime.jsx)(_LogoImage.LogoImage, {}, "1"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
93
93
|
className: "credenciales",
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
})
|
|
100
|
-
key: "3",
|
|
94
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
95
|
+
fontFamily: _variables.FontFamily.AvenirNext,
|
|
96
|
+
color: _variables.GlobalColors.s5,
|
|
97
|
+
text: textHeaderRight
|
|
98
|
+
})
|
|
99
|
+
}, "2"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_LoginPasswordStrength.LoginPasswordStrength, {
|
|
101
100
|
emptyPassword: emptyPassword,
|
|
102
101
|
emptyConfirmPassword: emptyConfirmPassword,
|
|
103
102
|
matchPasswords: matchPasswords,
|
|
104
103
|
textTittle: textHeaderRight
|
|
105
|
-
}), /*#__PURE__*/
|
|
106
|
-
className: "label-terms"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
className: "
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
104
|
+
}, "3"), /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
105
|
+
className: "label-terms",
|
|
106
|
+
children: "T\xE9rminos y condiciones"
|
|
107
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
108
|
+
className: "checkbox-terms",
|
|
109
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
|
|
110
|
+
type: "checkbox"
|
|
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
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
116
|
+
className: "label-terms",
|
|
117
|
+
children: "Aviso de privacidad"
|
|
118
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
119
|
+
className: "checkbox-terms",
|
|
120
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
|
|
121
|
+
type: "checkbox"
|
|
122
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
123
|
+
text: "Todos los datos estan protegidos.",
|
|
124
|
+
headerType: "date-header"
|
|
125
|
+
})]
|
|
126
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
124
127
|
className: "button-end",
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
})
|
|
133
|
-
className: "progress-bar"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
128
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
|
|
129
|
+
buttonType: "general-default-button",
|
|
130
|
+
label: "Enviar",
|
|
131
|
+
onClick: function onClick(e) {
|
|
132
|
+
return validate(e);
|
|
133
|
+
}
|
|
134
|
+
})
|
|
135
|
+
}, "6"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
136
|
+
className: "progress-bar",
|
|
137
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
138
|
+
className: "progress-bar-first-step-check"
|
|
139
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
140
|
+
className: "progress-bar-second-step"
|
|
141
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
142
|
+
className: "progress-bar-registration"
|
|
143
|
+
})]
|
|
144
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
141
145
|
text: "Paso 2",
|
|
142
146
|
headerType: "date-header",
|
|
143
147
|
color: _variables.GlobalColors.s4
|
|
144
|
-
}), /*#__PURE__*/
|
|
148
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
145
149
|
className: "new-login",
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
150
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("p", {
|
|
151
|
+
className: "pre-registro",
|
|
152
|
+
children: ["\xBFA\xFAn no tienes cuenta?", /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
153
|
+
children: " Reg\xEDstrate"
|
|
154
|
+
})]
|
|
155
|
+
})
|
|
156
|
+
}, "7")];
|
|
157
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
158
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
159
|
+
className: "home-retailer",
|
|
160
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CarouselImagesLogin.CarouselImagesLogin, {
|
|
161
|
+
panelImg: imageArrayCarousel,
|
|
162
|
+
panelText: textCarousel,
|
|
163
|
+
panelColor: backogroundColorCarousel
|
|
164
|
+
})
|
|
165
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
166
|
+
className: "home-login-retailer",
|
|
167
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GradientPanel.GradientPanel, {
|
|
168
|
+
panelColor: _variables.GlobalColors.white,
|
|
169
|
+
componentsArray: loginRight,
|
|
170
|
+
panelType: "home-login"
|
|
171
|
+
})
|
|
172
|
+
})]
|
|
173
|
+
});
|
|
163
174
|
};
|
|
164
175
|
|
|
165
176
|
exports.RegistrationLoginSecondStep = RegistrationLoginSecondStep;
|
package/dist/components/pages/RegistrationLoginThirdStep/RegistrationLoginThirdStep.stories.js
CHANGED
|
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = exports.RegistrationLoginThirdStepDefault = void 0;
|
|
9
9
|
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
10
12
|
var _index = require("./index");
|
|
11
13
|
|
|
12
14
|
var _loginImage = _interopRequireDefault(require("../../../assets/images/carouselImagesLogin/loginImage.svg"));
|
|
@@ -15,6 +17,8 @@ var _login = _interopRequireDefault(require("../../../assets/images/carouselImag
|
|
|
15
17
|
|
|
16
18
|
var _login2 = _interopRequireDefault(require("../../../assets/images/carouselImagesLogin/login3.svg"));
|
|
17
19
|
|
|
20
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
+
|
|
18
22
|
var _default = {
|
|
19
23
|
title: "Components/pages/RegistrationLoginThirdStep",
|
|
20
24
|
component: _index.RegistrationLoginThirdStep
|
|
@@ -22,7 +26,7 @@ var _default = {
|
|
|
22
26
|
exports.default = _default;
|
|
23
27
|
|
|
24
28
|
var Template = function Template(args) {
|
|
25
|
-
return /*#__PURE__*/
|
|
29
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.RegistrationLoginThirdStep, (0, _objectSpread2.default)({}, args));
|
|
26
30
|
};
|
|
27
31
|
|
|
28
32
|
var RegistrationLoginThirdStepDefault = Template.bind({});
|
|
@@ -31,6 +31,8 @@ var _TagAndInput = require("../../molecules/TagAndInput");
|
|
|
31
31
|
|
|
32
32
|
var _GeneralButton = require("../../atoms/GeneralButton");
|
|
33
33
|
|
|
34
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
35
|
+
|
|
34
36
|
var RegistrationLoginThirdStep = function RegistrationLoginThirdStep(_ref) {
|
|
35
37
|
var _ref$imageArrayCarous = _ref.imageArrayCarousel,
|
|
36
38
|
imageArrayCarousel = _ref$imageArrayCarous === void 0 ? [] : _ref$imageArrayCarous,
|
|
@@ -87,78 +89,90 @@ var RegistrationLoginThirdStep = function RegistrationLoginThirdStep(_ref) {
|
|
|
87
89
|
};
|
|
88
90
|
}();
|
|
89
91
|
|
|
90
|
-
var loginRight = [/*#__PURE__*/
|
|
91
|
-
key: "1"
|
|
92
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
92
|
+
var loginRight = [/*#__PURE__*/(0, _jsxRuntime.jsx)(_LogoImage.LogoImage, {}, "1"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
93
93
|
className: "credenciales",
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
})
|
|
94
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
95
|
+
fontFamily: _variables.FontFamily.AvenirNext,
|
|
96
|
+
color: _variables.GlobalColors.s5,
|
|
97
|
+
text: "Ingresa tus credenciales"
|
|
98
|
+
})
|
|
99
|
+
}, "2"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
100
100
|
className: "user",
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
101
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_TagAndInput.TagAndInput, {
|
|
102
|
+
inputType: "text",
|
|
103
|
+
inputId: "commercialNameInput",
|
|
104
|
+
label: "Nombre comercial",
|
|
105
|
+
inputPlaceHolder: "Nombre comercial"
|
|
106
|
+
}), emptyCommercialName && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
107
|
+
children: "Ingrese el nombre comercial de la empresa"
|
|
108
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TagAndInput.TagAndInput, {
|
|
109
|
+
inputType: "text",
|
|
110
|
+
inputId: "bussinesNameInput",
|
|
111
|
+
label: "Razón social",
|
|
112
|
+
inputPlaceHolder: "Razón social"
|
|
113
|
+
}), emptyBussinesName && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
114
|
+
children: "Ingrese la raz\xF3n social de la empresa"
|
|
115
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TagAndInput.TagAndInput, {
|
|
116
|
+
inputType: "text",
|
|
117
|
+
inputId: "rfcInput",
|
|
118
|
+
label: "RFC",
|
|
119
|
+
inputPlaceHolder: "RFC"
|
|
120
|
+
}), emptyRFC && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
121
|
+
children: "El RFC es requerido"
|
|
122
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_TagAndInput.TagAndInput, {
|
|
123
|
+
inputType: "text",
|
|
124
|
+
inputId: "fiscalAddressInput",
|
|
125
|
+
label: "Direccion fiscal",
|
|
126
|
+
inputPlaceHolder: "Dirección fiscal"
|
|
127
|
+
}), emptyFiscalAddress && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
128
|
+
children: "Ingrese la direccion fiscal de la empresa"
|
|
129
|
+
})]
|
|
130
|
+
}, "3"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
123
131
|
className: "button-end",
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
})
|
|
132
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
|
|
133
|
+
buttonType: "general-default-button",
|
|
134
|
+
label: "Enviar",
|
|
135
|
+
onClick: function onClick(e) {
|
|
136
|
+
return validate(e);
|
|
137
|
+
}
|
|
138
|
+
})
|
|
139
|
+
}, "4"), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
132
140
|
className: "progress-bar",
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
})
|
|
141
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
142
|
+
className: "progress-bar-step-check"
|
|
143
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
144
|
+
className: "progress-bar-registration"
|
|
145
|
+
})]
|
|
146
|
+
}, "5"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
139
147
|
text: "Paso 3",
|
|
140
148
|
headerType: "date-header",
|
|
141
|
-
color: _variables.GlobalColors.s4
|
|
142
|
-
|
|
143
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
149
|
+
color: _variables.GlobalColors.s4
|
|
150
|
+
}, "6"), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
144
151
|
className: "new-login",
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
},
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
152
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("p", {
|
|
153
|
+
className: "pre-registro",
|
|
154
|
+
children: ["\xBFYa tienes una cuenta?", /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
155
|
+
children: " Inicia Sesi\xF3n"
|
|
156
|
+
})]
|
|
157
|
+
})
|
|
158
|
+
}, "7")];
|
|
159
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
160
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
161
|
+
className: "home-retailer",
|
|
162
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CarouselImagesLogin.CarouselImagesLogin, {
|
|
163
|
+
panelImg: imageArrayCarousel,
|
|
164
|
+
panelText: textCarousel,
|
|
165
|
+
panelColor: backogroundColorCarousel
|
|
166
|
+
})
|
|
167
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
168
|
+
className: "home-login-retailer",
|
|
169
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GradientPanel.GradientPanel, {
|
|
170
|
+
componentsArray: loginRight,
|
|
171
|
+
panelType: "home-login",
|
|
172
|
+
panelColor: _variables.GlobalColors.white
|
|
173
|
+
})
|
|
174
|
+
})]
|
|
175
|
+
});
|
|
162
176
|
};
|
|
163
177
|
|
|
164
178
|
exports.RegistrationLoginThirdStep = RegistrationLoginThirdStep;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
6
8
|
exports.default = exports.RetailerPlanDefault = void 0;
|
|
7
9
|
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
8
12
|
var _index = require("./index");
|
|
9
13
|
|
|
10
14
|
var _ScreenHeader = require("../../atoms/ScreenHeader");
|
|
@@ -15,6 +19,8 @@ var _variables = require("../../../global-files/variables");
|
|
|
15
19
|
|
|
16
20
|
var _Fullplan = require("../../organisms/Fullplan");
|
|
17
21
|
|
|
22
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
|
+
|
|
18
24
|
var _default = {
|
|
19
25
|
title: "Components/pages/RetailerPlan",
|
|
20
26
|
Component: _index.RetailerPlan
|
|
@@ -22,25 +28,23 @@ var _default = {
|
|
|
22
28
|
exports.default = _default;
|
|
23
29
|
|
|
24
30
|
var Template = function Template(args) {
|
|
25
|
-
return /*#__PURE__*/
|
|
31
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.RetailerPlan, (0, _objectSpread2.default)({}, args));
|
|
26
32
|
};
|
|
27
33
|
|
|
28
34
|
var RetailerPlanDefault = Template.bind({});
|
|
29
35
|
exports.RetailerPlanDefault = RetailerPlanDefault;
|
|
30
36
|
RetailerPlanDefault.args = {
|
|
31
37
|
retailerLeft: {
|
|
32
|
-
componentsArray: [/*#__PURE__*/
|
|
33
|
-
key: "1",
|
|
38
|
+
componentsArray: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
34
39
|
fontFamily: _variables.FontFamily.Raleway_600,
|
|
35
40
|
color: _variables.GlobalColors.white,
|
|
36
41
|
text: "Benficios de crear productos"
|
|
37
|
-
}), /*#__PURE__*/
|
|
38
|
-
key: "2",
|
|
42
|
+
}, "1"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AtomList.AtomList, {
|
|
39
43
|
content: ["Crea productos", "Solicita actualización", "Revisa, valida o rechaza productos", "Comparte con colaboradores"]
|
|
40
|
-
})]
|
|
44
|
+
}, "2")]
|
|
41
45
|
},
|
|
42
46
|
planRetailerData: {
|
|
43
|
-
componentsArray: [/*#__PURE__*/
|
|
47
|
+
componentsArray: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Fullplan.FullPlan, {
|
|
44
48
|
title: "Elige el n\xFAmero de proveedores",
|
|
45
49
|
textGeneral: "Bienvido a nuestra plataforma de cadena, para continuar elige el n\xFAmero de proveedores que tiene tu cadena",
|
|
46
50
|
containerData: [{
|
|
@@ -52,8 +56,7 @@ RetailerPlanDefault.args = {
|
|
|
52
56
|
}, {
|
|
53
57
|
number: "+3000",
|
|
54
58
|
name: "Proveedores"
|
|
55
|
-
}]
|
|
56
|
-
|
|
57
|
-
})]
|
|
59
|
+
}]
|
|
60
|
+
}, "1")]
|
|
58
61
|
}
|
|
59
62
|
};
|
|
@@ -11,21 +11,27 @@ var _GradientPanel = require("../../atoms/GradientPanel");
|
|
|
11
11
|
|
|
12
12
|
var _Fullplan = require("../../organisms/Fullplan");
|
|
13
13
|
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
|
|
14
16
|
var RetailerPlan = function RetailerPlan(_ref) {
|
|
15
17
|
var retailerLeft = _ref.retailerLeft,
|
|
16
18
|
planRetailerData = _ref.planRetailerData;
|
|
17
|
-
return /*#__PURE__*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
20
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
21
|
+
className: "left-retailer",
|
|
22
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GradientPanel.GradientPanel, {
|
|
23
|
+
componentsArray: retailerLeft.componentsArray,
|
|
24
|
+
panelType: "home-panel"
|
|
25
|
+
})
|
|
26
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
27
|
+
className: "righ-retailer",
|
|
28
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GradientPanel.GradientPanel, {
|
|
29
|
+
panelColor: true,
|
|
30
|
+
componentsArray: planRetailerData.componentsArray,
|
|
31
|
+
panelType: "home-plan"
|
|
32
|
+
})
|
|
33
|
+
})]
|
|
34
|
+
});
|
|
29
35
|
};
|
|
30
36
|
|
|
31
37
|
exports.RetailerPlan = RetailerPlan;
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
6
8
|
exports.default = exports.RetailerProductEditionDefault = void 0;
|
|
7
9
|
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
8
12
|
var _index = require("./index");
|
|
9
13
|
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
|
|
10
16
|
var _default = {
|
|
11
17
|
title: "Components/pages/RetailerProductEdition",
|
|
12
18
|
component: _index.RetailerProductEdition
|
|
@@ -14,7 +20,7 @@ var _default = {
|
|
|
14
20
|
exports.default = _default;
|
|
15
21
|
|
|
16
22
|
var Template = function Template(args) {
|
|
17
|
-
return /*#__PURE__*/
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.RetailerProductEdition, (0, _objectSpread2.default)({}, args));
|
|
18
24
|
};
|
|
19
25
|
|
|
20
26
|
var RetailerProductEditionDefault = Template.bind({});
|
|
@@ -37,6 +37,8 @@ var _GalleryHeader = require("../../molecules/GalleryHeader");
|
|
|
37
37
|
|
|
38
38
|
var _ProductImageModal = require("../../organisms/ProductImageModal");
|
|
39
39
|
|
|
40
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
41
|
+
|
|
40
42
|
var RetailerProductEdition = function RetailerProductEdition(_ref) {
|
|
41
43
|
var _datasheets$, _datasheets$$data, _images$values;
|
|
42
44
|
|
|
@@ -131,55 +133,58 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
|
|
|
131
133
|
}
|
|
132
134
|
}, _callee2);
|
|
133
135
|
})), []);
|
|
134
|
-
return /*#__PURE__*/
|
|
135
|
-
headerTop: headerTop
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
136
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
137
|
+
headerTop: headerTop,
|
|
138
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_HeaderTop.HeaderTop, {
|
|
139
|
+
setHeaderTop: setHeaderTop
|
|
140
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
141
|
+
className: "data-container",
|
|
142
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
143
|
+
className: "image-data-panel",
|
|
144
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ImagePreviewer.ImagePreviewer, {
|
|
145
|
+
activeImage: activeImage,
|
|
146
|
+
imagesArray: images,
|
|
147
|
+
setActiveImage: setActiveImage,
|
|
148
|
+
setShowModal: setShowModal
|
|
149
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ImageDataTable.ImageDataTable, {
|
|
150
|
+
imageData: activeImage === null || activeImage === void 0 ? void 0 : activeImage.data,
|
|
151
|
+
activeImage: activeImage
|
|
152
|
+
})]
|
|
153
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
154
|
+
className: "product-information",
|
|
155
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_FullProductNameHeader.FullProductNameHeader, {
|
|
156
|
+
headerData: productData.headerData
|
|
157
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FullTabsMenu.FullTabsMenu, {
|
|
158
|
+
tabsSections: tabsSections,
|
|
159
|
+
status: productData.status,
|
|
160
|
+
profileImage: productData.asigned,
|
|
161
|
+
setActiveTab: setActiveTab,
|
|
162
|
+
setImageLayout: setImageLayout
|
|
163
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
164
|
+
className: "services-information-container " + (imageLayout && activeTab === "Imágenes" && "image-services"),
|
|
165
|
+
children: [!imageLayout && /*#__PURE__*/(0, _jsxRuntime.jsx)(_GalleryHeader.GalleryHeader, {}), activeTab === "Ficha técnica" && ((_datasheets$ = datasheets[0]) === null || _datasheets$ === void 0 ? void 0 : (_datasheets$$data = _datasheets$.data) === null || _datasheets$$data === void 0 ? void 0 : _datasheets$$data.map(function (dataGroup, index) {
|
|
166
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputGroup.InputGroup, {
|
|
167
|
+
activeSection: activeTab,
|
|
168
|
+
inputGroup: dataGroup,
|
|
169
|
+
dataInputs: datasheets[1]
|
|
170
|
+
}, index);
|
|
171
|
+
})), activeTab === "Descripción" && /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputGroup.InputGroup, {
|
|
172
|
+
activeSection: activeTab,
|
|
173
|
+
inputGroup: descriptions[0]
|
|
174
|
+
}), activeTab === "Imágenes" && (images === null || images === void 0 ? void 0 : (_images$values = images.values) === null || _images$values === void 0 ? void 0 : _images$values.map(function (image, index) {
|
|
175
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GalleryElement.GalleryElement, {
|
|
176
|
+
image: (0, _data.getImage)(image, 179, 179),
|
|
177
|
+
gridLayout: imageLayout,
|
|
178
|
+
id: "gallery-element-" + index
|
|
179
|
+
}, index);
|
|
180
|
+
}))]
|
|
181
|
+
})]
|
|
182
|
+
})]
|
|
183
|
+
}), showModal && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ProductImageModal.ProductImageModal, {
|
|
184
|
+
images: images,
|
|
185
|
+
setShowModal: setShowModal
|
|
186
|
+
})]
|
|
187
|
+
});
|
|
183
188
|
};
|
|
184
189
|
|
|
185
190
|
exports.RetailerProductEdition = RetailerProductEdition;
|