@rpcbase/ui 0.210.0 → 0.212.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 (641) hide show
  1. package/dist/index.js +73 -25
  2. package/dist/index.js.map +1 -0
  3. package/dist/index10.js +666 -18
  4. package/dist/index10.js.map +1 -1
  5. package/dist/index100.js +46 -9
  6. package/dist/index100.js.map +1 -1
  7. package/dist/index101.js +7 -14
  8. package/dist/index101.js.map +1 -1
  9. package/dist/index102.js +50 -10
  10. package/dist/index102.js.map +1 -1
  11. package/dist/index103.js +233 -15
  12. package/dist/index103.js.map +1 -1
  13. package/dist/index104.js +25 -21
  14. package/dist/index104.js.map +1 -1
  15. package/dist/index105.js +27 -27
  16. package/dist/index105.js.map +1 -1
  17. package/dist/index106.js +404 -9
  18. package/dist/index106.js.map +1 -1
  19. package/dist/index107.js +609 -9
  20. package/dist/index107.js.map +1 -1
  21. package/dist/index108.js +55 -10
  22. package/dist/index108.js.map +1 -1
  23. package/dist/index109.js +6 -8
  24. package/dist/index109.js.map +1 -1
  25. package/dist/index11.js +459 -1673
  26. package/dist/index11.js.map +1 -1
  27. package/dist/index110.js +7 -8
  28. package/dist/index110.js.map +1 -1
  29. package/dist/index111.js +17 -7
  30. package/dist/index111.js.map +1 -1
  31. package/dist/index112.js +8 -11
  32. package/dist/index112.js.map +1 -1
  33. package/dist/index113.js +10 -10
  34. package/dist/index113.js.map +1 -1
  35. package/dist/index114.js +19 -37
  36. package/dist/index114.js.map +1 -1
  37. package/dist/index115.js +6 -9
  38. package/dist/index115.js.map +1 -1
  39. package/dist/index116.js +7 -8
  40. package/dist/index116.js.map +1 -1
  41. package/dist/index117.js +8 -10
  42. package/dist/index117.js.map +1 -1
  43. package/dist/index118.js +8 -12
  44. package/dist/index118.js.map +1 -1
  45. package/dist/index119.js +6 -7
  46. package/dist/index119.js.map +1 -1
  47. package/dist/index12.js +79 -10
  48. package/dist/index12.js.map +1 -1
  49. package/dist/index120.js +6 -8
  50. package/dist/index120.js.map +1 -1
  51. package/dist/index121.js +8 -7
  52. package/dist/index121.js.map +1 -1
  53. package/dist/index122.js +27 -8
  54. package/dist/index122.js.map +1 -1
  55. package/dist/index123.js +9 -9
  56. package/dist/index123.js.map +1 -1
  57. package/dist/index124.js +6 -7
  58. package/dist/index124.js.map +1 -1
  59. package/dist/index125.js +8 -7
  60. package/dist/index125.js.map +1 -1
  61. package/dist/index126.js +8 -10
  62. package/dist/index126.js.map +1 -1
  63. package/dist/index127.js +8 -60
  64. package/dist/index127.js.map +1 -1
  65. package/dist/index128.js +8 -9
  66. package/dist/index128.js.map +1 -1
  67. package/dist/index129.js +8 -23
  68. package/dist/index129.js.map +1 -1
  69. package/dist/index13.js +23 -21
  70. package/dist/index13.js.map +1 -1
  71. package/dist/index130.js +11 -22
  72. package/dist/index130.js.map +1 -1
  73. package/dist/index131.js +8 -37
  74. package/dist/index131.js.map +1 -1
  75. package/dist/index132.js +7 -8
  76. package/dist/index132.js.map +1 -1
  77. package/dist/index133.js +7 -11
  78. package/dist/index133.js.map +1 -1
  79. package/dist/index134.js +9 -17
  80. package/dist/index134.js.map +1 -1
  81. package/dist/index135.js +148 -13
  82. package/dist/index135.js.map +1 -1
  83. package/dist/index136.js +42 -9
  84. package/dist/index136.js.map +1 -1
  85. package/dist/index137.js +7 -8
  86. package/dist/index137.js.map +1 -1
  87. package/dist/index138.js +10 -8
  88. package/dist/index138.js.map +1 -1
  89. package/dist/index139.js +16 -8
  90. package/dist/index139.js.map +1 -1
  91. package/dist/index14.js +20 -194
  92. package/dist/index14.js.map +1 -1
  93. package/dist/index140.js +16 -8
  94. package/dist/index140.js.map +1 -1
  95. package/dist/index141.js +10 -7
  96. package/dist/index141.js.map +1 -1
  97. package/dist/index142.js +34 -9
  98. package/dist/index142.js.map +1 -1
  99. package/dist/index143.js +14 -24
  100. package/dist/index143.js.map +1 -1
  101. package/dist/index144.js +13 -11
  102. package/dist/index144.js.map +1 -1
  103. package/dist/index145.js +11 -10
  104. package/dist/index145.js.map +1 -1
  105. package/dist/index146.js +16 -9
  106. package/dist/index146.js.map +1 -1
  107. package/dist/index147.js +104 -9
  108. package/dist/index147.js.map +1 -1
  109. package/dist/index148.js +23 -8
  110. package/dist/index148.js.map +1 -1
  111. package/dist/index149.js +56 -7
  112. package/dist/index149.js.map +1 -1
  113. package/dist/index15.js +30 -33
  114. package/dist/index15.js.map +1 -1
  115. package/dist/index150.js +75 -8
  116. package/dist/index150.js.map +1 -1
  117. package/dist/index151.js +12 -7
  118. package/dist/index151.js.map +1 -1
  119. package/dist/index152.js +23 -8
  120. package/dist/index152.js.map +1 -1
  121. package/dist/index153.js +19 -7
  122. package/dist/index153.js.map +1 -1
  123. package/dist/index154.js +26 -7
  124. package/dist/index154.js.map +1 -1
  125. package/dist/index155.js +9 -7
  126. package/dist/index155.js.map +1 -1
  127. package/dist/index156.js +9 -32
  128. package/dist/index156.js.map +1 -1
  129. package/dist/index157.js +26 -35
  130. package/dist/index157.js.map +1 -1
  131. package/dist/index158.js +38 -19
  132. package/dist/index158.js.map +1 -1
  133. package/dist/index159.js +19 -15
  134. package/dist/index159.js.map +1 -1
  135. package/dist/index16.js +268 -57
  136. package/dist/index16.js.map +1 -1
  137. package/dist/index160.js +9 -12
  138. package/dist/index160.js.map +1 -1
  139. package/dist/index161.js +7 -19
  140. package/dist/index161.js.map +1 -1
  141. package/dist/index162.js +7 -89
  142. package/dist/index162.js.map +1 -1
  143. package/dist/index163.js +7 -50
  144. package/dist/index163.js.map +1 -1
  145. package/dist/index164.js +7 -20
  146. package/dist/index164.js.map +1 -1
  147. package/dist/index165.js +6 -11
  148. package/dist/index165.js.map +1 -1
  149. package/dist/index166.js +9 -13
  150. package/dist/index166.js.map +1 -1
  151. package/dist/index167.js +27 -9
  152. package/dist/index167.js.map +1 -1
  153. package/dist/index168.js +10 -25
  154. package/dist/index168.js.map +1 -1
  155. package/dist/index169.js +9 -10
  156. package/dist/index169.js.map +1 -1
  157. package/dist/index17.js +179 -9
  158. package/dist/index17.js.map +1 -1
  159. package/dist/index170.js +8 -9
  160. package/dist/index170.js.map +1 -1
  161. package/dist/index171.js +6 -9
  162. package/dist/index171.js.map +1 -1
  163. package/dist/index172.js +6 -7
  164. package/dist/index172.js.map +1 -1
  165. package/dist/index173.js +7 -9
  166. package/dist/index173.js.map +1 -1
  167. package/dist/index174.js +6 -70
  168. package/dist/index174.js.map +1 -1
  169. package/dist/index175.js +7 -20
  170. package/dist/index175.js.map +1 -1
  171. package/dist/index176.js +6 -15
  172. package/dist/index176.js.map +1 -1
  173. package/dist/index177.js +6 -12
  174. package/dist/index177.js.map +1 -1
  175. package/dist/index178.js +6 -23
  176. package/dist/index178.js.map +1 -1
  177. package/dist/index179.js +16 -20
  178. package/dist/index179.js.map +1 -1
  179. package/dist/index18.js +469 -27
  180. package/dist/index18.js.map +1 -1
  181. package/dist/index180.js +158 -59
  182. package/dist/index180.js.map +1 -1
  183. package/dist/index181.js +33 -13
  184. package/dist/index181.js.map +1 -1
  185. package/dist/index182.js +12 -9
  186. package/dist/index182.js.map +1 -1
  187. package/dist/index183.js +51 -29
  188. package/dist/index183.js.map +1 -1
  189. package/dist/index184.js +14 -29
  190. package/dist/index184.js.map +1 -1
  191. package/dist/index185.js +47 -16
  192. package/dist/index185.js.map +1 -1
  193. package/dist/index186.js +98 -16
  194. package/dist/index186.js.map +1 -1
  195. package/dist/index187.js +90 -10
  196. package/dist/index187.js.map +1 -1
  197. package/dist/index188.js +109 -27
  198. package/dist/index188.js.map +1 -1
  199. package/dist/index189.js +55 -388
  200. package/dist/index189.js.map +1 -1
  201. package/dist/index19.js +266 -65
  202. package/dist/index19.js.map +1 -1
  203. package/dist/index190.js +15 -499
  204. package/dist/index190.js.map +1 -1
  205. package/dist/index191.js +39 -132
  206. package/dist/index191.js.map +1 -1
  207. package/dist/index192.js +11 -55
  208. package/dist/index192.js.map +1 -1
  209. package/dist/index193.js +6 -80
  210. package/dist/index193.js.map +1 -1
  211. package/dist/index194.js +12 -902
  212. package/dist/index194.js.map +1 -1
  213. package/dist/index195.js +119 -22
  214. package/dist/index195.js.map +1 -1
  215. package/dist/index196.js +21 -452
  216. package/dist/index196.js.map +1 -1
  217. package/dist/index197.js +18 -7
  218. package/dist/index197.js.map +1 -1
  219. package/dist/index198.js +38 -59
  220. package/dist/index198.js.map +1 -1
  221. package/dist/index199.js +23 -64
  222. package/dist/index199.js.map +1 -1
  223. package/dist/index2.js +8 -10
  224. package/dist/index2.js.map +1 -0
  225. package/dist/index20.js +5 -43
  226. package/dist/index20.js.map +1 -1
  227. package/dist/index200.js +11 -63
  228. package/dist/index200.js.map +1 -1
  229. package/dist/index201.js +22 -11
  230. package/dist/index201.js.map +1 -1
  231. package/dist/index202.js +31 -19
  232. package/dist/index202.js.map +1 -1
  233. package/dist/index203.js +20 -148
  234. package/dist/index203.js.map +1 -1
  235. package/dist/index204.js +28 -7
  236. package/dist/index204.js.map +1 -1
  237. package/dist/index205.js +32 -14
  238. package/dist/index205.js.map +1 -1
  239. package/dist/index206.js +7 -107
  240. package/dist/index206.js.map +1 -1
  241. package/dist/index207.js +65 -355
  242. package/dist/index207.js.map +1 -1
  243. package/dist/index208.js +184 -99
  244. package/dist/index208.js.map +1 -1
  245. package/dist/index209.js +49 -329
  246. package/dist/index209.js.map +1 -1
  247. package/dist/index21.js +28 -11
  248. package/dist/index21.js.map +1 -1
  249. package/dist/index210.js +60 -212
  250. package/dist/index210.js.map +1 -1
  251. package/dist/index211.js +12 -22
  252. package/dist/index211.js.map +1 -1
  253. package/dist/index212.js +69 -30
  254. package/dist/index212.js.map +1 -1
  255. package/dist/index213.js +21 -189
  256. package/dist/index213.js.map +1 -1
  257. package/dist/index214.js +20 -21
  258. package/dist/index214.js.map +1 -1
  259. package/dist/index215.js +9 -65
  260. package/dist/index215.js.map +1 -1
  261. package/dist/index216.js +8 -46
  262. package/dist/index216.js.map +1 -1
  263. package/dist/index217.js +9 -12
  264. package/dist/index217.js.map +1 -1
  265. package/dist/index218.js +8 -28
  266. package/dist/index218.js.map +1 -1
  267. package/dist/index219.js +9 -47
  268. package/dist/index219.js.map +1 -1
  269. package/dist/index22.js +48 -16
  270. package/dist/index22.js.map +1 -1
  271. package/dist/index220.js +19 -20
  272. package/dist/index220.js.map +1 -1
  273. package/dist/index221.js +8 -6
  274. package/dist/index221.js.map +1 -1
  275. package/dist/index222.js +7 -7
  276. package/dist/index222.js.map +1 -1
  277. package/dist/index223.js +15 -23
  278. package/dist/index223.js.map +1 -1
  279. package/dist/index224.js +12 -27
  280. package/dist/index224.js.map +1 -1
  281. package/dist/index225.js +16 -70
  282. package/dist/index225.js.map +1 -1
  283. package/dist/index226.js +16 -17
  284. package/dist/index226.js.map +1 -1
  285. package/dist/index227.js +8 -7
  286. package/dist/index227.js.map +1 -1
  287. package/dist/index228.js +8 -53
  288. package/dist/index228.js.map +1 -1
  289. package/dist/index229.js +9 -8
  290. package/dist/index229.js.map +1 -1
  291. package/dist/index23.js +37 -109
  292. package/dist/index23.js.map +1 -1
  293. package/dist/index230.js +7 -28
  294. package/dist/index230.js.map +1 -1
  295. package/dist/index231.js +57 -16
  296. package/dist/index231.js.map +1 -1
  297. package/dist/index232.js +11 -12
  298. package/dist/index232.js.map +1 -1
  299. package/dist/index233.js +8 -3
  300. package/dist/index233.js.map +1 -0
  301. package/dist/index234.js +7 -28
  302. package/dist/index234.js.map +1 -1
  303. package/dist/index235.js +11 -71
  304. package/dist/index235.js.map +1 -1
  305. package/dist/index236.js +8 -3
  306. package/dist/index236.js.map +1 -0
  307. package/dist/index237.js +7 -14
  308. package/dist/index237.js.map +1 -1
  309. package/dist/index238.js +6 -53
  310. package/dist/index238.js.map +1 -1
  311. package/dist/index239.js +13 -117
  312. package/dist/index239.js.map +1 -1
  313. package/dist/index24.js +227 -11
  314. package/dist/index24.js.map +1 -1
  315. package/dist/index240.js +13 -9
  316. package/dist/index240.js.map +1 -1
  317. package/dist/index241.js +13 -16
  318. package/dist/index241.js.map +1 -1
  319. package/dist/index242.js +13 -689
  320. package/dist/index242.js.map +1 -1
  321. package/dist/index243.js +14 -256
  322. package/dist/index243.js.map +1 -1
  323. package/dist/index244.js +13 -704
  324. package/dist/index244.js.map +1 -1
  325. package/dist/index245.js +9 -7433
  326. package/dist/index245.js.map +1 -1
  327. package/dist/index246.js +8 -9
  328. package/dist/index246.js.map +1 -1
  329. package/dist/index247.js +7 -15
  330. package/dist/index247.js.map +1 -1
  331. package/dist/index248.js +8 -8
  332. package/dist/index248.js.map +1 -1
  333. package/dist/index249.js +9 -462
  334. package/dist/index249.js.map +1 -1
  335. package/dist/index25.js +32 -23
  336. package/dist/index25.js.map +1 -1
  337. package/dist/index250.js +9 -41
  338. package/dist/index250.js.map +1 -1
  339. package/dist/index251.js +19 -22
  340. package/dist/index251.js.map +1 -1
  341. package/dist/index252.js +10 -30
  342. package/dist/index252.js.map +1 -1
  343. package/dist/index253.js +13 -7
  344. package/dist/index253.js.map +1 -1
  345. package/dist/index254.js +14 -62
  346. package/dist/index254.js.map +1 -1
  347. package/dist/index255.js +24 -10
  348. package/dist/index255.js.map +1 -1
  349. package/dist/index256.js +13 -15
  350. package/dist/index256.js.map +1 -1
  351. package/dist/index257.js +13 -6
  352. package/dist/index257.js.map +1 -1
  353. package/dist/index258.js +12 -19
  354. package/dist/index258.js.map +1 -1
  355. package/dist/index259.js +7 -28
  356. package/dist/index259.js.map +1 -1
  357. package/dist/index26.js +16 -60
  358. package/dist/index26.js.map +1 -1
  359. package/dist/index260.js +9 -47
  360. package/dist/index260.js.map +1 -1
  361. package/dist/index261.js +19 -16
  362. package/dist/index261.js.map +1 -1
  363. package/dist/index262.js +12 -28
  364. package/dist/index262.js.map +1 -1
  365. package/dist/index263.js +21 -20
  366. package/dist/index263.js.map +1 -1
  367. package/dist/index264.js +18 -38
  368. package/dist/index264.js.map +1 -1
  369. package/dist/index265.js +15 -8
  370. package/dist/index265.js.map +1 -1
  371. package/dist/index266.js +32 -12
  372. package/dist/index266.js.map +1 -1
  373. package/dist/index267.js +15 -11
  374. package/dist/index267.js.map +1 -1
  375. package/dist/index268.js +28 -12
  376. package/dist/index268.js.map +1 -1
  377. package/dist/index269.js +8 -13
  378. package/dist/index269.js.map +1 -1
  379. package/dist/index27.js +2924 -58
  380. package/dist/index27.js.map +1 -1
  381. package/dist/index270.js +23 -10
  382. package/dist/index270.js.map +1 -1
  383. package/dist/index271.js +8 -77
  384. package/dist/index271.js.map +1 -1
  385. package/dist/index272.js +5 -174
  386. package/dist/index272.js.map +1 -1
  387. package/dist/index273.js +27 -118
  388. package/dist/index273.js.map +1 -1
  389. package/dist/index274.js +115 -17
  390. package/dist/index274.js.map +1 -1
  391. package/dist/index275.js +17 -82
  392. package/dist/index275.js.map +1 -1
  393. package/dist/index276.js +528 -45
  394. package/dist/index276.js.map +1 -1
  395. package/dist/index277.js +129 -17
  396. package/dist/index277.js.map +1 -1
  397. package/dist/index278.js +137 -20
  398. package/dist/index278.js.map +1 -1
  399. package/dist/index279.js +8 -103
  400. package/dist/index279.js.map +1 -1
  401. package/dist/index28.js +6 -1
  402. package/dist/index28.js.map +1 -0
  403. package/dist/index280.js +21 -60
  404. package/dist/index280.js.map +1 -1
  405. package/dist/index281.js +16 -112
  406. package/dist/index281.js.map +1 -1
  407. package/dist/index282.js +65 -72
  408. package/dist/index282.js.map +1 -1
  409. package/dist/index283.js +72 -117
  410. package/dist/index283.js.map +1 -1
  411. package/dist/index284.js +12 -59
  412. package/dist/index284.js.map +1 -1
  413. package/dist/index285.js +17 -47
  414. package/dist/index285.js.map +1 -1
  415. package/dist/index286.js +69 -146
  416. package/dist/index286.js.map +1 -1
  417. package/dist/index287.js +8 -143
  418. package/dist/index287.js.map +1 -1
  419. package/dist/index288.js +8 -258
  420. package/dist/index288.js.map +1 -1
  421. package/dist/index289.js +7 -244
  422. package/dist/index289.js.map +1 -1
  423. package/dist/index29.js +40 -5
  424. package/dist/index29.js.map +1 -0
  425. package/dist/index290.js +19 -302
  426. package/dist/index290.js.map +1 -1
  427. package/dist/index291.js +11 -8
  428. package/dist/index291.js.map +1 -1
  429. package/dist/index292.js +8 -9
  430. package/dist/index292.js.map +1 -1
  431. package/dist/index293.js +7 -10
  432. package/dist/index293.js.map +1 -1
  433. package/dist/index294.js +548 -9
  434. package/dist/index294.js.map +1 -1
  435. package/dist/index295.js +50 -10
  436. package/dist/index295.js.map +1 -1
  437. package/dist/index296.js +20 -24
  438. package/dist/index296.js.map +1 -1
  439. package/dist/index297.js +8 -13
  440. package/dist/index297.js.map +1 -1
  441. package/dist/index298.js +11 -130
  442. package/dist/index298.js.map +1 -1
  443. package/dist/index299.js +9 -167
  444. package/dist/index299.js.map +1 -1
  445. package/dist/index3.js +181 -6
  446. package/dist/index3.js.map +1 -1
  447. package/dist/index30.js +6 -8
  448. package/dist/index30.js.map +1 -1
  449. package/dist/index300.js +11 -72
  450. package/dist/index300.js.map +1 -1
  451. package/dist/index301.js +14 -112
  452. package/dist/index301.js.map +1 -1
  453. package/dist/index302.js +12 -495
  454. package/dist/index302.js.map +1 -1
  455. package/dist/index303.js +15 -65
  456. package/dist/index303.js.map +1 -1
  457. package/dist/index304.js +7 -7
  458. package/dist/index304.js.map +1 -1
  459. package/dist/index305.js +25 -30
  460. package/dist/index305.js.map +1 -1
  461. package/dist/index306.js +6 -67
  462. package/dist/index306.js.map +1 -1
  463. package/dist/index307.js +58 -155
  464. package/dist/index307.js.map +1 -1
  465. package/dist/index308.js +71 -65
  466. package/dist/index308.js.map +1 -1
  467. package/dist/index309.js +32 -563
  468. package/dist/index309.js.map +1 -1
  469. package/dist/index31.js +128 -9
  470. package/dist/index31.js.map +1 -1
  471. package/dist/index310.js +11 -213
  472. package/dist/index310.js.map +1 -1
  473. package/dist/index311.js +156 -335
  474. package/dist/index311.js.map +1 -1
  475. package/dist/index312.js +110 -271
  476. package/dist/index312.js.map +1 -1
  477. package/dist/index313.js +26 -0
  478. package/dist/index313.js.map +1 -0
  479. package/dist/index314.js +16 -0
  480. package/dist/index314.js.map +1 -0
  481. package/dist/index315.js +31 -0
  482. package/dist/index315.js.map +1 -0
  483. package/dist/index316.js +8 -0
  484. package/dist/index316.js.map +1 -0
  485. package/dist/index317.js +19 -0
  486. package/dist/index317.js.map +1 -0
  487. package/dist/index318.js +32 -0
  488. package/dist/index318.js.map +1 -0
  489. package/dist/index319.js +16 -0
  490. package/dist/index319.js.map +1 -0
  491. package/dist/index32.js +234 -8
  492. package/dist/index32.js.map +1 -1
  493. package/dist/index320.js +10 -0
  494. package/dist/index320.js.map +1 -0
  495. package/dist/index33.js +26 -10
  496. package/dist/index33.js.map +1 -1
  497. package/dist/index34.js +54 -14
  498. package/dist/index34.js.map +1 -1
  499. package/dist/index35.js +24 -8
  500. package/dist/index35.js.map +1 -1
  501. package/dist/index36.js +133 -11
  502. package/dist/index36.js.map +1 -1
  503. package/dist/index37.js +225 -12
  504. package/dist/index37.js.map +1 -1
  505. package/dist/index38.js +94 -16
  506. package/dist/index38.js.map +1 -1
  507. package/dist/index39.js +121 -9
  508. package/dist/index39.js.map +1 -1
  509. package/dist/index4.js +28 -25
  510. package/dist/index4.js.map +1 -1
  511. package/dist/index40.js +8 -9
  512. package/dist/index40.js.map +1 -1
  513. package/dist/index41.js +847 -10
  514. package/dist/index41.js.map +1 -1
  515. package/dist/index42.js +60 -13
  516. package/dist/index42.js.map +1 -1
  517. package/dist/index43.js +10 -11
  518. package/dist/index43.js.map +1 -1
  519. package/dist/index44.js +5 -9
  520. package/dist/index44.js.map +1 -1
  521. package/dist/index45.js +14 -8
  522. package/dist/index45.js.map +1 -1
  523. package/dist/index46.js +21 -14
  524. package/dist/index46.js.map +1 -1
  525. package/dist/index47.js +10 -14
  526. package/dist/index47.js.map +1 -1
  527. package/dist/index48.js +5 -11
  528. package/dist/index48.js.map +1 -1
  529. package/dist/index49.js +26 -7
  530. package/dist/index49.js.map +1 -1
  531. package/dist/index5.js +41 -34
  532. package/dist/index5.js.map +1 -1
  533. package/dist/index50.js +236 -9
  534. package/dist/index50.js.map +1 -1
  535. package/dist/index51.js +9 -9
  536. package/dist/index51.js.map +1 -1
  537. package/dist/index52.js +36 -9
  538. package/dist/index52.js.map +1 -1
  539. package/dist/index53.js +29 -12
  540. package/dist/index53.js.map +1 -1
  541. package/dist/index54.js +10 -16
  542. package/dist/index54.js.map +1 -1
  543. package/dist/index55.js +14 -9
  544. package/dist/index55.js.map +1 -1
  545. package/dist/index56.js +5 -10
  546. package/dist/index56.js.map +1 -1
  547. package/dist/index57.js +5 -10
  548. package/dist/index57.js.map +1 -1
  549. package/dist/index58.js +5 -17
  550. package/dist/index58.js.map +1 -1
  551. package/dist/index59.js +5 -11
  552. package/dist/index59.js.map +1 -1
  553. package/dist/index6.js +469 -42
  554. package/dist/index6.js.map +1 -1
  555. package/dist/index60.js +208 -12
  556. package/dist/index60.js.map +1 -1
  557. package/dist/index61.js +8 -70
  558. package/dist/index61.js.map +1 -1
  559. package/dist/index62.js +10 -10
  560. package/dist/index62.js.map +1 -1
  561. package/dist/index63.js +8 -33
  562. package/dist/index63.js.map +1 -1
  563. package/dist/index64.js +7 -13
  564. package/dist/index64.js.map +1 -1
  565. package/dist/index65.js +50 -18
  566. package/dist/index65.js.map +1 -1
  567. package/dist/index66.js +53 -203
  568. package/dist/index66.js.map +1 -1
  569. package/dist/index67.js +10 -23
  570. package/dist/index67.js.map +1 -1
  571. package/dist/index68.js +17 -19
  572. package/dist/index68.js.map +1 -1
  573. package/dist/index69.js +136 -125
  574. package/dist/index69.js.map +1 -1
  575. package/dist/index7.js +138 -224
  576. package/dist/index7.js.map +1 -1
  577. package/dist/index70.js +13 -21
  578. package/dist/index70.js.map +1 -1
  579. package/dist/index71.js +219 -11
  580. package/dist/index71.js.map +1 -1
  581. package/dist/index72.js +16 -13
  582. package/dist/index72.js.map +1 -1
  583. package/dist/index73.js +49 -16
  584. package/dist/index73.js.map +1 -1
  585. package/dist/index74.js +52 -12
  586. package/dist/index74.js.map +1 -1
  587. package/dist/index75.js +7 -13
  588. package/dist/index75.js.map +1 -1
  589. package/dist/index76.js +8 -7
  590. package/dist/index76.js.map +1 -1
  591. package/dist/index77.js +30 -44
  592. package/dist/index77.js.map +1 -1
  593. package/dist/index78.js +52 -383
  594. package/dist/index78.js.map +1 -1
  595. package/dist/index79.js +11 -41
  596. package/dist/index79.js.map +1 -1
  597. package/dist/index8.js +875 -37
  598. package/dist/index8.js.map +1 -1
  599. package/dist/index80.js +46 -21
  600. package/dist/index80.js.map +1 -1
  601. package/dist/index81.js +8 -60
  602. package/dist/index81.js.map +1 -1
  603. package/dist/index82.js +72 -11
  604. package/dist/index82.js.map +1 -1
  605. package/dist/index83.js +5 -9
  606. package/dist/index83.js.map +1 -1
  607. package/dist/index84.js +367 -9
  608. package/dist/index84.js.map +1 -1
  609. package/dist/index85.js +265 -9
  610. package/dist/index85.js.map +1 -1
  611. package/dist/index86.js +64 -9
  612. package/dist/index86.js.map +1 -1
  613. package/dist/index87.js +50 -10
  614. package/dist/index87.js.map +1 -1
  615. package/dist/index88.js +173 -10
  616. package/dist/index88.js.map +1 -1
  617. package/dist/index89.js +113 -14
  618. package/dist/index89.js.map +1 -1
  619. package/dist/index9.js +8 -33
  620. package/dist/index9.js.map +1 -1
  621. package/dist/index90.js +27 -10
  622. package/dist/index90.js.map +1 -1
  623. package/dist/index91.js +11 -10
  624. package/dist/index91.js.map +1 -1
  625. package/dist/index92.js +7 -8
  626. package/dist/index92.js.map +1 -1
  627. package/dist/index93.js +8 -10
  628. package/dist/index93.js.map +1 -1
  629. package/dist/index94.js +7 -50
  630. package/dist/index94.js.map +1 -1
  631. package/dist/index95.js +469 -108
  632. package/dist/index95.js.map +1 -1
  633. package/dist/index96.js +188 -13
  634. package/dist/index96.js.map +1 -1
  635. package/dist/index97.js +110 -9
  636. package/dist/index97.js.map +1 -1
  637. package/dist/index98.js +265 -9
  638. package/dist/index98.js.map +1 -1
  639. package/dist/index99.js +12 -8
  640. package/dist/index99.js.map +1 -1
  641. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"index161.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js"],"sourcesContent":["/**\n * Returns the years to display in the dropdown.\n *\n * This function generates a list of years between the navigation start and end\n * dates, formatted using the provided formatter.\n *\n * @param navStart The start date for navigation.\n * @param navEnd The end date for navigation.\n * @param formatters The formatters to use for formatting the year labels.\n * @param dateLib The date library to use for date manipulation.\n * @param reverse If true, reverses the order of the years (descending).\n * @returns An array of dropdown options representing the years, or `undefined`\n * if `navStart` or `navEnd` is not provided.\n */\nexport function getYearOptions(navStart, navEnd, formatters, dateLib, reverse = false) {\n if (!navStart)\n return undefined;\n if (!navEnd)\n return undefined;\n const { startOfYear, endOfYear, eachYearOfInterval, getYear } = dateLib;\n const firstNavYear = startOfYear(navStart);\n const lastNavYear = endOfYear(navEnd);\n const years = eachYearOfInterval({ start: firstNavYear, end: lastNavYear });\n if (reverse)\n years.reverse();\n return years.map((year) => {\n const label = formatters.formatYearDropdown(year, dateLib);\n return {\n value: getYear(year),\n label,\n disabled: false,\n };\n });\n}\n"],"x_google_ignoreList":[0],"mappings":";AAcA,SAAgB,EAAe,GAAU,GAAQ,GAAY,GAAS,IAAU,IAAO;AAGnF,KAFI,CAAC,KAED,CAAC,EACD;CACJ,IAAM,EAAE,gBAAa,cAAW,uBAAoB,eAAY,GAG1D,IAAQ,EAAmB;EAAE,OAFd,EAAY,EAAS;EAEc,KADpC,EAAU,EAAO;EACqC,CAAC;AAG3E,QAFI,KACA,EAAM,SAAS,EACZ,EAAM,KAAK,MAAS;EACvB,IAAM,IAAQ,EAAW,mBAAmB,GAAM,EAAQ;AAC1D,SAAO;GACH,OAAO,EAAQ,EAAK;GACpB;GACA,UAAU;GACb;GACH"}
