@kong/kongponents 9.49.9 → 9.49.10-pr.3057.fc5d26a.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 (617) hide show
  1. package/dist/kongponents.css +1 -1
  2. package/dist/kongponents.es105.js +5 -5
  3. package/dist/kongponents.es107.js +3 -3
  4. package/dist/kongponents.es109.js +4 -4
  5. package/dist/kongponents.es113.js +2 -2
  6. package/dist/kongponents.es115.js +5 -5
  7. package/dist/kongponents.es117.js +2 -2
  8. package/dist/kongponents.es119.js +393 -317
  9. package/dist/kongponents.es122.js +5 -5
  10. package/dist/kongponents.es124.js +7 -7
  11. package/dist/kongponents.es128.js +2 -2
  12. package/dist/kongponents.es130.js +1 -1
  13. package/dist/kongponents.es132.js +259 -220
  14. package/dist/kongponents.es139.js +4 -4
  15. package/dist/kongponents.es141.js +1 -1
  16. package/dist/kongponents.es143.js +6 -6
  17. package/dist/kongponents.es147.js +2 -2
  18. package/dist/kongponents.es149.js +7 -7
  19. package/dist/kongponents.es154.js +3 -3
  20. package/dist/kongponents.es156.js +5 -5
  21. package/dist/kongponents.es158.js +3 -3
  22. package/dist/kongponents.es160.js +12 -12
  23. package/dist/kongponents.es171.js +119 -5
  24. package/dist/kongponents.es172.js +21 -21
  25. package/dist/kongponents.es173.js +119 -18
  26. package/dist/kongponents.es174.js +116 -111
  27. package/dist/kongponents.es175.js +19 -19
  28. package/dist/kongponents.es176.js +115 -13
  29. package/dist/kongponents.es177.js +18 -166
  30. package/dist/kongponents.es178.js +104 -392
  31. package/dist/kongponents.es179.js +119 -5
  32. package/dist/kongponents.es180.js +30 -30
  33. package/dist/kongponents.es181.js +5 -119
  34. package/dist/kongponents.es182.js +96 -113
  35. package/dist/kongponents.es183.js +162 -115
  36. package/dist/kongponents.es184.js +119 -5
  37. package/dist/kongponents.es185.js +119 -5
  38. package/dist/kongponents.es186.js +317 -18
  39. package/dist/kongponents.es187.js +38 -9
  40. package/dist/kongponents.es188.js +97 -118
  41. package/dist/kongponents.es189.js +21 -21
  42. package/dist/kongponents.es190.js +20 -20
  43. package/dist/kongponents.es191.js +19 -19
  44. package/dist/kongponents.es192.js +113 -102
  45. package/dist/kongponents.es193.js +36 -35
  46. package/dist/kongponents.es194.js +19 -19
  47. package/dist/kongponents.es195.js +119 -5
  48. package/dist/kongponents.es196.js +18 -119
  49. package/dist/kongponents.es197.js +50 -117
  50. package/dist/kongponents.es198.js +22 -22
  51. package/dist/kongponents.es20.js +8 -8
  52. package/dist/kongponents.es200.js +26 -26
  53. package/dist/kongponents.es201.js +5 -119
  54. package/dist/kongponents.es202.js +8 -317
  55. package/dist/kongponents.es203.js +58 -37
  56. package/dist/kongponents.es204.js +5 -98
  57. package/dist/kongponents.es205.js +5 -119
  58. package/dist/kongponents.es206.js +5 -119
  59. package/dist/kongponents.es207.js +14 -14
  60. package/dist/kongponents.es208.js +19 -20
  61. package/dist/kongponents.es209.js +18 -18
  62. package/dist/kongponents.es210.js +23 -118
  63. package/dist/kongponents.es211.js +108 -46
  64. package/dist/kongponents.es212.js +19 -0
  65. package/dist/kongponents.es213.js +393 -116
  66. package/dist/kongponents.es214.js +4 -4
  67. package/dist/kongponents.es215.js +5 -8
  68. package/dist/kongponents.es216.js +5 -60
  69. package/dist/kongponents.es217.js +5 -119
  70. package/dist/kongponents.es218.js +5 -119
  71. package/dist/kongponents.es219.js +4 -4
  72. package/dist/kongponents.es22.js +2 -2
  73. package/dist/kongponents.es220.js +119 -5
  74. package/dist/kongponents.es221.js +4 -4
  75. package/dist/kongponents.es222.js +4 -4
  76. package/dist/kongponents.es223.js +4 -4
  77. package/dist/kongponents.es224.js +119 -5
  78. package/dist/kongponents.es225.js +7 -102
  79. package/dist/kongponents.es226.js +189 -5
  80. package/dist/kongponents.es227.js +15 -5
  81. package/dist/kongponents.es228.js +26 -26
  82. package/dist/kongponents.es229.js +4 -6
  83. package/dist/kongponents.es230.js +5 -189
  84. package/dist/kongponents.es231.js +119 -5
  85. package/dist/kongponents.es232.js +119 -5
  86. package/dist/kongponents.es233.js +119 -5
  87. package/dist/kongponents.es234.js +38 -38
  88. package/dist/kongponents.es235.js +24 -24
  89. package/dist/kongponents.es236.js +22 -22
  90. package/dist/kongponents.es237.js +5 -119
  91. package/dist/kongponents.es238.js +9 -14
  92. package/dist/kongponents.es24.js +1 -1
  93. package/dist/kongponents.es240.js +609 -20
  94. package/dist/kongponents.es241.js +19 -130
  95. package/dist/kongponents.es242.js +6 -2
  96. package/dist/kongponents.es243.js +40 -180
  97. package/dist/{kongponents.es248.js → kongponents.es244.js} +1 -1
  98. package/dist/kongponents.es245.js +177 -57
  99. package/dist/kongponents.es247.js +24 -40
  100. package/dist/kongponents.es249.js +41 -49
  101. package/dist/kongponents.es251.js +34 -6
  102. package/dist/kongponents.es253.js +25 -0
  103. package/dist/kongponents.es255.js +42 -21
  104. package/dist/kongponents.es257.js +35 -42
  105. package/dist/kongponents.es259.js +46 -28
  106. package/dist/kongponents.es26.js +4 -4
  107. package/dist/kongponents.es261.js +53 -20
  108. package/dist/kongponents.es263.js +133 -44
  109. package/dist/kongponents.es264.js +4 -0
  110. package/dist/kongponents.es265.js +5 -41
  111. package/dist/kongponents.es266.js +7 -0
  112. package/dist/kongponents.es267.js +19 -94
  113. package/dist/kongponents.es268.js +6 -0
  114. package/dist/kongponents.es269.js +5 -45
  115. package/dist/kongponents.es270.js +8 -0
  116. package/dist/kongponents.es271.js +9 -52
  117. package/dist/kongponents.es272.js +8 -0
  118. package/dist/kongponents.es273.js +4 -2
  119. package/dist/kongponents.es274.js +16 -118
  120. package/dist/kongponents.es275.js +4 -119
  121. package/dist/kongponents.es276.js +8 -119
  122. package/dist/kongponents.es277.js +6 -369
  123. package/dist/kongponents.es278.js +3 -129
  124. package/dist/kongponents.es279.js +4 -0
  125. package/dist/kongponents.es280.js +5 -4
  126. package/dist/kongponents.es281.js +10 -5
  127. package/dist/kongponents.es282.js +4 -19
  128. package/dist/kongponents.es283.js +4 -4
  129. package/dist/kongponents.es284.js +3 -5
  130. package/dist/kongponents.es285.js +3 -5
  131. package/dist/kongponents.es286.js +7 -8
  132. package/dist/kongponents.es287.js +6 -5
  133. package/dist/kongponents.es288.js +5 -4
  134. package/dist/kongponents.es289.js +9 -16
  135. package/dist/kongponents.es290.js +5 -3
  136. package/dist/kongponents.es291.js +9 -8
  137. package/dist/kongponents.es292.js +5 -5
  138. package/dist/kongponents.es293.js +17 -3
  139. package/dist/kongponents.es294.js +12 -2
  140. package/dist/kongponents.es295.js +6 -5
  141. package/dist/kongponents.es296.js +12 -9
  142. package/dist/kongponents.es297.js +9 -4
  143. package/dist/kongponents.es298.js +6 -4
  144. package/dist/kongponents.es299.js +9 -3
  145. package/dist/kongponents.es300.js +15 -3
  146. package/dist/kongponents.es301.js +17 -7
  147. package/dist/kongponents.es302.js +5 -6
  148. package/dist/kongponents.es303.js +11 -5
  149. package/dist/kongponents.es304.js +6 -9
  150. package/dist/kongponents.es305.js +7 -5
  151. package/dist/kongponents.es306.js +6 -9
  152. package/dist/kongponents.es307.js +6 -6
  153. package/dist/kongponents.es308.js +9 -17
  154. package/dist/kongponents.es309.js +7 -11
  155. package/dist/kongponents.es310.js +3 -6
  156. package/dist/kongponents.es311.js +5 -12
  157. package/dist/kongponents.es312.js +15 -9
  158. package/dist/kongponents.es313.js +2 -6
  159. package/dist/kongponents.es314.js +119 -9
  160. package/dist/kongponents.es315.js +119 -16
  161. package/dist/kongponents.es316.js +118 -17
  162. package/dist/kongponents.es317.js +217 -6
  163. package/dist/kongponents.es318.js +88 -10
  164. package/dist/kongponents.es320.js +45 -8
  165. package/dist/kongponents.es323.js +8 -9
  166. package/dist/kongponents.es324.js +6 -7
  167. package/dist/kongponents.es325.js +7 -3
  168. package/dist/kongponents.es326.js +4 -5
  169. package/dist/kongponents.es327.js +9 -15
  170. package/dist/kongponents.es328.js +9 -91
  171. package/dist/kongponents.es329.js +639 -0
  172. package/dist/kongponents.es330.js +73 -40
  173. package/dist/kongponents.es331.js +7 -0
  174. package/dist/kongponents.es332.js +19 -8
  175. package/dist/kongponents.es333.js +4 -6
  176. package/dist/kongponents.es334.js +18 -8
  177. package/dist/kongponents.es335.js +7 -4
  178. package/dist/kongponents.es336.js +5 -9
  179. package/dist/kongponents.es337.js +8 -8
  180. package/dist/kongponents.es338.js +7 -636
  181. package/dist/kongponents.es339.js +5 -74
  182. package/dist/kongponents.es340.js +20 -4
  183. package/dist/kongponents.es341.js +5 -20
  184. package/dist/kongponents.es342.js +110 -4
  185. package/dist/kongponents.es343.js +171 -17
  186. package/dist/kongponents.es344.js +5 -8
  187. package/dist/kongponents.es345.js +6 -5
  188. package/dist/kongponents.es346.js +5 -9
  189. package/dist/kongponents.es347.js +5 -8
  190. package/dist/kongponents.es348.js +69 -4
  191. package/dist/kongponents.es349.js +2 -21
  192. package/dist/kongponents.es350.js +180 -5
  193. package/dist/kongponents.es352.js +83 -170
  194. package/dist/kongponents.es354.js +41 -7
  195. package/dist/kongponents.es356.js +370 -5
  196. package/dist/kongponents.es357.js +127 -67
  197. package/dist/kongponents.es358.js +5774 -2
  198. package/dist/kongponents.es359.js +6 -217
  199. package/dist/kongponents.es360.js +64 -6
  200. package/dist/kongponents.es362.js +8 -2
  201. package/dist/kongponents.es363.js +5 -7
  202. package/dist/kongponents.es364.js +9 -6
  203. package/dist/kongponents.es365.js +6 -9
  204. package/dist/kongponents.es366.js +9 -5
  205. package/dist/kongponents.es367.js +13 -8
  206. package/dist/kongponents.es368.js +3 -15
  207. package/dist/kongponents.es369.js +8 -3
  208. package/dist/kongponents.es370.js +3 -8
  209. package/dist/kongponents.es371.js +11 -3
  210. package/dist/kongponents.es372.js +7 -10
  211. package/dist/kongponents.es373.js +5 -7
  212. package/dist/kongponents.es374.js +2 -6
  213. package/dist/kongponents.es375.js +13 -2
  214. package/dist/kongponents.es376.js +4 -12
  215. package/dist/kongponents.es377.js +3 -5
  216. package/dist/kongponents.es378.js +26 -3
  217. package/dist/kongponents.es379.js +4 -26
  218. package/dist/kongponents.es380.js +4 -4
  219. package/dist/kongponents.es381.js +3 -3
  220. package/dist/kongponents.es382.js +4 -4
  221. package/dist/kongponents.es383.js +4 -4
  222. package/dist/kongponents.es384.js +14 -3
  223. package/dist/kongponents.es385.js +5 -14
  224. package/dist/kongponents.es386.js +29 -5
  225. package/dist/kongponents.es387.js +22 -25
  226. package/dist/kongponents.es388.js +15 -26
  227. package/dist/kongponents.es389.js +9 -15
  228. package/dist/kongponents.es390.js +4 -9
  229. package/dist/kongponents.es391.js +13 -4
  230. package/dist/kongponents.es392.js +8 -13
  231. package/dist/kongponents.es393.js +3 -9
  232. package/dist/kongponents.es394.js +6 -3
  233. package/dist/kongponents.es395.js +5 -5
  234. package/dist/kongponents.es396.js +7 -5
  235. package/dist/kongponents.es397.js +5 -7
  236. package/dist/kongponents.es398.js +9 -4
  237. package/dist/kongponents.es399.js +5 -10
  238. package/dist/kongponents.es400.js +3 -4
  239. package/dist/kongponents.es401.js +4 -4
  240. package/dist/kongponents.es402.js +5 -4
  241. package/dist/kongponents.es403.js +7 -5
  242. package/dist/kongponents.es404.js +7 -8
  243. package/dist/kongponents.es405.js +10 -7
  244. package/dist/kongponents.es406.js +7 -10
  245. package/dist/kongponents.es407.js +21 -6
  246. package/dist/kongponents.es408.js +6 -21
  247. package/dist/kongponents.es409.js +4 -4
  248. package/dist/kongponents.es410.js +6 -6
  249. package/dist/kongponents.es411.js +7 -5
  250. package/dist/kongponents.es412.js +2 -9
  251. package/dist/kongponents.es414.js +10 -1556
  252. package/dist/kongponents.es415.js +11 -5
  253. package/dist/kongponents.es416.js +12 -10
  254. package/dist/kongponents.es417.js +10 -10
  255. package/dist/kongponents.es418.js +18 -12
  256. package/dist/kongponents.es419.js +5 -10
  257. package/dist/kongponents.es420.js +55 -19
  258. package/dist/kongponents.es421.js +2 -6
  259. package/dist/kongponents.es422.js +1555 -53
  260. package/dist/kongponents.es423.js +4 -1
  261. package/dist/kongponents.es424.js +3 -3
  262. package/dist/kongponents.es450.js +2 -2
  263. package/dist/kongponents.es451.js +5 -5
  264. package/dist/kongponents.es456.js +2 -2
  265. package/dist/kongponents.es457.js +2 -2
  266. package/dist/kongponents.es458.js +2 -2
  267. package/dist/kongponents.es459.js +1 -1
  268. package/dist/kongponents.es463.js +1 -1
  269. package/dist/kongponents.es464.js +4 -4
  270. package/dist/kongponents.es466.js +1 -1
  271. package/dist/kongponents.es469.js +2 -2
  272. package/dist/kongponents.es470.js +2 -2
  273. package/dist/kongponents.es471.js +4 -4
  274. package/dist/kongponents.es472.js +4 -4
  275. package/dist/kongponents.es501.js +3 -3
  276. package/dist/kongponents.es502.js +9 -3
  277. package/dist/kongponents.es503.js +5 -9
  278. package/dist/kongponents.es504.js +4 -5
  279. package/dist/kongponents.es505.js +5 -4
  280. package/dist/kongponents.es506.js +3 -5
  281. package/dist/kongponents.es507.js +1 -1
  282. package/dist/kongponents.es53.js +2 -2
  283. package/dist/kongponents.es557.js +1 -1
  284. package/dist/kongponents.es59.js +1 -1
  285. package/dist/kongponents.es597.js +1 -1
  286. package/dist/kongponents.es599.js +1 -1
  287. package/dist/kongponents.es600.js +1 -1
  288. package/dist/kongponents.es607.js +2 -2
  289. package/dist/kongponents.es608.js +2 -2
  290. package/dist/kongponents.es609.js +2 -2
  291. package/dist/kongponents.es72.js +7 -7
  292. package/dist/kongponents.es75.js +1 -1
  293. package/dist/kongponents.es77.js +1 -1
  294. package/dist/kongponents.es83.js +1 -1
  295. package/dist/kongponents.es87.js +3 -3
  296. package/dist/kongponents.es89.js +15 -15
  297. package/dist/kongponents.es94.js +2 -2
  298. package/dist/kongponents.es96.js +6 -6
  299. package/dist/kongponents.es99.js +2 -2
  300. package/dist/kongponents.umd.js +17 -17
  301. package/dist/kongponents105.cjs +1 -1
  302. package/dist/kongponents107.cjs +1 -1
  303. package/dist/kongponents109.cjs +1 -1
  304. package/dist/kongponents113.cjs +1 -1
  305. package/dist/kongponents115.cjs +1 -1
  306. package/dist/kongponents117.cjs +1 -1
  307. package/dist/kongponents119.cjs +1 -1
  308. package/dist/kongponents122.cjs +1 -1
  309. package/dist/kongponents124.cjs +1 -1
  310. package/dist/kongponents128.cjs +1 -1
  311. package/dist/kongponents130.cjs +1 -1
  312. package/dist/kongponents132.cjs +1 -1
  313. package/dist/kongponents139.cjs +1 -1
  314. package/dist/kongponents141.cjs +1 -1
  315. package/dist/kongponents143.cjs +1 -1
  316. package/dist/kongponents147.cjs +1 -1
  317. package/dist/kongponents149.cjs +1 -1
  318. package/dist/kongponents154.cjs +1 -1
  319. package/dist/kongponents156.cjs +1 -1
  320. package/dist/kongponents158.cjs +1 -1
  321. package/dist/kongponents160.cjs +1 -1
  322. package/dist/kongponents171.cjs +1 -1
  323. package/dist/kongponents172.cjs +1 -1
  324. package/dist/kongponents173.cjs +1 -1
  325. package/dist/kongponents174.cjs +1 -1
  326. package/dist/kongponents175.cjs +1 -1
  327. package/dist/kongponents176.cjs +1 -1
  328. package/dist/kongponents177.cjs +1 -1
  329. package/dist/kongponents178.cjs +1 -1
  330. package/dist/kongponents179.cjs +1 -1
  331. package/dist/kongponents180.cjs +1 -1
  332. package/dist/kongponents181.cjs +1 -1
  333. package/dist/kongponents182.cjs +5 -1
  334. package/dist/kongponents183.cjs +1 -1
  335. package/dist/kongponents184.cjs +1 -1
  336. package/dist/kongponents185.cjs +1 -1
  337. package/dist/kongponents186.cjs +1 -1
  338. package/dist/kongponents187.cjs +1 -1
  339. package/dist/kongponents188.cjs +2 -1
  340. package/dist/kongponents189.cjs +1 -1
  341. package/dist/kongponents190.cjs +1 -1
  342. package/dist/kongponents191.cjs +1 -1
  343. package/dist/kongponents192.cjs +1 -1
  344. package/dist/kongponents193.cjs +2 -1
  345. package/dist/kongponents194.cjs +1 -1
  346. package/dist/kongponents195.cjs +1 -1
  347. package/dist/kongponents196.cjs +1 -1
  348. package/dist/kongponents197.cjs +1 -1
  349. package/dist/kongponents198.cjs +1 -1
  350. package/dist/kongponents20.cjs +1 -1
  351. package/dist/kongponents200.cjs +1 -1
  352. package/dist/kongponents201.cjs +1 -1
  353. package/dist/kongponents202.cjs +1 -1
  354. package/dist/kongponents203.cjs +1 -1
  355. package/dist/kongponents204.cjs +1 -2
  356. package/dist/kongponents205.cjs +1 -1
  357. package/dist/kongponents206.cjs +1 -1
  358. package/dist/kongponents207.cjs +1 -1
  359. package/dist/kongponents208.cjs +1 -2
  360. package/dist/kongponents209.cjs +1 -1
  361. package/dist/kongponents210.cjs +1 -1
  362. package/dist/kongponents211.cjs +1 -1
  363. package/dist/kongponents212.cjs +1 -0
  364. package/dist/kongponents213.cjs +1 -1
  365. package/dist/kongponents214.cjs +1 -1
  366. package/dist/kongponents215.cjs +1 -1
  367. package/dist/kongponents216.cjs +1 -1
  368. package/dist/kongponents217.cjs +1 -1
  369. package/dist/kongponents218.cjs +1 -1
  370. package/dist/kongponents219.cjs +1 -1
  371. package/dist/kongponents22.cjs +1 -1
  372. package/dist/kongponents220.cjs +1 -1
  373. package/dist/kongponents221.cjs +1 -1
  374. package/dist/kongponents222.cjs +1 -1
  375. package/dist/kongponents223.cjs +1 -1
  376. package/dist/kongponents224.cjs +1 -1
  377. package/dist/kongponents225.cjs +1 -5
  378. package/dist/kongponents226.cjs +1 -1
  379. package/dist/kongponents227.cjs +1 -1
  380. package/dist/kongponents228.cjs +1 -1
  381. package/dist/kongponents229.cjs +1 -1
  382. package/dist/kongponents230.cjs +1 -1
  383. package/dist/kongponents231.cjs +1 -1
  384. package/dist/kongponents232.cjs +1 -1
  385. package/dist/kongponents233.cjs +1 -1
  386. package/dist/kongponents234.cjs +1 -1
  387. package/dist/kongponents235.cjs +1 -1
  388. package/dist/kongponents236.cjs +1 -1
  389. package/dist/kongponents237.cjs +1 -1
  390. package/dist/kongponents238.cjs +1 -1
  391. package/dist/kongponents24.cjs +1 -1
  392. package/dist/kongponents240.cjs +6 -1
  393. package/dist/kongponents241.cjs +1 -1
  394. package/dist/kongponents242.cjs +1 -1
  395. package/dist/kongponents243.cjs +1 -1
  396. package/dist/{kongponents248.cjs → kongponents244.cjs} +1 -1
  397. package/dist/kongponents245.cjs +1 -1
  398. package/dist/kongponents247.cjs +1 -1
  399. package/dist/kongponents249.cjs +1 -1
  400. package/dist/kongponents251.cjs +1 -1
  401. package/dist/kongponents253.cjs +1 -0
  402. package/dist/kongponents255.cjs +1 -1
  403. package/dist/kongponents257.cjs +1 -1
  404. package/dist/kongponents259.cjs +1 -1
  405. package/dist/kongponents26.cjs +1 -1
  406. package/dist/kongponents261.cjs +1 -1
  407. package/dist/kongponents263.cjs +1 -1
  408. package/dist/kongponents264.cjs +1 -0
  409. package/dist/kongponents265.cjs +1 -1
  410. package/dist/kongponents266.cjs +1 -0
  411. package/dist/kongponents267.cjs +1 -1
  412. package/dist/kongponents268.cjs +1 -0
  413. package/dist/kongponents269.cjs +1 -1
  414. package/dist/{kongponents322.cjs → kongponents270.cjs} +1 -1
  415. package/dist/kongponents271.cjs +1 -1
  416. package/dist/kongponents272.cjs +1 -0
  417. package/dist/kongponents273.cjs +1 -1
  418. package/dist/kongponents274.cjs +1 -1
  419. package/dist/kongponents275.cjs +1 -1
  420. package/dist/kongponents276.cjs +1 -1
  421. package/dist/kongponents277.cjs +1 -1
  422. package/dist/kongponents278.cjs +1 -1
  423. package/dist/kongponents279.cjs +1 -0
  424. package/dist/kongponents280.cjs +1 -1
  425. package/dist/kongponents281.cjs +1 -1
  426. package/dist/kongponents282.cjs +1 -1
  427. package/dist/kongponents283.cjs +1 -1
  428. package/dist/kongponents284.cjs +1 -1
  429. package/dist/kongponents285.cjs +1 -1
  430. package/dist/kongponents286.cjs +1 -1
  431. package/dist/kongponents287.cjs +1 -1
  432. package/dist/kongponents288.cjs +1 -1
  433. package/dist/kongponents289.cjs +1 -1
  434. package/dist/kongponents290.cjs +1 -1
  435. package/dist/kongponents291.cjs +1 -1
  436. package/dist/kongponents292.cjs +1 -1
  437. package/dist/kongponents293.cjs +1 -1
  438. package/dist/kongponents294.cjs +1 -1
  439. package/dist/kongponents295.cjs +1 -1
  440. package/dist/kongponents296.cjs +1 -1
  441. package/dist/kongponents297.cjs +1 -1
  442. package/dist/kongponents298.cjs +1 -1
  443. package/dist/kongponents299.cjs +1 -1
  444. package/dist/kongponents300.cjs +1 -1
  445. package/dist/kongponents301.cjs +1 -1
  446. package/dist/kongponents302.cjs +1 -1
  447. package/dist/kongponents303.cjs +1 -1
  448. package/dist/kongponents304.cjs +1 -1
  449. package/dist/kongponents305.cjs +1 -1
  450. package/dist/kongponents306.cjs +1 -1
  451. package/dist/kongponents307.cjs +1 -1
  452. package/dist/kongponents308.cjs +1 -1
  453. package/dist/kongponents309.cjs +1 -1
  454. package/dist/kongponents310.cjs +1 -1
  455. package/dist/kongponents311.cjs +1 -1
  456. package/dist/kongponents312.cjs +1 -1
  457. package/dist/kongponents313.cjs +1 -1
  458. package/dist/kongponents314.cjs +1 -1
  459. package/dist/kongponents315.cjs +1 -1
  460. package/dist/kongponents316.cjs +1 -1
  461. package/dist/kongponents317.cjs +4 -1
  462. package/dist/kongponents318.cjs +1 -1
  463. package/dist/kongponents320.cjs +1 -1
  464. package/dist/kongponents323.cjs +1 -1
  465. package/dist/kongponents324.cjs +1 -1
  466. package/dist/kongponents325.cjs +1 -1
  467. package/dist/kongponents326.cjs +1 -1
  468. package/dist/kongponents327.cjs +1 -1
  469. package/dist/kongponents328.cjs +1 -1
  470. package/dist/kongponents329.cjs +1 -0
  471. package/dist/kongponents330.cjs +1 -1
  472. package/dist/kongponents331.cjs +1 -0
  473. package/dist/kongponents332.cjs +1 -1
  474. package/dist/kongponents333.cjs +1 -1
  475. package/dist/kongponents334.cjs +1 -1
  476. package/dist/kongponents335.cjs +1 -1
  477. package/dist/kongponents336.cjs +1 -1
  478. package/dist/kongponents337.cjs +1 -1
  479. package/dist/kongponents338.cjs +1 -1
  480. package/dist/kongponents339.cjs +1 -1
  481. package/dist/kongponents340.cjs +1 -1
  482. package/dist/kongponents341.cjs +1 -1
  483. package/dist/kongponents342.cjs +1 -1
  484. package/dist/kongponents343.cjs +1 -1
  485. package/dist/kongponents344.cjs +1 -1
  486. package/dist/kongponents345.cjs +1 -1
  487. package/dist/kongponents346.cjs +1 -1
  488. package/dist/kongponents347.cjs +1 -1
  489. package/dist/kongponents348.cjs +1 -1
  490. package/dist/kongponents349.cjs +1 -1
  491. package/dist/kongponents350.cjs +1 -1
  492. package/dist/kongponents352.cjs +1 -1
  493. package/dist/kongponents354.cjs +1 -1
  494. package/dist/kongponents356.cjs +1 -1
  495. package/dist/kongponents357.cjs +1 -1
  496. package/dist/kongponents358.cjs +1 -1
  497. package/dist/kongponents359.cjs +1 -4
  498. package/dist/kongponents360.cjs +1 -1
  499. package/dist/kongponents362.cjs +1 -1
  500. package/dist/kongponents363.cjs +1 -1
  501. package/dist/kongponents364.cjs +1 -1
  502. package/dist/kongponents365.cjs +1 -1
  503. package/dist/kongponents366.cjs +1 -1
  504. package/dist/kongponents367.cjs +1 -1
  505. package/dist/kongponents368.cjs +1 -1
  506. package/dist/kongponents369.cjs +1 -1
  507. package/dist/kongponents370.cjs +1 -1
  508. package/dist/kongponents371.cjs +1 -1
  509. package/dist/kongponents372.cjs +1 -1
  510. package/dist/kongponents373.cjs +1 -1
  511. package/dist/kongponents374.cjs +1 -1
  512. package/dist/kongponents375.cjs +1 -1
  513. package/dist/kongponents376.cjs +1 -1
  514. package/dist/kongponents377.cjs +1 -1
  515. package/dist/kongponents378.cjs +1 -1
  516. package/dist/kongponents379.cjs +1 -1
  517. package/dist/kongponents380.cjs +1 -1
  518. package/dist/kongponents381.cjs +1 -1
  519. package/dist/kongponents382.cjs +1 -1
  520. package/dist/kongponents383.cjs +1 -1
  521. package/dist/kongponents384.cjs +1 -1
  522. package/dist/kongponents385.cjs +1 -1
  523. package/dist/kongponents386.cjs +1 -1
  524. package/dist/kongponents387.cjs +1 -1
  525. package/dist/kongponents388.cjs +1 -1
  526. package/dist/kongponents389.cjs +1 -1
  527. package/dist/kongponents390.cjs +1 -1
  528. package/dist/kongponents391.cjs +1 -1
  529. package/dist/kongponents392.cjs +1 -1
  530. package/dist/kongponents393.cjs +1 -1
  531. package/dist/kongponents394.cjs +1 -1
  532. package/dist/kongponents395.cjs +1 -1
  533. package/dist/kongponents396.cjs +1 -1
  534. package/dist/kongponents397.cjs +1 -1
  535. package/dist/kongponents398.cjs +1 -1
  536. package/dist/kongponents399.cjs +1 -1
  537. package/dist/kongponents400.cjs +1 -1
  538. package/dist/kongponents401.cjs +1 -1
  539. package/dist/kongponents402.cjs +1 -1
  540. package/dist/kongponents403.cjs +1 -1
  541. package/dist/kongponents404.cjs +1 -1
  542. package/dist/kongponents405.cjs +1 -1
  543. package/dist/kongponents406.cjs +1 -1
  544. package/dist/kongponents407.cjs +1 -1
  545. package/dist/kongponents408.cjs +1 -1
  546. package/dist/kongponents409.cjs +1 -1
  547. package/dist/kongponents410.cjs +1 -1
  548. package/dist/kongponents411.cjs +1 -1
  549. package/dist/kongponents412.cjs +1 -1
  550. package/dist/kongponents414.cjs +1 -10
  551. package/dist/kongponents415.cjs +1 -1
  552. package/dist/kongponents416.cjs +1 -1
  553. package/dist/kongponents417.cjs +1 -1
  554. package/dist/kongponents418.cjs +1 -1
  555. package/dist/kongponents419.cjs +1 -1
  556. package/dist/kongponents420.cjs +1 -1
  557. package/dist/kongponents421.cjs +1 -1
  558. package/dist/kongponents422.cjs +10 -1
  559. package/dist/kongponents423.cjs +1 -1
  560. package/dist/kongponents424.cjs +1 -1
  561. package/dist/kongponents450.cjs +1 -1
  562. package/dist/kongponents451.cjs +1 -1
  563. package/dist/kongponents456.cjs +1 -1
  564. package/dist/kongponents457.cjs +1 -1
  565. package/dist/kongponents458.cjs +1 -1
  566. package/dist/kongponents459.cjs +1 -1
  567. package/dist/kongponents463.cjs +1 -1
  568. package/dist/kongponents464.cjs +1 -1
  569. package/dist/kongponents466.cjs +1 -1
  570. package/dist/kongponents469.cjs +1 -1
  571. package/dist/kongponents470.cjs +1 -1
  572. package/dist/kongponents471.cjs +1 -1
  573. package/dist/kongponents472.cjs +1 -1
  574. package/dist/kongponents501.cjs +1 -1
  575. package/dist/kongponents502.cjs +1 -1
  576. package/dist/kongponents503.cjs +1 -1
  577. package/dist/kongponents504.cjs +1 -1
  578. package/dist/kongponents505.cjs +1 -1
  579. package/dist/kongponents506.cjs +1 -1
  580. package/dist/kongponents507.cjs +1 -1
  581. package/dist/kongponents53.cjs +1 -1
  582. package/dist/kongponents557.cjs +1 -1
  583. package/dist/kongponents59.cjs +1 -1
  584. package/dist/kongponents597.cjs +1 -1
  585. package/dist/kongponents599.cjs +1 -1
  586. package/dist/kongponents600.cjs +1 -1
  587. package/dist/kongponents72.cjs +1 -1
  588. package/dist/kongponents75.cjs +1 -1
  589. package/dist/kongponents77.cjs +1 -1
  590. package/dist/kongponents83.cjs +1 -1
  591. package/dist/kongponents87.cjs +1 -1
  592. package/dist/kongponents89.cjs +1 -1
  593. package/dist/kongponents94.cjs +1 -1
  594. package/dist/kongponents96.cjs +1 -1
  595. package/dist/kongponents99.cjs +1 -1
  596. package/dist/types/types/multi-select.d.ts +16 -2
  597. package/dist/types/types/select.d.ts +17 -3
  598. package/package.json +30 -67
  599. package/dist/kongponents.es199.js +0 -26
  600. package/dist/kongponents.es252.js +0 -186
  601. package/dist/kongponents.es254.js +0 -614
  602. package/dist/kongponents.es319.js +0 -9
  603. package/dist/kongponents.es321.js +0 -8
  604. package/dist/kongponents.es322.js +0 -9
  605. package/dist/kongponents.es351.js +0 -113
  606. package/dist/kongponents.es353.js +0 -7
  607. package/dist/kongponents.es355.js +0 -7
  608. package/dist/kongponents.es361.js +0 -5776
  609. package/dist/kongponents199.cjs +0 -1
  610. package/dist/kongponents252.cjs +0 -1
  611. package/dist/kongponents254.cjs +0 -6
  612. package/dist/kongponents319.cjs +0 -1
  613. package/dist/kongponents321.cjs +0 -1
  614. package/dist/kongponents351.cjs +0 -1
  615. package/dist/kongponents353.cjs +0 -1
  616. package/dist/kongponents355.cjs +0 -1
  617. package/dist/kongponents361.cjs +0 -1
