contentoh-components-library 21.0.18 → 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/CHANGELOG.md +18 -0
- 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/dist/index.js +0 -73
- package/package.json +9 -1
- package/src/index.js +0 -6
|
@@ -13,24 +13,30 @@ var _ScreenHeader = require("../../atoms/ScreenHeader");
|
|
|
13
13
|
|
|
14
14
|
var _bags = _interopRequireDefault(require("../../../assets/images/generalImage/bags.svg"));
|
|
15
15
|
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
|
|
16
18
|
var AddProvidersAndProducts = function AddProvidersAndProducts(_ref) {
|
|
17
19
|
var image = _ref.image,
|
|
18
20
|
altText = _ref.altText,
|
|
19
21
|
onClick = _ref.onClick,
|
|
20
22
|
className = _ref.className;
|
|
21
|
-
return /*#__PURE__*/
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
22
24
|
className: className,
|
|
23
|
-
onClick: onClick
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
onClick: onClick,
|
|
26
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
27
|
+
className: "add-bags",
|
|
28
|
+
children: image && /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
29
|
+
src: image,
|
|
30
|
+
alt: altText
|
|
31
|
+
})
|
|
32
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
33
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
34
|
+
headerType: "header-and-paragraph",
|
|
35
|
+
text: "Comienza agregando Proveedores",
|
|
36
|
+
Paragraph: "O tambien puedes comenzar agregando tu productos"
|
|
37
|
+
})
|
|
38
|
+
})]
|
|
39
|
+
});
|
|
34
40
|
};
|
|
35
41
|
|
|
36
42
|
exports.AddProvidersAndProducts = AddProvidersAndProducts;
|
|
@@ -7,12 +7,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = exports.AssignedWorkDefault = 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 _assignedImage = _interopRequireDefault(require("../../../assets/images/componentAssigned/assignedImage1.svg"));
|
|
13
15
|
|
|
14
16
|
var _assignedImage2 = _interopRequireDefault(require("../../../assets/images/componentAssigned/assignedImage2.svg"));
|
|
15
17
|
|
|
18
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
+
|
|
16
20
|
var status = ["-", "Pr", "Rc", "As", "P", "QF", "AF", "AA", "AP", "AC", "RA", "RF", "RP", "RC", "Ex"];
|
|
17
21
|
var _default = {
|
|
18
22
|
title: "Components/molecules/AssignedWork",
|
|
@@ -29,7 +33,7 @@ var _default = {
|
|
|
29
33
|
exports.default = _default;
|
|
30
34
|
|
|
31
35
|
var Template = function Template(args) {
|
|
32
|
-
return /*#__PURE__*/
|
|
36
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.AssignedWork, (0, _objectSpread2.default)({}, args));
|
|
33
37
|
};
|
|
34
38
|
|
|
35
39
|
var AssignedWorkDefault = Template.bind({});
|
|
@@ -17,39 +17,45 @@ var _flag = _interopRequireDefault(require("../../../assets/images/componentAssi
|
|
|
17
17
|
|
|
18
18
|
var _index2 = require("../../atoms/Avatar/index");
|
|
19
19
|
|
|
20
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
+
|
|
20
22
|
var AssignedWork = function AssignedWork(_ref) {
|
|
21
23
|
var statusType = _ref.statusType,
|
|
22
24
|
assignedImage = _ref.assignedImage;
|
|
23
|
-
return /*#__PURE__*/
|
|
24
|
-
className: "status-".concat(statusType)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
25
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
26
|
+
className: "status-".concat(statusType),
|
|
27
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
28
|
+
className: "header-flag",
|
|
29
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ScreenHeader, {
|
|
30
|
+
headerType: "header-and-paragraph",
|
|
31
|
+
text: "Producto recibido",
|
|
32
|
+
Paragraph: "Actualizar producto 23441, descripci\xF3n e im\xE1genes"
|
|
33
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
34
|
+
className: "flag",
|
|
35
|
+
src: _flag.default
|
|
36
|
+
})]
|
|
37
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
38
|
+
className: "clock-assigned",
|
|
39
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
40
|
+
className: "clock-header",
|
|
41
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
42
|
+
className: "clock",
|
|
43
|
+
src: _clock.default
|
|
44
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ScreenHeader, {
|
|
45
|
+
headerType: "date-header",
|
|
46
|
+
text: "12/04/2021"
|
|
47
|
+
})]
|
|
48
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
49
|
+
className: "assigned",
|
|
50
|
+
children: assignedImage.reverse().map(function (assigned, index) {
|
|
51
|
+
return index < 2 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Avatar, {
|
|
52
|
+
image: assigned.image,
|
|
53
|
+
imageType: "big-image"
|
|
54
|
+
}, index);
|
|
55
|
+
})
|
|
56
|
+
})]
|
|
57
|
+
})]
|
|
58
|
+
});
|
|
53
59
|
};
|
|
54
60
|
|
|
55
61
|
exports.AssignedWork = AssignedWork;
|
|
@@ -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.AvatarAndValidationDefault = 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/molecules/AvatarAndValidation",
|
|
12
18
|
component: _index.AvatarAndValidation
|
|
@@ -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.AvatarAndValidation, (0, _objectSpread2.default)({}, args));
|
|
18
24
|
};
|
|
19
25
|
|
|
20
26
|
var AvatarAndValidationDefault = Template.bind({});
|
|
@@ -21,6 +21,8 @@ var _GeneralButton = require("../../atoms/GeneralButton");
|
|
|
21
21
|
|
|
22
22
|
var _ValidationPanel = require("../../atoms/ValidationPanel");
|
|
23
23
|
|
|
24
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
|
+
|
|
24
26
|
//Components
|
|
25
27
|
var AvatarAndValidation = function AvatarAndValidation(_ref) {
|
|
26
28
|
var avatarData = _ref.avatarData,
|
|
@@ -48,21 +50,24 @@ var AvatarAndValidation = function AvatarAndValidation(_ref) {
|
|
|
48
50
|
document.addEventListener("click", closeValidationPanel, false);
|
|
49
51
|
}
|
|
50
52
|
}, [showValidationPanel]);
|
|
51
|
-
return /*#__PURE__*/
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
53
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
54
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
55
|
+
className: "buttons-container",
|
|
56
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Avatar.Avatar, {
|
|
57
|
+
image: avatarData === null || avatarData === void 0 ? void 0 : avatarData.image,
|
|
58
|
+
altText: avatarData === null || avatarData === void 0 ? void 0 : avatarData.altText
|
|
59
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_DropDownButton.DropDownButton, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
|
|
60
|
+
buttonType: "circular-button ".concat(buttonType),
|
|
61
|
+
onClick: function onClick() {
|
|
62
|
+
return setShowValidationPanel(true);
|
|
63
|
+
}
|
|
64
|
+
})]
|
|
65
|
+
}), showValidationPanel && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ValidationPanel.ValidationPanel, {
|
|
66
|
+
id: "validation-panel",
|
|
67
|
+
setOptionClicked: setButtonType,
|
|
68
|
+
setShowValidationPanel: setShowValidationPanel
|
|
69
|
+
})]
|
|
70
|
+
});
|
|
66
71
|
};
|
|
67
72
|
|
|
68
73
|
exports.AvatarAndValidation = AvatarAndValidation;
|
|
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = exports.CarouselImagesLoginDefault = 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/molecules/CarouselImagesLogin",
|
|
20
24
|
component: _index.CarouselImagesLogin
|
|
@@ -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.CarouselImagesLogin, (0, _objectSpread2.default)({}, args));
|
|
26
30
|
};
|
|
27
31
|
|
|
28
32
|
var CarouselImagesLoginDefault = Template.bind({});
|
|
@@ -13,6 +13,8 @@ var _variables = require("../../../global-files/variables");
|
|
|
13
13
|
|
|
14
14
|
var _react = require("react");
|
|
15
15
|
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
|
|
16
18
|
var CarouselImagesLogin = function CarouselImagesLogin(_ref) {
|
|
17
19
|
var _ref$panelImg = _ref.panelImg,
|
|
18
20
|
panelImg = _ref$panelImg === void 0 ? [] : _ref$panelImg,
|
|
@@ -69,22 +71,24 @@ var CarouselImagesLogin = function CarouselImagesLogin(_ref) {
|
|
|
69
71
|
(0, _react.useEffect)(function () {
|
|
70
72
|
carouselStart();
|
|
71
73
|
}, []);
|
|
72
|
-
return /*#__PURE__*/
|
|
73
|
-
panelColor: panelColor
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
74
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
75
|
+
panelColor: panelColor,
|
|
76
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
77
|
+
id: "slideshow",
|
|
78
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
79
|
+
id: "img1"
|
|
80
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
81
|
+
id: "img2"
|
|
82
|
+
})]
|
|
83
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
84
|
+
fontFamily: _variables.FontFamily.Raleway,
|
|
85
|
+
color: _variables.GlobalColors.white,
|
|
86
|
+
headerType: "product-name-header",
|
|
87
|
+
text: panelText
|
|
88
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
89
|
+
id: "indicadores"
|
|
90
|
+
})]
|
|
91
|
+
});
|
|
88
92
|
};
|
|
89
93
|
|
|
90
94
|
exports.CarouselImagesLogin = CarouselImagesLogin;
|
|
@@ -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.EditionActiveImageDefault = void 0;
|
|
7
9
|
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
8
12
|
var _ = require(".");
|
|
9
13
|
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
|
|
10
16
|
var _default = {
|
|
11
17
|
title: "Components/molecules/EditionActiveImage",
|
|
12
18
|
component: _.EditionActiveImage
|
|
@@ -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)(_.EditionActiveImage, (0, _objectSpread2.default)({}, args));
|
|
18
24
|
};
|
|
19
25
|
|
|
20
26
|
var EditionActiveImageDefault = Template.bind({});
|
|
@@ -11,20 +11,24 @@ var _index = require("../../atoms/ProductImage/index");
|
|
|
11
11
|
|
|
12
12
|
var _index2 = require("../../atoms/GeneralButton/index");
|
|
13
13
|
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
|
|
14
16
|
var EditionActiveImage = function EditionActiveImage(_ref) {
|
|
15
17
|
var img = _ref.img,
|
|
16
18
|
altText = _ref.altText,
|
|
17
19
|
setShowModal = _ref.setShowModal;
|
|
18
|
-
return /*#__PURE__*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
21
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.ProductImage, {
|
|
22
|
+
img: img,
|
|
23
|
+
imageType: "main-image",
|
|
24
|
+
altText: altText
|
|
25
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Button, {
|
|
26
|
+
buttonType: "open-modal-button",
|
|
27
|
+
onClick: function onClick() {
|
|
28
|
+
return setShowModal(true);
|
|
29
|
+
}
|
|
30
|
+
})]
|
|
31
|
+
});
|
|
28
32
|
};
|
|
29
33
|
|
|
30
34
|
exports.EditionActiveImage = EditionActiveImage;
|
|
@@ -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.FeaturesBarDefault = void 0;
|
|
7
9
|
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
8
12
|
var _ = require(".");
|
|
9
13
|
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
|
|
10
16
|
var _default = {
|
|
11
17
|
title: "Components/molecules/FeaturesBar",
|
|
12
18
|
component: _.FeaturesBar
|
|
@@ -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)(_.FeaturesBar, (0, _objectSpread2.default)({}, args));
|
|
18
24
|
};
|
|
19
25
|
|
|
20
26
|
var FeaturesBarDefault = Template.bind({});
|
|
@@ -15,6 +15,8 @@ var _index = require("../../atoms/FeatureTag/index");
|
|
|
15
15
|
|
|
16
16
|
var _react = require("react");
|
|
17
17
|
|
|
18
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
+
|
|
18
20
|
var FeaturesBar = function FeaturesBar(_ref) {
|
|
19
21
|
var features = _ref.features;
|
|
20
22
|
|
|
@@ -28,15 +30,15 @@ var FeaturesBar = function FeaturesBar(_ref) {
|
|
|
28
30
|
|
|
29
31
|
setIsIE(((_window$navigator$use = window.navigator.userAgentString) === null || _window$navigator$use === void 0 ? void 0 : _window$navigator$use.indexOf("MSIE")) > -1 || ((_window$navigator$use2 = window.navigator.userAgentString) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.indexOf("rv:")) > -1);
|
|
30
32
|
}, []);
|
|
31
|
-
return /*#__PURE__*/
|
|
32
|
-
className: isIE ? "IEClass" : "gapClass"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
})
|
|
39
|
-
})
|
|
33
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
34
|
+
className: isIE ? "IEClass" : "gapClass",
|
|
35
|
+
children: features !== undefined && features.map(function (feature, index) {
|
|
36
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.FeatureTag, {
|
|
37
|
+
feature: feature.feature,
|
|
38
|
+
value: feature.value
|
|
39
|
+
}, index);
|
|
40
|
+
})
|
|
41
|
+
});
|
|
40
42
|
};
|
|
41
43
|
|
|
42
44
|
exports.FeaturesBar = FeaturesBar;
|
|
@@ -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.GalleryElementDefault = 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/molecules/GalleryElement",
|
|
12
18
|
component: _index.GalleryElement,
|
|
@@ -20,7 +26,7 @@ var _default = {
|
|
|
20
26
|
exports.default = _default;
|
|
21
27
|
|
|
22
28
|
var Template = function Template(args) {
|
|
23
|
-
return /*#__PURE__*/
|
|
29
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.GalleryElement, (0, _objectSpread2.default)({}, args));
|
|
24
30
|
};
|
|
25
31
|
|
|
26
32
|
var GalleryElementDefault = Template.bind({});
|
|
@@ -23,6 +23,8 @@ var _ValidationPanel = require("../../atoms/ValidationPanel");
|
|
|
23
23
|
|
|
24
24
|
var _react = require("react");
|
|
25
25
|
|
|
26
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
27
|
+
|
|
26
28
|
var GalleryElement = function GalleryElement(_ref) {
|
|
27
29
|
var _ref$validation = _ref.validation,
|
|
28
30
|
validation = _ref$validation === void 0 ? "null-button" : _ref$validation,
|
|
@@ -55,35 +57,41 @@ var GalleryElement = function GalleryElement(_ref) {
|
|
|
55
57
|
document.addEventListener("click", closeValidationPanel, false);
|
|
56
58
|
}
|
|
57
59
|
}, [showValidationPanel]);
|
|
58
|
-
return /*#__PURE__*/
|
|
59
|
-
className: gridLayout ? "grid-gallery" : "row-gallery"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
60
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
61
|
+
className: gridLayout ? "grid-gallery" : "row-gallery",
|
|
62
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
63
|
+
className: "buttons-container",
|
|
64
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CheckBox.CheckBox, (0, _defineProperty2.default)({
|
|
65
|
+
id: id,
|
|
66
|
+
label: id
|
|
67
|
+
}, "label", label)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
|
|
68
|
+
buttonType: "circular-button ".concat(statusValidation),
|
|
69
|
+
onClick: function onClick() {
|
|
70
|
+
return setShowValidationPanel(true);
|
|
71
|
+
}
|
|
72
|
+
}), showValidationPanel && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ValidationPanel.ValidationPanel, {
|
|
73
|
+
id: "validation-panel",
|
|
74
|
+
setOptionClicked: setStatusValidation,
|
|
75
|
+
setShowValidationPanel: setShowValidationPanel
|
|
76
|
+
})]
|
|
77
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
78
|
+
className: "image-container",
|
|
79
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ProductImage.ProductImage, {
|
|
80
|
+
img: image === null || image === void 0 ? void 0 : image.src,
|
|
81
|
+
altText: image === null || image === void 0 ? void 0 : image.altText,
|
|
82
|
+
imageType: gridLayout ? "catalogue-image-big-size" : "catalogue-image-small-size"
|
|
83
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
84
|
+
className: "information-container",
|
|
85
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
86
|
+
children: image === null || image === void 0 ? void 0 : image.name
|
|
87
|
+
}), !gridLayout && (image === null || image === void 0 ? void 0 : image.data.map(function (element, index) {
|
|
88
|
+
return index > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
89
|
+
children: element.value
|
|
90
|
+
}, index);
|
|
91
|
+
}))]
|
|
92
|
+
})]
|
|
93
|
+
})]
|
|
94
|
+
});
|
|
87
95
|
};
|
|
88
96
|
|
|
89
97
|
exports.GalleryElement = GalleryElement;
|
|
@@ -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.GalleryHeaderDefault = void 0;
|
|
7
9
|
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
8
12
|
var _ = require(".");
|
|
9
13
|
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
|
|
10
16
|
var _default = {
|
|
11
17
|
title: "Components/molecules/GalleryHeader",
|
|
12
18
|
component: _.GalleryHeader
|
|
@@ -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)(_.GalleryHeader, (0, _objectSpread2.default)({}, args));
|
|
18
24
|
};
|
|
19
25
|
|
|
20
26
|
var GalleryHeaderDefault = Template.bind({});
|
|
@@ -9,12 +9,30 @@ var _styles = require("./styles");
|
|
|
9
9
|
|
|
10
10
|
var _CheckBox = require("../../atoms/CheckBox");
|
|
11
11
|
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
|
|
12
14
|
var GalleryHeader = function GalleryHeader() {
|
|
13
|
-
return /*#__PURE__*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
16
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
17
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CheckBox.CheckBox, {})
|
|
18
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
19
|
+
className: "value-header",
|
|
20
|
+
children: "Val."
|
|
21
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
22
|
+
className: "image-header",
|
|
23
|
+
children: "Image"
|
|
24
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
25
|
+
children: "Nombre"
|
|
26
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
27
|
+
children: "Tama\xF1o"
|
|
28
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
29
|
+
children: "Formato"
|
|
30
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
31
|
+
children: "Tipo de imagen"
|
|
32
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
33
|
+
children: "Identificador"
|
|
34
|
+
})]
|
|
35
|
+
});
|
|
18
36
|
};
|
|
19
37
|
|
|
20
38
|
exports.GalleryHeader = GalleryHeader;
|
|
@@ -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.HeaderTopDefault = 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/molecules/HeaderTop",
|
|
12
18
|
component: _index.HeaderTop
|
|
@@ -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.HeaderTop, (0, _objectSpread2.default)({}, args));
|
|
18
24
|
};
|
|
19
25
|
|
|
20
26
|
var HeaderTopDefault = Template.bind({});
|