keski_lib_catalog 1.0.36 → 1.0.38

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 CHANGED
@@ -134,13 +134,15 @@ function Item(props) {
134
134
  minHeight: {
135
135
  xs: '270px',
136
136
  md: '90px'
137
- }
137
+ },
138
+ whiteSpace: 'pre-wrap'
138
139
  }
139
140
  }, content.description ? content.description : 'Agregue descripción'), /*#__PURE__*/React__default.createElement(material.Typography, {
140
141
  className: "small",
141
142
  sx: {
142
143
  marginBottom: '16px',
143
- textAlign: 'right'
144
+ textAlign: 'right',
145
+ whiteSpace: 'pre-wrap'
144
146
  }
145
147
  }, content.subtitle ? content.subtitle : 'Agregue subtítulo'))));
146
148
  }
@@ -187,12 +189,14 @@ function Layout1$1(content) {
187
189
  }, /*#__PURE__*/React__default.createElement(material.Typography, {
188
190
  className: "title-xxlarge",
189
191
  sx: {
190
- marginBottom: '16px'
192
+ marginBottom: '16px',
193
+ whiteSpace: 'pre-wrap'
191
194
  }
192
195
  }, (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.title ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.title : 'Agregue título'), /*#__PURE__*/React__default.createElement(material.Typography, {
193
196
  className: "xmiddle",
194
197
  sx: {
195
- marginBottom: '16px'
198
+ marginBottom: '16px',
199
+ whiteSpace: 'pre-wrap'
196
200
  }
197
201
  }, (_content$component$su4 = content.component.subcomponent[0]) !== null && _content$component$su4 !== void 0 && _content$component$su4.description ? (_content$component$su5 = content.component.subcomponent[0]) === null || _content$component$su5 === void 0 ? void 0 : _content$component$su5.description : 'Agregue descripción'), /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(material.Button, {
198
202
  variant: "contained",
@@ -272,14 +276,20 @@ function Layout1$2(content) {
272
276
  marginBottom: '16px'
273
277
  }
274
278
  }, /*#__PURE__*/React__default.createElement(material.Typography, {
275
- className: "title-xlarge"
279
+ className: "title-xlarge",
280
+ sx: {
281
+ whiteSpace: 'pre-wrap'
282
+ }
276
283
  }, (_content$component$su4 = content.component.subcomponent[0]) !== null && _content$component$su4 !== void 0 && _content$component$su4.title ? (_content$component$su5 = content.component.subcomponent[0]) === null || _content$component$su5 === void 0 ? void 0 : _content$component$su5.title : 'Agregue título')), /*#__PURE__*/React__default.createElement(material.Box, {
277
284
  sx: {
278
285
  marginBottom: '16px',
279
286
  color: '#767676'
280
287
  }
281
288
  }, /*#__PURE__*/React__default.createElement(material.Typography, {
282
- className: "middle"
289
+ className: "middle",
290
+ sx: {
291
+ whiteSpace: 'pre-wrap'
292
+ }
283
293
  }, (_content$component$su6 = content.component.subcomponent[0]) !== null && _content$component$su6 !== void 0 && _content$component$su6.description ? (_content$component$su7 = content.component.subcomponent[0]) === null || _content$component$su7 === void 0 ? void 0 : _content$component$su7.description : 'Agregue descripción')), /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(material.Button, {
284
294
  variant: "contained",
285
295
  href: (_content$component$su8 = content.component.subcomponent[0]) === null || _content$component$su8 === void 0 ? void 0 : _content$component$su8.button_action,
@@ -331,7 +341,8 @@ function Layout1$3(content) {
331
341
  }, /*#__PURE__*/React__default.createElement(material.Typography, {
332
342
  className: "title-xlarge",
333
343
  sx: {
334
- margin: '16px auto'
344
+ margin: '16px auto',
345
+ whiteSpace: 'pre-wrap'
335
346
  }
336
347
  }, content.component.title ? content.component.title : 'Agregue un título'), /*#__PURE__*/React__default.createElement(material.Grid, {
337
348
  container: true
@@ -390,13 +401,15 @@ function Layout1$4(content) {
390
401
  }, /*#__PURE__*/React__default.createElement(material.Typography, {
391
402
  className: "title-xlarge",
392
403
  sx: {
393
- marginBottom: '16px'
404
+ marginBottom: '16px',
405
+ whiteSpace: 'pre-wrap'
394
406
  }
395
407
  }, (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.title ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.title : 'Agregue título'), /*#__PURE__*/React__default.createElement(material.Typography, {
396
408
  className: "middle",
397
409
  sx: {
398
410
  marginBottom: '16px',
399
- color: '#767676'
411
+ color: '#767676',
412
+ whiteSpace: 'pre-wrap'
400
413
  }
401
414
  }, (_content$component$su4 = content.component.subcomponent[0]) !== null && _content$component$su4 !== void 0 && _content$component$su4.description ? (_content$component$su5 = content.component.subcomponent[0]) === null || _content$component$su5 === void 0 ? void 0 : _content$component$su5.description : 'Agregue descripción')));
402
415
  }
@@ -422,17 +435,21 @@ function Layout1$5(content) {
422
435
  return /*#__PURE__*/React__default.createElement(material.Grid, {
423
436
  container: true,
424
437
  sx: {
425
- height: '550px',
426
- width: '100%'
438
+ minHeight: '550px',
439
+ width: '100%',
440
+ margin: 'auto',
441
+ padding: '8px'
427
442
  }
428
443
  }, /*#__PURE__*/React__default.createElement(Item$1, {
444
+ title: content.component.title,
429
445
  content: content.component.subcomponent,
430
446
  side: content.component.justify_content
431
447
  }));
432
448
  }
433
449
  function Item$1(props) {
434
450
  var content = props.content,
435
- side = props.side;
451
+ side = props.side,
452
+ title = props.title;
436
453
  var _useState = React.useState([]),
437
454
  arrayFourElements = _useState[0],
438
455
  setArrayFourElements = _useState[1];
@@ -490,11 +507,10 @@ function Item$1(props) {
490
507
  sx: {
491
508
  width: '100%',
492
509
  height: '520px',
493
- paddingTop: '64px',
510
+ paddingTop: '50px',
494
511
  "& .css-hn784z": {
495
512
  left: {
496
- xs: '60%',
497
- md: '90%'
513
+ xs: 'calc(100% - 120px)'
498
514
  },
499
515
  height: 'auto'
500
516
  },
@@ -511,18 +527,37 @@ function Item$1(props) {
511
527
  margin: 'auto',
512
528
  padding: 'auto'
513
529
  }
514
- }, items.map(function (item, j) {
530
+ }, /*#__PURE__*/React__default.createElement(material.Box, {
531
+ sx: {
532
+ position: 'absolute',
533
+ top: '-50px'
534
+ }
535
+ }, /*#__PURE__*/React__default.createElement(material.Typography, {
536
+ className: "title-xlarge",
537
+ sx: {
538
+ height: '100%'
539
+ }
540
+ }, title ? title : 'Agregue un título')), items.map(function (item, j) {
515
541
  var _ref;
516
542
  return /*#__PURE__*/React__default.createElement(material.Grid, {
517
543
  item: true,
544
+ className: "containerdegrid",
518
545
  key: j,
519
546
  sm: 6,
520
547
  md: 4,
521
548
  lg: 3,
522
549
  sx: {
523
- paddingLeft: '0px',
524
- '& .MuiGrid-item': {
525
- paddingLeft: '0px'
550
+ margin: {
551
+ xs: 'auto',
552
+ sm: '0px'
553
+ },
554
+ width: 'object-fit',
555
+ display: 'flex',
556
+ justifyContent: 'center',
557
+ alignItems: 'center',
558
+ '&.MuiGrid-item': {
559
+ paddingLeft: '0px',
560
+ paddingTop: '0px'
526
561
  }
527
562
  }
528
563
  }, /*#__PURE__*/React__default.createElement(material.Slide, {
@@ -530,16 +565,15 @@ function Item$1(props) {
530
565
  "in": visible
531
566
  }, /*#__PURE__*/React__default.createElement(material.Card, {
532
567
  sx: (_ref = {
533
- width: '300px',
534
568
  maxWidth: 300,
535
569
  boxShadow: 'none',
536
570
  borderRadius: 0,
537
571
  border: '1px solid #e5e5e5'
538
- }, _ref["borderRadius"] = '10px', _ref.backgroundColor = 'transparent', _ref)
572
+ }, _ref["borderRadius"] = '10px', _ref.backgroundColor = '#fff', _ref.marginTop = '20px', _ref)
539
573
  }, /*#__PURE__*/React__default.createElement(material.CardMedia, {
540
574
  component: "img",
541
- height: "300px",
542
- width: "300px",
575
+ height: "290px",
576
+ width: "290px",
543
577
  image: item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image',
544
578
  sx: {
545
579
  aspectRatio: '1/1'
@@ -559,7 +593,8 @@ function Item$1(props) {
559
593
  WebkitLineClamp: 1,
560
594
  WebkitBoxOrient: 'vertical',
561
595
  overflow: 'hidden',
562
- textOverflow: 'ellipsis'
596
+ textOverflow: 'ellipsis',
597
+ whiteSpace: 'pre-wrap'
563
598
  }
564
599
  }, item.title ? item.title : 'Agrega título'), /*#__PURE__*/React__default.createElement(material.Typography, {
565
600
  className: "middle",
@@ -569,7 +604,8 @@ function Item$1(props) {
569
604
  WebkitLineClamp: 2,
570
605
  WebkitBoxOrient: 'vertical',
571
606
  overflow: 'hidden',
572
- textOverflow: 'ellipsis'
607
+ textOverflow: 'ellipsis',
608
+ whiteSpace: 'pre-wrap'
573
609
  }
574
610
  }, item.subtitle ? item.subtitle : 'Agrega subtítulo'), /*#__PURE__*/React__default.createElement(material.Button, {
575
611
  variant: "contained",
@@ -581,51 +617,60 @@ function Item$1(props) {
581
617
  }
582
618
  }, item.button_title ? item.button_title : 'Nombre botón')))));
583
619
  }));
584
- })) : content.map(function (item, i) {
620
+ })) : /*#__PURE__*/React__default.createElement(material.Grid, {
621
+ container: true,
622
+ sx: {
623
+ width: '100%',
624
+ gap: '0px'
625
+ }
626
+ }, /*#__PURE__*/React__default.createElement(material.Box, {
627
+ sx: {
628
+ width: '100%',
629
+ height: '40px'
630
+ }
631
+ }, /*#__PURE__*/React__default.createElement(material.Typography, {
632
+ className: "title-xlarge"
633
+ }, title ? title : 'Agregue un título')), content.map(function (item, i) {
585
634
  var _ref2;
586
635
  return /*#__PURE__*/React__default.createElement(material.Grid, {
587
636
  item: true,
588
637
  key: i,
638
+ xs: 12,
589
639
  sm: 6,
590
640
  md: 4,
591
- lg: 3
641
+ lg: 3,
642
+ sx: {
643
+ display: 'flex',
644
+ justifyContent: 'center',
645
+ gap: '16px'
646
+ }
592
647
  }, /*#__PURE__*/React__default.createElement(material.Slide, {
593
648
  direction: "left",
594
649
  "in": visible
595
650
  }, /*#__PURE__*/React__default.createElement(material.Card, {
596
651
  sx: (_ref2 = {
597
652
  width: '300px',
598
- maxWidth: 512,
653
+ maxWidth: 300,
599
654
  boxShadow: 'none',
600
655
  borderRadius: 0,
601
656
  border: '1px solid #e5e5e5'
602
- }, _ref2["borderRadius"] = '10px', _ref2)
657
+ }, _ref2["borderRadius"] = '10px', _ref2.backgroundColor = '#fff', _ref2)
603
658
  }, /*#__PURE__*/React__default.createElement(material.CardMedia, {
604
659
  component: "img",
605
660
  height: "300px",
606
661
  width: "300px",
662
+ image: item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image',
607
663
  sx: {
608
664
  aspectRatio: '1/1'
609
- },
610
- image: item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image'
665
+ }
611
666
  }), /*#__PURE__*/React__default.createElement(material.CardContent, {
612
667
  sx: {
613
668
  padding: '8px 16px',
669
+ textAlign: side,
614
670
  '&.MuiCardContent-root:last-child': {
615
671
  paddingBottom: '8px'
616
672
  }
617
673
  }
618
- }, /*#__PURE__*/React__default.createElement(material.Box, {
619
- component: "div",
620
- sx: {
621
- display: 'flex',
622
- justifyContent: 'space-between',
623
- alignItems: 'center'
624
- }
625
- }, /*#__PURE__*/React__default.createElement(material.Box, {
626
- sx: {
627
- maxWidth: '80%'
628
- }
629
674
  }, /*#__PURE__*/React__default.createElement(material.Typography, {
630
675
  className: "title",
631
676
  sx: {
@@ -633,9 +678,10 @@ function Item$1(props) {
633
678
  WebkitLineClamp: 1,
634
679
  WebkitBoxOrient: 'vertical',
635
680
  overflow: 'hidden',
636
- textOverflow: 'ellipsis'
681
+ textOverflow: 'ellipsis',
682
+ whiteSpace: 'pre-wrap'
637
683
  }
638
- }, item.title ? item.title : 'Agrega título'))), /*#__PURE__*/React__default.createElement(material.Typography, {
684
+ }, item.title ? item.title : 'Agrega título'), /*#__PURE__*/React__default.createElement(material.Typography, {
639
685
  className: "middle",
640
686
  sx: {
641
687
  minHeight: '54px',
@@ -643,10 +689,19 @@ function Item$1(props) {
643
689
  WebkitLineClamp: 2,
644
690
  WebkitBoxOrient: 'vertical',
645
691
  overflow: 'hidden',
646
- textOverflow: 'ellipsis'
692
+ textOverflow: 'ellipsis',
693
+ whiteSpace: 'pre-wrap'
647
694
  }
648
- }, item.subtitle ? item.subtitle : 'Agrega subtítulo')))));
649
- });
695
+ }, item.subtitle ? item.subtitle : 'Agrega subtítulo'), /*#__PURE__*/React__default.createElement(material.Button, {
696
+ variant: "contained",
697
+ href: item.button_action ? item.button_action : '#',
698
+ target: item.link == 4 ? '_blank' : '_self',
699
+ sx: {
700
+ width: 'auto',
701
+ marginTop: '16px'
702
+ }
703
+ }, item.button_title ? item.button_title : 'Nombre botón')))));
704
+ }));
650
705
  }
651
706
  }
