@rpcbase/ui 0.212.0 → 0.214.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 (557) hide show
  1. package/dist/index100.js +4 -42
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +5 -4
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +4 -46
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +8 -229
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +6 -22
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +4 -24
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +4 -400
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +6 -605
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +146 -52
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +39 -4
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +4 -4
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +7 -15
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +13 -5
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +13 -7
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +7 -16
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +31 -4
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +10 -4
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +10 -5
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +8 -5
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +13 -4
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +101 -4
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +20 -7
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +53 -24
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +72 -6
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +9 -4
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +20 -6
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +16 -5
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +23 -4
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +6 -5
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +5 -4
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +23 -8
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +35 -6
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +16 -5
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +6 -4
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +4 -6
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +4 -145
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +4 -39
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +4 -4
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +3 -7
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +6 -13
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +24 -14
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +7 -7
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +6 -31
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +5 -10
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +3 -10
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +3 -8
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +4 -13
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +3 -101
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +5 -20
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +3 -53
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index150.js +3 -72
  102. package/dist/index150.js.map +1 -1
  103. package/dist/index151.js +3 -9
  104. package/dist/index151.js.map +1 -1
  105. package/dist/index152.js +45 -19
  106. package/dist/index152.js.map +1 -1
  107. package/dist/index153.js +45 -15
  108. package/dist/index153.js.map +1 -1
  109. package/dist/index154.js +227 -21
  110. package/dist/index154.js.map +1 -1
  111. package/dist/index155.js +22 -7
  112. package/dist/index155.js.map +1 -1
  113. package/dist/index156.js +24 -5
  114. package/dist/index156.js.map +1 -1
  115. package/dist/index157.js +395 -18
  116. package/dist/index157.js.map +1 -1
  117. package/dist/index158.js +6 -35
  118. package/dist/index158.js.map +1 -1
  119. package/dist/index159.js +69 -16
  120. package/dist/index159.js.map +1 -1
  121. package/dist/index16.js +1 -1
  122. package/dist/index160.js +2 -7
  123. package/dist/index160.js.map +1 -1
  124. package/dist/index161.js +363 -4
  125. package/dist/index161.js.map +1 -1
  126. package/dist/index162.js +261 -4
  127. package/dist/index162.js.map +1 -1
  128. package/dist/index163.js +60 -4
  129. package/dist/index163.js.map +1 -1
  130. package/dist/index164.js +46 -4
  131. package/dist/index164.js.map +1 -1
  132. package/dist/index165.js +169 -3
  133. package/dist/index165.js.map +1 -1
  134. package/dist/index166.js +109 -6
  135. package/dist/index166.js.map +1 -1
  136. package/dist/index167.js +25 -24
  137. package/dist/index167.js.map +1 -1
  138. package/dist/index168.js +8 -8
  139. package/dist/index168.js.map +1 -1
  140. package/dist/index169.js +4 -6
  141. package/dist/index169.js.map +1 -1
  142. package/dist/index170.js +5 -5
  143. package/dist/index170.js.map +1 -1
  144. package/dist/index171.js +4 -3
  145. package/dist/index171.js.map +1 -1
  146. package/dist/index172.js +466 -3
  147. package/dist/index172.js.map +1 -1
  148. package/dist/index173.js +185 -4
  149. package/dist/index173.js.map +1 -1
  150. package/dist/index174.js +107 -3
  151. package/dist/index174.js.map +1 -1
  152. package/dist/index175.js +262 -4
  153. package/dist/index175.js.map +1 -1
  154. package/dist/index176.js +9 -3
  155. package/dist/index176.js.map +1 -1
  156. package/dist/index177.js +42 -3
  157. package/dist/index177.js.map +1 -1
  158. package/dist/index178.js +4 -3
  159. package/dist/index178.js.map +1 -1
  160. package/dist/index179.js +66 -12
  161. package/dist/index179.js.map +1 -1
  162. package/dist/index180.js +176 -150
  163. package/dist/index180.js.map +1 -1
  164. package/dist/index181.js +43 -27
  165. package/dist/index181.js.map +1 -1
  166. package/dist/index182.js +58 -9
  167. package/dist/index182.js.map +1 -1
  168. package/dist/index183.js +8 -48
  169. package/dist/index183.js.map +1 -1
  170. package/dist/index184.js +65 -10
  171. package/dist/index184.js.map +1 -1
  172. package/dist/index185.js +18 -43
  173. package/dist/index185.js.map +1 -1
  174. package/dist/index186.js +14 -93
  175. package/dist/index186.js.map +1 -1
  176. package/dist/index187.js +4 -85
  177. package/dist/index187.js.map +1 -1
  178. package/dist/index188.js +4 -104
  179. package/dist/index188.js.map +1 -1
  180. package/dist/index189.js +6 -52
  181. package/dist/index189.js.map +1 -1
  182. package/dist/index190.js +4 -11
  183. package/dist/index190.js.map +1 -1
  184. package/dist/index191.js +6 -37
  185. package/dist/index191.js.map +1 -1
  186. package/dist/index192.js +16 -8
  187. package/dist/index192.js.map +1 -1
  188. package/dist/index193.js +4 -3
  189. package/dist/index193.js.map +1 -1
  190. package/dist/index194.js +4 -9
  191. package/dist/index194.js.map +1 -1
  192. package/dist/index195.js +12 -116
  193. package/dist/index195.js.map +1 -1
  194. package/dist/index196.js +9 -17
  195. package/dist/index196.js.map +1 -1
  196. package/dist/index197.js +13 -15
  197. package/dist/index197.js.map +1 -1
  198. package/dist/index198.js +13 -36
  199. package/dist/index198.js.map +1 -1
  200. package/dist/index199.js +4 -20
  201. package/dist/index199.js.map +1 -1
  202. package/dist/index200.js +5 -8
  203. package/dist/index200.js.map +1 -1
  204. package/dist/index201.js +6 -19
  205. package/dist/index201.js.map +1 -1
  206. package/dist/index202.js +5 -28
  207. package/dist/index202.js.map +1 -1
  208. package/dist/index203.js +53 -15
  209. package/dist/index203.js.map +1 -1
  210. package/dist/index204.js +8 -24
  211. package/dist/index204.js.map +1 -1
  212. package/dist/index205.js +5 -29
  213. package/dist/index205.js.map +1 -1
  214. package/dist/index206.js +5 -5
  215. package/dist/index206.js.map +1 -1
  216. package/dist/index207.js +8 -67
  217. package/dist/index207.js.map +1 -1
  218. package/dist/index208.js +4 -180
  219. package/dist/index208.js.map +1 -1
  220. package/dist/index209.js +4 -46
  221. package/dist/index209.js.map +1 -1
  222. package/dist/index210.js +3 -58
  223. package/dist/index210.js.map +1 -1
  224. package/dist/index211.js +10 -8
  225. package/dist/index211.js.map +1 -1
  226. package/dist/index212.js +9 -66
  227. package/dist/index212.js.map +1 -1
  228. package/dist/index213.js +9 -19
  229. package/dist/index213.js.map +1 -1
  230. package/dist/index214.js +10 -16
  231. package/dist/index214.js.map +1 -1
  232. package/dist/index215.js +10 -5
  233. package/dist/index215.js.map +1 -1
  234. package/dist/index216.js +9 -5
  235. package/dist/index216.js.map +1 -1
  236. package/dist/index217.js +6 -6
  237. package/dist/index217.js.map +1 -1
  238. package/dist/index218.js +5 -4
  239. package/dist/index218.js.map +1 -1
  240. package/dist/index219.js +4 -6
  241. package/dist/index219.js.map +1 -1
  242. package/dist/index220.js +5 -16
  243. package/dist/index220.js.map +1 -1
  244. package/dist/index221.js +6 -4
  245. package/dist/index221.js.map +1 -1
  246. package/dist/index222.js +5 -4
  247. package/dist/index222.js.map +1 -1
  248. package/dist/index223.js +16 -12
  249. package/dist/index223.js.map +1 -1
  250. package/dist/index224.js +7 -9
  251. package/dist/index224.js.map +1 -1
  252. package/dist/index225.js +10 -13
  253. package/dist/index225.js.map +1 -1
  254. package/dist/index226.js +10 -13
  255. package/dist/index226.js.map +1 -1
  256. package/dist/index227.js +21 -4
  257. package/dist/index227.js.map +1 -1
  258. package/dist/index228.js +10 -5
  259. package/dist/index228.js.map +1 -1
  260. package/dist/index229.js +9 -6
  261. package/dist/index229.js.map +1 -1
  262. package/dist/index230.js +9 -5
  263. package/dist/index230.js.map +1 -1
  264. package/dist/index231.js +4 -54
  265. package/dist/index231.js.map +1 -1
  266. package/dist/index232.js +5 -8
  267. package/dist/index232.js.map +1 -1
  268. package/dist/index233.js +16 -4
  269. package/dist/index233.js.map +1 -1
  270. package/dist/index234.js +9 -4
  271. package/dist/index234.js.map +1 -1
  272. package/dist/index235.js +18 -8
  273. package/dist/index235.js.map +1 -1
  274. package/dist/index236.js +15 -4
  275. package/dist/index236.js.map +1 -1
  276. package/dist/index237.js +12 -4
  277. package/dist/index237.js.map +1 -1
  278. package/dist/index238.js +29 -3
  279. package/dist/index238.js.map +1 -1
  280. package/dist/index239.js +12 -10
  281. package/dist/index239.js.map +1 -1
  282. package/dist/index240.js +25 -9
  283. package/dist/index240.js.map +1 -1
  284. package/dist/index241.js +5 -9
  285. package/dist/index241.js.map +1 -1
  286. package/dist/index242.js +24 -10
  287. package/dist/index242.js.map +1 -1
  288. package/dist/index243.js +29 -11
  289. package/dist/index243.js.map +1 -1
  290. package/dist/index244.js +5 -10
  291. package/dist/index244.js.map +1 -1
  292. package/dist/index245.js +13 -6
  293. package/dist/index245.js.map +1 -1
  294. package/dist/index246.js +154 -5
  295. package/dist/index246.js.map +1 -1
  296. package/dist/index247.js +30 -4
  297. package/dist/index247.js.map +1 -1
  298. package/dist/index248.js +9 -5
  299. package/dist/index248.js.map +1 -1
  300. package/dist/index249.js +48 -6
  301. package/dist/index249.js.map +1 -1
  302. package/dist/index250.js +11 -5
  303. package/dist/index250.js.map +1 -1
  304. package/dist/index251.js +42 -14
  305. package/dist/index251.js.map +1 -1
  306. package/dist/index252.js +95 -7
  307. package/dist/index252.js.map +1 -1
  308. package/dist/index253.js +85 -9
  309. package/dist/index253.js.map +1 -1
  310. package/dist/index254.js +104 -9
  311. package/dist/index254.js.map +1 -1
  312. package/dist/index255.js +52 -21
  313. package/dist/index255.js.map +1 -1
  314. package/dist/index256.js +11 -10
  315. package/dist/index256.js.map +1 -1
  316. package/dist/index257.js +37 -9
  317. package/dist/index257.js.map +1 -1
  318. package/dist/index258.js +7 -8
  319. package/dist/index258.js.map +1 -1
  320. package/dist/index259.js +116 -4
  321. package/dist/index259.js.map +1 -1
  322. package/dist/index260.js +17 -5
  323. package/dist/index260.js.map +1 -1
  324. package/dist/index261.js +14 -15
  325. package/dist/index261.js.map +1 -1
  326. package/dist/index262.js +3 -9
  327. package/dist/index262.js.map +1 -1
  328. package/dist/index263.js +34 -16
  329. package/dist/index263.js.map +1 -1
  330. package/dist/index264.js +20 -15
  331. package/dist/index264.js.map +1 -1
  332. package/dist/index265.js +9 -12
  333. package/dist/index265.js.map +1 -1
  334. package/dist/index266.js +8 -29
  335. package/dist/index266.js.map +1 -1
  336. package/dist/index267.js +18 -11
  337. package/dist/index267.js.map +1 -1
  338. package/dist/index268.js +26 -23
  339. package/dist/index268.js.map +1 -1
  340. package/dist/index269.js +16 -5
  341. package/dist/index269.js.map +1 -1
  342. package/dist/index270.js +4 -20
  343. package/dist/index270.js.map +1 -1
  344. package/dist/index271.js +18 -5
  345. package/dist/index271.js.map +1 -1
  346. package/dist/index272.js +13 -3
  347. package/dist/index272.js.map +1 -1
  348. package/dist/index273.js +5 -24
  349. package/dist/index273.js.map +1 -1
  350. package/dist/index274.js +3 -113
  351. package/dist/index274.js.map +1 -1
  352. package/dist/index275.js +23 -15
  353. package/dist/index275.js.map +1 -1
  354. package/dist/index276.js +107 -524
  355. package/dist/index276.js.map +1 -1
  356. package/dist/index277.js +14 -124
  357. package/dist/index277.js.map +1 -1
  358. package/dist/index278.js +519 -123
  359. package/dist/index278.js.map +1 -1
  360. package/dist/index279.js +125 -4
  361. package/dist/index279.js.map +1 -1
  362. package/dist/index280.js +133 -17
  363. package/dist/index280.js.map +1 -1
  364. package/dist/index281.js +20 -12
  365. package/dist/index281.js.map +1 -1
  366. package/dist/index282.js +4 -64
  367. package/dist/index282.js.map +1 -1
  368. package/dist/index283.js +5 -69
  369. package/dist/index283.js.map +1 -1
  370. package/dist/index284.js +4 -9
  371. package/dist/index284.js.map +1 -1
  372. package/dist/index285.js +16 -14
  373. package/dist/index285.js.map +1 -1
  374. package/dist/index286.js +8 -65
  375. package/dist/index286.js.map +1 -1
  376. package/dist/index287.js +5 -4
  377. package/dist/index287.js.map +1 -1
  378. package/dist/index288.js +4 -4
  379. package/dist/index288.js.map +1 -1
  380. package/dist/index289.js +546 -4
  381. package/dist/index289.js.map +1 -1
  382. package/dist/index290.js +47 -16
  383. package/dist/index290.js.map +1 -1
  384. package/dist/index291.js +17 -8
  385. package/dist/index291.js.map +1 -1
  386. package/dist/index292.js +5 -5
  387. package/dist/index292.js.map +1 -1
  388. package/dist/index293.js +7 -4
  389. package/dist/index293.js.map +1 -1
  390. package/dist/index294.js +6 -545
  391. package/dist/index294.js.map +1 -1
  392. package/dist/index295.js +8 -47
  393. package/dist/index295.js.map +1 -1
  394. package/dist/index296.js +11 -17
  395. package/dist/index296.js.map +1 -1
  396. package/dist/index297.js +8 -5
  397. package/dist/index297.js.map +1 -1
  398. package/dist/index298.js +12 -7
  399. package/dist/index298.js.map +1 -1
  400. package/dist/index299.js +64 -6
  401. package/dist/index299.js.map +1 -1
  402. package/dist/index300.js +69 -8
  403. package/dist/index300.js.map +1 -1
  404. package/dist/index301.js +9 -12
  405. package/dist/index301.js.map +1 -1
  406. package/dist/index302.js +14 -9
  407. package/dist/index302.js.map +1 -1
  408. package/dist/index303.js +66 -13
  409. package/dist/index303.js.map +1 -1
  410. package/dist/index304.js +68 -4
  411. package/dist/index304.js.map +1 -1
  412. package/dist/index305.js +31 -23
  413. package/dist/index305.js.map +1 -1
  414. package/dist/index306.js +9 -5
  415. package/dist/index306.js.map +1 -1
  416. package/dist/index307.js +147 -50
  417. package/dist/index307.js.map +1 -1
  418. package/dist/index308.js +106 -66
  419. package/dist/index308.js.map +1 -1
  420. package/dist/index309.js +5 -31
  421. package/dist/index309.js.map +1 -1
  422. package/dist/index31.js +5 -5
  423. package/dist/index310.js +56 -9
  424. package/dist/index310.js.map +1 -1
  425. package/dist/index311.js +4 -153
  426. package/dist/index311.js.map +1 -1
  427. package/dist/index312.js +23 -108
  428. package/dist/index312.js.map +1 -1
  429. package/dist/index313.js +15 -22
  430. package/dist/index313.js.map +1 -1
  431. package/dist/index314.js +28 -12
  432. package/dist/index314.js.map +1 -1
  433. package/dist/index315.js +12 -27
  434. package/dist/index315.js.map +1 -1
  435. package/dist/index316.js +7 -5
  436. package/dist/index316.js.map +1 -1
  437. package/dist/index317.js +22 -15
  438. package/dist/index317.js.map +1 -1
  439. package/dist/index318.js +12 -28
  440. package/dist/index318.js.map +1 -1
  441. package/dist/index319.js +27 -12
  442. package/dist/index319.js.map +1 -1
  443. package/dist/index32.js +24 -24
  444. package/dist/index320.js +5 -7
  445. package/dist/index320.js.map +1 -1
  446. package/dist/index33.js +3 -3
  447. package/dist/index36.js +1 -1
  448. package/dist/index37.js +2 -2
  449. package/dist/index40.js +2 -2
  450. package/dist/index41.js +20 -20
  451. package/dist/index45.js +1 -1
  452. package/dist/index46.js +1 -1
  453. package/dist/index49.js +1 -1
  454. package/dist/index50.js +1 -1
  455. package/dist/index51.js +205 -7
  456. package/dist/index51.js.map +1 -1
  457. package/dist/index52.js +2 -34
  458. package/dist/index52.js.map +1 -1
  459. package/dist/index53.js +2 -27
  460. package/dist/index53.js.map +1 -1
  461. package/dist/index54.js +6 -7
  462. package/dist/index54.js.map +1 -1
  463. package/dist/index55.js +33 -11
  464. package/dist/index55.js.map +1 -1
  465. package/dist/index56.js +27 -2
  466. package/dist/index56.js.map +1 -1
  467. package/dist/index57.js +8 -2
  468. package/dist/index57.js.map +1 -1
  469. package/dist/index58.js +12 -2
  470. package/dist/index58.js.map +1 -1
  471. package/dist/index59.js +4 -2
  472. package/dist/index59.js.map +1 -1
  473. package/dist/index60.js +44 -201
  474. package/dist/index60.js.map +1 -1
  475. package/dist/index61.js +50 -5
  476. package/dist/index61.js.map +1 -1
  477. package/dist/index62.js +7 -7
  478. package/dist/index62.js.map +1 -1
  479. package/dist/index63.js +13 -4
  480. package/dist/index63.js.map +1 -1
  481. package/dist/index64.js +133 -3
  482. package/dist/index64.js.map +1 -1
  483. package/dist/index65.js +10 -47
  484. package/dist/index65.js.map +1 -1
  485. package/dist/index66.js +214 -48
  486. package/dist/index66.js.map +1 -1
  487. package/dist/index67.js +13 -8
  488. package/dist/index67.js.map +1 -1
  489. package/dist/index68.js +45 -13
  490. package/dist/index68.js.map +1 -1
  491. package/dist/index69.js +47 -131
  492. package/dist/index69.js.map +1 -1
  493. package/dist/index70.js +4 -11
  494. package/dist/index70.js.map +1 -1
  495. package/dist/index71.js +5 -216
  496. package/dist/index71.js.map +1 -1
  497. package/dist/index72.js +28 -13
  498. package/dist/index72.js.map +1 -1
  499. package/dist/index73.js +49 -46
  500. package/dist/index73.js.map +1 -1
  501. package/dist/index74.js +9 -50
  502. package/dist/index74.js.map +1 -1
  503. package/dist/index75.js +2 -4
  504. package/dist/index75.js.map +1 -1
  505. package/dist/index76.js +2 -6
  506. package/dist/index76.js.map +1 -1
  507. package/dist/index77.js +6 -28
  508. package/dist/index77.js.map +1 -1
  509. package/dist/index78.js +8 -50
  510. package/dist/index78.js.map +1 -1
  511. package/dist/index79.js +6 -9
  512. package/dist/index79.js.map +1 -1
  513. package/dist/index80.js +599 -40
  514. package/dist/index80.js.map +1 -1
  515. package/dist/index81.js +52 -6
  516. package/dist/index81.js.map +1 -1
  517. package/dist/index82.js +4 -68
  518. package/dist/index82.js.map +1 -1
  519. package/dist/index83.js +5 -2
  520. package/dist/index83.js.map +1 -1
  521. package/dist/index84.js +15 -363
  522. package/dist/index84.js.map +1 -1
  523. package/dist/index85.js +5 -261
  524. package/dist/index85.js.map +1 -1
  525. package/dist/index86.js +7 -60
  526. package/dist/index86.js.map +1 -1
  527. package/dist/index87.js +16 -46
  528. package/dist/index87.js.map +1 -1
  529. package/dist/index88.js +4 -169
  530. package/dist/index88.js.map +1 -1
  531. package/dist/index89.js +4 -109
  532. package/dist/index89.js.map +1 -1
  533. package/dist/index90.js +5 -24
  534. package/dist/index90.js.map +1 -1
  535. package/dist/index91.js +6 -8
  536. package/dist/index91.js.map +1 -1
  537. package/dist/index92.js +4 -4
  538. package/dist/index92.js.map +1 -1
  539. package/dist/index93.js +4 -5
  540. package/dist/index93.js.map +1 -1
  541. package/dist/index94.js +6 -4
  542. package/dist/index94.js.map +1 -1
  543. package/dist/index95.js +24 -466
  544. package/dist/index95.js.map +1 -1
  545. package/dist/index96.js +6 -185
  546. package/dist/index96.js.map +1 -1
  547. package/dist/index97.js +4 -107
  548. package/dist/index97.js.map +1 -1
  549. package/dist/index98.js +6 -262
  550. package/dist/index98.js.map +1 -1
  551. package/dist/index99.js +5 -9
  552. package/dist/index99.js.map +1 -1
  553. package/package.json +1 -1
  554. package/dist/helpers/isMobileDevice.test.d.ts +0 -2
  555. package/dist/helpers/isMobileDevice.test.d.ts.map +0 -1
  556. package/dist/helpers/useScrollPagination.test.d.ts +0 -2
  557. package/dist/helpers/useScrollPagination.test.d.ts.map +0 -1
