@anoki/fse-ui 1.0.422 → 1.0.424

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 (462) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs100.js +1 -1
  3. package/dist/index.cjs101.js +1 -1
  4. package/dist/index.cjs102.js +1 -1
  5. package/dist/index.cjs103.js +1 -1
  6. package/dist/index.cjs104.js +1 -1
  7. package/dist/index.cjs105.js +1 -1
  8. package/dist/index.cjs106.js +1 -1
  9. package/dist/index.cjs107.js +1 -1
  10. package/dist/index.cjs108.js +1 -1
  11. package/dist/index.cjs109.js +1 -1
  12. package/dist/index.cjs110.js +1 -1
  13. package/dist/index.cjs111.js +1 -1
  14. package/dist/index.cjs112.js +1 -1
  15. package/dist/index.cjs113.js +1 -1
  16. package/dist/index.cjs114.js +1 -1
  17. package/dist/index.cjs115.js +1 -1
  18. package/dist/index.cjs116.js +1 -1
  19. package/dist/index.cjs117.js +1 -1
  20. package/dist/index.cjs118.js +1 -1
  21. package/dist/index.cjs121.js +1 -1
  22. package/dist/index.cjs122.js +1 -1
  23. package/dist/index.cjs123.js +1 -1
  24. package/dist/index.cjs124.js +1 -1
  25. package/dist/index.cjs125.js +1 -1
  26. package/dist/index.cjs126.js +1 -1
  27. package/dist/index.cjs127.js +1 -1
  28. package/dist/index.cjs128.js +1 -1
  29. package/dist/index.cjs129.js +1 -1
  30. package/dist/index.cjs130.js +1 -1
  31. package/dist/index.cjs131.js +1 -1
  32. package/dist/index.cjs132.js +1 -1
  33. package/dist/index.cjs134.js +1 -1
  34. package/dist/index.cjs135.js +1 -1
  35. package/dist/index.cjs136.js +1 -1
  36. package/dist/index.cjs137.js +1 -1
  37. package/dist/index.cjs138.js +1 -1
  38. package/dist/index.cjs139.js +1 -1
  39. package/dist/index.cjs140.js +1 -1
  40. package/dist/index.cjs170.js +1 -1
  41. package/dist/index.cjs170.js.map +1 -1
  42. package/dist/index.cjs171.js +2 -0
  43. package/dist/index.cjs171.js.map +1 -0
  44. package/dist/index.cjs18.js +1 -1
  45. package/dist/index.cjs180.js +1 -1
  46. package/dist/index.cjs186.js +1 -1
  47. package/dist/index.cjs186.js.map +1 -1
  48. package/dist/index.cjs189.js +1 -1
  49. package/dist/index.cjs190.js +1 -1
  50. package/dist/index.cjs191.js +1 -1
  51. package/dist/index.cjs197.js +1 -1
  52. package/dist/index.cjs206.js +1 -1
  53. package/dist/index.cjs208.js +1 -1
  54. package/dist/index.cjs216.js +1 -1
  55. package/dist/index.cjs22.js +1 -1
  56. package/dist/index.cjs225.js +1 -1
  57. package/dist/index.cjs233.js +1 -1
  58. package/dist/index.cjs234.js +1 -1
  59. package/dist/index.cjs235.js +1 -1
  60. package/dist/index.cjs237.js +2 -2
  61. package/dist/index.cjs237.js.map +1 -1
  62. package/dist/index.cjs24.js +1 -1
  63. package/dist/index.cjs25.js +1 -1
  64. package/dist/index.cjs26.js +1 -1
  65. package/dist/index.cjs27.js +1 -1
  66. package/dist/index.cjs28.js +1 -1
  67. package/dist/index.cjs28.js.map +1 -1
  68. package/dist/index.cjs280.js +2 -2
  69. package/dist/index.cjs281.js +10 -10
  70. package/dist/index.cjs285.js +2 -0
  71. package/dist/index.cjs285.js.map +1 -0
  72. package/dist/index.cjs286.js +1 -1
  73. package/dist/index.cjs286.js.map +1 -1
  74. package/dist/index.cjs287.js +2 -0
  75. package/dist/index.cjs287.js.map +1 -0
  76. package/dist/index.cjs288.js +2 -0
  77. package/dist/index.cjs288.js.map +1 -0
  78. package/dist/index.cjs289.js +1 -1
  79. package/dist/index.cjs289.js.map +1 -1
  80. package/dist/index.cjs290.js +1 -1
  81. package/dist/index.cjs290.js.map +1 -1
  82. package/dist/index.cjs291.js +1 -1
  83. package/dist/index.cjs291.js.map +1 -1
  84. package/dist/index.cjs292.js +1 -1
  85. package/dist/index.cjs292.js.map +1 -1
  86. package/dist/index.cjs293.js +1 -1
  87. package/dist/index.cjs293.js.map +1 -1
  88. package/dist/index.cjs295.js +1 -1
  89. package/dist/index.cjs295.js.map +1 -1
  90. package/dist/index.cjs296.js +1 -1
  91. package/dist/index.cjs296.js.map +1 -1
  92. package/dist/index.cjs297.js +1 -1
  93. package/dist/index.cjs297.js.map +1 -1
  94. package/dist/index.cjs298.js +1 -1
  95. package/dist/index.cjs298.js.map +1 -1
  96. package/dist/index.cjs299.js +1 -1
  97. package/dist/index.cjs299.js.map +1 -1
  98. package/dist/index.cjs30.js +1 -1
  99. package/dist/index.cjs300.js +1 -1
  100. package/dist/index.cjs300.js.map +1 -1
  101. package/dist/index.cjs301.js +2 -0
  102. package/dist/index.cjs301.js.map +1 -0
  103. package/dist/index.cjs302.js +2 -0
  104. package/dist/index.cjs302.js.map +1 -0
  105. package/dist/index.cjs303.js +2 -0
  106. package/dist/index.cjs303.js.map +1 -0
  107. package/dist/index.cjs304.js +1 -1
  108. package/dist/index.cjs304.js.map +1 -1
  109. package/dist/index.cjs305.js +1 -1
  110. package/dist/index.cjs305.js.map +1 -1
  111. package/dist/index.cjs306.js +1 -1
  112. package/dist/index.cjs306.js.map +1 -1
  113. package/dist/index.cjs307.js +1 -1
  114. package/dist/index.cjs307.js.map +1 -1
  115. package/dist/index.cjs308.js +1 -1
  116. package/dist/index.cjs308.js.map +1 -1
  117. package/dist/index.cjs309.js +1 -1
  118. package/dist/index.cjs309.js.map +1 -1
  119. package/dist/index.cjs315.js +1 -1
  120. package/dist/index.cjs315.js.map +1 -1
  121. package/dist/index.cjs316.js +1 -1
  122. package/dist/index.cjs316.js.map +1 -1
  123. package/dist/index.cjs317.js +1 -1
  124. package/dist/index.cjs317.js.map +1 -1
  125. package/dist/index.cjs318.js +1 -1
  126. package/dist/index.cjs318.js.map +1 -1
  127. package/dist/index.cjs319.js +1 -1
  128. package/dist/index.cjs319.js.map +1 -1
  129. package/dist/index.cjs32.js +1 -1
  130. package/dist/{index.cjs328.js → index.cjs320.js} +2 -2
  131. package/dist/{index.cjs328.js.map → index.cjs320.js.map} +1 -1
  132. package/dist/{index.cjs329.js → index.cjs321.js} +2 -2
  133. package/dist/{index.cjs329.js.map → index.cjs321.js.map} +1 -1
  134. package/dist/index.cjs322.js +2 -0
  135. package/dist/index.cjs322.js.map +1 -0
  136. package/dist/index.cjs323.js +2 -0
  137. package/dist/index.cjs323.js.map +1 -0
  138. package/dist/index.cjs324.js +2 -0
  139. package/dist/index.cjs324.js.map +1 -0
  140. package/dist/index.cjs325.js +2 -0
  141. package/dist/index.cjs325.js.map +1 -0
  142. package/dist/index.cjs326.js +2 -0
  143. package/dist/index.cjs326.js.map +1 -0
  144. package/dist/index.cjs330.js +1 -1
  145. package/dist/index.cjs330.js.map +1 -1
  146. package/dist/index.cjs331.js +1 -1
  147. package/dist/index.cjs331.js.map +1 -1
  148. package/dist/index.cjs332.js +1 -1
  149. package/dist/index.cjs332.js.map +1 -1
  150. package/dist/index.cjs338.js +1 -4
  151. package/dist/index.cjs338.js.map +1 -1
  152. package/dist/index.cjs339.js +1 -1
  153. package/dist/index.cjs339.js.map +1 -1
  154. package/dist/index.cjs340.js +1 -1
  155. package/dist/index.cjs340.js.map +1 -1
  156. package/dist/index.cjs341.js +1 -1
  157. package/dist/index.cjs341.js.map +1 -1
  158. package/dist/index.cjs342.js +4 -1
  159. package/dist/index.cjs342.js.map +1 -1
  160. package/dist/index.cjs343.js +1 -38
  161. package/dist/index.cjs343.js.map +1 -1
  162. package/dist/index.cjs344.js +1 -1
  163. package/dist/index.cjs344.js.map +1 -1
  164. package/dist/index.cjs348.js +1 -1
  165. package/dist/index.cjs348.js.map +1 -1
  166. package/dist/index.cjs349.js +1 -1
  167. package/dist/index.cjs349.js.map +1 -1
  168. package/dist/index.cjs35.js +1 -1
  169. package/dist/index.cjs350.js +1 -1
  170. package/dist/index.cjs350.js.map +1 -1
  171. package/dist/index.cjs351.js +38 -1
  172. package/dist/index.cjs351.js.map +1 -1
  173. package/dist/index.cjs352.js +1 -1
  174. package/dist/index.cjs352.js.map +1 -1
  175. package/dist/index.cjs353.js +1 -1
  176. package/dist/index.cjs353.js.map +1 -1
  177. package/dist/{index.cjs346.js → index.cjs354.js} +1 -1
  178. package/dist/{index.cjs346.js.map → index.cjs354.js.map} +1 -1
  179. package/dist/index.cjs355.js +2 -0
  180. package/dist/{index.cjs347.js.map → index.cjs355.js.map} +1 -1
  181. package/dist/{index.cjs310.js → index.cjs356.js} +2 -2
  182. package/dist/index.cjs356.js.map +1 -0
  183. package/dist/index.cjs357.js +2 -0
  184. package/dist/index.cjs357.js.map +1 -0
  185. package/dist/index.cjs358.js +2 -0
  186. package/dist/index.cjs358.js.map +1 -0
  187. package/dist/index.cjs359.js +2 -0
  188. package/dist/index.cjs359.js.map +1 -0
  189. package/dist/index.cjs360.js +2 -0
  190. package/dist/index.cjs360.js.map +1 -0
  191. package/dist/index.cjs361.js +2 -0
  192. package/dist/index.cjs361.js.map +1 -0
  193. package/dist/index.cjs362.js +2 -0
  194. package/dist/index.cjs362.js.map +1 -0
  195. package/dist/index.cjs37.js +1 -1
  196. package/dist/index.cjs47.js +1 -1
  197. package/dist/index.cjs56.js +1 -1
  198. package/dist/index.cjs6.js +1 -1
  199. package/dist/index.cjs68.js +1 -1
  200. package/dist/index.cjs69.js +1 -1
  201. package/dist/index.cjs7.js +1 -1
  202. package/dist/index.cjs8.js +1 -1
  203. package/dist/index.cjs9.js +1 -1
  204. package/dist/index.cjs93.js +1 -1
  205. package/dist/index.cjs97.js +1 -1
  206. package/dist/index.cjs98.js +1 -1
  207. package/dist/index.cjs99.js +1 -1
  208. package/dist/index.d.ts +1 -12
  209. package/dist/index.es10.js +2 -2
  210. package/dist/index.es100.js +1 -1
  211. package/dist/index.es101.js +1 -1
  212. package/dist/index.es102.js +1 -1
  213. package/dist/index.es103.js +1 -1
  214. package/dist/index.es104.js +1 -1
  215. package/dist/index.es105.js +1 -1
  216. package/dist/index.es106.js +1 -1
  217. package/dist/index.es107.js +1 -1
  218. package/dist/index.es108.js +1 -1
  219. package/dist/index.es109.js +1 -1
  220. package/dist/index.es110.js +1 -1
  221. package/dist/index.es111.js +1 -1
  222. package/dist/index.es112.js +1 -1
  223. package/dist/index.es113.js +1 -1
  224. package/dist/index.es114.js +1 -1
  225. package/dist/index.es115.js +1 -1
  226. package/dist/index.es116.js +1 -1
  227. package/dist/index.es117.js +1 -1
  228. package/dist/index.es118.js +1 -1
  229. package/dist/index.es121.js +1 -1
  230. package/dist/index.es122.js +1 -1
  231. package/dist/index.es123.js +1 -1
  232. package/dist/index.es124.js +1 -1
  233. package/dist/index.es125.js +1 -1
  234. package/dist/index.es126.js +1 -1
  235. package/dist/index.es127.js +1 -1
  236. package/dist/index.es128.js +1 -1
  237. package/dist/index.es129.js +1 -1
  238. package/dist/index.es130.js +1 -1
  239. package/dist/index.es131.js +1 -1
  240. package/dist/index.es132.js +1 -1
  241. package/dist/index.es134.js +1 -1
  242. package/dist/index.es135.js +1 -1
  243. package/dist/index.es136.js +1 -1
  244. package/dist/index.es137.js +1 -1
  245. package/dist/index.es138.js +1 -1
  246. package/dist/index.es139.js +1 -1
  247. package/dist/index.es140.js +1 -1
  248. package/dist/index.es142.js +1 -1
  249. package/dist/index.es144.js +2 -2
  250. package/dist/index.es145.js +24 -24
  251. package/dist/index.es152.js +1 -1
  252. package/dist/index.es16.js +9 -9
  253. package/dist/index.es170.js +2 -27
  254. package/dist/index.es170.js.map +1 -1
  255. package/dist/index.es171.js +30 -0
  256. package/dist/index.es171.js.map +1 -0
  257. package/dist/index.es18.js +22 -22
  258. package/dist/index.es180.js +1 -1
  259. package/dist/index.es186.js +22 -22
  260. package/dist/index.es186.js.map +1 -1
  261. package/dist/index.es189.js +1 -1
  262. package/dist/index.es190.js +25 -25
  263. package/dist/index.es191.js +10 -10
  264. package/dist/index.es197.js +8 -8
  265. package/dist/index.es206.js +1 -1
  266. package/dist/index.es208.js +57 -57
  267. package/dist/index.es216.js +1 -1
  268. package/dist/index.es22.js +1 -1
  269. package/dist/index.es225.js +1 -1
  270. package/dist/index.es233.js +1 -1
  271. package/dist/index.es234.js +1 -1
  272. package/dist/index.es235.js +32 -32
  273. package/dist/index.es237.js +22 -22
  274. package/dist/index.es237.js.map +1 -1
  275. package/dist/index.es24.js +4 -4
  276. package/dist/index.es25.js +38 -38
  277. package/dist/index.es26.js +21 -21
  278. package/dist/index.es27.js +2 -2
  279. package/dist/index.es28.js +15 -15
  280. package/dist/index.es28.js.map +1 -1
  281. package/dist/index.es280.js +20 -20
  282. package/dist/index.es281.js +92 -92
  283. package/dist/index.es285.js +5 -0
  284. package/dist/index.es285.js.map +1 -0
  285. package/dist/index.es286.js +2 -15
  286. package/dist/index.es286.js.map +1 -1
  287. package/dist/index.es287.js +10 -0
  288. package/dist/index.es287.js.map +1 -0
  289. package/dist/index.es288.js +30 -0
  290. package/dist/index.es288.js.map +1 -0
  291. package/dist/index.es289.js +66 -5
  292. package/dist/index.es289.js.map +1 -1
  293. package/dist/index.es290.js +28 -25
  294. package/dist/index.es290.js.map +1 -1
  295. package/dist/index.es291.js +32 -67
  296. package/dist/index.es291.js.map +1 -1
  297. package/dist/index.es292.js +619 -27
  298. package/dist/index.es292.js.map +1 -1
  299. package/dist/index.es293.js +10 -32
  300. package/dist/index.es293.js.map +1 -1
  301. package/dist/index.es295.js +10 -10
  302. package/dist/index.es295.js.map +1 -1
  303. package/dist/index.es296.js +45 -5
  304. package/dist/index.es296.js.map +1 -1
  305. package/dist/index.es297.js +45 -24
  306. package/dist/index.es297.js.map +1 -1
  307. package/dist/index.es298.js +7 -68
  308. package/dist/index.es298.js.map +1 -1
  309. package/dist/index.es299.js +125 -2
  310. package/dist/index.es299.js.map +1 -1
  311. package/dist/index.es300.js +15 -2
  312. package/dist/index.es300.js.map +1 -1
  313. package/dist/index.es301.js +138 -0
  314. package/dist/index.es301.js.map +1 -0
  315. package/dist/index.es302.js +221 -0
  316. package/dist/index.es302.js.map +1 -0
  317. package/dist/index.es303.js +17 -0
  318. package/dist/index.es303.js.map +1 -0
  319. package/dist/index.es304.js +64 -120
  320. package/dist/index.es304.js.map +1 -1
  321. package/dist/index.es305.js +170 -127
  322. package/dist/index.es305.js.map +1 -1
  323. package/dist/index.es306.js +50 -14
  324. package/dist/index.es306.js.map +1 -1
  325. package/dist/index.es307.js +8 -14
  326. package/dist/index.es307.js.map +1 -1
  327. package/dist/index.es308.js +4 -9
  328. package/dist/index.es308.js.map +1 -1
  329. package/dist/index.es309.js +14 -49
  330. package/dist/index.es309.js.map +1 -1
  331. package/dist/index.es315.js +123 -44
  332. package/dist/index.es315.js.map +1 -1
  333. package/dist/index.es316.js +134 -7
  334. package/dist/index.es316.js.map +1 -1
  335. package/dist/index.es317.js +13 -217
  336. package/dist/index.es317.js.map +1 -1
  337. package/dist/index.es318.js +32 -177
  338. package/dist/index.es318.js.map +1 -1
  339. package/dist/index.es319.js +42 -4
  340. package/dist/index.es319.js.map +1 -1
  341. package/dist/index.es32.js +4 -4
  342. package/dist/{index.es328.js → index.es320.js} +2 -2
  343. package/dist/{index.es328.js.map → index.es320.js.map} +1 -1
  344. package/dist/{index.es329.js → index.es321.js} +10 -10
  345. package/dist/{index.es329.js.map → index.es321.js.map} +1 -1
  346. package/dist/index.es322.js +25 -0
  347. package/dist/index.es322.js.map +1 -0
  348. package/dist/index.es323.js +28 -0
  349. package/dist/index.es323.js.map +1 -0
  350. package/dist/index.es324.js +396 -0
  351. package/dist/index.es324.js.map +1 -0
  352. package/dist/index.es325.js +9 -0
  353. package/dist/index.es325.js.map +1 -0
  354. package/dist/index.es326.js +32 -0
  355. package/dist/index.es326.js.map +1 -0
  356. package/dist/index.es330.js +24 -21
  357. package/dist/index.es330.js.map +1 -1
  358. package/dist/index.es331.js +27 -391
  359. package/dist/index.es331.js.map +1 -1
  360. package/dist/index.es332.js +5 -25
  361. package/dist/index.es332.js.map +1 -1
  362. package/dist/index.es338.js +40 -108
  363. package/dist/index.es338.js.map +1 -1
  364. package/dist/index.es339.js +5 -16
  365. package/dist/index.es339.js.map +1 -1
  366. package/dist/index.es340.js +3 -523
  367. package/dist/index.es340.js.map +1 -1
  368. package/dist/index.es341.js +23 -126
  369. package/dist/index.es341.js.map +1 -1
  370. package/dist/index.es342.js +105 -124
  371. package/dist/index.es342.js.map +1 -1
  372. package/dist/index.es343.js +15 -68
  373. package/dist/index.es343.js.map +1 -1
  374. package/dist/index.es344.js +29 -9
  375. package/dist/index.es344.js.map +1 -1
  376. package/dist/index.es348.js +522 -3
  377. package/dist/index.es348.js.map +1 -1
  378. package/dist/index.es349.js +126 -22
  379. package/dist/index.es349.js.map +1 -1
  380. package/dist/index.es35.js +14 -14
  381. package/dist/index.es350.js +128 -22
  382. package/dist/index.es350.js.map +1 -1
  383. package/dist/index.es351.js +68 -12
  384. package/dist/index.es351.js.map +1 -1
  385. package/dist/index.es352.js +7 -26
  386. package/dist/index.es352.js.map +1 -1
  387. package/dist/index.es353.js +14 -5
  388. package/dist/index.es353.js.map +1 -1
  389. package/dist/{index.es346.js → index.es354.js} +1 -1
  390. package/dist/{index.es346.js.map → index.es354.js.map} +1 -1
  391. package/dist/{index.es347.js → index.es355.js} +2 -2
  392. package/dist/{index.es347.js.map → index.es355.js.map} +1 -1
  393. package/dist/{index.es310.js → index.es356.js} +13 -13
  394. package/dist/index.es356.js.map +1 -0
  395. package/dist/index.es357.js +7 -0
  396. package/dist/index.es357.js.map +1 -0
  397. package/dist/index.es358.js +26 -0
  398. package/dist/index.es358.js.map +1 -0
  399. package/dist/index.es359.js +16 -0
  400. package/dist/index.es359.js.map +1 -0
  401. package/dist/index.es360.js +31 -0
  402. package/dist/index.es360.js.map +1 -0
  403. package/dist/index.es361.js +8 -0
  404. package/dist/index.es361.js.map +1 -0
  405. package/dist/index.es362.js +26 -0
  406. package/dist/index.es362.js.map +1 -0
  407. package/dist/index.es37.js +6 -6
  408. package/dist/index.es47.js +2 -2
  409. package/dist/index.es5.js +4 -4
  410. package/dist/index.es56.js +1 -1
  411. package/dist/index.es6.js +1 -1
  412. package/dist/index.es65.js +44 -44
  413. package/dist/index.es68.js +25 -25
  414. package/dist/index.es69.js +23 -23
  415. package/dist/index.es7.js +1 -1
  416. package/dist/index.es8.js +1 -1
  417. package/dist/index.es9.js +2 -2
  418. package/dist/index.es93.js +17 -17
  419. package/dist/index.es97.js +1 -1
  420. package/dist/index.es98.js +1 -1
  421. package/dist/index.es99.js +1 -1
  422. package/package.json +2 -2
  423. package/dist/index.cjs172.js +0 -2
  424. package/dist/index.cjs172.js.map +0 -1
  425. package/dist/index.cjs294.js +0 -2
  426. package/dist/index.cjs294.js.map +0 -1
  427. package/dist/index.cjs310.js.map +0 -1
  428. package/dist/index.cjs314.js +0 -2
  429. package/dist/index.cjs314.js.map +0 -1
  430. package/dist/index.cjs333.js +0 -2
  431. package/dist/index.cjs333.js.map +0 -1
  432. package/dist/index.cjs334.js +0 -2
  433. package/dist/index.cjs334.js.map +0 -1
  434. package/dist/index.cjs335.js +0 -2
  435. package/dist/index.cjs335.js.map +0 -1
  436. package/dist/index.cjs336.js +0 -2
  437. package/dist/index.cjs336.js.map +0 -1
  438. package/dist/index.cjs337.js +0 -2
  439. package/dist/index.cjs337.js.map +0 -1
  440. package/dist/index.cjs345.js +0 -2
  441. package/dist/index.cjs345.js.map +0 -1
  442. package/dist/index.cjs347.js +0 -2
  443. package/dist/index.es172.js +0 -5
  444. package/dist/index.es172.js.map +0 -1
  445. package/dist/index.es294.js +0 -625
  446. package/dist/index.es294.js.map +0 -1
  447. package/dist/index.es310.js.map +0 -1
  448. package/dist/index.es314.js +0 -14
  449. package/dist/index.es314.js.map +0 -1
  450. package/dist/index.es333.js +0 -32
  451. package/dist/index.es333.js.map +0 -1
  452. package/dist/index.es334.js +0 -8
  453. package/dist/index.es334.js.map +0 -1
  454. package/dist/index.es335.js +0 -8
  455. package/dist/index.es335.js.map +0 -1
  456. package/dist/index.es336.js +0 -6
  457. package/dist/index.es336.js.map +0 -1
  458. package/dist/index.es337.js +0 -27
  459. package/dist/index.es337.js.map +0 -1
  460. package/dist/index.es345.js +0 -17
  461. package/dist/index.es345.js.map +0 -1
  462. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
