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) 21.7 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 = "ينا", t = "فبر", o = "مار", n = "أبر", s = "ماي", r = "يون", a = "يول", l = "أغس", i = "سبت", c = "أكت", d = "نوف", p = "ديس", m = "طباعة", u = "فقرة", C = "اقتباس", g = "مُنسق مسبقًا", T = "تم التحديث", y = "جديد", S = "قوالب", h = "الاسم", b = "المحتوى", w = "عريض", E = "تحته خط", D = "يتوسطه خط", v = "مائل", A = "متجاوب", f = "سلسلة", L = "الإجمالي", k = "تسمية", F = "القيمة", I = "اللون", M = "التنسيق", x = "X", H = "Y", B = "الحجم", P = "الرابط", R = "مرساة", U = "العنوان", V = "نسخ", z = "حفظ", N = "عرض", Y = "تكرار", W = "إلغاء", G = "تحرير", O = "حذف", X = "إزالة", q = "اللغة", J = "تصدير", _ = "هل أنت متأكد؟", j = "تصفح", K = "جاري التحميل", Z = "الكلمات", Q = "الحروف", $ = "الجمل", ee = "الفقرات", te = "تراجع", oe = "إعادة", ne = "استعادة", se = "الحواشي", re = "إدراج", ae = "دقيقة", le = "وسيلة الإيضاح", ie = "تطبيق", ce = "السمة", de = "الأبعاد", pe = "العرض", me = "الحدود", ue = "الألوان", Ce = "التأثيرات", ge = "نقطة الكسر", Te = "المحاذاة", ye = "الحشو", Se = "الارتفاع", he = "تقسيم", be = "أفقياً", we = "عمودياً", Ee = "دمج", De = "نقل", ve = "أعلى", Ae = "أسفل", fe = "الإعدادات", Le = "قص", ke = "لصق", Fe = "ترتيب", Ie = "الخصائص", Me = "الخلايا", xe = "الهاتف المحمول", He = "التابلت", Be = "سطح المكتب", Pe = "كبير", Re = "فائق", Ue = "سائل", Ve = "مؤقت", ze = "عام", Ne = "أيام", Ye = "ساعات", We = "ثانية", Ge = "حتى", Oe = "إنشاء", Xe = "تحديث", qe = "الإجراءات", Je = "تصاعدي", _e = "الحضور", je = "التقويم", Ke = "الفئة", Ze = "مسح", Qe = "التعاون", $e = "البيانات", et = "تنازلي", tt = "الوصف", ot = "الحدث", nt = "عالي", st = "استيراد", rt = "الموقع", at = "منخفض", lt = "متوسط", it = "الاتجاه", ct = "الأولوية", dt = "الاختيار", pt = "العلامات", mt = "الوقت", ut = "نصائح", Ct = { "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: s, Jun: r, Jul: a, 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: C, Preformatted: g, "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", Bold: w, Underline: E, Strikethrough: D, Italic: v, "Responsive View": "عرض متجاوب", "Mobile View": "عرض الجوال", "Tablet View": "عرض الجهاز اللوحي", "Desktop View": "عرض سطح المكتب", "Large Desktop View": "عرض سطح المكتب الكبير", "Ultra Wide View": "عرض فائق العرض", Responsive: A, "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: f, Total: L, "Data Points": "نقاط البيانات", "Add Point": "إضافة نقطة", Label: k, Value: F, Color: I, Format: M, "Delete Point": "حذف نقطة", "Series Data": "بيانات السلسلة", "Add Series": "إضافة سلسلة", "Series name": "اسم السلسلة", "Insert Code Block": "إدراج كتلة رمز", "Copy to clipboard": "نسخ إلى الحافظة", "+ Add Data Point": "+ إضافة نقطة بيانات", X: x, Y: H, "Bullet List": "قائمة نقطية", "Numbered List": "قائمة مرقمة", Size: B, URL: P, Anchor: R, Title: U, '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: W, Edit: G, Delete: O, 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: se, "Add Footnote": "إضافة حاشية", "Add explanatory or reference text that will appear at the bottom of the document": "أضف نصًا توضيحيًا أو مرجعيًا سيظهر في أسفل المستند", Insert: re, min: ae, "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: Ce, "Zebra Stripe": "خطوط الحمار الوحشي", "Hover Effect": "تأثير التحويم", "Responsive Settings": "إعدادات الاستجابة", Breakpoint: ge, "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: Ee, Move: De, Up: ve, Down: Ae, Settings: fe, "Make Editable": "جعل قابل للتحرير", "Make Read-only": "جعل للقراءة فقط", "Insert Block": "إدراج كتلة", "Clear Cell": "مسح الخلية", "Delete Cell": "حذف الخلية", "Select All": "تحديد الكل", Cut: Le, Paste: ke, "Auto Size": "الحجم التلقائي", Sort: Fe, "Sort Ascending": "ترتيب تصاعدي", "Sort Descending": "ترتيب تنازلي", "Export Table": "تصدير الجدول", "Import Table": "استيراد الجدول", Properties: Ie, Cells: Me, Mobile: xe, Tablet: He, Desktop: Be, Large: Pe, Ultra: Re, Fluid: Ue, "Resize editor width": "تغيير عرض المحرر", Timer: Ve, General: ze, days: Ne, hours: Ye, sec: We, "Time expired": "انتهى الوقت", Until: Ge, "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: Oe, 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": "رابط البيانات", 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: st, "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: rt, Low: at, 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": "يرجى إدخال رابط صحيح", "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)": "معرف الجدول (اختياري)", "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": "• حالة منطقة العرض تُحفظ تلقائياً" }; export { qe as Actions, Te as Alignment, R as Anchor, ie as Apply, n as Apr, Je as Ascending, _e as Attendees, l as Aug, C as Blockquote, w as Bold, me as Borders, ge as Breakpoint, je as Calendar, W as Cancel, Ke as Category, Me as Cells, Q as Characters, Ze as Clear, Qe as Collaboration, I as Color, ue as Colors, _ as Confirm, b as Content, V as Copy, Oe as Create, Le as Cut, $e as Data, p as Dec, O as Delete, et as Descending, tt as Description, Be as Desktop, de as Dimensions, Ae as Down, Y as Duplicate, G as Edit, Ce as Effects, ot as Event, J as Export, t as Feb, Ue as Fluid, se as Footnotes, M as Format, ze as General, Se as Height, nt as High, be as Horizontally, st as Import, re as Insert, v as Italic, e as Jan, a as Jul, r as Jun, k as Label, q as Language, Pe as Large, le as Legend, rt as Location, at as Low, o as Mar, s as May, lt as Medium, Ee as Merge, xe as Mobile, De as Move, h as Name, y as New, d as Nov, c as Oct, it as Orientation, ye as Padding, u as Paragraph, ee as Paragraphs, ke as Paste, g as Preformatted, ct as Priority, Ie as Properties, oe as Redo, X as Remove, A as Responsive, ne as Restore, z as Save, dt as Selection, $ as Sentences, i as Sep, f as Series, fe as Settings, B as Size, Fe as Sort, he as Split, D as Strikethrough, He as Tablet, pt as Tags, S as Templates, ce as Theme, mt as Time, Ve as Timer, ut as Tips, U as Title, L as Total, m as Typography, P as URL, Re as Ultra, E as Underline, te as Undo, Ge as Until, ve as Up, Xe as Update, T as Updated, K as Uploading, F as Value, we as Vertically, N as View, pe as Width, Z as Words, x as X, H as Y, j as browse, Ne as days, Ct as default, Ye as hours, ae as min, We as sec };