@rpcbase/ui 0.225.0 → 0.226.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 (755) hide show
  1. package/dist/components/PhoneNumberInput/index.d.ts.map +1 -1
  2. package/dist/components/PhoneNumberInput/suggestions.d.ts.map +1 -1
  3. package/dist/index100.js +11 -4
  4. package/dist/index100.js.map +1 -1
  5. package/dist/index101.js +68 -8
  6. package/dist/index101.js.map +1 -1
  7. package/dist/index102.js +38 -6
  8. package/dist/index102.js.map +1 -1
  9. package/dist/index103.js +14 -5
  10. package/dist/index103.js.map +1 -1
  11. package/dist/index104.js +23 -4
  12. package/dist/index104.js.map +1 -1
  13. package/dist/index105.js +110 -6
  14. package/dist/index105.js.map +1 -1
  15. package/dist/index106.js +13 -146
  16. package/dist/index106.js.map +1 -1
  17. package/dist/index107.js +4 -39
  18. package/dist/index107.js.map +1 -1
  19. package/dist/index108.js +4 -5
  20. package/dist/index108.js.map +1 -1
  21. package/dist/index109.js +5 -8
  22. package/dist/index109.js.map +1 -1
  23. package/dist/index110.js +11 -13
  24. package/dist/index110.js.map +1 -1
  25. package/dist/index111.js +19 -13
  26. package/dist/index111.js.map +1 -1
  27. package/dist/index112.js +13 -8
  28. package/dist/index112.js.map +1 -1
  29. package/dist/index113.js +261 -31
  30. package/dist/index113.js.map +1 -1
  31. package/dist/index114.js +4 -10
  32. package/dist/index114.js.map +1 -1
  33. package/dist/index115.js +28 -11
  34. package/dist/index115.js.map +1 -1
  35. package/dist/index116.js +126 -8
  36. package/dist/index116.js.map +1 -1
  37. package/dist/index117.js +5 -13
  38. package/dist/index117.js.map +1 -1
  39. package/dist/index118.js +78 -101
  40. package/dist/index118.js.map +1 -1
  41. package/dist/index119.js +67 -20
  42. package/dist/index119.js.map +1 -1
  43. package/dist/index120.js +8 -53
  44. package/dist/index120.js.map +1 -1
  45. package/dist/index121.js +16 -73
  46. package/dist/index121.js.map +1 -1
  47. package/dist/index122.js +92 -9
  48. package/dist/index122.js.map +1 -1
  49. package/dist/index123.js +62 -17
  50. package/dist/index123.js.map +1 -1
  51. package/dist/index124.js +44 -15
  52. package/dist/index124.js.map +1 -1
  53. package/dist/index125.js +52 -24
  54. package/dist/index125.js.map +1 -1
  55. package/dist/index126.js +4 -6
  56. package/dist/index126.js.map +1 -1
  57. package/dist/index127.js +4 -5
  58. package/dist/index127.js.map +1 -1
  59. package/dist/index128.js +15 -23
  60. package/dist/index128.js.map +1 -1
  61. package/dist/index129.js +6 -35
  62. package/dist/index129.js.map +1 -1
  63. package/dist/index130.js +8 -16
  64. package/dist/index130.js.map +1 -1
  65. package/dist/index131.js +16 -6
  66. package/dist/index131.js.map +1 -1
  67. package/dist/index132.js +4 -4
  68. package/dist/index132.js.map +1 -1
  69. package/dist/index133.js +4 -4
  70. package/dist/index133.js.map +1 -1
  71. package/dist/index134.js +5 -4
  72. package/dist/index134.js.map +1 -1
  73. package/dist/index135.js +5 -4
  74. package/dist/index135.js.map +1 -1
  75. package/dist/index136.js +4 -3
  76. package/dist/index136.js.map +1 -1
  77. package/dist/index137.js +4 -6
  78. package/dist/index137.js.map +1 -1
  79. package/dist/index138.js +7 -24
  80. package/dist/index138.js.map +1 -1
  81. package/dist/index139.js +24 -7
  82. package/dist/index139.js.map +1 -1
  83. package/dist/index140.js +6 -6
  84. package/dist/index140.js.map +1 -1
  85. package/dist/index141.js +4 -5
  86. package/dist/index141.js.map +1 -1
  87. package/dist/index142.js +6 -3
  88. package/dist/index142.js.map +1 -1
  89. package/dist/index143.js +5 -3
  90. package/dist/index143.js.map +1 -1
  91. package/dist/index144.js +4 -4
  92. package/dist/index144.js.map +1 -1
  93. package/dist/index145.js +5 -3
  94. package/dist/index145.js.map +1 -1
  95. package/dist/index146.js +4 -4
  96. package/dist/index146.js.map +1 -1
  97. package/dist/index147.js +8 -3
  98. package/dist/index147.js.map +1 -1
  99. package/dist/index148.js +5 -3
  100. package/dist/index148.js.map +1 -1
  101. package/dist/index149.js +4 -3
  102. package/dist/index149.js.map +1 -1
  103. package/dist/index150.js +4 -5
  104. package/dist/index150.js.map +1 -1
  105. package/dist/index151.js +6 -68
  106. package/dist/index151.js.map +1 -1
  107. package/dist/index152.js +146 -2
  108. package/dist/index152.js.map +1 -1
  109. package/dist/index153.js +38 -362
  110. package/dist/index153.js.map +1 -1
  111. package/dist/index154.js +4 -261
  112. package/dist/index154.js.map +1 -1
  113. package/dist/index155.js +7 -60
  114. package/dist/index155.js.map +1 -1
  115. package/dist/index156.js +13 -46
  116. package/dist/index156.js.map +1 -1
  117. package/dist/index157.js +13 -169
  118. package/dist/index157.js.map +1 -1
  119. package/dist/index158.js +7 -109
  120. package/dist/index158.js.map +1 -1
  121. package/dist/index159.js +31 -24
  122. package/dist/index159.js.map +1 -1
  123. package/dist/index160.js +11 -8
  124. package/dist/index160.js.map +1 -1
  125. package/dist/index161.js +10 -4
  126. package/dist/index161.js.map +1 -1
  127. package/dist/index162.js +8 -5
  128. package/dist/index162.js.map +1 -1
  129. package/dist/index163.js +13 -4
  130. package/dist/index163.js.map +1 -1
  131. package/dist/index164.js +100 -465
  132. package/dist/index164.js.map +1 -1
  133. package/dist/index165.js +20 -186
  134. package/dist/index165.js.map +1 -1
  135. package/dist/index166.js +53 -107
  136. package/dist/index166.js.map +1 -1
  137. package/dist/index167.js +71 -261
  138. package/dist/index167.js.map +1 -1
  139. package/dist/index168.js +9 -9
  140. package/dist/index168.js.map +1 -1
  141. package/dist/index169.js +20 -42
  142. package/dist/index169.js.map +1 -1
  143. package/dist/index170.js +16 -4
  144. package/dist/index170.js.map +1 -1
  145. package/dist/index171.js +23 -11
  146. package/dist/index171.js.map +1 -1
  147. package/dist/index172.js +6 -68
  148. package/dist/index172.js.map +1 -1
  149. package/dist/index173.js +6 -38
  150. package/dist/index173.js.map +1 -1
  151. package/dist/index174.js +24 -14
  152. package/dist/index174.js.map +1 -1
  153. package/dist/index175.js +32 -21
  154. package/dist/index175.js.map +1 -1
  155. package/dist/index176.js +16 -111
  156. package/dist/index176.js.map +1 -1
  157. package/dist/index177.js +7 -13
  158. package/dist/index177.js.map +1 -1
  159. package/dist/index178.js +4 -4
  160. package/dist/index178.js.map +1 -1
  161. package/dist/index179.js +5 -4
  162. package/dist/index179.js.map +1 -1
  163. package/dist/index18.js +205 -186
  164. package/dist/index18.js.map +1 -1
  165. package/dist/index180.js +5 -5
  166. package/dist/index180.js.map +1 -1
  167. package/dist/index181.js +4 -11
  168. package/dist/index181.js.map +1 -1
  169. package/dist/index182.js +3 -19
  170. package/dist/index182.js.map +1 -1
  171. package/dist/index183.js +7 -13
  172. package/dist/index183.js.map +1 -1
  173. package/dist/index184.js +24 -262
  174. package/dist/index184.js.map +1 -1
  175. package/dist/index185.js +7 -4
  176. package/dist/index185.js.map +1 -1
  177. package/dist/index186.js +7 -28
  178. package/dist/index186.js.map +1 -1
  179. package/dist/index187.js +5 -126
  180. package/dist/index187.js.map +1 -1
  181. package/dist/index188.js +3 -5
  182. package/dist/index188.js.map +1 -1
  183. package/dist/index189.js +3 -78
  184. package/dist/index189.js.map +1 -1
  185. package/dist/index190.js +4 -66
  186. package/dist/index190.js.map +1 -1
  187. package/dist/index191.js +3 -8
  188. package/dist/index191.js.map +1 -1
  189. package/dist/index192.js +5 -16
  190. package/dist/index192.js.map +1 -1
  191. package/dist/index193.js +3 -92
  192. package/dist/index193.js.map +1 -1
  193. package/dist/index194.js +3 -65
  194. package/dist/index194.js.map +1 -1
  195. package/dist/index195.js +3 -45
  196. package/dist/index195.js.map +1 -1
  197. package/dist/index196.js +13 -58
  198. package/dist/index196.js.map +1 -1
  199. package/dist/index197.js +154 -8
  200. package/dist/index197.js.map +1 -1
  201. package/dist/index198.js +28 -64
  202. package/dist/index198.js.map +1 -1
  203. package/dist/index199.js +9 -19
  204. package/dist/index199.js.map +1 -1
  205. package/dist/index200.js +46 -14
  206. package/dist/index200.js.map +1 -1
  207. package/dist/index201.js +11 -5
  208. package/dist/index201.js.map +1 -1
  209. package/dist/index202.js +43 -4
  210. package/dist/index202.js.map +1 -1
  211. package/dist/index203.js +95 -6
  212. package/dist/index203.js.map +1 -1
  213. package/dist/index204.js +86 -4
  214. package/dist/index204.js.map +1 -1
  215. package/dist/index205.js +105 -6
  216. package/dist/index205.js.map +1 -1
  217. package/dist/index206.js +52 -16
  218. package/dist/index206.js.map +1 -1
  219. package/dist/index207.js +11 -4
  220. package/dist/index207.js.map +1 -1
  221. package/dist/index208.js +37 -4
  222. package/dist/index208.js.map +1 -1
  223. package/dist/index209.js +8 -12
  224. package/dist/index209.js.map +1 -1
  225. package/dist/index210.js +116 -9
  226. package/dist/index210.js.map +1 -1
  227. package/dist/index211.js +17 -13
  228. package/dist/index211.js.map +1 -1
  229. package/dist/index212.js +15 -13
  230. package/dist/index212.js.map +1 -1
  231. package/dist/index213.js +3 -4
  232. package/dist/index213.js.map +1 -1
  233. package/dist/index214.js +36 -5
  234. package/dist/index214.js.map +1 -1
  235. package/dist/index215.js +20 -6
  236. package/dist/index215.js.map +1 -1
  237. package/dist/index216.js +9 -5
  238. package/dist/index216.js.map +1 -1
  239. package/dist/index217.js +8 -54
  240. package/dist/index217.js.map +1 -1
  241. package/dist/index218.js +19 -8
  242. package/dist/index218.js.map +1 -1
  243. package/dist/index219.js +28 -4
  244. package/dist/index219.js.map +1 -1
  245. package/dist/index220.js +16 -4
  246. package/dist/index220.js.map +1 -1
  247. package/dist/index221.js +66 -8
  248. package/dist/index221.js.map +1 -1
  249. package/dist/index222.js +8 -4
  250. package/dist/index222.js.map +1 -1
  251. package/dist/index223.js +11 -4
  252. package/dist/index223.js.map +1 -1
  253. package/dist/index224.js +8 -3
  254. package/dist/index224.js.map +1 -1
  255. package/dist/index225.js +5 -10
  256. package/dist/index225.js.map +1 -1
  257. package/dist/index226.js +13 -9
  258. package/dist/index226.js.map +1 -1
  259. package/dist/index227.js +3 -9
  260. package/dist/index227.js.map +1 -1
  261. package/dist/index228.js +3 -10
  262. package/dist/index228.js.map +1 -1
  263. package/dist/index229.js +99 -10
  264. package/dist/index229.js.map +1 -1
  265. package/dist/index230.js +29 -9
  266. package/dist/index230.js.map +1 -1
  267. package/dist/index231.js +51 -6
  268. package/dist/index231.js.map +1 -1
  269. package/dist/index232.js +17 -5
  270. package/dist/index232.js.map +1 -1
  271. package/dist/index233.js +5 -4
  272. package/dist/index233.js.map +1 -1
  273. package/dist/index234.js +122 -5
  274. package/dist/index234.js.map +1 -1
  275. package/dist/index235.js +27 -6
  276. package/dist/index235.js.map +1 -1
  277. package/dist/index236.js +32 -5
  278. package/dist/index236.js.map +1 -1
  279. package/dist/index237.js +73 -29
  280. package/dist/index237.js.map +1 -1
  281. package/dist/index238.js +261 -11
  282. package/dist/index238.js.map +1 -1
  283. package/dist/index239.js +23 -20
  284. package/dist/index239.js.map +1 -1
  285. package/dist/index240.js +6 -5
  286. package/dist/index240.js.map +1 -1
  287. package/dist/index241.js +140 -14
  288. package/dist/index241.js.map +1 -1
  289. package/dist/index242.js +61 -7
  290. package/dist/index242.js.map +1 -1
  291. package/dist/index243.js +49 -10
  292. package/dist/index243.js.map +1 -1
  293. package/dist/index244.js +15 -11
  294. package/dist/index244.js.map +1 -1
  295. package/dist/index245.js +133 -21
  296. package/dist/index245.js.map +1 -1
  297. package/dist/index246.js +8 -10
  298. package/dist/index246.js.map +1 -1
  299. package/dist/index247.js +5 -10
  300. package/dist/index247.js.map +1 -1
  301. package/dist/index248.js +4 -10
  302. package/dist/index248.js.map +1 -1
  303. package/dist/index249.js +11 -4
  304. package/dist/index249.js.map +1 -1
  305. package/dist/index250.js +21 -5
  306. package/dist/index250.js.map +1 -1
  307. package/dist/index251.js +20 -17
  308. package/dist/index251.js.map +1 -1
  309. package/dist/index252.js +11 -9
  310. package/dist/index252.js.map +1 -1
  311. package/dist/index253.js +50 -18
  312. package/dist/index253.js.map +1 -1
  313. package/dist/index254.js +15 -14
  314. package/dist/index254.js.map +1 -1
  315. package/dist/index255.js +21 -12
  316. package/dist/index255.js.map +1 -1
  317. package/dist/index256.js +51 -13
  318. package/dist/index256.js.map +1 -1
  319. package/dist/index257.js +25 -154
  320. package/dist/index257.js.map +1 -1
  321. package/dist/index258.js +40 -29
  322. package/dist/index258.js.map +1 -1
  323. package/dist/index259.js +39 -9
  324. package/dist/index259.js.map +1 -1
  325. package/dist/index260.js +45 -49
  326. package/dist/index260.js.map +1 -1
  327. package/dist/index261.js +20 -11
  328. package/dist/index261.js.map +1 -1
  329. package/dist/index262.js +68 -42
  330. package/dist/index262.js.map +1 -1
  331. package/dist/index263.js +14 -92
  332. package/dist/index263.js.map +1 -1
  333. package/dist/index264.js +11 -86
  334. package/dist/index264.js.map +1 -1
  335. package/dist/index265.js +12 -104
  336. package/dist/index265.js.map +1 -1
  337. package/dist/index266.js +15 -49
  338. package/dist/index266.js.map +1 -1
  339. package/dist/index267.js +35 -10
  340. package/dist/index267.js.map +1 -1
  341. package/dist/index268.js +273 -32
  342. package/dist/index268.js.map +1 -1
  343. package/dist/index269.js +68 -8
  344. package/dist/index269.js.map +1 -1
  345. package/dist/index270.js +77 -110
  346. package/dist/index270.js.map +1 -1
  347. package/dist/index271.js +3 -17
  348. package/dist/index271.js.map +1 -1
  349. package/dist/index272.js +28 -14
  350. package/dist/index272.js.map +1 -1
  351. package/dist/index273.js +16 -3
  352. package/dist/index273.js.map +1 -1
  353. package/dist/index274.js +34 -36
  354. package/dist/index274.js.map +1 -1
  355. package/dist/index275.js +15 -19
  356. package/dist/index275.js.map +1 -1
  357. package/dist/index276.js +3 -9
  358. package/dist/index276.js.map +1 -1
  359. package/dist/index277.js +26 -8
  360. package/dist/index277.js.map +1 -1
  361. package/dist/index278.js +4 -20
  362. package/dist/index278.js.map +1 -1
  363. package/dist/index279.js +78 -28
  364. package/dist/index279.js.map +1 -1
  365. package/dist/index280.js +268 -15
  366. package/dist/index280.js.map +1 -1
  367. package/dist/index281.js +10 -65
  368. package/dist/index281.js.map +1 -1
  369. package/dist/index282.js +10 -8
  370. package/dist/index282.js.map +1 -1
  371. package/dist/index283.js +25 -11
  372. package/dist/index283.js.map +1 -1
  373. package/dist/index284.js +16 -8
  374. package/dist/index284.js.map +1 -1
  375. package/dist/index285.js +125 -5
  376. package/dist/index285.js.map +1 -1
  377. package/dist/index286.js +5 -13
  378. package/dist/index286.js.map +1 -1
  379. package/dist/index287.js +40 -3
  380. package/dist/index287.js.map +1 -1
  381. package/dist/index288.js +65 -3
  382. package/dist/index288.js.map +1 -1
  383. package/dist/index289.js +13 -99
  384. package/dist/index289.js.map +1 -1
  385. package/dist/index290.js +7 -17
  386. package/dist/index290.js.map +1 -1
  387. package/dist/index291.js +5 -5
  388. package/dist/index291.js.map +1 -1
  389. package/dist/index292.js +3 -29
  390. package/dist/index292.js.map +1 -1
  391. package/dist/index293.js +10 -51
  392. package/dist/index293.js.map +1 -1
  393. package/dist/index294.js +7 -133
  394. package/dist/index294.js.map +1 -1
  395. package/dist/index295.js +398 -7
  396. package/dist/index295.js.map +1 -1
  397. package/dist/index296.js +53 -5
  398. package/dist/index296.js.map +1 -1
  399. package/dist/index297.js +12 -4
  400. package/dist/index297.js.map +1 -1
  401. package/dist/index298.js +10 -10
  402. package/dist/index298.js.map +1 -1
  403. package/dist/index299.js +58 -21
  404. package/dist/index299.js.map +1 -1
  405. package/dist/index300.js +8 -122
  406. package/dist/index300.js.map +1 -1
  407. package/dist/index301.js +66 -27
  408. package/dist/index301.js.map +1 -1
  409. package/dist/index302.js +19 -32
  410. package/dist/index302.js.map +1 -1
  411. package/dist/index303.js +16 -73
  412. package/dist/index303.js.map +1 -1
  413. package/dist/index304.js +5 -262
  414. package/dist/index304.js.map +1 -1
  415. package/dist/index305.js +4 -27
  416. package/dist/index305.js.map +1 -1
  417. package/dist/index306.js +6 -6
  418. package/dist/index306.js.map +1 -1
  419. package/dist/index307.js +4 -142
  420. package/dist/index307.js.map +1 -1
  421. package/dist/index308.js +6 -61
  422. package/dist/index308.js.map +1 -1
  423. package/dist/index309.js +16 -49
  424. package/dist/index309.js.map +1 -1
  425. package/dist/index31.js +24 -24
  426. package/dist/index310.js +5 -15
  427. package/dist/index310.js.map +1 -1
  428. package/dist/index311.js +5 -20
  429. package/dist/index311.js.map +1 -1
  430. package/dist/index312.js +12 -11
  431. package/dist/index312.js.map +1 -1
  432. package/dist/index313.js +9 -50
  433. package/dist/index313.js.map +1 -1
  434. package/dist/index314.js +13 -16
  435. package/dist/index314.js.map +1 -1
  436. package/dist/index315.js +13 -21
  437. package/dist/index315.js.map +1 -1
  438. package/dist/index316.js +4 -51
  439. package/dist/index316.js.map +1 -1
  440. package/dist/index317.js +5 -25
  441. package/dist/index317.js.map +1 -1
  442. package/dist/index318.js +6 -41
  443. package/dist/index318.js.map +1 -1
  444. package/dist/index319.js +5 -39
  445. package/dist/index319.js.map +1 -1
  446. package/dist/index32.js +3 -3
  447. package/dist/index320.js +55 -45
  448. package/dist/index320.js.map +1 -1
  449. package/dist/index321.js +8 -20
  450. package/dist/index321.js.map +1 -1
  451. package/dist/index322.js +4 -70
  452. package/dist/index322.js.map +1 -1
  453. package/dist/index323.js +4 -17
  454. package/dist/index323.js.map +1 -1
  455. package/dist/index324.js +8 -11
  456. package/dist/index324.js.map +1 -1
  457. package/dist/index325.js +4 -13
  458. package/dist/index325.js.map +1 -1
  459. package/dist/index326.js +4 -18
  460. package/dist/index326.js.map +1 -1
  461. package/dist/index327.js +3 -36
  462. package/dist/index327.js.map +1 -1
  463. package/dist/index328.js +10 -278
  464. package/dist/index328.js.map +1 -1
  465. package/dist/index329.js +9 -68
  466. package/dist/index329.js.map +1 -1
  467. package/dist/index330.js +9 -83
  468. package/dist/index330.js.map +1 -1
  469. package/dist/index331.js +10 -3
  470. package/dist/index331.js.map +1 -1
  471. package/dist/index332.js +10 -29
  472. package/dist/index332.js.map +1 -1
  473. package/dist/index333.js +9 -16
  474. package/dist/index333.js.map +1 -1
  475. package/dist/index334.js +7 -35
  476. package/dist/index334.js.map +1 -1
  477. package/dist/index335.js +5 -16
  478. package/dist/index335.js.map +1 -1
  479. package/dist/index336.js +4 -3
  480. package/dist/index336.js.map +1 -1
  481. package/dist/index337.js +5 -26
  482. package/dist/index337.js.map +1 -1
  483. package/dist/index338.js +7 -4
  484. package/dist/index338.js.map +1 -1
  485. package/dist/index339.js +5 -78
  486. package/dist/index339.js.map +1 -1
  487. package/dist/index34.js +4 -4
  488. package/dist/index340.js +15 -268
  489. package/dist/index340.js.map +1 -1
  490. package/dist/index341.js +7 -11
  491. package/dist/index341.js.map +1 -1
  492. package/dist/index342.js +10 -10
  493. package/dist/index342.js.map +1 -1
  494. package/dist/index343.js +10 -25
  495. package/dist/index343.js.map +1 -1
  496. package/dist/index344.js +20 -15
  497. package/dist/index344.js.map +1 -1
  498. package/dist/index345.js +10 -125
  499. package/dist/index345.js.map +1 -1
  500. package/dist/index346.js +9 -5
  501. package/dist/index346.js.map +1 -1
  502. package/dist/index347.js +9 -40
  503. package/dist/index347.js.map +1 -1
  504. package/dist/index348.js +4 -65
  505. package/dist/index348.js.map +1 -1
  506. package/dist/index349.js +6 -14
  507. package/dist/index349.js.map +1 -1
  508. package/dist/index35.js +5 -5
  509. package/dist/index350.js +16 -7
  510. package/dist/index350.js.map +1 -1
  511. package/dist/index351.js +9 -5
  512. package/dist/index351.js.map +1 -1
  513. package/dist/index352.js +18 -3
  514. package/dist/index352.js.map +1 -1
  515. package/dist/index353.js +15 -10
  516. package/dist/index353.js.map +1 -1
  517. package/dist/index354.js +12 -7
  518. package/dist/index354.js.map +1 -1
  519. package/dist/index355.js +29 -399
  520. package/dist/index355.js.map +1 -1
  521. package/dist/index356.js +12 -52
  522. package/dist/index356.js.map +1 -1
  523. package/dist/index357.js +25 -11
  524. package/dist/index357.js.map +1 -1
  525. package/dist/index358.js +5 -11
  526. package/dist/index358.js.map +1 -1
  527. package/dist/index359.js +20 -4
  528. package/dist/index359.js.map +1 -1
  529. package/dist/index36.js +10 -10
  530. package/dist/index360.js +9 -18
  531. package/dist/index360.js.map +1 -1
  532. package/dist/index361.js +26 -13
  533. package/dist/index361.js.map +1 -1
  534. package/dist/index362.js +25 -19
  535. package/dist/index362.js.map +1 -1
  536. package/dist/index363.js +137 -8
  537. package/dist/index363.js.map +1 -1
  538. package/dist/index364.js +13 -26
  539. package/dist/index364.js.map +1 -1
  540. package/dist/index365.js +221 -21
  541. package/dist/index365.js.map +1 -1
  542. package/dist/index366.js +3 -137
  543. package/dist/index366.js.map +1 -1
  544. package/dist/index367.js +19 -12
  545. package/dist/index367.js.map +1 -1
  546. package/dist/index368.js +72 -221
  547. package/dist/index368.js.map +1 -1
  548. package/dist/index369.js +12 -4
  549. package/dist/index369.js.map +1 -1
  550. package/dist/index37.js +3 -3
  551. package/dist/index370.js +3 -19
  552. package/dist/index370.js.map +1 -1
  553. package/dist/index371.js +76 -76
  554. package/dist/index371.js.map +1 -1
  555. package/dist/index372.js +200 -11
  556. package/dist/index372.js.map +1 -1
  557. package/dist/index373.js +71 -3
  558. package/dist/index373.js.map +1 -1
  559. package/dist/index374.js +9 -78
  560. package/dist/index374.js.map +1 -1
  561. package/dist/index375.js +15 -199
  562. package/dist/index375.js.map +1 -1
  563. package/dist/index376.js +15 -71
  564. package/dist/index376.js.map +1 -1
  565. package/dist/index377.js +4 -9
  566. package/dist/index377.js.map +1 -1
  567. package/dist/index378.js +11 -15
  568. package/dist/index378.js.map +1 -1
  569. package/dist/index379.js +5 -16
  570. package/dist/index379.js.map +1 -1
  571. package/dist/index38.js +4 -4
  572. package/dist/index380.js +21 -4
  573. package/dist/index380.js.map +1 -1
  574. package/dist/index381.js +44 -11
  575. package/dist/index381.js.map +1 -1
  576. package/dist/index382.js +18 -6
  577. package/dist/index382.js.map +1 -1
  578. package/dist/index383.js +5 -21
  579. package/dist/index383.js.map +1 -1
  580. package/dist/index384.js +5 -45
  581. package/dist/index384.js.map +1 -1
  582. package/dist/index385.js +16 -16
  583. package/dist/index385.js.map +1 -1
  584. package/dist/index386.js +13 -5
  585. package/dist/index386.js.map +1 -1
  586. package/dist/index387.js +14 -4
  587. package/dist/index387.js.map +1 -1
  588. package/dist/index388.js +491 -4
  589. package/dist/index388.js.map +1 -1
  590. package/dist/index389.js +3 -4
  591. package/dist/index389.js.map +1 -1
  592. package/dist/index39.js +5 -5
  593. package/dist/index390.js +3 -16
  594. package/dist/index390.js.map +1 -1
  595. package/dist/index391.js +4 -8
  596. package/dist/index391.js.map +1 -1
  597. package/dist/index392.js +4 -5
  598. package/dist/index392.js.map +1 -1
  599. package/dist/index393.js +4 -5
  600. package/dist/index393.js.map +1 -1
  601. package/dist/index394.js +15 -545
  602. package/dist/index394.js.map +1 -1
  603. package/dist/index395.js +9 -47
  604. package/dist/index395.js.map +1 -1
  605. package/dist/index396.js +5 -17
  606. package/dist/index396.js.map +1 -1
  607. package/dist/index397.js +4 -5
  608. package/dist/index397.js.map +1 -1
  609. package/dist/index398.js +545 -7
  610. package/dist/index398.js.map +1 -1
  611. package/dist/index399.js +47 -7
  612. package/dist/index399.js.map +1 -1
  613. package/dist/index40.js +3 -3
  614. package/dist/index400.js +17 -7
  615. package/dist/index400.js.map +1 -1
  616. package/dist/index401.js +5 -11
  617. package/dist/index401.js.map +1 -1
  618. package/dist/index402.js +7 -8
  619. package/dist/index402.js.map +1 -1
  620. package/dist/index403.js +6 -12
  621. package/dist/index403.js.map +1 -1
  622. package/dist/index404.js +7 -14
  623. package/dist/index404.js.map +1 -1
  624. package/dist/index405.js +11 -491
  625. package/dist/index405.js.map +1 -1
  626. package/dist/index406.js +9 -3
  627. package/dist/index406.js.map +1 -1
  628. package/dist/index407.js +13 -3
  629. package/dist/index407.js.map +1 -1
  630. package/dist/index408.js +7 -4
  631. package/dist/index408.js.map +1 -1
  632. package/dist/index409.js +2 -56
  633. package/dist/index409.js.map +1 -1
  634. package/dist/index41.js +10 -10
  635. package/dist/index410.js +43 -67
  636. package/dist/index410.js.map +1 -1
  637. package/dist/index411.js +56 -31
  638. package/dist/index411.js.map +1 -1
  639. package/dist/index412.js +8 -9
  640. package/dist/index412.js.map +1 -1
  641. package/dist/index413.js +2 -153
  642. package/dist/index413.js.map +1 -1
  643. package/dist/index414.js +54 -107
  644. package/dist/index414.js.map +1 -1
  645. package/dist/index415.js +55 -7
  646. package/dist/index415.js.map +1 -1
  647. package/dist/index416.js +5 -2
  648. package/dist/index416.js.map +1 -1
  649. package/dist/index417.js +54 -42
  650. package/dist/index417.js.map +1 -1
  651. package/dist/index418.js +68 -56
  652. package/dist/index418.js.map +1 -1
  653. package/dist/index419.js +31 -8
  654. package/dist/index419.js.map +1 -1
  655. package/dist/index420.js +9 -2
  656. package/dist/index420.js.map +1 -1
  657. package/dist/index421.js +152 -54
  658. package/dist/index421.js.map +1 -1
  659. package/dist/index422.js +108 -56
  660. package/dist/index422.js.map +1 -1
  661. package/dist/index423.js +2 -16
  662. package/dist/index423.js.map +1 -1
  663. package/dist/index424.js +2 -29
  664. package/dist/index424.js.map +1 -1
  665. package/dist/index425.js +2 -13
  666. package/dist/index425.js.map +1 -1
  667. package/dist/index426.js +2 -7
  668. package/dist/index426.js.map +1 -1
  669. package/dist/index427.js +16 -2
  670. package/dist/index427.js.map +1 -1
  671. package/dist/index428.js +29 -2
  672. package/dist/index428.js.map +1 -1
  673. package/dist/index429.js +13 -2
  674. package/dist/index429.js.map +1 -1
  675. package/dist/index430.js +7 -2
  676. package/dist/index430.js.map +1 -1
  677. package/dist/index44.js +1 -1
  678. package/dist/index45.js +2 -2
  679. package/dist/index47.js +48 -40
  680. package/dist/index47.js.map +1 -1
  681. package/dist/index48.js +2 -2
  682. package/dist/index49.js +34 -34
  683. package/dist/index50.js +29 -29
  684. package/dist/index51.js +2 -2
  685. package/dist/index52.js +12 -12
  686. package/dist/index53.js +4 -4
  687. package/dist/index54.js +1 -1
  688. package/dist/index55.js +22 -22
  689. package/dist/index56.js +5 -5
  690. package/dist/index57.js +5 -5
  691. package/dist/index58.js +8 -8
  692. package/dist/index59.js +5 -5
  693. package/dist/index60.js +17 -17
  694. package/dist/index61.js +5 -5
  695. package/dist/index62.js +3 -3
  696. package/dist/index66.js +1 -1
  697. package/dist/index67.js +1 -1
  698. package/dist/index70.js +1 -1
  699. package/dist/index71.js +1 -1
  700. package/dist/index72.js +6 -2
  701. package/dist/index72.js.map +1 -1
  702. package/dist/index73.js +8 -2
  703. package/dist/index73.js.map +1 -1
  704. package/dist/index74.js +6 -2
  705. package/dist/index74.js.map +1 -1
  706. package/dist/index75.js +2 -2
  707. package/dist/index76.js +2 -6
  708. package/dist/index76.js.map +1 -1
  709. package/dist/index77.js +2 -8
  710. package/dist/index77.js.map +1 -1
  711. package/dist/index78.js +2 -6
  712. package/dist/index78.js.map +1 -1
  713. package/dist/index79.js +6 -52
  714. package/dist/index79.js.map +1 -1
  715. package/dist/index80.js +68 -4
  716. package/dist/index80.js.map +1 -1
  717. package/dist/index81.js +2 -5
  718. package/dist/index81.js.map +1 -1
  719. package/dist/index82.js +363 -15
  720. package/dist/index82.js.map +1 -1
  721. package/dist/index83.js +261 -5
  722. package/dist/index83.js.map +1 -1
  723. package/dist/index84.js +60 -7
  724. package/dist/index84.js.map +1 -1
  725. package/dist/index85.js +46 -16
  726. package/dist/index85.js.map +1 -1
  727. package/dist/index86.js +169 -4
  728. package/dist/index86.js.map +1 -1
  729. package/dist/index87.js +109 -4
  730. package/dist/index87.js.map +1 -1
  731. package/dist/index88.js +24 -5
  732. package/dist/index88.js.map +1 -1
  733. package/dist/index89.js +8 -6
  734. package/dist/index89.js.map +1 -1
  735. package/dist/index90.js +4 -4
  736. package/dist/index90.js.map +1 -1
  737. package/dist/index91.js +5 -4
  738. package/dist/index91.js.map +1 -1
  739. package/dist/index92.js +4 -6
  740. package/dist/index92.js.map +1 -1
  741. package/dist/index93.js +466 -24
  742. package/dist/index93.js.map +1 -1
  743. package/dist/index94.js +185 -6
  744. package/dist/index94.js.map +1 -1
  745. package/dist/index95.js +107 -4
  746. package/dist/index95.js.map +1 -1
  747. package/dist/index96.js +262 -6
  748. package/dist/index96.js.map +1 -1
  749. package/dist/index97.js +9 -5
  750. package/dist/index97.js.map +1 -1
  751. package/dist/index98.js +42 -4
  752. package/dist/index98.js.map +1 -1
  753. package/dist/index99.js +4 -5
  754. package/dist/index99.js.map +1 -1
  755. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index106.js","sources":["../../../node_modules/react-day-picker/dist/esm/classes/DateLib.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { addDays, addMonths, addWeeks, addYears, differenceInCalendarDays, differenceInCalendarMonths, eachMonthOfInterval, eachYearOfInterval, endOfISOWeek, endOfMonth, endOfWeek, endOfYear, format, getISOWeek, getMonth, getWeek, getYear, isAfter, isBefore, isDate, isSameDay, isSameMonth, isSameYear, max, min, setMonth, setYear, startOfDay, startOfISOWeek, startOfMonth, startOfWeek, startOfYear, } from \"date-fns\";\nimport { endOfBroadcastWeek } from \"../helpers/endOfBroadcastWeek.js\";\nimport { startOfBroadcastWeek } from \"../helpers/startOfBroadcastWeek.js\";\nimport { enUS } from \"../locale/en-US.js\";\n/**\n * A wrapper class around [date-fns](http://date-fns.org) that provides utility\n * methods for date manipulation and formatting.\n *\n * @since 9.2.0\n * @example\n * const dateLib = new DateLib({ locale: es });\n * const newDate = dateLib.addDays(new Date(), 5);\n */\nexport class DateLib {\n /**\n * Creates an instance of `DateLib`.\n *\n * @param options Configuration options for the date library.\n * @param overrides Custom overrides for the date library functions.\n */\n constructor(options, overrides) {\n /**\n * Reference to the built-in Date constructor.\n *\n * @deprecated Use `newDate()` or `today()`.\n */\n this.Date = Date;\n /**\n * Creates a new `Date` object representing today's date.\n *\n * @since 9.5.0\n * @returns A `Date` object for today's date.\n */\n this.today = () => {\n if (this.overrides?.today) {\n return this.overrides.today();\n }\n if (this.options.timeZone) {\n return TZDate.tz(this.options.timeZone);\n }\n return new this.Date();\n };\n /**\n * Creates a new `Date` object with the specified year, month, and day.\n *\n * @since 9.5.0\n * @param year The year.\n * @param monthIndex The month (0-11).\n * @param date The day of the month.\n * @returns A new `Date` object.\n */\n this.newDate = (year, monthIndex, date) => {\n if (this.overrides?.newDate) {\n return this.overrides.newDate(year, monthIndex, date);\n }\n if (this.options.timeZone) {\n return new TZDate(year, monthIndex, date, this.options.timeZone);\n }\n return new Date(year, monthIndex, date);\n };\n /**\n * Adds the specified number of days to the given date.\n *\n * @param date The date to add days to.\n * @param amount The number of days to add.\n * @returns The new date with the days added.\n */\n this.addDays = (date, amount) => {\n return this.overrides?.addDays\n ? this.overrides.addDays(date, amount)\n : addDays(date, amount);\n };\n /**\n * Adds the specified number of months to the given date.\n *\n * @param date The date to add months to.\n * @param amount The number of months to add.\n * @returns The new date with the months added.\n */\n this.addMonths = (date, amount) => {\n return this.overrides?.addMonths\n ? this.overrides.addMonths(date, amount)\n : addMonths(date, amount);\n };\n /**\n * Adds the specified number of weeks to the given date.\n *\n * @param date The date to add weeks to.\n * @param amount The number of weeks to add.\n * @returns The new date with the weeks added.\n */\n this.addWeeks = (date, amount) => {\n return this.overrides?.addWeeks\n ? this.overrides.addWeeks(date, amount)\n : addWeeks(date, amount);\n };\n /**\n * Adds the specified number of years to the given date.\n *\n * @param date The date to add years to.\n * @param amount The number of years to add.\n * @returns The new date with the years added.\n */\n this.addYears = (date, amount) => {\n return this.overrides?.addYears\n ? this.overrides.addYears(date, amount)\n : addYears(date, amount);\n };\n /**\n * Returns the number of calendar days between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar days between the dates.\n */\n this.differenceInCalendarDays = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarDays\n ? this.overrides.differenceInCalendarDays(dateLeft, dateRight)\n : differenceInCalendarDays(dateLeft, dateRight);\n };\n /**\n * Returns the number of calendar months between the given dates.\n *\n * @param dateLeft The later date.\n * @param dateRight The earlier date.\n * @returns The number of calendar months between the dates.\n */\n this.differenceInCalendarMonths = (dateLeft, dateRight) => {\n return this.overrides?.differenceInCalendarMonths\n ? this.overrides.differenceInCalendarMonths(dateLeft, dateRight)\n : differenceInCalendarMonths(dateLeft, dateRight);\n };\n /**\n * Returns the months between the given dates.\n *\n * @param interval The interval to get the months for.\n */\n this.eachMonthOfInterval = (interval) => {\n return this.overrides?.eachMonthOfInterval\n ? this.overrides.eachMonthOfInterval(interval)\n : eachMonthOfInterval(interval);\n };\n /**\n * Returns the years between the given dates.\n *\n * @since 9.11.1\n * @param interval The interval to get the years for.\n * @returns The array of years in the interval.\n */\n this.eachYearOfInterval = (interval) => {\n const years = this.overrides?.eachYearOfInterval\n ? this.overrides.eachYearOfInterval(interval)\n : eachYearOfInterval(interval);\n // Remove duplicates that may happen across DST transitions (e.g., \"America/Sao_Paulo\")\n // See https://github.com/date-fns/tz/issues/72\n const uniqueYears = new Set(years.map((d) => this.getYear(d)));\n if (uniqueYears.size === years.length) {\n // No duplicates, return as is\n return years;\n }\n // Rebuild the array to ensure one date per year\n const yearsArray = [];\n uniqueYears.forEach((y) => {\n yearsArray.push(new Date(y, 0, 1));\n });\n return yearsArray;\n };\n /**\n * Returns the end of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The end of the broadcast week.\n */\n this.endOfBroadcastWeek = (date) => {\n return this.overrides?.endOfBroadcastWeek\n ? this.overrides.endOfBroadcastWeek(date)\n : endOfBroadcastWeek(date, this);\n };\n /**\n * Returns the end of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The end of the ISO week.\n */\n this.endOfISOWeek = (date) => {\n return this.overrides?.endOfISOWeek\n ? this.overrides.endOfISOWeek(date)\n : endOfISOWeek(date);\n };\n /**\n * Returns the end of the month for the given date.\n *\n * @param date The original date.\n * @returns The end of the month.\n */\n this.endOfMonth = (date) => {\n return this.overrides?.endOfMonth\n ? this.overrides.endOfMonth(date)\n : endOfMonth(date);\n };\n /**\n * Returns the end of the week for the given date.\n *\n * @param date The original date.\n * @returns The end of the week.\n */\n this.endOfWeek = (date, options) => {\n return this.overrides?.endOfWeek\n ? this.overrides.endOfWeek(date, options)\n : endOfWeek(date, this.options);\n };\n /**\n * Returns the end of the year for the given date.\n *\n * @param date The original date.\n * @returns The end of the year.\n */\n this.endOfYear = (date) => {\n return this.overrides?.endOfYear\n ? this.overrides.endOfYear(date)\n : endOfYear(date);\n };\n /**\n * Formats the given date using the specified format string.\n *\n * @param date The date to format.\n * @param formatStr The format string.\n * @returns The formatted date string.\n */\n this.format = (date, formatStr, _options) => {\n const formatted = this.overrides?.format\n ? this.overrides.format(date, formatStr, this.options)\n : format(date, formatStr, this.options);\n if (this.options.numerals && this.options.numerals !== \"latn\") {\n return this.replaceDigits(formatted);\n }\n return formatted;\n };\n /**\n * Returns the ISO week number for the given date.\n *\n * @param date The date to get the ISO week number for.\n * @returns The ISO week number.\n */\n this.getISOWeek = (date) => {\n return this.overrides?.getISOWeek\n ? this.overrides.getISOWeek(date)\n : getISOWeek(date);\n };\n /**\n * Returns the month of the given date.\n *\n * @param date The date to get the month for.\n * @returns The month.\n */\n this.getMonth = (date, _options) => {\n return this.overrides?.getMonth\n ? this.overrides.getMonth(date, this.options)\n : getMonth(date, this.options);\n };\n /**\n * Returns the year of the given date.\n *\n * @param date The date to get the year for.\n * @returns The year.\n */\n this.getYear = (date, _options) => {\n return this.overrides?.getYear\n ? this.overrides.getYear(date, this.options)\n : getYear(date, this.options);\n };\n /**\n * Returns the local week number for the given date.\n *\n * @param date The date to get the week number for.\n * @returns The week number.\n */\n this.getWeek = (date, _options) => {\n return this.overrides?.getWeek\n ? this.overrides.getWeek(date, this.options)\n : getWeek(date, this.options);\n };\n /**\n * Checks if the first date is after the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is after the second date.\n */\n this.isAfter = (date, dateToCompare) => {\n return this.overrides?.isAfter\n ? this.overrides.isAfter(date, dateToCompare)\n : isAfter(date, dateToCompare);\n };\n /**\n * Checks if the first date is before the second date.\n *\n * @param date The date to compare.\n * @param dateToCompare The date to compare with.\n * @returns True if the first date is before the second date.\n */\n this.isBefore = (date, dateToCompare) => {\n return this.overrides?.isBefore\n ? this.overrides.isBefore(date, dateToCompare)\n : isBefore(date, dateToCompare);\n };\n /**\n * Checks if the given value is a Date object.\n *\n * @param value The value to check.\n * @returns True if the value is a Date object.\n */\n this.isDate = (value) => {\n return this.overrides?.isDate\n ? this.overrides.isDate(value)\n : isDate(value);\n };\n /**\n * Checks if the given dates are on the same day.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are on the same day.\n */\n this.isSameDay = (dateLeft, dateRight) => {\n return this.overrides?.isSameDay\n ? this.overrides.isSameDay(dateLeft, dateRight)\n : isSameDay(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same month.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same month.\n */\n this.isSameMonth = (dateLeft, dateRight) => {\n return this.overrides?.isSameMonth\n ? this.overrides.isSameMonth(dateLeft, dateRight)\n : isSameMonth(dateLeft, dateRight);\n };\n /**\n * Checks if the given dates are in the same year.\n *\n * @param dateLeft The first date to compare.\n * @param dateRight The second date to compare.\n * @returns True if the dates are in the same year.\n */\n this.isSameYear = (dateLeft, dateRight) => {\n return this.overrides?.isSameYear\n ? this.overrides.isSameYear(dateLeft, dateRight)\n : isSameYear(dateLeft, dateRight);\n };\n /**\n * Returns the latest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The latest date.\n */\n this.max = (dates) => {\n return this.overrides?.max ? this.overrides.max(dates) : max(dates);\n };\n /**\n * Returns the earliest date in the given array of dates.\n *\n * @param dates The array of dates to compare.\n * @returns The earliest date.\n */\n this.min = (dates) => {\n return this.overrides?.min ? this.overrides.min(dates) : min(dates);\n };\n /**\n * Sets the month of the given date.\n *\n * @param date The date to set the month on.\n * @param month The month to set (0-11).\n * @returns The new date with the month set.\n */\n this.setMonth = (date, month) => {\n return this.overrides?.setMonth\n ? this.overrides.setMonth(date, month)\n : setMonth(date, month);\n };\n /**\n * Sets the year of the given date.\n *\n * @param date The date to set the year on.\n * @param year The year to set.\n * @returns The new date with the year set.\n */\n this.setYear = (date, year) => {\n return this.overrides?.setYear\n ? this.overrides.setYear(date, year)\n : setYear(date, year);\n };\n /**\n * Returns the start of the broadcast week for the given date.\n *\n * @param date The original date.\n * @returns The start of the broadcast week.\n */\n this.startOfBroadcastWeek = (date, _dateLib) => {\n return this.overrides?.startOfBroadcastWeek\n ? this.overrides.startOfBroadcastWeek(date, this)\n : startOfBroadcastWeek(date, this);\n };\n /**\n * Returns the start of the day for the given date.\n *\n * @param date The original date.\n * @returns The start of the day.\n */\n this.startOfDay = (date) => {\n return this.overrides?.startOfDay\n ? this.overrides.startOfDay(date)\n : startOfDay(date);\n };\n /**\n * Returns the start of the ISO week for the given date.\n *\n * @param date The original date.\n * @returns The start of the ISO week.\n */\n this.startOfISOWeek = (date) => {\n return this.overrides?.startOfISOWeek\n ? this.overrides.startOfISOWeek(date)\n : startOfISOWeek(date);\n };\n /**\n * Returns the start of the month for the given date.\n *\n * @param date The original date.\n * @returns The start of the month.\n */\n this.startOfMonth = (date) => {\n return this.overrides?.startOfMonth\n ? this.overrides.startOfMonth(date)\n : startOfMonth(date);\n };\n /**\n * Returns the start of the week for the given date.\n *\n * @param date The original date.\n * @returns The start of the week.\n */\n this.startOfWeek = (date, _options) => {\n return this.overrides?.startOfWeek\n ? this.overrides.startOfWeek(date, this.options)\n : startOfWeek(date, this.options);\n };\n /**\n * Returns the start of the year for the given date.\n *\n * @param date The original date.\n * @returns The start of the year.\n */\n this.startOfYear = (date) => {\n return this.overrides?.startOfYear\n ? this.overrides.startOfYear(date)\n : startOfYear(date);\n };\n this.options = { locale: enUS, ...options };\n this.overrides = overrides;\n }\n /**\n * Generates a mapping of Arabic digits (0-9) to the target numbering system\n * digits.\n *\n * @since 9.5.0\n * @returns A record mapping Arabic digits to the target numerals.\n */\n getDigitMap() {\n const { numerals = \"latn\" } = this.options;\n // Use Intl.NumberFormat to create a formatter with the specified numbering system\n const formatter = new Intl.NumberFormat(\"en-US\", {\n numberingSystem: numerals,\n });\n // Map Arabic digits (0-9) to the target numerals\n const digitMap = {};\n for (let i = 0; i < 10; i++) {\n digitMap[i.toString()] = formatter.format(i);\n }\n return digitMap;\n }\n /**\n * Replaces Arabic digits in a string with the target numbering system digits.\n *\n * @since 9.5.0\n * @param input The string containing Arabic digits.\n * @returns The string with digits replaced.\n */\n replaceDigits(input) {\n const digitMap = this.getDigitMap();\n return input.replace(/\\d/g, (digit) => digitMap[digit] || digit);\n }\n /**\n * Formats a number using the configured numbering system.\n *\n * @since 9.5.0\n * @param value The number to format.\n * @returns The formatted number as a string.\n */\n formatNumber(value) {\n return this.replaceDigits(value.toString());\n }\n /**\n * Returns the preferred ordering for month and year labels for the current\n * locale.\n */\n getMonthYearOrder() {\n const code = this.options.locale?.code;\n if (!code) {\n return \"month-first\";\n }\n return DateLib.yearFirstLocales.has(code) ? \"year-first\" : \"month-first\";\n }\n /**\n * Formats the month/year pair respecting locale conventions.\n *\n * @since 9.11.0\n */\n formatMonthYear(date) {\n const { locale, timeZone, numerals } = this.options;\n const localeCode = locale?.code;\n if (localeCode && DateLib.yearFirstLocales.has(localeCode)) {\n try {\n const intl = new Intl.DateTimeFormat(localeCode, {\n month: \"long\",\n year: \"numeric\",\n timeZone,\n numberingSystem: numerals,\n });\n const formatted = intl.format(date);\n return formatted;\n }\n catch {\n // Fallback to date-fns formatting below.\n }\n }\n const pattern = this.getMonthYearOrder() === \"year-first\" ? \"y LLLL\" : \"LLLL y\";\n return this.format(date, pattern);\n }\n}\nDateLib.yearFirstLocales = new Set([\n \"eu\",\n \"hu\",\n \"ja\",\n \"ja-Hira\",\n \"ja-JP\",\n \"ko\",\n \"ko-KR\",\n \"lt\",\n \"lt-LT\",\n \"lv\",\n \"lv-LV\",\n \"mn\",\n \"mn-MN\",\n \"zh\",\n \"zh-CN\",\n \"zh-HK\",\n \"zh-TW\",\n]);\n/** The default locale (English). */\nexport { enUS as defaultLocale } from \"../locale/en-US.js\";\n/**\n * The default date library with English locale.\n *\n * @since 9.2.0\n */\nexport const defaultDateLib = new DateLib();\n/**\n * @ignore\n * @deprecated Use `defaultDateLib`.\n */\nexport const dateLib = defaultDateLib;\n"],"names":["DateLib","options","overrides","TZDate","year","monthIndex","date","amount","addDays","addMonths","addWeeks","addYears","dateLeft","dateRight","differenceInCalendarDays","differenceInCalendarMonths","interval","eachMonthOfInterval","years","eachYearOfInterval","uniqueYears","d","yearsArray","y","endOfBroadcastWeek","endOfISOWeek","endOfMonth","endOfWeek","endOfYear","formatStr","_options","formatted","format","getISOWeek","getMonth","getYear","getWeek","dateToCompare","isAfter","isBefore","value","isDate","isSameDay","isSameMonth","isSameYear","dates","max","min","month","setMonth","setYear","_dateLib","startOfBroadcastWeek","startOfDay","startOfISOWeek","startOfMonth","startOfWeek","startOfYear","enUS","numerals","formatter","digitMap","i","input","digit","code","locale","timeZone","localeCode","pattern","defaultDateLib"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcO,MAAMA,EAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOjB,YAAYC,GAASC,GAAW;AAM5B,SAAK,OAAO,MAOZ,KAAK,QAAQ,MACL,KAAK,WAAW,QACT,KAAK,UAAU,MAAK,IAE3B,KAAK,QAAQ,WACNC,EAAO,GAAG,KAAK,QAAQ,QAAQ,IAEnC,IAAI,KAAK,KAAI,GAWxB,KAAK,UAAU,CAACC,GAAMC,GAAYC,MAC1B,KAAK,WAAW,UACT,KAAK,UAAU,QAAQF,GAAMC,GAAYC,CAAI,IAEpD,KAAK,QAAQ,WACN,IAAIH,EAAOC,GAAMC,GAAYC,GAAM,KAAK,QAAQ,QAAQ,IAE5D,IAAI,KAAKF,GAAMC,GAAYC,CAAI,GAS1C,KAAK,UAAU,CAACA,GAAMC,MACX,KAAK,WAAW,UACjB,KAAK,UAAU,QAAQD,GAAMC,CAAM,IACnCC,EAAQF,GAAMC,CAAM,GAS9B,KAAK,YAAY,CAACD,GAAMC,MACb,KA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AMyB,IAAO,KAAK,QAAQ,QAAQ;AAClC,WAAKA,KAGEjE,EAAQ,iBAAiB,IAAIiE,CAAI,IAAI,eAFjC;AAAA,EAGf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,gBAAgB3D,GAAM;AAClB,UAAM,EAAE,QAAA4D,GAAQ,UAAAC,GAAU,UAAAR,EAAQ,IAAK,KAAK,SACtCS,IAAaF,GAAQ;AAC3B,QAAIE,KAAcpE,EAAQ,iBAAiB,IAAIoE,CAAU;AACrD,UAAI;AAQA,eAPa,IAAI,KAAK,eAAeA,GAAY;AAAA,UAC7C,OAAO;AAAA,UACP,MAAM;AAAA,UACN,UAAAD;AAAA,UACA,iBAAiBR;AAAA,QACrC,CAAiB,EACsB,OAAOrD,CAAI;AAAA,MAEtC,QACM;AAAA,MAEN;AAEJ,UAAM+D,IAAU,KAAK,kBAAiB,MAAO,eAAe,WAAW;AACvE,WAAO,KAAK,OAAO/D,GAAM+D,CAAO;AAAA,EACpC;AACJ;AACArE,EAAQ,mBAAmB,oBAAI,IAAI;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,CAAC;AAQW,MAACsE,KAAiB,IAAItE,EAAO;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index106.js","sources":["../../../node_modules/@base-ui/react/esm/internals/reason-parts.js"],"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 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,eAGbC,IAAmB,qBAEnBC,IAAe;","x_google_ignoreList":[0]}
package/dist/index107.js CHANGED
@@ -1,43 +1,8 @@
1
- import { DayFlag as e } from "./index119.js";
2
- import { dateMatchModifiers as u } from "./index32.js";
3
- function V(b, S, h, M, a) {
4
- const { disabled: m, hidden: p, modifiers: r, showOutsideDays: y, broadcastCalendar: B, today: g = a.today() } = S, { isSameDay: v, isSameMonth: A, startOfMonth: E, isBefore: F, endOfMonth: j, isAfter: k } = a, O = h && E(h), D = M && j(M), i = {
5
- [e.focused]: [],
6
- [e.outside]: [],
7
- [e.disabled]: [],
8
- [e.hidden]: [],
9
- [e.today]: []
10
- }, d = {};
11
- for (const s of b) {
12
- const { date: o, displayMonth: n } = s, t = !!(n && !A(o, n)), f = !!(O && F(o, O)), l = !!(D && k(o, D)), w = !!(m && u(o, m, a)), x = !!(p && u(o, p, a)) || f || l || // Broadcast calendar will show outside days as default
13
- !B && !y && t || B && y === !1 && t, C = v(o, g);
14
- t && i.outside.push(s), w && i.disabled.push(s), x && i.hidden.push(s), C && i.today.push(s), r && Object.keys(r).forEach((c) => {
15
- const N = r?.[c];
16
- N && u(o, N, a) && (d[c] ? d[c].push(s) : d[c] = [s]);
17
- });
18
- }
19
- return (s) => {
20
- const o = {
21
- [e.focused]: !1,
22
- [e.disabled]: !1,
23
- [e.hidden]: !1,
24
- [e.outside]: !1,
25
- [e.today]: !1
26
- }, n = {};
27
- for (const t in i) {
28
- const f = i[t];
29
- o[t] = f.some((l) => l === s);
30
- }
31
- for (const t in d)
32
- n[t] = d[t].some((f) => f === s);
33
- return {
34
- ...o,
35
- // custom modifiers should override all the previous ones
36
- ...n
37
- };
38
- };
1
+ import { useId as r } from "./index232.js";
2
+ function i(e) {
3
+ return r(e, "base-ui");
39
4
  }
40
5
  export {
41
- V as createGetModifiers
6
+ i as useBaseUiId
42
7
  };
43
8
  //# sourceMappingURL=index107.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index107.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js"],"sourcesContent":["import { DayFlag } from \"../UI.js\";\nimport { dateMatchModifiers } from \"../utils/dateMatchModifiers.js\";\n/**\n * Creates a function to retrieve the modifiers for a given day.\n *\n * This function calculates both internal and custom modifiers for each day\n * based on the provided calendar days and DayPicker props.\n *\n * @private\n * @param days The array of `CalendarDay` objects to process.\n * @param props The DayPicker props, including modifiers and configuration\n * options.\n * @param dateLib The date library to use for date manipulation.\n * @returns A function that retrieves the modifiers for a given `CalendarDay`.\n */\nexport function createGetModifiers(days, props, navStart, navEnd, dateLib) {\n const { disabled, hidden, modifiers, showOutsideDays, broadcastCalendar, today = dateLib.today(), } = props;\n const { isSameDay, isSameMonth, startOfMonth, isBefore, endOfMonth, isAfter, } = dateLib;\n const computedNavStart = navStart && startOfMonth(navStart);\n const computedNavEnd = navEnd && endOfMonth(navEnd);\n const internalModifiersMap = {\n [DayFlag.focused]: [],\n [DayFlag.outside]: [],\n [DayFlag.disabled]: [],\n [DayFlag.hidden]: [],\n [DayFlag.today]: [],\n };\n const customModifiersMap = {};\n for (const day of days) {\n const { date, displayMonth } = day;\n const isOutside = Boolean(displayMonth && !isSameMonth(date, displayMonth));\n const isBeforeNavStart = Boolean(computedNavStart && isBefore(date, computedNavStart));\n const isAfterNavEnd = Boolean(computedNavEnd && isAfter(date, computedNavEnd));\n const isDisabled = Boolean(disabled && dateMatchModifiers(date, disabled, dateLib));\n const isHidden = Boolean(hidden && dateMatchModifiers(date, hidden, dateLib)) ||\n isBeforeNavStart ||\n isAfterNavEnd ||\n // Broadcast calendar will show outside days as default\n (!broadcastCalendar && !showOutsideDays && isOutside) ||\n (broadcastCalendar && showOutsideDays === false && isOutside);\n const isToday = isSameDay(date, today);\n if (isOutside)\n internalModifiersMap.outside.push(day);\n if (isDisabled)\n internalModifiersMap.disabled.push(day);\n if (isHidden)\n internalModifiersMap.hidden.push(day);\n if (isToday)\n internalModifiersMap.today.push(day);\n // Add custom modifiers\n if (modifiers) {\n Object.keys(modifiers).forEach((name) => {\n const modifierValue = modifiers?.[name];\n const isMatch = modifierValue\n ? dateMatchModifiers(date, modifierValue, dateLib)\n : false;\n if (!isMatch)\n return;\n if (customModifiersMap[name]) {\n customModifiersMap[name].push(day);\n }\n else {\n customModifiersMap[name] = [day];\n }\n });\n }\n }\n return (day) => {\n // Initialize all the modifiers to false\n const dayFlags = {\n [DayFlag.focused]: false,\n [DayFlag.disabled]: false,\n [DayFlag.hidden]: false,\n [DayFlag.outside]: false,\n [DayFlag.today]: false,\n };\n const customModifiers = {};\n // Find the modifiers for the given day\n for (const name in internalModifiersMap) {\n const days = internalModifiersMap[name];\n dayFlags[name] = days.some((d) => d === day);\n }\n for (const name in customModifiersMap) {\n customModifiers[name] = customModifiersMap[name].some((d) => d === day);\n }\n return {\n ...dayFlags,\n // custom modifiers should override all the previous ones\n ...customModifiers,\n };\n };\n}\n"],"names":["createGetModifiers","days","props","navStart","navEnd","dateLib","disabled","hidden","modifiers","showOutsideDays","broadcastCalendar","today","isSameDay","isSameMonth","startOfMonth","isBefore","endOfMonth","isAfter","computedNavStart","computedNavEnd","internalModifiersMap","DayFlag","customModifiersMap","day","date","displayMonth","isOutside","isBeforeNavStart","isAfterNavEnd","isDisabled","dateMatchModifiers","isHidden","isToday","name","modifierValue","dayFlags","customModifiers","d"],"mappings":";;AAeO,SAASA,EAAmBC,GAAMC,GAAOC,GAAUC,GAAQC,GAAS;AACvE,QAAM,EAAE,UAAAC,GAAU,QAAAC,GAAQ,WAAAC,GAAW,iBAAAC,GAAiB,mBAAAC,GAAmB,OAAAC,IAAQN,EAAQ,MAAK,EAAE,IAAMH,GAChG,EAAE,WAAAU,GAAW,aAAAC,GAAa,cAAAC,GAAc,UAAAC,GAAU,YAAAC,GAAY,SAAAC,EAAO,IAAMZ,GAC3Ea,IAAmBf,KAAYW,EAAaX,CAAQ,GACpDgB,IAAiBf,KAAUY,EAAWZ,CAAM,GAC5CgB,IAAuB;AAAA,IACzB,CAACC,EAAQ,OAAO,GAAG,CAAA;AAAA,IACnB,CAACA,EAAQ,OAAO,GAAG,CAAA;AAAA,IACnB,CAACA,EAAQ,QAAQ,GAAG,CAAA;AAAA,IACpB,CAACA,EAAQ,MAAM,GAAG,CAAA;AAAA,IAClB,CAACA,EAAQ,KAAK,GAAG,CAAA;AAAA,EACzB,GACUC,IAAqB,CAAA;AAC3B,aAAWC,KAAOtB,GAAM;AACpB,UAAM,EAAE,MAAAuB,GAAM,cAAAC,EAAY,IAAKF,GACzBG,IAAY,GAAQD,KAAgB,CAACZ,EAAYW,GAAMC,CAAY,IACnEE,IAAmB,GAAQT,KAAoBH,EAASS,GAAMN,CAAgB,IAC9EU,IAAgB,GAAQT,KAAkBF,EAAQO,GAAML,CAAc,IACtEU,IAAa,GAAQvB,KAAYwB,EAAmBN,GAAMlB,GAAUD,CAAO,IAC3E0B,IAAW,GAAQxB,KAAUuB,EAAm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"version":3,"file":"index107.js","sources":["../../../node_modules/@base-ui/react/esm/internals/useBaseUiId.js"],"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/index108.js CHANGED
@@ -1,8 +1,7 @@
1
- import { DayFlag as e, SelectionState as n, UI as d } from "./index119.js";
2
- function p(o, i, f = {}) {
3
- return Object.entries(o).filter(([, t]) => t === !0).reduce((t, [r]) => (f[r] ? t.push(f[r]) : i[e[r]] ? t.push(i[e[r]]) : i[n[r]] && t.push(i[n[r]]), t), [i[d.Day]]);
4
- }
1
+ let t = /* @__PURE__ */ (function(e) {
2
+ return e.nestedDialogs = "--nested-dialogs", e;
3
+ })({});
5
4
  export {
6
- p as getClassNamesForModifiers
5
+ t as DialogPopupCssVars
7
6
  };
8
7
  //# sourceMappingURL=index108.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index108.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js"],"sourcesContent":["import { DayFlag, SelectionState, UI } from \"../UI.js\";\n/**\n * Returns the class names for a day based on its modifiers.\n *\n * This function combines the base class name for the day with any class names\n * associated with active modifiers.\n *\n * @param modifiers The modifiers applied to the day.\n * @param classNames The base class names for the calendar elements.\n * @param modifiersClassNames The class names associated with specific\n * modifiers.\n * @returns An array of class names for the day.\n */\nexport function getClassNamesForModifiers(modifiers, classNames, modifiersClassNames = {}) {\n const modifierClassNames = Object.entries(modifiers)\n .filter(([, active]) => active === true)\n .reduce((previousValue, [key]) => {\n if (modifiersClassNames[key]) {\n previousValue.push(modifiersClassNames[key]);\n }\n else if (classNames[DayFlag[key]]) {\n previousValue.push(classNames[DayFlag[key]]);\n }\n else if (classNames[SelectionState[key]]) {\n previousValue.push(classNames[SelectionState[key]]);\n }\n return previousValue;\n }, [classNames[UI.Day]]);\n return modifierClassNames;\n}\n"],"names":["getClassNamesForModifiers","modifiers","classNames","modifiersClassNames","active","previousValue","key","DayFlag","SelectionState","UI"],"mappings":";AAaO,SAASA,EAA0BC,GAAWC,GAAYC,IAAsB,CAAA,GAAI;AAevF,SAd2B,OAAO,QAAQF,CAAS,EAC9C,OAAO,CAAC,CAAA,EAAGG,CAAM,MAAMA,MAAW,EAAI,EACtC,OAAO,CAACC,GAAe,CAACC,CAAG,OACxBH,EAAoBG,CAAG,IACvBD,EAAc,KAAKF,EAAoBG,CAAG,CAAC,IAEtCJ,EAAWK,EAAQD,CAAG,CAAC,IAC5BD,EAAc,KAAKH,EAAWK,EAAQD,CAAG,CAAC,CAAC,IAEtCJ,EAAWM,EAAeF,CAAG,CAAC,KACnCD,EAAc,KAAKH,EAAWM,EAAeF,CAAG,CAAC,CAAC,GAE/CD,IACR,CAACH,EAAWO,EAAG,GAAG,CAAC,CAAC;AAE3B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index108.js","sources":["../../../node_modules/@base-ui/react/esm/dialog/popup/DialogPopupCssVars.js"],"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/index109.js CHANGED
@@ -1,11 +1,8 @@
1
- import * as t from "./index79.js";
2
- function n(o) {
3
- return {
4
- ...t,
5
- ...o
6
- };
7
- }
1
+ import { CommonPopupDataAttributes as e } from "./index102.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
+ })({});
8
5
  export {
9
- n as getComponents
6
+ y as DialogPopupDataAttributes
10
7
  };
