@vlrc-fe/components 1.0.7 → 1.0.8

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 (448) hide show
  1. package/dist/MultiSelect/type.d.ts +2 -2
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.js +64 -41
  4. package/dist/index10.cjs +1 -1
  5. package/dist/index10.js +46 -80
  6. package/dist/index100.cjs +1 -1
  7. package/dist/index100.js +22 -60
  8. package/dist/index101.cjs +1 -1
  9. package/dist/index101.js +1147 -43
  10. package/dist/index102.cjs +1 -1
  11. package/dist/index102.js +30 -64
  12. package/dist/index103.cjs +1 -1
  13. package/dist/index103.js +31 -147
  14. package/dist/index104.cjs +1 -1
  15. package/dist/index104.js +93 -19
  16. package/dist/index105.cjs +1 -1
  17. package/dist/index105.js +80 -25
  18. package/dist/index106.cjs +1 -1
  19. package/dist/index106.js +9 -50
  20. package/dist/index107.cjs +1 -1
  21. package/dist/index107.js +30 -156
  22. package/dist/index108.cjs +1 -1
  23. package/dist/index108.js +350 -14
  24. package/dist/index109.cjs +1 -1
  25. package/dist/index109.js +11 -0
  26. package/dist/index11.cjs +1 -1
  27. package/dist/index11.js +55 -60
  28. package/dist/index110.cjs +1 -0
  29. package/dist/index110.js +430 -0
  30. package/dist/index111.cjs +1 -0
  31. package/dist/index111.js +36 -0
  32. package/dist/index112.cjs +1 -0
  33. package/dist/index112.js +28 -0
  34. package/dist/index113.cjs +1 -0
  35. package/dist/index113.js +14 -0
  36. package/dist/index114.cjs +1 -0
  37. package/dist/index114.js +156 -0
  38. package/dist/index115.cjs +1 -0
  39. package/dist/index115.js +19 -0
  40. package/dist/index116.cjs +1 -0
  41. package/dist/index116.js +67 -0
  42. package/dist/index117.cjs +1 -0
  43. package/dist/index117.js +118 -0
  44. package/dist/index118.cjs +1 -0
  45. package/dist/index118.js +36 -0
  46. package/dist/index119.cjs +1 -0
  47. package/dist/index119.js +13 -0
  48. package/dist/index12.cjs +1 -1
  49. package/dist/index12.js +44 -121
  50. package/dist/index120.cjs +1 -0
  51. package/dist/index120.js +31 -0
  52. package/dist/index121.cjs +1 -0
  53. package/dist/index121.js +37 -0
  54. package/dist/index122.cjs +1 -0
  55. package/dist/index122.js +123 -0
  56. package/dist/index123.cjs +1 -0
  57. package/dist/index123.js +44 -0
  58. package/dist/index124.cjs +1 -0
  59. package/dist/index124.js +43 -0
  60. package/dist/index125.cjs +1 -0
  61. package/dist/index125.js +14 -0
  62. package/dist/index126.cjs +1 -0
  63. package/dist/index126.js +64 -0
  64. package/dist/index127.cjs +1 -0
  65. package/dist/index127.js +23 -0
  66. package/dist/index128.cjs +1 -0
  67. package/dist/index128.js +34 -0
  68. package/dist/index129.cjs +1 -0
  69. package/dist/index129.js +27 -0
  70. package/dist/index13.cjs +1 -1
  71. package/dist/index13.js +30 -12
  72. package/dist/index130.cjs +1 -0
  73. package/dist/index130.js +26 -0
  74. package/dist/index131.cjs +1 -0
  75. package/dist/index131.js +157 -0
  76. package/dist/index132.cjs +1 -0
  77. package/dist/index132.js +34 -0
  78. package/dist/index133.cjs +1 -0
  79. package/dist/index133.js +46 -0
  80. package/dist/index134.cjs +1 -0
  81. package/dist/index134.js +142 -0
  82. package/dist/index135.cjs +1 -0
  83. package/dist/index135.js +125 -0
  84. package/dist/index136.cjs +1 -0
  85. package/dist/index136.js +26 -0
  86. package/dist/index137.cjs +1 -0
  87. package/dist/index137.js +88 -0
  88. package/dist/index138.cjs +1 -0
  89. package/dist/index138.js +221 -0
  90. package/dist/index139.cjs +1 -0
  91. package/dist/index139.js +166 -0
  92. package/dist/index14.cjs +1 -1
  93. package/dist/index14.js +8 -12
  94. package/dist/index140.cjs +1 -0
  95. package/dist/index140.js +126 -0
  96. package/dist/index141.cjs +1 -0
  97. package/dist/index141.js +15 -0
  98. package/dist/index142.cjs +1 -0
  99. package/dist/index142.js +9 -0
  100. package/dist/index143.cjs +1 -0
  101. package/dist/index143.js +17 -0
  102. package/dist/index144.cjs +1 -0
  103. package/dist/index144.js +22 -0
  104. package/dist/index145.cjs +1 -0
  105. package/dist/index145.js +18 -0
  106. package/dist/index146.cjs +1 -0
  107. package/dist/index146.js +6 -0
  108. package/dist/index147.cjs +1 -0
  109. package/dist/index147.js +7 -0
  110. package/dist/index148.cjs +1 -0
  111. package/dist/index148.js +8 -0
  112. package/dist/index149.cjs +1 -0
  113. package/dist/index149.js +7 -0
  114. package/dist/index15.cjs +1 -1
  115. package/dist/index15.js +12 -112
  116. package/dist/index150.cjs +1 -0
  117. package/dist/index150.js +7 -0
  118. package/dist/index151.cjs +1 -0
  119. package/dist/index151.js +9 -0
  120. package/dist/index152.cjs +1 -0
  121. package/dist/index152.js +69 -0
  122. package/dist/index153.cjs +1 -0
  123. package/dist/index153.js +11 -0
  124. package/dist/index154.cjs +1 -0
  125. package/dist/index154.js +202 -0
  126. package/dist/index155.cjs +1 -0
  127. package/dist/index155.js +124 -0
  128. package/dist/index156.cjs +1 -0
  129. package/dist/index156.js +32 -0
  130. package/dist/index157.cjs +1 -0
  131. package/dist/index157.js +20 -0
  132. package/dist/index158.cjs +1 -0
  133. package/dist/index158.js +69 -0
  134. package/dist/index159.cjs +1 -0
  135. package/dist/index159.js +32 -0
  136. package/dist/index16.cjs +1 -1
  137. package/dist/index16.js +4 -726
  138. package/dist/index160.cjs +1 -0
  139. package/dist/index160.js +11 -0
  140. package/dist/index161.cjs +1 -0
  141. package/dist/index161.js +280 -0
  142. package/dist/index162.cjs +1 -0
  143. package/dist/index162.js +157 -0
  144. package/dist/index163.cjs +1 -0
  145. package/dist/index163.js +20 -0
  146. package/dist/index164.cjs +1 -0
  147. package/dist/index164.js +10 -0
  148. package/dist/index165.cjs +1 -0
  149. package/dist/index165.js +14 -0
  150. package/dist/index166.cjs +1 -0
  151. package/dist/index166.js +8 -0
  152. package/dist/index167.cjs +1 -0
  153. package/dist/index167.js +8 -0
  154. package/dist/index168.cjs +1 -0
  155. package/dist/index168.js +11 -0
  156. package/dist/index169.cjs +1 -0
  157. package/dist/index169.js +10 -0
  158. package/dist/index17.cjs +1 -1
  159. package/dist/index17.js +79 -339
  160. package/dist/index170.cjs +1 -0
  161. package/dist/index170.js +6 -0
  162. package/dist/index171.cjs +1 -0
  163. package/dist/index171.js +8 -0
  164. package/dist/index172.cjs +1 -0
  165. package/dist/index172.js +8 -0
  166. package/dist/index173.cjs +1 -0
  167. package/dist/index173.js +10 -0
  168. package/dist/index174.cjs +1 -0
  169. package/dist/index174.js +11 -0
  170. package/dist/index175.cjs +1 -0
  171. package/dist/index175.js +15 -0
  172. package/dist/index176.cjs +1 -0
  173. package/dist/index176.js +11 -0
  174. package/dist/index177.cjs +1 -0
  175. package/dist/index177.js +11 -0
  176. package/dist/index178.cjs +1 -0
  177. package/dist/index178.js +6 -0
  178. package/dist/index179.cjs +1 -0
  179. package/dist/index179.js +43 -0
  180. package/dist/index18.cjs +1 -1
  181. package/dist/index18.js +19 -66
  182. package/dist/index180.cjs +1 -0
  183. package/dist/index180.js +382 -0
  184. package/dist/index181.cjs +1 -0
  185. package/dist/index181.js +40 -0
  186. package/dist/index182.cjs +1 -0
  187. package/dist/index182.js +23 -0
  188. package/dist/index183.cjs +1 -0
  189. package/dist/index183.js +59 -0
  190. package/dist/index184.cjs +1 -0
  191. package/dist/index184.js +55 -0
  192. package/dist/index185.cjs +1 -0
  193. package/dist/index185.js +54 -0
  194. package/dist/index186.cjs +1 -0
  195. package/dist/index186.js +57 -0
  196. package/dist/index187.cjs +1 -0
  197. package/dist/index187.js +57 -0
  198. package/dist/index188.cjs +1 -0
  199. package/dist/index188.js +88 -0
  200. package/dist/index189.cjs +1 -0
  201. package/dist/index189.js +66 -0
  202. package/dist/index19.cjs +1 -1
  203. package/dist/index19.js +18 -8
  204. package/dist/index190.cjs +1 -0
  205. package/dist/index190.js +594 -0
  206. package/dist/index191.cjs +9 -0
  207. package/dist/index191.js +30 -0
  208. package/dist/index192.cjs +1 -0
  209. package/dist/index192.js +50 -0
  210. package/dist/index193.cjs +1 -0
  211. package/dist/index193.js +65 -0
  212. package/dist/index194.cjs +1 -0
  213. package/dist/index194.js +48 -0
  214. package/dist/index195.cjs +1 -0
  215. package/dist/index195.js +67 -0
  216. package/dist/index196.cjs +1 -0
  217. package/dist/index196.js +151 -0
  218. package/dist/index197.cjs +1 -0
  219. package/dist/index197.js +23 -0
  220. package/dist/index198.cjs +1 -0
  221. package/dist/index198.js +27 -0
  222. package/dist/index199.cjs +1 -0
  223. package/dist/index199.js +53 -0
  224. package/dist/index20.cjs +1 -1
  225. package/dist/index20.js +51 -98
  226. package/dist/index200.cjs +1 -0
  227. package/dist/index200.js +161 -0
  228. package/dist/index201.cjs +1 -0
  229. package/dist/index201.js +16 -0
  230. package/dist/index202.cjs +1 -0
  231. package/dist/index21.cjs +1 -1
  232. package/dist/index21.js +81 -28
  233. package/dist/index22.cjs +1 -1
  234. package/dist/index22.js +64 -14
  235. package/dist/index23.cjs +1 -1
  236. package/dist/index23.js +25 -22
  237. package/dist/index24.cjs +1 -1
  238. package/dist/index24.js +1014 -33
  239. package/dist/index25.cjs +1 -1
  240. package/dist/index25.js +22 -96
  241. package/dist/index26.cjs +1 -1
  242. package/dist/index26.js +108 -25
  243. package/dist/index27.cjs +1 -1
  244. package/dist/index27.js +15 -9
  245. package/dist/index28.cjs +1 -1
  246. package/dist/index28.js +20 -66
  247. package/dist/index29.cjs +1 -1
  248. package/dist/index29.js +81 -11
  249. package/dist/index30.cjs +1 -1
  250. package/dist/index30.js +91 -29
  251. package/dist/index31.cjs +1 -1
  252. package/dist/index31.js +14 -41
  253. package/dist/index32.cjs +1 -1
  254. package/dist/index32.js +93 -12
  255. package/dist/index33.cjs +1 -1
  256. package/dist/index33.js +22 -62
  257. package/dist/index34.cjs +1 -1
  258. package/dist/index34.js +84 -22
  259. package/dist/index35.cjs +1 -1
  260. package/dist/index35.js +85 -33
  261. package/dist/index36.cjs +1 -1
  262. package/dist/index36.js +407 -25
  263. package/dist/index37.cjs +1 -1
  264. package/dist/index37.js +170 -25
  265. package/dist/index38.cjs +1 -1
  266. package/dist/index38.js +28 -154
  267. package/dist/index39.cjs +1 -1
  268. package/dist/index39.js +158 -33
  269. package/dist/index40.cjs +1 -1
  270. package/dist/index40.js +104 -45
  271. package/dist/index41.cjs +1 -1
  272. package/dist/index41.js +337 -140
  273. package/dist/index42.cjs +1 -1
  274. package/dist/index42.js +96 -124
  275. package/dist/index43.cjs +1 -1
  276. package/dist/index43.js +319 -23
  277. package/dist/index44.cjs +1 -1
  278. package/dist/index44.js +205 -81
  279. package/dist/index45.cjs +1 -1
  280. package/dist/index45.js +33 -220
  281. package/dist/index46.cjs +1 -1
  282. package/dist/index46.js +161 -163
  283. package/dist/index47.cjs +1 -1
  284. package/dist/index47.js +20 -125
  285. package/dist/index48.cjs +1 -1
  286. package/dist/index48.js +24 -14
  287. package/dist/index49.cjs +1 -1
  288. package/dist/index49.js +167 -7
  289. package/dist/index5.js +26 -14
  290. package/dist/index50.cjs +1 -1
  291. package/dist/index50.js +44 -15
  292. package/dist/index51.cjs +1 -1
  293. package/dist/index51.js +15 -18
  294. package/dist/index52.cjs +1 -1
  295. package/dist/index52.js +3 -17
  296. package/dist/index53.cjs +1 -1
  297. package/dist/index53.js +5 -5
  298. package/dist/index54.cjs +1 -1
  299. package/dist/index54.js +19 -4
  300. package/dist/index55.cjs +1 -1
  301. package/dist/index55.js +24 -6
  302. package/dist/index56.cjs +1 -1
  303. package/dist/index56.js +66 -4
  304. package/dist/index57.cjs +1 -1
  305. package/dist/index57.js +14 -5
  306. package/dist/index58.cjs +1 -1
  307. package/dist/index58.js +4 -8
  308. package/dist/index59.cjs +1 -1
  309. package/dist/index59.js +50 -67
  310. package/dist/index6.cjs +1 -1
  311. package/dist/index6.js +85 -46
  312. package/dist/index60.cjs +1 -1
  313. package/dist/index60.js +6 -10
  314. package/dist/index61.cjs +1 -1
  315. package/dist/index61.js +25 -199
  316. package/dist/index62.cjs +1 -1
  317. package/dist/index62.js +13 -122
  318. package/dist/index63.cjs +1 -1
  319. package/dist/index63.js +9 -30
  320. package/dist/index64.cjs +1 -1
  321. package/dist/index64.js +3 -20
  322. package/dist/index65.cjs +1 -1
  323. package/dist/index65.js +24 -66
  324. package/dist/index66.cjs +1 -1
  325. package/dist/index66.js +68 -30
  326. package/dist/index67.cjs +38 -1
  327. package/dist/index67.js +3 -11
  328. package/dist/index68.cjs +1 -1
  329. package/dist/index68.js +12 -279
  330. package/dist/index69.cjs +1 -1
  331. package/dist/index69.js +50 -155
  332. package/dist/index7.cjs +1 -1
  333. package/dist/index7.js +29 -85
  334. package/dist/index70.cjs +1 -1
  335. package/dist/index70.js +115 -19
  336. package/dist/index71.cjs +4 -1
  337. package/dist/index71.js +6 -9
  338. package/dist/index72.cjs +1 -1
  339. package/dist/index72.js +12 -12
  340. package/dist/index73.cjs +1 -1
  341. package/dist/index73.js +539 -6
  342. package/dist/index74.cjs +1 -1
  343. package/dist/index74.js +197 -6
  344. package/dist/index75.cjs +1 -1
  345. package/dist/index75.js +120 -9
  346. package/dist/index76.cjs +1 -1
  347. package/dist/index76.js +912 -8
  348. package/dist/index77.cjs +3 -1
  349. package/dist/index77.js +76 -4
  350. package/dist/index78.cjs +1 -1
  351. package/dist/index78.js +120 -6
  352. package/dist/index79.cjs +1 -1
  353. package/dist/index79.js +12 -6
  354. package/dist/index8.cjs +1 -1
  355. package/dist/index8.js +35 -62
  356. package/dist/index80.cjs +1 -1
  357. package/dist/index80.js +14 -8
  358. package/dist/index81.cjs +1 -1
  359. package/dist/index81.js +113 -9
  360. package/dist/index82.cjs +1 -1
  361. package/dist/index82.js +725 -13
  362. package/dist/index83.cjs +1 -1
  363. package/dist/index83.js +346 -9
  364. package/dist/index84.cjs +1 -1
  365. package/dist/index84.js +74 -9
  366. package/dist/index85.cjs +1 -1
  367. package/dist/index85.js +148 -4
  368. package/dist/index86.cjs +1 -1
  369. package/dist/index86.js +31 -42
  370. package/dist/index87.cjs +1 -1
  371. package/dist/index87.js +12 -380
  372. package/dist/index88.cjs +1 -1
  373. package/dist/index88.js +345 -37
  374. package/dist/index89.cjs +20 -1
  375. package/dist/index89.js +40 -18
  376. package/dist/index9.cjs +1 -1
  377. package/dist/index9.js +85 -17
  378. package/dist/index90.cjs +1 -1
  379. package/dist/index90.js +113 -56
  380. package/dist/index91.cjs +1 -1
  381. package/dist/index91.js +272 -51
  382. package/dist/index92.cjs +1 -1
  383. package/dist/index92.js +129 -50
  384. package/dist/index93.cjs +1 -1
  385. package/dist/index93.js +13 -54
  386. package/dist/index94.cjs +1 -1
  387. package/dist/index94.js +28 -55
  388. package/dist/index95.cjs +1 -1
  389. package/dist/index95.js +525 -80
  390. package/dist/index96.cjs +1 -1
  391. package/dist/index96.js +75 -61
  392. package/dist/index97.cjs +1 -1
  393. package/dist/index97.js +67 -583
  394. package/dist/index98.cjs +1 -9
  395. package/dist/index98.js +32 -27
  396. package/dist/index99.cjs +1 -1
  397. package/dist/index99.js +17 -49
  398. package/dist/ui/alert-dialog.d.ts +15 -0
  399. package/dist/ui/alert-dialog.d.ts.map +1 -0
  400. package/dist/ui/alert.d.ts +10 -0
  401. package/dist/ui/alert.d.ts.map +1 -0
  402. package/dist/ui/aspect-ratio.d.ts +4 -0
  403. package/dist/ui/aspect-ratio.d.ts.map +1 -0
  404. package/dist/ui/avatar.d.ts +7 -0
  405. package/dist/ui/avatar.d.ts.map +1 -0
  406. package/dist/ui/badge.d.ts +1 -1
  407. package/dist/ui/breadcrumb.d.ts +12 -0
  408. package/dist/ui/breadcrumb.d.ts.map +1 -0
  409. package/dist/ui/button.d.ts +1 -1
  410. package/dist/ui/carousel.d.ts +20 -0
  411. package/dist/ui/carousel.d.ts.map +1 -0
  412. package/dist/ui/collapsible.d.ts +6 -0
  413. package/dist/ui/collapsible.d.ts.map +1 -0
  414. package/dist/ui/context-menu.d.ts +26 -0
  415. package/dist/ui/context-menu.d.ts.map +1 -0
  416. package/dist/ui/drawer.d.ts +14 -0
  417. package/dist/ui/drawer.d.ts.map +1 -0
  418. package/dist/ui/hover-card.d.ts +7 -0
  419. package/dist/ui/hover-card.d.ts.map +1 -0
  420. package/dist/ui/index.d.ts +23 -0
  421. package/dist/ui/index.d.ts.map +1 -1
  422. package/dist/ui/input-otp.d.ts +12 -0
  423. package/dist/ui/input-otp.d.ts.map +1 -0
  424. package/dist/ui/menubar.d.ts +27 -0
  425. package/dist/ui/menubar.d.ts.map +1 -0
  426. package/dist/ui/navigation-menu.d.ts +15 -0
  427. package/dist/ui/navigation-menu.d.ts.map +1 -0
  428. package/dist/ui/pagination.d.ts +14 -0
  429. package/dist/ui/pagination.d.ts.map +1 -0
  430. package/dist/ui/resizable.d.ts +9 -0
  431. package/dist/ui/resizable.d.ts.map +1 -0
  432. package/dist/ui/sheet.d.ts +14 -0
  433. package/dist/ui/sheet.d.ts.map +1 -0
  434. package/dist/ui/sidebar.d.ts +70 -0
  435. package/dist/ui/sidebar.d.ts.map +1 -0
  436. package/dist/ui/skeleton.d.ts +3 -0
  437. package/dist/ui/skeleton.d.ts.map +1 -0
  438. package/dist/ui/slider.d.ts +5 -0
  439. package/dist/ui/slider.d.ts.map +1 -0
  440. package/dist/ui/switch.d.ts +5 -0
  441. package/dist/ui/switch.d.ts.map +1 -0
  442. package/dist/ui/tabs.d.ts +8 -0
  443. package/dist/ui/tabs.d.ts.map +1 -0
  444. package/dist/ui/toggle-group.d.ts +8 -0
  445. package/dist/ui/toggle-group.d.ts.map +1 -0
  446. package/dist/ui/toggle.d.ts +10 -0
  447. package/dist/ui/toggle.d.ts.map +1 -0
  448. package/package.json +23 -5
