@rpcbase/ui 0.181.0 → 0.183.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 (618) hide show
  1. package/dist/helpers/index.d.ts +1 -0
  2. package/dist/helpers/index.d.ts.map +1 -1
  3. package/dist/helpers/useScrollPagination.d.ts +23 -0
  4. package/dist/helpers/useScrollPagination.d.ts.map +1 -0
  5. package/dist/helpers/useScrollPagination.test.d.ts +2 -0
  6. package/dist/helpers/useScrollPagination.test.d.ts.map +1 -0
  7. package/dist/index.js +62 -60
  8. package/dist/index.js.map +1 -1
  9. package/dist/index10.js +23 -69
  10. package/dist/index10.js.map +1 -1
  11. package/dist/index100.js +5 -4
  12. package/dist/index100.js.map +1 -1
  13. package/dist/index101.js +3 -3
  14. package/dist/index101.js.map +1 -1
  15. package/dist/index102.js +4 -6
  16. package/dist/index102.js.map +1 -1
  17. package/dist/index103.js +6 -145
  18. package/dist/index103.js.map +1 -1
  19. package/dist/index104.js +144 -38
  20. package/dist/index104.js.map +1 -1
  21. package/dist/index105.js +39 -4
  22. package/dist/index105.js.map +1 -1
  23. package/dist/index106.js +4 -7
  24. package/dist/index106.js.map +1 -1
  25. package/dist/index107.js +6 -12
  26. package/dist/index107.js.map +1 -1
  27. package/dist/index108.js +13 -13
  28. package/dist/index108.js.map +1 -1
  29. package/dist/index109.js +13 -7
  30. package/dist/index109.js.map +1 -1
  31. package/dist/index11.js +62 -544
  32. package/dist/index11.js.map +1 -1
  33. package/dist/index110.js +6 -30
  34. package/dist/index110.js.map +1 -1
  35. package/dist/index111.js +31 -10
  36. package/dist/index111.js.map +1 -1
  37. package/dist/index112.js +10 -10
  38. package/dist/index112.js.map +1 -1
  39. package/dist/index113.js +10 -8
  40. package/dist/index113.js.map +1 -1
  41. package/dist/index114.js +8 -13
  42. package/dist/index114.js.map +1 -1
  43. package/dist/index115.js +13 -101
  44. package/dist/index115.js.map +1 -1
  45. package/dist/index116.js +102 -20
  46. package/dist/index116.js.map +1 -1
  47. package/dist/index117.js +20 -54
  48. package/dist/index117.js.map +1 -1
  49. package/dist/index118.js +51 -70
  50. package/dist/index118.js.map +1 -1
  51. package/dist/index119.js +72 -9
  52. package/dist/index119.js.map +1 -1
  53. package/dist/index12.js +535 -110
  54. package/dist/index12.js.map +1 -1
  55. package/dist/index120.js +9 -20
  56. package/dist/index120.js.map +1 -1
  57. package/dist/index121.js +20 -16
  58. package/dist/index121.js.map +1 -1
  59. package/dist/index122.js +16 -23
  60. package/dist/index122.js.map +1 -1
  61. package/dist/index123.js +23 -6
  62. package/dist/index123.js.map +1 -1
  63. package/dist/index124.js +6 -5
  64. package/dist/index124.js.map +1 -1
  65. package/dist/index125.js +5 -23
  66. package/dist/index125.js.map +1 -1
  67. package/dist/index126.js +24 -35
  68. package/dist/index126.js.map +1 -1
  69. package/dist/index127.js +35 -16
  70. package/dist/index127.js.map +1 -1
  71. package/dist/index128.js +16 -7
  72. package/dist/index128.js.map +1 -1
  73. package/dist/index129.js +6 -4
  74. package/dist/index129.js.map +1 -1
  75. package/dist/index13.js +122 -71
  76. package/dist/index13.js.map +1 -1
  77. package/dist/index130.js +4 -4
  78. package/dist/index130.js.map +1 -1
  79. package/dist/index131.js +4 -4
  80. package/dist/index131.js.map +1 -1
  81. package/dist/index132.js +4 -4
  82. package/dist/index132.js.map +1 -1
  83. package/dist/index133.js +4 -3
  84. package/dist/index133.js.map +1 -1
  85. package/dist/index134.js +3 -6
  86. package/dist/index134.js.map +1 -1
  87. package/dist/index135.js +7 -24
  88. package/dist/index135.js.map +1 -1
  89. package/dist/index136.js +24 -8
  90. package/dist/index136.js.map +1 -1
  91. package/dist/index137.js +7 -6
  92. package/dist/index137.js.map +1 -1
  93. package/dist/index138.js +6 -5
  94. package/dist/index138.js.map +1 -1
  95. package/dist/index139.js +5 -3
  96. package/dist/index139.js.map +1 -1
  97. package/dist/index14.js +61 -717
  98. package/dist/index14.js.map +1 -1
  99. package/dist/index140.js +3 -3
  100. package/dist/index140.js.map +1 -1
  101. package/dist/index141.js +3 -4
  102. package/dist/index141.js.map +1 -1
  103. package/dist/index142.js +4 -3
  104. package/dist/index142.js.map +1 -1
  105. package/dist/index143.js +3 -4
  106. package/dist/index143.js.map +1 -1
  107. package/dist/index144.js +4 -3
  108. package/dist/index144.js.map +1 -1
  109. package/dist/index145.js +3 -3
  110. package/dist/index145.js.map +1 -1
  111. package/dist/index146.js +3 -3
  112. package/dist/index146.js.map +1 -1
  113. package/dist/index147.js +3 -46
  114. package/dist/index147.js.map +1 -1
  115. package/dist/index148.js +2 -2
  116. package/dist/index15.js +727 -18
  117. package/dist/index15.js.map +1 -1
  118. package/dist/index150.js +2 -2
  119. package/dist/index152.js +3 -3
  120. package/dist/index153.js +40 -599
  121. package/dist/index153.js.map +1 -1
  122. package/dist/index154.js +605 -5
  123. package/dist/index154.js.map +1 -1
  124. package/dist/index155.js +5 -68
  125. package/dist/index155.js.map +1 -1
  126. package/dist/index156.js +69 -2
  127. package/dist/index156.js.map +1 -1
  128. package/dist/index157.js +2 -364
  129. package/dist/index157.js.map +1 -1
  130. package/dist/index158.js +303 -201
  131. package/dist/index158.js.map +1 -1
  132. package/dist/index159.js +247 -46
  133. package/dist/index159.js.map +1 -1
  134. package/dist/index16.js +19 -14
  135. package/dist/index16.js.map +1 -1
  136. package/dist/index160.js +56 -42
  137. package/dist/index160.js.map +1 -1
  138. package/dist/index161.js +46 -169
  139. package/dist/index161.js.map +1 -1
  140. package/dist/index162.js +156 -96
  141. package/dist/index162.js.map +1 -1
  142. package/dist/index163.js +109 -24
  143. package/dist/index163.js.map +1 -1
  144. package/dist/index164.js +25 -8
  145. package/dist/index164.js.map +1 -1
  146. package/dist/index165.js +8 -5
  147. package/dist/index165.js.map +1 -1
  148. package/dist/index166.js +4 -5
  149. package/dist/index166.js.map +1 -1
  150. package/dist/index167.js +5 -4
  151. package/dist/index167.js.map +1 -1
  152. package/dist/index168.js +4 -466
  153. package/dist/index168.js.map +1 -1
  154. package/dist/index169.js +420 -139
  155. package/dist/index169.js.map +1 -1
  156. package/dist/index17.js +13 -382
  157. package/dist/index17.js.map +1 -1
  158. package/dist/index170.js +149 -71
  159. package/dist/index170.js.map +1 -1
  160. package/dist/index171.js +74 -229
  161. package/dist/index171.js.map +1 -1
  162. package/dist/index172.js +262 -9
  163. package/dist/index172.js.map +1 -1
  164. package/dist/index173.js +9 -42
  165. package/dist/index173.js.map +1 -1
  166. package/dist/index174.js +42 -4
  167. package/dist/index174.js.map +1 -1
  168. package/dist/index175.js +4 -16
  169. package/dist/index175.js.map +1 -1
  170. package/dist/index176.js +57 -4
  171. package/dist/index176.js.map +1 -1
  172. package/dist/index177.js +8 -5
  173. package/dist/index177.js.map +1 -1
  174. package/dist/index178.js +55 -47
  175. package/dist/index178.js.map +1 -1
  176. package/dist/index179.js +17 -64
  177. package/dist/index179.js.map +1 -1
  178. package/dist/index18.js +363 -695
  179. package/dist/index18.js.map +1 -1
  180. package/dist/index180.js +16 -6
  181. package/dist/index180.js.map +1 -1
  182. package/dist/index181.js +5 -4
  183. package/dist/index181.js.map +1 -1
  184. package/dist/index182.js +5 -7
  185. package/dist/index182.js.map +1 -1
  186. package/dist/index183.js +6 -17
  187. package/dist/index183.js.map +1 -1
  188. package/dist/index184.js +4 -5
  189. package/dist/index184.js.map +1 -1
  190. package/dist/index185.js +7 -5
  191. package/dist/index185.js.map +1 -1
  192. package/dist/index186.js +17 -13
  193. package/dist/index186.js.map +1 -1
  194. package/dist/index187.js +5 -10
  195. package/dist/index187.js.map +1 -1
  196. package/dist/index188.js +5 -14
  197. package/dist/index188.js.map +1 -1
  198. package/dist/index189.js +13 -14
  199. package/dist/index189.js.map +1 -1
  200. package/dist/index19.js +685 -624
  201. package/dist/index19.js.map +1 -1
  202. package/dist/index190.js +10 -5
  203. package/dist/index190.js.map +1 -1
  204. package/dist/index191.js +14 -6
  205. package/dist/index191.js.map +1 -1
  206. package/dist/index192.js +14 -7
  207. package/dist/index192.js.map +1 -1
  208. package/dist/index193.js +5 -6
  209. package/dist/index193.js.map +1 -1
  210. package/dist/index194.js +6 -9
  211. package/dist/index194.js.map +1 -1
  212. package/dist/index195.js +7 -5
  213. package/dist/index195.js.map +1 -1
  214. package/dist/index196.js +6 -5
  215. package/dist/index196.js.map +1 -1
  216. package/dist/index197.js +9 -9
  217. package/dist/index197.js.map +1 -1
  218. package/dist/index198.js +5 -5
  219. package/dist/index198.js.map +1 -1
  220. package/dist/index199.js +5 -5
  221. package/dist/index199.js.map +1 -1
  222. package/dist/index2.js +2 -2
  223. package/dist/index20.js +640 -191
  224. package/dist/index20.js.map +1 -1
  225. package/dist/index200.js +9 -4
  226. package/dist/index200.js.map +1 -1
  227. package/dist/index201.js +5 -11
  228. package/dist/index201.js.map +1 -1
  229. package/dist/index202.js +5 -10
  230. package/dist/index202.js.map +1 -1
  231. package/dist/index203.js +4 -10
  232. package/dist/index203.js.map +1 -1
  233. package/dist/index204.js +11 -11
  234. package/dist/index204.js.map +1 -1
  235. package/dist/index205.js +10 -11
  236. package/dist/index205.js.map +1 -1
  237. package/dist/index206.js +10 -10
  238. package/dist/index206.js.map +1 -1
  239. package/dist/index207.js +11 -7
  240. package/dist/index207.js.map +1 -1
  241. package/dist/index208.js +11 -6
  242. package/dist/index208.js.map +1 -1
  243. package/dist/index209.js +10 -5
  244. package/dist/index209.js.map +1 -1
  245. package/dist/index21.js +209 -5
  246. package/dist/index21.js.map +1 -1
  247. package/dist/index210.js +7 -6
  248. package/dist/index210.js.map +1 -1
  249. package/dist/index211.js +6 -7
  250. package/dist/index211.js.map +1 -1
  251. package/dist/index212.js +5 -6
  252. package/dist/index212.js.map +1 -1
  253. package/dist/index213.js +6 -55
  254. package/dist/index213.js.map +1 -1
  255. package/dist/index214.js +7 -8
  256. package/dist/index214.js.map +1 -1
  257. package/dist/index215.js +6 -19
  258. package/dist/index215.js.map +1 -1
  259. package/dist/index216.js +54 -15
  260. package/dist/index216.js.map +1 -1
  261. package/dist/index217.js +16 -7
  262. package/dist/index217.js.map +1 -1
  263. package/dist/index218.js +7 -10
  264. package/dist/index218.js.map +1 -1
  265. package/dist/index219.js +9 -9
  266. package/dist/index219.js.map +1 -1
  267. package/dist/index22.js +5 -35
  268. package/dist/index22.js.map +1 -1
  269. package/dist/index220.js +10 -21
  270. package/dist/index220.js.map +1 -1
  271. package/dist/index221.js +21 -10
  272. package/dist/index221.js.map +1 -1
  273. package/dist/index222.js +10 -9
  274. package/dist/index222.js.map +1 -1
  275. package/dist/index223.js +6 -6
  276. package/dist/index223.js.map +1 -1
  277. package/dist/index224.js +9 -4
  278. package/dist/index224.js.map +1 -1
  279. package/dist/index225.js +4 -5
  280. package/dist/index225.js.map +1 -1
  281. package/dist/index226.js +5 -16
  282. package/dist/index226.js.map +1 -1
  283. package/dist/index227.js +16 -9
  284. package/dist/index227.js.map +1 -1
  285. package/dist/index228.js +9 -18
  286. package/dist/index228.js.map +1 -1
  287. package/dist/index229.js +15 -12
  288. package/dist/index229.js.map +1 -1
  289. package/dist/index23.js +24 -258
  290. package/dist/index23.js.map +1 -1
  291. package/dist/index230.js +12 -9
  292. package/dist/index230.js.map +1 -1
  293. package/dist/index231.js +12 -29
  294. package/dist/index231.js.map +1 -1
  295. package/dist/index232.js +28 -11
  296. package/dist/index232.js.map +1 -1
  297. package/dist/index233.js +10 -23
  298. package/dist/index233.js.map +1 -1
  299. package/dist/index234.js +25 -5
  300. package/dist/index234.js.map +1 -1
  301. package/dist/index235.js +5 -24
  302. package/dist/index235.js.map +1 -1
  303. package/dist/index236.js +24 -28
  304. package/dist/index236.js.map +1 -1
  305. package/dist/index237.js +29 -5
  306. package/dist/index237.js.map +1 -1
  307. package/dist/index238.js +5 -68
  308. package/dist/index238.js.map +1 -1
  309. package/dist/index239.js +64 -177
  310. package/dist/index239.js.map +1 -1
  311. package/dist/index24.js +254 -166
  312. package/dist/index24.js.map +1 -1
  313. package/dist/index240.js +176 -42
  314. package/dist/index240.js.map +1 -1
  315. package/dist/index241.js +45 -12
  316. package/dist/index241.js.map +1 -1
  317. package/dist/index242.js +13 -154
  318. package/dist/index242.js.map +1 -1
  319. package/dist/index243.js +151 -27
  320. package/dist/index243.js.map +1 -1
  321. package/dist/index244.js +30 -9
  322. package/dist/index244.js.map +1 -1
  323. package/dist/index245.js +9 -47
  324. package/dist/index245.js.map +1 -1
  325. package/dist/index246.js +46 -10
  326. package/dist/index246.js.map +1 -1
  327. package/dist/index247.js +11 -44
  328. package/dist/index247.js.map +1 -1
  329. package/dist/index248.js +40 -91
  330. package/dist/index248.js.map +1 -1
  331. package/dist/index249.js +85 -76
  332. package/dist/index249.js.map +1 -1
  333. package/dist/index25.js +180 -14
  334. package/dist/index25.js.map +1 -1
  335. package/dist/index250.js +69 -88
  336. package/dist/index250.js.map +1 -1
  337. package/dist/index251.js +92 -39
  338. package/dist/index251.js.map +1 -1
  339. package/dist/index252.js +51 -10
  340. package/dist/index252.js.map +1 -1
  341. package/dist/index253.js +10 -36
  342. package/dist/index253.js.map +1 -1
  343. package/dist/index254.js +37 -8
  344. package/dist/index254.js.map +1 -1
  345. package/dist/index255.js +8 -116
  346. package/dist/index255.js.map +1 -1
  347. package/dist/index256.js +115 -16
  348. package/dist/index256.js.map +1 -1
  349. package/dist/index257.js +17 -15
  350. package/dist/index257.js.map +1 -1
  351. package/dist/index258.js +15 -3
  352. package/dist/index258.js.map +1 -1
  353. package/dist/index259.js +3 -36
  354. package/dist/index259.js.map +1 -1
  355. package/dist/index26.js +15 -2763
  356. package/dist/index26.js.map +1 -1
  357. package/dist/index260.js +35 -19
  358. package/dist/index260.js.map +1 -1
  359. package/dist/index261.js +20 -9
  360. package/dist/index261.js.map +1 -1
  361. package/dist/index262.js +8 -7
  362. package/dist/index262.js.map +1 -1
  363. package/dist/index263.js +8 -19
  364. package/dist/index263.js.map +1 -1
  365. package/dist/index264.js +14 -23
  366. package/dist/index264.js.map +1 -1
  367. package/dist/index265.js +26 -14
  368. package/dist/index265.js.map +1 -1
  369. package/dist/index266.js +16 -4
  370. package/dist/index266.js.map +1 -1
  371. package/dist/index267.js +5 -19
  372. package/dist/index267.js.map +1 -1
  373. package/dist/index268.js +19 -13
  374. package/dist/index268.js.map +1 -1
  375. package/dist/index269.js +13 -5
  376. package/dist/index269.js.map +1 -1
  377. package/dist/index27.js +2761 -35
  378. package/dist/index27.js.map +1 -1
  379. package/dist/index270.js +5 -3
  380. package/dist/index270.js.map +1 -1
  381. package/dist/index271.js +3 -24
  382. package/dist/index271.js.map +1 -1
  383. package/dist/index272.js +22 -111
  384. package/dist/index272.js.map +1 -1
  385. package/dist/index273.js +111 -14
  386. package/dist/index273.js.map +1 -1
  387. package/dist/index274.js +14 -523
  388. package/dist/index274.js.map +1 -1
  389. package/dist/index275.js +511 -114
  390. package/dist/index275.js.map +1 -1
  391. package/dist/index276.js +111 -117
  392. package/dist/index276.js.map +1 -1
  393. package/dist/index277.js +133 -20
  394. package/dist/index277.js.map +1 -1
  395. package/dist/index278.js +20 -5
  396. package/dist/index278.js.map +1 -1
  397. package/dist/index279.js +5 -5
  398. package/dist/index279.js.map +1 -1
  399. package/dist/index28.js +37 -3
  400. package/dist/index28.js.map +1 -1
  401. package/dist/index280.js +6 -4
  402. package/dist/index280.js.map +1 -1
  403. package/dist/index281.js +4 -16
  404. package/dist/index281.js.map +1 -1
  405. package/dist/index282.js +14 -7
  406. package/dist/index282.js.map +1 -1
  407. package/dist/index283.js +8 -5
  408. package/dist/index283.js.map +1 -1
  409. package/dist/index284.js +5 -4
  410. package/dist/index284.js.map +1 -1
  411. package/dist/index285.js +4 -545
  412. package/dist/index285.js.map +1 -1
  413. package/dist/index286.js +544 -45
  414. package/dist/index286.js.map +1 -1
  415. package/dist/index287.js +47 -18
  416. package/dist/index287.js.map +1 -1
  417. package/dist/index288.js +17 -6
  418. package/dist/index288.js.map +1 -1
  419. package/dist/index289.js +6 -8
  420. package/dist/index289.js.map +1 -1
  421. package/dist/index29.js +3 -125
  422. package/dist/index29.js.map +1 -1
  423. package/dist/index290.js +8 -7
  424. package/dist/index290.js.map +1 -1
  425. package/dist/index291.js +7 -8
  426. package/dist/index291.js.map +1 -1
  427. package/dist/index292.js +8 -12
  428. package/dist/index292.js.map +1 -1
  429. package/dist/index293.js +12 -9
  430. package/dist/index293.js.map +1 -1
  431. package/dist/index294.js +9 -13
  432. package/dist/index294.js.map +1 -1
  433. package/dist/index295.js +14 -69
  434. package/dist/index295.js.map +1 -1
  435. package/dist/index296.js +68 -8
  436. package/dist/index296.js.map +1 -1
  437. package/dist/index297.js +9 -14
  438. package/dist/index297.js.map +1 -1
  439. package/dist/index298.js +14 -66
  440. package/dist/index298.js.map +1 -1
  441. package/dist/index299.js +65 -64
  442. package/dist/index299.js.map +1 -1
  443. package/dist/index30.js +120 -227
  444. package/dist/index30.js.map +1 -1
  445. package/dist/index300.js +64 -4
  446. package/dist/index300.js.map +1 -1
  447. package/dist/index301.js +5 -56
  448. package/dist/index301.js.map +1 -1
  449. package/dist/index302.js +54 -66
  450. package/dist/index302.js.map +1 -1
  451. package/dist/index303.js +67 -30
  452. package/dist/index303.js.map +1 -1
  453. package/dist/index304.js +31 -9
  454. package/dist/index304.js.map +1 -1
  455. package/dist/index305.js +9 -153
  456. package/dist/index305.js.map +1 -1
  457. package/dist/index306.js +142 -97
  458. package/dist/index306.js.map +1 -1
  459. package/dist/index307.js +108 -4
  460. package/dist/index307.js.map +1 -1
  461. package/dist/index308.js +3 -22
  462. package/dist/index308.js.map +1 -1
  463. package/dist/index309.js +22 -15
  464. package/dist/index309.js.map +1 -1
  465. package/dist/index31.js +229 -21
  466. package/dist/index31.js.map +1 -1
  467. package/dist/index310.js +14 -27
  468. package/dist/index310.js.map +1 -1
  469. package/dist/index311.js +27 -11
  470. package/dist/index311.js.map +1 -1
  471. package/dist/index312.js +11 -5
  472. package/dist/index312.js.map +1 -1
  473. package/dist/index313.js +6 -12
  474. package/dist/index313.js.map +1 -1
  475. package/dist/index314.js +20 -25
  476. package/dist/index314.js.map +1 -1
  477. package/dist/index315.js +12 -4
  478. package/dist/index315.js.map +1 -1
  479. package/dist/index316.js +25 -20
  480. package/dist/index316.js.map +1 -1
  481. package/dist/index317.js +8 -0
  482. package/dist/index317.js.map +1 -0
  483. package/dist/index32.js +23 -50
  484. package/dist/index32.js.map +1 -1
  485. package/dist/index33.js +50 -2640
  486. package/dist/index33.js.map +1 -1
  487. package/dist/index34.js +2598 -351
  488. package/dist/index34.js.map +1 -1
  489. package/dist/index35.js +375 -214
  490. package/dist/index35.js.map +1 -1
  491. package/dist/index36.js +230 -19
  492. package/dist/index36.js.map +1 -1
  493. package/dist/index37.js +18 -138
  494. package/dist/index37.js.map +1 -1
  495. package/dist/index38.js +125 -170
  496. package/dist/index38.js.map +1 -1
  497. package/dist/index39.js +174 -64
  498. package/dist/index39.js.map +1 -1
  499. package/dist/index40.js +72 -94
  500. package/dist/index40.js.map +1 -1
  501. package/dist/index41.js +98 -5
  502. package/dist/index41.js.map +1 -1
  503. package/dist/index42.js +5 -843
  504. package/dist/index42.js.map +1 -1
  505. package/dist/index43.js +832 -54
  506. package/dist/index43.js.map +1 -1
  507. package/dist/index44.js +66 -8
  508. package/dist/index44.js.map +1 -1
  509. package/dist/index45.js +8 -2
  510. package/dist/index45.js.map +1 -1
  511. package/dist/index46.js +2 -24
  512. package/dist/index46.js.map +1 -1
  513. package/dist/index47.js +22 -232
  514. package/dist/index47.js.map +1 -1
  515. package/dist/index48.js +233 -6
  516. package/dist/index48.js.map +1 -1
  517. package/dist/index49.js +203 -32
  518. package/dist/index49.js.map +1 -1
  519. package/dist/index5.js +1 -1
  520. package/dist/index50.js +3 -26
  521. package/dist/index50.js.map +1 -1
  522. package/dist/index51.js +6 -7
  523. package/dist/index51.js.map +1 -1
  524. package/dist/index52.js +47 -11
  525. package/dist/index52.js.map +1 -1
  526. package/dist/index53.js +26 -204
  527. package/dist/index53.js.map +1 -1
  528. package/dist/index54.js +50 -3
  529. package/dist/index54.js.map +1 -1
  530. package/dist/index55.js +7 -47
  531. package/dist/index55.js.map +1 -1
  532. package/dist/index56.js +12 -48
  533. package/dist/index56.js.map +1 -1
  534. package/dist/index57.js +133 -7
  535. package/dist/index57.js.map +1 -1
  536. package/dist/index58.js +10 -14
  537. package/dist/index58.js.map +1 -1
  538. package/dist/index59.js +210 -127
  539. package/dist/index59.js.map +1 -1
  540. package/dist/index6.js +138 -25
  541. package/dist/index6.js.map +1 -1
  542. package/dist/index60.js +12 -10
  543. package/dist/index60.js.map +1 -1
  544. package/dist/index61.js +32 -215
  545. package/dist/index61.js.map +1 -1
  546. package/dist/index62.js +47 -13
  547. package/dist/index62.js.map +1 -1
  548. package/dist/index63.js +7 -46
  549. package/dist/index63.js.map +1 -1
  550. package/dist/index67.js +2 -2
  551. package/dist/index69.js +3 -3
  552. package/dist/index7.js +26 -29
  553. package/dist/index7.js.map +1 -1
  554. package/dist/index70.js +11 -53
  555. package/dist/index70.js.map +1 -1
  556. package/dist/index71.js +54 -2
  557. package/dist/index71.js.map +1 -1
  558. package/dist/index72.js +6 -2
  559. package/dist/index72.js.map +1 -1
  560. package/dist/index73.js +7 -5
  561. package/dist/index73.js.map +1 -1
  562. package/dist/index74.js +4 -6
  563. package/dist/index74.js.map +1 -1
  564. package/dist/index75.js +2 -6
  565. package/dist/index75.js.map +1 -1
  566. package/dist/index76.js +2 -52
  567. package/dist/index76.js.map +1 -1
  568. package/dist/index77.js +52 -5
  569. package/dist/index77.js.map +1 -1
  570. package/dist/index78.js +4 -4
  571. package/dist/index78.js.map +1 -1
  572. package/dist/index79.js +4 -15
  573. package/dist/index79.js.map +1 -1
  574. package/dist/index8.js +28 -222
  575. package/dist/index8.js.map +1 -1
  576. package/dist/index80.js +15 -5
  577. package/dist/index80.js.map +1 -1
  578. package/dist/index81.js +5 -7
  579. package/dist/index81.js.map +1 -1
  580. package/dist/index82.js +6 -15
  581. package/dist/index82.js.map +1 -1
  582. package/dist/index83.js +16 -4
  583. package/dist/index83.js.map +1 -1
  584. package/dist/index84.js +1 -1
  585. package/dist/index84.js.map +1 -1
  586. package/dist/index85.js +4 -5
  587. package/dist/index85.js.map +1 -1
  588. package/dist/index86.js +4 -4
  589. package/dist/index86.js.map +1 -1
  590. package/dist/index87.js +5 -4
  591. package/dist/index87.js.map +1 -1
  592. package/dist/index88.js +2 -2
  593. package/dist/index88.js.map +1 -1
  594. package/dist/index89.js +3 -5
  595. package/dist/index89.js.map +1 -1
  596. package/dist/index9.js +226 -23
  597. package/dist/index9.js.map +1 -1
  598. package/dist/index90.js +6 -24
  599. package/dist/index90.js.map +1 -1
  600. package/dist/index91.js +24 -6
  601. package/dist/index91.js.map +1 -1
  602. package/dist/index92.js +6 -4
  603. package/dist/index92.js.map +1 -1
  604. package/dist/index93.js +3 -5
  605. package/dist/index93.js.map +1 -1
  606. package/dist/index94.js +6 -5
  607. package/dist/index94.js.map +1 -1
  608. package/dist/index95.js +5 -4
  609. package/dist/index95.js.map +1 -1
  610. package/dist/index96.js +3 -4
  611. package/dist/index96.js.map +1 -1
  612. package/dist/index97.js +5 -4
  613. package/dist/index97.js.map +1 -1
  614. package/dist/index98.js +4 -8
  615. package/dist/index98.js.map +1 -1
  616. package/dist/index99.js +8 -5
  617. package/dist/index99.js.map +1 -1
  618. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  export * from "./isMobileDevice";
