contentoh-components-library 14.0.0 → 15.0.0
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/organisms/FullTabsMenu/index.js +0 -2
- package/dist/components/pages/RetailerProductEdition/index.js +1 -3
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/package.json +1 -1
- package/src/components/organisms/FullTabsMenu/index.js +0 -2
- package/src/components/pages/RetailerProductEdition/index.js +0 -2
|
@@ -23,7 +23,6 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
|
|
|
23
23
|
var tabsSections = _ref.tabsSections,
|
|
24
24
|
_ref$status = _ref.status,
|
|
25
25
|
status = _ref$status === void 0 ? "" : _ref$status,
|
|
26
|
-
profileImage = _ref.profileImage,
|
|
27
26
|
activeTab = _ref.activeTab,
|
|
28
27
|
setActiveTab = _ref.setActiveTab,
|
|
29
28
|
setImageLayout = _ref.setImageLayout,
|
|
@@ -47,7 +46,6 @@ var FullTabsMenu = function FullTabsMenu(_ref) {
|
|
|
47
46
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.StatusAsignationInfo, {
|
|
48
47
|
status: status[activeTab],
|
|
49
48
|
activeTab: activeTab,
|
|
50
|
-
image: profileImage,
|
|
51
49
|
setImageLayout: setImageLayout,
|
|
52
50
|
imagesSection: imagesSection,
|
|
53
51
|
saveDatasheets: saveDatasheets,
|
|
@@ -115,8 +115,7 @@ var myBucket = new _awsSdk.default.S3({
|
|
|
115
115
|
var RetailerProductEdition = function RetailerProductEdition(_ref) {
|
|
116
116
|
var _servicesData$filter$, _servicesData$filter$2, _product$services, _datasheets$, _datasheets$$data, _product$services2, _product$services3;
|
|
117
117
|
|
|
118
|
-
var
|
|
119
|
-
tabsSections = _ref.tabsSections,
|
|
118
|
+
var tabsSections = _ref.tabsSections,
|
|
120
119
|
articleId = _ref.articleId,
|
|
121
120
|
_ref$productSelected = _ref.productSelected,
|
|
122
121
|
productSelected = _ref$productSelected === void 0 ? {} : _ref$productSelected,
|
|
@@ -1351,7 +1350,6 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
|
|
|
1351
1350
|
})[0]) === null || _servicesData$filter$2 === void 0 ? void 0 : _servicesData$filter$2.status,
|
|
1352
1351
|
Imágenes: product === null || product === void 0 ? void 0 : product.images_status
|
|
1353
1352
|
},
|
|
1354
|
-
profileImage: productData.asigned,
|
|
1355
1353
|
activeTab: activeTab,
|
|
1356
1354
|
setActiveTab: setActiveTab,
|
|
1357
1355
|
setImageLayout: setImageLayout,
|
|
@@ -13,7 +13,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
13
13
|
|
|
14
14
|
var _templateObject;
|
|
15
15
|
|
|
16
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n height: 100%;\n\n .data-container {\n display: flex;\n flex: 0%;\n height: calc(100% - ", "px);\n .image-data-panel {\n width: 340px;\n\n & + * {\n margin-left: 10px;\n }\n }\n\n .product-information {\n width: 100%;\n display: flex;\n flex-direction: column;\n\n .services-information-container {\n height: 100%;\n overflow: auto;\n }\n\n .image-services {\n aside {\n display: grid;\n grid-template-columns: repeat(auto-fill, 179px);\n column-gap: 15px;\n row-gap: 15px;\n padding: 20px;\n }\n }\n\n .commentary-box {\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n padding: 10px;\n padding-left: 0;\n\n .commentary {\n display: flex;\n align-items: flex-end;\n\n .input-container {\n & + * {\n margin-left: 5px;\n }\n }\n\n .buttons-box {\n display: flex;\n max-width: 201px;\n flex-wrap: wrap;\n\n .general-transparent-button {\n & + * {\n margin-top: 5px;\n }\n }\n\n .general-transparent-button,\n .general-green-button {\n width: 201px;\n height: 40px;\n }\n }\n }\n }\n\n .feedback-box {\n display: flex;\n }\n }\n }\n .container {\n width: 100%;\n height: 100%;\n .dropzone {\n height: 100%;\n width: 100%;\n }\n }\n"])), function (_ref) {
|
|
16
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n overflow: auto;\n\n .data-container {\n display: flex;\n flex: 0%;\n height: calc(100% - ", "px);\n .image-data-panel {\n width: 340px;\n\n & + * {\n margin-left: 10px;\n }\n }\n\n .product-information {\n width: 100%;\n display: flex;\n flex-direction: column;\n\n .services-information-container {\n height: 100%;\n overflow: auto;\n }\n\n .image-services {\n aside {\n display: grid;\n grid-template-columns: repeat(auto-fill, 179px);\n column-gap: 15px;\n row-gap: 15px;\n padding: 20px;\n }\n }\n\n .commentary-box {\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n padding: 10px;\n padding-left: 0;\n\n .commentary {\n display: flex;\n align-items: flex-end;\n\n .input-container {\n & + * {\n margin-left: 5px;\n }\n }\n\n .buttons-box {\n display: flex;\n max-width: 201px;\n flex-wrap: wrap;\n\n .general-transparent-button {\n & + * {\n margin-top: 5px;\n }\n }\n\n .general-transparent-button,\n .general-green-button {\n width: 201px;\n height: 40px;\n }\n }\n }\n }\n\n .feedback-box {\n display: flex;\n }\n }\n }\n .container {\n width: 100%;\n height: 100%;\n .dropzone {\n height: 100%;\n width: 100%;\n }\n }\n"])), function (_ref) {
|
|
17
17
|
var headerTop = _ref.headerTop;
|
|
18
18
|
return headerTop;
|
|
19
19
|
});
|
package/package.json
CHANGED
|
@@ -6,7 +6,6 @@ import { useState } from "react";
|
|
|
6
6
|
export const FullTabsMenu = ({
|
|
7
7
|
tabsSections,
|
|
8
8
|
status = "",
|
|
9
|
-
profileImage,
|
|
10
9
|
activeTab,
|
|
11
10
|
setActiveTab,
|
|
12
11
|
setImageLayout,
|
|
@@ -29,7 +28,6 @@ export const FullTabsMenu = ({
|
|
|
29
28
|
<StatusAsignationInfo
|
|
30
29
|
status={status[activeTab]}
|
|
31
30
|
activeTab={activeTab}
|
|
32
|
-
image={profileImage}
|
|
33
31
|
setImageLayout={setImageLayout}
|
|
34
32
|
imagesSection={imagesSection}
|
|
35
33
|
saveDatasheets={saveDatasheets}
|
|
@@ -58,7 +58,6 @@ const myBucket = new AWS.S3({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
export const RetailerProductEdition = ({
|
|
61
|
-
productData,
|
|
62
61
|
tabsSections,
|
|
63
62
|
articleId,
|
|
64
63
|
productSelected = {},
|
|
@@ -866,7 +865,6 @@ export const RetailerProductEdition = ({
|
|
|
866
865
|
)[0]?.status,
|
|
867
866
|
Imágenes: product?.images_status,
|
|
868
867
|
}}
|
|
869
|
-
profileImage={productData?.asigned}
|
|
870
868
|
activeTab={activeTab}
|
|
871
869
|
setActiveTab={setActiveTab}
|
|
872
870
|
setImageLayout={setImageLayout}
|