keski_lib_catalog 1.4.4 → 1.5.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/index.js +129 -133
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +129 -133
- package/dist/index.modern.js.map +1 -1
- package/dist/pencil_placeholder~DdrRnXBY.png +0 -0
- package/package.json +2 -1
package/dist/index.modern.js
CHANGED
|
@@ -2,10 +2,10 @@ import React, { useState, useEffect } from 'react';
|
|
|
2
2
|
import Carousel from 'react-material-ui-carousel';
|
|
3
3
|
import { Box, Typography, Slide, Card, Chip, Button, CardMedia, Grid as Grid$1, useTheme, useMediaQuery, CardContent, Container, Accordion, AccordionSummary, AccordionDetails, Link } from '@mui/material';
|
|
4
4
|
import Avatar from '@mui/material/Avatar';
|
|
5
|
-
import { styled } from '@mui/material/styles';
|
|
6
|
-
import Paper from '@mui/material/Paper';
|
|
7
5
|
import Grid from '@mui/material/Grid';
|
|
8
6
|
import Grow from '@mui/material/Grow';
|
|
7
|
+
import Paper from '@mui/material/Paper';
|
|
8
|
+
import { styled } from '@mui/material/styles';
|
|
9
9
|
import Lottie from 'react-lottie';
|
|
10
10
|
|
|
11
11
|
function _extends() {
|
|
@@ -253,9 +253,9 @@ function Layout1$1(content) {
|
|
|
253
253
|
xs: '100%'
|
|
254
254
|
},
|
|
255
255
|
height: {
|
|
256
|
-
xs: '
|
|
257
|
-
sm: '
|
|
258
|
-
md: '
|
|
256
|
+
xs: '90vh',
|
|
257
|
+
sm: '50vh',
|
|
258
|
+
md: '95vh'
|
|
259
259
|
},
|
|
260
260
|
backgroundSize: 'cover',
|
|
261
261
|
backgroundPosition: 'center',
|
|
@@ -384,7 +384,8 @@ function Layout1$2(content) {
|
|
|
384
384
|
return /*#__PURE__*/React.createElement(Grid, {
|
|
385
385
|
container: true,
|
|
386
386
|
alignItems: "center",
|
|
387
|
-
direction: content.component.justify_content != 'right' ? 'row' : 'row-reverse'
|
|
387
|
+
direction: content.component.justify_content != 'right' ? 'row' : 'row-reverse',
|
|
388
|
+
mt: 10
|
|
388
389
|
}, /*#__PURE__*/React.createElement(Grid, {
|
|
389
390
|
item: true,
|
|
390
391
|
xs: 12,
|
|
@@ -398,25 +399,25 @@ function Layout1$2(content) {
|
|
|
398
399
|
}, /*#__PURE__*/React.createElement(Item$1, {
|
|
399
400
|
elevation: 0,
|
|
400
401
|
sx: {
|
|
401
|
-
height:
|
|
402
|
-
width:
|
|
403
|
-
background:
|
|
402
|
+
height: '100%',
|
|
403
|
+
width: '100%',
|
|
404
|
+
background: 'none'
|
|
404
405
|
}
|
|
405
406
|
}, /*#__PURE__*/React.createElement(Card, {
|
|
406
407
|
elevation: 0,
|
|
407
408
|
sx: {
|
|
408
|
-
borderRadius:
|
|
409
|
-
background:
|
|
409
|
+
borderRadius: '24px',
|
|
410
|
+
background: 'none',
|
|
410
411
|
backgroundSize: 'center',
|
|
411
412
|
backgroundPosition: 'center'
|
|
412
413
|
}
|
|
413
414
|
}, /*#__PURE__*/React.createElement(CardMedia, {
|
|
414
415
|
component: "img",
|
|
415
416
|
sx: {
|
|
416
|
-
width:
|
|
417
|
+
width: '100%',
|
|
417
418
|
backgroundSize: 'center',
|
|
418
419
|
backgroundPosition: 'center',
|
|
419
|
-
transform: "translate(\n " + ((_content$component$su = content.component.subcomponent[0]) === null || _content$component$su === void 0 ? void 0 : _content$component$su.image_transform_x) + "%\n ,\n " + ((_content$component$su2 = content.component.subcomponent[0]) === null || _content$component$su2 === void 0 ? void 0 : _content$component$su2.image_transform_y) + "%)" + ("scale(" + ((_content$component$su3 = content.component.subcomponent[0]) !== null && _content$component$su3 !== void 0 && _content$component$su3.image_scale ? (_content$component$su4 = content.component.subcomponent[0]) === null || _content$component$su4 === void 0 ? void 0 : _content$component$su4.image_scale :
|
|
420
|
+
transform: "translate(\n " + ((_content$component$su = content.component.subcomponent[0]) === null || _content$component$su === void 0 ? void 0 : _content$component$su.image_transform_x) + "%\n ,\n " + ((_content$component$su2 = content.component.subcomponent[0]) === null || _content$component$su2 === void 0 ? void 0 : _content$component$su2.image_transform_y) + "%)" + ("scale(" + ((_content$component$su3 = content.component.subcomponent[0]) !== null && _content$component$su3 !== void 0 && _content$component$su3.image_scale ? (_content$component$su4 = content.component.subcomponent[0]) === null || _content$component$su4 === void 0 ? void 0 : _content$component$su4.image_scale : '1') + ")")
|
|
420
421
|
},
|
|
421
422
|
alt: (_content$component$su5 = content.component.subcomponent[0]) !== null && _content$component$su5 !== void 0 && _content$component$su5.title ? (_content$component$su6 = content.component.subcomponent[0]) === null || _content$component$su6 === void 0 ? void 0 : _content$component$su6.title : 'imagen Keski',
|
|
422
423
|
image: (_content$component$su7 = content.component.subcomponent[0]) !== null && _content$component$su7 !== void 0 && _content$component$su7.image ? (_content$component$su8 = content.component.subcomponent[0]) === null || _content$component$su8 === void 0 ? void 0 : _content$component$su8.image.url : 'none'
|
|
@@ -430,10 +431,10 @@ function Layout1$2(content) {
|
|
|
430
431
|
}, /*#__PURE__*/React.createElement(Item$1, {
|
|
431
432
|
elevation: 0,
|
|
432
433
|
sx: {
|
|
433
|
-
height:
|
|
434
|
-
width:
|
|
435
|
-
background:
|
|
436
|
-
paddingTop:
|
|
434
|
+
height: '100%',
|
|
435
|
+
width: '100%',
|
|
436
|
+
background: 'none',
|
|
437
|
+
paddingTop: '48px'
|
|
437
438
|
}
|
|
438
439
|
})), /*#__PURE__*/React.createElement(Grid, {
|
|
439
440
|
item: true,
|
|
@@ -452,9 +453,9 @@ function Layout1$2(content) {
|
|
|
452
453
|
} ), /*#__PURE__*/React.createElement(Item$1, {
|
|
453
454
|
elevation: 0,
|
|
454
455
|
sx: {
|
|
455
|
-
height:
|
|
456
|
-
width:
|
|
457
|
-
background:
|
|
456
|
+
height: '100%',
|
|
457
|
+
width: '100%',
|
|
458
|
+
background: 'none'
|
|
458
459
|
}
|
|
459
460
|
}, /*#__PURE__*/React.createElement(Box, null, ((_content$component$su9 = content.component.subcomponent[0]) === null || _content$component$su9 === void 0 ? void 0 : _content$component$su9.label_active) && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Chip, {
|
|
460
461
|
disabled: true,
|
|
@@ -478,11 +479,11 @@ function Layout1$2(content) {
|
|
|
478
479
|
sx: {
|
|
479
480
|
whiteSpace: 'pre-wrap',
|
|
480
481
|
fontSize: {
|
|
481
|
-
xs:
|
|
482
|
-
sm:
|
|
483
|
-
md:
|
|
484
|
-
lg:
|
|
485
|
-
xl:
|
|
482
|
+
xs: '2em',
|
|
483
|
+
sm: '2em',
|
|
484
|
+
md: '2em',
|
|
485
|
+
lg: '2em',
|
|
486
|
+
xl: '2em'
|
|
486
487
|
}
|
|
487
488
|
}
|
|
488
489
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
@@ -497,11 +498,11 @@ function Layout1$2(content) {
|
|
|
497
498
|
sx: {
|
|
498
499
|
whiteSpace: 'pre-wrap',
|
|
499
500
|
fontSize: {
|
|
500
|
-
xs:
|
|
501
|
-
sm:
|
|
502
|
-
md:
|
|
503
|
-
lg:
|
|
504
|
-
xl:
|
|
501
|
+
xs: '1.125em',
|
|
502
|
+
sm: '1.125em',
|
|
503
|
+
md: '1.125em',
|
|
504
|
+
lg: '1.125em',
|
|
505
|
+
xl: '1.125em'
|
|
505
506
|
}
|
|
506
507
|
}
|
|
507
508
|
})), ((_content$component$su17 = content.component.subcomponent[0]) === null || _content$component$su17 === void 0 ? void 0 : _content$component$su17.button_active) && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Button, {
|
|
@@ -580,7 +581,7 @@ function Layout1$3(content) {
|
|
|
580
581
|
}
|
|
581
582
|
}), /*#__PURE__*/React.createElement(Grid$1, {
|
|
582
583
|
container: true,
|
|
583
|
-
spacing:
|
|
584
|
+
spacing: 1,
|
|
584
585
|
alignItems: "center",
|
|
585
586
|
justifyContent: "center"
|
|
586
587
|
}, (_content$component$su = content.component.subcomponent) === null || _content$component$su === void 0 ? void 0 : _content$component$su.map(function (img, index) {
|
|
@@ -774,26 +775,12 @@ function Item$2(props) {
|
|
|
774
775
|
return null;
|
|
775
776
|
} else {
|
|
776
777
|
return content.length >= 1 ? /*#__PURE__*/React.createElement(Carousel, {
|
|
777
|
-
autoPlay:
|
|
778
|
-
indicators:
|
|
779
|
-
navButtonsAlwaysVisible:
|
|
780
|
-
navButtonsProps: {
|
|
781
|
-
style: {
|
|
782
|
-
backgroundColor: 'transparent',
|
|
783
|
-
borderRadius: 0,
|
|
784
|
-
color: '#767676'
|
|
785
|
-
}
|
|
786
|
-
},
|
|
787
|
-
navButtonsWrapperProps: {
|
|
788
|
-
style: {
|
|
789
|
-
top: '0',
|
|
790
|
-
bottom: 'unset'
|
|
791
|
-
}
|
|
792
|
-
},
|
|
778
|
+
autoPlay: true,
|
|
779
|
+
indicators: true,
|
|
780
|
+
navButtonsAlwaysVisible: false,
|
|
793
781
|
sx: {
|
|
794
782
|
width: '100%',
|
|
795
|
-
height: '
|
|
796
|
-
paddingTop: '70px',
|
|
783
|
+
height: '620px',
|
|
797
784
|
'& .css-hn784z': {
|
|
798
785
|
left: {
|
|
799
786
|
xs: 'calc(100% - 120px)'
|
|
@@ -808,23 +795,20 @@ function Item$2(props) {
|
|
|
808
795
|
return /*#__PURE__*/React.createElement(Grid$1, {
|
|
809
796
|
container: true,
|
|
810
797
|
key: i,
|
|
811
|
-
spacing:
|
|
798
|
+
spacing: 1,
|
|
812
799
|
sx: {
|
|
813
800
|
margin: 'auto',
|
|
814
801
|
padding: 'auto'
|
|
815
802
|
}
|
|
816
|
-
}, /*#__PURE__*/React.createElement(
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
803
|
+
}, /*#__PURE__*/React.createElement(Grid$1, {
|
|
804
|
+
container: true,
|
|
805
|
+
justifyContent: 'center',
|
|
806
|
+
marginBottom: 1
|
|
807
|
+
}, /*#__PURE__*/React.createElement(Box, null, ' ', /*#__PURE__*/React.createElement(Typography, {
|
|
808
|
+
textAlign: 'center',
|
|
825
809
|
component: 'h2',
|
|
826
810
|
dangerouslySetInnerHTML: {
|
|
827
|
-
__html: title ? title : '
|
|
811
|
+
__html: title ? title : ''
|
|
828
812
|
},
|
|
829
813
|
sx: {
|
|
830
814
|
height: '100%',
|
|
@@ -836,27 +820,34 @@ function Item$2(props) {
|
|
|
836
820
|
xs: '1.875em'
|
|
837
821
|
}
|
|
838
822
|
}
|
|
839
|
-
})), items.map(function (item, j) {
|
|
823
|
+
}))), items.map(function (item, j) {
|
|
840
824
|
var _ref;
|
|
841
825
|
return /*#__PURE__*/React.createElement(Grid$1, {
|
|
842
826
|
item: true,
|
|
843
827
|
key: j,
|
|
844
|
-
sm:
|
|
828
|
+
sm: 5,
|
|
845
829
|
md: 4,
|
|
846
|
-
lg:
|
|
847
|
-
xl:
|
|
830
|
+
lg: 2.9,
|
|
831
|
+
xl: 2.9,
|
|
848
832
|
sx: {
|
|
849
833
|
margin: {
|
|
850
834
|
xs: '0px',
|
|
851
835
|
sm: '0px'
|
|
852
836
|
},
|
|
853
|
-
|
|
854
|
-
|
|
837
|
+
display: {
|
|
838
|
+
xs: '',
|
|
839
|
+
sm: 'flex'
|
|
840
|
+
},
|
|
855
841
|
justifyContent: 'center',
|
|
856
842
|
alignItems: 'center',
|
|
857
843
|
'&.MuiGrid-item': {
|
|
858
|
-
paddingLeft:
|
|
859
|
-
|
|
844
|
+
paddingLeft: {
|
|
845
|
+
xs: '35px',
|
|
846
|
+
sm: '55px',
|
|
847
|
+
md: '20px',
|
|
848
|
+
lg: '12px',
|
|
849
|
+
xl: '12px'
|
|
850
|
+
}
|
|
860
851
|
}
|
|
861
852
|
}
|
|
862
853
|
}, /*#__PURE__*/React.createElement(Slide, {
|
|
@@ -888,12 +879,20 @@ function Item$2(props) {
|
|
|
888
879
|
paddingBottom: '8px'
|
|
889
880
|
}
|
|
890
881
|
}
|
|
882
|
+
}, /*#__PURE__*/React.createElement(Grid$1, {
|
|
883
|
+
height: {
|
|
884
|
+
xs: '2vh',
|
|
885
|
+
sm: '2vh',
|
|
886
|
+
md: '3.1vh',
|
|
887
|
+
lg: '3.2vh',
|
|
888
|
+
xl: '3.2vh'
|
|
889
|
+
}
|
|
891
890
|
}, /*#__PURE__*/React.createElement(Typography, {
|
|
892
|
-
component: 'h3',
|
|
893
891
|
dangerouslySetInnerHTML: {
|
|
894
892
|
__html: item.title ? item.title : 'Agrega título'
|
|
895
893
|
},
|
|
896
894
|
sx: {
|
|
895
|
+
padding: '1px !important',
|
|
897
896
|
display: '-webkit-box',
|
|
898
897
|
WebkitLineClamp: 1,
|
|
899
898
|
WebkitBoxOrient: 'vertical',
|
|
@@ -903,17 +902,19 @@ function Item$2(props) {
|
|
|
903
902
|
fontSize: {
|
|
904
903
|
xs: '1em',
|
|
905
904
|
sm: '1em',
|
|
906
|
-
md: '
|
|
907
|
-
lg: '
|
|
908
|
-
xl: '
|
|
905
|
+
md: '1.3em',
|
|
906
|
+
lg: '1.3em',
|
|
907
|
+
xl: '1.3em'
|
|
909
908
|
}
|
|
910
909
|
}
|
|
911
|
-
}), /*#__PURE__*/React.createElement(Typography, {
|
|
910
|
+
})), /*#__PURE__*/React.createElement(Grid$1, null, /*#__PURE__*/React.createElement(Typography, {
|
|
912
911
|
component: 'p',
|
|
913
912
|
dangerouslySetInnerHTML: {
|
|
914
913
|
__html: item.subtitle ? item.subtitle : 'Agrega subtítulo'
|
|
915
914
|
},
|
|
916
915
|
sx: {
|
|
916
|
+
padding: '1px !important',
|
|
917
|
+
maxHeight: '40px',
|
|
917
918
|
display: '-webkit-box',
|
|
918
919
|
WebkitLineClamp: 2,
|
|
919
920
|
WebkitBoxOrient: 'vertical',
|
|
@@ -928,7 +929,15 @@ function Item$2(props) {
|
|
|
928
929
|
xl: '1em'
|
|
929
930
|
}
|
|
930
931
|
}
|
|
931
|
-
}), item.button_active && /*#__PURE__*/React.createElement(
|
|
932
|
+
})), item.button_active && /*#__PURE__*/React.createElement(Grid$1, {
|
|
933
|
+
height: {
|
|
934
|
+
xs: '2vh',
|
|
935
|
+
sm: '2vh',
|
|
936
|
+
md: '2vh',
|
|
937
|
+
lg: '2vh',
|
|
938
|
+
xl: '2vh'
|
|
939
|
+
}
|
|
940
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
932
941
|
variant: "contained",
|
|
933
942
|
href: item.button_action ? item.button_action : '#',
|
|
934
943
|
target: item.link == 4 ? '_blank' : '_self',
|
|
@@ -939,7 +948,7 @@ function Item$2(props) {
|
|
|
939
948
|
borderRadius: '50px',
|
|
940
949
|
fontSize: '12px'
|
|
941
950
|
}
|
|
942
|
-
}, item.button_title ? item.button_title : 'Nombre botón')))));
|
|
951
|
+
}, item.button_title ? item.button_title : 'Nombre botón'))))));
|
|
943
952
|
}));
|
|
944
953
|
})) : /*#__PURE__*/React.createElement(Grid$1, {
|
|
945
954
|
container: true,
|
|
@@ -1086,13 +1095,7 @@ var List = /*#__PURE__*/function (_AtomicElements) {
|
|
|
1086
1095
|
|
|
1087
1096
|
function Layout1$6(content) {
|
|
1088
1097
|
return /*#__PURE__*/React.createElement(Grid$1, {
|
|
1089
|
-
container: true
|
|
1090
|
-
sx: {
|
|
1091
|
-
minHeight: '250px',
|
|
1092
|
-
width: '100%',
|
|
1093
|
-
margin: 'auto',
|
|
1094
|
-
padding: '0px'
|
|
1095
|
-
}
|
|
1098
|
+
container: true
|
|
1096
1099
|
}, /*#__PURE__*/React.createElement(Item$3, {
|
|
1097
1100
|
title: content.component.title,
|
|
1098
1101
|
content: content.component.subcomponent,
|
|
@@ -1141,13 +1144,13 @@ function Item$3(props) {
|
|
|
1141
1144
|
} else {
|
|
1142
1145
|
return content.length >= 1 ? /*#__PURE__*/React.createElement(Carousel, {
|
|
1143
1146
|
autoPlay: true,
|
|
1144
|
-
indicators:
|
|
1147
|
+
indicators: true,
|
|
1145
1148
|
swipe: true,
|
|
1146
1149
|
cycleNavigation: true,
|
|
1147
1150
|
sx: {
|
|
1148
1151
|
width: '100%',
|
|
1149
|
-
height: '
|
|
1150
|
-
paddingTop: '
|
|
1152
|
+
height: '40vh',
|
|
1153
|
+
paddingTop: '20px',
|
|
1151
1154
|
position: 'relative'
|
|
1152
1155
|
}
|
|
1153
1156
|
}, arrayFourElements.map(function (items, p) {
|
|
@@ -1156,33 +1159,21 @@ function Item$3(props) {
|
|
|
1156
1159
|
key: p
|
|
1157
1160
|
}, /*#__PURE__*/React.createElement(Grid$1, {
|
|
1158
1161
|
container: true,
|
|
1159
|
-
spacing: 0,
|
|
1160
1162
|
sx: {
|
|
1161
|
-
margin: 'auto',
|
|
1162
1163
|
padding: 'auto'
|
|
1163
1164
|
}
|
|
1164
|
-
}, /*#__PURE__*/React.createElement(
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
},
|
|
1171
|
-
zIndex: 1,
|
|
1172
|
-
width: '100%',
|
|
1173
|
-
display: 'flex'
|
|
1174
|
-
}
|
|
1175
|
-
}, ' ', /*#__PURE__*/React.createElement(Typography, {
|
|
1165
|
+
}, /*#__PURE__*/React.createElement(Grid$1, {
|
|
1166
|
+
container: true,
|
|
1167
|
+
justifyContent: 'center',
|
|
1168
|
+
marginBottom: 1
|
|
1169
|
+
}, /*#__PURE__*/React.createElement(Box, null, ' ', /*#__PURE__*/React.createElement(Typography, {
|
|
1170
|
+
textAlign: 'center',
|
|
1176
1171
|
component: 'h2',
|
|
1177
1172
|
dangerouslySetInnerHTML: {
|
|
1178
1173
|
__html: title ? title : ''
|
|
1179
1174
|
},
|
|
1180
1175
|
sx: {
|
|
1181
1176
|
height: '100%',
|
|
1182
|
-
textAlign: {
|
|
1183
|
-
xs: 'center',
|
|
1184
|
-
sm: 'left'
|
|
1185
|
-
},
|
|
1186
1177
|
fontSize: {
|
|
1187
1178
|
xl: '3em',
|
|
1188
1179
|
lg: '3em',
|
|
@@ -1191,30 +1182,31 @@ function Item$3(props) {
|
|
|
1191
1182
|
xs: '1.875em'
|
|
1192
1183
|
}
|
|
1193
1184
|
}
|
|
1194
|
-
})),
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1185
|
+
}))), /*#__PURE__*/React.createElement(Grid$1, {
|
|
1186
|
+
item: true,
|
|
1187
|
+
xs: 12,
|
|
1188
|
+
sm: 12,
|
|
1189
|
+
md: 12,
|
|
1190
|
+
lg: 12,
|
|
1191
|
+
xl: 12,
|
|
1192
|
+
sx: {
|
|
1193
|
+
width: 'object-fit',
|
|
1194
|
+
display: 'flex',
|
|
1195
|
+
justifyContent: 'center',
|
|
1196
|
+
alignItems: 'center',
|
|
1197
|
+
'&.MuiGrid-item': {
|
|
1198
|
+
paddingLeft: {
|
|
1199
|
+
xs: '80px',
|
|
1200
|
+
sm: '12px',
|
|
1201
|
+
md: '12px',
|
|
1202
|
+
lg: '12px',
|
|
1203
|
+
xl: '12px'
|
|
1207
1204
|
},
|
|
1208
|
-
|
|
1209
|
-
display: 'flex',
|
|
1210
|
-
justifyContent: 'center',
|
|
1211
|
-
alignItems: 'center',
|
|
1212
|
-
'&.MuiGrid-item': {
|
|
1213
|
-
paddingLeft: '17px',
|
|
1214
|
-
paddingTop: '10px'
|
|
1215
|
-
}
|
|
1205
|
+
paddingTop: '10px'
|
|
1216
1206
|
}
|
|
1217
|
-
}
|
|
1207
|
+
}
|
|
1208
|
+
}, items.map(function (item, j) {
|
|
1209
|
+
return /*#__PURE__*/React.createElement(Slide, {
|
|
1218
1210
|
direction: "left",
|
|
1219
1211
|
"in": visible
|
|
1220
1212
|
}, /*#__PURE__*/React.createElement(Card, {
|
|
@@ -1222,21 +1214,23 @@ function Item$3(props) {
|
|
|
1222
1214
|
sx: {
|
|
1223
1215
|
width: '100%',
|
|
1224
1216
|
height: '100%',
|
|
1217
|
+
maxHeight: '200px',
|
|
1225
1218
|
borderRadius: '10px',
|
|
1226
|
-
background: 'none'
|
|
1219
|
+
background: 'none',
|
|
1220
|
+
margin: 'auto'
|
|
1227
1221
|
}
|
|
1228
1222
|
}, /*#__PURE__*/React.createElement(CardMedia, {
|
|
1229
1223
|
component: "img",
|
|
1230
1224
|
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
1231
1225
|
alt: item.title ? item.title : 'none',
|
|
1232
1226
|
sx: {
|
|
1233
|
-
width: '
|
|
1234
|
-
height: '
|
|
1235
|
-
|
|
1236
|
-
|
|
1227
|
+
width: '200px',
|
|
1228
|
+
height: 'auto',
|
|
1229
|
+
maxHeight: '200px',
|
|
1230
|
+
objectFit: 'contain'
|
|
1237
1231
|
}
|
|
1238
|
-
})))
|
|
1239
|
-
})));
|
|
1232
|
+
})));
|
|
1233
|
+
}))));
|
|
1240
1234
|
})) : null;
|
|
1241
1235
|
}
|
|
1242
1236
|
}
|
|
@@ -1370,8 +1364,10 @@ function CanvasContainer(props) {
|
|
|
1370
1364
|
backgroundColor: json.component.bg_type === 1 ? json.component.bg_color1 : undefined,
|
|
1371
1365
|
backgroundImage: json.component.bg_type === 2 ? "linear-gradient(to " + json.component.bg_gradiant_orientation + ", " + json.component.bg_color1 + ", " + json.component.bg_color2 + ")" : json.component.bg_type === 3 ? "url(" + ((_json$component$bg_im = json.component.bg_image) === null || _json$component$bg_im === void 0 ? void 0 : _json$component$bg_im.url) + ")" : undefined,
|
|
1372
1366
|
backgroundPosition: 'center',
|
|
1367
|
+
backgroundAttachment: 'fixed',
|
|
1373
1368
|
backgroundSize: 'cover',
|
|
1374
|
-
backgroundRepeat: 'no-repeat'
|
|
1369
|
+
backgroundRepeat: 'no-repeat',
|
|
1370
|
+
justifyContent: 'center'
|
|
1375
1371
|
}
|
|
1376
1372
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
1377
1373
|
sx: {
|