@weng-lab/ui-components 3.1.0 → 3.1.2

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 (565) hide show
  1. package/dist/src/components/DetailsTabs/DetailsTabs.d.ts +1 -1
  2. package/dist/src/components/DetailsTabs/DetailsTabs.d.ts.map +1 -1
  3. package/dist/src/components/DetailsTabs/types.d.ts +4 -0
  4. package/dist/src/components/DetailsTabs/types.d.ts.map +1 -1
  5. package/dist/ui-components.es10.js +3 -3
  6. package/dist/ui-components.es100.js +7 -3
  7. package/dist/ui-components.es100.js.map +1 -1
  8. package/dist/ui-components.es101.js +9 -3
  9. package/dist/ui-components.es101.js.map +1 -1
  10. package/dist/ui-components.es102.js +23 -14
  11. package/dist/ui-components.es102.js.map +1 -1
  12. package/dist/ui-components.es103.js +3 -42
  13. package/dist/ui-components.es103.js.map +1 -1
  14. package/dist/ui-components.es104.js +6 -7
  15. package/dist/ui-components.es104.js.map +1 -1
  16. package/dist/ui-components.es105.js +13 -23
  17. package/dist/ui-components.es105.js.map +1 -1
  18. package/dist/ui-components.es106.js +5 -3
  19. package/dist/ui-components.es106.js.map +1 -1
  20. package/dist/ui-components.es107.js +20 -6
  21. package/dist/ui-components.es107.js.map +1 -1
  22. package/dist/ui-components.es108.js +7 -13
  23. package/dist/ui-components.es108.js.map +1 -1
  24. package/dist/ui-components.es109.js +8 -5
  25. package/dist/ui-components.es109.js.map +1 -1
  26. package/dist/ui-components.es11.js +1 -1
  27. package/dist/ui-components.es110.js +111 -20
  28. package/dist/ui-components.es110.js.map +1 -1
  29. package/dist/ui-components.es111.js +16 -7
  30. package/dist/ui-components.es111.js.map +1 -1
  31. package/dist/ui-components.es112.js +2 -2
  32. package/dist/ui-components.es113.js +2 -2
  33. package/dist/ui-components.es115.js +1 -1
  34. package/dist/ui-components.es116.js +3 -3
  35. package/dist/ui-components.es119.js +2 -2
  36. package/dist/ui-components.es120.js +1 -1
  37. package/dist/ui-components.es122.js +11 -11
  38. package/dist/ui-components.es123.js +9 -9
  39. package/dist/ui-components.es124.js +8 -8
  40. package/dist/ui-components.es125.js +12 -12
  41. package/dist/ui-components.es126.js +9 -9
  42. package/dist/ui-components.es127.js +12 -12
  43. package/dist/ui-components.es128.js +9 -9
  44. package/dist/ui-components.es13.js +3 -3
  45. package/dist/ui-components.es132.js +7 -4
  46. package/dist/ui-components.es132.js.map +1 -1
  47. package/dist/ui-components.es133.js +7 -7
  48. package/dist/ui-components.es133.js.map +1 -1
  49. package/dist/ui-components.es135.js +2 -2
  50. package/dist/ui-components.es137.js +2 -2
  51. package/dist/ui-components.es139.js +4 -7
  52. package/dist/ui-components.es139.js.map +1 -1
  53. package/dist/ui-components.es14.js +4 -4
  54. package/dist/ui-components.es140.js +7 -7
  55. package/dist/ui-components.es140.js.map +1 -1
  56. package/dist/ui-components.es141.js +7 -6
  57. package/dist/ui-components.es141.js.map +1 -1
  58. package/dist/ui-components.es142.js +6 -7
  59. package/dist/ui-components.es142.js.map +1 -1
  60. package/dist/ui-components.es143.js +7 -198
  61. package/dist/ui-components.es143.js.map +1 -1
  62. package/dist/ui-components.es144.js +7 -7
  63. package/dist/ui-components.es144.js.map +1 -1
  64. package/dist/ui-components.es145.js +198 -3
  65. package/dist/ui-components.es145.js.map +1 -1
  66. package/dist/ui-components.es146.js +7 -7
  67. package/dist/ui-components.es146.js.map +1 -1
  68. package/dist/ui-components.es147.js +4 -4
  69. package/dist/ui-components.es147.js.map +1 -1
  70. package/dist/ui-components.es148.js +6 -4
  71. package/dist/ui-components.es148.js.map +1 -1
  72. package/dist/ui-components.es149.js +11 -36
  73. package/dist/ui-components.es149.js.map +1 -1
  74. package/dist/ui-components.es150.js +7 -344
  75. package/dist/ui-components.es150.js.map +1 -1
  76. package/dist/ui-components.es151.js +25 -275
  77. package/dist/ui-components.es151.js.map +1 -1
  78. package/dist/ui-components.es152.js +160 -6
  79. package/dist/ui-components.es152.js.map +1 -1
  80. package/dist/ui-components.es153.js +4 -7
  81. package/dist/ui-components.es153.js.map +1 -1
  82. package/dist/ui-components.es154.js +22 -6
  83. package/dist/ui-components.es154.js.map +1 -1
  84. package/dist/ui-components.es155.js +3 -8
  85. package/dist/ui-components.es155.js.map +1 -1
  86. package/dist/ui-components.es156.js +8 -311
  87. package/dist/ui-components.es156.js.map +1 -1
  88. package/dist/ui-components.es157.js +4 -6
  89. package/dist/ui-components.es157.js.map +1 -1
  90. package/dist/ui-components.es158.js +4 -6
  91. package/dist/ui-components.es158.js.map +1 -1
  92. package/dist/ui-components.es159.js +36 -5
  93. package/dist/ui-components.es159.js.map +1 -1
  94. package/dist/ui-components.es160.js +344 -7
  95. package/dist/ui-components.es160.js.map +1 -1
  96. package/dist/ui-components.es161.js +272 -57
  97. package/dist/ui-components.es161.js.map +1 -1
  98. package/dist/ui-components.es162.js +6 -8
  99. package/dist/ui-components.es162.js.map +1 -1
  100. package/dist/ui-components.es163.js +7 -7
  101. package/dist/ui-components.es163.js.map +1 -1
  102. package/dist/ui-components.es164.js +7 -5
  103. package/dist/ui-components.es164.js.map +1 -1
  104. package/dist/ui-components.es165.js +311 -4
  105. package/dist/ui-components.es165.js.map +1 -1
  106. package/dist/ui-components.es166.js +6 -12
  107. package/dist/ui-components.es166.js.map +1 -1
  108. package/dist/ui-components.es167.js +6 -8
  109. package/dist/ui-components.es167.js.map +1 -1
  110. package/dist/ui-components.es168.js +6 -25
  111. package/dist/ui-components.es168.js.map +1 -1
  112. package/dist/ui-components.es169.js +7 -160
  113. package/dist/ui-components.es169.js.map +1 -1
  114. package/dist/ui-components.es17.js +32 -6
  115. package/dist/ui-components.es17.js.map +1 -1
  116. package/dist/ui-components.es170.js +59 -4
  117. package/dist/ui-components.es170.js.map +1 -1
  118. package/dist/ui-components.es171.js +6 -21
  119. package/dist/ui-components.es171.js.map +1 -1
  120. package/dist/ui-components.es172.js +7 -6
  121. package/dist/ui-components.es172.js.map +1 -1
  122. package/dist/ui-components.es177.js +3 -3
  123. package/dist/ui-components.es178.js +2 -2
  124. package/dist/ui-components.es179.js +2 -2
  125. package/dist/ui-components.es18.js +255 -3
  126. package/dist/ui-components.es18.js.map +1 -1
  127. package/dist/ui-components.es180.js +2 -2
  128. package/dist/ui-components.es181.js +6 -6
  129. package/dist/ui-components.es182.js +1 -1
  130. package/dist/ui-components.es184.js +6 -6
  131. package/dist/ui-components.es184.js.map +1 -1
  132. package/dist/ui-components.es185.js +2 -2
  133. package/dist/ui-components.es186.js +2 -2
  134. package/dist/ui-components.es19.js +1023 -51
  135. package/dist/ui-components.es19.js.map +1 -1
  136. package/dist/ui-components.es190.js +4 -4
  137. package/dist/ui-components.es191.js +4 -4
  138. package/dist/ui-components.es194.js +10 -10
  139. package/dist/ui-components.es195.js +2 -2
  140. package/dist/ui-components.es196.js +6 -6
  141. package/dist/ui-components.es2.js +30 -30
  142. package/dist/ui-components.es20.js +121 -159
  143. package/dist/ui-components.es20.js.map +1 -1
  144. package/dist/ui-components.es200.js +2 -2
  145. package/dist/ui-components.es201.js +5 -5
  146. package/dist/ui-components.es206.js +1 -1
  147. package/dist/ui-components.es207.js +1 -1
  148. package/dist/ui-components.es21.js +386 -6
  149. package/dist/ui-components.es21.js.map +1 -1
  150. package/dist/ui-components.es210.js +3 -3
  151. package/dist/ui-components.es211.js +4 -4
  152. package/dist/ui-components.es213.js +3 -3
  153. package/dist/ui-components.es219.js +3 -3
  154. package/dist/ui-components.es22.js +3 -70
  155. package/dist/ui-components.es22.js.map +1 -1
  156. package/dist/ui-components.es220.js +4 -4
  157. package/dist/ui-components.es221.js +1 -1
  158. package/dist/ui-components.es222.js +1 -1
  159. package/dist/ui-components.es223.js +3 -34
  160. package/dist/ui-components.es223.js.map +1 -1
  161. package/dist/ui-components.es224.js +3 -22
  162. package/dist/ui-components.es224.js.map +1 -1
  163. package/dist/ui-components.es225.js +8 -11
  164. package/dist/ui-components.es225.js.map +1 -1
  165. package/dist/ui-components.es226.js +12 -2
  166. package/dist/ui-components.es226.js.map +1 -1
  167. package/dist/ui-components.es227.js +34 -3
  168. package/dist/ui-components.es227.js.map +1 -1
  169. package/dist/ui-components.es228.js +22 -3
  170. package/dist/ui-components.es228.js.map +1 -1
  171. package/dist/ui-components.es229.js +11 -8
  172. package/dist/ui-components.es229.js.map +1 -1
  173. package/dist/ui-components.es23.js +19 -29
  174. package/dist/ui-components.es23.js.map +1 -1
  175. package/dist/ui-components.es230.js +2 -12
  176. package/dist/ui-components.es230.js.map +1 -1
  177. package/dist/ui-components.es232.js +3 -3
  178. package/dist/ui-components.es233.js +1 -1
  179. package/dist/ui-components.es234.js +25 -2
  180. package/dist/ui-components.es234.js.map +1 -1
  181. package/dist/ui-components.es235.js +34 -6
  182. package/dist/ui-components.es235.js.map +1 -1
  183. package/dist/ui-components.es236.js +8 -2
  184. package/dist/ui-components.es236.js.map +1 -1
  185. package/dist/ui-components.es237.js +3 -2
  186. package/dist/ui-components.es237.js.map +1 -1
  187. package/dist/ui-components.es238.js +6 -6
  188. package/dist/ui-components.es238.js.map +1 -1
  189. package/dist/ui-components.es239.js +475 -23
  190. package/dist/ui-components.es239.js.map +1 -1
  191. package/dist/ui-components.es24.js +130 -27
  192. package/dist/ui-components.es24.js.map +1 -1
  193. package/dist/ui-components.es240.js +167 -34
  194. package/dist/ui-components.es240.js.map +1 -1
  195. package/dist/ui-components.es241.js +231 -7
  196. package/dist/ui-components.es241.js.map +1 -1
  197. package/dist/ui-components.es242.js +2 -3
  198. package/dist/ui-components.es242.js.map +1 -1
  199. package/dist/ui-components.es243.js +2 -7
  200. package/dist/ui-components.es243.js.map +1 -1
  201. package/dist/ui-components.es244.js +9 -476
  202. package/dist/ui-components.es244.js.map +1 -1
  203. package/dist/ui-components.es245.js +2 -168
  204. package/dist/ui-components.es245.js.map +1 -1
  205. package/dist/ui-components.es246.js +2 -232
  206. package/dist/ui-components.es246.js.map +1 -1
  207. package/dist/ui-components.es247.js +2 -2
  208. package/dist/ui-components.es248.js +2 -2
  209. package/dist/ui-components.es249.js +2 -10
  210. package/dist/ui-components.es249.js.map +1 -1
  211. package/dist/ui-components.es25.js +36 -43
  212. package/dist/ui-components.es25.js.map +1 -1
  213. package/dist/ui-components.es250.js +1 -1
  214. package/dist/ui-components.es251.js +2 -2
  215. package/dist/ui-components.es252.js +8 -2
  216. package/dist/ui-components.es252.js.map +1 -1
  217. package/dist/ui-components.es253.js +3 -1
  218. package/dist/ui-components.es253.js.map +1 -1
  219. package/dist/ui-components.es254.js +8 -4
  220. package/dist/ui-components.es254.js.map +1 -1
  221. package/dist/ui-components.es255.js +3 -8
  222. package/dist/ui-components.es255.js.map +1 -1
  223. package/dist/ui-components.es256.js +2 -2
  224. package/dist/ui-components.es256.js.map +1 -1
  225. package/dist/ui-components.es257.js +8 -3
  226. package/dist/ui-components.es257.js.map +1 -1
  227. package/dist/ui-components.es258.js +6 -7
  228. package/dist/ui-components.es258.js.map +1 -1
  229. package/dist/ui-components.es259.js +2 -8
  230. package/dist/ui-components.es259.js.map +1 -1
  231. package/dist/ui-components.es26.js +22 -20
  232. package/dist/ui-components.es26.js.map +1 -1
  233. package/dist/ui-components.es260.js +65 -57
  234. package/dist/ui-components.es260.js.map +1 -1
  235. package/dist/ui-components.es261.js +85 -5
  236. package/dist/ui-components.es261.js.map +1 -1
  237. package/dist/ui-components.es262.js +47 -17
  238. package/dist/ui-components.es262.js.map +1 -1
  239. package/dist/ui-components.es263.js +8 -9
  240. package/dist/ui-components.es263.js.map +1 -1
  241. package/dist/ui-components.es264.js +5 -8
  242. package/dist/ui-components.es264.js.map +1 -1
  243. package/dist/ui-components.es265.js +52 -8
  244. package/dist/ui-components.es265.js.map +1 -1
  245. package/dist/ui-components.es266.js +7 -8
  246. package/dist/ui-components.es266.js.map +1 -1
  247. package/dist/ui-components.es267.js +59 -7
  248. package/dist/ui-components.es267.js.map +1 -1
  249. package/dist/ui-components.es268.js +4 -8
  250. package/dist/ui-components.es268.js.map +1 -1
  251. package/dist/ui-components.es269.js +17 -5
  252. package/dist/ui-components.es269.js.map +1 -1
  253. package/dist/ui-components.es27.js +251 -39
  254. package/dist/ui-components.es27.js.map +1 -1
  255. package/dist/ui-components.es270.js +6 -8
  256. package/dist/ui-components.es270.js.map +1 -1
  257. package/dist/ui-components.es271.js +8 -42
  258. package/dist/ui-components.es271.js.map +1 -1
  259. package/dist/ui-components.es272.js +8 -24
  260. package/dist/ui-components.es272.js.map +1 -1
  261. package/dist/ui-components.es273.js +7 -117
  262. package/dist/ui-components.es273.js.map +1 -1
  263. package/dist/ui-components.es274.js +7 -3
  264. package/dist/ui-components.es274.js.map +1 -1
  265. package/dist/ui-components.es275.js +9 -15
  266. package/dist/ui-components.es275.js.map +1 -1
  267. package/dist/ui-components.es276.js +4 -38
  268. package/dist/ui-components.es276.js.map +1 -1
  269. package/dist/ui-components.es277.js +11 -2
  270. package/dist/ui-components.es277.js.map +1 -1
  271. package/dist/ui-components.es278.js +40 -66
  272. package/dist/ui-components.es278.js.map +1 -1
  273. package/dist/ui-components.es279.js +23 -84
  274. package/dist/ui-components.es279.js.map +1 -1
  275. package/dist/ui-components.es28.js +39 -6
  276. package/dist/ui-components.es28.js.map +1 -1
  277. package/dist/ui-components.es280.js +112 -41
  278. package/dist/ui-components.es280.js.map +1 -1
  279. package/dist/ui-components.es281.js +4 -8
  280. package/dist/ui-components.es281.js.map +1 -1
  281. package/dist/ui-components.es282.js +14 -4
  282. package/dist/ui-components.es282.js.map +1 -1
  283. package/dist/ui-components.es283.js +37 -50
  284. package/dist/ui-components.es283.js.map +1 -1
  285. package/dist/ui-components.es287.js +1 -1
  286. package/dist/ui-components.es289.js +1 -1
  287. package/dist/ui-components.es29.js +6 -6
  288. package/dist/ui-components.es29.js.map +1 -1
  289. package/dist/ui-components.es290.js +2 -12
  290. package/dist/ui-components.es290.js.map +1 -1
  291. package/dist/ui-components.es291.js +2 -12
  292. package/dist/ui-components.es291.js.map +1 -1
  293. package/dist/ui-components.es292.js +11 -6
  294. package/dist/ui-components.es292.js.map +1 -1
  295. package/dist/ui-components.es293.js +12 -171
  296. package/dist/ui-components.es293.js.map +1 -1
  297. package/dist/ui-components.es294.js +148 -7
  298. package/dist/ui-components.es294.js.map +1 -1
  299. package/dist/ui-components.es295.js +11 -7
  300. package/dist/ui-components.es295.js.map +1 -1
  301. package/dist/ui-components.es296.js +7 -148
  302. package/dist/ui-components.es296.js.map +1 -1
  303. package/dist/ui-components.es297.js +6 -11
  304. package/dist/ui-components.es297.js.map +1 -1
  305. package/dist/ui-components.es298.js +171 -7
  306. package/dist/ui-components.es298.js.map +1 -1
  307. package/dist/ui-components.es299.js +7 -520
  308. package/dist/ui-components.es299.js.map +1 -1
  309. package/dist/ui-components.es3.js +2 -2
  310. package/dist/ui-components.es30.js +54 -6
  311. package/dist/ui-components.es30.js.map +1 -1
  312. package/dist/ui-components.es300.js +7 -6
  313. package/dist/ui-components.es300.js.map +1 -1
  314. package/dist/ui-components.es301.js +472 -185
  315. package/dist/ui-components.es301.js.map +1 -1
  316. package/dist/ui-components.es302.js +6 -8
  317. package/dist/ui-components.es302.js.map +1 -1
  318. package/dist/ui-components.es303.js +234 -6
  319. package/dist/ui-components.es303.js.map +1 -1
  320. package/dist/ui-components.es304.js +8 -6
  321. package/dist/ui-components.es304.js.map +1 -1
  322. package/dist/ui-components.es305.js +8 -6
  323. package/dist/ui-components.es305.js.map +1 -1
  324. package/dist/ui-components.es306.js +2 -6
  325. package/dist/ui-components.es306.js.map +1 -1
  326. package/dist/ui-components.es307.js +65 -6
  327. package/dist/ui-components.es307.js.map +1 -1
  328. package/dist/ui-components.es308.js +65 -6
  329. package/dist/ui-components.es308.js.map +1 -1
  330. package/dist/ui-components.es309.js +6 -243
  331. package/dist/ui-components.es309.js.map +1 -1
  332. package/dist/ui-components.es31.js +162 -6
  333. package/dist/ui-components.es31.js.map +1 -1
  334. package/dist/ui-components.es310.js +6 -8
  335. package/dist/ui-components.es310.js.map +1 -1
  336. package/dist/ui-components.es311.js +6 -49
  337. package/dist/ui-components.es311.js.map +1 -1
  338. package/dist/ui-components.es312.js +6 -3
  339. package/dist/ui-components.es312.js.map +1 -1
  340. package/dist/ui-components.es313.js +6 -6
  341. package/dist/ui-components.es313.js.map +1 -1
  342. package/dist/ui-components.es314.js +243 -4
  343. package/dist/ui-components.es314.js.map +1 -1
  344. package/dist/ui-components.es315.js +6 -5
  345. package/dist/ui-components.es315.js.map +1 -1
  346. package/dist/ui-components.es316.js +46 -166
  347. package/dist/ui-components.es316.js.map +1 -1
  348. package/dist/ui-components.es317.js +3 -8
  349. package/dist/ui-components.es317.js.map +1 -1
  350. package/dist/ui-components.es318.js +7 -2
  351. package/dist/ui-components.es318.js.map +1 -1
  352. package/dist/ui-components.es319.js +6 -65
  353. package/dist/ui-components.es319.js.map +1 -1
  354. package/dist/ui-components.es32.js +5 -5
  355. package/dist/ui-components.es32.js.map +1 -1
  356. package/dist/ui-components.es320.js +3 -65
  357. package/dist/ui-components.es320.js.map +1 -1
  358. package/dist/ui-components.es321.js +6 -6
  359. package/dist/ui-components.es321.js.map +1 -1
  360. package/dist/ui-components.es322.js +169 -6
  361. package/dist/ui-components.es322.js.map +1 -1
  362. package/dist/ui-components.es323.js +6 -14
  363. package/dist/ui-components.es323.js.map +1 -1
  364. package/dist/ui-components.es324.js +5 -333
  365. package/dist/ui-components.es324.js.map +1 -1
  366. package/dist/ui-components.es325.js +13 -321
  367. package/dist/ui-components.es325.js.map +1 -1
  368. package/dist/ui-components.es326.js +333 -6
  369. package/dist/ui-components.es326.js.map +1 -1
  370. package/dist/ui-components.es327.js +310 -26
  371. package/dist/ui-components.es327.js.map +1 -1
  372. package/dist/ui-components.es328.js +6 -19
  373. package/dist/ui-components.es328.js.map +1 -1
  374. package/dist/ui-components.es329.js +37 -63
  375. package/dist/ui-components.es329.js.map +1 -1
  376. package/dist/ui-components.es33.js +209 -6
  377. package/dist/ui-components.es33.js.map +1 -1
  378. package/dist/ui-components.es330.js +18 -47
  379. package/dist/ui-components.es330.js.map +1 -1
  380. package/dist/ui-components.es331.js +1 -1
  381. package/dist/ui-components.es333.js +1 -1
  382. package/dist/ui-components.es334.js +2 -2
  383. package/dist/ui-components.es335.js +62 -73
  384. package/dist/ui-components.es335.js.map +1 -1
  385. package/dist/ui-components.es336.js +19 -7
  386. package/dist/ui-components.es336.js.map +1 -1
  387. package/dist/ui-components.es337.js +50 -60
  388. package/dist/ui-components.es337.js.map +1 -1
  389. package/dist/ui-components.es338.js +6 -23
  390. package/dist/ui-components.es338.js.map +1 -1
  391. package/dist/ui-components.es339.js +48 -4
  392. package/dist/ui-components.es339.js.map +1 -1
  393. package/dist/ui-components.es34.js +237 -247
  394. package/dist/ui-components.es34.js.map +1 -1
  395. package/dist/ui-components.es340.js +75 -25
  396. package/dist/ui-components.es340.js.map +1 -1
  397. package/dist/ui-components.es341.js +7 -12
  398. package/dist/ui-components.es341.js.map +1 -1
  399. package/dist/ui-components.es342.js +4 -9
  400. package/dist/ui-components.es342.js.map +1 -1
  401. package/dist/ui-components.es343.js +23 -9
  402. package/dist/ui-components.es343.js.map +1 -1
  403. package/dist/ui-components.es344.js +60 -19
  404. package/dist/ui-components.es344.js.map +1 -1
  405. package/dist/ui-components.es345.js +26 -51
  406. package/dist/ui-components.es345.js.map +1 -1
  407. package/dist/ui-components.es346.js +12 -6
  408. package/dist/ui-components.es346.js.map +1 -1
  409. package/dist/ui-components.es347.js +10 -2
  410. package/dist/ui-components.es347.js.map +1 -1
  411. package/dist/ui-components.es348.js +10 -2
  412. package/dist/ui-components.es348.js.map +1 -1
  413. package/dist/ui-components.es349.js +2 -9
  414. package/dist/ui-components.es349.js.map +1 -1
  415. package/dist/ui-components.es35.js +38 -723
  416. package/dist/ui-components.es35.js.map +1 -1
  417. package/dist/ui-components.es350.js +2 -8
  418. package/dist/ui-components.es350.js.map +1 -1
  419. package/dist/ui-components.es351.js +7 -71
  420. package/dist/ui-components.es351.js.map +1 -1
  421. package/dist/ui-components.es352.js +9 -118
  422. package/dist/ui-components.es352.js.map +1 -1
  423. package/dist/ui-components.es353.js +125 -2
  424. package/dist/ui-components.es353.js.map +1 -1
  425. package/dist/ui-components.es354.js +6 -2
  426. package/dist/ui-components.es354.js.map +1 -1
  427. package/dist/ui-components.es355.js +7 -125
  428. package/dist/ui-components.es355.js.map +1 -1
  429. package/dist/ui-components.es356.js +7 -2
  430. package/dist/ui-components.es356.js.map +1 -1
  431. package/dist/ui-components.es357.js +71 -5
  432. package/dist/ui-components.es357.js.map +1 -1
  433. package/dist/ui-components.es358.js +118 -7
  434. package/dist/ui-components.es358.js.map +1 -1
  435. package/dist/ui-components.es359.js +2 -7
  436. package/dist/ui-components.es359.js.map +1 -1
  437. package/dist/ui-components.es36.js +6 -660
  438. package/dist/ui-components.es36.js.map +1 -1
  439. package/dist/ui-components.es37.js +6 -75
  440. package/dist/ui-components.es37.js.map +1 -1
  441. package/dist/ui-components.es371.js +2 -2
  442. package/dist/ui-components.es38.js +6 -112
  443. package/dist/ui-components.es38.js.map +1 -1
  444. package/dist/ui-components.es39.js +6 -240
  445. package/dist/ui-components.es39.js.map +1 -1
  446. package/dist/ui-components.es4.js +5 -5
  447. package/dist/ui-components.es40.js +6 -196
  448. package/dist/ui-components.es40.js.map +1 -1
  449. package/dist/ui-components.es41.js +6 -75
  450. package/dist/ui-components.es41.js.map +1 -1
  451. package/dist/ui-components.es42.js +6 -461
  452. package/dist/ui-components.es42.js.map +1 -1
  453. package/dist/ui-components.es43.js +725 -10
  454. package/dist/ui-components.es43.js.map +1 -1
  455. package/dist/ui-components.es44.js +560 -542
  456. package/dist/ui-components.es44.js.map +1 -1
  457. package/dist/ui-components.es45.js +53 -273
  458. package/dist/ui-components.es45.js.map +1 -1
  459. package/dist/ui-components.es46.js +73 -82
  460. package/dist/ui-components.es46.js.map +1 -1
  461. package/dist/ui-components.es47.js +197 -83
  462. package/dist/ui-components.es47.js.map +1 -1
  463. package/dist/ui-components.es48.js +167 -40
  464. package/dist/ui-components.es48.js.map +1 -1
  465. package/dist/ui-components.es49.js +53 -237
  466. package/dist/ui-components.es49.js.map +1 -1
  467. package/dist/ui-components.es5.js +7 -7
  468. package/dist/ui-components.es50.js +394 -196
  469. package/dist/ui-components.es50.js.map +1 -1
  470. package/dist/ui-components.es51.js +10 -31
  471. package/dist/ui-components.es51.js.map +1 -1
  472. package/dist/ui-components.es52.js +543 -250
  473. package/dist/ui-components.es52.js.map +1 -1
  474. package/dist/ui-components.es53.js +239 -99
  475. package/dist/ui-components.es53.js.map +1 -1
  476. package/dist/ui-components.es54.js +119 -141
  477. package/dist/ui-components.es54.js.map +1 -1
  478. package/dist/ui-components.es55.js +86 -986
  479. package/dist/ui-components.es55.js.map +1 -1
  480. package/dist/ui-components.es56.js +53 -108
  481. package/dist/ui-components.es56.js.map +1 -1
  482. package/dist/ui-components.es57.js +189 -316
  483. package/dist/ui-components.es57.js.map +1 -1
  484. package/dist/ui-components.es58.js +263 -20
  485. package/dist/ui-components.es58.js.map +1 -1
  486. package/dist/ui-components.es59.js +347 -128
  487. package/dist/ui-components.es59.js.map +1 -1
  488. package/dist/ui-components.es6.js +4 -4
  489. package/dist/ui-components.es60.js +155 -36
  490. package/dist/ui-components.es60.js.map +1 -1
  491. package/dist/ui-components.es61.js +142 -22
  492. package/dist/ui-components.es61.js.map +1 -1
  493. package/dist/ui-components.es62.js +70 -253
  494. package/dist/ui-components.es62.js.map +1 -1
  495. package/dist/ui-components.es63.js +29 -38
  496. package/dist/ui-components.es63.js.map +1 -1
  497. package/dist/ui-components.es64.js +27 -6
  498. package/dist/ui-components.es64.js.map +1 -1
  499. package/dist/ui-components.es65.js +42 -208
  500. package/dist/ui-components.es65.js.map +1 -1
  501. package/dist/ui-components.es66.js +19 -243
  502. package/dist/ui-components.es66.js.map +1 -1
  503. package/dist/ui-components.es69.js +1 -1
  504. package/dist/ui-components.es7.js +2 -2
  505. package/dist/ui-components.es70.js +1 -1
  506. package/dist/ui-components.es71.js +209 -8
  507. package/dist/ui-components.es71.js.map +1 -1
  508. package/dist/ui-components.es72.js +8 -2
  509. package/dist/ui-components.es72.js.map +1 -1
  510. package/dist/ui-components.es73.js +2 -12
  511. package/dist/ui-components.es73.js.map +1 -1
  512. package/dist/ui-components.es74.js +11 -18
  513. package/dist/ui-components.es74.js.map +1 -1
  514. package/dist/ui-components.es75.js +19 -2
  515. package/dist/ui-components.es75.js.map +1 -1
  516. package/dist/ui-components.es76.js +15 -2
  517. package/dist/ui-components.es76.js.map +1 -1
  518. package/dist/ui-components.es77.js +6 -2
  519. package/dist/ui-components.es77.js.map +1 -1
  520. package/dist/ui-components.es78.js +6 -2
  521. package/dist/ui-components.es78.js.map +1 -1
  522. package/dist/ui-components.es79.js +6 -15
  523. package/dist/ui-components.es79.js.map +1 -1
  524. package/dist/ui-components.es8.js +1 -1
  525. package/dist/ui-components.es80.js +6 -209
  526. package/dist/ui-components.es80.js.map +1 -1
  527. package/dist/ui-components.es81.js +297 -6
  528. package/dist/ui-components.es81.js.map +1 -1
  529. package/dist/ui-components.es82.js +331 -6
  530. package/dist/ui-components.es82.js.map +1 -1
  531. package/dist/ui-components.es83.js +284 -6
  532. package/dist/ui-components.es83.js.map +1 -1
  533. package/dist/ui-components.es84.js +261 -6
  534. package/dist/ui-components.es84.js.map +1 -1
  535. package/dist/ui-components.es85.js +112 -238
  536. package/dist/ui-components.es85.js.map +1 -1
  537. package/dist/ui-components.es86.js +11 -329
  538. package/dist/ui-components.es86.js.map +1 -1
  539. package/dist/ui-components.es87.js +2 -284
  540. package/dist/ui-components.es87.js.map +1 -1
  541. package/dist/ui-components.es88.js +2 -261
  542. package/dist/ui-components.es88.js.map +1 -1
  543. package/dist/ui-components.es89.js +2 -171
  544. package/dist/ui-components.es89.js.map +1 -1
  545. package/dist/ui-components.es9.js +104 -93
  546. package/dist/ui-components.es9.js.map +1 -1
  547. package/dist/ui-components.es90.js +2 -13
  548. package/dist/ui-components.es90.js.map +1 -1
  549. package/dist/ui-components.es92.js +12 -6
  550. package/dist/ui-components.es92.js.map +1 -1
  551. package/dist/ui-components.es93.js +7 -112
  552. package/dist/ui-components.es93.js.map +1 -1
  553. package/dist/ui-components.es94.js +449 -8
  554. package/dist/ui-components.es94.js.map +1 -1
  555. package/dist/ui-components.es95.js +3 -17
  556. package/dist/ui-components.es95.js.map +1 -1
  557. package/dist/ui-components.es96.js +3 -14
  558. package/dist/ui-components.es96.js.map +1 -1
  559. package/dist/ui-components.es97.js +3 -7
  560. package/dist/ui-components.es97.js.map +1 -1
  561. package/dist/ui-components.es98.js +11 -446
  562. package/dist/ui-components.es98.js.map +1 -1
  563. package/dist/ui-components.es99.js +43 -3
  564. package/dist/ui-components.es99.js.map +1 -1
  565. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ui-components.es52.js","sources":["../../../node_modules/.pnpm/@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2.14_react@19.2.4__@emotion+_5efc65b7a21bb615fd4ee8d4bf58b896/node_modules/@mui/material/esm/Modal/Modal.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport FocusTrap from \"../Unstable_TrapFocus/index.js\";\nimport Portal from \"../Portal/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Backdrop from \"../Backdrop/index.js\";\nimport useModal from \"./useModal.js\";\nimport { getModalUtilityClass } from \"./modalClasses.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n open,\n exited,\n classes\n } = ownerState;\n const slots = {\n root: ['root', !open && exited && 'hidden'],\n backdrop: ['backdrop']\n };\n return composeClasses(slots, getModalUtilityClass, classes);\n};\nconst ModalRoot = styled('div', {\n name: 'MuiModal',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, !ownerState.open && ownerState.exited && styles.hidden];\n }\n})(memoTheme(({\n theme\n}) => ({\n position: 'fixed',\n zIndex: (theme.vars || theme).zIndex.modal,\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.open && ownerState.exited,\n style: {\n visibility: 'hidden'\n }\n }]\n})));\nconst ModalBackdrop = styled(Backdrop, {\n name: 'MuiModal',\n slot: 'Backdrop'\n})({\n zIndex: -1\n});\n\n/**\n * Modal is a lower-level construct that is leveraged by the following components:\n *\n * - [Dialog](/material-ui/api/dialog/)\n * - [Drawer](/material-ui/api/drawer/)\n * - [Menu](/material-ui/api/menu/)\n * - [Popover](/material-ui/api/popover/)\n *\n * If you are creating a modal dialog, you probably want to use the [Dialog](/material-ui/api/dialog/) component\n * rather than directly using Modal.\n *\n * This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).\n */\nconst Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {\n const props = useDefaultProps({\n name: 'MuiModal',\n props: inProps\n });\n const {\n BackdropComponent = ModalBackdrop,\n BackdropProps,\n classes: classesProp,\n className,\n closeAfterTransition = false,\n children,\n container,\n component,\n components = {},\n componentsProps = {},\n disableAutoFocus = false,\n disableEnforceFocus = false,\n disableEscapeKeyDown = false,\n disablePortal = false,\n disableRestoreFocus = false,\n disableScrollLock = false,\n hideBackdrop = false,\n keepMounted = false,\n onClose,\n onTransitionEnter,\n onTransitionExited,\n open,\n slotProps = {},\n slots = {},\n // eslint-disable-next-line react/prop-types\n theme,\n ...other\n } = props;\n const propsWithDefaults = {\n ...props,\n closeAfterTransition,\n disableAutoFocus,\n disableEnforceFocus,\n disableEscapeKeyDown,\n disablePortal,\n disableRestoreFocus,\n disableScrollLock,\n hideBackdrop,\n keepMounted\n };\n const {\n getRootProps,\n getBackdropProps,\n getTransitionProps,\n portalRef,\n isTopModal,\n exited,\n hasTransition\n } = useModal({\n ...propsWithDefaults,\n rootRef: ref\n });\n const ownerState = {\n ...propsWithDefaults,\n exited\n };\n const classes = useUtilityClasses(ownerState);\n const childProps = {};\n if (children.props.tabIndex === undefined) {\n childProps.tabIndex = '-1';\n }\n\n // It's a Transition like component\n if (hasTransition) {\n const {\n onEnter,\n onExited\n } = getTransitionProps();\n childProps.onEnter = onEnter;\n childProps.onExited = onExited;\n }\n const externalForwardedProps = {\n slots: {\n root: components.Root,\n backdrop: components.Backdrop,\n ...slots\n },\n slotProps: {\n ...componentsProps,\n ...slotProps\n }\n };\n const [RootSlot, rootProps] = useSlot('root', {\n ref,\n elementType: ModalRoot,\n externalForwardedProps: {\n ...externalForwardedProps,\n ...other,\n component\n },\n getSlotProps: getRootProps,\n ownerState,\n className: clsx(className, classes?.root, !ownerState.open && ownerState.exited && classes?.hidden)\n });\n const [BackdropSlot, backdropProps] = useSlot('backdrop', {\n ref: BackdropProps?.ref,\n elementType: BackdropComponent,\n externalForwardedProps,\n shouldForwardComponentProp: true,\n additionalProps: BackdropProps,\n getSlotProps: otherHandlers => {\n return getBackdropProps({\n ...otherHandlers,\n onClick: event => {\n if (otherHandlers?.onClick) {\n otherHandlers.onClick(event);\n }\n }\n });\n },\n className: clsx(BackdropProps?.className, classes?.backdrop),\n ownerState\n });\n if (!keepMounted && !open && (!hasTransition || exited)) {\n return null;\n }\n return /*#__PURE__*/_jsx(Portal, {\n ref: portalRef,\n container: container,\n disablePortal: disablePortal,\n children: /*#__PURE__*/_jsxs(RootSlot, {\n ...rootProps,\n children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/_jsx(BackdropSlot, {\n ...backdropProps\n }) : null, /*#__PURE__*/_jsx(FocusTrap, {\n disableEnforceFocus: disableEnforceFocus,\n disableAutoFocus: disableAutoFocus,\n disableRestoreFocus: disableRestoreFocus,\n isEnabled: isTopModal,\n open: open,\n children: /*#__PURE__*/React.cloneElement(children, childProps)\n })]\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Modal.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * A backdrop component. This prop enables custom backdrop rendering.\n * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.\n * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.\n * @default styled(Backdrop, {\n * name: 'MuiModal',\n * slot: 'Backdrop',\n * })({\n * zIndex: -1,\n * })\n */\n BackdropComponent: PropTypes.elementType,\n /**\n * Props applied to the [`Backdrop`](https://mui.com/material-ui/api/backdrop/) element.\n * @deprecated Use `slotProps.backdrop` instead.\n */\n BackdropProps: PropTypes.object,\n /**\n * A single child content element.\n */\n children: elementAcceptingRef.isRequired,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * When set to true the Modal waits until a nested Transition is completed before closing.\n * @default false\n */\n closeAfterTransition: PropTypes.bool,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside.\n *\n * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Backdrop: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * An HTML element or function that returns one.\n * The `container` will have the portal children appended to it.\n *\n * You can also provide a callback, which is called in a React layout effect.\n * This lets you set the container from a ref, and also makes server-side rendering possible.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * If `true`, the modal will not automatically shift focus to itself when it opens, and\n * replace it to the last focused element when it closes.\n * This also works correctly with any modal children that have the `disableAutoFocus` prop.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n * @default false\n */\n disableAutoFocus: PropTypes.bool,\n /**\n * If `true`, the modal will not prevent focus from leaving the modal while open.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n * @default false\n */\n disableEnforceFocus: PropTypes.bool,\n /**\n * If `true`, hitting escape will not fire the `onClose` callback.\n * @default false\n */\n disableEscapeKeyDown: PropTypes.bool,\n /**\n * The `children` will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool,\n /**\n * If `true`, the modal will not restore focus to previously focused element once\n * modal is hidden or unmounted.\n * @default false\n */\n disableRestoreFocus: PropTypes.bool,\n /**\n * Disable the scroll lock behavior.\n * @default false\n */\n disableScrollLock: PropTypes.bool,\n /**\n * If `true`, the backdrop is not rendered.\n * @default false\n */\n hideBackdrop: PropTypes.bool,\n /**\n * Always keep the children in the DOM.\n * This prop can be useful in SEO situation or\n * when you want to maximize the responsiveness of the Modal.\n * @default false\n */\n keepMounted: PropTypes.bool,\n /**\n * Callback fired when the component requests to be closed.\n * The `reason` parameter can optionally be used to control the response to `onClose`.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`.\n */\n onClose: PropTypes.func,\n /**\n * A function called when a transition enters.\n */\n onTransitionEnter: PropTypes.func,\n /**\n * A function called when a transition has exited.\n */\n onTransitionExited: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool.isRequired,\n /**\n * The props used for each slot inside the Modal.\n * @default {}\n */\n slotProps: PropTypes.shape({\n backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the Modal.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n backdrop: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Modal;"],"names":["useUtilityClasses","ownerState","open","exited","classes","composeClasses","getModalUtilityClass","ModalRoot","styled","props","styles","memoTheme","theme","ModalBackdrop","Backdrop","Modal","React","inProps","ref","useDefaultProps","BackdropComponent","BackdropProps","classesProp","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onTransitionEnter","onTransitionExited","slotProps","slots","other","propsWithDefaults","getRootProps","getBackdropProps","getTransitionProps","portalRef","isTopModal","hasTransition","useModal","childProps","onEnter","onExited","externalForwardedProps","RootSlot","rootProps","useSlot","clsx","BackdropSlot","backdropProps","otherHandlers","event","_jsx","Portal","_jsxs","FocusTrap","PropTypes","elementAcceptingRef","HTMLElementType"],"mappings":";;;;;;;;;;;;;;;;AAkBA,MAAMA,KAAoB,CAAAC,MAAc;AACtC,QAAM;AAAA,IACJ,MAAAC;AAAA,IACA,QAAAC;AAAA,IACA,SAAAC;AAAA,EACJ,IAAMH;AAKJ,SAAOI,GAJO;AAAA,IACZ,MAAM,CAAC,QAAQ,CAACH,KAAQC,KAAU,QAAQ;AAAA,IAC1C,UAAU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A;AAAA;AAAA;AAAA;AAAA,EAQ5B,qBAAqBA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAK/B,sBAAsBA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKhC,eAAeA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMzB,qBAAqBA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAK/B,mBAAmBA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAK7B,cAAcA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOxB,aAAaA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQvB,SAASA,EAAU;AAAA;AAAA;AAAA;AAAA,EAInB,mBAAmBA,EAAU;AAAA;AAAA;AAAA;AAAA,EAI7B,oBAAoBA,EAAU;AAAA;AAAA;AAAA;AAAA,EAI9B,MAAMA,EAAU,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA,EAKrB,WAAWA,EAAU,MAAM;AAAA,IACzB,UAAUA,EAAU,UAAU,CAACA,EAAU,MAAMA,EAAU,MAAM,CAAC;AAAA,IAChE,MAAMA,EAAU,UAAU,CAACA,EAAU,MAAMA,EAAU,MAAM,CAAC;AAAA,EAChE,CAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMD,OAAOA,EAAU,MAAM;AAAA,IACrB,UAAUA,EAAU;AAAA,IACpB,MAAMA,EAAU;AAAA,EACpB,CAAG;AAAA;AAAA;AAAA;AAAA,EAID,IAAIA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,UAAU,CAACA,EAAU,MAAMA,EAAU,QAAQA,EAAU,IAAI,CAAC,CAAC,GAAGA,EAAU,MAAMA,EAAU,MAAM,CAAC;AACxJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ui-components.es52.js","sources":["../../../node_modules/.pnpm/@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2.14_react@19.2.4__@emotion+_5efc65b7a21bb615fd4ee8d4bf58b896/node_modules/@mui/material/esm/InputBase/InputBase.js"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nvar _InputGlobalStyles;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport isHostComponent from '@mui/utils/isHostComponent';\nimport TextareaAutosize from \"../TextareaAutosize/index.js\";\nimport formControlState from \"../FormControl/formControlState.js\";\nimport FormControlContext from \"../FormControl/FormControlContext.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport { styled, globalCss } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.js\";\nimport { isFilled } from \"./utils.js\";\nimport inputBaseClasses, { getInputBaseUtilityClass } from \"./inputBaseClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const rootOverridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.formControl && styles.formControl, ownerState.startAdornment && styles.adornedStart, ownerState.endAdornment && styles.adornedEnd, ownerState.error && styles.error, ownerState.size === 'small' && styles.sizeSmall, ownerState.multiline && styles.multiline, ownerState.color && styles[`color${capitalize(ownerState.color)}`], ownerState.fullWidth && styles.fullWidth, ownerState.hiddenLabel && styles.hiddenLabel];\n};\nexport const inputOverridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n disabled,\n error,\n endAdornment,\n focused,\n formControl,\n fullWidth,\n hiddenLabel,\n multiline,\n readOnly,\n size,\n startAdornment,\n type\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, disabled && 'disabled', error && 'error', fullWidth && 'fullWidth', focused && 'focused', formControl && 'formControl', size && size !== 'medium' && `size${capitalize(size)}`, multiline && 'multiline', startAdornment && 'adornedStart', endAdornment && 'adornedEnd', hiddenLabel && 'hiddenLabel', readOnly && 'readOnly'],\n input: ['input', disabled && 'disabled', type === 'search' && 'inputTypeSearch', multiline && 'inputMultiline', size === 'small' && 'inputSizeSmall', hiddenLabel && 'inputHiddenLabel', startAdornment && 'inputAdornedStart', endAdornment && 'inputAdornedEnd', readOnly && 'readOnly']\n };\n return composeClasses(slots, getInputBaseUtilityClass, classes);\n};\nexport const InputBaseRoot = styled('div', {\n name: 'MuiInputBase',\n slot: 'Root',\n overridesResolver: rootOverridesResolver\n})(memoTheme(({\n theme\n}) => ({\n ...theme.typography.body1,\n color: (theme.vars || theme).palette.text.primary,\n lineHeight: '1.4375em',\n // 23px\n boxSizing: 'border-box',\n // Prevent padding issue with fullWidth.\n position: 'relative',\n cursor: 'text',\n display: 'inline-flex',\n alignItems: 'center',\n [`&.${inputBaseClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled,\n cursor: 'default'\n },\n variants: [{\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n padding: '4px 0 5px'\n }\n }, {\n props: ({\n ownerState,\n size\n }) => ownerState.multiline && size === 'small',\n style: {\n paddingTop: 1\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.fullWidth,\n style: {\n width: '100%'\n }\n }]\n})));\nexport const InputBaseInput = styled('input', {\n name: 'MuiInputBase',\n slot: 'Input',\n overridesResolver: inputOverridesResolver\n})(memoTheme(({\n theme\n}) => {\n const light = theme.palette.mode === 'light';\n const placeholder = {\n color: 'currentColor',\n ...(theme.vars ? {\n opacity: theme.vars.opacity.inputPlaceholder\n } : {\n opacity: light ? 0.42 : 0.5\n }),\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shorter\n })\n };\n const placeholderHidden = {\n opacity: '0 !important'\n };\n const placeholderVisible = theme.vars ? {\n opacity: theme.vars.opacity.inputPlaceholder\n } : {\n opacity: light ? 0.42 : 0.5\n };\n return {\n font: 'inherit',\n letterSpacing: 'inherit',\n color: 'currentColor',\n padding: '4px 0 5px',\n border: 0,\n boxSizing: 'content-box',\n background: 'none',\n height: '1.4375em',\n // Reset 23pxthe native input line-height\n margin: 0,\n // Reset for Safari\n WebkitTapHighlightColor: 'transparent',\n display: 'block',\n // Make the flex item shrink with Firefox\n minWidth: 0,\n width: '100%',\n '&::-webkit-input-placeholder': placeholder,\n '&::-moz-placeholder': placeholder,\n // Firefox 19+\n '&::-ms-input-placeholder': placeholder,\n // Edge\n '&:focus': {\n outline: 0\n },\n // Reset Firefox invalid required input style\n '&:invalid': {\n boxShadow: 'none'\n },\n '&::-webkit-search-decoration': {\n // Remove the padding when type=search.\n WebkitAppearance: 'none'\n },\n // Show and hide the placeholder logic\n [`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {\n '&::-webkit-input-placeholder': placeholderHidden,\n '&::-moz-placeholder': placeholderHidden,\n // Firefox 19+\n '&::-ms-input-placeholder': placeholderHidden,\n // Edge\n '&:focus::-webkit-input-placeholder': placeholderVisible,\n '&:focus::-moz-placeholder': placeholderVisible,\n // Firefox 19+\n '&:focus::-ms-input-placeholder': placeholderVisible // Edge\n },\n [`&.${inputBaseClasses.disabled}`]: {\n opacity: 1,\n // Reset iOS opacity\n WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug\n },\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disableInjectingGlobalStyles,\n style: {\n animationName: 'mui-auto-fill-cancel',\n animationDuration: '10ms',\n '&:-webkit-autofill': {\n animationDuration: '5000s',\n animationName: 'mui-auto-fill'\n }\n }\n }, {\n props: {\n size: 'small'\n },\n style: {\n paddingTop: 1\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n height: 'auto',\n resize: 'none',\n padding: 0,\n paddingTop: 0\n }\n }, {\n props: {\n type: 'search'\n },\n style: {\n MozAppearance: 'textfield' // Improve type search style.\n }\n }]\n };\n}));\nconst InputGlobalStyles = globalCss({\n '@keyframes mui-auto-fill': {\n from: {\n display: 'block'\n }\n },\n '@keyframes mui-auto-fill-cancel': {\n from: {\n display: 'block'\n }\n }\n});\n\n/**\n * `InputBase` contains as few styles as possible.\n * It aims to be a simple building block for creating an input.\n * It contains a load of style reset and some state logic.\n */\nconst InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiInputBase'\n });\n const {\n 'aria-describedby': ariaDescribedby,\n autoComplete,\n autoFocus,\n className,\n color,\n components = {},\n componentsProps = {},\n defaultValue,\n disabled,\n disableInjectingGlobalStyles,\n endAdornment,\n error,\n fullWidth = false,\n id,\n inputComponent = 'input',\n inputProps: inputPropsProp = {},\n inputRef: inputRefProp,\n margin,\n maxRows,\n minRows,\n multiline = false,\n name,\n onBlur,\n onChange,\n onClick,\n onFocus,\n onKeyDown,\n onKeyUp,\n placeholder,\n readOnly,\n renderSuffix,\n rows,\n size,\n slotProps = {},\n slots = {},\n startAdornment,\n type = 'text',\n value: valueProp,\n ...other\n } = props;\n const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef();\n const handleInputRefWarning = React.useCallback(instance => {\n if (process.env.NODE_ENV !== 'production') {\n if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {\n console.error(['MUI: You have provided a `inputComponent` to the input component', 'that does not correctly handle the `ref` prop.', 'Make sure the `ref` prop is called with a HTMLInputElement.'].join('\\n'));\n }\n }\n }, []);\n const handleInputRef = useForkRef(inputRef, inputRefProp, inputPropsProp.ref, handleInputRefWarning);\n const [focused, setFocused] = React.useState(false);\n const muiFormControl = useFormControl();\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (muiFormControl) {\n return muiFormControl.registerEffect();\n }\n return undefined;\n }, [muiFormControl]);\n }\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['color', 'disabled', 'error', 'hiddenLabel', 'size', 'required', 'filled']\n });\n fcs.focused = muiFormControl ? muiFormControl.focused : focused;\n\n // The blur won't fire when the disabled state is set on a focused input.\n // We need to book keep the focused state manually.\n React.useEffect(() => {\n if (!muiFormControl && disabled && focused) {\n setFocused(false);\n if (onBlur) {\n onBlur();\n }\n }\n }, [muiFormControl, disabled, focused, onBlur]);\n const onFilled = muiFormControl && muiFormControl.onFilled;\n const onEmpty = muiFormControl && muiFormControl.onEmpty;\n const checkDirty = React.useCallback(obj => {\n if (isFilled(obj)) {\n if (onFilled) {\n onFilled();\n }\n } else if (onEmpty) {\n onEmpty();\n }\n }, [onFilled, onEmpty]);\n useEnhancedEffect(() => {\n if (isControlled) {\n checkDirty({\n value\n });\n }\n }, [value, checkDirty, isControlled]);\n const handleFocus = event => {\n if (onFocus) {\n onFocus(event);\n }\n if (inputPropsProp.onFocus) {\n inputPropsProp.onFocus(event);\n }\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n } else {\n setFocused(true);\n }\n };\n const handleBlur = event => {\n if (onBlur) {\n onBlur(event);\n }\n if (inputPropsProp.onBlur) {\n inputPropsProp.onBlur(event);\n }\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n } else {\n setFocused(false);\n }\n };\n const handleChange = (event, ...args) => {\n if (!isControlled) {\n const element = event.target || inputRef.current;\n if (element == null) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: Expected valid input target. ' + 'Did you use a custom `inputComponent` and forget to forward refs? ' + 'See https://mui.com/r/input-component-ref-interface for more info.' : _formatErrorMessage(1));\n }\n checkDirty({\n value: element.value\n });\n }\n if (inputPropsProp.onChange) {\n inputPropsProp.onChange(event, ...args);\n }\n\n // Perform in the willUpdate\n if (onChange) {\n onChange(event, ...args);\n }\n };\n\n // Check the input state on mount, in case it was filled by the user\n // or auto filled by the browser before the hydration (for SSR).\n React.useEffect(() => {\n checkDirty(inputRef.current);\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n const handleClick = event => {\n if (inputRef.current && event.currentTarget === event.target) {\n inputRef.current.focus();\n }\n if (onClick) {\n onClick(event);\n }\n };\n let InputComponent = inputComponent;\n let inputProps = inputPropsProp;\n if (multiline && InputComponent === 'input') {\n if (rows) {\n if (process.env.NODE_ENV !== 'production') {\n if (minRows || maxRows) {\n console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');\n }\n }\n inputProps = {\n type: undefined,\n minRows: rows,\n maxRows: rows,\n ...inputProps\n };\n } else {\n inputProps = {\n type: undefined,\n maxRows,\n minRows,\n ...inputProps\n };\n }\n InputComponent = TextareaAutosize;\n }\n const handleAutoFill = event => {\n // Provide a fake value as Chrome might not let you access it for security reasons.\n checkDirty(event.animationName === 'mui-auto-fill-cancel' ? inputRef.current : {\n value: 'x'\n });\n };\n React.useEffect(() => {\n if (muiFormControl) {\n muiFormControl.setAdornedStart(Boolean(startAdornment));\n }\n }, [muiFormControl, startAdornment]);\n const ownerState = {\n ...props,\n color: fcs.color || 'primary',\n disabled: fcs.disabled,\n endAdornment,\n error: fcs.error,\n focused: fcs.focused,\n formControl: muiFormControl,\n fullWidth,\n hiddenLabel: fcs.hiddenLabel,\n multiline,\n size: fcs.size,\n startAdornment,\n type\n };\n const classes = useUtilityClasses(ownerState);\n const Root = slots.root || components.Root || InputBaseRoot;\n const rootProps = slotProps.root || componentsProps.root || {};\n const Input = slots.input || components.Input || InputBaseInput;\n inputProps = {\n ...inputProps,\n ...(slotProps.input ?? componentsProps.input)\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [!disableInjectingGlobalStyles && typeof InputGlobalStyles === 'function' && (// For Emotion/Styled-components, InputGlobalStyles will be a function\n // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.\n _InputGlobalStyles || (_InputGlobalStyles = /*#__PURE__*/_jsx(InputGlobalStyles, {}))), /*#__PURE__*/_jsxs(Root, {\n ...rootProps,\n ref: ref,\n onClick: handleClick,\n ...other,\n ...(!isHostComponent(Root) && {\n ownerState: {\n ...ownerState,\n ...rootProps.ownerState\n }\n }),\n className: clsx(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),\n children: [startAdornment, /*#__PURE__*/_jsx(FormControlContext.Provider, {\n value: null,\n children: /*#__PURE__*/_jsx(Input, {\n \"aria-invalid\": fcs.error,\n \"aria-describedby\": ariaDescribedby,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n disabled: fcs.disabled,\n id: id,\n onAnimationStart: handleAutoFill,\n name: name,\n placeholder: placeholder,\n readOnly: readOnly,\n required: fcs.required,\n rows: rows,\n value: value,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp,\n type: type,\n ...inputProps,\n ...(!isHostComponent(Input) && {\n as: InputComponent,\n ownerState: {\n ...ownerState,\n ...inputProps.ownerState\n }\n }),\n ref: handleInputRef,\n className: clsx(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),\n onBlur: handleBlur,\n onChange: handleChange,\n onFocus: handleFocus\n })\n }), endAdornment, renderSuffix ? renderSuffix({\n ...fcs,\n startAdornment\n }) : null]\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? InputBase.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.\n * This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.\n * @default false\n */\n disableInjectingGlobalStyles: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: elementTypeAcceptingRef,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the `input` is blurred.\n *\n * Notice that the first argument (event) might be undefined.\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * Callback fired when the `input` doesn't satisfy its constraints.\n */\n onInvalid: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * @ignore\n */\n renderSuffix: PropTypes.func,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The size of the component.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nexport default InputBase;"],"names":["_InputGlobalStyles","rootOverridesResolver","props","styles","ownerState","capitalize","inputOverridesResolver","useUtilityClasses","classes","color","disabled","error","endAdornment","focused","formControl","fullWidth","hiddenLabel","multiline","readOnly","size","startAdornment","type","slots","composeClasses","getInputBaseUtilityClass","InputBaseRoot","styled","memoTheme","theme","inputBaseClasses","InputBaseInput","light","placeholder","placeholderHidden","placeholderVisible","InputGlobalStyles","globalCss","InputBase","React","inProps","ref","useDefaultProps","ariaDescribedby","autoComplete","autoFocus","className","components","componentsProps","defaultValue","disableInjectingGlobalStyles","id","inputComponent","inputPropsProp","inputRefProp","margin","maxRows","minRows","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","renderSuffix","rows","slotProps","valueProp","other","value","isControlled","inputRef","handleInputRefWarning","instance","handleInputRef","useForkRef","setFocused","muiFormControl","useFormControl","fcs","formControlState","onFilled","onEmpty","checkDirty","obj","isFilled","useEnhancedEffect","handleFocus","event","handleBlur","handleChange","args","element","_formatErrorMessage","handleClick","InputComponent","inputProps","TextareaAutosize","handleAutoFill","Root","rootProps","Input","_jsxs","_jsx","isHostComponent","clsx","FormControlContext","PropTypes","elementTypeAcceptingRef","refType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAGA,IAAIA;AAqBQ,MAACC,KAAwB,CAACC,GAAOC,MAAW;AACtD,QAAM;AAAA,IACJ,YAAAC;AAAA,EACJ,IAAMF;AACJ,SAAO,CAACC,EAAO,MAAMC,EAAW,eAAeD,EAAO,aAAaC,EAAW,kBAAkBD,EAAO,cAAcC,EAAW,gBAAgBD,EAAO,YAAYC,EAAW,SAASD,EAAO,OAAOC,EAAW,SAAS,WAAWD,EAAO,WAAWC,EAAW,aAAaD,EAAO,WAAWC,EAAW,SAASD,EAAO,QAAQE,EAAWD,EAAW,KAAK,CAAC,EAAE,GAAGA,EAAW,aAAaD,EAAO,WAAWC,EAAW,eAAeD,EAAO,WAAW;AAC5b,GACaG,KAAyB,CAACJ,GAAOC,MAA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EAAU;AAAA;AAAA;AAAA;AAAA,EAIrB,WAAWA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIrB,SAASA,EAAU;AAAA;AAAA;AAAA;AAAA,EAInB,aAAaA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKvB,UAAUA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIpB,cAAcA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKxB,UAAUA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIpB,MAAMA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA,EAI9D,MAAMA,EAAgD,UAAU,CAACA,EAAU,MAAM,CAAC,UAAU,OAAO,CAAC,GAAGA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASxH,WAAWA,EAAU,MAAM;AAAA,IACzB,OAAOA,EAAU;AAAA,IACjB,MAAMA,EAAU;AAAA,EACpB,CAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQD,OAAOA,EAAU,MAAM;AAAA,IACrB,OAAOA,EAAU;AAAA,IACjB,MAAMA,EAAU;AAAA,EACpB,CAAG;AAAA;AAAA;AAAA;AAAA,EAID,gBAAgBA,EAAU;AAAA;AAAA;AAAA;AAAA,EAI1B,IAAIA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,UAAU,CAACA,EAAU,MAAMA,EAAU,QAAQA,EAAU,IAAI,CAAC,CAAC,GAAGA,EAAU,MAAMA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtJ,MAAMA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIhB,OAAOA,EAAU;AACnB;","x_google_ignoreList":[0]}
