@rpcbase/ui 0.184.0 → 0.185.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 (556) hide show
  1. package/dist/index100.js +106 -4
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +262 -5
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +9 -4
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +42 -4
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +4 -6
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +46 -24
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +52 -7
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +3 -3
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +4 -6
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +15 -5
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +5 -4
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +7 -5
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +16 -4
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +4 -8
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +4 -5
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +4 -3
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +5 -4
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +4 -6
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +4 -145
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +6 -39
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +24 -4
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +6 -7
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +4 -13
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +6 -13
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +5 -7
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +4 -31
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +5 -10
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +4 -10
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +8 -8
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +5 -13
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +4 -101
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +5 -20
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +6 -53
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +145 -72
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +39 -9
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +4 -20
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +7 -16
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +13 -23
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +13 -6
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +7 -5
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +31 -23
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +11 -35
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +11 -16
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +8 -6
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +13 -4
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +101 -4
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +20 -5
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +53 -4
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +72 -3
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +9 -6
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index150.js +21 -24
  102. package/dist/index150.js.map +1 -1
  103. package/dist/index151.js +16 -7
  104. package/dist/index151.js.map +1 -1
  105. package/dist/index152.js +23 -6
  106. package/dist/index152.js.map +1 -1
  107. package/dist/index153.js +6 -5
  108. package/dist/index153.js.map +1 -1
  109. package/dist/index154.js +5 -3
  110. package/dist/index154.js.map +1 -1
  111. package/dist/index155.js +23 -3
  112. package/dist/index155.js.map +1 -1
  113. package/dist/index156.js +35 -5
  114. package/dist/index156.js.map +1 -1
  115. package/dist/index157.js +16 -4
  116. package/dist/index157.js.map +1 -1
  117. package/dist/index158.js +6 -4
  118. package/dist/index158.js.map +1 -1
  119. package/dist/index159.js +4 -3
  120. package/dist/index159.js.map +1 -1
  121. package/dist/index160.js +4 -3
  122. package/dist/index160.js.map +1 -1
  123. package/dist/index161.js +4 -3
  124. package/dist/index161.js.map +1 -1
  125. package/dist/index162.js +4 -5
  126. package/dist/index162.js.map +1 -1
  127. package/dist/index163.js +3 -68
  128. package/dist/index163.js.map +1 -1
  129. package/dist/index164.js +7 -2
  130. package/dist/index164.js.map +1 -1
  131. package/dist/index165.js +24 -364
  132. package/dist/index165.js.map +1 -1
  133. package/dist/index166.js +7 -261
  134. package/dist/index166.js.map +1 -1
  135. package/dist/index167.js +6 -60
  136. package/dist/index167.js.map +1 -1
  137. package/dist/index168.js +5 -46
  138. package/dist/index168.js.map +1 -1
  139. package/dist/index169.js +3 -169
  140. package/dist/index169.js.map +1 -1
  141. package/dist/index170.js +3 -109
  142. package/dist/index170.js.map +1 -1
  143. package/dist/index171.js +4 -24
  144. package/dist/index171.js.map +1 -1
  145. package/dist/index172.js +4 -8
  146. package/dist/index172.js.map +1 -1
  147. package/dist/index173.js +4 -4
  148. package/dist/index173.js.map +1 -1
  149. package/dist/index174.js +3 -5
  150. package/dist/index174.js.map +1 -1
  151. package/dist/index175.js +3 -4
  152. package/dist/index175.js.map +1 -1
  153. package/dist/index176.js +3 -466
  154. package/dist/index176.js.map +1 -1
  155. package/dist/index177.js +44 -183
  156. package/dist/index177.js.map +1 -1
  157. package/dist/index178.js +198 -100
  158. package/dist/index178.js.map +1 -1
  159. package/dist/index179.js +22 -263
  160. package/dist/index179.js.map +1 -1
  161. package/dist/index180.js +24 -9
  162. package/dist/index180.js.map +1 -1
  163. package/dist/index181.js +391 -34
  164. package/dist/index181.js.map +1 -1
  165. package/dist/index182.js +605 -4
  166. package/dist/index182.js.map +1 -1
  167. package/dist/index183.js +12 -23
  168. package/dist/index183.js.map +1 -1
  169. package/dist/index184.js +155 -29
  170. package/dist/index184.js.map +1 -1
  171. package/dist/index185.js +31 -5
  172. package/dist/index185.js.map +1 -1
  173. package/dist/index186.js +9 -67
  174. package/dist/index186.js.map +1 -1
  175. package/dist/index187.js +43 -176
  176. package/dist/index187.js.map +1 -1
  177. package/dist/index188.js +10 -45
  178. package/dist/index188.js.map +1 -1
  179. package/dist/index189.js +44 -58
  180. package/dist/index189.js.map +1 -1
  181. package/dist/index190.js +95 -8
  182. package/dist/index190.js.map +1 -1
  183. package/dist/index191.js +81 -61
  184. package/dist/index191.js.map +1 -1
  185. package/dist/index192.js +103 -17
  186. package/dist/index192.js.map +1 -1
  187. package/dist/index193.js +50 -14
  188. package/dist/index193.js.map +1 -1
  189. package/dist/index194.js +10 -4
  190. package/dist/index194.js.map +1 -1
  191. package/dist/index195.js +36 -4
  192. package/dist/index195.js.map +1 -1
  193. package/dist/index196.js +8 -6
  194. package/dist/index196.js.map +1 -1
  195. package/dist/index197.js +116 -4
  196. package/dist/index197.js.map +1 -1
  197. package/dist/index198.js +17 -7
  198. package/dist/index198.js.map +1 -1
  199. package/dist/index199.js +15 -17
  200. package/dist/index199.js.map +1 -1
  201. package/dist/index200.js +3 -5
  202. package/dist/index200.js.map +1 -1
  203. package/dist/index201.js +36 -5
  204. package/dist/index201.js.map +1 -1
  205. package/dist/index202.js +20 -13
  206. package/dist/index202.js.map +1 -1
  207. package/dist/index203.js +9 -10
  208. package/dist/index203.js.map +1 -1
  209. package/dist/index204.js +8 -14
  210. package/dist/index204.js.map +1 -1
  211. package/dist/index205.js +19 -14
  212. package/dist/index205.js.map +1 -1
  213. package/dist/index206.js +28 -5
  214. package/dist/index206.js.map +1 -1
  215. package/dist/index207.js +16 -6
  216. package/dist/index207.js.map +1 -1
  217. package/dist/index208.js +58 -7
  218. package/dist/index208.js.map +1 -1
  219. package/dist/index209.js +8 -6
  220. package/dist/index209.js.map +1 -1
  221. package/dist/index210.js +66 -9
  222. package/dist/index210.js.map +1 -1
  223. package/dist/index211.js +19 -5
  224. package/dist/index211.js.map +1 -1
  225. package/dist/index212.js +16 -5
  226. package/dist/index212.js.map +1 -1
  227. package/dist/index213.js +5 -9
  228. package/dist/index213.js.map +1 -1
  229. package/dist/index214.js +5 -5
  230. package/dist/index214.js.map +1 -1
  231. package/dist/index215.js +6 -5
  232. package/dist/index215.js.map +1 -1
  233. package/dist/index216.js +4 -4
  234. package/dist/index216.js.map +1 -1
  235. package/dist/index217.js +7 -11
  236. package/dist/index217.js.map +1 -1
  237. package/dist/index218.js +16 -9
  238. package/dist/index218.js.map +1 -1
  239. package/dist/index219.js +5 -10
  240. package/dist/index219.js.map +1 -1
  241. package/dist/index220.js +5 -11
  242. package/dist/index220.js.map +1 -1
  243. package/dist/index221.js +13 -11
  244. package/dist/index221.js.map +1 -1
  245. package/dist/index222.js +10 -10
  246. package/dist/index222.js.map +1 -1
  247. package/dist/index223.js +13 -6
  248. package/dist/index223.js.map +1 -1
  249. package/dist/index224.js +14 -6
  250. package/dist/index224.js.map +1 -1
  251. package/dist/index225.js +4 -4
  252. package/dist/index225.js.map +1 -1
  253. package/dist/index226.js +6 -6
  254. package/dist/index226.js.map +1 -1
  255. package/dist/index227.js +6 -6
  256. package/dist/index227.js.map +1 -1
  257. package/dist/index228.js +5 -5
  258. package/dist/index228.js.map +1 -1
  259. package/dist/index229.js +9 -55
  260. package/dist/index229.js.map +1 -1
  261. package/dist/index230.js +5 -16
  262. package/dist/index230.js.map +1 -1
  263. package/dist/index231.js +5 -7
  264. package/dist/index231.js.map +1 -1
  265. package/dist/index232.js +9 -10
  266. package/dist/index232.js.map +1 -1
  267. package/dist/index233.js +5 -10
  268. package/dist/index233.js.map +1 -1
  269. package/dist/index234.js +5 -21
  270. package/dist/index234.js.map +1 -1
  271. package/dist/index235.js +4 -10
  272. package/dist/index235.js.map +1 -1
  273. package/dist/index236.js +11 -9
  274. package/dist/index236.js.map +1 -1
  275. package/dist/index237.js +10 -9
  276. package/dist/index237.js.map +1 -1
  277. package/dist/index238.js +10 -4
  278. package/dist/index238.js.map +1 -1
  279. package/dist/index239.js +11 -5
  280. package/dist/index239.js.map +1 -1
  281. package/dist/index24.js +1 -1
  282. package/dist/index240.js +11 -16
  283. package/dist/index240.js.map +1 -1
  284. package/dist/index241.js +10 -9
  285. package/dist/index241.js.map +1 -1
  286. package/dist/index242.js +7 -18
  287. package/dist/index242.js.map +1 -1
  288. package/dist/index243.js +6 -15
  289. package/dist/index243.js.map +1 -1
  290. package/dist/index244.js +5 -12
  291. package/dist/index244.js.map +1 -1
  292. package/dist/index245.js +6 -29
  293. package/dist/index245.js.map +1 -1
  294. package/dist/index246.js +7 -12
  295. package/dist/index246.js.map +1 -1
  296. package/dist/index247.js +6 -25
  297. package/dist/index247.js.map +1 -1
  298. package/dist/index248.js +55 -5
  299. package/dist/index248.js.map +1 -1
  300. package/dist/index249.js +16 -13
  301. package/dist/index249.js.map +1 -1
  302. package/dist/index250.js +7 -154
  303. package/dist/index250.js.map +1 -1
  304. package/dist/index251.js +9 -29
  305. package/dist/index251.js.map +1 -1
  306. package/dist/index252.js +10 -9
  307. package/dist/index252.js.map +1 -1
  308. package/dist/index253.js +20 -46
  309. package/dist/index253.js.map +1 -1
  310. package/dist/index254.js +10 -11
  311. package/dist/index254.js.map +1 -1
  312. package/dist/index255.js +9 -44
  313. package/dist/index255.js.map +1 -1
  314. package/dist/index256.js +9 -95
  315. package/dist/index256.js.map +1 -1
  316. package/dist/index257.js +4 -86
  317. package/dist/index257.js.map +1 -1
  318. package/dist/index258.js +5 -105
  319. package/dist/index258.js.map +1 -1
  320. package/dist/index259.js +14 -50
  321. package/dist/index259.js.map +1 -1
  322. package/dist/index260.js +9 -11
  323. package/dist/index260.js.map +1 -1
  324. package/dist/index261.js +18 -37
  325. package/dist/index261.js.map +1 -1
  326. package/dist/index262.js +15 -8
  327. package/dist/index262.js.map +1 -1
  328. package/dist/index263.js +12 -3
  329. package/dist/index263.js.map +1 -1
  330. package/dist/index264.js +29 -9
  331. package/dist/index264.js.map +1 -1
  332. package/dist/index265.js +11 -115
  333. package/dist/index265.js.map +1 -1
  334. package/dist/index266.js +25 -17
  335. package/dist/index266.js.map +1 -1
  336. package/dist/index267.js +5 -15
  337. package/dist/index267.js.map +1 -1
  338. package/dist/index268.js +23 -35
  339. package/dist/index268.js.map +1 -1
  340. package/dist/index269.js +29 -21
  341. package/dist/index269.js.map +1 -1
  342. package/dist/index270.js +5 -9
  343. package/dist/index270.js.map +1 -1
  344. package/dist/index271.js +65 -17
  345. package/dist/index271.js.map +1 -1
  346. package/dist/index272.js +178 -26
  347. package/dist/index272.js.map +1 -1
  348. package/dist/index273.js +44 -14
  349. package/dist/index273.js.map +1 -1
  350. package/dist/index274.js +21 -5
  351. package/dist/index274.js.map +1 -1
  352. package/dist/index275.js +5 -3
  353. package/dist/index275.js.map +1 -1
  354. package/dist/index276.js +19 -24
  355. package/dist/index276.js.map +1 -1
  356. package/dist/index277.js +12 -112
  357. package/dist/index277.js.map +1 -1
  358. package/dist/index278.js +5 -16
  359. package/dist/index278.js.map +1 -1
  360. package/dist/index279.js +3 -525
  361. package/dist/index279.js.map +1 -1
  362. package/dist/index280.js +23 -127
  363. package/dist/index280.js.map +1 -1
  364. package/dist/index281.js +108 -129
  365. package/dist/index281.js.map +1 -1
  366. package/dist/index282.js +15 -4
  367. package/dist/index282.js.map +1 -1
  368. package/dist/index283.js +523 -17
  369. package/dist/index283.js.map +1 -1
  370. package/dist/index284.js +127 -12
  371. package/dist/index284.js.map +1 -1
  372. package/dist/index285.js +133 -20
  373. package/dist/index285.js.map +1 -1
  374. package/dist/index286.js +6 -69
  375. package/dist/index286.js.map +1 -1
  376. package/dist/index287.js +6 -9
  377. package/dist/index287.js.map +1 -1
  378. package/dist/index288.js +4 -14
  379. package/dist/index288.js.map +1 -1
  380. package/dist/index289.js +15 -65
  381. package/dist/index289.js.map +1 -1
  382. package/dist/index290.js +8 -64
  383. package/dist/index290.js.map +1 -1
  384. package/dist/index291.js +5 -5
  385. package/dist/index291.js.map +1 -1
  386. package/dist/index292.js +4 -5
  387. package/dist/index292.js.map +1 -1
  388. package/dist/index293.js +546 -4
  389. package/dist/index293.js.map +1 -1
  390. package/dist/index294.js +47 -16
  391. package/dist/index294.js.map +1 -1
  392. package/dist/index295.js +17 -8
  393. package/dist/index295.js.map +1 -1
  394. package/dist/index296.js +6 -5
  395. package/dist/index296.js.map +1 -1
  396. package/dist/index297.js +8 -4
  397. package/dist/index297.js.map +1 -1
  398. package/dist/index298.js +7 -545
  399. package/dist/index298.js.map +1 -1
  400. package/dist/index299.js +9 -47
  401. package/dist/index299.js.map +1 -1
  402. package/dist/index300.js +12 -17
  403. package/dist/index300.js.map +1 -1
  404. package/dist/index301.js +9 -6
  405. package/dist/index301.js.map +1 -1
  406. package/dist/index302.js +13 -8
  407. package/dist/index302.js.map +1 -1
  408. package/dist/index303.js +64 -7
  409. package/dist/index303.js.map +1 -1
  410. package/dist/index304.js +69 -9
  411. package/dist/index304.js.map +1 -1
  412. package/dist/index305.js +9 -13
  413. package/dist/index305.js.map +1 -1
  414. package/dist/index306.js +14 -10
  415. package/dist/index306.js.map +1 -1
  416. package/dist/index307.js +66 -14
  417. package/dist/index307.js.map +1 -1
  418. package/dist/index308.js +4 -3
  419. package/dist/index308.js.map +1 -1
  420. package/dist/index309.js +56 -23
  421. package/dist/index309.js.map +1 -1
  422. package/dist/index31.js +5 -5
  423. package/dist/index310.js +68 -5
  424. package/dist/index310.js.map +1 -1
  425. package/dist/index311.js +30 -55
  426. package/dist/index311.js.map +1 -1
  427. package/dist/index312.js +9 -68
  428. package/dist/index312.js.map +1 -1
  429. package/dist/index313.js +148 -26
  430. package/dist/index313.js.map +1 -1
  431. package/dist/index314.js +108 -9
  432. package/dist/index314.js.map +1 -1
  433. package/dist/index315.js +4 -153
  434. package/dist/index315.js.map +1 -1
  435. package/dist/index316.js +23 -108
  436. package/dist/index316.js.map +1 -1
  437. package/dist/index317.js +15 -22
  438. package/dist/index317.js.map +1 -1
  439. package/dist/index318.js +28 -12
  440. package/dist/index318.js.map +1 -1
  441. package/dist/index319.js +12 -27
  442. package/dist/index319.js.map +1 -1
  443. package/dist/index32.js +24 -24
  444. package/dist/index320.js +7 -5
  445. package/dist/index320.js.map +1 -1
  446. package/dist/index321.js +22 -15
  447. package/dist/index321.js.map +1 -1
  448. package/dist/index322.js +12 -28
  449. package/dist/index322.js.map +1 -1
  450. package/dist/index323.js +27 -12
  451. package/dist/index323.js.map +1 -1
  452. package/dist/index324.js +5 -7
  453. package/dist/index324.js.map +1 -1
  454. package/dist/index33.js +3 -3
  455. package/dist/index35.js +1 -1
  456. package/dist/index39.js +1 -1
  457. package/dist/index40.js +2 -2
  458. package/dist/index43.js +2 -2
  459. package/dist/index44.js +20 -20
  460. package/dist/index48.js +1 -1
  461. package/dist/index49.js +1 -1
  462. package/dist/index52.js +1 -1
  463. package/dist/index53.js +1 -1
  464. package/dist/index54.js +53 -204
  465. package/dist/index54.js.map +1 -1
  466. package/dist/index55.js +2 -4
  467. package/dist/index55.js.map +1 -1
  468. package/dist/index56.js +2 -7
  469. package/dist/index56.js.map +1 -1
  470. package/dist/index57.js +5 -47
  471. package/dist/index57.js.map +1 -1
  472. package/dist/index58.js +7 -26
  473. package/dist/index58.js.map +1 -1
  474. package/dist/index59.js +5 -50
  475. package/dist/index59.js.map +1 -1
  476. package/dist/index60.js +2 -8
  477. package/dist/index60.js.map +1 -1
  478. package/dist/index61.js +2 -15
  479. package/dist/index61.js.map +1 -1
  480. package/dist/index62.js +5 -132
  481. package/dist/index62.js.map +1 -1
  482. package/dist/index63.js +33 -10
  483. package/dist/index63.js.map +1 -1
  484. package/dist/index64.js +25 -215
  485. package/dist/index64.js.map +1 -1
  486. package/dist/index65.js +8 -13
  487. package/dist/index65.js.map +1 -1
  488. package/dist/index66.js +11 -33
  489. package/dist/index66.js.map +1 -1
  490. package/dist/index67.js +202 -44
  491. package/dist/index67.js.map +1 -1
  492. package/dist/index68.js +3 -7
  493. package/dist/index68.js.map +1 -1
  494. package/dist/index69.js +46 -48
  495. package/dist/index69.js.map +1 -1
  496. package/dist/index70.js +51 -4
  497. package/dist/index70.js.map +1 -1
  498. package/dist/index71.js +7 -5
  499. package/dist/index71.js.map +1 -1
  500. package/dist/index72.js +15 -28
  501. package/dist/index72.js.map +1 -1
  502. package/dist/index73.js +132 -48
  503. package/dist/index73.js.map +1 -1
  504. package/dist/index74.js +11 -9
  505. package/dist/index74.js.map +1 -1
  506. package/dist/index75.js +217 -2
  507. package/dist/index75.js.map +1 -1
  508. package/dist/index76.js +13 -2
  509. package/dist/index76.js.map +1 -1
  510. package/dist/index77.js +46 -11
  511. package/dist/index77.js.map +1 -1
  512. package/dist/index78.js +49 -5
  513. package/dist/index78.js.map +1 -1
  514. package/dist/index79.js +4 -8
  515. package/dist/index79.js.map +1 -1
  516. package/dist/index80.js +5 -5
  517. package/dist/index80.js.map +1 -1
  518. package/dist/index81.js +28 -2
  519. package/dist/index81.js.map +1 -1
  520. package/dist/index82.js +50 -2
  521. package/dist/index82.js.map +1 -1
  522. package/dist/index83.js +9 -54
  523. package/dist/index83.js.map +1 -1
  524. package/dist/index84.js +5 -46
  525. package/dist/index84.js.map +1 -1
  526. package/dist/index85.js +62 -199
  527. package/dist/index85.js.map +1 -1
  528. package/dist/index86.js +2 -22
  529. package/dist/index86.js.map +1 -1
  530. package/dist/index87.js +363 -24
  531. package/dist/index87.js.map +1 -1
  532. package/dist/index88.js +243 -381
  533. package/dist/index88.js.map +1 -1
  534. package/dist/index89.js +55 -41
  535. package/dist/index89.js.map +1 -1
  536. package/dist/index90.js +46 -605
  537. package/dist/index90.js.map +1 -1
  538. package/dist/index91.js +170 -52
  539. package/dist/index91.js.map +1 -1
  540. package/dist/index92.js +109 -4
  541. package/dist/index92.js.map +1 -1
  542. package/dist/index93.js +24 -4
  543. package/dist/index93.js.map +1 -1
  544. package/dist/index94.js +8 -16
  545. package/dist/index94.js.map +1 -1
  546. package/dist/index95.js +4 -5
  547. package/dist/index95.js.map +1 -1
  548. package/dist/index96.js +5 -7
  549. package/dist/index96.js.map +1 -1
  550. package/dist/index97.js +4 -16
  551. package/dist/index97.js.map +1 -1
  552. package/dist/index98.js +466 -4
  553. package/dist/index98.js.map +1 -1
  554. package/dist/index99.js +185 -4
  555. package/dist/index99.js.map +1 -1
  556. package/package.json +1 -1
