UNPKG

on-codemerge

Version:

A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product

526 lines (525 loc) 19.4 kB
/*! on-codemerge v1.3.1 @author Pavel Kuzmin @license MIT @homepage https://s00d.github.io/on-codemerge/ @repository git+https://github.com/s00d/on-codemerge.git Copyright (c) 2026 Pavel Kuzmin - Built on 2026-07-02T13:39:17.947Z */ const e = "Ene", a = "Feb", o = "Mar", t = "Abr", r = "May", i = "Jun", n = "Jul", l = "Ago", s = "Sep", c = "Oct", d = "Nov", p = "Dic", m = "Tipografía", u = "Párrafo", g = "Cita", C = "Preformateado", b = "Actualizado", E = "Nuevo", v = "Plantillas", T = "Nombre", h = "Contenido", A = "Negrita", S = "Subrayado", y = "Tachado", I = "Cursiva", f = "Responsivo", z = "Serie", D = "Total", w = "Etiqueta", L = "Valor", x = "Color", F = "Formato", P = "X", V = "Y", H = "Tamaño", M = "URL", B = "Ancla", R = "Título", q = "Copiar", N = "Guardar", k = "Ver", U = "Duplicar", j = "Cancelar", O = "Editar", G = "Eliminar", Y = "Eliminar", W = "Idioma", X = "Exportar", J = "¿Estás seguro?", _ = "explorar", K = "Subiendo", Z = "Palabras", Q = "Caracteres", $ = "Oraciones", ee = "Párrafos", ae = "Deshacer", oe = "Rehacer", te = "Restaurar", re = "Notas al Pie", ie = "Insertar", ne = "min", le = "Leyenda", se = "Aplicar", ce = "Tema", de = "Dimensiones", pe = "Ancho", me = "Bordes", ue = "Colores", ge = "Efectos", Ce = "Punto de quiebre", be = "Alineación", Ee = "Relleno", ve = "Altura", Te = "Dividir", he = "Horizontalmente", Ae = "Verticalmente", Se = "Combinar", ye = "Mover", Ie = "Arriba", fe = "Abajo", ze = "Configuración", De = "Cortar", we = "Pegar", Le = "Ordenar", xe = "Propiedades", Fe = "Celdas", Pe = "Móvil", Ve = "Tablet", He = "Escritorio", Me = "Grande", Be = "Ultra", Re = "Fluido", qe = "Temporizador", Ne = "General", ke = "días", Ue = "horas", je = "seg", Oe = "Hasta", Ge = "Crear", Ye = "Actualizar", We = "Acciones", Xe = "Ascendente", Je = "Asistentes", _e = "Calendario", Ke = "Categoría", Ze = "Limpiar", Qe = "Colaboración", $e = "Datos", ea = "Descendente", aa = "Descripción", oa = "Evento", ta = "Alto", ra = "Importar", ia = "Ubicación", na = "Bajo", la = "Medio", sa = "Orientación", ca = "Prioridad", da = "Selección", pa = "Etiquetas", ma = "Hora", ua = "Consejos", ga = { "New Block": "Nuevo Bloque", "Split Horizontally": "Dividir Horizontalmente", "Split Vertically": "Dividir Verticalmente", "Move Up": "Mover Arriba", "Move Down": "Mover Abajo", "Block 1": "Bloque 1", "Block 2": "Bloque 2", "Series 1": "Serie 1", "No valid data points to display": "No hay puntos de datos válidos para mostrar", Jan: e, Feb: a, Mar: o, Apr: t, May: r, Jun: i, Jul: n, Aug: l, Sep: s, Oct: c, Nov: d, Dec: p, "Keyboard Shortcuts": "Atajos de Teclado", "Insert Table": "Insertar Tabla", "Add Row Above": "Agregar Fila Arriba", "Add Row Below": "Agregar Fila Abajo", "Add Column Left": "Agregar Columna a la Izquierda", "Add Column Right": "Agregar Columna a la Derecha", "Delete Row": "Eliminar Fila", "Delete Column": "Eliminar Columna", "Delete Table": "Eliminar Tabla", "Merge Cells": "Combinar Celdas", "Split Cell": "Dividir Celda", "Set Cell Border": "Establecer Borde de Celda", "Include header row": "Incluir fila de encabezado", Typography: m, "Typography Styles": "Estilos de Tipografía", "Clear Formatting": "Borrar Formato", "Heading 1": "Encabezado 1", "Heading 2": "Encabezado 2", "Heading 3": "Encabezado 3", "Heading 4": "Encabezado 4", Paragraph: u, Blockquote: g, Preformatted: C, "Horizontal Line": "Línea Horizontal", Updated: b, "Insert Video": "Insertar Video", "Are you sure you want to delete this template?": "¿Estás seguro de que deseas eliminar esta plantilla?", New: E, Templates: v, Name: T, Content: h, "Insert YouTube Video": "Insertar Video de YouTube", "YouTube Video URL": "URL del Video de YouTube", Bold: A, Underline: S, Strikethrough: y, Italic: I, "Responsive View": "Vista Responsiva", "Mobile View": "Vista Móvil", "Tablet View": "Vista de Tableta", "Desktop View": "Vista de Escritorio", "Large Desktop View": "Vista de Escritorio Grande", "Ultra Wide View": "Vista Ultra Ancha", Responsive: f, "Select a viewport size to preview your content at different screen widths.<br>Use the resize handles in responsive mode to adjust the width manually.": "Seleccione un tamaño de ventana gráfica para previsualizar su contenido en diferentes anchos de pantalla.<br>Use los controles de redimensionamiento en modo responsivo para ajustar el ancho manualmente.", Series: z, Total: D, "Data Points": "Puntos de Datos", "Add Point": "Agregar Punto", Label: w, Value: L, Color: x, Format: F, "Delete Point": "Eliminar Punto", "Series Data": "Datos de la Serie", "Add Series": "Agregar Serie", "Series name": "Nombre de la serie", "Insert Code Block": "Insertar Bloque de Código", "Copy to clipboard": "Copiar al portapapeles", "+ Add Data Point": "+ Agregar Punto de Datos", X: P, Y: V, "Bullet List": "Lista con Viñetas", "Numbered List": "Lista Numerada", Size: H, URL: M, Anchor: B, Title: R, 'Open in new tab (target="_blank")': 'Abrir en una nueva pestaña (target="_blank")', 'Add rel="nofollow"': 'Agregar rel="nofollow"', "Insert Chart": "Insertar Gráfico", "Enter your code here...": "Ingrese su código aquí...", "Copied!": "¡Copiado!", Copy: q, Save: N, View: k, Duplicate: U, Cancel: j, Edit: O, Delete: G, Remove: Y, Language: W, Export: X, Error: "Error", "Insert Link": "Insertar Enlace", "Align Left": "Alinear a la Izquierda", "Align Center": "Centrar", "Align Right": "Alinear a la Derecha", "Insert Image": "Insertar Imagen", "Font Size": "Tamaño de Fuente", "Font Family": "Familia de Fuentes", "Font Settings": "Configuración de Fuente", "Upload File": "Subir Archivo", "Plain Text": "Texto Plano", "Markdown File": "Archivo Markdown", "HTML File": "Archivo HTML", "Use comments to provide feedback or suggestions.": "Use comentarios para proporcionar comentarios o sugerencias.", "Delete Comment": "Eliminar Comentario", "Please select some text to comment on": "Por favor, seleccione un texto para comentar", "Failed to insert comment. Please try selecting a simpler text range.": "Error al insertar el comentario. Intente seleccionar un rango de texto más simple.", "Insert Comment": "Insertar Comentario", "Recent Colors": "Colores Recientes", Confirm: J, "Background Color": "Color de Fondo", "Text Color": "Color de Texto", "Drag and drop your file here, or": "Arrastra y suelta tu archivo aquí, o", browse: _, "Maximum file size: ": "Tamaño máximo de archivo: ", Uploading: K, "File size exceeds 10MB limit": "El tamaño del archivo supera el límite de {{max}}", "Upload failed. Please try again.": "Error al subir. Inténtelo de nuevo.", Words: Z, Characters: Q, "Characters (without spaces)": "Caracteres (sin espacios)", Sentences: $, Paragraphs: ee, "HTML Source": "Código Fuente HTML", "View HTML": "Ver HTML", Undo: ae, Redo: oe, Restore: te, "Initial version": "Versión inicial", "Changes from previous version:": "Cambios desde la versión anterior:", "Edit History": "Historial de Edición", "View History": "Ver Historial", "Reading time": "Tiempo de lectura", "Insert Footnote": "Insertar Nota al Pie", Footnotes: re, "Add Footnote": "Agregar Nota al Pie", "Add explanatory or reference text that will appear at the bottom of the document": "Agregue texto explicativo o de referencia que aparecerá al final del documento", Insert: ie, min: ne, "Export PNG": "Exportar PNG", "Select template...": "Seleccionar plantilla...", "Bar: Sales": "Barra: Ventas", "Pie: Expenses": "Tarta: Gastos", "Doughnut: Browsers": "Dona: Navegadores", "Line: Visitors": "Línea: Visitantes", "Chart Title": "Título del gráfico", "X Axis Label": "Etiqueta del eje X", "Y Axis Label": "Etiqueta del eje Y", Legend: le, "Show Legend": "Mostrar leyenda", "Hide Legend": "Ocultar leyenda", "Table Properties": "Propiedades de la tabla", Apply: se, "Style & Theme": "Estilo y tema", "Table Style": "Estilo de tabla", Theme: ce, Dimensions: de, Width: pe, "Cell Padding": "Relleno de celda", Borders: me, "Border Style": "Estilo de borde", "Border Width": "Ancho de borde", "Border Color": "Color de borde", Colors: ue, "Header Background": "Fondo del encabezado", "Header Text Color": "Color del texto del encabezado", Effects: ge, "Zebra Stripe": "Rayas de cebra", "Hover Effect": "Efecto al pasar", "Responsive Settings": "Configuración responsive", Breakpoint: Ce, "Enable Horizontal Scroll": "Habilitar desplazamiento horizontal", "Enable Touch Support": "Habilitar soporte táctil", "Enable Cards on Mobile": "Habilitar tarjetas en móvil", "Cell Formatting": "Formato de celda", "Text Formatting": "Formato de texto", "Font Weight": "Peso de fuente", "Font Style": "Estilo de fuente", "Text Decoration": "Decoración de texto", Alignment: be, "Horizontal Alignment": "Alineación horizontal", "Vertical Alignment": "Alineación vertical", Padding: Ee, Height: ve, "Insert Lazy Table": "Insertar tabla lazy", "Edit Lazy Table": "Editar tabla lazy", "Fill Table": "Llenar tabla", "Fill Table with Data": "Llenar tabla con datos", "Update Table": "Actualizar tabla", "Text Block": "Bloque de texto", "Container Block": "Bloque contenedor", "Split Container": "Dividir contenedor", Split: Te, Horizontally: he, Vertically: Ae, Merge: Se, Move: ye, Up: Ie, Down: fe, Settings: ze, "Make Editable": "Hacer editable", "Make Read-only": "Hacer solo lectura", "Insert Block": "Insertar bloque", "Clear Cell": "Limpiar celda", "Delete Cell": "Eliminar celda", "Select All": "Seleccionar todo", Cut: De, Paste: we, "Auto Size": "Tamaño automático", Sort: Le, "Sort Ascending": "Ordenar ascendente", "Sort Descending": "Ordenar descendente", "Export Table": "Exportar tabla", "Import Table": "Importar tabla", Properties: xe, Cells: Fe, Mobile: Pe, Tablet: Ve, Desktop: He, Large: Me, Ultra: Be, Fluid: Re, "Resize editor width": "Redimensionar ancho del editor", Timer: qe, General: Ne, days: ke, hours: Ue, sec: je, "Time expired": "Tiempo expirado", Until: Oe, "Edit Timer": "Editar temporizador", "Copy Timer": "Copiar temporizador", "Export Timer": "Exportar temporizador", "Import Timer": "Importar temporizador", "Delete Timer": "Eliminar temporizador", "Timer copied successfully": "Temporizador copiado con éxito", "Failed to copy timer": "No se pudo copiar el temporizador", "Export failed": "Error al exportar", "Timer imported successfully": "Temporizador importado con éxito", "Import failed": "Error al importar", "Title is required": "El título es obligatorio", "Target date is required": "La fecha objetivo es obligatoria", "Target time is required": "La hora objetivo es obligatoria", "Invalid date/time format": "Formato de fecha/hora inválido", "Enter timer title": "Ingrese el título del temporizador", "Enter timer description": "Ingrese la descripción del temporizador", "Enter category": "Ingrese la categoría", "Enter tags separated by commas": "Ingrese las etiquetas separadas por comas", "New Timer": "Nuevo temporizador", Create: Ge, Update: Ye, "No timers found": "No se encontraron temporizadores", "Create your first timer to get started": "Cree su primer temporizador para comenzar", "Are you sure you want to delete this timer?": "¿Estás seguro de que quieres eliminar este temporizador?", Actions: We, "Add Column": "Agregar columna", "Add Event": "Agregar evento", "Add Row": "Agregar fila", "All day event": "Evento de todo el día", "Are you sure you want to delete this calendar?": "¿Estás seguro de que quieres eliminar este calendario?", Ascending: Xe, Attendees: Je, "Auto Fit": "Ajuste automático", "Bar/Area Mode": "Modo barras/áreas", "Block Style": "Estilo de bloque", "Block Style Editor": "Editor de estilo de bloque", "CSS Classes": "Clases CSS", "CSS Selector (for HTML)": "Selector CSS (para HTML)", "CSV Delimiter": "Delimitador CSV", Calendar: _e, "Calendar Title": "Título del calendario", "Calendar copied successfully": "Calendario copiado con éxito", "Calendar imported successfully": "Calendario importado con éxito", Category: Ke, "Cell Operations": "Operaciones de celda", "Chart Type": "Tipo de gráfico", Clear: Ze, "Clear Table": "Limpiar tabla", "Clipboard Operations": "Operaciones del portapapeles", Collaboration: Qe, "Copy Calendar": "Copiar calendario", "Copy Cell": "Copiar celda", "Copy Event": "Copiar evento", "Copy Table": "Copiar tabla", "Create your first calendar to get started": "Crea tu primer calendario para comenzar", "Current locale - Click to change": "Configuración regional actual - Haz clic para cambiar", "Current viewport - Click to change": "Viewport actual - Haz clic para cambiar", "Cut Cell": "Cortar celda", Data: $e, "Data URL": "URL de datos", Date: "Fecha", "Default Colors": "Colores predeterminados", "Delete Calendar": "Eliminar calendario", "Delete Elements": "Eliminar elementos", "Delete Event": "Eliminar evento", Descending: ea, Description: aa, "Display Settings": "Configuración de visualización", "Duplicated Block": "Bloque duplicado", "Duration (minutes)": "Duración (minutos)", "Edit Calendar": "Editar calendario", "Edit Event": "Editar evento", "Enter X axis label...": "Ingresa etiqueta del eje X...", "Enter Y axis label...": "Ingresa etiqueta del eje Y...", "Enter attendees (comma separated)": "Ingresa asistentes (separados por comas)", "Enter calendar description": "Ingresa descripción del calendario", "Enter calendar title": "Ingresa título del calendario", "Enter chart title...": "Ingresa título del gráfico...", "Enter event description": "Ingresa descripción del evento", "Enter event location": "Ingresa ubicación del evento", "Enter event title": "Ingresa título del evento", "Enter tags (comma separated)": "Ingresa etiquetas (separadas por comas)", Event: oa, "Event copied successfully": "Evento copiado con éxito", "Export Calendar": "Exportar calendario", "Export as PNG": "Exportar como PNG", "Failed to copy calendar": "Error al copiar calendario", "Failed to copy event": "Error al copiar evento", "First row contains headers": "La primera fila contiene encabezados", "Fluid width": "Ancho fluido", "Format Cell": "Formatear celda", High: ta, Import: ra, "Import Calendar": "Importar calendario", "Import Type": "Tipo de importación", "Import/Export": "Importar/Exportar", "Inline Styles": "Estilos en línea", "Insert Cell": "Insertar celda", "Insert Cell Above": "Insertar celda arriba", "Insert Cell Below": "Insertar celda abajo", "Insert Cell Left": "Insertar celda a la izquierda", "Insert Cell Right": "Insertar celda a la derecha", "Insert Math": "Insertar matemáticas", "Language Settings": "Configuración de idioma", "Large Desktop": "Escritorio grande", "Large desktop view": "Vista de escritorio grande", "Line Height": "Altura de línea", Location: ia, Low: na, Medium: la, "Merge Horizontally": "Combinar horizontalmente", "Merge Vertically": "Combinar verticalmente", "New Calendar": "Nuevo calendario", "New Template": "Nueva plantilla", "No calendars found": "No se encontraron calendarios", "No reminder": "Sin recordatorio", "Note: Width is disabled when Horizontal Scroll is enabled": "Nota: El ancho se deshabilita cuando el desplazamiento horizontal está habilitado", Orientation: sa, "Paste Cell": "Pegar celda", "Please enter a valid URL": "Por favor ingresa una URL válida", "Print / PDF File": "Imprimir / Archivo PDF", Priority: ca, "Reminder (minutes before)": "Recordatorio (minutos antes)", "Resize Columns": "Redimensionar columnas", "Search shortcuts...": "Buscar atajos...", "Select Column": "Seleccionar columna", "Select Elements": "Seleccionar elementos", "Select Row": "Seleccionar fila", "Select Viewport": "Seleccionar viewport", "Select category": "Seleccionar categoría", Selection: da, "Show Grid": "Mostrar cuadrícula", "Smartphone view": "Vista de smartphone", "Sort Table": "Ordenar tabla", "Spell Check": "Verificación ortográfica", "Standard desktop": "Escritorio estándar", "Table ID (optional)": "ID de tabla (opcional)", "Table Management": "Gestión de tabla", "Table Operations": "Operaciones de tabla", "Table Tools": "Herramientas de tabla", "Tablet view": "Vista de tablet", Tags: pa, "Tags (comma separated)": "Etiquetas (separadas por comas)", "Target Date": "Fecha objetivo", "Target Time": "Hora objetivo", Time: ma, Tips: ua, "Ultra Wide": "Ultra ancho", "Ultra wide screen": "Pantalla ultra ancha", "• Responsive mode allows manual resizing": "• El modo responsive permite redimensionamiento manual", "• Tables adapt automatically to viewport size": "• Las tablas se adaptan automáticamente al tamaño del viewport", "• Use hotkeys for quick switching": "• Usa atajos de teclado para cambio rápido", "• Viewport state is saved automatically": "• El estado del viewport se guarda automáticamente" }; export { We as Actions, be as Alignment, B as Anchor, se as Apply, t as Apr, Xe as Ascending, Je as Attendees, l as Aug, g as Blockquote, A as Bold, me as Borders, Ce as Breakpoint, _e as Calendar, j as Cancel, Ke as Category, Fe as Cells, Q as Characters, Ze as Clear, Qe as Collaboration, x as Color, ue as Colors, J as Confirm, h as Content, q as Copy, Ge as Create, De as Cut, $e as Data, p as Dec, G as Delete, ea as Descending, aa as Description, He as Desktop, de as Dimensions, fe as Down, U as Duplicate, O as Edit, ge as Effects, oa as Event, X as Export, a as Feb, Re as Fluid, re as Footnotes, F as Format, Ne as General, ve as Height, ta as High, he as Horizontally, ra as Import, ie as Insert, I as Italic, e as Jan, n as Jul, i as Jun, w as Label, W as Language, Me as Large, le as Legend, ia as Location, na as Low, o as Mar, r as May, la as Medium, Se as Merge, Pe as Mobile, ye as Move, T as Name, E as New, d as Nov, c as Oct, sa as Orientation, Ee as Padding, u as Paragraph, ee as Paragraphs, we as Paste, C as Preformatted, ca as Priority, xe as Properties, oe as Redo, Y as Remove, f as Responsive, te as Restore, N as Save, da as Selection, $ as Sentences, s as Sep, z as Series, ze as Settings, H as Size, Le as Sort, Te as Split, y as Strikethrough, Ve as Tablet, pa as Tags, v as Templates, ce as Theme, ma as Time, qe as Timer, ua as Tips, R as Title, D as Total, m as Typography, M as URL, Be as Ultra, S as Underline, ae as Undo, Oe as Until, Ie as Up, Ye as Update, b as Updated, K as Uploading, L as Value, Ae as Vertically, k as View, pe as Width, Z as Words, P as X, V as Y, _ as browse, ke as days, ga as default, Ue as hours, ne as min, je as sec };