@vlrc-fe/components 2.7.0 → 2.8.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 (476) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/ConfirmModal.d.ts +2 -3
  3. package/dist/ConfirmModal.d.ts.map +1 -1
  4. package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
  5. package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
  6. package/dist/Dropdown/Dropdown.d.ts.map +1 -1
  7. package/dist/Dropdown/types.d.ts +1 -1
  8. package/dist/Dropdown/types.d.ts.map +1 -1
  9. package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
  10. package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts +2 -1
  11. package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts.map +1 -1
  12. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +7 -1
  13. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
  14. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -1
  15. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
  16. package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
  17. package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
  18. package/dist/Form/FormDatePicker/types.d.ts +5 -0
  19. package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
  20. package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
  21. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +2 -2
  22. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
  23. package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -1
  24. package/dist/Form/FormSelect/types.d.ts +1 -1
  25. package/dist/Form/FormSelect/types.d.ts.map +1 -1
  26. package/dist/Form/FormSelect/useFormSelect.d.ts +1 -1
  27. package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
  28. package/dist/MultiSelect/MultiSelect.d.ts +3 -31
  29. package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
  30. package/dist/MultiSelect/renderers.d.ts.map +1 -1
  31. package/dist/MultiSelect/type.d.ts +1 -0
  32. package/dist/MultiSelect/type.d.ts.map +1 -1
  33. package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
  34. package/dist/Select/BaseSelect.d.ts.map +1 -1
  35. package/dist/Select/MultiSelectTags.d.ts.map +1 -1
  36. package/dist/Select/type.d.ts +1 -1
  37. package/dist/Select/type.d.ts.map +1 -1
  38. package/dist/Typography/Code.d.ts.map +1 -1
  39. package/dist/Typography/Link.d.ts.map +1 -1
  40. package/dist/Typography/Paragraph.d.ts.map +1 -1
  41. package/dist/Typography/Text.d.ts.map +1 -1
  42. package/dist/Typography/Title.d.ts.map +1 -1
  43. package/dist/Typography/types.d.ts +37 -1
  44. package/dist/Typography/types.d.ts.map +1 -1
  45. package/dist/Typography/utils.d.ts +3 -2
  46. package/dist/Typography/utils.d.ts.map +1 -1
  47. package/dist/assets/stylex.css +36 -24
  48. package/dist/index.cjs +1 -1
  49. package/dist/index.js +108 -108
  50. package/dist/index10.cjs +1 -1
  51. package/dist/index10.js +18 -55
  52. package/dist/index101.cjs +1 -1
  53. package/dist/index101.js +89 -89
  54. package/dist/index102.cjs +1 -1
  55. package/dist/index102.js +29 -29
  56. package/dist/index103.cjs +1 -1
  57. package/dist/index103.js +128 -124
  58. package/dist/index104.cjs +1 -1
  59. package/dist/index104.js +16 -16
  60. package/dist/index106.cjs +1 -1
  61. package/dist/index106.js +2 -2
  62. package/dist/index107.cjs +1 -1
  63. package/dist/index107.js +114 -117
  64. package/dist/index108.cjs +1 -1
  65. package/dist/index108.js +95 -92
  66. package/dist/index109.cjs +1 -1
  67. package/dist/index109.js +41 -41
  68. package/dist/index11.cjs +1 -1
  69. package/dist/index11.js +36 -164
  70. package/dist/index110.cjs +1 -1
  71. package/dist/index110.js +1 -1
  72. package/dist/index111.cjs +1 -1
  73. package/dist/index111.js +1 -1
  74. package/dist/index112.cjs +1 -1
  75. package/dist/index112.js +128 -120
  76. package/dist/index114.cjs +1 -1
  77. package/dist/index114.js +151 -151
  78. package/dist/index116.cjs +1 -1
  79. package/dist/index116.js +96 -91
  80. package/dist/index117.cjs +1 -1
  81. package/dist/index117.js +18 -18
  82. package/dist/index118.cjs +1 -1
  83. package/dist/index118.js +2 -2
  84. package/dist/index119.cjs +1 -1
  85. package/dist/index119.js +15 -15
  86. package/dist/index12.cjs +1 -1
  87. package/dist/index12.js +147 -103
  88. package/dist/index120.cjs +1 -1
  89. package/dist/index120.js +10 -10
  90. package/dist/index121.cjs +1 -1
  91. package/dist/index121.js +31 -31
  92. package/dist/index122.cjs +1 -1
  93. package/dist/index122.js +3 -3
  94. package/dist/index123.cjs +1 -1
  95. package/dist/index123.js +2 -2
  96. package/dist/index124.cjs +1 -1
  97. package/dist/index124.js +53 -49
  98. package/dist/index126.cjs +1 -1
  99. package/dist/index126.js +35 -38
  100. package/dist/index127.cjs +1 -1
  101. package/dist/index127.js +114 -107
  102. package/dist/index128.cjs +1 -1
  103. package/dist/index128.js +8 -8
  104. package/dist/index129.cjs +1 -1
  105. package/dist/index129.js +53 -53
  106. package/dist/index13.cjs +1 -1
  107. package/dist/index13.js +130 -102
  108. package/dist/index130.cjs +1 -1
  109. package/dist/index130.js +134 -130
  110. package/dist/index132.cjs +1 -1
  111. package/dist/index132.js +7 -7
  112. package/dist/index133.cjs +1 -1
  113. package/dist/index133.js +95 -95
  114. package/dist/index134.cjs +1 -1
  115. package/dist/index134.js +2 -2
  116. package/dist/index135.cjs +1 -1
  117. package/dist/index135.js +113 -99
  118. package/dist/index136.cjs +1 -1
  119. package/dist/index136.js +8 -8
  120. package/dist/index137.cjs +1 -1
  121. package/dist/index137.js +16 -16
  122. package/dist/index138.cjs +1 -1
  123. package/dist/index138.js +20 -20
  124. package/dist/index14.cjs +1 -1
  125. package/dist/index14.js +154 -80
  126. package/dist/index140.cjs +1 -1
  127. package/dist/index140.js +2 -2
  128. package/dist/index141.cjs +1 -1
  129. package/dist/index141.js +24 -24
  130. package/dist/index142.cjs +1 -1
  131. package/dist/index142.js +2 -2
  132. package/dist/index143.cjs +1 -1
  133. package/dist/index143.js +15 -15
  134. package/dist/index144.cjs +1 -1
  135. package/dist/index144.js +3 -3
  136. package/dist/index145.cjs +1 -1
  137. package/dist/index145.js +2 -2
  138. package/dist/index146.cjs +1 -1
  139. package/dist/index146.js +1 -1
  140. package/dist/index147.cjs +1 -1
  141. package/dist/index147.js +88 -88
  142. package/dist/index149.cjs +1 -1
  143. package/dist/index149.js +64 -64
  144. package/dist/index15.cjs +1 -1
  145. package/dist/index15.js +116 -63
  146. package/dist/index150.cjs +1 -1
  147. package/dist/index150.js +9 -9
  148. package/dist/index152.cjs +1 -1
  149. package/dist/index152.js +1 -1
  150. package/dist/index153.cjs +1 -1
  151. package/dist/index153.js +41 -41
  152. package/dist/index154.cjs +1 -1
  153. package/dist/index154.js +73 -73
  154. package/dist/index155.cjs +1 -1
  155. package/dist/index155.js +34 -34
  156. package/dist/index156.cjs +1 -1
  157. package/dist/index156.js +8 -8
  158. package/dist/index157.cjs +1 -1
  159. package/dist/index157.js +1 -1
  160. package/dist/index158.cjs +1 -1
  161. package/dist/index158.js +30 -30
  162. package/dist/index159.cjs +1 -1
  163. package/dist/index159.js +21 -21
  164. package/dist/index16.cjs +1 -1
  165. package/dist/index16.js +60 -91
  166. package/dist/index160.cjs +1 -1
  167. package/dist/index160.js +59 -59
  168. package/dist/index161.cjs +1 -1
  169. package/dist/index161.js +2 -2
  170. package/dist/index162.cjs +1 -1
  171. package/dist/index162.js +50 -50
  172. package/dist/index163.cjs +1 -1
  173. package/dist/index163.js +11 -11
  174. package/dist/index164.cjs +1 -1
  175. package/dist/index164.js +1 -1
  176. package/dist/index165.cjs +1 -1
  177. package/dist/index165.js +33 -33
  178. package/dist/index166.cjs +1 -1
  179. package/dist/index166.js +11 -11
  180. package/dist/index167.cjs +1 -1
  181. package/dist/index167.js +2 -2
  182. package/dist/index168.cjs +1 -1
  183. package/dist/index168.js +7 -7
  184. package/dist/index169.cjs +1 -1
  185. package/dist/index169.js +74 -65
  186. package/dist/index17.cjs +1 -1
  187. package/dist/index17.js +122 -15
  188. package/dist/index170.cjs +1 -1
  189. package/dist/index170.js +9 -9
  190. package/dist/index171.cjs +1 -1
  191. package/dist/index171.js +7 -7
  192. package/dist/index172.cjs +1 -1
  193. package/dist/index172.js +12 -12
  194. package/dist/index174.cjs +1 -1
  195. package/dist/index174.js +15 -15
  196. package/dist/index175.cjs +1 -1
  197. package/dist/index175.js +13 -13
  198. package/dist/index176.cjs +1 -1
  199. package/dist/index176.js +2 -2
  200. package/dist/index177.cjs +1 -1
  201. package/dist/index177.js +140 -115
  202. package/dist/index178.cjs +1 -1
  203. package/dist/index178.js +4 -4
  204. package/dist/index179.cjs +1 -1
  205. package/dist/index179.js +47 -47
  206. package/dist/index18.cjs +1 -1
  207. package/dist/index18.js +15 -268
  208. package/dist/index181.cjs +1 -1
  209. package/dist/index181.js +36 -25
  210. package/dist/index183.cjs +1 -1
  211. package/dist/index183.js +4 -4
  212. package/dist/index185.cjs +1 -1
  213. package/dist/index185.js +5 -8
  214. package/dist/index186.cjs +1 -1
  215. package/dist/index186.js +5 -15
  216. package/dist/index187.cjs +1 -1
  217. package/dist/index187.js +5 -20
  218. package/dist/index188.cjs +1 -1
  219. package/dist/index188.js +5 -16
  220. package/dist/index189.cjs +1 -1
  221. package/dist/index189.js +8 -5
  222. package/dist/index19.cjs +1 -1
  223. package/dist/index19.js +11 -281
  224. package/dist/index190.cjs +1 -1
  225. package/dist/index190.js +7 -4
  226. package/dist/index191.cjs +1 -1
  227. package/dist/index191.js +12 -6
  228. package/dist/index192.cjs +1 -1
  229. package/dist/index192.js +6 -5
  230. package/dist/index193.cjs +1 -1
  231. package/dist/index193.js +6 -5
  232. package/dist/index194.cjs +1 -1
  233. package/dist/index194.js +6 -7
  234. package/dist/index195.cjs +1 -1
  235. package/dist/index195.js +10 -68
  236. package/dist/index196.cjs +1 -1
  237. package/dist/index196.js +9 -10
  238. package/dist/index197.cjs +1 -1
  239. package/dist/index197.js +5 -201
  240. package/dist/index198.cjs +1 -1
  241. package/dist/index198.js +7 -123
  242. package/dist/index199.cjs +1 -1
  243. package/dist/index199.js +7 -31
  244. package/dist/index20.cjs +1 -1
  245. package/dist/index20.js +26 -11
  246. package/dist/index200.cjs +1 -1
  247. package/dist/index200.js +66 -17
  248. package/dist/index201.cjs +1 -1
  249. package/dist/index201.js +8 -68
  250. package/dist/index202.cjs +1 -1
  251. package/dist/index202.js +13 -13
  252. package/dist/index203.cjs +1 -1
  253. package/dist/index203.js +6 -6
  254. package/dist/index204.cjs +1 -1
  255. package/dist/index204.js +15 -278
  256. package/dist/index205.cjs +1 -1
  257. package/dist/index205.js +171 -126
  258. package/dist/index206.cjs +1 -1
  259. package/dist/index206.js +21 -19
  260. package/dist/index207.cjs +1 -1
  261. package/dist/index207.js +16 -8
  262. package/dist/index208.cjs +1 -1
  263. package/dist/index208.js +123 -13
  264. package/dist/index209.cjs +1 -1
  265. package/dist/index209.js +19 -7
  266. package/dist/index21.cjs +1 -1
  267. package/dist/index21.js +29 -26
  268. package/dist/index210.cjs +1 -1
  269. package/dist/index210.js +8 -6
  270. package/dist/index211.cjs +1 -1
  271. package/dist/index211.js +9 -9
  272. package/dist/index212.cjs +1 -1
  273. package/dist/index212.js +13 -8
  274. package/dist/index213.cjs +1 -1
  275. package/dist/index213.js +9 -4
  276. package/dist/index214.cjs +1 -1
  277. package/dist/index214.js +9 -6
  278. package/dist/index215.cjs +1 -1
  279. package/dist/index215.js +4 -6
  280. package/dist/index216.cjs +1 -1
  281. package/dist/index216.js +42 -9
  282. package/dist/index217.cjs +1 -1
  283. package/dist/index217.js +386 -8
  284. package/dist/index218.cjs +1 -1
  285. package/dist/index218.js +37 -14
  286. package/dist/index219.cjs +1 -1
  287. package/dist/index219.js +22 -10
  288. package/dist/index22.cjs +1 -1
  289. package/dist/index22.js +367 -59
  290. package/dist/index220.cjs +1 -1
  291. package/dist/index220.js +57 -9
  292. package/dist/index221.cjs +1 -1
  293. package/dist/index221.js +39 -4
  294. package/dist/index222.cjs +1 -1
  295. package/dist/index222.js +116 -35
  296. package/dist/index223.cjs +1 -1
  297. package/dist/index223.js +85 -387
  298. package/dist/index224.cjs +1 -1
  299. package/dist/index224.js +87 -35
  300. package/dist/index225.cjs +1 -1
  301. package/dist/index225.js +116 -18
  302. package/dist/index226.cjs +1 -1
  303. package/dist/index226.js +97 -55
  304. package/dist/index227.cjs +1 -1
  305. package/dist/index227.js +154 -37
  306. package/dist/index228.cjs +1 -1
  307. package/dist/index228.js +76 -121
  308. package/dist/index229.cjs +9 -1
  309. package/dist/index229.js +588 -77
  310. package/dist/index23.cjs +1 -1
  311. package/dist/index23.js +212 -29
  312. package/dist/index230.cjs +1 -1
  313. package/dist/index230.js +64 -68
  314. package/dist/index231.cjs +1 -1
  315. package/dist/index231.js +42 -115
  316. package/dist/index232.cjs +1 -1
  317. package/dist/index232.js +65 -98
  318. package/dist/index233.cjs +1 -1
  319. package/dist/index233.js +48 -149
  320. package/dist/index234.cjs +1 -1
  321. package/dist/index234.js +98 -68
  322. package/dist/index235.cjs +1 -9
  323. package/dist/index235.js +214 -580
  324. package/dist/index236.cjs +1 -1
  325. package/dist/index236.js +29 -66
  326. package/dist/index237.cjs +1 -1
  327. package/dist/index237.js +23 -40
  328. package/dist/index238.cjs +1 -1
  329. package/dist/index238.js +55 -59
  330. package/dist/index239.cjs +1 -1
  331. package/dist/index239.js +419 -46
  332. package/dist/index24.cjs +1 -1
  333. package/dist/index24.js +200 -312
  334. package/dist/index240.cjs +1 -1
  335. package/dist/index240.js +30 -97
  336. package/dist/index241.cjs +1 -1
  337. package/dist/index241.js +205 -196
  338. package/dist/index25.cjs +1 -1
  339. package/dist/index25.js +228 -124
  340. package/dist/index26.cjs +1 -1
  341. package/dist/index26.js +161 -86
  342. package/dist/index27.cjs +1 -1
  343. package/dist/index27.js +89 -143
  344. package/dist/index28.cjs +1 -1
  345. package/dist/index28.js +140 -76
  346. package/dist/index29.cjs +1 -1
  347. package/dist/index29.js +92 -84
  348. package/dist/index30.cjs +1 -1
  349. package/dist/index30.js +84 -26
  350. package/dist/index31.cjs +1 -1
  351. package/dist/index31.js +26 -35
  352. package/dist/index32.cjs +1 -1
  353. package/dist/index32.js +39 -86
  354. package/dist/index33.cjs +1 -1
  355. package/dist/index33.js +84 -231
  356. package/dist/index34.cjs +1 -1
  357. package/dist/index34.js +234 -44
  358. package/dist/index35.cjs +1 -1
  359. package/dist/index35.js +39 -26
  360. package/dist/index36.cjs +1 -1
  361. package/dist/index36.js +30 -14
  362. package/dist/index37.cjs +1 -1
  363. package/dist/index37.js +14 -13
  364. package/dist/index38.cjs +1 -1
  365. package/dist/index38.js +13 -3
  366. package/dist/index39.cjs +1 -1
  367. package/dist/index39.js +4 -87
  368. package/dist/index40.cjs +1 -1
  369. package/dist/index40.js +83 -174
  370. package/dist/index41.cjs +1 -1
  371. package/dist/index41.js +66 -142
  372. package/dist/index42.cjs +1 -1
  373. package/dist/index42.js +217 -62
  374. package/dist/index43.cjs +1 -1
  375. package/dist/index43.js +135 -47
  376. package/dist/index44.cjs +1 -1
  377. package/dist/index44.js +47 -260
  378. package/dist/index45.cjs +1 -1
  379. package/dist/index45.js +273 -8
  380. package/dist/index46.cjs +1 -1
  381. package/dist/index46.js +7 -4
  382. package/dist/index47.cjs +1 -1
  383. package/dist/index47.js +4 -503
  384. package/dist/index48.cjs +1 -1
  385. package/dist/index48.js +472 -177
  386. package/dist/index49.cjs +1 -1
  387. package/dist/index49.js +205 -23
  388. package/dist/index50.cjs +1 -1
  389. package/dist/index50.js +21 -1008
  390. package/dist/index51.cjs +1 -1
  391. package/dist/index51.js +1014 -21
  392. package/dist/index52.cjs +1 -1
  393. package/dist/index52.js +22 -207
  394. package/dist/index53.cjs +1 -1
  395. package/dist/index53.js +181 -130
  396. package/dist/index54.cjs +1 -1
  397. package/dist/index54.js +132 -99
  398. package/dist/index55.cjs +1 -1
  399. package/dist/index55.js +123 -19
  400. package/dist/index56.cjs +1 -1
  401. package/dist/index56.js +17 -79
  402. package/dist/index57.cjs +1 -1
  403. package/dist/index57.js +75 -90
  404. package/dist/index58.cjs +1 -1
  405. package/dist/index58.js +91 -9
  406. package/dist/index59.cjs +1 -1
  407. package/dist/index59.js +12 -91
  408. package/dist/index6.cjs +1 -1
  409. package/dist/index6.js +62 -5
  410. package/dist/index60.cjs +1 -1
  411. package/dist/index60.js +92 -31
  412. package/dist/index61.cjs +1 -1
  413. package/dist/index61.js +29 -208
  414. package/dist/index62.cjs +1 -1
  415. package/dist/index62.js +123 -99
  416. package/dist/index63.cjs +1 -1
  417. package/dist/index63.js +17 -17
  418. package/dist/index64.cjs +1 -1
  419. package/dist/index64.js +28 -28
  420. package/dist/index65.cjs +1 -1
  421. package/dist/index65.js +30 -30
  422. package/dist/index67.cjs +1 -1
  423. package/dist/index67.js +11 -11
  424. package/dist/index7.cjs +1 -1
  425. package/dist/index7.js +22 -28
  426. package/dist/index73.cjs +1 -1
  427. package/dist/index73.js +1 -1
  428. package/dist/index74.cjs +1 -1
  429. package/dist/index74.js +20 -20
  430. package/dist/index75.cjs +1 -1
  431. package/dist/index75.js +7 -7
  432. package/dist/index77.cjs +1 -1
  433. package/dist/index77.js +28 -28
  434. package/dist/index8.cjs +1 -1
  435. package/dist/index8.js +28 -61
  436. package/dist/index9.cjs +1 -1
  437. package/dist/index9.js +60 -15
  438. package/dist/ui/accordion.d.ts.map +1 -1
  439. package/dist/ui/avatar.d.ts.map +1 -1
  440. package/dist/ui/breadcrumb.d.ts.map +1 -1
  441. package/dist/ui/button.d.ts.map +1 -1
  442. package/dist/ui/calendar.d.ts +1 -1
  443. package/dist/ui/calendar.d.ts.map +1 -1
  444. package/dist/ui/command.d.ts +1 -1
  445. package/dist/ui/command.d.ts.map +1 -1
  446. package/dist/ui/context-menu.d.ts.map +1 -1
  447. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  448. package/dist/ui/editable.d.ts.map +1 -1
  449. package/dist/ui/field.d.ts.map +1 -1
  450. package/dist/ui/form.d.ts.map +1 -1
  451. package/dist/ui/input-group.d.ts.map +1 -1
  452. package/dist/ui/input-otp.d.ts +1 -1
  453. package/dist/ui/input-otp.d.ts.map +1 -1
  454. package/dist/ui/item.d.ts.map +1 -1
  455. package/dist/ui/menubar.d.ts.map +1 -1
  456. package/dist/ui/pagination.d.ts +3 -1
  457. package/dist/ui/pagination.d.ts.map +1 -1
  458. package/dist/ui/toggle-group.d.ts +1 -1
  459. package/dist/ui/toggle-group.d.ts.map +1 -1
  460. package/dist/ui/toggle.d.ts +1 -1
  461. package/dist/ui/toggle.d.ts.map +1 -1
  462. package/dist/ui/useBreakpoint.d.ts +0 -4
  463. package/dist/ui/useBreakpoint.d.ts.map +1 -1
  464. package/package.json +1 -1
  465. package/dist/index242.cjs +0 -1
  466. package/dist/index242.js +0 -25
  467. package/dist/index243.cjs +0 -1
  468. package/dist/index243.js +0 -26
  469. package/dist/index244.cjs +0 -1
  470. package/dist/index244.js +0 -63
  471. package/dist/index245.cjs +0 -1
  472. package/dist/index245.js +0 -422
  473. package/dist/index246.cjs +0 -1
  474. package/dist/index246.js +0 -25
  475. package/dist/index247.cjs +0 -1
  476. package/dist/index247.js +0 -209
