@vlrc-fe/components 1.0.6 → 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 (452) hide show
  1. package/dist/Form/FormFileUpload/index.d.ts +1 -1
  2. package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
  3. package/dist/Form/index.d.ts +1 -1
  4. package/dist/Form/index.d.ts.map +1 -1
  5. package/dist/MultiSelect/type.d.ts +2 -2
  6. package/dist/index.cjs +1 -1
  7. package/dist/index.js +64 -40
  8. package/dist/index10.cjs +1 -1
  9. package/dist/index10.js +46 -80
  10. package/dist/index100.cjs +1 -1
  11. package/dist/index100.js +22 -60
  12. package/dist/index101.cjs +1 -1
  13. package/dist/index101.js +1147 -43
  14. package/dist/index102.cjs +1 -1
  15. package/dist/index102.js +30 -64
  16. package/dist/index103.cjs +1 -1
  17. package/dist/index103.js +31 -147
  18. package/dist/index104.cjs +1 -1
  19. package/dist/index104.js +93 -19
  20. package/dist/index105.cjs +1 -1
  21. package/dist/index105.js +80 -25
  22. package/dist/index106.cjs +1 -1
  23. package/dist/index106.js +9 -50
  24. package/dist/index107.cjs +1 -1
  25. package/dist/index107.js +30 -156
  26. package/dist/index108.cjs +1 -1
  27. package/dist/index108.js +350 -14
  28. package/dist/index109.cjs +1 -1
  29. package/dist/index109.js +11 -0
  30. package/dist/index11.cjs +1 -1
  31. package/dist/index11.js +55 -60
  32. package/dist/index110.cjs +1 -0
  33. package/dist/index110.js +430 -0
  34. package/dist/index111.cjs +1 -0
  35. package/dist/index111.js +36 -0
  36. package/dist/index112.cjs +1 -0
  37. package/dist/index112.js +28 -0
  38. package/dist/index113.cjs +1 -0
  39. package/dist/index113.js +14 -0
  40. package/dist/index114.cjs +1 -0
  41. package/dist/index114.js +156 -0
  42. package/dist/index115.cjs +1 -0
  43. package/dist/index115.js +19 -0
  44. package/dist/index116.cjs +1 -0
  45. package/dist/index116.js +67 -0
  46. package/dist/index117.cjs +1 -0
  47. package/dist/index117.js +118 -0
  48. package/dist/index118.cjs +1 -0
  49. package/dist/index118.js +36 -0
  50. package/dist/index119.cjs +1 -0
  51. package/dist/index119.js +13 -0
  52. package/dist/index12.cjs +1 -1
  53. package/dist/index12.js +44 -121
  54. package/dist/index120.cjs +1 -0
  55. package/dist/index120.js +31 -0
  56. package/dist/index121.cjs +1 -0
  57. package/dist/index121.js +37 -0
  58. package/dist/index122.cjs +1 -0
  59. package/dist/index122.js +123 -0
  60. package/dist/index123.cjs +1 -0
  61. package/dist/index123.js +44 -0
  62. package/dist/index124.cjs +1 -0
  63. package/dist/index124.js +43 -0
  64. package/dist/index125.cjs +1 -0
  65. package/dist/index125.js +14 -0
  66. package/dist/index126.cjs +1 -0
  67. package/dist/index126.js +64 -0
  68. package/dist/index127.cjs +1 -0
  69. package/dist/index127.js +23 -0
  70. package/dist/index128.cjs +1 -0
  71. package/dist/index128.js +34 -0
  72. package/dist/index129.cjs +1 -0
  73. package/dist/index129.js +27 -0
  74. package/dist/index13.cjs +1 -1
  75. package/dist/index13.js +30 -12
  76. package/dist/index130.cjs +1 -0
  77. package/dist/index130.js +26 -0
  78. package/dist/index131.cjs +1 -0
  79. package/dist/index131.js +157 -0
  80. package/dist/index132.cjs +1 -0
  81. package/dist/index132.js +34 -0
  82. package/dist/index133.cjs +1 -0
  83. package/dist/index133.js +46 -0
  84. package/dist/index134.cjs +1 -0
  85. package/dist/index134.js +142 -0
  86. package/dist/index135.cjs +1 -0
  87. package/dist/index135.js +125 -0
  88. package/dist/index136.cjs +1 -0
  89. package/dist/index136.js +26 -0
  90. package/dist/index137.cjs +1 -0
  91. package/dist/index137.js +88 -0
  92. package/dist/index138.cjs +1 -0
  93. package/dist/index138.js +221 -0
  94. package/dist/index139.cjs +1 -0
  95. package/dist/index139.js +166 -0
  96. package/dist/index14.cjs +1 -1
  97. package/dist/index14.js +8 -12
  98. package/dist/index140.cjs +1 -0
  99. package/dist/index140.js +126 -0
  100. package/dist/index141.cjs +1 -0
  101. package/dist/index141.js +15 -0
  102. package/dist/index142.cjs +1 -0
  103. package/dist/index142.js +9 -0
  104. package/dist/index143.cjs +1 -0
  105. package/dist/index143.js +17 -0
  106. package/dist/index144.cjs +1 -0
  107. package/dist/index144.js +22 -0
  108. package/dist/index145.cjs +1 -0
  109. package/dist/index145.js +18 -0
  110. package/dist/index146.cjs +1 -0
  111. package/dist/index146.js +6 -0
  112. package/dist/index147.cjs +1 -0
  113. package/dist/index147.js +7 -0
  114. package/dist/index148.cjs +1 -0
  115. package/dist/index148.js +8 -0
  116. package/dist/index149.cjs +1 -0
  117. package/dist/index149.js +7 -0
  118. package/dist/index15.cjs +1 -1
  119. package/dist/index15.js +12 -112
  120. package/dist/index150.cjs +1 -0
  121. package/dist/index150.js +7 -0
  122. package/dist/index151.cjs +1 -0
  123. package/dist/index151.js +9 -0
  124. package/dist/index152.cjs +1 -0
  125. package/dist/index152.js +69 -0
  126. package/dist/index153.cjs +1 -0
  127. package/dist/index153.js +11 -0
  128. package/dist/index154.cjs +1 -0
  129. package/dist/index154.js +202 -0
  130. package/dist/index155.cjs +1 -0
  131. package/dist/index155.js +124 -0
  132. package/dist/index156.cjs +1 -0
  133. package/dist/index156.js +32 -0
  134. package/dist/index157.cjs +1 -0
  135. package/dist/index157.js +20 -0
  136. package/dist/index158.cjs +1 -0
  137. package/dist/index158.js +69 -0
  138. package/dist/index159.cjs +1 -0
  139. package/dist/index159.js +32 -0
  140. package/dist/index16.cjs +1 -1
  141. package/dist/index16.js +4 -726
  142. package/dist/index160.cjs +1 -0
  143. package/dist/index160.js +11 -0
  144. package/dist/index161.cjs +1 -0
  145. package/dist/index161.js +280 -0
  146. package/dist/index162.cjs +1 -0
  147. package/dist/index162.js +157 -0
  148. package/dist/index163.cjs +1 -0
  149. package/dist/index163.js +20 -0
  150. package/dist/index164.cjs +1 -0
  151. package/dist/index164.js +10 -0
  152. package/dist/index165.cjs +1 -0
  153. package/dist/index165.js +14 -0
  154. package/dist/index166.cjs +1 -0
  155. package/dist/index166.js +8 -0
  156. package/dist/index167.cjs +1 -0
  157. package/dist/index167.js +8 -0
  158. package/dist/index168.cjs +1 -0
  159. package/dist/index168.js +11 -0
  160. package/dist/index169.cjs +1 -0
  161. package/dist/index169.js +10 -0
  162. package/dist/index17.cjs +1 -1
  163. package/dist/index17.js +79 -339
  164. package/dist/index170.cjs +1 -0
  165. package/dist/index170.js +6 -0
  166. package/dist/index171.cjs +1 -0
  167. package/dist/index171.js +8 -0
  168. package/dist/index172.cjs +1 -0
  169. package/dist/index172.js +8 -0
  170. package/dist/index173.cjs +1 -0
  171. package/dist/index173.js +10 -0
  172. package/dist/index174.cjs +1 -0
  173. package/dist/index174.js +11 -0
  174. package/dist/index175.cjs +1 -0
  175. package/dist/index175.js +15 -0
  176. package/dist/index176.cjs +1 -0
  177. package/dist/index176.js +11 -0
  178. package/dist/index177.cjs +1 -0
  179. package/dist/index177.js +11 -0
  180. package/dist/index178.cjs +1 -0
  181. package/dist/index178.js +6 -0
  182. package/dist/index179.cjs +1 -0
  183. package/dist/index179.js +43 -0
  184. package/dist/index18.cjs +1 -1
  185. package/dist/index18.js +19 -66
  186. package/dist/index180.cjs +1 -0
  187. package/dist/index180.js +382 -0
  188. package/dist/index181.cjs +1 -0
  189. package/dist/index181.js +40 -0
  190. package/dist/index182.cjs +1 -0
  191. package/dist/index182.js +23 -0
  192. package/dist/index183.cjs +1 -0
  193. package/dist/index183.js +59 -0
  194. package/dist/index184.cjs +1 -0
  195. package/dist/index184.js +55 -0
  196. package/dist/index185.cjs +1 -0
  197. package/dist/index185.js +54 -0
  198. package/dist/index186.cjs +1 -0
  199. package/dist/index186.js +57 -0
  200. package/dist/index187.cjs +1 -0
  201. package/dist/index187.js +57 -0
  202. package/dist/index188.cjs +1 -0
  203. package/dist/index188.js +88 -0
  204. package/dist/index189.cjs +1 -0
  205. package/dist/index189.js +66 -0
  206. package/dist/index19.cjs +1 -1
  207. package/dist/index19.js +18 -8
  208. package/dist/index190.cjs +1 -0
  209. package/dist/index190.js +594 -0
  210. package/dist/index191.cjs +9 -0
  211. package/dist/index191.js +30 -0
  212. package/dist/index192.cjs +1 -0
  213. package/dist/index192.js +50 -0
  214. package/dist/index193.cjs +1 -0
  215. package/dist/index193.js +65 -0
  216. package/dist/index194.cjs +1 -0
  217. package/dist/index194.js +48 -0
  218. package/dist/index195.cjs +1 -0
  219. package/dist/index195.js +67 -0
  220. package/dist/index196.cjs +1 -0
  221. package/dist/index196.js +151 -0
  222. package/dist/index197.cjs +1 -0
  223. package/dist/index197.js +23 -0
  224. package/dist/index198.cjs +1 -0
  225. package/dist/index198.js +27 -0
  226. package/dist/index199.cjs +1 -0
  227. package/dist/index199.js +53 -0
  228. package/dist/index20.cjs +1 -1
  229. package/dist/index20.js +51 -98
  230. package/dist/index200.cjs +1 -0
  231. package/dist/index200.js +161 -0
  232. package/dist/index201.cjs +1 -0
  233. package/dist/index201.js +16 -0
  234. package/dist/index202.cjs +1 -0
  235. package/dist/index21.cjs +1 -1
  236. package/dist/index21.js +81 -28
  237. package/dist/index22.cjs +1 -1
  238. package/dist/index22.js +64 -14
  239. package/dist/index23.cjs +1 -1
  240. package/dist/index23.js +25 -22
  241. package/dist/index24.cjs +1 -1
  242. package/dist/index24.js +1014 -33
  243. package/dist/index25.cjs +1 -1
  244. package/dist/index25.js +22 -96
  245. package/dist/index26.cjs +1 -1
  246. package/dist/index26.js +108 -25
  247. package/dist/index27.cjs +1 -1
  248. package/dist/index27.js +15 -9
  249. package/dist/index28.cjs +1 -1
  250. package/dist/index28.js +20 -66
  251. package/dist/index29.cjs +1 -1
  252. package/dist/index29.js +81 -11
  253. package/dist/index30.cjs +1 -1
  254. package/dist/index30.js +91 -29
  255. package/dist/index31.cjs +1 -1
  256. package/dist/index31.js +14 -41
  257. package/dist/index32.cjs +1 -1
  258. package/dist/index32.js +93 -12
  259. package/dist/index33.cjs +1 -1
  260. package/dist/index33.js +22 -62
  261. package/dist/index34.cjs +1 -1
  262. package/dist/index34.js +84 -22
  263. package/dist/index35.cjs +1 -1
  264. package/dist/index35.js +85 -33
  265. package/dist/index36.cjs +1 -1
  266. package/dist/index36.js +407 -25
  267. package/dist/index37.cjs +1 -1
  268. package/dist/index37.js +170 -25
  269. package/dist/index38.cjs +1 -1
  270. package/dist/index38.js +28 -154
  271. package/dist/index39.cjs +1 -1
  272. package/dist/index39.js +158 -33
  273. package/dist/index40.cjs +1 -1
  274. package/dist/index40.js +104 -45
  275. package/dist/index41.cjs +1 -1
  276. package/dist/index41.js +337 -140
  277. package/dist/index42.cjs +1 -1
  278. package/dist/index42.js +96 -124
  279. package/dist/index43.cjs +1 -1
  280. package/dist/index43.js +319 -23
  281. package/dist/index44.cjs +1 -1
  282. package/dist/index44.js +205 -81
  283. package/dist/index45.cjs +1 -1
  284. package/dist/index45.js +33 -220
  285. package/dist/index46.cjs +1 -1
  286. package/dist/index46.js +161 -163
  287. package/dist/index47.cjs +1 -1
  288. package/dist/index47.js +20 -125
  289. package/dist/index48.cjs +1 -1
  290. package/dist/index48.js +24 -14
  291. package/dist/index49.cjs +1 -1
  292. package/dist/index49.js +167 -7
  293. package/dist/index5.js +26 -14
  294. package/dist/index50.cjs +1 -1
  295. package/dist/index50.js +44 -15
  296. package/dist/index51.cjs +1 -1
  297. package/dist/index51.js +15 -18
  298. package/dist/index52.cjs +1 -1
  299. package/dist/index52.js +3 -17
  300. package/dist/index53.cjs +1 -1
  301. package/dist/index53.js +5 -5
  302. package/dist/index54.cjs +1 -1
  303. package/dist/index54.js +19 -4
  304. package/dist/index55.cjs +1 -1
  305. package/dist/index55.js +24 -6
  306. package/dist/index56.cjs +1 -1
  307. package/dist/index56.js +66 -4
  308. package/dist/index57.cjs +1 -1
  309. package/dist/index57.js +14 -5
  310. package/dist/index58.cjs +1 -1
  311. package/dist/index58.js +4 -8
  312. package/dist/index59.cjs +1 -1
  313. package/dist/index59.js +50 -67
  314. package/dist/index6.cjs +1 -1
  315. package/dist/index6.js +85 -46
  316. package/dist/index60.cjs +1 -1
  317. package/dist/index60.js +6 -10
  318. package/dist/index61.cjs +1 -1
  319. package/dist/index61.js +25 -199
  320. package/dist/index62.cjs +1 -1
  321. package/dist/index62.js +13 -122
  322. package/dist/index63.cjs +1 -1
  323. package/dist/index63.js +9 -30
  324. package/dist/index64.cjs +1 -1
  325. package/dist/index64.js +3 -20
  326. package/dist/index65.cjs +1 -1
  327. package/dist/index65.js +24 -66
  328. package/dist/index66.cjs +1 -1
  329. package/dist/index66.js +68 -30
  330. package/dist/index67.cjs +38 -1
  331. package/dist/index67.js +3 -11
  332. package/dist/index68.cjs +1 -1
  333. package/dist/index68.js +12 -279
  334. package/dist/index69.cjs +1 -1
  335. package/dist/index69.js +50 -155
  336. package/dist/index7.cjs +1 -1
  337. package/dist/index7.js +29 -85
  338. package/dist/index70.cjs +1 -1
  339. package/dist/index70.js +115 -19
  340. package/dist/index71.cjs +4 -1
  341. package/dist/index71.js +6 -9
  342. package/dist/index72.cjs +1 -1
  343. package/dist/index72.js +12 -12
  344. package/dist/index73.cjs +1 -1
  345. package/dist/index73.js +539 -6
  346. package/dist/index74.cjs +1 -1
  347. package/dist/index74.js +197 -6
  348. package/dist/index75.cjs +1 -1
  349. package/dist/index75.js +120 -9
  350. package/dist/index76.cjs +1 -1
  351. package/dist/index76.js +912 -8
  352. package/dist/index77.cjs +3 -1
  353. package/dist/index77.js +76 -4
  354. package/dist/index78.cjs +1 -1
  355. package/dist/index78.js +120 -6
  356. package/dist/index79.cjs +1 -1
  357. package/dist/index79.js +12 -6
  358. package/dist/index8.cjs +1 -1
  359. package/dist/index8.js +35 -62
  360. package/dist/index80.cjs +1 -1
  361. package/dist/index80.js +14 -8
  362. package/dist/index81.cjs +1 -1
  363. package/dist/index81.js +113 -9
  364. package/dist/index82.cjs +1 -1
  365. package/dist/index82.js +725 -13
  366. package/dist/index83.cjs +1 -1
  367. package/dist/index83.js +346 -9
  368. package/dist/index84.cjs +1 -1
  369. package/dist/index84.js +74 -9
  370. package/dist/index85.cjs +1 -1
  371. package/dist/index85.js +148 -4
  372. package/dist/index86.cjs +1 -1
  373. package/dist/index86.js +31 -42
  374. package/dist/index87.cjs +1 -1
  375. package/dist/index87.js +12 -380
  376. package/dist/index88.cjs +1 -1
  377. package/dist/index88.js +345 -37
  378. package/dist/index89.cjs +20 -1
  379. package/dist/index89.js +40 -18
  380. package/dist/index9.cjs +1 -1
  381. package/dist/index9.js +85 -17
  382. package/dist/index90.cjs +1 -1
  383. package/dist/index90.js +113 -56
  384. package/dist/index91.cjs +1 -1
  385. package/dist/index91.js +272 -51
  386. package/dist/index92.cjs +1 -1
  387. package/dist/index92.js +129 -50
  388. package/dist/index93.cjs +1 -1
  389. package/dist/index93.js +13 -54
  390. package/dist/index94.cjs +1 -1
  391. package/dist/index94.js +28 -55
  392. package/dist/index95.cjs +1 -1
  393. package/dist/index95.js +525 -80
  394. package/dist/index96.cjs +1 -1
  395. package/dist/index96.js +75 -61
  396. package/dist/index97.cjs +1 -1
  397. package/dist/index97.js +67 -583
  398. package/dist/index98.cjs +1 -9
  399. package/dist/index98.js +32 -27
  400. package/dist/index99.cjs +1 -1
  401. package/dist/index99.js +17 -49
  402. package/dist/ui/alert-dialog.d.ts +15 -0
  403. package/dist/ui/alert-dialog.d.ts.map +1 -0
  404. package/dist/ui/alert.d.ts +10 -0
  405. package/dist/ui/alert.d.ts.map +1 -0
  406. package/dist/ui/aspect-ratio.d.ts +4 -0
  407. package/dist/ui/aspect-ratio.d.ts.map +1 -0
  408. package/dist/ui/avatar.d.ts +7 -0
  409. package/dist/ui/avatar.d.ts.map +1 -0
  410. package/dist/ui/badge.d.ts +1 -1
  411. package/dist/ui/breadcrumb.d.ts +12 -0
  412. package/dist/ui/breadcrumb.d.ts.map +1 -0
  413. package/dist/ui/button.d.ts +1 -1
  414. package/dist/ui/carousel.d.ts +20 -0
  415. package/dist/ui/carousel.d.ts.map +1 -0
  416. package/dist/ui/collapsible.d.ts +6 -0
  417. package/dist/ui/collapsible.d.ts.map +1 -0
  418. package/dist/ui/context-menu.d.ts +26 -0
  419. package/dist/ui/context-menu.d.ts.map +1 -0
  420. package/dist/ui/drawer.d.ts +14 -0
  421. package/dist/ui/drawer.d.ts.map +1 -0
  422. package/dist/ui/hover-card.d.ts +7 -0
  423. package/dist/ui/hover-card.d.ts.map +1 -0
  424. package/dist/ui/index.d.ts +23 -0
  425. package/dist/ui/index.d.ts.map +1 -1
  426. package/dist/ui/input-otp.d.ts +12 -0
  427. package/dist/ui/input-otp.d.ts.map +1 -0
  428. package/dist/ui/menubar.d.ts +27 -0
  429. package/dist/ui/menubar.d.ts.map +1 -0
  430. package/dist/ui/navigation-menu.d.ts +15 -0
  431. package/dist/ui/navigation-menu.d.ts.map +1 -0
  432. package/dist/ui/pagination.d.ts +14 -0
  433. package/dist/ui/pagination.d.ts.map +1 -0
  434. package/dist/ui/resizable.d.ts +9 -0
  435. package/dist/ui/resizable.d.ts.map +1 -0
  436. package/dist/ui/sheet.d.ts +14 -0
  437. package/dist/ui/sheet.d.ts.map +1 -0
  438. package/dist/ui/sidebar.d.ts +70 -0
  439. package/dist/ui/sidebar.d.ts.map +1 -0
  440. package/dist/ui/skeleton.d.ts +3 -0
  441. package/dist/ui/skeleton.d.ts.map +1 -0
  442. package/dist/ui/slider.d.ts +5 -0
  443. package/dist/ui/slider.d.ts.map +1 -0
  444. package/dist/ui/switch.d.ts +5 -0
  445. package/dist/ui/switch.d.ts.map +1 -0
  446. package/dist/ui/tabs.d.ts +8 -0
  447. package/dist/ui/tabs.d.ts.map +1 -0
  448. package/dist/ui/toggle-group.d.ts +8 -0
  449. package/dist/ui/toggle-group.d.ts.map +1 -0
  450. package/dist/ui/toggle.d.ts +10 -0
  451. package/dist/ui/toggle.d.ts.map +1 -0
  452. package/package.json +23 -5