11
8
  //# sourceMappingURL=index109.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index109.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getComponents.js"],"sourcesContent":["import * as components from \"../components/custom-components.js\";\n/**\n * Merges custom components from the props with the default components.\n *\n * This function ensures that any custom components provided in the props\n * override the default components.\n *\n * @param customComponents The custom components provided in the DayPicker\n * props.\n * @returns An object containing the merged components.\n */\nexport function getComponents(customComponents) {\n return {\n ...components,\n ...customComponents,\n };\n}\n"],"names":["getComponents","customComponents","components"],"mappings":";AAWO,SAASA,EAAcC,GAAkB;AAC5C,SAAO;AAAA,IACH,GAAGC;AAAAA,IACH,GAAGD;AAAAA,EACX;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index109.js","sources":["../../../node_modules/@base-ui/react/esm/dialog/popup/DialogPopupDataAttributes.js"],"sourcesContent":["import { CommonPopupDataAttributes } from \"../../utils/popupStateMapping.js\";\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/index110.js CHANGED
@@ -1,17 +1,15 @@
1
- function n(e) {
2
- const t = {
3
- "data-mode": e.mode ?? void 0,
4
- "data-required": "required" in e ? e.required : void 0,
5
- "data-multiple-months": e.numberOfMonths && e.numberOfMonths > 1 || void 0,
6
- "data-week-numbers": e.showWeekNumber || void 0,
7
- "data-broadcast-calendar": e.broadcastCalendar || void 0,
8
- "data-nav-layout": e.navLayout || void 0
9
- };
10
- return Object.entries(e).forEach(([a, d]) => {
11
- a.startsWith("data-") && (t[a] = d);
12
- }), t;
1
+ import r from "./index120.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;
13
10
  }
