@rpcbase/ui 0.164.0 → 0.166.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 (690) hide show
  1. package/dist/index10.js +1 -1
  2. package/dist/index100.js +9 -24
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +42 -6
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +4 -4
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +52 -7
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +4 -5
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +3 -3
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +15 -5
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +5 -4
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +6 -7
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +16 -5
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index11.js +6 -15
  23. package/dist/index11.js.map +1 -1
  24. package/dist/index110.js +3 -3
  25. package/dist/index110.js.map +1 -1
  26. package/dist/index111.js +2 -2
  27. package/dist/index111.js.map +1 -1
  28. package/dist/index112.js +5 -6
  29. package/dist/index112.js.map +1 -1
  30. package/dist/index113.js +5 -145
  31. package/dist/index113.js.map +1 -1
  32. package/dist/index114.js +4 -39
  33. package/dist/index114.js.map +1 -1
  34. package/dist/index115.js +4 -4
  35. package/dist/index115.js.map +1 -1
  36. package/dist/index116.js +6 -7
  37. package/dist/index116.js.map +1 -1
  38. package/dist/index117.js +24 -13
  39. package/dist/index117.js.map +1 -1
  40. package/dist/index118.js +6 -13
  41. package/dist/index118.js.map +1 -1
  42. package/dist/index119.js +4 -7
  43. package/dist/index119.js.map +1 -1
  44. package/dist/index12.js +1 -1
  45. package/dist/index120.js +6 -31
  46. package/dist/index120.js.map +1 -1
  47. package/dist/index121.js +5 -10
  48. package/dist/index121.js.map +1 -1
  49. package/dist/index122.js +4 -10
  50. package/dist/index122.js.map +1 -1
  51. package/dist/index123.js +5 -8
  52. package/dist/index123.js.map +1 -1
  53. package/dist/index124.js +4 -13
  54. package/dist/index124.js.map +1 -1
  55. package/dist/index125.js +8 -101
  56. package/dist/index125.js.map +1 -1
  57. package/dist/index126.js +6 -20
  58. package/dist/index126.js.map +1 -1
  59. package/dist/index127.js +4 -53
  60. package/dist/index127.js.map +1 -1
  61. package/dist/index128.js +4 -72
  62. package/dist/index128.js.map +1 -1
  63. package/dist/index129.js +6 -9
  64. package/dist/index129.js.map +1 -1
  65. package/dist/index13.js +2 -2
  66. package/dist/index130.js +145 -20
  67. package/dist/index130.js.map +1 -1
  68. package/dist/index131.js +38 -15
  69. package/dist/index131.js.map +1 -1
  70. package/dist/index132.js +4 -23
  71. package/dist/index132.js.map +1 -1
  72. package/dist/index133.js +7 -6
  73. package/dist/index133.js.map +1 -1
  74. package/dist/index134.js +13 -5
  75. package/dist/index134.js.map +1 -1
  76. package/dist/index135.js +13 -23
  77. package/dist/index135.js.map +1 -1
  78. package/dist/index136.js +8 -35
  79. package/dist/index136.js.map +1 -1
  80. package/dist/index137.js +32 -16
  81. package/dist/index137.js.map +1 -1
  82. package/dist/index138.js +10 -6
  83. package/dist/index138.js.map +1 -1
  84. package/dist/index139.js +10 -4
  85. package/dist/index139.js.map +1 -1
  86. package/dist/index14.js +4 -4
  87. package/dist/index140.js +8 -4
  88. package/dist/index140.js.map +1 -1
  89. package/dist/index141.js +13 -4
  90. package/dist/index141.js.map +1 -1
  91. package/dist/index142.js +101 -4
  92. package/dist/index142.js.map +1 -1
  93. package/dist/index143.js +20 -4
  94. package/dist/index143.js.map +1 -1
  95. package/dist/index144.js +53 -6
  96. package/dist/index144.js.map +1 -1
  97. package/dist/index145.js +73 -24
  98. package/dist/index145.js.map +1 -1
  99. package/dist/index146.js +9 -7
  100. package/dist/index146.js.map +1 -1
  101. package/dist/index147.js +20 -6
  102. package/dist/index147.js.map +1 -1
  103. package/dist/index148.js +16 -5
  104. package/dist/index148.js.map +1 -1
  105. package/dist/index149.js +23 -3
  106. package/dist/index149.js.map +1 -1
  107. package/dist/index15.js +1 -1
  108. package/dist/index150.js +6 -3
  109. package/dist/index150.js.map +1 -1
  110. package/dist/index151.js +5 -4
  111. package/dist/index151.js.map +1 -1
  112. package/dist/index152.js +23 -3
  113. package/dist/index152.js.map +1 -1
  114. package/dist/index153.js +35 -5
  115. package/dist/index153.js.map +1 -1
  116. package/dist/index154.js +16 -4
  117. package/dist/index154.js.map +1 -1
  118. package/dist/index155.js +6 -3
  119. package/dist/index155.js.map +1 -1
  120. package/dist/index156.js +4 -3
  121. package/dist/index156.js.map +1 -1
  122. package/dist/index157.js +4 -3
  123. package/dist/index157.js.map +1 -1
  124. package/dist/index158.js +4 -33
  125. package/dist/index158.js.map +1 -1
  126. package/dist/index159.js +4 -249
  127. package/dist/index159.js.map +1 -1
  128. package/dist/index16.js +1 -1
  129. package/dist/index160.js +3 -114
  130. package/dist/index160.js.map +1 -1
  131. package/dist/index161.js +6 -219
  132. package/dist/index161.js.map +1 -1
  133. package/dist/index162.js +24 -67
  134. package/dist/index162.js.map +1 -1
  135. package/dist/index163.js +7 -20
  136. package/dist/index163.js.map +1 -1
  137. package/dist/index164.js +6 -209
  138. package/dist/index164.js.map +1 -1
  139. package/dist/index165.js +5 -319
  140. package/dist/index165.js.map +1 -1
  141. package/dist/index166.js +3 -130
  142. package/dist/index166.js.map +1 -1
  143. package/dist/index167.js +3 -20
  144. package/dist/index167.js.map +1 -1
  145. package/dist/index168.js +4 -75
  146. package/dist/index168.js.map +1 -1
  147. package/dist/index169.js +3 -18
  148. package/dist/index169.js.map +1 -1
  149. package/dist/index17.js +1 -1
  150. package/dist/index170.js +4 -101
  151. package/dist/index170.js.map +1 -1
  152. package/dist/index171.js +4 -5
  153. package/dist/index171.js.map +1 -1
  154. package/dist/index172.js +3 -14
  155. package/dist/index172.js.map +1 -1
  156. package/dist/index173.js +4 -2
  157. package/dist/index173.js.map +1 -1
  158. package/dist/index174.js +24 -7
  159. package/dist/index174.js.map +1 -1
  160. package/dist/index175.js +29 -327
  161. package/dist/index175.js.map +1 -1
  162. package/dist/index176.js +5 -50
  163. package/dist/index176.js.map +1 -1
  164. package/dist/index177.js +62 -41
  165. package/dist/index177.js.map +1 -1
  166. package/dist/index178.js +176 -42
  167. package/dist/index178.js.map +1 -1
  168. package/dist/index179.js +41 -200
  169. package/dist/index179.js.map +1 -1
  170. package/dist/index18.js +3 -12
  171. package/dist/index18.js.map +1 -1
  172. package/dist/index180.js +14 -22
  173. package/dist/index180.js.map +1 -1
  174. package/dist/index181.js +153 -23
  175. package/dist/index181.js.map +1 -1
  176. package/dist/index182.js +27 -396
  177. package/dist/index182.js.map +1 -1
  178. package/dist/index183.js +9 -3
  179. package/dist/index183.js.map +1 -1
  180. package/dist/index184.js +47 -5
  181. package/dist/index184.js.map +1 -1
  182. package/dist/index185.js +10 -67
  183. package/dist/index185.js.map +1 -1
  184. package/dist/index186.js +45 -2
  185. package/dist/index186.js.map +1 -1
  186. package/dist/index187.js +86 -354
  187. package/dist/index187.js.map +1 -1
  188. package/dist/index188.js +75 -250
  189. package/dist/index188.js.map +1 -1
  190. package/dist/index189.js +92 -47
  191. package/dist/index189.js.map +1 -1
  192. package/dist/index19.js +7 -7
  193. package/dist/index190.js +46 -40
  194. package/dist/index190.js.map +1 -1
  195. package/dist/index191.js +10 -168
  196. package/dist/index191.js.map +1 -1
  197. package/dist/index192.js +26 -98
  198. package/dist/index192.js.map +1 -1
  199. package/dist/index193.js +8 -24
  200. package/dist/index193.js.map +1 -1
  201. package/dist/index194.js +117 -8
  202. package/dist/index194.js.map +1 -1
  203. package/dist/index195.js +17 -4
  204. package/dist/index195.js.map +1 -1
  205. package/dist/index196.js +15 -5
  206. package/dist/index196.js.map +1 -1
  207. package/dist/index197.js +3 -4
  208. package/dist/index197.js.map +1 -1
  209. package/dist/index198.js +34 -464
  210. package/dist/index198.js.map +1 -1
  211. package/dist/index199.js +19 -184
  212. package/dist/index199.js.map +1 -1
  213. package/dist/index20.js +2 -2
  214. package/dist/index200.js +9 -107
  215. package/dist/index200.js.map +1 -1
  216. package/dist/index201.js +8 -262
  217. package/dist/index201.js.map +1 -1
  218. package/dist/index202.js +19 -9
  219. package/dist/index202.js.map +1 -1
  220. package/dist/index203.js +27 -41
  221. package/dist/index203.js.map +1 -1
  222. package/dist/index204.js +16 -4
  223. package/dist/index204.js.map +1 -1
  224. package/dist/index205.js +59 -2
  225. package/dist/index205.js.map +1 -1
  226. package/dist/index206.js +8 -67
  227. package/dist/index206.js.map +1 -1
  228. package/dist/index207.js +66 -84
  229. package/dist/index207.js.map +1 -1
  230. package/dist/index208.js +18 -45
  231. package/dist/index208.js.map +1 -1
  232. package/dist/index209.js +16 -7
  233. package/dist/index209.js.map +1 -1
  234. package/dist/index21.js +1 -1
  235. package/dist/index210.js +5 -4
  236. package/dist/index210.js.map +1 -1
  237. package/dist/index211.js +4 -50
  238. package/dist/index211.js.map +1 -1
  239. package/dist/index212.js +6 -67
  240. package/dist/index212.js.map +1 -1
  241. package/dist/index213.js +4 -180
  242. package/dist/index213.js.map +1 -1
  243. package/dist/index214.js +7 -46
  244. package/dist/index214.js.map +1 -1
  245. package/dist/index215.js +17 -58
  246. package/dist/index215.js.map +1 -1
  247. package/dist/index216.js +5 -8
  248. package/dist/index216.js.map +1 -1
  249. package/dist/index217.js +5 -66
  250. package/dist/index217.js.map +1 -1
  251. package/dist/index218.js +13 -19
  252. package/dist/index218.js.map +1 -1
  253. package/dist/index219.js +10 -16
  254. package/dist/index219.js.map +1 -1
  255. package/dist/index22.js +1 -1
  256. package/dist/index220.js +14 -5
  257. package/dist/index220.js.map +1 -1
  258. package/dist/index221.js +14 -5
  259. package/dist/index221.js.map +1 -1
  260. package/dist/index222.js +5 -6
  261. package/dist/index222.js.map +1 -1
  262. package/dist/index223.js +6 -4
  263. package/dist/index223.js.map +1 -1
  264. package/dist/index224.js +7 -7
  265. package/dist/index224.js.map +1 -1
  266. package/dist/index225.js +6 -17
  267. package/dist/index225.js.map +1 -1
  268. package/dist/index226.js +9 -5
  269. package/dist/index226.js.map +1 -1
  270. package/dist/index227.js +5 -5
  271. package/dist/index227.js.map +1 -1
  272. package/dist/index228.js +5 -13
  273. package/dist/index228.js.map +1 -1
  274. package/dist/index229.js +9 -10
  275. package/dist/index229.js.map +1 -1
  276. package/dist/index23.js +2 -2
  277. package/dist/index230.js +5 -14
  278. package/dist/index230.js.map +1 -1
  279. package/dist/index231.js +4 -13
  280. package/dist/index231.js.map +1 -1
  281. package/dist/index232.js +4 -5
  282. package/dist/index232.js.map +1 -1
  283. package/dist/index233.js +10 -5
  284. package/dist/index233.js.map +1 -1
  285. package/dist/index234.js +10 -7
  286. package/dist/index234.js.map +1 -1
  287. package/dist/index235.js +10 -6
  288. package/dist/index235.js.map +1 -1
  289. package/dist/index236.js +11 -9
  290. package/dist/index236.js.map +1 -1
  291. package/dist/index237.js +11 -5
  292. package/dist/index237.js.map +1 -1
  293. package/dist/index238.js +10 -5
  294. package/dist/index238.js.map +1 -1
  295. package/dist/index239.js +7 -9
  296. package/dist/index239.js.map +1 -1
  297. package/dist/index24.js +1 -1
  298. package/dist/index240.js +6 -5
  299. package/dist/index240.js.map +1 -1
  300. package/dist/index241.js +4 -4
  301. package/dist/index241.js.map +1 -1
  302. package/dist/index242.js +6 -4
  303. package/dist/index242.js.map +1 -1
  304. package/dist/index243.js +7 -11
  305. package/dist/index243.js.map +1 -1
  306. package/dist/index244.js +6 -10
  307. package/dist/index244.js.map +1 -1
  308. package/dist/index245.js +55 -10
  309. package/dist/index245.js.map +1 -1
  310. package/dist/index246.js +23 -11
  311. package/dist/index246.js.map +1 -1
  312. package/dist/index247.js +16 -11
  313. package/dist/index247.js.map +1 -1
  314. package/dist/index248.js +7 -10
  315. package/dist/index248.js.map +1 -1
  316. package/dist/index249.js +10 -7
  317. package/dist/index249.js.map +1 -1
  318. package/dist/index250.js +10 -6
  319. package/dist/index250.js.map +1 -1
  320. package/dist/index251.js +21 -5
  321. package/dist/index251.js.map +1 -1
  322. package/dist/index252.js +10 -6
  323. package/dist/index252.js.map +1 -1
  324. package/dist/index253.js +9 -7
  325. package/dist/index253.js.map +1 -1
  326. package/dist/index254.js +9 -6
  327. package/dist/index254.js.map +1 -1
  328. package/dist/index255.js +4 -55
  329. package/dist/index255.js.map +1 -1
  330. package/dist/index256.js +5 -23
  331. package/dist/index256.js.map +1 -1
  332. package/dist/index257.js +15 -15
  333. package/dist/index257.js.map +1 -1
  334. package/dist/index258.js +9 -7
  335. package/dist/index258.js.map +1 -1
  336. package/dist/index259.js +18 -10
  337. package/dist/index259.js.map +1 -1
  338. package/dist/index260.js +15 -10
  339. package/dist/index260.js.map +1 -1
  340. package/dist/index261.js +12 -21
  341. package/dist/index261.js.map +1 -1
  342. package/dist/index262.js +29 -10
  343. package/dist/index262.js.map +1 -1
  344. package/dist/index263.js +12 -9
  345. package/dist/index263.js.map +1 -1
  346. package/dist/index264.js +25 -9
  347. package/dist/index264.js.map +1 -1
  348. package/dist/index265.js +5 -4
  349. package/dist/index265.js.map +1 -1
  350. package/dist/index266.js +5 -6
  351. package/dist/index266.js.map +1 -1
  352. package/dist/index267.js +3 -17
  353. package/dist/index267.js.map +1 -1
  354. package/dist/index268.js +23 -9
  355. package/dist/index268.js.map +1 -1
  356. package/dist/index269.js +112 -18
  357. package/dist/index269.js.map +1 -1
  358. package/dist/index27.js +37 -3
  359. package/dist/index27.js.map +1 -1
  360. package/dist/index270.js +15 -15
  361. package/dist/index270.js.map +1 -1
  362. package/dist/index271.js +522 -10
  363. package/dist/index271.js.map +1 -1
  364. package/dist/index272.js +126 -28
  365. package/dist/index272.js.map +1 -1
  366. package/dist/index273.js +132 -11
  367. package/dist/index273.js.map +1 -1
  368. package/dist/index274.js +20 -25
  369. package/dist/index274.js.map +1 -1
  370. package/dist/index275.js +4 -5
  371. package/dist/index275.js.map +1 -1
  372. package/dist/index276.js +18 -64
  373. package/dist/index276.js.map +1 -1
  374. package/dist/index277.js +12 -48
  375. package/dist/index277.js.map +1 -1
  376. package/dist/index278.js +62 -33
  377. package/dist/index278.js.map +1 -1
  378. package/dist/index279.js +9 -101
  379. package/dist/index279.js.map +1 -1
  380. package/dist/index28.js +3 -125
  381. package/dist/index28.js.map +1 -1
  382. package/dist/index280.js +11 -95
  383. package/dist/index280.js.map +1 -1
  384. package/dist/index281.js +65 -99
  385. package/dist/index281.js.map +1 -1
  386. package/dist/index282.js +62 -22
  387. package/dist/index282.js.map +1 -1
  388. package/dist/index283.js +6 -29
  389. package/dist/index283.js.map +1 -1
  390. package/dist/index284.js +6 -5
  391. package/dist/index284.js.map +1 -1
  392. package/dist/index285.js +4 -2
  393. package/dist/index285.js.map +1 -1
  394. package/dist/index286.js +16 -2
  395. package/dist/index286.js.map +1 -1
  396. package/dist/index287.js +8 -13
  397. package/dist/index287.js.map +1 -1
  398. package/dist/index288.js +5 -154
  399. package/dist/index288.js.map +1 -1
  400. package/dist/index289.js +4 -30
  401. package/dist/index289.js.map +1 -1
  402. package/dist/index29.js +124 -47
  403. package/dist/index29.js.map +1 -1
  404. package/dist/index290.js +545 -9
  405. package/dist/index290.js.map +1 -1
  406. package/dist/index291.js +44 -45
  407. package/dist/index291.js.map +1 -1
  408. package/dist/index292.js +16 -10
  409. package/dist/index292.js.map +1 -1
  410. package/dist/index293.js +6 -44
  411. package/dist/index293.js.map +1 -1
  412. package/dist/index294.js +8 -95
  413. package/dist/index294.js.map +1 -1
  414. package/dist/index295.js +7 -86
  415. package/dist/index295.js.map +1 -1
  416. package/dist/index296.js +8 -105
  417. package/dist/index296.js.map +1 -1
  418. package/dist/index297.js +12 -52
  419. package/dist/index297.js.map +1 -1
  420. package/dist/index298.js +9 -11
  421. package/dist/index298.js.map +1 -1
  422. package/dist/index299.js +13 -37
  423. package/dist/index299.js.map +1 -1
  424. package/dist/index30.js +230 -218
  425. package/dist/index30.js.map +1 -1
  426. package/dist/index300.js +3 -8
  427. package/dist/index300.js.map +1 -1
  428. package/dist/index301.js +20 -114
  429. package/dist/index301.js.map +1 -1
  430. package/dist/index302.js +4 -17
  431. package/dist/index302.js.map +1 -1
  432. package/dist/index303.js +55 -15
  433. package/dist/index303.js.map +1 -1
  434. package/dist/index304.js +68 -4
  435. package/dist/index304.js.map +1 -1
  436. package/dist/index305.js +31 -37
  437. package/dist/index305.js.map +1 -1
  438. package/dist/index306.js +9 -21
  439. package/dist/index306.js.map +1 -1
  440. package/dist/index307.js +153 -10
  441. package/dist/index307.js.map +1 -1
  442. package/dist/index308.js +107 -8
  443. package/dist/index308.js.map +1 -1
  444. package/dist/index309.js +21 -18
  445. package/dist/index309.js.map +1 -1
  446. package/dist/index31.js +49 -42
  447. package/dist/index31.js.map +1 -1
  448. package/dist/index310.js +11 -27
  449. package/dist/index310.js.map +1 -1
  450. package/dist/index311.js +27 -16
  451. package/dist/index311.js.map +1 -1
  452. package/dist/index312.js +5 -5
  453. package/dist/index312.js.map +1 -1
  454. package/dist/index313.js +16 -19
  455. package/dist/index313.js.map +1 -1
  456. package/dist/index314.js +28 -12
  457. package/dist/index314.js.map +1 -1
  458. package/dist/index315.js +13 -5
  459. package/dist/index315.js.map +1 -1
  460. package/dist/index316.js +7 -3
  461. package/dist/index316.js.map +1 -1
  462. package/dist/index32.js +2638 -38
  463. package/dist/index32.js.map +1 -1
  464. package/dist/index33.js +390 -25
  465. package/dist/index33.js.map +1 -1
  466. package/dist/index34.js +230 -43
  467. package/dist/index34.js.map +1 -1
  468. package/dist/index35.js +20 -30
  469. package/dist/index35.js.map +1 -1
  470. package/dist/index36.js +137 -23
  471. package/dist/index36.js.map +1 -1
  472. package/dist/index37.js +187 -23
  473. package/dist/index37.js.map +1 -1
  474. package/dist/index38.js +75 -127
  475. package/dist/index38.js.map +1 -1
  476. package/dist/index39.js +87 -228
  477. package/dist/index39.js.map +1 -1
  478. package/dist/index40.js +6 -51
  479. package/dist/index40.js.map +1 -1
  480. package/dist/index41.js +804 -2601
  481. package/dist/index41.js.map +1 -1
  482. package/dist/index42.js +63 -391
  483. package/dist/index42.js.map +1 -1
  484. package/dist/index43.js +7 -232
  485. package/dist/index43.js.map +1 -1
  486. package/dist/index44.js +2 -22
  487. package/dist/index44.js.map +1 -1
  488. package/dist/index45.js +21 -139
  489. package/dist/index45.js.map +1 -1
  490. package/dist/index46.js +230 -183
  491. package/dist/index46.js.map +1 -1
  492. package/dist/index47.js +202 -74
  493. package/dist/index47.js.map +1 -1
  494. package/dist/index48.js +3 -90
  495. package/dist/index48.js.map +1 -1
  496. package/dist/index49.js +6 -5
  497. package/dist/index49.js.map +1 -1
  498. package/dist/index5.js +1 -1
  499. package/dist/index50.js +41 -837
  500. package/dist/index50.js.map +1 -1
  501. package/dist/index51.js +26 -65
  502. package/dist/index51.js.map +1 -1
  503. package/dist/index52.js +48 -34
  504. package/dist/index52.js.map +1 -1
  505. package/dist/index53.js +7 -7
  506. package/dist/index53.js.map +1 -1
  507. package/dist/index54.js +15 -2
  508. package/dist/index54.js.map +1 -1
  509. package/dist/index55.js +132 -22
  510. package/dist/index55.js.map +1 -1
  511. package/dist/index56.js +10 -233
  512. package/dist/index56.js.map +1 -1
  513. package/dist/index57.js +203 -191
  514. package/dist/index57.js.map +1 -1
  515. package/dist/index58.js +13 -7
  516. package/dist/index58.js.map +1 -1
  517. package/dist/index59.js +2 -2
  518. package/dist/index60.js +44 -24
  519. package/dist/index60.js.map +1 -1
  520. package/dist/index62.js +49 -11
  521. package/dist/index62.js.map +1 -1
  522. package/dist/index63.js +4 -4
  523. package/dist/index63.js.map +1 -1
  524. package/dist/index64.js +5 -47
  525. package/dist/index64.js.map +1 -1
  526. package/dist/index65.js +27 -50
  527. package/dist/index65.js.map +1 -1
  528. package/dist/index66.js +50 -8
  529. package/dist/index66.js.map +1 -1
  530. package/dist/index67.js +8 -14
  531. package/dist/index67.js.map +1 -1
  532. package/dist/index68.js +2 -134
  533. package/dist/index68.js.map +1 -1
  534. package/dist/index69.js +2 -11
  535. package/dist/index69.js.map +1 -1
  536. package/dist/index70.js +11 -216
  537. package/dist/index70.js.map +1 -1
  538. package/dist/index71.js +54 -13
  539. package/dist/index71.js.map +1 -1
  540. package/dist/index72.js +5 -46
  541. package/dist/index72.js.map +1 -1
  542. package/dist/index73.js +7 -49
  543. package/dist/index73.js.map +1 -1
  544. package/dist/index74.js +6 -4
  545. package/dist/index74.js.map +1 -1
  546. package/dist/index75.js +46 -5
  547. package/dist/index75.js.map +1 -1
  548. package/dist/index76.js +205 -27
  549. package/dist/index76.js.map +1 -1
  550. package/dist/index77.js +22 -50
  551. package/dist/index77.js.map +1 -1
  552. package/dist/index78.js +25 -9
  553. package/dist/index78.js.map +1 -1
  554. package/dist/index79.js +400 -2
  555. package/dist/index79.js.map +1 -1
  556. package/dist/index8.js +1 -1
  557. package/dist/index80.js +47 -2
  558. package/dist/index80.js.map +1 -1
  559. package/dist/index81.js +604 -52
  560. package/dist/index81.js.map +1 -1
  561. package/dist/index82.js +5 -5
  562. package/dist/index82.js.map +1 -1
  563. package/dist/index83.js +68 -7
  564. package/dist/index83.js.map +1 -1
  565. package/dist/index84.js +2 -6
  566. package/dist/index84.js.map +1 -1
  567. package/dist/index85.js +352 -594
  568. package/dist/index85.js.map +1 -1
  569. package/dist/index86.js +262 -52
  570. package/dist/index86.js.map +1 -1
  571. package/dist/index87.js +60 -4
  572. package/dist/index87.js.map +1 -1
  573. package/dist/index88.js +46 -4
  574. package/dist/index88.js.map +1 -1
  575. package/dist/index89.js +169 -15
  576. package/dist/index89.js.map +1 -1
  577. package/dist/index9.js +1 -1
  578. package/dist/index90.js +109 -5
  579. package/dist/index90.js.map +1 -1
  580. package/dist/index91.js +24 -7
  581. package/dist/index91.js.map +1 -1
  582. package/dist/index92.js +8 -17
  583. package/dist/index92.js.map +1 -1
  584. package/dist/index93.js +4 -4
  585. package/dist/index93.js.map +1 -1
  586. package/dist/index94.js +5 -4
  587. package/dist/index94.js.map +1 -1
  588. package/dist/index95.js +4 -5
  589. package/dist/index95.js.map +1 -1
  590. package/dist/index96.js +466 -5
  591. package/dist/index96.js.map +1 -1
  592. package/dist/index97.js +185 -4
  593. package/dist/index97.js.map +1 -1
  594. package/dist/index98.js +107 -4
  595. package/dist/index98.js.map +1 -1
  596. package/dist/index99.js +262 -6
  597. package/dist/index99.js.map +1 -1
  598. package/package.json +1 -1
  599. package/dist/index317.js +0 -27
  600. package/dist/index317.js.map +0 -1
  601. package/dist/index318.js +0 -116
  602. package/dist/index318.js.map +0 -1
  603. package/dist/index319.js +0 -19
  604. package/dist/index319.js.map +0 -1
  605. package/dist/index320.js +0 -528
  606. package/dist/index320.js.map +0 -1
  607. package/dist/index321.js +0 -131
  608. package/dist/index321.js.map +0 -1
  609. package/dist/index322.js +0 -137
  610. package/dist/index322.js.map +0 -1
  611. package/dist/index323.js +0 -24
  612. package/dist/index323.js.map +0 -1
  613. package/dist/index324.js +0 -9
  614. package/dist/index324.js.map +0 -1
  615. package/dist/index325.js +0 -9
  616. package/dist/index325.js.map +0 -1
  617. package/dist/index326.js +0 -7
  618. package/dist/index326.js.map +0 -1
  619. package/dist/index327.js +0 -19
  620. package/dist/index327.js.map +0 -1
  621. package/dist/index328.js +0 -12
  622. package/dist/index328.js.map +0 -1
  623. package/dist/index329.js +0 -9
  624. package/dist/index329.js.map +0 -1
  625. package/dist/index330.js +0 -8
  626. package/dist/index330.js.map +0 -1
  627. package/dist/index331.js +0 -549
  628. package/dist/index331.js.map +0 -1
  629. package/dist/index332.js +0 -50
  630. package/dist/index332.js.map +0 -1
  631. package/dist/index333.js +0 -21
  632. package/dist/index333.js.map +0 -1
  633. package/dist/index334.js +0 -10
  634. package/dist/index334.js.map +0 -1
  635. package/dist/index335.js +0 -12
  636. package/dist/index335.js.map +0 -1
  637. package/dist/index336.js +0 -11
  638. package/dist/index336.js.map +0 -1
  639. package/dist/index337.js +0 -12
  640. package/dist/index337.js.map +0 -1
  641. package/dist/index338.js +0 -16
  642. package/dist/index338.js.map +0 -1
  643. package/dist/index339.js +0 -13
  644. package/dist/index339.js.map +0 -1
  645. package/dist/index340.js +0 -17
  646. package/dist/index340.js.map +0 -1
  647. package/dist/index341.js +0 -68
  648. package/dist/index341.js.map +0 -1
  649. package/dist/index342.js +0 -72
  650. package/dist/index342.js.map +0 -1
  651. package/dist/index343.js +0 -12
  652. package/dist/index343.js.map +0 -1
  653. package/dist/index344.js +0 -17
  654. package/dist/index344.js.map +0 -1
  655. package/dist/index345.js +0 -69
  656. package/dist/index345.js.map +0 -1
  657. package/dist/index346.js +0 -71
  658. package/dist/index346.js.map +0 -1
  659. package/dist/index347.js +0 -34
  660. package/dist/index347.js.map +0 -1
  661. package/dist/index348.js +0 -12
  662. package/dist/index348.js.map +0 -1
  663. package/dist/index349.js +0 -156
  664. package/dist/index349.js.map +0 -1
  665. package/dist/index350.js +0 -111
  666. package/dist/index350.js.map +0 -1
  667. package/dist/index351.js +0 -8
  668. package/dist/index351.js.map +0 -1
  669. package/dist/index352.js +0 -59
  670. package/dist/index352.js.map +0 -1
  671. package/dist/index353.js +0 -7
  672. package/dist/index353.js.map +0 -1
  673. package/dist/index354.js +0 -26
  674. package/dist/index354.js.map +0 -1
  675. package/dist/index355.js +0 -19
  676. package/dist/index355.js.map +0 -1
  677. package/dist/index356.js +0 -32
  678. package/dist/index356.js.map +0 -1
  679. package/dist/index357.js +0 -16
  680. package/dist/index357.js.map +0 -1
  681. package/dist/index358.js +0 -10
  682. package/dist/index358.js.map +0 -1
  683. package/dist/index359.js +0 -26
  684. package/dist/index359.js.map +0 -1
  685. package/dist/index360.js +0 -16
  686. package/dist/index360.js.map +0 -1
  687. package/dist/index361.js +0 -31
  688. package/dist/index361.js.map +0 -1
  689. package/dist/index362.js +0 -8
  690. package/dist/index362.js.map +0 -1
