@rpcbase/ui 0.179.0 → 0.181.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. package/dist/index100.js +4 -5
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +3 -3
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +5 -4
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +145 -4
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +39 -8
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +4 -5
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +7 -4
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +13 -4
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +13 -6
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +7 -145
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +30 -38
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +10 -4
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +10 -7
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +8 -13
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +13 -13
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +100 -6
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +20 -32
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +52 -9
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +71 -9
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +9 -8
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +20 -13
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +16 -101
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +24 -20
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +6 -53
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +5 -72
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +23 -9
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +33 -19
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +16 -17
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +6 -23
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +4 -6
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +4 -5
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +4 -23
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +5 -35
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +4 -16
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +5 -5
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +24 -5
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +7 -4
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +6 -4
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +5 -4
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +3 -3
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +3 -6
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +5 -24
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +3 -7
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +4 -6
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +3 -5
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +3 -3
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +3 -3
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +46 -4
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +46 -3
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +205 -4
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index150.js +22 -4
  102. package/dist/index150.js.map +1 -1
  103. package/dist/index151.js +24 -3
  104. package/dist/index151.js.map +1 -1
  105. package/dist/index152.js +399 -3
  106. package/dist/index152.js.map +1 -1
  107. package/dist/index153.js +13 -13
  108. package/dist/index156.js +1 -1
  109. package/dist/index156.js.map +1 -1
  110. package/dist/index175.js +16 -24
  111. package/dist/index175.js.map +1 -1
  112. package/dist/index176.js +6 -29
  113. package/dist/index176.js.map +1 -1
  114. package/dist/index177.js +6 -5
  115. package/dist/index177.js.map +1 -1
  116. package/dist/index178.js +2 -2
  117. package/dist/index179.js +66 -8
  118. package/dist/index179.js.map +1 -1
  119. package/dist/index180.js +6 -66
  120. package/dist/index180.js.map +1 -1
  121. package/dist/index181.js +4 -19
  122. package/dist/index181.js.map +1 -1
  123. package/dist/index182.js +7 -16
  124. package/dist/index182.js.map +1 -1
  125. package/dist/index183.js +17 -5
  126. package/dist/index183.js.map +1 -1
  127. package/dist/index184.js +5 -5
  128. package/dist/index184.js.map +1 -1
  129. package/dist/index185.js +5 -6
  130. package/dist/index185.js.map +1 -1
  131. package/dist/index186.js +13 -4
  132. package/dist/index186.js.map +1 -1
  133. package/dist/index187.js +10 -7
  134. package/dist/index187.js.map +1 -1
  135. package/dist/index188.js +14 -17
  136. package/dist/index188.js.map +1 -1
  137. package/dist/index189.js +14 -5
  138. package/dist/index189.js.map +1 -1
  139. package/dist/index190.js +5 -5
  140. package/dist/index190.js.map +1 -1
  141. package/dist/index191.js +6 -13
  142. package/dist/index191.js.map +1 -1
  143. package/dist/index192.js +7 -10
  144. package/dist/index192.js.map +1 -1
  145. package/dist/index193.js +6 -14
  146. package/dist/index193.js.map +1 -1
  147. package/dist/index194.js +9 -14
  148. package/dist/index194.js.map +1 -1
  149. package/dist/index195.js +5 -5
  150. package/dist/index195.js.map +1 -1
  151. package/dist/index196.js +5 -6
  152. package/dist/index196.js.map +1 -1
  153. package/dist/index197.js +9 -7
  154. package/dist/index197.js.map +1 -1
  155. package/dist/index198.js +5 -6
  156. package/dist/index198.js.map +1 -1
  157. package/dist/index199.js +5 -9
  158. package/dist/index199.js.map +1 -1
  159. package/dist/index200.js +4 -5
  160. package/dist/index200.js.map +1 -1
  161. package/dist/index201.js +11 -5
  162. package/dist/index201.js.map +1 -1
  163. package/dist/index202.js +10 -9
  164. package/dist/index202.js.map +1 -1
  165. package/dist/index203.js +10 -5
  166. package/dist/index203.js.map +1 -1
  167. package/dist/index204.js +11 -5
  168. package/dist/index204.js.map +1 -1
  169. package/dist/index205.js +11 -4
  170. package/dist/index205.js.map +1 -1
  171. package/dist/index206.js +10 -11
  172. package/dist/index206.js.map +1 -1
  173. package/dist/index207.js +7 -10
  174. package/dist/index207.js.map +1 -1
  175. package/dist/index208.js +6 -10
  176. package/dist/index208.js.map +1 -1
  177. package/dist/index209.js +5 -11
  178. package/dist/index209.js.map +1 -1
  179. package/dist/index210.js +6 -11
  180. package/dist/index210.js.map +1 -1
  181. package/dist/index211.js +6 -9
  182. package/dist/index211.js.map +1 -1
  183. package/dist/index212.js +6 -7
  184. package/dist/index212.js.map +1 -1
  185. package/dist/index213.js +55 -6
  186. package/dist/index213.js.map +1 -1
  187. package/dist/index214.js +8 -5
  188. package/dist/index214.js.map +1 -1
  189. package/dist/index215.js +19 -6
  190. package/dist/index215.js.map +1 -1
  191. package/dist/index216.js +16 -7
  192. package/dist/index216.js.map +1 -1
  193. package/dist/index217.js +7 -6
  194. package/dist/index217.js.map +1 -1
  195. package/dist/index218.js +10 -55
  196. package/dist/index218.js.map +1 -1
  197. package/dist/index219.js +9 -15
  198. package/dist/index219.js.map +1 -1
  199. package/dist/index220.js +21 -7
  200. package/dist/index220.js.map +1 -1
  201. package/dist/index221.js +10 -10
  202. package/dist/index221.js.map +1 -1
  203. package/dist/index222.js +9 -10
  204. package/dist/index222.js.map +1 -1
  205. package/dist/index223.js +9 -21
  206. package/dist/index223.js.map +1 -1
  207. package/dist/index224.js +4 -10
  208. package/dist/index224.js.map +1 -1
  209. package/dist/index225.js +5 -9
  210. package/dist/index225.js.map +1 -1
  211. package/dist/index226.js +16 -9
  212. package/dist/index226.js.map +1 -1
  213. package/dist/index227.js +9 -4
  214. package/dist/index227.js.map +1 -1
  215. package/dist/index228.js +18 -5
  216. package/dist/index228.js.map +1 -1
  217. package/dist/index229.js +15 -16
  218. package/dist/index229.js.map +1 -1
  219. package/dist/index23.js +1 -1
  220. package/dist/index230.js +12 -9
  221. package/dist/index230.js.map +1 -1
  222. package/dist/index231.js +29 -18
  223. package/dist/index231.js.map +1 -1
  224. package/dist/index232.js +12 -15
  225. package/dist/index232.js.map +1 -1
  226. package/dist/index233.js +25 -12
  227. package/dist/index233.js.map +1 -1
  228. package/dist/index234.js +5 -29
  229. package/dist/index234.js.map +1 -1
  230. package/dist/index235.js +24 -12
  231. package/dist/index235.js.map +1 -1
  232. package/dist/index236.js +29 -26
  233. package/dist/index236.js.map +1 -1
  234. package/dist/index237.js +5 -6
  235. package/dist/index237.js.map +1 -1
  236. package/dist/index238.js +2 -2
  237. package/dist/index239.js +9 -9
  238. package/dist/index240.js +1 -1
  239. package/dist/index248.js +1 -1
  240. package/dist/index248.js.map +1 -1
  241. package/dist/index261.js.map +1 -1
  242. package/dist/index266.js +5 -5
  243. package/dist/index266.js.map +1 -1
  244. package/dist/index267.js +19 -3
  245. package/dist/index267.js.map +1 -1
  246. package/dist/index268.js +12 -23
  247. package/dist/index268.js.map +1 -1
  248. package/dist/index269.js +5 -113
  249. package/dist/index269.js.map +1 -1
  250. package/dist/index270.js +3 -16
  251. package/dist/index270.js.map +1 -1
  252. package/dist/index271.js +21 -522
  253. package/dist/index271.js.map +1 -1
  254. package/dist/index272.js +112 -127
  255. package/dist/index272.js.map +1 -1
  256. package/dist/index273.js +15 -133
  257. package/dist/index273.js.map +1 -1
  258. package/dist/index274.js +524 -4
  259. package/dist/index274.js.map +1 -1
  260. package/dist/index275.js +127 -18
  261. package/dist/index275.js.map +1 -1
  262. package/dist/index276.js +133 -12
  263. package/dist/index276.js.map +1 -1
  264. package/dist/index278.js +5 -64
  265. package/dist/index278.js.map +1 -1
  266. package/dist/index279.js +6 -69
  267. package/dist/index279.js.map +1 -1
  268. package/dist/index280.js +4 -9
  269. package/dist/index280.js.map +1 -1
  270. package/dist/index281.js +16 -14
  271. package/dist/index281.js.map +1 -1
  272. package/dist/index282.js +8 -65
  273. package/dist/index282.js.map +1 -1
  274. package/dist/index283.js +5 -5
  275. package/dist/index283.js.map +1 -1
  276. package/dist/index284.js +4 -5
  277. package/dist/index284.js.map +1 -1
  278. package/dist/index285.js +546 -4
  279. package/dist/index285.js.map +1 -1
  280. package/dist/index286.js +47 -16
  281. package/dist/index286.js.map +1 -1
  282. package/dist/index287.js +17 -8
  283. package/dist/index287.js.map +1 -1
  284. package/dist/index288.js +6 -5
  285. package/dist/index288.js.map +1 -1
  286. package/dist/index289.js +8 -4
  287. package/dist/index289.js.map +1 -1
  288. package/dist/index29.js +5 -5
  289. package/dist/index290.js +7 -545
  290. package/dist/index290.js.map +1 -1
  291. package/dist/index291.js +9 -47
  292. package/dist/index291.js.map +1 -1
  293. package/dist/index292.js +12 -17
  294. package/dist/index292.js.map +1 -1
  295. package/dist/index293.js +9 -6
  296. package/dist/index293.js.map +1 -1
  297. package/dist/index294.js +13 -8
  298. package/dist/index294.js.map +1 -1
  299. package/dist/index295.js +69 -8
  300. package/dist/index295.js.map +1 -1
  301. package/dist/index296.js +9 -9
  302. package/dist/index296.js.map +1 -1
  303. package/dist/index297.js +14 -13
  304. package/dist/index297.js.map +1 -1
  305. package/dist/index298.js +66 -10
  306. package/dist/index298.js.map +1 -1
  307. package/dist/index299.js +64 -13
  308. package/dist/index299.js.map +1 -1
  309. package/dist/index30.js +24 -24
  310. package/dist/index300.js +4 -3
  311. package/dist/index300.js.map +1 -1
  312. package/dist/index301.js +56 -23
  313. package/dist/index301.js.map +1 -1
  314. package/dist/index302.js +68 -5
  315. package/dist/index302.js.map +1 -1
  316. package/dist/index303.js +30 -55
  317. package/dist/index303.js.map +1 -1
  318. package/dist/index304.js +9 -68
  319. package/dist/index304.js.map +1 -1
  320. package/dist/index305.js +148 -26
  321. package/dist/index305.js.map +1 -1
  322. package/dist/index306.js +108 -9
  323. package/dist/index306.js.map +1 -1
  324. package/dist/index307.js +4 -153
  325. package/dist/index307.js.map +1 -1
  326. package/dist/index308.js +23 -108
  327. package/dist/index308.js.map +1 -1
  328. package/dist/index309.js +15 -12
  329. package/dist/index309.js.map +1 -1
  330. package/dist/index31.js +3 -3
  331. package/dist/index310.js +26 -25
  332. package/dist/index310.js.map +1 -1
  333. package/dist/index311.js +13 -5
  334. package/dist/index311.js.map +1 -1
  335. package/dist/index312.js +6 -22
  336. package/dist/index312.js.map +1 -1
  337. package/dist/index313.js +12 -15
  338. package/dist/index313.js.map +1 -1
  339. package/dist/index314.js +25 -26
  340. package/dist/index314.js.map +1 -1
  341. package/dist/index315.js +5 -13
  342. package/dist/index315.js.map +1 -1
  343. package/dist/index316.js +22 -6
  344. package/dist/index316.js.map +1 -1
  345. package/dist/index33.js +1 -1
  346. package/dist/index42.js +20 -20
  347. package/dist/index46.js +1 -1
  348. package/dist/index47.js +1 -1
  349. package/dist/index48.js +5 -52
  350. package/dist/index48.js.map +1 -1
  351. package/dist/index49.js +32 -203
  352. package/dist/index49.js.map +1 -1
  353. package/dist/index50.js +25 -5
  354. package/dist/index50.js.map +1 -1
  355. package/dist/index51.js +7 -33
  356. package/dist/index51.js.map +1 -1
  357. package/dist/index52.js +11 -26
  358. package/dist/index52.js.map +1 -1
  359. package/dist/index53.js +205 -8
  360. package/dist/index53.js.map +1 -1
  361. package/dist/index54.js +3 -11
  362. package/dist/index54.js.map +1 -1
  363. package/dist/index55.js +48 -2
  364. package/dist/index55.js.map +1 -1
  365. package/dist/index56.js +51 -2
  366. package/dist/index56.js.map +1 -1
  367. package/dist/index57.js +7 -3
  368. package/dist/index57.js.map +1 -1
  369. package/dist/index58.js +14 -47
  370. package/dist/index58.js.map +1 -1
  371. package/dist/index59.js +129 -46
  372. package/dist/index59.js.map +1 -1
  373. package/dist/index60.js +10 -7
  374. package/dist/index60.js.map +1 -1
  375. package/dist/index61.js +215 -13
  376. package/dist/index61.js.map +1 -1
  377. package/dist/index62.js +12 -133
  378. package/dist/index62.js.map +1 -1
  379. package/dist/index63.js +46 -10
  380. package/dist/index63.js.map +1 -1
  381. package/dist/index64.js +46 -213
  382. package/dist/index64.js.map +1 -1
  383. package/dist/index65.js +4 -13
  384. package/dist/index65.js.map +1 -1
  385. package/dist/index66.js +5 -46
  386. package/dist/index66.js.map +1 -1
  387. package/dist/index67.js +28 -50
  388. package/dist/index67.js.map +1 -1
  389. package/dist/index68.js +49 -3
  390. package/dist/index68.js.map +1 -1
  391. package/dist/index69.js +9 -6
  392. package/dist/index69.js.map +1 -1
  393. package/dist/index70.js +54 -28
  394. package/dist/index70.js.map +1 -1
  395. package/dist/index71.js +2 -50
  396. package/dist/index71.js.map +1 -1
  397. package/dist/index72.js +2 -9
  398. package/dist/index72.js.map +1 -1
  399. package/dist/index76.js +52 -47
  400. package/dist/index76.js.map +1 -1
  401. package/dist/index77.js +4 -46
  402. package/dist/index77.js.map +1 -1
  403. package/dist/index78.js +4 -205
  404. package/dist/index78.js.map +1 -1
  405. package/dist/index79.js +15 -21
  406. package/dist/index79.js.map +1 -1
  407. package/dist/index80.js +5 -24
  408. package/dist/index80.js.map +1 -1
  409. package/dist/index81.js +7 -399
  410. package/dist/index81.js.map +1 -1
  411. package/dist/index82.js +17 -52
  412. package/dist/index82.js.map +1 -1
  413. package/dist/index83.js +4 -4
  414. package/dist/index83.js.map +1 -1
  415. package/dist/index84.js +3 -3
  416. package/dist/index84.js.map +1 -1
  417. package/dist/index85.js +5 -15
  418. package/dist/index85.js.map +1 -1
  419. package/dist/index86.js +5 -5
  420. package/dist/index86.js.map +1 -1
  421. package/dist/index87.js +3 -6
  422. package/dist/index87.js.map +1 -1
  423. package/dist/index88.js +3 -15
  424. package/dist/index88.js.map +1 -1
  425. package/dist/index89.js +6 -4
  426. package/dist/index89.js.map +1 -1
  427. package/dist/index90.js +24 -4
  428. package/dist/index90.js.map +1 -1
  429. package/dist/index91.js +6 -5
  430. package/dist/index91.js.map +1 -1
  431. package/dist/index92.js +4 -5
  432. package/dist/index92.js.map +1 -1
  433. package/dist/index93.js +5 -3
  434. package/dist/index93.js.map +1 -1
  435. package/dist/index94.js +4 -3
  436. package/dist/index94.js.map +1 -1
  437. package/dist/index95.js +4 -6
  438. package/dist/index95.js.map +1 -1
  439. package/dist/index96.js +5 -24
  440. package/dist/index96.js.map +1 -1
  441. package/dist/index97.js +4 -6
  442. package/dist/index97.js.map +1 -1
  443. package/dist/index98.js +7 -3
  444. package/dist/index98.js.map +1 -1
  445. package/dist/index99.js +5 -6
  446. package/dist/index99.js.map +1 -1
  447. package/package.json +1 -1