package/dist/index18.js CHANGED
@@ -1,76 +1,29 @@
1
1
  "use client";
2
2
  import { cn as e } from "./index3.js";
3
- import { Label as t } from "./index13.js";
4
- import { Controller as n, FormProvider as r, useFormContext as i, useFormState as a } from "./index17.js";
5
- import * as o from "react";
6
- import { jsx as s } from "react/jsx-runtime";
7
- import { Slot as c } from "@radix-ui/react-slot";
8
- //#region src/ui/form.tsx
9
- var l = r, u = o.createContext({}), d = ({ ...e }) => /* @__PURE__ */ s(u.Provider, {
10
- value: { name: e.name },
11
- children: /* @__PURE__ */ s(n, { ...e })
12
- }), f = () => {
13
- let e = o.useContext(u), t = o.useContext(p), { getFieldState: n } = i(), r = a({ name: e.name }), s = n(e.name, r);
14
- if (!e) throw Error("useFormField should be used within <FormField>");
15
- let { id: c } = t;
16
- return {
17
- id: c,
18
- name: e.name,
19
- formItemId: `${c}-form-item`,
20
- formDescriptionId: `${c}-form-item-description`,
21
- formMessageId: `${c}-form-item-message`,
22
- ...s
23
- };
24
- }, p = o.createContext({});
25
- function m({ className: t, ...n }) {
26
- let r = o.useId();
27
- return /* @__PURE__ */ s(p.Provider, {
28
- value: { id: r },
29
- children: /* @__PURE__ */ s("div", {
30
- "data-slot": "form-item",
31
- className: e("grid gap-2", t),
32
- ...n
33
- })
34
- });
35
- }
36
- function h({ className: n, ...r }) {
37
- let { error: i, formItemId: a } = f();
38
- return /* @__PURE__ */ s(t, {
39
- "data-slot": "form-label",
40
- "data-error": !!i,
41
- className: e("data-[error=true]:text-destructive", n),
42
- htmlFor: a,
3
+ import { Avatar as t, AvatarFallback as n, AvatarImage as r } from "./index17.js";
4
+ import "react";
5
+ import { jsx as i } from "react/jsx-runtime";
6
+ //#region src/ui/avatar.tsx
7
+ function a({ className: n, ...r }) {
8
+ return /* @__PURE__ */ i(t, {
9
+ "data-slot": "avatar",
10
+ className: e("relative flex size-8 shrink-0 overflow-hidden rounded-full", n),
43
11
  ...r
44
12
  });
45
13
  }
46
- function g({ ...e }) {
47
- let { error: t, formItemId: n, formDescriptionId: r, formMessageId: i } = f();
48
- return /* @__PURE__ */ s(c, {
49
- "data-slot": "form-control",
50
- id: n,
51
- "aria-describedby": t ? `${r} ${i}` : `${r}`,
52
- "aria-invalid": !!t,
53
- ...e
54
- });
55
- }
56
- function _({ className: t, ...n }) {
57
- let { formDescriptionId: r } = f();
58
- return /* @__PURE__ */ s("p", {
59
- "data-slot": "form-description",
60
- id: r,
61
- className: e("text-muted-foreground text-sm", t),
14
+ function o({ className: t, ...n }) {
15
+ return /* @__PURE__ */ i(r, {
16
+ "data-slot": "avatar-image",
17
+ className: e("aspect-square size-full", t),
62
18
  ...n
63
19
  });
64
20
  }
65
- function v({ className: t, ...n }) {
66
- let { error: r, formMessageId: i } = f(), a = r ? String(r?.message ?? "") : n.children;
67
- return a ? /* @__PURE__ */ s("p", {
68
- "data-slot": "form-message",
69
- id: i,
70
- className: e("text-destructive text-sm", t),
71
- ...n,
72
- children: a
73
- }) : null;
21
+ function s({ className: t, ...r }) {
22
+ return /* @__PURE__ */ i(n, {
23
+ "data-slot": "avatar-fallback",
24
+ className: e("bg-muted flex size-full items-center justify-center rounded-full", t),
25
+ ...r
26
+ });
74
27
  }
75
28
  //#endregion
76
- export { l as Form, g as FormControl, _ as FormDescription, d as FormField, m as FormItem, h as FormLabel, v as FormMessage, f as useFormField };
29
+ export { a as Avatar, s as AvatarFallback, o as AvatarImage };
@@ -0,0 +1 @@
1
+ const e=require("./index179.cjs");var t={y(t,n){let r=t.getFullYear(),i=r>0?r:1-r;return e.addLeadingZeros(n===`yy`?i%100:i,n.length)},M(t,n){let r=t.getMonth();return n===`M`?String(r+1):e.addLeadingZeros(r+1,2)},d(t,n){return e.addLeadingZeros(t.getDate(),n.length)},a(e,t){let n=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.toUpperCase();case`aaa`:return n;case`aaaaa`:return n[0];default:return n===`am`?`a.m.`:`p.m.`}},h(t,n){return e.addLeadingZeros(t.getHours()%12||12,n.length)},H(t,n){return e.addLeadingZeros(t.getHours(),n.length)},m(t,n){return e.addLeadingZeros(t.getMinutes(),n.length)},s(t,n){return e.addLeadingZeros(t.getSeconds(),n.length)},S(t,n){let r=n.length,i=t.getMilliseconds();return e.addLeadingZeros(Math.trunc(i*10**(r-3)),n.length)}};exports.lightFormatters=t;
@@ -0,0 +1,382 @@
1
+ import e from "./index165.js";
2
+ import t from "./index173.js";
3
+ import n from "./index174.js";
4
+ import r from "./index175.js";
5
+ import i from "./index177.js";
6
+ import { addLeadingZeros as a } from "./index178.js";
7
+ import { lightFormatters as o } from "./index179.js";
8
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js
9
+ var s = {
10
+ am: "am",
11
+ pm: "pm",
12
+ midnight: "midnight",
13
+ noon: "noon",
14
+ morning: "morning",
15
+ afternoon: "afternoon",
16
+ evening: "evening",
17
+ night: "night"
18
+ }, c = {
19
+ G: function(e, t, n) {
20
+ let r = +(e.getFullYear() > 0);
21
+ switch (t) {
22
+ case "G":
23
+ case "GG":
24
+ case "GGG": return n.era(r, { width: "abbreviated" });
25
+ case "GGGGG": return n.era(r, { width: "narrow" });
26
+ default: return n.era(r, { width: "wide" });
27
+ }
28
+ },
29
+ y: function(e, t, n) {
30
+ if (t === "yo") {
31
+ let t = e.getFullYear(), r = t > 0 ? t : 1 - t;
32
+ return n.ordinalNumber(r, { unit: "year" });
33
+ }
34
+ return o.y(e, t);
35
+ },
36
+ Y: function(e, t, n, i) {
37
+ let o = r(e, i), s = o > 0 ? o : 1 - o;
38
+ return t === "YY" ? a(s % 100, 2) : t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : a(s, t.length);
39
+ },
40
+ R: function(t, n) {
41
+ return a(e(t), n.length);
42
+ },
43
+ u: function(e, t) {
44
+ return a(e.getFullYear(), t.length);
45
+ },
46
+ Q: function(e, t, n) {
47
+ let r = Math.ceil((e.getMonth() + 1) / 3);
48
+ switch (t) {
49
+ case "Q": return String(r);
50
+ case "QQ": return a(r, 2);
51
+ case "Qo": return n.ordinalNumber(r, { unit: "quarter" });
52
+ case "QQQ": return n.quarter(r, {
53
+ width: "abbreviated",
54
+ context: "formatting"
55
+ });
56
+ case "QQQQQ": return n.quarter(r, {
57
+ width: "narrow",
58
+ context: "formatting"
59
+ });
60
+ default: return n.quarter(r, {
61
+ width: "wide",
62
+ context: "formatting"
63
+ });
64
+ }
65
+ },
66
+ q: function(e, t, n) {
67
+ let r = Math.ceil((e.getMonth() + 1) / 3);
68
+ switch (t) {
69
+ case "q": return String(r);
70
+ case "qq": return a(r, 2);
71
+ case "qo": return n.ordinalNumber(r, { unit: "quarter" });
72
+ case "qqq": return n.quarter(r, {
73
+ width: "abbreviated",
74
+ context: "standalone"
75
+ });
76
+ case "qqqqq": return n.quarter(r, {
77
+ width: "narrow",
78
+ context: "standalone"
79
+ });
80
+ default: return n.quarter(r, {
81
+ width: "wide",
82
+ context: "standalone"
83
+ });
84
+ }
85
+ },
86
+ M: function(e, t, n) {
87
+ let r = e.getMonth();
88
+ switch (t) {
89
+ case "M":
90
+ case "MM": return o.M(e, t);
91
+ case "Mo": return n.ordinalNumber(r + 1, { unit: "month" });
92
+ case "MMM": return n.month(r, {
93
+ width: "abbreviated",
94
+ context: "formatting"
95
+ });
96
+ case "MMMMM": return n.month(r, {
97
+ width: "narrow",
98
+ context: "formatting"
99
+ });
100
+ default: return n.month(r, {
101
+ width: "wide",
102
+ context: "formatting"
103
+ });
104
+ }
105
+ },
106
+ L: function(e, t, n) {
107
+ let r = e.getMonth();
108
+ switch (t) {
109
+ case "L": return String(r + 1);
110
+ case "LL": return a(r + 1, 2);
111
+ case "Lo": return n.ordinalNumber(r + 1, { unit: "month" });
112
+ case "LLL": return n.month(r, {
113
+ width: "abbreviated",
114
+ context: "standalone"
115
+ });
116
+ case "LLLLL": return n.month(r, {
117
+ width: "narrow",
118
+ context: "standalone"
119
+ });
120
+ default: return n.month(r, {
121
+ width: "wide",
122
+ context: "standalone"
123
+ });
124
+ }
125
+ },
126
+ w: function(e, t, n, r) {
127
+ let o = i(e, r);
128
+ return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) : a(o, t.length);
129
+ },
130
+ I: function(e, t, r) {
131
+ let i = n(e);
132
+ return t === "Io" ? r.ordinalNumber(i, { unit: "week" }) : a(i, t.length);
133
+ },
134
+ d: function(e, t, n) {
135
+ return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : o.d(e, t);
136
+ },
137
+ D: function(e, n, r) {
138
+ let i = t(e);
139
+ return n === "Do" ? r.ordinalNumber(i, { unit: "dayOfYear" }) : a(i, n.length);
140
+ },
141
+ E: function(e, t, n) {
142
+ let r = e.getDay();
143
+ switch (t) {
144
+ case "E":
145
+ case "EE":
146
+ case "EEE": return n.day(r, {
147
+ width: "abbreviated",
148
+ context: "formatting"
149
+ });
150
+ case "EEEEE": return n.day(r, {
151
+ width: "narrow",
152
+ context: "formatting"
153
+ });
154
+ case "EEEEEE": return n.day(r, {
155
+ width: "short",
156
+ context: "formatting"
157
+ });
158
+ default: return n.day(r, {
159
+ width: "wide",
160
+ context: "formatting"
161
+ });
162
+ }
163
+ },
164
+ e: function(e, t, n, r) {
165
+ let i = e.getDay(), o = (i - r.weekStartsOn + 8) % 7 || 7;
166
+ switch (t) {
167
+ case "e": return String(o);
168
+ case "ee": return a(o, 2);
169
+ case "eo": return n.ordinalNumber(o, { unit: "day" });
170
+ case "eee": return n.day(i, {
171
+ width: "abbreviated",
172
+ context: "formatting"
173
+ });
174
+ case "eeeee": return n.day(i, {
175
+ width: "narrow",
176
+ context: "formatting"
177
+ });
178
+ case "eeeeee": return n.day(i, {
179
+ width: "short",
180
+ context: "formatting"
181
+ });
182
+ default: return n.day(i, {
183
+ width: "wide",
184
+ context: "formatting"
185
+ });
186
+ }
187
+ },
188
+ c: function(e, t, n, r) {
189
+ let i = e.getDay(), o = (i - r.weekStartsOn + 8) % 7 || 7;
190
+ switch (t) {
191
+ case "c": return String(o);
192
+ case "cc": return a(o, t.length);
193
+ case "co": return n.ordinalNumber(o, { unit: "day" });
194
+ case "ccc": return n.day(i, {
195
+ width: "abbreviated",
196
+ context: "standalone"
197
+ });
198
+ case "ccccc": return n.day(i, {
199
+ width: "narrow",
200
+ context: "standalone"
201
+ });
202
+ case "cccccc": return n.day(i, {
203
+ width: "short",
204
+ context: "standalone"
205
+ });
206
+ default: return n.day(i, {
207
+ width: "wide",
208
+ context: "standalone"
209
+ });
210
+ }
211
+ },
212
+ i: function(e, t, n) {
213
+ let r = e.getDay(), i = r === 0 ? 7 : r;
214
+ switch (t) {
215
+ case "i": return String(i);
216
+ case "ii": return a(i, t.length);
217
+ case "io": return n.ordinalNumber(i, { unit: "day" });
218
+ case "iii": return n.day(r, {
219
+ width: "abbreviated",
220
+ context: "formatting"
221
+ });
222
+ case "iiiii": return n.day(r, {
223
+ width: "narrow",
224
+ context: "formatting"
225
+ });
226
+ case "iiiiii": return n.day(r, {
227
+ width: "short",
228
+ context: "formatting"
229
+ });
230
+ default: return n.day(r, {
231
+ width: "wide",
232
+ context: "formatting"
233
+ });
234
+ }
235
+ },
236
+ a: function(e, t, n) {
237
+ let r = e.getHours() / 12 >= 1 ? "pm" : "am";
238
+ switch (t) {
239
+ case "a":
240
+ case "aa": return n.dayPeriod(r, {
241
+ width: "abbreviated",
242
+ context: "formatting"
243
+ });
244
+ case "aaa": return n.dayPeriod(r, {
245
+ width: "abbreviated",
246
+ context: "formatting"
247
+ }).toLowerCase();
248
+ case "aaaaa": return n.dayPeriod(r, {
249
+ width: "narrow",
250
+ context: "formatting"
251
+ });
252
+ default: return n.dayPeriod(r, {
253
+ width: "wide",
254
+ context: "formatting"
255
+ });
256
+ }
257
+ },
258
+ b: function(e, t, n) {
259
+ let r = e.getHours(), i;
260
+ switch (i = r === 12 ? s.noon : r === 0 ? s.midnight : r / 12 >= 1 ? "pm" : "am", t) {
261
+ case "b":
262
+ case "bb": return n.dayPeriod(i, {
263
+ width: "abbreviated",
264
+ context: "formatting"
265
+ });
266
+ case "bbb": return n.dayPeriod(i, {
267
+ width: "abbreviated",
268
+ context: "formatting"
269
+ }).toLowerCase();
270
+ case "bbbbb": return n.dayPeriod(i, {
271
+ width: "narrow",
272
+ context: "formatting"
273
+ });
274
+ default: return n.dayPeriod(i, {
275
+ width: "wide",
276
+ context: "formatting"
277
+ });
278
+ }
279
+ },
280
+ B: function(e, t, n) {
281
+ let r = e.getHours(), i;
282
+ switch (i = r >= 17 ? s.evening : r >= 12 ? s.afternoon : r >= 4 ? s.morning : s.night, t) {
283
+ case "B":
284
+ case "BB":
285
+ case "BBB": return n.dayPeriod(i, {
286
+ width: "abbreviated",
287
+ context: "formatting"
288
+ });
289
+ case "BBBBB": return n.dayPeriod(i, {
290
+ width: "narrow",
291
+ context: "formatting"
292
+ });
293
+ default: return n.dayPeriod(i, {
294
+ width: "wide",
295
+ context: "formatting"
296
+ });
297
+ }
298
+ },
299
+ h: function(e, t, n) {
300
+ if (t === "ho") {
301
+ let t = e.getHours() % 12;
302
+ return t === 0 && (t = 12), n.ordinalNumber(t, { unit: "hour" });
303
+ }
304
+ return o.h(e, t);
305
+ },
306
+ H: function(e, t, n) {
307
+ return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : o.H(e, t);
308
+ },
309
+ K: function(e, t, n) {
310
+ let r = e.getHours() % 12;
311
+ return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : a(r, t.length);
312
+ },
313
+ k: function(e, t, n) {
314
+ let r = e.getHours();
315
+ return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : a(r, t.length);
316
+ },
317
+ m: function(e, t, n) {
318
+ return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : o.m(e, t);
319
+ },
320
+ s: function(e, t, n) {
321
+ return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : o.s(e, t);
322
+ },
323
+ S: function(e, t) {
324
+ return o.S(e, t);
325
+ },
326
+ X: function(e, t, n) {
327
+ let r = e.getTimezoneOffset();
328
+ if (r === 0) return "Z";
329
+ switch (t) {
330
+ case "X": return u(r);
331
+ case "XXXX":
332
+ case "XX": return d(r);
333
+ default: return d(r, ":");
334
+ }
335
+ },
336
+ x: function(e, t, n) {
337
+ let r = e.getTimezoneOffset();
338
+ switch (t) {
339
+ case "x": return u(r);
340
+ case "xxxx":
341
+ case "xx": return d(r);
342
+ default: return d(r, ":");
343
+ }
344
+ },
345
+ O: function(e, t, n) {
346
+ let r = e.getTimezoneOffset();
347
+ switch (t) {
348
+ case "O":
349
+ case "OO":
350
+ case "OOO": return "GMT" + l(r, ":");
351
+ default: return "GMT" + d(r, ":");
352
+ }
353
+ },
354
+ z: function(e, t, n) {
355
+ let r = e.getTimezoneOffset();
356
+ switch (t) {
357
+ case "z":
358
+ case "zz":
359
+ case "zzz": return "GMT" + l(r, ":");
360
+ default: return "GMT" + d(r, ":");
361
+ }
362
+ },
363
+ t: function(e, t, n) {
364
+ return a(Math.trunc(e / 1e3), t.length);
365
+ },
366
+ T: function(e, t, n) {
367
+ return a(+e, t.length);
368
+ }
369
+ };
370
+ function l(e, t = "") {
371
+ let n = e > 0 ? "-" : "+", r = Math.abs(e), i = Math.trunc(r / 60), o = r % 60;
372
+ return o === 0 ? n + String(i) : n + String(i) + t + a(o, 2);
373
+ }
374
+ function u(e, t) {
375
+ return e % 60 == 0 ? (e > 0 ? "-" : "+") + a(Math.abs(e) / 60, 2) : d(e, t);
376
+ }
377
+ function d(e, t = "") {
378
+ let n = e > 0 ? "-" : "+", r = Math.abs(e), i = a(Math.trunc(r / 60), 2), o = a(r % 60, 2);
379
+ return n + i + t + o;
380
+ }
381
+ //#endregion
382
+ export { c as formatters };
@@ -0,0 +1 @@
1
+ const e=require("./index166.cjs"),t=require("./index174.cjs"),n=require("./index175.cjs"),r=require("./index176.cjs"),i=require("./index178.cjs"),a=require("./index179.cjs"),o=require("./index180.cjs");var s={am:`am`,pm:`pm`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},c={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case`G`:case`GG`:case`GGG`:return n.era(r,{width:`abbreviated`});case`GGGGG`:return n.era(r,{width:`narrow`});default:return n.era(r,{width:`wide`})}},y:function(e,t,n){if(t===`yo`){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:`year`})}return o.lightFormatters.y(e,t)},Y:function(e,t,n,i){let o=r.default(e,i),s=o>0?o:1-o;return t===`YY`?a.addLeadingZeros(s%100,2):t===`Yo`?n.ordinalNumber(s,{unit:`year`}):a.addLeadingZeros(s,t.length)},R:function(t,n){return a.addLeadingZeros(e.default(t),n.length)},u:function(e,t){return a.addLeadingZeros(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`Q`:return String(r);case`QQ`:return a.addLeadingZeros(r,2);case`Qo`:return n.ordinalNumber(r,{unit:`quarter`});case`QQQ`:return n.quarter(r,{width:`abbreviated`,context:`formatting`});case`QQQQQ`:return n.quarter(r,{width:`narrow`,context:`formatting`});default:return n.quarter(r,{width:`wide`,context:`formatting`})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`q`:return String(r);case`qq`:return a.addLeadingZeros(r,2);case`qo`:return n.ordinalNumber(r,{unit:`quarter`});case`qqq`:return n.quarter(r,{width:`abbreviated`,context:`standalone`});case`qqqqq`:return n.quarter(r,{width:`narrow`,context:`standalone`});default:return n.quarter(r,{width:`wide`,context:`standalone`})}},M:function(e,t,n){let r=e.getMonth();switch(t){case`M`:case`MM`:return o.lightFormatters.M(e,t);case`Mo`:return n.ordinalNumber(r+1,{unit:`month`});case`MMM`:return n.month(r,{width:`abbreviated`,context:`formatting`});case`MMMMM`:return n.month(r,{width:`narrow`,context:`formatting`});default:return n.month(r,{width:`wide`,context:`formatting`})}},L:function(e,t,n){let r=e.getMonth();switch(t){case`L`:return String(r+1);case`LL`:return a.addLeadingZeros(r+1,2);case`Lo`:return n.ordinalNumber(r+1,{unit:`month`});case`LLL`:return n.month(r,{width:`abbreviated`,context:`standalone`});case`LLLLL`:return n.month(r,{width:`narrow`,context:`standalone`});default:return n.month(r,{width:`wide`,context:`standalone`})}},w:function(e,t,n,r){let o=i.default(e,r);return t===`wo`?n.ordinalNumber(o,{unit:`week`}):a.addLeadingZeros(o,t.length)},I:function(e,t,r){let i=n.default(e);return t===`Io`?r.ordinalNumber(i,{unit:`week`}):a.addLeadingZeros(i,t.length)},d:function(e,t,n){return t===`do`?n.ordinalNumber(e.getDate(),{unit:`date`}):o.lightFormatters.d(e,t)},D:function(e,n,r){let i=t.default(e);return n===`Do`?r.ordinalNumber(i,{unit:`dayOfYear`}):a.addLeadingZeros(i,n.length)},E:function(e,t,n){let r=e.getDay();switch(t){case`E`:case`EE`:case`EEE`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`EEEEE`:return n.day(r,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},e:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case`e`:return String(o);case`ee`:return a.addLeadingZeros(o,2);case`eo`:return n.ordinalNumber(o,{unit:`day`});case`eee`:return n.day(i,{width:`abbreviated`,context:`formatting`});case`eeeee`:return n.day(i,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(i,{width:`short`,context:`formatting`});default:return n.day(i,{width:`wide`,context:`formatting`})}},c:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case`c`:return String(o);case`cc`:return a.addLeadingZeros(o,t.length);case`co`:return n.ordinalNumber(o,{unit:`day`});case`ccc`:return n.day(i,{width:`abbreviated`,context:`standalone`});case`ccccc`:return n.day(i,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(i,{width:`short`,context:`standalone`});default:return n.day(i,{width:`wide`,context:`standalone`})}},i:function(e,t,n){let r=e.getDay(),i=r===0?7:r;switch(t){case`i`:return String(i);case`ii`:return a.addLeadingZeros(i,t.length);case`io`:return n.ordinalNumber(i,{unit:`day`});case`iii`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`iiiii`:return n.day(r,{width:`narrow`,context:`formatting`});case`iiiiii`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},a:function(e,t,n){let r=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`});case`aaa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`aaaaa`:return n.dayPeriod(r,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(r,{width:`wide`,context:`formatting`})}},b:function(e,t,n){let r=e.getHours(),i;switch(i=r===12?s.noon:r===0?s.midnight:r/12>=1?`pm`:`am`,t){case`b`:case`bb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`bbb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`bbbbb`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},B:function(e,t,n){let r=e.getHours(),i;switch(i=r>=17?s.evening:r>=12?s.afternoon:r>=4?s.morning:s.night,t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`BBBBB`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},h:function(e,t,n){if(t===`ho`){let t=e.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:`hour`})}return o.lightFormatters.h(e,t)},H:function(e,t,n){return t===`Ho`?n.ordinalNumber(e.getHours(),{unit:`hour`}):o.lightFormatters.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return t===`Ko`?n.ordinalNumber(r,{unit:`hour`}):a.addLeadingZeros(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t===`ko`?n.ordinalNumber(r,{unit:`hour`}):a.addLeadingZeros(r,t.length)},m:function(e,t,n){return t===`mo`?n.ordinalNumber(e.getMinutes(),{unit:`minute`}):o.lightFormatters.m(e,t)},s:function(e,t,n){return t===`so`?n.ordinalNumber(e.getSeconds(),{unit:`second`}):o.lightFormatters.s(e,t)},S:function(e,t){return o.lightFormatters.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(r===0)return`Z`;switch(t){case`X`:return u(r);case`XXXX`:case`XX`:return d(r);default:return d(r,`:`)}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`x`:return u(r);case`xxxx`:case`xx`:return d(r);default:return d(r,`:`)}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`O`:case`OO`:case`OOO`:return`GMT`+l(r,`:`);default:return`GMT`+d(r,`:`)}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`z`:case`zz`:case`zzz`:return`GMT`+l(r,`:`);default:return`GMT`+d(r,`:`)}},t:function(e,t,n){return a.addLeadingZeros(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return a.addLeadingZeros(+e,t.length)}};function l(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return o===0?n+String(i):n+String(i)+t+a.addLeadingZeros(o,2)}function u(e,t){return e%60==0?(e>0?`-`:`+`)+a.addLeadingZeros(Math.abs(e)/60,2):d(e,t)}function d(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=a.addLeadingZeros(Math.trunc(r/60),2),o=a.addLeadingZeros(r%60,2);return n+i+t+o}exports.formatters=c;
@@ -0,0 +1,40 @@
1
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js
2
+ var e = (e, t) => {
3
+ switch (e) {
4
+ case "P": return t.date({ width: "short" });
5
+ case "PP": return t.date({ width: "medium" });
6
+ case "PPP": return t.date({ width: "long" });
7
+ default: return t.date({ width: "full" });
8
+ }
9
+ }, t = (e, t) => {
10
+ switch (e) {
11
+ case "p": return t.time({ width: "short" });
12
+ case "pp": return t.time({ width: "medium" });
13
+ case "ppp": return t.time({ width: "long" });
14
+ default: return t.time({ width: "full" });
15
+ }
16
+ }, n = {
17
+ p: t,
18
+ P: (n, r) => {
19
+ let i = n.match(/(P+)(p+)?/) || [], a = i[1], o = i[2];
20
+ if (!o) return e(n, r);
21
+ let s;
22
+ switch (a) {
23
+ case "P":
24
+ s = r.dateTime({ width: "short" });
25
+ break;
26
+ case "PP":
27
+ s = r.dateTime({ width: "medium" });
28
+ break;
29
+ case "PPP":
30
+ s = r.dateTime({ width: "long" });
31
+ break;
32
+ default:
33
+ s = r.dateTime({ width: "full" });
34
+ break;
35
+ }
36
+ return s.replace("{{date}}", e(a, r)).replace("{{time}}", t(o, r));
37
+ }
38
+ };
39
+ //#endregion
40
+ export { n as longFormatters };
@@ -0,0 +1 @@
1
+ var e=(e,t)=>{switch(e){case`P`:return t.date({width:`short`});case`PP`:return t.date({width:`medium`});case`PPP`:return t.date({width:`long`});default:return t.date({width:`full`})}},t=(e,t)=>{switch(e){case`p`:return t.time({width:`short`});case`pp`:return t.time({width:`medium`});case`ppp`:return t.time({width:`long`});default:return t.time({width:`full`})}},n={p:t,P:(n,r)=>{let i=n.match(/(P+)(p+)?/)||[],a=i[1],o=i[2];if(!o)return e(n,r);let s;switch(a){case`P`:s=r.dateTime({width:`short`});break;case`PP`:s=r.dateTime({width:`medium`});break;case`PPP`:s=r.dateTime({width:`long`});break;default:s=r.dateTime({width:`full`});break}return s.replace(`{{date}}`,e(a,r)).replace(`{{time}}`,t(o,r))}};exports.longFormatters=n;
@@ -0,0 +1,23 @@
1
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js
2
+ var e = /^D+$/, t = /^Y+$/, n = [
3
+ "D",
4
+ "DD",
5
+ "YY",
6
+ "YYYY"
7
+ ];
8
+ function r(t) {
9
+ return e.test(t);
10
+ }
11
+ function i(e) {
12
+ return t.test(e);
13
+ }
14
+ function a(e, t, r) {
15
+ let i = o(e, t, r);
16
+ if (console.warn(i), n.includes(e)) throw RangeError(i);
17
+ }
18
+ function o(e, t, n) {
19
+ let r = e[0] === "Y" ? "years" : "days of the month";
20
+ return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
21
+ }
22
+ //#endregion
23
+ export { r as isProtectedDayOfYearToken, i as isProtectedWeekYearToken, a as warnOrThrowProtectedError };
@@ -0,0 +1 @@
1
+ var e=/^D+$/,t=/^Y+$/,n=[`D`,`DD`,`YY`,`YYYY`];function r(t){return e.test(t)}function i(e){return t.test(e)}function a(e,t,r){let i=o(e,t,r);if(console.warn(i),n.includes(e))throw RangeError(i)}function o(e,t,n){let r=e[0]===`Y`?`years`:`days of the month`;return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}exports.isProtectedDayOfYearToken=r,exports.isProtectedWeekYearToken=i,exports.warnOrThrowProtectedError=a;
@@ -0,0 +1,59 @@
1
+ import { getDefaultOptions as e } from "./index149.js";
2
+ import t from "./index150.js";
3
+ import n from "./index157.js";
4
+ import r from "./index171.js";
5
+ import { formatters as i } from "./index180.js";
6
+ import { longFormatters as a } from "./index181.js";
7
+ import { isProtectedDayOfYearToken as o, isProtectedWeekYearToken as s, warnOrThrowProtectedError as c } from "./index182.js";
8
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js
9
+ var l = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, u = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, d = /^'([^]*?)'?$/, f = /''/g, p = /[a-zA-Z]/;
10
+ function m(d, f, m) {
11
+ let g = e(), _ = m?.locale ?? g.locale ?? n, v = m?.firstWeekContainsDate ?? m?.locale?.options?.firstWeekContainsDate ?? g.firstWeekContainsDate ?? g.locale?.options?.firstWeekContainsDate ?? 1, y = m?.weekStartsOn ?? m?.locale?.options?.weekStartsOn ?? g.weekStartsOn ?? g.locale?.options?.weekStartsOn ?? 0, b = t(d, m?.in);
12
+ if (!r(b)) throw RangeError("Invalid time value");
13
+ let x = f.match(u).map((e) => {
14
+ let t = e[0];
15
+ if (t === "p" || t === "P") {
16
+ let n = a[t];
17
+ return n(e, _.formatLong);
18
+ }
19
+ return e;
20
+ }).join("").match(l).map((e) => {
21
+ if (e === "''") return {
22
+ isToken: !1,
23
+ value: "'"
24
+ };
25
+ let t = e[0];
26
+ if (t === "'") return {
27
+ isToken: !1,
28
+ value: h(e)
29
+ };
30
+ if (i[t]) return {
31
+ isToken: !0,
32
+ value: e
33
+ };
34
+ if (t.match(p)) throw RangeError("Format string contains an unescaped latin alphabet character `" + t + "`");
35
+ return {
36
+ isToken: !1,
37
+ value: e
38
+ };
39
+ });
40
+ _.localize.preprocessor && (x = _.localize.preprocessor(b, x));
41
+ let S = {
42
+ firstWeekContainsDate: v,
43
+ weekStartsOn: y,
44
+ locale: _
45
+ };
46
+ return x.map((e) => {
47
+ if (!e.isToken) return e.value;
48
+ let t = e.value;
49
+ (!m?.useAdditionalWeekYearTokens && s(t) || !m?.useAdditionalDayOfYearTokens && o(t)) && c(t, f, String(d));
50
+ let n = i[t[0]];
51
+ return n(b, t, _.localize, S);
52
+ }).join("");
53
+ }
54
+ function h(e) {
55
+ let t = e.match(d);
56
+ return t ? t[1].replace(f, "'") : e;
57
+ }
58
+ //#endregion
59
+ export { m as default };
@@ -0,0 +1 @@
1
+ const e=require("./index150.cjs"),t=require("./index151.cjs"),n=require("./index158.cjs"),r=require("./index172.cjs"),i=require("./index181.cjs"),a=require("./index182.cjs"),o=require("./index183.cjs");var s=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,c=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,l=/^'([^]*?)'?$/,u=/''/g,d=/[a-zA-Z]/;function f(l,u,f){let m=e.getDefaultOptions(),h=f?.locale??m.locale??n.default,g=f?.firstWeekContainsDate??f?.locale?.options?.firstWeekContainsDate??m.firstWeekContainsDate??m.locale?.options?.firstWeekContainsDate??1,_=f?.weekStartsOn??f?.locale?.options?.weekStartsOn??m.weekStartsOn??m.locale?.options?.weekStartsOn??0,v=t.default(l,f?.in);if(!r.default(v))throw RangeError(`Invalid time value`);let y=u.match(c).map(e=>{let t=e[0];if(t===`p`||t===`P`){let n=a.longFormatters[t];return n(e,h.formatLong)}return e}).join(``).match(s).map(e=>{if(e===`''`)return{isToken:!1,value:`'`};let t=e[0];if(t===`'`)return{isToken:!1,value:p(e)};if(i.formatters[t])return{isToken:!0,value:e};if(t.match(d))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});h.localize.preprocessor&&(y=h.localize.preprocessor(v,y));let b={firstWeekContainsDate:g,weekStartsOn:_,locale:h};return y.map(e=>{if(!e.isToken)return e.value;let t=e.value;(!f?.useAdditionalWeekYearTokens&&o.isProtectedWeekYearToken(t)||!f?.useAdditionalDayOfYearTokens&&o.isProtectedDayOfYearToken(t))&&o.warnOrThrowProtectedError(t,u,String(l));let n=i.formatters[t[0]];return n(v,t,h.localize,b)}).join(``)}function p(e){let t=e.match(l);return t?t[1].replace(u,`'`):e}exports.default=f;