@rpcbase/ui 0.189.0 → 0.190.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 (583) hide show
  1. package/dist/index100.js +5 -185
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +3 -106
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +8 -262
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +5 -9
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +4 -42
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +4 -4
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +6 -46
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +143 -203
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +39 -21
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +4 -24
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +5 -397
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +13 -46
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +14 -52
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +7 -4
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +31 -4
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +10 -15
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +10 -5
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +8 -7
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +13 -16
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +101 -4
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +20 -5
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +53 -5
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +72 -5
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +9 -4
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +20 -4
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +16 -6
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +23 -24
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +6 -6
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +5 -4
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +23 -6
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +35 -6
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +16 -5
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +6 -5
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +4 -4
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +4 -8
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +4 -5
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +4 -4
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +3 -4
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +6 -6
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +24 -146
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +7 -39
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +6 -4
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +5 -7
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +3 -13
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +3 -13
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +4 -7
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +3 -31
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +4 -10
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +3 -10
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +3 -8
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index15.js +4 -4
  102. package/dist/index150.js +3 -13
  103. package/dist/index150.js.map +1 -1
  104. package/dist/index151.js +45 -100
  105. package/dist/index151.js.map +1 -1
  106. package/dist/index152.js +47 -20
  107. package/dist/index152.js.map +1 -1
  108. package/dist/index153.js +203 -51
  109. package/dist/index153.js.map +1 -1
  110. package/dist/index154.js +21 -72
  111. package/dist/index154.js.map +1 -1
  112. package/dist/index155.js +24 -9
  113. package/dist/index155.js.map +1 -1
  114. package/dist/index156.js +397 -18
  115. package/dist/index156.js.map +1 -1
  116. package/dist/index157.js +604 -15
  117. package/dist/index157.js.map +1 -1
  118. package/dist/index158.js +5 -23
  119. package/dist/index158.js.map +1 -1
  120. package/dist/index159.js +68 -6
  121. package/dist/index159.js.map +1 -1
  122. package/dist/index160.js +2 -6
  123. package/dist/index160.js.map +1 -1
  124. package/dist/index161.js +358 -18
  125. package/dist/index161.js.map +1 -1
  126. package/dist/index162.js +261 -34
  127. package/dist/index162.js.map +1 -1
  128. package/dist/index163.js +61 -16
  129. package/dist/index163.js.map +1 -1
  130. package/dist/index164.js +46 -6
  131. package/dist/index164.js.map +1 -1
  132. package/dist/index165.js +169 -4
  133. package/dist/index165.js.map +1 -1
  134. package/dist/index166.js +109 -4
  135. package/dist/index166.js.map +1 -1
  136. package/dist/index167.js +24 -4
  137. package/dist/index167.js.map +1 -1
  138. package/dist/index168.js +8 -5
  139. package/dist/index168.js.map +1 -1
  140. package/dist/index169.js +4 -3
  141. package/dist/index169.js.map +1 -1
  142. package/dist/index170.js +5 -6
  143. package/dist/index170.js.map +1 -1
  144. package/dist/index171.js +5 -24
  145. package/dist/index171.js.map +1 -1
  146. package/dist/index172.js +466 -7
  147. package/dist/index172.js.map +1 -1
  148. package/dist/index173.js +185 -6
  149. package/dist/index173.js.map +1 -1
  150. package/dist/index174.js +107 -5
  151. package/dist/index174.js.map +1 -1
  152. package/dist/index175.js +262 -3
  153. package/dist/index175.js.map +1 -1
  154. package/dist/index176.js +9 -3
  155. package/dist/index176.js.map +1 -1
  156. package/dist/index177.js +42 -4
  157. package/dist/index177.js.map +1 -1
  158. package/dist/index178.js +4 -3
  159. package/dist/index178.js.map +1 -1
  160. package/dist/index179.js +16 -4
  161. package/dist/index179.js.map +1 -1
  162. package/dist/index180.js +5 -3
  163. package/dist/index180.js.map +1 -1
  164. package/dist/index181.js +5 -3
  165. package/dist/index181.js.map +1 -1
  166. package/dist/index182.js +58 -3
  167. package/dist/index182.js.map +1 -1
  168. package/dist/index183.js +63 -64
  169. package/dist/index183.js.map +1 -1
  170. package/dist/index184.js +6 -180
  171. package/dist/index184.js.map +1 -1
  172. package/dist/index185.js +4 -46
  173. package/dist/index185.js.map +1 -1
  174. package/dist/index186.js +7 -13
  175. package/dist/index186.js.map +1 -1
  176. package/dist/index187.js +17 -154
  177. package/dist/index187.js.map +1 -1
  178. package/dist/index188.js +5 -30
  179. package/dist/index188.js.map +1 -1
  180. package/dist/index189.js +5 -9
  181. package/dist/index189.js.map +1 -1
  182. package/dist/index190.js +13 -47
  183. package/dist/index190.js.map +1 -1
  184. package/dist/index191.js +10 -11
  185. package/dist/index191.js.map +1 -1
  186. package/dist/index192.js +14 -44
  187. package/dist/index192.js.map +1 -1
  188. package/dist/index193.js +14 -95
  189. package/dist/index193.js.map +1 -1
  190. package/dist/index194.js +5 -86
  191. package/dist/index194.js.map +1 -1
  192. package/dist/index195.js +6 -105
  193. package/dist/index195.js.map +1 -1
  194. package/dist/index196.js +7 -52
  195. package/dist/index196.js.map +1 -1
  196. package/dist/index197.js +6 -11
  197. package/dist/index197.js.map +1 -1
  198. package/dist/index198.js +9 -37
  199. package/dist/index198.js.map +1 -1
  200. package/dist/index199.js +5 -8
  201. package/dist/index199.js.map +1 -1
  202. package/dist/index20.js +6 -6
  203. package/dist/index200.js +5 -116
  204. package/dist/index200.js.map +1 -1
  205. package/dist/index201.js +9 -17
  206. package/dist/index201.js.map +1 -1
  207. package/dist/index202.js +5 -15
  208. package/dist/index202.js.map +1 -1
  209. package/dist/index203.js +5 -3
  210. package/dist/index203.js.map +1 -1
  211. package/dist/index204.js +4 -36
  212. package/dist/index204.js.map +1 -1
  213. package/dist/index205.js +11 -20
  214. package/dist/index205.js.map +1 -1
  215. package/dist/index206.js +10 -9
  216. package/dist/index206.js.map +1 -1
  217. package/dist/index207.js +10 -8
  218. package/dist/index207.js.map +1 -1
  219. package/dist/index208.js +11 -19
  220. package/dist/index208.js.map +1 -1
  221. package/dist/index209.js +11 -28
  222. package/dist/index209.js.map +1 -1
  223. package/dist/index21.js +1 -1
  224. package/dist/index210.js +10 -16
  225. package/dist/index210.js.map +1 -1
  226. package/dist/index211.js +7 -24
  227. package/dist/index211.js.map +1 -1
  228. package/dist/index212.js +7 -29
  229. package/dist/index212.js.map +1 -1
  230. package/dist/index213.js +6 -5
  231. package/dist/index213.js.map +1 -1
  232. package/dist/index214.js +6 -16
  233. package/dist/index214.js.map +1 -1
  234. package/dist/index215.js +7 -5
  235. package/dist/index215.js.map +1 -1
  236. package/dist/index216.js +6 -5
  237. package/dist/index216.js.map +1 -1
  238. package/dist/index217.js +55 -58
  239. package/dist/index217.js.map +1 -1
  240. package/dist/index218.js +8 -66
  241. package/dist/index218.js.map +1 -1
  242. package/dist/index219.js +19 -6
  243. package/dist/index219.js.map +1 -1
  244. package/dist/index22.js +1 -1
  245. package/dist/index220.js +16 -4
  246. package/dist/index220.js.map +1 -1
  247. package/dist/index221.js +7 -7
  248. package/dist/index221.js.map +1 -1
  249. package/dist/index222.js +10 -17
  250. package/dist/index222.js.map +1 -1
  251. package/dist/index223.js +10 -5
  252. package/dist/index223.js.map +1 -1
  253. package/dist/index224.js +21 -5
  254. package/dist/index224.js.map +1 -1
  255. package/dist/index225.js +10 -13
  256. package/dist/index225.js.map +1 -1
  257. package/dist/index226.js +9 -10
  258. package/dist/index226.js.map +1 -1
  259. package/dist/index227.js +9 -14
  260. package/dist/index227.js.map +1 -1
  261. package/dist/index228.js +4 -14
  262. package/dist/index228.js.map +1 -1
  263. package/dist/index229.js +5 -5
  264. package/dist/index229.js.map +1 -1
  265. package/dist/index230.js +16 -6
  266. package/dist/index230.js.map +1 -1
  267. package/dist/index231.js +9 -7
  268. package/dist/index231.js.map +1 -1
  269. package/dist/index232.js +18 -6
  270. package/dist/index232.js.map +1 -1
  271. package/dist/index233.js +15 -9
  272. package/dist/index233.js.map +1 -1
  273. package/dist/index234.js +12 -5
  274. package/dist/index234.js.map +1 -1
  275. package/dist/index235.js +29 -5
  276. package/dist/index235.js.map +1 -1
  277. package/dist/index236.js +12 -9
  278. package/dist/index236.js.map +1 -1
  279. package/dist/index237.js +25 -5
  280. package/dist/index237.js.map +1 -1
  281. package/dist/index238.js +5 -5
  282. package/dist/index238.js.map +1 -1
  283. package/dist/index239.js +24 -4
  284. package/dist/index239.js.map +1 -1
  285. package/dist/index24.js +1 -1
  286. package/dist/index240.js +28 -11
  287. package/dist/index240.js.map +1 -1
  288. package/dist/index241.js +5 -11
  289. package/dist/index241.js.map +1 -1
  290. package/dist/index242.js +67 -10
  291. package/dist/index242.js.map +1 -1
  292. package/dist/index243.js +180 -11
  293. package/dist/index243.js.map +1 -1
  294. package/dist/index244.js +46 -11
  295. package/dist/index244.js.map +1 -1
  296. package/dist/index245.js +13 -10
  297. package/dist/index245.js.map +1 -1
  298. package/dist/index246.js +154 -7
  299. package/dist/index246.js.map +1 -1
  300. package/dist/index247.js +30 -6
  301. package/dist/index247.js.map +1 -1
  302. package/dist/index248.js +9 -5
  303. package/dist/index248.js.map +1 -1
  304. package/dist/index249.js +47 -6
  305. package/dist/index249.js.map +1 -1
  306. package/dist/index250.js +11 -7
  307. package/dist/index250.js.map +1 -1
  308. package/dist/index251.js +44 -6
  309. package/dist/index251.js.map +1 -1
  310. package/dist/index252.js +92 -52
  311. package/dist/index252.js.map +1 -1
  312. package/dist/index253.js +86 -8
  313. package/dist/index253.js.map +1 -1
  314. package/dist/index254.js +103 -17
  315. package/dist/index254.js.map +1 -1
  316. package/dist/index255.js +50 -14
  317. package/dist/index255.js.map +1 -1
  318. package/dist/index256.js +11 -7
  319. package/dist/index256.js.map +1 -1
  320. package/dist/index257.js +35 -8
  321. package/dist/index257.js.map +1 -1
  322. package/dist/index258.js +8 -10
  323. package/dist/index258.js.map +1 -1
  324. package/dist/index259.js +115 -20
  325. package/dist/index259.js.map +1 -1
  326. package/dist/index260.js +17 -10
  327. package/dist/index260.js.map +1 -1
  328. package/dist/index261.js +15 -9
  329. package/dist/index261.js.map +1 -1
  330. package/dist/index262.js +3 -9
  331. package/dist/index262.js.map +1 -1
  332. package/dist/index263.js +36 -4
  333. package/dist/index263.js.map +1 -1
  334. package/dist/index264.js +20 -5
  335. package/dist/index264.js.map +1 -1
  336. package/dist/index265.js +9 -16
  337. package/dist/index265.js.map +1 -1
  338. package/dist/index266.js +8 -9
  339. package/dist/index266.js.map +1 -1
  340. package/dist/index267.js +17 -16
  341. package/dist/index267.js.map +1 -1
  342. package/dist/index268.js +26 -13
  343. package/dist/index268.js.map +1 -1
  344. package/dist/index269.js +16 -12
  345. package/dist/index269.js.map +1 -1
  346. package/dist/index270.js +4 -29
  347. package/dist/index270.js.map +1 -1
  348. package/dist/index271.js +18 -12
  349. package/dist/index271.js.map +1 -1
  350. package/dist/index272.js +12 -25
  351. package/dist/index272.js.map +1 -1
  352. package/dist/index273.js +5 -6
  353. package/dist/index273.js.map +1 -1
  354. package/dist/index274.js +3 -21
  355. package/dist/index274.js.map +1 -1
  356. package/dist/index275.js +24 -5
  357. package/dist/index275.js.map +1 -1
  358. package/dist/index276.js +113 -3
  359. package/dist/index276.js.map +1 -1
  360. package/dist/index277.js +15 -23
  361. package/dist/index277.js.map +1 -1
  362. package/dist/index278.js +519 -107
  363. package/dist/index278.js.map +1 -1
  364. package/dist/index279.js +126 -14
  365. package/dist/index279.js.map +1 -1
  366. package/dist/index28.js +1 -1
  367. package/dist/index280.js +125 -516
  368. package/dist/index280.js.map +1 -1
  369. package/dist/index281.js +20 -127
  370. package/dist/index281.js.map +1 -1
  371. package/dist/index282.js +5 -133
  372. package/dist/index282.js.map +1 -1
  373. package/dist/index283.js +5 -4
  374. package/dist/index283.js.map +1 -1
  375. package/dist/index284.js +4 -19
  376. package/dist/index284.js.map +1 -1
  377. package/dist/index285.js +15 -12
  378. package/dist/index285.js.map +1 -1
  379. package/dist/index286.js +8 -64
  380. package/dist/index286.js.map +1 -1
  381. package/dist/index287.js +6 -69
  382. package/dist/index287.js.map +1 -1
  383. package/dist/index288.js +5 -9
  384. package/dist/index288.js.map +1 -1
  385. package/dist/index289.js +545 -13
  386. package/dist/index289.js.map +1 -1
  387. package/dist/index290.js +45 -64
  388. package/dist/index290.js.map +1 -1
  389. package/dist/index291.js +17 -5
  390. package/dist/index291.js.map +1 -1
  391. package/dist/index292.js +6 -5
  392. package/dist/index292.js.map +1 -1
  393. package/dist/index293.js +9 -4
  394. package/dist/index293.js.map +1 -1
  395. package/dist/index294.js +7 -15
  396. package/dist/index294.js.map +1 -1
  397. package/dist/index295.js +8 -8
  398. package/dist/index295.js.map +1 -1
  399. package/dist/index296.js +12 -5
  400. package/dist/index296.js.map +1 -1
  401. package/dist/index297.js +9 -4
  402. package/dist/index297.js.map +1 -1
  403. package/dist/index298.js +13 -545
  404. package/dist/index298.js.map +1 -1
  405. package/dist/index299.js +65 -47
  406. package/dist/index299.js.map +1 -1
  407. package/dist/index30.js +1 -1
  408. package/dist/index300.js +69 -18
  409. package/dist/index300.js.map +1 -1
  410. package/dist/index301.js +9 -7
  411. package/dist/index301.js.map +1 -1
  412. package/dist/index302.js +14 -9
  413. package/dist/index302.js.map +1 -1
  414. package/dist/index303.js +66 -8
  415. package/dist/index303.js.map +1 -1
  416. package/dist/index304.js +4 -8
  417. package/dist/index304.js.map +1 -1
  418. package/dist/index305.js +56 -13
  419. package/dist/index305.js.map +1 -1
  420. package/dist/index306.js +68 -10
  421. package/dist/index306.js.map +1 -1
  422. package/dist/index307.js +31 -14
  423. package/dist/index307.js.map +1 -1
  424. package/dist/index308.js +9 -4
  425. package/dist/index308.js.map +1 -1
  426. package/dist/index309.js +153 -23
  427. package/dist/index309.js.map +1 -1
  428. package/dist/index31.js +5 -5
  429. package/dist/index310.js +108 -5
  430. package/dist/index310.js.map +1 -1
  431. package/dist/index311.js +4 -56
  432. package/dist/index311.js.map +1 -1
  433. package/dist/index312.js +23 -68
  434. package/dist/index312.js.map +1 -1
  435. package/dist/index313.js +16 -31
  436. package/dist/index313.js.map +1 -1
  437. package/dist/index314.js +29 -9
  438. package/dist/index314.js.map +1 -1
  439. package/dist/index315.js +13 -153
  440. package/dist/index315.js.map +1 -1
  441. package/dist/index316.js +7 -108
  442. package/dist/index316.js.map +1 -1
  443. package/dist/index32.js +24 -24
  444. package/dist/index33.js +3 -3
  445. package/dist/index35.js +16 -2635
  446. package/dist/index35.js.map +1 -1
  447. package/dist/index36.js +113 -377
  448. package/dist/index36.js.map +1 -1
  449. package/dist/index37.js +204 -215
  450. package/dist/index37.js.map +1 -1
  451. package/dist/index38.js +87 -18
  452. package/dist/index38.js.map +1 -1
  453. package/dist/index39.js +115 -126
  454. package/dist/index39.js.map +1 -1
  455. package/dist/index40.js +5 -221
  456. package/dist/index40.js.map +1 -1
  457. package/dist/index41.js +836 -83
  458. package/dist/index41.js.map +1 -1
  459. package/dist/index42.js +53 -115
  460. package/dist/index42.js.map +1 -1
  461. package/dist/index43.js +7 -5
  462. package/dist/index43.js.map +1 -1
  463. package/dist/index44.js +2 -844
  464. package/dist/index44.js.map +1 -1
  465. package/dist/index45.js +12 -57
  466. package/dist/index45.js.map +1 -1
  467. package/dist/index46.js +18 -7
  468. package/dist/index46.js.map +1 -1
  469. package/dist/index47.js +8 -2
  470. package/dist/index47.js.map +1 -1
  471. package/dist/index48.js +2 -12
  472. package/dist/index48.js.map +1 -1
  473. package/dist/index49.js +22 -17
  474. package/dist/index49.js.map +1 -1
  475. package/dist/index50.js +233 -7
  476. package/dist/index50.js.map +1 -1
  477. package/dist/index51.js +205 -2
  478. package/dist/index51.js.map +1 -1
  479. package/dist/index52.js +3 -23
  480. package/dist/index52.js.map +1 -1
  481. package/dist/index53.js +6 -233
  482. package/dist/index53.js.map +1 -1
  483. package/dist/index54.js +44 -201
  484. package/dist/index54.js.map +1 -1
  485. package/dist/index55.js +27 -2
  486. package/dist/index55.js.map +1 -1
  487. package/dist/index56.js +51 -2
  488. package/dist/index56.js.map +1 -1
  489. package/dist/index57.js +7 -5
  490. package/dist/index57.js.map +1 -1
  491. package/dist/index58.js +14 -7
  492. package/dist/index58.js.map +1 -1
  493. package/dist/index59.js +133 -5
  494. package/dist/index59.js.map +1 -1
  495. package/dist/index60.js +10 -53
  496. package/dist/index60.js.map +1 -1
  497. package/dist/index61.js +217 -2
  498. package/dist/index61.js.map +1 -1
  499. package/dist/index62.js +13 -2
  500. package/dist/index62.js.map +1 -1
  501. package/dist/index63.js +33 -3
  502. package/dist/index63.js.map +1 -1
  503. package/dist/index64.js +46 -6
  504. package/dist/index64.js.map +1 -1
  505. package/dist/index65.js +7 -47
  506. package/dist/index65.js.map +1 -1
  507. package/dist/index66.js +47 -24
  508. package/dist/index66.js.map +1 -1
  509. package/dist/index67.js +4 -51
  510. package/dist/index67.js.map +1 -1
  511. package/dist/index68.js +5 -7
  512. package/dist/index68.js.map +1 -1
  513. package/dist/index69.js +28 -15
  514. package/dist/index69.js.map +1 -1
  515. package/dist/index70.js +48 -132
  516. package/dist/index70.js.map +1 -1
  517. package/dist/index71.js +9 -11
  518. package/dist/index71.js.map +1 -1
  519. package/dist/index72.js +11 -216
  520. package/dist/index72.js.map +1 -1
  521. package/dist/index73.js +2 -13
  522. package/dist/index73.js.map +1 -1
  523. package/dist/index74.js +2 -34
  524. package/dist/index74.js.map +1 -1
  525. package/dist/index75.js +2 -47
  526. package/dist/index75.js.map +1 -1
  527. package/dist/index76.js +2 -8
  528. package/dist/index76.js.map +1 -1
  529. package/dist/index77.js +5 -49
  530. package/dist/index77.js.map +1 -1
  531. package/dist/index78.js +8 -4
  532. package/dist/index78.js.map +1 -1
  533. package/dist/index79.js +5 -5
  534. package/dist/index79.js.map +1 -1
  535. package/dist/index80.js +52 -28
  536. package/dist/index80.js.map +1 -1
  537. package/dist/index81.js +5 -50
  538. package/dist/index81.js.map +1 -1
  539. package/dist/index82.js +5 -9
  540. package/dist/index82.js.map +1 -1
  541. package/dist/index83.js +15 -11
  542. package/dist/index83.js.map +1 -1
  543. package/dist/index84.js +5 -605
  544. package/dist/index84.js.map +1 -1
  545. package/dist/index85.js +7 -5
  546. package/dist/index85.js.map +1 -1
  547. package/dist/index86.js +16 -68
  548. package/dist/index86.js.map +1 -1
  549. package/dist/index87.js +5 -2
  550. package/dist/index87.js.map +1 -1
  551. package/dist/index88.js +4 -363
  552. package/dist/index88.js.map +1 -1
  553. package/dist/index89.js +5 -261
  554. package/dist/index89.js.map +1 -1
  555. package/dist/index90.js +5 -60
  556. package/dist/index90.js.map +1 -1
  557. package/dist/index91.js +4 -46
  558. package/dist/index91.js.map +1 -1
  559. package/dist/index92.js +4 -169
  560. package/dist/index92.js.map +1 -1
  561. package/dist/index93.js +6 -109
  562. package/dist/index93.js.map +1 -1
  563. package/dist/index94.js +24 -24
  564. package/dist/index94.js.map +1 -1
  565. package/dist/index95.js +7 -8
  566. package/dist/index95.js.map +1 -1
  567. package/dist/index96.js +4 -4
  568. package/dist/index96.js.map +1 -1
  569. package/dist/index97.js +6 -5
  570. package/dist/index97.js.map +1 -1
  571. package/dist/index98.js +4 -3
  572. package/dist/index98.js.map +1 -1
  573. package/dist/index99.js +4 -466
  574. package/dist/index99.js.map +1 -1
  575. package/package.json +1 -1
  576. package/dist/index321.js +0 -19
  577. package/dist/index321.js.map +0 -1
  578. package/dist/index322.js +0 -32
  579. package/dist/index322.js.map +0 -1
  580. package/dist/index323.js +0 -16
  581. package/dist/index323.js.map +0 -1
  582. package/dist/index324.js +0 -10
  583. package/dist/index324.js.map +0 -1
