keski_lib_catalog 1.3.26 → 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.
@@ -6,6 +6,7 @@ import { styled } from '@mui/material/styles';
6
6
  import Paper from '@mui/material/Paper';
7
7
  import Grid from '@mui/material/Grid';
8
8
  import Grow from '@mui/material/Grow';
9
+ import pencil from './pencil_placeholder~DdrRnXBY.png';
9
10
 
10
11
  function _extends() {
11
12
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -1533,6 +1534,150 @@ var Categories = /*#__PURE__*/function (_AtomicElements) {
1533
1534
  return Categories;
1534
1535
  }(AtomicElements);
1535
1536
 
1537
+ function Layout(content) {
1538
+ var callToAction = "Ingresa a Keski Creator desde tu panel administrativo para editar esta vista.";
1539
+ var infoLoadingMap = {
1540
+ 'landing/content/1': {
1541
+ title: "Página de inicio",
1542
+ 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."
1543
+ },
1544
+ 'landing/content/2': {
1545
+ title: "Productos",
1546
+ description: "En esta sección puedes detallar los productos que ofreces. Organiza tu catálogo y facilita la navegación."
1547
+ },
1548
+ 'landing/content/3': {
1549
+ title: "Nosotros",
1550
+ 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."
1551
+ },
1552
+ 'landing/content/4': {
1553
+ title: "Catálogo",
1554
+ 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."
1555
+ },
1556
+ 'landing/content/5': {
1557
+ title: "Servicios",
1558
+ 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."
1559
+ },
1560
+ 'landing/content/6': {
1561
+ title: "Blog",
1562
+ 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."
1563
+ },
1564
+ 'landing/content/7': {
1565
+ title: "Ubicación",
1566
+ 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."
1567
+ },
1568
+ 'placeholder': {
1569
+ title: "En construccion",
1570
+ description: "Bienvenido a la página principal. Aquí encontrarás información general y acceso a las diferentes secciones."
1571
+ }
1572
+ };
1573
+ var visible = true;
1574
+ return /*#__PURE__*/React.createElement(Slide, {
1575
+ direction: "Center",
1576
+ "in": visible
1577
+ }, /*#__PURE__*/React.createElement(Box, {
1578
+ sx: {
1579
+ width: {
1580
+ xs: '100%'
1581
+ },
1582
+ height: {
1583
+ xs: '80vh',
1584
+ sm: "80vh",
1585
+ md: "80vh"
1586
+ },
1587
+ backgroundPosition: 'center',
1588
+ justifyContent: 'center',
1589
+ display: 'flex'
1590
+ }
1591
+ }, /*#__PURE__*/React.createElement(Box, {
1592
+ sx: {
1593
+ display: 'flex',
1594
+ flexDirection: 'column',
1595
+ width: {
1596
+ xs: '100%',
1597
+ md: '80%',
1598
+ lg: '70%'
1599
+ },
1600
+ height: {
1601
+ xs: '80vh',
1602
+ lg: '80vh'
1603
+ },
1604
+ justifyContent: 'center',
1605
+ alignItems: "center",
1606
+ paddingLeft: {
1607
+ lg: "0px",
1608
+ md: "24px",
1609
+ sm: "16px",
1610
+ xs: "16px"
1611
+ },
1612
+ paddingRight: {
1613
+ lg: "24px",
1614
+ md: "24px",
1615
+ sm: "16px",
1616
+ xs: "16px"
1617
+ },
1618
+ textAlign: 'center'
1619
+ }
1620
+ }, /*#__PURE__*/React.createElement(Typography, {
1621
+ component: 'p',
1622
+ sx: {
1623
+ marginBottom: '16px',
1624
+ whiteSpace: 'pre-wrap',
1625
+ fontSize: {
1626
+ xs: "2em",
1627
+ sm: "2em",
1628
+ md: "3.75em",
1629
+ lg: "3.75em",
1630
+ xl: "3.75em"
1631
+ },
1632
+ color: '#60269E'
1633
+ }
1634
+ }, infoLoadingMap[content.component.view_placeholder].title), /*#__PURE__*/React.createElement(Typography, {
1635
+ component: 'a',
1636
+ sx: {
1637
+ marginBottom: '16px',
1638
+ justifyContent: 'center',
1639
+ fontSize: {
1640
+ xs: "1.25em",
1641
+ sm: "1.25em",
1642
+ md: "1.25em",
1643
+ lg: "1.25em",
1644
+ xl: "1.25em"
1645
+ }
1646
+ }
1647
+ }, infoLoadingMap[content.component.view_placeholder].description), /*#__PURE__*/React.createElement("img", {
1648
+ src: pencil,
1649
+ alt: "Logo"
1650
+ }), /*#__PURE__*/React.createElement(Typography, {
1651
+ component: 'a',
1652
+ sx: {
1653
+ marginBottom: '16px',
1654
+ justifyContent: 'center',
1655
+ fontSize: {
1656
+ xs: "1.25em",
1657
+ sm: "1.25em",
1658
+ md: "1.25em",
1659
+ lg: "1.25em",
1660
+ xl: "1.25em"
1661
+ }
1662
+ }
1663
+ }, callToAction))));
1664
+ }
1665
+
1666
+ var PlaceHolder = /*#__PURE__*/function (_AtomicElements) {
1667
+ _inheritsLoose(PlaceHolder, _AtomicElements);
1668
+ function PlaceHolder() {
1669
+ var _this;
1670
+ _this = _AtomicElements.call(this) || this;
1671
+ _this.layout = [Layout];
1672
+ _this.layoutFootprint = ['banner_layout_1.jpg'];
1673
+ _this.layoutFootprintReq = [{
1674
+ 'type': 0
1675
+ }];
1676
+ return _this;
1677
+ }
1678
+ return PlaceHolder;
1679
+ }(AtomicElements);
1680
+
1536
1681
  var Section = /*#__PURE__*/function () {
1537
1682
  function Section(AtomicElement, theme) {
1538
1683
  this.child = AtomicElement;
@@ -1571,7 +1716,8 @@ var Sections = /*#__PURE__*/function () {
1571
1716
  this.brands = new Section(new Brands());
1572
1717
  this.faq = new Section(new FAQ());
1573
1718
  this.categories = new Section(new Categories());
1574
- this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text, this.list, this.brands, this.faq, this.categories];
1719
+ this.placeholder = new Section(new PlaceHolder());
1720
+ this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text, this.list, this.brands, this.faq, this.categories, this.placeholder];
1575
1721
  }
1576
1722
  var _proto2 = Sections.prototype;
1577
1723
  _proto2.getSectionList = function getSectionList() {
@@ -1584,7 +1730,8 @@ var Sections = /*#__PURE__*/function () {
1584
1730
  '5': 'Lista',
1585
1731
  '6': 'Marcas',
1586
1732
  '7': 'FAQ',
1587
- '8': 'Categorias'
1733
+ '8': 'Categorias',
1734
+ '9': 'Placeholder'
1588
1735
  };
1589
1736
  };
1590
1737
  _proto2.getLayoutsFromSection = function getLayoutsFromSection(index) {