@rpcbase/ui 0.164.0 → 0.166.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 (690) hide show
  1. package/dist/index10.js +1 -1
  2. package/dist/index100.js +9 -24
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +42 -6
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +4 -4
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +52 -7
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +4 -5
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +3 -3
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +15 -5
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +5 -4
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +6 -7
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +16 -5
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index11.js +6 -15
  23. package/dist/index11.js.map +1 -1
  24. package/dist/index110.js +3 -3
  25. package/dist/index110.js.map +1 -1
  26. package/dist/index111.js +2 -2
  27. package/dist/index111.js.map +1 -1
  28. package/dist/index112.js +5 -6
  29. package/dist/index112.js.map +1 -1
  30. package/dist/index113.js +5 -145
  31. package/dist/index113.js.map +1 -1
  32. package/dist/index114.js +4 -39
  33. package/dist/index114.js.map +1 -1
  34. package/dist/index115.js +4 -4
  35. package/dist/index115.js.map +1 -1
  36. package/dist/index116.js +6 -7
  37. package/dist/index116.js.map +1 -1
  38. package/dist/index117.js +24 -13
  39. package/dist/index117.js.map +1 -1
  40. package/dist/index118.js +6 -13
  41. package/dist/index118.js.map +1 -1
  42. package/dist/index119.js +4 -7
  43. package/dist/index119.js.map +1 -1
  44. package/dist/index12.js +1 -1
  45. package/dist/index120.js +6 -31
  46. package/dist/index120.js.map +1 -1
  47. package/dist/index121.js +5 -10
  48. package/dist/index121.js.map +1 -1
  49. package/dist/index122.js +4 -10
  50. package/dist/index122.js.map +1 -1
  51. package/dist/index123.js +5 -8
  52. package/dist/index123.js.map +1 -1
  53. package/dist/index124.js +4 -13
  54. package/dist/index124.js.map +1 -1
  55. package/dist/index125.js +8 -101
  56. package/dist/index125.js.map +1 -1
  57. package/dist/index126.js +6 -20
  58. package/dist/index126.js.map +1 -1
  59. package/dist/index127.js +4 -53
  60. package/dist/index127.js.map +1 -1
  61. package/dist/index128.js +4 -72
  62. package/dist/index128.js.map +1 -1
  63. package/dist/index129.js +6 -9
  64. package/dist/index129.js.map +1 -1
  65. package/dist/index13.js +2 -2
  66. package/dist/index130.js +145 -20
  67. package/dist/index130.js.map +1 -1
  68. package/dist/index131.js +38 -15
  69. package/dist/index131.js.map +1 -1
  70. package/dist/index132.js +4 -23
  71. package/dist/index132.js.map +1 -1
  72. package/dist/index133.js +7 -6
  73. package/dist/index133.js.map +1 -1
  74. package/dist/index134.js +13 -5
  75. package/dist/index134.js.map +1 -1
  76. package/dist/index135.js +13 -23
  77. package/dist/index135.js.map +1 -1
  78. package/dist/index136.js +8 -35
  79. package/dist/index136.js.map +1 -1
  80. package/dist/index137.js +32 -16
  81. package/dist/index137.js.map +1 -1
  82. package/dist/index138.js +10 -6
  83. package/dist/index138.js.map +1 -1
  84. package/dist/index139.js +10 -4
  85. package/dist/index139.js.map +1 -1
  86. package/dist/index14.js +4 -4
  87. package/dist/index140.js +8 -4
  88. package/dist/index140.js.map +1 -1
  89. package/dist/index141.js +13 -4
  90. package/dist/index141.js.map +1 -1
  91. package/dist/index142.js +101 -4
  92. package/dist/index142.js.map +1 -1
  93. package/dist/index143.js +20 -4
  94. package/dist/index143.js.map +1 -1
  95. package/dist/index144.js +53 -6
  96. package/dist/index144.js.map +1 -1
  97. package/dist/index145.js +73 -24
  98. package/dist/index145.js.map +1 -1
  99. package/dist/index146.js +9 -7
  100. package/dist/index146.js.map +1 -1
  101. package/dist/index147.js +20 -6
  102. package/dist/index147.js.map +1 -1
  103. package/dist/index148.js +16 -5
  104. package/dist/index148.js.map +1 -1
  105. package/dist/index149.js +23 -3
  106. package/dist/index149.js.map +1 -1
  107. package/dist/index15.js +1 -1
  108. package/dist/index150.js +6 -3
  109. package/dist/index150.js.map +1 -1
  110. package/dist/index151.js +5 -4
  111. package/dist/index151.js.map +1 -1
  112. package/dist/index152.js +23 -3
  113. package/dist/index152.js.map +1 -1
  114. package/dist/index153.js +35 -5
  115. package/dist/index153.js.map +1 -1
  116. package/dist/index154.js +16 -4
  117. package/dist/index154.js.map +1 -1
  118. package/dist/index155.js +6 -3
  119. package/dist/index155.js.map +1 -1
  120. package/dist/index156.js +4 -3
  121. package/dist/index156.js.map +1 -1
  122. package/dist/index157.js +4 -3
  123. package/dist/index157.js.map +1 -1
  124. package/dist/index158.js +4 -33
  125. package/dist/index158.js.map +1 -1
  126. package/dist/index159.js +4 -249
  127. package/dist/index159.js.map +1 -1
  128. package/dist/index16.js +1 -1
  129. package/dist/index160.js +3 -114
  130. package/dist/index160.js.map +1 -1
  131. package/dist/index161.js +6 -219
  132. package/dist/index161.js.map +1 -1
  133. package/dist/index162.js +24 -67
  134. package/dist/index162.js.map +1 -1
  135. package/dist/index163.js +7 -20
  136. package/dist/index163.js.map +1 -1
  137. package/dist/index164.js +6 -209
  138. package/dist/index164.js.map +1 -1
  139. package/dist/index165.js +5 -319
  140. package/dist/index165.js.map +1 -1
  141. package/dist/index166.js +3 -130
  142. package/dist/index166.js.map +1 -1
  143. package/dist/index167.js +3 -20
  144. package/dist/index167.js.map +1 -1
  145. package/dist/index168.js +4 -75
  146. package/dist/index168.js.map +1 -1
  147. package/dist/index169.js +3 -18
  148. package/dist/index169.js.map +1 -1
  149. package/dist/index17.js +1 -1
  150. package/dist/index170.js +4 -101
  151. package/dist/index170.js.map +1 -1
  152. package/dist/index171.js +4 -5
  153. package/dist/index171.js.map +1 -1
  154. package/dist/index172.js +3 -14
  155. package/dist/index172.js.map +1 -1
  156. package/dist/index173.js +4 -2
  157. package/dist/index173.js.map +1 -1
  158. package/dist/index174.js +24 -7
  159. package/dist/index174.js.map +1 -1
  160. package/dist/index175.js +29 -327
  161. package/dist/index175.js.map +1 -1
  162. package/dist/index176.js +5 -50
  163. package/dist/index176.js.map +1 -1
  164. package/dist/index177.js +62 -41
  165. package/dist/index177.js.map +1 -1
  166. package/dist/index178.js +176 -42
  167. package/dist/index178.js.map +1 -1
  168. package/dist/index179.js +41 -200
  169. package/dist/index179.js.map +1 -1
  170. package/dist/index18.js +3 -12
  171. package/dist/index18.js.map +1 -1
  172. package/dist/index180.js +14 -22
  173. package/dist/index180.js.map +1 -1
  174. package/dist/index181.js +153 -23
  175. package/dist/index181.js.map +1 -1
  176. package/dist/index182.js +27 -396
  177. package/dist/index182.js.map +1 -1
  178. package/dist/index183.js +9 -3
  179. package/dist/index183.js.map +1 -1
  180. package/dist/index184.js +47 -5
  181. package/dist/index184.js.map +1 -1
  182. package/dist/index185.js +10 -67
  183. package/dist/index185.js.map +1 -1
  184. package/dist/index186.js +45 -2
  185. package/dist/index186.js.map +1 -1
  186. package/dist/index187.js +86 -354
  187. package/dist/index187.js.map +1 -1
  188. package/dist/index188.js +75 -250
  189. package/dist/index188.js.map +1 -1
  190. package/dist/index189.js +92 -47
  191. package/dist/index189.js.map +1 -1
  192. package/dist/index19.js +7 -7
  193. package/dist/index190.js +46 -40
  194. package/dist/index190.js.map +1 -1
  195. package/dist/index191.js +10 -168
  196. package/dist/index191.js.map +1 -1
  197. package/dist/index192.js +26 -98
  198. package/dist/index192.js.map +1 -1
  199. package/dist/index193.js +8 -24
  200. package/dist/index193.js.map +1 -1
  201. package/dist/index194.js +117 -8
  202. package/dist/index194.js.map +1 -1
  203. package/dist/index195.js +17 -4
  204. package/dist/index195.js.map +1 -1
  205. package/dist/index196.js +15 -5
  206. package/dist/index196.js.map +1 -1
  207. package/dist/index197.js +3 -4
  208. package/dist/index197.js.map +1 -1
  209. package/dist/index198.js +34 -464
  210. package/dist/index198.js.map +1 -1
  211. package/dist/index199.js +19 -184
  212. package/dist/index199.js.map +1 -1
  213. package/dist/index20.js +2 -2
  214. package/dist/index200.js +9 -107
  215. package/dist/index200.js.map +1 -1
  216. package/dist/index201.js +8 -262
  217. package/dist/index201.js.map +1 -1
  218. package/dist/index202.js +19 -9
  219. package/dist/index202.js.map +1 -1
  220. package/dist/index203.js +27 -41
  221. package/dist/index203.js.map +1 -1
  222. package/dist/index204.js +16 -4
  223. package/dist/index204.js.map +1 -1
  224. package/dist/index205.js +59 -2
  225. package/dist/index205.js.map +1 -1
  226. package/dist/index206.js +8 -67
  227. package/dist/index206.js.map +1 -1
  228. package/dist/index207.js +66 -84
  229. package/dist/index207.js.map +1 -1
  230. package/dist/index208.js +18 -45
  231. package/dist/index208.js.map +1 -1
  232. package/dist/index209.js +16 -7
  233. package/dist/index209.js.map +1 -1
  234. package/dist/index21.js +1 -1
  235. package/dist/index210.js +5 -4
  236. package/dist/index210.js.map +1 -1
  237. package/dist/index211.js +4 -50
  238. package/dist/index211.js.map +1 -1
  239. package/dist/index212.js +6 -67
  240. package/dist/index212.js.map +1 -1
  241. package/dist/index213.js +4 -180
  242. package/dist/index213.js.map +1 -1
  243. package/dist/index214.js +7 -46
  244. package/dist/index214.js.map +1 -1
  245. package/dist/index215.js +17 -58
  246. package/dist/index215.js.map +1 -1
  247. package/dist/index216.js +5 -8
  248. package/dist/index216.js.map +1 -1
  249. package/dist/index217.js +5 -66
  250. package/dist/index217.js.map +1 -1
  251. package/dist/index218.js +13 -19
  252. package/dist/index218.js.map +1 -1
  253. package/dist/index219.js +10 -16
  254. package/dist/index219.js.map +1 -1
  255. package/dist/index22.js +1 -1
  256. package/dist/index220.js +14 -5
  257. package/dist/index220.js.map +1 -1
  258. package/dist/index221.js +14 -5
  259. package/dist/index221.js.map +1 -1
  260. package/dist/index222.js +5 -6
  261. package/dist/index222.js.map +1 -1
  262. package/dist/index223.js +6 -4
  263. package/dist/index223.js.map +1 -1
  264. package/dist/index224.js +7 -7
  265. package/dist/index224.js.map +1 -1
  266. package/dist/index225.js +6 -17
  267. package/dist/index225.js.map +1 -1
  268. package/dist/index226.js +9 -5
  269. package/dist/index226.js.map +1 -1
  270. package/dist/index227.js +5 -5
  271. package/dist/index227.js.map +1 -1
  272. package/dist/index228.js +5 -13
  273. package/dist/index228.js.map +1 -1
  274. package/dist/index229.js +9 -10
  275. package/dist/index229.js.map +1 -1
  276. package/dist/index23.js +2 -2
  277. package/dist/index230.js +5 -14
  278. package/dist/index230.js.map +1 -1
  279. package/dist/index231.js +4 -13
  280. package/dist/index231.js.map +1 -1
  281. package/dist/index232.js +4 -5
  282. package/dist/index232.js.map +1 -1
  283. package/dist/index233.js +10 -5
  284. package/dist/index233.js.map +1 -1
  285. package/dist/index234.js +10 -7
  286. package/dist/index234.js.map +1 -1
  287. package/dist/index235.js +10 -6
  288. package/dist/index235.js.map +1 -1
  289. package/dist/index236.js +11 -9
  290. package/dist/index236.js.map +1 -1
  291. package/dist/index237.js +11 -5
  292. package/dist/index237.js.map +1 -1
  293. package/dist/index238.js +10 -5
  294. package/dist/index238.js.map +1 -1
  295. package/dist/index239.js +7 -9
  296. package/dist/index239.js.map +1 -1
  297. package/dist/index24.js +1 -1
  298. package/dist/index240.js +6 -5
  299. package/dist/index240.js.map +1 -1
  300. package/dist/index241.js +4 -4
  301. package/dist/index241.js.map +1 -1
  302. package/dist/index242.js +6 -4
  303. package/dist/index242.js.map +1 -1
  304. package/dist/index243.js +7 -11
  305. package/dist/index243.js.map +1 -1
  306. package/dist/index244.js +6 -10
  307. package/dist/index244.js.map +1 -1
  308. package/dist/index245.js +55 -10
  309. package/dist/index245.js.map +1 -1
  310. package/dist/index246.js +23 -11
  311. package/dist/index246.js.map +1 -1
  312. package/dist/index247.js +16 -11
  313. package/dist/index247.js.map +1 -1
  314. package/dist/index248.js +7 -10
  315. package/dist/index248.js.map +1 -1
  316. package/dist/index249.js +10 -7
  317. package/dist/index249.js.map +1 -1
  318. package/dist/index250.js +10 -6
  319. package/dist/index250.js.map +1 -1
  320. package/dist/index251.js +21 -5
  321. package/dist/index251.js.map +1 -1
  322. package/dist/index252.js +10 -6
  323. package/dist/index252.js.map +1 -1
  324. package/dist/index253.js +9 -7
  325. package/dist/index253.js.map +1 -1
  326. package/dist/index254.js +9 -6
  327. package/dist/index254.js.map +1 -1
  328. package/dist/index255.js +4 -55
  329. package/dist/index255.js.map +1 -1
  330. package/dist/index256.js +5 -23
  331. package/dist/index256.js.map +1 -1
  332. package/dist/index257.js +15 -15
  333. package/dist/index257.js.map +1 -1
  334. package/dist/index258.js +9 -7
  335. package/dist/index258.js.map +1 -1
  336. package/dist/index259.js +18 -10
  337. package/dist/index259.js.map +1 -1
  338. package/dist/index260.js +15 -10
  339. package/dist/index260.js.map +1 -1
  340. package/dist/index261.js +12 -21
  341. package/dist/index261.js.map +1 -1
  342. package/dist/index262.js +29 -10
  343. package/dist/index262.js.map +1 -1
  344. package/dist/index263.js +12 -9
  345. package/dist/index263.js.map +1 -1
  346. package/dist/index264.js +25 -9
  347. package/dist/index264.js.map +1 -1
  348. package/dist/index265.js +5 -4
  349. package/dist/index265.js.map +1 -1
  350. package/dist/index266.js +5 -6
  351. package/dist/index266.js.map +1 -1
  352. package/dist/index267.js +3 -17
  353. package/dist/index267.js.map +1 -1
  354. package/dist/index268.js +23 -9
  355. package/dist/index268.js.map +1 -1
  356. package/dist/index269.js +112 -18
  357. package/dist/index269.js.map +1 -1
  358. package/dist/index27.js +37 -3
  359. package/dist/index27.js.map +1 -1
  360. package/dist/index270.js +15 -15
  361. package/dist/index270.js.map +1 -1
  362. package/dist/index271.js +522 -10
  363. package/dist/index271.js.map +1 -1
  364. package/dist/index272.js +126 -28
  365. package/dist/index272.js.map +1 -1
  366. package/dist/index273.js +132 -11
  367. package/dist/index273.js.map +1 -1
  368. package/dist/index274.js +20 -25
  369. package/dist/index274.js.map +1 -1
  370. package/dist/index275.js +4 -5
  371. package/dist/index275.js.map +1 -1
  372. package/dist/index276.js +18 -64
  373. package/dist/index276.js.map +1 -1
  374. package/dist/index277.js +12 -48
  375. package/dist/index277.js.map +1 -1
  376. package/dist/index278.js +62 -33
  377. package/dist/index278.js.map +1 -1
  378. package/dist/index279.js +9 -101
  379. package/dist/index279.js.map +1 -1
  380. package/dist/index28.js +3 -125
  381. package/dist/index28.js.map +1 -1
  382. package/dist/index280.js +11 -95
  383. package/dist/index280.js.map +1 -1
  384. package/dist/index281.js +65 -99
  385. package/dist/index281.js.map +1 -1
  386. package/dist/index282.js +62 -22
  387. package/dist/index282.js.map +1 -1
  388. package/dist/index283.js +6 -29
  389. package/dist/index283.js.map +1 -1
  390. package/dist/index284.js +6 -5
  391. package/dist/index284.js.map +1 -1
  392. package/dist/index285.js +4 -2
  393. package/dist/index285.js.map +1 -1
  394. package/dist/index286.js +16 -2
  395. package/dist/index286.js.map +1 -1
  396. package/dist/index287.js +8 -13
  397. package/dist/index287.js.map +1 -1
  398. package/dist/index288.js +5 -154
  399. package/dist/index288.js.map +1 -1
  400. package/dist/index289.js +4 -30
  401. package/dist/index289.js.map +1 -1
  402. package/dist/index29.js +124 -47
  403. package/dist/index29.js.map +1 -1
  404. package/dist/index290.js +545 -9
  405. package/dist/index290.js.map +1 -1
  406. package/dist/index291.js +44 -45
  407. package/dist/index291.js.map +1 -1
  408. package/dist/index292.js +16 -10
  409. package/dist/index292.js.map +1 -1
  410. package/dist/index293.js +6 -44
  411. package/dist/index293.js.map +1 -1
  412. package/dist/index294.js +8 -95
  413. package/dist/index294.js.map +1 -1
  414. package/dist/index295.js +7 -86
  415. package/dist/index295.js.map +1 -1
  416. package/dist/index296.js +8 -105
  417. package/dist/index296.js.map +1 -1
  418. package/dist/index297.js +12 -52
  419. package/dist/index297.js.map +1 -1
  420. package/dist/index298.js +9 -11
  421. package/dist/index298.js.map +1 -1
  422. package/dist/index299.js +13 -37
  423. package/dist/index299.js.map +1 -1
  424. package/dist/index30.js +230 -218
  425. package/dist/index30.js.map +1 -1
  426. package/dist/index300.js +3 -8
  427. package/dist/index300.js.map +1 -1
  428. package/dist/index301.js +20 -114
  429. package/dist/index301.js.map +1 -1
  430. package/dist/index302.js +4 -17
  431. package/dist/index302.js.map +1 -1
  432. package/dist/index303.js +55 -15
  433. package/dist/index303.js.map +1 -1
  434. package/dist/index304.js +68 -4
  435. package/dist/index304.js.map +1 -1
  436. package/dist/index305.js +31 -37
  437. package/dist/index305.js.map +1 -1
  438. package/dist/index306.js +9 -21
  439. package/dist/index306.js.map +1 -1
  440. package/dist/index307.js +153 -10
  441. package/dist/index307.js.map +1 -1
  442. package/dist/index308.js +107 -8
  443. package/dist/index308.js.map +1 -1
  444. package/dist/index309.js +21 -18
  445. package/dist/index309.js.map +1 -1
  446. package/dist/index31.js +49 -42
  447. package/dist/index31.js.map +1 -1
  448. package/dist/index310.js +11 -27
  449. package/dist/index310.js.map +1 -1
  450. package/dist/index311.js +27 -16
  451. package/dist/index311.js.map +1 -1
  452. package/dist/index312.js +5 -5
  453. package/dist/index312.js.map +1 -1
  454. package/dist/index313.js +16 -19
  455. package/dist/index313.js.map +1 -1
  456. package/dist/index314.js +28 -12
  457. package/dist/index314.js.map +1 -1
  458. package/dist/index315.js +13 -5
  459. package/dist/index315.js.map +1 -1
  460. package/dist/index316.js +7 -3
  461. package/dist/index316.js.map +1 -1
  462. package/dist/index32.js +2638 -38
  463. package/dist/index32.js.map +1 -1
  464. package/dist/index33.js +390 -25
  465. package/dist/index33.js.map +1 -1
  466. package/dist/index34.js +230 -43
  467. package/dist/index34.js.map +1 -1
  468. package/dist/index35.js +20 -30
  469. package/dist/index35.js.map +1 -1
  470. package/dist/index36.js +137 -23
  471. package/dist/index36.js.map +1 -1
  472. package/dist/index37.js +187 -23
  473. package/dist/index37.js.map +1 -1
  474. package/dist/index38.js +75 -127
  475. package/dist/index38.js.map +1 -1
  476. package/dist/index39.js +87 -228
  477. package/dist/index39.js.map +1 -1
  478. package/dist/index40.js +6 -51
  479. package/dist/index40.js.map +1 -1
  480. package/dist/index41.js +804 -2601
  481. package/dist/index41.js.map +1 -1
  482. package/dist/index42.js +63 -391
  483. package/dist/index42.js.map +1 -1
  484. package/dist/index43.js +7 -232
  485. package/dist/index43.js.map +1 -1
  486. package/dist/index44.js +2 -22
  487. package/dist/index44.js.map +1 -1
  488. package/dist/index45.js +21 -139
  489. package/dist/index45.js.map +1 -1
  490. package/dist/index46.js +230 -183
  491. package/dist/index46.js.map +1 -1
  492. package/dist/index47.js +202 -74
  493. package/dist/index47.js.map +1 -1
  494. package/dist/index48.js +3 -90
  495. package/dist/index48.js.map +1 -1
  496. package/dist/index49.js +6 -5
  497. package/dist/index49.js.map +1 -1
  498. package/dist/index5.js +1 -1
  499. package/dist/index50.js +41 -837
  500. package/dist/index50.js.map +1 -1
  501. package/dist/index51.js +26 -65
  502. package/dist/index51.js.map +1 -1
  503. package/dist/index52.js +48 -34
  504. package/dist/index52.js.map +1 -1
  505. package/dist/index53.js +7 -7
  506. package/dist/index53.js.map +1 -1
  507. package/dist/index54.js +15 -2
  508. package/dist/index54.js.map +1 -1
  509. package/dist/index55.js +132 -22
  510. package/dist/index55.js.map +1 -1
  511. package/dist/index56.js +10 -233
  512. package/dist/index56.js.map +1 -1
  513. package/dist/index57.js +203 -191
  514. package/dist/index57.js.map +1 -1
  515. package/dist/index58.js +13 -7
  516. package/dist/index58.js.map +1 -1
  517. package/dist/index59.js +2 -2
  518. package/dist/index60.js +44 -24
  519. package/dist/index60.js.map +1 -1
  520. package/dist/index62.js +49 -11
  521. package/dist/index62.js.map +1 -1
  522. package/dist/index63.js +4 -4
  523. package/dist/index63.js.map +1 -1
  524. package/dist/index64.js +5 -47
  525. package/dist/index64.js.map +1 -1
  526. package/dist/index65.js +27 -50
  527. package/dist/index65.js.map +1 -1
  528. package/dist/index66.js +50 -8
  529. package/dist/index66.js.map +1 -1
  530. package/dist/index67.js +8 -14
  531. package/dist/index67.js.map +1 -1
  532. package/dist/index68.js +2 -134
  533. package/dist/index68.js.map +1 -1
  534. package/dist/index69.js +2 -11
  535. package/dist/index69.js.map +1 -1
  536. package/dist/index70.js +11 -216
  537. package/dist/index70.js.map +1 -1
  538. package/dist/index71.js +54 -13
  539. package/dist/index71.js.map +1 -1
  540. package/dist/index72.js +5 -46
  541. package/dist/index72.js.map +1 -1
  542. package/dist/index73.js +7 -49
  543. package/dist/index73.js.map +1 -1
  544. package/dist/index74.js +6 -4
  545. package/dist/index74.js.map +1 -1
  546. package/dist/index75.js +46 -5
  547. package/dist/index75.js.map +1 -1
  548. package/dist/index76.js +205 -27
  549. package/dist/index76.js.map +1 -1
  550. package/dist/index77.js +22 -50
  551. package/dist/index77.js.map +1 -1
  552. package/dist/index78.js +25 -9
  553. package/dist/index78.js.map +1 -1
  554. package/dist/index79.js +400 -2
  555. package/dist/index79.js.map +1 -1
  556. package/dist/index8.js +1 -1
  557. package/dist/index80.js +47 -2
  558. package/dist/index80.js.map +1 -1
  559. package/dist/index81.js +604 -52
  560. package/dist/index81.js.map +1 -1
  561. package/dist/index82.js +5 -5
  562. package/dist/index82.js.map +1 -1
  563. package/dist/index83.js +68 -7
  564. package/dist/index83.js.map +1 -1
  565. package/dist/index84.js +2 -6
  566. package/dist/index84.js.map +1 -1
  567. package/dist/index85.js +352 -594
  568. package/dist/index85.js.map +1 -1
  569. package/dist/index86.js +262 -52
  570. package/dist/index86.js.map +1 -1
  571. package/dist/index87.js +60 -4
  572. package/dist/index87.js.map +1 -1
  573. package/dist/index88.js +46 -4
  574. package/dist/index88.js.map +1 -1
  575. package/dist/index89.js +169 -15
  576. package/dist/index89.js.map +1 -1
  577. package/dist/index9.js +1 -1
  578. package/dist/index90.js +109 -5
  579. package/dist/index90.js.map +1 -1
  580. package/dist/index91.js +24 -7
  581. package/dist/index91.js.map +1 -1
  582. package/dist/index92.js +8 -17
  583. package/dist/index92.js.map +1 -1
  584. package/dist/index93.js +4 -4
  585. package/dist/index93.js.map +1 -1
  586. package/dist/index94.js +5 -4
  587. package/dist/index94.js.map +1 -1
  588. package/dist/index95.js +4 -5
  589. package/dist/index95.js.map +1 -1
  590. package/dist/index96.js +466 -5
  591. package/dist/index96.js.map +1 -1
  592. package/dist/index97.js +185 -4
  593. package/dist/index97.js.map +1 -1
  594. package/dist/index98.js +107 -4
  595. package/dist/index98.js.map +1 -1
  596. package/dist/index99.js +262 -6
  597. package/dist/index99.js.map +1 -1
  598. package/package.json +1 -1
  599. package/dist/index317.js +0 -27
  600. package/dist/index317.js.map +0 -1
  601. package/dist/index318.js +0 -116
  602. package/dist/index318.js.map +0 -1
  603. package/dist/index319.js +0 -19
  604. package/dist/index319.js.map +0 -1
  605. package/dist/index320.js +0 -528
  606. package/dist/index320.js.map +0 -1
  607. package/dist/index321.js +0 -131
  608. package/dist/index321.js.map +0 -1
  609. package/dist/index322.js +0 -137
  610. package/dist/index322.js.map +0 -1
  611. package/dist/index323.js +0 -24
  612. package/dist/index323.js.map +0 -1
  613. package/dist/index324.js +0 -9
  614. package/dist/index324.js.map +0 -1
  615. package/dist/index325.js +0 -9
  616. package/dist/index325.js.map +0 -1
  617. package/dist/index326.js +0 -7
  618. package/dist/index326.js.map +0 -1
  619. package/dist/index327.js +0 -19
  620. package/dist/index327.js.map +0 -1
  621. package/dist/index328.js +0 -12
  622. package/dist/index328.js.map +0 -1
  623. package/dist/index329.js +0 -9
  624. package/dist/index329.js.map +0 -1
  625. package/dist/index330.js +0 -8
  626. package/dist/index330.js.map +0 -1
  627. package/dist/index331.js +0 -549
  628. package/dist/index331.js.map +0 -1
  629. package/dist/index332.js +0 -50
  630. package/dist/index332.js.map +0 -1
  631. package/dist/index333.js +0 -21
  632. package/dist/index333.js.map +0 -1
  633. package/dist/index334.js +0 -10
  634. package/dist/index334.js.map +0 -1
  635. package/dist/index335.js +0 -12
  636. package/dist/index335.js.map +0 -1
  637. package/dist/index336.js +0 -11
  638. package/dist/index336.js.map +0 -1
  639. package/dist/index337.js +0 -12
  640. package/dist/index337.js.map +0 -1
  641. package/dist/index338.js +0 -16
  642. package/dist/index338.js.map +0 -1
  643. package/dist/index339.js +0 -13
  644. package/dist/index339.js.map +0 -1
  645. package/dist/index340.js +0 -17
  646. package/dist/index340.js.map +0 -1
  647. package/dist/index341.js +0 -68
  648. package/dist/index341.js.map +0 -1
  649. package/dist/index342.js +0 -72
  650. package/dist/index342.js.map +0 -1
  651. package/dist/index343.js +0 -12
  652. package/dist/index343.js.map +0 -1
  653. package/dist/index344.js +0 -17
  654. package/dist/index344.js.map +0 -1
  655. package/dist/index345.js +0 -69
  656. package/dist/index345.js.map +0 -1
  657. package/dist/index346.js +0 -71
  658. package/dist/index346.js.map +0 -1
  659. package/dist/index347.js +0 -34
  660. package/dist/index347.js.map +0 -1
  661. package/dist/index348.js +0 -12
  662. package/dist/index348.js.map +0 -1
  663. package/dist/index349.js +0 -156
  664. package/dist/index349.js.map +0 -1
  665. package/dist/index350.js +0 -111
  666. package/dist/index350.js.map +0 -1
  667. package/dist/index351.js +0 -8
  668. package/dist/index351.js.map +0 -1
  669. package/dist/index352.js +0 -59
  670. package/dist/index352.js.map +0 -1
  671. package/dist/index353.js +0 -7
  672. package/dist/index353.js.map +0 -1
  673. package/dist/index354.js +0 -26
  674. package/dist/index354.js.map +0 -1
  675. package/dist/index355.js +0 -19
  676. package/dist/index355.js.map +0 -1
  677. package/dist/index356.js +0 -32
  678. package/dist/index356.js.map +0 -1
  679. package/dist/index357.js +0 -16
  680. package/dist/index357.js.map +0 -1
  681. package/dist/index358.js +0 -10
  682. package/dist/index358.js.map +0 -1
  683. package/dist/index359.js +0 -26
  684. package/dist/index359.js.map +0 -1
  685. package/dist/index360.js +0 -16
  686. package/dist/index360.js.map +0 -1
  687. package/dist/index361.js +0 -31
  688. package/dist/index361.js.map +0 -1
  689. package/dist/index362.js +0 -8
  690. package/dist/index362.js.map +0 -1