14
11
  export {
15
- n as getDataAttributes
12
+ e as DialogPortalContext,
13
+ a as useDialogPortalContext
16
14
  };
17
15
  //# sourceMappingURL=index110.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index110.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js"],"sourcesContent":["/**\n * Extracts `data-` attributes from the DayPicker props.\n *\n * This function collects all `data-` attributes from the props and adds\n * additional attributes based on the DayPicker configuration.\n *\n * @param props The DayPicker props.\n * @returns An object containing the `data-` attributes.\n */\nexport function getDataAttributes(props) {\n const dataAttributes = {\n \"data-mode\": props.mode ?? undefined,\n \"data-required\": \"required\" in props ? props.required : undefined,\n \"data-multiple-months\": (props.numberOfMonths && props.numberOfMonths > 1) || undefined,\n \"data-week-numbers\": props.showWeekNumber || undefined,\n \"data-broadcast-calendar\": props.broadcastCalendar || undefined,\n \"data-nav-layout\": props.navLayout || undefined,\n };\n Object.entries(props).forEach(([key, val]) => {\n if (key.startsWith(\"data-\")) {\n dataAttributes[key] = val;\n }\n });\n return dataAttributes;\n}\n"],"names":["getDataAttributes","props","dataAttributes","key","val"],"mappings":"AASO,SAASA,EAAkBC,GAAO;AACrC,QAAMC,IAAiB;AAAA,IACnB,aAAaD,EAAM,QAAQ;AAAA,IAC3B,iBAAiB,cAAcA,IAAQA,EAAM,WAAW;AAAA,IACxD,wBAAyBA,EAAM,kBAAkBA,EAAM,iBAAiB,KAAM;AAAA,IAC9E,qBAAqBA,EAAM,kBAAkB;AAAA,IAC7C,2BAA2BA,EAAM,qBAAqB;AAAA,IACtD,mBAAmBA,EAAM,aAAa;AAAA,EAC9C;AACI,gBAAO,QAAQA,CAAK,EAAE,QAAQ,CAAC,CAACE,GAAKC,CAAG,MAAM;AAC1C,IAAID,EAAI,WAAW,OAAO,MACtBD,EAAeC,CAAG,IAAIC;AAAA,EAE9B,CAAC,GACMF;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index110.js","sources":["../../../node_modules/@base-ui/react/esm/dialog/portal/DialogPortalContext.js"],"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/index111.js CHANGED
