@rpcbase/ui 0.243.0 → 0.244.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (618) hide show
  1. package/dist/index105.js +36 -36
  2. package/dist/index117.js +6 -6
  3. package/dist/index120.js +10 -10
  4. package/dist/index122.js +2 -2
  5. package/dist/index123.js +3 -3
  6. package/dist/index124.js +1 -1
  7. package/dist/index126.js +2 -2
  8. package/dist/index128.js +2 -2
  9. package/dist/index149.js.map +1 -1
  10. package/dist/index150.js +3 -3
  11. package/dist/index150.js.map +1 -1
  12. package/dist/index151.js.map +1 -1
  13. package/dist/index152.js.map +1 -1
  14. package/dist/index153.js.map +1 -1
  15. package/dist/index154.js.map +1 -1
  16. package/dist/index155.js.map +1 -1
  17. package/dist/index156.js +1 -1
  18. package/dist/index156.js.map +1 -1
  19. package/dist/index157.js.map +1 -1
  20. package/dist/index158.js.map +1 -1
  21. package/dist/index159.js.map +1 -1
  22. package/dist/index160.js.map +1 -1
  23. package/dist/index161.js.map +1 -1
  24. package/dist/index162.js.map +1 -1
  25. package/dist/index163.js +2 -2
  26. package/dist/index163.js.map +1 -1
  27. package/dist/index164.js +7 -7
  28. package/dist/index164.js.map +1 -1
  29. package/dist/index165.js.map +1 -1
  30. package/dist/index166.js.map +1 -1
  31. package/dist/index167.js +4 -4
  32. package/dist/index167.js.map +1 -1
  33. package/dist/index168.js.map +1 -1
  34. package/dist/index169.js +1 -1
  35. package/dist/index169.js.map +1 -1
  36. package/dist/index170.js.map +1 -1
  37. package/dist/index171.js +58 -14
  38. package/dist/index171.js.map +1 -1
  39. package/dist/index172.js +8 -68
  40. package/dist/index172.js.map +1 -1
  41. package/dist/index173.js +87 -37
  42. package/dist/index173.js.map +1 -1
  43. package/dist/index174.js +19 -13
  44. package/dist/index174.js.map +1 -1
  45. package/dist/index175.js +16 -23
  46. package/dist/index175.js.map +1 -1
  47. package/dist/index176.js +5 -111
  48. package/dist/index176.js.map +1 -1
  49. package/dist/index177.js +6 -13
  50. package/dist/index177.js.map +1 -1
  51. package/dist/index178.js +6 -4
  52. package/dist/index178.js.map +1 -1
  53. package/dist/index179.js +5 -4
  54. package/dist/index179.js.map +1 -1
  55. package/dist/index180.js +7 -5
  56. package/dist/index180.js.map +1 -1
  57. package/dist/index181.js +16 -11
  58. package/dist/index181.js.map +1 -1
  59. package/dist/index182.js +4 -19
  60. package/dist/index182.js.map +1 -1
  61. package/dist/index183.js +5 -11
  62. package/dist/index183.js.map +1 -1
  63. package/dist/index184.js +12 -176
  64. package/dist/index184.js.map +1 -1
  65. package/dist/index185.js +9 -279
  66. package/dist/index185.js.map +1 -1
  67. package/dist/index186.js +13 -4
  68. package/dist/index186.js.map +1 -1
  69. package/dist/index187.js +14 -28
  70. package/dist/index187.js.map +1 -1
  71. package/dist/index188.js +4 -126
  72. package/dist/index188.js.map +1 -1
  73. package/dist/index189.js +5 -63
  74. package/dist/index189.js.map +1 -1
  75. package/dist/index190.js +6 -8
  76. package/dist/index190.js.map +1 -1
  77. package/dist/index191.js +6 -16
  78. package/dist/index191.js.map +1 -1
  79. package/dist/index192.js +53 -29
  80. package/dist/index192.js.map +1 -1
  81. package/dist/index193.js +8 -69
  82. package/dist/index193.js.map +1 -1
  83. package/dist/index194.js +4 -58
  84. package/dist/index194.js.map +1 -1
  85. package/dist/index195.js +4 -8
  86. package/dist/index195.js.map +1 -1
  87. package/dist/index196.js +8 -87
  88. package/dist/index196.js.map +1 -1
  89. package/dist/index197.js +4 -19
  90. package/dist/index197.js.map +1 -1
  91. package/dist/index198.js +4 -16
  92. package/dist/index198.js.map +1 -1
  93. package/dist/index199.js +3 -5
  94. package/dist/index199.js.map +1 -1
  95. package/dist/index200.js +10 -5
  96. package/dist/index200.js.map +1 -1
  97. package/dist/index201.js +9 -6
  98. package/dist/index201.js.map +1 -1
  99. package/dist/index202.js +9 -4
  100. package/dist/index202.js.map +1 -1
  101. package/dist/index203.js +10 -6
  102. package/dist/index203.js.map +1 -1
  103. package/dist/index204.js +10 -16
  104. package/dist/index204.js.map +1 -1
  105. package/dist/index205.js +9 -4
  106. package/dist/index205.js.map +1 -1
  107. package/dist/index206.js +6 -4
  108. package/dist/index206.js.map +1 -1
  109. package/dist/index207.js +5 -12
  110. package/dist/index207.js.map +1 -1
  111. package/dist/index208.js +4 -9
  112. package/dist/index208.js.map +1 -1
  113. package/dist/index209.js +5 -13
  114. package/dist/index209.js.map +1 -1
  115. package/dist/index210.js +6 -13
  116. package/dist/index210.js.map +1 -1
  117. package/dist/index211.js +5 -4
  118. package/dist/index211.js.map +1 -1
  119. package/dist/index212.js +16 -5
  120. package/dist/index212.js.map +1 -1
  121. package/dist/index213.js +7 -6
  122. package/dist/index213.js.map +1 -1
  123. package/dist/index214.js +10 -5
  124. package/dist/index214.js.map +1 -1
  125. package/dist/index215.js +10 -54
  126. package/dist/index215.js.map +1 -1
  127. package/dist/index216.js +21 -8
  128. package/dist/index216.js.map +1 -1
  129. package/dist/index217.js +8 -4
  130. package/dist/index217.js.map +1 -1
  131. package/dist/index218.js +9 -4
  132. package/dist/index218.js.map +1 -1
  133. package/dist/index219.js +9 -8
  134. package/dist/index219.js.map +1 -1
  135. package/dist/index220.js +4 -4
  136. package/dist/index220.js.map +1 -1
  137. package/dist/index221.js +5 -4
  138. package/dist/index221.js.map +1 -1
  139. package/dist/index222.js +16 -3
  140. package/dist/index222.js.map +1 -1
  141. package/dist/index223.js +9 -10
  142. package/dist/index223.js.map +1 -1
  143. package/dist/index224.js +18 -9
  144. package/dist/index224.js.map +1 -1
  145. package/dist/index225.js +20 -9
  146. package/dist/index225.js.map +1 -1
  147. package/dist/index226.js +12 -10
  148. package/dist/index226.js.map +1 -1
  149. package/dist/index227.js +29 -10
  150. package/dist/index227.js.map +1 -1
  151. package/dist/index228.js +12 -9
  152. package/dist/index228.js.map +1 -1
  153. package/dist/index229.js +25 -6
  154. package/dist/index229.js.map +1 -1
  155. package/dist/index230.js +5 -5
  156. package/dist/index230.js.map +1 -1
  157. package/dist/index231.js +20 -5
  158. package/dist/index231.js.map +1 -1
  159. package/dist/index232.js +66 -5
  160. package/dist/index232.js.map +1 -1
  161. package/dist/index233.js +6 -6
  162. package/dist/index233.js.map +1 -1
  163. package/dist/index234.js +5 -5
  164. package/dist/index234.js.map +1 -1
  165. package/dist/index235.js +11 -16
  166. package/dist/index235.js.map +1 -1
  167. package/dist/index236.js +3 -7
  168. package/dist/index236.js.map +1 -1
  169. package/dist/index237.js +49 -9
  170. package/dist/index237.js.map +1 -1
  171. package/dist/index238.js +4 -11
  172. package/dist/index238.js.map +1 -1
  173. package/dist/index239.js +28 -20
  174. package/dist/index239.js.map +1 -1
  175. package/dist/index240.js +16 -8
  176. package/dist/index240.js.map +1 -1
  177. package/dist/index241.js +5 -9
  178. package/dist/index241.js.map +1 -1
  179. package/dist/index242.js +21 -9
  180. package/dist/index242.js.map +1 -1
  181. package/dist/index243.js +53 -4
  182. package/dist/index243.js.map +1 -1
  183. package/dist/index244.js +20 -5
  184. package/dist/index244.js.map +1 -1
  185. package/dist/index245.js +41 -16
  186. package/dist/index245.js.map +1 -1
  187. package/dist/index246.js +39 -9
  188. package/dist/index246.js.map +1 -1
  189. package/dist/index247.js +46 -19
  190. package/dist/index247.js.map +1 -1
  191. package/dist/index248.js +20 -17
  192. package/dist/index248.js.map +1 -1
  193. package/dist/index249.js +19 -12
  194. package/dist/index249.js.map +1 -1
  195. package/dist/index250.js +19 -28
  196. package/dist/index250.js.map +1 -1
  197. package/dist/index251.js +68 -10
  198. package/dist/index251.js.map +1 -1
  199. package/dist/index252.js +17 -25
  200. package/dist/index252.js.map +1 -1
  201. package/dist/index253.js +3 -5
  202. package/dist/index253.js.map +1 -1
  203. package/dist/index254.js +11 -154
  204. package/dist/index254.js.map +1 -1
  205. package/dist/index255.js +29 -31
  206. package/dist/index255.js.map +1 -1
  207. package/dist/index256.js +13 -11
  208. package/dist/index256.js.map +1 -1
  209. package/dist/index257.js +15 -46
  210. package/dist/index257.js.map +1 -1
  211. package/dist/index258.js +36 -9
  212. package/dist/index258.js.map +1 -1
  213. package/dist/index259.js +69 -11
  214. package/dist/index259.js.map +1 -1
  215. package/dist/index260.js +238 -42
  216. package/dist/index260.js.map +1 -1
  217. package/dist/index261.js +245 -90
  218. package/dist/index261.js.map +1 -1
  219. package/dist/index262.js +66 -84
  220. package/dist/index262.js.map +1 -1
  221. package/dist/index263.js +86 -92
  222. package/dist/index263.js.map +1 -1
  223. package/dist/index264.js +175 -51
  224. package/dist/index264.js.map +1 -1
  225. package/dist/index265.js +83 -11
  226. package/dist/index265.js.map +1 -1
  227. package/dist/index266.js +13 -5
  228. package/dist/index266.js.map +1 -1
  229. package/dist/index267.js +3 -37
  230. package/dist/index267.js.map +1 -1
  231. package/dist/index268.js +29 -8
  232. package/dist/index268.js.map +1 -1
  233. package/dist/index269.js +16 -135
  234. package/dist/index269.js.map +1 -1
  235. package/dist/index270.js +38 -18
  236. package/dist/index270.js.map +1 -1
  237. package/dist/index271.js +34 -15
  238. package/dist/index271.js.map +1 -1
  239. package/dist/index272.js +68 -3
  240. package/dist/index272.js.map +1 -1
  241. package/dist/index273.js +15 -34
  242. package/dist/index273.js.map +1 -1
  243. package/dist/index274.js +3 -20
  244. package/dist/index274.js.map +1 -1
  245. package/dist/index275.js +111 -8
  246. package/dist/index275.js.map +1 -1
  247. package/dist/index276.js +26 -9
  248. package/dist/index276.js.map +1 -1
  249. package/dist/index277.js +27 -23
  250. package/dist/index277.js.map +1 -1
  251. package/dist/index278.js +4 -29
  252. package/dist/index278.js.map +1 -1
  253. package/dist/index279.js +125 -15
  254. package/dist/index279.js.map +1 -1
  255. package/dist/index280.js +5 -20
  256. package/dist/index280.js.map +1 -1
  257. package/dist/index281.js +75 -63
  258. package/dist/index281.js.map +1 -1
  259. package/dist/index282.js +272 -6
  260. package/dist/index282.js.map +1 -1
  261. package/dist/index283.js +10 -4
  262. package/dist/index283.js.map +1 -1
  263. package/dist/index284.js +27 -11
  264. package/dist/index284.js.map +1 -1
  265. package/dist/index285.js +16 -4
  266. package/dist/index285.js.map +1 -1
  267. package/dist/index286.js +10 -50
  268. package/dist/index286.js.map +1 -1
  269. package/dist/index287.js +26 -4
  270. package/dist/index287.js.map +1 -1
  271. package/dist/index288.js +15 -28
  272. package/dist/index288.js.map +1 -1
  273. package/dist/index289.js +124 -15
  274. package/dist/index289.js.map +1 -1
  275. package/dist/index290.js +5 -5
  276. package/dist/index290.js.map +1 -1
  277. package/dist/index291.js +64 -20
  278. package/dist/index291.js.map +1 -1
  279. package/dist/index292.js +13 -53
  280. package/dist/index292.js.map +1 -1
  281. package/dist/index293.js +14 -21
  282. package/dist/index293.js.map +1 -1
  283. package/dist/index294.js +7 -41
  284. package/dist/index294.js.map +1 -1
  285. package/dist/index295.js +11 -40
  286. package/dist/index295.js.map +1 -1
  287. package/dist/index296.js +6 -46
  288. package/dist/index296.js.map +1 -1
  289. package/dist/index297.js +3 -20
  290. package/dist/index297.js.map +1 -1
  291. package/dist/index298.js +10 -70
  292. package/dist/index298.js.map +1 -1
  293. package/dist/index299.js +7 -17
  294. package/dist/index299.js.map +1 -1
  295. package/dist/index300.js +133 -3
  296. package/dist/index300.js.map +1 -1
  297. package/dist/index301.js +279 -11
  298. package/dist/index301.js.map +1 -1
  299. package/dist/index302.js +398 -12
  300. package/dist/index302.js.map +1 -1
  301. package/dist/index303.js +5 -19
  302. package/dist/index303.js.map +1 -1
  303. package/dist/index304.js +51 -35
  304. package/dist/index304.js.map +1 -1
  305. package/dist/index305.js +11 -239
  306. package/dist/index305.js.map +1 -1
  307. package/dist/index306.js +22 -247
  308. package/dist/index306.js.map +1 -1
  309. package/dist/index307.js +11 -68
  310. package/dist/index307.js.map +1 -1
  311. package/dist/index308.js +4 -99
  312. package/dist/index308.js.map +1 -1
  313. package/dist/index309.js +14 -83
  314. package/dist/index309.js.map +1 -1
  315. package/dist/index310.js +4 -4
  316. package/dist/index310.js.map +1 -1
  317. package/dist/index311.js +5 -30
  318. package/dist/index311.js.map +1 -1
  319. package/dist/index312.js +10 -15
  320. package/dist/index312.js.map +1 -1
  321. package/dist/index313.js +64 -35
  322. package/dist/index313.js.map +1 -1
  323. package/dist/index314.js +7 -16
  324. package/dist/index314.js.map +1 -1
  325. package/dist/index315.js +154 -3
  326. package/dist/index315.js.map +1 -1
  327. package/dist/index316.js +31 -25
  328. package/dist/index316.js.map +1 -1
  329. package/dist/index317.js +11 -28
  330. package/dist/index317.js.map +1 -1
  331. package/dist/index318.js +50 -4
  332. package/dist/index318.js.map +1 -1
  333. package/dist/index319.js +9 -78
  334. package/dist/index319.js.map +1 -1
  335. package/dist/index320.js +10 -271
  336. package/dist/index320.js.map +1 -1
  337. package/dist/index321.js +43 -11
  338. package/dist/index321.js.map +1 -1
  339. package/dist/index322.js +97 -10
  340. package/dist/index322.js.map +1 -1
  341. package/dist/index323.js +86 -25
  342. package/dist/index323.js.map +1 -1
  343. package/dist/index324.js +104 -15
  344. package/dist/index324.js.map +1 -1
  345. package/dist/index325.js +50 -123
  346. package/dist/index325.js.map +1 -1
  347. package/dist/index326.js +11 -5
  348. package/dist/index326.js.map +1 -1
  349. package/dist/index327.js +4 -65
  350. package/dist/index327.js.map +1 -1
  351. package/dist/index328.js +37 -13
  352. package/dist/index328.js.map +1 -1
  353. package/dist/index329.js +8 -7
  354. package/dist/index329.js.map +1 -1
  355. package/dist/index330.js +135 -5
  356. package/dist/index330.js.map +1 -1
  357. package/dist/index331.js +17 -3
  358. package/dist/index331.js.map +1 -1
  359. package/dist/index332.js +15 -10
  360. package/dist/index332.js.map +1 -1
  361. package/dist/index333.js +3 -7
  362. package/dist/index333.js.map +1 -1
  363. package/dist/index334.js +32 -129
  364. package/dist/index334.js.map +1 -1
  365. package/dist/index335.js +18 -397
  366. package/dist/index335.js.map +1 -1
  367. package/dist/index336.js +10 -5
  368. package/dist/index336.js.map +1 -1
  369. package/dist/index337.js +8 -52
  370. package/dist/index337.js.map +1 -1
  371. package/dist/index338.js +24 -11
  372. package/dist/index338.js.map +1 -1
  373. package/dist/index339.js +28 -27
  374. package/dist/index339.js.map +1 -1
  375. package/dist/index34.js +2 -2
  376. package/dist/index34.js.map +1 -1
  377. package/dist/index340.js +16 -11
  378. package/dist/index340.js.map +1 -1
  379. package/dist/index341.js +4 -8
  380. package/dist/index341.js.map +1 -1
  381. package/dist/index342.js +18 -12
  382. package/dist/index342.js.map +1 -1
  383. package/dist/index343.js +12 -8
  384. package/dist/index343.js.map +1 -1
  385. package/dist/index344.js +8 -13
  386. package/dist/index344.js.map +1 -1
  387. package/dist/index345.js +11 -3
  388. package/dist/index345.js.map +1 -1
  389. package/dist/index346.js +8 -3
  390. package/dist/index346.js.map +1 -1
  391. package/dist/index347.js +12 -16
  392. package/dist/index347.js.map +1 -1
  393. package/dist/index348.js +3 -61
  394. package/dist/index348.js.map +1 -1
  395. package/dist/index349.js +3 -66
  396. package/dist/index349.js.map +1 -1
  397. package/dist/index35.js +5 -5
  398. package/dist/index35.js.map +1 -1
  399. package/dist/index350.js +4 -52
  400. package/dist/index350.js.map +1 -1
  401. package/dist/index351.js +15 -6
  402. package/dist/index351.js.map +1 -1
  403. package/dist/index352.js +10 -7
  404. package/dist/index352.js.map +1 -1
  405. package/dist/index353.js +6 -5
  406. package/dist/index353.js.map +1 -1
  407. package/dist/index354.js +4 -11
  408. package/dist/index354.js.map +1 -1
  409. package/dist/index355.js +3 -22
  410. package/dist/index355.js.map +1 -1
  411. package/dist/index356.js +8 -16
  412. package/dist/index356.js.map +1 -1
  413. package/dist/index357.js +52 -8
  414. package/dist/index357.js.map +1 -1
  415. package/dist/index358.js +15 -143
  416. package/dist/index358.js.map +1 -1
  417. package/dist/index359.js +8 -80
  418. package/dist/index359.js.map +1 -1
  419. package/dist/index36.js +11 -11
  420. package/dist/index36.js.map +1 -1
  421. package/dist/index360.js +5 -61
  422. package/dist/index360.js.map +1 -1
  423. package/dist/index361.js +21 -15
  424. package/dist/index361.js.map +1 -1
  425. package/dist/index362.js +45 -5
  426. package/dist/index362.js.map +1 -1
  427. package/dist/index363.js +16 -16
  428. package/dist/index363.js.map +1 -1
  429. package/dist/index364.js +5 -13
  430. package/dist/index364.js.map +1 -1
  431. package/dist/index365.js +200 -4
  432. package/dist/index365.js.map +1 -1
  433. package/dist/index366.js +73 -20
  434. package/dist/index366.js.map +1 -1
  435. package/dist/index367.js +124 -4
  436. package/dist/index367.js.map +1 -1
  437. package/dist/index368.js +16 -10
  438. package/dist/index368.js.map +1 -1
  439. package/dist/index369.js +61 -5
  440. package/dist/index369.js.map +1 -1
  441. package/dist/index37.js +3 -3
  442. package/dist/index37.js.map +1 -1
  443. package/dist/index370.js +67 -3
  444. package/dist/index370.js.map +1 -1
  445. package/dist/index371.js +11 -20
  446. package/dist/index371.js.map +1 -1
  447. package/dist/index372.js +21 -44
  448. package/dist/index372.js.map +1 -1
  449. package/dist/index373.js +143 -16
  450. package/dist/index373.js.map +1 -1
  451. package/dist/index374.js +79 -4
  452. package/dist/index374.js.map +1 -1
  453. package/dist/index375.js +59 -198
  454. package/dist/index375.js.map +1 -1
  455. package/dist/index376.js +4 -73
  456. package/dist/index376.js.map +1 -1
  457. package/dist/index377.js +19 -122
  458. package/dist/index377.js.map +1 -1
  459. package/dist/index378.js +4 -8
  460. package/dist/index378.js.map +1 -1
  461. package/dist/index379.js +5 -27
  462. package/dist/index379.js.map +1 -1
  463. package/dist/index38.js +4 -4
  464. package/dist/index38.js.map +1 -1
  465. package/dist/index380.js +4 -138
  466. package/dist/index380.js.map +1 -1
  467. package/dist/index381.js +15 -12
  468. package/dist/index381.js.map +1 -1
  469. package/dist/index382.js +8 -46
  470. package/dist/index382.js.map +1 -1
  471. package/dist/index383.js +5 -3
  472. package/dist/index383.js.map +1 -1
  473. package/dist/index384.js +4 -21
  474. package/dist/index384.js.map +1 -1
  475. package/dist/index385.js +542 -72
  476. package/dist/index385.js.map +1 -1
  477. package/dist/index386.js +46 -11
  478. package/dist/index386.js.map +1 -1
  479. package/dist/index387.js +17 -3
  480. package/dist/index387.js.map +1 -1
  481. package/dist/index388.js +5 -71
  482. package/dist/index388.js.map +1 -1
  483. package/dist/index389.js +7 -35
  484. package/dist/index389.js.map +1 -1
  485. package/dist/index39.js +5 -5
  486. package/dist/index39.js.map +1 -1
  487. package/dist/index390.js +7 -7
  488. package/dist/index390.js.map +1 -1
  489. package/dist/index391.js +7 -15
  490. package/dist/index391.js.map +1 -1
  491. package/dist/index392.js +11 -4
  492. package/dist/index392.js.map +1 -1
  493. package/dist/index393.js +8 -4
  494. package/dist/index393.js.map +1 -1
  495. package/dist/index394.js +13 -4
  496. package/dist/index394.js.map +1 -1
  497. package/dist/index395.js +3 -16
  498. package/dist/index395.js.map +1 -1
  499. package/dist/index396.js +3 -9
  500. package/dist/index396.js.map +1 -1
  501. package/dist/index397.js +7 -6
  502. package/dist/index397.js.map +1 -1
  503. package/dist/index398.js +12 -4
  504. package/dist/index398.js.map +1 -1
  505. package/dist/index399.js +44 -543
  506. package/dist/index399.js.map +1 -1
  507. package/dist/index40.js +3 -3
  508. package/dist/index40.js.map +1 -1
  509. package/dist/index400.js +135 -44
  510. package/dist/index400.js.map +1 -1
  511. package/dist/index401.js +8 -17
  512. package/dist/index401.js.map +1 -1
  513. package/dist/index402.js +27 -6
  514. package/dist/index402.js.map +1 -1
  515. package/dist/index403.js +3 -7
  516. package/dist/index403.js.map +1 -1
  517. package/dist/index404.js +21 -6
  518. package/dist/index404.js.map +1 -1
  519. package/dist/index405.js +75 -7
  520. package/dist/index405.js.map +1 -1
  521. package/dist/index406.js +12 -12
  522. package/dist/index406.js.map +1 -1
  523. package/dist/index407.js +3 -8
  524. package/dist/index407.js.map +1 -1
  525. package/dist/index408.js +71 -12
  526. package/dist/index408.js.map +1 -1
  527. package/dist/index409.js +36 -3
  528. package/dist/index409.js.map +1 -1
  529. package/dist/index41.js +10 -10
  530. package/dist/index41.js.map +1 -1
  531. package/dist/index410.js +16 -3
  532. package/dist/index410.js.map +1 -1
  533. package/dist/index411.js +4 -14
  534. package/dist/index411.js.map +1 -1
  535. package/dist/index412.js +56 -3
  536. package/dist/index412.js.map +1 -1
  537. package/dist/index413.js +66 -490
  538. package/dist/index413.js.map +1 -1
  539. package/dist/index414.js +30 -67
  540. package/dist/index414.js.map +1 -1
  541. package/dist/index415.js +9 -31
  542. package/dist/index415.js.map +1 -1
  543. package/dist/index416.js +153 -9
  544. package/dist/index416.js.map +1 -1
  545. package/dist/index417.js +97 -142
  546. package/dist/index417.js.map +1 -1
  547. package/dist/index418.js +8 -108
  548. package/dist/index418.js.map +1 -1
  549. package/dist/index419.js +2 -5
  550. package/dist/index419.js.map +1 -1
  551. package/dist/index420.js +42 -54
  552. package/dist/index420.js.map +1 -1
  553. package/dist/index421.js +55 -7
  554. package/dist/index421.js.map +1 -1
  555. package/dist/index422.js +8 -2
  556. package/dist/index422.js.map +1 -1
  557. package/dist/index423.js +2 -44
  558. package/dist/index423.js.map +1 -1
  559. package/dist/index424.js +54 -55
  560. package/dist/index424.js.map +1 -1
  561. package/dist/index425.js +55 -7
  562. package/dist/index425.js.map +1 -1
  563. package/dist/index426.js +3 -2
  564. package/dist/index426.js.map +1 -1
  565. package/dist/index427.js +14 -54
  566. package/dist/index427.js.map +1 -1
  567. package/dist/index428.js +487 -51
  568. package/dist/index428.js.map +1 -1
  569. package/dist/index429.js.map +1 -1
  570. package/dist/index430.js +2 -16
  571. package/dist/index430.js.map +1 -1
  572. package/dist/index431.js +2 -29
  573. package/dist/index431.js.map +1 -1
  574. package/dist/index432.js +2 -13
  575. package/dist/index432.js.map +1 -1
  576. package/dist/index433.js +2 -7
  577. package/dist/index433.js.map +1 -1
  578. package/dist/index434.js +16 -2
  579. package/dist/index434.js.map +1 -1
  580. package/dist/index435.js +29 -2
  581. package/dist/index435.js.map +1 -1
  582. package/dist/index436.js +13 -2
  583. package/dist/index436.js.map +1 -1
  584. package/dist/index437.js +7 -2
  585. package/dist/index437.js.map +1 -1
  586. package/dist/index44.js.map +1 -1
  587. package/dist/index48.js.map +1 -1
  588. package/dist/index49.js +36 -36
  589. package/dist/index49.js.map +1 -1
  590. package/dist/index50.js +29 -29
  591. package/dist/index50.js.map +1 -1
  592. package/dist/index51.js +2 -2
  593. package/dist/index51.js.map +1 -1
  594. package/dist/index52.js +12 -12
  595. package/dist/index52.js.map +1 -1
  596. package/dist/index53.js +4 -4
  597. package/dist/index53.js.map +1 -1
  598. package/dist/index54.js +1 -1
  599. package/dist/index54.js.map +1 -1
  600. package/dist/index55.js +21 -21
  601. package/dist/index55.js.map +1 -1
  602. package/dist/index56.js +5 -5
  603. package/dist/index56.js.map +1 -1
  604. package/dist/index57.js +5 -5
  605. package/dist/index57.js.map +1 -1
  606. package/dist/index58.js +8 -8
  607. package/dist/index58.js.map +1 -1
  608. package/dist/index59.js +5 -5
  609. package/dist/index59.js.map +1 -1
  610. package/dist/index60.js +17 -17
  611. package/dist/index60.js.map +1 -1
  612. package/dist/index61.js +5 -5
  613. package/dist/index61.js.map +1 -1
  614. package/dist/index62.js +3 -3
  615. package/dist/index62.js.map +1 -1
  616. package/dist/index77.js.map +1 -1
  617. package/dist/index78.js.map +1 -1
  618. package/package.json +1 -1
