@rpcbase/ui 0.245.0 → 0.247.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 (680) hide show
  1. package/dist/index10.js +2 -2
  2. package/dist/index105.js +36 -36
  3. package/dist/index106.js +1 -1
  4. package/dist/index11.js +2 -2
  5. package/dist/index117.js +6 -6
  6. package/dist/index12.js +3 -3
  7. package/dist/index120.js +10 -10
  8. package/dist/index122.js +2 -2
  9. package/dist/index123.js +3 -3
  10. package/dist/index124.js +1 -1
  11. package/dist/index126.js +2 -2
  12. package/dist/index128.js +2 -2
  13. package/dist/index13.js +2 -2
  14. package/dist/index14.js +2 -2
  15. package/dist/index149.js +5 -14
  16. package/dist/index149.js.map +1 -1
  17. package/dist/index15.js +2 -2
  18. package/dist/index150.js +63 -63
  19. package/dist/index150.js.map +1 -1
  20. package/dist/index151.js +2 -38
  21. package/dist/index151.js.map +1 -1
  22. package/dist/index152.js +385 -13
  23. package/dist/index152.js.map +1 -1
  24. package/dist/index153.js +261 -23
  25. package/dist/index153.js.map +1 -1
  26. package/dist/index154.js +58 -109
  27. package/dist/index154.js.map +1 -1
  28. package/dist/index155.js +47 -13
  29. package/dist/index155.js.map +1 -1
  30. package/dist/index156.js +169 -4
  31. package/dist/index156.js.map +1 -1
  32. package/dist/index157.js +110 -4
  33. package/dist/index157.js.map +1 -1
  34. package/dist/index158.js +25 -5
  35. package/dist/index158.js.map +1 -1
  36. package/dist/index159.js +8 -12
  37. package/dist/index159.js.map +1 -1
  38. package/dist/index16.js +8 -8
  39. package/dist/index160.js +4 -19
  40. package/dist/index160.js.map +1 -1
  41. package/dist/index161.js +6 -11
  42. package/dist/index161.js.map +1 -1
  43. package/dist/index162.js +4 -176
  44. package/dist/index162.js.map +1 -1
  45. package/dist/index163.js +476 -268
  46. package/dist/index163.js.map +1 -1
  47. package/dist/index164.js +189 -4
  48. package/dist/index164.js.map +1 -1
  49. package/dist/index165.js +14 -28
  50. package/dist/index165.js.map +1 -1
  51. package/dist/index166.js +105 -124
  52. package/dist/index166.js.map +1 -1
  53. package/dist/index167.js +262 -63
  54. package/dist/index167.js.map +1 -1
  55. package/dist/index168.js +6 -8
  56. package/dist/index168.js.map +1 -1
  57. package/dist/index169.js +40 -15
  58. package/dist/index169.js.map +1 -1
  59. package/dist/index17.js +1 -1
  60. package/dist/index170.js +4 -30
  61. package/dist/index170.js.map +1 -1
  62. package/dist/index171.js +58 -69
  63. package/dist/index171.js.map +1 -1
  64. package/dist/index172.js +8 -5
  65. package/dist/index172.js.map +1 -1
  66. package/dist/index173.js +80 -61
  67. package/dist/index173.js.map +1 -1
  68. package/dist/index174.js +20 -2
  69. package/dist/index174.js.map +1 -1
  70. package/dist/index175.js +14 -383
  71. package/dist/index175.js.map +1 -1
  72. package/dist/index176.js +4 -260
  73. package/dist/index176.js.map +1 -1
  74. package/dist/index177.js +4 -59
  75. package/dist/index177.js.map +1 -1
  76. package/dist/index178.js +6 -46
  77. package/dist/index178.js.map +1 -1
  78. package/dist/index179.js +4 -169
  79. package/dist/index179.js.map +1 -1
  80. package/dist/index18.js +7 -7
  81. package/dist/index180.js +6 -109
  82. package/dist/index180.js.map +1 -1
  83. package/dist/index181.js +16 -24
  84. package/dist/index181.js.map +1 -1
  85. package/dist/index182.js +5 -8
  86. package/dist/index182.js.map +1 -1
  87. package/dist/index183.js +4 -4
  88. package/dist/index183.js.map +1 -1
  89. package/dist/index184.js +12 -5
  90. package/dist/index184.js.map +1 -1
  91. package/dist/index185.js +9 -4
  92. package/dist/index185.js.map +1 -1
  93. package/dist/index186.js +13 -487
  94. package/dist/index186.js.map +1 -1
  95. package/dist/index187.js +13 -189
  96. package/dist/index187.js.map +1 -1
  97. package/dist/index188.js +4 -13
  98. package/dist/index188.js.map +1 -1
  99. package/dist/index189.js +5 -107
  100. package/dist/index189.js.map +1 -1
  101. package/dist/index19.js +16 -16
  102. package/dist/index190.js +6 -262
  103. package/dist/index190.js.map +1 -1
  104. package/dist/index191.js +5 -6
  105. package/dist/index191.js.map +1 -1
  106. package/dist/index192.js +53 -39
  107. package/dist/index192.js.map +1 -1
  108. package/dist/index193.js +8 -4
  109. package/dist/index193.js.map +1 -1
  110. package/dist/index194.js +4 -58
  111. package/dist/index194.js.map +1 -1
  112. package/dist/index195.js +4 -8
  113. package/dist/index195.js.map +1 -1
  114. package/dist/index196.js +8 -87
  115. package/dist/index196.js.map +1 -1
  116. package/dist/index197.js +4 -19
  117. package/dist/index197.js.map +1 -1
  118. package/dist/index198.js +4 -16
  119. package/dist/index198.js.map +1 -1
  120. package/dist/index199.js +3 -5
  121. package/dist/index199.js.map +1 -1
  122. package/dist/index200.js +10 -5
  123. package/dist/index200.js.map +1 -1
  124. package/dist/index201.js +9 -6
  125. package/dist/index201.js.map +1 -1
  126. package/dist/index202.js +9 -4
  127. package/dist/index202.js.map +1 -1
  128. package/dist/index203.js +10 -6
  129. package/dist/index203.js.map +1 -1
  130. package/dist/index204.js +10 -16
  131. package/dist/index204.js.map +1 -1
  132. package/dist/index205.js +9 -4
  133. package/dist/index205.js.map +1 -1
  134. package/dist/index206.js +6 -4
  135. package/dist/index206.js.map +1 -1
  136. package/dist/index207.js +5 -12
  137. package/dist/index207.js.map +1 -1
  138. package/dist/index208.js +4 -9
  139. package/dist/index208.js.map +1 -1
  140. package/dist/index209.js +5 -13
  141. package/dist/index209.js.map +1 -1
  142. package/dist/index21.js +1 -1
  143. package/dist/index210.js +6 -13
  144. package/dist/index210.js.map +1 -1
  145. package/dist/index211.js +5 -4
  146. package/dist/index211.js.map +1 -1
  147. package/dist/index212.js +16 -5
  148. package/dist/index212.js.map +1 -1
  149. package/dist/index213.js +7 -6
  150. package/dist/index213.js.map +1 -1
  151. package/dist/index214.js +10 -5
  152. package/dist/index214.js.map +1 -1
  153. package/dist/index215.js +10 -54
  154. package/dist/index215.js.map +1 -1
  155. package/dist/index216.js +21 -8
  156. package/dist/index216.js.map +1 -1
  157. package/dist/index217.js +8 -4
  158. package/dist/index217.js.map +1 -1
  159. package/dist/index218.js +9 -4
  160. package/dist/index218.js.map +1 -1
  161. package/dist/index219.js +9 -8
  162. package/dist/index219.js.map +1 -1
  163. package/dist/index22.js +2 -2
  164. package/dist/index220.js +4 -4
  165. package/dist/index220.js.map +1 -1
  166. package/dist/index221.js +5 -4
  167. package/dist/index221.js.map +1 -1
  168. package/dist/index222.js +16 -3
  169. package/dist/index222.js.map +1 -1
  170. package/dist/index223.js +9 -10
  171. package/dist/index223.js.map +1 -1
  172. package/dist/index224.js +18 -9
  173. package/dist/index224.js.map +1 -1
  174. package/dist/index225.js +20 -9
  175. package/dist/index225.js.map +1 -1
  176. package/dist/index226.js +12 -10
  177. package/dist/index226.js.map +1 -1
  178. package/dist/index227.js +29 -10
  179. package/dist/index227.js.map +1 -1
  180. package/dist/index228.js +12 -9
  181. package/dist/index228.js.map +1 -1
  182. package/dist/index229.js +25 -6
  183. package/dist/index229.js.map +1 -1
  184. package/dist/index23.js +1 -1
  185. package/dist/index230.js +5 -5
  186. package/dist/index230.js.map +1 -1
  187. package/dist/index231.js +14 -4
  188. package/dist/index231.js.map +1 -1
  189. package/dist/index232.js +68 -5
  190. package/dist/index232.js.map +1 -1
  191. package/dist/index233.js +38 -7
  192. package/dist/index233.js.map +1 -1
  193. package/dist/index234.js +14 -6
  194. package/dist/index234.js.map +1 -1
  195. package/dist/index235.js +23 -16
  196. package/dist/index235.js.map +1 -1
  197. package/dist/index236.js +111 -7
  198. package/dist/index236.js.map +1 -1
  199. package/dist/index237.js +13 -11
  200. package/dist/index237.js.map +1 -1
  201. package/dist/index238.js +4 -10
  202. package/dist/index238.js.map +1 -1
  203. package/dist/index239.js +4 -22
  204. package/dist/index239.js.map +1 -1
  205. package/dist/index24.js +1 -1
  206. package/dist/index240.js +5 -9
  207. package/dist/index240.js.map +1 -1
  208. package/dist/index241.js +11 -9
  209. package/dist/index241.js.map +1 -1
  210. package/dist/index242.js +19 -9
  211. package/dist/index242.js.map +1 -1
  212. package/dist/index243.js +11 -5
  213. package/dist/index243.js.map +1 -1
  214. package/dist/index244.js +176 -5
  215. package/dist/index244.js.map +1 -1
  216. package/dist/index245.js +278 -15
  217. package/dist/index245.js.map +1 -1
  218. package/dist/index246.js +4 -9
  219. package/dist/index246.js.map +1 -1
  220. package/dist/index247.js +28 -19
  221. package/dist/index247.js.map +1 -1
  222. package/dist/index248.js +124 -18
  223. package/dist/index248.js.map +1 -1
  224. package/dist/index249.js +63 -12
  225. package/dist/index249.js.map +1 -1
  226. package/dist/index25.js +1 -1
  227. package/dist/index250.js +8 -29
  228. package/dist/index250.js.map +1 -1
  229. package/dist/index251.js +15 -12
  230. package/dist/index251.js.map +1 -1
  231. package/dist/index252.js +30 -25
  232. package/dist/index252.js.map +1 -1
  233. package/dist/index253.js +69 -5
  234. package/dist/index253.js.map +1 -1
  235. package/dist/index254.js +146 -58
  236. package/dist/index254.js.map +1 -1
  237. package/dist/index255.js +32 -8
  238. package/dist/index255.js.map +1 -1
  239. package/dist/index256.js +11 -11
  240. package/dist/index256.js.map +1 -1
  241. package/dist/index257.js +48 -7
  242. package/dist/index257.js.map +1 -1
  243. package/dist/index258.js +9 -5
  244. package/dist/index258.js.map +1 -1
  245. package/dist/index259.js +11 -13
  246. package/dist/index259.js.map +1 -1
  247. package/dist/index260.js +43 -3
  248. package/dist/index260.js.map +1 -1
  249. package/dist/index261.js +97 -3
  250. package/dist/index261.js.map +1 -1
  251. package/dist/index262.js +74 -87
  252. package/dist/index262.js.map +1 -1
  253. package/dist/index263.js +104 -16
  254. package/dist/index263.js.map +1 -1
  255. package/dist/index264.js +50 -27
  256. package/dist/index264.js.map +1 -1
  257. package/dist/index265.js +11 -51
  258. package/dist/index265.js.map +1 -1
  259. package/dist/index266.js +4 -5
  260. package/dist/index266.js.map +1 -1
  261. package/dist/index267.js +37 -5
  262. package/dist/index267.js.map +1 -1
  263. package/dist/index268.js +8 -61
  264. package/dist/index268.js.map +1 -1
  265. package/dist/index269.js +3 -66
  266. package/dist/index269.js.map +1 -1
  267. package/dist/index270.js +9 -133
  268. package/dist/index270.js.map +1 -1
  269. package/dist/index271.js +134 -7
  270. package/dist/index271.js.map +1 -1
  271. package/dist/index272.js +18 -5
  272. package/dist/index272.js.map +1 -1
  273. package/dist/index273.js +16 -4
  274. package/dist/index273.js.map +1 -1
  275. package/dist/index274.js +36 -11
  276. package/dist/index274.js.map +1 -1
  277. package/dist/index275.js +20 -21
  278. package/dist/index275.js.map +1 -1
  279. package/dist/index276.js +8 -16
  280. package/dist/index276.js.map +1 -1
  281. package/dist/index277.js +24 -11
  282. package/dist/index277.js.map +1 -1
  283. package/dist/index278.js +29 -8
  284. package/dist/index278.js.map +1 -1
  285. package/dist/index279.js +14 -142
  286. package/dist/index279.js.map +1 -1
  287. package/dist/index28.js +1 -1
  288. package/dist/index280.js +19 -79
  289. package/dist/index280.js.map +1 -1
  290. package/dist/index281.js +65 -60
  291. package/dist/index281.js.map +1 -1
  292. package/dist/index282.js +7 -15
  293. package/dist/index282.js.map +1 -1
  294. package/dist/index283.js +6 -20
  295. package/dist/index283.js.map +1 -1
  296. package/dist/index284.js +11 -6
  297. package/dist/index284.js.map +1 -1
  298. package/dist/index285.js +3 -11
  299. package/dist/index285.js.map +1 -1
  300. package/dist/index286.js +50 -3
  301. package/dist/index286.js.map +1 -1
  302. package/dist/index287.js +4 -51
  303. package/dist/index287.js.map +1 -1
  304. package/dist/index288.js +25 -12
  305. package/dist/index288.js.map +1 -1
  306. package/dist/index289.js +14 -19
  307. package/dist/index289.js.map +1 -1
  308. package/dist/index29.js +56 -3
  309. package/dist/index29.js.map +1 -1
  310. package/dist/index290.js +5 -53
  311. package/dist/index290.js.map +1 -1
  312. package/dist/index291.js +21 -20
  313. package/dist/index291.js.map +1 -1
  314. package/dist/index292.js +53 -41
  315. package/dist/index292.js.map +1 -1
  316. package/dist/index293.js +19 -38
  317. package/dist/index293.js.map +1 -1
  318. package/dist/index294.js +42 -46
  319. package/dist/index294.js.map +1 -1
  320. package/dist/index295.js +38 -19
  321. package/dist/index295.js.map +1 -1
  322. package/dist/index296.js +46 -71
  323. package/dist/index296.js.map +1 -1
  324. package/dist/index297.js +20 -17
  325. package/dist/index297.js.map +1 -1
  326. package/dist/index298.js +70 -3
  327. package/dist/index298.js.map +1 -1
  328. package/dist/index299.js +16 -12
  329. package/dist/index299.js.map +1 -1
  330. package/dist/index3.js +2 -2
  331. package/dist/index30.js +3 -242
  332. package/dist/index30.js.map +1 -1
  333. package/dist/index300.js +3 -18
  334. package/dist/index300.js.map +1 -1
  335. package/dist/index301.js +11 -36
  336. package/dist/index301.js.map +1 -1
  337. package/dist/index302.js +12 -238
  338. package/dist/index302.js.map +1 -1
  339. package/dist/index303.js +15 -249
  340. package/dist/index303.js.map +1 -1
  341. package/dist/index304.js +35 -67
  342. package/dist/index304.js.map +1 -1
  343. package/dist/index305.js +233 -77
  344. package/dist/index305.js.map +1 -1
  345. package/dist/index306.js +252 -3
  346. package/dist/index306.js.map +1 -1
  347. package/dist/index307.js +68 -29
  348. package/dist/index307.js.map +1 -1
  349. package/dist/index308.js +99 -16
  350. package/dist/index308.js.map +1 -1
  351. package/dist/index309.js +82 -33
  352. package/dist/index309.js.map +1 -1
  353. package/dist/index31.js +239 -21
  354. package/dist/index31.js.map +1 -1
  355. package/dist/index310.js +3 -17
  356. package/dist/index310.js.map +1 -1
  357. package/dist/index311.js +29 -3
  358. package/dist/index311.js.map +1 -1
  359. package/dist/index312.js +16 -26
  360. package/dist/index312.js.map +1 -1
  361. package/dist/index313.js +34 -28
  362. package/dist/index313.js.map +1 -1
  363. package/dist/index314.js +18 -4
  364. package/dist/index314.js.map +1 -1
  365. package/dist/index315.js +3 -78
  366. package/dist/index315.js.map +1 -1
  367. package/dist/index316.js +23 -269
  368. package/dist/index316.js.map +1 -1
  369. package/dist/index317.js +27 -10
  370. package/dist/index317.js.map +1 -1
  371. package/dist/index318.js +4 -11
  372. package/dist/index318.js.map +1 -1
  373. package/dist/index319.js +77 -24
  374. package/dist/index319.js.map +1 -1
  375. package/dist/index32.js +23 -4
  376. package/dist/index32.js.map +1 -1
  377. package/dist/index320.js +271 -15
  378. package/dist/index320.js.map +1 -1
  379. package/dist/index321.js +11 -125
  380. package/dist/index321.js.map +1 -1
  381. package/dist/index322.js +10 -5
  382. package/dist/index322.js.map +1 -1
  383. package/dist/index323.js +24 -64
  384. package/dist/index323.js.map +1 -1
  385. package/dist/index324.js +17 -14
  386. package/dist/index324.js.map +1 -1
  387. package/dist/index325.js +125 -7
  388. package/dist/index325.js.map +1 -1
  389. package/dist/index326.js +5 -5
  390. package/dist/index326.js.map +1 -1
  391. package/dist/index327.js +65 -3
  392. package/dist/index327.js.map +1 -1
  393. package/dist/index328.js +13 -10
  394. package/dist/index328.js.map +1 -1
  395. package/dist/index329.js +7 -7
  396. package/dist/index329.js.map +1 -1
  397. package/dist/index33.js +3 -6
  398. package/dist/index33.js.map +1 -1
  399. package/dist/index330.js +5 -399
  400. package/dist/index330.js.map +1 -1
  401. package/dist/index331.js +4 -5
  402. package/dist/index331.js.map +1 -1
  403. package/dist/index332.js +10 -52
  404. package/dist/index332.js.map +1 -1
  405. package/dist/index333.js +6 -10
  406. package/dist/index333.js.map +1 -1
  407. package/dist/index334.js +128 -22
  408. package/dist/index334.js.map +1 -1
  409. package/dist/index335.js +399 -11
  410. package/dist/index335.js.map +1 -1
  411. package/dist/index336.js +5 -155
  412. package/dist/index336.js.map +1 -1
  413. package/dist/index337.js +51 -31
  414. package/dist/index337.js.map +1 -1
  415. package/dist/index338.js +11 -11
  416. package/dist/index338.js.map +1 -1
  417. package/dist/index339.js +23 -45
  418. package/dist/index339.js.map +1 -1
  419. package/dist/index34.js +8 -38
  420. package/dist/index34.js.map +1 -1
  421. package/dist/index340.js +11 -9
  422. package/dist/index340.js.map +1 -1
  423. package/dist/index341.js +4 -11
  424. package/dist/index341.js.map +1 -1
  425. package/dist/index342.js +17 -43
  426. package/dist/index342.js.map +1 -1
  427. package/dist/index343.js +12 -97
  428. package/dist/index343.js.map +1 -1
  429. package/dist/index344.js +8 -86
  430. package/dist/index344.js.map +1 -1
  431. package/dist/index345.js +11 -105
  432. package/dist/index345.js.map +1 -1
  433. package/dist/index346.js +7 -51
  434. package/dist/index346.js.map +1 -1
  435. package/dist/index347.js +12 -10
  436. package/dist/index347.js.map +1 -1
  437. package/dist/index348.js +3 -4
  438. package/dist/index348.js.map +1 -1
  439. package/dist/index349.js +3 -37
  440. package/dist/index349.js.map +1 -1
  441. package/dist/index35.js +35 -74
  442. package/dist/index35.js.map +1 -1
  443. package/dist/index350.js +17 -8
  444. package/dist/index350.js.map +1 -1
  445. package/dist/index351.js +5 -135
  446. package/dist/index351.js.map +1 -1
  447. package/dist/index352.js +51 -17
  448. package/dist/index352.js.map +1 -1
  449. package/dist/index353.js +60 -14
  450. package/dist/index353.js.map +1 -1
  451. package/dist/index354.js +66 -3
  452. package/dist/index354.js.map +1 -1
  453. package/dist/index355.js +7 -35
  454. package/dist/index355.js.map +1 -1
  455. package/dist/index356.js +5 -21
  456. package/dist/index356.js.map +1 -1
  457. package/dist/index357.js +11 -9
  458. package/dist/index357.js.map +1 -1
  459. package/dist/index358.js +21 -8
  460. package/dist/index358.js.map +1 -1
  461. package/dist/index359.js +14 -22
  462. package/dist/index359.js.map +1 -1
  463. package/dist/index36.js +74 -20
  464. package/dist/index36.js.map +1 -1
  465. package/dist/index360.js +8 -29
  466. package/dist/index360.js.map +1 -1
  467. package/dist/index361.js +142 -14
  468. package/dist/index361.js.map +1 -1
  469. package/dist/index362.js +79 -4
  470. package/dist/index362.js.map +1 -1
  471. package/dist/index363.js +61 -17
  472. package/dist/index363.js.map +1 -1
  473. package/dist/index364.js +15 -13
  474. package/dist/index364.js.map +1 -1
  475. package/dist/index365.js +4 -8
  476. package/dist/index365.js.map +1 -1
  477. package/dist/index366.js +21 -27
  478. package/dist/index366.js.map +1 -1
  479. package/dist/index367.js +4 -138
  480. package/dist/index367.js.map +1 -1
  481. package/dist/index368.js +5 -12
  482. package/dist/index368.js.map +1 -1
  483. package/dist/index369.js +3 -47
  484. package/dist/index369.js.map +1 -1
  485. package/dist/index37.js +18 -33
  486. package/dist/index37.js.map +1 -1
  487. package/dist/index370.js +11 -3
  488. package/dist/index370.js.map +1 -1
  489. package/dist/index371.js +19 -20
  490. package/dist/index371.js.map +1 -1
  491. package/dist/index372.js +44 -75
  492. package/dist/index372.js.map +1 -1
  493. package/dist/index373.js +17 -11
  494. package/dist/index373.js.map +1 -1
  495. package/dist/index374.js +5 -4
  496. package/dist/index374.js.map +1 -1
  497. package/dist/index375.js +197 -70
  498. package/dist/index375.js.map +1 -1
  499. package/dist/index376.js +70 -197
  500. package/dist/index376.js.map +1 -1
  501. package/dist/index377.js +118 -66
  502. package/dist/index377.js.map +1 -1
  503. package/dist/index378.js +4 -35
  504. package/dist/index378.js.map +1 -1
  505. package/dist/index379.js +5 -7
  506. package/dist/index379.js.map +1 -1
  507. package/dist/index38.js +36 -26
  508. package/dist/index38.js.map +1 -1
  509. package/dist/index380.js +4 -16
  510. package/dist/index380.js.map +1 -1
  511. package/dist/index381.js +15 -123
  512. package/dist/index381.js.map +1 -1
  513. package/dist/index382.js +9 -4
  514. package/dist/index382.js.map +1 -1
  515. package/dist/index383.js +5 -11
  516. package/dist/index383.js.map +1 -1
  517. package/dist/index384.js +4 -5
  518. package/dist/index384.js.map +1 -1
  519. package/dist/index385.js +546 -3
  520. package/dist/index385.js.map +1 -1
  521. package/dist/index386.js +46 -20
  522. package/dist/index386.js.map +1 -1
  523. package/dist/index387.js +18 -45
  524. package/dist/index387.js.map +1 -1
  525. package/dist/index388.js +6 -18
  526. package/dist/index388.js.map +1 -1
  527. package/dist/index389.js +8 -5
  528. package/dist/index389.js.map +1 -1
  529. package/dist/index39.js +26 -21
  530. package/dist/index39.js.map +1 -1
  531. package/dist/index390.js +6 -4
  532. package/dist/index390.js.map +1 -1
  533. package/dist/index391.js +7 -20
  534. package/dist/index391.js.map +1 -1
  535. package/dist/index392.js +11 -4
  536. package/dist/index392.js.map +1 -1
  537. package/dist/index393.js +8 -4
  538. package/dist/index393.js.map +1 -1
  539. package/dist/index394.js +13 -4
  540. package/dist/index394.js.map +1 -1
  541. package/dist/index395.js +8 -15
  542. package/dist/index395.js.map +1 -1
  543. package/dist/index396.js +27 -9
  544. package/dist/index396.js.map +1 -1
  545. package/dist/index397.js +137 -5
  546. package/dist/index397.js.map +1 -1
  547. package/dist/index398.js +12 -4
  548. package/dist/index398.js.map +1 -1
  549. package/dist/index399.js +44 -543
  550. package/dist/index399.js.map +1 -1
  551. package/dist/index4.js +2 -2
  552. package/dist/index40.js +20 -56
  553. package/dist/index40.js.map +1 -1
  554. package/dist/index400.js +4 -47
  555. package/dist/index400.js.map +1 -1
  556. package/dist/index401.js +21 -17
  557. package/dist/index401.js.map +1 -1
  558. package/dist/index402.js +75 -5
  559. package/dist/index402.js.map +1 -1
  560. package/dist/index403.js +12 -8
  561. package/dist/index403.js.map +1 -1
  562. package/dist/index404.js +3 -6
  563. package/dist/index404.js.map +1 -1
  564. package/dist/index405.js +71 -7
  565. package/dist/index405.js.map +1 -1
  566. package/dist/index406.js +35 -11
  567. package/dist/index406.js.map +1 -1
  568. package/dist/index407.js +7 -9
  569. package/dist/index407.js.map +1 -1
  570. package/dist/index408.js +15 -12
  571. package/dist/index408.js.map +1 -1
  572. package/dist/index409.js +3 -3
  573. package/dist/index409.js.map +1 -1
  574. package/dist/index41.js +59 -51
  575. package/dist/index41.js.map +1 -1
  576. package/dist/index410.js +3 -15
  577. package/dist/index410.js.map +1 -1
  578. package/dist/index411.js +4 -491
  579. package/dist/index411.js.map +1 -1
  580. package/dist/index412.js +56 -3
  581. package/dist/index412.js.map +1 -1
  582. package/dist/index413.js +68 -3
  583. package/dist/index413.js.map +1 -1
  584. package/dist/index414.js +31 -5
  585. package/dist/index414.js.map +1 -1
  586. package/dist/index415.js +9 -56
  587. package/dist/index415.js.map +1 -1
  588. package/dist/index416.js +146 -61
  589. package/dist/index416.js.map +1 -1
  590. package/dist/index417.js +103 -26
  591. package/dist/index417.js.map +1 -1
  592. package/dist/index418.js +15 -9
  593. package/dist/index418.js.map +1 -1
  594. package/dist/index419.js +3 -153
  595. package/dist/index419.js.map +1 -1
  596. package/dist/index42.js +50 -21
  597. package/dist/index42.js.map +1 -1
  598. package/dist/index420.js +490 -106
  599. package/dist/index420.js.map +1 -1
  600. package/dist/index421.js +7 -32
  601. package/dist/index421.js.map +1 -1
  602. package/dist/index422.js +2 -8
  603. package/dist/index422.js.map +1 -1
  604. package/dist/index423.js +44 -2
  605. package/dist/index423.js.map +1 -1
  606. package/dist/index424.js +52 -40
  607. package/dist/index424.js.map +1 -1
  608. package/dist/index425.js +7 -55
  609. package/dist/index425.js.map +1 -1
  610. package/dist/index426.js +2 -8
  611. package/dist/index426.js.map +1 -1
  612. package/dist/index427.js +55 -2
  613. package/dist/index427.js.map +1 -1
  614. package/dist/index428.js +53 -52
  615. package/dist/index428.js.map +1 -1
  616. package/dist/index429.js +32 -55
  617. package/dist/index429.js.map +1 -1
  618. package/dist/index43.js +18 -127
  619. package/dist/index43.js.map +1 -1
  620. package/dist/index44.js +122 -39
  621. package/dist/index44.js.map +1 -1
  622. package/dist/index45.js +42 -85
  623. package/dist/index45.js.map +1 -1
  624. package/dist/index46.js +87 -123
  625. package/dist/index46.js.map +1 -1
  626. package/dist/index47.js +126 -5
  627. package/dist/index47.js.map +1 -1
  628. package/dist/index48.js +5 -332
  629. package/dist/index48.js.map +1 -1
  630. package/dist/index49.js +321 -246
  631. package/dist/index49.js.map +1 -1
  632. package/dist/index5.js +2 -2
  633. package/dist/index50.js +254 -23
  634. package/dist/index50.js.map +1 -1
  635. package/dist/index51.js +25 -129
  636. package/dist/index51.js.map +1 -1
  637. package/dist/index52.js +129 -24
  638. package/dist/index52.js.map +1 -1
  639. package/dist/index53.js +22 -19
  640. package/dist/index53.js.map +1 -1
  641. package/dist/index54.js +19 -134
  642. package/dist/index54.js.map +1 -1
  643. package/dist/index55.js +133 -30
  644. package/dist/index55.js.map +1 -1
  645. package/dist/index56.js +30 -24
  646. package/dist/index56.js.map +1 -1
  647. package/dist/index57.js +26 -38
  648. package/dist/index57.js.map +1 -1
  649. package/dist/index58.js +39 -19
  650. package/dist/index58.js.map +1 -1
  651. package/dist/index59.js +18 -133
  652. package/dist/index59.js.map +1 -1
  653. package/dist/index6.js +4 -4
  654. package/dist/index60.js +134 -49
  655. package/dist/index60.js.map +1 -1
  656. package/dist/index61.js +48 -25
  657. package/dist/index61.js.map +1 -1
  658. package/dist/index62.js +28 -57
  659. package/dist/index62.js.map +1 -1
  660. package/dist/index63.js +57 -56
  661. package/dist/index63.js.map +1 -1
  662. package/dist/index64.js +5 -5
  663. package/dist/index64.js.map +1 -1
  664. package/dist/index66.js +10 -22
  665. package/dist/index66.js.map +1 -1
  666. package/dist/index67.js +17 -232
  667. package/dist/index67.js.map +1 -1
  668. package/dist/index68.js +5 -5
  669. package/dist/index68.js.map +1 -1
  670. package/dist/index7.js +11 -11
  671. package/dist/index70.js +22 -10
  672. package/dist/index70.js.map +1 -1
  673. package/dist/index71.js +232 -17
  674. package/dist/index71.js.map +1 -1
  675. package/dist/index76.js +1 -1
  676. package/dist/index77.js +2 -2
  677. package/dist/index78.js +2 -2
  678. package/dist/index8.js +2 -2
  679. package/dist/index9.js +1 -1
  680. package/package.json +1 -1