@@ -1,17 +1,23 @@
1
- import { UI as t, DayFlag as e, SelectionState as r, Animation as s } from "./index119.js";
2
- function i() {
3
- const o = {};
4
- for (const n in t)
5
- o[t[n]] = `rdp-${t[n]}`;
6
- for (const n in e)
7
- o[e[n]] = `rdp-${e[n]}`;
8
- for (const n in r)
9
- o[r[n]] = `rdp-${r[n]}`;
10
- for (const n in s)
11
- o[s[n]] = `rdp-${s[n]}`;
12
- return o;
1
+ import * as l from "react";
2
+ import { useStableCallback as m } from "./index230.js";
3
+ import { useAnimationsFinished as f } from "./index231.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]);
13
19
  }
14
20
  export {
15
- i as getDefaultClassNames
21
+ c as useOpenChangeComplete
16
22
  };
17
23
  //# sourceMappingURL=index111.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index111.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js"],"sourcesContent":["import { Animation, DayFlag, SelectionState, UI } from \"../UI.js\";\n/**\n * Returns the default class names for the UI elements.\n *\n * This function generates a mapping of default class names for various UI\n * elements, day flags, selection states, and animations.\n *\n * @returns An object containing the default class names.\n * @group Utilities\n */\nexport function getDefaultClassNames() {\n const classNames = {};\n for (const key in UI) {\n classNames[UI[key]] =\n `rdp-${UI[key]}`;\n }\n for (const key in DayFlag) {\n classNames[DayFlag[key]] =\n `rdp-${DayFlag[key]}`;\n }\n for (const key in SelectionState) {\n classNames[SelectionState[key]] =\n `rdp-${SelectionState[key]}`;\n }\n for (const key in Animation) {\n classNames[Animation[key]] =\n `rdp-${Animation[key]}`;\n }\n return classNames;\n}\n"],"names":["getDefaultClassNames","classNames","key","UI","DayFlag","SelectionState","Animation"],"mappings":";AAUO,SAASA,IAAuB;AACnC,QAAMC,IAAa,CAAA;AACnB,aAAWC,KAAOC;AACd,IAAAF,EAAWE,EAAGD,CAAG,CAAC,IACd,OAAOC,EAAGD,CAAG,CAAC;AAEtB,aAAWA,KAAOE;AACd,IAAAH,EAAWG,EAAQF,CAAG,CAAC,IACnB,OAAOE,EAAQF,CAAG,CAAC;AAE3B,aAAWA,KAAOG;AACd,IAAAJ,EAAWI,EAAeH,CAAG,CAAC,IAC1B,OAAOG,EAAeH,CAAG,CAAC;AAElC,aAAWA,KAAOI;AACd,IAAAL,EAAWK,EAAUJ,CAAG,CAAC,IACrB,OAAOI,EAAUJ,CAAG,CAAC;AAE7B,SAAOD;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index111.js","sources":["../../../node_modules/@base-ui/react/esm/internals/useOpenChangeComplete.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useAnimationsFinished } from \"./useAnimationsFinished.js\";\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/index112.js CHANGED
