keski_lib_catalog 1.3.25 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +165 -14
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +165 -14
- package/dist/index.modern.js.map +1 -1
- package/dist/pencil_placeholder~DdrRnXBY.png +0 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,6 +9,7 @@ var styles = require('@mui/material/styles');
|
|
|
9
9
|
var Paper = _interopDefault(require('@mui/material/Paper'));
|
|
10
10
|
var Grid = _interopDefault(require('@mui/material/Grid'));
|
|
11
11
|
var Grow = _interopDefault(require('@mui/material/Grow'));
|
|
12
|
+
var pencil = _interopDefault(require('./pencil_placeholder~DdrRnXBY.png'));
|
|
12
13
|
|
|
13
14
|
function _extends() {
|
|
14
15
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
@@ -1458,11 +1459,11 @@ function Layout1$8(content) {
|
|
|
1458
1459
|
marginBottom: '45px',
|
|
1459
1460
|
whiteSpace: 'pre-wrap',
|
|
1460
1461
|
fontSize: {
|
|
1461
|
-
xs: '
|
|
1462
|
-
sm: '
|
|
1463
|
-
md: '
|
|
1464
|
-
lg: '
|
|
1465
|
-
xl: '
|
|
1462
|
+
xs: '30px',
|
|
1463
|
+
sm: '30px',
|
|
1464
|
+
md: '36px',
|
|
1465
|
+
lg: '48px',
|
|
1466
|
+
xl: '48px'
|
|
1466
1467
|
},
|
|
1467
1468
|
fontWeight: 'bold'
|
|
1468
1469
|
}
|
|
@@ -1497,13 +1498,17 @@ function Layout1$8(content) {
|
|
|
1497
1498
|
component: 'p',
|
|
1498
1499
|
sx: {
|
|
1499
1500
|
fontSize: {
|
|
1500
|
-
xs: '
|
|
1501
|
-
sm: '
|
|
1502
|
-
md: '
|
|
1503
|
-
lg: '
|
|
1504
|
-
xl: '
|
|
1501
|
+
xs: '24px',
|
|
1502
|
+
sm: '24px',
|
|
1503
|
+
md: '28px',
|
|
1504
|
+
lg: '32px',
|
|
1505
|
+
xl: '32px'
|
|
1505
1506
|
},
|
|
1506
|
-
|
|
1507
|
+
overflow: 'hidden',
|
|
1508
|
+
textOverflow: 'ellipsis',
|
|
1509
|
+
display: '-webkit-box',
|
|
1510
|
+
WebkitLineClamp: 1,
|
|
1511
|
+
WebkitBoxOrient: 'vertical',
|
|
1507
1512
|
width: '100%'
|
|
1508
1513
|
},
|
|
1509
1514
|
dangerouslySetInnerHTML: {
|
|
@@ -1525,13 +1530,157 @@ var Categories = /*#__PURE__*/function (_AtomicElements) {
|
|
|
1525
1530
|
'button_title': 'Button title',
|
|
1526
1531
|
'button_action': 'Button action',
|
|
1527
1532
|
'button_active': 'Button active',
|
|
1528
|
-
'link': '
|
|
1533
|
+
'link': 'link'
|
|
1529
1534
|
}];
|
|
1530
1535
|
return _this;
|
|
1531
1536
|
}
|
|
1532
1537
|
return Categories;
|
|
1533
1538
|
}(AtomicElements);
|
|
1534
1539
|
|
|
1540
|
+
function Layout(content) {
|
|
1541
|
+
var callToAction = "Ingresa a Keski Creator desde tu panel administrativo para editar esta vista.";
|
|
1542
|
+
var infoLoadingMap = {
|
|
1543
|
+
'landing/content/1': {
|
|
1544
|
+
title: "Página de inicio",
|
|
1545
|
+
description: "Esta página es muy importante, aquí es la primera impresión de tus clientes. Agrega las secciones necesarias para que tu cliente te conozca, utiliza un diseño agradable y atractivo para captar su atención desde el primer momento. Personaliza el contenido para reflejar la esencia de tu marca y los valores de tu negocio."
|
|
1546
|
+
},
|
|
1547
|
+
'landing/content/2': {
|
|
1548
|
+
title: "Productos",
|
|
1549
|
+
description: "En esta sección puedes detallar los productos que ofreces. Organiza tu catálogo y facilita la navegación."
|
|
1550
|
+
},
|
|
1551
|
+
'landing/content/3': {
|
|
1552
|
+
title: "Nosotros",
|
|
1553
|
+
description: "Aquí puedes contar la historia de tu empresa, presentar a tu equipo y destacar tus valores y misión. Es una excelente oportunidad para generar confianza y credibilidad. Usa esta sección para humanizar tu marca y conectar emocionalmente con tus visitantes."
|
|
1554
|
+
},
|
|
1555
|
+
'landing/content/4': {
|
|
1556
|
+
title: "Catálogo",
|
|
1557
|
+
description: "Muestra una lista detallada de todos los productos o servicios que ofreces. Organiza tu catálogo de manera que sea fácil de navegar y busca resaltar tus productos más populares o nuevos lanzamientos. Puedes incluir filtros y categorías para mejorar la experiencia del usuario."
|
|
1558
|
+
},
|
|
1559
|
+
'landing/content/5': {
|
|
1560
|
+
title: "Servicios",
|
|
1561
|
+
description: "En esta página puedes detallar los diferentes servicios que ofreces. Describe cada servicio de manera clara y concisa, incluyendo sus beneficios y características. Utiliza imágenes y testimonios para reforzar la calidad de tus servicios y motivar a los visitantes a contactarte."
|
|
1562
|
+
},
|
|
1563
|
+
'landing/content/6': {
|
|
1564
|
+
title: "Blog",
|
|
1565
|
+
description: "Comparte artículos, noticias y actualizaciones relacionadas con tu negocio. Un blog activo puede mejorar tu SEO y mantener a tus clientes informados y comprometidos. Publica contenido relevante y útil que pueda interesar a tus visitantes y mostrar tu expertise en la industria."
|
|
1566
|
+
},
|
|
1567
|
+
'landing/content/7': {
|
|
1568
|
+
title: "Ubicación",
|
|
1569
|
+
description: "Aquí puedes mostrar a tus clientes dónde estás ubicado. Incluye un mapa interactivo, tu dirección completa y cualquier otra información de contacto relevante. Si tienes varias ubicaciones, asegúrate de incluir detalles para cada una. También puedes agregar instrucciones sobre cómo llegar y el horario de atención."
|
|
1570
|
+
},
|
|
1571
|
+
'placeholder': {
|
|
1572
|
+
title: "En construccion",
|
|
1573
|
+
description: "Bienvenido a la página principal. Aquí encontrarás información general y acceso a las diferentes secciones."
|
|
1574
|
+
}
|
|
1575
|
+
};
|
|
1576
|
+
var visible = true;
|
|
1577
|
+
return /*#__PURE__*/React__default.createElement(material.Slide, {
|
|
1578
|
+
direction: "Center",
|
|
1579
|
+
"in": visible
|
|
1580
|
+
}, /*#__PURE__*/React__default.createElement(material.Box, {
|
|
1581
|
+
sx: {
|
|
1582
|
+
width: {
|
|
1583
|
+
xs: '100%'
|
|
1584
|
+
},
|
|
1585
|
+
height: {
|
|
1586
|
+
xs: '80vh',
|
|
1587
|
+
sm: "80vh",
|
|
1588
|
+
md: "80vh"
|
|
1589
|
+
},
|
|
1590
|
+
backgroundPosition: 'center',
|
|
1591
|
+
justifyContent: 'center',
|
|
1592
|
+
display: 'flex'
|
|
1593
|
+
}
|
|
1594
|
+
}, /*#__PURE__*/React__default.createElement(material.Box, {
|
|
1595
|
+
sx: {
|
|
1596
|
+
display: 'flex',
|
|
1597
|
+
flexDirection: 'column',
|
|
1598
|
+
width: {
|
|
1599
|
+
xs: '100%',
|
|
1600
|
+
md: '80%',
|
|
1601
|
+
lg: '70%'
|
|
1602
|
+
},
|
|
1603
|
+
height: {
|
|
1604
|
+
xs: '80vh',
|
|
1605
|
+
lg: '80vh'
|
|
1606
|
+
},
|
|
1607
|
+
justifyContent: 'center',
|
|
1608
|
+
alignItems: "center",
|
|
1609
|
+
paddingLeft: {
|
|
1610
|
+
lg: "0px",
|
|
1611
|
+
md: "24px",
|
|
1612
|
+
sm: "16px",
|
|
1613
|
+
xs: "16px"
|
|
1614
|
+
},
|
|
1615
|
+
paddingRight: {
|
|
1616
|
+
lg: "24px",
|
|
1617
|
+
md: "24px",
|
|
1618
|
+
sm: "16px",
|
|
1619
|
+
xs: "16px"
|
|
1620
|
+
},
|
|
1621
|
+
textAlign: 'center'
|
|
1622
|
+
}
|
|
1623
|
+
}, /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
1624
|
+
component: 'p',
|
|
1625
|
+
sx: {
|
|
1626
|
+
marginBottom: '16px',
|
|
1627
|
+
whiteSpace: 'pre-wrap',
|
|
1628
|
+
fontSize: {
|
|
1629
|
+
xs: "2em",
|
|
1630
|
+
sm: "2em",
|
|
1631
|
+
md: "3.75em",
|
|
1632
|
+
lg: "3.75em",
|
|
1633
|
+
xl: "3.75em"
|
|
1634
|
+
},
|
|
1635
|
+
color: '#60269E'
|
|
1636
|
+
}
|
|
1637
|
+
}, infoLoadingMap[content.component.view_placeholder].title), /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
1638
|
+
component: 'a',
|
|
1639
|
+
sx: {
|
|
1640
|
+
marginBottom: '16px',
|
|
1641
|
+
justifyContent: 'center',
|
|
1642
|
+
fontSize: {
|
|
1643
|
+
xs: "1.25em",
|
|
1644
|
+
sm: "1.25em",
|
|
1645
|
+
md: "1.25em",
|
|
1646
|
+
lg: "1.25em",
|
|
1647
|
+
xl: "1.25em"
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
}, infoLoadingMap[content.component.view_placeholder].description), /*#__PURE__*/React__default.createElement("img", {
|
|
1651
|
+
src: pencil,
|
|
1652
|
+
alt: "Logo"
|
|
1653
|
+
}), /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
1654
|
+
component: 'a',
|
|
1655
|
+
sx: {
|
|
1656
|
+
marginBottom: '16px',
|
|
1657
|
+
justifyContent: 'center',
|
|
1658
|
+
fontSize: {
|
|
1659
|
+
xs: "1.25em",
|
|
1660
|
+
sm: "1.25em",
|
|
1661
|
+
md: "1.25em",
|
|
1662
|
+
lg: "1.25em",
|
|
1663
|
+
xl: "1.25em"
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
}, callToAction))));
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
var PlaceHolder = /*#__PURE__*/function (_AtomicElements) {
|
|
1670
|
+
_inheritsLoose(PlaceHolder, _AtomicElements);
|
|
1671
|
+
function PlaceHolder() {
|
|
1672
|
+
var _this;
|
|
1673
|
+
_this = _AtomicElements.call(this) || this;
|
|
1674
|
+
_this.layout = [Layout];
|
|
1675
|
+
_this.layoutFootprint = ['banner_layout_1.jpg'];
|
|
1676
|
+
_this.layoutFootprintReq = [{
|
|
1677
|
+
'type': 0
|
|
1678
|
+
}];
|
|
1679
|
+
return _this;
|
|
1680
|
+
}
|
|
1681
|
+
return PlaceHolder;
|
|
1682
|
+
}(AtomicElements);
|
|
1683
|
+
|
|
1535
1684
|
var Section = /*#__PURE__*/function () {
|
|
1536
1685
|
function Section(AtomicElement, theme) {
|
|
1537
1686
|
this.child = AtomicElement;
|
|
@@ -1570,7 +1719,8 @@ var Sections = /*#__PURE__*/function () {
|
|
|
1570
1719
|
this.brands = new Section(new Brands());
|
|
1571
1720
|
this.faq = new Section(new FAQ());
|
|
1572
1721
|
this.categories = new Section(new Categories());
|
|
1573
|
-
this.
|
|
1722
|
+
this.placeholder = new Section(new PlaceHolder());
|
|
1723
|
+
this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text, this.list, this.brands, this.faq, this.categories, this.placeholder];
|
|
1574
1724
|
}
|
|
1575
1725
|
var _proto2 = Sections.prototype;
|
|
1576
1726
|
_proto2.getSectionList = function getSectionList() {
|
|
@@ -1583,7 +1733,8 @@ var Sections = /*#__PURE__*/function () {
|
|
|
1583
1733
|
'5': 'Lista',
|
|
1584
1734
|
'6': 'Marcas',
|
|
1585
1735
|
'7': 'FAQ',
|
|
1586
|
-
'8': 'Categorias'
|
|
1736
|
+
'8': 'Categorias',
|
|
1737
|
+
'9': 'Placeholder'
|
|
1587
1738
|
};
|
|
1588
1739
|
};
|
|
1589
1740
|
_proto2.getLayoutsFromSection = function getLayoutsFromSection(index) {
|