@kong/kongponents 9.46.9-pr.2994.0a615a7.0 → 9.46.10-pr.2995.f47d674.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 (597) hide show
  1. package/dist/kongponents.es105.js +5 -5
  2. package/dist/kongponents.es107.js +3 -3
  3. package/dist/kongponents.es109.js +4 -4
  4. package/dist/kongponents.es113.js +2 -2
  5. package/dist/kongponents.es115.js +5 -5
  6. package/dist/kongponents.es117.js +2 -2
  7. package/dist/kongponents.es119.js +10 -10
  8. package/dist/kongponents.es122.js +5 -5
  9. package/dist/kongponents.es124.js +7 -7
  10. package/dist/kongponents.es128.js +2 -2
  11. package/dist/kongponents.es130.js +1 -1
  12. package/dist/kongponents.es132.js +10 -10
  13. package/dist/kongponents.es139.js +4 -4
  14. package/dist/kongponents.es141.js +1 -1
  15. package/dist/kongponents.es143.js +6 -6
  16. package/dist/kongponents.es147.js +2 -2
  17. package/dist/kongponents.es149.js +7 -7
  18. package/dist/kongponents.es154.js +3 -3
  19. package/dist/kongponents.es156.js +5 -5
  20. package/dist/kongponents.es158.js +3 -3
  21. package/dist/kongponents.es160.js +12 -12
  22. package/dist/kongponents.es171.js +5 -119
  23. package/dist/kongponents.es172.js +102 -113
  24. package/dist/kongponents.es173.js +18 -119
  25. package/dist/kongponents.es174.js +36 -36
  26. package/dist/kongponents.es175.js +32 -32
  27. package/dist/kongponents.es176.js +20 -20
  28. package/dist/kongponents.es177.js +119 -18
  29. package/dist/kongponents.es178.js +119 -5
  30. package/dist/kongponents.es179.js +115 -313
  31. package/dist/kongponents.es180.js +118 -38
  32. package/dist/kongponents.es181.js +118 -97
  33. package/dist/kongponents.es182.js +20 -20
  34. package/dist/kongponents.es183.js +17 -17
  35. package/dist/kongponents.es184.js +18 -119
  36. package/dist/kongponents.es185.js +18 -18
  37. package/dist/kongponents.es186.js +5 -120
  38. package/dist/kongponents.es187.js +7 -119
  39. package/dist/kongponents.es188.js +5 -119
  40. package/dist/kongponents.es189.js +189 -18
  41. package/dist/kongponents.es190.js +108 -46
  42. package/dist/kongponents.es191.js +13 -115
  43. package/dist/kongponents.es192.js +178 -112
  44. package/dist/kongponents.es193.js +392 -104
  45. package/dist/kongponents.es194.js +28 -28
  46. package/dist/kongponents.es195.js +22 -22
  47. package/dist/kongponents.es196.js +36 -36
  48. package/dist/kongponents.es197.js +96 -113
  49. package/dist/kongponents.es198.js +34 -34
  50. package/dist/kongponents.es199.js +15 -119
  51. package/dist/kongponents.es200.js +313 -98
  52. package/dist/kongponents.es201.js +33 -179
  53. package/dist/kongponents.es202.js +97 -118
  54. package/dist/kongponents.es203.js +17 -17
  55. package/dist/kongponents.es204.js +118 -23
  56. package/dist/kongponents.es205.js +119 -5
  57. package/dist/kongponents.es206.js +22 -21
  58. package/dist/kongponents.es207.js +119 -5
  59. package/dist/kongponents.es208.js +119 -5
  60. package/dist/kongponents.es209.js +50 -117
  61. package/dist/kongponents.es21.js +8 -8
  62. package/dist/kongponents.es210.js +22 -22
  63. package/dist/kongponents.es211.js +119 -5
  64. package/dist/kongponents.es212.js +20 -20
  65. package/dist/kongponents.es213.js +4 -6
  66. package/dist/kongponents.es214.js +10 -189
  67. package/dist/kongponents.es215.js +4 -4
  68. package/dist/kongponents.es216.js +119 -5
  69. package/dist/kongponents.es217.js +116 -111
  70. package/dist/kongponents.es218.js +23 -16
  71. package/dist/kongponents.es219.js +5 -396
  72. package/dist/kongponents.es220.js +5 -15
  73. package/dist/kongponents.es221.js +121 -0
  74. package/dist/kongponents.es222.js +23 -23
  75. package/dist/kongponents.es224.js +119 -8
  76. package/dist/kongponents.es225.js +5 -60
  77. package/dist/kongponents.es226.js +8 -5
  78. package/dist/kongponents.es227.js +60 -5
  79. package/dist/kongponents.es228.js +22 -22
  80. package/dist/kongponents.es229.js +29 -29
  81. package/dist/kongponents.es230.js +3 -3
  82. package/dist/kongponents.es231.js +5 -10
  83. package/dist/kongponents.es232.js +5 -119
  84. package/dist/kongponents.es233.js +3 -3
  85. package/dist/kongponents.es234.js +2 -2
  86. package/dist/kongponents.es235.js +3 -3
  87. package/dist/kongponents.es236.js +4 -4
  88. package/dist/kongponents.es237.js +4 -4
  89. package/dist/kongponents.es238.js +4 -4
  90. package/dist/kongponents.es24.js +1 -1
  91. package/dist/kongponents.es240.js +39 -5
  92. package/dist/kongponents.es241.js +317 -37
  93. package/dist/kongponents.es242.js +5 -319
  94. package/dist/kongponents.es243.js +132 -54
  95. package/dist/kongponents.es244.js +4 -0
  96. package/dist/kongponents.es245.js +34 -0
  97. package/dist/kongponents.es246.js +470 -23
  98. package/dist/kongponents.es248.js +169 -41
  99. package/dist/kongponents.es250.js +2 -34
  100. package/dist/kongponents.es251.js +121 -0
  101. package/dist/kongponents.es252.js +117 -21
  102. package/dist/kongponents.es253.js +121 -0
  103. package/dist/kongponents.es254.js +5 -45
  104. package/dist/kongponents.es255.js +7 -0
  105. package/dist/kongponents.es256.js +19 -40
  106. package/dist/kongponents.es257.js +6 -0
  107. package/dist/kongponents.es258.js +4 -470
  108. package/dist/kongponents.es259.js +5 -31
  109. package/dist/kongponents.es26.js +4 -4
  110. package/dist/kongponents.es260.js +8 -133
  111. package/dist/kongponents.es261.js +5 -1
  112. package/dist/kongponents.es262.js +4 -52
  113. package/dist/kongponents.es263.js +19 -0
  114. package/dist/kongponents.es264.js +4 -2
  115. package/dist/kongponents.es265.js +8 -119
  116. package/dist/kongponents.es266.js +7 -119
  117. package/dist/kongponents.es267.js +4 -119
  118. package/dist/kongponents.es268.js +2 -5
  119. package/dist/kongponents.es269.js +6 -5
  120. package/dist/kongponents.es270.js +9 -19
  121. package/dist/kongponents.es271.js +4 -3
  122. package/dist/kongponents.es272.js +4 -5
  123. package/dist/kongponents.es273.js +3 -6
  124. package/dist/kongponents.es274.js +3 -8
  125. package/dist/kongponents.es275.js +7 -5
  126. package/dist/kongponents.es276.js +6 -3
  127. package/dist/kongponents.es277.js +5 -17
  128. package/dist/kongponents.es278.js +9 -3
  129. package/dist/kongponents.es279.js +6 -8
  130. package/dist/kongponents.es28.js +2 -2
  131. package/dist/kongponents.es280.js +9 -7
  132. package/dist/kongponents.es281.js +6 -3
  133. package/dist/kongponents.es282.js +18 -2
  134. package/dist/kongponents.es283.js +11 -5
  135. package/dist/kongponents.es284.js +6 -9
  136. package/dist/kongponents.es285.js +12 -4
  137. package/dist/kongponents.es286.js +10 -4
  138. package/dist/kongponents.es287.js +6 -3
  139. package/dist/kongponents.es288.js +8 -3
  140. package/dist/kongponents.es289.js +15 -7
  141. package/dist/kongponents.es290.js +17 -6
  142. package/dist/kongponents.es291.js +6 -5
  143. package/dist/kongponents.es292.js +10 -9
  144. package/dist/kongponents.es293.js +6 -5
  145. package/dist/kongponents.es294.js +8 -9
  146. package/dist/kongponents.es295.js +5 -6
  147. package/dist/kongponents.es296.js +6 -17
  148. package/dist/kongponents.es297.js +9 -11
  149. package/dist/kongponents.es298.js +7 -6
  150. package/dist/kongponents.es299.js +3 -12
  151. package/dist/kongponents.es300.js +5 -9
  152. package/dist/kongponents.es301.js +15 -5
  153. package/dist/kongponents.es302.js +24 -9
  154. package/dist/kongponents.es304.js +47 -17
  155. package/dist/kongponents.es306.js +33 -10
  156. package/dist/kongponents.es308.js +23 -8
  157. package/dist/kongponents.es310.js +45 -7
  158. package/dist/kongponents.es312.js +41 -8
  159. package/dist/kongponents.es314.js +177 -6
  160. package/dist/kongponents.es316.js +84 -165
  161. package/dist/kongponents.es318.js +37 -83
  162. package/dist/kongponents.es320.js +369 -40
  163. package/dist/kongponents.es321.js +132 -0
  164. package/dist/kongponents.es322.js +52 -173
  165. package/dist/kongponents.es324.js +46 -89
  166. package/dist/kongponents.es326.js +216 -43
  167. package/dist/{kongponents.es331.js → kongponents.es327.js} +1 -1
  168. package/dist/kongponents.es329.js +6 -370
  169. package/dist/kongponents.es330.js +90 -129
  170. package/dist/kongponents.es332.js +43 -0
  171. package/dist/kongponents.es334.js +1557 -5
  172. package/dist/kongponents.es335.js +5 -2
  173. package/dist/kongponents.es336.js +8 -6
  174. package/dist/kongponents.es337.js +5 -7
  175. package/dist/kongponents.es338.js +9 -6
  176. package/dist/kongponents.es339.js +6 -9
  177. package/dist/kongponents.es340.js +9 -5
  178. package/dist/kongponents.es341.js +13 -8
  179. package/dist/kongponents.es342.js +3 -15
  180. package/dist/kongponents.es343.js +8 -3
  181. package/dist/kongponents.es344.js +3 -8
  182. package/dist/kongponents.es345.js +11 -3
  183. package/dist/kongponents.es346.js +7 -10
  184. package/dist/kongponents.es347.js +5 -7
  185. package/dist/kongponents.es348.js +2 -6
  186. package/dist/kongponents.es349.js +13 -2
  187. package/dist/kongponents.es350.js +4 -12
  188. package/dist/kongponents.es351.js +3 -5
  189. package/dist/kongponents.es352.js +26 -6
  190. package/dist/kongponents.es353.js +4 -30
  191. package/dist/kongponents.es354.js +4 -3
  192. package/dist/kongponents.es355.js +4 -26
  193. package/dist/kongponents.es356.js +3 -3
  194. package/dist/kongponents.es357.js +4 -4
  195. package/dist/kongponents.es358.js +15 -4
  196. package/dist/kongponents.es359.js +6 -4
  197. package/dist/kongponents.es360.js +30 -4
  198. package/dist/kongponents.es361.js +24 -12
  199. package/dist/kongponents.es362.js +15 -26
  200. package/dist/kongponents.es363.js +9 -15
  201. package/dist/kongponents.es364.js +4 -9
  202. package/dist/kongponents.es365.js +13 -4
  203. package/dist/kongponents.es366.js +8 -13
  204. package/dist/kongponents.es367.js +3 -9
  205. package/dist/kongponents.es368.js +6 -3
  206. package/dist/kongponents.es369.js +5 -5
  207. package/dist/kongponents.es370.js +7 -5
  208. package/dist/kongponents.es371.js +5 -7
  209. package/dist/kongponents.es372.js +9 -4
  210. package/dist/kongponents.es373.js +5 -10
  211. package/dist/kongponents.es374.js +3 -4
  212. package/dist/kongponents.es375.js +4 -4
  213. package/dist/kongponents.es376.js +5 -4
  214. package/dist/kongponents.es377.js +7 -5
  215. package/dist/kongponents.es378.js +7 -8
  216. package/dist/kongponents.es379.js +10 -7
  217. package/dist/kongponents.es380.js +7 -10
  218. package/dist/kongponents.es381.js +21 -6
  219. package/dist/kongponents.es382.js +6 -21
  220. package/dist/kongponents.es383.js +4 -4
  221. package/dist/kongponents.es384.js +6 -6
  222. package/dist/kongponents.es385.js +7 -5
  223. package/dist/kongponents.es386.js +8 -8
  224. package/dist/kongponents.es387.js +7 -95
  225. package/dist/kongponents.es388.js +10 -0
  226. package/dist/kongponents.es389.js +4 -8
  227. package/dist/kongponents.es390.js +9 -6
  228. package/dist/kongponents.es391.js +7 -6
  229. package/dist/kongponents.es392.js +636 -4
  230. package/dist/kongponents.es393.js +74 -10
  231. package/dist/kongponents.es394.js +4 -8
  232. package/dist/kongponents.es395.js +17 -634
  233. package/dist/kongponents.es396.js +5 -74
  234. package/dist/kongponents.es397.js +18 -5
  235. package/dist/kongponents.es398.js +7 -19
  236. package/dist/kongponents.es399.js +5 -4
  237. package/dist/kongponents.es400.js +9 -18
  238. package/dist/kongponents.es401.js +6 -6
  239. package/dist/kongponents.es402.js +4 -5
  240. package/dist/kongponents.es403.js +20 -8
  241. package/dist/kongponents.es404.js +5 -8
  242. package/dist/kongponents.es405.js +110 -4
  243. package/dist/kongponents.es406.js +171 -20
  244. package/dist/kongponents.es407.js +5 -5
  245. package/dist/kongponents.es408.js +6 -110
  246. package/dist/kongponents.es409.js +5 -172
  247. package/dist/kongponents.es410.js +4 -4
  248. package/dist/kongponents.es411.js +69 -6
  249. package/dist/kongponents.es412.js +2 -5
  250. package/dist/kongponents.es413.js +2 -5
  251. package/dist/kongponents.es414.js +5749 -45
  252. package/dist/kongponents.es415.js +95 -2
  253. package/dist/kongponents.es420.js +1 -1
  254. package/dist/kongponents.es426.js +2 -2
  255. package/dist/kongponents.es427.js +2 -2
  256. package/dist/kongponents.es428.js +2 -2
  257. package/dist/kongponents.es429.js +1 -1
  258. package/dist/kongponents.es433.js +1 -1
  259. package/dist/kongponents.es434.js +4 -4
  260. package/dist/kongponents.es436.js +1 -1
  261. package/dist/kongponents.es439.js +2 -2
  262. package/dist/kongponents.es440.js +2 -2
  263. package/dist/kongponents.es441.js +2 -2
  264. package/dist/kongponents.es442.js +2 -2
  265. package/dist/kongponents.es443.js +4 -4
  266. package/dist/kongponents.es446.js +1 -1
  267. package/dist/kongponents.es475.js +1 -1
  268. package/dist/kongponents.es482.js +2 -2
  269. package/dist/kongponents.es483.js +1 -1
  270. package/dist/kongponents.es484.js +4 -4
  271. package/dist/kongponents.es485.js +3 -3
  272. package/dist/kongponents.es533.js +1 -1
  273. package/dist/kongponents.es594.js +1 -1
  274. package/dist/kongponents.es597.js +1 -1
  275. package/dist/kongponents.es599.js +1 -1
  276. package/dist/kongponents.es600.js +1 -1
  277. package/dist/kongponents.es606.js +2 -2
  278. package/dist/kongponents.es607.js +2 -2
  279. package/dist/kongponents.es608.js +2 -2
  280. package/dist/kongponents.es609.js +2 -2
  281. package/dist/kongponents.es72.js +7 -7
  282. package/dist/kongponents.es75.js +1 -1
  283. package/dist/kongponents.es77.js +1 -1
  284. package/dist/kongponents.es83.js +1 -1
  285. package/dist/kongponents.es87.js +3 -3
  286. package/dist/kongponents.es89.js +15 -15
  287. package/dist/kongponents.es94.js +2 -2
  288. package/dist/kongponents.es96.js +6 -6
  289. package/dist/kongponents.es99.js +2 -2
  290. package/dist/kongponents105.cjs +1 -1
  291. package/dist/kongponents107.cjs +1 -1
  292. package/dist/kongponents109.cjs +1 -1
  293. package/dist/kongponents113.cjs +1 -1
  294. package/dist/kongponents115.cjs +1 -1
  295. package/dist/kongponents117.cjs +1 -1
  296. package/dist/kongponents119.cjs +1 -1
  297. package/dist/kongponents122.cjs +1 -1
  298. package/dist/kongponents124.cjs +1 -1
  299. package/dist/kongponents128.cjs +1 -1
  300. package/dist/kongponents130.cjs +1 -1
  301. package/dist/kongponents132.cjs +1 -1
  302. package/dist/kongponents139.cjs +1 -1
  303. package/dist/kongponents141.cjs +1 -1
  304. package/dist/kongponents143.cjs +1 -1
  305. package/dist/kongponents147.cjs +1 -1
  306. package/dist/kongponents149.cjs +1 -1
  307. package/dist/kongponents154.cjs +1 -1
  308. package/dist/kongponents156.cjs +1 -1
  309. package/dist/kongponents158.cjs +1 -1
  310. package/dist/kongponents160.cjs +1 -1
  311. package/dist/kongponents171.cjs +1 -1
  312. package/dist/kongponents172.cjs +1 -1
  313. package/dist/kongponents173.cjs +1 -1
  314. package/dist/kongponents174.cjs +1 -1
  315. package/dist/kongponents175.cjs +1 -1
  316. package/dist/kongponents176.cjs +1 -1
  317. package/dist/kongponents177.cjs +1 -1
  318. package/dist/kongponents178.cjs +1 -1
  319. package/dist/kongponents179.cjs +1 -1
  320. package/dist/kongponents180.cjs +1 -1
  321. package/dist/kongponents181.cjs +1 -2
  322. package/dist/kongponents182.cjs +1 -1
  323. package/dist/kongponents183.cjs +1 -1
  324. package/dist/kongponents184.cjs +1 -1
  325. package/dist/kongponents185.cjs +1 -1
  326. package/dist/kongponents186.cjs +1 -2
  327. package/dist/kongponents187.cjs +1 -1
  328. package/dist/kongponents188.cjs +1 -1
  329. package/dist/kongponents189.cjs +1 -1
  330. package/dist/kongponents190.cjs +1 -1
  331. package/dist/kongponents191.cjs +1 -1
  332. package/dist/kongponents192.cjs +1 -1
  333. package/dist/kongponents193.cjs +1 -1
  334. package/dist/kongponents194.cjs +1 -1
  335. package/dist/kongponents195.cjs +1 -1
  336. package/dist/kongponents196.cjs +1 -1
  337. package/dist/kongponents197.cjs +5 -1
  338. package/dist/kongponents198.cjs +1 -1
  339. package/dist/kongponents199.cjs +1 -1
  340. package/dist/kongponents200.cjs +1 -5
  341. package/dist/kongponents201.cjs +1 -1
  342. package/dist/kongponents202.cjs +2 -1
  343. package/dist/kongponents203.cjs +1 -1
  344. package/dist/kongponents204.cjs +1 -1
  345. package/dist/kongponents205.cjs +1 -1
  346. package/dist/kongponents206.cjs +2 -1
  347. package/dist/kongponents207.cjs +1 -1
  348. package/dist/kongponents208.cjs +1 -1
  349. package/dist/kongponents209.cjs +1 -1
  350. package/dist/kongponents21.cjs +1 -1
  351. package/dist/kongponents210.cjs +1 -1
  352. package/dist/kongponents211.cjs +1 -1
  353. package/dist/kongponents212.cjs +1 -1
  354. package/dist/kongponents213.cjs +1 -1
  355. package/dist/kongponents214.cjs +1 -1
  356. package/dist/kongponents215.cjs +1 -1
  357. package/dist/kongponents216.cjs +1 -1
  358. package/dist/kongponents217.cjs +1 -1
  359. package/dist/kongponents218.cjs +1 -1
  360. package/dist/kongponents219.cjs +1 -1
  361. package/dist/kongponents220.cjs +1 -1
  362. package/dist/kongponents221.cjs +1 -0
  363. package/dist/kongponents222.cjs +1 -1
  364. package/dist/kongponents224.cjs +1 -1
  365. package/dist/kongponents225.cjs +1 -1
  366. package/dist/kongponents226.cjs +1 -1
  367. package/dist/kongponents227.cjs +1 -1
  368. package/dist/kongponents228.cjs +1 -1
  369. package/dist/kongponents229.cjs +1 -1
  370. package/dist/kongponents230.cjs +1 -1
  371. package/dist/kongponents231.cjs +1 -1
  372. package/dist/kongponents232.cjs +1 -1
  373. package/dist/kongponents233.cjs +1 -1
  374. package/dist/kongponents234.cjs +1 -1
  375. package/dist/kongponents235.cjs +1 -1
  376. package/dist/kongponents236.cjs +1 -1
  377. package/dist/kongponents237.cjs +1 -1
  378. package/dist/kongponents238.cjs +1 -1
  379. package/dist/kongponents24.cjs +1 -1
  380. package/dist/kongponents240.cjs +1 -1
  381. package/dist/kongponents241.cjs +1 -1
  382. package/dist/kongponents242.cjs +1 -1
  383. package/dist/kongponents243.cjs +1 -1
  384. package/dist/kongponents244.cjs +1 -0
  385. package/dist/kongponents245.cjs +1 -0
  386. package/dist/kongponents246.cjs +5 -1
  387. package/dist/kongponents248.cjs +1 -1
  388. package/dist/kongponents250.cjs +1 -1
  389. package/dist/kongponents251.cjs +1 -0
  390. package/dist/kongponents252.cjs +1 -1
  391. package/dist/kongponents253.cjs +1 -0
  392. package/dist/kongponents254.cjs +1 -1
  393. package/dist/kongponents255.cjs +1 -0
  394. package/dist/kongponents256.cjs +1 -1
  395. package/dist/kongponents257.cjs +1 -0
  396. package/dist/kongponents258.cjs +1 -5
  397. package/dist/kongponents259.cjs +1 -1
  398. package/dist/kongponents26.cjs +1 -1
  399. package/dist/kongponents260.cjs +1 -1
  400. package/dist/kongponents261.cjs +1 -1
  401. package/dist/kongponents262.cjs +1 -1
  402. package/dist/kongponents263.cjs +1 -0
  403. package/dist/kongponents264.cjs +1 -1
  404. package/dist/kongponents265.cjs +1 -1
  405. package/dist/kongponents266.cjs +1 -1
  406. package/dist/kongponents267.cjs +1 -1
  407. package/dist/kongponents268.cjs +1 -1
  408. package/dist/kongponents269.cjs +1 -1
  409. package/dist/kongponents270.cjs +1 -1
  410. package/dist/kongponents271.cjs +1 -1
  411. package/dist/kongponents272.cjs +1 -1
  412. package/dist/kongponents273.cjs +1 -1
  413. package/dist/kongponents274.cjs +1 -1
  414. package/dist/kongponents275.cjs +1 -1
  415. package/dist/kongponents276.cjs +1 -1
  416. package/dist/kongponents277.cjs +1 -1
  417. package/dist/kongponents278.cjs +1 -1
  418. package/dist/kongponents279.cjs +1 -1
  419. package/dist/kongponents28.cjs +1 -1
  420. package/dist/kongponents280.cjs +1 -1
  421. package/dist/kongponents281.cjs +1 -1
  422. package/dist/kongponents282.cjs +1 -1
  423. package/dist/kongponents283.cjs +1 -1
  424. package/dist/kongponents284.cjs +1 -1
  425. package/dist/kongponents285.cjs +1 -1
  426. package/dist/kongponents286.cjs +1 -1
  427. package/dist/kongponents287.cjs +1 -1
  428. package/dist/kongponents288.cjs +1 -1
  429. package/dist/kongponents289.cjs +1 -1
  430. package/dist/kongponents290.cjs +1 -1
  431. package/dist/kongponents291.cjs +1 -1
  432. package/dist/kongponents292.cjs +1 -1
  433. package/dist/kongponents293.cjs +1 -1
  434. package/dist/kongponents294.cjs +1 -1
  435. package/dist/kongponents295.cjs +1 -1
  436. package/dist/kongponents296.cjs +1 -1
  437. package/dist/kongponents297.cjs +1 -1
  438. package/dist/kongponents298.cjs +1 -1
  439. package/dist/kongponents299.cjs +1 -1
  440. package/dist/kongponents300.cjs +1 -1
  441. package/dist/kongponents301.cjs +1 -1
  442. package/dist/kongponents302.cjs +1 -1
  443. package/dist/kongponents304.cjs +1 -1
  444. package/dist/kongponents306.cjs +1 -1
  445. package/dist/kongponents308.cjs +1 -1
  446. package/dist/kongponents310.cjs +1 -1
  447. package/dist/kongponents312.cjs +1 -1
  448. package/dist/kongponents314.cjs +1 -1
  449. package/dist/kongponents316.cjs +1 -1
  450. package/dist/kongponents318.cjs +1 -1
  451. package/dist/kongponents320.cjs +1 -1
  452. package/dist/kongponents321.cjs +1 -0
  453. package/dist/kongponents322.cjs +1 -1
  454. package/dist/kongponents324.cjs +1 -1
  455. package/dist/kongponents326.cjs +4 -1
  456. package/dist/{kongponents331.cjs → kongponents327.cjs} +1 -1
  457. package/dist/kongponents329.cjs +1 -1
  458. package/dist/kongponents330.cjs +1 -1
  459. package/dist/kongponents332.cjs +1 -0
  460. package/dist/kongponents334.cjs +10 -1
  461. package/dist/kongponents335.cjs +1 -1
  462. package/dist/kongponents336.cjs +1 -1
  463. package/dist/kongponents337.cjs +1 -1
  464. package/dist/kongponents338.cjs +1 -1
  465. package/dist/kongponents339.cjs +1 -1
  466. package/dist/kongponents340.cjs +1 -1
  467. package/dist/kongponents341.cjs +1 -1
  468. package/dist/kongponents342.cjs +1 -1
  469. package/dist/kongponents343.cjs +1 -1
  470. package/dist/kongponents344.cjs +1 -1
  471. package/dist/kongponents345.cjs +1 -1
  472. package/dist/kongponents346.cjs +1 -1
  473. package/dist/kongponents347.cjs +1 -1
  474. package/dist/kongponents348.cjs +1 -1
  475. package/dist/kongponents349.cjs +1 -1
  476. package/dist/kongponents350.cjs +1 -1
  477. package/dist/kongponents351.cjs +1 -1
  478. package/dist/kongponents352.cjs +1 -1
  479. package/dist/kongponents353.cjs +1 -1
  480. package/dist/kongponents354.cjs +1 -1
  481. package/dist/kongponents355.cjs +1 -1
  482. package/dist/kongponents356.cjs +1 -1
  483. package/dist/kongponents357.cjs +1 -1
  484. package/dist/kongponents358.cjs +1 -1
  485. package/dist/kongponents359.cjs +1 -1
  486. package/dist/kongponents360.cjs +1 -1
  487. package/dist/kongponents361.cjs +1 -1
  488. package/dist/kongponents362.cjs +1 -1
  489. package/dist/kongponents363.cjs +1 -1
  490. package/dist/kongponents364.cjs +1 -1
  491. package/dist/kongponents365.cjs +1 -1
  492. package/dist/kongponents366.cjs +1 -1
  493. package/dist/kongponents367.cjs +1 -1
  494. package/dist/kongponents368.cjs +1 -1
  495. package/dist/kongponents369.cjs +1 -1
  496. package/dist/kongponents370.cjs +1 -1
  497. package/dist/kongponents371.cjs +1 -1
  498. package/dist/kongponents372.cjs +1 -1
  499. package/dist/kongponents373.cjs +1 -1
  500. package/dist/kongponents374.cjs +1 -1
  501. package/dist/kongponents375.cjs +1 -1
  502. package/dist/kongponents376.cjs +1 -1
  503. package/dist/kongponents377.cjs +1 -1
  504. package/dist/kongponents378.cjs +1 -1
  505. package/dist/kongponents379.cjs +1 -1
  506. package/dist/kongponents380.cjs +1 -1
  507. package/dist/kongponents381.cjs +1 -1
  508. package/dist/kongponents382.cjs +1 -1
  509. package/dist/kongponents383.cjs +1 -1
  510. package/dist/kongponents384.cjs +1 -1
  511. package/dist/kongponents385.cjs +1 -1
  512. package/dist/kongponents386.cjs +1 -1
  513. package/dist/kongponents387.cjs +1 -1
  514. package/dist/kongponents388.cjs +1 -0
  515. package/dist/kongponents389.cjs +1 -1
  516. package/dist/kongponents390.cjs +1 -1
  517. package/dist/kongponents391.cjs +1 -1
  518. package/dist/kongponents392.cjs +1 -1
  519. package/dist/kongponents393.cjs +1 -1
  520. package/dist/kongponents394.cjs +1 -1
  521. package/dist/kongponents395.cjs +1 -1
  522. package/dist/kongponents396.cjs +1 -1
  523. package/dist/kongponents397.cjs +1 -1
  524. package/dist/kongponents398.cjs +1 -1
  525. package/dist/kongponents399.cjs +1 -1
  526. package/dist/kongponents400.cjs +1 -1
  527. package/dist/kongponents401.cjs +1 -1
  528. package/dist/kongponents402.cjs +1 -1
  529. package/dist/kongponents403.cjs +1 -1
  530. package/dist/kongponents404.cjs +1 -1
  531. package/dist/kongponents405.cjs +1 -1
  532. package/dist/kongponents406.cjs +1 -1
  533. package/dist/kongponents407.cjs +1 -1
  534. package/dist/kongponents408.cjs +1 -1
  535. package/dist/kongponents409.cjs +1 -1
  536. package/dist/kongponents410.cjs +1 -1
  537. package/dist/kongponents411.cjs +1 -1
  538. package/dist/kongponents412.cjs +1 -1
  539. package/dist/kongponents413.cjs +1 -1
  540. package/dist/kongponents414.cjs +1 -1
  541. package/dist/kongponents415.cjs +1 -1
  542. package/dist/kongponents420.cjs +1 -1
  543. package/dist/kongponents426.cjs +1 -1
  544. package/dist/kongponents427.cjs +1 -1
  545. package/dist/kongponents428.cjs +1 -1
  546. package/dist/kongponents429.cjs +1 -1
  547. package/dist/kongponents433.cjs +1 -1
  548. package/dist/kongponents434.cjs +1 -1
  549. package/dist/kongponents436.cjs +1 -1
  550. package/dist/kongponents439.cjs +1 -1
  551. package/dist/kongponents440.cjs +1 -1
  552. package/dist/kongponents441.cjs +1 -1
  553. package/dist/kongponents442.cjs +1 -1
  554. package/dist/kongponents443.cjs +1 -1
  555. package/dist/kongponents446.cjs +1 -1
  556. package/dist/kongponents475.cjs +1 -1
  557. package/dist/kongponents482.cjs +1 -1
  558. package/dist/kongponents483.cjs +1 -1
  559. package/dist/kongponents484.cjs +1 -1
  560. package/dist/kongponents485.cjs +1 -1
  561. package/dist/kongponents533.cjs +1 -1
  562. package/dist/kongponents594.cjs +1 -1
  563. package/dist/kongponents597.cjs +1 -1
  564. package/dist/kongponents599.cjs +1 -1
  565. package/dist/kongponents600.cjs +1 -1
  566. package/dist/kongponents72.cjs +1 -1
  567. package/dist/kongponents75.cjs +1 -1
  568. package/dist/kongponents77.cjs +1 -1
  569. package/dist/kongponents83.cjs +1 -1
  570. package/dist/kongponents87.cjs +1 -1
  571. package/dist/kongponents89.cjs +1 -1
  572. package/dist/kongponents94.cjs +1 -1
  573. package/dist/kongponents96.cjs +1 -1
  574. package/dist/kongponents99.cjs +1 -1
  575. package/package.json +1 -1
  576. package/dist/kongponents.es223.js +0 -7
  577. package/dist/kongponents.es303.js +0 -18
  578. package/dist/kongponents.es305.js +0 -8
  579. package/dist/kongponents.es307.js +0 -9
  580. package/dist/kongponents.es309.js +0 -8
  581. package/dist/kongponents.es311.js +0 -12
  582. package/dist/kongponents.es313.js +0 -6
  583. package/dist/kongponents.es315.js +0 -18
  584. package/dist/kongponents.es328.js +0 -220
  585. package/dist/kongponents.es333.js +0 -1559
  586. package/dist/kongponents.es416.js +0 -5776
  587. package/dist/kongponents223.cjs +0 -1
  588. package/dist/kongponents303.cjs +0 -1
  589. package/dist/kongponents305.cjs +0 -1
  590. package/dist/kongponents307.cjs +0 -1
  591. package/dist/kongponents309.cjs +0 -1
  592. package/dist/kongponents311.cjs +0 -1
  593. package/dist/kongponents313.cjs +0 -1
  594. package/dist/kongponents315.cjs +0 -1
  595. package/dist/kongponents328.cjs +0 -4
  596. package/dist/kongponents333.cjs +0 -10
  597. package/dist/kongponents416.cjs +0 -1
