keski_lib_catalog 1.0.33 → 1.0.35
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.css +23 -0
- package/dist/index.js +298 -54
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +267 -24
- package/dist/index.modern.js.map +1 -1
- package/package.json +6 -4
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/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 { 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 display: 'flex',\r\n flexDirection: 'column',\r\n width: { xs: '100%', md: '70%' },\r\n color: content.component.subcomponent[0]?.text_color,\r\n alignItems: 'flex-end'\r\n }}\r\n >\r\n <Box\r\n component=\"img\"\r\n src={content.component.subcomponent[0]?.image ? content.component.subcomponent[0]?.image.url : \"https://cdn-icons-png.flaticon.com/512/6596/6596121.png\"}\r\n sx={{ width: '120px', height: '120px', marginBottom: '16px' }}\r\n />\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 <Typography className=\"small\" sx={{ marginBottom: '16px', textAlign: 'right' }}>\r\n {content.component.subcomponent[0]?.subtitle ?\r\n content.component.subcomponent[0]?.subtitle\r\n : 'Agregue subtítulo'}\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 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': 'Image'\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 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 // 'image':'Image',\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 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':'Image',\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':'Image',\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}</Typography>\r\n <Grid container>\r\n {content.component.subcomponent?.map((img, index) => (\r\n <Grid key={index} item xs={12} md={4} spacing={'16px'}>\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 'title':'Tittle',\r\n 'image': 'Image'\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: '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 ]\r\n //Methods heredados\r\n // layout, layouts(), build() \r\n\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 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.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text]\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 }\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","_content$component$su","_content$component$su2","_content$component$su3","_content$component$su4","_content$component$su5","_content$component$su6","_content$component$su7","visible","React","createElement","Slide","direction","Box","sx","display","flexDirection","width","xs","md","color","component","subcomponent","text_color","alignItems","src","image","url","height","marginBottom","Typography","className","description","textAlign","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","_content$component$su8","lg","justifyContent","title","Button","variant","href","button_action","button_title","Banner","_content$component$su9","_content$component$su10","justify_content","gap","maxWidth","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","margin","Grid","container","map","index","key","item","spacing","aspectRatio","Gallery","Text","CanvasContainer","props","_json$component$bg_im","json","children","rgbColor","hexToRgb","bg_image_overlay_color","backgroundColor","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","padding","Container","paddingLeft","xl","paddingRight","minWidth","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","Section","AtomicElement","theme","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","gallery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I,CAACJ,QAAQ,CAAC1D,KAAK,CAAC;IAClC,OAAQ8D,OAAO;GAChB;EAAA,OAAAV,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'} }}>\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 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 'image':'background',\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 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':'Image',\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 'title':'Tittle',\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 } from '@mui/material';\r\n\r\nexport default function Layout1(content) {\r\n\r\n return (\r\n <Grid container>\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 const [arrayFourElements, setArrayFourElements] = useState([]);\r\n // console.log(\"🚀 ~ file: layout1.js:17 ~ Item ~ arrayFourElements:\", arrayFourElements)\r\n const visible = true;\r\n const theme = useTheme();\r\n const isXsScreen = useMediaQuery(theme.breakpoints.down('sm'));\r\n // console.log(\"🚀 ~ file: layout1.js:21 ~ Item ~ isXsScreen:\", isXsScreen)\r\n const isSmScreen = useMediaQuery(theme.breakpoints.between('sm', 'md'));\r\n // console.log(\"🚀 ~ file: layout1.js:21 ~ Item ~ isSmScreen:\", isSmScreen)\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 // console.log(\"🚀 ~ file: layout1.js:42 ~ useEffect ~ tamanoMaximo:\", 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\r\n indicators\r\n // fullHeightHover={false} // We want the nav buttons wrapper to only be as big as the button element is\r\n // navButtonsProps={{ // Change the colors and radius of the actual buttons. THIS STYLES BOTH BUTTONS\r\n // style: {\r\n // backgroundColor: 'red',\r\n // borderRadius: 0\r\n // }\r\n // }}\r\n // navButtonsWrapperProps={{ // Move the buttons to the bottom. Unsetting top here to override default style.\r\n // style: {\r\n // bottom: 'unset',\r\n // top: '0',\r\n // left: '0',\r\n // }\r\n // }}\r\n \r\n navButtonsAlwaysVisible={true}\r\n sx={{ width: '100%', height: '100%' }}\r\n >\r\n {arrayFourElements.map((items, i) => {\r\n return (\r\n <Grid container key={i} spacing={3}>\r\n {\r\n items.map((item, j) => {\r\n return (\r\n <Grid item key={j} 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 // height: '100%', \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 image=\"https://images.unsplash.com/reserve/Af0sF2OS5S5gatqrKzVP_Silhoutte.jpg?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxleHBsb3JlLWZlZWR8Mnx8fGVufDB8fHx8fA%3D%3D&w=1000&q=80\"\r\n sx={{ aspectRatio: '1/1' }}\r\n // image={\r\n // product.main_model?.image?.url\r\n // ? product.main_model.image.url\r\n // : img.src\r\n // }\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n // height: 'auto',\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\r\n sx={{\r\n maxWidth: '80%',\r\n // height: 'auto',\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 >\r\n <Typography className='simple'>\r\n {/* {product.name} */}\r\n Pan de muertos de masa madre real madrid\r\n </Typography>\r\n </Box>\r\n </Box>\r\n <Typography>\r\n $4000\r\n {/* <CurrencyFormat\r\n value={formatPrice(product.min_price)}\r\n className='xsmall-color'\r\n displayType={'text'}\r\n thousandSeparator={true}\r\n prefix={'$'}\r\n // decimalSeparator={','}\r\n fixedDecimalScale={true}\r\n /> */}\r\n </Typography>\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 </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 // height: '100%', \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 image=\"https://images.unsplash.com/reserve/Af0sF2OS5S5gatqrKzVP_Silhoutte.jpg?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxleHBsb3JlLWZlZWR8Mnx8fGVufDB8fHx8fA%3D%3D&w=1000&q=80\"\r\n sx={{ aspectRatio: '1/1' }}\r\n // image={\r\n // product.main_model?.image?.url\r\n // ? product.main_model.image.url\r\n // : img.src\r\n // }\r\n />\r\n <CardContent\r\n sx={{\r\n padding: '8px 16px',\r\n // height: 'auto',\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\r\n sx={{\r\n maxWidth: '80%',\r\n // height: 'auto',\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 >\r\n <Typography className='simple'>\r\n {/* {product.name} */}\r\n Pan de muertos de masa madre real madrid\r\n </Typography>\r\n </Box>\r\n </Box>\r\n <Typography>\r\n $4000\r\n {/* <CurrencyFormat\r\n value={formatPrice(product.min_price)}\r\n className='xsmall-color'\r\n displayType={'text'}\r\n thousandSeparator={true}\r\n prefix={'$'}\r\n // decimalSeparator={','}\r\n fixedDecimalScale={true}\r\n /> */}\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 'subtitle':'Subtitle',\r\n 'description':'Description',\r\n 'image': 'Image'\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","lg","title","Button","variant","href","button_action","button_title","Banner","_content$component$su9","_content$component$su10","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","items","spacing","j","_ref","sm","Card","boxShadow","border","CardMedia","CardContent","padding","paddingBottom","WebkitLineClamp","WebkitBoxOrient","overflow","textOverflow","_ref2","List","CanvasContainer","_json$component$bg_im","json","children","rgbColor","hexToRgb","bg_image_overlay_color","backgroundColor","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","paddingLeft","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;I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M,EAAE,CAAC;IACvC,IAAI,CAACuG,MAAM,GAAG,IAAIR,OAAO,CAAC,IAAInH,MAAM,EAAE,CAAC;IACvC,IAAI,CAAC4H,WAAW,GAAG,IAAIT,OAAO,CAAC,IAAIrF,WAAW,EAAE,CAAC;IACjD,IAAI,CAAC+F,OAAO,GAAG,IAAIV,OAAO,CAAC,IAAIhF,OAAO,EAAE,CAAC;IACzC,IAAI,CAAC2F,IAAI,GAAG,IAAIX,OAAO,CAAC,IAAI/E,IAAI,EAAE,CAAC;IACnC,IAAI,CAAC2F,IAAI,GAAG,IAAIZ,OAAO,CAAC,IAAIrC,IAAI,EAAE,CAAC;IACnC,IAAI,CAACkD,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,CAAAjL,SAAA;EAAAyL,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,sBAAsBlG,KAAK,EAAE;IAC3B,IAAImG,OAAO,GAAG,IAAI,CAACJ,QAAQ,CAAC/F,KAAK,CAAC;IAClC,OAAQmG,OAAO;GAChB;EAAA,OAAAX,QAAA;AAAA;;;;"}
|
package/dist/index.modern.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import React, { useState, useEffect } from 'react';
|
|
2
|
+
import Carousel from 'react-material-ui-carousel';
|
|
3
|
+
import { Box, Slide, Typography, Button, Grid, useTheme, useMediaQuery, Card, CardMedia, CardContent, Container } from '@mui/material';
|
|
3
4
|
import Grow from '@mui/material/Grow';
|
|
4
5
|
|
|
5
6
|
function _extends() {
|
|
@@ -55,42 +56,90 @@ var AtomicElements = /*#__PURE__*/function () {
|
|
|
55
56
|
}();
|
|
56
57
|
|
|
57
58
|
function Layout1(content) {
|
|
58
|
-
|
|
59
|
+
return /*#__PURE__*/React.createElement(Carousel, {
|
|
60
|
+
indicators: true,
|
|
61
|
+
navButtonsAlwaysInvisible: true,
|
|
62
|
+
sx: {
|
|
63
|
+
width: '100%',
|
|
64
|
+
height: '100%'
|
|
65
|
+
}
|
|
66
|
+
}, content.component.subcomponent.map(function (item, i) {
|
|
67
|
+
return /*#__PURE__*/React.createElement(Item, {
|
|
68
|
+
key: i,
|
|
69
|
+
content: item,
|
|
70
|
+
side: content.component.justify_content
|
|
71
|
+
});
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
function Item(props) {
|
|
75
|
+
var content = props.content,
|
|
76
|
+
side = props.side;
|
|
59
77
|
var visible = true;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
78
|
+
var getSideRender = function getSideRender(side) {
|
|
79
|
+
if (side === 'left') {
|
|
80
|
+
return 'flex-start';
|
|
81
|
+
} else if (side === 'right') {
|
|
82
|
+
return 'flex-end';
|
|
83
|
+
} else {
|
|
84
|
+
return 'center';
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
var getSideMargin = function getSideMargin(side) {
|
|
88
|
+
if (side === 'left') {
|
|
89
|
+
return '0px auto 0px 0px';
|
|
90
|
+
} else if (side === 'right') {
|
|
91
|
+
return '0px 0px 0px auto';
|
|
92
|
+
} else {
|
|
93
|
+
return 'auto';
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
64
97
|
sx: {
|
|
65
98
|
display: 'flex',
|
|
66
|
-
flexDirection: 'column',
|
|
67
99
|
width: {
|
|
68
100
|
xs: '100%',
|
|
69
101
|
md: '70%'
|
|
70
102
|
},
|
|
71
|
-
|
|
72
|
-
|
|
103
|
+
justifyContent: getSideRender(side),
|
|
104
|
+
margin: getSideMargin(side),
|
|
105
|
+
textAlign: side,
|
|
106
|
+
height: '100%'
|
|
107
|
+
}
|
|
108
|
+
}, /*#__PURE__*/React.createElement(Slide, {
|
|
109
|
+
direction: "left",
|
|
110
|
+
"in": visible
|
|
111
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
112
|
+
sx: {
|
|
113
|
+
display: 'flex',
|
|
114
|
+
flexDirection: 'column',
|
|
115
|
+
color: content.text_color,
|
|
116
|
+
alignItems: getSideRender(side)
|
|
73
117
|
}
|
|
74
118
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
75
119
|
component: "img",
|
|
76
|
-
src:
|
|
120
|
+
src: content.image ? content.image.url : "https://cdn-icons-png.flaticon.com/512/6596/6596121.png",
|
|
77
121
|
sx: {
|
|
78
122
|
width: '120px',
|
|
79
123
|
height: '120px',
|
|
80
|
-
marginBottom: '16px'
|
|
124
|
+
marginBottom: '16px',
|
|
125
|
+
borderRadius: '50%'
|
|
81
126
|
}
|
|
82
127
|
}), /*#__PURE__*/React.createElement(Typography, {
|
|
83
128
|
className: "xmiddle",
|
|
84
129
|
sx: {
|
|
85
|
-
marginBottom: '16px'
|
|
130
|
+
marginBottom: '16px',
|
|
131
|
+
minHeight: {
|
|
132
|
+
xs: '270px',
|
|
133
|
+
md: '90px'
|
|
134
|
+
}
|
|
86
135
|
}
|
|
87
|
-
},
|
|
136
|
+
}, content.description ? content.description : 'Agregue descripción'), /*#__PURE__*/React.createElement(Typography, {
|
|
88
137
|
className: "small",
|
|
89
138
|
sx: {
|
|
90
139
|
marginBottom: '16px',
|
|
91
140
|
textAlign: 'right'
|
|
92
141
|
}
|
|
93
|
-
},
|
|
142
|
+
}, content.subtitle ? content.subtitle : 'Agregue subtítulo'))));
|
|
94
143
|
}
|
|
95
144
|
|
|
96
145
|
var Quotes = /*#__PURE__*/function (_AtomicElements) {
|
|
@@ -104,7 +153,7 @@ var Quotes = /*#__PURE__*/function (_AtomicElements) {
|
|
|
104
153
|
'type': 1,
|
|
105
154
|
'subtitle': 'Subtitle',
|
|
106
155
|
'description': 'Description',
|
|
107
|
-
'image': '
|
|
156
|
+
'image': 'sqr'
|
|
108
157
|
}];
|
|
109
158
|
return _this;
|
|
110
159
|
}
|
|
@@ -165,6 +214,7 @@ var Banner = /*#__PURE__*/function (_AtomicElements) {
|
|
|
165
214
|
'description': 'Description',
|
|
166
215
|
'button_title': 'Button Title',
|
|
167
216
|
'button_action': 'Button action',
|
|
217
|
+
'image': 'background',
|
|
168
218
|
'text_color': 'Text color',
|
|
169
219
|
'link': 'Link'
|
|
170
220
|
}];
|
|
@@ -257,7 +307,7 @@ var TextPlusImg = /*#__PURE__*/function (_AtomicElements) {
|
|
|
257
307
|
'description': 'Text',
|
|
258
308
|
'button_title': 'Button Title',
|
|
259
309
|
'button_action': 'Button Action',
|
|
260
|
-
'image': '
|
|
310
|
+
'image': 'req_hor'
|
|
261
311
|
}];
|
|
262
312
|
return _this;
|
|
263
313
|
}
|
|
@@ -279,15 +329,14 @@ function Layout1$3(content) {
|
|
|
279
329
|
sx: {
|
|
280
330
|
margin: '16px auto'
|
|
281
331
|
}
|
|
282
|
-
}, content.component.title), /*#__PURE__*/React.createElement(Grid, {
|
|
332
|
+
}, content.component.title ? content.component.title : 'Agregue un título'), /*#__PURE__*/React.createElement(Grid, {
|
|
283
333
|
container: true
|
|
284
334
|
}, (_content$component$su = content.component.subcomponent) === null || _content$component$su === void 0 ? void 0 : _content$component$su.map(function (img, index) {
|
|
285
335
|
return /*#__PURE__*/React.createElement(Grid, {
|
|
286
336
|
key: index,
|
|
287
337
|
item: true,
|
|
288
338
|
xs: 12,
|
|
289
|
-
md: 4
|
|
290
|
-
spacing: '16px'
|
|
339
|
+
md: 4
|
|
291
340
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
292
341
|
component: "img",
|
|
293
342
|
src: img.image.url ? img.image.url : 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg',
|
|
@@ -313,7 +362,7 @@ var Gallery = /*#__PURE__*/function (_AtomicElements) {
|
|
|
313
362
|
_this.layoutFootprintReq = [{
|
|
314
363
|
'type': 1,
|
|
315
364
|
'title': 'Tittle',
|
|
316
|
-
'image': '
|
|
365
|
+
'image': 'req_hor'
|
|
317
366
|
}];
|
|
318
367
|
return _this;
|
|
319
368
|
}
|
|
@@ -328,7 +377,10 @@ function Layout1$4(content) {
|
|
|
328
377
|
"in": visible
|
|
329
378
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
330
379
|
sx: {
|
|
331
|
-
width:
|
|
380
|
+
width: {
|
|
381
|
+
xs: '100%',
|
|
382
|
+
md: '70%'
|
|
383
|
+
},
|
|
332
384
|
color: (_content$component$su = content.component.subcomponent[0]) === null || _content$component$su === void 0 ? void 0 : _content$component$su.text_color,
|
|
333
385
|
textAlign: content.component.justify_content
|
|
334
386
|
}
|
|
@@ -363,6 +415,195 @@ var Text = /*#__PURE__*/function (_AtomicElements) {
|
|
|
363
415
|
return Text;
|
|
364
416
|
}(AtomicElements);
|
|
365
417
|
|
|
418
|
+
function Layout1$5(content) {
|
|
419
|
+
return /*#__PURE__*/React.createElement(Grid, {
|
|
420
|
+
container: true
|
|
421
|
+
}, /*#__PURE__*/React.createElement(Item$1, {
|
|
422
|
+
content: content.component.subcomponent,
|
|
423
|
+
side: content.component.justify_content
|
|
424
|
+
}));
|
|
425
|
+
}
|
|
426
|
+
function Item$1(props) {
|
|
427
|
+
var content = props.content;
|
|
428
|
+
var _useState = useState([]),
|
|
429
|
+
arrayFourElements = _useState[0],
|
|
430
|
+
setArrayFourElements = _useState[1];
|
|
431
|
+
var visible = true;
|
|
432
|
+
var theme = useTheme();
|
|
433
|
+
var isXsScreen = useMediaQuery(theme.breakpoints.down('sm'));
|
|
434
|
+
var isSmScreen = useMediaQuery(theme.breakpoints.between('sm', 'md'));
|
|
435
|
+
var isMdScreen = useMediaQuery(theme.breakpoints.between('md', 'lg'));
|
|
436
|
+
var isLgScreen = useMediaQuery(theme.breakpoints.up('lg'));
|
|
437
|
+
function divideArreglo(arreglo, tamanoMaximo) {
|
|
438
|
+
var subarreglos = [];
|
|
439
|
+
var subarregloActual = [];
|
|
440
|
+
for (var i = 0; i < arreglo.length; i++) {
|
|
441
|
+
subarregloActual.push(arreglo[i]);
|
|
442
|
+
if (subarregloActual.length === tamanoMaximo || i === arreglo.length - 1) {
|
|
443
|
+
subarreglos.push(subarregloActual);
|
|
444
|
+
subarregloActual = [];
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
return subarreglos;
|
|
448
|
+
}
|
|
449
|
+
useEffect(function () {
|
|
450
|
+
var tamanoMaximo;
|
|
451
|
+
if (isSmScreen) {
|
|
452
|
+
tamanoMaximo = 2;
|
|
453
|
+
} else if (isMdScreen) {
|
|
454
|
+
tamanoMaximo = 3;
|
|
455
|
+
} else if (isLgScreen) {
|
|
456
|
+
tamanoMaximo = 4;
|
|
457
|
+
} else if (isXsScreen) {
|
|
458
|
+
tamanoMaximo = 1;
|
|
459
|
+
}
|
|
460
|
+
setArrayFourElements(divideArreglo(content, tamanoMaximo));
|
|
461
|
+
}, [isXsScreen, isSmScreen, isMdScreen, isLgScreen, content]);
|
|
462
|
+
if (!arrayFourElements) {
|
|
463
|
+
return null;
|
|
464
|
+
} else {
|
|
465
|
+
return content.length > 4 ? /*#__PURE__*/React.createElement(Carousel, {
|
|
466
|
+
autoPlay: true,
|
|
467
|
+
indicators: true,
|
|
468
|
+
navButtonsAlwaysVisible: true,
|
|
469
|
+
sx: {
|
|
470
|
+
width: '100%',
|
|
471
|
+
height: '100%'
|
|
472
|
+
}
|
|
473
|
+
}, arrayFourElements.map(function (items, i) {
|
|
474
|
+
return /*#__PURE__*/React.createElement(Grid, {
|
|
475
|
+
container: true,
|
|
476
|
+
key: i,
|
|
477
|
+
spacing: 3
|
|
478
|
+
}, items.map(function (item, j) {
|
|
479
|
+
var _ref;
|
|
480
|
+
return /*#__PURE__*/React.createElement(Grid, {
|
|
481
|
+
item: true,
|
|
482
|
+
key: j,
|
|
483
|
+
sm: 6,
|
|
484
|
+
md: 4,
|
|
485
|
+
lg: 3
|
|
486
|
+
}, /*#__PURE__*/React.createElement(Slide, {
|
|
487
|
+
direction: "left",
|
|
488
|
+
"in": visible
|
|
489
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
490
|
+
sx: (_ref = {
|
|
491
|
+
width: '300px',
|
|
492
|
+
maxWidth: 512,
|
|
493
|
+
boxShadow: 'none',
|
|
494
|
+
borderRadius: 0,
|
|
495
|
+
border: '1px solid #e5e5e5'
|
|
496
|
+
}, _ref["borderRadius"] = '10px', _ref)
|
|
497
|
+
}, /*#__PURE__*/React.createElement(CardMedia, {
|
|
498
|
+
component: "img",
|
|
499
|
+
height: "300px",
|
|
500
|
+
width: "300px",
|
|
501
|
+
image: "https://images.unsplash.com/reserve/Af0sF2OS5S5gatqrKzVP_Silhoutte.jpg?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxleHBsb3JlLWZlZWR8Mnx8fGVufDB8fHx8fA%3D%3D&w=1000&q=80",
|
|
502
|
+
sx: {
|
|
503
|
+
aspectRatio: '1/1'
|
|
504
|
+
}
|
|
505
|
+
}), /*#__PURE__*/React.createElement(CardContent, {
|
|
506
|
+
sx: {
|
|
507
|
+
padding: '8px 16px',
|
|
508
|
+
'&.MuiCardContent-root:last-child': {
|
|
509
|
+
paddingBottom: '8px'
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
513
|
+
component: "div",
|
|
514
|
+
sx: {
|
|
515
|
+
display: 'flex',
|
|
516
|
+
justifyContent: 'space-between',
|
|
517
|
+
alignItems: 'center'
|
|
518
|
+
}
|
|
519
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
520
|
+
sx: {
|
|
521
|
+
maxWidth: '80%',
|
|
522
|
+
display: '-webkit-box',
|
|
523
|
+
WebkitLineClamp: 2,
|
|
524
|
+
WebkitBoxOrient: 'vertical',
|
|
525
|
+
overflow: 'hidden',
|
|
526
|
+
textOverflow: 'ellipsis'
|
|
527
|
+
}
|
|
528
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
529
|
+
className: "simple"
|
|
530
|
+
}, "Pan de muertos de masa madre real madrid"))), /*#__PURE__*/React.createElement(Typography, null, "$4000")))));
|
|
531
|
+
}));
|
|
532
|
+
})) : content.map(function (item, i) {
|
|
533
|
+
var _ref2;
|
|
534
|
+
return /*#__PURE__*/React.createElement(Grid, {
|
|
535
|
+
item: true,
|
|
536
|
+
key: i,
|
|
537
|
+
sm: 6,
|
|
538
|
+
md: 4,
|
|
539
|
+
lg: 3
|
|
540
|
+
}, /*#__PURE__*/React.createElement(Slide, {
|
|
541
|
+
direction: "left",
|
|
542
|
+
"in": visible
|
|
543
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
544
|
+
sx: (_ref2 = {
|
|
545
|
+
width: '300px',
|
|
546
|
+
maxWidth: 512,
|
|
547
|
+
boxShadow: 'none',
|
|
548
|
+
borderRadius: 0,
|
|
549
|
+
border: '1px solid #e5e5e5'
|
|
550
|
+
}, _ref2["borderRadius"] = '10px', _ref2)
|
|
551
|
+
}, /*#__PURE__*/React.createElement(CardMedia, {
|
|
552
|
+
component: "img",
|
|
553
|
+
height: "300px",
|
|
554
|
+
width: "300px",
|
|
555
|
+
image: "https://images.unsplash.com/reserve/Af0sF2OS5S5gatqrKzVP_Silhoutte.jpg?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxleHBsb3JlLWZlZWR8Mnx8fGVufDB8fHx8fA%3D%3D&w=1000&q=80",
|
|
556
|
+
sx: {
|
|
557
|
+
aspectRatio: '1/1'
|
|
558
|
+
}
|
|
559
|
+
}), /*#__PURE__*/React.createElement(CardContent, {
|
|
560
|
+
sx: {
|
|
561
|
+
padding: '8px 16px',
|
|
562
|
+
'&.MuiCardContent-root:last-child': {
|
|
563
|
+
paddingBottom: '8px'
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
567
|
+
component: "div",
|
|
568
|
+
sx: {
|
|
569
|
+
display: 'flex',
|
|
570
|
+
justifyContent: 'space-between',
|
|
571
|
+
alignItems: 'center'
|
|
572
|
+
}
|
|
573
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
574
|
+
sx: {
|
|
575
|
+
maxWidth: '80%',
|
|
576
|
+
display: '-webkit-box',
|
|
577
|
+
WebkitLineClamp: 2,
|
|
578
|
+
WebkitBoxOrient: 'vertical',
|
|
579
|
+
overflow: 'hidden',
|
|
580
|
+
textOverflow: 'ellipsis'
|
|
581
|
+
}
|
|
582
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
583
|
+
className: "simple"
|
|
584
|
+
}, "Pan de muertos de masa madre real madrid"))), /*#__PURE__*/React.createElement(Typography, null, "$4000")))));
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
var List = /*#__PURE__*/function (_AtomicElements) {
|
|
590
|
+
_inheritsLoose(List, _AtomicElements);
|
|
591
|
+
function List() {
|
|
592
|
+
var _this;
|
|
593
|
+
_this = _AtomicElements.call(this) || this;
|
|
594
|
+
_this.layout = [Layout1$5];
|
|
595
|
+
_this.layoutFootprint = ['list_layout_1.png'];
|
|
596
|
+
_this.layoutFootprintReq = [{
|
|
597
|
+
'type': 1,
|
|
598
|
+
'subtitle': 'Subtitle',
|
|
599
|
+
'description': 'Description',
|
|
600
|
+
'image': 'Image'
|
|
601
|
+
}];
|
|
602
|
+
return _this;
|
|
603
|
+
}
|
|
604
|
+
return List;
|
|
605
|
+
}(AtomicElements);
|
|
606
|
+
|
|
366
607
|
function CanvasContainer(props) {
|
|
367
608
|
var _json$component$bg_im;
|
|
368
609
|
var json = props.json,
|
|
@@ -466,7 +707,8 @@ var Sections = /*#__PURE__*/function () {
|
|
|
466
707
|
this.textPlusImg = new Section(new TextPlusImg());
|
|
467
708
|
this.gallery = new Section(new Gallery());
|
|
468
709
|
this.text = new Section(new Text());
|
|
469
|
-
this.
|
|
710
|
+
this.list = new Section(new List());
|
|
711
|
+
this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text, this.list];
|
|
470
712
|
}
|
|
471
713
|
var _proto2 = Sections.prototype;
|
|
472
714
|
_proto2.getSectionList = function getSectionList() {
|
|
@@ -475,7 +717,8 @@ var Sections = /*#__PURE__*/function () {
|
|
|
475
717
|
'1': 'Texto + Imágenes',
|
|
476
718
|
'2': 'Citas/Testimonios',
|
|
477
719
|
'3': 'Galeria',
|
|
478
|
-
'4': 'Texto'
|
|
720
|
+
'4': 'Texto',
|
|
721
|
+
'5': 'Lista'
|
|
479
722
|
};
|
|
480
723
|
};
|
|
481
724
|
_proto2.getLayoutsFromSection = function getLayoutsFromSection(index) {
|