@rpcbase/ui 0.222.0 → 0.224.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 (549) hide show
  1. package/dist/components/FilesUploadField/index.d.ts.map +1 -1
  2. package/dist/components/I18nField/index.d.ts +7 -2
  3. package/dist/components/I18nField/index.d.ts.map +1 -1
  4. package/dist/components/Image/index.d.ts +14 -5
  5. package/dist/components/Image/index.d.ts.map +1 -1
  6. package/dist/components/ImagesField/index.d.ts.map +1 -1
  7. package/dist/index.js +59 -55
  8. package/dist/index100.js +4 -4
  9. package/dist/index100.js.map +1 -1
  10. package/dist/index101.js +52 -5
  11. package/dist/index101.js.map +1 -1
  12. package/dist/index102.js +4 -6
  13. package/dist/index102.js.map +1 -1
  14. package/dist/index103.js +4 -145
  15. package/dist/index103.js.map +1 -1
  16. package/dist/index104.js +15 -39
  17. package/dist/index104.js.map +1 -1
  18. package/dist/index105.js +5 -4
  19. package/dist/index105.js.map +1 -1
  20. package/dist/index106.js +7 -7
  21. package/dist/index106.js.map +1 -1
  22. package/dist/index107.js +16 -13
  23. package/dist/index107.js.map +1 -1
  24. package/dist/index108.js +4 -13
  25. package/dist/index108.js.map +1 -1
  26. package/dist/index109.js +4 -7
  27. package/dist/index109.js.map +1 -1
  28. package/dist/index11.js +139 -132
  29. package/dist/index11.js.map +1 -1
  30. package/dist/index110.js +5 -31
  31. package/dist/index110.js.map +1 -1
  32. package/dist/index111.js +5 -10
  33. package/dist/index111.js.map +1 -1
  34. package/dist/index112.js +4 -10
  35. package/dist/index112.js.map +1 -1
  36. package/dist/index113.js +4 -8
  37. package/dist/index113.js.map +1 -1
  38. package/dist/index114.js +6 -13
  39. package/dist/index114.js.map +1 -1
  40. package/dist/index115.js +24 -101
  41. package/dist/index115.js.map +1 -1
  42. package/dist/index116.js +7 -20
  43. package/dist/index116.js.map +1 -1
  44. package/dist/index117.js +4 -53
  45. package/dist/index117.js.map +1 -1
  46. package/dist/index118.js +6 -72
  47. package/dist/index118.js.map +1 -1
  48. package/dist/index119.js +5 -9
  49. package/dist/index119.js.map +1 -1
  50. package/dist/index12.js +116 -66
  51. package/dist/index12.js.map +1 -1
  52. package/dist/index120.js +4 -20
  53. package/dist/index120.js.map +1 -1
  54. package/dist/index121.js +5 -16
  55. package/dist/index121.js.map +1 -1
  56. package/dist/index122.js +4 -23
  57. package/dist/index122.js.map +1 -1
  58. package/dist/index123.js +8 -6
  59. package/dist/index123.js.map +1 -1
  60. package/dist/index124.js +5 -5
  61. package/dist/index124.js.map +1 -1
  62. package/dist/index125.js +4 -23
  63. package/dist/index125.js.map +1 -1
  64. package/dist/index126.js +5 -35
  65. package/dist/index126.js.map +1 -1
  66. package/dist/index127.js +7 -16
  67. package/dist/index127.js.map +1 -1
  68. package/dist/index128.js +145 -6
  69. package/dist/index128.js.map +1 -1
  70. package/dist/index129.js +39 -4
  71. package/dist/index129.js.map +1 -1
  72. package/dist/index13.js +17 -16
  73. package/dist/index13.js.map +1 -1
  74. package/dist/index130.js +4 -4
  75. package/dist/index130.js.map +1 -1
  76. package/dist/index131.js +7 -4
  77. package/dist/index131.js.map +1 -1
  78. package/dist/index132.js +13 -4
  79. package/dist/index132.js.map +1 -1
  80. package/dist/index133.js +13 -3
  81. package/dist/index133.js.map +1 -1
  82. package/dist/index134.js +7 -6
  83. package/dist/index134.js.map +1 -1
  84. package/dist/index135.js +32 -24
  85. package/dist/index135.js.map +1 -1
  86. package/dist/index136.js +10 -7
  87. package/dist/index136.js.map +1 -1
  88. package/dist/index137.js +10 -6
  89. package/dist/index137.js.map +1 -1
  90. package/dist/index138.js +8 -5
  91. package/dist/index138.js.map +1 -1
  92. package/dist/index139.js +13 -3
  93. package/dist/index139.js.map +1 -1
  94. package/dist/index140.js +101 -3
  95. package/dist/index140.js.map +1 -1
  96. package/dist/index141.js +20 -5
  97. package/dist/index141.js.map +1 -1
  98. package/dist/index142.js +53 -3
  99. package/dist/index142.js.map +1 -1
  100. package/dist/index143.js +72 -4
  101. package/dist/index143.js.map +1 -1
  102. package/dist/index144.js +9 -3
  103. package/dist/index144.js.map +1 -1
  104. package/dist/index145.js +20 -3
  105. package/dist/index145.js.map +1 -1
  106. package/dist/index146.js +16 -3
  107. package/dist/index146.js.map +1 -1
  108. package/dist/index147.js +21 -44
  109. package/dist/index147.js.map +1 -1
  110. package/dist/index148.js +6 -5
  111. package/dist/index148.js.map +1 -1
  112. package/dist/index149.js +5 -7
  113. package/dist/index149.js.map +1 -1
  114. package/dist/index150.js +23 -5
  115. package/dist/index150.js.map +1 -1
  116. package/dist/index151.js +34 -16
  117. package/dist/index151.js.map +1 -1
  118. package/dist/index152.js +16 -6
  119. package/dist/index152.js.map +1 -1
  120. package/dist/index153.js +6 -5
  121. package/dist/index153.js.map +1 -1
  122. package/dist/index154.js +4 -58
  123. package/dist/index154.js.map +1 -1
  124. package/dist/index155.js +4 -66
  125. package/dist/index155.js.map +1 -1
  126. package/dist/index156.js +4 -6
  127. package/dist/index156.js.map +1 -1
  128. package/dist/index157.js +4 -4
  129. package/dist/index157.js.map +1 -1
  130. package/dist/index158.js +3 -6
  131. package/dist/index158.js.map +1 -1
  132. package/dist/index159.js +6 -16
  133. package/dist/index159.js.map +1 -1
  134. package/dist/index160.js +24 -5
  135. package/dist/index160.js.map +1 -1
  136. package/dist/index161.js +7 -4
  137. package/dist/index161.js.map +1 -1
  138. package/dist/index162.js +6 -12
  139. package/dist/index162.js.map +1 -1
  140. package/dist/index163.js +5 -9
  141. package/dist/index163.js.map +1 -1
  142. package/dist/index164.js +3 -13
  143. package/dist/index164.js.map +1 -1
  144. package/dist/index165.js +3 -13
  145. package/dist/index165.js.map +1 -1
  146. package/dist/index166.js +4 -4
  147. package/dist/index166.js.map +1 -1
  148. package/dist/index167.js +3 -5
  149. package/dist/index167.js.map +1 -1
  150. package/dist/index168.js +4 -6
  151. package/dist/index168.js.map +1 -1
  152. package/dist/index169.js +3 -5
  153. package/dist/index169.js.map +1 -1
  154. package/dist/index170.js +3 -54
  155. package/dist/index170.js.map +1 -1
  156. package/dist/index171.js +3 -8
  157. package/dist/index171.js.map +1 -1
  158. package/dist/index172.js +46 -4
  159. package/dist/index172.js.map +1 -1
  160. package/dist/index173.js +229 -4
  161. package/dist/index173.js.map +1 -1
  162. package/dist/index174.js +22 -9
  163. package/dist/index174.js.map +1 -1
  164. package/dist/index175.js +24 -4
  165. package/dist/index175.js.map +1 -1
  166. package/dist/index176.js +400 -4
  167. package/dist/index176.js.map +1 -1
  168. package/dist/index177.js +13 -3
  169. package/dist/index177.js.map +1 -1
  170. package/dist/index178.js +154 -10
  171. package/dist/index178.js.map +1 -1
  172. package/dist/index179.js +30 -9
  173. package/dist/index179.js.map +1 -1
  174. package/dist/index180.js +9 -9
  175. package/dist/index180.js.map +1 -1
  176. package/dist/index181.js +48 -10
  177. package/dist/index181.js.map +1 -1
  178. package/dist/index182.js +11 -10
  179. package/dist/index182.js.map +1 -1
  180. package/dist/index183.js +44 -9
  181. package/dist/index183.js.map +1 -1
  182. package/dist/index184.js +95 -6
  183. package/dist/index184.js.map +1 -1
  184. package/dist/index185.js +86 -5
  185. package/dist/index185.js.map +1 -1
  186. package/dist/index186.js +105 -4
  187. package/dist/index186.js.map +1 -1
  188. package/dist/index187.js +52 -5
  189. package/dist/index187.js.map +1 -1
  190. package/dist/index188.js +11 -6
  191. package/dist/index188.js.map +1 -1
  192. package/dist/index189.js +37 -5
  193. package/dist/index189.js.map +1 -1
  194. package/dist/index190.js +8 -8
  195. package/dist/index190.js.map +1 -1
  196. package/dist/index191.js +114 -17
  197. package/dist/index191.js.map +1 -1
  198. package/dist/index192.js +16 -45
  199. package/dist/index192.js.map +1 -1
  200. package/dist/index193.js +14 -228
  201. package/dist/index193.js.map +1 -1
  202. package/dist/index194.js +4 -22
  203. package/dist/index194.js.map +1 -1
  204. package/dist/index195.js +36 -24
  205. package/dist/index195.js.map +1 -1
  206. package/dist/index196.js +18 -398
  207. package/dist/index196.js.map +1 -1
  208. package/dist/index197.js +9 -29
  209. package/dist/index197.js.map +1 -1
  210. package/dist/index198.js +8 -12
  211. package/dist/index198.js.map +1 -1
  212. package/dist/index199.js +18 -24
  213. package/dist/index199.js.map +1 -1
  214. package/dist/index200.js +28 -5
  215. package/dist/index200.js.map +1 -1
  216. package/dist/index201.js +14 -14
  217. package/dist/index201.js.map +1 -1
  218. package/dist/index202.js +58 -7
  219. package/dist/index202.js.map +1 -1
  220. package/dist/index203.js +8 -10
  221. package/dist/index203.js.map +1 -1
  222. package/dist/index204.js +65 -9
  223. package/dist/index204.js.map +1 -1
  224. package/dist/index205.js +19 -21
  225. package/dist/index205.js.map +1 -1
  226. package/dist/index206.js +16 -10
  227. package/dist/index206.js.map +1 -1
  228. package/dist/index207.js +5 -9
  229. package/dist/index207.js.map +1 -1
  230. package/dist/index208.js +5 -9
  231. package/dist/index208.js.map +1 -1
  232. package/dist/index209.js +6 -4
  233. package/dist/index209.js.map +1 -1
  234. package/dist/index210.js +4 -5
  235. package/dist/index210.js.map +1 -1
  236. package/dist/index211.js +6 -16
  237. package/dist/index211.js.map +1 -1
  238. package/dist/index212.js +16 -9
  239. package/dist/index212.js.map +1 -1
  240. package/dist/index213.js +4 -18
  241. package/dist/index213.js.map +1 -1
  242. package/dist/index214.js +4 -15
  243. package/dist/index214.js.map +1 -1
  244. package/dist/index215.js +12 -12
  245. package/dist/index215.js.map +1 -1
  246. package/dist/index216.js +9 -5
  247. package/dist/index216.js.map +1 -1
  248. package/dist/index217.js +13 -68
  249. package/dist/index217.js.map +1 -1
  250. package/dist/index218.js +14 -2
  251. package/dist/index218.js.map +1 -1
  252. package/dist/index219.js +4 -363
  253. package/dist/index219.js.map +1 -1
  254. package/dist/index220.js +5 -261
  255. package/dist/index220.js.map +1 -1
  256. package/dist/index221.js +6 -60
  257. package/dist/index221.js.map +1 -1
  258. package/dist/index222.js +5 -46
  259. package/dist/index222.js.map +1 -1
  260. package/dist/index223.js +53 -168
  261. package/dist/index223.js.map +1 -1
  262. package/dist/index224.js +8 -109
  263. package/dist/index224.js.map +1 -1
  264. package/dist/index225.js +4 -24
  265. package/dist/index225.js.map +1 -1
  266. package/dist/index226.js +5 -8
  267. package/dist/index226.js.map +1 -1
  268. package/dist/index227.js +8 -4
  269. package/dist/index227.js.map +1 -1
  270. package/dist/index228.js +4 -5
  271. package/dist/index228.js.map +1 -1
  272. package/dist/index229.js +4 -4
  273. package/dist/index229.js.map +1 -1
  274. package/dist/index230.js +3 -466
  275. package/dist/index230.js.map +1 -1
  276. package/dist/index231.js +10 -185
  277. package/dist/index231.js.map +1 -1
  278. package/dist/index232.js +9 -107
  279. package/dist/index232.js.map +1 -1
  280. package/dist/index233.js +9 -262
  281. package/dist/index233.js.map +1 -1
  282. package/dist/index234.js +10 -9
  283. package/dist/index234.js.map +1 -1
  284. package/dist/index235.js +10 -42
  285. package/dist/index235.js.map +1 -1
  286. package/dist/index236.js +9 -4
  287. package/dist/index236.js.map +1 -1
  288. package/dist/index237.js +6 -4
  289. package/dist/index237.js.map +1 -1
  290. package/dist/index238.js +6 -18
  291. package/dist/index238.js.map +1 -1
  292. package/dist/index239.js +4 -24
  293. package/dist/index239.js.map +1 -1
  294. package/dist/index240.js +6 -29
  295. package/dist/index240.js.map +1 -1
  296. package/dist/index241.js +7 -5
  297. package/dist/index241.js.map +1 -1
  298. package/dist/index242.js +5 -12
  299. package/dist/index242.js.map +1 -1
  300. package/dist/index243.js +16 -13
  301. package/dist/index243.js.map +1 -1
  302. package/dist/index244.js +7 -154
  303. package/dist/index244.js.map +1 -1
  304. package/dist/index245.js +9 -29
  305. package/dist/index245.js.map +1 -1
  306. package/dist/index246.js +10 -9
  307. package/dist/index246.js.map +1 -1
  308. package/dist/index247.js +20 -47
  309. package/dist/index247.js.map +1 -1
  310. package/dist/index248.js +10 -11
  311. package/dist/index248.js.map +1 -1
  312. package/dist/index249.js +9 -44
  313. package/dist/index249.js.map +1 -1
  314. package/dist/index250.js +9 -95
  315. package/dist/index250.js.map +1 -1
  316. package/dist/index251.js +4 -86
  317. package/dist/index251.js.map +1 -1
  318. package/dist/index252.js +5 -105
  319. package/dist/index252.js.map +1 -1
  320. package/dist/index253.js +14 -50
  321. package/dist/index253.js.map +1 -1
  322. package/dist/index254.js +9 -11
  323. package/dist/index254.js.map +1 -1
  324. package/dist/index255.js +18 -37
  325. package/dist/index255.js.map +1 -1
  326. package/dist/index256.js +15 -8
  327. package/dist/index256.js.map +1 -1
  328. package/dist/index257.js +11 -115
  329. package/dist/index257.js.map +1 -1
  330. package/dist/index258.js +29 -17
  331. package/dist/index258.js.map +1 -1
  332. package/dist/index259.js +11 -14
  333. package/dist/index259.js.map +1 -1
  334. package/dist/index260.js +25 -3
  335. package/dist/index260.js.map +1 -1
  336. package/dist/index261.js +5 -36
  337. package/dist/index261.js.map +1 -1
  338. package/dist/index262.js +24 -20
  339. package/dist/index262.js.map +1 -1
  340. package/dist/index263.js +29 -10
  341. package/dist/index263.js.map +1 -1
  342. package/dist/index264.js +5 -9
  343. package/dist/index264.js.map +1 -1
  344. package/dist/index265.js +20 -19
  345. package/dist/index265.js.map +1 -1
  346. package/dist/index266.js +4 -28
  347. package/dist/index266.js.map +1 -1
  348. package/dist/index267.js +17 -16
  349. package/dist/index267.js.map +1 -1
  350. package/dist/index268.js +12 -4
  351. package/dist/index268.js.map +1 -1
  352. package/dist/index269.js +5 -5
  353. package/dist/index269.js.map +1 -1
  354. package/dist/index270.js +3 -4
  355. package/dist/index270.js.map +1 -1
  356. package/dist/index271.js +23 -15
  357. package/dist/index271.js.map +1 -1
  358. package/dist/index272.js +110 -6
  359. package/dist/index272.js.map +1 -1
  360. package/dist/index273.js +15 -5
  361. package/dist/index273.js.map +1 -1
  362. package/dist/index274.js +529 -4
  363. package/dist/index274.js.map +1 -1
  364. package/dist/index275.js +122 -542
  365. package/dist/index275.js.map +1 -1
  366. package/dist/index276.js +131 -44
  367. package/dist/index276.js.map +1 -1
  368. package/dist/index277.js +4 -17
  369. package/dist/index277.js.map +1 -1
  370. package/dist/index278.js +4 -5
  371. package/dist/index278.js.map +1 -1
  372. package/dist/index279.js +4 -8
  373. package/dist/index279.js.map +1 -1
  374. package/dist/index280.js +15 -6
  375. package/dist/index280.js.map +1 -1
  376. package/dist/index281.js +8 -7
  377. package/dist/index281.js.map +1 -1
  378. package/dist/index282.js +5 -11
  379. package/dist/index282.js.map +1 -1
  380. package/dist/index283.js +4 -8
  381. package/dist/index283.js.map +1 -1
  382. package/dist/index284.js +545 -12
  383. package/dist/index284.js.map +1 -1
  384. package/dist/index285.js +47 -5
  385. package/dist/index285.js.map +1 -1
  386. package/dist/index286.js +18 -3
  387. package/dist/index286.js.map +1 -1
  388. package/dist/index287.js +5 -23
  389. package/dist/index287.js.map +1 -1
  390. package/dist/index288.js +7 -112
  391. package/dist/index288.js.map +1 -1
  392. package/dist/index289.js +6 -15
  393. package/dist/index289.js.map +1 -1
  394. package/dist/index290.js +7 -529
  395. package/dist/index290.js.map +1 -1
  396. package/dist/index291.js +11 -125
  397. package/dist/index291.js.map +1 -1
  398. package/dist/index292.js +8 -133
  399. package/dist/index292.js.map +1 -1
  400. package/dist/index293.js +12 -20
  401. package/dist/index293.js.map +1 -1
  402. package/dist/index294.js +69 -5
  403. package/dist/index294.js.map +1 -1
  404. package/dist/index295.js +8 -55
  405. package/dist/index295.js.map +1 -1
  406. package/dist/index296.js +13 -67
  407. package/dist/index296.js.map +1 -1
  408. package/dist/index297.js +65 -30
  409. package/dist/index297.js.map +1 -1
  410. package/dist/index298.js +65 -9
  411. package/dist/index298.js.map +1 -1
  412. package/dist/index299.js +5 -153
  413. package/dist/index299.js.map +1 -1
  414. package/dist/index300.js +54 -106
  415. package/dist/index300.js.map +1 -1
  416. package/dist/index301.js +68 -65
  417. package/dist/index301.js.map +1 -1
  418. package/dist/index302.js +30 -68
  419. package/dist/index302.js.map +1 -1
  420. package/dist/index303.js +9 -9
  421. package/dist/index303.js.map +1 -1
  422. package/dist/index304.js +152 -13
  423. package/dist/index304.js.map +1 -1
  424. package/dist/index305.js +107 -65
  425. package/dist/index305.js.map +1 -1
  426. package/dist/index306.js +3 -15
  427. package/dist/index306.js.map +1 -1
  428. package/dist/index307.js +22 -28
  429. package/dist/index307.js.map +1 -1
  430. package/dist/index308.js +14 -11
  431. package/dist/index308.js.map +1 -1
  432. package/dist/index309.js +27 -5
  433. package/dist/index309.js.map +1 -1
  434. package/dist/index31.js +5 -5
  435. package/dist/index310.js +12 -3
  436. package/dist/index310.js.map +1 -1
  437. package/dist/index311.js +6 -22
  438. package/dist/index311.js.map +1 -1
  439. package/dist/index32.js +24 -24
  440. package/dist/index33.js +3 -3
  441. package/dist/index36.js +1 -1
  442. package/dist/index37.js +2 -2
  443. package/dist/index40.js +2 -2
  444. package/dist/index41.js +20 -20
  445. package/dist/index45.js +1 -1
  446. package/dist/index46.js +1 -1
  447. package/dist/index49.js +1 -1
  448. package/dist/index50.js +1 -1
  449. package/dist/index51.js +2 -7
  450. package/dist/index51.js.map +1 -1
  451. package/dist/index52.js +2 -34
  452. package/dist/index52.js.map +1 -1
  453. package/dist/index53.js +2 -49
  454. package/dist/index53.js.map +1 -1
  455. package/dist/index54.js +2 -8
  456. package/dist/index54.js.map +1 -1
  457. package/dist/index55.js +6 -11
  458. package/dist/index55.js.map +1 -1
  459. package/dist/index56.js +34 -2
  460. package/dist/index56.js.map +1 -1
  461. package/dist/index57.js +49 -2
  462. package/dist/index57.js.map +1 -1
  463. package/dist/index58.js +8 -2
  464. package/dist/index58.js.map +1 -1
  465. package/dist/index59.js +12 -2
  466. package/dist/index59.js.map +1 -1
  467. package/dist/index60.js +5 -3
  468. package/dist/index60.js.map +1 -1
  469. package/dist/index61.js +7 -47
  470. package/dist/index61.js.map +1 -1
  471. package/dist/index62.js +5 -50
  472. package/dist/index62.js.map +1 -1
  473. package/dist/index63.js +3 -7
  474. package/dist/index63.js.map +1 -1
  475. package/dist/index64.js +47 -14
  476. package/dist/index64.js.map +1 -1
  477. package/dist/index65.js +46 -129
  478. package/dist/index65.js.map +1 -1
  479. package/dist/index66.js +7 -10
  480. package/dist/index66.js.map +1 -1
  481. package/dist/index67.js +13 -215
  482. package/dist/index67.js.map +1 -1
  483. package/dist/index68.js +133 -12
  484. package/dist/index68.js.map +1 -1
  485. package/dist/index69.js +10 -46
  486. package/dist/index69.js.map +1 -1
  487. package/dist/index70.js +213 -46
  488. package/dist/index70.js.map +1 -1
  489. package/dist/index71.js +13 -4
  490. package/dist/index71.js.map +1 -1
  491. package/dist/index72.js +46 -5
  492. package/dist/index72.js.map +1 -1
  493. package/dist/index73.js +50 -28
  494. package/dist/index73.js.map +1 -1
  495. package/dist/index74.js +3 -49
  496. package/dist/index74.js.map +1 -1
  497. package/dist/index75.js +6 -9
  498. package/dist/index75.js.map +1 -1
  499. package/dist/index76.js +28 -52
  500. package/dist/index76.js.map +1 -1
  501. package/dist/index77.js +50 -5
  502. package/dist/index77.js.map +1 -1
  503. package/dist/index78.js +9 -5
  504. package/dist/index78.js.map +1 -1
  505. package/dist/index79.js +46 -15
  506. package/dist/index79.js.map +1 -1
  507. package/dist/index8.js +375 -364
  508. package/dist/index8.js.map +1 -1
  509. package/dist/index80.js +5 -5
  510. package/dist/index80.js.map +1 -1
  511. package/dist/index81.js +68 -7
  512. package/dist/index81.js.map +1 -1
  513. package/dist/index82.js +2 -17
  514. package/dist/index82.js.map +1 -1
  515. package/dist/index83.js +363 -4
  516. package/dist/index83.js.map +1 -1
  517. package/dist/index84.js +261 -4
  518. package/dist/index84.js.map +1 -1
  519. package/dist/index85.js +60 -5
  520. package/dist/index85.js.map +1 -1
  521. package/dist/index86.js +46 -5
  522. package/dist/index86.js.map +1 -1
  523. package/dist/index87.js +169 -4
  524. package/dist/index87.js.map +1 -1
  525. package/dist/index88.js +109 -4
  526. package/dist/index88.js.map +1 -1
  527. package/dist/index89.js +24 -6
  528. package/dist/index89.js.map +1 -1
  529. package/dist/index90.js +8 -25
  530. package/dist/index90.js.map +1 -1
  531. package/dist/index91.js +4 -6
  532. package/dist/index91.js.map +1 -1
  533. package/dist/index92.js +5 -4
  534. package/dist/index92.js.map +1 -1
  535. package/dist/index93.js +4 -6
  536. package/dist/index93.js.map +1 -1
  537. package/dist/index94.js +466 -5
  538. package/dist/index94.js.map +1 -1
  539. package/dist/index95.js +185 -4
  540. package/dist/index95.js.map +1 -1
  541. package/dist/index96.js +107 -5
  542. package/dist/index96.js.map +1 -1
  543. package/dist/index97.js +262 -4
  544. package/dist/index97.js.map +1 -1
  545. package/dist/index98.js +9 -8
  546. package/dist/index98.js.map +1 -1
  547. package/dist/index99.js +42 -5
  548. package/dist/index99.js.map +1 -1
  549. package/package.json +1 -1