package/dist/index295.js CHANGED
@@ -1,43 +1,14 @@
1
- import * as a from "react";
2
- import { useIsoLayoutEffect as c } from "./index287.js";
3
- import { AnimationFrame as u } from "./index327.js";
4
- function g(t, s = !1, f = !1) {
5
- const [n, r] = a.useState(t && s ? "idle" : void 0), [i, d] = a.useState(t);
6
- return t && !i && (d(!0), r("starting")), !t && i && n !== "ending" && !f && r("ending"), !t && !i && n === "ending" && r(void 0), c(() => {
7
- if (!t && i && n !== "ending" && f) {
8
- const e = u.request(() => {
9
- r("ending");
10
- });
11
- return () => {
12
- u.cancel(e);
13
- };
14
- }
15
- }, [t, i, n, f]), c(() => {
16
- if (!t || s)
17
- return;
18
- const e = u.request(() => {
19
- r(void 0);
20
- });
21
- return () => {
22
- u.cancel(e);
23
- };
24
- }, [s, t]), c(() => {
25
- if (!t || !s)
26
- return;
27
- t && i && n !== "idle" && r("starting");
28
- const e = u.request(() => {
29
- r("idle");
30
- });
31
- return () => {
32
- u.cancel(e);
33
- };
34
- }, [s, t, i, n]), {
35
- mounted: i,
36
- setMounted: d,
37
- transitionStatus: n
38
- };
39
- }
1
+ const o = "ArrowUp", t = "ArrowDown", n = "ArrowLeft", R = "ArrowRight", e = "Home", c = "End", A = /* @__PURE__ */ new Set([n, R]), E = /* @__PURE__ */ new Set([o, t]), O = /* @__PURE__ */ new Set([...A, ...E]), s = /* @__PURE__ */ new Set([...O, e, "End"]);
40
2
  export {
41
- g as useTransitionStatus
3
+ t as ARROW_DOWN,
4
+ O as ARROW_KEYS,
5
+ n as ARROW_LEFT,
6
+ R as ARROW_RIGHT,
7
+ o as ARROW_UP,
8
+ s as COMPOSITE_KEYS,
9
+ c as END,
10
+ e as HOME,
11
+ A as HORIZONTAL_KEYS,
12
+ E as VERTICAL_KEYS
42
13
  };