2
2
  export * from "./useIsTouchDevice";
3
3
  export * from "./useMapsLibrary";
4
+ export * from "./useScrollPagination";
4
5
  export * from "./useScrollHideOnDown";
5
6
  export * from "./useUserScrollIntent";
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { type RefObject } from "react";
2
+ type MaybePromise<T> = T | Promise<T>;
3
+ type ReachCallback = () => MaybePromise<boolean | void>;
4
+ export type UseScrollPaginationOptions = {
5
+ containerRef: RefObject<HTMLElement | null>;
6
+ enabled?: boolean;
7
+ hasPreviousPage?: boolean;
8
+ hasNextPage?: boolean;
9
+ onStartReached?: ReachCallback;
10
+ onEndReached?: ReachCallback;
11
+ startReachedOffsetPx?: number;
12
+ endReachedOffsetPx?: number;
13
+ maintainScrollOnStartFetch?: boolean;
14
+ };
15
+ export type UseScrollPaginationResult = {
16
+ startSentinelRef: (node: Element | null) => void;
17
+ endSentinelRef: (node: Element | null) => void;
18
+ isFetchingPrevious: boolean;
19
+ isFetchingNext: boolean;
20
+ };
21
+ export declare function useScrollPagination({ containerRef, enabled, hasPreviousPage, hasNextPage, onStartReached, onEndReached, startReachedOffsetPx, endReachedOffsetPx, maintainScrollOnStartFetch, }: UseScrollPaginationOptions): UseScrollPaginationResult;
22
+ export {};
23
+ //# sourceMappingURL=useScrollPagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollPagination.d.ts","sourceRoot":"","sources":["../../src/helpers/useScrollPagination.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAGnE,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;AAErC,KAAK,aAAa,GAAG,MAAM,YAAY,CAAC,OAAO,GAAG,IAAI,CAAC,CAAA;AAEvD,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,cAAc,CAAC,EAAE,aAAa,CAAA;IAC9B,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,0BAA0B,CAAC,EAAE,OAAO,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAChD,cAAc,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,kBAAkB,EAAE,OAAO,CAAA;IAC3B,cAAc,EAAE,OAAO,CAAA;CACxB,CAAA;AAmBD,wBAAgB,mBAAmB,CAAC,EAClC,YAAY,EACZ,OAAc,EACd,eAAuB,EACvB,WAAmB,EACnB,cAAc,EACd,YAAY,EACZ,oBAA0B,EAC1B,kBAAwB,EACxB,0BAAiC,GAClC,EAAE,0BAA0B,GAAG,yBAAyB,CAoNxD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=useScrollPagination.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollPagination.test.d.ts","sourceRoot":"","sources":["../../src/helpers/useScrollPagination.test.tsx"],"names":[],"mappings":""}
package/dist/index.js CHANGED
@@ -2,70 +2,72 @@ import { cn as r } from "./index2.js";
2
2
  import { isMobileDevice as l } from "./index3.js";
