@kong/kongponents 9.48.9-pr.3038.fc72bda.0 → 9.48.9-pr.3039.1150ee2.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 (645) 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 +10 -10
  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 +10 -10
  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.es163.js +53 -56
  24. package/dist/kongponents.es171.js +5 -119
  25. package/dist/kongponents.es172.js +17 -17
  26. package/dist/kongponents.es173.js +19 -19
  27. package/dist/kongponents.es174.js +18 -119
  28. package/dist/kongponents.es175.js +102 -113
  29. package/dist/kongponents.es176.js +20 -20
  30. package/dist/kongponents.es177.js +119 -18
  31. package/dist/kongponents.es178.js +119 -5
  32. package/dist/kongponents.es179.js +113 -102
  33. package/dist/kongponents.es180.js +34 -34
  34. package/dist/kongponents.es181.js +34 -34
  35. package/dist/kongponents.es182.js +5 -5
  36. package/dist/kongponents.es183.js +119 -5
  37. package/dist/kongponents.es184.js +119 -5
  38. package/dist/kongponents.es185.js +19 -19
  39. package/dist/kongponents.es186.js +19 -20
  40. package/dist/kongponents.es187.js +118 -23
  41. package/dist/kongponents.es188.js +115 -162
  42. package/dist/kongponents.es189.js +98 -313
  43. package/dist/kongponents.es190.js +162 -35
  44. package/dist/kongponents.es191.js +4 -97
  45. package/dist/kongponents.es192.js +7 -119
  46. package/dist/kongponents.es193.js +185 -115
  47. package/dist/kongponents.es194.js +5 -119
  48. package/dist/kongponents.es195.js +5 -119
  49. package/dist/kongponents.es196.js +5 -119
  50. package/dist/kongponents.es197.js +5 -119
  51. package/dist/kongponents.es198.js +5 -18
  52. package/dist/kongponents.es199.js +5 -52
  53. package/dist/kongponents.es200.js +36 -35
  54. package/dist/kongponents.es201.js +21 -21
  55. package/dist/kongponents.es202.js +113 -96
  56. package/dist/kongponents.es203.js +119 -5
  57. package/dist/kongponents.es204.js +4 -4
  58. package/dist/kongponents.es205.js +5 -119
  59. package/dist/kongponents.es206.js +18 -5
  60. package/dist/kongponents.es207.js +10 -119
  61. package/dist/kongponents.es208.js +313 -115
  62. package/dist/kongponents.es209.js +34 -109
  63. package/dist/kongponents.es21.js +8 -8
  64. package/dist/kongponents.es210.js +97 -16
  65. package/dist/kongponents.es211.js +116 -393
  66. package/dist/kongponents.es212.js +119 -5
  67. package/dist/kongponents.es213.js +119 -7
  68. package/dist/kongponents.es214.js +115 -185
  69. package/dist/kongponents.es215.js +12 -12
  70. package/dist/kongponents.es216.js +50 -117
  71. package/dist/kongponents.es217.js +119 -15
  72. package/dist/kongponents.es218.js +121 -0
  73. package/dist/kongponents.es219.js +5 -119
  74. package/dist/kongponents.es220.js +3 -3
  75. package/dist/kongponents.es221.js +23 -7
  76. package/dist/kongponents.es223.js +119 -5
  77. package/dist/kongponents.es224.js +5 -119
  78. package/dist/kongponents.es225.js +8 -119
  79. package/dist/kongponents.es226.js +60 -5
  80. package/dist/kongponents.es227.js +119 -5
  81. package/dist/kongponents.es228.js +3 -3
  82. package/dist/kongponents.es229.js +119 -5
  83. package/dist/kongponents.es230.js +119 -5
  84. package/dist/kongponents.es231.js +3 -3
  85. package/dist/kongponents.es232.js +5 -119
  86. package/dist/kongponents.es233.js +111 -116
  87. package/dist/kongponents.es234.js +13 -115
  88. package/dist/kongponents.es235.js +396 -5
  89. package/dist/kongponents.es236.js +119 -10
  90. package/dist/kongponents.es237.js +19 -19
  91. package/dist/kongponents.es238.js +15 -119
  92. package/dist/kongponents.es24.js +1 -1
  93. package/dist/kongponents.es240.js +1 -1
  94. package/dist/kongponents.es241.js +1 -1
  95. package/dist/kongponents.es242.js +52 -23
  96. package/dist/kongponents.es245.js +22 -43
  97. package/dist/kongponents.es247.js +48 -6
  98. package/dist/kongponents.es249.js +34 -2
  99. package/dist/kongponents.es251.js +20 -53
  100. package/dist/kongponents.es253.js +45 -2
  101. package/dist/kongponents.es255.js +36 -114
  102. package/dist/kongponents.es257.js +588 -87
  103. package/dist/kongponents.es258.js +25 -0
  104. package/dist/kongponents.es259.js +6 -41
  105. package/dist/kongponents.es26.js +4 -4
  106. package/dist/kongponents.es260.js +4 -0
  107. package/dist/kongponents.es261.js +114 -171
  108. package/dist/{kongponents.es254.js → kongponents.es262.js} +20 -20
  109. package/dist/{kongponents.es256.js → kongponents.es263.js} +1 -1
  110. package/dist/kongponents.es264.js +170 -46
  111. package/dist/kongponents.es266.js +64 -5
  112. package/dist/kongponents.es268.js +132 -18
  113. package/dist/kongponents.es269.js +2 -4
  114. package/dist/kongponents.es270.js +95 -5
  115. package/dist/kongponents.es272.js +45 -9
  116. package/dist/kongponents.es274.js +218 -4
  117. package/dist/kongponents.es275.js +4 -16
  118. package/dist/kongponents.es276.js +5 -4
  119. package/dist/kongponents.es277.js +20 -8
  120. package/dist/kongponents.es278.js +3 -6
  121. package/dist/kongponents.es279.js +4 -3
  122. package/dist/kongponents.es28.js +2 -2
  123. package/dist/kongponents.es280.js +6 -2
  124. package/dist/kongponents.es281.js +8 -5
  125. package/dist/kongponents.es282.js +5 -9
  126. package/dist/kongponents.es283.js +3 -4
  127. package/dist/kongponents.es284.js +17 -4
  128. package/dist/kongponents.es285.js +4 -3
  129. package/dist/kongponents.es286.js +8 -4
  130. package/dist/kongponents.es287.js +5 -6
  131. package/dist/kongponents.es288.js +3 -6
  132. package/dist/kongponents.es289.js +2 -5
  133. package/dist/kongponents.es290.js +5 -9
  134. package/dist/kongponents.es291.js +9 -5
  135. package/dist/kongponents.es292.js +5 -9
  136. package/dist/kongponents.es293.js +4 -7
  137. package/dist/kongponents.es294.js +3 -18
  138. package/dist/kongponents.es295.js +3 -11
  139. package/dist/kongponents.es296.js +7 -6
  140. package/dist/kongponents.es297.js +6 -12
  141. package/dist/kongponents.es298.js +5 -10
  142. package/dist/kongponents.es299.js +9 -5
  143. package/dist/kongponents.es300.js +5 -8
  144. package/dist/kongponents.es301.js +9 -16
  145. package/dist/kongponents.es302.js +6 -17
  146. package/dist/kongponents.es303.js +17 -5
  147. package/dist/kongponents.es304.js +10 -9
  148. package/dist/kongponents.es305.js +6 -6
  149. package/dist/kongponents.es306.js +12 -7
  150. package/dist/kongponents.es307.js +9 -5
  151. package/dist/kongponents.es308.js +5 -6
  152. package/dist/kongponents.es309.js +8 -9
  153. package/dist/kongponents.es310.js +14 -6
  154. package/dist/kongponents.es311.js +17 -3
  155. package/dist/kongponents.es312.js +5 -5
  156. package/dist/kongponents.es313.js +10 -15
  157. package/dist/kongponents.es314.js +6 -369
  158. package/dist/kongponents.es315.js +7 -129
  159. package/dist/kongponents.es316.js +6 -218
  160. package/dist/kongponents.es317.js +7 -24
  161. package/dist/kongponents.es318.js +12 -0
  162. package/dist/kongponents.es319.js +8 -48
  163. package/dist/kongponents.es320.js +6 -0
  164. package/dist/kongponents.es321.js +6 -34
  165. package/dist/kongponents.es322.js +18 -0
  166. package/dist/kongponents.es323.js +88 -20
  167. package/dist/kongponents.es325.js +36 -40
  168. package/dist/kongponents.es327.js +180 -37
  169. package/dist/kongponents.es329.js +52 -180
  170. package/dist/kongponents.es332.js +369 -63
  171. package/dist/kongponents.es333.js +132 -0
  172. package/dist/kongponents.es335.js +1 -1
  173. package/dist/kongponents.es336.js +2 -8
  174. package/dist/kongponents.es337.js +95 -6
  175. package/dist/kongponents.es339.js +6 -4
  176. package/dist/kongponents.es340.js +5 -9
  177. package/dist/kongponents.es341.js +9 -15
  178. package/dist/kongponents.es342.js +6 -3
  179. package/dist/kongponents.es343.js +9 -7
  180. package/dist/kongponents.es344.js +15 -3
  181. package/dist/kongponents.es345.js +3 -11
  182. package/dist/kongponents.es346.js +7 -7
  183. package/dist/kongponents.es347.js +3 -6
  184. package/dist/kongponents.es348.js +11 -2
  185. package/dist/kongponents.es349.js +7 -12
  186. package/dist/kongponents.es350.js +5 -4
  187. package/dist/kongponents.es351.js +2 -3
  188. package/dist/kongponents.es352.js +13 -26
  189. package/dist/kongponents.es353.js +4 -3
  190. package/dist/kongponents.es354.js +3 -4
  191. package/dist/kongponents.es355.js +26 -4
  192. package/dist/kongponents.es356.js +3 -3
  193. package/dist/kongponents.es357.js +4 -4
  194. package/dist/kongponents.es358.js +4 -15
  195. package/dist/kongponents.es359.js +4 -6
  196. package/dist/kongponents.es360.js +4 -30
  197. package/dist/kongponents.es361.js +12 -24
  198. package/dist/kongponents.es362.js +5 -15
  199. package/dist/kongponents.es363.js +28 -8
  200. package/dist/kongponents.es364.js +26 -4
  201. package/dist/kongponents.es365.js +15 -13
  202. package/dist/kongponents.es366.js +9 -8
  203. package/dist/kongponents.es367.js +4 -2
  204. package/dist/kongponents.es368.js +13 -5
  205. package/dist/kongponents.es369.js +8 -5
  206. package/dist/kongponents.es370.js +3 -8
  207. package/dist/kongponents.es371.js +3 -3
  208. package/dist/kongponents.es372.js +5 -10
  209. package/dist/kongponents.es373.js +7 -5
  210. package/dist/kongponents.es374.js +5 -4
  211. package/dist/kongponents.es375.js +10 -4
  212. package/dist/kongponents.es376.js +5 -5
  213. package/dist/kongponents.es377.js +5 -8
  214. package/dist/kongponents.es378.js +4 -6
  215. package/dist/kongponents.es379.js +6 -10
  216. package/dist/kongponents.es380.js +8 -7
  217. package/dist/kongponents.es381.js +6 -21
  218. package/dist/kongponents.es382.js +10 -7
  219. package/dist/kongponents.es383.js +6 -6
  220. package/dist/kongponents.es384.js +21 -6
  221. package/dist/kongponents.es385.js +6 -8
  222. package/dist/kongponents.es386.js +7 -2
  223. package/dist/kongponents.es387.js +7 -95
  224. package/dist/kongponents.es388.js +11 -0
  225. package/dist/kongponents.es395.js +7 -7
  226. package/dist/kongponents.es400.js +5 -5
  227. package/dist/kongponents.es407.js +1 -1
  228. package/dist/kongponents.es408.js +1 -1
  229. package/dist/kongponents.es412.js +1 -1
  230. package/dist/kongponents.es413.js +1 -1
  231. package/dist/kongponents.es414.js +2 -2
  232. package/dist/kongponents.es416.js +8 -5771
  233. package/dist/kongponents.es417.js +17 -25
  234. package/dist/kongponents.es418.js +5771 -8
  235. package/dist/kongponents.es419.js +25 -17
  236. package/dist/kongponents.es420.js +1 -1
  237. package/dist/kongponents.es426.js +2 -2
  238. package/dist/kongponents.es427.js +2 -2
  239. package/dist/kongponents.es428.js +2 -2
  240. package/dist/kongponents.es429.js +1 -1
  241. package/dist/kongponents.es433.js +1 -1
  242. package/dist/kongponents.es434.js +4 -4
  243. package/dist/kongponents.es436.js +1 -1
  244. package/dist/kongponents.es437.js +5 -5
  245. package/dist/kongponents.es438.js +1 -1
  246. package/dist/kongponents.es439.js +2 -11
  247. package/dist/kongponents.es440.js +8 -8
  248. package/dist/kongponents.es441.js +10 -12
  249. package/dist/kongponents.es442.js +12 -10
  250. package/dist/kongponents.es443.js +10 -18
  251. package/dist/kongponents.es444.js +18 -5
  252. package/dist/kongponents.es445.js +6 -55
  253. package/dist/kongponents.es446.js +55 -2
  254. package/dist/kongponents.es451.js +70 -63
  255. package/dist/kongponents.es452.js +2 -5
  256. package/dist/kongponents.es453.js +20 -69
  257. package/dist/kongponents.es454.js +22 -2
  258. package/dist/kongponents.es455.js +16 -18
  259. package/dist/kongponents.es456.js +647 -19
  260. package/dist/kongponents.es457.js +82 -19
  261. package/dist/kongponents.es458.js +12 -647
  262. package/dist/kongponents.es459.js +26 -83
  263. package/dist/kongponents.es460.js +12 -10
  264. package/dist/kongponents.es461.js +13 -25
  265. package/dist/kongponents.es462.js +16 -16
  266. package/dist/kongponents.es463.js +13 -13
  267. package/dist/kongponents.es464.js +23 -16
  268. package/dist/kongponents.es465.js +2 -15
  269. package/dist/kongponents.es466.js +2 -24
  270. package/dist/kongponents.es467.js +65 -2
  271. package/dist/kongponents.es468.js +5 -2
  272. package/dist/kongponents.es475.js +1 -1
  273. package/dist/kongponents.es476.js +3 -3
  274. package/dist/kongponents.es477.js +4 -4
  275. package/dist/kongponents.es478.js +4 -10
  276. package/dist/kongponents.es479.js +10 -6
  277. package/dist/kongponents.es480.js +6 -6
  278. package/dist/kongponents.es481.js +6 -4
  279. package/dist/kongponents.es482.js +67 -8
  280. package/dist/kongponents.es483.js +31 -11
  281. package/dist/kongponents.es484.js +11 -14
  282. package/dist/kongponents.es485.js +121 -14
  283. package/dist/kongponents.es486.js +84 -65
  284. package/dist/kongponents.es487.js +8 -31
  285. package/dist/kongponents.es488.js +11 -11
  286. package/dist/kongponents.es489.js +14 -121
  287. package/dist/kongponents.es490.js +14 -86
  288. package/dist/kongponents.es494.js +1 -1
  289. package/dist/kongponents.es496.js +3 -3
  290. package/dist/kongponents.es500.js +2 -2
  291. package/dist/kongponents.es501.js +2 -2
  292. package/dist/kongponents.es502.js +2 -2
  293. package/dist/kongponents.es503.js +2 -2
  294. package/dist/kongponents.es504.js +4 -4
  295. package/dist/kongponents.es533.js +1 -1
  296. package/dist/kongponents.es544.js +2 -2
  297. package/dist/kongponents.es545.js +1 -1
  298. package/dist/kongponents.es548.js +4 -4
  299. package/dist/kongponents.es549.js +3 -3
  300. package/dist/kongponents.es597.js +1 -1
  301. package/dist/kongponents.es599.js +1 -1
  302. package/dist/kongponents.es600.js +1 -1
  303. package/dist/kongponents.es607.js +2 -2
  304. package/dist/kongponents.es608.js +2 -2
  305. package/dist/kongponents.es609.js +2 -2
  306. package/dist/kongponents.es69.js +2 -2
  307. package/dist/kongponents.es72.js +7 -7
  308. package/dist/kongponents.es75.js +1 -1
  309. package/dist/kongponents.es77.js +1 -1
  310. package/dist/kongponents.es83.js +1 -1
  311. package/dist/kongponents.es87.js +3 -3
  312. package/dist/kongponents.es89.js +15 -15
  313. package/dist/kongponents.es94.js +2 -2
  314. package/dist/kongponents.es96.js +6 -6
  315. package/dist/kongponents.es99.js +2 -2
  316. package/dist/kongponents.umd.js +10 -10
  317. package/dist/kongponents105.cjs +1 -1
  318. package/dist/kongponents107.cjs +1 -1
  319. package/dist/kongponents109.cjs +1 -1
  320. package/dist/kongponents113.cjs +1 -1
  321. package/dist/kongponents115.cjs +1 -1
  322. package/dist/kongponents117.cjs +1 -1
  323. package/dist/kongponents119.cjs +1 -1
  324. package/dist/kongponents122.cjs +1 -1
  325. package/dist/kongponents124.cjs +1 -1
  326. package/dist/kongponents128.cjs +1 -1
  327. package/dist/kongponents130.cjs +1 -1
  328. package/dist/kongponents132.cjs +1 -1
  329. package/dist/kongponents139.cjs +1 -1
  330. package/dist/kongponents141.cjs +1 -1
  331. package/dist/kongponents143.cjs +1 -1
  332. package/dist/kongponents147.cjs +1 -1
  333. package/dist/kongponents149.cjs +1 -1
  334. package/dist/kongponents154.cjs +1 -1
  335. package/dist/kongponents156.cjs +1 -1
  336. package/dist/kongponents158.cjs +1 -1
  337. package/dist/kongponents160.cjs +1 -1
  338. package/dist/kongponents163.cjs +1 -1
  339. package/dist/kongponents171.cjs +1 -1
  340. package/dist/kongponents172.cjs +1 -1
  341. package/dist/kongponents173.cjs +1 -1
  342. package/dist/kongponents174.cjs +1 -1
  343. package/dist/kongponents175.cjs +1 -1
  344. package/dist/kongponents176.cjs +1 -1
  345. package/dist/kongponents177.cjs +1 -1
  346. package/dist/kongponents178.cjs +1 -1
  347. package/dist/kongponents179.cjs +1 -1
  348. package/dist/kongponents180.cjs +1 -1
  349. package/dist/kongponents181.cjs +1 -1
  350. package/dist/kongponents182.cjs +1 -1
  351. package/dist/kongponents183.cjs +1 -1
  352. package/dist/kongponents184.cjs +1 -1
  353. package/dist/kongponents185.cjs +1 -1
  354. package/dist/kongponents186.cjs +1 -2
  355. package/dist/kongponents187.cjs +1 -1
  356. package/dist/kongponents188.cjs +1 -1
  357. package/dist/kongponents189.cjs +5 -1
  358. package/dist/kongponents190.cjs +1 -1
  359. package/dist/kongponents191.cjs +1 -2
  360. package/dist/kongponents192.cjs +1 -1
  361. package/dist/kongponents193.cjs +1 -1
  362. package/dist/kongponents194.cjs +1 -1
  363. package/dist/kongponents195.cjs +1 -1
  364. package/dist/kongponents196.cjs +1 -1
  365. package/dist/kongponents197.cjs +1 -1
  366. package/dist/kongponents198.cjs +1 -1
  367. package/dist/kongponents199.cjs +1 -1
  368. package/dist/kongponents200.cjs +2 -1
  369. package/dist/kongponents201.cjs +1 -1
  370. package/dist/kongponents202.cjs +1 -5
  371. package/dist/kongponents203.cjs +1 -1
  372. package/dist/kongponents204.cjs +1 -1
  373. package/dist/kongponents205.cjs +1 -1
  374. package/dist/kongponents206.cjs +1 -1
  375. package/dist/kongponents207.cjs +1 -1
  376. package/dist/kongponents208.cjs +1 -1
  377. package/dist/kongponents209.cjs +1 -1
  378. package/dist/kongponents21.cjs +1 -1
  379. package/dist/kongponents210.cjs +2 -1
  380. package/dist/kongponents211.cjs +1 -1
  381. package/dist/kongponents212.cjs +1 -1
  382. package/dist/kongponents213.cjs +1 -1
  383. package/dist/kongponents214.cjs +1 -1
  384. package/dist/kongponents215.cjs +1 -1
  385. package/dist/kongponents216.cjs +1 -1
  386. package/dist/kongponents217.cjs +1 -1
  387. package/dist/kongponents218.cjs +1 -0
  388. package/dist/kongponents219.cjs +1 -1
  389. package/dist/kongponents220.cjs +1 -1
  390. package/dist/kongponents221.cjs +1 -1
  391. package/dist/kongponents223.cjs +1 -1
  392. package/dist/kongponents224.cjs +1 -1
  393. package/dist/kongponents225.cjs +1 -1
  394. package/dist/kongponents226.cjs +1 -1
  395. package/dist/kongponents227.cjs +1 -1
  396. package/dist/kongponents228.cjs +1 -1
  397. package/dist/kongponents229.cjs +1 -1
  398. package/dist/kongponents230.cjs +1 -1
  399. package/dist/kongponents231.cjs +1 -1
  400. package/dist/kongponents232.cjs +1 -1
  401. package/dist/kongponents233.cjs +1 -1
  402. package/dist/kongponents234.cjs +1 -1
  403. package/dist/kongponents235.cjs +1 -1
  404. package/dist/kongponents236.cjs +1 -1
  405. package/dist/kongponents237.cjs +1 -1
  406. package/dist/kongponents238.cjs +1 -1
  407. package/dist/kongponents24.cjs +1 -1
  408. package/dist/kongponents240.cjs +1 -1
  409. package/dist/kongponents241.cjs +1 -1
  410. package/dist/kongponents242.cjs +1 -1
  411. package/dist/kongponents245.cjs +1 -1
  412. package/dist/kongponents247.cjs +1 -1
  413. package/dist/kongponents249.cjs +1 -1
  414. package/dist/kongponents251.cjs +1 -1
  415. package/dist/kongponents253.cjs +1 -1
  416. package/dist/kongponents255.cjs +1 -1
  417. package/dist/kongponents257.cjs +6 -1
  418. package/dist/kongponents258.cjs +1 -0
  419. package/dist/kongponents259.cjs +1 -1
  420. package/dist/kongponents26.cjs +1 -1
  421. package/dist/kongponents260.cjs +1 -0
  422. package/dist/kongponents261.cjs +1 -1
  423. package/dist/kongponents262.cjs +1 -0
  424. package/dist/{kongponents256.cjs → kongponents263.cjs} +1 -1
  425. package/dist/kongponents264.cjs +1 -1
  426. package/dist/kongponents266.cjs +1 -1
  427. package/dist/kongponents268.cjs +1 -1
  428. package/dist/kongponents269.cjs +1 -1
  429. package/dist/kongponents270.cjs +1 -1
  430. package/dist/kongponents272.cjs +1 -1
  431. package/dist/kongponents274.cjs +4 -1
  432. package/dist/kongponents275.cjs +1 -1
  433. package/dist/kongponents276.cjs +1 -1
  434. package/dist/kongponents277.cjs +1 -1
  435. package/dist/kongponents278.cjs +1 -1
  436. package/dist/kongponents279.cjs +1 -1
  437. package/dist/kongponents28.cjs +1 -1
  438. package/dist/kongponents280.cjs +1 -1
  439. package/dist/kongponents281.cjs +1 -1
  440. package/dist/kongponents282.cjs +1 -1
  441. package/dist/kongponents283.cjs +1 -1
  442. package/dist/kongponents284.cjs +1 -1
  443. package/dist/kongponents285.cjs +1 -1
  444. package/dist/kongponents286.cjs +1 -1
  445. package/dist/kongponents287.cjs +1 -1
  446. package/dist/kongponents288.cjs +1 -1
  447. package/dist/kongponents289.cjs +1 -1
  448. package/dist/kongponents290.cjs +1 -1
  449. package/dist/kongponents291.cjs +1 -1
  450. package/dist/kongponents292.cjs +1 -1
  451. package/dist/kongponents293.cjs +1 -1
  452. package/dist/kongponents294.cjs +1 -1
  453. package/dist/kongponents295.cjs +1 -1
  454. package/dist/kongponents296.cjs +1 -1
  455. package/dist/kongponents297.cjs +1 -1
  456. package/dist/kongponents298.cjs +1 -1
  457. package/dist/kongponents299.cjs +1 -1
  458. package/dist/kongponents300.cjs +1 -1
  459. package/dist/kongponents301.cjs +1 -1
  460. package/dist/kongponents302.cjs +1 -1
  461. package/dist/kongponents303.cjs +1 -1
  462. package/dist/kongponents304.cjs +1 -1
  463. package/dist/kongponents305.cjs +1 -1
  464. package/dist/kongponents306.cjs +1 -1
  465. package/dist/kongponents307.cjs +1 -1
  466. package/dist/kongponents308.cjs +1 -1
  467. package/dist/kongponents309.cjs +1 -1
  468. package/dist/kongponents310.cjs +1 -1
  469. package/dist/kongponents311.cjs +1 -1
  470. package/dist/kongponents312.cjs +1 -1
  471. package/dist/kongponents313.cjs +1 -1
  472. package/dist/kongponents314.cjs +1 -1
  473. package/dist/kongponents315.cjs +1 -1
  474. package/dist/kongponents316.cjs +1 -4
  475. package/dist/kongponents317.cjs +1 -1
  476. package/dist/kongponents318.cjs +1 -0
  477. package/dist/kongponents319.cjs +1 -1
  478. package/dist/kongponents320.cjs +1 -0
  479. package/dist/kongponents321.cjs +1 -1
  480. package/dist/kongponents322.cjs +1 -0
  481. package/dist/kongponents323.cjs +1 -1
  482. package/dist/kongponents325.cjs +1 -1
  483. package/dist/kongponents327.cjs +1 -1
  484. package/dist/kongponents329.cjs +1 -1
  485. package/dist/kongponents332.cjs +1 -1
  486. package/dist/kongponents333.cjs +1 -0
  487. package/dist/kongponents335.cjs +1 -1
  488. package/dist/kongponents336.cjs +1 -1
  489. package/dist/kongponents337.cjs +1 -1
  490. package/dist/kongponents339.cjs +1 -1
  491. package/dist/kongponents340.cjs +1 -1
  492. package/dist/kongponents341.cjs +1 -1
  493. package/dist/kongponents342.cjs +1 -1
  494. package/dist/kongponents343.cjs +1 -1
  495. package/dist/kongponents344.cjs +1 -1
  496. package/dist/kongponents345.cjs +1 -1
  497. package/dist/kongponents346.cjs +1 -1
  498. package/dist/kongponents347.cjs +1 -1
  499. package/dist/kongponents348.cjs +1 -1
  500. package/dist/kongponents349.cjs +1 -1
  501. package/dist/kongponents350.cjs +1 -1
  502. package/dist/kongponents351.cjs +1 -1
  503. package/dist/kongponents352.cjs +1 -1
  504. package/dist/kongponents353.cjs +1 -1
  505. package/dist/kongponents354.cjs +1 -1
  506. package/dist/kongponents355.cjs +1 -1
  507. package/dist/kongponents356.cjs +1 -1
  508. package/dist/kongponents357.cjs +1 -1
  509. package/dist/kongponents358.cjs +1 -1
  510. package/dist/kongponents359.cjs +1 -1
  511. package/dist/kongponents360.cjs +1 -1
  512. package/dist/kongponents361.cjs +1 -1
  513. package/dist/kongponents362.cjs +1 -1
  514. package/dist/kongponents363.cjs +1 -1
  515. package/dist/kongponents364.cjs +1 -1
  516. package/dist/kongponents365.cjs +1 -1
  517. package/dist/kongponents366.cjs +1 -1
  518. package/dist/kongponents367.cjs +1 -1
  519. package/dist/kongponents368.cjs +1 -1
  520. package/dist/kongponents369.cjs +1 -1
  521. package/dist/kongponents370.cjs +1 -1
  522. package/dist/kongponents371.cjs +1 -1
  523. package/dist/kongponents372.cjs +1 -1
  524. package/dist/kongponents373.cjs +1 -1
  525. package/dist/kongponents374.cjs +1 -1
  526. package/dist/kongponents375.cjs +1 -1
  527. package/dist/kongponents376.cjs +1 -1
  528. package/dist/kongponents377.cjs +1 -1
  529. package/dist/kongponents378.cjs +1 -1
  530. package/dist/kongponents379.cjs +1 -1
  531. package/dist/kongponents380.cjs +1 -1
  532. package/dist/kongponents381.cjs +1 -1
  533. package/dist/kongponents382.cjs +1 -1
  534. package/dist/kongponents383.cjs +1 -1
  535. package/dist/kongponents384.cjs +1 -1
  536. package/dist/kongponents385.cjs +1 -1
  537. package/dist/kongponents386.cjs +1 -1
  538. package/dist/kongponents387.cjs +1 -1
  539. package/dist/kongponents388.cjs +1 -0
  540. package/dist/kongponents395.cjs +1 -1
  541. package/dist/kongponents400.cjs +1 -1
  542. package/dist/kongponents407.cjs +1 -1
  543. package/dist/kongponents408.cjs +1 -1
  544. package/dist/kongponents412.cjs +1 -1
  545. package/dist/kongponents413.cjs +1 -1
  546. package/dist/kongponents414.cjs +1 -1
  547. package/dist/kongponents416.cjs +1 -1
  548. package/dist/kongponents417.cjs +1 -1
  549. package/dist/kongponents418.cjs +1 -1
  550. package/dist/kongponents419.cjs +1 -1
  551. package/dist/kongponents420.cjs +1 -1
  552. package/dist/kongponents426.cjs +1 -1
  553. package/dist/kongponents427.cjs +1 -1
  554. package/dist/kongponents428.cjs +1 -1
  555. package/dist/kongponents429.cjs +1 -1
  556. package/dist/kongponents433.cjs +1 -1
  557. package/dist/kongponents434.cjs +1 -1
  558. package/dist/kongponents436.cjs +1 -1
  559. package/dist/kongponents437.cjs +1 -1
  560. package/dist/kongponents438.cjs +1 -1
  561. package/dist/kongponents439.cjs +1 -1
  562. package/dist/kongponents440.cjs +1 -1
  563. package/dist/kongponents441.cjs +1 -1
  564. package/dist/kongponents442.cjs +1 -1
  565. package/dist/kongponents443.cjs +1 -1
  566. package/dist/kongponents444.cjs +1 -1
  567. package/dist/kongponents445.cjs +1 -1
  568. package/dist/kongponents446.cjs +1 -1
  569. package/dist/kongponents451.cjs +1 -1
  570. package/dist/kongponents452.cjs +1 -1
  571. package/dist/kongponents453.cjs +1 -1
  572. package/dist/kongponents454.cjs +1 -1
  573. package/dist/kongponents455.cjs +1 -1
  574. package/dist/kongponents456.cjs +1 -1
  575. package/dist/kongponents457.cjs +1 -1
  576. package/dist/kongponents458.cjs +1 -1
  577. package/dist/kongponents459.cjs +1 -1
  578. package/dist/kongponents460.cjs +1 -1
  579. package/dist/kongponents461.cjs +1 -1
  580. package/dist/kongponents462.cjs +1 -1
  581. package/dist/kongponents463.cjs +1 -1
  582. package/dist/kongponents464.cjs +1 -1
  583. package/dist/kongponents465.cjs +1 -1
  584. package/dist/kongponents466.cjs +1 -1
  585. package/dist/kongponents467.cjs +1 -1
  586. package/dist/kongponents468.cjs +1 -1
  587. package/dist/kongponents475.cjs +1 -1
  588. package/dist/kongponents476.cjs +1 -1
  589. package/dist/kongponents477.cjs +1 -1
  590. package/dist/kongponents478.cjs +1 -1
  591. package/dist/kongponents479.cjs +1 -1
  592. package/dist/kongponents480.cjs +1 -1
  593. package/dist/kongponents481.cjs +1 -1
  594. package/dist/kongponents482.cjs +1 -1
  595. package/dist/kongponents483.cjs +1 -1
  596. package/dist/kongponents484.cjs +1 -1
  597. package/dist/kongponents485.cjs +1 -1
  598. package/dist/kongponents486.cjs +1 -1
  599. package/dist/kongponents487.cjs +1 -1
  600. package/dist/kongponents488.cjs +1 -1
  601. package/dist/kongponents489.cjs +1 -1
  602. package/dist/kongponents490.cjs +1 -1
  603. package/dist/kongponents494.cjs +1 -1
  604. package/dist/kongponents496.cjs +1 -1
  605. package/dist/kongponents500.cjs +1 -1
  606. package/dist/kongponents501.cjs +1 -1
  607. package/dist/kongponents502.cjs +1 -1
  608. package/dist/kongponents503.cjs +1 -1
  609. package/dist/kongponents504.cjs +1 -1
  610. package/dist/kongponents533.cjs +1 -1
  611. package/dist/kongponents544.cjs +1 -1
  612. package/dist/kongponents545.cjs +1 -1
  613. package/dist/kongponents548.cjs +1 -1
  614. package/dist/kongponents549.cjs +1 -1
  615. package/dist/kongponents597.cjs +1 -1
  616. package/dist/kongponents599.cjs +1 -1
  617. package/dist/kongponents600.cjs +1 -1
  618. package/dist/kongponents69.cjs +1 -1
  619. package/dist/kongponents72.cjs +1 -1
  620. package/dist/kongponents75.cjs +1 -1
  621. package/dist/kongponents77.cjs +1 -1
  622. package/dist/kongponents83.cjs +1 -1
  623. package/dist/kongponents87.cjs +1 -1
  624. package/dist/kongponents89.cjs +1 -1
  625. package/dist/kongponents94.cjs +1 -1
  626. package/dist/kongponents96.cjs +1 -1
  627. package/dist/kongponents99.cjs +1 -1
  628. package/package.json +2 -2
  629. package/dist/kongponents.es222.js +0 -62
  630. package/dist/kongponents.es243.js +0 -97
  631. package/dist/kongponents.es248.js +0 -136
  632. package/dist/kongponents.es250.js +0 -594
  633. package/dist/kongponents.es267.js +0 -7
  634. package/dist/kongponents.es271.js +0 -8
  635. package/dist/kongponents.es273.js +0 -8
  636. package/dist/kongponents.es338.js +0 -11
  637. package/dist/kongponents222.cjs +0 -1
  638. package/dist/kongponents243.cjs +0 -1
  639. package/dist/kongponents248.cjs +0 -1
  640. package/dist/kongponents250.cjs +0 -6
  641. package/dist/kongponents254.cjs +0 -1
  642. package/dist/kongponents267.cjs +0 -1
  643. package/dist/kongponents271.cjs +0 -1
  644. package/dist/kongponents273.cjs +0 -1
  645. package/dist/kongponents338.cjs +0 -1
