@rpcbase/ui 0.211.0 → 0.212.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 (641) hide show
  1. package/dist/index.js +73 -25
  2. package/dist/index.js.map +1 -0
  3. package/dist/index10.js +666 -18
  4. package/dist/index10.js.map +1 -1
  5. package/dist/index100.js +46 -9
  6. package/dist/index100.js.map +1 -1
  7. package/dist/index101.js +7 -14
  8. package/dist/index101.js.map +1 -1
  9. package/dist/index102.js +50 -10
  10. package/dist/index102.js.map +1 -1
  11. package/dist/index103.js +233 -15
  12. package/dist/index103.js.map +1 -1
  13. package/dist/index104.js +25 -21
  14. package/dist/index104.js.map +1 -1
  15. package/dist/index105.js +27 -27
  16. package/dist/index105.js.map +1 -1
  17. package/dist/index106.js +404 -9
  18. package/dist/index106.js.map +1 -1
  19. package/dist/index107.js +609 -9
  20. package/dist/index107.js.map +1 -1
  21. package/dist/index108.js +55 -10
  22. package/dist/index108.js.map +1 -1
  23. package/dist/index109.js +6 -8
  24. package/dist/index109.js.map +1 -1
  25. package/dist/index11.js +459 -1673
  26. package/dist/index11.js.map +1 -1
  27. package/dist/index110.js +7 -8
  28. package/dist/index110.js.map +1 -1
  29. package/dist/index111.js +17 -7
  30. package/dist/index111.js.map +1 -1
  31. package/dist/index112.js +8 -11
  32. package/dist/index112.js.map +1 -1
  33. package/dist/index113.js +10 -10
  34. package/dist/index113.js.map +1 -1
  35. package/dist/index114.js +19 -37
  36. package/dist/index114.js.map +1 -1
  37. package/dist/index115.js +6 -9
  38. package/dist/index115.js.map +1 -1
  39. package/dist/index116.js +7 -8
  40. package/dist/index116.js.map +1 -1
  41. package/dist/index117.js +8 -10
  42. package/dist/index117.js.map +1 -1
  43. package/dist/index118.js +8 -12
  44. package/dist/index118.js.map +1 -1
  45. package/dist/index119.js +6 -7
  46. package/dist/index119.js.map +1 -1
  47. package/dist/index12.js +79 -10
  48. package/dist/index12.js.map +1 -1
  49. package/dist/index120.js +6 -8
  50. package/dist/index120.js.map +1 -1
  51. package/dist/index121.js +8 -7
  52. package/dist/index121.js.map +1 -1
  53. package/dist/index122.js +27 -8
  54. package/dist/index122.js.map +1 -1
  55. package/dist/index123.js +9 -9
  56. package/dist/index123.js.map +1 -1
  57. package/dist/index124.js +6 -7
  58. package/dist/index124.js.map +1 -1
  59. package/dist/index125.js +8 -7
  60. package/dist/index125.js.map +1 -1
  61. package/dist/index126.js +8 -10
  62. package/dist/index126.js.map +1 -1
  63. package/dist/index127.js +8 -60
  64. package/dist/index127.js.map +1 -1
  65. package/dist/index128.js +8 -9
  66. package/dist/index128.js.map +1 -1
  67. package/dist/index129.js +8 -23
  68. package/dist/index129.js.map +1 -1
  69. package/dist/index13.js +23 -21
  70. package/dist/index13.js.map +1 -1
  71. package/dist/index130.js +11 -22
  72. package/dist/index130.js.map +1 -1
  73. package/dist/index131.js +8 -37
  74. package/dist/index131.js.map +1 -1
  75. package/dist/index132.js +7 -8
  76. package/dist/index132.js.map +1 -1
  77. package/dist/index133.js +7 -11
  78. package/dist/index133.js.map +1 -1
  79. package/dist/index134.js +9 -17
  80. package/dist/index134.js.map +1 -1
  81. package/dist/index135.js +148 -13
  82. package/dist/index135.js.map +1 -1
  83. package/dist/index136.js +42 -9
  84. package/dist/index136.js.map +1 -1
  85. package/dist/index137.js +7 -8
  86. package/dist/index137.js.map +1 -1
  87. package/dist/index138.js +10 -8
  88. package/dist/index138.js.map +1 -1
  89. package/dist/index139.js +16 -8
  90. package/dist/index139.js.map +1 -1
  91. package/dist/index14.js +20 -194
  92. package/dist/index14.js.map +1 -1
  93. package/dist/index140.js +16 -8
  94. package/dist/index140.js.map +1 -1
  95. package/dist/index141.js +10 -7
  96. package/dist/index141.js.map +1 -1
  97. package/dist/index142.js +34 -9
  98. package/dist/index142.js.map +1 -1
  99. package/dist/index143.js +14 -24
  100. package/dist/index143.js.map +1 -1
  101. package/dist/index144.js +13 -11
  102. package/dist/index144.js.map +1 -1
  103. package/dist/index145.js +11 -10
  104. package/dist/index145.js.map +1 -1
  105. package/dist/index146.js +16 -9
  106. package/dist/index146.js.map +1 -1
  107. package/dist/index147.js +104 -9
  108. package/dist/index147.js.map +1 -1
  109. package/dist/index148.js +23 -8
  110. package/dist/index148.js.map +1 -1
  111. package/dist/index149.js +56 -7
  112. package/dist/index149.js.map +1 -1
  113. package/dist/index15.js +30 -33
  114. package/dist/index15.js.map +1 -1
  115. package/dist/index150.js +75 -8
  116. package/dist/index150.js.map +1 -1
  117. package/dist/index151.js +12 -7
  118. package/dist/index151.js.map +1 -1
  119. package/dist/index152.js +23 -8
  120. package/dist/index152.js.map +1 -1
  121. package/dist/index153.js +19 -7
  122. package/dist/index153.js.map +1 -1
  123. package/dist/index154.js +26 -7
  124. package/dist/index154.js.map +1 -1
  125. package/dist/index155.js +9 -7
  126. package/dist/index155.js.map +1 -1
  127. package/dist/index156.js +9 -32
  128. package/dist/index156.js.map +1 -1
  129. package/dist/index157.js +26 -35
  130. package/dist/index157.js.map +1 -1
  131. package/dist/index158.js +38 -19
  132. package/dist/index158.js.map +1 -1
  133. package/dist/index159.js +19 -15
  134. package/dist/index159.js.map +1 -1
  135. package/dist/index16.js +268 -57
  136. package/dist/index16.js.map +1 -1
  137. package/dist/index160.js +9 -12
  138. package/dist/index160.js.map +1 -1
  139. package/dist/index161.js +7 -19
  140. package/dist/index161.js.map +1 -1
  141. package/dist/index162.js +7 -89
  142. package/dist/index162.js.map +1 -1
  143. package/dist/index163.js +7 -50
  144. package/dist/index163.js.map +1 -1
  145. package/dist/index164.js +7 -20
  146. package/dist/index164.js.map +1 -1
  147. package/dist/index165.js +6 -11
  148. package/dist/index165.js.map +1 -1
  149. package/dist/index166.js +9 -13
  150. package/dist/index166.js.map +1 -1
  151. package/dist/index167.js +27 -9
  152. package/dist/index167.js.map +1 -1
  153. package/dist/index168.js +10 -25
  154. package/dist/index168.js.map +1 -1
  155. package/dist/index169.js +9 -10
  156. package/dist/index169.js.map +1 -1
  157. package/dist/index17.js +179 -9
  158. package/dist/index17.js.map +1 -1
  159. package/dist/index170.js +8 -9
  160. package/dist/index170.js.map +1 -1
  161. package/dist/index171.js +6 -9
  162. package/dist/index171.js.map +1 -1
  163. package/dist/index172.js +6 -7
  164. package/dist/index172.js.map +1 -1
  165. package/dist/index173.js +7 -9
  166. package/dist/index173.js.map +1 -1
  167. package/dist/index174.js +6 -70
  168. package/dist/index174.js.map +1 -1
  169. package/dist/index175.js +7 -20
  170. package/dist/index175.js.map +1 -1
  171. package/dist/index176.js +6 -15
  172. package/dist/index176.js.map +1 -1
  173. package/dist/index177.js +6 -12
  174. package/dist/index177.js.map +1 -1
  175. package/dist/index178.js +6 -23
  176. package/dist/index178.js.map +1 -1
  177. package/dist/index179.js +16 -20
  178. package/dist/index179.js.map +1 -1
  179. package/dist/index18.js +469 -27
  180. package/dist/index18.js.map +1 -1
  181. package/dist/index180.js +158 -59
  182. package/dist/index180.js.map +1 -1
  183. package/dist/index181.js +33 -13
  184. package/dist/index181.js.map +1 -1
  185. package/dist/index182.js +12 -9
  186. package/dist/index182.js.map +1 -1
  187. package/dist/index183.js +51 -29
  188. package/dist/index183.js.map +1 -1
  189. package/dist/index184.js +14 -29
  190. package/dist/index184.js.map +1 -1
  191. package/dist/index185.js +47 -16
  192. package/dist/index185.js.map +1 -1
  193. package/dist/index186.js +98 -16
  194. package/dist/index186.js.map +1 -1
  195. package/dist/index187.js +90 -10
  196. package/dist/index187.js.map +1 -1
  197. package/dist/index188.js +109 -27
  198. package/dist/index188.js.map +1 -1
  199. package/dist/index189.js +55 -388
  200. package/dist/index189.js.map +1 -1
  201. package/dist/index19.js +266 -65
  202. package/dist/index19.js.map +1 -1
  203. package/dist/index190.js +15 -499
  204. package/dist/index190.js.map +1 -1
  205. package/dist/index191.js +39 -132
  206. package/dist/index191.js.map +1 -1
  207. package/dist/index192.js +11 -55
  208. package/dist/index192.js.map +1 -1
  209. package/dist/index193.js +6 -80
  210. package/dist/index193.js.map +1 -1
  211. package/dist/index194.js +12 -902
  212. package/dist/index194.js.map +1 -1
  213. package/dist/index195.js +119 -22
  214. package/dist/index195.js.map +1 -1
  215. package/dist/index196.js +21 -452
  216. package/dist/index196.js.map +1 -1
  217. package/dist/index197.js +18 -7
  218. package/dist/index197.js.map +1 -1
  219. package/dist/index198.js +38 -59
  220. package/dist/index198.js.map +1 -1
  221. package/dist/index199.js +23 -64
  222. package/dist/index199.js.map +1 -1
  223. package/dist/index2.js +8 -10
  224. package/dist/index2.js.map +1 -0
  225. package/dist/index20.js +5 -43
  226. package/dist/index20.js.map +1 -1
  227. package/dist/index200.js +11 -63
  228. package/dist/index200.js.map +1 -1
  229. package/dist/index201.js +22 -11
  230. package/dist/index201.js.map +1 -1
  231. package/dist/index202.js +31 -19
  232. package/dist/index202.js.map +1 -1
  233. package/dist/index203.js +20 -148
  234. package/dist/index203.js.map +1 -1
  235. package/dist/index204.js +28 -7
  236. package/dist/index204.js.map +1 -1
  237. package/dist/index205.js +32 -14
  238. package/dist/index205.js.map +1 -1
  239. package/dist/index206.js +7 -107
  240. package/dist/index206.js.map +1 -1
  241. package/dist/index207.js +65 -355
  242. package/dist/index207.js.map +1 -1
  243. package/dist/index208.js +184 -99
  244. package/dist/index208.js.map +1 -1
  245. package/dist/index209.js +49 -329
  246. package/dist/index209.js.map +1 -1
  247. package/dist/index21.js +28 -11
  248. package/dist/index21.js.map +1 -1
  249. package/dist/index210.js +60 -212
  250. package/dist/index210.js.map +1 -1
  251. package/dist/index211.js +12 -22
  252. package/dist/index211.js.map +1 -1
  253. package/dist/index212.js +69 -30
  254. package/dist/index212.js.map +1 -1
  255. package/dist/index213.js +21 -189
  256. package/dist/index213.js.map +1 -1
  257. package/dist/index214.js +20 -21
  258. package/dist/index214.js.map +1 -1
  259. package/dist/index215.js +9 -65
  260. package/dist/index215.js.map +1 -1
  261. package/dist/index216.js +8 -46
  262. package/dist/index216.js.map +1 -1
  263. package/dist/index217.js +9 -12
  264. package/dist/index217.js.map +1 -1
  265. package/dist/index218.js +8 -28
  266. package/dist/index218.js.map +1 -1
  267. package/dist/index219.js +9 -47
  268. package/dist/index219.js.map +1 -1
  269. package/dist/index22.js +48 -16
  270. package/dist/index22.js.map +1 -1
  271. package/dist/index220.js +19 -20
  272. package/dist/index220.js.map +1 -1
  273. package/dist/index221.js +8 -6
  274. package/dist/index221.js.map +1 -1
  275. package/dist/index222.js +7 -7
  276. package/dist/index222.js.map +1 -1
  277. package/dist/index223.js +15 -23
  278. package/dist/index223.js.map +1 -1
  279. package/dist/index224.js +12 -27
  280. package/dist/index224.js.map +1 -1
  281. package/dist/index225.js +16 -70
  282. package/dist/index225.js.map +1 -1
  283. package/dist/index226.js +16 -17
  284. package/dist/index226.js.map +1 -1
  285. package/dist/index227.js +8 -7
  286. package/dist/index227.js.map +1 -1
  287. package/dist/index228.js +8 -53
  288. package/dist/index228.js.map +1 -1
  289. package/dist/index229.js +9 -8
  290. package/dist/index229.js.map +1 -1
  291. package/dist/index23.js +37 -109
  292. package/dist/index23.js.map +1 -1
  293. package/dist/index230.js +7 -28
  294. package/dist/index230.js.map +1 -1
  295. package/dist/index231.js +57 -16
  296. package/dist/index231.js.map +1 -1
  297. package/dist/index232.js +11 -12
  298. package/dist/index232.js.map +1 -1
  299. package/dist/index233.js +8 -3
  300. package/dist/index233.js.map +1 -0
  301. package/dist/index234.js +7 -28
  302. package/dist/index234.js.map +1 -1
  303. package/dist/index235.js +11 -71
  304. package/dist/index235.js.map +1 -1
  305. package/dist/index236.js +8 -3
  306. package/dist/index236.js.map +1 -0
  307. package/dist/index237.js +7 -14
  308. package/dist/index237.js.map +1 -1
  309. package/dist/index238.js +6 -53
  310. package/dist/index238.js.map +1 -1
  311. package/dist/index239.js +13 -117
  312. package/dist/index239.js.map +1 -1
  313. package/dist/index24.js +227 -11
  314. package/dist/index24.js.map +1 -1
  315. package/dist/index240.js +13 -9
  316. package/dist/index240.js.map +1 -1
  317. package/dist/index241.js +13 -16
  318. package/dist/index241.js.map +1 -1
  319. package/dist/index242.js +13 -689
  320. package/dist/index242.js.map +1 -1
  321. package/dist/index243.js +14 -256
  322. package/dist/index243.js.map +1 -1
  323. package/dist/index244.js +13 -704
  324. package/dist/index244.js.map +1 -1
  325. package/dist/index245.js +9 -7433
  326. package/dist/index245.js.map +1 -1
  327. package/dist/index246.js +8 -9
  328. package/dist/index246.js.map +1 -1
  329. package/dist/index247.js +7 -15
  330. package/dist/index247.js.map +1 -1
  331. package/dist/index248.js +8 -8
  332. package/dist/index248.js.map +1 -1
  333. package/dist/index249.js +9 -462
  334. package/dist/index249.js.map +1 -1
  335. package/dist/index25.js +32 -23
  336. package/dist/index25.js.map +1 -1
  337. package/dist/index250.js +9 -41
  338. package/dist/index250.js.map +1 -1
  339. package/dist/index251.js +19 -22
  340. package/dist/index251.js.map +1 -1
  341. package/dist/index252.js +10 -30
  342. package/dist/index252.js.map +1 -1
  343. package/dist/index253.js +13 -7
  344. package/dist/index253.js.map +1 -1
  345. package/dist/index254.js +14 -62
  346. package/dist/index254.js.map +1 -1
  347. package/dist/index255.js +24 -10
  348. package/dist/index255.js.map +1 -1
  349. package/dist/index256.js +13 -15
  350. package/dist/index256.js.map +1 -1
  351. package/dist/index257.js +13 -6
  352. package/dist/index257.js.map +1 -1
  353. package/dist/index258.js +12 -19
  354. package/dist/index258.js.map +1 -1
  355. package/dist/index259.js +7 -28
  356. package/dist/index259.js.map +1 -1
  357. package/dist/index26.js +16 -60
  358. package/dist/index26.js.map +1 -1
  359. package/dist/index260.js +9 -47
  360. package/dist/index260.js.map +1 -1
  361. package/dist/index261.js +19 -16
  362. package/dist/index261.js.map +1 -1
  363. package/dist/index262.js +12 -28
  364. package/dist/index262.js.map +1 -1
  365. package/dist/index263.js +21 -20
  366. package/dist/index263.js.map +1 -1
  367. package/dist/index264.js +18 -38
  368. package/dist/index264.js.map +1 -1
  369. package/dist/index265.js +15 -8
  370. package/dist/index265.js.map +1 -1
  371. package/dist/index266.js +32 -12
  372. package/dist/index266.js.map +1 -1
  373. package/dist/index267.js +15 -11
  374. package/dist/index267.js.map +1 -1
  375. package/dist/index268.js +28 -12
  376. package/dist/index268.js.map +1 -1
  377. package/dist/index269.js +8 -13
  378. package/dist/index269.js.map +1 -1
  379. package/dist/index27.js +2924 -58
  380. package/dist/index27.js.map +1 -1
  381. package/dist/index270.js +23 -10
  382. package/dist/index270.js.map +1 -1
  383. package/dist/index271.js +8 -77
  384. package/dist/index271.js.map +1 -1
  385. package/dist/index272.js +5 -174
  386. package/dist/index272.js.map +1 -1
  387. package/dist/index273.js +27 -118
  388. package/dist/index273.js.map +1 -1
  389. package/dist/index274.js +115 -17
  390. package/dist/index274.js.map +1 -1
  391. package/dist/index275.js +17 -82
  392. package/dist/index275.js.map +1 -1
  393. package/dist/index276.js +528 -45
  394. package/dist/index276.js.map +1 -1
  395. package/dist/index277.js +129 -17
  396. package/dist/index277.js.map +1 -1
  397. package/dist/index278.js +137 -20
  398. package/dist/index278.js.map +1 -1
  399. package/dist/index279.js +8 -103
  400. package/dist/index279.js.map +1 -1
  401. package/dist/index28.js +6 -1
  402. package/dist/index28.js.map +1 -0
  403. package/dist/index280.js +21 -60
  404. package/dist/index280.js.map +1 -1
  405. package/dist/index281.js +16 -112
  406. package/dist/index281.js.map +1 -1
  407. package/dist/index282.js +65 -72
  408. package/dist/index282.js.map +1 -1
  409. package/dist/index283.js +72 -117
  410. package/dist/index283.js.map +1 -1
  411. package/dist/index284.js +12 -59
  412. package/dist/index284.js.map +1 -1
  413. package/dist/index285.js +17 -47
  414. package/dist/index285.js.map +1 -1
  415. package/dist/index286.js +69 -146
  416. package/dist/index286.js.map +1 -1
  417. package/dist/index287.js +8 -143
  418. package/dist/index287.js.map +1 -1
  419. package/dist/index288.js +8 -258
  420. package/dist/index288.js.map +1 -1
  421. package/dist/index289.js +7 -244
  422. package/dist/index289.js.map +1 -1
  423. package/dist/index29.js +40 -5
  424. package/dist/index29.js.map +1 -0
  425. package/dist/index290.js +19 -302
  426. package/dist/index290.js.map +1 -1
  427. package/dist/index291.js +11 -8
  428. package/dist/index291.js.map +1 -1
  429. package/dist/index292.js +8 -9
  430. package/dist/index292.js.map +1 -1
  431. package/dist/index293.js +7 -10
  432. package/dist/index293.js.map +1 -1
  433. package/dist/index294.js +548 -9
  434. package/dist/index294.js.map +1 -1
  435. package/dist/index295.js +50 -10
  436. package/dist/index295.js.map +1 -1
  437. package/dist/index296.js +20 -24
  438. package/dist/index296.js.map +1 -1
  439. package/dist/index297.js +8 -13
  440. package/dist/index297.js.map +1 -1
  441. package/dist/index298.js +11 -130
  442. package/dist/index298.js.map +1 -1
  443. package/dist/index299.js +9 -167
  444. package/dist/index299.js.map +1 -1
  445. package/dist/index3.js +181 -6
  446. package/dist/index3.js.map +1 -1
  447. package/dist/index30.js +6 -8
  448. package/dist/index30.js.map +1 -1
  449. package/dist/index300.js +11 -72
  450. package/dist/index300.js.map +1 -1
  451. package/dist/index301.js +14 -112
  452. package/dist/index301.js.map +1 -1
  453. package/dist/index302.js +12 -495
  454. package/dist/index302.js.map +1 -1
  455. package/dist/index303.js +15 -65
  456. package/dist/index303.js.map +1 -1
  457. package/dist/index304.js +7 -7
  458. package/dist/index304.js.map +1 -1
  459. package/dist/index305.js +25 -30
  460. package/dist/index305.js.map +1 -1
  461. package/dist/index306.js +6 -67
  462. package/dist/index306.js.map +1 -1
  463. package/dist/index307.js +58 -155
  464. package/dist/index307.js.map +1 -1
  465. package/dist/index308.js +71 -65
  466. package/dist/index308.js.map +1 -1
  467. package/dist/index309.js +32 -563
  468. package/dist/index309.js.map +1 -1
  469. package/dist/index31.js +128 -9
  470. package/dist/index31.js.map +1 -1
  471. package/dist/index310.js +11 -213
  472. package/dist/index310.js.map +1 -1
  473. package/dist/index311.js +156 -335
  474. package/dist/index311.js.map +1 -1
  475. package/dist/index312.js +110 -271
  476. package/dist/index312.js.map +1 -1
  477. package/dist/index313.js +26 -0
  478. package/dist/index313.js.map +1 -0
  479. package/dist/index314.js +16 -0
  480. package/dist/index314.js.map +1 -0
  481. package/dist/index315.js +31 -0
  482. package/dist/index315.js.map +1 -0
  483. package/dist/index316.js +8 -0
  484. package/dist/index316.js.map +1 -0
  485. package/dist/index317.js +19 -0
  486. package/dist/index317.js.map +1 -0
  487. package/dist/index318.js +32 -0
  488. package/dist/index318.js.map +1 -0
  489. package/dist/index319.js +16 -0
  490. package/dist/index319.js.map +1 -0
  491. package/dist/index32.js +234 -8
  492. package/dist/index32.js.map +1 -1
  493. package/dist/index320.js +10 -0
  494. package/dist/index320.js.map +1 -0
  495. package/dist/index33.js +26 -10
  496. package/dist/index33.js.map +1 -1
  497. package/dist/index34.js +54 -14
  498. package/dist/index34.js.map +1 -1
  499. package/dist/index35.js +24 -8
  500. package/dist/index35.js.map +1 -1
  501. package/dist/index36.js +133 -11
  502. package/dist/index36.js.map +1 -1
  503. package/dist/index37.js +225 -12
  504. package/dist/index37.js.map +1 -1
  505. package/dist/index38.js +94 -16
  506. package/dist/index38.js.map +1 -1
  507. package/dist/index39.js +121 -9
  508. package/dist/index39.js.map +1 -1
  509. package/dist/index4.js +28 -25
  510. package/dist/index4.js.map +1 -1
  511. package/dist/index40.js +8 -9
  512. package/dist/index40.js.map +1 -1
  513. package/dist/index41.js +847 -10
  514. package/dist/index41.js.map +1 -1
  515. package/dist/index42.js +60 -13
  516. package/dist/index42.js.map +1 -1
  517. package/dist/index43.js +10 -11
  518. package/dist/index43.js.map +1 -1
  519. package/dist/index44.js +5 -9
  520. package/dist/index44.js.map +1 -1
  521. package/dist/index45.js +14 -8
  522. package/dist/index45.js.map +1 -1
  523. package/dist/index46.js +21 -14
  524. package/dist/index46.js.map +1 -1
  525. package/dist/index47.js +10 -14
  526. package/dist/index47.js.map +1 -1
  527. package/dist/index48.js +5 -11
  528. package/dist/index48.js.map +1 -1
  529. package/dist/index49.js +26 -7
  530. package/dist/index49.js.map +1 -1
  531. package/dist/index5.js +41 -34
  532. package/dist/index5.js.map +1 -1
  533. package/dist/index50.js +236 -9
  534. package/dist/index50.js.map +1 -1
  535. package/dist/index51.js +9 -9
  536. package/dist/index51.js.map +1 -1
  537. package/dist/index52.js +36 -9
  538. package/dist/index52.js.map +1 -1
  539. package/dist/index53.js +29 -12
  540. package/dist/index53.js.map +1 -1
  541. package/dist/index54.js +10 -16
  542. package/dist/index54.js.map +1 -1
  543. package/dist/index55.js +14 -9
  544. package/dist/index55.js.map +1 -1
  545. package/dist/index56.js +5 -10
  546. package/dist/index56.js.map +1 -1
  547. package/dist/index57.js +5 -10
  548. package/dist/index57.js.map +1 -1
  549. package/dist/index58.js +5 -17
  550. package/dist/index58.js.map +1 -1
  551. package/dist/index59.js +5 -11
  552. package/dist/index59.js.map +1 -1
  553. package/dist/index6.js +469 -42
  554. package/dist/index6.js.map +1 -1
  555. package/dist/index60.js +208 -12
  556. package/dist/index60.js.map +1 -1
  557. package/dist/index61.js +8 -70
  558. package/dist/index61.js.map +1 -1
  559. package/dist/index62.js +10 -10
  560. package/dist/index62.js.map +1 -1
  561. package/dist/index63.js +8 -33
  562. package/dist/index63.js.map +1 -1
  563. package/dist/index64.js +7 -13
  564. package/dist/index64.js.map +1 -1
  565. package/dist/index65.js +50 -18
  566. package/dist/index65.js.map +1 -1
  567. package/dist/index66.js +53 -203
  568. package/dist/index66.js.map +1 -1
  569. package/dist/index67.js +10 -23
  570. package/dist/index67.js.map +1 -1
  571. package/dist/index68.js +17 -19
  572. package/dist/index68.js.map +1 -1
  573. package/dist/index69.js +136 -125
  574. package/dist/index69.js.map +1 -1
  575. package/dist/index7.js +138 -224
  576. package/dist/index7.js.map +1 -1
  577. package/dist/index70.js +13 -21
  578. package/dist/index70.js.map +1 -1
  579. package/dist/index71.js +219 -11
  580. package/dist/index71.js.map +1 -1
  581. package/dist/index72.js +16 -13
  582. package/dist/index72.js.map +1 -1
  583. package/dist/index73.js +49 -16
  584. package/dist/index73.js.map +1 -1
  585. package/dist/index74.js +52 -12
  586. package/dist/index74.js.map +1 -1
  587. package/dist/index75.js +7 -13
  588. package/dist/index75.js.map +1 -1
  589. package/dist/index76.js +8 -7
  590. package/dist/index76.js.map +1 -1
  591. package/dist/index77.js +30 -44
  592. package/dist/index77.js.map +1 -1
  593. package/dist/index78.js +52 -383
  594. package/dist/index78.js.map +1 -1
  595. package/dist/index79.js +11 -41
  596. package/dist/index79.js.map +1 -1
  597. package/dist/index8.js +875 -37
  598. package/dist/index8.js.map +1 -1
  599. package/dist/index80.js +46 -21
  600. package/dist/index80.js.map +1 -1
  601. package/dist/index81.js +8 -60
  602. package/dist/index81.js.map +1 -1
  603. package/dist/index82.js +72 -11
  604. package/dist/index82.js.map +1 -1
  605. package/dist/index83.js +5 -9
  606. package/dist/index83.js.map +1 -1
  607. package/dist/index84.js +367 -9
  608. package/dist/index84.js.map +1 -1
  609. package/dist/index85.js +265 -9
  610. package/dist/index85.js.map +1 -1
  611. package/dist/index86.js +64 -9
  612. package/dist/index86.js.map +1 -1
  613. package/dist/index87.js +50 -10
  614. package/dist/index87.js.map +1 -1
  615. package/dist/index88.js +173 -10
  616. package/dist/index88.js.map +1 -1
  617. package/dist/index89.js +113 -14
  618. package/dist/index89.js.map +1 -1
  619. package/dist/index9.js +8 -33
  620. package/dist/index9.js.map +1 -1
  621. package/dist/index90.js +27 -10
  622. package/dist/index90.js.map +1 -1
  623. package/dist/index91.js +11 -10
  624. package/dist/index91.js.map +1 -1
  625. package/dist/index92.js +7 -8
  626. package/dist/index92.js.map +1 -1
  627. package/dist/index93.js +8 -10
  628. package/dist/index93.js.map +1 -1
  629. package/dist/index94.js +7 -50
  630. package/dist/index94.js.map +1 -1
  631. package/dist/index95.js +469 -108
  632. package/dist/index95.js.map +1 -1
  633. package/dist/index96.js +188 -13
  634. package/dist/index96.js.map +1 -1
  635. package/dist/index97.js +110 -9
  636. package/dist/index97.js.map +1 -1
  637. package/dist/index98.js +265 -9
  638. package/dist/index98.js.map +1 -1
  639. package/dist/index99.js +12 -8
  640. package/dist/index99.js.map +1 -1
  641. package/package.json +7 -7