@@ -1,4 +1,4 @@
1
- import { __exports as _ } from "./index.es300.js";
1
+ import { __exports as _ } from "./index.es286.js";
2
2
  import we from "react";
3
3
  /**
4
4
  * @license React
@@ -20,7 +20,7 @@ function he() {
20
20
  switch (e) {
21
21
  case j:
22
22
  return "Fragment";
23
- case de:
23
+ case ge:
24
24
  return "Portal";
25
25
  case K:
26
26
  return "Profiler";
@@ -65,8 +65,8 @@ function he() {
65
65
  }
66
66
  if (r) {
67
67
  r = console;
68
- var o = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
69
- return o.call(
68
+ var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
69
+ return t.call(
70
70
  r,
71
71
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
72
72
  n
@@ -76,7 +76,7 @@ function he() {
76
76
  function $() {
77
77
  }
78
78
  function le() {
79
- if (g === 0) {
79
+ if (v === 0) {
80
80
  Z = console.log, F = console.info, I = console.warn, L = console.error, Q = console.group, D = console.groupCollapsed, ee = console.groupEnd;
81
81
  var e = {
82
82
  configurable: !0,
@@ -94,22 +94,22 @@ function he() {
94
94
  groupEnd: e
95
95
  });
96
96
  }
97
- g++;
97
+ v++;
98
98
  }
99
99
  function fe() {
100
- if (g--, g === 0) {
100
+ if (v--, v === 0) {
101
101
  var e = { configurable: !0, enumerable: !0, writable: !0 };
102
102
  Object.defineProperties(console, {
103
- log: v({}, e, { value: Z }),
104
- info: v({}, e, { value: F }),
105
- warn: v({}, e, { value: I }),
106
- error: v({}, e, { value: L }),
107
- group: v({}, e, { value: Q }),
108
- groupCollapsed: v({}, e, { value: D }),
109
- groupEnd: v({}, e, { value: ee })
103
+ log: E({}, e, { value: Z }),
104
+ info: E({}, e, { value: F }),
105
+ warn: E({}, e, { value: I }),
106
+ error: E({}, e, { value: L }),
107
+ group: E({}, e, { value: Q }),
108
+ groupCollapsed: E({}, e, { value: D }),
109
+ groupEnd: E({}, e, { value: ee })
110
110
  });
111
111
  }
112
- 0 > g && console.error(
112
+ 0 > v && console.error(
113
113
  "disabledDepth fell below zero. This is a bug in React. Please file an issue."
114
114
  );
115
115
  }
@@ -117,21 +117,21 @@ function he() {
117
117
  if (x === void 0)
118
118
  try {
119
119
  throw Error();
120
- } catch (o) {
121
- var r = o.stack.trim().match(/\n( *(at )?)/);
122
- x = r && r[1] || "", re = -1 < o.stack.indexOf(`
123
- at`) ? " (<anonymous>)" : -1 < o.stack.indexOf("@") ? "@unknown:0:0" : "";
120
+ } catch (t) {
121
+ var r = t.stack.trim().match(/\n( *(at )?)/);
122
+ x = r && r[1] || "", re = -1 < t.stack.indexOf(`
123
+ at`) ? " (<anonymous>)" : -1 < t.stack.indexOf("@") ? "@unknown:0:0" : "";
124
124
  }
125
125
  return `
126
126
  ` + x + e + re;
127
127
  }
128
128
  function U(e, r) {
129
129
  if (!e || P) return "";
130
- var o = Y.get(e);
131
- if (o !== void 0) return o;
132
- P = !0, o = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
130
+ var t = Y.get(e);
131
+ if (t !== void 0) return t;
132
+ P = !0, t = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
133
133
  var n = null;
134
- n = E.H, E.H = null, le();
134
+ n = d.H, d.H = null, le();
135
135
  try {
136
136
  var u = {
137
137
  DetermineComponentFrameRoot: function() {
@@ -185,27 +185,27 @@ function he() {
185
185
  "name",
186
186
  { value: "DetermineComponentFrameRoot" }
187
187
  );
188
- var t = u.DetermineComponentFrameRoot(), f = t[0], d = t[1];
189
- if (f && d) {
188
+ var o = u.DetermineComponentFrameRoot(), f = o[0], g = o[1];
189
+ if (f && g) {
190
190
  var l = f.split(`
191
- `), b = d.split(`
191
+ `), b = g.split(`
192
192
  `);
193
- for (t = a = 0; a < l.length && !l[a].includes(
193
+ for (o = a = 0; a < l.length && !l[a].includes(
194
194
  "DetermineComponentFrameRoot"
195
195
  ); )
196
196
  a++;
197
- for (; t < b.length && !b[t].includes(
197
+ for (; o < b.length && !b[o].includes(
198
198
  "DetermineComponentFrameRoot"
199
199
  ); )
200
- t++;
201
- if (a === l.length || t === b.length)
202
- for (a = l.length - 1, t = b.length - 1; 1 <= a && 0 <= t && l[a] !== b[t]; )
203
- t--;
204
- for (; 1 <= a && 0 <= t; a--, t--)
205
- if (l[a] !== b[t]) {
206
- if (a !== 1 || t !== 1)
200
+ o++;
201
+ if (a === l.length || o === b.length)
202
+ for (a = l.length - 1, o = b.length - 1; 1 <= a && 0 <= o && l[a] !== b[o]; )
203
+ o--;
204
+ for (; 1 <= a && 0 <= o; a--, o--)
205
+ if (l[a] !== b[o]) {
206
+ if (a !== 1 || o !== 1)
207
207
  do
208
- if (a--, t--, 0 > t || l[a] !== b[t]) {
208
+ if (a--, o--, 0 > o || l[a] !== b[o]) {
209
209
  var m = `
210
210
  ` + l[a].replace(
211
211
  " at new ",
@@ -213,12 +213,12 @@ function he() {
213
213
  );
214
214
  return e.displayName && m.includes("<anonymous>") && (m = m.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, m), m;
215
215
  }
216
- while (1 <= a && 0 <= t);
216
+ while (1 <= a && 0 <= o);
217
217
  break;
218
218
  }
219
219
  }
220
220
  } finally {
221
- P = !1, E.H = n, fe(), Error.prepareStackTrace = o;
221
+ P = !1, d.H = n, fe(), Error.prepareStackTrace = t;
222
222
  }
223
223
  return l = (l = e ? e.displayName || e.name : "") ? y(l) : "", typeof e == "function" && Y.set(e, l), l;
224
224
  }
@@ -254,7 +254,7 @@ function he() {
254
254
  return "";
255
255
  }
256
256
  function C() {
257
- var e = E.A;
257
+ var e = d.A;
258
258
  return e === null ? null : e.getOwner();
259
259
  }
260
260
  function ce(e) {
@@ -265,31 +265,31 @@ function he() {
265
265
  return e.key !== void 0;
266
266
  }
267
267
  function se(e, r) {
268
- function o() {
269
- oe || (oe = !0, console.error(
268
+ function t() {
269
+ te || (te = !0, console.error(
270
270
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
271
271
  r
272
272
  ));
273
273
  }
274
- o.isReactWarning = !0, Object.defineProperty(e, "key", {
275
- get: o,
274
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
275
+ get: t,
276
276
  configurable: !0
277
277
  });
278
278
  }
279
279
  function ie() {
280
280
  var e = s(this.type);
281
- return te[e] || (te[e] = !0, console.error(
281
+ return oe[e] || (oe[e] = !0, console.error(
282
282
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
283
283
  )), e = this.props.ref, e !== void 0 ? e : null;
284
284
  }
285
- function Ee(e, r, o, n, u, a) {
286
- return o = a.ref, e = {
285
+ function de(e, r, t, n, u, a) {
286
+ return t = a.ref, e = {
287
287
  $$typeof: O,
288
288
  type: e,
289
289
  key: r,
290
290
  props: a,
291
291
  _owner: u
292
- }, (o !== void 0 ? o : null) !== null ? Object.defineProperty(e, "ref", {
292
+ }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
293
293
  enumerable: !1,
294
294
  get: ie
295
295
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
@@ -304,32 +304,32 @@ function he() {
304
304
  value: null
305
305
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
306
306
  }
307
- function z(e, r, o, n, u, a) {
308
- if (typeof e == "string" || typeof e == "function" || e === j || e === K || e === H || e === A || e === R || e === ge || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === k || e.$$typeof === q || e.$$typeof === X || e.$$typeof === S || e.$$typeof === _e || e.getModuleId !== void 0)) {
309
- var t = r.children;
310
- if (t !== void 0)
307
+ function z(e, r, t, n, u, a) {
308
+ if (typeof e == "string" || typeof e == "function" || e === j || e === K || e === H || e === A || e === R || e === ve || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === k || e.$$typeof === q || e.$$typeof === X || e.$$typeof === S || e.$$typeof === _e || e.getModuleId !== void 0)) {
309
+ var o = r.children;
310
+ if (o !== void 0)
311
311
  if (n)
312
- if (N(t)) {
313
- for (n = 0; n < t.length; n++)
314
- V(t[n], e);
315
- Object.freeze && Object.freeze(t);
312
+ if (N(o)) {
313
+ for (n = 0; n < o.length; n++)
314
+ V(o[n], e);
315
+ Object.freeze && Object.freeze(o);
316
316
  } else
317
317
  console.error(
318
318
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
319
319
  );
320
- else V(t, e);
320
+ else V(o, e);
321
321
  } else
322
- t = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (t += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? n = "null" : N(e) ? n = "array" : e !== void 0 && e.$$typeof === O ? (n = "<" + (s(e.type) || "Unknown") + " />", t = " Did you accidentally export a JSX literal instead of a component?") : n = typeof e, console.error(
322
+ o = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? n = "null" : N(e) ? n = "array" : e !== void 0 && e.$$typeof === O ? (n = "<" + (s(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : n = typeof e, console.error(
323
323
  "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
324
324
  n,
325
- t
325
+ o
326
326
  );
327
327
  if (J.call(r, "key")) {
328
- t = s(e);
328
+ o = s(e);
329
329
  var f = Object.keys(r).filter(function(l) {
330
330
  return l !== "key";
331
331
  });
332
- n = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", ne[t + n] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
332
+ n = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", ne[o + n] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
333
333
  `A props object containing a "key" prop is being spread into JSX:
334
334
  let props = %s;
335
335
  <%s {...props} />
@@ -337,32 +337,32 @@ React keys must be passed directly to JSX without using spread:
337
337
  let props = %s;
338
338
  <%s key={someKey} {...props} />`,
339
339
  n,
340
- t,
340
+ o,
341
341
  f,
342
- t
343
- ), ne[t + n] = !0);
342
+ o
343
+ ), ne[o + n] = !0);
344
344
  }
345
- if (t = null, o !== void 0 && (W(o), t = "" + o), ce(r) && (W(r.key), t = "" + r.key), "key" in r) {
346
- o = {};
347
- for (var d in r)
348
- d !== "key" && (o[d] = r[d]);
349
- } else o = r;
350
- return t && se(
351
- o,
345
+ if (o = null, t !== void 0 && (W(t), o = "" + t), ce(r) && (W(r.key), o = "" + r.key), "key" in r) {
346
+ t = {};
347
+ for (var g in r)
348
+ g !== "key" && (t[g] = r[g]);
349
+ } else t = r;
350
+ return o && se(
351
+ t,
352
352
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
353
- ), Ee(e, t, a, u, C(), o);
353
+ ), de(e, o, a, u, C(), t);
354
354
  }
355
355
  function V(e, r) {
356
356
  if (typeof e == "object" && e && e.$$typeof !== ye) {
357
357
  if (N(e))
358
- for (var o = 0; o < e.length; o++) {
359
- var n = e[o];
358
+ for (var t = 0; t < e.length; t++) {
359
+ var n = e[t];
360
360
  h(n) && G(n, r);
361
361
  }
362
362
  else if (h(e))
363
363
  e._store && (e._store.validated = 1);
364
- else if (e === null || typeof e != "object" ? o = null : (o = B && e[B] || e["@@iterator"], o = typeof o == "function" ? o : null), typeof o == "function" && o !== e.entries && (o = o.call(e), o !== e))
365
- for (; !(e = o.next()).done; )
364
+ else if (e === null || typeof e != "object" ? t = null : (t = B && e[B] || e["@@iterator"], t = typeof t == "function" ? t : null), typeof t == "function" && t !== e.entries && (t = t.call(e), t !== e))
365
+ for (; !(e = t.next()).done; )
366
366
  h(e.value) && G(e.value, r);
367
367
  }
368
368
  }
@@ -370,36 +370,36 @@ React keys must be passed directly to JSX without using spread:
370
370
  return typeof e == "object" && e !== null && e.$$typeof === O;
371
371
  }
372
372
  function G(e, r) {
373
- if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = ve(r), !ae[r])) {
373
+ if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = Ee(r), !ae[r])) {
374
374
  ae[r] = !0;
375
- var o = "";
376
- e && e._owner != null && e._owner !== C() && (o = null, typeof e._owner.tag == "number" ? o = s(e._owner.type) : typeof e._owner.name == "string" && (o = e._owner.name), o = " It was passed a child from " + o + ".");
377
- var n = E.getCurrentStack;
378
- E.getCurrentStack = function() {
375
+ var t = "";
376
+ e && e._owner != null && e._owner !== C() && (t = null, typeof e._owner.tag == "number" ? t = s(e._owner.type) : typeof e._owner.name == "string" && (t = e._owner.name), t = " It was passed a child from " + t + ".");
377
+ var n = d.getCurrentStack;
378
+ d.getCurrentStack = function() {
379
379
  var u = T(e.type);
380
380
  return n && (u += n() || ""), u;
381
381
  }, console.error(
382
382
  'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
383
383
  r,
384
- o
385
- ), E.getCurrentStack = n;
384
+ t
385
+ ), d.getCurrentStack = n;
386
386
  }
387
387
  }
388
- function ve(e) {
389
- var r = "", o = C();
390
- return o && (o = s(o.type)) && (r = `
388
+ function Ee(e) {
389
+ var r = "", t = C();
390
+ return t && (t = s(t.type)) && (r = `
391
391
 
392
- Check the render method of \`` + o + "`."), r || (e = s(e)) && (r = `
392
+ Check the render method of \`` + t + "`."), r || (e = s(e)) && (r = `
393
393
 
394
394
  Check the top-level render call using <` + e + ">."), r;
395
395
  }
396
- var be = we, O = Symbol.for("react.transitional.element"), de = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), H = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), X = Symbol.for("react.consumer"), q = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), ge = Symbol.for("react.offscreen"), B = Symbol.iterator, me = Symbol.for("react.client.reference"), E = be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, v = Object.assign, _e = Symbol.for("react.client.reference"), N = Array.isArray, g = 0, Z, F, I, L, Q, D, ee;
396
+ var be = we, O = Symbol.for("react.transitional.element"), ge = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), H = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), X = Symbol.for("react.consumer"), q = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), ve = Symbol.for("react.offscreen"), B = Symbol.iterator, me = Symbol.for("react.client.reference"), d = be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, E = Object.assign, _e = Symbol.for("react.client.reference"), N = Array.isArray, v = 0, Z, F, I, L, Q, D, ee;
397
397
  $.__reactDisabledLog = !0;
398
- var x, re, P = !1, Y = new (typeof WeakMap == "function" ? WeakMap : Map)(), ye = Symbol.for("react.client.reference"), oe, te = {}, ne = {}, ae = {};
399
- _.Fragment = j, _.jsx = function(e, r, o, n, u) {
400
- return z(e, r, o, !1, n, u);
401
- }, _.jsxs = function(e, r, o, n, u) {
402
- return z(e, r, o, !0, n, u);
398
+ var x, re, P = !1, Y = new (typeof WeakMap == "function" ? WeakMap : Map)(), ye = Symbol.for("react.client.reference"), te, oe = {}, ne = {}, ae = {};
399
+ _.Fragment = j, _.jsx = function(e, r, t, n, u) {
400
+ return z(e, r, t, !1, n, u);
401
+ }, _.jsxs = function(e, r, t, n, u) {
402
+ return z(e, r, t, !0, n, u);
403
403
  };
404
404
  }(), _);
405
405
  }
@@ -0,0 +1,5 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
5
+ //# sourceMappingURL=index.es285.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es285.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,18 +1,5 @@
1
- import { useEffect as l } from "react";
2
- const f = (t, n) => {
3
- l(() => {
4
- if (!n || !t.current) return;
5
- const o = t.current.querySelectorAll(
6
- 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
7
- ), c = o[0], r = o[o.length - 1], s = (e) => {
8
- e.key === "Tab" && (e.shiftKey ? document.activeElement === c && (r.focus(), e.preventDefault()) : document.activeElement === r && (c.focus(), e.preventDefault()));
9
- }, u = document.activeElement;
10
- return c.focus(), document.addEventListener("keydown", s), () => {
11
- document.removeEventListener("keydown", s), n && (u == null || u.focus());
12
- };
13
- }, [n, t]);
14
- };
1
+ var e = {};
15
2
  export {
16
- f as useFocusTrap
3
+ e as __exports
17
4
  };
18
5
  //# sourceMappingURL=index.es286.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es286.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\n\nexport const useFocusTrap = (\n ref: React.RefObject<HTMLElement | null>,\n isActive: boolean,\n) => {\n useEffect(() => {\n if (!isActive || !ref.current) return;\n\n const focusableElements = ref.current.querySelectorAll(\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\n );\n const firstFocusableElement = focusableElements[0] as HTMLElement;\n const lastFocusableElement = focusableElements[\n focusableElements.length - 1\n ] as HTMLElement;\n\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Tab\") return;\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n };\n\n const previousActiveElement = document.activeElement as HTMLElement;\n\n firstFocusableElement.focus();\n\n document.addEventListener(\"keydown\", handleKeyDown);\n\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n\n if (isActive) {\n previousActiveElement?.focus();\n }\n };\n }, [isActive, ref]);\n};\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":";AAEa,MAAAA,IAAe,CAC1BC,GACAC,MACG;AACH,EAAAC,EAAU,MAAM;AACd,QAAI,CAACD,KAAY,CAACD,EAAI,QAAS;AAEzB,UAAAG,IAAoBH,EAAI,QAAQ;AAAA,MACpC;AAAA,IACF,GACMI,IAAwBD,EAAkB,CAAC,GAC3CE,IAAuBF,EAC3BA,EAAkB,SAAS,CAC7B,GAEMG,IAAgB,CAAC,MAAqB;AACtC,MAAA,EAAE,QAAQ,UAEV,EAAE,WACA,SAAS,kBAAkBF,MAC7BC,EAAqB,MAAM,GAC3B,EAAE,eAAe,KAGf,SAAS,kBAAkBA,MAC7BD,EAAsB,MAAM,GAC5B,EAAE,eAAe;AAAA,IAGvB,GAEMG,IAAwB,SAAS;AAEvC,WAAAH,EAAsB,MAAM,GAEnB,SAAA,iBAAiB,WAAWE,CAAa,GAE3C,MAAM;AACF,eAAA,oBAAoB,WAAWA,CAAa,GAEjDL,MACFM,KAAA,QAAAA,EAAuB;AAAA,IAE3B;AAAA,EAAA,GACC,CAACN,GAAUD,CAAG,CAAC;AACpB;"}
1
+ {"version":3,"file":"index.es286.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,10 @@
1
+ function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
2
+ return function(s) {
3
+ if (f == null || f(s), p === !1 || !s.defaultPrevented)
4
+ return c == null ? void 0 : c(s);
5
+ };
6
+ }
7
+ export {
8
+ h as composeEventHandlers
9
+ };
10
+ //# sourceMappingURL=index.es287.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es287.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AACA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAM,IAAG,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,KAAA,QAAAA,EAAuBG,IACnBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,KAAA,gBAAAA,EAAkBE;AAAA,EAE5B;AACH;","x_google_ignoreList":[0]}
@@ -0,0 +1,30 @@
1
+ import * as l from "react";
2
+ function f(n, u) {
3
+ if (typeof n == "function")
4
+ return n(u);
5
+ n != null && (n.current = u);
6
+ }
7
+ function i(...n) {
8
+ return (u) => {
9
+ let o = !1;
10
+ const c = n.map((e) => {
11
+ const t = f(e, u);
12
+ return !o && typeof t == "function" && (o = !0), t;
13
+ });
14
+ if (o)
15
+ return () => {
16
+ for (let e = 0; e < c.length; e++) {
17
+ const t = c[e];
18
+ typeof t == "function" ? t() : f(n[e], null);
19
+ }
20
+ };
21
+ };
22
+ }
23
+ function s(...n) {
24
+ return l.useCallback(i(...n), n);
25
+ }
26
+ export {
27
+ i as composeRefs,
28
+ s as useComposedRefs
29
+ };
30
+ //# sourceMappingURL=index.es288.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es288.js","sources":["../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":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
@@ -1,10 +1,71 @@
1
- function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
2
- return function(s) {
3
- if (f == null || f(s), p === !1 || !s.defaultPrevented)
4
- return c == null ? void 0 : c(s);
1
+ import * as u from "react";
2
+ import { j as h } from "./index.es161.js";
3
+ function j(t, c) {
4
+ const r = u.createContext(c), a = (o) => {
5
+ const { children: e, ...n } = o, s = u.useMemo(() => n, Object.values(n));
6
+ return /* @__PURE__ */ h.jsx(r.Provider, { value: s, children: e });
5
7
  };