package/dist/index272.js CHANGED
@@ -1,33 +1,131 @@
1
- import { defaultDateLib as D } from "./index113.js";
2
- function w(f, g, n = 0, s = 0, l = !1, u = D) {
3
- const { from: o, to: i } = g || {}, { isSameDay: r, isAfter: m, isBefore: c } = u;
4
- let e;
5
- if (!o && !i)
6
- e = { from: f, to: n > 0 ? void 0 : f };
7
- else if (o && !i)
8
- r(o, f) ? n === 0 ? e = { from: o, to: f } : l ? e = { from: o, to: void 0 } : e = void 0 : c(f, o) ? e = { from: f, to: o } : e = { from: o, to: f };
9
- else if (o && i)
10
- if (r(o, f) && r(i, f))
11
- l ? e = { from: o, to: i } : e = void 0;
12
- else if (r(o, f))
13
- e = { from: o, to: n > 0 ? void 0 : f };
14
- else if (r(i, f))
15
- e = { from: f, to: n > 0 ? void 0 : f };
16
- else if (c(f, o))
17
- e = { from: f, to: i };
18
- else if (m(f, o))
19
- e = { from: o, to: f };
20
- else if (m(f, i))
21
- e = { from: o, to: f };
22
- else
23
- throw new Error("Invalid range");
24
- if (e?.from && e?.to) {
25
- const t = u.differenceInCalendarDays(e.to, e.from);
26
- s > 0 && t > s ? e = { from: f, to: void 0 } : n > 1 && t < n && (e = { from: f, to: void 0 });
1
+ const j = ["top", "right", "bottom", "left"], m = Math.min, p = Math.max, C = Math.round, L = Math.floor, E = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), h = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ }, x = {
10
+ start: "end",
11
+ end: "start"
12
+ };
13
+ function R(t, e, n) {
14
+ return p(t, m(e, n));
15
+ }
16
+ function T(t, e) {
17
+ return typeof t == "function" ? t(e) : t;
18
+ }
19
+ function g(t) {
20
+ return t.split("-")[0];
21
+ }
22
+ function a(t) {
23
+ return t.split("-")[1];
24
+ }
25
+ function b(t) {
26
+ return t === "x" ? "y" : "x";
27
+ }
28
+ function d(t) {
29
+ return t === "y" ? "height" : "width";
30
+ }
31
+ const A = /* @__PURE__ */ new Set(["top", "bottom"]);
32
+ function P(t) {
33
+ return A.has(g(t)) ? "y" : "x";
34
+ }
35
+ function y(t) {
36
+ return b(P(t));
37
+ }
38
+ function k(t, e, n) {
39
+ n === void 0 && (n = !1);
40
+ const r = a(t), i = y(t), o = d(i);
41
+ let c = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
42
+ return e.reference[o] > e.floating[o] && (c = f(c)), [c, f(c)];
43
+ }
44
+ function q(t) {
45
+ const e = f(t);
46
+ return [s(t), e, s(e)];
47
+ }
48
+ function s(t) {
49
+ return t.replace(/start|end/g, (e) => x[e]);
50
+ }
51
+ const u = ["left", "right"], l = ["right", "left"], M = ["top", "bottom"], O = ["bottom", "top"];
52
+ function S(t, e, n) {
53
+ switch (t) {
54
+ case "top":
55
+ case "bottom":
56
+ return n ? e ? l : u : e ? u : l;
57
+ case "left":
58
+ case "right":
59
+ return e ? M : O;
60
+ default:
61
+ return [];
27
62
  }
28
- return e;
63
+ }
64
+ function z(t, e, n, r) {
65
+ const i = a(t);
66
+ let o = S(g(t), n === "start", r);
67
+ return i && (o = o.map((c) => c + "-" + i), e && (o = o.concat(o.map(s)))), o;
68
+ }
69
+ function f(t) {
70
+ return t.replace(/left|right|bottom|top/g, (e) => h[e]);
71
+ }
72
+ function w(t) {
73
+ return {
74
+ top: 0,
75
+ right: 0,
76
+ bottom: 0,
77
+ left: 0,
78
+ ...t
79
+ };
80
+ }
81
+ function B(t) {
82
+ return typeof t != "number" ? w(t) : {
83
+ top: t,
84
+ right: t,
85
+ bottom: t,
86
+ left: t
87
+ };
88
+ }
89
+ function D(t) {
90
+ const {
91
+ x: e,
92
+ y: n,
93
+ width: r,
94
+ height: i
95
+ } = t;
96
+ return {
97
+ width: r,
98
+ height: i,
99
+ top: n,
100
+ left: e,
101
+ right: e + r,
102
+ bottom: n + i,
103
+ x: e,
104
+ y: n
105
+ };
29
106
  }