@@ -1,11 +1,16 @@
1
- import * as a from "./index130.js";
2
- function f(n) {
3
- return n?.formatMonthCaption && !n.formatCaption && (n.formatCaption = n.formatMonthCaption), n?.formatYearCaption && !n.formatYearDropdown && (n.formatYearDropdown = n.formatYearCaption), {
4
- ...a,
5
- ...n
6
- };
7
- }
1
+ const t = "ArrowUp", n = "ArrowDown", o = "ArrowLeft", R = "ArrowRight", e = "Home", c = "End", E = /* @__PURE__ */ new Set([o, R]), A = /* @__PURE__ */ new Set([t, n]), O = /* @__PURE__ */ new Set([...E, ...A]);
2
+ [...O];
3
+ const s = /* @__PURE__ */ new Set([t, n, o, R, e, "End"]);
8
4
  export {
9
- f as getFormatters
5
+ n as ARROW_DOWN,
6
+ O as ARROW_KEYS,
7
+ o as ARROW_LEFT,
8
+ R as ARROW_RIGHT,
9
+ t as ARROW_UP,
10
+ s as COMPOSITE_KEYS,
11
+ c as END,
12
+ e as HOME,
13
+ E as HORIZONTAL_KEYS,
14
+ A as VERTICAL_KEYS
10
15
  };