8
+ a.displayName = t + "Provider";
9
+ function i(o) {
10
+ const e = u.useContext(r);
11
+ if (e) return e;
12
+ if (c !== void 0) return c;
13
+ throw new Error(`\`${o}\` must be used within \`${t}\``);
14
+ }
15
+ return [a, i];
16
+ }
17
+ function w(t, c = []) {
18
+ let r = [];
19
+ function a(o, e) {
20
+ const n = u.createContext(e), s = r.length;
21
+ r = [...r, e];
22
+ const p = (d) => {
23
+ var S;
24
+ const { scope: x, children: C, ...m } = d, f = ((S = x == null ? void 0 : x[t]) == null ? void 0 : S[s]) || n, P = u.useMemo(() => m, Object.values(m));
25
+ return /* @__PURE__ */ h.jsx(f.Provider, { value: P, children: C });
26
+ };
27
+ p.displayName = o + "Provider";
28
+ function v(d, x) {
29
+ var f;
30
+ const C = ((f = x == null ? void 0 : x[t]) == null ? void 0 : f[s]) || n, m = u.useContext(C);
31
+ if (m) return m;
32
+ if (e !== void 0) return e;
33
+ throw new Error(`\`${d}\` must be used within \`${o}\``);
34
+ }
35
+ return [p, v];
36
+ }
37
+ const i = () => {
38
+ const o = r.map((e) => u.createContext(e));
39
+ return function(n) {
40
+ const s = (n == null ? void 0 : n[t]) || o;
41
+ return u.useMemo(
42
+ () => ({ [`__scope${t}`]: { ...n, [t]: s } }),
43
+ [n, s]
44
+ );
45
+ };
46
+ };
47
+ return i.scopeName = t, [a, l(i, ...c)];
48
+ }
49
+ function l(...t) {
50
+ const c = t[0];
51
+ if (t.length === 1) return c;
52
+ const r = () => {
53
+ const a = t.map((i) => ({
54
+ useScope: i(),
55
+ scopeName: i.scopeName
56
+ }));
57
+ return function(o) {
58
+ const e = a.reduce((n, { useScope: s, scopeName: p }) => {
59
+ const d = s(o)[`__scope${p}`];
60
+ return { ...n, ...d };
61
+ }, {});
62
+ return u.useMemo(() => ({ [`__scope${c.scopeName}`]: e }), [e]);
63
+ };
64
+ };
65
+ return r.scopeName = c.scopeName, r;
6
66
  }
