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/en-us.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { en_default } from "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import localeEn from "./en.js";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
6
3
|
|
|
7
4
|
//#region src/locales/en-us.ts
|
|
8
|
-
|
|
5
|
+
/**
|
|
6
|
+
* English (United States) [en-US]
|
|
7
|
+
*/
|
|
8
|
+
const localeEnUs = cloneLocale(localeEn);
|
|
9
9
|
setLocaleProperty(localeEnUs, "name", "en-US");
|
|
10
|
-
var en_us_default = localeEnUs;
|
|
11
10
|
|
|
12
11
|
//#endregion
|
|
13
|
-
export {
|
|
12
|
+
export { localeEnUs as default };
|
package/locales/en.d.ts
CHANGED
package/locales/en.js
CHANGED
|
@@ -1,3 +1,117 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/locales/en.ts
|
|
2
|
+
const localeEn = {
|
|
3
|
+
name: "en",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"Sunday",
|
|
6
|
+
"Monday",
|
|
7
|
+
"Tuesday",
|
|
8
|
+
"Wednesday",
|
|
9
|
+
"Thursday",
|
|
10
|
+
"Friday",
|
|
11
|
+
"Saturday"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"Sun",
|
|
15
|
+
"Mon",
|
|
16
|
+
"Tue",
|
|
17
|
+
"Wed",
|
|
18
|
+
"Thu",
|
|
19
|
+
"Fri",
|
|
20
|
+
"Sat"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"Su",
|
|
24
|
+
"Mo",
|
|
25
|
+
"Tu",
|
|
26
|
+
"We",
|
|
27
|
+
"Th",
|
|
28
|
+
"Fr",
|
|
29
|
+
"Sa"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"January",
|
|
33
|
+
"February",
|
|
34
|
+
"March",
|
|
35
|
+
"April",
|
|
36
|
+
"May",
|
|
37
|
+
"June",
|
|
38
|
+
"July",
|
|
39
|
+
"August",
|
|
40
|
+
"September",
|
|
41
|
+
"October",
|
|
42
|
+
"November",
|
|
43
|
+
"December"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"Jan",
|
|
47
|
+
"Feb",
|
|
48
|
+
"Mar",
|
|
49
|
+
"Apr",
|
|
50
|
+
"May",
|
|
51
|
+
"Jun",
|
|
52
|
+
"Jul",
|
|
53
|
+
"Aug",
|
|
54
|
+
"Sep",
|
|
55
|
+
"Oct",
|
|
56
|
+
"Nov",
|
|
57
|
+
"Dec"
|
|
58
|
+
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
60
|
+
ordinal: (n) => {
|
|
61
|
+
const suffices = [
|
|
62
|
+
"th",
|
|
63
|
+
"st",
|
|
64
|
+
"nd",
|
|
65
|
+
"rd"
|
|
66
|
+
];
|
|
67
|
+
const v = n % 100;
|
|
68
|
+
return `${n}${suffices[(v - 20) % 10] || suffices[v] || suffices[0]}`;
|
|
69
|
+
},
|
|
70
|
+
weekStart: 0,
|
|
71
|
+
yearStart: 1,
|
|
72
|
+
formats: {
|
|
73
|
+
LT: "h:mm A",
|
|
74
|
+
LTS: "h:mm:ss A",
|
|
75
|
+
L: "MM/DD/YYYY",
|
|
76
|
+
LL: "MMMM D, YYYY",
|
|
77
|
+
LLL: "MMMM D, YYYY h:mm A",
|
|
78
|
+
LLLL: "dddd, MMMM D, YYYY h:mm A",
|
|
79
|
+
l: "MM/DD/YYYY",
|
|
80
|
+
ll: "MMM D, YYYY",
|
|
81
|
+
lll: "MMM D, YYYY h:mm A",
|
|
82
|
+
llll: "ddd, MMM D, YYYY h:mm A"
|
|
83
|
+
},
|
|
84
|
+
calendar: {
|
|
85
|
+
sameDay: "[Today at] LT",
|
|
86
|
+
nextDay: "[Tomorrow at] LT",
|
|
87
|
+
nextWeek: "dddd [at] LT",
|
|
88
|
+
lastDay: "[Yesterday at] LT",
|
|
89
|
+
lastWeek: "[Last] dddd [at] LT",
|
|
90
|
+
sameElse: "L"
|
|
91
|
+
},
|
|
92
|
+
relativeTime: {
|
|
93
|
+
future: "in %s",
|
|
94
|
+
past: "%s ago",
|
|
95
|
+
s: "a few seconds",
|
|
96
|
+
ss: "%d seconds",
|
|
97
|
+
m: "a minute",
|
|
98
|
+
mm: "%d minutes",
|
|
99
|
+
h: "an hour",
|
|
100
|
+
hh: "%d hours",
|
|
101
|
+
d: "a day",
|
|
102
|
+
dd: "%d days",
|
|
103
|
+
w: "a week",
|
|
104
|
+
ww: "%d weeks",
|
|
105
|
+
M: "a month",
|
|
106
|
+
MM: "%d months",
|
|
107
|
+
y: "a year",
|
|
108
|
+
yy: "%d years"
|
|
109
|
+
},
|
|
110
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
111
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
112
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
113
|
+
}
|
|
114
|
+
};
|
|
2
115
|
|
|
3
|
-
|
|
116
|
+
//#endregion
|
|
117
|
+
export { localeEn as default };
|
package/locales/eo.d.ts
CHANGED
package/locales/eo.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeEo = {
|
|
|
56
56
|
"nov",
|
|
57
57
|
"dec"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}a/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeEo = {
|
|
|
90
91
|
hh: "%d horoj",
|
|
91
92
|
d: "tago",
|
|
92
93
|
dd: "%d tagoj",
|
|
94
|
+
w: "semajno",
|
|
95
|
+
ww: "%d semajnoj",
|
|
93
96
|
M: "monato",
|
|
94
97
|
MM: "%d monatoj",
|
|
95
98
|
y: "jaro",
|
|
@@ -100,7 +103,6 @@ const localeEo = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var eo_default = localeEo;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeEo as default };
|
package/locales/es-do.d.ts
CHANGED
package/locales/es-do.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { es_default } from "../chunks/Dixb5KKs.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeEs from "./es.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/es-do.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Spanish (Dominican Republic) [es-DO]
|
|
7
|
+
*/
|
|
8
|
+
const localeEsDo = cloneLocale(localeEs);
|
|
10
9
|
const formats = {
|
|
11
10
|
LT: "h:mm A",
|
|
12
11
|
LTS: "h:mm:ss A",
|
|
@@ -21,7 +20,6 @@ const formats = {
|
|
|
21
20
|
};
|
|
22
21
|
setLocaleProperty(localeEsDo, "name", "es-DO");
|
|
23
22
|
setLocaleProperty(localeEsDo, "formats", formats);
|
|
24
|
-
var es_do_default = localeEsDo;
|
|
25
23
|
|
|
26
24
|
//#endregion
|
|
27
|
-
export {
|
|
25
|
+
export { localeEsDo as default };
|
package/locales/es-mx.d.ts
CHANGED
package/locales/es-mx.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { es_default } from "../chunks/Dixb5KKs.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeEs from "./es.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/es-mx.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Spanish (Mexico) [es-MX]
|
|
7
|
+
*/
|
|
8
|
+
const localeEsMx = cloneLocale(localeEs);
|
|
10
9
|
setLocaleProperty(localeEsMx, "name", "es-MX");
|
|
11
10
|
setLocaleProperty(localeEsMx, "weekStart", 0);
|
|
12
|
-
var es_mx_default = localeEsMx;
|
|
13
11
|
|
|
14
12
|
//#endregion
|
|
15
|
-
export {
|
|
13
|
+
export { localeEsMx as default };
|
package/locales/es-pr.d.ts
CHANGED
package/locales/es-pr.js
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { es_default } from "../chunks/Dixb5KKs.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeEs from "./es.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/es-pr.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Spanish (Puerto Rico) [es-PR]
|
|
7
|
+
*/
|
|
8
|
+
const localeEsPr = cloneLocale(localeEs);
|
|
10
9
|
const formats = structuredClone(localeEsPr.formats);
|
|
11
10
|
formats.L = "DD/MM/YYYY";
|
|
12
11
|
formats.l = "DD/MM/YYYY";
|
|
13
12
|
setLocaleProperty(localeEsPr, "name", "es-PR");
|
|
14
13
|
setLocaleProperty(localeEsPr, "formats", formats);
|
|
15
|
-
var es_pr_default = localeEsPr;
|
|
16
14
|
|
|
17
15
|
//#endregion
|
|
18
|
-
export {
|
|
16
|
+
export { localeEsPr as default };
|
package/locales/es-us.d.ts
CHANGED
package/locales/es-us.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { es_default } from "../chunks/Dixb5KKs.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeEs from "./es.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/es-us.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Spanish (United States) [es-US]
|
|
7
|
+
*/
|
|
8
|
+
const localeEsUs = cloneLocale(localeEs);
|
|
10
9
|
setLocaleProperty(localeEsUs, "name", "es-US");
|
|
11
|
-
var es_us_default = localeEsUs;
|
|
12
10
|
|
|
13
11
|
//#endregion
|
|
14
|
-
export {
|
|
12
|
+
export { localeEsUs as default };
|
package/locales/es.d.ts
CHANGED
package/locales/es.js
CHANGED
|
@@ -1,3 +1,118 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/locales/es.ts
|
|
2
|
+
const localeEs = {
|
|
3
|
+
name: "es",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"domingo",
|
|
6
|
+
"lunes",
|
|
7
|
+
"martes",
|
|
8
|
+
"miércoles",
|
|
9
|
+
"jueves",
|
|
10
|
+
"viernes",
|
|
11
|
+
"sábado"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"dom.",
|
|
15
|
+
"lun.",
|
|
16
|
+
"mar.",
|
|
17
|
+
"mié.",
|
|
18
|
+
"jue.",
|
|
19
|
+
"vie.",
|
|
20
|
+
"sáb."
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"do",
|
|
24
|
+
"lu",
|
|
25
|
+
"ma",
|
|
26
|
+
"mi",
|
|
27
|
+
"ju",
|
|
28
|
+
"vi",
|
|
29
|
+
"sá"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"enero",
|
|
33
|
+
"febrero",
|
|
34
|
+
"marzo",
|
|
35
|
+
"abril",
|
|
36
|
+
"mayo",
|
|
37
|
+
"junio",
|
|
38
|
+
"julio",
|
|
39
|
+
"agosto",
|
|
40
|
+
"septiembre",
|
|
41
|
+
"octubre",
|
|
42
|
+
"noviembre",
|
|
43
|
+
"diciembre"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"ene",
|
|
47
|
+
"feb",
|
|
48
|
+
"mar",
|
|
49
|
+
"abr",
|
|
50
|
+
"may",
|
|
51
|
+
"jun",
|
|
52
|
+
"jul",
|
|
53
|
+
"ago",
|
|
54
|
+
"sep",
|
|
55
|
+
"oct",
|
|
56
|
+
"nov",
|
|
57
|
+
"dic"
|
|
58
|
+
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
60
|
+
ordinal: (n) => `${n}º`,
|
|
61
|
+
weekStart: 1,
|
|
62
|
+
yearStart: 4,
|
|
63
|
+
formats: {
|
|
64
|
+
LT: "H:mm",
|
|
65
|
+
LTS: "H:mm:ss",
|
|
66
|
+
L: "DD/MM/YYYY",
|
|
67
|
+
LL: "D [de] MMMM [de] YYYY",
|
|
68
|
+
LLL: "D [de] MMMM [de] YYYY H:mm",
|
|
69
|
+
LLLL: "dddd, D [de] MMMM [de] YYYY H:mm",
|
|
70
|
+
l: "DD/MM/YYYY",
|
|
71
|
+
ll: "D [de] MMMM [de] YYYY",
|
|
72
|
+
lll: "D [de] MMMM [de] YYYY H:mm",
|
|
73
|
+
llll: "dddd, D [de] MMMM [de] YYYY H:mm"
|
|
74
|
+
},
|
|
75
|
+
calendar: {
|
|
76
|
+
sameDay() {
|
|
77
|
+
return `[hoy a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
78
|
+
},
|
|
79
|
+
nextDay() {
|
|
80
|
+
return `[mañana a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
81
|
+
},
|
|
82
|
+
nextWeek() {
|
|
83
|
+
return `dddd [a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
84
|
+
},
|
|
85
|
+
lastDay() {
|
|
86
|
+
return `[ayer a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
87
|
+
},
|
|
88
|
+
lastWeek() {
|
|
89
|
+
return `[el] dddd [pasado a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
90
|
+
},
|
|
91
|
+
sameElse: "L"
|
|
92
|
+
},
|
|
93
|
+
relativeTime: {
|
|
94
|
+
future: "en %s",
|
|
95
|
+
past: "hace %s",
|
|
96
|
+
s: "unos segundos",
|
|
97
|
+
ss: "%d segundos",
|
|
98
|
+
m: "un minuto",
|
|
99
|
+
mm: "%d minutos",
|
|
100
|
+
h: "una hora",
|
|
101
|
+
hh: "%d horas",
|
|
102
|
+
d: "un día",
|
|
103
|
+
dd: "%d días",
|
|
104
|
+
w: "una semana",
|
|
105
|
+
ww: "%d semanas",
|
|
106
|
+
M: "un mes",
|
|
107
|
+
MM: "%d meses",
|
|
108
|
+
y: "un año",
|
|
109
|
+
yy: "%d años"
|
|
110
|
+
},
|
|
111
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
112
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
113
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
114
|
+
}
|
|
115
|
+
};
|
|
2
116
|
|
|
3
|
-
|
|
117
|
+
//#endregion
|
|
118
|
+
export { localeEs as default };
|
package/locales/et.d.ts
CHANGED
package/locales/et.js
CHANGED
|
@@ -18,6 +18,8 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
18
18
|
hh: ["%d tunni", "%d tundi"],
|
|
19
19
|
d: ["ühe päeva", "üks päev"],
|
|
20
20
|
dd: ["%d päeva", "%d päeva"],
|
|
21
|
+
w: ["ühe nädala", "üks nädal"],
|
|
22
|
+
ww: ["%d nädalat", "%d nädalat"],
|
|
21
23
|
M: [
|
|
22
24
|
"kuu aja",
|
|
23
25
|
"kuu aega",
|
|
@@ -92,6 +94,7 @@ const localeEt = {
|
|
|
92
94
|
"nov",
|
|
93
95
|
"dets"
|
|
94
96
|
],
|
|
97
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
95
98
|
ordinal: (n) => `${n}.`,
|
|
96
99
|
weekStart: 1,
|
|
97
100
|
yearStart: 4,
|
|
@@ -126,6 +129,8 @@ const localeEt = {
|
|
|
126
129
|
hh: relativeTimeFormatter,
|
|
127
130
|
d: relativeTimeFormatter,
|
|
128
131
|
dd: relativeTimeFormatter,
|
|
132
|
+
w: relativeTimeFormatter,
|
|
133
|
+
ww: relativeTimeFormatter,
|
|
129
134
|
M: relativeTimeFormatter,
|
|
130
135
|
MM: relativeTimeFormatter,
|
|
131
136
|
y: relativeTimeFormatter,
|
|
@@ -136,7 +141,6 @@ const localeEt = {
|
|
|
136
141
|
return isLowercase ? m.toLowerCase() : m;
|
|
137
142
|
}
|
|
138
143
|
};
|
|
139
|
-
var et_default = localeEt;
|
|
140
144
|
|
|
141
145
|
//#endregion
|
|
142
|
-
export {
|
|
146
|
+
export { localeEt as default };
|
package/locales/eu.d.ts
CHANGED
package/locales/eu.js
CHANGED
|
@@ -58,6 +58,7 @@ const localeEu = {
|
|
|
58
58
|
],
|
|
59
59
|
weekStart: 1,
|
|
60
60
|
yearStart: 4,
|
|
61
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
61
62
|
ordinal: (n) => `${n}`,
|
|
62
63
|
formats: {
|
|
63
64
|
LT: "HH:mm",
|
|
@@ -90,6 +91,8 @@ const localeEu = {
|
|
|
90
91
|
hh: "%d ordu",
|
|
91
92
|
d: "egun bat",
|
|
92
93
|
dd: "%d egun",
|
|
94
|
+
w: "astebete",
|
|
95
|
+
ww: "%d aste",
|
|
93
96
|
M: "hilabete bat",
|
|
94
97
|
MM: "%d hilabete",
|
|
95
98
|
y: "urte bat",
|
|
@@ -100,7 +103,6 @@ const localeEu = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var eu_default = localeEu;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeEu as default };
|
package/locales/fa.d.ts
CHANGED
package/locales/fa.js
CHANGED
|
@@ -56,6 +56,7 @@ const locale = {
|
|
|
56
56
|
"نوامبر",
|
|
57
57
|
"دسامبر"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}م/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 6,
|
|
61
62
|
yearStart: 4,
|
|
@@ -89,6 +90,8 @@ const locale = {
|
|
|
89
90
|
h: "یک ساعت",
|
|
90
91
|
hh: "%d ساعت",
|
|
91
92
|
d: "یک روز",
|
|
93
|
+
w: "یک هفته",
|
|
94
|
+
ww: "%d هفته",
|
|
92
95
|
dd: "%d روز",
|
|
93
96
|
M: "یک ماه",
|
|
94
97
|
MM: "%d ماه",
|
|
@@ -100,7 +103,6 @@ const locale = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var fa_default = locale;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { locale as default };
|
package/locales/fi.d.ts
CHANGED
package/locales/fi.js
CHANGED
|
@@ -9,6 +9,8 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
9
9
|
hh: "%d tuntia",
|
|
10
10
|
d: "päivä",
|
|
11
11
|
dd: "%d päivää",
|
|
12
|
+
w: "viikon",
|
|
13
|
+
ww: "%d viikkoa",
|
|
12
14
|
M: "kuukausi",
|
|
13
15
|
MM: "%d kuukautta",
|
|
14
16
|
y: "vuosi",
|
|
@@ -35,6 +37,8 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
35
37
|
hh: "%d tunnin",
|
|
36
38
|
d: "päivän",
|
|
37
39
|
dd: "%d päivän",
|
|
40
|
+
w: "viikko",
|
|
41
|
+
ww: "%d viikon",
|
|
38
42
|
M: "kuukauden",
|
|
39
43
|
MM: "%d kuukauden",
|
|
40
44
|
y: "vuoden",
|
|
@@ -115,6 +119,7 @@ const localeFi = {
|
|
|
115
119
|
"marras",
|
|
116
120
|
"joulu"
|
|
117
121
|
],
|
|
122
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
118
123
|
ordinal: (n) => `${n}.`,
|
|
119
124
|
weekStart: 1,
|
|
120
125
|
yearStart: 4,
|
|
@@ -149,6 +154,8 @@ const localeFi = {
|
|
|
149
154
|
hh: relativeTimeFormatter,
|
|
150
155
|
d: relativeTimeFormatter,
|
|
151
156
|
dd: relativeTimeFormatter,
|
|
157
|
+
w: relativeTimeFormatter,
|
|
158
|
+
ww: relativeTimeFormatter,
|
|
152
159
|
M: relativeTimeFormatter,
|
|
153
160
|
MM: relativeTimeFormatter,
|
|
154
161
|
y: relativeTimeFormatter,
|
|
@@ -159,7 +166,6 @@ const localeFi = {
|
|
|
159
166
|
return isLowercase ? m.toLowerCase() : m;
|
|
160
167
|
}
|
|
161
168
|
};
|
|
162
|
-
var fi_default = localeFi;
|
|
163
169
|
|
|
164
170
|
//#endregion
|
|
165
|
-
export {
|
|
171
|
+
export { localeFi as default };
|
package/locales/fil.d.ts
CHANGED
package/locales/fil.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeFil = {
|
|
|
56
56
|
"Nob",
|
|
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 localeFil = {
|
|
|
90
91
|
hh: "%d oras",
|
|
91
92
|
d: "isang araw",
|
|
92
93
|
dd: "%d araw",
|
|
94
|
+
w: "isang linggo",
|
|
95
|
+
ww: "%d linggo",
|
|
93
96
|
M: "isang buwan",
|
|
94
97
|
MM: "%d buwan",
|
|
95
98
|
y: "isang taon",
|
|
@@ -100,7 +103,6 @@ const localeFil = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var fil_default = localeFil;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeFil as default };
|
package/locales/fo.d.ts
CHANGED