@rpcbase/ui 0.191.0 → 0.192.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 (548) hide show
  1. package/dist/index100.js +5 -466
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +4 -185
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +8 -107
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +5 -262
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +4 -9
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +4 -42
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +6 -4
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +143 -603
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +40 -52
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +4 -4
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +7 -4
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +13 -15
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +13 -5
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +7 -7
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +31 -16
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +10 -4
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +10 -4
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +8 -5
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +13 -5
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +101 -4
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +20 -5
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +53 -6
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +71 -23
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +9 -6
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +20 -4
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +16 -6
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +23 -5
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +6 -4
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +5 -5
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +23 -4
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +35 -9
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +16 -6
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +6 -4
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +4 -4
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +4 -6
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +4 -145
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +4 -39
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +3 -4
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +6 -7
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +24 -14
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +7 -13
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +6 -7
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +5 -31
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +3 -10
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +3 -10
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +4 -8
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +3 -13
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +4 -101
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +4 -20
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +3 -53
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index150.js +3 -72
  102. package/dist/index150.js.map +1 -1
  103. package/dist/index151.js +46 -9
  104. package/dist/index151.js.map +1 -1
  105. package/dist/index152.js +45 -19
  106. package/dist/index152.js.map +1 -1
  107. package/dist/index153.js +204 -15
  108. package/dist/index153.js.map +1 -1
  109. package/dist/index154.js +22 -24
  110. package/dist/index154.js.map +1 -1
  111. package/dist/index155.js +24 -6
  112. package/dist/index155.js.map +1 -1
  113. package/dist/index156.js +399 -5
  114. package/dist/index156.js.map +1 -1
  115. package/dist/index157.js +600 -18
  116. package/dist/index157.js.map +1 -1
  117. package/dist/index158.js +6 -35
  118. package/dist/index158.js.map +1 -1
  119. package/dist/index159.js +69 -16
  120. package/dist/index159.js.map +1 -1
  121. package/dist/index160.js +2 -7
  122. package/dist/index160.js.map +1 -1
  123. package/dist/index161.js +363 -4
  124. package/dist/index161.js.map +1 -1
  125. package/dist/index162.js +261 -4
  126. package/dist/index162.js.map +1 -1
  127. package/dist/index163.js +60 -4
  128. package/dist/index163.js.map +1 -1
  129. package/dist/index164.js +46 -4
  130. package/dist/index164.js.map +1 -1
  131. package/dist/index165.js +169 -3
  132. package/dist/index165.js.map +1 -1
  133. package/dist/index166.js +109 -6
  134. package/dist/index166.js.map +1 -1
  135. package/dist/index167.js +25 -24
  136. package/dist/index167.js.map +1 -1
  137. package/dist/index168.js +8 -8
  138. package/dist/index168.js.map +1 -1
  139. package/dist/index169.js +4 -6
  140. package/dist/index169.js.map +1 -1
  141. package/dist/index170.js +5 -5
  142. package/dist/index170.js.map +1 -1
  143. package/dist/index171.js +4 -3
  144. package/dist/index171.js.map +1 -1
  145. package/dist/index172.js +466 -3
  146. package/dist/index172.js.map +1 -1
  147. package/dist/index173.js +185 -4
  148. package/dist/index173.js.map +1 -1
  149. package/dist/index174.js +107 -3
  150. package/dist/index174.js.map +1 -1
  151. package/dist/index175.js +262 -4
  152. package/dist/index175.js.map +1 -1
  153. package/dist/index176.js +9 -3
  154. package/dist/index176.js.map +1 -1
  155. package/dist/index177.js +42 -3
  156. package/dist/index177.js.map +1 -1
  157. package/dist/index178.js +4 -3
  158. package/dist/index178.js.map +1 -1
  159. package/dist/index179.js +58 -24
  160. package/dist/index179.js.map +1 -1
  161. package/dist/index180.js +9 -29
  162. package/dist/index180.js.map +1 -1
  163. package/dist/index181.js +67 -5
  164. package/dist/index181.js.map +1 -1
  165. package/dist/index182.js +18 -12
  166. package/dist/index182.js.map +1 -1
  167. package/dist/index183.js +14 -152
  168. package/dist/index183.js.map +1 -1
  169. package/dist/index184.js +4 -29
  170. package/dist/index184.js.map +1 -1
  171. package/dist/index185.js +5 -9
  172. package/dist/index185.js.map +1 -1
  173. package/dist/index186.js +6 -47
  174. package/dist/index186.js.map +1 -1
  175. package/dist/index187.js +4 -11
  176. package/dist/index187.js.map +1 -1
  177. package/dist/index188.js +7 -44
  178. package/dist/index188.js.map +1 -1
  179. package/dist/index189.js +17 -95
  180. package/dist/index189.js.map +1 -1
  181. package/dist/index190.js +5 -86
  182. package/dist/index190.js.map +1 -1
  183. package/dist/index191.js +5 -105
  184. package/dist/index191.js.map +1 -1
  185. package/dist/index192.js +13 -52
  186. package/dist/index192.js.map +1 -1
  187. package/dist/index193.js +10 -11
  188. package/dist/index193.js.map +1 -1
  189. package/dist/index194.js +14 -37
  190. package/dist/index194.js.map +1 -1
  191. package/dist/index195.js +14 -8
  192. package/dist/index195.js.map +1 -1
  193. package/dist/index196.js +5 -116
  194. package/dist/index196.js.map +1 -1
  195. package/dist/index197.js +6 -17
  196. package/dist/index197.js.map +1 -1
  197. package/dist/index198.js +7 -15
  198. package/dist/index198.js.map +1 -1
  199. package/dist/index199.js +6 -3
  200. package/dist/index199.js.map +1 -1
  201. package/dist/index200.js +9 -36
  202. package/dist/index200.js.map +1 -1
  203. package/dist/index201.js +5 -20
  204. package/dist/index201.js.map +1 -1
  205. package/dist/index202.js +5 -9
  206. package/dist/index202.js.map +1 -1
  207. package/dist/index203.js +9 -8
  208. package/dist/index203.js.map +1 -1
  209. package/dist/index204.js +5 -19
  210. package/dist/index204.js.map +1 -1
  211. package/dist/index205.js +5 -28
  212. package/dist/index205.js.map +1 -1
  213. package/dist/index206.js +4 -16
  214. package/dist/index206.js.map +1 -1
  215. package/dist/index207.js +11 -67
  216. package/dist/index207.js.map +1 -1
  217. package/dist/index208.js +9 -179
  218. package/dist/index208.js.map +1 -1
  219. package/dist/index209.js +10 -46
  220. package/dist/index209.js.map +1 -1
  221. package/dist/index210.js +11 -16
  222. package/dist/index210.js.map +1 -1
  223. package/dist/index211.js +11 -5
  224. package/dist/index211.js.map +1 -1
  225. package/dist/index212.js +10 -5
  226. package/dist/index212.js.map +1 -1
  227. package/dist/index213.js +7 -58
  228. package/dist/index213.js.map +1 -1
  229. package/dist/index214.js +6 -66
  230. package/dist/index214.js.map +1 -1
  231. package/dist/index215.js +5 -6
  232. package/dist/index215.js.map +1 -1
  233. package/dist/index216.js +6 -4
  234. package/dist/index216.js.map +1 -1
  235. package/dist/index217.js +7 -7
  236. package/dist/index217.js.map +1 -1
  237. package/dist/index218.js +6 -17
  238. package/dist/index218.js.map +1 -1
  239. package/dist/index219.js +55 -5
  240. package/dist/index219.js.map +1 -1
  241. package/dist/index220.js +16 -5
  242. package/dist/index220.js.map +1 -1
  243. package/dist/index221.js +7 -13
  244. package/dist/index221.js.map +1 -1
  245. package/dist/index222.js +10 -10
  246. package/dist/index222.js.map +1 -1
  247. package/dist/index223.js +10 -14
  248. package/dist/index223.js.map +1 -1
  249. package/dist/index224.js +21 -14
  250. package/dist/index224.js.map +1 -1
  251. package/dist/index225.js +10 -5
  252. package/dist/index225.js.map +1 -1
  253. package/dist/index226.js +9 -6
  254. package/dist/index226.js.map +1 -1
  255. package/dist/index227.js +9 -7
  256. package/dist/index227.js.map +1 -1
  257. package/dist/index228.js +4 -6
  258. package/dist/index228.js.map +1 -1
  259. package/dist/index229.js +5 -9
  260. package/dist/index229.js.map +1 -1
  261. package/dist/index230.js +16 -5
  262. package/dist/index230.js.map +1 -1
  263. package/dist/index231.js +9 -5
  264. package/dist/index231.js.map +1 -1
  265. package/dist/index232.js +18 -9
  266. package/dist/index232.js.map +1 -1
  267. package/dist/index233.js +15 -5
  268. package/dist/index233.js.map +1 -1
  269. package/dist/index234.js +12 -5
  270. package/dist/index234.js.map +1 -1
  271. package/dist/index235.js +29 -4
  272. package/dist/index235.js.map +1 -1
  273. package/dist/index236.js +12 -11
  274. package/dist/index236.js.map +1 -1
  275. package/dist/index237.js +25 -10
  276. package/dist/index237.js.map +1 -1
  277. package/dist/index238.js +5 -10
  278. package/dist/index238.js.map +1 -1
  279. package/dist/index239.js +24 -11
  280. package/dist/index239.js.map +1 -1
  281. package/dist/index24.js +1 -1
  282. package/dist/index240.js +29 -12
  283. package/dist/index240.js.map +1 -1
  284. package/dist/index241.js +5 -11
  285. package/dist/index241.js.map +1 -1
  286. package/dist/index242.js +67 -7
  287. package/dist/index242.js.map +1 -1
  288. package/dist/index243.js +180 -6
  289. package/dist/index243.js.map +1 -1
  290. package/dist/index244.js +46 -5
  291. package/dist/index244.js.map +1 -1
  292. package/dist/index245.js +13 -6
  293. package/dist/index245.js.map +1 -1
  294. package/dist/index246.js +154 -7
  295. package/dist/index246.js.map +1 -1
  296. package/dist/index247.js +30 -6
  297. package/dist/index247.js.map +1 -1
  298. package/dist/index248.js +9 -55
  299. package/dist/index248.js.map +1 -1
  300. package/dist/index249.js +47 -8
  301. package/dist/index249.js.map +1 -1
  302. package/dist/index250.js +10 -18
  303. package/dist/index250.js.map +1 -1
  304. package/dist/index251.js +43 -28
  305. package/dist/index251.js.map +1 -1
  306. package/dist/index252.js +94 -11
  307. package/dist/index252.js.map +1 -1
  308. package/dist/index253.js +84 -23
  309. package/dist/index253.js.map +1 -1
  310. package/dist/index254.js +105 -5
  311. package/dist/index254.js.map +1 -1
  312. package/dist/index255.js +50 -14
  313. package/dist/index255.js.map +1 -1
  314. package/dist/index256.js +11 -7
  315. package/dist/index256.js.map +1 -1
  316. package/dist/index257.js +35 -8
  317. package/dist/index257.js.map +1 -1
  318. package/dist/index258.js +8 -10
  319. package/dist/index258.js.map +1 -1
  320. package/dist/index259.js +115 -20
  321. package/dist/index259.js.map +1 -1
  322. package/dist/index260.js +17 -10
  323. package/dist/index260.js.map +1 -1
  324. package/dist/index261.js +15 -9
  325. package/dist/index261.js.map +1 -1
  326. package/dist/index262.js +3 -9
  327. package/dist/index262.js.map +1 -1
  328. package/dist/index263.js +36 -4
  329. package/dist/index263.js.map +1 -1
  330. package/dist/index264.js +20 -5
  331. package/dist/index264.js.map +1 -1
  332. package/dist/index265.js +9 -16
  333. package/dist/index265.js.map +1 -1
  334. package/dist/index266.js +8 -9
  335. package/dist/index266.js.map +1 -1
  336. package/dist/index267.js +17 -16
  337. package/dist/index267.js.map +1 -1
  338. package/dist/index268.js +26 -13
  339. package/dist/index268.js.map +1 -1
  340. package/dist/index269.js +16 -12
  341. package/dist/index269.js.map +1 -1
  342. package/dist/index270.js +5 -5
  343. package/dist/index270.js.map +1 -1
  344. package/dist/index271.js +19 -3
  345. package/dist/index271.js.map +1 -1
  346. package/dist/index272.js +12 -23
  347. package/dist/index272.js.map +1 -1
  348. package/dist/index273.js +5 -113
  349. package/dist/index273.js.map +1 -1
  350. package/dist/index274.js +3 -16
  351. package/dist/index274.js.map +1 -1
  352. package/dist/index275.js +21 -522
  353. package/dist/index275.js.map +1 -1
  354. package/dist/index276.js +112 -127
  355. package/dist/index276.js.map +1 -1
  356. package/dist/index277.js +15 -133
  357. package/dist/index277.js.map +1 -1
  358. package/dist/index278.js +523 -19
  359. package/dist/index278.js.map +1 -1
  360. package/dist/index279.js +127 -4
  361. package/dist/index279.js.map +1 -1
  362. package/dist/index280.js +133 -18
  363. package/dist/index280.js.map +1 -1
  364. package/dist/index281.js +20 -12
  365. package/dist/index281.js.map +1 -1
  366. package/dist/index282.js +5 -64
  367. package/dist/index282.js.map +1 -1
  368. package/dist/index283.js +6 -69
  369. package/dist/index283.js.map +1 -1
  370. package/dist/index284.js +4 -9
  371. package/dist/index284.js.map +1 -1
  372. package/dist/index285.js +16 -14
  373. package/dist/index285.js.map +1 -1
  374. package/dist/index286.js +8 -65
  375. package/dist/index286.js.map +1 -1
  376. package/dist/index287.js +5 -5
  377. package/dist/index287.js.map +1 -1
  378. package/dist/index288.js +4 -5
  379. package/dist/index288.js.map +1 -1
  380. package/dist/index289.js +546 -4
  381. package/dist/index289.js.map +1 -1
  382. package/dist/index290.js +47 -16
  383. package/dist/index290.js.map +1 -1
  384. package/dist/index291.js +17 -8
  385. package/dist/index291.js.map +1 -1
  386. package/dist/index292.js +6 -5
  387. package/dist/index292.js.map +1 -1
  388. package/dist/index293.js +8 -4
  389. package/dist/index293.js.map +1 -1
  390. package/dist/index294.js +7 -545
  391. package/dist/index294.js.map +1 -1
  392. package/dist/index295.js +9 -47
  393. package/dist/index295.js.map +1 -1
  394. package/dist/index296.js +12 -17
  395. package/dist/index296.js.map +1 -1
  396. package/dist/index297.js +9 -6
  397. package/dist/index297.js.map +1 -1
  398. package/dist/index298.js +13 -8
  399. package/dist/index298.js.map +1 -1
  400. package/dist/index299.js +69 -8
  401. package/dist/index299.js.map +1 -1
  402. package/dist/index300.js +9 -9
  403. package/dist/index300.js.map +1 -1
  404. package/dist/index301.js +14 -13
  405. package/dist/index301.js.map +1 -1
  406. package/dist/index302.js +66 -10
  407. package/dist/index302.js.map +1 -1
  408. package/dist/index303.js +64 -13
  409. package/dist/index303.js.map +1 -1
  410. package/dist/index304.js +4 -3
  411. package/dist/index304.js.map +1 -1
  412. package/dist/index305.js +56 -23
  413. package/dist/index305.js.map +1 -1
  414. package/dist/index306.js +68 -5
  415. package/dist/index306.js.map +1 -1
  416. package/dist/index307.js +30 -55
  417. package/dist/index307.js.map +1 -1
  418. package/dist/index308.js +9 -68
  419. package/dist/index308.js.map +1 -1
  420. package/dist/index309.js +148 -26
  421. package/dist/index309.js.map +1 -1
  422. package/dist/index31.js +3 -3
  423. package/dist/index310.js +108 -9
  424. package/dist/index310.js.map +1 -1
  425. package/dist/index311.js +4 -153
  426. package/dist/index311.js.map +1 -1
  427. package/dist/index312.js +23 -108
  428. package/dist/index312.js.map +1 -1
  429. package/dist/index313.js +15 -12
  430. package/dist/index313.js.map +1 -1
  431. package/dist/index314.js +26 -25
  432. package/dist/index314.js.map +1 -1
  433. package/dist/index315.js +13 -5
  434. package/dist/index315.js.map +1 -1
  435. package/dist/index316.js +6 -22
  436. package/dist/index316.js.map +1 -1
  437. package/dist/index317.js +22 -15
  438. package/dist/index317.js.map +1 -1
  439. package/dist/index318.js +12 -28
  440. package/dist/index318.js.map +1 -1
  441. package/dist/index319.js +27 -12
  442. package/dist/index319.js.map +1 -1
  443. package/dist/index32.js +24 -24
  444. package/dist/index320.js +5 -7
  445. package/dist/index320.js.map +1 -1
  446. package/dist/index33.js +3 -3
  447. package/dist/index36.js +1 -1
  448. package/dist/index37.js +2 -2
  449. package/dist/index40.js +2 -2
  450. package/dist/index41.js +18 -18
  451. package/dist/index45.js +1 -1
  452. package/dist/index46.js +1 -1
  453. package/dist/index49.js +1 -1
  454. package/dist/index50.js +1 -1
  455. package/dist/index51.js +205 -4
  456. package/dist/index51.js.map +1 -1
  457. package/dist/index53.js +33 -47
  458. package/dist/index53.js.map +1 -1
  459. package/dist/index55.js +7 -50
  460. package/dist/index55.js.map +1 -1
  461. package/dist/index56.js +11 -7
  462. package/dist/index56.js.map +1 -1
  463. package/dist/index57.js +3 -14
  464. package/dist/index57.js.map +1 -1
  465. package/dist/index58.js +43 -129
  466. package/dist/index58.js.map +1 -1
  467. package/dist/index59.js +50 -10
  468. package/dist/index59.js.map +1 -1
  469. package/dist/index60.js +7 -216
  470. package/dist/index60.js.map +1 -1
  471. package/dist/index61.js +15 -13
  472. package/dist/index61.js.map +1 -1
  473. package/dist/index62.js +132 -32
  474. package/dist/index62.js.map +1 -1
  475. package/dist/index63.js +10 -46
  476. package/dist/index63.js.map +1 -1
  477. package/dist/index64.js +216 -7
  478. package/dist/index64.js.map +1 -1
  479. package/dist/index65.js +12 -49
  480. package/dist/index65.js.map +1 -1
  481. package/dist/index66.js +47 -4
  482. package/dist/index66.js.map +1 -1
  483. package/dist/index67.js +49 -5
  484. package/dist/index67.js.map +1 -1
  485. package/dist/index68.js +4 -28
  486. package/dist/index68.js.map +1 -1
  487. package/dist/index69.js +6 -50
  488. package/dist/index69.js.map +1 -1
  489. package/dist/index70.js +28 -9
  490. package/dist/index70.js.map +1 -1
  491. package/dist/index71.js +48 -203
  492. package/dist/index71.js.map +1 -1
  493. package/dist/index72.js +9 -2
  494. package/dist/index72.js.map +1 -1
  495. package/dist/index73.js +2 -2
  496. package/dist/index74.js +2 -6
  497. package/dist/index74.js.map +1 -1
  498. package/dist/index75.js +2 -8
  499. package/dist/index75.js.map +1 -1
  500. package/dist/index76.js +2 -6
  501. package/dist/index76.js.map +1 -1
  502. package/dist/index77.js +6 -2
  503. package/dist/index77.js.map +1 -1
  504. package/dist/index78.js +8 -2
  505. package/dist/index78.js.map +1 -1
  506. package/dist/index79.js +5 -11
  507. package/dist/index79.js.map +1 -1
  508. package/dist/index80.js +52 -47
  509. package/dist/index80.js.map +1 -1
  510. package/dist/index81.js +4 -205
  511. package/dist/index81.js.map +1 -1
  512. package/dist/index82.js +5 -22
  513. package/dist/index82.js.map +1 -1
  514. package/dist/index83.js +15 -24
  515. package/dist/index83.js.map +1 -1
  516. package/dist/index84.js +5 -399
  517. package/dist/index84.js.map +1 -1
  518. package/dist/index85.js +7 -46
  519. package/dist/index85.js.map +1 -1
  520. package/dist/index86.js +16 -5
  521. package/dist/index86.js.map +1 -1
  522. package/dist/index87.js +4 -68
  523. package/dist/index87.js.map +1 -1
  524. package/dist/index88.js +5 -2
  525. package/dist/index88.js.map +1 -1
  526. package/dist/index89.js +5 -363
  527. package/dist/index89.js.map +1 -1
  528. package/dist/index90.js +5 -261
  529. package/dist/index90.js.map +1 -1
  530. package/dist/index91.js +4 -60
  531. package/dist/index91.js.map +1 -1
  532. package/dist/index92.js +4 -46
  533. package/dist/index92.js.map +1 -1
  534. package/dist/index93.js +6 -169
  535. package/dist/index93.js.map +1 -1
  536. package/dist/index94.js +24 -109
  537. package/dist/index94.js.map +1 -1
  538. package/dist/index95.js +6 -24
  539. package/dist/index95.js.map +1 -1
  540. package/dist/index96.js +5 -8
  541. package/dist/index96.js.map +1 -1
  542. package/dist/index97.js +6 -4
  543. package/dist/index97.js.map +1 -1
  544. package/dist/index98.js +5 -5
  545. package/dist/index98.js.map +1 -1
  546. package/dist/index99.js +4 -4
  547. package/dist/index99.js.map +1 -1
  548. package/package.json +1 -1
