@rpcbase/ui 0.186.0 → 0.188.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/dist/helpers/useScrollPagination.d.ts.map +1 -1
  2. package/dist/index100.js +6 -8
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +5 -4
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +4 -5
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +3 -3
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +6 -466
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +24 -185
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +6 -107
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +4 -262
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +6 -9
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +5 -42
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index110.js +4 -4
  23. package/dist/index110.js.map +1 -1
  24. package/dist/index111.js +6 -52
  25. package/dist/index111.js.map +1 -1
  26. package/dist/index112.js +4 -4
  27. package/dist/index112.js.map +1 -1
  28. package/dist/index113.js +8 -4
  29. package/dist/index113.js.map +1 -1
  30. package/dist/index114.js +5 -15
  31. package/dist/index114.js.map +1 -1
  32. package/dist/index115.js +4 -5
  33. package/dist/index115.js.map +1 -1
  34. package/dist/index116.js +4 -7
  35. package/dist/index116.js.map +1 -1
  36. package/dist/index117.js +6 -16
  37. package/dist/index117.js.map +1 -1
  38. package/dist/index118.js +145 -4
  39. package/dist/index118.js.map +1 -1
  40. package/dist/index119.js +39 -4
  41. package/dist/index119.js.map +1 -1
  42. package/dist/index120.js +4 -5
  43. package/dist/index120.js.map +1 -1
  44. package/dist/index121.js +7 -5
  45. package/dist/index121.js.map +1 -1
  46. package/dist/index122.js +13 -4
  47. package/dist/index122.js.map +1 -1
  48. package/dist/index123.js +13 -4
  49. package/dist/index123.js.map +1 -1
  50. package/dist/index124.js +7 -6
  51. package/dist/index124.js.map +1 -1
  52. package/dist/index125.js +31 -24
  53. package/dist/index125.js.map +1 -1
  54. package/dist/index126.js +10 -6
  55. package/dist/index126.js.map +1 -1
  56. package/dist/index127.js +10 -4
  57. package/dist/index127.js.map +1 -1
  58. package/dist/index128.js +8 -6
  59. package/dist/index128.js.map +1 -1
  60. package/dist/index129.js +13 -5
  61. package/dist/index129.js.map +1 -1
  62. package/dist/index130.js +101 -4
  63. package/dist/index130.js.map +1 -1
  64. package/dist/index131.js +20 -6
  65. package/dist/index131.js.map +1 -1
  66. package/dist/index132.js +53 -4
  67. package/dist/index132.js.map +1 -1
  68. package/dist/index133.js +71 -7
  69. package/dist/index133.js.map +1 -1
  70. package/dist/index134.js +9 -5
  71. package/dist/index134.js.map +1 -1
  72. package/dist/index135.js +20 -4
  73. package/dist/index135.js.map +1 -1
  74. package/dist/index136.js +16 -4
  75. package/dist/index136.js.map +1 -1
  76. package/dist/index137.js +23 -6
  77. package/dist/index137.js.map +1 -1
  78. package/dist/index138.js +6 -145
  79. package/dist/index138.js.map +1 -1
  80. package/dist/index139.js +5 -39
  81. package/dist/index139.js.map +1 -1
  82. package/dist/index140.js +23 -4
  83. package/dist/index140.js.map +1 -1
  84. package/dist/index141.js +35 -8
  85. package/dist/index141.js.map +1 -1
  86. package/dist/index142.js +16 -14
  87. package/dist/index142.js.map +1 -1
  88. package/dist/index143.js +6 -13
  89. package/dist/index143.js.map +1 -1
  90. package/dist/index144.js +4 -7
  91. package/dist/index144.js.map +1 -1
  92. package/dist/index145.js +4 -31
  93. package/dist/index145.js.map +1 -1
  94. package/dist/index146.js +4 -10
  95. package/dist/index146.js.map +1 -1
  96. package/dist/index147.js +4 -10
  97. package/dist/index147.js.map +1 -1
  98. package/dist/index148.js +3 -8
  99. package/dist/index148.js.map +1 -1
  100. package/dist/index149.js +6 -13
  101. package/dist/index149.js.map +1 -1
  102. package/dist/index150.js +24 -102
  103. package/dist/index150.js.map +1 -1
  104. package/dist/index151.js +8 -20
  105. package/dist/index151.js.map +1 -1
  106. package/dist/index152.js +6 -53
  107. package/dist/index152.js.map +1 -1
  108. package/dist/index153.js +5 -72
  109. package/dist/index153.js.map +1 -1
  110. package/dist/index154.js +3 -9
  111. package/dist/index154.js.map +1 -1
  112. package/dist/index155.js +3 -20
  113. package/dist/index155.js.map +1 -1
  114. package/dist/index156.js +4 -16
  115. package/dist/index156.js.map +1 -1
  116. package/dist/index157.js +3 -23
  117. package/dist/index157.js.map +1 -1
  118. package/dist/index158.js +4 -6
  119. package/dist/index158.js.map +1 -1
  120. package/dist/index159.js +3 -5
  121. package/dist/index159.js.map +1 -1
  122. package/dist/index160.js +2 -22
  123. package/dist/index160.js.map +1 -1
  124. package/dist/index161.js +4 -35
  125. package/dist/index161.js.map +1 -1
  126. package/dist/index162.js +6 -16
  127. package/dist/index162.js.map +1 -1
  128. package/dist/index163.js +68 -6
  129. package/dist/index163.js.map +1 -1
  130. package/dist/index164.js +2 -5
  131. package/dist/index164.js.map +1 -1
  132. package/dist/index165.js +363 -4
  133. package/dist/index165.js.map +1 -1
  134. package/dist/index166.js +261 -4
  135. package/dist/index166.js.map +1 -1
  136. package/dist/index167.js +60 -4
  137. package/dist/index167.js.map +1 -1
  138. package/dist/index168.js +46 -3
  139. package/dist/index168.js.map +1 -1
  140. package/dist/index169.js +169 -6
  141. package/dist/index169.js.map +1 -1
  142. package/dist/index170.js +110 -24
  143. package/dist/index170.js.map +1 -1
  144. package/dist/index171.js +24 -7
  145. package/dist/index171.js.map +1 -1
  146. package/dist/index172.js +8 -7
  147. package/dist/index172.js.map +1 -1
  148. package/dist/index173.js +4 -5
  149. package/dist/index173.js.map +1 -1
  150. package/dist/index174.js +5 -3
  151. package/dist/index174.js.map +1 -1
  152. package/dist/index175.js +4 -3
  153. package/dist/index175.js.map +1 -1
  154. package/dist/index176.js +466 -4
  155. package/dist/index176.js.map +1 -1
  156. package/dist/index177.js +185 -3
  157. package/dist/index177.js.map +1 -1
  158. package/dist/index178.js +107 -4
  159. package/dist/index178.js.map +1 -1
  160. package/dist/index179.js +262 -3
  161. package/dist/index179.js.map +1 -1
  162. package/dist/index180.js +9 -3
  163. package/dist/index180.js.map +1 -1
  164. package/dist/index181.js +42 -3
  165. package/dist/index181.js.map +1 -1
  166. package/dist/index182.js +4 -605
  167. package/dist/index182.js.map +1 -1
  168. package/dist/index186.js +66 -12
  169. package/dist/index186.js.map +1 -1
  170. package/dist/index187.js +176 -150
  171. package/dist/index187.js.map +1 -1
  172. package/dist/index188.js +43 -27
  173. package/dist/index188.js.map +1 -1
  174. package/dist/index189.js +58 -9
  175. package/dist/index189.js.map +1 -1
  176. package/dist/index190.js +8 -47
  177. package/dist/index190.js.map +1 -1
  178. package/dist/index191.js +65 -10
  179. package/dist/index191.js.map +1 -1
  180. package/dist/index192.js +18 -43
  181. package/dist/index192.js.map +1 -1
  182. package/dist/index193.js +14 -93
  183. package/dist/index193.js.map +1 -1
  184. package/dist/index194.js +4 -85
  185. package/dist/index194.js.map +1 -1
  186. package/dist/index195.js +4 -104
  187. package/dist/index195.js.map +1 -1
  188. package/dist/index196.js +6 -52
  189. package/dist/index196.js.map +1 -1
  190. package/dist/index197.js +4 -11
  191. package/dist/index197.js.map +1 -1
  192. package/dist/index198.js +7 -37
  193. package/dist/index198.js.map +1 -1
  194. package/dist/index199.js +17 -8
  195. package/dist/index199.js.map +1 -1
  196. package/dist/index200.js +5 -116
  197. package/dist/index200.js.map +1 -1
  198. package/dist/index201.js +5 -17
  199. package/dist/index201.js.map +1 -1
  200. package/dist/index202.js +13 -15
  201. package/dist/index202.js.map +1 -1
  202. package/dist/index203.js +10 -3
  203. package/dist/index203.js.map +1 -1
  204. package/dist/index204.js +14 -36
  205. package/dist/index204.js.map +1 -1
  206. package/dist/index205.js +14 -20
  207. package/dist/index205.js.map +1 -1
  208. package/dist/index206.js +5 -9
  209. package/dist/index206.js.map +1 -1
  210. package/dist/index207.js +6 -8
  211. package/dist/index207.js.map +1 -1
  212. package/dist/index208.js +7 -19
  213. package/dist/index208.js.map +1 -1
  214. package/dist/index209.js +6 -28
  215. package/dist/index209.js.map +1 -1
  216. package/dist/index210.js +9 -16
  217. package/dist/index210.js.map +1 -1
  218. package/dist/index211.js +5 -58
  219. package/dist/index211.js.map +1 -1
  220. package/dist/index212.js +5 -8
  221. package/dist/index212.js.map +1 -1
  222. package/dist/index213.js +9 -66
  223. package/dist/index213.js.map +1 -1
  224. package/dist/index214.js +5 -19
  225. package/dist/index214.js.map +1 -1
  226. package/dist/index215.js +5 -16
  227. package/dist/index215.js.map +1 -1
  228. package/dist/index216.js +4 -5
  229. package/dist/index216.js.map +1 -1
  230. package/dist/index217.js +11 -5
  231. package/dist/index217.js.map +1 -1
  232. package/dist/index218.js +10 -6
  233. package/dist/index218.js.map +1 -1
  234. package/dist/index219.js +10 -4
  235. package/dist/index219.js.map +1 -1
  236. package/dist/index220.js +11 -7
  237. package/dist/index220.js.map +1 -1
  238. package/dist/index221.js +11 -17
  239. package/dist/index221.js.map +1 -1
  240. package/dist/index222.js +10 -5
  241. package/dist/index222.js.map +1 -1
  242. package/dist/index223.js +7 -5
  243. package/dist/index223.js.map +1 -1
  244. package/dist/index224.js +6 -13
  245. package/dist/index224.js.map +1 -1
  246. package/dist/index225.js +5 -10
  247. package/dist/index225.js.map +1 -1
  248. package/dist/index226.js +6 -14
  249. package/dist/index226.js.map +1 -1
  250. package/dist/index227.js +7 -14
  251. package/dist/index227.js.map +1 -1
  252. package/dist/index228.js +6 -5
  253. package/dist/index228.js.map +1 -1
  254. package/dist/index229.js +55 -6
  255. package/dist/index229.js.map +1 -1
  256. package/dist/index230.js +16 -7
  257. package/dist/index230.js.map +1 -1
  258. package/dist/index231.js +7 -6
  259. package/dist/index231.js.map +1 -1
  260. package/dist/index232.js +10 -9
  261. package/dist/index232.js.map +1 -1
  262. package/dist/index233.js +10 -5
  263. package/dist/index233.js.map +1 -1
  264. package/dist/index234.js +21 -5
  265. package/dist/index234.js.map +1 -1
  266. package/dist/index235.js +10 -9
  267. package/dist/index235.js.map +1 -1
  268. package/dist/index236.js +9 -5
  269. package/dist/index236.js.map +1 -1
  270. package/dist/index237.js +9 -5
  271. package/dist/index237.js.map +1 -1
  272. package/dist/index238.js +4 -4
  273. package/dist/index238.js.map +1 -1
  274. package/dist/index239.js +5 -11
  275. package/dist/index239.js.map +1 -1
  276. package/dist/index24.js +1 -1
  277. package/dist/index240.js +16 -10
  278. package/dist/index240.js.map +1 -1
  279. package/dist/index241.js +9 -10
  280. package/dist/index241.js.map +1 -1
  281. package/dist/index242.js +18 -11
  282. package/dist/index242.js.map +1 -1
  283. package/dist/index243.js +15 -11
  284. package/dist/index243.js.map +1 -1
  285. package/dist/index244.js +12 -10
  286. package/dist/index244.js.map +1 -1
  287. package/dist/index245.js +29 -7
  288. package/dist/index245.js.map +1 -1
  289. package/dist/index246.js +12 -6
  290. package/dist/index246.js.map +1 -1
  291. package/dist/index247.js +25 -5
  292. package/dist/index247.js.map +1 -1
  293. package/dist/index248.js +5 -6
  294. package/dist/index248.js.map +1 -1
  295. package/dist/index249.js +13 -7
  296. package/dist/index249.js.map +1 -1
  297. package/dist/index250.js +154 -6
  298. package/dist/index250.js.map +1 -1
  299. package/dist/index251.js +28 -53
  300. package/dist/index251.js.map +1 -1
  301. package/dist/index252.js +9 -16
  302. package/dist/index252.js.map +1 -1
  303. package/dist/index253.js +47 -7
  304. package/dist/index253.js.map +1 -1
  305. package/dist/index254.js +11 -10
  306. package/dist/index254.js.map +1 -1
  307. package/dist/index255.js +43 -9
  308. package/dist/index255.js.map +1 -1
  309. package/dist/index256.js +93 -19
  310. package/dist/index256.js.map +1 -1
  311. package/dist/index257.js +86 -10
  312. package/dist/index257.js.map +1 -1
  313. package/dist/index258.js +105 -9
  314. package/dist/index258.js.map +1 -1
  315. package/dist/index259.js +52 -9
  316. package/dist/index259.js.map +1 -1
  317. package/dist/index260.js +11 -4
  318. package/dist/index260.js.map +1 -1
  319. package/dist/index261.js +37 -5
  320. package/dist/index261.js.map +1 -1
  321. package/dist/index262.js +8 -16
  322. package/dist/index262.js.map +1 -1
  323. package/dist/index263.js +116 -9
  324. package/dist/index263.js.map +1 -1
  325. package/dist/index264.js +17 -18
  326. package/dist/index264.js.map +1 -1
  327. package/dist/index265.js +15 -15
  328. package/dist/index265.js.map +1 -1
  329. package/dist/index266.js +3 -12
  330. package/dist/index266.js.map +1 -1
  331. package/dist/index267.js +35 -28
  332. package/dist/index267.js.map +1 -1
  333. package/dist/index268.js +19 -11
  334. package/dist/index268.js.map +1 -1
  335. package/dist/index269.js +9 -25
  336. package/dist/index269.js.map +1 -1
  337. package/dist/index270.js +8 -5
  338. package/dist/index270.js.map +1 -1
  339. package/dist/index271.js +17 -65
  340. package/dist/index271.js.map +1 -1
  341. package/dist/index272.js +26 -178
  342. package/dist/index272.js.map +1 -1
  343. package/dist/index273.js +14 -44
  344. package/dist/index273.js.map +1 -1
  345. package/dist/index282.js +4 -20
  346. package/dist/index282.js.map +1 -1
  347. package/dist/index283.js +19 -5
  348. package/dist/index283.js.map +1 -1
  349. package/dist/index284.js +13 -19
  350. package/dist/index284.js.map +1 -1
  351. package/dist/index285.js +20 -12
  352. package/dist/index285.js.map +1 -1
  353. package/dist/index287.js +1 -1
  354. package/dist/index288.js +1 -1
  355. package/dist/index298.js +2 -2
  356. package/dist/index301.js +1 -1
  357. package/dist/index302.js +2 -2
  358. package/dist/index304.js +1 -1
  359. package/dist/index305.js +1 -1
  360. package/dist/index306.js +1 -1
  361. package/dist/index307.js +1 -1
  362. package/dist/index31.js +5 -5
  363. package/dist/index317.js +21 -11
  364. package/dist/index317.js.map +1 -1
  365. package/dist/index318.js +11 -26
  366. package/dist/index318.js.map +1 -1
  367. package/dist/index319.js +27 -4
  368. package/dist/index319.js.map +1 -1
  369. package/dist/index32.js +24 -24
  370. package/dist/index320.js +4 -22
  371. package/dist/index320.js.map +1 -1
  372. package/dist/index33.js +3 -3
  373. package/dist/index35.js +1 -1
  374. package/dist/index39.js +1 -1
  375. package/dist/index40.js +2 -2
  376. package/dist/index43.js +2 -2
  377. package/dist/index44.js +20 -20
  378. package/dist/index48.js +1 -1
  379. package/dist/index49.js +1 -1
  380. package/dist/index52.js +1 -1
  381. package/dist/index53.js +1 -1
  382. package/dist/index54.js +205 -4
  383. package/dist/index54.js.map +1 -1
  384. package/dist/index55.js +3 -6
  385. package/dist/index55.js.map +1 -1
  386. package/dist/index56.js +5 -46
  387. package/dist/index56.js.map +1 -1
  388. package/dist/index57.js +46 -25
  389. package/dist/index57.js.map +1 -1
  390. package/dist/index58.js +24 -48
  391. package/dist/index58.js.map +1 -1
  392. package/dist/index59.js +50 -7
  393. package/dist/index59.js.map +1 -1
  394. package/dist/index6.js +132 -121
  395. package/dist/index6.js.map +1 -1
  396. package/dist/index60.js +7 -14
  397. package/dist/index60.js.map +1 -1
  398. package/dist/index61.js +14 -133
  399. package/dist/index61.js.map +1 -1
  400. package/dist/index62.js +133 -10
  401. package/dist/index62.js.map +1 -1
  402. package/dist/index63.js +10 -216
  403. package/dist/index63.js.map +1 -1
  404. package/dist/index64.js +216 -12
  405. package/dist/index64.js.map +1 -1
  406. package/dist/index65.js +13 -34
  407. package/dist/index65.js.map +1 -1
  408. package/dist/index66.js +31 -44
  409. package/dist/index66.js.map +1 -1
  410. package/dist/index67.js +46 -7
  411. package/dist/index67.js.map +1 -1
  412. package/dist/index68.js +7 -49
  413. package/dist/index68.js.map +1 -1
  414. package/dist/index69.js +50 -4
  415. package/dist/index69.js.map +1 -1
  416. package/dist/index70.js +4 -6
  417. package/dist/index70.js.map +1 -1
  418. package/dist/index71.js +6 -28
  419. package/dist/index71.js.map +1 -1
  420. package/dist/index72.js +28 -50
  421. package/dist/index72.js.map +1 -1
  422. package/dist/index73.js +50 -9
  423. package/dist/index73.js.map +1 -1
  424. package/dist/index74.js +9 -6
  425. package/dist/index74.js.map +1 -1
  426. package/dist/index75.js +2 -8
  427. package/dist/index75.js.map +1 -1
  428. package/dist/index76.js +2 -6
  429. package/dist/index76.js.map +1 -1
  430. package/dist/index77.js +12 -2
  431. package/dist/index77.js.map +1 -1
  432. package/dist/index78.js +2 -2
  433. package/dist/index79.js +2 -54
  434. package/dist/index79.js.map +1 -1
  435. package/dist/index80.js +6 -2
  436. package/dist/index80.js.map +1 -1
  437. package/dist/index81.js +8 -2
  438. package/dist/index81.js.map +1 -1
  439. package/dist/index82.js +5 -11
  440. package/dist/index82.js.map +1 -1
  441. package/dist/index83.js +53 -204
  442. package/dist/index83.js.map +1 -1
  443. package/dist/index84.js +1 -1
  444. package/dist/index86.js +1 -1
  445. package/dist/index87.js +1 -1
  446. package/dist/index89.js +1 -1
  447. package/dist/index90.js +605 -5
  448. package/dist/index90.js.map +1 -1
  449. package/dist/index91.js +52 -69
  450. package/dist/index91.js.map +1 -1
  451. package/dist/index92.js +5 -2
  452. package/dist/index92.js.map +1 -1
  453. package/dist/index93.js +4 -363
  454. package/dist/index93.js.map +1 -1
  455. package/dist/index94.js +15 -261
  456. package/dist/index94.js.map +1 -1
  457. package/dist/index95.js +5 -60
  458. package/dist/index95.js.map +1 -1
  459. package/dist/index96.js +7 -46
  460. package/dist/index96.js.map +1 -1
  461. package/dist/index97.js +16 -169
  462. package/dist/index97.js.map +1 -1
  463. package/dist/index98.js +4 -109
  464. package/dist/index98.js.map +1 -1
  465. package/dist/index99.js +4 -24
  466. package/dist/index99.js.map +1 -1
  467. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index273.js","sources":["../../../node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,aAAuBC,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,IACpL;AACA,WAAuBE,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAAC,GAAU;AAAA,EACrF,CAAC;AACD,SAAAJ,EAAM,cAAc,GAAGH,CAAS,SACzBG;AACT;AAAA;AAGA,SAASD,EAAgBF,GAAW;AAClC,QAAMC,IAAYG,EAAM,WAAW,CAACC,GAAOC,MAAiB;AAC1D,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,QAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,YAAMS,IAAcC,EAAcV,CAAQ,GACpCW,IAASC,EAAWX,GAAWD,EAAS,KAAK;AACnD,aAAIA,EAAS,SAASH,EAAM,aAC1Bc,EAAO,MAAMZ,IAAec,EAAYd,GAAcU,CAAW,IAAIA,IAEhEZ,EAAM,aAAaG,GAAUW,CAAM;AAAA,IAC5C;AACA,WAAOd,EAAM,SAAS,MAAMG,CAAQ,IAAI,IAAIH,EAAM,SAAS,KAAK,IAAI,IAAI;AAAA,EAC1E,CAAC;AACD,SAAAH,EAAU,cAAc,GAAGD,CAAS,cAC7BC;AACT;AACA,IAAIoB,IAAuB,uBAAO,iBAAiB;AAWnD,SAASV,EAAYG,GAAO;AAC1B,SAAOV,EAAM,eAAeU,CAAK,KAAK,OAAOA,EAAM,QAAS,cAAc,eAAeA,EAAM,QAAQA,EAAM,KAAK,cAAcO;AAClI;AACA,SAASF,EAAWX,GAAWc,GAAY;AACzC,QAAMC,IAAgB,EAAE,GAAGD,EAAU;AACrC,aAAWE,KAAYF,GAAY;AACjC,UAAMG,IAAgBjB,EAAUgB,CAAQ,GAClCE,IAAiBJ,EAAWE,CAAQ;AAE1C,IADkB,WAAW,KAAKA,CAAQ,IAEpCC,KAAiBC,IACnBH,EAAcC,CAAQ,IAAI,IAAIG,MAAS;AACrC,YAAMC,IAASF,EAAe,GAAGC,CAAI;AACrC,aAAAF,EAAc,GAAGE,CAAI,GACdC;AAAA,IACT,IACSH,MACTF,EAAcC,CAAQ,IAAIC,KAEnBD,MAAa,UACtBD,EAAcC,CAAQ,IAAI,EAAE,GAAGC,GAAe,GAAGC,EAAc,IACtDF,MAAa,gBACtBD,EAAcC,CAAQ,IAAI,CAACC,GAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,EAEtF;AACA,SAAO,EAAE,GAAGlB,GAAW,GAAGe,EAAa;AACzC;AACA,SAASN,EAAcY,GAAS;AAC9B,MAAIC,IAAS,OAAO,yBAAyBD,EAAQ,OAAO,KAAK,GAAG,KAChEE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIC,IACKF,EAAQ,OAEjBC,IAAS,OAAO,yBAAyBD,GAAS,KAAK,GAAG,KAC1DE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDC,IACKF,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index273.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js"],"sourcesContent":["import Metadata from '../metadata.js';\nimport { VALID_DIGITS } from '../constants.js';\nvar CAPTURING_DIGIT_PATTERN = new RegExp('([' + VALID_DIGITS + '])');\nexport default function stripIddPrefix(number, country, callingCode, metadata) {\n if (!country) {\n return;\n }\n // Check if the number is IDD-prefixed.\n var countryMetadata = new Metadata(metadata);\n countryMetadata.selectNumberingPlan(country, callingCode);\n var IDDPrefixPattern = new RegExp(countryMetadata.IDDPrefix());\n if (number.search(IDDPrefixPattern) !== 0) {\n return;\n }\n // Strip IDD prefix.\n number = number.slice(number.match(IDDPrefixPattern)[0].length);\n // If there're any digits after an IDD prefix,\n // then those digits are a country calling code.\n // Since no country code starts with a `0`,\n // the code below validates that the next digit (if present) is not `0`.\n var matchedGroups = number.match(CAPTURING_DIGIT_PATTERN);\n if (matchedGroups && matchedGroups[1] != null && matchedGroups[1].length > 0) {\n if (matchedGroups[1] === '0') {\n return;\n }\n }\n return number;\n}\n//# sourceMappingURL=stripIddPrefix.js.map"],"names":["CAPTURING_DIGIT_PATTERN","VALID_DIGITS","stripIddPrefix","number","country","callingCode","metadata","countryMetadata","Metadata","IDDPrefixPattern","matchedGroups"],"mappings":";;AAEA,IAAIA,IAA0B,IAAI,OAAO,OAAOC,IAAe,IAAI;AACpD,SAASC,EAAeC,GAAQC,GAASC,GAAaC,GAAU;AAC7E,MAAKF,GAIL;AAAA,QAAIG,IAAkB,IAAIC,EAASF,CAAQ;AAC3C,IAAAC,EAAgB,oBAAoBH,GAASC,CAAW;AACxD,QAAII,IAAmB,IAAI,OAAOF,EAAgB,UAAS,CAAE;AAC7D,QAAIJ,EAAO,OAAOM,CAAgB,MAAM,GAIxC;AAAA,MAAAN,IAASA,EAAO,MAAMA,EAAO,MAAMM,CAAgB,EAAE,CAAC,EAAE,MAAM;AAK9D,UAAIC,IAAgBP,EAAO,MAAMH,CAAuB;AACxD,UAAI,EAAAU,KAAiBA,EAAc,CAAC,KAAK,QAAQA,EAAc,CAAC,EAAE,SAAS,KACrEA,EAAc,CAAC,MAAM;AAI3B,eAAOP;AAAA;AAAA;AACT;","x_google_ignoreList":[0]}
package/dist/index282.js CHANGED
@@ -1,24 +1,8 @@
1
- import { VALID_DIGITS as n } from "./index100.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);
12
- }
13
- function S(_) {
14
- return _ === null ? !0 : _.length === 0 ? !1 : N.test(_) || O.test(_);
1
+ function r(s, t) {
2
+ const e = t.startOfMonth(s), n = e.getDay() > 0 ? e.getDay() : 7, a = t.addDays(s, -n + 1), o = t.addDays(a, 34);
3
+ return t.getMonth(s) === t.getMonth(o) ? 5 : 4;
15
4
  }
16
5
  export {
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
6
+ r as getBroadcastWeeksInMonth
23
7
  };
24
8
  //# sourceMappingURL=index282.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index282.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]}
1
+ {"version":3,"file":"index282.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Returns the number of weeks to display in the broadcast calendar for a given\n * month.\n *\n * The broadcast calendar may have either 4 or 5 weeks in a month, depending on\n * the start and end dates of the broadcast weeks.\n *\n * @since 9.4.0\n * @param month The month for which to calculate the number of weeks.\n * @param dateLib The date library to use for date manipulation.\n * @returns The number of weeks in the broadcast calendar (4 or 5).\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n"],"names":["getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","firstDayOfWeek","broadcastStartDate","lastDateOfLastWeek"],"mappings":"AAcO,SAASA,EAAyBC,GAAOC,GAAS;AAErD,QAAMC,IAAkBD,EAAQ,aAAaD,CAAK,GAE5CG,IAAiBD,EAAgB,OAAM,IAAK,IAAIA,EAAgB,OAAM,IAAK,GAC3EE,IAAqBH,EAAQ,QAAQD,GAAO,CAACG,IAAiB,CAAC,GAC/DE,IAAqBJ,EAAQ,QAAQG,GAAoB,EAAkB;AAIjF,SAHsBH,EAAQ,SAASD,CAAK,MAAMC,EAAQ,SAASI,CAAkB,IAC/E,IACA;AAEV;","x_google_ignoreList":[0]}
package/dist/index283.js CHANGED
@@ -1,8 +1,22 @@
1
- function r(s, t) {
2
- const e = t.startOfMonth(s), n = e.getDay() > 0 ? e.getDay() : 7, a = t.addDays(s, -n + 1), o = t.addDays(a, 34);
3
- return t.getMonth(s) === t.getMonth(o) ? 5 : 4;
4
- }
1
+ import { formatDistance as o } from "./index312.js";
2
+ import { formatLong as t } from "./index313.js";
3
+ import { formatRelative as a } from "./index314.js";
4
+ import { localize as r } from "./index315.js";
5
+ import { match as e } from "./index316.js";
6
+ const s = {
7
+ code: "en-US",
8
+ formatDistance: o,
9
+ formatLong: t,
10
+ formatRelative: a,
11
+ localize: r,
12
+ match: e,
13
+ options: {
14
+ weekStartsOn: 0,
15
+ firstWeekContainsDate: 1
16
+ }
17
+ };
5
18
  export {
6
- r as getBroadcastWeeksInMonth
19
+ s as default,
20
+ s as enUS
7
21
  };
