@rpcbase/ui 0.172.0 → 0.174.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 (573) hide show
  1. package/dist/components/DayPickerField/index.d.ts.map +1 -1
  2. package/dist/index100.js +5 -9
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +4 -42
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +4 -4
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +7 -52
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +145 -4
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +39 -4
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +4 -15
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +7 -5
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +13 -7
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +13 -16
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index11.js +300 -281
  23. package/dist/index11.js.map +1 -1
  24. package/dist/index110.js +7 -4
  25. package/dist/index110.js.map +1 -1
  26. package/dist/index111.js +31 -4
  27. package/dist/index111.js.map +1 -1
  28. package/dist/index112.js +10 -5
  29. package/dist/index112.js.map +1 -1
  30. package/dist/index113.js +10 -5
  31. package/dist/index113.js.map +1 -1
  32. package/dist/index114.js +8 -4
  33. package/dist/index114.js.map +1 -1
  34. package/dist/index115.js +13 -4
  35. package/dist/index115.js.map +1 -1
  36. package/dist/index116.js +101 -6
  37. package/dist/index116.js.map +1 -1
  38. package/dist/index117.js +20 -25
  39. package/dist/index117.js.map +1 -1
  40. package/dist/index118.js +53 -6
  41. package/dist/index118.js.map +1 -1
  42. package/dist/index119.js +72 -4
  43. package/dist/index119.js.map +1 -1
  44. package/dist/index120.js +9 -6
  45. package/dist/index120.js.map +1 -1
  46. package/dist/index121.js +20 -5
  47. package/dist/index121.js.map +1 -1
  48. package/dist/index122.js +16 -4
  49. package/dist/index122.js.map +1 -1
  50. package/dist/index123.js +23 -5
  51. package/dist/index123.js.map +1 -1
  52. package/dist/index124.js +6 -4
  53. package/dist/index124.js.map +1 -1
  54. package/dist/index125.js +5 -8
  55. package/dist/index125.js.map +1 -1
  56. package/dist/index126.js +23 -5
  57. package/dist/index126.js.map +1 -1
  58. package/dist/index127.js +35 -5
  59. package/dist/index127.js.map +1 -1
  60. package/dist/index128.js +16 -5
  61. package/dist/index128.js.map +1 -1
  62. package/dist/index129.js +6 -6
  63. package/dist/index129.js.map +1 -1
  64. package/dist/index13.js +1 -1
  65. package/dist/index130.js +4 -145
  66. package/dist/index130.js.map +1 -1
  67. package/dist/index131.js +4 -39
  68. package/dist/index131.js.map +1 -1
  69. package/dist/index132.js +4 -4
  70. package/dist/index132.js.map +1 -1
  71. package/dist/index133.js +4 -7
  72. package/dist/index133.js.map +1 -1
  73. package/dist/index134.js +3 -13
  74. package/dist/index134.js.map +1 -1
  75. package/dist/index135.js +6 -13
  76. package/dist/index135.js.map +1 -1
  77. package/dist/index136.js +24 -8
  78. package/dist/index136.js.map +1 -1
  79. package/dist/index137.js +7 -31
  80. package/dist/index137.js.map +1 -1
  81. package/dist/index138.js +6 -10
  82. package/dist/index138.js.map +1 -1
  83. package/dist/index139.js +5 -10
  84. package/dist/index139.js.map +1 -1
  85. package/dist/index14.js +3 -3
  86. package/dist/index140.js +3 -8
  87. package/dist/index140.js.map +1 -1
  88. package/dist/index141.js +3 -13
  89. package/dist/index141.js.map +1 -1
  90. package/dist/index142.js +4 -101
  91. package/dist/index142.js.map +1 -1
  92. package/dist/index143.js +4 -20
  93. package/dist/index143.js.map +1 -1
  94. package/dist/index144.js +4 -53
  95. package/dist/index144.js.map +1 -1
  96. package/dist/index145.js +3 -72
  97. package/dist/index145.js.map +1 -1
  98. package/dist/index146.js +3 -9
  99. package/dist/index146.js.map +1 -1
  100. package/dist/index147.js +3 -20
  101. package/dist/index147.js.map +1 -1
  102. package/dist/index148.js +45 -15
  103. package/dist/index148.js.map +1 -1
  104. package/dist/index149.js +44 -21
  105. package/dist/index149.js.map +1 -1
  106. package/dist/index150.js +205 -6
  107. package/dist/index150.js.map +1 -1
  108. package/dist/index151.js +22 -6
  109. package/dist/index151.js.map +1 -1
  110. package/dist/index152.js +24 -23
  111. package/dist/index152.js.map +1 -1
  112. package/dist/index153.js +397 -32
  113. package/dist/index153.js.map +1 -1
  114. package/dist/index154.js +6 -16
  115. package/dist/index154.js.map +1 -1
  116. package/dist/index155.js +68 -6
  117. package/dist/index155.js.map +1 -1
  118. package/dist/index156.js +2 -5
  119. package/dist/index156.js.map +1 -1
  120. package/dist/index157.js +363 -4
  121. package/dist/index157.js.map +1 -1
  122. package/dist/index158.js +261 -4
  123. package/dist/index158.js.map +1 -1
  124. package/dist/index159.js +60 -4
  125. package/dist/index159.js.map +1 -1
  126. package/dist/index160.js +46 -3
  127. package/dist/index160.js.map +1 -1
  128. package/dist/index161.js +169 -6
  129. package/dist/index161.js.map +1 -1
  130. package/dist/index162.js +110 -24
  131. package/dist/index162.js.map +1 -1
  132. package/dist/index163.js +24 -7
  133. package/dist/index163.js.map +1 -1
  134. package/dist/index164.js +8 -7
  135. package/dist/index164.js.map +1 -1
  136. package/dist/index165.js +4 -5
  137. package/dist/index165.js.map +1 -1
  138. package/dist/index166.js +5 -3
  139. package/dist/index166.js.map +1 -1
  140. package/dist/index167.js +4 -3
  141. package/dist/index167.js.map +1 -1
  142. package/dist/index168.js +466 -4
  143. package/dist/index168.js.map +1 -1
  144. package/dist/index169.js +185 -3
  145. package/dist/index169.js.map +1 -1
  146. package/dist/index170.js +107 -4
  147. package/dist/index170.js.map +1 -1
  148. package/dist/index171.js +262 -3
  149. package/dist/index171.js.map +1 -1
  150. package/dist/index172.js +9 -3
  151. package/dist/index172.js.map +1 -1
  152. package/dist/index173.js +42 -3
  153. package/dist/index173.js.map +1 -1
  154. package/dist/index174.js +4 -24
  155. package/dist/index174.js.map +1 -1
  156. package/dist/index175.js +67 -28
  157. package/dist/index175.js.map +1 -1
  158. package/dist/index176.js +181 -5
  159. package/dist/index176.js.map +1 -1
  160. package/dist/index177.js +41 -62
  161. package/dist/index177.js.map +1 -1
  162. package/dist/index178.js +57 -179
  163. package/dist/index178.js.map +1 -1
  164. package/dist/index179.js +8 -46
  165. package/dist/index179.js.map +1 -1
  166. package/dist/index180.js +65 -12
  167. package/dist/index180.js.map +1 -1
  168. package/dist/index181.js +17 -152
  169. package/dist/index181.js.map +1 -1
  170. package/dist/index182.js +15 -29
  171. package/dist/index182.js.map +1 -1
  172. package/dist/index183.js +5 -9
  173. package/dist/index183.js.map +1 -1
  174. package/dist/index184.js +4 -46
  175. package/dist/index184.js.map +1 -1
  176. package/dist/index185.js +6 -11
  177. package/dist/index185.js.map +1 -1
  178. package/dist/index186.js +4 -44
  179. package/dist/index186.js.map +1 -1
  180. package/dist/index187.js +7 -95
  181. package/dist/index187.js.map +1 -1
  182. package/dist/index188.js +17 -86
  183. package/dist/index188.js.map +1 -1
  184. package/dist/index189.js +5 -105
  185. package/dist/index189.js.map +1 -1
  186. package/dist/index19.js +6 -6
  187. package/dist/index190.js +5 -52
  188. package/dist/index190.js.map +1 -1
  189. package/dist/index191.js +13 -11
  190. package/dist/index191.js.map +1 -1
  191. package/dist/index192.js +10 -37
  192. package/dist/index192.js.map +1 -1
  193. package/dist/index193.js +14 -8
  194. package/dist/index193.js.map +1 -1
  195. package/dist/index194.js +14 -116
  196. package/dist/index194.js.map +1 -1
  197. package/dist/index195.js +5 -17
  198. package/dist/index195.js.map +1 -1
  199. package/dist/index196.js +6 -15
  200. package/dist/index196.js.map +1 -1
  201. package/dist/index197.js +7 -3
  202. package/dist/index197.js.map +1 -1
  203. package/dist/index198.js +6 -36
  204. package/dist/index198.js.map +1 -1
  205. package/dist/index199.js +9 -20
  206. package/dist/index199.js.map +1 -1
  207. package/dist/index20.js +1 -1
  208. package/dist/index200.js +5 -9
  209. package/dist/index200.js.map +1 -1
  210. package/dist/index201.js +5 -8
  211. package/dist/index201.js.map +1 -1
  212. package/dist/index202.js +9 -19
  213. package/dist/index202.js.map +1 -1
  214. package/dist/index203.js +5 -28
  215. package/dist/index203.js.map +1 -1
  216. package/dist/index204.js +5 -16
  217. package/dist/index204.js.map +1 -1
  218. package/dist/index205.js +4 -58
  219. package/dist/index205.js.map +1 -1
  220. package/dist/index206.js +11 -8
  221. package/dist/index206.js.map +1 -1
  222. package/dist/index207.js +10 -66
  223. package/dist/index207.js.map +1 -1
  224. package/dist/index208.js +10 -19
  225. package/dist/index208.js.map +1 -1
  226. package/dist/index209.js +11 -16
  227. package/dist/index209.js.map +1 -1
  228. package/dist/index21.js +1 -1
  229. package/dist/index210.js +11 -5
  230. package/dist/index210.js.map +1 -1
  231. package/dist/index211.js +10 -5
  232. package/dist/index211.js.map +1 -1
  233. package/dist/index212.js +7 -6
  234. package/dist/index212.js.map +1 -1
  235. package/dist/index213.js +6 -4
  236. package/dist/index213.js.map +1 -1
  237. package/dist/index214.js +5 -7
  238. package/dist/index214.js.map +1 -1
  239. package/dist/index215.js +6 -17
  240. package/dist/index215.js.map +1 -1
  241. package/dist/index216.js +7 -5
  242. package/dist/index216.js.map +1 -1
  243. package/dist/index217.js +6 -5
  244. package/dist/index217.js.map +1 -1
  245. package/dist/index218.js +55 -13
  246. package/dist/index218.js.map +1 -1
  247. package/dist/index219.js +16 -10
  248. package/dist/index219.js.map +1 -1
  249. package/dist/index220.js +7 -14
  250. package/dist/index220.js.map +1 -1
  251. package/dist/index221.js +10 -14
  252. package/dist/index221.js.map +1 -1
  253. package/dist/index222.js +10 -5
  254. package/dist/index222.js.map +1 -1
  255. package/dist/index223.js +21 -6
  256. package/dist/index223.js.map +1 -1
  257. package/dist/index224.js +10 -7
  258. package/dist/index224.js.map +1 -1
  259. package/dist/index225.js +9 -6
  260. package/dist/index225.js.map +1 -1
  261. package/dist/index226.js +9 -9
  262. package/dist/index226.js.map +1 -1
  263. package/dist/index227.js +4 -5
  264. package/dist/index227.js.map +1 -1
  265. package/dist/index228.js +5 -5
  266. package/dist/index228.js.map +1 -1
  267. package/dist/index229.js +16 -9
  268. package/dist/index229.js.map +1 -1
  269. package/dist/index23.js +1 -1
  270. package/dist/index230.js +9 -5
  271. package/dist/index230.js.map +1 -1
  272. package/dist/index231.js +18 -5
  273. package/dist/index231.js.map +1 -1
  274. package/dist/index232.js +15 -4
  275. package/dist/index232.js.map +1 -1
  276. package/dist/index233.js +12 -11
  277. package/dist/index233.js.map +1 -1
  278. package/dist/index234.js +29 -10
  279. package/dist/index234.js.map +1 -1
  280. package/dist/index235.js +12 -10
  281. package/dist/index235.js.map +1 -1
  282. package/dist/index236.js +25 -11
  283. package/dist/index236.js.map +1 -1
  284. package/dist/index237.js +5 -11
  285. package/dist/index237.js.map +1 -1
  286. package/dist/index238.js +24 -10
  287. package/dist/index238.js.map +1 -1
  288. package/dist/index239.js +29 -8
  289. package/dist/index239.js.map +1 -1
  290. package/dist/index240.js +5 -7
  291. package/dist/index240.js.map +1 -1
  292. package/dist/index241.js +13 -5
  293. package/dist/index241.js.map +1 -1
  294. package/dist/index242.js +154 -6
  295. package/dist/index242.js.map +1 -1
  296. package/dist/index243.js +30 -7
  297. package/dist/index243.js.map +1 -1
  298. package/dist/index244.js +9 -6
  299. package/dist/index244.js.map +1 -1
  300. package/dist/index245.js +45 -53
  301. package/dist/index245.js.map +1 -1
  302. package/dist/index246.js +11 -23
  303. package/dist/index246.js.map +1 -1
  304. package/dist/index247.js +42 -14
  305. package/dist/index247.js.map +1 -1
  306. package/dist/index248.js +95 -7
  307. package/dist/index248.js.map +1 -1
  308. package/dist/index249.js +85 -9
  309. package/dist/index249.js.map +1 -1
  310. package/dist/index250.js +104 -9
  311. package/dist/index250.js.map +1 -1
  312. package/dist/index251.js +52 -21
  313. package/dist/index251.js.map +1 -1
  314. package/dist/index252.js +11 -10
  315. package/dist/index252.js.map +1 -1
  316. package/dist/index253.js +37 -9
  317. package/dist/index253.js.map +1 -1
  318. package/dist/index254.js +7 -8
  319. package/dist/index254.js.map +1 -1
  320. package/dist/index255.js +116 -4
  321. package/dist/index255.js.map +1 -1
  322. package/dist/index256.js +17 -5
  323. package/dist/index256.js.map +1 -1
  324. package/dist/index257.js +14 -15
  325. package/dist/index257.js.map +1 -1
  326. package/dist/index258.js +3 -9
  327. package/dist/index258.js.map +1 -1
  328. package/dist/index259.js +34 -16
  329. package/dist/index259.js.map +1 -1
  330. package/dist/index260.js +20 -15
  331. package/dist/index260.js.map +1 -1
  332. package/dist/index261.js +9 -12
  333. package/dist/index261.js.map +1 -1
  334. package/dist/index262.js +8 -29
  335. package/dist/index262.js.map +1 -1
  336. package/dist/index263.js +18 -11
  337. package/dist/index263.js.map +1 -1
  338. package/dist/index264.js +26 -23
  339. package/dist/index264.js.map +1 -1
  340. package/dist/index265.js +16 -5
  341. package/dist/index265.js.map +1 -1
  342. package/dist/index266.js +5 -5
  343. package/dist/index266.js.map +1 -1
  344. package/dist/index267.js +19 -3
  345. package/dist/index267.js.map +1 -1
  346. package/dist/index268.js +12 -23
  347. package/dist/index268.js.map +1 -1
  348. package/dist/index269.js +5 -113
  349. package/dist/index269.js.map +1 -1
  350. package/dist/index270.js +3 -16
  351. package/dist/index270.js.map +1 -1
  352. package/dist/index271.js +21 -522
  353. package/dist/index271.js.map +1 -1
  354. package/dist/index272.js +112 -127
  355. package/dist/index272.js.map +1 -1
  356. package/dist/index273.js +15 -133
  357. package/dist/index273.js.map +1 -1
  358. package/dist/index274.js +523 -19
  359. package/dist/index274.js.map +1 -1
  360. package/dist/index275.js +127 -4
  361. package/dist/index275.js.map +1 -1
  362. package/dist/index276.js +133 -18
  363. package/dist/index276.js.map +1 -1
  364. package/dist/index277.js +20 -12
  365. package/dist/index277.js.map +1 -1
  366. package/dist/index278.js +6 -69
  367. package/dist/index278.js.map +1 -1
  368. package/dist/index279.js +6 -9
  369. package/dist/index279.js.map +1 -1
  370. package/dist/index28.js +1 -1
  371. package/dist/index280.js +4 -14
  372. package/dist/index280.js.map +1 -1
  373. package/dist/index281.js +15 -65
  374. package/dist/index281.js.map +1 -1
  375. package/dist/index282.js +8 -64
  376. package/dist/index282.js.map +1 -1
  377. package/dist/index283.js +5 -5
  378. package/dist/index283.js.map +1 -1
  379. package/dist/index284.js +4 -5
  380. package/dist/index284.js.map +1 -1
  381. package/dist/index285.js +546 -4
  382. package/dist/index285.js.map +1 -1
  383. package/dist/index286.js +47 -16
  384. package/dist/index286.js.map +1 -1
  385. package/dist/index287.js +17 -8
  386. package/dist/index287.js.map +1 -1
  387. package/dist/index288.js +6 -5
  388. package/dist/index288.js.map +1 -1
  389. package/dist/index289.js +8 -4
  390. package/dist/index289.js.map +1 -1
  391. package/dist/index29.js +3 -3
  392. package/dist/index290.js +7 -545
  393. package/dist/index290.js.map +1 -1
  394. package/dist/index291.js +9 -47
  395. package/dist/index291.js.map +1 -1
  396. package/dist/index292.js +12 -17
  397. package/dist/index292.js.map +1 -1
  398. package/dist/index293.js +9 -6
  399. package/dist/index293.js.map +1 -1
  400. package/dist/index294.js +13 -8
  401. package/dist/index294.js.map +1 -1
  402. package/dist/index295.js +64 -7
  403. package/dist/index295.js.map +1 -1
  404. package/dist/index296.js +69 -9
  405. package/dist/index296.js.map +1 -1
  406. package/dist/index297.js +9 -13
  407. package/dist/index297.js.map +1 -1
  408. package/dist/index298.js +14 -10
  409. package/dist/index298.js.map +1 -1
  410. package/dist/index299.js +66 -14
  411. package/dist/index299.js.map +1 -1
  412. package/dist/index30.js +24 -24
  413. package/dist/index300.js +4 -3
  414. package/dist/index300.js.map +1 -1
  415. package/dist/index301.js +56 -23
  416. package/dist/index301.js.map +1 -1
  417. package/dist/index303.js +1 -1
  418. package/dist/index305.js +1 -1
  419. package/dist/index306.js +2 -2
  420. package/dist/index307.js +3 -4
  421. package/dist/index307.js.map +1 -1
  422. package/dist/index308.js +23 -56
  423. package/dist/index308.js.map +1 -1
  424. package/dist/index309.js +15 -12
  425. package/dist/index309.js.map +1 -1
  426. package/dist/index31.js +23 -50
  427. package/dist/index31.js.map +1 -1
  428. package/dist/index310.js +26 -25
  429. package/dist/index310.js.map +1 -1
  430. package/dist/index311.js +13 -5
  431. package/dist/index311.js.map +1 -1
  432. package/dist/index312.js +6 -22
  433. package/dist/index312.js.map +1 -1
  434. package/dist/index313.js +22 -15
  435. package/dist/index313.js.map +1 -1
  436. package/dist/index314.js +12 -28
  437. package/dist/index314.js.map +1 -1
  438. package/dist/index315.js +27 -12
  439. package/dist/index315.js.map +1 -1
  440. package/dist/index316.js +5 -7
  441. package/dist/index316.js.map +1 -1
  442. package/dist/index32.js +50 -2640
  443. package/dist/index32.js.map +1 -1
  444. package/dist/index33.js +2598 -351
  445. package/dist/index33.js.map +1 -1
  446. package/dist/index34.js +375 -214
  447. package/dist/index34.js.map +1 -1
  448. package/dist/index35.js +230 -19
  449. package/dist/index35.js.map +1 -1
  450. package/dist/index36.js +18 -138
  451. package/dist/index36.js.map +1 -1
  452. package/dist/index37.js +125 -170
  453. package/dist/index37.js.map +1 -1
  454. package/dist/index38.js +174 -64
  455. package/dist/index38.js.map +1 -1
  456. package/dist/index39.js +74 -88
  457. package/dist/index39.js.map +1 -1
  458. package/dist/index40.js +90 -5
  459. package/dist/index40.js.map +1 -1
  460. package/dist/index41.js +5 -843
  461. package/dist/index41.js.map +1 -1
  462. package/dist/index42.js +832 -54
  463. package/dist/index42.js.map +1 -1
  464. package/dist/index43.js +66 -8
  465. package/dist/index43.js.map +1 -1
  466. package/dist/index44.js +8 -2
  467. package/dist/index44.js.map +1 -1
  468. package/dist/index45.js +2 -24
  469. package/dist/index45.js.map +1 -1
  470. package/dist/index46.js +22 -232
  471. package/dist/index46.js.map +1 -1
  472. package/dist/index47.js +229 -200
  473. package/dist/index47.js.map +1 -1
  474. package/dist/index48.js +205 -4
  475. package/dist/index48.js.map +1 -1
  476. package/dist/index50.js +33 -47
  477. package/dist/index50.js.map +1 -1
  478. package/dist/index52.js +7 -50
  479. package/dist/index52.js.map +1 -1
  480. package/dist/index53.js +11 -7
  481. package/dist/index53.js.map +1 -1
  482. package/dist/index54.js +3 -14
  483. package/dist/index54.js.map +1 -1
  484. package/dist/index55.js +43 -129
  485. package/dist/index55.js.map +1 -1
  486. package/dist/index56.js +50 -10
  487. package/dist/index56.js.map +1 -1
  488. package/dist/index57.js +7 -216
  489. package/dist/index57.js.map +1 -1
  490. package/dist/index58.js +15 -13
  491. package/dist/index58.js.map +1 -1
  492. package/dist/index59.js +132 -32
  493. package/dist/index59.js.map +1 -1
  494. package/dist/index60.js +10 -46
  495. package/dist/index60.js.map +1 -1
  496. package/dist/index61.js +216 -7
  497. package/dist/index61.js.map +1 -1
  498. package/dist/index62.js +12 -49
  499. package/dist/index62.js.map +1 -1
  500. package/dist/index63.js +47 -4
  501. package/dist/index63.js.map +1 -1
  502. package/dist/index64.js +49 -5
  503. package/dist/index64.js.map +1 -1
  504. package/dist/index65.js +4 -28
  505. package/dist/index65.js.map +1 -1
  506. package/dist/index66.js +6 -50
  507. package/dist/index66.js.map +1 -1
  508. package/dist/index67.js +28 -9
  509. package/dist/index67.js.map +1 -1
  510. package/dist/index68.js +50 -6
  511. package/dist/index68.js.map +1 -1
  512. package/dist/index69.js +9 -8
  513. package/dist/index69.js.map +1 -1
  514. package/dist/index70.js +53 -5
  515. package/dist/index70.js.map +1 -1
  516. package/dist/index71.js +2 -54
  517. package/dist/index71.js.map +1 -1
  518. package/dist/index72.js +2 -2
  519. package/dist/index73.js +6 -2
  520. package/dist/index73.js.map +1 -1
  521. package/dist/index74.js +7 -11
  522. package/dist/index74.js.map +1 -1
  523. package/dist/index75.js +5 -46
  524. package/dist/index75.js.map +1 -1
  525. package/dist/index76.js +597 -197
  526. package/dist/index76.js.map +1 -1
  527. package/dist/index77.js +52 -22
  528. package/dist/index77.js.map +1 -1
  529. package/dist/index78.js +4 -24
  530. package/dist/index78.js.map +1 -1
  531. package/dist/index79.js +4 -399
  532. package/dist/index79.js.map +1 -1
  533. package/dist/index80.js +15 -46
  534. package/dist/index80.js.map +1 -1
  535. package/dist/index81.js +5 -605
  536. package/dist/index81.js.map +1 -1
  537. package/dist/index82.js +7 -5
  538. package/dist/index82.js.map +1 -1
  539. package/dist/index83.js +16 -68
  540. package/dist/index83.js.map +1 -1
  541. package/dist/index84.js +5 -2
  542. package/dist/index84.js.map +1 -1
  543. package/dist/index85.js +4 -363
  544. package/dist/index85.js.map +1 -1
  545. package/dist/index86.js +5 -261
  546. package/dist/index86.js.map +1 -1
  547. package/dist/index87.js +5 -60
  548. package/dist/index87.js.map +1 -1
  549. package/dist/index88.js +4 -46
  550. package/dist/index88.js.map +1 -1
  551. package/dist/index89.js +4 -169
  552. package/dist/index89.js.map +1 -1
  553. package/dist/index90.js +6 -109
  554. package/dist/index90.js.map +1 -1
  555. package/dist/index91.js +24 -24
  556. package/dist/index91.js.map +1 -1
  557. package/dist/index92.js +7 -8
  558. package/dist/index92.js.map +1 -1
  559. package/dist/index93.js +4 -4
  560. package/dist/index93.js.map +1 -1
  561. package/dist/index94.js +6 -5
  562. package/dist/index94.js.map +1 -1
  563. package/dist/index95.js +4 -3
  564. package/dist/index95.js.map +1 -1
  565. package/dist/index96.js +4 -466
  566. package/dist/index96.js.map +1 -1
  567. package/dist/index97.js +5 -185
  568. package/dist/index97.js.map +1 -1
  569. package/dist/index98.js +3 -106
  570. package/dist/index98.js.map +1 -1
  571. package/dist/index99.js +8 -262
  572. package/dist/index99.js.map +1 -1
  573. package/package.json +1 -1