package/dist/index127.js CHANGED
@@ -1,20 +1,19 @@
1
- import { useMulti as i } from "./index231.js";
2
- import { useRange as o } from "./index232.js";
3
- import { useSingle as s } from "./index233.js";
4
- function f(e, n) {
5
- const t = s(e, n), r = i(e, n), u = o(e, n);
6
- switch (e.mode) {
7
- case "single":
8
- return t;
9
- case "multiple":
10
- return r;
11
- case "range":
12
- return u;
13
- default:
14
- return;
15
- }
16
- }
1
+ import { formatCaption as t, formatMonthCaption as e } from "./index128.js";
2
+ import { formatDay as a } from "./index129.js";
3
+ import { formatMonthDropdown as p } from "./index130.js";
4
+ import { formatWeekdayName as x } from "./index131.js";
5
+ import { formatWeekNumber as i } from "./index132.js";
6
+ import { formatWeekNumberHeader as C } from "./index133.js";
7
+ import { formatYearCaption as N, formatYearDropdown as W } from "./index134.js";
17
8
  export {
18
- f as useSelection
9
+ t as formatCaption,
10
+ a as formatDay,
11
+ e as formatMonthCaption,
12
+ p as formatMonthDropdown,
13
+ i as formatWeekNumber,
14
+ C as formatWeekNumberHeader,
15
+ x as formatWeekdayName,
16
+ N as formatYearCaption,
17
+ W as formatYearDropdown
19
18
  };
