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) 18.5 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 n="Th1",t="Th2",e="Th3",i="Th4",o="Th5",h="Th6",a="Th7",c="Th8",r="Th9",l="Th10",s="Th11",g="Th12",u="Kiểu Chữ",d="Đoạn Văn",p="Trích Dẫn",m="Định Dạng Sẵn",C="Đã Cập Nhật",T="Mới",b="Mẫu",y="Tên",S="Nội Dung",D="In Đậm",v="Gạch Chân",L="Gạch Ngang",k="In Nghiêng",w="Đáp Ứng",N="Chuỗi",M="Tổng",B="Nhãn",E="Giá Trị",H="Màu Sắc",A="Định Dạng",f="X",P="Y",x="Kích Thước",V="URL",I="Liên Kết Neo",F="Tiêu Đề",X="Sao chép",R="Lưu",U="Xem",K="Nhân Bản",z="Hủy",G="Chỉnh Sửa",Y="Xóa",O="Xóa",W="Ngôn Ngữ",q="Xuất",J="Bạn có chắc không?",_="duyệt",j="Đang tải lên",Q="Từ",Z="Ký Tự",$="Câu",nn="Đoạn Văn",tn="Hoàn Tác",en="Làm Lại",on="Khôi Phục",hn="Chú Thích",an="Chèn",cn="phút",rn="Chú giải",ln="Áp dụng",sn="Chủ đề",gn="Kích thước",un="Chiều rộng",dn="Viền",pn="Màu sắc",mn="Hiệu ứng",Cn="Điểm ngắt",Tn="Căn chỉnh",bn="Đệm",yn="Chiều cao",Sn="Chia",Dn="Theo chiều ngang",vn="Theo chiều dọc",Ln="Hợp nhất",kn="Di chuyển",wn="Lên",Nn="Xuống",Mn="Cài đặt",Bn="Cắt",En="Dán",Hn="Sắp xếp",An="Thuộc tính",fn="Ô",Pn="Di động",xn="Máy tính bảng",Vn="Máy tính để bàn",In="Lớn",Fn="Siêu",Xn="Linh hoạt",Rn="Bộ đếm thời gian",Un="Chung",Kn="ngày",zn="giờ",Gn="giây",Yn="Cho đến",On="Tạo",Wn="Cập nhật",qn="Hành động",Jn="Tăng dần",_n="Người tham dự",jn="Lịch",Qn="Danh mục",Zn="Xóa",$n="Cộng tác",nt="Dữ liệu",tt="Giảm dần",et="Mô tả",it="Sự kiện",ot="Cao",ht="Nhập",at="Vị trí",ct="Thấp",rt="Trung bình",lt="Hướng",st="Ưu tiên",gt="Lựa chọn",ut="Thẻ",dt="Thời gian",pt="Mẹo",mt={"New Block":"Khối Mới","Split Horizontally":"Chia Theo Chiều Ngang","Split Vertically":"Chia Theo Chiều Dọc","Move Up":"Di Chuyển Lên","Move Down":"Di Chuyển Xuống","Block 1":"Khối 1","Block 2":"Khối 2","Series 1":"Chuỗi 1","No valid data points to display":"Không có điểm dữ liệu hợp lệ để hiển thị",Jan:n,Feb:t,Mar:e,Apr:i,May:o,Jun:h,Jul:a,Aug:c,Sep:r,Oct:l,Nov:s,Dec:g,"Keyboard Shortcuts":"Phím Tắt","Insert Table":"Chèn Bảng","Add Row Above":"Thêm Hàng Phía Trên","Add Row Below":"Thêm Hàng Phía Dưới","Add Column Left":"Thêm Cột Bên Trái","Add Column Right":"Thêm Cột Bên Phải","Delete Row":"Xóa Hàng","Delete Column":"Xóa Cột","Delete Table":"Xóa Bảng","Merge Cells":"Gộp Ô","Split Cell":"Tách Ô","Set Cell Border":"Đặt Viền Ô","Include header row":"Bao gồm hàng tiêu đề",Typography:u,"Typography Styles":"Kiểu Chữ","Clear Formatting":"Xóa Định Dạng","Heading 1":"Tiêu Đề 1","Heading 2":"Tiêu Đề 2","Heading 3":"Tiêu Đề 3","Heading 4":"Tiêu Đề 4",Paragraph:d,Blockquote:p,Preformatted:m,"Horizontal Line":"Đường Ngang",Updated:C,"Insert Video":"Chèn Video","Are you sure you want to delete this template?":"Bạn có chắc muốn xóa mẫu này không?",New:T,Templates:b,Name:y,Content:S,"Insert YouTube Video":"Chèn Video YouTube","YouTube Video URL":"URL Video YouTube",Bold:D,Underline:v,Strikethrough:L,Italic:k,"Responsive View":"Chế Độ Đáp Ứng","Mobile View":"Chế Độ Di Động","Tablet View":"Chế Độ Máy Tính Bảng","Desktop View":"Chế Độ Máy Tính","Large Desktop View":"Chế Độ Máy Tính Lớn","Ultra Wide View":"Chế Độ Siêu Rộng",Responsive:w,"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.":"Chọn kích thước viewport để xem trước nội dung của bạn ở các độ rộng màn hình khác nhau.<br>Sử dụng các núm điều chỉnh trong chế độ đáp ứng để điều chỉnh chiều rộng thủ công.",Series:N,Total:M,"Data Points":"Điểm Dữ Liệu","Add Point":"Thêm Điểm",Label:B,Value:E,Color:H,Format:A,"Delete Point":"Xóa Điểm","Series Data":"Dữ Liệu Chuỗi","Add Series":"Thêm Chuỗi","Series name":"Tên chuỗi","Insert Code Block":"Chèn Khối Mã","Copy to clipboard":"Sao chép vào bảng tạm","+ Add Data Point":"+ Thêm Điểm Dữ Liệu",X:f,Y:P,"Bullet List":"Danh Sách Dấu Đầu Dòng","Numbered List":"Danh Sách Đánh Số",Size:x,URL:V,Anchor:I,Title:F,'Open in new tab (target="_blank")':'Mở trong tab mới (target="_blank")','Add rel="nofollow"':'Thêm rel="nofollow"',"Insert Chart":"Chèn Biểu Đồ","Enter your code here...":"Nhập mã của bạn ở đây...","Copied!":"Đã sao chép!",Copy:X,Save:R,View:U,Duplicate:K,Cancel:z,Edit:G,Delete:Y,Remove:O,Language:W,Export:q,Error:"Lỗi","Insert Link":"Chèn Liên Kết","Align Left":"Căn Trái","Align Center":"Căn Giữa","Align Right":"Căn Phải","Insert Image":"Chèn Hình Ảnh","Font Size":"Cỡ Chữ","Font Family":"Phông Chữ","Font Settings":"Cài Đặt Phông Chữ","Upload File":"Tải Lên Tệp","Plain Text":"Văn Bản Thuần","Markdown File":"Tệp Markdown","HTML File":"Tệp HTML","Use comments to provide feedback or suggestions.":"Sử dụng bình luận để cung cấp phản hồi hoặc đề xuất.","Delete Comment":"Xóa Bình Luận","Please select some text to comment on":"Vui lòng chọn một số văn bản để bình luận","Failed to insert comment. Please try selecting a simpler text range.":"Không thể chèn bình luận. Vui lòng thử chọn một phạm vi văn bản đơn giản hơn.","Insert Comment":"Chèn Bình Luận","Recent Colors":"Màu Gần Đây",Confirm:J,"Background Color":"Màu Nền","Text Color":"Màu Văn Bản","Drag and drop your file here, or":"Kéo và thả tệp của bạn vào đây, hoặc",browse:_,"Maximum file size: ":"Kích thước tệp tối đa: ",Uploading:j,"File size exceeds 10MB limit":"Kích thước tệp vượt quá giới hạn {{max}}","Upload failed. Please try again.":"Tải lên thất bại. Vui lòng thử lại.",Words:Q,Characters:Z,"Characters (without spaces)":"Ký Tự (không bao gồm khoảng trắng)",Sentences:$,Paragraphs:nn,"HTML Source":"Mã Nguồn HTML","View HTML":"Xem HTML",Undo:tn,Redo:en,Restore:on,"Initial version":"Phiên bản ban đầu","Changes from previous version:":"Thay đổi từ phiên bản trước:","Edit History":"Lịch Sử Chỉnh Sửa","View History":"Xem Lịch Sử","Reading time":"Thời gian đọc","Insert Footnote":"Chèn Chú Thích",Footnotes:hn,"Add Footnote":"Thêm Chú Thích","Add explanatory or reference text that will appear at the bottom of the document":"Thêm văn bản giải thích hoặc tham khảo sẽ xuất hiện ở cuối tài liệu",Insert:an,min:cn,"Export PNG":"Xuất PNG","Select template...":"Chọn mẫu...","Bar: Sales":"Cột: Doanh số","Pie: Expenses":"Tròn: Chi phí","Doughnut: Browsers":"Vòng: Trình duyệt","Line: Visitors":"Đường: Khách truy cập","Chart Title":"Tiêu đề biểu đồ","X Axis Label":"Nhãn trục X","Y Axis Label":"Nhãn trục Y",Legend:rn,"Show Legend":"Hiển thị chú thích","Hide Legend":"Ẩn chú thích","Table Properties":"Thuộc tính bảng",Apply:ln,"Style & Theme":"Kiểu dáng và chủ đề","Table Style":"Kiểu dáng bảng",Theme:sn,Dimensions:gn,Width:un,"Cell Padding":"Đệm ô",Borders:dn,"Border Style":"Kiểu viền","Border Width":"Độ rộng viền","Border Color":"Màu viền",Colors:pn,"Header Background":"Nền tiêu đề","Header Text Color":"Màu chữ tiêu đề",Effects:mn,"Zebra Stripe":"Sọc ngựa vằn","Hover Effect":"Hiệu ứng di chuột","Responsive Settings":"Cài đặt responsive",Breakpoint:Cn,"Enable Horizontal Scroll":"Bật cuộn ngang","Enable Touch Support":"Bật hỗ trợ cảm ứng","Enable Cards on Mobile":"Bật thẻ trên di động","Cell Formatting":"Định dạng ô","Text Formatting":"Định dạng văn bản","Font Weight":"Độ đậm font","Font Style":"Kiểu font","Text Decoration":"Trang trí văn bản",Alignment:Tn,"Horizontal Alignment":"Căn chỉnh ngang","Vertical Alignment":"Căn chỉnh dọc",Padding:bn,Height:yn,"Insert Lazy Table":"Chèn bảng lazy","Edit Lazy Table":"Chỉnh sửa bảng lazy","Fill Table":"Điền bảng","Fill Table with Data":"Điền bảng với dữ liệu","Update Table":"Cập nhật bảng","Text Block":"Khối văn bản","Container Block":"Khối container","Split Container":"Chia container",Split:Sn,Horizontally:Dn,Vertically:vn,Merge:Ln,Move:kn,Up:wn,Down:Nn,Settings:Mn,"Make Editable":"Cho phép chỉnh sửa","Make Read-only":"Chỉ đọc","Insert Block":"Chèn khối","Clear Cell":"Xóa ô","Delete Cell":"Xóa ô","Select All":"Chọn tất cả",Cut:Bn,Paste:En,"Auto Size":"Tự động kích thước",Sort:Hn,"Sort Ascending":"Sắp xếp tăng dần","Sort Descending":"Sắp xếp giảm dần","Export Table":"Xuất bảng","Import Table":"Nhập bảng",Properties:An,Cells:fn,Mobile:Pn,Tablet:xn,Desktop:Vn,Large:In,Ultra:Fn,Fluid:Xn,"Resize editor width":"Thay đổi chiều rộng trình soạn thảo",Timer:Rn,General:Un,days:Kn,hours:zn,sec:Gn,"Time expired":"Hết thời gian",Until:Yn,"Edit Timer":"Chỉnh sửa bộ đếm thời gian","Copy Timer":"Sao chép bộ đếm thời gian","Export Timer":"Xuất bộ đếm thời gian","Import Timer":"Nhập bộ đếm thời gian","Delete Timer":"Xóa bộ đếm thời gian","Timer copied successfully":"Sao chép bộ đếm thời gian thành công","Failed to copy timer":"Sao chép bộ đếm thời gian thất bại","Export failed":"Xuất thất bại","Timer imported successfully":"Nhập bộ đếm thời gian thành công","Import failed":"Nhập thất bại","Title is required":"Tiêu đề là bắt buộc","Target date is required":"Ngày mục tiêu là bắt buộc","Target time is required":"Thời gian mục tiêu là bắt buộc","Invalid date/time format":"Định dạng ngày/giờ không hợp lệ","Enter timer title":"Nhập tiêu đề bộ đếm thời gian","Enter timer description":"Nhập mô tả bộ đếm thời gian","Enter category":"Nhập danh mục","Enter tags separated by commas":"Nhập các thẻ được phân tách bằng dấu phẩy","New Timer":"Bộ đếm thời gian mới",Create:On,Update:Wn,"No timers found":"Không tìm thấy bộ đếm thời gian","Create your first timer to get started":"Tạo bộ đếm thời gian đầu tiên của bạn để bắt đầu","Are you sure you want to delete this timer?":"Bạn có chắc chắn muốn xóa bộ đếm thời gian này không?",Actions:qn,"Add Column":"Thêm cột","Add Event":"Thêm sự kiện","Add Row":"Thêm hàng","All day event":"Sự kiện cả ngày","Are you sure you want to delete this calendar?":"Bạn có chắc chắn muốn xóa lịch này không?",Ascending:Jn,Attendees:_n,"Auto Fit":"Tự động vừa","Bar/Area Mode":"Chế độ thanh/vùng","Block Style":"Kiểu khối","Block Style Editor":"Trình chỉnh sửa kiểu khối","CSS Classes":"Lớp CSS","CSS Selector (for HTML)":"Bộ chọn CSS (cho HTML)","CSV Delimiter":"Dấu phân cách CSV",Calendar:jn,"Calendar Title":"Tiêu đề lịch","Calendar copied successfully":"Sao chép lịch thành công","Calendar imported successfully":"Nhập lịch thành công",Category:Qn,"Cell Operations":"Thao tác ô","Chart Type":"Loại biểu đồ",Clear:Zn,"Clear Table":"Xóa bảng","Clipboard Operations":"Thao tác bộ nhớ tạm",Collaboration:$n,"Copy Calendar":"Sao chép lịch","Copy Cell":"Sao chép ô","Copy Event":"Sao chép sự kiện","Copy Table":"Sao chép bảng","Create your first calendar to get started":"Tạo lịch đầu tiên của bạn để bắt đầu","Current locale - Click to change":"Ngôn ngữ hiện tại - Nhấp để thay đổi","Current viewport - Click to change":"Viewport hiện tại - Nhấp để thay đổi","Cut Cell":"Cắt ô",Data:nt,"Data URL":"URL dữ liệu",Date:"Ngày","Default Colors":"Màu mặc định","Delete Calendar":"Xóa lịch","Delete Elements":"Xóa phần tử","Delete Event":"Xóa sự kiện",Descending:tt,Description:et,"Display Settings":"Cài đặt hiển thị","Duplicated Block":"Khối đã sao chép","Duration (minutes)":"Thời lượng (phút)","Edit Calendar":"Chỉnh sửa lịch","Edit Event":"Chỉnh sửa sự kiện","Enter X axis label...":"Nhập nhãn trục X...","Enter Y axis label...":"Nhập nhãn trục Y...","Enter attendees (comma separated)":"Nhập người tham dự (phân cách bằng dấu phẩy)","Enter calendar description":"Nhập mô tả lịch","Enter calendar title":"Nhập tiêu đề lịch","Enter chart title...":"Nhập tiêu đề biểu đồ...","Enter event description":"Nhập mô tả sự kiện","Enter event location":"Nhập địa điểm sự kiện","Enter event title":"Nhập tiêu đề sự kiện","Enter tags (comma separated)":"Nhập thẻ (phân cách bằng dấu phẩy)",Event:it,"Event copied successfully":"Sao chép sự kiện thành công","Export Calendar":"Xuất lịch","Export as PNG":"Xuất dưới dạng PNG","Failed to copy calendar":"Sao chép lịch thất bại","Failed to copy event":"Sao chép sự kiện thất bại","First row contains headers":"Hàng đầu tiên chứa tiêu đề","Fluid width":"Chiều rộng linh hoạt","Format Cell":"Định dạng ô",High:ot,Import:ht,"Import Calendar":"Nhập lịch","Import Type":"Loại nhập","Import/Export":"Nhập/Xuất","Inline Styles":"Kiểu nội tuyến","Insert Cell":"Chèn ô","Insert Cell Above":"Chèn ô phía trên","Insert Cell Below":"Chèn ô phía dưới","Insert Cell Left":"Chèn ô bên trái","Insert Cell Right":"Chèn ô bên phải","Insert Math":"Chèn toán học","Language Settings":"Cài đặt ngôn ngữ","Large Desktop":"Màn hình lớn","Large desktop view":"Chế độ xem màn hình lớn","Line Height":"Chiều cao dòng",Location:at,Low:ct,Medium:rt,"Merge Horizontally":"Hợp nhất theo chiều ngang","Merge Vertically":"Hợp nhất theo chiều dọc","New Calendar":"Lịch mới","New Template":"Mẫu mới","No calendars found":"Không tìm thấy lịch","No reminder":"Không có nhắc nhở","Note: Width is disabled when Horizontal Scroll is enabled":"Lưu ý: Chiều rộng bị vô hiệu hóa khi bật cuộn ngang",Orientation:lt,"Paste Cell":"Dán ô","Please enter a valid URL":"Vui lòng nhập URL hợp lệ","Print / PDF File":"In / Tệp PDF",Priority:st,"Reminder (minutes before)":"Nhắc nhở (phút trước)","Resize Columns":"Thay đổi kích thước cột","Search shortcuts...":"Tìm kiếm phím tắt...","Select Column":"Chọn cột","Select Elements":"Chọn phần tử","Select Row":"Chọn hàng","Select Viewport":"Chọn viewport","Select category":"Chọn danh mục",Selection:gt,"Show Grid":"Hiển thị lưới","Smartphone view":"Chế độ xem điện thoại thông minh","Sort Table":"Sắp xếp bảng","Spell Check":"Kiểm tra chính tả","Standard desktop":"Màn hình tiêu chuẩn","Table ID (optional)":"ID bảng (tùy chọn)","Table Management":"Quản lý bảng","Table Operations":"Thao tác bảng","Table Tools":"Công cụ bảng","Tablet view":"Chế độ xem máy tính bảng",Tags:ut,"Tags (comma separated)":"Thẻ (phân cách bằng dấu phẩy)","Target Date":"Ngày mục tiêu","Target Time":"Thời gian mục tiêu",Time:dt,Tips:pt,"Ultra Wide":"Siêu rộng","Ultra wide screen":"Màn hình siêu rộng","• Responsive mode allows manual resizing":"• Chế độ đáp ứng cho phép thay đổi kích thước thủ công","• Tables adapt automatically to viewport size":"• Bảng tự động thích ứng với kích thước viewport","• Use hotkeys for quick switching":"• Sử dụng phím tắt để chuyển đổi nhanh","• Viewport state is saved automatically":"• Trạng thái viewport được lưu tự động"};exports.Actions=qn;exports.Alignment=Tn;exports.Anchor=I;exports.Apply=ln;exports.Apr=i;exports.Ascending=Jn;exports.Attendees=_n;exports.Aug=c;exports.Blockquote=p;exports.Bold=D;exports.Borders=dn;exports.Breakpoint=Cn;exports.Calendar=jn;exports.Cancel=z;exports.Category=Qn;exports.Cells=fn;exports.Characters=Z;exports.Clear=Zn;exports.Collaboration=$n;exports.Color=H;exports.Colors=pn;exports.Confirm=J;exports.Content=S;exports.Copy=X;exports.Create=On;exports.Cut=Bn;exports.Data=nt;exports.Dec=g;exports.Delete=Y;exports.Descending=tt;exports.Description=et;exports.Desktop=Vn;exports.Dimensions=gn;exports.Down=Nn;exports.Duplicate=K;exports.Edit=G;exports.Effects=mn;exports.Event=it;exports.Export=q;exports.Feb=t;exports.Fluid=Xn;exports.Footnotes=hn;exports.Format=A;exports.General=Un;exports.Height=yn;exports.High=ot;exports.Horizontally=Dn;exports.Import=ht;exports.Insert=an;exports.Italic=k;exports.Jan=n;exports.Jul=a;exports.Jun=h;exports.Label=B;exports.Language=W;exports.Large=In;exports.Legend=rn;exports.Location=at;exports.Low=ct;exports.Mar=e;exports.May=o;exports.Medium=rt;exports.Merge=Ln;exports.Mobile=Pn;exports.Move=kn;exports.Name=y;exports.New=T;exports.Nov=s;exports.Oct=l;exports.Orientation=lt;exports.Padding=bn;exports.Paragraph=d;exports.Paragraphs=nn;exports.Paste=En;exports.Preformatted=m;exports.Priority=st;exports.Properties=An;exports.Redo=en;exports.Remove=O;exports.Responsive=w;exports.Restore=on;exports.Save=R;exports.Selection=gt;exports.Sentences=$;exports.Sep=r;exports.Series=N;exports.Settings=Mn;exports.Size=x;exports.Sort=Hn;exports.Split=Sn;exports.Strikethrough=L;exports.Tablet=xn;exports.Tags=ut;exports.Templates=b;exports.Theme=sn;exports.Time=dt;exports.Timer=Rn;exports.Tips=pt;exports.Title=F;exports.Total=M;exports.Typography=u;exports.URL=V;exports.Ultra=Fn;exports.Underline=v;exports.Undo=tn;exports.Until=Yn;exports.Up=wn;exports.Update=Wn;exports.Updated=C;exports.Uploading=j;exports.Value=E;exports.Vertically=vn;exports.View=U;exports.Width=un;exports.Words=Q;exports.X=f;exports.Y=P;exports.browse=_;exports.days=Kn;exports.default=mt;exports.hours=zn;exports.min=cn;exports.sec=Gn;