@rpcbase/ui 0.210.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/index232.js CHANGED
@@ -1,13 +1,12 @@
1
- import { styleHookSingleton as e } from "./index231.js";
2
- //#region ../../node_modules/react-style-singleton/dist/es2015/component.js
3
- var t = function() {
4
- var t = e();
5
- return function(e) {
6
- var n = e.styles, r = e.dynamic;
7
- return t(n, r), null;
8
- };
1
+ import { millisecondsInWeek as f } from "./index289.js";
2
+ import { startOfISOWeek as i } from "./index247.js";
3
+ import { startOfISOWeekYear as m } from "./index300.js";
4
+ import { toDate as n } from "./index288.js";
5
+ function c(e, o) {
6
+ const t = n(e, o?.in), r = +i(t) - +m(t);
7
+ return Math.round(r / f) + 1;
8
+ }
9
+ export {
10
+ c as getISOWeek
9
11
  };
10
- //#endregion
11
- export { t as styleSingleton };
12
-
13
- //# sourceMappingURL=index232.js.map
12
+ //# sourceMappingURL=index232.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index232.js","names":[],"sources":["../../../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"x_google_ignoreList":[0],"mappings":";;AAOA,IAAW,IAAiB,WAAY;CACpC,IAAI,IAAW,GAAoB;AAMnC,QALY,SAAU,GAAI;EACtB,IAAI,IAAS,EAAG,QAAQ,IAAU,EAAG;AAErC,SADA,EAAS,GAAQ,EAAQ,EAClB"}
1
+ {"version":3,"file":"index232.js","sources":["../../../node_modules/date-fns/getISOWeek.js"],"sourcesContent":["import { millisecondsInWeek } from \"./constants.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { startOfISOWeekYear } from \"./startOfISOWeekYear.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getISOWeek} function options.\n */\n\n/**\n * @name getISOWeek\n * @category ISO Week Helpers\n * @summary Get the ISO week of the given date.\n *\n * @description\n * Get the ISO week of the given date.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param date - The given date\n * @param options - The options\n *\n * @returns The ISO week\n *\n * @example\n * // Which week of the ISO-week numbering year is 2 January 2005?\n * const result = getISOWeek(new Date(2005, 0, 2))\n * //=> 53\n */\nexport function getISOWeek(date, options) {\n const _date = toDate(date, options?.in);\n const diff = +startOfISOWeek(_date) - +startOfISOWeekYear(_date);\n\n // Round the number of weeks to the nearest integer because the number of\n // milliseconds in a week is not constant (e.g. it's different in the week of\n // the daylight saving time clock shift).\n return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// Fallback for modularized imports:\nexport default getISOWeek;\n"],"names":["getISOWeek","date","options","_date","toDate","diff","startOfISOWeek","startOfISOWeekYear","millisecondsInWeek"],"mappings":";;;;AA6BO,SAASA,EAAWC,GAAMC,GAAS;AACxC,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAO,CAACC,EAAeH,CAAK,IAAI,CAACI,EAAmBJ,CAAK;AAK/D,SAAO,KAAK,MAAME,IAAOG,CAAkB,IAAI;AACjD;","x_google_ignoreList":[0]}
package/dist/index233.js CHANGED
@@ -1,3 +1,8 @@
1
- import "./index230.js";
2
- import "./index231.js";
3
- import "./index232.js";
1
+ import { toDate as n } from "./index288.js";
2
+ function r(t, o) {
3
+ return n(t, o?.in).getMonth();
4
+ }
5
+ export {
6
+ r as getMonth
7
+ };
8
+ //# sourceMappingURL=index233.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index233.js","sources":["../../../node_modules/date-fns/getMonth.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getMonth} function options.\n */\n\n/**\n * @name getMonth\n * @category Month Helpers\n * @summary Get the month of the given date.\n *\n * @description\n * Get the month of the given date.\n *\n * @param date - The given date\n * @param options - An object with options\n *\n * @returns The month index (0-11)\n *\n * @example\n * // Which month is 29 February 2012?\n * const result = getMonth(new Date(2012, 1, 29))\n * //=> 1\n */\nexport function getMonth(date, options) {\n return toDate(date, options?.in).getMonth();\n}\n\n// Fallback for modularized imports:\nexport default getMonth;\n"],"names":["getMonth","date","options","toDate"],"mappings":";AAwBO,SAASA,EAASC,GAAMC,GAAS;AACtC,SAAOC,EAAOF,GAAMC,GAAS,EAAE,EAAE,SAAQ;AAC3C;","x_google_ignoreList":[0]}
package/dist/index234.js CHANGED
@@ -1,29 +1,8 @@
1
- //#region ../../node_modules/react-remove-scroll-bar/dist/es2015/utils.js
2
- var e = {
3
- left: 0,
4
- top: 0,
5
- right: 0,
6
- gap: 0
7
- }, t = function(e) {
8
- return parseInt(e || "", 10) || 0;
9
- }, n = function(e) {
10
- var n = window.getComputedStyle(document.body), r = n[e === "padding" ? "paddingLeft" : "marginLeft"], i = n[e === "padding" ? "paddingTop" : "marginTop"], a = n[e === "padding" ? "paddingRight" : "marginRight"];
11
- return [
12
- t(r),
13
- t(i),
14
- t(a)
15
- ];
16
- }, r = function(t) {
17
- if (t === void 0 && (t = "margin"), typeof window > "u") return e;
18
- var r = n(t), i = document.documentElement.clientWidth, a = window.innerWidth;
19
- return {
20
- left: r[0],
21
- top: r[1],
22
- right: r[2],
23
- gap: Math.max(0, a - i + r[2] - r[0])
24
- };
1
+ import { toDate as r } from "./index288.js";
2
+ function n(t, e) {
3
+ return r(t, e?.in).getFullYear();
4
+ }
5
+ export {
6
+ n as getYear
25
7
  };
26
- //#endregion
27
- export { r as getGapWidth };
28
-
29
- //# sourceMappingURL=index234.js.map
8
+ //# sourceMappingURL=index234.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index234.js","names":[],"sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAW,IAAU;CACjB,MAAM;CACN,KAAK;CACL,OAAO;CACP,KAAK;CACR,EACG,IAAQ,SAAU,GAAG;AAAE,QAAO,SAAS,KAAK,IAAI,GAAG,IAAI;GACvD,IAAY,SAAU,GAAS;CAC/B,IAAI,IAAK,OAAO,iBAAiB,SAAS,KAAK,EAC3C,IAAO,EAAG,MAAY,YAAY,gBAAgB,eAClD,IAAM,EAAG,MAAY,YAAY,eAAe,cAChD,IAAQ,EAAG,MAAY,YAAY,iBAAiB;AACxD,QAAO;EAAC,EAAM,EAAK;EAAE,EAAM,EAAI;EAAE,EAAM,EAAM;EAAC;GAEvC,IAAc,SAAU,GAAS;AAExC,KADI,MAAY,KAAK,MAAK,IAAU,WAChC,OAAO,SAAW,IAClB,QAAO;CAEX,IAAI,IAAU,EAAU,EAAQ,EAC5B,IAAgB,SAAS,gBAAgB,aACzC,IAAc,OAAO;AACzB,QAAO;EACH,MAAM,EAAQ;EACd,KAAK,EAAQ;EACb,OAAO,EAAQ;EACf,KAAK,KAAK,IAAI,GAAG,IAAc,IAAgB,EAAQ,KAAK,EAAQ,GAAG;EAC1E"}
1
+ {"version":3,"file":"index234.js","sources":["../../../node_modules/date-fns/getYear.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getYear} function options.\n */\n\n/**\n * @name getYear\n * @category Year Helpers\n * @summary Get the year of the given date.\n *\n * @description\n * Get the year of the given date.\n *\n * @param date - The given date\n * @param options - An object with options\n *\n * @returns The year\n *\n * @example\n * // Which year is 2 July 2014?\n * const result = getYear(new Date(2014, 6, 2))\n * //=> 2014\n */\nexport function getYear(date, options) {\n return toDate(date, options?.in).getFullYear();\n}\n\n// Fallback for modularized imports:\nexport default getYear;\n"],"names":["getYear","date","options","toDate"],"mappings":";AAwBO,SAASA,EAAQC,GAAMC,GAAS;AACrC,SAAOC,EAAOF,GAAMC,GAAS,EAAE,EAAE,YAAW;AAC9C;","x_google_ignoreList":[0]}
package/dist/index235.js CHANGED
@@ -1,72 +1,12 @@
1
- import { fullWidthClassName as e, noScrollbarsClassName as t, removedBarSizeVariable as n, zeroRightClassName as r } from "./index221.js";
2
- import { styleSingleton as i } from "./index232.js";
3
- import "./index233.js";
4
- import { getGapWidth as a } from "./index234.js";
5
- import * as o from "react";
6
- //#region ../../node_modules/react-remove-scroll-bar/dist/es2015/component.js
7
- var s = i(), c = "data-scroll-locked", l = function(i, a, o, s) {
8
- var l = i.left, u = i.top, d = i.right, f = i.gap;
9
- return o === void 0 && (o = "margin"), `
10
- .${t} {
11
- overflow: hidden ${s};
12
- padding-right: ${f}px ${s};
13
- }
14
- body[${c}] {
15
- overflow: hidden ${s};
16
- overscroll-behavior: contain;
17
- ${[
18
- a && `position: relative ${s};`,
19
- o === "margin" && `
20
- padding-left: ${l}px;
21
- padding-top: ${u}px;
22
- padding-right: ${d}px;
23
- margin-left:0;
24
- margin-top:0;
25
- margin-right: ${f}px ${s};
26
- `,
27
- o === "padding" && `padding-right: ${f}px ${s};`
28
- ].filter(Boolean).join("")}
29
- }
30
-
31
- .${r} {
32
- right: ${f}px ${s};
33
- }
34
-
35
- .${e} {
36
- margin-right: ${f}px ${s};
37
- }
38
-
39
- .${r} .${r} {
40
- right: 0 ${s};
41
- }
42
-
43
- .${e} .${e} {
44
- margin-right: 0 ${s};
45
- }
46
-
47
- body[${c}] {
48
- ${n}: ${f}px;
49
- }
50
- `;
51
- }, u = function() {
52
- var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
53
- return isFinite(e) ? e : 0;
54
- }, d = function() {
55
- o.useEffect(function() {
56
- return document.body.setAttribute(c, (u() + 1).toString()), function() {
57
- var e = u() - 1;
58
- e <= 0 ? document.body.removeAttribute(c) : document.body.setAttribute(c, e.toString());
59
- };
60
- }, []);
61
- }, f = function(e) {
62
- var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
63
- d();
64
- var c = o.useMemo(function() {
65
- return a(i);
66
- }, [i]);
67
- return o.createElement(s, { styles: l(c, !t, i, n ? "" : "!important") });
1
+ import { millisecondsInWeek as f } from "./index289.js";
2
+ import { startOfWeek as m } from "./index249.js";
3
+ import { startOfWeekYear as i } from "./index302.js";
4
+ import { toDate as n } from "./index288.js";
5
+ function s(r, t) {
6
+ const e = n(r, t?.in), o = +m(e, t) - +i(e, t);
7
+ return Math.round(o / f) + 1;
8
+ }
9
+ export {
10
+ s as getWeek
68
11
  };
69
- //#endregion
70
- export { f as RemoveScrollBar };
71
-
72
- //# sourceMappingURL=index235.js.map
12
+ //# sourceMappingURL=index235.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index235.js","names":["React"],"sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAIA,IAAI,IAAQ,GAAgB,EACjB,IAAgB,sBAIvB,IAAY,SAAU,GAAI,GAAe,GAAS,GAAW;CAC7D,IAAI,IAAO,EAAG,MAAM,IAAM,EAAG,KAAK,IAAQ,EAAG,OAAO,IAAM,EAAG;AAE7D,QADI,MAAY,KAAK,MAAK,IAAU,WAC7B;KAAe;sBAA0D;oBAA2C,OAAmB;;SAAqC;uBAAoD;;MAAgE;EACnS,KAAiB,sBAA6B;EAC9C,MAAY,YACR;oBAA8B;mBAAuC;qBAAwC;;;oBAAgF,OAAmB;;EACpN,MAAY,aAAa,kBAAyB,OAAmB;EACxE,CACI,OAAO,QAAQ,CACf,KAAK,GAAG;;;KAA2B;aAA8C,OAAmB;;;KAAqC;oBAAqD,OAAmB;;;KAAqC,MAAiC;eAAgD;;;KAAqC,MAAiC;sBAAuD;;;SAAyC;MAAmC,MAAqC;;;GAE1jB,IAAuB,WAAY;CACnC,IAAI,IAAU,SAAS,SAAS,KAAK,aAAA,qBAA2B,IAAI,KAAK,GAAG;AAC5E,QAAO,SAAS,EAAQ,GAAG,IAAU;GAE9B,IAAmB,WAAY;AACtC,GAAM,UAAU,WAAY;AAExB,SADA,SAAS,KAAK,aAAa,IAAgB,GAAsB,GAAG,GAAG,UAAU,CAAC,EAC3E,WAAY;GACf,IAAI,IAAa,GAAsB,GAAG;AAC1C,GAAI,KAAc,IACd,SAAS,KAAK,gBAAgB,EAAc,GAG5C,SAAS,KAAK,aAAa,GAAe,EAAW,UAAU,CAAC;;IAGzE,EAAE,CAAC;GAKC,IAAkB,SAAU,GAAI;CACvC,IAAI,IAAa,EAAG,YAAY,IAAc,EAAG,aAAa,IAAK,EAAG,SAAS,IAAU,MAAO,KAAK,IAAI,WAAW;AACpH,IAAkB;CAMlB,IAAI,IAAMA,EAAM,QAAQ,WAAY;AAAE,SAAO,EAAY,EAAQ;IAAK,CAAC,EAAQ,CAAC;AAChF,QAAOA,EAAM,cAAc,GAAO,EAAE,QAAQ,EAAU,GAAK,CAAC,GAAY,GAAU,IAA6B,KAAf,aAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"index235.js","sources":["../../../node_modules/date-fns/getWeek.js"],"sourcesContent":["import { millisecondsInWeek } from \"./constants.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { startOfWeekYear } from \"./startOfWeekYear.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getWeek} function options.\n */\n\n/**\n * @name getWeek\n * @category Week Helpers\n * @summary Get the local week index of the given date.\n *\n * @description\n * Get the local week index of the given date.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @param date - The given date\n * @param options - An object with options\n *\n * @returns The week\n *\n * @example\n * // Which week of the local week numbering year is 2 January 2005 with default options?\n * const result = getWeek(new Date(2005, 0, 2))\n * //=> 2\n *\n * @example\n * // Which week of the local week numbering year is 2 January 2005,\n * // if Monday is the first day of the week,\n * // and the first week of the year always contains 4 January?\n * const result = getWeek(new Date(2005, 0, 2), {\n * weekStartsOn: 1,\n * firstWeekContainsDate: 4\n * })\n * //=> 53\n */\nexport function getWeek(date, options) {\n const _date = toDate(date, options?.in);\n const diff = +startOfWeek(_date, options) - +startOfWeekYear(_date, options);\n\n // Round the number of weeks to the nearest integer because the number of\n // milliseconds in a week is not constant (e.g. it's different in the week of\n // the daylight saving time clock shift).\n return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// Fallback for modularized imports:\nexport default getWeek;\n"],"names":["getWeek","date","options","_date","toDate","diff","startOfWeek","startOfWeekYear","millisecondsInWeek"],"mappings":";;;;AA2CO,SAASA,EAAQC,GAAMC,GAAS;AACrC,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAO,CAACC,EAAYH,GAAOD,CAAO,IAAI,CAACK,EAAgBJ,GAAOD,CAAO;AAK3E,SAAO,KAAK,MAAMG,IAAOG,CAAkB,IAAI;AACjD;","x_google_ignoreList":[0]}
package/dist/index236.js CHANGED
@@ -1,3 +1,8 @@
1
- import "./index221.js";
2
- import "./index234.js";
3
- import "./index235.js";
1
+ import { toDate as t } from "./index288.js";
2
+ function f(r, o) {
3
+ return +t(r) > +t(o);
4
+ }
5
+ export {
6
+ f as isAfter
7
+ };
8
+ //# sourceMappingURL=index236.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index236.js","sources":["../../../node_modules/date-fns/isAfter.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * @name isAfter\n * @category Common Helpers\n * @summary Is the first date after the second one?\n *\n * @description\n * Is the first date after the second one?\n *\n * @param date - The date that should be after the other one to return true\n * @param dateToCompare - The date to compare with\n *\n * @returns The first date is after the second date\n *\n * @example\n * // Is 10 July 1989 after 11 February 1987?\n * const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))\n * //=> true\n */\nexport function isAfter(date, dateToCompare) {\n return +toDate(date) > +toDate(dateToCompare);\n}\n\n// Fallback for modularized imports:\nexport default isAfter;\n"],"names":["isAfter","date","dateToCompare","toDate"],"mappings":";AAoBO,SAASA,EAAQC,GAAMC,GAAe;AAC3C,SAAO,CAACC,EAAOF,CAAI,IAAI,CAACE,EAAOD,CAAa;AAC9C;","x_google_ignoreList":[0]}
package/dist/index237.js CHANGED
@@ -1,15 +1,8 @@
1
- //#region ../../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
2
- var e = !1;
3
- if (typeof window < "u") try {
4
- var t = Object.defineProperty({}, "passive", { get: function() {
5
- return e = !0, !0;
6
- } });
7
- window.addEventListener("test", t, t), window.removeEventListener("test", t, t);
8
- } catch {
9
- e = !1;
1
+ import { toDate as o } from "./index288.js";
2
+ function f(r, t) {
3
+ return +o(r) < +o(t);
10
4
  }
11
- var n = e ? { passive: !1 } : !1;
12
- //#endregion
13
- export { n as nonPassive };
14
-
15
- //# sourceMappingURL=index237.js.map
5
+ export {
6
+ f as isBefore
7
+ };
8
+ //# sourceMappingURL=index237.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index237.js","names":[],"sources":["../../../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI,IAAmB;AACvB,IAAI,OAAO,SAAW,IAClB,KAAI;CACA,IAAI,IAAU,OAAO,eAAe,EAAE,EAAE,WAAW,EAC/C,KAAK,WAAY;AAEb,SADA,IAAmB,IACZ;IAEd,CAAC;AAIF,CAFA,OAAO,iBAAiB,QAAQ,GAAS,EAAQ,EAEjD,OAAO,oBAAoB,QAAQ,GAAS,EAAQ;QAE5C;AACR,KAAmB;;AAG3B,IAAW,IAAa,IAAmB,EAAE,SAAS,IAAO,GAAG"}
1
+ {"version":3,"file":"index237.js","sources":["../../../node_modules/date-fns/isBefore.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * @name isBefore\n * @category Common Helpers\n * @summary Is the first date before the second one?\n *\n * @description\n * Is the first date before the second one?\n *\n * @param date - The date that should be before the other one to return true\n * @param dateToCompare - The date to compare with\n *\n * @returns The first date is before the second date\n *\n * @example\n * // Is 10 July 1989 before 11 February 1987?\n * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))\n * //=> false\n */\nexport function isBefore(date, dateToCompare) {\n return +toDate(date) < +toDate(dateToCompare);\n}\n\n// Fallback for modularized imports:\nexport default isBefore;\n"],"names":["isBefore","date","dateToCompare","toDate"],"mappings":";AAoBO,SAASA,EAASC,GAAMC,GAAe;AAC5C,SAAO,CAACC,EAAOF,CAAI,IAAI,CAACE,EAAOD,CAAa;AAC9C;","x_google_ignoreList":[0]}
package/dist/index238.js CHANGED
@@ -1,54 +1,7 @@
1
- //#region ../../node_modules/react-remove-scroll/dist/es2015/handleScroll.js
2
- var e = function(e) {
3
- return e.tagName === "TEXTAREA";
4
- }, t = function(t, n) {
5
- if (!(t instanceof Element)) return !1;
6
- var r = window.getComputedStyle(t);
7
- return r[n] !== "hidden" && !(r.overflowY === r.overflowX && !e(t) && r[n] === "visible");
8
- }, n = function(e) {
9
- return t(e, "overflowY");
10
- }, r = function(e) {
11
- return t(e, "overflowX");
12
- }, i = function(e, t) {
13
- var n = t.ownerDocument, r = t;
14
- do {
15
- if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), s(e, r)) {
16
- var i = c(e, r);
17
- if (i[1] > i[2]) return !0;
18
- }
19
- r = r.parentNode;
20
- } while (r && r !== n.body);
21
- return !1;
22
- }, a = function(e) {
23
- return [
24
- e.scrollTop,
25
- e.scrollHeight,
26
- e.clientHeight
27
- ];
28
- }, o = function(e) {
29
- return [
30
- e.scrollLeft,
31
- e.scrollWidth,
32
- e.clientWidth
33
- ];
34
- }, s = function(e, t) {
35
- return e === "v" ? n(t) : r(t);
36
- }, c = function(e, t) {
37
- return e === "v" ? a(t) : o(t);
38
- }, l = function(e, t) {
39
- return e === "h" && t === "rtl" ? -1 : 1;
40
- }, u = function(e, t, n, r, i) {
41
- var a = l(e, window.getComputedStyle(t).direction), o = a * r, u = n.target, d = t.contains(u), f = !1, p = o > 0, m = 0, h = 0;
42
- do {
43
- if (!u) break;
44
- var g = c(e, u), _ = g[0], v = g[1] - g[2] - a * _;
45
- (_ || v) && s(e, u) && (m += v, h += _);
46
- var y = u.parentNode;
47
- u = y && y.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? y.host : y;
48
- } while (!d && u !== document.body || d && (t.contains(u) || t === u));
49
- return (p && (i && Math.abs(m) < 1 || !i && o > m) || !p && (i && Math.abs(h) < 1 || !i && -o > h)) && (f = !0), f;
1
+ function e(t) {
2
+ return t instanceof Date || typeof t == "object" && Object.prototype.toString.call(t) === "[object Date]";
3
+ }
4
+ export {
5
+ e as isDate
50
6
  };
51
- //#endregion
52
- export { u as handleScroll, i as locationCouldBeScrolled };
53
-
54
- //# sourceMappingURL=index238.js.map
7
+ //# sourceMappingURL=index238.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index238.js","names":[],"sources":["../../../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n if (!target) {\n break;\n }\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n var parent_1 = target.parentNode;\n // we will \"bubble\" from ShadowDom in case we are, or just to the parent in normal case\n // this is the same logic used in focus-lock\n target = (parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1);\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI,IAAuB,SAAU,GAAM;AAEvC,QAAO,EAAK,YAAY;GAExB,IAAuB,SAAU,GAAM,GAAU;AACjD,KAAI,EAAE,aAAgB,SAClB,QAAO;CAEX,IAAI,IAAS,OAAO,iBAAiB,EAAK;AAC1C,QAEA,EAAO,OAAc,YAEjB,EAAE,EAAO,cAAc,EAAO,aAAa,CAAC,EAAqB,EAAK,IAAI,EAAO,OAAc;GAEnG,IAA0B,SAAU,GAAM;AAAE,QAAO,EAAqB,GAAM,YAAY;GAC1F,IAA0B,SAAU,GAAM;AAAE,QAAO,EAAqB,GAAM,YAAY;GACnF,IAA0B,SAAU,GAAM,GAAM;CACvD,IAAI,IAAgB,EAAK,eACrB,IAAU;AACd,IAAG;AAMC,MAJI,OAAO,aAAe,OAAe,aAAmB,eACxD,IAAU,EAAQ,OAEH,EAAuB,GAAM,EAAQ,EACtC;GACd,IAAI,IAAK,EAAmB,GAAM,EAAQ;AAC1C,OAD2D,EAAG,KAAmB,EAAG,GAEhF,QAAO;;AAGf,MAAU,EAAQ;UACb,KAAW,MAAY,EAAc;AAC9C,QAAO;GAEP,IAAsB,SAAU,GAAI;AAEpC,QAAO;EADS,EAAG;EAA0B,EAAG;EAA6B,EAAG;EAK/E;GAED,IAAsB,SAAU,GAAI;AAEpC,QAAO;EADU,EAAG;EAA0B,EAAG;EAA2B,EAAG;EAK9E;GAED,IAAyB,SAAU,GAAM,GAAM;AAC/C,QAAO,MAAS,MAAM,EAAwB,EAAK,GAAG,EAAwB,EAAK;GAEnF,IAAqB,SAAU,GAAM,GAAM;AAC3C,QAAO,MAAS,MAAM,EAAoB,EAAK,GAAG,EAAoB,EAAK;GAE3E,IAAqB,SAAU,GAAM,GAAW;AAMhD,QAAO,MAAS,OAAO,MAAc,QAAQ,KAAK;GAE3C,IAAe,SAAU,GAAM,GAAW,GAAO,GAAa,GAAc;CACnF,IAAI,IAAkB,EAAmB,GAAM,OAAO,iBAAiB,EAAU,CAAC,UAAU,EACxF,IAAQ,IAAkB,GAE1B,IAAS,EAAM,QACf,IAAe,EAAU,SAAS,EAAO,EACzC,IAAqB,IACrB,IAAkB,IAAQ,GAC1B,IAAkB,GAClB,IAAqB;AACzB,IAAG;AACC,MAAI,CAAC,EACD;EAEJ,IAAI,IAAK,EAAmB,GAAM,EAAO,EAAE,IAAW,EAAG,IACrD,IADoE,EAAG,KAAe,EAAG,KACnD,IAAkB;AAC5D,GAAI,KAAY,MACR,EAAuB,GAAM,EAAO,KACpC,KAAmB,GACnB,KAAsB;EAG9B,IAAI,IAAW,EAAO;AAGtB,MAAU,KAAY,EAAS,aAAa,KAAK,yBAAyB,EAAS,OAAO;UAG7F,CAAC,KAAgB,MAAW,SAAS,QAEjC,MAAiB,EAAU,SAAS,EAAO,IAAI,MAAc;AAUlE,SARI,MACE,KAAgB,KAAK,IAAI,EAAgB,GAAG,KAAO,CAAC,KAAgB,IAAQ,MAGzE,CAAC,MACJ,KAAgB,KAAK,IAAI,EAAmB,GAAG,KAAO,CAAC,KAAgB,CAAC,IAAQ,QAHlF,IAAqB,KAMlB"}
1
+ {"version":3,"file":"index238.js","sources":["../../../node_modules/date-fns/isDate.js"],"sourcesContent":["/**\n * @name isDate\n * @category Common Helpers\n * @summary Is the given value a date?\n *\n * @description\n * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.\n *\n * @param value - The value to check\n *\n * @returns True if the given value is a date\n *\n * @example\n * // For a valid date:\n * const result = isDate(new Date())\n * //=> true\n *\n * @example\n * // For an invalid date:\n * const result = isDate(new Date(NaN))\n * //=> true\n *\n * @example\n * // For some value:\n * const result = isDate('2014-02-31')\n * //=> false\n *\n * @example\n * // For an object:\n * const result = isDate({})\n * //=> false\n */\nexport function isDate(value) {\n return (\n value instanceof Date ||\n (typeof value === \"object\" &&\n Object.prototype.toString.call(value) === \"[object Date]\")\n );\n}\n\n// Fallback for modularized imports:\nexport default isDate;\n"],"names":["isDate","value"],"mappings":"AAgCO,SAASA,EAAOC,GAAO;AAC5B,SACEA,aAAiB,QAChB,OAAOA,KAAU,YAChB,OAAO,UAAU,SAAS,KAAKA,CAAK,MAAM;AAEhD;","x_google_ignoreList":[0]}
package/dist/index239.js CHANGED
@@ -1,118 +1,14 @@
1
- import { __spreadArray as e } from "./index220.js";
2
- import { styleSingleton as t } from "./index232.js";
3
- import "./index233.js";
4
- import { RemoveScrollBar as n } from "./index235.js";
5
- import "./index236.js";
6
- import { nonPassive as r } from "./index237.js";
7
- import { handleScroll as i, locationCouldBeScrolled as a } from "./index238.js";
8
- import * as o from "react";
9
- //#region ../../node_modules/react-remove-scroll/dist/es2015/SideEffect.js
10
- var s = function(e) {
11
- return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
12
- }, c = function(e) {
13
- return [e.deltaX, e.deltaY];
14
- }, l = function(e) {
15
- return e && "current" in e ? e.current : e;
16
- }, u = function(e, t) {
17
- return e[0] === t[0] && e[1] === t[1];
18
- }, d = function(e) {
19
- return `
20
- .block-interactivity-${e} {pointer-events: none;}
21
- .allow-interactivity-${e} {pointer-events: all;}
22
- `;
23
- }, f = 0, p = [];
24
- function m(m) {
25
- var g = o.useRef([]), _ = o.useRef([0, 0]), v = o.useRef(), y = o.useState(f++)[0], b = o.useState(t)[0], x = o.useRef(m);
26
- o.useEffect(function() {
27
- x.current = m;
28
- }, [m]), o.useEffect(function() {
29
- if (m.inert) {
30
- document.body.classList.add(`block-interactivity-${y}`);
31
- var t = e([m.lockRef.current], (m.shards || []).map(l), !0).filter(Boolean);
32
- return t.forEach(function(e) {
33
- return e.classList.add(`allow-interactivity-${y}`);
34
- }), function() {
35
- document.body.classList.remove(`block-interactivity-${y}`), t.forEach(function(e) {
36
- return e.classList.remove(`allow-interactivity-${y}`);
37
- });
38
- };
39
- }
40
- }, [
41
- m.inert,
42
- m.lockRef.current,
43
- m.shards
44
- ]);
45
- var S = o.useCallback(function(e, t) {
46
- if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !x.current.allowPinchZoom;
47
- var n = s(e), r = _.current, o = "deltaX" in e ? e.deltaX : r[0] - n[0], c = "deltaY" in e ? e.deltaY : r[1] - n[1], l, u = e.target, d = Math.abs(o) > Math.abs(c) ? "h" : "v";
48
- if ("touches" in e && d === "h" && u.type === "range") return !1;
49
- var f = window.getSelection(), p = f && f.anchorNode;
50
- if (p && (p === u || p.contains(u))) return !1;
51
- var m = a(d, u);
52
- if (!m) return !0;
53
- if (m ? l = d : (l = d === "v" ? "h" : "v", m = a(d, u)), !m) return !1;
54
- if (!v.current && "changedTouches" in e && (o || c) && (v.current = l), !l) return !0;
55
- var h = v.current || l;
56
- return i(h, t, e, h === "h" ? o : c, !0);
57
- }, []), C = o.useCallback(function(e) {
58
- var t = e;
59
- if (!(!p.length || p[p.length - 1] !== b)) {
60
- var n = "deltaY" in t ? c(t) : s(t), r = g.current.filter(function(e) {
61
- return e.name === t.type && (e.target === t.target || t.target === e.shadowParent) && u(e.delta, n);
62
- })[0];
63
- if (r && r.should) {
64
- t.cancelable && t.preventDefault();
65
- return;
66
- }
67
- if (!r) {
68
- var i = (x.current.shards || []).map(l).filter(Boolean).filter(function(e) {
69
- return e.contains(t.target);
70
- });
71
- (i.length > 0 ? S(t, i[0]) : !x.current.noIsolation) && t.cancelable && t.preventDefault();
72
- }
73
- }
74
- }, []), w = o.useCallback(function(e, t, n, r) {
75
- var i = {
76
- name: e,
77
- delta: t,
78
- target: n,
79
- should: r,
80
- shadowParent: h(n)
81
- };
82
- g.current.push(i), setTimeout(function() {
83
- g.current = g.current.filter(function(e) {
84
- return e !== i;
85
- });
86
- }, 1);
87
- }, []), T = o.useCallback(function(e) {
88
- _.current = s(e), v.current = void 0;
89
- }, []), E = o.useCallback(function(e) {
90
- w(e.type, c(e), e.target, S(e, m.lockRef.current));
91
- }, []), D = o.useCallback(function(e) {
92
- w(e.type, s(e), e.target, S(e, m.lockRef.current));
93
- }, []);
94
- o.useEffect(function() {
95
- return p.push(b), m.setCallbacks({
96
- onScrollCapture: E,
97
- onWheelCapture: E,
98
- onTouchMoveCapture: D
99
- }), document.addEventListener("wheel", C, r), document.addEventListener("touchmove", C, r), document.addEventListener("touchstart", T, r), function() {
100
- p = p.filter(function(e) {
101
- return e !== b;
102
- }), document.removeEventListener("wheel", C, r), document.removeEventListener("touchmove", C, r), document.removeEventListener("touchstart", T, r);
103
- };
104
- }, []);
105
- var O = m.removeScrollBar, k = m.inert;
106
- return o.createElement(o.Fragment, null, k ? o.createElement(b, { styles: d(y) }) : null, O ? o.createElement(n, {
107
- noRelative: m.noRelative,
108
- gapMode: m.gapMode
109
- }) : null);
1
+ import { normalizeDates as m } from "./index291.js";
2
+ import { startOfDay as t } from "./index246.js";
3
+ function s(r, a, e) {
4
+ const [o, i] = m(
5
+ e?.in,
6
+ r,
7
+ a
8
+ );
9
+ return +t(o) == +t(i);
110
10
  }
111
- function h(e) {
112
- for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
113
- return t;
114
- }
115
- //#endregion
116
- export { m as RemoveScrollSideCar };
117
-
118
- //# sourceMappingURL=index239.js.map
11
+ export {
12
+ s as isSameDay
13
+ };
14
+ //# sourceMappingURL=index239.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index239.js","names":["React"],"sources":["../../../node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n // allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target\n var selection = window.getSelection();\n var anchorNode = selection && selection.anchorNode;\n var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false;\n if (isTouchingSelection) {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"x_google_ignoreList":[0],"mappings":"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"}
1
+ {"version":3,"file":"index239.js","sources":["../../../node_modules/date-fns/isSameDay.js"],"sourcesContent":["import { normalizeDates } from \"./_lib/normalizeDates.js\";\nimport { startOfDay } from \"./startOfDay.js\";\n\n/**\n * The {@link isSameDay} function options.\n */\n\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * @param laterDate - The first date to check\n * @param earlierDate - The second date to check\n * @param options - An object with options\n *\n * @returns The dates are in the same day (and year and month)\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n *\n * @example\n * // Are 4 September and 4 October in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n *\n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\nexport function isSameDay(laterDate, earlierDate, options) {\n const [dateLeft_, dateRight_] = normalizeDates(\n options?.in,\n laterDate,\n earlierDate,\n );\n return +startOfDay(dateLeft_) === +startOfDay(dateRight_);\n}\n\n// Fallback for modularized imports:\nexport default isSameDay;\n"],"names":["isSameDay","laterDate","earlierDate","options","dateLeft_","dateRight_","normalizeDates","startOfDay"],"mappings":";;AAoCO,SAASA,EAAUC,GAAWC,GAAaC,GAAS;AACzD,QAAM,CAACC,GAAWC,CAAU,IAAIC;AAAA,IAC9BH,GAAS;AAAA,IACTF;AAAA,IACAC;AAAA,EACJ;AACE,SAAO,CAACK,EAAWH,CAAS,KAAM,CAACG,EAAWF,CAAU;AAC1D;","x_google_ignoreList":[0]}