@rpcbase/ui 0.224.0 → 0.225.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 (829) hide show
  1. package/dist/components/DayPickerField/index.d.ts.map +1 -1
  2. package/dist/components/Dialog/index.d.ts +13 -9
  3. package/dist/components/Dialog/index.d.ts.map +1 -1
  4. package/dist/components/FilesUploadField/index.d.ts.map +1 -1
  5. package/dist/components/HourPickerField/index.d.ts.map +1 -1
  6. package/dist/components/Select/index.d.ts +16 -10
  7. package/dist/components/Select/index.d.ts.map +1 -1
  8. package/dist/index10.js +102 -103
  9. package/dist/index10.js.map +1 -1
  10. package/dist/index100.js +4 -4
  11. package/dist/index100.js.map +1 -1
  12. package/dist/index101.js +9 -52
  13. package/dist/index101.js.map +1 -1
  14. package/dist/index102.js +5 -4
  15. package/dist/index102.js.map +1 -1
  16. package/dist/index103.js +3 -3
  17. package/dist/index103.js.map +1 -1
  18. package/dist/index104.js +4 -15
  19. package/dist/index104.js.map +1 -1
  20. package/dist/index105.js +5 -4
  21. package/dist/index105.js.map +1 -1
  22. package/dist/index106.js +145 -7
  23. package/dist/index106.js.map +1 -1
  24. package/dist/index107.js +39 -16
  25. package/dist/index107.js.map +1 -1
  26. package/dist/index108.js +4 -4
  27. package/dist/index108.js.map +1 -1
  28. package/dist/index109.js +7 -4
  29. package/dist/index109.js.map +1 -1
  30. package/dist/index110.js +13 -5
  31. package/dist/index110.js.map +1 -1
  32. package/dist/index111.js +13 -5
  33. package/dist/index111.js.map +1 -1
  34. package/dist/index112.js +7 -4
  35. package/dist/index112.js.map +1 -1
  36. package/dist/index113.js +31 -4
  37. package/dist/index113.js.map +1 -1
  38. package/dist/index114.js +10 -6
  39. package/dist/index114.js.map +1 -1
  40. package/dist/index115.js +10 -24
  41. package/dist/index115.js.map +1 -1
  42. package/dist/index116.js +8 -6
  43. package/dist/index116.js.map +1 -1
  44. package/dist/index117.js +13 -4
  45. package/dist/index117.js.map +1 -1
  46. package/dist/index118.js +101 -6
  47. package/dist/index118.js.map +1 -1
  48. package/dist/index119.js +20 -6
  49. package/dist/index119.js.map +1 -1
  50. package/dist/index12.js +1 -1
  51. package/dist/index120.js +53 -4
  52. package/dist/index120.js.map +1 -1
  53. package/dist/index121.js +72 -5
  54. package/dist/index121.js.map +1 -1
  55. package/dist/index122.js +9 -4
  56. package/dist/index122.js.map +1 -1
  57. package/dist/index123.js +20 -8
  58. package/dist/index123.js.map +1 -1
  59. package/dist/index124.js +16 -5
  60. package/dist/index124.js.map +1 -1
  61. package/dist/index125.js +23 -4
  62. package/dist/index125.js.map +1 -1
  63. package/dist/index126.js +6 -4
  64. package/dist/index126.js.map +1 -1
  65. package/dist/index127.js +5 -6
  66. package/dist/index127.js.map +1 -1
  67. package/dist/index128.js +23 -145
  68. package/dist/index128.js.map +1 -1
  69. package/dist/index129.js +34 -39
  70. package/dist/index129.js.map +1 -1
  71. package/dist/index130.js +16 -5
  72. package/dist/index130.js.map +1 -1
  73. package/dist/index131.js +6 -7
  74. package/dist/index131.js.map +1 -1
  75. package/dist/index132.js +4 -13
  76. package/dist/index132.js.map +1 -1
  77. package/dist/index133.js +4 -13
  78. package/dist/index133.js.map +1 -1
  79. package/dist/index134.js +4 -7
  80. package/dist/index134.js.map +1 -1
  81. package/dist/index135.js +4 -31
  82. package/dist/index135.js.map +1 -1
  83. package/dist/index136.js +3 -10
  84. package/dist/index136.js.map +1 -1
  85. package/dist/index137.js +6 -10
  86. package/dist/index137.js.map +1 -1
  87. package/dist/index138.js +24 -9
  88. package/dist/index138.js.map +1 -1
  89. package/dist/index139.js +7 -13
  90. package/dist/index139.js.map +1 -1
  91. package/dist/index140.js +6 -101
  92. package/dist/index140.js.map +1 -1
  93. package/dist/index141.js +6 -20
  94. package/dist/index141.js.map +1 -1
  95. package/dist/index142.js +3 -53
  96. package/dist/index142.js.map +1 -1
  97. package/dist/index143.js +3 -72
  98. package/dist/index143.js.map +1 -1
  99. package/dist/index144.js +4 -9
  100. package/dist/index144.js.map +1 -1
  101. package/dist/index145.js +3 -20
  102. package/dist/index145.js.map +1 -1
  103. package/dist/index146.js +4 -16
  104. package/dist/index146.js.map +1 -1
  105. package/dist/index147.js +3 -23
  106. package/dist/index147.js.map +1 -1
  107. package/dist/index148.js +3 -6
  108. package/dist/index148.js.map +1 -1
  109. package/dist/index149.js +3 -5
  110. package/dist/index149.js.map +1 -1
  111. package/dist/index150.js +5 -23
  112. package/dist/index150.js.map +1 -1
  113. package/dist/index151.js +68 -34
  114. package/dist/index151.js.map +1 -1
  115. package/dist/index152.js +2 -16
  116. package/dist/index152.js.map +1 -1
  117. package/dist/index153.js +363 -6
  118. package/dist/index153.js.map +1 -1
  119. package/dist/index154.js +261 -4
  120. package/dist/index154.js.map +1 -1
  121. package/dist/index155.js +60 -4
  122. package/dist/index155.js.map +1 -1
  123. package/dist/index156.js +46 -4
  124. package/dist/index156.js.map +1 -1
  125. package/dist/index157.js +169 -4
  126. package/dist/index157.js.map +1 -1
  127. package/dist/index158.js +109 -3
  128. package/dist/index158.js.map +1 -1
  129. package/dist/index159.js +24 -6
  130. package/dist/index159.js.map +1 -1
  131. package/dist/index16.js +77 -72
  132. package/dist/index16.js.map +1 -1
  133. package/dist/index160.js +8 -24
  134. package/dist/index160.js.map +1 -1
  135. package/dist/index161.js +4 -7
  136. package/dist/index161.js.map +1 -1
  137. package/dist/index162.js +5 -6
  138. package/dist/index162.js.map +1 -1
  139. package/dist/index163.js +4 -5
  140. package/dist/index163.js.map +1 -1
  141. package/dist/index164.js +466 -3
  142. package/dist/index164.js.map +1 -1
  143. package/dist/index165.js +185 -3
  144. package/dist/index165.js.map +1 -1
  145. package/dist/index166.js +107 -4
  146. package/dist/index166.js.map +1 -1
  147. package/dist/index167.js +262 -3
  148. package/dist/index167.js.map +1 -1
  149. package/dist/index168.js +9 -4
  150. package/dist/index168.js.map +1 -1
  151. package/dist/index169.js +42 -3
  152. package/dist/index169.js.map +1 -1
  153. package/dist/index170.js +4 -3
  154. package/dist/index170.js.map +1 -1
  155. package/dist/index171.js +11 -3
  156. package/dist/index171.js.map +1 -1
  157. package/dist/index172.js +63 -41
  158. package/dist/index172.js.map +1 -1
  159. package/dist/index173.js +35 -227
  160. package/dist/index173.js.map +1 -1
  161. package/dist/index174.js +14 -22
  162. package/dist/index174.js.map +1 -1
  163. package/dist/index175.js +23 -24
  164. package/dist/index175.js.map +1 -1
  165. package/dist/index176.js +104 -394
  166. package/dist/index176.js.map +1 -1
  167. package/dist/index177.js +13 -14
  168. package/dist/index177.js.map +1 -1
  169. package/dist/index178.js +4 -154
  170. package/dist/index178.js.map +1 -1
  171. package/dist/index179.js +4 -31
  172. package/dist/index179.js.map +1 -1
  173. package/dist/index18.js +6 -6
  174. package/dist/index180.js +5 -10
  175. package/dist/index180.js.map +1 -1
  176. package/dist/index181.js +11 -48
  177. package/dist/index181.js.map +1 -1
  178. package/dist/index182.js +19 -11
  179. package/dist/index182.js.map +1 -1
  180. package/dist/index183.js +13 -45
  181. package/dist/index183.js.map +1 -1
  182. package/dist/index184.js +255 -89
  183. package/dist/index184.js.map +1 -1
  184. package/dist/index185.js +4 -86
  185. package/dist/index185.js.map +1 -1
  186. package/dist/index186.js +26 -104
  187. package/dist/index186.js.map +1 -1
  188. package/dist/index187.js +126 -52
  189. package/dist/index187.js.map +1 -1
  190. package/dist/index188.js +5 -11
  191. package/dist/index188.js.map +1 -1
  192. package/dist/index189.js +78 -37
  193. package/dist/index189.js.map +1 -1
  194. package/dist/index19.js +280 -208
  195. package/dist/index19.js.map +1 -1
  196. package/dist/index190.js +66 -8
  197. package/dist/index190.js.map +1 -1
  198. package/dist/index191.js +7 -115
  199. package/dist/index191.js.map +1 -1
  200. package/dist/index192.js +16 -18
  201. package/dist/index192.js.map +1 -1
  202. package/dist/index193.js +92 -15
  203. package/dist/index193.js.map +1 -1
  204. package/dist/index194.js +65 -3
  205. package/dist/index194.js.map +1 -1
  206. package/dist/index195.js +42 -33
  207. package/dist/index195.js.map +1 -1
  208. package/dist/index196.js +58 -20
  209. package/dist/index196.js.map +1 -1
  210. package/dist/index197.js +8 -9
  211. package/dist/index197.js.map +1 -1
  212. package/dist/index198.js +66 -8
  213. package/dist/index198.js.map +1 -1
  214. package/dist/index199.js +18 -18
  215. package/dist/index199.js.map +1 -1
  216. package/dist/index200.js +15 -27
  217. package/dist/index200.js.map +1 -1
  218. package/dist/index201.js +4 -15
  219. package/dist/index201.js.map +1 -1
  220. package/dist/index202.js +4 -57
  221. package/dist/index202.js.map +1 -1
  222. package/dist/index203.js +6 -8
  223. package/dist/index203.js.map +1 -1
  224. package/dist/index204.js +4 -66
  225. package/dist/index204.js.map +1 -1
  226. package/dist/index205.js +6 -19
  227. package/dist/index205.js.map +1 -1
  228. package/dist/index206.js +16 -16
  229. package/dist/index206.js.map +1 -1
  230. package/dist/index207.js +4 -5
  231. package/dist/index207.js.map +1 -1
  232. package/dist/index208.js +4 -5
  233. package/dist/index208.js.map +1 -1
  234. package/dist/index209.js +12 -6
  235. package/dist/index209.js.map +1 -1
  236. package/dist/index210.js +9 -4
  237. package/dist/index210.js.map +1 -1
  238. package/dist/index211.js +13 -6
  239. package/dist/index211.js.map +1 -1
  240. package/dist/index212.js +13 -16
  241. package/dist/index212.js.map +1 -1
  242. package/dist/index213.js +4 -4
  243. package/dist/index213.js.map +1 -1
  244. package/dist/index214.js +5 -4
  245. package/dist/index214.js.map +1 -1
  246. package/dist/index215.js +6 -12
  247. package/dist/index215.js.map +1 -1
  248. package/dist/index216.js +5 -9
  249. package/dist/index216.js.map +1 -1
  250. package/dist/index217.js +54 -13
  251. package/dist/index217.js.map +1 -1
  252. package/dist/index218.js +8 -13
  253. package/dist/index218.js.map +1 -1
  254. package/dist/index219.js +4 -4
  255. package/dist/index219.js.map +1 -1
  256. package/dist/index220.js +4 -5
  257. package/dist/index220.js.map +1 -1
  258. package/dist/index221.js +8 -6
  259. package/dist/index221.js.map +1 -1
  260. package/dist/index222.js +4 -5
  261. package/dist/index222.js.map +1 -1
  262. package/dist/index223.js +4 -54
  263. package/dist/index223.js.map +1 -1
  264. package/dist/index224.js +3 -8
  265. package/dist/index224.js.map +1 -1
  266. package/dist/index225.js +10 -4
  267. package/dist/index225.js.map +1 -1
  268. package/dist/index226.js +9 -4
  269. package/dist/index226.js.map +1 -1
  270. package/dist/index227.js +9 -8
  271. package/dist/index227.js.map +1 -1
  272. package/dist/index228.js +10 -4
  273. package/dist/index228.js.map +1 -1
  274. package/dist/index229.js +10 -4
  275. package/dist/index229.js.map +1 -1
  276. package/dist/index230.js +9 -3
  277. package/dist/index230.js.map +1 -1
  278. package/dist/index231.js +6 -10
  279. package/dist/index231.js.map +1 -1
  280. package/dist/index232.js +5 -9
  281. package/dist/index232.js.map +1 -1
  282. package/dist/index233.js +4 -9
  283. package/dist/index233.js.map +1 -1
  284. package/dist/index234.js +5 -10
  285. package/dist/index234.js.map +1 -1
  286. package/dist/index235.js +6 -10
  287. package/dist/index235.js.map +1 -1
  288. package/dist/index236.js +5 -9
  289. package/dist/index236.js.map +1 -1
  290. package/dist/index237.js +29 -6
  291. package/dist/index237.js.map +1 -1
  292. package/dist/index238.js +12 -5
  293. package/dist/index238.js.map +1 -1
  294. package/dist/index239.js +25 -4
  295. package/dist/index239.js.map +1 -1
  296. package/dist/index240.js +5 -5
  297. package/dist/index240.js.map +1 -1
  298. package/dist/index241.js +16 -6
  299. package/dist/index241.js.map +1 -1
  300. package/dist/index242.js +7 -5
  301. package/dist/index242.js.map +1 -1
  302. package/dist/index243.js +9 -15
  303. package/dist/index243.js.map +1 -1
  304. package/dist/index244.js +10 -7
  305. package/dist/index244.js.map +1 -1
  306. package/dist/index245.js +21 -10
  307. package/dist/index245.js.map +1 -1
  308. package/dist/index246.js +10 -10
  309. package/dist/index246.js.map +1 -1
  310. package/dist/index247.js +9 -21
  311. package/dist/index247.js.map +1 -1
  312. package/dist/index248.js +9 -10
  313. package/dist/index248.js.map +1 -1
  314. package/dist/index249.js +4 -9
  315. package/dist/index249.js.map +1 -1
  316. package/dist/index250.js +5 -9
  317. package/dist/index250.js.map +1 -1
  318. package/dist/index251.js +16 -4
  319. package/dist/index251.js.map +1 -1
  320. package/dist/index252.js +9 -5
  321. package/dist/index252.js.map +1 -1
  322. package/dist/index253.js +18 -16
  323. package/dist/index253.js.map +1 -1
  324. package/dist/index254.js +15 -9
  325. package/dist/index254.js.map +1 -1
  326. package/dist/index255.js +8 -14
  327. package/dist/index255.js.map +1 -1
  328. package/dist/index256.js +13 -15
  329. package/dist/index256.js.map +1 -1
  330. package/dist/index257.js +154 -12
  331. package/dist/index257.js.map +1 -1
  332. package/dist/index258.js +29 -28
  333. package/dist/index258.js.map +1 -1
  334. package/dist/index259.js +9 -12
  335. package/dist/index259.js.map +1 -1
  336. package/dist/index260.js +46 -23
  337. package/dist/index260.js.map +1 -1
  338. package/dist/index261.js +11 -5
  339. package/dist/index261.js.map +1 -1
  340. package/dist/index262.js +43 -23
  341. package/dist/index262.js.map +1 -1
  342. package/dist/index263.js +95 -28
  343. package/dist/index263.js.map +1 -1
  344. package/dist/index264.js +87 -5
  345. package/dist/index264.js.map +1 -1
  346. package/dist/index265.js +105 -20
  347. package/dist/index265.js.map +1 -1
  348. package/dist/index266.js +52 -4
  349. package/dist/index266.js.map +1 -1
  350. package/dist/index267.js +11 -17
  351. package/dist/index267.js.map +1 -1
  352. package/dist/index268.js +37 -12
  353. package/dist/index268.js.map +1 -1
  354. package/dist/index269.js +9 -5
  355. package/dist/index269.js.map +1 -1
  356. package/dist/index270.js +117 -3
  357. package/dist/index270.js.map +1 -1
  358. package/dist/index271.js +17 -23
  359. package/dist/index271.js.map +1 -1
  360. package/dist/index272.js +14 -111
  361. package/dist/index272.js.map +1 -1
  362. package/dist/index273.js +3 -15
  363. package/dist/index273.js.map +1 -1
  364. package/dist/index274.js +29 -522
  365. package/dist/index274.js.map +1 -1
  366. package/dist/index275.js +19 -124
  367. package/dist/index275.js.map +1 -1
  368. package/dist/index276.js +9 -133
  369. package/dist/index276.js.map +1 -1
  370. package/dist/index277.js +8 -4
  371. package/dist/index277.js.map +1 -1
  372. package/dist/index278.js +19 -4
  373. package/dist/index278.js.map +1 -1
  374. package/dist/index279.js +29 -4
  375. package/dist/index279.js.map +1 -1
  376. package/dist/index28.js +1 -1
  377. package/dist/index280.js +16 -15
  378. package/dist/index280.js.map +1 -1
  379. package/dist/index281.js +66 -8
  380. package/dist/index281.js.map +1 -1
  381. package/dist/index282.js +8 -5
  382. package/dist/index282.js.map +1 -1
  383. package/dist/index283.js +11 -4
  384. package/dist/index283.js.map +1 -1
  385. package/dist/index284.js +7 -544
  386. package/dist/index284.js.map +1 -1
  387. package/dist/index285.js +6 -47
  388. package/dist/index285.js.map +1 -1
  389. package/dist/index286.js +13 -17
  390. package/dist/index286.js.map +1 -1
  391. package/dist/index287.js +3 -5
  392. package/dist/index287.js.map +1 -1
  393. package/dist/index288.js +3 -7
  394. package/dist/index288.js.map +1 -1
  395. package/dist/index289.js +99 -6
  396. package/dist/index289.js.map +1 -1
  397. package/dist/index290.js +17 -7
  398. package/dist/index290.js.map +1 -1
  399. package/dist/index291.js +5 -11
  400. package/dist/index291.js.map +1 -1
  401. package/dist/index292.js +29 -8
  402. package/dist/index292.js.map +1 -1
  403. package/dist/index293.js +51 -12
  404. package/dist/index293.js.map +1 -1
  405. package/dist/index294.js +131 -66
  406. package/dist/index294.js.map +1 -1
  407. package/dist/index295.js +9 -9
  408. package/dist/index295.js.map +1 -1
  409. package/dist/index296.js +5 -14
  410. package/dist/index296.js.map +1 -1
  411. package/dist/index297.js +4 -66
  412. package/dist/index297.js.map +1 -1
  413. package/dist/index298.js +11 -64
  414. package/dist/index298.js.map +1 -1
  415. package/dist/index299.js +21 -4
  416. package/dist/index299.js.map +1 -1
  417. package/dist/index30.js +1 -1
  418. package/dist/index300.js +121 -54
  419. package/dist/index300.js.map +1 -1
  420. package/dist/index301.js +28 -68
  421. package/dist/index301.js.map +1 -1
  422. package/dist/index302.js +33 -31
  423. package/dist/index302.js.map +1 -1
  424. package/dist/index303.js +74 -9
  425. package/dist/index303.js.map +1 -1
  426. package/dist/index304.js +262 -152
  427. package/dist/index304.js.map +1 -1
  428. package/dist/index305.js +28 -107
  429. package/dist/index305.js.map +1 -1
  430. package/dist/index306.js +6 -3
  431. package/dist/index306.js.map +1 -1
  432. package/dist/index307.js +141 -21
  433. package/dist/index307.js.map +1 -1
  434. package/dist/index308.js +61 -15
  435. package/dist/index308.js.map +1 -1
  436. package/dist/index309.js +48 -27
  437. package/dist/index309.js.map +1 -1
  438. package/dist/index31.js +227 -120
  439. package/dist/index31.js.map +1 -1
  440. package/dist/index310.js +15 -13
  441. package/dist/index310.js.map +1 -1
  442. package/dist/index311.js +20 -7
  443. package/dist/index311.js.map +1 -1
  444. package/dist/index312.js +12 -23
  445. package/dist/index312.js.map +1 -1
  446. package/dist/index313.js +51 -13
  447. package/dist/index313.js.map +1 -1
  448. package/dist/index314.js +14 -25
  449. package/dist/index314.js.map +1 -1
  450. package/dist/index315.js +22 -5
  451. package/dist/index315.js.map +1 -1
  452. package/dist/index316.js +55 -0
  453. package/dist/index316.js.map +1 -0
  454. package/dist/index317.js +29 -0
  455. package/dist/index317.js.map +1 -0
  456. package/dist/index318.js +45 -0
  457. package/dist/index318.js.map +1 -0
  458. package/dist/index319.js +43 -0
  459. package/dist/index319.js.map +1 -0
  460. package/dist/index32.js +21 -229
  461. package/dist/index32.js.map +1 -1
  462. package/dist/index320.js +48 -0
  463. package/dist/index320.js.map +1 -0
  464. package/dist/index321.js +24 -0
  465. package/dist/index321.js.map +1 -0
  466. package/dist/index322.js +74 -0
  467. package/dist/index322.js.map +1 -0
  468. package/dist/index323.js +21 -0
  469. package/dist/index323.js.map +1 -0
  470. package/dist/index324.js +15 -0
  471. package/dist/index324.js.map +1 -0
  472. package/dist/index325.js +17 -0
  473. package/dist/index325.js.map +1 -0
  474. package/dist/index326.js +22 -0
  475. package/dist/index326.js.map +1 -0
  476. package/dist/index327.js +40 -0
  477. package/dist/index327.js.map +1 -0
  478. package/dist/index328.js +282 -0
  479. package/dist/index328.js.map +1 -0
  480. package/dist/index329.js +72 -0
  481. package/dist/index329.js.map +1 -0
  482. package/dist/index33.js +4 -23
  483. package/dist/index33.js.map +1 -1
  484. package/dist/index330.js +87 -0
  485. package/dist/index330.js.map +1 -0
  486. package/dist/index331.js +7 -0
  487. package/dist/index331.js.map +1 -0
  488. package/dist/index332.js +33 -0
  489. package/dist/index332.js.map +1 -0
  490. package/dist/index333.js +20 -0
  491. package/dist/index333.js.map +1 -0
  492. package/dist/index334.js +38 -0
  493. package/dist/index334.js.map +1 -0
  494. package/dist/index335.js +20 -0
  495. package/dist/index335.js.map +1 -0
  496. package/dist/index336.js +7 -0
  497. package/dist/index336.js.map +1 -0
  498. package/dist/index337.js +30 -0
  499. package/dist/index337.js.map +1 -0
  500. package/dist/index338.js +7 -0
  501. package/dist/index338.js.map +1 -0
  502. package/dist/index339.js +82 -0
  503. package/dist/index339.js.map +1 -0
  504. package/dist/index34.js +62 -51
  505. package/dist/index34.js.map +1 -1
  506. package/dist/index340.js +273 -0
  507. package/dist/index340.js.map +1 -0
  508. package/dist/index341.js +15 -0
  509. package/dist/index341.js.map +1 -0
  510. package/dist/index342.js +14 -0
  511. package/dist/index342.js.map +1 -0
  512. package/dist/index343.js +29 -0
  513. package/dist/index343.js.map +1 -0
  514. package/dist/index344.js +20 -0
  515. package/dist/index344.js.map +1 -0
  516. package/dist/index345.js +129 -0
  517. package/dist/index345.js.map +1 -0
  518. package/dist/index346.js +9 -0
  519. package/dist/index346.js.map +1 -0
  520. package/dist/index347.js +44 -0
  521. package/dist/index347.js.map +1 -0
  522. package/dist/index348.js +69 -0
  523. package/dist/index348.js.map +1 -0
  524. package/dist/index349.js +17 -0
  525. package/dist/index349.js.map +1 -0
  526. package/dist/index35.js +38 -21
  527. package/dist/index35.js.map +1 -1
  528. package/dist/index350.js +11 -0
  529. package/dist/index350.js.map +1 -0
  530. package/dist/index351.js +9 -0
  531. package/dist/index351.js.map +1 -0
  532. package/dist/index352.js +7 -0
  533. package/dist/index352.js.map +1 -0
  534. package/dist/index353.js +14 -0
  535. package/dist/index353.js.map +1 -0
  536. package/dist/index354.js +11 -0
  537. package/dist/index354.js.map +1 -0
  538. package/dist/index355.js +403 -0
  539. package/dist/index355.js.map +1 -0
  540. package/dist/index356.js +56 -0
  541. package/dist/index356.js.map +1 -0
  542. package/dist/index357.js +15 -0
  543. package/dist/index357.js.map +1 -0
  544. package/dist/index358.js +15 -0
  545. package/dist/index358.js.map +1 -0
  546. package/dist/index359.js +8 -0
  547. package/dist/index359.js.map +1 -0
  548. package/dist/index36.js +75 -127
  549. package/dist/index36.js.map +1 -1
  550. package/dist/index360.js +21 -0
  551. package/dist/index360.js.map +1 -0
  552. package/dist/index361.js +16 -0
  553. package/dist/index361.js.map +1 -0
  554. package/dist/index362.js +24 -0
  555. package/dist/index362.js.map +1 -0
  556. package/dist/index363.js +12 -0
  557. package/dist/index363.js.map +1 -0
  558. package/dist/index364.js +29 -0
  559. package/dist/index364.js.map +1 -0
  560. package/dist/index365.js +30 -0
  561. package/dist/index365.js.map +1 -0
  562. package/dist/index366.js +141 -0
  563. package/dist/index366.js.map +1 -0
  564. package/dist/index367.js +16 -0
  565. package/dist/index367.js.map +1 -0
  566. package/dist/index368.js +230 -0
  567. package/dist/index368.js.map +1 -0
  568. package/dist/index369.js +7 -0
  569. package/dist/index369.js.map +1 -0
  570. package/dist/index37.js +22 -221
  571. package/dist/index37.js.map +1 -1
  572. package/dist/index370.js +23 -0
  573. package/dist/index370.js.map +1 -0
  574. package/dist/index371.js +81 -0
  575. package/dist/index371.js.map +1 -0
  576. package/dist/index372.js +15 -0
  577. package/dist/index372.js.map +1 -0
  578. package/dist/index373.js +7 -0
  579. package/dist/index373.js.map +1 -0
  580. package/dist/index374.js +81 -0
  581. package/dist/index374.js.map +1 -0
  582. package/dist/index375.js +204 -0
  583. package/dist/index375.js.map +1 -0
  584. package/dist/index376.js +75 -0
  585. package/dist/index376.js.map +1 -0
  586. package/dist/index377.js +12 -0
  587. package/dist/index377.js.map +1 -0
  588. package/dist/index378.js +19 -0
  589. package/dist/index378.js.map +1 -0
  590. package/dist/index379.js +20 -0
  591. package/dist/index379.js.map +1 -0
  592. package/dist/index38.js +37 -90
  593. package/dist/index38.js.map +1 -1
  594. package/dist/index380.js +7 -0
  595. package/dist/index380.js.map +1 -0
  596. package/dist/index381.js +15 -0
  597. package/dist/index381.js.map +1 -0
  598. package/dist/index382.js +9 -0
  599. package/dist/index382.js.map +1 -0
  600. package/dist/index383.js +24 -0
  601. package/dist/index383.js.map +1 -0
  602. package/dist/index384.js +48 -0
  603. package/dist/index384.js.map +1 -0
  604. package/dist/index385.js +21 -0
  605. package/dist/index385.js.map +1 -0
  606. package/dist/index386.js +8 -0
  607. package/dist/index386.js.map +1 -0
  608. package/dist/index387.js +8 -0
  609. package/dist/index387.js.map +1 -0
  610. package/dist/index388.js +8 -0
  611. package/dist/index388.js.map +1 -0
  612. package/dist/index389.js +7 -0
  613. package/dist/index389.js.map +1 -0
  614. package/dist/index39.js +28 -119
  615. package/dist/index39.js.map +1 -1
  616. package/dist/index390.js +19 -0
  617. package/dist/index390.js.map +1 -0
  618. package/dist/index391.js +12 -0
  619. package/dist/index391.js.map +1 -0
  620. package/dist/index392.js +9 -0
  621. package/dist/index392.js.map +1 -0
  622. package/dist/index393.js +8 -0
  623. package/dist/index393.js.map +1 -0
  624. package/dist/index394.js +549 -0
  625. package/dist/index394.js.map +1 -0
  626. package/dist/index395.js +50 -0
  627. package/dist/index395.js.map +1 -0
  628. package/dist/index396.js +21 -0
  629. package/dist/index396.js.map +1 -0
  630. package/dist/index397.js +9 -0
  631. package/dist/index397.js.map +1 -0
  632. package/dist/index398.js +11 -0
  633. package/dist/index398.js.map +1 -0
  634. package/dist/index399.js +10 -0
  635. package/dist/index399.js.map +1 -0
  636. package/dist/index40.js +23 -6
  637. package/dist/index40.js.map +1 -1
  638. package/dist/index400.js +11 -0
  639. package/dist/index400.js.map +1 -0
  640. package/dist/index401.js +15 -0
  641. package/dist/index401.js.map +1 -0
  642. package/dist/index402.js +12 -0
  643. package/dist/index402.js.map +1 -0
  644. package/dist/index403.js +16 -0
  645. package/dist/index403.js.map +1 -0
  646. package/dist/index404.js +18 -0
  647. package/dist/index404.js.map +1 -0
  648. package/dist/index405.js +495 -0
  649. package/dist/index405.js.map +1 -0
  650. package/dist/index406.js +6 -0
  651. package/dist/index406.js.map +1 -0
  652. package/dist/index407.js +6 -0
  653. package/dist/index407.js.map +1 -0
  654. package/dist/index408.js +8 -0
  655. package/dist/index408.js.map +1 -0
  656. package/dist/index409.js +59 -0
  657. package/dist/index409.js.map +1 -0
  658. package/dist/index41.js +51 -817
  659. package/dist/index41.js.map +1 -1
  660. package/dist/index410.js +71 -0
  661. package/dist/index410.js.map +1 -0
  662. package/dist/index411.js +34 -0
  663. package/dist/index411.js.map +1 -0
  664. package/dist/index412.js +12 -0
  665. package/dist/index412.js.map +1 -0
  666. package/dist/index413.js +156 -0
  667. package/dist/index413.js.map +1 -0
  668. package/dist/index414.js +111 -0
  669. package/dist/index414.js.map +1 -0
  670. package/dist/index415.js +11 -0
  671. package/dist/index415.js.map +1 -0
  672. package/dist/index416.js +5 -0
  673. package/dist/index416.js.map +1 -0
  674. package/dist/index417.js +47 -0
  675. package/dist/index417.js.map +1 -0
  676. package/dist/index418.js +59 -0
  677. package/dist/index418.js.map +1 -0
  678. package/dist/index419.js +11 -0
  679. package/dist/index419.js.map +1 -0
  680. package/dist/index42.js +51 -57
  681. package/dist/index42.js.map +1 -1
  682. package/dist/index420.js +5 -0
  683. package/dist/index420.js.map +1 -0
  684. package/dist/index421.js +58 -0
  685. package/dist/index421.js.map +1 -0
  686. package/dist/index422.js +59 -0
  687. package/dist/index422.js.map +1 -0
  688. package/dist/index423.js +19 -0
  689. package/dist/index423.js.map +1 -0
  690. package/dist/index424.js +32 -0
  691. package/dist/index424.js.map +1 -0
  692. package/dist/index425.js +16 -0
  693. package/dist/index425.js.map +1 -0
  694. package/dist/index426.js +10 -0
  695. package/dist/index426.js.map +1 -0
  696. package/dist/index427.js +5 -0
  697. package/dist/index427.js.map +1 -0
  698. package/dist/index428.js +5 -0
  699. package/dist/index428.js.map +1 -0
  700. package/dist/index429.js +5 -0
  701. package/dist/index429.js.map +1 -0
  702. package/dist/index43.js +21 -7
  703. package/dist/index43.js.map +1 -1
  704. package/dist/index430.js +5 -0
  705. package/dist/index430.js.map +1 -0
  706. package/dist/index44.js +130 -2
  707. package/dist/index44.js.map +1 -1
  708. package/dist/index45.js +221 -11
  709. package/dist/index45.js.map +1 -1
  710. package/dist/index46.js +90 -18
  711. package/dist/index46.js.map +1 -1
  712. package/dist/index47.js +118 -7
  713. package/dist/index47.js.map +1 -1
  714. package/dist/index48.js +6 -2
  715. package/dist/index48.js.map +1 -1
  716. package/dist/index49.js +326 -23
  717. package/dist/index49.js.map +1 -1
  718. package/dist/index50.js +247 -221
  719. package/dist/index50.js.map +1 -1
  720. package/dist/index51.js +27 -2
  721. package/dist/index51.js.map +1 -1
  722. package/dist/index52.js +129 -2
  723. package/dist/index52.js.map +1 -1
  724. package/dist/index53.js +26 -2
  725. package/dist/index53.js.map +1 -1
  726. package/dist/index54.js +23 -2
  727. package/dist/index54.js.map +1 -1
  728. package/dist/index55.js +145 -6
  729. package/dist/index55.js.map +1 -1
  730. package/dist/index56.js +34 -33
  731. package/dist/index56.js.map +1 -1
  732. package/dist/index57.js +28 -48
  733. package/dist/index57.js.map +1 -1
  734. package/dist/index58.js +41 -8
  735. package/dist/index58.js.map +1 -1
  736. package/dist/index59.js +21 -12
  737. package/dist/index59.js.map +1 -1
  738. package/dist/index6.js +84 -85
  739. package/dist/index6.js.map +1 -1
  740. package/dist/index60.js +132 -6
  741. package/dist/index60.js.map +1 -1
  742. package/dist/index61.js +51 -8
  743. package/dist/index61.js.map +1 -1
  744. package/dist/index62.js +30 -6
  745. package/dist/index62.js.map +1 -1
  746. package/dist/index63.js +57 -4
  747. package/dist/index63.js.map +1 -1
  748. package/dist/index64.js +7 -47
  749. package/dist/index64.js.map +1 -1
  750. package/dist/index65.js +2 -51
  751. package/dist/index65.js.map +1 -1
  752. package/dist/index66.js +11 -7
  753. package/dist/index66.js.map +1 -1
  754. package/dist/index67.js +17 -13
  755. package/dist/index67.js.map +1 -1
  756. package/dist/index68.js +7 -133
  757. package/dist/index68.js.map +1 -1
  758. package/dist/index69.js +2 -11
  759. package/dist/index69.js.map +1 -1
  760. package/dist/index7.js +123 -98
  761. package/dist/index7.js.map +1 -1
  762. package/dist/index70.js +22 -215
  763. package/dist/index70.js.map +1 -1
  764. package/dist/index71.js +234 -13
  765. package/dist/index71.js.map +1 -1
  766. package/dist/index72.js +2 -47
  767. package/dist/index72.js.map +1 -1
  768. package/dist/index73.js +2 -50
  769. package/dist/index73.js.map +1 -1
  770. package/dist/index74.js +2 -4
  771. package/dist/index74.js.map +1 -1
  772. package/dist/index75.js +2 -6
  773. package/dist/index75.js.map +1 -1
  774. package/dist/index76.js +6 -28
  775. package/dist/index76.js.map +1 -1
  776. package/dist/index77.js +8 -50
  777. package/dist/index77.js.map +1 -1
  778. package/dist/index78.js +6 -9
  779. package/dist/index78.js.map +1 -1
  780. package/dist/index79.js +52 -47
  781. package/dist/index79.js.map +1 -1
  782. package/dist/index8.js +53 -54
  783. package/dist/index8.js.map +1 -1
  784. package/dist/index80.js +4 -5
  785. package/dist/index80.js.map +1 -1
  786. package/dist/index81.js +4 -68
  787. package/dist/index81.js.map +1 -1
  788. package/dist/index82.js +16 -2
  789. package/dist/index82.js.map +1 -1
  790. package/dist/index83.js +5 -363
  791. package/dist/index83.js.map +1 -1
  792. package/dist/index84.js +7 -261
  793. package/dist/index84.js.map +1 -1
  794. package/dist/index85.js +16 -60
  795. package/dist/index85.js.map +1 -1
  796. package/dist/index86.js +4 -46
  797. package/dist/index86.js.map +1 -1
  798. package/dist/index87.js +4 -169
  799. package/dist/index87.js.map +1 -1
  800. package/dist/index88.js +5 -109
  801. package/dist/index88.js.map +1 -1
  802. package/dist/index89.js +5 -24
  803. package/dist/index89.js.map +1 -1
  804. package/dist/index9.js +1 -1
  805. package/dist/index90.js +5 -8
  806. package/dist/index90.js.map +1 -1
  807. package/dist/index91.js +4 -4
  808. package/dist/index91.js.map +1 -1
  809. package/dist/index92.js +6 -5
  810. package/dist/index92.js.map +1 -1
  811. package/dist/index93.js +24 -4
  812. package/dist/index93.js.map +1 -1
  813. package/dist/index94.js +6 -466
  814. package/dist/index94.js.map +1 -1
  815. package/dist/index95.js +4 -185
  816. package/dist/index95.js.map +1 -1
  817. package/dist/index96.js +6 -107
  818. package/dist/index96.js.map +1 -1
  819. package/dist/index97.js +5 -262
  820. package/dist/index97.js.map +1 -1
  821. package/dist/index98.js +4 -9
  822. package/dist/index98.js.map +1 -1
  823. package/dist/index99.js +5 -42
  824. package/dist/index99.js.map +1 -1
  825. package/dist/lib/render-as-child.d.ts +5 -0
  826. package/dist/lib/render-as-child.d.ts.map +1 -0
  827. package/package.json +3 -6
  828. package/dist/lib/react-compose-refs.d.ts +0 -5
  829. package/dist/lib/react-compose-refs.d.ts.map +0 -1
