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/chunks/D009Z-ld.js
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
//#region src/locales/fr.ts
|
|
2
|
-
const localeFr = {
|
|
3
|
-
name: "fr",
|
|
4
|
-
weekdays: [
|
|
5
|
-
"dimanche",
|
|
6
|
-
"lundi",
|
|
7
|
-
"mardi",
|
|
8
|
-
"mercredi",
|
|
9
|
-
"jeudi",
|
|
10
|
-
"vendredi",
|
|
11
|
-
"samedi"
|
|
12
|
-
],
|
|
13
|
-
weekdaysShort: [
|
|
14
|
-
"dim.",
|
|
15
|
-
"lun.",
|
|
16
|
-
"mar.",
|
|
17
|
-
"mer.",
|
|
18
|
-
"jeu.",
|
|
19
|
-
"ven.",
|
|
20
|
-
"sam."
|
|
21
|
-
],
|
|
22
|
-
weekdaysMin: [
|
|
23
|
-
"di",
|
|
24
|
-
"lu",
|
|
25
|
-
"ma",
|
|
26
|
-
"me",
|
|
27
|
-
"je",
|
|
28
|
-
"ve",
|
|
29
|
-
"sa"
|
|
30
|
-
],
|
|
31
|
-
months: [
|
|
32
|
-
"janvier",
|
|
33
|
-
"février",
|
|
34
|
-
"mars",
|
|
35
|
-
"avril",
|
|
36
|
-
"mai",
|
|
37
|
-
"juin",
|
|
38
|
-
"juillet",
|
|
39
|
-
"août",
|
|
40
|
-
"septembre",
|
|
41
|
-
"octobre",
|
|
42
|
-
"novembre",
|
|
43
|
-
"décembre"
|
|
44
|
-
],
|
|
45
|
-
monthsShort: [
|
|
46
|
-
"janv.",
|
|
47
|
-
"févr.",
|
|
48
|
-
"mars",
|
|
49
|
-
"avr.",
|
|
50
|
-
"mai",
|
|
51
|
-
"juin",
|
|
52
|
-
"juil.",
|
|
53
|
-
"août",
|
|
54
|
-
"sept.",
|
|
55
|
-
"oct.",
|
|
56
|
-
"nov.",
|
|
57
|
-
"déc."
|
|
58
|
-
],
|
|
59
|
-
ordinal: (n) => {
|
|
60
|
-
const o = n === 1 ? "er" : "";
|
|
61
|
-
return `${n}${o}`;
|
|
62
|
-
},
|
|
63
|
-
weekStart: 1,
|
|
64
|
-
yearStart: 4,
|
|
65
|
-
formats: {
|
|
66
|
-
LT: "HH:mm",
|
|
67
|
-
LTS: "HH:mm:ss",
|
|
68
|
-
L: "DD/MM/YYYY",
|
|
69
|
-
LL: "D MMMM YYYY",
|
|
70
|
-
LLL: "D MMMM YYYY HH:mm",
|
|
71
|
-
LLLL: "dddd D MMMM YYYY HH:mm",
|
|
72
|
-
l: "DD/MM/YYYY",
|
|
73
|
-
ll: "D MMMM YYYY",
|
|
74
|
-
lll: "D MMMM YYYY HH:mm",
|
|
75
|
-
llll: "dddd D MMMM YYYY HH:mm"
|
|
76
|
-
},
|
|
77
|
-
calendar: {
|
|
78
|
-
sameDay: "[Aujourd’hui à] LT",
|
|
79
|
-
nextDay: "[Demain à] LT",
|
|
80
|
-
nextWeek: "dddd [à] LT",
|
|
81
|
-
lastDay: "[Hier à] LT",
|
|
82
|
-
lastWeek: "dddd [dernier à] LT",
|
|
83
|
-
sameElse: "L"
|
|
84
|
-
},
|
|
85
|
-
relativeTime: {
|
|
86
|
-
future: "dans %s",
|
|
87
|
-
past: "il y a %s",
|
|
88
|
-
s: "quelques secondes",
|
|
89
|
-
ss: "%d secondes",
|
|
90
|
-
m: "une minute",
|
|
91
|
-
mm: "%d minutes",
|
|
92
|
-
h: "une heure",
|
|
93
|
-
hh: "%d heures",
|
|
94
|
-
d: "un jour",
|
|
95
|
-
dd: "%d jours",
|
|
96
|
-
M: "un mois",
|
|
97
|
-
MM: "%d mois",
|
|
98
|
-
y: "un an",
|
|
99
|
-
yy: "%d ans"
|
|
100
|
-
},
|
|
101
|
-
meridiem: (hour, _minute, isLowercase) => {
|
|
102
|
-
const m = hour < 12 ? "AM" : "PM";
|
|
103
|
-
return isLowercase ? m.toLowerCase() : m;
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
var fr_default = localeFr;
|
|
107
|
-
|
|
108
|
-
//#endregion
|
|
109
|
-
export { fr_default };
|
package/chunks/DMtTiWuY.js
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
//#region src/locales/de.ts
|
|
2
|
-
const relativeTimeFormatStrings = {
|
|
3
|
-
s: "ein paar Sekunden",
|
|
4
|
-
ss: "%d Sekunden",
|
|
5
|
-
m: ["eine Minute", "einer Minute"],
|
|
6
|
-
mm: "%d Minuten",
|
|
7
|
-
h: ["eine Stunde", "einer Stunde"],
|
|
8
|
-
hh: "%d Stunden",
|
|
9
|
-
d: ["ein Tag", "einem Tag"],
|
|
10
|
-
dd: ["%d Tage", "%d Tagen"],
|
|
11
|
-
M: ["ein Monat", "einem Monat"],
|
|
12
|
-
MM: ["%d Monate", "%d Monaten"],
|
|
13
|
-
y: ["ein Jahr", "einem Jahr"],
|
|
14
|
-
yy: ["%d Jahre", "%d Jahren"]
|
|
15
|
-
};
|
|
16
|
-
const relativeTimeFormatter = (timeValue, withoutSuffix, token, _isFuture) => {
|
|
17
|
-
let result = "";
|
|
18
|
-
const l = relativeTimeFormatStrings[token];
|
|
19
|
-
if (Array.isArray(l)) result = l[withoutSuffix ? 0 : 1];
|
|
20
|
-
else result = l;
|
|
21
|
-
return result.replace("%d", timeValue.toString());
|
|
22
|
-
};
|
|
23
|
-
const localeDe = {
|
|
24
|
-
name: "de",
|
|
25
|
-
weekdays: [
|
|
26
|
-
"Sonntag",
|
|
27
|
-
"Montag",
|
|
28
|
-
"Dienstag",
|
|
29
|
-
"Mittwoch",
|
|
30
|
-
"Donnerstag",
|
|
31
|
-
"Freitag",
|
|
32
|
-
"Samstag"
|
|
33
|
-
],
|
|
34
|
-
weekdaysShort: [
|
|
35
|
-
"So.",
|
|
36
|
-
"Mo.",
|
|
37
|
-
"Di.",
|
|
38
|
-
"Mi.",
|
|
39
|
-
"Do.",
|
|
40
|
-
"Fr.",
|
|
41
|
-
"Sa."
|
|
42
|
-
],
|
|
43
|
-
weekdaysMin: [
|
|
44
|
-
"So",
|
|
45
|
-
"Mo",
|
|
46
|
-
"Di",
|
|
47
|
-
"Mi",
|
|
48
|
-
"Do",
|
|
49
|
-
"Fr",
|
|
50
|
-
"Sa"
|
|
51
|
-
],
|
|
52
|
-
months: [
|
|
53
|
-
"Januar",
|
|
54
|
-
"Februar",
|
|
55
|
-
"März",
|
|
56
|
-
"April",
|
|
57
|
-
"Mai",
|
|
58
|
-
"Juni",
|
|
59
|
-
"Juli",
|
|
60
|
-
"August",
|
|
61
|
-
"September",
|
|
62
|
-
"Oktober",
|
|
63
|
-
"November",
|
|
64
|
-
"Dezember"
|
|
65
|
-
],
|
|
66
|
-
monthsShort: [
|
|
67
|
-
"Jan.",
|
|
68
|
-
"Feb.",
|
|
69
|
-
"März",
|
|
70
|
-
"Apr.",
|
|
71
|
-
"Mai",
|
|
72
|
-
"Juni",
|
|
73
|
-
"Juli",
|
|
74
|
-
"Aug.",
|
|
75
|
-
"Sept.",
|
|
76
|
-
"Okt.",
|
|
77
|
-
"Nov.",
|
|
78
|
-
"Dez."
|
|
79
|
-
],
|
|
80
|
-
ordinal: (n) => `${n}.`,
|
|
81
|
-
weekStart: 1,
|
|
82
|
-
yearStart: 4,
|
|
83
|
-
formats: {
|
|
84
|
-
LT: "HH:mm",
|
|
85
|
-
LTS: "HH:mm:ss",
|
|
86
|
-
L: "DD.MM.YYYY",
|
|
87
|
-
LL: "Do MMMM YYYY",
|
|
88
|
-
LLL: "Do MMMM YYYY HH:mm",
|
|
89
|
-
LLLL: "dddd, Do MMMM YYYY HH:mm",
|
|
90
|
-
l: "DD.MM.YYYY",
|
|
91
|
-
ll: "Do MMM YYYY",
|
|
92
|
-
lll: "Do MMM YYYY HH:mm",
|
|
93
|
-
llll: "ddd, Do MMM YYYY HH:mm"
|
|
94
|
-
},
|
|
95
|
-
calendar: {
|
|
96
|
-
sameDay: "[heute um] LT [Uhr]",
|
|
97
|
-
sameElse: "L",
|
|
98
|
-
nextDay: "[morgen um] LT [Uhr]",
|
|
99
|
-
nextWeek: "dddd [um] LT [Uhr]",
|
|
100
|
-
lastDay: "[gestern um] LT [Uhr]",
|
|
101
|
-
lastWeek: "[letzten] dddd [um] LT [Uhr]"
|
|
102
|
-
},
|
|
103
|
-
relativeTime: {
|
|
104
|
-
future: "in %s",
|
|
105
|
-
past: "vor %s",
|
|
106
|
-
s: relativeTimeFormatter,
|
|
107
|
-
ss: relativeTimeFormatter,
|
|
108
|
-
m: relativeTimeFormatter,
|
|
109
|
-
mm: relativeTimeFormatter,
|
|
110
|
-
h: relativeTimeFormatter,
|
|
111
|
-
hh: relativeTimeFormatter,
|
|
112
|
-
d: relativeTimeFormatter,
|
|
113
|
-
dd: relativeTimeFormatter,
|
|
114
|
-
M: relativeTimeFormatter,
|
|
115
|
-
MM: relativeTimeFormatter,
|
|
116
|
-
y: relativeTimeFormatter,
|
|
117
|
-
yy: relativeTimeFormatter
|
|
118
|
-
},
|
|
119
|
-
meridiem: (hour, _minute, isLowercase) => {
|
|
120
|
-
const m = hour < 12 ? "AM" : "PM";
|
|
121
|
-
return isLowercase ? m.toLowerCase() : m;
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
var de_default = localeDe;
|
|
125
|
-
|
|
126
|
-
//#endregion
|
|
127
|
-
export { de_default };
|
package/chunks/Dixb5KKs.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
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
|
-
ordinal: (n) => `${n}º`,
|
|
60
|
-
weekStart: 1,
|
|
61
|
-
yearStart: 4,
|
|
62
|
-
formats: {
|
|
63
|
-
LT: "H:mm",
|
|
64
|
-
LTS: "H:mm:ss",
|
|
65
|
-
L: "DD/MM/YYYY",
|
|
66
|
-
LL: "D [de] MMMM [de] YYYY",
|
|
67
|
-
LLL: "D [de] MMMM [de] YYYY H:mm",
|
|
68
|
-
LLLL: "dddd, D [de] MMMM [de] YYYY H:mm",
|
|
69
|
-
l: "DD/MM/YYYY",
|
|
70
|
-
ll: "D [de] MMMM [de] YYYY",
|
|
71
|
-
lll: "D [de] MMMM [de] YYYY H:mm",
|
|
72
|
-
llll: "dddd, D [de] MMMM [de] YYYY H:mm"
|
|
73
|
-
},
|
|
74
|
-
calendar: {
|
|
75
|
-
sameDay() {
|
|
76
|
-
return `[hoy a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
77
|
-
},
|
|
78
|
-
nextDay() {
|
|
79
|
-
return `[mañana a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
80
|
-
},
|
|
81
|
-
nextWeek() {
|
|
82
|
-
return `dddd [a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
83
|
-
},
|
|
84
|
-
lastDay() {
|
|
85
|
-
return `[ayer a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
86
|
-
},
|
|
87
|
-
lastWeek() {
|
|
88
|
-
return `[el] dddd [pasado a la${this.hour() !== 1 ? "s" : ""}] LT`;
|
|
89
|
-
},
|
|
90
|
-
sameElse: "L"
|
|
91
|
-
},
|
|
92
|
-
relativeTime: {
|
|
93
|
-
future: "en %s",
|
|
94
|
-
past: "hace %s",
|
|
95
|
-
s: "unos segundos",
|
|
96
|
-
ss: "%d segundos",
|
|
97
|
-
m: "un minuto",
|
|
98
|
-
mm: "%d minutos",
|
|
99
|
-
h: "una hora",
|
|
100
|
-
hh: "%d horas",
|
|
101
|
-
d: "un día",
|
|
102
|
-
dd: "%d días",
|
|
103
|
-
M: "un mes",
|
|
104
|
-
MM: "%d meses",
|
|
105
|
-
y: "un año",
|
|
106
|
-
yy: "%d años"
|
|
107
|
-
},
|
|
108
|
-
meridiem: (hour, _minute, isLowercase) => {
|
|
109
|
-
const m = hour < 12 ? "AM" : "PM";
|
|
110
|
-
return isLowercase ? m.toLowerCase() : m;
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
var es_default = localeEs;
|
|
114
|
-
|
|
115
|
-
//#endregion
|
|
116
|
-
export { es_default };
|
package/chunks/DjY7KvwG.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DAY, DAY_OF_MONTH, HOUR, ISOWEEK, MIN, MONTH, MS, QUARTER, SECOND, WEEK, YEAR } from "./Y32qdU_5.js";
|
|
2
|
-
|
|
3
|
-
//#region src/common/units.ts
|
|
4
|
-
const UNIT_MAP = {
|
|
5
|
-
y: YEAR,
|
|
6
|
-
Q: QUARTER,
|
|
7
|
-
M: MONTH,
|
|
8
|
-
w: WEEK,
|
|
9
|
-
W: ISOWEEK,
|
|
10
|
-
D: DAY_OF_MONTH,
|
|
11
|
-
d: DAY,
|
|
12
|
-
h: HOUR,
|
|
13
|
-
m: MIN,
|
|
14
|
-
s: SECOND,
|
|
15
|
-
ms: MS
|
|
16
|
-
};
|
|
17
|
-
function normalizeUnit(unit) {
|
|
18
|
-
const maybePrettyUnit = UNIT_MAP[unit];
|
|
19
|
-
return maybePrettyUnit || unit;
|
|
20
|
-
}
|
|
21
|
-
function normalizeUnitWithPlurals(unit) {
|
|
22
|
-
let normalizedUnit = UNIT_MAP[unit];
|
|
23
|
-
if (normalizedUnit === void 0) normalizedUnit = unit?.toLowerCase?.().replace?.(/s$/, "");
|
|
24
|
-
return normalizedUnit ?? unit;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { normalizeUnit, normalizeUnitWithPlurals };
|
package/chunks/GjKpN6U-.js
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
//#region src/locales/bn.ts
|
|
2
|
-
const bengaliToEnglishNumbersMap = {
|
|
3
|
-
"১": "1",
|
|
4
|
-
"২": "2",
|
|
5
|
-
"৩": "3",
|
|
6
|
-
"৪": "4",
|
|
7
|
-
"৫": "5",
|
|
8
|
-
"৬": "6",
|
|
9
|
-
"৭": "7",
|
|
10
|
-
"৮": "8",
|
|
11
|
-
"৯": "9",
|
|
12
|
-
"০": "0"
|
|
13
|
-
};
|
|
14
|
-
const englishToBengaliNumbersMap = {
|
|
15
|
-
1: "১",
|
|
16
|
-
2: "২",
|
|
17
|
-
3: "৩",
|
|
18
|
-
4: "৪",
|
|
19
|
-
5: "৫",
|
|
20
|
-
6: "৬",
|
|
21
|
-
7: "৭",
|
|
22
|
-
8: "৮",
|
|
23
|
-
9: "৯",
|
|
24
|
-
0: "০"
|
|
25
|
-
};
|
|
26
|
-
const localeBn = {
|
|
27
|
-
name: "bn",
|
|
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: "A h:mm সময়",
|
|
88
|
-
LTS: "A h:mm:ss সময়",
|
|
89
|
-
L: "DD/MM/YYYY",
|
|
90
|
-
LL: "D MMMM YYYY",
|
|
91
|
-
LLL: "D MMMM YYYY, A h:mm সময়",
|
|
92
|
-
LLLL: "dddd, D MMMM YYYY, A h:mm সময়",
|
|
93
|
-
l: "DD/MM/YYYY",
|
|
94
|
-
ll: "D MMMM YYYY",
|
|
95
|
-
lll: "D MMMM YYYY, A h:mm সময়",
|
|
96
|
-
llll: "dddd, D MMMM YYYY, A h: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 < 4) return "রাত";
|
|
124
|
-
if (hour < 10) return "সকাল";
|
|
125
|
-
if (hour < 17) return "দুপুর";
|
|
126
|
-
if (hour < 20) return "বিকাল";
|
|
127
|
-
return "রাত";
|
|
128
|
-
},
|
|
129
|
-
preParse: (string) => string.replace(/[১২৩৪৫৬৭৮৯০]/g, (match) => bengaliToEnglishNumbersMap[match]),
|
|
130
|
-
postFormat: (string) => string.replace(/\d/g, (match) => englishToBengaliNumbersMap[match])
|
|
131
|
-
};
|
|
132
|
-
var bn_default = localeBn;
|
|
133
|
-
|
|
134
|
-
//#endregion
|
|
135
|
-
export { bn_default };
|
package/chunks/St35qgL0.d.ts
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { EsDay, EsDayPlugin } from "./DqhiVwLi.js";
|
|
2
|
-
|
|
3
|
-
//#region src/plugins/locale/types.d.ts
|
|
4
|
-
type ReadonlyTuple<T, N extends number, R extends readonly T[] = []> = R['length'] extends N ? R : ReadonlyTuple<T, N, readonly [T, ...R]>;
|
|
5
|
-
declare module 'esday' {
|
|
6
|
-
interface EsDay {
|
|
7
|
-
locale(): string;
|
|
8
|
-
locale(localeName: string): EsDay;
|
|
9
|
-
localeObject: () => Locale;
|
|
10
|
-
}
|
|
11
|
-
interface EsDayFactory {
|
|
12
|
-
locale(): string;
|
|
13
|
-
locale(localeName: string): EsDay;
|
|
14
|
-
registerLocale: (locale: Locale, newName?: string) => EsDayFactory;
|
|
15
|
-
unregisterLocale: (localeName: string) => EsDayFactory;
|
|
16
|
-
getLocale: (localeName: string) => Locale;
|
|
17
|
-
updateLocale: (localeName: string, newLocale: Partial<Locale>) => EsDayFactory;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
type DayNames<T = string> = ReadonlyTuple<T, 7>;
|
|
21
|
-
interface DayNamesStandaloneFormat<T = DayNames<string>> {
|
|
22
|
-
format: T;
|
|
23
|
-
standalone: T;
|
|
24
|
-
isFormat: RegExp;
|
|
25
|
-
}
|
|
26
|
-
type MonthNames<T = string> = ReadonlyTuple<T, 12>;
|
|
27
|
-
interface MonthNamesStandaloneFormat<T = MonthNames<string>> {
|
|
28
|
-
format: T;
|
|
29
|
-
standalone: T;
|
|
30
|
-
isFormat?: RegExp;
|
|
31
|
-
}
|
|
32
|
-
interface MonthNamesFunction<T = MonthNames<string>> {
|
|
33
|
-
(esdayInstance: EsDay, format: string): string;
|
|
34
|
-
format: T;
|
|
35
|
-
standalone: T;
|
|
36
|
-
}
|
|
37
|
-
type LocaleFormatKeys = 'LT' | 'LTS' | 'L' | 'LL' | 'LLL' | 'LLLL' | 'l' | 'll' | 'lll' | 'llll';
|
|
38
|
-
type CalendarSpecValFunction = (this: EsDay, refDate?: EsDay) => string;
|
|
39
|
-
type CalendarSpecVal = string | CalendarSpecValFunction;
|
|
40
|
-
interface Calendar {
|
|
41
|
-
sameDay: CalendarSpecVal;
|
|
42
|
-
nextDay: CalendarSpecVal;
|
|
43
|
-
nextWeek: CalendarSpecVal;
|
|
44
|
-
lastDay: CalendarSpecVal;
|
|
45
|
-
lastWeek: CalendarSpecVal;
|
|
46
|
-
sameElse: CalendarSpecVal;
|
|
47
|
-
}
|
|
48
|
-
type CalendarPartial = Partial<Calendar>;
|
|
49
|
-
type RelativeTimeElementFunction = (timeValue: string | number, withoutSuffix: boolean, token: string, isFuture: boolean) => string;
|
|
50
|
-
type RelativeTimeKeys = 'future' | 'past' | 's' | 'ss' | 'm' | 'mm' | 'h' | 'hh' | 'd' | 'dd' | 'M' | 'MM' | 'y' | 'yy';
|
|
51
|
-
interface Locale {
|
|
52
|
-
/**
|
|
53
|
-
* Name of the locale
|
|
54
|
-
*/
|
|
55
|
-
readonly name: string;
|
|
56
|
-
/**
|
|
57
|
-
* Array of full day names
|
|
58
|
-
* @example ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
|
|
59
|
-
*/
|
|
60
|
-
readonly weekdays: DayNames | DayNamesStandaloneFormat;
|
|
61
|
-
/**
|
|
62
|
-
* Array of short versions of day names
|
|
63
|
-
* @example ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
|
|
64
|
-
*/
|
|
65
|
-
readonly weekdaysShort: DayNames;
|
|
66
|
-
/**
|
|
67
|
-
* Array of minimal versions of day names
|
|
68
|
-
* @example ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']
|
|
69
|
-
*/
|
|
70
|
-
readonly weekdaysMin: DayNames;
|
|
71
|
-
readonly months: MonthNames | MonthNamesStandaloneFormat | MonthNamesFunction;
|
|
72
|
-
readonly monthsShort: MonthNames | MonthNamesStandaloneFormat | MonthNamesFunction;
|
|
73
|
-
readonly ordinal: (number: number, period?: string) => string;
|
|
74
|
-
readonly weekStart: number;
|
|
75
|
-
readonly yearStart: number;
|
|
76
|
-
readonly formats: Record<LocaleFormatKeys, string>;
|
|
77
|
-
readonly calendar: Calendar;
|
|
78
|
-
readonly relativeTime: Record<RelativeTimeKeys, string | RelativeTimeElementFunction>;
|
|
79
|
-
readonly meridiem: (hour: number, minute: number, isLowercase: boolean) => string;
|
|
80
|
-
readonly preParse?: (dateString: string) => string;
|
|
81
|
-
readonly postFormat?: (formattedDate: string) => string;
|
|
82
|
-
}
|
|
83
|
-
//#endregion
|
|
84
|
-
//#region src/plugins/locale/index.d.ts
|
|
85
|
-
/**
|
|
86
|
-
* Set a property in a literal object avoiding a typescript error TS2322.
|
|
87
|
-
* @param targetLocale - object whose property to create or set
|
|
88
|
-
* @param propName - name of the property to create or set
|
|
89
|
-
* @param newValue - new value of the property
|
|
90
|
-
*/
|
|
91
|
-
declare function setLocaleProperty(targetLocale: Locale, propName: string, newValue: any): void;
|
|
92
|
-
/**
|
|
93
|
-
* Clone a Locale. Used to create a locale for a territory based
|
|
94
|
-
* on the locale of the corresponding language.
|
|
95
|
-
* All properties of the cloned locale are 'readonly' and can only
|
|
96
|
-
* be set by using the function 'setProperty'.
|
|
97
|
-
* @param source - locale to clone
|
|
98
|
-
* @returns cloned locale with all all properties set to 'readonly'.
|
|
99
|
-
*/
|
|
100
|
-
declare function cloneLocale(source: Locale): Locale;
|
|
101
|
-
declare const localePlugin: EsDayPlugin<{}>;
|
|
102
|
-
//#endregion
|
|
103
|
-
export { Calendar, CalendarPartial, CalendarSpecVal, CalendarSpecValFunction, DayNames, DayNamesStandaloneFormat, Locale, LocaleFormatKeys, MonthNames, MonthNamesFunction, MonthNamesStandaloneFormat, RelativeTimeElementFunction, RelativeTimeKeys, cloneLocale, localePlugin, setLocaleProperty };
|