package/dist/index205.js CHANGED
@@ -1,156 +1,201 @@
1
- import { buildMatchFn as e } from "./index187.js";
2
- import { buildMatchPatternFn as t } from "./index188.js";
3
- var n = {
4
- ordinalNumber: t({
5
- matchPattern: /^(\d+)/i,
6
- parsePattern: /\d+/i,
7
- valueCallback: (e) => parseInt(e, 10)
8
- }),
1
+ import { buildLocalizeFn as e } from "./index204.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
+ },
9
12
  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
13
+ values: {
14
+ narrow: ["B", "A"],
15
+ abbreviated: ["BC", "AD"],
16
+ wide: ["Before Christ", "Anno Domini"]
14
17
  },
15
- defaultMatchWidth: "wide",
16
- parsePatterns: { any: [/^t/i, /^s/i] },
17
- defaultParseWidth: "any"
18
+ defaultWidth: "wide"
18
19
  }),
19
20
  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
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
+ ]
24
40
  },
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
41
+ defaultWidth: "wide",
42
+ argumentCallback: (e) => e - 1
34
43
  }),
35
44
  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: {
45
+ values: {
43
46
  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/
47
+ "J",
48
+ "F",
49
+ "M",
50
+ "A",
51
+ "M",
52
+ "J",
53
+ "J",
54
+ "A",
55
+ "S",
56
+ "O",
57
+ "N",
58
+ "D"
56
59
  ],
57
60
  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
61
+ "Jan",
62
+ "Feb",
63
+ "Mar",
64
+ "Apr",
65
+ "May",
66
+ "Jun",
67
+ "Jul",
68
+ "Aug",
69
+ "Sep",
70
+ "Oct",
71
+ "Nov",
72
+ "Dec"
70
73
  ],
