@rpcbase/ui 0.240.0 → 0.242.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 (764) hide show
  1. package/dist/components/DayPickerField/index.d.ts.map +1 -1
  2. package/dist/components/PhoneNumberInput/country-options.d.ts +1 -1
  3. package/dist/components/PhoneNumberInput/country-options.d.ts.map +1 -1
  4. package/dist/index100.js +8 -4
  5. package/dist/index100.js.map +1 -1
  6. package/dist/index101.js +5 -8
  7. package/dist/index101.js.map +1 -1
  8. package/dist/index102.js +4 -5
  9. package/dist/index102.js.map +1 -1
  10. package/dist/index103.js +3 -3
  11. package/dist/index103.js.map +1 -1
  12. package/dist/index104.js +6 -4
  13. package/dist/index104.js.map +1 -1
  14. package/dist/index105.js +152 -6
  15. package/dist/index105.js.map +1 -1
  16. package/dist/index106.js +38 -144
  17. package/dist/index106.js.map +1 -1
  18. package/dist/index107.js +4 -39
  19. package/dist/index107.js.map +1 -1
  20. package/dist/index108.js +7 -4
  21. package/dist/index108.js.map +1 -1
  22. package/dist/index109.js +12 -6
  23. package/dist/index109.js.map +1 -1
  24. package/dist/index110.js +13 -13
  25. package/dist/index110.js.map +1 -1
  26. package/dist/index111.js +7 -13
  27. package/dist/index111.js.map +1 -1
  28. package/dist/index112.js +30 -6
  29. package/dist/index112.js.map +1 -1
  30. package/dist/index113.js +10 -31
  31. package/dist/index113.js.map +1 -1
  32. package/dist/index114.js +10 -10
  33. package/dist/index114.js.map +1 -1
  34. package/dist/index115.js +8 -10
  35. package/dist/index115.js.map +1 -1
  36. package/dist/index116.js +13 -8
  37. package/dist/index116.js.map +1 -1
  38. package/dist/index117.js +101 -13
  39. package/dist/index117.js.map +1 -1
  40. package/dist/index118.js +20 -102
  41. package/dist/index118.js.map +1 -1
  42. package/dist/index119.js +54 -20
  43. package/dist/index119.js.map +1 -1
  44. package/dist/index120.js +70 -51
  45. package/dist/index120.js.map +1 -1
  46. package/dist/index121.js +9 -72
  47. package/dist/index121.js.map +1 -1
  48. package/dist/index122.js +20 -9
  49. package/dist/index122.js.map +1 -1
  50. package/dist/index123.js +16 -20
  51. package/dist/index123.js.map +1 -1
  52. package/dist/index124.js +23 -16
  53. package/dist/index124.js.map +1 -1
  54. package/dist/index125.js +6 -23
  55. package/dist/index125.js.map +1 -1
  56. package/dist/index126.js +5 -6
  57. package/dist/index126.js.map +1 -1
  58. package/dist/index127.js +23 -5
  59. package/dist/index127.js.map +1 -1
  60. package/dist/index128.js +35 -24
  61. package/dist/index128.js.map +1 -1
  62. package/dist/index129.js +14 -35
  63. package/dist/index129.js.map +1 -1
  64. package/dist/index130.js +5 -16
  65. package/dist/index130.js.map +1 -1
  66. package/dist/index131.js +4 -6
  67. package/dist/index131.js.map +1 -1
  68. package/dist/index132.js +4 -4
  69. package/dist/index132.js.map +1 -1
  70. package/dist/index133.js +4 -4
  71. package/dist/index133.js.map +1 -1
  72. package/dist/index134.js +4 -4
  73. package/dist/index134.js.map +1 -1
  74. package/dist/index135.js +3 -4
  75. package/dist/index135.js.map +1 -1
  76. package/dist/index136.js +4 -3
  77. package/dist/index136.js.map +1 -1
  78. package/dist/index137.js +22 -7
  79. package/dist/index137.js.map +1 -1
  80. package/dist/index138.js +6 -24
  81. package/dist/index138.js.map +1 -1
  82. package/dist/index139.js +4 -7
  83. package/dist/index139.js.map +1 -1
  84. package/dist/index140.js +5 -6
  85. package/dist/index140.js.map +1 -1
  86. package/dist/index141.js +3 -5
  87. package/dist/index141.js.map +1 -1
  88. package/dist/index142.js +3 -3
  89. package/dist/index142.js.map +1 -1
  90. package/dist/index143.js +4 -3
  91. package/dist/index143.js.map +1 -1
  92. package/dist/index144.js +3 -4
  93. package/dist/index144.js.map +1 -1
  94. package/dist/index145.js +4 -3
  95. package/dist/index145.js.map +1 -1
  96. package/dist/index146.js +3 -4
  97. package/dist/index146.js.map +1 -1
  98. package/dist/index147.js +3 -3
  99. package/dist/index147.js.map +1 -1
  100. package/dist/index148.js +3 -3
  101. package/dist/index148.js.map +1 -1
  102. package/dist/index149.js +5 -3
  103. package/dist/index149.js.map +1 -1
  104. package/dist/index150.js +68 -5
  105. package/dist/index150.js.map +1 -1
  106. package/dist/index151.js +2 -69
  107. package/dist/index151.js.map +1 -1
  108. package/dist/index152.js +386 -2
  109. package/dist/index152.js.map +1 -1
  110. package/dist/index153.js +201 -303
  111. package/dist/index153.js.map +1 -1
  112. package/dist/index154.js +46 -247
  113. package/dist/index154.js.map +1 -1
  114. package/dist/index155.js +42 -56
  115. package/dist/index155.js.map +1 -1
  116. package/dist/index156.js +169 -46
  117. package/dist/index156.js.map +1 -1
  118. package/dist/index157.js +96 -156
  119. package/dist/index157.js.map +1 -1
  120. package/dist/index158.js +24 -109
  121. package/dist/index158.js.map +1 -1
  122. package/dist/index159.js +8 -25
  123. package/dist/index159.js.map +1 -1
  124. package/dist/index160.js +5 -8
  125. package/dist/index160.js.map +1 -1
  126. package/dist/index161.js +5 -4
  127. package/dist/index161.js.map +1 -1
  128. package/dist/index162.js +4 -5
  129. package/dist/index162.js.map +1 -1
  130. package/dist/index163.js +487 -4
  131. package/dist/index163.js.map +1 -1
  132. package/dist/index164.js +151 -428
  133. package/dist/index164.js.map +1 -1
  134. package/dist/index165.js +13 -185
  135. package/dist/index165.js.map +1 -1
  136. package/dist/index166.js.map +1 -1
  137. package/dist/index167.js +6 -6
  138. package/dist/index167.js.map +1 -1
  139. package/dist/index168.js +3 -6
  140. package/dist/index168.js.map +1 -1
  141. package/dist/index169.js +14 -16
  142. package/dist/index169.js.map +1 -1
  143. package/dist/index170.js.map +1 -1
  144. package/dist/index171.js +12 -9
  145. package/dist/index171.js.map +1 -1
  146. package/dist/index172.js +8 -8
  147. package/dist/index172.js.map +1 -1
  148. package/dist/index173.js.map +1 -1
  149. package/dist/index174.js.map +1 -1
  150. package/dist/index175.js.map +1 -1
  151. package/dist/index176.js +10 -9
  152. package/dist/index176.js.map +1 -1
  153. package/dist/index177.js.map +1 -1
  154. package/dist/index178.js +1 -1
  155. package/dist/index178.js.map +1 -1
  156. package/dist/index179.js.map +1 -1
  157. package/dist/index180.js.map +1 -1
  158. package/dist/index181.js +1 -1
  159. package/dist/index181.js.map +1 -1
  160. package/dist/index182.js +1 -1
  161. package/dist/index182.js.map +1 -1
  162. package/dist/index183.js +6 -8
  163. package/dist/index183.js.map +1 -1
  164. package/dist/index184.js +161 -246
  165. package/dist/index184.js.map +1 -1
  166. package/dist/index185.js +279 -4
  167. package/dist/index185.js.map +1 -1
  168. package/dist/index186.js +5 -28
  169. package/dist/index186.js.map +1 -1
  170. package/dist/index187.js +23 -122
  171. package/dist/index187.js.map +1 -1
  172. package/dist/index188.js +126 -5
  173. package/dist/index188.js.map +1 -1
  174. package/dist/index189.js +59 -74
  175. package/dist/index189.js.map +1 -1
  176. package/dist/index190.js +7 -65
  177. package/dist/index190.js.map +1 -1
  178. package/dist/index191.js +16 -9
  179. package/dist/index191.js.map +1 -1
  180. package/dist/index192.js +31 -16
  181. package/dist/index192.js.map +1 -1
  182. package/dist/index193.js +65 -88
  183. package/dist/index193.js.map +1 -1
  184. package/dist/index194.js +20 -66
  185. package/dist/index194.js.map +1 -1
  186. package/dist/index195.js +63 -42
  187. package/dist/index195.js.map +1 -1
  188. package/dist/index196.js +7 -20
  189. package/dist/index196.js.map +1 -1
  190. package/dist/index197.js +5 -66
  191. package/dist/index197.js.map +1 -1
  192. package/dist/index198.js +11 -6
  193. package/dist/index198.js.map +1 -1
  194. package/dist/index199.js +3 -11
  195. package/dist/index199.js.map +1 -1
  196. package/dist/index200.js +1 -1
  197. package/dist/index200.js.map +1 -1
  198. package/dist/index201.js.map +1 -1
  199. package/dist/index202.js +7 -7
  200. package/dist/index202.js.map +1 -1
  201. package/dist/index203.js +1 -1
  202. package/dist/index203.js.map +1 -1
  203. package/dist/index204.js.map +1 -1
  204. package/dist/index205.js +1 -1
  205. package/dist/index205.js.map +1 -1
  206. package/dist/index206.js +15 -13
  207. package/dist/index206.js.map +1 -1
  208. package/dist/index207.js +17 -22
  209. package/dist/index207.js.map +1 -1
  210. package/dist/index208.js +2 -2
  211. package/dist/index208.js.map +1 -1
  212. package/dist/index209.js +1 -1
  213. package/dist/index209.js.map +1 -1
  214. package/dist/index210.js +16 -15
  215. package/dist/index210.js.map +1 -1
  216. package/dist/index211.js.map +1 -1
  217. package/dist/index212.js +1 -1
  218. package/dist/index212.js.map +1 -1
  219. package/dist/index213.js.map +1 -1
  220. package/dist/index214.js +3 -11
  221. package/dist/index214.js.map +1 -1
  222. package/dist/index215.js +11 -27
  223. package/dist/index215.js.map +1 -1
  224. package/dist/index216.js +1 -1
  225. package/dist/index216.js.map +1 -1
  226. package/dist/index217.js +3 -3
  227. package/dist/index217.js.map +1 -1
  228. package/dist/index218.js +9 -9
  229. package/dist/index218.js.map +1 -1
  230. package/dist/index219.js +143 -166
  231. package/dist/index219.js.map +1 -1
  232. package/dist/index220.js +177 -203
  233. package/dist/index220.js.map +1 -1
  234. package/dist/index221.js +60 -60
  235. package/dist/index221.js.map +1 -1
  236. package/dist/index222.js +1 -1
  237. package/dist/index222.js.map +1 -1
  238. package/dist/index223.js.map +1 -1
  239. package/dist/index224.js.map +1 -1
  240. package/dist/index225.js +2 -2
  241. package/dist/index225.js.map +1 -1
  242. package/dist/index226.js.map +1 -1
  243. package/dist/index227.js +1 -1
  244. package/dist/index227.js.map +1 -1
  245. package/dist/index228.js +8 -7
  246. package/dist/index228.js.map +1 -1
  247. package/dist/index229.js.map +1 -1
  248. package/dist/index230.js +2 -2
  249. package/dist/index230.js.map +1 -1
  250. package/dist/index231.js +1 -1
  251. package/dist/index231.js.map +1 -1
  252. package/dist/index232.js.map +1 -1
  253. package/dist/index233.js +2 -2
  254. package/dist/index233.js.map +1 -1
  255. package/dist/index234.js +128 -125
  256. package/dist/index234.js.map +1 -1
  257. package/dist/index235.js +1 -1
  258. package/dist/index235.js.map +1 -1
  259. package/dist/index236.js.map +1 -1
  260. package/dist/index237.js +1 -1
  261. package/dist/index237.js.map +1 -1
  262. package/dist/index238.js +1 -1
  263. package/dist/index238.js.map +1 -1
  264. package/dist/index240.js.map +1 -1
  265. package/dist/index241.js +62 -37
  266. package/dist/index241.js.map +1 -1
  267. package/dist/index242.js +12 -64
  268. package/dist/index242.js.map +1 -1
  269. package/dist/index243.js +8 -14
  270. package/dist/index243.js.map +1 -1
  271. package/dist/index244.js +5 -7
  272. package/dist/index244.js.map +1 -1
  273. package/dist/index245.js +3 -5
  274. package/dist/index245.js.map +1 -1
  275. package/dist/index246.js +10 -3
  276. package/dist/index246.js.map +1 -1
  277. package/dist/index247.js +6 -9
  278. package/dist/index247.js.map +1 -1
  279. package/dist/index248.js +133 -7
  280. package/dist/index248.js.map +1 -1
  281. package/dist/index249.js +381 -115
  282. package/dist/index249.js.map +1 -1
  283. package/dist/index250.js +5 -400
  284. package/dist/index250.js.map +1 -1
  285. package/dist/index251.js +24 -24
  286. package/dist/index251.js.map +1 -1
  287. package/dist/index252.js +1 -1
  288. package/dist/index252.js.map +1 -1
  289. package/dist/index253.js +27 -11
  290. package/dist/index253.js.map +1 -1
  291. package/dist/index254.js +11 -16
  292. package/dist/index254.js.map +1 -1
  293. package/dist/index255.js +57 -4
  294. package/dist/index255.js.map +1 -1
  295. package/dist/index256.js +8 -5
  296. package/dist/index256.js.map +1 -1
  297. package/dist/index257.js +77 -48
  298. package/dist/index257.js.map +1 -1
  299. package/dist/index258.js +17 -85
  300. package/dist/index258.js.map +1 -1
  301. package/dist/index259.js +16 -6
  302. package/dist/index259.js.map +1 -1
  303. package/dist/index260.js +5 -4
  304. package/dist/index260.js.map +1 -1
  305. package/dist/index261.js +5 -6
  306. package/dist/index261.js.map +1 -1
  307. package/dist/index262.js +6 -16
  308. package/dist/index262.js.map +1 -1
  309. package/dist/index263.js +4 -4
  310. package/dist/index263.js.map +1 -1
  311. package/dist/index264.js +6 -4
  312. package/dist/index264.js.map +1 -1
  313. package/dist/index265.js +16 -12
  314. package/dist/index265.js.map +1 -1
  315. package/dist/index266.js +4 -9
  316. package/dist/index266.js.map +1 -1
  317. package/dist/index267.js +4 -13
  318. package/dist/index267.js.map +1 -1
  319. package/dist/index268.js +12 -13
  320. package/dist/index268.js.map +1 -1
  321. package/dist/index269.js +9 -4
  322. package/dist/index269.js.map +1 -1
  323. package/dist/index27.js +421 -350
  324. package/dist/index27.js.map +1 -1
  325. package/dist/index270.js +13 -5
  326. package/dist/index270.js.map +1 -1
  327. package/dist/index271.js +13 -6
  328. package/dist/index271.js.map +1 -1
  329. package/dist/index272.js +4 -5
  330. package/dist/index272.js.map +1 -1
  331. package/dist/index273.js +5 -54
  332. package/dist/index273.js.map +1 -1
  333. package/dist/index274.js +6 -8
  334. package/dist/index274.js.map +1 -1
  335. package/dist/index275.js +5 -4
  336. package/dist/index275.js.map +1 -1
  337. package/dist/index276.js +54 -4
  338. package/dist/index276.js.map +1 -1
  339. package/dist/index277.js +8 -8
  340. package/dist/index277.js.map +1 -1
  341. package/dist/index278.js +4 -4
  342. package/dist/index278.js.map +1 -1
  343. package/dist/index279.js +4 -4
  344. package/dist/index279.js.map +1 -1
  345. package/dist/index280.js +8 -3
  346. package/dist/index280.js.map +1 -1
  347. package/dist/index281.js +4 -10
  348. package/dist/index281.js.map +1 -1
  349. package/dist/index282.js +4 -9
  350. package/dist/index282.js.map +1 -1
  351. package/dist/index283.js +3 -9
  352. package/dist/index283.js.map +1 -1
  353. package/dist/index284.js +10 -10
  354. package/dist/index284.js.map +1 -1
  355. package/dist/index285.js +9 -10
  356. package/dist/index285.js.map +1 -1
  357. package/dist/index286.js +9 -9
  358. package/dist/index286.js.map +1 -1
  359. package/dist/index287.js +10 -6
  360. package/dist/index287.js.map +1 -1
  361. package/dist/index288.js +10 -5
  362. package/dist/index288.js.map +1 -1
  363. package/dist/index289.js +9 -4
  364. package/dist/index289.js.map +1 -1
  365. package/dist/index29.js +48 -29
  366. package/dist/index29.js.map +1 -1
  367. package/dist/index290.js +6 -5
  368. package/dist/index290.js.map +1 -1
  369. package/dist/index291.js +5 -6
  370. package/dist/index291.js.map +1 -1
  371. package/dist/index292.js +4 -5
  372. package/dist/index292.js.map +1 -1
  373. package/dist/index293.js +5 -8
  374. package/dist/index293.js.map +1 -1
  375. package/dist/index294.js +6 -19
  376. package/dist/index294.js.map +1 -1
  377. package/dist/index295.js +5 -16
  378. package/dist/index295.js.map +1 -1
  379. package/dist/index296.js +16 -7
  380. package/dist/index296.js.map +1 -1
  381. package/dist/index297.js +7 -10
  382. package/dist/index297.js.map +1 -1
  383. package/dist/index298.js +9 -9
  384. package/dist/index298.js.map +1 -1
  385. package/dist/index299.js +10 -21
  386. package/dist/index299.js.map +1 -1
  387. package/dist/index300.js +21 -10
  388. package/dist/index300.js.map +1 -1
  389. package/dist/index301.js +8 -9
  390. package/dist/index301.js.map +1 -1
  391. package/dist/index302.js +6 -6
  392. package/dist/index302.js.map +1 -1
  393. package/dist/index303.js +9 -4
  394. package/dist/index303.js.map +1 -1
  395. package/dist/index304.js +4 -5
  396. package/dist/index304.js.map +1 -1
  397. package/dist/index305.js +5 -16
  398. package/dist/index305.js.map +1 -1
  399. package/dist/index306.js +16 -9
  400. package/dist/index306.js.map +1 -1
  401. package/dist/index307.js +9 -18
  402. package/dist/index307.js.map +1 -1
  403. package/dist/index308.js +15 -12
  404. package/dist/index308.js.map +1 -1
  405. package/dist/index309.js +17 -9
  406. package/dist/index309.js.map +1 -1
  407. package/dist/index31.js +194 -184
  408. package/dist/index31.js.map +1 -1
  409. package/dist/index310.js +12 -29
  410. package/dist/index310.js.map +1 -1
  411. package/dist/index311.js +28 -11
  412. package/dist/index311.js.map +1 -1
  413. package/dist/index312.js +10 -23
  414. package/dist/index312.js.map +1 -1
  415. package/dist/index313.js +25 -5
  416. package/dist/index313.js.map +1 -1
  417. package/dist/index314.js +5 -13
  418. package/dist/index314.js.map +1 -1
  419. package/dist/index315.js.map +1 -1
  420. package/dist/index316.js +12 -10
  421. package/dist/index316.js.map +1 -1
  422. package/dist/index317.js +11 -9
  423. package/dist/index317.js.map +1 -1
  424. package/dist/index318.js +14 -13
  425. package/dist/index318.js.map +1 -1
  426. package/dist/index319.js +9 -11
  427. package/dist/index319.js.map +1 -1
  428. package/dist/index32.js +3 -3
  429. package/dist/index32.js.map +1 -1
  430. package/dist/index320.js +11 -44
  431. package/dist/index320.js.map +1 -1
  432. package/dist/index321.js +40 -92
  433. package/dist/index321.js.map +1 -1
  434. package/dist/index322.js +87 -76
  435. package/dist/index322.js.map +1 -1
  436. package/dist/index323.js +69 -88
  437. package/dist/index323.js.map +1 -1
  438. package/dist/index324.js +92 -39
  439. package/dist/index324.js.map +1 -1
  440. package/dist/index325.js +51 -10
  441. package/dist/index325.js.map +1 -1
  442. package/dist/index326.js +10 -36
  443. package/dist/index326.js.map +1 -1
  444. package/dist/index327.js +4 -8
  445. package/dist/index327.js.map +1 -1
  446. package/dist/index328.js +31 -110
  447. package/dist/index328.js.map +1 -1
  448. package/dist/index329.js +8 -17
  449. package/dist/index329.js.map +1 -1
  450. package/dist/index330.js +133 -13
  451. package/dist/index330.js.map +1 -1
  452. package/dist/index331.js +17 -3
  453. package/dist/index331.js.map +1 -1
  454. package/dist/index332.js +12 -33
  455. package/dist/index332.js.map +1 -1
  456. package/dist/index333.js +3 -20
  457. package/dist/index333.js.map +1 -1
  458. package/dist/index334.js +36 -8
  459. package/dist/index334.js.map +1 -1
  460. package/dist/index335.js +20 -9
  461. package/dist/index335.js.map +1 -1
  462. package/dist/index336.js +9 -19
  463. package/dist/index336.js.map +1 -1
  464. package/dist/index337.js +8 -28
  465. package/dist/index337.js.map +1 -1
  466. package/dist/index338.js +23 -15
  467. package/dist/index338.js.map +1 -1
  468. package/dist/index339.js +28 -8
  469. package/dist/index339.js.map +1 -1
  470. package/dist/index34.js +7 -61
  471. package/dist/index34.js.map +1 -1
  472. package/dist/index340.js +16 -11
  473. package/dist/index340.js.map +1 -1
  474. package/dist/index341.js +8 -8
  475. package/dist/index341.js.map +1 -1
  476. package/dist/index342.js +11 -13
  477. package/dist/index342.js.map +1 -1
  478. package/dist/index343.js +8 -3
  479. package/dist/index343.js.map +1 -1
  480. package/dist/index344.js +13 -3
  481. package/dist/index344.js.map +1 -1
  482. package/dist/index345.js +3 -51
  483. package/dist/index345.js.map +1 -1
  484. package/dist/index346.js +3 -17
  485. package/dist/index346.js.map +1 -1
  486. package/dist/index347.js +17 -5
  487. package/dist/index347.js.map +1 -1
  488. package/dist/index348.js +46 -117
  489. package/dist/index348.js.map +1 -1
  490. package/dist/index349.js +5 -32
  491. package/dist/index349.js.map +1 -1
  492. package/dist/index35.js +29 -30
  493. package/dist/index35.js.map +1 -1
  494. package/dist/index350.js +58 -70
  495. package/dist/index350.js.map +1 -1
  496. package/dist/index351.js +64 -140
  497. package/dist/index351.js.map +1 -1
  498. package/dist/index352.js +7 -60
  499. package/dist/index352.js.map +1 -1
  500. package/dist/index353.js +4 -49
  501. package/dist/index353.js.map +1 -1
  502. package/dist/index354.js +12 -15
  503. package/dist/index354.js.map +1 -1
  504. package/dist/index355.js +21 -8
  505. package/dist/index355.js.map +1 -1
  506. package/dist/index356.js +17 -5
  507. package/dist/index356.js.map +1 -1
  508. package/dist/index357.js +8 -12
  509. package/dist/index357.js.map +1 -1
  510. package/dist/index358.js +144 -21
  511. package/dist/index358.js.map +1 -1
  512. package/dist/index359.js +79 -11
  513. package/dist/index359.js.map +1 -1
  514. package/dist/index36.js +52 -53
  515. package/dist/index36.js.map +1 -1
  516. package/dist/index360.js +61 -16
  517. package/dist/index360.js.map +1 -1
  518. package/dist/index361.js +15 -4
  519. package/dist/index361.js.map +1 -1
  520. package/dist/index362.js +4 -6
  521. package/dist/index362.js.map +1 -1
  522. package/dist/index363.js +5 -20
  523. package/dist/index363.js.map +1 -1
  524. package/dist/index364.js +3 -45
  525. package/dist/index364.js.map +1 -1
  526. package/dist/index365.js +11 -17
  527. package/dist/index365.js.map +1 -1
  528. package/dist/index366.js +21 -5
  529. package/dist/index366.js.map +1 -1
  530. package/dist/index367.js +44 -200
  531. package/dist/index367.js.map +1 -1
  532. package/dist/index368.js +17 -77
  533. package/dist/index368.js.map +1 -1
  534. package/dist/index369.js +5 -5
  535. package/dist/index369.js.map +1 -1
  536. package/dist/index37.js.map +1 -1
  537. package/dist/index370.js +199 -16
  538. package/dist/index370.js.map +1 -1
  539. package/dist/index371.js +73 -12
  540. package/dist/index371.js.map +1 -1
  541. package/dist/index372.js +122 -19
  542. package/dist/index372.js.map +1 -1
  543. package/dist/index373.js +4 -8
  544. package/dist/index373.js.map +1 -1
  545. package/dist/index374.js +18 -26
  546. package/dist/index374.js.map +1 -1
  547. package/dist/index375.js +12 -26
  548. package/dist/index375.js.map +1 -1
  549. package/dist/index376.js +4 -137
  550. package/dist/index376.js.map +1 -1
  551. package/dist/index377.js +19 -11
  552. package/dist/index377.js.map +1 -1
  553. package/dist/index378.js +7 -225
  554. package/dist/index378.js.map +1 -1
  555. package/dist/index379.js +27 -4
  556. package/dist/index379.js.map +1 -1
  557. package/dist/index38.js.map +1 -1
  558. package/dist/index380.js +136 -18
  559. package/dist/index380.js.map +1 -1
  560. package/dist/index381.js +10 -75
  561. package/dist/index381.js.map +1 -1
  562. package/dist/index382.js +47 -12
  563. package/dist/index382.js.map +1 -1
  564. package/dist/index383.js +3 -3
  565. package/dist/index383.js.map +1 -1
  566. package/dist/index384.js +19 -69
  567. package/dist/index384.js.map +1 -1
  568. package/dist/index385.js +76 -9
  569. package/dist/index385.js.map +1 -1
  570. package/dist/index386.js +12 -16
  571. package/dist/index386.js.map +1 -1
  572. package/dist/index387.js +4 -3
  573. package/dist/index387.js.map +1 -1
  574. package/dist/index388.js +72 -3
  575. package/dist/index388.js.map +1 -1
  576. package/dist/index389.js +35 -4
  577. package/dist/index389.js.map +1 -1
  578. package/dist/index39.js +3 -3
  579. package/dist/index39.js.map +1 -1
  580. package/dist/index390.js +7 -5
  581. package/dist/index390.js.map +1 -1
  582. package/dist/index391.js +16 -4
  583. package/dist/index391.js.map +1 -1
  584. package/dist/index392.js +3 -16
  585. package/dist/index392.js.map +1 -1
  586. package/dist/index393.js +3 -9
  587. package/dist/index393.js.map +1 -1
  588. package/dist/index394.js +4 -5
  589. package/dist/index394.js.map +1 -1
  590. package/dist/index395.js +4 -4
  591. package/dist/index395.js.map +1 -1
  592. package/dist/index396.js +4 -546
  593. package/dist/index396.js.map +1 -1
  594. package/dist/index397.js +16 -47
  595. package/dist/index397.js.map +1 -1
  596. package/dist/index398.js +8 -17
  597. package/dist/index398.js.map +1 -1
  598. package/dist/index399.js +5 -5
  599. package/dist/index399.js.map +1 -1
  600. package/dist/index40.js.map +1 -1
  601. package/dist/index400.js +4 -7
  602. package/dist/index400.js.map +1 -1
  603. package/dist/index401.js +545 -6
  604. package/dist/index401.js.map +1 -1
  605. package/dist/index402.js +47 -8
  606. package/dist/index402.js.map +1 -1
  607. package/dist/index403.js +17 -11
  608. package/dist/index403.js.map +1 -1
  609. package/dist/index404.js +5 -8
  610. package/dist/index404.js.map +1 -1
  611. package/dist/index405.js +7 -12
  612. package/dist/index405.js.map +1 -1
  613. package/dist/index406.js +6 -14
  614. package/dist/index406.js.map +1 -1
  615. package/dist/index407.js +7 -491
  616. package/dist/index407.js.map +1 -1
  617. package/dist/index408.js +11 -7
  618. package/dist/index408.js.map +1 -1
  619. package/dist/index409.js +9 -2
  620. package/dist/index409.js.map +1 -1
  621. package/dist/index41.js +45 -40
  622. package/dist/index41.js.map +1 -1
  623. package/dist/index410.js +12 -43
  624. package/dist/index410.js.map +1 -1
  625. package/dist/index411.js +3 -56
  626. package/dist/index411.js.map +1 -1
  627. package/dist/index412.js +14 -7
  628. package/dist/index412.js.map +1 -1
  629. package/dist/index413.js +492 -2
  630. package/dist/index413.js.map +1 -1
  631. package/dist/index414.js +7 -54
  632. package/dist/index414.js.map +1 -1
  633. package/dist/index415.js +2 -56
  634. package/dist/index415.js.map +1 -1
  635. package/dist/index416.js +43 -4
  636. package/dist/index416.js.map +1 -1
  637. package/dist/index417.js +55 -55
  638. package/dist/index417.js.map +1 -1
  639. package/dist/index418.js +8 -68
  640. package/dist/index418.js.map +1 -1
  641. package/dist/index419.js +2 -31
  642. package/dist/index419.js.map +1 -1
  643. package/dist/index420.js +55 -9
  644. package/dist/index420.js.map +1 -1
  645. package/dist/index421.js +55 -152
  646. package/dist/index421.js.map +1 -1
  647. package/dist/index422.js +32 -107
  648. package/dist/index422.js.map +1 -1
  649. package/dist/index423.js +68 -2
  650. package/dist/index423.js.map +1 -1
  651. package/dist/index424.js +31 -2
  652. package/dist/index424.js.map +1 -1
  653. package/dist/index425.js +9 -2
  654. package/dist/index425.js.map +1 -1
  655. package/dist/index426.js +153 -2
  656. package/dist/index426.js.map +1 -1
  657. package/dist/index427.js +108 -16
  658. package/dist/index427.js.map +1 -1
  659. package/dist/index428.js +4 -28
  660. package/dist/index428.js.map +1 -1
  661. package/dist/index429.js +56 -13
  662. package/dist/index429.js.map +1 -1
  663. package/dist/index430.js +2 -7
  664. package/dist/index430.js.map +1 -1
  665. package/dist/index431.js +5 -0
  666. package/dist/index431.js.map +1 -0
  667. package/dist/index432.js +5 -0
  668. package/dist/index432.js.map +1 -0
  669. package/dist/index433.js +5 -0
  670. package/dist/index433.js.map +1 -0
  671. package/dist/index434.js +19 -0
  672. package/dist/index434.js.map +1 -0
  673. package/dist/index435.js +32 -0
  674. package/dist/index435.js.map +1 -0
  675. package/dist/index436.js +16 -0
  676. package/dist/index436.js.map +1 -0
  677. package/dist/index437.js +10 -0
  678. package/dist/index437.js.map +1 -0
  679. package/dist/index44.js +1 -1
  680. package/dist/index45.js +2 -2
  681. package/dist/index48.js +2 -2
  682. package/dist/index48.js.map +1 -1
  683. package/dist/index49.js +274 -268
  684. package/dist/index49.js.map +1 -1
  685. package/dist/index50.js +182 -184
  686. package/dist/index50.js.map +1 -1
  687. package/dist/index51.js +3 -3
  688. package/dist/index51.js.map +1 -1
  689. package/dist/index52.js +105 -103
  690. package/dist/index52.js.map +1 -1
  691. package/dist/index53.js +4 -4
  692. package/dist/index53.js.map +1 -1
  693. package/dist/index54.js.map +1 -1
  694. package/dist/index55.js +100 -108
  695. package/dist/index55.js.map +1 -1
  696. package/dist/index56.js.map +1 -1
  697. package/dist/index57.js +2 -2
  698. package/dist/index57.js.map +1 -1
  699. package/dist/index58.js +3 -3
  700. package/dist/index58.js.map +1 -1
  701. package/dist/index59.js +1 -1
  702. package/dist/index59.js.map +1 -1
  703. package/dist/index6.js +43 -48
  704. package/dist/index6.js.map +1 -1
  705. package/dist/index60.js +84 -80
  706. package/dist/index60.js.map +1 -1
  707. package/dist/index61.js.map +1 -1
  708. package/dist/index62.js +24 -26
  709. package/dist/index62.js.map +1 -1
  710. package/dist/index70.js +1 -1
  711. package/dist/index71.js +1 -1
  712. package/dist/index74.js +2 -6
  713. package/dist/index74.js.map +1 -1
  714. package/dist/index75.js +2 -8
  715. package/dist/index75.js.map +1 -1
  716. package/dist/index76.js +5 -5
  717. package/dist/index76.js.map +1 -1
  718. package/dist/index77.js +8 -2
  719. package/dist/index77.js.map +1 -1
  720. package/dist/index78.js +6 -2
  721. package/dist/index78.js.map +1 -1
  722. package/dist/index79.js +50 -52
  723. package/dist/index79.js.map +1 -1
  724. package/dist/index80.js +4 -4
  725. package/dist/index80.js.map +1 -1
  726. package/dist/index81.js +12 -4
  727. package/dist/index81.js.map +1 -1
  728. package/dist/index82.js +5 -15
  729. package/dist/index82.js.map +1 -1
  730. package/dist/index83.js +7 -5
  731. package/dist/index83.js.map +1 -1
  732. package/dist/index84.js +17 -7
  733. package/dist/index84.js.map +1 -1
  734. package/dist/index85.js +4 -16
  735. package/dist/index85.js.map +1 -1
  736. package/dist/index86.js +1 -1
  737. package/dist/index86.js.map +1 -1
  738. package/dist/index87.js +5 -4
  739. package/dist/index87.js.map +1 -1
  740. package/dist/index88.js +4 -4
  741. package/dist/index88.js.map +1 -1
  742. package/dist/index89.js +4 -5
  743. package/dist/index89.js.map +1 -1
  744. package/dist/index90.js +2 -2
  745. package/dist/index90.js.map +1 -1
  746. package/dist/index91.js +5 -3
  747. package/dist/index91.js.map +1 -1
  748. package/dist/index92.js +24 -6
  749. package/dist/index92.js.map +1 -1
  750. package/dist/index93.js +4 -24
  751. package/dist/index93.js.map +1 -1
  752. package/dist/index94.js +4 -6
  753. package/dist/index94.js.map +1 -1
  754. package/dist/index95.js +2 -2
  755. package/dist/index95.js.map +1 -1
  756. package/dist/index96.js +5 -6
  757. package/dist/index96.js.map +1 -1
  758. package/dist/index97.js +4 -5
  759. package/dist/index97.js.map +1 -1
  760. package/dist/index98.js +4 -3
  761. package/dist/index98.js.map +1 -1
  762. package/dist/index99.js +4 -5
  763. package/dist/index99.js.map +1 -1
  764. package/package.json +14 -12
