Backup pre-corrección namespaces: mejoras schemas y componentes
Cambios incluidos: - Actualización de copy/textos en 7 schemas JSON - Mejoras en AdminAjaxHandler con mapeos adicionales - Refactorización de FormBuilders y Renderers - Correcciones en dashboard admin JS - Nuevo ContactFormRenderer funcional NOTA: Este commit sirve como respaldo antes de corregir inconsistencias de case en namespaces (API→Api, WordPress→Wordpress) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
"section_title": {
|
||||
"type": "text",
|
||||
"label": "Titulo de seccion",
|
||||
"default": "¿Tienes alguna pregunta?",
|
||||
"default": "¿Necesitas Ayuda con tu Presupuesto?",
|
||||
"editable": true
|
||||
},
|
||||
"section_description": {
|
||||
@@ -88,7 +88,7 @@
|
||||
"phone_value": {
|
||||
"type": "text",
|
||||
"label": "Numero telefono",
|
||||
"default": "+52 55 1234 5678",
|
||||
"default": "",
|
||||
"editable": true
|
||||
},
|
||||
"email_label": {
|
||||
@@ -100,7 +100,7 @@
|
||||
"email_value": {
|
||||
"type": "text",
|
||||
"label": "Direccion email",
|
||||
"default": "contacto@apumexico.com",
|
||||
"default": "",
|
||||
"editable": true
|
||||
},
|
||||
"location_label": {
|
||||
@@ -148,7 +148,7 @@
|
||||
"message_placeholder": {
|
||||
"type": "text",
|
||||
"label": "Placeholder mensaje",
|
||||
"default": "¿En qué podemos ayudarte?",
|
||||
"default": "¿En qué tema de precios unitarios podemos ayudarte?",
|
||||
"editable": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,25 +45,25 @@
|
||||
"title": {
|
||||
"type": "text",
|
||||
"label": "Título",
|
||||
"default": "¿Listo para potenciar tus proyectos?",
|
||||
"default": "¿Sigues Armando Presupuestos Desde Cero?",
|
||||
"editable": true
|
||||
},
|
||||
"description": {
|
||||
"type": "textarea",
|
||||
"label": "Descripción",
|
||||
"default": "Accede a nuestra biblioteca completa de APUs y herramientas profesionales.",
|
||||
"default": "Ahorra cientos de horas con la biblioteca de precios unitarios más grande de México.",
|
||||
"editable": true
|
||||
},
|
||||
"button_text": {
|
||||
"type": "text",
|
||||
"label": "Texto del botón",
|
||||
"default": "Solicitar Demo",
|
||||
"default": "Convertirme en V.I.P.",
|
||||
"editable": true
|
||||
},
|
||||
"button_icon": {
|
||||
"type": "text",
|
||||
"label": "Icono del botón",
|
||||
"default": "bi bi-calendar-check",
|
||||
"default": "bi bi-star-fill",
|
||||
"editable": true,
|
||||
"description": "Clase Bootstrap Icons (ej: bi bi-calendar-check)"
|
||||
},
|
||||
@@ -176,7 +176,7 @@
|
||||
"container_padding": {
|
||||
"type": "text",
|
||||
"label": "Padding contenedor",
|
||||
"default": "24px",
|
||||
"default": "15px",
|
||||
"editable": true
|
||||
},
|
||||
"title_margin_bottom": {
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"button_text": {
|
||||
"type": "text",
|
||||
"label": "Texto del botón",
|
||||
"default": "Let's Talk",
|
||||
"default": "Contáctanos",
|
||||
"editable": true,
|
||||
"required": true,
|
||||
"maxlength": 30,
|
||||
@@ -62,7 +62,7 @@
|
||||
"icon_class": {
|
||||
"type": "text",
|
||||
"label": "Clase del ícono Bootstrap",
|
||||
"default": "bi-lightning-charge-fill",
|
||||
"default": "bi-chat-dots-fill",
|
||||
"editable": true,
|
||||
"required": true,
|
||||
"placeholder": "Ej: bi-lightning-charge-fill, bi-chat-dots",
|
||||
|
||||
@@ -45,31 +45,31 @@
|
||||
"title": {
|
||||
"type": "text",
|
||||
"label": "Titulo",
|
||||
"default": "Accede a 200,000+ Analisis de Precios Unitarios",
|
||||
"default": "Tu Punto de Partida: +200,000 Precios Unitarios",
|
||||
"editable": true
|
||||
},
|
||||
"description": {
|
||||
"type": "textarea",
|
||||
"label": "Descripcion",
|
||||
"default": "Consulta estructuras completas, insumos y dosificaciones de los APUs mas utilizados en construccion en Mexico.",
|
||||
"default": "Olvídate de la página en blanco. Consulta estructuras, rendimientos y componentes listos para adaptar a tu proyecto.",
|
||||
"editable": true
|
||||
},
|
||||
"button_text": {
|
||||
"type": "text",
|
||||
"label": "Texto del boton",
|
||||
"default": "Ver Catalogo Completo",
|
||||
"default": "Convertirme en V.I.P.",
|
||||
"editable": true
|
||||
},
|
||||
"button_url": {
|
||||
"type": "url",
|
||||
"label": "URL del boton",
|
||||
"default": "/catalogo",
|
||||
"default": "/suscripcion-vip",
|
||||
"editable": true
|
||||
},
|
||||
"button_icon": {
|
||||
"type": "text",
|
||||
"label": "Icono del boton",
|
||||
"default": "bi-arrow-right",
|
||||
"default": "bi-star-fill",
|
||||
"editable": true,
|
||||
"description": "Clase de Bootstrap Icons (ej: bi-arrow-right)"
|
||||
}
|
||||
@@ -141,22 +141,23 @@
|
||||
"button_bg_color": {
|
||||
"type": "color",
|
||||
"label": "Fondo boton",
|
||||
"default": "#ffffff",
|
||||
"default": "#FF8600",
|
||||
"editable": true,
|
||||
"description": "btn-light de Bootstrap"
|
||||
"description": "Color naranja primario"
|
||||
},
|
||||
"button_text_color": {
|
||||
"type": "color",
|
||||
"label": "Texto boton",
|
||||
"default": "#212529",
|
||||
"default": "#ffffff",
|
||||
"editable": true,
|
||||
"description": "Color oscuro para contraste"
|
||||
"description": "Texto blanco para contraste"
|
||||
},
|
||||
"button_hover_bg": {
|
||||
"type": "color",
|
||||
"label": "Fondo boton hover",
|
||||
"default": "#f8f9fa",
|
||||
"editable": true
|
||||
"default": "#e67a00",
|
||||
"editable": true,
|
||||
"description": "Naranja oscuro en hover"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -180,9 +181,9 @@
|
||||
"container_padding": {
|
||||
"type": "text",
|
||||
"label": "Padding interno",
|
||||
"default": "1.5rem",
|
||||
"default": "2rem",
|
||||
"editable": true,
|
||||
"description": "p-4 de Bootstrap"
|
||||
"description": "Padding interno del contenedor"
|
||||
},
|
||||
"title_margin_bottom": {
|
||||
"type": "text",
|
||||
@@ -207,9 +208,9 @@
|
||||
"border_radius": {
|
||||
"type": "text",
|
||||
"label": "Radio de borde",
|
||||
"default": "0.375rem",
|
||||
"default": "12px",
|
||||
"editable": true,
|
||||
"description": "rounded de Bootstrap"
|
||||
"description": "Radio de esquinas del contenedor"
|
||||
},
|
||||
"gradient_angle": {
|
||||
"type": "text",
|
||||
@@ -239,8 +240,9 @@
|
||||
"box_shadow": {
|
||||
"type": "text",
|
||||
"label": "Sombra contenedor",
|
||||
"default": "none",
|
||||
"editable": true
|
||||
"default": "0 8px 24px rgba(255, 133, 0, 0.3)",
|
||||
"editable": true,
|
||||
"description": "Sombra naranja sutil"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"widget_1_title": {
|
||||
"type": "text",
|
||||
"label": "Titulo Widget 1",
|
||||
"default": "Recursos",
|
||||
"default": "Membresías V.I.P.",
|
||||
"editable": true,
|
||||
"description": "El contenido se gestiona desde Apariencia > Menus > Footer Menu 1"
|
||||
},
|
||||
@@ -49,6 +49,19 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"widget_1b": {
|
||||
"label": "Widget 1B (Menu secundario columna 1)",
|
||||
"priority": 25,
|
||||
"fields": {
|
||||
"widget_1b_title": {
|
||||
"type": "text",
|
||||
"label": "Titulo Widget 1B",
|
||||
"default": "Bases de datos",
|
||||
"editable": true,
|
||||
"description": "El contenido se gestiona desde Apariencia > Menus > Footer Menu 4. Solo se muestra si tiene menu asignado."
|
||||
}
|
||||
}
|
||||
},
|
||||
"widget_2": {
|
||||
"label": "Widget 2 (Menu)",
|
||||
"priority": 30,
|
||||
@@ -56,7 +69,7 @@
|
||||
"widget_2_title": {
|
||||
"type": "text",
|
||||
"label": "Titulo Widget 2",
|
||||
"default": "Soporte",
|
||||
"default": "Cursos Gratuitos",
|
||||
"editable": true,
|
||||
"description": "El contenido se gestiona desde Apariencia > Menus > Footer Menu 2"
|
||||
},
|
||||
@@ -75,7 +88,7 @@
|
||||
"widget_3_title": {
|
||||
"type": "text",
|
||||
"label": "Titulo Widget 3",
|
||||
"default": "Empresa",
|
||||
"default": "Cursos de Pago",
|
||||
"editable": true,
|
||||
"description": "El contenido se gestiona desde Apariencia > Menus > Footer Menu 3"
|
||||
},
|
||||
@@ -109,12 +122,24 @@
|
||||
"default": "Recibe las ultimas actualizaciones de APUs.",
|
||||
"editable": true
|
||||
},
|
||||
"newsletter_placeholder": {
|
||||
"newsletter_name_placeholder": {
|
||||
"type": "text",
|
||||
"label": "Placeholder nombre",
|
||||
"default": "Nombre",
|
||||
"editable": true
|
||||
},
|
||||
"newsletter_email_placeholder": {
|
||||
"type": "text",
|
||||
"label": "Placeholder email",
|
||||
"default": "Email",
|
||||
"editable": true
|
||||
},
|
||||
"newsletter_whatsapp_placeholder": {
|
||||
"type": "text",
|
||||
"label": "Placeholder WhatsApp",
|
||||
"default": "WhatsApp",
|
||||
"editable": true
|
||||
},
|
||||
"newsletter_button_text": {
|
||||
"type": "text",
|
||||
"label": "Texto boton",
|
||||
@@ -122,11 +147,11 @@
|
||||
"editable": true
|
||||
},
|
||||
"newsletter_webhook_url": {
|
||||
"type": "url",
|
||||
"type": "textarea",
|
||||
"label": "URL del Webhook",
|
||||
"default": "",
|
||||
"editable": true,
|
||||
"description": "URL donde se enviara el email de suscripcion (no visible en frontend)",
|
||||
"description": "URL donde se enviara la suscripcion (no visible en frontend)",
|
||||
"secret": true
|
||||
},
|
||||
"newsletter_success_message": {
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
"brand_text": {
|
||||
"type": "text",
|
||||
"label": "Texto de la marca",
|
||||
"default": "Mi Sitio",
|
||||
"default": "APU's México",
|
||||
"editable": true,
|
||||
"maxlength": 50,
|
||||
"conditional_logic": {
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
"label_text": {
|
||||
"type": "text",
|
||||
"label": "Etiqueta del anuncio",
|
||||
"default": "Nuevo:",
|
||||
"default": "Nueva imagen, mejor experiencia:",
|
||||
"editable": true,
|
||||
"required": true,
|
||||
"maxlength": 30,
|
||||
@@ -73,7 +73,7 @@
|
||||
"message_text": {
|
||||
"type": "textarea",
|
||||
"label": "Texto del mensaje",
|
||||
"default": "Accede a más de 200,000 Análisis de Precios Unitarios actualizados para 2025.",
|
||||
"default": "+200,000 APUs disponibles. 10,000 con costos 2025, actualizamos los costos de 300 más cada día.",
|
||||
"editable": true,
|
||||
"required": true,
|
||||
"maxlength": 200,
|
||||
@@ -83,7 +83,7 @@
|
||||
"link_text": {
|
||||
"type": "text",
|
||||
"label": "Texto del enlace",
|
||||
"default": "Ver Catálogo",
|
||||
"default": "Convertirme en V.I.P.",
|
||||
"editable": true,
|
||||
"required": true,
|
||||
"maxlength": 50,
|
||||
|
||||
Reference in New Issue
Block a user