esday 0.5.0 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/LICENSE +21 -21
- package/README.md +63 -51
- package/chunks/AyQQ6US-.js +84 -0
- package/chunks/{Y32qdU_5.js → BkjWOpMU.js} +7 -1
- package/chunks/{MtjcOKi-.d.ts → C5qDMHT5.d.ts} +2 -2
- package/chunks/{DqhiVwLi.d.ts → CODi8AFH.d.ts} +63 -35
- package/chunks/CXWzCl3n.js +481 -0
- package/chunks/{BRRrAbUl.js → CdvTtmWL.js} +2 -2
- package/chunks/{DXHbH1CI.js → Shk32pTP.js} +1 -1
- package/chunks/{Cb5SvF6r.js → v_QBn7Xm.js} +1 -1
- package/chunks/xt8C2lbv.js +38 -0
- package/index.d.ts +3 -3
- package/index.js +1 -571
- package/locales/af.d.ts +1 -3
- package/locales/af.js +4 -2
- package/locales/am.d.ts +1 -3
- package/locales/am.js +4 -2
- package/locales/ar-dz.d.ts +1 -3
- package/locales/ar-dz.js +7 -9
- package/locales/ar-iq.d.ts +1 -3
- package/locales/ar-iq.js +7 -9
- package/locales/ar-kw.d.ts +1 -3
- package/locales/ar-kw.js +7 -9
- package/locales/ar-ly.d.ts +1 -3
- package/locales/ar-ly.js +7 -9
- package/locales/ar-ma.d.ts +1 -3
- package/locales/ar-ma.js +7 -9
- package/locales/ar-sa.d.ts +1 -3
- package/locales/ar-sa.js +7 -9
- package/locales/ar-tn.d.ts +1 -3
- package/locales/ar-tn.js +7 -9
- package/locales/ar.d.ts +1 -3
- package/locales/ar.js +197 -2
- package/locales/az.d.ts +1 -3
- package/locales/az.js +4 -2
- package/locales/be.d.ts +1 -3
- package/locales/be.js +55 -59
- package/locales/bg.d.ts +1 -3
- package/locales/bg.js +4 -2
- package/locales/bi.d.ts +1 -3
- package/locales/bi.js +4 -2
- package/locales/bm.d.ts +1 -3
- package/locales/bm.js +4 -2
- package/locales/bn-bd.d.ts +1 -3
- package/locales/bn-bd.js +7 -9
- package/locales/bn.d.ts +1 -3
- package/locales/bn.js +136 -2
- package/locales/bo.d.ts +1 -3
- package/locales/bo.js +4 -2
- package/locales/br.d.ts +1 -3
- package/locales/br.js +10 -9
- package/locales/bs.d.ts +1 -3
- package/locales/bs.js +4 -2
- package/locales/ca.d.ts +1 -3
- package/locales/ca.js +35 -36
- package/locales/cs.d.ts +1 -3
- package/locales/cs.js +38 -34
- package/locales/cv.d.ts +1 -3
- package/locales/cv.js +4 -2
- package/locales/cy.d.ts +1 -3
- package/locales/cy.js +4 -2
- package/locales/da.d.ts +1 -3
- package/locales/da.js +4 -2
- package/locales/de-at.d.ts +1 -3
- package/locales/de-at.js +7 -9
- package/locales/de-ch.d.ts +1 -3
- package/locales/de-ch.js +7 -9
- package/locales/de.d.ts +1 -3
- package/locales/de.js +130 -2
- package/locales/dv.d.ts +1 -3
- package/locales/dv.js +4 -2
- package/locales/el.d.ts +1 -3
- package/locales/el.js +4 -2
- package/locales/en-au.d.ts +1 -3
- package/locales/en-au.js +7 -8
- package/locales/en-ca.d.ts +1 -3
- package/locales/en-ca.js +7 -8
- package/locales/en-gb.d.ts +1 -3
- package/locales/en-gb.js +9 -8
- package/locales/en-ie.d.ts +1 -3
- package/locales/en-ie.js +7 -8
- package/locales/en-il.d.ts +1 -3
- package/locales/en-il.js +7 -8
- package/locales/en-in.d.ts +1 -3
- package/locales/en-in.js +7 -8
- package/locales/en-nz.d.ts +1 -3
- package/locales/en-nz.js +7 -8
- package/locales/en-sg.d.ts +1 -3
- package/locales/en-sg.js +7 -8
- package/locales/en-tt.d.ts +1 -3
- package/locales/en-tt.js +7 -8
- package/locales/en-us.d.ts +1 -3
- package/locales/en-us.js +7 -8
- package/locales/en.d.ts +1 -3
- package/locales/en.js +116 -2
- package/locales/eo.d.ts +1 -3
- package/locales/eo.js +4 -2
- package/locales/es-do.d.ts +1 -3
- package/locales/es-do.js +7 -9
- package/locales/es-mx.d.ts +1 -3
- package/locales/es-mx.js +7 -9
- package/locales/es-pr.d.ts +1 -3
- package/locales/es-pr.js +7 -9
- package/locales/es-us.d.ts +1 -3
- package/locales/es-us.js +7 -9
- package/locales/es.d.ts +1 -3
- package/locales/es.js +117 -2
- package/locales/et.d.ts +1 -3
- package/locales/et.js +6 -2
- package/locales/eu.d.ts +1 -3
- package/locales/eu.js +4 -2
- package/locales/fa.d.ts +1 -3
- package/locales/fa.js +4 -2
- package/locales/fi.d.ts +1 -3
- package/locales/fi.js +8 -2
- package/locales/fil.d.ts +1 -3
- package/locales/fil.js +4 -2
- package/locales/fo.d.ts +1 -3
- package/locales/fo.js +4 -2
- package/locales/fr-ca.d.ts +1 -3
- package/locales/fr-ca.js +7 -9
- package/locales/fr-ch.d.ts +1 -3
- package/locales/fr-ch.js +7 -9
- package/locales/fr.d.ts +1 -3
- package/locales/fr.js +109 -2
- package/locales/fy.d.ts +1 -3
- package/locales/fy.js +4 -2
- package/locales/ga.d.ts +1 -3
- package/locales/ga.js +4 -2
- package/locales/gd.d.ts +1 -3
- package/locales/gd.js +4 -2
- package/locales/gl.d.ts +1 -3
- package/locales/gl.js +4 -2
- package/locales/gom-deva.d.ts +1 -3
- package/locales/gom-deva.js +34 -32
- package/locales/gom-latn.d.ts +1 -3
- package/locales/gom-latn.js +34 -32
- package/locales/gu.d.ts +1 -3
- package/locales/gu.js +4 -2
- package/locales/he.d.ts +1 -3
- package/locales/he.js +8 -5
- package/locales/hi.d.ts +1 -3
- package/locales/hi.js +34 -35
- package/locales/hr.d.ts +1 -3
- package/locales/hr.js +10 -4
- package/locales/ht.d.ts +1 -3
- package/locales/ht.js +4 -2
- package/locales/hu.d.ts +1 -3
- package/locales/hu.js +6 -2
- package/locales/hy-am.d.ts +1 -3
- package/locales/hy-am.js +34 -35
- package/locales/id.d.ts +1 -3
- package/locales/id.js +4 -2
- package/locales/is.d.ts +1 -3
- package/locales/is.js +14 -2
- package/locales/it-ch.d.ts +1 -3
- package/locales/it-ch.js +4 -9
- package/locales/it.d.ts +1 -3
- package/locales/it.js +120 -2
- package/locales/ja.d.ts +1 -4
- package/locales/ja.js +4 -2
- package/locales/jv.d.ts +1 -3
- package/locales/jv.js +4 -2
- package/locales/ka.d.ts +1 -3
- package/locales/ka.js +25 -26
- package/locales/kk.d.ts +1 -3
- package/locales/kk.js +4 -2
- package/locales/km.d.ts +1 -3
- package/locales/km.js +4 -2
- package/locales/kn.d.ts +1 -3
- package/locales/kn.js +4 -2
- package/locales/ko.d.ts +1 -3
- package/locales/ko.js +5 -3
- package/locales/ku.d.ts +1 -3
- package/locales/ku.js +4 -2
- package/locales/ky.d.ts +1 -3
- package/locales/ky.js +4 -2
- package/locales/lb.d.ts +1 -3
- package/locales/lb.js +5 -2
- package/locales/lo.d.ts +1 -3
- package/locales/lo.js +4 -2
- package/locales/lt.d.ts +1 -3
- package/locales/lt.js +4 -2
- package/locales/lv.d.ts +1 -3
- package/locales/lv.js +4 -2
- package/locales/me.d.ts +1 -3
- package/locales/me.js +33 -33
- package/locales/mi.d.ts +1 -3
- package/locales/mi.js +4 -2
- package/locales/mk.d.ts +1 -3
- package/locales/mk.js +4 -2
- package/locales/ml.d.ts +1 -3
- package/locales/ml.js +4 -2
- package/locales/mn.d.ts +1 -3
- package/locales/mn.js +37 -16
- package/locales/mr.d.ts +1 -3
- package/locales/mr.js +16 -2
- package/locales/ms-my.d.ts +1 -3
- package/locales/ms-my.js +7 -9
- package/locales/ms.d.ts +1 -3
- package/locales/ms.js +107 -2
- package/locales/mt.d.ts +1 -3
- package/locales/mt.js +4 -2
- package/locales/my.d.ts +1 -3
- package/locales/my.js +4 -2
- package/locales/nb.d.ts +1 -3
- package/locales/nb.js +4 -2
- package/locales/ne.d.ts +1 -3
- package/locales/ne.js +4 -2
- package/locales/nl-be.d.ts +1 -3
- package/locales/nl-be.js +7 -9
- package/locales/nl.d.ts +1 -3
- package/locales/nl.js +107 -2
- package/locales/nn.d.ts +1 -3
- package/locales/nn.js +4 -2
- package/locales/oc-lnc.d.ts +1 -3
- package/locales/oc-lnc.js +35 -36
- package/locales/pa-in.d.ts +1 -3
- package/locales/pa-in.js +4 -2
- package/locales/pl.d.ts +1 -3
- package/locales/pl.js +5 -2
- package/locales/pt-br.d.ts +1 -3
- package/locales/pt-br.js +7 -9
- package/locales/pt.d.ts +1 -3
- package/locales/pt.js +109 -2
- package/locales/rn.d.ts +1 -3
- package/locales/rn.js +4 -2
- package/locales/ro.d.ts +1 -3
- package/locales/ro.js +4 -2
- package/locales/ru.d.ts +1 -4
- package/locales/ru.js +83 -82
- package/locales/rw.d.ts +1 -3
- package/locales/rw.js +4 -2
- package/locales/sd.d.ts +1 -3
- package/locales/sd.js +4 -2
- package/locales/se.d.ts +1 -3
- package/locales/se.js +4 -2
- package/locales/si.d.ts +1 -3
- package/locales/si.js +4 -2
- package/locales/sk.d.ts +1 -3
- package/locales/sk.js +8 -2
- package/locales/sl.d.ts +1 -3
- package/locales/sl.js +8 -2
- package/locales/sq.d.ts +1 -3
- package/locales/sq.js +4 -2
- package/locales/sr-cyrl.d.ts +1 -3
- package/locales/sr-cyrl.js +16 -15
- package/locales/sr.d.ts +1 -3
- package/locales/sr.js +185 -2
- package/locales/ss.d.ts +1 -3
- package/locales/ss.js +4 -2
- package/locales/sv-fi.d.ts +1 -3
- package/locales/sv-fi.js +7 -9
- package/locales/sv.d.ts +1 -3
- package/locales/sv.js +110 -2
- package/locales/sw.d.ts +1 -3
- package/locales/sw.js +4 -2
- package/locales/ta.d.ts +1 -3
- package/locales/ta.js +4 -2
- package/locales/te.d.ts +1 -3
- package/locales/te.js +4 -2
- package/locales/tet.d.ts +1 -3
- package/locales/tet.js +5 -4
- package/locales/tg.d.ts +1 -3
- package/locales/tg.js +34 -35
- package/locales/th.d.ts +1 -3
- package/locales/th.js +4 -2
- package/locales/tk.d.ts +1 -3
- package/locales/tk.js +5 -4
- package/locales/tl-ph.d.ts +1 -3
- package/locales/tl-ph.js +4 -2
- package/locales/tlh.d.ts +1 -3
- package/locales/tlh.js +5 -2
- package/locales/tr.d.ts +1 -3
- package/locales/tr.js +5 -4
- package/locales/tzl.d.ts +1 -3
- package/locales/tzl.js +4 -2
- package/locales/tzm-latn.d.ts +1 -3
- package/locales/tzm-latn.js +9 -9
- package/locales/tzm.d.ts +1 -3
- package/locales/tzm.js +107 -2
- package/locales/ug-cn.d.ts +1 -3
- package/locales/ug-cn.js +4 -2
- package/locales/uk.d.ts +1 -3
- package/locales/uk.js +37 -32
- package/locales/ur.d.ts +1 -3
- package/locales/ur.js +4 -2
- package/locales/uz-latn.d.ts +1 -3
- package/locales/uz-latn.js +9 -9
- package/locales/uz.d.ts +1 -3
- package/locales/uz.js +107 -2
- package/locales/vi.d.ts +1 -3
- package/locales/vi.js +4 -2
- package/locales/x-pseudo.d.ts +1 -3
- package/locales/x-pseudo.js +5 -4
- package/locales/yo.d.ts +1 -3
- package/locales/yo.js +4 -2
- package/locales/zh-cn.d.ts +1 -3
- package/locales/zh-cn.js +7 -9
- package/locales/zh-hk.d.ts +1 -3
- package/locales/zh-hk.js +7 -9
- package/locales/zh-mo.d.ts +1 -3
- package/locales/zh-mo.js +7 -9
- package/locales/zh-tw.d.ts +1 -3
- package/locales/zh-tw.js +7 -9
- package/locales/zh.d.ts +1 -4
- package/locales/zh.js +128 -2
- package/package.json +29 -23
- package/plugins/advancedFormat/index.d.ts +1 -3
- package/plugins/advancedFormat/index.js +4 -6
- package/plugins/advancedParse/index.d.ts +1 -3
- package/plugins/advancedParse/index.js +21 -20
- package/plugins/calendar/index.d.ts +2 -4
- package/plugins/calendar/index.js +1 -2
- package/plugins/dayOfYear/index.d.ts +1 -2
- package/plugins/dayOfYear/index.js +1 -2
- package/plugins/duration/index.d.ts +78 -0
- package/plugins/duration/index.js +477 -0
- package/plugins/isBetween/index.d.ts +1 -2
- package/plugins/isBetween/index.js +2 -3
- package/plugins/isLeapYear/index.d.ts +1 -2
- package/plugins/isLeapYear/index.js +1 -2
- package/plugins/isSameOrAfter/index.d.ts +1 -2
- package/plugins/isSameOrAfter/index.js +1 -2
- package/plugins/isSameOrBefore/index.d.ts +1 -2
- package/plugins/isSameOrBefore/index.js +1 -2
- package/plugins/isToday/index.d.ts +1 -2
- package/plugins/isToday/index.js +2 -3
- package/plugins/isTomorrow/index.d.ts +1 -2
- package/plugins/isTomorrow/index.js +2 -3
- package/plugins/isYesterday/index.d.ts +1 -2
- package/plugins/isYesterday/index.js +2 -3
- package/plugins/isoWeek/index.d.ts +1 -3
- package/plugins/isoWeek/index.js +13 -25
- package/plugins/locale/index.d.ts +103 -3
- package/plugins/locale/index.js +140 -6
- package/plugins/localeData/index.d.ts +1 -3
- package/plugins/localeData/index.js +18 -11
- package/plugins/localizedFormat/index.d.ts +1 -3
- package/plugins/localizedFormat/index.js +5 -10
- package/plugins/localizedParse/index.d.ts +1 -3
- package/plugins/localizedParse/index.js +40 -22
- package/plugins/minMax/index.d.ts +1 -2
- package/plugins/minMax/index.js +2 -3
- package/plugins/objectSupport/index.d.ts +1 -3
- package/plugins/objectSupport/index.js +33 -38
- package/plugins/pluralGetSet/index.d.ts +1 -3
- package/plugins/pluralGetSet/index.js +1 -2
- package/plugins/quarterOfYear/index.d.ts +1 -3
- package/plugins/quarterOfYear/index.js +11 -18
- package/plugins/relativeTime/index.d.ts +32 -44
- package/plugins/relativeTime/index.js +124 -91
- package/plugins/timezone/index.d.ts +6 -0
- package/plugins/timezone/index.js +456 -0
- package/plugins/toArray/index.d.ts +1 -2
- package/plugins/toArray/index.js +1 -2
- package/plugins/toObject/index.d.ts +1 -2
- package/plugins/toObject/index.js +1 -2
- package/plugins/utc/index.d.ts +1 -2
- package/plugins/utc/index.js +37 -39
- package/plugins/week/index.d.ts +1 -3
- package/plugins/week/index.js +17 -27
- package/chunks/B5f9poqo.js +0 -120
- package/chunks/BDssPbM_.js +0 -106
- package/chunks/BXRGSAJG.js +0 -128
- package/chunks/BeVgU2nj.js +0 -188
- package/chunks/BtmEtAW3.js +0 -43
- package/chunks/CQ57zhVp.js +0 -106
- package/chunks/CQJ0-ZuR.js +0 -106
- package/chunks/CWqzr5E5.js +0 -108
- package/chunks/Cg4ZI9v8.js +0 -180
- package/chunks/CoBtJ4c1.js +0 -144
- package/chunks/D009Z-ld.js +0 -109
- package/chunks/DMtTiWuY.js +0 -127
- package/chunks/Dixb5KKs.js +0 -116
- package/chunks/DjY7KvwG.js +0 -28
- package/chunks/GjKpN6U-.js +0 -135
- package/chunks/St35qgL0.d.ts +0 -103
- package/chunks/br7kModF.js +0 -110
- package/chunks/l2Rxo2H0.js +0 -106
- package/chunks/tfkJ5D3p.js +0 -115
package/locales/ar-iq.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { ar_default } from "../chunks/BeVgU2nj.js";
|
|
5
|
-
import "../chunks/tfkJ5D3p.js";
|
|
6
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import locale from "./ar.js";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ar-iq.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Arabic (Iraq) [ar-IQ]
|
|
7
|
+
*/
|
|
8
|
+
const localeArIq = cloneLocale(locale);
|
|
10
9
|
setLocaleProperty(localeArIq, "name", "ar-IQ");
|
|
11
|
-
var ar_iq_default = localeArIq;
|
|
12
10
|
|
|
13
11
|
//#endregion
|
|
14
|
-
export {
|
|
12
|
+
export { localeArIq as default };
|
package/locales/ar-kw.d.ts
CHANGED
package/locales/ar-kw.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { ar_default } from "../chunks/BeVgU2nj.js";
|
|
5
|
-
import "../chunks/tfkJ5D3p.js";
|
|
6
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import locale from "./ar.js";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ar-kw.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Arabic (Kuwait) [ar-KW]
|
|
7
|
+
*/
|
|
8
|
+
const localeArKw = cloneLocale(locale);
|
|
10
9
|
const formats = structuredClone(localeArKw.formats);
|
|
11
10
|
formats.L = "DD/MM/YYYY";
|
|
12
11
|
formats.l = "DD/MM/YYYY";
|
|
@@ -22,7 +21,6 @@ setLocaleProperty(localeArKw, "name", "ar-KW");
|
|
|
22
21
|
setLocaleProperty(localeArKw, "weekStart", 0);
|
|
23
22
|
setLocaleProperty(localeArKw, "formats", formats);
|
|
24
23
|
setLocaleProperty(localeArKw, "calendar", calendar);
|
|
25
|
-
var ar_kw_default = localeArKw;
|
|
26
24
|
|
|
27
25
|
//#endregion
|
|
28
|
-
export {
|
|
26
|
+
export { localeArKw as default };
|
package/locales/ar-ly.d.ts
CHANGED
package/locales/ar-ly.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { ar_default } from "../chunks/BeVgU2nj.js";
|
|
5
|
-
import "../chunks/tfkJ5D3p.js";
|
|
6
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import locale from "./ar.js";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ar-ly.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Arabic (Lybia) [ar-LY]
|
|
7
|
+
*/
|
|
8
|
+
const localeArLy = cloneLocale(locale);
|
|
10
9
|
setLocaleProperty(localeArLy, "name", "ar-LY");
|
|
11
|
-
var ar_ly_default = localeArLy;
|
|
12
10
|
|
|
13
11
|
//#endregion
|
|
14
|
-
export {
|
|
12
|
+
export { localeArLy as default };
|
package/locales/ar-ma.d.ts
CHANGED
package/locales/ar-ma.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { ar_default } from "../chunks/BeVgU2nj.js";
|
|
5
|
-
import "../chunks/tfkJ5D3p.js";
|
|
6
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import locale from "./ar.js";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ar-ma.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Arabic (Morocco) [ar-MA]
|
|
7
|
+
*/
|
|
8
|
+
const localeArMa = cloneLocale(locale);
|
|
10
9
|
const formats = structuredClone(localeArMa.formats);
|
|
11
10
|
formats.L = "DD/MM/YYYY";
|
|
12
11
|
formats.l = "DD/MM/YYYY";
|
|
@@ -23,7 +22,6 @@ setLocaleProperty(localeArMa, "weekStart", 1);
|
|
|
23
22
|
setLocaleProperty(localeArMa, "yearStart", 4);
|
|
24
23
|
setLocaleProperty(localeArMa, "formats", formats);
|
|
25
24
|
setLocaleProperty(localeArMa, "calendar", calendar);
|
|
26
|
-
var ar_ma_default = localeArMa;
|
|
27
25
|
|
|
28
26
|
//#endregion
|
|
29
|
-
export {
|
|
27
|
+
export { localeArMa as default };
|
package/locales/ar-sa.d.ts
CHANGED
package/locales/ar-sa.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { ar_default } from "../chunks/BeVgU2nj.js";
|
|
5
|
-
import "../chunks/tfkJ5D3p.js";
|
|
6
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import locale from "./ar.js";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ar-sa.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Arabic (Saudi Arabia) [ar-SA]
|
|
7
|
+
*/
|
|
8
|
+
const localeArSa = cloneLocale(locale);
|
|
10
9
|
const formats = structuredClone(localeArSa.formats);
|
|
11
10
|
formats.L = "DD/MM/YYYY";
|
|
12
11
|
formats.l = "DD/MM/YYYY";
|
|
@@ -23,7 +22,6 @@ setLocaleProperty(localeArSa, "weekStart", 0);
|
|
|
23
22
|
setLocaleProperty(localeArSa, "yearStart", 6);
|
|
24
23
|
setLocaleProperty(localeArSa, "formats", formats);
|
|
25
24
|
setLocaleProperty(localeArSa, "calendar", calendar);
|
|
26
|
-
var ar_sa_default = localeArSa;
|
|
27
25
|
|
|
28
26
|
//#endregion
|
|
29
|
-
export {
|
|
27
|
+
export { localeArSa as default };
|
package/locales/ar-tn.d.ts
CHANGED
package/locales/ar-tn.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { ar_default } from "../chunks/BeVgU2nj.js";
|
|
5
|
-
import "../chunks/tfkJ5D3p.js";
|
|
6
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import locale from "./ar.js";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ar-tn.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Arabic (Tunisia) [ar-TN]
|
|
7
|
+
*/
|
|
8
|
+
const localeArTn = cloneLocale(locale);
|
|
10
9
|
const formats = structuredClone(localeArTn.formats);
|
|
11
10
|
formats.L = "DD/MM/YYYY";
|
|
12
11
|
formats.l = "DD/MM/YYYY";
|
|
@@ -23,7 +22,6 @@ setLocaleProperty(localeArTn, "weekStart", 1);
|
|
|
23
22
|
setLocaleProperty(localeArTn, "yearStart", 4);
|
|
24
23
|
setLocaleProperty(localeArTn, "formats", formats);
|
|
25
24
|
setLocaleProperty(localeArTn, "calendar", calendar);
|
|
26
|
-
var ar_tn_default = localeArTn;
|
|
27
25
|
|
|
28
26
|
//#endregion
|
|
29
|
-
export {
|
|
27
|
+
export { localeArTn as default };
|
package/locales/ar.d.ts
CHANGED
package/locales/ar.js
CHANGED
|
@@ -1,3 +1,198 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/locales/ar.ts
|
|
2
|
+
const arabicToEnglishNumbersMap = {
|
|
3
|
+
"١": "1",
|
|
4
|
+
"٢": "2",
|
|
5
|
+
"٣": "3",
|
|
6
|
+
"٤": "4",
|
|
7
|
+
"٥": "5",
|
|
8
|
+
"٦": "6",
|
|
9
|
+
"٧": "7",
|
|
10
|
+
"٨": "8",
|
|
11
|
+
"٩": "9",
|
|
12
|
+
"٠": "0"
|
|
13
|
+
};
|
|
14
|
+
const englishToArabicNumbersMap = {
|
|
15
|
+
1: "١",
|
|
16
|
+
2: "٢",
|
|
17
|
+
3: "٣",
|
|
18
|
+
4: "٤",
|
|
19
|
+
5: "٥",
|
|
20
|
+
6: "٦",
|
|
21
|
+
7: "٧",
|
|
22
|
+
8: "٨",
|
|
23
|
+
9: "٩",
|
|
24
|
+
0: "٠"
|
|
25
|
+
};
|
|
26
|
+
const pluralForm = (value) => value === 0 ? 0 : value === 1 ? 1 : value === 2 ? 2 : value % 100 >= 3 && value % 100 <= 10 ? 3 : value % 100 >= 11 ? 4 : 5;
|
|
27
|
+
const plurals = {
|
|
28
|
+
s: [
|
|
29
|
+
"أقل من ثانية",
|
|
30
|
+
"ثانية واحدة",
|
|
31
|
+
["ثانيتان", "ثانيتين"],
|
|
32
|
+
"%d ثوان",
|
|
33
|
+
"%d ثانية",
|
|
34
|
+
"%d ثانية"
|
|
35
|
+
],
|
|
36
|
+
m: [
|
|
37
|
+
"أقل من دقيقة",
|
|
38
|
+
"دقيقة واحدة",
|
|
39
|
+
["دقيقتان", "دقيقتين"],
|
|
40
|
+
"%d دقائق",
|
|
41
|
+
"%d دقيقة",
|
|
42
|
+
"%d دقيقة"
|
|
43
|
+
],
|
|
44
|
+
h: [
|
|
45
|
+
"أقل من ساعة",
|
|
46
|
+
"ساعة واحدة",
|
|
47
|
+
["ساعتان", "ساعتين"],
|
|
48
|
+
"%d ساعات",
|
|
49
|
+
"%d ساعة",
|
|
50
|
+
"%d ساعة"
|
|
51
|
+
],
|
|
52
|
+
d: [
|
|
53
|
+
"أقل من يوم",
|
|
54
|
+
"يوم واحد",
|
|
55
|
+
["يومان", "يومين"],
|
|
56
|
+
"%d أيام",
|
|
57
|
+
"%d يومًا",
|
|
58
|
+
"%d يوم"
|
|
59
|
+
],
|
|
60
|
+
w: [
|
|
61
|
+
"أقل من اسبوع",
|
|
62
|
+
"أسبوع واحد",
|
|
63
|
+
["أسبوعان", "في أسبوعين"],
|
|
64
|
+
"%d أسابيع",
|
|
65
|
+
"%d أسبوعًا",
|
|
66
|
+
"%d أسبوع"
|
|
67
|
+
],
|
|
68
|
+
M: [
|
|
69
|
+
"أقل من شهر",
|
|
70
|
+
"شهر واحد",
|
|
71
|
+
["شهران", "شهرين"],
|
|
72
|
+
"%d أشهر",
|
|
73
|
+
"%d شهرا",
|
|
74
|
+
"%d شهر"
|
|
75
|
+
],
|
|
76
|
+
y: [
|
|
77
|
+
"أقل من عام",
|
|
78
|
+
"عام واحد",
|
|
79
|
+
["عامان", "عامين"],
|
|
80
|
+
"%d أعوام",
|
|
81
|
+
"%d عامًا",
|
|
82
|
+
"%d عام"
|
|
83
|
+
]
|
|
84
|
+
};
|
|
85
|
+
const pluralize = (unit) => (timeValue, withoutSuffix, _token, _isFuture) => {
|
|
86
|
+
const timeValueAsNumber = Number(timeValue);
|
|
87
|
+
const pluralFormToUse = pluralForm(timeValueAsNumber);
|
|
88
|
+
let plural = plurals[unit][pluralForm(timeValueAsNumber)];
|
|
89
|
+
if (pluralFormToUse === 2) plural = plural[withoutSuffix ? 0 : 1];
|
|
90
|
+
else plural = plural;
|
|
91
|
+
return plural.replace(/%d/i, `${timeValue}`);
|
|
92
|
+
};
|
|
93
|
+
const locale = {
|
|
94
|
+
name: "ar",
|
|
95
|
+
weekdays: [
|
|
96
|
+
"الأحد",
|
|
97
|
+
"الإثنين",
|
|
98
|
+
"الثلاثاء",
|
|
99
|
+
"الأربعاء",
|
|
100
|
+
"الخميس",
|
|
101
|
+
"الجمعة",
|
|
102
|
+
"السبت"
|
|
103
|
+
],
|
|
104
|
+
weekdaysShort: [
|
|
105
|
+
"أحد",
|
|
106
|
+
"إثنين",
|
|
107
|
+
"ثلاثاء",
|
|
108
|
+
"أربعاء",
|
|
109
|
+
"خميس",
|
|
110
|
+
"جمعة",
|
|
111
|
+
"سبت"
|
|
112
|
+
],
|
|
113
|
+
weekdaysMin: [
|
|
114
|
+
"ح",
|
|
115
|
+
"ن",
|
|
116
|
+
"ث",
|
|
117
|
+
"ر",
|
|
118
|
+
"خ",
|
|
119
|
+
"ج",
|
|
120
|
+
"س"
|
|
121
|
+
],
|
|
122
|
+
months: [
|
|
123
|
+
"يناير",
|
|
124
|
+
"فبراير",
|
|
125
|
+
"مارس",
|
|
126
|
+
"أبريل",
|
|
127
|
+
"مايو",
|
|
128
|
+
"يونيو",
|
|
129
|
+
"يوليو",
|
|
130
|
+
"أغسطس",
|
|
131
|
+
"سبتمبر",
|
|
132
|
+
"أكتوبر",
|
|
133
|
+
"نوفمبر",
|
|
134
|
+
"ديسمبر"
|
|
135
|
+
],
|
|
136
|
+
monthsShort: [
|
|
137
|
+
"يناير",
|
|
138
|
+
"فبراير",
|
|
139
|
+
"مارس",
|
|
140
|
+
"أبريل",
|
|
141
|
+
"مايو",
|
|
142
|
+
"يونيو",
|
|
143
|
+
"يوليو",
|
|
144
|
+
"أغسطس",
|
|
145
|
+
"سبتمبر",
|
|
146
|
+
"أكتوبر",
|
|
147
|
+
"نوفمبر",
|
|
148
|
+
"ديسمبر"
|
|
149
|
+
],
|
|
150
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
151
|
+
ordinal: (n) => `${n}`,
|
|
152
|
+
weekStart: 6,
|
|
153
|
+
yearStart: 1,
|
|
154
|
+
formats: {
|
|
155
|
+
LT: "HH:mm",
|
|
156
|
+
LTS: "HH:mm:ss",
|
|
157
|
+
L: "D/M/YYYY",
|
|
158
|
+
LL: "D MMMM YYYY",
|
|
159
|
+
LLL: "D MMMM YYYY HH:mm",
|
|
160
|
+
LLLL: "dddd D MMMM YYYY HH:mm",
|
|
161
|
+
l: "D/M/YYYY",
|
|
162
|
+
ll: "D MMMM YYYY",
|
|
163
|
+
lll: "D MMMM YYYY HH:mm",
|
|
164
|
+
llll: "dddd D MMMM YYYY HH:mm"
|
|
165
|
+
},
|
|
166
|
+
calendar: {
|
|
167
|
+
sameDay: "[اليوم عند الساعة] LT",
|
|
168
|
+
nextDay: "[غدًا عند الساعة] LT",
|
|
169
|
+
nextWeek: "dddd [عند الساعة] LT",
|
|
170
|
+
lastDay: "[أمس عند الساعة] LT",
|
|
171
|
+
lastWeek: "dddd [عند الساعة] LT",
|
|
172
|
+
sameElse: "L"
|
|
173
|
+
},
|
|
174
|
+
relativeTime: {
|
|
175
|
+
future: "بعد %s",
|
|
176
|
+
past: "منذ %s",
|
|
177
|
+
s: pluralize("s"),
|
|
178
|
+
ss: pluralize("s"),
|
|
179
|
+
m: pluralize("m"),
|
|
180
|
+
mm: pluralize("m"),
|
|
181
|
+
h: pluralize("h"),
|
|
182
|
+
hh: pluralize("h"),
|
|
183
|
+
d: pluralize("d"),
|
|
184
|
+
dd: pluralize("d"),
|
|
185
|
+
w: pluralize("w"),
|
|
186
|
+
ww: pluralize("w"),
|
|
187
|
+
M: pluralize("M"),
|
|
188
|
+
MM: pluralize("M"),
|
|
189
|
+
y: pluralize("y"),
|
|
190
|
+
yy: pluralize("y")
|
|
191
|
+
},
|
|
192
|
+
meridiem: (hour, _minute, _isLowercase) => hour > 12 ? "م" : "ص",
|
|
193
|
+
preParse: (dateString) => dateString.replace(/[١٢٣٤٥٦٧٨٩٠]/g, (match) => arabicToEnglishNumbersMap[match]).replace(/،/g, ","),
|
|
194
|
+
postFormat: (formattedDate) => formattedDate.replace(/\d/g, (match) => englishToArabicNumbersMap[Number(match)]).replace(/,/g, "،")
|
|
195
|
+
};
|
|
2
196
|
|
|
3
|
-
|
|
197
|
+
//#endregion
|
|
198
|
+
export { locale as default };
|
package/locales/az.d.ts
CHANGED
package/locales/az.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeAz = {
|
|
|
56
56
|
"noy",
|
|
57
57
|
"dek"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeAz = {
|
|
|
90
91
|
hh: "%d saat",
|
|
91
92
|
d: "bir gün",
|
|
92
93
|
dd: "%d gün",
|
|
94
|
+
w: "bir həftə",
|
|
95
|
+
ww: "%d gün",
|
|
93
96
|
M: "bir ay",
|
|
94
97
|
MM: "%d ay",
|
|
95
98
|
y: "bir il",
|
|
@@ -100,7 +103,6 @@ const localeAz = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var az_default = localeAz;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeAz as default };
|
package/locales/be.d.ts
CHANGED
package/locales/be.js
CHANGED
|
@@ -1,62 +1,27 @@
|
|
|
1
1
|
//#region src/locales/be.ts
|
|
2
|
-
const dayNamesFormat = [
|
|
3
|
-
"нядзелю",
|
|
4
|
-
"панядзелак",
|
|
5
|
-
"аўторак",
|
|
6
|
-
"сераду",
|
|
7
|
-
"чацвер",
|
|
8
|
-
"пятніцу",
|
|
9
|
-
"суботу"
|
|
10
|
-
];
|
|
11
|
-
const dayNamesStandalone = [
|
|
12
|
-
"нядзеля",
|
|
13
|
-
"панядзелак",
|
|
14
|
-
"аўторак",
|
|
15
|
-
"серада",
|
|
16
|
-
"чацвер",
|
|
17
|
-
"пятніца",
|
|
18
|
-
"субота"
|
|
19
|
-
];
|
|
20
|
-
const weekdays = {
|
|
21
|
-
standalone: dayNamesStandalone,
|
|
22
|
-
format: dayNamesFormat,
|
|
23
|
-
isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/
|
|
24
|
-
};
|
|
25
|
-
const monthFormat = [
|
|
26
|
-
"студзеня",
|
|
27
|
-
"лютага",
|
|
28
|
-
"сакавіка",
|
|
29
|
-
"красавіка",
|
|
30
|
-
"траўня",
|
|
31
|
-
"чэрвеня",
|
|
32
|
-
"ліпеня",
|
|
33
|
-
"жніўня",
|
|
34
|
-
"верасня",
|
|
35
|
-
"кастрычніка",
|
|
36
|
-
"лістапада",
|
|
37
|
-
"снежня"
|
|
38
|
-
];
|
|
39
|
-
const monthStandalone = [
|
|
40
|
-
"студзень",
|
|
41
|
-
"люты",
|
|
42
|
-
"сакавік",
|
|
43
|
-
"красавік",
|
|
44
|
-
"травень",
|
|
45
|
-
"чэрвень",
|
|
46
|
-
"ліпень",
|
|
47
|
-
"жнівень",
|
|
48
|
-
"верасень",
|
|
49
|
-
"кастрычнік",
|
|
50
|
-
"лістапад",
|
|
51
|
-
"снежань"
|
|
52
|
-
];
|
|
53
|
-
const months = {
|
|
54
|
-
standalone: monthStandalone,
|
|
55
|
-
format: monthFormat
|
|
56
|
-
};
|
|
57
2
|
const localeBe = {
|
|
58
3
|
name: "be",
|
|
59
|
-
weekdays
|
|
4
|
+
weekdays: {
|
|
5
|
+
standalone: [
|
|
6
|
+
"нядзеля",
|
|
7
|
+
"панядзелак",
|
|
8
|
+
"аўторак",
|
|
9
|
+
"серада",
|
|
10
|
+
"чацвер",
|
|
11
|
+
"пятніца",
|
|
12
|
+
"субота"
|
|
13
|
+
],
|
|
14
|
+
format: [
|
|
15
|
+
"нядзелю",
|
|
16
|
+
"панядзелак",
|
|
17
|
+
"аўторак",
|
|
18
|
+
"сераду",
|
|
19
|
+
"чацвер",
|
|
20
|
+
"пятніцу",
|
|
21
|
+
"суботу"
|
|
22
|
+
],
|
|
23
|
+
isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/
|
|
24
|
+
},
|
|
60
25
|
weekdaysShort: [
|
|
61
26
|
"нд",
|
|
62
27
|
"пн",
|
|
@@ -75,7 +40,36 @@ const localeBe = {
|
|
|
75
40
|
"пт",
|
|
76
41
|
"сб"
|
|
77
42
|
],
|
|
78
|
-
months
|
|
43
|
+
months: {
|
|
44
|
+
standalone: [
|
|
45
|
+
"студзень",
|
|
46
|
+
"люты",
|
|
47
|
+
"сакавік",
|
|
48
|
+
"красавік",
|
|
49
|
+
"травень",
|
|
50
|
+
"чэрвень",
|
|
51
|
+
"ліпень",
|
|
52
|
+
"жнівень",
|
|
53
|
+
"верасень",
|
|
54
|
+
"кастрычнік",
|
|
55
|
+
"лістапад",
|
|
56
|
+
"снежань"
|
|
57
|
+
],
|
|
58
|
+
format: [
|
|
59
|
+
"студзеня",
|
|
60
|
+
"лютага",
|
|
61
|
+
"сакавіка",
|
|
62
|
+
"красавіка",
|
|
63
|
+
"траўня",
|
|
64
|
+
"чэрвеня",
|
|
65
|
+
"ліпеня",
|
|
66
|
+
"жніўня",
|
|
67
|
+
"верасня",
|
|
68
|
+
"кастрычніка",
|
|
69
|
+
"лістапада",
|
|
70
|
+
"снежня"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
79
73
|
monthsShort: [
|
|
80
74
|
"студ",
|
|
81
75
|
"лют",
|
|
@@ -90,6 +84,7 @@ const localeBe = {
|
|
|
90
84
|
"ліст",
|
|
91
85
|
"снеж"
|
|
92
86
|
],
|
|
87
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
|
|
93
88
|
ordinal: (n) => `${n}`,
|
|
94
89
|
weekStart: 1,
|
|
95
90
|
yearStart: 4,
|
|
@@ -124,6 +119,8 @@ const localeBe = {
|
|
|
124
119
|
hh: "%d гадзін",
|
|
125
120
|
d: "дзень",
|
|
126
121
|
dd: "%d дзён",
|
|
122
|
+
w: "тыдзень",
|
|
123
|
+
ww: "%d тыдні",
|
|
127
124
|
M: "месяц",
|
|
128
125
|
MM: "%d месяцаў",
|
|
129
126
|
y: "год",
|
|
@@ -134,7 +131,6 @@ const localeBe = {
|
|
|
134
131
|
return isLowercase ? m.toLowerCase() : m;
|
|
135
132
|
}
|
|
136
133
|
};
|
|
137
|
-
var be_default = localeBe;
|
|
138
134
|
|
|
139
135
|
//#endregion
|
|
140
|
-
export {
|
|
136
|
+
export { localeBe as default };
|
package/locales/bg.d.ts
CHANGED
package/locales/bg.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeBg = {
|
|
|
56
56
|
"ное",
|
|
57
57
|
"дек"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
|
|
59
60
|
ordinal: (n) => {
|
|
60
61
|
const last2Digits = n % 100;
|
|
61
62
|
if (last2Digits > 10 && last2Digits < 20) return `${n}-ти`;
|
|
@@ -109,6 +110,8 @@ const localeBg = {
|
|
|
109
110
|
hh: "%d часа",
|
|
110
111
|
d: "ден",
|
|
111
112
|
dd: "%d дена",
|
|
113
|
+
w: "седмица",
|
|
114
|
+
ww: "%d седмици",
|
|
112
115
|
M: "месец",
|
|
113
116
|
MM: "%d месеца",
|
|
114
117
|
y: "година",
|
|
@@ -119,7 +122,6 @@ const localeBg = {
|
|
|
119
122
|
return isLowercase ? m.toLowerCase() : m;
|
|
120
123
|
}
|
|
121
124
|
};
|
|
122
|
-
var bg_default = localeBg;
|
|
123
125
|
|
|
124
126
|
//#endregion
|
|
125
|
-
export {
|
|
127
|
+
export { localeBg as default };
|
package/locales/bi.d.ts
CHANGED
package/locales/bi.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeBi = {
|
|
|
56
56
|
"Nov",
|
|
57
57
|
"Dis"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeBi = {
|
|
|
90
91
|
hh: "%d haoa",
|
|
91
92
|
d: "wan dei",
|
|
92
93
|
dd: "%d dei",
|
|
94
|
+
w: "wan wik",
|
|
95
|
+
ww: "%d wik",
|
|
93
96
|
M: "wan manis",
|
|
94
97
|
MM: "%d manis",
|
|
95
98
|
y: "wan yia",
|
|
@@ -100,7 +103,6 @@ const localeBi = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var bi_default = localeBi;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeBi as default };
|
package/locales/bm.d.ts
CHANGED