tdesign-mobile-vue
Version:
tdesign-mobile-vue
104 lines (99 loc) • 3.03 kB
JavaScript
/**
* tdesign v1.9.3
* (c) 2025 TDesign Group
* @license MIT
*/
import _typeof from '@babel/runtime/helpers/typeof';
import { c as commonjsGlobal } from './dep-a8acd638.js';
import dayjs from 'dayjs';
import './dep-2200259b.js';
var ar$1 = {exports: {}};
(function (module, exports) {
!function (e, t) {
"object" == 'object' && "undefined" != 'object' ? module.exports = t(dayjs) : "function" == typeof undefined && undefined.amd ? undefined(["dayjs"], t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_locale_ar = t(e.dayjs);
}(commonjsGlobal, function (e) {
"use strict";
function t(e) {
return e && "object" == _typeof(e) && "default" in e ? e : {
default: e
};
}
var n = t(e),
r = "يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),
d = {
1: "١",
2: "٢",
3: "٣",
4: "٤",
5: "٥",
6: "٦",
7: "٧",
8: "٨",
9: "٩",
0: "٠"
},
_ = {
"١": "1",
"٢": "2",
"٣": "3",
"٤": "4",
"٥": "5",
"٦": "6",
"٧": "7",
"٨": "8",
"٩": "9",
"٠": "0"
},
o = {
name: "ar",
weekdays: "الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
weekdaysShort: "أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),
weekdaysMin: "ح_ن_ث_ر_خ_ج_س".split("_"),
months: r,
monthsShort: r,
weekStart: 6,
meridiem: function meridiem(e) {
return e > 12 ? "م" : "ص";
},
relativeTime: {
future: "بعد %s",
past: "منذ %s",
s: "ثانية واحدة",
m: "دقيقة واحدة",
mm: "%d دقائق",
h: "ساعة واحدة",
hh: "%d ساعات",
d: "يوم واحد",
dd: "%d أيام",
M: "شهر واحد",
MM: "%d أشهر",
y: "عام واحد",
yy: "%d أعوام"
},
preparse: function preparse(e) {
return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (e) {
return _[e];
}).replace(/،/g, ",");
},
postformat: function postformat(e) {
return e.replace(/\d/g, function (e) {
return d[e];
}).replace(/,/g, "،");
},
ordinal: function ordinal(e) {
return e;
},
formats: {
LT: "HH:mm",
LTS: "HH:mm:ss",
L: "D/M/YYYY",
LL: "D MMMM YYYY",
LLL: "D MMMM YYYY HH:mm",
LLLL: "dddd D MMMM YYYY HH:mm"
}
};
return n.default.locale(o, null, !0), o;
});
})(ar$1, ar$1.exports);
var ar = ar$1.exports;
//# sourceMappingURL=dep-cfaaaf50.js.map