@anoki/fse-ui 1.0.458 → 1.0.459

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 (387) hide show
  1. package/dist/index.cjs102.js +1 -1
  2. package/dist/index.cjs16.js +1 -1
  3. package/dist/index.cjs18.js +1 -1
  4. package/dist/index.cjs199.js +1 -1
  5. package/dist/index.cjs199.js.map +1 -1
  6. package/dist/index.cjs204.js +1 -1
  7. package/dist/index.cjs210.js +1 -1
  8. package/dist/index.cjs221.js +1 -1
  9. package/dist/index.cjs24.js +1 -1
  10. package/dist/index.cjs248.js +1 -1
  11. package/dist/index.cjs25.js +1 -1
  12. package/dist/index.cjs250.js +2 -2
  13. package/dist/index.cjs250.js.map +1 -1
  14. package/dist/index.cjs26.js +1 -1
  15. package/dist/index.cjs27.js +1 -1
  16. package/dist/index.cjs287.js +1 -1
  17. package/dist/index.cjs30.js +1 -1
  18. package/dist/index.cjs301.js +2 -2
  19. package/dist/index.cjs302.js +10 -10
  20. package/dist/index.cjs309.js +1 -1
  21. package/dist/index.cjs310.js +1 -1
  22. package/dist/index.cjs311.js +1 -1
  23. package/dist/index.cjs311.js.map +1 -1
  24. package/dist/index.cjs312.js +1 -1
  25. package/dist/index.cjs312.js.map +1 -1
  26. package/dist/index.cjs313.js +1 -1
  27. package/dist/index.cjs313.js.map +1 -1
  28. package/dist/index.cjs318.js +1 -1
  29. package/dist/index.cjs319.js +1 -1
  30. package/dist/index.cjs32.js +1 -1
  31. package/dist/index.cjs320.js +1 -1
  32. package/dist/index.cjs320.js.map +1 -1
  33. package/dist/{index.cjs323.js → index.cjs321.js} +1 -1
  34. package/dist/index.cjs321.js.map +1 -0
  35. package/dist/index.cjs333.js +1 -1
  36. package/dist/index.cjs333.js.map +1 -1
  37. package/dist/index.cjs334.js +1 -1
  38. package/dist/index.cjs334.js.map +1 -1
  39. package/dist/index.cjs335.js +1 -1
  40. package/dist/index.cjs335.js.map +1 -1
  41. package/dist/index.cjs336.js +1 -1
  42. package/dist/index.cjs336.js.map +1 -1
  43. package/dist/index.cjs337.js +1 -1
  44. package/dist/index.cjs337.js.map +1 -1
  45. package/dist/index.cjs338.js +1 -1
  46. package/dist/index.cjs338.js.map +1 -1
  47. package/dist/{index.cjs331.js → index.cjs339.js} +2 -2
  48. package/dist/{index.cjs331.js.map → index.cjs339.js.map} +1 -1
  49. package/dist/{index.cjs332.js → index.cjs340.js} +2 -2
  50. package/dist/{index.cjs332.js.map → index.cjs340.js.map} +1 -1
  51. package/dist/index.cjs341.js +2 -0
  52. package/dist/index.cjs341.js.map +1 -0
  53. package/dist/index.cjs342.js +2 -0
  54. package/dist/index.cjs342.js.map +1 -0
  55. package/dist/index.cjs343.js +2 -0
  56. package/dist/index.cjs343.js.map +1 -0
  57. package/dist/index.cjs344.js +2 -0
  58. package/dist/index.cjs344.js.map +1 -0
  59. package/dist/index.cjs345.js +2 -0
  60. package/dist/index.cjs345.js.map +1 -0
  61. package/dist/index.cjs346.js +2 -0
  62. package/dist/index.cjs346.js.map +1 -0
  63. package/dist/index.cjs35.js +1 -1
  64. package/dist/index.cjs350.js +1 -1
  65. package/dist/index.cjs350.js.map +1 -1
  66. package/dist/index.cjs351.js +1 -1
  67. package/dist/index.cjs351.js.map +1 -1
  68. package/dist/index.cjs352.js +1 -1
  69. package/dist/index.cjs352.js.map +1 -1
  70. package/dist/index.cjs353.js +1 -1
  71. package/dist/index.cjs353.js.map +1 -1
  72. package/dist/index.cjs354.js +1 -1
  73. package/dist/index.cjs354.js.map +1 -1
  74. package/dist/index.cjs355.js +1 -1
  75. package/dist/index.cjs355.js.map +1 -1
  76. package/dist/index.cjs356.js +1 -1
  77. package/dist/index.cjs356.js.map +1 -1
  78. package/dist/index.cjs357.js +1 -1
  79. package/dist/index.cjs357.js.map +1 -1
  80. package/dist/index.cjs358.js +1 -1
  81. package/dist/index.cjs358.js.map +1 -1
  82. package/dist/index.cjs359.js +2 -0
  83. package/dist/index.cjs359.js.map +1 -0
  84. package/dist/index.cjs360.js +2 -0
  85. package/dist/index.cjs360.js.map +1 -0
  86. package/dist/index.cjs362.js +1 -1
  87. package/dist/index.cjs362.js.map +1 -1
  88. package/dist/{index.cjs348.js → index.cjs363.js} +1 -1
  89. package/dist/index.cjs363.js.map +1 -0
  90. package/dist/index.cjs364.js +1 -1
  91. package/dist/index.cjs364.js.map +1 -1
  92. package/dist/index.cjs365.js +1 -1
  93. package/dist/index.cjs365.js.map +1 -1
  94. package/dist/index.cjs366.js +1 -1
  95. package/dist/index.cjs366.js.map +1 -1
  96. package/dist/index.cjs367.js +1 -1
  97. package/dist/index.cjs367.js.map +1 -1
  98. package/dist/index.cjs368.js +1 -1
  99. package/dist/index.cjs368.js.map +1 -1
  100. package/dist/index.cjs369.js +1 -1
  101. package/dist/index.cjs369.js.map +1 -1
  102. package/dist/index.cjs37.js +1 -1
  103. package/dist/index.cjs370.js +1 -1
  104. package/dist/index.cjs370.js.map +1 -1
  105. package/dist/index.cjs371.js +1 -1
  106. package/dist/index.cjs371.js.map +1 -1
  107. package/dist/index.cjs372.js +1 -1
  108. package/dist/index.cjs372.js.map +1 -1
  109. package/dist/index.cjs373.js +1 -1
  110. package/dist/index.cjs373.js.map +1 -1
  111. package/dist/index.cjs374.js +1 -1
  112. package/dist/index.cjs374.js.map +1 -1
  113. package/dist/index.cjs375.js +4 -1
  114. package/dist/index.cjs375.js.map +1 -1
  115. package/dist/index.cjs376.js +1 -1
  116. package/dist/index.cjs376.js.map +1 -1
  117. package/dist/index.cjs377.js +1 -1
  118. package/dist/index.cjs377.js.map +1 -1
  119. package/dist/index.cjs378.js +1 -1
  120. package/dist/index.cjs378.js.map +1 -1
  121. package/dist/index.cjs379.js +1 -4
  122. package/dist/index.cjs379.js.map +1 -1
  123. package/dist/index.cjs380.js +38 -1
  124. package/dist/index.cjs380.js.map +1 -1
  125. package/dist/index.cjs381.js +1 -1
  126. package/dist/index.cjs381.js.map +1 -1
  127. package/dist/index.cjs382.js +1 -1
  128. package/dist/index.cjs382.js.map +1 -1
  129. package/dist/index.cjs383.js +1 -1
  130. package/dist/index.cjs383.js.map +1 -1
  131. package/dist/index.cjs384.js +1 -1
  132. package/dist/index.cjs385.js +1 -38
  133. package/dist/index.cjs385.js.map +1 -1
  134. package/dist/index.cjs386.js +1 -1
  135. package/dist/index.cjs386.js.map +1 -1
  136. package/dist/index.cjs387.js +1 -1
  137. package/dist/index.cjs387.js.map +1 -1
  138. package/dist/index.cjs388.js +1 -1
  139. package/dist/index.cjs388.js.map +1 -1
  140. package/dist/index.cjs389.js +1 -1
  141. package/dist/index.cjs389.js.map +1 -1
  142. package/dist/index.cjs390.js +1 -1
  143. package/dist/index.cjs390.js.map +1 -1
  144. package/dist/index.cjs393.js +1 -1
  145. package/dist/index.cjs393.js.map +1 -1
  146. package/dist/index.cjs394.js +1 -1
  147. package/dist/index.cjs394.js.map +1 -1
  148. package/dist/index.cjs395.js +1 -1
  149. package/dist/index.cjs395.js.map +1 -1
  150. package/dist/index.cjs396.js +1 -1
  151. package/dist/index.cjs396.js.map +1 -1
  152. package/dist/index.cjs397.js +1 -1
  153. package/dist/index.cjs397.js.map +1 -1
  154. package/dist/index.cjs399.js +1 -1
  155. package/dist/index.cjs399.js.map +1 -1
  156. package/dist/index.cjs47.js +1 -1
  157. package/dist/index.cjs68.js +1 -1
  158. package/dist/index.cjs69.js +1 -1
  159. package/dist/index.cjs94.js +1 -1
  160. package/dist/index.cjs94.js.map +1 -1
  161. package/dist/index.cjs98.js +1 -1
  162. package/dist/index.cjs98.js.map +1 -1
  163. package/dist/index.cjs99.js +1 -1
  164. package/dist/index.d.ts +3 -1
  165. package/dist/index.es102.js +17 -17
  166. package/dist/index.es154.js +1 -1
  167. package/dist/index.es156.js +2 -2
  168. package/dist/index.es157.js +24 -24
  169. package/dist/index.es16.js +21 -21
  170. package/dist/index.es164.js +1 -1
  171. package/dist/index.es18.js +22 -22
  172. package/dist/index.es199.js +16 -16
  173. package/dist/index.es199.js.map +1 -1
  174. package/dist/index.es203.js +24 -24
  175. package/dist/index.es204.js +10 -10
  176. package/dist/index.es210.js +1 -1
  177. package/dist/index.es221.js +14 -14
  178. package/dist/index.es24.js +4 -4
  179. package/dist/index.es248.js +26 -26
  180. package/dist/index.es25.js +38 -38
  181. package/dist/index.es250.js +22 -22
  182. package/dist/index.es250.js.map +1 -1
  183. package/dist/index.es26.js +21 -21
  184. package/dist/index.es27.js +2 -2
  185. package/dist/index.es287.js +13 -13
  186. package/dist/index.es301.js +20 -20
  187. package/dist/index.es302.js +92 -92
  188. package/dist/index.es308.js +14 -14
  189. package/dist/index.es309.js +12 -12
  190. package/dist/index.es310.js +11 -11
  191. package/dist/index.es311.js +1 -1
  192. package/dist/index.es311.js.map +1 -1
  193. package/dist/index.es312.js +84 -84
  194. package/dist/index.es312.js.map +1 -1
  195. package/dist/index.es313.js +9 -9
  196. package/dist/index.es313.js.map +1 -1
  197. package/dist/index.es318.js +9 -9
  198. package/dist/index.es319.js +1 -1
  199. package/dist/index.es32.js +4 -4
  200. package/dist/index.es320.js +2 -29
  201. package/dist/index.es320.js.map +1 -1
  202. package/dist/{index.es324.js → index.es321.js} +1 -1
  203. package/dist/index.es321.js.map +1 -0
  204. package/dist/index.es333.js +5 -67
  205. package/dist/index.es333.js.map +1 -1
  206. package/dist/index.es334.js +26 -32
  207. package/dist/index.es334.js.map +1 -1
  208. package/dist/index.es335.js +65 -12
  209. package/dist/index.es335.js.map +1 -1
  210. package/dist/index.es336.js +11 -9
  211. package/dist/index.es336.js.map +1 -1
  212. package/dist/index.es337.js +30 -50
  213. package/dist/index.es337.js.map +1 -1
  214. package/dist/index.es338.js +120 -42
  215. package/dist/index.es338.js.map +1 -1
  216. package/dist/{index.es331.js → index.es339.js} +4 -4
  217. package/dist/{index.es331.js.map → index.es339.js.map} +1 -1
  218. package/dist/{index.es332.js → index.es340.js} +3 -3
  219. package/dist/{index.es332.js.map → index.es340.js.map} +1 -1
  220. package/dist/index.es341.js +72 -0
  221. package/dist/index.es341.js.map +1 -0
  222. package/dist/index.es342.js +36 -0
  223. package/dist/index.es342.js.map +1 -0
  224. package/dist/index.es343.js +18 -0
  225. package/dist/index.es343.js.map +1 -0
  226. package/dist/index.es344.js +12 -0
  227. package/dist/index.es344.js.map +1 -0
  228. package/dist/index.es345.js +53 -0
  229. package/dist/index.es345.js.map +1 -0
  230. package/dist/index.es346.js +50 -0
  231. package/dist/index.es346.js.map +1 -0
  232. package/dist/index.es35.js +14 -14
  233. package/dist/index.es350.js +10 -45
  234. package/dist/index.es350.js.map +1 -1
  235. package/dist/index.es351.js +41 -7
  236. package/dist/index.es351.js.map +1 -1
  237. package/dist/index.es352.js +44 -123
  238. package/dist/index.es352.js.map +1 -1
  239. package/dist/index.es353.js +7 -14
  240. package/dist/index.es353.js.map +1 -1
  241. package/dist/index.es354.js +116 -126
  242. package/dist/index.es354.js.map +1 -1
  243. package/dist/index.es355.js +13 -216
  244. package/dist/index.es355.js.map +1 -1
  245. package/dist/index.es356.js +134 -13
  246. package/dist/index.es356.js.map +1 -1
  247. package/dist/index.es357.js +203 -163
  248. package/dist/index.es357.js.map +1 -1
  249. package/dist/index.es358.js +14 -4
  250. package/dist/index.es358.js.map +1 -1
  251. package/dist/index.es359.js +181 -0
  252. package/dist/index.es359.js.map +1 -0
  253. package/dist/index.es360.js +7 -0
  254. package/dist/index.es360.js.map +1 -0
  255. package/dist/index.es362.js +4 -42
  256. package/dist/index.es362.js.map +1 -1
  257. package/dist/{index.es348.js → index.es363.js} +1 -1
  258. package/dist/index.es363.js.map +1 -0
  259. package/dist/index.es364.js +12 -29
  260. package/dist/index.es364.js.map +1 -1
  261. package/dist/index.es365.js +12 -4
  262. package/dist/index.es365.js.map +1 -1
  263. package/dist/index.es366.js +204 -10
  264. package/dist/index.es366.js.map +1 -1
  265. package/dist/index.es367.js +22 -12
  266. package/dist/index.es367.js.map +1 -1
  267. package/dist/index.es368.js +391 -10
  268. package/dist/index.es368.js.map +1 -1
  269. package/dist/index.es369.js +22 -202
  270. package/dist/index.es369.js.map +1 -1
  271. package/dist/index.es37.js +6 -6
  272. package/dist/index.es370.js +27 -20
  273. package/dist/index.es370.js.map +1 -1
  274. package/dist/index.es371.js +5 -393
  275. package/dist/index.es371.js.map +1 -1
  276. package/dist/index.es372.js +5 -42
  277. package/dist/index.es372.js.map +1 -1
  278. package/dist/index.es373.js +3 -25
  279. package/dist/index.es373.js.map +1 -1
  280. package/dist/index.es374.js +24 -29
  281. package/dist/index.es374.js.map +1 -1
  282. package/dist/index.es375.js +110 -5
  283. package/dist/index.es375.js.map +1 -1
  284. package/dist/index.es376.js +16 -5
  285. package/dist/index.es376.js.map +1 -1
  286. package/dist/index.es377.js +523 -3
  287. package/dist/index.es377.js.map +1 -1
  288. package/dist/index.es378.js +126 -23
  289. package/dist/index.es378.js.map +1 -1
  290. package/dist/index.es379.js +124 -105
  291. package/dist/index.es379.js.map +1 -1
  292. package/dist/index.es380.js +68 -15
  293. package/dist/index.es380.js.map +1 -1
  294. package/dist/index.es381.js +7 -521
  295. package/dist/index.es381.js.map +1 -1
  296. package/dist/index.es382.js +13 -126
  297. package/dist/index.es382.js.map +1 -1
  298. package/dist/index.es383.js +60 -127
  299. package/dist/index.es383.js.map +1 -1
  300. package/dist/index.es384.js +1 -1
  301. package/dist/index.es385.js +4 -69
  302. package/dist/index.es385.js.map +1 -1
  303. package/dist/index.es386.js +23 -9
  304. package/dist/index.es386.js.map +1 -1
  305. package/dist/index.es387.js +23 -14
  306. package/dist/index.es387.js.map +1 -1
  307. package/dist/index.es388.js +12 -61
  308. package/dist/index.es388.js.map +1 -1
  309. package/dist/index.es389.js +27 -3
  310. package/dist/index.es389.js.map +1 -1
  311. package/dist/index.es390.js +5 -23
  312. package/dist/index.es390.js.map +1 -1
  313. package/dist/index.es393.js +53 -5
  314. package/dist/index.es393.js.map +1 -1
  315. package/dist/index.es394.js +26 -22
  316. package/dist/index.es394.js.map +1 -1
  317. package/dist/index.es395.js +5 -51
  318. package/dist/index.es395.js.map +1 -1
  319. package/dist/index.es396.js +8 -26
  320. package/dist/index.es396.js.map +1 -1
  321. package/dist/index.es397.js +34 -7
  322. package/dist/index.es397.js.map +1 -1
  323. package/dist/index.es399.js +8 -33
  324. package/dist/index.es399.js.map +1 -1
  325. package/dist/index.es47.js +2 -2
  326. package/dist/index.es5.js +4 -4
  327. package/dist/index.es65.js +44 -44
  328. package/dist/index.es68.js +25 -25
  329. package/dist/index.es69.js +23 -23
  330. package/dist/index.es94.js +19 -17
  331. package/dist/index.es94.js.map +1 -1
  332. package/dist/index.es98.js +21 -21
  333. package/dist/index.es98.js.map +1 -1
  334. package/dist/index.es99.js +2 -2
  335. package/package.json +1 -1
  336. package/dist/index.cjs323.js.map +0 -1
  337. package/dist/index.cjs324.js +0 -2
  338. package/dist/index.cjs324.js.map +0 -1
  339. package/dist/index.cjs325.js +0 -2
  340. package/dist/index.cjs325.js.map +0 -1
  341. package/dist/index.cjs326.js +0 -2
  342. package/dist/index.cjs326.js.map +0 -1
  343. package/dist/index.cjs327.js +0 -2
  344. package/dist/index.cjs327.js.map +0 -1
  345. package/dist/index.cjs328.js +0 -2
  346. package/dist/index.cjs328.js.map +0 -1
  347. package/dist/index.cjs329.js +0 -2
  348. package/dist/index.cjs329.js.map +0 -1
  349. package/dist/index.cjs330.js +0 -2
  350. package/dist/index.cjs330.js.map +0 -1
  351. package/dist/index.cjs348.js.map +0 -1
  352. package/dist/index.cjs349.js +0 -2
  353. package/dist/index.cjs349.js.map +0 -1
  354. package/dist/index.cjs391.js +0 -2
  355. package/dist/index.cjs391.js.map +0 -1
  356. package/dist/index.cjs392.js +0 -2
  357. package/dist/index.cjs392.js.map +0 -1
  358. package/dist/index.cjs398.js +0 -2
  359. package/dist/index.cjs398.js.map +0 -1
  360. package/dist/index.cjs401.js +0 -2
  361. package/dist/index.cjs401.js.map +0 -1
  362. package/dist/index.es323.js +0 -5
  363. package/dist/index.es323.js.map +0 -1
  364. package/dist/index.es324.js.map +0 -1
  365. package/dist/index.es325.js +0 -10
  366. package/dist/index.es325.js.map +0 -1
  367. package/dist/index.es326.js +0 -30
  368. package/dist/index.es326.js.map +0 -1
  369. package/dist/index.es327.js +0 -71
  370. package/dist/index.es327.js.map +0 -1
  371. package/dist/index.es328.js +0 -14
  372. package/dist/index.es328.js.map +0 -1
  373. package/dist/index.es329.js +0 -33
  374. package/dist/index.es329.js.map +0 -1
  375. package/dist/index.es330.js +0 -128
  376. package/dist/index.es330.js.map +0 -1
  377. package/dist/index.es348.js.map +0 -1
  378. package/dist/index.es349.js +0 -49
  379. package/dist/index.es349.js.map +0 -1
  380. package/dist/index.es391.js +0 -16
  381. package/dist/index.es391.js.map +0 -1
  382. package/dist/index.es392.js +0 -31
  383. package/dist/index.es392.js.map +0 -1
  384. package/dist/index.es398.js +0 -12
  385. package/dist/index.es398.js.map +0 -1
  386. package/dist/index.es401.js +0 -12
  387. package/dist/index.es401.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.es98.js","sources":["../src/components/ui/DelegateCard/index.tsx"],"sourcesContent":["import \"./DelegateCard.scss\";\nimport { useRef } from \"react\";\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\nimport { Col, Row } from \"@/components\";\n\nexport type DelegateCardProps = {\n id: string;\n isSelected: boolean;\n title: string;\n subtitle: string;\n relation: string;\n isMe?: boolean;\n setSelectedCard: (id: string) => void;\n className?: string;\n};\n\nexport const DelegateCard = ({\n id,\n isSelected,\n title,\n subtitle,\n relation,\n isMe = false,\n setSelectedCard = () => {},\n className,\n}: DelegateCardProps) => {\n const dropdownRef = useRef<HTMLDivElement>(null);\n\n const CheckIcon = () => (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10 3L4.5 8.5L2 6\"\n stroke=\"white\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n\n return (\n <Row\n br={\"x4\"}\n p={\"x24\"}\n gap={\"x16\"}\n bg={\"white\"}\n text={\"slate-20\"}\n ref={dropdownRef}\n className={`${className} ${isSelected ? \"ui-is-active\" : \"\"} ui-card-delegate shadow cursor-pointer`}\n onClick={() => {\n setSelectedCard(id);\n }}\n style={{ width: \"100%\" }}\n >\n <CheckboxRadix.Root\n id={id}\n checked={isSelected}\n className={\"ui-checkbox-filter\"}\n >\n <CheckboxRadix.Indicator>\n <CheckIcon />\n </CheckboxRadix.Indicator>\n </CheckboxRadix.Root>\n <Row\n alignItems={\"flex-start\"}\n style={{ width: \"100%\" }}\n justifyContent={\"space-between\"}\n >\n <Col style={{ flex: 1 }} justifyContent={\"center\"} className={`w-full`}>\n <Col gap={\"x4\"} pb={\"x16\"}>\n <h3 className=\"flex-1 text-decoration-none fs-4 fw-semibold\">\n {title}\n </h3>\n <p className=\"fs-6 fw-normal text-slate-28\">{subtitle}</p>\n </Col>\n {!isMe && (\n <Col gap={\"x4\"}>\n <div className={\"fw-bold\"}>Relazione con il delegante</div>\n <p className={\"fw-normal\"}>{relation}</p>\n </Col>\n )}\n </Col>\n {isMe && <Row className={\"ui-fascicolo-label\"}>IL TUO FASCICOLO</Row>}\n </Row>\n </Row>\n );\n};\n"],"names":["DelegateCard","id","isSelected","title","subtitle","relation","isMe","setSelectedCard","className","dropdownRef","useRef","CheckIcon","jsx","jsxs","Row","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":";;;;;;AAgBO,MAAMA,IAAe,CAAC;AAAA,EAC3B,IAAAC;AAAA,EACA,YAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,iBAAAC,IAAkB,MAAM;AAAA,EAAC;AAAA,EACzB,WAAAC;AACF,MAAyB;AACjB,QAAAC,IAAcC,EAAuB,IAAI,GAEzCC,IAAY,MAChBC,gBAAAA,EAAA;A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ACHT,GAAA;AAAA,kBACCS,gBAAAA,EAAA,IAAA,KAAA,EAAE,WAAU,gCAAgC,UAASR,EAAA,CAAA;AAAA,gBAAA,GACxD;AAAA,gBACC,CAACE,KACCO,gBAAAA,EAAAA,KAAAI,GAAA,EAAI,KAAK,MACR,UAAA;AAAA,kBAACL,gBAAAA,EAAA,IAAA,OAAA,EAAI,WAAW,WAAW,UAA0B,8BAAA;AAAA,kBACpDA,gBAAAA,EAAA,IAAA,KAAA,EAAE,WAAW,aAAc,UAASP,EAAA,CAAA;AAAA,gBAAA,EACvC,CAAA;AAAA,cAAA,GAEJ;AAAA,cACCC,KAAQM,gBAAAA,EAAA,IAACE,GAAI,EAAA,WAAW,sBAAsB,UAAgB,mBAAA,CAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACjE;AAAA,IAAA;AAAA,EACF;AAEJ;"}