package/dist/index299.js CHANGED
@@ -1,50 +1,68 @@
1
- const s = (t, e) => {
2
- switch (t) {
3
- case "P":
4
- return e.date({ width: "short" });
5
- case "PP":
6
- return e.date({ width: "medium" });
7
- case "PPP":
8
- return e.date({ width: "long" });
9
- default:
10
- return e.date({ width: "full" });
11
- }
12
- }, c = (t, e) => {
13
- switch (t) {
14
- case "p":
15
- return e.time({ width: "short" });
16
- case "pp":
17
- return e.time({ width: "medium" });
18
- case "ppp":
19
- return e.time({ width: "long" });
20
- default:
21
- return e.time({ width: "full" });
22
- }
23
- }, P = (t, e) => {
24
- const d = t.match(/(P+)(p+)?/) || [], a = d[1], r = d[2];
25
- if (!r)
26
- return s(t, e);
27
- let i;
28
- switch (a) {
29
- case "P":
30
- i = e.dateTime({ width: "short" });
31
- break;
32
- case "PP":
33
- i = e.dateTime({ width: "medium" });
34
- break;
35
- case "PPP":
36
- i = e.dateTime({ width: "long" });
37
- break;
38
- default:
39
- i = e.dateTime({ width: "full" });
40
- break;
41
- }
42
- return i.replace("{{date}}", s(a, e)).replace("{{time}}", c(r, e));
43
- }, h = {
44
- p: c,
45
- P
46
- };
1
+ import { __assign as d } from "./index239.js";
2
+ function l(r) {
3
+ return r;
4
+ }
5
+ function h(r, t) {
6
+ t === void 0 && (t = l);
7
+ var e = [], o = !1, c = {
8
+ read: function() {
9
+ if (o)
10
+ throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
11
+ return e.length ? e[e.length - 1] : r;
12
+ },
13
+ useMedium: function(u) {
14
+ var n = t(u, o);
15
+ return e.push(n), function() {
16
+ e = e.filter(function(i) {
17
+ return i !== n;
18
+ });
19
+ };
20
+ },
21
+ assignSyncMedium: function(u) {
22
+ for (o = !0; e.length; ) {
23
+ var n = e;
24
+ e = [], n.forEach(u);
25
+ }
26
+ e = {
27
+ push: function(i) {
28
+ return u(i);
29
+ },
30
+ filter: function() {
31
+ return e;
32
+ }
33
+ };
34
+ },
35
+ assignMedium: function(u) {
36
+ o = !0;
37
+ var n = [];
38
+ if (e.length) {
39
+ var i = e;
40
+ e = [], i.forEach(u), n = e;
41
+ }
42
+ var s = function() {
43
+ var f = n;
44
+ n = [], f.forEach(u);
45
+ }, a = function() {
46
+ return Promise.resolve().then(s);
47
+ };
48
+ a(), e = {
49
+ push: function(f) {
50
+ n.push(f), a();
51
+ },
52
+ filter: function(f) {
53
+ return n = n.filter(f), e;
54
+ }
55
+ };
56
+ }
57
+ };
58
+ return c;
59
+ }
60
+ function v(r) {
61
+ r === void 0 && (r = {});
62
+ var t = h(null);
63
+ return t.options = d({ async: !0, ssr: !1 }, r), t;
64
+ }
47
65
  export {
48
- h as longFormatters
66
+ v as createSidecarMedium
49
67
  };