package/dist/index39.js CHANGED
@@ -1,235 +1,94 @@
1
- import l, { useMemo as T, useCallback as h, useRef as Re } from "react";
2
- import { DateLib as Ze } from "./index113.js";
3
- import { createGetModifiers as Ie } from "./index114.js";
4
- import { getClassNamesForModifiers as Ge } from "./index115.js";
5
- import { getComponents as He } from "./index116.js";
6
- import { getDataAttributes as _e } from "./index117.js";
7
- import { getDefaultClassNames as Ue } from "./index118.js";
8
- import { getFormatters as je } from "./index119.js";
9
- import { getLabels as Ve } from "./index120.js";
10
- import { getMonthOptions as $e } from "./index121.js";
11
- import { getStyleForModifiers as qe } from "./index122.js";
12
- import { getWeekdays as ze } from "./index123.js";
13
- import { getYearOptions as Je } from "./index124.js";
14
- import { createNoonOverrides as Qe } from "./index125.js";
15
- import { UI as n, DayFlag as Xe, SelectionState as w } from "./index126.js";
16
- import { useAnimation as et } from "./index127.js";
17
- import { useCalendar as tt } from "./index128.js";
18
- import { dayPickerContext as at } from "./index129.js";
19
- import { useFocus as ot } from "./index130.js";
20
- import { useSelection as nt } from "./index131.js";
21
- import { convertMatchersToTimeZone as K } from "./index132.js";
22
- import { rangeIncludesDate as st } from "./index133.js";
23
- import { toTimeZone as k } from "./index134.js";
24
- import { isDateRange as rt } from "./index135.js";
25
- import { enUS as it } from "./index136.js";
26
- function Yt(R) {
27
- let e = R;
28
- const u = e.timeZone;
29
- if (u && (e = {
30
- ...R,
31
- timeZone: u
32
- }, e.today && (e.today = k(e.today, u)), e.month && (e.month = k(e.month, u)), e.defaultMonth && (e.defaultMonth = k(e.defaultMonth, u)), e.startMonth && (e.startMonth = k(e.startMonth, u)), e.endMonth && (e.endMonth = k(e.endMonth, u)), e.mode === "single" && e.selected ? e.selected = k(e.selected, u) : e.mode === "multiple" && e.selected ? e.selected = e.selected?.map((o) => k(o, u)) : e.mode === "range" && e.selected && (e.selected = {
33
- from: e.selected.from ? k(e.selected.from, u) : e.selected.from,
34
- to: e.selected.to ? k(e.selected.to, u) : e.selected.to
35
- }), e.disabled !== void 0 && (e.disabled = K(e.disabled, u)), e.hidden !== void 0 && (e.hidden = K(e.hidden, u)), e.modifiers)) {
36
- const o = {};
37
- Object.keys(e.modifiers).forEach((i) => {
38
- o[i] = K(e.modifiers?.[i], u);
39
- }), e.modifiers = o;
40
- }
41
- const { components: m, formatters: v, labels: Z, dateLib: a, locale: se, classNames: d } = T(() => {
42
- const o = { ...it, ...e.locale }, i = e.broadcastCalendar ? 1 : e.weekStartsOn, t = e.noonSafe && e.timeZone ? Qe(e.timeZone, {
43
- weekStartsOn: i,
44
- locale: o
45
- }) : void 0, r = e.dateLib && t ? { ...t, ...e.dateLib } : e.dateLib ?? t, f = new Ze({
46
- locale: o,
47
- weekStartsOn: i,
48
- firstWeekContainsDate: e.firstWeekContainsDate,
49
- useAdditionalWeekYearTokens: e.useAdditionalWeekYearTokens,
50
- useAdditionalDayOfYearTokens: e.useAdditionalDayOfYearTokens,
51
- timeZone: e.timeZone,
52
- numerals: e.numerals
53
- }, r);
54
- return {
55
- dateLib: f,
56
- components: He(e.components),
57
- formatters: je(e.formatters),
58
- labels: Ve(e.labels, f.options),
59
- locale: o,
60
- classNames: { ...Ue(), ...e.classNames }
61
- };
62
- }, [
63
- e.locale,
64
- e.broadcastCalendar,
65
- e.weekStartsOn,
66
- e.firstWeekContainsDate,
67
- e.useAdditionalWeekYearTokens,
68
- e.useAdditionalDayOfYearTokens,
69
- e.timeZone,
70
- e.numerals,
71
- e.dateLib,
72
- e.noonSafe,
73
- e.components,
74
- e.formatters,
75
- e.labels,
76
- e.classNames
77
- ]);
78
- e.today || (e = { ...e, today: a.today() });
79
- const { captionLayout: N, mode: C, navLayout: D, numberOfMonths: I = 1, onDayBlur: G, onDayClick: W, onDayFocus: H, onDayKeyDown: _, onDayMouseEnter: U, onDayMouseLeave: j, onNextClick: V, onPrevClick: $, showWeekNumber: q, styles: c } = e, { formatCaption: z, formatDay: J, formatMonthDropdown: re, formatWeekNumber: ie, formatWeekNumberHeader: de, formatWeekdayName: le, formatYearDropdown: me } = v, Q = tt(e, a), { days: ce, months: E, navStart: B, navEnd: O, previousMonth: p, nextMonth: b, goToMonth: y } = Q, S = Ie(ce, e, B, O, a), { isSelected: x, select: L, selected: g } = nt(e, a) ?? {}, { blur: X, focused: ee, isFocusTarget: ue, moveFocus: te, setFocused: M } = ot(e, Q, S, x ?? (() => !1), a), { labelDayButton: fe, labelGridcell: pe, labelGrid: be, labelMonthDropdown: he, labelNav: ae, labelPrevious: ye, labelNext: ke, labelWeekday: Ne, labelWeekNumber: ve, labelWeekNumberHeader: De, labelYearDropdown: ge } = Z, Me = T(() => ze(a, e.ISOWeek, e.broadcastCalendar, e.today), [a, e.ISOWeek, e.broadcastCalendar, e.today]), oe = C !== void 0 || W !== void 0, Y = h(() => {
80
- p && (y(p), $?.(p));
81
- }, [p, y, $]), P = h(() => {
82
- b && (y(b), V?.(b));
83
- }, [y, b, V]), we = h((o, i) => (t) => {
84
- t.preventDefault(), t.stopPropagation(), M(o), !i.disabled && (L?.(o.date, i, t), W?.(o.date, i, t));
85
- }, [L, W, M]), Ce = h((o, i) => (t) => {
86
- M(o), H?.(o.date, i, t);
87
- }, [H, M]), We = h((o, i) => (t) => {
88
- X(), G?.(o.date, i, t);
89
- }, [X, G]), Ee = h((o, i) => (t) => {
90
- const r = {
91
- ArrowLeft: [
92
- t.shiftKey ? "month" : "day",
93
- e.dir === "rtl" ? "after" : "before"
94
- ],
95
- ArrowRight: [
96
- t.shiftKey ? "month" : "day",
97
- e.dir === "rtl" ? "before" : "after"
98
- ],
99
- ArrowDown: [t.shiftKey ? "year" : "week", "after"],
100
- ArrowUp: [t.shiftKey ? "year" : "week", "before"],
101
- PageUp: [t.shiftKey ? "year" : "month", "before"],
102
- PageDown: [t.shiftKey ? "year" : "month", "after"],
103
- Home: ["startOfWeek", "before"],
104
- End: ["endOfWeek", "after"]
105
- };
106
- if (r[t.key]) {
107
- t.preventDefault(), t.stopPropagation();
108
- const [f, s] = r[t.key];
109
- te(f, s);
110
- }
111
- _?.(o.date, i, t);
112
- }, [te, _, e.dir]), Be = h((o, i) => (t) => {
113
- U?.(o.date, i, t);
114
- }, [U]), Oe = h((o, i) => (t) => {
115
- j?.(o.date, i, t);
116
- }, [j]), Se = h((o) => (i) => {
117
- const t = Number(i.target.value), r = a.setMonth(a.startOfMonth(o), t);
118
- y(r);
119
- }, [a, y]), xe = h((o) => (i) => {
120
- const t = Number(i.target.value), r = a.setYear(a.startOfMonth(o), t);
121
- y(r);
122
- }, [a, y]), { className: Le, style: Ye } = T(() => ({
123
- className: [d[n.Root], e.className].filter(Boolean).join(" "),
124
- style: { ...c?.[n.Root], ...e.style }
125
- }), [d, e.className, e.style, c]), Pe = _e(e), ne = Re(null);
126
- et(ne, !!e.animate, {
127
- classNames: d,
128
- months: E,
129
- focused: ee,
130
- dateLib: a
131
- });
132
- const Fe = {
133
- dayPickerProps: e,
134
- selected: g,
135
- select: L,
136
- isSelected: x,
137
- months: E,
138
- nextMonth: b,
139
- previousMonth: p,
140
- goToMonth: y,
141
- getModifiers: S,
142
- components: m,
143
- classNames: d,
144
- styles: c,
145
- labels: Z,
146
- formatters: v
1
+ import { j as o } from "./index28.js";
2
+ import * as a from "react";
3
+ import { cn as C } from "./index2.js";
4
+ const S = a.createContext(null), M = (e) => {
5
+ const n = a.useContext(S), c = n?.highlightedValue === e.data.value, { onMouseMove: f, className: m, ...g } = e.innerProps, h = n?.renderOptionLabel ?? ((t) => y(t)), l = a.useRef(null), { innerRef: r } = e, p = a.useCallback(
6
+ (t) => {
7
+ l.current = t, typeof r == "function" ? r(t) : r && typeof r == "object" && (r.current = t);
8
+ },
9
+ [r]
10
+ );
11
+ a.useEffect(() => {
12
+ if (!c)
13
+ return;
14
+ const t = n?.consumeScrollBehavior, v = t ? t() : "smooth", s = l.current;
15
+ if (!s)
16
+ return;
17
+ const i = s.parentElement;
18
+ if (!i)
19
+ return;
20
+ const u = s.offsetTop, b = u + s.offsetHeight, d = i.scrollTop, j = d + i.clientHeight;
21
+ u >= d && b <= j || s.scrollIntoView({
22
+ block: "nearest",
23
+ behavior: v
24
+ });
25
+ }, [n, c]);
26
+ const x = (t) => {
27
+ f?.(t), n?.setHighlightedOption(e.data);
147
28
  };
148
- return l.createElement(
149
- at.Provider,
150
- { value: Fe },
151
- l.createElement(
152
- m.Root,
153
- { rootRef: e.animate ? ne : void 0, className: Le, style: Ye, dir: e.dir, id: e.id, lang: e.lang, nonce: e.nonce, title: e.title, role: e.role, "aria-label": e["aria-label"], "aria-labelledby": e["aria-labelledby"], ...Pe },
154
- l.createElement(
155
- m.Months,
156
- { className: d[n.Months], style: c?.[n.Months] },
157
- !e.hideNavigation && !D && l.createElement(m.Nav, { "data-animated-nav": e.animate ? "true" : void 0, className: d[n.Nav], style: c?.[n.Nav], "aria-label": ae(), onPreviousClick: Y, onNextClick: P, previousMonth: p, nextMonth: b }),
158
- E.map((o, i) => l.createElement(
159
- m.Month,
160
- {
161
- "data-animated-month": e.animate ? "true" : void 0,
162
- className: d[n.Month],
163
- style: c?.[n.Month],
164
- // biome-ignore lint/suspicious/noArrayIndexKey: breaks animation
165
- key: i,
166
- displayIndex: i,
167
- calendarMonth: o
168
- },
169
- D === "around" && !e.hideNavigation && i === 0 && l.createElement(
170
- m.PreviousMonthButton,
171
- { type: "button", className: d[n.PreviousMonthButton], tabIndex: p ? void 0 : -1, "aria-disabled": p ? void 0 : !0, "aria-label": ye(p), onClick: Y, "data-animated-button": e.animate ? "true" : void 0 },
172
- l.createElement(m.Chevron, { disabled: p ? void 0 : !0, className: d[n.Chevron], orientation: e.dir === "rtl" ? "right" : "left" })
173
- ),
174
- l.createElement(m.MonthCaption, { "data-animated-caption": e.animate ? "true" : void 0, className: d[n.MonthCaption], style: c?.[n.MonthCaption], calendarMonth: o, displayIndex: i }, N?.startsWith("dropdown") ? l.createElement(
175
- m.DropdownNav,
176
- { className: d[n.Dropdowns], style: c?.[n.Dropdowns] },
177
- (() => {
178
- const t = N === "dropdown" || N === "dropdown-months" ? l.createElement(m.MonthsDropdown, { key: "month", className: d[n.MonthsDropdown], "aria-label": he(), classNames: d, components: m, disabled: !!e.disableNavigation, onChange: Se(o.date), options: $e(o.date, B, O, v, a), style: c?.[n.Dropdown], value: a.getMonth(o.date) }) : l.createElement("span", { key: "month" }, re(o.date, a)), r = N === "dropdown" || N === "dropdown-years" ? l.createElement(m.YearsDropdown, { key: "year", className: d[n.YearsDropdown], "aria-label": ge(a.options), classNames: d, components: m, disabled: !!e.disableNavigation, onChange: xe(o.date), options: Je(B, O, v, a, !!e.reverseYears), style: c?.[n.Dropdown], value: a.getYear(o.date) }) : l.createElement("span", { key: "year" }, me(o.date, a));
179
- return a.getMonthYearOrder() === "year-first" ? [r, t] : [t, r];
180
- })(),
181
- l.createElement("span", { role: "status", "aria-live": "polite", style: {
182
- border: 0,
183
- clip: "rect(0 0 0 0)",
184
- height: "1px",
185
- margin: "-1px",
186
- overflow: "hidden",
187
- padding: 0,
188
- position: "absolute",
189
- width: "1px",
190
- whiteSpace: "nowrap",
191
- wordWrap: "normal"
192
- } }, z(o.date, a.options, a))
193
- ) : l.createElement(m.CaptionLabel, { className: d[n.CaptionLabel], role: "status", "aria-live": "polite" }, z(o.date, a.options, a))),
194
- D === "around" && !e.hideNavigation && i === I - 1 && l.createElement(
195
- m.NextMonthButton,
196
- { type: "button", className: d[n.NextMonthButton], tabIndex: b ? void 0 : -1, "aria-disabled": b ? void 0 : !0, "aria-label": ke(b), onClick: P, "data-animated-button": e.animate ? "true" : void 0 },
197
- l.createElement(m.Chevron, { disabled: b ? void 0 : !0, className: d[n.Chevron], orientation: e.dir === "rtl" ? "left" : "right" })
198
- ),
199
- i === I - 1 && D === "after" && !e.hideNavigation && l.createElement(m.Nav, { "data-animated-nav": e.animate ? "true" : void 0, className: d[n.Nav], style: c?.[n.Nav], "aria-label": ae(), onPreviousClick: Y, onNextClick: P, previousMonth: p, nextMonth: b }),
200
- l.createElement(
201
- m.MonthGrid,
202
- { role: "grid", "aria-multiselectable": C === "multiple" || C === "range", "aria-label": be(o.date, a.options, a) || void 0, className: d[n.MonthGrid], style: c?.[n.MonthGrid] },
203
- !e.hideWeekdays && l.createElement(
204
- m.Weekdays,
205
- { "data-animated-weekdays": e.animate ? "true" : void 0, className: d[n.Weekdays], style: c?.[n.Weekdays] },
206
- q && l.createElement(m.WeekNumberHeader, { "aria-label": De(a.options), className: d[n.WeekNumberHeader], style: c?.[n.WeekNumberHeader], scope: "col" }, de()),
207
- Me.map((t) => l.createElement(m.Weekday, { "aria-label": Ne(t, a.options, a), className: d[n.Weekday], key: String(t), style: c?.[n.Weekday], scope: "col" }, le(t, a.options, a)))
208
- ),
209
- l.createElement(m.Weeks, { "data-animated-weeks": e.animate ? "true" : void 0, className: d[n.Weeks], style: c?.[n.Weeks] }, o.weeks.map((t) => l.createElement(
210
- m.Week,
211
- { className: d[n.Week], key: t.weekNumber, style: c?.[n.Week], week: t },
212
- q && l.createElement(m.WeekNumber, { week: t, style: c?.[n.WeekNumber], "aria-label": ve(t.weekNumber, {
213
- locale: se
214
- }), className: d[n.WeekNumber], scope: "row", role: "rowheader" }, ie(t.weekNumber, a)),
215
- t.days.map((r) => {
216
- const { date: f } = r, s = S(r);
217
- if (s[Xe.focused] = !s.hidden && !!ee?.isEqualTo(r), s[w.selected] = x?.(f) || s.selected, rt(g)) {
218
- const { from: F, to: A } = g;
219
- s[w.range_start] = !!(F && A && a.isSameDay(f, F)), s[w.range_end] = !!(F && A && a.isSameDay(f, A)), s[w.range_middle] = st(g, f, !0, a);
220
- }
221
- const Ae = qe(s, c, e.modifiersStyles), Te = Ge(s, d, e.modifiersClassNames), Ke = !oe && !s.hidden ? pe(f, s, a.options, a) : void 0;
222
- return l.createElement(m.Day, { key: `${r.isoDate}_${r.displayMonthId}`, day: r, modifiers: s, className: Te.join(" "), style: Ae, role: "gridcell", "aria-selected": s.selected || void 0, "aria-label": Ke, "data-day": r.isoDate, "data-month": r.outside ? r.dateMonthId : void 0, "data-selected": s.selected || void 0, "data-disabled": s.disabled || void 0, "data-hidden": s.hidden || void 0, "data-outside": r.outside || void 0, "data-focused": s.focused || void 0, "data-today": s.today || void 0 }, !s.hidden && oe ? l.createElement(m.DayButton, { className: d[n.DayButton], style: c?.[n.DayButton], type: "button", day: r, modifiers: s, disabled: !s.focused && s.disabled || void 0, "aria-disabled": s.focused && s.disabled || void 0, tabIndex: ue(r) ? 0 : -1, "aria-label": fe(f, s, a.options, a), onClick: we(r, s), onBlur: We(r, s), onFocus: Ce(r, s), onKeyDown: Ee(r, s), onMouseEnter: Be(r, s), onMouseLeave: Oe(r, s) }, J(f, a.options, a)) : !s.hidden && J(r.date, a.options, a));
223
- })
224
- )))
225
- )
226
- ))
29
+ return /* @__PURE__ */ o.jsx(
30
+ "div",
31
+ {
32
+ ref: p,
33
+ ...g,
34
+ onMouseMove: x,
35
+ className: C(
36
+ "flex cursor-pointer items-center justify-between gap-3 px-3 py-2 text-sm",
37
+ m,
38
+ c ? "bg-muted text-foreground" : "text-foreground hover:bg-muted"
227
39
  ),
228
- e.footer && l.createElement(m.Footer, { className: d[n.Footer], style: c?.[n.Footer], role: "status", "aria-live": "polite" }, e.footer)
229
- )
40
+ children: h(e.data)
41
+ }
230
42
  );
43
+ }, R = {
44
+ control: () => ({
45
+ display: "none"
46
+ }),
47
+ menu: (e) => ({
48
+ ...e,
49
+ marginTop: 4,
50
+ borderRadius: "var(--radius)",
51
+ boxShadow: "0 18px 36px rgba(15, 23, 42, 0.18)",
52
+ backgroundColor: "hsl(var(--popover))",
53
+ overflow: "hidden",
54
+ zIndex: 20
55
+ }),
56
+ menuList: (e) => ({
57
+ ...e,
58
+ maxHeight: 240,
59
+ padding: 0
60
+ }),
61
+ option: (e, n) => ({
62
+ ...e,
63
+ fontSize: "0.875rem",
64
+ backgroundColor: n.isFocused ? "hsl(var(--muted))" : n.isSelected ? "hsl(var(--accent))" : "transparent",
65
+ color: n.isSelected ? "hsl(var(--accent-foreground))" : "hsl(var(--foreground))",
66
+ cursor: "pointer"
67
+ }),
68
+ noOptionsMessage: (e) => ({
69
+ ...e,
70
+ fontSize: "0.875rem",
71
+ color: "hsl(var(--muted-foreground))"
72
+ })
73
+ }, H = (e) => /* @__PURE__ */ o.jsx("div", { style: { display: "none" }, children: e.children }), O = () => null;
74
+ function y(e) {
75
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
76
+ /* @__PURE__ */ o.jsxs("span", { className: "flex min-w-0 items-center gap-2", children: [
77
+ e.flag ? /* @__PURE__ */ o.jsx("span", { "aria-hidden": "true", className: "text-lg leading-none", children: e.flag }) : null,
78
+ /* @__PURE__ */ o.jsx("span", { className: "truncate", children: e.name })
79
+ ] }),
80
+ /* @__PURE__ */ o.jsxs("span", { className: "text-xs text-muted-foreground", children: [
81
+ "+",
82
+ e.dialCode
83
+ ] })
84
+ ] });
231
85
  }
232
86
  export {
233
- Yt as DayPicker
87
+ H as HiddenControl,
88
+ O as NullComponent,
89
+ S as SuggestionContext,
90
+ M as SuggestionOption,
91
+ y as formatCountryOption,
92
+ R as suggestionSelectStyles
234
93
  };
235
94
  //# sourceMappingURL=index39.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index39.js","sources":["../../../node_modules/react-day-picker/dist/esm/DayPicker.js"],"sourcesContent":["import React, { useCallback, useMemo, useRef } from \"react\";\nimport { DateLib, defaultLocale } from \"./classes/DateLib.js\";\nimport { createGetModifiers } from \"./helpers/createGetModifiers.js\";\nimport { getClassNamesForModifiers } from \"./helpers/getClassNamesForModifiers.js\";\nimport { getComponents } from \"./helpers/getComponents.js\";\nimport { getDataAttributes } from \"./helpers/getDataAttributes.js\";\nimport { getDefaultClassNames } from \"./helpers/getDefaultClassNames.js\";\nimport { getFormatters } from \"./helpers/getFormatters.js\";\nimport { getLabels } from \"./helpers/getLabels.js\";\nimport { getMonthOptions } from \"./helpers/getMonthOptions.js\";\nimport { getStyleForModifiers } from \"./helpers/getStyleForModifiers.js\";\nimport { getWeekdays } from \"./helpers/getWeekdays.js\";\nimport { getYearOptions } from \"./helpers/getYearOptions.js\";\nimport { createNoonOverrides } from \"./noonDateLib.js\";\nimport { DayFlag, SelectionState, UI } from \"./UI.js\";\nimport { useAnimation } from \"./useAnimation.js\";\nimport { useCalendar } from \"./useCalendar.js\";\nimport { dayPickerContext } from \"./useDayPicker.js\";\nimport { useFocus } from \"./useFocus.js\";\nimport { useSelection } from \"./useSelection.js\";\nimport { convertMatchersToTimeZone } from \"./utils/convertMatchersToTimeZone.js\";\nimport { rangeIncludesDate } from \"./utils/rangeIncludesDate.js\";\nimport { toTimeZone } from \"./utils/toTimeZone.js\";\nimport { isDateRange } from \"./utils/typeguards.js\";\n/**\n * Renders the DayPicker calendar component.\n *\n * @param initialProps - The props for the DayPicker component.\n * @returns The rendered DayPicker component.\n * @group DayPicker\n * @see https://daypicker.dev\n */\nexport function DayPicker(initialProps) {\n let props = initialProps;\n const timeZone = props.timeZone;\n if (timeZone) {\n props = {\n ...initialProps,\n timeZone,\n };\n if (props.today) {\n props.today = toTimeZone(props.today, timeZone);\n }\n if (props.month) {\n props.month = toTimeZone(props.month, timeZone);\n }\n if (props.defaultMonth) {\n props.defaultMonth = toTimeZone(props.defaultMonth, timeZone);\n }\n if (props.startMonth) {\n props.startMonth = toTimeZone(props.startMonth, timeZone);\n }\n if (props.endMonth) {\n props.endMonth = toTimeZone(props.endMonth, timeZone);\n }\n if (props.mode === \"single\" && props.selected) {\n props.selected = toTimeZone(props.selected, timeZone);\n }\n else if (props.mode === \"multiple\" && props.selected) {\n props.selected = props.selected?.map((date) => toTimeZone(date, timeZone));\n }\n else if (props.mode === \"range\" && props.selected) {\n props.selected = {\n from: props.selected.from\n ? toTimeZone(props.selected.from, timeZone)\n : props.selected.from,\n to: props.selected.to\n ? toTimeZone(props.selected.to, timeZone)\n : props.selected.to,\n };\n }\n if (props.disabled !== undefined) {\n props.disabled = convertMatchersToTimeZone(props.disabled, timeZone);\n }\n if (props.hidden !== undefined) {\n props.hidden = convertMatchersToTimeZone(props.hidden, timeZone);\n }\n if (props.modifiers) {\n const nextModifiers = {};\n Object.keys(props.modifiers).forEach((key) => {\n nextModifiers[key] = convertMatchersToTimeZone(props.modifiers?.[key], timeZone);\n });\n props.modifiers = nextModifiers;\n }\n }\n const { components, formatters, labels, dateLib, locale, classNames } = useMemo(() => {\n const locale = { ...defaultLocale, ...props.locale };\n const weekStartsOn = props.broadcastCalendar ? 1 : props.weekStartsOn;\n const noonOverrides = props.noonSafe && props.timeZone\n ? createNoonOverrides(props.timeZone, {\n weekStartsOn,\n locale,\n })\n : undefined;\n const overrides = props.dateLib && noonOverrides\n ? { ...noonOverrides, ...props.dateLib }\n : (props.dateLib ?? noonOverrides);\n const dateLib = new DateLib({\n locale,\n weekStartsOn,\n firstWeekContainsDate: props.firstWeekContainsDate,\n useAdditionalWeekYearTokens: props.useAdditionalWeekYearTokens,\n useAdditionalDayOfYearTokens: props.useAdditionalDayOfYearTokens,\n timeZone: props.timeZone,\n numerals: props.numerals,\n }, overrides);\n return {\n dateLib,\n components: getComponents(props.components),\n formatters: getFormatters(props.formatters),\n labels: getLabels(props.labels, dateLib.options),\n locale,\n classNames: { ...getDefaultClassNames(), ...props.classNames },\n };\n }, [\n props.locale,\n props.broadcastCalendar,\n props.weekStartsOn,\n props.firstWeekContainsDate,\n props.useAdditionalWeekYearTokens,\n props.useAdditionalDayOfYearTokens,\n props.timeZone,\n props.numerals,\n props.dateLib,\n props.noonSafe,\n props.components,\n props.formatters,\n props.labels,\n props.classNames,\n ]);\n if (!props.today) {\n props = { ...props, today: dateLib.today() };\n }\n const { captionLayout, mode, navLayout, numberOfMonths = 1, onDayBlur, onDayClick, onDayFocus, onDayKeyDown, onDayMouseEnter, onDayMouseLeave, onNextClick, onPrevClick, showWeekNumber, styles, } = props;\n const { formatCaption, formatDay, formatMonthDropdown, formatWeekNumber, formatWeekNumberHeader, formatWeekdayName, formatYearDropdown, } = formatters;\n const calendar = useCalendar(props, dateLib);\n const { days, months, navStart, navEnd, previousMonth, nextMonth, goToMonth, } = calendar;\n const getModifiers = createGetModifiers(days, props, navStart, navEnd, dateLib);\n const { isSelected, select, selected: selectedValue, } = useSelection(props, dateLib) ?? {};\n const { blur, focused, isFocusTarget, moveFocus, setFocused } = useFocus(props, calendar, getModifiers, isSelected ?? (() => false), dateLib);\n const { labelDayButton, labelGridcell, labelGrid, labelMonthDropdown, labelNav, labelPrevious, labelNext, labelWeekday, labelWeekNumber, labelWeekNumberHeader, labelYearDropdown, } = labels;\n const weekdays = useMemo(() => getWeekdays(dateLib, props.ISOWeek, props.broadcastCalendar, props.today), [dateLib, props.ISOWeek, props.broadcastCalendar, props.today]);\n const isInteractive = mode !== undefined || onDayClick !== undefined;\n const handlePreviousClick = useCallback(() => {\n if (!previousMonth)\n return;\n goToMonth(previousMonth);\n onPrevClick?.(previousMonth);\n }, [previousMonth, goToMonth, onPrevClick]);\n const handleNextClick = useCallback(() => {\n if (!nextMonth)\n return;\n goToMonth(nextMonth);\n onNextClick?.(nextMonth);\n }, [goToMonth, nextMonth, onNextClick]);\n const handleDayClick = useCallback((day, m) => (e) => {\n e.preventDefault();\n e.stopPropagation();\n setFocused(day);\n if (m.disabled) {\n return;\n }\n select?.(day.date, m, e);\n onDayClick?.(day.date, m, e);\n }, [select, onDayClick, setFocused]);\n const handleDayFocus = useCallback((day, m) => (e) => {\n setFocused(day);\n onDayFocus?.(day.date, m, e);\n }, [onDayFocus, setFocused]);\n const handleDayBlur = useCallback((day, m) => (e) => {\n blur();\n onDayBlur?.(day.date, m, e);\n }, [blur, onDayBlur]);\n const handleDayKeyDown = useCallback((day, modifiers) => (e) => {\n const keyMap = {\n ArrowLeft: [\n e.shiftKey ? \"month\" : \"day\",\n props.dir === \"rtl\" ? \"after\" : \"before\",\n ],\n ArrowRight: [\n e.shiftKey ? \"month\" : \"day\",\n props.dir === \"rtl\" ? \"before\" : \"after\",\n ],\n ArrowDown: [e.shiftKey ? \"year\" : \"week\", \"after\"],\n ArrowUp: [e.shiftKey ? \"year\" : \"week\", \"before\"],\n PageUp: [e.shiftKey ? \"year\" : \"month\", \"before\"],\n PageDown: [e.shiftKey ? \"year\" : \"month\", \"after\"],\n Home: [\"startOfWeek\", \"before\"],\n End: [\"endOfWeek\", \"after\"],\n };\n if (keyMap[e.key]) {\n e.preventDefault();\n e.stopPropagation();\n const [moveBy, moveDir] = keyMap[e.key];\n moveFocus(moveBy, moveDir);\n }\n onDayKeyDown?.(day.date, modifiers, e);\n }, [moveFocus, onDayKeyDown, props.dir]);\n const handleDayMouseEnter = useCallback((day, modifiers) => (e) => {\n onDayMouseEnter?.(day.date, modifiers, e);\n }, [onDayMouseEnter]);\n const handleDayMouseLeave = useCallback((day, modifiers) => (e) => {\n onDayMouseLeave?.(day.date, modifiers, e);\n }, [onDayMouseLeave]);\n const handleMonthChange = useCallback((date) => (e) => {\n const selectedMonth = Number(e.target.value);\n const month = dateLib.setMonth(dateLib.startOfMonth(date), selectedMonth);\n goToMonth(month);\n }, [dateLib, goToMonth]);\n const handleYearChange = useCallback((date) => (e) => {\n const selectedYear = Number(e.target.value);\n const month = dateLib.setYear(dateLib.startOfMonth(date), selectedYear);\n goToMonth(month);\n }, [dateLib, goToMonth]);\n const { className, style } = useMemo(() => ({\n className: [classNames[UI.Root], props.className]\n .filter(Boolean)\n .join(\" \"),\n style: { ...styles?.[UI.Root], ...props.style },\n }), [classNames, props.className, props.style, styles]);\n const dataAttributes = getDataAttributes(props);\n const rootElRef = useRef(null);\n useAnimation(rootElRef, Boolean(props.animate), {\n classNames,\n months,\n focused,\n dateLib,\n });\n const contextValue = {\n dayPickerProps: props,\n selected: selectedValue,\n select: select,\n isSelected,\n months,\n nextMonth,\n previousMonth,\n goToMonth,\n getModifiers,\n components,\n classNames,\n styles,\n labels,\n formatters,\n };\n return (React.createElement(dayPickerContext.Provider, { value: contextValue },\n React.createElement(components.Root, { rootRef: props.animate ? rootElRef : undefined, className: className, style: style, dir: props.dir, id: props.id, lang: props.lang, nonce: props.nonce, title: props.title, role: props.role, \"aria-label\": props[\"aria-label\"], \"aria-labelledby\": props[\"aria-labelledby\"], ...dataAttributes },\n React.createElement(components.Months, { className: classNames[UI.Months], style: styles?.[UI.Months] },\n !props.hideNavigation && !navLayout && (React.createElement(components.Nav, { \"data-animated-nav\": props.animate ? \"true\" : undefined, className: classNames[UI.Nav], style: styles?.[UI.Nav], \"aria-label\": labelNav(), onPreviousClick: handlePreviousClick, onNextClick: handleNextClick, previousMonth: previousMonth, nextMonth: nextMonth })),\n months.map((calendarMonth, displayIndex) => {\n return (React.createElement(components.Month, { \"data-animated-month\": props.animate ? \"true\" : undefined, className: classNames[UI.Month], style: styles?.[UI.Month], \n // biome-ignore lint/suspicious/noArrayIndexKey: breaks animation\n key: displayIndex, displayIndex: displayIndex, calendarMonth: calendarMonth },\n navLayout === \"around\" &&\n !props.hideNavigation &&\n displayIndex === 0 && (React.createElement(components.PreviousMonthButton, { type: \"button\", className: classNames[UI.PreviousMonthButton], tabIndex: previousMonth ? undefined : -1, \"aria-disabled\": previousMonth ? undefined : true, \"aria-label\": labelPrevious(previousMonth), onClick: handlePreviousClick, \"data-animated-button\": props.animate ? \"true\" : undefined },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], orientation: props.dir === \"rtl\" ? \"right\" : \"left\" }))),\n React.createElement(components.MonthCaption, { \"data-animated-caption\": props.animate ? \"true\" : undefined, className: classNames[UI.MonthCaption], style: styles?.[UI.MonthCaption], calendarMonth: calendarMonth, displayIndex: displayIndex }, captionLayout?.startsWith(\"dropdown\") ? (React.createElement(components.DropdownNav, { className: classNames[UI.Dropdowns], style: styles?.[UI.Dropdowns] },\n (() => {\n const monthControl = captionLayout === \"dropdown\" ||\n captionLayout === \"dropdown-months\" ? (React.createElement(components.MonthsDropdown, { key: \"month\", className: classNames[UI.MonthsDropdown], \"aria-label\": labelMonthDropdown(), classNames: classNames, components: components, disabled: Boolean(props.disableNavigation), onChange: handleMonthChange(calendarMonth.date), options: getMonthOptions(calendarMonth.date, navStart, navEnd, formatters, dateLib), style: styles?.[UI.Dropdown], value: dateLib.getMonth(calendarMonth.date) })) : (React.createElement(\"span\", { key: \"month\" }, formatMonthDropdown(calendarMonth.date, dateLib)));\n const yearControl = captionLayout === \"dropdown\" ||\n captionLayout === \"dropdown-years\" ? (React.createElement(components.YearsDropdown, { key: \"year\", className: classNames[UI.YearsDropdown], \"aria-label\": labelYearDropdown(dateLib.options), classNames: classNames, components: components, disabled: Boolean(props.disableNavigation), onChange: handleYearChange(calendarMonth.date), options: getYearOptions(navStart, navEnd, formatters, dateLib, Boolean(props.reverseYears)), style: styles?.[UI.Dropdown], value: dateLib.getYear(calendarMonth.date) })) : (React.createElement(\"span\", { key: \"year\" }, formatYearDropdown(calendarMonth.date, dateLib)));\n const controls = dateLib.getMonthYearOrder() === \"year-first\"\n ? [yearControl, monthControl]\n : [monthControl, yearControl];\n return controls;\n })(),\n React.createElement(\"span\", { role: \"status\", \"aria-live\": \"polite\", style: {\n border: 0,\n clip: \"rect(0 0 0 0)\",\n height: \"1px\",\n margin: \"-1px\",\n overflow: \"hidden\",\n padding: 0,\n position: \"absolute\",\n width: \"1px\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\",\n } }, formatCaption(calendarMonth.date, dateLib.options, dateLib)))) : (React.createElement(components.CaptionLabel, { className: classNames[UI.CaptionLabel], role: \"status\", \"aria-live\": \"polite\" }, formatCaption(calendarMonth.date, dateLib.options, dateLib)))),\n navLayout === \"around\" &&\n !props.hideNavigation &&\n displayIndex === numberOfMonths - 1 && (React.createElement(components.NextMonthButton, { type: \"button\", className: classNames[UI.NextMonthButton], tabIndex: nextMonth ? undefined : -1, \"aria-disabled\": nextMonth ? undefined : true, \"aria-label\": labelNext(nextMonth), onClick: handleNextClick, \"data-animated-button\": props.animate ? \"true\" : undefined },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, className: classNames[UI.Chevron], orientation: props.dir === \"rtl\" ? \"left\" : \"right\" }))),\n displayIndex === numberOfMonths - 1 &&\n navLayout === \"after\" &&\n !props.hideNavigation && (React.createElement(components.Nav, { \"data-animated-nav\": props.animate ? \"true\" : undefined, className: classNames[UI.Nav], style: styles?.[UI.Nav], \"aria-label\": labelNav(), onPreviousClick: handlePreviousClick, onNextClick: handleNextClick, previousMonth: previousMonth, nextMonth: nextMonth })),\n React.createElement(components.MonthGrid, { role: \"grid\", \"aria-multiselectable\": mode === \"multiple\" || mode === \"range\", \"aria-label\": labelGrid(calendarMonth.date, dateLib.options, dateLib) ||\n undefined, className: classNames[UI.MonthGrid], style: styles?.[UI.MonthGrid] },\n !props.hideWeekdays && (React.createElement(components.Weekdays, { \"data-animated-weekdays\": props.animate ? \"true\" : undefined, className: classNames[UI.Weekdays], style: styles?.[UI.Weekdays] },\n showWeekNumber && (React.createElement(components.WeekNumberHeader, { \"aria-label\": labelWeekNumberHeader(dateLib.options), className: classNames[UI.WeekNumberHeader], style: styles?.[UI.WeekNumberHeader], scope: \"col\" }, formatWeekNumberHeader())),\n weekdays.map((weekday) => (React.createElement(components.Weekday, { \"aria-label\": labelWeekday(weekday, dateLib.options, dateLib), className: classNames[UI.Weekday], key: String(weekday), style: styles?.[UI.Weekday], scope: \"col\" }, formatWeekdayName(weekday, dateLib.options, dateLib)))))),\n React.createElement(components.Weeks, { \"data-animated-weeks\": props.animate ? \"true\" : undefined, className: classNames[UI.Weeks], style: styles?.[UI.Weeks] }, calendarMonth.weeks.map((week) => {\n return (React.createElement(components.Week, { className: classNames[UI.Week], key: week.weekNumber, style: styles?.[UI.Week], week: week },\n showWeekNumber && (React.createElement(components.WeekNumber, { week: week, style: styles?.[UI.WeekNumber], \"aria-label\": labelWeekNumber(week.weekNumber, {\n locale,\n }), className: classNames[UI.WeekNumber], scope: \"row\", role: \"rowheader\" }, formatWeekNumber(week.weekNumber, dateLib))),\n week.days.map((day) => {\n const { date } = day;\n const modifiers = getModifiers(day);\n modifiers[DayFlag.focused] =\n !modifiers.hidden &&\n Boolean(focused?.isEqualTo(day));\n modifiers[SelectionState.selected] =\n isSelected?.(date) || modifiers.selected;\n if (isDateRange(selectedValue)) {\n // add range modifiers\n const { from, to } = selectedValue;\n modifiers[SelectionState.range_start] = Boolean(from && to && dateLib.isSameDay(date, from));\n modifiers[SelectionState.range_end] = Boolean(from && to && dateLib.isSameDay(date, to));\n modifiers[SelectionState.range_middle] =\n rangeIncludesDate(selectedValue, date, true, dateLib);\n }\n const style = getStyleForModifiers(modifiers, styles, props.modifiersStyles);\n const className = getClassNamesForModifiers(modifiers, classNames, props.modifiersClassNames);\n const ariaLabel = !isInteractive && !modifiers.hidden\n ? labelGridcell(date, modifiers, dateLib.options, dateLib)\n : undefined;\n return (React.createElement(components.Day, { key: `${day.isoDate}_${day.displayMonthId}`, day: day, modifiers: modifiers, className: className.join(\" \"), style: style, role: \"gridcell\", \"aria-selected\": modifiers.selected || undefined, \"aria-label\": ariaLabel, \"data-day\": day.isoDate, \"data-month\": day.outside ? day.dateMonthId : undefined, \"data-selected\": modifiers.selected || undefined, \"data-disabled\": modifiers.disabled || undefined, \"data-hidden\": modifiers.hidden || undefined, \"data-outside\": day.outside || undefined, \"data-focused\": modifiers.focused || undefined, \"data-today\": modifiers.today || undefined }, !modifiers.hidden && isInteractive ? (React.createElement(components.DayButton, { className: classNames[UI.DayButton], style: styles?.[UI.DayButton], type: \"button\", day: day, modifiers: modifiers, disabled: (!modifiers.focused &&\n modifiers.disabled) ||\n undefined, \"aria-disabled\": (modifiers.focused &&\n modifiers.disabled) ||\n undefined, tabIndex: isFocusTarget(day) ? 0 : -1, \"aria-label\": labelDayButton(date, modifiers, dateLib.options, dateLib), onClick: handleDayClick(day, modifiers), onBlur: handleDayBlur(day, modifiers), onFocus: handleDayFocus(day, modifiers), onKeyDown: handleDayKeyDown(day, modifiers), onMouseEnter: handleDayMouseEnter(day, modifiers), onMouseLeave: handleDayMouseLeave(day, modifiers) }, formatDay(date, dateLib.options, dateLib))) : (!modifiers.hidden &&\n formatDay(day.date, dateLib.options, dateLib))));\n })));\n })))));\n })),\n props.footer && (React.createElement(components.Footer, { className: classNames[UI.Footer], style: styles?.[UI.Footer], role: \"status\", \"aria-live\": \"polite\" }, props.footer)))));\n}\n"],"names":["DayPicker","initialProps","props","timeZone","toTimeZone","date","convertMatchersToTimeZone","nextModifiers","key","components","formatters","labels","dateLib","locale","classNames","useMemo","defaultLocale","weekStartsOn","noonOverrides","createNoonOverrides","overrides","DateLib","getComponents","getFormatters","getLabels","getDefaultClassNames","captionLayout","mode","navLayout","numberOfMonths","onDayBlur","onDayClick","onDayFocus","onDayKeyDown","onDayMouseEnter","onDayMouseLeave","onNextClick","onPrevClick","showWeekNumber","styles","formatCaption","formatDay","formatMonthDropdown","formatWeekNumber","formatWeekNumberHeader","formatWeekdayName","formatYearDropdown","calendar","useCalendar","days","months","navStart","navEnd","previousMonth","nextMonth","goToMonth","getModifiers","createGetModifiers","isSelected","select","selectedValue","useSelection","blur","focused","isFocusTarget","moveFocus","setFocused","useFocus","labelDayButton","labelGridcell","labelGrid","labelMonthDropdown","labelNav","labelPrevious","labelNext","labelWeekday","labelWeekNumber","labelWeekNumberHeader","labelYearDropdown","weekdays","getWeekdays","isInteractive","handlePreviousClick","useCallback","handleNextClick","handleDayClick","day","m","e","handleDayFocus","handleDayBlur","handleDayKeyDown","modifiers","keyMap","moveBy","moveDir","handleDayMouseEnter","handleDayMouseLeave","handleMonthChange","selectedMonth","month","handleYearChange","selectedYear","className","style","UI","dataAttributes","getDataAttributes","rootElRef","useRef","useAnimation","contextValue","React","dayPickerContext","calendarMonth","displayIndex","monthControl","getMonthOptions","yearControl","getYearOptions","weekday","week","DayFlag","SelectionState","isDateRange","from","to","rangeIncludesDate","getStyleForModifiers","getClassNamesForModifiers","ariaLabel"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgCO,SAASA,GAAUC,GAAc;AACpC,MAAIC,IAAQD;AACZ,QAAME,IAAWD,EAAM;AACvB,MAAIC,MACAD,IAAQ;AAAA,IACJ,GAAGD;AAAA,IACH,UAAAE;AAAA,EACZ,GACYD,EAAM,UACNA,EAAM,QAAQE,EAAWF,EAAM,OAAOC,CAAQ,IAE9CD,EAAM,UACNA,EAAM,QAAQE,EAAWF,EAAM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E;AAAA,EAAC;AAC5L;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index39.js","sources":["../src/components/PhoneNumberInput/suggestions.tsx"],"sourcesContent":["import * as React from \"react\"\nimport type { CountryCode } from \"libphonenumber-js\"\nimport type { ControlProps, OptionProps, StylesConfig } from \"react-select\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport type { CountryOption } from \"./types\"\n\n\nexport type SuggestionContextValue = {\n highlightedValue: CountryCode | null\n setHighlightedOption: (option: CountryOption) => void\n renderOptionLabel: (option: CountryOption) => React.ReactNode\n consumeScrollBehavior: () => ScrollBehavior\n}\n\nexport const SuggestionContext = React.createContext<SuggestionContextValue | null>(null)\n\nexport const SuggestionOption = (props: OptionProps<CountryOption, false>) => {\n const context = React.useContext(SuggestionContext)\n const isActive = context?.highlightedValue === props.data.value\n const { onMouseMove, className: receivedClassName, ...restInnerProps } = props.innerProps\n const renderLabel =\n context?.renderOptionLabel ?? ((option: CountryOption) => formatCountryOption(option))\n const optionRef = React.useRef<HTMLDivElement | null>(null)\n const { innerRef } = props\n\n const assignRef = React.useCallback(\n (node: HTMLDivElement | null) => {\n optionRef.current = node\n if (typeof innerRef === \"function\") {\n innerRef(node)\n } else if (innerRef && typeof innerRef === \"object\") {\n ;(innerRef as React.MutableRefObject<HTMLDivElement | null>).current = node\n }\n },\n [innerRef]\n )\n\n React.useEffect(() => {\n if (!isActive) {\n return\n }\n\n const consumeScrollBehavior = context?.consumeScrollBehavior\n const behavior = consumeScrollBehavior ? consumeScrollBehavior() : \"smooth\"\n\n const target = optionRef.current\n if (!target) {\n return\n }\n\n const parent = target.parentElement\n if (!parent) {\n return\n }\n\n const top = target.offsetTop\n const bottom = top + target.offsetHeight\n const viewTop = parent.scrollTop\n const viewBottom = viewTop + parent.clientHeight\n\n if (top >= viewTop && bottom <= viewBottom) {\n return\n }\n\n target.scrollIntoView({\n block: \"nearest\",\n behavior,\n })\n }, [context, isActive])\n\n const handleMouseMove = (event: React.MouseEvent<HTMLDivElement>) => {\n onMouseMove?.(event)\n context?.setHighlightedOption(props.data)\n }\n\n return (\n <div\n ref={assignRef}\n {...restInnerProps}\n onMouseMove={handleMouseMove}\n className={cn(\n \"flex cursor-pointer items-center justify-between gap-3 px-3 py-2 text-sm\",\n receivedClassName,\n isActive ? \"bg-muted text-foreground\" : \"text-foreground hover:bg-muted\"\n )}\n >\n {renderLabel(props.data)}\n </div>\n )\n}\n\nexport const suggestionSelectStyles: StylesConfig<CountryOption, false> = {\n control: () => ({\n display: \"none\",\n }),\n menu: (provided) => ({\n ...provided,\n marginTop: 4,\n borderRadius: \"var(--radius)\",\n boxShadow: \"0 18px 36px rgba(15, 23, 42, 0.18)\",\n backgroundColor: \"hsl(var(--popover))\",\n overflow: \"hidden\",\n zIndex: 20,\n }),\n menuList: (provided) => ({\n ...provided,\n maxHeight: 240,\n padding: 0,\n }),\n option: (provided, state) => ({\n ...provided,\n fontSize: \"0.875rem\",\n backgroundColor: state.isFocused\n ? \"hsl(var(--muted))\"\n : state.isSelected\n ? \"hsl(var(--accent))\"\n : \"transparent\",\n color: state.isSelected\n ? \"hsl(var(--accent-foreground))\"\n : \"hsl(var(--foreground))\",\n cursor: \"pointer\",\n }),\n noOptionsMessage: (provided) => ({\n ...provided,\n fontSize: \"0.875rem\",\n color: \"hsl(var(--muted-foreground))\",\n }),\n}\n\nexport const HiddenControl = (props: ControlProps<CountryOption, false>) => (\n <div style={{ display: \"none\" }}>{props.children}</div>\n)\n\nexport const NullComponent = () => null\n\nexport function formatCountryOption(option: CountryOption) {\n return (\n <>\n <span className=\"flex min-w-0 items-center gap-2\">\n {option.flag ? (\n <span aria-hidden=\"true\" className=\"text-lg leading-none\">\n {option.flag}\n </span>\n ) : null}\n <span className=\"truncate\">{option.name}</span>\n </span>\n <span className=\"text-xs text-muted-foreground\">+{option.dialCode}</span>\n </>\n )\n}\n\n"],"names":["SuggestionContext","React","SuggestionOption","props","context","isActive","onMouseMove","receivedClassName","restInnerProps","renderLabel","option","formatCountryOption","optionRef","innerRef","assignRef","node","consumeScrollBehavior","behavior","target","parent","top","bottom","viewTop","viewBottom","handleMouseMove","event","jsx","cn","suggestionSelectStyles","provided","state","HiddenControl","NullComponent","jsxs","Fragment"],"mappings":";;;AAgBO,MAAMA,IAAoBC,EAAM,cAA6C,IAAI,GAE3EC,IAAmB,CAACC,MAA6C;AAC5E,QAAMC,IAAUH,EAAM,WAAWD,CAAiB,GAC5CK,IAAWD,GAAS,qBAAqBD,EAAM,KAAK,OACpD,EAAE,aAAAG,GAAa,WAAWC,GAAmB,GAAGC,EAAA,IAAmBL,EAAM,YACzEM,IACJL,GAAS,sBAAsB,CAACM,MAA0BC,EAAoBD,CAAM,IAChFE,IAAYX,EAAM,OAA8B,IAAI,GACpD,EAAE,UAAAY,MAAaV,GAEfW,IAAYb,EAAM;AAAA,IACtB,CAACc,MAAgC;AAC/B,MAAAH,EAAU,UAAUG,GAChB,OAAOF,KAAa,aACtBA,EAASE,CAAI,IACJF,KAAY,OAAOA,KAAa,aACvCA,EAA2D,UAAUE;AAAA,IAE3E;AAAA,IACA,CAACF,CAAQ;AAAA,EAAA;AAGX,EAAAZ,EAAM,UAAU,MAAM;AACpB,QAAI,CAACI;AACH;AAGF,UAAMW,IAAwBZ,GAAS,uBACjCa,IAAWD,IAAwBA,EAAA,IAA0B,UAE7DE,IAASN,EAAU;AACzB,QAAI,CAACM;AACH;AAGF,UAAMC,IAASD,EAAO;AACtB,QAAI,CAACC;AACH;AAGF,UAAMC,IAAMF,EAAO,WACbG,IAASD,IAAMF,EAAO,cACtBI,IAAUH,EAAO,WACjBI,IAAaD,IAAUH,EAAO;AAEpC,IAAIC,KAAOE,KAAWD,KAAUE,KAIhCL,EAAO,eAAe;AAAA,MACpB,OAAO;AAAA,MACP,UAAAD;AAAA,IAAA,CACD;AAAA,EACH,GAAG,CAACb,GAASC,CAAQ,CAAC;AAEtB,QAAMmB,IAAkB,CAACC,MAA4C;AACnE,IAAAnB,IAAcmB,CAAK,GACn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AA;AAAA,MAAAvB,EAAO,6BACL,QAAA,EAAK,eAAY,QAAO,WAAU,wBAChC,UAAAA,EAAO,KAAA,CACV,IACE;AAAA,MACJgB,gBAAAA,EAAAA,IAAC,QAAA,EAAK,WAAU,YAAY,YAAO,KAAA,CAAK;AAAA,IAAA,GAC1C;AAAA,IACAO,gBAAAA,EAAAA,KAAC,QAAA,EAAK,WAAU,iCAAgC,UAAA;AAAA,MAAA;AAAA,MAAEvB,EAAO;AAAA,IAAA,EAAA,CAAS;AAAA,EAAA,GACpE;AAEJ;"}
package/dist/index40.js CHANGED
@@ -1,54 +1,9 @@
1
- var C = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "#", "$", "%", "*", "+", ",", "-", ".", ":", ";", "=", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~"], i = (t) => {
2
- let r = 0;
3
- for (let a = 0; a < t.length; a++) {
4
- let l = t[a], o = C.indexOf(l);
5
- r = r * 83 + o;
6
- }
7
- return r;
8
- }, b = (t) => {
9
- let r = t / 255;
10
- return r <= 0.04045 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);
11
- }, d = (t) => {
12
- let r = Math.max(0, Math.min(1, t));
13
- return r <= 31308e-7 ? Math.trunc(r * 12.92 * 255 + 0.5) : Math.trunc((1.055 * Math.pow(r, 0.4166666666666667) - 0.055) * 255 + 0.5);
14
- }, T = (t) => t < 0 ? -1 : 1, m = (t, r) => T(t) * Math.pow(Math.abs(t), r), y = class extends Error {
15
- constructor(t) {
16
- super(t), this.name = "ValidationError", this.message = t;
17
- }
18
- }, U = (t) => {
19
- if (!t || t.length < 6) throw new y("The blurhash string must be at least 6 characters");
20
- let r = i(t[0]), a = Math.floor(r / 9) + 1, l = r % 9 + 1;
21
- if (t.length !== 4 + 2 * l * a) throw new y(`blurhash length mismatch: length is ${t.length} but it should be ${4 + 2 * l * a}`);
22
- }, $ = (t) => {
23
- let r = t >> 16, a = t >> 8 & 255, l = t & 255;
24
- return [b(r), b(a), b(l)];
25
- }, j = (t, r) => {
26
- let a = Math.floor(t / 361), l = Math.floor(t / 19) % 19, o = t % 19;
27
- return [m((a - 9) / 9, 2) * r, m((l - 9) / 9, 2) * r, m((o - 9) / 9, 2) * r];
28
- }, q = (t, r, a, l) => {
29
- U(t), l = l | 1;
30
- let o = i(t[0]), p = Math.floor(o / 9) + 1, c = o % 9 + 1, I = (i(t[1]) + 1) / 166, u = new Array(c * p);
31
- for (let e = 0; e < u.length; e++) if (e === 0) {
32
- let h = i(t.substring(2, 6));
33
- u[e] = $(h);
34
- } else {
35
- let h = i(t.substring(4 + e * 2, 6 + e * 2));
36
- u[e] = j(h, I * l);
37
- }
38
- let n = r * 4, s = new Uint8ClampedArray(n * a);
39
- for (let e = 0; e < a; e++) for (let h = 0; h < r; h++) {
40
- let x = 0, v = 0, E = 0;
41
- for (let M = 0; M < p; M++) for (let f = 0; f < c; f++) {
42
- let g = Math.cos(Math.PI * h * f / r) * Math.cos(Math.PI * e * M / a), w = u[f + M * c];
43
- x += w[0] * g, v += w[1] * g, E += w[2] * g;
44
- }
45
- let P = d(x), V = d(v), A = d(E);
46
- s[4 * h + 0 + e * n] = P, s[4 * h + 1 + e * n] = V, s[4 * h + 2 + e * n] = A, s[4 * h + 3 + e * n] = 255;
47
- }
48
- return s;
49
- }, z = q;
1
+ import t from "./index82.js";
2
+ import { getCountryCallingCode as o } from "./index96.js";
3
+ function n() {
4
+ return t(o, arguments);
5
+ }
50
6
  export {
51
- y as ValidationError,
52
- z as decode
7
+ n as getCountryCallingCode
53
8
  };