package/dist/index374.js CHANGED
@@ -1,29 +1,21 @@
1
- import * as r from "react";
2
- import { useIsoLayoutEffect as u } from "./index201.js";
3
- import { isSafari as i } from "./index241.js";
4
- import { visuallyHidden as f } from "./index196.js";
5
- import { j as n } from "./index30.js";
6
- const d = /* @__PURE__ */ r.forwardRef(function(t, s) {
7
- const [o, e] = r.useState();
8
- u(() => {
9
- i && e("button");
10
- }, []);
11
- const a = {
12
- tabIndex: 0,
13
- // Role is only for VoiceOver
14
- role: o
15
- };
16
- return /* @__PURE__ */ n.jsx("span", {
17
- ...t,
18
- ref: s,
19
- style: f,
20
- "aria-hidden": o ? void 0 : !0,
21
- ...a,
22
- "data-base-ui-focus-guard": ""
23
- });
24
- });
25
- process.env.NODE_ENV !== "production" && (d.displayName = "FocusGuard");
1
+ import { formatDistance as o } from "./index423.js";
2
+ import { formatLong as t } from "./index424.js";
3
+ import { formatRelative as r } from "./index425.js";
4
+ import { localize as m } from "./index426.js";
5
+ import { match as a } from "./index427.js";
6
+ const p = {
7
+ code: "en-US",
8
+ formatDistance: o,
9
+ formatLong: t,
10
+ formatRelative: r,
11
+ localize: m,
12
+ match: a,
13
+ options: {
14
+ weekStartsOn: 0,
15
+ firstWeekContainsDate: 1
16
+ }
17
+ };
26
18
  export {
27
- d as FocusGuard
19
+ p as enUS
28
20
  };