package/dist/index57.js CHANGED
@@ -1,52 +1,32 @@
1
- import * as f from "react";
2
- let s = 0;
3
- const r = /* @__PURE__ */ new WeakMap(), i = typeof queueMicrotask == "function" ? queueMicrotask : (e) => Promise.resolve().then(e);
4
- function o(e, t) {
5
- if (typeof e == "function") {
6
- if (t === null) {
7
- const n = ++s;
8
- r.set(e, n), i(() => {
9
- r.get(e) === n && (e(null), r.get(e) === n && r.delete(e));
10
- });
11
- return;
12
- }
13
- return r.delete(e), e(t);
14
- }
15
- e != null && (e.current = t);
16
- }
17
- function a(...e) {
18
- return (t) => {
19
- let n = !1;
20
- const c = e.map((l) => {
21
- const u = o(l, t);
22
- return !n && typeof u == "function" && (n = !0), u;
23
- });
24
- if (n)
25
- return () => {
26
- for (let l = 0; l < c.length; l += 1) {
27
- const u = c[l];
28
- typeof u == "function" ? u() : o(e[l], null);
29
- }
30
- };
1
+ import * as s from "react";
2
+ import { useRenderElement as p } from "./index172.js";
3
+ import { useSelectRootContext as c } from "./index315.js";
4
+ import { triggerOpenStateMapping as i } from "./index173.js";
5
+ import { selectors as m } from "./index320.js";
6
+ import { useStore as a } from "./index326.js";
7
+ const l = /* @__PURE__ */ s.forwardRef(function(e, t) {
8
+ const {
9
+ className: d,
10
+ render: u,
11
+ style: S,
12
+ ...o
13
+ } = e, {
14
+ store: r
15
+ } = c(), n = {
16
+ open: a(r, m.open)
31
17
  };
32
- }
33
- function d(e, t) {
34
- if (e.length !== t.length)
35
- return !1;
36
- for (let n = 0; n < e.length; n += 1)
37
- if (e[n] !== t[n])
38
- return !1;
39
- return !0;
40
- }
41
- function p(...e) {
42
- const t = f.useRef(null);
43
- return (t.current == null || !d(t.current.refs, e)) && (t.current = {
44
- callback: a(...e),
45
- refs: e
46
- }), t.current.callback;
47
- }
18
+ return p("span", e, {
19
+ state: n,
20
+ ref: t,
21
+ props: [{
22
+ "aria-hidden": !0,
23
+ children: "▼"
24
+ }, o],
25
+ stateAttributesMapping: i
26
+ });
27
+ });
28
+ process.env.NODE_ENV !== "production" && (l.displayName = "SelectIcon");
48
29
  export {
49
- a as composeRefs,
50
- p as useComposedRefs
30
+ l as SelectIcon
51
31
  };
52
32
  //# sourceMappingURL=index57.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index57.js","sources":["../src/lib/react-compose-refs.ts"],"sourcesContent":["import * as React from \"react\"\n\n\ntype PossibleCleanup = void | (() => void)\n\nlet nextDeferredNullId = 0\nconst deferredNullCalls = new WeakMap<React.RefCallback<unknown>, number>()\n\nconst scheduleMicrotask =\n typeof queueMicrotask === \"function\"\n ? queueMicrotask\n : (callback: () => void) => Promise.resolve().then(callback)\n\nfunction setRef<T>(ref: React.Ref<T> | undefined, value: T | null): PossibleCleanup {\n if (typeof ref === \"function\") {\n if (value === null) {\n const deferredNullId = ++nextDeferredNullId\n deferredNullCalls.set(ref, deferredNullId)\n\n scheduleMicrotask(() => {\n if (deferredNullCalls.get(ref) !== deferredNullId) {\n return\n }\n\n ref(null)\n if (deferredNullCalls.get(ref) === deferredNullId) {\n deferredNullCalls.delete(ref)\n }\n })\n\n return\n }\n\n deferredNullCalls.delete(ref)\n return ref(value)\n }\n\n if (ref != null) {\n ref.current = value\n }\n}\n\nfunction composeRefs<T>(...refs: Array<React.Ref<T> | undefined>) {\n return (node: T | null) => {\n let hasCleanup = false\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node)\n if (!hasCleanup && typeof cleanup === \"function\") {\n hasCleanup = true\n }\n return cleanup\n })\n\n if (hasCleanup) {\n return () => {\n for (let index = 0; index < cleanups.length; index += 1) {\n const cleanup = cleanups[index]\n\n if (typeof cleanup === \"function\") {\n cleanup()\n } else {\n setRef(refs[index], null)\n }\n }\n }\n }\n }\n}\n\nfunction haveSameRefs<T>(\n previousRefs: Array<React.Ref<T> | undefined>,\n nextRefs: Array<React.Ref<T> | undefined>,\n) {\n if (previousRefs.length !== nextRefs.length) {\n return false\n }\n\n for (let index = 0; index < previousRefs.length; index += 1) {\n if (previousRefs[index] !== nextRefs[index]) {\n return false\n }\n }\n\n return true\n}\n\nfunction useComposedRefs<T>(...refs: Array<React.Ref<T> | undefined>) {\n const composedRefsRef = React.useRef<{\n callback: ReturnType<typeof composeRefs<T>>\n refs: Array<React.Ref<T> | undefined>\n } | null>(null)\n\n if (\n composedRefsRef.current == null ||\n !haveSameRefs(composedRefsRef.current.refs, refs)\n ) {\n composedRefsRef.current = {\n callback: composeRefs(...refs),\n refs,\n }\n }\n\n return composedRefsRef.current.callback\n}\n\nexport {\n composeRefs,\n useComposedRefs,\n}\n"],"names":["nextDeferredNullId","deferredNullCalls","WeakMap","scheduleMicrotask","queueMicrotask","callback","Promise","resolve","then","setRef","ref","value","deferredNullId","set","get","delete","current","composeRefs","refs","node","hasCleanup","cleanups","map","cleanup","index","length","haveSameRefs","previousRefs","nextRefs","useComposedRefs","composedRefsRef","React","useRef"],"mappings":";AAKA,IAAIA,IAAqB;AACzB,MAAMC,wBAAwBC,QAAAA,GAExBC,IACJ,OAAOC,kBAAmB,aACtBA,iBACA,CAACC,MAAyBC,QAAQC,QAAAA,EAAUC,KAAKH,CAAQ;AAE/D,SAASI,EAAUC,GAA+BC,GAAkC;AAClF,MAAI,OAAOD,KAAQ,YAAY;AAC7B,QAAIC,MAAU,MAAM;AAClB,YAAMC,IAAiB,EAAEZ;AACzBC,MAAAA,EAAkBY,IAAIH,GAAKE,CAAc,GAEzCT,EAAkB,MAAM;AACtB,QAAIF,EAAkBa,IAAIJ,CAAG,MAAME,MAInCF,EAAI,IAAI,GACJT,EAAkBa,IAAIJ,CAAG,MAAME,KACjCX,EAAkBc,OAAOL,CAAG;AAAA,MAEhC,CAAC;AAED;AAAA,IACF;AAEAT,WAAAA,EAAkBc,OAAOL,CAAG,GACrBA,EAAIC,CAAK;AAAA,EAClB;AAEA,EAAID,KAAO,SACTA,EAAIM,UAAUL;AAElB;AAEA,SAASM,KAAkBC,GAAuC;AAChE,SAAO,CAACC,MAAmB;AACzB,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAKI,IAAKZ,CAAAA,MAAQ;AACjC,YAAMa,IAAUd,EAAOC,GAAKS,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOG,KAAY,eACpCH,IAAa,KAERG;AAAAA,IACT,CAAC;AAED,QAAIH;AACF,aAAO,MAAM;AACX,iBAASI,IAAQ,GAAGA,IAAQH,EAASI,QAAQD,KAAS,GAAG;AACvD,gBAAMD,IAAUF,EAASG,CAAK;AAE9B,UAAI,OAAOD,KAAY,aACrBA,EAAAA,IAEAd,EAAOS,EAAKM,CAAK,GAAG,IAAI;AAAA,QAE5B;AAAA,MACF;AAAA,EAEJ;AACF;AAEA,SAASE,EACPC,GACAC,GACA;AACA,MAAID,EAAaF,WAAWG,EAASH;AACnC,WAAO;AAGT,WAASD,IAAQ,GAAGA,IAAQG,EAAaF,QAAQD,KAAS;AACxD,QAAIG,EAAaH,CAAK,MAAMI,EAASJ,CAAK;AACxC,aAAO;AAIX,SAAO;AACT;AAEA,SAASK,KAAsBX,GAAuC;AACpE,QAAMY,IAAkBC,EAAMC,OAGpB,IAAI;AAEd,UACEF,EAAgBd,WAAW,QAC3B,CAACU,EAAaI,EAAgBd,QAAQE,MAAMA,CAAI,OAEhDY,EAAgBd,UAAU;AAAA,IACxBX,UAAUY,EAAY,GAAGC,CAAI;AAAA,IAC7BA,MAAAA;AAAAA,EAAAA,IAIGY,EAAgBd,QAAQX;AACjC;"}
1
+ {"version":3,"file":"index57.js","sources":["../../../node_modules/@base-ui/react/esm/select/icon/SelectIcon.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useStore } from '@base-ui/utils/store';\nimport { useRenderElement } from \"../../internals/useRenderElement.js\";\nimport { useSelectRootContext } from \"../root/SelectRootContext.js\";\nimport { triggerOpenStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { selectors } from \"../store.js\";\n\n/**\n * An icon that indicates that the trigger button opens a select popup.\n * Renders a `<span>` element.\n *\n * Documentation: [Base UI Select](https://base-ui.com/react/components/select)\n */\nexport const SelectIcon = /*#__PURE__*/React.forwardRef(function SelectIcon(componentProps, forwardedRef) {\n const {\n className,\n render,\n style,\n ...elementProps\n } = componentProps;\n const {\n store\n } = useSelectRootContext();\n const open = useStore(store, selectors.open);\n const state = {\n open\n };\n const element = useRenderElement('span', componentProps, {\n state,\n ref: forwardedRef,\n props: [{\n 'aria-hidden': true,\n children: '▼'\n }, elementProps],\n stateAttributesMapping: triggerOpenStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") SelectIcon.displayName = \"SelectIcon\";"],"names":["SelectIcon","React","componentProps","forwardedRef","className","render","style","elementProps","store","useSelectRootContext","state","useStore","selectors","useRenderElement","triggerOpenStateMapping"],"mappings":";;;;;;AAeY,MAACA,IAA0B,gBAAAC,EAAM,WAAW,SAAoBC,GAAgBC,GAAc;AACxG,QAAM;AAAA,IACJ,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,IACA,GAAGC;AAAA,EACP,IAAML,GACE;AAAA,IACJ,OAAAM;AAAA,EACJ,IAAMC,EAAoB,GAElBC,IAAQ;AAAA,IACZ,MAFWC,EAASH,GAAOI,EAAU,IAAI;AAAA,EAG7C;AAUE,SATgBC,EAAiB,QAAQX,GAAgB;AAAA,IACvD,OAAAQ;AAAA,IACA,KAAKP;AAAA,IACL,OAAO,CAAC;AAAA,MACN,eAAe;AAAA,MACf,UAAU;AAAA,IAChB,GAAOI,CAAY;AAAA,IACf,wBAAwBO;AAAA,EAC5B,CAAG;AAEH,CAAC;AACG,QAAQ,IAAI,aAAa,iBAAcd,EAAW,cAAc;","x_google_ignoreList":[0]}
package/dist/index58.js CHANGED
@@ -1,11 +1,44 @@
1
- import * as e from "react";
2
- function c(r) {
3
- const t = e.useRef(r);
4
- return e.useEffect(() => {
5
- t.current = r;
6
- }), e.useMemo(() => (...u) => t.current?.(...u), []);
7
- }
1
+ import * as u from "react";
2
+ import { useStableCallback as S } from "./index292.js";
3
+ import { useSelectRootContext as N } from "./index315.js";
4
+ import { useSelectPositionerContext as L } from "./index341.js";
5
+ import { useRenderElement as b } from "./index172.js";
6
+ import { styleDisableScrollbar as h } from "./index349.js";
7
+ import { LIST_FUNCTIONAL_STYLES as E } from "./index342.js";
8
+ import { selectors as t } from "./index320.js";
9
+ import { useStore as o } from "./index326.js";
10
+ const R = /* @__PURE__ */ u.forwardRef(function(s, l) {
11
+ const {
12
+ className: g,
13
+ render: x,
14
+ style: y,
15
+ ...i
16
+ } = s, {
17
+ store: e,
18
+ scrollHandlerRef: c
19
+ } = N(), {
20
+ alignItemWithTriggerActive: n
21
+ } = L(), m = o(e, t.hasScrollArrows), a = o(e, t.openMethod), p = o(e, t.multiple), d = {
22
+ id: `${o(e, t.id)}-list`,
23
+ role: "listbox",
24
+ "aria-multiselectable": p || void 0,
25
+ onScroll(r) {
26
+ c.current?.(r.currentTarget);
27
+ },
28
+ ...n && {
29
+ style: E
30
+ },
31
+ className: m && a !== "touch" ? h.className : void 0
32
+ }, f = S((r) => {
33
+ e.set("listElement", r);
34
+ });
35
+ return b("div", s, {
36
+ ref: [l, f],
37
+ props: [d, i]
38
+ });
39
+ });
40
+ process.env.NODE_ENV !== "production" && (R.displayName = "SelectList");
8
41
  export {
9
- c as useCallbackRef
42
+ R as SelectList
10
43
  };
