@okam/stack-ui 1.38.0 → 1.38.1

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 (645) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/index.d.ts +5 -0
  3. package/index.js +1 -1
  4. package/index.mjs +94 -88
  5. package/index10.js +1 -1
  6. package/index10.mjs +1 -1
  7. package/index100.js +9 -5
  8. package/index100.mjs +43 -74
  9. package/index101.js +1 -1
  10. package/index101.mjs +45 -6
  11. package/index102.js +1 -12
  12. package/index102.mjs +12 -39
  13. package/index103.js +5 -1
  14. package/index103.mjs +74 -75
  15. package/index104.js +1 -1
  16. package/index104.mjs +6 -29
  17. package/index105.js +12 -1
  18. package/index105.mjs +39 -12
  19. package/index106.js +1 -7
  20. package/index106.mjs +84 -14
  21. package/index107.js +1 -15
  22. package/index107.mjs +18 -60
  23. package/index108.js +1 -1
  24. package/index108.mjs +13 -7
  25. package/index109.js +6 -40
  26. package/index109.mjs +13 -100
  27. package/index11.js +1 -1
  28. package/index11.mjs +3 -3
  29. package/index110.js +13 -45
  30. package/index110.mjs +59 -90
  31. package/index111.js +1 -16
  32. package/index111.mjs +7 -25
  33. package/index112.js +41 -1
  34. package/index112.mjs +97 -33
  35. package/index113.js +47 -1
  36. package/index113.mjs +101 -47
  37. package/index114.js +16 -1
  38. package/index114.mjs +25 -23
  39. package/index115.js +1 -1
  40. package/index115.mjs +41 -62
  41. package/index116.js +1 -1
  42. package/index116.mjs +47 -28
  43. package/index117.js +1 -1
  44. package/index117.mjs +23 -52
  45. package/index118.js +1 -1
  46. package/index118.mjs +63 -4
  47. package/index119.js +1 -1
  48. package/index119.mjs +29 -11
  49. package/index12.js +1 -1
  50. package/index12.mjs +1 -1
  51. package/index120.js +1 -1
  52. package/index120.mjs +52 -14
  53. package/index121.js +1 -1
  54. package/index121.mjs +4 -38
  55. package/index122.js +1 -1
  56. package/index122.mjs +11 -23
  57. package/index123.js +1 -1
  58. package/index123.mjs +13 -43
  59. package/index124.js +1 -1
  60. package/index124.mjs +37 -19
  61. package/index125.js +1 -1
  62. package/index125.mjs +22 -37
  63. package/index126.js +1 -1
  64. package/index126.mjs +41 -13
  65. package/index127.js +1 -1
  66. package/index127.mjs +17 -238
  67. package/index128.js +1 -2
  68. package/index128.mjs +36 -11
  69. package/index129.js +1 -2
  70. package/index129.mjs +16 -39
  71. package/index13.js +1 -1
  72. package/index13.mjs +1 -1
  73. package/index130.js +1 -1
  74. package/index130.mjs +240 -10
  75. package/index131.js +2 -1
  76. package/index131.mjs +12 -38
  77. package/index132.js +2 -1
  78. package/index132.mjs +39 -24
  79. package/index133.js +1 -1
  80. package/index133.mjs +11 -23
  81. package/index134.js +1 -1
  82. package/index134.mjs +37 -41
  83. package/index135.js +1 -1
  84. package/index135.mjs +23 -25
  85. package/index136.js +1 -1
  86. package/index136.mjs +22 -40
  87. package/index137.js +1 -2
  88. package/index137.mjs +42 -57
  89. package/index138.js +1 -1
  90. package/index138.mjs +26 -39
  91. package/index139.js +1 -1
  92. package/index139.mjs +41 -31
  93. package/index14.js +1 -1
  94. package/index14.mjs +4 -4
  95. package/index140.js +2 -1
  96. package/index140.mjs +57 -7
  97. package/index141.js +1 -1
  98. package/index141.mjs +38 -8
  99. package/index142.js +1 -1
  100. package/index142.mjs +31 -30
  101. package/index143.js +1 -1
  102. package/index143.mjs +7 -14
  103. package/index144.js +1 -1
  104. package/index144.mjs +8 -16
  105. package/index145.js +1 -2
  106. package/index145.mjs +28 -46
  107. package/index146.js +1 -1
  108. package/index146.mjs +15 -38
  109. package/index147.js +1 -1
  110. package/index147.mjs +17 -29
  111. package/index148.js +2 -1
  112. package/index148.mjs +47 -21
  113. package/index149.js +1 -1
  114. package/index149.mjs +33 -31
  115. package/index15.js +1 -1
  116. package/index15.mjs +1 -1
  117. package/index150.js +1 -1
  118. package/index150.mjs +27 -55
  119. package/index151.js +1 -1
  120. package/index151.mjs +22 -12
  121. package/index152.js +1 -1
  122. package/index152.mjs +36 -46
  123. package/index153.js +1 -2
  124. package/index153.mjs +22 -13
  125. package/index154.js +1 -1
  126. package/index154.mjs +57 -30
  127. package/index155.js +1 -1
  128. package/index155.mjs +12 -12
  129. package/index156.js +1 -1
  130. package/index156.mjs +11 -5
  131. package/index157.js +1 -2
  132. package/index157.mjs +46 -50
  133. package/index158.js +2 -1
  134. package/index158.mjs +13 -126
  135. package/index159.js +1 -1
  136. package/index159.mjs +30 -28
  137. package/index16.js +1 -1
  138. package/index16.mjs +3 -3
  139. package/index160.js +1 -1
  140. package/index160.mjs +5 -73
  141. package/index161.js +2 -1
  142. package/index161.mjs +48 -380
  143. package/index162.js +1 -1
  144. package/index162.mjs +123 -44
  145. package/index163.js +1 -1
  146. package/index163.mjs +74 -4
  147. package/index164.js +1 -1
  148. package/index164.mjs +380 -23
  149. package/index165.js +1 -1
  150. package/index165.mjs +45 -46
  151. package/index166.js +1 -1
  152. package/index166.mjs +4 -6
  153. package/index167.js +1 -1
  154. package/index167.mjs +24 -24
  155. package/index168.js +1 -1
  156. package/index168.mjs +46 -11
  157. package/index169.js +1 -1
  158. package/index169.mjs +5 -4
  159. package/index17.js +1 -1
  160. package/index17.mjs +6 -6
  161. package/index170.js +1 -1
  162. package/index170.mjs +23 -13
  163. package/index171.js +1 -1
  164. package/index171.mjs +12 -21
  165. package/index172.js +1 -1
  166. package/index172.mjs +4 -42
  167. package/index173.js +1 -1
  168. package/index173.mjs +13 -56
  169. package/index174.js +1 -1
  170. package/index174.mjs +40 -39
  171. package/index175.js +1 -1
  172. package/index175.mjs +55 -26
  173. package/index176.js +1 -1
  174. package/index176.mjs +41 -31
  175. package/index177.js +1 -1
  176. package/index177.mjs +27 -13
  177. package/index178.js +1 -1
  178. package/index178.mjs +31 -10
  179. package/index179.js +1 -1
  180. package/index179.mjs +14 -28
  181. package/index18.js +1 -1
  182. package/index18.mjs +20 -20
  183. package/index180.js +1 -1
  184. package/index180.mjs +10 -9
  185. package/index181.js +1 -1
  186. package/index181.mjs +28 -6
  187. package/index182.js +1 -1
  188. package/index182.mjs +9 -5
  189. package/index183.js +1 -1
  190. package/index183.mjs +6 -7
  191. package/index184.js +1 -1
  192. package/index184.mjs +5 -29
  193. package/index185.js +1 -1
  194. package/index185.mjs +7 -18
  195. package/index186.js +1 -1
  196. package/index186.mjs +28 -12
  197. package/index187.js +1 -1
  198. package/index187.mjs +18 -43
  199. package/index188.js +1 -1
  200. package/index188.mjs +13 -8
  201. package/index189.js +1 -1
  202. package/index189.mjs +43 -17
  203. package/index19.js +1 -1
  204. package/index19.mjs +2 -2
  205. package/index190.js +1 -1
  206. package/index190.mjs +9 -3
  207. package/index191.js +1 -1
  208. package/index191.mjs +17 -4
  209. package/index192.js +1 -1
  210. package/index192.mjs +3 -20
  211. package/index193.js +1 -1
  212. package/index193.mjs +4 -54
  213. package/index194.js +1 -1
  214. package/index194.mjs +19 -203
  215. package/index195.js +1 -1
  216. package/index195.mjs +52 -62
  217. package/index196.js +1 -1
  218. package/index196.mjs +26 -142
  219. package/index197.js +1 -1
  220. package/index197.mjs +189 -110
  221. package/index198.js +1 -1
  222. package/index198.mjs +53 -213
  223. package/index199.js +1 -1
  224. package/index199.mjs +129 -176
  225. package/index2.js +1 -1
  226. package/index2.mjs +23 -23
  227. package/index20.js +1 -1
  228. package/index20.mjs +3 -3
  229. package/index200.js +1 -1
  230. package/index200.mjs +116 -61
  231. package/index201.js +1 -1
  232. package/index201.mjs +210 -265
  233. package/index202.js +1 -1
  234. package/index202.mjs +180 -88
  235. package/index203.js +1 -1
  236. package/index203.mjs +60 -179
  237. package/index204.js +1 -1
  238. package/index204.mjs +266 -71
  239. package/index205.js +1 -1
  240. package/index205.mjs +92 -52
  241. package/index206.js +1 -1
  242. package/index206.mjs +182 -120
  243. package/index207.js +1 -1
  244. package/index207.mjs +76 -108
  245. package/index208.js +1 -1
  246. package/index208.mjs +50 -114
  247. package/index209.js +1 -1
  248. package/index209.mjs +118 -64
  249. package/index21.js +1 -1
  250. package/index21.mjs +2 -2
  251. package/index210.js +1 -1
  252. package/index210.mjs +111 -105
  253. package/index211.js +1 -1
  254. package/index211.mjs +117 -47
  255. package/index212.js +1 -1
  256. package/index212.mjs +67 -88
  257. package/index213.js +1 -1
  258. package/index213.mjs +108 -68
  259. package/index214.js +1 -1
  260. package/index214.mjs +41 -45
  261. package/index215.js +1 -1
  262. package/index215.mjs +77 -83
  263. package/index216.js +1 -5
  264. package/index216.mjs +49 -59
  265. package/index217.js +1 -1
  266. package/index217.mjs +50 -2019
  267. package/index218.js +1 -1
  268. package/index218.mjs +98 -58
  269. package/index219.js +5 -1
  270. package/index219.mjs +78 -186
  271. package/index22.js +1 -1
  272. package/index22.mjs +2 -2
  273. package/index220.js +1 -1
  274. package/index220.mjs +2014 -129
  275. package/index221.js +1 -1
  276. package/index221.mjs +56 -194
  277. package/index222.js +1 -1
  278. package/index222.mjs +188 -22
  279. package/index223.js +1 -1
  280. package/index223.mjs +123 -48
  281. package/index224.js +1 -1
  282. package/index224.mjs +132 -46
  283. package/index225.js +1 -1
  284. package/index225.mjs +37 -90
  285. package/index226.js +1 -1
  286. package/index226.mjs +15 -72
  287. package/index227.js +1 -1
  288. package/index227.mjs +94 -67
  289. package/index228.js +1 -1
  290. package/index228.mjs +106 -7
  291. package/index229.js +1 -1
  292. package/index229.mjs +4 -11
  293. package/index23.js +1 -1
  294. package/index23.mjs +2 -2
  295. package/index230.js +1 -1
  296. package/index230.mjs +3 -124
  297. package/index231.js +1 -1
  298. package/index231.mjs +120 -129
  299. package/index232.js +1 -1
  300. package/index232.mjs +27 -42
  301. package/index233.js +1 -1
  302. package/index233.mjs +49 -12
  303. package/index234.js +1 -1
  304. package/index234.mjs +30 -81
  305. package/index235.js +1 -1
  306. package/index235.mjs +34 -103
  307. package/index236.js +1 -1
  308. package/index236.mjs +113 -4
  309. package/index237.js +1 -1
  310. package/index237.mjs +77 -3
  311. package/index238.js +1 -1
  312. package/index238.mjs +84 -108
  313. package/index239.js +1 -1
  314. package/index239.mjs +98 -30
  315. package/index24.js +1 -1
  316. package/index24.mjs +3 -3
  317. package/index240.js +1 -1
  318. package/index240.mjs +138 -49
  319. package/index241.js +1 -1
  320. package/index241.mjs +193 -40
  321. package/index242.js +1 -1
  322. package/index242.mjs +22 -37
  323. package/index243.js +1 -1
  324. package/index243.mjs +47 -111
  325. package/index244.js +1 -1
  326. package/index244.mjs +48 -77
  327. package/index245.js +1 -1
  328. package/index245.mjs +90 -94
  329. package/index246.js +1 -1
  330. package/index246.mjs +71 -97
  331. package/index247.js +1 -1
  332. package/index247.mjs +68 -5
  333. package/index248.js +1 -1
  334. package/index248.mjs +7 -121
  335. package/index249.js +1 -1
  336. package/index249.mjs +11 -43
  337. package/index25.js +1 -1
  338. package/index25.mjs +2 -2
  339. package/index250.js +1 -1
  340. package/index250.mjs +5 -230
  341. package/index251.js +1 -1
  342. package/index251.mjs +118 -28
  343. package/index252.js +1 -1
  344. package/index252.mjs +43 -3
  345. package/index253.js +1 -1
  346. package/index253.mjs +225 -125
  347. package/index254.js +1 -1
  348. package/index254.mjs +28 -187
  349. package/index255.js +1 -1
  350. package/index255.mjs +3 -9
  351. package/index256.js +1 -1
  352. package/index256.mjs +129 -2
  353. package/index257.js +1 -1
  354. package/index257.mjs +188 -34
  355. package/index258.js +1 -1
  356. package/index258.mjs +9 -5
  357. package/index259.js +1 -1
  358. package/index259.mjs +3 -29
  359. package/index26.js +1 -1
  360. package/index26.mjs +2 -2
  361. package/index260.js +1 -1
  362. package/index260.mjs +36 -6
  363. package/index261.js +1 -1
  364. package/index261.mjs +6 -5
  365. package/index262.js +1 -1
  366. package/index262.mjs +30 -5
  367. package/index263.js +1 -1
  368. package/index263.mjs +7 -5
  369. package/index264.js +1 -1
  370. package/index264.mjs +5 -5
  371. package/index265.js +1 -1
  372. package/index265.mjs +4 -4
  373. package/index266.js +1 -1
  374. package/index266.mjs +1 -1
  375. package/index267.js +1 -1
  376. package/index267.mjs +4 -4
  377. package/index268.js +1 -1
  378. package/index268.mjs +4 -4
  379. package/index269.js +1 -1
  380. package/index269.mjs +4 -4
  381. package/index27.js +1 -1
  382. package/index27.mjs +1 -1
  383. package/index270.js +1 -1
  384. package/index270.mjs +4 -4
  385. package/index271.js +1 -1
  386. package/index271.mjs +4 -4
  387. package/index272.js +1 -1
  388. package/index272.mjs +4 -4
  389. package/index273.js +1 -1
  390. package/index273.mjs +4 -4
  391. package/index274.js +1 -1
  392. package/index274.mjs +4 -4
  393. package/index275.js +1 -1
  394. package/index275.mjs +4 -4
  395. package/index276.js +1 -1
  396. package/index276.mjs +4 -4
  397. package/index277.js +1 -1
  398. package/index277.mjs +1 -1
  399. package/index278.js +1 -1
  400. package/index278.mjs +1 -1
  401. package/index279.js +1 -1
  402. package/index279.mjs +4 -4
  403. package/index28.js +1 -1
  404. package/index28.mjs +3 -3
  405. package/index280.js +1 -1
  406. package/index280.mjs +4 -4
  407. package/index281.js +1 -1
  408. package/index281.mjs +4 -4
  409. package/index282.js +1 -1
  410. package/index282.mjs +4 -4
  411. package/index283.js +1 -1
  412. package/index283.mjs +4 -4
  413. package/index284.js +1 -1
  414. package/index284.mjs +1 -1
  415. package/index285.js +1 -1
  416. package/index285.mjs +1 -1
  417. package/index286.js +1 -1
  418. package/index286.mjs +4 -4
  419. package/index287.js +1 -1
  420. package/index287.mjs +4 -4
  421. package/index288.js +1 -1
  422. package/index288.mjs +1 -1
  423. package/index289.js +1 -1
  424. package/index289.mjs +4 -4
  425. package/index29.js +1 -1
  426. package/index29.mjs +3 -3
  427. package/index290.js +1 -1
  428. package/index290.mjs +4 -4
  429. package/index291.js +1 -1
  430. package/index291.mjs +4 -4
  431. package/index292.js +1 -1
  432. package/index292.mjs +4 -4
  433. package/index293.js +1 -1
  434. package/index293.mjs +4 -4
  435. package/index294.js +1 -1
  436. package/index294.mjs +1 -1
  437. package/index295.js +1 -1
  438. package/index295.mjs +5 -5
  439. package/index296.js +1 -1
  440. package/index296.mjs +4 -62
  441. package/index297.js +1 -1
  442. package/index297.mjs +5 -7
  443. package/index298.js +1 -1
  444. package/index298.mjs +5 -28
  445. package/index299.js +1 -1
  446. package/index299.mjs +58 -88
  447. package/index3.js +1 -1
  448. package/index3.mjs +1 -1
  449. package/index30.js +1 -1
  450. package/index30.mjs +3 -3
  451. package/index300.js +1 -1
  452. package/index300.mjs +7 -10
  453. package/index301.js +1 -1
  454. package/index301.mjs +26 -24
  455. package/index302.js +1 -1
  456. package/index302.mjs +89 -30
  457. package/index303.js +1 -1
  458. package/index303.mjs +9 -6
  459. package/index304.js +1 -1
  460. package/index304.mjs +25 -6
  461. package/index305.js +1 -1
  462. package/index305.mjs +32 -49
  463. package/index306.js +1 -1
  464. package/index306.mjs +6 -29
  465. package/index307.js +1 -1
  466. package/index307.mjs +6 -14
  467. package/index308.js +1 -1
  468. package/index308.mjs +50 -21
  469. package/index309.js +1 -1
  470. package/index309.mjs +28 -28
  471. package/index31.js +1 -1
  472. package/index31.mjs +3 -3
  473. package/index310.js +1 -1
  474. package/index310.mjs +14 -66
  475. package/index311.js +1 -1
  476. package/index311.mjs +21 -53
  477. package/index312.js +1 -1
  478. package/index312.mjs +27 -52
  479. package/index313.js +1 -1
  480. package/index313.mjs +64 -279
  481. package/index314.js +1 -1
  482. package/index314.mjs +53 -20
  483. package/index315.js +1 -1
  484. package/index315.mjs +54 -3
  485. package/index316.js +1 -1
  486. package/index316.mjs +281 -4
  487. package/index317.js +1 -1
  488. package/index317.mjs +20 -8
  489. package/index318.js +1 -1
  490. package/index318.mjs +3 -5
  491. package/index319.js +1 -1
  492. package/index319.mjs +4 -30
  493. package/index32.js +1 -1
  494. package/index32.mjs +2 -2
  495. package/index320.js +1 -1
  496. package/index320.mjs +7 -166
  497. package/index321.js +1 -0
  498. package/index321.mjs +8 -0
  499. package/index322.js +1 -0
  500. package/index322.mjs +33 -0
  501. package/index323.js +1 -0
  502. package/index323.mjs +170 -0
  503. package/index33.js +1 -1
  504. package/index33.mjs +1 -1
  505. package/index34.js +1 -1
  506. package/index34.mjs +4 -4
  507. package/index35.js +1 -1
  508. package/index35.mjs +2 -2
  509. package/index36.js +1 -1
  510. package/index36.mjs +1 -1
  511. package/index37.js +1 -1
  512. package/index37.mjs +1 -1
  513. package/index38.js +1 -1
  514. package/index38.mjs +3 -3
  515. package/index39.js +1 -1
  516. package/index39.mjs +1 -1
  517. package/index4.js +1 -1
  518. package/index4.mjs +3 -3
  519. package/index41.js +1 -1
  520. package/index41.mjs +1 -1
  521. package/index42.js +1 -1
  522. package/index42.mjs +1 -1
  523. package/index43.js +1 -1
  524. package/index43.mjs +1 -1
  525. package/index44.js +1 -1
  526. package/index44.mjs +3 -3
  527. package/index45.js +1 -1
  528. package/index45.mjs +1 -1
  529. package/index46.js +1 -1
  530. package/index46.mjs +2 -2
  531. package/index47.js +1 -1
  532. package/index47.mjs +2 -2
  533. package/index48.js +2 -1
  534. package/index48.mjs +50 -5
  535. package/index49.js +2 -1
  536. package/index49.mjs +42 -8
  537. package/index50.js +2 -1
  538. package/index50.mjs +66 -8
  539. package/index51.js +1 -1
  540. package/index51.mjs +3 -3
  541. package/index52.js +1 -1
  542. package/index52.mjs +7 -4
  543. package/index53.js +1 -1
  544. package/index53.mjs +8 -5
  545. package/index54.js +1 -1
  546. package/index54.mjs +4 -4
  547. package/index55.js +1 -1
  548. package/index55.mjs +3 -9
  549. package/index56.js +1 -1
  550. package/index56.mjs +4 -12
  551. package/index57.js +1 -1
  552. package/index57.mjs +4 -12
  553. package/index58.js +1 -1
  554. package/index58.mjs +11 -46
  555. package/index59.js +1 -1
  556. package/index59.mjs +12 -7
  557. package/index6.js +1 -1
  558. package/index6.mjs +1 -1
  559. package/index60.js +1 -1
  560. package/index60.mjs +13 -71
  561. package/index61.js +1 -1
  562. package/index61.mjs +45 -7
  563. package/index62.js +1 -1
  564. package/index62.mjs +8 -13
  565. package/index63.js +1 -1
  566. package/index63.mjs +71 -10
  567. package/index64.js +1 -1
  568. package/index64.mjs +8 -17
  569. package/index65.js +1 -1
  570. package/index65.mjs +10 -10
  571. package/index66.js +1 -1
  572. package/index66.mjs +9 -12
  573. package/index67.js +1 -1
  574. package/index67.mjs +17 -13
  575. package/index68.js +1 -1
  576. package/index68.mjs +9 -7
  577. package/index69.js +1 -1
  578. package/index69.mjs +9 -7
  579. package/index7.js +1 -1
  580. package/index7.mjs +1 -1
  581. package/index70.js +1 -1
  582. package/index70.mjs +8 -8
  583. package/index71.js +1 -1
  584. package/index71.mjs +11 -14
  585. package/index72.js +1 -2
  586. package/index72.mjs +10 -22
  587. package/index73.js +1 -2
  588. package/index73.mjs +12 -16
  589. package/index74.js +1 -2
  590. package/index74.mjs +14 -15
  591. package/index75.js +1 -1
  592. package/index75.mjs +21 -45
  593. package/index76.js +1 -1
  594. package/index76.mjs +15 -37
  595. package/index77.js +1 -1
  596. package/index77.mjs +13 -11
  597. package/index78.js +1 -1
  598. package/index78.mjs +45 -10
  599. package/index79.js +1 -1
  600. package/index79.mjs +36 -12
  601. package/index8.js +1 -1
  602. package/index8.mjs +2 -2
  603. package/index80.js +1 -1
  604. package/index80.mjs +11 -10
  605. package/index81.js +1 -1
  606. package/index81.mjs +10 -29
  607. package/index82.js +2 -1
  608. package/index82.mjs +15 -2
  609. package/index83.js +1 -1
  610. package/index83.mjs +11 -8
  611. package/index84.js +1 -1
  612. package/index84.mjs +30 -7
  613. package/index85.js +1 -2
  614. package/index85.mjs +2 -8
  615. package/index86.js +1 -1
  616. package/index86.mjs +7 -6
  617. package/index87.js +2 -1
  618. package/index87.mjs +8 -25
  619. package/index88.js +2 -1
  620. package/index88.mjs +8 -10
  621. package/index89.js +1 -1
  622. package/index89.mjs +7 -19
  623. package/index9.js +1 -1
  624. package/index9.mjs +1 -1
  625. package/index90.js +1 -1
  626. package/index90.mjs +25 -4
  627. package/index91.js +1 -1
  628. package/index91.mjs +10 -2
  629. package/index92.js +2 -6
  630. package/index92.mjs +20 -94
  631. package/index93.js +1 -1
  632. package/index93.mjs +4 -69
  633. package/index94.js +1 -1
  634. package/index94.mjs +2 -41
  635. package/index95.js +6 -42
  636. package/index95.mjs +86 -66
  637. package/index96.js +1 -64
  638. package/index96.mjs +54 -213
  639. package/index97.js +1 -9
  640. package/index97.mjs +33 -49
  641. package/index98.js +42 -1
  642. package/index98.mjs +66 -37
  643. package/index99.js +64 -1
  644. package/index99.mjs +225 -10
  645. package/package.json +1 -1
