@als-tp/als-react-ts-ui 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/dist/als-react-ts-ui.js +95 -12432
  2. package/dist/als-react-ts-ui10.js +9 -0
  3. package/dist/als-react-ts-ui100.js +142 -0
  4. package/dist/als-react-ts-ui101.js +199 -0
  5. package/dist/als-react-ts-ui102.js +146 -0
  6. package/dist/als-react-ts-ui103.js +31 -0
  7. package/dist/als-react-ts-ui104.js +52 -0
  8. package/dist/als-react-ts-ui105.js +28 -0
  9. package/dist/als-react-ts-ui106.js +27 -0
  10. package/dist/als-react-ts-ui107.js +24 -0
  11. package/dist/als-react-ts-ui108.js +23 -0
  12. package/dist/als-react-ts-ui109.js +311 -0
  13. package/dist/als-react-ts-ui11.js +9 -0
  14. package/dist/als-react-ts-ui110.js +7 -0
  15. package/dist/als-react-ts-ui111.js +7 -0
  16. package/dist/als-react-ts-ui112.js +7 -0
  17. package/dist/als-react-ts-ui113.js +26 -0
  18. package/dist/als-react-ts-ui114.js +25 -0
  19. package/dist/als-react-ts-ui115.js +172 -0
  20. package/dist/als-react-ts-ui116.js +305 -0
  21. package/dist/als-react-ts-ui117.js +37 -0
  22. package/dist/als-react-ts-ui118.js +40 -0
  23. package/dist/als-react-ts-ui119.js +40 -0
  24. package/dist/als-react-ts-ui12.js +9 -0
  25. package/dist/als-react-ts-ui120.js +34 -0
  26. package/dist/als-react-ts-ui121.js +41 -0
  27. package/dist/als-react-ts-ui122.js +61 -0
  28. package/dist/als-react-ts-ui123.js +5 -0
  29. package/dist/als-react-ts-ui124.js +181 -0
  30. package/dist/als-react-ts-ui125.js +7 -0
  31. package/dist/als-react-ts-ui126.js +7 -0
  32. package/dist/als-react-ts-ui127.js +7 -0
  33. package/dist/als-react-ts-ui128.js +7 -0
  34. package/dist/als-react-ts-ui129.js +85 -0
  35. package/dist/als-react-ts-ui13.js +127 -0
  36. package/dist/als-react-ts-ui130.js +35 -0
  37. package/dist/als-react-ts-ui131.js +9 -0
  38. package/dist/als-react-ts-ui132.js +9 -0
  39. package/dist/als-react-ts-ui133.js +206 -0
  40. package/dist/als-react-ts-ui134.js +127 -0
  41. package/dist/als-react-ts-ui135.js +20 -0
  42. package/dist/als-react-ts-ui136.js +85 -0
  43. package/dist/als-react-ts-ui137.js +37 -0
  44. package/dist/als-react-ts-ui138.js +101 -0
  45. package/dist/als-react-ts-ui139.js +68 -0
  46. package/dist/als-react-ts-ui14.js +9 -0
  47. package/dist/als-react-ts-ui140.js +39 -0
  48. package/dist/als-react-ts-ui141.js +21 -0
  49. package/dist/als-react-ts-ui142.js +26 -0
  50. package/dist/als-react-ts-ui143.js +65 -0
  51. package/dist/als-react-ts-ui144.js +24 -0
  52. package/dist/als-react-ts-ui145.js +112 -0
  53. package/dist/als-react-ts-ui146.js +34 -0
  54. package/dist/als-react-ts-ui147.js +27 -0
  55. package/dist/als-react-ts-ui148.js +44 -0
  56. package/dist/als-react-ts-ui149.js +17 -0
  57. package/dist/als-react-ts-ui15.js +9 -0
  58. package/dist/als-react-ts-ui150.js +24 -0
  59. package/dist/als-react-ts-ui151.js +15 -0
  60. package/dist/als-react-ts-ui152.js +24 -0
  61. package/dist/als-react-ts-ui153.js +61 -0
  62. package/dist/als-react-ts-ui154.js +23 -0
  63. package/dist/als-react-ts-ui155.js +33 -0
  64. package/dist/als-react-ts-ui156.js +29 -0
  65. package/dist/als-react-ts-ui157.js +29 -0
  66. package/dist/als-react-ts-ui158.js +109 -0
  67. package/dist/als-react-ts-ui159.js +31 -0
  68. package/dist/als-react-ts-ui16.js +9 -0
  69. package/dist/als-react-ts-ui160.js +29 -0
  70. package/dist/als-react-ts-ui161.js +6 -0
  71. package/dist/als-react-ts-ui162.js +11 -0
  72. package/dist/als-react-ts-ui163.js +81 -0
  73. package/dist/als-react-ts-ui164.js +10 -0
  74. package/dist/als-react-ts-ui165.js +14 -0
  75. package/dist/als-react-ts-ui166.js +57 -0
  76. package/dist/als-react-ts-ui167.js +35 -0
  77. package/dist/als-react-ts-ui168.js +19 -0
  78. package/dist/als-react-ts-ui169.js +69 -0
  79. package/dist/als-react-ts-ui17.js +35 -0
  80. package/dist/als-react-ts-ui170.js +7 -0
  81. package/dist/als-react-ts-ui171.js +66 -0
  82. package/dist/als-react-ts-ui172.js +14 -0
  83. package/dist/als-react-ts-ui173.js +55 -0
  84. package/dist/als-react-ts-ui174.js +14 -0
  85. package/dist/als-react-ts-ui175.js +14 -0
  86. package/dist/als-react-ts-ui176.js +6 -0
  87. package/dist/als-react-ts-ui177.js +21 -0
  88. package/dist/als-react-ts-ui178.js +69 -0
  89. package/dist/als-react-ts-ui179.js +91 -0
  90. package/dist/als-react-ts-ui18.js +9 -0
  91. package/dist/als-react-ts-ui180.js +25 -0
  92. package/dist/als-react-ts-ui181.js +167 -0
  93. package/dist/als-react-ts-ui182.js +6 -0
  94. package/dist/als-react-ts-ui183.js +20 -0
  95. package/dist/als-react-ts-ui184.js +9 -0
  96. package/dist/als-react-ts-ui185.js +89 -0
  97. package/dist/als-react-ts-ui186.js +14 -0
  98. package/dist/als-react-ts-ui187.js +65 -0
  99. package/dist/als-react-ts-ui188.js +40 -0
  100. package/dist/als-react-ts-ui189.js +16 -0
  101. package/dist/als-react-ts-ui19.js +9 -0
  102. package/dist/als-react-ts-ui190.js +6 -0
  103. package/dist/als-react-ts-ui191.js +7 -0
  104. package/dist/als-react-ts-ui192.js +14 -0
  105. package/dist/als-react-ts-ui193.js +294 -0
  106. package/dist/als-react-ts-ui194.js +7 -0
  107. package/dist/als-react-ts-ui195.js +41 -0
  108. package/dist/als-react-ts-ui196.js +127 -0
  109. package/dist/als-react-ts-ui197.js +7 -0
  110. package/dist/als-react-ts-ui198.js +22 -0
  111. package/dist/als-react-ts-ui199.js +83 -0
  112. package/dist/als-react-ts-ui20.js +9 -0
  113. package/dist/als-react-ts-ui200.js +66 -0
  114. package/dist/als-react-ts-ui201.js +48 -0
  115. package/dist/als-react-ts-ui202.js +7 -0
  116. package/dist/als-react-ts-ui203.js +21 -0
  117. package/dist/als-react-ts-ui204.js +18 -0
  118. package/dist/als-react-ts-ui205.js +35 -0
  119. package/dist/als-react-ts-ui206.js +14 -0
  120. package/dist/als-react-ts-ui207.js +11 -0
  121. package/dist/als-react-ts-ui208.js +14 -0
  122. package/dist/als-react-ts-ui209.js +16 -0
  123. package/dist/als-react-ts-ui21.js +9 -0
  124. package/dist/als-react-ts-ui210.js +6 -0
  125. package/dist/als-react-ts-ui211.js +6 -0
  126. package/dist/als-react-ts-ui212.js +8 -0
  127. package/dist/als-react-ts-ui213.js +82 -0
  128. package/dist/als-react-ts-ui214.js +6 -0
  129. package/dist/als-react-ts-ui215.js +23 -0
  130. package/dist/als-react-ts-ui216.js +20 -0
  131. package/dist/als-react-ts-ui217.js +28 -0
  132. package/dist/als-react-ts-ui218.js +45 -0
  133. package/dist/als-react-ts-ui219.js +7 -0
  134. package/dist/als-react-ts-ui22.js +9 -0
  135. package/dist/als-react-ts-ui220.js +6 -0
  136. package/dist/als-react-ts-ui221.js +136 -0
  137. package/dist/als-react-ts-ui222.js +8 -0
  138. package/dist/als-react-ts-ui223.js +68 -0
  139. package/dist/als-react-ts-ui224.js +6 -0
  140. package/dist/als-react-ts-ui225.js +19 -0
  141. package/dist/als-react-ts-ui226.js +14 -0
  142. package/dist/als-react-ts-ui227.js +6 -0
  143. package/dist/als-react-ts-ui228.js +23 -0
  144. package/dist/als-react-ts-ui229.js +32 -0
  145. package/dist/als-react-ts-ui23.js +104 -0
  146. package/dist/als-react-ts-ui230.js +20 -0
  147. package/dist/als-react-ts-ui231.js +76 -0
  148. package/dist/als-react-ts-ui232.js +131 -0
  149. package/dist/als-react-ts-ui233.js +117 -0
  150. package/dist/als-react-ts-ui234.js +104 -0
  151. package/dist/als-react-ts-ui235.js +53 -0
  152. package/dist/als-react-ts-ui236.js +106 -0
  153. package/dist/als-react-ts-ui237.js +24 -0
  154. package/dist/als-react-ts-ui238.js +35 -0
  155. package/dist/als-react-ts-ui239.js +77 -0
  156. package/dist/als-react-ts-ui24.js +9 -0
  157. package/dist/als-react-ts-ui240.js +229 -0
  158. package/dist/als-react-ts-ui241.js +72 -0
  159. package/dist/als-react-ts-ui242.js +50 -0
  160. package/dist/als-react-ts-ui243.js +202 -0
  161. package/dist/als-react-ts-ui244.js +50 -0
  162. package/dist/als-react-ts-ui245.js +22 -0
  163. package/dist/als-react-ts-ui246.js +8 -0
  164. package/dist/als-react-ts-ui247.js +11 -0
  165. package/dist/als-react-ts-ui248.js +14 -0
  166. package/dist/als-react-ts-ui249.js +24 -0
  167. package/dist/als-react-ts-ui25.js +11 -0
  168. package/dist/als-react-ts-ui250.js +97 -0
  169. package/dist/als-react-ts-ui251.js +16 -0
  170. package/dist/als-react-ts-ui252.js +8 -0
  171. package/dist/als-react-ts-ui253.js +24 -0
  172. package/dist/als-react-ts-ui254.js +60 -0
  173. package/dist/als-react-ts-ui255.js +19 -0
  174. package/dist/als-react-ts-ui256.js +29 -0
  175. package/dist/als-react-ts-ui257.js +45 -0
  176. package/dist/als-react-ts-ui258.js +23 -0
  177. package/dist/als-react-ts-ui259.js +51 -0
  178. package/dist/als-react-ts-ui26.js +9 -0
  179. package/dist/als-react-ts-ui260.js +53 -0
  180. package/dist/als-react-ts-ui261.js +20 -0
  181. package/dist/als-react-ts-ui262.js +14 -0
  182. package/dist/als-react-ts-ui263.js +38 -0
  183. package/dist/als-react-ts-ui264.js +285 -0
  184. package/dist/als-react-ts-ui265.js +56 -0
  185. package/dist/als-react-ts-ui266.js +82 -0
  186. package/dist/als-react-ts-ui267.js +8 -0
  187. package/dist/als-react-ts-ui268.js +6 -0
  188. package/dist/als-react-ts-ui269.js +26 -0
  189. package/dist/als-react-ts-ui27.js +9 -0
  190. package/dist/als-react-ts-ui270.js +18 -0
  191. package/dist/als-react-ts-ui271.js +6 -0
  192. package/dist/als-react-ts-ui272.js +265 -0
  193. package/dist/als-react-ts-ui273.js +14 -0
  194. package/dist/als-react-ts-ui274.js +13 -0
  195. package/dist/als-react-ts-ui275.js +44 -0
  196. package/dist/als-react-ts-ui276.js +7 -0
  197. package/dist/als-react-ts-ui277.js +12 -0
  198. package/dist/als-react-ts-ui278.js +10 -0
  199. package/dist/als-react-ts-ui279.js +8 -0
  200. package/dist/als-react-ts-ui28.js +122 -0
  201. package/dist/als-react-ts-ui280.js +14 -0
  202. package/dist/als-react-ts-ui281.js +14 -0
  203. package/dist/als-react-ts-ui282.js +7 -0
  204. package/dist/als-react-ts-ui283.js +6 -0
  205. package/dist/als-react-ts-ui284.js +14 -0
  206. package/dist/als-react-ts-ui285.js +92 -0
  207. package/dist/als-react-ts-ui286.js +58 -0
  208. package/dist/als-react-ts-ui287.js +4 -0
  209. package/dist/als-react-ts-ui288.js +26 -0
  210. package/dist/als-react-ts-ui289.js +155 -0
  211. package/dist/als-react-ts-ui29.js +9 -0
  212. package/dist/als-react-ts-ui290.js +116 -0
  213. package/dist/als-react-ts-ui291.js +67 -0
  214. package/dist/als-react-ts-ui292.js +14 -0
  215. package/dist/als-react-ts-ui293.js +14 -0
  216. package/dist/als-react-ts-ui294.js +63 -0
  217. package/dist/als-react-ts-ui295.js +62 -0
  218. package/dist/als-react-ts-ui296.js +90 -0
  219. package/dist/als-react-ts-ui297.js +19 -0
  220. package/dist/als-react-ts-ui298.js +211 -0
  221. package/dist/als-react-ts-ui299.js +6 -0
  222. package/dist/als-react-ts-ui3.js +142 -0
  223. package/dist/als-react-ts-ui30.js +9 -0
  224. package/dist/als-react-ts-ui300.js +16 -0
  225. package/dist/als-react-ts-ui301.js +50 -0
  226. package/dist/als-react-ts-ui302.js +15 -0
  227. package/dist/als-react-ts-ui303.js +17 -0
  228. package/dist/als-react-ts-ui304.js +17 -0
  229. package/dist/als-react-ts-ui305.js +78 -0
  230. package/dist/als-react-ts-ui306.js +183 -0
  231. package/dist/als-react-ts-ui307.js +57 -0
  232. package/dist/als-react-ts-ui308.js +32 -0
  233. package/dist/als-react-ts-ui309.js +16 -0
  234. package/dist/als-react-ts-ui31.js +9 -0
  235. package/dist/als-react-ts-ui310.js +11 -0
  236. package/dist/als-react-ts-ui311.js +209 -0
  237. package/dist/als-react-ts-ui312.js +401 -0
  238. package/dist/als-react-ts-ui313.js +17 -0
  239. package/dist/als-react-ts-ui314.js +14 -0
  240. package/dist/als-react-ts-ui315.js +12 -0
  241. package/dist/als-react-ts-ui316.js +6 -0
  242. package/dist/als-react-ts-ui317.js +130 -0
  243. package/dist/als-react-ts-ui318.js +47 -0
  244. package/dist/als-react-ts-ui319.js +20 -0
  245. package/dist/als-react-ts-ui32.js +11 -0
  246. package/dist/als-react-ts-ui320.js +14 -0
  247. package/dist/als-react-ts-ui321.js +7 -0
  248. package/dist/als-react-ts-ui322.js +14 -0
  249. package/dist/als-react-ts-ui323.js +16 -0
  250. package/dist/als-react-ts-ui324.js +6 -0
  251. package/dist/als-react-ts-ui325.js +6 -0
  252. package/dist/als-react-ts-ui326.js +14 -0
  253. package/dist/als-react-ts-ui327.js +6 -0
  254. package/dist/als-react-ts-ui328.js +28 -0
  255. package/dist/als-react-ts-ui329.js +597 -0
  256. package/dist/als-react-ts-ui33.js +173 -0
  257. package/dist/als-react-ts-ui330.js +44 -0
  258. package/dist/als-react-ts-ui331.js +41 -0
  259. package/dist/als-react-ts-ui332.js +59 -0
  260. package/dist/als-react-ts-ui333.js +10 -0
  261. package/dist/als-react-ts-ui334.js +14 -0
  262. package/dist/als-react-ts-ui335.js +14 -0
  263. package/dist/als-react-ts-ui336.js +14 -0
  264. package/dist/als-react-ts-ui337.js +23 -0
  265. package/dist/als-react-ts-ui338.js +6 -0
  266. package/dist/als-react-ts-ui339.js +10 -0
  267. package/dist/als-react-ts-ui34.js +9 -0
  268. package/dist/als-react-ts-ui340.js +19 -0
  269. package/dist/als-react-ts-ui341.js +14 -0
  270. package/dist/als-react-ts-ui342.js +15 -0
  271. package/dist/als-react-ts-ui343.js +6 -0
  272. package/dist/als-react-ts-ui344.js +324 -0
  273. package/dist/als-react-ts-ui345.js +5 -0
  274. package/dist/als-react-ts-ui346.js +489 -0
  275. package/dist/als-react-ts-ui347.js +23 -0
  276. package/dist/als-react-ts-ui348.js +8 -0
  277. package/dist/als-react-ts-ui349.js +6 -0
  278. package/dist/als-react-ts-ui35.js +9 -0
  279. package/dist/als-react-ts-ui350.js +10 -0
  280. package/dist/als-react-ts-ui351.js +4 -0
  281. package/dist/als-react-ts-ui352.js +57 -0
  282. package/dist/als-react-ts-ui353.js +58 -0
  283. package/dist/als-react-ts-ui354.js +10 -0
  284. package/dist/als-react-ts-ui355.js +14 -0
  285. package/dist/als-react-ts-ui356.js +9 -0
  286. package/dist/als-react-ts-ui357.js +4 -0
  287. package/dist/als-react-ts-ui358.js +34 -0
  288. package/dist/als-react-ts-ui359.js +14 -0
  289. package/dist/als-react-ts-ui36.js +9 -0
  290. package/dist/als-react-ts-ui360.js +4 -0
  291. package/dist/als-react-ts-ui361.js +6 -0
  292. package/dist/als-react-ts-ui362.js +6 -0
  293. package/dist/als-react-ts-ui363.js +78 -0
  294. package/dist/als-react-ts-ui364.js +4 -0
  295. package/dist/als-react-ts-ui365.js +10 -0
  296. package/dist/als-react-ts-ui366.js +4 -0
  297. package/dist/als-react-ts-ui367.js +6 -0
  298. package/dist/als-react-ts-ui368.js +134 -0
  299. package/dist/als-react-ts-ui369.js +4 -0
  300. package/dist/als-react-ts-ui37.js +9 -0
  301. package/dist/als-react-ts-ui370.js +46 -0
  302. package/dist/als-react-ts-ui371.js +58 -0
  303. package/dist/als-react-ts-ui372.js +4 -0
  304. package/dist/als-react-ts-ui373.js +4 -0
  305. package/dist/als-react-ts-ui38.js +257 -0
  306. package/dist/als-react-ts-ui39.js +48 -0
  307. package/dist/als-react-ts-ui4.js +158 -0
  308. package/dist/als-react-ts-ui40.js +96 -0
  309. package/dist/als-react-ts-ui41.js +78 -0
  310. package/dist/als-react-ts-ui42.js +23 -0
  311. package/dist/als-react-ts-ui43.js +111 -0
  312. package/dist/als-react-ts-ui44.js +112 -0
  313. package/dist/als-react-ts-ui45.js +40 -0
  314. package/dist/als-react-ts-ui46.js +45 -0
  315. package/dist/als-react-ts-ui47.js +55 -0
  316. package/dist/als-react-ts-ui48.js +39 -0
  317. package/dist/als-react-ts-ui49.js +50 -0
  318. package/dist/als-react-ts-ui5.js +26 -0
  319. package/dist/als-react-ts-ui50.js +79 -0
  320. package/dist/als-react-ts-ui51.js +24 -0
  321. package/dist/als-react-ts-ui52.js +24 -0
  322. package/dist/als-react-ts-ui53.js +40 -0
  323. package/dist/als-react-ts-ui54.js +30 -0
  324. package/dist/als-react-ts-ui55.js +208 -0
  325. package/dist/als-react-ts-ui56.js +17 -0
  326. package/dist/als-react-ts-ui57.js +24 -0
  327. package/dist/als-react-ts-ui58.js +30 -0
  328. package/dist/als-react-ts-ui59.js +39 -0
  329. package/dist/als-react-ts-ui6.js +103 -0
  330. package/dist/als-react-ts-ui60.js +30 -0
  331. package/dist/als-react-ts-ui61.js +24 -0
  332. package/dist/als-react-ts-ui62.js +7 -0
  333. package/dist/als-react-ts-ui63.js +7 -0
  334. package/dist/als-react-ts-ui64.js +7 -0
  335. package/dist/als-react-ts-ui65.js +7 -0
  336. package/dist/als-react-ts-ui66.js +7 -0
  337. package/dist/als-react-ts-ui67.js +25 -0
  338. package/dist/als-react-ts-ui68.js +50 -0
  339. package/dist/als-react-ts-ui69.js +7 -0
  340. package/dist/als-react-ts-ui7.js +42 -0
  341. package/dist/als-react-ts-ui70.js +7 -0
  342. package/dist/als-react-ts-ui71.js +7 -0
  343. package/dist/als-react-ts-ui72.js +15 -0
  344. package/dist/als-react-ts-ui73.js +13 -0
  345. package/dist/als-react-ts-ui74.js +7 -0
  346. package/dist/als-react-ts-ui75.js +7 -0
  347. package/dist/als-react-ts-ui76.js +7 -0
  348. package/dist/als-react-ts-ui77.js +7 -0
  349. package/dist/als-react-ts-ui78.js +7 -0
  350. package/dist/als-react-ts-ui79.js +17 -0
  351. package/dist/als-react-ts-ui8.js +9 -0
  352. package/dist/als-react-ts-ui80.js +120 -0
  353. package/dist/als-react-ts-ui81.js +110 -0
  354. package/dist/als-react-ts-ui82.js +111 -0
  355. package/dist/als-react-ts-ui83.js +38 -0
  356. package/dist/als-react-ts-ui84.js +26 -0
  357. package/dist/als-react-ts-ui85.js +26 -0
  358. package/dist/als-react-ts-ui86.js +36 -0
  359. package/dist/als-react-ts-ui87.js +39 -0
  360. package/dist/als-react-ts-ui88.js +110 -0
  361. package/dist/als-react-ts-ui89.js +25 -0
  362. package/dist/als-react-ts-ui9.js +9 -0
  363. package/dist/als-react-ts-ui90.js +7 -0
  364. package/dist/als-react-ts-ui91.js +74 -0
  365. package/dist/als-react-ts-ui92.js +7 -0
  366. package/dist/als-react-ts-ui93.js +7 -0
  367. package/dist/als-react-ts-ui94.js +21 -0
  368. package/dist/als-react-ts-ui95.js +6 -0
  369. package/dist/als-react-ts-ui96.js +6 -0
  370. package/dist/als-react-ts-ui97.js +141 -0
  371. package/dist/als-react-ts-ui98.js +34 -0
  372. package/dist/als-react-ts-ui99.js +30 -0
  373. package/dist/components/ALSAccordion/index.module.css +1 -0
  374. package/dist/components/ALSAlertDialog/ALSAlertDialog.d.ts +106 -0
  375. package/dist/components/ALSAlertDialog/ALSAlertDialog.d.ts.map +1 -0
  376. package/dist/components/ALSAlertDialog/index.d.ts +16 -4
  377. package/dist/components/ALSAlertDialog/index.d.ts.map +1 -1
  378. package/dist/components/ALSAlertDialog/index.module.css +1 -0
  379. package/dist/components/ALSAutocomplete/ALSAutocomplete.d.ts +46 -0
  380. package/dist/components/ALSAutocomplete/ALSAutocomplete.d.ts.map +1 -0
  381. package/dist/components/ALSAutocomplete/index.d.ts +25 -4
  382. package/dist/components/ALSAutocomplete/index.d.ts.map +1 -1
  383. package/dist/components/ALSAutocomplete/index.module.css +1 -0
  384. package/dist/components/ALSAvatar/index.d.ts +75 -3
  385. package/dist/components/ALSAvatar/index.d.ts.map +1 -1
  386. package/dist/components/ALSAvatar/index.module.css +1 -0
  387. package/dist/components/ALSButton/index.module.css +1 -0
  388. package/dist/components/ALSCheckbox/index.module.css +0 -0
  389. package/dist/components/ALSDialog/index.module.css +1 -0
  390. package/dist/components/ALSInput/index.module.css +1 -0
  391. package/dist/components/ALSPopover/index.module.css +1 -0
  392. package/dist/components/ALSProgress/index.module.css +1 -0
  393. package/dist/components/ALSSelect/index.module.css +1 -0
  394. package/dist/components/ALSTabs/index.module.css +1 -0
  395. package/dist/components/ALSToast/index.module.css +1 -0
  396. package/dist/{als-react-ts-ui.css → index.css} +1 -1
  397. package/dist/index.d.ts +1 -1
  398. package/dist/index.d.ts.map +1 -1
  399. package/dist/layout/MainLayout/index.module.css +1 -0
  400. package/package.json +1 -1
  401. package/dist/als-react-ts-ui.cjs +0 -21
  402. package/dist/als-react-ts-ui.cjs.map +0 -1
  403. package/dist/als-react-ts-ui.js.map +0 -1