11
44
  //# sourceMappingURL=index58.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index58.js","sources":["../../../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args"],"mappings":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EACxB,CAAC,GACME,EAAM,QAAQ,MAAM,IAAIC,MAASF,EAAY,UAAU,GAAGE,CAAI,GAAG,EAAE;AAC5E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index58.js","sources":["../../../node_modules/@base-ui/react/esm/select/list/SelectList.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useStore } from '@base-ui/utils/store';\nimport { useSelectRootContext } from \"../root/SelectRootContext.js\";\nimport { useSelectPositionerContext } from \"../positioner/SelectPositionerContext.js\";\nimport { useRenderElement } from \"../../internals/useRenderElement.js\";\nimport { styleDisableScrollbar } from \"../../utils/styles.js\";\nimport { LIST_FUNCTIONAL_STYLES } from \"../popup/utils.js\";\nimport { selectors } from \"../store.js\";\n\n/**\n * A container for the select items.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Select](https://base-ui.com/react/components/select)\n */\nexport const SelectList = /*#__PURE__*/React.forwardRef(function SelectList(componentProps, forwardedRef) {\n const {\n className,\n render,\n style,\n ...elementProps\n } = componentProps;\n const {\n store,\n scrollHandlerRef\n } = useSelectRootContext();\n const {\n alignItemWithTriggerActive\n } = useSelectPositionerContext();\n const hasScrollArrows = useStore(store, selectors.hasScrollArrows);\n const openMethod = useStore(store, selectors.openMethod);\n const multiple = useStore(store, selectors.multiple);\n const id = useStore(store, selectors.id);\n const defaultProps = {\n id: `${id}-list`,\n role: 'listbox',\n 'aria-multiselectable': multiple || undefined,\n onScroll(event) {\n scrollHandlerRef.current?.(event.currentTarget);\n },\n ...(alignItemWithTriggerActive && {\n style: LIST_FUNCTIONAL_STYLES\n }),\n className: hasScrollArrows && openMethod !== 'touch' ? styleDisableScrollbar.className : undefined\n };\n const setListElement = useStableCallback(element => {\n store.set('listElement', element);\n });\n return useRenderElement('div', componentProps, {\n ref: [forwardedRef, setListElement],\n props: [defaultProps, elementProps]\n });\n});\nif (process.env.NODE_ENV !== \"production\") SelectList.displayName = \"SelectList\";"],"names":["SelectList","React","componentProps","forwardedRef","className","render","style","elementProps","store","scrollHandlerRef","useSelectRootContext","alignItemWithTriggerActive","useSelectPositionerContext","hasScrollArrows","useStore","selectors","openMethod","multiple","defaultProps","event","LIST_FUNCTIONAL_STYLES","styleDisableScrollbar","setListElement","useStableCallback","element","useRenderElement"],"mappings":";;;;;;;;;AAkBY,MAACA,IAA0B,gBAAAC,EAAM,WAAW,SAAoBC,GAAgBC,GAAc;AACxG,QAAM;AAAA,IACJ,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,IACA,GAAGC;AAAA,EACP,IAAML,GACE;AAAA,IACJ,OAAAM;AAAA,IACA,kBAAAC;AAAA,EACJ,IAAMC,EAAoB,GAClB;AAAA,IACJ,4BAAAC;AAAA,EACJ,IAAMC,EAA0B,GACxBC,IAAkBC,EAASN,GAAOO,EAAU,eAAe,GAC3DC,IAAaF,EAASN,GAAOO,EAAU,UAAU,GACjDE,IAAWH,EAASN,GAAOO,EAAU,QAAQ,GAE7CG,IAAe;AAAA,IACnB,IAAI,GAFKJ,EAASN,GAAOO,EAAU,EAAE,CAE5B;AAAA,IACT,MAAM;AAAA,IACN,wBAAwBE,KAAY;AAAA,IACpC,SAASE,GAAO;AACd,MAAAV,EAAiB,UAAUU,EAAM,aAAa;AAAA,IAChD;AAAA,IACA,GAAIR,KAA8B;AAAA,MAChC,OAAOS;AAAA,IACb;AAAA,IACI,WAAWP,KAAmBG,MAAe,UAAUK,EAAsB,YAAY;AAAA,EAC7F,GACQC,IAAiBC,EAAkB,CAAAC,MAAW;AAClD,IAAAhB,EAAM,IAAI,eAAegB,CAAO;AAAA,EAClC,CAAC;AACD,SAAOC,EAAiB,OAAOvB,GAAgB;AAAA,IAC7C,KAAK,CAACC,GAAcmB,CAAc;AAAA,IAClC,OAAO,CAACJ,GAAcX,CAAY;AAAA,EACtC,CAAG;AACH,CAAC;AACG,QAAQ,IAAI,aAAa,iBAAcP,EAAW,cAAc;","x_google_ignoreList":[0]}
