@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/index192.js CHANGED
@@ -1,6 +1,7 @@
1
- // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js
2
- var e = {};
3
- function t() {
4
- return e;
1
+ import e from "./index187.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;
5
6
  }
6
- export { t as getDefaultOptions };
7
+ export { t as getTimezoneOffsetInMilliseconds };
package/dist/index193.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index190.cjs");function t(t,n){return e.constructFrom(n||t,t)}exports.default=t,exports.toDate=t;
1
+ const e=require("./index186.cjs");function t(t,...n){let r=e.constructFrom.bind(null,t||n.find(e=>typeof e==`object`));return n.map(r)}exports.normalizeDates=t;
package/dist/index193.js CHANGED
@@ -1,6 +1,7 @@
1
- import { constructFrom as e } from "./index190.js";
2
- // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js
3
- function t(t, n) {
4
- return e(n || t, t);
1
+ import { constructFrom as e } from "./index186.js";
2
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
3
+ function t(t, ...n) {
4
+ let r = e.bind(null, t || n.find((e) => typeof e == "object"));
5
+ return n.map(r);
5
6
  }
6
- export { t as default, t as toDate };
7
+ export { t as normalizeDates };
package/dist/index194.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index192.cjs"),t=require("./index193.cjs");function n(n,r){let i=e.getDefaultOptions(),a=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,o=t.default(n,r?.in),s=o.getDay(),c=(s<a?7:0)+s-a;return o.setDate(o.getDate()-c),o.setHours(0,0,0,0),o}exports.default=n,exports.startOfWeek=n;
1
+ const e=require("./index187.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;
package/dist/index194.js CHANGED
@@ -1,8 +1,7 @@
1
- import { getDefaultOptions as e } from "./index192.js";
2
- import t from "./index193.js";
3
- // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js
4
- function n(n, r) {
5
- let i = e(), a = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? i.weekStartsOn ?? i.locale?.options?.weekStartsOn ?? 0, o = t(n, r?.in), s = o.getDay(), c = (s < a ? 7 : 0) + s - a;
6
- return o.setDate(o.getDate() - c), o.setHours(0, 0, 0, 0), o;
1
+ import e from "./index187.js";
2
+ // ../../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;
7
6
  }
8
- export { n as default, n as startOfWeek };
7
+ export { t as default, t as startOfDay };
package/dist/index195.cjs CHANGED
@@ -1 +1 @@
1
- var e={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},t=(t,n,r)=>{let i,a=e[t];return i=typeof a==`string`?a:n===1?a.one:a.other.replace(`{{count}}`,n.toString()),r?.addSuffix?r.comparison&&r.comparison>0?`in `+i:i+` ago`:i};exports.formatDistance=t;
1
+ const e=require("./index185.cjs"),t=require("./index192.cjs"),n=require("./index193.cjs"),r=require("./index194.cjs");function i(i,a,o){let[s,c]=n.normalizeDates(o?.in,i,a),l=r.default(s),u=r.default(c),d=+l-t.getTimezoneOffsetInMilliseconds(l),f=+u-t.getTimezoneOffsetInMilliseconds(u);return Math.round((d-f)/e.millisecondsInDay)}exports.default=i,exports.differenceInCalendarDays=i;
package/dist/index195.js CHANGED
@@ -1,68 +1,10 @@
1
- // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
2
- var e = {
3
- lessThanXSeconds: {
4
- one: "less than a second",
5
- other: "less than {{count}} seconds"
6
- },
7
- xSeconds: {
8
- one: "1 second",
9
- other: "{{count}} seconds"
10
- },
11
- halfAMinute: "half a minute",
12
- lessThanXMinutes: {
13
- one: "less than a minute",
14
- other: "less than {{count}} minutes"
15
- },
16
- xMinutes: {
17
- one: "1 minute",
18
- other: "{{count}} minutes"
19
- },
20
- aboutXHours: {
21
- one: "about 1 hour",
22
- other: "about {{count}} hours"
23
- },
24
- xHours: {
25
- one: "1 hour",
26
- other: "{{count}} hours"
27
- },
28
- xDays: {
29
- one: "1 day",
30
- other: "{{count}} days"
31
- },
32
- aboutXWeeks: {
33
- one: "about 1 week",
34
- other: "about {{count}} weeks"
35
- },
36
- xWeeks: {
37
- one: "1 week",
38
- other: "{{count}} weeks"
39
- },
40
- aboutXMonths: {
41
- one: "about 1 month",
42
- other: "about {{count}} months"
43
- },
44
- xMonths: {
45
- one: "1 month",
46
- other: "{{count}} months"
47
- },
48
- aboutXYears: {
49
- one: "about 1 year",
50
- other: "about {{count}} years"
51
- },
52
- xYears: {
53
- one: "1 year",
54
- other: "{{count}} years"
55
- },
56
- overXYears: {
57
- one: "over 1 year",
58
- other: "over {{count}} years"
59
- },
60
- almostXYears: {
61
- one: "almost 1 year",
62
- other: "almost {{count}} years"
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}}", n.toString()), r?.addSuffix ? r.comparison && r.comparison > 0 ? "in " + i : i + " ago" : i;
67
- };
68
- export { t as formatDistance };
1
+ import { millisecondsInDay as e } from "./index185.js";
2
+ import { getTimezoneOffsetInMilliseconds as t } from "./index192.js";
3
+ import { normalizeDates as n } from "./index193.js";
4
+ import r from "./index194.js";
5
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
6
+ function i(i, a, o) {
7
+ let [s, c] = n(o?.in, i, a), l = r(s), u = r(c), d = +l - t(l), f = +u - t(u);
8
+ return Math.round((d - f) / e);
9
+ }
10
+ export { i as default, i as differenceInCalendarDays };
package/dist/index196.cjs CHANGED
@@ -1 +1 @@
1
- var e={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},t=(t,n,r,i)=>e[t];exports.formatRelative=t;
1
+ const e=require("./index186.cjs"),t=require("./index190.cjs"),n=require("./index191.cjs");function r(r,i){let a=n.default(r,i),o=e.constructFrom(i?.in||r,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),t.default(o)}exports.default=r,exports.startOfISOWeekYear=r;
package/dist/index196.js CHANGED
@@ -1,10 +1,9 @@
1
- // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js
2
- var e = {
3
- lastWeek: "'last' eeee 'at' p",
4
- yesterday: "'yesterday at' p",
5
- today: "'today at' p",
6
- tomorrow: "'tomorrow at' p",
7
- nextWeek: "eeee 'at' p",
8
- other: "P"
9
- }, t = (t, n, r, i) => e[t];
10
- export { t as formatRelative };
1
+ import { constructFrom as e } from "./index186.js";
2
+ import t from "./index190.js";
3
+ import n from "./index191.js";
4
+ // ../../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
+ export { r as default, r as startOfISOWeekYear };
package/dist/index197.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index186.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;
1
+ function e(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}exports.default=e,exports.isDate=e;
package/dist/index197.js CHANGED
@@ -1,201 +1,5 @@
1
- import { buildLocalizeFn as e } from "./index186.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
- export { t as localize };
1
+ // ../../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
+ export { e as default, e as isDate };
package/dist/index198.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index187.cjs");var t={ordinalNumber:require("./index188.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;
1
+ const e=require("./index187.cjs"),t=require("./index197.cjs");function n(n){return!(!t.default(n)&&typeof n!=`number`||isNaN(+e.default(n)))}exports.default=n,exports.isValid=n;
package/dist/index198.js CHANGED
@@ -1,123 +1,7 @@
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+)(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 };
1
+ import e from "./index187.js";
2
+ import t from "./index197.js";
3
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js
4
+ function n(n) {
5
+ return !(!t(n) && typeof n != "number" || isNaN(+e(n)));
6
+ }
7
+ export { n as default, n as isValid };
package/dist/index199.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index185.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;
1
+ const e=require("./index187.cjs");function t(t,n){let r=e.default(t,n?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}exports.default=t,exports.startOfYear=t;
package/dist/index199.js CHANGED
@@ -1,31 +1,7 @@
1
- import { buildFormatLongFn as e } from "./index185.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
- export { t as formatLong };
1
+ import e from "./index187.js";
2
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js
3
+ function t(t, n) {
4
+ let r = e(t, n?.in);
5
+ return r.setFullYear(r.getFullYear(), 0, 1), r.setHours(0, 0, 0, 0), r;
6
+ }
7
+ export { t as default, t as startOfYear };
package/dist/index20.cjs CHANGED
@@ -1 +1 @@
1
- var e=[`xxs`,`xs`,`sm`,`md`,`lg`,`xl`,`xxl`],t=`md`;exports.COMPONENT_SIZES=e,exports.DEFAULT_COMPONENT_SIZE=t;
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;
package/dist/index20.js CHANGED
@@ -1,11 +1,26 @@
1
- // src/theme/types.ts
2
- var e = [
3
- "xxs",
4
- "xs",
5
- "sm",
6
- "md",
7
- "lg",
8
- "xl",
9
- "xxl"
10
- ], t = "md";
11
- export { e as COMPONENT_SIZES, t as DEFAULT_COMPONENT_SIZE };
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 };
package/dist/index200.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index195.cjs"),t=require("./index196.cjs"),n=require("./index197.cjs"),r=require("./index198.cjs"),i=require("./index199.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,exports.enUS=a;
1
+ var e={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},t=(t,n,r)=>{let i,a=e[t];return i=typeof a==`string`?a:n===1?a.one:a.other.replace(`{{count}}`,n.toString()),r?.addSuffix?r.comparison&&r.comparison>0?`in `+i:i+` ago`:i};exports.formatDistance=t;