7
67
  export {
8
- h as composeEventHandlers
68
+ j as createContext,
69
+ w as createContextScope
9
70
  };
10
71
  //# sourceMappingURL=index.es289.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es289.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AACA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAM,IAAG,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,KAAA,QAAAA,EAAuBG,IACnBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,KAAA,gBAAAA,EAAkBE;AAAA,EAE5B;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es289.js","sources":["../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","_a","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope"],"mappings":";;AAGA,SAASA,EAAeC,GAAmBC,GAAgB;AACzD,QAAMC,IAAUC,EAAM,cAAcF,CAAc,GAC5CG,IAAW,CAACC,MAAU;AAC1B,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAO,IAAKF,GAC3BG,IAAQL,EAAM,QAAQ,MAAMI,GAAS,OAAO,OAAOA,CAAO,CAAC;AACjE,WAAuBE,gBAAAA,EAAAA,IAAIP,EAAQ,UAAU,EAAE,OAAAM,GAAO,UAAAF,EAAQ,CAAE;AAAA,EACjE;AACD,EAAAF,EAAS,cAAcJ,IAAoB;AAC3C,WAASU,EAAYC,GAAc;AACjC,UAAMJ,IAAUJ,EAAM,WAAWD,CAAO;AACxC,QAAIK,EAAS,QAAOA;AACpB,QAAIN,MAAmB,OAAQ,QAAOA;AACtC,UAAM,IAAI,MAAM,KAAKU,CAAY,4BAA4BX,CAAiB,IAAI;AAAA,EACtF;AACE,SAAO,CAACI,GAAUM,CAAW;AAC/B;AACA,SAASE,EAAmBC,GAAWC,IAAyB,IAAI;AAClE,MAAIC,IAAkB,CAAE;AACxB,WAASC,EAAehB,GAAmBC,GAAgB;AACzD,UAAMgB,IAAcd,EAAM,cAAcF,CAAc,GAChDiB,IAAQH,EAAgB;AAC9B,IAAAA,IAAkB,CAAC,GAAGA,GAAiBd,CAAc;AACrD,UAAMG,IAAW,CAACC,MAAU;;AAC1B,YAAM,EAAE,OAAAc,GAAO,UAAAb,GAAU,GAAGC,EAAS,IAAGF,GAClCH,MAAUkB,IAAAD,KAAA,gBAAAA,EAAQN,OAAR,gBAAAO,EAAqBF,OAAUD,GACzCT,IAAQL,EAAM,QAAQ,MAAMI,GAAS,OAAO,OAAOA,CAAO,CAAC;AACjE,aAAuBE,gBAAAA,EAAAA,IAAIP,EAAQ,UAAU,EAAE,OAAAM,GAAO,UAAAF,EAAQ,CAAE;AAAA,IACjE;AACD,IAAAF,EAAS,cAAcJ,IAAoB;AAC3C,aAASU,EAAYC,GAAcQ,GAAO;;AACxC,YAAMjB,MAAUkB,IAAAD,KAAA,gBAAAA,EAAQN,OAAR,gBAAAO,EAAqBF,OAAUD,GACzCV,IAAUJ,EAAM,WAAWD,CAAO;AACxC,UAAIK,EAAS,QAAOA;AACpB,UAAIN,MAAmB,OAAQ,QAAOA;AACtC,YAAM,IAAI,MAAM,KAAKU,CAAY,4BAA4BX,CAAiB,IAAI;AAAA,IACxF;AACI,WAAO,CAACI,GAAUM,CAAW;AAAA,EACjC;AACE,QAAMW,IAAc,MAAM;AACxB,UAAMC,IAAgBP,EAAgB,IAAI,CAACd,MAClCE,EAAM,cAAcF,CAAc,CAC1C;AACD,WAAO,SAAkBkB,GAAO;AAC9B,YAAMI,KAAWJ,KAAA,gBAAAA,EAAQN,OAAcS;AACvC,aAAOnB,EAAM;AAAA,QACX,OAAO,EAAE,CAAC,UAAUU,CAAS,EAAE,GAAG,EAAE,GAAGM,GAAO,CAACN,CAAS,GAAGU,EAAQ;QACnE,CAACJ,GAAOI,CAAQ;AAAA,MACjB;AAAA,IACF;AAAA,EACF;AACD,SAAAF,EAAY,YAAYR,GACjB,CAACG,GAAgBQ,EAAqBH,GAAa,GAAGP,CAAsB,CAAC;AACtF;AACA,SAASU,KAAwBC,GAAQ;AACvC,QAAMC,IAAYD,EAAO,CAAC;AAC1B,MAAIA,EAAO,WAAW,EAAG,QAAOC;AAChC,QAAML,IAAc,MAAM;AACxB,UAAMM,IAAaF,EAAO,IAAI,CAACG,OAAkB;AAAA,MAC/C,UAAUA,EAAc;AAAA,MACxB,WAAWA,EAAa;AAAA,IAC9B,EAAM;AACF,WAAO,SAA2BC,GAAgB;AAChD,YAAMC,IAAaH,EAAW,OAAO,CAACI,GAAa,EAAE,UAAAC,GAAU,WAAAnB,QAAgB;AAE7E,cAAMoB,IADaD,EAASH,CAAc,EACV,UAAUhB,CAAS,EAAE;AACrD,eAAO,EAAE,GAAGkB,GAAa,GAAGE,EAAc;AAAA,MAC3C,GAAE,EAAE;AACL,aAAO9B,EAAM,QAAQ,OAAO,EAAE,CAAC,UAAUuB,EAAU,SAAS,EAAE,GAAGI,EAAU,IAAK,CAACA,CAAU,CAAC;AAAA,IAC7F;AAAA,EACF;AACD,SAAAT,EAAY,YAAYK,EAAU,WAC3BL;AACT;","x_google_ignoreList":[0]}