3
3
  import { useIsTouchDevice as p } from "./index4.js";
4
4
  import { useMapsLibrary as c } from "./index5.js";
5
- import { useScrollHideOnDown as n } from "./index6.js";
6
- import { useUserScrollIntent as x } from "./index7.js";
7
- import { AddressAutocompleteInput as D } from "./index8.js";
8
- import { ApplePayButton as g } from "./index9.js";
9
- import { Checkbox as d } from "./index10.js";
10
- import { DayPicker as P, DayPickerField as F, DayPickerInput as k } from "./index11.js";
11
- import { Dialog as b, DialogClose as H, DialogContent as v, DialogDescription as B, DialogFooter as C, DialogHeader as N, DialogOverlay as T, DialogPortal as h, DialogTitle as w, DialogTrigger as A } from "./index12.js";
12
- import { Image as U } from "./index13.js";
13
- import { FilesUploadField as O } from "./index14.js";
14
- import { ImagesField as V } from "./index15.js";
15
- import { Input as q } from "./index16.js";
16
- import { I18nField as E, I18nFieldLocaleProvider as J } from "./index17.js";
17
- import { HourPickerField as Q, HourPickerInput as R } from "./index18.js";
18
- import { PhoneNumberInput as X } from "./index19.js";
19
- import { Select as Z, SelectContent as _, SelectGroup as $, SelectItem as ee, SelectLabel as oe, SelectScrollDownButton as re, SelectScrollUpButton as te, SelectSeparator as le, SelectTrigger as ie, SelectValue as pe } from "./index20.js";
20
- import { Header as ce } from "./index21.js";
21
- import { NotificationsButton as ne } from "./index22.js";
22
- import { NotificationsDrawer as xe } from "./index23.js";
23
- import { NotificationsSettings as De } from "./index24.js";
5
+ import { useScrollPagination as n } from "./index6.js";
6
+ import { useScrollHideOnDown as x } from "./index7.js";
7
+ import { useUserScrollIntent as s } from "./index8.js";
8
+ import { AddressAutocompleteInput as g } from "./index9.js";
9
+ import { ApplePayButton as d } from "./index10.js";
10
+ import { Checkbox as P } from "./index11.js";
11
+ import { DayPicker as k, DayPickerField as y, DayPickerInput as b } from "./index12.js";
12
+ import { Dialog as v, DialogClose as B, DialogContent as C, DialogDescription as N, DialogFooter as T, DialogHeader as h, DialogOverlay as w, DialogPortal as A, DialogTitle as L, DialogTrigger as U } from "./index13.js";
13
+ import { Image as O } from "./index14.js";
14
+ import { FilesUploadField as V } from "./index15.js";
15
+ import { ImagesField as q } from "./index16.js";
16
+ import { Input as E } from "./index17.js";
17
+ import { I18nField as K, I18nFieldLocaleProvider as Q } from "./index18.js";
18
+ import { HourPickerField as W, HourPickerInput as X } from "./index19.js";
19
+ import { PhoneNumberInput as Z } from "./index20.js";
20
+ import { Select as $, SelectContent as ee, SelectGroup as oe, SelectItem as re, SelectLabel as te, SelectScrollDownButton as le, SelectScrollUpButton as ie, SelectSeparator as pe, SelectTrigger as ae, SelectValue as ce } from "./index21.js";
21
+ import { Header as ne } from "./index22.js";
22
+ import { NotificationsButton as xe } from "./index23.js";
23
+ import { NotificationsDrawer as se } from "./index24.js";
24
+ import { NotificationsSettings as ge } from "./index25.js";
24
25
  export {
25
- D as AddressAutocompleteInput,
26
- g as ApplePayButton,
27
- d as Checkbox,
28
- P as DayPicker,
29
- F as DayPickerField,
30
- k as DayPickerInput,
31
- b as Dialog,
32
- H as DialogClose,
33
- v as DialogContent,
34
- B as DialogDescription,
35
- C as DialogFooter,
36
- N as DialogHeader,
37
- T as DialogOverlay,
38
- h as DialogPortal,
39
- w as DialogTitle,
40
- A as DialogTrigger,
41
- O as FilesUploadField,
42
- ce as Header,
43
- Q as HourPickerField,
44
- R as HourPickerInput,
45
- E as I18nField,
46
- J as I18nFieldLocaleProvider,
47
- U as Image,
48
- V as ImagesField,
49
- q as Input,
50
- ne as NotificationsButton,
51
- xe as NotificationsDrawer,
52
- De as NotificationsSettings,
53
- X as PhoneNumberInput,
54
- Z as Select,
55
- _ as SelectContent,
56
- $ as SelectGroup,
57
- ee as SelectItem,
58
- oe as SelectLabel,
59
- re as SelectScrollDownButton,
60
- te as SelectScrollUpButton,
61
- le as SelectSeparator,
62
- ie as SelectTrigger,
63
- pe as SelectValue,
26
+ g as AddressAutocompleteInput,
27
+ d as ApplePayButton,
28
+ P as Checkbox,
29
+ k as DayPicker,
30
+ y as DayPickerField,
31
+ b as DayPickerInput,
32
+ v as Dialog,
33
+ B as DialogClose,
34
+ C as DialogContent,
35
+ N as DialogDescription,
36
+ T as DialogFooter,
37
+ h as DialogHeader,
38
+ w as DialogOverlay,
39
+ A as DialogPortal,
40
+ L as DialogTitle,
41
+ U as DialogTrigger,
42
+ V as FilesUploadField,
43
+ ne as Header,
44
+ W as HourPickerField,
45
+ X as HourPickerInput,
46
+ K as I18nField,
47
+ Q as I18nFieldLocaleProvider,
48
+ O as Image,
49
+ q as ImagesField,
50
+ E as Input,
51
+ xe as NotificationsButton,
52
+ se as NotificationsDrawer,
53
+ ge as NotificationsSettings,
54
+ Z as PhoneNumberInput,
55
+ $ as Select,
56
+ ee as SelectContent,
57
+ oe as SelectGroup,
58
+ re as SelectItem,
59
+ te as SelectLabel,
60
+ le as SelectScrollDownButton,
61
+ ie as SelectScrollUpButton,
62
+ pe as SelectSeparator,
63
+ ae as SelectTrigger,
64
+ ce as SelectValue,
64
65
  r as cn,
65
66
  l as isMobileDevice,
66
67
  p as useIsTouchDevice,
67
68
  c as useMapsLibrary,
68
- n as useScrollHideOnDown,
69
- x as useUserScrollIntent
69
+ x as useScrollHideOnDown,
70
+ n as useScrollPagination,
71
+ s as useUserScrollIntent
70
72
  };
