@rpcbase/ui 0.199.0 → 0.201.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 (492) hide show
  1. package/dist/index100.js +5 -4
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +4 -605
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +9 -52
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +5 -4
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +3 -3
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +4 -15
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +5 -4
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +145 -7
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +39 -16
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +4 -4
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +7 -4
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +13 -5
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +13 -5
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +7 -4
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +31 -4
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +10 -6
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +10 -24
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +8 -6
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +13 -4
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +101 -6
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +20 -6
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +53 -4
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +72 -5
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +9 -4
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +20 -8
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +16 -5
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +23 -4
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +6 -4
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +5 -6
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +23 -145
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +34 -39
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +16 -5
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +6 -7
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +4 -13
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +4 -13
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +4 -7
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +4 -31
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +3 -10
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +6 -10
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +24 -9
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +7 -13
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +6 -101
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +6 -20
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +3 -53
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +3 -72
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +4 -9
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +3 -20
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +4 -16
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +3 -23
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +3 -6
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index150.js +3 -5
  102. package/dist/index150.js.map +1 -1
  103. package/dist/index151.js +42 -19
  104. package/dist/index151.js.map +1 -1
  105. package/dist/index152.js +45 -33
  106. package/dist/index152.js.map +1 -1
  107. package/dist/index153.js +206 -16
  108. package/dist/index153.js.map +1 -1
  109. package/dist/index154.js +22 -7
  110. package/dist/index154.js.map +1 -1
  111. package/dist/index155.js +24 -4
  112. package/dist/index155.js.map +1 -1
  113. package/dist/index156.js +399 -4
  114. package/dist/index156.js.map +1 -1
  115. package/dist/index157.js +605 -4
  116. package/dist/index157.js.map +1 -1
  117. package/dist/index158.js +5 -4
  118. package/dist/index158.js.map +1 -1
  119. package/dist/index159.js +68 -3
  120. package/dist/index159.js.map +1 -1
  121. package/dist/index160.js +2 -7
  122. package/dist/index160.js.map +1 -1
  123. package/dist/index161.js +364 -24
  124. package/dist/index161.js.map +1 -1
  125. package/dist/index162.js +261 -7
  126. package/dist/index162.js.map +1 -1
  127. package/dist/index163.js +60 -6
  128. package/dist/index163.js.map +1 -1
  129. package/dist/index164.js +46 -5
  130. package/dist/index164.js.map +1 -1
  131. package/dist/index165.js +169 -3
  132. package/dist/index165.js.map +1 -1
  133. package/dist/index166.js +109 -3
  134. package/dist/index166.js.map +1 -1
  135. package/dist/index167.js +24 -4
  136. package/dist/index167.js.map +1 -1
  137. package/dist/index168.js +8 -4
  138. package/dist/index168.js.map +1 -1
  139. package/dist/index169.js +4 -4
  140. package/dist/index169.js.map +1 -1
  141. package/dist/index170.js +5 -3
  142. package/dist/index170.js.map +1 -1
  143. package/dist/index171.js +4 -3
  144. package/dist/index171.js.map +1 -1
  145. package/dist/index172.js +466 -3
  146. package/dist/index172.js.map +1 -1
  147. package/dist/index173.js +183 -44
  148. package/dist/index173.js.map +1 -1
  149. package/dist/index174.js +103 -42
  150. package/dist/index174.js.map +1 -1
  151. package/dist/index175.js +253 -196
  152. package/dist/index175.js.map +1 -1
  153. package/dist/index176.js +10 -22
  154. package/dist/index176.js.map +1 -1
  155. package/dist/index177.js +42 -24
  156. package/dist/index177.js.map +1 -1
  157. package/dist/index178.js +4 -399
  158. package/dist/index178.js.map +1 -1
  159. package/dist/index179.js +58 -13
  160. package/dist/index179.js.map +1 -1
  161. package/dist/index180.js +8 -154
  162. package/dist/index180.js.map +1 -1
  163. package/dist/index181.js +64 -28
  164. package/dist/index181.js.map +1 -1
  165. package/dist/index182.js +19 -9
  166. package/dist/index182.js.map +1 -1
  167. package/dist/index183.js +14 -46
  168. package/dist/index183.js.map +1 -1
  169. package/dist/index184.js +5 -11
  170. package/dist/index184.js.map +1 -1
  171. package/dist/index185.js +4 -43
  172. package/dist/index185.js.map +1 -1
  173. package/dist/index186.js +6 -95
  174. package/dist/index186.js.map +1 -1
  175. package/dist/index187.js +4 -86
  176. package/dist/index187.js.map +1 -1
  177. package/dist/index188.js +7 -105
  178. package/dist/index188.js.map +1 -1
  179. package/dist/index189.js +17 -52
  180. package/dist/index189.js.map +1 -1
  181. package/dist/index190.js +5 -11
  182. package/dist/index190.js.map +1 -1
  183. package/dist/index191.js +5 -37
  184. package/dist/index191.js.map +1 -1
  185. package/dist/index192.js +13 -8
  186. package/dist/index192.js.map +1 -1
  187. package/dist/index193.js +10 -116
  188. package/dist/index193.js.map +1 -1
  189. package/dist/index194.js +14 -17
  190. package/dist/index194.js.map +1 -1
  191. package/dist/index195.js +14 -15
  192. package/dist/index195.js.map +1 -1
  193. package/dist/index196.js +5 -3
  194. package/dist/index196.js.map +1 -1
  195. package/dist/index197.js +6 -36
  196. package/dist/index197.js.map +1 -1
  197. package/dist/index198.js +7 -20
  198. package/dist/index198.js.map +1 -1
  199. package/dist/index199.js +6 -9
  200. package/dist/index199.js.map +1 -1
  201. package/dist/index200.js +9 -8
  202. package/dist/index200.js.map +1 -1
  203. package/dist/index201.js +5 -67
  204. package/dist/index201.js.map +1 -1
  205. package/dist/index202.js +5 -180
  206. package/dist/index202.js.map +1 -1
  207. package/dist/index203.js +9 -46
  208. package/dist/index203.js.map +1 -1
  209. package/dist/index204.js +5 -19
  210. package/dist/index204.js.map +1 -1
  211. package/dist/index205.js +5 -28
  212. package/dist/index205.js.map +1 -1
  213. package/dist/index206.js +4 -16
  214. package/dist/index206.js.map +1 -1
  215. package/dist/index207.js +11 -58
  216. package/dist/index207.js.map +1 -1
  217. package/dist/index208.js +10 -8
  218. package/dist/index208.js.map +1 -1
  219. package/dist/index209.js +10 -66
  220. package/dist/index209.js.map +1 -1
  221. package/dist/index210.js +11 -19
  222. package/dist/index210.js.map +1 -1
  223. package/dist/index211.js +11 -16
  224. package/dist/index211.js.map +1 -1
  225. package/dist/index212.js +10 -5
  226. package/dist/index212.js.map +1 -1
  227. package/dist/index213.js +7 -5
  228. package/dist/index213.js.map +1 -1
  229. package/dist/index214.js +6 -6
  230. package/dist/index214.js.map +1 -1
  231. package/dist/index215.js +5 -4
  232. package/dist/index215.js.map +1 -1
  233. package/dist/index216.js +6 -7
  234. package/dist/index216.js.map +1 -1
  235. package/dist/index217.js +7 -17
  236. package/dist/index217.js.map +1 -1
  237. package/dist/index218.js +6 -5
  238. package/dist/index218.js.map +1 -1
  239. package/dist/index219.js +55 -5
  240. package/dist/index219.js.map +1 -1
  241. package/dist/index220.js +16 -13
  242. package/dist/index220.js.map +1 -1
  243. package/dist/index221.js +7 -10
  244. package/dist/index221.js.map +1 -1
  245. package/dist/index222.js +10 -14
  246. package/dist/index222.js.map +1 -1
  247. package/dist/index223.js +10 -14
  248. package/dist/index223.js.map +1 -1
  249. package/dist/index224.js +21 -5
  250. package/dist/index224.js.map +1 -1
  251. package/dist/index225.js +10 -6
  252. package/dist/index225.js.map +1 -1
  253. package/dist/index226.js +9 -7
  254. package/dist/index226.js.map +1 -1
  255. package/dist/index227.js +9 -6
  256. package/dist/index227.js.map +1 -1
  257. package/dist/index228.js +4 -9
  258. package/dist/index228.js.map +1 -1
  259. package/dist/index229.js +5 -5
  260. package/dist/index229.js.map +1 -1
  261. package/dist/index230.js +16 -5
  262. package/dist/index230.js.map +1 -1
  263. package/dist/index231.js +9 -9
  264. package/dist/index231.js.map +1 -1
  265. package/dist/index232.js +18 -5
  266. package/dist/index232.js.map +1 -1
  267. package/dist/index233.js +15 -5
  268. package/dist/index233.js.map +1 -1
  269. package/dist/index234.js +12 -4
  270. package/dist/index234.js.map +1 -1
  271. package/dist/index235.js +29 -11
  272. package/dist/index235.js.map +1 -1
  273. package/dist/index236.js +12 -10
  274. package/dist/index236.js.map +1 -1
  275. package/dist/index237.js +25 -10
  276. package/dist/index237.js.map +1 -1
  277. package/dist/index238.js +5 -11
  278. package/dist/index238.js.map +1 -1
  279. package/dist/index239.js +24 -11
  280. package/dist/index239.js.map +1 -1
  281. package/dist/index24.js +1 -1
  282. package/dist/index240.js +29 -11
  283. package/dist/index240.js.map +1 -1
  284. package/dist/index241.js +5 -8
  285. package/dist/index241.js.map +1 -1
  286. package/dist/index242.js +67 -6
  287. package/dist/index242.js.map +1 -1
  288. package/dist/index243.js +180 -5
  289. package/dist/index243.js.map +1 -1
  290. package/dist/index244.js +46 -6
  291. package/dist/index244.js.map +1 -1
  292. package/dist/index245.js +13 -7
  293. package/dist/index245.js.map +1 -1
  294. package/dist/index246.js +154 -6
  295. package/dist/index246.js.map +1 -1
  296. package/dist/index247.js +28 -53
  297. package/dist/index247.js.map +1 -1
  298. package/dist/index248.js +9 -16
  299. package/dist/index248.js.map +1 -1
  300. package/dist/index249.js +48 -7
  301. package/dist/index249.js.map +1 -1
  302. package/dist/index250.js +11 -10
  303. package/dist/index250.js.map +1 -1
  304. package/dist/index251.js +43 -9
  305. package/dist/index251.js.map +1 -1
  306. package/dist/index252.js +93 -19
  307. package/dist/index252.js.map +1 -1
  308. package/dist/index253.js +86 -10
  309. package/dist/index253.js.map +1 -1
  310. package/dist/index254.js +105 -9
  311. package/dist/index254.js.map +1 -1
  312. package/dist/index255.js +52 -9
  313. package/dist/index255.js.map +1 -1
  314. package/dist/index256.js +11 -4
  315. package/dist/index256.js.map +1 -1
  316. package/dist/index257.js +37 -5
  317. package/dist/index257.js.map +1 -1
  318. package/dist/index258.js +8 -16
  319. package/dist/index258.js.map +1 -1
  320. package/dist/index259.js +116 -9
  321. package/dist/index259.js.map +1 -1
  322. package/dist/index260.js +17 -18
  323. package/dist/index260.js.map +1 -1
  324. package/dist/index261.js +15 -15
  325. package/dist/index261.js.map +1 -1
  326. package/dist/index262.js +3 -12
  327. package/dist/index262.js.map +1 -1
  328. package/dist/index263.js +35 -28
  329. package/dist/index263.js.map +1 -1
  330. package/dist/index264.js +19 -11
  331. package/dist/index264.js.map +1 -1
  332. package/dist/index265.js +9 -25
  333. package/dist/index265.js.map +1 -1
  334. package/dist/index266.js +8 -5
  335. package/dist/index266.js.map +1 -1
  336. package/dist/index267.js +19 -24
  337. package/dist/index267.js.map +1 -1
  338. package/dist/index268.js +29 -29
  339. package/dist/index268.js.map +1 -1
  340. package/dist/index269.js +17 -5
  341. package/dist/index269.js.map +1 -1
  342. package/dist/index270.js +4 -20
  343. package/dist/index270.js.map +1 -1
  344. package/dist/index271.js +19 -5
  345. package/dist/index271.js.map +1 -1
  346. package/dist/index272.js +13 -19
  347. package/dist/index272.js.map +1 -1
  348. package/dist/index273.js +5 -13
  349. package/dist/index273.js.map +1 -1
  350. package/dist/index274.js +3 -5
  351. package/dist/index274.js.map +1 -1
  352. package/dist/index275.js +24 -3
  353. package/dist/index275.js.map +1 -1
  354. package/dist/index276.js +111 -22
  355. package/dist/index276.js.map +1 -1
  356. package/dist/index277.js +14 -111
  357. package/dist/index277.js.map +1 -1
  358. package/dist/index278.js +523 -14
  359. package/dist/index278.js.map +1 -1
  360. package/dist/index279.js +114 -511
  361. package/dist/index279.js.map +1 -1
  362. package/dist/index280.js +117 -111
  363. package/dist/index280.js.map +1 -1
  364. package/dist/index281.js +20 -133
  365. package/dist/index281.js.map +1 -1
  366. package/dist/index289.js +2 -2
  367. package/dist/index292.js +1 -1
  368. package/dist/index293.js +2 -2
  369. package/dist/index295.js +1 -1
  370. package/dist/index296.js +1 -1
  371. package/dist/index297.js +1 -1
  372. package/dist/index298.js +1 -1
  373. package/dist/index299.js +65 -69
  374. package/dist/index299.js.map +1 -1
  375. package/dist/index300.js +68 -8
  376. package/dist/index300.js.map +1 -1
  377. package/dist/index301.js +9 -14
  378. package/dist/index301.js.map +1 -1
  379. package/dist/index302.js +14 -66
  380. package/dist/index302.js.map +1 -1
  381. package/dist/index303.js +65 -64
  382. package/dist/index303.js.map +1 -1
  383. package/dist/index31.js +5 -5
  384. package/dist/index32.js +24 -24
  385. package/dist/index33.js +3 -3
  386. package/dist/index36.js +1 -1
  387. package/dist/index37.js +2 -2
  388. package/dist/index40.js +2 -2
  389. package/dist/index41.js +20 -20
  390. package/dist/index45.js +1 -1
  391. package/dist/index46.js +1 -1
  392. package/dist/index49.js +1 -1
  393. package/dist/index50.js +1 -1
  394. package/dist/index51.js +7 -205
  395. package/dist/index51.js.map +1 -1
  396. package/dist/index52.js +33 -5
  397. package/dist/index52.js.map +1 -1
  398. package/dist/index53.js +26 -7
  399. package/dist/index53.js.map +1 -1
  400. package/dist/index54.js +7 -5
  401. package/dist/index54.js.map +1 -1
  402. package/dist/index55.js +11 -6
  403. package/dist/index55.js.map +1 -1
  404. package/dist/index56.js +203 -32
  405. package/dist/index56.js.map +1 -1
  406. package/dist/index57.js +3 -26
  407. package/dist/index57.js.map +1 -1
  408. package/dist/index58.js +47 -7
  409. package/dist/index58.js.map +1 -1
  410. package/dist/index59.js +49 -10
  411. package/dist/index59.js.map +1 -1
  412. package/dist/index60.js +8 -2
  413. package/dist/index60.js.map +1 -1
  414. package/dist/index61.js +15 -2
  415. package/dist/index61.js.map +1 -1
  416. package/dist/index62.js +133 -3
  417. package/dist/index62.js.map +1 -1
  418. package/dist/index63.js +10 -47
  419. package/dist/index63.js.map +1 -1
  420. package/dist/index64.js +214 -48
  421. package/dist/index64.js.map +1 -1
  422. package/dist/index65.js +13 -8
  423. package/dist/index65.js.map +1 -1
  424. package/dist/index66.js +45 -13
  425. package/dist/index66.js.map +1 -1
  426. package/dist/index67.js +47 -131
  427. package/dist/index67.js.map +1 -1
  428. package/dist/index68.js +4 -11
  429. package/dist/index68.js.map +1 -1
  430. package/dist/index69.js +5 -216
  431. package/dist/index69.js.map +1 -1
  432. package/dist/index70.js +28 -13
  433. package/dist/index70.js.map +1 -1
  434. package/dist/index71.js +49 -46
  435. package/dist/index71.js.map +1 -1
  436. package/dist/index72.js +9 -50
  437. package/dist/index72.js.map +1 -1
  438. package/dist/index73.js +2 -4
  439. package/dist/index73.js.map +1 -1
  440. package/dist/index74.js +2 -6
  441. package/dist/index74.js.map +1 -1
  442. package/dist/index75.js +2 -28
  443. package/dist/index75.js.map +1 -1
  444. package/dist/index76.js +2 -50
  445. package/dist/index76.js.map +1 -1
  446. package/dist/index77.js +6 -9
  447. package/dist/index77.js.map +1 -1
  448. package/dist/index78.js +8 -2
  449. package/dist/index78.js.map +1 -1
  450. package/dist/index79.js +6 -2
  451. package/dist/index79.js.map +1 -1
  452. package/dist/index80.js +52 -6
  453. package/dist/index80.js.map +1 -1
  454. package/dist/index81.js +4 -68
  455. package/dist/index81.js.map +1 -1
  456. package/dist/index82.js +5 -2
  457. package/dist/index82.js.map +1 -1
  458. package/dist/index83.js +15 -363
  459. package/dist/index83.js.map +1 -1
  460. package/dist/index84.js +5 -261
  461. package/dist/index84.js.map +1 -1
  462. package/dist/index85.js +7 -60
  463. package/dist/index85.js.map +1 -1
  464. package/dist/index86.js +16 -46
  465. package/dist/index86.js.map +1 -1
  466. package/dist/index87.js +4 -169
  467. package/dist/index87.js.map +1 -1
  468. package/dist/index88.js +4 -109
  469. package/dist/index88.js.map +1 -1
  470. package/dist/index89.js +5 -24
  471. package/dist/index89.js.map +1 -1
  472. package/dist/index90.js +6 -8
  473. package/dist/index90.js.map +1 -1
  474. package/dist/index91.js +4 -4
  475. package/dist/index91.js.map +1 -1
  476. package/dist/index92.js +4 -5
  477. package/dist/index92.js.map +1 -1
  478. package/dist/index93.js +6 -4
  479. package/dist/index93.js.map +1 -1
  480. package/dist/index94.js +24 -466
  481. package/dist/index94.js.map +1 -1
  482. package/dist/index95.js +6 -185
  483. package/dist/index95.js.map +1 -1
  484. package/dist/index96.js +4 -107
  485. package/dist/index96.js.map +1 -1
  486. package/dist/index97.js +6 -262
  487. package/dist/index97.js.map +1 -1
  488. package/dist/index98.js +5 -9
  489. package/dist/index98.js.map +1 -1
  490. package/dist/index99.js +4 -42
  491. package/dist/index99.js.map +1 -1
  492. package/package.json +1 -1