71
74
  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
75
+ "January",
76
+ "February",
77
+ "March",
78
+ "April",
79
+ "May",
80
+ "June",
81
+ "July",
82
+ "August",
83
+ "September",
84
+ "October",
85
+ "November",
86
+ "December"
84
87
  ]
85
88
  },
86
- defaultParseWidth: "wide"
89
+ defaultWidth: "wide"
87
90
  }),
88
91
  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: {
92
+ values: {
97
93
  narrow: [
98
- /CN/i,
99
- /2/i,
100
- /3/i,
101
- /4/i,
102
- /5/i,
103
- /6/i,
104
- /7/i
94
+ "S",
95
+ "M",
96
+ "T",
97
+ "W",
98
+ "T",
99
+ "F",
100
+ "S"
105
101
  ],
106
102
  short: [
107
- /CN/i,
108
- /2/i,
109
- /3/i,
110
- /4/i,
111
- /5/i,
112
- /6/i,
113
- /7/i
103
+ "Su",
104
+ "Mo",
105
+ "Tu",
106
+ "We",
107
+ "Th",
108
+ "Fr",
109
+ "Sa"
114
110
  ],
115
111
  abbreviated: [
116
- /CN/i,
117
- /2/i,
118
- /3/i,
119
- /4/i,
120
- /5/i,
121
- /6/i,
122
- /7/i
112
+ "Sun",
113
+ "Mon",
114
+ "Tue",
115
+ "Wed",
116
+ "Thu",
117
+ "Fri",
118
+ "Sat"
123
119
  ],
124
120
  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
121
+ "Sunday",
122
+ "Monday",
123
+ "Tuesday",
124
+ "Wednesday",
125
+ "Thursday",
126
+ "Friday",
127
+ "Saturday"
132
128
  ]
133
129
  },
