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.
@@ -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) {
@@ -1455,11 +1456,11 @@ function Layout1$8(content) {
1455
1456
  marginBottom: '45px',
1456
1457
  whiteSpace: 'pre-wrap',
1457
1458
  fontSize: {
1458
- xs: '1.875em',
1459
- sm: '2.25em',
1460
- md: '3em',
1461
- lg: '32px',
1462
- xl: '32px'
1459
+ xs: '30px',
1460
+ sm: '30px',
1461
+ md: '36px',
1462
+ lg: '48px',
1463
+ xl: '48px'
1463
1464
  },
1464
1465
  fontWeight: 'bold'
1465
1466
  }
@@ -1494,13 +1495,17 @@ function Layout1$8(content) {
1494
1495
  component: 'p',
1495
1496
  sx: {
1496
1497
  fontSize: {
1497
- xs: '1.875em',
1498
- sm: '2.25em',
1499
- md: '3em',
1500
- lg: '3em',
1501
- xl: '3em'
1498
+ xs: '24px',
1499
+ sm: '24px',
1500
+ md: '28px',
1501
+ lg: '32px',
1502
+ xl: '32px'
1502
1503
  },
1503
- whiteSpace: 'pre-wrap',
1504
+ overflow: 'hidden',
1505
+ textOverflow: 'ellipsis',
1506
+ display: '-webkit-box',
1507
+ WebkitLineClamp: 1,
1508
+ WebkitBoxOrient: 'vertical',
1504
1509
  width: '100%'
1505
1510
  },
1506
1511
  dangerouslySetInnerHTML: {
@@ -1522,13 +1527,157 @@ var Categories = /*#__PURE__*/function (_AtomicElements) {
1522
1527
  'button_title': 'Button title',
1523
1528
  'button_action': 'Button action',
1524
1529
  'button_active': 'Button active',
1525
- 'link': 'Link'
1530
+ 'link': 'link'
1526
1531
  }];
1527
1532
  return _this;
1528
1533
  }
1529
1534
  return Categories;
1530
1535
  }(AtomicElements);
1531
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
+
1532
1681
  var Section = /*#__PURE__*/function () {
1533
1682
  function Section(AtomicElement, theme) {
1534
1683
  this.child = AtomicElement;
@@ -1567,7 +1716,8 @@ var Sections = /*#__PURE__*/function () {
1567
1716
  this.brands = new Section(new Brands());
1568
1717
  this.faq = new Section(new FAQ());
1569
1718
  this.categories = new Section(new Categories());
1570
- 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];
1571
1721
  }
1572
1722
  var _proto2 = Sections.prototype;
1573
1723
  _proto2.getSectionList = function getSectionList() {
@@ -1580,7 +1730,8 @@ var Sections = /*#__PURE__*/function () {
1580
1730
  '5': 'Lista',
1581
1731
  '6': 'Marcas',
1582
1732
  '7': 'FAQ',
1583
- '8': 'Categorias'
1733
+ '8': 'Categorias',
1734
+ '9': 'Placeholder'
1584
1735
  };
1585
1736
  };
1586
1737
  _proto2.getLayoutsFromSection = function getLayoutsFromSection(index) {