@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.
Files changed (219) hide show
  1. package/README.md +193 -0
  2. package/dist/index.cjs +1 -0
  3. package/dist/index.js +42 -0
  4. package/dist/index10.cjs +1 -0
  5. package/dist/index10.js +85 -0
  6. package/dist/index100.cjs +1 -0
  7. package/dist/index100.js +65 -0
  8. package/dist/index101.cjs +1 -0
  9. package/dist/index101.js +48 -0
  10. package/dist/index102.cjs +1 -0
  11. package/dist/index102.js +67 -0
  12. package/dist/index103.cjs +1 -0
  13. package/dist/index103.js +151 -0
  14. package/dist/index104.cjs +1 -0
  15. package/dist/index104.js +23 -0
  16. package/dist/index105.cjs +1 -0
  17. package/dist/index105.js +27 -0
  18. package/dist/index106.cjs +1 -0
  19. package/dist/index106.js +53 -0
  20. package/dist/index107.cjs +1 -0
  21. package/dist/index107.js +161 -0
  22. package/dist/index108.cjs +1 -0
  23. package/dist/index108.js +16 -0
  24. package/dist/index109.cjs +1 -0
  25. package/dist/index11.cjs +1 -0
  26. package/dist/index11.js +86 -0
  27. package/dist/index12.cjs +1 -0
  28. package/dist/index12.js +122 -0
  29. package/dist/index13.cjs +1 -0
  30. package/dist/index13.js +14 -0
  31. package/dist/index14.cjs +1 -0
  32. package/dist/index14.js +16 -0
  33. package/dist/index15.cjs +1 -0
  34. package/dist/index15.js +115 -0
  35. package/dist/index16.cjs +1 -0
  36. package/dist/index16.js +727 -0
  37. package/dist/index17.cjs +1 -0
  38. package/dist/index17.js +348 -0
  39. package/dist/index18.cjs +1 -0
  40. package/dist/index18.js +76 -0
  41. package/dist/index19.cjs +1 -0
  42. package/dist/index19.js +14 -0
  43. package/dist/index2.cjs +1 -0
  44. package/dist/index2.js +122 -0
  45. package/dist/index20.cjs +1 -0
  46. package/dist/index20.js +116 -0
  47. package/dist/index21.cjs +1 -0
  48. package/dist/index21.js +35 -0
  49. package/dist/index22.cjs +1 -0
  50. package/dist/index22.js +18 -0
  51. package/dist/index23.cjs +1 -0
  52. package/dist/index23.js +27 -0
  53. package/dist/index24.cjs +1 -0
  54. package/dist/index24.js +35 -0
  55. package/dist/index25.cjs +1 -0
  56. package/dist/index25.js +97 -0
  57. package/dist/index26.cjs +1 -0
  58. package/dist/index26.js +28 -0
  59. package/dist/index27.cjs +1 -0
  60. package/dist/index27.js +14 -0
  61. package/dist/index28.cjs +1 -0
  62. package/dist/index28.js +67 -0
  63. package/dist/index29.cjs +1 -0
  64. package/dist/index29.js +13 -0
  65. package/dist/index3.cjs +1 -0
  66. package/dist/index3.js +8 -0
  67. package/dist/index30.cjs +1 -0
  68. package/dist/index30.js +35 -0
  69. package/dist/index31.cjs +1 -0
  70. package/dist/index31.js +43 -0
  71. package/dist/index32.cjs +1 -0
  72. package/dist/index32.js +14 -0
  73. package/dist/index33.cjs +1 -0
  74. package/dist/index33.js +64 -0
  75. package/dist/index34.cjs +1 -0
  76. package/dist/index34.js +23 -0
  77. package/dist/index35.cjs +1 -0
  78. package/dist/index35.js +34 -0
  79. package/dist/index36.cjs +1 -0
  80. package/dist/index36.js +27 -0
  81. package/dist/index37.cjs +1 -0
  82. package/dist/index37.js +26 -0
  83. package/dist/index38.cjs +1 -0
  84. package/dist/index38.js +157 -0
  85. package/dist/index39.cjs +1 -0
  86. package/dist/index39.js +34 -0
  87. package/dist/index4.cjs +1 -0
  88. package/dist/index4.js +43 -0
  89. package/dist/index40.cjs +1 -0
  90. package/dist/index40.js +46 -0
  91. package/dist/index41.cjs +1 -0
  92. package/dist/index41.js +118 -0
  93. package/dist/index42.cjs +1 -0
  94. package/dist/index42.js +125 -0
  95. package/dist/index43.cjs +1 -0
  96. package/dist/index43.js +26 -0
  97. package/dist/index44.cjs +1 -0
  98. package/dist/index44.js +88 -0
  99. package/dist/index45.cjs +1 -0
  100. package/dist/index45.js +221 -0
  101. package/dist/index46.cjs +1 -0
  102. package/dist/index46.js +166 -0
  103. package/dist/index47.cjs +1 -0
  104. package/dist/index47.js +126 -0
  105. package/dist/index48.cjs +1 -0
  106. package/dist/index48.js +15 -0
  107. package/dist/index49.cjs +1 -0
  108. package/dist/index49.js +9 -0
  109. package/dist/index5.cjs +1 -0
  110. package/dist/index5.js +24 -0
  111. package/dist/index50.cjs +1 -0
  112. package/dist/index50.js +17 -0
  113. package/dist/index51.cjs +1 -0
  114. package/dist/index51.js +22 -0
  115. package/dist/index52.cjs +1 -0
  116. package/dist/index52.js +18 -0
  117. package/dist/index53.cjs +1 -0
  118. package/dist/index53.js +6 -0
  119. package/dist/index54.cjs +1 -0
  120. package/dist/index54.js +7 -0
  121. package/dist/index55.cjs +1 -0
  122. package/dist/index55.js +8 -0
  123. package/dist/index56.cjs +1 -0
  124. package/dist/index56.js +7 -0
  125. package/dist/index57.cjs +1 -0
  126. package/dist/index57.js +7 -0
  127. package/dist/index58.cjs +1 -0
  128. package/dist/index58.js +9 -0
  129. package/dist/index59.cjs +1 -0
  130. package/dist/index59.js +69 -0
  131. package/dist/index6.cjs +1 -0
  132. package/dist/index6.js +51 -0
  133. package/dist/index60.cjs +1 -0
  134. package/dist/index60.js +11 -0
  135. package/dist/index61.cjs +1 -0
  136. package/dist/index61.js +202 -0
  137. package/dist/index62.cjs +1 -0
  138. package/dist/index62.js +124 -0
  139. package/dist/index63.cjs +1 -0
  140. package/dist/index63.js +32 -0
  141. package/dist/index64.cjs +1 -0
  142. package/dist/index64.js +20 -0
  143. package/dist/index65.cjs +1 -0
  144. package/dist/index65.js +69 -0
  145. package/dist/index66.cjs +1 -0
  146. package/dist/index66.js +32 -0
  147. package/dist/index67.cjs +1 -0
  148. package/dist/index67.js +11 -0
  149. package/dist/index68.cjs +1 -0
  150. package/dist/index68.js +280 -0
  151. package/dist/index69.cjs +1 -0
  152. package/dist/index69.js +157 -0
  153. package/dist/index7.cjs +1 -0
  154. package/dist/index7.js +88 -0
  155. package/dist/index70.cjs +1 -0
  156. package/dist/index70.js +20 -0
  157. package/dist/index71.cjs +1 -0
  158. package/dist/index71.js +10 -0
  159. package/dist/index72.cjs +1 -0
  160. package/dist/index72.js +14 -0
  161. package/dist/index73.cjs +1 -0
  162. package/dist/index73.js +8 -0
  163. package/dist/index74.cjs +1 -0
  164. package/dist/index74.js +8 -0
  165. package/dist/index75.cjs +1 -0
  166. package/dist/index75.js +11 -0
  167. package/dist/index76.cjs +1 -0
  168. package/dist/index76.js +10 -0
  169. package/dist/index77.cjs +1 -0
  170. package/dist/index77.js +6 -0
  171. package/dist/index78.cjs +1 -0
  172. package/dist/index78.js +8 -0
  173. package/dist/index79.cjs +1 -0
  174. package/dist/index79.js +8 -0
  175. package/dist/index8.cjs +1 -0
  176. package/dist/index8.js +68 -0
  177. package/dist/index80.cjs +1 -0
  178. package/dist/index80.js +10 -0
  179. package/dist/index81.cjs +1 -0
  180. package/dist/index81.js +11 -0
  181. package/dist/index82.cjs +1 -0
  182. package/dist/index82.js +15 -0
  183. package/dist/index83.cjs +1 -0
  184. package/dist/index83.js +11 -0
  185. package/dist/index84.cjs +1 -0
  186. package/dist/index84.js +11 -0
  187. package/dist/index85.cjs +1 -0
  188. package/dist/index85.js +6 -0
  189. package/dist/index86.cjs +1 -0
  190. package/dist/index86.js +43 -0
  191. package/dist/index87.cjs +1 -0
  192. package/dist/index87.js +382 -0
  193. package/dist/index88.cjs +1 -0
  194. package/dist/index88.js +40 -0
  195. package/dist/index89.cjs +1 -0
  196. package/dist/index89.js +23 -0
  197. package/dist/index9.cjs +1 -0
  198. package/dist/index9.js +20 -0
  199. package/dist/index90.cjs +1 -0
  200. package/dist/index90.js +59 -0
  201. package/dist/index91.cjs +1 -0
  202. package/dist/index91.js +55 -0
  203. package/dist/index92.cjs +1 -0
  204. package/dist/index92.js +54 -0
  205. package/dist/index93.cjs +1 -0
  206. package/dist/index93.js +57 -0
  207. package/dist/index94.cjs +1 -0
  208. package/dist/index94.js +57 -0
  209. package/dist/index95.cjs +1 -0
  210. package/dist/index95.js +88 -0
  211. package/dist/index96.cjs +1 -0
  212. package/dist/index96.js +66 -0
  213. package/dist/index97.cjs +1 -0
  214. package/dist/index97.js +594 -0
  215. package/dist/index98.cjs +9 -0
  216. package/dist/index98.js +30 -0
  217. package/dist/index99.cjs +1 -0
  218. package/dist/index99.js +50 -0
  219. package/package.json +82 -0