50
68
  //# sourceMappingURL=index299.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index299.js","sources":["../../../node_modules/date-fns/_lib/format/longFormatters.js"],"sourcesContent":["const dateLongFormatter = (pattern, formatLong) => {\n switch (pattern) {\n case \"P\":\n return formatLong.date({ width: \"short\" });\n case \"PP\":\n return formatLong.date({ width: \"medium\" });\n case \"PPP\":\n return formatLong.date({ width: \"long\" });\n case \"PPPP\":\n default:\n return formatLong.date({ width: \"full\" });\n }\n};\n\nconst timeLongFormatter = (pattern, formatLong) => {\n switch (pattern) {\n case \"p\":\n return formatLong.time({ width: \"short\" });\n case \"pp\":\n return formatLong.time({ width: \"medium\" });\n case \"ppp\":\n return formatLong.time({ width: \"long\" });\n case \"pppp\":\n default:\n return formatLong.time({ width: \"full\" });\n }\n};\n\nconst dateTimeLongFormatter = (pattern, formatLong) => {\n const matchResult = pattern.match(/(P+)(p+)?/) || [];\n const datePattern = matchResult[1];\n const timePattern = matchResult[2];\n\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n\n let dateTimeFormat;\n\n switch (datePattern) {\n case \"P\":\n dateTimeFormat = formatLong.dateTime({ width: \"short\" });\n break;\n case \"PP\":\n dateTimeFormat = formatLong.dateTime({ width: \"medium\" });\n break;\n case \"PPP\":\n dateTimeFormat = formatLong.dateTime({ width: \"long\" });\n break;\n case \"PPPP\":\n default:\n dateTimeFormat = formatLong.dateTime({ width: \"full\" });\n break;\n }\n\n return dateTimeFormat\n .replace(\"{{date}}\", dateLongFormatter(datePattern, formatLong))\n .replace(\"{{time}}\", timeLongFormatter(timePattern, formatLong));\n};\n\nexport const longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter,\n};\n"],"names":["dateLongFormatter","pattern","formatLong","timeLongFormatter","dateTimeLongFormatter","matchResult","datePattern","timePattern","dateTimeFormat","longFormatters"],"mappings":"AAAA,MAAMA,IAAoB,CAACC,GAASC,MAAe;AACjD,UAAQD,GAAO;AAAA,IACb,KAAK;AACH,aAAOC,EAAW,KAAK,EAAE,OAAO,QAAO,CAAE;AAAA,IAC3C,KAAK;AACH,aAAOA,EAAW,KAAK,EAAE,OAAO,SAAQ,CAAE;AAAA,IAC5C,KAAK;AACH,aAAOA,EAAW,KAAK,EAAE,OAAO,OAAM,CAAE;AAAA,IAE1C;AACE,aAAOA,EAAW,KAAK,EAAE,OAAO,OAAM,CAAE;AAAA,EAC9C;AACA,GAEMC,IAAoB,CAACF,GAASC,MAAe;AACjD,UAAQD,GAAO;AAAA,IACb,KAAK;AACH,aAAOC,EAAW,KAAK,EAAE,OAAO,QAAO,CAAE;AAAA,IAC3C,KAAK;AACH,aAAOA,EAAW,KAAK,EAAE,OAAO,SAAQ,CAAE;AAAA,IAC5C,KAAK;AACH,aAAOA,EAAW,KAAK,EAAE,OAAO,OAAM,CAAE;AAAA,IAE1C;AACE,aAAOA,EAAW,KAAK,EAAE,OAAO,OAAM,CAAE;AAAA,EAC9C;AACA,GAEME,IAAwB,CAACH,GAASC,MAAe;AACrD,QAAMG,IAAcJ,EAAQ,MAAM,WAAW,KAAK,CAAA,GAC5CK,IAAcD,EAAY,CAAC,GAC3BE,IAAcF,EAAY,CAAC;AAEjC,MAAI,CAACE;AACH,WAAOP,EAAkBC,GAASC,CAAU;AAG9C,MAAIM;AAEJ,UAAQF,GAAW;AAAA,IACjB,KAAK;AACH,MAAAE,IAAiBN,EAAW,SAAS,EAAE,OAAO,QAAO,CAAE;AACvD;AAAA,IACF,KAAK;AACH,MAAAM,IAAiBN,EAAW,SAAS,EAAE,OAAO,SAAQ,CAAE;AACxD;AAAA,IACF,KAAK;AACH,MAAAM,IAAiBN,EAAW,SAAS,EAAE,OAAO,OAAM,CAAE;AACtD;AAAA,IAEF;AACE,MAAAM,IAAiBN,EAAW,SAAS,EAAE,OAAO,OAAM,CAAE;AACtD;AAAA,EACN;AAEE,SAAOM,EACJ,QAAQ,YAAYR,EAAkBM,GAAaJ,CAAU,CAAC,EAC9D,QAAQ,YAAYC,EAAkBI,GAAaL,CAAU,CAAC;AACnE,GAEaO,IAAiB;AAAA,EAC5B,GAAGN;AAAA,EACHC;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index299.js","sources":["../../../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":";AACA,SAASA,EAAKC,GAAG;AACb,SAAOA;AACX;AACA,SAASC,EAAkBC,GAAUC,GAAY;AAC7C,EAAIA,MAAe,WAAUA,IAAaJ;AAC1C,MAAIK,IAAS,CAAA,GACTC,IAAW,IACXC,IAAS;AAAA,IACT,MAAM,WAAY;AACd,UAAID;AACA,cAAM,IAAI,MAAM,kGAAkG;AAEtH,aAAID,EAAO,SACAA,EAAOA,EAAO,SAAS,CAAC,IAE5BF;AAAA,IACX;AAAA,IACA,WAAW,SAAUK,GAAM;AACvB,UAAIC,IAAOL,EAAWI,GAAMF,CAAQ;AACpC,aAAAD,EAAO,KAAKI,CAAI,GACT,WAAY;AACf,QAAAJ,IAASA,EAAO,OAAO,SAAUK,GAAG;AAAE,iBAAOA,MAAMD;AAAA,QAAM,CAAC;AAAA,MAC9D;AAAA,IACJ;AAAA,IACA,kBAAkB,SAAUE,GAAI;AAE5B,WADAL,IAAW,IACJD,EAAO,UAAQ;AAClB,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAA,GACTO,EAAI,QAAQD,CAAE;AAAA,MAClB;AACA,MAAAN,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AAAE,iBAAOC,EAAGD,CAAC;AAAA,QAAG;AAAA,QACnC,QAAQ,WAAY;AAAE,iBAAOL;AAAA,QAAQ;AAAA,MACrD;AAAA,IACQ;AAAA,IACA,cAAc,SAAUM,GAAI;AACxB,MAAAL,IAAW;AACX,UAAIO,IAAe,CAAA;AACnB,UAAIR,EAAO,QAAQ;AACf,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAA,GACTO,EAAI,QAAQD,CAAE,GACdE,IAAeR;AAAA,MACnB;AACA,UAAIS,IAAe,WAAY;AAC3B,YAAIF,IAAMC;AACV,QAAAA,IAAe,CAAA,GACfD,EAAI,QAAQD,CAAE;AAAA,MAClB,GACII,IAAQ,WAAY;AAAE,eAAO,QAAQ,QAAO,EAAG,KAAKD,CAAY;AAAA,MAAG;AACvE,MAAAC,EAAK,GACLV,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AACf,UAAAG,EAAa,KAAKH,CAAC,GACnBK,EAAK;AAAA,QACT;AAAA,QACA,QAAQ,SAAUC,GAAQ;AACtB,iBAAAH,IAAeA,EAAa,OAAOG,CAAM,GAClCX;AAAA,QACX;AAAA,MAChB;AAAA,IACQ;AAAA,EACR;AACI,SAAOE;AACX;AAMO,SAASU,EAAoBC,GAAS;AACzC,EAAIA,MAAY,WAAUA,IAAU,CAAA;AACpC,MAAIX,IAASL,EAAkB,IAAI;AACnC,SAAAK,EAAO,UAAUY,EAAS,EAAE,OAAO,IAAM,KAAK,GAAK,GAAID,CAAO,GACvDX;AACX;","x_google_ignoreList":[0]}
