@rpcbase/ui 0.157.0 → 0.158.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 (725) hide show
  1. package/dist/index.js +67 -24680
  2. package/dist/index.js.map +1 -1
  3. package/dist/index10.js +73 -0
  4. package/dist/index10.js.map +1 -0
  5. package/dist/index100.js +8 -0
  6. package/dist/index100.js.map +1 -0
  7. package/dist/index101.js +10 -0
  8. package/dist/index101.js.map +1 -0
  9. package/dist/index102.js +9 -0
  10. package/dist/index102.js.map +1 -0
  11. package/dist/index103.js +8 -0
  12. package/dist/index103.js.map +1 -0
  13. package/dist/index104.js +9 -0
  14. package/dist/index104.js.map +1 -0
  15. package/dist/index105.js +8 -0
  16. package/dist/index105.js.map +1 -0
  17. package/dist/index106.js +12 -0
  18. package/dist/index106.js.map +1 -0
  19. package/dist/index107.js +9 -0
  20. package/dist/index107.js.map +1 -0
  21. package/dist/index108.js +8 -0
  22. package/dist/index108.js.map +1 -0
  23. package/dist/index109.js +8 -0
  24. package/dist/index109.js.map +1 -0
  25. package/dist/index11.js +483 -0
  26. package/dist/index11.js.map +1 -0
  27. package/dist/index110.js +10 -0
  28. package/dist/index110.js.map +1 -0
  29. package/dist/index111.js +149 -0
  30. package/dist/index111.js.map +1 -0
  31. package/dist/index112.js +43 -0
  32. package/dist/index112.js.map +1 -0
  33. package/dist/index113.js +8 -0
  34. package/dist/index113.js.map +1 -0
  35. package/dist/index114.js +11 -0
  36. package/dist/index114.js.map +1 -0
  37. package/dist/index115.js +17 -0
  38. package/dist/index115.js.map +1 -0
  39. package/dist/index116.js +17 -0
  40. package/dist/index116.js.map +1 -0
  41. package/dist/index117.js +11 -0
  42. package/dist/index117.js.map +1 -0
  43. package/dist/index118.js +35 -0
  44. package/dist/index118.js.map +1 -0
  45. package/dist/index119.js +14 -0
  46. package/dist/index119.js.map +1 -0
  47. package/dist/index12.js +130 -0
  48. package/dist/index12.js.map +1 -0
  49. package/dist/index120.js +14 -0
  50. package/dist/index120.js.map +1 -0
  51. package/dist/index121.js +12 -0
  52. package/dist/index121.js.map +1 -0
  53. package/dist/index122.js +17 -0
  54. package/dist/index122.js.map +1 -0
  55. package/dist/index123.js +105 -0
  56. package/dist/index123.js.map +1 -0
  57. package/dist/index124.js +23 -0
  58. package/dist/index124.js.map +1 -0
  59. package/dist/index125.js +57 -0
  60. package/dist/index125.js.map +1 -0
  61. package/dist/index126.js +76 -0
  62. package/dist/index126.js.map +1 -0
  63. package/dist/index127.js +13 -0
  64. package/dist/index127.js.map +1 -0
  65. package/dist/index128.js +24 -0
  66. package/dist/index128.js.map +1 -0
  67. package/dist/index129.js +20 -0
  68. package/dist/index129.js.map +1 -0
  69. package/dist/index13.js +79 -0
  70. package/dist/index13.js.map +1 -0
  71. package/dist/index130.js +27 -0
  72. package/dist/index130.js.map +1 -0
  73. package/dist/index131.js +10 -0
  74. package/dist/index131.js.map +1 -0
  75. package/dist/index132.js +9 -0
  76. package/dist/index132.js.map +1 -0
  77. package/dist/index133.js +27 -0
  78. package/dist/index133.js.map +1 -0
  79. package/dist/index134.js +38 -0
  80. package/dist/index134.js.map +1 -0
  81. package/dist/index135.js +19 -0
  82. package/dist/index135.js.map +1 -0
  83. package/dist/index136.js +10 -0
  84. package/dist/index136.js.map +1 -0
  85. package/dist/index137.js +8 -0
  86. package/dist/index137.js.map +1 -0
  87. package/dist/index138.js +8 -0
  88. package/dist/index138.js.map +1 -0
  89. package/dist/index139.js +8 -0
  90. package/dist/index139.js.map +1 -0
  91. package/dist/index14.js +735 -0
  92. package/dist/index14.js.map +1 -0
  93. package/dist/index140.js +8 -0
  94. package/dist/index140.js.map +1 -0
  95. package/dist/index141.js +7 -0
  96. package/dist/index141.js.map +1 -0
  97. package/dist/index142.js +10 -0
  98. package/dist/index142.js.map +1 -0
  99. package/dist/index143.js +27 -0
  100. package/dist/index143.js.map +1 -0
  101. package/dist/index144.js +11 -0
  102. package/dist/index144.js.map +1 -0
  103. package/dist/index145.js +10 -0
  104. package/dist/index145.js.map +1 -0
  105. package/dist/index146.js +9 -0
  106. package/dist/index146.js.map +1 -0
  107. package/dist/index147.js +7 -0
  108. package/dist/index147.js.map +1 -0
  109. package/dist/index148.js +7 -0
  110. package/dist/index148.js.map +1 -0
  111. package/dist/index149.js +8 -0
  112. package/dist/index149.js.map +1 -0
  113. package/dist/index15.js +26 -0
  114. package/dist/index15.js.map +1 -0
  115. package/dist/index150.js +7 -0
  116. package/dist/index150.js.map +1 -0
  117. package/dist/index151.js +8 -0
  118. package/dist/index151.js.map +1 -0
  119. package/dist/index152.js +7 -0
  120. package/dist/index152.js.map +1 -0
  121. package/dist/index153.js +7 -0
  122. package/dist/index153.js.map +1 -0
  123. package/dist/index154.js +7 -0
  124. package/dist/index154.js.map +1 -0
  125. package/dist/index155.js +7 -0
  126. package/dist/index155.js.map +1 -0
  127. package/dist/index156.js +37 -0
  128. package/dist/index156.js.map +1 -0
  129. package/dist/index157.js +253 -0
  130. package/dist/index157.js.map +1 -0
  131. package/dist/index158.js +118 -0
  132. package/dist/index158.js.map +1 -0
  133. package/dist/index159.js +223 -0
  134. package/dist/index159.js.map +1 -0
  135. package/dist/index16.js +21 -0
  136. package/dist/index16.js.map +1 -0
  137. package/dist/index160.js +70 -0
  138. package/dist/index160.js.map +1 -0
  139. package/dist/index161.js +24 -0
  140. package/dist/index161.js.map +1 -0
  141. package/dist/index162.js +213 -0
  142. package/dist/index162.js.map +1 -0
  143. package/dist/index163.js +323 -0
  144. package/dist/index163.js.map +1 -0
  145. package/dist/index164.js +134 -0
  146. package/dist/index164.js.map +1 -0
  147. package/dist/index165.js +24 -0
  148. package/dist/index165.js.map +1 -0
  149. package/dist/index166.js +79 -0
  150. package/dist/index166.js.map +1 -0
  151. package/dist/index167.js +22 -0
  152. package/dist/index167.js.map +1 -0
  153. package/dist/index168.js +105 -0
  154. package/dist/index168.js.map +1 -0
  155. package/dist/index169.js +8 -0
  156. package/dist/index169.js.map +1 -0
  157. package/dist/index17.js +390 -0
  158. package/dist/index17.js.map +1 -0
  159. package/dist/index170.js +18 -0
  160. package/dist/index170.js.map +1 -0
  161. package/dist/index171.js +5 -0
  162. package/dist/index171.js.map +1 -0
  163. package/dist/index172.js +11 -0
  164. package/dist/index172.js.map +1 -0
  165. package/dist/index173.js +330 -0
  166. package/dist/index173.js.map +1 -0
  167. package/dist/index174.js +53 -0
  168. package/dist/index174.js.map +1 -0
  169. package/dist/index175.js +609 -0
  170. package/dist/index175.js.map +1 -0
  171. package/dist/index176.js +50 -0
  172. package/dist/index176.js.map +1 -0
  173. package/dist/index177.js +15 -0
  174. package/dist/index177.js.map +1 -0
  175. package/dist/index178.js +209 -0
  176. package/dist/index178.js.map +1 -0
  177. package/dist/index179.js +25 -0
  178. package/dist/index179.js.map +1 -0
  179. package/dist/index18.js +662 -0
  180. package/dist/index18.js.map +1 -0
  181. package/dist/index180.js +28 -0
  182. package/dist/index180.js.map +1 -0
  183. package/dist/index181.js +403 -0
  184. package/dist/index181.js.map +1 -0
  185. package/dist/index182.js +50 -0
  186. package/dist/index182.js.map +1 -0
  187. package/dist/index183.js +9 -0
  188. package/dist/index183.js.map +1 -0
  189. package/dist/index184.js +72 -0
  190. package/dist/index184.js.map +1 -0
  191. package/dist/index185.js +5 -0
  192. package/dist/index185.js.map +1 -0
  193. package/dist/index186.js +367 -0
  194. package/dist/index186.js.map +1 -0
  195. package/dist/index187.js +265 -0
  196. package/dist/index187.js.map +1 -0
  197. package/dist/index188.js +64 -0
  198. package/dist/index188.js.map +1 -0
  199. package/dist/index189.js +50 -0
  200. package/dist/index189.js.map +1 -0
  201. package/dist/index19.js +661 -0
  202. package/dist/index19.js.map +1 -0
  203. package/dist/index190.js +173 -0
  204. package/dist/index190.js.map +1 -0
  205. package/dist/index191.js +113 -0
  206. package/dist/index191.js.map +1 -0
  207. package/dist/index192.js +28 -0
  208. package/dist/index192.js.map +1 -0
  209. package/dist/index193.js +11 -0
  210. package/dist/index193.js.map +1 -0
  211. package/dist/index194.js +8 -0
  212. package/dist/index194.js.map +1 -0
  213. package/dist/index195.js +9 -0
  214. package/dist/index195.js.map +1 -0
  215. package/dist/index196.js +8 -0
  216. package/dist/index196.js.map +1 -0
  217. package/dist/index197.js +470 -0
  218. package/dist/index197.js.map +1 -0
  219. package/dist/index198.js +189 -0
  220. package/dist/index198.js.map +1 -0
  221. package/dist/index199.js +111 -0
  222. package/dist/index199.js.map +1 -0
  223. package/dist/index2.js +9 -0
  224. package/dist/index2.js.map +1 -0
  225. package/dist/index20.js +204 -0
  226. package/dist/index20.js.map +1 -0
  227. package/dist/index200.js +266 -0
  228. package/dist/index200.js.map +1 -0
  229. package/dist/index201.js +13 -0
  230. package/dist/index201.js.map +1 -0
  231. package/dist/index202.js +46 -0
  232. package/dist/index202.js.map +1 -0
  233. package/dist/index203.js +8 -0
  234. package/dist/index203.js.map +1 -0
  235. package/dist/index204.js +5 -0
  236. package/dist/index204.js.map +1 -0
  237. package/dist/index205.js +71 -0
  238. package/dist/index205.js.map +1 -0
  239. package/dist/index206.js +88 -0
  240. package/dist/index206.js.map +1 -0
  241. package/dist/index207.js +50 -0
  242. package/dist/index207.js.map +1 -0
  243. package/dist/index208.js +11 -0
  244. package/dist/index208.js.map +1 -0
  245. package/dist/index209.js +8 -0
  246. package/dist/index209.js.map +1 -0
  247. package/dist/index21.js +8 -0
  248. package/dist/index21.js.map +1 -0
  249. package/dist/index210.js +55 -0
  250. package/dist/index210.js.map +1 -0
  251. package/dist/index211.js +20 -0
  252. package/dist/index211.js.map +1 -0
  253. package/dist/index212.js +9 -0
  254. package/dist/index212.js.map +1 -0
  255. package/dist/index213.js +9 -0
  256. package/dist/index213.js.map +1 -0
  257. package/dist/index214.js +62 -0
  258. package/dist/index214.js.map +1 -0
  259. package/dist/index215.js +70 -0
  260. package/dist/index215.js.map +1 -0
  261. package/dist/index216.js +10 -0
  262. package/dist/index216.js.map +1 -0
  263. package/dist/index217.js +8 -0
  264. package/dist/index217.js.map +1 -0
  265. package/dist/index218.js +11 -0
  266. package/dist/index218.js.map +1 -0
  267. package/dist/index219.js +21 -0
  268. package/dist/index219.js.map +1 -0
  269. package/dist/index22.js +38 -0
  270. package/dist/index22.js.map +1 -0
  271. package/dist/index220.js +9 -0
  272. package/dist/index220.js.map +1 -0
  273. package/dist/index221.js +9 -0
  274. package/dist/index221.js.map +1 -0
  275. package/dist/index222.js +17 -0
  276. package/dist/index222.js.map +1 -0
  277. package/dist/index223.js +14 -0
  278. package/dist/index223.js.map +1 -0
  279. package/dist/index224.js +18 -0
  280. package/dist/index224.js.map +1 -0
  281. package/dist/index225.js +18 -0
  282. package/dist/index225.js.map +1 -0
  283. package/dist/index226.js +9 -0
  284. package/dist/index226.js.map +1 -0
  285. package/dist/index227.js +10 -0
  286. package/dist/index227.js.map +1 -0
  287. package/dist/index228.js +11 -0
  288. package/dist/index228.js.map +1 -0
  289. package/dist/index229.js +10 -0
  290. package/dist/index229.js.map +1 -0
  291. package/dist/index23.js +272 -0
  292. package/dist/index23.js.map +1 -0
  293. package/dist/index230.js +13 -0
  294. package/dist/index230.js.map +1 -0
  295. package/dist/index231.js +9 -0
  296. package/dist/index231.js.map +1 -0
  297. package/dist/index232.js +9 -0
  298. package/dist/index232.js.map +1 -0
  299. package/dist/index233.js +13 -0
  300. package/dist/index233.js.map +1 -0
  301. package/dist/index234.js +9 -0
  302. package/dist/index234.js.map +1 -0
  303. package/dist/index235.js +9 -0
  304. package/dist/index235.js.map +1 -0
  305. package/dist/index236.js +8 -0
  306. package/dist/index236.js.map +1 -0
  307. package/dist/index237.js +15 -0
  308. package/dist/index237.js.map +1 -0
  309. package/dist/index238.js +14 -0
  310. package/dist/index238.js.map +1 -0
  311. package/dist/index239.js +14 -0
  312. package/dist/index239.js.map +1 -0
  313. package/dist/index24.js +184 -0
  314. package/dist/index24.js.map +1 -0
  315. package/dist/index240.js +15 -0
  316. package/dist/index240.js.map +1 -0
  317. package/dist/index241.js +15 -0
  318. package/dist/index241.js.map +1 -0
  319. package/dist/index242.js +14 -0
  320. package/dist/index242.js.map +1 -0
  321. package/dist/index243.js +11 -0
  322. package/dist/index243.js.map +1 -0
  323. package/dist/index244.js +10 -0
  324. package/dist/index244.js.map +1 -0
  325. package/dist/index245.js +9 -0
  326. package/dist/index245.js.map +1 -0
  327. package/dist/index246.js +10 -0
  328. package/dist/index246.js.map +1 -0
  329. package/dist/index247.js +11 -0
  330. package/dist/index247.js.map +1 -0
  331. package/dist/index248.js +10 -0
  332. package/dist/index248.js.map +1 -0
  333. package/dist/index249.js +59 -0
  334. package/dist/index249.js.map +1 -0
  335. package/dist/index25.js +18 -0
  336. package/dist/index25.js.map +1 -0
  337. package/dist/index250.js +12 -0
  338. package/dist/index250.js.map +1 -0
  339. package/dist/index251.js +23 -0
  340. package/dist/index251.js.map +1 -0
  341. package/dist/index252.js +27 -0
  342. package/dist/index252.js.map +1 -0
  343. package/dist/index253.js +20 -0
  344. package/dist/index253.js.map +1 -0
  345. package/dist/index254.js +11 -0
  346. package/dist/index254.js.map +1 -0
  347. package/dist/index255.js +14 -0
  348. package/dist/index255.js.map +1 -0
  349. package/dist/index256.js +14 -0
  350. package/dist/index256.js.map +1 -0
  351. package/dist/index257.js +25 -0
  352. package/dist/index257.js.map +1 -0
  353. package/dist/index258.js +14 -0
  354. package/dist/index258.js.map +1 -0
  355. package/dist/index259.js +13 -0
  356. package/dist/index259.js.map +1 -0
  357. package/dist/index26.js +2766 -0
  358. package/dist/index26.js.map +1 -0
  359. package/dist/index260.js +13 -0
  360. package/dist/index260.js.map +1 -0
  361. package/dist/index261.js +8 -0
  362. package/dist/index261.js.map +1 -0
  363. package/dist/index262.js +9 -0
  364. package/dist/index262.js.map +1 -0
  365. package/dist/index263.js +20 -0
  366. package/dist/index263.js.map +1 -0
  367. package/dist/index264.js +13 -0
  368. package/dist/index264.js.map +1 -0
  369. package/dist/index265.js +22 -0
  370. package/dist/index265.js.map +1 -0
  371. package/dist/index266.js +19 -0
  372. package/dist/index266.js.map +1 -0
  373. package/dist/index267.js +16 -0
  374. package/dist/index267.js.map +1 -0
  375. package/dist/index268.js +33 -0
  376. package/dist/index268.js.map +1 -0
  377. package/dist/index269.js +16 -0
  378. package/dist/index269.js.map +1 -0
  379. package/dist/index27.js +40 -0
  380. package/dist/index27.js.map +1 -0
  381. package/dist/index270.js +29 -0
  382. package/dist/index270.js.map +1 -0
  383. package/dist/index271.js +9 -0
  384. package/dist/index271.js.map +1 -0
  385. package/dist/index272.js +68 -0
  386. package/dist/index272.js.map +1 -0
  387. package/dist/index273.js +52 -0
  388. package/dist/index273.js.map +1 -0
  389. package/dist/index274.js +43 -0
  390. package/dist/index274.js.map +1 -0
  391. package/dist/index275.js +104 -0
  392. package/dist/index275.js.map +1 -0
  393. package/dist/index276.js +101 -0
  394. package/dist/index276.js.map +1 -0
  395. package/dist/index277.js +103 -0
  396. package/dist/index277.js.map +1 -0
  397. package/dist/index278.js +7 -0
  398. package/dist/index278.js.map +1 -0
  399. package/dist/index279.js +71 -0
  400. package/dist/index279.js.map +1 -0
  401. package/dist/index28.js +6 -0
  402. package/dist/index28.js.map +1 -0
  403. package/dist/index280.js +184 -0
  404. package/dist/index280.js.map +1 -0
  405. package/dist/index281.js +50 -0
  406. package/dist/index281.js.map +1 -0
  407. package/dist/index282.js +28 -0
  408. package/dist/index282.js.map +1 -0
  409. package/dist/index283.js +32 -0
  410. package/dist/index283.js.map +1 -0
  411. package/dist/index284.js +8 -0
  412. package/dist/index284.js.map +1 -0
  413. package/dist/index285.js +17 -0
  414. package/dist/index285.js.map +1 -0
  415. package/dist/index286.js +158 -0
  416. package/dist/index286.js.map +1 -0
  417. package/dist/index287.js +34 -0
  418. package/dist/index287.js.map +1 -0
  419. package/dist/index288.js +13 -0
  420. package/dist/index288.js.map +1 -0
  421. package/dist/index289.js +51 -0
  422. package/dist/index289.js.map +1 -0
  423. package/dist/index29.js +51 -0
  424. package/dist/index29.js.map +1 -0
  425. package/dist/index290.js +15 -0
  426. package/dist/index290.js.map +1 -0
  427. package/dist/index291.js +48 -0
  428. package/dist/index291.js.map +1 -0
  429. package/dist/index292.js +99 -0
  430. package/dist/index292.js.map +1 -0
  431. package/dist/index293.js +90 -0
  432. package/dist/index293.js.map +1 -0
  433. package/dist/index294.js +109 -0
  434. package/dist/index294.js.map +1 -0
  435. package/dist/index295.js +56 -0
  436. package/dist/index295.js.map +1 -0
  437. package/dist/index296.js +15 -0
  438. package/dist/index296.js.map +1 -0
  439. package/dist/index297.js +41 -0
  440. package/dist/index297.js.map +1 -0
  441. package/dist/index298.js +12 -0
  442. package/dist/index298.js.map +1 -0
  443. package/dist/index299.js +120 -0
  444. package/dist/index299.js.map +1 -0
  445. package/dist/index3.js +5 -0
  446. package/dist/index3.js.map +1 -0
  447. package/dist/index30.js +223 -0
  448. package/dist/index30.js.map +1 -0
  449. package/dist/index300.js +21 -0
  450. package/dist/index300.js.map +1 -0
  451. package/dist/index301.js +19 -0
  452. package/dist/index301.js.map +1 -0
  453. package/dist/index302.js +7 -0
  454. package/dist/index302.js.map +1 -0
  455. package/dist/index303.js +40 -0
  456. package/dist/index303.js.map +1 -0
  457. package/dist/index304.js +24 -0
  458. package/dist/index304.js.map +1 -0
  459. package/dist/index305.js +13 -0
  460. package/dist/index305.js.map +1 -0
  461. package/dist/index306.js +12 -0
  462. package/dist/index306.js.map +1 -0
  463. package/dist/index307.js +23 -0
  464. package/dist/index307.js.map +1 -0
  465. package/dist/index308.js +32 -0
  466. package/dist/index308.js.map +1 -0
  467. package/dist/index309.js +20 -0
  468. package/dist/index309.js.map +1 -0
  469. package/dist/index31.js +47 -0
  470. package/dist/index31.js.map +1 -0
  471. package/dist/index310.js +5 -0
  472. package/dist/index310.js.map +1 -0
  473. package/dist/index311.js +5 -0
  474. package/dist/index311.js.map +1 -0
  475. package/dist/index312.js +8 -0
  476. package/dist/index312.js.map +1 -0
  477. package/dist/index313.js +22 -0
  478. package/dist/index313.js.map +1 -0
  479. package/dist/index314.js +16 -0
  480. package/dist/index314.js.map +1 -0
  481. package/dist/index315.js +8 -0
  482. package/dist/index315.js.map +1 -0
  483. package/dist/index316.js +6 -0
  484. package/dist/index316.js.map +1 -0
  485. package/dist/index317.js +27 -0
  486. package/dist/index317.js.map +1 -0
  487. package/dist/index318.js +116 -0
  488. package/dist/index318.js.map +1 -0
  489. package/dist/index319.js +19 -0
  490. package/dist/index319.js.map +1 -0
  491. package/dist/index32.js +44 -0
  492. package/dist/index32.js.map +1 -0
  493. package/dist/index320.js +528 -0
  494. package/dist/index320.js.map +1 -0
  495. package/dist/index321.js +131 -0
  496. package/dist/index321.js.map +1 -0
  497. package/dist/index322.js +137 -0
  498. package/dist/index322.js.map +1 -0
  499. package/dist/index323.js +24 -0
  500. package/dist/index323.js.map +1 -0
  501. package/dist/index324.js +9 -0
  502. package/dist/index324.js.map +1 -0
  503. package/dist/index325.js +9 -0
  504. package/dist/index325.js.map +1 -0
  505. package/dist/index326.js +7 -0
  506. package/dist/index326.js.map +1 -0
  507. package/dist/index327.js +19 -0
  508. package/dist/index327.js.map +1 -0
  509. package/dist/index328.js +12 -0
  510. package/dist/index328.js.map +1 -0
  511. package/dist/index329.js +9 -0
  512. package/dist/index329.js.map +1 -0
  513. package/dist/index33.js +32 -0
  514. package/dist/index33.js.map +1 -0
  515. package/dist/index330.js +8 -0
  516. package/dist/index330.js.map +1 -0
  517. package/dist/index331.js +549 -0
  518. package/dist/index331.js.map +1 -0
  519. package/dist/index332.js +50 -0
  520. package/dist/index332.js.map +1 -0
  521. package/dist/index333.js +21 -0
  522. package/dist/index333.js.map +1 -0
  523. package/dist/index334.js +10 -0
  524. package/dist/index334.js.map +1 -0
  525. package/dist/index335.js +12 -0
  526. package/dist/index335.js.map +1 -0
  527. package/dist/index336.js +11 -0
  528. package/dist/index336.js.map +1 -0
  529. package/dist/index337.js +12 -0
  530. package/dist/index337.js.map +1 -0
  531. package/dist/index338.js +16 -0
  532. package/dist/index338.js.map +1 -0
  533. package/dist/index339.js +13 -0
  534. package/dist/index339.js.map +1 -0
  535. package/dist/index34.js +49 -0
  536. package/dist/index34.js.map +1 -0
  537. package/dist/index340.js +17 -0
  538. package/dist/index340.js.map +1 -0
  539. package/dist/index341.js +72 -0
  540. package/dist/index341.js.map +1 -0
  541. package/dist/index342.js +12 -0
  542. package/dist/index342.js.map +1 -0
  543. package/dist/index343.js +17 -0
  544. package/dist/index343.js.map +1 -0
  545. package/dist/index344.js +69 -0
  546. package/dist/index344.js.map +1 -0
  547. package/dist/index345.js +68 -0
  548. package/dist/index345.js.map +1 -0
  549. package/dist/index346.js +8 -0
  550. package/dist/index346.js.map +1 -0
  551. package/dist/index347.js +59 -0
  552. package/dist/index347.js.map +1 -0
  553. package/dist/index348.js +71 -0
  554. package/dist/index348.js.map +1 -0
  555. package/dist/index349.js +34 -0
  556. package/dist/index349.js.map +1 -0
  557. package/dist/index35.js +35 -0
  558. package/dist/index35.js.map +1 -0
  559. package/dist/index350.js +12 -0
  560. package/dist/index350.js.map +1 -0
  561. package/dist/index351.js +156 -0
  562. package/dist/index351.js.map +1 -0
  563. package/dist/index352.js +111 -0
  564. package/dist/index352.js.map +1 -0
  565. package/dist/index353.js +7 -0
  566. package/dist/index353.js.map +1 -0
  567. package/dist/index354.js +26 -0
  568. package/dist/index354.js.map +1 -0
  569. package/dist/index355.js +19 -0
  570. package/dist/index355.js.map +1 -0
  571. package/dist/index356.js +32 -0
  572. package/dist/index356.js.map +1 -0
  573. package/dist/index357.js +16 -0
  574. package/dist/index357.js.map +1 -0
  575. package/dist/index358.js +10 -0
  576. package/dist/index358.js.map +1 -0
  577. package/dist/index359.js +26 -0
  578. package/dist/index359.js.map +1 -0
  579. package/dist/index36.js +31 -0
  580. package/dist/index36.js.map +1 -0
  581. package/dist/index360.js +16 -0
  582. package/dist/index360.js.map +1 -0
  583. package/dist/index361.js +31 -0
  584. package/dist/index361.js.map +1 -0
  585. package/dist/index362.js +8 -0
  586. package/dist/index362.js.map +1 -0
  587. package/dist/index37.js +26 -0
  588. package/dist/index37.js.map +1 -0
  589. package/dist/index38.js +132 -0
  590. package/dist/index38.js.map +1 -0
  591. package/dist/index39.js +235 -0
  592. package/dist/index39.js.map +1 -0
  593. package/dist/index4.js +27 -0
  594. package/dist/index4.js.map +1 -0
  595. package/dist/index40.js +54 -0
  596. package/dist/index40.js.map +1 -0
  597. package/dist/index41.js +2644 -0
  598. package/dist/index41.js.map +1 -0
  599. package/dist/index42.js +397 -0
  600. package/dist/index42.js.map +1 -0
  601. package/dist/index43.js +236 -0
  602. package/dist/index43.js.map +1 -0
  603. package/dist/index44.js +25 -0
  604. package/dist/index44.js.map +1 -0
  605. package/dist/index45.js +145 -0
  606. package/dist/index45.js.map +1 -0
  607. package/dist/index46.js +190 -0
  608. package/dist/index46.js.map +1 -0
  609. package/dist/index47.js +80 -0
  610. package/dist/index47.js.map +1 -0
  611. package/dist/index48.js +94 -0
  612. package/dist/index48.js.map +1 -0
  613. package/dist/index49.js +9 -0
  614. package/dist/index49.js.map +1 -0
  615. package/dist/index5.js +48 -0
  616. package/dist/index5.js.map +1 -0
  617. package/dist/index50.js +847 -0
  618. package/dist/index50.js.map +1 -0
  619. package/dist/index51.js +69 -0
  620. package/dist/index51.js.map +1 -0
  621. package/dist/index52.js +11 -0
  622. package/dist/index52.js.map +1 -0
  623. package/dist/index53.js +5 -0
  624. package/dist/index53.js.map +1 -0
  625. package/dist/index54.js +27 -0
  626. package/dist/index54.js.map +1 -0
  627. package/dist/index55.js +237 -0
  628. package/dist/index55.js.map +1 -0
  629. package/dist/index56.js +208 -0
  630. package/dist/index56.js.map +1 -0
  631. package/dist/index57.js +7 -0
  632. package/dist/index57.js.map +1 -0
  633. package/dist/index58.js +10 -0
  634. package/dist/index58.js.map +1 -0
  635. package/dist/index59.js +51 -0
  636. package/dist/index59.js.map +1 -0
  637. package/dist/index6.js +33 -0
  638. package/dist/index6.js.map +1 -0
  639. package/dist/index60.js +30 -0
  640. package/dist/index60.js.map +1 -0
  641. package/dist/index61.js +54 -0
  642. package/dist/index61.js.map +1 -0
  643. package/dist/index62.js +11 -0
  644. package/dist/index62.js.map +1 -0
  645. package/dist/index63.js +128 -0
  646. package/dist/index63.js.map +1 -0
  647. package/dist/index64.js +18 -0
  648. package/dist/index64.js.map +1 -0
  649. package/dist/index65.js +137 -0
  650. package/dist/index65.js.map +1 -0
  651. package/dist/index66.js +14 -0
  652. package/dist/index66.js.map +1 -0
  653. package/dist/index67.js +220 -0
  654. package/dist/index67.js.map +1 -0
  655. package/dist/index68.js +16 -0
  656. package/dist/index68.js.map +1 -0
  657. package/dist/index69.js +37 -0
  658. package/dist/index69.js.map +1 -0
  659. package/dist/index7.js +36 -0
  660. package/dist/index7.js.map +1 -0
  661. package/dist/index70.js +50 -0
  662. package/dist/index70.js.map +1 -0
  663. package/dist/index71.js +11 -0
  664. package/dist/index71.js.map +1 -0
  665. package/dist/index72.js +53 -0
  666. package/dist/index72.js.map +1 -0
  667. package/dist/index73.js +7 -0
  668. package/dist/index73.js.map +1 -0
  669. package/dist/index74.js +9 -0
  670. package/dist/index74.js.map +1 -0
  671. package/dist/index75.js +31 -0
  672. package/dist/index75.js.map +1 -0
  673. package/dist/index76.js +53 -0
  674. package/dist/index76.js.map +1 -0
  675. package/dist/index77.js +12 -0
  676. package/dist/index77.js.map +1 -0
  677. package/dist/index78.js +57 -0
  678. package/dist/index78.js.map +1 -0
  679. package/dist/index79.js +9 -0
  680. package/dist/index79.js.map +1 -0
  681. package/dist/index8.js +230 -0
  682. package/dist/index8.js.map +1 -0
  683. package/dist/index80.js +11 -0
  684. package/dist/index80.js.map +1 -0
  685. package/dist/index81.js +9 -0
  686. package/dist/index81.js.map +1 -0
  687. package/dist/index82.js +5 -0
  688. package/dist/index82.js.map +1 -0
  689. package/dist/index83.js +5 -0
  690. package/dist/index83.js.map +1 -0
  691. package/dist/index84.js +55 -0
  692. package/dist/index84.js.map +1 -0
  693. package/dist/index85.js +8 -0
  694. package/dist/index85.js.map +1 -0
  695. package/dist/index86.js +8 -0
  696. package/dist/index86.js.map +1 -0
  697. package/dist/index87.js +19 -0
  698. package/dist/index87.js.map +1 -0
  699. package/dist/index88.js +9 -0
  700. package/dist/index88.js.map +1 -0
  701. package/dist/index89.js +11 -0
  702. package/dist/index89.js.map +1 -0
  703. package/dist/index9.js +27 -0
  704. package/dist/index9.js.map +1 -0
  705. package/dist/index90.js +20 -0
  706. package/dist/index90.js.map +1 -0
  707. package/dist/index91.js +8 -0
  708. package/dist/index91.js.map +1 -0
  709. package/dist/index92.js +8 -0
  710. package/dist/index92.js.map +1 -0
  711. package/dist/index93.js +9 -0
  712. package/dist/index93.js.map +1 -0
  713. package/dist/index94.js +9 -0
  714. package/dist/index94.js.map +1 -0
  715. package/dist/index95.js +8 -0
  716. package/dist/index95.js.map +1 -0
  717. package/dist/index96.js +8 -0
  718. package/dist/index96.js.map +1 -0
  719. package/dist/index97.js +10 -0
  720. package/dist/index97.js.map +1 -0
  721. package/dist/index98.js +28 -0
  722. package/dist/index98.js.map +1 -0
  723. package/dist/index99.js +10 -0
  724. package/dist/index99.js.map +1 -0
  725. package/package.json +4 -1