652
707
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/atomicElement.js","../src/quotes/elements/layout1.js","../src/quotes/Component.js","../src/banner/elements/layout1.js","../src/banner/Component.js","../src/textPlusImg/elements/layout1.js","../src/textPlusImg/Component.js","../src/gallery/elements/layout1.js","../src/gallery/Component.js","../src/text/elements/layout1.js","../src/text/Component.js","../src/list/elements/layout1.js","../src/list/Component.js","../src/canvas/CanvasContainer.js","../src/constants.js","../src/Section.js"],"sourcesContent":["export class AtomicElements {\r\n constructor(){\r\n this.layout = []\r\n this.layoutFootprint = []\r\n this.layoutFootprintReq = []\r\n }\r\n\r\n layoutsLength(){\r\n return(\r\n this.layout.length\r\n )\r\n }\r\n\r\n build(content, layoutId){\r\n return(\r\n this.layout[layoutId](content)\r\n )\r\n }\r\n\r\n footprint(layout){\r\n let img = this.layoutFootprint[layout]\r\n let req = this.layoutFootprintReq[layout]\r\n console.log('img atomic', img)\r\n return(\r\n {req, img}\r\n )\r\n }\r\n\r\n}\r\n","import React from 'react';\r\nimport Carousel from 'react-material-ui-carousel'\r\nimport { Box, Typography, Slide } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n\r\n return (\r\n <Carousel indicators navButtonsAlwaysInvisible sx={{ width: '100%', height: '100%' }}>\r\n {\r\n content.component.subcomponent.map((item, i) => <Item key={i} content={item} side={content.component.justify_content} />)\r\n }\r\n </Carousel>\r\n )\r\n}\r\n\r\nfunction Item(props) {\r\n const { content, side } = props\r\n const visible = true\r\n\r\n const getSideRender = (side) => {\r\n if (side === 'left') {\r\n return 'flex-start'\r\n } else if (side === 'right') {\r\n return 'flex-end'\r\n } else {\r\n return 'center'\r\n }\r\n }\r\n\r\n const getSideMargin = (side) => {\r\n if (side === 'left') {\r\n return '0px auto 0px 0px'\r\n } else if (side === 'right') {\r\n return '0px 0px 0px auto'\r\n } else {\r\n return 'auto'\r\n }\r\n }\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n width: { xs: '100%', md: '70%' },\r\n justifyContent: getSideRender(side),\r\n margin: getSideMargin(side),\r\n textAlign: side,\r\n height: '100%',\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: 'column',\r\n color: content.text_color,\r\n alignItems: getSideRender(side),\r\n }}\r\n >\r\n <Box\r\n component=\"img\"\r\n src={content.image ? content.image.url : \"https://cdn-icons-png.flaticon.com/512/6596/6596121.png\"}\r\n sx={{ width: '120px', height: '120px', marginBottom: '16px', borderRadius: '50%' }}\r\n />\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', minHeight: {xs: '270px', md: '90px'} }}>\r\n {content.description ?\r\n content.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n <Typography className=\"small\" sx={{ marginBottom: '16px', textAlign: 'right' }}>\r\n {content.subtitle ?\r\n content.subtitle\r\n : 'Agregue subtítulo'}\r\n </Typography>\r\n </Box>\r\n </Slide>\r\n </Box>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Quotes extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['quotes_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'subtitle':'Subtitle',\r\n 'description':'Description',\r\n 'image': 'sqr'\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import { Box, Button, Typography, Slide } from '@mui/material'\r\nimport React from 'react'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: 'column',\r\n width: { xs: '100%', md: '50%' },\r\n height: { xs: '100%', lg: '60vh' },\r\n justifyContent: 'center',\r\n color: content.component.subcomponent[0]?.text_color\r\n }}\r\n >\r\n <Typography className=\"title-xxlarge\" sx={{ marginBottom: '16px' }}>\r\n {content.component.subcomponent[0]?.title ?\r\n content.component.subcomponent[0]?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px' }}>\r\n {content.component.subcomponent[0]?.description ?\r\n content.component.subcomponent[0]?.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n <Box>\r\n <Button\r\n variant='contained'\r\n href={content.component.subcomponent[0]?.button_action}\r\n target={content.component.subcomponent[0]?.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginBottom: '16px' }}\r\n >\r\n {content.component.subcomponent[0]?.button_title ?\r\n content.component.subcomponent[0]?.button_title\r\n : 'Nombre botón'}\r\n </Button>\r\n </Box>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Banner extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n\r\n layout = [Layout1]\r\n layoutFootprint = ['banner_layout_1.jpg']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title': 'Tittle',\r\n 'description': 'Description',\r\n 'button_title': 'Button Title',\r\n 'button_action': 'Button action',\r\n 'text_color': 'Text color',\r\n 'link': 'Link',\r\n // 'name':'Name',\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n // <texinput display={!layout.img} id='Title'>\r\n // <texinput display={!layout.img} id='content'></texinput>\r\n // <texinput display={!layout.img} id='name'></texinput>\r\n //<texinput disable={!layout.img}>\r\n}","import { Box, Button, Typography } from \"@mui/material\"\r\nimport React from \"react\"\r\nimport { Slide } from \"@mui/material\";\r\nimport Grow from '@mui/material/Grow';\r\n\r\nexport default function Layout1(content) {\r\n\r\n const visible = true\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: { xs: 'column', md: content.component.justify_content != 'right' ? 'row' : 'row-reverse' },\r\n gap: '16px',\r\n alignItems: 'center'\r\n }}\r\n color={content.component.subcomponent[0]?.text_color}\r\n >\r\n <Box>\r\n <Slide direction=\"right\" in={visible}>\r\n <Box sx={{ width: { xs: '100%', md: '550px', lg: '640px' }, height: { md: '353px', lg: '426px' }, maxWidth: '100vw' }}>\r\n <img width=\"100%\" height=\"100%\" src={content.component.subcomponent[0]?.image ? content.component.subcomponent[0]?.image.url : 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'}></img>\r\n </Box>\r\n </Slide>\r\n </Box>\r\n <Box>\r\n <Grow\r\n in={visible}\r\n style={{ transformOrigin: '0 0 0' }}\r\n {...(visible ? { timeout: 1000 } : {})}\r\n >\r\n <Box>\r\n <Box sx={{ marginBottom: '16px' }}>\r\n <Typography className=\"title-xlarge\">{content.component.subcomponent[0]?.title ? content.component.subcomponent[0]?.title : 'Agregue título'}</Typography>\r\n </Box>\r\n <Box sx={{ marginBottom: '16px', color: '#767676' }}>\r\n <Typography className=\"middle\">\r\n {content.component.subcomponent[0]?.description ? content.component.subcomponent[0]?.description : 'Agregue descripción'}\r\n </Typography>\r\n </Box>\r\n <Box>\r\n <Button\r\n variant=\"contained\"\r\n href={content.component.subcomponent[0]?.button_action}\r\n target={content.component.subcomponent[0]?.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto' }}\r\n >\r\n {content.component.subcomponent[0]?.button_title ?\r\n content.component.subcomponent[0]?.button_title : 'Nombre botón'}\r\n </Button>\r\n </Box>\r\n </Box>\r\n </Grow>\r\n </Box>\r\n </Box>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class TextPlusImg extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1, Layout1]\r\n layoutFootprint = ['text_image_layout_1.png', 'text_image_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'description':'Text',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'req_hor',\r\n 'link':'Link'\r\n },\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'description':'Text',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'req_hor',\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import React from \"react\"\r\nimport { Box, Typography, Slide, Grid } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box sx={{ width: '100%' }}>\r\n <Typography className=\"title-xlarge\" sx={{ margin: '16px auto' }}>{content.component.title ? content.component.title : 'Agregue un título'}</Typography>\r\n <Grid container>\r\n {content.component.subcomponent?.map((img, index) => (\r\n <Grid key={index} item xs={12} md={4}>\r\n <Box\r\n component=\"img\"\r\n src={\r\n img.image.url ?\r\n img.image.url :\r\n 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'\r\n }\r\n sx={{ \r\n width: { xs: '100%', md: '95%' }, \r\n aspectRatio: '16/9',\r\n marginBottom: '16px',\r\n }}\r\n />\r\n </Grid>\r\n ))}\r\n </Grid>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Gallery extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['gallery_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'image': 'req_hor'\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import React from \"react\"\r\nimport { Box, Typography, Slide } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n width: {xs:'100%', md:'70%'},\r\n color: content.component.subcomponent[0]?.text_color,\r\n textAlign: content.component.justify_content\r\n }}\r\n >\r\n <Typography className=\"title-xlarge\" sx={{ marginBottom: '16px' }}>\r\n {content.component.subcomponent[0]?.title ?\r\n content.component.subcomponent[0]?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"middle\" sx={{ marginBottom: '16px', color: '#767676' }}>\r\n {content.component.subcomponent[0]?.description ?\r\n content.component.subcomponent[0]?.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Text extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['quotes_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title': 'Tittle',\r\n 'description': 'Description',\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n\r\n}","import React, { useState, useEffect } from 'react';\r\nimport Carousel from 'react-material-ui-carousel';\r\nimport { Box, Typography, Slide, Card, CardMedia, CardContent, Grid, useTheme, useMediaQuery, Button } from '@mui/material';\r\n\r\nexport default function Layout1(content) {\r\n\r\n return (\r\n <Grid container sx={{ height: '550px', width: '100%' }}>\r\n <Item content={content.component.subcomponent} side={content.component.justify_content} />\r\n </Grid>\r\n );\r\n}\r\n\r\nfunction Item(props) {\r\n const { content, side } = props;\r\n // console.log(side)\r\n const [arrayFourElements, setArrayFourElements] = useState([]);\r\n const visible = true;\r\n const theme = useTheme();\r\n const isXsScreen = useMediaQuery(theme.breakpoints.down('sm'));\r\n const isSmScreen = useMediaQuery(theme.breakpoints.between('sm', 'md'));\r\n const isMdScreen = useMediaQuery(theme.breakpoints.between('md', 'lg'));\r\n const isLgScreen = useMediaQuery(theme.breakpoints.up('lg'));\r\n\r\n function divideArreglo(arreglo, tamanoMaximo) {\r\n var subarreglos = [];\r\n var subarregloActual = [];\r\n\r\n for (var i = 0; i < arreglo.length; i++) {\r\n subarregloActual.push(arreglo[i]);\r\n\r\n if (subarregloActual.length === tamanoMaximo || i === arreglo.length - 1) {\r\n subarreglos.push(subarregloActual);\r\n subarregloActual = [];\r\n }\r\n }\r\n\r\n return subarreglos;\r\n }\r\n\r\n useEffect(() => {\r\n let tamanoMaximo;\r\n\r\n if (isSmScreen) {\r\n tamanoMaximo = 2;\r\n } else if (isMdScreen) {\r\n tamanoMaximo = 3;\r\n } else if (isLgScreen) {\r\n tamanoMaximo = 4;\r\n } else if (isXsScreen) {\r\n tamanoMaximo = 1;\r\n }\r\n\r\n setArrayFourElements(divideArreglo(content, tamanoMaximo));\r\n }, [isXsScreen, isSmScreen, isMdScreen, isLgScreen, content]);\r\n\r\n if (!arrayFourElements) {\r\n return null\r\n } else {\r\n return (\r\n content.length > 4 ? (\r\n <Carousel\r\n autoPlay={false}\r\n indicators={false}\r\n navButtonsAlwaysVisible={true}\r\n navButtonsProps={{\r\n style: {\r\n backgroundColor: 'transparent',\r\n borderRadius: 0,\r\n color: '#767676'\r\n }\r\n }}\r\n navButtonsWrapperProps={{\r\n style: {\r\n top: '0',\r\n bottom: 'unset'\r\n }\r\n }}\r\n sx={{\r\n width: '100%',\r\n height: '520px',\r\n paddingTop: '64px',\r\n /* Left button */\r\n \"& .css-hn784z\": {\r\n left: { xs: '60%', md: '90%' },\r\n height: 'auto',\r\n },\r\n \"& .css-1abc02a\": {\r\n height: 'auto',\r\n },\r\n }}\r\n >\r\n {\r\n arrayFourElements.map((items, i) => {\r\n return (\r\n <Grid container key={i} spacing={3} sx={{ margin: 'auto', padding: 'auto' }}>\r\n {\r\n items.map((item, j) => {\r\n return (\r\n <Grid\r\n item\r\n key={j}\r\n sm={6}\r\n md={4}\r\n lg={3}\r\n sx={{\r\n paddingLeft: '0px',\r\n '& .MuiGrid-item': {\r\n paddingLeft: '0px',\r\n }\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Card\r\n sx={{\r\n width: '300px',\r\n maxWidth: 300,\r\n boxShadow: 'none',\r\n borderRadius: 0,\r\n border: '1px solid #e5e5e5',\r\n borderRadius: '10px',\r\n backgroundColor: 'transparent',\r\n }}\r\n >\r\n <CardMedia\r\n component='img'\r\n height='300px'\r\n width='300px'\r\n image={item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image'}\r\n sx={{ aspectRatio: '1/1' }}\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n textAlign: side,\r\n '&.MuiCardContent-root:last-child': {\r\n paddingBottom: '8px'\r\n }\r\n }}\r\n >\r\n <Typography\r\n className='title'\r\n sx={{\r\n display: '-webkit-box',\r\n WebkitLineClamp: 1,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }}>\r\n {item.title ? item.title : 'Agrega título'}\r\n </Typography>\r\n <Typography\r\n className='middle'\r\n sx={{\r\n minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 2,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }}>\r\n {item.subtitle ? item.subtitle : 'Agrega subtítulo'}\r\n </Typography>\r\n <Button\r\n variant=\"contained\"\r\n href={item.button_action ? item.button_action : '#'}\r\n target={item.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginTop: '16px' }}\r\n >\r\n {item.button_title ? item.button_title : 'Nombre botón'}\r\n </Button>\r\n </CardContent>\r\n </Card>\r\n </Slide>\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Carousel> \r\n ) : (\r\n content.map((item, i) => {\r\n return (\r\n <Grid item key={i} sm={6} md={4} lg={3}>\r\n <Slide direction=\"left\" in={visible}>\r\n <Card\r\n sx={{\r\n width: '300px',\r\n maxWidth: 512,\r\n boxShadow: 'none',\r\n borderRadius: 0,\r\n border: '1px solid #e5e5e5',\r\n borderRadius: '10px',\r\n }}\r\n >\r\n <CardMedia\r\n component='img'\r\n height='300px'\r\n width='300px'\r\n sx={{ aspectRatio: '1/1' }}\r\n image={item.image.url ?\r\n item.image.url :\r\n 'https://via.placeholder.com/300x300.png?text=No+Image'}\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n '&.MuiCardContent-root:last-child': {\r\n paddingBottom: '8px'\r\n }\r\n }}\r\n >\r\n <Box\r\n component='div'\r\n sx={{\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n alignItems: 'center'\r\n }}\r\n >\r\n <Box sx={{ maxWidth: '80%' }} >\r\n <Typography\r\n className='title'\r\n sx={{\r\n // minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 1,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }}>\r\n {item.title ? item.title : 'Agrega título'}\r\n </Typography>\r\n </Box>\r\n </Box>\r\n <Typography\r\n className='middle'\r\n sx={{\r\n minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 2,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }}>\r\n {item.subtitle ? item.subtitle : 'Agrega subtítulo'}\r\n </Typography>\r\n </CardContent>\r\n </Card>\r\n </Slide>\r\n </Grid>\r\n )\r\n })\r\n )\r\n )\r\n }\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class List extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['list_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'subtitle':'Subtitle',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'sqr',\r\n 'link':'Link'\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n}","import React from \"react\";\r\nimport { Box, Container } from \"@mui/material\";\r\n\r\nexport default function CanvasContainer(props) {\r\n const { json, children } = props\r\n const rgbColor = hexToRgb(json.component.bg_image_overlay_color);\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n alignItems: 'center',\r\n backgroundColor:\r\n json.component.bg_type === 1\r\n ? json.component.bg_color1\r\n : undefined,\r\n backgroundImage:\r\n json.component.bg_type === 2\r\n ? `linear-gradient(to ${json.component.bg_gradiant_orientation}, ${json.component.bg_color1}, ${json.component.bg_color2})`\r\n : json.component.bg_type === 3\r\n ? `url(${json.component.bg_image?.url})`\r\n : undefined,\r\n backgroundPosition: 'center',\r\n backgroundSize: 'cover',\r\n backgroundRepeat: 'no-repeat',\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n bgcolor: `${json.component.bg_image_overlay && json.component.bg_type === 3 ?\r\n `rgba(${rgbColor.r}, ${rgbColor.g}, ${rgbColor.b}, ${json.component.bg_image_overlay_alpha_css})` :\r\n undefined\r\n }`,\r\n padding: '64px 24px',\r\n width: '100%'\r\n }}\r\n >\r\n <Container\r\n maxWidth='xl'\r\n sx={{\r\n padding: '0px',\r\n '&.MuiContainer-root':{\r\n paddingLeft: { xs: '0px', xl: '24px' },\r\n paddingRight: { xs: '0px', xl: '24px' }\r\n }\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n minWidth: { xs: '100%', md: '45%' },\r\n display: 'flex',\r\n justifyContent: {\r\n xs: 'center',\r\n md: json.component.justify_content ? json.component.justify_content : 'center'\r\n }\r\n }}\r\n >\r\n {children}\r\n </Box>\r\n </Container>\r\n </Box>\r\n </Box>\r\n );\r\n}\r\n\r\n\r\nfunction hexToRgb(hex) {\r\n if (hex) {\r\n const cleanHex = hex.startsWith('#') ? hex.slice(1) : hex;\r\n\r\n const r = parseInt(cleanHex.substring(0, 2), 16);\r\n const g = parseInt(cleanHex.substring(2, 4), 16);\r\n const b = parseInt(cleanHex.substring(4, 6), 16);\r\n return { r, g, b };\r\n } else {\r\n return { r: 0, g: 0, b: 0 }\r\n }\r\n}","export const JK_RESOURCES = 'https://jk-clients.s3.us-east-2.amazonaws.com/jk-resources/'","import React from \"react\"\r\nimport { Quotes } from \"./quotes/Component\"\r\nimport { Banner } from \"./banner/Component\"\r\nimport { TextPlusImg } from \"./textPlusImg/Component\"\r\nimport { Gallery } from \"./gallery/Component\"\r\nimport { Text } from \"./text/Component\"\r\nimport { List } from \"./list/Component\"\r\nimport CanvasContainer from \"./canvas/CanvasContainer\"\r\nimport { JK_RESOURCES } from \"./constants\"\r\n// Section is a common class for each component\r\nexport class Section {\r\n constructor(AtomicElement, theme) {\r\n this.child = AtomicElement\r\n }\r\n\r\n component(json) {\r\n console.log('json', json)\r\n return (\r\n <CanvasContainer json={json}>\r\n {/* Child is the instance passed as parameter in section, next class */}\r\n {this.child.build(json, json.component.layout)}\r\n </CanvasContainer>\r\n )\r\n }\r\n\r\n getFootPrint(layout) {\r\n let footPrint = this.child.footprint(layout)\r\n console.log('section', footPrint)\r\n return (\r\n { req: footPrint.req, img: `${JK_RESOURCES}${footPrint.img}` }\r\n )\r\n }\r\n\r\n layoutLength() {\r\n return (\r\n this.child.layoutsLength()\r\n )\r\n }\r\n\r\n}\r\n\r\n//Sections is the interface with admin and store\r\nexport class Sections {\r\n constructor() {\r\n this.banner = new Section(new Banner())\r\n this.quotes = new Section(new Quotes())\r\n this.textPlusImg = new Section(new TextPlusImg())\r\n this.gallery = new Section(new Gallery())\r\n this.text = new Section(new Text())\r\n this.list = new Section(new List())\r\n this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text, this.list]\r\n }\r\n\r\n getSectionList() {\r\n return (\r\n {\r\n '0': 'Banner',\r\n '1': 'Texto + Imágenes',\r\n '2': 'Citas/Testimonios',\r\n '3': 'Galeria',\r\n '4': 'Texto',\r\n '5': 'Lista',\r\n }\r\n )\r\n }\r\n getLayoutsFromSection(index) {\r\n let section = this.sections[index]\r\n return (section)\r\n }\r\n\r\n}"],"names":["AtomicElements","layout","layoutFootprint","layoutFootprintReq","_proto","prototype","layoutsLength","length","build","content","layoutId","footprint","img","req","console","log","Layout1","React","createElement","Carousel","indicators","navButtonsAlwaysInvisible","sx","width","height","component","subcomponent","map","item","i","Item","key","side","justify_content","props","visible","getSideRender","getSideMargin","Box","display","xs","md","justifyContent","margin","textAlign","Slide","direction","flexDirection","color","text_color","alignItems","src","image","url","marginBottom","borderRadius","Typography","className","minHeight","description","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","_content$component$su","_content$component$su2","_content$component$su3","_content$component$su4","_content$component$su5","_content$component$su6","_content$component$su7","_content$component$su8","_content$component$su9","lg","title","Button","variant","href","button_action","target","link","button_title","Banner","_content$component$su10","_content$component$su11","gap","maxWidth","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","Grid","container","index","aspectRatio","Gallery","Text","_useState","useState","arrayFourElements","setArrayFourElements","theme","useTheme","isXsScreen","useMediaQuery","breakpoints","down","isSmScreen","between","isMdScreen","isLgScreen","up","divideArreglo","arreglo","tamanoMaximo","subarreglos","subarregloActual","push","useEffect","autoPlay","navButtonsAlwaysVisible","navButtonsProps","backgroundColor","navButtonsWrapperProps","top","bottom","paddingTop","left","items","spacing","padding","j","_ref","sm","paddingLeft","Card","boxShadow","border","CardMedia","CardContent","paddingBottom","WebkitLineClamp","WebkitBoxOrient","overflow","textOverflow","marginTop","_ref2","List","CanvasContainer","_json$component$bg_im","json","children","rgbColor","hexToRgb","bg_image_overlay_color","bg_type","bg_color1","undefined","backgroundImage","bg_gradiant_orientation","bg_color2","bg_image","backgroundPosition","backgroundSize","backgroundRepeat","bgcolor","bg_image_overlay","r","g","b","bg_image_overlay_alpha_css","Container","xl","paddingRight","minWidth","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","Section","AtomicElement","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","gallery","text","list","sections","_proto2","getSectionList","getLayoutsFromSection","section"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAaA,cAAc;EACvB,SAAAA,iBAAa;IACT,IAAI,CAACC,MAAM,GAAG,EAAE;IAChB,IAAI,CAACC,eAAe,GAAG,EAAE;IACzB,IAAI,CAACC,kBAAkB,GAAG,EAAE;;EAC/B,IAAAC,MAAA,GAAAJ,cAAA,CAAAK,SAAA;EAAAD,MAAA,CAEDE,aAAa,GAAb,SAAAA,gBAAe;IACX,OACI,IAAI,CAACL,MAAM,CAACM,MAAM;GAEzB;EAAAH,MAAA,CAEDI,KAAK,GAAL,SAAAA,MAAMC,OAAO,EAAEC,QAAQ,EAAC;IACpB,OACI,IAAI,CAACT,MAAM,CAACS,QAAQ,CAAC,CAACD,OAAO,CAAC;GAErC;EAAAL,MAAA,CAEDO,SAAS,GAAT,SAAAA,UAAUV,MAAM,EAAC;IACb,IAAIW,GAAG,GAAG,IAAI,CAACV,eAAe,CAACD,MAAM,CAAC;IACtC,IAAIY,GAAG,GAAG,IAAI,C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,CAAC,IAAInC,IAAI,EAAE,CAAC;IACnC,IAAI,CAACgD,QAAQ,GAAG,CAAC,IAAI,CAACN,MAAM,EAAE,IAAI,CAACE,WAAW,EAAE,IAAI,CAACD,MAAM,EAAE,IAAI,CAACE,OAAO,EAAE,IAAI,CAACC,IAAI,EAAE,IAAI,CAACC,IAAI,CAAC;;EACjG,IAAAE,OAAA,GAAAR,QAAA,CAAA3L,SAAA;EAAAmM,OAAA,CAEDC,cAAc,GAAd,SAAAA,iBAAiB;IACf,OACE;MACE,GAAG,EAAE,QAAQ;MACb,GAAG,EAAE,kBAAkB;MACvB,GAAG,EAAE,mBAAmB;MACxB,GAAG,EAAE,SAAS;MACd,GAAG,EAAE,OAAO;MACZ,GAAG,EAAE;KACN;GAEJ;EAAAD,OAAA,CACDE,qBAAqB,GAArB,SAAAA,sBAAsBzG,KAAK,EAAE;IAC3B,IAAI0G,OAAO,GAAG,IAAI,CAACJ,QAAQ,CAACtG,KAAK,CAAC;IAClC,OAAQ0G,OAAO;GAChB;EAAA,OAAAX,QAAA;AAAA;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/atomicElement.js","../src/quotes/elements/layout1.js","../src/quotes/Component.js","../src/banner/elements/layout1.js","../src/banner/Component.js","../src/textPlusImg/elements/layout1.js","../src/textPlusImg/Component.js","../src/gallery/elements/layout1.js","../src/gallery/Component.js","../src/text/elements/layout1.js","../src/text/Component.js","../src/list/elements/layout1.js","../src/list/Component.js","../src/canvas/CanvasContainer.js","../src/constants.js","../src/Section.js"],"sourcesContent":["export class AtomicElements {\r\n constructor(){\r\n this.layout = []\r\n this.layoutFootprint = []\r\n this.layoutFootprintReq = []\r\n }\r\n\r\n layoutsLength(){\r\n return(\r\n this.layout.length\r\n )\r\n }\r\n\r\n build(content, layoutId){\r\n return(\r\n this.layout[layoutId](content)\r\n )\r\n }\r\n\r\n footprint(layout){\r\n let img = this.layoutFootprint[layout]\r\n let req = this.layoutFootprintReq[layout]\r\n console.log('img atomic', img)\r\n return(\r\n {req, img}\r\n )\r\n }\r\n\r\n}\r\n","import React from 'react';\r\nimport Carousel from 'react-material-ui-carousel'\r\nimport { Box, Typography, Slide } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n\r\n return (\r\n <Carousel indicators navButtonsAlwaysInvisible sx={{ width: '100%', height: '100%' }}>\r\n {\r\n content.component.subcomponent.map((item, i) => <Item key={i} content={item} side={content.component.justify_content} />)\r\n }\r\n </Carousel>\r\n )\r\n}\r\n\r\nfunction Item(props) {\r\n const { content, side } = props\r\n const visible = true\r\n\r\n const getSideRender = (side) => {\r\n if (side === 'left') {\r\n return 'flex-start'\r\n } else if (side === 'right') {\r\n return 'flex-end'\r\n } else {\r\n return 'center'\r\n }\r\n }\r\n\r\n const getSideMargin = (side) => {\r\n if (side === 'left') {\r\n return '0px auto 0px 0px'\r\n } else if (side === 'right') {\r\n return '0px 0px 0px auto'\r\n } else {\r\n return 'auto'\r\n }\r\n }\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n width: { xs: '100%', md: '70%' },\r\n justifyContent: getSideRender(side),\r\n margin: getSideMargin(side),\r\n textAlign: side,\r\n height: '100%',\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: 'column',\r\n color: content.text_color,\r\n alignItems: getSideRender(side),\r\n }}\r\n >\r\n <Box\r\n component=\"img\"\r\n src={content.image ? content.image.url : \"https://cdn-icons-png.flaticon.com/512/6596/6596121.png\"}\r\n sx={{ width: '120px', height: '120px', marginBottom: '16px', borderRadius: '50%' }}\r\n />\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', minHeight: {xs: '270px', md: '90px'}, whiteSpace: 'pre-wrap' }}>\r\n {content.description ?\r\n content.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n <Typography className=\"small\" sx={{ marginBottom: '16px', textAlign: 'right', whiteSpace: 'pre-wrap' }}>\r\n {content.subtitle ?\r\n content.subtitle\r\n : 'Agregue subtítulo'}\r\n </Typography>\r\n </Box>\r\n </Slide>\r\n </Box>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Quotes extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['quotes_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'subtitle':'Subtitle',\r\n 'description':'Description',\r\n 'image': 'sqr'\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import { Box, Button, Typography, Slide } from '@mui/material'\r\nimport React from 'react'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: 'column',\r\n width: { xs: '100%', md: '50%' },\r\n height: { xs: '100%', lg: '60vh' },\r\n justifyContent: 'center',\r\n color: content.component.subcomponent[0]?.text_color\r\n }}\r\n >\r\n <Typography className=\"title-xxlarge\" sx={{ marginBottom: '16px', whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.title ?\r\n content.component.subcomponent[0]?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.description ?\r\n content.component.subcomponent[0]?.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n <Box>\r\n <Button\r\n variant='contained'\r\n href={content.component.subcomponent[0]?.button_action}\r\n target={content.component.subcomponent[0]?.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginBottom: '16px' }}\r\n >\r\n {content.component.subcomponent[0]?.button_title ?\r\n content.component.subcomponent[0]?.button_title\r\n : 'Nombre botón'}\r\n </Button>\r\n </Box>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Banner extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n\r\n layout = [Layout1]\r\n layoutFootprint = ['banner_layout_1.jpg']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title': 'Tittle',\r\n 'description': 'Description',\r\n 'button_title': 'Button Title',\r\n 'button_action': 'Button action',\r\n 'text_color': 'Text color',\r\n 'link': 'Link',\r\n // 'name':'Name',\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n // <texinput display={!layout.img} id='Title'>\r\n // <texinput display={!layout.img} id='content'></texinput>\r\n // <texinput display={!layout.img} id='name'></texinput>\r\n //<texinput disable={!layout.img}>\r\n}","import { Box, Button, Typography } from \"@mui/material\"\r\nimport React from \"react\"\r\nimport { Slide } from \"@mui/material\";\r\nimport Grow from '@mui/material/Grow';\r\n\r\nexport default function Layout1(content) {\r\n\r\n const visible = true\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: { xs: 'column', md: content.component.justify_content != 'right' ? 'row' : 'row-reverse' },\r\n gap: '16px',\r\n alignItems: 'center'\r\n }}\r\n color={content.component.subcomponent[0]?.text_color}\r\n >\r\n <Box>\r\n <Slide direction=\"right\" in={visible}>\r\n <Box sx={{ width: { xs: '100%', md: '550px', lg: '640px' }, height: { md: '353px', lg: '426px' }, maxWidth: '100vw' }}>\r\n <img width=\"100%\" height=\"100%\" src={content.component.subcomponent[0]?.image ? content.component.subcomponent[0]?.image.url : 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'}></img>\r\n </Box>\r\n </Slide>\r\n </Box>\r\n <Box>\r\n <Grow\r\n in={visible}\r\n style={{ transformOrigin: '0 0 0' }}\r\n {...(visible ? { timeout: 1000 } : {})}\r\n >\r\n <Box>\r\n <Box sx={{ marginBottom: '16px' }}>\r\n <Typography className=\"title-xlarge\" sx={{ whiteSpace: 'pre-wrap' }}>{content.component.subcomponent[0]?.title ? content.component.subcomponent[0]?.title : 'Agregue título'}</Typography>\r\n </Box>\r\n <Box sx={{ marginBottom: '16px', color: '#767676' }}>\r\n <Typography className=\"middle\" sx={{ whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.description ? content.component.subcomponent[0]?.description : 'Agregue descripción'}\r\n </Typography>\r\n </Box>\r\n <Box>\r\n <Button\r\n variant=\"contained\"\r\n href={content.component.subcomponent[0]?.button_action}\r\n target={content.component.subcomponent[0]?.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto' }}\r\n >\r\n {content.component.subcomponent[0]?.button_title ?\r\n content.component.subcomponent[0]?.button_title : 'Nombre botón'}\r\n </Button>\r\n </Box>\r\n </Box>\r\n </Grow>\r\n </Box>\r\n </Box>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class TextPlusImg extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1, Layout1]\r\n layoutFootprint = ['text_image_layout_1.png', 'text_image_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'description':'Text',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'req_hor',\r\n 'link':'Link'\r\n },\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'description':'Text',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'req_hor',\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import React from \"react\"\r\nimport { Box, Typography, Slide, Grid } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box sx={{ width: '100%' }}>\r\n <Typography className=\"title-xlarge\" sx={{ margin: '16px auto', whiteSpace: 'pre-wrap' }}>{content.component.title ? content.component.title : 'Agregue un título'}</Typography>\r\n <Grid container>\r\n {content.component.subcomponent?.map((img, index) => (\r\n <Grid key={index} item xs={12} md={4}>\r\n <Box\r\n component=\"img\"\r\n src={\r\n img.image.url ?\r\n img.image.url :\r\n 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'\r\n }\r\n sx={{ \r\n width: { xs: '100%', md: '95%' }, \r\n aspectRatio: '16/9',\r\n marginBottom: '16px',\r\n }}\r\n />\r\n </Grid>\r\n ))}\r\n </Grid>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Gallery extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['gallery_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'image': 'req_hor'\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import React from \"react\"\r\nimport { Box, Typography, Slide } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n width: {xs:'100%', md:'70%'},\r\n color: content.component.subcomponent[0]?.text_color,\r\n textAlign: content.component.justify_content\r\n }}\r\n >\r\n <Typography className=\"title-xlarge\" sx={{ marginBottom: '16px', whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.title ?\r\n content.component.subcomponent[0]?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"middle\" sx={{ marginBottom: '16px', color: '#767676', whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.description ?\r\n content.component.subcomponent[0]?.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Text extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['quotes_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title': 'Tittle',\r\n 'description': 'Description',\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n\r\n}","import React, { useState, useEffect } from 'react';\r\nimport Carousel from 'react-material-ui-carousel';\r\nimport { Box, Typography, Slide, Card, CardMedia, CardContent, Grid, useTheme, useMediaQuery, Button } from '@mui/material';\r\n\r\nexport default function Layout1(content) {\r\n\r\n return (\r\n <Grid container sx={{ minHeight: '550px', width: '100%', margin: 'auto', padding: '8px' }}>\r\n <Item title={content.component.title} content={content.component.subcomponent} side={content.component.justify_content} />\r\n </Grid>\r\n );\r\n}\r\n\r\nfunction Item(props) {\r\n const { content, side, title } = props;\r\n const [arrayFourElements, setArrayFourElements] = useState([]);\r\n const visible = true;\r\n const theme = useTheme();\r\n const isXsScreen = useMediaQuery(theme.breakpoints.down('sm'));\r\n const isSmScreen = useMediaQuery(theme.breakpoints.between('sm', 'md'));\r\n const isMdScreen = useMediaQuery(theme.breakpoints.between('md', 'lg'));\r\n const isLgScreen = useMediaQuery(theme.breakpoints.up('lg'));\r\n\r\n function divideArreglo(arreglo, tamanoMaximo) {\r\n var subarreglos = [];\r\n var subarregloActual = [];\r\n\r\n for (var i = 0; i < arreglo.length; i++) {\r\n subarregloActual.push(arreglo[i]);\r\n\r\n if (subarregloActual.length === tamanoMaximo || i === arreglo.length - 1) {\r\n subarreglos.push(subarregloActual);\r\n subarregloActual = [];\r\n }\r\n }\r\n\r\n return subarreglos;\r\n }\r\n\r\n useEffect(() => {\r\n let tamanoMaximo;\r\n\r\n if (isSmScreen) {\r\n tamanoMaximo = 2;\r\n } else if (isMdScreen) {\r\n tamanoMaximo = 3;\r\n } else if (isLgScreen) {\r\n tamanoMaximo = 4;\r\n } else if (isXsScreen) {\r\n tamanoMaximo = 1;\r\n }\r\n\r\n setArrayFourElements(divideArreglo(content, tamanoMaximo));\r\n }, [isXsScreen, isSmScreen, isMdScreen, isLgScreen, content]);\r\n\r\n if (!arrayFourElements) {\r\n return null\r\n } else {\r\n return (\r\n content.length > 4 ? (\r\n <Carousel\r\n autoPlay={false}\r\n indicators={false}\r\n navButtonsAlwaysVisible={true}\r\n navButtonsProps={{\r\n style: {\r\n backgroundColor: 'transparent',\r\n borderRadius: 0,\r\n color: '#767676'\r\n }\r\n }}\r\n navButtonsWrapperProps={{\r\n style: {\r\n top: '0',\r\n bottom: 'unset'\r\n }\r\n }}\r\n sx={{\r\n width: '100%',\r\n height: '520px',\r\n paddingTop: '50px',\r\n /* Left button */\r\n \"& .css-hn784z\": {\r\n left: { xs: 'calc(100% - 120px)' },\r\n height: 'auto',\r\n },\r\n \"& .css-1abc02a\": {\r\n height: 'auto',\r\n },\r\n }}\r\n >\r\n {\r\n arrayFourElements.map((items, i) => {\r\n return (\r\n <Grid container key={i} spacing={3} sx={{ margin: 'auto', padding: 'auto' }}>\r\n <Box sx={{ position: 'absolute', top: '-50px' }}>\r\n <Typography className=\"title-xlarge\" sx={{ height: '100%' }}>\r\n {title ? title : 'Agregue un título'}\r\n </Typography>\r\n </Box>\r\n {\r\n items.map((item, j) => {\r\n return (\r\n <Grid\r\n item\r\n className=\"containerdegrid\"\r\n key={j}\r\n sm={6}\r\n md={4}\r\n lg={3}\r\n sx={{\r\n margin: { xs: 'auto', sm: '0px' },\r\n width: 'object-fit',\r\n display: 'flex',\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n '&.MuiGrid-item': {\r\n paddingLeft: '0px',\r\n paddingTop: '0px',\r\n }\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Card\r\n sx={{\r\n // width: '300px',\r\n maxWidth: 300,\r\n boxShadow: 'none',\r\n borderRadius: 0,\r\n border: '1px solid #e5e5e5',\r\n borderRadius: '10px',\r\n backgroundColor: '#fff',\r\n marginTop: '20px'\r\n }}\r\n >\r\n <CardMedia\r\n component='img'\r\n height='290px'\r\n width='290px'\r\n image={item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image'}\r\n sx={{ aspectRatio: '1/1' }}\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n textAlign: side,\r\n '&.MuiCardContent-root:last-child': {\r\n paddingBottom: '8px'\r\n }\r\n }}\r\n >\r\n <Typography\r\n className='title'\r\n sx={{\r\n display: '-webkit-box',\r\n WebkitLineClamp: 1,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'pre-wrap'\r\n }}>\r\n {item.title ? item.title : 'Agrega título'}\r\n </Typography>\r\n <Typography\r\n className='middle'\r\n sx={{\r\n minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 2,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'pre-wrap'\r\n }}>\r\n {item.subtitle ? item.subtitle : 'Agrega subtítulo'}\r\n </Typography>\r\n <Button\r\n variant=\"contained\"\r\n href={item.button_action ? item.button_action : '#'}\r\n target={item.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginTop: '16px' }}\r\n >\r\n {item.button_title ? item.button_title : 'Nombre botón'}\r\n </Button>\r\n </CardContent>\r\n </Card>\r\n </Slide>\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Carousel>\r\n ) : (\r\n <Grid container sx={{ width: '100%', gap: '0px' }}>\r\n <Box sx={{ width: '100%', height: '40px' }}>\r\n <Typography className=\"title-xlarge\">\r\n {title ? title : 'Agregue un título'}\r\n </Typography>\r\n </Box>\r\n {\r\n content.map((item, i) => {\r\n return (\r\n <Grid\r\n item\r\n key={i}\r\n xs={12}\r\n sm={6}\r\n md={4}\r\n lg={3}\r\n sx={{\r\n display: 'flex',\r\n justifyContent: 'center',\r\n gap: '16px'\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Card\r\n sx={{\r\n width: '300px',\r\n maxWidth: 300,\r\n boxShadow: 'none',\r\n borderRadius: 0,\r\n border: '1px solid #e5e5e5',\r\n borderRadius: '10px',\r\n backgroundColor: '#fff',\r\n }}\r\n >\r\n <CardMedia\r\n component='img'\r\n height='300px'\r\n width='300px'\r\n image={item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image'}\r\n sx={{ aspectRatio: '1/1' }}\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n textAlign: side,\r\n '&.MuiCardContent-root:last-child': {\r\n paddingBottom: '8px'\r\n }\r\n }}\r\n >\r\n <Typography\r\n className='title'\r\n sx={{\r\n display: '-webkit-box',\r\n WebkitLineClamp: 1,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'pre-wrap'\r\n }}>\r\n {item.title ? item.title : 'Agrega título'}\r\n </Typography>\r\n <Typography\r\n className='middle'\r\n sx={{\r\n minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 2,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'pre-wrap'\r\n }}>\r\n {item.subtitle ? item.subtitle : 'Agrega subtítulo'}\r\n </Typography>\r\n <Button\r\n variant=\"contained\"\r\n href={item.button_action ? item.button_action : '#'}\r\n target={item.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginTop: '16px' }}\r\n >\r\n {item.button_title ? item.button_title : 'Nombre botón'}\r\n </Button>\r\n </CardContent>\r\n </Card>\r\n </Slide>\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Grid>\r\n )\r\n )\r\n }\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class List extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['list_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'subtitle':'Subtitle',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'sqr',\r\n 'link':'Link'\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n}","import React from \"react\";\r\nimport { Box, Container } from \"@mui/material\";\r\n\r\nexport default function CanvasContainer(props) {\r\n const { json, children } = props\r\n const rgbColor = hexToRgb(json.component.bg_image_overlay_color);\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n alignItems: 'center',\r\n backgroundColor:\r\n json.component.bg_type === 1\r\n ? json.component.bg_color1\r\n : undefined,\r\n backgroundImage:\r\n json.component.bg_type === 2\r\n ? `linear-gradient(to ${json.component.bg_gradiant_orientation}, ${json.component.bg_color1}, ${json.component.bg_color2})`\r\n : json.component.bg_type === 3\r\n ? `url(${json.component.bg_image?.url})`\r\n : undefined,\r\n backgroundPosition: 'center',\r\n backgroundSize: 'cover',\r\n backgroundRepeat: 'no-repeat',\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n bgcolor: `${json.component.bg_image_overlay && json.component.bg_type === 3 ?\r\n `rgba(${rgbColor.r}, ${rgbColor.g}, ${rgbColor.b}, ${json.component.bg_image_overlay_alpha_css})` :\r\n undefined\r\n }`,\r\n padding: '64px 24px',\r\n width: '100%'\r\n }}\r\n >\r\n <Container\r\n maxWidth='xl'\r\n sx={{\r\n padding: '0px',\r\n '&.MuiContainer-root':{\r\n paddingLeft: { xs: '0px', xl: '24px' },\r\n paddingRight: { xs: '0px', xl: '24px' }\r\n }\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n minWidth: { xs: '100%', md: '45%' },\r\n display: 'flex',\r\n justifyContent: {\r\n xs: 'center',\r\n md: json.component.justify_content ? json.component.justify_content : 'center'\r\n }\r\n }}\r\n >\r\n {children}\r\n </Box>\r\n </Container>\r\n </Box>\r\n </Box>\r\n );\r\n}\r\n\r\n\r\nfunction hexToRgb(hex) {\r\n if (hex) {\r\n const cleanHex = hex.startsWith('#') ? hex.slice(1) : hex;\r\n\r\n const r = parseInt(cleanHex.substring(0, 2), 16);\r\n const g = parseInt(cleanHex.substring(2, 4), 16);\r\n const b = parseInt(cleanHex.substring(4, 6), 16);\r\n return { r, g, b };\r\n } else {\r\n return { r: 0, g: 0, b: 0 }\r\n }\r\n}","export const JK_RESOURCES = 'https://jk-clients.s3.us-east-2.amazonaws.com/jk-resources/'","import React from \"react\"\r\nimport { Quotes } from \"./quotes/Component\"\r\nimport { Banner } from \"./banner/Component\"\r\nimport { TextPlusImg } from \"./textPlusImg/Component\"\r\nimport { Gallery } from \"./gallery/Component\"\r\nimport { Text } from \"./text/Component\"\r\nimport { List } from \"./list/Component\"\r\nimport CanvasContainer from \"./canvas/CanvasContainer\"\r\nimport { JK_RESOURCES } from \"./constants\"\r\n// Section is a common class for each component\r\nexport class Section {\r\n constructor(AtomicElement, theme) {\r\n this.child = AtomicElement\r\n }\r\n\r\n component(json) {\r\n console.log('json', json)\r\n return (\r\n <CanvasContainer json={json}>\r\n {/* Child is the instance passed as parameter in section, next class */}\r\n {this.child.build(json, json.component.layout)}\r\n </CanvasContainer>\r\n )\r\n }\r\n\r\n getFootPrint(layout) {\r\n let footPrint = this.child.footprint(layout)\r\n console.log('section', footPrint)\r\n return (\r\n { req: footPrint.req, img: `${JK_RESOURCES}${footPrint.img}` }\r\n )\r\n }\r\n\r\n layoutLength() {\r\n return (\r\n this.child.layoutsLength()\r\n )\r\n }\r\n\r\n}\r\n\r\n//Sections is the interface with admin and store\r\nexport class Sections {\r\n constructor() {\r\n this.banner = new Section(new Banner())\r\n this.quotes = new Section(new Quotes())\r\n this.textPlusImg = new Section(new TextPlusImg())\r\n this.gallery = new Section(new Gallery())\r\n this.text = new Section(new Text())\r\n this.list = new Section(new List())\r\n this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text, this.list]\r\n }\r\n\r\n getSectionList() {\r\n return (\r\n {\r\n '0': 'Banner',\r\n '1': 'Texto + Imágenes',\r\n '2': 'Citas/Testimonios',\r\n '3': 'Galeria',\r\n '4': 'Texto',\r\n '5': 'Lista',\r\n }\r\n )\r\n }\r\n getLayoutsFromSection(index) {\r\n let section = this.sections[index]\r\n return (section)\r\n }\r\n\r\n}"],"names":["AtomicElements","layout","layoutFootprint","layoutFootprintReq","_proto","prototype","layoutsLength","length","build","content","layoutId","footprint","img","req","console","log","Layout1","React","createElement","Carousel","indicators","navButtonsAlwaysInvisible","sx","width","height","component","subcomponent","map","item","i","Item","key","side","justify_content","props","visible","getSideRender","getSideMargin","Box","display","xs","md","justifyContent","margin","textAlign","Slide","direction","flexDirection","color","text_color","alignItems","src","image","url","marginBottom","borderRadius","Typography","className","minHeight","whiteSpace","description","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","_content$component$su","_content$component$su2","_content$component$su3","_content$component$su4","_content$component$su5","_content$component$su6","_content$component$su7","_content$component$su8","_content$component$su9","lg","title","Button","variant","href","button_action","target","link","button_title","Banner","_content$component$su10","_content$component$su11","gap","maxWidth","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","Grid","container","index","aspectRatio","Gallery","Text","padding","_useState","useState","arrayFourElements","setArrayFourElements","theme","useTheme","isXsScreen","useMediaQuery","breakpoints","down","isSmScreen","between","isMdScreen","isLgScreen","up","divideArreglo","arreglo","tamanoMaximo","subarreglos","subarregloActual","push","useEffect","autoPlay","navButtonsAlwaysVisible","navButtonsProps","backgroundColor","navButtonsWrapperProps","top","bottom","paddingTop","left","items","spacing","position","j","_ref","sm","paddingLeft","Card","boxShadow","border","marginTop","CardMedia","CardContent","paddingBottom","WebkitLineClamp","WebkitBoxOrient","overflow","textOverflow","_ref2","List","CanvasContainer","_json$component$bg_im","json","children","rgbColor","hexToRgb","bg_image_overlay_color","bg_type","bg_color1","undefined","backgroundImage","bg_gradiant_orientation","bg_color2","bg_image","backgroundPosition","backgroundSize","backgroundRepeat","bgcolor","bg_image_overlay","r","g","b","bg_image_overlay_alpha_css","Container","xl","paddingRight","minWidth","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","Section","AtomicElement","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","gallery","text","list","sections","_proto2","getSectionList","getLayoutsFromSection","section"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAaA,cAAc;EACvB,SAAAA,iBAAa;IACT,IAAI,CAACC,MAAM,GAAG,EAAE;IAChB,IAAI,CAACC,eAAe,GAAG,EAAE;IACzB,IAAI,CAACC,kBAAkB,GAAG,EAAE;;EAC/B,IAAAC,MAAA,GAAAJ,cAAA,CAAAK,SAAA;EAAAD,MAAA,CAEDE,aAAa,GAAb,SAAAA,gBAAe;IACX,OACI,IAAI,CAACL,MAAM,CAACM,MAAM;GAEzB;EAAAH,MAAA,CAEDI,KAAK,GAAL,SAAAA,MAAMC,OAAO,EAAEC,QAAQ,EAAC;IACpB,OACI,IAAI,CAACT,MAAM,CAACS,QAAQ,CAAC,CAACD,OAAO,CAAC;GAErC;EAAAL,MAAA,CAEDO,SAAS,GAAT,SAAAA,UAAUV,MAAM,EAAC;IACb,IAAIW,GAAG,GAAG,IAAI,CAACV,eAAe,CAACD,MAAM,CAAC;IACtC,IAAIY,GAAG,GAAG,IAAI,CAACV,kBAAkB,CAACF,MAAM,CAAC;IACz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AIP,OAAO,CAAC,IAAIvG,MAAM,EAAE,CAAC;IACvC,IAAI,CAAC+G,MAAM,GAAG,IAAIR,OAAO,CAAC,IAAI9H,MAAM,EAAE,CAAC;IACvC,IAAI,CAACuI,WAAW,GAAG,IAAIT,OAAO,CAAC,IAAI7F,WAAW,EAAE,CAAC;IACjD,IAAI,CAACuG,OAAO,GAAG,IAAIV,OAAO,CAAC,IAAIxF,OAAO,EAAE,CAAC;IACzC,IAAI,CAACmG,IAAI,GAAG,IAAIX,OAAO,CAAC,IAAIvF,IAAI,EAAE,CAAC;IACnC,IAAI,CAACmG,IAAI,GAAG,IAAIZ,OAAO,CAAC,IAAInC,IAAI,EAAE,CAAC;IACnC,IAAI,CAACgD,QAAQ,GAAG,CAAC,IAAI,CAACN,MAAM,EAAE,IAAI,CAACE,WAAW,EAAE,IAAI,CAACD,MAAM,EAAE,IAAI,CAACE,OAAO,EAAE,IAAI,CAACC,IAAI,EAAE,IAAI,CAACC,IAAI,CAAC;;EACjG,IAAAE,OAAA,GAAAR,QAAA,CAAA7L,SAAA;EAAAqM,OAAA,CAEDC,cAAc,GAAd,SAAAA,iBAAiB;IACf,OACE;MACE,GAAG,EAAE,QAAQ;MACb,GAAG,EAAE,kBAAkB;MACvB,GAAG,EAAE,mBAAmB;MACxB,GAAG,EAAE,SAAS;MACd,GAAG,EAAE,OAAO;MACZ,GAAG,EAAE;KACN;GAEJ;EAAAD,OAAA,CACDE,qBAAqB,GAArB,SAAAA,sBAAsB1G,KAAK,EAAE;IAC3B,IAAI2G,OAAO,GAAG,IAAI,CAACJ,QAAQ,CAACvG,KAAK,CAAC;IAClC,OAAQ2G,OAAO;GAChB;EAAA,OAAAX,QAAA;AAAA;;;;"}
@@ -131,13 +131,15 @@ function Item(props) {
131
131
  minHeight: {
132
132
  xs: '270px',
133
133
  md: '90px'
134
- }
134
+ },
135
+ whiteSpace: 'pre-wrap'
135
136
  }
