keski_lib_catalog 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +169 -68
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +170 -69
- package/dist/index.modern.js.map +1 -1
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -174,72 +174,6 @@ var Banner = /*#__PURE__*/function (_AtomicElements) {
|
|
|
174
174
|
return Banner;
|
|
175
175
|
}(AtomicElements);
|
|
176
176
|
|
|
177
|
-
function CanvasContainer(props) {
|
|
178
|
-
var _json$component$bg_im;
|
|
179
|
-
var json = props.json,
|
|
180
|
-
children = props.children;
|
|
181
|
-
var rgbColor = hexToRgb(json.component.bg_image_overlay_color);
|
|
182
|
-
return /*#__PURE__*/React.createElement(material.Box, {
|
|
183
|
-
sx: {
|
|
184
|
-
display: 'flex',
|
|
185
|
-
alignItems: 'center',
|
|
186
|
-
backgroundColor: json.component.bg_type === 1 ? json.component.bg_color1 : undefined,
|
|
187
|
-
backgroundImage: json.component.bg_type === 2 ? "linear-gradient(to " + json.component.bg_gradiant_orientation + ", " + json.component.bg_color1 + ", " + json.component.bg_color2 + ")" : json.component.bg_type === 3 ? "url(" + ((_json$component$bg_im = json.component.bg_image) === null || _json$component$bg_im === void 0 ? void 0 : _json$component$bg_im.url) + ")" : undefined,
|
|
188
|
-
backgroundPosition: 'center',
|
|
189
|
-
backgroundSize: 'cover',
|
|
190
|
-
backgroundRepeat: 'no-repeat'
|
|
191
|
-
}
|
|
192
|
-
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
193
|
-
sx: {
|
|
194
|
-
bgcolor: "" + (json.component.bg_image_overlay && json.component.bg_type === 3 ? "rgba(" + rgbColor.r + ", " + rgbColor.g + ", " + rgbColor.b + ", " + json.component.bg_image_overlay_alpha_css + ")" : undefined),
|
|
195
|
-
padding: '64px 16px',
|
|
196
|
-
width: '100%'
|
|
197
|
-
}
|
|
198
|
-
}, /*#__PURE__*/React.createElement(material.Container, {
|
|
199
|
-
maxWidth: "xl",
|
|
200
|
-
sx: {
|
|
201
|
-
padding: '0px',
|
|
202
|
-
'&.MuiContainer-root': {
|
|
203
|
-
paddingLeft: '0px',
|
|
204
|
-
paddingRight: '0px'
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
208
|
-
sx: {
|
|
209
|
-
minWidth: {
|
|
210
|
-
xs: '100%',
|
|
211
|
-
md: '45%'
|
|
212
|
-
},
|
|
213
|
-
display: 'flex',
|
|
214
|
-
justifyContent: {
|
|
215
|
-
xs: 'center',
|
|
216
|
-
md: json.component.justify_content ? json.component.justify_content : 'center'
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}, children))));
|
|
220
|
-
}
|
|
221
|
-
function hexToRgb(hex) {
|
|
222
|
-
if (hex) {
|
|
223
|
-
var cleanHex = hex.startsWith('#') ? hex.slice(1) : hex;
|
|
224
|
-
var r = parseInt(cleanHex.substring(0, 2), 16);
|
|
225
|
-
var g = parseInt(cleanHex.substring(2, 4), 16);
|
|
226
|
-
var b = parseInt(cleanHex.substring(4, 6), 16);
|
|
227
|
-
return {
|
|
228
|
-
r: r,
|
|
229
|
-
g: g,
|
|
230
|
-
b: b
|
|
231
|
-
};
|
|
232
|
-
} else {
|
|
233
|
-
return {
|
|
234
|
-
r: 0,
|
|
235
|
-
g: 0,
|
|
236
|
-
b: 0
|
|
237
|
-
};
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
var JK_RESOURCES = 'https://jk-clients.s3.us-east-2.amazonaws.com/jk-resources/';
|
|
242
|
-
|
|
243
177
|
function Layout1$2(content) {
|
|
244
178
|
var _content$component$su, _content$component$su2, _content$component$su3, _content$component$su4, _content$component$su5, _content$component$su6, _content$component$su7, _content$component$su8, _content$component$su9, _content$component$su10;
|
|
245
179
|
var visible = true;
|
|
@@ -330,6 +264,169 @@ var TextPlusImg = /*#__PURE__*/function (_AtomicElements) {
|
|
|
330
264
|
return TextPlusImg;
|
|
331
265
|
}(AtomicElements);
|
|
332
266
|
|
|
267
|
+
function Layout1$3(content) {
|
|
268
|
+
var _content$component$su;
|
|
269
|
+
var visible = true;
|
|
270
|
+
return /*#__PURE__*/React.createElement(material.Slide, {
|
|
271
|
+
direction: "left",
|
|
272
|
+
"in": visible
|
|
273
|
+
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
274
|
+
sx: {
|
|
275
|
+
width: '100%',
|
|
276
|
+
padding: '16px'
|
|
277
|
+
}
|
|
278
|
+
}, /*#__PURE__*/React.createElement(material.Typography, {
|
|
279
|
+
className: "title-xlarge",
|
|
280
|
+
sx: {
|
|
281
|
+
marginBottom: '16px'
|
|
282
|
+
}
|
|
283
|
+
}, content.component.title), /*#__PURE__*/React.createElement(material.Grid, {
|
|
284
|
+
container: true
|
|
285
|
+
}, (_content$component$su = content.component.subcomponent) === null || _content$component$su === void 0 ? void 0 : _content$component$su.map(function (img, index) {
|
|
286
|
+
return /*#__PURE__*/React.createElement(material.Grid, {
|
|
287
|
+
key: index,
|
|
288
|
+
item: true,
|
|
289
|
+
xs: 12,
|
|
290
|
+
md: 4,
|
|
291
|
+
spacing: '16px'
|
|
292
|
+
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
293
|
+
component: "img",
|
|
294
|
+
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',
|
|
295
|
+
sx: {
|
|
296
|
+
width: {
|
|
297
|
+
xs: '100%',
|
|
298
|
+
md: '95%'
|
|
299
|
+
},
|
|
300
|
+
marginBottom: '16px'
|
|
301
|
+
}
|
|
302
|
+
}));
|
|
303
|
+
}))));
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
var Gallery = /*#__PURE__*/function (_AtomicElements) {
|
|
307
|
+
_inheritsLoose(Gallery, _AtomicElements);
|
|
308
|
+
function Gallery() {
|
|
309
|
+
var _this;
|
|
310
|
+
_this = _AtomicElements.call(this) || this;
|
|
311
|
+
_this.layout = [Layout1$3];
|
|
312
|
+
_this.layoutFootprint = ['gallery_layout_1.png'];
|
|
313
|
+
_this.layoutFootprintReq = [{
|
|
314
|
+
'type': 1,
|
|
315
|
+
'title': 'Tittle',
|
|
316
|
+
'image': 'Image'
|
|
317
|
+
}];
|
|
318
|
+
return _this;
|
|
319
|
+
}
|
|
320
|
+
return Gallery;
|
|
321
|
+
}(AtomicElements);
|
|
322
|
+
|
|
323
|
+
function Layout1$4(content) {
|
|
324
|
+
var _content$component$su, _content$component, _content$component2, _content$component$su2, _content$component$su3;
|
|
325
|
+
var visible = true;
|
|
326
|
+
return /*#__PURE__*/React.createElement(material.Slide, {
|
|
327
|
+
direction: "left",
|
|
328
|
+
"in": visible
|
|
329
|
+
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
330
|
+
sx: {
|
|
331
|
+
width: '100%',
|
|
332
|
+
color: (_content$component$su = content.component.subcomponent[0]) === null || _content$component$su === void 0 ? void 0 : _content$component$su.text_color
|
|
333
|
+
}
|
|
334
|
+
}, /*#__PURE__*/React.createElement(material.Typography, {
|
|
335
|
+
className: "title-xlarge",
|
|
336
|
+
sx: {
|
|
337
|
+
marginBottom: '16px'
|
|
338
|
+
}
|
|
339
|
+
}, (_content$component = content.component) !== null && _content$component !== void 0 && _content$component.title ? (_content$component2 = content.component) === null || _content$component2 === void 0 ? void 0 : _content$component2.title : 'Agregue título'), /*#__PURE__*/React.createElement(material.Typography, {
|
|
340
|
+
className: "title-large",
|
|
341
|
+
sx: {
|
|
342
|
+
marginBottom: '16px'
|
|
343
|
+
}
|
|
344
|
+
}, (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.subtitle ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.subtitle : 'Agregue subtítulo')));
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
var Text = /*#__PURE__*/function (_AtomicElements) {
|
|
348
|
+
_inheritsLoose(Text, _AtomicElements);
|
|
349
|
+
function Text() {
|
|
350
|
+
var _this;
|
|
351
|
+
_this = _AtomicElements.call(this) || this;
|
|
352
|
+
_this.layout = [Layout1$4];
|
|
353
|
+
_this.layoutFootprint = ['quotes_layout_1.png'];
|
|
354
|
+
_this.layoutFootprintReq = [{
|
|
355
|
+
'type': 0,
|
|
356
|
+
'title': 'Tittle',
|
|
357
|
+
'subtitle': 'Subtitle'
|
|
358
|
+
}];
|
|
359
|
+
return _this;
|
|
360
|
+
}
|
|
361
|
+
return Text;
|
|
362
|
+
}(AtomicElements);
|
|
363
|
+
|
|
364
|
+
function CanvasContainer(props) {
|
|
365
|
+
var _json$component$bg_im;
|
|
366
|
+
var json = props.json,
|
|
367
|
+
children = props.children;
|
|
368
|
+
var rgbColor = hexToRgb(json.component.bg_image_overlay_color);
|
|
369
|
+
return /*#__PURE__*/React.createElement(material.Box, {
|
|
370
|
+
sx: {
|
|
371
|
+
display: 'flex',
|
|
372
|
+
alignItems: 'center',
|
|
373
|
+
backgroundColor: json.component.bg_type === 1 ? json.component.bg_color1 : undefined,
|
|
374
|
+
backgroundImage: json.component.bg_type === 2 ? "linear-gradient(to " + json.component.bg_gradiant_orientation + ", " + json.component.bg_color1 + ", " + json.component.bg_color2 + ")" : json.component.bg_type === 3 ? "url(" + ((_json$component$bg_im = json.component.bg_image) === null || _json$component$bg_im === void 0 ? void 0 : _json$component$bg_im.url) + ")" : undefined,
|
|
375
|
+
backgroundPosition: 'center',
|
|
376
|
+
backgroundSize: 'cover',
|
|
377
|
+
backgroundRepeat: 'no-repeat'
|
|
378
|
+
}
|
|
379
|
+
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
380
|
+
sx: {
|
|
381
|
+
bgcolor: "" + (json.component.bg_image_overlay && json.component.bg_type === 3 ? "rgba(" + rgbColor.r + ", " + rgbColor.g + ", " + rgbColor.b + ", " + json.component.bg_image_overlay_alpha_css + ")" : undefined),
|
|
382
|
+
padding: '64px 24px',
|
|
383
|
+
width: '100%'
|
|
384
|
+
}
|
|
385
|
+
}, /*#__PURE__*/React.createElement(material.Container, {
|
|
386
|
+
maxWidth: "xl",
|
|
387
|
+
sx: {
|
|
388
|
+
padding: '0px',
|
|
389
|
+
'&.MuiContainer-root': {
|
|
390
|
+
paddingLeft: '0px',
|
|
391
|
+
paddingRight: '0px'
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
395
|
+
sx: {
|
|
396
|
+
minWidth: {
|
|
397
|
+
xs: '100%',
|
|
398
|
+
md: '45%'
|
|
399
|
+
},
|
|
400
|
+
display: 'flex',
|
|
401
|
+
justifyContent: {
|
|
402
|
+
xs: 'center',
|
|
403
|
+
md: json.component.justify_content ? json.component.justify_content : 'center'
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}, children))));
|
|
407
|
+
}
|
|
408
|
+
function hexToRgb(hex) {
|
|
409
|
+
if (hex) {
|
|
410
|
+
var cleanHex = hex.startsWith('#') ? hex.slice(1) : hex;
|
|
411
|
+
var r = parseInt(cleanHex.substring(0, 2), 16);
|
|
412
|
+
var g = parseInt(cleanHex.substring(2, 4), 16);
|
|
413
|
+
var b = parseInt(cleanHex.substring(4, 6), 16);
|
|
414
|
+
return {
|
|
415
|
+
r: r,
|
|
416
|
+
g: g,
|
|
417
|
+
b: b
|
|
418
|
+
};
|
|
419
|
+
} else {
|
|
420
|
+
return {
|
|
421
|
+
r: 0,
|
|
422
|
+
g: 0,
|
|
423
|
+
b: 0
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
var JK_RESOURCES = 'https://jk-clients.s3.us-east-2.amazonaws.com/jk-resources/';
|
|
429
|
+
|
|
333
430
|
var Section = /*#__PURE__*/function () {
|
|
334
431
|
function Section(AtomicElement, theme) {
|
|
335
432
|
this.child = AtomicElement;
|
|
@@ -359,14 +456,18 @@ var Sections = /*#__PURE__*/function () {
|
|
|
359
456
|
this.banner = new Section(new Banner());
|
|
360
457
|
this.quotes = new Section(new Quotes());
|
|
361
458
|
this.textPlusImg = new Section(new TextPlusImg());
|
|
362
|
-
this.
|
|
459
|
+
this.gallery = new Section(new Gallery());
|
|
460
|
+
this.text = new Section(new Text());
|
|
461
|
+
this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text];
|
|
363
462
|
}
|
|
364
463
|
var _proto2 = Sections.prototype;
|
|
365
464
|
_proto2.getSectionList = function getSectionList() {
|
|
366
465
|
return {
|
|
367
466
|
'0': 'Banner',
|
|
368
467
|
'1': 'Texto + Imágenes',
|
|
369
|
-
'2': 'Citas/Testimonios'
|
|
468
|
+
'2': 'Citas/Testimonios',
|
|
469
|
+
'3': 'Galeria',
|
|
470
|
+
'4': 'Texto'
|
|
370
471
|
};
|
|
371
472
|
};
|
|
372
473
|
_proto2.getLayoutsFromSection = function getLayoutsFromSection(index) {
|
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: '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 // '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\r\n maxWidth='xl'\r\n sx={{\r\n padding: '0px',\r\n '&.MuiContainer-root':{\r\n paddingLeft: '0px',\r\n paddingRight: '0px'\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 { 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 },\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","description","textAlign","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","_content$component$su8","lg","justifyContent","title","Button","variant","href","button_action","button_title","Banner","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","maxWidth","paddingLeft","paddingRight","minWidth","justify_content","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","_content$component$su9","_content$component$su10","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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E0G,SAAS,CAAC1G,GAAG;MAAED,GAAG,OAAK4F,YAAY,GAAGe,SAAS,CAAC3G;KAAO;GAEjE;EAAAR,MAAA,CAEDoH,YAAY,GAAZ,SAAAA,eAAe;IACb,OACE,IAAI,CAACH,KAAK,CAAC/G,aAAa,EAAE;GAE7B;EAAA,OAAA4G,OAAA;AAAA;AAKH,IAAaO,QAAQ;EACnB,SAAAA,WAAc;IACZ,IAAI,CAACC,MAAM,GAAG,IAAIR,OAAO,CAAC,IAAIjD,MAAM,EAAE,CAAC;IACvC,IAAI,CAAC0D,MAAM,GAAG,IAAIT,OAAO,CAAC,IAAI/D,MAAM,EAAE,CAAC;IACvC,IAAI,CAACyE,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,CAAApH,SAAA;EAAAyH,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/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 // '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 },\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%', padding: '16px' }}>\r\n <Typography className=\"title-xlarge\" sx={{ marginBottom: '16px' }}>{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={img.image.url ? img.image.url : 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'}\r\n sx={{ width: { xs: '100%', md: '95%' }, marginBottom: '16px' }}\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: '100%',\r\n color: content.component.subcomponent[0]?.text_color,\r\n }}\r\n >\r\n <Typography className=\"title-xlarge\" sx={{ marginBottom: '16px' }}>\r\n {content.component?.title ?\r\n content.component?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"title-large\" sx={{ marginBottom: '16px' }}>\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 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 'subtitle': 'Subtitle',\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: '0px',\r\n paddingRight: '0px'\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","padding","Grid","container","map","index","key","item","spacing","Gallery","_content$component","_content$component2","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","Container","paddingLeft","paddingRight","minWidth","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","Section","AtomicElement","theme","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","gallery","text","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,kBA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AAAsI,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;KACN;GAEJ;EAAAD,OAAA,CACDE,qBAAqB,GAArB,SAAAA,sBAAsB5D,KAAK,EAAE;IAC3B,IAAI6D,OAAO,GAAG,IAAI,CAACJ,QAAQ,CAACzD,KAAK,CAAC;IAClC,OAAQ6D,OAAO;GAChB;EAAA,OAAAV,QAAA;AAAA;;;;"}
|
package/dist/index.modern.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Slide, Box, Typography, Button, Container } from '@mui/material';
|
|
2
|
+
import { Slide, Box, Typography, Button, Grid, Container } from '@mui/material';
|
|
3
3
|
import Grow from '@mui/material/Grow';
|
|
4
4
|
|
|
5
5
|
function _extends() {
|
|
@@ -172,72 +172,6 @@ var Banner = /*#__PURE__*/function (_AtomicElements) {
|
|
|
172
172
|
return Banner;
|
|
173
173
|
}(AtomicElements);
|
|
174
174
|
|
|
175
|
-
function CanvasContainer(props) {
|
|
176
|
-
var _json$component$bg_im;
|
|
177
|
-
var json = props.json,
|
|
178
|
-
children = props.children;
|
|
179
|
-
var rgbColor = hexToRgb(json.component.bg_image_overlay_color);
|
|
180
|
-
return /*#__PURE__*/React.createElement(Box, {
|
|
181
|
-
sx: {
|
|
182
|
-
display: 'flex',
|
|
183
|
-
alignItems: 'center',
|
|
184
|
-
backgroundColor: json.component.bg_type === 1 ? json.component.bg_color1 : undefined,
|
|
185
|
-
backgroundImage: json.component.bg_type === 2 ? "linear-gradient(to " + json.component.bg_gradiant_orientation + ", " + json.component.bg_color1 + ", " + json.component.bg_color2 + ")" : json.component.bg_type === 3 ? "url(" + ((_json$component$bg_im = json.component.bg_image) === null || _json$component$bg_im === void 0 ? void 0 : _json$component$bg_im.url) + ")" : undefined,
|
|
186
|
-
backgroundPosition: 'center',
|
|
187
|
-
backgroundSize: 'cover',
|
|
188
|
-
backgroundRepeat: 'no-repeat'
|
|
189
|
-
}
|
|
190
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
191
|
-
sx: {
|
|
192
|
-
bgcolor: "" + (json.component.bg_image_overlay && json.component.bg_type === 3 ? "rgba(" + rgbColor.r + ", " + rgbColor.g + ", " + rgbColor.b + ", " + json.component.bg_image_overlay_alpha_css + ")" : undefined),
|
|
193
|
-
padding: '64px 16px',
|
|
194
|
-
width: '100%'
|
|
195
|
-
}
|
|
196
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
197
|
-
maxWidth: "xl",
|
|
198
|
-
sx: {
|
|
199
|
-
padding: '0px',
|
|
200
|
-
'&.MuiContainer-root': {
|
|
201
|
-
paddingLeft: '0px',
|
|
202
|
-
paddingRight: '0px'
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
206
|
-
sx: {
|
|
207
|
-
minWidth: {
|
|
208
|
-
xs: '100%',
|
|
209
|
-
md: '45%'
|
|
210
|
-
},
|
|
211
|
-
display: 'flex',
|
|
212
|
-
justifyContent: {
|
|
213
|
-
xs: 'center',
|
|
214
|
-
md: json.component.justify_content ? json.component.justify_content : 'center'
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}, children))));
|
|
218
|
-
}
|
|
219
|
-
function hexToRgb(hex) {
|
|
220
|
-
if (hex) {
|
|
221
|
-
var cleanHex = hex.startsWith('#') ? hex.slice(1) : hex;
|
|
222
|
-
var r = parseInt(cleanHex.substring(0, 2), 16);
|
|
223
|
-
var g = parseInt(cleanHex.substring(2, 4), 16);
|
|
224
|
-
var b = parseInt(cleanHex.substring(4, 6), 16);
|
|
225
|
-
return {
|
|
226
|
-
r: r,
|
|
227
|
-
g: g,
|
|
228
|
-
b: b
|
|
229
|
-
};
|
|
230
|
-
} else {
|
|
231
|
-
return {
|
|
232
|
-
r: 0,
|
|
233
|
-
g: 0,
|
|
234
|
-
b: 0
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
var JK_RESOURCES = 'https://jk-clients.s3.us-east-2.amazonaws.com/jk-resources/';
|
|
240
|
-
|
|
241
175
|
function Layout1$2(content) {
|
|
242
176
|
var _content$component$su, _content$component$su2, _content$component$su3, _content$component$su4, _content$component$su5, _content$component$su6, _content$component$su7, _content$component$su8, _content$component$su9, _content$component$su10;
|
|
243
177
|
var visible = true;
|
|
@@ -328,6 +262,169 @@ var TextPlusImg = /*#__PURE__*/function (_AtomicElements) {
|
|
|
328
262
|
return TextPlusImg;
|
|
329
263
|
}(AtomicElements);
|
|
330
264
|
|
|
265
|
+
function Layout1$3(content) {
|
|
266
|
+
var _content$component$su;
|
|
267
|
+
var visible = true;
|
|
268
|
+
return /*#__PURE__*/React.createElement(Slide, {
|
|
269
|
+
direction: "left",
|
|
270
|
+
"in": visible
|
|
271
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
272
|
+
sx: {
|
|
273
|
+
width: '100%',
|
|
274
|
+
padding: '16px'
|
|
275
|
+
}
|
|
276
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
277
|
+
className: "title-xlarge",
|
|
278
|
+
sx: {
|
|
279
|
+
marginBottom: '16px'
|
|
280
|
+
}
|
|
281
|
+
}, content.component.title), /*#__PURE__*/React.createElement(Grid, {
|
|
282
|
+
container: true
|
|
283
|
+
}, (_content$component$su = content.component.subcomponent) === null || _content$component$su === void 0 ? void 0 : _content$component$su.map(function (img, index) {
|
|
284
|
+
return /*#__PURE__*/React.createElement(Grid, {
|
|
285
|
+
key: index,
|
|
286
|
+
item: true,
|
|
287
|
+
xs: 12,
|
|
288
|
+
md: 4,
|
|
289
|
+
spacing: '16px'
|
|
290
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
291
|
+
component: "img",
|
|
292
|
+
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',
|
|
293
|
+
sx: {
|
|
294
|
+
width: {
|
|
295
|
+
xs: '100%',
|
|
296
|
+
md: '95%'
|
|
297
|
+
},
|
|
298
|
+
marginBottom: '16px'
|
|
299
|
+
}
|
|
300
|
+
}));
|
|
301
|
+
}))));
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
var Gallery = /*#__PURE__*/function (_AtomicElements) {
|
|
305
|
+
_inheritsLoose(Gallery, _AtomicElements);
|
|
306
|
+
function Gallery() {
|
|
307
|
+
var _this;
|
|
308
|
+
_this = _AtomicElements.call(this) || this;
|
|
309
|
+
_this.layout = [Layout1$3];
|
|
310
|
+
_this.layoutFootprint = ['gallery_layout_1.png'];
|
|
311
|
+
_this.layoutFootprintReq = [{
|
|
312
|
+
'type': 1,
|
|
313
|
+
'title': 'Tittle',
|
|
314
|
+
'image': 'Image'
|
|
315
|
+
}];
|
|
316
|
+
return _this;
|
|
317
|
+
}
|
|
318
|
+
return Gallery;
|
|
319
|
+
}(AtomicElements);
|
|
320
|
+
|
|
321
|
+
function Layout1$4(content) {
|
|
322
|
+
var _content$component$su, _content$component, _content$component2, _content$component$su2, _content$component$su3;
|
|
323
|
+
var visible = true;
|
|
324
|
+
return /*#__PURE__*/React.createElement(Slide, {
|
|
325
|
+
direction: "left",
|
|
326
|
+
"in": visible
|
|
327
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
328
|
+
sx: {
|
|
329
|
+
width: '100%',
|
|
330
|
+
color: (_content$component$su = content.component.subcomponent[0]) === null || _content$component$su === void 0 ? void 0 : _content$component$su.text_color
|
|
331
|
+
}
|
|
332
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
333
|
+
className: "title-xlarge",
|
|
334
|
+
sx: {
|
|
335
|
+
marginBottom: '16px'
|
|
336
|
+
}
|
|
337
|
+
}, (_content$component = content.component) !== null && _content$component !== void 0 && _content$component.title ? (_content$component2 = content.component) === null || _content$component2 === void 0 ? void 0 : _content$component2.title : 'Agregue título'), /*#__PURE__*/React.createElement(Typography, {
|
|
338
|
+
className: "title-large",
|
|
339
|
+
sx: {
|
|
340
|
+
marginBottom: '16px'
|
|
341
|
+
}
|
|
342
|
+
}, (_content$component$su2 = content.component.subcomponent[0]) !== null && _content$component$su2 !== void 0 && _content$component$su2.subtitle ? (_content$component$su3 = content.component.subcomponent[0]) === null || _content$component$su3 === void 0 ? void 0 : _content$component$su3.subtitle : 'Agregue subtítulo')));
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
var Text = /*#__PURE__*/function (_AtomicElements) {
|
|
346
|
+
_inheritsLoose(Text, _AtomicElements);
|
|
347
|
+
function Text() {
|
|
348
|
+
var _this;
|
|
349
|
+
_this = _AtomicElements.call(this) || this;
|
|
350
|
+
_this.layout = [Layout1$4];
|
|
351
|
+
_this.layoutFootprint = ['quotes_layout_1.png'];
|
|
352
|
+
_this.layoutFootprintReq = [{
|
|
353
|
+
'type': 0,
|
|
354
|
+
'title': 'Tittle',
|
|
355
|
+
'subtitle': 'Subtitle'
|
|
356
|
+
}];
|
|
357
|
+
return _this;
|
|
358
|
+
}
|
|
359
|
+
return Text;
|
|
360
|
+
}(AtomicElements);
|
|
361
|
+
|
|
362
|
+
function CanvasContainer(props) {
|
|
363
|
+
var _json$component$bg_im;
|
|
364
|
+
var json = props.json,
|
|
365
|
+
children = props.children;
|
|
366
|
+
var rgbColor = hexToRgb(json.component.bg_image_overlay_color);
|
|
367
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
368
|
+
sx: {
|
|
369
|
+
display: 'flex',
|
|
370
|
+
alignItems: 'center',
|
|
371
|
+
backgroundColor: json.component.bg_type === 1 ? json.component.bg_color1 : undefined,
|
|
372
|
+
backgroundImage: json.component.bg_type === 2 ? "linear-gradient(to " + json.component.bg_gradiant_orientation + ", " + json.component.bg_color1 + ", " + json.component.bg_color2 + ")" : json.component.bg_type === 3 ? "url(" + ((_json$component$bg_im = json.component.bg_image) === null || _json$component$bg_im === void 0 ? void 0 : _json$component$bg_im.url) + ")" : undefined,
|
|
373
|
+
backgroundPosition: 'center',
|
|
374
|
+
backgroundSize: 'cover',
|
|
375
|
+
backgroundRepeat: 'no-repeat'
|
|
376
|
+
}
|
|
377
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
378
|
+
sx: {
|
|
379
|
+
bgcolor: "" + (json.component.bg_image_overlay && json.component.bg_type === 3 ? "rgba(" + rgbColor.r + ", " + rgbColor.g + ", " + rgbColor.b + ", " + json.component.bg_image_overlay_alpha_css + ")" : undefined),
|
|
380
|
+
padding: '64px 24px',
|
|
381
|
+
width: '100%'
|
|
382
|
+
}
|
|
383
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
384
|
+
maxWidth: "xl",
|
|
385
|
+
sx: {
|
|
386
|
+
padding: '0px',
|
|
387
|
+
'&.MuiContainer-root': {
|
|
388
|
+
paddingLeft: '0px',
|
|
389
|
+
paddingRight: '0px'
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
393
|
+
sx: {
|
|
394
|
+
minWidth: {
|
|
395
|
+
xs: '100%',
|
|
396
|
+
md: '45%'
|
|
397
|
+
},
|
|
398
|
+
display: 'flex',
|
|
399
|
+
justifyContent: {
|
|
400
|
+
xs: 'center',
|
|
401
|
+
md: json.component.justify_content ? json.component.justify_content : 'center'
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}, children))));
|
|
405
|
+
}
|
|
406
|
+
function hexToRgb(hex) {
|
|
407
|
+
if (hex) {
|
|
408
|
+
var cleanHex = hex.startsWith('#') ? hex.slice(1) : hex;
|
|
409
|
+
var r = parseInt(cleanHex.substring(0, 2), 16);
|
|
410
|
+
var g = parseInt(cleanHex.substring(2, 4), 16);
|
|
411
|
+
var b = parseInt(cleanHex.substring(4, 6), 16);
|
|
412
|
+
return {
|
|
413
|
+
r: r,
|
|
414
|
+
g: g,
|
|
415
|
+
b: b
|
|
416
|
+
};
|
|
417
|
+
} else {
|
|
418
|
+
return {
|
|
419
|
+
r: 0,
|
|
420
|
+
g: 0,
|
|
421
|
+
b: 0
|
|
422
|
+
};
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
var JK_RESOURCES = 'https://jk-clients.s3.us-east-2.amazonaws.com/jk-resources/';
|
|
427
|
+
|
|
331
428
|
var Section = /*#__PURE__*/function () {
|
|
332
429
|
function Section(AtomicElement, theme) {
|
|
333
430
|
this.child = AtomicElement;
|
|
@@ -357,14 +454,18 @@ var Sections = /*#__PURE__*/function () {
|
|
|
357
454
|
this.banner = new Section(new Banner());
|
|
358
455
|
this.quotes = new Section(new Quotes());
|
|
359
456
|
this.textPlusImg = new Section(new TextPlusImg());
|
|
360
|
-
this.
|
|
457
|
+
this.gallery = new Section(new Gallery());
|
|
458
|
+
this.text = new Section(new Text());
|
|
459
|
+
this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text];
|
|
361
460
|
}
|
|
362
461
|
var _proto2 = Sections.prototype;
|
|
363
462
|
_proto2.getSectionList = function getSectionList() {
|
|
364
463
|
return {
|
|
365
464
|
'0': 'Banner',
|
|
366
465
|
'1': 'Texto + Imágenes',
|
|
367
|
-
'2': 'Citas/Testimonios'
|
|
466
|
+
'2': 'Citas/Testimonios',
|
|
467
|
+
'3': 'Galeria',
|
|
468
|
+
'4': 'Texto'
|
|
368
469
|
};
|
|
369
470
|
};
|
|
370
471
|
_proto2.getLayoutsFromSection = function getLayoutsFromSection(index) {
|
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: '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 // '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\r\n maxWidth='xl'\r\n sx={{\r\n padding: '0px',\r\n '&.MuiContainer-root':{\r\n paddingLeft: '0px',\r\n paddingRight: '0px'\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 { 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 },\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","description","textAlign","subtitle","Quotes","_AtomicElements","_inheritsLoose","_this","call","_content$component$su8","lg","justifyContent","title","Button","variant","href","button_action","button_title","Banner","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","maxWidth","paddingLeft","paddingRight","minWidth","justify_content","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","_content$component$su9","_content$component$su10","gap","Grow","_extends","style","transformOrigin","timeout","TextPlusImg","Section","AtomicElement","theme","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","sections","_proto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AAK,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/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 // '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 },\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%', padding: '16px' }}>\r\n <Typography className=\"title-xlarge\" sx={{ marginBottom: '16px' }}>{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={img.image.url ? img.image.url : 'https://wozapps-develop.s3.us-east-2.amazonaws.com/gerry/resources/landing/bbb84144-02cd-4cf8-a1be-21ba47e7c4fa.jpeg'}\r\n sx={{ width: { xs: '100%', md: '95%' }, marginBottom: '16px' }}\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: '100%',\r\n color: content.component.subcomponent[0]?.text_color,\r\n }}\r\n >\r\n <Typography className=\"title-xlarge\" sx={{ marginBottom: '16px' }}>\r\n {content.component?.title ?\r\n content.component?.title\r\n : 'Agregue título'}\r\n </Typography>\r\n <Typography className=\"title-large\" sx={{ marginBottom: '16px' }}>\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 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 'subtitle': 'Subtitle',\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: '0px',\r\n paddingRight: '0px'\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","padding","Grid","container","map","index","key","item","spacing","Gallery","_content$component","_content$component2","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","Container","paddingLeft","paddingRight","minWidth","hex","cleanHex","startsWith","slice","parseInt","substring","JK_RESOURCES","Section","AtomicElement","theme","child","getFootPrint","footPrint","layoutLength","Sections","banner","quotes","textPlusImg","gallery","text","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,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OAAO,CAAC,IAAIxC,OAAO,EAAE,CAAC;IACzC,IAAI,CAACoD,IAAI,GAAG,IAAIZ,OAAO,CAAC,IAAIrC,IAAI,EAAE,CAAC;IACnC,IAAI,CAACkD,QAAQ,GAAG,CAAC,IAAI,CAACL,MAAM,EAAE,IAAI,CAACE,WAAW,EAAE,IAAI,CAACD,MAAM,EAAE,IAAI,CAACE,OAAO,EAAE,IAAI,CAACC,IAAI,CAAC;;EACtF,IAAAE,OAAA,GAAAP,QAAA,CAAA/H,SAAA;EAAAsI,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;KACN;GAEJ;EAAAD,OAAA,CACDE,qBAAqB,GAArB,SAAAA,sBAAsB5D,KAAK,EAAE;IAC3B,IAAI6D,OAAO,GAAG,IAAI,CAACJ,QAAQ,CAACzD,KAAK,CAAC;IAClC,OAAQ6D,OAAO;GAChB;EAAA,OAAAV,QAAA;AAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keski_lib_catalog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"description": "Keski catalog components for Keski store, Codenation Studio",
|
|
5
5
|
"author": "Francisco Marmolejo",
|
|
6
6
|
"license": "",
|
|
@@ -55,6 +55,8 @@
|
|
|
55
55
|
"@emotion/styled": "^11.11.0",
|
|
56
56
|
"@mui/material": "^5.12.3",
|
|
57
57
|
"node-sass": "^8.0.0",
|
|
58
|
+
"react-swipeable-views": "^0.14.0",
|
|
59
|
+
"react-swipeable-views-utils": "^0.14.0",
|
|
58
60
|
"rollup-plugin-import-css": "^3.2.1"
|
|
59
61
|
}
|
|
60
62
|
}
|