package/dist/index8.js ADDED
@@ -0,0 +1,230 @@
1
+ import { j as o } from "./index28.js";
2
+ import { useState as k, useRef as x, useMemo as V, useEffect as N } from "react";
3
+ import { clsx as X } from "./index25.js";
4
+ import { useMapsLibrary as Z } from "./index5.js";
5
+ import { Input as ee } from "./index16.js";
6
+ import { cn as te } from "./index2.js";
7
+ const re = /* @__PURE__ */ new Set([
8
+ "street_address",
9
+ "route",
10
+ "premise",
11
+ "subpremise",
12
+ "intersection",
13
+ "sublocality",
14
+ "sublocality_level_1",
15
+ "sublocality_level_2",
16
+ "sublocality_level_3",
17
+ "sublocality_level_4",
18
+ "sublocality_level_5",
19
+ "administrative_area_level_1",
20
+ "administrative_area_level_2",
21
+ "administrative_area_level_3",
22
+ "administrative_area_level_4",
23
+ "administrative_area_level_5",
24
+ "administrative_area_level_6",
25
+ "administrative_area_level_7",
26
+ "postal_code",
27
+ "locality",
28
+ "country",
29
+ "geocode",
30
+ "plus_code",
31
+ "political",
32
+ "neighborhood",
33
+ "colloquial_area",
34
+ "lodging",
35
+ "train_station",
36
+ "transit_station"
37
+ ]), U = (r) => (r.text?.text ?? "").replace(/, France$/, "").trim(), ne = ({ prediction: r }) => {
38
+ const t = U(r), l = r.text?.text ?? "", s = r.text?.matches ?? [], a = t.length < l.length;
39
+ if (s.length === 0)
40
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: t });
41
+ const d = [];
42
+ let u = 0;
43
+ return s.forEach((b, O) => {
44
+ if (a && b.startOffset >= t.length)
45
+ return;
46
+ const _ = b.startOffset, p = Math.min(b.endOffset, t.length);
47
+ if (_ > u && d.push(t.substring(u, _)), p > _) {
48
+ const w = t.substring(_, p);
49
+ d.push(/* @__PURE__ */ o.jsx("strong", { children: w }, O));
50
+ }
51
+ u = Math.max(u, p);
52
+ }), u < t.length && d.push(t.substring(u)), d.length === 0 ? /* @__PURE__ */ o.jsx(o.Fragment, { children: t }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: d });
53
+ }, se = (r, t) => !r.types || r.types.length === 0 || !t || t.size === 0 ? !0 : r.types.some((l) => t.has(l)), oe = (r, t) => r.placeId || `${r.text?.text ?? "prediction"}-${t}`, le = (r) => {
54
+ const t = /* @__PURE__ */ new Map();
55
+ return r.forEach((l) => {
56
+ const s = l.placeId;
57
+ s && (t.has(s) || t.set(s, l));
58
+ }), Array.from(t.values());
59
+ }, ie = (r, t) => r.filter((l) => se(l, t)), ce = (r) => r.sort((t, l) => {
60
+ const s = t.distanceMeters ?? Number.POSITIVE_INFINITY, a = l.distanceMeters ?? Number.POSITIVE_INFINITY;
61
+ return s - a;
62
+ }), ae = (r, t) => ce(ie(le(r), t)), ue = (r, t) => U(r).toLowerCase() === t.trim().toLowerCase(), xe = ({
63
+ id: r,
64
+ label: t,
65
+ placeholder: l,
66
+ value: s,
67
+ onValueChange: a,
68
+ disabled: d,
69
+ name: u,
70
+ className: b,
71
+ autofillShimName: O,
72
+ googleMapsApiKey: _,
73
+ locationRestriction: p,
74
+ allowedTypes: w
75
+ }) => {
76
+ const [f, F] = k(s ?? ""), [c, h] = k([]), [E, i] = k(!1), [g, M] = k(-1), L = x(null), P = x(null), R = x(!1), S = x(!1), m = x(null), B = x([]), y = x("smooth"), $ = Z("places", _), q = V(() => {
77
+ if (!w)
78
+ return re;
79
+ const e = /* @__PURE__ */ new Set();
80
+ for (const n of w)
81
+ e.add(n);
82
+ return e;
83
+ }, [w]);
84
+ N(() => {
85
+ F(s ?? ""), S.current = !1;
86
+ }, [s]), N(() => {
87
+ if (R.current) {
88
+ R.current = !1;
89
+ return;
90
+ }
91
+ let e = !0;
92
+ const n = setTimeout(() => {
93
+ if (!e)
94
+ return;
95
+ if (f.trim() === "") {
96
+ h([]), i(!1), m.current = null, s !== "" && a("");
97
+ return;
98
+ }
99
+ if (!$) return;
100
+ const { AutocompleteSuggestion: I, AutocompleteSessionToken: j } = $;
101
+ if (!I || !j) {
102
+ console.error("AddressAutocompleteInput: missing AutocompleteSuggestion or AutocompleteSessionToken exports"), h([]), i(!1);
103
+ return;
104
+ }
105
+ m.current || (m.current = new j());
106
+ const A = {
107
+ input: f,
108
+ sessionToken: m.current ?? void 0,
109
+ includedRegionCodes: ["fr"]
110
+ };
111
+ p && (A.locationRestriction = p), I.fetchAutocompleteSuggestions(A).then((T) => {
112
+ if (!e)
113
+ return;
114
+ const J = T.suggestions.map((C) => C.placePrediction).filter((C) => !!C), D = ae(J, q), z = D[0], Q = z && D.length === 1 && ue(z, f);
115
+ if (!S.current && Q) {
116
+ h(D), i(!1);
117
+ return;
118
+ }
119
+ D.length > 0 ? (h(D), S.current && i(!0), M(-1)) : (h([]), i(!1));
120
+ }).catch((T) => {
121
+ e && (console.error("AddressAutocompleteInput: suggestion fetch failed", T), h([]), i(!1));
122
+ });
123
+ }, 300);
124
+ return () => {
125
+ e = !1, clearTimeout(n);
126
+ };
127
+ }, [f, $, a, s, p, q]), N(() => {
128
+ const e = (n) => {
129
+ L.current && !L.current.contains(n.target) && P.current && !P.current.contains(n.target) && i(!1);
130
+ };
131
+ return document.addEventListener("mousedown", e), () => {
132
+ document.removeEventListener("mousedown", e);
133
+ };
134
+ }, []);
135
+ const H = (e) => {
136
+ R.current = !0;
137
+ const n = U(e);
138
+ F(n), a(n), h([]), i(!1), m.current = null;
139
+ }, K = (e) => {
140
+ S.current = !0, F(e.target.value);
141
+ }, W = (e) => {
142
+ if (!E || c.length === 0) {
143
+ e.key === "Enter" && (e.preventDefault(), a(f), i(!1), m.current = null);
144
+ return;
145
+ }
146
+ e.key === "ArrowDown" ? (y.current = e.repeat ? "auto" : "smooth", e.preventDefault(), M((n) => c.length === 0 ? -1 : n < 0 ? 0 : (n + 1) % c.length)) : e.key === "ArrowUp" ? (y.current = e.repeat ? "auto" : "smooth", e.preventDefault(), M((n) => c.length === 0 ? -1 : n <= 0 ? c.length - 1 : (n - 1) % c.length)) : e.key === "Enter" ? (e.preventDefault(), g > -1 && c[g] ? H(c[g]) : (a(f), i(!1), m.current = null)) : e.key === "Escape" && i(!1);
147
+ }, G = () => {
148
+ i(!1), s !== f && a(f), m.current = null;
149
+ }, Y = O ?? (u ? `${u}_shim` : void 0);
150
+ return N(() => {
151
+ if (!E || g < 0) {
152
+ y.current = "smooth";
153
+ return;
154
+ }
155
+ const e = B.current[g], n = P.current;
156
+ if (!e || !n) {
157
+ y.current = "smooth";
158
+ return;
159
+ }
160
+ const v = y.current;
161
+ y.current = "smooth";
162
+ const I = e.offsetTop, j = I + e.offsetHeight, A = n.scrollTop, T = A + n.clientHeight;
163
+ I >= A && j <= T || e.scrollIntoView({
164
+ block: "nearest",
165
+ behavior: v
166
+ });
167
+ }, [g, E]), B.current.length = c.length, /* @__PURE__ */ o.jsxs("div", { className: "relative", children: [
168
+ Y && /* @__PURE__ */ o.jsx(
169
+ "input",
170
+ {
171
+ tabIndex: -1,
172
+ autoComplete: "street-address",
173
+ name: Y,
174
+ "aria-hidden": "true",
175
+ className: "pointer-events-none absolute left-0 top-0 h-0 w-0 opacity-0"
176
+ }
177
+ ),
178
+ /* @__PURE__ */ o.jsx("label", { htmlFor: r, className: "text-left block text-sm font-medium text-gray-700 mb-1 cursor-pointer", children: t }),
179
+ /* @__PURE__ */ o.jsx(
180
+ ee,
181
+ {
182
+ ref: L,
183
+ id: r,
184
+ type: "text",
185
+ placeholder: l,
186
+ name: u ?? `${r}_input`,
187
+ value: f,
188
+ onChange: K,
189
+ onKeyDown: W,
190
+ onFocus: () => {
191
+ c.length > 0 && f && i(!0);
192
+ },
193
+ onBlur: G,
194
+ disabled: d,
195
+ autoComplete: "off",
196
+ className: te("w-full", b)
197
+ }
198
+ ),
199
+ E && c.length > 0 && /* @__PURE__ */ o.jsx(
200
+ "ul",
201
+ {
202
+ ref: P,
203
+ className: "absolute z-10 mt-1 w-full max-h-60 overflow-y-auto rounded-md border border-gray-200 bg-white text-left shadow-lg",
204
+ role: "listbox",
205
+ children: c.map((e, n) => /* @__PURE__ */ o.jsx(
206
+ "li",
207
+ {
208
+ ref: (v) => {
209
+ B.current[n] = v;
210
+ },
211
+ className: X(
212
+ "cursor-pointer px-3 py-2 text-sm text-gray-700 hover:bg-gray-100",
213
+ { "bg-gray-100": g === n }
214
+ ),
215
+ role: "option",
216
+ onMouseDown: (v) => {
217
+ v.preventDefault(), H(e);
218
+ },
219
+ children: /* @__PURE__ */ o.jsx(ne, { prediction: e })
220
+ },
221
+ oe(e, n)
222
+ ))
223
+ }
224
+ )
225
+ ] });
226
+ };
227
+ export {
228
+ xe as AddressAutocompleteInput
229
+ };
230
+ //# sourceMappingURL=index8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index8.js","sources":["../src/components/AddressAutocompleteInput/index.tsx"],"sourcesContent":["import { ReactNode, ChangeEvent, KeyboardEvent, useState, useEffect, useRef, useMemo } from \"react\"\nimport clsx from \"clsx\"\n\nimport { useMapsLibrary } from \"@/helpers/useMapsLibrary\"\nimport { Input } from \"@/components/Input\"\nimport { cn } from \"@/lib/utils\"\n\n\nconst DEFAULT_ALLOWED_TYPES = new Set([\n \"street_address\",\n \"route\",\n \"premise\",\n \"subpremise\",\n \"intersection\",\n \"sublocality\",\n \"sublocality_level_1\",\n \"sublocality_level_2\",\n \"sublocality_level_3\",\n \"sublocality_level_4\",\n \"sublocality_level_5\",\n \"administrative_area_level_1\",\n \"administrative_area_level_2\",\n \"administrative_area_level_3\",\n \"administrative_area_level_4\",\n \"administrative_area_level_5\",\n \"administrative_area_level_6\",\n \"administrative_area_level_7\",\n \"postal_code\",\n \"locality\",\n \"country\",\n \"geocode\",\n \"plus_code\",\n \"political\",\n \"neighborhood\",\n \"colloquial_area\",\n \"lodging\",\n \"train_station\",\n \"transit_station\",\n])\n\nconst getDisplayText = (prediction: google.maps.places.PlacePrediction) => {\n const fullText = prediction.text?.text ?? \"\"\n return fullText.replace(/, France$/, \"\").trim()\n}\n\nconst PredictionItem = ({ prediction }: { prediction: google.maps.places.PlacePrediction }) => {\n const displayText = getDisplayText(prediction)\n const fullText = prediction.text?.text ?? \"\"\n const matches = prediction.text?.matches ?? []\n const wasCountryRemoved = displayText.length < fullText.length\n\n if (matches.length === 0) {\n return <>{displayText}</>\n }\n\n const parts: ReactNode[] = []\n let lastIndex = 0\n\n matches.forEach((substring, index) => {\n if (wasCountryRemoved && substring.startOffset >= displayText.length) {\n return\n }\n\n const startOffset = substring.startOffset\n const endOffset = Math.min(substring.endOffset, displayText.length)\n\n if (startOffset > lastIndex) {\n parts.push(displayText.substring(lastIndex, startOffset))\n }\n\n if (endOffset > startOffset) {\n const matched = displayText.substring(startOffset, endOffset)\n parts.push(<strong key={index}>{matched}</strong>)\n }\n\n lastIndex = Math.max(lastIndex, endOffset)\n })\n\n if (lastIndex < displayText.length) {\n parts.push(displayText.substring(lastIndex))\n }\n\n if (parts.length === 0) {\n return <>{displayText}</>\n }\n\n return <>{parts}</>\n}\n\nconst isAllowedPrediction = (\n prediction: google.maps.places.PlacePrediction,\n allowedTypes: ReadonlySet<string> | null,\n) => {\n if (!prediction.types || prediction.types.length === 0) {\n return true\n }\n\n if (!allowedTypes || allowedTypes.size === 0) {\n return true\n }\n\n return prediction.types.some(type => allowedTypes.has(type))\n}\n\nconst getPredictionId = (prediction: google.maps.places.PlacePrediction, index: number) =>\n prediction.placeId || `${prediction.text?.text ?? \"prediction\"}-${index}`\n\nconst getUniquePredictions = (predictions: google.maps.places.PlacePrediction[]) => {\n const map = new Map<string, google.maps.places.PlacePrediction>()\n\n predictions.forEach(prediction => {\n const key = prediction.placeId\n\n if (!key) {\n return\n }\n\n if (!map.has(key)) {\n map.set(key, prediction)\n }\n })\n\n return Array.from(map.values())\n}\n\nconst getFilteredPredictions = (\n predictions: google.maps.places.PlacePrediction[],\n allowedTypes: ReadonlySet<string> | null,\n) => predictions.filter(prediction => isAllowedPrediction(prediction, allowedTypes))\n\nconst sortPredictions = (predictions: google.maps.places.PlacePrediction[]) =>\n predictions.sort((a, b) => {\n const aDistance = a.distanceMeters ?? Number.POSITIVE_INFINITY\n const bDistance = b.distanceMeters ?? Number.POSITIVE_INFINITY\n\n return aDistance - bDistance\n })\n\nconst buildDisplayPredictions = (\n predictions: google.maps.places.PlacePrediction[],\n allowedTypes: ReadonlySet<string> | null,\n) => sortPredictions(getFilteredPredictions(getUniquePredictions(predictions), allowedTypes))\n\nconst isExactMatch = (prediction: google.maps.places.PlacePrediction, value: string) => {\n const display = getDisplayText(prediction)\n return display.toLowerCase() === value.trim().toLowerCase()\n}\n\nexport const AddressAutocompleteInput = ({\n id,\n label,\n placeholder,\n value,\n onValueChange,\n disabled,\n name,\n className,\n autofillShimName,\n googleMapsApiKey,\n locationRestriction,\n allowedTypes,\n}: {\n id: string\n label: string\n placeholder: string\n value: string | undefined\n onValueChange: (value: string) => void\n disabled?: boolean\n name?: string\n className?: string\n autofillShimName?: string\n googleMapsApiKey?: string\n locationRestriction?: google.maps.LatLngBoundsLiteral | google.maps.LatLngBounds\n allowedTypes?: Iterable<string>\n}) => {\n const [inputValue, setInputValue] = useState(value ?? \"\")\n const [predictions, setPredictions] = useState<google.maps.places.PlacePrediction[]>([])\n const [isDropdownOpen, setIsDropdownOpen] = useState(false)\n const [highlightedIndex, setHighlightedIndex] = useState(-1)\n\n const inputRef = useRef<HTMLInputElement>(null)\n const dropdownRef = useRef<HTMLUListElement>(null)\n const isSelecting = useRef(false)\n const hasUserTyped = useRef(false)\n const sessionTokenRef = useRef<google.maps.places.AutocompleteSessionToken | null>(null)\n const optionRefs = useRef<(HTMLLIElement | null)[]>([])\n const scrollBehaviorRef = useRef<ScrollBehavior>(\"smooth\")\n const placesLibrary = useMapsLibrary(\"places\", googleMapsApiKey)\n const allowedTypesSet = useMemo(() => {\n if (!allowedTypes) {\n return DEFAULT_ALLOWED_TYPES\n }\n\n const newSet = new Set<string>()\n for (const type of allowedTypes) {\n newSet.add(type)\n }\n return newSet\n }, [allowedTypes])\n\n useEffect(() => {\n setInputValue(value ?? \"\")\n hasUserTyped.current = false\n }, [value])\n\n useEffect(() => {\n if (isSelecting.current) {\n isSelecting.current = false\n return\n }\n\n let isActive = true\n\n const handler = setTimeout(() => {\n if (!isActive) {\n return\n }\n\n const trimmed = inputValue.trim()\n\n if (trimmed === \"\") {\n setPredictions([])\n setIsDropdownOpen(false)\n sessionTokenRef.current = null\n if (value !== \"\") {\n onValueChange(\"\")\n }\n return\n }\n\n if (!placesLibrary) return\n\n const { AutocompleteSuggestion, AutocompleteSessionToken } = placesLibrary\n\n if (!AutocompleteSuggestion || !AutocompleteSessionToken) {\n console.error(\"AddressAutocompleteInput: missing AutocompleteSuggestion or AutocompleteSessionToken exports\")\n setPredictions([])\n setIsDropdownOpen(false)\n return\n }\n\n if (!sessionTokenRef.current) {\n sessionTokenRef.current = new AutocompleteSessionToken()\n }\n\n const request: google.maps.places.AutocompleteRequest = {\n input: inputValue,\n sessionToken: sessionTokenRef.current ?? undefined,\n includedRegionCodes: [\"fr\"],\n }\n if (locationRestriction) {\n request.locationRestriction = locationRestriction\n }\n\n AutocompleteSuggestion.fetchAutocompleteSuggestions(request)\n .then((response: { suggestions: google.maps.places.AutocompleteSuggestion[] }) => {\n if (!isActive) {\n return\n }\n\n const placePredictions = response.suggestions\n .map((suggestion: google.maps.places.AutocompleteSuggestion) => suggestion.placePrediction)\n .filter((prediction): prediction is google.maps.places.PlacePrediction => Boolean(prediction))\n\n const combinedPredictions = buildDisplayPredictions(placePredictions, allowedTypesSet)\n\n const singlePrediction = combinedPredictions[0]\n const hasExactMatch =\n singlePrediction && combinedPredictions.length === 1 && isExactMatch(singlePrediction, inputValue)\n\n if (!hasUserTyped.current && hasExactMatch) {\n setPredictions(combinedPredictions)\n setIsDropdownOpen(false)\n return\n }\n\n if (combinedPredictions.length > 0) {\n setPredictions(combinedPredictions)\n if (hasUserTyped.current) {\n setIsDropdownOpen(true)\n }\n setHighlightedIndex(-1)\n } else {\n setPredictions([])\n setIsDropdownOpen(false)\n }\n })\n .catch((error: unknown) => {\n if (!isActive) {\n return\n }\n console.error(\"AddressAutocompleteInput: suggestion fetch failed\", error)\n setPredictions([])\n setIsDropdownOpen(false)\n })\n }, 300)\n\n return () => {\n isActive = false\n clearTimeout(handler)\n }\n }, [inputValue, placesLibrary, onValueChange, value, locationRestriction, allowedTypesSet])\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (\n inputRef.current &&\n !inputRef.current.contains(event.target as Node) &&\n dropdownRef.current &&\n !dropdownRef.current.contains(event.target as Node)\n ) {\n setIsDropdownOpen(false)\n }\n }\n document.addEventListener(\"mousedown\", handleClickOutside)\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside)\n }\n }, [])\n\n const handleSelectPrediction = (prediction: google.maps.places.PlacePrediction) => {\n isSelecting.current = true\n const newAddress = getDisplayText(prediction)\n setInputValue(newAddress)\n onValueChange(newAddress)\n setPredictions([])\n setIsDropdownOpen(false)\n sessionTokenRef.current = null\n }\n\n const handleInputChange = (e: ChangeEvent<HTMLInputElement>) => {\n hasUserTyped.current = true\n setInputValue(e.target.value)\n }\n\n const handleKeyDown = (e: KeyboardEvent<HTMLInputElement>) => {\n if (!isDropdownOpen || predictions.length === 0) {\n if (e.key === \"Enter\") {\n e.preventDefault()\n onValueChange(inputValue)\n setIsDropdownOpen(false)\n sessionTokenRef.current = null\n }\n return\n }\n\n if (e.key === \"ArrowDown\") {\n scrollBehaviorRef.current = e.repeat ? \"auto\" : \"smooth\"\n e.preventDefault()\n setHighlightedIndex(prev => {\n if (predictions.length === 0) {\n return -1\n }\n return prev < 0 ? 0 : (prev + 1) % predictions.length\n })\n } else if (e.key === \"ArrowUp\") {\n scrollBehaviorRef.current = e.repeat ? \"auto\" : \"smooth\"\n e.preventDefault()\n setHighlightedIndex(prev => {\n if (predictions.length === 0) {\n return -1\n }\n if (prev <= 0) {\n return predictions.length - 1\n }\n return (prev - 1) % predictions.length\n })\n } else if (e.key === \"Enter\") {\n e.preventDefault()\n if (highlightedIndex > -1 && predictions[highlightedIndex]) {\n handleSelectPrediction(predictions[highlightedIndex])\n } else {\n onValueChange(inputValue)\n setIsDropdownOpen(false)\n sessionTokenRef.current = null\n }\n } else if (e.key === \"Escape\") {\n setIsDropdownOpen(false)\n }\n }\n\n const handleBlur = () => {\n setIsDropdownOpen(false)\n if (value !== inputValue) {\n onValueChange(inputValue)\n }\n sessionTokenRef.current = null\n }\n\n const shimName = autofillShimName ?? (name ? `${name}_shim` : undefined)\n\n useEffect(() => {\n if (!isDropdownOpen || highlightedIndex < 0) {\n scrollBehaviorRef.current = \"smooth\"\n return\n }\n\n const item = optionRefs.current[highlightedIndex]\n const list = dropdownRef.current\n\n if (!item || !list) {\n scrollBehaviorRef.current = \"smooth\"\n return\n }\n\n const behavior = scrollBehaviorRef.current\n scrollBehaviorRef.current = \"smooth\"\n\n const top = item.offsetTop\n const bottom = top + item.offsetHeight\n const viewTop = list.scrollTop\n const viewBottom = viewTop + list.clientHeight\n\n if (top >= viewTop && bottom <= viewBottom) {\n return\n }\n\n item.scrollIntoView({\n block: \"nearest\",\n behavior,\n })\n }, [highlightedIndex, isDropdownOpen])\n\n optionRefs.current.length = predictions.length\n\n return (\n <div className=\"relative\">\n {shimName && (\n <input\n tabIndex={-1}\n autoComplete=\"street-address\"\n name={shimName}\n aria-hidden=\"true\"\n className=\"pointer-events-none absolute left-0 top-0 h-0 w-0 opacity-0\"\n />\n )}\n <label htmlFor={id} className=\"text-left block text-sm font-medium text-gray-700 mb-1 cursor-pointer\">\n {label}\n </label>\n <Input\n ref={inputRef}\n id={id}\n type=\"text\"\n placeholder={placeholder}\n name={name ?? `${id}_input`}\n value={inputValue}\n onChange={handleInputChange}\n onKeyDown={handleKeyDown}\n onFocus={() => {\n if (predictions.length > 0 && inputValue) {\n setIsDropdownOpen(true)\n }\n }}\n onBlur={handleBlur}\n disabled={disabled}\n autoComplete=\"off\"\n className={cn(\"w-full\", className)}\n />\n {isDropdownOpen && predictions.length > 0 && (\n <ul\n ref={dropdownRef}\n className=\"absolute z-10 mt-1 w-full max-h-60 overflow-y-auto rounded-md border border-gray-200 bg-white text-left shadow-lg\"\n role=\"listbox\"\n >\n {predictions.map((prediction, index) => (\n <li\n key={getPredictionId(prediction, index)}\n ref={node => {\n optionRefs.current[index] = node\n }}\n className={clsx(\n \"cursor-pointer px-3 py-2 text-sm text-gray-700 hover:bg-gray-100\",\n { \"bg-gray-100\": highlightedIndex === index },\n )}\n role=\"option\"\n onMouseDown={e => {\n e.preventDefault()\n handleSelectPrediction(prediction)\n }}\n >\n <PredictionItem prediction={prediction} />\n </li>\n ))}\n </ul>\n )}\n </div>\n )\n}\n"],"names":["DEFAULT_ALLOWED_TYPES","getDisplayText","prediction","PredictionItem","displayText","fullText","matches","wasCountryRemoved","parts","lastIndex","substring","index","startOffset","endOffset","matched","jsx","isAllowedPrediction","allowedTypes","type","getPredictionId","getUniquePredictions","predictions","map","key","getFilteredPredictions","sortPredictions","a","b","aDistance","bDistance","buildDisplayPredictions","isExactMatch","value","AddressAutocompleteInput","id","label","placeholder","onValueChange","disabled","name","className","autofillShimName","googleMapsApiKey","locationRestriction","inputValue","setInputValue","useState","setPredictions","isDropdownOpen","setIsDropdownOpen","highlightedIndex","setHighlightedIndex","inputRef","useRef","dropdownRef","isSelecting","hasUserTyped","sessionTokenRef","optionRefs","scrollBehaviorRef","placesLibrary","useMapsLibrary","allowedTypesSet","useMemo","newSet","useEffect","isActive","handler","AutocompleteSuggestion","AutocompleteSessionToken","request","response","placePredictions","suggestion","combinedPredictions","singlePrediction","hasExactMatch","error","handleClickOutside","event","handleSelectPrediction","newAddress","handleInputChange","handleKeyDown","prev","handleBlur","shimName","item","list","behavior","top","bottom","viewTop","viewBottom","jsxs","Input","cn","node","clsx","e"],"mappings":";;;;;;AAQA,MAAMA,yBAA4B,IAAI;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC,GAEKC,IAAiB,CAACC,OACLA,EAAW,MAAM,QAAQ,IAC1B,QAAQ,aAAa,EAAE,EAAE,KAAA,GAGrCC,KAAiB,CAAC,EAAE,YAAAD,QAAqE;AAC7F,QAAME,IAAcH,EAAeC,CAAU,GACvCG,IAAWH,EAAW,MAAM,QAAQ,IACpCI,IAAUJ,EAAW,MAAM,WAAW,CAAA,GACtCK,IAAoBH,EAAY,SAASC,EAAS;AAExD,MAAIC,EAAQ,WAAW;AACrB,+CAAU,UAAAF,EAAA,CAAY;AAGxB,QAAMI,IAAqB,CAAA;AAC3B,MAAIC,IAAY;AA0BhB,SAxBAH,EAAQ,QAAQ,CAACI,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WAAU;AAAA,QACV,MAAK;AAAA,QAEJ,UAAAjC,EAAY,IAAI,CAACnB,GAAYS,MAC5BI,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YAEC,KAAK,CAAAkF,MAAQ;AACX,cAAAvC,EAAW,QAAQ/C,CAAK,IAAIsF;AAAA,YAC9B;AAAA,YACA,WAAWC;AAAA,cACT;AAAA,cACA,EAAE,eAAehD,MAAqBvC,EAAA;AAAA,YAAM;AAAA,YAE9C,MAAK;AAAA,YACL,aAAa,CAAAwF,MAAK;AAChB,cAAAA,EAAE,eAAA,GACFnB,EAAuB9E,CAAU;AAAA,YACnC;AAAA,YAEA,UAAAa,gBAAAA,EAAAA,IAACZ,MAAe,YAAAD,EAAA,CAAwB;AAAA,UAAA;AAAA,UAdnCiB,GAAgBjB,GAAYS,CAAK;AAAA,QAAA,CAgBzC;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GAEJ;AAEJ;"}
@@ -0,0 +1,11 @@
1
+ import e from "./index185.js";
2
+ import o from "./index186.js";
3
+ function t(r) {
4
+ return o.call(this, r, e);
5
+ }
6
+ t.prototype = Object.create(o.prototype, {});
7
+ t.prototype.constructor = t;
8
+ export {
9
+ t as AsYouType
10
+ };
11
+ //# sourceMappingURL=index80.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index80.js","sources":["../../../node_modules/libphonenumber-js/min/exports/AsYouType.js"],"sourcesContent":["// Importing from a \".js\" file is a workaround for Node.js \"ES Modules\"\r\n// importing system which is even uncapable of importing \"*.json\" files.\r\nimport metadata from '../../metadata.min.json.js'\r\n\r\nimport { AsYouType as _AsYouType } from '../../core/index.js'\r\n\r\nexport function AsYouType(country) {\r\n\treturn _AsYouType.call(this, country, metadata)\r\n}\r\n\r\nAsYouType.prototype = Object.create(_AsYouType.prototype, {})\r\nAsYouType.prototype.constructor = AsYouType"],"names":["AsYouType","country","_AsYouType","metadata"],"mappings":";;AAMO,SAASA,EAAUC,GAAS;AAClC,SAAOC,EAAW,KAAK,MAAMD,GAASE,CAAQ;AAC/C;AAEAH,EAAU,YAAY,OAAO,OAAOE,EAAW,WAAW,CAAA,CAAE;AAC5DF,EAAU,UAAU,cAAcA;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import t from "./index183.js";
2
+ import e from "./index184.js";
3
+ function a() {
4
+ return t(e, arguments);
5
+ }
6
+ export {
7
+ a as validatePhoneNumberLength
8
+ };
9
+ //# sourceMappingURL=index81.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index81.js","sources":["../../../node_modules/libphonenumber-js/min/exports/validatePhoneNumberLength.js"],"sourcesContent":["import withMetadataArgument from './withMetadataArgument.js'\r\nimport { validatePhoneNumberLength as _validatePhoneNumberLength } from '../../core/index.js'\r\n\r\nexport function validatePhoneNumberLength() {\r\n\treturn withMetadataArgument(_validatePhoneNumberLength, arguments)\r\n}"],"names":["validatePhoneNumberLength","withMetadataArgument","_validatePhoneNumberLength"],"mappings":";;AAGO,SAASA,IAA4B;AAC3C,SAAOC,EAAqBC,GAA4B,SAAS;AAClE;","x_google_ignoreList":[0]}
@@ -0,0 +1,5 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
5
+ //# sourceMappingURL=index82.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index82.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,5 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
5
+ //# sourceMappingURL=index83.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index83.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,55 @@
1
+ import { Button as e } from "./index85.js";
2
+ import { CaptionLabel as p } from "./index86.js";
3
+ import { Chevron as x } from "./index87.js";
4
+ import { Day as n } from "./index88.js";
5
+ import { DayButton as d } from "./index89.js";
6
+ import { Dropdown as u } from "./index90.js";
7
+ import { DropdownNav as k } from "./index91.js";
8
+ import { Footer as D } from "./index92.js";
9
+ import { Month as i } from "./index93.js";
10
+ import { MonthCaption as v } from "./index94.js";
11
+ import { MonthGrid as y } from "./index95.js";
12
+ import { Months as b } from "./index96.js";
13
+ import { MonthsDropdown as l } from "./index97.js";
14
+ import { Nav as F } from "./index98.js";
15
+ import { NextMonthButton as H } from "./index99.js";
16
+ import { Option as O } from "./index100.js";
17
+ import { PreviousMonthButton as R } from "./index101.js";
18
+ import { Root as Y } from "./index102.js";
19
+ import { Select as j } from "./index103.js";
20
+ import { Week as z } from "./index104.js";
21
+ import { Weekday as E } from "./index105.js";
22
+ import { Weekdays as J } from "./index106.js";
23
+ import { WeekNumber as Q } from "./index107.js";
24
+ import { WeekNumberHeader as U } from "./index108.js";
25
+ import { Weeks as X } from "./index109.js";
26
+ import { YearsDropdown as _ } from "./index110.js";
27
+ export {
28
+ e as Button,
29
+ p as CaptionLabel,
30
+ x as Chevron,
31
+ n as Day,
32
+ d as DayButton,
33
+ u as Dropdown,
34
+ k as DropdownNav,
35
+ D as Footer,
36
+ i as Month,
37
+ v as MonthCaption,
38
+ y as MonthGrid,
39
+ b as Months,
40
+ l as MonthsDropdown,
41
+ F as Nav,
42
+ H as NextMonthButton,
43
+ O as Option,
44
+ R as PreviousMonthButton,
45
+ Y as Root,
46
+ j as Select,
47
+ z as Week,
48
+ Q as WeekNumber,
49
+ U as WeekNumberHeader,
50
+ E as Weekday,
51
+ J as Weekdays,
52
+ X as Weeks,
53
+ _ as YearsDropdown
54
+ };
55
+ //# sourceMappingURL=index84.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index84.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import e from "react";
2
+ function o(t) {
3
+ return e.createElement("button", { ...t });
4
+ }
5
+ export {
6
+ o as Button
7
+ };
8
+ //# sourceMappingURL=index85.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index85.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Button.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the button elements in the calendar.\n *\n * @private\n * @deprecated Use `PreviousMonthButton` or `@link NextMonthButton` instead.\n */\nexport function Button(props) {\n return React.createElement(\"button\", { ...props });\n}\n"],"names":["Button","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,UAAU,EAAE,GAAGD,EAAK,CAAE;AACrD;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ import t from "react";
2
+ function n(e) {
3
+ return t.createElement("span", { ...e });
4
+ }
5
+ export {
6
+ n as CaptionLabel
7
+ };
8
+ //# sourceMappingURL=index86.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index86.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/CaptionLabel.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the label in the month caption.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function CaptionLabel(props) {\n return React.createElement(\"span\", { ...props });\n}\n"],"names":["CaptionLabel","props","React"],"mappings":";AAOO,SAASA,EAAaC,GAAO;AAChC,SAAOC,EAAM,cAAc,QAAQ,EAAE,GAAGD,EAAK,CAAE;AACnD;","x_google_ignoreList":[0]}
@@ -0,0 +1,19 @@
1
+ import e from "react";
2
+ function r(n) {
3
+ const { size: o = 24, orientation: t = "left", className: l } = n;
4
+ return (
5
+ // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
6
+ e.createElement(
7
+ "svg",
8
+ { className: l, width: o, height: o, viewBox: "0 0 24 24" },
9
+ t === "up" && e.createElement("polygon", { points: "6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28" }),
10
+ t === "down" && e.createElement("polygon", { points: "6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72" }),
11
+ t === "left" && e.createElement("polygon", { points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20" }),
12
+ t === "right" && e.createElement("polygon", { points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20" })
13
+ )
14
+ );
15
+ }
16
+ export {
17
+ r as Chevron
18
+ };
19
+ //# sourceMappingURL=index87.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index87.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Chevron.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the chevron icon used in the navigation buttons and dropdowns.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Chevron(props) {\n const { size = 24, orientation = \"left\", className } = props;\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component\n React.createElement(\"svg\", { className: className, width: size, height: size, viewBox: \"0 0 24 24\" },\n orientation === \"up\" && (React.createElement(\"polygon\", { points: \"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28\" })),\n orientation === \"down\" && (React.createElement(\"polygon\", { points: \"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72\" })),\n orientation === \"left\" && (React.createElement(\"polygon\", { points: \"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20\" })),\n orientation === \"right\" && (React.createElement(\"polygon\", { points: \"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20\" }))));\n}\n"],"names":["Chevron","props","size","orientation","className","React"],"mappings":";AAOO,SAASA,EAAQC,GAAO;AAC3B,QAAM,EAAE,MAAAC,IAAO,IAAI,aAAAC,IAAc,QAAQ,WAAAC,EAAS,IAAKH;AACvD;AAAA;AAAA,IAEAI,EAAM;AAAA,MAAc;AAAA,MAAO,EAAE,WAAWD,GAAW,OAAOF,GAAM,QAAQA,GAAM,SAAS,YAAW;AAAA,MAC9FC,MAAgB,QAASE,EAAM,cAAc,WAAW,EAAE,QAAQ,sDAAqD,CAAE;AAAA,MACzHF,MAAgB,UAAWE,EAAM,cAAc,WAAW,EAAE,QAAQ,mDAAkD,CAAE;AAAA,MACxHF,MAAgB,UAAWE,EAAM,cAAc,WAAW,EAAE,QAAQ,wEAAuE,CAAE;AAAA,MAC7IF,MAAgB,WAAYE,EAAM,cAAc,WAAW,EAAE,QAAQ,wEAAuE,CAAE;AAAA,IAAE;AAAA;AACxJ;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import r from "react";
2
+ function n(t) {
3
+ const { day: o, modifiers: a, ...e } = t;
4
+ return r.createElement("td", { ...e });
5
+ }
6
+ export {
7
+ n as Day
8
+ };
9
+ //# sourceMappingURL=index88.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index88.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Day.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a grid cell for a specific day in the calendar.\n *\n * Handles interaction and focus for the day. If you only need to change the\n * content of the day cell, consider swapping the `DayButton` component\n * instead.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Day(props) {\n const { day, modifiers, ...tdProps } = props;\n return React.createElement(\"td\", { ...tdProps });\n}\n"],"names":["Day","props","day","modifiers","tdProps","React"],"mappings":";AAWO,SAASA,EAAIC,GAAO;AACvB,QAAM,EAAE,KAAAC,GAAK,WAAAC,GAAW,GAAGC,EAAO,IAAKH;AACvC,SAAOI,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAO,CAAE;AACnD;","x_google_ignoreList":[0]}
@@ -0,0 +1,11 @@
1
+ import e from "react";
2
+ function c(f) {
3
+ const { day: r, modifiers: t, ...u } = f, o = e.useRef(null);
4
+ return e.useEffect(() => {
5
+ t.focused && o.current?.focus();
6
+ }, [t.focused]), e.createElement("button", { ref: o, ...u });
7
+ }
8
+ export {
9
+ c as DayButton
10
+ };
11
+ //# sourceMappingURL=index89.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index89.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/DayButton.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a button for a specific day in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DayButton(props) {\n const { day, modifiers, ...buttonProps } = props;\n const ref = React.useRef(null);\n React.useEffect(() => {\n if (modifiers.focused)\n ref.current?.focus();\n }, [modifiers.focused]);\n return React.createElement(\"button\", { ref: ref, ...buttonProps });\n}\n"],"names":["DayButton","props","day","modifiers","buttonProps","ref","React"],"mappings":";AAOO,SAASA,EAAUC,GAAO;AAC7B,QAAM,EAAE,KAAAC,GAAK,WAAAC,GAAW,GAAGC,EAAW,IAAKH,GACrCI,IAAMC,EAAM,OAAO,IAAI;AAC7BA,SAAAA,EAAM,UAAU,MAAM;AAClB,IAAIH,EAAU,WACVE,EAAI,SAAS,MAAK;AAAA,EAC1B,GAAG,CAACF,EAAU,OAAO,CAAC,GACfG,EAAM,cAAc,UAAU,EAAE,KAAKD,GAAK,GAAGD,GAAa;AACrE;","x_google_ignoreList":[0]}
package/dist/index9.js ADDED
@@ -0,0 +1,27 @@
1
+ import { j as c } from "./index28.js";
2
+ import { clsx as o } from "./index25.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
16
+ ),
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
+ );
24
+ export {
25
+ h as ApplePayButton
26
+ };
27
+ //# sourceMappingURL=index9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index9.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;"}
@@ -0,0 +1,20 @@
1
+ import e from "react";
2
+ import { UI as o } from "./index124.js";
3
+ function f(c) {
4
+ const { options: l, className: r, components: s, classNames: a, ...n } = c, i = [a[o.Dropdown], r].join(" "), m = l?.find(({ value: t }) => t === n.value);
5
+ return e.createElement(
6
+ "span",
7
+ { "data-disabled": n.disabled, className: a[o.DropdownRoot] },
8
+ e.createElement(s.Select, { className: i, ...n }, l?.map(({ value: t, label: d, disabled: p }) => e.createElement(s.Option, { key: t, value: t, disabled: p }, d))),
9
+ e.createElement(
10
+ "span",
11
+ { className: a[o.CaptionLabel], "aria-hidden": !0 },
12
+ m?.label,
13
+ e.createElement(s.Chevron, { orientation: "down", size: 18, className: a[o.Chevron] })
14
+ )
15
+ );
16
+ }
17
+ export {
18
+ f as Dropdown
19
+ };
20
+ //# sourceMappingURL=index90.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index90.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Dropdown.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\n/**\n * Render a dropdown component for navigation in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Dropdown(props) {\n const { options, className, components, classNames, ...selectProps } = props;\n const cssClassSelect = [classNames[UI.Dropdown], className].join(\" \");\n const selectedOption = options?.find(({ value }) => value === selectProps.value);\n return (React.createElement(\"span\", { \"data-disabled\": selectProps.disabled, className: classNames[UI.DropdownRoot] },\n React.createElement(components.Select, { className: cssClassSelect, ...selectProps }, options?.map(({ value, label, disabled }) => (React.createElement(components.Option, { key: value, value: value, disabled: disabled }, label)))),\n React.createElement(\"span\", { className: classNames[UI.CaptionLabel], \"aria-hidden\": true },\n selectedOption?.label,\n React.createElement(components.Chevron, { orientation: \"down\", size: 18, className: classNames[UI.Chevron] }))));\n}\n"],"names":["Dropdown","props","options","className","components","classNames","selectProps","cssClassSelect","UI","selectedOption","value","React","label","disabled"],"mappings":";;AAQO,SAASA,EAASC,GAAO;AAC5B,QAAM,EAAE,SAAAC,GAAS,WAAAC,GAAW,YAAAC,GAAY,YAAAC,GAAY,GAAGC,EAAW,IAAKL,GACjEM,IAAiB,CAACF,EAAWG,EAAG,QAAQ,GAAGL,CAAS,EAAE,KAAK,GAAG,GAC9DM,IAAiBP,GAAS,KAAK,CAAC,EAAE,OAAAQ,QAAYA,MAAUJ,EAAY,KAAK;AAC/E,SAAQK,EAAM;AAAA,IAAc;AAAA,IAAQ,EAAE,iBAAiBL,EAAY,UAAU,WAAWD,EAAWG,EAAG,YAAY,EAAC;AAAA,IAC/GG,EAAM,cAAcP,EAAW,QAAQ,EAAE,WAAWG,GAAgB,GAAGD,EAAW,GAAIJ,GAAS,IAAI,CAAC,EAAE,OAAAQ,GAAO,OAAAE,GAAO,UAAAC,QAAgBF,EAAM,cAAcP,EAAW,QAAQ,EAAE,KAAKM,GAAO,OAAOA,GAAO,UAAUG,EAAQ,GAAID,CAAK,CAAE,CAAC;AAAA,IACrOD,EAAM;AAAA,MAAc;AAAA,MAAQ,EAAE,WAAWN,EAAWG,EAAG,YAAY,GAAG,eAAe,GAAI;AAAA,MACrFC,GAAgB;AAAA,MAChBE,EAAM,cAAcP,EAAW,SAAS,EAAE,aAAa,QAAQ,MAAM,IAAI,WAAWC,EAAWG,EAAG,OAAO,EAAC,CAAE;AAAA,IAAC;AAAA,EAAC;AAC1H;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ import t from "react";
2
+ function o(e) {
3
+ return t.createElement("div", { ...e });
4
+ }
5
+ export {
6
+ o as DropdownNav
7
+ };
8
+ //# sourceMappingURL=index91.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index91.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/DropdownNav.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the navigation dropdowns for the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DropdownNav(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["DropdownNav","props","React"],"mappings":";AAOO,SAASA,EAAYC,GAAO;AAC/B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ import t from "react";
2
+ function o(e) {
3
+ return t.createElement("div", { ...e });
4
+ }
5
+ export {
6
+ o as Footer
7
+ };
8
+ //# sourceMappingURL=index92.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index92.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Footer.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the footer of the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Footer(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["Footer","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import n from "react";
2
+ function a(e) {
3
+ const { calendarMonth: r, displayIndex: d, ...t } = e;
4
+ return n.createElement("div", { ...t }, e.children);
5
+ }
6
+ export {
7
+ a as Month
8
+ };
9
+ //# sourceMappingURL=index93.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index93.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Month.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid with the weekday header row and the weeks for a specific\n * month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Month(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps }, props.children);\n}\n"],"names":["Month","props","calendarMonth","displayIndex","divProps","React"],"mappings":";AAQO,SAASA,EAAMC,GAAO;AACzB,QAAM,EAAE,eAAAC,GAAe,cAAAC,GAAc,GAAGC,EAAQ,IAAKH;AACrD,SAAOI,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAQ,GAAIH,EAAM,QAAQ;AACrE;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import n from "react";
2
+ function d(t) {
3
+ const { calendarMonth: o, displayIndex: r, ...e } = t;
4
+ return n.createElement("div", { ...e });
5
+ }
6
+ export {
7
+ d as MonthCaption
8
+ };
9
+ //# sourceMappingURL=index94.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index94.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthCaption.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the caption for a month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthCaption(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps });\n}\n"],"names":["MonthCaption","props","calendarMonth","displayIndex","divProps","React"],"mappings":";AAOO,SAASA,EAAaC,GAAO;AAChC,QAAM,EAAE,eAAAC,GAAe,cAAAC,GAAc,GAAGC,EAAQ,IAAKH;AACrD,SAAOI,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAQ,CAAE;AACrD;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ import e from "react";
2
+ function n(t) {
3
+ return e.createElement("table", { ...t });
4
+ }
5
+ export {
6
+ n as MonthGrid
7
+ };
8
+ //# sourceMappingURL=index95.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index95.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthGrid.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid of days for a specific month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthGrid(props) {\n return React.createElement(\"table\", { ...props });\n}\n"],"names":["MonthGrid","props","React"],"mappings":";AAOO,SAASA,EAAUC,GAAO;AAC7B,SAAOC,EAAM,cAAc,SAAS,EAAE,GAAGD,EAAK,CAAE;AACpD;","x_google_ignoreList":[0]}