@a-ui/react 7.13.0-beta.0 → 7.13.0-beta.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 (475) hide show
  1. package/constants/settings.d.ts +1 -1
  2. package/constants/stories.settings.d.ts +11 -0
  3. package/index.js +1 -62
  4. package/index.mjs +98 -9098
  5. package/index10.js +1 -0
  6. package/index10.mjs +60 -0
  7. package/index100.js +1 -0
  8. package/index100.mjs +4 -0
  9. package/index101.js +1 -0
  10. package/index101.mjs +400 -0
  11. package/index102.js +5 -0
  12. package/index102.mjs +42 -0
  13. package/index103.js +1 -0
  14. package/index103.mjs +4 -0
  15. package/index104.js +1 -0
  16. package/index104.mjs +10 -0
  17. package/index105.js +2 -0
  18. package/index105.mjs +329 -0
  19. package/index106.js +1 -0
  20. package/index106.mjs +52 -0
  21. package/index107.js +1 -0
  22. package/index107.mjs +4 -0
  23. package/index108.js +1 -0
  24. package/index108.mjs +67 -0
  25. package/index109.js +1 -0
  26. package/index109.mjs +45 -0
  27. package/index11.js +1 -0
  28. package/index11.mjs +12 -0
  29. package/index110.js +10 -0
  30. package/index110.mjs +62 -0
  31. package/index111.js +1 -0
  32. package/index111.mjs +46 -0
  33. package/index112.js +1 -0
  34. package/index112.mjs +42 -0
  35. package/index113.js +1 -0
  36. package/index113.mjs +4 -0
  37. package/index114.js +1 -0
  38. package/index114.mjs +4 -0
  39. package/index115.js +1 -0
  40. package/index115.mjs +4 -0
  41. package/index116.js +1 -0
  42. package/index116.mjs +33 -0
  43. package/index117.js +5 -0
  44. package/index117.mjs +21 -0
  45. package/index118.js +9 -0
  46. package/index118.mjs +63 -0
  47. package/index119.js +1 -0
  48. package/index119.mjs +65 -0
  49. package/index12.js +1 -0
  50. package/index12.mjs +215 -0
  51. package/index120.js +1 -0
  52. package/index120.mjs +16 -0
  53. package/index121.js +1 -0
  54. package/index121.mjs +9 -0
  55. package/index122.js +1 -0
  56. package/index122.mjs +9 -0
  57. package/index123.js +1 -0
  58. package/index123.mjs +8 -0
  59. package/index124.js +1 -0
  60. package/index124.mjs +8 -0
  61. package/index125.js +1 -0
  62. package/index125.mjs +7 -0
  63. package/index126.js +1 -0
  64. package/index126.mjs +7 -0
  65. package/index127.js +1 -0
  66. package/index127.mjs +9 -0
  67. package/index128.js +1 -0
  68. package/index128.mjs +7 -0
  69. package/index129.js +1 -0
  70. package/index129.mjs +69 -0
  71. package/index13.js +1 -0
  72. package/index13.mjs +29 -0
  73. package/index130.js +1 -0
  74. package/index130.mjs +5 -0
  75. package/index131.js +1 -0
  76. package/index131.mjs +7 -0
  77. package/index132.js +1 -0
  78. package/index132.mjs +13 -0
  79. package/index133.js +1 -0
  80. package/index133.mjs +4 -0
  81. package/index134.js +1 -0
  82. package/index134.mjs +393 -0
  83. package/index135.js +1 -0
  84. package/index135.mjs +127 -0
  85. package/index136.js +1 -0
  86. package/index136.mjs +136 -0
  87. package/index137.js +1 -0
  88. package/index137.mjs +4 -0
  89. package/index138.js +1 -0
  90. package/index138.mjs +4 -0
  91. package/index139.js +8 -0
  92. package/index139.mjs +78 -0
  93. package/index14.js +1 -0
  94. package/index14.mjs +44 -0
  95. package/index140.js +8 -0
  96. package/index140.mjs +95 -0
  97. package/index141.js +5 -0
  98. package/index141.mjs +54 -0
  99. package/index142.js +1 -0
  100. package/index142.mjs +10 -0
  101. package/index143.js +1 -0
  102. package/index143.mjs +7 -0
  103. package/index144.js +1 -0
  104. package/index144.mjs +54 -0
  105. package/index145.js +11 -0
  106. package/index145.mjs +60 -0
  107. package/index146.js +1 -0
  108. package/index146.mjs +4 -0
  109. package/index147.js +1 -0
  110. package/index147.mjs +4 -0
  111. package/index148.js +1 -0
  112. package/index148.mjs +7 -0
  113. package/index149.js +1 -0
  114. package/index149.mjs +7 -0
  115. package/index15.js +1 -0
  116. package/index15.mjs +8 -0
  117. package/index150.js +1 -0
  118. package/index150.mjs +9 -0
  119. package/index151.js +1 -0
  120. package/index151.mjs +15 -0
  121. package/index152.js +1 -0
  122. package/index152.mjs +18 -0
  123. package/index153.js +1 -0
  124. package/index153.mjs +11 -0
  125. package/index154.js +1 -0
  126. package/index154.mjs +8 -0
  127. package/index155.js +1 -0
  128. package/index155.mjs +8 -0
  129. package/index156.js +1 -0
  130. package/index156.mjs +7 -0
  131. package/index157.js +1 -0
  132. package/index157.mjs +515 -0
  133. package/index158.js +1 -0
  134. package/index158.mjs +52 -0
  135. package/index159.js +1 -0
  136. package/index159.mjs +20 -0
  137. package/index16.js +1 -0
  138. package/index16.mjs +15 -0
  139. package/index160.js +1 -0
  140. package/index160.mjs +20 -0
  141. package/index161.js +1 -0
  142. package/index161.mjs +7 -0
  143. package/index162.js +1 -0
  144. package/index162.mjs +10 -0
  145. package/index163.js +1 -0
  146. package/index163.mjs +8 -0
  147. package/index164.js +1 -0
  148. package/index164.mjs +7 -0
  149. package/index165.js +1 -0
  150. package/index165.mjs +8 -0
  151. package/index166.js +1 -0
  152. package/index166.mjs +11 -0
  153. package/index167.js +1 -0
  154. package/index167.mjs +7 -0
  155. package/index168.js +1 -0
  156. package/index168.mjs +10 -0
  157. package/index169.js +1 -0
  158. package/index169.mjs +14 -0
  159. package/index17.js +1 -0
  160. package/index17.mjs +108 -0
  161. package/index170.js +1 -0
  162. package/index170.mjs +11 -0
  163. package/index171.js +1 -0
  164. package/index171.mjs +11 -0
  165. package/index172.js +1 -0
  166. package/index172.mjs +15 -0
  167. package/index173.js +1 -0
  168. package/index173.mjs +6 -0
  169. package/index174.js +1 -0
  170. package/index174.mjs +35 -0
  171. package/index175.js +1 -0
  172. package/index175.mjs +67 -0
  173. package/index176.js +1 -0
  174. package/index176.mjs +10 -0
  175. package/index177.js +1 -0
  176. package/index177.mjs +10 -0
  177. package/index178.js +1 -0
  178. package/index178.mjs +9 -0
  179. package/index179.js +1 -0
  180. package/index179.mjs +9 -0
  181. package/index18.js +1 -0
  182. package/index18.mjs +136 -0
  183. package/index180.js +1 -0
  184. package/index180.mjs +16 -0
  185. package/index181.js +1 -0
  186. package/index181.mjs +4 -0
  187. package/index182.js +1 -0
  188. package/index182.mjs +4 -0
  189. package/index183.js +1 -0
  190. package/index183.mjs +4 -0
  191. package/index184.js +1 -0
  192. package/index184.mjs +59 -0
  193. package/index185.js +1 -0
  194. package/index185.mjs +24 -0
  195. package/index186.js +1 -0
  196. package/index186.mjs +43 -0
  197. package/index187.js +1 -0
  198. package/index187.mjs +63 -0
  199. package/index188.js +1 -0
  200. package/index188.mjs +34 -0
  201. package/index189.js +1 -0
  202. package/index189.mjs +15 -0
  203. package/index19.js +1 -0
  204. package/index19.mjs +11 -0
  205. package/index190.js +1 -0
  206. package/index190.mjs +64 -0
  207. package/index191.js +1 -0
  208. package/index191.mjs +64 -0
  209. package/index192.js +1 -0
  210. package/index192.mjs +65 -0
  211. package/index193.js +1 -0
  212. package/index193.mjs +65 -0
  213. package/index194.js +1 -0
  214. package/index194.mjs +42 -0
  215. package/index195.js +1 -0
  216. package/index195.mjs +43 -0
  217. package/index196.js +1 -0
  218. package/index196.mjs +55 -0
  219. package/index197.js +1 -0
  220. package/index197.mjs +45 -0
  221. package/index198.js +1 -0
  222. package/index198.mjs +39 -0
  223. package/index199.js +1 -0
  224. package/index199.mjs +68 -0
  225. package/index2.js +1 -0
  226. package/index2.mjs +12 -0
  227. package/index20.js +1 -0
  228. package/index20.mjs +54 -0
  229. package/index200.js +1 -0
  230. package/index200.mjs +68 -0
  231. package/index201.js +1 -0
  232. package/index201.mjs +93 -0
  233. package/index202.js +1 -0
  234. package/index202.mjs +43 -0
  235. package/index203.js +1 -0
  236. package/index203.mjs +43 -0
  237. package/index204.js +1 -0
  238. package/index204.mjs +43 -0
  239. package/index205.js +1 -0
  240. package/index205.mjs +27 -0
  241. package/index206.js +1 -0
  242. package/index206.mjs +26 -0
  243. package/index207.js +1 -0
  244. package/index207.mjs +26 -0
  245. package/index208.js +1 -0
  246. package/index208.mjs +27 -0
  247. package/index209.js +1 -0
  248. package/index209.mjs +26 -0
  249. package/index21.js +1 -0
  250. package/index21.mjs +33 -0
  251. package/index210.js +1 -0
  252. package/index210.mjs +26 -0
  253. package/index211.js +1 -0
  254. package/index211.mjs +16 -0
  255. package/index212.js +1 -0
  256. package/index212.mjs +42 -0
  257. package/index213.js +1 -0
  258. package/index213.mjs +42 -0
  259. package/index214.js +1 -0
  260. package/index214.mjs +16 -0
  261. package/index215.js +1 -0
  262. package/index215.mjs +16 -0
  263. package/index216.js +1 -0
  264. package/index216.mjs +70 -0
  265. package/index217.js +1 -0
  266. package/index217.mjs +33 -0
  267. package/index218.js +1 -0
  268. package/index218.mjs +11 -0
  269. package/index219.js +1 -0
  270. package/index219.mjs +155 -0
  271. package/index22.js +1 -0
  272. package/index22.mjs +22 -0
  273. package/index220.js +1 -0
  274. package/index220.mjs +110 -0
  275. package/index221.js +1 -0
  276. package/index221.mjs +22 -0
  277. package/index222.js +1 -0
  278. package/index222.mjs +103 -0
  279. package/index223.js +1 -0
  280. package/index223.mjs +49 -0
  281. package/index224.js +1 -0
  282. package/index224.mjs +70 -0
  283. package/index225.js +1 -0
  284. package/index225.mjs +33 -0
  285. package/index226.js +1 -0
  286. package/index226.mjs +11 -0
  287. package/index227.js +1 -0
  288. package/index227.mjs +110 -0
  289. package/index228.js +1 -0
  290. package/index228.mjs +109 -0
  291. package/index229.js +1 -0
  292. package/index229.mjs +9 -0
  293. package/index23.js +1 -0
  294. package/index23.mjs +32 -0
  295. package/index230.js +1 -0
  296. package/index230.mjs +18 -0
  297. package/index231.js +1 -0
  298. package/index231.mjs +31 -0
  299. package/index232.js +1 -0
  300. package/index232.mjs +15 -0
  301. package/index233.js +1 -0
  302. package/index233.mjs +61 -0
  303. package/index234.js +1 -0
  304. package/index234.mjs +11 -0
  305. package/index235.js +1 -0
  306. package/index235.mjs +22 -0
  307. package/index24.js +2 -0
  308. package/index24.mjs +62 -0
  309. package/index25.js +1 -0
  310. package/index25.mjs +15 -0
  311. package/index26.js +1 -0
  312. package/index26.mjs +12 -0
  313. package/index27.js +1 -0
  314. package/index27.mjs +43 -0
  315. package/index28.js +1 -0
  316. package/index28.mjs +34 -0
  317. package/index29.js +1 -0
  318. package/index29.mjs +10 -0
  319. package/index3.js +1 -0
  320. package/index3.mjs +15 -0
  321. package/index30.js +1 -0
  322. package/index30.mjs +72 -0
  323. package/index31.js +1 -0
  324. package/index31.mjs +40 -0
  325. package/index32.js +1 -0
  326. package/index32.mjs +48 -0
  327. package/index33.js +1 -0
  328. package/index33.mjs +90 -0
  329. package/index34.js +1 -0
  330. package/index34.mjs +36 -0
  331. package/index35.js +1 -0
  332. package/index35.mjs +25 -0
  333. package/index36.js +1 -0
  334. package/index36.mjs +27 -0
  335. package/index37.js +1 -0
  336. package/index37.mjs +110 -0
  337. package/index38.js +1 -0
  338. package/index38.mjs +57 -0
  339. package/index39.js +1 -0
  340. package/index39.mjs +21 -0
  341. package/index4.js +1 -0
  342. package/index4.mjs +58 -0
  343. package/index40.js +1 -0
  344. package/index40.mjs +40 -0
  345. package/index41.js +1 -0
  346. package/index41.mjs +54 -0
  347. package/index42.js +1 -0
  348. package/index42.mjs +73 -0
  349. package/index43.js +1 -0
  350. package/index43.mjs +49 -0
  351. package/index44.js +1 -0
  352. package/index44.mjs +13 -0
  353. package/index45.js +1 -0
  354. package/index45.mjs +73 -0
  355. package/index46.js +1 -0
  356. package/index46.mjs +99 -0
  357. package/index47.js +1 -0
  358. package/index47.mjs +45 -0
  359. package/index48.js +1 -0
  360. package/index48.mjs +26 -0
  361. package/index49.js +1 -0
  362. package/index49.mjs +83 -0
  363. package/index5.js +1 -0
  364. package/index5.mjs +136 -0
  365. package/index50.js +1 -0
  366. package/index50.mjs +35 -0
  367. package/index51.js +1 -0
  368. package/index51.mjs +10 -0
  369. package/index52.js +1 -0
  370. package/index52.mjs +13 -0
  371. package/index53.js +1 -0
  372. package/index53.mjs +30 -0
  373. package/index54.js +1 -0
  374. package/index54.mjs +51 -0
  375. package/index55.js +1 -0
  376. package/index55.mjs +10 -0
  377. package/index56.js +1 -0
  378. package/index56.mjs +49 -0
  379. package/index58.js +1 -0
  380. package/index58.mjs +64 -0
  381. package/index59.js +1 -0
  382. package/index59.mjs +62 -0
  383. package/index6.js +1 -0
  384. package/index6.mjs +29 -0
  385. package/index60.js +1 -0
  386. package/index60.mjs +31 -0
  387. package/index61.js +1 -0
  388. package/index61.mjs +23 -0
  389. package/index62.js +1 -0
  390. package/index62.mjs +32 -0
  391. package/index63.js +1 -0
  392. package/index63.mjs +16 -0
  393. package/index64.js +1 -0
  394. package/index64.mjs +61 -0
  395. package/index65.js +1 -0
  396. package/index65.mjs +19 -0
  397. package/index66.js +7 -0
  398. package/index66.mjs +411 -0
  399. package/index7.js +1 -0
  400. package/index7.mjs +8 -0
  401. package/index70.js +1 -0
  402. package/index70.mjs +4 -0
  403. package/index71.js +1 -0
  404. package/index71.mjs +76 -0
  405. package/index72.js +1 -0
  406. package/index72.mjs +31 -0
  407. package/index73.js +1 -0
  408. package/index73.mjs +38 -0
  409. package/index74.js +1 -0
  410. package/index74.mjs +6 -0
  411. package/index75.js +1 -0
  412. package/index75.mjs +37 -0
  413. package/index76.js +1 -0
  414. package/index76.mjs +7 -0
  415. package/index77.js +1 -0
  416. package/index77.mjs +7 -0
  417. package/index78.js +1 -0
  418. package/index78.mjs +7 -0
  419. package/index79.js +1 -0
  420. package/index79.mjs +7 -0
  421. package/index8.js +1 -0
  422. package/index8.mjs +18 -0
  423. package/index80.js +1 -0
  424. package/index80.mjs +7 -0
  425. package/index81.js +1 -0
  426. package/index81.mjs +19 -0
  427. package/index82.js +1 -0
  428. package/index82.mjs +87 -0
  429. package/index83.js +1 -0
  430. package/index83.mjs +8 -0
  431. package/index84.js +1 -0
  432. package/index84.mjs +27 -0
  433. package/index85.js +1 -0
  434. package/index85.mjs +57 -0
  435. package/index87.js +1 -0
  436. package/index87.mjs +7 -0
  437. package/index88.js +1 -0
  438. package/index88.mjs +121 -0
  439. package/index89.js +1 -0
  440. package/index89.mjs +20 -0
  441. package/index9.js +1 -0
  442. package/index9.mjs +18 -0
  443. package/index90.js +1 -0
  444. package/index90.mjs +26 -0
  445. package/index91.js +1 -0
  446. package/index91.mjs +4 -0
  447. package/index92.js +1 -0
  448. package/index92.mjs +237 -0
  449. package/index93.js +1 -0
  450. package/index93.mjs +4 -0
  451. package/index94.js +1 -0
  452. package/index94.mjs +13 -0
  453. package/index95.js +1 -0
  454. package/index95.mjs +249 -0
  455. package/index96.js +1 -0
  456. package/index96.mjs +91 -0
  457. package/index97.js +1 -0
  458. package/index97.mjs +15 -0
  459. package/index98.js +1 -0
  460. package/index98.mjs +6 -0
  461. package/index99.js +1 -0
  462. package/index99.mjs +4 -0
  463. package/lib/atoms/input/text-field/TextField.d.ts +1 -1
  464. package/lib/atoms/select/Select.types.d.ts +1 -1
  465. package/lib/base/icon/Icon.d.ts +1 -1
  466. package/lib/molecules/datepicker/Calendar.d.ts +1 -1
  467. package/lib/molecules/flyout/Flyout.d.ts +1 -1
  468. package/lib/molecules/tag/Tag.d.ts +1 -1
  469. package/package.json +4 -1
  470. package/packages/antwerp-ui/react-components/src/lib/atoms/input/text-field/TextField.css +1 -0
  471. package/packages/antwerp-ui/react-components/src/lib/atoms/tooltip/Tooltip.css +1 -0
  472. package/packages/antwerp-ui/react-components/src/lib/molecules/autocomplete/Autocomplete.css +1 -0
  473. package/packages/antwerp-ui/react-components/src/lib/molecules/datepicker/DateRangePicker.css +1 -0
  474. package/utils/math.utils.d.ts +1 -1
  475. package/index.css +0 -1