@@ -1,30 +1,33 @@
1
- import * as f from "react";
2
- function l(n, o) {
3
- if (typeof n == "function")
4
- return n(o);
5
- n != null && (n.current = o);
1
+ import * as l from "react";
2
+ import { useCallbackRef as f } from "./index.es295.js";
3
+ function R({
4
+ prop: e,
5
+ defaultProp: r,
6
+ onChange: s = () => {
7
+ }
8
+ }) {
9
+ const [t, n] = C({ defaultProp: r, onChange: s }), o = e !== void 0, i = o ? e : t, u = f(s), d = l.useCallback(
10
+ (c) => {
11
+ if (o) {
12
+ const a = typeof c == "function" ? c(e) : c;
13
+ a !== e && u(a);
14
+ } else
15
+ n(c);
16
+ },
17
+ [o, e, n, u]
18
+ );
19
+ return [i, d];
6
20
  }
7
- function i(...n) {
8
- return (o) => {
9
- let u = !1;
10
- const c = n.map((t) => {
11
- const e = l(t, o);
12
- return !u && typeof e == "function" && (u = !0), e;
13
- });
14
- if (u)
15
- return () => {
16
- for (let t = 0; t < c.length; t++) {
17
- const e = c[t];
18
- typeof e == "function" ? e() : l(n[t], null);
19
- }
20
- };
21
- };
22
- }
23
- function s(...n) {
24
- return f.useCallback(i(...n), n);
21
+ function C({
22
+ defaultProp: e,
23
+ onChange: r
24
+ }) {
25
+ const s = l.useState(e), [t] = s, n = l.useRef(t), o = f(r);
26
+ return l.useEffect(() => {
27
+ n.current !== t && (o(t), n.current = t);
28
+ }, [t, n, o]), s;
25
29
  }
26
30
  export {
27
- i as composeRefs,
28
- s as useComposedRefs
31
+ R as useControllableState
29
32
  };
30
33
  //# sourceMappingURL=index.es290.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es290.js","sources":["../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":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es290.js","sources":["../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":";;AAGA,SAASA,EAAqB;AAAA,EAC5B,MAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC,IAAW,MAAM;AAAA,EACnB;AACA,GAAG;AACD,QAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAqB,EAAE,aAAAJ,GAAa,UAAAC,GAAU,GACxFI,IAAeN,MAAS,QACxBO,IAAQD,IAAeN,IAAOG,GAC9BK,IAAeC,EAAeP,CAAQ,GACtCQ,IAAWC,EAAM;AAAA,IACrB,CAACC,MAAc;AACb,UAAIN,GAAc;AAEhB,cAAMO,IAAS,OAAOD,KAAc,aADrBA,EACyCZ,CAAI,IAAIY;AAChE,QAAIC,MAAWb,KAAMQ,EAAaK,CAAM;AAAA,MAChD;AACQ,QAAAT,EAAoBQ,CAAS;AAAA,IAEhC;AAAA,IACD,CAACN,GAAcN,GAAMI,GAAqBI,CAAY;AAAA,EACvD;AACD,SAAO,CAACD,GAAOG,CAAQ;AACzB;AACA,SAASL,EAAqB;AAAA,EAC5B,aAAAJ;AAAA,EACA,UAAAC;AACF,GAAG;AACD,QAAMY,IAAoBH,EAAM,SAASV,CAAW,GAC9C,CAACM,CAAK,IAAIO,GACVC,IAAeJ,EAAM,OAAOJ,CAAK,GACjCC,IAAeC,EAAeP,CAAQ;AAC5C,SAAAS,EAAM,UAAU,MAAM;AACpB,IAAII,EAAa,YAAYR,MAC3BC,EAAaD,CAAK,GAClBQ,EAAa,UAAUR;AAAA,EAE1B,GAAE,CAACA,GAAOQ,GAAcP,CAAY,CAAC,GAC/BM;AACT;","x_google_ignoreList":[0]}