@@ -1,372 +1,8 @@
1
- import { evaluate as V, getSideAxis as E, getSide as D, clamp as X, getOppositePlacement as J, getExpandedPlacements as K, getOppositeAxisPlacements as N, getAlignmentSides as G, placements as Y, getAlignment as T, getPaddingObject as Q, rectToClientRect as q, getOppositeAxis as U, getOppositeAlignmentPlacement as W, getAlignmentAxis as Z, getAxisLength as ee } from "./kongponents.es330.js";
2
- function z(t, i, m) {
3
- let {
4
- reference: n,
5
- floating: e
6
- } = t;
7
- const l = E(i), r = Z(i), s = ee(r), y = D(i), v = l === "y", d = n.x + n.width / 2 - e.width / 2, a = n.y + n.height / 2 - e.height / 2, c = n[s] / 2 - e[s] / 2;
8
- let o;
9
- switch (y) {
10
- case "top":
11
- o = {
12
- x: d,
13
- y: n.y - e.height
14
- };
15
- break;
16
- case "bottom":
17
- o = {
18
- x: d,
19
- y: n.y + n.height
20
- };
21
- break;
22
- case "right":
23
- o = {
24
- x: n.x + n.width,
25
- y: a
26
- };
27
- break;
28
- case "left":
29
- o = {
30
- x: n.x - e.width,
31
- y: a
32
- };
33
- break;
34
- default:
35
- o = {
36
- x: n.x,
37
- y: n.y
38
- };
39
- }
40
- switch (T(i)) {
41
- case "start":
42
- o[r] -= c * (m && v ? -1 : 1);
43
- break;
44
- case "end":
45
- o[r] += c * (m && v ? -1 : 1);
46
- break;
47
- }
48
- return o;
49
- }
50
- const ie = async (t, i, m) => {
51
- const {
52
- placement: n = "bottom",
53
- strategy: e = "absolute",
54
- middleware: l = [],
55
- platform: r
56
- } = m, s = l.filter(Boolean), y = await (r.isRTL == null ? void 0 : r.isRTL(i));
57
- let v = await r.getElementRects({
58
- reference: t,
59
- floating: i,
60
- strategy: e
61
- }), {
62
- x: d,
63
- y: a
64
- } = z(v, n, y), c = n, o = {}, x = 0;
65
- for (let h = 0; h < s.length; h++) {
66
- const {
67
- name: w,
68
- fn: u
69
- } = s[h], {
70
- x: f,
71
- y: A,
72
- data: P,
73
- reset: g
74
- } = await u({
75
- x: d,
76
- y: a,
77
- initialPlacement: n,
78
- placement: c,
79
- strategy: e,
80
- middlewareData: o,
81
- rects: v,
82
- platform: r,
83
- elements: {
84
- reference: t,
85
- floating: i
86
- }
87
- });
88
- d = f ?? d, a = A ?? a, o = {
89
- ...o,
90
- [w]: {
91
- ...o[w],
92
- ...P
93
- }
94
- }, g && x <= 50 && (x++, typeof g == "object" && (g.placement && (c = g.placement), g.rects && (v = g.rects === !0 ? await r.getElementRects({
95
- reference: t,
96
- floating: i,
97
- strategy: e
98
- }) : g.rects), {
99
- x: d,
100
- y: a
101
- } = z(v, c, y)), h = -1);
102
- }
103
- return {
104
- x: d,
105
- y: a,
106
- placement: c,
107
- strategy: e,
108
- middlewareData: o
109
- };
110
- };
111
- async function I(t, i) {
112
- var m;
113
- i === void 0 && (i = {});
114
- const {
115
- x: n,
116
- y: e,
117
- platform: l,
118
- rects: r,
119
- elements: s,
120
- strategy: y
121
- } = t, {
122
- boundary: v = "clippingAncestors",
123
- rootBoundary: d = "viewport",
124
- elementContext: a = "floating",
125
- altBoundary: c = !1,
126
- padding: o = 0
127
- } = V(i, t), x = Q(o), w = s[c ? a === "floating" ? "reference" : "floating" : a], u = q(await l.getClippingRect({
128
- element: (m = await (l.isElement == null ? void 0 : l.isElement(w))) == null || m ? w : w.contextElement || await (l.getDocumentElement == null ? void 0 : l.getDocumentElement(s.floating)),
129
- boundary: v,
130
- rootBoundary: d,
131
- strategy: y
132
- })), f = a === "floating" ? {
133
- x: n,
134
- y: e,
135
- width: r.floating.width,
136
- height: r.floating.height
137
- } : r.reference, A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s.floating)), P = await (l.isElement == null ? void 0 : l.isElement(A)) ? await (l.getScale == null ? void 0 : l.getScale(A)) || {
138
- x: 1,
139
- y: 1
140
- } : {
141
- x: 1,
142
- y: 1
143
- }, g = q(l.convertOffsetParentRelativeRectToViewportRelativeRect ? await l.convertOffsetParentRelativeRectToViewportRelativeRect({
144
- elements: s,
145
- rect: f,
146
- offsetParent: A,
147
- strategy: y
148
- }) : f);
149
- return {
150
- top: (u.top - g.top + x.top) / P.y,
151
- bottom: (g.bottom - u.bottom + x.bottom) / P.y,
152
- left: (u.left - g.left + x.left) / P.x,
153
- right: (g.right - u.right + x.right) / P.x
154
- };
155
- }
156
- function te(t, i, m) {
157
- return (t ? [...m.filter((e) => T(e) === t), ...m.filter((e) => T(e) !== t)] : m.filter((e) => D(e) === e)).filter((e) => t ? T(e) === t || (i ? W(e) !== e : !1) : !0);
158
- }
159
- const le = function(t) {
160
- return t === void 0 && (t = {}), {
161
- name: "autoPlacement",
162
- options: t,
163
- async fn(i) {
164
- var m, n, e;
165
- const {
166
- rects: l,
167
- middlewareData: r,
168
- placement: s,
169
- platform: y,
170
- elements: v
171
- } = i, {
172
- crossAxis: d = !1,
173
- alignment: a,
174
- allowedPlacements: c = Y,
175
- autoAlignment: o = !0,
176
- ...x
177
- } = V(t, i), h = a !== void 0 || c === Y ? te(a || null, o, c) : c, w = await I(i, x), u = ((m = r.autoPlacement) == null ? void 0 : m.index) || 0, f = h[u];
178
- if (f == null)
179
- return {};
180
- const A = G(f, l, await (y.isRTL == null ? void 0 : y.isRTL(v.floating)));
181
- if (s !== f)
182
- return {
183
- reset: {
184
- placement: h[0]
185
- }
186
- };
187
- const P = [w[D(f)], w[A[0]], w[A[1]]], g = [...((n = r.autoPlacement) == null ? void 0 : n.overflows) || [], {
188
- placement: f,
189
- overflows: P
190
- }], L = h[u + 1];
191
- if (L)
192
- return {
193
- data: {
194
- index: u + 1,
195
- overflows: g
196
- },
197
- reset: {
198
- placement: L
199
- }
200
- };
201
- const B = g.map((p) => {
202
- const O = T(p.placement);
203
- return [p.placement, O && d ? (
204
- // Check along the mainAxis and main crossAxis side.
205
- p.overflows.slice(0, 2).reduce(($, j) => $ + j, 0)
206
- ) : (
207
- // Check only the mainAxis.
208
- p.overflows[0]
209
- ), p.overflows];
210
- }).sort((p, O) => p[1] - O[1]), R = ((e = B.filter((p) => p[2].slice(
211
- 0,
212
- // Aligned placements should not check their opposite crossAxis
213
- // side.
214
- T(p[0]) ? 2 : 3
215
- ).every((O) => O <= 0))[0]) == null ? void 0 : e[0]) || B[0][0];
216
- return R !== s ? {
217
- data: {
218
- index: u + 1,
219
- overflows: g
220
- },
221
- reset: {
222
- placement: R
223
- }
224
- } : {};
225
- }
226
- };
227
- }, oe = function(t) {
228
- return t === void 0 && (t = {}), {
229
- name: "flip",
230
- options: t,
231
- async fn(i) {
232
- var m, n;
233
- const {
234
- placement: e,
235
- middlewareData: l,
236
- rects: r,
237
- initialPlacement: s,
238
- platform: y,
239
- elements: v
240
- } = i, {
241
- mainAxis: d = !0,
242
- crossAxis: a = !0,
243
- fallbackPlacements: c,
244
- fallbackStrategy: o = "bestFit",
245
- fallbackAxisSideDirection: x = "none",
246
- flipAlignment: h = !0,
247
- ...w
248
- } = V(t, i);
249
- if ((m = l.arrow) != null && m.alignmentOffset)
250
- return {};
251
- const u = D(e), f = E(s), A = D(s) === s, P = await (y.isRTL == null ? void 0 : y.isRTL(v.floating)), g = c || (A || !h ? [J(s)] : K(s)), L = x !== "none";
252
- !c && L && g.push(...N(s, h, x, P));
253
- const B = [s, ...g], M = await I(i, w), R = [];
254
- let p = ((n = l.flip) == null ? void 0 : n.overflows) || [];
255
- if (d && R.push(M[u]), a) {
256
- const k = G(e, r, P);
257
- R.push(M[k[0]], M[k[1]]);
258
- }
259
- if (p = [...p, {
260
- placement: e,
261
- overflows: R
262
- }], !R.every((k) => k <= 0)) {
263
- var O, $;
264
- const k = (((O = l.flip) == null ? void 0 : O.index) || 0) + 1, _ = B[k];
265
- if (_ && (!(a === "alignment" ? f !== E(_) : !1) || // We leave the current main axis only if every placement on that axis
266
- // overflows the main axis.
267
- p.every((b) => E(b.placement) === f ? b.overflows[0] > 0 : !0)))
268
- return {
269
- data: {
270
- index: k,
271
- overflows: p
272
- },
273
- reset: {
274
- placement: _
275
- }
276
- };
277
- let F = ($ = p.filter((C) => C.overflows[0] <= 0).sort((C, b) => C.overflows[1] - b.overflows[1])[0]) == null ? void 0 : $.placement;
278
- if (!F)
279
- switch (o) {
280
- case "bestFit": {
281
- var j;
282
- const C = (j = p.filter((b) => {
283
- if (L) {
284
- const S = E(b.placement);
285
- return S === f || // Create a bias to the `y` side axis due to horizontal
286
- // reading directions favoring greater width.
287
- S === "y";
288
- }
289
- return !0;
290
- }).map((b) => [b.placement, b.overflows.filter((S) => S > 0).reduce((S, H) => S + H, 0)]).sort((b, S) => b[1] - S[1])[0]) == null ? void 0 : j[0];
291
- C && (F = C);
292
- break;
293
- }
294
- case "initialPlacement":
295
- F = s;
296
- break;
297
- }
298
- if (e !== F)
299
- return {
300
- reset: {
301
- placement: F
302
- }
303
- };
304
- }
305
- return {};
306
- }
307
- };
308
- }, ae = function(t) {
309
- return t === void 0 && (t = {}), {
310
- name: "shift",
311
- options: t,
312
- async fn(i) {
313
- const {
314
- x: m,
315
- y: n,
316
- placement: e
317
- } = i, {
318
- mainAxis: l = !0,
319
- crossAxis: r = !1,
320
- limiter: s = {
321
- fn: (w) => {
322
- let {
323
- x: u,
324
- y: f
325
- } = w;
326
- return {
327
- x: u,
328
- y: f
329
- };
330
- }
331
- },
332
- ...y
333
- } = V(t, i), v = {
334
- x: m,
335
- y: n
336
- }, d = await I(i, y), a = E(D(e)), c = U(a);
337
- let o = v[c], x = v[a];
338
- if (l) {
339
- const w = c === "y" ? "top" : "left", u = c === "y" ? "bottom" : "right", f = o + d[w], A = o - d[u];
340
- o = X(f, o, A);
341
- }
342
- if (r) {
343
- const w = a === "y" ? "top" : "left", u = a === "y" ? "bottom" : "right", f = x + d[w], A = x - d[u];
344
- x = X(f, x, A);
345
- }
346
- const h = s.fn({
347
- ...i,
348
- [c]: o,
349
- [a]: x
350
- });
351
- return {
352
- ...h,
353
- data: {
354
- x: h.x - m,
355
- y: h.y - n,
356
- enabled: {
357
- [c]: l,
358
- [a]: r
359
- }
360
- }
361
- };
362
- }
363
- };
364
- };
1
+ import { default as a } from "./kongponents.es240.js";
2
+ import t from "./kongponents.es241.js";
3
+ import { mutate as m } from "./kongponents.es241.js";
365
4
  export {
366
- le as autoPlacement,
367
- ie as computePosition,
368
- I as detectOverflow,
369
- oe as flip,
370
- q as rectToClientRect,
371
- ae as shift
5
+ a as SWRVCache,
6
+ t as default,
7
+ m as mutate
372
8
  };