package/index10.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),A=require("./index51.js"),e=require("./index53.js"),I=require("./index54.js"),S=require("react"),M=require("./index55.js");function T({addOn:t,ariaLabel:s,children:f,className:p,disabled:b,emphasis:i=e.DEFAULT_EMPHASIS,fullWidth:y,htmlType:E="button",id:v,onClick:q,qa:_,size:o,theme:u,title:j,link:a,renderLinkFunction:h,...r}){const g={"a-button":!0,[`a-button--${e.SIZE_MAP[o||e.DEFAULT_SIZE]}`]:!!o,[`a-button--${u}`]:!!u&&!(u===e.Theme.NEUTRAL&&i===e.Emphasis.HIGH),"a-button--outlined":i===e.Emphasis.MEDIUM,"a-button--text":i===e.Emphasis.LOW,"a-button--full":!!y,"has-icon":["icon","spinner"].includes(t?.type||"")&&!["left","right"].includes(t?.align||""),"has-icon-left":t?.type!=="avatar"&&t?.align==="left","has-icon-right":t?.type!=="avatar"&&t?.align==="right"||t?.type==="spinner"&&t?.align!=="left","has-avatar":t?.type==="avatar","has-avatar-with-inset":t?.type==="avatar"&&(!!t.avatarProps?.letter||!!t.avatarProps?.image),[`${p}`]:!!p},m=A.classNames(g);S.useEffect(()=>{t?.type==="icon"&&!["left","right"].includes(t?.align||"")&&!s&&M.logWarning("Using an Icon Button without an aria-label")},[t,s]);const l={id:v,className:m,title:j,type:E,"aria-label":s,"data-qa":_,...r["aria-haspopup"]?{"aria-haspopup":!0}:{},...r["aria-expanded"]===!0||r["aria-expanded"]===!1?{"aria-expanded":r["aria-expanded"]}:{}},c=n.jsxs(n.Fragment,{children:[I.renderAddOn(t,o),g["has-icon"]?null:f]}),x=()=>h?h({...a,label:c},l):n.jsx("a",{...l,href:a?.href,target:a?.target,children:c});return a&&a.href?x():n.jsx("button",{...l,onClick:q,disabled:b,children:c})}exports.Button=T;
package/index10.mjs ADDED
@@ -0,0 +1,60 @@
1
+ import { jsxs as M, Fragment as S, jsx as h } from "react/jsx-runtime";
2
+ import { classNames as T } from "./index51.mjs";
3
+ import { DEFAULT_EMPHASIS as j, Emphasis as p, Theme as D, SIZE_MAP as H, DEFAULT_SIZE as _ } from "./index53.mjs";
4
+ import { renderAddOn as $ } from "./index54.mjs";
5
+ import { useEffect as w } from "react";
6
+ import { logWarning as B } from "./index55.mjs";
7
+ function q({
8
+ addOn: t,
9
+ ariaLabel: e,
10
+ children: g,
11
+ className: u,
12
+ disabled: m,
13
+ emphasis: o = j,
14
+ fullWidth: b,
15
+ htmlType: E = "button",
16
+ id: v,
17
+ onClick: y,
18
+ qa: A,
19
+ size: n,
20
+ theme: i,
21
+ title: I,
22
+ link: a,
23
+ renderLinkFunction: c,
24
+ ...r
25
+ }) {
26
+ const f = {
27
+ "a-button": !0,
28
+ [`a-button--${H[n || _]}`]: !!n,
29
+ [`a-button--${i}`]: !!i && !(i === D.NEUTRAL && o === p.HIGH),
30
+ "a-button--outlined": o === p.MEDIUM,
31
+ "a-button--text": o === p.LOW,
32
+ "a-button--full": !!b,
33
+ "has-icon": ["icon", "spinner"].includes(t?.type || "") && !["left", "right"].includes(t?.align || ""),
34
+ "has-icon-left": t?.type !== "avatar" && t?.align === "left",
35
+ "has-icon-right": t?.type !== "avatar" && t?.align === "right" || t?.type === "spinner" && t?.align !== "left",
36
+ "has-avatar": t?.type === "avatar",
37
+ "has-avatar-with-inset": t?.type === "avatar" && (!!t.avatarProps?.letter || !!t.avatarProps?.image),
38
+ [`${u}`]: !!u
39
+ }, x = T(f);
40
+ w(() => {
41
+ t?.type === "icon" && !["left", "right"].includes(t?.align || "") && !e && B("Using an Icon Button without an aria-label");
42
+ }, [t, e]);
43
+ const s = {
44
+ id: v,
45
+ className: x,
46
+ title: I,
47
+ type: E,
48
+ "aria-label": e,
49
+ "data-qa": A,
50
+ ...r["aria-haspopup"] ? { "aria-haspopup": !0 } : {},
51
+ ...r["aria-expanded"] === !0 || r["aria-expanded"] === !1 ? { "aria-expanded": r["aria-expanded"] } : {}
52
+ }, l = /* @__PURE__ */ M(S, { children: [
53
+ $(t, n),
54
+ f["has-icon"] ? null : g
55
+ ] }), U = () => c ? c({ ...a, label: l }, s) : /* @__PURE__ */ h("a", { ...s, href: a?.href, target: a?.target, children: l });
56
+ return a && a.href ? U() : /* @__PURE__ */ h("button", { ...s, onClick: y, disabled: m, children: l });
57
+ }
58
+ export {
59
+ q as Button
60
+ };
package/index100.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/index100.mjs ADDED
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
package/index101.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index134.js"),a=require("./index135.js"),i=require("./index136.js");function H(t){const e=i.getComputedStyle(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const s=i.isHTMLElement(t),c=s?t.offsetWidth:o,r=s?t.offsetHeight:n,l=a.round(o)!==c||a.round(n)!==r;return l&&(o=c,n=r),{width:o,height:n,$:l}}function W(t){return i.isElement(t)?t:t.contextElement}function R(t){const e=W(t);if(!i.isHTMLElement(e))return a.createCoords(1);const o=e.getBoundingClientRect(),{width:n,height:s,$:c}=H(e);let r=(c?a.round(o.width):o.width)/n,l=(c?a.round(o.height):o.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const q=a.createCoords(0);function A(t){const e=i.getWindow(t);return!i.isWebKit()||!e.visualViewport?q:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function U(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==i.getWindow(t)?!1:e}function E(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),c=W(t);let r=a.createCoords(1);e&&(n?i.isElement(n)&&(r=R(n)):r=R(t));const l=U(c,o,n)?A(c):a.createCoords(0);let f=(s.left+l.x)/r.x,u=(s.top+l.y)/r.y,d=s.width/r.x,h=s.height/r.y;if(c){const m=i.getWindow(c),g=n&&i.isElement(n)?i.getWindow(n):n;let y=m,w=i.getFrameElement(y);for(;w&&n&&g!==y;){const v=R(w),p=w.getBoundingClientRect(),x=i.getComputedStyle(w),C=p.left+(w.clientLeft+parseFloat(x.paddingLeft))*v.x,L=p.top+(w.clientTop+parseFloat(x.paddingTop))*v.y;f*=v.x,u*=v.y,d*=v.x,h*=v.y,f+=C,u+=L,y=i.getWindow(w),w=i.getFrameElement(y)}}return a.rectToClientRect({width:d,height:h,x:f,y:u})}function O(t,e){const o=i.getNodeScroll(t).scrollLeft;return e?e.left+o:E(i.getDocumentElement(t)).left+o}function I(t,e){const o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-O(t,o),s=o.top+e.scrollTop;return{x:n,y:s}}function k(t){let{elements:e,rect:o,offsetParent:n,strategy:s}=t;const c=s==="fixed",r=i.getDocumentElement(n),l=e?i.isTopLayer(e.floating):!1;if(n===r||l&&c)return o;let f={scrollLeft:0,scrollTop:0},u=a.createCoords(1);const d=a.createCoords(0),h=i.isHTMLElement(n);if((h||!h&&!c)&&((i.getNodeName(n)!=="body"||i.isOverflowElement(r))&&(f=i.getNodeScroll(n)),h)){const g=E(n);u=R(n),d.x=g.x+n.clientLeft,d.y=g.y+n.clientTop}const m=r&&!h&&!c?I(r,f):a.createCoords(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-f.scrollLeft*u.x+d.x+m.x,y:o.y*u.y-f.scrollTop*u.y+d.y+m.y}}function X(t){return Array.from(t.getClientRects())}function K(t){const e=i.getDocumentElement(t),o=i.getNodeScroll(t),n=t.ownerDocument.body,s=a.max(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),c=a.max(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+O(t);const l=-o.scrollTop;return i.getComputedStyle(n).direction==="rtl"&&(r+=a.max(e.clientWidth,n.clientWidth)-s),{width:s,height:c,x:r,y:l}}const F=25;function $(t,e){const o=i.getWindow(t),n=i.getDocumentElement(t),s=o.visualViewport;let c=n.clientWidth,r=n.clientHeight,l=0,f=0;if(s){c=s.width,r=s.height;const d=i.isWebKit();(!d||d&&e==="fixed")&&(l=s.offsetLeft,f=s.offsetTop)}const u=O(n);if(u<=0){const d=n.ownerDocument,h=d.body,m=getComputedStyle(h),g=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,y=Math.abs(n.clientWidth-h.clientWidth-g);y<=F&&(c-=y)}else u<=F&&(c+=u);return{width:c,height:r,x:l,y:f}}function j(t,e){const o=E(t,!0,e==="fixed"),n=o.top+t.clientTop,s=o.left+t.clientLeft,c=i.isHTMLElement(t)?R(t):a.createCoords(1),r=t.clientWidth*c.x,l=t.clientHeight*c.y,f=s*c.x,u=n*c.y;return{width:r,height:l,x:f,y:u}}function M(t,e,o){let n;if(e==="viewport")n=$(t,o);else if(e==="document")n=K(i.getDocumentElement(t));else if(i.isElement(e))n=j(e,o);else{const s=A(t);n={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return a.rectToClientRect(n)}function _(t,e){const o=i.getParentNode(t);return o===e||!i.isElement(o)||i.isLastTraversableNode(o)?!1:i.getComputedStyle(o).position==="fixed"||_(o,e)}function G(t,e){const o=e.get(t);if(o)return o;let n=i.getOverflowAncestors(t,[],!1).filter(l=>i.isElement(l)&&i.getNodeName(l)!=="body"),s=null;const c=i.getComputedStyle(t).position==="fixed";let r=c?i.getParentNode(t):t;for(;i.isElement(r)&&!i.isLastTraversableNode(r);){const l=i.getComputedStyle(r),f=i.isContainingBlock(r);!f&&l.position==="fixed"&&(s=null),(c?!f&&!s:!f&&l.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||i.isOverflowElement(r)&&!f&&_(t,r))?n=n.filter(d=>d!==r):s=l,r=i.getParentNode(r)}return e.set(t,n),n}function J(t){let{element:e,boundary:o,rootBoundary:n,strategy:s}=t;const r=[...o==="clippingAncestors"?i.isTopLayer(e)?[]:G(e,this._c):[].concat(o),n],l=M(e,r[0],s);let f=l.top,u=l.right,d=l.bottom,h=l.left;for(let m=1;m<r.length;m++){const g=M(e,r[m],s);f=a.max(g.top,f),u=a.min(g.right,u),d=a.min(g.bottom,d),h=a.max(g.left,h)}return{width:u-h,height:d-f,x:h,y:f}}function Q(t){const{width:e,height:o}=H(t);return{width:e,height:o}}function Y(t,e,o){const n=i.isHTMLElement(e),s=i.getDocumentElement(e),c=o==="fixed",r=E(t,!0,c,e);let l={scrollLeft:0,scrollTop:0};const f=a.createCoords(0);function u(){f.x=O(s)}if(n||!n&&!c)if((i.getNodeName(e)!=="body"||i.isOverflowElement(s))&&(l=i.getNodeScroll(e)),n){const g=E(e,!0,c,e);f.x=g.x+e.clientLeft,f.y=g.y+e.clientTop}else s&&u();c&&!n&&s&&u();const d=s&&!n&&!c?I(s,l):a.createCoords(0),h=r.left+l.scrollLeft-f.x-d.x,m=r.top+l.scrollTop-f.y-d.y;return{x:h,y:m,width:r.width,height:r.height}}function S(t){return i.getComputedStyle(t).position==="static"}function B(t,e){if(!i.isHTMLElement(t)||i.getComputedStyle(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return i.getDocumentElement(t)===o&&(o=o.ownerDocument.body),o}function V(t,e){const o=i.getWindow(t);if(i.isTopLayer(t))return o;if(!i.isHTMLElement(t)){let s=i.getParentNode(t);for(;s&&!i.isLastTraversableNode(s);){if(i.isElement(s)&&!S(s))return s;s=i.getParentNode(s)}return o}let n=B(t,e);for(;n&&i.isTableElement(n)&&S(n);)n=B(n,e);return n&&i.isLastTraversableNode(n)&&S(n)&&!i.isContainingBlock(n)?o:n||i.getContainingBlock(t)||o}const Z=async function(t){const e=this.getOffsetParent||V,o=this.getDimensions,n=await o(t.floating);return{reference:Y(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function tt(t){return i.getComputedStyle(t).direction==="rtl"}const z={convertOffsetParentRelativeRectToViewportRelativeRect:k,getDocumentElement:i.getDocumentElement,getClippingRect:J,getOffsetParent:V,getElementRects:Z,getClientRects:X,getDimensions:Q,getScale:R,isElement:i.isElement,isRTL:tt};function P(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function et(t,e){let o=null,n;const s=i.getDocumentElement(t);function c(){var l;clearTimeout(n),(l=o)==null||l.disconnect(),o=null}function r(l,f){l===void 0&&(l=!1),f===void 0&&(f=1),c();const u=t.getBoundingClientRect(),{left:d,top:h,width:m,height:g}=u;if(l||e(),!m||!g)return;const y=a.floor(h),w=a.floor(s.clientWidth-(d+m)),v=a.floor(s.clientHeight-(h+g)),p=a.floor(d),C={rootMargin:-y+"px "+-w+"px "+-v+"px "+-p+"px",threshold:a.max(0,a.min(1,f))||1};let L=!0;function N(D){const T=D[0].intersectionRatio;if(T!==f){if(!L)return r();T?r(!1,T):n=setTimeout(()=>{r(!1,1e-7)},1e3)}T===1&&!P(u,t.getBoundingClientRect())&&r(),L=!1}try{o=new IntersectionObserver(N,{...C,root:s.ownerDocument})}catch{o=new IntersectionObserver(N,C)}o.observe(t)}return r(!0),c}function ot(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,u=W(t),d=s||c?[...u?i.getOverflowAncestors(u):[],...e?i.getOverflowAncestors(e):[]]:[];d.forEach(p=>{s&&p.addEventListener("scroll",o,{passive:!0}),c&&p.addEventListener("resize",o)});const h=u&&l?et(u,o):null;let m=-1,g=null;r&&(g=new ResizeObserver(p=>{let[x]=p;x&&x.target===u&&g&&e&&(g.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var C;(C=g)==null||C.observe(e)})),o()}),u&&!f&&g.observe(u),e&&g.observe(e));let y,w=f?E(t):null;f&&v();function v(){const p=E(t);w&&!P(w,p)&&o(),w=p,y=requestAnimationFrame(v)}return o(),()=>{var p;d.forEach(x=>{s&&x.removeEventListener("scroll",o),c&&x.removeEventListener("resize",o)}),h?.(),(p=g)==null||p.disconnect(),g=null,f&&cancelAnimationFrame(y)}}const nt=b.offset,it=b.shift,st=b.flip,rt=b.arrow,ct=(t,e,o)=>{const n=new Map,s={platform:z,...o},c={...s.platform,_c:n};return b.computePosition(t,e,{...s,platform:c})};exports.getOverflowAncestors=i.getOverflowAncestors;exports.arrow=rt;exports.autoUpdate=ot;exports.computePosition=ct;exports.flip=st;exports.offset=nt;exports.platform=z;exports.shift=it;
package/index101.mjs ADDED
@@ -0,0 +1,400 @@
1
+ import { arrow as st, computePosition as rt, offset as ct, flip as lt, shift as ft } from "./index134.mjs";
2
+ import { createCoords as m, rectToClientRect as J, round as A, max as E, min as V, floor as D } from "./index135.mjs";
3
+ import { getOverflowAncestors as z, isElement as v, getDocumentElement as b, getWindow as O, getFrameElement as U, getComputedStyle as R, isHTMLElement as T, isTopLayer as $, getParentNode as W, isLastTraversableNode as H, isTableElement as ut, isContainingBlock as Q, getContainingBlock as at, getNodeName as _, isOverflowElement as q, getNodeScroll as I, isWebKit as Y } from "./index136.mjs";
4
+ function Z(t) {
5
+ const e = R(t);
6
+ let o = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
7
+ const i = T(t), r = i ? t.offsetWidth : o, s = i ? t.offsetHeight : n, c = A(o) !== r || A(n) !== s;
8
+ return c && (o = r, n = s), {
9
+ width: o,
10
+ height: n,
11
+ $: c
12
+ };
13
+ }
14
+ function X(t) {
15
+ return v(t) ? t : t.contextElement;
16
+ }
17
+ function F(t) {
18
+ const e = X(t);
19
+ if (!T(e))
20
+ return m(1);
21
+ const o = e.getBoundingClientRect(), {
22
+ width: n,
23
+ height: i,
24
+ $: r
25
+ } = Z(e);
26
+ let s = (r ? A(o.width) : o.width) / n, c = (r ? A(o.height) : o.height) / i;
27
+ return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
28
+ x: s,
29
+ y: c
30
+ };
31
+ }
32
+ const ht = /* @__PURE__ */ m(0);
33
+ function tt(t) {
34
+ const e = O(t);
35
+ return !Y() || !e.visualViewport ? ht : {
36
+ x: e.visualViewport.offsetLeft,
37
+ y: e.visualViewport.offsetTop
38
+ };
39
+ }
40
+ function dt(t, e, o) {
41
+ return e === void 0 && (e = !1), !o || e && o !== O(t) ? !1 : e;
42
+ }
43
+ function L(t, e, o, n) {
44
+ e === void 0 && (e = !1), o === void 0 && (o = !1);
45
+ const i = t.getBoundingClientRect(), r = X(t);
46
+ let s = m(1);
47
+ e && (n ? v(n) && (s = F(n)) : s = F(t));
48
+ const c = dt(r, o, n) ? tt(r) : m(0);
49
+ let l = (i.left + c.x) / s.x, f = (i.top + c.y) / s.y, u = i.width / s.x, h = i.height / s.y;
50
+ if (r) {
51
+ const d = O(r), a = n && v(n) ? O(n) : n;
52
+ let w = d, p = U(w);
53
+ for (; p && n && a !== w; ) {
54
+ const y = F(p), g = p.getBoundingClientRect(), x = R(p), C = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * y.x, S = g.top + (p.clientTop + parseFloat(x.paddingTop)) * y.y;
55
+ l *= y.x, f *= y.y, u *= y.x, h *= y.y, l += C, f += S, w = O(p), p = U(w);
56
+ }
57
+ }
58
+ return J({
59
+ width: u,
60
+ height: h,
61
+ x: l,
62
+ y: f
63
+ });
64
+ }
65
+ function M(t, e) {
66
+ const o = I(t).scrollLeft;
67
+ return e ? e.left + o : L(b(t)).left + o;
68
+ }
69
+ function et(t, e) {
70
+ const o = t.getBoundingClientRect(), n = o.left + e.scrollLeft - M(t, o), i = o.top + e.scrollTop;
71
+ return {
72
+ x: n,
73
+ y: i
74
+ };
75
+ }
76
+ function gt(t) {
77
+ let {
78
+ elements: e,
79
+ rect: o,
80
+ offsetParent: n,
81
+ strategy: i
82
+ } = t;
83
+ const r = i === "fixed", s = b(n), c = e ? $(e.floating) : !1;
84
+ if (n === s || c && r)
85
+ return o;
86
+ let l = {
87
+ scrollLeft: 0,
88
+ scrollTop: 0
89
+ }, f = m(1);
90
+ const u = m(0), h = T(n);
91
+ if ((h || !h && !r) && ((_(n) !== "body" || q(s)) && (l = I(n)), h)) {
92
+ const a = L(n);
93
+ f = F(n), u.x = a.x + n.clientLeft, u.y = a.y + n.clientTop;
94
+ }
95
+ const d = s && !h && !r ? et(s, l) : m(0);
96
+ return {
97
+ width: o.width * f.x,
98
+ height: o.height * f.y,
99
+ x: o.x * f.x - l.scrollLeft * f.x + u.x + d.x,
100
+ y: o.y * f.y - l.scrollTop * f.y + u.y + d.y
101
+ };
102
+ }
103
+ function pt(t) {
104
+ return Array.from(t.getClientRects());
105
+ }
106
+ function wt(t) {
107
+ const e = b(t), o = I(t), n = t.ownerDocument.body, i = E(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), r = E(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
108
+ let s = -o.scrollLeft + M(t);
109
+ const c = -o.scrollTop;
110
+ return R(n).direction === "rtl" && (s += E(e.clientWidth, n.clientWidth) - i), {
111
+ width: i,
112
+ height: r,
113
+ x: s,
114
+ y: c
115
+ };
116
+ }
117
+ const K = 25;
118
+ function yt(t, e) {
119
+ const o = O(t), n = b(t), i = o.visualViewport;
120
+ let r = n.clientWidth, s = n.clientHeight, c = 0, l = 0;
121
+ if (i) {
122
+ r = i.width, s = i.height;
123
+ const u = Y();
124
+ (!u || u && e === "fixed") && (c = i.offsetLeft, l = i.offsetTop);
125
+ }
126
+ const f = M(n);
127
+ if (f <= 0) {
128
+ const u = n.ownerDocument, h = u.body, d = getComputedStyle(h), a = u.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, w = Math.abs(n.clientWidth - h.clientWidth - a);
129
+ w <= K && (r -= w);
130
+ } else f <= K && (r += f);
131
+ return {
132
+ width: r,
133
+ height: s,
134
+ x: c,
135
+ y: l
136
+ };
137
+ }
138
+ function mt(t, e) {
139
+ const o = L(t, !0, e === "fixed"), n = o.top + t.clientTop, i = o.left + t.clientLeft, r = T(t) ? F(t) : m(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = i * r.x, f = n * r.y;
140
+ return {
141
+ width: s,
142
+ height: c,
143
+ x: l,
144
+ y: f
145
+ };
146
+ }
147
+ function j(t, e, o) {
148
+ let n;
149
+ if (e === "viewport")
150
+ n = yt(t, o);
151
+ else if (e === "document")
152
+ n = wt(b(t));
153
+ else if (v(e))
154
+ n = mt(e, o);
155
+ else {
156
+ const i = tt(t);
157
+ n = {
158
+ x: e.x - i.x,
159
+ y: e.y - i.y,
160
+ width: e.width,
161
+ height: e.height
162
+ };
163
+ }
164
+ return J(n);
165
+ }
166
+ function ot(t, e) {
167
+ const o = W(t);
168
+ return o === e || !v(o) || H(o) ? !1 : R(o).position === "fixed" || ot(o, e);
169
+ }
170
+ function xt(t, e) {
171
+ const o = e.get(t);
172
+ if (o)
173
+ return o;
174
+ let n = z(t, [], !1).filter((c) => v(c) && _(c) !== "body"), i = null;
175
+ const r = R(t).position === "fixed";
176
+ let s = r ? W(t) : t;
177
+ for (; v(s) && !H(s); ) {
178
+ const c = R(s), l = Q(s);
179
+ !l && c.position === "fixed" && (i = null), (r ? !l && !i : !l && c.position === "static" && !!i && (i.position === "absolute" || i.position === "fixed") || q(s) && !l && ot(t, s)) ? n = n.filter((u) => u !== s) : i = c, s = W(s);
180
+ }
181
+ return e.set(t, n), n;
182
+ }
183
+ function vt(t) {
184
+ let {
185
+ element: e,
186
+ boundary: o,
187
+ rootBoundary: n,
188
+ strategy: i
189
+ } = t;
190
+ const s = [...o === "clippingAncestors" ? $(e) ? [] : xt(e, this._c) : [].concat(o), n], c = j(e, s[0], i);
191
+ let l = c.top, f = c.right, u = c.bottom, h = c.left;
192
+ for (let d = 1; d < s.length; d++) {
193
+ const a = j(e, s[d], i);
194
+ l = E(a.top, l), f = V(a.right, f), u = V(a.bottom, u), h = E(a.left, h);
195
+ }
196
+ return {
197
+ width: f - h,
198
+ height: u - l,
199
+ x: h,
200
+ y: l
201
+ };
202
+ }
203
+ function Rt(t) {
204
+ const {
205
+ width: e,
206
+ height: o
207
+ } = Z(t);
208
+ return {
209
+ width: e,
210
+ height: o
211
+ };
212
+ }
213
+ function bt(t, e, o) {
214
+ const n = T(e), i = b(e), r = o === "fixed", s = L(t, !0, r, e);
215
+ let c = {
216
+ scrollLeft: 0,
217
+ scrollTop: 0
218
+ };
219
+ const l = m(0);
220
+ function f() {
221
+ l.x = M(i);
222
+ }
223
+ if (n || !n && !r)
224
+ if ((_(e) !== "body" || q(i)) && (c = I(e)), n) {
225
+ const a = L(e, !0, r, e);
226
+ l.x = a.x + e.clientLeft, l.y = a.y + e.clientTop;
227
+ } else i && f();
228
+ r && !n && i && f();
229
+ const u = i && !n && !r ? et(i, c) : m(0), h = s.left + c.scrollLeft - l.x - u.x, d = s.top + c.scrollTop - l.y - u.y;
230
+ return {
231
+ x: h,
232
+ y: d,
233
+ width: s.width,
234
+ height: s.height
235
+ };
236
+ }
237
+ function N(t) {
238
+ return R(t).position === "static";
239
+ }
240
+ function G(t, e) {
241
+ if (!T(t) || R(t).position === "fixed")
242
+ return null;
243
+ if (e)
244
+ return e(t);
245
+ let o = t.offsetParent;
246
+ return b(t) === o && (o = o.ownerDocument.body), o;
247
+ }
248
+ function nt(t, e) {
249
+ const o = O(t);
250
+ if ($(t))
251
+ return o;
252
+ if (!T(t)) {
253
+ let i = W(t);
254
+ for (; i && !H(i); ) {
255
+ if (v(i) && !N(i))
256
+ return i;
257
+ i = W(i);
258
+ }
259
+ return o;
260
+ }
261
+ let n = G(t, e);
262
+ for (; n && ut(n) && N(n); )
263
+ n = G(n, e);
264
+ return n && H(n) && N(n) && !Q(n) ? o : n || at(t) || o;
265
+ }
266
+ const Ct = async function(t) {
267
+ const e = this.getOffsetParent || nt, o = this.getDimensions, n = await o(t.floating);
268
+ return {
269
+ reference: bt(t.reference, await e(t.floating), t.strategy),
270
+ floating: {
271
+ x: 0,
272
+ y: 0,
273
+ width: n.width,
274
+ height: n.height
275
+ }
276
+ };
277
+ };
278
+ function Ot(t) {
279
+ return R(t).direction === "rtl";
280
+ }
281
+ const Lt = {
282
+ convertOffsetParentRelativeRectToViewportRelativeRect: gt,
283
+ getDocumentElement: b,
284
+ getClippingRect: vt,
285
+ getOffsetParent: nt,
286
+ getElementRects: Ct,
287
+ getClientRects: pt,
288
+ getDimensions: Rt,
289
+ getScale: F,
290
+ isElement: v,
291
+ isRTL: Ot
292
+ };
293
+ function it(t, e) {
294
+ return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
295
+ }
296
+ function Tt(t, e) {
297
+ let o = null, n;
298
+ const i = b(t);
299
+ function r() {
300
+ var c;
301
+ clearTimeout(n), (c = o) == null || c.disconnect(), o = null;
302
+ }
303
+ function s(c, l) {
304
+ c === void 0 && (c = !1), l === void 0 && (l = 1), r();
305
+ const f = t.getBoundingClientRect(), {
306
+ left: u,
307
+ top: h,
308
+ width: d,
309
+ height: a
310
+ } = f;
311
+ if (c || e(), !d || !a)
312
+ return;
313
+ const w = D(h), p = D(i.clientWidth - (u + d)), y = D(i.clientHeight - (h + a)), g = D(u), C = {
314
+ rootMargin: -w + "px " + -p + "px " + -y + "px " + -g + "px",
315
+ threshold: E(0, V(1, l)) || 1
316
+ };
317
+ let S = !0;
318
+ function k(P) {
319
+ const B = P[0].intersectionRatio;
320
+ if (B !== l) {
321
+ if (!S)
322
+ return s();
323
+ B ? s(!1, B) : n = setTimeout(() => {
324
+ s(!1, 1e-7);
325
+ }, 1e3);
326
+ }
327
+ B === 1 && !it(f, t.getBoundingClientRect()) && s(), S = !1;
328
+ }
329
+ try {
330
+ o = new IntersectionObserver(k, {
331
+ ...C,
332
+ // Handle <iframe>s
333
+ root: i.ownerDocument
334
+ });
335
+ } catch {
336
+ o = new IntersectionObserver(k, C);
337
+ }
338
+ o.observe(t);
339
+ }
340
+ return s(!0), r;
341
+ }
342
+ function St(t, e, o, n) {
343
+ n === void 0 && (n = {});
344
+ const {
345
+ ancestorScroll: i = !0,
346
+ ancestorResize: r = !0,
347
+ elementResize: s = typeof ResizeObserver == "function",
348
+ layoutShift: c = typeof IntersectionObserver == "function",
349
+ animationFrame: l = !1
350
+ } = n, f = X(t), u = i || r ? [...f ? z(f) : [], ...e ? z(e) : []] : [];
351
+ u.forEach((g) => {
352
+ i && g.addEventListener("scroll", o, {
353
+ passive: !0
354
+ }), r && g.addEventListener("resize", o);
355
+ });
356
+ const h = f && c ? Tt(f, o) : null;
357
+ let d = -1, a = null;
358
+ s && (a = new ResizeObserver((g) => {
359
+ let [x] = g;
360
+ x && x.target === f && a && e && (a.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
361
+ var C;
362
+ (C = a) == null || C.observe(e);
363
+ })), o();
364
+ }), f && !l && a.observe(f), e && a.observe(e));
365
+ let w, p = l ? L(t) : null;
366
+ l && y();
367
+ function y() {
368
+ const g = L(t);
369
+ p && !it(p, g) && o(), p = g, w = requestAnimationFrame(y);
370
+ }
371
+ return o(), () => {
372
+ var g;
373
+ u.forEach((x) => {
374
+ i && x.removeEventListener("scroll", o), r && x.removeEventListener("resize", o);
375
+ }), h?.(), (g = a) == null || g.disconnect(), a = null, l && cancelAnimationFrame(w);
376
+ };
377
+ }
378
+ const Bt = ct, Dt = ft, At = lt, Ht = st, It = (t, e, o) => {
379
+ const n = /* @__PURE__ */ new Map(), i = {
380
+ platform: Lt,
381
+ ...o
382
+ }, r = {
383
+ ...i.platform,
384
+ _c: n
385
+ };
386
+ return rt(t, e, {
387
+ ...i,
388
+ platform: r
389
+ });
390
+ };
391
+ export {
392
+ Ht as arrow,
393
+ St as autoUpdate,
394
+ It as computePosition,
395
+ At as flip,
396
+ z as getOverflowAncestors,
397
+ Bt as offset,
398
+ Lt as platform,
399
+ Dt as shift
400
+ };
package/index102.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";const c=require("./index90.js"),i=require("./index133.js");/*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */(function(s){(function(){var u={}.hasOwnProperty;function n(){for(var t="",r=0;r<arguments.length;r++){var e=arguments[r];e&&(t=o(t,f(e)))}return t}function f(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var e in t)u.call(t,e)&&t[e]&&(r=o(r,e));return r}function o(t,r){return r?t?t+" "+r:t+r:t}s.exports?(n.default=n,s.exports=n):window.classNames=n})()})(i.__module);var p=i.__module.exports;const l=c.getDefaultExportFromCjs(p);module.exports=l;
package/index102.mjs ADDED
@@ -0,0 +1,42 @@
1
+ import { getDefaultExportFromCjs as p } from "./index90.mjs";
2
+ import { __module as i } from "./index133.mjs";
3
+ /*!
4
+ Copyright (c) 2018 Jed Watson.
5
+ Licensed under the MIT License (MIT), see
6
+ http://jedwatson.github.io/classnames
7
+ */
8
+ (function(o) {
9
+ (function() {
10
+ var f = {}.hasOwnProperty;
11
+ function e() {
12
+ for (var t = "", r = 0; r < arguments.length; r++) {
13
+ var n = arguments[r];
14
+ n && (t = s(t, u(n)));
15
+ }
16
+ return t;
17
+ }
18
+ function u(t) {
19
+ if (typeof t == "string" || typeof t == "number")
20
+ return t;
21
+ if (typeof t != "object")
22
+ return "";
23
+ if (Array.isArray(t))
24
+ return e.apply(null, t);
25
+ if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
26
+ return t.toString();
27
+ var r = "";
28
+ for (var n in t)
29
+ f.call(t, n) && t[n] && (r = s(r, n));
30
+ return r;
31
+ }
32
+ function s(t, r) {
33
+ return r ? t ? t + " " + r : t + r : t;
34
+ }
35
+ o.exports ? (e.default = e, o.exports = e) : window.classNames = e;
36
+ })();
37
+ })(i);
38
+ var a = i.exports;
39
+ const m = /* @__PURE__ */ p(a);
40
+ export {
41
+ m as default
42
+ };
package/index103.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
package/index103.mjs ADDED
@@ -0,0 +1,4 @@
1
+ var p = { exports: {} };
2
+ export {
3
+ p as __module
4
+ };
package/index104.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index138.js"),t=require("./index139.js"),o=require("./index140.js");var r;function u(){return r||(r=1,process.env.NODE_ENV==="production"?e.__module.exports=t.__require():e.__module.exports=o.__require()),e.__module.exports}exports.__require=u;
package/index104.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { __module as e } from "./index138.mjs";
2
+ import { __require as o } from "./index139.mjs";
3
+ import { __require as t } from "./index140.mjs";
4
+ var r;
5
+ function p() {
6
+ return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = o() : e.exports = t(), e.exports);
7
+ }
8
+ export {
9
+ p as __require
10
+ };
package/index105.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./index104.js"),N=require("./index141.js"),ee=require("./index142.js"),re=require("./index143.js"),ne=require("./index144.js");var A,C;function te(){if(C)return A;C=1;var k=F.__require(),W=N.__require(),h=ee.__require(),I=re.__require(),q=ne.__require(),T=function(){};process.env.NODE_ENV!=="production"&&(T=function(x){var S="Warning: "+x;typeof console<"u"&&console.error(S);try{throw new Error(S)}catch{}});function E(){return null}return A=function(x,S){var P=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function M(e){var r=e&&(P&&e[P]||e[D]);if(typeof r=="function")return r}var _="<<anonymous>>",w={array:p("array"),bigint:p("bigint"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:U(),arrayOf:$,element:B(),elementType:J(),instanceOf:z,node:H(),objectOf:X,oneOf:L,oneOfType:G,shape:K,exact:Q};function Y(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function d(e,r){this.message=e,this.data=r&&typeof r=="object"?r:{},this.stack=""}d.prototype=Error.prototype;function v(e){if(process.env.NODE_ENV!=="production")var r={},u=0;function i(f,t,a,o,s,c,y){if(o=o||_,c=c||a,y!==h){if(S){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var b=o+":"+a;!r[b]&&u<3&&(T("You are manually calling a React.PropTypes validation function for the `"+c+"` prop on `"+o+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[b]=!0,u++)}}return t[a]==null?f?t[a]===null?new d("The "+s+" `"+c+"` is marked as required "+("in `"+o+"`, but its value is `null`.")):new d("The "+s+" `"+c+"` is marked as required in "+("`"+o+"`, but its value is `undefined`.")):null:e(t,a,o,s,c)}var n=i.bind(null,!1);return n.isRequired=i.bind(null,!0),n}function p(e){function r(u,i,n,f,t,a){var o=u[i],s=g(o);if(s!==e){var c=O(o);return new d("Invalid "+f+" `"+t+"` of type "+("`"+c+"` supplied to `"+n+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return v(r)}function U(){return v(E)}function $(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var a=u[i];if(!Array.isArray(a)){var o=g(a);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an array."))}for(var s=0;s<a.length;s++){var c=e(a,s,n,f,t+"["+s+"]",h);if(c instanceof Error)return c}return null}return v(r)}function B(){function e(r,u,i,n,f){var t=r[u];if(!x(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement."))}return null}return v(e)}function J(){function e(r,u,i,n,f){var t=r[u];if(!k.isValidElementType(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement type."))}return null}return v(e)}function z(e){function r(u,i,n,f,t){if(!(u[i]instanceof e)){var a=e.name||_,o=V(u[i]);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected ")+("instance of `"+a+"`."))}return null}return v(r)}function L(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&(arguments.length>1?T("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):T("Invalid argument supplied to oneOf, expected an array.")),E;function r(u,i,n,f,t){for(var a=u[i],o=0;o<e.length;o++)if(Y(a,e[o]))return null;var s=JSON.stringify(e,function(y,l){var b=O(l);return b==="symbol"?String(l):l});return new d("Invalid "+f+" `"+t+"` of value `"+String(a)+"` "+("supplied to `"+n+"`, expected one of "+s+"."))}return v(r)}function X(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an object."));for(var s in a)if(I(a,s)){var c=e(a,s,n,f,t+"."+s,h);if(c instanceof Error)return c}return null}return v(r)}function G(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&T("Invalid argument supplied to oneOfType, expected an instance of array."),E;for(var r=0;r<e.length;r++){var u=e[r];if(typeof u!="function")return T("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(u)+" at index "+r+"."),E}function i(n,f,t,a,o){for(var s=[],c=0;c<e.length;c++){var y=e[c],l=y(n,f,t,a,o,h);if(l==null)return null;l.data&&I(l.data,"expectedType")&&s.push(l.data.expectedType)}var b=s.length>0?", expected one of type ["+s.join(", ")+"]":"";return new d("Invalid "+a+" `"+o+"` supplied to "+("`"+t+"`"+b+"."))}return v(i)}function H(){function e(r,u,i,n,f){return j(r[u])?null:new d("Invalid "+n+" `"+f+"` supplied to "+("`"+i+"`, expected a ReactNode."))}return v(e)}function R(e,r,u,i,n){return new d((e||"React class")+": "+r+" type `"+u+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}function K(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));for(var s in e){var c=e[s];if(typeof c!="function")return R(n,f,t,s,O(c));var y=c(a,s,n,f,t+"."+s,h);if(y)return y}return null}return v(r)}function Q(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));var s=W({},u[i],e);for(var c in s){var y=e[c];if(I(e,c)&&typeof y!="function")return R(n,f,t,c,O(y));if(!y)return new d("Invalid "+f+" `"+t+"` key `"+c+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(u[i],null," ")+`
2
+ Valid keys: `+JSON.stringify(Object.keys(e),null," "));var l=y(a,c,n,f,t+"."+c,h);if(l)return l}return null}return v(r)}function j(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(j);if(e===null||x(e))return!0;var r=M(e);if(r){var u=r.call(e),i;if(r!==e.entries){for(;!(i=u.next()).done;)if(!j(i.value))return!1}else for(;!(i=u.next()).done;){var n=i.value;if(n&&!j(n[1]))return!1}}else return!1;return!0;default:return!1}}function Z(e,r){return e==="symbol"?!0:r?r["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&r instanceof Symbol:!1}function g(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":Z(r,e)?"symbol":r}function O(e){if(typeof e>"u"||e===null)return""+e;var r=g(e);if(r==="object"){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function m(e){var r=O(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function V(e){return!e.constructor||!e.constructor.name?_:e.constructor.name}return w.checkPropTypes=q,w.resetWarningCache=q.resetWarningCache,w.PropTypes=w,w},A}exports.__require=te;