71
73
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index10.js CHANGED
@@ -1,73 +1,27 @@
1
- import { j as e } from "./index28.js";
2
- import { cn as p } from "./index2.js";
3
- const b = {
4
- red: "checked:border-red-700 checked:bg-red-700 indeterminate:border-red-700 indeterminate:bg-red-700 focus-visible:outline-red-700",
5
- sky: "checked:border-sky-600 checked:bg-sky-600 indeterminate:border-sky-600 indeterminate:bg-sky-600 focus-visible:outline-sky-600",
6
- primary: "checked:border-primary checked:bg-primary indeterminate:border-primary indeterminate:bg-primary focus-visible:outline-primary"
7
- }, u = ({
8
- id: r,
9
- name: s,
10
- defaultValue: i,
11
- defaultChecked: o,
12
- checked: t,
13
- onChange: a,
14
- color: c = "primary",
15
- className: d,
16
- ...n
17
- }) => {
18
- const l = b[c];
19
- return /* @__PURE__ */ e.jsx("div", { className: "flex h-6 shrink-0 items-center", children: /* @__PURE__ */ e.jsxs("div", { className: "group grid size-4 grid-cols-1", children: [
20
- /* @__PURE__ */ e.jsx(
21
- "input",
22
- {
23
- ...n,
24
- id: r,
25
- name: s,
26
- type: "checkbox",
27
- defaultValue: i,
28
- defaultChecked: o,
29
- checked: t,
30
- onChange: a,
31
- className: p(
32
- "col-start-1 row-start-1 appearance-none cursor-pointer rounded-sm border border-gray-300 bg-white focus-visible:outline-2 focus-visible:outline-offset-2 disabled:border-gray-300 disabled:bg-gray-100 disabled:checked:bg-gray-100 forced-colors:appearance-auto",
33
- l,
34
- d
35
- )
36
- }
1
+ import { j as c } from "./index29.js";
2
+ import { clsx as o } from "./index26.js";
3
+ const h = ({
4
+ className: e,
5
+ onClick: r,
6
+ children: t,
7
+ ...s
8
+ }) => /* @__PURE__ */ c.jsxs(
9
+ "button",
10
+ {
11
+ type: "button",
12
+ onClick: r,
13
+ className: o(
14
+ "flex w-full items-center justify-center rounded-md border border-transparent bg-black py-2 text-white hover:bg-gray-800 focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:outline-hidden",
15
+ e
37
16
  ),
38
- /* @__PURE__ */ e.jsxs(
39
- "svg",
40
- {
41
- fill: "none",
42
- viewBox: "0 0 14 14",
43
- className: "pointer-events-none col-start-1 row-start-1 size-3.5 self-center justify-self-center stroke-white group-has-disabled:stroke-gray-950/25",
44
- children: [
45
- /* @__PURE__ */ e.jsx(
46
- "path",
47
- {
48
- d: "M3 8L6 11L11 3.5",
49
- strokeWidth: 2,
50
- strokeLinecap: "round",
51
- strokeLinejoin: "round",
52
- className: "opacity-0 group-has-checked:opacity-100"
53
- }
54
- ),
55
- /* @__PURE__ */ e.jsx(
56
- "path",
57
- {
58
- d: "M3 7H11",
59
- strokeWidth: 2,
60
- strokeLinecap: "round",
61
- strokeLinejoin: "round",
62
- className: "opacity-0 group-has-indeterminate:opacity-100"
63
- }
64
- )
65
- ]
66
- }
67
- )
68
- ] }) });
69
- };
17
+ ...s,
18
+ children: [
19
+ t ?? /* @__PURE__ */ c.jsx("span", { className: "sr-only", children: "Pay with Apple Pay" }),
20
+ /* @__PURE__ */ c.jsx("svg", { fill: "currentColor", viewBox: "0 0 50 20", className: "h-5 w-auto", children: /* @__PURE__ */ c.jsx("path", { d: "M9.536 2.579c-.571.675-1.485 1.208-2.4 1.132-.113-.914.334-1.884.858-2.484C8.565.533 9.564.038 10.374 0c.095.951-.276 1.884-.838 2.579zm.829 1.313c-1.324-.077-2.457.751-3.085.751-.638 0-1.6-.713-2.647-.694-1.362.019-2.628.79-3.323 2.017-1.429 2.455-.372 6.09 1.009 8.087.676.99 1.485 2.075 2.552 2.036 1.009-.038 1.409-.656 2.628-.656 1.228 0 1.58.656 2.647.637 1.104-.019 1.8-.99 2.475-1.979.771-1.122 1.086-2.217 1.105-2.274-.02-.019-2.133-.828-2.152-3.263-.02-2.036 1.666-3.007 1.742-3.064-.952-1.408-2.437-1.56-2.951-1.598zm7.645-2.76v14.834h2.305v-5.072h3.19c2.913 0 4.96-1.998 4.96-4.89 0-2.893-2.01-4.872-4.885-4.872h-5.57zm2.305 1.941h2.656c2 0 3.142 1.066 3.142 2.94 0 1.875-1.142 2.95-3.151 2.95h-2.647v-5.89zM32.673 16.08c1.448 0 2.79-.733 3.4-1.893h.047v1.779h2.133V8.582c0-2.14-1.714-3.52-4.351-3.52-2.447 0-4.256 1.399-4.323 3.32h2.076c.171-.913 1.018-1.512 2.18-1.512 1.41 0 2.2.656 2.2 1.865v.818l-2.876.171c-2.675.162-4.123 1.256-4.123 3.159 0 1.922 1.495 3.197 3.637 3.197zm.62-1.76c-1.229 0-2.01-.59-2.01-1.494 0-.933.752-1.475 2.19-1.56l2.562-.162v.837c0 1.39-1.181 2.379-2.743 2.379zM41.1 20c2.247 0 3.304-.856 4.227-3.454l4.047-11.341h-2.342l-2.714 8.763h-.047l-2.714-8.763h-2.409l3.904 10.799-.21.656c-.352 1.114-.923 1.542-1.942 1.542-.18 0-.533-.02-.676-.038v1.779c.133.038.705.057.876.057z" }) })
21
+ ]
22
+ }
23
+ );
70
24
  export {
71
- u as Checkbox
25
+ h as ApplePayButton
72
26
  };
73
27
  //# sourceMappingURL=index10.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index10.js","sources":["../src/components/Checkbox/index.tsx"],"sourcesContent":["import React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\n\nconst colorVariants = {\n red: \"checked:border-red-700 checked:bg-red-700 indeterminate:border-red-700 indeterminate:bg-red-700 focus-visible:outline-red-700\",\n sky: \"checked:border-sky-600 checked:bg-sky-600 indeterminate:border-sky-600 indeterminate:bg-sky-600 focus-visible:outline-sky-600\",\n primary:\n \"checked:border-primary checked:bg-primary indeterminate:border-primary indeterminate:bg-primary focus-visible:outline-primary\",\n}\n\ninterface CheckboxProps\n extends Partial<Omit<React.InputHTMLAttributes<HTMLInputElement>, \"type\">> {\n id: string;\n name: string;\n checked: boolean;\n onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;\n color?: keyof typeof colorVariants;\n};\n\nexport const Checkbox = ({\n id,\n name,\n defaultValue,\n defaultChecked,\n checked,\n onChange,\n color = \"primary\",\n className,\n ...props\n}: CheckboxProps) => {\n\n const colorClasses = colorVariants[color]\n\n return (\n <div className=\"flex h-6 shrink-0 items-center\">\n <div className=\"group grid size-4 grid-cols-1\">\n <input\n {...props}\n id={id}\n name={name}\n type=\"checkbox\"\n defaultValue={defaultValue}\n defaultChecked={defaultChecked}\n checked={checked}\n onChange={onChange}\n className={cn(\n \"col-start-1 row-start-1 appearance-none cursor-pointer rounded-sm border border-gray-300 bg-white focus-visible:outline-2 focus-visible:outline-offset-2 disabled:border-gray-300 disabled:bg-gray-100 disabled:checked:bg-gray-100 forced-colors:appearance-auto\",\n colorClasses,\n className,\n )}\n />\n <svg\n fill=\"none\"\n viewBox=\"0 0 14 14\"\n className=\"pointer-events-none col-start-1 row-start-1 size-3.5 self-center justify-self-center stroke-white group-has-disabled:stroke-gray-950/25\"\n >\n <path\n d=\"M3 8L6 11L11 3.5\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"opacity-0 group-has-checked:opacity-100\"\n />\n <path\n d=\"M3 7H11\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"opacity-0 group-has-indeterminate:opacity-100\"\n />\n </svg>\n </div>\n </div>\n )\n}\n"],"names":["colorVariants","Checkbox","id","name","defaultValue","defaultChecked","checked","onChange","color","className","props","colorClasses","jsxs","jsx","cn"],"mappings":";;AAKA,MAAMA,IAAgB;AAAA,EACpB,KAAK;AAAA,EACL,KAAK;AAAA,EACL,SACE;AACJ,GAWaC,IAAW,CAAC;AAAA,EACvB,IAAAC;AAAA,EACA,MAAAC;AAAA,EACA,cAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,WAAAC;AAAA,EACA,GAAGC;AACL,MAAqB;AAEnB,QAAMC,IAAeX,EAAcQ,CAAK;AAExC,+BACG,OAAA,EAAI,WAAU,kCACb,UAAAI,gBAAAA,EAAAA,KAAC,OAAA,EAAI,WAAU,iCACb,UAAA;AAAA,IAAAC,gBAAAA,EAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAGH;AAAA,QACJ,IAAAR;AAAA,QACA,MAAAC;AAAA,QACA,MAAK;AAAA,QACL,cAAAC;AAAA,QACA,gBAAAC;AAAA,QACA,SAAAC;AAAA,QACA,UAAAC;AAAA,QACA,WAAWO;AAAA,UACT;AAAA,UACAH;AAAA,UACAF;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,IAEFG,gBAAAA,EAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,SAAQ;AAAA,QACR,WAAU;AAAA,QAEV,UAAA;AAAA,UAAAC,gBAAAA,EAAAA;AAAAA,YAAC;AAAA,YAAA;AAAA,cACC,GAAE;AAAA,cACF,aAAa;AAAA,cACb,eAAc;AAAA,cACd,gBAAe;AAAA,cACf,WAAU;AAAA,YAAA;AAAA,UAAA;AAAA,UAEZA,gBAAAA,EAAAA;AAAAA,YAAC;AAAA,YAAA;AAAA,cACC,GAAE;AAAA,cACF,aAAa;AAAA,cACb,eAAc;AAAA,cACd,gBAAe;AAAA,cACf,WAAU;AAAA,YAAA;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,EAAA,CACF,EAAA,CACF;AAEJ;"}
1
+ {"version":3,"file":"index10.js","sources":["../src/components/ApplePayButton/index.tsx"],"sourcesContent":["import type { ComponentPropsWithoutRef } from \"react\"\nimport clsx from \"clsx\"\n\n\ntype ApplePayButtonProps = ComponentPropsWithoutRef<\"button\">\n\n\nexport const ApplePayButton = ({\n className,\n onClick,\n children,\n ...buttonProps\n}: ApplePayButtonProps) => {\n return (\n <button\n type=\"button\"\n onClick={onClick}\n className={clsx(\n \"flex w-full items-center justify-center rounded-md border border-transparent bg-black py-2 text-white hover:bg-gray-800 focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:outline-hidden\",\n className,\n )}\n {...buttonProps}\n >\n {children ?? <span className=\"sr-only\">Pay with Apple Pay</span>}\n <svg fill=\"currentColor\" viewBox=\"0 0 50 20\" className=\"h-5 w-auto\">\n <path d=\"M9.536 2.579c-.571.675-1.485 1.208-2.4 1.132-.113-.914.334-1.884.858-2.484C8.565.533 9.564.038 10.374 0c.095.951-.276 1.884-.838 2.579zm.829 1.313c-1.324-.077-2.457.751-3.085.751-.638 0-1.6-.713-2.647-.694-1.362.019-2.628.79-3.323 2.017-1.429 2.455-.372 6.09 1.009 8.087.676.99 1.485 2.075 2.552 2.036 1.009-.038 1.409-.656 2.628-.656 1.228 0 1.58.656 2.647.637 1.104-.019 1.8-.99 2.475-1.979.771-1.122 1.086-2.217 1.105-2.274-.02-.019-2.133-.828-2.152-3.263-.02-2.036 1.666-3.007 1.742-3.064-.952-1.408-2.437-1.56-2.951-1.598zm7.645-2.76v14.834h2.305v-5.072h3.19c2.913 0 4.96-1.998 4.96-4.89 0-2.893-2.01-4.872-4.885-4.872h-5.57zm2.305 1.941h2.656c2 0 3.142 1.066 3.142 2.94 0 1.875-1.142 2.95-3.151 2.95h-2.647v-5.89zM32.673 16.08c1.448 0 2.79-.733 3.4-1.893h.047v1.779h2.133V8.582c0-2.14-1.714-3.52-4.351-3.52-2.447 0-4.256 1.399-4.323 3.32h2.076c.171-.913 1.018-1.512 2.18-1.512 1.41 0 2.2.656 2.2 1.865v.818l-2.876.171c-2.675.162-4.123 1.256-4.123 3.159 0 1.922 1.495 3.197 3.637 3.197zm.62-1.76c-1.229 0-2.01-.59-2.01-1.494 0-.933.752-1.475 2.19-1.56l2.562-.162v.837c0 1.39-1.181 2.379-2.743 2.379zM41.1 20c2.247 0 3.304-.856 4.227-3.454l4.047-11.341h-2.342l-2.714 8.763h-.047l-2.714-8.763h-2.409l3.904 10.799-.21.656c-.352 1.114-.923 1.542-1.942 1.542-.18 0-.533-.02-.676-.038v1.779c.133.038.705.057.876.057z\" />\n </svg>\n </button>\n )\n}\n"],"names":["ApplePayButton","className","onClick","children","buttonProps","jsxs","clsx","jsx"],"mappings":";;AAOO,MAAMA,IAAiB,CAAC;AAAA,EAC7B,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,MAEIC,gBAAAA,EAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,SAAAH;AAAA,IACA,WAAWI;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,IAEH,UAAA;AAAA,MAAAD,KAAYI,gBAAAA,EAAAA,IAAC,QAAA,EAAK,WAAU,WAAU,UAAA,sBAAkB;AAAA,MACzDA,gBAAAA,EAAAA,IAAC,OAAA,EAAI,MAAK,gBAAe,SAAQ,aAAY,WAAU,cACrD,UAAAA,gBAAAA,EAAAA,IAAC,QAAA,EAAK,GAAE,syCAAA,CAAsyC,EAAA,CAChzC;AAAA,IAAA;AAAA,EAAA;AAAA;"}
package/dist/index100.js CHANGED
@@ -1,8 +1,9 @@
1
- import t from "react";
2
- function a(e) {
3
- return t.createElement("th", { ...e });
1
+ import r from "react";
2
+ function c(e) {
3
+ const { week: o, ...t } = e;
4
+ return r.createElement("th", { ...t });
4
5
  }
5
6
  export {
6
- a as WeekNumberHeader
7
+ c as WeekNumber
7
8
  };
8
9
  //# sourceMappingURL=index100.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index100.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the header cell for the week numbers column.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumberHeader(props) {\n return React.createElement(\"th\", { ...props });\n}\n"],"names":["WeekNumberHeader","props","React"],"mappings":";AAOO,SAASA,EAAiBC,GAAO;AACpC,SAAOC,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AACjD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index100.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/WeekNumber.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table cell displaying the number of the week.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumber(props) {\n const { week, ...thProps } = props;\n return React.createElement(\"th\", { ...thProps });\n}\n"],"names":["WeekNumber","props","week","thProps","React"],"mappings":";AAOO,SAASA,EAAWC,GAAO;AAC9B,QAAM,EAAE,MAAAC,GAAM,GAAGC,EAAO,IAAKF;AAC7B,SAAOG,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAO,CAAE;AACnD;","x_google_ignoreList":[0]}
package/dist/index101.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import t from "react";
2
- function o(e) {
3
- return t.createElement("tbody", { ...e });
2
+ function a(e) {
3
+ return t.createElement("th", { ...e });
4
4
  }
5
5
  export {
6
- o as Weeks
6
+ a as WeekNumberHeader
7
7
  };
8
8
  //# sourceMappingURL=index101.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index101.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weeks.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the container for the weeks in the month grid.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weeks(props) {\n return React.createElement(\"tbody\", { ...props });\n}\n"],"names":["Weeks","props","React"],"mappings":";AAOO,SAASA,EAAMC,GAAO;AACzB,SAAOC,EAAM,cAAc,SAAS,EAAE,GAAGD,EAAK,CAAE;AACpD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index101.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the header cell for the week numbers column.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumberHeader(props) {\n return React.createElement(\"th\", { ...props });\n}\n"],"names":["WeekNumberHeader","props","React"],"mappings":";AAOO,SAASA,EAAiBC,GAAO;AACpC,SAAOC,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AACjD;","x_google_ignoreList":[0]}
package/dist/index102.js CHANGED
@@ -1,10 +1,8 @@
1
- import r from "react";
2
- import { useDayPicker as t } from "./index119.js";
3
- function m(o) {
4
- const { components: e } = t();
5
- return r.createElement(e.Dropdown, { ...o });
1
+ import t from "react";
2
+ function o(e) {
3
+ return t.createElement("tbody", { ...e });
6
4
  }
7
5
  export {
8
- m as YearsDropdown
6
+ o as Weeks
9
7
  };
10
8
  //# sourceMappingURL=index102.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index102.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/YearsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between years in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function YearsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n"],"names":["YearsDropdown","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAcC,GAAO;AACjC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,UAAU,EAAE,GAAGD,GAAO;AAChE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index102.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weeks.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the container for the weeks in the month grid.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weeks(props) {\n return React.createElement(\"tbody\", { ...props });\n}\n"],"names":["Weeks","props","React"],"mappings":";AAOO,SAASA,EAAMC,GAAO;AACzB,SAAOC,EAAM,cAAc,SAAS,EAAE,GAAGD,EAAK,CAAE;AACpD;","x_google_ignoreList":[0]}
package/dist/index103.js CHANGED
@@ -1,149 +1,10 @@
1
- import { TZDate as a } from "./index178.js";
2
- import "./index179.js";
3
- import { endOfBroadcastWeek as f } from "./index180.js";
4
- import { startOfBroadcastWeek as d } from "./index181.js";
5
- import { enUS as m } from "./index126.js";
6
- import { addDays as v } from "./index182.js";
7
- import { addMonths as p } from "./index183.js";
8
- import { addWeeks as O } from "./index184.js";
9
- import { addYears as c } from "./index185.js";
10
- import { differenceInCalendarDays as u } from "./index186.js";
11
- import { differenceInCalendarMonths as l } from "./index187.js";
12
- import { eachMonthOfInterval as M } from "./index188.js";
13
- import { eachYearOfInterval as k } from "./index189.js";
14
- import { endOfISOWeek as W } from "./index190.js";
15
- import { endOfMonth as D } from "./index191.js";
16
- import { endOfWeek as Y } from "./index192.js";
17
- import { endOfYear as S } from "./index193.js";
18
- import { getISOWeek as y } from "./index194.js";
19
- import { getMonth as g } from "./index195.js";
20
- import { getYear as I } from "./index196.js";
21
- import { getWeek as w } from "./index197.js";
22
- import { isAfter as B } from "./index198.js";
23
- import { isBefore as L } from "./index199.js";
24
- import { isDate as C } from "./index200.js";
25
- import { isSameDay as z } from "./index201.js";
26
- import { isSameMonth as Z } from "./index202.js";
27
- import { isSameYear as b } from "./index203.js";
28
- import { max as A } from "./index204.js";
29
- import { min as F } from "./index205.js";
30
- import { setMonth as N } from "./index206.js";
31
- import { setYear as _ } from "./index207.js";
32
- import { startOfDay as j } from "./index208.js";
33
- import { startOfISOWeek as x } from "./index209.js";
34
- import { startOfMonth as H } from "./index210.js";
35
- import { startOfWeek as K } from "./index211.js";
36
- import { startOfYear as T } from "./index212.js";
37
- import { formatDate as U } from "./index213.js";
38
- class n {
39
- /**
40
- * Creates an instance of `DateLib`.
41
- *
42
- * @param options Configuration options for the date library.
43
- * @param overrides Custom overrides for the date library functions.
44
- */
45
- constructor(t, i) {
46
- this.Date = Date, this.today = () => this.overrides?.today ? this.overrides.today() : this.options.timeZone ? a.tz(this.options.timeZone) : new this.Date(), this.newDate = (r, e, s) => this.overrides?.newDate ? this.overrides.newDate(r, e, s) : this.options.timeZone ? new a(r, e, s, this.options.timeZone) : new Date(r, e, s), this.addDays = (r, e) => this.overrides?.addDays ? this.overrides.addDays(r, e) : v(r, e), this.addMonths = (r, e) => this.overrides?.addMonths ? this.overrides.addMonths(r, e) : p(r, e), this.addWeeks = (r, e) => this.overrides?.addWeeks ? this.overrides.addWeeks(r, e) : O(r, e), this.addYears = (r, e) => this.overrides?.addYears ? this.overrides.addYears(r, e) : c(r, e), this.differenceInCalendarDays = (r, e) => this.overrides?.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, e) : u(r, e), this.differenceInCalendarMonths = (r, e) => this.overrides?.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, e) : l(r, e), this.eachMonthOfInterval = (r) => this.overrides?.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : M(r), this.eachYearOfInterval = (r) => {
47
- const e = this.overrides?.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : k(r), s = new Set(e.map((h) => this.getYear(h)));
48
- if (s.size === e.length)
49
- return e;
50
- const o = [];
51
- return s.forEach((h) => {
52
- o.push(new Date(h, 0, 1));
53
- }), o;
54
- }, this.endOfBroadcastWeek = (r) => this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : f(r, this), this.endOfISOWeek = (r) => this.overrides?.endOfISOWeek ? this.overrides.endOfISOWeek(r) : W(r), this.endOfMonth = (r) => this.overrides?.endOfMonth ? this.overrides.endOfMonth(r) : D(r), this.endOfWeek = (r, e) => this.overrides?.endOfWeek ? this.overrides.endOfWeek(r, e) : Y(r, this.options), this.endOfYear = (r) => this.overrides?.endOfYear ? this.overrides.endOfYear(r) : S(r), this.format = (r, e, s) => {
55
- const o = this.overrides?.format ? this.overrides.format(r, e, this.options) : U(r, e, this.options);
56
- return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(o) : o;
57
- }, this.getISOWeek = (r) => this.overrides?.getISOWeek ? this.overrides.getISOWeek(r) : y(r), this.getMonth = (r, e) => this.overrides?.getMonth ? this.overrides.getMonth(r, this.options) : g(r, this.options), this.getYear = (r, e) => this.overrides?.getYear ? this.overrides.getYear(r, this.options) : I(r, this.options), this.getWeek = (r, e) => this.overrides?.getWeek ? this.overrides.getWeek(r, this.options) : w(r, this.options), this.isAfter = (r, e) => this.overrides?.isAfter ? this.overrides.isAfter(r, e) : B(r, e), this.isBefore = (r, e) => this.overrides?.isBefore ? this.overrides.isBefore(r, e) : L(r, e), this.isDate = (r) => this.overrides?.isDate ? this.overrides.isDate(r) : C(r), this.isSameDay = (r, e) => this.overrides?.isSameDay ? this.overrides.isSameDay(r, e) : z(r, e), this.isSameMonth = (r, e) => this.overrides?.isSameMonth ? this.overrides.isSameMonth(r, e) : Z(r, e), this.isSameYear = (r, e) => this.overrides?.isSameYear ? this.overrides.isSameYear(r, e) : b(r, e), this.max = (r) => this.overrides?.max ? this.overrides.max(r) : A(r), this.min = (r) => this.overrides?.min ? this.overrides.min(r) : F(r), this.setMonth = (r, e) => this.overrides?.setMonth ? this.overrides.setMonth(r, e) : N(r, e), this.setYear = (r, e) => this.overrides?.setYear ? this.overrides.setYear(r, e) : _(r, e), this.startOfBroadcastWeek = (r, e) => this.overrides?.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : d(r, this), this.startOfDay = (r) => this.overrides?.startOfDay ? this.overrides.startOfDay(r) : j(r), this.startOfISOWeek = (r) => this.overrides?.startOfISOWeek ? this.overrides.startOfISOWeek(r) : x(r), this.startOfMonth = (r) => this.overrides?.startOfMonth ? this.overrides.startOfMonth(r) : H(r), this.startOfWeek = (r, e) => this.overrides?.startOfWeek ? this.overrides.startOfWeek(r, this.options) : K(r, this.options), this.startOfYear = (r) => this.overrides?.startOfYear ? this.overrides.startOfYear(r) : T(r), this.options = { locale: m, ...t }, this.overrides = i;
58
- }
59
- /**
60
- * Generates a mapping of Arabic digits (0-9) to the target numbering system
61
- * digits.
62
- *
63
- * @since 9.5.0
64
- * @returns A record mapping Arabic digits to the target numerals.
65
- */
66
- getDigitMap() {
67
- const { numerals: t = "latn" } = this.options, i = new Intl.NumberFormat("en-US", {
68
- numberingSystem: t
69
- }), r = {};
70
- for (let e = 0; e < 10; e++)
71
- r[e.toString()] = i.format(e);
72
- return r;
73
- }
74
- /**
75
- * Replaces Arabic digits in a string with the target numbering system digits.
76
- *
77
- * @since 9.5.0
78
- * @param input The string containing Arabic digits.
79
- * @returns The string with digits replaced.
80
- */
81
- replaceDigits(t) {
82
- const i = this.getDigitMap();
83
- return t.replace(/\d/g, (r) => i[r] || r);
84
- }
85
- /**
86
- * Formats a number using the configured numbering system.
87
- *
88
- * @since 9.5.0
89
- * @param value The number to format.
90
- * @returns The formatted number as a string.
91
- */
92
- formatNumber(t) {
93
- return this.replaceDigits(t.toString());
94
- }
95
- /**
96
- * Returns the preferred ordering for month and year labels for the current
97
- * locale.
98
- */
99
- getMonthYearOrder() {
100
- const t = this.options.locale?.code;
101
- return t && n.yearFirstLocales.has(t) ? "year-first" : "month-first";
102
- }
103
- /**
104
- * Formats the month/year pair respecting locale conventions.
105
- *
106
- * @since 9.11.0
107
- */
108
- formatMonthYear(t) {
109
- const { locale: i, timeZone: r, numerals: e } = this.options, s = i?.code;
110
- if (s && n.yearFirstLocales.has(s))
111
- try {
112
- return new Intl.DateTimeFormat(s, {
113
- month: "long",
114
- year: "numeric",
115
- timeZone: r,
116
- numberingSystem: e
117
- }).format(t);
118
- } catch {
119
- }
120
- const o = this.getMonthYearOrder() === "year-first" ? "y LLLL" : "LLLL y";
121
- return this.format(t, o);
122
- }
1
+ import r from "react";
2
+ import { useDayPicker as t } from "./index120.js";
3
+ function m(o) {
4
+ const { components: e } = t();
5
+ return r.createElement(e.Dropdown, { ...o });
123
6
  }
124
- n.yearFirstLocales = /* @__PURE__ */ new Set([
125
- "eu",
126
- "hu",
127
- "ja",
128
- "ja-Hira",
129
- "ja-JP",
130
- "ko",
131
- "ko-KR",
132
- "lt",
133
- "lt-LT",
134
- "lv",
135
- "lv-LV",
136
- "mn",
137
- "mn-MN",
138
- "zh",
139
- "zh-CN",
140
- "zh-HK",
141
- "zh-TW"
142
- ]);
143
- const Br = new n();
144
7
  export {
145
- n as DateLib,
146
- Br as defaultDateLib,
147
- m as defaultLocale
8
+ m as YearsDropdown
148
9
  };
149
10
  //# sourceMappingURL=index103.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index103.js","sources":["../../../node_modules/react-day-picker/dist/esm/classes/DateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { addDays, addMonths, addWeeks, addYears, differenceInCalendarDays, differenceInCalendarMonths, eachMonthOfInterval, eachYearOfInterval, endOfISOWeek, endOfMonth, endOfWeek, endOfYear, format, getISOWeek, getMonth, getWeek, getYear, isAfter, isBefore, isDate, isSameDay, isSameMonth, isSameYear, max, min, setMonth, setYear, startOfDay, startOfISOWeek, startOfMonth, startOfWeek, startOfYear, } from \"date-fns\";\nimport { endOfBroadcastWeek } from \"../helpers/endOfBroadcastWeek.js\";\nimport { startOfBroadcastWeek } from \"../helpers/startOfBroadcastWeek.js\";\nimport { enUS } from \"../locale/en-US.js\";\n/**\n * A wrapper class around [date-fns](http://date-fns.org) that provides utility\n * methods for date manipulation and formatting.\n *\n * @since 9.2.0\n * @example\n * const dateLib = new DateLib({ locale: es });\n * const newDate = dateLib.addDays(new Date(), 5);\n */\nexport class DateLib {\n /**\n * Creates an instance of `DateLib`.\n *\n * @param options Configuration options for the date library.\n * @param overrides Custom overrides for the date library functions.\n */\n constructor(options, overrides) {\n /**\n * Reference to the built-in Date constructor.\n *\n * @deprecated Use `newDate()` or `today()`.\n */\n this.Date = Date;\n /**\n * Creates a new `Date` object representing today's date.\n *\n * @since 9.5.0\n * @returns A `Date` object for today's date.\n */\n this.today = () => {\n if (this.overrides?.today) {\n return this.overrides.today();\n }\n if (this.options.timeZone) {\n return TZDate.tz(this.options.timeZone);\n }\n return new this.Date();\n };\n /**\n * Creates a new `Date` object with the specified year, month, and day.\n *\n * @since 9.5.0\n * @param year The year.\n * @param monthIndex The month (0-11).\n * @param date The day of the month.\n * @returns A new `Date` object.\n */\n this.newDate = (year, monthIndex, date) => {\n if (this.overrides?.newDate) {\n return this.overrides.newDate(year, monthIndex, date);\n }\n if (this.options.timeZone) {\n return new TZDate(year, monthIndex, date, this.options.timeZone);\n }\n return new Date(year, monthIndex, date);\n };\n /**\n * Adds the specified number of days to the given date.\n *\n * @param date The date to add days to.\n * @param amount The number of days to add.\n * @returns The new date with the days added.\n */\n this.addDays = (date, amount) => {\n return this.overrides?.addDays\n ? this.overrides.addDays(date, amount)\n : addDays(date, amount);\n };\n /**\n * Adds the specified number of months to the given date.\n *\n * @param date The date to add months to.\n * @param amount The number of months to add.\n * @returns The new date with the months added.\n */\n this.addMonths = (date, amount) => {\n return this.overrides?.addMonths\n ? this.overrides.addMonths(date, amount)\n : addMonths(date, amount);\n };\n /**\n * Adds the specified number of weeks to the given date.\n *\n * @param date The date to add weeks to.\n * @param amount The number of weeks to add.\n * @returns The new date with the weeks added.\n */\n this.addWeeks = (date, amount) => {\n return this.overrides?.addWeeks\n ? this.overrides.addWeeks(date, amount)\n : addWeeks(date, amount);\n };\n /**\n * Adds the specified number of years to the given date.\n *\n * @param date The date to add years to.\n * @param amount The number of years to add.\n * @returns The new date with the years added.\n */\n this.addYears = (date, amount) => {\n return this.overrides?.addYears\n ? this.overrides.addYears(date, amount)\n : addYears(date, amount);\n };\n /**\n * Returns the number of calendar days between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar days between the dates.\n */\n this.differenceInCalendarDays = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarDays\n ? this.overrides.differenceInCalendarDays(dateLeft, dateRight)\n : differenceInCalendarDays(dateLeft, dateRight);\n };\n /**\n * Returns the number of calendar months between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar months between the dates.\n */\n this.differenceInCalendarMonths = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarMonths\n ? this.overrides.differenceInCalendarMonths(dateLeft, dateRight)\n : differenceInCalendarMonths(dateLeft, dateRight);\n };\n /**\n * Returns the months between the given dates.\n *\n * @param interval The interval to get the months for.\n */\n this.eachMonthOfInterval = (interval) => {\n return this.overrides?.eachMonthOfInterval\n ? this.overrides.eachMonthOfInterval(interval)\n : eachMonthOfInterval(interval);\n };\n /**\n * Returns the years between the given dates.\n *\n * @since 9.11.1\n * @param interval The interval to get the years for.\n * @returns The array of years in the interval.\n */\n this.eachYearOfInterval = (interval) => {\n const years = this.overrides?.eachYearOfInterval\n ? this.overrides.eachYearOfInterval(interval)\n : eachYearOfInterval(interval);\n // Remove duplicates that may happen across DST transitions (e.g., \"America/Sao_Paulo\")\n // See https://github.com/date-fns/tz/issues/72\n const uniqueYears = new Set(years.map((d) => this.getYear(d)));\n if (uniqueYears.size === years.length) {\n // No duplicates, return as is\n return years;\n }\n // Rebuild the array to ensure one date per year\n const yearsArray = [];\n uniqueYears.forEach((y) => {\n yearsArray.push(new Date(y, 0, 1));\n });\n return yearsArray;\n };\n /**\n * Returns the end of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The end of the broadcast week.\n */\n this.endOfBroadcastWeek = (date) => {\n return this.overrides?.endOfBroadcastWeek\n ? this.overrides.endOfBroadcastWeek(date)\n : endOfBroadcastWeek(date, this);\n };\n /**\n * Returns the end of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The end of the ISO week.\n */\n this.endOfISOWeek = (date) => {\n return this.overrides?.endOfISOWeek\n ? this.overrides.endOfISOWeek(date)\n : endOfISOWeek(date);\n };\n /**\n * Returns the end of the month for the given date.\n *\n * @param date The original date.\n * @returns The end of the month.\n */\n this.endOfMonth = (date) => {\n return this.overrides?.endOfMonth\n ? this.overrides.endOfMonth(date)\n : endOfMonth(date);\n };\n /**\n * Returns the end of the week for the given date.\n *\n * @param date The original date.\n * @returns The end of the week.\n */\n this.endOfWeek = (date, options) => {\n return this.overrides?.endOfWeek\n ? this.overrides.endOfWeek(date, options)\n : endOfWeek(date, this.options);\n };\n /**\n * Returns the end of the year for the given date.\n *\n * @param date The original date.\n * @returns The end of the year.\n */\n this.endOfYear = (date) => {\n return this.overrides?.endOfYear\n ? this.overrides.endOfYear(date)\n : endOfYear(date);\n };\n /**\n * Formats the given date using the specified format string.\n *\n * @param date The date to format.\n * @param formatStr The format string.\n * @returns The formatted date string.\n */\n this.format = (date, formatStr, _options) => {\n const formatted = this.overrides?.format\n ? this.overrides.format(date, formatStr, this.options)\n : format(date, formatStr, this.options);\n if (this.options.numerals && this.options.numerals !== \"latn\") {\n return this.replaceDigits(formatted);\n }\n return formatted;\n };\n /**\n * Returns the ISO week number for the given date.\n *\n * @param date The date to get the ISO week number for.\n * @returns The ISO week number.\n */\n this.getISOWeek = (date) => {\n return this.overrides?.getISOWeek\n ? this.overrides.getISOWeek(date)\n : getISOWeek(date);\n };\n /**\n * Returns the month of the given date.\n *\n * @param date The date to get the month for.\n * @returns The month.\n */\n this.getMonth = (date, _options) => {\n return this.overrides?.getMonth\n ? this.overrides.getMonth(date, this.options)\n : getMonth(date, this.options);\n };\n /**\n * Returns the year of the given date.\n *\n * @param date The date to get the year for.\n * @returns The year.\n */\n this.getYear = (date, _options) => {\n return this.overrides?.getYear\n ? this.overrides.getYear(date, this.options)\n : getYear(date, this.options);\n };\n /**\n * Returns the local week number for the given date.\n *\n * @param date The date to get the week number for.\n * @returns The week number.\n */\n this.getWeek = (date, _options) => {\n return this.overrides?.getWeek\n ? this.overrides.getWeek(date, this.options)\n : getWeek(date, this.options);\n };\n /**\n * Checks if the first date is after the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is after the second date.\n */\n this.isAfter = (date, dateToCompare) => {\n return this.overrides?.isAfter\n ? this.overrides.isAfter(date, dateToCompare)\n : isAfter(date, dateToCompare);\n };\n /**\n * Checks if the first date is before the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is before the second date.\n */\n this.isBefore = (date, dateToCompare) => {\n return this.overrides?.isBefore\n ? this.overrides.isBefore(date, dateToCompare)\n : isBefore(date, dateToCompare);\n };\n /**\n * Checks if the given value is a Date object.\n *\n * @param value The value to check.\n * @returns True if the value is a Date object.\n */\n this.isDate = (value) => {\n return this.overrides?.isDate\n ? this.overrides.isDate(value)\n : isDate(value);\n };\n /**\n * Checks if the given dates are on the same day.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are on the same day.\n */\n this.isSameDay = (dateLeft, dateRight) => {\n return this.overrides?.isSameDay\n ? this.overrides.isSameDay(dateLeft, dateRight)\n : isSameDay(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same month.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same month.\n */\n this.isSameMonth = (dateLeft, dateRight) => {\n return this.overrides?.isSameMonth\n ? this.overrides.isSameMonth(dateLeft, dateRight)\n : isSameMonth(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same year.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same year.\n */\n this.isSameYear = (dateLeft, dateRight) => {\n return this.overrides?.isSameYear\n ? this.overrides.isSameYear(dateLeft, dateRight)\n : isSameYear(dateLeft, dateRight);\n };\n /**\n * Returns the latest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The latest date.\n */\n this.max = (dates) => {\n return this.overrides?.max ? this.overrides.max(dates) : max(dates);\n };\n /**\n * Returns the earliest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The earliest date.\n */\n this.min = (dates) => {\n return this.overrides?.min ? this.overrides.min(dates) : min(dates);\n };\n /**\n * Sets the month of the given date.\n *\n * @param date The date to set the month on.\n * @param month The month to set (0-11).\n * @returns The new date with the month set.\n */\n this.setMonth = (date, month) => {\n return this.overrides?.setMonth\n ? this.overrides.setMonth(date, month)\n : setMonth(date, month);\n };\n /**\n * Sets the year of the given date.\n *\n * @param date The date to set the year on.\n * @param year The year to set.\n * @returns The new date with the year set.\n */\n this.setYear = (date, year) => {\n return this.overrides?.setYear\n ? this.overrides.setYear(date, year)\n : setYear(date, year);\n };\n /**\n * Returns the start of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The start of the broadcast week.\n */\n this.startOfBroadcastWeek = (date, _dateLib) => {\n return this.overrides?.startOfBroadcastWeek\n ? this.overrides.startOfBroadcastWeek(date, this)\n : startOfBroadcastWeek(date, this);\n };\n /**\n * Returns the start of the day for the given date.\n *\n * @param date The original date.\n * @returns The start of the day.\n */\n this.startOfDay = (date) => {\n return this.overrides?.startOfDay\n ? this.overrides.startOfDay(date)\n : startOfDay(date);\n };\n /**\n * Returns the start of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The start of the ISO week.\n */\n this.startOfISOWeek = (date) => {\n return this.overrides?.startOfISOWeek\n ? this.overrides.startOfISOWeek(date)\n : startOfISOWeek(date);\n };\n /**\n * Returns the start of the month for the given date.\n *\n * @param date The original date.\n * @returns The start of the month.\n */\n this.startOfMonth = (date) => {\n return this.overrides?.startOfMonth\n ? this.overrides.startOfMonth(date)\n : startOfMonth(date);\n };\n /**\n * Returns the start of the week for the given date.\n *\n * @param date The original date.\n * @returns The start of the week.\n */\n this.startOfWeek = (date, _options) => {\n return this.overrides?.startOfWeek\n ? this.overrides.startOfWeek(date, this.options)\n : startOfWeek(date, this.options);\n };\n /**\n * Returns the start of the year for the given date.\n *\n * @param date The original date.\n * @returns The start of the year.\n */\n this.startOfYear = (date) => {\n return this.overrides?.startOfYear\n ? this.overrides.startOfYear(date)\n : startOfYear(date);\n };\n this.options = { locale: enUS, ...options };\n this.overrides = overrides;\n }\n /**\n * Generates a mapping of Arabic digits (0-9) to the target numbering system\n * digits.\n *\n * @since 9.5.0\n * @returns A record mapping Arabic digits to the target numerals.\n */\n getDigitMap() {\n const { numerals = \"latn\" } = this.options;\n // Use Intl.NumberFormat to create a formatter with the specified numbering system\n const formatter = new Intl.NumberFormat(\"en-US\", {\n numberingSystem: numerals,\n });\n // Map Arabic digits (0-9) to the target numerals\n const digitMap = {};\n for (let i = 0; i < 10; i++) {\n digitMap[i.toString()] = formatter.format(i);\n }\n return digitMap;\n }\n /**\n * Replaces Arabic digits in a string with the target numbering system digits.\n *\n * @since 9.5.0\n * @param input The string containing Arabic digits.\n * @returns The string with digits replaced.\n */\n replaceDigits(input) {\n const digitMap = this.getDigitMap();\n return input.replace(/\\d/g, (digit) => digitMap[digit] || digit);\n }\n /**\n * Formats a number using the configured numbering system.\n *\n * @since 9.5.0\n * @param value The number to format.\n * @returns The formatted number as a string.\n */\n formatNumber(value) {\n return this.replaceDigits(value.toString());\n }\n /**\n * Returns the preferred ordering for month and year labels for the current\n * locale.\n */\n getMonthYearOrder() {\n const code = this.options.locale?.code;\n if (!code) {\n return \"month-first\";\n }\n return DateLib.yearFirstLocales.has(code) ? \"year-first\" : \"month-first\";\n }\n /**\n * Formats the month/year pair respecting locale conventions.\n *\n * @since 9.11.0\n */\n formatMonthYear(date) {\n const { locale, timeZone, numerals } = this.options;\n const localeCode = locale?.code;\n if (localeCode && DateLib.yearFirstLocales.has(localeCode)) {\n try {\n const intl = new Intl.DateTimeFormat(localeCode, {\n month: \"long\",\n year: \"numeric\",\n timeZone,\n numberingSystem: numerals,\n });\n const formatted = intl.format(date);\n return formatted;\n }\n catch {\n // Fallback to date-fns formatting below.\n }\n }\n const pattern = this.getMonthYearOrder() === \"year-first\" ? \"y LLLL\" : \"LLLL y\";\n return this.format(date, pattern);\n }\n}\nDateLib.yearFirstLocales = new Set([\n \"eu\",\n \"hu\",\n \"ja\",\n \"ja-Hira\",\n \"ja-JP\",\n \"ko\",\n \"ko-KR\",\n \"lt\",\n \"lt-LT\",\n \"lv\",\n \"lv-LV\",\n \"mn\",\n \"mn-MN\",\n \"zh\",\n \"zh-CN\",\n \"zh-HK\",\n \"zh-TW\",\n]);\n/** The default locale (English). */\nexport { enUS as defaultLocale } from \"../locale/en-US.js\";\n/**\n * The default date library with English locale.\n *\n * @since 9.2.0\n */\nexport const defaultDateLib = new DateLib();\n/**\n * @ignore\n * @deprecated Use `defaultDateLib`.\n */\nexport const dateLib = defaultDateLib;\n"],"names":["DateLib","options","overrides","TZDate","year","monthIndex","date","amount","addDays","addMonths","addWeeks","addYears","dateLeft","dateRight","differenceInCalendarDays","differenceInCalendarMonths","interval","eachMonthOfInterval","years","eachYearOfInterval","uniqueYears","d","yearsArray","y","endOfBroadcastWeek","endOfISOWeek","endOfMonth","endOfWeek","endOfYear","formatStr","_options","formatted","format","getISOWeek","getMonth","getYear","getWeek","dateToCompare","isAfter","isBefore","value","isDate","isSameDay","isSameMonth","isSameYear","dates","max","min","month","setMonth","setYear","_dateLib","startOfBroadcastWeek","startOfDay","startOfISOWeek","startOfMonth","startOfWeek","startOfYear","enUS","numerals","formatter","digitMap","i","input","digit","code","locale","timeZone","localeCode","pattern","defaultDateLib"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index103.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/YearsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between years in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function YearsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n"],"names":["YearsDropdown","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAcC,GAAO;AACjC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,UAAU,EAAE,GAAGD,GAAO;AAChE;","x_google_ignoreList":[0]}