43
14
  //# sourceMappingURL=index295.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index295.js","sources":["../node_modules/@base-ui/react/internals/useTransitionStatus.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { AnimationFrame } from '@base-ui/utils/useAnimationFrame';\n/**\n * Provides a status string for CSS animations.\n * @param open - a boolean that determines if the element is open.\n * @param enableIdleState - a boolean that enables the `'idle'` state between `'starting'` and `'ending'`\n */\nexport function useTransitionStatus(open, enableIdleState = false, deferEndingState = false) {\n const [transitionStatus, setTransitionStatus] = React.useState(open && enableIdleState ? 'idle' : undefined);\n const [mounted, setMounted] = React.useState(open);\n if (open && !mounted) {\n setMounted(true);\n setTransitionStatus('starting');\n }\n if (!open && mounted && transitionStatus !== 'ending' && !deferEndingState) {\n setTransitionStatus('ending');\n }\n if (!open && !mounted && transitionStatus === 'ending') {\n setTransitionStatus(undefined);\n }\n useIsoLayoutEffect(() => {\n if (!open && mounted && transitionStatus !== 'ending' && deferEndingState) {\n const frame = AnimationFrame.request(() => {\n setTransitionStatus('ending');\n });\n return () => {\n AnimationFrame.cancel(frame);\n };\n }\n return undefined;\n }, [open, mounted, transitionStatus, deferEndingState]);\n useIsoLayoutEffect(() => {\n if (!open || enableIdleState) {\n return undefined;\n }\n const frame = AnimationFrame.request(() => {\n // Avoid `flushSync` here due to Firefox.\n // See https://github.com/mui/base-ui/pull/3424\n setTransitionStatus(undefined);\n });\n return () => {\n AnimationFrame.cancel(frame);\n };\n }, [enableIdleState, open]);\n useIsoLayoutEffect(() => {\n if (!open || !enableIdleState) {\n return undefined;\n }\n if (open && mounted && transitionStatus !== 'idle') {\n setTransitionStatus('starting');\n }\n const frame = AnimationFrame.request(() => {\n setTransitionStatus('idle');\n });\n return () => {\n AnimationFrame.cancel(frame);\n };\n }, [enableIdleState, open, mounted, transitionStatus]);\n return {\n mounted,\n setMounted,\n transitionStatus\n };\n}"],"names":["useTransitionStatus","open","enableIdleState","deferEndingState","transitionStatus","setTransitionStatus","React","mounted","setMounted","useIsoLayoutEffect","frame","AnimationFrame"],"mappings":";;;AAUO,SAASA,EAAoBC,GAAMC,IAAkB,IAAOC,IAAmB,IAAO;AAC3F,QAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAM,SAASL,KAAQC,IAAkB,SAAS,MAAS,GACrG,CAACK,GAASC,CAAU,IAAIF,EAAM,SAASL,CAAI;AACjD,SAAIA,KAAQ,CAACM,MACXC,EAAW,EAAI,GACfH,EAAoB,UAAU,IAE5B,CAACJ,KAAQM,KAAWH,MAAqB,YAAY,CAACD,KACxDE,EAAoB,QAAQ,GAE1B,CAACJ,KAAQ,CAACM,KAAWH,MAAqB,YAC5CC,EAAoB,MAAS,GAE/BI,EAAmB,MAAM;AACvB,QAAI,CAACR,KAAQM,KAAWH,MAAqB,YAAYD,GAAkB;AACzE,YAAMO,IAAQC,EAAe,QAAQ,MAAM;AACzC,QAAAN,EAAoB,QAAQ;AAAA,MAC9B,CAAC;AACD,aAAO,MAAM;AACX,QAAAM,EAAe,OAAOD,CAAK;AAAA,MAC7B;AAAA,IACF;AAAA,EAEF,GAAG,CAACT,GAAMM,GAASH,GAAkBD,CAAgB,CAAC,GACtDM,EAAmB,MAAM;AACvB,QAAI,CAACR,KAAQC;AACX;AAEF,UAAMQ,IAAQC,EAAe,QAAQ,MAAM;AAGzC,MAAAN,EAAoB,MAAS;AAAA,IAC/B,CAAC;AACD,WAAO,MAAM;AACX,MAAAM,EAAe,OAAOD,CAAK;AAAA,IAC7B;AAAA,EACF,GAAG,CAACR,GAAiBD,CAAI,CAAC,GAC1BQ,EAAmB,MAAM;AACvB,QAAI,CAACR,KAAQ,CAACC;AACZ;AAEF,IAAID,KAAQM,KAAWH,MAAqB,UAC1CC,EAAoB,UAAU;AAEhC,UAAMK,IAAQC,EAAe,QAAQ,MAAM;AACzC,MAAAN,EAAoB,MAAM;AAAA,IAC5B,CAAC;AACD,WAAO,MAAM;AACX,MAAAM,EAAe,OAAOD,CAAK;AAAA,IAC7B;AAAA,EACF,GAAG,CAACR,GAAiBD,GAAMM,GAASH,CAAgB,CAAC,GAC9C;AAAA,IACL,SAAAG;AAAA,IACA,YAAAC;AAAA,IACA,kBAAAJ;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index295.js","sources":["../../../node_modules/@base-ui/react/internals/composite/composite.mjs"],"sourcesContent":["import { isHTMLElement } from '@floating-ui/utils/dom';\nexport { stopEvent, isIndexOutOfListBounds, isListIndexDisabled, findNonDisabledListIndex, getMaxListIndex, getMinListIndex } from \"../../floating-ui-react/utils.mjs\";\nexport const ARROW_UP = 'ArrowUp';\nexport const ARROW_DOWN = 'ArrowDown';\nexport const ARROW_LEFT = 'ArrowLeft';\nexport const ARROW_RIGHT = 'ArrowRight';\nexport const HOME = 'Home';\nexport const END = 'End';\nexport const PAGE_UP = 'PageUp';\nexport const PAGE_DOWN = 'PageDown';\nexport const HORIZONTAL_KEYS = new Set([ARROW_LEFT, ARROW_RIGHT]);\nexport const HORIZONTAL_KEYS_WITH_EXTRA_KEYS = new Set([ARROW_LEFT, ARROW_RIGHT, HOME, END]);\nexport const VERTICAL_KEYS = new Set([ARROW_UP, ARROW_DOWN]);\nexport const VERTICAL_KEYS_WITH_EXTRA_KEYS = new Set([ARROW_UP, ARROW_DOWN, HOME, END]);\nexport const ARROW_KEYS = new Set([...HORIZONTAL_KEYS, ...VERTICAL_KEYS]);\nexport const COMPOSITE_KEYS = new Set([...ARROW_KEYS, HOME, END]);\nexport const SHIFT = 'Shift';\nexport const CONTROL = 'Control';\nexport const ALT = 'Alt';\nexport const META = 'Meta';\nexport const MODIFIER_KEYS = new Set([SHIFT, CONTROL, ALT, META]);\nfunction isInputElement(element) {\n return isHTMLElement(element) && element.tagName === 'INPUT';\n}\nexport function isNativeInput(element) {\n if (isInputElement(element) && element.selectionStart != null) {\n return true;\n }\n if (isHTMLElement(element) && element.tagName === 'TEXTAREA') {\n return true;\n }\n return false;\n}\nexport function scrollIntoViewIfNeeded(scrollContainer, element, direction, orientation) {\n if (!scrollContainer || !element || !element.scrollTo) {\n return;\n }\n let targetX = scrollContainer.scrollLeft;\n let targetY = scrollContainer.scrollTop;\n const isOverflowingX = scrollContainer.clientWidth < scrollContainer.scrollWidth;\n const isOverflowingY = scrollContainer.clientHeight < scrollContainer.scrollHeight;\n if (isOverflowingX && orientation !== 'vertical') {\n const elementOffsetLeft = getOffset(scrollContainer, element, 'left');\n const containerStyles = getStyles(scrollContainer);\n const elementStyles = getStyles(element);\n if (direction === 'ltr') {\n if (elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight > scrollContainer.scrollLeft + scrollContainer.clientWidth - containerStyles.scrollPaddingRight) {\n // overflow to the right, scroll to align right edges\n targetX = elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight - scrollContainer.clientWidth + containerStyles.scrollPaddingRight;\n } else if (elementOffsetLeft - elementStyles.scrollMarginLeft < scrollContainer.scrollLeft + containerStyles.scrollPaddingLeft) {\n // overflow to the left, scroll to align left edges\n targetX = elementOffsetLeft - elementStyles.scrollMarginLeft - containerStyles.scrollPaddingLeft;\n }\n }\n if (direction === 'rtl') {\n if (elementOffsetLeft - elementStyles.scrollMarginRight < scrollContainer.scrollLeft + containerStyles.scrollPaddingLeft) {\n // overflow to the left, scroll to align left edges\n targetX = elementOffsetLeft - elementStyles.scrollMarginLeft - containerStyles.scrollPaddingLeft;\n } else if (elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight > scrollContainer.scrollLeft + scrollContainer.clientWidth - containerStyles.scrollPaddingRight) {\n // overflow to the right, scroll to align right edges\n targetX = elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight - scrollContainer.clientWidth + containerStyles.scrollPaddingRight;\n }\n }\n }\n if (isOverflowingY && orientation !== 'horizontal') {\n const elementOffsetTop = getOffset(scrollContainer, element, 'top');\n const containerStyles = getStyles(scrollContainer);\n const elementStyles = getStyles(element);\n if (elementOffsetTop - elementStyles.scrollMarginTop < scrollContainer.scrollTop + containerStyles.scrollPaddingTop) {\n // overflow upwards, align top edges\n targetY = elementOffsetTop - elementStyles.scrollMarginTop - containerStyles.scrollPaddingTop;\n } else if (elementOffsetTop + element.offsetHeight + elementStyles.scrollMarginBottom > scrollContainer.scrollTop + scrollContainer.clientHeight - containerStyles.scrollPaddingBottom) {\n // overflow downwards, align bottom edges\n targetY = elementOffsetTop + element.offsetHeight + elementStyles.scrollMarginBottom - scrollContainer.clientHeight + containerStyles.scrollPaddingBottom;\n }\n }\n scrollContainer.scrollTo({\n left: targetX,\n top: targetY,\n behavior: 'auto'\n });\n}\nfunction getOffset(ancestor, element, side) {\n const propName = side === 'left' ? 'offsetLeft' : 'offsetTop';\n let result = 0;\n while (element.offsetParent) {\n result += element[propName];\n if (element.offsetParent === ancestor) {\n break;\n }\n element = element.offsetParent;\n }\n return result;\n}\nfunction getStyles(element) {\n const styles = getComputedStyle(element);\n return {\n scrollMarginTop: parseFloat(styles.scrollMarginTop) || 0,\n scrollMarginRight: parseFloat(styles.scrollMarginRight) || 0,\n scrollMarginBottom: parseFloat(styles.scrollMarginBottom) || 0,\n scrollMarginLeft: parseFloat(styles.scrollMarginLeft) || 0,\n scrollPaddingTop: parseFloat(styles.scrollPaddingTop) || 0,\n scrollPaddingRight: parseFloat(styles.scrollPaddingRight) || 0,\n scrollPaddingBottom: parseFloat(styles.scrollPaddingBottom) || 0,\n scrollPaddingLeft: parseFloat(styles.scrollPaddingLeft) || 0\n };\n}"],"names":["ARROW_UP","ARROW_DOWN","ARROW_LEFT","ARROW_RIGHT","HOME","END","HORIZONTAL_KEYS","VERTICAL_KEYS","ARROW_KEYS","COMPOSITE_KEYS"],"mappings":"AAEY,MAACA,IAAW,WACXC,IAAa,aACbC,IAAa,aACbC,IAAc,cACdC,IAAO,QACPC,IAAM,OAGNC,IAAkB,oBAAI,IAAI,CAACJ,GAAYC,CAAW,CAAC,GAEnDI,IAAgB,oBAAI,IAAI,CAACP,GAAUC,CAAU,CAAC,GAE9CO,IAAa,oBAAI,IAAI,CAAC,GAAGF,GAAiB,GAAGC,CAAa,CAAC,GAC3DE,IAAiB,oBAAI,IAAI,CAAC,GAAGD,GAAYJ,GAAM,KAAG,CAAC;","x_google_ignoreList":[0]}