package/dist/index30.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __require as r } from "./index50.js";
1
+ import { __require as r } from "./index47.js";
2
2
  var i = r();
3
3
  export {
4
4
  i as j
package/dist/index300.js CHANGED
@@ -1,21 +1,72 @@
1
- const r = /^D+$/, s = /^Y+$/, a = ["D", "DD", "YY", "YYYY"];
2
- function i(e) {
3
- return r.test(e);
4
- }
5
- function f(e) {
6
- return s.test(e);
7
- }
8
- function d(e, o, n) {
9
- const t = c(e, o, n);
10
- if (console.warn(t), a.includes(e)) throw new RangeError(t);
11
- }
12
- function c(e, o, n) {
13
- const t = e[0] === "Y" ? "years" : "days of the month";
14
- return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${o}\`) for formatting ${t} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
15
- }
1
+ import * as d from "react";
2
+ import { styleSingleton as f } from "./index301.js";
3
+ import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index273.js";
4
+ import { getGapWidth as m } from "./index317.js";
5
+ var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
6
+ var r = n.left, i = n.top, s = n.right, c = n.gap;
7
+ return o === void 0 && (o = "margin"), `
8
+ .`.concat(p, ` {
9
+ overflow: hidden `).concat(t, `;
10
+ padding-right: `).concat(c, "px ").concat(t, `;
11
+ }
12
+ body[`).concat(e, `] {
13
+ overflow: hidden `).concat(t, `;
14
+ overscroll-behavior: contain;
15
+ `).concat([
16
+ a && "position: relative ".concat(t, ";"),
17
+ o === "margin" && `
18
+ padding-left: `.concat(r, `px;
19
+ padding-top: `).concat(i, `px;
20
+ padding-right: `).concat(s, `px;
21
+ margin-left:0;
22
+ margin-top:0;
23
+ margin-right: `).concat(c, "px ").concat(t, `;
24
+ `),
25
+ o === "padding" && "padding-right: ".concat(c, "px ").concat(t, ";")
26
+ ].filter(Boolean).join(""), `
27
+ }
28
+
29
+ .`).concat(g, ` {
30
+ right: `).concat(c, "px ").concat(t, `;
31
+ }
32
+
33
+ .`).concat(l, ` {
34
+ margin-right: `).concat(c, "px ").concat(t, `;
35
+ }
36
+
37
+ .`).concat(g, " .").concat(g, ` {
38
+ right: 0 `).concat(t, `;
39
+ }
40
+
41
+ .`).concat(l, " .").concat(l, ` {
42
+ margin-right: 0 `).concat(t, `;
43
+ }
44
+
45
+ body[`).concat(e, `] {
46
+ `).concat(v, ": ").concat(c, `px;
47
+ }
48
+ `);
49
+ }, u = function() {
50
+ var n = parseInt(document.body.getAttribute(e) || "0", 10);
51
+ return isFinite(n) ? n : 0;
52
+ }, x = function() {
53
+ d.useEffect(function() {
54
+ return document.body.setAttribute(e, (u() + 1).toString()), function() {
55
+ var n = u() - 1;
56
+ n <= 0 ? document.body.removeAttribute(e) : document.body.setAttribute(e, n.toString());
57
+ };
58
+ }, []);
59
+ }, C = function(n) {
60
+ var a = n.noRelative, o = n.noImportant, t = n.gapMode, r = t === void 0 ? "margin" : t;
61
+ x();
62
+ var i = d.useMemo(function() {
63
+ return m(r);
64
+ }, [r]);
65
+ return d.createElement(b, { styles: h(i, !a, r, o ? "" : "!important") });
66
+ };
16
67
  export {
17
- i as isProtectedDayOfYearToken,
18
- f as isProtectedWeekYearToken,
19
- d as warnOrThrowProtectedError
68
+ C as RemoveScrollBar,
69
+ e as lockAttribute,
70
+ x as useLockAttribute
20
71
  };
21
72
  //# sourceMappingURL=index300.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index300.js","sources":["../../../node_modules/date-fns/_lib/protectedTokens.js"],"sourcesContent":["const dayOfYearTokenRE = /^D+$/;\nconst weekYearTokenRE = /^Y+$/;\n\nconst throwTokens = [\"D\", \"DD\", \"YY\", \"YYYY\"];\n\nexport function isProtectedDayOfYearToken(token) {\n return dayOfYearTokenRE.test(token);\n}\n\nexport function isProtectedWeekYearToken(token) {\n return weekYearTokenRE.test(token);\n}\n\nexport function warnOrThrowProtectedError(token, format, input) {\n const _message = message(token, format, input);\n console.warn(_message);\n if (throwTokens.includes(token)) throw new RangeError(_message);\n}\n\nfunction message(token, format, input) {\n const subject = token[0] === \"Y\" ? \"years\" : \"days of the month\";\n return `Use \\`${token.toLowerCase()}\\` instead of \\`${token}\\` (in \\`${format}\\`) for formatting ${subject} to the input \\`${input}\\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;\n}\n"],"names":["dayOfYearTokenRE","weekYearTokenRE","throwTokens","isProtectedDayOfYearToken","token","isProtectedWeekYearToken","warnOrThrowProtectedError","format","input","_message","message","subject"],"mappings":"AAAA,MAAMA,IAAmB,QACnBC,IAAkB,QAElBC,IAAc,CAAC,KAAK,MAAM,MAAM,MAAM;AAErC,SAASC,EAA0BC,GAAO;AAC/C,SAAOJ,EAAiB,KAAKI,CAAK;AACpC;AAEO,SAASC,EAAyBD,GAAO;AAC9C,SAAOH,EAAgB,KAAKG,CAAK;AACnC;AAEO,SAASE,EAA0BF,GAAOG,GAAQC,GAAO;AAC9D,QAAMC,IAAWC,EAAQN,GAAOG,GAAQC,CAAK;AAE7C,MADA,QAAQ,KAAKC,CAAQ,GACjBP,EAAY,SAASE,CAAK,EAAG,OAAM,IAAI,WAAWK,CAAQ;AAChE;AAEA,SAASC,EAAQN,GAAOG,GAAQC,GAAO;AACrC,QAAMG,IAAUP,EAAM,CAAC,MAAM,MAAM,UAAU;AAC7C,SAAO,SAASA,EAAM,YAAW,CAAE,mBAAmBA,CAAK,YAAYG,CAAM,sBAAsBI,CAAO,mBAAmBH,CAAK;AACpI;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index300.js","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"],"names":["Style","styleSingleton","lockAttribute","getStyles","_a","allowRelative","gapMode","important","left","top","right","gap","noScrollbarsClassName","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","getCurrentUseCounter","counter","useLockAttribute","React","newCounter","RemoveScrollBar","noRelative","noImportant","_b","getGapWidth"],"mappings":";;;;AAIA,IAAIA,IAAQC,EAAc,GACfC,IAAgB,sBAIvBC,IAAY,SAAUC,GAAIC,GAAeC,GAASC,GAAW;AAC7D,MAAIC,IAAOJ,EAAG,MAAMK,IAAML,EAAG,KAAKM,IAAQN,EAAG,OAAOO,IAAMP,EAAG;AAC7D,SAAIE,MAAY,WAAUA,IAAU,WAC7B;AAAA,KAAQ,OAAOM,GAAuB;AAAA,qBAA0B,EAAE,OAAOL,GAAW;AAAA,mBAAuB,EAAE,OAAOI,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA,QAAiB,EAAE,OAAOL,GAAe;AAAA,sBAA4B,EAAE,OAAOK,GAAW;AAAA;AAAA,KAA4C,EAAE,OAAO;AAAA,IACnSF,KAAiB,sBAAsB,OAAOE,GAAW,GAAG;AAAA,IAC5DD,MAAY,YACR;AAAA,oBAAuB,OAAOE,GAAM;AAAA,kBAAwB,EAAE,OAAOC,GAAK;AAAA,oBAA0B,EAAE,OAAOC,GAAO;AAAA;AAAA;AAAA,mBAAgE,EAAE,OAAOC,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA,KAAS;AAAA,IACxOD,MAAY,aAAa,kBAAkB,OAAOK,GAAK,KAAK,EAAE,OAAOJ,GAAW,GAAG;AAAA,EAC3F,EACS,OAAO,OAAO,EACd,KAAK,EAAE,GAAG;AAAA;AAAA;AAAA,IAAgB,EAAE,OAAOM,GAAoB;AAAA,YAAiB,EAAE,OAAOF,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,GAAoB;AAAA,mBAAwB,EAAE,OAAOH,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOM,GAAoB,IAAI,EAAE,OAAOA,GAAoB;AAAA,cAAmB,EAAE,OAAON,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,GAAoB,IAAI,EAAE,OAAOA,GAAoB;AAAA,qBAA0B,EAAE,OAAOP,GAAW;AAAA;AAAA;AAAA,QAAqB,EAAE,OAAOL,GAAe;AAAA,KAAW,EAAE,OAAOa,GAAwB,IAAI,EAAE,OAAOJ,GAAK;AAAA;AAAA,CAAY;AAC/kB,GACIK,IAAuB,WAAY;AACnC,MAAIC,IAAU,SAAS,SAAS,KAAK,aAAaf,CAAa,KAAK,KAAK,EAAE;AAC3E,SAAO,SAASe,CAAO,IAAIA,IAAU;AACzC,GACWC,IAAmB,WAAY;AACtC,EAAAC,EAAM,UAAU,WAAY;AACxB,oBAAS,KAAK,aAAajB,IAAgBc,MAAyB,GAAG,UAAU,GAC1E,WAAY;AACf,UAAII,IAAaJ,EAAoB,IAAK;AAC1C,MAAII,KAAc,IACd,SAAS,KAAK,gBAAgBlB,CAAa,IAG3C,SAAS,KAAK,aAAaA,GAAekB,EAAW,SAAQ,CAAE;AAAA,IAEvE;AAAA,EACJ,GAAG,CAAA,CAAE;AACT,GAIWC,IAAkB,SAAUjB,GAAI;AACvC,MAAIkB,IAAalB,EAAG,YAAYmB,IAAcnB,EAAG,aAAaoB,IAAKpB,EAAG,SAASE,IAAUkB,MAAO,SAAS,WAAWA;AACpH,EAAAN,EAAgB;AAMhB,MAAIP,IAAMQ,EAAM,QAAQ,WAAY;AAAE,WAAOM,EAAYnB,CAAO;AAAA,EAAG,GAAG,CAACA,CAAO,CAAC;AAC/E,SAAOa,EAAM,cAAcnB,GAAO,EAAE,QAAQG,EAAUQ,GAAK,CAACW,GAAYhB,GAAUiB,IAA6B,KAAf,YAAiB,EAAC,CAAE;AACxH;","x_google_ignoreList":[0]}
package/dist/index301.js CHANGED
@@ -1,10 +1,12 @@
1
- import { isDate as r } from "./index239.js";
2
- import { toDate as t } from "./index292.js";
3
- function f(o) {
4
- return !(!r(o) && typeof o != "number" || isNaN(+t(o)));
5
- }
1
+ import { styleHookSingleton as o } from "./index318.js";
2
+ var s = function() {
3
+ var e = o(), n = function(t) {
4
+ var r = t.styles, l = t.dynamic;
5
+ return e(r, l), null;
6
+ };
7
+ return n;
8
+ };
6
9
  export {
7
- f as default,
8
- f as isValid
10
+ s as styleSingleton
9
11
  };
10
12
  //# sourceMappingURL=index301.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index301.js","sources":["../../../node_modules/date-fns/isValid.js"],"sourcesContent":["import { isDate } from \"./isDate.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * @name isValid\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Argument is converted to Date using `toDate`. See [toDate](https://date-fns.org/docs/toDate)\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * @param date - The date to check\n *\n * @returns The date is valid\n *\n * @example\n * // For the valid date:\n * const result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the value, convertible into a date:\n * const result = isValid(1393804800000)\n * //=> true\n *\n * @example\n * // For the invalid date:\n * const result = isValid(new Date(''))\n * //=> false\n */\nexport function isValid(date) {\n return !((!isDate(date) && typeof date !== \"number\") || isNaN(+toDate(date)));\n}\n\n// Fallback for modularized imports:\nexport default isValid;\n"],"names":["isValid","date","isDate","toDate"],"mappings":";;AAkCO,SAASA,EAAQC,GAAM;AAC5B,SAAO,EAAG,CAACC,EAAOD,CAAI,KAAK,OAAOA,KAAS,YAAa,MAAM,CAACE,EAAOF,CAAI,CAAC;AAC7E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index301.js","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"],"names":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":";AAOU,IAACA,IAAiB,WAAY;AACpC,MAAIC,IAAWC,EAAkB,GAC7BC,IAAQ,SAAUC,GAAI;AACtB,QAAIC,IAASD,EAAG,QAAQE,IAAUF,EAAG;AACrC,WAAAH,EAASI,GAAQC,CAAO,GACjB;AAAA,EACX;AACA,SAAOH;AACX;","x_google_ignoreList":[0]}
package/dist/index302.js CHANGED
@@ -1,12 +1,17 @@
1
- import { differenceInCalendarDays as f } from "./index225.js";
2
- import { startOfYear as e } from "./index251.js";
3
- import { toDate as o } from "./index292.js";
4
- function c(t, a) {
5
- const r = o(t, a?.in);
6
- return f(r, e(r)) + 1;
7
- }
1
+ var r = !1;
2
+ if (typeof window < "u")
3
+ try {
4
+ var e = Object.defineProperty({}, "passive", {
5
+ get: function() {
6
+ return r = !0, !0;
7
+ }
8
+ });
9
+ window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
10
+ } catch {
11
+ r = !1;
12
+ }
13
+ var a = r ? { passive: !1 } : !1;
8
14
  export {
9
- c as default,
10
- c as getDayOfYear
15
+ a as nonPassive
11
16
  };
12
17
  //# sourceMappingURL=index302.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index302.js","sources":["../../../node_modules/date-fns/getDayOfYear.js"],"sourcesContent":["import { differenceInCalendarDays } from \"./differenceInCalendarDays.js\";\nimport { startOfYear } from \"./startOfYear.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getDayOfYear} function options.\n */\n\n/**\n * @name getDayOfYear\n * @category Day Helpers\n * @summary Get the day of the year of the given date.\n *\n * @description\n * Get the day of the year of the given date.\n *\n * @param date - The given date\n * @param options - The options\n *\n * @returns The day of year\n *\n * @example\n * // Which day of the year is 2 July 2014?\n * const result = getDayOfYear(new Date(2014, 6, 2))\n * //=> 183\n */\nexport function getDayOfYear(date, options) {\n const _date = toDate(date, options?.in);\n const diff = differenceInCalendarDays(_date, startOfYear(_date));\n const dayOfYear = diff + 1;\n return dayOfYear;\n}\n\n// Fallback for modularized imports:\nexport default getDayOfYear;\n"],"names":["getDayOfYear","date","options","_date","toDate","differenceInCalendarDays","startOfYear"],"mappings":";;;AA0BO,SAASA,EAAaC,GAAMC,GAAS;AAC1C,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE;AAGtC,SAFaG,EAAyBF,GAAOG,EAAYH,CAAK,CAAC,IACtC;AAE3B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index302.js","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"],"names":["passiveSupported","options","nonPassive"],"mappings":"AAAA,IAAIA,IAAmB;AACvB,IAAI,OAAO,SAAW;AAClB,MAAI;AACA,QAAIC,IAAU,OAAO,eAAe,CAAA,GAAI,WAAW;AAAA,MAC/C,KAAK,WAAY;AACb,eAAAD,IAAmB,IACZ;AAAA,MACX;AAAA,IACZ,CAAS;AAED,WAAO,iBAAiB,QAAQC,GAASA,CAAO,GAEhD,OAAO,oBAAoB,QAAQA,GAASA,CAAO;AAAA,EACvD,QACY;AACR,IAAAD,IAAmB;AAAA,EACvB;AAEM,IAACE,IAAaF,IAAmB,EAAE,SAAS,GAAK,IAAK;","x_google_ignoreList":[0]}
package/dist/index303.js CHANGED
@@ -1,11 +1,69 @@
1
- import { constructFrom as s } from "./index291.js";
2
- import { toDate as c } from "./index292.js";
3
- function m(e, n) {
4
- const t = c(e, n?.in), r = t.getFullYear(), a = t.getMonth(), o = s(t, 0);
5
- return o.setFullYear(r, a + 1, 0), o.setHours(0, 0, 0, 0), o.getDate();
6
- }
1
+ var N = function(r) {
2
+ return r.tagName === "TEXTAREA";
3
+ }, b = function(r, e) {
4
+ if (!(r instanceof Element))
5
+ return !1;
6
+ var t = window.getComputedStyle(r);
7
+ return (
8
+ // not-not-scrollable
9
+ t[e] !== "hidden" && // contains scroll inside self
10
+ !(t.overflowY === t.overflowX && !N(r) && t[e] === "visible")
11
+ );
12
+ }, D = function(r) {
13
+ return b(r, "overflowY");
14
+ }, E = function(r) {
15
+ return b(r, "overflowX");
16
+ }, T = function(r, e) {
17
+ var t = e.ownerDocument, l = e;
18
+ do {
19
+ typeof ShadowRoot < "u" && l instanceof ShadowRoot && (l = l.host);
20
+ var f = g(r, l);
21
+ if (f) {
22
+ var n = m(r, l), i = n[1], o = n[2];
23
+ if (i > o)
24
+ return !0;
25
+ }
26
+ l = l.parentNode;
27
+ } while (l && l !== t.body);
28
+ return !1;
29
+ }, H = function(r) {
30
+ var e = r.scrollTop, t = r.scrollHeight, l = r.clientHeight;
31
+ return [
32
+ e,
33
+ t,
34
+ l
35
+ ];
36
+ }, p = function(r) {
37
+ var e = r.scrollLeft, t = r.scrollWidth, l = r.clientWidth;
38
+ return [
39
+ e,
40
+ t,
41
+ l
42
+ ];
43
+ }, g = function(r, e) {
44
+ return r === "v" ? D(e) : E(e);
45
+ }, m = function(r, e) {
46
+ return r === "v" ? H(e) : p(e);
47
+ }, B = function(r, e) {
48
+ return r === "h" && e === "rtl" ? -1 : 1;
49
+ }, V = function(r, e, t, l, f) {
50
+ var n = B(r, window.getComputedStyle(e).direction), i = n * l, o = t.target, d = e.contains(o), c = !1, s = i > 0, h = 0, S = 0;
51
+ do {
52
+ if (!o)
53
+ break;
54
+ var u = m(r, o), v = u[0], C = u[1], y = u[2], w = C - y - n * v;
55
+ (v || w) && g(r, o) && (h += w, S += v);
56
+ var a = o.parentNode;
57
+ o = a && a.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? a.host : a;
58
+ } while (
59
+ // portaled content
60
+ !d && o !== document.body || // self content
61
+ d && (e.contains(o) || e === o)
62
+ );
63
+ return (s && Math.abs(h) < 1 || !s && Math.abs(S) < 1) && (c = !0), c;
64
+ };
7
65
  export {
8
- m as default,
9
- m as getDaysInMonth
66
+ V as handleScroll,
67
+ T as locationCouldBeScrolled
10
68
  };
11
69
  //# sourceMappingURL=index303.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index303.js","sources":["../../../node_modules/date-fns/getDaysInMonth.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getDaysInMonth} function options.\n */\n\n/**\n * @name getDaysInMonth\n * @category Month Helpers\n * @summary Get the number of days in a month of the given date.\n *\n * @description\n * Get the number of days in a month of the given date, considering the context if provided.\n *\n * @param date - The given date\n * @param options - An object with options\n *\n * @returns The number of days in a month\n *\n * @example\n * // How many days are in February 2000?\n * const result = getDaysInMonth(new Date(2000, 1))\n * //=> 29\n */\nexport function getDaysInMonth(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const monthIndex = _date.getMonth();\n const lastDayOfMonth = constructFrom(_date, 0);\n lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);\n lastDayOfMonth.setHours(0, 0, 0, 0);\n return lastDayOfMonth.getDate();\n}\n\n// Fallback for modularized imports:\nexport default getDaysInMonth;\n"],"names":["getDaysInMonth","date","options","_date","toDate","year","monthIndex","lastDayOfMonth","constructFrom"],"mappings":";;AAyBO,SAASA,EAAeC,GAAMC,GAAS;AAC5C,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAOF,EAAM,YAAW,GACxBG,IAAaH,EAAM,SAAQ,GAC3BI,IAAiBC,EAAcL,GAAO,CAAC;AAC7C,SAAAI,EAAe,YAAYF,GAAMC,IAAa,GAAG,CAAC,GAClDC,EAAe,SAAS,GAAG,GAAG,GAAG,CAAC,GAC3BA,EAAe,QAAO;AAC/B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index303.js","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"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll","parent_1"],"mappings":"AAAA,IAAIA,IAAuB,SAAUC,GAAM;AAEvC,SAAOA,EAAK,YAAY;AAC5B,GACIC,IAAuB,SAAUD,GAAME,GAAU;AACjD,MAAI,EAAEF,aAAgB;AAClB,WAAO;AAEX,MAAIG,IAAS,OAAO,iBAAiBH,CAAI;AACzC;AAAA;AAAA,IAEAG,EAAOD,CAAQ,MAAM;AAAA,IAEjB,EAAEC,EAAO,cAAcA,EAAO,aAAa,CAACJ,EAAqBC,CAAI,KAAKG,EAAOD,CAAQ,MAAM;AAAA;AACvG,GACIE,IAA0B,SAAUJ,GAAM;AAAE,SAAOC,EAAqBD,GAAM,WAAW;AAAG,GAC5FK,IAA0B,SAAUL,GAAM;AAAE,SAAOC,EAAqBD,GAAM,WAAW;AAAG,GACrFM,IAA0B,SAAUC,GAAMP,GAAM;AACvD,MAAIQ,IAAgBR,EAAK,eACrBS,IAAUT;AACd,KAAG;AAEC,IAAI,OAAO,aAAe,OAAeS,aAAmB,eACxDA,IAAUA,EAAQ;AAEtB,QAAIC,IAAeC,EAAuBJ,GAAME,CAAO;AACvD,QAAIC,GAAc;AACd,UAAIE,IAAKC,EAAmBN,GAAME,CAAO,GAAGK,IAAeF,EAAG,CAAC,GAAGG,IAAeH,EAAG,CAAC;AACrF,UAAIE,IAAeC;AACf,eAAO;AAAA,IAEf;AACA,IAAAN,IAAUA,EAAQ;AAAA,EACtB,SAASA,KAAWA,MAAYD,EAAc;AAC9C,SAAO;AACX,GACIQ,IAAsB,SAAUJ,GAAI;AACpC,MAAIK,IAAYL,EAAG,WAAWE,IAAeF,EAAG,cAAcG,IAAeH,EAAG;AAChF,SAAO;AAAA,IACHK;AAAA,IACAH;AAAA,IACAC;AAAA,EACR;AACA,GACIG,IAAsB,SAAUN,GAAI;AACpC,MAAIO,IAAaP,EAAG,YAAYQ,IAAcR,EAAG,aAAaS,IAAcT,EAAG;AAC/E,SAAO;AAAA,IACHO;AAAA,IACAC;AAAA,IACAC;AAAA,EACR;AACA,GACIV,IAAyB,SAAUJ,GAAMP,GAAM;AAC/C,SAAOO,MAAS,MAAMH,EAAwBJ,CAAI,IAAIK,EAAwBL,CAAI;AACtF,GACIa,IAAqB,SAAUN,GAAMP,GAAM;AAC3C,SAAOO,MAAS,MAAMS,EAAoBhB,CAAI,IAAIkB,EAAoBlB,CAAI;AAC9E,GACIsB,IAAqB,SAAUf,GAAMgB,GAAW;AAMhD,SAAOhB,MAAS,OAAOgB,MAAc,QAAQ,KAAK;AACtD,GACWC,IAAe,SAAUjB,GAAMkB,GAAWC,GAAOC,GAAaC,GAAc;AACnF,MAAIC,IAAkBP,EAAmBf,GAAM,OAAO,iBAAiBkB,CAAS,EAAE,SAAS,GACvFK,IAAQD,IAAkBF,GAE1BI,IAASL,EAAM,QACfM,IAAeP,EAAU,SAASM,CAAM,GACxCE,IAAqB,IACrBC,IAAkBJ,IAAQ,GAC1BK,IAAkB,GAClBC,IAAqB;AACzB,KAAG;AACC,QAAI,CAACL;AACD;AAEJ,QAAInB,IAAKC,EAAmBN,GAAMwB,CAAM,GAAGM,IAAWzB,EAAG,CAAC,GAAG0B,IAAW1B,EAAG,CAAC,GAAG2B,IAAW3B,EAAG,CAAC,GAC1F4B,IAAgBF,IAAWC,IAAWV,IAAkBQ;AAC5D,KAAIA,KAAYG,MACR7B,EAAuBJ,GAAMwB,CAAM,MACnCI,KAAmBK,GACnBJ,KAAsBC;AAG9B,QAAII,IAAWV,EAAO;AAGtB,IAAAA,IAAUU,KAAYA,EAAS,aAAa,KAAK,yBAAyBA,EAAS,OAAOA;AAAA,EAC9F;AAAA;AAAA,IAEC,CAACT,KAAgBD,MAAW,SAAS;AAAA,IAEjCC,MAAiBP,EAAU,SAASM,CAAM,KAAKN,MAAcM;AAAA;AAElE,UAAIG,KACkB,KAAK,IAAIC,CAAe,IAAI,KAGzC,CAACD,KACY,KAAK,IAAIE,CAAkB,IAAI,OACjDH,IAAqB,KAElBA;AACX;","x_google_ignoreList":[0]}
package/dist/index304.js CHANGED
@@ -1,12 +1,8 @@
1
- import { constructFrom as a } from "./index291.js";
2
- import { getISOWeekYear as f } from "./index305.js";
3
- import { startOfISOWeek as s } from "./index248.js";
4
- function O(t, e) {
5
- const o = f(t, e), r = a(t, 0);
6
- return r.setFullYear(o, 0, 4), r.setHours(0, 0, 0, 0), s(r);
1
+ function r(t, n) {
2
+ const o = t < 0 ? "-" : "", a = Math.abs(t).toString().padStart(n, "0");
3
+ return o + a;
7
4
  }
8
5
  export {
9
- O as default,
10
- O as startOfISOWeekYear
6
+ r as addLeadingZeros
11
7
  };
12
8
  //# sourceMappingURL=index304.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index304.js","sources":["../../../node_modules/date-fns/startOfISOWeekYear.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\nimport { getISOWeekYear } from \"./getISOWeekYear.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\n\n/**\n * The {@link startOfISOWeekYear} function options.\n */\n\n/**\n * @name startOfISOWeekYear\n * @category ISO Week-Numbering Year Helpers\n * @summary Return the start of an ISO week-numbering year for the given date.\n *\n * @description\n * Return the start of an ISO week-numbering year,\n * which always starts 3 days before the year's first Thursday.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of an ISO week-numbering year\n *\n * @example\n * // The start of an ISO week-numbering year for 2 July 2005:\n * const result = startOfISOWeekYear(new Date(2005, 6, 2))\n * //=> Mon Jan 03 2005 00:00:00\n */\nexport function startOfISOWeekYear(date, options) {\n const year = getISOWeekYear(date, options);\n const fourthOfJanuary = constructFrom(options?.in || date, 0);\n fourthOfJanuary.setFullYear(year, 0, 4);\n fourthOfJanuary.setHours(0, 0, 0, 0);\n return startOfISOWeek(fourthOfJanuary);\n}\n\n// Fallback for modularized imports:\nexport default startOfISOWeekYear;\n"],"names":["startOfISOWeekYear","date","options","year","getISOWeekYear","fourthOfJanuary","constructFrom","startOfISOWeek"],"mappings":";;;AAiCO,SAASA,EAAmBC,GAAMC,GAAS;AAChD,QAAMC,IAAOC,EAAeH,GAAMC,CAAO,GACnCG,IAAkBC,EAA6BL,GAAM,CAAC;AAC5D,SAAAI,EAAgB,YAAYF,GAAM,GAAG,CAAC,GACtCE,EAAgB,SAAS,GAAG,GAAG,GAAG,CAAC,GAC5BE,EAAeF,CAAe;AACvC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index304.js","sources":["../../../node_modules/date-fns/_lib/addLeadingZeros.js"],"sourcesContent":["export function addLeadingZeros(number, targetLength) {\n const sign = number < 0 ? \"-\" : \"\";\n const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n return sign + output;\n}\n"],"names":["addLeadingZeros","number","targetLength","sign","output"],"mappings":"AAAO,SAASA,EAAgBC,GAAQC,GAAc;AACpD,QAAMC,IAAOF,IAAS,IAAI,MAAM,IAC1BG,IAAS,KAAK,IAAIH,CAAM,EAAE,WAAW,SAASC,GAAc,GAAG;AACrE,SAAOC,IAAOC;AAChB;","x_google_ignoreList":[0]}
package/dist/index305.js CHANGED
@@ -1,16 +1,59 @@
1
- import { constructFrom as s } from "./index291.js";
2
- import { startOfISOWeek as a } from "./index248.js";
3
- import { toDate as m } from "./index292.js";
4
- function Y(f, n) {
5
- const e = m(f, n?.in), t = e.getFullYear(), r = s(e, 0);
6
- r.setFullYear(t + 1, 0, 4), r.setHours(0, 0, 0, 0);
7
- const u = a(r), o = s(e, 0);
8
- o.setFullYear(t, 0, 4), o.setHours(0, 0, 0, 0);
9
- const i = a(o);
10
- return e.getTime() >= u.getTime() ? t + 1 : e.getTime() >= i.getTime() ? t : t - 1;
11
- }
1
+ import { addLeadingZeros as n } from "./index304.js";
2
+ const g = {
3
+ // Year
4
+ y(e, t) {
5
+ const r = e.getFullYear(), a = r > 0 ? r : 1 - r;
6
+ return n(t === "yy" ? a % 100 : a, t.length);
7
+ },
8
+ // Month
9
+ M(e, t) {
10
+ const r = e.getMonth();
11
+ return t === "M" ? String(r + 1) : n(r + 1, 2);
12
+ },
13
+ // Day of the month
14
+ d(e, t) {
15
+ return n(e.getDate(), t.length);
16
+ },
17
+ // AM or PM
18
+ a(e, t) {
19
+ const r = e.getHours() / 12 >= 1 ? "pm" : "am";
20
+ switch (t) {
21
+ case "a":
22
+ case "aa":
23
+ return r.toUpperCase();
24
+ case "aaa":
25
+ return r;
26
+ case "aaaaa":
27
+ return r[0];
28
+ default:
29
+ return r === "am" ? "a.m." : "p.m.";
30
+ }
31
+ },
32
+ // Hour [1-12]
33
+ h(e, t) {
34
+ return n(e.getHours() % 12 || 12, t.length);
35
+ },
36
+ // Hour [0-23]
37
+ H(e, t) {
38
+ return n(e.getHours(), t.length);
39
+ },
40
+ // Minute
41
+ m(e, t) {
42
+ return n(e.getMinutes(), t.length);
43
+ },
44
+ // Second
45
+ s(e, t) {
46
+ return n(e.getSeconds(), t.length);
47
+ },
48
+ // Fraction of second
49
+ S(e, t) {
50
+ const r = t.length, a = e.getMilliseconds(), s = Math.trunc(
51
+ a * Math.pow(10, r - 3)
52
+ );
53
+ return n(s, t.length);
54
+ }
55
+ };
12
56
  export {
13
- Y as default,
14
- Y as getISOWeekYear
57
+ g as lightFormatters
15
58
  };
16
59
  //# sourceMappingURL=index305.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index305.js","sources":["../../../node_modules/date-fns/getISOWeekYear.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getISOWeekYear} function options.\n */\n\n/**\n * @name getISOWeekYear\n * @category ISO Week-Numbering Year Helpers\n * @summary Get the ISO week-numbering year of the given date.\n *\n * @description\n * Get the ISO week-numbering year of the given date,\n * which always starts 3 days before the year's first Thursday.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param date - The given date\n *\n * @returns The ISO week-numbering year\n *\n * @example\n * // Which ISO-week numbering year is 2 January 2005?\n * const result = getISOWeekYear(new Date(2005, 0, 2))\n * //=> 2004\n */\nexport function getISOWeekYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n\n const fourthOfJanuaryOfNextYear = constructFrom(_date, 0);\n fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);\n\n const fourthOfJanuaryOfThisYear = constructFrom(_date, 0);\n fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);\n\n if (_date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (_date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// Fallback for modularized imports:\nexport default getISOWeekYear;\n"],"names":["getISOWeekYear","date","options","_date","toDate","year","fourthOfJanuaryOfNextYear","constructFrom","startOfNextYear","startOfISOWeek","fourthOfJanuaryOfThisYear","startOfThisYear"],"mappings":";;;AA4BO,SAASA,EAAeC,GAAMC,GAAS;AAC5C,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAOF,EAAM,YAAW,GAExBG,IAA4BC,EAAcJ,GAAO,CAAC;AACxD,EAAAG,EAA0B,YAAYD,IAAO,GAAG,GAAG,CAAC,GACpDC,EAA0B,SAAS,GAAG,GAAG,GAAG,CAAC;AAC7C,QAAME,IAAkBC,EAAeH,CAAyB,GAE1DI,IAA4BH,EAAcJ,GAAO,CAAC;AACxD,EAAAO,EAA0B,YAAYL,GAAM,GAAG,CAAC,GAChDK,EAA0B,SAAS,GAAG,GAAG,GAAG,CAAC;AAC7C,QAAMC,IAAkBF,EAAeC,CAAyB;AAEhE,SAAIP,EAAM,QAAO,KAAMK,EAAgB,QAAO,IACrCH,IAAO,IACLF,EAAM,QAAO,KAAMQ,EAAgB,QAAO,IAC5CN,IAEAA,IAAO;AAElB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index305.js","sources":["../../../node_modules/date-fns/_lib/format/lightFormatters.js"],"sourcesContent":["import { addLeadingZeros } from \"../addLeadingZeros.js\";\n\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | |\n * | d | Day of month | D | |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | m | Minute | M | Month |\n * | s | Second | S | Fraction of second |\n * | y | Year (abs) | Y | |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n */\n\nexport const lightFormatters = {\n // Year\n y(date, token) {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n\n const signedYear = date.getFullYear();\n // Returns 1 for 1 BC (which is year 0 in JavaScript)\n const year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === \"yy\" ? year % 100 : year, token.length);\n },\n\n // Month\n M(date, token) {\n const month = date.getMonth();\n return token === \"M\" ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n\n // Day of the month\n d(date, token) {\n return addLeadingZeros(date.getDate(), token.length);\n },\n\n // AM or PM\n a(date, token) {\n const dayPeriodEnumValue = date.getHours() / 12 >= 1 ? \"pm\" : \"am\";\n\n switch (token) {\n case \"a\":\n case \"aa\":\n return dayPeriodEnumValue.toUpperCase();\n case \"aaa\":\n return dayPeriodEnumValue;\n case \"aaaaa\":\n return dayPeriodEnumValue[0];\n case \"aaaa\":\n default:\n return dayPeriodEnumValue === \"am\" ? \"a.m.\" : \"p.m.\";\n }\n },\n\n // Hour [1-12]\n h(date, token) {\n return addLeadingZeros(date.getHours() % 12 || 12, token.length);\n },\n\n // Hour [0-23]\n H(date, token) {\n return addLeadingZeros(date.getHours(), token.length);\n },\n\n // Minute\n m(date, token) {\n return addLeadingZeros(date.getMinutes(), token.length);\n },\n\n // Second\n s(date, token) {\n return addLeadingZeros(date.getSeconds(), token.length);\n },\n\n // Fraction of second\n S(date, token) {\n const numberOfDigits = token.length;\n const milliseconds = date.getMilliseconds();\n const fractionalSeconds = Math.trunc(\n milliseconds * Math.pow(10, numberOfDigits - 3),\n );\n return addLeadingZeros(fractionalSeconds, token.length);\n },\n};\n"],"names":["lightFormatters","date","token","signedYear","year","addLeadingZeros","month","dayPeriodEnumValue","numberOfDigits","milliseconds","fractionalSeconds"],"mappings":";AAeY,MAACA,IAAkB;AAAA;AAAA,EAE7B,EAAEC,GAAMC,GAAO;AAUb,UAAMC,IAAaF,EAAK,YAAW,GAE7BG,IAAOD,IAAa,IAAIA,IAAa,IAAIA;AAC/C,WAAOE,EAAgBH,MAAU,OAAOE,IAAO,MAAMA,GAAMF,EAAM,MAAM;AAAA,EACzE;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,UAAMI,IAAQL,EAAK,SAAQ;AAC3B,WAAOC,MAAU,MAAM,OAAOI,IAAQ,CAAC,IAAID,EAAgBC,IAAQ,GAAG,CAAC;AAAA,EACzE;AAAA;AAAA,EAGA,EAAEL,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,QAAO,GAAIC,EAAM,MAAM;AAAA,EACrD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,UAAMK,IAAqBN,EAAK,SAAQ,IAAK,MAAM,IAAI,OAAO;AAE9D,YAAQC,GAAK;AAAA,MACX,KAAK;AAAA,MACL,KAAK;AACH,eAAOK,EAAmB,YAAW;AAAA,MACvC,KAAK;AACH,eAAOA;AAAA,MACT,KAAK;AACH,eAAOA,EAAmB,CAAC;AAAA,MAE7B;AACE,eAAOA,MAAuB,OAAO,SAAS;AAAA,IACtD;AAAA,EACE;AAAA;AAAA,EAGA,EAAEN,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,SAAQ,IAAK,MAAM,IAAIC,EAAM,MAAM;AAAA,EACjE;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,SAAQ,GAAIC,EAAM,MAAM;AAAA,EACtD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,WAAU,GAAIC,EAAM,MAAM;AAAA,EACxD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,WAAU,GAAIC,EAAM,MAAM;AAAA,EACxD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,UAAMM,IAAiBN,EAAM,QACvBO,IAAeR,EAAK,gBAAe,GACnCS,IAAoB,KAAK;AAAA,MAC7BD,IAAe,KAAK,IAAI,IAAID,IAAiB,CAAC;AAAA,IACpD;AACI,WAAOH,EAAgBK,GAAmBR,EAAM,MAAM;AAAA,EACxD;AACF;","x_google_ignoreList":[0]}