30
107
  export {
31
- w as addToRange
108
+ R as clamp,
109
+ E as createCoords,
110
+ T as evaluate,
111
+ w as expandPaddingObject,
112
+ L as floor,
113
+ a as getAlignment,
114
+ y as getAlignmentAxis,
115
+ k as getAlignmentSides,
116
+ d as getAxisLength,
117
+ q as getExpandedPlacements,
118
+ s as getOppositeAlignmentPlacement,
119
+ b as getOppositeAxis,
120
+ z as getOppositeAxisPlacements,
121
+ f as getOppositePlacement,
122
+ B as getPaddingObject,
123
+ g as getSide,
124
+ P as getSideAxis,
125
+ p as max,
126
+ m as min,
127
+ D as rectToClientRect,
128
+ C as round,
129
+ j as sides
32
130
  };
33
131
  //# sourceMappingURL=index272.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index272.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/addToRange.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Adds a date to an existing range, considering constraints like minimum and\n * maximum range size.\n *\n * @param date - The date to add to the range.\n * @param initialRange - The initial range to which the date will be added.\n * @param min - The minimum number of days in the range.\n * @param max - The maximum number of days in the range.\n * @param required - Whether the range must always include at least one date.\n * @param dateLib - The date utility library instance.\n * @returns The updated date range, or `undefined` if the range is cleared.\n * @group Utilities\n */\nexport function addToRange(date, initialRange, min = 0, max = 0, required = false, dateLib = defaultDateLib) {\n const { from, to } = initialRange || {};\n const { isSameDay, isAfter, isBefore } = dateLib;\n let range;\n if (!from && !to) {\n // the range is empty, add the date\n range = { from: date, to: min > 0 ? undefined : date };\n }\n else if (from && !to) {\n // adding date to an incomplete range\n if (isSameDay(from, date)) {\n // adding a date equal to the start of the range\n if (min === 0) {\n range = { from, to: date };\n }\n else if (required) {\n range = { from, to: undefined };\n }\n else {\n range = undefined;\n }\n }\n else if (isBefore(date, from)) {\n // adding a date before the start of the range\n range = { from: date, to: from };\n }\n else {\n // adding a date after the start of the range\n range = { from, to: date };\n }\n }\n else if (from && to) {\n // adding date to a complete range\n if (isSameDay(from, date) && isSameDay(to, date)) {\n // adding a date that is equal to both start and end of the range\n if (required) {\n range = { from, to };\n }\n else {\n range = undefined;\n }\n }\n else if (isSameDay(from, date)) {\n // adding a date equal to the the start of the range\n range = { from, to: min > 0 ? undefined : date };\n }\n else if (isSameDay(to, date)) {\n // adding a dare equal to the end of the range\n range = { from: date, to: min > 0 ? undefined : date };\n }\n else if (isBefore(date, from)) {\n // adding a date before the start of the range\n range = { from: date, to: to };\n }\n else if (isAfter(date, from)) {\n // adding a date after the start of the range\n range = { from, to: date };\n }\n else if (isAfter(date, to)) {\n // adding a date after the end of the range\n range = { from, to: date };\n }\n else {\n throw new Error(\"Invalid range\");\n }\n }\n // check for min / max\n if (range?.from && range?.to) {\n const diff = dateLib.differenceInCalendarDays(range.to, range.from);\n if (max > 0 && diff > max) {\n range = { from: date, to: undefined };\n }\n else if (min > 1 && diff < min) {\n range = { from: date, to: undefined };\n }\n }\n return range;\n}\n"],"names":["addToRange","date","initialRange","min","max","required","dateLib","defaultDateLib","from","to","isSameDay","isAfter","isBefore","range","diff"],"mappings":";AAcO,SAASA,EAAWC,GAAMC,GAAcC,IAAM,GAAGC,IAAM,GAAGC,IAAW,IAAOC,IAAUC,GAAgB;AACzG,QAAM,EAAE,MAAAC,GAAM,IAAAC,EAAE,IAAKP,KAAgB,CAAA,GAC/B,EAAE,WAAAQ,GAAW,SAAAC,GAAS,UAAAC,EAAQ,IAAKN;AACzC,MAAIO;AACJ,MAAI,CAACL,KAAQ,CAACC;AAEV,IAAAI,IAAQ,EAAE,MAAMZ,GAAM,IAAIE,IAAM,IAAI,SAAYF,EAAI;AAAA,WAE/CO,KAAQ,CAACC;AAEd,IAAIC,EAAUF,GAAMP,CAAI,IAEhBE,MAAQ,IACRU,IAAQ,EAAE,MAAAL,GAAM,IAAIP,EAAI,IAEnBI,IACLQ,IAAQ,EAAE,MAAAL,GAAM,IAAI,OAAS,IAG7BK,IAAQ,SAGPD,EAASX,GAAMO,CAAI,IAExBK,IAAQ,EAAE,MAAMZ,GAAM,IAAIO,EAAI,IAI9BK,IAAQ,EAAE,MAAAL,GAAM,IAAIP,EAAI;AAAA,WAGvBO,KAAQC;AAEb,QAAIC,EAAUF,GAAMP,CAAI,KAAKS,EAAUD,GAAIR,CAAI;AAE3C,MAAII,IACAQ,IAAQ,EAAE,MAAAL,GAAM,IAAAC,EAAE,IAGlBI,IAAQ;AAAA,aAGPH,EAAUF,GAAMP,CAAI;AAEzB,MAAAY,IAAQ,EAAE,MAAAL,GAAM,IAAIL,IAAM,IAAI,SAAYF,EAAI;AAAA,aAEzCS,EAAUD,GAAIR,CAAI;AAEvB,MAAAY,IAAQ,EAAE,MAAMZ,GAAM,IAAIE,IAAM,IAAI,SAAYF,EAAI;AAAA,aAE/CW,EAASX,GAAMO,CAAI;AAExB,MAAAK,IAAQ,EAAE,MAAMZ,GAAM,IAAIQ,EAAE;AAAA,aAEvBE,EAAQV,GAAMO,CAAI;AAEvB,MAAAK,IAAQ,EAAE,MAAAL,GAAM,IAAIP,EAAI;AAAA,aAEnBU,EAAQV,GAAMQ,CAAE;AAErB,MAAAI,IAAQ,EAAE,MAAAL,GAAM,IAAIP,EAAI;AAAA;AAGxB,YAAM,IAAI,MAAM,eAAe;AAIvC,MAAIY,GAAO,QAAQA,GAAO,IAAI;AAC1B,UAAMC,IAAOR,EAAQ,yBAAyBO,EAAM,IAAIA,EAAM,IAAI;AAClE,IAAIT,IAAM,KAAKU,IAAOV,IAClBS,IAAQ,EAAE,MAAMZ,GAAM,IAAI,OAAS,IAE9BE,IAAM,KAAKW,IAAOX,MACvBU,IAAQ,EAAE,MAAMZ,GAAM,IAAI,OAAS;AAAA,EAE3C;AACA,SAAOY;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index272.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nconst yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);\nfunction getSideAxis(placement) {\n return yAxisSides.has(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["sides","min","max","round","floor","createCoords","v","oppositeSideMap","oppositeAlignmentMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","yAxisSides","getSideAxis","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","lrPlacement","rlPlacement","tbPlacement","btPlacement","getSideList","side","isStart","getOppositeAxisPlacements","flipAlignment","direction","list","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","x","y","width","height"],"mappings":"AAKK,MAAC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AASM,EAAoBC,GAAS;AACpC,SAAO;AAAA,IACL,KAAK;AAAA,IACL,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,GAAGA;AAAA,EACP;AACA;AACA,SAASC,EAAiBD,GAAS;AACjC,SAAO,OAAOA,KAAY,WAAWD,EAAoBC,CAAO,IAAI;AAAA,IAClE,KAAKA;AAAA,IACL,OAAOA;AAAA,IACP,QAAQA;AAAA,IACR,MAAMA;AAAA,EACV;AACA;AACA,SAASE,EAAiBC,GAAM;AAC9B,QAAM;AAAA,IACJ,GAAAC;AAAA,IACA,GAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMJ;AACJ,SAAO;AAAA,IACL,OAAAG;AAAA,IACA,QAAAC;AAAA,IACA,KAAKF;AAAA,IACL,MAAMD;AAAA,IACN,OAAOA,IAAIE;AAAA,IACX,QAAQD,IAAIE;AAAA,IACZ,GAAAH;AAAA,IACA,GAAAC;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
