@rpcbase/ui 0.187.0 → 0.188.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 (558) hide show
  1. package/dist/helpers/useScrollPagination.d.ts.map +1 -1
  2. package/dist/index100.js +5 -4
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +5 -6
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +3 -4
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +4 -4
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +6 -5
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +24 -4
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +6 -8
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +4 -5
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +6 -4
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +5 -4
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index110.js +4 -6
  23. package/dist/index110.js.map +1 -1
  24. package/dist/index111.js +5 -145
  25. package/dist/index111.js.map +1 -1
  26. package/dist/index112.js +4 -39
  27. package/dist/index112.js.map +1 -1
  28. package/dist/index113.js +8 -4
  29. package/dist/index113.js.map +1 -1
  30. package/dist/index114.js +5 -7
  31. package/dist/index114.js.map +1 -1
  32. package/dist/index115.js +4 -13
  33. package/dist/index115.js.map +1 -1
  34. package/dist/index116.js +4 -13
  35. package/dist/index116.js.map +1 -1
  36. package/dist/index117.js +6 -7
  37. package/dist/index117.js.map +1 -1
  38. package/dist/index118.js +145 -31
  39. package/dist/index118.js.map +1 -1
  40. package/dist/index119.js +39 -10
  41. package/dist/index119.js.map +1 -1
  42. package/dist/index120.js +4 -10
  43. package/dist/index120.js.map +1 -1
  44. package/dist/index121.js +7 -8
  45. package/dist/index121.js.map +1 -1
  46. package/dist/index122.js +13 -13
  47. package/dist/index122.js.map +1 -1
  48. package/dist/index123.js +13 -101
  49. package/dist/index123.js.map +1 -1
  50. package/dist/index124.js +8 -20
  51. package/dist/index124.js.map +1 -1
  52. package/dist/index125.js +31 -53
  53. package/dist/index125.js.map +1 -1
  54. package/dist/index126.js +10 -72
  55. package/dist/index126.js.map +1 -1
  56. package/dist/index127.js +10 -9
  57. package/dist/index127.js.map +1 -1
  58. package/dist/index128.js +8 -20
  59. package/dist/index128.js.map +1 -1
  60. package/dist/index129.js +13 -16
  61. package/dist/index129.js.map +1 -1
  62. package/dist/index130.js +101 -23
  63. package/dist/index130.js.map +1 -1
  64. package/dist/index131.js +20 -7
  65. package/dist/index131.js.map +1 -1
  66. package/dist/index132.js +53 -5
  67. package/dist/index132.js.map +1 -1
  68. package/dist/index133.js +72 -23
  69. package/dist/index133.js.map +1 -1
  70. package/dist/index134.js +10 -35
  71. package/dist/index134.js.map +1 -1
  72. package/dist/index135.js +21 -16
  73. package/dist/index135.js.map +1 -1
  74. package/dist/index136.js +16 -6
  75. package/dist/index136.js.map +1 -1
  76. package/dist/index137.js +23 -4
  77. package/dist/index137.js.map +1 -1
  78. package/dist/index138.js +6 -4
  79. package/dist/index138.js.map +1 -1
  80. package/dist/index139.js +5 -4
  81. package/dist/index139.js.map +1 -1
  82. package/dist/index140.js +23 -4
  83. package/dist/index140.js.map +1 -1
  84. package/dist/index141.js +35 -4
  85. package/dist/index141.js.map +1 -1
  86. package/dist/index142.js +16 -7
  87. package/dist/index142.js.map +1 -1
  88. package/dist/index143.js +7 -24
  89. package/dist/index143.js.map +1 -1
  90. package/dist/index144.js +4 -7
  91. package/dist/index144.js.map +1 -1
  92. package/dist/index145.js +4 -6
  93. package/dist/index145.js.map +1 -1
  94. package/dist/index146.js +4 -5
  95. package/dist/index146.js.map +1 -1
  96. package/dist/index147.js +4 -3
  97. package/dist/index147.js.map +1 -1
  98. package/dist/index148.js +1 -1
  99. package/dist/index148.js.map +1 -1
  100. package/dist/index149.js +6 -4
  101. package/dist/index149.js.map +1 -1
  102. package/dist/index150.js +24 -4
  103. package/dist/index150.js.map +1 -1
  104. package/dist/index151.js +7 -4
  105. package/dist/index151.js.map +1 -1
  106. package/dist/index152.js +6 -3
  107. package/dist/index152.js.map +1 -1
  108. package/dist/index153.js +5 -3
  109. package/dist/index153.js.map +1 -1
  110. package/dist/index154.js +3 -3
  111. package/dist/index154.js.map +1 -1
  112. package/dist/index155.js +3 -46
  113. package/dist/index155.js.map +1 -1
  114. package/dist/index156.js +4 -46
  115. package/dist/index156.js.map +1 -1
  116. package/dist/index157.js +3 -205
  117. package/dist/index157.js.map +1 -1
  118. package/dist/index158.js +5 -22
  119. package/dist/index158.js.map +1 -1
  120. package/dist/index159.js +3 -24
  121. package/dist/index159.js.map +1 -1
  122. package/dist/index160.js +3 -399
  123. package/dist/index160.js.map +1 -1
  124. package/dist/index161.js +3 -5
  125. package/dist/index161.js.map +1 -1
  126. package/dist/index162.js +5 -68
  127. package/dist/index162.js.map +1 -1
  128. package/dist/index163.js +69 -2
  129. package/dist/index163.js.map +1 -1
  130. package/dist/index164.js +2 -364
  131. package/dist/index164.js.map +1 -1
  132. package/dist/index165.js +303 -201
  133. package/dist/index165.js.map +1 -1
  134. package/dist/index166.js +247 -46
  135. package/dist/index166.js.map +1 -1
  136. package/dist/index167.js +56 -42
  137. package/dist/index167.js.map +1 -1
  138. package/dist/index168.js +46 -169
  139. package/dist/index168.js.map +1 -1
  140. package/dist/index169.js +156 -96
  141. package/dist/index169.js.map +1 -1
  142. package/dist/index170.js +109 -24
  143. package/dist/index170.js.map +1 -1
  144. package/dist/index171.js +25 -8
  145. package/dist/index171.js.map +1 -1
  146. package/dist/index172.js +8 -5
  147. package/dist/index172.js.map +1 -1
  148. package/dist/index173.js +4 -5
  149. package/dist/index173.js.map +1 -1
  150. package/dist/index174.js +5 -4
  151. package/dist/index174.js.map +1 -1
  152. package/dist/index175.js +4 -466
  153. package/dist/index175.js.map +1 -1
  154. package/dist/index176.js +420 -139
  155. package/dist/index176.js.map +1 -1
  156. package/dist/index177.js +149 -71
  157. package/dist/index177.js.map +1 -1
  158. package/dist/index178.js +74 -229
  159. package/dist/index178.js.map +1 -1
  160. package/dist/index179.js +262 -9
  161. package/dist/index179.js.map +1 -1
  162. package/dist/index180.js +9 -42
  163. package/dist/index180.js.map +1 -1
  164. package/dist/index181.js +42 -4
  165. package/dist/index181.js.map +1 -1
  166. package/dist/index182.js +4 -605
  167. package/dist/index182.js.map +1 -1
  168. package/dist/index183.js +24 -58
  169. package/dist/index183.js.map +1 -1
  170. package/dist/index184.js +29 -9
  171. package/dist/index184.js.map +1 -1
  172. package/dist/index185.js +5 -67
  173. package/dist/index185.js.map +1 -1
  174. package/dist/index186.js +66 -18
  175. package/dist/index186.js.map +1 -1
  176. package/dist/index187.js +179 -15
  177. package/dist/index187.js.map +1 -1
  178. package/dist/index188.js +45 -4
  179. package/dist/index188.js.map +1 -1
  180. package/dist/index189.js +57 -4
  181. package/dist/index189.js.map +1 -1
  182. package/dist/index190.js +8 -6
  183. package/dist/index190.js.map +1 -1
  184. package/dist/index191.js +66 -4
  185. package/dist/index191.js.map +1 -1
  186. package/dist/index192.js +19 -7
  187. package/dist/index192.js.map +1 -1
  188. package/dist/index193.js +16 -17
  189. package/dist/index193.js.map +1 -1
  190. package/dist/index194.js +5 -5
  191. package/dist/index194.js.map +1 -1
  192. package/dist/index195.js +5 -5
  193. package/dist/index195.js.map +1 -1
  194. package/dist/index196.js +6 -13
  195. package/dist/index196.js.map +1 -1
  196. package/dist/index197.js +4 -10
  197. package/dist/index197.js.map +1 -1
  198. package/dist/index198.js +7 -14
  199. package/dist/index198.js.map +1 -1
  200. package/dist/index199.js +17 -14
  201. package/dist/index199.js.map +1 -1
  202. package/dist/index200.js +5 -5
  203. package/dist/index200.js.map +1 -1
  204. package/dist/index201.js +5 -6
  205. package/dist/index201.js.map +1 -1
  206. package/dist/index202.js +13 -7
  207. package/dist/index202.js.map +1 -1
  208. package/dist/index203.js +9 -5
  209. package/dist/index203.js.map +1 -1
  210. package/dist/index204.js +14 -9
  211. package/dist/index204.js.map +1 -1
  212. package/dist/index205.js +14 -5
  213. package/dist/index205.js.map +1 -1
  214. package/dist/index206.js +5 -5
  215. package/dist/index206.js.map +1 -1
  216. package/dist/index207.js +6 -9
  217. package/dist/index207.js.map +1 -1
  218. package/dist/index208.js +7 -5
  219. package/dist/index208.js.map +1 -1
  220. package/dist/index209.js +6 -5
  221. package/dist/index209.js.map +1 -1
  222. package/dist/index210.js +9 -4
  223. package/dist/index210.js.map +1 -1
  224. package/dist/index211.js +5 -11
  225. package/dist/index211.js.map +1 -1
  226. package/dist/index212.js +5 -10
  227. package/dist/index212.js.map +1 -1
  228. package/dist/index213.js +9 -10
  229. package/dist/index213.js.map +1 -1
  230. package/dist/index214.js +5 -11
  231. package/dist/index214.js.map +1 -1
  232. package/dist/index215.js +5 -11
  233. package/dist/index215.js.map +1 -1
  234. package/dist/index216.js +4 -10
  235. package/dist/index216.js.map +1 -1
  236. package/dist/index217.js +11 -7
  237. package/dist/index217.js.map +1 -1
  238. package/dist/index218.js +10 -6
  239. package/dist/index218.js.map +1 -1
  240. package/dist/index219.js +10 -5
  241. package/dist/index219.js.map +1 -1
  242. package/dist/index220.js +11 -6
  243. package/dist/index220.js.map +1 -1
  244. package/dist/index221.js +11 -7
  245. package/dist/index221.js.map +1 -1
  246. package/dist/index222.js +10 -6
  247. package/dist/index222.js.map +1 -1
  248. package/dist/index223.js +7 -55
  249. package/dist/index223.js.map +1 -1
  250. package/dist/index224.js +6 -16
  251. package/dist/index224.js.map +1 -1
  252. package/dist/index225.js +5 -7
  253. package/dist/index225.js.map +1 -1
  254. package/dist/index226.js +6 -10
  255. package/dist/index226.js.map +1 -1
  256. package/dist/index227.js +7 -10
  257. package/dist/index227.js.map +1 -1
  258. package/dist/index228.js +6 -21
  259. package/dist/index228.js.map +1 -1
  260. package/dist/index229.js +55 -10
  261. package/dist/index229.js.map +1 -1
  262. package/dist/index230.js +16 -9
  263. package/dist/index230.js.map +1 -1
  264. package/dist/index231.js +7 -9
  265. package/dist/index231.js.map +1 -1
  266. package/dist/index232.js +10 -4
  267. package/dist/index232.js.map +1 -1
  268. package/dist/index233.js +10 -5
  269. package/dist/index233.js.map +1 -1
  270. package/dist/index234.js +21 -16
  271. package/dist/index234.js.map +1 -1
  272. package/dist/index235.js +10 -9
  273. package/dist/index235.js.map +1 -1
  274. package/dist/index236.js +9 -18
  275. package/dist/index236.js.map +1 -1
  276. package/dist/index237.js +9 -15
  277. package/dist/index237.js.map +1 -1
  278. package/dist/index238.js +4 -12
  279. package/dist/index238.js.map +1 -1
  280. package/dist/index239.js +5 -29
  281. package/dist/index239.js.map +1 -1
  282. package/dist/index24.js +1 -1
  283. package/dist/index240.js +15 -11
  284. package/dist/index240.js.map +1 -1
  285. package/dist/index241.js +9 -25
  286. package/dist/index241.js.map +1 -1
  287. package/dist/index242.js +18 -5
  288. package/dist/index242.js.map +1 -1
  289. package/dist/index243.js +15 -24
  290. package/dist/index243.js.map +1 -1
  291. package/dist/index244.js +13 -29
  292. package/dist/index244.js.map +1 -1
  293. package/dist/index245.js +30 -5
  294. package/dist/index245.js.map +1 -1
  295. package/dist/index246.js +12 -13
  296. package/dist/index246.js.map +1 -1
  297. package/dist/index247.js +23 -152
  298. package/dist/index247.js.map +1 -1
  299. package/dist/index248.js +5 -30
  300. package/dist/index248.js.map +1 -1
  301. package/dist/index249.js +13 -9
  302. package/dist/index249.js.map +1 -1
  303. package/dist/index250.js +147 -40
  304. package/dist/index250.js.map +1 -1
  305. package/dist/index251.js +29 -10
  306. package/dist/index251.js.map +1 -1
  307. package/dist/index252.js +9 -44
  308. package/dist/index252.js.map +1 -1
  309. package/dist/index253.js +40 -88
  310. package/dist/index253.js.map +1 -1
  311. package/dist/index254.js +10 -85
  312. package/dist/index254.js.map +1 -1
  313. package/dist/index255.js +41 -102
  314. package/dist/index255.js.map +1 -1
  315. package/dist/index256.js +88 -45
  316. package/dist/index256.js.map +1 -1
  317. package/dist/index257.js +85 -10
  318. package/dist/index257.js.map +1 -1
  319. package/dist/index258.js +96 -28
  320. package/dist/index258.js.map +1 -1
  321. package/dist/index259.js +52 -8
  322. package/dist/index259.js.map +1 -1
  323. package/dist/index260.js +11 -3
  324. package/dist/index260.js.map +1 -1
  325. package/dist/index261.js +37 -9
  326. package/dist/index261.js.map +1 -1
  327. package/dist/index262.js +8 -116
  328. package/dist/index262.js.map +1 -1
  329. package/dist/index263.js +115 -16
  330. package/dist/index263.js.map +1 -1
  331. package/dist/index264.js +17 -15
  332. package/dist/index264.js.map +1 -1
  333. package/dist/index265.js +12 -33
  334. package/dist/index265.js.map +1 -1
  335. package/dist/index266.js +3 -20
  336. package/dist/index266.js.map +1 -1
  337. package/dist/index267.js +36 -8
  338. package/dist/index267.js.map +1 -1
  339. package/dist/index268.js +19 -18
  340. package/dist/index268.js.map +1 -1
  341. package/dist/index269.js +9 -28
  342. package/dist/index269.js.map +1 -1
  343. package/dist/index270.js +7 -15
  344. package/dist/index270.js.map +1 -1
  345. package/dist/index271.js +17 -65
  346. package/dist/index271.js.map +1 -1
  347. package/dist/index272.js +26 -178
  348. package/dist/index272.js.map +1 -1
  349. package/dist/index273.js +14 -44
  350. package/dist/index273.js.map +1 -1
  351. package/dist/index274.js +5 -5
  352. package/dist/index274.js.map +1 -1
  353. package/dist/index275.js +3 -19
  354. package/dist/index275.js.map +1 -1
  355. package/dist/index276.js +23 -12
  356. package/dist/index276.js.map +1 -1
  357. package/dist/index277.js +113 -5
  358. package/dist/index277.js.map +1 -1
  359. package/dist/index278.js +16 -3
  360. package/dist/index278.js.map +1 -1
  361. package/dist/index279.js +522 -21
  362. package/dist/index279.js.map +1 -1
  363. package/dist/index280.js +127 -112
  364. package/dist/index280.js.map +1 -1
  365. package/dist/index281.js +133 -15
  366. package/dist/index281.js.map +1 -1
  367. package/dist/index282.js +4 -524
  368. package/dist/index282.js.map +1 -1
  369. package/dist/index283.js +18 -127
  370. package/dist/index283.js.map +1 -1
  371. package/dist/index284.js +12 -133
  372. package/dist/index284.js.map +1 -1
  373. package/dist/index285.js +1 -1
  374. package/dist/index286.js +64 -5
  375. package/dist/index286.js.map +1 -1
  376. package/dist/index287.js +69 -6
  377. package/dist/index287.js.map +1 -1
  378. package/dist/index288.js +9 -4
  379. package/dist/index288.js.map +1 -1
  380. package/dist/index289.js +14 -16
  381. package/dist/index289.js.map +1 -1
  382. package/dist/index290.js +65 -8
  383. package/dist/index290.js.map +1 -1
  384. package/dist/index291.js +5 -5
  385. package/dist/index291.js.map +1 -1
  386. package/dist/index292.js +5 -4
  387. package/dist/index292.js.map +1 -1
  388. package/dist/index293.js +4 -546
  389. package/dist/index293.js.map +1 -1
  390. package/dist/index294.js +16 -47
  391. package/dist/index294.js.map +1 -1
  392. package/dist/index295.js +8 -17
  393. package/dist/index295.js.map +1 -1
  394. package/dist/index296.js +5 -6
  395. package/dist/index296.js.map +1 -1
  396. package/dist/index297.js +4 -8
  397. package/dist/index297.js.map +1 -1
  398. package/dist/index298.js +545 -7
  399. package/dist/index298.js.map +1 -1
  400. package/dist/index299.js +47 -9
  401. package/dist/index299.js.map +1 -1
  402. package/dist/index300.js +17 -12
  403. package/dist/index300.js.map +1 -1
  404. package/dist/index301.js +6 -9
  405. package/dist/index301.js.map +1 -1
  406. package/dist/index302.js +8 -13
  407. package/dist/index302.js.map +1 -1
  408. package/dist/index303.js +7 -64
  409. package/dist/index303.js.map +1 -1
  410. package/dist/index304.js +9 -69
  411. package/dist/index304.js.map +1 -1
  412. package/dist/index305.js +13 -9
  413. package/dist/index305.js.map +1 -1
  414. package/dist/index306.js +10 -14
  415. package/dist/index306.js.map +1 -1
  416. package/dist/index307.js +14 -66
  417. package/dist/index307.js.map +1 -1
  418. package/dist/index308.js +3 -4
  419. package/dist/index308.js.map +1 -1
  420. package/dist/index309.js +23 -56
  421. package/dist/index309.js.map +1 -1
  422. package/dist/index31.js +5 -5
  423. package/dist/index310.js +5 -68
  424. package/dist/index310.js.map +1 -1
  425. package/dist/index311.js +55 -30
  426. package/dist/index311.js.map +1 -1
  427. package/dist/index312.js +68 -9
  428. package/dist/index312.js.map +1 -1
  429. package/dist/index313.js +26 -148
  430. package/dist/index313.js.map +1 -1
  431. package/dist/index314.js +9 -108
  432. package/dist/index314.js.map +1 -1
  433. package/dist/index315.js +153 -4
  434. package/dist/index315.js.map +1 -1
  435. package/dist/index316.js +108 -23
  436. package/dist/index316.js.map +1 -1
  437. package/dist/index317.js +22 -15
  438. package/dist/index317.js.map +1 -1
  439. package/dist/index318.js +12 -28
  440. package/dist/index318.js.map +1 -1
  441. package/dist/index319.js +27 -12
  442. package/dist/index319.js.map +1 -1
  443. package/dist/index32.js +24 -24
  444. package/dist/index320.js +5 -7
  445. package/dist/index320.js.map +1 -1
  446. package/dist/index321.js +15 -22
  447. package/dist/index321.js.map +1 -1
  448. package/dist/index322.js +28 -12
  449. package/dist/index322.js.map +1 -1
  450. package/dist/index323.js +12 -27
  451. package/dist/index323.js.map +1 -1
  452. package/dist/index324.js +7 -5
  453. package/dist/index324.js.map +1 -1
  454. package/dist/index33.js +3 -3
  455. package/dist/index35.js +1 -1
  456. package/dist/index39.js +1 -1
  457. package/dist/index40.js +2 -2
  458. package/dist/index43.js +2 -2
  459. package/dist/index44.js +20 -20
  460. package/dist/index48.js +1 -1
  461. package/dist/index49.js +1 -1
  462. package/dist/index52.js +1 -1
  463. package/dist/index53.js +1 -1
  464. package/dist/index54.js +205 -7
  465. package/dist/index54.js.map +1 -1
  466. package/dist/index55.js +3 -33
  467. package/dist/index55.js.map +1 -1
  468. package/dist/index56.js +5 -25
  469. package/dist/index56.js.map +1 -1
  470. package/dist/index57.js +47 -7
  471. package/dist/index57.js.map +1 -1
  472. package/dist/index58.js +26 -11
  473. package/dist/index58.js.map +1 -1
  474. package/dist/index59.js +51 -2
  475. package/dist/index59.js.map +1 -1
  476. package/dist/index6.js +126 -121
  477. package/dist/index6.js.map +1 -1
  478. package/dist/index60.js +8 -2
  479. package/dist/index60.js.map +1 -1
  480. package/dist/index61.js +15 -2
  481. package/dist/index61.js.map +1 -1
  482. package/dist/index62.js +134 -2
  483. package/dist/index62.js.map +1 -1
  484. package/dist/index63.js +10 -53
  485. package/dist/index63.js.map +1 -1
  486. package/dist/index64.js +203 -191
  487. package/dist/index64.js.map +1 -1
  488. package/dist/index65.js +13 -4
  489. package/dist/index65.js.map +1 -1
  490. package/dist/index66.js +33 -47
  491. package/dist/index66.js.map +1 -1
  492. package/dist/index67.js +43 -47
  493. package/dist/index67.js.map +1 -1
  494. package/dist/index68.js +7 -7
  495. package/dist/index68.js.map +1 -1
  496. package/dist/index69.js +48 -13
  497. package/dist/index69.js.map +1 -1
  498. package/dist/index70.js +4 -134
  499. package/dist/index70.js.map +1 -1
  500. package/dist/index71.js +5 -10
  501. package/dist/index71.js.map +1 -1
  502. package/dist/index72.js +27 -216
  503. package/dist/index72.js.map +1 -1
  504. package/dist/index73.js +50 -13
  505. package/dist/index73.js.map +1 -1
  506. package/dist/index74.js +9 -47
  507. package/dist/index74.js.map +1 -1
  508. package/dist/index75.js +2 -50
  509. package/dist/index75.js.map +1 -1
  510. package/dist/index76.js +2 -4
  511. package/dist/index76.js.map +1 -1
  512. package/dist/index77.js +11 -5
  513. package/dist/index77.js.map +1 -1
  514. package/dist/index78.js +2 -28
  515. package/dist/index78.js.map +1 -1
  516. package/dist/index79.js +2 -50
  517. package/dist/index79.js.map +1 -1
  518. package/dist/index80.js +6 -9
  519. package/dist/index80.js.map +1 -1
  520. package/dist/index81.js +7 -5
  521. package/dist/index81.js.map +1 -1
  522. package/dist/index82.js +4 -6
  523. package/dist/index82.js.map +1 -1
  524. package/dist/index83.js +53 -5
  525. package/dist/index83.js.map +1 -1
  526. package/dist/index84.js +47 -52
  527. package/dist/index84.js.map +1 -1
  528. package/dist/index85.js +205 -4
  529. package/dist/index85.js.map +1 -1
  530. package/dist/index86.js +22 -5
  531. package/dist/index86.js.map +1 -1
  532. package/dist/index87.js +24 -15
  533. package/dist/index87.js.map +1 -1
  534. package/dist/index88.js +399 -5
  535. package/dist/index88.js.map +1 -1
  536. package/dist/index89.js +46 -7
  537. package/dist/index89.js.map +1 -1
  538. package/dist/index90.js +604 -15
  539. package/dist/index90.js.map +1 -1
  540. package/dist/index91.js +52 -5
  541. package/dist/index91.js.map +1 -1
  542. package/dist/index92.js +4 -4
  543. package/dist/index92.js.map +1 -1
  544. package/dist/index93.js +4 -5
  545. package/dist/index93.js.map +1 -1
  546. package/dist/index94.js +15 -5
  547. package/dist/index94.js.map +1 -1
  548. package/dist/index95.js +4 -3
  549. package/dist/index95.js.map +1 -1
  550. package/dist/index96.js +6 -3
  551. package/dist/index96.js.map +1 -1
  552. package/dist/index97.js +15 -5
  553. package/dist/index97.js.map +1 -1
  554. package/dist/index98.js +4 -24
  555. package/dist/index98.js.map +1 -1
  556. package/dist/index99.js +4 -6
  557. package/dist/index99.js.map +1 -1
  558. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index323.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAQ;AACpB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACJ;AAAA,IACA,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAErB;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index323.js","sources":["../../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js"],"sourcesContent":["export function buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n const matchedString = matchResult[0];\n\n const parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n let value = args.valueCallback\n ? args.valueCallback(parseResult[0])\n : parseResult[0];\n\n // [TODO] I challenge you to fix the type\n value = options.valueCallback ? options.valueCallback(value) : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n"],"names":["buildMatchPatternFn","args","string","options","matchResult","matchedString","parseResult","value","rest"],"mappings":"AAAO,SAASA,EAAoBC,GAAM;AACxC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAcF,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACG,EAAa,QAAO;AACzB,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IAAcJ,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACK,EAAa,QAAO;AACzB,QAAIC,IAAQN,EAAK,gBACbA,EAAK,cAAcK,EAAY,CAAC,CAAC,IACjCA,EAAY,CAAC;AAGjB,IAAAC,IAAQJ,EAAQ,gBAAgBA,EAAQ,cAAcI,CAAK,IAAIA;AAE/D,UAAMC,IAAON,EAAO,MAAMG,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAE,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;","x_google_ignoreList":[0]}