@@ -1,132 +1,93 @@
1
- const p = ["top", "right", "bottom", "left"], l = ["start", "end"], L = /* @__PURE__ */ p.reduce((t, e) => t.concat(e, e + "-" + l[0], e + "-" + l[1]), []), h = Math.min, x = Math.max, E = Math.round, R = Math.floor, T = (t) => ({
2
- x: t,
3
- y: t
4
- }), b = {
5
- left: "right",
6
- right: "left",
7
- bottom: "top",
8
- top: "bottom"
9
- }, d = {
10
- start: "end",
11
- end: "start"
12
- };
13
- function k(t, e, n) {
14
- return x(t, h(e, n));
15
- }
16
- function q(t, e) {
17
- return typeof t == "function" ? t(e) : t;
18
- }
19
- function g(t) {
20
- return t.split("-")[0];
21
- }
22
- function m(t) {
23
- return t.split("-")[1];
24
- }
25
- function A(t) {
26
- return t === "x" ? "y" : "x";
27
- }
28
- function P(t) {
29
- return t === "y" ? "height" : "width";
30
- }
31
- const y = /* @__PURE__ */ new Set(["top", "bottom"]);
32
- function M(t) {
33
- return y.has(g(t)) ? "y" : "x";
34
- }
35
- function O(t) {
36
- return A(M(t));
37
- }
38
- function z(t, e, n) {
39
- n === void 0 && (n = !1);
40
- const r = m(t), i = O(t), o = P(i);
41
- let c = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
42
- return e.reference[o] > e.floating[o] && (c = f(c)), [c, f(c)];
43
- }
44
- function B(t) {
45
- const e = f(t);
46
- return [s(t), e, s(e)];
47
- }
48
- function s(t) {
49
- return t.replace(/start|end/g, (e) => d[e]);
50
- }
51
- const u = ["left", "right"], a = ["right", "left"], S = ["top", "bottom"], w = ["bottom", "top"];
52
- function j(t, e, n) {
53
- switch (t) {
54
- case "top":
55
- case "bottom":
56
- return n ? e ? a : u : e ? u : a;
57
- case "left":
58
- case "right":
59
- return e ? S : w;
60
- default:
61
- return [];
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.es220.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 }
14
+ },
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)
30
+ 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();
40
+ }
41
+ }
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));
62
89
  }
