@vlrc-fe/components 1.0.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/README.md +193 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +42 -0
- package/dist/index10.cjs +1 -0
- package/dist/index10.js +85 -0
- package/dist/index100.cjs +1 -0
- package/dist/index100.js +65 -0
- package/dist/index101.cjs +1 -0
- package/dist/index101.js +48 -0
- package/dist/index102.cjs +1 -0
- package/dist/index102.js +67 -0
- package/dist/index103.cjs +1 -0
- package/dist/index103.js +151 -0
- package/dist/index104.cjs +1 -0
- package/dist/index104.js +23 -0
- package/dist/index105.cjs +1 -0
- package/dist/index105.js +27 -0
- package/dist/index106.cjs +1 -0
- package/dist/index106.js +53 -0
- package/dist/index107.cjs +1 -0
- package/dist/index107.js +161 -0
- package/dist/index108.cjs +1 -0
- package/dist/index108.js +16 -0
- package/dist/index109.cjs +1 -0
- package/dist/index11.cjs +1 -0
- package/dist/index11.js +86 -0
- package/dist/index12.cjs +1 -0
- package/dist/index12.js +122 -0
- package/dist/index13.cjs +1 -0
- package/dist/index13.js +14 -0
- package/dist/index14.cjs +1 -0
- package/dist/index14.js +16 -0
- package/dist/index15.cjs +1 -0
- package/dist/index15.js +115 -0
- package/dist/index16.cjs +1 -0
- package/dist/index16.js +727 -0
- package/dist/index17.cjs +1 -0
- package/dist/index17.js +348 -0
- package/dist/index18.cjs +1 -0
- package/dist/index18.js +76 -0
- package/dist/index19.cjs +1 -0
- package/dist/index19.js +14 -0
- package/dist/index2.cjs +1 -0
- package/dist/index2.js +122 -0
- package/dist/index20.cjs +1 -0
- package/dist/index20.js +116 -0
- package/dist/index21.cjs +1 -0
- package/dist/index21.js +35 -0
- package/dist/index22.cjs +1 -0
- package/dist/index22.js +18 -0
- package/dist/index23.cjs +1 -0
- package/dist/index23.js +27 -0
- package/dist/index24.cjs +1 -0
- package/dist/index24.js +35 -0
- package/dist/index25.cjs +1 -0
- package/dist/index25.js +97 -0
- package/dist/index26.cjs +1 -0
- package/dist/index26.js +28 -0
- package/dist/index27.cjs +1 -0
- package/dist/index27.js +14 -0
- package/dist/index28.cjs +1 -0
- package/dist/index28.js +67 -0
- package/dist/index29.cjs +1 -0
- package/dist/index29.js +13 -0
- package/dist/index3.cjs +1 -0
- package/dist/index3.js +8 -0
- package/dist/index30.cjs +1 -0
- package/dist/index30.js +35 -0
- package/dist/index31.cjs +1 -0
- package/dist/index31.js +43 -0
- package/dist/index32.cjs +1 -0
- package/dist/index32.js +14 -0
- package/dist/index33.cjs +1 -0
- package/dist/index33.js +64 -0
- package/dist/index34.cjs +1 -0
- package/dist/index34.js +23 -0
- package/dist/index35.cjs +1 -0
- package/dist/index35.js +34 -0
- package/dist/index36.cjs +1 -0
- package/dist/index36.js +27 -0
- package/dist/index37.cjs +1 -0
- package/dist/index37.js +26 -0
- package/dist/index38.cjs +1 -0
- package/dist/index38.js +157 -0
- package/dist/index39.cjs +1 -0
- package/dist/index39.js +34 -0
- package/dist/index4.cjs +1 -0
- package/dist/index4.js +43 -0
- package/dist/index40.cjs +1 -0
- package/dist/index40.js +46 -0
- package/dist/index41.cjs +1 -0
- package/dist/index41.js +118 -0
- package/dist/index42.cjs +1 -0
- package/dist/index42.js +125 -0
- package/dist/index43.cjs +1 -0
- package/dist/index43.js +26 -0
- package/dist/index44.cjs +1 -0
- package/dist/index44.js +88 -0
- package/dist/index45.cjs +1 -0
- package/dist/index45.js +221 -0
- package/dist/index46.cjs +1 -0
- package/dist/index46.js +166 -0
- package/dist/index47.cjs +1 -0
- package/dist/index47.js +126 -0
- package/dist/index48.cjs +1 -0
- package/dist/index48.js +15 -0
- package/dist/index49.cjs +1 -0
- package/dist/index49.js +9 -0
- package/dist/index5.cjs +1 -0
- package/dist/index5.js +24 -0
- package/dist/index50.cjs +1 -0
- package/dist/index50.js +17 -0
- package/dist/index51.cjs +1 -0
- package/dist/index51.js +22 -0
- package/dist/index52.cjs +1 -0
- package/dist/index52.js +18 -0
- package/dist/index53.cjs +1 -0
- package/dist/index53.js +6 -0
- package/dist/index54.cjs +1 -0
- package/dist/index54.js +7 -0
- package/dist/index55.cjs +1 -0
- package/dist/index55.js +8 -0
- package/dist/index56.cjs +1 -0
- package/dist/index56.js +7 -0
- package/dist/index57.cjs +1 -0
- package/dist/index57.js +7 -0
- package/dist/index58.cjs +1 -0
- package/dist/index58.js +9 -0
- package/dist/index59.cjs +1 -0
- package/dist/index59.js +69 -0
- package/dist/index6.cjs +1 -0
- package/dist/index6.js +51 -0
- package/dist/index60.cjs +1 -0
- package/dist/index60.js +11 -0
- package/dist/index61.cjs +1 -0
- package/dist/index61.js +202 -0
- package/dist/index62.cjs +1 -0
- package/dist/index62.js +124 -0
- package/dist/index63.cjs +1 -0
- package/dist/index63.js +32 -0
- package/dist/index64.cjs +1 -0
- package/dist/index64.js +20 -0
- package/dist/index65.cjs +1 -0
- package/dist/index65.js +69 -0
- package/dist/index66.cjs +1 -0
- package/dist/index66.js +32 -0
- package/dist/index67.cjs +1 -0
- package/dist/index67.js +11 -0
- package/dist/index68.cjs +1 -0
- package/dist/index68.js +280 -0
- package/dist/index69.cjs +1 -0
- package/dist/index69.js +157 -0
- package/dist/index7.cjs +1 -0
- package/dist/index7.js +88 -0
- package/dist/index70.cjs +1 -0
- package/dist/index70.js +20 -0
- package/dist/index71.cjs +1 -0
- package/dist/index71.js +10 -0
- package/dist/index72.cjs +1 -0
- package/dist/index72.js +14 -0
- package/dist/index73.cjs +1 -0
- package/dist/index73.js +8 -0
- package/dist/index74.cjs +1 -0
- package/dist/index74.js +8 -0
- package/dist/index75.cjs +1 -0
- package/dist/index75.js +11 -0
- package/dist/index76.cjs +1 -0
- package/dist/index76.js +10 -0
- package/dist/index77.cjs +1 -0
- package/dist/index77.js +6 -0
- package/dist/index78.cjs +1 -0
- package/dist/index78.js +8 -0
- package/dist/index79.cjs +1 -0
- package/dist/index79.js +8 -0
- package/dist/index8.cjs +1 -0
- package/dist/index8.js +68 -0
- package/dist/index80.cjs +1 -0
- package/dist/index80.js +10 -0
- package/dist/index81.cjs +1 -0
- package/dist/index81.js +11 -0
- package/dist/index82.cjs +1 -0
- package/dist/index82.js +15 -0
- package/dist/index83.cjs +1 -0
- package/dist/index83.js +11 -0
- package/dist/index84.cjs +1 -0
- package/dist/index84.js +11 -0
- package/dist/index85.cjs +1 -0
- package/dist/index85.js +6 -0
- package/dist/index86.cjs +1 -0
- package/dist/index86.js +43 -0
- package/dist/index87.cjs +1 -0
- package/dist/index87.js +382 -0
- package/dist/index88.cjs +1 -0
- package/dist/index88.js +40 -0
- package/dist/index89.cjs +1 -0
- package/dist/index89.js +23 -0
- package/dist/index9.cjs +1 -0
- package/dist/index9.js +20 -0
- package/dist/index90.cjs +1 -0
- package/dist/index90.js +59 -0
- package/dist/index91.cjs +1 -0
- package/dist/index91.js +55 -0
- package/dist/index92.cjs +1 -0
- package/dist/index92.js +54 -0
- package/dist/index93.cjs +1 -0
- package/dist/index93.js +57 -0
- package/dist/index94.cjs +1 -0
- package/dist/index94.js +57 -0
- package/dist/index95.cjs +1 -0
- package/dist/index95.js +88 -0
- package/dist/index96.cjs +1 -0
- package/dist/index96.js +66 -0
- package/dist/index97.cjs +1 -0
- package/dist/index97.js +594 -0
- package/dist/index98.cjs +9 -0
- package/dist/index98.js +30 -0
- package/dist/index99.cjs +1 -0
- package/dist/index99.js +50 -0
- package/package.json +82 -0
package/dist/index61.js
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { buildLocalizeFn as e } from "./index50.js";
|
|
2
|
+
var t = {
|
|
3
|
+
ordinalNumber: (e, t) => {
|
|
4
|
+
let n = Number(e), r = n % 100;
|
|
5
|
+
if (r > 20 || r < 10) switch (r % 10) {
|
|
6
|
+
case 1: return n + "st";
|
|
7
|
+
case 2: return n + "nd";
|
|
8
|
+
case 3: return n + "rd";
|
|
9
|
+
}
|
|
10
|
+
return n + "th";
|
|
11
|
+
},
|
|
12
|
+
era: e({
|
|
13
|
+
values: {
|
|
14
|
+
narrow: ["B", "A"],
|
|
15
|
+
abbreviated: ["BC", "AD"],
|
|
16
|
+
wide: ["Before Christ", "Anno Domini"]
|
|
17
|
+
},
|
|
18
|
+
defaultWidth: "wide"
|
|
19
|
+
}),
|
|
20
|
+
quarter: e({
|
|
21
|
+
values: {
|
|
22
|
+
narrow: [
|
|
23
|
+
"1",
|
|
24
|
+
"2",
|
|
25
|
+
"3",
|
|
26
|
+
"4"
|
|
27
|
+
],
|
|
28
|
+
abbreviated: [
|
|
29
|
+
"Q1",
|
|
30
|
+
"Q2",
|
|
31
|
+
"Q3",
|
|
32
|
+
"Q4"
|
|
33
|
+
],
|
|
34
|
+
wide: [
|
|
35
|
+
"1st quarter",
|
|
36
|
+
"2nd quarter",
|
|
37
|
+
"3rd quarter",
|
|
38
|
+
"4th quarter"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
defaultWidth: "wide",
|
|
42
|
+
argumentCallback: (e) => e - 1
|
|
43
|
+
}),
|
|
44
|
+
month: e({
|
|
45
|
+
values: {
|
|
46
|
+
narrow: [
|
|
47
|
+
"J",
|
|
48
|
+
"F",
|
|
49
|
+
"M",
|
|
50
|
+
"A",
|
|
51
|
+
"M",
|
|
52
|
+
"J",
|
|
53
|
+
"J",
|
|
54
|
+
"A",
|
|
55
|
+
"S",
|
|
56
|
+
"O",
|
|
57
|
+
"N",
|
|
58
|
+
"D"
|
|
59
|
+
],
|
|
60
|
+
abbreviated: [
|
|
61
|
+
"Jan",
|
|
62
|
+
"Feb",
|
|
63
|
+
"Mar",
|
|
64
|
+
"Apr",
|
|
65
|
+
"May",
|
|
66
|
+
"Jun",
|
|
67
|
+
"Jul",
|
|
68
|
+
"Aug",
|
|
69
|
+
"Sep",
|
|
70
|
+
"Oct",
|
|
71
|
+
"Nov",
|
|
72
|
+
"Dec"
|
|
73
|
+
],
|
|
74
|
+
wide: [
|
|
75
|
+
"January",
|
|
76
|
+
"February",
|
|
77
|
+
"March",
|
|
78
|
+
"April",
|
|
79
|
+
"May",
|
|
80
|
+
"June",
|
|
81
|
+
"July",
|
|
82
|
+
"August",
|
|
83
|
+
"September",
|
|
84
|
+
"October",
|
|
85
|
+
"November",
|
|
86
|
+
"December"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
defaultWidth: "wide"
|
|
90
|
+
}),
|
|
91
|
+
day: e({
|
|
92
|
+
values: {
|
|
93
|
+
narrow: [
|
|
94
|
+
"S",
|
|
95
|
+
"M",
|
|
96
|
+
"T",
|
|
97
|
+
"W",
|
|
98
|
+
"T",
|
|
99
|
+
"F",
|
|
100
|
+
"S"
|
|
101
|
+
],
|
|
102
|
+
short: [
|
|
103
|
+
"Su",
|
|
104
|
+
"Mo",
|
|
105
|
+
"Tu",
|
|
106
|
+
"We",
|
|
107
|
+
"Th",
|
|
108
|
+
"Fr",
|
|
109
|
+
"Sa"
|
|
110
|
+
],
|
|
111
|
+
abbreviated: [
|
|
112
|
+
"Sun",
|
|
113
|
+
"Mon",
|
|
114
|
+
"Tue",
|
|
115
|
+
"Wed",
|
|
116
|
+
"Thu",
|
|
117
|
+
"Fri",
|
|
118
|
+
"Sat"
|
|
119
|
+
],
|
|
120
|
+
wide: [
|
|
121
|
+
"Sunday",
|
|
122
|
+
"Monday",
|
|
123
|
+
"Tuesday",
|
|
124
|
+
"Wednesday",
|
|
125
|
+
"Thursday",
|
|
126
|
+
"Friday",
|
|
127
|
+
"Saturday"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
defaultWidth: "wide"
|
|
131
|
+
}),
|
|
132
|
+
dayPeriod: e({
|
|
133
|
+
values: {
|
|
134
|
+
narrow: {
|
|
135
|
+
am: "a",
|
|
136
|
+
pm: "p",
|
|
137
|
+
midnight: "mi",
|
|
138
|
+
noon: "n",
|
|
139
|
+
morning: "morning",
|
|
140
|
+
afternoon: "afternoon",
|
|
141
|
+
evening: "evening",
|
|
142
|
+
night: "night"
|
|
143
|
+
},
|
|
144
|
+
abbreviated: {
|
|
145
|
+
am: "AM",
|
|
146
|
+
pm: "PM",
|
|
147
|
+
midnight: "midnight",
|
|
148
|
+
noon: "noon",
|
|
149
|
+
morning: "morning",
|
|
150
|
+
afternoon: "afternoon",
|
|
151
|
+
evening: "evening",
|
|
152
|
+
night: "night"
|
|
153
|
+
},
|
|
154
|
+
wide: {
|
|
155
|
+
am: "a.m.",
|
|
156
|
+
pm: "p.m.",
|
|
157
|
+
midnight: "midnight",
|
|
158
|
+
noon: "noon",
|
|
159
|
+
morning: "morning",
|
|
160
|
+
afternoon: "afternoon",
|
|
161
|
+
evening: "evening",
|
|
162
|
+
night: "night"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
defaultWidth: "wide",
|
|
166
|
+
formattingValues: {
|
|
167
|
+
narrow: {
|
|
168
|
+
am: "a",
|
|
169
|
+
pm: "p",
|
|
170
|
+
midnight: "mi",
|
|
171
|
+
noon: "n",
|
|
172
|
+
morning: "in the morning",
|
|
173
|
+
afternoon: "in the afternoon",
|
|
174
|
+
evening: "in the evening",
|
|
175
|
+
night: "at night"
|
|
176
|
+
},
|
|
177
|
+
abbreviated: {
|
|
178
|
+
am: "AM",
|
|
179
|
+
pm: "PM",
|
|
180
|
+
midnight: "midnight",
|
|
181
|
+
noon: "noon",
|
|
182
|
+
morning: "in the morning",
|
|
183
|
+
afternoon: "in the afternoon",
|
|
184
|
+
evening: "in the evening",
|
|
185
|
+
night: "at night"
|
|
186
|
+
},
|
|
187
|
+
wide: {
|
|
188
|
+
am: "a.m.",
|
|
189
|
+
pm: "p.m.",
|
|
190
|
+
midnight: "midnight",
|
|
191
|
+
noon: "noon",
|
|
192
|
+
morning: "in the morning",
|
|
193
|
+
afternoon: "in the afternoon",
|
|
194
|
+
evening: "in the evening",
|
|
195
|
+
night: "at night"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
defaultFormattingWidth: "wide"
|
|
199
|
+
})
|
|
200
|
+
};
|
|
201
|
+
//#endregion
|
|
202
|
+
export { t as localize };
|
package/dist/index62.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index51.cjs");var t={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+`st`;case 2:return n+`nd`;case 3:return n+`rd`}return n+`th`},era:e.buildLocalizeFn({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:e.buildLocalizeFn({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`]},defaultWidth:`wide`,argumentCallback:e=>e-1}),month:e.buildLocalizeFn({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],wide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},defaultWidth:`wide`}),day:e.buildLocalizeFn({values:{narrow:[`S`,`M`,`T`,`W`,`T`,`F`,`S`],short:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],abbreviated:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],wide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},defaultWidth:`wide`}),dayPeriod:e.buildLocalizeFn({values:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`}},defaultFormattingWidth:`wide`})};exports.localize=t;
|
package/dist/index62.js
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { buildMatchFn as e } from "./index51.js";
|
|
2
|
+
import { buildMatchPatternFn as t } from "./index52.js";
|
|
3
|
+
var n = {
|
|
4
|
+
ordinalNumber: t({
|
|
5
|
+
matchPattern: /^(\d+)(th|st|nd|rd)?/i,
|
|
6
|
+
parsePattern: /\d+/i,
|
|
7
|
+
valueCallback: (e) => parseInt(e, 10)
|
|
8
|
+
}),
|
|
9
|
+
era: e({
|
|
10
|
+
matchPatterns: {
|
|
11
|
+
narrow: /^(b|a)/i,
|
|
12
|
+
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
13
|
+
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
14
|
+
},
|
|
15
|
+
defaultMatchWidth: "wide",
|
|
16
|
+
parsePatterns: { any: [/^b/i, /^(a|c)/i] },
|
|
17
|
+
defaultParseWidth: "any"
|
|
18
|
+
}),
|
|
19
|
+
quarter: e({
|
|
20
|
+
matchPatterns: {
|
|
21
|
+
narrow: /^[1234]/i,
|
|
22
|
+
abbreviated: /^q[1234]/i,
|
|
23
|
+
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
24
|
+
},
|
|
25
|
+
defaultMatchWidth: "wide",
|
|
26
|
+
parsePatterns: { any: [
|
|
27
|
+
/1/i,
|
|
28
|
+
/2/i,
|
|
29
|
+
/3/i,
|
|
30
|
+
/4/i
|
|
31
|
+
] },
|
|
32
|
+
defaultParseWidth: "any",
|
|
33
|
+
valueCallback: (e) => e + 1
|
|
34
|
+
}),
|
|
35
|
+
month: e({
|
|
36
|
+
matchPatterns: {
|
|
37
|
+
narrow: /^[jfmasond]/i,
|
|
38
|
+
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
39
|
+
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
40
|
+
},
|
|
41
|
+
defaultMatchWidth: "wide",
|
|
42
|
+
parsePatterns: {
|
|
43
|
+
narrow: [
|
|
44
|
+
/^j/i,
|
|
45
|
+
/^f/i,
|
|
46
|
+
/^m/i,
|
|
47
|
+
/^a/i,
|
|
48
|
+
/^m/i,
|
|
49
|
+
/^j/i,
|
|
50
|
+
/^j/i,
|
|
51
|
+
/^a/i,
|
|
52
|
+
/^s/i,
|
|
53
|
+
/^o/i,
|
|
54
|
+
/^n/i,
|
|
55
|
+
/^d/i
|
|
56
|
+
],
|
|
57
|
+
any: [
|
|
58
|
+
/^ja/i,
|
|
59
|
+
/^f/i,
|
|
60
|
+
/^mar/i,
|
|
61
|
+
/^ap/i,
|
|
62
|
+
/^may/i,
|
|
63
|
+
/^jun/i,
|
|
64
|
+
/^jul/i,
|
|
65
|
+
/^au/i,
|
|
66
|
+
/^s/i,
|
|
67
|
+
/^o/i,
|
|
68
|
+
/^n/i,
|
|
69
|
+
/^d/i
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
defaultParseWidth: "any"
|
|
73
|
+
}),
|
|
74
|
+
day: e({
|
|
75
|
+
matchPatterns: {
|
|
76
|
+
narrow: /^[smtwf]/i,
|
|
77
|
+
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
78
|
+
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
79
|
+
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
80
|
+
},
|
|
81
|
+
defaultMatchWidth: "wide",
|
|
82
|
+
parsePatterns: {
|
|
83
|
+
narrow: [
|
|
84
|
+
/^s/i,
|
|
85
|
+
/^m/i,
|
|
86
|
+
/^t/i,
|
|
87
|
+
/^w/i,
|
|
88
|
+
/^t/i,
|
|
89
|
+
/^f/i,
|
|
90
|
+
/^s/i
|
|
91
|
+
],
|
|
92
|
+
any: [
|
|
93
|
+
/^su/i,
|
|
94
|
+
/^m/i,
|
|
95
|
+
/^tu/i,
|
|
96
|
+
/^w/i,
|
|
97
|
+
/^th/i,
|
|
98
|
+
/^f/i,
|
|
99
|
+
/^sa/i
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
defaultParseWidth: "any"
|
|
103
|
+
}),
|
|
104
|
+
dayPeriod: e({
|
|
105
|
+
matchPatterns: {
|
|
106
|
+
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
107
|
+
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
108
|
+
},
|
|
109
|
+
defaultMatchWidth: "any",
|
|
110
|
+
parsePatterns: { any: {
|
|
111
|
+
am: /^a/i,
|
|
112
|
+
pm: /^p/i,
|
|
113
|
+
midnight: /^mi/i,
|
|
114
|
+
noon: /^no/i,
|
|
115
|
+
morning: /morning/i,
|
|
116
|
+
afternoon: /afternoon/i,
|
|
117
|
+
evening: /evening/i,
|
|
118
|
+
night: /night/i
|
|
119
|
+
} },
|
|
120
|
+
defaultParseWidth: "any"
|
|
121
|
+
})
|
|
122
|
+
};
|
|
123
|
+
//#endregion
|
|
124
|
+
export { n as match };
|
package/dist/index63.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index52.cjs");var t={ordinalNumber:require("./index53.cjs").buildMatchPatternFn({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:e.buildMatchFn({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:`any`}),quarter:e.buildMatchFn({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:e.buildMatchFn({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:e.buildMatchFn({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:e.buildMatchFn({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:`any`})};exports.match=t;
|
package/dist/index63.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { buildFormatLongFn as e } from "./index49.js";
|
|
2
|
+
var t = {
|
|
3
|
+
date: e({
|
|
4
|
+
formats: {
|
|
5
|
+
full: "EEEE, MMMM do, y",
|
|
6
|
+
long: "MMMM do, y",
|
|
7
|
+
medium: "MMM d, y",
|
|
8
|
+
short: "MM/dd/yyyy"
|
|
9
|
+
},
|
|
10
|
+
defaultWidth: "full"
|
|
11
|
+
}),
|
|
12
|
+
time: e({
|
|
13
|
+
formats: {
|
|
14
|
+
full: "h:mm:ss a zzzz",
|
|
15
|
+
long: "h:mm:ss a z",
|
|
16
|
+
medium: "h:mm:ss a",
|
|
17
|
+
short: "h:mm a"
|
|
18
|
+
},
|
|
19
|
+
defaultWidth: "full"
|
|
20
|
+
}),
|
|
21
|
+
dateTime: e({
|
|
22
|
+
formats: {
|
|
23
|
+
full: "{{date}} 'at' {{time}}",
|
|
24
|
+
long: "{{date}} 'at' {{time}}",
|
|
25
|
+
medium: "{{date}}, {{time}}",
|
|
26
|
+
short: "{{date}}, {{time}}"
|
|
27
|
+
},
|
|
28
|
+
defaultWidth: "full"
|
|
29
|
+
})
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { t as formatLong };
|
package/dist/index64.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index50.cjs");var t={date:e.buildFormatLongFn({formats:{full:`EEEE, MMMM do, y`,long:`MMMM do, y`,medium:`MMM d, y`,short:`MM/dd/yyyy`},defaultWidth:`full`}),time:e.buildFormatLongFn({formats:{full:`h:mm:ss a zzzz`,long:`h:mm:ss a z`,medium:`h:mm:ss a`,short:`h:mm a`},defaultWidth:`full`}),dateTime:e.buildFormatLongFn({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})};exports.formatLong=t;
|
package/dist/index64.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { formatDistance as e } from "./index59.js";
|
|
2
|
+
import { formatRelative as t } from "./index60.js";
|
|
3
|
+
import { localize as n } from "./index61.js";
|
|
4
|
+
import { match as r } from "./index62.js";
|
|
5
|
+
import { formatLong as i } from "./index63.js";
|
|
6
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js
|
|
7
|
+
var a = {
|
|
8
|
+
code: "en-US",
|
|
9
|
+
formatDistance: e,
|
|
10
|
+
formatLong: i,
|
|
11
|
+
formatRelative: t,
|
|
12
|
+
localize: n,
|
|
13
|
+
match: r,
|
|
14
|
+
options: {
|
|
15
|
+
weekStartsOn: 0,
|
|
16
|
+
firstWeekContainsDate: 1
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { a as default };
|
package/dist/index65.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index60.cjs"),t=require("./index61.cjs"),n=require("./index62.cjs"),r=require("./index63.cjs"),i=require("./index64.cjs");var a={code:`en-US`,formatDistance:e.formatDistance,formatLong:i.formatLong,formatRelative:t.formatRelative,localize:n.localize,match:r.match,options:{weekStartsOn:0,firstWeekContainsDate:1}};exports.default=a;
|
package/dist/index65.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/vi/_lib/formatDistance.js
|
|
2
|
+
var e = {
|
|
3
|
+
lessThanXSeconds: {
|
|
4
|
+
one: "dưới 1 giây",
|
|
5
|
+
other: "dưới {{count}} giây"
|
|
6
|
+
},
|
|
7
|
+
xSeconds: {
|
|
8
|
+
one: "1 giây",
|
|
9
|
+
other: "{{count}} giây"
|
|
10
|
+
},
|
|
11
|
+
halfAMinute: "nửa phút",
|
|
12
|
+
lessThanXMinutes: {
|
|
13
|
+
one: "dưới 1 phút",
|
|
14
|
+
other: "dưới {{count}} phút"
|
|
15
|
+
},
|
|
16
|
+
xMinutes: {
|
|
17
|
+
one: "1 phút",
|
|
18
|
+
other: "{{count}} phút"
|
|
19
|
+
},
|
|
20
|
+
aboutXHours: {
|
|
21
|
+
one: "khoảng 1 giờ",
|
|
22
|
+
other: "khoảng {{count}} giờ"
|
|
23
|
+
},
|
|
24
|
+
xHours: {
|
|
25
|
+
one: "1 giờ",
|
|
26
|
+
other: "{{count}} giờ"
|
|
27
|
+
},
|
|
28
|
+
xDays: {
|
|
29
|
+
one: "1 ngày",
|
|
30
|
+
other: "{{count}} ngày"
|
|
31
|
+
},
|
|
32
|
+
aboutXWeeks: {
|
|
33
|
+
one: "khoảng 1 tuần",
|
|
34
|
+
other: "khoảng {{count}} tuần"
|
|
35
|
+
},
|
|
36
|
+
xWeeks: {
|
|
37
|
+
one: "1 tuần",
|
|
38
|
+
other: "{{count}} tuần"
|
|
39
|
+
},
|
|
40
|
+
aboutXMonths: {
|
|
41
|
+
one: "khoảng 1 tháng",
|
|
42
|
+
other: "khoảng {{count}} tháng"
|
|
43
|
+
},
|
|
44
|
+
xMonths: {
|
|
45
|
+
one: "1 tháng",
|
|
46
|
+
other: "{{count}} tháng"
|
|
47
|
+
},
|
|
48
|
+
aboutXYears: {
|
|
49
|
+
one: "khoảng 1 năm",
|
|
50
|
+
other: "khoảng {{count}} năm"
|
|
51
|
+
},
|
|
52
|
+
xYears: {
|
|
53
|
+
one: "1 năm",
|
|
54
|
+
other: "{{count}} năm"
|
|
55
|
+
},
|
|
56
|
+
overXYears: {
|
|
57
|
+
one: "hơn 1 năm",
|
|
58
|
+
other: "hơn {{count}} năm"
|
|
59
|
+
},
|
|
60
|
+
almostXYears: {
|
|
61
|
+
one: "gần 1 năm",
|
|
62
|
+
other: "gần {{count}} năm"
|
|
63
|
+
}
|
|
64
|
+
}, t = (t, n, r) => {
|
|
65
|
+
let i, a = e[t];
|
|
66
|
+
return i = typeof a == "string" ? a : n === 1 ? a.one : a.other.replace("{{count}}", String(n)), r?.addSuffix ? r.comparison && r.comparison > 0 ? i + " nữa" : i + " trước" : i;
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { t as formatDistance };
|
package/dist/index66.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={lessThanXSeconds:{one:`dưới 1 giây`,other:`dưới {{count}} giây`},xSeconds:{one:`1 giây`,other:`{{count}} giây`},halfAMinute:`nửa phút`,lessThanXMinutes:{one:`dưới 1 phút`,other:`dưới {{count}} phút`},xMinutes:{one:`1 phút`,other:`{{count}} phút`},aboutXHours:{one:`khoảng 1 giờ`,other:`khoảng {{count}} giờ`},xHours:{one:`1 giờ`,other:`{{count}} giờ`},xDays:{one:`1 ngày`,other:`{{count}} ngày`},aboutXWeeks:{one:`khoảng 1 tuần`,other:`khoảng {{count}} tuần`},xWeeks:{one:`1 tuần`,other:`{{count}} tuần`},aboutXMonths:{one:`khoảng 1 tháng`,other:`khoảng {{count}} tháng`},xMonths:{one:`1 tháng`,other:`{{count}} tháng`},aboutXYears:{one:`khoảng 1 năm`,other:`khoảng {{count}} năm`},xYears:{one:`1 năm`,other:`{{count}} năm`},overXYears:{one:`hơn 1 năm`,other:`hơn {{count}} năm`},almostXYears:{one:`gần 1 năm`,other:`gần {{count}} năm`}},t=(t,n,r)=>{let i,a=e[t];return i=typeof a==`string`?a:n===1?a.one:a.other.replace(`{{count}}`,String(n)),r?.addSuffix?r.comparison&&r.comparison>0?i+` nữa`:i+` trước`:i};exports.formatDistance=t;
|
package/dist/index66.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { buildFormatLongFn as e } from "./index49.js";
|
|
2
|
+
var t = {
|
|
3
|
+
date: e({
|
|
4
|
+
formats: {
|
|
5
|
+
full: "EEEE, 'ngày' d MMMM 'năm' y",
|
|
6
|
+
long: "'ngày' d MMMM 'năm' y",
|
|
7
|
+
medium: "d MMM 'năm' y",
|
|
8
|
+
short: "dd/MM/y"
|
|
9
|
+
},
|
|
10
|
+
defaultWidth: "full"
|
|
11
|
+
}),
|
|
12
|
+
time: e({
|
|
13
|
+
formats: {
|
|
14
|
+
full: "HH:mm:ss zzzz",
|
|
15
|
+
long: "HH:mm:ss z",
|
|
16
|
+
medium: "HH:mm:ss",
|
|
17
|
+
short: "HH:mm"
|
|
18
|
+
},
|
|
19
|
+
defaultWidth: "full"
|
|
20
|
+
}),
|
|
21
|
+
dateTime: e({
|
|
22
|
+
formats: {
|
|
23
|
+
full: "{{date}} {{time}}",
|
|
24
|
+
long: "{{date}} {{time}}",
|
|
25
|
+
medium: "{{date}} {{time}}",
|
|
26
|
+
short: "{{date}} {{time}}"
|
|
27
|
+
},
|
|
28
|
+
defaultWidth: "full"
|
|
29
|
+
})
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { t as formatLong };
|
package/dist/index67.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index50.cjs");var t={date:e.buildFormatLongFn({formats:{full:`EEEE, 'ngày' d MMMM 'năm' y`,long:`'ngày' d MMMM 'năm' y`,medium:`d MMM 'năm' y`,short:`dd/MM/y`},defaultWidth:`full`}),time:e.buildFormatLongFn({formats:{full:`HH:mm:ss zzzz`,long:`HH:mm:ss z`,medium:`HH:mm:ss`,short:`HH:mm`},defaultWidth:`full`}),dateTime:e.buildFormatLongFn({formats:{full:`{{date}} {{time}}`,long:`{{date}} {{time}}`,medium:`{{date}} {{time}}`,short:`{{date}} {{time}}`},defaultWidth:`full`})};exports.formatLong=t;
|
package/dist/index67.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/vi/_lib/formatRelative.js
|
|
2
|
+
var e = {
|
|
3
|
+
lastWeek: "eeee 'tuần trước vào lúc' p",
|
|
4
|
+
yesterday: "'hôm qua vào lúc' p",
|
|
5
|
+
today: "'hôm nay vào lúc' p",
|
|
6
|
+
tomorrow: "'ngày mai vào lúc' p",
|
|
7
|
+
nextWeek: "eeee 'tới vào lúc' p",
|
|
8
|
+
other: "P"
|
|
9
|
+
}, t = (t, n, r, i) => e[t];
|
|
10
|
+
//#endregion
|
|
11
|
+
export { t as formatRelative };
|
package/dist/index68.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={lastWeek:`eeee 'tuần trước vào lúc' p`,yesterday:`'hôm qua vào lúc' p`,today:`'hôm nay vào lúc' p`,tomorrow:`'ngày mai vào lúc' p`,nextWeek:`eeee 'tới vào lúc' p`,other:`P`},t=(t,n,r,i)=>e[t];exports.formatRelative=t;
|