11
16
  //# sourceMappingURL=index112.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index112.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFormatters.js"],"sourcesContent":["import * as defaultFormatters from \"../formatters/index.js\";\n/**\n * Merges custom formatters from the props with the default formatters.\n *\n * @param customFormatters The custom formatters provided in the DayPicker\n * props.\n * @returns The merged formatters object.\n */\nexport function getFormatters(customFormatters) {\n if (customFormatters?.formatMonthCaption && !customFormatters.formatCaption) {\n customFormatters.formatCaption = customFormatters.formatMonthCaption;\n }\n if (customFormatters?.formatYearCaption &&\n !customFormatters.formatYearDropdown) {\n customFormatters.formatYearDropdown = customFormatters.formatYearCaption;\n }\n return {\n ...defaultFormatters,\n ...customFormatters,\n };\n}\n"],"names":["getFormatters","customFormatters","defaultFormatters"],"mappings":";AAQO,SAASA,EAAcC,GAAkB;AAC5C,SAAIA,GAAkB,sBAAsB,CAACA,EAAiB,kBAC1DA,EAAiB,gBAAgBA,EAAiB,qBAElDA,GAAkB,qBAClB,CAACA,EAAiB,uBAClBA,EAAiB,qBAAqBA,EAAiB,oBAEpD;AAAA,IACH,GAAGC;AAAAA,IACH,GAAGD;AAAA,EACX;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index112.js","sources":["../../../node_modules/@base-ui/react/esm/internals/composite/composite.js"],"sourcesContent":["import { isHTMLElement } from '@floating-ui/utils/dom';\nexport { stopEvent, isIndexOutOfListBounds, isListIndexDisabled, createGridCellMap, findNonDisabledListIndex, getGridCellIndexOfCorner, getGridCellIndices, getGridNavigatedIndex, getMaxListIndex, getMinListIndex } from \"../../floating-ui-react/utils.js\";\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 ALL_KEYS = new Set([...ARROW_KEYS, HOME, END]);\nexport const COMPOSITE_KEYS = new Set([ARROW_UP, ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, 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;AACxC,CAAC,GAAGC,CAAqB;AAC7C,MAACC,IAAiB,oBAAI,IAAI,CAACT,GAAUC,GAAYC,GAAYC,GAAaC,GAAM,KAAG,CAAC;","x_google_ignoreList":[0]}