8
22
  //# sourceMappingURL=index283.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index283.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Returns the number of weeks to display in the broadcast calendar for a given\n * month.\n *\n * The broadcast calendar may have either 4 or 5 weeks in a month, depending on\n * the start and end dates of the broadcast weeks.\n *\n * @since 9.4.0\n * @param month The month for which to calculate the number of weeks.\n * @param dateLib The date library to use for date manipulation.\n * @returns The number of weeks in the broadcast calendar (4 or 5).\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n"],"names":["getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","firstDayOfWeek","broadcastStartDate","lastDateOfLastWeek"],"mappings":"AAcO,SAASA,EAAyBC,GAAOC,GAAS;AAErD,QAAMC,IAAkBD,EAAQ,aAAaD,CAAK,GAE5CG,IAAiBD,EAAgB,OAAM,IAAK,IAAIA,EAAgB,OAAM,IAAK,GAC3EE,IAAqBH,EAAQ,QAAQD,GAAO,CAACG,IAAiB,CAAC,GAC/DE,IAAqBJ,EAAQ,QAAQG,GAAoB,EAAkB;AAIjF,SAHsBH,EAAQ,SAASD,CAAK,MAAMC,EAAQ,SAASI,CAAkB,IAC/E,IACA;AAEV;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index283.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/index284.js CHANGED