20
19
  //# sourceMappingURL=index127.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index127.js","sources":["../../../node_modules/react-day-picker/dist/esm/useSelection.js"],"sourcesContent":["import { useMulti } from \"./selection/useMulti.js\";\nimport { useRange } from \"./selection/useRange.js\";\nimport { useSingle } from \"./selection/useSingle.js\";\n/**\n * Determines the appropriate selection hook to use based on the selection mode\n * and returns the corresponding selection object.\n *\n * @template T - The type of DayPicker props.\n * @param props - The DayPicker props.\n * @param dateLib - The date utility library instance.\n * @returns The selection object for the specified mode, or `undefined` if no\n * mode is set.\n */\nexport function useSelection(props, dateLib) {\n const single = useSingle(props, dateLib);\n const multi = useMulti(props, dateLib);\n const range = useRange(props, dateLib);\n switch (props.mode) {\n case \"single\":\n return single;\n case \"multiple\":\n return multi;\n case \"range\":\n return range;\n default:\n return undefined;\n }\n}\n"],"names":["useSelection","props","dateLib","single","useSingle","multi","useMulti","range","useRange"],"mappings":";;;AAaO,SAASA,EAAaC,GAAOC,GAAS;AACzC,QAAMC,IAASC,EAAUH,GAAOC,CAAO,GACjCG,IAAQC,EAASL,GAAOC,CAAO,GAC/BK,IAAQC,EAASP,GAAOC,CAAO;AACrC,UAAQD,EAAM,MAAI;AAAA,IACd,KAAK;AACD,aAAOE;AAAA,IACX,KAAK;AACD,aAAOE;AAAA,IACX,KAAK;AACD,aAAOE;AAAA,IACX;AACI;AAAA,EACZ;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index127.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