package/dist/index303.js CHANGED
@@ -1,68 +1,69 @@
1
- import { __assign as d } from "./index267.js";
2
- function l(r) {
3
- return r;
4
- }
5
- function h(r, t) {
6
- t === void 0 && (t = l);
7
- var e = [], o = !1, c = {
8
- read: function() {
9
- if (o)
10
- throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
11
- return e.length ? e[e.length - 1] : r;
12
- },
13
- useMedium: function(u) {
14
- var n = t(u, o);
15
- return e.push(n), function() {
16
- e = e.filter(function(i) {
17
- return i !== n;
18
- });
19
- };
20
- },
21
- assignSyncMedium: function(u) {
22
- for (o = !0; e.length; ) {
23
- var n = e;
24
- e = [], n.forEach(u);
25
- }
26
- e = {
27
- push: function(i) {
28
- return u(i);
29
- },
30
- filter: function() {
31
- return e;
32
- }
33
- };
34
- },
35
- assignMedium: function(u) {
36
- o = !0;
37
- var n = [];
38
- if (e.length) {
39
- var i = e;
40
- e = [], i.forEach(u), n = e;
41
- }
42
- var s = function() {
43
- var f = n;
44
- n = [], f.forEach(u);
45
- }, a = function() {
46
- return Promise.resolve().then(s);
47
- };
48
- a(), e = {
49
- push: function(f) {
50
- n.push(f), a();
51
- },
52
- filter: function(f) {
53
- return n = n.filter(f), e;
54
- }
55
- };
1
+ var N = function(r) {
2
+ return r.tagName === "TEXTAREA";
3
+ }, b = function(r, e) {
4
+ if (!(r instanceof Element))
5
+ return !1;
6
+ var t = window.getComputedStyle(r);
7
+ return (
8
+ // not-not-scrollable
9
+ t[e] !== "hidden" && // contains scroll inside self
10
+ !(t.overflowY === t.overflowX && !N(r) && t[e] === "visible")
11
+ );
12
+ }, D = function(r) {
13
+ return b(r, "overflowY");
14
+ }, E = function(r) {
15
+ return b(r, "overflowX");
16
+ }, T = function(r, e) {
17
+ var t = e.ownerDocument, l = e;
18
+ do {
19
+ typeof ShadowRoot < "u" && l instanceof ShadowRoot && (l = l.host);
20
+ var f = g(r, l);
21
+ if (f) {
22
+ var n = m(r, l), i = n[1], o = n[2];
23
+ if (i > o)
24
+ return !0;
56
25
  }
57
- };
58
- return c;
59
- }
60
- function v(r) {
61
- r === void 0 && (r = {});
62
- var t = h(null);
63
- return t.options = d({ async: !0, ssr: !1 }, r), t;
64
- }
26
+ l = l.parentNode;
27
+ } while (l && l !== t.body);
28
+ return !1;
29
+ }, H = function(r) {
30
+ var e = r.scrollTop, t = r.scrollHeight, l = r.clientHeight;
31
+ return [
32
+ e,
33
+ t,
34
+ l
35
+ ];
36
+ }, p = function(r) {
37
+ var e = r.scrollLeft, t = r.scrollWidth, l = r.clientWidth;
38
+ return [
39
+ e,
40
+ t,
41
+ l
42
+ ];
43
+ }, g = function(r, e) {
44
+ return r === "v" ? D(e) : E(e);
45
+ }, m = function(r, e) {
46
+ return r === "v" ? H(e) : p(e);
47
+ }, B = function(r, e) {
48
+ return r === "h" && e === "rtl" ? -1 : 1;
49
+ }, V = function(r, e, t, l, f) {
50
+ var n = B(r, window.getComputedStyle(e).direction), i = n * l, o = t.target, d = e.contains(o), c = !1, s = i > 0, h = 0, S = 0;
51
+ do {
52
+ if (!o)
53
+ break;
54
+ var u = m(r, o), v = u[0], C = u[1], y = u[2], w = C - y - n * v;
55
+ (v || w) && g(r, o) && (h += w, S += v);
56
+ var a = o.parentNode;
57
+ o = a && a.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? a.host : a;
58
+ } while (
59
+ // portaled content
60
+ !d && o !== document.body || // self content
61
+ d && (e.contains(o) || e === o)
62
+ );
63
+ return (s && Math.abs(h) < 1 || !s && Math.abs(S) < 1) && (c = !0), c;
64
+ };
65
65
  export {
66
- v as createSidecarMedium
66
+ V as handleScroll,
67
+ T as locationCouldBeScrolled
67
68
  };
68
69
  //# sourceMappingURL=index303.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index303.js","sources":["../../../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":";AACA,SAASA,EAAKC,GAAG;AACb,SAAOA;AACX;AACA,SAASC,EAAkBC,GAAUC,GAAY;AAC7C,EAAIA,MAAe,WAAUA,IAAaJ;AAC1C,MAAIK,IAAS,CAAA,GACTC,IAAW,IACXC,IAAS;AAAA,IACT,MAAM,WAAY;AACd,UAAID;AACA,cAAM,IAAI,MAAM,kGAAkG;AAEtH,aAAID,EAAO,SACAA,EAAOA,EAAO,SAAS,CAAC,IAE5BF;AAAA,IACX;AAAA,IACA,WAAW,SAAUK,GAAM;AACvB,UAAIC,IAAOL,EAAWI,GAAMF,CAAQ;AACpC,aAAAD,EAAO,KAAKI,CAAI,GACT,WAAY;AACf,QAAAJ,IAASA,EAAO,OAAO,SAAUK,GAAG;AAAE,iBAAOA,MAAMD;AAAA,QAAM,CAAC;AAAA,MAC9D;AAAA,IACJ;AAAA,IACA,kBAAkB,SAAUE,GAAI;AAE5B,WADAL,IAAW,IACJD,EAAO,UAAQ;AAClB,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAA,GACTO,EAAI,QAAQD,CAAE;AAAA,MAClB;AACA,MAAAN,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AAAE,iBAAOC,EAAGD,CAAC;AAAA,QAAG;AAAA,QACnC,QAAQ,WAAY;AAAE,iBAAOL;AAAA,QAAQ;AAAA,MACrD;AAAA,IACQ;AAAA,IACA,cAAc,SAAUM,GAAI;AACxB,MAAAL,IAAW;AACX,UAAIO,IAAe,CAAA;AACnB,UAAIR,EAAO,QAAQ;AACf,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAA,GACTO,EAAI,QAAQD,CAAE,GACdE,IAAeR;AAAA,MACnB;AACA,UAAIS,IAAe,WAAY;AAC3B,YAAIF,IAAMC;AACV,QAAAA,IAAe,CAAA,GACfD,EAAI,QAAQD,CAAE;AAAA,MAClB,GACII,IAAQ,WAAY;AAAE,eAAO,QAAQ,QAAO,EAAG,KAAKD,CAAY;AAAA,MAAG;AACvE,MAAAC,EAAK,GACLV,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AACf,UAAAG,EAAa,KAAKH,CAAC,GACnBK,EAAK;AAAA,QACT;AAAA,QACA,QAAQ,SAAUC,GAAQ;AACtB,iBAAAH,IAAeA,EAAa,OAAOG,CAAM,GAClCX;AAAA,QACX;AAAA,MAChB;AAAA,IACQ;AAAA,EACR;AACI,SAAOE;AACX;AAMO,SAASU,EAAoBC,GAAS;AACzC,EAAIA,MAAY,WAAUA,IAAU,CAAA;AACpC,MAAIX,IAASL,EAAkB,IAAI;AACnC,SAAAK,EAAO,UAAUY,EAAS,EAAE,OAAO,IAAM,KAAK,GAAK,GAAID,CAAO,GACvDX;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index303.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n if (!target) {\n break;\n }\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n var parent_1 = target.parentNode;\n // we will \"bubble\" from ShadowDom in case we are, or just to the parent in normal case\n // this is the same logic used in focus-lock\n target = (parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1);\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll","parent_1"],"mappings":"AAAA,IAAIA,IAAuB,SAAUC,GAAM;AAEvC,SAAOA,EAAK,YAAY;AAC5B,GACIC,IAAuB,SAAUD,GAAME,GAAU;AACjD,MAAI,EAAEF,aAAgB;AAClB,WAAO;AAEX,MAAIG,IAAS,OAAO,iBAAiBH,CAAI;AACzC;AAAA;AAAA,IAEAG,EAAOD,CAAQ,MAAM;AAAA,IAEjB,EAAEC,EAAO,cAAcA,EAAO,aAAa,CAACJ,EAAqBC,CAAI,KAAKG,EAAOD,CAAQ,MAAM;AAAA;AACvG,GACIE,IAA0B,SAAUJ,GAAM;AAAE,SAAOC,EAAqBD,GAAM,WAAW;AAAG,GAC5FK,IAA0B,SAAUL,GAAM;AAAE,SAAOC,EAAqBD,GAAM,WAAW;AAAG,GACrFM,IAA0B,SAAUC,GAAMP,GAAM;AACvD,MAAIQ,IAAgBR,EAAK,eACrBS,IAAUT;AACd,KAAG;AAEC,IAAI,OAAO,aAAe,OAAeS,aAAmB,eACxDA,IAAUA,EAAQ;AAEtB,QAAIC,IAAeC,EAAuBJ,GAAME,CAAO;AACvD,QAAIC,GAAc;AACd,UAAIE,IAAKC,EAAmBN,GAAME,CAAO,GAAGK,IAAeF,EAAG,CAAC,GAAGG,IAAeH,EAAG,CAAC;AACrF,UAAIE,IAAeC;AACf,eAAO;AAAA,IAEf;AACA,IAAAN,IAAUA,EAAQ;AAAA,EACtB,SAASA,KAAWA,MAAYD,EAAc;AAC9C,SAAO;AACX,GACIQ,IAAsB,SAAUJ,GAAI;AACpC,MAAIK,IAAYL,EAAG,WAAWE,IAAeF,EAAG,cAAcG,IAAeH,EAAG;AAChF,SAAO;AAAA,IACHK;AAAA,IACAH;AAAA,IACAC;AAAA,EACR;AACA,GACIG,IAAsB,SAAUN,GAAI;AACpC,MAAIO,IAAaP,EAAG,YAAYQ,IAAcR,EAAG,aAAaS,IAAcT,EAAG;AAC/E,SAAO;AAAA,IACHO;AAAA,IACAC;AAAA,IACAC;AAAA,EACR;AACA,GACIV,IAAyB,SAAUJ,GAAMP,GAAM;AAC/C,SAAOO,MAAS,MAAMH,EAAwBJ,CAAI,IAAIK,EAAwBL,CAAI;AACtF,GACIa,IAAqB,SAAUN,GAAMP,GAAM;AAC3C,SAAOO,MAAS,MAAMS,EAAoBhB,CAAI,IAAIkB,EAAoBlB,CAAI;AAC9E,GACIsB,IAAqB,SAAUf,GAAMgB,GAAW;AAMhD,SAAOhB,MAAS,OAAOgB,MAAc,QAAQ,KAAK;AACtD,GACWC,IAAe,SAAUjB,GAAMkB,GAAWC,GAAOC,GAAaC,GAAc;AACnF,MAAIC,IAAkBP,EAAmBf,GAAM,OAAO,iBAAiBkB,CAAS,EAAE,SAAS,GACvFK,IAAQD,IAAkBF,GAE1BI,IAASL,EAAM,QACfM,IAAeP,EAAU,SAASM,CAAM,GACxCE,IAAqB,IACrBC,IAAkBJ,IAAQ,GAC1BK,IAAkB,GAClBC,IAAqB;AACzB,KAAG;AACC,QAAI,CAACL;AACD;AAEJ,QAAInB,IAAKC,EAAmBN,GAAMwB,CAAM,GAAGM,IAAWzB,EAAG,CAAC,GAAG0B,IAAW1B,EAAG,CAAC,GAAG2B,IAAW3B,EAAG,CAAC,GAC1F4B,IAAgBF,IAAWC,IAAWV,IAAkBQ;AAC5D,KAAIA,KAAYG,MACR7B,EAAuBJ,GAAMwB,CAAM,MACnCI,KAAmBK,GACnBJ,KAAsBC;AAG9B,QAAII,IAAWV,EAAO;AAGtB,IAAAA,IAAUU,KAAYA,EAAS,aAAa,KAAK,yBAAyBA,EAAS,OAAOA;AAAA,EAC9F;AAAA;AAAA,IAEC,CAACT,KAAgBD,MAAW,SAAS;AAAA,IAEjCC,MAAiBP,EAAU,SAASM,CAAM,KAAKN,MAAcM;AAAA;AAElE,UAAIG,KACkB,KAAK,IAAIC,CAAe,IAAI,KAGzC,CAACD,KACY,KAAK,IAAIE,CAAkB,IAAI,OACjDH,IAAqB,KAElBA;AACX;","x_google_ignoreList":[0]}
package/dist/index31.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as s from "react";
2
- import { composeEventHandlers as h } from "./index55.js";
3
- import { Primitive as w, dispatchDiscreteCustomEvent as k } from "./index56.js";
4
- import { useComposedRefs as R } from "./index57.js";
5
- import { useCallbackRef as g } from "./index58.js";
6
- import { useEscapeKeydown as U } from "./index59.js";
2
+ import { composeEventHandlers as h } from "./index51.js";
3
+ import { Primitive as w, dispatchDiscreteCustomEvent as k } from "./index52.js";
4
+ import { useComposedRefs as R } from "./index53.js";
5
+ import { useCallbackRef as g } from "./index54.js";
6
+ import { useEscapeKeydown as U } from "./index55.js";
7
7
  import { j as x } from "./index30.js";
8
8
  var j = "DismissableLayer", p = "dismissableLayer.update", z = "dismissableLayer.pointerDownOutside", H = "dismissableLayer.focusOutside", C, T = s.createContext({
9
9
  layers: /* @__PURE__ */ new Set(),
package/dist/index32.js CHANGED
@@ -1,28 +1,28 @@
1
1
  import l, { useMemo as T, useCallback as h, useRef as Re } from "react";
2
- import { DateLib as Ze } from "./index129.js";
3
- import { createGetModifiers as Ie } from "./index130.js";
4
- import { getClassNamesForModifiers as Ge } from "./index131.js";
5
- import { getComponents as He } from "./index132.js";
6
- import { getDataAttributes as _e } from "./index133.js";
7
- import { getDefaultClassNames as Ue } from "./index134.js";
8
- import { getFormatters as je } from "./index135.js";
9
- import { getLabels as Ve } from "./index136.js";
10
- import { getMonthOptions as $e } from "./index137.js";
11
- import { getStyleForModifiers as qe } from "./index138.js";
12
- import { getWeekdays as ze } from "./index139.js";
13
- import { getYearOptions as Je } from "./index140.js";
14
- import { createNoonOverrides as Qe } from "./index141.js";
15
- import { UI as n, DayFlag as Xe, SelectionState as w } from "./index142.js";
16
- import { useAnimation as et } from "./index143.js";
17
- import { useCalendar as tt } from "./index144.js";
18
- import { dayPickerContext as at } from "./index145.js";
19
- import { useFocus as ot } from "./index146.js";
20
- import { useSelection as nt } from "./index147.js";
21
- import { convertMatchersToTimeZone as K } from "./index148.js";
22
- import { rangeIncludesDate as st } from "./index149.js";
23
- import { toTimeZone as k } from "./index150.js";
24
- import { isDateRange as rt } from "./index151.js";
25
- import { enUS as it } from "./index152.js";
2
+ import { DateLib as Ze } from "./index107.js";
3
+ import { createGetModifiers as Ie } from "./index108.js";
4
+ import { getClassNamesForModifiers as Ge } from "./index109.js";
5
+ import { getComponents as He } from "./index110.js";
6
+ import { getDataAttributes as _e } from "./index111.js";
7
+ import { getDefaultClassNames as Ue } from "./index112.js";
8
+ import { getFormatters as je } from "./index113.js";
9
+ import { getLabels as Ve } from "./index114.js";
10
+ import { getMonthOptions as $e } from "./index115.js";
11
+ import { getStyleForModifiers as qe } from "./index116.js";
12
+ import { getWeekdays as ze } from "./index117.js";
13
+ import { getYearOptions as Je } from "./index118.js";
14
+ import { createNoonOverrides as Qe } from "./index119.js";
15
+ import { UI as n, DayFlag as Xe, SelectionState as w } from "./index120.js";
16
+ import { useAnimation as et } from "./index121.js";
17
+ import { useCalendar as tt } from "./index122.js";
18
+ import { dayPickerContext as at } from "./index123.js";
19
+ import { useFocus as ot } from "./index124.js";
20
+ import { useSelection as nt } from "./index125.js";
21
+ import { convertMatchersToTimeZone as K } from "./index126.js";
22
+ import { rangeIncludesDate as st } from "./index127.js";
23
+ import { toTimeZone as k } from "./index128.js";
24
+ import { isDateRange as rt } from "./index129.js";
25
+ import { enUS as it } from "./index130.js";
26
26
  function Yt(R) {
27
27
  let e = R;
28
28
  const u = e.timeZone;
package/dist/index33.js CHANGED
@@ -1,6 +1,6 @@
1
- import { defaultDateLib as A } from "./index129.js";
2
- import { rangeIncludesDate as p } from "./index149.js";
3
- import { isDatesArray as a, isDateRange as I, isDayOfWeekType as g, isDateInterval as k, isDateAfterType as O, isDateBeforeType as W } from "./index151.js";
1
+ import { defaultDateLib as A } from "./index107.js";
2
+ import { rangeIncludesDate as p } from "./index127.js";
3
+ import { isDatesArray as a, isDateRange as I, isDayOfWeekType as g, isDateInterval as k, isDateAfterType as O, isDateBeforeType as W } from "./index129.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/index36.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCountryList as E } from "./index52.js";
1
+ import { getCountryList as E } from "./index77.js";
2
2
  import { getCountryCallingCode as s } from "./index40.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/index37.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 "./index36.js";
2
2
  import { getCountryCallingCode as p } from "./index40.js";
3
- import { AsYouType as I } from "./index53.js";
4
- import { validatePhoneNumberLength as D } from "./index54.js";
3
+ import { AsYouType as I } from "./index78.js";
4
+ import { validatePhoneNumberLength as D } from "./index79.js";
5
5
  function g(t) {
6
6
  return t.replace(/\D/g, "");
7
7
  }
package/dist/index40.js CHANGED
@@ -1,5 +1,5 @@
1
- import t from "./index80.js";
2
- import { getCountryCallingCode as o } from "./index94.js";
1
+ import t from "./index158.js";
2
+ import { getCountryCallingCode as o } from "./index172.js";
3
3
  function n() {
4
4
  return t(o, arguments);
5
5
  }
package/dist/index41.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 "./index62.js";
4
- import { composeEventHandlers as R } from "./index55.js";
5
- import { createCollection as tt } from "./index63.js";
6
- import { useComposedRefs as j } from "./index57.js";
7
- import { createContextScope as ot } from "./index64.js";
8
- import { useDirection as nt } from "./index65.js";
3
+ import { clamp as Te } from "./index57.js";
4
+ import { composeEventHandlers as R } from "./index51.js";
5
+ import { createCollection as tt } from "./index58.js";
6
+ import { useComposedRefs as j } from "./index53.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 "./index66.js";
11
- import { FocusScope as lt } from "./index67.js";
12
- import { useId as ye } from "./index68.js";
13
- import { createPopperScope as Ee, Root as ct, Anchor as it, Content as at, Arrow as dt } from "./index69.js";
14
- import { Portal as ut } from "./index70.js";
15
- import { Primitive as M } from "./index56.js";
16
- import { createSlot as pt } from "./index71.js";
17
- import { useCallbackRef as ft } from "./index58.js";
18
- import { useControllableState as Pe } from "./index72.js";
19
- import { useLayoutEffect as z } from "./index73.js";
20
- import { usePrevious as mt } from "./index74.js";
21
- import { VISUALLY_HIDDEN_STYLES as ht } from "./index75.js";
22
- import { hideOthers as vt } from "./index76.js";
23
- import gt from "./index77.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 "./index52.js";
16
+ import { createSlot as pt } from "./index66.js";
17
+ import { useCallbackRef as ft } from "./index54.js";
18
+ import { useControllableState as Pe } from "./index67.js";
19
+ import { useLayoutEffect as z } from "./index68.js";
20
+ import { usePrevious as mt } from "./index69.js";
21
+ import { VISUALLY_HIDDEN_STYLES as ht } from "./index70.js";
22
+ import { hideOthers as vt } from "./index71.js";
23
+ import gt from "./index72.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/index45.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index60.js";
1
+ import { __exports as e } from "./index73.js";
2
2
  import o from "react";
3
3
  var r;
4
4
  function n() {
package/dist/index46.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index61.js";
1
+ import { __exports as e } from "./index74.js";
2
2
  import a from "react";
3
3
  var n;
4
4
  function l() {
package/dist/index49.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index78.js";
1
+ import { __exports as e } from "./index75.js";
2
2
  var s;
3
3
  function a() {
4
4
  if (s) return e;
package/dist/index50.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as s } from "./index79.js";
1
+ import { __exports as s } from "./index76.js";
2
2
  import J from "react";
3
3
  var j;
4
4
  function Z() {
package/dist/index51.js CHANGED
@@ -1,208 +1,10 @@
1
- import * as p from "react";
2
- import { composeEventHandlers as m } from "./index55.js";
3
- import { composeRefs as C } from "./index57.js";
4
- import { createContextScope as E } from "./index64.js";
5
- import { useControllableState as S } from "./index72.js";
6
- import { Primitive as P } from "./index56.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 "./index101.js";
8
- import { useId as g } from "./index68.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;
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
+ }
186
7
  export {
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
8
+ f as composeEventHandlers
207
9
  };
208
10
  //# sourceMappingURL=index51.js.map