package/dist/index316.js CHANGED
@@ -1,111 +1,26 @@
1
- import { buildMatchFn as a } from "./index322.js";
2
- import { buildMatchPatternFn as i } from "./index323.js";
3
- const n = /^(\d+)(th|st|nd|rd)?/i, e = /\d+/i, r = {
4
- narrow: /^(b|a)/i,
5
- abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
6
- wide: /^(before christ|before common era|anno domini|common era)/i
7
- }, s = {
8
- any: [/^b/i, /^(a|c)/i]
9
- }, o = {
10
- narrow: /^[1234]/i,
11
- abbreviated: /^q[1234]/i,
12
- wide: /^[1234](th|st|nd|rd)? quarter/i
13
- }, d = {
14
- any: [/1/i, /2/i, /3/i, /4/i]
15
- }, m = {
16
- narrow: /^[jfmasond]/i,
17
- abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
18
- wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
19
- }, h = {
20
- narrow: [
21
- /^j/i,
22
- /^f/i,
23
- /^m/i,
24
- /^a/i,
25
- /^m/i,
26
- /^j/i,
27
- /^j/i,
28
- /^a/i,
29
- /^s/i,
30
- /^o/i,
31
- /^n/i,
32
- /^d/i
33
- ],
34
- any: [
35
- /^ja/i,
36
- /^f/i,
37
- /^mar/i,
38
- /^ap/i,
39
- /^may/i,
40
- /^jun/i,
41
- /^jul/i,
42
- /^au/i,
43
- /^s/i,
44
- /^o/i,
45
- /^n/i,
46
- /^d/i
47
- ]
48
- }, c = {
49
- narrow: /^[smtwf]/i,
50
- short: /^(su|mo|tu|we|th|fr|sa)/i,
51
- abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
52
- wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
53
- }, u = {
54
- narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
55
- any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
56
- }, P = {
57
- narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
58
- any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
59
- }, y = {
60
- any: {
61
- am: /^a/i,
62
- pm: /^p/i,
63
- midnight: /^mi/i,
64
- noon: /^no/i,
65
- morning: /morning/i,
66
- afternoon: /afternoon/i,
67
- evening: /evening/i,
68
- night: /night/i
69
- }
70
- }, l = {
71
- ordinalNumber: i({
72
- matchPattern: n,
73
- parsePattern: e,
74
- valueCallback: (t) => parseInt(t, 10)
75
- }),
76
- era: a({
77
- matchPatterns: r,
78
- defaultMatchWidth: "wide",
79
- parsePatterns: s,
80
- defaultParseWidth: "any"
81
- }),
82
- quarter: a({
83
- matchPatterns: o,
84
- defaultMatchWidth: "wide",
85
- parsePatterns: d,
86
- defaultParseWidth: "any",
87
- valueCallback: (t) => t + 1
88
- }),
89
- month: a({
90
- matchPatterns: m,
91
- defaultMatchWidth: "wide",
92
- parsePatterns: h,
93
- defaultParseWidth: "any"
94
- }),
95
- day: a({
96
- matchPatterns: c,
97
- defaultMatchWidth: "wide",
98
- parsePatterns: u,
99
- defaultParseWidth: "any"
100
- }),
101
- dayPeriod: a({
102
- matchPatterns: P,
103
- defaultMatchWidth: "any",
104
- parsePatterns: y,
105
- defaultParseWidth: "any"
106
- })
107
- };
1
+ import { useState as u } from "react";
2
+ function n(c, r) {
3
+ var e = u(function() {
4
+ return {
5
+ // value
6
+ value: c,
7
+ // last callback
8
+ callback: r,
9
+ // "memoized" public interface
10
+ facade: {
11
+ get current() {
12
+ return e.value;
13
+ },
14
+ set current(a) {
15
+ var t = e.value;
16
+ t !== a && (e.value = a, e.callback(a, t));
17
+ }
18
+ }
19
+ };
20
+ })[0];
21
+ return e.callback = r, e.facade;
22
+ }
108
23
  export {
109
- l as match
24
+ n as useCallbackRef
110
25
  };