package/dist/index296.js CHANGED
@@ -1,49 +1,9 @@
1
- import { compareItemEquality as i } from "./index299.js";
2
- import { hasNullItemLabel as n, stringifyAsValue as a } from "./index298.js";
3
- import { createSelector as r } from "./index361.js";
4
- const c = {
5
- id: r((e) => e.id),
6
- labelId: r((e) => e.labelId),
7
- modal: r((e) => e.modal),
8
- multiple: r((e) => e.multiple),
9
- items: r((e) => e.items),
10
- itemToStringLabel: r((e) => e.itemToStringLabel),
11
- itemToStringValue: r((e) => e.itemToStringValue),
12
- isItemEqualToValue: r((e) => e.isItemEqualToValue),
13
- value: r((e) => e.value),
14
- hasSelectedValue: r((e) => {
15
- const {
16
- value: t,
17
- multiple: o,
18
- itemToStringValue: l
19
- } = e;
20
- return t == null ? !1 : o && Array.isArray(t) ? t.length > 0 : a(t, l) !== "";
21
- }),
22
- hasNullItemLabel: r((e, t) => t ? n(e.items) : !1),
23
- open: r((e) => e.open),
24
- mounted: r((e) => e.mounted),
25
- forceMount: r((e) => e.forceMount),
26
- transitionStatus: r((e) => e.transitionStatus),
27
- openMethod: r((e) => e.openMethod),
28
- activeIndex: r((e) => e.activeIndex),
29
- selectedIndex: r((e) => e.selectedIndex),
30
- isActive: r((e, t) => e.activeIndex === t),
31
- isSelected: r((e, t) => {
32
- const o = e.isItemEqualToValue, l = e.value;
33
- return e.multiple ? Array.isArray(l) && l.some((s) => i(t, s, o)) : i(t, l, o);
34
- }),
35
- isSelectedByFocus: r((e, t) => e.selectedIndex === t),
36
- popupProps: r((e) => e.popupProps),
37
- triggerProps: r((e) => e.triggerProps),
38
- triggerElement: r((e) => e.triggerElement),
39
- positionerElement: r((e) => e.positionerElement),
40
- listElement: r((e) => e.listElement),
41
- popupSide: r((e) => e.popupSide),
42
- scrollUpArrowVisible: r((e) => e.scrollUpArrowVisible),
43
- scrollDownArrowVisible: r((e) => e.scrollDownArrowVisible),
44
- hasScrollArrows: r((e) => e.hasScrollArrows)
45
- };
1
+ import { EMPTY_OBJECT as r } from "./index241.js";
2
+ import { DISABLED_TRANSITIONS_STYLE as o } from "./index285.js";
3
+ function T(t) {
4
+ return t === "starting" ? o : r;
5
+ }
46
6
  export {
47
- c as selectors
7
+ T as getDisabledMountTransitionStyles
48
8
  };