@@ -1,22 +1,16 @@
1
- import { formatDistance as o } from "./index312.js";
2
- import { formatLong as t } from "./index313.js";
3
- import { formatRelative as a } from "./index314.js";
4
- import { localize as r } from "./index315.js";
5
- import { match as e } from "./index316.js";
6
- const s = {
7
- code: "en-US",
8
- formatDistance: o,
9
- formatLong: t,
10
- formatRelative: a,
11
- localize: r,
12
- match: e,
13
- options: {
14
- weekStartsOn: 0,
15
- firstWeekContainsDate: 1
16
- }
17
- };
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;
12
+ }
18
13
  export {
19
- s as default,
20
- s as enUS
14
+ g as getFocusableDate
21
15
  };
22
16
  //# sourceMappingURL=index284.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index284.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]}
1
+ {"version":3,"file":"index284.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/index285.js CHANGED
@@ -1,16 +1,24 @@
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;
1
+ import { VALID_DIGITS as n } from "./index172.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);
12
+ }
13
+ function S(_) {
14
+ return _ === null ? !0 : _.length === 0 ? !1 : N.test(_) || O.test(_);
12
15
  }
13
16
  export {
14
- g as getFocusableDate
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=index285.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index285.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]}
1
+ {"version":3,"file":"index285.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/index287.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as d from "react";
2
2
  import { styleSingleton as f } from "./index288.js";
3
3
  import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index274.js";
4
- import { getGapWidth as m } from "./index320.js";
4
+ import { getGapWidth as m } from "./index317.js";
5
5
  var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
6
6
  var r = n.left, i = n.top, s = n.right, c = n.gap;
7
7
  return o === void 0 && (o = "margin"), `
package/dist/index288.js CHANGED
@@ -1,4 +1,4 @@
1
- import { styleHookSingleton as o } from "./index317.js";
1
+ import { styleHookSingleton as o } from "./index318.js";
2
2
  var s = function() {
3
3
  var e = o(), n = function(t) {
4
4
  var r = t.styles, l = t.dynamic;
package/dist/index298.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { getDayOfYear as m } from "./index302.js";
2
- import { getISOWeek as g } from "./index232.js";
2
+ import { getISOWeek as g } from "./index210.js";
3
3
  import { getISOWeekYear as w } from "./index305.js";
4
- import { getWeek as b } from "./index235.js";
4
+ import { getWeek as b } from "./index213.js";
5
5
  import { getWeekYear as x } from "./index307.js";
6
6
  import { addLeadingZeros as i } from "./index310.js";
7
7
  import { lightFormatters as u } from "./index311.js";
package/dist/index301.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isDate as r } from "./index238.js";
1
+ import { isDate as r } from "./index216.js";
2
2
  import { toDate as t } from "./index292.js";
3
3
  function f(o) {
4
4
  return !(!r(o) && typeof o != "number" || isNaN(+t(o)));
package/dist/index302.js CHANGED
@@ -1,5 +1,5 @@
1
- import { differenceInCalendarDays as f } from "./index224.js";
2
- import { startOfYear as e } from "./index250.js";
1
+ import { differenceInCalendarDays as f } from "./index202.js";
2
+ import { startOfYear as e } from "./index228.js";
3
3
  import { toDate as o } from "./index292.js";
4
4
  function c(t, a) {
5
5
  const r = o(t, a?.in);
package/dist/index304.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { constructFrom as a } from "./index291.js";
2
2
  import { getISOWeekYear as f } from "./index305.js";
3
- import { startOfISOWeek as s } from "./index247.js";
3
+ import { startOfISOWeek as s } from "./index225.js";
4
4
  function O(t, e) {
5
5
  const o = f(t, e), r = a(t, 0);
6
6
  return r.setFullYear(o, 0, 4), r.setHours(0, 0, 0, 0), s(r);
package/dist/index305.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { constructFrom as s } from "./index291.js";
2
- import { startOfISOWeek as a } from "./index247.js";
2
+ import { startOfISOWeek as a } from "./index225.js";
3
3
  import { toDate as m } from "./index292.js";
4
4
  function Y(f, n) {
5
5
  const e = m(f, n?.in), t = e.getFullYear(), r = s(e, 0);
package/dist/index306.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { getDefaultOptions as n } from "./index297.js";
2
2
  import { constructFrom as i } from "./index291.js";
3
3
  import { getWeekYear as f } from "./index307.js";
4
- import { startOfWeek as c } from "./index249.js";
4
+ import { startOfWeek as c } from "./index227.js";
5
5
  function D(r, t) {
6
6
  const a = n(), o = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, s = f(r, t), e = i(t?.in || r, 0);
7
7
  return e.setFullYear(s, 0, o), e.setHours(0, 0, 0, 0), c(e, t);
package/dist/index307.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { getDefaultOptions as k } from "./index297.js";
2
2
  import { constructFrom as i } from "./index291.js";
3
- import { startOfWeek as l } from "./index249.js";
3
+ import { startOfWeek as l } from "./index227.js";
4
4
  import { toDate as m } from "./index292.js";
5
5
  function C(r, e) {
6
6
  const s = m(r, e?.in), t = s.getFullYear(), o = k(), f = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = i(e?.in || r, 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 "./index65.js";
4
- import { useComposedRefs as R } from "./index57.js";
5
- import { useCallbackRef as g } from "./index67.js";
6
- import { useEscapeKeydown as U } from "./index82.js";
2
+ import { composeEventHandlers as h } from "./index56.js";
3
+ import { Primitive as w, dispatchDiscreteCustomEvent as k } from "./index66.js";
4
+ import { useComposedRefs as R } from "./index58.js";
5
+ import { useCallbackRef as g } from "./index68.js";
6
+ import { useEscapeKeydown as U } from "./index77.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/index317.js CHANGED
@@ -1,16 +1,26 @@
1
- import * as o from "react";
2
- import { stylesheetSingleton as r } from "./index318.js";
3
- var i = function() {
4
- var t = r();
5
- return function(e, n) {
6
- o.useEffect(function() {
7
- return t.add(e), function() {
8
- t.remove();
9
- };
10
- }, [e && n]);
1
+ var a = {
2
+ left: 0,
3
+ top: 0,
4
+ right: 0,
5
+ gap: 0
6
+ }, e = function(t) {
7
+ return parseInt(t || "", 10) || 0;
8
+ }, o = function(t) {
9
+ var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
10
+ return [e(i), e(r), e(d)];
11
+ }, f = function(t) {
12
+ if (t === void 0 && (t = "margin"), typeof window > "u")
13
+ return a;
14
+ var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
15
+ return {
16
+ left: n[0],
17
+ top: n[1],
18
+ right: n[2],
19
+ gap: Math.max(0, r - i + n[2] - n[0])
11
20
  };
12
21
  };
13
22
  export {
14
- i as styleHookSingleton
23
+ f as getGapWidth,
24
+ a as zeroGap
15
25
  };
16
26
  //# sourceMappingURL=index317.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index317.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAmB;AAC/B,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAM;AAAA,MAChB;AAAA,IACJ,GAAG,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC5B;AACJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index317.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAG,GAC1DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EAC9E;AACA;","x_google_ignoreList":[0]}
package/dist/index318.js CHANGED
@@ -1,31 +1,16 @@
1
- import { getNonce as o } from "./index319.js";
2
- function r() {
3
- if (!document)
4
- return null;
5
- var t = document.createElement("style");
6
- t.type = "text/css";
7
- var e = o();
8
- return e && t.setAttribute("nonce", e), t;
9
- }
10
- function l(t, e) {
11
- t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
- }
13
- function a(t) {
14
- var e = document.head || document.getElementsByTagName("head")[0];
15
- e.appendChild(t);
16
- }
17
- var c = function() {
18
- var t = 0, e = null;
19
- return {
20
- add: function(n) {
21
- t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
- },
23
- remove: function() {
24
- t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
- }
1
+ import * as o from "react";
2
+ import { stylesheetSingleton as r } from "./index319.js";
3
+ var i = function() {
4
+ var t = r();
5
+ return function(e, n) {
6
+ o.useEffect(function() {
7
+ return t.add(e), function() {
8
+ t.remove();
9
+ };
10
+ }, [e && n]);
26
11
  };
27
12
  };
28
13
  export {
29
- c as stylesheetSingleton
14
+ i as styleHookSingleton
30
15
  };
31
16
  //# sourceMappingURL=index318.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index318.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAQ;AACpB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACJ;AAAA,IACA,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAErB;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index318.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAmB;AAC/B,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAM;AAAA,MAChB;AAAA,IACJ,GAAG,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC5B;AACJ;","x_google_ignoreList":[0]}
package/dist/index319.js CHANGED
@@ -1,8 +1,31 @@
1
- var e = function() {
2
- if (typeof __webpack_nonce__ < "u")
3
- return __webpack_nonce__;
1
+ import { getNonce as o } from "./index320.js";
2
+ function r() {
3
+ if (!document)
4
+ return null;
5
+ var t = document.createElement("style");
6
+ t.type = "text/css";
7
+ var e = o();
8
+ return e && t.setAttribute("nonce", e), t;
9
+ }
10
+ function l(t, e) {
11
+ t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
+ }
13
+ function a(t) {
14
+ var e = document.head || document.getElementsByTagName("head")[0];
15
+ e.appendChild(t);
16
+ }
17
+ var c = function() {
18
+ var t = 0, e = null;
19
+ return {
20
+ add: function(n) {
21
+ t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
+ },
23
+ remove: function() {
24
+ t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
+ }
26
+ };
4
27
  };
5
28
  export {
6
- e as getNonce
29
+ c as stylesheetSingleton
7
30
  };
8
31
  //# sourceMappingURL=index319.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index319.js","sources":["../../../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index319.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAQ;AACpB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACJ;AAAA,IACA,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAErB;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
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 "./index138.js";
3
- import { createGetModifiers as Ie } from "./index139.js";
4
- import { getClassNamesForModifiers as Ge } from "./index140.js";
5
- import { getComponents as He } from "./index141.js";
6
- import { getDataAttributes as _e } from "./index142.js";
7
- import { getDefaultClassNames as Ue } from "./index143.js";
8
- import { getFormatters as je } from "./index144.js";
9
- import { getLabels as Ve } from "./index145.js";
10
- import { getMonthOptions as $e } from "./index146.js";
11
- import { getStyleForModifiers as qe } from "./index147.js";
12
- import { getWeekdays as ze } from "./index148.js";
13
- import { getYearOptions as Je } from "./index149.js";
14
- import { createNoonOverrides as Qe } from "./index150.js";
15
- import { UI as n, DayFlag as Xe, SelectionState as w } from "./index151.js";
16
- import { useAnimation as et } from "./index152.js";
17
- import { useCalendar as tt } from "./index153.js";
18
- import { dayPickerContext as at } from "./index154.js";
19
- import { useFocus as ot } from "./index155.js";
20
- import { useSelection as nt } from "./index156.js";
21
- import { convertMatchersToTimeZone as K } from "./index157.js";
22
- import { rangeIncludesDate as st } from "./index158.js";
23
- import { toTimeZone as k } from "./index159.js";
24
- import { isDateRange as rt } from "./index160.js";
25
- import { enUS as it } from "./index161.js";
2
+ import { DateLib as Ze } from "./index118.js";
3
+ import { createGetModifiers as Ie } from "./index119.js";
4
+ import { getClassNamesForModifiers as Ge } from "./index120.js";
5
+ import { getComponents as He } from "./index121.js";
6
+ import { getDataAttributes as _e } from "./index122.js";
7
+ import { getDefaultClassNames as Ue } from "./index123.js";
8
+ import { getFormatters as je } from "./index124.js";
9
+ import { getLabels as Ve } from "./index125.js";
10
+ import { getMonthOptions as $e } from "./index126.js";
11
+ import { getStyleForModifiers as qe } from "./index127.js";
12
+ import { getWeekdays as ze } from "./index128.js";
13
+ import { getYearOptions as Je } from "./index129.js";
14
+ import { createNoonOverrides as Qe } from "./index130.js";
15
+ import { UI as n, DayFlag as Xe, SelectionState as w } from "./index131.js";
16
+ import { useAnimation as et } from "./index132.js";
17
+ import { useCalendar as tt } from "./index133.js";
18
+ import { dayPickerContext as at } from "./index134.js";
19
+ import { useFocus as ot } from "./index135.js";
20
+ import { useSelection as nt } from "./index136.js";
21
+ import { convertMatchersToTimeZone as K } from "./index137.js";
22
+ import { rangeIncludesDate as st } from "./index138.js";
23
+ import { toTimeZone as k } from "./index139.js";
24
+ import { isDateRange as rt } from "./index140.js";
25
+ import { enUS as it } from "./index141.js";
26
26
  function Yt(R) {
27
27
  let e = R;
28
28
  const u = e.timeZone;