111
26
  //# sourceMappingURL=index316.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index316.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/match.js"],"sourcesContent":["import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\n\nconst matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\n\nconst matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i,\n};\nconst parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i],\n};\n\nconst matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i,\n};\nconst parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i],\n};\n\nconst matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i,\n};\nconst parseMonthPatterns = {\n narrow: [\n /^j/i,\n /^f/i,\n /^m/i,\n /^a/i,\n /^m/i,\n /^j/i,\n /^j/i,\n /^a/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n\n any: [\n /^ja/i,\n /^f/i,\n /^mar/i,\n /^ap/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^au/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n};\n\nconst matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i,\n};\nconst parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i],\n};\n\nconst matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i,\n};\nconst parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i,\n },\n};\n\nexport const match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10),\n }),\n\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\",\n }),\n\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1,\n }),\n\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\",\n }),\n\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\",\n }),\n\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\",\n }),\n};\n"],"names":["matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index"],"mappings":";;AAGA,MAAMA,IAA4B,yBAC5BC,IAA4B,QAE5BC,IAAmB;AAAA,EACvB,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,MAAM;AACR,GACMC,IAAmB;AAAA,EACvB,KAAK,CAAC,OAAO,SAAS;AACxB,GAEMC,IAAuB;AAAA,EAC3B,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,MAAM;AACR,GACMC,IAAuB;AAAA,EAC3B,KAAK,CAAC,MAAM,MAAM,MAAM,IAAI;AAC9B,GAEMC,IAAqB;AAAA,EACzB,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,MAAM;AACR,GACMC,IAAqB;AAAA,EACzB,QAAQ;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AAAA,EAEE,KAAK;AAAA,IACH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AACA,GAEMC,IAAmB;AAAA,EACvB,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AACR,GACMC,IAAmB;AAAA,EACvB,QAAQ,CAAC,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,KAAK;AAAA,EACxD,KAAK,CAAC,QAAQ,OAAO,QAAQ,OAAO,QAAQ,OAAO,MAAM;AAC3D,GAEMC,IAAyB;AAAA,EAC7B,QAAQ;AAAA,EACR,KAAK;AACP,GACMC,IAAyB;AAAA,EAC7B,KAAK;AAAA,IACH,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,IACX,SAAS;AAAA,IACT,OAAO;AAAA,EACX;AACA,GAEaC,IAAQ;AAAA,EACnB,eAAeC,EAAoB;AAAA,IACjC,cAAcb;AAAA,IACd,cAAcC;AAAA,IACd,eAAe,CAACa,MAAU,SAASA,GAAO,EAAE;AAAA,EAChD,CAAG;AAAA,EAED,KAAKC,EAAa;AAAA,IAChB,eAAeb;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AAAA,EAED,SAASY,EAAa;AAAA,IACpB,eAAeX;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAe,CAACW,MAAUA,IAAQ;AAAA,EACtC,CAAG;AAAA,EAED,OAAOD,EAAa;AAAA,IAClB,eAAeT;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AAAA,EAED,KAAKQ,EAAa;AAAA,IAChB,eAAeP;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AAAA,EAED,WAAWM,EAAa;AAAA,IACtB,eAAeL;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index316.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":";AAeO,SAASA,EAAeC,GAAcC,GAAU;AACnD,MAAIC,IAAMC,EAAS,WAAY;AAAE,WAAQ;AAAA;AAAA,MAErC,OAAOH;AAAA;AAAA,MAEP,UAAUC;AAAA;AAAA,MAEV,QAAQ;AAAA,QACJ,IAAI,UAAU;AACV,iBAAOC,EAAI;AAAA,QACf;AAAA,QACA,IAAI,QAAQE,GAAO;AACf,cAAIC,IAAOH,EAAI;AACf,UAAIG,MAASD,MACTF,EAAI,QAAQE,GACZF,EAAI,SAASE,GAAOC,CAAI;AAAA,QAEhC;AAAA,MACZ;AAAA,IACA;AAAA,EAAQ,CAAC,EAAE,CAAC;AAER,SAAAH,EAAI,WAAWD,GACRC,EAAI;AACf;","x_google_ignoreList":[0]}
