keski_lib_catalog 1.4.3 → 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 +222 -219
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +222 -219
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -5,10 +5,10 @@ var React__default = _interopDefault(React);
|
|
|
5
5
|
var Carousel = _interopDefault(require('react-material-ui-carousel'));
|
|
6
6
|
var material = require('@mui/material');
|
|
7
7
|
var Avatar = _interopDefault(require('@mui/material/Avatar'));
|
|
8
|
-
var styles = require('@mui/material/styles');
|
|
9
|
-
var Paper = _interopDefault(require('@mui/material/Paper'));
|
|
10
8
|
var Grid = _interopDefault(require('@mui/material/Grid'));
|
|
11
9
|
var Grow = _interopDefault(require('@mui/material/Grow'));
|
|
10
|
+
var Paper = _interopDefault(require('@mui/material/Paper'));
|
|
11
|
+
var styles = require('@mui/material/styles');
|
|
12
12
|
var Lottie = _interopDefault(require('react-lottie'));
|
|
13
13
|
|
|
14
14
|
function _extends() {
|
|
@@ -77,13 +77,13 @@ function Layout1(content) {
|
|
|
77
77
|
sx: {
|
|
78
78
|
whiteSpace: 'pre-wrap',
|
|
79
79
|
fontSize: {
|
|
80
|
-
xs:
|
|
81
|
-
sm:
|
|
82
|
-
md:
|
|
83
|
-
lg:
|
|
84
|
-
xl:
|
|
80
|
+
xs: '1.875em',
|
|
81
|
+
sm: '2.25em',
|
|
82
|
+
md: '3em',
|
|
83
|
+
lg: '3em',
|
|
84
|
+
xl: '3em'
|
|
85
85
|
},
|
|
86
|
-
paddingBottom:
|
|
86
|
+
paddingBottom: '32px'
|
|
87
87
|
}
|
|
88
88
|
}), /*#__PURE__*/React__default.createElement(Carousel, {
|
|
89
89
|
indicators: true,
|
|
@@ -161,16 +161,16 @@ function Item(props) {
|
|
|
161
161
|
sx: {
|
|
162
162
|
width: '120px',
|
|
163
163
|
height: '120px',
|
|
164
|
-
transform: "translate(\n " + content.image_transform_x + "%\n ,\n " + content.image_transform_y + "%)" + ("scale(" + (content.image_scale ? content.image_scale :
|
|
164
|
+
transform: "translate(\n " + content.image_transform_x + "%\n ,\n " + content.image_transform_y + "%)" + ("scale(" + (content.image_scale ? content.image_scale : '1') + ")")
|
|
165
165
|
}
|
|
166
166
|
}))), /*#__PURE__*/React__default.createElement(material.Box, {
|
|
167
167
|
sx: {
|
|
168
168
|
width: {
|
|
169
|
-
xs:
|
|
170
|
-
xl:
|
|
171
|
-
lg:
|
|
169
|
+
xs: '100%',
|
|
170
|
+
xl: '72%',
|
|
171
|
+
lg: '72%'
|
|
172
172
|
},
|
|
173
|
-
height:
|
|
173
|
+
height: '100%',
|
|
174
174
|
overflow: 'hidden',
|
|
175
175
|
textOverflow: 'ellipsis',
|
|
176
176
|
display: '-webkit-box',
|
|
@@ -256,9 +256,9 @@ function Layout1$1(content) {
|
|
|
256
256
|
xs: '100%'
|
|
257
257
|
},
|
|
258
258
|
height: {
|
|
259
|
-
xs: '
|
|
260
|
-
sm:
|
|
261
|
-
md:
|
|
259
|
+
xs: '90vh',
|
|
260
|
+
sm: '50vh',
|
|
261
|
+
md: '95vh'
|
|
262
262
|
},
|
|
263
263
|
backgroundSize: 'cover',
|
|
264
264
|
backgroundPosition: 'center',
|
|
@@ -280,21 +280,21 @@ function Layout1$1(content) {
|
|
|
280
280
|
},
|
|
281
281
|
justifyContent: 'center',
|
|
282
282
|
paddingLeft: (_content$component$su = content.component.subcomponent[0]) !== null && _content$component$su !== void 0 && _content$component$su.image ? {
|
|
283
|
-
lg:
|
|
284
|
-
md:
|
|
285
|
-
sm:
|
|
286
|
-
xs:
|
|
283
|
+
lg: '24px',
|
|
284
|
+
md: '24px',
|
|
285
|
+
sm: '16px',
|
|
286
|
+
xs: '16px'
|
|
287
287
|
} : {
|
|
288
|
-
lg:
|
|
289
|
-
md:
|
|
290
|
-
sm:
|
|
291
|
-
xs:
|
|
288
|
+
lg: '0px',
|
|
289
|
+
md: '24px',
|
|
290
|
+
sm: '16px',
|
|
291
|
+
xs: '16px'
|
|
292
292
|
},
|
|
293
293
|
paddingRight: {
|
|
294
|
-
lg:
|
|
295
|
-
md:
|
|
296
|
-
sm:
|
|
297
|
-
xs:
|
|
294
|
+
lg: '24px',
|
|
295
|
+
md: '24px',
|
|
296
|
+
sm: '16px',
|
|
297
|
+
xs: '16px'
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}, ((_content$component$su2 = content.component.subcomponent[0]) === null || _content$component$su2 === void 0 ? void 0 : _content$component$su2.label_active) && /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(material.Chip, {
|
|
@@ -316,13 +316,13 @@ function Layout1$1(content) {
|
|
|
316
316
|
marginBottom: '16px',
|
|
317
317
|
whiteSpace: 'pre-wrap',
|
|
318
318
|
fontSize: {
|
|
319
|
-
xs:
|
|
320
|
-
sm:
|
|
321
|
-
md:
|
|
322
|
-
lg:
|
|
323
|
-
xl:
|
|
319
|
+
xs: '2em',
|
|
320
|
+
sm: '2em',
|
|
321
|
+
md: '3.75em',
|
|
322
|
+
lg: '3.75em',
|
|
323
|
+
xl: '3.75em'
|
|
324
324
|
},
|
|
325
|
-
fontWeight:
|
|
325
|
+
fontWeight: 'bold'
|
|
326
326
|
}
|
|
327
327
|
}), /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
328
328
|
component: 'p',
|
|
@@ -333,11 +333,11 @@ function Layout1$1(content) {
|
|
|
333
333
|
marginBottom: '16px',
|
|
334
334
|
whiteSpace: 'pre-wrap',
|
|
335
335
|
fontSize: {
|
|
336
|
-
xs:
|
|
337
|
-
sm:
|
|
338
|
-
md:
|
|
339
|
-
lg:
|
|
340
|
-
xl:
|
|
336
|
+
xs: '1.125em',
|
|
337
|
+
sm: '1.125em',
|
|
338
|
+
md: '1.125em',
|
|
339
|
+
lg: '1.125em',
|
|
340
|
+
xl: '1.125em'
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}), ((_content$component$su10 = content.component.subcomponent[0]) === null || _content$component$su10 === void 0 ? void 0 : _content$component$su10.button_active) && /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(material.Button, {
|
|
@@ -387,7 +387,8 @@ function Layout1$2(content) {
|
|
|
387
387
|
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
388
388
|
container: true,
|
|
389
389
|
alignItems: "center",
|
|
390
|
-
direction: content.component.justify_content != 'right' ? 'row' : 'row-reverse'
|
|
390
|
+
direction: content.component.justify_content != 'right' ? 'row' : 'row-reverse',
|
|
391
|
+
mt: 10
|
|
391
392
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
392
393
|
item: true,
|
|
393
394
|
xs: 12,
|
|
@@ -401,25 +402,25 @@ function Layout1$2(content) {
|
|
|
401
402
|
}, /*#__PURE__*/React__default.createElement(Item$1, {
|
|
402
403
|
elevation: 0,
|
|
403
404
|
sx: {
|
|
404
|
-
height:
|
|
405
|
-
width:
|
|
406
|
-
background:
|
|
405
|
+
height: '100%',
|
|
406
|
+
width: '100%',
|
|
407
|
+
background: 'none'
|
|
407
408
|
}
|
|
408
409
|
}, /*#__PURE__*/React__default.createElement(material.Card, {
|
|
409
410
|
elevation: 0,
|
|
410
411
|
sx: {
|
|
411
|
-
borderRadius:
|
|
412
|
-
background:
|
|
412
|
+
borderRadius: '24px',
|
|
413
|
+
background: 'none',
|
|
413
414
|
backgroundSize: 'center',
|
|
414
415
|
backgroundPosition: 'center'
|
|
415
416
|
}
|
|
416
417
|
}, /*#__PURE__*/React__default.createElement(material.CardMedia, {
|
|
417
418
|
component: "img",
|
|
418
419
|
sx: {
|
|
419
|
-
width:
|
|
420
|
+
width: '100%',
|
|
420
421
|
backgroundSize: 'center',
|
|
421
422
|
backgroundPosition: 'center',
|
|
422
|
-
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 :
|
|
423
|
+
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') + ")")
|
|
423
424
|
},
|
|
424
425
|
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',
|
|
425
426
|
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'
|
|
@@ -433,10 +434,10 @@ function Layout1$2(content) {
|
|
|
433
434
|
}, /*#__PURE__*/React__default.createElement(Item$1, {
|
|
434
435
|
elevation: 0,
|
|
435
436
|
sx: {
|
|
436
|
-
height:
|
|
437
|
-
width:
|
|
438
|
-
background:
|
|
439
|
-
paddingTop:
|
|
437
|
+
height: '100%',
|
|
438
|
+
width: '100%',
|
|
439
|
+
background: 'none',
|
|
440
|
+
paddingTop: '48px'
|
|
440
441
|
}
|
|
441
442
|
})), /*#__PURE__*/React__default.createElement(Grid, {
|
|
442
443
|
item: true,
|
|
@@ -455,9 +456,9 @@ function Layout1$2(content) {
|
|
|
455
456
|
} ), /*#__PURE__*/React__default.createElement(Item$1, {
|
|
456
457
|
elevation: 0,
|
|
457
458
|
sx: {
|
|
458
|
-
height:
|
|
459
|
-
width:
|
|
460
|
-
background:
|
|
459
|
+
height: '100%',
|
|
460
|
+
width: '100%',
|
|
461
|
+
background: 'none'
|
|
461
462
|
}
|
|
462
463
|
}, /*#__PURE__*/React__default.createElement(material.Box, null, ((_content$component$su9 = content.component.subcomponent[0]) === null || _content$component$su9 === void 0 ? void 0 : _content$component$su9.label_active) && /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(material.Chip, {
|
|
463
464
|
disabled: true,
|
|
@@ -481,11 +482,11 @@ function Layout1$2(content) {
|
|
|
481
482
|
sx: {
|
|
482
483
|
whiteSpace: 'pre-wrap',
|
|
483
484
|
fontSize: {
|
|
484
|
-
xs:
|
|
485
|
-
sm:
|
|
486
|
-
md:
|
|
487
|
-
lg:
|
|
488
|
-
xl:
|
|
485
|
+
xs: '2em',
|
|
486
|
+
sm: '2em',
|
|
487
|
+
md: '2em',
|
|
488
|
+
lg: '2em',
|
|
489
|
+
xl: '2em'
|
|
489
490
|
}
|
|
490
491
|
}
|
|
491
492
|
})), /*#__PURE__*/React__default.createElement(material.Box, {
|
|
@@ -500,11 +501,11 @@ function Layout1$2(content) {
|
|
|
500
501
|
sx: {
|
|
501
502
|
whiteSpace: 'pre-wrap',
|
|
502
503
|
fontSize: {
|
|
503
|
-
xs:
|
|
504
|
-
sm:
|
|
505
|
-
md:
|
|
506
|
-
lg:
|
|
507
|
-
xl:
|
|
504
|
+
xs: '1.125em',
|
|
505
|
+
sm: '1.125em',
|
|
506
|
+
md: '1.125em',
|
|
507
|
+
lg: '1.125em',
|
|
508
|
+
xl: '1.125em'
|
|
508
509
|
}
|
|
509
510
|
}
|
|
510
511
|
})), ((_content$component$su17 = content.component.subcomponent[0]) === null || _content$component$su17 === void 0 ? void 0 : _content$component$su17.button_active) && /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(material.Button, {
|
|
@@ -573,17 +574,17 @@ function Layout1$3(content) {
|
|
|
573
574
|
sx: {
|
|
574
575
|
whiteSpace: 'pre-wrap',
|
|
575
576
|
fontSize: {
|
|
576
|
-
xs:
|
|
577
|
-
sm:
|
|
578
|
-
md:
|
|
579
|
-
lg:
|
|
580
|
-
xl:
|
|
577
|
+
xs: '1.875em',
|
|
578
|
+
sm: '2.25em',
|
|
579
|
+
md: '3em',
|
|
580
|
+
lg: '3em',
|
|
581
|
+
xl: '3em'
|
|
581
582
|
},
|
|
582
|
-
paddingBottom:
|
|
583
|
+
paddingBottom: '32px'
|
|
583
584
|
}
|
|
584
585
|
}), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
585
586
|
container: true,
|
|
586
|
-
spacing:
|
|
587
|
+
spacing: 1,
|
|
587
588
|
alignItems: "center",
|
|
588
589
|
justifyContent: "center"
|
|
589
590
|
}, (_content$component$su = content.component.subcomponent) === null || _content$component$su === void 0 ? void 0 : _content$component$su.map(function (img, index) {
|
|
@@ -599,7 +600,7 @@ function Layout1$3(content) {
|
|
|
599
600
|
elevation: 0,
|
|
600
601
|
sx: {
|
|
601
602
|
borderRadius: '24px',
|
|
602
|
-
width:
|
|
603
|
+
width: '100%',
|
|
603
604
|
height: {
|
|
604
605
|
xl: 350,
|
|
605
606
|
lg: 350,
|
|
@@ -610,12 +611,12 @@ function Layout1$3(content) {
|
|
|
610
611
|
}
|
|
611
612
|
}, /*#__PURE__*/React__default.createElement(material.CardMedia, {
|
|
612
613
|
component: "img",
|
|
613
|
-
alt: img.description ? img.description :
|
|
614
|
+
alt: img.description ? img.description : '',
|
|
614
615
|
image: img.image ? img.image.url ? img.image.url : 'none' : 'none',
|
|
615
616
|
sx: {
|
|
616
|
-
width:
|
|
617
|
-
height:
|
|
618
|
-
transform: "translate(\n " + img.image_transform_x + "%\n ,\n " + img.image_transform_y + "%)" + ("scale(" + (img.image_scale ? img.image_scale :
|
|
617
|
+
width: '100%',
|
|
618
|
+
height: '100%',
|
|
619
|
+
transform: "translate(\n " + img.image_transform_x + "%\n ,\n " + img.image_transform_y + "%)" + ("scale(" + (img.image_scale ? img.image_scale : '1') + ")")
|
|
619
620
|
}
|
|
620
621
|
})));
|
|
621
622
|
}))));
|
|
@@ -777,33 +778,19 @@ function Item$2(props) {
|
|
|
777
778
|
return null;
|
|
778
779
|
} else {
|
|
779
780
|
return content.length >= 1 ? /*#__PURE__*/React__default.createElement(Carousel, {
|
|
780
|
-
autoPlay:
|
|
781
|
-
indicators:
|
|
782
|
-
navButtonsAlwaysVisible:
|
|
783
|
-
navButtonsProps: {
|
|
784
|
-
style: {
|
|
785
|
-
backgroundColor: 'transparent',
|
|
786
|
-
borderRadius: 0,
|
|
787
|
-
color: '#767676'
|
|
788
|
-
}
|
|
789
|
-
},
|
|
790
|
-
navButtonsWrapperProps: {
|
|
791
|
-
style: {
|
|
792
|
-
top: '0',
|
|
793
|
-
bottom: 'unset'
|
|
794
|
-
}
|
|
795
|
-
},
|
|
781
|
+
autoPlay: true,
|
|
782
|
+
indicators: true,
|
|
783
|
+
navButtonsAlwaysVisible: false,
|
|
796
784
|
sx: {
|
|
797
785
|
width: '100%',
|
|
798
|
-
height: '
|
|
799
|
-
|
|
800
|
-
"& .css-hn784z": {
|
|
786
|
+
height: '620px',
|
|
787
|
+
'& .css-hn784z': {
|
|
801
788
|
left: {
|
|
802
789
|
xs: 'calc(100% - 120px)'
|
|
803
790
|
},
|
|
804
791
|
height: 'auto'
|
|
805
792
|
},
|
|
806
|
-
|
|
793
|
+
'& .css-1abc02a': {
|
|
807
794
|
height: 'auto'
|
|
808
795
|
}
|
|
809
796
|
}
|
|
@@ -811,23 +798,20 @@ function Item$2(props) {
|
|
|
811
798
|
return /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
812
799
|
container: true,
|
|
813
800
|
key: i,
|
|
814
|
-
spacing:
|
|
801
|
+
spacing: 1,
|
|
815
802
|
sx: {
|
|
816
803
|
margin: 'auto',
|
|
817
804
|
padding: 'auto'
|
|
818
805
|
}
|
|
819
|
-
}, /*#__PURE__*/React__default.createElement(material.
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
}, /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
806
|
+
}, /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
807
|
+
container: true,
|
|
808
|
+
justifyContent: 'center',
|
|
809
|
+
marginBottom: 1
|
|
810
|
+
}, /*#__PURE__*/React__default.createElement(material.Box, null, ' ', /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
811
|
+
textAlign: 'center',
|
|
828
812
|
component: 'h2',
|
|
829
813
|
dangerouslySetInnerHTML: {
|
|
830
|
-
__html: title ? title : '
|
|
814
|
+
__html: title ? title : ''
|
|
831
815
|
},
|
|
832
816
|
sx: {
|
|
833
817
|
height: '100%',
|
|
@@ -839,27 +823,34 @@ function Item$2(props) {
|
|
|
839
823
|
xs: '1.875em'
|
|
840
824
|
}
|
|
841
825
|
}
|
|
842
|
-
})), items.map(function (item, j) {
|
|
826
|
+
}))), items.map(function (item, j) {
|
|
843
827
|
var _ref;
|
|
844
828
|
return /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
845
829
|
item: true,
|
|
846
830
|
key: j,
|
|
847
|
-
sm:
|
|
831
|
+
sm: 5,
|
|
848
832
|
md: 4,
|
|
849
|
-
lg:
|
|
850
|
-
xl:
|
|
833
|
+
lg: 2.9,
|
|
834
|
+
xl: 2.9,
|
|
851
835
|
sx: {
|
|
852
836
|
margin: {
|
|
853
837
|
xs: '0px',
|
|
854
838
|
sm: '0px'
|
|
855
839
|
},
|
|
856
|
-
|
|
857
|
-
|
|
840
|
+
display: {
|
|
841
|
+
xs: '',
|
|
842
|
+
sm: 'flex'
|
|
843
|
+
},
|
|
858
844
|
justifyContent: 'center',
|
|
859
845
|
alignItems: 'center',
|
|
860
846
|
'&.MuiGrid-item': {
|
|
861
|
-
paddingLeft:
|
|
862
|
-
|
|
847
|
+
paddingLeft: {
|
|
848
|
+
xs: '35px',
|
|
849
|
+
sm: '55px',
|
|
850
|
+
md: '20px',
|
|
851
|
+
lg: '12px',
|
|
852
|
+
xl: '12px'
|
|
853
|
+
}
|
|
863
854
|
}
|
|
864
855
|
}
|
|
865
856
|
}, /*#__PURE__*/React__default.createElement(material.Slide, {
|
|
@@ -881,7 +872,7 @@ function Item$2(props) {
|
|
|
881
872
|
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
882
873
|
sx: {
|
|
883
874
|
aspectRatio: '1/1',
|
|
884
|
-
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale :
|
|
875
|
+
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : '1') + ")")
|
|
885
876
|
}
|
|
886
877
|
})), /*#__PURE__*/React__default.createElement(material.CardContent, {
|
|
887
878
|
sx: {
|
|
@@ -891,12 +882,20 @@ function Item$2(props) {
|
|
|
891
882
|
paddingBottom: '8px'
|
|
892
883
|
}
|
|
893
884
|
}
|
|
885
|
+
}, /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
886
|
+
height: {
|
|
887
|
+
xs: '2vh',
|
|
888
|
+
sm: '2vh',
|
|
889
|
+
md: '3.1vh',
|
|
890
|
+
lg: '3.2vh',
|
|
891
|
+
xl: '3.2vh'
|
|
892
|
+
}
|
|
894
893
|
}, /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
895
|
-
component: 'h3',
|
|
896
894
|
dangerouslySetInnerHTML: {
|
|
897
895
|
__html: item.title ? item.title : 'Agrega título'
|
|
898
896
|
},
|
|
899
897
|
sx: {
|
|
898
|
+
padding: '1px !important',
|
|
900
899
|
display: '-webkit-box',
|
|
901
900
|
WebkitLineClamp: 1,
|
|
902
901
|
WebkitBoxOrient: 'vertical',
|
|
@@ -906,17 +905,19 @@ function Item$2(props) {
|
|
|
906
905
|
fontSize: {
|
|
907
906
|
xs: '1em',
|
|
908
907
|
sm: '1em',
|
|
909
|
-
md: '
|
|
910
|
-
lg: '
|
|
911
|
-
xl: '
|
|
908
|
+
md: '1.3em',
|
|
909
|
+
lg: '1.3em',
|
|
910
|
+
xl: '1.3em'
|
|
912
911
|
}
|
|
913
912
|
}
|
|
914
|
-
}), /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
913
|
+
})), /*#__PURE__*/React__default.createElement(material.Grid, null, /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
915
914
|
component: 'p',
|
|
916
915
|
dangerouslySetInnerHTML: {
|
|
917
916
|
__html: item.subtitle ? item.subtitle : 'Agrega subtítulo'
|
|
918
917
|
},
|
|
919
918
|
sx: {
|
|
919
|
+
padding: '1px !important',
|
|
920
|
+
maxHeight: '40px',
|
|
920
921
|
display: '-webkit-box',
|
|
921
922
|
WebkitLineClamp: 2,
|
|
922
923
|
WebkitBoxOrient: 'vertical',
|
|
@@ -931,7 +932,15 @@ function Item$2(props) {
|
|
|
931
932
|
xl: '1em'
|
|
932
933
|
}
|
|
933
934
|
}
|
|
934
|
-
}), item.button_active && /*#__PURE__*/React__default.createElement(material.
|
|
935
|
+
})), item.button_active && /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
936
|
+
height: {
|
|
937
|
+
xs: '2vh',
|
|
938
|
+
sm: '2vh',
|
|
939
|
+
md: '2vh',
|
|
940
|
+
lg: '2vh',
|
|
941
|
+
xl: '2vh'
|
|
942
|
+
}
|
|
943
|
+
}, /*#__PURE__*/React__default.createElement(material.Button, {
|
|
935
944
|
variant: "contained",
|
|
936
945
|
href: item.button_action ? item.button_action : '#',
|
|
937
946
|
target: item.link == 4 ? '_blank' : '_self',
|
|
@@ -942,7 +951,7 @@ function Item$2(props) {
|
|
|
942
951
|
borderRadius: '50px',
|
|
943
952
|
fontSize: '12px'
|
|
944
953
|
}
|
|
945
|
-
}, item.button_title ? item.button_title : 'Nombre botón')))));
|
|
954
|
+
}, item.button_title ? item.button_title : 'Nombre botón'))))));
|
|
946
955
|
}));
|
|
947
956
|
})) : /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
948
957
|
container: true,
|
|
@@ -1001,7 +1010,7 @@ function Item$2(props) {
|
|
|
1001
1010
|
image: item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image',
|
|
1002
1011
|
sx: {
|
|
1003
1012
|
aspectRatio: '1/1',
|
|
1004
|
-
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale :
|
|
1013
|
+
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : '1') + ")")
|
|
1005
1014
|
}
|
|
1006
1015
|
}), /*#__PURE__*/React__default.createElement(material.CardContent, {
|
|
1007
1016
|
sx: {
|
|
@@ -1089,13 +1098,7 @@ var List = /*#__PURE__*/function (_AtomicElements) {
|
|
|
1089
1098
|
|
|
1090
1099
|
function Layout1$6(content) {
|
|
1091
1100
|
return /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
1092
|
-
container: true
|
|
1093
|
-
sx: {
|
|
1094
|
-
minHeight: '250px',
|
|
1095
|
-
width: '100%',
|
|
1096
|
-
margin: 'auto',
|
|
1097
|
-
padding: '0px'
|
|
1098
|
-
}
|
|
1101
|
+
container: true
|
|
1099
1102
|
}, /*#__PURE__*/React__default.createElement(Item$3, {
|
|
1100
1103
|
title: content.component.title,
|
|
1101
1104
|
content: content.component.subcomponent,
|
|
@@ -1144,13 +1147,13 @@ function Item$3(props) {
|
|
|
1144
1147
|
} else {
|
|
1145
1148
|
return content.length >= 1 ? /*#__PURE__*/React__default.createElement(Carousel, {
|
|
1146
1149
|
autoPlay: true,
|
|
1147
|
-
indicators:
|
|
1150
|
+
indicators: true,
|
|
1148
1151
|
swipe: true,
|
|
1149
1152
|
cycleNavigation: true,
|
|
1150
1153
|
sx: {
|
|
1151
1154
|
width: '100%',
|
|
1152
|
-
height: '
|
|
1153
|
-
paddingTop: '
|
|
1155
|
+
height: '40vh',
|
|
1156
|
+
paddingTop: '20px',
|
|
1154
1157
|
position: 'relative'
|
|
1155
1158
|
}
|
|
1156
1159
|
}, arrayFourElements.map(function (items, p) {
|
|
@@ -1159,21 +1162,15 @@ function Item$3(props) {
|
|
|
1159
1162
|
key: p
|
|
1160
1163
|
}, /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
1161
1164
|
container: true,
|
|
1162
|
-
spacing: 0,
|
|
1163
1165
|
sx: {
|
|
1164
|
-
margin: 'auto',
|
|
1165
1166
|
padding: 'auto'
|
|
1166
1167
|
}
|
|
1167
|
-
}, /*#__PURE__*/React__default.createElement(material.
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
},
|
|
1174
|
-
zIndex: 1
|
|
1175
|
-
}
|
|
1176
|
-
}, " ", /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
1168
|
+
}, /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
1169
|
+
container: true,
|
|
1170
|
+
justifyContent: 'center',
|
|
1171
|
+
marginBottom: 1
|
|
1172
|
+
}, /*#__PURE__*/React__default.createElement(material.Box, null, ' ', /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
1173
|
+
textAlign: 'center',
|
|
1177
1174
|
component: 'h2',
|
|
1178
1175
|
dangerouslySetInnerHTML: {
|
|
1179
1176
|
__html: title ? title : ''
|
|
@@ -1188,30 +1185,31 @@ function Item$3(props) {
|
|
|
1188
1185
|
xs: '1.875em'
|
|
1189
1186
|
}
|
|
1190
1187
|
}
|
|
1191
|
-
})),
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1188
|
+
}))), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
1189
|
+
item: true,
|
|
1190
|
+
xs: 12,
|
|
1191
|
+
sm: 12,
|
|
1192
|
+
md: 12,
|
|
1193
|
+
lg: 12,
|
|
1194
|
+
xl: 12,
|
|
1195
|
+
sx: {
|
|
1196
|
+
width: 'object-fit',
|
|
1197
|
+
display: 'flex',
|
|
1198
|
+
justifyContent: 'center',
|
|
1199
|
+
alignItems: 'center',
|
|
1200
|
+
'&.MuiGrid-item': {
|
|
1201
|
+
paddingLeft: {
|
|
1202
|
+
xs: '80px',
|
|
1203
|
+
sm: '12px',
|
|
1204
|
+
md: '12px',
|
|
1205
|
+
lg: '12px',
|
|
1206
|
+
xl: '12px'
|
|
1204
1207
|
},
|
|
1205
|
-
|
|
1206
|
-
display: 'flex',
|
|
1207
|
-
justifyContent: 'center',
|
|
1208
|
-
alignItems: 'center',
|
|
1209
|
-
'&.MuiGrid-item': {
|
|
1210
|
-
paddingLeft: '17px',
|
|
1211
|
-
paddingTop: '10px'
|
|
1212
|
-
}
|
|
1208
|
+
paddingTop: '10px'
|
|
1213
1209
|
}
|
|
1214
|
-
}
|
|
1210
|
+
}
|
|
1211
|
+
}, items.map(function (item, j) {
|
|
1212
|
+
return /*#__PURE__*/React__default.createElement(material.Slide, {
|
|
1215
1213
|
direction: "left",
|
|
1216
1214
|
"in": visible
|
|
1217
1215
|
}, /*#__PURE__*/React__default.createElement(material.Card, {
|
|
@@ -1219,20 +1217,23 @@ function Item$3(props) {
|
|
|
1219
1217
|
sx: {
|
|
1220
1218
|
width: '100%',
|
|
1221
1219
|
height: '100%',
|
|
1220
|
+
maxHeight: '200px',
|
|
1222
1221
|
borderRadius: '10px',
|
|
1223
|
-
background: 'none'
|
|
1222
|
+
background: 'none',
|
|
1223
|
+
margin: 'auto'
|
|
1224
1224
|
}
|
|
1225
1225
|
}, /*#__PURE__*/React__default.createElement(material.CardMedia, {
|
|
1226
1226
|
component: "img",
|
|
1227
1227
|
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
1228
1228
|
alt: item.title ? item.title : 'none',
|
|
1229
1229
|
sx: {
|
|
1230
|
-
width: '
|
|
1231
|
-
height: '
|
|
1232
|
-
|
|
1230
|
+
width: '200px',
|
|
1231
|
+
height: 'auto',
|
|
1232
|
+
maxHeight: '200px',
|
|
1233
|
+
objectFit: 'contain'
|
|
1233
1234
|
}
|
|
1234
|
-
})))
|
|
1235
|
-
})));
|
|
1235
|
+
})));
|
|
1236
|
+
}))));
|
|
1236
1237
|
})) : null;
|
|
1237
1238
|
}
|
|
1238
1239
|
}
|
|
@@ -1366,8 +1367,10 @@ function CanvasContainer(props) {
|
|
|
1366
1367
|
backgroundColor: json.component.bg_type === 1 ? json.component.bg_color1 : undefined,
|
|
1367
1368
|
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,
|
|
1368
1369
|
backgroundPosition: 'center',
|
|
1370
|
+
backgroundAttachment: 'fixed',
|
|
1369
1371
|
backgroundSize: 'cover',
|
|
1370
|
-
backgroundRepeat: 'no-repeat'
|
|
1372
|
+
backgroundRepeat: 'no-repeat',
|
|
1373
|
+
justifyContent: 'center'
|
|
1371
1374
|
}
|
|
1372
1375
|
}, /*#__PURE__*/React__default.createElement(material.Box, {
|
|
1373
1376
|
sx: {
|
|
@@ -3083,39 +3086,39 @@ function Layout(content) {
|
|
|
3083
3086
|
preserveAspectRatio: 'xMidYMid slice'
|
|
3084
3087
|
}
|
|
3085
3088
|
};
|
|
3086
|
-
var callToAction =
|
|
3089
|
+
var callToAction = 'Ingresa a Keski Creator desde tu panel administrativo para editar esta vista.';
|
|
3087
3090
|
var infoLoadingMap = {
|
|
3088
3091
|
'landing/content/1': {
|
|
3089
|
-
title:
|
|
3090
|
-
description:
|
|
3092
|
+
title: 'Página de inicio',
|
|
3093
|
+
description: 'Esta página es muy importante, aquí es la primera impresión de tus clientes. Agrega las secciones necesarias para que tu cliente te conozca, utiliza un diseño agradable y atractivo para captar su atención desde el primer momento. Personaliza el contenido para reflejar la esencia de tu marca y los valores de tu negocio.'
|
|
3091
3094
|
},
|
|
3092
3095
|
'landing/content/2': {
|
|
3093
|
-
title:
|
|
3094
|
-
description:
|
|
3096
|
+
title: 'Productos',
|
|
3097
|
+
description: 'En esta sección puedes detallar los productos que ofreces. Organiza tu catálogo y facilita la navegación.'
|
|
3095
3098
|
},
|
|
3096
3099
|
'landing/content/3': {
|
|
3097
|
-
title:
|
|
3098
|
-
description:
|
|
3100
|
+
title: 'Nosotros',
|
|
3101
|
+
description: 'Aquí puedes contar la historia de tu empresa, presentar a tu equipo y destacar tus valores y misión. Es una excelente oportunidad para generar confianza y credibilidad. Usa esta sección para humanizar tu marca y conectar emocionalmente con tus visitantes.'
|
|
3099
3102
|
},
|
|
3100
3103
|
'landing/content/4': {
|
|
3101
|
-
title:
|
|
3102
|
-
description:
|
|
3104
|
+
title: 'Catálogo',
|
|
3105
|
+
description: 'Muestra una lista detallada de todos los productos o servicios que ofreces. Organiza tu catálogo de manera que sea fácil de navegar y busca resaltar tus productos más populares o nuevos lanzamientos. Puedes incluir filtros y categorías para mejorar la experiencia del usuario.'
|
|
3103
3106
|
},
|
|
3104
3107
|
'landing/content/5': {
|
|
3105
|
-
title:
|
|
3106
|
-
description:
|
|
3108
|
+
title: 'Servicios',
|
|
3109
|
+
description: 'En esta página puedes detallar los diferentes servicios que ofreces. Describe cada servicio de manera clara y concisa, incluyendo sus beneficios y características. Utiliza imágenes y testimonios para reforzar la calidad de tus servicios y motivar a los visitantes a contactarte.'
|
|
3107
3110
|
},
|
|
3108
3111
|
'landing/content/6': {
|
|
3109
|
-
title:
|
|
3110
|
-
description:
|
|
3112
|
+
title: 'Blog',
|
|
3113
|
+
description: 'Comparte artículos, noticias y actualizaciones relacionadas con tu negocio. Un blog activo puede mejorar tu SEO y mantener a tus clientes informados y comprometidos. Publica contenido relevante y útil que pueda interesar a tus visitantes y mostrar tu expertise en la industria.'
|
|
3111
3114
|
},
|
|
3112
3115
|
'landing/content/7': {
|
|
3113
|
-
title:
|
|
3114
|
-
description:
|
|
3116
|
+
title: 'Ubicación',
|
|
3117
|
+
description: 'Aquí puedes mostrar a tus clientes dónde estás ubicado. Incluye un mapa interactivo, tu dirección completa y cualquier otra información de contacto relevante. Si tienes varias ubicaciones, asegúrate de incluir detalles para cada una. También puedes agregar instrucciones sobre cómo llegar y el horario de atención.'
|
|
3115
3118
|
},
|
|
3116
|
-
|
|
3117
|
-
title:
|
|
3118
|
-
description:
|
|
3119
|
+
placeholder: {
|
|
3120
|
+
title: 'En construccion',
|
|
3121
|
+
description: 'Bienvenido a la página principal. Aquí encontrarás información general y acceso a las diferentes secciones.'
|
|
3119
3122
|
}
|
|
3120
3123
|
};
|
|
3121
3124
|
var visible = true;
|
|
@@ -3129,8 +3132,8 @@ function Layout(content) {
|
|
|
3129
3132
|
},
|
|
3130
3133
|
height: {
|
|
3131
3134
|
xs: '80vh',
|
|
3132
|
-
sm:
|
|
3133
|
-
md:
|
|
3135
|
+
sm: '80vh',
|
|
3136
|
+
md: '80vh'
|
|
3134
3137
|
},
|
|
3135
3138
|
backgroundPosition: 'center',
|
|
3136
3139
|
justifyContent: 'center',
|
|
@@ -3150,18 +3153,18 @@ function Layout(content) {
|
|
|
3150
3153
|
lg: '80vh'
|
|
3151
3154
|
},
|
|
3152
3155
|
justifyContent: 'center',
|
|
3153
|
-
alignItems:
|
|
3156
|
+
alignItems: 'center',
|
|
3154
3157
|
paddingLeft: {
|
|
3155
|
-
lg:
|
|
3156
|
-
md:
|
|
3157
|
-
sm:
|
|
3158
|
-
xs:
|
|
3158
|
+
lg: '0px',
|
|
3159
|
+
md: '24px',
|
|
3160
|
+
sm: '16px',
|
|
3161
|
+
xs: '16px'
|
|
3159
3162
|
},
|
|
3160
3163
|
paddingRight: {
|
|
3161
|
-
lg:
|
|
3162
|
-
md:
|
|
3163
|
-
sm:
|
|
3164
|
-
xs:
|
|
3164
|
+
lg: '24px',
|
|
3165
|
+
md: '24px',
|
|
3166
|
+
sm: '16px',
|
|
3167
|
+
xs: '16px'
|
|
3165
3168
|
},
|
|
3166
3169
|
textAlign: 'center'
|
|
3167
3170
|
}
|
|
@@ -3171,11 +3174,11 @@ function Layout(content) {
|
|
|
3171
3174
|
marginBottom: '16px',
|
|
3172
3175
|
whiteSpace: 'pre-wrap',
|
|
3173
3176
|
fontSize: {
|
|
3174
|
-
xs:
|
|
3175
|
-
sm:
|
|
3176
|
-
md:
|
|
3177
|
-
lg:
|
|
3178
|
-
xl:
|
|
3177
|
+
xs: '2em',
|
|
3178
|
+
sm: '2em',
|
|
3179
|
+
md: '3.75em',
|
|
3180
|
+
lg: '3.75em',
|
|
3181
|
+
xl: '3.75em'
|
|
3179
3182
|
},
|
|
3180
3183
|
color: '#60269E'
|
|
3181
3184
|
}
|
|
@@ -3185,11 +3188,11 @@ function Layout(content) {
|
|
|
3185
3188
|
marginBottom: '16px',
|
|
3186
3189
|
justifyContent: 'center',
|
|
3187
3190
|
fontSize: {
|
|
3188
|
-
xs:
|
|
3189
|
-
sm:
|
|
3190
|
-
md:
|
|
3191
|
-
lg:
|
|
3192
|
-
xl:
|
|
3191
|
+
xs: '1.25em',
|
|
3192
|
+
sm: '1.25em',
|
|
3193
|
+
md: '1.25em',
|
|
3194
|
+
lg: '1.25em',
|
|
3195
|
+
xl: '1.25em'
|
|
3193
3196
|
}
|
|
3194
3197
|
}
|
|
3195
3198
|
}, infoLoadingMap[content.component.view_placeholder].description), /*#__PURE__*/React__default.createElement(Lottie, {
|
|
@@ -3202,11 +3205,11 @@ function Layout(content) {
|
|
|
3202
3205
|
marginBottom: '16px',
|
|
3203
3206
|
justifyContent: 'center',
|
|
3204
3207
|
fontSize: {
|
|
3205
|
-
xs:
|
|
3206
|
-
sm:
|
|
3207
|
-
md:
|
|
3208
|
-
lg:
|
|
3209
|
-
xl:
|
|
3208
|
+
xs: '1.25em',
|
|
3209
|
+
sm: '1.25em',
|
|
3210
|
+
md: '1.25em',
|
|
3211
|
+
lg: '1.25em',
|
|
3212
|
+
xl: '1.25em'
|
|
3210
3213
|
}
|
|
3211
3214
|
}
|
|
3212
3215
|
}, callToAction))));
|