package/dist/index299.js CHANGED
@@ -1,17 +1,69 @@
1
- import { getDefaultOptions as k } from "./index289.js";
2
- import { constructFrom as i } from "./index283.js";
3
- import { startOfWeek as l } from "./index243.js";
4
- import { toDate as m } from "./index284.js";
5
- function C(r, e) {
6
- const s = m(r, e?.in), t = s.getFullYear(), o = k(), f = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = i(e?.in || r, 0);
7
- a.setFullYear(t + 1, 0, f), a.setHours(0, 0, 0, 0);
8
- const c = l(a, e), n = i(e?.in || r, 0);
9
- n.setFullYear(t, 0, f), n.setHours(0, 0, 0, 0);
10
- const u = l(n, e);
11
- return +s >= +c ? t + 1 : +s >= +u ? t : t - 1;
12
- }
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
+ };
13
65
  export {
14
- C as default,
15
- C as getWeekYear
66
+ V as handleScroll,
67
+ T as locationCouldBeScrolled
16
68
  };
17
69
  //# sourceMappingURL=index299.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index299.js","sources":["../../../node_modules/date-fns/getWeekYear.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getWeekYear} function options.\n */\n\n/**\n * @name getWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Get the local week-numbering year of the given date.\n *\n * @description\n * Get the local week-numbering year of the given date.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @param date - The given date\n * @param options - An object with options.\n *\n * @returns The local week-numbering year\n *\n * @example\n * // Which week numbering year is 26 December 2004 with the default settings?\n * const result = getWeekYear(new Date(2004, 11, 26))\n * //=> 2005\n *\n * @example\n * // Which week numbering year is 26 December 2004 if week starts on Saturday?\n * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 })\n * //=> 2004\n *\n * @example\n * // Which week numbering year is 26 December 2004 if the first week contains 4 January?\n * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 })\n * //=> 2004\n */\nexport function getWeekYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n\n const defaultOptions = getDefaultOptions();\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const firstWeekOfNextYear = constructFrom(options?.in || date, 0);\n firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n\n const firstWeekOfThisYear = constructFrom(options?.in || date, 0);\n firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n\n if (+_date >= +startOfNextYear) {\n return year + 1;\n } else if (+_date >= +startOfThisYear) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// Fallback for modularized imports:\nexport default getWeekYear;\n"],"names":["getWeekYear","date","options","_date","toDate","year","defaultOptions","getDefaultOptions","firstWeekContainsDate","firstWeekOfNextYear","constructFrom","startOfNextYear","startOfWeek","firstWeekOfThisYear","startOfThisYear"],"mappings":";;;;AA2CO,SAASA,EAAYC,GAAMC,GAAS;AACzC,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAOF,EAAM,YAAW,GAExBG,IAAiBC,EAAiB,GAClCC,IACJN,GAAS,yBACTA,GAAS,QAAQ,SAAS,yBAC1BI,EAAe,yBACfA,EAAe,QAAQ,SAAS,yBAChC,GAEIG,IAAsBC,EAAcR,GAAS,MAAMD,GAAM,CAAC;AAChE,EAAAQ,EAAoB,YAAYJ,IAAO,GAAG,GAAGG,CAAqB,GAClEC,EAAoB,SAAS,GAAG,GAAG,GAAG,CAAC;AACvC,QAAME,IAAkBC,EAAYH,GAAqBP,CAAO,GAE1DW,IAAsBH,EAAcR,GAAS,MAAMD,GAAM,CAAC;AAChE,EAAAY,EAAoB,YAAYR,GAAM,GAAGG,CAAqB,GAC9DK,EAAoB,SAAS,GAAG,GAAG,GAAG,CAAC;AACvC,QAAMC,IAAkBF,EAAYC,GAAqBX,CAAO;AAEhE,SAAI,CAACC,KAAS,CAACQ,IACNN,IAAO,IACL,CAACF,KAAS,CAACW,IACbT,IAEAA,IAAO;AAElB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index299.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/index30.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 "./index130.js";