package/dist/index59.js CHANGED
@@ -1,15 +1,24 @@
1
- import * as r from "react";
2
- import { useCallbackRef as s } from "./index58.js";
3
- function p(n, e = globalThis?.document) {
4
- const t = s(n);
5
- r.useEffect(() => {
6
- const o = (a) => {
7
- a.key === "Escape" && t(a);
8
- };
9
- return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
10
- }, [t, e]);
11
- }
1
+ import * as m from "react";
2
+ import { SelectPortalContext as i } from "./index338.js";
3
+ import { useSelectRootContext as u } from "./index315.js";
4
+ import { selectors as t } from "./index320.js";
5
+ import { j as r } from "./index30.js";
6
+ import { useStore as e } from "./index326.js";
7
+ import { FloatingPortal as f } from "./index187.js";
8
+ const a = /* @__PURE__ */ m.forwardRef(function(n, s) {
9
+ const {
10
+ store: o
11
+ } = u(), l = e(o, t.mounted), c = e(o, t.forceMount);
12
+ return l || c ? /* @__PURE__ */ r.jsx(i.Provider, {
13
+ value: !0,
14
+ children: /* @__PURE__ */ r.jsx(f, {
15
+ ref: s,
16
+ ...n
17
+ })
18
+ }) : null;
19
+ });
20
+ process.env.NODE_ENV !== "production" && (a.displayName = "SelectPortal");
12
21
  export {
13
- p as useEscapeKeydown
22
+ a as SelectPortal
14
23
  };