@@ -1,113 +1,228 @@
1
- import * as y from "react";
1
+ import * as f from "react";
2
2
  import e from "./ui-components.es91.js";
3
- import { clsx as h } from "./ui-components.es96.js";
4
- import P from "./ui-components.es92.js";
5
- import { j as b } from "./ui-components.es16.js";
6
- import w from "./ui-components.es43.js";
7
- import g from "./ui-components.es99.js";
8
- import c from "./ui-components.es136.js";
9
- import { getPaperUtilityClass as T } from "./ui-components.es137.js";
10
- import { useDefaultProps as x } from "./ui-components.es94.js";
11
- import $ from "./ui-components.es108.js";
12
- import j from "./ui-components.es109.js";
13
- import O from "./ui-components.es138.js";
14
- import { alpha as f } from "./ui-components.es54.js";
15
- const R = (o) => {
3
+ import { clsx as T } from "./ui-components.es92.js";
4
+ import B from "./ui-components.es95.js";
5
+ import R from "./ui-components.es98.js";
6
+ import x, { getIconButtonUtilityClass as C } from "./ui-components.es164.js";
7
+ import { j as l } from "./ui-components.es16.js";
8
+ import { useDefaultProps as w } from "./ui-components.es101.js";
9
+ import P from "./ui-components.es121.js";
10
+ import a from "./ui-components.es104.js";
11
+ import S from "./ui-components.es105.js";
12
+ import z from "./ui-components.es51.js";
13
+ import $ from "./ui-components.es160.js";
14
+ import k from "./ui-components.es161.js";
15
+ import N from "./ui-components.es106.js";
16
+ const E = (o) => {
16
17
  const {
17
- square: r,
18
- elevation: a,
19
- variant: n,
20
- classes: t
21
- } = o, i = {
22
- root: ["root", n, !r && "rounded", n === "elevation" && `elevation${a}`]
18
+ classes: t,
19
+ disabled: r,
20
+ color: n,
21
+ edge: s,
22
+ size: p,
23
+ loading: d
24
+ } = o, c = {
25
+ root: ["root", d && "loading", r && "disabled", n !== "default" && `color${a(n)}`, s && `edge${a(s)}`, `size${a(p)}`],
26
+ loadingIndicator: ["loadingIndicator"],
27
+ loadingWrapper: ["loadingWrapper"]
23
28
  };
24
- return $(i, T, t);
25
- }, E = w("div", {
26
- name: "MuiPaper",
29
+ return S(c, C, t);
30
+ }, L = z($, {
31
+ name: "MuiIconButton",
27
32
  slot: "Root",
28
- overridesResolver: (o, r) => {
33
+ overridesResolver: (o, t) => {
29
34
  const {
30
- ownerState: a
35
+ ownerState: r
31
36
  } = o;
32
- return [r.root, r[a.variant], !a.square && r.rounded, a.variant === "elevation" && r[`elevation${a.elevation}`]];
37
+ return [t.root, r.loading && t.loading, r.color !== "default" && t[`color${a(r.color)}`], r.edge && t[`edge${a(r.edge)}`], t[`size${a(r.size)}`]];
33
38
  }
34
- })(g(({
39
+ })(B(({
35
40
  theme: o
36
41
  }) => ({
37
- backgroundColor: (o.vars || o).palette.background.paper,
38
- color: (o.vars || o).palette.text.primary,
39
- transition: o.transitions.create("box-shadow"),
42
+ textAlign: "center",
43
+ flex: "0 0 auto",
44
+ fontSize: o.typography.pxToRem(24),
45
+ padding: 8,
46
+ borderRadius: "50%",
47
+ color: (o.vars || o).palette.action.active,
48
+ transition: o.transitions.create("background-color", {
49
+ duration: o.transitions.duration.shortest
50
+ }),
40
51
  variants: [{
41
- props: ({
42
- ownerState: r
43
- }) => !r.square,
52
+ props: (t) => !t.disableRipple,
53
+ style: {
54
+ "--IconButton-hoverBg": o.alpha((o.vars || o).palette.action.active, (o.vars || o).palette.action.hoverOpacity),
55
+ "&:hover": {
56
+ backgroundColor: "var(--IconButton-hoverBg)",
57
+ // Reset on touch devices, it doesn't add specificity
58
+ "@media (hover: none)": {
59
+ backgroundColor: "transparent"
60
+ }
61
+ }
62
+ }
63
+ }, {
64
+ props: {
65
+ edge: "start"
66
+ },
44
67
  style: {
45
- borderRadius: o.shape.borderRadius
68
+ marginLeft: -12
46
69
  }
47
70
  }, {
48
71
  props: {
49
- variant: "outlined"
72
+ edge: "start",
73
+ size: "small"
50
74
  },
51
75
  style: {
52
- border: `1px solid ${(o.vars || o).palette.divider}`
76
+ marginLeft: -3
53
77
  }
54
78
  }, {
55
79
  props: {
56
- variant: "elevation"
80
+ edge: "end"
57
81
  },
58
82
  style: {
59
- boxShadow: "var(--Paper-shadow)",
60
- backgroundImage: "var(--Paper-overlay)"
83
+ marginRight: -12
84
+ }
85
+ }, {
86
+ props: {
87
+ edge: "end",
88
+ size: "small"
89
+ },
90
+ style: {
91
+ marginRight: -3
61
92
  }
62
93
  }]
63
- }))), N = /* @__PURE__ */ y.forwardRef(function(r, a) {
64
- const n = x({
65
- props: r,
66
- name: "MuiPaper"
67
- }), t = P(), {
68
- className: i,
69
- component: p = "div",
70
- elevation: s = 1,
71
- square: m = !1,
72
- variant: l = "elevation",
73
- ...v
74
- } = n, d = {
75
- ...n,
76
- component: p,
77
- elevation: s,
78
- square: m,
79
- variant: l
80
- }, u = R(d);
81
- return process.env.NODE_ENV !== "production" && t.shadows[s] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
82
- `)), /* @__PURE__ */ b.jsx(E, {
83
- as: p,
84
- ownerState: d,
85
- className: h(u.root, i),
86
- ref: a,
87
- ...v,
94
+ })), B(({
95
+ theme: o
96
+ }) => ({
97
+ variants: [{
98
+ props: {
99
+ color: "inherit"
100
+ },
88
101
  style: {
89
- ...l === "elevation" && {
90
- "--Paper-shadow": (t.vars || t).shadows[s],
91
- ...t.vars && {
92
- "--Paper-overlay": t.vars.overlays?.[s]
93
- },
94
- ...!t.vars && t.palette.mode === "dark" && {
95
- "--Paper-overlay": `linear-gradient(${f("#fff", c(s))}, ${f("#fff", c(s))})`
96
- }
97
- },
98
- ...v.style
102
+ color: "inherit"
103
+ }
104
+ }, ...Object.entries(o.palette).filter(R()).map(([t]) => ({
105
+ props: {
106
+ color: t
107
+ },
108
+ style: {
109
+ color: (o.vars || o).palette[t].main
110
+ }
111
+ })), ...Object.entries(o.palette).filter(R()).map(([t]) => ({
112
+ props: {
113
+ color: t
114
+ },
115
+ style: {
116
+ "--IconButton-hoverBg": o.alpha((o.vars || o).palette[t].main, (o.vars || o).palette.action.hoverOpacity)
117
+ }
118
+ })), {
119
+ props: {
120
+ size: "small"
121
+ },
122
+ style: {
123
+ padding: 5,
124
+ fontSize: o.typography.pxToRem(18)
99
125
  }
126
+ }, {
127
+ props: {
128
+ size: "large"
129
+ },
130
+ style: {
131
+ padding: 12,
132
+ fontSize: o.typography.pxToRem(28)
133
+ }
134
+ }],
135
+ [`&.${x.disabled}`]: {
136
+ backgroundColor: "transparent",
137
+ color: (o.vars || o).palette.action.disabled
138
+ },
139
+ [`&.${x.loading}`]: {
140
+ color: "transparent"
141
+ }
142
+ }))), M = z("span", {
143
+ name: "MuiIconButton",
144
+ slot: "LoadingIndicator"
145
+ })(({
146
+ theme: o
147
+ }) => ({
148
+ display: "none",
149
+ position: "absolute",
150
+ visibility: "visible",
151
+ top: "50%",
152
+ left: "50%",
153
+ transform: "translate(-50%, -50%)",
154
+ color: (o.vars || o).palette.action.disabled,
155
+ variants: [{
156
+ props: {
157
+ loading: !0
158
+ },
159
+ style: {
160
+ display: "flex"
161
+ }
162
+ }]
163
+ })), F = /* @__PURE__ */ f.forwardRef(function(t, r) {
164
+ const n = w({
165
+ props: t,
166
+ name: "MuiIconButton"
167
+ }), {
168
+ edge: s = !1,
169
+ children: p,
170
+ className: d,
171
+ color: c = "default",
172
+ disabled: m = !1,
173
+ disableFocusRipple: y = !1,
174
+ size: O = "medium",
175
+ id: b,
176
+ loading: i = null,
177
+ loadingIndicator: h,
178
+ ...j
179
+ } = n, v = P(b), I = h ?? /* @__PURE__ */ l.jsx(k, {
180
+ "aria-labelledby": v,
181
+ color: "inherit",
182
+ size: 16
183
+ }), g = {
184
+ ...n,
185
+ edge: s,
186
+ color: c,
187
+ disabled: m,
188
+ disableFocusRipple: y,
189
+ loading: i,
190
+ loadingIndicator: I,
191
+ size: O
192
+ }, u = E(g);
193
+ return /* @__PURE__ */ l.jsxs(L, {
194
+ id: i ? v : b,
195
+ className: T(u.root, d),
196
+ centerRipple: !0,
197
+ focusRipple: !y,
198
+ disabled: m || i,
199
+ ref: r,
200
+ ...j,
201
+ ownerState: g,
202
+ children: [typeof i == "boolean" && // use plain HTML span to minimize the runtime overhead
203
+ /* @__PURE__ */ l.jsx("span", {
204
+ className: u.loadingWrapper,
205
+ style: {
206
+ display: "contents"
207
+ },
208
+ children: /* @__PURE__ */ l.jsx(M, {
209
+ className: u.loadingIndicator,
210
+ ownerState: g,
211
+ children: i && I
212
+ })
213
+ }), p]
100
214
  });
101
215
  });
102
- process.env.NODE_ENV !== "production" && (N.propTypes = {
216
+ process.env.NODE_ENV !== "production" && (F.propTypes = {
103
217
  // ┌────────────────────────────── Warning ──────────────────────────────┐
104
218
  // │ These PropTypes are generated from the TypeScript type definitions. │
105
219
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
106
220
  // └─────────────────────────────────────────────────────────────────────┘
107
221
  /**
108
- * The content of the component.
222
+ * The icon to display.
109
223
  */
110
- children: e.node,
224
+ children: N(e.node, (o) => f.Children.toArray(o.children).some((r) => /* @__PURE__ */ f.isValidElement(r) && r.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
225
+ `)) : null),
111
226
  /**
112
227
  * Override or extend the styles applied to the component.
113
228
  */
@@ -117,42 +232,67 @@ process.env.NODE_ENV !== "production" && (N.propTypes = {
117
232
  */
118
233
  className: e.string,
119
234
  /**
120
- * The component used for the root node.
121
- * Either a string to use a HTML element or a component.
235
+ * The color of the component.
236
+ * It supports both default and custom theme colors, which can be added as shown in the
237
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
238
+ * @default 'default'
122
239
  */
123
- component: e.elementType,
240
+ color: e.oneOfType([e.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
124
241
  /**
125
- * Shadow depth, corresponds to `dp` in the spec.
126
- * It accepts values between 0 and 24 inclusive.
127
- * @default 1
242
+ * If `true`, the component is disabled.
243
+ * @default false
128
244
  */
129
- elevation: j(O, (o) => {
130
- const {
131
- elevation: r,
132
- variant: a
133
- } = o;
134
- return r > 0 && a === "outlined" ? new Error(`MUI: Combining \`elevation={${r}}\` with \`variant="${a}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
135
- }),
245
+ disabled: e.bool,
246
+ /**
247
+ * If `true`, the keyboard focus ripple is disabled.
248
+ * @default false
249
+ */
250
+ disableFocusRipple: e.bool,
251
+ /**
252
+ * If `true`, the ripple effect is disabled.
253
+ *
254
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
255
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
256
+ * @default false
257
+ */
258
+ disableRipple: e.bool,
136
259
  /**
137
- * If `true`, rounded corners are disabled.
260
+ * If given, uses a negative margin to counteract the padding on one
261
+ * side (this is often helpful for aligning the left or right
262
+ * side of the icon with content above or below, without ruining the border
263
+ * size and shape).
138
264
  * @default false
139
265
  */
140
- square: e.bool,
266
+ edge: e.oneOf(["end", "start", !1]),
141
267
  /**
142
268
  * @ignore
143
269
  */
144
- style: e.object,
270
+ id: e.string,
145
271
  /**
146
- * The system prop that allows defining system overrides as well as additional CSS styles.
272
+ * If `true`, the loading indicator is visible and the button is disabled.
273
+ * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
274
+ * @default null
275
+ */
276
+ loading: e.bool,
277
+ /**
278
+ * Element placed before the children if the button is in loading state.
279
+ * The node should contain an element with `role="progressbar"` with an accessible name.
280
+ * By default, it renders a `CircularProgress` that is labeled by the button itself.
281
+ * @default <CircularProgress color="inherit" size={16} />
282
+ */
283
+ loadingIndicator: e.node,
284
+ /**
285
+ * The size of the component.
286
+ * `small` is equivalent to the dense button styling.
287
+ * @default 'medium'
147
288
  */
148
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
289
+ size: e.oneOfType([e.oneOf(["small", "medium", "large"]), e.string]),
149
290
  /**
150
- * The variant to use.
151
- * @default 'elevation'
291
+ * The system prop that allows defining system overrides as well as additional CSS styles.
152
292
  */
153
- variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
293
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
154
294
  });
155
295
  export {
156
- N as default
296
+ F as default
157
297
  };
158
298
  //# sourceMappingURL=ui-components.es53.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-components.es53.js","sources":["../../../node_modules/.pnpm/@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2.14_react@19.2.4__@emotion+_5efc65b7a21bb615fd4ee8d4bf58b896/node_modules/@mui/material/esm/Paper/Paper.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport getOverlayAlpha from \"../styles/getOverlayAlpha.js\";\nimport { getPaperUtilityClass } from \"./paperClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n square,\n elevation,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]\n };\n return composeClasses(slots, getPaperUtilityClass, classes);\n};\nconst PaperRoot = styled('div', {\n name: 'MuiPaper',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n backgroundColor: (theme.vars || theme).palette.background.paper,\n color: (theme.vars || theme).palette.text.primary,\n transition: theme.transitions.create('box-shadow'),\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.square,\n style: {\n borderRadius: theme.shape.borderRadius\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n border: `1px solid ${(theme.vars || theme).palette.divider}`\n }\n }, {\n props: {\n variant: 'elevation'\n },\n style: {\n boxShadow: 'var(--Paper-shadow)',\n backgroundImage: 'var(--Paper-overlay)'\n }\n }]\n})));\nconst Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiPaper'\n });\n const theme = useTheme();\n const {\n className,\n component = 'div',\n elevation = 1,\n square = false,\n variant = 'elevation',\n ...other\n } = props;\n const ownerState = {\n ...props,\n component,\n elevation,\n square,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n if (process.env.NODE_ENV !== 'production') {\n if (theme.shadows[elevation] === undefined) {\n console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \\`theme.shadows[${elevation}]\\` is defined.`].join('\\n'));\n }\n }\n return /*#__PURE__*/_jsx(PaperRoot, {\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n style: {\n ...(variant === 'elevation' && {\n '--Paper-shadow': (theme.vars || theme).shadows[elevation],\n ...(theme.vars && {\n '--Paper-overlay': theme.vars.overlays?.[elevation]\n }),\n ...(!theme.vars && theme.palette.mode === 'dark' && {\n '--Paper-overlay': `linear-gradient(${alpha('#fff', getOverlayAlpha(elevation))}, ${alpha('#fff', getOverlayAlpha(elevation))})`\n })\n }),\n ...other.style\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Paper.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Shadow depth, corresponds to `dp` in the spec.\n * It accepts values between 0 and 24 inclusive.\n * @default 1\n */\n elevation: chainPropTypes(integerPropType, props => {\n const {\n elevation,\n variant\n } = props;\n if (elevation > 0 && variant === 'outlined') {\n return new Error(`MUI: Combining \\`elevation={${elevation}}\\` with \\`variant=\"${variant}\"\\` has no effect. Either use \\`elevation={0}\\` or use a different \\`variant\\`.`);\n }\n return null;\n }),\n /**\n * If `true`, rounded corners are disabled.\n * @default false\n */\n square: PropTypes.bool,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'elevation'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['elevation', 'outlined']), PropTypes.string])\n} : void 0;\nexport default Paper;"],"names":["useUtilityClasses","ownerState","square","elevation","variant","classes","slots","composeClasses","getPaperUtilityClass","PaperRoot","styled","props","styles","memoTheme","theme","Paper","React","inProps","ref","useDefaultProps","useTheme","className","component","other","_jsx","clsx","alpha","getOverlayAlpha","PropTypes","chainPropTypes","integerPropType"],"mappings":";;;;;;;;;;;;;;AAeA,MAAMA,IAAoB,CAAAC,MAAc;AACtC,QAAM;AAAA,IACJ,QAAAC;AAAA,IACA,WAAAC;AAAA,IACA,SAAAC;AAAA,IACA,SAAAC;AAAA,EACJ,IAAMJ,GACEK,IAAQ;AAAA,IACZ,MAAM,CAAC,QAAQF,GAAS,CAACF,KAAU,WAAWE,MAAY,eAAe,YAAYD,CAAS,EAAE;AAAA,EACpG;AACE,SAAOI,EAAeD,GAAOE,GAAsBH,CAAO;AAC5D,GACMI,IAAYC,EAAO,OAAO;AAAA,EAC9B,MAAM;AAAA,EACN,MAAM;AAAA,EACN,mBAAmB,CAACC,GAAOC,MAA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AAAnB,MAAS;AAClD,UAAM;AAAA,MACJ,WAAAR;AAAA,MACA,SAAAC;AAAA,IACN,IAAQO;AACJ,WAAIR,IAAY,KAAKC,MAAY,aACxB,IAAI,MAAM,+BAA+BD,CAAS,uBAAuBC,CAAO,iFAAiF,IAEnK;AAAA,EACT,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKD,QAAQwB,EAAU;AAAA;AAAA;AAAA;AAAA,EAIlB,OAAOA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIjB,IAAIA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,UAAU,CAACA,EAAU,MAAMA,EAAU,QAAQA,EAAU,IAAI,CAAC,CAAC,GAAGA,EAAU,MAAMA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtJ,SAASA,EAAgD,UAAU,CAACA,EAAU,MAAM,CAAC,aAAa,UAAU,CAAC,GAAGA,EAAU,MAAM,CAAC;AACnI;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ui-components.es53.js","sources":["../../../node_modules/.pnpm/@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2.14_react@19.2.4__@emotion+_5efc65b7a21bb615fd4ee8d4bf58b896/node_modules/@mui/material/esm/IconButton/IconButton.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { unstable_useId as useId } from \"../utils/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport CircularProgress from \"../CircularProgress/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport iconButtonClasses, { getIconButtonUtilityClass } from \"./iconButtonClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n color,\n edge,\n size,\n loading\n } = ownerState;\n const slots = {\n root: ['root', loading && 'loading', disabled && 'disabled', color !== 'default' && `color${capitalize(color)}`, edge && `edge${capitalize(edge)}`, `size${capitalize(size)}`],\n loadingIndicator: ['loadingIndicator'],\n loadingWrapper: ['loadingWrapper']\n };\n return composeClasses(slots, getIconButtonUtilityClass, classes);\n};\nconst IconButtonRoot = styled(ButtonBase, {\n name: 'MuiIconButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.loading && styles.loading, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`], ownerState.edge && styles[`edge${capitalize(ownerState.edge)}`], styles[`size${capitalize(ownerState.size)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n textAlign: 'center',\n flex: '0 0 auto',\n fontSize: theme.typography.pxToRem(24),\n padding: 8,\n borderRadius: '50%',\n color: (theme.vars || theme).palette.action.active,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n variants: [{\n props: props => !props.disableRipple,\n style: {\n '--IconButton-hoverBg': theme.alpha((theme.vars || theme).palette.action.active, (theme.vars || theme).palette.action.hoverOpacity),\n '&:hover': {\n backgroundColor: 'var(--IconButton-hoverBg)',\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }, {\n props: {\n edge: 'start'\n },\n style: {\n marginLeft: -12\n }\n }, {\n props: {\n edge: 'start',\n size: 'small'\n },\n style: {\n marginLeft: -3\n }\n }, {\n props: {\n edge: 'end'\n },\n style: {\n marginRight: -12\n }\n }, {\n props: {\n edge: 'end',\n size: 'small'\n },\n style: {\n marginRight: -3\n }\n }]\n})), memoTheme(({\n theme\n}) => ({\n variants: [{\n props: {\n color: 'inherit'\n },\n style: {\n color: 'inherit'\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n '--IconButton-hoverBg': theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity)\n }\n })), {\n props: {\n size: 'small'\n },\n style: {\n padding: 5,\n fontSize: theme.typography.pxToRem(18)\n }\n }, {\n props: {\n size: 'large'\n },\n style: {\n padding: 12,\n fontSize: theme.typography.pxToRem(28)\n }\n }],\n [`&.${iconButtonClasses.disabled}`]: {\n backgroundColor: 'transparent',\n color: (theme.vars || theme).palette.action.disabled\n },\n [`&.${iconButtonClasses.loading}`]: {\n color: 'transparent'\n }\n})));\nconst IconButtonLoadingIndicator = styled('span', {\n name: 'MuiIconButton',\n slot: 'LoadingIndicator'\n})(({\n theme\n}) => ({\n display: 'none',\n position: 'absolute',\n visibility: 'visible',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n color: (theme.vars || theme).palette.action.disabled,\n variants: [{\n props: {\n loading: true\n },\n style: {\n display: 'flex'\n }\n }]\n}));\n\n/**\n * Refer to the [Icons](/material-ui/icons/) section of the documentation\n * regarding the available icon options.\n */\nconst IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiIconButton'\n });\n const {\n edge = false,\n children,\n className,\n color = 'default',\n disabled = false,\n disableFocusRipple = false,\n size = 'medium',\n id: idProp,\n loading = null,\n loadingIndicator: loadingIndicatorProp,\n ...other\n } = props;\n const loadingId = useId(idProp);\n const loadingIndicator = loadingIndicatorProp ?? /*#__PURE__*/_jsx(CircularProgress, {\n \"aria-labelledby\": loadingId,\n color: \"inherit\",\n size: 16\n });\n const ownerState = {\n ...props,\n edge,\n color,\n disabled,\n disableFocusRipple,\n loading,\n loadingIndicator,\n size\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(IconButtonRoot, {\n id: loading ? loadingId : idProp,\n className: clsx(classes.root, className),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled || loading,\n ref: ref,\n ...other,\n ownerState: ownerState,\n children: [typeof loading === 'boolean' &&\n /*#__PURE__*/\n // use plain HTML span to minimize the runtime overhead\n _jsx(\"span\", {\n className: classes.loadingWrapper,\n style: {\n display: 'contents'\n },\n children: /*#__PURE__*/_jsx(IconButtonLoadingIndicator, {\n className: classes.loadingIndicator,\n ownerState: ownerState,\n children: loading && loadingIndicator\n })\n }), children]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? IconButton.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The icon to display.\n */\n children: chainPropTypes(PropTypes.node, props => {\n const found = React.Children.toArray(props.children).some(child => /*#__PURE__*/React.isValidElement(child) && child.props.onClick);\n if (found) {\n return new Error(['MUI: You are providing an onClick event listener to a child of a button element.', 'Prefer applying it to the IconButton directly.', 'This guarantees that the whole <button> will be responsive to click events.'].join('\\n'));\n }\n return null;\n }),\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'default'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n * @default false\n */\n edge: PropTypes.oneOf(['end', 'start', false]),\n /**\n * @ignore\n */\n id: PropTypes.string,\n /**\n * If `true`, the loading indicator is visible and the button is disabled.\n * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).\n * @default null\n */\n loading: PropTypes.bool,\n /**\n * Element placed before the children if the button is in loading state.\n * The node should contain an element with `role=\"progressbar\"` with an accessible name.\n * By default, it renders a `CircularProgress` that is labeled by the button itself.\n * @default <CircularProgress color=\"inherit\" size={16} />\n */\n loadingIndicator: PropTypes.node,\n /**\n * The size of the component.\n * `small` is equivalent to the dense button styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default IconButton;"],"names":["useUtilityClasses","ownerState","classes","disabled","color","edge","size","loading","slots","capitalize","composeClasses","getIconButtonUtilityClass","IconButtonRoot","styled","ButtonBase","props","styles","memoTheme","theme","createSimplePaletteValueFilter","iconButtonClasses","IconButtonLoadingIndicator","IconButton","React","inProps","ref","useDefaultProps","children","className","disableFocusRipple","idProp","loadingIndicatorProp","other","loadingId","useId","loadingIndicator","_jsx","CircularProgress","_jsxs","clsx","chainPropTypes","PropTypes","child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