@satoshibits/react-json-schema-builder 1.0.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 (511) hide show
  1. package/README.md +260 -0
  2. package/dist/components/depounced-input.d.ts +5 -0
  3. package/dist/components/depounced-input.d.ts.map +1 -0
  4. package/dist/components/input-error.d.ts +11 -0
  5. package/dist/components/input-error.d.ts.map +1 -0
  6. package/dist/components/multi-input.d.ts +10 -0
  7. package/dist/components/multi-input.d.ts.map +1 -0
  8. package/dist/components/ui/alert-dialog.d.ts +15 -0
  9. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  10. package/dist/components/ui/alert.d.ts +10 -0
  11. package/dist/components/ui/alert.d.ts.map +1 -0
  12. package/dist/components/ui/breadcrumb.d.ts +12 -0
  13. package/dist/components/ui/breadcrumb.d.ts.map +1 -0
  14. package/dist/components/ui/button.d.ts +11 -0
  15. package/dist/components/ui/button.d.ts.map +1 -0
  16. package/dist/components/ui/dialog.d.ts +14 -0
  17. package/dist/components/ui/dialog.d.ts.map +1 -0
  18. package/dist/components/ui/form.d.ts +25 -0
  19. package/dist/components/ui/form.d.ts.map +1 -0
  20. package/dist/components/ui/input.d.ts +4 -0
  21. package/dist/components/ui/input.d.ts.map +1 -0
  22. package/dist/components/ui/label.d.ts +5 -0
  23. package/dist/components/ui/label.d.ts.map +1 -0
  24. package/dist/components/ui/select.d.ts +14 -0
  25. package/dist/components/ui/select.d.ts.map +1 -0
  26. package/dist/components/ui/separator.d.ts +5 -0
  27. package/dist/components/ui/separator.d.ts.map +1 -0
  28. package/dist/components/ui/switch.d.ts +5 -0
  29. package/dist/components/ui/switch.d.ts.map +1 -0
  30. package/dist/dev.d.ts +3 -0
  31. package/dist/dev.d.ts.map +1 -0
  32. package/dist/index.cjs.js +2 -0
  33. package/dist/index.cjs.js.map +1 -0
  34. package/dist/index.cjs10.js +2 -0
  35. package/dist/index.cjs10.js.map +1 -0
  36. package/dist/index.cjs100.js +2 -0
  37. package/dist/index.cjs100.js.map +1 -0
  38. package/dist/index.cjs101.js +39 -0
  39. package/dist/index.cjs101.js.map +1 -0
  40. package/dist/index.cjs102.js +2 -0
  41. package/dist/index.cjs102.js.map +1 -0
  42. package/dist/index.cjs103.js +2 -0
  43. package/dist/index.cjs103.js.map +1 -0
  44. package/dist/index.cjs104.js +2 -0
  45. package/dist/index.cjs104.js.map +1 -0
  46. package/dist/index.cjs105.js +2 -0
  47. package/dist/index.cjs105.js.map +1 -0
  48. package/dist/index.cjs106.js +2 -0
  49. package/dist/index.cjs106.js.map +1 -0
  50. package/dist/index.cjs107.js +2 -0
  51. package/dist/index.cjs107.js.map +1 -0
  52. package/dist/index.cjs108.js +2 -0
  53. package/dist/index.cjs108.js.map +1 -0
  54. package/dist/index.cjs109.js +2 -0
  55. package/dist/index.cjs109.js.map +1 -0
  56. package/dist/index.cjs11.js +2 -0
  57. package/dist/index.cjs11.js.map +1 -0
  58. package/dist/index.cjs110.js +2 -0
  59. package/dist/index.cjs110.js.map +1 -0
  60. package/dist/index.cjs12.js +2 -0
  61. package/dist/index.cjs12.js.map +1 -0
  62. package/dist/index.cjs13.js +2 -0
  63. package/dist/index.cjs13.js.map +1 -0
  64. package/dist/index.cjs14.js +2 -0
  65. package/dist/index.cjs14.js.map +1 -0
  66. package/dist/index.cjs15.js +2 -0
  67. package/dist/index.cjs15.js.map +1 -0
  68. package/dist/index.cjs16.js +2 -0
  69. package/dist/index.cjs16.js.map +1 -0
  70. package/dist/index.cjs17.js +2 -0
  71. package/dist/index.cjs17.js.map +1 -0
  72. package/dist/index.cjs18.js +2 -0
  73. package/dist/index.cjs18.js.map +1 -0
  74. package/dist/index.cjs19.js +2 -0
  75. package/dist/index.cjs19.js.map +1 -0
  76. package/dist/index.cjs2.js +2 -0
  77. package/dist/index.cjs2.js.map +1 -0
  78. package/dist/index.cjs20.js +2 -0
  79. package/dist/index.cjs20.js.map +1 -0
  80. package/dist/index.cjs21.js +2 -0
  81. package/dist/index.cjs21.js.map +1 -0
  82. package/dist/index.cjs22.js +7 -0
  83. package/dist/index.cjs22.js.map +1 -0
  84. package/dist/index.cjs23.js +7 -0
  85. package/dist/index.cjs23.js.map +1 -0
  86. package/dist/index.cjs24.js +7 -0
  87. package/dist/index.cjs24.js.map +1 -0
  88. package/dist/index.cjs25.js +7 -0
  89. package/dist/index.cjs25.js.map +1 -0
  90. package/dist/index.cjs26.js +7 -0
  91. package/dist/index.cjs26.js.map +1 -0
  92. package/dist/index.cjs27.js +2 -0
  93. package/dist/index.cjs27.js.map +1 -0
  94. package/dist/index.cjs28.js +2 -0
  95. package/dist/index.cjs28.js.map +1 -0
  96. package/dist/index.cjs29.js +2 -0
  97. package/dist/index.cjs29.js.map +1 -0
  98. package/dist/index.cjs3.js +2 -0
  99. package/dist/index.cjs3.js.map +1 -0
  100. package/dist/index.cjs30.js +7 -0
  101. package/dist/index.cjs30.js.map +1 -0
  102. package/dist/index.cjs31.js +2 -0
  103. package/dist/index.cjs31.js.map +1 -0
  104. package/dist/index.cjs32.js +2 -0
  105. package/dist/index.cjs32.js.map +1 -0
  106. package/dist/index.cjs33.js +10 -0
  107. package/dist/index.cjs33.js.map +1 -0
  108. package/dist/index.cjs34.js +24 -0
  109. package/dist/index.cjs34.js.map +1 -0
  110. package/dist/index.cjs35.js +2 -0
  111. package/dist/index.cjs35.js.map +1 -0
  112. package/dist/index.cjs36.js +2 -0
  113. package/dist/index.cjs36.js.map +1 -0
  114. package/dist/index.cjs37.js +2 -0
  115. package/dist/index.cjs37.js.map +1 -0
  116. package/dist/index.cjs38.js +2 -0
  117. package/dist/index.cjs38.js.map +1 -0
  118. package/dist/index.cjs39.js +2 -0
  119. package/dist/index.cjs39.js.map +1 -0
  120. package/dist/index.cjs4.js +2 -0
  121. package/dist/index.cjs4.js.map +1 -0
  122. package/dist/index.cjs40.js +2 -0
  123. package/dist/index.cjs40.js.map +1 -0
  124. package/dist/index.cjs41.js +2 -0
  125. package/dist/index.cjs41.js.map +1 -0
  126. package/dist/index.cjs42.js +2 -0
  127. package/dist/index.cjs42.js.map +1 -0
  128. package/dist/index.cjs43.js +2 -0
  129. package/dist/index.cjs43.js.map +1 -0
  130. package/dist/index.cjs44.js +2 -0
  131. package/dist/index.cjs44.js.map +1 -0
  132. package/dist/index.cjs45.js +2 -0
  133. package/dist/index.cjs45.js.map +1 -0
  134. package/dist/index.cjs46.js +2 -0
  135. package/dist/index.cjs46.js.map +1 -0
  136. package/dist/index.cjs47.js +2 -0
  137. package/dist/index.cjs47.js.map +1 -0
  138. package/dist/index.cjs48.js +7 -0
  139. package/dist/index.cjs48.js.map +1 -0
  140. package/dist/index.cjs49.js +7 -0
  141. package/dist/index.cjs49.js.map +1 -0
  142. package/dist/index.cjs5.js +2 -0
  143. package/dist/index.cjs5.js.map +1 -0
  144. package/dist/index.cjs50.js +7 -0
  145. package/dist/index.cjs50.js.map +1 -0
  146. package/dist/index.cjs51.js +8 -0
  147. package/dist/index.cjs51.js.map +1 -0
  148. package/dist/index.cjs52.js +2 -0
  149. package/dist/index.cjs52.js.map +1 -0
  150. package/dist/index.cjs53.js +2 -0
  151. package/dist/index.cjs53.js.map +1 -0
  152. package/dist/index.cjs54.js +2 -0
  153. package/dist/index.cjs54.js.map +1 -0
  154. package/dist/index.cjs55.js +7 -0
  155. package/dist/index.cjs55.js.map +1 -0
  156. package/dist/index.cjs56.js +7 -0
  157. package/dist/index.cjs56.js.map +1 -0
  158. package/dist/index.cjs57.js +7 -0
  159. package/dist/index.cjs57.js.map +1 -0
  160. package/dist/index.cjs58.js +7 -0
  161. package/dist/index.cjs58.js.map +1 -0
  162. package/dist/index.cjs59.js +2 -0
  163. package/dist/index.cjs59.js.map +1 -0
  164. package/dist/index.cjs6.js +2 -0
  165. package/dist/index.cjs6.js.map +1 -0
  166. package/dist/index.cjs60.js +2 -0
  167. package/dist/index.cjs60.js.map +1 -0
  168. package/dist/index.cjs61.js +6 -0
  169. package/dist/index.cjs61.js.map +1 -0
  170. package/dist/index.cjs62.js +2 -0
  171. package/dist/index.cjs62.js.map +1 -0
  172. package/dist/index.cjs63.js +2 -0
  173. package/dist/index.cjs63.js.map +1 -0
  174. package/dist/index.cjs64.js +2 -0
  175. package/dist/index.cjs64.js.map +1 -0
  176. package/dist/index.cjs65.js +2 -0
  177. package/dist/index.cjs65.js.map +1 -0
  178. package/dist/index.cjs66.js +2 -0
  179. package/dist/index.cjs66.js.map +1 -0
  180. package/dist/index.cjs67.js +2 -0
  181. package/dist/index.cjs67.js.map +1 -0
  182. package/dist/index.cjs68.js +2 -0
  183. package/dist/index.cjs68.js.map +1 -0
  184. package/dist/index.cjs69.js +2 -0
  185. package/dist/index.cjs69.js.map +1 -0
  186. package/dist/index.cjs7.js +2 -0
  187. package/dist/index.cjs7.js.map +1 -0
  188. package/dist/index.cjs70.js +2 -0
  189. package/dist/index.cjs70.js.map +1 -0
  190. package/dist/index.cjs71.js +2 -0
  191. package/dist/index.cjs71.js.map +1 -0
  192. package/dist/index.cjs72.js +2 -0
  193. package/dist/index.cjs72.js.map +1 -0
  194. package/dist/index.cjs73.js +2 -0
  195. package/dist/index.cjs73.js.map +1 -0
  196. package/dist/index.cjs74.js +2 -0
  197. package/dist/index.cjs74.js.map +1 -0
  198. package/dist/index.cjs75.js +2 -0
  199. package/dist/index.cjs75.js.map +1 -0
  200. package/dist/index.cjs76.js +2 -0
  201. package/dist/index.cjs76.js.map +1 -0
  202. package/dist/index.cjs77.js +2 -0
  203. package/dist/index.cjs77.js.map +1 -0
  204. package/dist/index.cjs78.js +2 -0
  205. package/dist/index.cjs78.js.map +1 -0
  206. package/dist/index.cjs79.js +2 -0
  207. package/dist/index.cjs79.js.map +1 -0
  208. package/dist/index.cjs8.js +2 -0
  209. package/dist/index.cjs8.js.map +1 -0
  210. package/dist/index.cjs80.js +2 -0
  211. package/dist/index.cjs80.js.map +1 -0
  212. package/dist/index.cjs81.js +2 -0
  213. package/dist/index.cjs81.js.map +1 -0
  214. package/dist/index.cjs82.js +2 -0
  215. package/dist/index.cjs82.js.map +1 -0
  216. package/dist/index.cjs83.js +2 -0
  217. package/dist/index.cjs83.js.map +1 -0
  218. package/dist/index.cjs84.js +2 -0
  219. package/dist/index.cjs84.js.map +1 -0
  220. package/dist/index.cjs85.js +2 -0
  221. package/dist/index.cjs85.js.map +1 -0
  222. package/dist/index.cjs86.js +2 -0
  223. package/dist/index.cjs86.js.map +1 -0
  224. package/dist/index.cjs87.js +2 -0
  225. package/dist/index.cjs87.js.map +1 -0
  226. package/dist/index.cjs88.js +2 -0
  227. package/dist/index.cjs88.js.map +1 -0
  228. package/dist/index.cjs89.js +2 -0
  229. package/dist/index.cjs89.js.map +1 -0
  230. package/dist/index.cjs9.js +2 -0
  231. package/dist/index.cjs9.js.map +1 -0
  232. package/dist/index.cjs90.js +2 -0
  233. package/dist/index.cjs90.js.map +1 -0
  234. package/dist/index.cjs91.js +2 -0
  235. package/dist/index.cjs91.js.map +1 -0
  236. package/dist/index.cjs92.js +2 -0
  237. package/dist/index.cjs92.js.map +1 -0
  238. package/dist/index.cjs93.js +2 -0
  239. package/dist/index.cjs93.js.map +1 -0
  240. package/dist/index.cjs94.js +2 -0
  241. package/dist/index.cjs94.js.map +1 -0
  242. package/dist/index.cjs95.js +5 -0
  243. package/dist/index.cjs95.js.map +1 -0
  244. package/dist/index.cjs96.js +2 -0
  245. package/dist/index.cjs96.js.map +1 -0
  246. package/dist/index.cjs97.js +2 -0
  247. package/dist/index.cjs97.js.map +1 -0
  248. package/dist/index.cjs98.js +2 -0
  249. package/dist/index.cjs98.js.map +1 -0
  250. package/dist/index.cjs99.js +2 -0
  251. package/dist/index.cjs99.js.map +1 -0
  252. package/dist/index.d.mts +10 -0
  253. package/dist/index.d.mts.map +1 -0
  254. package/dist/index.es.js +31 -0
  255. package/dist/index.es.js.map +1 -0
  256. package/dist/index.es10.js +26 -0
  257. package/dist/index.es10.js.map +1 -0
  258. package/dist/index.es100.js +68 -0
  259. package/dist/index.es100.js.map +1 -0
  260. package/dist/index.es101.js +72 -0
  261. package/dist/index.es101.js.map +1 -0
  262. package/dist/index.es102.js +12 -0
  263. package/dist/index.es102.js.map +1 -0
  264. package/dist/index.es103.js +17 -0
  265. package/dist/index.es103.js.map +1 -0
  266. package/dist/index.es104.js +65 -0
  267. package/dist/index.es104.js.map +1 -0
  268. package/dist/index.es105.js +7 -0
  269. package/dist/index.es105.js.map +1 -0
  270. package/dist/index.es106.js +26 -0
  271. package/dist/index.es106.js.map +1 -0
  272. package/dist/index.es107.js +26 -0
  273. package/dist/index.es107.js.map +1 -0
  274. package/dist/index.es108.js +16 -0
  275. package/dist/index.es108.js.map +1 -0
  276. package/dist/index.es109.js +31 -0
  277. package/dist/index.es109.js.map +1 -0
  278. package/dist/index.es11.js +51 -0
  279. package/dist/index.es11.js.map +1 -0
  280. package/dist/index.es110.js +8 -0
  281. package/dist/index.es110.js.map +1 -0
  282. package/dist/index.es12.js +70 -0
  283. package/dist/index.es12.js.map +1 -0
  284. package/dist/index.es13.js +32 -0
  285. package/dist/index.es13.js.map +1 -0
  286. package/dist/index.es14.js +137 -0
  287. package/dist/index.es14.js.map +1 -0
  288. package/dist/index.es15.js +23 -0
  289. package/dist/index.es15.js.map +1 -0
  290. package/dist/index.es16.js +138 -0
  291. package/dist/index.es16.js.map +1 -0
  292. package/dist/index.es17.js +141 -0
  293. package/dist/index.es17.js.map +1 -0
  294. package/dist/index.es18.js +67 -0
  295. package/dist/index.es18.js.map +1 -0
  296. package/dist/index.es19.js +14 -0
  297. package/dist/index.es19.js.map +1 -0
  298. package/dist/index.es2.js +108 -0
  299. package/dist/index.es2.js.map +1 -0
  300. package/dist/index.es20.js +26 -0
  301. package/dist/index.es20.js.map +1 -0
  302. package/dist/index.es21.js +428 -0
  303. package/dist/index.es21.js.map +1 -0
  304. package/dist/index.es22.js +16 -0
  305. package/dist/index.es22.js.map +1 -0
  306. package/dist/index.es23.js +19 -0
  307. package/dist/index.es23.js.map +1 -0
  308. package/dist/index.es24.js +16 -0
  309. package/dist/index.es24.js.map +1 -0
  310. package/dist/index.es25.js +22 -0
  311. package/dist/index.es25.js.map +1 -0
  312. package/dist/index.es26.js +13 -0
  313. package/dist/index.es26.js.map +1 -0
  314. package/dist/index.es27.js +22 -0
  315. package/dist/index.es27.js.map +1 -0
  316. package/dist/index.es28.js +26 -0
  317. package/dist/index.es28.js.map +1 -0
  318. package/dist/index.es29.js +9 -0
  319. package/dist/index.es29.js.map +1 -0
  320. package/dist/index.es3.js +337 -0
  321. package/dist/index.es3.js.map +1 -0
  322. package/dist/index.es30.js +16 -0
  323. package/dist/index.es30.js.map +1 -0
  324. package/dist/index.es31.js +11 -0
  325. package/dist/index.es31.js.map +1 -0
  326. package/dist/index.es32.js +5 -0
  327. package/dist/index.es32.js.map +1 -0
  328. package/dist/index.es33.js +36 -0
  329. package/dist/index.es33.js.map +1 -0
  330. package/dist/index.es34.js +409 -0
  331. package/dist/index.es34.js.map +1 -0
  332. package/dist/index.es35.js +20 -0
  333. package/dist/index.es35.js.map +1 -0
  334. package/dist/index.es36.js +18 -0
  335. package/dist/index.es36.js.map +1 -0
  336. package/dist/index.es37.js +2480 -0
  337. package/dist/index.es37.js.map +1 -0
  338. package/dist/index.es38.js +44 -0
  339. package/dist/index.es38.js.map +1 -0
  340. package/dist/index.es39.js +36 -0
  341. package/dist/index.es39.js.map +1 -0
  342. package/dist/index.es4.js +80 -0
  343. package/dist/index.es4.js.map +1 -0
  344. package/dist/index.es40.js +119 -0
  345. package/dist/index.es40.js.map +1 -0
  346. package/dist/index.es41.js +117 -0
  347. package/dist/index.es41.js.map +1 -0
  348. package/dist/index.es42.js +59 -0
  349. package/dist/index.es42.js.map +1 -0
  350. package/dist/index.es43.js +27 -0
  351. package/dist/index.es43.js.map +1 -0
  352. package/dist/index.es44.js +48 -0
  353. package/dist/index.es44.js.map +1 -0
  354. package/dist/index.es45.js +89 -0
  355. package/dist/index.es45.js.map +1 -0
  356. package/dist/index.es46.js +63 -0
  357. package/dist/index.es46.js.map +1 -0
  358. package/dist/index.es47.js +835 -0
  359. package/dist/index.es47.js.map +1 -0
  360. package/dist/index.es48.js +13 -0
  361. package/dist/index.es48.js.map +1 -0
  362. package/dist/index.es49.js +13 -0
  363. package/dist/index.es49.js.map +1 -0
  364. package/dist/index.es5.js +106 -0
  365. package/dist/index.es5.js.map +1 -0
  366. package/dist/index.es50.js +13 -0
  367. package/dist/index.es50.js.map +1 -0
  368. package/dist/index.es51.js +126 -0
  369. package/dist/index.es51.js.map +1 -0
  370. package/dist/index.es52.js +66 -0
  371. package/dist/index.es52.js.map +1 -0
  372. package/dist/index.es53.js +5 -0
  373. package/dist/index.es53.js.map +1 -0
  374. package/dist/index.es54.js +5 -0
  375. package/dist/index.es54.js.map +1 -0
  376. package/dist/index.es55.js +24 -0
  377. package/dist/index.es55.js.map +1 -0
  378. package/dist/index.es56.js +12 -0
  379. package/dist/index.es56.js.map +1 -0
  380. package/dist/index.es57.js +41 -0
  381. package/dist/index.es57.js.map +1 -0
  382. package/dist/index.es58.js +21 -0
  383. package/dist/index.es58.js.map +1 -0
  384. package/dist/index.es59.js +11 -0
  385. package/dist/index.es59.js.map +1 -0
  386. package/dist/index.es6.js +61 -0
  387. package/dist/index.es6.js.map +1 -0
  388. package/dist/index.es60.js +8 -0
  389. package/dist/index.es60.js.map +1 -0
  390. package/dist/index.es61.js +258 -0
  391. package/dist/index.es61.js.map +1 -0
  392. package/dist/index.es62.js +25 -0
  393. package/dist/index.es62.js.map +1 -0
  394. package/dist/index.es63.js +7 -0
  395. package/dist/index.es63.js.map +1 -0
  396. package/dist/index.es64.js +10 -0
  397. package/dist/index.es64.js.map +1 -0
  398. package/dist/index.es65.js +49 -0
  399. package/dist/index.es65.js.map +1 -0
  400. package/dist/index.es66.js +30 -0
  401. package/dist/index.es66.js.map +1 -0
  402. package/dist/index.es67.js +69 -0
  403. package/dist/index.es67.js.map +1 -0
  404. package/dist/index.es68.js +11 -0
  405. package/dist/index.es68.js.map +1 -0
  406. package/dist/index.es69.js +128 -0
  407. package/dist/index.es69.js.map +1 -0
  408. package/dist/index.es7.js +59 -0
  409. package/dist/index.es7.js.map +1 -0
  410. package/dist/index.es70.js +18 -0
  411. package/dist/index.es70.js.map +1 -0
  412. package/dist/index.es71.js +137 -0
  413. package/dist/index.es71.js.map +1 -0
  414. package/dist/index.es72.js +14 -0
  415. package/dist/index.es72.js.map +1 -0
  416. package/dist/index.es73.js +219 -0
  417. package/dist/index.es73.js.map +1 -0
  418. package/dist/index.es74.js +16 -0
  419. package/dist/index.es74.js.map +1 -0
  420. package/dist/index.es75.js +36 -0
  421. package/dist/index.es75.js.map +1 -0
  422. package/dist/index.es76.js +11 -0
  423. package/dist/index.es76.js.map +1 -0
  424. package/dist/index.es77.js +33 -0
  425. package/dist/index.es77.js.map +1 -0
  426. package/dist/index.es78.js +7 -0
  427. package/dist/index.es78.js.map +1 -0
  428. package/dist/index.es79.js +9 -0
  429. package/dist/index.es79.js.map +1 -0
  430. package/dist/index.es8.js +170 -0
  431. package/dist/index.es8.js.map +1 -0
  432. package/dist/index.es80.js +31 -0
  433. package/dist/index.es80.js.map +1 -0
  434. package/dist/index.es81.js +53 -0
  435. package/dist/index.es81.js.map +1 -0
  436. package/dist/index.es82.js +12 -0
  437. package/dist/index.es82.js.map +1 -0
  438. package/dist/index.es83.js +28 -0
  439. package/dist/index.es83.js.map +1 -0
  440. package/dist/index.es84.js +71 -0
  441. package/dist/index.es84.js.map +1 -0
  442. package/dist/index.es85.js +15 -0
  443. package/dist/index.es85.js.map +1 -0
  444. package/dist/index.es86.js +208 -0
  445. package/dist/index.es86.js.map +1 -0
  446. package/dist/index.es87.js +25 -0
  447. package/dist/index.es87.js.map +1 -0
  448. package/dist/index.es88.js +396 -0
  449. package/dist/index.es88.js.map +1 -0
  450. package/dist/index.es89.js +28 -0
  451. package/dist/index.es89.js.map +1 -0
  452. package/dist/index.es9.js +6 -0
  453. package/dist/index.es9.js.map +1 -0
  454. package/dist/index.es90.js +32 -0
  455. package/dist/index.es90.js.map +1 -0
  456. package/dist/index.es91.js +8 -0
  457. package/dist/index.es91.js.map +1 -0
  458. package/dist/index.es92.js +8 -0
  459. package/dist/index.es92.js.map +1 -0
  460. package/dist/index.es93.js +6 -0
  461. package/dist/index.es93.js.map +1 -0
  462. package/dist/index.es94.js +27 -0
  463. package/dist/index.es94.js.map +1 -0
  464. package/dist/index.es95.js +113 -0
  465. package/dist/index.es95.js.map +1 -0
  466. package/dist/index.es96.js +19 -0
  467. package/dist/index.es96.js.map +1 -0
  468. package/dist/index.es97.js +526 -0
  469. package/dist/index.es97.js.map +1 -0
  470. package/dist/index.es98.js +130 -0
  471. package/dist/index.es98.js.map +1 -0
  472. package/dist/index.es99.js +132 -0
  473. package/dist/index.es99.js.map +1 -0
  474. package/dist/lib/utils.d.ts +3 -0
  475. package/dist/lib/utils.d.ts.map +1 -0
  476. package/dist/main.d.ts +1 -0
  477. package/dist/main.d.ts.map +1 -0
  478. package/dist/packages/builder/add-dialog.d.ts +88 -0
  479. package/dist/packages/builder/add-dialog.d.ts.map +1 -0
  480. package/dist/packages/builder/context.d.ts +55 -0
  481. package/dist/packages/builder/context.d.ts.map +1 -0
  482. package/dist/packages/builder/context.test.d.ts +2 -0
  483. package/dist/packages/builder/context.test.d.ts.map +1 -0
  484. package/dist/packages/builder/edit-dialog.d.ts +15 -0
  485. package/dist/packages/builder/edit-dialog.d.ts.map +1 -0
  486. package/dist/packages/builder/schema-builder.d.ts +36 -0
  487. package/dist/packages/builder/schema-builder.d.ts.map +1 -0
  488. package/dist/packages/builder/schema-builder.test.d.ts +2 -0
  489. package/dist/packages/builder/schema-builder.test.d.ts.map +1 -0
  490. package/dist/packages/builder/shared-types.d.ts +6 -0
  491. package/dist/packages/builder/shared-types.d.ts.map +1 -0
  492. package/dist/packages/builder/utils.d.ts +19 -0
  493. package/dist/packages/builder/utils.d.ts.map +1 -0
  494. package/dist/packages/constraints/constraint-add.d.ts +10 -0
  495. package/dist/packages/constraints/constraint-add.d.ts.map +1 -0
  496. package/dist/packages/constraints/context.d.ts +63 -0
  497. package/dist/packages/constraints/context.d.ts.map +1 -0
  498. package/dist/packages/constraints/context.test.d.ts +2 -0
  499. package/dist/packages/constraints/context.test.d.ts.map +1 -0
  500. package/dist/packages/plugins/array.d.ts +13 -0
  501. package/dist/packages/plugins/array.d.ts.map +1 -0
  502. package/dist/packages/plugins/number.d.ts +19 -0
  503. package/dist/packages/plugins/number.d.ts.map +1 -0
  504. package/dist/packages/plugins/object.d.ts +10 -0
  505. package/dist/packages/plugins/object.d.ts.map +1 -0
  506. package/dist/packages/plugins/string.d.ts +16 -0
  507. package/dist/packages/plugins/string.d.ts.map +1 -0
  508. package/dist/setupTests.d.ts +1 -0
  509. package/dist/setupTests.d.ts.map +1 -0
  510. package/dist/style.css +1559 -0
  511. package/package.json +119 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs61.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-dialog@1.1.6_@types+react-dom@18.3.5_@types+react@18.3.18__@types+react_2fee2e9aa364eea392f3ee69fad333ff/node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dialog/src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","openProp","defaultOpen","onOpenChange","modal","triggerRef","React","contentRef","open","setOpen","useControllableState","jsx","useId","prevOpen","TRIGGER_NAME","DialogTrigger","forwardedRef","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","child","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","RemoveScroll","Slot","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Trigger","Portal","Overlay","Content","Title","Description","Close"],"mappings":"o0BAmBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,CAAiB,EAAIC,EAAAA,mBA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AM6E,EAAgB5E,EAAW,SAAS,aAAa,kBAAkB,EACrE2E,GAAiBC,IACI,SAAS,eAAeD,CAAa,GACvC,QAAQ,KAAKF,CAAO,EAE5C,EAAE,CAACA,EAASzE,EAAY2E,CAAa,CAAC,EAChC,IACT,EACIE,GAAOvF,EACPwF,GAAUtE,EACVuE,GAAS3D,EACT4D,GAAUrD,EACVsD,GAAU/C,EACVgD,GAAQvB,EACRwB,GAAcrB,EACdsB,GAAQnB","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),l=require("./index.cjs75.js"),d=require("./index.cjs9.js");function p(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const f=p(u);var v="Separator",i="horizontal",O=["horizontal","vertical"],n=f.forwardRef((t,r)=>{const{decorative:e,orientation:o=i,...c}=t,a=m(o)?o:i,s=e?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return d.jsxRuntimeExports.jsx(l.Primitive.div,{"data-orientation":a,...s,...c,ref:r})});n.displayName=v;function m(t){return O.includes(t)}var R=n;exports.Root=R;exports.Separator=n;
2
+ //# sourceMappingURL=index.cjs62.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs62.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-separator@1.1.2_@types+react-dom@18.3.5_@types+react@18.3.18__@types+re_6a31c827ced62e96872ef3c1fd6738f1/node_modules/@radix-ui/react-separator/dist/index.mjs"],"sourcesContent":["// packages/react/separator/src/separator.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Separator\";\nvar DEFAULT_ORIENTATION = \"horizontal\";\nvar ORIENTATIONS = [\"horizontal\", \"vertical\"];\nvar Separator = React.forwardRef((props, forwardedRef) => {\n const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;\n const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;\n const ariaOrientation = orientation === \"vertical\" ? orientation : void 0;\n const semanticProps = decorative ? { role: \"none\" } : { \"aria-orientation\": ariaOrientation, role: \"separator\" };\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-orientation\": orientation,\n ...semanticProps,\n ...domProps,\n ref: forwardedRef\n }\n );\n});\nSeparator.displayName = NAME;\nfunction isValidOrientation(orientation) {\n return ORIENTATIONS.includes(orientation);\n}\nvar Root = Separator;\nexport {\n Root,\n Separator\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","DEFAULT_ORIENTATION","ORIENTATIONS","Separator","React","props","forwardedRef","decorative","orientationProp","domProps","orientation","isValidOrientation","semanticProps","jsx","Primitive","Root"],"mappings":"8bAIA,IAAIA,EAAO,YACPC,EAAsB,aACtBC,EAAe,CAAC,aAAc,UAAU,EACxCC,EAAYC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACxD,KAAM,CAAE,WAAAC,EAAY,YAAaC,EAAkBP,EAAqB,GAAGQ,CAAQ,EAAKJ,EAClFK,EAAcC,EAAmBH,CAAe,EAAIA,EAAkBP,EAEtEW,EAAgBL,EAAa,CAAE,KAAM,QAAW,CAAE,mBADhCG,IAAgB,WAAaA,EAAc,OAC0B,KAAM,WAAa,EAChH,OAAuBG,EAAG,kBAAA,IACxBC,EAAAA,UAAU,IACV,CACE,mBAAoBJ,EACpB,GAAGE,EACH,GAAGH,EACH,IAAKH,CACX,CACG,CACH,CAAC,EACDH,EAAU,YAAcH,EACxB,SAASW,EAAmBD,EAAa,CACvC,OAAOR,EAAa,SAASQ,CAAW,CAC1C,CACG,IAACK,EAAOZ","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(t,[e,a]){return Math.min(a,Math.max(e,t))}exports.clamp=n;
2
+ //# sourceMappingURL=index.cjs63.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs63.js","sources":["../../../node_modules/.pnpm/@radix-ui+number@1.1.0/node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"gFACA,SAASA,EAAMC,EAAO,CAACC,EAAKC,CAAG,EAAG,CAChC,OAAO,KAAK,IAAIA,EAAK,KAAK,IAAID,EAAKD,CAAK,CAAC,CAC3C","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(t,n,{checkForDefaultPrevented:r=!0}={}){return function(e){if(t?.(e),r===!1||!e.defaultPrevented)return n?.(e)}}exports.composeEventHandlers=o;
2
+ //# sourceMappingURL=index.cjs64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs64.js","sources":["../../../node_modules/.pnpm/@radix-ui+primitive@1.1.1/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,IAAuBG,CAAK,EACxBD,IAA6B,IAAS,CAACC,EAAM,iBAC/C,OAAOF,IAAkBE,CAAK,CAEjC,CACH","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),y=require("./index.cjs67.js"),M=require("./index.cjs66.js"),I=require("./index.cjs38.js"),f=require("./index.cjs9.js");function O(l){const u=l+"CollectionProvider",[E,A]=y.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),a=n=>{const{scope:e,children:s}=n,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:s})};a.displayName=u;const m=l+"CollectionSlot",p=r.forwardRef((n,e)=>{const{scope:s,children:t}=n,o=d(m,s),c=M.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(I.Slot,{ref:c,children:t})});p.displayName=m;const C=l+"CollectionItemSlot",x="data-radix-collection-item",R=r.forwardRef((n,e)=>{const{scope:s,children:t,...o}=n,c=r.useRef(null),S=M.useComposedRefs(e,c),i=d(C,s);return r.useEffect(()=>(i.itemMap.set(c,{ref:c,...o}),()=>void i.itemMap.delete(c))),f.jsxRuntimeExports.jsx(I.Slot,{[x]:"",ref:S,children:t})});R.displayName=C;function T(n){const e=d(l+"CollectionConsumer",n);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,j)=>o.indexOf(i.ref.current)-o.indexOf(j.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:a,Slot:p,ItemSlot:R},T,A]}exports.createCollection=O;
2
+ //# sourceMappingURL=index.cjs65.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs65.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-collection@1.1.2_@types+react-dom@18.3.5_@types+react@18.3.18__@types+r_1191cd0a47fe0eb13da0d6344f1cecd1/node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(Slot, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(Slot, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","Slot","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":"gOAQA,SAASA,EAAiBC,EAAM,CAC9B,MAAMC,EAAgBD,EAAO,qBACvB,CAACE,EAAyBC,CAAqB,EAAIC,EAAAA,mBAAmBH,CAAa,EACnF,CAACI,EAAwBC,CAAoB,EAAIJ,EACrDD,EACA,CAAE,cAAe,CAAE,QAAS,IAAI,EAAI,QAAyB,IAAI,GAAK,CACvE,EACKM,EAAsBC,GAAU,CACpC,KAAM,CAAE,MAAAC,EAAO,SAAAC,CAAQ,EAAKF,EACtBG,EAAMC,EAAM,OAAO,IAAI,EACvBC,EAAUD,EAAM,OAAuB,IAAI,GAAK,EAAE,QACxD,OAAuBE,EAAG,kBAAA,IAACT,EAAwB,CAAE,MAAAI,EAAO,QAAAI,EAAS,cAAeF,EAAK,SAAAD,EAAU,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,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CACnF,CAEF,EAAE,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE/C,CACE,MAAO,CACL,CAAE,SAAUX,EAAoB,KAAMS,EAAgB,SAAUQ,CAAoB,EACpFE,EACAvB,CACD,CACH","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
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.cjs66.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs66.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.1_@types+react@18.3.18_react@19.0.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/composeRefs.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]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react"),v=require("./index.cjs9.js");function j(e){const o=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(o,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const i=j(C);function P(e,o){const t=i.createContext(o),s=c=>{const{children:n,...r}=c,u=i.useMemo(()=>r,Object.values(r));return v.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(o!==void 0)return o;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[s,a]}function g(e,o=[]){let t=[];function s(c,n){const r=i.createContext(n),u=t.length;t=[...t,n];const d=p=>{const{scope:f,children:l,...x}=p,S=f?.[e]?.[u]||r,b=i.useMemo(()=>x,Object.values(x));return v.jsxRuntimeExports.jsx(S.Provider,{value:b,children:l})};d.displayName=c+"Provider";function m(p,f){const l=f?.[e]?.[u]||r,x=i.useContext(l);if(x)return x;if(n!==void 0)return n;throw new Error(`\`${p}\` must be used within \`${c}\``)}return[d,m]}const a=()=>{const c=t.map(n=>i.createContext(n));return function(r){const u=r?.[e]||c;return i.useMemo(()=>({[`__scope${e}`]:{...r,[e]:u}}),[r,u])}};return a.scopeName=e,[s,_(a,...o)]}function _(...e){const o=e[0];if(e.length===1)return o;const t=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(c){const n=s.reduce((r,{useScope:u,scopeName:d})=>{const p=u(c)[`__scope${d}`];return{...r,...p}},{});return i.useMemo(()=>({[`__scope${o.scopeName}`]:n}),[n])}};return t.scopeName=o.scopeName,t}exports.createContext=P;exports.createContextScope=g;
2
+ //# sourceMappingURL=index.cjs67.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs67.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-context@1.1.1_@types+react@18.3.18_react@19.0.0/node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/createContext.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","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope"],"mappings":"gaAGA,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,kBAAAA,IAAIP,EAAQ,SAAU,CAAE,MAAAM,EAAO,SAAAF,CAAQ,CAAE,CACjE,EACDF,EAAS,YAAcJ,EAAoB,WAC3C,SAASU,EAAYC,EAAc,CACjC,MAAMJ,EAAUJ,EAAM,WAAWD,CAAO,EACxC,GAAIK,EAAS,OAAOA,EACpB,GAAIN,IAAmB,OAAQ,OAAOA,EACtC,MAAM,IAAI,MAAM,KAAKU,CAAY,4BAA4BX,CAAiB,IAAI,CACtF,CACE,MAAO,CAACI,EAAUM,CAAW,CAC/B,CACA,SAASE,EAAmBC,EAAWC,EAAyB,GAAI,CAClE,IAAIC,EAAkB,CAAE,EACxB,SAASC,EAAehB,EAAmBC,EAAgB,CACzD,MAAMgB,EAAcd,EAAM,cAAcF,CAAc,EAChDiB,EAAQH,EAAgB,OAC9BA,EAAkB,CAAC,GAAGA,EAAiBd,CAAc,EACrD,MAAMG,EAAYC,GAAU,CAC1B,KAAM,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CAChD,MAAMC,EAAaH,EAAW,OAAO,CAACI,EAAa,CAAE,SAAAC,EAAU,UAAAlB,KAAgB,CAE7E,MAAMmB,EADaD,EAASH,CAAc,EACV,UAAUf,CAAS,EAAE,EACrD,MAAO,CAAE,GAAGiB,EAAa,GAAGE,CAAc,CAC3C,EAAE,EAAE,EACL,OAAO7B,EAAM,QAAQ,KAAO,CAAE,CAAC,UAAUsB,EAAU,SAAS,EAAE,EAAGI,CAAU,GAAK,CAACA,CAAU,CAAC,CAC7F,CACF,EACD,OAAAT,EAAY,UAAYK,EAAU,UAC3BL,CACT","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("./index.cjs9.js");function i(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 o=i(c);var u=o.createContext(void 0);function a(e){const t=o.useContext(u);return e||t||"ltr"}exports.useDirection=a;
2
+ //# sourceMappingURL=index.cjs68.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs68.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-direction@1.1.0_@types+react@18.3.18_react@19.0.0/node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/Direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":"8ZAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAKjD,SAASC,EAAaC,EAAU,CAC9B,MAAMC,EAAYH,EAAM,WAAWD,CAAgB,EACnD,OAAOG,GAAYC,GAAa,KAClC","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),b=require("./index.cjs64.js"),p=require("./index.cjs75.js"),R=require("./index.cjs66.js"),w=require("./index.cjs76.js"),H=require("./index.cjs85.js"),x=require("./index.cjs9.js");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=U(q);var z="DismissableLayer",m="dismissableLayer.update",M="dismissableLayer.pointerDownOutside",$="dismissableLayer.focusOutside",L,T=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:f,onDismiss:d,...v}=e,a=i.useContext(T),[u,I]=i.useState(null),l=u?.ownerDocument??globalThis?.document,[,j]=i.useState({}),N=R.useComposedRefs(t,s=>I(s)),h=Array.from(a.layers),[W]=[...a.layersWithOutsidePointerEventsDisabled].slice(-1),_=h.indexOf(W),D=u?h.indexOf(u):-1,A=a.layersWithOutsidePointerEventsDisabled.size>0,O=D>=_,k=X(s=>{const E=s.target,C=[...a.branches].some(y=>y.contains(E));!O||C||(o?.(s),f?.(s),s.defaultPrevented||d?.())},l),P=Y(s=>{const E=s.target;[...a.branches].some(y=>y.contains(E))||(c?.(s),f?.(s),s.defaultPrevented||d?.())},l);return H.useEscapeKeydown(s=>{D===a.layers.size-1&&(r?.(s),!s.defaultPrevented&&d&&(s.preventDefault(),d()))},l),i.useEffect(()=>{if(u)return n&&(a.layersWithOutsidePointerEventsDisabled.size===0&&(L=l.body.style.pointerEvents,l.body.style.pointerEvents="none"),a.layersWithOutsidePointerEventsDisabled.add(u)),a.layers.add(u),g(),()=>{n&&a.layersWithOutsidePointerEventsDisabled.size===1&&(l.body.style.pointerEvents=L)}},[u,l,n,a]),i.useEffect(()=>()=>{u&&(a.layers.delete(u),a.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,a]),i.useEffect(()=>{const s=()=>j({});return document.addEventListener(m,s),()=>document.removeEventListener(m,s)},[]),x.jsxRuntimeExports.jsx(p.Primitive.div,{...v,ref:N,style:{pointerEvents:A?O?"auto":"none":void 0,...e.style},onFocusCapture:b.composeEventHandlers(e.onFocusCapture,P.onFocusCapture),onBlurCapture:b.composeEventHandlers(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:b.composeEventHandlers(e.onPointerDownCapture,k.onPointerDownCapture)})});S.displayName=z;var K="DismissableLayerBranch",B=i.forwardRef((e,t)=>{const n=i.useContext(T),r=i.useRef(null),o=R.useComposedRefs(t,r);return i.useEffect(()=>{const c=r.current;if(c)return n.branches.add(c),()=>{n.branches.delete(c)}},[n.branches]),x.jsxRuntimeExports.jsx(p.Primitive.div,{...e,ref:o})});B.displayName=K;function X(e,t=globalThis?.document){const n=w.useCallbackRef(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{const c=d=>{if(d.target&&!r.current){let v=function(){F(M,n,a,{discrete:!0})};const a={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=v,t.addEventListener("click",o.current,{once:!0})):v()}else t.removeEventListener("click",o.current);r.current=!1},f=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),t.removeEventListener("pointerdown",c),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Y(e,t=globalThis?.document){const n=w.useCallbackRef(e),r=i.useRef(!1);return i.useEffect(()=>{const o=c=>{c.target&&!r.current&&F($,n,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function g(){const e=new CustomEvent(m);document.dispatchEvent(e)}function F(e,t,n,{discrete:r}){const o=n.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?p.dispatchDiscreteCustomEvent(o,c):o.dispatchEvent(c)}exports.DismissableLayer=S;exports.DismissableLayerBranch=B;
2
+ //# sourceMappingURL=index.cjs69.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs69.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.5_@types+react-dom@18.3.5_@types+react@18.3.18__@_f6adb14439b39b093a5a571c561cfe64/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":"sjBAUA,IAAIA,EAAyB,mBACzBC,EAAiB,0BACjBC,EAAuB,sCACvBC,EAAgB,gCAChBC,EACAC,EAA0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AE9B","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs9.js"),m=require("./index.cjs27.js"),l=require("./index.cjs28.js"),p=require("./index.cjs15.js"),d=require("./index.cjs29.js"),j=require("./index.cjs4.js"),b=require("./index.cjs11.js"),R=require("./index.cjs30.js"),s=({constraintName:n,value:i,onConstraintChange:o,disabled:c,error:r,onRemoveConstraint:u})=>{const{getConstraintDefinition:a}=j.useConstraints(),t=a(n);return t?e.jsxRuntimeExports.jsx(l.InputErrorWrapper,{errorCode:r?.code,errorDescription:r?.message,showError:!!r,children:e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx(p.Label,{className:"mb-2",htmlFor:t.name,children:t.name}),e.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxRuntimeExports.jsx(m.Input,{id:t.name,type:"number",value:i,onChange:x=>o(Number(x.target.value)),disabled:c,min:0,className:d.cn({"border-destructive":r})}),e.jsxRuntimeExports.jsx(b.Button,{type:"button",variant:"ghost",size:"icon",onClick:()=>u(),children:e.jsxRuntimeExports.jsx(R.default,{className:"size-4"})})]}),t.description&&e.jsxRuntimeExports.jsx("div",{className:"mt-2 text-sm text-gray-500",children:t.description})]})}):null},E=s,h=s;exports.ObjectMaxPropertiesRenderer=h;exports.ObjectMinPropertiesRenderer=E;
2
+ //# sourceMappingURL=index.cjs7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs7.js","sources":["../src/packages/plugins/object.tsx"],"sourcesContent":["import { Input } from \"@/components/ui/input\";\nimport { InputErrorWrapper } from \"@/components/input-error\";\nimport { Label } from \"@/components/ui/label\";\nimport { cn } from \"@/lib/utils\";\nimport {\n BaseJSONSchemaPlugin,\n ConstraintRendererProps,\n useConstraints,\n} from \"@/packages/constraints/context\";\nimport { Button } from \"@/components/ui/button\";\nimport { X } from \"lucide-react\";\n\n// Number constraint renderer for minProperties and maxProperties\nconst ObjectNumberConstraintRenderer = ({\n constraintName,\n value,\n onConstraintChange,\n disabled,\n error,\n onRemoveConstraint,\n}: ConstraintRendererProps<number> & { disabled?: boolean }) => {\n const { getConstraintDefinition } = useConstraints();\n const constraintDef = getConstraintDefinition(constraintName);\n\n if (!constraintDef) {\n return null;\n }\n\n return (\n <InputErrorWrapper\n errorCode={error?.code}\n errorDescription={error?.message}\n showError={!!error}\n >\n <div>\n <Label className=\"mb-2\" htmlFor={constraintDef.name}>\n {constraintDef.name}\n </Label>\n <div className=\"flex items-center gap-2\">\n <Input\n id={constraintDef.name}\n type=\"number\"\n value={value}\n onChange={(e) => onConstraintChange(Number(e.target.value))}\n disabled={disabled}\n min={0}\n className={cn({ \"border-destructive\": error })}\n />\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n onClick={() => onRemoveConstraint()}\n >\n <X className=\"size-4\" />\n </Button>\n </div>\n {constraintDef.description && (\n <div className=\"mt-2 text-sm text-gray-500\">\n {constraintDef.description}\n </div>\n )}\n </div>\n </InputErrorWrapper>\n );\n};\n\n// Export the renderers\nexport const ObjectMinPropertiesRenderer = ObjectNumberConstraintRenderer;\nexport const ObjectMaxPropertiesRenderer = ObjectNumberConstraintRenderer;\n\nconst plugin: BaseJSONSchemaPlugin = {\n id: \"object-constraints\",\n hooks: {\n registerConstraints() {\n return [\n {\n name: \"minProperties\",\n label: \"Min Properties\",\n appliesTo: [\"object\"],\n schema: {\n type: \"integer\",\n title: \"Minimum Properties Constraint\",\n description:\n \"The minimum number of properties the object must have\",\n examples: [1, 2, 5],\n minimum: 0,\n },\n description:\n \"Specifies the minimum number of properties in the object\",\n defaultValue: 0,\n },\n {\n name: \"maxProperties\",\n label: \"Max Properties\",\n appliesTo: [\"object\"],\n schema: {\n type: \"integer\",\n title: \"Maximum Properties Constraint\",\n description: \"The maximum number of properties the object can have\",\n examples: [5, 10, 20],\n minimum: 0,\n },\n description:\n \"Specifies the maximum number of properties in the object\",\n defaultValue: 10,\n },\n ];\n },\n registerRenderers() {\n return {\n minProperties: ObjectMinPropertiesRenderer,\n maxProperties: ObjectMaxPropertiesRenderer,\n };\n },\n },\n};\n\nexport default plugin;\n"],"names":["ObjectNumberConstraintRenderer","constraintName","value","onConstraintChange","disabled","error","onRemoveConstraint","getConstraintDefinition","useConstraints","constraintDef","jsx","InputErrorWrapper","Label","jsxs","Input","e","cn","Button","X","ObjectMinPropertiesRenderer","ObjectMaxPropertiesRenderer"],"mappings":"oUAaMA,EAAiC,CAAC,CACtC,eAAAC,EACA,MAAAC,EACA,mBAAAC,EACA,SAAAC,EACA,MAAAC,EACA,mBAAAC,CACF,IAAgE,CACxD,KAAA,CAAE,wBAAAC,CAAwB,EAAIC,iBAAe,EAC7CC,EAAgBF,EAAwBN,CAAc,EAE5D,OAAKQ,EAKHC,EAAA,kBAAA,IAACC,EAAA,kBAAA,CACC,UAAWN,GAAO,KAClB,iBAAkBA,GAAO,QACzB,UAAW,CAAC,CAACA,EAEb,kCAAC,MACC,CAAA,SAAA,CAAAK,EAAAA,kBAAAA,IAACE,SAAM,UAAU,OAAO,QAASH,EAAc,KAC5C,WAAc,IACjB,CAAA,EACAI,EAAAA,kBAAAA,KAAC,MAAI,CAAA,UAAU,0BACb,SAAA,CAAAH,EAAA,kBAAA,IAACI,EAAA,MAAA,CACC,GAAIL,EAAc,KAClB,KAAK,SACL,MAAAP,EACA,SAAWa,GAAMZ,EAAmB,OAAOY,EAAE,OAAO,KAAK,CAAC,EAC1D,SAAAX,EACA,IAAK,EACL,UAAWY,EAAA,GAAG,CAAE,qBAAsBX,CAAO,CAAA,CAAA,CAC/C,EACAK,EAAA,kBAAA,IAACO,EAAA,OAAA,CACC,KAAK,SACL,QAAQ,QACR,KAAK,OACL,QAAS,IAAMX,EAAmB,EAElC,SAAAI,EAAAA,kBAAAA,IAACQ,EAAAA,QAAE,CAAA,UAAU,QAAS,CAAA,CAAA,CAAA,CACxB,EACF,EACCT,EAAc,aACbC,EAAA,kBAAA,IAAC,OAAI,UAAU,6BACZ,WAAc,WACjB,CAAA,CAAA,CAEJ,CAAA,CAAA,CACF,EAtCO,IAwCX,EAGaS,EAA8BnB,EAC9BoB,EAA8BpB"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function a(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 s=a(c);var r=0;function d(){s.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??u()),document.body.insertAdjacentElement("beforeend",e[1]??u()),r++,()=>{r===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),r--}},[])}function u(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}exports.useFocusGuards=d;
2
+ //# sourceMappingURL=index.cjs70.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs70.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.1_@types+react@18.3.18_react@19.0.0/node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-guards/src/FocusGuards.tsx\nimport * as React from \"react\";\nvar count = 0;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll(\"[data-radix-focus-guard]\");\n document.body.insertAdjacentElement(\"afterbegin\", edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement(\"beforeend\", edgeGuards[1] ?? createFocusGuard());\n count++;\n return () => {\n if (count === 1) {\n document.querySelectorAll(\"[data-radix-focus-guard]\").forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.outline = \"none\";\n element.style.opacity = \"0\";\n element.style.position = \"fixed\";\n element.style.pointerEvents = \"none\";\n return element;\n}\nvar Root = FocusGuards;\nexport {\n FocusGuards,\n Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","edgeGuards","createFocusGuard","node","element"],"mappings":"mYAIA,IAAIA,EAAQ,EAKZ,SAASC,GAAiB,CACxBC,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAa,SAAS,iBAAiB,0BAA0B,EACvE,gBAAS,KAAK,sBAAsB,aAAcA,EAAW,CAAC,GAAKC,GAAkB,EACrF,SAAS,KAAK,sBAAsB,YAAaD,EAAW,CAAC,GAAKC,GAAkB,EACpFJ,IACO,IAAM,CACPA,IAAU,GACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAASK,GAASA,EAAK,QAAQ,EAEvFL,GACD,CACF,EAAE,EAAE,CACP,CACA,SAASI,GAAmB,CAC1B,MAAME,EAAU,SAAS,cAAc,MAAM,EAC7C,OAAAA,EAAQ,aAAa,yBAA0B,EAAE,EACjDA,EAAQ,SAAW,EACnBA,EAAQ,MAAM,QAAU,OACxBA,EAAQ,MAAM,QAAU,IACxBA,EAAQ,MAAM,SAAW,QACzBA,EAAQ,MAAM,cAAgB,OACvBA,CACT","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),x=require("./index.cjs66.js"),A=require("./index.cjs75.js"),T=require("./index.cjs76.js"),k=require("./index.cjs9.js");function w(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 f=w(U);var F="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",O={bubbles:!1,cancelable:!0},K="FocusScope",C=f.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:p,onUnmountAutoFocus:I,...L}=e,[s,P]=f.useState(null),v=T.useCallbackRef(p),E=T.useCallbackRef(I),b=f.useRef(null),_=x.useComposedRefs(t,u=>P(u)),a=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(o){let u=function(i){if(a.paused||!s)return;const c=i.target;s.contains(c)?b.current=c:d(b.current,{select:!0})},l=function(i){if(a.paused||!s)return;const c=i.relatedTarget;c!==null&&(s.contains(c)||d(b.current,{select:!0}))},r=function(i){if(document.activeElement===document.body)for(const S of i)S.removedNodes.length>0&&d(s)};document.addEventListener("focusin",u),document.addEventListener("focusout",l);const m=new MutationObserver(r);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",l),m.disconnect()}}},[o,s,a.paused]),f.useEffect(()=>{if(s){N.add(a);const u=document.activeElement;if(!s.contains(u)){const r=new CustomEvent(F,O);s.addEventListener(F,v),s.dispatchEvent(r),r.defaultPrevented||(j(W(R(s)),{select:!0}),document.activeElement===u&&d(s))}return()=>{s.removeEventListener(F,v),setTimeout(()=>{const r=new CustomEvent(y,O);s.addEventListener(y,E),s.dispatchEvent(r),r.defaultPrevented||d(u??document.body,{select:!0}),s.removeEventListener(y,E),N.remove(a)},0)}}},[s,v,E,a]);const M=f.useCallback(u=>{if(!n&&!o||a.paused)return;const l=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,r=document.activeElement;if(l&&r){const m=u.currentTarget,[i,c]=D(m);i&&c?!u.shiftKey&&r===c?(u.preventDefault(),n&&d(i,{select:!0})):u.shiftKey&&r===i&&(u.preventDefault(),n&&d(c,{select:!0})):r===m&&u.preventDefault()}},[n,o,a.paused]);return k.jsxRuntimeExports.jsx(A.Primitive.div,{tabIndex:-1,...L,ref:_,onKeyDown:M})});C.displayName=K;function j(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(d(o,{select:t}),document.activeElement!==n)return}function D(e){const t=R(e),n=h(t,e),o=h(t.reverse(),e);return[n,o]}function R(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const p=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||p?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function h(e,t){for(const n of e)if(!q(n,{upTo:t}))return n}function q(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function H(e){return e instanceof HTMLInputElement&&"select"in e}function d(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&H(e)&&t&&e.select()}}var N=V();function V(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=g(e,t),e.unshift(t)},remove(t){e=g(e,t),e[0]?.resume()}}}function g(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function W(e){return e.filter(t=>t.tagName!=="A")}exports.FocusScope=C;
2
+ //# sourceMappingURL=index.cjs71.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs71.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.2_@types+react-dom@18.3.5_@types+react@18.3.18__@types+_2bf840ba1606b5210cdb0b873fe84d37/node_modules/@radix-ui/react-focus-scope/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-scope/src/focus-scope.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar AUTOFOCUS_ON_MOUNT = \"focusScope.autoFocusOnMount\";\nvar AUTOFOCUS_ON_UNMOUNT = \"focusScope.autoFocusOnUnmount\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar FOCUS_SCOPE_NAME = \"FocusScope\";\nvar FocusScope = React.forwardRef((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n }).current;\n React.useEffect(() => {\n if (trapped) {\n let handleFocusIn2 = function(event) {\n if (focusScope.paused || !container) return;\n const target = event.target;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleFocusOut2 = function(event) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget;\n if (relatedTarget === null) return;\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleMutations2 = function(mutations) {\n const focusedElement = document.activeElement;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n };\n var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;\n document.addEventListener(\"focusin\", handleFocusIn2);\n document.addEventListener(\"focusout\", handleFocusOut2);\n const mutationObserver = new MutationObserver(handleMutations2);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n return () => {\n document.removeEventListener(\"focusin\", handleFocusIn2);\n document.removeEventListener(\"focusout\", handleFocusOut2);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n const handleKeyDown = React.useCallback(\n (event) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n const isTabKey = event.key === \"Tab\" && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement;\n if (isTabKey && focusedElement) {\n const container2 = event.currentTarget;\n const [first, last] = getTabbableEdges(container2);\n const hasTabbableElementsInside = first && last;\n if (!hasTabbableElementsInside) {\n if (focusedElement === container2) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });\n});\nFocusScope.displayName = FOCUS_SCOPE_NAME;\nfunction focusFirst(candidates, { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\nfunction getTabbableEdges(container) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last];\n}\nfunction getTabbableCandidates(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nfunction findVisible(elements, container) {\n for (const element of elements) {\n if (!isHidden(element, { upTo: container })) return element;\n }\n}\nfunction isHidden(node, { upTo }) {\n if (getComputedStyle(node).visibility === \"hidden\") return true;\n while (node) {\n if (upTo !== void 0 && node === upTo) return false;\n if (getComputedStyle(node).display === \"none\") return true;\n node = node.parentElement;\n }\n return false;\n}\nfunction isSelectableInput(element) {\n return element instanceof HTMLInputElement && \"select\" in element;\n}\nfunction focus(element, { select = false } = {}) {\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\nvar focusScopesStack = createFocusScopesStack();\nfunction createFocusScopesStack() {\n let stack = [];\n return {\n add(focusScope) {\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n remove(focusScope) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n }\n };\n}\nfunction arrayRemove(array, item) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\nfunction removeLinks(items) {\n return items.filter((item) => item.tagName !== \"A\");\n}\nvar Root = FocusScope;\nexport {\n FocusScope,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["AUTOFOCUS_ON_MOUNT","AUTOFOCUS_ON_UNMOUNT","EVENT_OPTIONS","FOCUS_SCOPE_NAME","FocusScope","React","props","forwardedRef","loop","trapped","onMountAutoFocusProp","onUnmountAutoFocusProp","scopeProps","container","setContainer","onMountAutoFocus","useCallbackRef","onUnmountAutoFocus","lastFocusedElementRef","composedRefs","useComposedRefs","node","focusScope","handleFocusIn2","event","target","focus","handleFocusOut2","relatedTarget","handleMutations2","mutations","mutation","mutationObserver","focusScopesStack","previouslyFocusedElement","mountEvent","focusFirst","removeLinks","getTabbableCandidates","unmountEvent","handleKeyDown","isTabKey","focusedElement","container2","first","last","getTabbableEdges","jsx","Primitive","candidates","select","candidate","findVisible","nodes","walker","isHiddenInput","elements","element","isHidden","upTo","isSelectableInput","createFocusScopesStack","stack","activeFocusScope","arrayRemove","array","item","updatedArray","index","items"],"mappings":"0fAQA,IAAIA,EAAqB,8BACrBC,EAAuB,gCACvBC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAM,EACpDC,EAAmB,aACnBC,EAAaC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACzD,KAAM,CACJ,KAAAC,EAAO,GACP,QAAAC,EAAU,GACV,iBAAkBC,EAClB,mBAAoBC,EACpB,GAAGC,CACP,EAAMN,EACE,CAACO,EAAWC,CAAY,EAAI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_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs78.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 o=a(u);var s=o.useId||(()=>{}),i=0;function d(e){const[t,r]=o.useState(s());return c.useLayoutEffect(()=>{r(n=>n??String(i++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
2
+ //# sourceMappingURL=index.cjs72.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs72.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-id@1.1.0_@types+react@18.3.18_react@19.0.0/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\".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":"iaAGA,IAAIA,EAAaC,EAAM,QAAwB,IAAM,IACjDC,EAAQ,EACZ,SAASC,EAAMC,EAAiB,CAC9B,KAAM,CAACC,EAAIC,CAAK,EAAIL,EAAM,SAASD,GAAY,EAC/CO,OAAAA,EAAAA,gBAAgB,IAAM,CACED,EAAOE,GAAYA,GAAW,OAAON,GAAO,CAAC,CACvE,EAAK,CAACE,CAAe,CAAC,EACbA,IAAoBC,EAAK,SAASA,CAAE,GAAK,GAClD","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ue=require("react"),l=require("./index.cjs86.js"),xe=require("./index.cjs87.js"),Y=require("./index.cjs66.js"),he=require("./index.cjs67.js"),T=require("./index.cjs75.js"),me=require("./index.cjs76.js"),I=require("./index.cjs78.js"),ge=require("./index.cjs83.js"),u=require("./index.cjs9.js"),we=require("./index.cjs88.js");function Pe(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=Pe(ue);var b="Popper",[X,ye]=he.createContextScope(b),[Ae,k]=X(b),O=e=>{const{__scopePopper:r,children:t}=e,[o,a]=s.useState(null);return u.jsxRuntimeExports.jsx(Ae,{scope:r,anchor:o,onAnchorChange:a,children:t})};O.displayName=b;var F="PopperAnchor",j=s.forwardRef((e,r)=>{const{__scopePopper:t,virtualRef:o,...a}=e,n=k(F,t),i=s.useRef(null),m=Y.useComposedRefs(r,i);return s.useEffect(()=>{n.onAnchorChange(o?.current||i.current)}),o?null:u.jsxRuntimeExports.jsx(T.Primitive.div,{...a,ref:m})});j.displayName=F;var E="PopperContent",[ve,Ce]=X(E),_=s.forwardRef((e,r)=>{const{__scopePopper:t,side:o="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:m=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:g=0,sticky:x="partial",hideWhenDetached:P=!1,updatePositionStrategy:y="optimized",onPlaced:f,...d}=e,L=k(E,t),[R,Z]=s.useState(null),G=Y.useComposedRefs(r,w=>Z(w)),[S,J]=s.useState(null),N=ge.useSize(S),K=N?.width??0,q=N?.height??0,Q=o+(n!=="center"?"-"+n:""),V=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},H=Array.isArray(p)?p:[p],ee=H.length>0,A={padding:V,boundary:H.filter(Se),altBoundary:ee},{refs:te,floatingStyles:z,placement:re,isPositioned:v,middlewareData:h}=l.useFloating({strategy:"fixed",placement:Q,whileElementsMounted:(...w)=>we.autoUpdate(...w,{animationFrame:y==="always"}),elements:{reference:L.anchor},middleware:[l.offset({mainAxis:a+q,alignmentAxis:i}),c&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...A}),c&&l.flip({...A}),l.size({...A,apply:({elements:w,rects:W,availableWidth:pe,availableHeight:de})=>{const{width:le,height:fe}=W.reference,C=w.floating.style;C.setProperty("--radix-popper-available-width",`${pe}px`),C.setProperty("--radix-popper-available-height",`${de}px`),C.setProperty("--radix-popper-anchor-width",`${le}px`),C.setProperty("--radix-popper-anchor-height",`${fe}px`)}}),S&&l.arrow({element:S,padding:m}),be({arrowWidth:K,arrowHeight:q}),P&&l.hide({strategy:"referenceHidden",...A})]}),[D,oe]=U(re),M=me.useCallbackRef(f);I.useLayoutEffect(()=>{v&&M?.()},[v,M]);const ne=h.arrow?.x,ie=h.arrow?.y,ae=h.arrow?.centerOffset!==0,[se,ce]=s.useState();return I.useLayoutEffect(()=>{R&&ce(window.getComputedStyle(R).zIndex)},[R]),u.jsxRuntimeExports.jsx("div",{ref:te.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:v?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:se,"--radix-popper-transform-origin":[h.transformOrigin?.x,h.transformOrigin?.y].join(" "),...h.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(ve,{scope:t,placedSide:D,onArrowChange:J,arrowX:ne,arrowY:ie,shouldHideArrow:ae,children:u.jsxRuntimeExports.jsx(T.Primitive.div,{"data-side":D,"data-align":oe,...d,ref:G,style:{...d.style,animation:v?void 0:"none"}})})})});_.displayName=E;var B="PopperArrow",Re={top:"bottom",right:"left",bottom:"top",left:"right"},$=s.forwardRef(function(r,t){const{__scopePopper:o,...a}=r,n=Ce(B,o),i=Re[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(xe.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});$.displayName=B;function Se(e){return e!==null}var be=e=>({name:"transformOrigin",options:e,fn(r){const{placement:t,rects:o,middlewareData:a}=r,i=a.arrow?.centerOffset!==0,m=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,g]=U(t),x={start:"0%",center:"50%",end:"100%"}[g],P=(a.arrow?.x??0)+m/2,y=(a.arrow?.y??0)+c/2;let f="",d="";return p==="bottom"?(f=i?x:`${P}px`,d=`${-c}px`):p==="top"?(f=i?x:`${P}px`,d=`${o.floating.height+c}px`):p==="right"?(f=`${-c}px`,d=i?x:`${y}px`):p==="left"&&(f=`${o.floating.width+c}px`,d=i?x:`${y}px`),{data:{x:f,y:d}}}});function U(e){const[r,t="center"]=e.split("-");return[r,t]}var Oe=O,je=j,Ee=_,_e=$;exports.Anchor=je;exports.Arrow=_e;exports.Content=Ee;exports.Popper=O;exports.PopperAnchor=j;exports.PopperArrow=$;exports.PopperContent=_;exports.Root=Oe;exports.createPopperScope=ye;
2
+ //# sourceMappingURL=index.cjs73.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs73.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-popper@1.2.2_@types+react-dom@18.3.5_@types+react@18.3.18__@types+react_774112acc53ad5dc1d2fd4f69111f9c6/node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","arrowY","cannotCenterArrow","contentZIndex","setContentZIndex","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"urBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAQ,EAAKF,EAC9B,CAACG,EAAQC,CAAS,EAAIC,EAAM,SAAS,IAAI,EAC/C,OAAuBC,EAAG,kBAAA,IAACT,GAAgB,CAAE,MAAOI,EAAe,OAAAE,EAAQ,eAAgBC,EAAW,SAAAF,EAAU,CAClH,EACAH,EAAO,YAAcN,EACrB,IAAIc,EAAc,eACdC,EAAeH,EAAM,WACvB,CAACL,EAAOS,IAAiB,CACvB,KAAM,CAAE,cAAAR,EAAe,WAAAS,EAAY,GAAGC,CAAa,EAAGX,EAChDY,EAAUd,EAAiBS,EAAaN,CAAa,EACrDY,EAAMR,EAAM,OAAO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AgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAG,CAACxD,CAAW,MACV8B,IAAe,OACxByB,EAAIJ,EAAgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAGnC,EAAM,SAAS,OAASrB,CAAW,MACjC8B,IAAe,SACxByB,EAAI,GAAG,CAACvD,CAAW,KACnBwD,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MACzCxB,IAAe,SACxByB,EAAI,GAAGlC,EAAM,SAAS,MAAQrB,CAAW,KACzCwD,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MAE7C,CAAE,KAAM,CAAE,EAAAC,EAAG,EAAAC,CAAC,CAAI,CAC7B,CACA,GACA,SAASxB,EAA6BvB,EAAW,CAC/C,KAAM,CAAC9B,EAAME,EAAQ,QAAQ,EAAI4B,EAAU,MAAM,GAAG,EACpD,MAAO,CAAC9B,EAAME,CAAK,CACrB,CACG,IAAC4E,GAAQpG,EACRqG,GAAS5F,EACT6F,GAAUjF,EACVkF,GAAQjB","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),l=require("react-dom"),d=require("./index.cjs75.js"),f=require("./index.cjs78.js"),p=require("./index.cjs9.js");function m(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const a=m(s);var P="Portal",c=a.forwardRef((e,r)=>{const{container:t,...o}=e,[i,u]=a.useState(!1);f.useLayoutEffect(()=>u(!0),[]);const n=t||i&&globalThis?.document?.body;return n?l.createPortal(p.jsxRuntimeExports.jsx(d.Primitive.div,{...o,ref:r}),n):null});c.displayName=P;exports.Portal=c;
2
+ //# sourceMappingURL=index.cjs74.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs74.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-portal@1.1.4_@types+react-dom@18.3.5_@types+react@18.3.18__@types+react_0f6ab5c7bc46c13a76a4b1210ff409d5/node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/portal/src/portal.tsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PORTAL_NAME","Portal","React","props","forwardedRef","containerProp","portalProps","mounted","setMounted","useLayoutEffect","container","ReactDOM","jsx","Primitive"],"mappings":"mfAQA,IAAIA,EAAc,SACdC,EAASC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACrD,KAAM,CAAE,UAAWC,EAAe,GAAGC,CAAa,EAAGH,EAC/C,CAACI,EAASC,CAAU,EAAIN,EAAM,SAAS,EAAK,EAClDO,EAAAA,gBAAgB,IAAMD,EAAW,EAAI,EAAG,CAAA,CAAE,EAC1C,MAAME,EAAYL,GAAiBE,GAAW,YAAY,UAAU,KACpE,OAAOG,EAAYC,EAAS,aAA6BC,EAAG,kBAAA,IAACC,EAAS,UAAC,IAAK,CAAE,GAAGP,EAAa,IAAKF,CAAc,CAAA,EAAGM,CAAS,EAAI,IACnI,CAAC,EACDT,EAAO,YAAcD","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),l=require("react-dom"),f=require("./index.cjs38.js"),d=require("./index.cjs9.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const p=n(u),m=n(l);var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],b=v.reduce((e,t)=>{const i=p.forwardRef((r,o)=>{const{asChild:c,...s}=r,a=c?f.Slot:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsxRuntimeExports.jsx(a,{...s,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function y(e,t){e&&m.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=b;exports.dispatchDiscreteCustomEvent=y;
2
+ //# sourceMappingURL=index.cjs75.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs75.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-primitive@2.0.2_@types+react-dom@18.3.5_@types+react@18.3.18__@types+re_5762da49d5397bffd1440fabf36b1ebd/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":"4dAKA,IAAIA,EAAQ,CACV,IACA,SACA,MACA,OACA,KACA,KACA,MACA,QACA,QACA,KACA,MACA,KACA,IACA,OACA,MACA,IACF,EACIC,EAAYD,EAAM,OAAO,CAACE,EAAWC,IAAS,CAChD,MAAMC,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACrD,KAAM,CAAE,QAAAC,EAAS,GAAGC,CAAc,EAAKH,EACjCI,EAAOF,EAAUG,EAAAA,KAAOR,EAC9B,OAAI,OAAO,OAAW,MACpB,OAAO,OAAO,IAAI,UAAU,CAAC,EAAI,IAEZS,EAAAA,kBAAAA,IAAIF,EAAM,CAAE,GAAGD,EAAgB,IAAKF,EAAc,CAC7E,CAAG,EACD,OAAAH,EAAK,YAAc,aAAaD,CAAI,GAC7B,CAAE,GAAGD,EAAW,CAACC,CAAI,EAAGC,CAAM,CACvC,EAAG,CAAE,CAAA,EACL,SAASS,EAA4BC,EAAQC,EAAO,CAC9CD,GAAQE,EAAS,UAAU,IAAMF,EAAO,cAAcC,CAAK,CAAC,CAClE","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function o(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 c=o(u);function a(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...r)=>t.current?.(...r),[])}exports.useCallbackRef=a;
2
+ //# sourceMappingURL=index.cjs76.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs76.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.0_@types+react@18.3.18_react@19.0.0/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"],"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,IAASF,EAAY,UAAU,GAAGE,CAAI,EAAG,EAAE,CAC5E","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs76.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]=v({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 v({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.cjs77.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs77.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.1.0_@types+react@18.3.18_react@19.0.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// packages/react/use-controllable-state/src/useControllableState.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":"iaAGA,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]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");function a(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const n=a(r);var u=globalThis?.document?n.useLayoutEffect:()=>{};exports.useLayoutEffect=u;
2
+ //# sourceMappingURL=index.cjs78.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs78.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.0_@types+react@18.3.18_react@19.0.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/useLayoutEffect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = Boolean(globalThis?.document) ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":"mYAEG,IAACA,EAA2B,YAAY,SAAYC,EAAM,gBAAkB,IAAM,CACrF","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=c(o);function s(e){const t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}exports.usePrevious=s;
2
+ //# sourceMappingURL=index.cjs79.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs79.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.0_@types+react@18.3.18_react@19.0.0/node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/usePrevious.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":"mYAEA,SAASA,EAAYC,EAAO,CAC1B,MAAMC,EAAMC,EAAM,OAAO,CAAE,MAAAF,EAAO,SAAUA,EAAO,EACnD,OAAOE,EAAM,QAAQ,KACfD,EAAI,QAAQ,QAAUD,IACxBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEfC,EAAI,QAAQ,UAClB,CAACD,CAAK,CAAC,CACZ","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs9.js"),g=require("./index.cjs27.js"),m=require("./index.cjs28.js"),d=require("./index.cjs15.js"),p=require("./index.cjs29.js"),j=require("./index.cjs4.js"),h=require("./index.cjs11.js"),u=require("./index.cjs14.js"),R=require("./index.cjs30.js"),E=({constraintName:n,value:r,onConstraintChange:i,disabled:a,error:s,onRemoveConstraint:o})=>{const{getConstraintDefinition:l}=j.useConstraints(),t=l(n);return t?e.jsxRuntimeExports.jsx(m.InputErrorWrapper,{errorCode:s?.code,errorDescription:s?.message,showError:!!s,children:e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx(d.Label,{className:"mb-2",htmlFor:t.name,children:t.name}),e.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxRuntimeExports.jsx(g.Input,{id:t.name,type:"number",value:r,onChange:c=>i(Number(c.target.value)),disabled:a,min:0,className:p.cn({"border-destructive":s})}),e.jsxRuntimeExports.jsx(h.Button,{type:"button",variant:"ghost",size:"icon",onClick:()=>o(),children:e.jsxRuntimeExports.jsx(R.default,{className:"size-4"})})]}),t.description&&e.jsxRuntimeExports.jsx("div",{className:"mt-2 text-sm text-gray-500",children:t.description})]})}):null},v=({constraintName:n,value:r,onConstraintChange:i,disabled:a,error:s,onRemoveConstraint:o})=>{const{getConstraintDefinition:l}=j.useConstraints(),t=l(n);return t?e.jsxRuntimeExports.jsx(m.InputErrorWrapper,{errorCode:s?.code,errorDescription:s?.message,showError:!!s,children:e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx(d.Label,{className:"mb-2",htmlFor:t.name,children:t.name}),e.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxRuntimeExports.jsx(g.Input,{id:t.name,type:"text",value:r,onChange:c=>i(c.target.value),disabled:a,placeholder:"Regular expression pattern",className:p.cn({"border-destructive":s})}),e.jsxRuntimeExports.jsx(h.Button,{type:"button",variant:"ghost",size:"icon",onClick:()=>o(),children:e.jsxRuntimeExports.jsx(R.default,{className:"size-4"})})]}),t.description&&e.jsxRuntimeExports.jsx("div",{className:"mt-2 text-sm text-gray-500",children:t.description})]})}):null},b=({constraintName:n,value:r,onConstraintChange:i,disabled:a,error:s,onRemoveConstraint:o})=>{const{getConstraintDefinition:l}=j.useConstraints(),t=l(n),c=[{value:"email",label:"Email"},{value:"uri",label:"URI"},{value:"url",label:"URL"},{value:"date",label:"Date"},{value:"date-time",label:"Date-Time"},{value:"uuid",label:"UUID"},{value:"hostname",label:"Hostname"},{value:"ipv4",label:"IPv4"},{value:"ipv6",label:"IPv6"},{value:"phone",label:"Phone"}];return t?e.jsxRuntimeExports.jsx(m.InputErrorWrapper,{errorCode:s?.code,errorDescription:s?.message,showError:!!s,children:e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx(d.Label,{className:"mb-2",htmlFor:t.name,children:t.name}),e.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxRuntimeExports.jsxs(u.Select,{value:r,onValueChange:x=>i(x),disabled:a,children:[e.jsxRuntimeExports.jsx(u.SelectTrigger,{id:t.name,className:p.cn("flex-1",{"border-destructive":s}),children:e.jsxRuntimeExports.jsx(u.SelectValue,{placeholder:"Select format"})}),e.jsxRuntimeExports.jsx(u.SelectContent,{children:c.map(x=>e.jsxRuntimeExports.jsx(u.SelectItem,{value:x.value,children:x.label},x.value))})]}),e.jsxRuntimeExports.jsx(h.Button,{type:"button",variant:"ghost",size:"icon",onClick:()=>o(),children:e.jsxRuntimeExports.jsx(R.default,{className:"size-4"})})]}),t.description&&e.jsxRuntimeExports.jsx("div",{className:"mt-2 text-sm text-gray-500",children:t.description})]})}):null},f=E,C=E,N=v,S=b;exports.StringFormatRenderer=S;exports.StringMaxLengthRenderer=C;exports.StringMinLengthRenderer=f;exports.StringPatternRenderer=N;
2
+ //# sourceMappingURL=index.cjs8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs8.js","sources":["../src/packages/plugins/string.tsx"],"sourcesContent":["import { Input } from \"@/components/ui/input\";\nimport { InputErrorWrapper } from \"@/components/input-error\";\nimport { Label } from \"@/components/ui/label\";\nimport { cn } from \"@/lib/utils\";\nimport {\n BaseJSONSchemaPlugin,\n ConstraintRendererProps,\n useConstraints,\n} from \"@/packages/constraints/context\";\nimport { Button } from \"@/components/ui/button\";\nimport { X } from \"lucide-react\";\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"@/components/ui/select\";\n\n// Generic string constraint renderer for number-based constraints (minLength, maxLength)\nconst StringNumberConstraintRenderer = ({\n constraintName,\n value,\n onConstraintChange,\n disabled,\n error,\n onRemoveConstraint,\n}: ConstraintRendererProps<number> & { disabled?: boolean }) => {\n const { getConstraintDefinition } = useConstraints();\n const constraintDef = getConstraintDefinition(constraintName);\n\n if (!constraintDef) {\n return null;\n }\n\n return (\n <InputErrorWrapper\n errorCode={error?.code}\n errorDescription={error?.message}\n showError={!!error}\n >\n <div>\n <Label className=\"mb-2\" htmlFor={constraintDef.name}>\n {constraintDef.name}\n </Label>\n <div className=\"flex items-center gap-2\">\n <Input\n id={constraintDef.name}\n type=\"number\"\n value={value}\n onChange={(e) => onConstraintChange(Number(e.target.value))}\n disabled={disabled}\n min={0}\n className={cn({ \"border-destructive\": error })}\n />\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n onClick={() => onRemoveConstraint()}\n >\n <X className=\"size-4\" />\n </Button>\n </div>\n {constraintDef.description && (\n <div className=\"mt-2 text-sm text-gray-500\">\n {constraintDef.description}\n </div>\n )}\n </div>\n </InputErrorWrapper>\n );\n};\n\n// Pattern constraint renderer for regex input\nconst PatternConstraintRenderer = ({\n constraintName,\n value,\n onConstraintChange,\n disabled,\n error,\n onRemoveConstraint,\n}: ConstraintRendererProps<string> & { disabled?: boolean }) => {\n const { getConstraintDefinition } = useConstraints();\n const constraintDef = getConstraintDefinition(constraintName);\n\n if (!constraintDef) {\n return null;\n }\n\n return (\n <InputErrorWrapper\n errorCode={error?.code}\n errorDescription={error?.message}\n showError={!!error}\n >\n <div>\n <Label className=\"mb-2\" htmlFor={constraintDef.name}>\n {constraintDef.name}\n </Label>\n <div className=\"flex items-center gap-2\">\n <Input\n id={constraintDef.name}\n type=\"text\"\n value={value}\n onChange={(e) => onConstraintChange(e.target.value)}\n disabled={disabled}\n placeholder=\"Regular expression pattern\"\n className={cn({ \"border-destructive\": error })}\n />\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n onClick={() => onRemoveConstraint()}\n >\n <X className=\"size-4\" />\n </Button>\n </div>\n {constraintDef.description && (\n <div className=\"mt-2 text-sm text-gray-500\">\n {constraintDef.description}\n </div>\n )}\n </div>\n </InputErrorWrapper>\n );\n};\n\n// Format constraint renderer with predefined format options\nconst FormatConstraintRenderer = ({\n constraintName,\n value,\n onConstraintChange,\n disabled,\n error,\n onRemoveConstraint,\n}: ConstraintRendererProps<string> & { disabled?: boolean }) => {\n const { getConstraintDefinition } = useConstraints();\n const constraintDef = getConstraintDefinition(constraintName);\n\n const formatOptions = [\n { value: \"email\", label: \"Email\" },\n { value: \"uri\", label: \"URI\" },\n { value: \"url\", label: \"URL\" },\n { value: \"date\", label: \"Date\" },\n { value: \"date-time\", label: \"Date-Time\" },\n { value: \"uuid\", label: \"UUID\" },\n { value: \"hostname\", label: \"Hostname\" },\n { value: \"ipv4\", label: \"IPv4\" },\n { value: \"ipv6\", label: \"IPv6\" },\n { value: \"phone\", label: \"Phone\" },\n ];\n\n if (!constraintDef) {\n return null;\n }\n\n return (\n <InputErrorWrapper\n errorCode={error?.code}\n errorDescription={error?.message}\n showError={!!error}\n >\n <div>\n <Label className=\"mb-2\" htmlFor={constraintDef.name}>\n {constraintDef.name}\n </Label>\n <div className=\"flex items-center gap-2\">\n <Select\n value={value}\n onValueChange={(newValue) => onConstraintChange(newValue)}\n disabled={disabled}\n >\n <SelectTrigger\n id={constraintDef.name}\n className={cn(\"flex-1\", { \"border-destructive\": error })}\n >\n <SelectValue placeholder=\"Select format\" />\n </SelectTrigger>\n <SelectContent>\n {formatOptions.map((option) => (\n <SelectItem key={option.value} value={option.value}>\n {option.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon\"\n onClick={() => onRemoveConstraint()}\n >\n <X className=\"size-4\" />\n </Button>\n </div>\n {constraintDef.description && (\n <div className=\"mt-2 text-sm text-gray-500\">\n {constraintDef.description}\n </div>\n )}\n </div>\n </InputErrorWrapper>\n );\n};\n\n// Export the renderers\nexport const StringMinLengthRenderer = StringNumberConstraintRenderer;\nexport const StringMaxLengthRenderer = StringNumberConstraintRenderer;\nexport const StringPatternRenderer = PatternConstraintRenderer;\nexport const StringFormatRenderer = FormatConstraintRenderer;\n\nconst plugin: BaseJSONSchemaPlugin = {\n id: \"string-constraints\",\n hooks: {\n registerConstraints() {\n return [\n {\n name: \"minLength\",\n label: \"Min Length\",\n appliesTo: [\"string\"],\n schema: {\n type: \"integer\",\n title: \"Minimum Length Constraint\",\n description: \"The minimum length of the string\",\n examples: [1, 5, 10],\n minimum: 0,\n },\n description: \"Constrains a string to a minimum length\",\n defaultValue: 0,\n },\n {\n name: \"maxLength\",\n label: \"Max Length\",\n appliesTo: [\"string\"],\n schema: {\n type: \"integer\",\n title: \"Maximum Length Constraint\",\n description: \"The maximum length of the string\",\n examples: [50, 100, 255],\n minimum: 0,\n },\n description: \"Constrains a string to a maximum length\",\n defaultValue: 100,\n },\n {\n name: \"pattern\",\n label: \"Pattern\",\n appliesTo: [\"string\"],\n schema: {\n type: \"string\",\n title: \"Pattern Constraint\",\n description: \"Regular expression pattern the string must match\",\n examples: [\"^[a-zA-Z0-9]+$\", \"\\\\d{3}-\\\\d{2}-\\\\d{4}\"],\n },\n description: \"Regular expression that the string must match\",\n defaultValue: \"\",\n },\n {\n name: \"format\",\n label: \"Format\",\n appliesTo: [\"string\"],\n schema: {\n type: \"string\",\n title: \"Format Constraint\",\n description: \"Predefined format the string must follow\",\n enum: [\n \"email\",\n \"uri\",\n \"url\",\n \"date\",\n \"date-time\",\n \"uuid\",\n \"hostname\",\n \"ipv4\",\n \"ipv6\",\n \"phone\",\n ],\n },\n description: \"Predefined format validation for the string\",\n defaultValue: \"email\",\n },\n ];\n },\n registerRenderers() {\n return {\n minLength: StringMinLengthRenderer,\n maxLength: StringMaxLengthRenderer,\n pattern: StringPatternRenderer,\n format: StringFormatRenderer,\n };\n },\n },\n};\n\nexport default plugin;\n"],"names":["StringNumberConstraintRenderer","constraintName","value","onConstraintChange","disabled","error","onRemoveConstraint","getConstraintDefinition","useConstraints","constraintDef","jsx","InputErrorWrapper","Label","jsxs","Input","e","cn","Button","X","PatternConstraintRenderer","FormatConstraintRenderer","formatOptions","Select","newValue","SelectTrigger","SelectValue","SelectContent","option","SelectItem","StringMinLengthRenderer","StringMaxLengthRenderer","StringPatternRenderer","StringFormatRenderer"],"mappings":"kWAoBMA,EAAiC,CAAC,CACtC,eAAAC,EACA,MAAAC,EACA,mBAAAC,EACA,SAAAC,EACA,MAAAC,EACA,mBAAAC,CACF,IAAgE,CACxD,KAAA,CAAE,wBAAAC,CAAwB,EAAIC,iBAAe,EAC7CC,EAAgBF,EAAwBN,CAAc,EAE5D,OAAKQ,EAKHC,EAA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AAWN,GAAO,KAClB,iBAAkBA,GAAO,QACzB,UAAW,CAAC,CAACA,EAEb,kCAAC,MACC,CAAA,SAAA,CAAAK,EAAAA,kBAAAA,IAACE,SAAM,UAAU,OAAO,QAASH,EAAc,KAC5C,WAAc,IACjB,CAAA,EACAI,EAAAA,kBAAAA,KAAC,MAAI,CAAA,UAAU,0BACb,SAAA,CAAAA,EAAA,kBAAA,KAACS,EAAA,OAAA,CACC,MAAApB,EACA,cAAgBqB,GAAapB,EAAmBoB,CAAQ,EACxD,SAAAnB,EAEA,SAAA,CAAAM,EAAA,kBAAA,IAACc,EAAA,cAAA,CACC,GAAIf,EAAc,KAClB,UAAWO,EAAAA,GAAG,SAAU,CAAE,qBAAsBX,EAAO,EAEvD,SAAAK,EAAAA,kBAAAA,IAACe,EAAAA,YAAY,CAAA,YAAY,eAAgB,CAAA,CAAA,CAC3C,0BACCC,EAAAA,cACE,CAAA,SAAAL,EAAc,IAAKM,GACjBjB,EAAAA,kBAAAA,IAAAkB,EAAA,WAAA,CAA8B,MAAOD,EAAO,MAC1C,SAAOA,EAAA,OADOA,EAAO,KAExB,CACD,CACH,CAAA,CAAA,CAAA,CACF,EACAjB,EAAA,kBAAA,IAACO,EAAA,OAAA,CACC,KAAK,SACL,QAAQ,QACR,KAAK,OACL,QAAS,IAAMX,EAAmB,EAElC,SAAAI,EAAAA,kBAAAA,IAACQ,EAAAA,QAAE,CAAA,UAAU,QAAS,CAAA,CAAA,CAAA,CACxB,EACF,EACCT,EAAc,aACbC,EAAA,kBAAA,IAAC,OAAI,UAAU,6BACZ,WAAc,WACjB,CAAA,CAAA,CAEJ,CAAA,CAAA,CACF,EAhDO,IAkDX,EAGamB,EAA0B7B,EAC1B8B,EAA0B9B,EAC1B+B,EAAwBZ,EACxBa,EAAuBZ"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),o=require("./index.cjs75.js"),l=require("./index.cjs9.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const c=s(a);var d="VisuallyHidden",n=c.forwardRef((e,t)=>l.jsxRuntimeExports.jsx(o.Primitive.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));n.displayName=d;exports.VisuallyHidden=n;
2
+ //# sourceMappingURL=index.cjs80.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs80.js","sources":["../../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.1.2_@types+react-dom@18.3.5_@types+react@18.3.18__@ty_03c97ef18e87778c3cfbcccad8a57f8c/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs"],"sourcesContent":["// packages/react/visually-hidden/src/visually-hidden.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"VisuallyHidden\";\nvar VisuallyHidden = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...props,\n ref: forwardedRef,\n style: {\n // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss\n position: \"absolute\",\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\",\n ...props.style\n }\n }\n );\n }\n);\nVisuallyHidden.displayName = NAME;\nvar Root = VisuallyHidden;\nexport {\n Root,\n VisuallyHidden\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","VisuallyHidden","React","props","forwardedRef","jsx","Primitive"],"mappings":"8bAIA,IAAIA,EAAO,iBACPC,EAAiBC,EAAM,WACzB,CAACC,EAAOC,IACiBC,EAAG,kBAAA,IACxBC,EAAAA,UAAU,KACV,CACE,GAAGH,EACH,IAAKC,EACL,MAAO,CAEL,SAAU,WACV,OAAQ,EACR,MAAO,EACP,OAAQ,EACR,QAAS,EACT,OAAQ,GACR,SAAU,SACV,KAAM,mBACN,WAAY,SACZ,SAAU,SACV,GAAGD,EAAM,KACnB,CACA,CACK,CAEL,EACAF,EAAe,YAAcD","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(t){if(r.contains(t))return t;var n=b(t);return n&&r.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",r,". Doing nothing"),null)}).filter(function(t){return!!t})},D=function(r,u,t,n){var i=O(u,Array.isArray(r)?r:[r]);p[t]||(p[t]=new WeakMap);var o=p[t],l=[],s=new Set,S=new Set(i),y=function(e){!e||s.has(e)||(s.add(e),y(e.parentNode))};i.forEach(y);var A=function(e){!e||S.has(e)||Array.prototype.forEach.call(e.children,function(a){if(s.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(o.get(a)||0)+1;f.set(a,w),o.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(t,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),s.clear(),h++,function(){l.forEach(function(e){var a=f.get(e)-1,c=o.get(e)-1;f.set(e,a),o.set(e,c),a||(v.has(e)||e.removeAttribute(n),v.delete(e)),c||e.removeAttribute(t)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,t){t===void 0&&(t="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),D(n,i,t,"aria-hidden")):function(){return null}};exports.hideOthers=E;
2
+ //# sourceMappingURL=index.cjs81.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs81.js","sources":["../../../node_modules/.pnpm/aria-hidden@1.2.4/node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"gFAAA,IAAIA,EAAmB,SAAUC,EAAgB,CAC7C,GAAI,OAAO,SAAa,IACpB,OAAO,KAEX,IAAIC,EAAe,MAAM,QAAQD,CAAc,EAAIA,EAAe,CAAC,EAAIA,EACvE,OAAOC,EA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