esday 0.4.1 → 0.5.0
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 +8 -0
- package/LICENSE +21 -0
- package/README.md +20 -2
- package/chunks/B5f9poqo.js +120 -0
- package/chunks/BDssPbM_.js +106 -0
- package/chunks/BRRrAbUl.js +56 -0
- package/chunks/BXRGSAJG.js +128 -0
- package/chunks/BeVgU2nj.js +188 -0
- package/chunks/BtmEtAW3.js +43 -0
- package/chunks/CQ57zhVp.js +106 -0
- package/chunks/CQJ0-ZuR.js +106 -0
- package/chunks/CWqzr5E5.js +108 -0
- package/chunks/Cb5SvF6r.js +25 -0
- package/chunks/Cg4ZI9v8.js +180 -0
- package/chunks/CoBtJ4c1.js +144 -0
- package/chunks/D009Z-ld.js +109 -0
- package/chunks/DMtTiWuY.js +127 -0
- package/chunks/DXHbH1CI.js +9 -0
- package/chunks/Dixb5KKs.js +116 -0
- package/chunks/DjY7KvwG.js +28 -0
- package/chunks/DqhiVwLi.d.ts +203 -0
- package/chunks/GjKpN6U-.js +135 -0
- package/chunks/MtjcOKi-.d.ts +6 -0
- package/chunks/St35qgL0.d.ts +103 -0
- package/chunks/Y32qdU_5.js +62 -0
- package/chunks/br7kModF.js +110 -0
- package/chunks/l2Rxo2H0.js +106 -0
- package/chunks/tfkJ5D3p.js +115 -0
- package/index.d.ts +3 -6
- package/index.js +556 -293
- package/locales/af.d.ts +8 -0
- package/locales/af.js +106 -0
- package/locales/am.d.ts +8 -0
- package/locales/am.js +106 -0
- package/locales/ar-dz.d.ts +11 -0
- package/locales/ar-dz.js +32 -0
- package/locales/ar-iq.d.ts +11 -0
- package/locales/ar-iq.js +14 -0
- package/locales/ar-kw.d.ts +11 -0
- package/locales/ar-kw.js +28 -0
- package/locales/ar-ly.d.ts +11 -0
- package/locales/ar-ly.js +14 -0
- package/locales/ar-ma.d.ts +11 -0
- package/locales/ar-ma.js +29 -0
- package/locales/ar-sa.d.ts +11 -0
- package/locales/ar-sa.js +29 -0
- package/locales/ar-tn.d.ts +11 -0
- package/locales/ar-tn.js +29 -0
- package/locales/ar.d.ts +8 -0
- package/locales/ar.js +3 -0
- package/locales/az.d.ts +8 -0
- package/locales/az.js +106 -0
- package/locales/be.d.ts +8 -0
- package/locales/be.js +140 -0
- package/locales/bg.d.ts +8 -0
- package/locales/bg.js +125 -0
- package/locales/bi.d.ts +8 -0
- package/locales/bi.js +106 -0
- package/locales/bm.d.ts +8 -0
- package/locales/bm.js +106 -0
- package/locales/bn-bd.d.ts +11 -0
- package/locales/bn-bd.js +24 -0
- package/locales/bn.d.ts +8 -0
- package/locales/bn.js +3 -0
- package/locales/bo.d.ts +8 -0
- package/locales/bo.js +106 -0
- package/locales/br.d.ts +8 -0
- package/locales/br.js +179 -0
- package/locales/bs.d.ts +8 -0
- package/locales/bs.js +128 -0
- package/locales/ca.d.ts +8 -0
- package/locales/ca.js +143 -0
- package/locales/cs.d.ts +8 -0
- package/locales/cs.js +182 -0
- package/locales/cv.d.ts +8 -0
- package/locales/cv.js +106 -0
- package/locales/cy.d.ts +8 -0
- package/locales/cy.js +106 -0
- package/locales/da.d.ts +8 -0
- package/locales/da.js +106 -0
- package/locales/de-at.d.ts +11 -0
- package/locales/de-at.js +44 -0
- package/locales/de-ch.d.ts +11 -0
- package/locales/de-ch.js +14 -0
- package/locales/de.d.ts +8 -0
- package/locales/de.js +3 -0
- package/locales/dv.d.ts +8 -0
- package/locales/dv.js +106 -0
- package/locales/el.d.ts +8 -0
- package/locales/el.js +115 -0
- package/locales/en-au.d.ts +11 -0
- package/locales/en-au.js +27 -0
- package/locales/en-ca.d.ts +11 -0
- package/locales/en-ca.js +27 -0
- package/locales/en-gb.d.ts +13 -0
- package/locales/en-gb.js +28 -0
- package/locales/en-ie.d.ts +11 -0
- package/locales/en-ie.js +26 -0
- package/locales/en-il.d.ts +11 -0
- package/locales/en-il.js +28 -0
- package/locales/en-in.d.ts +11 -0
- package/locales/en-in.js +26 -0
- package/locales/en-nz.d.ts +11 -0
- package/locales/en-nz.js +28 -0
- package/locales/en-sg.d.ts +11 -0
- package/locales/en-sg.js +28 -0
- package/locales/en-tt.d.ts +11 -0
- package/locales/en-tt.js +28 -0
- package/locales/en-us.d.ts +11 -0
- package/locales/en-us.js +13 -0
- package/locales/en.d.ts +7 -5
- package/locales/en.js +3 -1
- package/locales/eo.d.ts +8 -0
- package/locales/eo.js +106 -0
- package/locales/es-do.d.ts +11 -0
- package/locales/es-do.js +27 -0
- package/locales/es-mx.d.ts +11 -0
- package/locales/es-mx.js +15 -0
- package/locales/es-pr.d.ts +11 -0
- package/locales/es-pr.js +18 -0
- package/locales/es-us.d.ts +11 -0
- package/locales/es-us.js +14 -0
- package/locales/es.d.ts +8 -0
- package/locales/es.js +3 -0
- package/locales/et.d.ts +8 -0
- package/locales/et.js +142 -0
- package/locales/eu.d.ts +8 -0
- package/locales/eu.js +106 -0
- package/locales/fa.d.ts +8 -0
- package/locales/fa.js +106 -0
- package/locales/fi.d.ts +8 -0
- package/locales/fi.js +165 -0
- package/locales/fil.d.ts +8 -0
- package/locales/fil.js +106 -0
- package/locales/fo.d.ts +8 -0
- package/locales/fo.js +106 -0
- package/locales/fr-ca.d.ts +11 -0
- package/locales/fr-ca.js +18 -0
- package/locales/fr-ch.d.ts +11 -0
- package/locales/fr-ch.js +18 -0
- package/locales/fr.d.ts +8 -0
- package/locales/fr.js +3 -0
- package/locales/fy.d.ts +8 -0
- package/locales/fy.js +106 -0
- package/locales/ga.d.ts +8 -0
- package/locales/ga.js +106 -0
- package/locales/gd.d.ts +8 -0
- package/locales/gd.js +106 -0
- package/locales/gl.d.ts +8 -0
- package/locales/gl.js +116 -0
- package/locales/gom-deva.d.ts +8 -0
- package/locales/gom-deva.js +146 -0
- package/locales/gom-latn.d.ts +8 -0
- package/locales/gom-latn.js +146 -0
- package/locales/gu.d.ts +8 -0
- package/locales/gu.js +106 -0
- package/locales/he.d.ts +8 -0
- package/locales/he.js +129 -0
- package/locales/hi.d.ts +8 -0
- package/locales/hi.js +125 -0
- package/locales/hr.d.ts +8 -0
- package/locales/hr.js +189 -0
- package/locales/ht.d.ts +8 -0
- package/locales/ht.js +106 -0
- package/locales/hu.d.ts +8 -0
- package/locales/hu.js +140 -0
- package/locales/hy-am.d.ts +8 -0
- package/locales/hy-am.js +127 -0
- package/locales/id.d.ts +8 -0
- package/locales/id.js +106 -0
- package/locales/is.d.ts +8 -0
- package/locales/is.js +155 -0
- package/locales/it-ch.d.ts +11 -0
- package/locales/it-ch.js +32 -0
- package/locales/it.d.ts +8 -0
- package/locales/it.js +3 -0
- package/locales/ja.d.ts +15 -0
- package/locales/ja.js +109 -0
- package/locales/jv.d.ts +8 -0
- package/locales/jv.js +106 -0
- package/locales/ka.d.ts +8 -0
- package/locales/ka.js +126 -0
- package/locales/kk.d.ts +8 -0
- package/locales/kk.js +106 -0
- package/locales/km.d.ts +8 -0
- package/locales/km.js +106 -0
- package/locales/kn.d.ts +8 -0
- package/locales/kn.js +106 -0
- package/locales/ko.d.ts +8 -0
- package/locales/ko.js +105 -0
- package/locales/ku.d.ts +8 -0
- package/locales/ku.js +119 -0
- package/locales/ky.d.ts +8 -0
- package/locales/ky.js +106 -0
- package/locales/lb.d.ts +8 -0
- package/locales/lb.js +166 -0
- package/locales/lo.d.ts +8 -0
- package/locales/lo.js +105 -0
- package/locales/lt.d.ts +8 -0
- package/locales/lt.js +106 -0
- package/locales/lv.d.ts +8 -0
- package/locales/lv.js +106 -0
- package/locales/me.d.ts +8 -0
- package/locales/me.js +129 -0
- package/locales/mi.d.ts +8 -0
- package/locales/mi.js +106 -0
- package/locales/mk.d.ts +8 -0
- package/locales/mk.js +117 -0
- package/locales/ml.d.ts +8 -0
- package/locales/ml.js +109 -0
- package/locales/mn.d.ts +8 -0
- package/locales/mn.js +106 -0
- package/locales/mr.d.ts +8 -0
- package/locales/mr.js +215 -0
- package/locales/ms-my.d.ts +11 -0
- package/locales/ms-my.js +14 -0
- package/locales/ms.d.ts +8 -0
- package/locales/ms.js +3 -0
- package/locales/mt.d.ts +8 -0
- package/locales/mt.js +106 -0
- package/locales/my.d.ts +8 -0
- package/locales/my.js +132 -0
- package/locales/nb.d.ts +8 -0
- package/locales/nb.js +106 -0
- package/locales/ne.d.ts +8 -0
- package/locales/ne.js +106 -0
- package/locales/nl-be.d.ts +11 -0
- package/locales/nl-be.js +18 -0
- package/locales/nl.d.ts +8 -0
- package/locales/nl.js +3 -0
- package/locales/nn.d.ts +8 -0
- package/locales/nn.js +106 -0
- package/locales/oc-lnc.d.ts +8 -0
- package/locales/oc-lnc.js +126 -0
- package/locales/pa-in.d.ts +8 -0
- package/locales/pa-in.js +123 -0
- package/locales/pl.d.ts +8 -0
- package/locales/pl.js +159 -0
- package/locales/pt-br.d.ts +11 -0
- package/locales/pt-br.js +53 -0
- package/locales/pt.d.ts +8 -0
- package/locales/pt.js +3 -0
- package/locales/rn.d.ts +8 -0
- package/locales/rn.js +106 -0
- package/locales/ro.d.ts +8 -0
- package/locales/ro.js +106 -0
- package/locales/ru.d.ts +15 -0
- package/locales/ru.js +236 -0
- package/locales/rw.d.ts +8 -0
- package/locales/rw.js +106 -0
- package/locales/sd.d.ts +8 -0
- package/locales/sd.js +106 -0
- package/locales/se.d.ts +8 -0
- package/locales/se.js +106 -0
- package/locales/si.d.ts +8 -0
- package/locales/si.js +106 -0
- package/locales/sk.d.ts +8 -0
- package/locales/sk.js +162 -0
- package/locales/sl.d.ts +8 -0
- package/locales/sl.js +171 -0
- package/locales/sq.d.ts +8 -0
- package/locales/sq.js +106 -0
- package/locales/sr-cyrl.d.ts +11 -0
- package/locales/sr-cyrl.js +173 -0
- package/locales/sr.d.ts +8 -0
- package/locales/sr.js +3 -0
- package/locales/ss.d.ts +8 -0
- package/locales/ss.js +108 -0
- package/locales/sv-fi.d.ts +11 -0
- package/locales/sv-fi.js +27 -0
- package/locales/sv.d.ts +8 -0
- package/locales/sv.js +3 -0
- package/locales/sw.d.ts +8 -0
- package/locales/sw.js +106 -0
- package/locales/ta.d.ts +8 -0
- package/locales/ta.js +137 -0
- package/locales/te.d.ts +8 -0
- package/locales/te.js +109 -0
- package/locales/tet.d.ts +8 -0
- package/locales/tet.js +110 -0
- package/locales/tg.d.ts +8 -0
- package/locales/tg.js +128 -0
- package/locales/th.d.ts +8 -0
- package/locales/th.js +106 -0
- package/locales/tk.d.ts +8 -0
- package/locales/tk.js +134 -0
- package/locales/tl-ph.d.ts +8 -0
- package/locales/tl-ph.js +106 -0
- package/locales/tlh.d.ts +8 -0
- package/locales/tlh.js +152 -0
- package/locales/tr.d.ts +8 -0
- package/locales/tr.js +134 -0
- package/locales/tzl.d.ts +8 -0
- package/locales/tzl.js +123 -0
- package/locales/tzm-latn.d.ts +11 -0
- package/locales/tzm-latn.js +68 -0
- package/locales/tzm.d.ts +8 -0
- package/locales/tzm.js +3 -0
- package/locales/ug-cn.d.ts +8 -0
- package/locales/ug-cn.js +111 -0
- package/locales/uk.d.ts +8 -0
- package/locales/uk.js +194 -0
- package/locales/ur.d.ts +8 -0
- package/locales/ur.js +108 -0
- package/locales/uz-latn.d.ts +11 -0
- package/locales/uz-latn.js +68 -0
- package/locales/uz.d.ts +8 -0
- package/locales/uz.js +3 -0
- package/locales/vi.d.ts +8 -0
- package/locales/vi.js +106 -0
- package/locales/x-pseudo.d.ts +8 -0
- package/locales/x-pseudo.js +110 -0
- package/locales/yo.d.ts +8 -0
- package/locales/yo.js +106 -0
- package/locales/zh-cn.d.ts +11 -0
- package/locales/zh-cn.js +14 -0
- package/locales/zh-hk.d.ts +11 -0
- package/locales/zh-hk.js +23 -0
- package/locales/zh-mo.d.ts +11 -0
- package/locales/zh-mo.js +23 -0
- package/locales/zh-tw.d.ts +11 -0
- package/locales/zh-tw.js +23 -0
- package/locales/zh.d.ts +13 -4
- package/locales/zh.js +2 -63
- package/package.json +51 -25
- package/plugins/advancedFormat/index.d.ts +8 -0
- package/plugins/advancedFormat/index.js +20 -0
- package/plugins/advancedParse/index.d.ts +8 -0
- package/plugins/advancedParse/index.js +406 -0
- package/plugins/calendar/index.d.ts +14 -0
- package/plugins/calendar/index.js +33 -0
- package/plugins/dayOfYear/index.d.ts +13 -0
- package/plugins/dayOfYear/index.js +12 -0
- package/plugins/isBetween/index.d.ts +23 -0
- package/plugins/isBetween/index.js +16 -0
- package/plugins/isLeapYear/index.d.ts +12 -0
- package/plugins/isLeapYear/index.js +11 -0
- package/plugins/isSameOrAfter/index.d.ts +12 -0
- package/plugins/isSameOrAfter/index.js +10 -0
- package/plugins/isSameOrBefore/index.d.ts +12 -0
- package/plugins/isSameOrBefore/index.js +10 -0
- package/plugins/isToday/index.d.ts +8 -6
- package/plugins/isToday/index.js +10 -6
- package/plugins/isTomorrow/index.d.ts +12 -0
- package/plugins/isTomorrow/index.js +14 -0
- package/plugins/isYesterday/index.d.ts +12 -0
- package/plugins/isYesterday/index.js +14 -0
- package/plugins/isoWeek/index.d.ts +21 -0
- package/plugins/isoWeek/index.js +240 -0
- package/plugins/locale/index.d.ts +4 -75
- package/plugins/locale/index.js +6 -69
- package/plugins/localeData/index.d.ts +8 -0
- package/plugins/localeData/index.js +148 -0
- package/plugins/localizedFormat/index.d.ts +8 -0
- package/plugins/localizedFormat/index.js +88 -0
- package/plugins/localizedParse/index.d.ts +8 -0
- package/plugins/localizedParse/index.js +199 -0
- package/plugins/minMax/index.d.ts +13 -0
- package/plugins/minMax/index.js +22 -0
- package/plugins/objectSupport/index.d.ts +8 -0
- package/plugins/objectSupport/index.js +104 -0
- package/plugins/pluralGetSet/index.d.ts +20 -0
- package/plugins/pluralGetSet/index.js +16 -0
- package/plugins/quarterOfYear/index.d.ts +16 -0
- package/plugins/quarterOfYear/index.js +58 -0
- package/plugins/relativeTime/index.d.ts +59 -0
- package/plugins/relativeTime/index.js +154 -0
- package/plugins/toArray/index.d.ts +12 -0
- package/plugins/toArray/index.js +18 -0
- package/plugins/toObject/index.d.ts +20 -0
- package/plugins/toObject/index.js +18 -0
- package/plugins/utc/index.d.ts +14 -17
- package/plugins/utc/index.js +191 -37
- package/plugins/week/index.d.ts +21 -0
- package/plugins/week/index.js +360 -0
- package/EsDay-KXQgnL1r.d.ts +0 -89
- package/chunk-MLKGABMK.js +0 -7
- package/chunk-NUV73YDM.js +0 -60
- package/chunk-SQBPUYUY.js +0 -140
- package/plugins/customParseFormat/index.d.ts +0 -5
- package/plugins/customParseFormat/index.js +0 -159
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
//#region src/locales/oc-lnc.ts
|
|
2
|
+
const monthFormat = [
|
|
3
|
+
"de genièr",
|
|
4
|
+
"de febrièr",
|
|
5
|
+
"de març",
|
|
6
|
+
`d'abril`,
|
|
7
|
+
"de mai",
|
|
8
|
+
"de junh",
|
|
9
|
+
"de julhet",
|
|
10
|
+
`d'agost`,
|
|
11
|
+
"de setembre",
|
|
12
|
+
`d'octòbre`,
|
|
13
|
+
"de novembre",
|
|
14
|
+
"de decembre"
|
|
15
|
+
];
|
|
16
|
+
const monthStandalone = [
|
|
17
|
+
"genièr",
|
|
18
|
+
"febrièr",
|
|
19
|
+
"març",
|
|
20
|
+
"abril",
|
|
21
|
+
"mai",
|
|
22
|
+
"junh",
|
|
23
|
+
"julhet",
|
|
24
|
+
"agost",
|
|
25
|
+
"setembre",
|
|
26
|
+
"octòbre",
|
|
27
|
+
"novembre",
|
|
28
|
+
"decembre"
|
|
29
|
+
];
|
|
30
|
+
const months = {
|
|
31
|
+
standalone: monthStandalone,
|
|
32
|
+
format: monthFormat,
|
|
33
|
+
isFormat: /D[oD]?(\s)+MMMM/
|
|
34
|
+
};
|
|
35
|
+
const localeOcLnc = {
|
|
36
|
+
name: "oc-LNC",
|
|
37
|
+
weekdays: [
|
|
38
|
+
"dimenge",
|
|
39
|
+
"diluns",
|
|
40
|
+
"dimars",
|
|
41
|
+
"dimècres",
|
|
42
|
+
"dijòus",
|
|
43
|
+
"divendres",
|
|
44
|
+
"dissabte"
|
|
45
|
+
],
|
|
46
|
+
weekdaysShort: [
|
|
47
|
+
"Dg",
|
|
48
|
+
"Dl",
|
|
49
|
+
"Dm",
|
|
50
|
+
"Dc",
|
|
51
|
+
"Dj",
|
|
52
|
+
"Dv",
|
|
53
|
+
"Ds"
|
|
54
|
+
],
|
|
55
|
+
weekdaysMin: [
|
|
56
|
+
"dg",
|
|
57
|
+
"dl",
|
|
58
|
+
"dm",
|
|
59
|
+
"dc",
|
|
60
|
+
"dj",
|
|
61
|
+
"dv",
|
|
62
|
+
"ds"
|
|
63
|
+
],
|
|
64
|
+
months,
|
|
65
|
+
monthsShort: [
|
|
66
|
+
"gen",
|
|
67
|
+
"feb",
|
|
68
|
+
"març",
|
|
69
|
+
"abr",
|
|
70
|
+
"mai",
|
|
71
|
+
"junh",
|
|
72
|
+
"julh",
|
|
73
|
+
"ago",
|
|
74
|
+
"set",
|
|
75
|
+
"oct",
|
|
76
|
+
"nov",
|
|
77
|
+
"dec"
|
|
78
|
+
],
|
|
79
|
+
ordinal: (n) => `${n}º`,
|
|
80
|
+
weekStart: 1,
|
|
81
|
+
yearStart: 4,
|
|
82
|
+
formats: {
|
|
83
|
+
LT: "H:mm",
|
|
84
|
+
LTS: "H:mm:ss",
|
|
85
|
+
L: "DD/MM/YYYY",
|
|
86
|
+
LL: "D MMMM [de] YYYY",
|
|
87
|
+
LLL: "D MMMM [de] YYYY [a] H:mm",
|
|
88
|
+
LLLL: "dddd D MMMM [de] YYYY [a] H:mm",
|
|
89
|
+
l: "DD/MM/YYYY",
|
|
90
|
+
ll: "D MMMM [de] YYYY",
|
|
91
|
+
lll: "D MMMM [de] YYYY [a] H:mm",
|
|
92
|
+
llll: "dddd D MMMM [de] YYYY [a] H:mm"
|
|
93
|
+
},
|
|
94
|
+
calendar: {
|
|
95
|
+
sameDay: "[uèi a] LT",
|
|
96
|
+
nextDay: "[deman a] LT",
|
|
97
|
+
nextWeek: "dddd [a] LT",
|
|
98
|
+
lastDay: "[ièr a] LT",
|
|
99
|
+
lastWeek: "dddd [passat a] LT",
|
|
100
|
+
sameElse: "L"
|
|
101
|
+
},
|
|
102
|
+
relativeTime: {
|
|
103
|
+
future: "d'aquí %s",
|
|
104
|
+
past: "fa %s",
|
|
105
|
+
s: "unas segondas",
|
|
106
|
+
ss: "%d segondas",
|
|
107
|
+
m: "una minuta",
|
|
108
|
+
mm: "%d minutas",
|
|
109
|
+
h: "una ora",
|
|
110
|
+
hh: "%d oras",
|
|
111
|
+
d: "un jorn",
|
|
112
|
+
dd: "%d jorns",
|
|
113
|
+
M: "un mes",
|
|
114
|
+
MM: "%d meses",
|
|
115
|
+
y: "un an",
|
|
116
|
+
yy: "%d ans"
|
|
117
|
+
},
|
|
118
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
119
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
120
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
var oc_lnc_default = localeOcLnc;
|
|
124
|
+
|
|
125
|
+
//#endregion
|
|
126
|
+
export { oc_lnc_default as default };
|
package/locales/pa-in.js
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
//#region src/locales/pa-in.ts
|
|
2
|
+
const months = [
|
|
3
|
+
"ਜਨਵਰੀ",
|
|
4
|
+
"ਫ਼ਰਵਰੀ",
|
|
5
|
+
"ਮਾਰਚ",
|
|
6
|
+
"ਅਪ੍ਰੈਲ",
|
|
7
|
+
"ਮਈ",
|
|
8
|
+
"ਜੂਨ",
|
|
9
|
+
"ਜੁਲਾਈ",
|
|
10
|
+
"ਅਗਸਤ",
|
|
11
|
+
"ਸਤੰਬਰ",
|
|
12
|
+
"ਅਕਤੂਬਰ",
|
|
13
|
+
"ਨਵੰਬਰ",
|
|
14
|
+
"ਦਸੰਬਰ"
|
|
15
|
+
];
|
|
16
|
+
const punjabiToEnglishNumbersMap = {
|
|
17
|
+
"١": "1",
|
|
18
|
+
"٢": "2",
|
|
19
|
+
"٣": "3",
|
|
20
|
+
"٤": "4",
|
|
21
|
+
"٥": "5",
|
|
22
|
+
"٦": "6",
|
|
23
|
+
"٧": "7",
|
|
24
|
+
"٨": "8",
|
|
25
|
+
"٩": "9",
|
|
26
|
+
"٠": "0"
|
|
27
|
+
};
|
|
28
|
+
const englishToPunjabiNumbersMap = {
|
|
29
|
+
1: "١",
|
|
30
|
+
2: "٢",
|
|
31
|
+
3: "٣",
|
|
32
|
+
4: "٤",
|
|
33
|
+
5: "٥",
|
|
34
|
+
6: "٦",
|
|
35
|
+
7: "٧",
|
|
36
|
+
8: "٨",
|
|
37
|
+
9: "٩",
|
|
38
|
+
0: "٠"
|
|
39
|
+
};
|
|
40
|
+
const localePaIn = {
|
|
41
|
+
name: "pa-IN",
|
|
42
|
+
weekdays: [
|
|
43
|
+
"ਐਤਵਾਰ",
|
|
44
|
+
"ਸੋਮਵਾਰ",
|
|
45
|
+
"ਮੰਗਲਵਾਰ",
|
|
46
|
+
"ਬੁਧਵਾਰ",
|
|
47
|
+
"ਵੀਰਵਾਰ",
|
|
48
|
+
"ਸ਼ੁੱਕਰਵਾਰ",
|
|
49
|
+
"ਸ਼ਨੀਚਰਵਾਰ"
|
|
50
|
+
],
|
|
51
|
+
weekdaysShort: [
|
|
52
|
+
"ਐਤ",
|
|
53
|
+
"ਸੋਮ",
|
|
54
|
+
"ਮੰਗਲ",
|
|
55
|
+
"ਬੁਧ",
|
|
56
|
+
"ਵੀਰ",
|
|
57
|
+
"ਸ਼ੁਕਰ",
|
|
58
|
+
"ਸ਼ਨੀ"
|
|
59
|
+
],
|
|
60
|
+
weekdaysMin: [
|
|
61
|
+
"ਐਤ",
|
|
62
|
+
"ਸੋਮ",
|
|
63
|
+
"ਮੰਗਲ",
|
|
64
|
+
"ਬੁਧ",
|
|
65
|
+
"ਵੀਰ",
|
|
66
|
+
"ਸ਼ੁਕਰ",
|
|
67
|
+
"ਸ਼ਨੀ"
|
|
68
|
+
],
|
|
69
|
+
months,
|
|
70
|
+
monthsShort: months,
|
|
71
|
+
ordinal: (n) => `${n}`,
|
|
72
|
+
weekStart: 0,
|
|
73
|
+
yearStart: 1,
|
|
74
|
+
formats: {
|
|
75
|
+
LT: "A h:mm ਵਜੇ",
|
|
76
|
+
LTS: "A h:mm:ss ਵਜੇ",
|
|
77
|
+
L: "DD/MM/YYYY",
|
|
78
|
+
LL: "D MMMM YYYY",
|
|
79
|
+
LLL: "D MMMM YYYY, A h:mm ਵਜੇ",
|
|
80
|
+
LLLL: "dddd, D MMMM YYYY, A h:mm ਵਜੇ",
|
|
81
|
+
l: "DD/MM/YYYY",
|
|
82
|
+
ll: "D MMMM YYYY",
|
|
83
|
+
lll: "D MMMM YYYY, A h:mm ਵਜੇ",
|
|
84
|
+
llll: "dddd, D MMMM YYYY, A h:mm ਵਜੇ"
|
|
85
|
+
},
|
|
86
|
+
calendar: {
|
|
87
|
+
sameDay: "[ਅਜ] LT",
|
|
88
|
+
nextDay: "[ਕਲ] LT",
|
|
89
|
+
nextWeek: "[ਅਗਲਾ] dddd, LT",
|
|
90
|
+
lastDay: "[ਕਲ] LT",
|
|
91
|
+
lastWeek: "[ਪਿਛਲੇ] dddd, LT",
|
|
92
|
+
sameElse: "L"
|
|
93
|
+
},
|
|
94
|
+
relativeTime: {
|
|
95
|
+
future: "بعد %s",
|
|
96
|
+
past: "منذ %s",
|
|
97
|
+
s: "ثانية واحدة",
|
|
98
|
+
ss: "%d ثانية",
|
|
99
|
+
m: "دقيقة واحدة",
|
|
100
|
+
mm: "%d دقائق",
|
|
101
|
+
h: "ساعة واحدة",
|
|
102
|
+
hh: "%d ساعات",
|
|
103
|
+
d: "يوم واحد",
|
|
104
|
+
dd: "%d أيام",
|
|
105
|
+
M: "شهر واحد",
|
|
106
|
+
MM: "%d أشهر",
|
|
107
|
+
y: "عام واحد",
|
|
108
|
+
yy: "%d أعوام"
|
|
109
|
+
},
|
|
110
|
+
meridiem: (hour, _minute, _isLowercase) => {
|
|
111
|
+
if (hour < 4) return "ਰਾਤ";
|
|
112
|
+
if (hour < 10) return "ਸਵੇਰ";
|
|
113
|
+
if (hour < 17) return "ਦੁਪਹਿਰ";
|
|
114
|
+
if (hour < 20) return "ਸ਼ਾਮ";
|
|
115
|
+
return "ਰਾਤ";
|
|
116
|
+
},
|
|
117
|
+
preParse: (dateString) => dateString.replace(/[١٢٣٤٥٦٧٨٩٠]/g, (match) => punjabiToEnglishNumbersMap[match]),
|
|
118
|
+
postFormat: (formattedDate) => formattedDate.replace(/\d/g, (match) => englishToPunjabiNumbersMap[Number(match)])
|
|
119
|
+
};
|
|
120
|
+
var pa_in_default = localePaIn;
|
|
121
|
+
|
|
122
|
+
//#endregion
|
|
123
|
+
export { pa_in_default as default };
|
package/locales/pl.d.ts
ADDED
package/locales/pl.js
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
//#region src/locales/pl.ts
|
|
2
|
+
const monthFormat = [
|
|
3
|
+
"stycznia",
|
|
4
|
+
"lutego",
|
|
5
|
+
"marca",
|
|
6
|
+
"kwietnia",
|
|
7
|
+
"maja",
|
|
8
|
+
"czerwca",
|
|
9
|
+
"lipca",
|
|
10
|
+
"sierpnia",
|
|
11
|
+
"września",
|
|
12
|
+
"października",
|
|
13
|
+
"listopada",
|
|
14
|
+
"grudnia"
|
|
15
|
+
];
|
|
16
|
+
const monthStandalone = [
|
|
17
|
+
"styczeń",
|
|
18
|
+
"luty",
|
|
19
|
+
"marzec",
|
|
20
|
+
"kwiecień",
|
|
21
|
+
"maj",
|
|
22
|
+
"czerwiec",
|
|
23
|
+
"lipiec",
|
|
24
|
+
"sierpień",
|
|
25
|
+
"wrzesień",
|
|
26
|
+
"październik",
|
|
27
|
+
"listopad",
|
|
28
|
+
"grudzień"
|
|
29
|
+
];
|
|
30
|
+
const MONTHS_IN_FORMAT = /D MMMM/;
|
|
31
|
+
const months = (esdayInstance, format) => {
|
|
32
|
+
if (MONTHS_IN_FORMAT.test(format)) return monthFormat[esdayInstance.month()];
|
|
33
|
+
return monthStandalone[esdayInstance.month()];
|
|
34
|
+
};
|
|
35
|
+
months.format = monthFormat;
|
|
36
|
+
months.standalone = monthStandalone;
|
|
37
|
+
function usePlural(timeValue) {
|
|
38
|
+
return timeValue % 10 < 5 && timeValue % 10 > 1 && ~~(timeValue / 10) % 10 !== 1;
|
|
39
|
+
}
|
|
40
|
+
const relativeTimeFormatter = (timeValue, withoutSuffix, token) => {
|
|
41
|
+
const result = `${timeValue}`;
|
|
42
|
+
switch (token) {
|
|
43
|
+
case "ss": return `${result} ${usePlural(+timeValue) ? "sekundy" : "sekund"}`;
|
|
44
|
+
case "m": return withoutSuffix ? "minuta" : "minutę";
|
|
45
|
+
case "mm": return `${result} ${usePlural(+timeValue) ? "minuty" : "minut"}`;
|
|
46
|
+
case "h": return withoutSuffix ? "godzina" : "godzinę";
|
|
47
|
+
case "hh": return `${result} ${usePlural(+timeValue) ? "godziny" : "godzin"}`;
|
|
48
|
+
case "MM": return `${result} ${usePlural(+timeValue) ? "miesiące" : "miesięcy"}`;
|
|
49
|
+
case "yy": return `${result} ${usePlural(+timeValue) ? "lata" : "lat"}`;
|
|
50
|
+
default: return "";
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
const localePl = {
|
|
54
|
+
name: "pl",
|
|
55
|
+
weekdays: [
|
|
56
|
+
"niedziela",
|
|
57
|
+
"poniedziałek",
|
|
58
|
+
"wtorek",
|
|
59
|
+
"środa",
|
|
60
|
+
"czwartek",
|
|
61
|
+
"piątek",
|
|
62
|
+
"sobota"
|
|
63
|
+
],
|
|
64
|
+
weekdaysShort: [
|
|
65
|
+
"ndz",
|
|
66
|
+
"pon",
|
|
67
|
+
"wt",
|
|
68
|
+
"śr",
|
|
69
|
+
"czw",
|
|
70
|
+
"pt",
|
|
71
|
+
"sob"
|
|
72
|
+
],
|
|
73
|
+
weekdaysMin: [
|
|
74
|
+
"Nd",
|
|
75
|
+
"Pn",
|
|
76
|
+
"Wt",
|
|
77
|
+
"Śr",
|
|
78
|
+
"Cz",
|
|
79
|
+
"Pt",
|
|
80
|
+
"So"
|
|
81
|
+
],
|
|
82
|
+
months,
|
|
83
|
+
monthsShort: [
|
|
84
|
+
"sty",
|
|
85
|
+
"lut",
|
|
86
|
+
"mar",
|
|
87
|
+
"kwi",
|
|
88
|
+
"maj",
|
|
89
|
+
"cze",
|
|
90
|
+
"lip",
|
|
91
|
+
"sie",
|
|
92
|
+
"wrz",
|
|
93
|
+
"paź",
|
|
94
|
+
"lis",
|
|
95
|
+
"gru"
|
|
96
|
+
],
|
|
97
|
+
ordinal: (n) => `${n}.`,
|
|
98
|
+
weekStart: 1,
|
|
99
|
+
yearStart: 4,
|
|
100
|
+
formats: {
|
|
101
|
+
LT: "HH:mm",
|
|
102
|
+
LTS: "HH:mm:ss",
|
|
103
|
+
L: "DD.MM.YYYY",
|
|
104
|
+
LL: "D MMMM YYYY",
|
|
105
|
+
LLL: "D MMMM YYYY HH:mm",
|
|
106
|
+
LLLL: "dddd, D MMMM YYYY HH:mm",
|
|
107
|
+
l: "DD.MM.YYYY",
|
|
108
|
+
ll: "D MMMM YYYY",
|
|
109
|
+
lll: "D MMMM YYYY HH:mm",
|
|
110
|
+
llll: "dddd, D MMMM YYYY HH:mm"
|
|
111
|
+
},
|
|
112
|
+
calendar: {
|
|
113
|
+
sameDay: "[Dziś o] LT",
|
|
114
|
+
nextDay: "[Jutro o] LT",
|
|
115
|
+
nextWeek() {
|
|
116
|
+
switch (this.day()) {
|
|
117
|
+
case 0: return "[W niedzielę o] LT";
|
|
118
|
+
case 2: return "[We wtorek o] LT";
|
|
119
|
+
case 3: return "[W środę o] LT";
|
|
120
|
+
case 6: return "[W sobotę o] LT";
|
|
121
|
+
default: return "[W] dddd [o] LT";
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
lastDay: "[Wczoraj o] LT",
|
|
125
|
+
lastWeek() {
|
|
126
|
+
switch (this.day()) {
|
|
127
|
+
case 0: return "[W zeszłą niedzielę o] LT";
|
|
128
|
+
case 3: return "[W zeszłą środę o] LT";
|
|
129
|
+
case 6: return "[W zeszłą sobotę o] LT";
|
|
130
|
+
default: return "[W zeszły] dddd [o] LT";
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
sameElse: "L"
|
|
134
|
+
},
|
|
135
|
+
relativeTime: {
|
|
136
|
+
future: "za %s",
|
|
137
|
+
past: "%s temu",
|
|
138
|
+
s: "kilka sekund",
|
|
139
|
+
ss: relativeTimeFormatter,
|
|
140
|
+
m: relativeTimeFormatter,
|
|
141
|
+
mm: relativeTimeFormatter,
|
|
142
|
+
h: relativeTimeFormatter,
|
|
143
|
+
hh: relativeTimeFormatter,
|
|
144
|
+
d: "1 dzień",
|
|
145
|
+
dd: "%d dni",
|
|
146
|
+
M: "miesiąc",
|
|
147
|
+
MM: relativeTimeFormatter,
|
|
148
|
+
y: "rok",
|
|
149
|
+
yy: relativeTimeFormatter
|
|
150
|
+
},
|
|
151
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
152
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
153
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
var pl_default = localePl;
|
|
157
|
+
|
|
158
|
+
//#endregion
|
|
159
|
+
export { pl_default as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../chunks/DqhiVwLi.js";
|
|
2
|
+
import "../chunks/MtjcOKi-.js";
|
|
3
|
+
import { Locale } from "../chunks/St35qgL0.js";
|
|
4
|
+
|
|
5
|
+
//#region src/locales/pt-br.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Portuguese (Brazil) [pt-BR]
|
|
8
|
+
*/
|
|
9
|
+
declare const localePtBr: Locale;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { localePtBr as default };
|
package/locales/pt-br.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import "../chunks/Y32qdU_5.js";
|
|
2
|
+
import "../chunks/Cb5SvF6r.js";
|
|
3
|
+
import "../chunks/DjY7KvwG.js";
|
|
4
|
+
import "../chunks/tfkJ5D3p.js";
|
|
5
|
+
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
+
import { pt_default } from "../chunks/CWqzr5E5.js";
|
|
7
|
+
|
|
8
|
+
//#region src/locales/pt-br.ts
|
|
9
|
+
const localePtBr = cloneLocale(pt_default);
|
|
10
|
+
const weekdays = [
|
|
11
|
+
"domingo",
|
|
12
|
+
"segunda-feira",
|
|
13
|
+
"terça-feira",
|
|
14
|
+
"quarta-feira",
|
|
15
|
+
"quinta-feira",
|
|
16
|
+
"sexta-feira",
|
|
17
|
+
"sábado"
|
|
18
|
+
];
|
|
19
|
+
const weekdaysShort = [
|
|
20
|
+
"dom",
|
|
21
|
+
"seg",
|
|
22
|
+
"ter",
|
|
23
|
+
"qua",
|
|
24
|
+
"qui",
|
|
25
|
+
"sex",
|
|
26
|
+
"sáb"
|
|
27
|
+
];
|
|
28
|
+
const weekdaysMin = [
|
|
29
|
+
"Do",
|
|
30
|
+
"2ª",
|
|
31
|
+
"3ª",
|
|
32
|
+
"4ª",
|
|
33
|
+
"5ª",
|
|
34
|
+
"6ª",
|
|
35
|
+
"Sá"
|
|
36
|
+
];
|
|
37
|
+
const formats = structuredClone(localePtBr.formats);
|
|
38
|
+
formats.LLL = "D [de] MMMM [de] YYYY [às] HH:mm";
|
|
39
|
+
formats.lll = "D [de] MMMM [de] YYYY [às] HH:mm";
|
|
40
|
+
formats.LLLL = "dddd, D [de] MMMM [de] YYYY [às] HH:mm";
|
|
41
|
+
formats.llll = "dddd, D [de] MMMM [de] YYYY [às] HH:mm";
|
|
42
|
+
const relativeTime = structuredClone(localePtBr.relativeTime);
|
|
43
|
+
relativeTime.s = "poucos segundos";
|
|
44
|
+
setLocaleProperty(localePtBr, "name", "pt-BR");
|
|
45
|
+
setLocaleProperty(localePtBr, "weekdays", weekdays);
|
|
46
|
+
setLocaleProperty(localePtBr, "weekdaysShort", weekdaysShort);
|
|
47
|
+
setLocaleProperty(localePtBr, "weekdaysMin", weekdaysMin);
|
|
48
|
+
setLocaleProperty(localePtBr, "formats", formats);
|
|
49
|
+
setLocaleProperty(localePtBr, "relativeTime", relativeTime);
|
|
50
|
+
var pt_br_default = localePtBr;
|
|
51
|
+
|
|
52
|
+
//#endregion
|
|
53
|
+
export { pt_br_default as default };
|
package/locales/pt.d.ts
ADDED
package/locales/pt.js
ADDED
package/locales/rn.d.ts
ADDED
package/locales/rn.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
//#region src/locales/rn.ts
|
|
2
|
+
const localeRn = {
|
|
3
|
+
name: "rn",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"Ku wa Mungu",
|
|
6
|
+
"Ku wa Mbere",
|
|
7
|
+
"Ku wa Kabiri",
|
|
8
|
+
"Ku wa Gatatu",
|
|
9
|
+
"Ku wa Kane",
|
|
10
|
+
"Ku wa Gatanu",
|
|
11
|
+
"Ku wa Gatandatu"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"Kngu",
|
|
15
|
+
"Kmbr",
|
|
16
|
+
"Kbri",
|
|
17
|
+
"Ktat",
|
|
18
|
+
"Kkan",
|
|
19
|
+
"Ktan",
|
|
20
|
+
"Kdat"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"K7",
|
|
24
|
+
"K1",
|
|
25
|
+
"K2",
|
|
26
|
+
"K3",
|
|
27
|
+
"K4",
|
|
28
|
+
"K5",
|
|
29
|
+
"K6"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"Nzero",
|
|
33
|
+
"Ruhuhuma",
|
|
34
|
+
"Ntwarante",
|
|
35
|
+
"Ndamukiza",
|
|
36
|
+
"Rusama",
|
|
37
|
+
"Ruhenshi",
|
|
38
|
+
"Mukakaro",
|
|
39
|
+
"Myandagaro",
|
|
40
|
+
"Nyakanga",
|
|
41
|
+
"Gitugutu",
|
|
42
|
+
"Munyonyo",
|
|
43
|
+
"Kigarama"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"Nzer",
|
|
47
|
+
"Ruhuh",
|
|
48
|
+
"Ntwar",
|
|
49
|
+
"Ndam",
|
|
50
|
+
"Rus",
|
|
51
|
+
"Ruhen",
|
|
52
|
+
"Muk",
|
|
53
|
+
"Myand",
|
|
54
|
+
"Nyak",
|
|
55
|
+
"Git",
|
|
56
|
+
"Muny",
|
|
57
|
+
"Kig"
|
|
58
|
+
],
|
|
59
|
+
ordinal: (n) => `${n}.`,
|
|
60
|
+
weekStart: 1,
|
|
61
|
+
yearStart: 4,
|
|
62
|
+
formats: {
|
|
63
|
+
LT: "HH:mm",
|
|
64
|
+
LTS: "HH:mm:ss",
|
|
65
|
+
L: "DD/MM/YYYY",
|
|
66
|
+
LL: "D MMMM YYYY",
|
|
67
|
+
LLL: "D MMMM YYYY HH:mm",
|
|
68
|
+
LLLL: "dddd, D MMMM YYYY HH:mm",
|
|
69
|
+
l: "DD/MM/YYYY",
|
|
70
|
+
ll: "D MMMM YYYY",
|
|
71
|
+
lll: "D MMMM YYYY HH:mm",
|
|
72
|
+
llll: "dddd, D MMMM YYYY HH:mm"
|
|
73
|
+
},
|
|
74
|
+
calendar: {
|
|
75
|
+
sameDay: "[Uyu musi kuri] LT",
|
|
76
|
+
nextDay: "[Ejo ku] LT",
|
|
77
|
+
nextWeek: "dddd [ku] LT",
|
|
78
|
+
lastDay: "[Ejo kuri] LT",
|
|
79
|
+
lastWeek: "[Inyuma] dddd [ku] LT",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "mu %s",
|
|
84
|
+
past: "%s",
|
|
85
|
+
s: "amasegonda",
|
|
86
|
+
ss: "%d isegonda",
|
|
87
|
+
m: "Umunota",
|
|
88
|
+
mm: "%d iminota",
|
|
89
|
+
h: "isaha",
|
|
90
|
+
hh: "%d amasaha",
|
|
91
|
+
d: "Umunsi",
|
|
92
|
+
dd: "%d iminsi",
|
|
93
|
+
M: "ukwezi",
|
|
94
|
+
MM: "%d amezi",
|
|
95
|
+
y: "umwaka",
|
|
96
|
+
yy: "%d imyaka"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
99
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
100
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
var rn_default = localeRn;
|
|
104
|
+
|
|
105
|
+
//#endregion
|
|
106
|
+
export { rn_default as default };
|
package/locales/ro.d.ts
ADDED