15
24
  //# sourceMappingURL=index59.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index59.js","sources":["../../../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,YAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAEzB;AACA,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC5F,GAAG,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index59.js","sources":["../../../node_modules/@base-ui/react/esm/select/portal/SelectPortal.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useStore } from '@base-ui/utils/store';\nimport { FloatingPortal } from \"../../floating-ui-react/index.js\";\nimport { SelectPortalContext } from \"./SelectPortalContext.js\";\nimport { useSelectRootContext } from \"../root/SelectRootContext.js\";\nimport { selectors } from \"../store.js\";\n\n/**\n * A portal element that moves the popup to a different part of the DOM.\n * By default, the portal element is appended to `<body>`.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Select](https://base-ui.com/react/components/select)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const SelectPortal = /*#__PURE__*/React.forwardRef(function SelectPortal(portalProps, forwardedRef) {\n const {\n store\n } = useSelectRootContext();\n const mounted = useStore(store, selectors.mounted);\n const forceMount = useStore(store, selectors.forceMount);\n const shouldRender = mounted || forceMount;\n if (!shouldRender) {\n return null;\n }\n return /*#__PURE__*/_jsx(SelectPortalContext.Provider, {\n value: true,\n children: /*#__PURE__*/_jsx(FloatingPortal, {\n ref: forwardedRef,\n ...portalProps\n })\n });\n});\nif (process.env.NODE_ENV !== \"production\") SelectPortal.displayName = \"SelectPortal\";"],"names":["SelectPortal","React","portalProps","forwardedRef","store","useSelectRootContext","mounted","useStore","selectors","forceMount","_jsx","SelectPortalContext","FloatingPortal"],"mappings":";;;;;;;AAiBY,MAACA,IAA4B,gBAAAC,EAAM,WAAW,SAAsBC,GAAaC,GAAc;AACzG,QAAM;AAAA,IACJ,OAAAC;AAAA,EACJ,IAAMC,EAAoB,GAClBC,IAAUC,EAASH,GAAOI,EAAU,OAAO,GAC3CC,IAAaF,EAASH,GAAOI,EAAU,UAAU;AAEvD,SADqBF,KAAWG,IAIZC,gBAAAA,EAAAA,IAAKC,EAAoB,UAAU;AAAA,IACrD,OAAO;AAAA,IACP,UAAuBD,gBAAAA,EAAAA,IAAKE,GAAgB;AAAA,MAC1C,KAAKT;AAAA,MACL,GAAGD;AAAA,IACT,CAAK;AAAA,EACL,CAAG,IARQ;AASX,CAAC;AACG,QAAQ,IAAI,aAAa,iBAAcF,EAAa,cAAc;","x_google_ignoreList":[0]}