54
9
  //# sourceMappingURL=index40.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index40.js","sources":["../../../node_modules/blurhash/dist/esm/index.js"],"sourcesContent":["var q=[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"A\",\"B\",\"C\",\"D\",\"E\",\"F\",\"G\",\"H\",\"I\",\"J\",\"K\",\"L\",\"M\",\"N\",\"O\",\"P\",\"Q\",\"R\",\"S\",\"T\",\"U\",\"V\",\"W\",\"X\",\"Y\",\"Z\",\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\",\"#\",\"$\",\"%\",\"*\",\"+\",\",\",\"-\",\".\",\":\",\";\",\"=\",\"?\",\"@\",\"[\",\"]\",\"^\",\"_\",\"{\",\"|\",\"}\",\"~\"],x=t=>{let e=0;for(let r=0;r<t.length;r++){let n=t[r],l=q.indexOf(n);e=e*83+l}return e},p=(t,e)=>{var r=\"\";for(let n=1;n<=e;n++){let l=Math.floor(t)/Math.pow(83,e-n)%83;r+=q[Math.floor(l)]}return r};var f=t=>{let e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},h=t=>{let e=Math.max(0,Math.min(1,t));return e<=.0031308?Math.trunc(e*12.92*255+.5):Math.trunc((1.055*Math.pow(e,.4166666666666667)-.055)*255+.5)},F=t=>t<0?-1:1,M=(t,e)=>F(t)*Math.pow(Math.abs(t),e);var d=class extends Error{constructor(e){super(e),this.name=\"ValidationError\",this.message=e}};var C=t=>{if(!t||t.length<6)throw new d(\"The blurhash string must be at least 6 characters\");let e=x(t[0]),r=Math.floor(e/9)+1,n=e%9+1;if(t.length!==4+2*n*r)throw new d(`blurhash length mismatch: length is ${t.length} but it should be ${4+2*n*r}`)},N=t=>{try{C(t)}catch(e){return{result:!1,errorReason:e.message}}return{result:!0}},z=t=>{let e=t>>16,r=t>>8&255,n=t&255;return[f(e),f(r),f(n)]},L=(t,e)=>{let r=Math.floor(t/361),n=Math.floor(t/19)%19,l=t%19;return[M((r-9)/9,2)*e,M((n-9)/9,2)*e,M((l-9)/9,2)*e]},U=(t,e,r,n)=>{C(t),n=n|1;let l=x(t[0]),m=Math.floor(l/9)+1,b=l%9+1,i=(x(t[1])+1)/166,u=new Array(b*m);for(let o=0;o<u.length;o++)if(o===0){let a=x(t.substring(2,6));u[o]=z(a)}else{let a=x(t.substring(4+o*2,6+o*2));u[o]=L(a,i*n)}let c=e*4,s=new Uint8ClampedArray(c*r);for(let o=0;o<r;o++)for(let a=0;a<e;a++){let y=0,B=0,R=0;for(let w=0;w<m;w++)for(let P=0;P<b;P++){let G=Math.cos(Math.PI*a*P/e)*Math.cos(Math.PI*o*w/r),T=u[P+w*b];y+=T[0]*G,B+=T[1]*G,R+=T[2]*G}let V=h(y),I=h(B),E=h(R);s[4*a+0+o*c]=V,s[4*a+1+o*c]=I,s[4*a+2+o*c]=E,s[4*a+3+o*c]=255}return s},j=U;var A=4,D=(t,e,r,n)=>{let l=0,m=0,b=0,g=e*A;for(let u=0;u<e;u++){let c=A*u;for(let s=0;s<r;s++){let o=c+s*g,a=n(u,s);l+=a*f(t[o]),m+=a*f(t[o+1]),b+=a*f(t[o+2])}}let i=1/(e*r);return[l*i,m*i,b*i]},$=t=>{let e=h(t[0]),r=h(t[1]),n=h(t[2]);return(e<<16)+(r<<8)+n},H=(t,e)=>{let r=Math.floor(Math.max(0,Math.min(18,Math.floor(M(t[0]/e,.5)*9+9.5)))),n=Math.floor(Math.max(0,Math.min(18,Math.floor(M(t[1]/e,.5)*9+9.5)))),l=Math.floor(Math.max(0,Math.min(18,Math.floor(M(t[2]/e,.5)*9+9.5))));return r*19*19+n*19+l},O=(t,e,r,n,l)=>{if(n<1||n>9||l<1||l>9)throw new d(\"BlurHash must have between 1 and 9 components\");if(e*r*4!==t.length)throw new d(\"Width and height must match the pixels array\");let m=[];for(let s=0;s<l;s++)for(let o=0;o<n;o++){let a=o==0&&s==0?1:2,y=D(t,e,r,(B,R)=>a*Math.cos(Math.PI*o*B/e)*Math.cos(Math.PI*s*R/r));m.push(y)}let b=m[0],g=m.slice(1),i=\"\",u=n-1+(l-1)*9;i+=p(u,1);let c;if(g.length>0){let s=Math.max(...g.map(a=>Math.max(...a))),o=Math.floor(Math.max(0,Math.min(82,Math.floor(s*166-.5))));c=(o+1)/166,i+=p(o,1)}else c=1,i+=p(0,1);return i+=p($(b),4),g.forEach(s=>{i+=p(H(s,c),2)}),i},S=O;export{d as ValidationError,j as decode,S as encode,N as isBlurhashValid};\n//# sourceMappingURL=index.js.map"],"names":["q","x","e","r","n","l","f","h","F","M","d","C","z","L","U","m","b","i","o","a","c","y","B","R","w","P","G","T","V","I","E","j"],"mappings":"AAAG,IAACA,IAAE,CAAC,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,GAAG,GAAEC,IAAE,OAAG;AAAC,MAAIC,IAAE;AAAE,WAAQC,IAAE,GAAEA,IAAE,EAAE,QAAOA,KAAI;AAAC,QAAIC,IAAE,EAAED,CAAC,GAAEE,IAAEL,EAAE,QAAQI,CAAC;AAAE,IAAAF,IAAEA,IAAE,KAAGG;AAAA,EAAC;AAAC,SAAOH;AAAC,GAAqHI,IAAE,OAAG;AAAC,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EAAEF,IAAED,IAAER,CAAC;AAAE,MAAAK,KAAGM,EAAE,CAAC,IAAED,GAAEJ,KAAGK,EAAE,CAAC,IAAED,GAAEH,KAAGI,EAAE,CAAC,IAAED;AAAA,IAAC;AAAC,QAAIE,IAAErB,EAAEc,CAAC,GAAEQ,IAAEtB,EAAEe,CAAC,GAAEQ,IAAEvB,EAAEgB,CAAC;AAAE,MAAE,IAAEJ,IAAE,IAAED,IAAEE,CAAC,IAAEQ,GAAE,EAAE,IAAET,IAAE,IAAED,IAAEE,CAAC,IAAES,GAAE,EAAE,IAAEV,IAAE,IAAED,IAAEE,CAAC,IAAEU,GAAE,EAAE,IAAEX,IAAE,IAAED,IAAEE,CAAC,IAAE;AAAA,EAAG;AAAC,SAAO;AAAC,GAAEW,IAAEjB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index40.js","sources":["../../../node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js"],"sourcesContent":["import withMetadataArgument from './withMetadataArgument.js'\r\nimport { getCountryCallingCode as _getCountryCallingCode } from '../../core/index.js'\r\n\r\nexport function getCountryCallingCode() {\r\n\treturn withMetadataArgument(_getCountryCallingCode, arguments)\r\n}"],"names":["getCountryCallingCode","withMetadataArgument","_getCountryCallingCode"],"mappings":";;AAGO,SAASA,IAAwB;AACvC,SAAOC,EAAqBC,GAAwB,SAAS;AAC9D;","x_google_ignoreList":[0]}