@@ -0,0 +1,280 @@
1
+ import { buildLocalizeFn as e } from "./index50.js";
2
+ var t = {
3
+ ordinalNumber: (e, t) => {
4
+ let n = Number(e), r = t?.unit;
5
+ if (r === "quarter") switch (n) {
6
+ case 1: return "I";
7
+ case 2: return "II";
8
+ case 3: return "III";
9
+ case 4: return "IV";
10
+ }
11
+ else if (r === "day") switch (n) {
12
+ case 1: return "thứ 2";
13
+ case 2: return "thứ 3";
14
+ case 3: return "thứ 4";
15
+ case 4: return "thứ 5";
16
+ case 5: return "thứ 6";
17
+ case 6: return "thứ 7";
18
+ case 7: return "chủ nhật";
19
+ }
20
+ else if (r === "week") return n === 1 ? "thứ nhất" : "thứ " + n;
21
+ else if (r === "dayOfYear") return n === 1 ? "đầu tiên" : "thứ " + n;
22
+ return String(n);
23
+ },
24
+ era: e({
25
+ values: {
26
+ narrow: ["TCN", "SCN"],
27
+ abbreviated: ["trước CN", "sau CN"],
28
+ wide: ["trước Công Nguyên", "sau Công Nguyên"]
29
+ },
30
+ defaultWidth: "wide"
31
+ }),
32
+ quarter: e({
33
+ values: {
34
+ narrow: [
35
+ "1",
36
+ "2",
37
+ "3",
38
+ "4"
39
+ ],
40
+ abbreviated: [
41
+ "Q1",
42
+ "Q2",
43
+ "Q3",
44
+ "Q4"
45
+ ],
46
+ wide: [
47
+ "Quý 1",
48
+ "Quý 2",
49
+ "Quý 3",
50
+ "Quý 4"
51
+ ]
52
+ },
53
+ defaultWidth: "wide",
54
+ formattingValues: {
55
+ narrow: [
56
+ "1",
57
+ "2",
58
+ "3",
59
+ "4"
60
+ ],
61
+ abbreviated: [
62
+ "Q1",
63
+ "Q2",
64
+ "Q3",
65
+ "Q4"
66
+ ],
67
+ wide: [
68
+ "quý I",
69
+ "quý II",
70
+ "quý III",
71
+ "quý IV"
72
+ ]
73
+ },
74
+ defaultFormattingWidth: "wide",
75
+ argumentCallback: (e) => e - 1
76
+ }),
77
+ month: e({
78
+ values: {
79
+ narrow: [
80
+ "1",
81
+ "2",
82
+ "3",
83
+ "4",
84
+ "5",
85
+ "6",
86
+ "7",
87
+ "8",
88
+ "9",
89
+ "10",
90
+ "11",
91
+ "12"
92
+ ],
93
+ abbreviated: [
94
+ "Thg 1",
95
+ "Thg 2",
96
+ "Thg 3",
97
+ "Thg 4",
98
+ "Thg 5",
99
+ "Thg 6",
100
+ "Thg 7",
101
+ "Thg 8",
102
+ "Thg 9",
103
+ "Thg 10",
104
+ "Thg 11",
105
+ "Thg 12"
106
+ ],
107
+ wide: [
108
+ "Tháng Một",
109
+ "Tháng Hai",
110
+ "Tháng Ba",
111
+ "Tháng Tư",
112
+ "Tháng Năm",
113
+ "Tháng Sáu",
114
+ "Tháng Bảy",
115
+ "Tháng Tám",
116
+ "Tháng Chín",
117
+ "Tháng Mười",
118
+ "Tháng Mười Một",
119
+ "Tháng Mười Hai"
120
+ ]
121
+ },
122
+ defaultWidth: "wide",
123
+ formattingValues: {
124
+ narrow: [
125
+ "01",
126
+ "02",
127
+ "03",
128
+ "04",
129
+ "05",
130
+ "06",
131
+ "07",
132
+ "08",
133
+ "09",
134
+ "10",
135
+ "11",
136
+ "12"
137
+ ],
138
+ abbreviated: [
139
+ "thg 1",
140
+ "thg 2",
141
+ "thg 3",
142
+ "thg 4",
143
+ "thg 5",
144
+ "thg 6",
145
+ "thg 7",
146
+ "thg 8",
147
+ "thg 9",
148
+ "thg 10",
149
+ "thg 11",
150
+ "thg 12"
151
+ ],
152
+ wide: [
153
+ "tháng 01",
154
+ "tháng 02",
155
+ "tháng 03",
156
+ "tháng 04",
157
+ "tháng 05",
158
+ "tháng 06",
159
+ "tháng 07",
160
+ "tháng 08",
161
+ "tháng 09",
162
+ "tháng 10",
163
+ "tháng 11",
164
+ "tháng 12"
165
+ ]
166
+ },
167
+ defaultFormattingWidth: "wide"
168
+ }),
169
+ day: e({
170
+ values: {
171
+ narrow: [
172
+ "CN",
173
+ "T2",
174
+ "T3",
175
+ "T4",
176
+ "T5",
177
+ "T6",
178
+ "T7"
179
+ ],
180
+ short: [
181
+ "CN",
182
+ "Th 2",
183
+ "Th 3",
184
+ "Th 4",
185
+ "Th 5",
186
+ "Th 6",
187
+ "Th 7"
188
+ ],
189
+ abbreviated: [
190
+ "CN",
191
+ "Thứ 2",
192
+ "Thứ 3",
193
+ "Thứ 4",
194
+ "Thứ 5",
195
+ "Thứ 6",
196
+ "Thứ 7"
197
+ ],
198
+ wide: [
199
+ "Chủ Nhật",
200
+ "Thứ Hai",
201
+ "Thứ Ba",
202
+ "Thứ Tư",
203
+ "Thứ Năm",
204
+ "Thứ Sáu",
205
+ "Thứ Bảy"
206
+ ]
207
+ },
208
+ defaultWidth: "wide"
209
+ }),
210
+ dayPeriod: e({
211
+ values: {
212
+ narrow: {
213
+ am: "am",
214
+ pm: "pm",
215
+ midnight: "nửa đêm",
216
+ noon: "tr",
217
+ morning: "sg",
218
+ afternoon: "ch",
219
+ evening: "tối",
220
+ night: "đêm"
221
+ },
222
+ abbreviated: {
223
+ am: "AM",
224
+ pm: "PM",
225
+ midnight: "nửa đêm",
226
+ noon: "trưa",
227
+ morning: "sáng",
228
+ afternoon: "chiều",
229
+ evening: "tối",
230
+ night: "đêm"
231
+ },
232
+ wide: {
233
+ am: "SA",
234
+ pm: "CH",
235
+ midnight: "nửa đêm",
236
+ noon: "trưa",
237
+ morning: "sáng",
238
+ afternoon: "chiều",
239
+ evening: "tối",
240
+ night: "đêm"
241
+ }
242
+ },
243
+ defaultWidth: "wide",
244
+ formattingValues: {
245
+ narrow: {
246
+ am: "am",
247
+ pm: "pm",
248
+ midnight: "nửa đêm",
249
+ noon: "tr",
250
+ morning: "sg",
251
+ afternoon: "ch",
252
+ evening: "tối",
253
+ night: "đêm"
254
+ },
255
+ abbreviated: {
256
+ am: "AM",
257
+ pm: "PM",
258
+ midnight: "nửa đêm",
259
+ noon: "trưa",
260
+ morning: "sáng",
261
+ afternoon: "chiều",
262
+ evening: "tối",
263
+ night: "đêm"
264
+ },
265
+ wide: {
266
+ am: "SA",
267
+ pm: "CH",
268
+ midnight: "nửa đêm",
269
+ noon: "giữa trưa",
270
+ morning: "vào buổi sáng",
271
+ afternoon: "vào buổi chiều",
272
+ evening: "vào buổi tối",
273
+ night: "vào ban đêm"
274
+ }
275
+ },
276
+ defaultFormattingWidth: "wide"
277
+ })
278
+ };
279
+ //#endregion
280
+ export { t as localize };
@@ -0,0 +1 @@
1
+ const e=require("./index51.cjs");var t={ordinalNumber:(e,t)=>{let n=Number(e),r=t?.unit;if(r===`quarter`)switch(n){case 1:return`I`;case 2:return`II`;case 3:return`III`;case 4:return`IV`}else if(r===`day`)switch(n){case 1:return`thứ 2`;case 2:return`thứ 3`;case 3:return`thứ 4`;case 4:return`thứ 5`;case 5:return`thứ 6`;case 6:return`thứ 7`;case 7:return`chủ nhật`}else if(r===`week`)return n===1?`thứ nhất`:`thứ `+n;else if(r===`dayOfYear`)return n===1?`đầu tiên`:`thứ `+n;return String(n)},era:e.buildLocalizeFn({values:{narrow:[`TCN`,`SCN`],abbreviated:[`trước CN`,`sau CN`],wide:[`trước Công Nguyên`,`sau Công Nguyên`]},defaultWidth:`wide`}),quarter:e.buildLocalizeFn({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`Quý 1`,`Quý 2`,`Quý 3`,`Quý 4`]},defaultWidth:`wide`,formattingValues:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`quý I`,`quý II`,`quý III`,`quý IV`]},defaultFormattingWidth:`wide`,argumentCallback:e=>e-1}),month:e.buildLocalizeFn({values:{narrow:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`],abbreviated:[`Thg 1`,`Thg 2`,`Thg 3`,`Thg 4`,`Thg 5`,`Thg 6`,`Thg 7`,`Thg 8`,`Thg 9`,`Thg 10`,`Thg 11`,`Thg 12`],wide:[`Tháng Một`,`Tháng Hai`,`Tháng Ba`,`Tháng Tư`,`Tháng Năm`,`Tháng Sáu`,`Tháng Bảy`,`Tháng Tám`,`Tháng Chín`,`Tháng Mười`,`Tháng Mười Một`,`Tháng Mười Hai`]},defaultWidth:`wide`,formattingValues:{narrow:[`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`,`10`,`11`,`12`],abbreviated:[`thg 1`,`thg 2`,`thg 3`,`thg 4`,`thg 5`,`thg 6`,`thg 7`,`thg 8`,`thg 9`,`thg 10`,`thg 11`,`thg 12`],wide:[`tháng 01`,`tháng 02`,`tháng 03`,`tháng 04`,`tháng 05`,`tháng 06`,`tháng 07`,`tháng 08`,`tháng 09`,`tháng 10`,`tháng 11`,`tháng 12`]},defaultFormattingWidth:`wide`}),day:e.buildLocalizeFn({values:{narrow:[`CN`,`T2`,`T3`,`T4`,`T5`,`T6`,`T7`],short:[`CN`,`Th 2`,`Th 3`,`Th 4`,`Th 5`,`Th 6`,`Th 7`],abbreviated:[`CN`,`Thứ 2`,`Thứ 3`,`Thứ 4`,`Thứ 5`,`Thứ 6`,`Thứ 7`],wide:[`Chủ Nhật`,`Thứ Hai`,`Thứ Ba`,`Thứ Tư`,`Thứ Năm`,`Thứ Sáu`,`Thứ Bảy`]},defaultWidth:`wide`}),dayPeriod:e.buildLocalizeFn({values:{narrow:{am:`am`,pm:`pm`,midnight:`nửa đêm`,noon:`tr`,morning:`sg`,afternoon:`ch`,evening:`tối`,night:`đêm`},abbreviated:{am:`AM`,pm:`PM`,midnight:`nửa đêm`,noon:`trưa`,morning:`sáng`,afternoon:`chiều`,evening:`tối`,night:`đêm`},wide:{am:`SA`,pm:`CH`,midnight:`nửa đêm`,noon:`trưa`,morning:`sáng`,afternoon:`chiều`,evening:`tối`,night:`đêm`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`am`,pm:`pm`,midnight:`nửa đêm`,noon:`tr`,morning:`sg`,afternoon:`ch`,evening:`tối`,night:`đêm`},abbreviated:{am:`AM`,pm:`PM`,midnight:`nửa đêm`,noon:`trưa`,morning:`sáng`,afternoon:`chiều`,evening:`tối`,night:`đêm`},wide:{am:`SA`,pm:`CH`,midnight:`nửa đêm`,noon:`giữa trưa`,morning:`vào buổi sáng`,afternoon:`vào buổi chiều`,evening:`vào buổi tối`,night:`vào ban đêm`}},defaultFormattingWidth:`wide`})};exports.localize=t;
@@ -0,0 +1,157 @@
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+)/i,
6
+ parsePattern: /\d+/i,
7
+ valueCallback: (e) => parseInt(e, 10)
8
+ }),
9
+ era: e({
10
+ matchPatterns: {
11
+ narrow: /^(tcn|scn)/i,
12
+ abbreviated: /^(trước CN|sau CN)/i,
13
+ wide: /^(trước Công Nguyên|sau Công Nguyên)/i
14
+ },
15
+ defaultMatchWidth: "wide",
16
+ parsePatterns: { any: [/^t/i, /^s/i] },
17
+ defaultParseWidth: "any"
18
+ }),
19
+ quarter: e({
20
+ matchPatterns: {
21
+ narrow: /^([1234]|i{1,3}v?)/i,
22
+ abbreviated: /^q([1234]|i{1,3}v?)/i,
23
+ wide: /^quý ([1234]|i{1,3}v?)/i
24
+ },
25
+ defaultMatchWidth: "wide",
26
+ parsePatterns: { any: [
27
+ /(1|i)$/i,
28
+ /(2|ii)$/i,
29
+ /(3|iii)$/i,
30
+ /(4|iv)$/i
31
+ ] },
32
+ defaultParseWidth: "any",
33
+ valueCallback: (e) => e + 1
34
+ }),
35
+ month: e({
36
+ matchPatterns: {
37
+ narrow: /^(0?[2-9]|10|11|12|0?1)/i,
38
+ abbreviated: /^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,
39
+ wide: /^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i
40
+ },
41
+ defaultMatchWidth: "wide",
42
+ parsePatterns: {
43
+ narrow: [
44
+ /0?1$/i,
45
+ /0?2/i,
46
+ /3/,
47
+ /4/,
48
+ /5/,
49
+ /6/,
50
+ /7/,
51
+ /8/,
52
+ /9/,
53
+ /10/,
54
+ /11/,
55
+ /12/
56
+ ],
57
+ abbreviated: [
58
+ /^thg[ _]?0?1(?!\d)/i,
59
+ /^thg[ _]?0?2/i,
60
+ /^thg[ _]?0?3/i,
61
+ /^thg[ _]?0?4/i,
62
+ /^thg[ _]?0?5/i,
63
+ /^thg[ _]?0?6/i,
64
+ /^thg[ _]?0?7/i,
65
+ /^thg[ _]?0?8/i,
66
+ /^thg[ _]?0?9/i,
67
+ /^thg[ _]?10/i,
68
+ /^thg[ _]?11/i,
69
+ /^thg[ _]?12/i
70
+ ],
71
+ wide: [
72
+ /^tháng ?(Một|0?1(?!\d))/i,
73
+ /^tháng ?(Hai|0?2)/i,
74
+ /^tháng ?(Ba|0?3)/i,
75
+ /^tháng ?(Tư|0?4)/i,
76
+ /^tháng ?(Năm|0?5)/i,
77
+ /^tháng ?(Sáu|0?6)/i,
78
+ /^tháng ?(Bảy|0?7)/i,
79
+ /^tháng ?(Tám|0?8)/i,
80
+ /^tháng ?(Chín|0?9)/i,
81
+ /^tháng ?(Mười|10)/i,
82
+ /^tháng ?(Mười ?Một|11)/i,
83
+ /^tháng ?(Mười ?Hai|12)/i
84
+ ]
85
+ },
86
+ defaultParseWidth: "wide"
87
+ }),
88
+ day: e({
89
+ matchPatterns: {
90
+ narrow: /^(CN|T2|T3|T4|T5|T6|T7)/i,
91
+ short: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,
92
+ abbreviated: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,
93
+ wide: /^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i
94
+ },
95
+ defaultMatchWidth: "wide",
96
+ parsePatterns: {
97
+ narrow: [
98
+ /CN/i,
99
+ /2/i,
100
+ /3/i,
101
+ /4/i,
102
+ /5/i,
103
+ /6/i,
104
+ /7/i
105
+ ],
106
+ short: [
107
+ /CN/i,
108
+ /2/i,
109
+ /3/i,
110
+ /4/i,
111
+ /5/i,
112
+ /6/i,
113
+ /7/i
114
+ ],
115
+ abbreviated: [
116
+ /CN/i,
117
+ /2/i,
118
+ /3/i,
119
+ /4/i,
120
+ /5/i,
121
+ /6/i,
122
+ /7/i
123
+ ],
124
+ wide: [
125
+ /(Chủ|Chúa) ?Nhật/i,
126
+ /Hai/i,
127
+ /Ba/i,
128
+ /Tư/i,
129
+ /Năm/i,
130
+ /Sáu/i,
131
+ /Bảy/i
132
+ ]
133
+ },
134
+ defaultParseWidth: "wide"
135
+ }),
136
+ dayPeriod: e({
137
+ matchPatterns: {
138
+ narrow: /^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,
139
+ abbreviated: /^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,
140
+ wide: /^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i
141
+ },
142
+ defaultMatchWidth: "wide",
143
+ parsePatterns: { any: {
144
+ am: /^(a|sa)/i,
145
+ pm: /^(p|ch[^i]*)/i,
146
+ midnight: /nửa đêm/i,
147
+ noon: /trưa/i,
148
+ morning: /sáng/i,
149
+ afternoon: /chiều/i,
150
+ evening: /tối/i,
151
+ night: /^đêm/i
152
+ } },
153
+ defaultParseWidth: "any"
154
+ })
155
+ };
156
+ //#endregion
157
+ export { n as match };
@@ -0,0 +1 @@
1
+ const e=require("./index2.cjs"),t=require("./index4.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime"),i=require("@radix-ui/react-slot");var a=(0,require("class-variance-authority").cva)(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium cursor-pointer transition-all disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,{variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/90`,destructive:`bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60`,outline:`border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50`,link:`text-primary underline-offset-4 hover:underline`,accent:`bg-accent text-accent-foreground hover:bg-accent/90`,"accent-cta":`bg-accent text-accent-foreground hover:bg-accent/90 shadow-lg shadow-accent/25 hover:shadow-xl hover:shadow-accent/30 hover:scale-105`,gradient:`bg-linear-to-r from-primary to-accent text-primary-foreground hover:opacity-95 shadow-lg shadow-primary/25 hover:shadow-xl hover:shadow-primary/30`,"gradient-success":`bg-gradient-to-r from-emerald-500 to-green-600 hover:from-emerald-600 hover:to-green-700 text-white shadow-lg shadow-emerald-500/30 hover:shadow-emerald-500/40`},size:{default:`h-9 px-4 py-2 has-[>svg]:px-3`,sm:`h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5`,lg:`h-10 rounded-md px-6 has-[>svg]:px-4`,xl:`h-11 rounded-xl px-6 has-[>svg]:px-4`,"2xl":`h-14 rounded-xl px-8 text-lg has-[>svg]:px-6`,icon:`size-9`,"icon-sm":`size-8`,"icon-lg":`size-10`}},defaultVariants:{variant:`default`,size:`default`}});function o({className:e,variant:n=`default`,size:o=`default`,asChild:s=!1,...c}){return(0,r.jsx)(s?i.Slot:`button`,{"data-slot":`button`,"data-variant":n,"data-size":o,className:t.cn(a({variant:n,size:o,className:e})),...c})}exports.Button=o,exports.buttonVariants=a;
package/dist/index7.js ADDED
@@ -0,0 +1,88 @@
1
+ "use client";
2
+ import { cn as e } from "./index3.js";
3
+ import { Button as t, buttonVariants as n } from "./index6.js";
4
+ import { ChevronDownIcon as r, ChevronLeftIcon as i, ChevronRightIcon as a } from "lucide-react";
5
+ import * as o from "react";
6
+ import { jsx as s } from "react/jsx-runtime";
7
+ import { DayPicker as c, getDefaultClassNames as l } from "react-day-picker";
8
+ //#region src/ui/calendar.tsx
9
+ function u({ className: t, classNames: o, showOutsideDays: u = !0, captionLayout: f = "label", buttonVariant: p = "ghost", formatters: m, components: h, ...g }) {
10
+ let _ = l();
11
+ return /* @__PURE__ */ s(c, {
12
+ showOutsideDays: u,
13
+ className: e("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, t),
14
+ captionLayout: f,
15
+ formatters: {
16
+ formatMonthDropdown: (e) => e.toLocaleString("default", { month: "short" }),
17
+ ...m
18
+ },
19
+ classNames: {
20
+ root: e("w-fit", _.root),
21
+ months: e("flex gap-4 flex-col md:flex-row relative", _.months),
22
+ month: e("flex flex-col w-full gap-4", _.month),
23
+ nav: e("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between", _.nav),
24
+ button_previous: e(n({ variant: p }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", _.button_previous),
25
+ button_next: e(n({ variant: p }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", _.button_next),
26
+ month_caption: e("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)", _.month_caption),
27
+ dropdowns: e("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5", _.dropdowns),
28
+ dropdown_root: e("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md", _.dropdown_root),
29
+ dropdown: e("absolute bg-popover inset-0 opacity-0", _.dropdown),
30
+ caption_label: e("select-none font-medium", f === "label" ? "text-sm" : "rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5", _.caption_label),
31
+ weekdays: e("flex", _.weekdays),
32
+ weekday: e("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none", _.weekday),
33
+ week: e("flex w-full mt-2", _.week),
34
+ week_number_header: e("select-none w-(--cell-size)", _.week_number_header),
35
+ week_number: e("text-[0.8rem] select-none text-muted-foreground", _.week_number),
36
+ day: e("relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none", g.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-md" : "[&:first-child[data-selected=true]_button]:rounded-l-md", _.day),
37
+ range_start: e("rounded-l-md bg-accent", _.range_start),
38
+ range_middle: e("rounded-none", _.range_middle),
39
+ range_end: e("rounded-r-md bg-accent", _.range_end),
40
+ today: e("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none", _.today),
41
+ outside: e("text-muted-foreground aria-selected:text-muted-foreground", _.outside),
42
+ disabled: e("text-muted-foreground opacity-50", _.disabled),
43
+ hidden: e("invisible", _.hidden),
44
+ ...o
45
+ },
46
+ components: {
47
+ Root: ({ className: t, rootRef: n, ...r }) => /* @__PURE__ */ s("div", {
48
+ "data-slot": "calendar",
49
+ ref: n,
50
+ className: e(t),
51
+ ...r
52
+ }),
53
+ Chevron: ({ className: t, orientation: n, ...o }) => s(n === "left" ? i : n === "right" ? a : r, {
54
+ className: e("size-4", t),
55
+ ...o
56
+ }),
57
+ DayButton: d,
58
+ WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ s("td", {
59
+ ...t,
60
+ children: /* @__PURE__ */ s("div", {
61
+ className: "flex size-(--cell-size) items-center justify-center text-center",
62
+ children: e
63
+ })
64
+ }),
65
+ ...h
66
+ },
67
+ ...g
68
+ });
69
+ }
70
+ function d({ className: n, day: r, modifiers: i, ...a }) {
71
+ let c = l(), u = o.useRef(null);
72
+ return o.useEffect(() => {
73
+ i.focused && u.current?.focus();
74
+ }, [i.focused]), /* @__PURE__ */ s(t, {
75
+ ref: u,
76
+ variant: "ghost",
77
+ size: "icon",
78
+ "data-day": r.date.toLocaleDateString(),
79
+ "data-selected-single": i.selected && !i.range_start && !i.range_end && !i.range_middle,
80
+ "data-range-start": i.range_start,
81
+ "data-range-end": i.range_end,
82
+ "data-range-middle": i.range_middle,
83
+ className: e("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70", c.day, n),
84
+ ...a
85
+ });
86
+ }
87
+ //#endregion
88
+ export { u as Calendar, d as CalendarDayButton };
@@ -0,0 +1 @@
1
+ const e=require("./index52.cjs");var t={ordinalNumber:require("./index53.cjs").buildMatchPatternFn({matchPattern:/^(\d+)/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:e.buildMatchFn({matchPatterns:{narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^t/i,/^s/i]},defaultParseWidth:`any`}),quarter:e.buildMatchFn({matchPatterns:{narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:e.buildMatchFn({matchPatterns:{narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},defaultParseWidth:`wide`}),day:e.buildMatchFn({matchPatterns:{narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},defaultParseWidth:`wide`}),dayPeriod:e.buildMatchFn({matchPatterns:{narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},defaultMatchWidth:`wide`,parsePatterns:{any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},defaultParseWidth:`any`})};exports.match=t;
@@ -0,0 +1,20 @@
1
+ import { formatDistance as e } from "./index65.js";
2
+ import { formatLong as t } from "./index66.js";
3
+ import { formatRelative as n } from "./index67.js";
4
+ import { localize as r } from "./index68.js";
5
+ import { match as i } from "./index69.js";
6
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/vi.js
7
+ var a = {
8
+ code: "vi",
9
+ formatDistance: e,
10
+ formatLong: t,
11
+ formatRelative: n,
12
+ localize: r,
13
+ match: i,
14
+ options: {
15
+ weekStartsOn: 1,
16
+ firstWeekContainsDate: 1
17
+ }
18
+ };
19
+ //#endregion
20
+ export { a as default };
@@ -0,0 +1 @@
1
+ const e=require("./index66.cjs"),t=require("./index67.cjs"),n=require("./index68.cjs"),r=require("./index69.cjs"),i=require("./index70.cjs");var a={code:`vi`,formatDistance:e.formatDistance,formatLong:t.formatLong,formatRelative:n.formatRelative,localize:r.localize,match:i.match,options:{weekStartsOn:1,firstWeekContainsDate:1}};exports.default=a;
@@ -0,0 +1,10 @@
1
+ import e from "./index58.js";
2
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js
3
+ function t(t, n) {
4
+ return e(t, {
5
+ ...n,
6
+ weekStartsOn: 1
7
+ });
8
+ }
9
+ //#endregion
10
+ export { t as default };
@@ -0,0 +1 @@
1
+ const e=require("./index59.cjs");function t(t,n){return e.default(t,{...n,weekStartsOn:1})}exports.default=t;
@@ -0,0 +1,14 @@
1
+ import e from "./index54.js";
2
+ import t from "./index57.js";
3
+ import n from "./index71.js";
4
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js
5
+ function r(r, i) {
6
+ let a = t(r, i?.in), o = a.getFullYear(), s = e(a, 0);
7
+ s.setFullYear(o + 1, 0, 4), s.setHours(0, 0, 0, 0);
8
+ let c = n(s), l = e(a, 0);
9
+ l.setFullYear(o, 0, 4), l.setHours(0, 0, 0, 0);
10
+ let u = n(l);
11
+ return a.getTime() >= c.getTime() ? o + 1 : a.getTime() >= u.getTime() ? o : o - 1;
12
+ }
13
+ //#endregion
14
+ export { r as default };
@@ -0,0 +1 @@
1
+ const e=require("./index55.cjs"),t=require("./index58.cjs"),n=require("./index72.cjs");function r(r,i){let a=t.default(r,i?.in),o=a.getFullYear(),s=e.default(a,0);s.setFullYear(o+1,0,4),s.setHours(0,0,0,0);let c=n.default(s),l=e.default(a,0);l.setFullYear(o,0,4),l.setHours(0,0,0,0);let u=n.default(l);return a.getTime()>=c.getTime()?o+1:a.getTime()>=u.getTime()?o:o-1}exports.default=r;
@@ -0,0 +1,8 @@
1
+ import e from "./index57.js";
2
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
3
+ function t(t) {
4
+ let n = e(t), r = new Date(Date.UTC(n.getFullYear(), n.getMonth(), n.getDate(), n.getHours(), n.getMinutes(), n.getSeconds(), n.getMilliseconds()));
5
+ return r.setUTCFullYear(n.getFullYear()), t - +r;
6
+ }
7
+ //#endregion
8
+ export { t as getTimezoneOffsetInMilliseconds };
@@ -0,0 +1 @@
1
+ const e=require("./index58.cjs");function t(t){let n=e.default(t),r=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return r.setUTCFullYear(n.getFullYear()),t-+r}exports.getTimezoneOffsetInMilliseconds=t;
@@ -0,0 +1,8 @@
1
+ import e from "./index57.js";
2
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js
3
+ function t(t, n) {
4
+ let r = e(t, n?.in);
5
+ return r.setHours(0, 0, 0, 0), r;
6
+ }
7
+ //#endregion
8
+ export { t as default };
@@ -0,0 +1 @@
1
+ const e=require("./index58.cjs");function t(t,n){let r=e.default(t,n?.in);return r.setHours(0,0,0,0),r}exports.default=t;
@@ -0,0 +1,11 @@
1
+ import { millisecondsInDay as e } from "./index53.js";
2
+ import { normalizeDates as t } from "./index55.js";
3
+ import { getTimezoneOffsetInMilliseconds as n } from "./index73.js";
4
+ import r from "./index74.js";
5
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
6
+ function i(i, a, o) {
7
+ let [s, c] = t(o?.in, i, a), l = r(s), u = r(c), d = +l - n(l), f = +u - n(u);
8
+ return Math.round((d - f) / e);
9
+ }
10
+ //#endregion
11
+ export { i as default };
@@ -0,0 +1 @@
1
+ const e=require("./index54.cjs"),t=require("./index56.cjs"),n=require("./index74.cjs"),r=require("./index75.cjs");function i(i,a,o){let[s,c]=t.normalizeDates(o?.in,i,a),l=r.default(s),u=r.default(c),d=+l-n.getTimezoneOffsetInMilliseconds(l),f=+u-n.getTimezoneOffsetInMilliseconds(u);return Math.round((d-f)/e.millisecondsInDay)}exports.default=i;
@@ -0,0 +1,10 @@
1
+ import e from "./index54.js";
2
+ import t from "./index71.js";
3
+ import n from "./index72.js";
4
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js
5
+ function r(r, i) {
6
+ let a = n(r, i), o = e(i?.in || r, 0);
7
+ return o.setFullYear(a, 0, 4), o.setHours(0, 0, 0, 0), t(o);
8
+ }
9
+ //#endregion
10
+ export { r as default };
@@ -0,0 +1 @@
1
+ const e=require("./index55.cjs"),t=require("./index72.cjs"),n=require("./index73.cjs");function r(r,i){let a=n.default(r,i),o=e.default(i?.in||r,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),t.default(o)}exports.default=r;
@@ -0,0 +1,6 @@
1
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
2
+ function e(e) {
3
+ return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1 @@
1
+ function e(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}exports.default=e;