package/dist/index6.js CHANGED
@@ -1,27 +1,26 @@
1
- import { j as h } from "./index30.js";
1
+ import { j as w } from "./index30.js";
2
2
  import { c as le } from "./index28.js";
3
- import { CalendarDays as pe, ChevronLeft as ve, ChevronRight as xe } from "lucide-react";
3
+ import { CalendarDays as pe, ChevronLeft as he, ChevronRight as ve } from "lucide-react";
4
4
  import * as r from "react";
5
- import { DismissableLayerBranch as me } from "./index31.js";
6
- import { createPortal as ge } from "react-dom";
7
- import { IMaskInput as De } from "react-imask";
8
- import ke, { InputMask as Ne } from "imask";
9
- import { useIsTouchDevice as Ee } from "./index21.js";
5
+ import { createPortal as me } from "react-dom";
6
+ import { IMaskInput as xe } from "react-imask";
7
+ import De, { InputMask as ke } from "imask";
8
+ import { useIsTouchDevice as Ne } from "./index21.js";
10
9
  import { cn as ee } from "./index2.js";
11
- import { DayPicker as Pe } from "./index32.js";
12
- import { dateMatchModifiers as Me } from "./index33.js";
13
- const de = ke;
14
- typeof de.InputMask != "function" && (de.InputMask = Ne);
10
+ import { DayPicker as Ee } from "./index31.js";
11
+ import { dateMatchModifiers as Pe } from "./index32.js";
12
+ const de = De;
13
+ typeof de.InputMask != "function" && (de.InputMask = ke);
15
14
  function ce(o) {
16
15
  const e = le.c(18);
17
- let l, i, w, b, x;
16
+ let l, i, b, h, x;
18
17
  e[0] !== o ? ({
19
18
  className: l,
20
19
  classNames: i,
21
- components: w,
20
+ components: b,
22
21
  showOutsideDays: x,
23
- ...b
24
- } = o, e[0] = o, e[1] = l, e[2] = i, e[3] = w, e[4] = b, e[5] = x) : (l = e[1], i = e[2], w = e[3], b = e[4], x = e[5]);
22
+ ...h
23
+ } = o, e[0] = o, e[1] = l, e[2] = i, e[3] = b, e[4] = h, e[5] = x) : (l = e[1], i = e[2], b = e[3], h = e[4], x = e[5]);
25
24
  const d = x === void 0 ? !0 : x;
26
25
  let k;
27
26
  e[6] !== l ? (k = ee("p-3", l), e[6] = l, e[7] = k) : k = e[7];
@@ -57,15 +56,15 @@ function ce(o) {
57
56
  ...i
58
57
  }, e[8] = i, e[9] = j) : j = e[9];
59
58
  let N;
60
- e[10] !== w ? (N = {
61
- Chevron: Re,
62
- ...w
63
- }, e[10] = w, e[11] = N) : N = e[11];
59
+ e[10] !== b ? (N = {
60
+ Chevron: Me,
61
+ ...b
62
+ }, e[10] = b, e[11] = N) : N = e[11];
64
63
  let I;
65
- return e[12] !== b || e[13] !== d || e[14] !== k || e[15] !== j || e[16] !== N ? (I = /* @__PURE__ */ h.jsx(Pe, { weekStartsOn: 1, showOutsideDays: d, className: k, classNames: j, components: N, ...b }), e[12] = b, e[13] = d, e[14] = k, e[15] = j, e[16] = N, e[17] = I) : I = e[17], I;
64
+ return e[12] !== h || e[13] !== d || e[14] !== k || e[15] !== j || e[16] !== N ? (I = /* @__PURE__ */ w.jsx(Ee, { weekStartsOn: 1, showOutsideDays: d, className: k, classNames: j, components: N, ...h }), e[12] = h, e[13] = d, e[14] = k, e[15] = j, e[16] = N, e[17] = I) : I = e[17], I;
66
65
  }
