esday 0.3.0 → 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 +51 -0
- 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 +552 -326
- 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 +8 -0
- package/locales/en.js +3 -0
- 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 +15 -0
- package/locales/zh.js +3 -0
- package/package.json +79 -21
- 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 -0
- package/plugins/locale/index.js +7 -0
- 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 +19 -0
- package/plugins/utc/index.js +194 -0
- package/plugins/week/index.d.ts +21 -0
- package/plugins/week/index.js +360 -0
- package/EsDay-CKy0jEj2.d.ts +0 -68
- package/plugins/customParseFormat/index.d.ts +0 -5
- package/plugins/customParseFormat/index.js +0 -159
package/locales/ug-cn.js
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
//#region src/locales/ug-cn.ts
|
|
2
|
+
const localeUgCn = {
|
|
3
|
+
name: "ug-CN",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"يەكشەنبە",
|
|
6
|
+
"دۈشەنبە",
|
|
7
|
+
"سەيشەنبە",
|
|
8
|
+
"چارشەنبە",
|
|
9
|
+
"پەيشەنبە",
|
|
10
|
+
"جۈمە",
|
|
11
|
+
"شەنبە"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"يە",
|
|
15
|
+
"دۈ",
|
|
16
|
+
"سە",
|
|
17
|
+
"چا",
|
|
18
|
+
"پە",
|
|
19
|
+
"جۈ",
|
|
20
|
+
"شە"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"يە",
|
|
24
|
+
"دۈ",
|
|
25
|
+
"سە",
|
|
26
|
+
"چا",
|
|
27
|
+
"پە",
|
|
28
|
+
"جۈ",
|
|
29
|
+
"شە"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"يانۋار",
|
|
33
|
+
"فېۋرال",
|
|
34
|
+
"مارت",
|
|
35
|
+
"ئاپرېل",
|
|
36
|
+
"ماي",
|
|
37
|
+
"ئىيۇن",
|
|
38
|
+
"ئىيۇل",
|
|
39
|
+
"ئاۋغۇست",
|
|
40
|
+
"سېنتەبىر",
|
|
41
|
+
"ئۆكتەبىر",
|
|
42
|
+
"نويابىر",
|
|
43
|
+
"دېكابىر"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"يانۋار",
|
|
47
|
+
"فېۋرال",
|
|
48
|
+
"مارت",
|
|
49
|
+
"ئاپرېل",
|
|
50
|
+
"ماي",
|
|
51
|
+
"ئىيۇن",
|
|
52
|
+
"ئىيۇل",
|
|
53
|
+
"ئاۋغۇست",
|
|
54
|
+
"سېنتەبىر",
|
|
55
|
+
"ئۆكتەبىر",
|
|
56
|
+
"نويابىر",
|
|
57
|
+
"دېكابىر"
|
|
58
|
+
],
|
|
59
|
+
ordinal: (n) => `${n}`,
|
|
60
|
+
weekStart: 1,
|
|
61
|
+
yearStart: 1,
|
|
62
|
+
formats: {
|
|
63
|
+
LT: "HH:mm",
|
|
64
|
+
LTS: "HH:mm:ss",
|
|
65
|
+
L: "YYYY-MM-DD",
|
|
66
|
+
LL: "YYYY-يىلىM-ئاينىڭD-كۈنى",
|
|
67
|
+
LLL: "YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",
|
|
68
|
+
LLLL: "dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",
|
|
69
|
+
l: "YYYY-MM-DD",
|
|
70
|
+
ll: "YYYY-يىلىM-ئاينىڭD-كۈنى",
|
|
71
|
+
lll: "YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",
|
|
72
|
+
llll: "dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"
|
|
73
|
+
},
|
|
74
|
+
calendar: {
|
|
75
|
+
sameDay: "[بۈگۈن سائەت] LT",
|
|
76
|
+
nextDay: "[ئەتە سائەت] LT",
|
|
77
|
+
nextWeek: "[كېلەركى] dddd [سائەت] LT",
|
|
78
|
+
lastDay: "[تۆنۈگۈن] LT",
|
|
79
|
+
lastWeek: "[ئالدىنقى] dddd [سائەت] LT",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "%s كېيىن",
|
|
84
|
+
past: "%s بۇرۇن",
|
|
85
|
+
s: "نەچچە سېكونت",
|
|
86
|
+
ss: "%d سېكونت",
|
|
87
|
+
m: "بىر مىنۇت",
|
|
88
|
+
mm: "%d مىنۇت",
|
|
89
|
+
h: "بىر سائەت",
|
|
90
|
+
hh: "%d سائەت",
|
|
91
|
+
d: "بىر كۈن",
|
|
92
|
+
dd: "%d كۈن",
|
|
93
|
+
M: "بىر ئاي",
|
|
94
|
+
MM: "%d ئاي",
|
|
95
|
+
y: "بىر يىل",
|
|
96
|
+
yy: "%d يىل"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, minute, _isLowercase) => {
|
|
99
|
+
const hm = hour * 100 + minute;
|
|
100
|
+
if (hm < 600) return "يېرىم كېچە";
|
|
101
|
+
if (hm < 900) return "سەھەر";
|
|
102
|
+
if (hm < 1130) return "چۈشتىن بۇرۇن";
|
|
103
|
+
if (hm < 1230) return "چۈش";
|
|
104
|
+
if (hm < 1800) return "چۈشتىن كېيىن";
|
|
105
|
+
return "كەچ";
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
var ug_cn_default = localeUgCn;
|
|
109
|
+
|
|
110
|
+
//#endregion
|
|
111
|
+
export { ug_cn_default as default };
|
package/locales/uk.d.ts
ADDED
package/locales/uk.js
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
//#region src/locales/uk.ts
|
|
2
|
+
const monthFormat = [
|
|
3
|
+
"січня",
|
|
4
|
+
"лютого",
|
|
5
|
+
"березня",
|
|
6
|
+
"квітня",
|
|
7
|
+
"травня",
|
|
8
|
+
"червня",
|
|
9
|
+
"липня",
|
|
10
|
+
"серпня",
|
|
11
|
+
"вересня",
|
|
12
|
+
"жовтня",
|
|
13
|
+
"листопада",
|
|
14
|
+
"грудня"
|
|
15
|
+
];
|
|
16
|
+
const monthStandalone = [
|
|
17
|
+
"січень",
|
|
18
|
+
"лютий",
|
|
19
|
+
"березень",
|
|
20
|
+
"квітень",
|
|
21
|
+
"травень",
|
|
22
|
+
"червень",
|
|
23
|
+
"липень",
|
|
24
|
+
"серпень",
|
|
25
|
+
"вересень",
|
|
26
|
+
"жовтень",
|
|
27
|
+
"листопад",
|
|
28
|
+
"грудень"
|
|
29
|
+
];
|
|
30
|
+
const months = {
|
|
31
|
+
standalone: monthStandalone,
|
|
32
|
+
format: monthFormat
|
|
33
|
+
};
|
|
34
|
+
function processHoursFunction(prefix) {
|
|
35
|
+
return function() {
|
|
36
|
+
return `${prefix}о${this.hour() === 11 ? "б" : ""}] LT`;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function plural(timeStrings, timeValue) {
|
|
40
|
+
const forms = timeStrings;
|
|
41
|
+
return timeValue % 10 === 1 && timeValue % 100 !== 11 ? forms[0] : timeValue % 10 >= 2 && timeValue % 10 <= 4 && (timeValue % 100 < 10 || timeValue % 100 >= 20) ? forms[1] : forms[2];
|
|
42
|
+
}
|
|
43
|
+
const relativeTimeFormatter = (timeValue, withoutSuffix, token, _isFuture) => {
|
|
44
|
+
const formats = {
|
|
45
|
+
ss: withoutSuffix ? [
|
|
46
|
+
"секунда",
|
|
47
|
+
"секунди",
|
|
48
|
+
"секунд"
|
|
49
|
+
] : [
|
|
50
|
+
"секунду",
|
|
51
|
+
"секунди",
|
|
52
|
+
"секунд"
|
|
53
|
+
],
|
|
54
|
+
mm: withoutSuffix ? [
|
|
55
|
+
"хвилина",
|
|
56
|
+
"хвилини",
|
|
57
|
+
"хвилин"
|
|
58
|
+
] : [
|
|
59
|
+
"хвилину",
|
|
60
|
+
"хвилини",
|
|
61
|
+
"хвилин"
|
|
62
|
+
],
|
|
63
|
+
hh: withoutSuffix ? [
|
|
64
|
+
"година",
|
|
65
|
+
"години",
|
|
66
|
+
"годин"
|
|
67
|
+
] : [
|
|
68
|
+
"годину",
|
|
69
|
+
"години",
|
|
70
|
+
"годин"
|
|
71
|
+
],
|
|
72
|
+
dd: [
|
|
73
|
+
"день",
|
|
74
|
+
"дні",
|
|
75
|
+
"днів"
|
|
76
|
+
],
|
|
77
|
+
MM: [
|
|
78
|
+
"місяць",
|
|
79
|
+
"місяці",
|
|
80
|
+
"місяців"
|
|
81
|
+
],
|
|
82
|
+
yy: [
|
|
83
|
+
"рік",
|
|
84
|
+
"роки",
|
|
85
|
+
"років"
|
|
86
|
+
]
|
|
87
|
+
};
|
|
88
|
+
if (token === "m") return withoutSuffix ? "хвилина" : "хвилину";
|
|
89
|
+
if (token === "h") return withoutSuffix ? "година" : "годину";
|
|
90
|
+
return `${timeValue} ${plural(formats[token], +timeValue)}`;
|
|
91
|
+
};
|
|
92
|
+
const localeUk = {
|
|
93
|
+
name: "uk",
|
|
94
|
+
weekdays: [
|
|
95
|
+
"неділя",
|
|
96
|
+
"понеділок",
|
|
97
|
+
"вівторок",
|
|
98
|
+
"середа",
|
|
99
|
+
"четвер",
|
|
100
|
+
"п’ятниця",
|
|
101
|
+
"субота"
|
|
102
|
+
],
|
|
103
|
+
weekdaysShort: [
|
|
104
|
+
"ндл",
|
|
105
|
+
"пнд",
|
|
106
|
+
"втр",
|
|
107
|
+
"срд",
|
|
108
|
+
"чтв",
|
|
109
|
+
"птн",
|
|
110
|
+
"сбт"
|
|
111
|
+
],
|
|
112
|
+
weekdaysMin: [
|
|
113
|
+
"нд",
|
|
114
|
+
"пн",
|
|
115
|
+
"вт",
|
|
116
|
+
"ср",
|
|
117
|
+
"чт",
|
|
118
|
+
"пт",
|
|
119
|
+
"сб"
|
|
120
|
+
],
|
|
121
|
+
months,
|
|
122
|
+
monthsShort: [
|
|
123
|
+
"січ",
|
|
124
|
+
"лют",
|
|
125
|
+
"бер",
|
|
126
|
+
"квіт",
|
|
127
|
+
"трав",
|
|
128
|
+
"черв",
|
|
129
|
+
"лип",
|
|
130
|
+
"серп",
|
|
131
|
+
"вер",
|
|
132
|
+
"жовт",
|
|
133
|
+
"лист",
|
|
134
|
+
"груд"
|
|
135
|
+
],
|
|
136
|
+
ordinal: (n) => `${n}`,
|
|
137
|
+
weekStart: 1,
|
|
138
|
+
yearStart: 4,
|
|
139
|
+
formats: {
|
|
140
|
+
LT: "HH:mm",
|
|
141
|
+
LTS: "HH:mm:ss",
|
|
142
|
+
L: "DD.MM.YYYY",
|
|
143
|
+
LL: "D MMMM YYYY р.",
|
|
144
|
+
LLL: "D MMMM YYYY р., HH:mm",
|
|
145
|
+
LLLL: "dddd, D MMMM YYYY р., HH:mm",
|
|
146
|
+
l: "DD.MM.YYYY",
|
|
147
|
+
ll: "D MMMM YYYY р.",
|
|
148
|
+
lll: "D MMMM YYYY р., HH:mm",
|
|
149
|
+
llll: "dddd, D MMMM YYYY р., HH:mm"
|
|
150
|
+
},
|
|
151
|
+
calendar: {
|
|
152
|
+
sameDay: processHoursFunction("[Сьогодні "),
|
|
153
|
+
nextDay: processHoursFunction("[Завтра "),
|
|
154
|
+
lastDay: processHoursFunction("[Вчора "),
|
|
155
|
+
nextWeek: processHoursFunction("[У] dddd ["),
|
|
156
|
+
lastWeek() {
|
|
157
|
+
switch (this.day()) {
|
|
158
|
+
case 0:
|
|
159
|
+
case 3:
|
|
160
|
+
case 5:
|
|
161
|
+
case 6: return processHoursFunction("[Минулої] dddd [").call(this);
|
|
162
|
+
case 1:
|
|
163
|
+
case 2:
|
|
164
|
+
case 4: return processHoursFunction("[Минулого] dddd [").call(this);
|
|
165
|
+
default: return "";
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
sameElse: "L"
|
|
169
|
+
},
|
|
170
|
+
relativeTime: {
|
|
171
|
+
future: "за %s",
|
|
172
|
+
past: "%s тому",
|
|
173
|
+
s: "декілька секунд",
|
|
174
|
+
ss: relativeTimeFormatter,
|
|
175
|
+
m: relativeTimeFormatter,
|
|
176
|
+
mm: relativeTimeFormatter,
|
|
177
|
+
h: relativeTimeFormatter,
|
|
178
|
+
hh: relativeTimeFormatter,
|
|
179
|
+
d: "день",
|
|
180
|
+
dd: relativeTimeFormatter,
|
|
181
|
+
M: "місяць",
|
|
182
|
+
MM: relativeTimeFormatter,
|
|
183
|
+
y: "рік",
|
|
184
|
+
yy: relativeTimeFormatter
|
|
185
|
+
},
|
|
186
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
187
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
188
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
var uk_default = localeUk;
|
|
192
|
+
|
|
193
|
+
//#endregion
|
|
194
|
+
export { uk_default as default };
|
package/locales/ur.d.ts
ADDED
package/locales/ur.js
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
//#region src/locales/ur.ts
|
|
2
|
+
const localeUr = {
|
|
3
|
+
name: "ur",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"اتوار",
|
|
6
|
+
"پیر",
|
|
7
|
+
"منگل",
|
|
8
|
+
"بدھ",
|
|
9
|
+
"جمعرات",
|
|
10
|
+
"جمعہ",
|
|
11
|
+
"ہفتہ"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"اتوار",
|
|
15
|
+
"پیر",
|
|
16
|
+
"منگل",
|
|
17
|
+
"بدھ",
|
|
18
|
+
"جمعرات",
|
|
19
|
+
"جمعہ",
|
|
20
|
+
"ہفتہ"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"اتوار",
|
|
24
|
+
"پیر",
|
|
25
|
+
"منگل",
|
|
26
|
+
"بدھ",
|
|
27
|
+
"جمعرات",
|
|
28
|
+
"جمعہ",
|
|
29
|
+
"ہفتہ"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"جنوری",
|
|
33
|
+
"فروری",
|
|
34
|
+
"مارچ",
|
|
35
|
+
"اپریل",
|
|
36
|
+
"مئی",
|
|
37
|
+
"جون",
|
|
38
|
+
"جولائی",
|
|
39
|
+
"اگست",
|
|
40
|
+
"ستمبر",
|
|
41
|
+
"اکتوبر",
|
|
42
|
+
"نومبر",
|
|
43
|
+
"دسمبر"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"جنوری",
|
|
47
|
+
"فروری",
|
|
48
|
+
"مارچ",
|
|
49
|
+
"اپریل",
|
|
50
|
+
"مئی",
|
|
51
|
+
"جون",
|
|
52
|
+
"جولائی",
|
|
53
|
+
"اگست",
|
|
54
|
+
"ستمبر",
|
|
55
|
+
"اکتوبر",
|
|
56
|
+
"نومبر",
|
|
57
|
+
"دسمبر"
|
|
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: "[آج بوقت] LT",
|
|
76
|
+
nextDay: "[کل بوقت] LT",
|
|
77
|
+
nextWeek: "dddd [بوقت] LT",
|
|
78
|
+
lastDay: "[گذشتہ روز بوقت] LT",
|
|
79
|
+
lastWeek: "[گذشتہ] dddd [بوقت] LT",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "%s بعد",
|
|
84
|
+
past: "%s قبل",
|
|
85
|
+
s: "چند سیکنڈ",
|
|
86
|
+
ss: "%d سیکنڈ",
|
|
87
|
+
m: "ایک منٹ",
|
|
88
|
+
mm: "%d منٹ",
|
|
89
|
+
h: "ایک گھنٹہ",
|
|
90
|
+
hh: "%d گھنٹے",
|
|
91
|
+
d: "ایک دن",
|
|
92
|
+
dd: "%d دن",
|
|
93
|
+
M: "ایک ماہ",
|
|
94
|
+
MM: "%d ماہ",
|
|
95
|
+
y: "ایک سال",
|
|
96
|
+
yy: "%d سال"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, _minute, _isLowercase) => {
|
|
99
|
+
if (hour < 12) return "صبح";
|
|
100
|
+
return "شام";
|
|
101
|
+
},
|
|
102
|
+
preParse: (dateString) => dateString.replace(/،/g, ","),
|
|
103
|
+
postFormat: (formattedDate) => formattedDate.replace(/,/g, "،")
|
|
104
|
+
};
|
|
105
|
+
var ur_default = localeUr;
|
|
106
|
+
|
|
107
|
+
//#endregion
|
|
108
|
+
export { ur_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/uz-latn.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Uzbek Latin [uz-LATN]
|
|
8
|
+
*/
|
|
9
|
+
declare const localeUzLatn: Locale;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { localeUzLatn as default };
|
|
@@ -0,0 +1,68 @@
|
|
|
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 { uz_default } from "../chunks/CQJ0-ZuR.js";
|
|
7
|
+
|
|
8
|
+
//#region src/locales/uz-latn.ts
|
|
9
|
+
const localeUzLatn = cloneLocale(uz_default);
|
|
10
|
+
const weekdays = [
|
|
11
|
+
"asamas",
|
|
12
|
+
"aynas",
|
|
13
|
+
"asinas",
|
|
14
|
+
"akras",
|
|
15
|
+
"akwas",
|
|
16
|
+
"asimwas",
|
|
17
|
+
"asiḍyas"
|
|
18
|
+
];
|
|
19
|
+
const months = [
|
|
20
|
+
"innayr",
|
|
21
|
+
"brˤayrˤ",
|
|
22
|
+
"marˤsˤ",
|
|
23
|
+
"ibrir",
|
|
24
|
+
"mayyw",
|
|
25
|
+
"ywnyw",
|
|
26
|
+
"ywlywz",
|
|
27
|
+
"ɣwšt",
|
|
28
|
+
"šwtanbir",
|
|
29
|
+
"ktˤwbrˤ",
|
|
30
|
+
"nwwanbir",
|
|
31
|
+
"dwjnbir"
|
|
32
|
+
];
|
|
33
|
+
const calendar = {
|
|
34
|
+
sameDay: "[Bugun soat] LT [da]",
|
|
35
|
+
nextDay: "[Ertaga] LT [da]",
|
|
36
|
+
nextWeek: "dddd [kuni soat] LT [da]",
|
|
37
|
+
lastDay: "[Kecha soat] LT [da]",
|
|
38
|
+
lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
|
|
39
|
+
sameElse: "L"
|
|
40
|
+
};
|
|
41
|
+
const relativeTime = {
|
|
42
|
+
future: "Yaqin %s ichida",
|
|
43
|
+
past: "Bir necha %s oldin",
|
|
44
|
+
s: "soniya",
|
|
45
|
+
ss: "%d soniya",
|
|
46
|
+
m: "bir daqiqa",
|
|
47
|
+
mm: "%d daqiqa",
|
|
48
|
+
h: "bir soat",
|
|
49
|
+
hh: "%d soat",
|
|
50
|
+
d: "bir kun",
|
|
51
|
+
dd: "%d kun",
|
|
52
|
+
M: "bir oy",
|
|
53
|
+
MM: "%d oy",
|
|
54
|
+
y: "bir yil",
|
|
55
|
+
yy: "%d yil"
|
|
56
|
+
};
|
|
57
|
+
setLocaleProperty(localeUzLatn, "name", "uz-LATN");
|
|
58
|
+
setLocaleProperty(localeUzLatn, "weekdays", weekdays);
|
|
59
|
+
setLocaleProperty(localeUzLatn, "weekdaysShort", weekdays);
|
|
60
|
+
setLocaleProperty(localeUzLatn, "weekdaysMin", weekdays);
|
|
61
|
+
setLocaleProperty(localeUzLatn, "months", months);
|
|
62
|
+
setLocaleProperty(localeUzLatn, "monthsShort", months);
|
|
63
|
+
setLocaleProperty(localeUzLatn, "calendar", calendar);
|
|
64
|
+
setLocaleProperty(localeUzLatn, "relativeTime", relativeTime);
|
|
65
|
+
var uz_latn_default = localeUzLatn;
|
|
66
|
+
|
|
67
|
+
//#endregion
|
|
68
|
+
export { uz_latn_default as default };
|
package/locales/uz.d.ts
ADDED
package/locales/uz.js
ADDED
package/locales/vi.d.ts
ADDED
package/locales/vi.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
//#region src/locales/vi.ts
|
|
2
|
+
const localeVi = {
|
|
3
|
+
name: "vi",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"chủ nhật",
|
|
6
|
+
"thứ hai",
|
|
7
|
+
"thứ ba",
|
|
8
|
+
"thứ tư",
|
|
9
|
+
"thứ năm",
|
|
10
|
+
"thứ sáu",
|
|
11
|
+
"thứ bảy"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"CN",
|
|
15
|
+
"T2",
|
|
16
|
+
"T3",
|
|
17
|
+
"T4",
|
|
18
|
+
"T5",
|
|
19
|
+
"T6",
|
|
20
|
+
"T7"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"CN",
|
|
24
|
+
"T2",
|
|
25
|
+
"T3",
|
|
26
|
+
"T4",
|
|
27
|
+
"T5",
|
|
28
|
+
"T6",
|
|
29
|
+
"T7"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"tháng 1",
|
|
33
|
+
"tháng 2",
|
|
34
|
+
"tháng 3",
|
|
35
|
+
"tháng 4",
|
|
36
|
+
"tháng 5",
|
|
37
|
+
"tháng 6",
|
|
38
|
+
"tháng 7",
|
|
39
|
+
"tháng 8",
|
|
40
|
+
"tháng 9",
|
|
41
|
+
"tháng 10",
|
|
42
|
+
"tháng 11",
|
|
43
|
+
"tháng 12"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"Th01",
|
|
47
|
+
"Th02",
|
|
48
|
+
"Th03",
|
|
49
|
+
"Th04",
|
|
50
|
+
"Th05",
|
|
51
|
+
"Th06",
|
|
52
|
+
"Th07",
|
|
53
|
+
"Th08",
|
|
54
|
+
"Th09",
|
|
55
|
+
"Th10",
|
|
56
|
+
"Th11",
|
|
57
|
+
"Th12"
|
|
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 [năm] YYYY",
|
|
67
|
+
LLL: "D MMMM [năm] YYYY HH:mm",
|
|
68
|
+
LLLL: "dddd, D MMMM [năm] YYYY HH:mm",
|
|
69
|
+
l: "DD/M/YYYY",
|
|
70
|
+
ll: "D MMM YYYY",
|
|
71
|
+
lll: "D MMM YYYY HH:mm",
|
|
72
|
+
llll: "ddd, D MMM YYYY HH:mm"
|
|
73
|
+
},
|
|
74
|
+
calendar: {
|
|
75
|
+
sameDay: "[Hôm nay lúc] LT",
|
|
76
|
+
nextDay: "[Ngày mai lúc] LT",
|
|
77
|
+
nextWeek: "dddd [tuần tới lúc] LT",
|
|
78
|
+
lastDay: "[Hôm qua lúc] LT",
|
|
79
|
+
lastWeek: "dddd [tuần trước lúc] LT",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "%s tới",
|
|
84
|
+
past: "%s trước",
|
|
85
|
+
s: "vài giây",
|
|
86
|
+
ss: "%d giây",
|
|
87
|
+
m: "một phút",
|
|
88
|
+
mm: "%d phút",
|
|
89
|
+
h: "một giờ",
|
|
90
|
+
hh: "%d giờ",
|
|
91
|
+
d: "một ngày",
|
|
92
|
+
dd: "%d ngày",
|
|
93
|
+
M: "một tháng",
|
|
94
|
+
MM: "%d tháng",
|
|
95
|
+
y: "một năm",
|
|
96
|
+
yy: "%d năm"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
99
|
+
if (hour < 12) return isLowercase ? "sa" : "SA";
|
|
100
|
+
return isLowercase ? "ch" : "CH";
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
var vi_default = localeVi;
|
|
104
|
+
|
|
105
|
+
//#endregion
|
|
106
|
+
export { vi_default as default };
|