3
- import { createGetModifiers as Ie } from "./index131.js";
4
- import { getClassNamesForModifiers as Ge } from "./index132.js";
5
- import { getComponents as He } from "./index133.js";
6
- import { getDataAttributes as _e } from "./index134.js";
7
- import { getDefaultClassNames as Ue } from "./index135.js";
8
- import { getFormatters as je } from "./index136.js";
9
- import { getLabels as Ve } from "./index137.js";
10
- import { getMonthOptions as $e } from "./index138.js";
11
- import { getStyleForModifiers as qe } from "./index139.js";
12
- import { getWeekdays as ze } from "./index140.js";
13
- import { getYearOptions as Je } from "./index141.js";
14
- import { createNoonOverrides as Qe } from "./index142.js";
15
- import { UI as n, DayFlag as Xe, SelectionState as w } from "./index143.js";
16
- import { useAnimation as et } from "./index144.js";
17
- import { useCalendar as tt } from "./index145.js";
18
- import { dayPickerContext as at } from "./index146.js";
19
- import { useFocus as ot } from "./index147.js";
20
- import { useSelection as nt } from "./index148.js";
21
- import { convertMatchersToTimeZone as K } from "./index149.js";
22
- import { rangeIncludesDate as st } from "./index150.js";
23
- import { toTimeZone as k } from "./index151.js";
24
- import { isDateRange as rt } from "./index152.js";
25
- import { enUS as it } from "./index153.js";
2
+ import { DateLib as Ze } from "./index104.js";
3
+ import { createGetModifiers as Ie } from "./index105.js";
4
+ import { getClassNamesForModifiers as Ge } from "./index106.js";
5
+ import { getComponents as He } from "./index107.js";
6
+ import { getDataAttributes as _e } from "./index108.js";
7
+ import { getDefaultClassNames as Ue } from "./index109.js";
8
+ import { getFormatters as je } from "./index110.js";
9
+ import { getLabels as Ve } from "./index111.js";
10
+ import { getMonthOptions as $e } from "./index112.js";
11
+ import { getStyleForModifiers as qe } from "./index113.js";
12
+ import { getWeekdays as ze } from "./index114.js";
13
+ import { getYearOptions as Je } from "./index115.js";
14
+ import { createNoonOverrides as Qe } from "./index116.js";
15
+ import { UI as n, DayFlag as Xe, SelectionState as w } from "./index117.js";
16
+ import { useAnimation as et } from "./index118.js";
17
+ import { useCalendar as tt } from "./index119.js";
18
+ import { dayPickerContext as at } from "./index120.js";
19
+ import { useFocus as ot } from "./index121.js";
20
+ import { useSelection as nt } from "./index122.js";
21
+ import { convertMatchersToTimeZone as K } from "./index123.js";
22
+ import { rangeIncludesDate as st } from "./index124.js";
23
+ import { toTimeZone as k } from "./index125.js";
24
+ import { isDateRange as rt } from "./index126.js";
25
+ import { enUS as it } from "./index127.js";
26
26
  function Yt(R) {
27
27
  let e = R;
28
28
  const u = e.timeZone;
package/dist/index300.js CHANGED
@@ -1,7 +1,8 @@
1
- function i(n, t) {
2
- return typeof n == "function" ? n(t) : n && (n.current = t), n;
1
+ function r(t, n) {
2
+ const o = t < 0 ? "-" : "", a = Math.abs(t).toString().padStart(n, "0");
3
+ return o + a;
3
4
  }
4
5
  export {
5
- i as assignRef
6
+ r as addLeadingZeros
6
7
  };
7
8
  //# sourceMappingURL=index300.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index300.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":["assignRef","ref","value"],"mappings":"AAaO,SAASA,EAAUC,GAAKC,GAAO;AAClC,SAAI,OAAOD,KAAQ,aACfA,EAAIC,CAAK,IAEJD,MACLA,EAAI,UAAUC,IAEXD;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index300.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/index301.js CHANGED
@@ -1,26 +1,59 @@
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
- }
1
+ import { addLeadingZeros as n } from "./index300.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
+ };
23
56
  export {
24
- n as useCallbackRef
57
+ g as lightFormatters
25
58
  };