package/dist/index324.js CHANGED
@@ -1,8 +1,10 @@
1
- var e = function() {
2
- if (typeof __webpack_nonce__ < "u")
3
- return __webpack_nonce__;
4
- };
1
+ function r(t) {
2
+ return (d = {}) => {
3
+ const n = d.width ? String(d.width) : t.defaultWidth;
4
+ return t.formats[n] || t.formats[t.defaultWidth];
5
+ };
6
+ }
5
7
  export {
6
- e as getNonce
8
+ r as buildFormatLongFn
7
9
  };
8
10
  //# sourceMappingURL=index324.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index324.js","sources":["../../../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index324.js","sources":["../../../node_modules/date-fns/locale/_lib/buildFormatLongFn.js"],"sourcesContent":["export function buildFormatLongFn(args) {\n return (options = {}) => {\n // TODO: Remove String()\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n"],"names":["buildFormatLongFn","args","options","width"],"mappings":"AAAO,SAASA,EAAkBC,GAAM;AACtC,SAAO,CAACC,IAAU,OAAO;AAEvB,UAAMC,IAAQD,EAAQ,QAAQ,OAAOA,EAAQ,KAAK,IAAID,EAAK;AAE3D,WADeA,EAAK,QAAQE,CAAK,KAAKF,EAAK,QAAQA,EAAK,YAAY;AAAA,EAEtE;AACF;","x_google_ignoreList":[0]}