@@ -1,93 +1,594 @@
1
- import { defineComponent as x, computed as v, useTemplateRef as T, createElementBlock as s, openBlock as l, createBlock as d, createCommentVNode as V, Fragment as m, renderList as u, withCtx as f, renderSlot as S, createElementVNode as p, toDisplayString as g, createTextVNode as h } from "vue";
2
- import w from "./kongponents.es204.js";
3
- const D = {
4
- ref: "itemsContainer",
5
- "aria-live": "polite",
6
- class: "multiselect-items-container"
7
- }, F = { class: "multiselect-group-title" }, M = { class: "select-item-description" }, E = ".multiselect-item button:not(:disabled)", q = /* @__PURE__ */ x({
8
- __name: "KMultiselectItems",
9
- props: {
10
- items: { default: () => [] },
11
- itemCreationEnabled: { type: Boolean },
12
- filterString: { default: "" },
13
- itemCreationValid: { type: Boolean, default: !0 }
1
+ import { tabbable as oe, focusable as ie, isTabbable as D, getTabIndex as R, isFocusable as M } from "./kongponents.es274.js";
2
+ /*!
3
+ * focus-trap 7.7.0
4
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
5
+ */
6
+ function H(n, t) {
7
+ (t == null || t > n.length) && (t = n.length);
8
+ for (var o = 0, u = Array(t); o < t; o++) u[o] = n[o];
9
+ return u;
10
+ }
11
+ function ue(n) {
12
+ if (Array.isArray(n)) return H(n);
13
+ }
14
+ function X(n, t) {
15
+ var o = typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
16
+ if (!o) {
17
+ if (Array.isArray(n) || (o = te(n)) || t) {
18
+ o && (n = o);
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 f, r = !0, m = !1;
41
+ return {
42
+ s: function() {
43
+ o = o.call(n);
44
+ },
45
+ n: function() {
46
+ var h = o.next();
47
+ return r = h.done, h;
48
+ },
49
+ e: function(h) {
50
+ m = !0, f = h;
51
+ },
52
+ f: function() {
53
+ try {
54
+ r || o.return == null || o.return();
55
+ } finally {
56
+ if (m) throw f;
57
+ }
58
+ }
59
+ };
60
+ }
61
+ function se(n, t, o) {
62
+ return (t = ve(t)) in n ? Object.defineProperty(n, t, {
63
+ value: o,
64
+ enumerable: !0,
65
+ configurable: !0,
66
+ writable: !0
67
+ }) : n[t] = o, 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, t) {
77
+ var o = Object.keys(n);
78
+ if (Object.getOwnPropertySymbols) {
79
+ var u = Object.getOwnPropertySymbols(n);
80
+ t && (u = u.filter(function(y) {
81
+ return Object.getOwnPropertyDescriptor(n, y).enumerable;
82
+ })), o.push.apply(o, u);
83
+ }
84
+ return o;
85
+ }
86
+ function U(n) {
87
+ for (var t = 1; t < arguments.length; t++) {
88
+ var o = arguments[t] != null ? arguments[t] : {};
89
+ t % 2 ? Z(Object(o), !0).forEach(function(u) {
90
+ se(n, u, o[u]);
91
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(o)) : Z(Object(o)).forEach(function(u) {
92
+ Object.defineProperty(n, u, Object.getOwnPropertyDescriptor(o, u));
93
+ });
94
+ }
95
+ return n;
96
+ }
97
+ function fe(n) {
98
+ return ue(n) || ce(n) || te(n) || le();
99
+ }
100
+ function de(n, t) {
101
+ if (typeof n != "object" || !n) return n;
102
+ var o = n[Symbol.toPrimitive];
103
+ if (o !== void 0) {
104
+ var u = o.call(n, t);
105
+ if (typeof u != "object") return u;
106
+ throw new TypeError("@@toPrimitive must return a primitive value.");
107
+ }
108
+ return (t === "string" ? String : Number)(n);
109
+ }
110
+ function ve(n) {
111
+ var t = de(n, "string");
112
+ return typeof t == "symbol" ? t : t + "";
113
+ }
114
+ function te(n, t) {
115
+ if (n) {
116
+ if (typeof n == "string") return H(n, t);
117
+ var o = {}.toString.call(n).slice(8, -1);
118
+ return o === "Object" && n.constructor && (o = n.constructor.name), o === "Map" || o === "Set" ? Array.from(n) : o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o) ? H(n, t) : void 0;
119
+ }
120
+ }
121
+ var N = {
122
+ // Returns the trap from the top of the stack.
123
+ getActiveTrap: function(t) {
124
+ return (t == null ? void 0 : t.length) > 0 ? t[t.length - 1] : null;
14
125
  },
15
- emits: ["selected", "add-item"],
16
- setup(i, { expose: k, emit: I }) {
17
- const A = I, y = (n) => A("selected", n), $ = v(() => {
18
- var n;
19
- return (n = i.items) == null ? void 0 : n.filter((t) => !t.group);
20
- }), b = v(() => {
21
- var n, t;
22
- return [...new Set((t = (n = i.items) == null ? void 0 : n.filter((e) => e.group)) == null ? void 0 : t.map((e) => e.group))].sort((e, o) => e.toLowerCase().localeCompare(o.toLowerCase()));
23
- }), B = (n) => {
24
- var t;
25
- return (t = i.items) == null ? void 0 : t.filter((e) => e.group === n);
26
- }, C = T("itemsContainer"), K = (n) => {
27
- var o;
28
- const t = C.value;
29
- if (!t)
126
+ // Pauses the currently active trap, then adds a new trap to the stack.
127
+ activateTrap: function(t, o) {
128
+ var u = N.getActiveTrap(t);
129
+ o !== u && N.pauseTrap(t);
130
+ var y = t.indexOf(o);
131
+ y === -1 || t.splice(y, 1), t.push(o);
132
+ },
133
+ // Removes the trap from the top of the stack, then unpauses the next trap down.
134
+ deactivateTrap: function(t, o) {
135
+ var u = t.indexOf(o);
136
+ u !== -1 && t.splice(u, 1), N.unpauseTrap(t);
137
+ },
138
+ // Pauses the trap at the top of the stack.
139
+ pauseTrap: function(t) {
140
+ var o = N.getActiveTrap(t);
141
+ o == null || o._setPausedState(!0);
142
+ },
143
+ // Unpauses the trap at the top of the stack.
144
+ unpauseTrap: function(t) {
145
+ var o = N.getActiveTrap(t);
146
+ o && !o._isManuallyPaused() && o._setPausedState(!1);
147
+ }
148
+ }, be = function(t) {
149
+ return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
150
+ }, pe = function(t) {
151
+ return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
152
+ }, _ = function(t) {
153
+ return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
154
+ }, ye = function(t) {
155
+ return _(t) && !t.shiftKey;
156
+ }, me = function(t) {
157
+ return _(t) && t.shiftKey;
158
+ }, ee = function(t) {
159
+ return setTimeout(t, 0);
160
+ }, j = function(t) {
161
+ for (var o = arguments.length, u = new Array(o > 1 ? o - 1 : 0), y = 1; y < o; y++)
162
+ u[y - 1] = arguments[y];
163
+ return typeof t == "function" ? t.apply(void 0, u) : t;
164
+ }, L = function(t) {
165
+ return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
166
+ }, he = [], we = function(t, o) {
167
+ var u = (o == null ? void 0 : o.document) || document, y = (o == null ? void 0 : o.trapStack) || he, f = U({
168
+ returnFocusOnDeactivate: !0,
169
+ escapeDeactivates: !0,
170
+ delayInitialFocus: !0,
171
+ isolateSubtrees: !1,
172
+ isKeyForward: ye,
173
+ isKeyBackward: me
174
+ }, o), 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 before the trap was activated.
206
+ /** @type {Set<HTMLElement>} */
207
+ alreadyInert: /* @__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, a, i) {
219
+ return e && e[a] !== void 0 ? e[a] : f[i || a];
220
+ }, S = function(e, a) {
221
+ var i = typeof (a == null ? void 0 : a.composedPath) == "function" ? a.composedPath() : void 0;
222
+ return r.containerGroups.findIndex(function(c) {
223
+ var l = c.container, d = c.tabbableNodes;
224
+ return l.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
+ (i == null ? void 0 : i.includes(l)) || d.find(function(s) {
229
+ return s === e;
230
+ });
231
+ });
232
+ }, P = function(e) {
233
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = a.hasFallback, c = i === void 0 ? !1 : i, l = a.params, d = l === void 0 ? [] : l, s = f[e];
234
+ if (typeof s == "function" && (s = s.apply(void 0, fe(d))), 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 (p) {
244
+ throw new Error("`".concat(e, '` appears to be an invalid selector; error="').concat(p.message, '"'));
245
+ }
246
+ if (!v && !c)
247
+ throw new Error("`".concat(e, "` as selector refers to no known node"));
248
+ }
249
+ return v;
250
+ }, A = function() {
251
+ var e = P("initialFocus", {
252
+ hasFallback: !0
253
+ });
254
+ if (e === !1)
255
+ return !1;
256
+ if (e === void 0 || e && !M(e, f.tabbableOptions))
257
+ if (S(u.activeElement) >= 0)
258
+ e = u.activeElement;
259
+ else {
260
+ var a = r.tabbableGroups[0], i = a && a.firstTabbableNode;
261
+ e = i || P("fallbackFocus");
262
+ }
263
+ else e === null && (e = P("fallbackFocus"));
264
+ if (!e)
265
+ throw new Error("Your focus-trap needs to have at least one focusable element");
266
+ return e;
267
+ }, I = function() {
268
+ if (r.containerGroups = r.containers.map(function(e) {
269
+ var a = oe(e, f.tabbableOptions), i = ie(e, f.tabbableOptions), c = a.length > 0 ? a[0] : void 0, l = a.length > 0 ? a[a.length - 1] : void 0, d = i.find(function(p) {
270
+ return D(p);
271
+ }), s = i.slice().reverse().find(function(p) {
272
+ return D(p);
273
+ }), v = !!a.find(function(p) {
274
+ return R(p) > 0;
275
+ });
276
+ return {
277
+ container: e,
278
+ tabbableNodes: a,
279
+ focusableNodes: i,
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: c,
284
+ /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
285
+ lastTabbableNode: l,
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: d,
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 = a.indexOf(g);
307
+ return w < 0 ? T ? i.slice(i.indexOf(g) + 1).find(function(k) {
308
+ return D(k);
309
+ }) : i.slice(0, i.indexOf(g)).reverse().find(function(k) {
310
+ return D(k);
311
+ }) : a[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 && !P("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 a = e.activeElement;
324
+ if (a)
325
+ return a.shadowRoot && a.shadowRoot.activeElement !== null ? B(a.shadowRoot) : a;
326
+ }, F = function(e) {
327
+ if (e !== !1 && e !== B(document)) {
328
+ if (!e || !e.focus) {
329
+ F(A());
330
+ return;
331
+ }
332
+ e.focus({
333
+ preventScroll: !!f.preventScroll
334
+ }), r.mostRecentlyFocusedNode = e, be(e) && e.select();
335
+ }
336
+ }, $ = function(e) {
337
+ var a = P("setReturnFocus", {
338
+ params: [e]
339
+ });
340
+ return a || (a === !1 ? !1 : e);
341
+ }, q = function(e) {
342
+ var a = e.target, i = e.event, c = e.isBackward, l = c === void 0 ? !1 : c;
343
+ a = a || L(i), I();
344
+ var d = null;
345
+ if (r.tabbableGroups.length > 0) {
346
+ var s = S(a, i), v = s >= 0 ? r.containerGroups[s] : void 0;
347
+ if (s < 0)
348
+ l ? d = r.tabbableGroups[r.tabbableGroups.length - 1].lastTabbableNode : d = r.tabbableGroups[0].firstTabbableNode;
349
+ else if (l) {
350
+ var p = r.tabbableGroups.findIndex(function(x) {
351
+ var G = x.firstTabbableNode;
352
+ return a === G;
353
+ });
354
+ if (p < 0 && (v.container === a || M(a, f.tabbableOptions) && !D(a, f.tabbableOptions) && !v.nextTabbableNode(a, !1)) && (p = s), p >= 0) {
355
+ var g = p === 0 ? r.tabbableGroups.length - 1 : p - 1, T = r.tabbableGroups[g];
356
+ d = R(a) >= 0 ? T.lastTabbableNode : T.lastDomTabbableNode;
357
+ } else _(i) || (d = v.nextTabbableNode(a, !1));
358
+ } else {
359
+ var w = r.tabbableGroups.findIndex(function(x) {
360
+ var G = x.lastTabbableNode;
361
+ return a === G;
362
+ });
363
+ if (w < 0 && (v.container === a || M(a, f.tabbableOptions) && !D(a, f.tabbableOptions) && !v.nextTabbableNode(a)) && (w = s), w >= 0) {
364
+ var k = w === r.tabbableGroups.length - 1 ? 0 : w + 1, E = r.tabbableGroups[k];
365
+ d = R(a) >= 0 ? E.firstTabbableNode : E.firstDomTabbableNode;
366
+ } else _(i) || (d = v.nextTabbableNode(a));
367
+ }
368
+ } else
369
+ d = P("fallbackFocus");
370
+ return d;
371
+ }, K = function(e) {
372
+ var a = L(e);
373
+ if (!(S(a, e) >= 0)) {
374
+ if (j(f.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: f.returnFocusOnDeactivate
383
+ });
30
384
  return;
31
- const e = t.querySelectorAll(E);
32
- (o = e[n === "down" ? 0 : e.length - 1]) == null || o.focus();
33
- }, a = ({ target: n, key: t }) => {
34
- var e;
35
- if (t === "ArrowDown" || t === "ArrowUp") {
36
- const o = (e = C.value) == null ? void 0 : e.querySelectorAll(E);
37
- if (o != null && o.length) {
38
- const r = [...o].indexOf(n), L = t === "ArrowDown" ? r + 1 : r - 1, c = o[L];
39
- c == null || c.focus();
385
+ }
386
+ j(f.allowOutsideClick, e) || e.preventDefault();
387
+ }
388
+ }, Y = function(e) {
389
+ var a = L(e), i = S(a, e) >= 0;
390
+ if (i || a instanceof Document)
391
+ i && (r.mostRecentlyFocusedNode = a);
392
+ else {
393
+ e.stopImmediatePropagation();
394
+ var c, l = !0;
395
+ if (r.mostRecentlyFocusedNode)
396
+ if (R(r.mostRecentlyFocusedNode) > 0) {
397
+ var d = S(r.mostRecentlyFocusedNode), s = r.containerGroups[d].tabbableNodes;
398
+ if (s.length > 0) {
399
+ var v = s.findIndex(function(p) {
400
+ return p === r.mostRecentlyFocusedNode;
401
+ });
402
+ v >= 0 && (f.isKeyForward(r.recentNavEvent) ? v + 1 < s.length && (c = s[v + 1], l = !1) : v - 1 >= 0 && (c = s[v - 1], l = !1));
403
+ }
404
+ } else
405
+ r.containerGroups.some(function(p) {
406
+ return p.tabbableNodes.some(function(g) {
407
+ return R(g) > 0;
408
+ });
409
+ }) || (l = !1);
410
+ else
411
+ l = !1;
412
+ l && (c = q({
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: f.isKeyBackward(r.recentNavEvent)
417
+ })), F(c || r.mostRecentlyFocusedNode || A());
418
+ }
419
+ r.recentNavEvent = void 0;
420
+ }, ae = function(e) {
421
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
422
+ r.recentNavEvent = e;
423
+ var i = q({
424
+ event: e,
425
+ isBackward: a
426
+ });
427
+ i && (_(e) && e.preventDefault(), F(i));
428
+ }, V = function(e) {
429
+ (f.isKeyForward(e) || f.isKeyBackward(e)) && ae(e, f.isKeyBackward(e));
430
+ }, W = function(e) {
431
+ pe(e) && j(f.escapeDeactivates, e) !== !1 && (e.preventDefault(), m.deactivate());
432
+ }, z = function(e) {
433
+ var a = L(e);
434
+ S(a, e) >= 0 || j(f.clickOutsideDeactivates, e) || j(f.allowOutsideClick, e) || (e.preventDefault(), e.stopImmediatePropagation());
435
+ }, J = function() {
436
+ if (r.active)
437
+ return N.activateTrap(y, m), r.delayInitialFocusTimer = f.delayInitialFocus ? ee(function() {
438
+ F(A());
439
+ }) : F(A()), u.addEventListener("focusin", Y, !0), u.addEventListener("mousedown", K, {
440
+ capture: !0,
441
+ passive: !1
442
+ }), u.addEventListener("touchstart", K, {
443
+ capture: !0,
444
+ passive: !1
445
+ }), u.addEventListener("click", z, {
446
+ capture: !0,
447
+ passive: !1
448
+ }), u.addEventListener("keydown", V, {
449
+ capture: !0,
450
+ passive: !1
451
+ }), u.addEventListener("keydown", W), m;
452
+ }, re = function(e) {
453
+ r.active && !r.paused && m._setSubtreeIsolation(!1), r.adjacentElements.clear(), r.alreadyInert.clear();
454
+ var a = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), c = X(e), l;
455
+ try {
456
+ for (c.s(); !(l = c.n()).done; ) {
457
+ var d = l.value;
458
+ a.add(d);
459
+ for (var s = typeof ShadowRoot < "u" && d.getRootNode() instanceof ShadowRoot, v = d; v; ) {
460
+ a.add(v);
461
+ var p = v.parentElement, g = [];
462
+ p ? g = p.children : !p && s && (g = v.getRootNode().children, p = v.getRootNode().host, s = typeof ShadowRoot < "u" && p.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
+ i.add(k);
468
+ }
469
+ } catch (E) {
470
+ T.e(E);
471
+ } finally {
472
+ T.f();
473
+ }
474
+ v = p;
40
475
  }
41
476
  }
42
- };
43
- return k({ setFocus: K }), (n, t) => (l(), s("div", D, [
44
- (l(!0), s(m, null, u($.value, (e, o) => (l(), d(w, {
45
- key: `${e.key ? e.key : o}-item`,
46
- item: e,
47
- onKeydown: a,
48
- onSelected: y
49
- }, {
50
- content: f(() => [
51
- S(n.$slots, "content", { item: e }, void 0, !0)
52
- ]),
53
- _: 2
54
- }, 1032, ["item"]))), 128)),
55
- (l(!0), s(m, null, u(b.value, (e) => (l(), s("div", {
56
- key: `${e}-group`,
57
- class: "multiselect-group"
58
- }, [
59
- p("span", F, g(e), 1),
60
- (l(!0), s(m, null, u(B(e), (o, r) => (l(), d(w, {
61
- key: `${o.key ? o.key : e + "-" + r + "-item"}`,
62
- item: o,
63
- onKeydown: a,
64
- onSelected: y
65
- }, {
66
- content: f(() => [
67
- S(n.$slots, "content", { item: o }, void 0, !0)
68
- ]),
69
- _: 2
70
- }, 1032, ["item"]))), 128))
71
- ]))), 128)),
72
- i.itemCreationEnabled ? (l(), d(w, {
73
- key: "multiselect-add-item",
74
- class: "multiselect-add-item",
75
- "data-testid": "multiselect-add-item",
76
- item: { label: `${i.filterString} (Add new value)`, value: "add_item", disabled: !i.itemCreationValid },
77
- onKeydown: a,
78
- onSelected: t[0] || (t[0] = (e) => n.$emit("add-item"))
79
- }, {
80
- content: f(() => [
81
- p("div", M, [
82
- h(g(i.filterString) + " ", 1),
83
- t[1] || (t[1] = p("span", { class: "select-item-new-indicator" }, "(Add new value)", -1))
84
- ])
85
- ]),
86
- _: 1
87
- }, 8, ["item"])) : V("", !0)
88
- ], 512));
89
- }
90
- });
477
+ } catch (E) {
478
+ c.e(E);
479
+ } finally {
480
+ c.f();
481
+ }
482
+ a.forEach(function(E) {
483
+ i.delete(E);
484
+ }), r.adjacentElements = i;
485
+ }, Q = function() {
486
+ if (r.active)
487
+ return u.removeEventListener("focusin", Y, !0), u.removeEventListener("mousedown", K, !0), u.removeEventListener("touchstart", K, !0), u.removeEventListener("click", z, !0), u.removeEventListener("keydown", V, !0), u.removeEventListener("keydown", W), m;
488
+ }, ne = function(e) {
489
+ var a = e.some(function(i) {
490
+ var c = Array.from(i.removedNodes);
491
+ return c.some(function(l) {
492
+ return l === r.mostRecentlyFocusedNode;
493
+ });
494
+ });
495
+ a && F(A());
496
+ }, C = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(ne) : void 0, O = function() {
497
+ C && (C.disconnect(), r.active && !r.paused && r.containers.map(function(e) {
498
+ C.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 a = h(e, "onActivate"), i = h(e, "onPostActivate"), c = h(e, "checkCanFocusTrap"), l = N.getActiveTrap(y), d = !1;
515
+ l && !l.paused && (l._setSubtreeIsolation(!1), d = !0);
516
+ try {
517
+ c || I(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = B(u), a == null || a();
518
+ var s = function() {
519
+ c && I(), J(), O(), f.isolateSubtrees && m._setSubtreeIsolation(!0), i == null || i();
520
+ };
521
+ if (c)
522
+ return c(r.containers.concat()).then(s, s), this;
523
+ s();
524
+ } catch (v) {
525
+ throw l === N.getActiveTrap(y) && d && l._setSubtreeIsolation(!0), v;
526
+ }
527
+ return this;
528
+ },
529
+ deactivate: function(e) {
530
+ if (!r.active)
531
+ return this;
532
+ var a = U({
533
+ onDeactivate: f.onDeactivate,
534
+ onPostDeactivate: f.onPostDeactivate,
535
+ checkCanReturnFocus: f.checkCanReturnFocus
536
+ }, e);
537
+ clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, r.paused || m._setSubtreeIsolation(!1), r.alreadyInert.clear(), Q(), r.active = !1, r.paused = !1, O(), N.deactivateTrap(y, m);
538
+ var i = h(a, "onDeactivate"), c = h(a, "onPostDeactivate"), l = h(a, "checkCanReturnFocus"), d = h(a, "returnFocus", "returnFocusOnDeactivate");
539
+ i == null || i();
540
+ var s = function() {
541
+ ee(function() {
542
+ d && F($(r.nodeFocusedBeforeActivation)), c == null || c();
543
+ });
544
+ };
545
+ return d && l ? (l($(r.nodeFocusedBeforeActivation)).then(s, s), this) : (s(), this);
546
+ },
547
+ pause: function(e) {
548
+ return r.active ? (r.manuallyPaused = !0, this._setPausedState(!0, e)) : this;
549
+ },
550
+ unpause: function(e) {
551
+ return r.active ? (r.manuallyPaused = !1, y[y.length - 1] !== this ? this : this._setPausedState(!1, e)) : this;
552
+ },
553
+ updateContainerElements: function(e) {
554
+ var a = [].concat(e).filter(Boolean);
555
+ return r.containers = a.map(function(i) {
556
+ return typeof i == "string" ? u.querySelector(i) : i;
557
+ }), f.isolateSubtrees && re(r.containers), r.active && (I(), f.isolateSubtrees && !r.paused && m._setSubtreeIsolation(!0)), O(), this;
558
+ }
559
+ }, Object.defineProperties(m, {
560
+ _isManuallyPaused: {
561
+ value: function() {
562
+ return r.manuallyPaused;
563
+ }
564
+ },
565
+ _setPausedState: {
566
+ value: function(e, a) {
567
+ if (r.paused === e)
568
+ return this;
569
+ if (r.paused = e, e) {
570
+ var i = h(a, "onPause"), c = h(a, "onPostPause");
571
+ i == null || i(), Q(), O(), m._setSubtreeIsolation(!1), c == null || c();
572
+ } else {
573
+ var l = h(a, "onUnpause"), d = h(a, "onPostUnpause");
574
+ l == null || l(), m._setSubtreeIsolation(!0), I(), J(), O(), d == null || d();
575
+ }
576
+ return this;
577
+ }
578
+ },
579
+ _setSubtreeIsolation: {
580
+ value: function(e) {
581
+ f.isolateSubtrees && r.adjacentElements.forEach(function(a) {
582
+ if (e) {
583
+ var i = a.inert || a.hasAttribute("inert");
584
+ i && r.alreadyInert.add(a), a.inert = !0;
585
+ } else
586
+ r.alreadyInert.has(a) || (a.inert = !1);
587
+ });
588
+ }
589
+ }
590
+ }), m.updateContainerElements(t), m;
591
+ };
91
592
  export {
92
- q as default
593
+ we as createFocusTrap
93
594
  };