package/dist/index127.js CHANGED
@@ -1,60 +1,8 @@
1
- import { __exportAll as e } from "./index2.js";
2
- import { Button as t } from "./index99.js";
3
- import { CaptionLabel as n } from "./index100.js";
4
- import { Chevron as r } from "./index101.js";
5
- import { Day as i } from "./index102.js";
6
- import { DayButton as a } from "./index103.js";
7
- import { Dropdown as o } from "./index105.js";
8
- import { DropdownNav as s } from "./index106.js";
9
- import { Footer as c } from "./index107.js";
10
- import { Month as l } from "./index108.js";
11
- import { MonthCaption as u } from "./index109.js";
12
- import { MonthGrid as d } from "./index110.js";
13
- import { Months as f } from "./index111.js";
14
- import { MonthsDropdown as p } from "./index113.js";
15
- import { Nav as m } from "./index114.js";
16
- import { NextMonthButton as h } from "./index115.js";
17
- import { Option as g } from "./index116.js";
18
- import { PreviousMonthButton as _ } from "./index117.js";
19
- import { Root as v } from "./index118.js";
20
- import { Select as y } from "./index119.js";
21
- import { Week as b } from "./index120.js";
22
- import { Weekday as x } from "./index121.js";
23
- import { Weekdays as S } from "./index122.js";
24
- import { WeekNumber as C } from "./index123.js";
25
- import { WeekNumberHeader as w } from "./index124.js";
26
- import { Weeks as T } from "./index125.js";
27
- import { YearsDropdown as E } from "./index126.js";
28
- //#region ../../node_modules/react-day-picker/dist/esm/components/custom-components.js
29
- var D = /* @__PURE__ */ e({
30
- Button: () => t,
31
- CaptionLabel: () => n,
32
- Chevron: () => r,
33
- Day: () => i,
34
- DayButton: () => a,
35
- Dropdown: () => o,
36
- DropdownNav: () => s,
37
- Footer: () => c,
38
- Month: () => l,
39
- MonthCaption: () => u,
40
- MonthGrid: () => d,
41
- Months: () => f,
42
- MonthsDropdown: () => p,
43
- Nav: () => m,
44
- NextMonthButton: () => h,
45
- Option: () => g,
46
- PreviousMonthButton: () => _,
47
- Root: () => v,
48
- Select: () => y,
49
- Week: () => b,
50
- WeekNumber: () => C,
51
- WeekNumberHeader: () => w,
52
- Weekday: () => x,
53
- Weekdays: () => S,
54
- Weeks: () => T,
55
- YearsDropdown: () => E
56
- });
57
- //#endregion
58
- export { D as custom_components_exports };
59
-
60
- //# sourceMappingURL=index127.js.map
1
+ import t from "react";
2
+ function c(e) {
3
+ return t.createElement("select", { ...e });
4
+ }
5
+ export {
6
+ c as Select
7
+ };
8
+ //# sourceMappingURL=index127.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index127.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/components/custom-components.js"],"sourcesContent":["export * from \"./Button.js\";\nexport * from \"./CaptionLabel.js\";\nexport * from \"./Chevron.js\";\nexport * from \"./Day.js\";\nexport * from \"./DayButton.js\";\nexport * from \"./Dropdown.js\";\nexport * from \"./DropdownNav.js\";\nexport * from \"./Footer.js\";\nexport * from \"./Month.js\";\nexport * from \"./MonthCaption.js\";\nexport * from \"./MonthGrid.js\";\nexport * from \"./Months.js\";\nexport * from \"./MonthsDropdown.js\";\nexport * from \"./Nav.js\";\nexport * from \"./NextMonthButton.js\";\nexport * from \"./Option.js\";\nexport * from \"./PreviousMonthButton.js\";\nexport * from \"./Root.js\";\nexport * from \"./Select.js\";\nexport * from \"./Week.js\";\nexport * from \"./Weekday.js\";\nexport * from \"./Weekdays.js\";\nexport * from \"./WeekNumber.js\";\nexport * from \"./WeekNumberHeader.js\";\nexport * from \"./Weeks.js\";\nexport * from \"./YearsDropdown.js\";\n"],"x_google_ignoreList":[0],"mappings":""}
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]}
package/dist/index128.js CHANGED
@@ -1,10 +1,9 @@
1
- import { defaultDateLib as e } from "./index95.js";
2
- //#region ../../node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js
3
- function t(t, n, r = !1, i = e) {
4
- let { from: a, to: o } = t, { differenceInCalendarDays: s, isSameDay: c } = i;
5
- return a && o ? (s(o, a) < 0 && ([a, o] = [o, a]), s(n, a) >= (r ? 1 : 0) && s(o, n) >= (r ? 1 : 0)) : !r && o ? c(o, n) : !r && a ? c(a, n) : !1;
1
+ import r from "react";
2
+ function c(e) {
3
+ const { week: o, ...t } = e;
4
+ return r.createElement("tr", { ...t });
6
5
  }
7
- //#endregion
8
- export { t as rangeIncludesDate };
9
-
10
- //# sourceMappingURL=index128.js.map
6
+ export {
7
+ c as Week
8
+ };
9
+ //# sourceMappingURL=index128.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index128.js","names":[],"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"],"x_google_ignoreList":[0],"mappings":";;AAYA,SAAgB,EAAkB,GAAO,GAAM,IAAc,IAAO,IAAU,GAAgB;CAC1F,IAAI,EAAE,SAAM,UAAO,GACb,EAAE,6BAA0B,iBAAc;AAgBhD,QAfI,KAAQ,KACgB,EAAyB,GAAI,EAAK,GAAG,MAEzD,CAAC,GAAM,KAAM,CAAC,GAAI,EAAK,GAET,EAAyB,GAAM,EAAK,KAAK,IAAc,IAAI,MACzE,EAAyB,GAAI,EAAK,KAAK,IAAc,IAAI,MAG7D,CAAC,KAAe,IACT,EAAU,GAAI,EAAK,GAE1B,CAAC,KAAe,IACT,EAAU,GAAM,EAAK,GAEzB"}
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]}
package/dist/index129.js CHANGED
@@ -1,23 +1,8 @@
1
- //#region ../../node_modules/react-day-picker/dist/esm/utils/typeguards.js
2
- function e(e) {
3
- return !!(e && typeof e == "object" && "before" in e && "after" in e);
4
- }
5
- function t(e) {
6
- return !!(e && typeof e == "object" && "from" in e);
7
- }
8
- function n(e) {
9
- return !!(e && typeof e == "object" && "after" in e);
10
- }
11
- function r(e) {
12
- return !!(e && typeof e == "object" && "before" in e);
13
- }
14
- function i(e) {
15
- return !!(e && typeof e == "object" && "dayOfWeek" in e);
16
- }
17
- function a(e, t) {
18
- return Array.isArray(e) && e.every(t.isDate);
19
- }
20
- //#endregion
21
- export { n as isDateAfterType, r as isDateBeforeType, e as isDateInterval, t as isDateRange, a as isDatesArray, i as isDayOfWeekType };
22
-
23
- //# sourceMappingURL=index129.js.map
1
+ import t from "react";
2
+ function a(e) {
3
+ return t.createElement("th", { ...e });
4
+ }
5
+ export {
6
+ a as Weekday
7
+ };
8
+ //# sourceMappingURL=index129.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index129.js","names":[],"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"],"x_google_ignoreList":[0],"mappings":";AAOA,SAAgB,EAAe,GAAS;AACpC,QAAO,GAAQ,KACX,OAAO,KAAY,YACnB,YAAY,KACZ,WAAW;;AASnB,SAAgB,EAAY,GAAO;AAC/B,QAAO,GAAQ,KAAS,OAAO,KAAU,YAAY,UAAU;;AASnE,SAAgB,EAAgB,GAAO;AACnC,QAAO,GAAQ,KAAS,OAAO,KAAU,YAAY,WAAW;;AASpE,SAAgB,EAAiB,GAAO;AACpC,QAAO,GAAQ,KAAS,OAAO,KAAU,YAAY,YAAY;;AASrE,SAAgB,EAAgB,GAAO;AACnC,QAAO,GAAQ,KAAS,OAAO,KAAU,YAAY,eAAe;;AAUxE,SAAgB,EAAa,GAAO,GAAS;AACzC,QAAO,MAAM,QAAQ,EAAM,IAAI,EAAM,MAAM,EAAQ,OAAO"}
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]}
package/dist/index13.js CHANGED
@@ -1,22 +1,24 @@
1
- import { cn as e } from "./index12.js";
2
- import { c as t } from "react/compiler-runtime";
3
- import "react";
4
- import { jsx as n } from "react/jsx-runtime";
5
- //#region src/components/Input/index.tsx
6
- function r(r) {
7
- let i = t(10), a, o, s;
8
- i[0] === r ? (a = i[1], o = i[2], s = i[3]) : ({className: a, type: s, ...o} = r, i[0] = r, i[1] = a, i[2] = o, i[3] = s);
9
- let c;
10
- i[4] === a ? c = i[5] : (c = e("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", a), i[4] = a, i[5] = c);
11
- let l;
12
- return i[6] !== o || i[7] !== c || i[8] !== s ? (l = /* @__PURE__ */ n("input", {
13
- type: s,
14
- className: c,
15
- ...o
16
- }), i[6] = o, i[7] = c, i[8] = s, i[9] = l) : l = i[9], l;
1
+ import { j as f } from "./index30.js";
2
+ import { c as g } from "./index28.js";
3
+ import { FilesUploadField as v } from "./index8.js";
4
+ function j(m) {
5
+ const e = g.c(16);
6
+ let i, o, t, a, l, r;
7
+ e[0] !== m ? ({
8
+ initialImages: t,
9
+ onChange: i,
10
+ accept: a,
11
+ addButtonAriaLabel: l,
12
+ removeButtonAriaLabel: r,
13
+ ...o
14
+ } = m, e[0] = m, e[1] = i, e[2] = o, e[3] = t, e[4] = a, e[5] = l, e[6] = r) : (i = e[1], o = e[2], t = e[3], a = e[4], l = e[5], r = e[6]);
15
+ let n;
16
+ e[7] !== t ? (n = t === void 0 ? [] : t, e[7] = t, e[8] = n) : n = e[8];
17
+ const p = n, c = a === void 0 ? "image/*" : a, d = l === void 0 ? "Ajouter une image" : l, u = r === void 0 ? "Supprimer l'image" : r;
18
+ let s;
19
+ return e[9] !== c || e[10] !== d || e[11] !== p || e[12] !== i || e[13] !== o || e[14] !== u ? (s = /* @__PURE__ */ f.jsx(v, { initialFiles: p, onChange: i, accept: c, addButtonAriaLabel: d, removeButtonAriaLabel: u, ...o }), e[9] = c, e[10] = d, e[11] = p, e[12] = i, e[13] = o, e[14] = u, e[15] = s) : s = e[15], s;
17
20
  }
18
- r.displayName = "Input";
19
- //#endregion
20
- export { r as Input };
21
-
22
- //# sourceMappingURL=index13.js.map
21
+ export {
22
+ j as ImagesField
23
+ };
24
+ //# sourceMappingURL=index13.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index13.js","names":["React","cn","InputProps","ComponentProps","Input","props","$","_c","className","rest","type","t0","t1","displayName"],"sources":["../src/components/Input/index.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\n\ntype InputProps = React.ComponentProps<\"input\">\n\nexport function Input(props: InputProps) {\n const { className, type, ...rest } = props\n return (\n <input\n type={type}\n className={cn(\n \"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm\",\n className\n )}\n {...rest}\n />\n )\n}\n\nInput.displayName = \"Input\"\n"],"mappings":";;;;;AAOA,SAAOI,EAAAC,GAAA;CAAA,IAAAC,IAAAC,EAAA,GAAA,EAAAC,GAAAC,GAAAC;AAAA,CAAAJ,EAAA,OAAAD,KACqCG,IAAAF,EAAA,IAAAG,IAAAH,EAAA,IAAAI,IAAAJ,EAAA,OAA1C,2BAAAG,KAAqCJ,GAAKC,EAAA,KAAAD,GAAAC,EAAA,KAAAE,GAAAF,EAAA,KAAAG,GAAAH,EAAA,KAAAI;CAAA,IAAAC;AAAA,CAAAL,EAAA,OAAAE,IAOrCG,IAAAL,EAAA,MAHUK,IAAAV,EACT,kYACAO,EACD,EAAAF,EAAA,KAAAE,GAAAF,EAAA,KAAAK;CAAA,IAAAC;AAED,QAFCN,EAAA,OAAAG,KAAAH,EAAA,OAAAK,KAAAL,EAAA,OAAAI,KALHE,IAAA,kBAAA,SAAA;EACQF;EACK,WAAAC;EAGV,GACGF;EACJ,CAAA,EAAAH,EAAA,KAAAG,GAAAH,EAAA,KAAAK,GAAAL,EAAA,KAAAI,GAAAJ,EAAA,KAAAM,KAAAA,IAAAN,EAAA,IAPFM;;AAWJR,EAAMS,cAAc"}
1
+ {"version":3,"file":"index13.js","sources":["../src/components/ImagesField/index.tsx"],"sourcesContent":["import type { FilesUploadFieldFile, FilesUploadFieldProps } from \"../FilesUploadField\"\nimport { FilesUploadField } from \"../FilesUploadField\"\n\n\nexport type ImagesFieldImage = FilesUploadFieldFile\n\nexport type ImagesFieldProps = Omit<FilesUploadFieldProps, \"initialFiles\" | \"onChange\"> & {\n initialImages?: ImagesFieldImage[]\n onChange?: (images: ImagesFieldImage[]) => void\n}\n\nexport function ImagesField({\n initialImages = [],\n onChange,\n accept = \"image/*\",\n addButtonAriaLabel = \"Ajouter une image\",\n removeButtonAriaLabel = \"Supprimer l'image\",\n ...props\n}: ImagesFieldProps) {\n return (\n <FilesUploadField\n initialFiles={initialImages}\n onChange={onChange}\n accept={accept}\n addButtonAriaLabel={addButtonAriaLabel}\n removeButtonAriaLabel={removeButtonAriaLabel}\n {...props}\n />\n )\n}\n"],"names":["ImagesField","t0","$","_c","onChange","props","t1","t2","t3","t4","initialImages","accept","addButtonAriaLabel","removeButtonAriaLabel","t5","undefined","t6","jsx","FilesUploadField"],"mappings":";;;AAWO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,EAAA;AAAA,MAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC;AAAA,EAAAP,SAAAD,KAAqB;AAAA,IAAAS,eAAAJ;AAAAA,IAAAF,UAAAA;AAAAA,IAAAO,QAAAJ;AAAAA,IAAAK,oBAAAJ;AAAAA,IAAAK,uBAAAJ;AAAAA,IAAA,GAAAJ;AAAAA,EAAAA,IAAAJ,GAOTC,OAAAD,GAAAC,OAAAE,GAAAF,OAAAG,GAAAH,OAAAI,GAAAJ,OAAAK,GAAAL,OAAAM,GAAAN,OAAAO,MAAAL,IAAAF,EAAA,CAAA,GAAAG,IAAAH,EAAA,CAAA,GAAAI,IAAAJ,EAAA,CAAA,GAAAK,IAAAL,EAAA,CAAA,GAAAM,IAAAN,EAAA,CAAA,GAAAO,IAAAP,EAAA,CAAA;AAAA,MAAAY;AAAA,EAAAZ,SAAAI,KANjBQ,IAAAR,MAAAS,SAAA,CAAA,IAAAT,GAAkBJ,OAAAI,GAAAJ,OAAAY,KAAAA,IAAAZ,EAAA,CAAA;AAAlB,QAAAQ,IAAAI,GAEAH,IAAAJ,MAAAQ,SAAA,YAAAR,GACAK,IAAAJ,MAAAO,SAAA,sBAAAP,GACAK,IAAAJ,MAAAM,SAAA,sBAAAN;AAA2C,MAAAO;AAAA,SAAAd,SAAAS,KAAAT,EAAA,EAAA,MAAAU,KAAAV,EAAA,EAAA,MAAAQ,KAAAR,EAAA,EAAA,MAAAE,KAAAF,UAAAG,KAAAH,EAAA,EAAA,MAAAW,KAIzCG,IAAAC,gBAAAA,EAAAA,IAACC,KACeR,cAAAA,GACJN,UAAAA,GACFO,QAAAA,GACYC,oBAAAA,GACGC,uBAAAA,GAAqB,GACxCR,EAAAA,CAAK,GACTH,OAAAS,GAAAT,QAAAU,GAAAV,QAAAQ,GAAAR,QAAAE,GAAAF,QAAAG,GAAAH,QAAAW,GAAAX,QAAAc,KAAAA,IAAAd,EAAA,EAAA,GAPFc;AAOE;"}
package/dist/index130.js CHANGED
@@ -1,23 +1,12 @@
1
- import { defaultDateLib as e } from "./index95.js";
2
- import { rangeIncludesDate as t } from "./index128.js";
3
- import { isDateAfterType as n, isDateBeforeType as r, isDateInterval as i, isDateRange as a, isDatesArray as o, isDayOfWeekType as s } from "./index129.js";
4
- //#region ../../node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js
5
- function c(c, l, u = e) {
6
- let d = Array.isArray(l) ? l : [l], { isSameDay: f, differenceInCalendarDays: p, isAfter: m } = u;
7
- return d.some((e) => {
8
- if (typeof e == "boolean") return e;
9
- if (u.isDate(e)) return f(c, e);
10
- if (o(e, u)) return e.some((e) => f(c, e));
11
- if (a(e)) return t(e, c, !1, u);
12
- if (s(e)) return Array.isArray(e.dayOfWeek) ? e.dayOfWeek.includes(c.getDay()) : e.dayOfWeek === c.getDay();
13
- if (i(e)) {
14
- let t = p(e.before, c), n = p(e.after, c), r = t > 0, i = n < 0;
15
- return m(e.before, e.after) ? i && r : r || i;
16
- }
17
- return n(e) ? p(c, e.after) > 0 : r(e) ? p(e.before, c) > 0 : typeof e == "function" ? e(c) : !1;
18
- });
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
+ );
19
8
  }