1
+ {"version":3,"file":"index161.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/index162.js CHANGED
@@ -1,90 +1,8 @@
1
- import { TZDate as e } from "./index27.js";
2
- import "./index29.js";
3
- import t from "./index42.js";
4
- import n from "./index51.js";
5
- import r from "./index72.js";
6
- import i from "./index75.js";
7
- //#region ../../node_modules/react-day-picker/dist/esm/noonDateLib.js
8
- function a(a, o = {}) {
9
- let { weekStartsOn: s, locale: c } = o, l = s ?? c?.options?.weekStartsOn ?? 0, u = (t) => {
10
- let n = typeof t == "number" || typeof t == "string" ? new Date(t) : t;
11
- return new e(n.getFullYear(), n.getMonth(), n.getDate(), 12, 0, 0, a);
12
- }, d = (e) => {
13
- let t = u(e);
14
- return new Date(t.getFullYear(), t.getMonth(), t.getDate(), 0, 0, 0, 0);
15
- };
16
- return {
17
- today: () => u(e.tz(a)),
18
- newDate: (t, n, r) => new e(t, n, r, 12, 0, 0, a),
19
- startOfDay: (e) => u(e),
20
- startOfWeek: (e, t) => {
21
- let n = u(e), r = t?.weekStartsOn ?? l, i = (n.getDay() - r + 7) % 7;
22
- return n.setDate(n.getDate() - i), n;
23
- },
24
- startOfISOWeek: (e) => {
25
- let t = u(e), n = (t.getDay() - 1 + 7) % 7;
26
- return t.setDate(t.getDate() - n), t;
27
- },
28
- startOfMonth: (e) => {
29
- let t = u(e);
30
- return t.setDate(1), t;
31
- },
32
- startOfYear: (e) => {
33
- let t = u(e);
34
- return t.setMonth(0, 1), t;
35
- },
36
- endOfWeek: (e, t) => {
37
- let n = u(e), r = (((t?.weekStartsOn ?? l) + 6) % 7 - n.getDay() + 7) % 7;
38
- return n.setDate(n.getDate() + r), n;
39
- },
40
- endOfISOWeek: (e) => {
41
- let t = u(e), n = (7 - t.getDay()) % 7;
42
- return t.setDate(t.getDate() + n), t;
43
- },
44
- endOfMonth: (e) => {
45
- let t = u(e);
46
- return t.setMonth(t.getMonth() + 1, 0), t;
47
- },
48
- endOfYear: (e) => {
49
- let t = u(e);
50
- return t.setMonth(11, 31), t;
51
- },
52
- eachMonthOfInterval: (t) => {
53
- let n = u(t.start), r = u(t.end), i = [], o = new e(n.getFullYear(), n.getMonth(), 1, 12, 0, 0, a), s = r.getFullYear() * 12 + r.getMonth();
54
- for (; o.getFullYear() * 12 + o.getMonth() <= s;) i.push(new e(o, a)), o.setMonth(o.getMonth() + 1, 1);
55
- return i;
56
- },
57
- addDays: (e, t) => {
58
- let n = u(e);
59
- return n.setDate(n.getDate() + t), n;
60
- },
61
- addWeeks: (e, t) => {
62
- let n = u(e);
63
- return n.setDate(n.getDate() + t * 7), n;
64
- },
65
- addMonths: (e, t) => {
66
- let n = u(e);
67
- return n.setMonth(n.getMonth() + t), n;
68
- },
69
- addYears: (e, t) => {
70
- let n = u(e);
71
- return n.setFullYear(n.getFullYear() + t), n;
72
- },
73
- eachYearOfInterval: (t) => {
74
- let n = u(t.start), r = u(t.end), i = [], o = new e(n.getFullYear(), 0, 1, 12, 0, 0, a);
75
- for (; o.getFullYear() <= r.getFullYear();) i.push(new e(o, a)), o.setFullYear(o.getFullYear() + 1, 0, 1);
76
- return i;
77
- },
78
- getWeek: (e, t) => i(d(e), {
79
- weekStartsOn: t?.weekStartsOn ?? l,
80
- firstWeekContainsDate: t?.firstWeekContainsDate ?? c?.options?.firstWeekContainsDate ?? 1
81
- }),
82
- getISOWeek: (e) => r(d(e)),
83
- differenceInCalendarDays: (e, n) => t(d(e), d(n)),
84
- differenceInCalendarMonths: (e, t) => n(d(e), d(t))
85
- };
1
+ import { defaultDateLib as r } from "./index135.js";
2
+ function n(o, t = r) {
3
+ return t.format(o, "LLLL");
86
4
  }
87
- //#endregion
88
- export { a as createNoonOverrides };
89
-
90
- //# sourceMappingURL=index162.js.map
5
+ export {
6
+ n as formatMonthDropdown
7
+ };
8
+ //# sourceMappingURL=index162.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index162.js","names":["getWeekFn","getISOWeekFn","differenceInCalendarDaysFn","differenceInCalendarMonthsFn"],"sources":["../../../node_modules/react-day-picker/dist/esm/noonDateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { differenceInCalendarDays as differenceInCalendarDaysFn, differenceInCalendarMonths as differenceInCalendarMonthsFn, getISOWeek as getISOWeekFn, getWeek as getWeekFn, } from \"date-fns\";\n/**\n * Creates `dateLib` overrides that keep all calendar math at noon in the target\n * time zone. This avoids second-level offset changes (e.g., historical zones\n * with +03:41:12) from pushing dates backward across midnight.\n */\nexport function createNoonOverrides(timeZone, options = {}) {\n const { weekStartsOn, locale } = options;\n const fallbackWeekStartsOn = (weekStartsOn ??\n locale?.options?.weekStartsOn ??\n 0);\n // Keep all internal math anchored at noon in the target zone to avoid\n // historical second-level offsets from crossing midnight.\n const toNoonTZDate = (date) => {\n const normalizedDate = typeof date === \"number\" || typeof date === \"string\"\n ? new Date(date)\n : date;\n return new TZDate(normalizedDate.getFullYear(), normalizedDate.getMonth(), normalizedDate.getDate(), 12, 0, 0, timeZone);\n };\n // Convert a value into a host `Date` that represents the same calendar day\n // as the target-zone noon. This is useful for helpers (e.g., date-fns week\n // utilities) that expect local `Date` instances rather than `TZDate`s.\n const toCalendarDate = (date) => {\n const zoned = toNoonTZDate(date);\n return new Date(zoned.getFullYear(), zoned.getMonth(), zoned.getDate(), 0, 0, 0, 0);\n };\n return {\n today: () => {\n return toNoonTZDate(TZDate.tz(timeZone));\n },\n newDate: (year, monthIndex, date) => {\n return new TZDate(year, monthIndex, date, 12, 0, 0, timeZone);\n },\n startOfDay: (date) => {\n return toNoonTZDate(date);\n },\n startOfWeek: (date, options) => {\n const base = toNoonTZDate(date);\n const weekStartsOnValue = (options?.weekStartsOn ??\n fallbackWeekStartsOn);\n const diff = (base.getDay() - weekStartsOnValue + 7) % 7;\n base.setDate(base.getDate() - diff);\n return base;\n },\n startOfISOWeek: (date) => {\n const base = toNoonTZDate(date);\n const diff = (base.getDay() - 1 + 7) % 7;\n base.setDate(base.getDate() - diff);\n return base;\n },\n startOfMonth: (date) => {\n const base = toNoonTZDate(date);\n base.setDate(1);\n return base;\n },\n startOfYear: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(0, 1);\n return base;\n },\n endOfWeek: (date, options) => {\n const base = toNoonTZDate(date);\n const weekStartsOnValue = (options?.weekStartsOn ??\n fallbackWeekStartsOn);\n const endDow = (weekStartsOnValue + 6) % 7;\n const diff = (endDow - base.getDay() + 7) % 7;\n base.setDate(base.getDate() + diff);\n return base;\n },\n endOfISOWeek: (date) => {\n const base = toNoonTZDate(date);\n const diff = (7 - base.getDay()) % 7;\n base.setDate(base.getDate() + diff);\n return base;\n },\n endOfMonth: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(base.getMonth() + 1, 0);\n return base;\n },\n endOfYear: (date) => {\n const base = toNoonTZDate(date);\n base.setMonth(11, 31);\n return base;\n },\n eachMonthOfInterval: (interval) => {\n const start = toNoonTZDate(interval.start);\n const end = toNoonTZDate(interval.end);\n const result = [];\n const cursor = new TZDate(start.getFullYear(), start.getMonth(), 1, 12, 0, 0, timeZone);\n const endKey = end.getFullYear() * 12 + end.getMonth();\n while (cursor.getFullYear() * 12 + cursor.getMonth() <= endKey) {\n result.push(new TZDate(cursor, timeZone));\n cursor.setMonth(cursor.getMonth() + 1, 1);\n }\n return result;\n },\n // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),\n // mutate the same TZDate, and return it.\n addDays: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setDate(base.getDate() + amount);\n return base;\n },\n addWeeks: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setDate(base.getDate() + amount * 7);\n return base;\n },\n addMonths: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setMonth(base.getMonth() + amount);\n return base;\n },\n addYears: (date, amount) => {\n const base = toNoonTZDate(date);\n base.setFullYear(base.getFullYear() + amount);\n return base;\n },\n eachYearOfInterval: (interval) => {\n const start = toNoonTZDate(interval.start);\n const end = toNoonTZDate(interval.end);\n const years = [];\n const cursor = new TZDate(start.getFullYear(), 0, 1, 12, 0, 0, timeZone);\n while (cursor.getFullYear() <= end.getFullYear()) {\n years.push(new TZDate(cursor, timeZone));\n cursor.setFullYear(cursor.getFullYear() + 1, 0, 1);\n }\n return years;\n },\n getWeek: (date, options) => {\n const base = toCalendarDate(date);\n return getWeekFn(base, {\n weekStartsOn: options?.weekStartsOn ?? fallbackWeekStartsOn,\n firstWeekContainsDate: options?.firstWeekContainsDate ??\n locale?.options?.firstWeekContainsDate ??\n 1,\n });\n },\n getISOWeek: (date) => {\n const base = toCalendarDate(date);\n return getISOWeekFn(base);\n },\n differenceInCalendarDays: (dateLeft, dateRight) => {\n const left = toCalendarDate(dateLeft);\n const right = toCalendarDate(dateRight);\n return differenceInCalendarDaysFn(left, right);\n },\n differenceInCalendarMonths: (dateLeft, dateRight) => {\n const left = toCalendarDate(dateLeft);\n const right = toCalendarDate(dateRight);\n return differenceInCalendarMonthsFn(left, right);\n },\n };\n}\n"],"x_google_ignoreList":[0],"mappings":"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"}
1
+ {"version":3,"file":"index162.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/index163.js CHANGED
@@ -1,51 +1,8 @@
1
- import { Animation as e } from "./index104.js";
2
- import { useLayoutEffect as t, useRef as n } from "react";
3
- //#region ../../node_modules/react-day-picker/dist/esm/useAnimation.js
4
- var r = (e) => e instanceof HTMLElement ? e : null, i = (e) => [...e.querySelectorAll("[data-animated-month]") ?? []], a = (e) => r(e.querySelector("[data-animated-month]")), o = (e) => r(e.querySelector("[data-animated-caption]")), s = (e) => r(e.querySelector("[data-animated-weeks]")), c = (e) => r(e.querySelector("[data-animated-nav]")), l = (e) => r(e.querySelector("[data-animated-weekdays]"));
5
- function u(r, u, { classNames: d, months: f, focused: p, dateLib: m }) {
6
- let h = n(null), g = n(f), _ = n(!1);
7
- t(() => {
8
- let t = g.current;
9
- if (g.current = f, !u || !r.current || !(r.current instanceof HTMLElement) || f.length === 0 || t.length === 0 || f.length !== t.length) return;
10
- let n = m.isSameMonth(f[0].date, t[0].date), v = m.isAfter(f[0].date, t[0].date), y = v ? d[e.caption_after_enter] : d[e.caption_before_enter], b = v ? d[e.weeks_after_enter] : d[e.weeks_before_enter], x = h.current, S = r.current.cloneNode(!0);
11
- if (S instanceof HTMLElement ? (i(S).forEach((e) => {
12
- if (!(e instanceof HTMLElement)) return;
13
- let t = a(e);
14
- t && e.contains(t) && e.removeChild(t);
15
- let n = o(e);
16
- n && n.classList.remove(y);
17
- let r = s(e);
18
- r && r.classList.remove(b);
19
- }), h.current = S) : h.current = null, _.current || n || p) return;
20
- let C = x instanceof HTMLElement ? i(x) : [], w = i(r.current);
21
- if (w?.every((e) => e instanceof HTMLElement) && C && C.every((e) => e instanceof HTMLElement)) {
22
- _.current = !0;
23
- let t = [];
24
- r.current.style.isolation = "isolate";
25
- let n = c(r.current);
26
- n && (n.style.zIndex = "1"), w.forEach((i, a) => {
27
- let c = C[a];
28
- if (!c) return;
29
- i.style.position = "relative", i.style.overflow = "hidden";
30
- let u = o(i);
31
- u && u.classList.add(y);
32
- let f = s(i);
33
- f && f.classList.add(b);
34
- let p = () => {
35
- _.current = !1, r.current && (r.current.style.isolation = ""), n && (n.style.zIndex = ""), u && u.classList.remove(y), f && f.classList.remove(b), i.style.position = "", i.style.overflow = "", i.contains(c) && i.removeChild(c);
36
- };
37
- t.push(p), c.style.pointerEvents = "none", c.style.position = "absolute", c.style.overflow = "hidden", c.setAttribute("aria-hidden", "true");
38
- let m = l(c);
39
- m && (m.style.opacity = "0");
40
- let h = o(c);
41
- h && (h.classList.add(v ? d[e.caption_before_exit] : d[e.caption_after_exit]), h.addEventListener("animationend", p));
42
- let g = s(c);
43
- g && g.classList.add(v ? d[e.weeks_before_exit] : d[e.weeks_after_exit]), i.insertBefore(c, i.firstChild);
44
- });
45
- }
46
- });
1
+ import { DateLib as t } from "./index135.js";
2
+ function a(c, e, r) {
3
+ return (r ?? new t(e)).format(c, "cccccc");
47
4
  }
48
- //#endregion
49
- export { u as useAnimation };
50
-
51
- //# sourceMappingURL=index163.js.map
5
+ export {
6
+ a as formatWeekdayName
7
+ };
8
+ //# sourceMappingURL=index163.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index163.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/useAnimation.js"],"sourcesContent":["import { useLayoutEffect, useRef } from \"react\";\nimport { Animation } from \"./UI.js\";\nconst asHtmlElement = (element) => {\n if (element instanceof HTMLElement)\n return element;\n return null;\n};\nconst queryMonthEls = (element) => [\n ...(element.querySelectorAll(\"[data-animated-month]\") ?? []),\n];\nconst queryMonthEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-month]\"));\nconst queryCaptionEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-caption]\"));\nconst queryWeeksEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-weeks]\"));\nconst queryNavEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-nav]\"));\nconst queryWeekdaysEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-weekdays]\"));\n/**\n * Handles animations for transitioning between months in the DayPicker\n * component.\n *\n * @private\n * @param rootElRef - A reference to the root element of the DayPicker\n * component.\n * @param enabled - Whether animations are enabled.\n * @param options - Configuration options for the animation, including class\n * names, months, focused day, and the date utility library.\n */\nexport function useAnimation(rootElRef, enabled, { classNames, months, focused, dateLib, }) {\n const previousRootElSnapshotRef = useRef(null);\n const previousMonthsRef = useRef(months);\n const animatingRef = useRef(false);\n useLayoutEffect(() => {\n // get previous months before updating the previous months ref\n const previousMonths = previousMonthsRef.current;\n // update previous months ref for next effect trigger\n previousMonthsRef.current = months;\n if (!enabled ||\n !rootElRef.current ||\n // safety check because the ref can be set to anything by consumers\n !(rootElRef.current instanceof HTMLElement) ||\n // validation required for the animation to work as expected\n months.length === 0 ||\n previousMonths.length === 0 ||\n months.length !== previousMonths.length) {\n return;\n }\n const isSameMonth = dateLib.isSameMonth(months[0].date, previousMonths[0].date);\n const isAfterPreviousMonth = dateLib.isAfter(months[0].date, previousMonths[0].date);\n const captionAnimationClass = isAfterPreviousMonth\n ? classNames[Animation.caption_after_enter]\n : classNames[Animation.caption_before_enter];\n const weeksAnimationClass = isAfterPreviousMonth\n ? classNames[Animation.weeks_after_enter]\n : classNames[Animation.weeks_before_enter];\n // get previous root element snapshot before updating the snapshot ref\n const previousRootElSnapshot = previousRootElSnapshotRef.current;\n // update snapshot for next effect trigger\n const rootElSnapshot = rootElRef.current.cloneNode(true);\n if (rootElSnapshot instanceof HTMLElement) {\n // if this effect is triggered while animating, we need to clean up the new root snapshot\n // to put it in the same state as when not animating, to correctly animate the next month change\n const currentMonthElsSnapshot = queryMonthEls(rootElSnapshot);\n currentMonthElsSnapshot.forEach((currentMonthElSnapshot) => {\n if (!(currentMonthElSnapshot instanceof HTMLElement))\n return;\n // remove the old month snapshots from the new root snapshot\n const previousMonthElSnapshot = queryMonthEl(currentMonthElSnapshot);\n if (previousMonthElSnapshot &&\n currentMonthElSnapshot.contains(previousMonthElSnapshot)) {\n currentMonthElSnapshot.removeChild(previousMonthElSnapshot);\n }\n // remove animation classes from the new month snapshots\n const captionEl = queryCaptionEl(currentMonthElSnapshot);\n if (captionEl) {\n captionEl.classList.remove(captionAnimationClass);\n }\n const weeksEl = queryWeeksEl(currentMonthElSnapshot);\n if (weeksEl) {\n weeksEl.classList.remove(weeksAnimationClass);\n }\n });\n previousRootElSnapshotRef.current = rootElSnapshot;\n }\n else {\n previousRootElSnapshotRef.current = null;\n }\n if (animatingRef.current ||\n isSameMonth ||\n // skip animation if a day is focused because it can cause issues to the animation and is better for a11y\n focused) {\n return;\n }\n const previousMonthEls = previousRootElSnapshot instanceof HTMLElement\n ? queryMonthEls(previousRootElSnapshot)\n : [];\n const currentMonthEls = queryMonthEls(rootElRef.current);\n if (currentMonthEls?.every((el) => el instanceof HTMLElement) &&\n previousMonthEls &&\n previousMonthEls.every((el) => el instanceof HTMLElement)) {\n animatingRef.current = true;\n const cleanUpFunctions = [];\n // set isolation to isolate to isolate the stacking context during animation\n rootElRef.current.style.isolation = \"isolate\";\n // set z-index to 1 to ensure the nav is clickable over the other elements being animated\n const navEl = queryNavEl(rootElRef.current);\n if (navEl) {\n navEl.style.zIndex = \"1\";\n }\n currentMonthEls.forEach((currentMonthEl, index) => {\n const previousMonthEl = previousMonthEls[index];\n if (!previousMonthEl) {\n return;\n }\n // animate new displayed month\n currentMonthEl.style.position = \"relative\";\n currentMonthEl.style.overflow = \"hidden\";\n const captionEl = queryCaptionEl(currentMonthEl);\n if (captionEl) {\n captionEl.classList.add(captionAnimationClass);\n }\n const weeksEl = queryWeeksEl(currentMonthEl);\n if (weeksEl) {\n weeksEl.classList.add(weeksAnimationClass);\n }\n // animate new displayed month end\n const cleanUp = () => {\n animatingRef.current = false;\n if (rootElRef.current) {\n rootElRef.current.style.isolation = \"\";\n }\n if (navEl) {\n navEl.style.zIndex = \"\";\n }\n if (captionEl) {\n captionEl.classList.remove(captionAnimationClass);\n }\n if (weeksEl) {\n weeksEl.classList.remove(weeksAnimationClass);\n }\n currentMonthEl.style.position = \"\";\n currentMonthEl.style.overflow = \"\";\n if (currentMonthEl.contains(previousMonthEl)) {\n currentMonthEl.removeChild(previousMonthEl);\n }\n };\n cleanUpFunctions.push(cleanUp);\n // animate old displayed month\n previousMonthEl.style.pointerEvents = \"none\";\n previousMonthEl.style.position = \"absolute\";\n previousMonthEl.style.overflow = \"hidden\";\n previousMonthEl.setAttribute(\"aria-hidden\", \"true\");\n // hide the weekdays container of the old month and only the new one\n const previousWeekdaysEl = queryWeekdaysEl(previousMonthEl);\n if (previousWeekdaysEl) {\n previousWeekdaysEl.style.opacity = \"0\";\n }\n const previousCaptionEl = queryCaptionEl(previousMonthEl);\n if (previousCaptionEl) {\n previousCaptionEl.classList.add(isAfterPreviousMonth\n ? classNames[Animation.caption_before_exit]\n : classNames[Animation.caption_after_exit]);\n previousCaptionEl.addEventListener(\"animationend\", cleanUp);\n }\n const previousWeeksEl = queryWeeksEl(previousMonthEl);\n if (previousWeeksEl) {\n previousWeeksEl.classList.add(isAfterPreviousMonth\n ? classNames[Animation.weeks_before_exit]\n : classNames[Animation.weeks_after_exit]);\n }\n currentMonthEl.insertBefore(previousMonthEl, currentMonthEl.firstChild);\n });\n }\n });\n}\n"],"x_google_ignoreList":[0],"mappings":"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"}
1
+ {"version":3,"file":"index163.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/index164.js CHANGED
@@ -1,21 +1,8 @@
1
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getDates.js
2
- function e(e, t, n, r) {
3
- let i = e[0], a = e[e.length - 1], { ISOWeek: o, fixedWeeks: s, broadcastCalendar: c } = n ?? {}, { addDays: l, differenceInCalendarDays: u, differenceInCalendarMonths: d, endOfBroadcastWeek: f, endOfISOWeek: p, endOfMonth: m, endOfWeek: h, isAfter: g, startOfBroadcastWeek: _, startOfISOWeek: v, startOfWeek: y } = r, b = c ? _(i, r) : o ? v(i) : y(i), x = c ? f(a) : o ? p(m(a)) : h(m(a)), S = t && (c ? f(t) : o ? p(t) : h(t)), C = u(S && g(x, S) ? S : x, b), w = d(a, i) + 1, T = [];
4
- for (let e = 0; e <= C; e++) {
5
- let t = l(b, e);
6
- T.push(t);
7
- }
8
- let E = (c ? 35 : 42) * w;
9
- if (s && T.length < E) {
10
- let e = E - T.length;
11
- for (let t = 0; t < e; t++) {
12
- let e = l(T[T.length - 1], 1);
13
- T.push(e);
14
- }
15
- }
16
- return T;
1
+ import { defaultDateLib as o } from "./index135.js";
2
+ function a(r, t = o) {
3
+ return r < 10 ? t.formatNumber(`0${r.toLocaleString()}`) : t.formatNumber(`${r.toLocaleString()}`);
17
4
  }
18
- //#endregion
19
- export { e as getDates };
20
-
21
- //# sourceMappingURL=index164.js.map
5
+ export {
6
+ a as formatWeekNumber
7
+ };
8
+ //# sourceMappingURL=index164.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index164.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDates.js"],"sourcesContent":["/**\n * Returns all the dates to display in the calendar.\n *\n * This function calculates the range of dates to display based on the provided\n * display months, constraints, and calendar configuration.\n *\n * @param displayMonths The months to display in the calendar.\n * @param maxDate The maximum date to include in the range.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of dates to display in the calendar.\n */\nexport function getDates(displayMonths, maxDate, props, dateLib) {\n const firstMonth = displayMonths[0];\n const lastMonth = displayMonths[displayMonths.length - 1];\n const { ISOWeek, fixedWeeks, broadcastCalendar } = props ?? {};\n const { addDays, differenceInCalendarDays, differenceInCalendarMonths, endOfBroadcastWeek, endOfISOWeek, endOfMonth, endOfWeek, isAfter, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const startWeekFirstDate = broadcastCalendar\n ? startOfBroadcastWeek(firstMonth, dateLib)\n : ISOWeek\n ? startOfISOWeek(firstMonth)\n : startOfWeek(firstMonth);\n const displayMonthsWeekEnd = broadcastCalendar\n ? endOfBroadcastWeek(lastMonth)\n : ISOWeek\n ? endOfISOWeek(endOfMonth(lastMonth))\n : endOfWeek(endOfMonth(lastMonth));\n // If maxDate is set, clamp the grid to the end of that week.\n const constraintWeekEnd = maxDate &&\n (broadcastCalendar\n ? endOfBroadcastWeek(maxDate)\n : ISOWeek\n ? endOfISOWeek(maxDate)\n : endOfWeek(maxDate));\n // Pick the earliest week end between the displayed months and the constraint.\n const gridEndDate = constraintWeekEnd && isAfter(displayMonthsWeekEnd, constraintWeekEnd)\n ? constraintWeekEnd\n : displayMonthsWeekEnd;\n const nOfDays = differenceInCalendarDays(gridEndDate, startWeekFirstDate);\n const nOfMonths = differenceInCalendarMonths(lastMonth, firstMonth) + 1;\n const dates = [];\n for (let i = 0; i <= nOfDays; i++) {\n const date = addDays(startWeekFirstDate, i);\n dates.push(date);\n }\n // If fixed weeks is enabled, add the extra dates to the array\n const nrOfDaysWithFixedWeeks = broadcastCalendar ? 35 : 42;\n const extraDates = nrOfDaysWithFixedWeeks * nOfMonths;\n if (fixedWeeks && dates.length < extraDates) {\n const daysToAdd = extraDates - dates.length;\n for (let i = 0; i < daysToAdd; i++) {\n const date = addDays(dates[dates.length - 1], 1);\n dates.push(date);\n }\n }\n return dates;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAYA,SAAgB,EAAS,GAAe,GAAS,GAAO,GAAS;CAC7D,IAAM,IAAa,EAAc,IAC3B,IAAY,EAAc,EAAc,SAAS,IACjD,EAAE,YAAS,eAAY,yBAAsB,KAAS,EAAE,EACxD,EAAE,YAAS,6BAA0B,+BAA4B,uBAAoB,iBAAc,eAAY,cAAW,YAAS,yBAAsB,mBAAgB,mBAAiB,GAC1L,IAAqB,IACrB,EAAqB,GAAY,EAAQ,GACzC,IACI,EAAe,EAAW,GAC1B,EAAY,EAAW,EAC3B,IAAuB,IACvB,EAAmB,EAAU,GAC7B,IACI,EAAa,EAAW,EAAU,CAAC,GACnC,EAAU,EAAW,EAAU,CAAC,EAEpC,IAAoB,MACrB,IACK,EAAmB,EAAQ,GAC3B,IACI,EAAa,EAAQ,GACrB,EAAU,EAAQ,GAK1B,IAAU,EAHI,KAAqB,EAAQ,GAAsB,EAAkB,GACnF,IACA,GACgD,EAAmB,EACnE,IAAY,EAA2B,GAAW,EAAW,GAAG,GAChE,IAAQ,EAAE;AAChB,MAAK,IAAI,IAAI,GAAG,KAAK,GAAS,KAAK;EAC/B,IAAM,IAAO,EAAQ,GAAoB,EAAE;AAC3C,IAAM,KAAK,EAAK;;CAIpB,IAAM,KADyB,IAAoB,KAAK,MACZ;AAC5C,KAAI,KAAc,EAAM,SAAS,GAAY;EACzC,IAAM,IAAY,IAAa,EAAM;AACrC,OAAK,IAAI,IAAI,GAAG,IAAI,GAAW,KAAK;GAChC,IAAM,IAAO,EAAQ,EAAM,EAAM,SAAS,IAAI,EAAE;AAChD,KAAM,KAAK,EAAK;;;AAGxB,QAAO"}
1
+ {"version":3,"file":"index164.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/index165.js CHANGED
@@ -1,12 +1,7 @@
1
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getDays.js
2
- function e(e) {
3
- let t = [];
4
- return e.reduce((e, n) => {
5
- let r = n.weeks.reduce((e, t) => e.concat(t.days.slice()), t.slice());
6
- return e.concat(r.slice());
7
- }, t.slice());
1
+ function e() {
2
+ return "";
8
3
  }
9
- //#endregion
10
- export { e as getDays };
11
-
12
- //# sourceMappingURL=index165.js.map
4
+ export {
5
+ e as formatWeekNumberHeader
6
+ };
7
+ //# sourceMappingURL=index165.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index165.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDays.js"],"sourcesContent":["/**\n * Returns all the days belonging to the calendar by merging the days in the\n * weeks for each month.\n *\n * @param calendarMonths The array of calendar months.\n * @returns An array of `CalendarDay` objects representing all the days in the\n * calendar.\n */\nexport function getDays(calendarMonths) {\n const initialDays = [];\n return calendarMonths.reduce((days, month) => {\n const weekDays = month.weeks.reduce((weekDays, week) => {\n return weekDays.concat(week.days.slice());\n }, initialDays.slice());\n return days.concat(weekDays.slice());\n }, initialDays.slice());\n}\n"],"x_google_ignoreList":[0],"mappings":";AAQA,SAAgB,EAAQ,GAAgB;CACpC,IAAM,IAAc,EAAE;AACtB,QAAO,EAAe,QAAQ,GAAM,MAAU;EAC1C,IAAM,IAAW,EAAM,MAAM,QAAQ,GAAU,MACpC,EAAS,OAAO,EAAK,KAAK,OAAO,CAAC,EAC1C,EAAY,OAAO,CAAC;AACvB,SAAO,EAAK,OAAO,EAAS,OAAO,CAAC;IACrC,EAAY,OAAO,CAAC"}
1
+ {"version":3,"file":"index165.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/index166.js CHANGED
@@ -1,14 +1,10 @@
1
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js
2
- function e(e, t, n, r) {
3
- let { numberOfMonths: i = 1 } = n, a = [];
4
- for (let n = 0; n < i; n++) {
5
- let i = r.addMonths(e, n);
6
- if (t && i > t) break;
7
- a.push(i);
8
- }
9
- return a;
1
+ import { defaultDateLib as t } from "./index135.js";
2
+ function a(o, r = t) {
3
+ return r.format(o, "yyyy");
10
4
  }
11
- //#endregion
12
- export { e as getDisplayMonths };
13
-
14
- //# sourceMappingURL=index166.js.map
5
+ const f = a;
6
+ export {
7
+ f as formatYearCaption,
8
+ a as formatYearDropdown
9
+ };
10
+ //# sourceMappingURL=index166.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index166.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js"],"sourcesContent":["/**\n * Returns the months to display in the calendar.\n *\n * @param firstDisplayedMonth The first month currently displayed in the\n * calendar.\n * @param calendarEndMonth The latest month the user can navigate to.\n * @param props The DayPicker props, including `numberOfMonths`.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of dates representing the months to display.\n */\nexport function getDisplayMonths(firstDisplayedMonth, calendarEndMonth, props, dateLib) {\n const { numberOfMonths = 1 } = props;\n const months = [];\n for (let i = 0; i < numberOfMonths; i++) {\n const month = dateLib.addMonths(firstDisplayedMonth, i);\n if (calendarEndMonth && month > calendarEndMonth) {\n break;\n }\n months.push(month);\n }\n return months;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAUA,SAAgB,EAAiB,GAAqB,GAAkB,GAAO,GAAS;CACpF,IAAM,EAAE,oBAAiB,MAAM,GACzB,IAAS,EAAE;AACjB,MAAK,IAAI,IAAI,GAAG,IAAI,GAAgB,KAAK;EACrC,IAAM,IAAQ,EAAQ,UAAU,GAAqB,EAAE;AACvD,MAAI,KAAoB,IAAQ,EAC5B;AAEJ,IAAO,KAAK,EAAM;;AAEtB,QAAO"}
1
+ {"version":3,"file":"index166.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/index167.js CHANGED
@@ -1,9 +1,27 @@
1
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js
2
- function e(e, t, n, r) {
3
- let { month: i, defaultMonth: a, today: o = r.today(), numberOfMonths: s = 1 } = e, c = i || a || o, { differenceInCalendarMonths: l, addMonths: u, startOfMonth: d } = r;
4
- return n && l(n, c) < s - 1 && (c = u(n, -1 * (s - 1))), t && l(c, t) < 0 && (c = t), d(c);
5
- }
6
- //#endregion
7
- export { e as getInitialMonth };
8
-
9
- //# sourceMappingURL=index167.js.map
1
+ import { labelDay as o, labelDayButton as l } from "./index168.js";
2
+ import { labelCaption as t, labelGrid as b } from "./index169.js";
3
+ import { labelGridcell as m } from "./index170.js";
4
+ import { labelMonthDropdown as f } from "./index171.js";
5
+ import { labelNav as n } from "./index172.js";
6
+ import { labelNext as u } from "./index173.js";
7
+ import { labelPrevious as N } from "./index174.js";
8
+ import { labelWeekday as y } from "./index175.js";
9
+ import { labelWeekNumber as v } from "./index176.js";
10
+ import { labelWeekNumberHeader as G } from "./index177.js";
11
+ import { labelYearDropdown as h } from "./index178.js";
12
+ 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
26
+ };
27
+ //# sourceMappingURL=index167.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index167.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js"],"sourcesContent":["/**\n * Determines the initial month to display in the calendar based on the provided\n * props.\n *\n * This function calculates the starting month, considering constraints such as\n * `startMonth`, `endMonth`, and the number of months to display.\n *\n * @param props The DayPicker props, including navigation and date constraints.\n * @param dateLib The date library to use for date manipulation.\n * @returns The initial month to display.\n */\nexport function getInitialMonth(props, navStart, navEnd, dateLib) {\n const { month, defaultMonth, today = dateLib.today(), numberOfMonths = 1, } = props;\n let initialMonth = month || defaultMonth || today;\n const { differenceInCalendarMonths, addMonths, startOfMonth } = dateLib;\n if (navEnd &&\n differenceInCalendarMonths(navEnd, initialMonth) < numberOfMonths - 1) {\n const offset = -1 * (numberOfMonths - 1);\n initialMonth = addMonths(navEnd, offset);\n }\n if (navStart && differenceInCalendarMonths(initialMonth, navStart) < 0) {\n initialMonth = navStart;\n }\n return startOfMonth(initialMonth);\n}\n"],"x_google_ignoreList":[0],"mappings":";AAWA,SAAgB,EAAgB,GAAO,GAAU,GAAQ,GAAS;CAC9D,IAAM,EAAE,UAAO,iBAAc,WAAQ,EAAQ,OAAO,EAAE,oBAAiB,MAAO,GAC1E,IAAe,KAAS,KAAgB,GACtC,EAAE,+BAA4B,cAAW,oBAAiB;AAShE,QARI,KACA,EAA2B,GAAQ,EAAa,GAAG,IAAiB,MAEpE,IAAe,EAAU,GADV,MAAM,IAAiB,GACE,GAExC,KAAY,EAA2B,GAAc,EAAS,GAAG,MACjE,IAAe,IAEZ,EAAa,EAAa"}
1
+ {"version":3,"file":"index167.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
package/dist/index168.js CHANGED
@@ -1,26 +1,11 @@
1
- import { CalendarDay as e } from "./index96.js";
2
- import { CalendarMonth as t } from "./index97.js";
3
- import { CalendarWeek as n } from "./index98.js";
4
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getMonths.js
5
- function r(r, i, a, o) {
6
- let { addDays: s, endOfBroadcastWeek: c, endOfISOWeek: l, endOfMonth: u, endOfWeek: d, getISOWeek: f, getWeek: p, startOfBroadcastWeek: m, startOfISOWeek: h, startOfWeek: g } = o, _ = r.reduce((r, _) => {
7
- let v = a.broadcastCalendar ? m(_, o) : a.ISOWeek ? h(_) : g(_), y = a.broadcastCalendar ? c(_) : a.ISOWeek ? l(u(_)) : d(u(_)), b = i.filter((e) => e >= v && e <= y), x = a.broadcastCalendar ? 35 : 42;
8
- if (a.fixedWeeks && b.length < x) {
9
- let e = i.filter((e) => {
10
- let t = x - b.length;
11
- return e > y && e <= s(y, t);
12
- });
13
- b.push(...e);
14
- }
15
- let S = new t(_, b.reduce((t, r) => {
16
- let i = a.ISOWeek ? f(r) : p(r), s = t.find((e) => e.weekNumber === i), c = new e(r, _, o);
17
- return s ? s.days.push(c) : t.push(new n(i, [c])), t;
18
- }, []));
19
- return r.push(S), r;
20
- }, []);
21
- return a.reverseMonths ? _.reverse() : _;
1
+ import { DateLib as n } from "./index135.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;
22
5
  }
23
- //#endregion
24
- export { r as getMonths };
25
-
26
- //# sourceMappingURL=index168.js.map
6
+ const c = r;
7
+ export {
8
+ c as labelDay,
9
+ r as labelDayButton
10
+ };
11
+ //# sourceMappingURL=index168.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index168.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getMonths.js"],"sourcesContent":["import { CalendarDay, CalendarMonth, CalendarWeek } from \"../classes/index.js\";\n/**\n * Returns the months to display in the calendar.\n *\n * This function generates `CalendarMonth` objects for each month to be\n * displayed, including their weeks and days, based on the provided display\n * months and dates.\n *\n * @param displayMonths The months (as dates) to display in the calendar.\n * @param dates The dates to display in the calendar.\n * @param props Options from the DayPicker props context.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of `CalendarMonth` objects representing the months to\n * display.\n */\nexport function getMonths(displayMonths, dates, props, dateLib) {\n const { addDays, endOfBroadcastWeek, endOfISOWeek, endOfMonth, endOfWeek, getISOWeek, getWeek, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const dayPickerMonths = displayMonths.reduce((months, month) => {\n const firstDateOfFirstWeek = props.broadcastCalendar\n ? startOfBroadcastWeek(month, dateLib)\n : props.ISOWeek\n ? startOfISOWeek(month)\n : startOfWeek(month);\n const lastDateOfLastWeek = props.broadcastCalendar\n ? endOfBroadcastWeek(month)\n : props.ISOWeek\n ? endOfISOWeek(endOfMonth(month))\n : endOfWeek(endOfMonth(month));\n /** The dates to display in the month. */\n const monthDates = dates.filter((date) => {\n return date >= firstDateOfFirstWeek && date <= lastDateOfLastWeek;\n });\n const nrOfDaysWithFixedWeeks = props.broadcastCalendar ? 35 : 42;\n if (props.fixedWeeks && monthDates.length < nrOfDaysWithFixedWeeks) {\n const extraDates = dates.filter((date) => {\n const daysToAdd = nrOfDaysWithFixedWeeks - monthDates.length;\n return (date > lastDateOfLastWeek &&\n date <= addDays(lastDateOfLastWeek, daysToAdd));\n });\n monthDates.push(...extraDates);\n }\n const weeks = monthDates.reduce((weeks, date) => {\n const weekNumber = props.ISOWeek ? getISOWeek(date) : getWeek(date);\n const week = weeks.find((week) => week.weekNumber === weekNumber);\n const day = new CalendarDay(date, month, dateLib);\n if (!week) {\n weeks.push(new CalendarWeek(weekNumber, [day]));\n }\n else {\n week.days.push(day);\n }\n return weeks;\n }, []);\n const dayPickerMonth = new CalendarMonth(month, weeks);\n months.push(dayPickerMonth);\n return months;\n }, []);\n if (!props.reverseMonths) {\n return dayPickerMonths;\n }\n else {\n return dayPickerMonths.reverse();\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;AAeA,SAAgB,EAAU,GAAe,GAAO,GAAO,GAAS;CAC5D,IAAM,EAAE,YAAS,uBAAoB,iBAAc,eAAY,cAAW,eAAY,YAAS,yBAAsB,mBAAgB,mBAAiB,GAChJ,IAAkB,EAAc,QAAQ,GAAQ,MAAU;EAC5D,IAAM,IAAuB,EAAM,oBAC7B,EAAqB,GAAO,EAAQ,GACpC,EAAM,UACF,EAAe,EAAM,GACrB,EAAY,EAAM,EACtB,IAAqB,EAAM,oBAC3B,EAAmB,EAAM,GACzB,EAAM,UACF,EAAa,EAAW,EAAM,CAAC,GAC/B,EAAU,EAAW,EAAM,CAAC,EAEhC,IAAa,EAAM,QAAQ,MACtB,KAAQ,KAAwB,KAAQ,EACjD,EACI,IAAyB,EAAM,oBAAoB,KAAK;AAC9D,MAAI,EAAM,cAAc,EAAW,SAAS,GAAwB;GAChE,IAAM,IAAa,EAAM,QAAQ,MAAS;IACtC,IAAM,IAAY,IAAyB,EAAW;AACtD,WAAQ,IAAO,KACX,KAAQ,EAAQ,GAAoB,EAAU;KACpD;AACF,KAAW,KAAK,GAAG,EAAW;;EAclC,IAAM,IAAiB,IAAI,EAAc,GAZ3B,EAAW,QAAQ,GAAO,MAAS;GAC7C,IAAM,IAAa,EAAM,UAAU,EAAW,EAAK,GAAG,EAAQ,EAAK,EAC7D,IAAO,EAAM,MAAM,MAAS,EAAK,eAAe,EAAW,EAC3D,IAAM,IAAI,EAAY,GAAM,GAAO,EAAQ;AAOjD,UANK,IAID,EAAK,KAAK,KAAK,EAAI,GAHnB,EAAM,KAAK,IAAI,EAAa,GAAY,CAAC,EAAI,CAAC,CAAC,EAK5C;KACR,EAAE,CAAC,CACgD;AAEtD,SADA,EAAO,KAAK,EAAe,EACpB;IACR,EAAE,CAAC;AAEF,QADC,EAAM,gBAIA,EAAgB,SAAS,GAHzB"}
1
+ {"version":3,"file":"index168.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/index169.js CHANGED
@@ -1,11 +1,10 @@
1
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js
2
- function e(e, t) {
3
- let { startMonth: n, endMonth: r } = e, { startOfYear: i, startOfDay: a, startOfMonth: o, endOfMonth: s, addYears: c, endOfYear: l, newDate: u, today: d } = t, { fromYear: f, toYear: p, fromMonth: m, toMonth: h } = e;
4
- !n && m && (n = m), !n && f && (n = t.newDate(f, 0, 1)), !r && h && (r = h), !r && p && (r = u(p, 11, 31));
5
- let g = e.captionLayout === "dropdown" || e.captionLayout === "dropdown-years";
6
- return n ? n = o(n) : f ? n = u(f, 0, 1) : !n && g && (n = i(c(e.today ?? d(), -100))), r ? r = s(r) : p ? r = u(p, 11, 31) : !r && g && (r = l(e.today ?? d())), [n && a(n), r && a(r)];
1
+ import { DateLib as r } from "./index135.js";
2
+ function e(t, o, n) {
3
+ return (n ?? new r(o)).formatMonthYear(t);
7
4
  }
8
- //#endregion
9
- export { e as getNavMonths };
10
-
11
- //# sourceMappingURL=index169.js.map
5
+ const l = e;
6
+ export {
7
+ l as labelCaption,
8
+ e as labelGrid
9
+ };
10
+ //# sourceMappingURL=index169.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index169.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js"],"sourcesContent":["/**\n * Returns the start and end months for calendar navigation.\n *\n * @param props The DayPicker props, including navigation and layout options.\n * @param dateLib The date library to use for date manipulation.\n * @returns A tuple containing the start and end months for navigation.\n */\nexport function getNavMonths(props, dateLib) {\n let { startMonth, endMonth } = props;\n const { startOfYear, startOfDay, startOfMonth, endOfMonth, addYears, endOfYear, newDate, today, } = dateLib;\n // Handle deprecated code\n const { fromYear, toYear, fromMonth, toMonth } = props;\n if (!startMonth && fromMonth) {\n startMonth = fromMonth;\n }\n if (!startMonth && fromYear) {\n startMonth = dateLib.newDate(fromYear, 0, 1);\n }\n if (!endMonth && toMonth) {\n endMonth = toMonth;\n }\n if (!endMonth && toYear) {\n endMonth = newDate(toYear, 11, 31);\n }\n const hasYearDropdown = props.captionLayout === \"dropdown\" ||\n props.captionLayout === \"dropdown-years\";\n if (startMonth) {\n startMonth = startOfMonth(startMonth);\n }\n else if (fromYear) {\n startMonth = newDate(fromYear, 0, 1);\n }\n else if (!startMonth && hasYearDropdown) {\n startMonth = startOfYear(addYears(props.today ?? today(), -100));\n }\n if (endMonth) {\n endMonth = endOfMonth(endMonth);\n }\n else if (toYear) {\n endMonth = newDate(toYear, 11, 31);\n }\n else if (!endMonth && hasYearDropdown) {\n endMonth = endOfYear(props.today ?? today());\n }\n return [\n startMonth ? startOfDay(startMonth) : startMonth,\n endMonth ? startOfDay(endMonth) : endMonth,\n ];\n}\n"],"x_google_ignoreList":[0],"mappings":";AAOA,SAAgB,EAAa,GAAO,GAAS;CACzC,IAAI,EAAE,eAAY,gBAAa,GACzB,EAAE,gBAAa,eAAY,iBAAc,eAAY,aAAU,cAAW,YAAS,aAAW,GAE9F,EAAE,aAAU,WAAQ,cAAW,eAAY;AAUjD,CATI,CAAC,KAAc,MACf,IAAa,IAEb,CAAC,KAAc,MACf,IAAa,EAAQ,QAAQ,GAAU,GAAG,EAAE,GAE5C,CAAC,KAAY,MACb,IAAW,IAEX,CAAC,KAAY,MACb,IAAW,EAAQ,GAAQ,IAAI,GAAG;CAEtC,IAAM,IAAkB,EAAM,kBAAkB,cAC5C,EAAM,kBAAkB;AAmB5B,QAlBI,IACA,IAAa,EAAa,EAAW,GAEhC,IACL,IAAa,EAAQ,GAAU,GAAG,EAAE,GAE/B,CAAC,KAAc,MACpB,IAAa,EAAY,EAAS,EAAM,SAAS,GAAO,EAAE,KAAK,CAAC,GAEhE,IACA,IAAW,EAAW,EAAS,GAE1B,IACL,IAAW,EAAQ,GAAQ,IAAI,GAAG,GAE7B,CAAC,KAAY,MAClB,IAAW,EAAU,EAAM,SAAS,GAAO,CAAC,GAEzC,CACH,KAAa,EAAW,EAAW,EACnC,KAAW,EAAW,EAAS,CAClC"}
1
+ {"version":3,"file":"index169.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]}