29
21
  //# sourceMappingURL=index374.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index374.js","sources":["../../../node_modules/@base-ui/react/esm/utils/FocusGuard.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { isSafari } from '@base-ui/utils/detectBrowser';\nimport { visuallyHidden } from '@base-ui/utils/visuallyHidden';\n\n/**\n * @internal\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const FocusGuard = /*#__PURE__*/React.forwardRef(function FocusGuard(props, ref) {\n const [role, setRole] = React.useState();\n useIsoLayoutEffect(() => {\n if (isSafari) {\n // Unlike other screen readers such as NVDA and JAWS, the virtual cursor\n // on VoiceOver does trigger the onFocus event, so we can use the focus\n // trap element. On Safari, only buttons trigger the onFocus event.\n setRole('button');\n }\n }, []);\n const restProps = {\n tabIndex: 0,\n // Role is only for VoiceOver\n role\n };\n return /*#__PURE__*/_jsx(\"span\", {\n ...props,\n ref: ref,\n style: visuallyHidden,\n \"aria-hidden\": role ? undefined : true,\n ...restProps,\n \"data-base-ui-focus-guard\": \"\"\n });\n});\nif (process.env.NODE_ENV !== \"production\") FocusGuard.displayName = \"FocusGuard\";"],"names":["FocusGuard","React","props","ref","role","setRole","useIsoLayoutEffect","isSafari","restProps","_jsx","visuallyHidden"],"mappings":";;;;;AAWY,MAACA,IAA0B,gBAAAC,EAAM,WAAW,SAAoBC,GAAOC,GAAK;AACtF,QAAM,CAACC,GAAMC,CAAO,IAAIJ,EAAM,SAAQ;AACtC,EAAAK,EAAmB,MAAM;AACvB,IAAIC,KAIFF,EAAQ,QAAQ;AAAA,EAEpB,GAAG,CAAA,CAAE;AACL,QAAMG,IAAY;AAAA,IAChB,UAAU;AAAA;AAAA,IAEV,MAAAJ;AAAA,EACJ;AACE,SAAoBK,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,IAC/B,GAAGP;AAAA,IACH,KAAKC;AAAA,IACL,OAAOO;AAAA,IACP,eAAeN,IAAO,SAAY;AAAA,IAClC,GAAGI;AAAA,IACH,4BAA4B;AAAA,EAChC,CAAG;AACH,CAAC;AACG,QAAQ,IAAI,aAAa,iBAAcR,EAAW,cAAc;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index374.js","sources":["../../../node_modules/date-fns/locale/en-US.js"],"sourcesContent":["import { formatDistance } from \"./en-US/_lib/formatDistance.js\";\nimport { formatLong } from \"./en-US/_lib/formatLong.js\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.js\";\nimport { localize } from \"./en-US/_lib/localize.js\";\nimport { match } from \"./en-US/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)\n * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)\n */\nexport const enUS = {\n code: \"en-US\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0 /* Sunday */,\n firstWeekContainsDate: 1,\n },\n};\n\n// Fallback for modularized imports:\nexport default enUS;\n"],"names":["enUS","formatDistance","formatLong","formatRelative","localize","match"],"mappings":";;;;;AAcY,MAACA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,gBAAgBC;AAAA,EAChB,YAAYC;AAAA,EACZ,gBAAgBC;AAAA,EAChB,UAAUC;AAAA,EACV,OAAOC;AAAA,EACP,SAAS;AAAA,IACP,cAAc;AAAA,IACd,uBAAuB;AAAA,EAC3B;AACA;","x_google_ignoreList":[0]}