package/dist/index153.js CHANGED
@@ -1,20 +1,50 @@
1
- import { useMulti as i } from "./index263.js";
2
- import { useRange as o } from "./index264.js";
3
- import { useSingle as s } from "./index265.js";
4
- function f(e, n) {
5
- const t = s(e, n), r = i(e, n), u = o(e, n);
6
- switch (e.mode) {
7
- case "single":
8
- return t;
9
- case "multiple":
10
- return r;
11
- case "range":
12
- return u;
13
- default:
14
- return;
1
+ import * as l from "react";
2
+ import { composeRefs as m } from "./index56.js";
3
+ import { j as u } from "./index30.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function x(e) {
6
+ const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
7
+ const { children: i, ...c } = o, s = l.Children.toArray(i), a = s.find(g);
8
+ if (a) {
9
+ const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
10
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
11
+ }
12
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: i });
13
+ });
14
+ return t.displayName = `${e}.Slot`, t;
15
+ }
16
+ // @__NO_SIDE_EFFECTS__
17
+ function y(e) {
18
+ const r = l.forwardRef((t, o) => {
19
+ const { children: n, ...i } = t;
20
+ if (l.isValidElement(n)) {
21
+ const c = R(n), s = C(i, n.props);
22
+ return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
23
+ }
24
+ return l.Children.count(n) > 1 ? l.Children.only(null) : null;
25
+ });
26
+ return r.displayName = `${e}.SlotClone`, r;
27
+ }
28
+ var E = /* @__PURE__ */ Symbol("radix.slottable");
29
+ function g(e) {
30
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
31
+ }
32
+ function C(e, r) {
33
+ const t = { ...r };
34
+ for (const o in r) {
35
+ const n = e[o], i = r[o];
36
+ /^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
37
+ const a = i(...s);
38
+ return n(...s), a;
39
+ } : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
15
40
  }