134
- defaultParseWidth: "wide"
130
+ defaultWidth: "wide"
135
131
  }),
136
132
  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
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
+ }
141
197
  },
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"
198
+ defaultFormattingWidth: "wide"
154
199
  })
155
200
  };
156
- export { n as match };
201
+ export { t as localize };
package/dist/index206.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index201.cjs"),t=require("./index202.cjs"),n=require("./index203.cjs"),r=require("./index204.cjs"),i=require("./index205.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,exports.vi=a;
1
+ function e(e){return(r,i={})=>{let a=i.width,o=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],s=r.match(o);if(!s)return null;let c=s[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?n(l,e=>e.test(c)):t(l,e=>e.test(c)),d;d=e.valueCallback?e.valueCallback(u):u,d=i.valueCallback?i.valueCallback(d):d;let f=r.slice(c.length);return{value:d,rest:f}}}function t(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function n(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}exports.buildMatchFn=e;
package/dist/index206.js CHANGED
@@ -1,19 +1,21 @@
1
- import { formatDistance as e } from "./index201.js";
2
- import { formatLong as t } from "./index202.js";
3
- import { formatRelative as n } from "./index203.js";
4
- import { localize as r } from "./index204.js";
5
- import { match as i } from "./index205.js";
6
- // ../../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
- export { a as default, a as vi };
1
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
2
+ function e(e) {
3
+ return (r, i = {}) => {
4
+ let a = i.width, o = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], s = r.match(o);
5
+ if (!s) return null;
6
+ let c = s[0], l = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], u = Array.isArray(l) ? n(l, (e) => e.test(c)) : t(l, (e) => e.test(c)), d;
7
+ d = e.valueCallback ? e.valueCallback(u) : u, d = i.valueCallback ? i.valueCallback(d) : d;
8
+ let f = r.slice(c.length);
9
+ return {
10
+ value: d,
11
+ rest: f
12
+ };
13
+ };
14
+ }
15
+ function t(e, t) {
16
+ for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
17
+ }
18
+ function n(e, t) {
19
+ for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
20
+ }
21
+ export { e as buildMatchFn };
package/dist/index207.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index194.cjs");function t(t,n){return e.default(t,{...n,weekStartsOn:1})}exports.default=t,exports.startOfISOWeek=t;
1
+ function e(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}exports.buildMatchPatternFn=e;
package/dist/index207.js CHANGED
@@ -1,9 +1,17 @@
1
- import e from "./index194.js";
2
- // ../../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
- });
1
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
2
+ function e(e) {
3
+ return (t, n = {}) => {
4
+ let r = t.match(e.matchPattern);
5
+ if (!r) return null;
6
+ let i = r[0], a = t.match(e.parsePattern);
7
+ if (!a) return null;
8
+ let o = e.valueCallback ? e.valueCallback(a[0]) : a[0];
9
+ o = n.valueCallback ? n.valueCallback(o) : o;
10
+ let s = t.slice(i.length);
11
+ return {
12
+ value: o,
13
+ rest: s
14
+ };
15
+ };
8
16
  }