20
- //#endregion
21
- export { c as dateMatchModifiers };
22
-
23
- //# sourceMappingURL=index130.js.map
9
+ export {
10
+ a as Weekdays
11
+ };
12
+ //# sourceMappingURL=index130.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index130.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\nimport { rangeIncludesDate } from \"./rangeIncludesDate.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, isDatesArray, isDayOfWeekType, } from \"./typeguards.js\";\n/**\n * Checks if a given date matches at least one of the specified {@link Matcher}.\n *\n * @param date - The date to check.\n * @param matchers - The matchers to check against.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the date matches any of the matchers, otherwise `false`.\n * @group Utilities\n */\nexport function dateMatchModifiers(date, matchers, dateLib = defaultDateLib) {\n const matchersArr = !Array.isArray(matchers) ? [matchers] : matchers;\n const { isSameDay, differenceInCalendarDays, isAfter } = dateLib;\n return matchersArr.some((matcher) => {\n if (typeof matcher === \"boolean\") {\n return matcher;\n }\n if (dateLib.isDate(matcher)) {\n return isSameDay(date, matcher);\n }\n if (isDatesArray(matcher, dateLib)) {\n return matcher.some((matcherDate) => isSameDay(date, matcherDate));\n }\n if (isDateRange(matcher)) {\n return rangeIncludesDate(matcher, date, false, dateLib);\n }\n if (isDayOfWeekType(matcher)) {\n if (!Array.isArray(matcher.dayOfWeek)) {\n return matcher.dayOfWeek === date.getDay();\n }\n return matcher.dayOfWeek.includes(date.getDay());\n }\n if (isDateInterval(matcher)) {\n const diffBefore = differenceInCalendarDays(matcher.before, date);\n const diffAfter = differenceInCalendarDays(matcher.after, date);\n const isDayBefore = diffBefore > 0;\n const isDayAfter = diffAfter < 0;\n const isClosedInterval = isAfter(matcher.before, matcher.after);\n if (isClosedInterval) {\n return isDayAfter && isDayBefore;\n }\n else {\n return isDayBefore || isDayAfter;\n }\n }\n if (isDateAfterType(matcher)) {\n return differenceInCalendarDays(date, matcher.after) > 0;\n }\n if (isDateBeforeType(matcher)) {\n return differenceInCalendarDays(matcher.before, date) > 0;\n }\n if (typeof matcher === \"function\") {\n return matcher(date);\n }\n return false;\n });\n}\n/**\n * @private\n * @deprecated Use {@link dateMatchModifiers} instead.\n */\nexport const isMatch = dateMatchModifiers;\n"],"x_google_ignoreList":[0],"mappings":";;;;AAYA,SAAgB,EAAmB,GAAM,GAAU,IAAU,GAAgB;CACzE,IAAM,IAAe,MAAM,QAAQ,EAAS,GAAgB,IAAb,CAAC,EAAS,EACnD,EAAE,cAAW,6BAA0B,eAAY;AACzD,QAAO,EAAY,MAAM,MAAY;AACjC,MAAI,OAAO,KAAY,UACnB,QAAO;AAEX,MAAI,EAAQ,OAAO,EAAQ,CACvB,QAAO,EAAU,GAAM,EAAQ;AAEnC,MAAI,EAAa,GAAS,EAAQ,CAC9B,QAAO,EAAQ,MAAM,MAAgB,EAAU,GAAM,EAAY,CAAC;AAEtE,MAAI,EAAY,EAAQ,CACpB,QAAO,EAAkB,GAAS,GAAM,IAAO,EAAQ;AAE3D,MAAI,EAAgB,EAAQ,CAIxB,QAHK,MAAM,QAAQ,EAAQ,UAAU,GAG9B,EAAQ,UAAU,SAAS,EAAK,QAAQ,CAAC,GAFrC,EAAQ,cAAc,EAAK,QAAQ;AAIlD,MAAI,EAAe,EAAQ,EAAE;GACzB,IAAM,IAAa,EAAyB,EAAQ,QAAQ,EAAK,EAC3D,IAAY,EAAyB,EAAQ,OAAO,EAAK,EACzD,IAAc,IAAa,GAC3B,IAAa,IAAY;AAM3B,UALqB,EAAQ,EAAQ,QAAQ,EAAQ,MAAM,GAEpD,KAAc,IAGd,KAAe;;AAY9B,SATI,EAAgB,EAAQ,GACjB,EAAyB,GAAM,EAAQ,MAAM,GAAG,IAEvD,EAAiB,EAAQ,GAClB,EAAyB,EAAQ,QAAQ,EAAK,GAAG,IAExD,OAAO,KAAY,aACZ,EAAQ,EAAK,GAEjB;GACT"}
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]}
package/dist/index131.js CHANGED
@@ -1,38 +1,9 @@
1
- import { DayFlag as e } from "./index104.js";
2
- import { dateMatchModifiers as t } from "./index130.js";
3
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js
4
- function n(n, r, i, a, o) {
5
- let { disabled: s, hidden: c, modifiers: l, showOutsideDays: u, broadcastCalendar: d, today: f = o.today() } = r, { isSameDay: p, isSameMonth: m, startOfMonth: h, isBefore: g, endOfMonth: _, isAfter: v } = o, y = i && h(i), b = a && _(a), x = {
6
- [e.focused]: [],
7
- [e.outside]: [],
8
- [e.disabled]: [],
9
- [e.hidden]: [],
10
- [e.today]: []
11
- }, S = {};
12
- for (let e of n) {
13
- let { date: n, displayMonth: r } = e, i = !!(r && !m(n, r)), a = !!(y && g(n, y)), h = !!(b && v(n, b)), _ = !!(s && t(n, s, o)), C = !!(c && t(n, c, o)) || a || h || !d && !u && i || d && u === !1 && i, w = p(n, f);
14
- i && x.outside.push(e), _ && x.disabled.push(e), C && x.hidden.push(e), w && x.today.push(e), l && Object.keys(l).forEach((r) => {
15
- let i = l?.[r];
16
- i && t(n, i, o) && (S[r] ? S[r].push(e) : S[r] = [e]);
17
- });
18
- }
19
- return (t) => {
20
- let n = {
21
- [e.focused]: !1,
22
- [e.disabled]: !1,
23
- [e.hidden]: !1,
24
- [e.outside]: !1,
25
- [e.today]: !1
26
- }, r = {};
27
- for (let e in x) n[e] = x[e].some((e) => e === t);
28
- for (let e in S) r[e] = S[e].some((e) => e === t);
29
- return {
30
- ...n,
31
- ...r
32
- };
33
- };
1
+ import r from "react";
2
+ function c(e) {
3
+ const { week: o, ...t } = e;
4
+ return r.createElement("th", { ...t });
34
5
  }
35
- //#endregion
36
- export { n as createGetModifiers };
37
-
38
- //# sourceMappingURL=index131.js.map
6
+ export {
7
+ c as WeekNumber
8
+ };
9
+ //# sourceMappingURL=index131.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index131.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js"],"sourcesContent":["import { DayFlag } from \"../UI.js\";\nimport { dateMatchModifiers } from \"../utils/dateMatchModifiers.js\";\n/**\n * Creates a function to retrieve the modifiers for a given day.\n *\n * This function calculates both internal and custom modifiers for each day\n * based on the provided calendar days and DayPicker props.\n *\n * @private\n * @param days The array of `CalendarDay` objects to process.\n * @param props The DayPicker props, including modifiers and configuration\n * options.\n * @param dateLib The date library to use for date manipulation.\n * @returns A function that retrieves the modifiers for a given `CalendarDay`.\n */\nexport function createGetModifiers(days, props, navStart, navEnd, dateLib) {\n const { disabled, hidden, modifiers, showOutsideDays, broadcastCalendar, today = dateLib.today(), } = props;\n const { isSameDay, isSameMonth, startOfMonth, isBefore, endOfMonth, isAfter, } = dateLib;\n const computedNavStart = navStart && startOfMonth(navStart);\n const computedNavEnd = navEnd && endOfMonth(navEnd);\n const internalModifiersMap = {\n [DayFlag.focused]: [],\n [DayFlag.outside]: [],\n [DayFlag.disabled]: [],\n [DayFlag.hidden]: [],\n [DayFlag.today]: [],\n };\n const customModifiersMap = {};\n for (const day of days) {\n const { date, displayMonth } = day;\n const isOutside = Boolean(displayMonth && !isSameMonth(date, displayMonth));\n const isBeforeNavStart = Boolean(computedNavStart && isBefore(date, computedNavStart));\n const isAfterNavEnd = Boolean(computedNavEnd && isAfter(date, computedNavEnd));\n const isDisabled = Boolean(disabled && dateMatchModifiers(date, disabled, dateLib));\n const isHidden = Boolean(hidden && dateMatchModifiers(date, hidden, dateLib)) ||\n isBeforeNavStart ||\n isAfterNavEnd ||\n // Broadcast calendar will show outside days as default\n (!broadcastCalendar && !showOutsideDays && isOutside) ||\n (broadcastCalendar && showOutsideDays === false && isOutside);\n const isToday = isSameDay(date, today);\n if (isOutside)\n internalModifiersMap.outside.push(day);\n if (isDisabled)\n internalModifiersMap.disabled.push(day);\n if (isHidden)\n internalModifiersMap.hidden.push(day);\n if (isToday)\n internalModifiersMap.today.push(day);\n // Add custom modifiers\n if (modifiers) {\n Object.keys(modifiers).forEach((name) => {\n const modifierValue = modifiers?.[name];\n const isMatch = modifierValue\n ? dateMatchModifiers(date, modifierValue, dateLib)\n : false;\n if (!isMatch)\n return;\n if (customModifiersMap[name]) {\n customModifiersMap[name].push(day);\n }\n else {\n customModifiersMap[name] = [day];\n }\n });\n }\n }\n return (day) => {\n // Initialize all the modifiers to false\n const dayFlags = {\n [DayFlag.focused]: false,\n [DayFlag.disabled]: false,\n [DayFlag.hidden]: false,\n [DayFlag.outside]: false,\n [DayFlag.today]: false,\n };\n const customModifiers = {};\n // Find the modifiers for the given day\n for (const name in internalModifiersMap) {\n const days = internalModifiersMap[name];\n dayFlags[name] = days.some((d) => d === day);\n }\n for (const name in customModifiersMap) {\n customModifiers[name] = customModifiersMap[name].some((d) => d === day);\n }\n return {\n ...dayFlags,\n // custom modifiers should override all the previous ones\n ...customModifiers,\n };\n };\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAeA,SAAgB,EAAmB,GAAM,GAAO,GAAU,GAAQ,GAAS;CACvE,IAAM,EAAE,aAAU,WAAQ,cAAW,oBAAiB,sBAAmB,WAAQ,EAAQ,OAAO,KAAM,GAChG,EAAE,cAAW,gBAAa,iBAAc,aAAU,eAAY,eAAa,GAC3E,IAAmB,KAAY,EAAa,EAAS,EACrD,IAAiB,KAAU,EAAW,EAAO,EAC7C,IAAuB;GACxB,EAAQ,UAAU,EAAE;GACpB,EAAQ,UAAU,EAAE;GACpB,EAAQ,WAAW,EAAE;GACrB,EAAQ,SAAS,EAAE;GACnB,EAAQ,QAAQ,EAAE;EACtB,EACK,IAAqB,EAAE;AAC7B,MAAK,IAAM,KAAO,GAAM;EACpB,IAAM,EAAE,SAAM,oBAAiB,GACzB,IAAY,GAAQ,KAAgB,CAAC,EAAY,GAAM,EAAa,GACpE,IAAmB,GAAQ,KAAoB,EAAS,GAAM,EAAiB,GAC/E,IAAgB,GAAQ,KAAkB,EAAQ,GAAM,EAAe,GACvE,IAAa,GAAQ,KAAY,EAAmB,GAAM,GAAU,EAAQ,GAC5E,IAAW,GAAQ,KAAU,EAAmB,GAAM,GAAQ,EAAQ,KACxE,KACA,KAEC,CAAC,KAAqB,CAAC,KAAmB,KAC1C,KAAqB,MAAoB,MAAS,GACjD,IAAU,EAAU,GAAM,EAAM;AAUtC,EATI,KACA,EAAqB,QAAQ,KAAK,EAAI,EACtC,KACA,EAAqB,SAAS,KAAK,EAAI,EACvC,KACA,EAAqB,OAAO,KAAK,EAAI,EACrC,KACA,EAAqB,MAAM,KAAK,EAAI,EAEpC,KACA,OAAO,KAAK,EAAU,CAAC,SAAS,MAAS;GACrC,IAAM,IAAgB,IAAY;AAClB,QACV,EAAmB,GAAM,GAAe,EAAQ,KAIlD,EAAmB,KACnB,EAAmB,GAAM,KAAK,EAAI,GAGlC,EAAmB,KAAQ,CAAC,EAAI;IAEtC;;AAGV,SAAQ,MAAQ;EAEZ,IAAM,IAAW;IACZ,EAAQ,UAAU;IAClB,EAAQ,WAAW;IACnB,EAAQ,SAAS;IACjB,EAAQ,UAAU;IAClB,EAAQ,QAAQ;GACpB,EACK,IAAkB,EAAE;AAE1B,OAAK,IAAM,KAAQ,EAEf,GAAS,KADI,EAAqB,GACZ,MAAM,MAAM,MAAM,EAAI;AAEhD,OAAK,IAAM,KAAQ,EACf,GAAgB,KAAQ,EAAmB,GAAM,MAAM,MAAM,MAAM,EAAI;AAE3E,SAAO;GACH,GAAG;GAEH,GAAG;GACN"}
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]}
package/dist/index132.js CHANGED
@@ -1,9 +1,8 @@
1
- import { DayFlag as e, SelectionState as t, UI as n } from "./index104.js";
2
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js
3
- function r(r, i, a = {}) {
4
- return Object.entries(r).filter(([, e]) => e === !0).reduce((n, [r]) => (a[r] ? n.push(a[r]) : i[e[r]] ? n.push(i[e[r]]) : i[t[r]] && n.push(i[t[r]]), n), [i[n.Day]]);
1
+ import t from "react";
2
+ function a(e) {
3
+ return t.createElement("th", { ...e });
5
4
  }
6
- //#endregion
7
- export { r as getClassNamesForModifiers };
8
-
9
- //# sourceMappingURL=index132.js.map
5
+ export {
6
+ a as WeekNumberHeader
7
+ };
8
+ //# sourceMappingURL=index132.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index132.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js"],"sourcesContent":["import { DayFlag, SelectionState, UI } from \"../UI.js\";\n/**\n * Returns the class names for a day based on its modifiers.\n *\n * This function combines the base class name for the day with any class names\n * associated with active modifiers.\n *\n * @param modifiers The modifiers applied to the day.\n * @param classNames The base class names for the calendar elements.\n * @param modifiersClassNames The class names associated with specific\n * modifiers.\n * @returns An array of class names for the day.\n */\nexport function getClassNamesForModifiers(modifiers, classNames, modifiersClassNames = {}) {\n const modifierClassNames = Object.entries(modifiers)\n .filter(([, active]) => active === true)\n .reduce((previousValue, [key]) => {\n if (modifiersClassNames[key]) {\n previousValue.push(modifiersClassNames[key]);\n }\n else if (classNames[DayFlag[key]]) {\n previousValue.push(classNames[DayFlag[key]]);\n }\n else if (classNames[SelectionState[key]]) {\n previousValue.push(classNames[SelectionState[key]]);\n }\n return previousValue;\n }, [classNames[UI.Day]]);\n return modifierClassNames;\n}\n"],"x_google_ignoreList":[0],"mappings":";;AAaA,SAAgB,EAA0B,GAAW,GAAY,IAAsB,EAAE,EAAE;AAevF,QAd2B,OAAO,QAAQ,EAAU,CAC/C,QAAQ,GAAG,OAAY,MAAW,GAAK,CACvC,QAAQ,GAAe,CAAC,QACrB,EAAoB,KACpB,EAAc,KAAK,EAAoB,GAAK,GAEvC,EAAW,EAAQ,MACxB,EAAc,KAAK,EAAW,EAAQ,IAAM,GAEvC,EAAW,EAAe,OAC/B,EAAc,KAAK,EAAW,EAAe,IAAM,EAEhD,IACR,CAAC,EAAW,EAAG,KAAK,CAAC"}
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]}
package/dist/index133.js CHANGED
@@ -1,12 +1,8 @@
1
- import { custom_components_exports as e } from "./index127.js";
2
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getComponents.js
3
- function t(t) {
4
- return {
5
- ...e,
6
- ...t
7
- };
1
+ import t from "react";
2
+ function o(e) {
3
+ return t.createElement("tbody", { ...e });
8
4
  }
9
- //#endregion
10
- export { t as getComponents };
11
-
12
- //# sourceMappingURL=index133.js.map
5
+ export {
6
+ o as Weeks
7
+ };
8
+ //# sourceMappingURL=index133.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index133.js","names":["components"],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getComponents.js"],"sourcesContent":["import * as components from \"../components/custom-components.js\";\n/**\n * Merges custom components from the props with the default components.\n *\n * This function ensures that any custom components provided in the props\n * override the default components.\n *\n * @param customComponents The custom components provided in the DayPicker\n * props.\n * @returns An object containing the merged components.\n */\nexport function getComponents(customComponents) {\n return {\n ...components,\n ...customComponents,\n };\n}\n"],"x_google_ignoreList":[0],"mappings":";;AAWA,SAAgB,EAAc,GAAkB;AAC5C,QAAO;EACH,GAAGA;EACH,GAAG;EACN"}
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]}
package/dist/index134.js CHANGED
@@ -1,18 +1,10 @@
1
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js
2
- function e(e) {
3
- let t = {
4
- "data-mode": e.mode ?? void 0,
5
- "data-required": "required" in e ? e.required : void 0,
6
- "data-multiple-months": e.numberOfMonths && e.numberOfMonths > 1 || void 0,
7
- "data-week-numbers": e.showWeekNumber || void 0,
8
- "data-broadcast-calendar": e.broadcastCalendar || void 0,
9
- "data-nav-layout": e.navLayout || void 0
10
- };
11
- return Object.entries(e).forEach(([e, n]) => {
12
- e.startsWith("data-") && (t[e] = n);
13
- }), t;
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 });
14
6
  }