package/index242.mjs CHANGED
@@ -1,40 +1,25 @@
1
- import { CalendarDate as c } from "./index230.mjs";
2
- import { GregorianCalendar as y, gregorianToJulianDay as f, isLeapYear as s, fromExtendedYear as d } from "./index234.mjs";
3
- const $ = 78, b = 80;
4
- class p extends y {
5
- fromJulianDay(e) {
6
- let t = super.fromJulianDay(e), i = t.year - $, r = e - f(t.era, t.year, 1, 1), n;
7
- r < b ? (i--, n = s(t.year - 1) ? 31 : 30, r += n + 155 + 90 + 10) : (n = s(t.year) ? 31 : 30, r -= b);
8
- let a, l;
9
- if (r < n)
10
- a = 1, l = r + 1;
11
- else {
12
- let o = r - n;
13
- o < 155 ? (a = Math.floor(o / 31) + 2, l = o % 31 + 1) : (o -= 155, a = Math.floor(o / 30) + 7, l = o % 30 + 1);
14
- }
15
- return new c(this, i, a, l);
16
- }
17
- toJulianDay(e) {
18
- let t = e.year + $, [i, r] = d(t), n, a;
19
- return s(r) ? (n = 31, a = f(i, r, 3, 21)) : (n = 30, a = f(i, r, 3, 22)), e.month === 1 ? a + e.day - 1 : (a += n + Math.min(e.month - 2, 5) * 31, e.month >= 8 && (a += (e.month - 7) * 30), a += e.day - 1, a);
20
- }
21
- getDaysInMonth(e) {
22
- return e.month === 1 && s(e.year + $) || e.month >= 2 && e.month <= 6 ? 31 : 30;
23
- }
24
- getYearsInEra() {
25
- return 9919;
26
- }
27
- getEras() {
28
- return [
29
- "saka"
30
- ];
31
- }
32
- balanceDate() {
33
- }
34
- constructor(...e) {
35
- super(...e), this.identifier = "indian";
36
- }
1
+ import { useEffect as a } from "react";
2
+ const i = /* @__PURE__ */ new WeakMap();
3
+ function u(s) {
4
+ let { triggerRef: e, isOpen: r, onClose: t } = s;
5
+ a(() => {
6
+ if (!r || t === null) return;
7
+ let o = (n) => {
8
+ let l = n.target;
9
+ if (!e.current || l instanceof Node && !l.contains(e.current) || n.target instanceof HTMLInputElement || n.target instanceof HTMLTextAreaElement) return;
10
+ let f = t || i.get(e.current);
11
+ f && f();
12
+ };
13
+ return window.addEventListener("scroll", o, !0), () => {
14
+ window.removeEventListener("scroll", o, !0);
15
+ };
16
+ }, [
17
+ r,
18
+ t,
19
+ e
20
+ ]);
37
21
  }
38
22
  export {
39
- p as IndianCalendar
23
+ i as onCloseMap,
24
+ u as useCloseOnScroll
40
25
  };
package/index243.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("./index230.js"),d=1948440,U=1948439,n=1300,u=1600,h=460322;function $(a,e,r,t){return t+Math.ceil(29.5*(r-1))+(e-1)*354+Math.floor((3+11*e)/30)+a-1}function p(a,e,r){let t=Math.floor((30*(r-e)+10646)/10631),C=Math.min(12,Math.ceil((r-(29+$(e,t,1,1)))/29.5)+1),l=r-$(e,t,C,1)+1;return new B.CalendarDate(a,t,C,l)}function b(a){return(14+11*a)%30<11}class Q{fromJulianDay(e){return p(this,d,e)}toJulianDay(e){return $(d,e.year,e.month,e.day)}getDaysInMonth(e){let r=29+e.month%2;return e.month===12&&b(e.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(e){return b(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class w extends Q{fromJulianDay(e){return p(this,U,e)}toJulianDay(e){return $(U,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}const J="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let y,s;function g(a){return h+s[a-n]}function f(a,e){let r=a-n,t=1<<11-(e-1);return y[r]&t?30:29}function m(a,e){let r=g(a);for(let t=1;t<e;t++)r+=f(a,t);return r}function D(a){return s[a+1-n]-s[a-n]}class q extends Q{fromJulianDay(e){let r=e-d,t=g(n),C=g(u);if(r<t||r>C)return super.fromJulianDay(e);{let l=n-1,i=1,o=1;for(;o>0;){l++,o=r-g(l)+1;let c=D(l);if(o===c){i=12;break}else if(o<c){let A=f(l,i);for(i=1;o>A;)o-=A,i++,A=f(l,i);break}}return new B.CalendarDate(this,l,i,r-m(l,i)+1)}}toJulianDay(e){return e.year<n||e.year>u?super.toJulianDay(e):d+m(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<n||e.year>u?super.getDaysInMonth(e):f(e.year,e.month)}getDaysInYear(e){return e.year<n||e.year>u?super.getDaysInYear(e):D(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",y||(y=new Uint16Array(Uint8Array.from(atob(J),e=>e.charCodeAt(0)).buffer)),!s){s=new Uint32Array(u-n+1);let e=0;for(let r=n;r<=u;r++){s[r-n]=e;for(let t=1;t<=12;t++)e+=f(r,t)}}}}exports.IslamicCivilCalendar=Q;exports.IslamicTabularCalendar=w;exports.IslamicUmalquraCalendar=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("@react-aria/focus"),D=require("react"),h=require("./index195.js"),y=require("./index244.js"),t=[];function b(a,i){let{onClose:n,shouldCloseOnBlur:l,isOpen:o,isDismissable:u=!1,isKeyboardDismissDisabled:d=!1,shouldCloseOnInteractOutside:s}=a;D.useEffect(()=>{if(o&&!t.includes(i))return t.push(i),()=>{let e=t.indexOf(i);e>=0&&t.splice(e,1)}},[o,i]);let r=()=>{t[t.length-1]===i&&n&&n()},c=e=>{(!s||s(e.target))&&t[t.length-1]===i&&(e.stopPropagation(),e.preventDefault())},f=e=>{(!s||s(e.target))&&(t[t.length-1]===i&&(e.stopPropagation(),e.preventDefault()),r())},p=e=>{e.key==="Escape"&&!d&&!e.nativeEvent.isComposing&&(e.stopPropagation(),e.preventDefault(),r())};y.useInteractOutside({ref:i,onInteractOutside:u&&o?f:void 0,onInteractOutsideStart:c});let{focusWithinProps:O}=h.useFocusWithin({isDisabled:!l,onBlurWithin:e=>{!e.relatedTarget||v.isElementInChildOfActiveScope(e.relatedTarget)||(!s||s(e.relatedTarget))&&(n==null||n())}}),g=e=>{e.target===e.currentTarget&&e.preventDefault()};return{overlayProps:{onKeyDown:p,...O},underlayProps:{onPointerDown:g}}}exports.useOverlay=b;
package/index243.mjs CHANGED
@@ -1,116 +1,52 @@
1
- import { CalendarDate as D } from "./index230.mjs";
2
- const g = 1948440, y = 1948439, n = 1300, f = 1600, h = 460322;
3
- function d(a, e, r, t) {
4
- return t + Math.ceil(29.5 * (r - 1)) + (e - 1) * 354 + Math.floor((3 + 11 * e) / 30) + a - 1;
5
- }
6
- function p(a, e, r) {
7
- let t = Math.floor((30 * (r - e) + 10646) / 10631), C = Math.min(12, Math.ceil((r - (29 + d(e, t, 1, 1))) / 29.5) + 1), l = r - d(e, t, C, 1) + 1;
8
- return new D(a, t, C, l);
9
- }
10
- function U(a) {
11
- return (14 + 11 * a) % 30 < 11;
12
- }
13
- class B {
14
- fromJulianDay(e) {
15
- return p(this, g, e);
16
- }
17
- toJulianDay(e) {
18
- return d(g, e.year, e.month, e.day);
19
- }
20
- getDaysInMonth(e) {
21
- let r = 29 + e.month % 2;
22
- return e.month === 12 && U(e.year) && r++, r;
23
- }
24
- getMonthsInYear() {
25
- return 12;
26
- }
27
- getDaysInYear(e) {
28
- return U(e.year) ? 355 : 354;
29
- }
30
- getYearsInEra() {
31
- return 9665;
32
- }
33
- getEras() {
34
- return [
35
- "AH"
36
- ];
37
- }
38
- constructor() {
39
- this.identifier = "islamic-civil";
40
- }
41
- }
42
- class L extends B {
43
- fromJulianDay(e) {
44
- return p(this, y, e);
45
- }
46
- toJulianDay(e) {
47
- return d(y, e.year, e.month, e.day);
48
- }
49
- constructor(...e) {
50
- super(...e), this.identifier = "islamic-tbla";
51
- }
52
- }
53
- const w = "qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";
54
- let c, s;
55
- function $(a) {
56
- return h + s[a - n];
57
- }
58
- function u(a, e) {
59
- let r = a - n, t = 1 << 11 - (e - 1);
60
- return c[r] & t ? 30 : 29;
61
- }
62
- function b(a, e) {
63
- let r = $(a);
64
- for (let t = 1; t < e; t++) r += u(a, t);
65
- return r;
66
- }
67
- function m(a) {
68
- return s[a + 1 - n] - s[a - n];
69
- }
70
- class q extends B {
71
- fromJulianDay(e) {
72
- let r = e - g, t = $(n), C = $(f);
73
- if (r < t || r > C) return super.fromJulianDay(e);
74
- {
75
- let l = n - 1, i = 1, o = 1;
76
- for (; o > 0; ) {
77
- l++, o = r - $(l) + 1;
78
- let Q = m(l);
79
- if (o === Q) {
80
- i = 12;
81
- break;
82
- } else if (o < Q) {
83
- let A = u(l, i);
84
- for (i = 1; o > A; )
85
- o -= A, i++, A = u(l, i);
86
- break;
87
- }
88
- }
89
- return new D(this, l, i, r - b(l, i) + 1);
1
+ import { isElementInChildOfActiveScope as g } from "@react-aria/focus";
2
+ import { useEffect as m } from "react";
3
+ import { useFocusWithin as v } from "./index195.mjs";
4
+ import { useInteractOutside as b } from "./index244.mjs";
5
+ const t = [];
6
+ function C(a, i) {
7
+ let { onClose: o, shouldCloseOnBlur: l, isOpen: n, isDismissable: d = !1, isKeyboardDismissDisabled: u = !1, shouldCloseOnInteractOutside: s } = a;
8
+ m(() => {
9
+ if (n && !t.includes(i))
10
+ return t.push(i), () => {
11
+ let e = t.indexOf(i);
12
+ e >= 0 && t.splice(e, 1);
13
+ };
14
+ }, [
15
+ n,
16
+ i
17
+ ]);
18
+ let r = () => {
19
+ t[t.length - 1] === i && o && o();
20
+ }, f = (e) => {
21
+ (!s || s(e.target)) && t[t.length - 1] === i && (e.stopPropagation(), e.preventDefault());
22
+ }, p = (e) => {
23
+ (!s || s(e.target)) && (t[t.length - 1] === i && (e.stopPropagation(), e.preventDefault()), r());
24
+ }, c = (e) => {
25
+ e.key === "Escape" && !u && !e.nativeEvent.isComposing && (e.stopPropagation(), e.preventDefault(), r());
26
+ };
27
+ b({
28
+ ref: i,
29
+ onInteractOutside: d && n ? p : void 0,
30
+ onInteractOutsideStart: f
31
+ });
32
+ let { focusWithinProps: O } = v({
33
+ isDisabled: !l,
34
+ onBlurWithin: (e) => {
35
+ !e.relatedTarget || g(e.relatedTarget) || (!s || s(e.relatedTarget)) && (o == null || o());
90
36
  }
91
- }
92
- toJulianDay(e) {
93
- return e.year < n || e.year > f ? super.toJulianDay(e) : g + b(e.year, e.month) + (e.day - 1);
94
- }
95
- getDaysInMonth(e) {
96
- return e.year < n || e.year > f ? super.getDaysInMonth(e) : u(e.year, e.month);
97
- }
98
- getDaysInYear(e) {
99
- return e.year < n || e.year > f ? super.getDaysInYear(e) : m(e.year);
100
- }
101
- constructor() {
102
- if (super(), this.identifier = "islamic-umalqura", c || (c = new Uint16Array(Uint8Array.from(atob(w), (e) => e.charCodeAt(0)).buffer)), !s) {
103
- s = new Uint32Array(f - n + 1);
104
- let e = 0;
105
- for (let r = n; r <= f; r++) {
106
- s[r - n] = e;
107
- for (let t = 1; t <= 12; t++) e += u(r, t);
108
- }
37
+ }), D = (e) => {
38
+ e.target === e.currentTarget && e.preventDefault();
39
+ };
40
+ return {
41
+ overlayProps: {
42
+ onKeyDown: c,
43
+ ...O
44
+ },
45
+ underlayProps: {
46
+ onPointerDown: D
109
47
  }
110
- }
48
+ };
111
49
  }
112
50
  export {
113
- B as IslamicCivilCalendar,
114
- L as IslamicTabularCalendar,
115
- q as IslamicUmalquraCalendar
51
+ C as useOverlay
116
52
  };
package/index244.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index230.js"),b=require("./index237.js"),y=347997,h=1080,M=24*h,T=29,w=12*h+793,D=T*M+w;function n(e){return b.mod(e*7+1,19)<7}function i(e){let r=Math.floor((235*e-234)/19),t=12084+13753*r,f=r*29+Math.floor(t/25920);return b.mod(3*(f+1),7)<3&&(f+=1),f}function O(e){let r=i(e-1),t=i(e);return i(e+1)-t===356?2:t-r===382?1:0}function c(e){return i(e)+O(e)}function g(e){return c(e+1)-c(e)}function A(e){let r=g(e);switch(r>380&&(r-=30),r){case 353:return 0;case 354:return 1;case 355:return 2}}function u(e,r){if(r>=6&&!n(e)&&r++,r===4||r===7||r===9||r===11||r===13)return 29;let t=A(e);return r===2?t===2?30:29:r===3?t===0?29:30:r===6?n(e)?30:0:30}class H{fromJulianDay(r){let t=r-y,f=t*M/D,a=Math.floor((19*f+234)/235)+1,s=c(a),l=Math.floor(t-s);for(;l<1;)a--,s=c(a),l=Math.floor(t-s);let $=1,o=0;for(;o<l;)o+=u(a,$),$++;$--,o-=u(a,$);let Y=l-o;return new v.CalendarDate(this,a,$,Y)}toJulianDay(r){let t=c(r.year);for(let f=1;f<r.month;f++)t+=u(r.year,f);return t+r.day+y}getDaysInMonth(r){return u(r.year,r.month)}getMonthsInYear(r){return n(r.year)?13:12}getDaysInYear(r){return g(r.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(r,t){t.year!==r.year&&(n(t.year)&&!n(r.year)&&t.month>6?r.month--:!n(t.year)&&n(r.year)&&t.month>6&&r.month++)}constructor(){this.identifier="hebrew"}}exports.HebrewCalendar=H;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./index171.js"),v=require("./index188.js"),m=require("react");function D(r){let{ref:n,onInteractOutside:s,isDisabled:d,onInteractOutsideStart:l}=r,E=m.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=v.useEffectEvent(e=>{s&&c(e,n)&&(l&&l(e),E.current.isPointerDown=!0)}),f=v.useEffectEvent(e=>{s&&s(e)});m.useEffect(()=>{let e=E.current;if(d)return;const p=n.current,t=w.getOwnerDocument(p);if(typeof PointerEvent<"u"){let i=u=>{e.isPointerDown&&c(u,n)&&f(u),e.isPointerDown=!1};return t.addEventListener("pointerdown",o,!0),t.addEventListener("pointerup",i,!0),()=>{t.removeEventListener("pointerdown",o,!0),t.removeEventListener("pointerup",i,!0)}}else if(process.env.NODE_ENV==="test"){let i=a=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&c(a,n)&&f(a),e.isPointerDown=!1},u=a=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&c(a,n)&&f(a),e.isPointerDown=!1};return t.addEventListener("mousedown",o,!0),t.addEventListener("mouseup",i,!0),t.addEventListener("touchstart",o,!0),t.addEventListener("touchend",u,!0),()=>{t.removeEventListener("mousedown",o,!0),t.removeEventListener("mouseup",i,!0),t.removeEventListener("touchstart",o,!0),t.removeEventListener("touchend",u,!0)}}},[n,d,o,f])}function c(r,n){if(r.button>0)return!1;if(r.target){const s=r.target.ownerDocument;if(!s||!s.documentElement.contains(r.target)||r.target.closest("[data-react-aria-top-layer]"))return!1}return n.current?!r.composedPath().includes(n.current):!1}exports.useInteractOutside=D;
package/index244.mjs CHANGED
@@ -1,80 +1,51 @@
1
- import { CalendarDate as v } from "./index230.mjs";
2
- import { mod as y } from "./index237.mjs";
3
- const b = 347997, h = 1080, M = 24 * h, T = 29, m = 12 * h + 793, w = T * M + m;
4
- function a(e) {
5
- return y(e * 7 + 1, 19) < 7;
6
- }
7
- function i(e) {
8
- let r = Math.floor((235 * e - 234) / 19), t = 12084 + 13753 * r, f = r * 29 + Math.floor(t / 25920);
9
- return y(3 * (f + 1), 7) < 3 && (f += 1), f;
10
- }
11
- function p(e) {
12
- let r = i(e - 1), t = i(e);
13
- return i(e + 1) - t === 356 ? 2 : t - r === 382 ? 1 : 0;
14
- }
15
- function c(e) {
16
- return i(e) + p(e);
17
- }
18
- function Y(e) {
19
- return c(e + 1) - c(e);
20
- }
21
- function A(e) {
22
- let r = Y(e);
23
- switch (r > 380 && (r -= 30), r) {
24
- case 353:
25
- return 0;
26
- case 354:
27
- return 1;
28
- case 355:
29
- return 2;
30
- }
31
- }
32
- function s(e, r) {
33
- if (r >= 6 && !a(e) && r++, r === 4 || r === 7 || r === 9 || r === 11 || r === 13) return 29;
34
- let t = A(e);
35
- return r === 2 ? t === 2 ? 30 : 29 : r === 3 ? t === 0 ? 29 : 30 : r === 6 ? a(e) ? 30 : 0 : 30;
36
- }
37
- class O {
38
- fromJulianDay(r) {
39
- let t = r - b, f = t * M / w, n = Math.floor((19 * f + 234) / 235) + 1, u = c(n), o = Math.floor(t - u);
40
- for (; o < 1; )
41
- n--, u = c(n), o = Math.floor(t - u);
42
- let $ = 1, l = 0;
43
- for (; l < o; )
44
- l += s(n, $), $++;
45
- $--, l -= s(n, $);
46
- let g = o - l;
47
- return new v(this, n, $, g);
48
- }
49
- toJulianDay(r) {
50
- let t = c(r.year);
51
- for (let f = 1; f < r.month; f++) t += s(r.year, f);
52
- return t + r.day + b;
53
- }
54
- getDaysInMonth(r) {
55
- return s(r.year, r.month);
56
- }
57
- getMonthsInYear(r) {
58
- return a(r.year) ? 13 : 12;
59
- }
60
- getDaysInYear(r) {
61
- return Y(r.year);
62
- }
63
- getYearsInEra() {
64
- return 9999;
65
- }
66
- getEras() {
67
- return [
68
- "AM"
69
- ];
70
- }
71
- balanceYearMonth(r, t) {
72
- t.year !== r.year && (a(t.year) && !a(r.year) && t.month > 6 ? r.month-- : !a(t.year) && a(r.year) && t.month > 6 && r.month++);
73
- }
74
- constructor() {
75
- this.identifier = "hebrew";
76
- }
1
+ import { getOwnerDocument as p } from "./index171.mjs";
2
+ import { useEffectEvent as m } from "./index188.mjs";
3
+ import { useRef as w, useEffect as D } from "react";
4
+ function $(r) {
5
+ let { ref: n, onInteractOutside: s, isDisabled: d, onInteractOutsideStart: l } = r, E = w({
6
+ isPointerDown: !1,
7
+ ignoreEmulatedMouseEvents: !1
8
+ }), o = m((e) => {
9
+ s && c(e, n) && (l && l(e), E.current.isPointerDown = !0);
10
+ }), f = m((e) => {
11
+ s && s(e);
12
+ });
13
+ D(() => {
14
+ let e = E.current;
15
+ if (d) return;
16
+ const v = n.current, t = p(v);
17
+ if (typeof PointerEvent < "u") {
18
+ let i = (u) => {
19
+ e.isPointerDown && c(u, n) && f(u), e.isPointerDown = !1;
20
+ };
21
+ return t.addEventListener("pointerdown", o, !0), t.addEventListener("pointerup", i, !0), () => {
22
+ t.removeEventListener("pointerdown", o, !0), t.removeEventListener("pointerup", i, !0);
23
+ };
24
+ } else if (process.env.NODE_ENV === "test") {
25
+ let i = (a) => {
26
+ e.ignoreEmulatedMouseEvents ? e.ignoreEmulatedMouseEvents = !1 : e.isPointerDown && c(a, n) && f(a), e.isPointerDown = !1;
27
+ }, u = (a) => {
28
+ e.ignoreEmulatedMouseEvents = !0, e.isPointerDown && c(a, n) && f(a), e.isPointerDown = !1;
29
+ };
30
+ return t.addEventListener("mousedown", o, !0), t.addEventListener("mouseup", i, !0), t.addEventListener("touchstart", o, !0), t.addEventListener("touchend", u, !0), () => {
31
+ t.removeEventListener("mousedown", o, !0), t.removeEventListener("mouseup", i, !0), t.removeEventListener("touchstart", o, !0), t.removeEventListener("touchend", u, !0);
32
+ };
33
+ }
34
+ }, [
35
+ n,
36
+ d,
37
+ o,
38
+ f
39
+ ]);
40
+ }
41
+ function c(r, n) {
42
+ if (r.button > 0) return !1;
43
+ if (r.target) {
44
+ const s = r.target.ownerDocument;
45
+ if (!s || !s.documentElement.contains(r.target) || r.target.closest("[data-react-aria-top-layer]")) return !1;
46
+ }
47
+ return n.current ? !r.composedPath().includes(n.current) : !1;
77
48
  }
78
49
  export {
79
- O as HebrewCalendar
50
+ $ as useInteractOutside
80
51
  };
package/index245.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index230.js"),f=1723856,y=1824665,u=5500;function i(a,r,e,t){return a+365*r+Math.floor(r/4)+30*(e-1)+t-1}function s(a,r){let e=Math.floor(4*(r-a)/1461),t=1+Math.floor((r-i(a,e,1,1))/30),n=r+1-i(a,e,t,1);return[e,t,n]}function $(a){return Math.floor(a%4/3)}function E(a,r){return r%13!==0?30:$(a)+5}class l{fromJulianDay(r){let[e,t,n]=s(f,r),o="AM";return e<=0&&(o="AA",e+=u),new c.CalendarDate(this,o,e,t,n)}toJulianDay(r){let e=r.year;return r.era==="AA"&&(e-=u),i(f,e,r.month,r.day)}getDaysInMonth(r){return E(r.year,r.month)}getMonthsInYear(){return 13}getDaysInYear(r){return 365+$(r.year)}getYearsInEra(r){return r.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class b extends l{fromJulianDay(r){let[e,t,n]=s(f,r);return e+=u,new c.CalendarDate(this,"AA",e,t,n)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...r){super(...r),this.identifier="ethioaa"}}class C extends l{fromJulianDay(r){let[e,t,n]=s(y,r),o="CE";return e<=0&&(o="BCE",e=1-e),new c.CalendarDate(this,o,e,t,n)}toJulianDay(r){let e=r.year;return r.era==="BCE"&&(e=1-e),i(y,e,r.month,r.day)}getDaysInMonth(r){let e=r.year;return r.era==="BCE"&&(e=1-e),E(e,r.month)}isInverseEra(r){return r.era==="BCE"}balanceDate(r){r.year<=0&&(r.era=r.era==="BCE"?"CE":"BCE",r.year=1-r.year)}getEras(){return["BCE","CE"]}getYearsInEra(r){return r.era==="BCE"?9999:9715}constructor(...r){super(...r),this.identifier="coptic"}}exports.CopticCalendar=C;exports.EthiopicAmeteAlemCalendar=b;exports.EthiopicCalendar=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index169.js"),E=require("./index166.js"),w=require("./index183.js"),S=require("./index176.js"),m=typeof document<"u"&&window.visualViewport,y=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let s=0,f;function T(e={}){let{isDisabled:t}=e;E.useLayoutEffect(()=>{if(!t)return s++,s===1&&(S.isIOS()?f=x():f=b()),()=>{s--,s===0&&f()}},[t])}function b(){return v.chain(r(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),r(document.documentElement,"overflow","hidden"))}function x(){let e,t,n=c=>{e=w.getScrollParent(c.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=r(e,"overscrollBehavior","contain"))},o=c=>{if(!e||e===document.documentElement||e===document.body){c.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&c.preventDefault()},u=()=>{t&&t()},a=c=>{let l=c.target;L(l)&&(h(),l.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{l.style.transform="",m&&(m.height<window.innerHeight?requestAnimationFrame(()=>{$(l)}):m.addEventListener("resize",()=>$(l),{once:!0}))}))},i=null,h=()=>{if(i)return;let c=()=>{window.scrollTo(0,0)},l=window.pageXOffset,p=window.pageYOffset;i=v.chain(d(window,"scroll",c),r(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),r(document.documentElement,"overflow","hidden"),r(document.body,"marginTop",`-${p}px`),()=>{window.scrollTo(l,p)}),window.scrollTo(0,0)},g=v.chain(d(document,"touchstart",n,{passive:!1,capture:!0}),d(document,"touchmove",o,{passive:!1,capture:!0}),d(document,"touchend",u,{passive:!1,capture:!0}),d(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),g()}}function r(e,t,n){let o=e.style[t];return e.style[t]=n,()=>{e.style[t]=o}}function d(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function $(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let o=w.getScrollParent(n);if(o!==document.documentElement&&o!==document.body&&o!==n){let u=o.getBoundingClientRect().top,a=n.getBoundingClientRect().top;a>u+n.clientHeight&&(o.scrollTop+=a-u)}n=o.parentElement}}function L(e){return e instanceof HTMLInputElement&&!y.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}exports.usePreventScroll=T;
package/index245.mjs CHANGED
@@ -1,104 +1,100 @@
1
- import { CalendarDate as s } from "./index230.mjs";
2
- const i = 1723856, $ = 1824665, c = 5500;
3
- function f(a, r, e, t) {
4
- return a + 365 * r + Math.floor(r / 4) + 30 * (e - 1) + t - 1;
1
+ import { chain as $ } from "./index169.mjs";
2
+ import { useLayoutEffect as b } from "./index166.mjs";
3
+ import { getScrollParent as w } from "./index183.mjs";
4
+ import { isIOS as g } from "./index176.mjs";
5
+ const m = typeof document < "u" && window.visualViewport, T = /* @__PURE__ */ new Set([
6
+ "checkbox",
7
+ "radio",
8
+ "range",
9
+ "color",
10
+ "file",
11
+ "image",
12
+ "button",
13
+ "submit",
14
+ "reset"
15
+ ]);
16
+ let s = 0, f;
17
+ function C(e = {}) {
18
+ let { isDisabled: t } = e;
19
+ b(() => {
20
+ if (!t)
21
+ return s++, s === 1 && (g() ? f = S() : f = y()), () => {
22
+ s--, s === 0 && f();
23
+ };
24
+ }, [
25
+ t
26
+ ]);
5
27
  }
6
- function u(a, r) {
7
- let e = Math.floor(4 * (r - a) / 1461), t = 1 + Math.floor((r - f(a, e, 1, 1)) / 30), n = r + 1 - f(a, e, t, 1);
8
- return [
9
- e,
10
- t,
11
- n
12
- ];
28
+ function y() {
29
+ return $(l(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`), l(document.documentElement, "overflow", "hidden"));
13
30
  }
14
- function l(a) {
15
- return Math.floor(a % 4 / 3);
31
+ function S() {
32
+ let e, t, n = (c) => {
33
+ e = w(c.target, !0), !(e === document.documentElement && e === document.body) && e instanceof HTMLElement && window.getComputedStyle(e).overscrollBehavior === "auto" && (t = l(e, "overscrollBehavior", "contain"));
34
+ }, o = (c) => {
35
+ if (!e || e === document.documentElement || e === document.body) {
36
+ c.preventDefault();
37
+ return;
38
+ }
39
+ e.scrollHeight === e.clientHeight && e.scrollWidth === e.clientWidth && c.preventDefault();
40
+ }, u = () => {
41
+ t && t();
42
+ }, a = (c) => {
43
+ let r = c.target;
44
+ x(r) && (h(), r.style.transform = "translateY(-2000px)", requestAnimationFrame(() => {
45
+ r.style.transform = "", m && (m.height < window.innerHeight ? requestAnimationFrame(() => {
46
+ v(r);
47
+ }) : m.addEventListener("resize", () => v(r), {
48
+ once: !0
49
+ }));
50
+ }));
51
+ }, d = null, h = () => {
52
+ if (d) return;
53
+ let c = () => {
54
+ window.scrollTo(0, 0);
55
+ }, r = window.pageXOffset, p = window.pageYOffset;
56
+ d = $(i(window, "scroll", c), l(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`), l(document.documentElement, "overflow", "hidden"), l(document.body, "marginTop", `-${p}px`), () => {
57
+ window.scrollTo(r, p);
58
+ }), window.scrollTo(0, 0);
59
+ }, E = $(i(document, "touchstart", n, {
60
+ passive: !1,
61
+ capture: !0
62
+ }), i(document, "touchmove", o, {
63
+ passive: !1,
64
+ capture: !0
65
+ }), i(document, "touchend", u, {
66
+ passive: !1,
67
+ capture: !0
68
+ }), i(document, "focus", a, !0));
69
+ return () => {
70
+ t == null || t(), d == null || d(), E();
71
+ };
16
72
  }
17
- function y(a, r) {
18
- return r % 13 !== 0 ? 30 : l(a) + 5;
73
+ function l(e, t, n) {
74
+ let o = e.style[t];
75
+ return e.style[t] = n, () => {
76
+ e.style[t] = o;
77
+ };
19
78
  }
20
- class b {
21
- fromJulianDay(r) {
22
- let [e, t, n] = u(i, r), o = "AM";
23
- return e <= 0 && (o = "AA", e += c), new s(this, o, e, t, n);
24
- }
25
- toJulianDay(r) {
26
- let e = r.year;
27
- return r.era === "AA" && (e -= c), f(i, e, r.month, r.day);
28
- }
29
- getDaysInMonth(r) {
30
- return y(r.year, r.month);
31
- }
32
- getMonthsInYear() {
33
- return 13;
34
- }
35
- getDaysInYear(r) {
36
- return 365 + l(r.year);
37
- }
38
- getYearsInEra(r) {
39
- return r.era === "AA" ? 9999 : 9991;
40
- }
41
- getEras() {
42
- return [
43
- "AA",
44
- "AM"
45
- ];
46
- }
47
- constructor() {
48
- this.identifier = "ethiopic";
49
- }
79
+ function i(e, t, n, o) {
80
+ return e.addEventListener(t, n, o), () => {
81
+ e.removeEventListener(t, n, o);
82
+ };
50
83
  }
51
- class h extends b {
52
- fromJulianDay(r) {
53
- let [e, t, n] = u(i, r);
54
- return e += c, new s(this, "AA", e, t, n);
55
- }
56
- getEras() {
57
- return [
58
- "AA"
59
- ];
60
- }
61
- getYearsInEra() {
62
- return 9999;
63
- }
64
- constructor(...r) {
65
- super(...r), this.identifier = "ethioaa";
84
+ function v(e) {
85
+ let t = document.scrollingElement || document.documentElement, n = e;
86
+ for (; n && n !== t; ) {
87
+ let o = w(n);
88
+ if (o !== document.documentElement && o !== document.body && o !== n) {
89
+ let u = o.getBoundingClientRect().top, a = n.getBoundingClientRect().top;
90
+ a > u + n.clientHeight && (o.scrollTop += a - u);
91
+ }
92
+ n = o.parentElement;
66
93
  }
67
94
  }
68
- class C extends b {
69
- fromJulianDay(r) {
70
- let [e, t, n] = u($, r), o = "CE";
71
- return e <= 0 && (o = "BCE", e = 1 - e), new s(this, o, e, t, n);
72
- }
73
- toJulianDay(r) {
74
- let e = r.year;
75
- return r.era === "BCE" && (e = 1 - e), f($, e, r.month, r.day);
76
- }
77
- getDaysInMonth(r) {
78
- let e = r.year;
79
- return r.era === "BCE" && (e = 1 - e), y(e, r.month);
80
- }
81
- isInverseEra(r) {
82
- return r.era === "BCE";
83
- }
84
- balanceDate(r) {
85
- r.year <= 0 && (r.era = r.era === "BCE" ? "CE" : "BCE", r.year = 1 - r.year);
86
- }
87
- getEras() {
88
- return [
89
- "BCE",
90
- "CE"
91
- ];
92
- }
93
- getYearsInEra(r) {
94
- return r.era === "BCE" ? 9999 : 9715;
95
- }
96
- constructor(...r) {
97
- super(...r), this.identifier = "coptic";
98
- }
95
+ function x(e) {
96
+ return e instanceof HTMLInputElement && !T.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
99
97
  }
100
98
  export {
101
- C as CopticCalendar,
102
- h as EthiopicAmeteAlemCalendar,
103
- b as EthiopicCalendar
99
+ C as usePreventScroll
104
100
  };
package/index246.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};exports.weekStartData=A;
1
+ "use strict";const e=require("./index265.js"),r=require("./index266.js"),t=require("./index267.js"),s=require("./index268.js"),u=require("./index269.js"),n=require("./index270.js"),i=require("./index271.js"),o=require("./index272.js"),c=require("./index273.js"),q=require("./index274.js"),R=require("./index275.js"),l=require("./index276.js"),E=require("./index277.js"),S=require("./index278.js"),h=require("./index279.js"),L=require("./index280.js"),T=require("./index281.js"),a=require("./index282.js"),I=require("./index283.js"),P=require("./index284.js"),U=require("./index285.js"),d=require("./index286.js"),f=require("./index287.js"),p=require("./index288.js"),k=require("./index289.js"),K=require("./index290.js"),N=require("./index291.js"),b=require("./index292.js"),v=require("./index293.js"),z=require("./index294.js"),A=require("./index295.js"),B=require("./index296.js"),C=require("./index297.js"),D=require("./index298.js");exports.default={};exports.default={"ar-AE":e,"bg-BG":r,"cs-CZ":t,"da-DK":s,"de-DE":u,"el-GR":n,"en-US":i,"es-ES":o,"et-EE":c,"fi-FI":q,"fr-FR":R,"he-IL":l,"hr-HR":E,"hu-HU":S,"it-IT":h,"ja-JP":L,"ko-KR":T,"lt-LT":a,"lv-LV":I,"nb-NO":P,"nl-NL":U,"pl-PL":d,"pt-BR":f,"pt-PT":p,"ro-RO":k,"ru-RU":K,"sk-SK":N,"sl-SI":b,"sr-SP":v,"sv-SE":z,"tr-TR":A,"uk-UA":B,"zh-CN":C,"zh-TW":D};module.exports=exports.default;