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
|
@@ -0,0 +1,173 @@
|
|
|
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 { sr_default } from "../chunks/Cg4ZI9v8.js";
|
|
7
|
+
|
|
8
|
+
//#region src/locales/sr-cyrl.ts
|
|
9
|
+
const localeSrCyrl = cloneLocale(sr_default);
|
|
10
|
+
const weekdays = [
|
|
11
|
+
"Недеља",
|
|
12
|
+
"Понедељак",
|
|
13
|
+
"Уторак",
|
|
14
|
+
"Среда",
|
|
15
|
+
"Четвртак",
|
|
16
|
+
"Петак",
|
|
17
|
+
"Субота"
|
|
18
|
+
];
|
|
19
|
+
const weekdaysShort = [
|
|
20
|
+
"Нед.",
|
|
21
|
+
"Пон.",
|
|
22
|
+
"Уто.",
|
|
23
|
+
"Сре.",
|
|
24
|
+
"Чет.",
|
|
25
|
+
"Пет.",
|
|
26
|
+
"Суб."
|
|
27
|
+
];
|
|
28
|
+
const weekdaysMin = [
|
|
29
|
+
"не",
|
|
30
|
+
"по",
|
|
31
|
+
"ут",
|
|
32
|
+
"ср",
|
|
33
|
+
"че",
|
|
34
|
+
"пе",
|
|
35
|
+
"су"
|
|
36
|
+
];
|
|
37
|
+
const months = [
|
|
38
|
+
"Јануар",
|
|
39
|
+
"Фебруар",
|
|
40
|
+
"Март",
|
|
41
|
+
"Април",
|
|
42
|
+
"Мај",
|
|
43
|
+
"Јун",
|
|
44
|
+
"Јул",
|
|
45
|
+
"Август",
|
|
46
|
+
"Септембар",
|
|
47
|
+
"Октобар",
|
|
48
|
+
"Новембар",
|
|
49
|
+
"Децембар"
|
|
50
|
+
];
|
|
51
|
+
const monthsShort = [
|
|
52
|
+
"Јан.",
|
|
53
|
+
"Феб.",
|
|
54
|
+
"Мар.",
|
|
55
|
+
"Апр.",
|
|
56
|
+
"Мај",
|
|
57
|
+
"Јун",
|
|
58
|
+
"Јул",
|
|
59
|
+
"Авг.",
|
|
60
|
+
"Сеп.",
|
|
61
|
+
"Окт.",
|
|
62
|
+
"Нов.",
|
|
63
|
+
"Дец."
|
|
64
|
+
];
|
|
65
|
+
const calendar = {
|
|
66
|
+
sameDay: "[данас у] LT",
|
|
67
|
+
nextDay: "[сутра у] LT",
|
|
68
|
+
nextWeek() {
|
|
69
|
+
switch (this.day()) {
|
|
70
|
+
case 0: return "[у] [недељу] [у] LT";
|
|
71
|
+
case 3: return "[у] [среду] [у] LT";
|
|
72
|
+
case 6: return "[у] [суботу] [у] LT";
|
|
73
|
+
case 1:
|
|
74
|
+
case 2:
|
|
75
|
+
case 4:
|
|
76
|
+
case 5: return "[у] dddd [у] LT";
|
|
77
|
+
default: return "";
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
lastDay: "[јуче у] LT",
|
|
81
|
+
lastWeek() {
|
|
82
|
+
const lastWeekDays = [
|
|
83
|
+
"[прошле] [недеље] [у] LT",
|
|
84
|
+
"[прошлог] [понедељка] [у] LT",
|
|
85
|
+
"[прошлог] [уторка] [у] LT",
|
|
86
|
+
"[прошле] [среде] [у] LT",
|
|
87
|
+
"[прошлог] [четвртка] [у] LT",
|
|
88
|
+
"[прошлог] [петка] [у] LT",
|
|
89
|
+
"[прошле] [суботе] [у] LT"
|
|
90
|
+
];
|
|
91
|
+
return lastWeekDays[this.day()];
|
|
92
|
+
},
|
|
93
|
+
sameElse: "L"
|
|
94
|
+
};
|
|
95
|
+
function plural(timeValue, wordKey) {
|
|
96
|
+
if (timeValue % 10 >= 1 && timeValue % 10 <= 4 && (timeValue % 100 < 10 || timeValue % 100 >= 20)) return timeValue % 10 === 1 ? wordKey[0] : wordKey[1];
|
|
97
|
+
return wordKey[2];
|
|
98
|
+
}
|
|
99
|
+
const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
100
|
+
const formats = {
|
|
101
|
+
ss: [
|
|
102
|
+
"%d секунди",
|
|
103
|
+
"%d секунде",
|
|
104
|
+
"%d секунди"
|
|
105
|
+
],
|
|
106
|
+
m: ["један минут", "једног минута"],
|
|
107
|
+
mm: [
|
|
108
|
+
"%d минут",
|
|
109
|
+
"%d минута",
|
|
110
|
+
"%d минута"
|
|
111
|
+
],
|
|
112
|
+
h: ["један сат", "једног сата"],
|
|
113
|
+
hh: [
|
|
114
|
+
"%d сат",
|
|
115
|
+
"%d сата",
|
|
116
|
+
"%d сати"
|
|
117
|
+
],
|
|
118
|
+
d: ["један дан", "једног дана"],
|
|
119
|
+
dd: [
|
|
120
|
+
"%d дан",
|
|
121
|
+
"%d дана",
|
|
122
|
+
"%d дана"
|
|
123
|
+
],
|
|
124
|
+
M: ["један месец", "једног месеца"],
|
|
125
|
+
MM: [
|
|
126
|
+
"%d месец",
|
|
127
|
+
"%d месеца",
|
|
128
|
+
"%d месеци"
|
|
129
|
+
],
|
|
130
|
+
y: ["једну годину", "једне године"],
|
|
131
|
+
yy: [
|
|
132
|
+
"%d годину",
|
|
133
|
+
"%d године",
|
|
134
|
+
"%d година"
|
|
135
|
+
]
|
|
136
|
+
};
|
|
137
|
+
const wordKey = formats[token];
|
|
138
|
+
if (token.length === 1) {
|
|
139
|
+
if (token === "y" && withoutSuffix) return "једна година";
|
|
140
|
+
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
|
|
141
|
+
}
|
|
142
|
+
const word = plural(+timeValue, wordKey);
|
|
143
|
+
if (token === "yy" && withoutSuffix && word === "%d годину") return `${timeValue} година`;
|
|
144
|
+
return word.replace("%d", timeValue.toString());
|
|
145
|
+
};
|
|
146
|
+
const relativeTime = {
|
|
147
|
+
future: "за %s",
|
|
148
|
+
past: "пре %s",
|
|
149
|
+
s: "неколико секунди",
|
|
150
|
+
ss: relativeTimeFormatter,
|
|
151
|
+
m: relativeTimeFormatter,
|
|
152
|
+
mm: relativeTimeFormatter,
|
|
153
|
+
h: relativeTimeFormatter,
|
|
154
|
+
hh: relativeTimeFormatter,
|
|
155
|
+
d: relativeTimeFormatter,
|
|
156
|
+
dd: relativeTimeFormatter,
|
|
157
|
+
M: relativeTimeFormatter,
|
|
158
|
+
MM: relativeTimeFormatter,
|
|
159
|
+
y: relativeTimeFormatter,
|
|
160
|
+
yy: relativeTimeFormatter
|
|
161
|
+
};
|
|
162
|
+
setLocaleProperty(localeSrCyrl, "name", "sr-CYRL");
|
|
163
|
+
setLocaleProperty(localeSrCyrl, "weekdays", weekdays);
|
|
164
|
+
setLocaleProperty(localeSrCyrl, "weekdaysShort", weekdaysShort);
|
|
165
|
+
setLocaleProperty(localeSrCyrl, "weekdaysMin", weekdaysMin);
|
|
166
|
+
setLocaleProperty(localeSrCyrl, "months", months);
|
|
167
|
+
setLocaleProperty(localeSrCyrl, "monthsShort", monthsShort);
|
|
168
|
+
setLocaleProperty(localeSrCyrl, "calendar", calendar);
|
|
169
|
+
setLocaleProperty(localeSrCyrl, "relativeTime", relativeTime);
|
|
170
|
+
var sr_cyrl_default = localeSrCyrl;
|
|
171
|
+
|
|
172
|
+
//#endregion
|
|
173
|
+
export { sr_cyrl_default as default };
|
package/locales/sr.d.ts
ADDED
package/locales/sr.js
ADDED
package/locales/ss.d.ts
ADDED
package/locales/ss.js
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
//#region src/locales/ss.ts
|
|
2
|
+
const localeSs = {
|
|
3
|
+
name: "ss",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"Lisontfo",
|
|
6
|
+
"Umsombuluko",
|
|
7
|
+
"Lesibili",
|
|
8
|
+
"Lesitsatfu",
|
|
9
|
+
"Lesine",
|
|
10
|
+
"Lesihlanu",
|
|
11
|
+
"Umgcibelo"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"Lis",
|
|
15
|
+
"Umb",
|
|
16
|
+
"Lsb",
|
|
17
|
+
"Les",
|
|
18
|
+
"Lsi",
|
|
19
|
+
"Lsh",
|
|
20
|
+
"Umg"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"Li",
|
|
24
|
+
"Us",
|
|
25
|
+
"Lb",
|
|
26
|
+
"Lt",
|
|
27
|
+
"Ls",
|
|
28
|
+
"Lh",
|
|
29
|
+
"Ug"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"Bhimbidvwane",
|
|
33
|
+
"Indlovana",
|
|
34
|
+
"Indlov'lenkhulu",
|
|
35
|
+
"Mabasa",
|
|
36
|
+
"Inkhwekhweti",
|
|
37
|
+
"Inhlaba",
|
|
38
|
+
"Kholwane",
|
|
39
|
+
"Ingci",
|
|
40
|
+
"Inyoni",
|
|
41
|
+
"Imphala",
|
|
42
|
+
"Lweti",
|
|
43
|
+
"Ingongoni"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"Bhi",
|
|
47
|
+
"Ina",
|
|
48
|
+
"Inu",
|
|
49
|
+
"Mab",
|
|
50
|
+
"Ink",
|
|
51
|
+
"Inh",
|
|
52
|
+
"Kho",
|
|
53
|
+
"Igc",
|
|
54
|
+
"Iny",
|
|
55
|
+
"Imp",
|
|
56
|
+
"Lwe",
|
|
57
|
+
"Igo"
|
|
58
|
+
],
|
|
59
|
+
ordinal: (n) => `${n}`,
|
|
60
|
+
weekStart: 1,
|
|
61
|
+
yearStart: 4,
|
|
62
|
+
formats: {
|
|
63
|
+
LT: "h:mm A",
|
|
64
|
+
LTS: "h:mm:ss A",
|
|
65
|
+
L: "DD/MM/YYYY",
|
|
66
|
+
LL: "D MMMM YYYY",
|
|
67
|
+
LLL: "D MMMM YYYY h:mm A",
|
|
68
|
+
LLLL: "dddd, D MMMM YYYY h:mm A",
|
|
69
|
+
l: "DD/MM/YYYY",
|
|
70
|
+
ll: "D MMMM YYYY",
|
|
71
|
+
lll: "D MMMM YYYY h:mm A",
|
|
72
|
+
llll: "dddd, D MMMM YYYY h:mm A"
|
|
73
|
+
},
|
|
74
|
+
calendar: {
|
|
75
|
+
sameDay: "[Namuhla nga] LT",
|
|
76
|
+
nextDay: "[Kusasa nga] LT",
|
|
77
|
+
nextWeek: "dddd [nga] LT",
|
|
78
|
+
lastDay: "[Itolo nga] LT",
|
|
79
|
+
lastWeek: "dddd [leliphelile] [nga] LT",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "nga %s",
|
|
84
|
+
past: "wenteka nga %s",
|
|
85
|
+
s: "emizuzwana lomcane",
|
|
86
|
+
ss: "%d mzuzwana",
|
|
87
|
+
m: "umzuzu",
|
|
88
|
+
mm: "%d emizuzu",
|
|
89
|
+
h: "lihora",
|
|
90
|
+
hh: "%d emahora",
|
|
91
|
+
d: "lilanga",
|
|
92
|
+
dd: "%d emalanga",
|
|
93
|
+
M: "inyanga",
|
|
94
|
+
MM: "%d tinyanga",
|
|
95
|
+
y: "umnyaka",
|
|
96
|
+
yy: "%d iminyaka"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, _minute, _isLowercase) => {
|
|
99
|
+
if (hour < 11) return "ekuseni";
|
|
100
|
+
if (hour < 15) return "emini";
|
|
101
|
+
if (hour < 19) return "entsambama";
|
|
102
|
+
return "ebusuku";
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
var ss_default = localeSs;
|
|
106
|
+
|
|
107
|
+
//#endregion
|
|
108
|
+
export { ss_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/sv-fi.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Finland Swedish [sv-FI]
|
|
8
|
+
*/
|
|
9
|
+
declare const localeSvFi: Locale;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { localeSvFi as default };
|
package/locales/sv-fi.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
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 { sv_default } from "../chunks/br7kModF.js";
|
|
7
|
+
|
|
8
|
+
//#region src/locales/sv-fi.ts
|
|
9
|
+
const localeSvFi = cloneLocale(sv_default);
|
|
10
|
+
const formats = {
|
|
11
|
+
LT: "HH.mm",
|
|
12
|
+
LTS: "HH.mm.ss",
|
|
13
|
+
L: "DD.MM.YYYY",
|
|
14
|
+
LL: "D. MMMM YYYY",
|
|
15
|
+
LLL: "D. MMMM YYYY, [kl.] HH.mm",
|
|
16
|
+
LLLL: "dddd, D. MMMM YYYY, [kl.] HH.mm",
|
|
17
|
+
l: "D.M.YYYY",
|
|
18
|
+
ll: "D. MMM YYYY",
|
|
19
|
+
lll: "D. MMM YYYY, [kl.] HH.mm",
|
|
20
|
+
llll: "ddd, D. MMM YYYY, [kl.] HH.mm"
|
|
21
|
+
};
|
|
22
|
+
setLocaleProperty(localeSvFi, "name", "sv-FI");
|
|
23
|
+
setLocaleProperty(localeSvFi, "formats", formats);
|
|
24
|
+
var sv_fi_default = localeSvFi;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { sv_fi_default as default };
|
package/locales/sv.d.ts
ADDED
package/locales/sv.js
ADDED
package/locales/sw.d.ts
ADDED
package/locales/sw.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
//#region src/locales/sw.ts
|
|
2
|
+
const localeSw = {
|
|
3
|
+
name: "sw",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"Jumapili",
|
|
6
|
+
"Jumatatu",
|
|
7
|
+
"Jumanne",
|
|
8
|
+
"Jumatano",
|
|
9
|
+
"Alhamisi",
|
|
10
|
+
"Ijumaa",
|
|
11
|
+
"Jumamosi"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"Jpl",
|
|
15
|
+
"Jtat",
|
|
16
|
+
"Jnne",
|
|
17
|
+
"Jtan",
|
|
18
|
+
"Alh",
|
|
19
|
+
"Ijm",
|
|
20
|
+
"Jmos"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"J2",
|
|
24
|
+
"J3",
|
|
25
|
+
"J4",
|
|
26
|
+
"J5",
|
|
27
|
+
"Al",
|
|
28
|
+
"Ij",
|
|
29
|
+
"J1"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"Januari",
|
|
33
|
+
"Februari",
|
|
34
|
+
"Machi",
|
|
35
|
+
"Aprili",
|
|
36
|
+
"Mei",
|
|
37
|
+
"Juni",
|
|
38
|
+
"Julai",
|
|
39
|
+
"Agosti",
|
|
40
|
+
"Septemba",
|
|
41
|
+
"Oktoba",
|
|
42
|
+
"Novemba",
|
|
43
|
+
"Desemba"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"Jan",
|
|
47
|
+
"Feb",
|
|
48
|
+
"Mac",
|
|
49
|
+
"Apr",
|
|
50
|
+
"Mei",
|
|
51
|
+
"Jun",
|
|
52
|
+
"Jul",
|
|
53
|
+
"Ago",
|
|
54
|
+
"Sep",
|
|
55
|
+
"Okt",
|
|
56
|
+
"Nov",
|
|
57
|
+
"Des"
|
|
58
|
+
],
|
|
59
|
+
ordinal: (n) => `${n}`,
|
|
60
|
+
weekStart: 1,
|
|
61
|
+
yearStart: 1,
|
|
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: "[leo saa] LT",
|
|
76
|
+
nextDay: "[kesho saa] LT",
|
|
77
|
+
nextWeek: "[wiki ijayo] dddd [saat] LT",
|
|
78
|
+
lastDay: "[jana] LT",
|
|
79
|
+
lastWeek: "[wiki iliyopita] dddd [saat] LT",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "%s baadaye",
|
|
84
|
+
past: "tokea %s",
|
|
85
|
+
s: "hivi punde",
|
|
86
|
+
ss: "sekunde %d",
|
|
87
|
+
m: "dakika moja",
|
|
88
|
+
mm: "dakika %d",
|
|
89
|
+
h: "saa limoja",
|
|
90
|
+
hh: "masaa %d",
|
|
91
|
+
d: "siku moja",
|
|
92
|
+
dd: "masiku %d",
|
|
93
|
+
M: "mwezi mmoja",
|
|
94
|
+
MM: "miezi %d",
|
|
95
|
+
y: "mwaka mmoja",
|
|
96
|
+
yy: "miaka %d"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
99
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
100
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
var sw_default = localeSw;
|
|
104
|
+
|
|
105
|
+
//#endregion
|
|
106
|
+
export { sw_default as default };
|
package/locales/ta.d.ts
ADDED
package/locales/ta.js
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
//#region src/locales/ta.ts
|
|
2
|
+
const tamilToEnglishNumbersMap = {
|
|
3
|
+
"௧": "1",
|
|
4
|
+
"௨": "2",
|
|
5
|
+
"௩": "3",
|
|
6
|
+
"௪": "4",
|
|
7
|
+
"௫": "5",
|
|
8
|
+
"௬": "6",
|
|
9
|
+
"௭": "7",
|
|
10
|
+
"௮": "8",
|
|
11
|
+
"௯": "9",
|
|
12
|
+
"௦": "0"
|
|
13
|
+
};
|
|
14
|
+
const englishToTamilNumbersMap = {
|
|
15
|
+
1: "௧",
|
|
16
|
+
2: "௨",
|
|
17
|
+
3: "௩",
|
|
18
|
+
4: "௪",
|
|
19
|
+
5: "௫",
|
|
20
|
+
6: "௬",
|
|
21
|
+
7: "௭",
|
|
22
|
+
8: "௮",
|
|
23
|
+
9: "௯",
|
|
24
|
+
0: "௦"
|
|
25
|
+
};
|
|
26
|
+
const localeTa = {
|
|
27
|
+
name: "ta",
|
|
28
|
+
weekdays: [
|
|
29
|
+
"ஞாயிற்றுக்கிழமை",
|
|
30
|
+
"திங்கட்கிழமை",
|
|
31
|
+
"செவ்வாய்கிழமை",
|
|
32
|
+
"புதன்கிழமை",
|
|
33
|
+
"வியாழக்கிழமை",
|
|
34
|
+
"வெள்ளிக்கிழமை",
|
|
35
|
+
"சனிக்கிழமை"
|
|
36
|
+
],
|
|
37
|
+
weekdaysShort: [
|
|
38
|
+
"ஞாயிறு",
|
|
39
|
+
"திங்கள்",
|
|
40
|
+
"செவ்வாய்",
|
|
41
|
+
"புதன்",
|
|
42
|
+
"வியாழன்",
|
|
43
|
+
"வெள்ளி",
|
|
44
|
+
"சனி"
|
|
45
|
+
],
|
|
46
|
+
weekdaysMin: [
|
|
47
|
+
"ஞா",
|
|
48
|
+
"தி",
|
|
49
|
+
"செ",
|
|
50
|
+
"பு",
|
|
51
|
+
"வி",
|
|
52
|
+
"வெ",
|
|
53
|
+
"ச"
|
|
54
|
+
],
|
|
55
|
+
months: [
|
|
56
|
+
"ஜனவரி",
|
|
57
|
+
"பிப்ரவரி",
|
|
58
|
+
"மார்ச்",
|
|
59
|
+
"ஏப்ரல்",
|
|
60
|
+
"மே",
|
|
61
|
+
"ஜூன்",
|
|
62
|
+
"ஜூலை",
|
|
63
|
+
"ஆகஸ்ட்",
|
|
64
|
+
"செப்டெம்பர்",
|
|
65
|
+
"அக்டோபர்",
|
|
66
|
+
"நவம்பர்",
|
|
67
|
+
"டிசம்பர்"
|
|
68
|
+
],
|
|
69
|
+
monthsShort: [
|
|
70
|
+
"ஜனவரி",
|
|
71
|
+
"பிப்ரவரி",
|
|
72
|
+
"மார்ச்",
|
|
73
|
+
"ஏப்ரல்",
|
|
74
|
+
"மே",
|
|
75
|
+
"ஜூன்",
|
|
76
|
+
"ஜூலை",
|
|
77
|
+
"ஆகஸ்ட்",
|
|
78
|
+
"செப்டெம்பர்",
|
|
79
|
+
"அக்டோபர்",
|
|
80
|
+
"நவம்பர்",
|
|
81
|
+
"டிசம்பர்"
|
|
82
|
+
],
|
|
83
|
+
ordinal: (n) => `${n} வது`,
|
|
84
|
+
weekStart: 0,
|
|
85
|
+
yearStart: 1,
|
|
86
|
+
formats: {
|
|
87
|
+
LT: "HH:mm",
|
|
88
|
+
LTS: "HH:mm:ss",
|
|
89
|
+
L: "DD/MM/YYYY",
|
|
90
|
+
LL: "D MMMM YYYY",
|
|
91
|
+
LLL: "D MMMM YYYY, HH:mm",
|
|
92
|
+
LLLL: "dddd, D MMMM YYYY, HH:mm",
|
|
93
|
+
l: "DD/MM/YYYY",
|
|
94
|
+
ll: "D MMMM YYYY",
|
|
95
|
+
lll: "D MMMM YYYY, HH:mm",
|
|
96
|
+
llll: "dddd, D MMMM YYYY, HH:mm"
|
|
97
|
+
},
|
|
98
|
+
calendar: {
|
|
99
|
+
sameDay: "[இன்று] LT",
|
|
100
|
+
nextDay: "[நாளை] LT",
|
|
101
|
+
nextWeek: "dddd, LT",
|
|
102
|
+
lastDay: "[நேற்று] LT",
|
|
103
|
+
lastWeek: "[கடந்த வாரம்] dddd, LT",
|
|
104
|
+
sameElse: "L"
|
|
105
|
+
},
|
|
106
|
+
relativeTime: {
|
|
107
|
+
future: "%s இல்",
|
|
108
|
+
past: "%s முன்",
|
|
109
|
+
s: "ஒரு சில விநாடிகள்",
|
|
110
|
+
ss: "%d விநாடிகள்",
|
|
111
|
+
m: "ஒரு நிமிடம்",
|
|
112
|
+
mm: "%d நிமிடங்கள்",
|
|
113
|
+
h: "ஒரு மணி நேரம்",
|
|
114
|
+
hh: "%d மணி நேரம்",
|
|
115
|
+
d: "ஒரு நாள்",
|
|
116
|
+
dd: "%d நாட்கள்",
|
|
117
|
+
M: "ஒரு மாதம்",
|
|
118
|
+
MM: "%d மாதங்கள்",
|
|
119
|
+
y: "ஒரு வருடம்",
|
|
120
|
+
yy: "%d ஆண்டுகள்"
|
|
121
|
+
},
|
|
122
|
+
meridiem: (hour, _minute, _isLowercase) => {
|
|
123
|
+
if (hour < 2) return "யாமம்";
|
|
124
|
+
if (hour < 6) return "வைகறை";
|
|
125
|
+
if (hour < 10) return "காலை";
|
|
126
|
+
if (hour < 14) return "நண்பகல்";
|
|
127
|
+
if (hour < 18) return "எற்பாடு";
|
|
128
|
+
if (hour < 22) return "மாலை";
|
|
129
|
+
return "யாமம்";
|
|
130
|
+
},
|
|
131
|
+
preParse: (dateString) => dateString.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, (match) => tamilToEnglishNumbersMap[match]),
|
|
132
|
+
postFormat: (formattedDate) => formattedDate.replace(/\d/g, (match) => englishToTamilNumbersMap[Number(match)])
|
|
133
|
+
};
|
|
134
|
+
var ta_default = localeTa;
|
|
135
|
+
|
|
136
|
+
//#endregion
|
|
137
|
+
export { ta_default as default };
|
package/locales/te.d.ts
ADDED