package/dist/index33.js CHANGED
@@ -1,6 +1,6 @@
1
- import { defaultDateLib as A } from "./index111.js";
2
- import { rangeIncludesDate as p } from "./index131.js";
3
- import { isDatesArray as a, isDateRange as I, isDayOfWeekType as g, isDateInterval as k, isDateAfterType as O, isDateBeforeType as W } from "./index133.js";
1
+ import { defaultDateLib as A } from "./index118.js";
2
+ import { rangeIncludesDate as p } from "./index138.js";
3
+ import { isDatesArray as a, isDateRange as I, isDayOfWeekType as g, isDateInterval as k, isDateAfterType as O, isDateBeforeType as W } from "./index140.js";
4
4
  function b(f, n, r = A) {
5
5
  const t = Array.isArray(n) ? n : [n], { isSameDay: o, differenceInCalendarDays: i, isAfter: D } = r;
6
6
  return t.some((e) => {
package/dist/index35.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import M, { useMemo as A, useContext as de, createContext as Ne, useRef as P, useCallback as U, useEffect as O, memo as Dn, forwardRef as xn, useReducer as Cn, useState as K, cloneElement as Sn } from "react";
2
2
  import { unstable_batchedUpdates as Be, createPortal as Rn } from "react-dom";
3
3
  import { getOwnerDocument as me, getWindow as J, isKeyboardEvent as at, subtract as $e, add as ye, useUniqueId as Ue, useLatestValue as Ae, useNodeRef as Ke, useIsomorphicLayoutEffect as fe, getEventCoordinates as Xe, useEvent as lt, canUseDOM as ct, isDocument as Ut, isHTMLElement as He, isSVGElement as En, useLazyMemo as Me, usePrevious as je, CSS as rt, useInterval as An, findFirstFocusableNode as On, isWindow as ut, isNode as Nn } from "./index37.js";
4
- import { useAnnouncement as Mn, HiddenText as Tn, LiveRegion as Ln } from "./index63.js";
4
+ import { useAnnouncement as Mn, HiddenText as Tn, LiveRegion as Ln } from "./index83.js";
5
5
  const Ht = /* @__PURE__ */ Ne(null);
6
6
  function kn(e) {
7
7
  const t = de(Ht);
package/dist/index39.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCountryList as E } from "./index81.js";
1
+ import { getCountryList as E } from "./index80.js";
2
2
  import { getCountryCallingCode as s } from "./index43.js";
3
3
  const c = "US", u = E(), f = /* @__PURE__ */ new Map(), m = "__default_locale__", _ = Array.from(new Set(u.map((e) => s(e)))).sort((e, t) => t.length - e.length), O = _.reduce((e, t) => Math.max(e, t.length), 0), y = ["0011", "001", "011", "00", "810"];
4
4
  function R(e) {
package/dist/index40.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { MAX_DIAL_CODE_LENGTH as W, COMMON_IDD_PREFIXES as $, DEFAULT_COUNTRY as x, COUNTRY_DIAL_CODES as C } from "./index39.js";
2
2
  import { getCountryCallingCode as p } from "./index43.js";
3
- import { AsYouType as I } from "./index82.js";
4
- import { validatePhoneNumberLength as D } from "./index83.js";
3
+ import { AsYouType as I } from "./index81.js";
4
+ import { validatePhoneNumberLength as D } from "./index82.js";
5
5
  function g(t) {
6
6
  return t.replace(/\D/g, "");
7
7
  }
package/dist/index43.js CHANGED
@@ -1,5 +1,5 @@
1
- import t from "./index161.js";
2
- import { getCountryCallingCode as o } from "./index175.js";
1
+ import t from "./index162.js";
2
+ import { getCountryCallingCode as o } from "./index176.js";
3
3
  function n() {
4
4
  return t(o, arguments);
5
5
  }
package/dist/index44.js CHANGED
@@ -1,26 +1,26 @@
1
1
  import * as t from "react";
2
2
  import * as Re from "react-dom";
3
- import { clamp as Te } from "./index65.js";
4
- import { composeEventHandlers as R } from "./index54.js";
5
- import { createCollection as tt } from "./index66.js";
6
- import { useComposedRefs as j } from "./index56.js";
7
- import { createContextScope as ot } from "./index67.js";
8
- import { useDirection as nt } from "./index68.js";
3
+ import { clamp as Te } from "./index55.js";
4
+ import { composeEventHandlers as R } from "./index56.js";
5
+ import { createCollection as tt } from "./index57.js";
6
+ import { useComposedRefs as j } from "./index58.js";
7
+ import { createContextScope as ot } from "./index59.js";
8
+ import { useDirection as nt } from "./index60.js";
9
9
  import { DismissableLayer as rt } from "./index31.js";
10
- import { useFocusGuards as st } from "./index69.js";
11
- import { FocusScope as lt } from "./index70.js";
12
- import { useId as ye } from "./index71.js";
13
- import { createPopperScope as Ee, Root as ct, Anchor as it, Content as at, Arrow as dt } from "./index72.js";
14
- import { Portal as ut } from "./index73.js";
15
- import { Primitive as M } from "./index55.js";
16
- import { createSlot as pt } from "./index74.js";
17
- import { useCallbackRef as ft } from "./index57.js";
18
- import { useControllableState as Pe } from "./index75.js";
19
- import { useLayoutEffect as z } from "./index76.js";
20
- import { usePrevious as mt } from "./index77.js";
21
- import { VISUALLY_HIDDEN_STYLES as ht } from "./index78.js";
22
- import { hideOthers as vt } from "./index79.js";
23
- import gt from "./index80.js";
10
+ import { useFocusGuards as st } from "./index61.js";
11
+ import { FocusScope as lt } from "./index62.js";
12
+ import { useId as ye } from "./index63.js";
13
+ import { createPopperScope as Ee, Root as ct, Anchor as it, Content as at, Arrow as dt } from "./index64.js";
14
+ import { Portal as ut } from "./index65.js";
15
+ import { Primitive as M } from "./index66.js";
16
+ import { createSlot as pt } from "./index67.js";
17
+ import { useCallbackRef as ft } from "./index68.js";
18
+ import { useControllableState as Pe } from "./index69.js";
19
+ import { useLayoutEffect as z } from "./index70.js";
20
+ import { usePrevious as mt } from "./index71.js";
21
+ import { VISUALLY_HIDDEN_STYLES as ht } from "./index72.js";
22
+ import { hideOthers as vt } from "./index73.js";
23
+ import gt from "./index74.js";
24
24
  import { j as d } from "./index30.js";
25
25
  var St = [" ", "Enter", "ArrowUp", "ArrowDown"], xt = [" ", "Enter"], J = "Select", [ie, ae, wt] = tt(J), [te] = ot(J, [
26
26
  wt,
package/dist/index48.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index59.js";
1
+ import { __exports as e } from "./index75.js";
2
2
  import o from "react";
3
3
  var r;
4
4
  function n() {
package/dist/index49.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index60.js";
1
+ import { __exports as e } from "./index76.js";
2
2
  import a from "react";
3
3
  var n;
4
4
  function l() {
package/dist/index52.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index61.js";
1
+ import { __exports as e } from "./index78.js";
2
2
  var s;
3
3
  function a() {
4
4
  if (s) return e;
package/dist/index53.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as s } from "./index62.js";
1
+ import { __exports as s } from "./index79.js";
2
2
  import J from "react";
3
3
  var j;
4
4
  function Z() {
package/dist/index54.js CHANGED
@@ -1,10 +1,208 @@
1
- function f(n, r, { checkForDefaultPrevented: t = !0 } = {}) {
2
- return function(e) {
3
- if (n?.(e), t === !1 || !e.defaultPrevented)
4
- return r?.(e);
5
- };
6
- }
1
+ import * as p from "react";
2
+ import { composeEventHandlers as m } from "./index56.js";
3
+ import { composeRefs as C } from "./index58.js";
4
+ import { createContextScope as E } from "./index59.js";
5
+ import { useControllableState as S } from "./index69.js";
6
+ import { Primitive as P } from "./index66.js";
7
+ import { createMenuScope as D, Anchor as y, Item as O, Root as T, Portal as j, Content as G, Group as k, Label as L, CheckboxItem as K, RadioGroup as U, RadioItem as B, ItemIndicator as F, Separator as H, Arrow as W, SubTrigger as $, SubContent as X } from "./index90.js";
8
+ import { useId as g } from "./index63.js";
9
+ import { j as a } from "./index30.js";
10
+ var f = "DropdownMenu", [q] = E(
11
+ f,
12
+ [D]
13
+ ), s = D(), [z, v] = q(f), _ = (o) => {
14
+ const {
15
+ __scopeDropdownMenu: n,
16
+ children: r,
17
+ dir: e,
18
+ open: t,
19
+ defaultOpen: i,
20
+ onOpenChange: u,
21
+ modal: d = !0
22
+ } = o, c = s(n), M = p.useRef(null), [l, w] = S({
23
+ prop: t,
24
+ defaultProp: i ?? !1,
25
+ onChange: u,
26
+ caller: f
27
+ });
28
+ return /* @__PURE__ */ a.jsx(
29
+ z,
30
+ {
31
+ scope: n,
32
+ triggerId: g(),
33
+ triggerRef: M,
34
+ contentId: g(),
35
+ open: l,
36
+ onOpenChange: w,
37
+ onOpenToggle: p.useCallback(() => w((A) => !A), [w]),
38
+ modal: d,
39
+ children: /* @__PURE__ */ a.jsx(T, { ...c, open: l, onOpenChange: w, dir: e, modal: d, children: r })
40
+ }
41
+ );
42
+ };
43
+ _.displayName = f;
44
+ var x = "DropdownMenuTrigger", R = p.forwardRef(
45
+ (o, n) => {
46
+ const { __scopeDropdownMenu: r, disabled: e = !1, ...t } = o, i = v(x, r), u = s(r);
47
+ return /* @__PURE__ */ a.jsx(y, { asChild: !0, ...u, children: /* @__PURE__ */ a.jsx(
48
+ P.button,
49
+ {
50
+ type: "button",
51
+ id: i.triggerId,
52
+ "aria-haspopup": "menu",
53
+ "aria-expanded": i.open,
54
+ "aria-controls": i.open ? i.contentId : void 0,
55
+ "data-state": i.open ? "open" : "closed",
56
+ "data-disabled": e ? "" : void 0,
57
+ disabled: e,
58
+ ...t,
59
+ ref: C(n, i.triggerRef),
60
+ onPointerDown: m(o.onPointerDown, (d) => {
61
+ !e && d.button === 0 && d.ctrlKey === !1 && (i.onOpenToggle(), i.open || d.preventDefault());
62
+ }),
63
+ onKeyDown: m(o.onKeyDown, (d) => {
64
+ e || (["Enter", " "].includes(d.key) && i.onOpenToggle(), d.key === "ArrowDown" && i.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(d.key) && d.preventDefault());
65
+ })
66
+ }
67
+ ) });
68
+ }
69
+ );
70
+ R.displayName = x;
71
+ var J = "DropdownMenuPortal", h = (o) => {
72
+ const { __scopeDropdownMenu: n, ...r } = o, e = s(n);
73
+ return /* @__PURE__ */ a.jsx(j, { ...e, ...r });
74
+ };
75
+ h.displayName = J;
76
+ var I = "DropdownMenuContent", N = p.forwardRef(
77
+ (o, n) => {
78
+ const { __scopeDropdownMenu: r, ...e } = o, t = v(I, r), i = s(r), u = p.useRef(!1);
79
+ return /* @__PURE__ */ a.jsx(
80
+ G,
81
+ {
82
+ id: t.contentId,
83
+ "aria-labelledby": t.triggerId,
84
+ ...i,
85
+ ...e,
86
+ ref: n,
87
+ onCloseAutoFocus: m(o.onCloseAutoFocus, (d) => {
88
+ u.current || t.triggerRef.current?.focus(), u.current = !1, d.preventDefault();
89
+ }),
90
+ onInteractOutside: m(o.onInteractOutside, (d) => {
91
+ const c = d.detail.originalEvent, M = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || M;
92
+ (!t.modal || l) && (u.current = !0);
93
+ }),
94
+ style: {
95
+ ...o.style,
96
+ "--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
97
+ "--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
98
+ "--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
99
+ "--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
100
+ "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
101
+ }
102
+ }
103
+ );
104
+ }
105
+ );
106
+ N.displayName = I;
107
+ var Q = "DropdownMenuGroup", V = p.forwardRef(
108
+ (o, n) => {
109
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
110
+ return /* @__PURE__ */ a.jsx(k, { ...t, ...e, ref: n });
111
+ }
112
+ );
113
+ V.displayName = Q;
114
+ var Y = "DropdownMenuLabel", Z = p.forwardRef(
115
+ (o, n) => {
116
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
117
+ return /* @__PURE__ */ a.jsx(L, { ...t, ...e, ref: n });
118
+ }
119
+ );
120
+ Z.displayName = Y;
121
+ var oo = "DropdownMenuItem", b = p.forwardRef(
122
+ (o, n) => {
123
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
124
+ return /* @__PURE__ */ a.jsx(O, { ...t, ...e, ref: n });
125
+ }
126
+ );
127
+ b.displayName = oo;
128
+ var eo = "DropdownMenuCheckboxItem", ro = p.forwardRef((o, n) => {
129
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
130
+ return /* @__PURE__ */ a.jsx(K, { ...t, ...e, ref: n });
131
+ });
132
+ ro.displayName = eo;
133
+ var no = "DropdownMenuRadioGroup", to = p.forwardRef((o, n) => {
134
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
135
+ return /* @__PURE__ */ a.jsx(U, { ...t, ...e, ref: n });
136
+ });
137
+ to.displayName = no;
138
+ var ao = "DropdownMenuRadioItem", po = p.forwardRef((o, n) => {
139
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
140
+ return /* @__PURE__ */ a.jsx(B, { ...t, ...e, ref: n });
141
+ });
142
+ po.displayName = ao;
143
+ var so = "DropdownMenuItemIndicator", io = p.forwardRef((o, n) => {
144
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
145
+ return /* @__PURE__ */ a.jsx(F, { ...t, ...e, ref: n });
146
+ });
147
+ io.displayName = so;
148
+ var uo = "DropdownMenuSeparator", co = p.forwardRef((o, n) => {
149
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
150
+ return /* @__PURE__ */ a.jsx(H, { ...t, ...e, ref: n });
151
+ });
152
+ co.displayName = uo;
153
+ var lo = "DropdownMenuArrow", wo = p.forwardRef(
154
+ (o, n) => {
155
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
156
+ return /* @__PURE__ */ a.jsx(W, { ...t, ...e, ref: n });
157
+ }
158
+ );
159
+ wo.displayName = lo;
160
+ var mo = "DropdownMenuSubTrigger", fo = p.forwardRef((o, n) => {
161
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
162
+ return /* @__PURE__ */ a.jsx($, { ...t, ...e, ref: n });
163
+ });
164
+ fo.displayName = mo;
165
+ var Mo = "DropdownMenuSubContent", go = p.forwardRef((o, n) => {
166
+ const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
167
+ return /* @__PURE__ */ a.jsx(
168
+ X,
169
+ {
170
+ ...t,
171
+ ...e,
172
+ ref: n,
173
+ style: {
174
+ ...o.style,
175
+ "--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
176
+ "--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
177
+ "--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
178
+ "--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
179
+ "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
180
+ }
181
+ }
182
+ );
183
+ });
184
+ go.displayName = Mo;
185
+ var bo = _, Ao = R, Co = h, Eo = N, So = b;
7
186
  export {
8
- f as composeEventHandlers
187
+ Eo as Content,
188
+ _ as DropdownMenu,
189
+ wo as DropdownMenuArrow,
190
+ ro as DropdownMenuCheckboxItem,
191
+ N as DropdownMenuContent,
192
+ V as DropdownMenuGroup,
193
+ b as DropdownMenuItem,
194
+ io as DropdownMenuItemIndicator,
195
+ Z as DropdownMenuLabel,
196
+ h as DropdownMenuPortal,
197
+ to as DropdownMenuRadioGroup,
198
+ po as DropdownMenuRadioItem,
199
+ co as DropdownMenuSeparator,
200
+ go as DropdownMenuSubContent,
201
+ fo as DropdownMenuSubTrigger,
202
+ R as DropdownMenuTrigger,
203
+ So as Item,
204
+ Co as Portal,
205
+ bo as Root,
206
+ Ao as Trigger
9
207
  };
10
208
  //# sourceMappingURL=index54.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index54.js","sources":["../../../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AAEA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAI,IAAK,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,IAAuBG,CAAK,GACxBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,IAAkBE,CAAK;AAAA,EAElC;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index54.js","sources":["../../../node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dropdown-menu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as MenuPrimitive from \"@radix-ui/react-menu\";\nimport { createMenuScope } from \"@radix-ui/react-menu\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DROPDOWN_MENU_NAME = \"DropdownMenu\";\nvar [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(\n DROPDOWN_MENU_NAME,\n [createMenuScope]\n);\nvar useMenuScope = createMenuScope();\nvar [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(DROPDOWN_MENU_NAME);\nvar DropdownMenu = (props) => {\n const {\n __scopeDropdownMenu,\n children,\n dir,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const triggerRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DROPDOWN_MENU_NAME\n });\n return /* @__PURE__ */ jsx(\n DropdownMenuProvider,\n {\n scope: __scopeDropdownMenu,\n triggerId: useId(),\n triggerRef,\n contentId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children: /* @__PURE__ */ jsx(MenuPrimitive.Root, { ...menuScope, open, onOpenChange: setOpen, dir, modal, children })\n }\n );\n};\nDropdownMenu.displayName = DROPDOWN_MENU_NAME;\nvar TRIGGER_NAME = \"DropdownMenuTrigger\";\nvar DropdownMenuTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, disabled = false, ...triggerProps } = props;\n const context = useDropdownMenuContext(TRIGGER_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Anchor, { asChild: true, ...menuScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n id: context.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.open ? context.contentId : void 0,\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n ...triggerProps,\n ref: composeRefs(forwardedRef, context.triggerRef),\n onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {\n if (!disabled && event.button === 0 && event.ctrlKey === false) {\n context.onOpenToggle();\n if (!context.open) event.preventDefault();\n }\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (disabled) return;\n if ([\"Enter\", \" \"].includes(event.key)) context.onOpenToggle();\n if (event.key === \"ArrowDown\") context.onOpenChange(true);\n if ([\"Enter\", \" \", \"ArrowDown\"].includes(event.key)) event.preventDefault();\n })\n }\n ) });\n }\n);\nDropdownMenuTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DropdownMenuPortal\";\nvar DropdownMenuPortal = (props) => {\n const { __scopeDropdownMenu, ...portalProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { ...menuScope, ...portalProps });\n};\nDropdownMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"DropdownMenuContent\";\nvar DropdownMenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...contentProps } = props;\n const context = useDropdownMenuContext(CONTENT_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const hasInteractedOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.Content,\n {\n id: context.contentId,\n \"aria-labelledby\": context.triggerId,\n ...menuScope,\n ...contentProps,\n ref: forwardedRef,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n hasInteractedOutsideRef.current = false;\n event.preventDefault();\n }),\n onInteractOutside: composeEventHandlers(props.onInteractOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!context.modal || isRightClick) hasInteractedOutsideRef.current = true;\n }),\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n }\n);\nDropdownMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"DropdownMenuGroup\";\nvar DropdownMenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...groupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Group, { ...menuScope, ...groupProps, ref: forwardedRef });\n }\n);\nDropdownMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"DropdownMenuLabel\";\nvar DropdownMenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...labelProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Label, { ...menuScope, ...labelProps, ref: forwardedRef });\n }\n);\nDropdownMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"DropdownMenuItem\";\nvar DropdownMenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Item, { ...menuScope, ...itemProps, ref: forwardedRef });\n }\n);\nDropdownMenuItem.displayName = ITEM_NAME;\nvar CHECKBOX_ITEM_NAME = \"DropdownMenuCheckboxItem\";\nvar DropdownMenuCheckboxItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...checkboxItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.CheckboxItem, { ...menuScope, ...checkboxItemProps, ref: forwardedRef });\n});\nDropdownMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"DropdownMenuRadioGroup\";\nvar DropdownMenuRadioGroup = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioGroupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioGroup, { ...menuScope, ...radioGroupProps, ref: forwardedRef });\n});\nDropdownMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"DropdownMenuRadioItem\";\nvar DropdownMenuRadioItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioItem, { ...menuScope, ...radioItemProps, ref: forwardedRef });\n});\nDropdownMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar INDICATOR_NAME = \"DropdownMenuItemIndicator\";\nvar DropdownMenuItemIndicator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemIndicatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { ...menuScope, ...itemIndicatorProps, ref: forwardedRef });\n});\nDropdownMenuItemIndicator.displayName = INDICATOR_NAME;\nvar SEPARATOR_NAME = \"DropdownMenuSeparator\";\nvar DropdownMenuSeparator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...separatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Separator, { ...menuScope, ...separatorProps, ref: forwardedRef });\n});\nDropdownMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"DropdownMenuArrow\";\nvar DropdownMenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...arrowProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Arrow, { ...menuScope, ...arrowProps, ref: forwardedRef });\n }\n);\nDropdownMenuArrow.displayName = ARROW_NAME;\nvar DropdownMenuSub = (props) => {\n const { __scopeDropdownMenu, children, open: openProp, onOpenChange, defaultOpen } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: \"DropdownMenuSub\"\n });\n return /* @__PURE__ */ jsx(MenuPrimitive.Sub, { ...menuScope, open, onOpenChange: setOpen, children });\n};\nvar SUB_TRIGGER_NAME = \"DropdownMenuSubTrigger\";\nvar DropdownMenuSubTrigger = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subTriggerProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.SubTrigger, { ...menuScope, ...subTriggerProps, ref: forwardedRef });\n});\nDropdownMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"DropdownMenuSubContent\";\nvar DropdownMenuSubContent = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subContentProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.SubContent,\n {\n ...menuScope,\n ...subContentProps,\n ref: forwardedRef,\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n});\nDropdownMenuSubContent.displayName = SUB_CONTENT_NAME;\nvar Root2 = DropdownMenu;\nvar Trigger = DropdownMenuTrigger;\nvar Portal2 = DropdownMenuPortal;\nvar Content2 = DropdownMenuContent;\nvar Group2 = DropdownMenuGroup;\nvar Label2 = DropdownMenuLabel;\nvar Item2 = DropdownMenuItem;\nvar CheckboxItem2 = DropdownMenuCheckboxItem;\nvar RadioGroup2 = DropdownMenuRadioGroup;\nvar RadioItem2 = DropdownMenuRadioItem;\nvar ItemIndicator2 = DropdownMenuItemIndicator;\nvar Separator2 = DropdownMenuSeparator;\nvar Arrow2 = DropdownMenuArrow;\nvar Sub2 = DropdownMenuSub;\nvar SubTrigger2 = DropdownMenuSubTrigger;\nvar SubContent2 = DropdownMenuSubContent;\nexport {\n Arrow2 as Arrow,\n CheckboxItem2 as CheckboxItem,\n Content2 as Content,\n DropdownMenu,\n DropdownMenuArrow,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuItemIndicator,\n DropdownMenuLabel,\n DropdownMenuPortal,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n Group2 as Group,\n Item2 as Item,\n ItemIndicator2 as ItemIndicator,\n Label2 as Label,\n Portal2 as Portal,\n RadioGroup2 as RadioGroup,\n RadioItem2 as RadioItem,\n Root2 as Root,\n Separator2 as Separator,\n Sub2 as Sub,\n SubContent2 as SubContent,\n SubTrigger2 as SubTrigger,\n Trigger,\n createDropdownMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DROPDOWN_MENU_NAME","createDropdownMenuContext","createContextScope","createMenuScope","useMenuScope","DropdownMenuProvider","useDropdownMenuContext","DropdownMenu","props","__scopeDropdownMenu","children","dir","openProp","defaultOpen","onOpenChange","modal","menuScope","triggerRef","React","open","setOpen","useControllableState","jsx","useId","prevOpen","MenuPrimitive.Root","TRIGGER_NAME","DropdownMenuTrigger","forwardedRef","disabled","triggerProps","context","MenuPrimitive.Anchor","Primitive","composeRefs","composeEventHandlers","event","PORTAL_NAME","DropdownMenuPortal","portalProps","MenuPrimitive.Portal","CONTENT_NAME","DropdownMenuContent","contentProps","hasInteractedOutsideRef","MenuPrimitive.Content","originalEvent","ctrlLeftClick","isRightClick","GROUP_NAME","DropdownMenuGroup","groupProps","MenuPrimitive.Group","LABEL_NAME","DropdownMenuLabel","labelProps","MenuPrimitive.Label","ITEM_NAME","DropdownMenuItem","itemProps","MenuPrimitive.Item","CHECKBOX_ITEM_NAME","DropdownMenuCheckboxItem","checkboxItemProps","MenuPrimitive.CheckboxItem","RADIO_GROUP_NAME","DropdownMenuRadioGroup","radioGroupProps","MenuPrimitive.RadioGroup","RADIO_ITEM_NAME","DropdownMenuRadioItem","radioItemProps","MenuPrimitive.RadioItem","INDICATOR_NAME","DropdownMenuItemIndicator","itemIndicatorProps","MenuPrimitive.ItemIndicator","SEPARATOR_NAME","DropdownMenuSeparator","separatorProps","MenuPrimitive.Separator","ARROW_NAME","DropdownMenuArrow","arrowProps","MenuPrimitive.Arrow","SUB_TRIGGER_NAME","DropdownMenuSubTrigger","subTriggerProps","MenuPrimitive.SubTrigger","SUB_CONTENT_NAME","DropdownMenuSubContent","subContentProps","MenuPrimitive.SubContent","Root2","Trigger","Portal2","Content2","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AAc;AAAA,EACpG;AACF;AACAsD,GAAkB,cAAcD;AAYhC,IAAII,KAAmB,0BACnBC,KAAyBpE,EAAM,WAAW,CAACV,GAAOoB,MAAiB;AACrE,QAAM,EAAE,qBAAAnB,GAAqB,GAAG8E,EAAe,IAAK/E,GAC9CQ,IAAYZ,EAAaK,CAAmB;AAClD,SAAuBa,gBAAAA,EAAAA,IAAIkE,GAA0B,EAAE,GAAGxE,GAAW,GAAGuE,GAAiB,KAAK3D,GAAc;AAC9G,CAAC;AACD0D,GAAuB,cAAcD;AACrC,IAAII,KAAmB,0BACnBC,KAAyBxE,EAAM,WAAW,CAACV,GAAOoB,MAAiB;AACrE,QAAM,EAAE,qBAAAnB,GAAqB,GAAGkF,EAAe,IAAKnF,GAC9CQ,IAAYZ,EAAaK,CAAmB;AAClD,SAAuBa,gBAAAA,EAAAA;AAAAA,IACrBsE;AAAAA,IACA;AAAA,MACE,GAAG5E;AAAA,MACH,GAAG2E;AAAA,MACH,KAAK/D;AAAA,MACL,OAAO;AAAA,QACL,GAAGpB,EAAM;AAAA,QAGP,kDAAkD;AAAA,QAClD,iDAAiD;AAAA,QACjD,kDAAkD;AAAA,QAClD,uCAAuC;AAAA,QACvC,wCAAwC;AAAA,MAElD;AAAA,IACA;AAAA,EACA;AACA,CAAC;AACDkF,GAAuB,cAAcD;AAClC,IAACI,KAAQtF,GACRuF,KAAUnE,GACVoE,KAAUzD,GACV0D,KAAWtD,GAGXuD,KAAQvC;","x_google_ignoreList":[0]}
package/dist/index55.js CHANGED
@@ -1,37 +1,7 @@
1
- import * as p from "react";
2
- import * as f from "react-dom";
3
- import { createSlot as c } from "./index155.js";
4
- import { j as u } from "./index30.js";
5
- var l = [
6
- "a",
7
- "button",
8
- "div",
9
- "form",
10
- "h2",
11
- "h3",
12
- "img",
13
- "input",
14
- "label",
15
- "li",
16
- "nav",
17
- "ol",
18
- "p",
19
- "select",
20
- "span",
21
- "svg",
22
- "ul"
23
- ], h = l.reduce((t, i) => {
24
- const o = c(`Primitive.${i}`), r = p.forwardRef((e, s) => {
25
- const { asChild: m, ...a } = e, n = m ? o : i;
26
- return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(n, { ...a, ref: s });
27
- });
28
- return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
29
- }, {});
30
- function w(t, i) {
31
- t && f.flushSync(() => t.dispatchEvent(i));
1
+ function m(t, [a, n]) {
2
+ return Math.min(n, Math.max(a, t));
32
3
  }
33
4
  export {
34
- h as Primitive,
35
- w as dispatchDiscreteCustomEvent
5
+ m as clamp
36
6
  };
37
7
  //# sourceMappingURL=index55.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index55.js","sources":["../../../node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Slot","createSlot","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":";;;;AAKA,IAAIA,IAAQ;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAOC,EAAW,aAAaF,CAAI,EAAE,GACrCG,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAC,GAAS,GAAGC,EAAc,IAAKH,GACjCI,IAAOF,IAAUN,IAAOD;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,uBAAO,IAAI,UAAU,CAAC,IAAI,KAEZU,gBAAAA,EAAAA,IAAID,GAAM,EAAE,GAAGD,GAAgB,KAAKF,GAAc;AAAA,EAC3E,CAAC;AACD,SAAAH,EAAK,cAAc,aAAaH,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGG,EAAI;AACrC,GAAG,CAAA,CAAE;AACL,SAASQ,EAA4BC,GAAQC,GAAO;AAClD,EAAID,KAAQE,EAAS,UAAU,MAAMF,EAAO,cAAcC,CAAK,CAAC;AAClE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index55.js","sources":["../../../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"AACA,SAASA,EAAMC,GAAO,CAACC,GAAKC,CAAG,GAAG;AAChC,SAAO,KAAK,IAAIA,GAAK,KAAK,IAAID,GAAKD,CAAK,CAAC;AAC3C;","x_google_ignoreList":[0]}
package/dist/index56.js CHANGED
@@ -1,30 +1,10 @@
1
- import * as f from "react";
2
- function l(n, o) {
3
- if (typeof n == "function")
4
- return n(o);
5
- n != null && (n.current = o);
6
- }
7
- function i(...n) {
8
- return (o) => {
9
- let u = !1;
10
- const c = n.map((t) => {
11
- const e = l(t, o);
12
- return !u && typeof e == "function" && (u = !0), e;
13
- });
14
- if (u)
15
- return () => {
16
- for (let t = 0; t < c.length; t++) {
17
- const e = c[t];
18
- typeof e == "function" ? e() : l(n[t], null);
19
- }
20
- };
1
+ function f(n, r, { checkForDefaultPrevented: t = !0 } = {}) {
2
+ return function(e) {
3
+ if (n?.(e), t === !1 || !e.defaultPrevented)
4
+ return r?.(e);
21
5
  };
22
6
  }
23
- function s(...n) {
24
- return f.useCallback(i(...n), n);
25
- }
26
7
  export {
27
- i as composeRefs,
28
- s as useComposedRefs
8
+ f as composeEventHandlers
29
9
  };
30
10
  //# sourceMappingURL=index56.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index56.js","sources":["../../../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACT,CAAC;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAO,IAEPR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAExB;AAAA,MACF;AAAA,EAEJ;AACF;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index56.js","sources":["../../../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AAEA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAI,IAAK,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,IAAuBG,CAAK,GACxBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,IAAkBE,CAAK;AAAA,EAElC;AACF;","x_google_ignoreList":[0]}
package/dist/index57.js CHANGED
@@ -1,11 +1,51 @@
1
- import * as e from "react";
2
- function c(r) {
3
- const t = e.useRef(r);
4
- return e.useEffect(() => {
5
- t.current = r;
6
- }), e.useMemo(() => (...u) => t.current?.(...u), []);
1
+ import r from "react";
2
+ import { createContextScope as y } from "./index59.js";
3
+ import { useComposedRefs as S } from "./index58.js";
4
+ import { createSlot as M } from "./index84.js";
5
+ import { j as d } from "./index30.js";
6
+ function D(s) {
7
+ const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
8
+ m,
9
+ { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
10
+ ), p = (c) => {
11
+ const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
12
+ return /* @__PURE__ */ d.jsx(N, { scope: e, itemMap: t, collectionRef: o, children: l });
13
+ };
14
+ p.displayName = m;
15
+ const a = s + "CollectionSlot", _ = M(a), C = r.forwardRef(
16
+ (c, e) => {
17
+ const { scope: l, children: o } = c, t = f(a, l), n = S(e, t.collectionRef);
18
+ return /* @__PURE__ */ d.jsx(_, { ref: n, children: o });
19
+ }
20
+ );
21
+ C.displayName = a;
22
+ const u = s + "CollectionItemSlot", R = "data-radix-collection-item", T = M(u), x = r.forwardRef(
23
+ (c, e) => {
24
+ const { scope: l, children: o, ...t } = c, n = r.useRef(null), I = S(e, n), i = f(u, l);
25
+ return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => {
26
+ i.itemMap.delete(n);
27
+ })), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
28
+ }
29
+ );
30
+ x.displayName = u;
31
+ function O(c) {
32
+ const e = f(s + "CollectionConsumer", c);
33
+ return r.useCallback(() => {
34
+ const o = e.collectionRef.current;
35
+ if (!o) return [];
36
+ const t = Array.from(o.querySelectorAll(`[${R}]`));
37
+ return Array.from(e.itemMap.values()).sort(
38
+ (i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
39
+ );
40
+ }, [e.collectionRef, e.itemMap]);
41
+ }
42
+ return [
43
+ { Provider: p, Slot: C, ItemSlot: x },
44
+ O,
45
+ E
46
+ ];
7
47
  }
8
48
  export {
9
- c as useCallbackRef
49
+ D as createCollection
10
50
  };
11
51
  //# sourceMappingURL=index57.js.map