package/dist/index128.js CHANGED
@@ -1,27 +1,10 @@
1
- import "./index180.js";
2
- import { toTimeZone as i } from "./index130.js";
3
- import { isDateRange as e, isDateInterval as p, isDateAfterType as y, isDateBeforeType as D } from "./index131.js";
4
- function n(o, f, u) {
5
- return i(o, f);
6
- }
7
- function t(o, f, u) {
8
- return typeof o == "boolean" || typeof o == "function" ? o : o instanceof Date ? n(o, f) : Array.isArray(o) ? o.map((r) => r instanceof Date ? n(r, f) : r) : e(o) ? {
9
- ...o,
10
- from: o.from ? i(o.from, f) : o.from,
11
- to: o.to ? i(o.to, f) : o.to
12
- } : p(o) ? {
13
- before: n(o.before, f),
14
- after: n(o.after, f)
15
- } : y(o) ? {
16
- after: n(o.after, f)
17
- } : D(o) ? {
18
- before: n(o.before, f)
19
- } : o;
20
- }
21
- function T(o, f, u) {
22
- return o && (Array.isArray(o) ? o.map((r) => t(r, f)) : t(o, f));
1
+ import { DateLib as r } from "./index103.js";
2
+ function a(t, o, n) {
3
+ return (n ?? new r(o)).formatMonthYear(t);
23
4
  }
5
+ const f = a;
24
6
  export {
25
- T as convertMatchersToTimeZone
7
+ a as formatCaption,
8
+ f as formatMonthCaption
26
9
  };
27
10
  //# sourceMappingURL=index128.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index128.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { toTimeZone } from \"./toTimeZone.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, } from \"./typeguards.js\";\nfunction toZoneNoon(date, timeZone, noonSafe) {\n if (!noonSafe)\n return toTimeZone(date, timeZone);\n const zoned = toTimeZone(date, timeZone);\n const noonZoned = new TZDate(zoned.getFullYear(), zoned.getMonth(), zoned.getDate(), 12, 0, 0, timeZone);\n return new Date(noonZoned.getTime());\n}\nfunction convertMatcher(matcher, timeZone, noonSafe) {\n if (typeof matcher === \"boolean\" || typeof matcher === \"function\") {\n return matcher;\n }\n if (matcher instanceof Date) {\n return toZoneNoon(matcher, timeZone, noonSafe);\n }\n if (Array.isArray(matcher)) {\n return matcher.map((value) => value instanceof Date ? toZoneNoon(value, timeZone, noonSafe) : value);\n }\n if (isDateRange(matcher)) {\n return {\n ...matcher,\n from: matcher.from ? toTimeZone(matcher.from, timeZone) : matcher.from,\n to: matcher.to ? toTimeZone(matcher.to, timeZone) : matcher.to,\n };\n }\n if (isDateInterval(matcher)) {\n return {\n before: toZoneNoon(matcher.before, timeZone, noonSafe),\n after: toZoneNoon(matcher.after, timeZone, noonSafe),\n };\n }\n if (isDateAfterType(matcher)) {\n return {\n after: toZoneNoon(matcher.after, timeZone, noonSafe),\n };\n }\n if (isDateBeforeType(matcher)) {\n return {\n before: toZoneNoon(matcher.before, timeZone, noonSafe),\n };\n }\n return matcher;\n}\n/**\n * Convert any {@link Matcher} or array of matchers to the specified time zone.\n *\n * @param matchers - The matcher or matchers to convert.\n * @param timeZone - The target IANA time zone.\n * @returns The converted matcher(s).\n * @group Utilities\n */\nexport function convertMatchersToTimeZone(matchers, timeZone, noonSafe) {\n if (!matchers) {\n return matchers;\n }\n if (Array.isArray(matchers)) {\n return matchers.map((matcher) => convertMatcher(matcher, timeZone, noonSafe));\n }\n return convertMatcher(matchers, timeZone, noonSafe);\n}\n"],"names":["toZoneNoon","date","timeZone","noonSafe","toTimeZone","convertMatcher","matcher","value","isDateRange","isDateInterval","isDateAfterType","isDateBeforeType","convertMatchersToTimeZone","matchers"],"mappings":";;;AAGA,SAASA,EAAWC,GAAMC,GAAUC,GAAU;AAEtC,SAAOC,EAAWH,GAAMC,CAAQ;AAIxC;AACA,SAASG,EAAeC,GAASJ,GAAUC,GAAU;AACjD,SAAI,OAAOG,KAAY,aAAa,OAAOA,KAAY,aAC5CA,IAEPA,aAAmB,OACZN,EAAWM,GAASJ,CAAkB,IAE7C,MAAM,QAAQI,CAAO,IACdA,EAAQ,IAAI,CAACC,MAAUA,aAAiB,OAAOP,EAAWO,GAAOL,CAAkB,IAAIK,CAAK,IAEnGC,EAAYF,CAAO,IACZ;AAAA,IACH,GAAGA;AAAA,IACH,MAAMA,EAAQ,OAAOF,EAAWE,EAAQ,MAAMJ,CAAQ,IAAII,EAAQ;AAAA,IAClE,IAAIA,EAAQ,KAAKF,EAAWE,EAAQ,IAAIJ,CAAQ,IAAII,EAAQ;AAAA,EACxE,IAEQG,EAAeH,CAAO,IACf;AAAA,IACH,QAAQN,EAAWM,EAAQ,QAAQJ,CAAkB;AAAA,IACrD,OAAOF,EAAWM,EAAQ,OAAOJ,CAAkB;AAAA,EAC/D,IAEQQ,EAAgBJ,CAAO,IAChB;AAAA,IACH,OAAON,EAAWM,EAAQ,OAAOJ,CAAkB;AAAA,EAC/D,IAEQS,EAAiBL,CAAO,IACjB;AAAA,IACH,QAAQN,EAAWM,EAAQ,QAAQJ,CAAkB;AAAA,EACjE,IAEWI;AACX;AASO,SAASM,EAA0BC,GAAUX,GAAUC,GAAU;AACpE,SAAKU,MAGD,MAAM,QAAQA,CAAQ,IACfA,EAAS,IAAI,CAACP,MAAYD,EAAeC,GAASJ,CAAkB,CAAC,IAEzEG,EAAeQ,GAAUX,CAAkB;AACtD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index128.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatCaption.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the caption of the month.\n *\n * @defaultValue Locale-specific month/year order (e.g., \"November 2022\").\n * @param month The date representing the month.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted caption as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatCaption(month, options, dateLib) {\n const lib = dateLib ?? new DateLib(options);\n return lib.formatMonthYear(month);\n}\n/**\n * @private\n * @deprecated Use {@link formatCaption} instead.\n * @group Formatters\n */\nexport const formatMonthCaption = formatCaption;\n"],"names":["formatCaption","month","options","dateLib","DateLib","formatMonthCaption"],"mappings":";AAaO,SAASA,EAAcC,GAAOC,GAASC,GAAS;AAEnD,UADYA,KAAW,IAAIC,EAAQF,CAAO,GAC/B,gBAAgBD,CAAK;AACpC;AAMY,MAACI,IAAqBL;","x_google_ignoreList":[0]}
package/dist/index129.js CHANGED
@@ -1,10 +1,8 @@
1
- import { defaultDateLib as s } from "./index109.js";
2
- function u(f, r, t = !1, o = s) {
3
- let { from: n, to: e } = f;
4
- const { differenceInCalendarDays: i, isSameDay: a } = o;
5
- return n && e ? (i(e, n) < 0 && ([n, e] = [e, n]), i(r, n) >= (t ? 1 : 0) && i(e, r) >= (t ? 1 : 0)) : !t && e ? a(e, r) : !t && n ? a(n, r) : !1;
1
+ import { DateLib as a } from "./index103.js";
2
+ function f(r, t, o) {
3
+ return (o ?? new a(t)).format(r, "d");
6
4
  }
7
5
  export {
8
- u as rangeIncludesDate
6
+ f as formatDay
9
7
  };
10
8
  //# sourceMappingURL=index129.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index129.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/index.js\";\n/**\n * Checks if a given date is within a specified date range.\n *\n * @since 9.0.0\n * @param range - The date range to check against.\n * @param date - The date to check.\n * @param excludeEnds - If `true`, the range's start and end dates are excluded.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the date is within the range, otherwise `false`.\n * @group Utilities\n */\nexport function rangeIncludesDate(range, date, excludeEnds = false, dateLib = defaultDateLib) {\n let { from, to } = range;\n const { differenceInCalendarDays, isSameDay } = dateLib;\n if (from && to) {\n const isRangeInverted = differenceInCalendarDays(to, from) < 0;\n if (isRangeInverted) {\n [from, to] = [to, from];\n }\n const isInRange = differenceInCalendarDays(date, from) >= (excludeEnds ? 1 : 0) &&\n differenceInCalendarDays(to, date) >= (excludeEnds ? 1 : 0);\n return isInRange;\n }\n if (!excludeEnds && to) {\n return isSameDay(to, date);\n }\n if (!excludeEnds && from) {\n return isSameDay(from, date);\n }\n return false;\n}\n/**\n * @private\n * @deprecated Use {@link rangeIncludesDate} instead.\n */\nexport const isDateInRange = (range, date) => rangeIncludesDate(range, date, false, defaultDateLib);\n"],"names":["rangeIncludesDate","range","date","excludeEnds","dateLib","defaultDateLib","from","to","differenceInCalendarDays","isSameDay"],"mappings":";AAYO,SAASA,EAAkBC,GAAOC,GAAMC,IAAc,IAAOC,IAAUC,GAAgB;AAC1F,MAAI,EAAE,MAAAC,GAAM,IAAAC,EAAE,IAAKN;AACnB,QAAM,EAAE,0BAAAO,GAA0B,WAAAC,EAAS,IAAKL;AAChD,SAAIE,KAAQC,KACgBC,EAAyBD,GAAID,CAAI,IAAI,MAEzD,CAACA,GAAMC,CAAE,IAAI,CAACA,GAAID,CAAI,IAERE,EAAyBN,GAAMI,CAAI,MAAMH,IAAc,IAAI,MACzEK,EAAyBD,GAAIL,CAAI,MAAMC,IAAc,IAAI,MAG7D,CAACA,KAAeI,IACTE,EAAUF,GAAIL,CAAI,IAEzB,CAACC,KAAeG,IACTG,EAAUH,GAAMJ,CAAI,IAExB;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index129.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatDay.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the day date shown in the day cell.\n *\n * @defaultValue `d` (e.g., \"1\").\n * @param date The date to format.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted day as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatDay(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"d\");\n}\n"],"names":["formatDay","date","options","dateLib","DateLib"],"mappings":";AAaO,SAASA,EAAUC,GAAMC,GAASC,GAAS;AAC9C,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAM,GAAG;AAC7D;","x_google_ignoreList":[0]}
package/dist/index130.js CHANGED
@@ -1,9 +1,8 @@
1
- import { TZDate as r } from "./index178.js";
2
- import "./index180.js";
3
- function e(n, o) {
4
- return n instanceof r && n.timeZone === o ? n : new r(n, o);
1
+ import { defaultDateLib as r } from "./index103.js";
2
+ function n(o, t = r) {
3
+ return t.format(o, "LLLL");
5
4
  }
6
5
  export {
7
- e as toTimeZone
6
+ n as formatMonthDropdown
8
7
  };
9
8
  //# sourceMappingURL=index130.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index130.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/toTimeZone.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\n/**\n * Convert a {@link Date} or {@link TZDate} instance to the given time zone.\n * Reuses the same instance when it is already a {@link TZDate} using the target\n * time zone to avoid extra allocations.\n */\nexport function toTimeZone(date, timeZone) {\n if (date instanceof TZDate && date.timeZone === timeZone) {\n return date;\n }\n return new TZDate(date, timeZone);\n}\n"],"names":["toTimeZone","date","timeZone","TZDate"],"mappings":";;AAMO,SAASA,EAAWC,GAAMC,GAAU;AACvC,SAAID,aAAgBE,KAAUF,EAAK,aAAaC,IACrCD,IAEJ,IAAIE,EAAOF,GAAMC,CAAQ;AACpC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index130.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the month for the dropdown option label.\n *\n * @defaultValue The localized full month name.\n * @param month The date representing the month.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted month name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatMonthDropdown(month, dateLib = defaultDateLib) {\n return dateLib.format(month, \"LLLL\");\n}\n"],"names":["formatMonthDropdown","month","dateLib","defaultDateLib"],"mappings":";AAYO,SAASA,EAAoBC,GAAOC,IAAUC,GAAgB;AACjE,SAAOD,EAAQ,OAAOD,GAAO,MAAM;AACvC;","x_google_ignoreList":[0]}
package/dist/index131.js CHANGED
@@ -1,27 +1,8 @@
1
- function o(e) {
2
- return !!(e && typeof e == "object" && "before" in e && "after" in e);
3
- }
4
- function t(e) {
5
- return !!(e && typeof e == "object" && "from" in e);
6
- }
7
- function r(e) {
8
- return !!(e && typeof e == "object" && "after" in e);
9
- }
10
- function f(e) {
11
- return !!(e && typeof e == "object" && "before" in e);
12
- }
13
- function i(e) {
14
- return !!(e && typeof e == "object" && "dayOfWeek" in e);
15
- }
16
- function y(e, n) {
17
- return Array.isArray(e) && e.every(n.isDate);
1
+ import { DateLib as t } from "./index103.js";
2
+ function a(c, e, r) {
3
+ return (r ?? new t(e)).format(c, "cccccc");
18
4
  }
19
5
  export {
20
- r as isDateAfterType,
21
- f as isDateBeforeType,
22
- o as isDateInterval,
23
- t as isDateRange,
24
- y as isDatesArray,
25
- i as isDayOfWeekType
6
+ a as formatWeekdayName
26
7
  };
27
8
  //# sourceMappingURL=index131.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index131.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/typeguards.js"],"sourcesContent":["/**\n * Checks if the given value is of type {@link DateInterval}.\n *\n * @param matcher - The value to check.\n * @returns `true` if the value is a {@link DateInterval}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateInterval(matcher) {\n return Boolean(matcher &&\n typeof matcher === \"object\" &&\n \"before\" in matcher &&\n \"after\" in matcher);\n}\n/**\n * Checks if the given value is of type {@link DateRange}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateRange}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateRange(value) {\n return Boolean(value && typeof value === \"object\" && \"from\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateAfter}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateAfter}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateAfterType(value) {\n return Boolean(value && typeof value === \"object\" && \"after\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateBefore}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateBefore}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateBeforeType(value) {\n return Boolean(value && typeof value === \"object\" && \"before\" in value);\n}\n/**\n * Checks if the given value is of type {@link DayOfWeek}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DayOfWeek}, otherwise `false`.\n * @group Utilities\n */\nexport function isDayOfWeekType(value) {\n return Boolean(value && typeof value === \"object\" && \"dayOfWeek\" in value);\n}\n/**\n * Checks if the given value is an array of valid dates.\n *\n * @private\n * @param value - The value to check.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the value is an array of valid dates, otherwise `false`.\n */\nexport function isDatesArray(value, dateLib) {\n return Array.isArray(value) && value.every(dateLib.isDate);\n}\n"],"names":["isDateInterval","matcher","isDateRange","value","isDateAfterType","isDateBeforeType","isDayOfWeekType","isDatesArray","dateLib"],"mappings":"AAOO,SAASA,EAAeC,GAAS;AACpC,SAAO,GAAQA,KACX,OAAOA,KAAY,YACnB,YAAYA,KACZ,WAAWA;AACnB;AAQO,SAASC,EAAYC,GAAO;AAC/B,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,UAAUA;AACnE;AAQO,SAASC,EAAgBD,GAAO;AACnC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,WAAWA;AACpE;AAQO,SAASE,EAAiBF,GAAO;AACpC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,YAAYA;AACrE;AAQO,SAASG,EAAgBH,GAAO;AACnC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,eAAeA;AACxE;AASO,SAASI,EAAaJ,GAAOK,GAAS;AACzC,SAAO,MAAM,QAAQL,CAAK,KAAKA,EAAM,MAAMK,EAAQ,MAAM;AAC7D;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index131.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the name of a weekday to be displayed in the weekdays header.\n *\n * @defaultValue `cccccc` (e.g., \"Mo\" for Monday).\n * @param weekday The date representing the weekday.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted weekday name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekdayName(weekday, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(weekday, \"cccccc\");\n}\n"],"names":["formatWeekdayName","weekday","options","dateLib","DateLib"],"mappings":";AAaO,SAASA,EAAkBC,GAASC,GAASC,GAAS;AACzD,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAS,QAAQ;AACrE;","x_google_ignoreList":[0]}
package/dist/index132.js CHANGED
@@ -1,38 +1,8 @@
1
- import { enUS as f } from "./index275.js";
2
- import { formatDate as n } from "./index218.js";
3
- const s = {
4
- ...f,
5
- labels: {
6
- labelDayButton: (a, r, o, e) => {
7
- let t;
8
- e && typeof e.format == "function" ? t = e.format.bind(e) : t = (m, c) => n(m, c, { locale: f, ...o });
9
- let l = t(a, "PPPP");
10
- return r.today && (l = `Today, ${l}`), r.selected && (l = `${l}, selected`), l;
11
- },
12
- labelMonthDropdown: "Choose the Month",
13
- labelNext: "Go to the Next Month",
14
- labelPrevious: "Go to the Previous Month",
15
- labelWeekNumber: (a) => `Week ${a}`,
16
- labelYearDropdown: "Choose the Year",
17
- labelGrid: (a, r, o) => {
18
- let e;
19
- return o && typeof o.format == "function" ? e = o.format.bind(o) : e = (t, l) => n(t, l, { locale: f, ...r }), e(a, "LLLL yyyy");
20
- },
21
- labelGridcell: (a, r, o, e) => {
22
- let t;
23
- e && typeof e.format == "function" ? t = e.format.bind(e) : t = (m, c) => n(m, c, { locale: f, ...o });
24
- let l = t(a, "PPPP");
25
- return r?.today && (l = `Today, ${l}`), l;
26
- },
27
- labelNav: "Navigation bar",
28
- labelWeekNumberHeader: "Week Number",
29
- labelWeekday: (a, r, o) => {
30
- let e;
31
- return o && typeof o.format == "function" ? e = o.format.bind(o) : e = (t, l) => n(t, l, { locale: f, ...r }), e(a, "cccc");
32
- }
33
- }
34
- };
1
+ import { defaultDateLib as o } from "./index103.js";
2
+ function a(r, t = o) {
3
+ return r < 10 ? t.formatNumber(`0${r.toLocaleString()}`) : t.formatNumber(`${r.toLocaleString()}`);
4
+ }
35
5
  export {
36
- s as enUS
6
+ a as formatWeekNumber
37
7
  };
38
8
  //# sourceMappingURL=index132.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index132.js","sources":["../../../node_modules/react-day-picker/dist/esm/locale/en-US.js"],"sourcesContent":["import { format } from \"date-fns\";\nimport { enUS as dateFnsEnUS } from \"date-fns/locale\";\n/** English (United States) locale extended with DayPicker-specific translations. */\nexport const enUS = {\n ...dateFnsEnUS,\n labels: {\n labelDayButton: (date, modifiers, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n let label = formatDate(date, \"PPPP\");\n if (modifiers.today)\n label = `Today, ${label}`;\n if (modifiers.selected)\n label = `${label}, selected`;\n return label;\n },\n labelMonthDropdown: \"Choose the Month\",\n labelNext: \"Go to the Next Month\",\n labelPrevious: \"Go to the Previous Month\",\n labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,\n labelYearDropdown: \"Choose the Year\",\n labelGrid: (date, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n return formatDate(date, \"LLLL yyyy\");\n },\n labelGridcell: (date, modifiers, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n let label = formatDate(date, \"PPPP\");\n if (modifiers?.today) {\n label = `Today, ${label}`;\n }\n return label;\n },\n labelNav: \"Navigation bar\",\n labelWeekNumberHeader: \"Week Number\",\n labelWeekday: (date, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n return formatDate(date, \"cccc\");\n },\n },\n};\n"],"names":["enUS","dateFnsEnUS","date","modifiers","options","dateLib","formatDate","d","pattern","format","label","weekNumber"],"mappings":";;AAGY,MAACA,IAAO;AAAA,EAChB,GAAGC;AAAAA,EACH,QAAQ;AAAA,IACJ,gBAAgB,CAACC,GAAMC,GAAWC,GAASC,MAAY;AACnD,UAAIC;AACJ,MAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE;AAEvF,UAAIM,IAAQJ,EAAWJ,GAAM,MAAM;AACnC,aAAIC,EAAU,UACVO,IAAQ,UAAUA,CAAK,KACvBP,EAAU,aACVO,IAAQ,GAAGA,CAAK,eACbA;AAAA,IACX;AAAA,IACA,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,eAAe;AAAA,IACf,iBAAiB,CAACC,MAAe,QAAQA,CAAU;AAAA,IACnD,mBAAmB;AAAA,IACnB,WAAW,CAACT,GAAME,GAASC,MAAY;AACnC,UAAIC;AACJ,aAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE,GAEhFE,EAAWJ,GAAM,WAAW;AAAA,IACvC;AAAA,IACA,eAAe,CAACA,GAAMC,GAAWC,GAASC,MAAY;AAClD,UAAIC;AACJ,MAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE;AAEvF,UAAIM,IAAQJ,EAAWJ,GAAM,MAAM;AACnC,aAAIC,GAAW,UACXO,IAAQ,UAAUA,CAAK,KAEpBA;AAAA,IACX;AAAA,IACA,UAAU;AAAA,IACV,uBAAuB;AAAA,IACvB,cAAc,CAACR,GAAME,GAASC,MAAY;AACtC,UAAIC;AACJ,aAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE,GAEhFE,EAAWJ,GAAM,MAAM;AAAA,IAClC;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index132.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the week number.\n *\n * @defaultValue The week number as a string, with a leading zero for single-digit numbers.\n * @param weekNumber The week number to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted week number as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumber(weekNumber, dateLib = defaultDateLib) {\n if (weekNumber < 10) {\n return dateLib.formatNumber(`0${weekNumber.toLocaleString()}`);\n }\n return dateLib.formatNumber(`${weekNumber.toLocaleString()}`);\n}\n"],"names":["formatWeekNumber","weekNumber","dateLib","defaultDateLib"],"mappings":";AAYO,SAASA,EAAiBC,GAAYC,IAAUC,GAAgB;AACnE,SAAIF,IAAa,KACNC,EAAQ,aAAa,IAAID,EAAW,eAAc,CAAE,EAAE,IAE1DC,EAAQ,aAAa,GAAGD,EAAW,eAAc,CAAE,EAAE;AAChE;","x_google_ignoreList":[0]}
package/dist/index133.js CHANGED
@@ -1,19 +1,7 @@
1
- import { formatCaption as t, formatMonthCaption as e } from "./index134.js";
2
- import { formatDay as a } from "./index135.js";
3
- import { formatMonthDropdown as p } from "./index136.js";
4
- import { formatWeekdayName as x } from "./index137.js";
5
- import { formatWeekNumber as i } from "./index138.js";
6
- import { formatWeekNumberHeader as C } from "./index139.js";
7
- import { formatYearCaption as N, formatYearDropdown as W } from "./index140.js";
1
+ function e() {
2
+ return "";
3
+ }
8
4
  export {
9
- t as formatCaption,
10
- a as formatDay,
11
- e as formatMonthCaption,
12
- p as formatMonthDropdown,
13
- i as formatWeekNumber,
14
- C as formatWeekNumberHeader,
15
- x as formatWeekdayName,
16
- N as formatYearCaption,
17
- W as formatYearDropdown
5
+ e as formatWeekNumberHeader
18
6
  };
19
7
  //# sourceMappingURL=index133.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index133.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
1
+ {"version":3,"file":"index133.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js"],"sourcesContent":["/**\n * Formats the header for the week number column.\n *\n * @defaultValue An empty string `\"\"`.\n * @returns The formatted week number header as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumberHeader() {\n return ``;\n}\n"],"names":["formatWeekNumberHeader"],"mappings":"AAQO,SAASA,IAAyB;AACrC,SAAO;AACX;","x_google_ignoreList":[0]}
package/dist/index134.js CHANGED
@@ -1,10 +1,10 @@
1
- import { DateLib as r } from "./index109.js";
2
- function a(t, o, n) {
3
- return (n ?? new r(o)).formatMonthYear(t);
1
+ import { defaultDateLib as t } from "./index103.js";
2
+ function a(o, r = t) {
3
+ return r.format(o, "yyyy");
4
4
  }
5
5
  const f = a;
6
6
  export {
7
- a as formatCaption,
8
- f as formatMonthCaption
7
+ f as formatYearCaption,
8
+ a as formatYearDropdown
9
9
  };
10
10
  //# sourceMappingURL=index134.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index134.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatCaption.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the caption of the month.\n *\n * @defaultValue Locale-specific month/year order (e.g., \"November 2022\").\n * @param month The date representing the month.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted caption as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatCaption(month, options, dateLib) {\n const lib = dateLib ?? new DateLib(options);\n return lib.formatMonthYear(month);\n}\n/**\n * @private\n * @deprecated Use {@link formatCaption} instead.\n * @group Formatters\n */\nexport const formatMonthCaption = formatCaption;\n"],"names":["formatCaption","month","options","dateLib","DateLib","formatMonthCaption"],"mappings":";AAaO,SAASA,EAAcC,GAAOC,GAASC,GAAS;AAEnD,UADYA,KAAW,IAAIC,EAAQF,CAAO,GAC/B,gBAAgBD,CAAK;AACpC;AAMY,MAACI,IAAqBL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index134.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the year for the dropdown option label.\n *\n * @param year The year to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted year as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatYearDropdown(year, dateLib = defaultDateLib) {\n return dateLib.format(year, \"yyyy\");\n}\n/**\n * @private\n * @deprecated Use `formatYearDropdown` instead.\n * @group Formatters\n */\nexport const formatYearCaption = formatYearDropdown;\n"],"names":["formatYearDropdown","year","dateLib","defaultDateLib","formatYearCaption"],"mappings":";AAWO,SAASA,EAAmBC,GAAMC,IAAUC,GAAgB;AAC/D,SAAOD,EAAQ,OAAOD,GAAM,MAAM;AACtC;AAMY,MAACG,IAAoBJ;","x_google_ignoreList":[0]}
package/dist/index135.js CHANGED
@@ -1,8 +1,27 @@
1
- import { DateLib as a } from "./index109.js";
2
- function f(r, t, o) {
3
- return (o ?? new a(t)).format(r, "d");
4
- }
1
+ import { labelDay as o, labelDayButton as l } from "./index136.js";
2
+ import { labelCaption as t, labelGrid as b } from "./index137.js";
3
+ import { labelGridcell as m } from "./index138.js";
4
+ import { labelMonthDropdown as f } from "./index139.js";
5
+ import { labelNav as n } from "./index140.js";
6
+ import { labelNext as u } from "./index141.js";
7
+ import { labelPrevious as N } from "./index142.js";
8
+ import { labelWeekday as y } from "./index143.js";
9
+ import { labelWeekNumber as v } from "./index144.js";
10
+ import { labelWeekNumberHeader as G } from "./index145.js";
11
+ import { labelYearDropdown as h } from "./index146.js";
5
12
  export {
6
- f as formatDay
13
+ t as labelCaption,
14
+ o as labelDay,
15
+ l as labelDayButton,
16
+ b as labelGrid,
17
+ m as labelGridcell,
18
+ f as labelMonthDropdown,
19
+ n as labelNav,
20
+ u as labelNext,
21
+ N as labelPrevious,
22
+ v as labelWeekNumber,
23
+ G as labelWeekNumberHeader,
24
+ y as labelWeekday,
25
+ h as labelYearDropdown
7
26
  };
8
27
  //# sourceMappingURL=index135.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index135.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatDay.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the day date shown in the day cell.\n *\n * @defaultValue `d` (e.g., \"1\").\n * @param date The date to format.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted day as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatDay(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"d\");\n}\n"],"names":["formatDay","date","options","dateLib","DateLib"],"mappings":";AAaO,SAASA,EAAUC,GAAMC,GAASC,GAAS;AAC9C,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAM,GAAG;AAC7D;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index135.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
package/dist/index136.js CHANGED
@@ -1,8 +1,11 @@
1
- import { defaultDateLib as r } from "./index109.js";
2
- function n(o, t = r) {
3
- return t.format(o, "LLLL");
1
+ import { DateLib as n } from "./index103.js";
2
+ function r(a, t, l, o) {
3
+ let e = (o ?? new n(l)).format(a, "PPPP");
4
+ return t.today && (e = `Today, ${e}`), t.selected && (e = `${e}, selected`), e;
4
5
  }
6
+ const c = r;
5
7
  export {
6
- n as formatMonthDropdown
8
+ c as labelDay,
9
+ r as labelDayButton
7
10
  };
8
11
  //# sourceMappingURL=index136.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index136.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the month for the dropdown option label.\n *\n * @defaultValue The localized full month name.\n * @param month The date representing the month.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted month name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatMonthDropdown(month, dateLib = defaultDateLib) {\n return dateLib.format(month, \"LLLL\");\n}\n"],"names":["formatMonthDropdown","month","dateLib","defaultDateLib"],"mappings":";AAYO,SAASA,EAAoBC,GAAOC,IAAUC,GAAgB;AACjE,SAAOD,EAAQ,OAAOD,GAAO,MAAM;AACvC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index136.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelDayButton.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for a day button.\n *\n * Use the `modifiers` argument to provide additional context for the label,\n * such as indicating if the day is \"today\" or \"selected.\"\n *\n * @defaultValue The formatted date.\n * @param date - The date to format.\n * @param modifiers - The modifiers providing context for the day.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the day button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelDayButton(date, modifiers, options, dateLib) {\n let label = (dateLib ?? new DateLib(options)).format(date, \"PPPP\");\n if (modifiers.today)\n label = `Today, ${label}`;\n if (modifiers.selected)\n label = `${label}, selected`;\n return label;\n}\n/**\n * @ignore\n * @deprecated Use `labelDayButton` instead.\n */\nexport const labelDay = labelDayButton;\n"],"names":["labelDayButton","date","modifiers","options","dateLib","label","DateLib","labelDay"],"mappings":";AAgBO,SAASA,EAAeC,GAAMC,GAAWC,GAASC,GAAS;AAC9D,MAAIC,KAASD,KAAW,IAAIE,EAAQH,CAAO,GAAG,OAAOF,GAAM,MAAM;AACjE,SAAIC,EAAU,UACVG,IAAQ,UAAUA,CAAK,KACvBH,EAAU,aACVG,IAAQ,GAAGA,CAAK,eACbA;AACX;AAKY,MAACE,IAAWP;","x_google_ignoreList":[0]}
package/dist/index137.js CHANGED
@@ -1,8 +1,10 @@
1
- import { DateLib as t } from "./index109.js";
2
- function a(c, e, r) {
3
- return (r ?? new t(e)).format(c, "cccccc");
1
+ import { DateLib as r } from "./index103.js";
2
+ function e(t, o, n) {
3
+ return (n ?? new r(o)).formatMonthYear(t);
4
4
  }
5
+ const l = e;
5
6
  export {
6
- a as formatWeekdayName
7
+ l as labelCaption,
8
+ e as labelGrid
7
9
  };
8
10
  //# sourceMappingURL=index137.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index137.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the name of a weekday to be displayed in the weekdays header.\n *\n * @defaultValue `cccccc` (e.g., \"Mo\" for Monday).\n * @param weekday The date representing the weekday.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted weekday name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekdayName(weekday, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(weekday, \"cccccc\");\n}\n"],"names":["formatWeekdayName","weekday","options","dateLib","DateLib"],"mappings":";AAaO,SAASA,EAAkBC,GAASC,GAASC,GAAS;AACzD,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAS,QAAQ;AACrE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index137.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelGrid.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for the month grid, which is announced when entering\n * the grid.\n *\n * @defaultValue Locale-specific month/year order (e.g., \"November 2022\").\n * @param date - The date representing the month.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the month grid.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelGrid(date, options, dateLib) {\n const lib = dateLib ?? new DateLib(options);\n return lib.formatMonthYear(date);\n}\n/**\n * @ignore\n * @deprecated Use {@link labelGrid} instead.\n */\nexport const labelCaption = labelGrid;\n"],"names":["labelGrid","date","options","dateLib","DateLib","labelCaption"],"mappings":";AAaO,SAASA,EAAUC,GAAMC,GAASC,GAAS;AAE9C,UADYA,KAAW,IAAIC,EAAQF,CAAO,GAC/B,gBAAgBD,CAAI;AACnC;AAKY,MAACI,IAAeL;","x_google_ignoreList":[0]}
package/dist/index138.js CHANGED
@@ -1,8 +1,9 @@
1
- import { defaultDateLib as o } from "./index109.js";
2
- function a(r, t = o) {
3
- return r < 10 ? t.formatNumber(`0${r.toLocaleString()}`) : t.formatNumber(`${r.toLocaleString()}`);
1
+ import { DateLib as a } from "./index103.js";
2
+ function f(t, l, o, r) {
3
+ let e = (r ?? new a(o)).format(t, "PPPP");
4
+ return l?.today && (e = `Today, ${e}`), e;
4
5
  }
5
6
  export {
6
- a as formatWeekNumber
7
+ f as labelGridcell
7
8
  };
8
9
  //# sourceMappingURL=index138.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index138.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the week number.\n *\n * @defaultValue The week number as a string, with a leading zero for single-digit numbers.\n * @param weekNumber The week number to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted week number as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumber(weekNumber, dateLib = defaultDateLib) {\n if (weekNumber < 10) {\n return dateLib.formatNumber(`0${weekNumber.toLocaleString()}`);\n }\n return dateLib.formatNumber(`${weekNumber.toLocaleString()}`);\n}\n"],"names":["formatWeekNumber","weekNumber","dateLib","defaultDateLib"],"mappings":";AAYO,SAASA,EAAiBC,GAAYC,IAAUC,GAAgB;AACnE,SAAIF,IAAa,KACNC,EAAQ,aAAa,IAAID,EAAW,eAAc,CAAE,EAAE,IAE1DC,EAAQ,aAAa,GAAGD,EAAW,eAAc,CAAE,EAAE;AAChE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index138.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelGridcell.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the label for a day grid cell when the calendar is not interactive.\n *\n * @param date - The date to format.\n * @param modifiers - Optional modifiers providing context for the day.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The label for the day grid cell.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelGridcell(date, modifiers, options, dateLib) {\n let label = (dateLib ?? new DateLib(options)).format(date, \"PPPP\");\n if (modifiers?.today) {\n label = `Today, ${label}`;\n }\n return label;\n}\n"],"names":["labelGridcell","date","modifiers","options","dateLib","label","DateLib"],"mappings":";AAYO,SAASA,EAAcC,GAAMC,GAAWC,GAASC,GAAS;AAC7D,MAAIC,KAASD,KAAW,IAAIE,EAAQH,CAAO,GAAG,OAAOF,GAAM,MAAM;AACjE,SAAIC,GAAW,UACXG,IAAQ,UAAUA,CAAK,KAEpBA;AACX;","x_google_ignoreList":[0]}
package/dist/index139.js CHANGED
@@ -1,7 +1,7 @@
1
- function e() {
2
- return "";
1
+ function n(o) {
2
+ return "Choose the Month";
3
3
  }
4
4
  export {
5
- e as formatWeekNumberHeader
5
+ n as labelMonthDropdown
6
6
  };
7
7
  //# sourceMappingURL=index139.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index139.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js"],"sourcesContent":["/**\n * Formats the header for the week number column.\n *\n * @defaultValue An empty string `\"\"`.\n * @returns The formatted week number header as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumberHeader() {\n return ``;\n}\n"],"names":["formatWeekNumberHeader"],"mappings":"AAQO,SAASA,IAAyB;AACrC,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index139.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js"],"sourcesContent":["/**\n * Generates the ARIA label for the months dropdown.\n *\n * @defaultValue `\"Choose the Month\"`\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the months dropdown.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelMonthDropdown(_options) {\n return \"Choose the Month\";\n}\n"],"names":["labelMonthDropdown","_options"],"mappings":"AASO,SAASA,EAAmBC,GAAU;AACzC,SAAO;AACX;","x_google_ignoreList":[0]}
package/dist/index140.js CHANGED
@@ -1,10 +1,7 @@
1
- import { defaultDateLib as t } from "./index109.js";
2
- function a(o, r = t) {
3
- return r.format(o, "yyyy");
1
+ function e() {
2
+ return "";
4
3
  }
5
- const f = a;
6
4
  export {
7
- f as formatYearCaption,
8
- a as formatYearDropdown
5
+ e as labelNav
9
6
  };
10
7
  //# sourceMappingURL=index140.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index140.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the year for the dropdown option label.\n *\n * @param year The year to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted year as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatYearDropdown(year, dateLib = defaultDateLib) {\n return dateLib.format(year, \"yyyy\");\n}\n/**\n * @private\n * @deprecated Use `formatYearDropdown` instead.\n * @group Formatters\n */\nexport const formatYearCaption = formatYearDropdown;\n"],"names":["formatYearDropdown","year","dateLib","defaultDateLib","formatYearCaption"],"mappings":";AAWO,SAASA,EAAmBC,GAAMC,IAAUC,GAAgB;AAC/D,SAAOD,EAAQ,OAAOD,GAAM,MAAM;AACtC;AAMY,MAACG,IAAoBJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index140.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelNav.js"],"sourcesContent":["/**\n * Generates the ARIA label for the navigation toolbar.\n *\n * @defaultValue `\"\"`\n * @returns The ARIA label for the navigation toolbar.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelNav() {\n return \"\";\n}\n"],"names":["labelNav"],"mappings":"AAQO,SAASA,IAAW;AACvB,SAAO;AACX;","x_google_ignoreList":[0]}
package/dist/index141.js CHANGED
@@ -1,27 +1,8 @@
1
- import { labelDay as o, labelDayButton as l } from "./index142.js";
2
- import { labelCaption as t, labelGrid as b } from "./index143.js";
3
- import { labelGridcell as m } from "./index144.js";
4
- import { labelMonthDropdown as f } from "./index145.js";
5
- import { labelNav as n } from "./index146.js";
6
- import { labelNext as u } from "./index147.js";
7
- import { labelPrevious as N } from "./index148.js";
8
- import { labelWeekday as y } from "./index149.js";
9
- import { labelWeekNumber as v } from "./index150.js";
10
- import { labelWeekNumberHeader as G } from "./index151.js";
11
- import { labelYearDropdown as h } from "./index152.js";
1
+ const t = "Go to the Next Month";
2
+ function n(o, e) {
3
+ return t;
4
+ }
12
5
  export {
13
- t as labelCaption,
14
- o as labelDay,
15
- l as labelDayButton,
16
- b as labelGrid,
17
- m as labelGridcell,
18
- f as labelMonthDropdown,
19
- n as labelNav,
20
- u as labelNext,
21
- N as labelPrevious,
22
- v as labelWeekNumber,
23
- G as labelWeekNumberHeader,
24
- y as labelWeekday,
25
- h as labelYearDropdown
6
+ n as labelNext
26
7
  };
27
8
  //# sourceMappingURL=index141.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index141.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"index141.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelNext.js"],"sourcesContent":["const defaultLabel = \"Go to the Next Month\";\n/**\n * Generates the ARIA label for the \"next month\" button.\n *\n * @defaultValue `\"Go to the Next Month\"`\n * @param month - The date representing the next month, or `undefined` if there\n * is no next month.\n * @returns The ARIA label for the \"next month\" button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelNext(_month, _options) {\n return defaultLabel;\n}\n"],"names":["defaultLabel","labelNext","_month","_options"],"mappings":"AAAA,MAAMA,IAAe;AAWd,SAASC,EAAUC,GAAQC,GAAU;AACxC,SAAOH;AACX;","x_google_ignoreList":[0]}
package/dist/index142.js CHANGED
@@ -1,11 +1,7 @@
1
- import { DateLib as n } from "./index109.js";
2
- function r(a, t, l, o) {
3
- let e = (o ?? new n(l)).format(a, "PPPP");
4
- return t.today && (e = `Today, ${e}`), t.selected && (e = `${e}, selected`), e;
1
+ function t(o) {
2
+ return "Go to the Previous Month";
5
3
  }
6
- const c = r;
7
4
  export {
8
- c as labelDay,
9
- r as labelDayButton
5
+ t as labelPrevious
10
6
  };
11
7
  //# sourceMappingURL=index142.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index142.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelDayButton.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for a day button.\n *\n * Use the `modifiers` argument to provide additional context for the label,\n * such as indicating if the day is \"today\" or \"selected.\"\n *\n * @defaultValue The formatted date.\n * @param date - The date to format.\n * @param modifiers - The modifiers providing context for the day.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the day button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelDayButton(date, modifiers, options, dateLib) {\n let label = (dateLib ?? new DateLib(options)).format(date, \"PPPP\");\n if (modifiers.today)\n label = `Today, ${label}`;\n if (modifiers.selected)\n label = `${label}, selected`;\n return label;\n}\n/**\n * @ignore\n * @deprecated Use `labelDayButton` instead.\n */\nexport const labelDay = labelDayButton;\n"],"names":["labelDayButton","date","modifiers","options","dateLib","label","DateLib","labelDay"],"mappings":";AAgBO,SAASA,EAAeC,GAAMC,GAAWC,GAASC,GAAS;AAC9D,MAAIC,KAASD,KAAW,IAAIE,EAAQH,CAAO,GAAG,OAAOF,GAAM,MAAM;AACjE,SAAIC,EAAU,UACVG,IAAQ,UAAUA,CAAK,KACvBH,EAAU,aACVG,IAAQ,GAAGA,CAAK,eACbA;AACX;AAKY,MAACE,IAAWP;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index142.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelPrevious.js"],"sourcesContent":["/**\n * Generates the ARIA label for the \"previous month\" button.\n *\n * @defaultValue `\"Go to the Previous Month\"`\n * @param month - The date representing the previous month, or `undefined` if\n * there is no previous month.\n * @returns The ARIA label for the \"previous month\" button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelPrevious(_month) {\n return \"Go to the Previous Month\";\n}\n"],"names":["labelPrevious","_month"],"mappings":"AAUO,SAASA,EAAcC,GAAQ;AAClC,SAAO;AACX;","x_google_ignoreList":[0]}
package/dist/index143.js CHANGED
@@ -1,10 +1,8 @@
1
- import { DateLib as r } from "./index109.js";
2
- function e(t, o, n) {
3
- return (n ?? new r(o)).formatMonthYear(t);
1
+ import { DateLib as c } from "./index103.js";
2
+ function a(e, r, t) {
3
+ return (t ?? new c(r)).format(e, "cccc");
4
4
  }
5
- const l = e;
6
5
  export {
7
- l as labelCaption,
8
- e as labelGrid
6
+ a as labelWeekday
9
7
  };
10
8
  //# sourceMappingURL=index143.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index143.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelGrid.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for the month grid, which is announced when entering\n * the grid.\n *\n * @defaultValue Locale-specific month/year order (e.g., \"November 2022\").\n * @param date - The date representing the month.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the month grid.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelGrid(date, options, dateLib) {\n const lib = dateLib ?? new DateLib(options);\n return lib.formatMonthYear(date);\n}\n/**\n * @ignore\n * @deprecated Use {@link labelGrid} instead.\n */\nexport const labelCaption = labelGrid;\n"],"names":["labelGrid","date","options","dateLib","DateLib","labelCaption"],"mappings":";AAaO,SAASA,EAAUC,GAAMC,GAASC,GAAS;AAE9C,UADYA,KAAW,IAAIC,EAAQF,CAAO,GAC/B,gBAAgBD,CAAI;AACnC;AAKY,MAACI,IAAeL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index143.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekday.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for a weekday column header.\n *\n * @defaultValue `\"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\", \"Sunday\"`\n * @param date - The date representing the weekday.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the weekday column header.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekday(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"cccc\");\n}\n"],"names":["labelWeekday","date","options","dateLib","DateLib"],"mappings":";AAYO,SAASA,EAAaC,GAAMC,GAASC,GAAS;AACjD,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAM,MAAM;AAChE;","x_google_ignoreList":[0]}