26
59
  //# sourceMappingURL=index301.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index301.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]}
1
+ {"version":3,"file":"index301.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]}
package/dist/index303.js CHANGED
@@ -1,4 +1,4 @@
1
- import { buildFormatLongFn as t } from "./index316.js";
1
+ import { buildFormatLongFn as t } from "./index312.js";
2
2
  const m = {
3
3
  full: "EEEE, MMMM do, y",
4
4
  long: "MMMM do, y",
package/dist/index305.js CHANGED
@@ -1,4 +1,4 @@
1
- import { buildLocalizeFn as e } from "./index313.js";
1
+ import { buildLocalizeFn as e } from "./index309.js";
2
2
  const a = {
3
3
  narrow: ["B", "A"],
4
4
  abbreviated: ["BC", "AD"],
package/dist/index306.js CHANGED
@@ -1,5 +1,5 @@
1
- import { buildMatchFn as a } from "./index314.js";
2
- import { buildMatchPatternFn as i } from "./index315.js";
1
+ import { buildMatchFn as a } from "./index310.js";
2
+ import { buildMatchPatternFn as i } from "./index311.js";
3
3
  const n = /^(\d+)(th|st|nd|rd)?/i, e = /\d+/i, r = {
4
4
  narrow: /^(b|a)/i,
5
5
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
package/dist/index307.js CHANGED
@@ -1,8 +1,7 @@
1
- function r(t, n) {
2
- const o = t < 0 ? "-" : "", a = Math.abs(t).toString().padStart(n, "0");
3
- return o + a;
1
+ function i(n, t) {
2
+ return typeof n == "function" ? n(t) : n && (n.current = t), n;
4
3
  }
5
4
  export {
6
- r as addLeadingZeros
5
+ i as assignRef
7
6
  };
8
7
  //# sourceMappingURL=index307.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index307.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]}
1
+ {"version":3,"file":"index307.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":["assignRef","ref","value"],"mappings":"AAaO,SAASA,EAAUC,GAAKC,GAAO;AAClC,SAAI,OAAOD,KAAQ,aACfA,EAAIC,CAAK,IAEJD,MACLA,EAAI,UAAUC,IAEXD;AACX;","x_google_ignoreList":[0]}
package/dist/index308.js CHANGED
@@ -1,59 +1,26 @@
1
- import { addLeadingZeros as n } from "./index307.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
- };
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
+ }
56
23
  export {
57
- g as lightFormatters
24
+ n as useCallbackRef
58
25
  };
59
26
  //# sourceMappingURL=index308.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index308.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]}
1
+ {"version":3,"file":"index308.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/index309.js CHANGED
@@ -1,16 +1,19 @@
1
- import * as o from "react";
2
- import { stylesheetSingleton as r } from "./index310.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 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];
11
14
  };
12
- };
15
+ }
13
16
  export {
14
- i as styleHookSingleton
17
+ c as buildLocalizeFn
15
18
  };
16
19
  //# sourceMappingURL=index309.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index309.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":"index309.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/index31.js CHANGED
@@ -1,54 +1,27 @@
1
- var C = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "#", "$", "%", "*", "+", ",", "-", ".", ":", ";", "=", "?", "@", "[", "]", "^", "_", "{", "|", "}", "~"], i = (t) => {
2
- let r = 0;
3
- for (let a = 0; a < t.length; a++) {
4
- let l = t[a], o = C.indexOf(l);
5
- r = r * 83 + o;
6
- }
7
- return r;
8
- }, b = (t) => {
9
- let r = t / 255;
10
- return r <= 0.04045 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);
11
- }, d = (t) => {
12
- let r = Math.max(0, Math.min(1, t));
13
- return r <= 31308e-7 ? Math.trunc(r * 12.92 * 255 + 0.5) : Math.trunc((1.055 * Math.pow(r, 0.4166666666666667) - 0.055) * 255 + 0.5);
14
- }, T = (t) => t < 0 ? -1 : 1, m = (t, r) => T(t) * Math.pow(Math.abs(t), r), y = class extends Error {
15
- constructor(t) {
16
- super(t), this.name = "ValidationError", this.message = t;
17
- }
18
- }, U = (t) => {
19
- if (!t || t.length < 6) throw new y("The blurhash string must be at least 6 characters");
20
- let r = i(t[0]), a = Math.floor(r / 9) + 1, l = r % 9 + 1;
21
- if (t.length !== 4 + 2 * l * a) throw new y(`blurhash length mismatch: length is ${t.length} but it should be ${4 + 2 * l * a}`);
22
- }, $ = (t) => {
23
- let r = t >> 16, a = t >> 8 & 255, l = t & 255;
24
- return [b(r), b(a), b(l)];
25
- }, j = (t, r) => {
26
- let a = Math.floor(t / 361), l = Math.floor(t / 19) % 19, o = t % 19;
27
- return [m((a - 9) / 9, 2) * r, m((l - 9) / 9, 2) * r, m((o - 9) / 9, 2) * r];
28
- }, q = (t, r, a, l) => {
29
- U(t), l = l | 1;
30
- let o = i(t[0]), p = Math.floor(o / 9) + 1, c = o % 9 + 1, I = (i(t[1]) + 1) / 166, u = new Array(c * p);
31
- for (let e = 0; e < u.length; e++) if (e === 0) {
32
- let h = i(t.substring(2, 6));
33
- u[e] = $(h);
34
- } else {
35
- let h = i(t.substring(4 + e * 2, 6 + e * 2));
36
- u[e] = j(h, I * l);
37
- }
38
- let n = r * 4, s = new Uint8ClampedArray(n * a);
39
- for (let e = 0; e < a; e++) for (let h = 0; h < r; h++) {
40
- let x = 0, v = 0, E = 0;
41
- for (let M = 0; M < p; M++) for (let f = 0; f < c; f++) {
42
- let g = Math.cos(Math.PI * h * f / r) * Math.cos(Math.PI * e * M / a), w = u[f + M * c];
43
- x += w[0] * g, v += w[1] * g, E += w[2] * g;
1
+ import { defaultDateLib as A } from "./index104.js";
2
+ import { rangeIncludesDate as p } from "./index124.js";
3
+ import { isDatesArray as a, isDateRange as I, isDayOfWeekType as g, isDateInterval as k, isDateAfterType as O, isDateBeforeType as W } from "./index126.js";
4
+ function b(f, n, r = A) {
5
+ const t = Array.isArray(n) ? n : [n], { isSameDay: o, differenceInCalendarDays: i, isAfter: D } = r;
6
+ return t.some((e) => {
7
+ if (typeof e == "boolean")
8
+ return e;
9
+ if (r.isDate(e))
10
+ return o(f, e);
11
+ if (a(e, r))
12
+ return e.some((s) => o(f, s));
13
+ if (I(e))
14
+ return p(e, f, !1, r);
15
+ if (g(e))
16
+ return Array.isArray(e.dayOfWeek) ? e.dayOfWeek.includes(f.getDay()) : e.dayOfWeek === f.getDay();
17
+ if (k(e)) {
18
+ const s = i(e.before, f), l = i(e.after, f), y = s > 0, u = l < 0;
19
+ return D(e.before, e.after) ? u && y : y || u;
44
20
  }
45
- let P = d(x), V = d(v), A = d(E);
46
- s[4 * h + 0 + e * n] = P, s[4 * h + 1 + e * n] = V, s[4 * h + 2 + e * n] = A, s[4 * h + 3 + e * n] = 255;
47
- }
48
- return s;
49
- }, z = q;
21
+ return O(e) ? i(f, e.after) > 0 : W(e) ? i(e.before, f) > 0 : typeof e == "function" ? e(f) : !1;
22
+ });
23
+ }
50
24
  export {
51
- y as ValidationError,
52
- z as decode
25
+ b as dateMatchModifiers
53
26
  };
54
27
  //# sourceMappingURL=index31.js.map