15
- //#endregion
16
- export { e as getDataAttributes };
17
-
18
- //# sourceMappingURL=index134.js.map
7
+ export {
8
+ m as YearsDropdown
9
+ };
10
+ //# sourceMappingURL=index134.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index134.js","names":[],"sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js"],"sourcesContent":["/**\n * Extracts `data-` attributes from the DayPicker props.\n *\n * This function collects all `data-` attributes from the props and adds\n * additional attributes based on the DayPicker configuration.\n *\n * @param props The DayPicker props.\n * @returns An object containing the `data-` attributes.\n */\nexport function getDataAttributes(props) {\n const dataAttributes = {\n \"data-mode\": props.mode ?? undefined,\n \"data-required\": \"required\" in props ? props.required : undefined,\n \"data-multiple-months\": (props.numberOfMonths && props.numberOfMonths > 1) || undefined,\n \"data-week-numbers\": props.showWeekNumber || undefined,\n \"data-broadcast-calendar\": props.broadcastCalendar || undefined,\n \"data-nav-layout\": props.navLayout || undefined,\n };\n Object.entries(props).forEach(([key, val]) => {\n if (key.startsWith(\"data-\")) {\n dataAttributes[key] = val;\n }\n });\n return dataAttributes;\n}\n"],"x_google_ignoreList":[0],"mappings":";AASA,SAAgB,EAAkB,GAAO;CACrC,IAAM,IAAiB;EACnB,aAAa,EAAM,QAAQ,KAAA;EAC3B,iBAAiB,cAAc,IAAQ,EAAM,WAAW,KAAA;EACxD,wBAAyB,EAAM,kBAAkB,EAAM,iBAAiB,KAAM,KAAA;EAC9E,qBAAqB,EAAM,kBAAkB,KAAA;EAC7C,2BAA2B,EAAM,qBAAqB,KAAA;EACtD,mBAAmB,EAAM,aAAa,KAAA;EACzC;AAMD,QALA,OAAO,QAAQ,EAAM,CAAC,SAAS,CAAC,GAAK,OAAS;AAC1C,EAAI,EAAI,WAAW,QAAQ,KACvB,EAAe,KAAO;GAE5B,EACK"}
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]}
package/dist/index135.js CHANGED
@@ -1,14 +1,149 @@
1
- import { Animation as e, DayFlag as t, SelectionState as n, UI as r } from "./index104.js";
2
- //#region ../../node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js
3
- function i() {
4
- let i = {};
5
- for (let e in r) i[r[e]] = `rdp-${r[e]}`;
6
- for (let e in t) i[t[e]] = `rdp-${t[e]}`;
7
- for (let e in n) i[n[e]] = `rdp-${n[e]}`;
8
- for (let t in e) i[e[t]] = `rdp-${e[t]}`;
9
- return i;
1
+ import { TZDate as a } from "./index210.js";
2
+ import "./index212.js";
3
+ import { endOfBroadcastWeek as f } from "./index217.js";
4
+ import { startOfBroadcastWeek as d } from "./index218.js";
5
+ import { enUS as m } from "./index158.js";
6
+ import { addDays as v } from "./index219.js";
7
+ import { addMonths as p } from "./index220.js";
8
+ import { addWeeks as O } from "./index221.js";
9
+ import { addYears as c } from "./index222.js";
10
+ import { differenceInCalendarDays as u } from "./index223.js";
11
+ import { differenceInCalendarMonths as l } from "./index224.js";
12
+ import { eachMonthOfInterval as M } from "./index225.js";
13
+ import { eachYearOfInterval as k } from "./index226.js";
14
+ import { endOfISOWeek as W } from "./index227.js";
15
+ import { endOfMonth as D } from "./index228.js";
16
+ import { endOfWeek as Y } from "./index229.js";
17
+ import { endOfYear as S } from "./index230.js";
18
+ import { format as y } from "./index231.js";
19
+ import { getISOWeek as g } from "./index232.js";
20
+ import { getMonth as I } from "./index233.js";
21
+ import { getYear as w } from "./index234.js";
22
+ import { getWeek as B } from "./index235.js";
23
+ import { isAfter as L } from "./index236.js";
24
+ import { isBefore as C } from "./index237.js";
25
+ import { isDate as z } from "./index238.js";
26
+ import { isSameDay as Z } from "./index239.js";
27
+ import { isSameMonth as b } from "./index240.js";
28
+ import { isSameYear as A } from "./index241.js";
29
+ import { max as F } from "./index242.js";
30
+ import { min as N } from "./index243.js";
31
+ import { setMonth as _ } from "./index244.js";
32
+ import { setYear as j } from "./index245.js";
33
+ import { startOfDay as x } from "./index246.js";
34
+ import { startOfISOWeek as H } from "./index247.js";
35
+ import { startOfMonth as K } from "./index248.js";
36
+ import { startOfWeek as T } from "./index249.js";
37
+ import { startOfYear as U } from "./index250.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) : y(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) : g(r), this.getMonth = (r, e) => this.overrides?.getMonth ? this.overrides.getMonth(r, this.options) : I(r, this.options), this.getYear = (r, e) => this.overrides?.getYear ? this.overrides.getYear(r, this.options) : w(r, this.options), this.getWeek = (r, e) => this.overrides?.getWeek ? this.overrides.getWeek(r, this.options) : B(r, this.options), this.isAfter = (r, e) => this.overrides?.isAfter ? this.overrides.isAfter(r, e) : L(r, e), this.isBefore = (r, e) => this.overrides?.isBefore ? this.overrides.isBefore(r, e) : C(r, e), this.isDate = (r) => this.overrides?.isDate ? this.overrides.isDate(r) : z(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) : b(r, e), this.isSameYear = (r, e) => this.overrides?.isSameYear ? this.overrides.isSameYear(r, e) : A(r, e), this.max = (r) => this.overrides?.max ? this.overrides.max(r) : F(r), this.min = (r) => this.overrides?.min ? this.overrides.min(r) : N(r), this.setMonth = (r, e) => this.overrides?.setMonth ? this.overrides.setMonth(r, e) : _(r, e), this.setYear = (r, e) => this.overrides?.setYear ? this.overrides.setYear(r, e) : j(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) : x(r), this.startOfISOWeek = (r) => this.overrides?.startOfISOWeek ? this.overrides.startOfISOWeek(r) : H(r), this.startOfMonth = (r) => this.overrides?.startOfMonth ? this.overrides.startOfMonth(r) : K(r), this.startOfWeek = (r, e) => this.overrides?.startOfWeek ? this.overrides.startOfWeek(r, this.options) : T(r, this.options), this.startOfYear = (r) => this.overrides?.startOfYear ? this.overrides.startOfYear(r) : U(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
+ }
10
123
  }
11
- //#endregion
12
- export { i as getDefaultClassNames };
13
-
14
- //# sourceMappingURL=index135.js.map
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
+ export {
145
+ n as DateLib,
146
+ Br as defaultDateLib,
147
+ m as defaultLocale
148
+ };
149
+ //# sourceMappingURL=index135.js.map