9
- export { t as default, t as startOfISOWeek };
17
+ export { e as buildMatchPatternFn };
package/dist/index208.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index190.cjs"),t=require("./index193.cjs"),n=require("./index207.cjs");function r(r,i){let a=t.default(r,i?.in),o=a.getFullYear(),s=e.constructFrom(a,0);s.setFullYear(o+1,0,4),s.setHours(0,0,0,0);let c=n.default(s),l=e.constructFrom(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,exports.getISOWeekYear=r;
1
+ const e=require("./index206.cjs");var t={ordinalNumber:require("./index207.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/index208.js CHANGED
@@ -1,13 +1,123 @@
1
- import { constructFrom as e } from "./index190.js";
2
- import t from "./index193.js";
3
- import n from "./index207.js";
4
- // ../../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
- export { r as default, r as getISOWeekYear };
1
+ import { buildMatchFn as e } from "./index206.js";
2
+ import { buildMatchPatternFn as t } from "./index207.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
+ export { n as match };
package/dist/index209.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index193.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;
1
+ const e=require("./index200.cjs"),t=require("./index202.cjs"),n=require("./index203.cjs"),r=require("./index205.cjs"),i=require("./index208.cjs");var a={code:`en-US`,formatDistance:e.formatDistance,formatLong:t.formatLong,formatRelative:n.formatRelative,localize:r.localize,match:i.match,options:{weekStartsOn:0,firstWeekContainsDate:1}};exports.default=a,exports.enUS=a;
package/dist/index209.js CHANGED
@@ -1,7 +1,19 @@
1
- import e from "./index193.js";
2
- // ../../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
- export { t as getTimezoneOffsetInMilliseconds };
1
+ import { formatDistance as e } from "./index200.js";
2
+ import { formatLong as t } from "./index202.js";
3
+ import { formatRelative as n } from "./index203.js";
4
+ import { localize as r } from "./index205.js";
5
+ import { match as i } from "./index208.js";
6
+ // ../../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: t,
11
+ formatRelative: n,
12
+ localize: r,
13
+ match: i,
14
+ options: {
15
+ weekStartsOn: 0,
16
+ firstWeekContainsDate: 1
17
+ }
18
+ };
19
+ export { a as default, a as enUS };
package/dist/index21.cjs CHANGED
@@ -1 +1 @@
1
- var e={full:`100%`,auto:`auto`,fit:`fit-content`,max:`max-content`,min:`min-content`,screen:`100vw`,xxs:`6rem`,xs:`8rem`,sm:`12rem`,md:`16rem`,lg:`20rem`,xl:`24rem`,xxl:`32rem`,"1/2":`50%`,"1/3":`33.333333%`,"2/3":`66.666667%`,"1/4":`25%`,"2/4":`50%`,"3/4":`75%`};function t(t){if(t!=null)return typeof t==`number`?`${t}px`:typeof t==`string`&&t in e?e[t]:t}exports.ComponentWidthPresetMap=e,exports.resolveWidth=t;
1
+ const e=require("./index2.cjs"),t=require("./index3.cjs"),n=require("./index6.cjs"),r=require("./index8.cjs"),i=require("./index19.cjs"),a=require("./index20.cjs");var o=e.__exportAll({COMPONENT_SIZES:()=>i.COMPONENT_SIZES,ComponentSpacingPresetMap:()=>n.ComponentSpacingPresetMap,ComponentWidthPresetMap:()=>a.ComponentWidthPresetMap,DEFAULT_COMPONENT_SIZE:()=>`md`,ZIndexContext:()=>r.ZIndexContext,ZIndexProvider:()=>r.ZIndexProvider,Z_INDEX_LAYERS:()=>r.Z_INDEX_LAYERS,colors:()=>t.colors,gaps:()=>t.gaps,gutters:()=>t.gutters,isComponentSize:()=>n.isComponentSize,radii:()=>t.radii,resolveGap:()=>n.resolveGap,resolveSpacing:()=>n.resolveSpacing,resolveSpacingPixel:()=>n.resolveSpacingPixel,resolveWidth:()=>a.resolveWidth,spacing:()=>t.spacing,textColors:()=>t.textColors,useZIndex:()=>r.useZIndex});exports.COMPONENT_SIZES=i.COMPONENT_SIZES,exports.ComponentSpacingPresetMap=n.ComponentSpacingPresetMap,exports.ComponentWidthPresetMap=a.ComponentWidthPresetMap,exports.DEFAULT_COMPONENT_SIZE=i.DEFAULT_COMPONENT_SIZE,exports.ZIndexContext=r.ZIndexContext,exports.ZIndexProvider=r.ZIndexProvider,exports.Z_INDEX_LAYERS=r.Z_INDEX_LAYERS,exports.colors=t.colors,exports.gaps=t.gaps,exports.gutters=t.gutters,exports.isComponentSize=n.isComponentSize,exports.radii=t.radii,exports.resolveGap=n.resolveGap,exports.resolveSpacing=n.resolveSpacing,exports.resolveSpacingPixel=n.resolveSpacingPixel,exports.resolveWidth=a.resolveWidth,exports.spacing=t.spacing,exports.textColors=t.textColors,Object.defineProperty(exports,"theme_exports",{enumerable:!0,get:function(){return o}}),exports.useZIndex=r.useZIndex;
package/dist/index21.js CHANGED
@@ -1,26 +1,29 @@
1
- // src/theme/width.ts
2
- var e = {
3
- full: "100%",
4
- auto: "auto",
5
- fit: "fit-content",
6
- max: "max-content",
7
- min: "min-content",
8
- screen: "100vw",
9
- xxs: "6rem",
10
- xs: "8rem",
11
- sm: "12rem",
12
- md: "16rem",
13
- lg: "20rem",
14
- xl: "24rem",
15
- xxl: "32rem",
16
- "1/2": "50%",
17
- "1/3": "33.333333%",
18
- "2/3": "66.666667%",
19
- "1/4": "25%",
20
- "2/4": "50%",
21
- "3/4": "75%"
22
- };
23
- function t(t) {
24
- if (t != null) return typeof t == "number" ? `${t}px` : typeof t == "string" && t in e ? e[t] : t;
25
- }
26
- export { e as ComponentWidthPresetMap, t as resolveWidth };
1
+ import { __exportAll as e } from "./index2.js";
2
+ import { colors as t, gaps as n, gutters as r, radii as i, spacing as a, textColors as o } from "./index3.js";
3
+ import { ComponentSpacingPresetMap as s, isComponentSize as c, resolveGap as l, resolveSpacing as u, resolveSpacingPixel as d } from "./index6.js";
4
+ import { ZIndexContext as f, ZIndexProvider as p, Z_INDEX_LAYERS as m, useZIndex as h } from "./index8.js";
5
+ import { COMPONENT_SIZES as g, DEFAULT_COMPONENT_SIZE as _ } from "./index19.js";
6
+ import { ComponentWidthPresetMap as v, resolveWidth as y } from "./index20.js";
7
+ // src/theme/index.ts
8
+ var b = /* @__PURE__ */ e({
9
+ COMPONENT_SIZES: () => g,
10
+ ComponentSpacingPresetMap: () => s,
11
+ ComponentWidthPresetMap: () => v,
12
+ DEFAULT_COMPONENT_SIZE: () => "md",
13
+ ZIndexContext: () => f,
14
+ ZIndexProvider: () => p,
15
+ Z_INDEX_LAYERS: () => m,
16
+ colors: () => t,
17
+ gaps: () => n,
18
+ gutters: () => r,
19
+ isComponentSize: () => c,
20
+ radii: () => i,
21
+ resolveGap: () => l,
22
+ resolveSpacing: () => u,
23
+ resolveSpacingPixel: () => d,
24
+ resolveWidth: () => y,
25
+ spacing: () => a,
26
+ textColors: () => o,
27
+ useZIndex: () => h
28
+ });
29
+ export { g as COMPONENT_SIZES, s as ComponentSpacingPresetMap, v as ComponentWidthPresetMap, _ as DEFAULT_COMPONENT_SIZE, f as ZIndexContext, p as ZIndexProvider, m as Z_INDEX_LAYERS, t as colors, n as gaps, r as gutters, c as isComponentSize, i as radii, l as resolveGap, u as resolveSpacing, d as resolveSpacingPixel, y as resolveWidth, a as spacing, o as textColors, b as theme_exports, h as useZIndex };
package/dist/index210.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index193.cjs");function t(t,n){let r=e.default(t,n?.in);return r.setHours(0,0,0,0),r}exports.default=t,exports.startOfDay=t;
1
+ const e=require("./index187.cjs"),t=require("./index195.cjs"),n=require("./index199.cjs");function r(r,i){let a=e.default(r,i?.in);return t.default(a,n.default(a))+1}exports.default=r,exports.getDayOfYear=r;