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
3 lines (2 loc) • 17.8 kB
JavaScript
/*! 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 */
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="Jan",o="Fev",a="Mar",t="Abr",r="Mai",i="Jun",n="Jul",l="Ago",s="Set",d="Out",c="Nov",m="Dez",p="Tipografia",u="Parágrafo",g="Citação",C="Pré-formatado",h="Atualizado",b="Novo",T="Modelos",v="Nome",S="Conteúdo",A="Negrito",D="Sublinhado",E="Tachado",y="Itálico",f="Responsivo",x="Série",z="Total",L="Rótulo",w="Valor",I="Cor",F="Formato",P="X",M="Y",R="Tamanho",V="URL",k="Âncora",B="Título",U="Copiar",H="Salvar",N="Visualizar",q="Duplicar",O="Cancelar",G="Editar",Y="Excluir",J="Remover",W="Idioma",j="Exportar",X="Tem certeza?",_="navegue",K="Carregando",Z="Palavras",Q="Caracteres",$="Frases",ee="Parágrafos",oe="Desfazer",ae="Refazer",te="Restaurar",re="Notas de Rodapé",ie="Inserir",ne="min",le="Legenda",se="Aplicar",de="Tema",ce="Dimensões",me="Largura",pe="Bordas",ue="Cores",ge="Efeitos",Ce="Ponto de quebra",he="Alinhamento",be="Preenchimento",Te="Altura",ve="Dividir",Se="Horizontalmente",Ae="Verticalmente",De="Mesclar",Ee="Mover",ye="Acima",fe="Abaixo",xe="Configurações",ze="Recortar",Le="Colar",we="Ordenar",Ie="Propriedades",Fe="Células",Pe="Mobile",Me="Tablet",Re="Desktop",Ve="Grande",ke="Ultra",Be="Fluido",Ue="Temporizador",He="Geral",Ne="dias",qe="horas",Oe="seg",Ge="Até",Ye="Criar",Je="Atualizar",We="Ações",je="Crescente",Xe="Participantes",_e="Calendário",Ke="Categoria",Ze="Limpar",Qe="Colaboração",$e="Dados",eo="Decrescente",oo="Descrição",ao="Evento",to="Alto",ro="Importar",io="Localização",no="Baixo",lo="Médio",so="Orientação",co="Prioridade",mo="Seleção",po="Tags",uo="Hora",go="Dicas",Co={"New Block":"Novo Bloco","Split Horizontally":"Dividir Horizontalmente","Split Vertically":"Dividir Verticalmente","Move Up":"Mover para Cima","Move Down":"Mover para Baixo","Block 1":"Bloco 1","Block 2":"Bloco 2","Series 1":"Série 1","No valid data points to display":"Nenhum ponto de dados válido para exibir",Jan:e,Feb:o,Mar:a,Apr:t,May:r,Jun:i,Jul:n,Aug:l,Sep:s,Oct:d,Nov:c,Dec:m,"Keyboard Shortcuts":"Atalhos de Teclado","Insert Table":"Inserir Tabela","Add Row Above":"Adicionar Linha Acima","Add Row Below":"Adicionar Linha Abaixo","Add Column Left":"Adicionar Coluna à Esquerda","Add Column Right":"Adicionar Coluna à Direita","Delete Row":"Excluir Linha","Delete Column":"Excluir Coluna","Delete Table":"Excluir Tabela","Merge Cells":"Mesclar Células","Split Cell":"Dividir Célula","Set Cell Border":"Definir Borda da Célula","Include header row":"Incluir linha de cabeçalho",Typography:p,"Typography Styles":"Estilos de Tipografia","Clear Formatting":"Limpar Formatação","Heading 1":"Cabeçalho 1","Heading 2":"Cabeçalho 2","Heading 3":"Cabeçalho 3","Heading 4":"Cabeçalho 4",Paragraph:u,Blockquote:g,Preformatted:C,"Horizontal Line":"Linha Horizontal",Updated:h,"Insert Video":"Inserir Vídeo","Are you sure you want to delete this template?":"Tem certeza de que deseja excluir este modelo?",New:b,Templates:T,Name:v,Content:S,"Insert YouTube Video":"Inserir Vídeo do YouTube","YouTube Video URL":"URL do Vídeo do YouTube",Bold:A,Underline:D,Strikethrough:E,Italic:y,"Responsive View":"Visualização Responsiva","Mobile View":"Visualização Mobile","Tablet View":"Visualização Tablet","Desktop View":"Visualização Desktop","Large Desktop View":"Visualização Desktop Grande","Ultra Wide View":"Visualização Ultra Larga",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.":"Selecione um tamanho de viewport para visualizar seu conteúdo em diferentes larguras de tela.<br>Use os controles de redimensionamento no modo responsivo para ajustar a largura manualmente.",Series:x,Total:z,"Data Points":"Pontos de Dados","Add Point":"Adicionar Ponto",Label:L,Value:w,Color:I,Format:F,"Delete Point":"Excluir Ponto","Series Data":"Dados da Série","Add Series":"Adicionar Série","Series name":"Nome da série","Insert Code Block":"Inserir Bloco de Código","Copy to clipboard":"Copiar para a área de transferência","+ Add Data Point":"+ Adicionar Ponto de Dados",X:P,Y:M,"Bullet List":"Lista com Marcadores","Numbered List":"Lista Numerada",Size:R,URL:V,Anchor:k,Title:B,'Open in new tab (target="_blank")':'Abrir em nova guia (target="_blank")','Add rel="nofollow"':'Adicionar rel="nofollow"',"Insert Chart":"Inserir Gráfico","Enter your code here...":"Insira seu código aqui...","Copied!":"Copiado!",Copy:U,Save:H,View:N,Duplicate:q,Cancel:O,Edit:G,Delete:Y,Remove:J,Language:W,Export:j,Error:"Erro","Insert Link":"Inserir Link","Align Left":"Alinhar à Esquerda","Align Center":"Centralizar","Align Right":"Alinhar à Direita","Insert Image":"Inserir Imagem","Font Size":"Tamanho da Fonte","Font Family":"Família da Fonte","Font Settings":"Configurações da Fonte","Upload File":"Carregar Arquivo","Plain Text":"Texto Simples","Markdown File":"Arquivo Markdown","HTML File":"Arquivo HTML","Use comments to provide feedback or suggestions.":"Use comentários para fornecer feedback ou sugestões.","Delete Comment":"Excluir Comentário","Please select some text to comment on":"Selecione algum texto para comentar","Failed to insert comment. Please try selecting a simpler text range.":"Falha ao inserir comentário. Tente selecionar um intervalo de texto mais simples.","Insert Comment":"Inserir Comentário","Recent Colors":"Cores Recentes",Confirm:X,"Background Color":"Cor de Fundo","Text Color":"Cor do Texto","Drag and drop your file here, or":"Arraste e solte seu arquivo aqui, ou",browse:_,"Maximum file size: ":"Tamanho máximo do arquivo: ",Uploading:K,"File size exceeds 10MB limit":"O tamanho do arquivo excede o limite de {{max}}","Upload failed. Please try again.":"Falha no carregamento. Tente novamente.",Words:Z,Characters:Q,"Characters (without spaces)":"Caracteres (sem espaços)",Sentences:$,Paragraphs:ee,"HTML Source":"Código Fonte HTML","View HTML":"Ver HTML",Undo:oe,Redo:ae,Restore:te,"Initial version":"Versão inicial","Changes from previous version:":"Alterações da versão anterior:","Edit History":"Histórico de Edição","View History":"Ver Histórico","Reading time":"Tempo de leitura","Insert Footnote":"Inserir Nota de Rodapé",Footnotes:re,"Add Footnote":"Adicionar Nota de Rodapé","Add explanatory or reference text that will appear at the bottom of the document":"Adicione texto explicativo ou de referência que aparecerá no final do documento",Insert:ie,min:ne,"Export PNG":"Exportar PNG","Select template...":"Selecionar modelo...","Bar: Sales":"Barra: Vendas","Pie: Expenses":"Pizza: Despesas","Doughnut: Browsers":"Rosquinha: Navegadores","Line: Visitors":"Linha: Visitantes","Chart Title":"Título do gráfico","X Axis Label":"Rótulo do eixo X","Y Axis Label":"Rótulo do eixo Y",Legend:le,"Show Legend":"Mostrar legenda","Hide Legend":"Ocultar legenda","Table Properties":"Propriedades da tabela",Apply:se,"Style & Theme":"Estilo e tema","Table Style":"Estilo da tabela",Theme:de,Dimensions:ce,Width:me,"Cell Padding":"Preenchimento da célula",Borders:pe,"Border Style":"Estilo da borda","Border Width":"Largura da borda","Border Color":"Cor da borda",Colors:ue,"Header Background":"Fundo do cabeçalho","Header Text Color":"Cor do texto do cabeçalho",Effects:ge,"Zebra Stripe":"Listras de zebra","Hover Effect":"Efeito hover","Responsive Settings":"Configurações responsivas",Breakpoint:Ce,"Enable Horizontal Scroll":"Ativar rolagem horizontal","Enable Touch Support":"Ativar suporte touch","Enable Cards on Mobile":"Ativar cartões no mobile","Cell Formatting":"Formatação da célula","Text Formatting":"Formatação do texto","Font Weight":"Peso da fonte","Font Style":"Estilo da fonte","Text Decoration":"Decoração do texto",Alignment:he,"Horizontal Alignment":"Alinhamento horizontal","Vertical Alignment":"Alinhamento vertical",Padding:be,Height:Te,"Insert Lazy Table":"Inserir tabela lazy","Edit Lazy Table":"Editar tabela lazy","Fill Table":"Preencher tabela","Fill Table with Data":"Preencher tabela com dados","Update Table":"Atualizar tabela","Text Block":"Bloco de texto","Container Block":"Bloco contêiner","Split Container":"Dividir contêiner",Split:ve,Horizontally:Se,Vertically:Ae,Merge:De,Move:Ee,Up:ye,Down:fe,Settings:xe,"Make Editable":"Tornar editável","Make Read-only":"Tornar somente leitura","Insert Block":"Inserir bloco","Clear Cell":"Limpar célula","Delete Cell":"Excluir célula","Select All":"Selecionar tudo",Cut:ze,Paste:Le,"Auto Size":"Tamanho automático",Sort:we,"Sort Ascending":"Ordenar crescente","Sort Descending":"Ordenar decrescente","Export Table":"Exportar tabela","Import Table":"Importar tabela",Properties:Ie,Cells:Fe,Mobile:Pe,Tablet:Me,Desktop:Re,Large:Ve,Ultra:ke,Fluid:Be,"Resize editor width":"Redimensionar largura do editor",Timer:Ue,General:He,days:Ne,hours:qe,sec:Oe,"Time expired":"Tempo expirado",Until:Ge,"Edit Timer":"Editar temporizador","Copy Timer":"Copiar temporizador","Export Timer":"Exportar temporizador","Import Timer":"Importar temporizador","Delete Timer":"Excluir temporizador","Timer copied successfully":"Temporizador copiado com sucesso","Failed to copy timer":"Falha ao copiar o temporizador","Export failed":"Falha na exportação","Timer imported successfully":"Temporizador importado com sucesso","Import failed":"Falha na importação","Title is required":"O título é obrigatório","Target date is required":"A data alvo é obrigatória","Target time is required":"A hora alvo é obrigatória","Invalid date/time format":"Formato de data/hora inválido","Enter timer title":"Digite o título do temporizador","Enter timer description":"Digite a descrição do temporizador","Enter category":"Digite a categoria","Enter tags separated by commas":"Digite as tags separadas por vírgulas","New Timer":"Novo temporizador",Create:Ye,Update:Je,"No timers found":"Nenhum temporizador encontrado","Create your first timer to get started":"Crie seu primeiro temporizador para começar","Are you sure you want to delete this timer?":"Tem certeza de que deseja excluir este temporizador?",Actions:We,"Add Column":"Adicionar coluna","Add Event":"Adicionar evento","Add Row":"Adicionar linha","All day event":"Evento de dia inteiro","Are you sure you want to delete this calendar?":"Tem certeza de que deseja excluir este calendário?",Ascending:je,Attendees:Xe,"Auto Fit":"Ajuste automático","Bar/Area Mode":"Modo barra/área","Block Style":"Estilo de bloco","Block Style Editor":"Editor de estilo de bloco","CSS Classes":"Classes CSS","CSS Selector (for HTML)":"Seletor CSS (para HTML)","CSV Delimiter":"Delimitador CSV",Calendar:_e,"Calendar Title":"Título do calendário","Calendar copied successfully":"Calendário copiado com sucesso","Calendar imported successfully":"Calendário importado com sucesso",Category:Ke,"Cell Operations":"Operações de célula","Chart Type":"Tipo de gráfico",Clear:Ze,"Clear Table":"Limpar tabela","Clipboard Operations":"Operações da área de transferência",Collaboration:Qe,"Copy Calendar":"Copiar calendário","Copy Cell":"Copiar célula","Copy Event":"Copiar evento","Copy Table":"Copiar tabela","Create your first calendar to get started":"Crie seu primeiro calendário para começar","Current locale - Click to change":"Local atual - Clique para alterar","Current viewport - Click to change":"Viewport atual - Clique para alterar","Cut Cell":"Recortar célula",Data:$e,"Data URL":"URL dos dados",Date:"Data","Default Colors":"Cores padrão","Delete Calendar":"Excluir calendário","Delete Elements":"Excluir elementos","Delete Event":"Excluir evento",Descending:eo,Description:oo,"Display Settings":"Configurações de exibição","Duplicated Block":"Bloco duplicado","Duration (minutes)":"Duração (minutos)","Edit Calendar":"Editar calendário","Edit Event":"Editar evento","Enter X axis label...":"Digite o rótulo do eixo X...","Enter Y axis label...":"Digite o rótulo do eixo Y...","Enter attendees (comma separated)":"Digite os participantes (separados por vírgula)","Enter calendar description":"Digite a descrição do calendário","Enter calendar title":"Digite o título do calendário","Enter chart title...":"Digite o título do gráfico...","Enter event description":"Digite a descrição do evento","Enter event location":"Digite o local do evento","Enter event title":"Digite o título do evento","Enter tags (comma separated)":"Digite as tags (separadas por vírgula)",Event:ao,"Event copied successfully":"Evento copiado com sucesso","Export Calendar":"Exportar calendário","Export as PNG":"Exportar como PNG","Failed to copy calendar":"Falha ao copiar calendário","Failed to copy event":"Falha ao copiar evento","First row contains headers":"A primeira linha contém cabeçalhos","Fluid width":"Largura fluida","Format Cell":"Formatar célula",High:to,Import:ro,"Import Calendar":"Importar calendário","Import Type":"Tipo de importação","Import/Export":"Importar/Exportar","Inline Styles":"Estilos inline","Insert Cell":"Inserir célula","Insert Cell Above":"Inserir célula acima","Insert Cell Below":"Inserir célula abaixo","Insert Cell Left":"Inserir célula à esquerda","Insert Cell Right":"Inserir célula à direita","Insert Math":"Inserir matemática","Language Settings":"Configurações de idioma","Large Desktop":"Desktop grande","Large desktop view":"Visualização de desktop grande","Line Height":"Altura da linha",Location:io,Low:no,Medium:lo,"Merge Horizontally":"Mesclar horizontalmente","Merge Vertically":"Mesclar verticalmente","New Calendar":"Novo calendário","New Template":"Novo modelo","No calendars found":"Nenhum calendário encontrado","No reminder":"Sem lembrete","Note: Width is disabled when Horizontal Scroll is enabled":"Nota: A largura é desabilitada quando a rolagem horizontal está habilitada",Orientation:so,"Paste Cell":"Colar célula","Please enter a valid URL":"Por favor, digite uma URL válida","Print / PDF File":"Imprimir / Arquivo PDF",Priority:co,"Reminder (minutes before)":"Lembrete (minutos antes)","Resize Columns":"Redimensionar colunas","Search shortcuts...":"Pesquisar atalhos...","Select Column":"Selecionar coluna","Select Elements":"Selecionar elementos","Select Row":"Selecionar linha","Select Viewport":"Selecionar viewport","Select category":"Selecionar categoria",Selection:mo,"Show Grid":"Mostrar grade","Smartphone view":"Visualização de smartphone","Sort Table":"Ordenar tabela","Spell Check":"Verificação ortográfica","Standard desktop":"Desktop padrão","Table ID (optional)":"ID da tabela (opcional)","Table Management":"Gerenciamento de tabela","Table Operations":"Operações de tabela","Table Tools":"Ferramentas de tabela","Tablet view":"Visualização de tablet",Tags:po,"Tags (comma separated)":"Tags (separadas por vírgula)","Target Date":"Data alvo","Target Time":"Hora alvo",Time:uo,Tips:go,"Ultra Wide":"Ultra largo","Ultra wide screen":"Tela ultra larga","• Responsive mode allows manual resizing":"• O modo responsivo permite redimensionamento manual","• Tables adapt automatically to viewport size":"• As tabelas se adaptam automaticamente ao tamanho do viewport","• Use hotkeys for quick switching":"• Use atalhos para alternância rápida","• Viewport state is saved automatically":"• O estado do viewport é salvo automaticamente"};exports.Actions=We;exports.Alignment=he;exports.Anchor=k;exports.Apply=se;exports.Apr=t;exports.Ascending=je;exports.Attendees=Xe;exports.Aug=l;exports.Blockquote=g;exports.Bold=A;exports.Borders=pe;exports.Breakpoint=Ce;exports.Calendar=_e;exports.Cancel=O;exports.Category=Ke;exports.Cells=Fe;exports.Characters=Q;exports.Clear=Ze;exports.Collaboration=Qe;exports.Color=I;exports.Colors=ue;exports.Confirm=X;exports.Content=S;exports.Copy=U;exports.Create=Ye;exports.Cut=ze;exports.Data=$e;exports.Dec=m;exports.Delete=Y;exports.Descending=eo;exports.Description=oo;exports.Desktop=Re;exports.Dimensions=ce;exports.Down=fe;exports.Duplicate=q;exports.Edit=G;exports.Effects=ge;exports.Event=ao;exports.Export=j;exports.Feb=o;exports.Fluid=Be;exports.Footnotes=re;exports.Format=F;exports.General=He;exports.Height=Te;exports.High=to;exports.Horizontally=Se;exports.Import=ro;exports.Insert=ie;exports.Italic=y;exports.Jan=e;exports.Jul=n;exports.Jun=i;exports.Label=L;exports.Language=W;exports.Large=Ve;exports.Legend=le;exports.Location=io;exports.Low=no;exports.Mar=a;exports.May=r;exports.Medium=lo;exports.Merge=De;exports.Mobile=Pe;exports.Move=Ee;exports.Name=v;exports.New=b;exports.Nov=c;exports.Oct=d;exports.Orientation=so;exports.Padding=be;exports.Paragraph=u;exports.Paragraphs=ee;exports.Paste=Le;exports.Preformatted=C;exports.Priority=co;exports.Properties=Ie;exports.Redo=ae;exports.Remove=J;exports.Responsive=f;exports.Restore=te;exports.Save=H;exports.Selection=mo;exports.Sentences=$;exports.Sep=s;exports.Series=x;exports.Settings=xe;exports.Size=R;exports.Sort=we;exports.Split=ve;exports.Strikethrough=E;exports.Tablet=Me;exports.Tags=po;exports.Templates=T;exports.Theme=de;exports.Time=uo;exports.Timer=Ue;exports.Tips=go;exports.Title=B;exports.Total=z;exports.Typography=p;exports.URL=V;exports.Ultra=ke;exports.Underline=D;exports.Undo=oe;exports.Until=Ge;exports.Up=ye;exports.Update=Je;exports.Updated=h;exports.Uploading=K;exports.Value=w;exports.Vertically=Ae;exports.View=N;exports.Width=me;exports.Words=Z;exports.X=P;exports.Y=M;exports.browse=_;exports.days=Ne;exports.default=Co;exports.hours=qe;exports.min=ne;exports.sec=Oe;