@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
@@ -0,0 +1,124 @@
1
+ import { buildMatchFn as e } from "./index144.js";
2
+ import { buildMatchPatternFn as t } from "./index145.js";
3
+ var n = {
4
+ ordinalNumber: t({
5
+ matchPattern: /^(\d+)(th|st|nd|rd)?/i,
6
+ parsePattern: /\d+/i,
7
+ valueCallback: (e) => parseInt(e, 10)
8
+ }),
9
+ era: e({
10
+ matchPatterns: {
11
+ narrow: /^(b|a)/i,
12
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
13
+ wide: /^(before christ|before common era|anno domini|common era)/i
14
+ },
15
+ defaultMatchWidth: "wide",
16
+ parsePatterns: { any: [/^b/i, /^(a|c)/i] },
17
+ defaultParseWidth: "any"
18
+ }),
19
+ quarter: e({
20
+ matchPatterns: {
21
+ narrow: /^[1234]/i,
22
+ abbreviated: /^q[1234]/i,
23
+ wide: /^[1234](th|st|nd|rd)? quarter/i
24
+ },
25
+ defaultMatchWidth: "wide",
26
+ parsePatterns: { any: [
27
+ /1/i,
28
+ /2/i,
29
+ /3/i,
30
+ /4/i
31
+ ] },
32
+ defaultParseWidth: "any",
33
+ valueCallback: (e) => e + 1
34
+ }),
35
+ month: e({
36
+ matchPatterns: {
37
+ narrow: /^[jfmasond]/i,
38
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
39
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
40
+ },
41
+ defaultMatchWidth: "wide",
42
+ parsePatterns: {
43
+ narrow: [
44
+ /^j/i,
45
+ /^f/i,
46
+ /^m/i,
47
+ /^a/i,
48
+ /^m/i,
49
+ /^j/i,
50
+ /^j/i,
51
+ /^a/i,
52
+ /^s/i,
53
+ /^o/i,
54
+ /^n/i,
55
+ /^d/i
56
+ ],
57
+ any: [
58
+ /^ja/i,
59
+ /^f/i,
60
+ /^mar/i,
61
+ /^ap/i,
62
+ /^may/i,
63
+ /^jun/i,
64
+ /^jul/i,
65
+ /^au/i,
66
+ /^s/i,
67
+ /^o/i,
68
+ /^n/i,
69
+ /^d/i
70
+ ]
71
+ },
72
+ defaultParseWidth: "any"
73
+ }),
74
+ day: e({
75
+ matchPatterns: {
76
+ narrow: /^[smtwf]/i,
77
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
78
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
79
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
80
+ },
81
+ defaultMatchWidth: "wide",
82
+ parsePatterns: {
83
+ narrow: [
84
+ /^s/i,
85
+ /^m/i,
86
+ /^t/i,
87
+ /^w/i,
88
+ /^t/i,
89
+ /^f/i,
90
+ /^s/i
91
+ ],
92
+ any: [
93
+ /^su/i,
94
+ /^m/i,
95
+ /^tu/i,
96
+ /^w/i,
97
+ /^th/i,
98
+ /^f/i,
99
+ /^sa/i
100
+ ]
101
+ },
102
+ defaultParseWidth: "any"
103
+ }),
104
+ dayPeriod: e({
105
+ matchPatterns: {
106
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
107
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
108
+ },
109
+ defaultMatchWidth: "any",
110
+ parsePatterns: { any: {
111
+ am: /^a/i,
112
+ pm: /^p/i,
113
+ midnight: /^mi/i,
114
+ noon: /^no/i,
115
+ morning: /morning/i,
116
+ afternoon: /afternoon/i,
117
+ evening: /evening/i,
118
+ night: /night/i
119
+ } },
120
+ defaultParseWidth: "any"
121
+ })
122
+ };
123
+ //#endregion
124
+ export { n as match };
@@ -0,0 +1 @@
1
+ const e=require("./index145.cjs");var t={ordinalNumber:require("./index146.cjs").buildMatchPatternFn({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:e.buildMatchFn({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:`any`}),quarter:e.buildMatchFn({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:e.buildMatchFn({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:e.buildMatchFn({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:e.buildMatchFn({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:`any`})};exports.match=t;
@@ -0,0 +1,32 @@
1
+ import { buildFormatLongFn as e } from "./index142.js";
2
+ var t = {
3
+ date: e({
4
+ formats: {
5
+ full: "EEEE, MMMM do, y",
6
+ long: "MMMM do, y",
7
+ medium: "MMM d, y",
8
+ short: "MM/dd/yyyy"
9
+ },
10
+ defaultWidth: "full"
11
+ }),
12
+ time: e({
13
+ formats: {
14
+ full: "h:mm:ss a zzzz",
15
+ long: "h:mm:ss a z",
16
+ medium: "h:mm:ss a",
17
+ short: "h:mm a"
18
+ },
19
+ defaultWidth: "full"
20
+ }),
21
+ dateTime: e({
22
+ formats: {
23
+ full: "{{date}} 'at' {{time}}",
24
+ long: "{{date}} 'at' {{time}}",
25
+ medium: "{{date}}, {{time}}",
26
+ short: "{{date}}, {{time}}"
27
+ },
28
+ defaultWidth: "full"
29
+ })
30
+ };
31
+ //#endregion
32
+ export { t as formatLong };
@@ -0,0 +1 @@
1
+ const e=require("./index143.cjs");var t={date:e.buildFormatLongFn({formats:{full:`EEEE, MMMM do, y`,long:`MMMM do, y`,medium:`MMM d, y`,short:`MM/dd/yyyy`},defaultWidth:`full`}),time:e.buildFormatLongFn({formats:{full:`h:mm:ss a zzzz`,long:`h:mm:ss a z`,medium:`h:mm:ss a`,short:`h:mm a`},defaultWidth:`full`}),dateTime:e.buildFormatLongFn({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})};exports.formatLong=t;
@@ -0,0 +1,20 @@
1
+ import { formatDistance as e } from "./index152.js";
2
+ import { formatRelative as t } from "./index153.js";
3
+ import { localize as n } from "./index154.js";
4
+ import { match as r } from "./index155.js";
5
+ import { formatLong as i } from "./index156.js";
6
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js
7
+ var a = {
8
+ code: "en-US",
9
+ formatDistance: e,
10
+ formatLong: i,
11
+ formatRelative: t,
12
+ localize: n,
13
+ match: r,
14
+ options: {
15
+ weekStartsOn: 0,
16
+ firstWeekContainsDate: 1
17
+ }
18
+ };
19
+ //#endregion
20
+ export { a as default };
@@ -0,0 +1 @@
1
+ const e=require("./index153.cjs"),t=require("./index154.cjs"),n=require("./index155.cjs"),r=require("./index156.cjs"),i=require("./index157.cjs");var a={code:`en-US`,formatDistance:e.formatDistance,formatLong:i.formatLong,formatRelative:t.formatRelative,localize:n.localize,match:r.match,options:{weekStartsOn:0,firstWeekContainsDate:1}};exports.default=a;
@@ -0,0 +1,69 @@
1
+ //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/vi/_lib/formatDistance.js
2
+ var e = {
3
+ lessThanXSeconds: {
4
+ one: "dưới 1 giây",
5
+ other: "dưới {{count}} giây"
6
+ },
7
+ xSeconds: {
8
+ one: "1 giây",
9
+ other: "{{count}} giây"
10
+ },
11
+ halfAMinute: "nửa phút",
12
+ lessThanXMinutes: {
13
+ one: "dưới 1 phút",
14
+ other: "dưới {{count}} phút"
15
+ },
16
+ xMinutes: {
17
+ one: "1 phút",
18
+ other: "{{count}} phút"
19
+ },
20
+ aboutXHours: {
21
+ one: "khoảng 1 giờ",
22
+ other: "khoảng {{count}} giờ"
23
+ },
24
+ xHours: {
25
+ one: "1 giờ",
26
+ other: "{{count}} giờ"
27
+ },
28
+ xDays: {
29
+ one: "1 ngày",
30
+ other: "{{count}} ngày"
31
+ },
32
+ aboutXWeeks: {
33
+ one: "khoảng 1 tuần",
34
+ other: "khoảng {{count}} tuần"
35
+ },
36
+ xWeeks: {
37
+ one: "1 tuần",
38
+ other: "{{count}} tuần"
39
+ },
40
+ aboutXMonths: {
41
+ one: "khoảng 1 tháng",
42
+ other: "khoảng {{count}} tháng"
43
+ },
44
+ xMonths: {
45
+ one: "1 tháng",
46
+ other: "{{count}} tháng"
47
+ },
48
+ aboutXYears: {
49
+ one: "khoảng 1 năm",
50
+ other: "khoảng {{count}} năm"
51
+ },
52
+ xYears: {
53
+ one: "1 năm",
54
+ other: "{{count}} năm"
55
+ },
56
+ overXYears: {
57
+ one: "hơn 1 năm",
58
+ other: "hơn {{count}} năm"
59
+ },
60
+ almostXYears: {
61
+ one: "gần 1 năm",
62
+ other: "gần {{count}} năm"
63
+ }
64
+ }, t = (t, n, r) => {
65
+ let i, a = e[t];
66
+ return i = typeof a == "string" ? a : n === 1 ? a.one : a.other.replace("{{count}}", String(n)), r?.addSuffix ? r.comparison && r.comparison > 0 ? i + " nữa" : i + " trước" : i;
67
+ };
68
+ //#endregion
69
+ export { t as formatDistance };
@@ -0,0 +1 @@
1
+ var e={lessThanXSeconds:{one:`dưới 1 giây`,other:`dưới {{count}} giây`},xSeconds:{one:`1 giây`,other:`{{count}} giây`},halfAMinute:`nửa phút`,lessThanXMinutes:{one:`dưới 1 phút`,other:`dưới {{count}} phút`},xMinutes:{one:`1 phút`,other:`{{count}} phút`},aboutXHours:{one:`khoảng 1 giờ`,other:`khoảng {{count}} giờ`},xHours:{one:`1 giờ`,other:`{{count}} giờ`},xDays:{one:`1 ngày`,other:`{{count}} ngày`},aboutXWeeks:{one:`khoảng 1 tuần`,other:`khoảng {{count}} tuần`},xWeeks:{one:`1 tuần`,other:`{{count}} tuần`},aboutXMonths:{one:`khoảng 1 tháng`,other:`khoảng {{count}} tháng`},xMonths:{one:`1 tháng`,other:`{{count}} tháng`},aboutXYears:{one:`khoảng 1 năm`,other:`khoảng {{count}} năm`},xYears:{one:`1 năm`,other:`{{count}} năm`},overXYears:{one:`hơn 1 năm`,other:`hơn {{count}} năm`},almostXYears:{one:`gần 1 năm`,other:`gần {{count}} năm`}},t=(t,n,r)=>{let i,a=e[t];return i=typeof a==`string`?a:n===1?a.one:a.other.replace(`{{count}}`,String(n)),r?.addSuffix?r.comparison&&r.comparison>0?i+` nữa`:i+` trước`:i};exports.formatDistance=t;
@@ -0,0 +1,32 @@
1
+ import { buildFormatLongFn as e } from "./index142.js";
2
+ var t = {
3
+ date: e({
4
+ formats: {
5
+ full: "EEEE, 'ngày' d MMMM 'năm' y",
6
+ long: "'ngày' d MMMM 'năm' y",
7
+ medium: "d MMM 'năm' y",
8
+ short: "dd/MM/y"
9
+ },
10
+ defaultWidth: "full"
11
+ }),
12
+ time: e({
13
+ formats: {
14
+ full: "HH:mm:ss zzzz",
15
+ long: "HH:mm:ss z",
16
+ medium: "HH:mm:ss",
17
+ short: "HH:mm"
18
+ },
19
+ defaultWidth: "full"
20
+ }),
21
+ dateTime: e({
22
+ formats: {
23
+ full: "{{date}} {{time}}",
24
+ long: "{{date}} {{time}}",
25
+ medium: "{{date}} {{time}}",
26
+ short: "{{date}} {{time}}"
27
+ },
28
+ defaultWidth: "full"
29
+ })
30
+ };
31
+ //#endregion
32
+ export { t as formatLong };
package/dist/index16.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index4.cjs"),t=require("./index14.cjs"),n=require("./index15.cjs");let r=require("react"),i=require("react/jsx-runtime"),a=require("class-variance-authority");function o({className:t,...n}){return(0,i.jsx)(`fieldset`,{"data-slot":`field-set`,className:e.cn(`flex flex-col gap-6`,`has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3`,t),...n})}function s({className:t,variant:n=`legend`,...r}){return(0,i.jsx)(`legend`,{"data-slot":`field-legend`,"data-variant":n,className:e.cn(`mb-3 font-medium`,`data-[variant=legend]:text-base`,`data-[variant=label]:text-sm`,t),...r})}function c({className:t,...n}){return(0,i.jsx)(`div`,{"data-slot":`field-group`,className:e.cn(`group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4`,t),...n})}var l=(0,a.cva)(`group/field flex w-full gap-3 data-[invalid=true]:text-destructive`,{variants:{orientation:{vertical:[`flex-col [&>*]:w-full [&>.sr-only]:w-auto`],horizontal:[`flex-row items-center`,`[&>[data-slot=field-label]]:flex-auto`,`has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`],responsive:[`flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto`,`@md/field-group:[&>[data-slot=field-label]]:flex-auto`,`@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`]}},defaultVariants:{orientation:`vertical`}});function u({className:t,orientation:n=`vertical`,...r}){return(0,i.jsx)(`div`,{role:`group`,"data-slot":`field`,"data-orientation":n,className:e.cn(l({orientation:n}),t),...r})}function d({className:t,...n}){return(0,i.jsx)(`div`,{"data-slot":`field-content`,className:e.cn(`group/field-content flex flex-1 flex-col gap-1.5 leading-snug`,t),...n})}function f({className:n,...r}){return(0,i.jsx)(t.Label,{"data-slot":`field-label`,className:e.cn(`group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50`,`has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4`,`has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10`,n),...r})}function p({className:t,...n}){return(0,i.jsx)(`div`,{"data-slot":`field-label`,className:e.cn(`flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50`,t),...n})}function m({className:t,...n}){return(0,i.jsx)(`p`,{"data-slot":`field-description`,className:e.cn(`text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,t),...n})}function h({children:t,className:r,...a}){return(0,i.jsxs)(`div`,{"data-slot":`field-separator`,"data-content":!!t,className:e.cn(`relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2`,r),...a,children:[(0,i.jsx)(n.Separator,{className:`absolute inset-0 top-1/2`}),t&&(0,i.jsx)(`span`,{className:`bg-background text-muted-foreground relative mx-auto block w-fit px-2`,"data-slot":`field-separator-content`,children:t})]})}function g({className:t,children:n,errors:a,...o}){let s=(0,r.useMemo)(()=>{if(n)return n;if(!a?.length)return null;let e=[...new Map(a.map(e=>[e?.message,e])).values()];return e?.length==1?e[0]?.message:(0,i.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:e.map((e,t)=>e?.message&&(0,i.jsx)(`li`,{children:e.message},t))})},[n,a]);return s?(0,i.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:e.cn(`text-destructive text-sm font-normal`,t),...o,children:s}):null}exports.Field=u,exports.FieldContent=d,exports.FieldDescription=m,exports.FieldError=g,exports.FieldGroup=c,exports.FieldLabel=f,exports.FieldLegend=s,exports.FieldSeparator=h,exports.FieldSet=o,exports.FieldTitle=p;
1
+ const e=require("./index2.cjs");let t=require("react");t=e.__toESM(t,1);var n=Object.defineProperty,r=(e,t)=>n(e,`name`,{value:t,configurable:!0});function i(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>((...e)=>n.current?.(...e)),[])}r(i,`useCallbackRef`),exports.useCallbackRef=i;