package/dist/index304.js CHANGED
@@ -1,17 +1,156 @@
1
- var r = !1;
2
- if (typeof window < "u")
3
- try {
4
- var e = Object.defineProperty({}, "passive", {
5
- get: function() {
6
- return r = !0, !0;
7
- }
8
- });
9
- window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
10
- } catch {
11
- r = !1;
1
+ import { buildLocalizeFn as e } from "./index308.js";
2
+ const a = {
3
+ narrow: ["B", "A"],
4
+ abbreviated: ["BC", "AD"],
5
+ wide: ["Before Christ", "Anno Domini"]
6
+ }, r = {
7
+ narrow: ["1", "2", "3", "4"],
8
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
9
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
10
+ }, o = {
11
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
12
+ abbreviated: [
13
+ "Jan",
14
+ "Feb",
15
+ "Mar",
16
+ "Apr",
17
+ "May",
18
+ "Jun",
19
+ "Jul",
20
+ "Aug",
21
+ "Sep",
22
+ "Oct",
23
+ "Nov",
24
+ "Dec"
25
+ ],
26
+ wide: [
27
+ "January",
28
+ "February",
29
+ "March",
30
+ "April",
31
+ "May",
32
+ "June",
33
+ "July",
34
+ "August",
35
+ "September",
36
+ "October",
37
+ "November",
38
+ "December"
39
+ ]
40
+ }, d = {
41
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
42
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
43
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
44
+ wide: [
45
+ "Sunday",
46
+ "Monday",
47
+ "Tuesday",
48
+ "Wednesday",
49
+ "Thursday",
50
+ "Friday",
51
+ "Saturday"
52
+ ]
53
+ }, m = {
54
+ narrow: {
55
+ am: "a",
56
+ pm: "p",
57
+ midnight: "mi",
58
+ noon: "n",
59
+ morning: "morning",
60
+ afternoon: "afternoon",
61
+ evening: "evening",
62
+ night: "night"
63
+ },
64
+ abbreviated: {
65
+ am: "AM",
66
+ pm: "PM",
67
+ midnight: "midnight",
68
+ noon: "noon",
69
+ morning: "morning",
70
+ afternoon: "afternoon",
71
+ evening: "evening",
72
+ night: "night"
73
+ },
74
+ wide: {
75
+ am: "a.m.",
76
+ pm: "p.m.",
77
+ midnight: "midnight",
78
+ noon: "noon",
79
+ morning: "morning",
80
+ afternoon: "afternoon",
81
+ evening: "evening",
82
+ night: "night"
12
83
  }
13
- var a = r ? { passive: !1 } : !1;
84
+ }, g = {
85
+ narrow: {
86
+ am: "a",
87
+ pm: "p",
88
+ midnight: "mi",
89
+ noon: "n",
90
+ morning: "in the morning",
91
+ afternoon: "in the afternoon",
92
+ evening: "in the evening",
93
+ night: "at night"
94
+ },
95
+ abbreviated: {
96
+ am: "AM",
97
+ pm: "PM",
98
+ midnight: "midnight",
99
+ noon: "noon",
100
+ morning: "in the morning",
101
+ afternoon: "in the afternoon",
102
+ evening: "in the evening",
103
+ night: "at night"
104
+ },
105
+ wide: {
106
+ am: "a.m.",
107
+ pm: "p.m.",
108
+ midnight: "midnight",
109
+ noon: "noon",
110
+ morning: "in the morning",
111
+ afternoon: "in the afternoon",
112
+ evening: "in the evening",
113
+ night: "at night"
114
+ }
115
+ }, u = (i, h) => {
116
+ const n = Number(i), t = n % 100;
117
+ if (t > 20 || t < 10)
118
+ switch (t % 10) {
119
+ case 1:
120
+ return n + "st";
121
+ case 2:
122
+ return n + "nd";
123
+ case 3:
124
+ return n + "rd";
125
+ }
126
+ return n + "th";
127
+ }, l = {
128
+ ordinalNumber: u,
129
+ era: e({
130
+ values: a,
131
+ defaultWidth: "wide"
132
+ }),
133
+ quarter: e({
134
+ values: r,
135
+ defaultWidth: "wide",
136
+ argumentCallback: (i) => i - 1
137
+ }),
138
+ month: e({
139
+ values: o,
140
+ defaultWidth: "wide"
141
+ }),
142
+ day: e({
143
+ values: d,
144
+ defaultWidth: "wide"
145
+ }),
146
+ dayPeriod: e({
147
+ values: m,
148
+ defaultWidth: "wide",
149
+ formattingValues: g,
150
+ defaultFormattingWidth: "wide"
151
+ })
152
+ };
14
153
  export {
15
- a as nonPassive
154
+ l as localize
16
155
  };
17
156
  //# sourceMappingURL=index304.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index304.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"AAAA,IAAIA,IAAmB;AACvB,IAAI,OAAO,SAAW;AAClB,MAAI;AACA,QAAIC,IAAU,OAAO,eAAe,CAAA,GAAI,WAAW;AAAA,MAC/C,KAAK,WAAY;AACb,eAAAD,IAAmB,IACZ;AAAA,MACX;AAAA,IACZ,CAAS;AAED,WAAO,iBAAiB,QAAQC,GAASA,CAAO,GAEhD,OAAO,oBAAoB,QAAQA,GAASA,CAAO;AAAA,EACvD,QACY;AACR,IAAAD,IAAmB;AAAA,EACvB;AAEM,IAACE,IAAaF,IAAmB,EAAE,SAAS,GAAK,IAAK;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index304.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/localize.js"],"sourcesContent":["import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\n\nconst eraValues = {\n narrow: [\"B\", \"A\"],\n abbreviated: [\"BC\", \"AD\"],\n wide: [\"Before Christ\", \"Anno Domini\"],\n};\n\nconst quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"1st quarter\", \"2nd quarter\", \"3rd quarter\", \"4th quarter\"],\n};\n\n// Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\nconst monthValues = {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n abbreviated: [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\",\n ],\n\n wide: [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n ],\n};\n\nconst dayValues = {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"],\n abbreviated: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n wide: [\n \"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\",\n ],\n};\n\nconst dayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mi\",\n noon: \"n\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\",\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\",\n },\n};\n\nconst formattingDayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mi\",\n noon: \"n\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\",\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\",\n },\n};\n\nconst ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n\n // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`.\n //\n // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'.\n\n const rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + \"st\";\n case 2:\n return number + \"nd\";\n case 3:\n return number + \"rd\";\n }\n }\n return number + \"th\";\n};\n\nexport const localize = {\n ordinalNumber,\n\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\",\n }),\n\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1,\n }),\n\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n }),\n\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n }),\n\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\",\n }),\n};\n"],"names":["eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","rem100","localize","buildLocalizeFn","quarter"],"mappings":"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","x_google_ignoreList":[0]}
package/dist/index305.js CHANGED
@@ -1,69 +1,111 @@
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;
1
+ import { buildMatchFn as a } from "./index309.js";
2
+ import { buildMatchPatternFn as i } from "./index310.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
+ })
64
107
  };
65
108
  export {
66
- V as handleScroll,
67
- T as locationCouldBeScrolled
109
+ l as match
68
110
  };
69
111
  //# sourceMappingURL=index305.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index305.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":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index305.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]}
package/dist/index306.js CHANGED
@@ -1,19 +1,7 @@
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];
14
- };
1
+ function i(n, t) {
2
+ return typeof n == "function" ? n(t) : n && (n.current = t), n;
15
3
  }
16
4
  export {
17
- c as buildLocalizeFn
5
+ i as assignRef
18
6
  };
19
7
  //# sourceMappingURL=index306.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index306.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":"index306.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/index307.js CHANGED
@@ -1,32 +1,26 @@
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 };
17
- };
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;
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;
28
22
  }
29
23
  export {
30
- P as buildMatchFn
24
+ n as useCallbackRef
31
25
  };
32
26
  //# sourceMappingURL=index307.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index307.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":"index307.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/index308.js CHANGED
@@ -1,16 +1,19 @@
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 };
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
- h as buildMatchPatternFn
17
+ c as buildLocalizeFn
15
18
  };
16
19
  //# sourceMappingURL=index308.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index308.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]}
1
+ {"version":3,"file":"index308.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]}