63
- }
64
- function D(t, e, n, r) {
65
- const i = m(t);
66
- let o = j(g(t), n === "start", r);
67
- return i && (o = o.map((c) => c + "-" + i), e && (o = o.concat(o.map(s)))), o;
68
- }
69
- function f(t) {
70
- return t.replace(/left|right|bottom|top/g, (e) => b[e]);
71
- }
72
- function C(t) {
73
- return {
74
- top: 0,
75
- right: 0,
76
- bottom: 0,
77
- left: 0,
78
- ...t
79
- };
80
- }
81
- function F(t) {
82
- return typeof t != "number" ? C(t) : {
83
- top: t,
84
- right: t,
85
- bottom: t,
86
- left: t
87
- };
88
- }
89
- function G(t) {
90
- const {
91
- x: e,
92
- y: n,
93
- width: r,
94
- height: i
95
- } = t;
96
- return {
97
- width: r,
98
- height: i,
99
- top: n,
100
- left: e,
101
- right: e + r,
102
- bottom: n + i,
103
- x: e,
104
- y: n
105
- };
106
- }
90
+ });
107
91
  export {
108
- l as alignments,
109
- k as clamp,
110
- T as createCoords,
111
- q as evaluate,
112
- C as expandPaddingObject,
113
- R as floor,
114
- m as getAlignment,
115
- O as getAlignmentAxis,
116
- z as getAlignmentSides,
117
- P as getAxisLength,
118
- B as getExpandedPlacements,
119
- s as getOppositeAlignmentPlacement,
120
- A as getOppositeAxis,
121
- D as getOppositeAxisPlacements,
122
- f as getOppositePlacement,
123
- F as getPaddingObject,
124
- g as getSide,
125
- M as getSideAxis,
126
- x as max,
127
- h as min,
128
- L as placements,
129
- G as rectToClientRect,
130
- E as round,
131
- p as sides
92
+ q as default
132
93
  };