67
- function Re(o) {
68
- return o.orientation === "left" ? /* @__PURE__ */ h.jsx(ve, { ...o, className: "h-4 w-4" }) : /* @__PURE__ */ h.jsx(xe, { ...o, className: "h-4 w-4" });
66
+ function Me(o) {
67
+ return o.orientation === "left" ? /* @__PURE__ */ w.jsx(he, { ...o, className: "h-4 w-4" }) : /* @__PURE__ */ w.jsx(ve, { ...o, className: "h-4 w-4" });
69
68
  }
70
69
  ce.displayName = "DayPicker";
71
70
  function oe(o) {
@@ -100,28 +99,28 @@ function ue(o, e) {
100
99
  month: Number(i[2]),
101
100
  year: Number(i[3])
102
101
  });
103
- const w = /^(\d{2})\/(\d{2})\/(\d{2})$/.exec(l);
104
- if (w) {
105
- const x = Number(w[3]);
102
+ const b = /^(\d{2})\/(\d{2})\/(\d{2})$/.exec(l);
103
+ if (b) {
104
+ const x = Number(b[3]);
106
105
  return Number.isFinite(x) ? se({
107
- day: Number(w[1]),
108
- month: Number(w[2]),
106
+ day: Number(b[1]),
107
+ month: Number(b[2]),
109
108
  year: 2e3 + x
110
109
  }) : null;
111
110
  }
112
- const b = /^(\d{2})\/(\d{2})$/.exec(l);
113
- return b ? se({
114
- day: Number(b[1]),
115
- month: Number(b[2]),
111
+ const h = /^(\d{2})\/(\d{2})$/.exec(l);
112
+ return h ? se({
113
+ day: Number(h[1]),
114
+ month: Number(h[2]),
116
115
  year: e.getFullYear()
117
116
  }) : null;
118
117
  }
119
- const ye = r.forwardRef(function({
118
+ const ge = r.forwardRef(function({
120
119
  value: e,
121
120
  onChange: l,
122
121
  onValueUpdate: i,
123
- className: w,
124
- inputClassName: b,
122
+ className: b,
123
+ inputClassName: h,
125
124
  placeholder: x = "DD/MM/YYYY",
126
125
  disabled: d,
127
126
  readOnly: k,
@@ -130,13 +129,13 @@ const ye = r.forwardRef(function({
130
129
  dayPickerComponent: I,
131
130
  dayPickerProps: O,
132
131
  onFocus: $,
133
- onBlur: L,
132
+ onBlur: F,
134
133
  onKeyDown: Y,
135
134
  onPointerDown: z,
136
135
  onMouseDown: H,
137
136
  ...W
138
137
  }, p) {
139
- const y = r.useRef(null), E = r.useRef(null), B = r.useRef(null), X = r.useRef(!1), te = r.useRef(!1), Z = r.useRef(!1), F = r.useRef(!1), K = r.useRef(!1), g = r.useRef(null), [P, M] = r.useState(!1), a = j ?? P, c = N ?? M;
138
+ const y = r.useRef(null), E = r.useRef(null), B = r.useRef(null), X = r.useRef(!1), te = r.useRef(!1), Z = r.useRef(!1), L = r.useRef(!1), K = r.useRef(!1), g = r.useRef(null), [P, M] = r.useState(!1), a = j ?? P, c = N ?? M;
140
139
  te.current = a;
141
140
  const [v, C] = r.useState(() => e ? A(e) : ""), u = r.useMemo(() => ue(v, /* @__PURE__ */ new Date()), [v]), [q, T] = r.useState(() => U(e ?? /* @__PURE__ */ new Date())), [re, ne] = r.useState(() => ({
142
141
  left: 0,
@@ -182,9 +181,9 @@ const ye = r.forwardRef(function({
182
181
  s = !1, n.disconnect();
183
182
  };
184
183
  }, [a]);
185
- const we = r.useCallback((t) => {
184
+ const ye = r.useCallback((t) => {
186
185
  B.current = t, typeof p == "function" ? p(t) : p && (p.current = t);
187
- }, [p]), ae = () => c(!1), be = I ?? ce, G = r.useCallback(() => {
186
+ }, [p]), ae = () => c(!1), we = I ?? ce, G = r.useCallback(() => {
188
187
  if (typeof window > "u") return;
189
188
  const t = y.current, s = E.current;
190
189
  if (!t || !s) return;
@@ -192,8 +191,8 @@ const ye = r.forwardRef(function({
192
191
  let V = n.left;
193
192
  V + f > D - R && (V = Math.max(R, D - f - R)), V < R && (V = R);
194
193
  let Q = n.bottom + R;
195
- const he = Q + m > J - R, fe = n.top - m - R;
196
- he && fe >= R && (Q = fe), Q < R && (Q = R), Q + m > J - R && (Q = Math.max(R, J - m - R)), ne({
194
+ const be = Q + m > J - R, fe = n.top - m - R;
195
+ be && fe >= R && (Q = fe), Q < R && (Q = R), Q + m > J - R && (Q = Math.max(R, J - m - R)), ne({
197
196
  left: V,
198
197
  top: Q
199
198
  });
@@ -205,8 +204,8 @@ const ye = r.forwardRef(function({
205
204
  return window.addEventListener("scroll", G, !0), window.addEventListener("resize", G), () => {
206
205
  window.cancelAnimationFrame(t), window.removeEventListener("scroll", G, !0), window.removeEventListener("resize", G);
207
206
  };
208
- }, [d, a, G]), /* @__PURE__ */ h.jsxs("div", { ref: y, "data-slot": "day-picker-input", className: ee("relative group", w), children: [
209
- /* @__PURE__ */ h.jsx(De, { ...W, "data-slot": "day-picker-input-input", disabled: d, readOnly: k, autoComplete: "off", inputRef: we, mask: [{
207
+ }, [d, a, G]), /* @__PURE__ */ w.jsxs("div", { ref: y, "data-slot": "day-picker-input", className: ee("relative group", b), children: [
208
+ /* @__PURE__ */ w.jsx(xe, { ...W, "data-slot": "day-picker-input-input", disabled: d, readOnly: k, autoComplete: "off", inputRef: ye, mask: [{
210
209
  mask: "00/00",
211
210
  lazy: !0
212
211
  }, {
@@ -218,7 +217,7 @@ const ye = r.forwardRef(function({
218
217
  }], dispatch: (t, s) => {
219
218
  const n = (s.value + t).replace(/\D/g, "");
220
219
  return n.length <= 4 ? s.compiledMasks[0] : n.length <= 6 ? s.compiledMasks[1] : s.compiledMasks[2];
221
- }, placeholder: x, value: v, className: ee("flex h-10 w-full rounded-md border border-input bg-background py-2 pr-3 pl-[37px] text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "transition-colors group-hover:bg-accent group-hover:text-accent-foreground", b), onAccept: (t) => {
220
+ }, placeholder: x, value: v, className: ee("flex h-10 w-full rounded-md border border-input bg-background py-2 pr-3 pl-[37px] text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "transition-colors group-hover:bg-accent group-hover:text-accent-foreground", h), onAccept: (t) => {
222
221
  const s = typeof t == "string" ? t : String(t ?? ""), n = v.replace(/\D/g, "").length;
223
222
  C(s), s.replace(/\D/g, "").length === 0 && (a && T(U(/* @__PURE__ */ new Date())), n !== 0 && ie(null));
224
223
  }, onComplete: (t) => {
@@ -230,12 +229,12 @@ const ye = r.forwardRef(function({
230
229
  const n = ue(s, /* @__PURE__ */ new Date());
231
230
  n && (e && n.getTime() === S(e).getTime() || ie(n));
232
231
  }, onPointerDown: (t) => {
233
- Z.current = !0, F.current = typeof document < "u" && document.activeElement === t.currentTarget, z?.(t);
232
+ Z.current = !0, L.current = typeof document < "u" && document.activeElement === t.currentTarget, z?.(t);
234
233
  }, onMouseDown: (t) => {
235
- Z.current = !0, F.current = typeof document < "u" && document.activeElement === t.currentTarget, H?.(t);
234
+ Z.current = !0, L.current = typeof document < "u" && document.activeElement === t.currentTarget, H?.(t);
236
235
  }, onFocus: (t) => {
237
- const s = !Z.current || !F.current;
238
- if (Z.current = !1, F.current = !1, X.current = !0, $?.(t), s) {
236
+ const s = !Z.current || !L.current;
237
+ if (Z.current = !1, L.current = !1, X.current = !0, $?.(t), s) {
239
238
  const n = t.currentTarget;
240
239
  requestAnimationFrame(() => n.select());
241
240
  }
@@ -262,7 +261,7 @@ const ye = r.forwardRef(function({
262
261
  if (!n)
263
262
  return;
264
263
  const f = S(new Date(n));
265
- if (f.setDate(f.getDate() + (t.key === "ArrowUp" ? 1 : -1)), O?.disabled && Me(f, O.disabled))
264
+ if (f.setDate(f.getDate() + (t.key === "ArrowUp" ? 1 : -1)), O?.disabled && Pe(f, O.disabled))
266
265
  return;
267
266
  t.preventDefault();
268
267
  const m = A(f);
@@ -271,7 +270,7 @@ const ye = r.forwardRef(function({
271
270
  a || (t.key.length === 1 || t.key === "Backspace" || t.key === "Delete" || t.key === "ArrowUp" || t.key === "ArrowDown") && !t.ctrlKey && !t.metaKey && !t.altKey && c(!0), t.key === "Tab" && !t.defaultPrevented && c(!1);
272
271
  }
273
272
  }, onBlur: (t) => {
274
- X.current = !1, L?.(t);
273
+ X.current = !1, F?.(t);
275
274
  const s = K.current;
276
275
  if (K.current = !1, s)
277
276
  return;
@@ -300,7 +299,7 @@ const ye = r.forwardRef(function({
300
299
  }
301
300
  C(e ? A(e) : "");
302
301
  } }),
303
- /* @__PURE__ */ h.jsx("button", { type: "button", tabIndex: -1, disabled: d, "aria-label": "Open calendar", "data-slot": "day-picker-input-trigger", className: "absolute left-[13px] top-1/2 -translate-y-1/2 text-muted-foreground transition-colors group-hover:text-accent-foreground", onPointerDown: (t) => {
302
+ /* @__PURE__ */ w.jsx("button", { type: "button", tabIndex: -1, disabled: d, "aria-label": "Open calendar", "data-slot": "day-picker-input-trigger", className: "absolute left-[13px] top-1/2 -translate-y-1/2 text-muted-foreground transition-colors group-hover:text-accent-foreground", onPointerDown: (t) => {
304
303
  t.preventDefault(), !d && B.current?.focus({
305
304
  preventScroll: !0
306
305
  });
@@ -312,16 +311,16 @@ const ye = r.forwardRef(function({
312
311
  d || (B.current?.focus({
313
312
  preventScroll: !0
314
313
  }), c(!0));
315
- }, children: /* @__PURE__ */ h.jsx(pe, { "aria-hidden": !0, className: "size-4" }) }),
314
+ }, children: /* @__PURE__ */ w.jsx(pe, { "aria-hidden": !0, className: "size-4" }) }),
316
315
  a && !d && (() => {
317
- const t = v.trim() === "" ? void 0 : u ?? e ?? void 0, s = /* @__PURE__ */ h.jsx(me, { children: /* @__PURE__ */ h.jsx("div", { ref: E, "data-slot": "day-picker-input-popover", className: "pointer-events-auto fixed z-[60] w-max rounded-md border bg-popover text-popover-foreground shadow-md", style: {
316
+ const t = v.trim() === "" ? void 0 : u ?? e ?? void 0, s = /* @__PURE__ */ w.jsx(w.Fragment, { children: /* @__PURE__ */ w.jsx("div", { ref: E, "data-slot": "day-picker-input-popover", className: "pointer-events-auto fixed z-[60] w-max rounded-md border bg-popover text-popover-foreground shadow-md", style: {
318
317
  left: re.left,
319
318
  top: re.top
320
319
  }, onPointerDownCapture: () => {
321
320
  K.current = !0;
322
321
  }, onMouseDownCapture: () => {
323
322
  K.current = !0;
324
- }, children: /* @__PURE__ */ h.jsx(be, { mode: "single", month: q, onMonthChange: T, selected: t, onSelect: (n) => {
323
+ }, children: /* @__PURE__ */ w.jsx(we, { mode: "single", month: q, onMonthChange: T, selected: t, onSelect: (n) => {
325
324
  if (!n) {
326
325
  e && _(null), C(""), ae();
327
326
  return;
@@ -329,18 +328,18 @@ const ye = r.forwardRef(function({
329
328
  const f = S(n);
330
329
  (!e || f.getTime() !== S(e).getTime()) && _(f), C(A(f)), ae();
331
330
  }, ...O }) }) });
332
- return typeof document > "u" ? s : ge(s, document.body);
331
+ return typeof document > "u" ? s : me(s, document.body);
333
332
  })()
334
333
  ] });
335
334
  });
336
- ye.displayName = "DayPickerInput";
337
- function je({
335
+ ge.displayName = "DayPickerInput";
336
+ function Re({
338
337
  id: o,
339
338
  value: e,
340
339
  onChange: l,
341
340
  onValueUpdate: i,
342
- className: w,
343
- inputClassName: b,
341
+ className: b,
342
+ inputClassName: h,
344
343
  placeholder: x = "DD/MM/YYYY",
345
344
  disabled: d,
346
345
  open: k,
@@ -350,7 +349,7 @@ function je({
350
349
  triggerTestId: O,
351
350
  isHydrated: $
352
351
  }) {
353
- const L = r.useRef(null), Y = r.useRef(null), z = r.useRef(!1), [H, W] = r.useState(!1), p = k ?? H, y = j ?? W;
352
+ const F = r.useRef(null), Y = r.useRef(null), z = r.useRef(!1), [H, W] = r.useState(!1), p = k ?? H, y = j ?? W;
354
353
  z.current = p;
355
354
  const [E, B] = r.useState(() => U(e ?? /* @__PURE__ */ new Date())), [X, te] = r.useState(() => ({
356
355
  left: 0,
@@ -360,13 +359,13 @@ function je({
360
359
  p && B(U(e ?? /* @__PURE__ */ new Date()));
361
360
  }, [p, e]), r.useEffect(() => {
362
361
  if (!p) return;
363
- const g = L.current?.ownerDocument ?? document, P = g.defaultView ?? window, M = (c) => {
362
+ const g = F.current?.ownerDocument ?? document, P = g.defaultView ?? window, M = (c) => {
364
363
  const v = c.target;
365
- v instanceof Node && (L.current?.contains(v) || Y.current?.contains(v) || y(!1));
364
+ v instanceof Node && (F.current?.contains(v) || Y.current?.contains(v) || y(!1));
366
365
  }, a = (c) => {
367
366
  if (c.key !== "Escape" || !z.current) return;
368
367
  const v = c.target;
369
- v instanceof Node && (!L.current?.contains(v) && !Y.current?.contains(v) || (c.preventDefault(), c.stopPropagation(), y(!1)));
368
+ v instanceof Node && (!F.current?.contains(v) && !Y.current?.contains(v) || (c.preventDefault(), c.stopPropagation(), y(!1)));
370
369
  };
371
370
  return g.addEventListener("pointerdown", M, !0), P.addEventListener("keydown", a, !0), () => {
372
371
  g.removeEventListener("pointerdown", M, !0), P.removeEventListener("keydown", a, !0);
@@ -374,7 +373,7 @@ function je({
374
373
  }, [p]), r.useEffect(() => {
375
374
  if (!p || typeof window > "u" || !("IntersectionObserver" in window))
376
375
  return;
377
- const g = L.current;
376
+ const g = F.current;
378
377
  if (!g)
379
378
  return;
380
379
  let P = !0;
@@ -388,9 +387,9 @@ function je({
388
387
  P = !1, M.disconnect();
389
388
  };
390
389
  }, [p]);
391
- const Z = N ?? ce, F = r.useCallback(() => {
390
+ const Z = N ?? ce, L = r.useCallback(() => {
392
391
  if (typeof window > "u") return;
393
- const g = L.current, P = Y.current;
392
+ const g = F.current, P = Y.current;
394
393
  if (!g || !P) return;
395
394
  const M = g.getBoundingClientRect(), a = P.offsetWidth, c = P.offsetHeight, v = window.innerWidth ?? 0, C = window.innerHeight ?? 0, u = 8;
396
395
  let q = M.left;
@@ -404,27 +403,27 @@ function je({
404
403
  }, []);
405
404
  r.useLayoutEffect(() => {
406
405
  if (!p || d || typeof window > "u") return;
407
- F();
408
- const g = window.requestAnimationFrame(F);
409
- return window.addEventListener("scroll", F, !0), window.addEventListener("resize", F), () => {
410
- window.cancelAnimationFrame(g), window.removeEventListener("scroll", F, !0), window.removeEventListener("resize", F);
406
+ L();
407
+ const g = window.requestAnimationFrame(L);
408
+ return window.addEventListener("scroll", L, !0), window.addEventListener("resize", L), () => {
409
+ window.cancelAnimationFrame(g), window.removeEventListener("scroll", L, !0), window.removeEventListener("resize", L);
411
410
  };
412
- }, [d, p, F]);
411
+ }, [d, p, L]);
413
412
  const K = r.useCallback((g) => {
414
413
  i && i(g), l(g);
415
414
  }, [l, i]);
416
- return /* @__PURE__ */ h.jsxs("div", { ref: L, "data-slot": "day-picker-input", className: ee("relative group", w), children: [
417
- /* @__PURE__ */ h.jsxs("button", { id: o, type: "button", disabled: d, "data-testid": O, "data-hydrated": $ ? "true" : void 0, "data-slot": "day-picker-input-input", className: ee("flex h-10 w-full items-center rounded-md border border-input bg-background px-3 py-2 text-left text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "transition-colors group-hover:bg-accent group-hover:text-accent-foreground", !e && "text-muted-foreground", p && "ring-2 ring-primary ring-offset-2", b), onClick: () => {
415
+ return /* @__PURE__ */ w.jsxs("div", { ref: F, "data-slot": "day-picker-input", className: ee("relative group", b), children: [
416
+ /* @__PURE__ */ w.jsxs("button", { id: o, type: "button", disabled: d, "data-testid": O, "data-hydrated": $ ? "true" : void 0, "data-slot": "day-picker-input-input", className: ee("flex h-10 w-full items-center rounded-md border border-input bg-background px-3 py-2 text-left text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "transition-colors group-hover:bg-accent group-hover:text-accent-foreground", !e && "text-muted-foreground", p && "ring-2 ring-primary ring-offset-2", h), onClick: () => {
418
417
  d || y(!p);
419
418
  }, children: [
420
- /* @__PURE__ */ h.jsx(pe, { "aria-hidden": !0, className: "mr-2 size-4 text-muted-foreground transition-colors group-hover:text-accent-foreground" }),
419
+ /* @__PURE__ */ w.jsx(pe, { "aria-hidden": !0, className: "mr-2 size-4 text-muted-foreground transition-colors group-hover:text-accent-foreground" }),
421
420
  e ? A(e) : x
422
421
  ] }),
423
422
  p && !d && (() => {
424
- const g = /* @__PURE__ */ h.jsx(me, { children: /* @__PURE__ */ h.jsx("div", { ref: Y, "data-slot": "day-picker-input-popover", className: "pointer-events-auto fixed z-[60] w-max rounded-md border bg-popover text-popover-foreground shadow-md", style: {
423
+ const g = /* @__PURE__ */ w.jsx(w.Fragment, { children: /* @__PURE__ */ w.jsx("div", { ref: Y, "data-slot": "day-picker-input-popover", className: "pointer-events-auto fixed z-[60] w-max rounded-md border bg-popover text-popover-foreground shadow-md", style: {
425
424
  left: X.left,
426
425
  top: X.top
427
- }, children: /* @__PURE__ */ h.jsx(Z, { mode: "single", month: E, onMonthChange: B, selected: e ?? void 0, onSelect: (P) => {
426
+ }, children: /* @__PURE__ */ w.jsx(Z, { mode: "single", month: E, onMonthChange: B, selected: e ?? void 0, onSelect: (P) => {
428
427
  if (!P) {
429
428
  K(null), y(!1);
430
429
  return;
@@ -432,20 +431,20 @@ function je({
432
431
  const M = S(P);
433
432
  (!e || M.getTime() !== S(e).getTime()) && K(M), y(!1);
434
433
  }, ...I }) }) });
435
- return typeof document > "u" ? g : ge(g, document.body);
434
+ return typeof document > "u" ? g : me(g, document.body);
436
435
  })()
437
436
  ] });
438
437
  }
439
- function He(o) {
438
+ function Ae(o) {
440
439
  const e = le.c(18);
441
- if (Ee()) {
440
+ if (Ne()) {
442
441
  let E;
443
- return e[0] !== o ? (E = /* @__PURE__ */ h.jsx(je, { ...o }), e[0] = o, e[1] = E) : E = e[1], E;
442
+ return e[0] !== o ? (E = /* @__PURE__ */ w.jsx(Re, { ...o }), e[0] = o, e[1] = E) : E = e[1], E;
444
443
  }
445
444
  const {
446
445
  id: i,
447
- value: w,
448
- onChange: b,
446
+ value: b,
447
+ onChange: h,
449
448
  onValueUpdate: x,
450
449
  className: d,
451
450
  inputClassName: k,
@@ -454,17 +453,17 @@ function He(o) {
454
453
  readOnly: I,
455
454
  dayPickerComponent: O,
456
455
  dayPickerProps: $,
457
- triggerTestId: L,
456
+ triggerTestId: F,
458
457
  isHydrated: Y,
459
458
  open: z,
460
459
  onOpenChange: H
461
460
  } = o, W = j === void 0 ? "DD/MM/YYYY" : j, p = Y ? "true" : void 0;
462
461
  let y;
463
- return e[2] !== d || e[3] !== O || e[4] !== $ || e[5] !== N || e[6] !== i || e[7] !== k || e[8] !== b || e[9] !== H || e[10] !== x || e[11] !== z || e[12] !== W || e[13] !== I || e[14] !== p || e[15] !== L || e[16] !== w ? (y = /* @__PURE__ */ h.jsx(ye, { id: i, value: w, onChange: b, onValueUpdate: x, className: d, inputClassName: k, placeholder: W, disabled: N, readOnly: I, open: z, onOpenChange: H, dayPickerComponent: O, dayPickerProps: $, "data-testid": L, "data-hydrated": p }), e[2] = d, e[3] = O, e[4] = $, e[5] = N, e[6] = i, e[7] = k, e[8] = b, e[9] = H, e[10] = x, e[11] = z, e[12] = W, e[13] = I, e[14] = p, e[15] = L, e[16] = w, e[17] = y) : y = e[17], y;
462
+ return e[2] !== d || e[3] !== O || e[4] !== $ || e[5] !== N || e[6] !== i || e[7] !== k || e[8] !== h || e[9] !== H || e[10] !== x || e[11] !== z || e[12] !== W || e[13] !== I || e[14] !== p || e[15] !== F || e[16] !== b ? (y = /* @__PURE__ */ w.jsx(ge, { id: i, value: b, onChange: h, onValueUpdate: x, className: d, inputClassName: k, placeholder: W, disabled: N, readOnly: I, open: z, onOpenChange: H, dayPickerComponent: O, dayPickerProps: $, "data-testid": F, "data-hydrated": p }), e[2] = d, e[3] = O, e[4] = $, e[5] = N, e[6] = i, e[7] = k, e[8] = h, e[9] = H, e[10] = x, e[11] = z, e[12] = W, e[13] = I, e[14] = p, e[15] = F, e[16] = b, e[17] = y) : y = e[17], y;
464
463
  }
465
464
  export {
466
465
  ce as DayPicker,
467
- He as DayPickerField,
468
- ye as DayPickerInput
466
+ Ae as DayPickerField,
467
+ ge as DayPickerInput
469
468
  };
470
469
  //# sourceMappingURL=index6.js.map