package/dist/index375.js CHANGED
@@ -1,30 +1,16 @@
1
- import { isAndroid as r, isJSDOM as o } from "./index241.js";
2
- function n(i) {
3
- i.preventDefault(), i.stopPropagation();
4
- }
5
- function e(i) {
6
- return "nativeEvent" in i;
7
- }
8
- function p(i) {
9
- return i.pointerType === "" && i.isTrusted ? !0 : r && i.pointerType ? i.type === "click" && i.buttons === 1 : i.detail === 0 && !i.pointerType;
10
- }
11
- function c(i) {
12
- return o ? !1 : !r && i.width === 0 && i.height === 0 || r && i.width === 1 && i.height === 1 && i.pressure === 0 && i.detail === 0 && i.pointerType === "mouse" || // iOS VoiceOver returns 0.333• for width/height.
13
- i.width < 1 && i.height < 1 && i.pressure === 0 && i.detail === 0 && i.pointerType === "touch";
14
- }
15
- function l(i, t) {
16
- return ["mouse", "pen"].includes(i);
17
- }
18
- function a(i) {
19
- const t = i.type;
20
- return t === "click" || t === "mousedown" || t === "keydown" || t === "keyup";
1
+ function g(d, s, k, t, f, O, n) {
2
+ const { ISOWeek: o, broadcastCalendar: r } = O, { addDays: W, addMonths: c, addWeeks: l, addYears: u, endOfBroadcastWeek: b, endOfISOWeek: m, endOfWeek: y, max: F, min: I, startOfBroadcastWeek: h, startOfISOWeek: x, startOfWeek: B } = n;
3
+ let a = {
4
+ day: W,
5
+ week: l,
6
+ month: c,
7
+ year: u,
8
+ startOfWeek: (e) => r ? h(e, n) : o ? x(e) : B(e),
9
+ endOfWeek: (e) => r ? b(e) : o ? m(e) : y(e)
10
+ }[d](k, s === "after" ? 1 : -1);
11
+ return s === "before" && t ? a = F([t, a]) : s === "after" && f && (a = I([f, a])), a;
21
12
  }
22
13
  export {
23
- a as isClickLikeEvent,
24
- l as isMouseLikePointerType,
25
- e as isReactEvent,
26
- p as isVirtualClick,
27
- c as isVirtualPointerEvent,
28
- n as stopEvent
14
+ g as getFocusableDate
29
15
  };
30
16
  //# sourceMappingURL=index375.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index375.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/event.js"],"sourcesContent":["import { isAndroid, isJSDOM } from '@base-ui/utils/detectBrowser';\nexport function stopEvent(event) {\n event.preventDefault();\n event.stopPropagation();\n}\nexport function isReactEvent(event) {\n return 'nativeEvent' in event;\n}\n\n// License: https://github.com/adobe/react-spectrum/blob/main/packages/@react-aria/utils/src/isVirtualEvent.ts\nexport function isVirtualClick(event) {\n if (event.pointerType === '' && event.isTrusted) {\n return true;\n }\n if (isAndroid && event.pointerType) {\n return event.type === 'click' && event.buttons === 1;\n }\n return event.detail === 0 && !event.pointerType;\n}\nexport function isVirtualPointerEvent(event) {\n if (isJSDOM) {\n return false;\n }\n return !isAndroid && event.width === 0 && event.height === 0 || isAndroid && event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse' ||\n // iOS VoiceOver returns 0.333• for width/height.\n event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'touch';\n}\nexport function isMouseLikePointerType(pointerType, strict) {\n // On some Linux machines with Chromium, mouse inputs return a `pointerType`\n // of \"pen\": https://github.com/floating-ui/floating-ui/issues/2015\n const values = ['mouse', 'pen'];\n if (!strict) {\n values.push('', undefined);\n }\n return values.includes(pointerType);\n}\nexport function isClickLikeEvent(event) {\n const type = event.type;\n return type === 'click' || type === 'mousedown' || type === 'keydown' || type === 'keyup';\n}"],"names":["stopEvent","event","isReactEvent","isVirtualClick","isAndroid","isVirtualPointerEvent","isJSDOM","isMouseLikePointerType","pointerType","strict","isClickLikeEvent","type"],"mappings":";AACO,SAASA,EAAUC,GAAO;AAC/B,EAAAA,EAAM,eAAc,GACpBA,EAAM,gBAAe;AACvB;AACO,SAASC,EAAaD,GAAO;AAClC,SAAO,iBAAiBA;AAC1B;AAGO,SAASE,EAAeF,GAAO;AACpC,SAAIA,EAAM,gBAAgB,MAAMA,EAAM,YAC7B,KAELG,KAAaH,EAAM,cACdA,EAAM,SAAS,WAAWA,EAAM,YAAY,IAE9CA,EAAM,WAAW,KAAK,CAACA,EAAM;AACtC;AACO,SAASI,EAAsBJ,GAAO;AAC3C,SAAIK,IACK,KAEF,CAACF,KAAaH,EAAM,UAAU,KAAKA,EAAM,WAAW,KAAKG,KAAaH,EAAM,UAAU,KAAKA,EAAM,WAAW,KAAKA,EAAM,aAAa,KAAKA,EAAM,WAAW,KAAKA,EAAM,gBAAgB;AAAA,EAE5LA,EAAM,QAAQ,KAAKA,EAAM,SAAS,KAAKA,EAAM,aAAa,KAAKA,EAAM,WAAW,KAAKA,EAAM,gBAAgB;AAC7G;AACO,SAASM,EAAuBC,GAAaC,GAAQ;AAO1D,SAJe,CAAC,SAAS,KAAK,EAIhB,SAASD,CAAW;AACpC;AACO,SAASE,EAAiBT,GAAO;AACtC,QAAMU,IAAOV,EAAM;AACnB,SAAOU,MAAS,WAAWA,MAAS,eAAeA,MAAS,aAAaA,MAAS;AACpF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index375.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js"],"sourcesContent":["/**\n * Calculates the next date that should be focused in the calendar.\n *\n * This function determines the next focusable date based on the movement\n * direction, constraints, and calendar configuration.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDate The reference date from which to calculate the next focusable\n * date.\n * @param navStart The earliest date the user can navigate to.\n * @param navEnd The latest date the user can navigate to.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next focusable date.\n */\nexport function getFocusableDate(moveBy, moveDir, refDate, navStart, navEnd, props, dateLib) {\n const { ISOWeek, broadcastCalendar } = props;\n const { addDays, addMonths, addWeeks, addYears, endOfBroadcastWeek, endOfISOWeek, endOfWeek, max, min, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const moveFns = {\n day: addDays,\n week: addWeeks,\n month: addMonths,\n year: addYears,\n startOfWeek: (date) => broadcastCalendar\n ? startOfBroadcastWeek(date, dateLib)\n : ISOWeek\n ? startOfISOWeek(date)\n : startOfWeek(date),\n endOfWeek: (date) => broadcastCalendar\n ? endOfBroadcastWeek(date)\n : ISOWeek\n ? endOfISOWeek(date)\n : endOfWeek(date),\n };\n let focusableDate = moveFns[moveBy](refDate, moveDir === \"after\" ? 1 : -1);\n if (moveDir === \"before\" && navStart) {\n focusableDate = max([navStart, focusableDate]);\n }\n else if (moveDir === \"after\" && navEnd) {\n focusableDate = min([navEnd, focusableDate]);\n }\n return focusableDate;\n}\n"],"names":["getFocusableDate","moveBy","moveDir","refDate","navStart","navEnd","props","dateLib","ISOWeek","broadcastCalendar","addDays","addMonths","addWeeks","addYears","endOfBroadcastWeek","endOfISOWeek","endOfWeek","max","min","startOfBroadcastWeek","startOfISOWeek","startOfWeek","focusableDate","date"],"mappings":"AAgBO,SAASA,EAAiBC,GAAQC,GAASC,GAASC,GAAUC,GAAQC,GAAOC,GAAS;AACzF,QAAM,EAAE,SAAAC,GAAS,mBAAAC,EAAiB,IAAKH,GACjC,EAAE,SAAAI,GAAS,WAAAC,GAAW,UAAAC,GAAU,UAAAC,GAAU,oBAAAC,GAAoB,cAAAC,GAAc,WAAAC,GAAW,KAAAC,GAAK,KAAAC,GAAK,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMd;AAiB9J,MAAIe,IAhBY;AAAA,IACZ,KAAKZ;AAAA,IACL,MAAME;AAAA,IACN,OAAOD;AAAA,IACP,MAAME;AAAA,IACN,aAAa,CAACU,MAASd,IACjBU,EAAqBI,GAAMhB,CAAO,IAClCC,IACIY,EAAeG,CAAI,IACnBF,EAAYE,CAAI;AAAA,IAC1B,WAAW,CAACA,MAASd,IACfK,EAAmBS,CAAI,IACvBf,IACIO,EAAaQ,CAAI,IACjBP,EAAUO,CAAI;AAAA,EAChC,EACgCtB,CAAM,EAAEE,GAASD,MAAY,UAAU,IAAI,EAAE;AACzE,SAAIA,MAAY,YAAYE,IACxBkB,IAAgBL,EAAI,CAACb,GAAUkB,CAAa,CAAC,IAExCpB,MAAY,WAAWG,MAC5BiB,IAAgBJ,EAAI,CAACb,GAAQiB,CAAa,CAAC,IAExCA;AACX;","x_google_ignoreList":[0]}
package/dist/index376.js CHANGED
@@ -1,141 +1,8 @@
1
- import { isHTMLElement as s, getNodeName as i, isShadowRoot as T, getComputedStyle as A } from "./index249.js";
2
- import { ownerDocument as c } from "./index224.js";
3
- import { contains as f, activeElement as I } from "./index231.js";
4
- import { isElementVisible as C } from "./index378.js";
5
- const N = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';
6
- function R(t) {
7
- const n = t.assignedSlot;
8
- if (n)
9
- return n;
10
- if (t.parentElement)
11
- return t.parentElement;
12
- const e = t.getRootNode();
13
- return T(e) ? e.host : null;
14
- }
15
- function d(t) {
16
- for (const n of Array.from(t.children))
17
- if (i(n) === "summary")
18
- return n;
19
- return null;
20
- }
21
- function S(t, n) {
22
- const e = d(n);
23
- return !!e && (t === e || f(e, t));
24
- }
25
- function b(t) {
26
- const n = t ? i(t) : "";
27
- return t != null && t.matches(N) && (n !== "summary" || t.parentElement != null && i(t.parentElement) === "details" && d(t.parentElement) === t) && (n !== "details" || d(t) == null) && (n !== "input" || t.type !== "hidden");
28
- }
29
- function l(t) {
30
- if (!b(t) || !t.isConnected || t.matches(":disabled"))
31
- return !1;
32
- for (let n = t; n; n = R(n)) {
33
- const e = n !== t, r = i(n) === "slot";
34
- if (n.hasAttribute("inert") || e && i(n) === "details" && !n.open && !S(t, n) || n.hasAttribute("hidden") || !r && !v(n, e))
35
- return !1;
36
- }
37
- return !0;
38
- }
39
- function v(t, n) {
40
- const e = A(t);
41
- return n ? e.display !== "none" : C(t, e);
42
- }
43
- function m(t) {
44
- const n = t.tabIndex;
45
- if (n < 0) {
46
- const e = i(t);
47
- if (e === "details" || e === "audio" || e === "video" || s(t) && t.isContentEditable)
48
- return 0;
49
- }
50
- return n;
51
- }
52
- function u(t) {
53
- if (i(t) !== "input")
54
- return null;
55
- const n = t;
56
- return n.type === "radio" && n.name !== "" ? n : null;
57
- }
58
- function D(t, n) {
59
- const e = u(t);
60
- if (!e)
61
- return !0;
62
- const r = n.find((a) => {
63
- const o = u(a);
64
- return o?.name === e.name && o.form === e.form && o.checked;
65
- });
66
- return r ? r === e : n.find((a) => {
67
- const o = u(a);
68
- return o?.name === e.name && o.form === e.form;
69
- }) === e;
70
- }
71
- function p(t) {
72
- if (s(t) && i(t) === "slot") {
73
- const n = t.assignedElements({
74
- flatten: !0
75
- });
76
- if (n.length > 0)
77
- return n;
78
- }
79
- return s(t) && t.shadowRoot ? Array.from(t.shadowRoot.children) : Array.from(t.children);
80
- }
81
- function h(t, n) {
82
- p(t).forEach((e) => {
83
- b(e) && n.push(e), h(e, n);
84
- });
85
- }
86
- function E(t, n, e) {
87
- p(t).forEach((r) => {
88
- s(r) && r.matches(n) && e.push(r), E(r, n, e);
89
- });
90
- }
91
- function M(t) {
92
- return l(t) && m(t) >= 0;
93
- }
94
- function w(t) {
95
- const n = [];
96
- return h(t, n), n.filter(l);
97
- }
98
- function g(t) {
99
- const n = w(t);
100
- return n.filter((e) => m(e) >= 0 && D(e, n));
101
- }
102
- function x(t, n) {
103
- const e = g(t), r = e.length;
104
- if (r === 0)
105
- return;
106
- const a = I(c(t)), o = e.indexOf(a), y = o === -1 ? n === 1 ? 0 : r - 1 : o + n;
107
- return e[y];
108
- }
109
- function P(t) {
110
- return x(c(t).body, 1) || t;
111
- }
112
- function V(t) {
113
- return x(c(t).body, -1) || t;
114
- }
115
- function j(t, n) {
116
- const e = n || t.currentTarget, r = t.relatedTarget;
117
- return !r || !f(e, r);
118
- }
119
- function H(t) {
120
- g(t).forEach((e) => {
121
- e.dataset.tabindex = e.getAttribute("tabindex") || "", e.setAttribute("tabindex", "-1");
122
- });
123
- }
124
- function W(t) {
125
- const n = [];
126
- E(t, "[data-tabindex]", n), n.forEach((e) => {
127
- const r = e.dataset.tabindex;
128
- delete e.dataset.tabindex, r ? e.setAttribute("tabindex", r) : e.removeAttribute("tabindex");
129
- });
1
+ var e = /^[A-Z]{2}$/;
2
+ function r(t) {
3
+ return e.test(t);
130
4
  }
131
5
  export {
132
- H as disableFocusInside,
133
- W as enableFocusInside,
134
- w as focusable,
135
- P as getNextTabbable,
136
- V as getPreviousTabbable,
137
- j as isOutsideEvent,
138
- M as isTabbable,
139
- g as tabbable
6
+ r as default
140
7
  };
141
8
  //# sourceMappingURL=index376.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index376.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/tabbable.js"],"sourcesContent":["import { getComputedStyle, getNodeName, isHTMLElement, isShadowRoot } from '@floating-ui/utils/dom';\nimport { ownerDocument } from '@base-ui/utils/owner';\nimport { activeElement, contains } from \"./element.js\";\nimport { isElementVisible } from \"./composite.js\";\nconst CANDIDATE_SELECTOR = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable=\"false\"]),audio[controls],video[controls]';\nfunction getParentElement(element) {\n const assignedSlot = element.assignedSlot;\n if (assignedSlot) {\n return assignedSlot;\n }\n if (element.parentElement) {\n return element.parentElement;\n }\n const rootNode = element.getRootNode();\n return isShadowRoot(rootNode) ? rootNode.host : null;\n}\nfunction getDetailsSummary(details) {\n for (const child of Array.from(details.children)) {\n if (getNodeName(child) === 'summary') {\n return child;\n }\n }\n return null;\n}\nfunction isWithinOpenDetailsSummary(element, details) {\n const summary = getDetailsSummary(details);\n return !!summary && (element === summary || contains(summary, element));\n}\nfunction isFocusableCandidate(element) {\n const nodeName = element ? getNodeName(element) : '';\n return element != null && element.matches(CANDIDATE_SELECTOR) && (nodeName !== 'summary' || element.parentElement != null && getNodeName(element.parentElement) === 'details' && getDetailsSummary(element.parentElement) === element) && (nodeName !== 'details' || getDetailsSummary(element) == null) && (nodeName !== 'input' || element.type !== 'hidden');\n}\nfunction isFocusableElement(element) {\n if (!isFocusableCandidate(element) || !element.isConnected || element.matches(':disabled')) {\n return false;\n }\n for (let current = element; current; current = getParentElement(current)) {\n const isAncestor = current !== element;\n const isSlot = getNodeName(current) === 'slot';\n if (current.hasAttribute('inert')) {\n return false;\n }\n if (isAncestor && getNodeName(current) === 'details' && !current.open && !isWithinOpenDetailsSummary(element, current) || current.hasAttribute('hidden') || !isSlot && !isVisibleInTabbableTree(current, isAncestor)) {\n return false;\n }\n }\n return true;\n}\nfunction isVisibleInTabbableTree(element, isAncestor) {\n const styles = getComputedStyle(element);\n if (!isAncestor) {\n return isElementVisible(element, styles);\n }\n return styles.display !== 'none';\n}\nfunction getTabIndex(element) {\n const tabIndex = element.tabIndex;\n if (tabIndex < 0) {\n const nodeName = getNodeName(element);\n if (nodeName === 'details' || nodeName === 'audio' || nodeName === 'video' || isHTMLElement(element) && element.isContentEditable) {\n return 0;\n }\n }\n return tabIndex;\n}\nfunction getNamedRadioInput(element) {\n if (getNodeName(element) !== 'input') {\n return null;\n }\n const input = element;\n return input.type === 'radio' && input.name !== '' ? input : null;\n}\nfunction isTabbableRadio(element, candidates) {\n const input = getNamedRadioInput(element);\n if (!input) {\n return true;\n }\n const checkedRadio = candidates.find(candidate => {\n const radio = getNamedRadioInput(candidate);\n return radio?.name === input.name && radio.form === input.form && radio.checked;\n });\n if (checkedRadio) {\n return checkedRadio === input;\n }\n return candidates.find(candidate => {\n const radio = getNamedRadioInput(candidate);\n return radio?.name === input.name && radio.form === input.form;\n }) === input;\n}\nfunction getComposedChildren(container) {\n if (isHTMLElement(container) && getNodeName(container) === 'slot') {\n const assignedElements = container.assignedElements({\n flatten: true\n });\n if (assignedElements.length > 0) {\n return assignedElements;\n }\n }\n if (isHTMLElement(container) && container.shadowRoot) {\n return Array.from(container.shadowRoot.children);\n }\n return Array.from(container.children);\n}\nfunction appendCandidates(container, list) {\n getComposedChildren(container).forEach(child => {\n if (isFocusableCandidate(child)) {\n list.push(child);\n }\n appendCandidates(child, list);\n });\n}\nfunction appendMatchingElements(container, selector, list) {\n getComposedChildren(container).forEach(child => {\n if (isHTMLElement(child) && child.matches(selector)) {\n list.push(child);\n }\n appendMatchingElements(child, selector, list);\n });\n}\nexport function isTabbable(element) {\n return isFocusableElement(element) && getTabIndex(element) >= 0;\n}\nexport function focusable(container) {\n const candidates = [];\n appendCandidates(container, candidates);\n return candidates.filter(isFocusableElement);\n}\nexport function tabbable(container) {\n const candidates = focusable(container);\n return candidates.filter(element => getTabIndex(element) >= 0 && isTabbableRadio(element, candidates));\n}\nfunction getTabbableIn(container, dir) {\n const list = tabbable(container);\n const len = list.length;\n if (len === 0) {\n return undefined;\n }\n const active = activeElement(ownerDocument(container));\n const index = list.indexOf(active);\n // eslint-disable-next-line no-nested-ternary\n const nextIndex = index === -1 ? dir === 1 ? 0 : len - 1 : index + dir;\n return list[nextIndex];\n}\nexport function getNextTabbable(referenceElement) {\n return getTabbableIn(ownerDocument(referenceElement).body, 1) || referenceElement;\n}\nexport function getPreviousTabbable(referenceElement) {\n return getTabbableIn(ownerDocument(referenceElement).body, -1) || referenceElement;\n}\nfunction getTabbableNearElement(referenceElement, dir) {\n if (!referenceElement) {\n return null;\n }\n const list = tabbable(ownerDocument(referenceElement).body);\n const elementCount = list.length;\n if (elementCount === 0) {\n return null;\n }\n const index = list.indexOf(referenceElement);\n if (index === -1) {\n return null;\n }\n const nextIndex = (index + dir + elementCount) % elementCount;\n return list[nextIndex];\n}\nexport function getTabbableAfterElement(referenceElement) {\n return getTabbableNearElement(referenceElement, 1);\n}\nexport function getTabbableBeforeElement(referenceElement) {\n return getTabbableNearElement(referenceElement, -1);\n}\nexport function isOutsideEvent(event, container) {\n const containerElement = container || event.currentTarget;\n const relatedTarget = event.relatedTarget;\n return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nexport function disableFocusInside(container) {\n const tabbableElements = tabbable(container);\n tabbableElements.forEach(element => {\n element.dataset.tabindex = element.getAttribute('tabindex') || '';\n element.setAttribute('tabindex', '-1');\n });\n}\nexport function enableFocusInside(container) {\n const elements = [];\n appendMatchingElements(container, '[data-tabindex]', elements);\n elements.forEach(element => {\n const tabindex = element.dataset.tabindex;\n delete element.dataset.tabindex;\n if (tabindex) {\n element.setAttribute('tabindex', tabindex);\n } else {\n element.removeAttribute('tabindex');\n }\n });\n}"],"names":["CANDIDATE_SELECTOR","getParentElement","element","assignedSlot","rootNode","isShadowRoot","getDetailsSummary","details","child","getNodeName","isWithinOpenDetailsSummary","summary","contains","isFocusableCandidate","nodeName","isFocusableElement","current","isAncestor","isSlot","isVisibleInTabbableTree","styles","getComputedStyle","isElementVisible","getTabIndex","tabIndex","isHTMLElement","getNamedRadioInput","input","isTabbableRadio","candidates","checkedRadio","candidate","radio","getComposedChildren","container","assignedElements","appendCandidates","list","appendMatchingElements","selector","isTabbable","focusable","tabbable","getTabbableIn","dir","len","active","activeElement","ownerDocument","index","nextIndex","getNextTabbable","referenceElement","getPreviousTabbable","isOutsideEvent","event","containerElement","relatedTarget","disableFocusInside","enableFocusInside","elements","tabindex"],"mappings":";;;;AAIA,MAAMA,IAAqB;AAC3B,SAASC,EAAiBC,GAAS;AACjC,QAAMC,IAAeD,EAAQ;AAC7B,MAAIC;AACF,WAAOA;AAET,MAAID,EAAQ;AACV,WAAOA,EAAQ;AAEjB,QAAME,IAAWF,EAAQ,YAAW;AACpC,SAAOG,EAAaD,CAAQ,IAAIA,EAAS,OAAO;AAClD;AACA,SAASE,EAAkBC,GAAS;AAClC,aAAWC,KAAS,MAAM,KAAKD,EAAQ,QAAQ;AAC7C,QAAIE,EAAYD,CAAK,MAAM;AACzB,aAAOA;AAGX,SAAO;AACT;AACA,SAASE,EAA2BR,GAASK,GAAS;AACpD,QAAMI,IAAUL,EAAkBC,CAAO;AACzC,SAAO,CAAC,CAACI,MAAYT,MAAYS,KAAWC,EAASD,GAAST,CAAO;AACvE;AACA,SAASW,EAAqBX,GAAS;AACrC,QAAMY,IAAWZ,IAAUO,EAAYP,CAAO,IAAI;AAClD,SAAOA,KAAW,QAAQA,EAAQ,QAAQF,CAAkB,MAAMc,MAAa,aAAaZ,EAAQ,iBAAiB,QAAQO,EAAYP,EAAQ,aAAa,MAAM,aAAaI,EAAkBJ,EAAQ,aAAa,MAAMA,OAAaY,MAAa,aAAaR,EAAkBJ,CAAO,KAAK,UAAUY,MAAa,WAAWZ,EAAQ,SAAS;AACxV;AACA,SAASa,EAAmBb,GAAS;AACnC,MAAI,CAACW,EAAqBX,CAAO,KAAK,CAACA,EAAQ,eAAeA,EAAQ,QAAQ,WAAW;AACvF,WAAO;AAET,WAASc,IAAUd,GAASc,GAASA,IAAUf,EAAiBe,CAAO,GAAG;AACxE,UAAMC,IAAaD,MAAYd,GACzBgB,IAAST,EAAYO,CAAO,MAAM;AAIxC,QAHIA,EAAQ,aAAa,OAAO,KAG5BC,KAAcR,EAAYO,CAAO,MAAM,aAAa,CAACA,EAAQ,QAAQ,CAACN,EAA2BR,GAASc,CAAO,KAAKA,EAAQ,aAAa,QAAQ,KAAK,CAACE,KAAU,CAACC,EAAwBH,GAASC,CAAU;AACjN,aAAO;AAAA,EAEX;AACA,SAAO;AACT;AACA,SAASE,EAAwBjB,GAASe,GAAY;AACpD,QAAMG,IAASC,EAAiBnB,CAAO;AACvC,SAAKe,IAGEG,EAAO,YAAY,SAFjBE,EAAiBpB,GAASkB,CAAM;AAG3C;AACA,SAASG,EAAYrB,GAAS;AAC5B,QAAMsB,IAAWtB,EAAQ;AACzB,MAAIsB,IAAW,GAAG;AAChB,UAAMV,IAAWL,EAAYP,CAAO;AACpC,QAAIY,MAAa,aAAaA,MAAa,WAAWA,MAAa,WAAWW,EAAcvB,CAAO,KAAKA,EAAQ;AAC9G,aAAO;AAAA,EAEX;AACA,SAAOsB;AACT;AACA,SAASE,EAAmBxB,GAAS;AACnC,MAAIO,EAAYP,CAAO,MAAM;AAC3B,WAAO;AAET,QAAMyB,IAAQzB;AACd,SAAOyB,EAAM,SAAS,WAAWA,EAAM,SAAS,KAAKA,IAAQ;AAC/D;AACA,SAASC,EAAgB1B,GAAS2B,GAAY;AAC5C,QAAMF,IAAQD,EAAmBxB,CAAO;AACxC,MAAI,CAACyB;AACH,WAAO;AAET,QAAMG,IAAeD,EAAW,KAAK,CAAAE,MAAa;AAChD,UAAMC,IAAQN,EAAmBK,CAAS;AAC1C,WAAOC,GAAO,SAASL,EAAM,QAAQK,EAAM,SAASL,EAAM,QAAQK,EAAM;AAAA,EAC1E,CAAC;AACD,SAAIF,IACKA,MAAiBH,IAEnBE,EAAW,KAAK,CAAAE,MAAa;AAClC,UAAMC,IAAQN,EAAmBK,CAAS;AAC1C,WAAOC,GAAO,SAASL,EAAM,QAAQK,EAAM,SAASL,EAAM;AAAA,EAC5D,CAAC,MAAMA;AACT;AACA,SAASM,EAAoBC,GAAW;AACtC,MAAIT,EAAcS,CAAS,KAAKzB,EAAYyB,CAAS,MAAM,QAAQ;AACjE,UAAMC,IAAmBD,EAAU,iBAAiB;AAAA,MAClD,SAAS;AAAA,IACf,CAAK;AACD,QAAIC,EAAiB,SAAS;AAC5B,aAAOA;AAAA,EAEX;AACA,SAAIV,EAAcS,CAAS,KAAKA,EAAU,aACjC,MAAM,KAAKA,EAAU,WAAW,QAAQ,IAE1C,MAAM,KAAKA,EAAU,QAAQ;AACtC;AACA,SAASE,EAAiBF,GAAWG,GAAM;AACzC,EAAAJ,EAAoBC,CAAS,EAAE,QAAQ,CAAA1B,MAAS;AAC9C,IAAIK,EAAqBL,CAAK,KAC5B6B,EAAK,KAAK7B,CAAK,GAEjB4B,EAAiB5B,GAAO6B,CAAI;AAAA,EAC9B,CAAC;AACH;AACA,SAASC,EAAuBJ,GAAWK,GAAUF,GAAM;AACzD,EAAAJ,EAAoBC,CAAS,EAAE,QAAQ,CAAA1B,MAAS;AAC9C,IAAIiB,EAAcjB,CAAK,KAAKA,EAAM,QAAQ+B,CAAQ,KAChDF,EAAK,KAAK7B,CAAK,GAEjB8B,EAAuB9B,GAAO+B,GAAUF,CAAI;AAAA,EAC9C,CAAC;AACH;AACO,SAASG,EAAWtC,GAAS;AAClC,SAAOa,EAAmBb,CAAO,KAAKqB,EAAYrB,CAAO,KAAK;AAChE;AACO,SAASuC,EAAUP,GAAW;AACnC,QAAML,IAAa,CAAA;AACnB,SAAAO,EAAiBF,GAAWL,CAAU,GAC/BA,EAAW,OAAOd,CAAkB;AAC7C;AACO,SAAS2B,EAASR,GAAW;AAClC,QAAML,IAAaY,EAAUP,CAAS;AACtC,SAAOL,EAAW,OAAO,CAAA3B,MAAWqB,EAAYrB,CAAO,KAAK,KAAK0B,EAAgB1B,GAAS2B,CAAU,CAAC;AACvG;AACA,SAASc,EAAcT,GAAWU,GAAK;AACrC,QAAMP,IAAOK,EAASR,CAAS,GACzBW,IAAMR,EAAK;AACjB,MAAIQ,MAAQ;AACV;AAEF,QAAMC,IAASC,EAAcC,EAAcd,CAAS,CAAC,GAC/Ce,IAAQZ,EAAK,QAAQS,CAAM,GAE3BI,IAAYD,MAAU,KAAKL,MAAQ,IAAI,IAAIC,IAAM,IAAII,IAAQL;AACnE,SAAOP,EAAKa,CAAS;AACvB;AACO,SAASC,EAAgBC,GAAkB;AAChD,SAAOT,EAAcK,EAAcI,CAAgB,EAAE,MAAM,CAAC,KAAKA;AACnE;AACO,SAASC,EAAoBD,GAAkB;AACpD,SAAOT,EAAcK,EAAcI,CAAgB,EAAE,MAAM,EAAE,KAAKA;AACpE;AAuBO,SAASE,EAAeC,GAAOrB,GAAW;AAC/C,QAAMsB,IAAmBtB,KAAaqB,EAAM,eACtCE,IAAgBF,EAAM;AAC5B,SAAO,CAACE,KAAiB,CAAC7C,EAAS4C,GAAkBC,CAAa;AACpE;AACO,SAASC,EAAmBxB,GAAW;AAE5C,EADyBQ,EAASR,CAAS,EAC1B,QAAQ,CAAAhC,MAAW;AAClC,IAAAA,EAAQ,QAAQ,WAAWA,EAAQ,aAAa,UAAU,KAAK,IAC/DA,EAAQ,aAAa,YAAY,IAAI;AAAA,EACvC,CAAC;AACH;AACO,SAASyD,EAAkBzB,GAAW;AAC3C,QAAM0B,IAAW,CAAA;AACjB,EAAAtB,EAAuBJ,GAAW,mBAAmB0B,CAAQ,GAC7DA,EAAS,QAAQ,CAAA1D,MAAW;AAC1B,UAAM2D,IAAW3D,EAAQ,QAAQ;AACjC,WAAOA,EAAQ,QAAQ,UACnB2D,IACF3D,EAAQ,aAAa,YAAY2D,CAAQ,IAEzC3D,EAAQ,gBAAgB,UAAU;AAAA,EAEtC,CAAC;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index376.js","sources":["../node_modules/libphonenumber-js/es6/helpers/isCountryCode.js"],"sourcesContent":["var COUNTRY_CODE_REG_EXP = /^[A-Z]{2}$/;\nexport default function isCountryCode(string) {\n return COUNTRY_CODE_REG_EXP.test(string);\n}\n//# sourceMappingURL=isCountryCode.js.map"],"names":["COUNTRY_CODE_REG_EXP","isCountryCode","string"],"mappings":"AAAA,IAAIA,IAAuB;AACZ,SAASC,EAAcC,GAAQ;AAC5C,SAAOF,EAAqB,KAAKE,CAAM;AACzC;","x_google_ignoreList":[0]}
package/dist/index377.js CHANGED
@@ -1,16 +1,24 @@
1
- function c(r, d, e = !0) {
2
- return r.filter((t) => t.parentId === d).flatMap((t) => [...!e || t.context?.open ? [t] : [], ...c(r, t.id, e)]);
1
+ import { VALID_DIGITS as n } from "./index159.js";
2
+ var v = "+", I = "[\\-\\.\\(\\)]?", R = "([" + n + "]|" + I + ")", i = "^\\" + v + R + "*[" + n + "]" + R + "*$", N = new RegExp(i, "g"), r = n, C = "[" + r + "]+((\\-)*[" + r + "])*", L = "a-zA-Z", f = "[" + L + "]+((\\-)*[" + r + "])*", E = "^(" + C + "\\.)*" + f + "\\.?$", O = new RegExp(E, "g"), l = "tel:", a = ";phone-context=", u = ";isub=";
3
+ function D(_) {
4
+ var t = _.indexOf(a);
5
+ if (t < 0)
6
+ return null;
7
+ var e = t + a.length;
8
+ if (e >= _.length)
9
+ return "";
10
+ var A = _.indexOf(";", e);
11
+ return A >= 0 ? _.substring(e, A) : _.substring(e);
3
12
  }
4
- function o(r, d) {
5
- let e = [], n = r.find((t) => t.id === d)?.parentId;
6
- for (; n; ) {
7
- const t = r.find((i) => i.id === n);
8
- n = t?.parentId, t && (e = e.concat(t));
9
- }
10
- return e;
13
+ function S(_) {
14
+ return _ === null ? !0 : _.length === 0 ? !1 : N.test(_) || O.test(_);
11
15
  }
12
16
  export {
13
- o as getNodeAncestors,
14
- c as getNodeChildren
17
+ v as PLUS_SIGN,
18
+ u as RFC3966_ISDN_SUBADDRESS_,
19
+ a as RFC3966_PHONE_CONTEXT_,
20
+ l as RFC3966_PREFIX_,
21
+ D as default,
22
+ S as isPhoneContextValid
15
23
  };
16
24
  //# sourceMappingURL=index377.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index377.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/nodes.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-loop-func */\n\nexport function getNodeChildren(nodes, id, onlyOpenChildren = true) {\n const directChildren = nodes.filter(node => node.parentId === id);\n return directChildren.flatMap(child => [...(!onlyOpenChildren || child.context?.open ? [child] : []), ...getNodeChildren(nodes, child.id, onlyOpenChildren)]);\n}\nexport function getDeepestNode(nodes, id) {\n let deepestNodeId;\n let maxDepth = -1;\n function findDeepest(nodeId, depth) {\n if (depth > maxDepth) {\n deepestNodeId = nodeId;\n maxDepth = depth;\n }\n const children = getNodeChildren(nodes, nodeId);\n children.forEach(child => {\n findDeepest(child.id, depth + 1);\n });\n }\n findDeepest(id, 0);\n return nodes.find(node => node.id === deepestNodeId);\n}\nexport function getNodeAncestors(nodes, id) {\n let allAncestors = [];\n let currentParentId = nodes.find(node => node.id === id)?.parentId;\n while (currentParentId) {\n const currentNode = nodes.find(node => node.id === currentParentId);\n currentParentId = currentNode?.parentId;\n if (currentNode) {\n allAncestors = allAncestors.concat(currentNode);\n }\n }\n return allAncestors;\n}"],"names":["getNodeChildren","nodes","id","onlyOpenChildren","node","child","getNodeAncestors","allAncestors","currentParentId","currentNode"],"mappings":"AAEO,SAASA,EAAgBC,GAAOC,GAAIC,IAAmB,IAAM;AAElE,SADuBF,EAAM,OAAO,CAAAG,MAAQA,EAAK,aAAaF,CAAE,EAC1C,QAAQ,CAAAG,MAAS,CAAC,GAAI,CAACF,KAAoBE,EAAM,SAAS,OAAO,CAACA,CAAK,IAAI,CAAA,GAAK,GAAGL,EAAgBC,GAAOI,EAAM,IAAIF,CAAgB,CAAC,CAAC;AAC9J;AAiBO,SAASG,EAAiBL,GAAOC,GAAI;AAC1C,MAAIK,IAAe,CAAA,GACfC,IAAkBP,EAAM,KAAK,CAAAG,MAAQA,EAAK,OAAOF,CAAE,GAAG;AAC1D,SAAOM,KAAiB;AACtB,UAAMC,IAAcR,EAAM,KAAK,CAAAG,MAAQA,EAAK,OAAOI,CAAe;AAClE,IAAAA,IAAkBC,GAAa,UAC3BA,MACFF,IAAeA,EAAa,OAAOE,CAAW;AAAA,EAElD;AACA,SAAOF;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index377.js","sources":["../node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js"],"sourcesContent":["// When phone numbers are written in `RFC3966` format — `\"tel:+12133734253\"` —\n// they can have their \"calling code\" part written separately in a `phone-context` parameter.\n// Example: `\"tel:12133734253;phone-context=+1\"`.\n// This function parses the full phone number from the local number and the `phone-context`\n// when the `phone-context` contains a `+` sign.\n\nimport { VALID_DIGITS\n// PLUS_CHARS\n} from '../constants.js';\nexport var PLUS_SIGN = '+';\nvar RFC3966_VISUAL_SEPARATOR_ = '[\\\\-\\\\.\\\\(\\\\)]?';\nvar RFC3966_PHONE_DIGIT_ = '(' + '[' + VALID_DIGITS + ']' + '|' + RFC3966_VISUAL_SEPARATOR_ + ')';\nvar RFC3966_GLOBAL_NUMBER_DIGITS_ = '^' + '\\\\' + PLUS_SIGN + RFC3966_PHONE_DIGIT_ + '*' + '[' + VALID_DIGITS + ']' + RFC3966_PHONE_DIGIT_ + '*' + '$';\n\n/**\r\n * Regular expression of valid global-number-digits for the phone-context\r\n * parameter, following the syntax defined in RFC3966.\r\n */\nvar RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_ = new RegExp(RFC3966_GLOBAL_NUMBER_DIGITS_, 'g');\n\n// In this port of Google's library, we don't accept alpha characters in phone numbers.\n// const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS\nvar ALPHANUM_ = VALID_DIGITS;\nvar RFC3966_DOMAINLABEL_ = '[' + ALPHANUM_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar VALID_ALPHA_ = 'a-zA-Z';\nvar RFC3966_TOPLABEL_ = '[' + VALID_ALPHA_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar RFC3966_DOMAINNAME_ = '^(' + RFC3966_DOMAINLABEL_ + '\\\\.)*' + RFC3966_TOPLABEL_ + '\\\\.?$';\n\n/**\r\n * Regular expression of valid domainname for the phone-context parameter,\r\n * following the syntax defined in RFC3966.\r\n */\nvar RFC3966_DOMAINNAME_PATTERN_ = new RegExp(RFC3966_DOMAINNAME_, 'g');\nexport var RFC3966_PREFIX_ = 'tel:';\nexport var RFC3966_PHONE_CONTEXT_ = ';phone-context=';\nexport var RFC3966_ISDN_SUBADDRESS_ = ';isub=';\n\n/**\r\n * Extracts the value of the phone-context parameter of `numberToExtractFrom`,\r\n * following the syntax defined in RFC3966.\r\n *\r\n * @param {string} numberToExtractFrom\r\n * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.\r\n */\nexport default function extractPhoneContext(numberToExtractFrom) {\n var indexOfPhoneContext = numberToExtractFrom.indexOf(RFC3966_PHONE_CONTEXT_);\n // If no phone-context parameter is present\n if (indexOfPhoneContext < 0) {\n return null;\n }\n var phoneContextStart = indexOfPhoneContext + RFC3966_PHONE_CONTEXT_.length;\n // If phone-context parameter is empty\n if (phoneContextStart >= numberToExtractFrom.length) {\n return '';\n }\n var phoneContextEnd = numberToExtractFrom.indexOf(';', phoneContextStart);\n // If phone-context is not the last parameter\n if (phoneContextEnd >= 0) {\n return numberToExtractFrom.substring(phoneContextStart, phoneContextEnd);\n } else {\n return numberToExtractFrom.substring(phoneContextStart);\n }\n}\n\n/**\r\n * Returns whether the value of phoneContext follows the syntax defined in RFC3966.\r\n *\r\n * @param {string|null} phoneContext\r\n * @return {boolean}\r\n */\nexport function isPhoneContextValid(phoneContext) {\n if (phoneContext === null) {\n return true;\n }\n if (phoneContext.length === 0) {\n return false;\n }\n\n // Does phone-context value match pattern of global-number-digits or domainname.\n return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);\n}\n//# sourceMappingURL=extractPhoneContext.js.map"],"names":["PLUS_SIGN","RFC3966_VISUAL_SEPARATOR_","RFC3966_PHONE_DIGIT_","VALID_DIGITS","RFC3966_GLOBAL_NUMBER_DIGITS_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","ALPHANUM_","RFC3966_DOMAINLABEL_","VALID_ALPHA_","RFC3966_TOPLABEL_","RFC3966_DOMAINNAME_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","RFC3966_ISDN_SUBADDRESS_","extractPhoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","isPhoneContextValid","phoneContext"],"mappings":";AASU,IAACA,IAAY,KACnBC,IAA4B,mBAC5BC,IAAuB,OAAYC,IAAe,OAAYF,IAA4B,KAC1FG,IAAgC,QAAaJ,IAAYE,IAAuB,OAAYC,IAAe,MAAMD,IAAuB,MAMxIG,IAAwC,IAAI,OAAOD,GAA+B,GAAG,GAIrFE,IAAYH,GACZI,IAAuB,MAAMD,IAAY,eAAeA,IAAY,OACpEE,IAAe,UACfC,IAAoB,MAAMD,IAAe,eAAeF,IAAY,OACpEI,IAAsB,OAAOH,IAAuB,UAAUE,IAAoB,SAMlFE,IAA8B,IAAI,OAAOD,GAAqB,GAAG,GAC1DE,IAAkB,QAClBC,IAAyB,mBACzBC,IAA2B;AASvB,SAASC,EAAoBC,GAAqB;AAC/D,MAAIC,IAAsBD,EAAoB,QAAQH,CAAsB;AAE5E,MAAII,IAAsB;AACxB,WAAO;AAET,MAAIC,IAAoBD,IAAsBJ,EAAuB;AAErE,MAAIK,KAAqBF,EAAoB;AAC3C,WAAO;AAET,MAAIG,IAAkBH,EAAoB,QAAQ,KAAKE,CAAiB;AAExE,SAAIC,KAAmB,IACdH,EAAoB,UAAUE,GAAmBC,CAAe,IAEhEH,EAAoB,UAAUE,CAAiB;AAE1D;AAQO,SAASE,EAAoBC,GAAc;AAChD,SAAIA,MAAiB,OACZ,KAELA,EAAa,WAAW,IACnB,KAIFhB,EAAsC,KAAKgB,CAAY,KAAKV,EAA4B,KAAKU,CAAY;AAClH;","x_google_ignoreList":[0]}
package/dist/index378.js CHANGED
@@ -1,230 +1,12 @@
1
- import { floor as _ } from "./index239.js";
2
- import { getComputedStyle as K } from "./index249.js";
3
- import { stopEvent as b } from "./index375.js";
4
- import { ARROW_UP as Q, ARROW_DOWN as X, ARROW_LEFT as z, ARROW_RIGHT as B } from "./index385.js";
5
- function W(t, r, o) {
6
- return Math.floor(t / r) !== o;
7
- }
8
- function j(t, r) {
9
- return r < 0 || r >= t.length;
10
- }
11
- function x(t, r) {
12
- return C(t.current, {
13
- disabledIndices: r
14
- });
15
- }
16
- function v(t, r) {
17
- return C(t.current, {
18
- decrement: !0,
19
- startingIndex: t.current.length,
20
- disabledIndices: r
21
- });
22
- }
23
- function C(t, {
24
- startingIndex: r = -1,
25
- decrement: o = !1,
26
- disabledIndices: a,
27
- amount: n = 1
28
- } = {}) {
29
- let c = r;
30
- do
31
- c += o ? -n : n;
32
- while (c >= 0 && c <= t.length - 1 && H(t, c, a));
33
- return c;
34
- }
35
- function tt(t, {
36
- event: r,
37
- orientation: o,
38
- loopFocus: a,
39
- onLoop: n,
40
- rtl: c,
41
- cols: e,
42
- disabledIndices: w,
43
- minIndex: G,
44
- maxIndex: g,
45
- prevIndex: i,
46
- stopEvent: D = !1
47
- }) {
48
- let f = i, E;
49
- if (r.key === Q ? E = "up" : r.key === X && (E = "down"), E) {
50
- const l = [], V = [];
51
- let P = !1, T = 0;
52
- {
53
- let R = null, u = -1;
54
- t.forEach((y, M) => {
55
- if (y == null)
56
- return;
57
- T += 1;
58
- const s = y.closest('[role="row"]');
59
- s && (P = !0), (s !== R || u === -1) && (R = s, u += 1, l[u] = []), l[u].push(M), V[M] = u;
60
- });
61
- }
62
- let N = !1, S = 0;
63
- if (P)
64
- for (const R of l) {
65
- const u = R.length;
66
- u > S && (S = u), u !== e && (N = !0);
67
- }
68
- const U = N && T < t.length, h = S || e, $ = (R) => {
69
- if (!N || i === -1)
70
- return;
71
- const u = V[i];
72
- if (u == null)
73
- return;
74
- const y = l[u].indexOf(i), M = R === "up" ? -1 : 1;
75
- for (let s = u + M, m = 0; m < l.length; m += 1, s += M) {
76
- if (s < 0 || s >= l.length) {
77
- if (!a || U)
78
- return;
79
- if (s = s < 0 ? l.length - 1 : 0, n) {
80
- const k = Math.min(y, l[s].length - 1), O = l[s][k] ?? l[s][0], J = n(r, i, O);
81
- s = V[J] ?? s;
82
- }
83
- }
84
- const A = l[s];
85
- for (let k = Math.min(y, A.length - 1); k >= 0; k -= 1) {
86
- const O = A[k];
87
- if (!H(t, O, w))
88
- return O;
89
- }
90
- }
91
- }, q = (R) => {
92
- if (!U || i === -1)
93
- return;
94
- const u = i % h, y = R === "up" ? -h : h, M = g - g % h, s = _(g / h) + 1;
95
- for (let m = i - u + y, A = 0; A < s; A += 1, m += y) {
96
- if (m < 0 || m > g) {
97
- if (!a)
98
- return;
99
- m = m < 0 ? M : 0;
100
- }
101
- const k = Math.min(m + h - 1, g);
102
- for (let O = Math.min(m + u, k); O >= m; O -= 1)
103
- if (!H(t, O, w))
104
- return O;
105
- }
106
- };
107
- D && b(r);
108
- const d = $(E) ?? q(E);
109
- if (d !== void 0)
110
- f = d;
111
- else if (i === -1)
112
- f = E === "up" ? g : G;
113
- else if (f = C(t, {
114
- startingIndex: i,
115
- amount: h,
116
- decrement: E === "up",
117
- disabledIndices: w
118
- }), a) {
119
- if (E === "up" && (i - h < G || f < 0)) {
120
- const R = i % h, u = g % h, y = g - (u - R);
121
- u === R ? f = g : f = u > R ? y : y - h, n && (f = n(r, i, f));
122
- }
123
- E === "down" && i + h > g && (f = C(t, {
124
- startingIndex: i % h - h,
125
- amount: h,
126
- disabledIndices: w
127
- }), n && (f = n(r, i, f)));
1
+ function r(...n) {
2
+ return () => {
3
+ for (let e = 0; e < n.length; e += 1) {
4
+ const t = n[e];
5
+ t && t();
128
6
  }
129
- j(t, f) && (f = i);
130
- }
131
- if (o === "both") {
132
- const l = _(i / e);
133
- r.key === (c ? z : B) && (D && b(r), i % e !== e - 1 ? (f = C(t, {
134
- startingIndex: i,
135
- disabledIndices: w
136
- }), a && W(f, e, l) && (f = C(t, {
137
- startingIndex: i - i % e - 1,
138
- disabledIndices: w
139
- }), n && (f = n(r, i, f)))) : a && (f = C(t, {
140
- startingIndex: i - i % e - 1,
141
- disabledIndices: w
142
- }), n && (f = n(r, i, f))), W(f, e, l) && (f = i)), r.key === (c ? B : z) && (D && b(r), i % e !== 0 ? (f = C(t, {
143
- startingIndex: i,
144
- decrement: !0,
145
- disabledIndices: w
146
- }), a && W(f, e, l) && (f = C(t, {
147
- startingIndex: i + (e - i % e),
148
- decrement: !0,
149
- disabledIndices: w
150
- }), n && (f = n(r, i, f)))) : a && (f = C(t, {
151
- startingIndex: i + (e - i % e),
152
- decrement: !0,
153
- disabledIndices: w
154
- }), n && (f = n(r, i, f))), W(f, e, l) && (f = i));
155
- const V = _(g / e) === l;
156
- j(t, f) && (a && V ? (f = r.key === (c ? B : z) ? g : C(t, {
157
- startingIndex: i - i % e - 1,
158
- disabledIndices: w
159
- }), n && (f = n(r, i, f))) : f = i);
160
- }
161
- return f;
162
- }
163
- function it(t, r, o) {
164
- const a = [];
165
- let n = 0;
166
- return t.forEach(({
167
- width: c,
168
- height: e
169
- }, w) => {
170
- if (c > r && process.env.NODE_ENV !== "production")
171
- throw new Error(`[Floating UI]: Invalid grid - item width at index ${w} is greater than grid columns`);
172
- let G = !1;
173
- for (; !G; ) {
174
- const g = [];
175
- for (let i = 0; i < c; i += 1)
176
- for (let D = 0; D < e; D += 1)
177
- g.push(n + i + D * r);
178
- n % r + c <= r && g.every((i) => a[i] == null) ? (g.forEach((i) => {
179
- a[i] = w;
180
- }), G = !0) : n += 1;
181
- }
182
- }), [...a];
183
- }
184
- function rt(t, r, o, a, n) {
185
- if (t === -1)
186
- return -1;
187
- const c = o.indexOf(t), e = r[t];
188
- switch (n) {
189
- case "tl":
190
- return c;
191
- case "tr":
192
- return e ? c + e.width - 1 : c;
193
- case "bl":
194
- return e ? c + (e.height - 1) * a : c;
195
- case "br":
196
- return o.lastIndexOf(t);
197
- default:
198
- return -1;
199
- }
200
- }
201
- function ft(t, r) {
202
- return r.flatMap((o, a) => t.includes(o) ? [a] : []);
203
- }
204
- function H(t, r, o) {
205
- if (typeof o == "function" ? o(r) : o?.includes(r) ?? !1)
206
- return !0;
207
- const n = t[r];
208
- return n ? Z(n) ? !o && (n.hasAttribute("disabled") || n.getAttribute("aria-disabled") === "true") : !0 : !1;
209
- }
210
- function Y(t) {
211
- return t.visibility === "hidden" || t.visibility === "collapse";
212
- }
213
- function Z(t, r = t ? K(t) : null) {
214
- return !t || !t.isConnected || !r || Y(r) ? !1 : typeof t.checkVisibility == "function" ? t.checkVisibility() : r.display !== "none" && r.display !== "contents";
7
+ };
215
8
  }
216
9
  export {
217
- it as createGridCellMap,
218
- C as findNonDisabledListIndex,
219
- rt as getGridCellIndexOfCorner,
220
- ft as getGridCellIndices,
221
- tt as getGridNavigatedIndex,
222
- v as getMaxListIndex,
223
- x as getMinListIndex,
224
- W as isDifferentGridRow,
225
- Z as isElementVisible,
226
- Y as isHiddenByStyles,
227
- j as isIndexOutOfListBounds,
228
- H as isListIndexDisabled
10
+ r as mergeCleanups
229
11
  };
230
12
  //# sourceMappingURL=index378.js.map