49
9
  //# sourceMappingURL=index296.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index296.js","sources":["../node_modules/@base-ui/react/select/store.mjs"],"sourcesContent":["import { createSelector } from '@base-ui/utils/store';\nimport { compareItemEquality } from \"../internals/itemEquality.mjs\";\nimport { hasNullItemLabel, stringifyAsValue } from \"../internals/resolveValueLabel.mjs\";\nexport const selectors = {\n id: createSelector(state => state.id),\n labelId: createSelector(state => state.labelId),\n modal: createSelector(state => state.modal),\n multiple: createSelector(state => state.multiple),\n items: createSelector(state => state.items),\n itemToStringLabel: createSelector(state => state.itemToStringLabel),\n itemToStringValue: createSelector(state => state.itemToStringValue),\n isItemEqualToValue: createSelector(state => state.isItemEqualToValue),\n value: createSelector(state => state.value),\n hasSelectedValue: createSelector(state => {\n const {\n value,\n multiple,\n itemToStringValue\n } = state;\n if (value == null) {\n return false;\n }\n if (multiple && Array.isArray(value)) {\n return value.length > 0;\n }\n return stringifyAsValue(value, itemToStringValue) !== '';\n }),\n hasNullItemLabel: createSelector((state, enabled) => {\n return enabled ? hasNullItemLabel(state.items) : false;\n }),\n open: createSelector(state => state.open),\n mounted: createSelector(state => state.mounted),\n forceMount: createSelector(state => state.forceMount),\n transitionStatus: createSelector(state => state.transitionStatus),\n openMethod: createSelector(state => state.openMethod),\n activeIndex: createSelector(state => state.activeIndex),\n selectedIndex: createSelector(state => state.selectedIndex),\n isActive: createSelector((state, index) => state.activeIndex === index),\n isSelected: createSelector((state, itemValue) => {\n const comparer = state.isItemEqualToValue;\n const storeValue = state.value;\n if (state.multiple) {\n return Array.isArray(storeValue) && storeValue.some(selectedItem => compareItemEquality(itemValue, selectedItem, comparer));\n }\n\n // The value is the source of truth: a stale `selectedIndex` (e.g. the controlled\n // value changes while the popup is open, where the index sync is deferred) must not\n // keep a previously selected item marked as selected.\n return compareItemEquality(itemValue, storeValue, comparer);\n }),\n isSelectedByFocus: createSelector((state, index) => {\n return state.selectedIndex === index;\n }),\n popupProps: createSelector(state => state.popupProps),\n triggerProps: createSelector(state => state.triggerProps),\n triggerElement: createSelector(state => state.triggerElement),\n positionerElement: createSelector(state => state.positionerElement),\n listElement: createSelector(state => state.listElement),\n popupSide: createSelector(state => state.popupSide),\n scrollUpArrowVisible: createSelector(state => state.scrollUpArrowVisible),\n scrollDownArrowVisible: createSelector(state => state.scrollDownArrowVisible),\n hasScrollArrows: createSelector(state => state.hasScrollArrows)\n};"],"names":["selectors","createSelector","state","value","multiple","itemToStringValue","stringifyAsValue","enabled","hasNull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,MAASA,EAAM,aAAa;AAAA,EAC1D,UAAUD,EAAe,CAACC,GAAOO,MAAUP,EAAM,gBAAgBO,CAAK;AAAA,EACtE,YAAYR,EAAe,CAACC,GAAOQ,MAAc;AAC/C,UAAMC,IAAWT,EAAM,oBACjBU,IAAaV,EAAM;AACzB,WAAIA,EAAM,WACD,MAAM,QAAQU,CAAU,KAAKA,EAAW,KAAK,CAAAC,MAAgBC,EAAoBJ,GAAWG,GAAcF,CAAQ,CAAC,IAMrHG,EAAoBJ,GAAWE,GAAYD,CAAQ;AAAA,EAC5D,CAAC;AAAA,EACD,mBAAmBV,EAAe,CAACC,GAAOO,MACjCP,EAAM,kBAAkBO,CAChC;AAAA,EACD,YAAYR,EAAe,CAAAC,MAASA,EAAM,UAAU;AAAA,EACpD,cAAcD,EAAe,CAAAC,MAASA,EAAM,YAAY;AAAA,EACxD,gBAAgBD,EAAe,CAAAC,MAASA,EAAM,cAAc;AAAA,EAC5D,mBAAmBD,EAAe,CAAAC,MAASA,EAAM,iBAAiB;AAAA,EAClE,aAAaD,EAAe,CAAAC,MAASA,EAAM,WAAW;AAAA,EACtD,WAAWD,EAAe,CAAAC,MAASA,EAAM,SAAS;AAAA,EAClD,sBAAsBD,EAAe,CAAAC,MAASA,EAAM,oBAAoB;AAAA,EACxE,wBAAwBD,EAAe,CAAAC,MAASA,EAAM,sBAAsB;AAAA,EAC5E,iBAAiBD,EAAe,CAAAC,MAASA,EAAM,eAAe;AAChE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index296.js","sources":["../../../node_modules/@base-ui/react/utils/getDisabledMountTransitionStyles.mjs"],"sourcesContent":["import { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { DISABLED_TRANSITIONS_STYLE } from \"../internals/constants.mjs\";\nexport function getDisabledMountTransitionStyles(transitionStatus) {\n return transitionStatus === 'starting' ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT;\n}"],"names":["getDisabledMountTransitionStyles","transitionStatus","DISABLED_TRANSITIONS_STYLE","EMPTY_OBJECT"],"mappings":";;AAEO,SAASA,EAAiCC,GAAkB;AACjE,SAAOA,MAAqB,aAAaC,IAA6BC;AACxE;","x_google_ignoreList":[0]}