136
137
  }, content.description ? content.description : 'Agregue descripción'), /*#__PURE__*/React.createElement(Typography, {
137
138
  className: "small",
138
139
  sx: {
139
140
  marginBottom: '16px',
140
- textAlign: 'right'
141
+ textAlign: 'right',
142
+ whiteSpace: 'pre-wrap'
141
143
  }
142
144
  }, content.subtitle ? content.subtitle : 'Agregue subtítulo'))));
143
145
  }
@@ -184,12 +186,14 @@ function Layout1$1(content) {
184
186
  }, /*#__PURE__*/React.createElement(Typography, {
185
187
  className: "title-xxlarge",
186
188
  sx: {
187
- marginBottom: '16px'
189
+ marginBottom: '16px',
190
+ whiteSpace: 'pre-wrap'
188
191
  }
189
192
  }, (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.title ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.title : 'Agregue título'), /*#__PURE__*/React.createElement(Typography, {
190
193
  className: "xmiddle",
191
194
  sx: {
192
- marginBottom: '16px'
195
+ marginBottom: '16px',
196
+ whiteSpace: 'pre-wrap'
193
197
  }
194
198
  }, (_content$component$su4 = content.component.subcomponent[0]) !== null && _content$component$su4 !== void 0 && _content$component$su4.description ? (_content$component$su5 = content.component.subcomponent[0]) === null || _content$component$su5 === void 0 ? void 0 : _content$component$su5.description : 'Agregue descripción'), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Button, {
195
199
  variant: "contained",
@@ -269,14 +273,20 @@ function Layout1$2(content) {
269
273
  marginBottom: '16px'
270
274
  }
271
275
  }, /*#__PURE__*/React.createElement(Typography, {
272
- className: "title-xlarge"
276
+ className: "title-xlarge",
277
+ sx: {
278
+ whiteSpace: 'pre-wrap'
279
+ }
273
280
  }, (_content$component$su4 = content.component.subcomponent[0]) !== null && _content$component$su4 !== void 0 && _content$component$su4.title ? (_content$component$su5 = content.component.subcomponent[0]) === null || _content$component$su5 === void 0 ? void 0 : _content$component$su5.title : 'Agregue título')), /*#__PURE__*/React.createElement(Box, {
274
281
  sx: {
275
282
  marginBottom: '16px',
276
283
  color: '#767676'
277
284
  }
278
285
  }, /*#__PURE__*/React.createElement(Typography, {
279
- className: "middle"
286
+ className: "middle",
287
+ sx: {
288
+ whiteSpace: 'pre-wrap'
289
+ }
280
290
  }, (_content$component$su6 = content.component.subcomponent[0]) !== null && _content$component$su6 !== void 0 && _content$component$su6.description ? (_content$component$su7 = content.component.subcomponent[0]) === null || _content$component$su7 === void 0 ? void 0 : _content$component$su7.description : 'Agregue descripción')), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Button, {
281
291
  variant: "contained",
282
292
  href: (_content$component$su8 = content.component.subcomponent[0]) === null || _content$component$su8 === void 0 ? void 0 : _content$component$su8.button_action,
@@ -328,7 +338,8 @@ function Layout1$3(content) {
328
338
  }, /*#__PURE__*/React.createElement(Typography, {
329
339
  className: "title-xlarge",
330
340
  sx: {
331
- margin: '16px auto'
341
+ margin: '16px auto',
342
+ whiteSpace: 'pre-wrap'
332
343
  }
333
344
  }, content.component.title ? content.component.title : 'Agregue un título'), /*#__PURE__*/React.createElement(Grid, {
334
345
  container: true
@@ -387,13 +398,15 @@ function Layout1$4(content) {
387
398
  }, /*#__PURE__*/React.createElement(Typography, {
388
399
  className: "title-xlarge",
389
400
  sx: {
390
- marginBottom: '16px'
401
+ marginBottom: '16px',
402
+ whiteSpace: 'pre-wrap'
391
403
  }
392
404
  }, (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.title ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.title : 'Agregue título'), /*#__PURE__*/React.createElement(Typography, {
393
405
  className: "middle",
394
406
  sx: {
395
407
  marginBottom: '16px',
396
- color: '#767676'
408
+ color: '#767676',
409
+ whiteSpace: 'pre-wrap'
397
410
  }
398
411
  }, (_content$component$su4 = content.component.subcomponent[0]) !== null && _content$component$su4 !== void 0 && _content$component$su4.description ? (_content$component$su5 = content.component.subcomponent[0]) === null || _content$component$su5 === void 0 ? void 0 : _content$component$su5.description : 'Agregue descripción')));
399
412
  }
@@ -419,17 +432,21 @@ function Layout1$5(content) {
419
432
  return /*#__PURE__*/React.createElement(Grid, {
420
433
  container: true,
421
434
  sx: {
422
- height: '550px',
423
- width: '100%'
435
+ minHeight: '550px',
436
+ width: '100%',
437
+ margin: 'auto',
438
+ padding: '8px'
424
439
  }
425
440
  }, /*#__PURE__*/React.createElement(Item$1, {
441
+ title: content.component.title,
426
442
  content: content.component.subcomponent,
427
443
  side: content.component.justify_content
428
444
  }));
429
445
  }
430
446
  function Item$1(props) {
431
447
  var content = props.content,
432
- side = props.side;
448
+ side = props.side,
449
+ title = props.title;
433
450
  var _useState = useState([]),
434
451
  arrayFourElements = _useState[0],
435
452
  setArrayFourElements = _useState[1];
@@ -487,11 +504,10 @@ function Item$1(props) {
487
504
  sx: {
488
505
  width: '100%',
489
506
  height: '520px',
490
- paddingTop: '64px',
507
+ paddingTop: '50px',
491
508
  "& .css-hn784z": {
492
509
  left: {
493
- xs: '60%',
494
- md: '90%'
510
+ xs: 'calc(100% - 120px)'
495
511
  },
496
512
  height: 'auto'
497
513
  },
@@ -508,18 +524,37 @@ function Item$1(props) {
508
524
  margin: 'auto',
509
525
  padding: 'auto'
510
526
  }
511
- }, items.map(function (item, j) {
527
+ }, /*#__PURE__*/React.createElement(Box, {
528
+ sx: {
529
+ position: 'absolute',
530
+ top: '-50px'
531
+ }
532
+ }, /*#__PURE__*/React.createElement(Typography, {
533
+ className: "title-xlarge",
534
+ sx: {
535
+ height: '100%'
536
+ }
537
+ }, title ? title : 'Agregue un título')), items.map(function (item, j) {
512
538
  var _ref;
513
539
  return /*#__PURE__*/React.createElement(Grid, {
514
540
  item: true,
541
+ className: "containerdegrid",
515
542
  key: j,
516
543
  sm: 6,
517
544
  md: 4,
518
545
  lg: 3,
519
546
  sx: {
520
- paddingLeft: '0px',
521
- '& .MuiGrid-item': {
522
- paddingLeft: '0px'
547
+ margin: {
548
+ xs: 'auto',
549
+ sm: '0px'
550
+ },
551
+ width: 'object-fit',
552
+ display: 'flex',
553
+ justifyContent: 'center',
554
+ alignItems: 'center',
555
+ '&.MuiGrid-item': {
556
+ paddingLeft: '0px',
557
+ paddingTop: '0px'
523
558
  }
524
559
  }
525
560
  }, /*#__PURE__*/React.createElement(Slide, {
@@ -527,16 +562,15 @@ function Item$1(props) {
527
562
  "in": visible
528
563
  }, /*#__PURE__*/React.createElement(Card, {
529
564
  sx: (_ref = {
530
- width: '300px',
531
565
  maxWidth: 300,
532
566
  boxShadow: 'none',
533
567
  borderRadius: 0,
534
568
  border: '1px solid #e5e5e5'
535
- }, _ref["borderRadius"] = '10px', _ref.backgroundColor = 'transparent', _ref)
569
+ }, _ref["borderRadius"] = '10px', _ref.backgroundColor = '#fff', _ref.marginTop = '20px', _ref)
536
570
  }, /*#__PURE__*/React.createElement(CardMedia, {
537
571
  component: "img",
538
- height: "300px",
539
- width: "300px",
572
+ height: "290px",
573
+ width: "290px",
540
574
  image: item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image',
541
575
  sx: {
542
576
  aspectRatio: '1/1'
@@ -556,7 +590,8 @@ function Item$1(props) {
556
590
  WebkitLineClamp: 1,
557
591
  WebkitBoxOrient: 'vertical',
558
592
  overflow: 'hidden',
559
- textOverflow: 'ellipsis'
593
+ textOverflow: 'ellipsis',
594
+ whiteSpace: 'pre-wrap'
560
595
  }
561
596
  }, item.title ? item.title : 'Agrega título'), /*#__PURE__*/React.createElement(Typography, {
562
597
  className: "middle",
@@ -566,7 +601,8 @@ function Item$1(props) {
566
601
  WebkitLineClamp: 2,
567
602
  WebkitBoxOrient: 'vertical',
568
603
  overflow: 'hidden',
569
- textOverflow: 'ellipsis'
604
+ textOverflow: 'ellipsis',
605
+ whiteSpace: 'pre-wrap'
570
606
  }
571
607
  }, item.subtitle ? item.subtitle : 'Agrega subtítulo'), /*#__PURE__*/React.createElement(Button, {
572
608
  variant: "contained",
@@ -578,51 +614,60 @@ function Item$1(props) {
578
614
  }
579
615
  }, item.button_title ? item.button_title : 'Nombre botón')))));
580
616
  }));
581
- })) : content.map(function (item, i) {
617
+ })) : /*#__PURE__*/React.createElement(Grid, {
618
+ container: true,
619
+ sx: {
620
+ width: '100%',
621
+ gap: '0px'
622
+ }
623
+ }, /*#__PURE__*/React.createElement(Box, {
624
+ sx: {
625
+ width: '100%',
626
+ height: '40px'
627
+ }
628
+ }, /*#__PURE__*/React.createElement(Typography, {
629
+ className: "title-xlarge"
630
+ }, title ? title : 'Agregue un título')), content.map(function (item, i) {
582
631
  var _ref2;
583
632
  return /*#__PURE__*/React.createElement(Grid, {
584
633
  item: true,
585
634
  key: i,
635
+ xs: 12,
586
636
  sm: 6,
587
637
  md: 4,
588
- lg: 3
638
+ lg: 3,
639
+ sx: {
640
+ display: 'flex',
641
+ justifyContent: 'center',
642
+ gap: '16px'
643
+ }
589
644
  }, /*#__PURE__*/React.createElement(Slide, {
590
645
  direction: "left",
591
646
  "in": visible
592
647
  }, /*#__PURE__*/React.createElement(Card, {
593
648
  sx: (_ref2 = {
594
649
  width: '300px',
595
- maxWidth: 512,
650
+ maxWidth: 300,
596
651
  boxShadow: 'none',
597
652
  borderRadius: 0,
598
653
  border: '1px solid #e5e5e5'
599
- }, _ref2["borderRadius"] = '10px', _ref2)
654
+ }, _ref2["borderRadius"] = '10px', _ref2.backgroundColor = '#fff', _ref2)
600
655
  }, /*#__PURE__*/React.createElement(CardMedia, {
601
656
  component: "img",
602
657
  height: "300px",
603
658
  width: "300px",
659
+ image: item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image',
604
660
  sx: {
605
661
  aspectRatio: '1/1'
606
- },
607
- image: item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image'
662
+ }
608
663
  }), /*#__PURE__*/React.createElement(CardContent, {
609
664
  sx: {
610
665
  padding: '8px 16px',
666
+ textAlign: side,
611
667
  '&.MuiCardContent-root:last-child': {
612
668
  paddingBottom: '8px'
613
669
  }
614
670
  }
615
- }, /*#__PURE__*/React.createElement(Box, {
616
- component: "div",
617
- sx: {
618
- display: 'flex',
619
- justifyContent: 'space-between',
620
- alignItems: 'center'
621
- }
622
- }, /*#__PURE__*/React.createElement(Box, {
623
- sx: {
624
- maxWidth: '80%'
625
- }
626
671
  }, /*#__PURE__*/React.createElement(Typography, {
627
672
  className: "title",
628
673
  sx: {
@@ -630,9 +675,10 @@ function Item$1(props) {
630
675
  WebkitLineClamp: 1,
631
676
  WebkitBoxOrient: 'vertical',
632
677
  overflow: 'hidden',
633
- textOverflow: 'ellipsis'
678
+ textOverflow: 'ellipsis',
679
+ whiteSpace: 'pre-wrap'
634
680
  }
635
- }, item.title ? item.title : 'Agrega título'))), /*#__PURE__*/React.createElement(Typography, {
681
+ }, item.title ? item.title : 'Agrega título'), /*#__PURE__*/React.createElement(Typography, {
636
682
  className: "middle",
637
683
  sx: {
638
684
  minHeight: '54px',
@@ -640,10 +686,19 @@ function Item$1(props) {
640
686
  WebkitLineClamp: 2,
641
687
  WebkitBoxOrient: 'vertical',
642
688
  overflow: 'hidden',
643
- textOverflow: 'ellipsis'
689
+ textOverflow: 'ellipsis',
690
+ whiteSpace: 'pre-wrap'
644
691
  }
645
- }, item.subtitle ? item.subtitle : 'Agrega subtítulo')))));
646
- });
692
+ }, item.subtitle ? item.subtitle : 'Agrega subtítulo'), /*#__PURE__*/React.createElement(Button, {
693
+ variant: "contained",
694
+ href: item.button_action ? item.button_action : '#',
695
+ target: item.link == 4 ? '_blank' : '_self',
696
+ sx: {
697
+ width: 'auto',
698
+ marginTop: '16px'
699
+ }
700
+ }, item.button_title ? item.button_title : 'Nombre botón')))));
701
+ }));
647
702
  }