package/dist/index86.cjs CHANGED
@@ -1 +1 @@
1
- function e(e,t){return(e<0?`-`:``)+Math.abs(e).toString().padStart(t,`0`)}exports.addLeadingZeros=e;
1
+ "use client";const e=require("./index2.cjs"),t=require("./index7.cjs"),n=require("./index8.cjs"),r=require("./index9.cjs"),i=require("./index13.cjs"),a=require("./index30.cjs"),o=require("./index31.cjs"),s=require("./index38.cjs"),c=require("./index47.cjs"),l=require("./index48.cjs");let u=require("react");u=e.__toESM(u,1);let d=require("react/jsx-runtime");var f=Object.defineProperty,p=(e,t)=>f(e,`name`,{value:t,configurable:!0}),m,h=`HoverCard`,[g,_]=t.createContextScope(h,[c.createPopperScope]),v=c.createPopperScope(),[y,b]=g(h),x=p(e=>{let{__scopeHoverCard:t,children:n,open:r,defaultOpen:i,onOpenChange:o,openDelay:s=700,closeDelay:l=300}=e,f=v(t),p=u.useRef(0),m=u.useRef(0),g=u.useRef(!1),_=u.useRef(!1),[b,x]=a.useControllableState({prop:r,defaultProp:i??!1,onChange:o,caller:h}),S=u.useCallback(()=>{clearTimeout(m.current),p.current=window.setTimeout(()=>x(!0),s)},[s,x]),C=u.useCallback(()=>{clearTimeout(p.current),!g.current&&!_.current&&(m.current=window.setTimeout(()=>x(!1),l))},[l,x]),w=u.useCallback(()=>x(!1),[x]);return u.useEffect(()=>()=>{clearTimeout(p.current),clearTimeout(m.current)},[]),(0,d.jsx)(y,{scope:t,open:b,onOpenChange:x,onOpen:S,onClose:C,onDismiss:w,hasSelectionRef:g,isPointerDownOnContentRef:_,children:(0,d.jsx)(c.Root2,{...f,children:n})})},`HoverCard`),S=`HoverCardTrigger`,C=u.forwardRef(p(function(e,t){let{__scopeHoverCard:n,...a}=e,o=b(S,n),s=v(n);return(0,d.jsx)(c.Anchor,{asChild:!0,...s,children:(0,d.jsx)(i.Primitive.a,{"data-state":o.open?`open`:`closed`,...a,ref:t,onPointerEnter:r.composeEventHandlers(e.onPointerEnter,j(o.onOpen)),onPointerLeave:r.composeEventHandlers(e.onPointerLeave,j(o.onClose)),onFocus:r.composeEventHandlers(e.onFocus,o.onOpen),onBlur:r.composeEventHandlers(e.onBlur,o.onClose),onTouchStart:r.composeEventHandlers(e.onTouchStart,e=>e.preventDefault())})})},`HoverCardTrigger`)),w=`HoverCardPortal`,[T,E]=g(w,{forceMount:void 0}),D=p(e=>{let{__scopeHoverCard:t,forceMount:n,children:r,container:i}=e,a=b(w,t);return(0,d.jsx)(T,{scope:t,forceMount:n,children:(0,d.jsx)(o.Presence,{present:n||a.open,children:(0,d.jsx)(l.Portal,{asChild:!0,container:i,children:r})})})},`HoverCardPortal`),O=`HoverCardContent`,k=u.forwardRef(p(function(e,t){let n=E(O,e.__scopeHoverCard),{forceMount:i=n.forceMount,...a}=e,s=b(O,e.__scopeHoverCard);return(0,d.jsx)(o.Presence,{present:i||s.open,children:(0,d.jsx)(A,{"data-state":s.open?`open`:`closed`,...a,onPointerEnter:r.composeEventHandlers(e.onPointerEnter,j(s.onOpen)),onPointerLeave:r.composeEventHandlers(e.onPointerLeave,j(s.onClose)),ref:t})})},`HoverCardContent`)),A=u.forwardRef(p(function(e,t){let{__scopeHoverCard:i,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:l,onInteractOutside:f,...h}=e,g=b(O,i),_=v(i),y=u.useRef(null),x=n.useComposedRefs(t,y),[S,C]=u.useState(!1);return u.useEffect(()=>{if(S){let e=document.body;return m=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect=`none`,e.style.webkitUserSelect=`none`,()=>{e.style.userSelect=m,e.style.webkitUserSelect=m}}},[S]),u.useEffect(()=>{if(y.current){let e=p(()=>{C(!1),g.isPointerDownOnContentRef.current=!1,setTimeout(()=>{document.getSelection()?.toString()!==``&&(g.hasSelectionRef.current=!0)})},`handlePointerUp`);return document.addEventListener(`pointerup`,e),()=>{document.removeEventListener(`pointerup`,e),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!1}}},[g.isPointerDownOnContentRef,g.hasSelectionRef]),u.useEffect(()=>{y.current&&M(y.current).forEach(e=>e.setAttribute(`tabindex`,`-1`))}),(0,d.jsx)(s.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:r.composeEventHandlers(l,e=>{e.preventDefault()}),onDismiss:g.onDismiss,children:(0,d.jsx)(c.Content,{..._,...h,onPointerDown:r.composeEventHandlers(h.onPointerDown,e=>{e.currentTarget.contains(e.target)&&C(!0),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!0}),ref:x,style:{...h.style,userSelect:S?`text`:void 0,WebkitUserSelect:S?`text`:void 0,"--radix-hover-card-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-hover-card-content-available-width":`var(--radix-popper-available-width)`,"--radix-hover-card-content-available-height":`var(--radix-popper-available-height)`,"--radix-hover-card-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-hover-card-trigger-height":`var(--radix-popper-anchor-height)`}})})},`HoverCardContentImpl`));function j(e){return t=>t.pointerType===`touch`?void 0:e()}p(j,`excludeTouch`);function M(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:p(e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}p(M,`getTabbableNodes`);var N=x,P=C,F=D,I=k;exports.Content2=I,exports.Portal=F,exports.Root2=N,exports.Trigger=P;
package/dist/index86.js CHANGED
@@ -1,43 +1,32 @@
1
- import { addLeadingZeros as e } from "./index85.js";
2
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js
3
- var t = {
4
- y(t, n) {
5
- let r = t.getFullYear(), i = r > 0 ? r : 1 - r;
6
- return e(n === "yy" ? i % 100 : i, n.length);
7
- },
8
- M(t, n) {
9
- let r = t.getMonth();
10
- return n === "M" ? String(r + 1) : e(r + 1, 2);
11
- },
12
- d(t, n) {
13
- return e(t.getDate(), n.length);
14
- },
15
- a(e, t) {
16
- let n = e.getHours() / 12 >= 1 ? "pm" : "am";
17
- switch (t) {
18
- case "a":
19
- case "aa": return n.toUpperCase();
20
- case "aaa": return n;
21
- case "aaaaa": return n[0];
22
- default: return n === "am" ? "a.m." : "p.m.";
23
- }
24
- },
25
- h(t, n) {
26
- return e(t.getHours() % 12 || 12, n.length);
27
- },
28
- H(t, n) {
29
- return e(t.getHours(), n.length);
30
- },
31
- m(t, n) {
32
- return e(t.getMinutes(), n.length);
33
- },
34
- s(t, n) {
35
- return e(t.getSeconds(), n.length);
36
- },
37
- S(t, n) {
38
- let r = n.length, i = t.getMilliseconds();
39
- return e(Math.trunc(i * 10 ** (r - 3)), n.length);
40
- }
41
- };
1
+ "use client";
2
+ import { cn as e } from "./index3.js";
3
+ import { Content2 as t, Portal as n, Root2 as r, Trigger as i } from "./index85.js";
4
+ import "react";
5
+ import { jsx as a } from "react/jsx-runtime";
6
+ //#region src/ui/hover-card.tsx
7
+ function o({ ...e }) {
8
+ return /* @__PURE__ */ a(r, {
9
+ "data-slot": "hover-card",
10
+ ...e
11
+ });
12
+ }
13
+ function s({ ...e }) {
14
+ return /* @__PURE__ */ a(i, {
15
+ "data-slot": "hover-card-trigger",
16
+ ...e
17
+ });
18
+ }
19
+ function c({ className: r, align: i = "center", sideOffset: o = 4, ...s }) {
20
+ return /* @__PURE__ */ a(n, {
21
+ "data-slot": "hover-card-portal",
22
+ children: /* @__PURE__ */ a(t, {
23
+ "data-slot": "hover-card-content",
24
+ align: i,
25
+ sideOffset: o,
26
+ className: e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", r),
27
+ ...s
28
+ })
29
+ });
30
+ }
42
31
  //#endregion
43
- export { t as lightFormatters };
32
+ export { o as HoverCard, c as HoverCardContent, s as HoverCardTrigger };
package/dist/index87.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index86.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;
1
+ "use client";const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index86.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("react/jsx-runtime");function a({...e}){return(0,i.jsx)(n.Root2,{"data-slot":`hover-card`,...e})}function o({...e}){return(0,i.jsx)(n.Trigger,{"data-slot":`hover-card-trigger`,...e})}function s({className:e,align:r=`center`,sideOffset:a=4,...o}){return(0,i.jsx)(n.Portal,{"data-slot":`hover-card-portal`,children:(0,i.jsx)(n.Content2,{"data-slot":`hover-card-content`,align:r,sideOffset:a,className:t.cn(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden`,e),...o})})}exports.HoverCard=a,exports.HoverCardContent=s,exports.HoverCardTrigger=o;
package/dist/index87.js CHANGED
@@ -1,382 +1,14 @@
1
- import e from "./index72.js";
2
- import t from "./index80.js";
3
- import n from "./index81.js";
4
- import r from "./index82.js";
5
- import i from "./index84.js";
6
- import { addLeadingZeros as a } from "./index85.js";
7
- import { lightFormatters as o } from "./index86.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;
1
+ import { cn as e } from "./index3.js";
2
+ import "react";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ //#region src/ui/input.tsx
5
+ function n({ className: n, type: r, ...i }) {
6
+ return /* @__PURE__ */ t("input", {
7
+ type: r,
8
+ "data-slot": "input",
9
+ className: e("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", n),
10
+ ...i
11
+ });
380
12
  }
381
13
  //#endregion
382
- export { c as formatters };
14
+ export { n as Input };
package/dist/index88.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index73.cjs"),t=require("./index81.cjs"),n=require("./index82.cjs"),r=require("./index83.cjs"),i=require("./index85.cjs"),a=require("./index86.cjs"),o=require("./index87.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;
1
+ const e=require("./index2.cjs"),t=require("./index4.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime");function i({className:e,type:n,...i}){return(0,r.jsx)(`input`,{type:n,"data-slot":`input`,className:t.cn(`file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,`focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]`,`aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,e),...i})}exports.Input=i;