package/dist/index124.js CHANGED
@@ -1,8 +1,24 @@
1
- import e from "react";
2
- function n(t) {
3
- return e.createElement("option", { ...t });
1
+ import { useState as a } from "react";
2
+ import { calculateFocusTarget as T } from "./index230.js";
3
+ import { getNextFocus as v } from "./index231.js";
4
+ function I(e, o, r, i, f) {
5
+ const { autoFocus: F } = e, [d, m] = a(), c = T(o.days, r, i || (() => !1), d), [s, u] = a(F ? c : void 0);
6
+ return {
7
+ isFocusTarget: (n) => !!c?.isEqualTo(n),
8
+ setFocused: u,
9
+ focused: s,
10
+ blur: () => {
11
+ m(s), u(void 0);
12
+ },
13
+ moveFocus: (n, l) => {
14
+ if (!s)
15
+ return;
16
+ const t = v(n, l, s, o.navStart, o.navEnd, e, f);
17
+ t && (e.disableNavigation && !o.days.some((g) => g.isEqualTo(t)) || (o.goToDay(t), u(t)));
18
+ }
19
+ };
4
20
  }
5
21
  export {
6
- n as Option
22
+ I as useFocus
7
23
  };
8
24
  //# sourceMappingURL=index124.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index124.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Option.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render an `option` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Option(props) {\n return React.createElement(\"option\", { ...props });\n}\n"],"names":["Option","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,UAAU,EAAE,GAAGD,EAAK,CAAE;AACrD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index124.js","sources":["../../../node_modules/react-day-picker/dist/esm/useFocus.js"],"sourcesContent":["import { useState } from \"react\";\nimport { calculateFocusTarget } from \"./helpers/calculateFocusTarget.js\";\nimport { getNextFocus } from \"./helpers/getNextFocus.js\";\n/**\n * Manages focus behavior for the DayPicker component, including setting,\n * moving, and blurring focus on calendar days.\n *\n * @template T - The type of DayPicker props.\n * @param props - The DayPicker props.\n * @param calendar - The calendar object containing the displayed days and\n * months.\n * @param getModifiers - A function to retrieve modifiers for a given day.\n * @param isSelected - A function to check if a date is selected.\n * @param dateLib - The date utility library instance.\n * @returns An object containing focus-related methods and the currently focused\n * day.\n */\nexport function useFocus(props, calendar, getModifiers, isSelected, dateLib) {\n const { autoFocus } = props;\n const [lastFocused, setLastFocused] = useState();\n const focusTarget = calculateFocusTarget(calendar.days, getModifiers, isSelected || (() => false), lastFocused);\n const [focusedDay, setFocused] = useState(autoFocus ? focusTarget : undefined);\n const blur = () => {\n setLastFocused(focusedDay);\n setFocused(undefined);\n };\n const moveFocus = (moveBy, moveDir) => {\n if (!focusedDay)\n return;\n const nextFocus = getNextFocus(moveBy, moveDir, focusedDay, calendar.navStart, calendar.navEnd, props, dateLib);\n if (!nextFocus)\n return;\n if (props.disableNavigation) {\n const isNextInCalendar = calendar.days.some((day) => day.isEqualTo(nextFocus));\n if (!isNextInCalendar) {\n return;\n }\n }\n calendar.goToDay(nextFocus);\n setFocused(nextFocus);\n };\n const isFocusTarget = (day) => {\n return Boolean(focusTarget?.isEqualTo(day));\n };\n const useFocus = {\n isFocusTarget,\n setFocused,\n focused: focusedDay,\n blur,\n moveFocus,\n };\n return useFocus;\n}\n"],"names":["useFocus","props","calendar","getModifiers","isSelected","dateLib","autoFocus","lastFocused","setLastFocused","useState","focusTarget","calculateFocusTarget","focusedDay","setFocused","day","moveBy","moveDir","nextFocus","getNextFocus"],"mappings":";;;AAiBO,SAASA,EAASC,GAAOC,GAAUC,GAAcC,GAAYC,GAAS;AACzE,QAAM,EAAE,WAAAC,EAAS,IAAKL,GAChB,CAACM,GAAaC,CAAc,IAAIC,EAAQ,GACxCC,IAAcC,EAAqBT,EAAS,MAAMC,GAAcC,MAAe,MAAM,KAAQG,CAAW,GACxG,CAACK,GAAYC,CAAU,IAAIJ,EAASH,IAAYI,IAAc,MAAS;AA8B7E,SAPiB;AAAA,IACb,eAJkB,CAACI,MACZ,EAAQJ,GAAa,UAAUI,CAAG;AAAA,IAIzC,YAAAD;AAAA,IACA,SAASD;AAAA,IACT,MA1BS,MAAM;AACf,MAAAJ,EAAeI,CAAU,GACzBC,EAAW,MAAS;AAAA,IACxB;AAAA,IAwBI,WAvBc,CAACE,GAAQC,MAAY;AACnC,UAAI,CAACJ;AACD;AACJ,YAAMK,IAAYC,EAAaH,GAAQC,GAASJ,GAAYV,EAAS,UAAUA,EAAS,QAAQD,GAAOI,CAAO;AAC9G,MAAKY,MAEDhB,EAAM,qBAEF,CADqBC,EAAS,KAAK,KAAK,CAACY,MAAQA,EAAI,UAAUG,CAAS,CAAC,MAKjFf,EAAS,QAAQe,CAAS,GAC1BJ,EAAWI,CAAS;AAAA,IACxB;AAAA,EAUJ;AAEA;","x_google_ignoreList":[0]}
package/dist/index125.js CHANGED
@@ -1,10 +1,20 @@
1
- import e from "react";
2
- import { useDayPicker as n } from "./index151.js";
3
- function c(t) {
4
- const { components: o } = n();
5
- return e.createElement(o.Button, { ...t });
1
+ import { useMulti as i } from "./index232.js";
2
+ import { useRange as o } from "./index233.js";
3
+ import { useSingle as s } from "./index234.js";
4
+ function f(e, n) {
5
+ const t = s(e, n), r = i(e, n), u = o(e, n);
6
+ switch (e.mode) {
7
+ case "single":
8
+ return t;
9
+ case "multiple":
10
+ return r;
11
+ case "range":
12
+ return u;
13
+ default:
14
+ return;
15
+ }
6
16
  }
7
17
  export {
8
- c as PreviousMonthButton
18
+ f as useSelection
9
19
  };
10
20
  //# sourceMappingURL=index125.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index125.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the button to navigate to the previous month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function PreviousMonthButton(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Button, { ...props });\n}\n"],"names":["PreviousMonthButton","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAoBC,GAAO;AACvC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,QAAQ,EAAE,GAAGD,GAAO;AAC9D;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index125.js","sources":["../../../node_modules/react-day-picker/dist/esm/useSelection.js"],"sourcesContent":["import { useMulti } from \"./selection/useMulti.js\";\nimport { useRange } from \"./selection/useRange.js\";\nimport { useSingle } from \"./selection/useSingle.js\";\n/**\n * Determines the appropriate selection hook to use based on the selection mode\n * and returns the corresponding selection object.\n *\n * @template T - The type of DayPicker props.\n * @param props - The DayPicker props.\n * @param dateLib - The date utility library instance.\n * @returns The selection object for the specified mode, or `undefined` if no\n * mode is set.\n */\nexport function useSelection(props, dateLib) {\n const single = useSingle(props, dateLib);\n const multi = useMulti(props, dateLib);\n const range = useRange(props, dateLib);\n switch (props.mode) {\n case \"single\":\n return single;\n case \"multiple\":\n return multi;\n case \"range\":\n return range;\n default:\n return undefined;\n }\n}\n"],"names":["useSelection","props","dateLib","single","useSingle","multi","useMulti","range","useRange"],"mappings":";;;AAaO,SAASA,EAAaC,GAAOC,GAAS;AACzC,QAAMC,IAASC,EAAUH,GAAOC,CAAO,GACjCG,IAAQC,EAASL,GAAOC,CAAO,GAC/BK,IAAQC,EAASP,GAAOC,CAAO;AACrC,UAAQD,EAAM,MAAI;AAAA,IACd,KAAK;AACD,aAAOE;AAAA,IACX,KAAK;AACD,aAAOE;AAAA,IACX,KAAK;AACD,aAAOE;AAAA,IACX;AACI;AAAA,EACZ;AACA;","x_google_ignoreList":[0]}
package/dist/index126.js CHANGED
@@ -1,9 +1,27 @@
1
- import r from "react";
2
- function n(t) {
3
- const { rootRef: e, ...o } = t;
4
- return r.createElement("div", { ...o, ref: e });
1
+ import "./index181.js";
2
+ import { toTimeZone as i } from "./index128.js";
3
+ import { isDateRange as e, isDateInterval as p, isDateAfterType as y, isDateBeforeType as D } from "./index129.js";
4
+ function n(o, f, u) {
5
+ return i(o, f);
6
+ }
7
+ function t(o, f, u) {
8
+ return typeof o == "boolean" || typeof o == "function" ? o : o instanceof Date ? n(o, f) : Array.isArray(o) ? o.map((r) => r instanceof Date ? n(r, f) : r) : e(o) ? {
9
+ ...o,
10
+ from: o.from ? i(o.from, f) : o.from,
11
+ to: o.to ? i(o.to, f) : o.to
12
+ } : p(o) ? {
13
+ before: n(o.before, f),
14
+ after: n(o.after, f)
15
+ } : y(o) ? {
16
+ after: n(o.after, f)
17
+ } : D(o) ? {
18
+ before: n(o.before, f)
19
+ } : o;
20
+ }
21
+ function T(o, f, u) {
22
+ return o && (Array.isArray(o) ? o.map((r) => t(r, f)) : t(o, f));
5
23
  }
6
24
  export {
7
- n as Root
25
+ T as convertMatchersToTimeZone
8
26
  };
9
27
  //# sourceMappingURL=index126.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index126.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Root.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the root element of the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Root(props) {\n const { rootRef, ...rest } = props;\n return React.createElement(\"div\", { ...rest, ref: rootRef });\n}\n"],"names":["Root","props","rootRef","rest","React"],"mappings":";AAOO,SAASA,EAAKC,GAAO;AACxB,QAAM,EAAE,SAAAC,GAAS,GAAGC,EAAI,IAAKF;AAC7B,SAAOG,EAAM,cAAc,OAAO,EAAE,GAAGD,GAAM,KAAKD,GAAS;AAC/D;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index126.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\nimport { toTimeZone } from \"./toTimeZone.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, } from \"./typeguards.js\";\nfunction toZoneNoon(date, timeZone, noonSafe) {\n if (!noonSafe)\n return toTimeZone(date, timeZone);\n const zoned = toTimeZone(date, timeZone);\n const noonZoned = new TZDate(zoned.getFullYear(), zoned.getMonth(), zoned.getDate(), 12, 0, 0, timeZone);\n return new Date(noonZoned.getTime());\n}\nfunction convertMatcher(matcher, timeZone, noonSafe) {\n if (typeof matcher === \"boolean\" || typeof matcher === \"function\") {\n return matcher;\n }\n if (matcher instanceof Date) {\n return toZoneNoon(matcher, timeZone, noonSafe);\n }\n if (Array.isArray(matcher)) {\n return matcher.map((value) => value instanceof Date ? toZoneNoon(value, timeZone, noonSafe) : value);\n }\n if (isDateRange(matcher)) {\n return {\n ...matcher,\n from: matcher.from ? toTimeZone(matcher.from, timeZone) : matcher.from,\n to: matcher.to ? toTimeZone(matcher.to, timeZone) : matcher.to,\n };\n }\n if (isDateInterval(matcher)) {\n return {\n before: toZoneNoon(matcher.before, timeZone, noonSafe),\n after: toZoneNoon(matcher.after, timeZone, noonSafe),\n };\n }\n if (isDateAfterType(matcher)) {\n return {\n after: toZoneNoon(matcher.after, timeZone, noonSafe),\n };\n }\n if (isDateBeforeType(matcher)) {\n return {\n before: toZoneNoon(matcher.before, timeZone, noonSafe),\n };\n }\n return matcher;\n}\n/**\n * Convert any {@link Matcher} or array of matchers to the specified time zone.\n *\n * @param matchers - The matcher or matchers to convert.\n * @param timeZone - The target IANA time zone.\n * @returns The converted matcher(s).\n * @group Utilities\n */\nexport function convertMatchersToTimeZone(matchers, timeZone, noonSafe) {\n if (!matchers) {\n return matchers;\n }\n if (Array.isArray(matchers)) {\n return matchers.map((matcher) => convertMatcher(matcher, timeZone, noonSafe));\n }\n return convertMatcher(matchers, timeZone, noonSafe);\n}\n"],"names":["toZoneNoon","date","timeZone","noonSafe","toTimeZone","convertMatcher","matcher","value","isDateRange","isDateInterval","isDateAfterType","isDateBeforeType","convertMatchersToTimeZone","matchers"],"mappings":";;;AAGA,SAASA,EAAWC,GAAMC,GAAUC,GAAU;AAEtC,SAAOC,EAAWH,GAAMC,CAAQ;AAIxC;AACA,SAASG,EAAeC,GAASJ,GAAUC,GAAU;AACjD,SAAI,OAAOG,KAAY,aAAa,OAAOA,KAAY,aAC5CA,IAEPA,aAAmB,OACZN,EAAWM,GAASJ,CAAkB,IAE7C,MAAM,QAAQI,CAAO,IACdA,EAAQ,IAAI,CAACC,MAAUA,aAAiB,OAAOP,EAAWO,GAAOL,CAAkB,IAAIK,CAAK,IAEnGC,EAAYF,CAAO,IACZ;AAAA,IACH,GAAGA;AAAA,IACH,MAAMA,EAAQ,OAAOF,EAAWE,EAAQ,MAAMJ,CAAQ,IAAII,EAAQ;AAAA,IAClE,IAAIA,EAAQ,KAAKF,EAAWE,EAAQ,IAAIJ,CAAQ,IAAII,EAAQ;AAAA,EACxE,IAEQG,EAAeH,CAAO,IACf;AAAA,IACH,QAAQN,EAAWM,EAAQ,QAAQJ,CAAkB;AAAA,IACrD,OAAOF,EAAWM,EAAQ,OAAOJ,CAAkB;AAAA,EAC/D,IAEQQ,EAAgBJ,CAAO,IAChB;AAAA,IACH,OAAON,EAAWM,EAAQ,OAAOJ,CAAkB;AAAA,EAC/D,IAEQS,EAAiBL,CAAO,IACjB;AAAA,IACH,QAAQN,EAAWM,EAAQ,QAAQJ,CAAkB;AAAA,EACjE,IAEWI;AACX;AASO,SAASM,EAA0BC,GAAUX,GAAUC,GAAU;AACpE,SAAKU,MAGD,MAAM,QAAQA,CAAQ,IACfA,EAAS,IAAI,CAACP,MAAYD,EAAeC,GAASJ,CAAkB,CAAC,IAEzEG,EAAeQ,GAAUX,CAAkB;AACtD;","x_google_ignoreList":[0]}
package/dist/index127.js CHANGED
@@ -1,8 +1,10 @@
1
- import t from "react";
2
- function c(e) {
3
- return t.createElement("select", { ...e });
1
+ import { defaultDateLib as s } from "./index107.js";
2
+ function u(f, r, t = !1, o = s) {
3
+ let { from: n, to: e } = f;
4
+ const { differenceInCalendarDays: i, isSameDay: a } = o;
5
+ return n && e ? (i(e, n) < 0 && ([n, e] = [e, n]), i(r, n) >= (t ? 1 : 0) && i(e, r) >= (t ? 1 : 0)) : !t && e ? a(e, r) : !t && n ? a(n, r) : !1;
4
6
  }
5
7
  export {
6
- c as Select
8
+ u as rangeIncludesDate
7
9
  };
8
10
  //# sourceMappingURL=index127.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index127.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Select.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a `select` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Select(props) {\n return React.createElement(\"select\", { ...props });\n}\n"],"names":["Select","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,UAAU,EAAE,GAAGD,EAAK,CAAE;AACrD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index127.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/index.js\";\n/**\n * Checks if a given date is within a specified date range.\n *\n * @since 9.0.0\n * @param range - The date range to check against.\n * @param date - The date to check.\n * @param excludeEnds - If `true`, the range's start and end dates are excluded.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the date is within the range, otherwise `false`.\n * @group Utilities\n */\nexport function rangeIncludesDate(range, date, excludeEnds = false, dateLib = defaultDateLib) {\n let { from, to } = range;\n const { differenceInCalendarDays, isSameDay } = dateLib;\n if (from && to) {\n const isRangeInverted = differenceInCalendarDays(to, from) < 0;\n if (isRangeInverted) {\n [from, to] = [to, from];\n }\n const isInRange = differenceInCalendarDays(date, from) >= (excludeEnds ? 1 : 0) &&\n differenceInCalendarDays(to, date) >= (excludeEnds ? 1 : 0);\n return isInRange;\n }\n if (!excludeEnds && to) {\n return isSameDay(to, date);\n }\n if (!excludeEnds && from) {\n return isSameDay(from, date);\n }\n return false;\n}\n/**\n * @private\n * @deprecated Use {@link rangeIncludesDate} instead.\n */\nexport const isDateInRange = (range, date) => rangeIncludesDate(range, date, false, defaultDateLib);\n"],"names":["rangeIncludesDate","range","date","excludeEnds","dateLib","defaultDateLib","from","to","differenceInCalendarDays","isSameDay"],"mappings":";AAYO,SAASA,EAAkBC,GAAOC,GAAMC,IAAc,IAAOC,IAAUC,GAAgB;AAC1F,MAAI,EAAE,MAAAC,GAAM,IAAAC,EAAE,IAAKN;AACnB,QAAM,EAAE,0BAAAO,GAA0B,WAAAC,EAAS,IAAKL;AAChD,SAAIE,KAAQC,KACgBC,EAAyBD,GAAID,CAAI,IAAI,MAEzD,CAACA,GAAMC,CAAE,IAAI,CAACA,GAAID,CAAI,IAERE,EAAyBN,GAAMI,CAAI,MAAMH,IAAc,IAAI,MACzEK,EAAyBD,GAAIL,CAAI,MAAMC,IAAc,IAAI,MAG7D,CAACA,KAAeI,IACTE,EAAUF,GAAIL,CAAI,IAEzB,CAACC,KAAeG,IACTG,EAAUH,GAAMJ,CAAI,IAExB;AACX;","x_google_ignoreList":[0]}
package/dist/index128.js CHANGED
@@ -1,9 +1,9 @@
1
- import r from "react";
2
- function c(e) {
3
- const { week: o, ...t } = e;
4
- return r.createElement("tr", { ...t });
1
+ import { TZDate as r } from "./index179.js";
2
+ import "./index181.js";
3
+ function e(n, o) {
4
+ return n instanceof r && n.timeZone === o ? n : new r(n, o);
5
5
  }
6
6
  export {
7
- c as Week
7
+ e as toTimeZone
8
8
  };
9
9
  //# sourceMappingURL=index128.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index128.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Week.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table row representing a week in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Week(props) {\n const { week, ...trProps } = props;\n return React.createElement(\"tr\", { ...trProps });\n}\n"],"names":["Week","props","week","trProps","React"],"mappings":";AAOO,SAASA,EAAKC,GAAO;AACxB,QAAM,EAAE,MAAAC,GAAM,GAAGC,EAAO,IAAKF;AAC7B,SAAOG,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAO,CAAE;AACnD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index128.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/toTimeZone.js"],"sourcesContent":["import { TZDate } from \"@date-fns/tz\";\n/**\n * Convert a {@link Date} or {@link TZDate} instance to the given time zone.\n * Reuses the same instance when it is already a {@link TZDate} using the target\n * time zone to avoid extra allocations.\n */\nexport function toTimeZone(date, timeZone) {\n if (date instanceof TZDate && date.timeZone === timeZone) {\n return date;\n }\n return new TZDate(date, timeZone);\n}\n"],"names":["toTimeZone","date","timeZone","TZDate"],"mappings":";;AAMO,SAASA,EAAWC,GAAMC,GAAU;AACvC,SAAID,aAAgBE,KAAUF,EAAK,aAAaC,IACrCD,IAEJ,IAAIE,EAAOF,GAAMC,CAAQ;AACpC;","x_google_ignoreList":[0]}
package/dist/index129.js CHANGED
@@ -1,8 +1,27 @@
1
- import t from "react";
2
- function a(e) {
3
- return t.createElement("th", { ...e });
1
+ function o(e) {
2
+ return !!(e && typeof e == "object" && "before" in e && "after" in e);
3
+ }
4
+ function t(e) {
5
+ return !!(e && typeof e == "object" && "from" in e);
6
+ }
7
+ function r(e) {
8
+ return !!(e && typeof e == "object" && "after" in e);
9
+ }
10
+ function f(e) {
11
+ return !!(e && typeof e == "object" && "before" in e);
12
+ }
13
+ function i(e) {
14
+ return !!(e && typeof e == "object" && "dayOfWeek" in e);
15
+ }
16
+ function y(e, n) {
17
+ return Array.isArray(e) && e.every(n.isDate);
4
18
  }
5
19
  export {
6
- a as Weekday
20
+ r as isDateAfterType,
21
+ f as isDateBeforeType,
22
+ o as isDateInterval,
23
+ t as isDateRange,
24
+ y as isDatesArray,
25
+ i as isDayOfWeekType
7
26
  };
8
27
  //# sourceMappingURL=index129.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index129.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weekday.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table header cell with the name of a weekday (e.g., \"Mo\", \"Tu\").\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekday(props) {\n return React.createElement(\"th\", { ...props });\n}\n"],"names":["Weekday","props","React"],"mappings":";AAOO,SAASA,EAAQC,GAAO;AAC3B,SAAOC,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AACjD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index129.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/typeguards.js"],"sourcesContent":["/**\n * Checks if the given value is of type {@link DateInterval}.\n *\n * @param matcher - The value to check.\n * @returns `true` if the value is a {@link DateInterval}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateInterval(matcher) {\n return Boolean(matcher &&\n typeof matcher === \"object\" &&\n \"before\" in matcher &&\n \"after\" in matcher);\n}\n/**\n * Checks if the given value is of type {@link DateRange}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateRange}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateRange(value) {\n return Boolean(value && typeof value === \"object\" && \"from\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateAfter}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateAfter}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateAfterType(value) {\n return Boolean(value && typeof value === \"object\" && \"after\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateBefore}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateBefore}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateBeforeType(value) {\n return Boolean(value && typeof value === \"object\" && \"before\" in value);\n}\n/**\n * Checks if the given value is of type {@link DayOfWeek}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DayOfWeek}, otherwise `false`.\n * @group Utilities\n */\nexport function isDayOfWeekType(value) {\n return Boolean(value && typeof value === \"object\" && \"dayOfWeek\" in value);\n}\n/**\n * Checks if the given value is an array of valid dates.\n *\n * @private\n * @param value - The value to check.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the value is an array of valid dates, otherwise `false`.\n */\nexport function isDatesArray(value, dateLib) {\n return Array.isArray(value) && value.every(dateLib.isDate);\n}\n"],"names":["isDateInterval","matcher","isDateRange","value","isDateAfterType","isDateBeforeType","isDayOfWeekType","isDatesArray","dateLib"],"mappings":"AAOO,SAASA,EAAeC,GAAS;AACpC,SAAO,GAAQA,KACX,OAAOA,KAAY,YACnB,YAAYA,KACZ,WAAWA;AACnB;AAQO,SAASC,EAAYC,GAAO;AAC/B,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,UAAUA;AACnE;AAQO,SAASC,EAAgBD,GAAO;AACnC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,WAAWA;AACpE;AAQO,SAASE,EAAiBF,GAAO;AACpC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,YAAYA;AACrE;AAQO,SAASG,EAAgBH,GAAO;AACnC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,eAAeA;AACxE;AASO,SAASI,EAAaJ,GAAOK,GAAS;AACzC,SAAO,MAAM,QAAQL,CAAK,KAAKA,EAAM,MAAMK,EAAQ,MAAM;AAC7D;","x_google_ignoreList":[0]}
package/dist/index130.js CHANGED
@@ -1,12 +1,38 @@
1
- import e from "react";
2
- function a(t) {
3
- return e.createElement(
4
- "thead",
5
- { "aria-hidden": !0 },
6
- e.createElement("tr", { ...t })
7
- );
8
- }
1
+ import { enUS as f } from "./index271.js";
2
+ import { formatDate as n } from "./index219.js";
3
+ const s = {
4
+ ...f,
5
+ labels: {
6
+ labelDayButton: (a, r, o, e) => {
7
+ let t;
8
+ e && typeof e.format == "function" ? t = e.format.bind(e) : t = (m, c) => n(m, c, { locale: f, ...o });
9
+ let l = t(a, "PPPP");
10
+ return r.today && (l = `Today, ${l}`), r.selected && (l = `${l}, selected`), l;
11
+ },
12
+ labelMonthDropdown: "Choose the Month",
13
+ labelNext: "Go to the Next Month",
14
+ labelPrevious: "Go to the Previous Month",
15
+ labelWeekNumber: (a) => `Week ${a}`,
16
+ labelYearDropdown: "Choose the Year",
17
+ labelGrid: (a, r, o) => {
18
+ let e;
19
+ return o && typeof o.format == "function" ? e = o.format.bind(o) : e = (t, l) => n(t, l, { locale: f, ...r }), e(a, "LLLL yyyy");
20
+ },
21
+ labelGridcell: (a, r, o, e) => {
22
+ let t;
23
+ e && typeof e.format == "function" ? t = e.format.bind(e) : t = (m, c) => n(m, c, { locale: f, ...o });
24
+ let l = t(a, "PPPP");
25
+ return r?.today && (l = `Today, ${l}`), l;
26
+ },
27
+ labelNav: "Navigation bar",
28
+ labelWeekNumberHeader: "Week Number",
29
+ labelWeekday: (a, r, o) => {
30
+ let e;
31
+ return o && typeof o.format == "function" ? e = o.format.bind(o) : e = (t, l) => n(t, l, { locale: f, ...r }), e(a, "cccc");
32
+ }
33
+ }
34
+ };
9
35
  export {
10
- a as Weekdays
36
+ s as enUS
11
37
  };
12
38
  //# sourceMappingURL=index130.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index130.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weekdays.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the table row containing the weekday names.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekdays(props) {\n return (React.createElement(\"thead\", { \"aria-hidden\": true },\n React.createElement(\"tr\", { ...props })));\n}\n"],"names":["Weekdays","props","React"],"mappings":";AAOO,SAASA,EAASC,GAAO;AAC5B,SAAQC,EAAM;AAAA,IAAc;AAAA,IAAS,EAAE,eAAe,GAAI;AAAA,IACtDA,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AAAA,EAAC;AAC/C;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index130.js","sources":["../../../node_modules/react-day-picker/dist/esm/locale/en-US.js"],"sourcesContent":["import { format } from \"date-fns\";\nimport { enUS as dateFnsEnUS } from \"date-fns/locale\";\n/** English (United States) locale extended with DayPicker-specific translations. */\nexport const enUS = {\n ...dateFnsEnUS,\n labels: {\n labelDayButton: (date, modifiers, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n let label = formatDate(date, \"PPPP\");\n if (modifiers.today)\n label = `Today, ${label}`;\n if (modifiers.selected)\n label = `${label}, selected`;\n return label;\n },\n labelMonthDropdown: \"Choose the Month\",\n labelNext: \"Go to the Next Month\",\n labelPrevious: \"Go to the Previous Month\",\n labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,\n labelYearDropdown: \"Choose the Year\",\n labelGrid: (date, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n return formatDate(date, \"LLLL yyyy\");\n },\n labelGridcell: (date, modifiers, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n let label = formatDate(date, \"PPPP\");\n if (modifiers?.today) {\n label = `Today, ${label}`;\n }\n return label;\n },\n labelNav: \"Navigation bar\",\n labelWeekNumberHeader: \"Week Number\",\n labelWeekday: (date, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n return formatDate(date, \"cccc\");\n },\n },\n};\n"],"names":["enUS","dateFnsEnUS","date","modifiers","options","dateLib","formatDate","d","pattern","format","label","weekNumber"],"mappings":";;AAGY,MAACA,IAAO;AAAA,EAChB,GAAGC;AAAAA,EACH,QAAQ;AAAA,IACJ,gBAAgB,CAACC,GAAMC,GAAWC,GAASC,MAAY;AACnD,UAAIC;AACJ,MAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE;AAEvF,UAAIM,IAAQJ,EAAWJ,GAAM,MAAM;AACnC,aAAIC,EAAU,UACVO,IAAQ,UAAUA,CAAK,KACvBP,EAAU,aACVO,IAAQ,GAAGA,CAAK,eACbA;AAAA,IACX;AAAA,IACA,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,eAAe;AAAA,IACf,iBAAiB,CAACC,MAAe,QAAQA,CAAU;AAAA,IACnD,mBAAmB;AAAA,IACnB,WAAW,CAACT,GAAME,GAASC,MAAY;AACnC,UAAIC;AACJ,aAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE,GAEhFE,EAAWJ,GAAM,WAAW;AAAA,IACvC;AAAA,IACA,eAAe,CAACA,GAAMC,GAAWC,GAASC,MAAY;AAClD,UAAIC;AACJ,MAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE;AAEvF,UAAIM,IAAQJ,EAAWJ,GAAM,MAAM;AACnC,aAAIC,GAAW,UACXO,IAAQ,UAAUA,CAAK,KAEpBA;AAAA,IACX;AAAA,IACA,UAAU;AAAA,IACV,uBAAuB;AAAA,IACvB,cAAc,CAACR,GAAME,GAASC,MAAY;AACtC,UAAIC;AACJ,aAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE,GAEhFE,EAAWJ,GAAM,MAAM;AAAA,IAClC;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
package/dist/index131.js CHANGED
@@ -1,9 +1,19 @@
1
- import r from "react";
2
- function c(e) {
3
- const { week: o, ...t } = e;
4
- return r.createElement("th", { ...t });
5
- }
1
+ import { formatCaption as t, formatMonthCaption as e } from "./index132.js";
2
+ import { formatDay as a } from "./index133.js";
3
+ import { formatMonthDropdown as p } from "./index134.js";
4
+ import { formatWeekdayName as x } from "./index135.js";
5
+ import { formatWeekNumber as i } from "./index136.js";
6
+ import { formatWeekNumberHeader as C } from "./index137.js";
7
+ import { formatYearCaption as N, formatYearDropdown as W } from "./index138.js";
6
8
  export {
7
- c as WeekNumber
9
+ t as formatCaption,
10
+ a as formatDay,
11
+ e as formatMonthCaption,
12
+ p as formatMonthDropdown,
13
+ i as formatWeekNumber,
14
+ C as formatWeekNumberHeader,
15
+ x as formatWeekdayName,
16
+ N as formatYearCaption,
17
+ W as formatYearDropdown
8
18
  };
9
19
  //# sourceMappingURL=index131.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index131.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/WeekNumber.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table cell displaying the number of the week.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumber(props) {\n const { week, ...thProps } = props;\n return React.createElement(\"th\", { ...thProps });\n}\n"],"names":["WeekNumber","props","week","thProps","React"],"mappings":";AAOO,SAASA,EAAWC,GAAO;AAC9B,QAAM,EAAE,MAAAC,GAAM,GAAGC,EAAO,IAAKF;AAC7B,SAAOG,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAO,CAAE;AACnD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index131.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
package/dist/index132.js CHANGED
@@ -1,8 +1,10 @@
1
- import t from "react";
2
- function a(e) {
3
- return t.createElement("th", { ...e });
1
+ import { DateLib as r } from "./index107.js";
2
+ function a(t, o, n) {
3
+ return (n ?? new r(o)).formatMonthYear(t);
4
4
  }
5
+ const f = a;
5
6
  export {
6
- a as WeekNumberHeader
7
+ a as formatCaption,
8
+ f as formatMonthCaption
7
9
  };
8
10
  //# sourceMappingURL=index132.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index132.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the header cell for the week numbers column.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumberHeader(props) {\n return React.createElement(\"th\", { ...props });\n}\n"],"names":["WeekNumberHeader","props","React"],"mappings":";AAOO,SAASA,EAAiBC,GAAO;AACpC,SAAOC,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AACjD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index132.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatCaption.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the caption of the month.\n *\n * @defaultValue Locale-specific month/year order (e.g., \"November 2022\").\n * @param month The date representing the month.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted caption as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatCaption(month, options, dateLib) {\n const lib = dateLib ?? new DateLib(options);\n return lib.formatMonthYear(month);\n}\n/**\n * @private\n * @deprecated Use {@link formatCaption} instead.\n * @group Formatters\n */\nexport const formatMonthCaption = formatCaption;\n"],"names":["formatCaption","month","options","dateLib","DateLib","formatMonthCaption"],"mappings":";AAaO,SAASA,EAAcC,GAAOC,GAASC,GAAS;AAEnD,UADYA,KAAW,IAAIC,EAAQF,CAAO,GAC/B,gBAAgBD,CAAK;AACpC;AAMY,MAACI,IAAqBL;","x_google_ignoreList":[0]}
package/dist/index133.js CHANGED
@@ -1,8 +1,8 @@
1
- import t from "react";
2
- function o(e) {
3
- return t.createElement("tbody", { ...e });
1
+ import { DateLib as a } from "./index107.js";
2
+ function f(r, t, o) {
3
+ return (o ?? new a(t)).format(r, "d");
4
4
  }
5
5
  export {
6
- o as Weeks
6
+ f as formatDay
7
7
  };
8
8
  //# sourceMappingURL=index133.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index133.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weeks.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the container for the weeks in the month grid.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weeks(props) {\n return React.createElement(\"tbody\", { ...props });\n}\n"],"names":["Weeks","props","React"],"mappings":";AAOO,SAASA,EAAMC,GAAO;AACzB,SAAOC,EAAM,cAAc,SAAS,EAAE,GAAGD,EAAK,CAAE;AACpD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index133.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatDay.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the day date shown in the day cell.\n *\n * @defaultValue `d` (e.g., \"1\").\n * @param date The date to format.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted day as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatDay(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"d\");\n}\n"],"names":["formatDay","date","options","dateLib","DateLib"],"mappings":";AAaO,SAASA,EAAUC,GAAMC,GAASC,GAAS;AAC9C,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAM,GAAG;AAC7D;","x_google_ignoreList":[0]}
package/dist/index134.js CHANGED
@@ -1,10 +1,8 @@
1
- import r from "react";
2
- import { useDayPicker as t } from "./index151.js";
3
- function m(o) {
4
- const { components: e } = t();
5
- return r.createElement(e.Dropdown, { ...o });
1
+ import { defaultDateLib as r } from "./index107.js";
2
+ function n(o, t = r) {
3
+ return t.format(o, "LLLL");
6
4
  }
7
5
  export {
8
- m as YearsDropdown
6
+ n as formatMonthDropdown
9
7
  };
10
8
  //# sourceMappingURL=index134.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index134.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/YearsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between years in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function YearsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n"],"names":["YearsDropdown","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAcC,GAAO;AACjC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,UAAU,EAAE,GAAGD,GAAO;AAChE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index134.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the month for the dropdown option label.\n *\n * @defaultValue The localized full month name.\n * @param month The date representing the month.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted month name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatMonthDropdown(month, dateLib = defaultDateLib) {\n return dateLib.format(month, \"LLLL\");\n}\n"],"names":["formatMonthDropdown","month","dateLib","defaultDateLib"],"mappings":";AAYO,SAASA,EAAoBC,GAAOC,IAAUC,GAAgB;AACjE,SAAOD,EAAQ,OAAOD,GAAO,MAAM;AACvC;","x_google_ignoreList":[0]}
package/dist/index135.js CHANGED
@@ -1,149 +1,8 @@
1
- import { TZDate as a } from "./index213.js";
2
- import "./index214.js";
3
- import { endOfBroadcastWeek as f } from "./index215.js";
4
- import { startOfBroadcastWeek as d } from "./index216.js";
5
- import { enUS as m } from "./index158.js";
6
- import { addDays as v } from "./index217.js";
7
- import { addMonths as p } from "./index218.js";
8
- import { addWeeks as O } from "./index219.js";
9
- import { addYears as c } from "./index220.js";
10
- import { differenceInCalendarDays as u } from "./index221.js";
11
- import { differenceInCalendarMonths as l } from "./index222.js";
12
- import { eachMonthOfInterval as M } from "./index223.js";
13
- import { eachYearOfInterval as k } from "./index224.js";
14
- import { endOfISOWeek as W } from "./index225.js";
15
- import { endOfMonth as D } from "./index226.js";
16
- import { endOfWeek as Y } from "./index227.js";
17
- import { endOfYear as S } from "./index228.js";
18
- import { getISOWeek as y } from "./index229.js";
19
- import { getMonth as g } from "./index230.js";
20
- import { getYear as I } from "./index231.js";
21
- import { getWeek as w } from "./index232.js";
22
- import { isAfter as B } from "./index233.js";
23
- import { isBefore as L } from "./index234.js";
24
- import { isDate as C } from "./index235.js";
25
- import { isSameDay as z } from "./index236.js";
26
- import { isSameMonth as Z } from "./index237.js";
27
- import { isSameYear as b } from "./index238.js";
28
- import { max as A } from "./index239.js";
29
- import { min as F } from "./index240.js";
30
- import { setMonth as N } from "./index241.js";
31
- import { setYear as _ } from "./index242.js";
32
- import { startOfDay as j } from "./index243.js";
33
- import { startOfISOWeek as x } from "./index244.js";
34
- import { startOfMonth as H } from "./index245.js";
35
- import { startOfWeek as K } from "./index246.js";
36
- import { startOfYear as T } from "./index247.js";
37
- import { formatDate as U } from "./index248.js";
38
- class n {
39
- /**
40
- * Creates an instance of `DateLib`.
41
- *
42
- * @param options Configuration options for the date library.
43
- * @param overrides Custom overrides for the date library functions.
44
- */
45
- constructor(t, i) {
46
- this.Date = Date, this.today = () => this.overrides?.today ? this.overrides.today() : this.options.timeZone ? a.tz(this.options.timeZone) : new this.Date(), this.newDate = (r, e, s) => this.overrides?.newDate ? this.overrides.newDate(r, e, s) : this.options.timeZone ? new a(r, e, s, this.options.timeZone) : new Date(r, e, s), this.addDays = (r, e) => this.overrides?.addDays ? this.overrides.addDays(r, e) : v(r, e), this.addMonths = (r, e) => this.overrides?.addMonths ? this.overrides.addMonths(r, e) : p(r, e), this.addWeeks = (r, e) => this.overrides?.addWeeks ? this.overrides.addWeeks(r, e) : O(r, e), this.addYears = (r, e) => this.overrides?.addYears ? this.overrides.addYears(r, e) : c(r, e), this.differenceInCalendarDays = (r, e) => this.overrides?.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, e) : u(r, e), this.differenceInCalendarMonths = (r, e) => this.overrides?.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, e) : l(r, e), this.eachMonthOfInterval = (r) => this.overrides?.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : M(r), this.eachYearOfInterval = (r) => {
47
- const e = this.overrides?.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : k(r), s = new Set(e.map((h) => this.getYear(h)));
48
- if (s.size === e.length)
49
- return e;
50
- const o = [];
51
- return s.forEach((h) => {
52
- o.push(new Date(h, 0, 1));
53
- }), o;
54
- }, this.endOfBroadcastWeek = (r) => this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : f(r, this), this.endOfISOWeek = (r) => this.overrides?.endOfISOWeek ? this.overrides.endOfISOWeek(r) : W(r), this.endOfMonth = (r) => this.overrides?.endOfMonth ? this.overrides.endOfMonth(r) : D(r), this.endOfWeek = (r, e) => this.overrides?.endOfWeek ? this.overrides.endOfWeek(r, e) : Y(r, this.options), this.endOfYear = (r) => this.overrides?.endOfYear ? this.overrides.endOfYear(r) : S(r), this.format = (r, e, s) => {
55
- const o = this.overrides?.format ? this.overrides.format(r, e, this.options) : U(r, e, this.options);
56
- return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(o) : o;
57
- }, this.getISOWeek = (r) => this.overrides?.getISOWeek ? this.overrides.getISOWeek(r) : y(r), this.getMonth = (r, e) => this.overrides?.getMonth ? this.overrides.getMonth(r, this.options) : g(r, this.options), this.getYear = (r, e) => this.overrides?.getYear ? this.overrides.getYear(r, this.options) : I(r, this.options), this.getWeek = (r, e) => this.overrides?.getWeek ? this.overrides.getWeek(r, this.options) : w(r, this.options), this.isAfter = (r, e) => this.overrides?.isAfter ? this.overrides.isAfter(r, e) : B(r, e), this.isBefore = (r, e) => this.overrides?.isBefore ? this.overrides.isBefore(r, e) : L(r, e), this.isDate = (r) => this.overrides?.isDate ? this.overrides.isDate(r) : C(r), this.isSameDay = (r, e) => this.overrides?.isSameDay ? this.overrides.isSameDay(r, e) : z(r, e), this.isSameMonth = (r, e) => this.overrides?.isSameMonth ? this.overrides.isSameMonth(r, e) : Z(r, e), this.isSameYear = (r, e) => this.overrides?.isSameYear ? this.overrides.isSameYear(r, e) : b(r, e), this.max = (r) => this.overrides?.max ? this.overrides.max(r) : A(r), this.min = (r) => this.overrides?.min ? this.overrides.min(r) : F(r), this.setMonth = (r, e) => this.overrides?.setMonth ? this.overrides.setMonth(r, e) : N(r, e), this.setYear = (r, e) => this.overrides?.setYear ? this.overrides.setYear(r, e) : _(r, e), this.startOfBroadcastWeek = (r, e) => this.overrides?.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : d(r, this), this.startOfDay = (r) => this.overrides?.startOfDay ? this.overrides.startOfDay(r) : j(r), this.startOfISOWeek = (r) => this.overrides?.startOfISOWeek ? this.overrides.startOfISOWeek(r) : x(r), this.startOfMonth = (r) => this.overrides?.startOfMonth ? this.overrides.startOfMonth(r) : H(r), this.startOfWeek = (r, e) => this.overrides?.startOfWeek ? this.overrides.startOfWeek(r, this.options) : K(r, this.options), this.startOfYear = (r) => this.overrides?.startOfYear ? this.overrides.startOfYear(r) : T(r), this.options = { locale: m, ...t }, this.overrides = i;
58
- }
59
- /**
60
- * Generates a mapping of Arabic digits (0-9) to the target numbering system
61
- * digits.
62
- *
63
- * @since 9.5.0
64
- * @returns A record mapping Arabic digits to the target numerals.
65
- */
66
- getDigitMap() {
67
- const { numerals: t = "latn" } = this.options, i = new Intl.NumberFormat("en-US", {
68
- numberingSystem: t
69
- }), r = {};
70
- for (let e = 0; e < 10; e++)
71
- r[e.toString()] = i.format(e);
72
- return r;
73
- }
74
- /**
75
- * Replaces Arabic digits in a string with the target numbering system digits.
76
- *
77
- * @since 9.5.0
78
- * @param input The string containing Arabic digits.
79
- * @returns The string with digits replaced.
80
- */
81
- replaceDigits(t) {
82
- const i = this.getDigitMap();
83
- return t.replace(/\d/g, (r) => i[r] || r);
84
- }
85
- /**
86
- * Formats a number using the configured numbering system.
87
- *
88
- * @since 9.5.0
89
- * @param value The number to format.
90
- * @returns The formatted number as a string.
91
- */
92
- formatNumber(t) {
93
- return this.replaceDigits(t.toString());
94
- }
95
- /**
96
- * Returns the preferred ordering for month and year labels for the current
97
- * locale.
98
- */
99
- getMonthYearOrder() {
100
- const t = this.options.locale?.code;
101
- return t && n.yearFirstLocales.has(t) ? "year-first" : "month-first";
102
- }
103
- /**
104
- * Formats the month/year pair respecting locale conventions.
105
- *
106
- * @since 9.11.0
107
- */
108
- formatMonthYear(t) {
109
- const { locale: i, timeZone: r, numerals: e } = this.options, s = i?.code;
110
- if (s && n.yearFirstLocales.has(s))
111
- try {
112
- return new Intl.DateTimeFormat(s, {
113
- month: "long",
114
- year: "numeric",
115
- timeZone: r,
116
- numberingSystem: e
117
- }).format(t);
118
- } catch {
119
- }
120
- const o = this.getMonthYearOrder() === "year-first" ? "y LLLL" : "LLLL y";
121
- return this.format(t, o);
122
- }
1
+ import { DateLib as t } from "./index107.js";
2
+ function a(c, e, r) {
3
+ return (r ?? new t(e)).format(c, "cccccc");
123
4
  }
124
- n.yearFirstLocales = /* @__PURE__ */ new Set([
125
- "eu",
126
- "hu",
127
- "ja",
128
- "ja-Hira",
129
- "ja-JP",
130
- "ko",
131
- "ko-KR",
132
- "lt",
133
- "lt-LT",
134
- "lv",
135
- "lv-LV",
136
- "mn",
137
- "mn-MN",
138
- "zh",
139
- "zh-CN",
140
- "zh-HK",
141
- "zh-TW"
142
- ]);
143
- const Br = new n();
144
5
  export {
145
- n as DateLib,
146
- Br as defaultDateLib,
147
- m as defaultLocale
6
+ a as formatWeekdayName
148
7
  };
149
8
  //# sourceMappingURL=index135.js.map