41
+ return { ...e, ...t };
42
+ }
43
+ function R(e) {
44
+ let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
45
+ return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
16
46
  }
17
47
  export {
18
- f as useSelection
48
+ x as createSlot
19
49
  };
20
50
  //# sourceMappingURL=index153.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index153.js","sources":["../../../node_modules/react-day-picker/dist/esm/useSelection.js"],"sourcesContent":["import { useMulti } from \"./selection/useMulti.js\";\nimport { useRange } from \"./selection/useRange.js\";\nimport { useSingle } from \"./selection/useSingle.js\";\n/**\n * Determines the appropriate selection hook to use based on the selection mode\n * and returns the corresponding selection object.\n *\n * @template T - The type of DayPicker props.\n * @param props - The DayPicker props.\n * @param dateLib - The date utility library instance.\n * @returns The selection object for the specified mode, or `undefined` if no\n * mode is set.\n */\nexport function useSelection(props, dateLib) {\n const single = useSingle(props, dateLib);\n const multi = useMulti(props, dateLib);\n const range = useRange(props, dateLib);\n switch (props.mode) {\n case \"single\":\n return single;\n case \"multiple\":\n return multi;\n case \"range\":\n return range;\n default:\n return undefined;\n }\n}\n"],"names":["useSelection","props","dateLib","single","useSingle","multi","useMulti","range","useRange"],"mappings":";;;AAaO,SAASA,EAAaC,GAAOC,GAAS;AACzC,QAAMC,IAASC,EAAUH,GAAOC,CAAO,GACjCG,IAAQC,EAASL,GAAOC,CAAO,GAC/BK,IAAQC,EAASP,GAAOC,CAAO;AACrC,UAAQD,EAAM,MAAI;AAAA,IACd,KAAK;AACD,aAAOE;AAAA,IACX,KAAK;AACD,aAAOE;AAAA,IACX,KAAK;AACD,aAAOE;AAAA,IACX;AACI;AAAA,EACZ;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index153.js","sources":["../../../node_modules/@radix-ui/react-collection/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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F,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]}
