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

3 lines (2 loc) 15.9 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 */ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="1月",t="2月",o="3月",n="4月",r="5月",a="6月",s="7月",l="8月",i="9月",c="10月",d="11月",p="12月",m="排版",u="段落",g="引用",C="预格式化",T="已更新",y="新建",S="模板",h="名称",b="内容",w="加粗",D="下划线",E="删除线",v="斜体",L="响应式",A="系列",f="总计",k="标签",M="值",F="颜色",I="格式",P="X",U="Y",R="大小",B="URL",H="锚点",x="标题",V="复制",z="保存",N="查看",Y="复制",O="取消",W="编辑",G="删除",X="移除",q="语言",J="导出",_="您确定吗?",j="浏览",K="上传中",Z="字数",Q="字符",$="句子",ee="段落",te="撤销",oe="重做",ne="恢复",re="脚注",ae="插入",se="分钟",le="图例",ie="应用",ce="主题",de="尺寸",pe="宽度",me="边框",ue="颜色",ge="效果",Ce="断点",Te="对齐",ye="内边距",Se="高度",he="分割",be="水平",we="垂直",De="合并",Ee="移动",ve="上",Le="下",Ae="设置",fe="剪切",ke="粘贴",Me="排序",Fe="属性",Ie="单元格",Pe="移动端",Ue="平板",Re="桌面端",Be="大",He="超大",xe="流体",Ve="计时器",ze="常规",Ne="天",Ye="小时",Oe="秒",We="直到",Ge="创建",Xe="更新",qe="操作",Je="升序",_e="参与者",je="日历",Ke="类别",Ze="清除",Qe="协作",$e="数据",et="降序",tt="描述",ot="事件",nt="高",rt="导入",at="位置",st="低",lt="中",it="方向",ct="优先级",dt="选择",pt="标签",mt="时间",ut="提示",gt={"New Block":"新块","Split Horizontally":"水平分割","Split Vertically":"垂直分割","Move Up":"上移","Move Down":"下移","Block 1":"块 1","Block 2":"块 2","Series 1":"系列 1","No valid data points to display":"没有有效的数据点可显示",Jan:e,Feb:t,Mar:o,Apr:n,May:r,Jun:a,Jul:s,Aug:l,Sep:i,Oct:c,Nov:d,Dec:p,"Keyboard Shortcuts":"键盘快捷键","Insert Table":"插入表格","Add Row Above":"在上方添加行","Add Row Below":"在下方添加行","Add Column Left":"在左侧添加列","Add Column Right":"在右侧添加列","Delete Row":"删除行","Delete Column":"删除列","Delete Table":"删除表格","Merge Cells":"合并单元格","Split Cell":"拆分单元格","Set Cell Border":"设置单元格边框","Include header row":"包括标题行",Typography:m,"Typography Styles":"排版样式","Clear Formatting":"清除格式","Heading 1":"标题 1","Heading 2":"标题 2","Heading 3":"标题 3","Heading 4":"标题 4",Paragraph:u,Blockquote:g,Preformatted:C,"Horizontal Line":"水平线",Updated:T,"Insert Video":"插入视频","Are you sure you want to delete this template?":"您确定要删除此模板吗?",New:y,Templates:S,Name:h,Content:b,"Insert YouTube Video":"插入 YouTube 视频","YouTube Video URL":"YouTube 视频 URL",Bold:w,Underline:D,Strikethrough:E,Italic:v,"Responsive View":"响应式视图","Mobile View":"移动视图","Tablet View":"平板视图","Desktop View":"桌面视图","Large Desktop View":"大桌面视图","Ultra Wide View":"超宽视图",Responsive:L,"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.":"选择视口大小以在不同屏幕宽度下预览您的内容。<br>在响应模式下使用调整大小手柄手动调整宽度。",Series:A,Total:f,"Data Points":"数据点","Add Point":"添加点",Label:k,Value:M,Color:F,Format:I,"Delete Point":"删除点","Series Data":"系列数据","Add Series":"添加系列","Series name":"系列名称","Insert Code Block":"插入代码块","Copy to clipboard":"复制到剪贴板","+ Add Data Point":"+ 添加数据点",X:P,Y:U,"Bullet List":"项目符号列表","Numbered List":"编号列表",Size:R,URL:B,Anchor:H,Title:x,'Open in new tab (target="_blank")':'在新标签页中打开 (target="_blank")','Add rel="nofollow"':'添加 rel="nofollow"',"Insert Chart":"插入图表","Enter your code here...":"在此输入您的代码...","Copied!":"已复制!",Copy:V,Save:z,View:N,Duplicate:Y,Cancel:O,Edit:W,Delete:G,Remove:X,Language:q,Export:J,Error:"错误","Insert Link":"插入链接","Align Left":"左对齐","Align Center":"居中对齐","Align Right":"右对齐","Insert Image":"插入图片","Font Size":"字体大小","Font Family":"字体","Font Settings":"字体设置","Upload File":"上传文件","Plain Text":"纯文本","Markdown File":"Markdown 文件","HTML File":"HTML 文件","Use comments to provide feedback or suggestions.":"使用评论提供反馈或建议。","Delete Comment":"删除评论","Please select some text to comment on":"请选择一些文本来评论","Failed to insert comment. Please try selecting a simpler text range.":"插入评论失败。请尝试选择更简单的文本范围。","Insert Comment":"插入评论","Recent Colors":"最近使用的颜色",Confirm:_,"Background Color":"背景颜色","Text Color":"文字颜色","Drag and drop your file here, or":"将文件拖放到此处,或",browse:j,"Maximum file size: ":"最大文件大小:",Uploading:K,"File size exceeds 10MB limit":"文件大小超过 {{max}} 限制","Upload failed. Please try again.":"上传失败。请重试。",Words:Z,Characters:Q,"Characters (without spaces)":"字符(不含空格)",Sentences:$,Paragraphs:ee,"HTML Source":"HTML 源代码","View HTML":"查看 HTML",Undo:te,Redo:oe,Restore:ne,"Initial version":"初始版本","Changes from previous version:":"与上一版本的更改:","Edit History":"编辑历史","View History":"查看历史","Reading time":"阅读时间","Insert Footnote":"插入脚注",Footnotes:re,"Add Footnote":"添加脚注","Add explanatory or reference text that will appear at the bottom of the document":"添加将在文档底部显示的解释性或参考性文本",Insert:ae,min:se,"Export PNG":"导出 PNG","Select template...":"选择模板...","Bar: Sales":"柱状图:销售","Pie: Expenses":"饼图:支出","Doughnut: Browsers":"环形图:浏览器","Line: Visitors":"折线图:访客","Chart Title":"图表标题","X Axis Label":"X 轴标签","Y Axis Label":"Y 轴标签",Legend:le,"Show Legend":"显示图例","Hide Legend":"隐藏图例","Table Properties":"表格属性",Apply:ie,"Style & Theme":"样式和主题","Table Style":"表格样式",Theme:ce,Dimensions:de,Width:pe,"Cell Padding":"单元格内边距",Borders:me,"Border Style":"边框样式","Border Width":"边框宽度","Border Color":"边框颜色",Colors:ue,"Header Background":"表头背景","Header Text Color":"表头文字颜色",Effects:ge,"Zebra Stripe":"斑马纹","Hover Effect":"悬停效果","Responsive Settings":"响应式设置",Breakpoint:Ce,"Enable Horizontal Scroll":"启用水平滚动","Enable Touch Support":"启用触摸支持","Enable Cards on Mobile":"在移动端启用卡片","Cell Formatting":"单元格格式","Text Formatting":"文本格式","Font Weight":"字体粗细","Font Style":"字体样式","Text Decoration":"文本装饰",Alignment:Te,"Horizontal Alignment":"水平对齐","Vertical Alignment":"垂直对齐",Padding:ye,Height:Se,"Insert Lazy Table":"插入懒加载表格","Edit Lazy Table":"编辑懒加载表格","Fill Table":"填充表格","Fill Table with Data":"用数据填充表格","Update Table":"更新表格","Text Block":"文本块","Container Block":"容器块","Split Container":"分割容器",Split:he,Horizontally:be,Vertically:we,Merge:De,Move:Ee,Up:ve,Down:Le,Settings:Ae,"Make Editable":"设为可编辑","Make Read-only":"设为只读","Insert Block":"插入块","Clear Cell":"清除单元格","Delete Cell":"删除单元格","Select All":"全选",Cut:fe,Paste:ke,"Auto Size":"自动大小",Sort:Me,"Sort Ascending":"升序排序","Sort Descending":"降序排序","Export Table":"导出表格","Import Table":"导入表格",Properties:Fe,Cells:Ie,Mobile:Pe,Tablet:Ue,Desktop:Re,Large:Be,Ultra:He,Fluid:xe,"Resize editor width":"调整编辑器宽度",Timer:Ve,General:ze,days:Ne,hours:Ye,sec:Oe,"Time expired":"时间已到",Until:We,"Edit Timer":"编辑计时器","Copy Timer":"复制计时器","Export Timer":"导出计时器","Import Timer":"导入计时器","Delete Timer":"删除计时器","Timer copied successfully":"计时器复制成功","Failed to copy timer":"复制计时器失败","Export failed":"导出失败","Timer imported successfully":"计时器导入成功","Import failed":"导入失败","Title is required":"标题是必需的","Target date is required":"目标日期是必需的","Target time is required":"目标时间是必需的","Invalid date/time format":"无效的日期/时间格式","Enter timer title":"输入计时器标题","Enter timer description":"输入计时器描述","Enter category":"输入类别","Enter tags separated by commas":"输入用逗号分隔的标签","New Timer":"新计时器",Create:Ge,Update:Xe,"No timers found":"未找到计时器","Create your first timer to get started":"创建您的第一个计时器开始使用","Are you sure you want to delete this timer?":"您确定要删除这个计时器吗?",Actions:qe,"Add Column":"添加列","Add Event":"添加事件","Add Row":"添加行","All day event":"全天事件","Are you sure you want to delete this calendar?":"您确定要删除这个日历吗?",Ascending:Je,Attendees:_e,"Auto Fit":"自动适应","Bar/Area Mode":"柱状图/面积图模式","Block Style":"块样式","Block Style Editor":"块样式编辑器","CSS Classes":"CSS类","CSS Selector (for HTML)":"CSS选择器(用于HTML)","CSV Delimiter":"CSV分隔符",Calendar:je,"Calendar Title":"日历标题","Calendar copied successfully":"日历复制成功","Calendar imported successfully":"日历导入成功",Category:Ke,"Cell Operations":"单元格操作","Chart Type":"图表类型",Clear:Ze,"Clear Table":"清除表格","Clipboard Operations":"剪贴板操作",Collaboration:Qe,"Copy Calendar":"复制日历","Copy Cell":"复制单元格","Copy Event":"复制事件","Copy Table":"复制表格","Create your first calendar to get started":"创建您的第一个日历来开始","Current locale - Click to change":"当前语言 - 点击更改","Current viewport - Click to change":"当前视口 - 点击更改","Cut Cell":"剪切单元格",Data:$e,"Data URL":"数据URL",Date:"日期","Default Colors":"默认颜色","Delete Calendar":"删除日历","Delete Elements":"删除元素","Delete Event":"删除事件",Descending:et,Description:tt,"Display Settings":"显示设置","Duplicated Block":"重复的块","Duration (minutes)":"持续时间(分钟)","Edit Calendar":"编辑日历","Edit Event":"编辑事件","Enter X axis label...":"输入X轴标签...","Enter Y axis label...":"输入Y轴标签...","Enter attendees (comma separated)":"输入参与者(逗号分隔)","Enter calendar description":"输入日历描述","Enter calendar title":"输入日历标题","Enter chart title...":"输入图表标题...","Enter event description":"输入事件描述","Enter event location":"输入事件地点","Enter event title":"输入事件标题","Enter tags (comma separated)":"输入标签(逗号分隔)",Event:ot,"Event copied successfully":"事件复制成功","Export Calendar":"导出日历","Export as PNG":"导出为PNG","Failed to copy calendar":"复制日历失败","Failed to copy event":"复制事件失败","First row contains headers":"第一行包含标题","Fluid width":"流动宽度","Format Cell":"格式化单元格",High:nt,Import:rt,"Import Calendar":"导入日历","Import Type":"导入类型","Import/Export":"导入/导出","Inline Styles":"内联样式","Insert Cell":"插入单元格","Insert Cell Above":"在上方插入单元格","Insert Cell Below":"在下方插入单元格","Insert Cell Left":"在左侧插入单元格","Insert Cell Right":"在右侧插入单元格","Insert Math":"插入数学公式","Language Settings":"语言设置","Large Desktop":"大桌面","Large desktop view":"大桌面视图","Line Height":"行高",Location:at,Low:st,Medium:lt,"Merge Horizontally":"水平合并","Merge Vertically":"垂直合并","New Calendar":"新建日历","New Template":"新建模板","No calendars found":"未找到日历","No reminder":"无提醒","Note: Width is disabled when Horizontal Scroll is enabled":"注意:启用水平滚动时宽度被禁用",Orientation:it,"Paste Cell":"粘贴单元格","Please enter a valid URL":"请输入有效的URL","Print / PDF File":"打印 / PDF文件",Priority:ct,"Reminder (minutes before)":"提醒(分钟前)","Resize Columns":"调整列宽","Search shortcuts...":"搜索快捷键...","Select Column":"选择列","Select Elements":"选择元素","Select Row":"选择行","Select Viewport":"选择视口","Select category":"选择类别",Selection:dt,"Show Grid":"显示网格","Smartphone view":"智能手机视图","Sort Table":"排序表格","Spell Check":"拼写检查","Standard desktop":"标准桌面","Table ID (optional)":"表格ID(可选)","Table Management":"表格管理","Table Operations":"表格操作","Table Tools":"表格工具","Tablet view":"平板视图",Tags:pt,"Tags (comma separated)":"标签(逗号分隔)","Target Date":"目标日期","Target Time":"目标时间",Time:mt,Tips:ut,"Ultra Wide":"超宽","Ultra wide screen":"超宽屏幕","• Responsive mode allows manual resizing":"• 响应式模式允许手动调整大小","• Tables adapt automatically to viewport size":"• 表格自动适应视口大小","• Use hotkeys for quick switching":"• 使用快捷键进行快速切换","• Viewport state is saved automatically":"• 视口状态自动保存"};exports.Actions=qe;exports.Alignment=Te;exports.Anchor=H;exports.Apply=ie;exports.Apr=n;exports.Ascending=Je;exports.Attendees=_e;exports.Aug=l;exports.Blockquote=g;exports.Bold=w;exports.Borders=me;exports.Breakpoint=Ce;exports.Calendar=je;exports.Cancel=O;exports.Category=Ke;exports.Cells=Ie;exports.Characters=Q;exports.Clear=Ze;exports.Collaboration=Qe;exports.Color=F;exports.Colors=ue;exports.Confirm=_;exports.Content=b;exports.Copy=V;exports.Create=Ge;exports.Cut=fe;exports.Data=$e;exports.Dec=p;exports.Delete=G;exports.Descending=et;exports.Description=tt;exports.Desktop=Re;exports.Dimensions=de;exports.Down=Le;exports.Duplicate=Y;exports.Edit=W;exports.Effects=ge;exports.Event=ot;exports.Export=J;exports.Feb=t;exports.Fluid=xe;exports.Footnotes=re;exports.Format=I;exports.General=ze;exports.Height=Se;exports.High=nt;exports.Horizontally=be;exports.Import=rt;exports.Insert=ae;exports.Italic=v;exports.Jan=e;exports.Jul=s;exports.Jun=a;exports.Label=k;exports.Language=q;exports.Large=Be;exports.Legend=le;exports.Location=at;exports.Low=st;exports.Mar=o;exports.May=r;exports.Medium=lt;exports.Merge=De;exports.Mobile=Pe;exports.Move=Ee;exports.Name=h;exports.New=y;exports.Nov=d;exports.Oct=c;exports.Orientation=it;exports.Padding=ye;exports.Paragraph=u;exports.Paragraphs=ee;exports.Paste=ke;exports.Preformatted=C;exports.Priority=ct;exports.Properties=Fe;exports.Redo=oe;exports.Remove=X;exports.Responsive=L;exports.Restore=ne;exports.Save=z;exports.Selection=dt;exports.Sentences=$;exports.Sep=i;exports.Series=A;exports.Settings=Ae;exports.Size=R;exports.Sort=Me;exports.Split=he;exports.Strikethrough=E;exports.Tablet=Ue;exports.Tags=pt;exports.Templates=S;exports.Theme=ce;exports.Time=mt;exports.Timer=Ve;exports.Tips=ut;exports.Title=x;exports.Total=f;exports.Typography=m;exports.URL=B;exports.Ultra=He;exports.Underline=D;exports.Undo=te;exports.Until=We;exports.Up=ve;exports.Update=Xe;exports.Updated=T;exports.Uploading=K;exports.Value=M;exports.Vertically=we;exports.View=N;exports.Width=pe;exports.Words=Z;exports.X=P;exports.Y=U;exports.browse=j;exports.days=Ne;exports.default=gt;exports.hours=Ye;exports.min=se;exports.sec=Oe;