package/dist/index236.js CHANGED
@@ -1,11 +1,115 @@
1
- function a(c) {
2
- const e = [];
3
- return c.reduce((s, t) => {
4
- const n = t.weeks.reduce((r, i) => r.concat(i.days.slice()), e.slice());
5
- return s.concat(n.slice());
6
- }, e.slice());
1
+ import * as l from "react";
2
+ import { isHTMLElement as M } from "./index334.js";
3
+ import { useStableCallback as H } from "./index288.js";
4
+ import { error as y } from "./index355.js";
5
+ import { SafeReact as B } from "./index356.js";
6
+ import { useIsoLayoutEffect as A } from "./index287.js";
7
+ import { useCompositeRootContext as L } from "./index357.js";
8
+ import { useFocusableWhenDisabled as W } from "./index358.js";
9
+ import { mergeProps as $, makeEventPreventable as x } from "./index308.js";
10
+ function X(a = {}) {
11
+ const {
12
+ disabled: o = !1,
13
+ focusableWhenDisabled: C,
14
+ tabIndex: P = 0,
15
+ native: t = !0,
16
+ composite: T
17
+ } = a, i = l.useRef(null), E = L(!0), s = T ?? E !== void 0, {
18
+ props: u
19
+ } = W({
20
+ focusableWhenDisabled: C,
21
+ disabled: o,
22
+ composite: s,
23
+ tabIndex: P,
24
+ isNativeButton: t
25
+ });
26
+ process.env.NODE_ENV !== "production" && l.useEffect(() => {
27
+ if (!i.current)
28
+ return;
29
+ const n = f(i.current);
30
+ if (t) {
31
+ if (!n) {
32
+ const r = B.captureOwnerStack?.() || "";
33
+ y(`A component that acts as a button expected a native <button> because the \`nativeButton\` prop is true. Rendering a non-<button> removes native button semantics, which can impact forms and accessibility. Use a real <button> in the \`render\` prop, or set \`nativeButton\` to \`false\`.${r}`);
34
+ }
35
+ } else if (n) {
36
+ const r = B.captureOwnerStack?.() || "";
37
+ y(`A component that acts as a button expected a non-<button> because the \`nativeButton\` prop is false. Rendering a <button> keeps native behavior while Base UI applies non-native attributes and handlers, which can add unintended extra attributes (such as \`role\` or \`aria-disabled\`). Use a non-<button> in the \`render\` prop, or set \`nativeButton\` to \`true\`.${r}`);
38
+ }
39
+ }, [t]);
40
+ const p = l.useCallback(() => {
41
+ const n = i.current;
42
+ f(n) && s && o && u.disabled === void 0 && n.disabled && (n.disabled = !1);
43
+ }, [o, u.disabled, s]);
44
+ A(p, [p]);
45
+ const U = l.useCallback((n = {}) => {
46
+ const {
47
+ onClick: r,
48
+ onMouseDown: d,
49
+ onKeyUp: O,
50
+ onKeyDown: I,
51
+ onPointerDown: K,
52
+ ...N
53
+ } = n;
54
+ return $({
55
+ onClick(e) {
56
+ if (o) {
57
+ e.preventDefault();
58
+ return;
59
+ }
60
+ r?.(e);
61
+ },
62
+ onMouseDown(e) {
63
+ o || d?.(e);
64
+ },
65
+ onKeyDown(e) {
66
+ if (o || (x(e), I?.(e), e.baseUIHandlerPrevented))
67
+ return;
68
+ const b = e.target === e.currentTarget, c = e.currentTarget, g = f(c), h = !t && V(c), k = b && (t ? g : !h), D = e.key === "Enter", w = e.key === " ", m = c.getAttribute("role"), S = m?.startsWith("menuitem") || m === "option" || m === "gridcell";
69
+ if (b && s && w) {
70
+ if (e.defaultPrevented && S)
71
+ return;
72
+ e.preventDefault(), h || t && g ? (c.click(), e.preventBaseUIHandler()) : k && (r?.(e), e.preventBaseUIHandler());
73
+ return;
74
+ }
75
+ k && (!t && (w || D) && e.preventDefault(), !t && D && r?.(e));
76
+ },
77
+ onKeyUp(e) {
78
+ if (!o) {
79
+ if (x(e), O?.(e), e.target === e.currentTarget && t && s && f(e.currentTarget) && e.key === " ") {
80
+ e.preventDefault();
81
+ return;
82
+ }
83
+ e.baseUIHandlerPrevented || e.target === e.currentTarget && !t && !s && e.key === " " && r?.(e);
84
+ }
85
+ },
86
+ onPointerDown(e) {
87
+ if (o) {
88
+ e.preventDefault();
89
+ return;
90
+ }
91
+ K?.(e);
92
+ }
93
+ }, t ? {
94
+ type: "button"
95
+ } : {
96
+ role: "button"
97
+ }, u, N);
98
+ }, [o, u, s, t]), R = H((n) => {
99
+ i.current = n, p();
100
+ });
101
+ return {
102
+ getButtonProps: U,
103
+ buttonRef: R
104
+ };
105
+ }
106
+ function f(a) {
107
+ return M(a) && a.tagName === "BUTTON";
108
+ }
109
+ function V(a) {
110
+ return !!(a?.tagName === "A" && a?.href);
7
111
  }
8
112
  export {
9
- a as getDays
113
+ X as useButton
10
114
  };
11
115
  //# sourceMappingURL=index236.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index236.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDays.js"],"sourcesContent":["/**\n * Returns all the days belonging to the calendar by merging the days in the\n * weeks for each month.\n *\n * @param calendarMonths The array of calendar months.\n * @returns An array of `CalendarDay` objects representing all the days in the\n * calendar.\n */\nexport function getDays(calendarMonths) {\n const initialDays = [];\n return calendarMonths.reduce((days, month) => {\n const weekDays = month.weeks.reduce((weekDays, week) => {\n return weekDays.concat(week.days.slice());\n }, initialDays.slice());\n return days.concat(weekDays.slice());\n }, initialDays.slice());\n}\n"],"names":["getDays","calendarMonths","initialDays","days","month","weekDays","week"],"mappings":"AAQO,SAASA,EAAQC,GAAgB;AACpC,QAAMC,IAAc,CAAA;AACpB,SAAOD,EAAe,OAAO,CAACE,GAAMC,MAAU;AAC1C,UAAMC,IAAWD,EAAM,MAAM,OAAO,CAACC,GAAUC,MACpCD,EAAS,OAAOC,EAAK,KAAK,MAAK,CAAE,GACzCJ,EAAY,OAAO;AACtB,WAAOC,EAAK,OAAOE,EAAS,MAAK,CAAE;AAAA,EACvC,GAAGH,EAAY,OAAO;AAC1B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index236.js","sources":["../../../node_modules/@base-ui/react/internals/use-button/useButton.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { isHTMLElement } from '@floating-ui/utils/dom';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { error } from '@base-ui/utils/error';\nimport { SafeReact } from '@base-ui/utils/safeReact';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { makeEventPreventable, mergeProps } from \"../../merge-props/index.mjs\";\nimport { useCompositeRootContext } from \"../composite/root/CompositeRootContext.mjs\";\nimport { useFocusableWhenDisabled } from \"../../utils/useFocusableWhenDisabled.mjs\";\nexport function useButton(parameters = {}) {\n const {\n disabled = false,\n focusableWhenDisabled,\n tabIndex = 0,\n native: isNativeButton = true,\n composite: compositeProp\n } = parameters;\n const elementRef = React.useRef(null);\n const compositeRootContext = useCompositeRootContext(true);\n const isCompositeItem = compositeProp ?? compositeRootContext !== undefined;\n const {\n props: focusableWhenDisabledProps\n } = useFocusableWhenDisabled({\n focusableWhenDisabled,\n disabled,\n composite: isCompositeItem,\n tabIndex,\n isNativeButton\n });\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (!elementRef.current) {\n return;\n }\n const isButtonTag = isButtonElement(elementRef.current);\n if (isNativeButton) {\n if (!isButtonTag) {\n const ownerStackMessage = SafeReact.captureOwnerStack?.() || '';\n const message = 'A component that acts as a button expected a native <button> because the ' + '`nativeButton` prop is true. Rendering a non-<button> removes native button ' + 'semantics, which can impact forms and accessibility. Use a real <button> in the ' + '`render` prop, or set `nativeButton` to `false`.';\n error(`${message}${ownerStackMessage}`);\n }\n } else if (isButtonTag) {\n const ownerStackMessage = SafeReact.captureOwnerStack?.() || '';\n const message = 'A component that acts as a button expected a non-<button> because the `nativeButton` ' + 'prop is false. Rendering a <button> keeps native behavior while Base UI applies ' + 'non-native attributes and handlers, which can add unintended extra attributes (such ' + 'as `role` or `aria-disabled`). Use a non-<button> in the `render` prop, or set ' + '`nativeButton` to `true`.';\n error(`${message}${ownerStackMessage}`);\n }\n }, [isNativeButton]);\n }\n\n // handles a disabled composite button rendering another button, e.g.\n // <Toolbar.Button disabled render={<Menu.Trigger />} />\n // the `disabled` prop needs to pass through 2 `useButton`s then finally\n // delete the `disabled` attribute from DOM\n const updateDisabled = React.useCallback(() => {\n const element = elementRef.current;\n if (!isButtonElement(element)) {\n return;\n }\n if (isCompositeItem && disabled && focusableWhenDisabledProps.disabled === undefined && element.disabled) {\n element.disabled = false;\n }\n }, [disabled, focusableWhenDisabledProps.disabled, isCompositeItem]);\n useIsoLayoutEffect(updateDisabled, [updateDisabled]);\n const getButtonProps = React.useCallback((externalProps = {}) => {\n const {\n onClick: externalOnClick,\n onMouseDown: externalOnMouseDown,\n onKeyUp: externalOnKeyUp,\n onKeyDown: externalOnKeyDown,\n onPointerDown: externalOnPointerDown,\n ...otherExternalProps\n } = externalProps;\n return mergeProps({\n onClick(event) {\n if (disabled) {\n event.preventDefault();\n return;\n }\n externalOnClick?.(event);\n },\n onMouseDown(event) {\n if (!disabled) {\n externalOnMouseDown?.(event);\n }\n },\n onKeyDown(event) {\n if (disabled) {\n return;\n }\n makeEventPreventable(event);\n externalOnKeyDown?.(event);\n if (event.baseUIHandlerPrevented) {\n return;\n }\n const isCurrentTarget = event.target === event.currentTarget;\n const currentTarget = event.currentTarget;\n const isButton = isButtonElement(currentTarget);\n const isLink = !isNativeButton && isValidLinkElement(currentTarget);\n const shouldClick = isCurrentTarget && (isNativeButton ? isButton : !isLink);\n const isEnterKey = event.key === 'Enter';\n const isSpaceKey = event.key === ' ';\n const role = currentTarget.getAttribute('role');\n const isTextNavigationRole = role?.startsWith('menuitem') || role === 'option' || role === 'gridcell';\n if (isCurrentTarget && isCompositeItem && isSpaceKey) {\n if (event.defaultPrevented && isTextNavigationRole) {\n return;\n }\n event.preventDefault();\n if (isLink || isNativeButton && isButton) {\n currentTarget.click();\n event.preventBaseUIHandler();\n } else if (shouldClick) {\n externalOnClick?.(event);\n event.preventBaseUIHandler();\n }\n return;\n }\n\n // Keyboard accessibility for native and non-native elements.\n if (shouldClick) {\n if (!isNativeButton && (isSpaceKey || isEnterKey)) {\n event.preventDefault();\n }\n if (!isNativeButton && isEnterKey) {\n externalOnClick?.(event);\n }\n }\n },\n onKeyUp(event) {\n if (disabled) {\n return;\n }\n\n // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed\n // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0\n makeEventPreventable(event);\n externalOnKeyUp?.(event);\n if (event.target === event.currentTarget && isNativeButton && isCompositeItem && isButtonElement(event.currentTarget) && event.key === ' ') {\n event.preventDefault();\n return;\n }\n if (event.baseUIHandlerPrevented) {\n return;\n }\n\n // Keyboard accessibility for non interactive elements\n if (event.target === event.currentTarget && !isNativeButton && !isCompositeItem && event.key === ' ') {\n externalOnClick?.(event);\n }\n },\n onPointerDown(event) {\n if (disabled) {\n event.preventDefault();\n return;\n }\n externalOnPointerDown?.(event);\n }\n }, isNativeButton ? {\n type: 'button'\n } : {\n role: 'button'\n }, focusableWhenDisabledProps, otherExternalProps);\n }, [disabled, focusableWhenDisabledProps, isCompositeItem, isNativeButton]);\n const buttonRef = useStableCallback(element => {\n elementRef.current = element;\n updateDisabled();\n });\n return {\n getButtonProps,\n buttonRef\n };\n}\nfunction isButtonElement(elem) {\n return isHTMLElement(elem) && elem.tagName === 'BUTTON';\n}\nfunction isValidLinkElement(elem) {\n return Boolean(elem?.tagName === 'A' && elem?.href);\n}"],"names":["useButton","parameters","disabled","focusableWhenDisabled","tabIndex","isNativeButton","compositeProp","elementRef","React","compositeRootContext","useCompositeRootContext","isCompositeItem","focusableWhenDisabledProps","useFocusableWhenDisabled","isButtonTag","isButtonElement","ownerStackMessage","SafeReact","error","updateDisabled","element","useIsoLayoutEffect","getButtonProps","externalProps","externalOnClick","externalOnMouseDown","externalOnKeyUp","externalOnKeyDown","externalOnPointerDown","otherExternalProps","mergeProps","event","makeEventPreventable","isCurrentTarget","currentTarget","isButton","isLink","isValidLinkElement","shouldClick","isEnterKey","isSpaceKey","role","isTextNavigationRole","buttonRef","useStableCallback","elem","isHTMLElement"],"mappings":";;;;;;;;;AAWO,SAASA,EAAUC,IAAa,IAAI;AACzC,QAAM;AAAA,IACJ,UAAAC,IAAW;AAAA,IACX,uBAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,QAAQC,IAAiB;AAAA,IACzB,WAAWC;AAAA,EACf,IAAML,GACEM,IAAaC,EAAM,OAAO,IAAI,GAC9BC,IAAuBC,EAAwB,EAAI,GACnDC,IAAkBL,KAAiBG,MAAyB,QAC5D;AAAA,IACJ,OAAOG;AAAA,EACX,IAAMC,EAAyB;AAAA,IAC3B,uBAAAV;AAAA,IACA,UAAAD;AAAA,IACA,WAAWS;AAAA,IACX,UAAAP;AAAA,IACA,gBAAAC;AAAA,EACJ,CAAG;AACD,EAAI,QAAQ,IAAI,aAAa,gBAE3BG,EAAM,UAAU,MAAM;AACpB,QAAI,CAACD,EAAW;AACd;AAEF,UAAMO,IAAcC,EAAgBR,EAAW,OAAO;AACtD,QAAIF;AACF,UAAI,CAACS,GAAa;AAChB,cAAME,IAAoBC,EAAU,oBAAiB,KAAQ;AAE7D,QAAAC,EAAM,gSAAaF,CAAiB,EAAE;AAAA,MACxC;AAAA,eACSF,GAAa;AACtB,YAAME,IAAoBC,EAAU,oBAAiB,KAAQ;AAE7D,MAAAC,EAAM,gXAAaF,CAAiB,EAAE;AAAA,IACxC;AAAA,EACF,GAAG,CAACX,CAAc,CAAC;AAOrB,QAAMc,IAAiBX,EAAM,YAAY,MAAM;AAC7C,UAAMY,IAAUb,EAAW;AAC3B,IAAKQ,EAAgBK,CAAO,KAGxBT,KAAmBT,KAAYU,EAA2B,aAAa,UAAaQ,EAAQ,aAC9FA,EAAQ,WAAW;AAAA,EAEvB,GAAG,CAAClB,GAAUU,EAA2B,UAAUD,CAAe,CAAC;AACnE,EAAAU,EAAmBF,GAAgB,CAACA,CAAc,CAAC;AACnD,QAAMG,IAAiBd,EAAM,YAAY,CAACe,IAAgB,CAAA,MAAO;AAC/D,UAAM;AAAA,MACJ,SAASC;AAAA,MACT,aAAaC;AAAA,MACb,SAASC;AAAA,MACT,WAAWC;AAAA,MACX,eAAeC;AAAA,MACf,GAAGC;AAAA,IACT,IAAQN;AACJ,WAAOO,EAAW;AAAA,MAChB,QAAQC,GAAO;AACb,YAAI7B,GAAU;AACZ,UAAA6B,EAAM,eAAc;AACpB;AAAA,QACF;AACA,QAAAP,IAAkBO,CAAK;AAAA,MACzB;AAAA,MACA,YAAYA,GAAO;AACjB,QAAK7B,KACHuB,IAAsBM,CAAK;AAAA,MAE/B;AAAA,MACA,UAAUA,GAAO;AAMf,YALI7B,MAGJ8B,EAAqBD,CAAK,GAC1BJ,IAAoBI,CAAK,GACrBA,EAAM;AACR;AAEF,cAAME,IAAkBF,EAAM,WAAWA,EAAM,eACzCG,IAAgBH,EAAM,eACtBI,IAAWpB,EAAgBmB,CAAa,GACxCE,IAAS,CAAC/B,KAAkBgC,EAAmBH,CAAa,GAC5DI,IAAcL,MAAoB5B,IAAiB8B,IAAW,CAACC,IAC/DG,IAAaR,EAAM,QAAQ,SAC3BS,IAAaT,EAAM,QAAQ,KAC3BU,IAAOP,EAAc,aAAa,MAAM,GACxCQ,IAAuBD,GAAM,WAAW,UAAU,KAAKA,MAAS,YAAYA,MAAS;AAC3F,YAAIR,KAAmBtB,KAAmB6B,GAAY;AACpD,cAAIT,EAAM,oBAAoBW;AAC5B;AAEF,UAAAX,EAAM,eAAc,GAChBK,KAAU/B,KAAkB8B,KAC9BD,EAAc,MAAK,GACnBH,EAAM,qBAAoB,KACjBO,MACTd,IAAkBO,CAAK,GACvBA,EAAM,qBAAoB;AAE5B;AAAA,QACF;AAGA,QAAIO,MACE,CAACjC,MAAmBmC,KAAcD,MACpCR,EAAM,eAAc,GAElB,CAAC1B,KAAkBkC,KACrBf,IAAkBO,CAAK;AAAA,MAG7B;AAAA,MACA,QAAQA,GAAO;AACb,YAAI,CAAA7B,GAQJ;AAAA,cAFA8B,EAAqBD,CAAK,GAC1BL,IAAkBK,CAAK,GACnBA,EAAM,WAAWA,EAAM,iBAAiB1B,KAAkBM,KAAmBI,EAAgBgB,EAAM,aAAa,KAAKA,EAAM,QAAQ,KAAK;AAC1I,YAAAA,EAAM,eAAc;AACpB;AAAA,UACF;AACA,UAAIA,EAAM,0BAKNA,EAAM,WAAWA,EAAM,iBAAiB,CAAC1B,KAAkB,CAACM,KAAmBoB,EAAM,QAAQ,OAC/FP,IAAkBO,CAAK;AAAA;AAAA,MAE3B;AAAA,MACA,cAAcA,GAAO;AACnB,YAAI7B,GAAU;AACZ,UAAA6B,EAAM,eAAc;AACpB;AAAA,QACF;AACA,QAAAH,IAAwBG,CAAK;AAAA,MAC/B;AAAA,IACN,GAAO1B,IAAiB;AAAA,MAClB,MAAM;AAAA,IACZ,IAAQ;AAAA,MACF,MAAM;AAAA,IACZ,GAAOO,GAA4BiB,CAAkB;AAAA,EACnD,GAAG,CAAC3B,GAAUU,GAA4BD,GAAiBN,CAAc,CAAC,GACpEsC,IAAYC,EAAkB,CAAAxB,MAAW;AAC7C,IAAAb,EAAW,UAAUa,GACrBD,EAAc;AAAA,EAChB,CAAC;AACD,SAAO;AAAA,IACL,gBAAAG;AAAA,IACA,WAAAqB;AAAA,EACJ;AACA;AACA,SAAS5B,EAAgB8B,GAAM;AAC7B,SAAOC,EAAcD,CAAI,KAAKA,EAAK,YAAY;AACjD;AACA,SAASR,EAAmBQ,GAAM;AAChC,SAAO,GAAQA,GAAM,YAAY,OAAOA,GAAM;AAChD;","x_google_ignoreList":[0]}
package/dist/index237.js CHANGED
@@ -1,14 +1,16 @@
1
- function i(e, o, h, r) {
2
- const { numberOfMonths: f = 1 } = h, n = [];
3
- for (let t = 0; t < f; t++) {
4
- const s = r.addMonths(e, t);
5
- if (o && s > o)
6
- break;
7
- n.push(s);
8
- }
9
- return n;
10
- }
1
+ const e = "none", s = "trigger-press", o = "trigger-hover", t = "outside-press", n = "item-press", c = "close-press", i = "focus-out", r = "escape-key", a = "list-navigation", p = "cancel-open", g = "imperative-action", l = "window-resize";
11
2
  export {
12
- i as getDisplayMonths
3
+ p as cancelOpen,
4
+ c as closePress,
5
+ r as escapeKey,
6
+ i as focusOut,
7
+ g as imperativeAction,
8
+ n as itemPress,
9
+ a as listNavigation,
10
+ e as none,
11
+ t as outsidePress,
12
+ o as triggerHover,
13
+ s as triggerPress,
14
+ l as windowResize
13
15
  };
14
16
  //# sourceMappingURL=index237.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index237.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js"],"sourcesContent":["/**\n * Returns the months to display in the calendar.\n *\n * @param firstDisplayedMonth The first month currently displayed in the\n * calendar.\n * @param calendarEndMonth The latest month the user can navigate to.\n * @param props The DayPicker props, including `numberOfMonths`.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of dates representing the months to display.\n */\nexport function getDisplayMonths(firstDisplayedMonth, calendarEndMonth, props, dateLib) {\n const { numberOfMonths = 1 } = props;\n const months = [];\n for (let i = 0; i < numberOfMonths; i++) {\n const month = dateLib.addMonths(firstDisplayedMonth, i);\n if (calendarEndMonth && month > calendarEndMonth) {\n break;\n }\n months.push(month);\n }\n return months;\n}\n"],"names":["getDisplayMonths","firstDisplayedMonth","calendarEndMonth","props","dateLib","numberOfMonths","months","i","month"],"mappings":"AAUO,SAASA,EAAiBC,GAAqBC,GAAkBC,GAAOC,GAAS;AACpF,QAAM,EAAE,gBAAAC,IAAiB,EAAC,IAAKF,GACzBG,IAAS,CAAA;AACf,WAASC,IAAI,GAAGA,IAAIF,GAAgBE,KAAK;AACrC,UAAMC,IAAQJ,EAAQ,UAAUH,GAAqBM,CAAC;AACtD,QAAIL,KAAoBM,IAAQN;AAC5B;AAEJ,IAAAI,EAAO,KAAKE,CAAK;AAAA,EACrB;AACA,SAAOF;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index237.js","sources":["../../../node_modules/@base-ui/react/internals/reason-parts.mjs"],"sourcesContent":["export const none = 'none';\nexport const triggerPress = 'trigger-press';\nexport const triggerHover = 'trigger-hover';\nexport const triggerFocus = 'trigger-focus';\nexport const outsidePress = 'outside-press';\nexport const itemPress = 'item-press';\nexport const closePress = 'close-press';\nexport const linkPress = 'link-press';\nexport const clearPress = 'clear-press';\nexport const chipRemovePress = 'chip-remove-press';\nexport const trackPress = 'track-press';\nexport const incrementPress = 'increment-press';\nexport const decrementPress = 'decrement-press';\nexport const inputChange = 'input-change';\nexport const inputClear = 'input-clear';\nexport const inputBlur = 'input-blur';\nexport const inputPaste = 'input-paste';\nexport const inputPress = 'input-press';\nexport const focusOut = 'focus-out';\nexport const escapeKey = 'escape-key';\nexport const closeWatcher = 'close-watcher';\nexport const listNavigation = 'list-navigation';\nexport const keyboard = 'keyboard';\nexport const pointer = 'pointer';\nexport const drag = 'drag';\nexport const wheel = 'wheel';\nexport const scrub = 'scrub';\nexport const cancelOpen = 'cancel-open';\nexport const siblingOpen = 'sibling-open';\nexport const disabled = 'disabled';\nexport const missing = 'missing';\nexport const initial = 'initial';\nexport const imperativeAction = 'imperative-action';\nexport const swipe = 'swipe';\nexport const windowResize = 'window-resize';"],"names":["none","triggerPress","triggerHover","outsidePress","itemPress","closePress","focusOut","escapeKey","listNavigation","cancelOpen","imperativeAction","windowResize"],"mappings":"AAAY,MAACA,IAAO,QACPC,IAAe,iBACfC,IAAe,iBAEfC,IAAe,iBACfC,IAAY,cACZC,IAAa,eAYbC,IAAW,aACXC,IAAY,cAEZC,IAAiB,mBAMjBC,IAAa,eAKbC,IAAmB,qBAEnBC,IAAe;","x_google_ignoreList":[0]}
package/dist/index238.js CHANGED
@@ -1,14 +1,8 @@
1
- function u(i, o, n, e) {
2
- const { month: s, defaultMonth: M, today: c = e.today(), numberOfMonths: f = 1 } = i;
3
- let t = s || M || c;
4
- const { differenceInCalendarMonths: h, addMonths: l, startOfMonth: r } = e;
5
- if (n && h(n, t) < f - 1) {
6
- const d = -1 * (f - 1);
7
- t = l(n, d);
8
- }
9
- return o && h(t, o) < 0 && (t = o), r(t);
1
+ import { useId as r } from "./index350.js";
2
+ function i(e) {
3
+ return r(e, "base-ui");
10
4
  }
11
5
  export {
12
- u as getInitialMonth
6
+ i as useBaseUiId
13
7
  };
14
8
  //# sourceMappingURL=index238.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index238.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js"],"sourcesContent":["/**\n * Determines the initial month to display in the calendar based on the provided\n * props.\n *\n * This function calculates the starting month, considering constraints such as\n * `startMonth`, `endMonth`, and the number of months to display.\n *\n * @param props The DayPicker props, including navigation and date constraints.\n * @param dateLib The date library to use for date manipulation.\n * @returns The initial month to display.\n */\nexport function getInitialMonth(props, navStart, navEnd, dateLib) {\n const { month, defaultMonth, today = dateLib.today(), numberOfMonths = 1, } = props;\n let initialMonth = month || defaultMonth || today;\n const { differenceInCalendarMonths, addMonths, startOfMonth } = dateLib;\n if (navEnd &&\n differenceInCalendarMonths(navEnd, initialMonth) < numberOfMonths - 1) {\n const offset = -1 * (numberOfMonths - 1);\n initialMonth = addMonths(navEnd, offset);\n }\n if (navStart && differenceInCalendarMonths(initialMonth, navStart) < 0) {\n initialMonth = navStart;\n }\n return startOfMonth(initialMonth);\n}\n"],"names":["getInitialMonth","props","navStart","navEnd","dateLib","month","defaultMonth","today","numberOfMonths","initialMonth","differenceInCalendarMonths","addMonths","startOfMonth","offset"],"mappings":"AAWO,SAASA,EAAgBC,GAAOC,GAAUC,GAAQC,GAAS;AAC9D,QAAM,EAAE,OAAAC,GAAO,cAAAC,GAAc,OAAAC,IAAQH,EAAQ,SAAS,gBAAAI,IAAiB,EAAC,IAAMP;AAC9E,MAAIQ,IAAeJ,KAASC,KAAgBC;AAC5C,QAAM,EAAE,4BAAAG,GAA4B,WAAAC,GAAW,cAAAC,EAAY,IAAKR;AAChE,MAAID,KACAO,EAA2BP,GAAQM,CAAY,IAAID,IAAiB,GAAG;AACvE,UAAMK,IAAS,MAAML,IAAiB;AACtC,IAAAC,IAAeE,EAAUR,GAAQU,CAAM;AAAA,EAC3C;AACA,SAAIX,KAAYQ,EAA2BD,GAAcP,CAAQ,IAAI,MACjEO,IAAeP,IAEZU,EAAaH,CAAY;AACpC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index238.js","sources":["../../../node_modules/@base-ui/react/internals/useBaseUiId.mjs"],"sourcesContent":["'use client';\n\nimport { useId } from '@base-ui/utils/useId';\n\n/**\n * Wraps `useId` and prefixes generated `id`s with `base-ui-`\n * @param {string | undefined} idOverride overrides the generated id when provided\n * @returns {string | undefined}\n */\nexport function useBaseUiId(idOverride) {\n return useId(idOverride, 'base-ui');\n}"],"names":["useBaseUiId","idOverride","useId"],"mappings":";AASO,SAASA,EAAYC,GAAY;AACtC,SAAOC,EAAMD,GAAY,SAAS;AACpC;","x_google_ignoreList":[0]}
package/dist/index239.js CHANGED
@@ -1,25 +1,7 @@
1
- import { CalendarDay as F } from "./index198.js";
2
- import { CalendarWeek as N } from "./index200.js";
3
- import { CalendarMonth as P } from "./index199.js";
4
- function j(l, f, e, c) {
5
- const { addDays: y, endOfBroadcastWeek: D, endOfISOWeek: h, endOfMonth: k, endOfWeek: C, getISOWeek: I, getWeek: M, startOfBroadcastWeek: S, startOfISOWeek: g, startOfWeek: w } = c, o = l.reduce((W, t) => {
6
- const x = e.broadcastCalendar ? S(t, c) : e.ISOWeek ? g(t) : w(t), d = e.broadcastCalendar ? D(t) : e.ISOWeek ? h(k(t)) : C(k(t)), a = f.filter((r) => r >= x && r <= d), O = e.broadcastCalendar ? 35 : 42;
7
- if (e.fixedWeeks && a.length < O) {
8
- const r = f.filter((n) => {
9
- const s = O - a.length;
10
- return n > d && n <= y(d, s);
11
- });
12
- a.push(...r);
13
- }
14
- const b = a.reduce((r, n) => {
15
- const s = e.ISOWeek ? I(n) : M(n), i = r.find((B) => B.weekNumber === s), u = new F(n, t, c);
16
- return i ? i.days.push(u) : r.push(new N(s, [u])), r;
17
- }, []), v = new P(t, b);
18
- return W.push(v), W;
19
- }, []);
20
- return e.reverseMonths ? o.reverse() : o;
21
- }
1
+ let t = /* @__PURE__ */ (function(e) {
2
+ return e.nestedDialogs = "--nested-dialogs", e;
3
+ })({});
22
4
  export {
23
- j as getMonths
5
+ t as DialogPopupCssVars
24
6
  };
25
7
  //# sourceMappingURL=index239.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index239.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getMonths.js"],"sourcesContent":["import { CalendarDay, CalendarMonth, CalendarWeek } from \"../classes/index.js\";\n/**\n * Returns the months to display in the calendar.\n *\n * This function generates `CalendarMonth` objects for each month to be\n * displayed, including their weeks and days, based on the provided display\n * months and dates.\n *\n * @param displayMonths The months (as dates) to display in the calendar.\n * @param dates The dates to display in the calendar.\n * @param props Options from the DayPicker props context.\n * @param dateLib The date library to use for date manipulation.\n * @returns An array of `CalendarMonth` objects representing the months to\n * display.\n */\nexport function getMonths(displayMonths, dates, props, dateLib) {\n const { addDays, endOfBroadcastWeek, endOfISOWeek, endOfMonth, endOfWeek, getISOWeek, getWeek, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const dayPickerMonths = displayMonths.reduce((months, month) => {\n const firstDateOfFirstWeek = props.broadcastCalendar\n ? startOfBroadcastWeek(month, dateLib)\n : props.ISOWeek\n ? startOfISOWeek(month)\n : startOfWeek(month);\n const lastDateOfLastWeek = props.broadcastCalendar\n ? endOfBroadcastWeek(month)\n : props.ISOWeek\n ? endOfISOWeek(endOfMonth(month))\n : endOfWeek(endOfMonth(month));\n /** The dates to display in the month. */\n const monthDates = dates.filter((date) => {\n return date >= firstDateOfFirstWeek && date <= lastDateOfLastWeek;\n });\n const nrOfDaysWithFixedWeeks = props.broadcastCalendar ? 35 : 42;\n if (props.fixedWeeks && monthDates.length < nrOfDaysWithFixedWeeks) {\n const extraDates = dates.filter((date) => {\n const daysToAdd = nrOfDaysWithFixedWeeks - monthDates.length;\n return (date > lastDateOfLastWeek &&\n date <= addDays(lastDateOfLastWeek, daysToAdd));\n });\n monthDates.push(...extraDates);\n }\n const weeks = monthDates.reduce((weeks, date) => {\n const weekNumber = props.ISOWeek ? getISOWeek(date) : getWeek(date);\n const week = weeks.find((week) => week.weekNumber === weekNumber);\n const day = new CalendarDay(date, month, dateLib);\n if (!week) {\n weeks.push(new CalendarWeek(weekNumber, [day]));\n }\n else {\n week.days.push(day);\n }\n return weeks;\n }, []);\n const dayPickerMonth = new CalendarMonth(month, weeks);\n months.push(dayPickerMonth);\n return months;\n }, []);\n if (!props.reverseMonths) {\n return dayPickerMonths;\n }\n else {\n return dayPickerMonths.reverse();\n }\n}\n"],"names":["getMonths","displayMonths","dates","props","dateLib","addDays","endOfBroadcastWeek","endOfISOWeek","endOfMonth","endOfWeek","getISOWeek","getWeek","startOfBroadcastWeek","startOfISOWeek","startOfWeek","dayPickerMonths","months","month","firstDateOfFirstWeek","lastDateOfLastWeek","monthDates","date","nrOfDaysWithFixedWeeks","extraDates","daysToAdd","weeks","weekNumber","week","day","CalendarDay","CalendarWeek","dayPickerMonth","CalendarMonth"],"mappings":";;;AAeO,SAASA,EAAUC,GAAeC,GAAOC,GAAOC,GAAS;AAC5D,QAAM,EAAE,SAAAC,GAAS,oBAAAC,GAAoB,cAAAC,GAAc,YAAAC,GAAY,WAAAC,GAAW,YAAAC,GAAY,SAAAC,GAAS,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMV,GAChJW,IAAkBd,EAAc,OAAO,CAACe,GAAQC,MAAU;AAC5D,UAAMC,IAAuBf,EAAM,oBAC7BS,EAAqBK,GAAOb,CAAO,IACnCD,EAAM,UACFU,EAAeI,CAAK,IACpBH,EAAYG,CAAK,GACrBE,IAAqBhB,EAAM,oBAC3BG,EAAmBW,CAAK,IACxBd,EAAM,UACFI,EAAaC,EAAWS,CAAK,CAAC,IAC9BR,EAAUD,EAAWS,CAAK,CAAC,GAE/BG,IAAalB,EAAM,OAAO,CAACmB,MACtBA,KAAQH,KAAwBG,KAAQF,CAClD,GACKG,IAAyBnB,EAAM,oBAAoB,KAAK;AAC9D,QAAIA,EAAM,cAAciB,EAAW,SAASE,GAAwB;AAChE,YAAMC,IAAarB,EAAM,OAAO,CAACmB,MAAS;AACtC,cAAMG,IAAYF,IAAyBF,EAAW;AACtD,eAAQC,IAAOF,KACXE,KAAQhB,EAAQc,GAAoBK,CAAS;AAAA,MACrD,CAAC;AACD,MAAAJ,EAAW,KAAK,GAAGG,CAAU;AAAA,IACjC;AACA,UAAME,IAAQL,EAAW,OAAO,CAACK,GAAOJ,MAAS;AAC7C,YAAMK,IAAavB,EAAM,UAAUO,EAAWW,CAAI,IAAIV,EAAQU,CAAI,GAC5DM,IAAOF,EAAM,KAAK,CAACE,MAASA,EAAK,eAAeD,CAAU,GAC1DE,IAAM,IAAIC,EAAYR,GAAMJ,GAAOb,CAAO;AAChD,aAAKuB,IAIDA,EAAK,KAAK,KAAKC,CAAG,IAHlBH,EAAM,KAAK,IAAIK,EAAaJ,GAAY,CAACE,CAAG,CAAC,CAAC,GAK3CH;AAAA,IACX,GAAG,CAAA,CAAE,GACCM,IAAiB,IAAIC,EAAcf,GAAOQ,CAAK;AACrD,WAAAT,EAAO,KAAKe,CAAc,GACnBf;AAAA,EACX,GAAG,CAAA,CAAE;AACL,SAAKb,EAAM,gBAIAY,EAAgB,QAAO,IAHvBA;AAKf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index239.js","sources":["../../../node_modules/@base-ui/react/dialog/popup/DialogPopupCssVars.mjs"],"sourcesContent":["export let DialogPopupCssVars = /*#__PURE__*/function (DialogPopupCssVars) {\n /**\n * Indicates how many dialogs are nested within.\n * @type {number}\n */\n DialogPopupCssVars[\"nestedDialogs\"] = \"--nested-dialogs\";\n return DialogPopupCssVars;\n}({});"],"names":["DialogPopupCssVars"],"mappings":"AAAU,IAACA,IAAkC,0BAAUA,GAAoB;AAKzE,SAAAA,EAAmB,gBAAmB,oBAC/BA;AACT,GAAE,CAAA,CAAE;","x_google_ignoreList":[0]}
package/dist/index24.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as Pe } from "./index29.js";
1
+ import { c as Pe } from "./index28.js";
2
2
  import { useState as ne, useRef as v, useEffect as g } from "react";
3
3
  const me = () => typeof window > "u" ? !1 : "IntersectionObserver" in window, we = (x, e, t) => {
4
4
  const R = x.getBoundingClientRect(), p = e.getBoundingClientRect();
package/dist/index240.js CHANGED
@@ -1,12 +1,8 @@
1
- function c(n, r) {
2
- let { startMonth: t, endMonth: a } = n;
3
- const { startOfYear: f, startOfDay: o, startOfMonth: s, endOfMonth: i, addYears: y, endOfYear: h, today: e } = r, d = n.captionLayout === "dropdown" || n.captionLayout === "dropdown-years";
4
- return t ? t = s(t) : !t && d && (t = f(y(n.today ?? e(), -100))), a ? a = i(a) : !a && d && (a = h(n.today ?? e())), [
5
- t && o(t),
6
- a && o(a)
7
- ];
8
- }
1
+ import { CommonPopupDataAttributes as e } from "./index233.js";
2
+ let y = (function(n) {
3
+ return n[n.open = e.open] = "open", n[n.closed = e.closed] = "closed", n[n.startingStyle = e.startingStyle] = "startingStyle", n[n.endingStyle = e.endingStyle] = "endingStyle", n.nested = "data-nested", n.nestedDialogOpen = "data-nested-dialog-open", n;
4
+ })({});
9
5
  export {
10
- c as getNavMonths
6
+ y as DialogPopupDataAttributes
11
7
  };
12
8
  //# sourceMappingURL=index240.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index240.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js"],"sourcesContent":["/**\n * Returns the start and end months for calendar navigation.\n *\n * @param props The DayPicker props, including navigation and layout options.\n * @param dateLib The date library to use for date manipulation.\n * @returns A tuple containing the start and end months for navigation.\n */\nexport function getNavMonths(props, dateLib) {\n let { startMonth, endMonth } = props;\n const { startOfYear, startOfDay, startOfMonth, endOfMonth, addYears, endOfYear, today, } = dateLib;\n const hasYearDropdown = props.captionLayout === \"dropdown\" ||\n props.captionLayout === \"dropdown-years\";\n if (startMonth) {\n startMonth = startOfMonth(startMonth);\n }\n else if (!startMonth && hasYearDropdown) {\n startMonth = startOfYear(addYears(props.today ?? today(), -100));\n }\n if (endMonth) {\n endMonth = endOfMonth(endMonth);\n }\n else if (!endMonth && hasYearDropdown) {\n endMonth = endOfYear(props.today ?? today());\n }\n return [\n startMonth ? startOfDay(startMonth) : startMonth,\n endMonth ? startOfDay(endMonth) : endMonth,\n ];\n}\n"],"names":["getNavMonths","props","dateLib","startMonth","endMonth","startOfYear","startOfDay","startOfMonth","endOfMonth","addYears","endOfYear","today","hasYearDropdown"],"mappings":"AAOO,SAASA,EAAaC,GAAOC,GAAS;AACzC,MAAI,EAAE,YAAAC,GAAY,UAAAC,EAAQ,IAAKH;AAC/B,QAAM,EAAE,aAAAI,GAAa,YAAAC,GAAY,cAAAC,GAAc,YAAAC,GAAY,UAAAC,GAAU,WAAAC,GAAW,OAAAC,EAAK,IAAMT,GACrFU,IAAkBX,EAAM,kBAAkB,cAC5CA,EAAM,kBAAkB;AAC5B,SAAIE,IACAA,IAAaI,EAAaJ,CAAU,IAE/B,CAACA,KAAcS,MACpBT,IAAaE,EAAYI,EAASR,EAAM,SAASU,EAAK,GAAI,IAAI,CAAC,IAE/DP,IACAA,IAAWI,EAAWJ,CAAQ,IAEzB,CAACA,KAAYQ,MAClBR,IAAWM,EAAUT,EAAM,SAASU,EAAK,CAAE,IAExC;AAAA,IACHR,KAAaG,EAAWH,CAAU;AAAA,IAClCC,KAAWE,EAAWF,CAAQ;AAAA,EACtC;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index240.js","sources":["../../../node_modules/@base-ui/react/dialog/popup/DialogPopupDataAttributes.mjs"],"sourcesContent":["import { CommonPopupDataAttributes } from \"../../utils/popupStateMapping.mjs\";\nexport let DialogPopupDataAttributes = function (DialogPopupDataAttributes) {\n /**\n * Present when the dialog is open.\n */\n DialogPopupDataAttributes[DialogPopupDataAttributes[\"open\"] = CommonPopupDataAttributes.open] = \"open\";\n /**\n * Present when the dialog is closed.\n */\n DialogPopupDataAttributes[DialogPopupDataAttributes[\"closed\"] = CommonPopupDataAttributes.closed] = \"closed\";\n /**\n * Present when the dialog is animating in.\n */\n DialogPopupDataAttributes[DialogPopupDataAttributes[\"startingStyle\"] = CommonPopupDataAttributes.startingStyle] = \"startingStyle\";\n /**\n * Present when the dialog is animating out.\n */\n DialogPopupDataAttributes[DialogPopupDataAttributes[\"endingStyle\"] = CommonPopupDataAttributes.endingStyle] = \"endingStyle\";\n /**\n * Present when the dialog is nested within another dialog.\n */\n DialogPopupDataAttributes[\"nested\"] = \"data-nested\";\n /**\n * Present when the dialog has other open dialogs nested within it.\n */\n DialogPopupDataAttributes[\"nestedDialogOpen\"] = \"data-nested-dialog-open\";\n return DialogPopupDataAttributes;\n}({});"],"names":["DialogPopupDataAttributes","CommonPopupDataAttributes"],"mappings":";AACU,IAACA,KAA4B,SAAUA,GAA2B;AAI1E,SAAAA,EAA0BA,EAA0B,OAAUC,EAA0B,IAAI,IAAI,QAIhGD,EAA0BA,EAA0B,SAAYC,EAA0B,MAAM,IAAI,UAIpGD,EAA0BA,EAA0B,gBAAmBC,EAA0B,aAAa,IAAI,iBAIlHD,EAA0BA,EAA0B,cAAiBC,EAA0B,WAAW,IAAI,eAI9GD,EAA0B,SAAY,eAItCA,EAA0B,mBAAsB,2BACzCA;AACT,GAAE,CAAA,CAAE;","x_google_ignoreList":[0]}
package/dist/index241.js CHANGED
@@ -1,13 +1,15 @@
1
- function h(n, t, e, s) {
2
- if (e.disableNavigation)
3
- return;
4
- const { pagedNavigation: u, numberOfMonths: f = 1 } = e, { startOfMonth: a, addMonths: o, differenceInCalendarMonths: d } = s, i = u ? f : 1, r = a(n);
5
- if (!t)
6
- return o(r, i);
7
- if (!(d(t, n) < f))
8
- return o(r, i);
1
+ import r from "./index250.js";
2
+ import * as t from "react";
3
+ const e = /* @__PURE__ */ t.createContext(void 0);
4
+ process.env.NODE_ENV !== "production" && (e.displayName = "DialogPortalContext");
5
+ function a() {
6
+ const o = t.useContext(e);
7
+ if (o === void 0)
8
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: <Dialog.Portal> is missing." : r(26));
9
+ return o;
9
10
  }
10
11
  export {
11
- h as getNextMonth
12
+ e as DialogPortalContext,
13
+ a as useDialogPortalContext
12
14
  };
13
15
  //# sourceMappingURL=index241.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index241.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js"],"sourcesContent":["/**\n * Returns the next month the user can navigate to, based on the given options.\n *\n * The next month is not always the next calendar month:\n *\n * - If it is after the `calendarEndMonth`, it returns `undefined`.\n * - If paged navigation is enabled, it skips forward by the number of displayed\n * months.\n *\n * @param firstDisplayedMonth The first month currently displayed in the\n * calendar.\n * @param calendarEndMonth The latest month the user can navigate to.\n * @param options Navigation options, including `numberOfMonths` and\n * `pagedNavigation`.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next month, or `undefined` if navigation is not possible.\n */\nexport function getNextMonth(firstDisplayedMonth, calendarEndMonth, options, dateLib) {\n if (options.disableNavigation) {\n return undefined;\n }\n const { pagedNavigation, numberOfMonths = 1 } = options;\n const { startOfMonth, addMonths, differenceInCalendarMonths } = dateLib;\n const offset = pagedNavigation ? numberOfMonths : 1;\n const month = startOfMonth(firstDisplayedMonth);\n if (!calendarEndMonth) {\n return addMonths(month, offset);\n }\n const monthsDiff = differenceInCalendarMonths(calendarEndMonth, firstDisplayedMonth);\n if (monthsDiff < numberOfMonths) {\n return undefined;\n }\n return addMonths(month, offset);\n}\n"],"names":["getNextMonth","firstDisplayedMonth","calendarEndMonth","options","dateLib","pagedNavigation","numberOfMonths","startOfMonth","addMonths","differenceInCalendarMonths","offset","month"],"mappings":"AAiBO,SAASA,EAAaC,GAAqBC,GAAkBC,GAASC,GAAS;AAClF,MAAID,EAAQ;AACR;AAEJ,QAAM,EAAE,iBAAAE,GAAiB,gBAAAC,IAAiB,EAAC,IAAKH,GAC1C,EAAE,cAAAI,GAAc,WAAAC,GAAW,4BAAAC,EAA0B,IAAKL,GAC1DM,IAASL,IAAkBC,IAAiB,GAC5CK,IAAQJ,EAAaN,CAAmB;AAC9C,MAAI,CAACC;AACD,WAAOM,EAAUG,GAAOD,CAAM;AAGlC,MAAI,EADeD,EAA2BP,GAAkBD,CAAmB,IAClEK;AAGjB,WAAOE,EAAUG,GAAOD,CAAM;AAClC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index241.js","sources":["../../../node_modules/@base-ui/react/dialog/portal/DialogPortalContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const DialogPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") DialogPortalContext.displayName = \"DialogPortalContext\";\nexport function useDialogPortalContext() {\n const value = React.useContext(DialogPortalContext);\n if (value === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Dialog.Portal> is missing.' : _formatErrorMessage(26));\n }\n return value;\n}"],"names":["DialogPortalContext","React","useDialogPortalContext","value","_formatErrorMessage"],"mappings":";;AAIY,MAACA,IAAmC,gBAAAC,EAAM,cAAc,MAAS;AACzE,QAAQ,IAAI,aAAa,iBAAcD,EAAoB,cAAc;AACtE,SAASE,IAAyB;AACvC,QAAMC,IAAQF,EAAM,WAAWD,CAAmB;AAClD,MAAIG,MAAU;AACZ,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,yCAAyCC,EAAoB,EAAE,CAAC;AAE1H,SAAOD;AACT;","x_google_ignoreList":[0]}
package/dist/index242.js CHANGED
@@ -1,13 +1,23 @@
1
- function c(i, t, e, s) {
2
- if (e.disableNavigation)
3
- return;
4
- const { pagedNavigation: r, numberOfMonths: d } = e, { startOfMonth: u, addMonths: f, differenceInCalendarMonths: a } = s, o = r ? d ?? 1 : 1, n = u(i);
5
- if (!t)
6
- return f(n, -o);
7
- if (!(a(n, t) <= 0))
8
- return f(n, -o);
1
+ import * as l from "react";
2
+ import { useStableCallback as m } from "./index288.js";
3
+ import { useAnimationsFinished as f } from "./index352.js";
4
+ function c(a) {
5
+ const {
6
+ enabled: e = !0,
7
+ open: n,
8
+ ref: i,
9
+ onComplete: s
10
+ } = a, o = m(s), t = f(i, n, !1);
11
+ l.useEffect(() => {
12
+ if (!e)
13
+ return;
14
+ const r = new AbortController();
15
+ return t(o, r.signal), () => {
16
+ r.abort();
17
+ };
18
+ }, [e, n, o, t]);
9
19
  }
10
20
  export {
11
- c as getPreviousMonth
21
+ c as useOpenChangeComplete
12
22
  };
13
23
  //# sourceMappingURL=index242.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index242.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js"],"sourcesContent":["/**\n * Returns the previous month the user can navigate to, based on the given\n * options.\n *\n * The previous month is not always the previous calendar month:\n *\n * - If it is before the `calendarStartMonth`, it returns `undefined`.\n * - If paged navigation is enabled, it skips back by the number of displayed\n * months.\n *\n * @param firstDisplayedMonth The first month currently displayed in the\n * calendar.\n * @param calendarStartMonth The earliest month the user can navigate to.\n * @param options Navigation options, including `numberOfMonths` and\n * `pagedNavigation`.\n * @param dateLib The date library to use for date manipulation.\n * @returns The previous month, or `undefined` if navigation is not possible.\n */\nexport function getPreviousMonth(firstDisplayedMonth, calendarStartMonth, options, dateLib) {\n if (options.disableNavigation) {\n return undefined;\n }\n const { pagedNavigation, numberOfMonths } = options;\n const { startOfMonth, addMonths, differenceInCalendarMonths } = dateLib;\n const offset = pagedNavigation ? (numberOfMonths ?? 1) : 1;\n const month = startOfMonth(firstDisplayedMonth);\n if (!calendarStartMonth) {\n return addMonths(month, -offset);\n }\n const monthsDiff = differenceInCalendarMonths(month, calendarStartMonth);\n if (monthsDiff <= 0) {\n return undefined;\n }\n return addMonths(month, -offset);\n}\n"],"names":["getPreviousMonth","firstDisplayedMonth","calendarStartMonth","options","dateLib","pagedNavigation","numberOfMonths","startOfMonth","addMonths","differenceInCalendarMonths","offset","month"],"mappings":"AAkBO,SAASA,EAAiBC,GAAqBC,GAAoBC,GAASC,GAAS;AACxF,MAAID,EAAQ;AACR;AAEJ,QAAM,EAAE,iBAAAE,GAAiB,gBAAAC,EAAc,IAAKH,GACtC,EAAE,cAAAI,GAAc,WAAAC,GAAW,4BAAAC,EAA0B,IAAKL,GAC1DM,IAASL,IAAmBC,KAAkB,IAAK,GACnDK,IAAQJ,EAAaN,CAAmB;AAC9C,MAAI,CAACC;AACD,WAAOM,EAAUG,GAAO,CAACD,CAAM;AAGnC,MAAI,EADeD,EAA2BE,GAAOT,CAAkB,KACrD;AAGlB,WAAOM,EAAUG,GAAO,CAACD,CAAM;AACnC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index242.js","sources":["../../../node_modules/@base-ui/react/internals/useOpenChangeComplete.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useAnimationsFinished } from \"./useAnimationsFinished.mjs\";\n\n/**\n * Calls the provided function when the CSS open/close animation or transition completes.\n */\nexport function useOpenChangeComplete(parameters) {\n const {\n enabled = true,\n open,\n ref,\n onComplete: onCompleteParam\n } = parameters;\n const onComplete = useStableCallback(onCompleteParam);\n const runOnceAnimationsFinish = useAnimationsFinished(ref, open, false);\n React.useEffect(() => {\n if (!enabled) {\n return undefined;\n }\n const abortController = new AbortController();\n runOnceAnimationsFinish(onComplete, abortController.signal);\n return () => {\n abortController.abort();\n };\n }, [enabled, open, onComplete, runOnceAnimationsFinish]);\n}"],"names":["useOpenChangeComplete","parameters","enabled","open","ref","onCompleteParam","onComplete","useStableCallback","runOnceAnimationsFinish","useAnimationsFinished","React","abortController"],"mappings":";;;AASO,SAASA,EAAsBC,GAAY;AAChD,QAAM;AAAA,IACJ,SAAAC,IAAU;AAAA,IACV,MAAAC;AAAA,IACA,KAAAC;AAAA,IACA,YAAYC;AAAA,EAChB,IAAMJ,GACEK,IAAaC,EAAkBF,CAAe,GAC9CG,IAA0BC,EAAsBL,GAAKD,GAAM,EAAK;AACtE,EAAAO,EAAM,UAAU,MAAM;AACpB,QAAI,CAACR;AACH;AAEF,UAAMS,IAAkB,IAAI,gBAAe;AAC3C,WAAAH,EAAwBF,GAAYK,EAAgB,MAAM,GACnD,MAAM;AACX,MAAAA,EAAgB,MAAK;AAAA,IACvB;AAAA,EACF,GAAG,CAACT,GAASC,GAAMG,GAAYE,CAAuB,CAAC;AACzD;","x_google_ignoreList":[0]}
package/dist/index243.js CHANGED
@@ -1,8 +1,14 @@
1
- function i(e) {
2
- const t = [];
3
- return e.reduce((c, n) => c.concat(n.weeks.slice()), t.slice());
4
- }
1
+ const o = "ArrowUp", t = "ArrowDown", n = "ArrowLeft", R = "ArrowRight", e = "Home", c = "End", A = /* @__PURE__ */ new Set([n, R]), E = /* @__PURE__ */ new Set([o, t]), O = /* @__PURE__ */ new Set([...A, ...E]), s = /* @__PURE__ */ new Set([...O, e, "End"]);
5
2
  export {
6
- i as getWeeks
3
+ t as ARROW_DOWN,
4
+ O as ARROW_KEYS,
5
+ n as ARROW_LEFT,
6
+ R as ARROW_RIGHT,
7
+ o as ARROW_UP,
8
+ s as COMPOSITE_KEYS,
9
+ c as END,
10
+ e as HOME,
11
+ A as HORIZONTAL_KEYS,
12
+ E as VERTICAL_KEYS
7
13
  };
8
14
  //# sourceMappingURL=index243.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index243.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getWeeks.js"],"sourcesContent":["/**\n * Returns an array of calendar weeks from an array of calendar months.\n *\n * @param months The array of calendar months.\n * @returns An array of calendar weeks.\n */\nexport function getWeeks(months) {\n const initialWeeks = [];\n return months.reduce((weeks, month) => {\n return weeks.concat(month.weeks.slice());\n }, initialWeeks.slice());\n}\n"],"names":["getWeeks","months","initialWeeks","weeks","month"],"mappings":"AAMO,SAASA,EAASC,GAAQ;AAC7B,QAAMC,IAAe,CAAA;AACrB,SAAOD,EAAO,OAAO,CAACE,GAAOC,MAClBD,EAAM,OAAOC,EAAM,MAAM,MAAK,CAAE,GACxCF,EAAa,OAAO;AAC3B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index243.js","sources":["../../../node_modules/@base-ui/react/internals/composite/composite.mjs"],"sourcesContent":["import { isHTMLElement } from '@floating-ui/utils/dom';\nexport { stopEvent, isIndexOutOfListBounds, isListIndexDisabled, findNonDisabledListIndex, getMaxListIndex, getMinListIndex } from \"../../floating-ui-react/utils.mjs\";\nexport const ARROW_UP = 'ArrowUp';\nexport const ARROW_DOWN = 'ArrowDown';\nexport const ARROW_LEFT = 'ArrowLeft';\nexport const ARROW_RIGHT = 'ArrowRight';\nexport const HOME = 'Home';\nexport const END = 'End';\nexport const PAGE_UP = 'PageUp';\nexport const PAGE_DOWN = 'PageDown';\nexport const HORIZONTAL_KEYS = new Set([ARROW_LEFT, ARROW_RIGHT]);\nexport const HORIZONTAL_KEYS_WITH_EXTRA_KEYS = new Set([ARROW_LEFT, ARROW_RIGHT, HOME, END]);\nexport const VERTICAL_KEYS = new Set([ARROW_UP, ARROW_DOWN]);\nexport const VERTICAL_KEYS_WITH_EXTRA_KEYS = new Set([ARROW_UP, ARROW_DOWN, HOME, END]);\nexport const ARROW_KEYS = new Set([...HORIZONTAL_KEYS, ...VERTICAL_KEYS]);\nexport const COMPOSITE_KEYS = new Set([...ARROW_KEYS, HOME, END]);\nexport const SHIFT = 'Shift';\nexport const CONTROL = 'Control';\nexport const ALT = 'Alt';\nexport const META = 'Meta';\nexport const MODIFIER_KEYS = new Set([SHIFT, CONTROL, ALT, META]);\nfunction isInputElement(element) {\n return isHTMLElement(element) && element.tagName === 'INPUT';\n}\nexport function isNativeInput(element) {\n if (isInputElement(element) && element.selectionStart != null) {\n return true;\n }\n if (isHTMLElement(element) && element.tagName === 'TEXTAREA') {\n return true;\n }\n return false;\n}\nexport function scrollIntoViewIfNeeded(scrollContainer, element, direction, orientation) {\n if (!scrollContainer || !element || !element.scrollTo) {\n return;\n }\n let targetX = scrollContainer.scrollLeft;\n let targetY = scrollContainer.scrollTop;\n const isOverflowingX = scrollContainer.clientWidth < scrollContainer.scrollWidth;\n const isOverflowingY = scrollContainer.clientHeight < scrollContainer.scrollHeight;\n if (isOverflowingX && orientation !== 'vertical') {\n const elementOffsetLeft = getOffset(scrollContainer, element, 'left');\n const containerStyles = getStyles(scrollContainer);\n const elementStyles = getStyles(element);\n if (direction === 'ltr') {\n if (elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight > scrollContainer.scrollLeft + scrollContainer.clientWidth - containerStyles.scrollPaddingRight) {\n // overflow to the right, scroll to align right edges\n targetX = elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight - scrollContainer.clientWidth + containerStyles.scrollPaddingRight;\n } else if (elementOffsetLeft - elementStyles.scrollMarginLeft < scrollContainer.scrollLeft + containerStyles.scrollPaddingLeft) {\n // overflow to the left, scroll to align left edges\n targetX = elementOffsetLeft - elementStyles.scrollMarginLeft - containerStyles.scrollPaddingLeft;\n }\n }\n if (direction === 'rtl') {\n if (elementOffsetLeft - elementStyles.scrollMarginRight < scrollContainer.scrollLeft + containerStyles.scrollPaddingLeft) {\n // overflow to the left, scroll to align left edges\n targetX = elementOffsetLeft - elementStyles.scrollMarginLeft - containerStyles.scrollPaddingLeft;\n } else if (elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight > scrollContainer.scrollLeft + scrollContainer.clientWidth - containerStyles.scrollPaddingRight) {\n // overflow to the right, scroll to align right edges\n targetX = elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight - scrollContainer.clientWidth + containerStyles.scrollPaddingRight;\n }\n }\n }\n if (isOverflowingY && orientation !== 'horizontal') {\n const elementOffsetTop = getOffset(scrollContainer, element, 'top');\n const containerStyles = getStyles(scrollContainer);\n const elementStyles = getStyles(element);\n if (elementOffsetTop - elementStyles.scrollMarginTop < scrollContainer.scrollTop + containerStyles.scrollPaddingTop) {\n // overflow upwards, align top edges\n targetY = elementOffsetTop - elementStyles.scrollMarginTop - containerStyles.scrollPaddingTop;\n } else if (elementOffsetTop + element.offsetHeight + elementStyles.scrollMarginBottom > scrollContainer.scrollTop + scrollContainer.clientHeight - containerStyles.scrollPaddingBottom) {\n // overflow downwards, align bottom edges\n targetY = elementOffsetTop + element.offsetHeight + elementStyles.scrollMarginBottom - scrollContainer.clientHeight + containerStyles.scrollPaddingBottom;\n }\n }\n scrollContainer.scrollTo({\n left: targetX,\n top: targetY,\n behavior: 'auto'\n });\n}\nfunction getOffset(ancestor, element, side) {\n const propName = side === 'left' ? 'offsetLeft' : 'offsetTop';\n let result = 0;\n while (element.offsetParent) {\n result += element[propName];\n if (element.offsetParent === ancestor) {\n break;\n }\n element = element.offsetParent;\n }\n return result;\n}\nfunction getStyles(element) {\n const styles = getComputedStyle(element);\n return {\n scrollMarginTop: parseFloat(styles.scrollMarginTop) || 0,\n scrollMarginRight: parseFloat(styles.scrollMarginRight) || 0,\n scrollMarginBottom: parseFloat(styles.scrollMarginBottom) || 0,\n scrollMarginLeft: parseFloat(styles.scrollMarginLeft) || 0,\n scrollPaddingTop: parseFloat(styles.scrollPaddingTop) || 0,\n scrollPaddingRight: parseFloat(styles.scrollPaddingRight) || 0,\n scrollPaddingBottom: parseFloat(styles.scrollPaddingBottom) || 0,\n scrollPaddingLeft: parseFloat(styles.scrollPaddingLeft) || 0\n };\n}"],"names":["ARROW_UP","ARROW_DOWN","ARROW_LEFT","ARROW_RIGHT","HOME","END","HORIZONTAL_KEYS","VERTICAL_KEYS","ARROW_KEYS","COMPOSITE_KEYS"],"mappings":"AAEY,MAACA,IAAW,WACXC,IAAa,aACbC,IAAa,aACbC,IAAc,cACdC,IAAO,QACPC,IAAM,OAGNC,IAAkB,oBAAI,IAAI,CAACJ,GAAYC,CAAW,CAAC,GAEnDI,IAAgB,oBAAI,IAAI,CAACP,GAAUC,CAAU,CAAC,GAE9CO,IAAa,oBAAI,IAAI,CAAC,GAAGF,GAAiB,GAAGC,CAAa,CAAC,GAC3DE,IAAiB,oBAAI,IAAI,CAAC,GAAGD,GAAYJ,GAAM,KAAG,CAAC;","x_google_ignoreList":[0]}