package/dist/index317.js CHANGED
@@ -1,26 +1,19 @@
1
- var a = {
2
- left: 0,
3
- top: 0,
4
- right: 0,
5
- gap: 0
6
- }, e = function(t) {
7
- return parseInt(t || "", 10) || 0;
8
- }, o = function(t) {
9
- var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
10
- return [e(i), e(r), e(d)];
11
- }, f = function(t) {
12
- if (t === void 0 && (t = "margin"), typeof window > "u")
13
- return a;
14
- var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
15
- return {
16
- left: n[0],
17
- top: n[1],
18
- right: n[2],
19
- gap: Math.max(0, r - i + n[2] - n[0])
1
+ function c(t) {
2
+ return (l, e) => {
3
+ const u = e?.context ? String(e.context) : "standalone";
4
+ let d;
5
+ if (u === "formatting" && t.formattingValues) {
6
+ const n = t.defaultFormattingWidth || t.defaultWidth, i = e?.width ? String(e.width) : n;
7
+ d = t.formattingValues[i] || t.formattingValues[n];
8
+ } else {
9
+ const n = t.defaultWidth, i = e?.width ? String(e.width) : t.defaultWidth;
10
+ d = t.values[i] || t.values[n];
11
+ }
12
+ const a = t.argumentCallback ? t.argumentCallback(l) : l;
13
+ return d[a];
20
14
  };
21
- };
15
+ }
22
16
  export {
23
- f as getGapWidth,
24
- a as zeroGap
17
+ c as buildLocalizeFn
25
18
  };
26
19
  //# sourceMappingURL=index317.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index317.js","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"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAG,GAC1DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EAC9E;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index317.js","sources":["../../../node_modules/date-fns/locale/_lib/buildLocalizeFn.js"],"sourcesContent":["/**\n * The localize function argument callback which allows to convert raw value to\n * the actual type.\n *\n * @param value - The value to convert\n *\n * @returns The converted value\n */\n\n/**\n * The map of localized values for each width.\n */\n\n/**\n * The index type of the locale unit value. It types conversion of units of\n * values that don't start at 0 (i.e. quarters).\n */\n\n/**\n * Converts the unit value to the tuple of values.\n */\n\n/**\n * The tuple of localized era values. The first element represents BC,\n * the second element represents AD.\n */\n\n/**\n * The tuple of localized quarter values. The first element represents Q1.\n */\n\n/**\n * The tuple of localized day values. The first element represents Sunday.\n */\n\n/**\n * The tuple of localized month values. The first element represents January.\n */\n\nexport function buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n\n valuesArray =\n args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n\n // @ts-expect-error - For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n return valuesArray[index];\n };\n}\n"],"names":["buildLocalizeFn","args","value","options","context","valuesArray","defaultWidth","width","index"],"mappings":"AAuCO,SAASA,EAAgBC,GAAM;AACpC,SAAO,CAACC,GAAOC,MAAY;AACzB,UAAMC,IAAUD,GAAS,UAAU,OAAOA,EAAQ,OAAO,IAAI;AAE7D,QAAIE;AACJ,QAAID,MAAY,gBAAgBH,EAAK,kBAAkB;AACrD,YAAMK,IAAeL,EAAK,0BAA0BA,EAAK,cACnDM,IAAQJ,GAAS,QAAQ,OAAOA,EAAQ,KAAK,IAAIG;AAEvD,MAAAD,IACEJ,EAAK,iBAAiBM,CAAK,KAAKN,EAAK,iBAAiBK,CAAY;AAAA,IACtE,OAAO;AACL,YAAMA,IAAeL,EAAK,cACpBM,IAAQJ,GAAS,QAAQ,OAAOA,EAAQ,KAAK,IAAIF,EAAK;AAE5D,MAAAI,IAAcJ,EAAK,OAAOM,CAAK,KAAKN,EAAK,OAAOK,CAAY;AAAA,IAC9D;AACA,UAAME,IAAQP,EAAK,mBAAmBA,EAAK,iBAAiBC,CAAK,IAAIA;AAGrE,WAAOG,EAAYG,CAAK;AAAA,EAC1B;AACF;","x_google_ignoreList":[0]}
package/dist/index318.js CHANGED
@@ -1,16 +1,32 @@
1
- import * as o from "react";
2
- import { stylesheetSingleton as r } from "./index319.js";
3
- var i = function() {
4
- var t = r();
5
- return function(e, n) {
6
- o.useEffect(function() {
7
- return t.add(e), function() {
8
- t.remove();
9
- };
10
- }, [e && n]);
1
+ function P(t) {
2
+ return (n, e = {}) => {
3
+ const l = e.width, h = l && t.matchPatterns[l] || t.matchPatterns[t.defaultMatchWidth], i = n.match(h);
4
+ if (!i)
5
+ return null;
6
+ const r = i[0], c = l && t.parsePatterns[l] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? o(c, (u) => u.test(r)) : (
7
+ // [TODO] -- I challenge you to fix the type
8
+ s(c, (u) => u.test(r))
9
+ );
10
+ let a;
11
+ a = t.valueCallback ? t.valueCallback(d) : d, a = e.valueCallback ? (
12
+ // [TODO] -- I challenge you to fix the type
13
+ e.valueCallback(a)
14
+ ) : a;
15
+ const f = n.slice(r.length);
16
+ return { value: a, rest: f };
11
17
  };
12
- };
18
+ }
19
+ function s(t, n) {
20
+ for (const e in t)
21
+ if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
22
+ return e;
23
+ }
24
+ function o(t, n) {
25
+ for (let e = 0; e < t.length; e++)
26
+ if (n(t[e]))
27
+ return e;
28
+ }
13
29
  export {
14
- i as styleHookSingleton
30
+ P as buildMatchFn
15
31
  };
16
32
  //# sourceMappingURL=index318.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index318.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAmB;AAC/B,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAM;AAAA,MAChB;AAAA,IACJ,GAAG,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC5B;AACJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index318.js","sources":["../../../node_modules/date-fns/locale/_lib/buildMatchFn.js"],"sourcesContent":["export function buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n\n const matchPattern =\n (width && args.matchPatterns[width]) ||\n args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n\n const parsePatterns =\n (width && args.parsePatterns[width]) ||\n args.parsePatterns[args.defaultParseWidth];\n\n const key = Array.isArray(parsePatterns)\n ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString))\n : // [TODO] -- I challenge you to fix the type\n findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n\n let value;\n\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback\n ? // [TODO] -- I challenge you to fix the type\n options.valueCallback(value)\n : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n\nfunction findKey(object, predicate) {\n for (const key in object) {\n if (\n Object.prototype.hasOwnProperty.call(object, key) &&\n predicate(object[key])\n ) {\n return key;\n }\n }\n return undefined;\n}\n\nfunction findIndex(array, predicate) {\n for (let key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return undefined;\n}\n"],"names":["buildMatchFn","args","string","options","width","matchPattern","matchResult","matchedString","parsePatterns","key","findIndex","pattern","findKey","value","rest","object","predicate","array"],"mappings":"AAAO,SAASA,EAAaC,GAAM;AACjC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAQD,EAAQ,OAEhBE,IACHD,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GACrCK,IAAcJ,EAAO,MAAMG,CAAY;AAE7C,QAAI,CAACC;AACH,aAAO;AAET,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IACHJ,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GAErCQ,IAAM,MAAM,QAAQD,CAAa,IACnCE,EAAUF,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAAA,MAEjEK,EAAQJ,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAEnE,QAAIM;AAEJ,IAAAA,IAAQZ,EAAK,gBAAgBA,EAAK,cAAcQ,CAAG,IAAIA,GACvDI,IAAQV,EAAQ;AAAA;AAAA,MAEZA,EAAQ,cAAcU,CAAK;AAAA,QAC3BA;AAEJ,UAAMC,IAAOZ,EAAO,MAAMK,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAM,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;AAEA,SAASF,EAAQG,GAAQC,GAAW;AAClC,aAAWP,KAAOM;AAChB,QACE,OAAO,UAAU,eAAe,KAAKA,GAAQN,CAAG,KAChDO,EAAUD,EAAON,CAAG,CAAC;AAErB,aAAOA;AAIb;AAEA,SAASC,EAAUO,GAAOD,GAAW;AACnC,WAASP,IAAM,GAAGA,IAAMQ,EAAM,QAAQR;AACpC,QAAIO,EAAUC,EAAMR,CAAG,CAAC;AACtB,aAAOA;AAIb;","x_google_ignoreList":[0]}
package/dist/index319.js CHANGED
@@ -1,31 +1,16 @@
1
- import { getNonce as o } from "./index320.js";
2
- function r() {
3
- if (!document)
4
- return null;
5
- var t = document.createElement("style");
6
- t.type = "text/css";
7
- var e = o();
8
- return e && t.setAttribute("nonce", e), t;
9
- }
10
- function l(t, e) {
11
- t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
- }
13
- function a(t) {
14
- var e = document.head || document.getElementsByTagName("head")[0];
15
- e.appendChild(t);
16
- }
17
- var c = function() {
18
- var t = 0, e = null;
19
- return {
20
- add: function(n) {
21
- t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
- },
23
- remove: function() {
24
- t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
- }
1
+ function h(t) {
2
+ return (e, c = {}) => {
3
+ const n = e.match(t.matchPattern);
4
+ if (!n) return null;
5
+ const u = n[0], a = e.match(t.parsePattern);
6
+ if (!a) return null;
7
+ let l = t.valueCallback ? t.valueCallback(a[0]) : a[0];
8
+ l = c.valueCallback ? c.valueCallback(l) : l;
9
+ const r = e.slice(u.length);
10
+ return { value: l, rest: r };
26
11
  };
27
- };
12
+ }
28
13
  export {
29
- c as stylesheetSingleton
14
+ h as buildMatchPatternFn
30
15
  };
31
16
  //# sourceMappingURL=index319.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index319.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAQ;AACpB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACJ;AAAA,IACA,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAErB;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index319.js","sources":["../../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js"],"sourcesContent":["export function buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n const matchedString = matchResult[0];\n\n const parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n let value = args.valueCallback\n ? args.valueCallback(parseResult[0])\n : parseResult[0];\n\n // [TODO] I challenge you to fix the type\n value = options.valueCallback ? options.valueCallback(value) : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n"],"names":["buildMatchPatternFn","args","string","options","matchResult","matchedString","parseResult","value","rest"],"mappings":"AAAO,SAASA,EAAoBC,GAAM;AACxC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAcF,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACG,EAAa,QAAO;AACzB,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IAAcJ,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACK,EAAa,QAAO;AACzB,QAAIC,IAAQN,EAAK,gBACbA,EAAK,cAAcK,EAAY,CAAC,CAAC,IACjCA,EAAY,CAAC;AAGjB,IAAAC,IAAQJ,EAAQ,gBAAgBA,EAAQ,cAAcI,CAAK,IAAIA;AAE/D,UAAMC,IAAON,EAAO,MAAMG,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAE,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;","x_google_ignoreList":[0]}
package/dist/index32.js CHANGED
@@ -1,28 +1,28 @@
1
1
  import l, { useMemo as T, useCallback as h, useRef as Re } from "react";
2
- import { DateLib as Ze } from "./index118.js";
3
- import { createGetModifiers as Ie } from "./index119.js";
4
- import { getClassNamesForModifiers as Ge } from "./index120.js";
5
- import { getComponents as He } from "./index121.js";
6
- import { getDataAttributes as _e } from "./index122.js";
7
- import { getDefaultClassNames as Ue } from "./index123.js";
8
- import { getFormatters as je } from "./index124.js";
9
- import { getLabels as Ve } from "./index125.js";
10
- import { getMonthOptions as $e } from "./index126.js";
11
- import { getStyleForModifiers as qe } from "./index127.js";
12
- import { getWeekdays as ze } from "./index128.js";
13
- import { getYearOptions as Je } from "./index129.js";
14
- import { createNoonOverrides as Qe } from "./index130.js";
15
- import { UI as n, DayFlag as Xe, SelectionState as w } from "./index131.js";
16
- import { useAnimation as et } from "./index132.js";
17
- import { useCalendar as tt } from "./index133.js";
18
- import { dayPickerContext as at } from "./index134.js";
19
- import { useFocus as ot } from "./index135.js";
20
- import { useSelection as nt } from "./index136.js";
21
- import { convertMatchersToTimeZone as K } from "./index137.js";
22
- import { rangeIncludesDate as st } from "./index138.js";
23
- import { toTimeZone as k } from "./index139.js";
24
- import { isDateRange as rt } from "./index140.js";
25
- import { enUS as it } from "./index141.js";
2
+ import { DateLib as Ze } from "./index133.js";
3
+ import { createGetModifiers as Ie } from "./index134.js";
4
+ import { getClassNamesForModifiers as Ge } from "./index135.js";
5
+ import { getComponents as He } from "./index136.js";
6
+ import { getDataAttributes as _e } from "./index137.js";
7
+ import { getDefaultClassNames as Ue } from "./index138.js";
8
+ import { getFormatters as je } from "./index139.js";
9
+ import { getLabels as Ve } from "./index140.js";
10
+ import { getMonthOptions as $e } from "./index141.js";
11
+ import { getStyleForModifiers as qe } from "./index142.js";
12
+ import { getWeekdays as ze } from "./index143.js";
13
+ import { getYearOptions as Je } from "./index144.js";
14
+ import { createNoonOverrides as Qe } from "./index145.js";
15
+ import { UI as n, DayFlag as Xe, SelectionState as w } from "./index146.js";
16
+ import { useAnimation as et } from "./index147.js";
17
+ import { useCalendar as tt } from "./index148.js";
18
+ import { dayPickerContext as at } from "./index149.js";
19
+ import { useFocus as ot } from "./index150.js";
20
+ import { useSelection as nt } from "./index151.js";
21
+ import { convertMatchersToTimeZone as K } from "./index152.js";
22
+ import { rangeIncludesDate as st } from "./index153.js";
23
+ import { toTimeZone as k } from "./index154.js";
24
+ import { isDateRange as rt } from "./index155.js";
25
+ import { enUS as it } from "./index156.js";
26
26
  function Yt(R) {
27
27
  let e = R;
28
28
  const u = e.timeZone;
package/dist/index320.js CHANGED
@@ -1,8 +1,10 @@
1
- var e = function() {
2
- if (typeof __webpack_nonce__ < "u")
3
- return __webpack_nonce__;
4
- };
1
+ function r(t) {
2
+ return (d = {}) => {
3
+ const n = d.width ? String(d.width) : t.defaultWidth;
4
+ return t.formats[n] || t.formats[t.defaultWidth];
5
+ };
6
+ }
5
7
  export {
6
- e as getNonce
8
+ r as buildFormatLongFn
7
9
  };
8
10
  //# sourceMappingURL=index320.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index320.js","sources":["../../../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index320.js","sources":["../../../node_modules/date-fns/locale/_lib/buildFormatLongFn.js"],"sourcesContent":["export function buildFormatLongFn(args) {\n return (options = {}) => {\n // TODO: Remove String()\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n"],"names":["buildFormatLongFn","args","options","width"],"mappings":"AAAO,SAASA,EAAkBC,GAAM;AACtC,SAAO,CAACC,IAAU,OAAO;AAEvB,UAAMC,IAAQD,EAAQ,QAAQ,OAAOA,EAAQ,KAAK,IAAID,EAAK;AAE3D,WADeA,EAAK,QAAQE,CAAK,KAAKF,EAAK,QAAQA,EAAK,YAAY;AAAA,EAEtE;AACF;","x_google_ignoreList":[0]}
package/dist/index321.js CHANGED
@@ -1,19 +1,26 @@
1
- function c(t) {
2
- return (l, e) => {
3
- const u = e?.context ? String(e.context) : "standalone";
4
- let d;
5
- if (u === "formatting" && t.formattingValues) {
6
- const n = t.defaultFormattingWidth || t.defaultWidth, i = e?.width ? String(e.width) : n;
7
- d = t.formattingValues[i] || t.formattingValues[n];
8
- } else {
9
- const n = t.defaultWidth, i = e?.width ? String(e.width) : t.defaultWidth;
10
- d = t.values[i] || t.values[n];
11
- }
12
- const a = t.argumentCallback ? t.argumentCallback(l) : l;
13
- return d[a];
1
+ var a = {
2
+ left: 0,
3
+ top: 0,
4
+ right: 0,
5
+ gap: 0
6
+ }, e = function(t) {
7
+ return parseInt(t || "", 10) || 0;
8
+ }, o = function(t) {
9
+ var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
10
+ return [e(i), e(r), e(d)];
11
+ }, f = function(t) {
12
+ if (t === void 0 && (t = "margin"), typeof window > "u")
13
+ return a;
14
+ var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
15
+ return {
16
+ left: n[0],
17
+ top: n[1],
18
+ right: n[2],
19
+ gap: Math.max(0, r - i + n[2] - n[0])
14
20
  };
15
- }
21
+ };
16
22
  export {
17
- c as buildLocalizeFn
23
+ f as getGapWidth,
24
+ a as zeroGap
18
25
  };
19
26
  //# sourceMappingURL=index321.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index321.js","sources":["../../../node_modules/date-fns/locale/_lib/buildLocalizeFn.js"],"sourcesContent":["/**\n * The localize function argument callback which allows to convert raw value to\n * the actual type.\n *\n * @param value - The value to convert\n *\n * @returns The converted value\n */\n\n/**\n * The map of localized values for each width.\n */\n\n/**\n * The index type of the locale unit value. It types conversion of units of\n * values that don't start at 0 (i.e. quarters).\n */\n\n/**\n * Converts the unit value to the tuple of values.\n */\n\n/**\n * The tuple of localized era values. The first element represents BC,\n * the second element represents AD.\n */\n\n/**\n * The tuple of localized quarter values. The first element represents Q1.\n */\n\n/**\n * The tuple of localized day values. The first element represents Sunday.\n */\n\n/**\n * The tuple of localized month values. The first element represents January.\n */\n\nexport function buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n\n valuesArray =\n args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n\n // @ts-expect-error - For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n return valuesArray[index];\n };\n}\n"],"names":["buildLocalizeFn","args","value","options","context","valuesArray","defaultWidth","width","index"],"mappings":"AAuCO,SAASA,EAAgBC,GAAM;AACpC,SAAO,CAACC,GAAOC,MAAY;AACzB,UAAMC,IAAUD,GAAS,UAAU,OAAOA,EAAQ,OAAO,IAAI;AAE7D,QAAIE;AACJ,QAAID,MAAY,gBAAgBH,EAAK,kBAAkB;AACrD,YAAMK,IAAeL,EAAK,0BAA0BA,EAAK,cACnDM,IAAQJ,GAAS,QAAQ,OAAOA,EAAQ,KAAK,IAAIG;AAEvD,MAAAD,IACEJ,EAAK,iBAAiBM,CAAK,KAAKN,EAAK,iBAAiBK,CAAY;AAAA,IACtE,OAAO;AACL,YAAMA,IAAeL,EAAK,cACpBM,IAAQJ,GAAS,QAAQ,OAAOA,EAAQ,KAAK,IAAIF,EAAK;AAE5D,MAAAI,IAAcJ,EAAK,OAAOM,CAAK,KAAKN,EAAK,OAAOK,CAAY;AAAA,IAC9D;AACA,UAAME,IAAQP,EAAK,mBAAmBA,EAAK,iBAAiBC,CAAK,IAAIA;AAGrE,WAAOG,EAAYG,CAAK;AAAA,EAC1B;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index321.js","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"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAG,GAC1DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EAC9E;AACA;","x_google_ignoreList":[0]}
package/dist/index322.js CHANGED
@@ -1,32 +1,16 @@
1
- function P(t) {
2
- return (n, e = {}) => {
3
- const l = e.width, h = l && t.matchPatterns[l] || t.matchPatterns[t.defaultMatchWidth], i = n.match(h);
4
- if (!i)
5
- return null;
6
- const r = i[0], c = l && t.parsePatterns[l] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? o(c, (u) => u.test(r)) : (
7
- // [TODO] -- I challenge you to fix the type
8
- s(c, (u) => u.test(r))
9
- );
10
- let a;
11
- a = t.valueCallback ? t.valueCallback(d) : d, a = e.valueCallback ? (
12
- // [TODO] -- I challenge you to fix the type
13
- e.valueCallback(a)
14
- ) : a;
15
- const f = n.slice(r.length);
16
- return { value: a, rest: f };
1
+ import * as o from "react";
2
+ import { stylesheetSingleton as r } from "./index323.js";
3
+ var i = function() {
4
+ var t = r();
5
+ return function(e, n) {
6
+ o.useEffect(function() {
7
+ return t.add(e), function() {
8
+ t.remove();
9
+ };
10
+ }, [e && n]);
17
11
  };
18
- }
19
- function s(t, n) {
20
- for (const e in t)
21
- if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
22
- return e;
23
- }
24
- function o(t, n) {
25
- for (let e = 0; e < t.length; e++)
26
- if (n(t[e]))
27
- return e;
28
- }
12
+ };
29
13
  export {
30
- P as buildMatchFn
14
+ i as styleHookSingleton
31
15
  };
32
16
  //# sourceMappingURL=index322.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index322.js","sources":["../../../node_modules/date-fns/locale/_lib/buildMatchFn.js"],"sourcesContent":["export function buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n\n const matchPattern =\n (width && args.matchPatterns[width]) ||\n args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n\n const parsePatterns =\n (width && args.parsePatterns[width]) ||\n args.parsePatterns[args.defaultParseWidth];\n\n const key = Array.isArray(parsePatterns)\n ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString))\n : // [TODO] -- I challenge you to fix the type\n findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n\n let value;\n\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback\n ? // [TODO] -- I challenge you to fix the type\n options.valueCallback(value)\n : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n\nfunction findKey(object, predicate) {\n for (const key in object) {\n if (\n Object.prototype.hasOwnProperty.call(object, key) &&\n predicate(object[key])\n ) {\n return key;\n }\n }\n return undefined;\n}\n\nfunction findIndex(array, predicate) {\n for (let key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return undefined;\n}\n"],"names":["buildMatchFn","args","string","options","width","matchPattern","matchResult","matchedString","parsePatterns","key","findIndex","pattern","findKey","value","rest","object","predicate","array"],"mappings":"AAAO,SAASA,EAAaC,GAAM;AACjC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAQD,EAAQ,OAEhBE,IACHD,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GACrCK,IAAcJ,EAAO,MAAMG,CAAY;AAE7C,QAAI,CAACC;AACH,aAAO;AAET,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IACHJ,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GAErCQ,IAAM,MAAM,QAAQD,CAAa,IACnCE,EAAUF,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAAA,MAEjEK,EAAQJ,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAEnE,QAAIM;AAEJ,IAAAA,IAAQZ,EAAK,gBAAgBA,EAAK,cAAcQ,CAAG,IAAIA,GACvDI,IAAQV,EAAQ;AAAA;AAAA,MAEZA,EAAQ,cAAcU,CAAK;AAAA,QAC3BA;AAEJ,UAAMC,IAAOZ,EAAO,MAAMK,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAM,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;AAEA,SAASF,EAAQG,GAAQC,GAAW;AAClC,aAAWP,KAAOM;AAChB,QACE,OAAO,UAAU,eAAe,KAAKA,GAAQN,CAAG,KAChDO,EAAUD,EAAON,CAAG,CAAC;AAErB,aAAOA;AAIb;AAEA,SAASC,EAAUO,GAAOD,GAAW;AACnC,WAASP,IAAM,GAAGA,IAAMQ,EAAM,QAAQR;AACpC,QAAIO,EAAUC,EAAMR,CAAG,CAAC;AACtB,aAAOA;AAIb;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index322.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAmB;AAC/B,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAM;AAAA,MAChB;AAAA,IACJ,GAAG,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC5B;AACJ;","x_google_ignoreList":[0]}
package/dist/index323.js CHANGED
@@ -1,16 +1,31 @@
1
- function h(t) {
2
- return (e, c = {}) => {
3
- const n = e.match(t.matchPattern);
4
- if (!n) return null;
5
- const u = n[0], a = e.match(t.parsePattern);
6
- if (!a) return null;
7
- let l = t.valueCallback ? t.valueCallback(a[0]) : a[0];
8
- l = c.valueCallback ? c.valueCallback(l) : l;
9
- const r = e.slice(u.length);
10
- return { value: l, rest: r };
11
- };
1
+ import { getNonce as o } from "./index324.js";
2
+ function r() {
3
+ if (!document)
4
+ return null;
5
+ var t = document.createElement("style");
6
+ t.type = "text/css";
7
+ var e = o();
8
+ return e && t.setAttribute("nonce", e), t;
9
+ }
10
+ function l(t, e) {
11
+ t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
+ }
13
+ function a(t) {
14
+ var e = document.head || document.getElementsByTagName("head")[0];
15
+ e.appendChild(t);
12
16
  }
17
+ var c = function() {
18
+ var t = 0, e = null;
19
+ return {
20
+ add: function(n) {
21
+ t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
+ },
23
+ remove: function() {
24
+ t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
+ }
26
+ };
27
+ };
13
28
  export {
14
- h as buildMatchPatternFn
29
+ c as stylesheetSingleton
15
30
  };
16
31
  //# sourceMappingURL=index323.js.map