package/dist/index154.js CHANGED
@@ -1,27 +1,233 @@
1
- import "./index212.js";
2
- import { toTimeZone as i } from "./index156.js";
3
- import { isDateRange as e, isDateInterval as p, isDateAfterType as y, isDateBeforeType as D } from "./index157.js";
4
- function n(o, f, u) {
5
- return i(o, f);
1
+ import { computePosition as I, offset as J, shift as K, flip as N, size as Q, hide as T, arrow as z, limitShift as X } from "./index157.js";
2
+ import { autoUpdate as pe, platform as ge } from "./index157.js";
3
+ import * as f from "react";
4
+ import { useLayoutEffect as Y } from "react";
5
+ import * as Z from "react-dom";
6
+ var b = typeof document < "u", ee = function() {
7
+ }, w = b ? Y : ee;
8
+ function R(e, n) {
9
+ if (e === n)
10
+ return !0;
11
+ if (typeof e != typeof n)
12
+ return !1;
13
+ if (typeof e == "function" && e.toString() === n.toString())
14
+ return !0;
15
+ let t, r, s;
16
+ if (e && n && typeof e == "object") {
17
+ if (Array.isArray(e)) {
18
+ if (t = e.length, t !== n.length) return !1;
19
+ for (r = t; r-- !== 0; )
20
+ if (!R(e[r], n[r]))
21
+ return !1;
22
+ return !0;
23
+ }
24
+ if (s = Object.keys(e), t = s.length, t !== Object.keys(n).length)
25
+ return !1;
26
+ for (r = t; r-- !== 0; )
27
+ if (!{}.hasOwnProperty.call(n, s[r]))
28
+ return !1;
29
+ for (r = t; r-- !== 0; ) {
30
+ const p = s[r];
31
+ if (!(p === "_owner" && e.$$typeof) && !R(e[p], n[p]))
32
+ return !1;
33
+ }
34
+ return !0;
35
+ }
36
+ return e !== e && n !== n;
6
37
  }
7
- function t(o, f, u) {
8
- return typeof o == "boolean" || typeof o == "function" ? o : o instanceof Date ? n(o, f) : Array.isArray(o) ? o.map((r) => r instanceof Date ? n(r, f) : r) : e(o) ? {
9
- ...o,
10
- from: o.from ? i(o.from, f) : o.from,
11
- to: o.to ? i(o.to, f) : o.to
12
- } : p(o) ? {
13
- before: n(o.before, f),
14
- after: n(o.after, f)
15
- } : y(o) ? {
16
- after: n(o.after, f)
17
- } : D(o) ? {
18
- before: n(o.before, f)
19
- } : o;
38
+ function A(e) {
39
+ return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
20
40
  }
21
- function T(o, f, u) {
22
- return o && (Array.isArray(o) ? o.map((r) => t(r, f)) : t(o, f));
41
+ function L(e, n) {
42
+ const t = A(e);
43
+ return Math.round(n * t) / t;
23
44
  }
45
+ function k(e) {
46
+ const n = f.useRef(e);
47
+ return w(() => {
48
+ n.current = e;
49
+ }), n;
50
+ }
51
+ function fe(e) {
52
+ e === void 0 && (e = {});
53
+ const {
54
+ placement: n = "bottom",
55
+ strategy: t = "absolute",
56
+ middleware: r = [],
57
+ platform: s,
58
+ elements: {
59
+ reference: p,
60
+ floating: q
61
+ } = {},
62
+ transform: D = !0,
63
+ whileElementsMounted: E,
64
+ open: x
65
+ } = e, [i, C] = f.useState({
66
+ x: 0,
67
+ y: 0,
68
+ strategy: t,
69
+ placement: n,
70
+ middlewareData: {},
71
+ isPositioned: !1
72
+ }), [M, B] = f.useState(r);
73
+ R(M, r) || B(r);
74
+ const [U, V] = f.useState(null), [W, G] = f.useState(null), O = f.useCallback((o) => {
75
+ o !== a.current && (a.current = o, V(o));
76
+ }, []), _ = f.useCallback((o) => {
77
+ o !== m.current && (m.current = o, G(o));
78
+ }, []), u = p || U, l = q || W, a = f.useRef(null), m = f.useRef(null), y = f.useRef(i), H = E != null, S = k(E), P = k(s), v = k(x), g = f.useCallback(() => {
79
+ if (!a.current || !m.current)
80
+ return;
81
+ const o = {
82
+ placement: n,
83
+ strategy: t,
84
+ middleware: M
85
+ };
86
+ P.current && (o.platform = P.current), I(a.current, m.current, o).then((h) => {
87
+ const d = {
88
+ ...h,
89
+ // The floating element's position may be recomputed while it's closed
90
+ // but still mounted (such as when transitioning out). To ensure
91
+ // `isPositioned` will be `false` initially on the next open, avoid
92
+ // setting it to `true` when `open === false` (must be specified).
93
+ isPositioned: v.current !== !1
94
+ };
95
+ $.current && !R(y.current, d) && (y.current = d, Z.flushSync(() => {
96
+ C(d);
97
+ }));
98
+ });
99
+ }, [M, n, t, P, v]);
100
+ w(() => {
101
+ x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, C((o) => ({
102
+ ...o,
103
+ isPositioned: !1
104
+ })));
105
+ }, [x]);
106
+ const $ = f.useRef(!1);
107
+ w(() => ($.current = !0, () => {
108
+ $.current = !1;
109
+ }), []), w(() => {
110
+ if (u && (a.current = u), l && (m.current = l), u && l) {
111
+ if (S.current)
112
+ return S.current(u, l, g);
113
+ g();
114
+ }
115
+ }, [u, l, g, S, H]);
116
+ const F = f.useMemo(() => ({
117
+ reference: a,
118
+ floating: m,
119
+ setReference: O,
120
+ setFloating: _
121
+ }), [O, _]), c = f.useMemo(() => ({
122
+ reference: u,
123
+ floating: l
124
+ }), [u, l]), j = f.useMemo(() => {
125
+ const o = {
126
+ position: t,
127
+ left: 0,
128
+ top: 0
129
+ };
130
+ if (!c.floating)
131
+ return o;
132
+ const h = L(c.floating, i.x), d = L(c.floating, i.y);
133
+ return D ? {
134
+ ...o,
135
+ transform: "translate(" + h + "px, " + d + "px)",
136
+ ...A(c.floating) >= 1.5 && {
137
+ willChange: "transform"
138
+ }
139
+ } : {
140
+ position: t,
141
+ left: h,
142
+ top: d
143
+ };
144
+ }, [t, D, c.floating, i.x, i.y]);
145
+ return f.useMemo(() => ({
146
+ ...i,
147
+ update: g,
148
+ refs: F,
149
+ elements: c,
150
+ floatingStyles: j
151
+ }), [i, g, F, c, j]);
152
+ }
153
+ const te = (e) => {
154
+ function n(t) {
155
+ return {}.hasOwnProperty.call(t, "current");
156
+ }
157
+ return {
158
+ name: "arrow",
159
+ options: e,
160
+ fn(t) {
161
+ const {
162
+ element: r,
163
+ padding: s
164
+ } = typeof e == "function" ? e(t) : e;
165
+ return r && n(r) ? r.current != null ? z({
166
+ element: r.current,
167
+ padding: s
168
+ }).fn(t) : {} : r ? z({
169
+ element: r,
170
+ padding: s
171
+ }).fn(t) : {};
172
+ }
173
+ };
174
+ }, oe = (e, n) => {
175
+ const t = J(e);
176
+ return {
177
+ name: t.name,
178
+ fn: t.fn,
179
+ options: [e, n]
180
+ };
181
+ }, se = (e, n) => {
182
+ const t = K(e);
183
+ return {
184
+ name: t.name,
185
+ fn: t.fn,
186
+ options: [e, n]
187
+ };
188
+ }, ie = (e, n) => ({
189
+ fn: X(e).fn,
190
+ options: [e, n]
191
+ }), ue = (e, n) => {
192
+ const t = N(e);
193
+ return {
194
+ name: t.name,
195
+ fn: t.fn,
196
+ options: [e, n]
197
+ };
198
+ }, le = (e, n) => {
199
+ const t = Q(e);
200
+ return {
201
+ name: t.name,
202
+ fn: t.fn,
203
+ options: [e, n]
204
+ };
205
+ }, ce = (e, n) => {
206
+ const t = T(e);
207
+ return {
208
+ name: t.name,
209
+ fn: t.fn,
210
+ options: [e, n]
211
+ };
212
+ }, ae = (e, n) => {
213
+ const t = te(e);
214
+ return {
215
+ name: t.name,
216
+ fn: t.fn,
217
+ options: [e, n]
218
+ };
219
+ };
24
220
  export {
25
- T as convertMatchersToTimeZone
221
+ ae as arrow,
222
+ pe as autoUpdate,
223
+ I as computePosition,
224
+ ue as flip,
225
+ ce as hide,
226
+ ie as limitShift,
227
+ oe as offset,
228
+ ge as platform,
229
+ se as shift,
230
+ le as size,
231
+ fe as useFloating
26
232
  };
27
233
  //# sourceMappingURL=index154.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index154.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { toTimeZone } from \"./toTimeZone.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, } from \"./typeguards.js\";\nfunction toZoneNoon(date, timeZone, noonSafe) {\n if (!noonSafe)\n return toTimeZone(date, timeZone);\n const zoned = toTimeZone(date, timeZone);\n const noonZoned = new TZDate(zoned.getFullYear(), zoned.getMonth(), zoned.getDate(), 12, 0, 0, timeZone);\n return new Date(noonZoned.getTime());\n}\nfunction convertMatcher(matcher, timeZone, noonSafe) {\n if (typeof matcher === \"boolean\" || typeof matcher === \"function\") {\n return matcher;\n }\n if (matcher instanceof Date) {\n return toZoneNoon(matcher, timeZone, noonSafe);\n }\n if (Array.isArray(matcher)) {\n return matcher.map((value) => value instanceof Date ? toZoneNoon(value, timeZone, noonSafe) : value);\n }\n if (isDateRange(matcher)) {\n return {\n ...matcher,\n from: matcher.from ? toTimeZone(matcher.from, timeZone) : matcher.from,\n to: matcher.to ? toTimeZone(matcher.to, timeZone) : matcher.to,\n };\n }\n if (isDateInterval(matcher)) {\n return {\n before: toZoneNoon(matcher.before, timeZone, noonSafe),\n after: toZoneNoon(matcher.after, timeZone, noonSafe),\n };\n }\n if (isDateAfterType(matcher)) {\n return {\n after: toZoneNoon(matcher.after, timeZone, noonSafe),\n };\n }\n if (isDateBeforeType(matcher)) {\n return {\n before: toZoneNoon(matcher.before, timeZone, noonSafe),\n };\n }\n return matcher;\n}\n/**\n * Convert any {@link Matcher} or array of matchers to the specified time zone.\n *\n * @param matchers - The matcher or matchers to convert.\n * @param timeZone - The target IANA time zone.\n * @returns The converted matcher(s).\n * @group Utilities\n */\nexport function convertMatchersToTimeZone(matchers, timeZone, noonSafe) {\n if (!matchers) {\n return matchers;\n }\n if (Array.isArray(matchers)) {\n return matchers.map((matcher) => convertMatcher(matcher, timeZone, noonSafe));\n }\n return convertMatcher(matchers, timeZone, noonSafe);\n}\n"],"names":["toZoneNoon","date","timeZone","noonSafe","toTimeZone","convertMatcher","matcher","value","isDateRange","isDateInterval","isDateAfterType","isDateBeforeType","convertMatchersToTimeZone","matchers"],"mappings":";;;AAGA,SAASA,EAAWC,GAAMC,GAAUC,GAAU;AAEtC,SAAOC,EAAWH,GAAMC,CAAQ;AAIxC;AACA,SAASG,EAAeC,GAASJ,GAAUC,GAAU;AACjD,SAAI,OAAOG,KAAY,aAAa,OAAOA,KAAY,aAC5CA,IAEPA,aAAmB,OACZN,EAAWM,GAASJ,CAAkB,IAE7C,MAAM,QAAQI,CAAO,IACdA,EAAQ,IAAI,CAACC,MAAUA,aAAiB,OAAOP,EAAWO,GAAOL,CAAkB,IAAIK,CAAK,IAEnGC,EAAYF,CAAO,IACZ;AAAA,IACH,GAAGA;AAAA,IACH,MAAMA,EAAQ,OAAOF,EAAWE,EAAQ,MAAMJ,CAAQ,IAAII,EAAQ;AAAA,IAClE,IAAIA,EAAQ,KAAKF,EAAWE,EAAQ,IAAIJ,CAAQ,IAAII,EAAQ;AAAA,EACxE,IAEQG,EAAeH,CAAO,IACf;AAAA,IACH,QAAQN,EAAWM,EAAQ,QAAQJ,CAAkB;AAAA,IACrD,OAAOF,EAAWM,EAAQ,OAAOJ,CAAkB;AAAA,EAC/D,IAEQQ,EAAgBJ,CAAO,IAChB;AAAA,IACH,OAAON,EAAWM,EAAQ,OAAOJ,CAAkB;AAAA,EAC/D,IAEQS,EAAiBL,CAAO,IACjB;AAAA,IACH,QAAQN,EAAWM,EAAQ,QAAQJ,CAAkB;AAAA,EACjE,IAEWI;AACX;AASO,SAASM,EAA0BC,GAAUX,GAAUC,GAAU;AACpE,SAAKU,MAGD,MAAM,QAAQA,CAAQ,IACfA,EAAS,IAAI,CAACP,MAAYD,EAAeC,GAASJ,CAAkB,CAAC,IAEzEG,EAAeQ,GAAUX,CAAkB;AACtD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index154.js","sources":["../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, autoPlacement as autoPlacement$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar isClient = typeof document !== 'undefined';\n\nvar noop = function noop() {};\nvar index = isClient ? useLayoutEffect : noop;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => {\n const result = offset$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => {\n const result = shift$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => {\n const result = limitShift$1(options);\n return {\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => {\n const result = flip$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => {\n const result = size$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => {\n const result = autoPlacement$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => {\n const result = hide$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => {\n const result = inline$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => {\n const result = arrow$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["isClient","noop","index","useLayoutEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","state","padding","arrow$2","offset","deps","result","offset$1","shift","shift$1","limitShift","limitShift$1","flip","flip$1","size","size$1","hide","hide$1","arrow"],"mappings":";;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C3B,IASMO,KAAO,CAACvD,GAASgD,MAAS;AAC9B,QAAMC,IAASO,EAAOxD,CAAO;AAC7B,SAAO;AAAA,IACL,MAAMiD,EAAO;AAAA,IACb,IAAIA,EAAO;AAAA,IACX,SAAS,CAACjD,GAASgD,CAAI;AAAA,EAC3B;AACA,GAQMS,KAAO,CAACzD,GAASgD,MAAS;AAC9B,QAAMC,IAASS,EAAO1D,CAAO;AAC7B,SAAO;AAAA,IACL,MAAMiD,EAAO;AAAA,IACb,IAAIA,EAAO;AAAA,IACX,SAAS,CAACjD,GAASgD,CAAI;AAAA,EAC3B;AACA,GAsBMW,KAAO,CAAC3D,GAASgD,MAAS;AAC9B,QAAMC,IAASW,EAAO5D,CAAO;AAC7B,SAAO;AAAA,IACL,MAAMiD,EAAO;AAAA,IACb,IAAIA,EAAO;AAAA,IACX,SAAS,CAACjD,GAASgD,CAAI;AAAA,EAC3B;AACA,GAsBMa,KAAQ,CAAC7D,GAASgD,MAAS;AAC/B,QAAMC,IAASP,GAAQ1C,CAAO;AAC9B,SAAO;AAAA,IACL,MAAMiD,EAAO;AAAA,IACb,IAAIA,EAAO;AAAA,IACX,SAAS,CAACjD,GAASgD,CAAI;AAAA,EAC3B;AACA;","x_google_ignoreList":[0]}
package/dist/index155.js CHANGED
@@ -1,10 +1,25 @@
1
- import { defaultDateLib as s } from "./index135.js";
2
- function u(f, r, t = !1, o = s) {
3
- let { from: n, to: e } = f;
4
- const { differenceInCalendarDays: i, isSameDay: a } = o;
5
- return n && e ? (i(e, n) < 0 && ([n, e] = [e, n]), i(r, n) >= (t ? 1 : 0) && i(e, r) >= (t ? 1 : 0)) : !t && e ? a(e, r) : !t && n ? a(n, r) : !1;
6
- }
1
+ import * as n from "react";
2
+ import { Primitive as p } from "./index55.js";
3
+ import { j as o } from "./index30.js";
4
+ var v = "Arrow", e = n.forwardRef((r, i) => {
5
+ const { children: t, width: s = 10, height: a = 5, ...m } = r;
6
+ return /* @__PURE__ */ o.jsx(
7
+ p.svg,
8
+ {
9
+ ...m,
10
+ ref: i,
11
+ width: s,
12
+ height: a,
13
+ viewBox: "0 0 30 10",
14
+ preserveAspectRatio: "none",
15
+ children: r.asChild ? t : /* @__PURE__ */ o.jsx("polygon", { points: "0,0 30,0 15,10" })
16
+ }
17
+ );
18
+ });
19
+ e.displayName = v;
20
+ var h = e;
7
21
  export {
8
- u as rangeIncludesDate
22
+ e as Arrow,
23
+ h as Root
9
24
  };
10
25
  //# sourceMappingURL=index155.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index155.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/index.js\";\n/**\n * Checks if a given date is within a specified date range.\n *\n * @since 9.0.0\n * @param range - The date range to check against.\n * @param date - The date to check.\n * @param excludeEnds - If `true`, the range's start and end dates are excluded.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the date is within the range, otherwise `false`.\n * @group Utilities\n */\nexport function rangeIncludesDate(range, date, excludeEnds = false, dateLib = defaultDateLib) {\n let { from, to } = range;\n const { differenceInCalendarDays, isSameDay } = dateLib;\n if (from && to) {\n const isRangeInverted = differenceInCalendarDays(to, from) < 0;\n if (isRangeInverted) {\n [from, to] = [to, from];\n }\n const isInRange = differenceInCalendarDays(date, from) >= (excludeEnds ? 1 : 0) &&\n differenceInCalendarDays(to, date) >= (excludeEnds ? 1 : 0);\n return isInRange;\n }\n if (!excludeEnds && to) {\n return isSameDay(to, date);\n }\n if (!excludeEnds && from) {\n return isSameDay(from, date);\n }\n return false;\n}\n/**\n * @private\n * @deprecated Use {@link rangeIncludesDate} instead.\n */\nexport const isDateInRange = (range, date) => rangeIncludesDate(range, date, false, defaultDateLib);\n"],"names":["rangeIncludesDate","range","date","excludeEnds","dateLib","defaultDateLib","from","to","differenceInCalendarDays","isSameDay"],"mappings":";AAYO,SAASA,EAAkBC,GAAOC,GAAMC,IAAc,IAAOC,IAAUC,GAAgB;AAC1F,MAAI,EAAE,MAAAC,GAAM,IAAAC,EAAE,IAAKN;AACnB,QAAM,EAAE,0BAAAO,GAA0B,WAAAC,EAAS,IAAKL;AAChD,SAAIE,KAAQC,KACgBC,EAAyBD,GAAID,CAAI,IAAI,MAEzD,CAACA,GAAMC,CAAE,IAAI,CAACA,GAAID,CAAI,IAERE,EAAyBN,GAAMI,CAAI,MAAMH,IAAc,IAAI,MACzEK,EAAyBD,GAAIL,CAAI,MAAMC,IAAc,IAAI,MAG7D,CAACA,KAAeI,IACTE,EAAUF,GAAIL,CAAI,IAEzB,CAACC,KAAeG,IACTG,EAAUH,GAAMJ,CAAI,IAExB;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index155.js","sources":["../../../node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// src/arrow.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Arrow\";\nvar Arrow = React.forwardRef((props, forwardedRef) => {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.svg,\n {\n ...arrowProps,\n ref: forwardedRef,\n width,\n height,\n viewBox: \"0 0 30 10\",\n preserveAspectRatio: \"none\",\n children: props.asChild ? children : /* @__PURE__ */ jsx(\"polygon\", { points: \"0,0 30,0 15,10\" })\n }\n );\n});\nArrow.displayName = NAME;\nvar Root = Arrow;\nexport {\n Arrow,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","Arrow","React","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","Root"],"mappings":";;;AAIA,IAAIA,IAAO,SACPC,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACpD,QAAM,EAAE,UAAAC,GAAU,OAAAC,IAAQ,IAAI,QAAAC,IAAS,GAAG,GAAGC,EAAU,IAAKL;AAC5D,SAAuBM,gBAAAA,EAAAA;AAAAA,IACrBC,EAAU;AAAA,IACV;AAAA,MACE,GAAGF;AAAA,MACH,KAAKJ;AAAA,MACL,OAAAE;AAAA,MACA,QAAAC;AAAA,MACA,SAAS;AAAA,MACT,qBAAqB;AAAA,MACrB,UAAUJ,EAAM,UAAUE,IAA2BI,gBAAAA,EAAAA,IAAI,WAAW,EAAE,QAAQ,iBAAgB,CAAE;AAAA,IACtG;AAAA,EACA;AACA,CAAC;AACDR,EAAM,cAAcD;AACjB,IAACW,IAAOV;","x_google_ignoreList":[0]}
package/dist/index156.js CHANGED
@@ -1,9 +1,28 @@
1
- import { TZDate as r } from "./index210.js";
2
- import "./index212.js";
3
- function e(n, o) {
4
- return n instanceof r && n.timeZone === o ? n : new r(n, o);
1
+ import * as h from "react";
2
+ import { useLayoutEffect as z } from "./index70.js";
3
+ function c(r) {
4
+ const [d, e] = h.useState(void 0);
5
+ return z(() => {
6
+ if (r) {
7
+ e({ width: r.offsetWidth, height: r.offsetHeight });
8
+ const f = new ResizeObserver((i) => {
9
+ if (!Array.isArray(i) || !i.length)
10
+ return;
11
+ const b = i[0];
12
+ let o, t;
13
+ if ("borderBoxSize" in b) {
14
+ const s = b.borderBoxSize, u = Array.isArray(s) ? s[0] : s;
15
+ o = u.inlineSize, t = u.blockSize;
16
+ } else
17
+ o = r.offsetWidth, t = r.offsetHeight;
18
+ e({ width: o, height: t });
19
+ });
20
+ return f.observe(r, { box: "border-box" }), () => f.unobserve(r);
21
+ } else
22
+ e(void 0);
23
+ }, [r]), d;
5
24
  }
6
25
  export {
7
- e as toTimeZone
26
+ c as useSize
8
27
  };
9
28
  //# sourceMappingURL=index156.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index156.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/toTimeZone.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\n/**\n * Convert a {@link Date} or {@link TZDate} instance to the given time zone.\n * Reuses the same instance when it is already a {@link TZDate} using the target\n * time zone to avoid extra allocations.\n */\nexport function toTimeZone(date, timeZone) {\n if (date instanceof TZDate && date.timeZone === timeZone) {\n return date;\n }\n return new TZDate(date, timeZone);\n}\n"],"names":["toTimeZone","date","timeZone","TZDate"],"mappings":";;AAMO,SAASA,EAAWC,GAAMC,GAAU;AACvC,SAAID,aAAgBE,KAAUF,EAAK,aAAaC,IACrCD,IAEJ,IAAIE,EAAOF,GAAMC,CAAQ;AACpC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index156.js","sources":["../../../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["// packages/react/use-size/src/use-size.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useSize","element","size","setSize","React","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":";;AAGA,SAASA,EAAQC,GAAS;AACxB,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAAM,SAAS,MAAM;AAC7CC,SAAAA,EAAgB,MAAM;AACpB,QAAIJ,GAAS;AACX,MAAAE,EAAQ,EAAE,OAAOF,EAAQ,aAAa,QAAQA,EAAQ,cAAc;AACpE,YAAMK,IAAiB,IAAI,eAAe,CAACC,MAAY;AAIrD,YAHI,CAAC,MAAM,QAAQA,CAAO,KAGtB,CAACA,EAAQ;AACX;AAEF,cAAMC,IAAQD,EAAQ,CAAC;AACvB,YAAIE,GACAC;AACJ,YAAI,mBAAmBF,GAAO;AAC5B,gBAAMG,IAAkBH,EAAM,eACxBI,IAAa,MAAM,QAAQD,CAAe,IAAIA,EAAgB,CAAC,IAAIA;AACzE,UAAAF,IAAQG,EAAW,YACnBF,IAASE,EAAW;AAAA,QACtB;AACE,UAAAH,IAAQR,EAAQ,aAChBS,IAAST,EAAQ;AAEnB,QAAAE,EAAQ,EAAE,OAAAM,GAAO,QAAAC,GAAQ;AAAA,MAC3B,CAAC;AACD,aAAAJ,EAAe,QAAQL,GAAS,EAAE,KAAK,aAAY,CAAE,GAC9C,MAAMK,EAAe,UAAUL,CAAO;AAAA,IAC/C;AACE,MAAAE,EAAQ,MAAM;AAAA,EAElB,GAAG,CAACF,CAAO,CAAC,GACLC;AACT;","x_google_ignoreList":[0]}