antd
Version:
An enterprise-class UI design language and React components implementation
185 lines (178 loc) • 6.29 kB
JavaScript
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// components/locale/ar_EG.tsx
var ar_EG_exports = {};
__export(ar_EG_exports, {
default: () => ar_EG_default4
});
module.exports = __toCommonJS(ar_EG_exports);
var import_ar_EG4 = __toESM(require("rc-pagination/lib/locale/ar_EG"));
// components/date-picker/locale/ar_EG.tsx
var import_ar_EG = __toESM(require("rc-picker/lib/locale/ar_EG"));
// components/time-picker/locale/ar_EG.tsx
var locale = {
placeholder: "اختيار الوقت"
};
var ar_EG_default = locale;
// components/date-picker/locale/ar_EG.tsx
var locale2 = {
lang: __spreadValues({
placeholder: "اختيار التاريخ",
rangePlaceholder: ["البداية", "النهاية"]
}, import_ar_EG.default),
timePickerLocale: __spreadValues({}, ar_EG_default),
dateFormat: "DD-MM-YYYY",
monthFormat: "MM-YYYY",
dateTimeFormat: "DD-MM-YYYY HH:mm:ss",
weekFormat: "wo-YYYY"
};
var ar_EG_default2 = locale2;
// components/calendar/locale/ar_EG.tsx
var ar_EG_default3 = ar_EG_default2;
// components/locale/ar_EG.tsx
var typeTemplate = "ليس ${label} من نوع ${type} صالحًا";
var localeValues = {
locale: "ar",
Pagination: import_ar_EG4.default,
DatePicker: ar_EG_default2,
TimePicker: ar_EG_default,
Calendar: ar_EG_default3,
global: {
placeholder: "يرجى التحديد"
},
Table: {
filterTitle: "الفلاتر",
filterConfirm: "تأكيد",
filterReset: "إعادة ضبط",
selectAll: "اختيار الكل",
selectInvert: "إلغاء الاختيار",
selectionAll: "حدد جميع البيانات",
sortTitle: "رتب",
expand: "توسيع الصف",
collapse: "طي الصف",
triggerDesc: "ترتيب تنازلي",
triggerAsc: "ترتيب تصاعدي",
cancelSort: "إلغاء الترتيب"
},
Modal: {
okText: "تأكيد",
cancelText: "إلغاء",
justOkText: "تأكيد"
},
Popconfirm: {
okText: "تأكيد",
cancelText: "إلغاء"
},
Transfer: {
titles: ["", ""],
searchPlaceholder: "ابحث هنا",
itemUnit: "عنصر",
itemsUnit: "عناصر"
},
Upload: {
uploading: "جاري الرفع...",
removeFile: "احذف الملف",
uploadError: "مشكلة فى الرفع",
previewFile: "استعرض الملف",
downloadFile: "تحميل الملف"
},
Empty: {
description: "لا توجد بيانات"
},
Icon: {
icon: "أيقونة"
},
Text: {
edit: "تعديل",
copy: "نسخ",
copied: "نقل",
expand: "وسع"
},
PageHeader: {
back: "عودة"
},
Form: {
defaultValidateMessages: {
default: "خطأ في حقل الإدخال ${label}",
required: "يرجى إدخال ${label}",
enum: "${label} يجب أن يكون واحدا من [${enum}]",
whitespace: "${label} لا يمكن أن يكون حرفًا فارغًا",
date: {
format: "${label} تنسيق التاريخ غير صحيح",
parse: "${label} لا يمكن تحويلها إلى تاريخ",
invalid: "تاريخ ${label} غير صحيح"
},
types: {
string: typeTemplate,
method: typeTemplate,
array: typeTemplate,
object: typeTemplate,
number: typeTemplate,
date: typeTemplate,
boolean: typeTemplate,
integer: typeTemplate,
float: typeTemplate,
regexp: typeTemplate,
email: typeTemplate,
url: typeTemplate,
hex: typeTemplate
},
string: {
len: "يجب ${label} ان يكون ${len} أحرف",
min: "${label} على الأقل ${min} أحرف",
max: "${label} يصل إلى ${max} أحرف",
range: "يجب ${label} ان يكون مابين ${min}-${max} أحرف"
},
number: {
len: "${len} ان يساوي ${label} يجب",
min: "${min} الأدنى هو ${label} حد",
max: "${max} الأقصى هو ${label} حد",
range: "${max}-${min} ان يكون مابين ${label} يجب"
},
array: {
len: "يجب أن يكون ${label} طوله ${len}",
min: "يجب أن يكون ${label} طوله الأدنى ${min}",
max: "يجب أن يكون ${label} طوله الأقصى ${max}",
range: "يجب أن يكون ${label} طوله مابين ${min}-${max}"
},
pattern: {
mismatch: "لا يتطابق ${label} مع ${pattern}"
}
}
}
};
var ar_EG_default4 = localeValues;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});