keski_lib_catalog 1.0.23 → 1.0.25
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/README.md +30 -30
- package/dist/index.js +11 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +11 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.css +0 -9
- package/dist/layout1~bjVrbVUo.jpg +0 -0
- package/dist/layout2~bjVrbVUo.jpg +0 -0
package/README.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
# keski_lib_catalog
|
|
2
|
-
|
|
3
|
-
> Keski catalog components for Keski store, Codenation Studio
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/keski_lib_catalog) [](https://standardjs.com)
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install --save keski_lib_catalog
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```jsx
|
|
16
|
-
import React, { Component } from 'react'
|
|
17
|
-
|
|
18
|
-
import MyComponent from 'keski_lib_catalog'
|
|
19
|
-
import 'keski_lib_catalog/dist/index.css'
|
|
20
|
-
|
|
21
|
-
class Example extends Component {
|
|
22
|
-
render() {
|
|
23
|
-
return <MyComponent />
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## License
|
|
29
|
-
|
|
30
|
-
© [Francisco Marmolejo](https://github.com/Francisco Marmolejo)
|
|
1
|
+
# keski_lib_catalog
|
|
2
|
+
|
|
3
|
+
> Keski catalog components for Keski store, Codenation Studio
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/keski_lib_catalog) [](https://standardjs.com)
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install --save keski_lib_catalog
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```jsx
|
|
16
|
+
import React, { Component } from 'react'
|
|
17
|
+
|
|
18
|
+
import MyComponent from 'keski_lib_catalog'
|
|
19
|
+
import 'keski_lib_catalog/dist/index.css'
|
|
20
|
+
|
|
21
|
+
class Example extends Component {
|
|
22
|
+
render() {
|
|
23
|
+
return <MyComponent />
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
© [Francisco Marmolejo](https://github.com/Francisco Marmolejo)
|
package/dist/index.js
CHANGED
|
@@ -106,8 +106,8 @@ var Quotes = /*#__PURE__*/function (_AtomicElements) {
|
|
|
106
106
|
_this.layoutFootprint = ['quotes_layout_1.png'];
|
|
107
107
|
_this.layoutFootprintReq = [{
|
|
108
108
|
'type': 0,
|
|
109
|
-
'
|
|
110
|
-
'
|
|
109
|
+
'subtitle': 'Subtitle',
|
|
110
|
+
'description': 'Description'
|
|
111
111
|
}];
|
|
112
112
|
return _this;
|
|
113
113
|
}
|
|
@@ -130,7 +130,7 @@ function Layout1$1(content) {
|
|
|
130
130
|
},
|
|
131
131
|
height: {
|
|
132
132
|
xs: '100%',
|
|
133
|
-
|
|
133
|
+
lg: '60vh'
|
|
134
134
|
},
|
|
135
135
|
justifyContent: 'center',
|
|
136
136
|
color: (_content$component$su = content.component.subcomponent[0]) === null || _content$component$su === void 0 ? void 0 : _content$component$su.text_color
|
|
@@ -169,8 +169,7 @@ var Banner = /*#__PURE__*/function (_AtomicElements) {
|
|
|
169
169
|
'button_title': 'Button Title',
|
|
170
170
|
'button_action': 'Button action',
|
|
171
171
|
'image': 'Image',
|
|
172
|
-
'text_color': 'Text color'
|
|
173
|
-
'name': 'Name'
|
|
172
|
+
'text_color': 'Text color'
|
|
174
173
|
}];
|
|
175
174
|
return _this;
|
|
176
175
|
}
|
|
@@ -248,7 +247,8 @@ function Layout1$2(content) {
|
|
|
248
247
|
xs: 'column',
|
|
249
248
|
md: 'row'
|
|
250
249
|
},
|
|
251
|
-
gap: '16px'
|
|
250
|
+
gap: '16px',
|
|
251
|
+
alignItems: 'center'
|
|
252
252
|
},
|
|
253
253
|
color: (_content$component$su = content.component.subcomponent[0]) === null || _content$component$su === void 0 ? void 0 : _content$component$su.text_color
|
|
254
254
|
}, /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(material.Slide, {
|
|
@@ -258,17 +258,19 @@ function Layout1$2(content) {
|
|
|
258
258
|
sx: {
|
|
259
259
|
width: {
|
|
260
260
|
xs: '100%',
|
|
261
|
-
md: '
|
|
261
|
+
md: '550px',
|
|
262
|
+
lg: '640px'
|
|
262
263
|
},
|
|
263
264
|
height: {
|
|
264
|
-
md: '
|
|
265
|
+
md: '353px',
|
|
266
|
+
lg: '426px'
|
|
265
267
|
},
|
|
266
268
|
maxWidth: '100vw'
|
|
267
269
|
}
|
|
268
270
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
269
271
|
width: "100%",
|
|
270
272
|
height: "100%",
|
|
271
|
-
src: (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.image ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.image.url : 'https://
|
|
273
|
+
src: (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.image ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.image.url : 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'
|
|
272
274
|
})))), /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(Grow, _extends({
|
|
273
275
|
"in": visible,
|
|
274
276
|
style: {
|
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/canvas/CanvasContainer.js","../src/constants.js","../src/textPlusImg/elements/layout1.js","../src/textPlusImg/Component.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: '50px', height: '50px', marginBottom: '16px' }}\r\n />\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', textAlign: 'justify' }}>\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': 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 'content':'Content',\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%', md: '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', textAlign: 'justify' }}>\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 variant='contained' sx={{ width: 'auto', marginBottom: '16px' }}>\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 '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 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 16px',\r\n width: '100%'\r\n }}\r\n >\r\n <Container maxWidth='xl' sx={{ padding: '0px'}}>\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 { Grid, Box, Button, Typography } from \"@mui/material\"\r\nimport React, { useState } 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: 'row' },\r\n gap: '16px'\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: '640px' }, height: { md: '426px' }, maxWidth: '100vw' }}>\r\n <img width=\"100%\" height=\"100%\" src={content.component.subcomponent[0]?.image ? content.component.subcomponent[0]?.image.url : 'https://thumbs.dreamstime.com/z/ning%C3%BAn-s%C3%ADmbolo-del-vector-de-la-imagen-icono-disponible-perdido-ninguna-galer%C3%ADa-para-este-momento-139140396.jpg'}></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', textAlign: 'justify' }}>\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 variant=\"contained\" sx={{ width: 'auto' }}>\r\n {content.component.subcomponent[0]?.button_title ? 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 },\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 { Quotes } from \"./quotes/Component\"\r\nimport { Banner } from \"./banner/Component\"\r\nimport CanvasContainer from \"./canvas/CanvasContainer\"\r\nimport { JK_RESOURCES } from \"./constants\"\r\nimport { TextPlusImg } from \"./textPlusImg/Component\"\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.sections = [this.banner, this.textPlusImg, this.quotes]\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 }\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","textAlign","description","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","justifyContent","title","Button","variant","button_title","Banner","CanvasContainer","props","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","maxWidth","minWidth","justify_content","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","_content$component$su8","_content$component$su9","gap","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","Section","AtomicElement","theme","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","sections","_proto2","getSectionList","getLayoutsFromSection","index","section"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAaA,cAAc;EACvB,S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,WAAc;IACZ,IAAI,CAACC,MAAM,GAAG,IAAIR,OAAO,CAAC,IAAI9C,MAAM,EAAE,CAAC;IACvC,IAAI,CAACuD,MAAM,GAAG,IAAIT,OAAO,CAAC,IAAIxD,MAAM,EAAE,CAAC;IACvC,IAAI,CAACkE,WAAW,GAAG,IAAIV,OAAO,CAAC,IAAID,WAAW,EAAE,CAAC;IACjD,IAAI,CAACY,QAAQ,GAAG,CAAC,IAAI,CAACH,MAAM,EAAE,IAAI,CAACE,WAAW,EAAE,IAAI,CAACD,MAAM,CAAC;;EAC7D,IAAAG,OAAA,GAAAL,QAAA,CAAA7G,SAAA;EAAAkH,OAAA,CAEDC,cAAc,GAAd,SAAAA,iBAAiB;IACf,OACE;MACE,GAAG,EAAE,QAAQ;MACb,GAAG,EAAE,kBAAkB;MACvB,GAAG,EAAE;KACN;GAEJ;EAAAD,OAAA,CACDE,qBAAqB,GAArB,SAAAA,sBAAsBC,KAAK,EAAE;IAC3B,IAAIC,OAAO,GAAG,IAAI,CAACL,QAAQ,CAACI,KAAK,CAAC;IAClC,OAAQC,OAAO;GAChB;EAAA,OAAAT,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/canvas/CanvasContainer.js","../src/constants.js","../src/textPlusImg/elements/layout1.js","../src/textPlusImg/Component.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: '50px', height: '50px', marginBottom: '16px' }}\r\n />\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', textAlign: 'justify' }}>\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': 0,// 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 },\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', textAlign: 'justify' }}>\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 variant='contained' sx={{ width: 'auto', marginBottom: '16px' }}>\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 // '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 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 16px',\r\n width: '100%'\r\n }}\r\n >\r\n <Container maxWidth='xl' sx={{ padding: '0px'}}>\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 { Grid, Box, Button, Typography } from \"@mui/material\"\r\nimport React, { useState } 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: 'row' },\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', textAlign: 'justify' }}>\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 variant=\"contained\" sx={{ width: 'auto' }}>\r\n {content.component.subcomponent[0]?.button_title ? 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 },\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 { Quotes } from \"./quotes/Component\"\r\nimport { Banner } from \"./banner/Component\"\r\nimport CanvasContainer from \"./canvas/CanvasContainer\"\r\nimport { JK_RESOURCES } from \"./constants\"\r\nimport { TextPlusImg } from \"./textPlusImg/Component\"\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.sections = [this.banner, this.textPlusImg, this.quotes]\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 }\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","textAlign","description","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","lg","justifyContent","title","Button","variant","button_title","Banner","CanvasContainer","props","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","maxWidth","minWidth","justify_content","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","_content$component$su8","_content$component$su9","gap","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","Section","AtomicElement","theme","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","sections","_proto2","getSectionList","getLayoutsFromSection","index","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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AAAA,iBAAiB;IACf,OACE;MACE,GAAG,EAAE,QAAQ;MACb,GAAG,EAAE,kBAAkB;MACvB,GAAG,EAAE;KACN;GAEJ;EAAAD,OAAA,CACDE,qBAAqB,GAArB,SAAAA,sBAAsBC,KAAK,EAAE;IAC3B,IAAIC,OAAO,GAAG,IAAI,CAACL,QAAQ,CAACI,KAAK,CAAC;IAClC,OAAQC,OAAO;GAChB;EAAA,OAAAT,QAAA;AAAA;;;;"}
|
package/dist/index.modern.js
CHANGED
|
@@ -103,8 +103,8 @@ var Quotes = /*#__PURE__*/function (_AtomicElements) {
|
|
|
103
103
|
_this.layoutFootprint = ['quotes_layout_1.png'];
|
|
104
104
|
_this.layoutFootprintReq = [{
|
|
105
105
|
'type': 0,
|
|
106
|
-
'
|
|
107
|
-
'
|
|
106
|
+
'subtitle': 'Subtitle',
|
|
107
|
+
'description': 'Description'
|
|
108
108
|
}];
|
|
109
109
|
return _this;
|
|
110
110
|
}
|
|
@@ -127,7 +127,7 @@ function Layout1$1(content) {
|
|
|
127
127
|
},
|
|
128
128
|
height: {
|
|
129
129
|
xs: '100%',
|
|
130
|
-
|
|
130
|
+
lg: '60vh'
|
|
131
131
|
},
|
|
132
132
|
justifyContent: 'center',
|
|
133
133
|
color: (_content$component$su = content.component.subcomponent[0]) === null || _content$component$su === void 0 ? void 0 : _content$component$su.text_color
|
|
@@ -166,8 +166,7 @@ var Banner = /*#__PURE__*/function (_AtomicElements) {
|
|
|
166
166
|
'button_title': 'Button Title',
|
|
167
167
|
'button_action': 'Button action',
|
|
168
168
|
'image': 'Image',
|
|
169
|
-
'text_color': 'Text color'
|
|
170
|
-
'name': 'Name'
|
|
169
|
+
'text_color': 'Text color'
|
|
171
170
|
}];
|
|
172
171
|
return _this;
|
|
173
172
|
}
|
|
@@ -245,7 +244,8 @@ function Layout1$2(content) {
|
|
|
245
244
|
xs: 'column',
|
|
246
245
|
md: 'row'
|
|
247
246
|
},
|
|
248
|
-
gap: '16px'
|
|
247
|
+
gap: '16px',
|
|
248
|
+
alignItems: 'center'
|
|
249
249
|
},
|
|
250
250
|
color: (_content$component$su = content.component.subcomponent[0]) === null || _content$component$su === void 0 ? void 0 : _content$component$su.text_color
|
|
251
251
|
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Slide, {
|
|
@@ -255,17 +255,19 @@ function Layout1$2(content) {
|
|
|
255
255
|
sx: {
|
|
256
256
|
width: {
|
|
257
257
|
xs: '100%',
|
|
258
|
-
md: '
|
|
258
|
+
md: '550px',
|
|
259
|
+
lg: '640px'
|
|
259
260
|
},
|
|
260
261
|
height: {
|
|
261
|
-
md: '
|
|
262
|
+
md: '353px',
|
|
263
|
+
lg: '426px'
|
|
262
264
|
},
|
|
263
265
|
maxWidth: '100vw'
|
|
264
266
|
}
|
|
265
267
|
}, /*#__PURE__*/React.createElement("img", {
|
|
266
268
|
width: "100%",
|
|
267
269
|
height: "100%",
|
|
268
|
-
src: (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.image ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.image.url : 'https://
|
|
270
|
+
src: (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.image ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.image.url : 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'
|
|
269
271
|
})))), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Grow, _extends({
|
|
270
272
|
"in": visible,
|
|
271
273
|
style: {
|
package/dist/index.modern.js.map
CHANGED
|
@@ -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/canvas/CanvasContainer.js","../src/constants.js","../src/textPlusImg/elements/layout1.js","../src/textPlusImg/Component.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: '50px', height: '50px', marginBottom: '16px' }}\r\n />\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', textAlign: 'justify' }}>\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': 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 'content':'Content',\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%', md: '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', textAlign: 'justify' }}>\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 variant='contained' sx={{ width: 'auto', marginBottom: '16px' }}>\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 '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 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 16px',\r\n width: '100%'\r\n }}\r\n >\r\n <Container maxWidth='xl' sx={{ padding: '0px'}}>\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 { Grid, Box, Button, Typography } from \"@mui/material\"\r\nimport React, { useState } 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: 'row' },\r\n gap: '16px'\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: '640px' }, height: { md: '426px' }, maxWidth: '100vw' }}>\r\n <img width=\"100%\" height=\"100%\" src={content.component.subcomponent[0]?.image ? content.component.subcomponent[0]?.image.url : 'https://thumbs.dreamstime.com/z/ning%C3%BAn-s%C3%ADmbolo-del-vector-de-la-imagen-icono-disponible-perdido-ninguna-galer%C3%ADa-para-este-momento-139140396.jpg'}></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', textAlign: 'justify' }}>\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 variant=\"contained\" sx={{ width: 'auto' }}>\r\n {content.component.subcomponent[0]?.button_title ? 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 },\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 { Quotes } from \"./quotes/Component\"\r\nimport { Banner } from \"./banner/Component\"\r\nimport CanvasContainer from \"./canvas/CanvasContainer\"\r\nimport { JK_RESOURCES } from \"./constants\"\r\nimport { TextPlusImg } from \"./textPlusImg/Component\"\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.sections = [this.banner, this.textPlusImg, this.quotes]\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 }\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","textAlign","description","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","justifyContent","title","Button","variant","button_title","Banner","CanvasContainer","props","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","maxWidth","minWidth","justify_content","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","_content$component$su8","_content$component$su9","gap","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","Section","AtomicElement","theme","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","sections","_proto2","getSectionList","getLayoutsFromSection","index","section"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAaA,cAAc;EACvB,SAAAA,iBAAa;IACT,IAAI,CAACC,MAAM,GAAG,EAAE;IAChB,IAAI,CAACC,eAAe,GAAG,EAAE;IACzB,IAAI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AAM,GAAG,IAAIT,OAAO,CAAC,IAAIxD,MAAM,EAAE,CAAC;IACvC,IAAI,CAACkE,WAAW,GAAG,IAAIV,OAAO,CAAC,IAAID,WAAW,EAAE,CAAC;IACjD,IAAI,CAACY,QAAQ,GAAG,CAAC,IAAI,CAACH,MAAM,EAAE,IAAI,CAACE,WAAW,EAAE,IAAI,CAACD,MAAM,CAAC;;EAC7D,IAAAG,OAAA,GAAAL,QAAA,CAAA7G,SAAA;EAAAkH,OAAA,CAEDC,cAAc,GAAd,SAAAA,iBAAiB;IACf,OACE;MACE,GAAG,EAAE,QAAQ;MACb,GAAG,EAAE,kBAAkB;MACvB,GAAG,EAAE;KACN;GAEJ;EAAAD,OAAA,CACDE,qBAAqB,GAArB,SAAAA,sBAAsBC,KAAK,EAAE;IAC3B,IAAIC,OAAO,GAAG,IAAI,CAACL,QAAQ,CAACI,KAAK,CAAC;IAClC,OAAQC,OAAO;GAChB;EAAA,OAAAT,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/canvas/CanvasContainer.js","../src/constants.js","../src/textPlusImg/elements/layout1.js","../src/textPlusImg/Component.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: '50px', height: '50px', marginBottom: '16px' }}\r\n />\r\n <Typography className=\"xmiddle\" sx={{ marginBottom: '16px', textAlign: 'justify' }}>\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': 0,// 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 },\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', textAlign: 'justify' }}>\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 variant='contained' sx={{ width: 'auto', marginBottom: '16px' }}>\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 // '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 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 16px',\r\n width: '100%'\r\n }}\r\n >\r\n <Container maxWidth='xl' sx={{ padding: '0px'}}>\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 { Grid, Box, Button, Typography } from \"@mui/material\"\r\nimport React, { useState } 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: 'row' },\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', textAlign: 'justify' }}>\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 variant=\"contained\" sx={{ width: 'auto' }}>\r\n {content.component.subcomponent[0]?.button_title ? 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 },\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 { Quotes } from \"./quotes/Component\"\r\nimport { Banner } from \"./banner/Component\"\r\nimport CanvasContainer from \"./canvas/CanvasContainer\"\r\nimport { JK_RESOURCES } from \"./constants\"\r\nimport { TextPlusImg } from \"./textPlusImg/Component\"\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.sections = [this.banner, this.textPlusImg, this.quotes]\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 }\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","textAlign","description","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","lg","justifyContent","title","Button","variant","button_title","Banner","CanvasContainer","props","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","maxWidth","minWidth","justify_content","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","_content$component$su8","_content$component$su9","gap","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","Section","AtomicElement","theme","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","sections","_proto2","getSectionList","getLayoutsFromSection","index","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,MA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