648
703
  }
649
704
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.modern.js","sources":["../src/atomicElement.js","../src/quotes/elements/layout1.js","../src/quotes/Component.js","../src/banner/elements/layout1.js","../src/banner/Component.js","../src/textPlusImg/elements/layout1.js","../src/textPlusImg/Component.js","../src/gallery/elements/layout1.js","../src/gallery/Component.js","../src/text/elements/layout1.js","../src/text/Component.js","../src/list/elements/layout1.js","../src/list/Component.js","../src/canvas/CanvasContainer.js","../src/constants.js","../src/Section.js"],"sourcesContent":["export class AtomicElements {\r\n constructor(){\r\n this.layout = []\r\n this.layoutFootprint = []\r\n this.layoutFootprintReq = []\r\n }\r\n\r\n layoutsLength(){\r\n return(\r\n this.layout.length\r\n )\r\n }\r\n\r\n build(content, layoutId){\r\n return(\r\n this.layout[layoutId](content)\r\n )\r\n }\r\n\r\n footprint(layout){\r\n let img = this.layoutFootprint[layout]\r\n let req = this.layoutFootprintReq[layout]\r\n console.log('img atomic', img)\r\n return(\r\n {req, img}\r\n )\r\n }\r\n\r\n}\r\n","import React from 'react';\r\nimport Carousel from 'react-material-ui-carousel'\r\nimport { Box, Typography, Slide } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n\r\n return (\r\n <Carousel indicators navButtonsAlwaysInvisible sx={{ width: '100%', height: '100%' }}>\r\n {\r\n content.component.subcomponent.map((item, i) => <Item key={i} content={item} side={content.component.justify_content} />)\r\n }\r\n </Carousel>\r\n )\r\n}\r\n\r\nfunction Item(props) {\r\n const { content, side } = props\r\n const visible = true\r\n\r\n const getSideRender = (side) => {\r\n if (side === 'left') {\r\n return 'flex-start'\r\n } else if (side === 'right') {\r\n return 'flex-end'\r\n } else {\r\n return 'center'\r\n }\r\n }\r\n\r\n const getSideMargin = (side) => {\r\n if (side === 'left') {\r\n return '0px auto 0px 0px'\r\n } else if (side === 'right') {\r\n return '0px 0px 0px auto'\r\n } else {\r\n return 'auto'\r\n }\r\n }\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n width: { xs: '100%', md: '70%' },\r\n justifyContent: getSideRender(side),\r\n margin: getSideMargin(side),\r\n textAlign: side,\r\n height: '100%',\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: 'column',\r\n color: content.text_color,\r\n alignItems: getSideRender(side),\r\n }}\r\n >\r\n <Box\r\n component=\"img\"\r\n src={content.image ? content.image.url : \"https://cdn-icons-png.flaticon.com/512/6596/6596121.png\"}\r\n sx={{ width: '120px', height: '120px', marginBottom: '16px', borderRadius: '50%' }}\r\n />\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', minHeight: {xs: '270px', md: '90px'} }}>\r\n {content.description ?\r\n content.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n <Typography className=\"small\" sx={{ marginBottom: '16px', textAlign: 'right' }}>\r\n {content.subtitle ?\r\n content.subtitle\r\n : 'Agregue subtítulo'}\r\n </Typography>\r\n </Box>\r\n </Slide>\r\n </Box>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Quotes extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['quotes_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'subtitle':'Subtitle',\r\n 'description':'Description',\r\n 'image': 'sqr'\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import { Box, Button, Typography, Slide } from '@mui/material'\r\nimport React from 'react'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: 'column',\r\n width: { xs: '100%', md: '50%' },\r\n height: { xs: '100%', lg: '60vh' },\r\n justifyContent: 'center',\r\n color: content.component.subcomponent[0]?.text_color\r\n }}\r\n >\r\n <Typography className=\"title-xxlarge\" sx={{ marginBottom: '16px' }}>\r\n {content.component.subcomponent[0]?.title ?\r\n content.component.subcomponent[0]?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px' }}>\r\n {content.component.subcomponent[0]?.description ?\r\n content.component.subcomponent[0]?.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n <Box>\r\n <Button\r\n variant='contained'\r\n href={content.component.subcomponent[0]?.button_action}\r\n target={content.component.subcomponent[0]?.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginBottom: '16px' }}\r\n >\r\n {content.component.subcomponent[0]?.button_title ?\r\n content.component.subcomponent[0]?.button_title\r\n : 'Nombre botón'}\r\n </Button>\r\n </Box>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Banner extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n\r\n layout = [Layout1]\r\n layoutFootprint = ['banner_layout_1.jpg']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title': 'Tittle',\r\n 'description': 'Description',\r\n 'button_title': 'Button Title',\r\n 'button_action': 'Button action',\r\n 'text_color': 'Text color',\r\n 'link': 'Link',\r\n // 'name':'Name',\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n // <texinput display={!layout.img} id='Title'>\r\n // <texinput display={!layout.img} id='content'></texinput>\r\n // <texinput display={!layout.img} id='name'></texinput>\r\n //<texinput disable={!layout.img}>\r\n}","import { Box, Button, Typography } from \"@mui/material\"\r\nimport React from \"react\"\r\nimport { Slide } from \"@mui/material\";\r\nimport Grow from '@mui/material/Grow';\r\n\r\nexport default function Layout1(content) {\r\n\r\n const visible = true\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: { xs: 'column', md: content.component.justify_content != 'right' ? 'row' : 'row-reverse' },\r\n gap: '16px',\r\n alignItems: 'center'\r\n }}\r\n color={content.component.subcomponent[0]?.text_color}\r\n >\r\n <Box>\r\n <Slide direction=\"right\" in={visible}>\r\n <Box sx={{ width: { xs: '100%', md: '550px', lg: '640px' }, height: { md: '353px', lg: '426px' }, maxWidth: '100vw' }}>\r\n <img width=\"100%\" height=\"100%\" src={content.component.subcomponent[0]?.image ? content.component.subcomponent[0]?.image.url : 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'}></img>\r\n </Box>\r\n </Slide>\r\n </Box>\r\n <Box>\r\n <Grow\r\n in={visible}\r\n style={{ transformOrigin: '0 0 0' }}\r\n {...(visible ? { timeout: 1000 } : {})}\r\n >\r\n <Box>\r\n <Box sx={{ marginBottom: '16px' }}>\r\n <Typography className=\"title-xlarge\">{content.component.subcomponent[0]?.title ? content.component.subcomponent[0]?.title : 'Agregue título'}</Typography>\r\n </Box>\r\n <Box sx={{ marginBottom: '16px', color: '#767676' }}>\r\n <Typography className=\"middle\">\r\n {content.component.subcomponent[0]?.description ? content.component.subcomponent[0]?.description : 'Agregue descripción'}\r\n </Typography>\r\n </Box>\r\n <Box>\r\n <Button\r\n variant=\"contained\"\r\n href={content.component.subcomponent[0]?.button_action}\r\n target={content.component.subcomponent[0]?.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto' }}\r\n >\r\n {content.component.subcomponent[0]?.button_title ?\r\n content.component.subcomponent[0]?.button_title : 'Nombre botón'}\r\n </Button>\r\n </Box>\r\n </Box>\r\n </Grow>\r\n </Box>\r\n </Box>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class TextPlusImg extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1, Layout1]\r\n layoutFootprint = ['text_image_layout_1.png', 'text_image_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'description':'Text',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'req_hor',\r\n 'link':'Link'\r\n },\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'description':'Text',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'req_hor',\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import React from \"react\"\r\nimport { Box, Typography, Slide, Grid } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box sx={{ width: '100%' }}>\r\n <Typography className=\"title-xlarge\" sx={{ margin: '16px auto' }}>{content.component.title ? content.component.title : 'Agregue un título'}</Typography>\r\n <Grid container>\r\n {content.component.subcomponent?.map((img, index) => (\r\n <Grid key={index} item xs={12} md={4}>\r\n <Box\r\n component=\"img\"\r\n src={\r\n img.image.url ?\r\n img.image.url :\r\n 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'\r\n }\r\n sx={{ \r\n width: { xs: '100%', md: '95%' }, \r\n aspectRatio: '16/9',\r\n marginBottom: '16px',\r\n }}\r\n />\r\n </Grid>\r\n ))}\r\n </Grid>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Gallery extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['gallery_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'image': 'req_hor'\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import React from \"react\"\r\nimport { Box, Typography, Slide } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n width: {xs:'100%', md:'70%'},\r\n color: content.component.subcomponent[0]?.text_color,\r\n textAlign: content.component.justify_content\r\n }}\r\n >\r\n <Typography className=\"title-xlarge\" sx={{ marginBottom: '16px' }}>\r\n {content.component.subcomponent[0]?.title ?\r\n content.component.subcomponent[0]?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"middle\" sx={{ marginBottom: '16px', color: '#767676' }}>\r\n {content.component.subcomponent[0]?.description ?\r\n content.component.subcomponent[0]?.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Text extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['quotes_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title': 'Tittle',\r\n 'description': 'Description',\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n\r\n}","import React, { useState, useEffect } from 'react';\r\nimport Carousel from 'react-material-ui-carousel';\r\nimport { Box, Typography, Slide, Card, CardMedia, CardContent, Grid, useTheme, useMediaQuery, Button } from '@mui/material';\r\n\r\nexport default function Layout1(content) {\r\n\r\n return (\r\n <Grid container sx={{ height: '550px', width: '100%' }}>\r\n <Item content={content.component.subcomponent} side={content.component.justify_content} />\r\n </Grid>\r\n );\r\n}\r\n\r\nfunction Item(props) {\r\n const { content, side } = props;\r\n // console.log(side)\r\n const [arrayFourElements, setArrayFourElements] = useState([]);\r\n const visible = true;\r\n const theme = useTheme();\r\n const isXsScreen = useMediaQuery(theme.breakpoints.down('sm'));\r\n const isSmScreen = useMediaQuery(theme.breakpoints.between('sm', 'md'));\r\n const isMdScreen = useMediaQuery(theme.breakpoints.between('md', 'lg'));\r\n const isLgScreen = useMediaQuery(theme.breakpoints.up('lg'));\r\n\r\n function divideArreglo(arreglo, tamanoMaximo) {\r\n var subarreglos = [];\r\n var subarregloActual = [];\r\n\r\n for (var i = 0; i < arreglo.length; i++) {\r\n subarregloActual.push(arreglo[i]);\r\n\r\n if (subarregloActual.length === tamanoMaximo || i === arreglo.length - 1) {\r\n subarreglos.push(subarregloActual);\r\n subarregloActual = [];\r\n }\r\n }\r\n\r\n return subarreglos;\r\n }\r\n\r\n useEffect(() => {\r\n let tamanoMaximo;\r\n\r\n if (isSmScreen) {\r\n tamanoMaximo = 2;\r\n } else if (isMdScreen) {\r\n tamanoMaximo = 3;\r\n } else if (isLgScreen) {\r\n tamanoMaximo = 4;\r\n } else if (isXsScreen) {\r\n tamanoMaximo = 1;\r\n }\r\n\r\n setArrayFourElements(divideArreglo(content, tamanoMaximo));\r\n }, [isXsScreen, isSmScreen, isMdScreen, isLgScreen, content]);\r\n\r\n if (!arrayFourElements) {\r\n return null\r\n } else {\r\n return (\r\n content.length > 4 ? (\r\n <Carousel\r\n autoPlay={false}\r\n indicators={false}\r\n navButtonsAlwaysVisible={true}\r\n navButtonsProps={{\r\n style: {\r\n backgroundColor: 'transparent',\r\n borderRadius: 0,\r\n color: '#767676'\r\n }\r\n }}\r\n navButtonsWrapperProps={{\r\n style: {\r\n top: '0',\r\n bottom: 'unset'\r\n }\r\n }}\r\n sx={{\r\n width: '100%',\r\n height: '520px',\r\n paddingTop: '64px',\r\n /* Left button */\r\n \"& .css-hn784z\": {\r\n left: { xs: '60%', md: '90%' },\r\n height: 'auto',\r\n },\r\n \"& .css-1abc02a\": {\r\n height: 'auto',\r\n },\r\n }}\r\n >\r\n {\r\n arrayFourElements.map((items, i) => {\r\n return (\r\n <Grid container key={i} spacing={3} sx={{ margin: 'auto', padding: 'auto' }}>\r\n {\r\n items.map((item, j) => {\r\n return (\r\n <Grid\r\n item\r\n key={j}\r\n sm={6}\r\n md={4}\r\n lg={3}\r\n sx={{\r\n paddingLeft: '0px',\r\n '& .MuiGrid-item': {\r\n paddingLeft: '0px',\r\n }\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Card\r\n sx={{\r\n width: '300px',\r\n maxWidth: 300,\r\n boxShadow: 'none',\r\n borderRadius: 0,\r\n border: '1px solid #e5e5e5',\r\n borderRadius: '10px',\r\n backgroundColor: 'transparent',\r\n }}\r\n >\r\n <CardMedia\r\n component='img'\r\n height='300px'\r\n width='300px'\r\n image={item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image'}\r\n sx={{ aspectRatio: '1/1' }}\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n textAlign: side,\r\n '&.MuiCardContent-root:last-child': {\r\n paddingBottom: '8px'\r\n }\r\n }}\r\n >\r\n <Typography\r\n className='title'\r\n sx={{\r\n display: '-webkit-box',\r\n WebkitLineClamp: 1,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }}>\r\n {item.title ? item.title : 'Agrega título'}\r\n </Typography>\r\n <Typography\r\n className='middle'\r\n sx={{\r\n minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 2,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }}>\r\n {item.subtitle ? item.subtitle : 'Agrega subtítulo'}\r\n </Typography>\r\n <Button\r\n variant=\"contained\"\r\n href={item.button_action ? item.button_action : '#'}\r\n target={item.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginTop: '16px' }}\r\n >\r\n {item.button_title ? item.button_title : 'Nombre botón'}\r\n </Button>\r\n </CardContent>\r\n </Card>\r\n </Slide>\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Carousel> \r\n ) : (\r\n content.map((item, i) => {\r\n return (\r\n <Grid item key={i} sm={6} md={4} lg={3}>\r\n <Slide direction=\"left\" in={visible}>\r\n <Card\r\n sx={{\r\n width: '300px',\r\n maxWidth: 512,\r\n boxShadow: 'none',\r\n borderRadius: 0,\r\n border: '1px solid #e5e5e5',\r\n borderRadius: '10px',\r\n }}\r\n >\r\n <CardMedia\r\n component='img'\r\n height='300px'\r\n width='300px'\r\n sx={{ aspectRatio: '1/1' }}\r\n image={item.image.url ?\r\n item.image.url :\r\n 'https://via.placeholder.com/300x300.png?text=No+Image'}\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n '&.MuiCardContent-root:last-child': {\r\n paddingBottom: '8px'\r\n }\r\n }}\r\n >\r\n <Box\r\n component='div'\r\n sx={{\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n alignItems: 'center'\r\n }}\r\n >\r\n <Box sx={{ maxWidth: '80%' }} >\r\n <Typography\r\n className='title'\r\n sx={{\r\n // minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 1,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }}>\r\n {item.title ? item.title : 'Agrega título'}\r\n </Typography>\r\n </Box>\r\n </Box>\r\n <Typography\r\n className='middle'\r\n sx={{\r\n minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 2,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }}>\r\n {item.subtitle ? item.subtitle : 'Agrega subtítulo'}\r\n </Typography>\r\n </CardContent>\r\n </Card>\r\n </Slide>\r\n </Grid>\r\n )\r\n })\r\n )\r\n )\r\n }\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class List extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['list_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'subtitle':'Subtitle',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'sqr',\r\n 'link':'Link'\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n}","import React from \"react\";\r\nimport { Box, Container } from \"@mui/material\";\r\n\r\nexport default function CanvasContainer(props) {\r\n const { json, children } = props\r\n const rgbColor = hexToRgb(json.component.bg_image_overlay_color);\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n alignItems: 'center',\r\n backgroundColor:\r\n json.component.bg_type === 1\r\n ? json.component.bg_color1\r\n : undefined,\r\n backgroundImage:\r\n json.component.bg_type === 2\r\n ? `linear-gradient(to ${json.component.bg_gradiant_orientation}, ${json.component.bg_color1}, ${json.component.bg_color2})`\r\n : json.component.bg_type === 3\r\n ? `url(${json.component.bg_image?.url})`\r\n : undefined,\r\n backgroundPosition: 'center',\r\n backgroundSize: 'cover',\r\n backgroundRepeat: 'no-repeat',\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n bgcolor: `${json.component.bg_image_overlay && json.component.bg_type === 3 ?\r\n `rgba(${rgbColor.r}, ${rgbColor.g}, ${rgbColor.b}, ${json.component.bg_image_overlay_alpha_css})` :\r\n undefined\r\n }`,\r\n padding: '64px 24px',\r\n width: '100%'\r\n }}\r\n >\r\n <Container\r\n maxWidth='xl'\r\n sx={{\r\n padding: '0px',\r\n '&.MuiContainer-root':{\r\n paddingLeft: { xs: '0px', xl: '24px' },\r\n paddingRight: { xs: '0px', xl: '24px' }\r\n }\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n minWidth: { xs: '100%', md: '45%' },\r\n display: 'flex',\r\n justifyContent: {\r\n xs: 'center',\r\n md: json.component.justify_content ? json.component.justify_content : 'center'\r\n }\r\n }}\r\n >\r\n {children}\r\n </Box>\r\n </Container>\r\n </Box>\r\n </Box>\r\n );\r\n}\r\n\r\n\r\nfunction hexToRgb(hex) {\r\n if (hex) {\r\n const cleanHex = hex.startsWith('#') ? hex.slice(1) : hex;\r\n\r\n const r = parseInt(cleanHex.substring(0, 2), 16);\r\n const g = parseInt(cleanHex.substring(2, 4), 16);\r\n const b = parseInt(cleanHex.substring(4, 6), 16);\r\n return { r, g, b };\r\n } else {\r\n return { r: 0, g: 0, b: 0 }\r\n }\r\n}","export const JK_RESOURCES = 'https://jk-clients.s3.us-east-2.amazonaws.com/jk-resources/'","import React from \"react\"\r\nimport { Quotes } from \"./quotes/Component\"\r\nimport { Banner } from \"./banner/Component\"\r\nimport { TextPlusImg } from \"./textPlusImg/Component\"\r\nimport { Gallery } from \"./gallery/Component\"\r\nimport { Text } from \"./text/Component\"\r\nimport { List } from \"./list/Component\"\r\nimport CanvasContainer from \"./canvas/CanvasContainer\"\r\nimport { JK_RESOURCES } from \"./constants\"\r\n// Section is a common class for each component\r\nexport class Section {\r\n constructor(AtomicElement, theme) {\r\n this.child = AtomicElement\r\n }\r\n\r\n component(json) {\r\n console.log('json', json)\r\n return (\r\n <CanvasContainer json={json}>\r\n {/* Child is the instance passed as parameter in section, next class */}\r\n {this.child.build(json, json.component.layout)}\r\n </CanvasContainer>\r\n )\r\n }\r\n\r\n getFootPrint(layout) {\r\n let footPrint = this.child.footprint(layout)\r\n console.log('section', footPrint)\r\n return (\r\n { req: footPrint.req, img: `${JK_RESOURCES}${footPrint.img}` }\r\n )\r\n }\r\n\r\n layoutLength() {\r\n return (\r\n this.child.layoutsLength()\r\n )\r\n }\r\n\r\n}\r\n\r\n//Sections is the interface with admin and store\r\nexport class Sections {\r\n constructor() {\r\n this.banner = new Section(new Banner())\r\n this.quotes = new Section(new Quotes())\r\n this.textPlusImg = new Section(new TextPlusImg())\r\n this.gallery = new Section(new Gallery())\r\n this.text = new Section(new Text())\r\n this.list = new Section(new List())\r\n this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text, this.list]\r\n }\r\n\r\n getSectionList() {\r\n return (\r\n {\r\n '0': 'Banner',\r\n '1': 'Texto + Imágenes',\r\n '2': 'Citas/Testimonios',\r\n '3': 'Galeria',\r\n '4': 'Texto',\r\n '5': 'Lista',\r\n }\r\n )\r\n }\r\n getLayoutsFromSection(index) {\r\n let section = this.sections[index]\r\n return (section)\r\n }\r\n\r\n}"],"names":["AtomicElements","layout","layoutFootprint","layoutFootprintReq","_proto","prototype","layoutsLength","length","build","content","layoutId","footprint","img","req","console","log","Layout1","React","createElement","Carousel","indicators","navButtonsAlwaysInvisible","sx","width","height","component","subcomponent","map","item","i","Item","key","side","justify_content","props","visible","getSideRender","getSideMargin","Box","display","xs","md","justifyContent","margin","textAlign","Slide","direction","flexDirection","color","text_color","alignItems","src","image","url","marginBottom","borderRadius","Typography","className","minHeight","description","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","_content$component$su","_content$component$su2","_content$component$su3","_content$component$su4","_content$component$su5","_content$component$su6","_content$component$su7","_content$component$su8","_content$component$su9","lg","title","Button","variant","href","button_action","target","link","button_title","Banner","_content$component$su10","_content$component$su11","gap","maxWidth","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","Grid","container","index","aspectRatio","Gallery","Text","_useState","useState","arrayFourElements","setArrayFourElements","theme","useTheme","isXsScreen","useMediaQuery","breakpoints","down","isSmScreen","between","isMdScreen","isLgScreen","up","divideArreglo","arreglo","tamanoMaximo","subarreglos","subarregloActual","push","useEffect","autoPlay","navButtonsAlwaysVisible","navButtonsProps","backgroundColor","navButtonsWrapperProps","top","bottom","paddingTop","left","items","spacing","padding","j","_ref","sm","paddingLeft","Card","boxShadow","border","CardMedia","CardContent","paddingBottom","WebkitLineClamp","WebkitBoxOrient","overflow","textOverflow","marginTop","_ref2","List","CanvasContainer","_json$component$bg_im","json","children","rgbColor","hexToRgb","bg_image_overlay_color","bg_type","bg_color1","undefined","backgroundImage","bg_gradiant_orientation","bg_color2","bg_image","backgroundPosition","backgroundSize","backgroundRepeat","bgcolor","bg_image_overlay","r","g","b","bg_image_overlay_alpha_css","Container","xl","paddingRight","minWidth","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","Section","AtomicElement","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","gallery","text","list","sections","_proto2","getSectionList","getLayoutsFromSection","section"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAaA,cAAc;EACvB,SAAAA,iBAAa;IACT,IAAI,CAACC,MAAM,GAAG,EAAE;IAChB,IAAI,CAACC,eAAe,GAAG,EAAE;IACzB,IAAI,CAACC,kBAAkB,GAAG,EAAE;;EAC/B,IAAAC,MAAA,GAAAJ,cAAA,CAAAK,SAAA;EAAAD,MAAA,CAEDE,aAAa,GAAb,SAAAA,gBAAe;IACX,OACI,IAAI,CAACL,MAAM,CAACM,MAAM;GAEzB;EAAAH,MAAA,CAEDI,KAAK,GAAL,SAAAA,MAAMC,OAAO,EAAEC,QAAQ,EAAC;IACpB,OACI,IAAI,CAACT,MAAM,CAACS,QAAQ,CAAC,CAACD,OAAO,CAAC;GAErC;EAAAL,MAAA,CAEDO,SAAS,GAAT,SAAAA,UAAUV,MAAM,EAAC;IACb,IAAIW,GAAG,GAAG,IAAI,CAACV,eAAe,CAACD,MAAM,CAAC;IACtC,IAAIY,GAAG,GAAG,IAAI,CAACV,kBAAkB,CAACF,MAAM,CAAC;IACzCa,OAAO,CAACC,GAAG,CAAC,YAAY,EAAEH,GAAG,CAAC;IAC9B,OACI;MAACC,GAAG,EAAHA,GAAG;MAAED,GAAG,EAAHA;KAAI;GAEjB;EAAA,OAAAZ,cAAA;AAAA;;ACtBU,SAASgB,OAAOA,CAACP,OAAO,EAAE;EAEvC,oBACEQ,KAAA,CAAAC,aAAA,CAACC,QAAQ;IAACC,UAAU;IAACC,yBAAyB;IAACC,EAAE,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;;KAExEf,OAAO,CAACgB,SAAS,CAACC,YAAY,CAACC,GAAG,CAAC,UAACC,IAAI,EAAEC,CAAC;IAAA,oBAAKZ,KAAA,CAAAC,aAAA,CAACY,IAAI;MAACC,G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KAAK,EAAE;IAC3B,IAAI0G,OAAO,GAAG,IAAI,CAACJ,QAAQ,CAACtG,KAAK,CAAC;IAClC,OAAQ0G,OAAO;GAChB;EAAA,OAAAX,QAAA;AAAA;;;;"}
1
+ {"version":3,"file":"index.modern.js","sources":["../src/atomicElement.js","../src/quotes/elements/layout1.js","../src/quotes/Component.js","../src/banner/elements/layout1.js","../src/banner/Component.js","../src/textPlusImg/elements/layout1.js","../src/textPlusImg/Component.js","../src/gallery/elements/layout1.js","../src/gallery/Component.js","../src/text/elements/layout1.js","../src/text/Component.js","../src/list/elements/layout1.js","../src/list/Component.js","../src/canvas/CanvasContainer.js","../src/constants.js","../src/Section.js"],"sourcesContent":["export class AtomicElements {\r\n constructor(){\r\n this.layout = []\r\n this.layoutFootprint = []\r\n this.layoutFootprintReq = []\r\n }\r\n\r\n layoutsLength(){\r\n return(\r\n this.layout.length\r\n )\r\n }\r\n\r\n build(content, layoutId){\r\n return(\r\n this.layout[layoutId](content)\r\n )\r\n }\r\n\r\n footprint(layout){\r\n let img = this.layoutFootprint[layout]\r\n let req = this.layoutFootprintReq[layout]\r\n console.log('img atomic', img)\r\n return(\r\n {req, img}\r\n )\r\n }\r\n\r\n}\r\n","import React from 'react';\r\nimport Carousel from 'react-material-ui-carousel'\r\nimport { Box, Typography, Slide } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n\r\n return (\r\n <Carousel indicators navButtonsAlwaysInvisible sx={{ width: '100%', height: '100%' }}>\r\n {\r\n content.component.subcomponent.map((item, i) => <Item key={i} content={item} side={content.component.justify_content} />)\r\n }\r\n </Carousel>\r\n )\r\n}\r\n\r\nfunction Item(props) {\r\n const { content, side } = props\r\n const visible = true\r\n\r\n const getSideRender = (side) => {\r\n if (side === 'left') {\r\n return 'flex-start'\r\n } else if (side === 'right') {\r\n return 'flex-end'\r\n } else {\r\n return 'center'\r\n }\r\n }\r\n\r\n const getSideMargin = (side) => {\r\n if (side === 'left') {\r\n return '0px auto 0px 0px'\r\n } else if (side === 'right') {\r\n return '0px 0px 0px auto'\r\n } else {\r\n return 'auto'\r\n }\r\n }\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n width: { xs: '100%', md: '70%' },\r\n justifyContent: getSideRender(side),\r\n margin: getSideMargin(side),\r\n textAlign: side,\r\n height: '100%',\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: 'column',\r\n color: content.text_color,\r\n alignItems: getSideRender(side),\r\n }}\r\n >\r\n <Box\r\n component=\"img\"\r\n src={content.image ? content.image.url : \"https://cdn-icons-png.flaticon.com/512/6596/6596121.png\"}\r\n sx={{ width: '120px', height: '120px', marginBottom: '16px', borderRadius: '50%' }}\r\n />\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', minHeight: {xs: '270px', md: '90px'}, whiteSpace: 'pre-wrap' }}>\r\n {content.description ?\r\n content.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n <Typography className=\"small\" sx={{ marginBottom: '16px', textAlign: 'right', whiteSpace: 'pre-wrap' }}>\r\n {content.subtitle ?\r\n content.subtitle\r\n : 'Agregue subtítulo'}\r\n </Typography>\r\n </Box>\r\n </Slide>\r\n </Box>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Quotes extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['quotes_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'subtitle':'Subtitle',\r\n 'description':'Description',\r\n 'image': 'sqr'\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import { Box, Button, Typography, Slide } from '@mui/material'\r\nimport React from 'react'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: 'column',\r\n width: { xs: '100%', md: '50%' },\r\n height: { xs: '100%', lg: '60vh' },\r\n justifyContent: 'center',\r\n color: content.component.subcomponent[0]?.text_color\r\n }}\r\n >\r\n <Typography className=\"title-xxlarge\" sx={{ marginBottom: '16px', whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.title ?\r\n content.component.subcomponent[0]?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.description ?\r\n content.component.subcomponent[0]?.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n <Box>\r\n <Button\r\n variant='contained'\r\n href={content.component.subcomponent[0]?.button_action}\r\n target={content.component.subcomponent[0]?.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginBottom: '16px' }}\r\n >\r\n {content.component.subcomponent[0]?.button_title ?\r\n content.component.subcomponent[0]?.button_title\r\n : 'Nombre botón'}\r\n </Button>\r\n </Box>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Banner extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n\r\n layout = [Layout1]\r\n layoutFootprint = ['banner_layout_1.jpg']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title': 'Tittle',\r\n 'description': 'Description',\r\n 'button_title': 'Button Title',\r\n 'button_action': 'Button action',\r\n 'text_color': 'Text color',\r\n 'link': 'Link',\r\n // 'name':'Name',\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n // <texinput display={!layout.img} id='Title'>\r\n // <texinput display={!layout.img} id='content'></texinput>\r\n // <texinput display={!layout.img} id='name'></texinput>\r\n //<texinput disable={!layout.img}>\r\n}","import { Box, Button, Typography } from \"@mui/material\"\r\nimport React from \"react\"\r\nimport { Slide } from \"@mui/material\";\r\nimport Grow from '@mui/material/Grow';\r\n\r\nexport default function Layout1(content) {\r\n\r\n const visible = true\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n flexDirection: { xs: 'column', md: content.component.justify_content != 'right' ? 'row' : 'row-reverse' },\r\n gap: '16px',\r\n alignItems: 'center'\r\n }}\r\n color={content.component.subcomponent[0]?.text_color}\r\n >\r\n <Box>\r\n <Slide direction=\"right\" in={visible}>\r\n <Box sx={{ width: { xs: '100%', md: '550px', lg: '640px' }, height: { md: '353px', lg: '426px' }, maxWidth: '100vw' }}>\r\n <img width=\"100%\" height=\"100%\" src={content.component.subcomponent[0]?.image ? content.component.subcomponent[0]?.image.url : 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'}></img>\r\n </Box>\r\n </Slide>\r\n </Box>\r\n <Box>\r\n <Grow\r\n in={visible}\r\n style={{ transformOrigin: '0 0 0' }}\r\n {...(visible ? { timeout: 1000 } : {})}\r\n >\r\n <Box>\r\n <Box sx={{ marginBottom: '16px' }}>\r\n <Typography className=\"title-xlarge\" sx={{ whiteSpace: 'pre-wrap' }}>{content.component.subcomponent[0]?.title ? content.component.subcomponent[0]?.title : 'Agregue título'}</Typography>\r\n </Box>\r\n <Box sx={{ marginBottom: '16px', color: '#767676' }}>\r\n <Typography className=\"middle\" sx={{ whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.description ? content.component.subcomponent[0]?.description : 'Agregue descripción'}\r\n </Typography>\r\n </Box>\r\n <Box>\r\n <Button\r\n variant=\"contained\"\r\n href={content.component.subcomponent[0]?.button_action}\r\n target={content.component.subcomponent[0]?.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto' }}\r\n >\r\n {content.component.subcomponent[0]?.button_title ?\r\n content.component.subcomponent[0]?.button_title : 'Nombre botón'}\r\n </Button>\r\n </Box>\r\n </Box>\r\n </Grow>\r\n </Box>\r\n </Box>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class TextPlusImg extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1, Layout1]\r\n layoutFootprint = ['text_image_layout_1.png', 'text_image_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'description':'Text',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'req_hor',\r\n 'link':'Link'\r\n },\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'description':'Text',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'req_hor',\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import React from \"react\"\r\nimport { Box, Typography, Slide, Grid } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box sx={{ width: '100%' }}>\r\n <Typography className=\"title-xlarge\" sx={{ margin: '16px auto', whiteSpace: 'pre-wrap' }}>{content.component.title ? content.component.title : 'Agregue un título'}</Typography>\r\n <Grid container>\r\n {content.component.subcomponent?.map((img, index) => (\r\n <Grid key={index} item xs={12} md={4}>\r\n <Box\r\n component=\"img\"\r\n src={\r\n img.image.url ?\r\n img.image.url :\r\n 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'\r\n }\r\n sx={{ \r\n width: { xs: '100%', md: '95%' }, \r\n aspectRatio: '16/9',\r\n marginBottom: '16px',\r\n }}\r\n />\r\n </Grid>\r\n ))}\r\n </Grid>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Gallery extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['gallery_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'image': 'req_hor'\r\n },\r\n\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n \r\n}","import React from \"react\"\r\nimport { Box, Typography, Slide } from '@mui/material'\r\n\r\nexport default function Layout1(content) {\r\n const visible = true\r\n\r\n return (\r\n <Slide direction=\"left\" in={visible}>\r\n <Box\r\n sx={{\r\n width: {xs:'100%', md:'70%'},\r\n color: content.component.subcomponent[0]?.text_color,\r\n textAlign: content.component.justify_content\r\n }}\r\n >\r\n <Typography className=\"title-xlarge\" sx={{ marginBottom: '16px', whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.title ?\r\n content.component.subcomponent[0]?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"middle\" sx={{ marginBottom: '16px', color: '#767676', whiteSpace: 'pre-wrap' }}>\r\n {content.component.subcomponent[0]?.description ?\r\n content.component.subcomponent[0]?.description\r\n : 'Agregue descripción'}\r\n </Typography>\r\n </Box>\r\n </Slide>\r\n )\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class Text extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['quotes_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 0,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title': 'Tittle',\r\n 'description': 'Description',\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n\r\n}","import React, { useState, useEffect } from 'react';\r\nimport Carousel from 'react-material-ui-carousel';\r\nimport { Box, Typography, Slide, Card, CardMedia, CardContent, Grid, useTheme, useMediaQuery, Button } from '@mui/material';\r\n\r\nexport default function Layout1(content) {\r\n\r\n return (\r\n <Grid container sx={{ minHeight: '550px', width: '100%', margin: 'auto', padding: '8px' }}>\r\n <Item title={content.component.title} content={content.component.subcomponent} side={content.component.justify_content} />\r\n </Grid>\r\n );\r\n}\r\n\r\nfunction Item(props) {\r\n const { content, side, title } = props;\r\n const [arrayFourElements, setArrayFourElements] = useState([]);\r\n const visible = true;\r\n const theme = useTheme();\r\n const isXsScreen = useMediaQuery(theme.breakpoints.down('sm'));\r\n const isSmScreen = useMediaQuery(theme.breakpoints.between('sm', 'md'));\r\n const isMdScreen = useMediaQuery(theme.breakpoints.between('md', 'lg'));\r\n const isLgScreen = useMediaQuery(theme.breakpoints.up('lg'));\r\n\r\n function divideArreglo(arreglo, tamanoMaximo) {\r\n var subarreglos = [];\r\n var subarregloActual = [];\r\n\r\n for (var i = 0; i < arreglo.length; i++) {\r\n subarregloActual.push(arreglo[i]);\r\n\r\n if (subarregloActual.length === tamanoMaximo || i === arreglo.length - 1) {\r\n subarreglos.push(subarregloActual);\r\n subarregloActual = [];\r\n }\r\n }\r\n\r\n return subarreglos;\r\n }\r\n\r\n useEffect(() => {\r\n let tamanoMaximo;\r\n\r\n if (isSmScreen) {\r\n tamanoMaximo = 2;\r\n } else if (isMdScreen) {\r\n tamanoMaximo = 3;\r\n } else if (isLgScreen) {\r\n tamanoMaximo = 4;\r\n } else if (isXsScreen) {\r\n tamanoMaximo = 1;\r\n }\r\n\r\n setArrayFourElements(divideArreglo(content, tamanoMaximo));\r\n }, [isXsScreen, isSmScreen, isMdScreen, isLgScreen, content]);\r\n\r\n if (!arrayFourElements) {\r\n return null\r\n } else {\r\n return (\r\n content.length > 4 ? (\r\n <Carousel\r\n autoPlay={false}\r\n indicators={false}\r\n navButtonsAlwaysVisible={true}\r\n navButtonsProps={{\r\n style: {\r\n backgroundColor: 'transparent',\r\n borderRadius: 0,\r\n color: '#767676'\r\n }\r\n }}\r\n navButtonsWrapperProps={{\r\n style: {\r\n top: '0',\r\n bottom: 'unset'\r\n }\r\n }}\r\n sx={{\r\n width: '100%',\r\n height: '520px',\r\n paddingTop: '50px',\r\n /* Left button */\r\n \"& .css-hn784z\": {\r\n left: { xs: 'calc(100% - 120px)' },\r\n height: 'auto',\r\n },\r\n \"& .css-1abc02a\": {\r\n height: 'auto',\r\n },\r\n }}\r\n >\r\n {\r\n arrayFourElements.map((items, i) => {\r\n return (\r\n <Grid container key={i} spacing={3} sx={{ margin: 'auto', padding: 'auto' }}>\r\n <Box sx={{ position: 'absolute', top: '-50px' }}>\r\n <Typography className=\"title-xlarge\" sx={{ height: '100%' }}>\r\n {title ? title : 'Agregue un título'}\r\n </Typography>\r\n </Box>\r\n {\r\n items.map((item, j) => {\r\n return (\r\n <Grid\r\n item\r\n className=\"containerdegrid\"\r\n key={j}\r\n sm={6}\r\n md={4}\r\n lg={3}\r\n sx={{\r\n margin: { xs: 'auto', sm: '0px' },\r\n width: 'object-fit',\r\n display: 'flex',\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n '&.MuiGrid-item': {\r\n paddingLeft: '0px',\r\n paddingTop: '0px',\r\n }\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Card\r\n sx={{\r\n // width: '300px',\r\n maxWidth: 300,\r\n boxShadow: 'none',\r\n borderRadius: 0,\r\n border: '1px solid #e5e5e5',\r\n borderRadius: '10px',\r\n backgroundColor: '#fff',\r\n marginTop: '20px'\r\n }}\r\n >\r\n <CardMedia\r\n component='img'\r\n height='290px'\r\n width='290px'\r\n image={item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image'}\r\n sx={{ aspectRatio: '1/1' }}\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n textAlign: side,\r\n '&.MuiCardContent-root:last-child': {\r\n paddingBottom: '8px'\r\n }\r\n }}\r\n >\r\n <Typography\r\n className='title'\r\n sx={{\r\n display: '-webkit-box',\r\n WebkitLineClamp: 1,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'pre-wrap'\r\n }}>\r\n {item.title ? item.title : 'Agrega título'}\r\n </Typography>\r\n <Typography\r\n className='middle'\r\n sx={{\r\n minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 2,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'pre-wrap'\r\n }}>\r\n {item.subtitle ? item.subtitle : 'Agrega subtítulo'}\r\n </Typography>\r\n <Button\r\n variant=\"contained\"\r\n href={item.button_action ? item.button_action : '#'}\r\n target={item.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginTop: '16px' }}\r\n >\r\n {item.button_title ? item.button_title : 'Nombre botón'}\r\n </Button>\r\n </CardContent>\r\n </Card>\r\n </Slide>\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Carousel>\r\n ) : (\r\n <Grid container sx={{ width: '100%', gap: '0px' }}>\r\n <Box sx={{ width: '100%', height: '40px' }}>\r\n <Typography className=\"title-xlarge\">\r\n {title ? title : 'Agregue un título'}\r\n </Typography>\r\n </Box>\r\n {\r\n content.map((item, i) => {\r\n return (\r\n <Grid\r\n item\r\n key={i}\r\n xs={12}\r\n sm={6}\r\n md={4}\r\n lg={3}\r\n sx={{\r\n display: 'flex',\r\n justifyContent: 'center',\r\n gap: '16px'\r\n }}\r\n >\r\n <Slide direction=\"left\" in={visible}>\r\n <Card\r\n sx={{\r\n width: '300px',\r\n maxWidth: 300,\r\n boxShadow: 'none',\r\n borderRadius: 0,\r\n border: '1px solid #e5e5e5',\r\n borderRadius: '10px',\r\n backgroundColor: '#fff',\r\n }}\r\n >\r\n <CardMedia\r\n component='img'\r\n height='300px'\r\n width='300px'\r\n image={item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image'}\r\n sx={{ aspectRatio: '1/1' }}\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n textAlign: side,\r\n '&.MuiCardContent-root:last-child': {\r\n paddingBottom: '8px'\r\n }\r\n }}\r\n >\r\n <Typography\r\n className='title'\r\n sx={{\r\n display: '-webkit-box',\r\n WebkitLineClamp: 1,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'pre-wrap'\r\n }}>\r\n {item.title ? item.title : 'Agrega título'}\r\n </Typography>\r\n <Typography\r\n className='middle'\r\n sx={{\r\n minHeight: '54px',\r\n display: '-webkit-box',\r\n WebkitLineClamp: 2,\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'pre-wrap'\r\n }}>\r\n {item.subtitle ? item.subtitle : 'Agrega subtítulo'}\r\n </Typography>\r\n <Button\r\n variant=\"contained\"\r\n href={item.button_action ? item.button_action : '#'}\r\n target={item.link == 4 ? '_blank' : '_self'}\r\n sx={{ width: 'auto', marginTop: '16px' }}\r\n >\r\n {item.button_title ? item.button_title : 'Nombre botón'}\r\n </Button>\r\n </CardContent>\r\n </Card>\r\n </Slide>\r\n </Grid>\r\n )\r\n })\r\n }\r\n </Grid>\r\n )\r\n )\r\n }\r\n}","import { AtomicElements } from \"../atomicElement\"\r\nimport Layout1 from './elements/layout1'\r\n\r\nexport class List extends AtomicElements {\r\n constructor() {\r\n super()\r\n }\r\n layout = [Layout1]\r\n layoutFootprint = ['list_layout_1.png']\r\n layoutFootprintReq = [\r\n {\r\n 'type': 1,// all reqs should have this, 0 single elemet | 1 more than one. E.G Carousel or single element\r\n 'title':'Title',\r\n 'subtitle':'Subtitle',\r\n 'button_title':'Button Title',\r\n 'button_action':'Button Action',\r\n 'image':'sqr',\r\n 'link':'Link'\r\n },\r\n ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n}","import React from \"react\";\r\nimport { Box, Container } from \"@mui/material\";\r\n\r\nexport default function CanvasContainer(props) {\r\n const { json, children } = props\r\n const rgbColor = hexToRgb(json.component.bg_image_overlay_color);\r\n\r\n return (\r\n <Box\r\n sx={{\r\n display: 'flex',\r\n alignItems: 'center',\r\n backgroundColor:\r\n json.component.bg_type === 1\r\n ? json.component.bg_color1\r\n : undefined,\r\n backgroundImage:\r\n json.component.bg_type === 2\r\n ? `linear-gradient(to ${json.component.bg_gradiant_orientation}, ${json.component.bg_color1}, ${json.component.bg_color2})`\r\n : json.component.bg_type === 3\r\n ? `url(${json.component.bg_image?.url})`\r\n : undefined,\r\n backgroundPosition: 'center',\r\n backgroundSize: 'cover',\r\n backgroundRepeat: 'no-repeat',\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n bgcolor: `${json.component.bg_image_overlay && json.component.bg_type === 3 ?\r\n `rgba(${rgbColor.r}, ${rgbColor.g}, ${rgbColor.b}, ${json.component.bg_image_overlay_alpha_css})` :\r\n undefined\r\n }`,\r\n padding: '64px 24px',\r\n width: '100%'\r\n }}\r\n >\r\n <Container\r\n maxWidth='xl'\r\n sx={{\r\n padding: '0px',\r\n '&.MuiContainer-root':{\r\n paddingLeft: { xs: '0px', xl: '24px' },\r\n paddingRight: { xs: '0px', xl: '24px' }\r\n }\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n minWidth: { xs: '100%', md: '45%' },\r\n display: 'flex',\r\n justifyContent: {\r\n xs: 'center',\r\n md: json.component.justify_content ? json.component.justify_content : 'center'\r\n }\r\n }}\r\n >\r\n {children}\r\n </Box>\r\n </Container>\r\n </Box>\r\n </Box>\r\n );\r\n}\r\n\r\n\r\nfunction hexToRgb(hex) {\r\n if (hex) {\r\n const cleanHex = hex.startsWith('#') ? hex.slice(1) : hex;\r\n\r\n const r = parseInt(cleanHex.substring(0, 2), 16);\r\n const g = parseInt(cleanHex.substring(2, 4), 16);\r\n const b = parseInt(cleanHex.substring(4, 6), 16);\r\n return { r, g, b };\r\n } else {\r\n return { r: 0, g: 0, b: 0 }\r\n }\r\n}","export const JK_RESOURCES = 'https://jk-clients.s3.us-east-2.amazonaws.com/jk-resources/'","import React from \"react\"\r\nimport { Quotes } from \"./quotes/Component\"\r\nimport { Banner } from \"./banner/Component\"\r\nimport { TextPlusImg } from \"./textPlusImg/Component\"\r\nimport { Gallery } from \"./gallery/Component\"\r\nimport { Text } from \"./text/Component\"\r\nimport { List } from \"./list/Component\"\r\nimport CanvasContainer from \"./canvas/CanvasContainer\"\r\nimport { JK_RESOURCES } from \"./constants\"\r\n// Section is a common class for each component\r\nexport class Section {\r\n constructor(AtomicElement, theme) {\r\n this.child = AtomicElement\r\n }\r\n\r\n component(json) {\r\n console.log('json', json)\r\n return (\r\n <CanvasContainer json={json}>\r\n {/* Child is the instance passed as parameter in section, next class */}\r\n {this.child.build(json, json.component.layout)}\r\n </CanvasContainer>\r\n )\r\n }\r\n\r\n getFootPrint(layout) {\r\n let footPrint = this.child.footprint(layout)\r\n console.log('section', footPrint)\r\n return (\r\n { req: footPrint.req, img: `${JK_RESOURCES}${footPrint.img}` }\r\n )\r\n }\r\n\r\n layoutLength() {\r\n return (\r\n this.child.layoutsLength()\r\n )\r\n }\r\n\r\n}\r\n\r\n//Sections is the interface with admin and store\r\nexport class Sections {\r\n constructor() {\r\n this.banner = new Section(new Banner())\r\n this.quotes = new Section(new Quotes())\r\n this.textPlusImg = new Section(new TextPlusImg())\r\n this.gallery = new Section(new Gallery())\r\n this.text = new Section(new Text())\r\n this.list = new Section(new List())\r\n this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text, this.list]\r\n }\r\n\r\n getSectionList() {\r\n return (\r\n {\r\n '0': 'Banner',\r\n '1': 'Texto + Imágenes',\r\n '2': 'Citas/Testimonios',\r\n '3': 'Galeria',\r\n '4': 'Texto',\r\n '5': 'Lista',\r\n }\r\n )\r\n }\r\n getLayoutsFromSection(index) {\r\n let section = this.sections[index]\r\n return (section)\r\n }\r\n\r\n}"],"names":["AtomicElements","layout","layoutFootprint","layoutFootprintReq","_proto","prototype","layoutsLength","length","build","content","layoutId","footprint","img","req","console","log","Layout1","React","createElement","Carousel","indicators","navButtonsAlwaysInvisible","sx","width","height","component","subcomponent","map","item","i","Item","key","side","justify_content","props","visible","getSideRender","getSideMargin","Box","display","xs","md","justifyContent","margin","textAlign","Slide","direction","flexDirection","color","text_color","alignItems","src","image","url","marginBottom","borderRadius","Typography","className","minHeight","whiteSpace","description","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","_content$component$su","_content$component$su2","_content$component$su3","_content$component$su4","_content$component$su5","_content$component$su6","_content$component$su7","_content$component$su8","_content$component$su9","lg","title","Button","variant","href","button_action","target","link","button_title","Banner","_content$component$su10","_content$component$su11","gap","maxWidth","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","Grid","container","index","aspectRatio","Gallery","Text","padding","_useState","useState","arrayFourElements","setArrayFourElements","theme","useTheme","isXsScreen","useMediaQuery","breakpoints","down","isSmScreen","between","isMdScreen","isLgScreen","up","divideArreglo","arreglo","tamanoMaximo","subarreglos","subarregloActual","push","useEffect","autoPlay","navButtonsAlwaysVisible","navButtonsProps","backgroundColor","navButtonsWrapperProps","top","bottom","paddingTop","left","items","spacing","position","j","_ref","sm","paddingLeft","Card","boxShadow","border","marginTop","CardMedia","CardContent","paddingBottom","WebkitLineClamp","WebkitBoxOrient","overflow","textOverflow","_ref2","List","CanvasContainer","_json$component$bg_im","json","children","rgbColor","hexToRgb","bg_image_overlay_color","bg_type","bg_color1","undefined","backgroundImage","bg_gradiant_orientation","bg_color2","bg_image","backgroundPosition","backgroundSize","backgroundRepeat","bgcolor","bg_image_overlay","r","g","b","bg_image_overlay_alpha_css","Container","xl","paddingRight","minWidth","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","Section","AtomicElement","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","gallery","text","list","sections","_proto2","getSectionList","getLayoutsFromSection","section"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAaA,cAAc;EACvB,SAAAA,iBAAa;IACT,IAAI,CAACC,MAAM,GAAG,EAAE;IAChB,IAAI,CAACC,eAAe,GAAG,EAAE;IACzB,IAAI,CAACC,kBAAkB,GAAG,EAAE;;EAC/B,IAAAC,MAAA,GAAAJ,cAAA,CAAAK,SAAA;EAAAD,MAAA,CAEDE,aAAa,GAAb,SAAAA,gBAAe;IACX,OACI,IAAI,CAACL,MAAM,CAACM,MAAM;GAEzB;EAAAH,MAAA,CAEDI,KAAK,GAAL,SAAAA,MAAMC,OAAO,EAAEC,QAAQ,EAAC;IACpB,OACI,IAAI,CAACT,MAAM,CAACS,QAAQ,CAAC,CAACD,OAAO,CAAC;GAErC;EAAAL,MAAA,CAEDO,SAAS,GAAT,SAAAA,UAAUV,MAAM,EAAC;IACb,IAAIW,GAAG,GAAG,IAAI,CAACV,eAAe,CAACD,MAAM,CAAC;IACtC,IAAIY,GAAG,GAAG,IAAI,CAACV,kBAAkB,CAACF,MAAM,CAAC;IACzCa,OAAO,CAACC,GAAG,CAAC,YAAY,EAAEH,GAAG,CAAC;IAC9B,OACI;MAACC,GAAG,EAAHA,GAAG;MAAED,GAAG,EAAHA;KAAI;GAEjB;EAAA,OAAAZ,cAAA;AAAA;;ACtBU,SAASgB,OAAOA,CAACP,OAAO,EAAE;EAEvC,oBACEQ,KAAA,CAAAC,aAAA,CAACC,QAAQ;IAACC,UAAU;IAACC,yBAAyB;IAACC,EAAE,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;;KAExEf,OAAO,CAACgB,SAAS,CAACC,YAAY,CAACC,GAAG,CAAC,UAACC,IAAI,EAAEC,CAAC;IAAA,oBAAKZ,KAAA,CAAAC,aAAA,CAACY,IAAI;MAACC,GAAG,EAAEF,CAAE;MAACpB,OAAO,EAAEmB,IAAK;MAACI,IAAI,EAAE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,EAAE,IAAI,CAACC,IAAI,EAAE,IAAI,CAACC,IAAI,CAAC;;EACjG,IAAAE,OAAA,GAAAR,QAAA,CAAA7L,SAAA;EAAAqM,OAAA,CAEDC,cAAc,GAAd,SAAAA,iBAAiB;IACf,OACE;MACE,GAAG,EAAE,QAAQ;MACb,GAAG,EAAE,kBAAkB;MACvB,GAAG,EAAE,mBAAmB;MACxB,GAAG,EAAE,SAAS;MACd,GAAG,EAAE,OAAO;MACZ,GAAG,EAAE;KACN;GAEJ;EAAAD,OAAA,CACDE,qBAAqB,GAArB,SAAAA,sBAAsB1G,KAAK,EAAE;IAC3B,IAAI2G,OAAO,GAAG,IAAI,CAACJ,QAAQ,CAACvG,KAAK,CAAC;IAClC,OAAQ2G,OAAO;GAChB;EAAA,OAAAX,QAAA;AAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keski_lib_catalog",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "Keski catalog components for Keski store, Codenation Studio",
5
5
  "author": "Francisco Marmolejo",
6
6
  "license": "",