1
+ {"version":3,"file":"index.es98.js","sources":["../src/components/ui/DelegateCard/index.tsx"],"sourcesContent":["import \"./DelegateCard.scss\";\nimport { useRef } from \"react\";\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\nimport { Col, Row } from \"@/components\";\n\nexport type DelegateCardProps = {\n id: string;\n isSelected: boolean;\n title: string;\n subtitle: string;\n relation: string;\n isMe?: boolean;\n setSelectedCard: (id: string) => void;\n className?: string;\n};\n\nexport const DelegateCard = ({\n id,\n isSelected,\n title,\n subtitle,\n relation,\n isMe = false,\n setSelectedCard = () => {},\n className,\n}: DelegateCardProps) => {\n const dropdownRef = useRef<HTMLDivElement>(null);\n\n const CheckIcon = () => (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10 3L4.5 8.5L2 6\"\n stroke=\"white\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n\n return (\n <Row\n br={\"x4\"}\n p={\"x24\"}\n gap={\"x16\"}\n bg={\"white\"}\n text={\"slate-20\"}\n ref={dropdownRef}\n className={`${className} ${isSelected ? \"ui-is-active\" : \"\"} ui-card-delegate shadow cursor-pointer`}\n onClick={() => {\n setSelectedCard(id);\n }}\n style={{ width: \"100%\" }}\n >\n <CheckboxRadix.Root\n id={id}\n checked={isSelected}\n className={\"ui-checkbox-filter\"}\n >\n <CheckboxRadix.Indicator>\n <CheckIcon />\n </CheckboxRadix.Indicator>\n </CheckboxRadix.Root>\n <Row\n alignItems={\"flex-start\"}\n style={{ width: \"100%\" }}\n justifyContent={\"space-between\"}\n >\n <Col style={{ flex: 1 }} justifyContent={\"center\"} className={`w-full`}>\n <Col gap={\"x4\"} pb={isMe || (!isMe && !relation) ? undefined : \"x16\"}>\n <h3 className=\"flex-1 text-decoration-none fs-4 fw-semibold\">\n {title}\n </h3>\n <p className=\"fs-6 fw-normal text-slate-28\">{subtitle}</p>\n </Col>\n {!isMe && relation && (\n <Col gap={\"x4\"}>\n <div className={\"fw-bold\"}>Relazione con il delegante</div>\n <p className={\"fw-normal\"}>{relation}</p>\n </Col>\n )}\n </Col>\n {isMe && <Row className={\"ui-fascicolo-label\"}>IL TUO FASCICOLO</Row>}\n </Row>\n </Row>\n );\n};\n"],"names":["DelegateCard","id","isSelected","title","subtitle","relation","isMe","setSelectedCard","className","dropdownRef","useRef","CheckIcon","jsx","jsxs","Row","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":";;;;;;AAgBO,MAAMA,IAAe,CAAC;AAAA,EAC3B,IAAAC;AAAA,EACA,YAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,iBAAAC,IAAkB,MAAM;AAAA,EAAC;AAAA,EACzB,WAAAC;AACF,MAAyB;AACjB,QAAAC,IAAcC,EAAuB,IAAI,GAEzCC,IAAY,MAChBC,gBAAAA,EAAA;AAAA,IAAC;AAAA,I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AA,EAAG,WAAU,gDACX,UACHT,GAAA;AAAA,kBACCS,gBAAAA,EAAA,IAAA,KAAA,EAAE,WAAU,gCAAgC,UAASR,EAAA,CAAA;AAAA,gBAAA,GACxD;AAAA,gBACC,CAACE,KAAQD,KACPQ,gBAAAA,EAAA,KAAAI,GAAA,EAAI,KAAK,MACR,UAAA;AAAA,kBAACL,gBAAAA,EAAA,IAAA,OAAA,EAAI,WAAW,WAAW,UAA0B,8BAAA;AAAA,kBACpDA,gBAAAA,EAAA,IAAA,KAAA,EAAE,WAAW,aAAc,UAASP,EAAA,CAAA;AAAA,gBAAA,EACvC,CAAA;AAAA,cAAA,GAEJ;AAAA,cACCC,KAAQM,gBAAAA,EAAA,IAACE,GAAI,EAAA,WAAW,sBAAsB,UAAgB,mBAAA,CAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACjE;AAAA,IAAA;AAAA,EACF;AAEJ;"}
@@ -1,8 +1,8 @@
1
1
  import { j as l } from "./index.es173.js";
2
2
  import { useState as r } from "react";
3
- import { StepItem as g } from "./index.es399.js";
3
+ import { StepItem as g } from "./index.es397.js";
4
4
  import './components/ui/Accordion/AccordionStepper/AccordionStepper.css';/* empty css */
5
- import d from "./index.es401.js";
5
+ import d from "./index.es399.js";
6
6
  const O = ({
7
7
  steps: o,
8
8
  toggleStepsLabels: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anoki/fse-ui",
3
- "version": "1.0.458",
3
+ "version": "1.0.459",
4
4
  "description": "FSE UI components library",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs323.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
- //# sourceMappingURL=index.cjs324.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs324.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(s,c,{checkForDefaultPrevented:t=!0}={}){return function(f){if(s==null||s(f),t===!1||!f.defaultPrevented)return c==null?void 0:c(f)}}exports.composeEventHandlers=u;
2
- //# sourceMappingURL=index.cjs325.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs325.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"gFACA,SAASA,EAAqBC,EAAsBC,EAAiB,CAAE,yBAAAC,EAA2B,EAAM,EAAG,GAAI,CAC7G,OAAO,SAAqBC,EAAO,CAEjC,GADAH,GAAA,MAAAA,EAAuBG,GACnBD,IAA6B,IAAS,CAACC,EAAM,iBAC/C,OAAOF,GAAA,YAAAA,EAAkBE,EAE5B,CACH","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=f(l);function r(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s(...e){return t=>{let n=!1;const u=e.map(o=>{const c=r(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():r(e[o],null)}}}}function a(...e){return i.useCallback(s(...e),e)}exports.composeRefs=s;exports.useComposedRefs=a;
2
- //# sourceMappingURL=index.cjs326.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs326.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":"mYAEA,SAASA,EAAOC,EAAKC,EAAO,CAC1B,GAAI,OAAOD,GAAQ,WACjB,OAAOA,EAAIC,CAAK,EACPD,GAAQ,OACjBA,EAAI,QAAUC,EAElB,CACA,SAASC,KAAeC,EAAM,CAC5B,OAAQC,GAAS,CACf,IAAIC,EAAa,GACjB,MAAMC,EAAWH,EAAK,IAAKH,GAAQ,CACjC,MAAMO,EAAUR,EAAOC,EAAKI,CAAI,EAChC,MAAI,CAACC,GAAc,OAAOE,GAAW,aACnCF,EAAa,IAERE,CACb,CAAK,EACD,GAAIF,EACF,MAAO,IAAM,CACX,QAASG,EAAI,EAAGA,EAAIF,EAAS,OAAQE,IAAK,CACxC,MAAMD,EAAUD,EAASE,CAAC,EACtB,OAAOD,GAAW,WACpBA,EAAS,EAETR,EAAOI,EAAKK,CAAC,EAAG,IAAI,CAEhC,CACO,CAEJ,CACH,CACA,SAASC,KAAmBN,EAAM,CAChC,OAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,EAAGA,CAAI,CACrD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),C=require("./index.cjs173.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=P(v);function g(e,r){const t=i.createContext(r),s=c=>{const{children:n,...o}=c,u=i.useMemo(()=>o,Object.values(o));return C.jsxRuntimeExports.jsx(t.Provider,{value:u,children:n})};s.displayName=e+"Provider";function a(c){const n=i.useContext(t);if(n)return n;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[s,a]}function _(e,r=[]){let t=[];function s(c,n){const o=i.createContext(n),u=t.length;t=[...t,n];const p=d=>{var b;const{scope:x,children:m,...f}=d,l=((b=x==null?void 0:x[e])==null?void 0:b[u])||o,j=i.useMemo(()=>f,Object.values(f));return C.jsxRuntimeExports.jsx(l.Provider,{value:j,children:m})};p.displayName=c+"Provider";function S(d,x){var l;const m=((l=x==null?void 0:x[e])==null?void 0:l[u])||o,f=i.useContext(m);if(f)return f;if(n!==void 0)return n;throw new Error(`\`${d}\` must be used within \`${c}\``)}return[p,S]}const a=()=>{const c=t.map(n=>i.createContext(n));return function(o){const u=(o==null?void 0:o[e])||c;return i.useMemo(()=>({[`__scope${e}`]:{...o,[e]:u}}),[o,u])}};return a.scopeName=e,[s,h(a,...r)]}function h(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(c){const n=s.reduce((o,{useScope:u,scopeName:p})=>{const d=u(c)[`__scope${p}`];return{...o,...d}},{});return i.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return t.scopeName=r.scopeName,t}exports.createContext=g;exports.createContextScope=_;
2
- //# sourceMappingURL=index.cjs327.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs327.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","_a","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope"],"mappings":"kaAGA,SAASA,EAAeC,EAAmBC,EAAgB,CACzD,MAAMC,EAAUC,EAAM,cAAcF,CAAc,EAC5CG,EAAYC,GAAU,CAC1B,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAO,EAAKF,EAC3BG,EAAQL,EAAM,QAAQ,IAAMI,EAAS,OAAO,OAAOA,CAAO,CAAC,EACjE,OAAuBE,EAAAA,kBAAA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xB,MAAMC,EAAgBP,EAAgB,IAAKd,GAClCE,EAAM,cAAcF,CAAc,CAC1C,EACD,OAAO,SAAkBkB,EAAO,CAC9B,MAAMI,GAAWJ,GAAA,YAAAA,EAAQN,KAAcS,EACvC,OAAOnB,EAAM,QACX,KAAO,CAAE,CAAC,UAAUU,CAAS,EAAE,EAAG,CAAE,GAAGM,EAAO,CAACN,CAAS,EAAGU,CAAQ,IACnE,CAACJ,EAAOI,CAAQ,CACjB,CACF,CACF,EACD,OAAAF,EAAY,UAAYR,EACjB,CAACG,EAAgBQ,EAAqBH,EAAa,GAAGP,CAAsB,CAAC,CACtF,CACA,SAASU,KAAwBC,EAAQ,CACvC,MAAMC,EAAYD,EAAO,CAAC,EAC1B,GAAIA,EAAO,SAAW,EAAG,OAAOC,EAChC,MAAML,EAAc,IAAM,CACxB,MAAMM,EAAaF,EAAO,IAAKG,IAAkB,CAC/C,SAAUA,EAAc,EACxB,UAAWA,EAAa,SAC9B,EAAM,EACF,OAAO,SAA2BC,EAAgB,CAChD,MAAMC,EAAaH,EAAW,OAAO,CAACI,EAAa,CAAE,SAAAC,EAAU,UAAAnB,KAAgB,CAE7E,MAAMoB,EADaD,EAASH,CAAc,EACV,UAAUhB,CAAS,EAAE,EACrD,MAAO,CAAE,GAAGkB,EAAa,GAAGE,CAAc,CAC3C,EAAE,EAAE,EACL,OAAO9B,EAAM,QAAQ,KAAO,CAAE,CAAC,UAAUuB,EAAU,SAAS,EAAE,EAAGI,CAAU,GAAK,CAACA,CAAU,CAAC,CAC7F,CACF,EACD,OAAAT,EAAY,UAAYK,EAAU,UAC3BL,CACT","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),c=require("./index.cjs365.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=a(o);var s=u[" useId ".trim().toString()]||(()=>{}),i=0;function f(e){const[t,r]=u.useState(s());return c.useLayoutEffect(()=>{e||r(n=>n??String(i++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=f;
2
- //# sourceMappingURL=index.cjs328.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs328.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":"kaAGA,IAAIA,EAAaC,EAAM,UAAU,KAAM,EAAC,SAAU,CAAA,IAAM,IAAA,IACpDC,EAAQ,EACZ,SAASC,EAAMC,EAAiB,CAC9B,KAAM,CAACC,EAAIC,CAAK,EAAIL,EAAM,SAASD,GAAY,EAC/CO,OAAAA,EAAAA,gBAAgB,IAAM,CACfH,GAAiBE,EAAOE,GAAYA,GAAW,OAAON,GAAO,CAAC,CACvE,EAAK,CAACE,CAAe,CAAC,EACbA,IAAoBC,EAAK,SAASA,CAAE,GAAK,GAClD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs366.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=C({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function C({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
2
- //# sourceMappingURL=index.cjs329.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs329.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// packages/react/use-controllable-state/src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n }\n}) {\n const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({ defaultProp, onChange });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n const handleChange = useCallbackRef(onChange);\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const setter = nextValue;\n const value2 = typeof nextValue === \"function\" ? setter(prop) : nextValue;\n if (value2 !== prop) handleChange(value2);\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, handleChange]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const uncontrolledState = React.useState(defaultProp);\n const [value] = uncontrolledState;\n const prevValueRef = React.useRef(value);\n const handleChange = useCallbackRef(onChange);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n handleChange(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef, handleChange]);\n return uncontrolledState;\n}\nexport {\n useControllableState\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useControllableState","prop","defaultProp","onChange","uncontrolledProp","setUncontrolledProp","useUncontrolledState","isControlled","value","handleChange","useCallbackRef","setValue","React","nextValue","value2","uncontrolledState","prevValueRef"],"mappings":"kaAGA,SAASA,EAAqB,CAC5B,KAAAC,EACA,YAAAC,EACA,SAAAC,EAAW,IAAM,CACnB,CACA,EAAG,CACD,KAAM,CAACC,EAAkBC,CAAmB,EAAIC,EAAqB,CAAE,YAAAJ,EAAa,SAAAC,EAAU,EACxFI,EAAeN,IAAS,OACxBO,EAAQD,EAAeN,EAAOG,EAC9BK,EAAeC,EAAc,eAACP,CAAQ,EACtCQ,EAAWC,EAAM,YACpBC,GAAc,CACb,GAAIN,EAAc,CAEhB,MAAMO,EAAS,OAAOD,GAAc,WADrBA,EACyCZ,CAAI,EAAIY,EAC5DC,IAAWb,GAAMQ,EAAaK,CAAM,CAChD,MACQT,EAAoBQ,CAAS,CAEhC,EACD,CAACN,EAAcN,EAAMI,EAAqBI,CAAY,CACvD,EACD,MAAO,CAACD,EAAOG,CAAQ,CACzB,CACA,SAASL,EAAqB,CAC5B,YAAAJ,EACA,SAAAC,CACF,EAAG,CACD,MAAMY,EAAoBH,EAAM,SAASV,CAAW,EAC9C,CAACM,CAAK,EAAIO,EACVC,EAAeJ,EAAM,OAAOJ,CAAK,EACjCC,EAAeC,EAAc,eAACP,CAAQ,EAC5CS,OAAAA,EAAM,UAAU,IAAM,CAChBI,EAAa,UAAYR,IAC3BC,EAAaD,CAAK,EAClBQ,EAAa,QAAUR,EAE1B,EAAE,CAACA,EAAOQ,EAAcP,CAAY,CAAC,EAC/BM,CACT","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs325.js"),p=require("./index.cjs334.js"),R=require("./index.cjs326.js"),x=require("./index.cjs366.js"),H=require("./index.cjs367.js"),w=require("./index.cjs173.js");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(q);var z="DismissableLayer",h="dismissableLayer.update",M="dismissableLayer.pointerDownOutside",$="dismissableLayer.focusOutside",L,T=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=o.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:l,onDismiss:d,...v}=e,c=o.useContext(T),[u,F]=o.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=o.useState({}),W=R.useComposedRefs(t,i=>F(i)),m=Array.from(c.layers),[_]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=m.indexOf(_),P=u?m.indexOf(u):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,D=P>=A,I=Y(i=>{const E=i.target,C=[...c.branches].some(b=>b.contains(E));!D||C||(r==null||r(i),l==null||l(i),i.defaultPrevented||d==null||d())},f),O=G(i=>{const E=i.target;[...c.branches].some(b=>b.contains(E))||(a==null||a(i),l==null||l(i),i.defaultPrevented||d==null||d())},f);return H.useEscapeKeydown(i=>{P===c.layers.size-1&&(s==null||s(i),!i.defaultPrevented&&d&&(i.preventDefault(),d()))},f),o.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(L=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),g(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=L)}},[u,f,n,c]),o.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,c]),o.useEffect(()=>{const i=()=>N({});return document.addEventListener(h,i),()=>document.removeEventListener(h,i)},[]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...v,ref:W,style:{pointerEvents:k?D?"auto":"none":void 0,...e.style},onFocusCapture:y.composeEventHandlers(e.onFocusCapture,O.onFocusCapture),onBlurCapture:y.composeEventHandlers(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:y.composeEventHandlers(e.onPointerDownCapture,I.onPointerDownCapture)})});S.displayName=z;var X="DismissableLayerBranch",B=o.forwardRef((e,t)=>{const n=o.useContext(T),s=o.useRef(null),r=R.useComposedRefs(t,s);return o.useEffect(()=>{const a=s.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...e,ref:r})});B.displayName=X;function Y(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1),r=o.useRef(()=>{});return o.useEffect(()=>{const a=d=>{if(d.target&&!s.current){let v=function(){j(M,n,c,{discrete:!0})};const c={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=v,t.addEventListener("click",r.current,{once:!0})):v()}else t.removeEventListener("click",r.current);s.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function G(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1);return o.useEffect(()=>{const r=a=>{a.target&&!s.current&&j($,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function g(){const e=new CustomEvent(h);document.dispatchEvent(e)}function j(e,t,n,{discrete:s}){const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?p.dispatchDiscreteCustomEvent(r,a):r.dispatchEvent(a)}exports.DismissableLayer=S;exports.DismissableLayerBranch=B;
2
- //# sourceMappingURL=index.cjs330.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs330.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dismissable-layer/src/dismissable-layer.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useEscapeKeydown } from \"@radix-ui/react-use-escape-keydown\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DISMISSABLE_LAYER_NAME = \"DismissableLayer\";\nvar CONTEXT_UPDATE = \"dismissableLayer.update\";\nvar POINTER_DOWN_OUTSIDE = \"dismissableLayer.pointerDownOutside\";\nvar FOCUS_OUTSIDE = \"dismissableLayer.focusOutside\";\nvar originalBodyPointerEvents;\nvar DismissableLayerContext = React.createContext({\n layers: /* @__PURE__ */ new Set(),\n layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),\n branches: /* @__PURE__ */ new Set()\n});\nvar DismissableLayer = React.forwardRef(\n (props, forwardedRef) => {\n const {\n disableOutsidePointerEvents = false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n ...layerProps\n } = props;\n const context = React.useContext(DismissableLayerContext);\n const [node, setNode] = React.useState(null);\n const ownerDocument = node?.ownerDocument ?? globalThis?.document;\n const [, force] = React.useState({});\n const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));\n const layers = Array.from(context.layers);\n const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);\n const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);\n const index = node ? layers.indexOf(node) : -1;\n const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n const pointerDownOutside = usePointerDownOutside((event) => {\n const target = event.target;\n const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));\n if (!isPointerEventsEnabled || isPointerDownOnBranch) return;\n onPointerDownOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n const focusOutside = useFocusOutside((event) => {\n const target = event.target;\n const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));\n if (isFocusInBranch) return;\n onFocusOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n useEscapeKeydown((event) => {\n const isHighestLayer = index === context.layers.size - 1;\n if (!isHighestLayer) return;\n onEscapeKeyDown?.(event);\n if (!event.defaultPrevented && onDismiss) {\n event.preventDefault();\n onDismiss();\n }\n }, ownerDocument);\n React.useEffect(() => {\n if (!node) return;\n if (disableOutsidePointerEvents) {\n if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;\n ownerDocument.body.style.pointerEvents = \"none\";\n }\n context.layersWithOutsidePointerEventsDisabled.add(node);\n }\n context.layers.add(node);\n dispatchUpdate();\n return () => {\n if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) {\n ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;\n }\n };\n }, [node, ownerDocument, disableOutsidePointerEvents, context]);\n React.useEffect(() => {\n return () => {\n if (!node) return;\n context.layers.delete(node);\n context.layersWithOutsidePointerEventsDisabled.delete(node);\n dispatchUpdate();\n };\n }, [node, context]);\n React.useEffect(() => {\n const handleUpdate = () => force({});\n document.addEventListener(CONTEXT_UPDATE, handleUpdate);\n return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);\n }, []);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...layerProps,\n ref: composedRefs,\n style: {\n pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? \"auto\" : \"none\" : void 0,\n ...props.style\n },\n onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),\n onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),\n onPointerDownCapture: composeEventHandlers(\n props.onPointerDownCapture,\n pointerDownOutside.onPointerDownCapture\n )\n }\n );\n }\n);\nDismissableLayer.displayName = DISMISSABLE_LAYER_NAME;\nvar BRANCH_NAME = \"DismissableLayerBranch\";\nvar DismissableLayerBranch = React.forwardRef((props, forwardedRef) => {\n const context = React.useContext(DismissableLayerContext);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n context.branches.add(node);\n return () => {\n context.branches.delete(node);\n };\n }\n }, [context.branches]);\n return /* @__PURE__ */ jsx(Primitive.div, { ...props, ref: composedRefs });\n});\nDismissableLayerBranch.displayName = BRANCH_NAME;\nfunction usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {\n const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);\n const isPointerInsideReactTreeRef = React.useRef(false);\n const handleClickRef = React.useRef(() => {\n });\n React.useEffect(() => {\n const handlePointerDown = (event) => {\n if (event.target && !isPointerInsideReactTreeRef.current) {\n let handleAndDispatchPointerDownOutsideEvent2 = function() {\n handleAndDispatchCustomEvent(\n POINTER_DOWN_OUTSIDE,\n handlePointerDownOutside,\n eventDetail,\n { discrete: true }\n );\n };\n var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;\n const eventDetail = { originalEvent: event };\n if (event.pointerType === \"touch\") {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;\n ownerDocument.addEventListener(\"click\", handleClickRef.current, { once: true });\n } else {\n handleAndDispatchPointerDownOutsideEvent2();\n }\n } else {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n }\n isPointerInsideReactTreeRef.current = false;\n };\n const timerId = window.setTimeout(() => {\n ownerDocument.addEventListener(\"pointerdown\", handlePointerDown);\n }, 0);\n return () => {\n window.clearTimeout(timerId);\n ownerDocument.removeEventListener(\"pointerdown\", handlePointerDown);\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n };\n }, [ownerDocument, handlePointerDownOutside]);\n return {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true\n };\n}\nfunction useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {\n const handleFocusOutside = useCallbackRef(onFocusOutside);\n const isFocusInsideReactTreeRef = React.useRef(false);\n React.useEffect(() => {\n const handleFocus = (event) => {\n if (event.target && !isFocusInsideReactTreeRef.current) {\n const eventDetail = { originalEvent: event };\n handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n discrete: false\n });\n }\n };\n ownerDocument.addEventListener(\"focusin\", handleFocus);\n return () => ownerDocument.removeEventListener(\"focusin\", handleFocus);\n }, [ownerDocument, handleFocusOutside]);\n return {\n onFocusCapture: () => isFocusInsideReactTreeRef.current = true,\n onBlurCapture: () => isFocusInsideReactTreeRef.current = false\n };\n}\nfunction dispatchUpdate() {\n const event = new CustomEvent(CONTEXT_UPDATE);\n document.dispatchEvent(event);\n}\nfunction handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {\n const target = detail.originalEvent.target;\n const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });\n if (handler) target.addEventListener(name, handler, { once: true });\n if (discrete) {\n dispatchDiscreteCustomEvent(target, event);\n } else {\n target.dispatchEvent(event);\n }\n}\nvar Root = DismissableLayer;\nvar Branch = DismissableLayerBranch;\nexport {\n Branch,\n DismissableLayer,\n DismissableLayerBranch,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DISMISSABLE_LAYER_NAME","CONTEXT_UPDATE","POINTER_DOWN_OUTSIDE","FOCUS_OUTSIDE","originalBodyPointerEvents","DismissableLayerContext","React","DismissableLayer","props","forwardedRef","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","layerProps","context","node","setNode","ownerDocument","force","composedRefs","useComposedRefs","node2","layers","highestLayerWithOutsidePointerEventsDisabled","highestLayerWithOutsidePointerEventsDisabledIndex","index","isBodyPointerEventsDisabled","isPointerEventsEnabled","pointerDownOutside","usePointerDownOutside","event","target","isPointerDownOnBranch","branch","focusOutside","useFocusOutside","useEscapeKeydown","dispatchUpdate","handleUpdate","jsx","Primitive","composeEventHandlers","BRANCH_NAME","DismissableLayerBranch","ref","handlePointerDownOutside","useCallbackRef","isPointerInsideReactTreeRef","handleClickRef","handlePointerDown","handleAndDispatchPointerDownOutsideEvent2","handleAndDispatchCustomEvent","eventDetail","timerId","handleFocusOutside","isFocusInsideReactTreeRef","handleFocus","name","handler","detail","discrete","dispatchDiscreteCustomEvent"],"mappings":"6jBAUA,IAAIA,EAAyB,mBACzBC,EAAiB,0BACjBC,EAAuB,sCACvBC,EAAgB,gCAChBC,EACAC,EAA0BC,EAAM,cAAc,CAChD,OAAwB,IAAI,IAC5B,uCAAwD,IAAI,IAC5D,SAA0B,IAAI,GAChC,CAAC,EACGC,EAAmBD,EAAM,WAC3B,CAACE,EAAOC,IAAiB,CACvB,KAAM,CACJ,4BAAAC,EAA8B,GAC9B,gBAAAC,EACA,qBAAAC,EACA,eAAAC,EACA,kBAAAC,EACA,UAAAC,EACA,GAAGC,CACT,EAAQR,EACES,EAAUX,EAAM,WAAWD,CAAuB,EAClD,CAACa,EAAMC,CAAO,EAAIb,EAAM,SAAS,IAAI,EACrCc,GAAg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SAASZ,EAAgBzB,EAAgBO,EAAgB,mCAAY,SAAU,CAC7E,MAAMqC,EAAqBR,EAAc,eAACpC,CAAc,EAClD6C,EAA4BpD,EAAM,OAAO,EAAK,EACpDA,OAAAA,EAAM,UAAU,IAAM,CACpB,MAAMqD,EAAe1B,GAAU,CACzBA,EAAM,QAAU,CAACyB,EAA0B,SAE7CJ,EAA6BnD,EAAesD,EADxB,CAAE,cAAexB,CAAO,EACiC,CAC3E,SAAU,EACpB,CAAS,CAEJ,EACD,OAAAb,EAAc,iBAAiB,UAAWuC,CAAW,EAC9C,IAAMvC,EAAc,oBAAoB,UAAWuC,CAAW,CACzE,EAAK,CAACvC,EAAeqC,CAAkB,CAAC,EAC/B,CACL,eAAgB,IAAMC,EAA0B,QAAU,GAC1D,cAAe,IAAMA,EAA0B,QAAU,EAC1D,CACH,CACA,SAASlB,GAAiB,CACxB,MAAMP,EAAQ,IAAI,YAAYhC,CAAc,EAC5C,SAAS,cAAcgC,CAAK,CAC9B,CACA,SAASqB,EAA6BM,EAAMC,EAASC,EAAQ,CAAE,SAAAC,CAAQ,EAAI,CACzE,MAAM7B,EAAS4B,EAAO,cAAc,OAC9B7B,EAAQ,IAAI,YAAY2B,EAAM,CAAE,QAAS,GAAO,WAAY,GAAM,OAAAE,EAAQ,EAC5ED,GAAS3B,EAAO,iBAAiB0B,EAAMC,EAAS,CAAE,KAAM,GAAM,EAC9DE,EACFC,EAA2B,4BAAC9B,EAAQD,CAAK,EAEzCC,EAAO,cAAcD,CAAK,CAE9B","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs348.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/useCallbackRef.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,WAAS,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,EAAE,CAC5E","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),g=require("./index.cjs308.js"),a=require("./index.cjs173.js");function j(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const l=j(m);var p=l.forwardRef((e,r)=>{const{children:t,...n}=e,o=l.Children.toArray(t),i=o.find(y);if(i){const s=i.props.children,c=o.map(f=>f===i?l.Children.count(s)>1?l.Children.only(null):l.isValidElement(s)?s.props.children:null:f);return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:l.isValidElement(s)?l.cloneElement(s,void 0,c):null})}return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:t})});p.displayName="Slot";var u=l.forwardRef((e,r)=>{const{children:t,...n}=e;if(l.isValidElement(t)){const o=R(t);return l.cloneElement(t,{...b(n,t.props),ref:r?g.composeRefs(r,o):o})}return l.Children.count(t)>1?l.Children.only(null):null});u.displayName="SlotClone";var d=({children:e})=>a.jsxRuntimeExports.jsx(a.jsxRuntimeExports.Fragment,{children:e});function y(e){return l.isValidElement(e)&&e.type===d}function b(e,r){const t={...r};for(const n in r){const o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...c)=>{i(...c),o(...c)}:o&&(t[n]=o):n==="style"?t[n]={...o,...i}:n==="className"&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}function R(e){var n,o;let r=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Slot=p;exports.Slottable=d;
2
- //# sourceMappingURL=index.cjs349.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs349.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/Slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n return React.cloneElement(children, {\n ...mergeProps(slotProps, children.props),\n // @ts-ignore\n ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef\n });\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","mergeProps","composeRefs","Slottable","Fragment","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"icAIG,IAACA,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAA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YF,EAAY,CACjC,MAAMG,EAAgBlB,EAAUiB,CAAQ,EAClCE,EAAiBJ,EAAWE,CAAQ,EACxB,WAAW,KAAKA,CAAQ,EAEpCC,GAAiBC,EACnBH,EAAcC,CAAQ,EAAI,IAAIG,IAAS,CACrCD,EAAe,GAAGC,CAAI,EACtBF,EAAc,GAAGE,CAAI,CACtB,EACQF,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAgB,EACxDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAExF,CACE,MAAO,CAAE,GAAGnB,EAAW,GAAGgB,CAAe,CAC3C,CACA,SAASN,EAAcW,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),c=require("./index.cjs392.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=u(r);var a=function(){var e=c.stylesheetSingleton();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}};exports.styleHookSingleton=a;
2
- //# sourceMappingURL=index.cjs391.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs391.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":"kaAWU,IAACA,EAAqB,UAAY,CACxC,IAAIC,EAAQC,EAAAA,oBAAqB,EACjC,OAAO,SAAUC,EAAQC,EAAW,CAChCC,EAAM,UAAU,UAAY,CACxB,OAAAJ,EAAM,IAAIE,CAAM,EACT,UAAY,CACfF,EAAM,OAAQ,CACjB,CACb,EAAW,CAACE,GAAUC,CAAS,CAAC,CAC3B,CACL","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs393.js");function r(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=o.getNonce();return e&&t.setAttribute("nonce",e),t}function l(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function i(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var u=function(){var t=0,e=null;return{add:function(n){t==0&&(e=r())&&(l(e,n),i(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}};exports.stylesheetSingleton=u;
2
- //# sourceMappingURL=index.cjs392.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs392.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":"qHACA,SAASA,GAAe,CACpB,GAAI,CAAC,SACD,OAAO,KACX,IAAIC,EAAM,SAAS,cAAc,OAAO,EACxCA,EAAI,KAAO,WACX,IAAIC,EAAQC,EAAAA,SAAU,EACtB,OAAID,GACAD,EAAI,aAAa,QAASC,CAAK,EAE5BD,CACX,CACA,SAASG,EAAaH,EAAKI,EAAK,CAExBJ,EAAI,WAEJA,EAAI,WAAW,QAAUI,EAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC,CAEpD,CACA,SAASC,EAAeL,EAAK,CACzB,IAAIM,EAAO,SAAS,MAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC,EACnEA,EAAK,YAAYN,CAAG,CACxB,CACU,IAACO,EAAsB,UAAY,CACzC,IAAIC,EAAU,EACVC,EAAa,KACjB,MAAO,CACH,IAAK,SAAUC,EAAO,CACdF,GAAW,IACNC,EAAaV,OACdI,EAAaM,EAAYC,CAAK,EAC9BL,EAAeI,CAAU,GAGjCD,GACH,EACD,OAAQ,UAAY,CAChBA,IACI,CAACA,GAAWC,IACZA,EAAW,YAAcA,EAAW,WAAW,YAAYA,CAAU,EACrEA,EAAa,KAEpB,CACJ,CACL","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react");const e=require("./index.cjs173.js");var l=Symbol("radix.slottable");function o(r){const t=({children:a})=>e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:a});return t.displayName=`${r}.Slottable`,t.__radixId=l,t}exports.createSlottable=o;
2
- //# sourceMappingURL=index.cjs398.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs398.js","sources":["../node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["SLOTTABLE_IDENTIFIER","createSlottable","ownerName","Slottable2","children","jsx","Fragment2"],"mappings":"sIA8CA,IAAIA,EAAuB,OAAO,iBAAiB,EAEnD,SAASC,EAAgBC,EAAW,CAClC,MAAMC,EAAa,CAAC,CAAE,SAAAC,KACGC,wBAAIC,EAAAA,kBAAAA,SAAW,CAAE,SAAAF,EAAU,EAEpD,OAAAD,EAAW,YAAc,GAAGD,CAAS,aACrCC,EAAW,UAAYH,EAChBG,CACT","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";const s=require("./index.cjs173.js"),o=require("./index.cjs175.js"),x=require("./index.cjs150.js"),c=require("./index.cjs107.js"),i=({isOpen:e,onClick:t,className:n,toggleLabels:r})=>s.jsxRuntimeExports.jsxs("button",{className:o.clsx("",n),onClick:t,children:[e?r.closeLabel:r.activeLabel,s.jsxRuntimeExports.jsx("span",{className:"arrow",children:e?s.jsxRuntimeExports.jsx(x.ArrowTop,{}):s.jsxRuntimeExports.jsx(c.ArrowDown,{})})]});module.exports=i;
2
- //# sourceMappingURL=index.cjs401.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs401.js","sources":["../src/components/ui/Accordion/ToggleContent.tsx"],"sourcesContent":["import { ArrowDown, ArrowTop } from \"@/icons\";\nimport { ToggleLabel } from \"./types\";\nimport clsx from \"clsx\";\n\ntype Props = {\n className?: string;\n isOpen: boolean;\n onClick: () => void;\n toggleLabels: ToggleLabel;\n};\n\nconst ToggleContent = ({ isOpen, onClick, className, toggleLabels }: Props) => {\n return (\n <button className={clsx(\"\", className)} onClick={onClick}>\n {isOpen ? toggleLabels.closeLabel : toggleLabels.activeLabel}\n <span className=\"arrow\">{isOpen ? <ArrowTop /> : <ArrowDown />}</span>\n </button>\n );\n};\n\nexport default ToggleContent;\n"],"names":["ToggleContent","isOpen","onClick","className","toggleLabels","clsx","jsx","ArrowTop","ArrowDown"],"mappings":"+IAWMA,EAAgB,CAAC,CAAE,OAAAC,EAAQ,QAAAC,EAAS,UAAAC,EAAW,aAAAC,8BAEhD,SAAO,CAAA,UAAWC,EAAAA,KAAK,GAAIF,CAAS,EAAG,QAAAD,EACrC,SAAA,CAASD,EAAAG,EAAa,WAAaA,EAAa,YACjDE,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,QAAS,SAAAL,0BAAUM,EAAAA,SAAS,CAAA,CAAA,EAAMD,EAAA,kBAAA,IAAAE,EAAA,UAAA,CAAU,CAAA,CAAG,CAAA,CAAA,EACjE"}
@@ -1,5 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
5
- //# sourceMappingURL=index.es323.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es323.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es324.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,10 +0,0 @@
1
- function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
2
- return function(s) {
3
- if (f == null || f(s), p === !1 || !s.defaultPrevented)
4
- return c == null ? void 0 : c(s);
5
- };
6
- }
7
- export {
8
- h as composeEventHandlers
9
- };
10
- //# sourceMappingURL=index.es325.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es325.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AACA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAM,IAAG,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,KAAA,QAAAA,EAAuBG,IACnBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,KAAA,gBAAAA,EAAkBE;AAAA,EAE5B;AACH;","x_google_ignoreList":[0]}
@@ -1,30 +0,0 @@
1
- import * as l from "react";
2
- function f(n, u) {
3
- if (typeof n == "function")
4
- return n(u);
5
- n != null && (n.current = u);
6
- }
7
- function i(...n) {
8
- return (u) => {
9
- let o = !1;
10
- const c = n.map((e) => {
11
- const t = f(e, u);
12
- return !o && typeof t == "function" && (o = !0), t;
13
- });
14
- if (o)
15
- return () => {
16
- for (let e = 0; e < c.length; e++) {
17
- const t = c[e];
18
- typeof t == "function" ? t() : f(n[e], null);
19
- }
20
- };
21
- };
22
- }
23
- function s(...n) {
24
- return l.useCallback(i(...n), n);
25
- }
26
- export {
27
- i as composeRefs,
28
- s as useComposedRefs
29
- };
30
- //# sourceMappingURL=index.es326.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es326.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
@@ -1,71 +0,0 @@
1
- import * as u from "react";
2
- import { j as h } from "./index.es173.js";
3
- function j(t, c) {
4
- const r = u.createContext(c), a = (o) => {
5
- const { children: e, ...n } = o, s = u.useMemo(() => n, Object.values(n));
6
- return /* @__PURE__ */ h.jsx(r.Provider, { value: s, children: e });
7
- };
8
- a.displayName = t + "Provider";
9
- function i(o) {
10
- const e = u.useContext(r);
11
- if (e) return e;
12
- if (c !== void 0) return c;
13
- throw new Error(`\`${o}\` must be used within \`${t}\``);
14
- }
15
- return [a, i];
16
- }
17
- function w(t, c = []) {
18
- let r = [];
19
- function a(o, e) {
20
- const n = u.createContext(e), s = r.length;
21
- r = [...r, e];
22
- const p = (d) => {
23
- var S;
24
- const { scope: x, children: C, ...m } = d, f = ((S = x == null ? void 0 : x[t]) == null ? void 0 : S[s]) || n, P = u.useMemo(() => m, Object.values(m));
25
- return /* @__PURE__ */ h.jsx(f.Provider, { value: P, children: C });
26
- };
27
- p.displayName = o + "Provider";
28
- function v(d, x) {
29
- var f;
30
- const C = ((f = x == null ? void 0 : x[t]) == null ? void 0 : f[s]) || n, m = u.useContext(C);
31
- if (m) return m;
32
- if (e !== void 0) return e;
33
- throw new Error(`\`${d}\` must be used within \`${o}\``);
34
- }
35
- return [p, v];
36
- }
37
- const i = () => {
38
- const o = r.map((e) => u.createContext(e));
39
- return function(n) {
40
- const s = (n == null ? void 0 : n[t]) || o;
41
- return u.useMemo(
42
- () => ({ [`__scope${t}`]: { ...n, [t]: s } }),
43
- [n, s]
44
- );
45
- };
46
- };
47
- return i.scopeName = t, [a, l(i, ...c)];
48
- }
49
- function l(...t) {
50
- const c = t[0];
51
- if (t.length === 1) return c;
52
- const r = () => {
53
- const a = t.map((i) => ({
54
- useScope: i(),
55
- scopeName: i.scopeName
56
- }));
57
- return function(o) {
58
- const e = a.reduce((n, { useScope: s, scopeName: p }) => {
59
- const d = s(o)[`__scope${p}`];
60
- return { ...n, ...d };
61
- }, {});
62
- return u.useMemo(() => ({ [`__scope${c.scopeName}`]: e }), [e]);
63
- };
64
- };
65
- return r.scopeName = c.scopeName, r;
66
- }
67
- export {
68
- j as createContext,
69
- w as createContextScope
70
- };
71
- //# sourceMappingURL=index.es327.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es327.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","_a","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope"],"mappings":";;AAGA,SAASA,EAAeC,GAAmBC,GAAgB;AACzD,QAAMC,IAAUC,EAAM,cAAcF,CAAc,GAC5CG,IAAW,CAACC,MAAU;AAC1B,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAO,IAAKF,GAC3BG,IAAQL,EAAM,QAAQ,MAAMI,GAAS,OAAO,OAAOA,CAAO,CAAC;AACjE,WAAuBE,gBAAAA,EAAAA,IAAIP,EAAQ,UAAU,EAAE,OAAAM,GAAO,UAAAF,EAAQ,CAAE;AAAA,EACjE;AACD,EAAAF,EAAS,cAAcJ,IAAoB;AAC3C,WAASU,EAAYC,GAAc;AACjC,UAAMJ,IAAUJ,EAAM,WAAWD,CAAO;AACxC,QAAIK,EAAS,QAAOA;AACpB,QAAIN,MAAmB,OAAQ,QAAOA;AACtC,UAAM,IAAI,MAAM,KAAKU,CAAY,4BAA4BX,CAAiB,IAAI;AAAA,EACtF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,CAAS,GAAGU,EAAQ;QACnE,CAACJ,GAAOI,CAAQ;AAAA,MACjB;AAAA,IACF;AAAA,EACF;AACD,SAAAF,EAAY,YAAYR,GACjB,CAACG,GAAgBQ,EAAqBH,GAAa,GAAGP,CAAsB,CAAC;AACtF;AACA,SAASU,KAAwBC,GAAQ;AACvC,QAAMC,IAAYD,EAAO,CAAC;AAC1B,MAAIA,EAAO,WAAW,EAAG,QAAOC;AAChC,QAAML,IAAc,MAAM;AACxB,UAAMM,IAAaF,EAAO,IAAI,CAACG,OAAkB;AAAA,MAC/C,UAAUA,EAAc;AAAA,MACxB,WAAWA,EAAa;AAAA,IAC9B,EAAM;AACF,WAAO,SAA2BC,GAAgB;AAChD,YAAMC,IAAaH,EAAW,OAAO,CAACI,GAAa,EAAE,UAAAC,GAAU,WAAAnB,QAAgB;AAE7E,cAAMoB,IADaD,EAASH,CAAc,EACV,UAAUhB,CAAS,EAAE;AACrD,eAAO,EAAE,GAAGkB,GAAa,GAAGE,EAAc;AAAA,MAC3C,GAAE,EAAE;AACL,aAAO9B,EAAM,QAAQ,OAAO,EAAE,CAAC,UAAUuB,EAAU,SAAS,EAAE,GAAGI,EAAU,IAAK,CAACA,CAAU,CAAC;AAAA,IAC7F;AAAA,EACF;AACD,SAAAT,EAAY,YAAYK,EAAU,WAC3BL;AACT;","x_google_ignoreList":[0]}
@@ -1,14 +0,0 @@
1
- import * as u from "react";
2
- import { useLayoutEffect as a } from "./index.es365.js";
3
- var f = u[" useId ".trim().toString()] || (() => {
4
- }), s = 0;
5
- function c(t) {
6
- const [e, o] = u.useState(f());
7
- return a(() => {
8
- t || o((r) => r ?? String(s++));
9
- }, [t]), t || (e ? `radix-${e}` : "");
10
- }
11
- export {
12
- c as useId
13
- };
14
- //# sourceMappingURL=index.es328.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es328.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":";;AAGA,IAAIA,IAAaC,EAAM,UAAU,KAAM,EAAC,SAAU,CAAA,MAAM,MAAA;AAAA,IACpDC,IAAQ;AACZ,SAASC,EAAMC,GAAiB;AAC9B,QAAM,CAACC,GAAIC,CAAK,IAAIL,EAAM,SAASD,GAAY;AAC/CO,SAAAA,EAAgB,MAAM;AACpB,IAAKH,KAAiBE,EAAM,CAACE,MAAYA,KAAW,OAAON,GAAO,CAAC;AAAA,EACvE,GAAK,CAACE,CAAe,CAAC,GACbA,MAAoBC,IAAK,SAASA,CAAE,KAAK;AAClD;","x_google_ignoreList":[0]}
@@ -1,33 +0,0 @@
1
- import * as l from "react";
2
- import { useCallbackRef as f } from "./index.es366.js";
3
- function R({
4
- prop: e,
5
- defaultProp: r,
6
- onChange: s = () => {
7
- }
8
- }) {
9
- const [t, n] = C({ defaultProp: r, onChange: s }), o = e !== void 0, i = o ? e : t, u = f(s), d = l.useCallback(
10
- (c) => {
11
- if (o) {
12
- const a = typeof c == "function" ? c(e) : c;
13
- a !== e && u(a);
14
- } else
15
- n(c);
16
- },
17
- [o, e, n, u]
18
- );
19
- return [i, d];
20
- }
21
- function C({
22
- defaultProp: e,
23
- onChange: r
24
- }) {
25
- const s = l.useState(e), [t] = s, n = l.useRef(t), o = f(r);
26
- return l.useEffect(() => {
27
- n.current !== t && (o(t), n.current = t);
28
- }, [t, n, o]), s;
29
- }
30
- export {
31
- R as useControllableState
32
- };
33
- //# sourceMappingURL=index.es329.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es329.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// packages/react/use-controllable-state/src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n }\n}) {\n const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({ defaultProp, onChange });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n const handleChange = useCallbackRef(onChange);\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const setter = nextValue;\n const value2 = typeof nextValue === \"function\" ? setter(prop) : nextValue;\n if (value2 !== prop) handleChange(value2);\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, handleChange]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const uncontrolledState = React.useState(defaultProp);\n const [value] = uncontrolledState;\n const prevValueRef = React.useRef(value);\n const handleChange = useCallbackRef(onChange);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n handleChange(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef, handleChange]);\n return uncontrolledState;\n}\nexport {\n useControllableState\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useControllableState","prop","defaultProp","onChange","uncontrolledProp","setUncontrolledProp","useUncontrolledState","isControlled","value","handleChange","useCallbackRef","setValue","React","nextValue","value2","uncontrolledState","prevValueRef"],"mappings":";;AAGA,SAASA,EAAqB;AAAA,EAC5B,MAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC,IAAW,MAAM;AAAA,EACnB;AACA,GAAG;AACD,QAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAqB,EAAE,aAAAJ,GAAa,UAAAC,GAAU,GACxFI,IAAeN,MAAS,QACxBO,IAAQD,IAAeN,IAAOG,GAC9BK,IAAeC,EAAeP,CAAQ,GACtCQ,IAAWC,EAAM;AAAA,IACrB,CAACC,MAAc;AACb,UAAIN,GAAc;AAEhB,cAAMO,IAAS,OAAOD,KAAc,aADrBA,EACyCZ,CAAI,IAAIY;AAChE,QAAIC,MAAWb,KAAMQ,EAAaK,CAAM;AAAA,MAChD;AACQ,QAAAT,EAAoBQ,CAAS;AAAA,IAEhC;AAAA,IACD,CAACN,GAAcN,GAAMI,GAAqBI,CAAY;AAAA,EACvD;AACD,SAAO,CAACD,GAAOG,CAAQ;AACzB;AACA,SAASL,EAAqB;AAAA,EAC5B,aAAAJ;AAAA,EACA,UAAAC;AACF,GAAG;AACD,QAAMY,IAAoBH,EAAM,SAASV,CAAW,GAC9C,CAACM,CAAK,IAAIO,GACVC,IAAeJ,EAAM,OAAOJ,CAAK,GACjCC,IAAeC,EAAeP,CAAQ;AAC5C,SAAAS,EAAM,UAAU,MAAM;AACpB,IAAII,EAAa,YAAYR,MAC3BC,EAAaD,CAAK,GAClBQ,EAAa,UAAUR;AAAA,EAE1B,GAAE,CAACA,GAAOQ,GAAcP,CAAY,CAAC,GAC/BM;AACT;","x_google_ignoreList":[0]}