@@ -1,25 +1,614 @@
1
- import { watch as n, getCurrentScope as r, onScopeDispose as i } from "vue";
2
- function s(t, e) {
3
- return r() ? (i(t, e), !0) : !1;
1
+ import { tabbable as ie, focusable as oe, isTabbable as P, getTabIndex as I, isFocusable as H } from "./kongponents.es317.js";
2
+ /*!
3
+ * focus-trap 7.8.0
4
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
5
+ */
6
+ function M(n, a) {
7
+ (a == null || a > n.length) && (a = n.length);
8
+ for (var i = 0, u = Array(a); i < a; i++) u[i] = n[i];
9
+ return u;
4
10
  }
5
- const f = typeof window < "u" && typeof document < "u";
6
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7
- const c = Object.prototype.toString, u = (t) => c.call(t) === "[object Object]", a = () => {
8
- };
9
- function d(t) {
10
- return Array.isArray(t) ? t : [t];
11
+ function ue(n) {
12
+ if (Array.isArray(n)) return M(n);
13
+ }
14
+ function X(n, a) {
15
+ var i = typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
16
+ if (!i) {
17
+ if (Array.isArray(n) || (i = te(n)) || a) {
18
+ i && (n = i);
19
+ var u = 0, y = function() {
20
+ };
21
+ return {
22
+ s: y,
23
+ n: function() {
24
+ return u >= n.length ? {
25
+ done: !0
26
+ } : {
27
+ done: !1,
28
+ value: n[u++]
29
+ };
30
+ },
31
+ e: function(h) {
32
+ throw h;
33
+ },
34
+ f: y
35
+ };
36
+ }
37
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
38
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
39
+ }
40
+ var d, r = !0, m = !1;
41
+ return {
42
+ s: function() {
43
+ i = i.call(n);
44
+ },
45
+ n: function() {
46
+ var h = i.next();
47
+ return r = h.done, h;
48
+ },
49
+ e: function(h) {
50
+ m = !0, d = h;
51
+ },
52
+ f: function() {
53
+ try {
54
+ r || i.return == null || i.return();
55
+ } finally {
56
+ if (m) throw d;
57
+ }
58
+ }
59
+ };
60
+ }
61
+ function se(n, a, i) {
62
+ return (a = ve(a)) in n ? Object.defineProperty(n, a, {
63
+ value: i,
64
+ enumerable: !0,
65
+ configurable: !0,
66
+ writable: !0
67
+ }) : n[a] = i, n;
68
+ }
69
+ function ce(n) {
70
+ if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
71
+ }
72
+ function le() {
73
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
74
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
75
+ }
76
+ function Z(n, a) {
77
+ var i = Object.keys(n);
78
+ if (Object.getOwnPropertySymbols) {
79
+ var u = Object.getOwnPropertySymbols(n);
80
+ a && (u = u.filter(function(y) {
81
+ return Object.getOwnPropertyDescriptor(n, y).enumerable;
82
+ })), i.push.apply(i, u);
83
+ }
84
+ return i;
11
85
  }
12
- function l(t, e, o) {
13
- return n(t, e, {
14
- ...o,
15
- immediate: !0
16
- });
86
+ function U(n) {
87
+ for (var a = 1; a < arguments.length; a++) {
88
+ var i = arguments[a] != null ? arguments[a] : {};
89
+ a % 2 ? Z(Object(i), !0).forEach(function(u) {
90
+ se(n, u, i[u]);
91
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(i)) : Z(Object(i)).forEach(function(u) {
92
+ Object.defineProperty(n, u, Object.getOwnPropertyDescriptor(i, u));
93
+ });
94
+ }
95
+ return n;
17
96
  }
97
+ function de(n) {
98
+ return ue(n) || ce(n) || te(n) || le();
99
+ }
100
+ function fe(n, a) {
101
+ if (typeof n != "object" || !n) return n;
102
+ var i = n[Symbol.toPrimitive];
103
+ if (i !== void 0) {
104
+ var u = i.call(n, a);
105
+ if (typeof u != "object") return u;
106
+ throw new TypeError("@@toPrimitive must return a primitive value.");
107
+ }
108
+ return (a === "string" ? String : Number)(n);
109
+ }
110
+ function ve(n) {
111
+ var a = fe(n, "string");
112
+ return typeof a == "symbol" ? a : a + "";
113
+ }
114
+ function te(n, a) {
115
+ if (n) {
116
+ if (typeof n == "string") return M(n, a);
117
+ var i = {}.toString.call(n).slice(8, -1);
118
+ return i === "Object" && n.constructor && (i = n.constructor.name), i === "Map" || i === "Set" ? Array.from(n) : i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? M(n, a) : void 0;
119
+ }
120
+ }
121
+ var N = {
122
+ // Returns the trap from the top of the stack.
123
+ getActiveTrap: function(a) {
124
+ return (a == null ? void 0 : a.length) > 0 ? a[a.length - 1] : null;
125
+ },
126
+ // Pauses the currently active trap, then adds a new trap to the stack.
127
+ activateTrap: function(a, i) {
128
+ var u = N.getActiveTrap(a);
129
+ i !== u && N.pauseTrap(a);
130
+ var y = a.indexOf(i);
131
+ y === -1 || a.splice(y, 1), a.push(i);
132
+ },
133
+ // Removes the trap from the top of the stack, then unpauses the next trap down.
134
+ deactivateTrap: function(a, i) {
135
+ var u = a.indexOf(i);
136
+ u !== -1 && a.splice(u, 1), N.unpauseTrap(a);
137
+ },
138
+ // Pauses the trap at the top of the stack.
139
+ pauseTrap: function(a) {
140
+ var i = N.getActiveTrap(a);
141
+ i == null || i._setPausedState(!0);
142
+ },
143
+ // Unpauses the trap at the top of the stack.
144
+ unpauseTrap: function(a) {
145
+ var i = N.getActiveTrap(a);
146
+ i && !i._isManuallyPaused() && i._setPausedState(!1);
147
+ }
148
+ }, be = function(a) {
149
+ return a.tagName && a.tagName.toLowerCase() === "input" && typeof a.select == "function";
150
+ }, pe = function(a) {
151
+ return (a == null ? void 0 : a.key) === "Escape" || (a == null ? void 0 : a.key) === "Esc" || (a == null ? void 0 : a.keyCode) === 27;
152
+ }, K = function(a) {
153
+ return (a == null ? void 0 : a.key) === "Tab" || (a == null ? void 0 : a.keyCode) === 9;
154
+ }, ye = function(a) {
155
+ return K(a) && !a.shiftKey;
156
+ }, me = function(a) {
157
+ return K(a) && a.shiftKey;
158
+ }, ee = function(a) {
159
+ return setTimeout(a, 0);
160
+ }, j = function(a) {
161
+ for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), y = 1; y < i; y++)
162
+ u[y - 1] = arguments[y];
163
+ return typeof a == "function" ? a.apply(void 0, u) : a;
164
+ }, C = function(a) {
165
+ return a.target.shadowRoot && typeof a.composedPath == "function" ? a.composedPath()[0] : a.target;
166
+ }, he = [], we = function(a, i) {
167
+ var u = (i == null ? void 0 : i.document) || document, y = (i == null ? void 0 : i.trapStack) || he, d = U({
168
+ returnFocusOnDeactivate: !0,
169
+ escapeDeactivates: !0,
170
+ delayInitialFocus: !0,
171
+ isolateSubtrees: !1,
172
+ isKeyForward: ye,
173
+ isKeyBackward: me
174
+ }, i), r = {
175
+ // containers given to createFocusTrap()
176
+ /** @type {Array<HTMLElement>} */
177
+ containers: [],
178
+ // list of objects identifying tabbable nodes in `containers` in the trap
179
+ // NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap
180
+ // is active, but the trap should never get to a state where there isn't at least one group
181
+ // with at least one tabbable node in it (that would lead to an error condition that would
182
+ // result in an error being thrown)
183
+ /** @type {Array<{
184
+ * container: HTMLElement,
185
+ * tabbableNodes: Array<HTMLElement>, // empty if none
186
+ * focusableNodes: Array<HTMLElement>, // empty if none
187
+ * posTabIndexesFound: boolean,
188
+ * firstTabbableNode: HTMLElement|undefined,
189
+ * lastTabbableNode: HTMLElement|undefined,
190
+ * firstDomTabbableNode: HTMLElement|undefined,
191
+ * lastDomTabbableNode: HTMLElement|undefined,
192
+ * nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
193
+ * }>}
194
+ */
195
+ containerGroups: [],
196
+ // same order/length as `containers` list
197
+ // references to objects in `containerGroups`, but only those that actually have
198
+ // tabbable nodes in them
199
+ // NOTE: same order as `containers` and `containerGroups`, but __not necessarily__
200
+ // the same length
201
+ tabbableGroups: [],
202
+ // references to nodes that are siblings to the ancestors of this trap's containers.
203
+ /** @type {Set<HTMLElement>} */
204
+ adjacentElements: /* @__PURE__ */ new Set(),
205
+ // references to nodes that were inert or aria-hidden before the trap was activated.
206
+ /** @type {Set<HTMLElement>} */
207
+ alreadySilent: /* @__PURE__ */ new Set(),
208
+ nodeFocusedBeforeActivation: null,
209
+ mostRecentlyFocusedNode: null,
210
+ active: !1,
211
+ paused: !1,
212
+ manuallyPaused: !1,
213
+ // timer ID for when delayInitialFocus is true and initial focus in this trap
214
+ // has been delayed during activation
215
+ delayInitialFocusTimer: void 0,
216
+ // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
217
+ recentNavEvent: void 0
218
+ }, m, h = function(e, t, o) {
219
+ return e && e[t] !== void 0 ? e[t] : d[o || t];
220
+ }, S = function(e, t) {
221
+ var o = typeof (t == null ? void 0 : t.composedPath) == "function" ? t.composedPath() : void 0;
222
+ return r.containerGroups.findIndex(function(l) {
223
+ var c = l.container, f = l.tabbableNodes;
224
+ return c.contains(e) || // fall back to explicit tabbable search which will take into consideration any
225
+ // web components if the `tabbableOptions.getShadowRoot` option was used for
226
+ // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
227
+ // look inside web components even if open)
228
+ (o == null ? void 0 : o.includes(c)) || f.find(function(s) {
229
+ return s === e;
230
+ });
231
+ });
232
+ }, A = function(e) {
233
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = t.hasFallback, l = o === void 0 ? !1 : o, c = t.params, f = c === void 0 ? [] : c, s = d[e];
234
+ if (typeof s == "function" && (s = s.apply(void 0, de(f))), s === !0 && (s = void 0), !s) {
235
+ if (s === void 0 || s === !1)
236
+ return s;
237
+ throw new Error("`".concat(e, "` was specified but was not a node, or did not return a node"));
238
+ }
239
+ var v = s;
240
+ if (typeof s == "string") {
241
+ try {
242
+ v = u.querySelector(s);
243
+ } catch (b) {
244
+ throw new Error("`".concat(e, '` appears to be an invalid selector; error="').concat(b.message, '"'));
245
+ }
246
+ if (!v && !l)
247
+ throw new Error("`".concat(e, "` as selector refers to no known node"));
248
+ }
249
+ return v;
250
+ }, D = function() {
251
+ var e = A("initialFocus", {
252
+ hasFallback: !0
253
+ });
254
+ if (e === !1)
255
+ return !1;
256
+ if (e === void 0 || e && !H(e, d.tabbableOptions))
257
+ if (S(u.activeElement) >= 0)
258
+ e = u.activeElement;
259
+ else {
260
+ var t = r.tabbableGroups[0], o = t && t.firstTabbableNode;
261
+ e = o || A("fallbackFocus");
262
+ }
263
+ else e === null && (e = A("fallbackFocus"));
264
+ if (!e)
265
+ throw new Error("Your focus-trap needs to have at least one focusable element");
266
+ return e;
267
+ }, O = function() {
268
+ if (r.containerGroups = r.containers.map(function(e) {
269
+ var t = ie(e, d.tabbableOptions), o = oe(e, d.tabbableOptions), l = t.length > 0 ? t[0] : void 0, c = t.length > 0 ? t[t.length - 1] : void 0, f = o.find(function(b) {
270
+ return P(b);
271
+ }), s = o.slice().reverse().find(function(b) {
272
+ return P(b);
273
+ }), v = !!t.find(function(b) {
274
+ return I(b) > 0;
275
+ });
276
+ return {
277
+ container: e,
278
+ tabbableNodes: t,
279
+ focusableNodes: o,
280
+ /** True if at least one node with positive `tabindex` was found in this container. */
281
+ posTabIndexesFound: v,
282
+ /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
283
+ firstTabbableNode: l,
284
+ /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
285
+ lastTabbableNode: c,
286
+ // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
287
+ // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
288
+ // because that API doesn't work with Shadow DOM as well as it should (@see
289
+ // https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,
290
+ // to address an edge case related to positive tabindex support, this seems like a much easier,
291
+ // "close enough most of the time" alternative for positive tabindexes which should generally
292
+ // be avoided anyway...
293
+ /** First tabbable node in container, __DOM__ order; `undefined` if none. */
294
+ firstDomTabbableNode: f,
295
+ /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
296
+ lastDomTabbableNode: s,
297
+ /**
298
+ * Finds the __tabbable__ node that follows the given node in the specified direction,
299
+ * in this container, if any.
300
+ * @param {HTMLElement} node
301
+ * @param {boolean} [forward] True if going in forward tab order; false if going
302
+ * in reverse.
303
+ * @returns {HTMLElement|undefined} The next tabbable node, if any.
304
+ */
305
+ nextTabbableNode: function(g) {
306
+ var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, w = t.indexOf(g);
307
+ return w < 0 ? T ? o.slice(o.indexOf(g) + 1).find(function(k) {
308
+ return P(k);
309
+ }) : o.slice(0, o.indexOf(g)).reverse().find(function(k) {
310
+ return P(k);
311
+ }) : t[w + (T ? 1 : -1)];
312
+ }
313
+ };
314
+ }), r.tabbableGroups = r.containerGroups.filter(function(e) {
315
+ return e.tabbableNodes.length > 0;
316
+ }), r.tabbableGroups.length <= 0 && !A("fallbackFocus"))
317
+ throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
318
+ if (r.containerGroups.find(function(e) {
319
+ return e.posTabIndexesFound;
320
+ }) && r.containerGroups.length > 1)
321
+ throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
322
+ }, B = function(e) {
323
+ var t = e.activeElement;
324
+ if (t)
325
+ return t.shadowRoot && t.shadowRoot.activeElement !== null ? B(t.shadowRoot) : t;
326
+ }, F = function(e) {
327
+ if (e !== !1 && e !== B(document)) {
328
+ if (!e || !e.focus) {
329
+ F(D());
330
+ return;
331
+ }
332
+ e.focus({
333
+ preventScroll: !!d.preventScroll
334
+ }), r.mostRecentlyFocusedNode = e, be(e) && e.select();
335
+ }
336
+ }, q = function(e) {
337
+ var t = A("setReturnFocus", {
338
+ params: [e]
339
+ });
340
+ return t || (t === !1 ? !1 : e);
341
+ }, Y = function(e) {
342
+ var t = e.target, o = e.event, l = e.isBackward, c = l === void 0 ? !1 : l;
343
+ t = t || C(o), O();
344
+ var f = null;
345
+ if (r.tabbableGroups.length > 0) {
346
+ var s = S(t, o), v = s >= 0 ? r.containerGroups[s] : void 0;
347
+ if (s < 0)
348
+ c ? f = r.tabbableGroups[r.tabbableGroups.length - 1].lastTabbableNode : f = r.tabbableGroups[0].firstTabbableNode;
349
+ else if (c) {
350
+ var b = r.tabbableGroups.findIndex(function(x) {
351
+ var G = x.firstTabbableNode;
352
+ return t === G;
353
+ });
354
+ if (b < 0 && (v.container === t || H(t, d.tabbableOptions) && !P(t, d.tabbableOptions) && !v.nextTabbableNode(t, !1)) && (b = s), b >= 0) {
355
+ var g = b === 0 ? r.tabbableGroups.length - 1 : b - 1, T = r.tabbableGroups[g];
356
+ f = I(t) >= 0 ? T.lastTabbableNode : T.lastDomTabbableNode;
357
+ } else K(o) || (f = v.nextTabbableNode(t, !1));
358
+ } else {
359
+ var w = r.tabbableGroups.findIndex(function(x) {
360
+ var G = x.lastTabbableNode;
361
+ return t === G;
362
+ });
363
+ if (w < 0 && (v.container === t || H(t, d.tabbableOptions) && !P(t, d.tabbableOptions) && !v.nextTabbableNode(t)) && (w = s), w >= 0) {
364
+ var k = w === r.tabbableGroups.length - 1 ? 0 : w + 1, E = r.tabbableGroups[k];
365
+ f = I(t) >= 0 ? E.firstTabbableNode : E.firstDomTabbableNode;
366
+ } else K(o) || (f = v.nextTabbableNode(t));
367
+ }
368
+ } else
369
+ f = A("fallbackFocus");
370
+ return f;
371
+ }, L = function(e) {
372
+ var t = C(e);
373
+ if (!(S(t, e) >= 0)) {
374
+ if (j(d.clickOutsideDeactivates, e)) {
375
+ m.deactivate({
376
+ // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
377
+ // which will result in the outside click setting focus to the node
378
+ // that was clicked (and if not focusable, to "nothing"); by setting
379
+ // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
380
+ // on activation (or the configured `setReturnFocus` node), whether the
381
+ // outside click was on a focusable node or not
382
+ returnFocus: d.returnFocusOnDeactivate
383
+ });
384
+ return;
385
+ }
386
+ j(d.allowOutsideClick, e) || e.preventDefault();
387
+ }
388
+ }, V = function(e) {
389
+ var t = C(e), o = S(t, e) >= 0;
390
+ if (o || t instanceof Document)
391
+ o && (r.mostRecentlyFocusedNode = t);
392
+ else {
393
+ e.stopImmediatePropagation();
394
+ var l, c = !0;
395
+ if (r.mostRecentlyFocusedNode)
396
+ if (I(r.mostRecentlyFocusedNode) > 0) {
397
+ var f = S(r.mostRecentlyFocusedNode), s = r.containerGroups[f].tabbableNodes;
398
+ if (s.length > 0) {
399
+ var v = s.findIndex(function(b) {
400
+ return b === r.mostRecentlyFocusedNode;
401
+ });
402
+ v >= 0 && (d.isKeyForward(r.recentNavEvent) ? v + 1 < s.length && (l = s[v + 1], c = !1) : v - 1 >= 0 && (l = s[v - 1], c = !1));
403
+ }
404
+ } else
405
+ r.containerGroups.some(function(b) {
406
+ return b.tabbableNodes.some(function(g) {
407
+ return I(g) > 0;
408
+ });
409
+ }) || (c = !1);
410
+ else
411
+ c = !1;
412
+ c && (l = Y({
413
+ // move FROM the MRU node, not event-related node (which will be the node that is
414
+ // outside the trap causing the focus escape we're trying to fix)
415
+ target: r.mostRecentlyFocusedNode,
416
+ isBackward: d.isKeyBackward(r.recentNavEvent)
417
+ })), F(l || r.mostRecentlyFocusedNode || D());
418
+ }
419
+ r.recentNavEvent = void 0;
420
+ }, ae = function(e) {
421
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
422
+ r.recentNavEvent = e;
423
+ var o = Y({
424
+ event: e,
425
+ isBackward: t
426
+ });
427
+ o && (K(e) && e.preventDefault(), F(o));
428
+ }, W = function(e) {
429
+ (d.isKeyForward(e) || d.isKeyBackward(e)) && ae(e, d.isKeyBackward(e));
430
+ }, $ = function(e) {
431
+ pe(e) && j(d.escapeDeactivates, e) !== !1 && (e.preventDefault(), m.deactivate());
432
+ }, z = function(e) {
433
+ var t = C(e);
434
+ S(t, e) >= 0 || j(d.clickOutsideDeactivates, e) || j(d.allowOutsideClick, e) || (e.preventDefault(), e.stopImmediatePropagation());
435
+ }, J = function() {
436
+ if (r.active)
437
+ return N.activateTrap(y, m), r.delayInitialFocusTimer = d.delayInitialFocus ? ee(function() {
438
+ F(D());
439
+ }) : F(D()), u.addEventListener("focusin", V, !0), u.addEventListener("mousedown", L, {
440
+ capture: !0,
441
+ passive: !1
442
+ }), u.addEventListener("touchstart", L, {
443
+ capture: !0,
444
+ passive: !1
445
+ }), u.addEventListener("click", z, {
446
+ capture: !0,
447
+ passive: !1
448
+ }), u.addEventListener("keydown", W, {
449
+ capture: !0,
450
+ passive: !1
451
+ }), u.addEventListener("keydown", $), m;
452
+ }, re = function(e) {
453
+ r.active && !r.paused && m._setSubtreeIsolation(!1), r.adjacentElements.clear(), r.alreadySilent.clear();
454
+ var t = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), l = X(e), c;
455
+ try {
456
+ for (l.s(); !(c = l.n()).done; ) {
457
+ var f = c.value;
458
+ t.add(f);
459
+ for (var s = typeof ShadowRoot < "u" && f.getRootNode() instanceof ShadowRoot, v = f; v; ) {
460
+ t.add(v);
461
+ var b = v.parentElement, g = [];
462
+ b ? g = b.children : !b && s && (g = v.getRootNode().children, b = v.getRootNode().host, s = typeof ShadowRoot < "u" && b.getRootNode() instanceof ShadowRoot);
463
+ var T = X(g), w;
464
+ try {
465
+ for (T.s(); !(w = T.n()).done; ) {
466
+ var k = w.value;
467
+ o.add(k);
468
+ }
469
+ } catch (E) {
470
+ T.e(E);
471
+ } finally {
472
+ T.f();
473
+ }
474
+ v = b;
475
+ }
476
+ }
477
+ } catch (E) {
478
+ l.e(E);
479
+ } finally {
480
+ l.f();
481
+ }
482
+ t.forEach(function(E) {
483
+ o.delete(E);
484
+ }), r.adjacentElements = o;
485
+ }, Q = function() {
486
+ if (r.active)
487
+ return u.removeEventListener("focusin", V, !0), u.removeEventListener("mousedown", L, !0), u.removeEventListener("touchstart", L, !0), u.removeEventListener("click", z, !0), u.removeEventListener("keydown", W, !0), u.removeEventListener("keydown", $), m;
488
+ }, ne = function(e) {
489
+ var t = e.some(function(o) {
490
+ var l = Array.from(o.removedNodes);
491
+ return l.some(function(c) {
492
+ return c === r.mostRecentlyFocusedNode;
493
+ });
494
+ });
495
+ t && F(D());
496
+ }, _ = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(ne) : void 0, R = function() {
497
+ _ && (_.disconnect(), r.active && !r.paused && r.containers.map(function(e) {
498
+ _.observe(e, {
499
+ subtree: !0,
500
+ childList: !0
501
+ });
502
+ }));
503
+ };
504
+ return m = {
505
+ get active() {
506
+ return r.active;
507
+ },
508
+ get paused() {
509
+ return r.paused;
510
+ },
511
+ activate: function(e) {
512
+ if (r.active)
513
+ return this;
514
+ var t = h(e, "onActivate"), o = h(e, "onPostActivate"), l = h(e, "checkCanFocusTrap"), c = N.getActiveTrap(y), f = !1;
515
+ if (c && !c.paused) {
516
+ var s;
517
+ (s = c._setSubtreeIsolation) === null || s === void 0 || s.call(c, !1), f = !0;
518
+ }
519
+ try {
520
+ l || O(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = B(u), t == null || t();
521
+ var v = function() {
522
+ l && O(), J(), R(), d.isolateSubtrees && m._setSubtreeIsolation(!0), o == null || o();
523
+ };
524
+ if (l)
525
+ return l(r.containers.concat()).then(v, v), this;
526
+ v();
527
+ } catch (g) {
528
+ if (c === N.getActiveTrap(y) && f) {
529
+ var b;
530
+ (b = c._setSubtreeIsolation) === null || b === void 0 || b.call(c, !0);
531
+ }
532
+ throw g;
533
+ }
534
+ return this;
535
+ },
536
+ deactivate: function(e) {
537
+ if (!r.active)
538
+ return this;
539
+ var t = U({
540
+ onDeactivate: d.onDeactivate,
541
+ onPostDeactivate: d.onPostDeactivate,
542
+ checkCanReturnFocus: d.checkCanReturnFocus
543
+ }, e);
544
+ clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, r.paused || m._setSubtreeIsolation(!1), r.alreadySilent.clear(), Q(), r.active = !1, r.paused = !1, R(), N.deactivateTrap(y, m);
545
+ var o = h(t, "onDeactivate"), l = h(t, "onPostDeactivate"), c = h(t, "checkCanReturnFocus"), f = h(t, "returnFocus", "returnFocusOnDeactivate");
546
+ o == null || o();
547
+ var s = function() {
548
+ ee(function() {
549
+ f && F(q(r.nodeFocusedBeforeActivation)), l == null || l();
550
+ });
551
+ };
552
+ return f && c ? (c(q(r.nodeFocusedBeforeActivation)).then(s, s), this) : (s(), this);
553
+ },
554
+ pause: function(e) {
555
+ return r.active ? (r.manuallyPaused = !0, this._setPausedState(!0, e)) : this;
556
+ },
557
+ unpause: function(e) {
558
+ return r.active ? (r.manuallyPaused = !1, y[y.length - 1] !== this ? this : this._setPausedState(!1, e)) : this;
559
+ },
560
+ updateContainerElements: function(e) {
561
+ var t = [].concat(e).filter(Boolean);
562
+ return r.containers = t.map(function(o) {
563
+ return typeof o == "string" ? u.querySelector(o) : o;
564
+ }), d.isolateSubtrees && re(r.containers), r.active && (O(), d.isolateSubtrees && !r.paused && m._setSubtreeIsolation(!0)), R(), this;
565
+ }
566
+ }, Object.defineProperties(m, {
567
+ _isManuallyPaused: {
568
+ value: function() {
569
+ return r.manuallyPaused;
570
+ }
571
+ },
572
+ _setPausedState: {
573
+ value: function(e, t) {
574
+ if (r.paused === e)
575
+ return this;
576
+ if (r.paused = e, e) {
577
+ var o = h(t, "onPause"), l = h(t, "onPostPause");
578
+ o == null || o(), Q(), R(), m._setSubtreeIsolation(!1), l == null || l();
579
+ } else {
580
+ var c = h(t, "onUnpause"), f = h(t, "onPostUnpause");
581
+ c == null || c(), m._setSubtreeIsolation(!0), O(), J(), R(), f == null || f();
582
+ }
583
+ return this;
584
+ }
585
+ },
586
+ _setSubtreeIsolation: {
587
+ value: function(e) {
588
+ d.isolateSubtrees && r.adjacentElements.forEach(function(t) {
589
+ var o;
590
+ if (e)
591
+ switch (d.isolateSubtrees) {
592
+ case "aria-hidden":
593
+ (t.ariaHidden === "true" || ((o = t.getAttribute("aria-hidden")) === null || o === void 0 ? void 0 : o.toLowerCase()) === "true") && r.alreadySilent.add(t), t.setAttribute("aria-hidden", "true");
594
+ break;
595
+ default:
596
+ (t.inert || t.hasAttribute("inert")) && r.alreadySilent.add(t), t.setAttribute("inert", !0);
597
+ break;
598
+ }
599
+ else if (!r.alreadySilent.has(t)) switch (d.isolateSubtrees) {
600
+ case "aria-hidden":
601
+ t.removeAttribute("aria-hidden");
602
+ break;
603
+ default:
604
+ t.removeAttribute("inert");
605
+ break;
606
+ }
607
+ });
608
+ }
609
+ }
610
+ }), m.updateContainerElements(a), m;
611
+ };
18
612
  export {
19
- f as isClient,
20
- u as isObject,
21
- a as noop,
22
- d as toArray,
23
- s as tryOnScopeDispose,
24
- l as watchImmediate
613
+ we as createFocusTrap
25
614
  };