@@ -0,0 +1,43 @@
1
+ import { defineComponent as r, createElementBlock as c, openBlock as u, createElementVNode as l, withKeys as s, normalizeClass as v, withModifiers as n, renderSlot as w, createTextVNode as b, toDisplayString as f } from "vue";
2
+ const k = ["aria-selected", "data-testid"], y = { class: "multiselect-item-container" }, $ = ["disabled", "value"], h = { class: "multiselect-item-label" }, K = /* @__PURE__ */ r({
3
+ __name: "KMultiselectItem",
4
+ props: {
5
+ item: {}
6
+ },
7
+ emits: ["selected", "arrow-down", "arrow-up"],
8
+ setup(e, { emit: d }) {
9
+ const o = d, a = () => {
10
+ e.item.disabled || o("selected", e.item);
11
+ };
12
+ return (i, t) => (u(), c("div", {
13
+ key: e.item.key,
14
+ "aria-selected": e.item.selected,
15
+ class: "multiselect-item",
16
+ "data-testid": `multiselect-item-${e.item.value}`,
17
+ role: "option"
18
+ }, [
19
+ l("div", y, [
20
+ l("button", {
21
+ class: v({ selected: e.item.selected }),
22
+ disabled: e.item.disabled === !0 ? !0 : void 0,
23
+ type: "button",
24
+ value: e.item.value,
25
+ onClick: a,
26
+ onKeydown: [
27
+ t[0] || (t[0] = s(n((m) => i.$emit("arrow-down"), ["prevent"]), ["down"])),
28
+ t[1] || (t[1] = s(n((m) => i.$emit("arrow-up"), ["prevent"]), ["up"]))
29
+ ]
30
+ }, [
31
+ l("span", h, [
32
+ w(i.$slots, "content", {}, () => [
33
+ b(f(e.item.label), 1)
34
+ ], !0)
35
+ ])
36
+ ], 42, $)
37
+ ])
38
+ ], 8, k));
39
+ }
40
+ });
41
+ export {
42
+ K as default
43
+ };