package/dist/index297.js CHANGED
@@ -1,24 +1,7 @@
1
- import * as e from "react";
2
- import { NOOP as r } from "./index290.js";
3
- const t = /* @__PURE__ */ e.createContext({
4
- formRef: {
5
- current: {
6
- fields: /* @__PURE__ */ new Map()
7
- }
8
- },
9
- errors: {},
10
- clearErrors: r,
11
- validationMode: "onSubmit",
12
- submitAttemptedRef: {
13
- current: !1
14
- }
15
- });
16
- process.env.NODE_ENV !== "production" && (t.displayName = "FormContext");
17
- function n() {
18
- return e.useContext(t);
1
+ function t(E, m = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
2
+ return Math.max(m, Math.min(E, r));
19
3
  }
20
4
  export {
21
- t as FormContext,
22
- n as useFormContext
5
+ t as clamp
23
6
  };
24
7
  //# sourceMappingURL=index297.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index297.js","sources":["../node_modules/@base-ui/react/internals/form-context/FormContext.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { NOOP } from \"../noop.mjs\";\nexport const FormContext = /*#__PURE__*/React.createContext({\n formRef: {\n current: {\n fields: new Map()\n }\n },\n errors: {},\n clearErrors: NOOP,\n validationMode: 'onSubmit',\n submitAttemptedRef: {\n current: false\n }\n});\nif (process.env.NODE_ENV !== \"production\") FormContext.displayName = \"FormContext\";\nexport function useFormContext() {\n return React.useContext(FormContext);\n}"],"names":["FormContext","React","NOOP","useFormContext"],"mappings":";;AAIY,MAACA,IAA2B,gBAAAC,EAAM,cAAc;AAAA,EAC1D,SAAS;AAAA,IACP,SAAS;AAAA,MACP,QAAQ,oBAAI,IAAG;AAAA,IACrB;AAAA,EACA;AAAA,EACE,QAAQ,CAAA;AAAA,EACR,aAAaC;AAAA,EACb,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,IAClB,SAAS;AAAA,EACb;AACA,CAAC;AACG,QAAQ,IAAI,aAAa,iBAAcF,EAAY,cAAc;AAC9D,SAASG,IAAiB;AAC/B,SAAOF,EAAM,WAAWD,CAAW;AACrC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index297.js","sources":["../../../node_modules/@base-ui/react/internals/clamp.mjs"],"sourcesContent":["export function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {\n return Math.max(min, Math.min(val, max));\n}"],"names":["clamp","val","min","max"],"mappings":"AAAO,SAASA,EAAMC,GAAKC,IAAM,OAAO,kBAAkBC,IAAM,OAAO,kBAAkB;AACvF,SAAO,KAAK,IAAID,GAAK,KAAK,IAAID,GAAKE,CAAG,CAAC;AACzC;","x_google_ignoreList":[0]}
package/dist/index298.js CHANGED
@@ -1,74 +1,14 @@
1
- import * as c from "react";
2
- import { serializeValue as a } from "./index368.js";
3
- import { j as i } from "./index30.js";
4
- function s(r) {
5
- return r != null && r.length > 0 && typeof r[0] == "object" && r[0] != null && "items" in r[0];
6
- }
7
- function A(r) {
8
- if (!Array.isArray(r))
9
- return r != null && "null" in r;
10
- const n = r;
11
- if (s(n)) {
12
- for (const l of n)
13
- for (const u of l.items)
14
- if (u && u.value == null && u.label != null)
15
- return !0;
16
- return !1;
17
- }
18
- for (const l of n)
19
- if (l && l.value == null && l.label != null)
20
- return !0;
21
- return !1;
22
- }
23
- function b(r, n) {
24
- if (n && r != null)
25
- return n(r) ?? "";
26
- if (r && typeof r == "object") {
27
- if ("label" in r && r.label != null)
28
- return String(r.label);
29
- if ("value" in r)
30
- return String(r.value);
31
- }
32
- return a(r);
33
- }
34
- function h(r, n) {
35
- return n && r != null ? n(r) ?? "" : r && typeof r == "object" && "value" in r && "label" in r ? a(r.value) : a(r);
36
- }
37
- function p(r, n, l) {
38
- function u() {
39
- return b(r, l);
40
- }
41
- if (l && r != null)
42
- return l(r);
43
- if (r && typeof r == "object" && "label" in r && r.label != null)
44
- return r.label;
45
- if (n && !Array.isArray(n))
46
- return n[r] ?? u();
47
- if (Array.isArray(n)) {
48
- const e = n, t = s(e) ? e.flatMap((f) => f.items) : e;
49
- if (r == null || typeof r != "object") {
50
- const f = t.find((o) => o.value === r);
51
- return f && f.label != null ? f.label : u();
52
- }
53
- if ("value" in r) {
54
- const f = t.find((o) => o && o.value === r.value);
55
- if (f && f.label != null)
56
- return f.label;
57
- }
58
- }
59
- return u();
60
- }
61
- function d(r, n, l) {
62
- return r.reduce((u, e, t) => (t > 0 && u.push(", "), u.push(/* @__PURE__ */ i.jsx(c.Fragment, {
63
- children: p(e, n, l)
64
- }, t)), u), []);
1
+ import * as e from "react";
2
+ const t = /* @__PURE__ */ e.createContext(void 0);
3
+ process.env.NODE_ENV !== "production" && (t.displayName = "CSPContext");
4
+ const n = {
5
+ disableStyleElements: !1
6
+ };
7
+ function o() {
8
+ return e.useContext(t) ?? n;
65
9
  }
66
10
  export {
67
- A as hasNullItemLabel,
68
- s as isGroupedItems,
69
- d as resolveMultipleLabels,
70
- p as resolveSelectedLabel,
71
- b as stringifyAsLabel,
72
- h as stringifyAsValue
11
+ t as CSPContext,
12
+ o as useCSPContext
73
13
  };
74
14
  //# sourceMappingURL=index298.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index298.js","sources":["../node_modules/@base-ui/react/internals/resolveValueLabel.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { serializeValue } from \"./serializeValue.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function isGroupedItems(items) {\n return items != null && items.length > 0 && typeof items[0] === 'object' && items[0] != null && 'items' in items[0];\n}\n\n/**\n * Checks if the items array contains an item with a null value that has a non-null label.\n */\nexport function hasNullItemLabel(items) {\n if (!Array.isArray(items)) {\n return items != null && 'null' in items;\n }\n const arrayItems = items;\n if (isGroupedItems(arrayItems)) {\n for (const group of arrayItems) {\n for (const item of group.items) {\n if (item && item.value == null && item.label != null) {\n return true;\n }\n }\n }\n return false;\n }\n for (const item of arrayItems) {\n if (item && item.value == null && item.label != null) {\n return true;\n }\n }\n return false;\n}\nexport function stringifyAsLabel(item, itemToStringLabel) {\n if (itemToStringLabel && item != null) {\n return itemToStringLabel(item) ?? '';\n }\n if (item && typeof item === 'object') {\n if ('label' in item && item.label != null) {\n return String(item.label);\n }\n if ('value' in item) {\n return String(item.value);\n }\n }\n return serializeValue(item);\n}\nexport function stringifyAsValue(item, itemToStringValue) {\n if (itemToStringValue && item != null) {\n return itemToStringValue(item) ?? '';\n }\n if (item && typeof item === 'object' && 'value' in item && 'label' in item) {\n return serializeValue(item.value);\n }\n return serializeValue(item);\n}\nexport function resolveSelectedLabel(value, items, itemToStringLabel) {\n function fallback() {\n return stringifyAsLabel(value, itemToStringLabel);\n }\n if (itemToStringLabel && value != null) {\n return itemToStringLabel(value);\n }\n\n // Custom object with explicit label takes precedence\n if (value && typeof value === 'object' && 'label' in value && value.label != null) {\n return value.label;\n }\n\n // Items provided as plain record map\n if (items && !Array.isArray(items)) {\n return items[value] ?? fallback();\n }\n\n // Items provided as array (flat or grouped)\n if (Array.isArray(items)) {\n const arrayItems = items;\n const flatItems = isGroupedItems(arrayItems) ? arrayItems.flatMap(group => group.items) : arrayItems;\n if (value == null || typeof value !== 'object') {\n const match = flatItems.find(item => item.value === value);\n if (match && match.label != null) {\n return match.label;\n }\n return fallback();\n }\n\n // Object without explicit label: try matching by its `value` property\n if ('value' in value) {\n const match = flatItems.find(item => item && item.value === value.value);\n if (match && match.label != null) {\n return match.label;\n }\n }\n }\n return fallback();\n}\nexport function resolveMultipleLabels(values, items, itemToStringLabel) {\n return values.reduce((acc, value, index) => {\n if (index > 0) {\n acc.push(', ');\n }\n acc.push(/*#__PURE__*/_jsx(React.Fragment, {\n children: resolveSelectedLabel(value, items, itemToStringLabel)\n }, index));\n return acc;\n }, []);\n}"],"names":["isGroupedItems","items","hasNullItemLabel","arrayItems","group","item","stringifyAsLabel","itemToStringLabel","serializeValue","stringifyAsValue","itemToStringValue","resolveSelectedLabel","value","fallback","flatItems","match","resolveMultipleLabels","values","acc","index","_jsx","React"],"mappings":";;;AAKO,SAASA,EAAeC,GAAO;AACpC,SAAOA,KAAS,QAAQA,EAAM,SAAS,KAAK,OAAOA,EAAM,CAAC,KAAM,YAAYA,EAAM,CAAC,KAAK,QAAQ,WAAWA,EAAM,CAAC;AACpH;AAKO,SAASC,EAAiBD,GAAO;AACtC,MAAI,CAAC,MAAM,QAAQA,CAAK;AACtB,WAAOA,KAAS,QAAQ,UAAUA;AAEpC,QAAME,IAAaF;AACnB,MAAID,EAAeG,CAAU,GAAG;AAC9B,eAAWC,KAASD;AAClB,iBAAWE,KAAQD,EAAM;AACvB,YAAIC,KAAQA,EAAK,SAAS,QAAQA,EAAK,SAAS;AAC9C,iBAAO;AAIb,WAAO;AAAA,EACT;AACA,aAAWA,KAAQF;AACjB,QAAIE,KAAQA,EAAK,SAAS,QAAQA,EAAK,SAAS;AAC9C,aAAO;AAGX,SAAO;AACT;AACO,SAASC,EAAiBD,GAAME,GAAmB;AACxD,MAAIA,KAAqBF,KAAQ;AAC/B,WAAOE,EAAkBF,CAAI,KAAK;AAEpC,MAAIA,KAAQ,OAAOA,KAAS,UAAU;AACpC,QAAI,WAAWA,KAAQA,EAAK,SAAS;AACnC,aAAO,OAAOA,EAAK,KAAK;AAE1B,QAAI,WAAWA;AACb,aAAO,OAAOA,EAAK,KAAK;AAAA,EAE5B;AACA,SAAOG,EAAeH,CAAI;AAC5B;AACO,SAASI,EAAiBJ,GAAMK,GAAmB;AACxD,SAAIA,KAAqBL,KAAQ,OACxBK,EAAkBL,CAAI,KAAK,KAEhCA,KAAQ,OAAOA,KAAS,YAAY,WAAWA,KAAQ,WAAWA,IAC7DG,EAAeH,EAAK,KAAK,IAE3BG,EAAeH,CAAI;AAC5B;AACO,SAASM,EAAqBC,GAAOX,GAAOM,GAAmB;AACpE,WAASM,IAAW;AAClB,WAAOP,EAAiBM,GAAOL,CAAiB;AAAA,EAClD;AACA,MAAIA,KAAqBK,KAAS;AAChC,WAAOL,EAAkBK,CAAK;AAIhC,MAAIA,KAAS,OAAOA,KAAU,YAAY,WAAWA,KAASA,EAAM,SAAS;AAC3E,WAAOA,EAAM;AAIf,MAAIX,KAAS,CAAC,MAAM,QAAQA,CAAK;AAC/B,WAAOA,EAAMW,CAAK,KAAKC,EAAQ;AAIjC,MAAI,MAAM,QAAQZ,CAAK,GAAG;AACxB,UAAME,IAAaF,GACba,IAAYd,EAAeG,CAAU,IAAIA,EAAW,QAAQ,CAAAC,MAASA,EAAM,KAAK,IAAID;AAC1F,QAAIS,KAAS,QAAQ,OAAOA,KAAU,UAAU;AAC9C,YAAMG,IAAQD,EAAU,KAAK,CAAAT,MAAQA,EAAK,UAAUO,CAAK;AACzD,aAAIG,KAASA,EAAM,SAAS,OACnBA,EAAM,QAERF,EAAQ;AAAA,IACjB;AAGA,QAAI,WAAWD,GAAO;AACpB,YAAMG,IAAQD,EAAU,KAAK,CAAAT,MAAQA,KAAQA,EAAK,UAAUO,EAAM,KAAK;AACvE,UAAIG,KAASA,EAAM,SAAS;AAC1B,eAAOA,EAAM;AAAA,IAEjB;AAAA,EACF;AACA,SAAOF,EAAQ;AACjB;AACO,SAASG,EAAsBC,GAAQhB,GAAOM,GAAmB;AACtE,SAAOU,EAAO,OAAO,CAACC,GAAKN,GAAOO,OAC5BA,IAAQ,KACVD,EAAI,KAAK,IAAI,GAEfA,EAAI,KAAkBE,gBAAAA,MAAKC,EAAM,UAAU;AAAA,IACzC,UAAUV,EAAqBC,GAAOX,GAAOM,CAAiB;AAAA,EACpE,GAAOY,CAAK,CAAC,GACFD,IACN,CAAA,CAAE;AACP;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index298.js","sources":["../../../node_modules/@base-ui/react/internals/csp-context/CSPContext.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n/**\n * @internal\n */\nexport const CSPContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") CSPContext.displayName = \"CSPContext\";\nconst DEFAULT_CSP_CONTEXT_VALUE = {\n disableStyleElements: false\n};\n\n/**\n * @internal\n */\nexport function useCSPContext() {\n return React.useContext(CSPContext) ?? DEFAULT_CSP_CONTEXT_VALUE;\n}"],"names":["CSPContext","React","DEFAULT_CSP_CONTEXT_VALUE","useCSPContext"],"mappings":";AAMY,MAACA,IAA0B,gBAAAC,EAAM,cAAc,MAAS;AAChE,QAAQ,IAAI,aAAa,iBAAcD,EAAW,cAAc;AACpE,MAAME,IAA4B;AAAA,EAChC,sBAAsB;AACxB;AAKO,SAASC,IAAgB;AAC9B,SAAOF,EAAM,WAAWD,CAAU,KAAKE;AACzC;","x_google_ignoreList":[0]}
package/dist/index299.js CHANGED
@@ -1,21 +1,11 @@
1
- const i = (n, r) => Object.is(n, r);
2
- function u(n, r, t) {
3
- return n == null || r == null ? Object.is(n, r) : t(n, r);
4
- }
5
- function e(n, r, t) {
6
- return !n || n.length === 0 ? !1 : n.some((f) => f === void 0 ? !1 : u(r, f, t));
7
- }
8
- function o(n, r, t) {
9
- return !n || n.length === 0 ? -1 : n.findIndex((f) => f === void 0 ? !1 : u(f, r, t));
10
- }
11
- function I(n, r, t) {
12
- return n.filter((f) => !u(r, f, t));
1
+ import * as t from "react";
2
+ const e = /* @__PURE__ */ t.createContext(void 0);
3
+ process.env.NODE_ENV !== "production" && (e.displayName = "DirectionContext");
4
+ function o() {
5
+ return t.useContext(e)?.direction ?? "ltr";
13
6
  }
14
7
  export {
15
- u as compareItemEquality,
16
- i as defaultItemEquality,
17
- o as findItemIndex,
18
- I as removeItem,
19
- e as selectedValueIncludes
8
+ e as DirectionContext,
9
+ o as useDirection
20
10
  };
21
11
  //# sourceMappingURL=index299.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index299.js","sources":["../node_modules/@base-ui/react/internals/itemEquality.mjs"],"sourcesContent":["export const defaultItemEquality = (itemValue, selectedValue) => Object.is(itemValue, selectedValue);\nexport function compareItemEquality(itemValue, selectedValue, comparer) {\n if (itemValue == null || selectedValue == null) {\n return Object.is(itemValue, selectedValue);\n }\n return comparer(itemValue, selectedValue);\n}\nexport function selectedValueIncludes(selectedValues, itemValue, comparer) {\n if (!selectedValues || selectedValues.length === 0) {\n return false;\n }\n return selectedValues.some(selectedValue => {\n if (selectedValue === undefined) {\n return false;\n }\n return compareItemEquality(itemValue, selectedValue, comparer);\n });\n}\nexport function findItemIndex(itemValues, selectedValue, comparer) {\n if (!itemValues || itemValues.length === 0) {\n return -1;\n }\n return itemValues.findIndex(itemValue => {\n if (itemValue === undefined) {\n return false;\n }\n return compareItemEquality(itemValue, selectedValue, comparer);\n });\n}\nexport function removeItem(selectedValues, itemValue, comparer) {\n return selectedValues.filter(selectedValue => !compareItemEquality(itemValue, selectedValue, comparer));\n}"],"names":["defaultItemEquality","itemValue","selectedValue","compareItemEquality","comparer","selectedValueIncludes","selectedValues","findItemIndex","itemValues","removeItem"],"mappings":"AAAY,MAACA,IAAsB,CAACC,GAAWC,MAAkB,OAAO,GAAGD,GAAWC,CAAa;AAC5F,SAASC,EAAoBF,GAAWC,GAAeE,GAAU;AACtE,SAAIH,KAAa,QAAQC,KAAiB,OACjC,OAAO,GAAGD,GAAWC,CAAa,IAEpCE,EAASH,GAAWC,CAAa;AAC1C;AACO,SAASG,EAAsBC,GAAgBL,GAAWG,GAAU;AACzE,SAAI,CAACE,KAAkBA,EAAe,WAAW,IACxC,KAEFA,EAAe,KAAK,CAAAJ,MACrBA,MAAkB,SACb,KAEFC,EAAoBF,GAAWC,GAAeE,CAAQ,CAC9D;AACH;AACO,SAASG,EAAcC,GAAYN,GAAeE,GAAU;AACjE,SAAI,CAACI,KAAcA,EAAW,WAAW,IAChC,KAEFA,EAAW,UAAU,CAAAP,MACtBA,MAAc,SACT,KAEFE,EAAoBF,GAAWC,GAAeE,CAAQ,CAC9D;AACH;AACO,SAASK,EAAWH,GAAgBL,GAAWG,GAAU;AAC9D,SAAOE,EAAe,OAAO,CAAAJ,MAAiB,CAACC,EAAoBF,GAAWC,GAAeE,CAAQ,CAAC;AACxG;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index299.js","sources":["../../../node_modules/@base-ui/react/internals/direction-context/DirectionContext.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n/**\n * @internal\n */\nexport const DirectionContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") DirectionContext.displayName = \"DirectionContext\";\nexport function useDirection() {\n const context = React.useContext(DirectionContext);\n return context?.direction ?? 'ltr';\n}"],"names":["DirectionContext","React","useDirection"],"mappings":";AAMY,MAACA,IAAgC,gBAAAC,EAAM,cAAc,MAAS;AACtE,QAAQ,IAAI,aAAa,iBAAcD,EAAiB,cAAc;AACnE,SAASE,IAAe;AAE7B,SADgBD,EAAM,WAAWD,CAAgB,GACjC,aAAa;AAC/B;","x_google_ignoreList":[0]}
package/dist/index300.js CHANGED
@@ -1,7 +1,137 @@
1
- function u(t, l, r = (e, n) => e === n) {
2
- return t.length === l.length && t.every((e, n) => r(e, l[n]));
1
+ function u() {
2
+ return typeof window < "u";
3
+ }
4
+ function a(t) {
5
+ return m(t) ? (t.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(t) {
8
+ var n;
9
+ return (t == null || (n = t.ownerDocument) == null ? void 0 : n.defaultView) || window;
10
+ }
11
+ function L(t) {
12
+ var n;
13
+ return (n = (m(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : n.documentElement;
14
+ }
15
+ function m(t) {
16
+ return u() ? t instanceof Node || t instanceof i(t).Node : !1;
17
+ }
18
+ function h(t) {
19
+ return u() ? t instanceof Element || t instanceof i(t).Element : !1;
20
+ }
21
+ function g(t) {
22
+ return u() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
23
+ }
24
+ function p(t) {
25
+ return !u() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
26
+ }
27
+ function y(t) {
28
+ const {
29
+ overflow: n,
30
+ overflowX: r,
31
+ overflowY: c,
32
+ display: e
33
+ } = b(t);
34
+ return /auto|scroll|overlay|hidden|clip/.test(n + c + r) && e !== "inline" && e !== "contents";
35
+ }
36
+ function _(t) {
37
+ return /^(table|td|th)$/.test(a(t));
38
+ }
39
+ function T(t) {
40
+ try {
41
+ if (t.matches(":popover-open"))
42
+ return !0;
43
+ } catch {
44
+ }
45
+ try {
46
+ return t.matches(":modal");
47
+ } catch {
48
+ return !1;
49
+ }
50
+ }
51
+ const v = /transform|translate|scale|rotate|perspective|filter/, C = /paint|layout|strict|content/, o = (t) => !!t && t !== "none";
52
+ let s;
53
+ function D(t) {
54
+ const n = h(t) ? b(t) : t;
55
+ return o(n.transform) || o(n.translate) || o(n.scale) || o(n.rotate) || o(n.perspective) || !R() && (o(n.backdropFilter) || o(n.filter)) || v.test(n.willChange || "") || C.test(n.contain || "");
56
+ }
57
+ function W(t) {
58
+ let n = f(t);
59
+ for (; g(n) && !N(n); ) {
60
+ if (D(n))
61
+ return n;
62
+ if (T(n))
63
+ return null;
64
+ n = f(n);
65
+ }
66
+ return null;
67
+ }
68
+ function R() {
69
+ return s == null && (s = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), s;
70
+ }
71
+ function N(t) {
72
+ return /^(html|body|#document)$/.test(a(t));
73
+ }
74
+ function b(t) {
75
+ return i(t).getComputedStyle(t);
76
+ }
77
+ function $(t) {
78
+ return h(t) ? {
79
+ scrollLeft: t.scrollLeft,
80
+ scrollTop: t.scrollTop
81
+ } : {
82
+ scrollLeft: t.scrollX,
83
+ scrollTop: t.scrollY
84
+ };
85
+ }
86
+ function f(t) {
87
+ if (a(t) === "html")
88
+ return t;
89
+ const n = (
90
+ // Step into the shadow DOM of the parent of a slotted node.
91
+ t.assignedSlot || // DOM Element detected.
92
+ t.parentNode || // ShadowRoot detected.
93
+ p(t) && t.host || // Fallback.
94
+ L(t)
95
+ );
96
+ return p(n) ? n.host : n;
97
+ }
98
+ function S(t) {
99
+ const n = f(t);
100
+ return N(n) ? t.ownerDocument ? t.ownerDocument.body : t.body : g(n) && y(n) ? n : S(n);
101
+ }
102
+ function w(t, n, r) {
103
+ var c;
104
+ n === void 0 && (n = []), r === void 0 && (r = !0);
105
+ const e = S(t), E = e === ((c = t.ownerDocument) == null ? void 0 : c.body), l = i(e);
106
+ if (E) {
107
+ const d = k(l);
108
+ return n.concat(l, l.visualViewport || [], y(e) ? e : [], d && r ? w(d) : []);
109
+ } else
110
+ return n.concat(e, w(e, [], r));
111
+ }
112
+ function k(t) {
113
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
3
114
  }
4
115
  export {
5
- u as areArraysEqual
116
+ b as getComputedStyle,
117
+ W as getContainingBlock,
118
+ L as getDocumentElement,
119
+ k as getFrameElement,
120
+ S as getNearestOverflowAncestor,
121
+ a as getNodeName,
122
+ $ as getNodeScroll,
123
+ w as getOverflowAncestors,
124
+ f as getParentNode,
125
+ i as getWindow,
126
+ D as isContainingBlock,
127
+ h as isElement,
128
+ g as isHTMLElement,
129
+ N as isLastTraversableNode,
130
+ m as isNode,
131
+ y as isOverflowElement,
132
+ p as isShadowRoot,
133
+ _ as isTableElement,
134
+ T as isTopLayer,
135
+ R as isWebKit
6
136
  };
7
137
  //# sourceMappingURL=index300.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index300.js","sources":["../node_modules/@base-ui/react/internals/areArraysEqual.mjs"],"sourcesContent":["export function areArraysEqual(array1, array2, itemComparer = (a, b) => a === b) {\n return array1.length === array2.length && array1.every((value, index) => itemComparer(value, array2[index]));\n}"],"names":["areArraysEqual","array1","array2","itemComparer","a","b","value","index"],"mappings":"AAAO,SAASA,EAAeC,GAAQC,GAAQC,IAAe,CAACC,GAAGC,MAAMD,MAAMC,GAAG;AAC/E,SAAOJ,EAAO,WAAWC,EAAO,UAAUD,EAAO,MAAM,CAACK,GAAOC,MAAUJ,EAAaG,GAAOJ,EAAOK,CAAK,CAAC,CAAC;AAC7G;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index300.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","willChangeRe","containRe","isNotNone","isWebKitValue","isContainingBlock","elementOrCss","css","isWebKit","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"AAAA,SAASA,IAAY;AACnB,SAAO,OAAO,SAAW;AAC3B;AACA,SAASC,EAAYC,GAAM;AACzB,SAAIC,EAAOD,CAAI,KAC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