package/dist/index273.js CHANGED
@@ -1,16 +1,137 @@
1
- import { defaultDateLib as f } from "./index113.js";
2
- function y(t, r, e = f) {
3
- const n = Array.isArray(r) ? r : [r];
4
- let a = t.from;
5
- const i = e.differenceInCalendarDays(t.to, t.from), s = Math.min(i, 6);
6
- for (let o = 0; o <= s; o++) {
7
- if (n.includes(a.getDay()))
8
- return !0;
9
- a = e.addDays(a, 1);
1
+ function c() {
2
+ return typeof window < "u";
3
+ }
4
+ function u(t) {
5
+ return p(t) ? (t.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(t) {
8
+ var e;
9
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
10
+ }
11
+ function N(t) {
12
+ var e;
13
+ return (e = (p(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
14
+ }
15
+ function p(t) {
16
+ return c() ? t instanceof Node || t instanceof i(t).Node : !1;
17
+ }
18
+ function m(t) {
19
+ return c() ? t instanceof Element || t instanceof i(t).Element : !1;
20
+ }
21
+ function w(t) {
22
+ return c() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
23
+ }
24
+ function f(t) {
25
+ return !c() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
26
+ }
27
+ const E = /* @__PURE__ */ new Set(["inline", "contents"]);
28
+ function y(t) {
29
+ const {
30
+ overflow: e,
31
+ overflowX: n,
32
+ overflowY: o,
33
+ display: r
34
+ } = S(t);
35
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !E.has(r);
36
+ }
37
+ const T = /* @__PURE__ */ new Set(["table", "td", "th"]);
38
+ function A(t) {
39
+ return T.has(u(t));
40
+ }
41
+ const v = [":popover-open", ":modal"];
42
+ function L(t) {
43
+ return v.some((e) => {
44
+ try {
45
+ return t.matches(e);
46
+ } catch {
47
+ return !1;
48
+ }
49
+ });
50
+ }
51
+ const D = ["transform", "translate", "scale", "rotate", "perspective"], C = ["transform", "translate", "scale", "rotate", "perspective", "filter"], k = ["paint", "layout", "strict", "content"];
52
+ function V(t) {
53
+ const e = O(), n = m(t) ? S(t) : t;
54
+ return D.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || C.some((o) => (n.willChange || "").includes(o)) || k.some((o) => (n.contain || "").includes(o));
55
+ }
56
+ function B(t) {
57
+ let e = s(t);
58
+ for (; w(e) && !h(e); ) {
59
+ if (V(e))
60
+ return e;
61
+ if (L(e))
62
+ return null;
63
+ e = s(e);
64
+ }
65
+ return null;
66
+ }
67
+ function O() {
68
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
69
+ }
70
+ const R = /* @__PURE__ */ new Set(["html", "body", "#document"]);
71
+ function h(t) {
72
+ return R.has(u(t));
73
+ }
74
+ function S(t) {
75
+ return i(t).getComputedStyle(t);
76
+ }
77
+ function F(t) {
78
+ return m(t) ? {
79
+ scrollLeft: t.scrollLeft,
80
+ scrollTop: t.scrollTop
81
+ } : {
82
+ scrollLeft: t.scrollX,
83
+ scrollTop: t.scrollY
84
+ };
85
+ }
86
+ function s(t) {
87
+ if (u(t) === "html")
88
+ return t;
89
+ const e = (
90
+ // Step into the shadow DOM of the parent of a slotted node.
91
+ t.assignedSlot || // DOM Element detected.
92
+ t.parentNode || // ShadowRoot detected.
93
+ f(t) && t.host || // Fallback.
94
+ N(t)
95
+ );
96
+ return f(e) ? e.host : e;
97
+ }
98
+ function b(t) {
99
+ const e = s(t);
100
+ return h(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : w(e) && y(e) ? e : b(e);
101
+ }
102
+ function d(t, e, n) {
103
+ var o;
104
+ e === void 0 && (e = []), n === void 0 && (n = !0);
105
+ const r = b(t), g = r === ((o = t.ownerDocument) == null ? void 0 : o.body), l = i(r);
106
+ if (g) {
107
+ const a = _(l);
108
+ return e.concat(l, l.visualViewport || [], y(r) ? r : [], a && n ? d(a) : []);
10
109
  }
11
- return !1;
110
+ return e.concat(r, d(r, [], n));
111
+ }
112
+ function _(t) {
113
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
12
114
  }
13
115
  export {
14
- y as rangeContainsDayOfWeek
116
+ S as getComputedStyle,
117
+ B as getContainingBlock,
118
+ N as getDocumentElement,
119
+ _ as getFrameElement,
120
+ b as getNearestOverflowAncestor,
121
+ u as getNodeName,
122
+ F as getNodeScroll,
123
+ d as getOverflowAncestors,
124
+ s as getParentNode,
125
+ i as getWindow,
126
+ V as isContainingBlock,
127
+ m as isElement,
128
+ w as isHTMLElement,
129
+ h as isLastTraversableNode,
130
+ p as isNode,
131
+ y as isOverflowElement,
132
+ f as isShadowRoot,
133
+ A as isTableElement,
134
+ L as isTopLayer,
135
+ O as isWebKit
15
136
  };
16
137
  //# sourceMappingURL=index273.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index273.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Checks if a date range contains one or more specified days of the week.\n *\n * @since 9.2.2\n * @param range - The date range to check.\n * @param dayOfWeek - The day(s) of the week to check for (`0-6`, where `0` is\n * Sunday).\n * @param dateLib - The date utility library instance.\n * @returns `true` if the range contains the specified day(s) of the week,\n * otherwise `false`.\n * @group Utilities\n */\nexport function rangeContainsDayOfWeek(range, dayOfWeek, dateLib = defaultDateLib) {\n const dayOfWeekArr = !Array.isArray(dayOfWeek) ? [dayOfWeek] : dayOfWeek;\n let date = range.from;\n const totalDays = dateLib.differenceInCalendarDays(range.to, range.from);\n // iterate at maximum one week or the total days if the range is shorter than one week\n const totalDaysLimit = Math.min(totalDays, 6);\n for (let i = 0; i <= totalDaysLimit; i++) {\n if (dayOfWeekArr.includes(date.getDay())) {\n return true;\n }\n date = dateLib.addDays(date, 1);\n }\n return false;\n}\n"],"names":["rangeContainsDayOfWeek","range","dayOfWeek","dateLib","defaultDateLib","dayOfWeekArr","date","totalDays","totalDaysLimit","i"],"mappings":";AAaO,SAASA,EAAuBC,GAAOC,GAAWC,IAAUC,GAAgB;AAC/E,QAAMC,IAAgB,MAAM,QAAQH,CAAS,IAAkBA,IAAd,CAACA,CAAS;AAC3D,MAAII,IAAOL,EAAM;AACjB,QAAMM,IAAYJ,EAAQ,yBAAyBF,EAAM,IAAIA,EAAM,IAAI,GAEjEO,IAAiB,KAAK,IAAID,GAAW,CAAC;AAC5C,WAASE,IAAI,GAAGA,KAAKD,GAAgBC,KAAK;AACtC,QAAIJ,EAAa,SAASC,EAAK,OAAM,CAAE;AACnC,aAAO;AAEX,IAAAA,IAAOH,EAAQ,QAAQG,GAAM,CAAC;AAAA,EAClC;AACA,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index273.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nconst invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);\n}\nconst tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);\nfunction isTableElement(element) {\n return tableElements.has(getNodeName(element));\n}\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction isTopLayer(element) {\n return topLayerSelectors.some(selector => {\n try {\n return element.matches(selector);\n } catch (_e) {\n return false;\n }\n });\n}\nconst transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];\nconst willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];\nconst containValues = ['paint', 'layout', 'strict', 'content'];\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nconst lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);\nfunction isLastTraversableNode(node) {\n return lastTraversableNodeNames.has(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","invalidOverflowDisplayValues","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","tableElements","isTableElement","topLayerSelectors","isTopLayer","selector","transformProperties","willChangeValues","containValues","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","lastTraversableNodeNames","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncest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C,EAAK,kBAAkB,OAAO,SAAS2C,EAAqB,OACrHG,IAAM5C,EAAU0C,CAAkB;AACxC,MAAIC,GAAQ;AACV,UAAME,IAAeC,EAAgBF,CAAG;AACxC,WAAOL,EAAK,OAAOK,GAAKA,EAAI,kBAAkB,CAAA,GAAInC,EAAkBiC,CAAkB,IAAIA,IAAqB,CAAA,GAAIG,KAAgBL,IAAkBF,EAAqBO,CAAY,IAAI,EAAE;AAAA,EAC9L;AACA,SAAON,EAAK,OAAOG,GAAoBJ,EAAqBI,GAAoB,CAAA,GAAIF,CAAe,CAAC;AACtG;AACA,SAASM,EAAgBF,GAAK;AAC5B,SAAOA,EAAI,UAAU,OAAO,eAAeA,EAAI,MAAM,IAAIA,EAAI,eAAe;AAC9E;","x_google_ignoreList":[0]}
package/dist/index274.js CHANGED
@@ -1,29 +1,24 @@
1
- import { defaultDateLib as p } from "./index113.js";
2
- import { dateMatchModifiers as s } from "./index256.js";
3
- import { rangeContainsDayOfWeek as M } from "./index273.js";
4
- import { rangeIncludesDate as l } from "./index133.js";
5
- import { rangeOverlaps as y } from "./index275.js";
6
- import { isDatesArray as a, isDateRange as A, isDayOfWeekType as C, isDateInterval as I, isDateAfterType as v, isDateBeforeType as F } from "./index135.js";
7
- function d(n, t, f = p) {
8
- const e = Array.isArray(t) ? t : [t];
9
- if (e.filter((o) => typeof o != "function").some((o) => typeof o == "boolean" ? o : f.isDate(o) ? l(n, o, !1, f) : a(o, f) ? o.some((r) => l(n, r, !1, f)) : A(o) ? o.from && o.to ? y(n, { from: o.from, to: o.to }, f) : !1 : C(o) ? M(n, o.dayOfWeek, f) : I(o) ? f.isAfter(o.before, o.after) ? y(n, {
10
- from: f.addDays(o.after, 1),
11
- to: f.addDays(o.before, -1)
12
- }, f) : s(n.from, o, f) || s(n.to, o, f) : v(o) || F(o) ? s(n.from, o, f) || s(n.to, o, f) : !1))
13
- return !0;
14
- const i = e.filter((o) => typeof o == "function");
15
- if (i.length) {
16
- let o = n.from;
17
- const r = f.differenceInCalendarDays(n.to, n.from);
18
- for (let u = 0; u <= r; u++) {
19
- if (i.some((D) => D(o)))
20
- return !0;
21
- o = f.addDays(o, 1);
22
- }
23
- }
24
- return !1;
1
+ import { VALID_DIGITS as n } from "./index92.js";
2
+ var v = "+", I = "[\\-\\.\\(\\)]?", R = "([" + n + "]|" + I + ")", i = "^\\" + v + R + "*[" + n + "]" + R + "*$", N = new RegExp(i, "g"), r = n, C = "[" + r + "]+((\\-)*[" + r + "])*", L = "a-zA-Z", f = "[" + L + "]+((\\-)*[" + r + "])*", E = "^(" + C + "\\.)*" + f + "\\.?$", O = new RegExp(E, "g"), l = "tel:", a = ";phone-context=", u = ";isub=";
3
+ function D(_) {
4
+ var t = _.indexOf(a);
5
+ if (t < 0)
6
+ return null;
7
+ var e = t + a.length;
8
+ if (e >= _.length)
9
+ return "";
10
+ var A = _.indexOf(";", e);
11
+ return A >= 0 ? _.substring(e, A) : _.substring(e);
12
+ }
13
+ function S(_) {
14
+ return _ === null ? !0 : _.length === 0 ? !1 : N.test(_) || O.test(_);
25
15
  }
26
16
  export {
27
- d as rangeContainsModifiers
17
+ v as PLUS_SIGN,
18
+ u as RFC3966_ISDN_SUBADDRESS_,
19
+ a as RFC3966_PHONE_CONTEXT_,
20
+ l as RFC3966_PREFIX_,
21
+ D as default,
22
+ S as isPhoneContextValid
28
23
  };
29
24
  //# sourceMappingURL=index274.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index274.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\nimport { dateMatchModifiers } from \"./dateMatchModifiers.js\";\nimport { rangeContainsDayOfWeek } from \"./rangeContainsDayOfWeek.js\";\nimport { rangeIncludesDate } from \"./rangeIncludesDate.js\";\nimport { rangeOverlaps } from \"./rangeOverlaps.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, isDatesArray, isDayOfWeekType, } from \"./typeguards.js\";\n/**\n * Checks if a date range contains dates that match the given modifiers.\n *\n * @since 9.2.2\n * @param range - The date range to check.\n * @param modifiers - The modifiers to match against.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the range contains matching dates, otherwise `false`.\n * @group Utilities\n */\nexport function rangeContainsModifiers(range, modifiers, dateLib = defaultDateLib) {\n const matchers = Array.isArray(modifiers) ? modifiers : [modifiers];\n // Defer function matchers evaluation as they are the least performant.\n const nonFunctionMatchers = matchers.filter((matcher) => typeof matcher !== \"function\");\n const nonFunctionMatchersResult = nonFunctionMatchers.some((matcher) => {\n if (typeof matcher === \"boolean\")\n return matcher;\n if (dateLib.isDate(matcher)) {\n return rangeIncludesDate(range, matcher, false, dateLib);\n }\n if (isDatesArray(matcher, dateLib)) {\n return matcher.some((date) => rangeIncludesDate(range, date, false, dateLib));\n }\n if (isDateRange(matcher)) {\n if (matcher.from && matcher.to) {\n return rangeOverlaps(range, { from: matcher.from, to: matcher.to }, dateLib);\n }\n return false;\n }\n if (isDayOfWeekType(matcher)) {\n return rangeContainsDayOfWeek(range, matcher.dayOfWeek, dateLib);\n }\n if (isDateInterval(matcher)) {\n const isClosedInterval = dateLib.isAfter(matcher.before, matcher.after);\n if (isClosedInterval) {\n return rangeOverlaps(range, {\n from: dateLib.addDays(matcher.after, 1),\n to: dateLib.addDays(matcher.before, -1),\n }, dateLib);\n }\n return (dateMatchModifiers(range.from, matcher, dateLib) ||\n dateMatchModifiers(range.to, matcher, dateLib));\n }\n if (isDateAfterType(matcher) || isDateBeforeType(matcher)) {\n return (dateMatchModifiers(range.from, matcher, dateLib) ||\n dateMatchModifiers(range.to, matcher, dateLib));\n }\n return false;\n });\n if (nonFunctionMatchersResult) {\n return true;\n }\n const functionMatchers = matchers.filter((matcher) => typeof matcher === \"function\");\n if (functionMatchers.length) {\n let date = range.from;\n const totalDays = dateLib.differenceInCalendarDays(range.to, range.from);\n for (let i = 0; i <= totalDays; i++) {\n if (functionMatchers.some((matcher) => matcher(date))) {\n return true;\n }\n date = dateLib.addDays(date, 1);\n }\n }\n return false;\n}\n"],"names":["rangeContainsModifiers","range","modifiers","dateLib","defaultDateLib","matchers","matcher","rangeIncludesDate","isDatesArray","date","isDateRange","rangeOverlaps","isDayOfWeekType","rangeContainsDayOfWeek","isDateInterval","dateMatchModifiers","isDateAfterType","isDateBeforeType","functionMatchers","totalDays","i"],"mappings":";;;;;;AAgBO,SAASA,EAAuBC,GAAOC,GAAWC,IAAUC,GAAgB;AAC/E,QAAMC,IAAW,MAAM,QAAQH,CAAS,IAAIA,IAAY,CAACA,CAAS;AAsClE,MApC4BG,EAAS,OAAO,CAACC,MAAY,OAAOA,KAAY,UAAU,EAChC,KAAK,CAACA,MACpD,OAAOA,KAAY,YACZA,IACPH,EAAQ,OAAOG,CAAO,IACfC,EAAkBN,GAAOK,GAAS,IAAOH,CAAO,IAEvDK,EAAaF,GAASH,CAAO,IACtBG,EAAQ,KAAK,CAACG,MAASF,EAAkBN,GAAOQ,GAAM,IAAON,CAAO,CAAC,IAE5EO,EAAYJ,CAAO,IACfA,EAAQ,QAAQA,EAAQ,KACjBK,EAAcV,GAAO,EAAE,MAAMK,EAAQ,MAAM,IAAIA,EAAQ,GAAE,GAAIH,CAAO,IAExE,KAEPS,EAAgBN,CAAO,IAChBO,EAAuBZ,GAAOK,EAAQ,WAAWH,CAAO,IAE/DW,EAAeR,CAAO,IACGH,EAAQ,QAAQG,EAAQ,QAAQA,EAAQ,KAAK,IAE3DK,EAAcV,GAAO;AAAA,IACxB,MAAME,EAAQ,QAAQG,EAAQ,OAAO,CAAC;AAAA,IACtC,IAAIH,EAAQ,QAAQG,EAAQ,QAAQ,EAAE;AAAA,EAC1D,GAAmBH,CAAO,IAENY,EAAmBd,EAAM,MAAMK,GAASH,CAAO,KACnDY,EAAmBd,EAAM,IAAIK,GAASH,CAAO,IAEjDa,EAAgBV,CAAO,KAAKW,EAAiBX,CAAO,IAC5CS,EAAmBd,EAAM,MAAMK,GAASH,CAAO,KACnDY,EAAmBd,EAAM,IAAIK,GAASH,CAAO,IAE9C,EACV;AAEG,WAAO;AAEX,QAAMe,IAAmBb,EAAS,OAAO,CAACC,MAAY,OAAOA,KAAY,UAAU;AACnF,MAAIY,EAAiB,QAAQ;AACzB,QAAIT,IAAOR,EAAM;AACjB,UAAMkB,IAAYhB,EAAQ,yBAAyBF,EAAM,IAAIA,EAAM,IAAI;AACvE,aAASmB,IAAI,GAAGA,KAAKD,GAAWC,KAAK;AACjC,UAAIF,EAAiB,KAAK,CAACZ,MAAYA,EAAQG,CAAI,CAAC;AAChD,eAAO;AAEX,MAAAA,IAAON,EAAQ,QAAQM,GAAM,CAAC;AAAA,IAClC;AAAA,EACJ;AACA,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index274.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js"],"sourcesContent":["// When phone numbers are written in `RFC3966` format — `\"tel:+12133734253\"` —\n// they can have their \"calling code\" part written separately in a `phone-context` parameter.\n// Example: `\"tel:12133734253;phone-context=+1\"`.\n// This function parses the full phone number from the local number and the `phone-context`\n// when the `phone-context` contains a `+` sign.\n\nimport { VALID_DIGITS\n// PLUS_CHARS\n} from '../constants.js';\nexport var PLUS_SIGN = '+';\nvar RFC3966_VISUAL_SEPARATOR_ = '[\\\\-\\\\.\\\\(\\\\)]?';\nvar RFC3966_PHONE_DIGIT_ = '(' + '[' + VALID_DIGITS + ']' + '|' + RFC3966_VISUAL_SEPARATOR_ + ')';\nvar RFC3966_GLOBAL_NUMBER_DIGITS_ = '^' + '\\\\' + PLUS_SIGN + RFC3966_PHONE_DIGIT_ + '*' + '[' + VALID_DIGITS + ']' + RFC3966_PHONE_DIGIT_ + '*' + '$';\n\n/**\r\n * Regular expression of valid global-number-digits for the phone-context\r\n * parameter, following the syntax defined in RFC3966.\r\n */\nvar RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_ = new RegExp(RFC3966_GLOBAL_NUMBER_DIGITS_, 'g');\n\n// In this port of Google's library, we don't accept alpha characters in phone numbers.\n// const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS\nvar ALPHANUM_ = VALID_DIGITS;\nvar RFC3966_DOMAINLABEL_ = '[' + ALPHANUM_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar VALID_ALPHA_ = 'a-zA-Z';\nvar RFC3966_TOPLABEL_ = '[' + VALID_ALPHA_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar RFC3966_DOMAINNAME_ = '^(' + RFC3966_DOMAINLABEL_ + '\\\\.)*' + RFC3966_TOPLABEL_ + '\\\\.?$';\n\n/**\r\n * Regular expression of valid domainname for the phone-context parameter,\r\n * following the syntax defined in RFC3966.\r\n */\nvar RFC3966_DOMAINNAME_PATTERN_ = new RegExp(RFC3966_DOMAINNAME_, 'g');\nexport var RFC3966_PREFIX_ = 'tel:';\nexport var RFC3966_PHONE_CONTEXT_ = ';phone-context=';\nexport var RFC3966_ISDN_SUBADDRESS_ = ';isub=';\n\n/**\r\n * Extracts the value of the phone-context parameter of `numberToExtractFrom`,\r\n * following the syntax defined in RFC3966.\r\n *\r\n * @param {string} numberToExtractFrom\r\n * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.\r\n */\nexport default function extractPhoneContext(numberToExtractFrom) {\n var indexOfPhoneContext = numberToExtractFrom.indexOf(RFC3966_PHONE_CONTEXT_);\n // If no phone-context parameter is present\n if (indexOfPhoneContext < 0) {\n return null;\n }\n var phoneContextStart = indexOfPhoneContext + RFC3966_PHONE_CONTEXT_.length;\n // If phone-context parameter is empty\n if (phoneContextStart >= numberToExtractFrom.length) {\n return '';\n }\n var phoneContextEnd = numberToExtractFrom.indexOf(';', phoneContextStart);\n // If phone-context is not the last parameter\n if (phoneContextEnd >= 0) {\n return numberToExtractFrom.substring(phoneContextStart, phoneContextEnd);\n } else {\n return numberToExtractFrom.substring(phoneContextStart);\n }\n}\n\n/**\r\n * Returns whether the value of phoneContext follows the syntax defined in RFC3966.\r\n *\r\n * @param {string|null} phoneContext\r\n * @return {boolean}\r\n */\nexport function isPhoneContextValid(phoneContext) {\n if (phoneContext === null) {\n return true;\n }\n if (phoneContext.length === 0) {\n return false;\n }\n\n // Does phone-context value match pattern of global-number-digits or domainname.\n return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);\n}\n//# sourceMappingURL=extractPhoneContext.js.map"],"names":["PLUS_SIGN","RFC3966_VISUAL_SEPARATOR_","RFC3966_PHONE_DIGIT_","VALID_DIGITS","RFC3966_GLOBAL_NUMBER_DIGITS_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","ALPHANUM_","RFC3966_DOMAINLABEL_","VALID_ALPHA_","RFC3966_TOPLABEL_","RFC3966_DOMAINNAME_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","RFC3966_ISDN_SUBADDRESS_","extractPhoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","isPhoneContextValid","phoneContext"],"mappings":";AASU,IAACA,IAAY,KACnBC,IAA4B,mBAC5BC,IAAuB,OAAYC,IAAe,OAAYF,IAA4B,KAC1FG,IAAgC,QAAaJ,IAAYE,IAAuB,OAAYC,IAAe,MAAMD,IAAuB,MAMxIG,IAAwC,IAAI,OAAOD,GAA+B,GAAG,GAIrFE,IAAYH,GACZI,IAAuB,MAAMD,IAAY,eAAeA,IAAY,OACpEE,IAAe,UACfC,IAAoB,MAAMD,IAAe,eAAeF,IAAY,OACpEI,IAAsB,OAAOH,IAAuB,UAAUE,IAAoB,SAMlFE,IAA8B,IAAI,OAAOD,GAAqB,GAAG,GAC1DE,IAAkB,QAClBC,IAAyB,mBACzBC,IAA2B;AASvB,SAASC,EAAoBC,GAAqB;AAC/D,MAAIC,IAAsBD,EAAoB,QAAQH,CAAsB;AAE5E,MAAII,IAAsB;AACxB,WAAO;AAET,MAAIC,IAAoBD,IAAsBJ,EAAuB;AAErE,MAAIK,KAAqBF,EAAoB;AAC3C,WAAO;AAET,MAAIG,IAAkBH,EAAoB,QAAQ,KAAKE,CAAiB;AAExE,SAAIC,KAAmB,IACdH,EAAoB,UAAUE,GAAmBC,CAAe,IAEhEH,EAAoB,UAAUE,CAAiB;AAE1D;AAQO,SAASE,EAAoBC,GAAc;AAChD,SAAIA,MAAiB,OACZ,KAELA,EAAa,WAAW,IACnB,KAIFhB,EAAsC,KAAKgB,CAAY,KAAKV,EAA4B,KAAKU,CAAY;AAClH;","x_google_ignoreList":[0]}
package/dist/index275.js CHANGED
@@ -1,9 +1,8 @@
1
- import { rangeIncludesDate as m } from "./index133.js";
2
- import { defaultDateLib as r } from "./index113.js";
3
- function u(o, f, l = r) {
4
- return m(o, f.from, !1, l) || m(o, f.to, !1, l) || m(f, o.from, !1, l) || m(f, o.to, !1, l);
1
+ function r(s, t) {
2
+ const e = t.startOfMonth(s), n = e.getDay() > 0 ? e.getDay() : 7, a = t.addDays(s, -n + 1), o = t.addDays(a, 34);
3
+ return t.getMonth(s) === t.getMonth(o) ? 5 : 4;
5
4
  }
6
5
  export {
7
- u as rangeOverlaps
6
+ r as getBroadcastWeeksInMonth
8
7
  };
9
8
  //# sourceMappingURL=index275.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index275.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/index.js\";\nimport { rangeIncludesDate } from \"./rangeIncludesDate.js\";\n/**\n * Determines if two date ranges overlap.\n *\n * @since 9.2.2\n * @param rangeLeft - The first date range.\n * @param rangeRight - The second date range.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the ranges overlap, otherwise `false`.\n * @group Utilities\n */\nexport function rangeOverlaps(rangeLeft, rangeRight, dateLib = defaultDateLib) {\n return (rangeIncludesDate(rangeLeft, rangeRight.from, false, dateLib) ||\n rangeIncludesDate(rangeLeft, rangeRight.to, false, dateLib) ||\n rangeIncludesDate(rangeRight, rangeLeft.from, false, dateLib) ||\n rangeIncludesDate(rangeRight, rangeLeft.to, false, dateLib));\n}\n"],"names":["rangeOverlaps","rangeLeft","rangeRight","dateLib","defaultDateLib","rangeIncludesDate"],"mappings":";;AAYO,SAASA,EAAcC,GAAWC,GAAYC,IAAUC,GAAgB;AAC3E,SAAQC,EAAkBJ,GAAWC,EAAW,MAAM,IAAOC,CAAO,KAChEE,EAAkBJ,GAAWC,EAAW,IAAI,IAAOC,CAAO,KAC1DE,EAAkBH,GAAYD,EAAU,MAAM,IAAOE,CAAO,KAC5DE,EAAkBH,GAAYD,EAAU,IAAI,IAAOE,CAAO;AAClE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index275.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Returns the number of weeks to display in the broadcast calendar for a given\n * month.\n *\n * The broadcast calendar may have either 4 or 5 weeks in a month, depending on\n * the start and end dates of the broadcast weeks.\n *\n * @since 9.4.0\n * @param month The month for which to calculate the number of weeks.\n * @param dateLib The date library to use for date manipulation.\n * @returns The number of weeks in the broadcast calendar (4 or 5).\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n"],"names":["getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","firstDayOfWeek","broadcastStartDate","lastDateOfLastWeek"],"mappings":"AAcO,SAASA,EAAyBC,GAAOC,GAAS;AAErD,QAAMC,IAAkBD,EAAQ,aAAaD,CAAK,GAE5CG,IAAiBD,EAAgB,OAAM,IAAK,IAAIA,EAAgB,OAAM,IAAK,GAC3EE,IAAqBH,EAAQ,QAAQD,GAAO,CAACG,IAAiB,CAAC,GAC/DE,IAAqBJ,EAAQ,QAAQG,GAAoB,EAAkB;AAIjF,SAHsBH,EAAQ,SAASD,CAAK,MAAMC,EAAQ,SAASI,CAAkB,IAC/E,IACA;AAEV;","x_google_ignoreList":[0]}
package/dist/index276.js CHANGED
@@ -1,68 +1,22 @@
1
- function p(e) {
2
- return typeof e == "string" || e instanceof String;
3
- }
4
- function E(e) {
5
- var t;
6
- return typeof e == "object" && e != null && (e == null || (t = e.constructor) == null ? void 0 : t.name) === "Object";
7
- }
8
- function a(e, t) {
9
- return Array.isArray(t) ? a(e, (n, i) => t.includes(i)) : Object.entries(e).reduce((n, i) => {
10
- let [r, f] = i;
11
- return t(f, r) && (n[r] = f), n;
12
- }, {});
13
- }
14
- const o = {
15
- NONE: "NONE",
16
- LEFT: "LEFT",
17
- FORCE_LEFT: "FORCE_LEFT",
18
- RIGHT: "RIGHT",
19
- FORCE_RIGHT: "FORCE_RIGHT"
20
- };
21
- function R(e) {
22
- switch (e) {
23
- case o.LEFT:
24
- return o.FORCE_LEFT;
25
- case o.RIGHT:
26
- return o.FORCE_RIGHT;
27
- default:
28
- return e;
29
- }
30
- }
31
- function O(e) {
32
- return e.replace(/([.*+?^=!:${}()|[\]/\\])/g, "\\$1");
33
- }
34
- function g(e, t) {
35
- if (t === e) return !0;
36
- const n = Array.isArray(t), i = Array.isArray(e);
37
- let r;
38
- if (n && i) {
39
- if (t.length != e.length) return !1;
40
- for (r = 0; r < t.length; r++) if (!g(t[r], e[r])) return !1;
41
- return !0;
1
+ import { formatDistance as o } from "./index304.js";
2
+ import { formatLong as t } from "./index305.js";
3
+ import { formatRelative as a } from "./index306.js";
4
+ import { localize as r } from "./index307.js";
5
+ import { match as e } from "./index308.js";
6
+ const s = {
7
+ code: "en-US",
8
+ formatDistance: o,
9
+ formatLong: t,
10
+ formatRelative: a,
11
+ localize: r,
12
+ match: e,
13
+ options: {
14
+ weekStartsOn: 0,
15
+ firstWeekContainsDate: 1
42
16
  }
43
- if (n != i) return !1;
44
- if (t && e && typeof t == "object" && typeof e == "object") {
45
- const f = t instanceof Date, c = e instanceof Date;
46
- if (f && c) return t.getTime() == e.getTime();
47
- if (f != c) return !1;
48
- const s = t instanceof RegExp, l = e instanceof RegExp;
49
- if (s && l) return t.toString() == e.toString();
50
- if (s != l) return !1;
51
- const u = Object.keys(t);
52
- for (r = 0; r < u.length; r++) if (!Object.prototype.hasOwnProperty.call(e, u[r])) return !1;
53
- for (r = 0; r < u.length; r++) if (!g(e[u[r]], t[u[r]])) return !1;
54
- return !0;
55
- } else if (t && e && typeof t == "function" && typeof e == "function")
56
- return t.toString() === e.toString();
57
- return !1;
58
- }
17
+ };
59
18
  export {
60
- o as DIRECTION,
61
- O as escapeRegExp,
62
- R as forceDirection,
63
- E as isObject,
64
- p as isString,
65
- g as objectIncludes,
66
- a as pick
19
+ s as default,
20
+ s as enUS
67
21
  };
68
22
  //# sourceMappingURL=index276.js.map