@@ -0,0 +1,58 @@
1
+ import * as r from "react";
2
+ import { useId as a } from "./als-react-ts-ui216.js";
3
+ import { useIsoLayoutEffect as l } from "./als-react-ts-ui161.js";
4
+ import { useRefWithInit as f } from "./als-react-ts-ui184.js";
5
+ import { FloatingTreeStore as m } from "./als-react-ts-ui303.js";
6
+ import { jsx as d } from "react/jsx-runtime";
7
+ const i = /* @__PURE__ */ r.createContext(null);
8
+ process.env.NODE_ENV !== "production" && (i.displayName = "FloatingNodeContext");
9
+ const s = /* @__PURE__ */ r.createContext(null);
10
+ process.env.NODE_ENV !== "production" && (s.displayName = "FloatingTreeContext");
11
+ const u = () => r.useContext(i)?.id || null, p = (o) => {
12
+ const e = r.useContext(s);
13
+ return o ?? e;
14
+ };
15
+ function v(o) {
16
+ const e = a(), t = p(o), n = u();
17
+ return l(() => {
18
+ if (!e)
19
+ return;
20
+ const c = {
21
+ id: e,
22
+ parentId: n
23
+ };
24
+ return t?.addNode(c), () => {
25
+ t?.removeNode(c);
26
+ };
27
+ }, [t, e, n]), e;
28
+ }
29
+ function I(o) {
30
+ const {
31
+ children: e,
32
+ id: t
33
+ } = o, n = u();
34
+ return /* @__PURE__ */ d(i.Provider, {
35
+ value: r.useMemo(() => ({
36
+ id: t,
37
+ parentId: n
38
+ }), [t, n]),
39
+ children: e
40
+ });
41
+ }
42
+ function T(o) {
43
+ const {
44
+ children: e,
45
+ externalTree: t
46
+ } = o, n = f(() => t ?? new m()).current;
47
+ return /* @__PURE__ */ d(s.Provider, {
48
+ value: n,
49
+ children: e
50
+ });
51
+ }
52
+ export {
53
+ I as FloatingNode,
54
+ T as FloatingTree,
55
+ v as useFloatingNodeId,
56
+ u as useFloatingParentNodeId,
57
+ p as useFloatingTree
58
+ };
@@ -0,0 +1,4 @@
1
+ const o = 300;
2
+ export {
3
+ o as OPEN_DELAY
4
+ };
@@ -0,0 +1,26 @@
1
+ import * as r from "react";
2
+ import { useIsoLayoutEffect as a } from "./als-react-ts-ui161.js";
3
+ import { isSafari as u } from "./als-react-ts-ui275.js";
4
+ import { visuallyHidden as i } from "./als-react-ts-ui251.js";
5
+ import { jsx as f } from "react/jsx-runtime";
6
+ const d = /* @__PURE__ */ r.forwardRef(function(t, e) {
7
+ const [o, s] = r.useState();
8
+ return a(() => {
9
+ u && s("button");
10
+ }, []), /* @__PURE__ */ f("span", {
11
+ ...t,
12
+ ref: e,
13
+ style: i,
14
+ "aria-hidden": o ? void 0 : !0,
15
+ ...{
16
+ tabIndex: 0,
17
+ // Role is only for VoiceOver
18
+ role: o
19
+ },
20
+ "data-base-ui-focus-guard": ""
21
+ });
22
+ });
23
+ process.env.NODE_ENV !== "production" && (d.displayName = "FocusGuard");
24
+ export {
25
+ d as FocusGuard
26
+ };
@@ -0,0 +1,155 @@
1
+ import * as k from "react";
2
+ import * as ee from "react-dom";
3
+ import { isElement as te } from "./als-react-ts-ui221.js";
4
+ import { useValueAsRef as _ } from "./als-react-ts-ui225.js";
5
+ import { useStableCallback as I } from "./als-react-ts-ui160.js";
6
+ import { createChangeEventDetails as y } from "./als-react-ts-ui167.js";
7
+ import { getDelay as F } from "./als-react-ts-ui309.js";
8
+ import { useFloatingTree as re } from "./als-react-ts-ui286.js";
9
+ import { useHoverInteractionSharedState as ne, safePolygonIdentifier as oe } from "./als-react-ts-ui308.js";
10
+ import { triggerHover as C } from "./als-react-ts-ui168.js";
11
+ import { getDocument as q, contains as L } from "./als-react-ts-ui241.js";
12
+ import { isMouseLikePointerType as z } from "./als-react-ts-ui180.js";
13
+ function N(l) {
14
+ return typeof l == "function" ? l() : l;
15
+ }
16
+ function pe(l, B = {}) {
17
+ const t = "rootStore" in l ? l.rootStore : l, {
18
+ dataRef: a,
19
+ events: H
20
+ } = t.context, {
21
+ enabled: O = !0,
22
+ delay: G = 0,
23
+ handleClose: J = null,
24
+ mouseOnly: x = !1,
25
+ restMs: K = 0,
26
+ move: A = !0,
27
+ triggerElement: V = null,
28
+ externalTree: Q,
29
+ isActiveTrigger: X = !0
30
+ } = B, Y = re(Q), {
31
+ pointerTypeRef: o,
32
+ interactedInsideRef: U,
33
+ handlerRef: p,
34
+ blockMouseMoveRef: E,
35
+ performedPointerEventsMutationRef: W,
36
+ unbindMouseMoveRef: D,
37
+ restTimeoutPendingRef: f,
38
+ openChangeTimeout: s,
39
+ restTimeout: m,
40
+ handleCloseOptionsRef: Z
41
+ } = ne(t), v = _(J), R = _(G), M = _(K);
42
+ X && (Z.current = v.current?.__options);
43
+ const T = I(() => U.current ? !0 : a.current.openEvent ? ["click", "mousedown"].includes(a.current.openEvent.type) : !1), b = k.useCallback((e, r = !0) => {
44
+ const g = F(R.current, "close", o.current);
45
+ g && !p.current ? s.start(g, () => t.setOpen(!1, y(C, e))) : r && (s.clear(), t.setOpen(!1, y(C, e)));
46
+ }, [R, p, t, o, s]), w = I(() => {
47
+ D.current(), p.current = void 0;
48
+ }), P = I(() => {
49
+ if (W.current) {
50
+ const e = q(t.select("domReferenceElement")).body;
51
+ e.style.pointerEvents = "", e.removeAttribute(oe), W.current = !1;
52
+ }
53
+ });
54
+ k.useEffect(() => {
55
+ if (!O)
56
+ return;
57
+ function e(r) {
58
+ r.open || (s.clear(), m.clear(), E.current = !0, f.current = !1);
59
+ }
60
+ return H.on("openchange", e), () => {
61
+ H.off("openchange", e);
62
+ };
63
+ }, [O, H, s, m, E, f]);
64
+ const j = I((e) => {
65
+ if (T() || !a.current.floatingContext)
66
+ return;
67
+ const r = t.context.triggerElements;
68
+ e.relatedTarget && r.hasElement(e.relatedTarget) || v.current?.({
69
+ ...a.current.floatingContext,
70
+ tree: Y,
71
+ x: e.clientX,
72
+ y: e.clientY,
73
+ onClose() {
74
+ P(), w(), T() || b(e);
75
+ }
76
+ })(e);
77
+ });
78
+ return k.useEffect(() => {
79
+ if (!O)
80
+ return;
81
+ const e = V ?? (X ? t.select("domReferenceElement") : null);
82
+ if (!te(e))
83
+ return;
84
+ function r(n) {
85
+ if (s.clear(), E.current = !1, x && !z(o.current) || N(M.current) > 0 && !F(R.current, "open"))
86
+ return;
87
+ const d = F(R.current, "open", o.current), c = t.select("domReferenceElement"), u = t.context.triggerElements, h = (u.hasElement(n.target) || u.hasMatchingElement(($) => L($, n.target))) && (!c || !L(c, n.target)), i = n.currentTarget ?? null;
88
+ d ? s.start(d, () => {
89
+ t.select("open") || t.setOpen(!0, y(C, n, i));
90
+ }) : (!t.select("open") || h) && t.setOpen(!0, y(C, n, i));
91
+ }
92
+ function g(n) {
93
+ if (T()) {
94
+ P();
95
+ return;
96
+ }
97
+ D.current();
98
+ const d = t.select("domReferenceElement"), c = q(d);
99
+ m.clear(), f.current = !1;
100
+ const u = t.context.triggerElements;
101
+ if (n.relatedTarget && u.hasElement(n.relatedTarget))
102
+ return;
103
+ if (v.current && a.current.floatingContext) {
104
+ t.select("open") || s.clear(), p.current = v.current({
105
+ ...a.current.floatingContext,
106
+ tree: Y,
107
+ x: n.clientX,
108
+ y: n.clientY,
109
+ onClose() {
110
+ P(), w(), T() || b(n, !0);
111
+ }
112
+ });
113
+ const i = p.current;
114
+ i(n), c.addEventListener("mousemove", i), D.current = () => {
115
+ c.removeEventListener("mousemove", i);
116
+ };
117
+ return;
118
+ }
119
+ (o.current === "touch" ? !L(t.select("floatingElement"), n.relatedTarget) : !0) && b(n);
120
+ }
121
+ function S(n) {
122
+ j(n);
123
+ }
124
+ return t.select("open") && e.addEventListener("mouseleave", S), A && e.addEventListener("mousemove", r, {
125
+ once: !0
126
+ }), e.addEventListener("mouseenter", r), e.addEventListener("mouseleave", g), () => {
127
+ e.removeEventListener("mouseleave", S), A && e.removeEventListener("mousemove", r), e.removeEventListener("mouseenter", r), e.removeEventListener("mouseleave", g);
128
+ };
129
+ }, [w, P, E, a, R, b, t, O, v, j, X, T, x, A, o, M, m, f, s, V, Y, D, p]), k.useMemo(() => {
130
+ function e(r) {
131
+ o.current = r.pointerType;
132
+ }
133
+ return {
134
+ onPointerDown: e,
135
+ onPointerEnter: e,
136
+ onMouseMove(r) {
137
+ const {
138
+ nativeEvent: g
139
+ } = r, S = r.currentTarget, n = t.select("domReferenceElement"), d = t.context.triggerElements, c = t.select("open"), u = (d.hasElement(r.target) || d.hasMatchingElement((i) => L(i, r.target))) && (!n || !L(n, r.target));
140
+ if (x && !z(o.current) || c && !u || N(M.current) === 0 || !u && f.current && r.movementX ** 2 + r.movementY ** 2 < 2)
141
+ return;
142
+ m.clear();
143
+ function h() {
144
+ !E.current && (!c || u) && t.setOpen(!0, y(C, g, S));
145
+ }
146
+ o.current === "touch" ? ee.flushSync(() => {
147
+ h();
148
+ }) : u && c ? h() : (f.current = !0, m.start(N(M.current), h));
149
+ }
150
+ };
151
+ }, [E, x, t, o, M, m, f]);
152
+ }
153
+ export {
154
+ pe as useHoverReferenceInteraction
155
+ };
@@ -0,0 +1,9 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import o from "./als-react-ts-ui110.js";
3
+ function e(t) {
4
+ return /* @__PURE__ */ r("div", { className: o.root });
5
+ }
6
+ export {
7
+ e as ALSSeparator,
8
+ e as default
9
+ };
@@ -0,0 +1,116 @@
1
+ import { isElement as U } from "./als-react-ts-ui221.js";
2
+ import { Timeout as Z } from "./als-react-ts-ui229.js";
3
+ import { getTarget as $, contains as W } from "./als-react-ts-ui241.js";
4
+ import { getNodeChildren as y } from "./als-react-ts-ui302.js";
5
+ function G(u, t) {
6
+ const [_, R] = u;
7
+ let h = !1;
8
+ const a = t.length;
9
+ for (let d = 0, b = a - 1; d < a; b = d++) {
10
+ const [O, E] = t[d] || [0, 0], [S, i] = t[b] || [0, 0];
11
+ E >= R != i >= R && _ <= (S - O) * (R - E) / (i - E) + O && (h = !h);
12
+ }
13
+ return h;
14
+ }
15
+ function x(u, t) {
16
+ return u[0] >= t.x && u[0] <= t.x + t.width && u[1] >= t.y && u[1] <= t.y + t.height;
17
+ }
18
+ function rt(u = {}) {
19
+ const {
20
+ buffer: t = 0.5,
21
+ blockPointerEvents: _ = !1,
22
+ requireIntent: R = !0
23
+ } = u, h = new Z();
24
+ let a = !1, d = null, b = null, O = typeof performance < "u" ? performance.now() : 0;
25
+ function E(i, s) {
26
+ const k = performance.now(), c = k - O;
27
+ if (d === null || b === null || c === 0)
28
+ return d = i, b = s, O = k, null;
29
+ const X = i - d, Y = s - b, z = Math.sqrt(X * X + Y * Y) / c;
30
+ return d = i, b = s, O = k, z;
31
+ }
32
+ const S = ({
33
+ x: i,
34
+ y: s,
35
+ placement: k,
36
+ elements: c,
37
+ onClose: X,
38
+ nodeId: Y,
39
+ tree: p
40
+ }) => function(P) {
41
+ function I() {
42
+ h.clear(), X();
43
+ }
44
+ if (h.clear(), !c.domReference || !c.floating || k == null || i == null || s == null)
45
+ return;
46
+ const {
47
+ clientX: N,
48
+ clientY: V
49
+ } = P, H = [N, V], A = $(P), j = P.type === "mouseleave", J = W(c.floating, A), D = W(c.domReference, A), n = c.domReference.getBoundingClientRect(), o = c.floating.getBoundingClientRect(), C = k.split("-")[0], m = i > o.right - o.width / 2, g = s > o.bottom - o.height / 2, K = x(H, n), l = o.width > n.width, f = o.height > n.height, v = (l ? n : o).left, B = (l ? n : o).right, M = (f ? n : o).top, q = (f ? n : o).bottom;
50
+ if (J && (a = !0, !j))
51
+ return;
52
+ if (D && (a = !1), D && !j) {
53
+ a = !0;
54
+ return;
55
+ }
56
+ if (j && U(P.relatedTarget) && W(c.floating, P.relatedTarget) || p && y(p.nodesRef.current, Y).some(({
57
+ context: e
58
+ }) => e?.open))
59
+ return;
60
+ if (C === "top" && s >= n.bottom - 1 || C === "bottom" && s <= n.top + 1 || C === "left" && i >= n.right - 1 || C === "right" && i <= n.left + 1)
61
+ return I();
62
+ let L = [];
63
+ switch (C) {
64
+ case "top":
65
+ L = [[v, n.top + 1], [v, o.bottom - 1], [B, o.bottom - 1], [B, n.top + 1]];
66
+ break;
67
+ case "bottom":
68
+ L = [[v, o.top + 1], [v, n.bottom - 1], [B, n.bottom - 1], [B, o.top + 1]];
69
+ break;
70
+ case "left":
71
+ L = [[o.right - 1, q], [o.right - 1, M], [n.left + 1, M], [n.left + 1, q]];
72
+ break;
73
+ case "right":
74
+ L = [[n.right - 1, q], [n.right - 1, M], [o.left + 1, M], [o.left + 1, q]];
75
+ break;
76
+ }
77
+ function Q([e, r]) {
78
+ switch (C) {
79
+ case "top": {
80
+ const T = [l ? e + t / 2 : m ? e + t * 4 : e - t * 4, r + t + 1], w = [l ? e - t / 2 : m ? e + t * 4 : e - t * 4, r + t + 1], F = [[o.left, m || l ? o.bottom - t : o.top], [o.right, m ? l ? o.bottom - t : o.top : o.bottom - t]];
81
+ return [T, w, ...F];
82
+ }
83
+ case "bottom": {
84
+ const T = [l ? e + t / 2 : m ? e + t * 4 : e - t * 4, r - t], w = [l ? e - t / 2 : m ? e + t * 4 : e - t * 4, r - t], F = [[o.left, m || l ? o.top + t : o.bottom], [o.right, m ? l ? o.top + t : o.bottom : o.top + t]];
85
+ return [T, w, ...F];
86
+ }
87
+ case "left": {
88
+ const T = [e + t + 1, f ? r + t / 2 : g ? r + t * 4 : r - t * 4], w = [e + t + 1, f ? r - t / 2 : g ? r + t * 4 : r - t * 4];
89
+ return [...[[g || f ? o.right - t : o.left, o.top], [g ? f ? o.right - t : o.left : o.right - t, o.bottom]], T, w];
90
+ }
91
+ case "right": {
92
+ const T = [e - t, f ? r + t / 2 : g ? r + t * 4 : r - t * 4], w = [e - t, f ? r - t / 2 : g ? r + t * 4 : r - t * 4], F = [[g || f ? o.left + t : o.right, o.top], [g ? f ? o.left + t : o.right : o.left + t, o.bottom]];
93
+ return [T, w, ...F];
94
+ }
95
+ default:
96
+ return [];
97
+ }
98
+ }
99
+ if (!G([N, V], L)) {
100
+ if (a && !K)
101
+ return I();
102
+ if (!j && R) {
103
+ const e = E(P.clientX, P.clientY);
104
+ if (e !== null && e < 0.1)
105
+ return I();
106
+ }
107
+ G([N, V], Q([i, s])) ? !a && R && h.start(40, I) : I();
108
+ }
109
+ };
110
+ return S.__options = {
111
+ blockPointerEvents: _
112
+ }, S;
113
+ }
114
+ export {
115
+ rt as safePolygon
116
+ };
@@ -0,0 +1,67 @@
1
+ import { tabbable as r } from "./als-react-ts-ui298.js";
2
+ import { contains as d, getDocument as b, activeElement as f } from "./als-react-ts-ui241.js";
3
+ const s = () => ({
4
+ getShadowRoot: !0,
5
+ displayCheck: (
6
+ // JSDOM does not support the `tabbable` library. To solve this we can
7
+ // check if `ResizeObserver` is a real function (not polyfilled), which
8
+ // determines if the current environment is JSDOM-like.
9
+ typeof ResizeObserver == "function" && ResizeObserver.toString().includes("[native code]") ? "full" : "none"
10
+ )
11
+ });
12
+ function u(t, a) {
13
+ const e = r(t, s()), n = e.length;
14
+ if (n === 0)
15
+ return;
16
+ const i = f(b(t)), o = e.indexOf(i), c = o === -1 ? a === 1 ? 0 : n - 1 : o + a;
17
+ return e[c];
18
+ }
19
+ function T(t) {
20
+ return u(b(t).body, 1) || t;
21
+ }
22
+ function m(t) {
23
+ return u(b(t).body, -1) || t;
24
+ }
25
+ function l(t, a) {
26
+ if (!t)
27
+ return null;
28
+ const e = r(b(t).body, s()), n = e.length;
29
+ if (n === 0)
30
+ return null;
31
+ const i = e.indexOf(t);
32
+ if (i === -1)
33
+ return null;
34
+ const o = (i + a + n) % n;
35
+ return e[o];
36
+ }
37
+ function v(t) {
38
+ return l(t, 1);
39
+ }
40
+ function h(t) {
41
+ return l(t, -1);
42
+ }
43
+ function p(t, a) {
44
+ const e = a || t.currentTarget, n = t.relatedTarget;
45
+ return !n || !d(e, n);
46
+ }
47
+ function y(t) {
48
+ r(t, s()).forEach((e) => {
49
+ e.dataset.tabindex = e.getAttribute("tabindex") || "", e.setAttribute("tabindex", "-1");
50
+ });
51
+ }
52
+ function A(t) {
53
+ t.querySelectorAll("[data-tabindex]").forEach((e) => {
54
+ const n = e.dataset.tabindex;
55
+ delete e.dataset.tabindex, n ? e.setAttribute("tabindex", n) : e.removeAttribute("tabindex");
56
+ });
57
+ }
58
+ export {
59
+ y as disableFocusInside,
60
+ A as enableFocusInside,
61
+ T as getNextTabbable,
62
+ m as getPreviousTabbable,
63
+ v as getTabbableAfterElement,
64
+ h as getTabbableBeforeElement,
65
+ s as getTabbableOptions,
66
+ p as isOutsideEvent
67
+ };
@@ -0,0 +1,14 @@
1
+ import t from "./als-react-ts-ui197.js";
2
+ import * as e from "react";
3
+ const r = /* @__PURE__ */ e.createContext(void 0);
4
+ process.env.NODE_ENV !== "production" && (r.displayName = "PopoverPortalContext");
5
+ function s() {
6
+ const o = e.useContext(r);
7
+ if (o === void 0)
8
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: <Popover.Portal> is missing." : t(45));
9
+ return o;
10
+ }
11
+ export {
12
+ r as PopoverPortalContext,
13
+ s as usePopoverPortalContext
14
+ };
@@ -0,0 +1,14 @@
1
+ import r from "./als-react-ts-ui197.js";
2
+ import * as e from "react";
3
+ const t = /* @__PURE__ */ e.createContext(void 0);
4
+ process.env.NODE_ENV !== "production" && (t.displayName = "PopoverPositionerContext");
5
+ function i() {
6
+ const o = e.useContext(t);
7
+ if (!o)
8
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: PopoverPositionerContext is missing. PopoverPositioner parts must be placed within <Popover.Positioner>." : r(46));
9
+ return o;
10
+ }
11
+ export {
12
+ t as PopoverPositionerContext,
13
+ i as usePopoverPositionerContext
14
+ };
@@ -0,0 +1,63 @@
1
+ import { ownerDocument as D } from "./als-react-ts-ui268.js";
2
+ import { getSide as v } from "./als-react-ts-ui317.js";
3
+ import { getWindow as x } from "./als-react-ts-ui221.js";
4
+ const d = {
5
+ sideX: "left",
6
+ sideY: "top"
7
+ }, O = {
8
+ name: "adaptiveOrigin",
9
+ async fn(g) {
10
+ const {
11
+ x: o,
12
+ y: s,
13
+ rects: {
14
+ floating: f
15
+ },
16
+ elements: {
17
+ floating: i
18
+ },
19
+ platform: a,
20
+ strategy: w,
21
+ placement: p
22
+ } = g, t = x(i), l = t.getComputedStyle(i);
23
+ if (!(l.transitionDuration !== "0s" && l.transitionDuration !== ""))
24
+ return {
25
+ x: o,
26
+ y: s,
27
+ data: d
28
+ };
29
+ const r = await a.getOffsetParent?.(i);
30
+ let e = {
31
+ width: 0,
32
+ height: 0
33
+ };
34
+ if (w === "fixed" && t?.visualViewport)
35
+ e = {
36
+ width: t.visualViewport.width,
37
+ height: t.visualViewport.height
38
+ };
39
+ else if (r === t) {
40
+ const m = D(i);
41
+ e = {
42
+ width: m.documentElement.clientWidth,
43
+ height: m.documentElement.clientHeight
44
+ };
45
+ } else await a.isElement?.(r) && (e = await a.getDimensions(r));
46
+ const n = v(p);
47
+ let h = o, c = s;
48
+ n === "left" && (h = e.width - (o + f.width)), n === "top" && (c = e.height - (s + f.height));
49
+ const u = n === "left" ? "right" : d.sideX, y = n === "top" ? "bottom" : d.sideY;
50
+ return {
51
+ x: h,
52
+ y: c,
53
+ data: {
54
+ sideX: u,
55
+ sideY: y
56
+ }
57
+ };
58
+ }
59
+ };
60
+ export {
61
+ d as DEFAULT_SIDES,
62
+ O as adaptiveOrigin
63
+ };
@@ -0,0 +1,62 @@
1
+ import * as z from "react";
2
+ import { useAnimationFrame as R } from "./als-react-ts-ui223.js";
3
+ import { useIsoLayoutEffect as $ } from "./als-react-ts-ui161.js";
4
+ import { useStableCallback as v } from "./als-react-ts-ui160.js";
5
+ import { useAnimationsFinished as C } from "./als-react-ts-ui217.js";
6
+ import { getCssDimensions as S } from "./als-react-ts-ui320.js";
7
+ const E = typeof ResizeObserver < "u", B = () => !0;
8
+ function T(r) {
9
+ const {
10
+ popupElement: e,
11
+ positionerElement: t,
12
+ content: u,
13
+ mounted: y,
14
+ enabled: m = B,
15
+ onMeasureLayout: M,
16
+ onMeasureLayoutComplete: A
17
+ } = r, a = z.useRef(!0), d = C(e, !0, !1), l = R(), o = z.useRef(null), P = v(M), c = v(A);
18
+ $(() => {
19
+ if (!y || !m() || !E) {
20
+ a.current = !0, o.current = null;
21
+ return;
22
+ }
23
+ if (!e || !t)
24
+ return;
25
+ const h = new ResizeObserver((n) => {
26
+ const i = n[0];
27
+ i && (o.current === null ? o.current = {
28
+ width: Math.ceil(i.borderBoxSize[0].inlineSize),
29
+ height: Math.ceil(i.borderBoxSize[0].blockSize)
30
+ } : (o.current.width = Math.ceil(i.borderBoxSize[0].inlineSize), o.current.height = Math.ceil(i.borderBoxSize[0].blockSize)));
31
+ });
32
+ h.observe(e), e.style.setProperty("--popup-width", "auto"), e.style.setProperty("--popup-height", "auto");
33
+ const f = p(e, "position", "static"), b = p(e, "transform", "none"), L = p(e, "scale", "1"), g = p(t, "--available-width", "max-content"), w = p(t, "--available-height", "max-content");
34
+ if (P?.(), a.current || o.current === null) {
35
+ t.style.setProperty("--positioner-width", "max-content"), t.style.setProperty("--positioner-height", "max-content");
36
+ const n = S(e);
37
+ return t.style.setProperty("--positioner-width", `${n.width}px`), t.style.setProperty("--positioner-height", `${n.height}px`), f(), b(), L(), g(), w(), c?.(null, n), a.current = !1, () => {
38
+ h.disconnect();
39
+ };
40
+ }
41
+ e.style.setProperty("--popup-width", "auto"), e.style.setProperty("--popup-height", "auto"), t.style.setProperty("--positioner-width", "max-content"), t.style.setProperty("--positioner-height", "max-content");
42
+ const s = S(e);
43
+ e.style.setProperty("--popup-width", `${o.current.width}px`), e.style.setProperty("--popup-height", `${o.current.height}px`), f(), b(), g(), w(), c?.(o.current, s), t.style.setProperty("--positioner-width", `${s.width}px`), t.style.setProperty("--positioner-height", `${s.height}px`);
44
+ const x = new AbortController();
45
+ return l.request(() => {
46
+ e.style.setProperty("--popup-width", `${s.width}px`), e.style.setProperty("--popup-height", `${s.height}px`), d(() => {
47
+ e.style.setProperty("--popup-width", "auto"), e.style.setProperty("--popup-height", "auto");
48
+ }, x.signal);
49
+ }), () => {
50
+ h.disconnect(), x.abort(), l.cancel();
51
+ };
52
+ }, [u, e, t, d, l, m, y, P, c]);
53
+ }
54
+ function p(r, e, t) {
55
+ const u = r.style.getPropertyValue(e);
56
+ return r.style.setProperty(e, t), () => {
57
+ r.style.setProperty(e, u);
58
+ };
59
+ }
60
+ export {
61
+ T as usePopupAutoResize
62
+ };
@@ -0,0 +1,90 @@
1
+ import * as L from "react";
2
+ import { isElement as j } from "./als-react-ts-ui221.js";
3
+ import { useStableCallback as l } from "./als-react-ts-ui160.js";
4
+ import { useIsoLayoutEffect as F } from "./als-react-ts-ui161.js";
5
+ import { createChangeEventDetails as w } from "./als-react-ts-ui167.js";
6
+ import { useFloatingTree as q, useFloatingParentNodeId as z } from "./als-react-ts-ui286.js";
7
+ import { useHoverInteractionSharedState as B, safePolygonIdentifier as H, isInteractiveElement as G } from "./als-react-ts-ui308.js";
8
+ import { triggerHover as O } from "./als-react-ts-ui168.js";
9
+ import { getDocument as x, getTarget as J } from "./als-react-ts-ui241.js";
10
+ import { isMouseLikePointerType as K } from "./als-react-ts-ui180.js";
11
+ const Q = /* @__PURE__ */ new Set(["click", "mousedown"]);
12
+ function re(i, d = {}) {
13
+ const n = "rootStore" in i ? i.rootStore : i, m = n.useState("open"), u = n.useState("floatingElement"), b = n.useState("domReferenceElement"), {
14
+ dataRef: p
15
+ } = n.context, {
16
+ enabled: R = !0,
17
+ closeDelay: I = 0,
18
+ externalTree: A
19
+ } = d, {
20
+ pointerTypeRef: E,
21
+ interactedInsideRef: f,
22
+ handlerRef: v,
23
+ performedPointerEventsMutationRef: g,
24
+ unbindMouseMoveRef: N,
25
+ restTimeoutPendingRef: S,
26
+ openChangeTimeout: y,
27
+ handleCloseOptionsRef: k
28
+ } = B(n), M = q(A), T = z(), h = l(() => f.current ? !0 : p.current.openEvent ? Q.has(p.current.openEvent.type) : !1), C = l(() => {
29
+ const e = p.current.openEvent?.type;
30
+ return e?.includes("mouse") && e !== "mousedown";
31
+ }), P = L.useCallback((e, r = !0) => {
32
+ const s = U(I, E.current);
33
+ s && !v.current ? y.start(s, () => n.setOpen(!1, w(O, e))) : r && (y.clear(), n.setOpen(!1, w(O, e)));
34
+ }, [I, v, n, E, y]), c = l(() => {
35
+ N.current(), v.current = void 0;
36
+ }), a = l(() => {
37
+ if (g.current) {
38
+ const e = x(u).body;
39
+ e.style.pointerEvents = "", e.removeAttribute(H), g.current = !1;
40
+ }
41
+ }), D = l((e) => {
42
+ const r = J(e);
43
+ if (!G(r)) {
44
+ f.current = !1;
45
+ return;
46
+ }
47
+ f.current = !0;
48
+ });
49
+ F(() => {
50
+ m || (E.current = void 0, S.current = !1, f.current = !1, c(), a());
51
+ }, [m, E, S, f, c, a]), L.useEffect(() => () => {
52
+ c();
53
+ }, [c]), L.useEffect(() => a, [a]), F(() => {
54
+ if (R && m && k.current?.blockPointerEvents && C() && j(b) && u) {
55
+ g.current = !0;
56
+ const e = x(u).body;
57
+ e.setAttribute(H, "");
58
+ const r = b, s = u, t = M?.nodesRef.current.find((o) => o.id === T)?.context?.elements.floating;
59
+ return t && (t.style.pointerEvents = ""), e.style.pointerEvents = "none", r.style.pointerEvents = "auto", s.style.pointerEvents = "auto", () => {
60
+ e.style.pointerEvents = "", r.style.pointerEvents = "", s.style.pointerEvents = "";
61
+ };
62
+ }
63
+ }, [R, m, b, u, k, C, M, T, g]), L.useEffect(() => {
64
+ if (!R)
65
+ return;
66
+ function e(o) {
67
+ if (h() || !p.current.floatingContext)
68
+ return;
69
+ const W = n.context.triggerElements;
70
+ o.relatedTarget && W.hasElement(o.relatedTarget) || (a(), c(), h() || P(o));
71
+ }
72
+ function r(o) {
73
+ y.clear(), a(), v.current?.(o), c();
74
+ }
75
+ function s(o) {
76
+ h() || P(o, !1);
77
+ }
78
+ const t = u;
79
+ return t && (t.addEventListener("mouseleave", e), t.addEventListener("mouseenter", r), t.addEventListener("mouseleave", s), t.addEventListener("pointerdown", D, !0)), () => {
80
+ t && (t.removeEventListener("mouseleave", e), t.removeEventListener("mouseenter", r), t.removeEventListener("mouseleave", s), t.removeEventListener("pointerdown", D, !0));
81
+ };
82
+ });
83
+ }
84
+ function U(i, d) {
85
+ return d && !K(d) ? 0 : typeof i == "function" ? i() : i;
86
+ }
87
+ export {
88
+ U as getDelay,
89
+ re as useHoverFloatingInteraction
90
+ };