@kong/kongponents 9.46.10 → 9.46.11-pr.2997.fe2b1b2.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 (711) 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 +11 -11
  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 +11 -11
  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.es151.js +1 -1
  19. package/dist/kongponents.es154.js +4 -4
  20. package/dist/kongponents.es156.js +5 -5
  21. package/dist/kongponents.es158.js +3 -3
  22. package/dist/kongponents.es160.js +13 -13
  23. package/dist/kongponents.es165.js +18 -117
  24. package/dist/kongponents.es166.js +9 -119
  25. package/dist/kongponents.es167.js +7 -118
  26. package/dist/kongponents.es168.js +4 -119
  27. package/dist/kongponents.es169.js +3 -119
  28. package/dist/kongponents.es170.js +9 -119
  29. package/dist/kongponents.es171.js +119 -18
  30. package/dist/kongponents.es172.js +117 -18
  31. package/dist/kongponents.es173.js +119 -9
  32. package/dist/kongponents.es174.js +118 -7
  33. package/dist/kongponents.es175.js +119 -4
  34. package/dist/kongponents.es176.js +119 -3
  35. package/dist/kongponents.es177.js +18 -9
  36. package/dist/kongponents.es178.js +4 -107
  37. package/dist/kongponents.es179.js +102 -113
  38. package/dist/kongponents.es180.js +7 -119
  39. package/dist/kongponents.es181.js +5 -119
  40. package/dist/kongponents.es182.js +185 -115
  41. package/dist/kongponents.es183.js +96 -113
  42. package/dist/kongponents.es184.js +178 -112
  43. package/dist/kongponents.es185.js +23 -118
  44. package/dist/kongponents.es186.js +18 -18
  45. package/dist/kongponents.es187.js +4 -4
  46. package/dist/kongponents.es188.js +5 -5
  47. package/dist/kongponents.es189.js +19 -19
  48. package/dist/kongponents.es19.js +1 -1
  49. package/dist/kongponents.es190.js +24 -23
  50. package/dist/kongponents.es191.js +5 -119
  51. package/dist/kongponents.es192.js +2 -2
  52. package/dist/kongponents.es193.js +5 -18
  53. package/dist/kongponents.es194.js +5 -185
  54. package/dist/kongponents.es195.js +5 -10
  55. package/dist/kongponents.es196.js +4 -4
  56. package/dist/kongponents.es197.js +36 -36
  57. package/dist/kongponents.es198.js +31 -31
  58. package/dist/kongponents.es199.js +5 -119
  59. package/dist/kongponents.es200.js +4 -4
  60. package/dist/kongponents.es201.js +111 -116
  61. package/dist/kongponents.es202.js +13 -115
  62. package/dist/kongponents.es203.js +393 -116
  63. package/dist/kongponents.es204.js +118 -23
  64. package/dist/kongponents.es205.js +5 -119
  65. package/dist/kongponents.es206.js +119 -5
  66. package/dist/kongponents.es207.js +119 -15
  67. package/dist/kongponents.es208.js +5 -102
  68. package/dist/kongponents.es209.js +119 -7
  69. package/dist/kongponents.es21.js +8 -8
  70. package/dist/kongponents.es210.js +115 -185
  71. package/dist/kongponents.es211.js +121 -0
  72. package/dist/kongponents.es212.js +5 -119
  73. package/dist/kongponents.es213.js +18 -5
  74. package/dist/kongponents.es214.js +9 -7
  75. package/dist/kongponents.es215.js +118 -59
  76. package/dist/kongponents.es216.js +119 -5
  77. package/dist/kongponents.es217.js +119 -5
  78. package/dist/kongponents.es218.js +317 -5
  79. package/dist/kongponents.es219.js +39 -5
  80. package/dist/kongponents.es220.js +98 -5
  81. package/dist/kongponents.es221.js +119 -5
  82. package/dist/kongponents.es222.js +23 -24
  83. package/dist/kongponents.es223.js +115 -313
  84. package/dist/kongponents.es224.js +118 -38
  85. package/dist/kongponents.es225.js +46 -92
  86. package/dist/kongponents.es226.js +18 -18
  87. package/dist/kongponents.es227.js +5 -119
  88. package/dist/kongponents.es228.js +14 -14
  89. package/dist/kongponents.es229.js +18 -18
  90. package/dist/kongponents.es230.js +117 -50
  91. package/dist/kongponents.es231.js +116 -111
  92. package/dist/kongponents.es233.js +116 -393
  93. package/dist/kongponents.es234.js +5 -119
  94. package/dist/kongponents.es235.js +8 -5
  95. package/dist/kongponents.es236.js +60 -5
  96. package/dist/kongponents.es237.js +15 -5
  97. package/dist/kongponents.es238.js +119 -5
  98. package/dist/kongponents.es239.js +2 -40
  99. package/dist/kongponents.es24.js +1 -1
  100. package/dist/kongponents.es240.js +126 -312
  101. package/dist/kongponents.es241.js +2 -176
  102. package/dist/kongponents.es243.js +469 -50
  103. package/dist/kongponents.es244.js +42 -0
  104. package/dist/kongponents.es245.js +319 -23
  105. package/dist/kongponents.es246.js +93 -0
  106. package/dist/kongponents.es251.js +2 -23
  107. package/dist/{kongponents.es261.js → kongponents.es252.js} +1 -1
  108. package/dist/kongponents.es253.js +114 -40
  109. package/dist/{kongponents.es263.js → kongponents.es254.js} +1 -1
  110. package/dist/kongponents.es255.js +6 -41
  111. package/dist/kongponents.es256.js +26 -0
  112. package/dist/{kongponents.es247.js → kongponents.es258.js} +2 -2
  113. package/dist/kongponents.es26.js +4 -4
  114. package/dist/kongponents.es260.js +34 -2
  115. package/dist/kongponents.es262.js +21 -117
  116. package/dist/kongponents.es264.js +40 -51
  117. package/dist/kongponents.es266.js +43 -0
  118. package/dist/kongponents.es268.js +97 -0
  119. package/dist/kongponents.es270.js +42 -468
  120. package/dist/kongponents.es272.js +369 -4
  121. package/dist/kongponents.es273.js +129 -4
  122. package/dist/kongponents.es274.js +175 -19
  123. package/dist/kongponents.es276.js +218 -5
  124. package/dist/kongponents.es277.js +177 -6
  125. package/dist/kongponents.es279.js +52 -6
  126. package/dist/kongponents.es28.js +3 -3
  127. package/dist/kongponents.es281.js +55 -16
  128. package/dist/kongponents.es283.js +5 -8
  129. package/dist/kongponents.es284.js +5 -7
  130. package/dist/kongponents.es285.js +19 -3
  131. package/dist/kongponents.es286.js +4 -2
  132. package/dist/kongponents.es287.js +4 -5
  133. package/dist/kongponents.es288.js +5 -9
  134. package/dist/kongponents.es289.js +8 -4
  135. package/dist/kongponents.es290.js +5 -3
  136. package/dist/kongponents.es291.js +4 -3
  137. package/dist/kongponents.es292.js +16 -3
  138. package/dist/kongponents.es293.js +3 -7
  139. package/dist/kongponents.es294.js +8 -7
  140. package/dist/kongponents.es295.js +6 -4
  141. package/dist/kongponents.es296.js +3 -9
  142. package/dist/kongponents.es297.js +2 -6
  143. package/dist/kongponents.es298.js +6 -9
  144. package/dist/kongponents.es299.js +9 -6
  145. package/dist/kongponents.es300.js +4 -17
  146. package/dist/kongponents.es301.js +4 -12
  147. package/dist/kongponents.es302.js +3 -7
  148. package/dist/kongponents.es303.js +3 -12
  149. package/dist/kongponents.es304.js +7 -9
  150. package/dist/kongponents.es305.js +6 -5
  151. package/dist/kongponents.es306.js +5 -9
  152. package/dist/kongponents.es307.js +9 -15
  153. package/dist/kongponents.es308.js +5 -17
  154. package/dist/kongponents.es309.js +9 -6
  155. package/dist/kongponents.es310.js +6 -10
  156. package/dist/kongponents.es311.js +17 -6
  157. package/dist/kongponents.es312.js +11 -7
  158. package/dist/kongponents.es313.js +6 -5
  159. package/dist/kongponents.es314.js +12 -6
  160. package/dist/kongponents.es315.js +9 -9
  161. package/dist/kongponents.es316.js +5 -7
  162. package/dist/kongponents.es317.js +8 -3
  163. package/dist/kongponents.es318.js +15 -5
  164. package/dist/kongponents.es319.js +17 -15
  165. package/dist/kongponents.es320.js +5 -133
  166. package/dist/kongponents.es321.js +11 -2
  167. package/dist/kongponents.es322.js +7 -95
  168. package/dist/kongponents.es323.js +10 -0
  169. package/dist/kongponents.es324.js +6 -45
  170. package/dist/kongponents.es325.js +9 -0
  171. package/dist/kongponents.es326.js +10 -2
  172. package/dist/kongponents.es327.js +6 -1555
  173. package/dist/kongponents.es328.js +4 -5
  174. package/dist/kongponents.es329.js +6 -6
  175. package/dist/kongponents.es330.js +16 -91
  176. package/dist/{kongponents.es257.js → kongponents.es331.js} +1 -1
  177. package/dist/kongponents.es333.js +1559 -0
  178. package/dist/kongponents.es334.js +5 -9
  179. package/dist/kongponents.es335.js +6 -7
  180. package/dist/kongponents.es336.js +2 -8
  181. package/dist/kongponents.es337.js +8 -4
  182. package/dist/kongponents.es338.js +6 -9
  183. package/dist/kongponents.es339.js +6 -7
  184. package/dist/kongponents.es340.js +4 -636
  185. package/dist/kongponents.es341.js +10 -74
  186. package/dist/kongponents.es342.js +8 -4
  187. package/dist/kongponents.es343.js +634 -17
  188. package/dist/kongponents.es344.js +74 -5
  189. package/dist/kongponents.es345.js +5 -18
  190. package/dist/kongponents.es346.js +19 -7
  191. package/dist/kongponents.es347.js +4 -5
  192. package/dist/kongponents.es348.js +18 -9
  193. package/dist/kongponents.es349.js +6 -6
  194. package/dist/kongponents.es350.js +5 -4
  195. package/dist/kongponents.es351.js +8 -20
  196. package/dist/kongponents.es352.js +8 -5
  197. package/dist/kongponents.es353.js +4 -110
  198. package/dist/kongponents.es354.js +20 -171
  199. package/dist/kongponents.es355.js +5 -5
  200. package/dist/kongponents.es356.js +110 -6
  201. package/dist/kongponents.es357.js +172 -5
  202. package/dist/kongponents.es358.js +4 -4
  203. package/dist/kongponents.es359.js +6 -69
  204. package/dist/kongponents.es360.js +5 -2
  205. package/dist/kongponents.es361.js +5 -218
  206. package/dist/kongponents.es362.js +69 -7
  207. package/dist/kongponents.es363.js +2 -6
  208. package/dist/kongponents.es364.js +94 -8
  209. package/dist/kongponents.es366.js +5772 -8
  210. package/dist/kongponents.es367.js +7 -14
  211. package/dist/kongponents.es368.js +6 -3
  212. package/dist/kongponents.es369.js +8 -7
  213. package/dist/kongponents.es370.js +10 -3
  214. package/dist/kongponents.es371.js +13 -9
  215. package/dist/kongponents.es372.js +5 -7
  216. package/dist/kongponents.es373.js +3 -6
  217. package/dist/kongponents.es374.js +8 -2
  218. package/dist/kongponents.es375.js +3 -13
  219. package/dist/kongponents.es376.js +10 -4
  220. package/dist/kongponents.es377.js +8 -3
  221. package/dist/kongponents.es378.js +6 -26
  222. package/dist/kongponents.es379.js +2 -4
  223. package/dist/kongponents.es380.js +12 -3
  224. package/dist/kongponents.es381.js +5 -4
  225. package/dist/kongponents.es382.js +3 -4
  226. package/dist/kongponents.es383.js +26 -4
  227. package/dist/kongponents.es384.js +3 -14
  228. package/dist/kongponents.es385.js +4 -6
  229. package/dist/kongponents.es386.js +4 -30
  230. package/dist/kongponents.es387.js +4 -27
  231. package/dist/kongponents.es388.js +4 -16
  232. package/dist/kongponents.es389.js +13 -8
  233. package/dist/kongponents.es390.js +5 -4
  234. package/dist/kongponents.es391.js +29 -13
  235. package/dist/kongponents.es392.js +26 -8
  236. package/dist/kongponents.es393.js +16 -3
  237. package/dist/kongponents.es394.js +9 -5
  238. package/dist/kongponents.es395.js +4 -5
  239. package/dist/kongponents.es396.js +13 -7
  240. package/dist/kongponents.es397.js +8 -5
  241. package/dist/kongponents.es398.js +2 -10
  242. package/dist/kongponents.es399.js +5 -5
  243. package/dist/kongponents.es400.js +5 -4
  244. package/dist/kongponents.es401.js +7 -4
  245. package/dist/kongponents.es402.js +5 -5
  246. package/dist/kongponents.es403.js +11 -8
  247. package/dist/kongponents.es404.js +5 -6
  248. package/dist/kongponents.es405.js +5 -10
  249. package/dist/kongponents.es406.js +4 -6
  250. package/dist/kongponents.es407.js +5 -21
  251. package/dist/kongponents.es408.js +8 -7
  252. package/dist/kongponents.es409.js +6 -6
  253. package/dist/kongponents.es410.js +10 -7
  254. package/dist/kongponents.es411.js +6 -8
  255. package/dist/kongponents.es412.js +20 -368
  256. package/dist/kongponents.es413.js +6 -129
  257. package/dist/kongponents.es414.js +5 -5772
  258. package/dist/kongponents.es415.js +7 -95
  259. package/dist/kongponents.es416.js +11 -0
  260. package/dist/kongponents.es420.js +2 -2
  261. package/dist/kongponents.es421.js +2 -2
  262. package/dist/kongponents.es422.js +2 -2
  263. package/dist/kongponents.es423.js +2 -2
  264. package/dist/kongponents.es424.js +4 -4
  265. package/dist/kongponents.es427.js +1 -1
  266. package/dist/kongponents.es443.js +16 -63
  267. package/dist/kongponents.es444.js +2 -5
  268. package/dist/kongponents.es445.js +13 -13
  269. package/dist/kongponents.es446.js +65 -2
  270. package/dist/kongponents.es447.js +4 -17
  271. package/dist/kongponents.es450.js +1 -1
  272. package/dist/kongponents.es456.js +2 -2
  273. package/dist/kongponents.es457.js +2 -2
  274. package/dist/kongponents.es458.js +2 -2
  275. package/dist/kongponents.es459.js +1 -1
  276. package/dist/kongponents.es463.js +1 -1
  277. package/dist/kongponents.es464.js +4 -4
  278. package/dist/kongponents.es466.js +1 -1
  279. package/dist/kongponents.es469.js +2 -2
  280. package/dist/kongponents.es470.js +1 -1
  281. package/dist/kongponents.es471.js +4 -4
  282. package/dist/kongponents.es472.js +3 -3
  283. package/dist/kongponents.es480.js +1 -1
  284. package/dist/kongponents.es482.js +1 -1
  285. package/dist/kongponents.es507.js +1 -1
  286. package/dist/kongponents.es516.js +7 -7
  287. package/dist/kongponents.es517.js +1 -1
  288. package/dist/kongponents.es518.js +4 -4
  289. package/dist/kongponents.es519.js +6 -6
  290. package/dist/kongponents.es523.js +1 -1
  291. package/dist/kongponents.es524.js +1 -1
  292. package/dist/kongponents.es525.js +1 -1
  293. package/dist/kongponents.es526.js +6 -6
  294. package/dist/kongponents.es527.js +1 -1
  295. package/dist/kongponents.es528.js +1 -1
  296. package/dist/kongponents.es529.js +6 -6
  297. package/dist/kongponents.es530.js +8 -8
  298. package/dist/kongponents.es531.js +6 -6
  299. package/dist/kongponents.es532.js +1 -1
  300. package/dist/kongponents.es537.js +2 -2
  301. package/dist/kongponents.es538.js +2 -2
  302. package/dist/kongponents.es557.js +1 -1
  303. package/dist/kongponents.es559.js +20 -3
  304. package/dist/kongponents.es560.js +7 -3
  305. package/dist/kongponents.es561.js +3 -15
  306. package/dist/kongponents.es562.js +6 -3
  307. package/dist/kongponents.es563.js +7 -9
  308. package/dist/kongponents.es564.js +5 -4
  309. package/dist/kongponents.es565.js +4 -6
  310. package/dist/kongponents.es566.js +7 -9
  311. package/dist/kongponents.es567.js +14 -6
  312. package/dist/kongponents.es568.js +9 -4
  313. package/dist/kongponents.es569.js +4 -3
  314. package/dist/kongponents.es570.js +5 -4
  315. package/dist/kongponents.es571.js +6 -11
  316. package/dist/kongponents.es572.js +30 -9
  317. package/dist/kongponents.es573.js +34 -30
  318. package/dist/kongponents.es574.js +51 -24
  319. package/dist/kongponents.es575.js +8 -51
  320. package/dist/kongponents.es576.js +4 -3
  321. package/dist/kongponents.es577.js +5 -8
  322. package/dist/kongponents.es578.js +3 -20
  323. package/dist/kongponents.es579.js +15 -7
  324. package/dist/kongponents.es580.js +3 -6
  325. package/dist/kongponents.es581.js +9 -5
  326. package/dist/kongponents.es582.js +3 -7
  327. package/dist/kongponents.es583.js +11 -15
  328. package/dist/kongponents.es584.js +8 -3
  329. package/dist/kongponents.es585.js +24 -6
  330. package/dist/kongponents.es586.js +3 -34
  331. package/dist/kongponents.es587.js +8 -8
  332. package/dist/kongponents.es601.js +1 -1
  333. package/dist/kongponents.es602.js +1 -1
  334. package/dist/kongponents.es604.js +3 -3
  335. package/dist/kongponents.es605.js +4 -4
  336. package/dist/kongponents.es72.js +7 -7
  337. package/dist/kongponents.es75.js +1 -1
  338. package/dist/kongponents.es77.js +1 -1
  339. package/dist/kongponents.es83.js +1 -1
  340. package/dist/kongponents.es87.js +3 -3
  341. package/dist/kongponents.es89.js +16 -16
  342. package/dist/kongponents.es94.js +2 -2
  343. package/dist/kongponents.es96.js +6 -6
  344. package/dist/kongponents.es99.js +2 -2
  345. package/dist/kongponents105.cjs +1 -1
  346. package/dist/kongponents107.cjs +1 -1
  347. package/dist/kongponents109.cjs +1 -1
  348. package/dist/kongponents113.cjs +1 -1
  349. package/dist/kongponents115.cjs +1 -1
  350. package/dist/kongponents117.cjs +1 -1
  351. package/dist/kongponents119.cjs +1 -1
  352. package/dist/kongponents122.cjs +1 -1
  353. package/dist/kongponents124.cjs +1 -1
  354. package/dist/kongponents128.cjs +1 -1
  355. package/dist/kongponents130.cjs +1 -1
  356. package/dist/kongponents132.cjs +1 -1
  357. package/dist/kongponents139.cjs +1 -1
  358. package/dist/kongponents141.cjs +1 -1
  359. package/dist/kongponents143.cjs +1 -1
  360. package/dist/kongponents147.cjs +1 -1
  361. package/dist/kongponents149.cjs +1 -1
  362. package/dist/kongponents151.cjs +1 -1
  363. package/dist/kongponents154.cjs +1 -1
  364. package/dist/kongponents156.cjs +1 -1
  365. package/dist/kongponents158.cjs +1 -1
  366. package/dist/kongponents160.cjs +1 -1
  367. package/dist/kongponents165.cjs +1 -1
  368. package/dist/kongponents166.cjs +1 -1
  369. package/dist/kongponents167.cjs +1 -1
  370. package/dist/kongponents168.cjs +1 -1
  371. package/dist/kongponents169.cjs +1 -1
  372. package/dist/kongponents170.cjs +1 -1
  373. package/dist/kongponents171.cjs +1 -1
  374. package/dist/kongponents172.cjs +1 -1
  375. package/dist/kongponents173.cjs +1 -1
  376. package/dist/kongponents174.cjs +1 -1
  377. package/dist/kongponents175.cjs +1 -1
  378. package/dist/kongponents176.cjs +1 -1
  379. package/dist/kongponents177.cjs +1 -1
  380. package/dist/kongponents178.cjs +1 -1
  381. package/dist/kongponents179.cjs +1 -1
  382. package/dist/kongponents180.cjs +1 -1
  383. package/dist/kongponents181.cjs +1 -1
  384. package/dist/kongponents182.cjs +1 -1
  385. package/dist/kongponents183.cjs +5 -1
  386. package/dist/kongponents184.cjs +1 -1
  387. package/dist/kongponents185.cjs +1 -1
  388. package/dist/kongponents186.cjs +1 -1
  389. package/dist/kongponents187.cjs +1 -1
  390. package/dist/kongponents188.cjs +1 -1
  391. package/dist/kongponents189.cjs +1 -1
  392. package/dist/kongponents19.cjs +1 -1
  393. package/dist/kongponents190.cjs +2 -1
  394. package/dist/kongponents191.cjs +1 -1
  395. package/dist/kongponents192.cjs +1 -1
  396. package/dist/kongponents193.cjs +1 -1
  397. package/dist/kongponents194.cjs +1 -1
  398. package/dist/kongponents195.cjs +1 -1
  399. package/dist/kongponents196.cjs +1 -1
  400. package/dist/kongponents197.cjs +1 -1
  401. package/dist/kongponents198.cjs +1 -1
  402. package/dist/kongponents199.cjs +1 -1
  403. package/dist/kongponents200.cjs +1 -1
  404. package/dist/kongponents201.cjs +1 -1
  405. package/dist/kongponents202.cjs +1 -1
  406. package/dist/kongponents203.cjs +1 -1
  407. package/dist/kongponents204.cjs +1 -1
  408. package/dist/kongponents205.cjs +1 -1
  409. package/dist/kongponents206.cjs +1 -1
  410. package/dist/kongponents207.cjs +1 -1
  411. package/dist/kongponents208.cjs +1 -5
  412. package/dist/kongponents209.cjs +1 -1
  413. package/dist/kongponents21.cjs +1 -1
  414. package/dist/kongponents210.cjs +1 -1
  415. package/dist/kongponents211.cjs +1 -0
  416. package/dist/kongponents212.cjs +1 -1
  417. package/dist/kongponents213.cjs +1 -1
  418. package/dist/kongponents214.cjs +1 -1
  419. package/dist/kongponents215.cjs +1 -1
  420. package/dist/kongponents216.cjs +1 -1
  421. package/dist/kongponents217.cjs +1 -1
  422. package/dist/kongponents218.cjs +1 -1
  423. package/dist/kongponents219.cjs +1 -1
  424. package/dist/kongponents220.cjs +2 -1
  425. package/dist/kongponents221.cjs +1 -1
  426. package/dist/kongponents222.cjs +1 -2
  427. package/dist/kongponents223.cjs +1 -1
  428. package/dist/kongponents224.cjs +1 -1
  429. package/dist/kongponents225.cjs +1 -2
  430. package/dist/kongponents226.cjs +1 -1
  431. package/dist/kongponents227.cjs +1 -1
  432. package/dist/kongponents228.cjs +1 -1
  433. package/dist/kongponents229.cjs +1 -1
  434. package/dist/kongponents230.cjs +1 -1
  435. package/dist/kongponents231.cjs +1 -1
  436. package/dist/kongponents233.cjs +1 -1
  437. package/dist/kongponents234.cjs +1 -1
  438. package/dist/kongponents235.cjs +1 -1
  439. package/dist/kongponents236.cjs +1 -1
  440. package/dist/kongponents237.cjs +1 -1
  441. package/dist/kongponents238.cjs +1 -1
  442. package/dist/kongponents239.cjs +1 -1
  443. package/dist/kongponents24.cjs +1 -1
  444. package/dist/kongponents240.cjs +1 -1
  445. package/dist/kongponents241.cjs +1 -1
  446. package/dist/kongponents243.cjs +5 -1
  447. package/dist/kongponents244.cjs +1 -0
  448. package/dist/kongponents245.cjs +1 -1
  449. package/dist/kongponents246.cjs +1 -0
  450. package/dist/kongponents251.cjs +1 -1
  451. package/dist/{kongponents261.cjs → kongponents252.cjs} +1 -1
  452. package/dist/kongponents253.cjs +1 -1
  453. package/dist/{kongponents263.cjs → kongponents254.cjs} +1 -1
  454. package/dist/kongponents255.cjs +1 -1
  455. package/dist/kongponents256.cjs +1 -0
  456. package/dist/{kongponents247.cjs → kongponents258.cjs} +1 -1
  457. package/dist/kongponents26.cjs +1 -1
  458. package/dist/kongponents260.cjs +1 -1
  459. package/dist/kongponents262.cjs +1 -1
  460. package/dist/kongponents264.cjs +1 -1
  461. package/dist/kongponents266.cjs +1 -0
  462. package/dist/kongponents268.cjs +1 -0
  463. package/dist/kongponents270.cjs +1 -5
  464. package/dist/kongponents272.cjs +1 -1
  465. package/dist/kongponents273.cjs +1 -1
  466. package/dist/kongponents274.cjs +1 -1
  467. package/dist/kongponents276.cjs +4 -1
  468. package/dist/kongponents277.cjs +1 -1
  469. package/dist/kongponents279.cjs +1 -1
  470. package/dist/kongponents28.cjs +1 -1
  471. package/dist/kongponents281.cjs +1 -1
  472. package/dist/kongponents283.cjs +1 -1
  473. package/dist/kongponents284.cjs +1 -1
  474. package/dist/kongponents285.cjs +1 -1
  475. package/dist/kongponents286.cjs +1 -1
  476. package/dist/kongponents287.cjs +1 -1
  477. package/dist/kongponents288.cjs +1 -1
  478. package/dist/kongponents289.cjs +1 -1
  479. package/dist/kongponents290.cjs +1 -1
  480. package/dist/kongponents291.cjs +1 -1
  481. package/dist/kongponents292.cjs +1 -1
  482. package/dist/kongponents293.cjs +1 -1
  483. package/dist/kongponents294.cjs +1 -1
  484. package/dist/kongponents295.cjs +1 -1
  485. package/dist/kongponents296.cjs +1 -1
  486. package/dist/kongponents297.cjs +1 -1
  487. package/dist/kongponents298.cjs +1 -1
  488. package/dist/kongponents299.cjs +1 -1
  489. package/dist/kongponents300.cjs +1 -1
  490. package/dist/kongponents301.cjs +1 -1
  491. package/dist/kongponents302.cjs +1 -1
  492. package/dist/kongponents303.cjs +1 -1
  493. package/dist/kongponents304.cjs +1 -1
  494. package/dist/kongponents305.cjs +1 -1
  495. package/dist/kongponents306.cjs +1 -1
  496. package/dist/kongponents307.cjs +1 -1
  497. package/dist/kongponents308.cjs +1 -1
  498. package/dist/kongponents309.cjs +1 -1
  499. package/dist/kongponents310.cjs +1 -1
  500. package/dist/kongponents311.cjs +1 -1
  501. package/dist/kongponents312.cjs +1 -1
  502. package/dist/kongponents313.cjs +1 -1
  503. package/dist/kongponents314.cjs +1 -1
  504. package/dist/kongponents315.cjs +1 -1
  505. package/dist/kongponents316.cjs +1 -1
  506. package/dist/kongponents317.cjs +1 -1
  507. package/dist/kongponents318.cjs +1 -1
  508. package/dist/kongponents319.cjs +1 -1
  509. package/dist/kongponents320.cjs +1 -1
  510. package/dist/kongponents321.cjs +1 -1
  511. package/dist/kongponents322.cjs +1 -1
  512. package/dist/kongponents323.cjs +1 -0
  513. package/dist/kongponents324.cjs +1 -1
  514. package/dist/kongponents325.cjs +1 -0
  515. package/dist/kongponents326.cjs +1 -1
  516. package/dist/kongponents327.cjs +1 -10
  517. package/dist/kongponents328.cjs +1 -1
  518. package/dist/kongponents329.cjs +1 -1
  519. package/dist/kongponents330.cjs +1 -1
  520. package/dist/{kongponents257.cjs → kongponents331.cjs} +1 -1
  521. package/dist/kongponents333.cjs +10 -0
  522. package/dist/kongponents334.cjs +1 -1
  523. package/dist/kongponents335.cjs +1 -1
  524. package/dist/kongponents336.cjs +1 -1
  525. package/dist/kongponents337.cjs +1 -1
  526. package/dist/kongponents338.cjs +1 -1
  527. package/dist/kongponents339.cjs +1 -1
  528. package/dist/kongponents340.cjs +1 -1
  529. package/dist/kongponents341.cjs +1 -1
  530. package/dist/kongponents342.cjs +1 -1
  531. package/dist/kongponents343.cjs +1 -1
  532. package/dist/kongponents344.cjs +1 -1
  533. package/dist/kongponents345.cjs +1 -1
  534. package/dist/kongponents346.cjs +1 -1
  535. package/dist/kongponents347.cjs +1 -1
  536. package/dist/kongponents348.cjs +1 -1
  537. package/dist/kongponents349.cjs +1 -1
  538. package/dist/kongponents350.cjs +1 -1
  539. package/dist/kongponents351.cjs +1 -1
  540. package/dist/kongponents352.cjs +1 -1
  541. package/dist/kongponents353.cjs +1 -1
  542. package/dist/kongponents354.cjs +1 -1
  543. package/dist/kongponents355.cjs +1 -1
  544. package/dist/kongponents356.cjs +1 -1
  545. package/dist/kongponents357.cjs +1 -1
  546. package/dist/kongponents358.cjs +1 -1
  547. package/dist/kongponents359.cjs +1 -1
  548. package/dist/kongponents360.cjs +1 -1
  549. package/dist/kongponents361.cjs +1 -4
  550. package/dist/kongponents362.cjs +1 -1
  551. package/dist/kongponents363.cjs +1 -1
  552. package/dist/kongponents364.cjs +1 -1
  553. package/dist/kongponents366.cjs +1 -1
  554. package/dist/kongponents367.cjs +1 -1
  555. package/dist/kongponents368.cjs +1 -1
  556. package/dist/kongponents369.cjs +1 -1
  557. package/dist/kongponents370.cjs +1 -1
  558. package/dist/kongponents371.cjs +1 -1
  559. package/dist/kongponents372.cjs +1 -1
  560. package/dist/kongponents373.cjs +1 -1
  561. package/dist/kongponents374.cjs +1 -1
  562. package/dist/kongponents375.cjs +1 -1
  563. package/dist/kongponents376.cjs +1 -1
  564. package/dist/kongponents377.cjs +1 -1
  565. package/dist/kongponents378.cjs +1 -1
  566. package/dist/kongponents379.cjs +1 -1
  567. package/dist/kongponents380.cjs +1 -1
  568. package/dist/kongponents381.cjs +1 -1
  569. package/dist/kongponents382.cjs +1 -1
  570. package/dist/kongponents383.cjs +1 -1
  571. package/dist/kongponents384.cjs +1 -1
  572. package/dist/kongponents385.cjs +1 -1
  573. package/dist/kongponents386.cjs +1 -1
  574. package/dist/kongponents387.cjs +1 -1
  575. package/dist/kongponents388.cjs +1 -1
  576. package/dist/kongponents389.cjs +1 -1
  577. package/dist/kongponents390.cjs +1 -1
  578. package/dist/kongponents391.cjs +1 -1
  579. package/dist/kongponents392.cjs +1 -1
  580. package/dist/kongponents393.cjs +1 -1
  581. package/dist/kongponents394.cjs +1 -1
  582. package/dist/kongponents395.cjs +1 -1
  583. package/dist/kongponents396.cjs +1 -1
  584. package/dist/kongponents397.cjs +1 -1
  585. package/dist/kongponents398.cjs +1 -1
  586. package/dist/kongponents399.cjs +1 -1
  587. package/dist/kongponents400.cjs +1 -1
  588. package/dist/kongponents401.cjs +1 -1
  589. package/dist/kongponents402.cjs +1 -1
  590. package/dist/kongponents403.cjs +1 -1
  591. package/dist/kongponents404.cjs +1 -1
  592. package/dist/kongponents405.cjs +1 -1
  593. package/dist/kongponents406.cjs +1 -1
  594. package/dist/kongponents407.cjs +1 -1
  595. package/dist/kongponents408.cjs +1 -1
  596. package/dist/kongponents409.cjs +1 -1
  597. package/dist/kongponents410.cjs +1 -1
  598. package/dist/kongponents411.cjs +1 -1
  599. package/dist/kongponents412.cjs +1 -1
  600. package/dist/kongponents413.cjs +1 -1
  601. package/dist/kongponents414.cjs +1 -1
  602. package/dist/kongponents415.cjs +1 -1
  603. package/dist/kongponents416.cjs +1 -0
  604. package/dist/kongponents420.cjs +1 -1
  605. package/dist/kongponents421.cjs +1 -1
  606. package/dist/kongponents422.cjs +1 -1
  607. package/dist/kongponents423.cjs +1 -1
  608. package/dist/kongponents424.cjs +1 -1
  609. package/dist/kongponents427.cjs +1 -1
  610. package/dist/kongponents443.cjs +1 -1
  611. package/dist/kongponents444.cjs +1 -1
  612. package/dist/kongponents445.cjs +1 -1
  613. package/dist/kongponents446.cjs +1 -1
  614. package/dist/kongponents447.cjs +1 -1
  615. package/dist/kongponents450.cjs +1 -1
  616. package/dist/kongponents456.cjs +1 -1
  617. package/dist/kongponents457.cjs +1 -1
  618. package/dist/kongponents458.cjs +1 -1
  619. package/dist/kongponents459.cjs +1 -1
  620. package/dist/kongponents463.cjs +1 -1
  621. package/dist/kongponents464.cjs +1 -1
  622. package/dist/kongponents466.cjs +1 -1
  623. package/dist/kongponents469.cjs +1 -1
  624. package/dist/kongponents470.cjs +1 -1
  625. package/dist/kongponents471.cjs +1 -1
  626. package/dist/kongponents472.cjs +1 -1
  627. package/dist/kongponents480.cjs +1 -1
  628. package/dist/kongponents482.cjs +1 -1
  629. package/dist/kongponents507.cjs +1 -1
  630. package/dist/kongponents516.cjs +1 -1
  631. package/dist/kongponents517.cjs +1 -1
  632. package/dist/kongponents518.cjs +1 -1
  633. package/dist/kongponents519.cjs +1 -1
  634. package/dist/kongponents523.cjs +1 -1
  635. package/dist/kongponents524.cjs +1 -1
  636. package/dist/kongponents525.cjs +1 -1
  637. package/dist/kongponents526.cjs +1 -1
  638. package/dist/kongponents527.cjs +1 -1
  639. package/dist/kongponents528.cjs +1 -1
  640. package/dist/kongponents529.cjs +1 -1
  641. package/dist/kongponents530.cjs +1 -1
  642. package/dist/kongponents531.cjs +1 -1
  643. package/dist/kongponents532.cjs +1 -1
  644. package/dist/kongponents557.cjs +1 -1
  645. package/dist/kongponents559.cjs +1 -1
  646. package/dist/kongponents560.cjs +1 -1
  647. package/dist/kongponents561.cjs +1 -1
  648. package/dist/kongponents562.cjs +1 -1
  649. package/dist/kongponents563.cjs +1 -1
  650. package/dist/kongponents564.cjs +1 -1
  651. package/dist/kongponents565.cjs +1 -1
  652. package/dist/kongponents566.cjs +1 -1
  653. package/dist/kongponents567.cjs +1 -1
  654. package/dist/kongponents568.cjs +1 -1
  655. package/dist/kongponents569.cjs +1 -1
  656. package/dist/kongponents570.cjs +1 -1
  657. package/dist/kongponents571.cjs +1 -1
  658. package/dist/kongponents572.cjs +1 -1
  659. package/dist/kongponents573.cjs +1 -1
  660. package/dist/kongponents574.cjs +1 -1
  661. package/dist/kongponents575.cjs +1 -1
  662. package/dist/kongponents576.cjs +1 -1
  663. package/dist/kongponents577.cjs +1 -1
  664. package/dist/kongponents578.cjs +1 -1
  665. package/dist/kongponents579.cjs +1 -1
  666. package/dist/kongponents580.cjs +1 -1
  667. package/dist/kongponents581.cjs +1 -1
  668. package/dist/kongponents582.cjs +1 -1
  669. package/dist/kongponents583.cjs +1 -1
  670. package/dist/kongponents584.cjs +1 -1
  671. package/dist/kongponents585.cjs +1 -1
  672. package/dist/kongponents586.cjs +1 -1
  673. package/dist/kongponents587.cjs +1 -1
  674. package/dist/kongponents601.cjs +1 -1
  675. package/dist/kongponents602.cjs +1 -1
  676. package/dist/kongponents604.cjs +1 -1
  677. package/dist/kongponents605.cjs +1 -1
  678. package/dist/kongponents72.cjs +1 -1
  679. package/dist/kongponents75.cjs +1 -1
  680. package/dist/kongponents77.cjs +1 -1
  681. package/dist/kongponents83.cjs +1 -1
  682. package/dist/kongponents87.cjs +1 -1
  683. package/dist/kongponents89.cjs +1 -1
  684. package/dist/kongponents94.cjs +1 -1
  685. package/dist/kongponents96.cjs +1 -1
  686. package/dist/kongponents99.cjs +1 -1
  687. package/package.json +31 -32
  688. package/dist/kongponents.es232.js +0 -19
  689. package/dist/kongponents.es249.js +0 -36
  690. package/dist/kongponents.es267.js +0 -179
  691. package/dist/kongponents.es269.js +0 -8
  692. package/dist/kongponents.es271.js +0 -4
  693. package/dist/kongponents.es275.js +0 -6
  694. package/dist/kongponents.es278.js +0 -11
  695. package/dist/kongponents.es280.js +0 -6
  696. package/dist/kongponents.es282.js +0 -6
  697. package/dist/kongponents.es365.js +0 -8
  698. package/dist/kongponents232.cjs +0 -1
  699. package/dist/kongponents249.cjs +0 -1
  700. package/dist/kongponents267.cjs +0 -1
  701. package/dist/kongponents269.cjs +0 -1
  702. package/dist/kongponents271.cjs +0 -1
  703. package/dist/kongponents275.cjs +0 -1
  704. package/dist/kongponents278.cjs +0 -1
  705. package/dist/kongponents280.cjs +0 -1
  706. package/dist/kongponents282.cjs +0 -1
  707. package/dist/kongponents365.cjs +0 -1
  708. /package/dist/{kongponents.es259.js → kongponents.es242.js} +0 -0
  709. /package/dist/{kongponents.es332.js → kongponents.es248.js} +0 -0
  710. /package/dist/{kongponents259.cjs → kongponents242.cjs} +0 -0
  711. /package/dist/{kongponents332.cjs → kongponents248.cjs} +0 -0
@@ -1,23 +1,6 @@
1
- import { isHTMLElement as u, isElement as n } from "./kongponents.es523.js";
2
- import { round as g } from "./kongponents.es570.js";
3
- import l from "./kongponents.es566.js";
4
- import m from "./kongponents.es601.js";
5
- function R(t, f, r) {
6
- f === void 0 && (f = !1), r === void 0 && (r = !1);
7
- var i = t.getBoundingClientRect(), h = 1, s = 1;
8
- f && u(t) && (h = t.offsetWidth > 0 && g(i.width) / t.offsetWidth || 1, s = t.offsetHeight > 0 && g(i.height) / t.offsetHeight || 1);
9
- var w = n(t) ? l(t) : window, o = w.visualViewport, d = !m() && r, a = (i.left + (d && o ? o.offsetLeft : 0)) / h, v = (i.top + (d && o ? o.offsetTop : 0)) / s, e = i.width / h, p = i.height / s;
10
- return {
11
- width: e,
12
- height: p,
13
- top: v,
14
- right: a + e,
15
- bottom: v + p,
16
- left: a,
17
- x: a,
18
- y: v
19
- };
1
+ function t(e) {
2
+ return e.split("-")[0];
20
3
  }
21
4
  export {
22
- R as default
5
+ t as default
23
6
  };
@@ -1,10 +1,18 @@
1
- import t from "./kongponents.es602.js";
2
- import o from "./kongponents.es566.js";
3
- import { isHTMLElement as e } from "./kongponents.es523.js";
4
- import l from "./kongponents.es603.js";
5
- function c(r) {
6
- return r === o(r) || !e(r) ? t(r) : l(r);
1
+ import { isShadowRoot as a } from "./kongponents.es523.js";
2
+ function f(r, e) {
3
+ var t = e.getRootNode && e.getRootNode();
4
+ if (r.contains(e))
5
+ return !0;
6
+ if (t && a(t)) {
7
+ var o = e;
8
+ do {
9
+ if (o && r.isSameNode(o))
10
+ return !0;
11
+ o = o.parentNode || o.host;
12
+ } while (o);
13
+ }
14
+ return !1;
7
15
  }
8
16
  export {
9
- c as default
17
+ f as default
10
18
  };
@@ -1,9 +1,6 @@
1
- import o from "./kongponents.es578.js";
2
- import r from "./kongponents.es567.js";
3
- import e from "./kongponents.es602.js";
4
- function f(t) {
5
- return o(r(t)).left + e(t).scrollLeft;
1
+ function e(t) {
2
+ return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
6
3
  }
7
4
  export {
8
- f as default
5
+ e as default
9
6
  };
@@ -1,8 +1,12 @@
1
- import f from "./kongponents.es568.js";
2
- function a(e) {
3
- var o = f(e), r = o.overflow, t = o.overflowX, l = o.overflowY;
4
- return /auto|scroll|overlay|hidden/.test(r + l + t);
1
+ import { max as o, min as u } from "./kongponents.es565.js";
2
+ function e(i, r, n) {
3
+ return o(i, u(r, n));
4
+ }
5
+ function m(i, r, n) {
6
+ var t = e(i, r, n);
7
+ return t > n ? n : t;
5
8
  }
6
9
  export {
7
- a as default
10
+ e as within,
11
+ m as withinMaxClamp
8
12
  };
@@ -1,10 +1,6 @@
1
- import t from "./kongponents.es583.js";
2
- import e from "./kongponents.es581.js";
3
- import o from "./kongponents.es559.js";
4
- import { isHTMLElement as m } from "./kongponents.es523.js";
5
- function i(r) {
6
- return ["html", "body", "#document"].indexOf(o(r)) >= 0 ? r.ownerDocument.body : m(r) && e(r) ? r : i(t(r));
1
+ function a(t) {
2
+ return t.split("-")[1];
7
3
  }
8
4
  export {
9
- i as default
5
+ a as default
10
6
  };
@@ -1,18 +1,14 @@
1
- import r from "./kongponents.es559.js";
2
- import t from "./kongponents.es567.js";
3
- import { isShadowRoot as a } from "./kongponents.es523.js";
4
- function u(o) {
5
- return r(o) === "html" ? o : (
6
- // this is a quicker (but less type safe) way to save quite some bytes from the bundle
7
- // $FlowFixMe[incompatible-return]
8
- // $FlowFixMe[prop-missing]
9
- o.assignedSlot || // step into the shadow DOM of the parent of a slotted node
10
- o.parentNode || // DOM Element detected
11
- (a(o) ? o.host : null) || // ShadowRoot detected
12
- // $FlowFixMe[incompatible-call]: HTMLElement is a Node
13
- t(o)
14
- );
1
+ var o = {
2
+ left: "right",
3
+ right: "left",
4
+ bottom: "top",
5
+ top: "bottom"
6
+ };
7
+ function r(t) {
8
+ return t.replace(/left|right|bottom|top/g, function(e) {
9
+ return o[e];
10
+ });
15
11
  }
16
12
  export {
17
- u as default
13
+ r as default
18
14
  };
@@ -1,6 +1,11 @@
1
- import t from "./kongponents.es559.js";
2
- function n(e) {
3
- return ["table", "td", "th"].indexOf(t(e)) >= 0;
1
+ var a = {
2
+ start: "end",
3
+ end: "start"
4
+ };
5
+ function n(t) {
6
+ return t.replace(/start|end/g, function(e) {
7
+ return a[e];
8
+ });
4
9
  }
5
10
  export {
6
11
  n as default
@@ -1,9 +1,27 @@
1
- function n() {
2
- var r = navigator.userAgentData;
3
- return r != null && r.brands && Array.isArray(r.brands) ? r.brands.map(function(a) {
4
- return a.brand + "/" + a.version;
5
- }).join(" ") : navigator.userAgent;
1
+ import d from "./kongponents.es582.js";
2
+ import { variationPlacements as f, basePlacements as g, placements as w } from "./kongponents.es514.js";
3
+ import b from "./kongponents.es572.js";
4
+ import A from "./kongponents.es578.js";
5
+ function _(m, r) {
6
+ r === void 0 && (r = {});
7
+ var t = r, c = t.placement, s = t.boundary, p = t.rootBoundary, v = t.padding, P = t.flipVariations, i = t.allowedAutoPlacements, y = i === void 0 ? w : i, l = d(c), u = l ? P ? f : f.filter(function(e) {
8
+ return d(e) === l;
9
+ }) : g, a = u.filter(function(e) {
10
+ return y.indexOf(e) >= 0;
11
+ });
12
+ a.length === 0 && (a = u);
13
+ var n = a.reduce(function(e, o) {
14
+ return e[o] = b(m, {
15
+ placement: o,
16
+ boundary: s,
17
+ rootBoundary: p,
18
+ padding: v
19
+ })[A(o)], e;
20
+ }, {});
21
+ return Object.keys(n).sort(function(e, o) {
22
+ return n[e] - n[o];
23
+ });
6
24
  }
7
25
  export {
8
- n as default
26
+ _ as default
9
27
  };
@@ -1,37 +1,6 @@
1
- import { viewport as c } from "./kongponents.es514.js";
2
- import v from "./kongponents.es604.js";
3
- import C from "./kongponents.es605.js";
4
- import x from "./kongponents.es518.js";
5
- import b from "./kongponents.es519.js";
6
- import E from "./kongponents.es567.js";
7
- import P from "./kongponents.es568.js";
8
- import { isHTMLElement as w, isElement as m } from "./kongponents.es523.js";
9
- import T from "./kongponents.es578.js";
10
- import H from "./kongponents.es583.js";
11
- import N from "./kongponents.es561.js";
12
- import y from "./kongponents.es559.js";
13
- import l from "./kongponents.es587.js";
14
- import { max as u, min as a } from "./kongponents.es570.js";
15
- function B(i, r) {
16
- var t = T(i, !1, r === "fixed");
17
- return t.top = t.top + i.clientTop, t.left = t.left + i.clientLeft, t.bottom = t.top + i.clientHeight, t.right = t.left + i.clientWidth, t.width = i.clientWidth, t.height = i.clientHeight, t.x = t.left, t.y = t.top, t;
18
- }
19
- function d(i, r, t) {
20
- return r === c ? l(v(i, t)) : m(r) ? B(r, t) : l(C(E(i)));
21
- }
22
- function D(i) {
23
- var r = x(H(i)), t = ["absolute", "fixed"].indexOf(P(i).position) >= 0, e = t && w(i) ? b(i) : i;
24
- return m(e) ? r.filter(function(p) {
25
- return m(p) && N(p, e) && y(p) !== "body";
26
- }) : [];
27
- }
28
- function J(i, r, t, e) {
29
- var p = r === "clippingParents" ? D(i) : [].concat(r), g = [].concat(p, [t]), h = g[0], o = g.reduce(function(n, s) {
30
- var f = d(i, s, e);
31
- return n.top = u(f.top, n.top), n.right = a(f.right, n.right), n.bottom = a(f.bottom, n.bottom), n.left = u(f.left, n.left), n;
32
- }, d(i, h, e));
33
- return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
1
+ function e(t) {
2
+ return t === "x" ? "y" : "x";
34
3
  }
35
4
  export {
36
- J as default
5
+ e as default
37
6
  };
@@ -1,11 +1,11 @@
1
- function i(t) {
2
- return Object.assign({}, t, {
3
- left: t.x,
4
- top: t.y,
5
- right: t.x + t.width,
6
- bottom: t.y + t.height
7
- });
1
+ function t() {
2
+ return {
3
+ top: 0,
4
+ right: 0,
5
+ bottom: 0,
6
+ left: 0
7
+ };
8
8
  }
9
9
  export {
10
- i as default
10
+ t as default
11
11
  };
@@ -1,4 +1,4 @@
1
- import t from "./kongponents.es585.js";
1
+ import t from "./kongponents.es571.js";
2
2
  function i() {
3
3
  return !/^((?!chrome|android).)*safari/i.test(t());
4
4
  }
@@ -1,4 +1,4 @@
1
- import t from "./kongponents.es566.js";
1
+ import t from "./kongponents.es568.js";
2
2
  function a(r) {
3
3
  var o = t(r), e = o.pageXOffset, l = o.pageYOffset;
4
4
  return {
@@ -1,6 +1,6 @@
1
- import p from "./kongponents.es566.js";
2
- import w from "./kongponents.es567.js";
3
- import d from "./kongponents.es580.js";
1
+ import p from "./kongponents.es568.js";
2
+ import w from "./kongponents.es563.js";
3
+ import d from "./kongponents.es562.js";
4
4
  import g from "./kongponents.es601.js";
5
5
  function u(i, v) {
6
6
  var m = p(i), r = w(i), t = m.visualViewport, o = r.clientWidth, e = r.clientHeight, f = 0, a = 0;
@@ -1,8 +1,8 @@
1
- import m from "./kongponents.es567.js";
2
- import a from "./kongponents.es568.js";
3
- import g from "./kongponents.es580.js";
1
+ import m from "./kongponents.es563.js";
2
+ import a from "./kongponents.es569.js";
3
+ import g from "./kongponents.es562.js";
4
4
  import f from "./kongponents.es602.js";
5
- import { max as i } from "./kongponents.es570.js";
5
+ import { max as i } from "./kongponents.es565.js";
6
6
  function w(r) {
7
7
  var l, o = m(r), e = f(r), t = (l = r.ownerDocument) == null ? void 0 : l.body, c = i(o.scrollWidth, o.clientWidth, t ? t.scrollWidth : 0, t ? t.clientWidth : 0), h = i(o.scrollHeight, o.clientHeight, t ? t.scrollHeight : 0, t ? t.clientHeight : 0), n = -e.scrollLeft + g(r), d = -e.scrollTop;
8
8
  return a(t || o).direction === "rtl" && (n += i(o.clientWidth, t ? t.clientWidth : 0) - c), {
@@ -2,13 +2,13 @@ import { defineComponent as g, computed as w, createElementBlock as n, openBlock
2
2
  import { AlertAppearances as o } from "./kongponents.es4.js";
3
3
  import "./kongponents.es5.js";
4
4
  import "./kongponents.es10.js";
5
- import z from "./kongponents.es165.js";
6
- import K from "./kongponents.es166.js";
7
- import A from "./kongponents.es167.js";
8
- import v from "./kongponents.es168.js";
9
- import b from "./kongponents.es169.js";
10
- import E from "./kongponents.es170.js";
11
- import { KUI_ICON_SIZE_40 as y } from "./kongponents.es171.js";
5
+ import z from "./kongponents.es171.js";
6
+ import K from "./kongponents.es172.js";
7
+ import A from "./kongponents.es173.js";
8
+ import v from "./kongponents.es174.js";
9
+ import b from "./kongponents.es175.js";
10
+ import E from "./kongponents.es176.js";
11
+ import { KUI_ICON_SIZE_40 as y } from "./kongponents.es177.js";
12
12
  const N = {
13
13
  key: 0,
14
14
  class: "alert-icon-container"
@@ -3,7 +3,7 @@ import z from "./kongponents.es24.js";
3
3
  /* empty css */
4
4
  import { BadgeMethodAppearances as C } from "./kongponents.es5.js";
5
5
  import "./kongponents.es10.js";
6
- import { normalizeSize as W } from "./kongponents.es188.js";
6
+ import { normalizeSize as W } from "./kongponents.es178.js";
7
7
  const w = ["tabindex"], S = /* @__PURE__ */ p({
8
8
  __name: "KBadge",
9
9
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, createElementBlock as o, openBlock as s, mergeProps as u, Fragment as b, renderList as f, createBlock as p, createCommentVNode as c, resolveDynamicComponent as y, withCtx as k, renderSlot as d, normalizeStyle as h, unref as g, toDisplayString as $, createTextVNode as v } from "vue";
2
- import { normalizeSize as x } from "./kongponents.es188.js";
2
+ import { normalizeSize as x } from "./kongponents.es178.js";
3
3
  const B = {
4
4
  key: 0,
5
5
  class: "breadcrumbs-icon-container"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Se, useSlots as be, useId as pe, ref as n, computed as r, watch as v, onMounted as ke, createElementBlock as m, openBlock as s, createBlock as I, createCommentVNode as M, resolveDynamicComponent as Pe, withCtx as u, createTextVNode as b, toDisplayString as p, renderSlot as c, createVNode as A, createSlots as x, unref as D, normalizeClass as ze, Fragment as Ie, renderList as Ae } from "vue";
2
- import Ce from "./kongponents.es178.js";
2
+ import Ce from "./kongponents.es179.js";
3
3
  import $e from "./kongponents.es21.js";
4
4
  /* empty css */
5
5
  import Q from "./kongponents.es44.js";
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as z, useSlots as $, useAttrs as K, useId as N, computed as l, watch as D, createElementBlock as p, openBlock as i, normalizeClass as f, createElementVNode as o, createBlock as m, createCommentVNode as n, mergeProps as v, unref as s, createSlots as E, withCtx as g, renderSlot as h, createTextVNode as L, toDisplayString as x } from "vue";
2
2
  import P from "./kongponents.es48.js";
3
- import T from "./kongponents.es197.js";
4
- import q from "./kongponents.es198.js";
5
- import { KUI_ICON_SIZE_40 as C } from "./kongponents.es171.js";
3
+ import T from "./kongponents.es230.js";
4
+ import q from "./kongponents.es231.js";
5
+ import { KUI_ICON_SIZE_40 as C } from "./kongponents.es177.js";
6
6
  const O = ["id", "aria-checked"], U = { class: "checkbox-label-wrapper" }, Z = {
7
7
  key: 1,
8
8
  class: "checkbox-description"
@@ -1,22 +1,22 @@
1
1
  import { defineComponent as xe, useCssVars as Te, computed as d, watch as E, useSlots as Ee, ref as m, useTemplateRef as q, nextTick as ne, onMounted as Be, onBeforeUnmount as Se, createElementBlock as b, openBlock as i, normalizeClass as w, createCommentVNode as f, createElementVNode as k, createVNode as r, withCtx as c, Transition as $, createBlock as L, unref as a, Fragment as H, createTextVNode as F, toDisplayString as M, withDirectives as ae, renderSlot as Ie, resolveDynamicComponent as ie, normalizeProps as Re, mergeProps as ue, vShow as re } from "vue";
2
- import { Virtualizer as ce } from "./kongponents.es223.js";
2
+ import { Virtualizer as ce } from "./kongponents.es218.js";
3
3
  import Ae from "./kongponents.es46.js";
4
- import { copyTextToClipboard as Pe } from "./kongponents.es172.js";
5
- import { ShortcutManager as qe } from "./kongponents.es224.js";
6
- import { LINE_NUMBER_EXPRESSION_REGEX as $e, buildLineOffsets as He, highlightMatchingChars as Fe, escapeHTMLIfNeeded as se, normalizeHighlightedLines as Ve, getMatchingLineNumbers as De } from "./kongponents.es225.js";
7
- import Oe from "./kongponents.es186.js";
8
- import Ue from "./kongponents.es226.js";
9
- import je from "./kongponents.es166.js";
10
- import ze from "./kongponents.es227.js";
11
- import Ke from "./kongponents.es228.js";
12
- import Xe from "./kongponents.es222.js";
13
- import Ge from "./kongponents.es229.js";
14
- import Qe from "./kongponents.es185.js";
15
- import { KUI_COLOR_TEXT_NEUTRAL_STRONG as We, KUI_COLOR_TEXT_INVERSE as Ye, KUI_ICON_SIZE_30 as Ze, KUI_LINE_HEIGHT_30 as Je } from "./kongponents.es171.js";
4
+ import { copyTextToClipboard as Pe } from "./kongponents.es165.js";
5
+ import { ShortcutManager as qe } from "./kongponents.es219.js";
6
+ import { LINE_NUMBER_EXPRESSION_REGEX as $e, buildLineOffsets as He, highlightMatchingChars as Fe, escapeHTMLIfNeeded as se, normalizeHighlightedLines as Ve, getMatchingLineNumbers as De } from "./kongponents.es220.js";
7
+ import Oe from "./kongponents.es204.js";
8
+ import Ue from "./kongponents.es221.js";
9
+ import je from "./kongponents.es172.js";
10
+ import ze from "./kongponents.es186.js";
11
+ import Ke from "./kongponents.es222.js";
12
+ import Xe from "./kongponents.es190.js";
13
+ import Ge from "./kongponents.es223.js";
14
+ import Qe from "./kongponents.es224.js";
15
+ import { KUI_COLOR_TEXT_NEUTRAL_STRONG as We, KUI_COLOR_TEXT_INVERSE as Ye, KUI_ICON_SIZE_30 as Ze, KUI_LINE_HEIGHT_30 as Je } from "./kongponents.es177.js";
16
16
  import B from "./kongponents.es39.js";
17
- import { IS_MAYBE_MAC as _e } from "./kongponents.es193.js";
18
- import { normalizeSize as et } from "./kongponents.es188.js";
19
- import tt from "./kongponents.es230.js";
17
+ import { IS_MAYBE_MAC as _e } from "./kongponents.es213.js";
18
+ import { normalizeSize as et } from "./kongponents.es178.js";
19
+ import tt from "./kongponents.es225.js";
20
20
  const ot = ["id"], lt = {
21
21
  key: 0,
22
22
  class: "code-block-actions"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as L, useSlots as N, useId as T, ref as f, computed as n, watch as w, createElementBlock as g, openBlock as r, createElementVNode as d, createCommentVNode as v, createVNode as h, normalizeClass as b, createBlock as B, resolveDynamicComponent as D, withCtx as C, renderSlot as a, createTextVNode as z, toDisplayString as V, withModifiers as E, unref as c, Transition as A, withDirectives as K, vShow as x } from "vue";
2
- import M from "./kongponents.es189.js";
3
- import { KUI_ICON_SIZE_40 as O } from "./kongponents.es171.js";
2
+ import M from "./kongponents.es209.js";
3
+ import { KUI_ICON_SIZE_40 as O } from "./kongponents.es177.js";
4
4
  const U = { class: "k-collapse" }, Z = { class: "collapse-trigger" }, j = ["aria-controls", "aria-expanded", "aria-label"], q = {
5
5
  key: 0,
6
6
  class: "collapse-trigger-label",
@@ -5,12 +5,12 @@ import se from "./kongponents.es56.js";
5
5
  /* empty css */
6
6
  import "./kongponents.es5.js";
7
7
  import { DateTimePickerModes as oe, ModeArrayCustom as me, ModeArrayRelative as ce, ModeDateOnly as ue } from "./kongponents.es10.js";
8
- import fe from "./kongponents.es212.js";
9
- import { KUI_SPACE_40 as ve, KUI_ICON_SIZE_40 as ye, KUI_COLOR_TEXT_NEUTRAL as ge } from "./kongponents.es171.js";
10
- import { normalizeSize as be } from "./kongponents.es188.js";
11
- import pe from "./kongponents.es213.js";
12
- import B from "./kongponents.es214.js";
13
- import C from "./kongponents.es215.js";
8
+ import fe from "./kongponents.es233.js";
9
+ import { KUI_SPACE_40 as ve, KUI_ICON_SIZE_40 as ye, KUI_COLOR_TEXT_NEUTRAL as ge } from "./kongponents.es177.js";
10
+ import { normalizeSize as be } from "./kongponents.es178.js";
11
+ import pe from "./kongponents.es234.js";
12
+ import B from "./kongponents.es235.js";
13
+ import C from "./kongponents.es236.js";
14
14
  const ke = ["tabindex"], Re = ["innerHTML"], Te = {
15
15
  key: 1,
16
16
  class: "range-display"
@@ -5,8 +5,8 @@ import j from "./kongponents.es24.js";
5
5
  import G from "./kongponents.es53.js";
6
6
  import H from "./kongponents.es20.js";
7
7
  import J from "./kongponents.es43.js";
8
- import Q from "./kongponents.es202.js";
9
- import { KUI_SPACE_20 as W } from "./kongponents.es171.js";
8
+ import Q from "./kongponents.es189.js";
9
+ import { KUI_SPACE_20 as W } from "./kongponents.es177.js";
10
10
  const X = {
11
11
  class: "dropdown-list",
12
12
  "data-testid": "dropdown-list"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("./kongponents183.cjs"),B=require("./kongponents184.cjs"),E=require("./kongponents185.cjs"),g=require("./kongponents170.cjs"),r=require("./kongponents171.cjs"),S=require("./kongponents33.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const a=require("./kongponents11.cjs"),V=require("./kongponents34.cjs"),v={class:"empty-state-content"},C=["aria-hidden"],p={key:0,class:"empty-state-title"},I={key:1,class:"empty-state-message"},h={key:2,class:"empty-state-action"},$={key:0,class:"empty-state-features-container"},N={key:0,"aria-hidden":"true",class:"feature-icon"},T={class:"card-header"},b=["title"],q={key:1,class:"empty-state-footer-container"},D=e.defineComponent({__name:"KEmptyState",props:{title:{default:""},message:{default:""},actionButtonVisible:{type:Boolean,default:!0},actionButtonText:{default:""},actionButtonDisabled:{type:Boolean},iconVariant:{default:()=>a.EmptyStateIconVariants.Default},iconBackground:{type:Boolean,default:!1},features:{default:()=>[]}},emits:["click-action"],setup(o,{emit:l}){const c=l,u=e.useSlots(),d=e.useId(),m=e.computed(()=>{switch(o.iconVariant){case a.EmptyStateIconVariants.Default:return i.default;case a.EmptyStateIconVariants.Error:return g.default;case a.EmptyStateIconVariants.Search:return E.default;case a.EmptyStateIconVariants.Kong:return B.default;default:return i.default}}),k=e.computed(()=>{if(o.iconBackground)return r.KUI_COLOR_TEXT_DECORATIVE_AQUA;switch(o.iconVariant){case a.EmptyStateIconVariants.Error:return r.KUI_COLOR_TEXT_WARNING;default:return r.KUI_COLOR_TEXT_NEUTRAL}}),y=e.computed(()=>{if(u.image)return"empty-state-image";const t="empty-state-icon";return o.iconBackground?`${t} has-background`:t});return(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-empty-state",[o.iconVariant]])},[e.createElementVNode("div",v,[e.createElementVNode("div",{"aria-hidden":t.$slots.image?void 0:"true",class:e.normalizeClass(y.value)},[e.renderSlot(t.$slots,"image",{},()=>[e.renderSlot(t.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.value),{color:k.value,decorative:"",size:e.unref(r.KUI_ICON_SIZE_60)},null,8,["color","size"]))],!0)],!0)],10,C),o.title||t.$slots.title?(e.openBlock(),e.createElementBlock("div",p,[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)])):e.createCommentVNode("",!0),o.message||t.$slots.default?(e.openBlock(),e.createElementBlock("div",I,[e.renderSlot(t.$slots,"default",{},()=>[e.createElementVNode("p",null,e.toDisplayString(o.message),1)],!0)])):e.createCommentVNode("",!0),o.actionButtonVisible&&o.actionButtonText||t.$slots.action?(e.openBlock(),e.createElementBlock("div",h,[e.renderSlot(t.$slots,"action",{},()=>[e.createVNode(S.default,{disabled:o.actionButtonDisabled,type:"button",onClick:s[0]||(s[0]=n=>c("click-action"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"action-button-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(o.actionButtonText),1)]),_:3},8,["disabled"])],!0)])):e.createCommentVNode("",!0)]),o.features.length?(e.openBlock(),e.createElementBlock("div",$,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.features,(n,f)=>(e.openBlock(),e.createBlock(V.default,{key:`feature-${e.unref(d)}-${n.key||f}`,class:"empty-state-feature-card"},{title:e.withCtx(()=>[n.key&&t.$slots[`feature-icon-${n.key}`]?(e.openBlock(),e.createElementBlock("div",N,[e.renderSlot(t.$slots,`feature-icon-${n.key}`,{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",T,e.toDisplayString(n.title),1)]),default:e.withCtx(()=>[e.createElementVNode("div",{title:n.description},e.toDisplayString(n.description),9,b)]),_:2},1024))),128))])):e.createCommentVNode("",!0),t.$slots.footer?(e.openBlock(),e.createElementBlock("div",q,[e.renderSlot(t.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],2))}});exports.default=D;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("./kongponents238.cjs"),B=require("./kongponents207.cjs"),E=require("./kongponents224.cjs"),g=require("./kongponents176.cjs"),r=require("./kongponents177.cjs"),S=require("./kongponents33.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const a=require("./kongponents11.cjs"),V=require("./kongponents34.cjs"),v={class:"empty-state-content"},C=["aria-hidden"],p={key:0,class:"empty-state-title"},I={key:1,class:"empty-state-message"},h={key:2,class:"empty-state-action"},$={key:0,class:"empty-state-features-container"},N={key:0,"aria-hidden":"true",class:"feature-icon"},T={class:"card-header"},b=["title"],q={key:1,class:"empty-state-footer-container"},D=e.defineComponent({__name:"KEmptyState",props:{title:{default:""},message:{default:""},actionButtonVisible:{type:Boolean,default:!0},actionButtonText:{default:""},actionButtonDisabled:{type:Boolean},iconVariant:{default:()=>a.EmptyStateIconVariants.Default},iconBackground:{type:Boolean,default:!1},features:{default:()=>[]}},emits:["click-action"],setup(o,{emit:l}){const c=l,u=e.useSlots(),d=e.useId(),m=e.computed(()=>{switch(o.iconVariant){case a.EmptyStateIconVariants.Default:return i.default;case a.EmptyStateIconVariants.Error:return g.default;case a.EmptyStateIconVariants.Search:return E.default;case a.EmptyStateIconVariants.Kong:return B.default;default:return i.default}}),k=e.computed(()=>{if(o.iconBackground)return r.KUI_COLOR_TEXT_DECORATIVE_AQUA;switch(o.iconVariant){case a.EmptyStateIconVariants.Error:return r.KUI_COLOR_TEXT_WARNING;default:return r.KUI_COLOR_TEXT_NEUTRAL}}),y=e.computed(()=>{if(u.image)return"empty-state-image";const t="empty-state-icon";return o.iconBackground?`${t} has-background`:t});return(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-empty-state",[o.iconVariant]])},[e.createElementVNode("div",v,[e.createElementVNode("div",{"aria-hidden":t.$slots.image?void 0:"true",class:e.normalizeClass(y.value)},[e.renderSlot(t.$slots,"image",{},()=>[e.renderSlot(t.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.value),{color:k.value,decorative:"",size:e.unref(r.KUI_ICON_SIZE_60)},null,8,["color","size"]))],!0)],!0)],10,C),o.title||t.$slots.title?(e.openBlock(),e.createElementBlock("div",p,[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)])):e.createCommentVNode("",!0),o.message||t.$slots.default?(e.openBlock(),e.createElementBlock("div",I,[e.renderSlot(t.$slots,"default",{},()=>[e.createElementVNode("p",null,e.toDisplayString(o.message),1)],!0)])):e.createCommentVNode("",!0),o.actionButtonVisible&&o.actionButtonText||t.$slots.action?(e.openBlock(),e.createElementBlock("div",h,[e.renderSlot(t.$slots,"action",{},()=>[e.createVNode(S.default,{disabled:o.actionButtonDisabled,type:"button",onClick:s[0]||(s[0]=n=>c("click-action"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"action-button-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(o.actionButtonText),1)]),_:3},8,["disabled"])],!0)])):e.createCommentVNode("",!0)]),o.features.length?(e.openBlock(),e.createElementBlock("div",$,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.features,(n,f)=>(e.openBlock(),e.createBlock(V.default,{key:`feature-${e.unref(d)}-${n.key||f}`,class:"empty-state-feature-card"},{title:e.withCtx(()=>[n.key&&t.$slots[`feature-icon-${n.key}`]?(e.openBlock(),e.createElementBlock("div",N,[e.renderSlot(t.$slots,`feature-icon-${n.key}`,{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",T,e.toDisplayString(n.title),1)]),default:e.withCtx(()=>[e.createElementVNode("div",{title:n.description},e.toDisplayString(n.description),9,b)]),_:2},1024))),128))])):e.createCommentVNode("",!0),t.$slots.footer?(e.openBlock(),e.createElementBlock("div",q,[e.renderSlot(t.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],2))}});exports.default=D;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),W=require("./kongponents48.cjs"),U=require("./kongponents46.cjs"),$=require("./kongponents33.cjs"),j=require("./kongponents178.cjs"),O=require("./kongponents179.cjs"),G=require("./kongponents180.cjs"),H=["role"],J={class:"file-upload-input-wrapper"},Q={key:1,class:"file-upload-dropzone-wrapper"},X=["aria-disabled","aria-labelledby","tabindex"],Y={"aria-hidden":"true",class:"dropzone-icon"},Z={key:0},_={key:1},ee=e.defineComponent({inheritAttrs:!1,__name:"KFileUpload",props:{labelAttributes:{default:()=>({})},label:{default:""},help:{},buttonText:{default:"Select file"},placeholder:{default:""},accept:{},maxFileSize:{default:null},error:{type:Boolean},errorMessage:{default:""},disabled:{type:Boolean},appearance:{default:"input"}},emits:["file-added","file-removed","error"],setup(l,{emit:q}){const s=q,D=e.useSlots(),n=e.useAttrs(),{stripRequiredLabel:F}=j.default(),M=e.useId(),k=e.computed(()=>n.id?String(n.id):M),V=e.computed(()=>{const t={...n};return delete t.id,t}),z=e.useTemplateRef("input"),A=e.computed(()=>{var t;return!!((t=l.labelAttributes)!=null&&t.info||D["label-tooltip"])}),I=e.computed(()=>F(l.label,w.value)),w=e.computed(()=>(n==null?void 0:n.required)!==void 0&&String(n==null?void 0:n.required)!=="false"),B=e.computed(()=>u.value?"Drag & drop a file":"No file selected"),v=e.ref(!1),x=e.computed(()=>{if(v.value){let t="bytes",a=d.value;return d.value>=1024&&d.value<1024*1024&&(a=d.value/1024,t="KB"),d.value>=1024*1024&&(a=d.value/(1024*1024),t="MB"),`File size must be less than ${a}${t}.`}return""}),d=e.computed(()=>l.maxFileSize||l.maxFileSize===0?l.maxFileSize:5*1024*1024),f=e.computed(()=>b.value||v.value||l.error),c=e.ref(0),i=e.ref(""),m=e.ref(null),T=e.useTemplateRef("dropzone"),K=t=>{var h,g,o,S,N;b.value=!1;const a=t.target.files,r=(h=a[0])==null?void 0:h.size;Number(r)>d.value&&(c.value++,v.value=!0,s("error",a));const y=(o=(g=z.value)==null?void 0:g.$el)==null?void 0:o.querySelector("input");a.length?(m.value=a,i.value=a[0].name||"",s("file-added",a)):(y.files=m.value,i.value=((N=(S=m.value)==null?void 0:S[0])==null?void 0:N.name)||"")},C=()=>{var a,r;if(i.value){L();return}const t=(r=(a=z.value)==null?void 0:a.$el)==null?void 0:r.querySelector("input");t&&t.click()},L=()=>{m.value=null,i.value="",c.value++,v.value=!1,s("file-removed")},p=e.ref(!1),b=e.ref(!1),P=t=>!l.accept||!Array.isArray(l.accept)||!l.accept.length?!0:l.accept.some(a=>{if(a.startsWith("."))return t.name.toLowerCase().endsWith(a.toLowerCase());if(a.endsWith("/*")){const r=a.slice(0,-2);return t.type.startsWith(r)}else return t.type===a}),E=e.computed(()=>b.value?`Unsupported file type. Please upload one of the following: ${l.accept.join(", ")}`:""),R=t=>{var a,r,y,h,g;if(!l.disabled){u.value?(a=T.value)==null||a.focus():(y=(r=z.value)==null?void 0:r.input)==null||y.focus(),p.value=!1;const o=(h=t.dataTransfer)==null?void 0:h.files;if(o&&o.length){const S=(g=o[0])==null?void 0:g.size;if(Number(S)>d.value){c.value++,v.value=!0,s("error",o);return}P(o[0])?(b.value=!1,m.value=o,i.value=o[0].name||"",s("file-added",o)):(b.value=!0,s("error",o))}}},u=e.computed(()=>l.appearance==="dropzone");return e.watch(()=>n.id,()=>{c.value++},{immediate:!0}),(t,a)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"k-file-upload"},V.value,{role:l.disabled?void 0:"region",onDragleave:a[0]||(a[0]=e.withModifiers(r=>p.value=!1,["prevent"])),onDragover:a[1]||(a[1]=e.withModifiers(r=>p.value=!0,["prevent"])),onDrop:e.withModifiers(R,["prevent"])}),[l.label?(e.openBlock(),e.createBlock(W.default,e.mergeProps({key:0},l.labelAttributes,{id:u.value?`file-upload-dropzone-label-${k.value}`:void 0,for:k.value,required:w.value}),e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(I.value)+" ",1)]),_:2},[A.value?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"label-tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["id","for","required"])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("div",J,[u.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:c.value,class:e.normalizeClass(["file-upload-input-text",{placeholder:!i.value,"has-icon":t.$slots.icon,disabled:l.disabled}])},e.toDisplayString(i.value?i.value:l.placeholder||B.value),3)),(e.openBlock(),e.createBlock(U.default,{id:k.value,key:c.value,ref:"input",accept:l.accept,class:e.normalizeClass(["upload-input",{dragging:p.value&&!l.disabled}]),disabled:l.disabled,error:f.value,"error-message":l.errorMessage||E.value||x.value,help:l.help,hidden:u.value,placeholder:l.placeholder||B.value,title:"",type:"file",onChange:K},e.createSlots({_:2},[t.$slots.icon&&!u.value?{name:"before",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0,u.value?void 0:{name:"after",fn:e.withCtx(()=>[e.createVNode($.default,{appearance:"tertiary",class:"file-upload-button","data-testid":"file-upload-button",disabled:l.disabled,size:"small",onClick:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value?"Clear":l.buttonText),1)]),_:1},8,["disabled"])]),key:"1"}]),1032,["id","accept","class","disabled","error","error-message","help","hidden","placeholder"]))],512),[[e.vShow,!u.value]]),u.value?(e.openBlock(),e.createElementBlock("div",Q,[e.createElementVNode("div",{ref:"dropzone","aria-disabled":l.disabled?"true":void 0,"aria-labelledby":l.label?`file-upload-dropzone-label-${k.value}`:void 0,class:e.normalizeClass(["dropzone",{dragging:p.value&&!l.disabled,disabled:l.disabled,error:f.value,"has-file":!!i.value}]),"data-testid":"file-upload-dropzone",role:"button",tabindex:l.disabled?-1:0,onClick:C},[e.createElementVNode("div",Y,[e.renderSlot(t.$slots,"icon",{},()=>[i.value?(e.openBlock(),e.createBlock(e.unref(O.default),{key:0,decorative:""})):(e.openBlock(),e.createBlock(e.unref(G.default),{key:1,decorative:""}))],!0)]),i.value?(e.openBlock(),e.createElementBlock("span",Z,e.toDisplayString(i.value),1)):(e.openBlock(),e.createElementBlock("span",_,e.toDisplayString(l.placeholder||B.value),1)),e.createVNode($.default,{appearance:"tertiary",class:"file-upload-button","data-testid":"file-upload-button",disabled:l.disabled,onClick:e.withModifiers(C,["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value?"Clear":l.buttonText),1)]),_:1},8,["disabled"]),e.renderSlot(t.$slots,"dropzone-footer",{},void 0,!0)],10,X),f.value||l.help?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["help-text",{error:f.value}])},e.toDisplayString(f.value&&(l.errorMessage||E.value||x.value)||l.help),3)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],16,H))}});exports.default=ee;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),W=require("./kongponents48.cjs"),U=require("./kongponents46.cjs"),$=require("./kongponents33.cjs"),j=require("./kongponents179.cjs"),O=require("./kongponents215.cjs"),G=require("./kongponents216.cjs"),H=["role"],J={class:"file-upload-input-wrapper"},Q={key:1,class:"file-upload-dropzone-wrapper"},X=["aria-disabled","aria-labelledby","tabindex"],Y={"aria-hidden":"true",class:"dropzone-icon"},Z={key:0},_={key:1},ee=e.defineComponent({inheritAttrs:!1,__name:"KFileUpload",props:{labelAttributes:{default:()=>({})},label:{default:""},help:{},buttonText:{default:"Select file"},placeholder:{default:""},accept:{},maxFileSize:{default:null},error:{type:Boolean},errorMessage:{default:""},disabled:{type:Boolean},appearance:{default:"input"}},emits:["file-added","file-removed","error"],setup(l,{emit:q}){const s=q,D=e.useSlots(),n=e.useAttrs(),{stripRequiredLabel:F}=j.default(),M=e.useId(),k=e.computed(()=>n.id?String(n.id):M),V=e.computed(()=>{const t={...n};return delete t.id,t}),z=e.useTemplateRef("input"),A=e.computed(()=>{var t;return!!((t=l.labelAttributes)!=null&&t.info||D["label-tooltip"])}),I=e.computed(()=>F(l.label,w.value)),w=e.computed(()=>(n==null?void 0:n.required)!==void 0&&String(n==null?void 0:n.required)!=="false"),B=e.computed(()=>u.value?"Drag & drop a file":"No file selected"),v=e.ref(!1),x=e.computed(()=>{if(v.value){let t="bytes",a=d.value;return d.value>=1024&&d.value<1024*1024&&(a=d.value/1024,t="KB"),d.value>=1024*1024&&(a=d.value/(1024*1024),t="MB"),`File size must be less than ${a}${t}.`}return""}),d=e.computed(()=>l.maxFileSize||l.maxFileSize===0?l.maxFileSize:5*1024*1024),f=e.computed(()=>b.value||v.value||l.error),c=e.ref(0),i=e.ref(""),m=e.ref(null),T=e.useTemplateRef("dropzone"),K=t=>{var h,g,o,S,N;b.value=!1;const a=t.target.files,r=(h=a[0])==null?void 0:h.size;Number(r)>d.value&&(c.value++,v.value=!0,s("error",a));const y=(o=(g=z.value)==null?void 0:g.$el)==null?void 0:o.querySelector("input");a.length?(m.value=a,i.value=a[0].name||"",s("file-added",a)):(y.files=m.value,i.value=((N=(S=m.value)==null?void 0:S[0])==null?void 0:N.name)||"")},C=()=>{var a,r;if(i.value){L();return}const t=(r=(a=z.value)==null?void 0:a.$el)==null?void 0:r.querySelector("input");t&&t.click()},L=()=>{m.value=null,i.value="",c.value++,v.value=!1,s("file-removed")},p=e.ref(!1),b=e.ref(!1),P=t=>!l.accept||!Array.isArray(l.accept)||!l.accept.length?!0:l.accept.some(a=>{if(a.startsWith("."))return t.name.toLowerCase().endsWith(a.toLowerCase());if(a.endsWith("/*")){const r=a.slice(0,-2);return t.type.startsWith(r)}else return t.type===a}),E=e.computed(()=>b.value?`Unsupported file type. Please upload one of the following: ${l.accept.join(", ")}`:""),R=t=>{var a,r,y,h,g;if(!l.disabled){u.value?(a=T.value)==null||a.focus():(y=(r=z.value)==null?void 0:r.input)==null||y.focus(),p.value=!1;const o=(h=t.dataTransfer)==null?void 0:h.files;if(o&&o.length){const S=(g=o[0])==null?void 0:g.size;if(Number(S)>d.value){c.value++,v.value=!0,s("error",o);return}P(o[0])?(b.value=!1,m.value=o,i.value=o[0].name||"",s("file-added",o)):(b.value=!0,s("error",o))}}},u=e.computed(()=>l.appearance==="dropzone");return e.watch(()=>n.id,()=>{c.value++},{immediate:!0}),(t,a)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"k-file-upload"},V.value,{role:l.disabled?void 0:"region",onDragleave:a[0]||(a[0]=e.withModifiers(r=>p.value=!1,["prevent"])),onDragover:a[1]||(a[1]=e.withModifiers(r=>p.value=!0,["prevent"])),onDrop:e.withModifiers(R,["prevent"])}),[l.label?(e.openBlock(),e.createBlock(W.default,e.mergeProps({key:0},l.labelAttributes,{id:u.value?`file-upload-dropzone-label-${k.value}`:void 0,for:k.value,required:w.value}),e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(I.value)+" ",1)]),_:2},[A.value?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"label-tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["id","for","required"])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("div",J,[u.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:c.value,class:e.normalizeClass(["file-upload-input-text",{placeholder:!i.value,"has-icon":t.$slots.icon,disabled:l.disabled}])},e.toDisplayString(i.value?i.value:l.placeholder||B.value),3)),(e.openBlock(),e.createBlock(U.default,{id:k.value,key:c.value,ref:"input",accept:l.accept,class:e.normalizeClass(["upload-input",{dragging:p.value&&!l.disabled}]),disabled:l.disabled,error:f.value,"error-message":l.errorMessage||E.value||x.value,help:l.help,hidden:u.value,placeholder:l.placeholder||B.value,title:"",type:"file",onChange:K},e.createSlots({_:2},[t.$slots.icon&&!u.value?{name:"before",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0,u.value?void 0:{name:"after",fn:e.withCtx(()=>[e.createVNode($.default,{appearance:"tertiary",class:"file-upload-button","data-testid":"file-upload-button",disabled:l.disabled,size:"small",onClick:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value?"Clear":l.buttonText),1)]),_:1},8,["disabled"])]),key:"1"}]),1032,["id","accept","class","disabled","error","error-message","help","hidden","placeholder"]))],512),[[e.vShow,!u.value]]),u.value?(e.openBlock(),e.createElementBlock("div",Q,[e.createElementVNode("div",{ref:"dropzone","aria-disabled":l.disabled?"true":void 0,"aria-labelledby":l.label?`file-upload-dropzone-label-${k.value}`:void 0,class:e.normalizeClass(["dropzone",{dragging:p.value&&!l.disabled,disabled:l.disabled,error:f.value,"has-file":!!i.value}]),"data-testid":"file-upload-dropzone",role:"button",tabindex:l.disabled?-1:0,onClick:C},[e.createElementVNode("div",Y,[e.renderSlot(t.$slots,"icon",{},()=>[i.value?(e.openBlock(),e.createBlock(e.unref(O.default),{key:0,decorative:""})):(e.openBlock(),e.createBlock(e.unref(G.default),{key:1,decorative:""}))],!0)]),i.value?(e.openBlock(),e.createElementBlock("span",Z,e.toDisplayString(i.value),1)):(e.openBlock(),e.createElementBlock("span",_,e.toDisplayString(l.placeholder||B.value),1)),e.createVNode($.default,{appearance:"tertiary",class:"file-upload-button","data-testid":"file-upload-button",disabled:l.disabled,onClick:e.withModifiers(C,["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value?"Clear":l.buttonText),1)]),_:1},8,["disabled"]),e.renderSlot(t.$slots,"dropzone-footer",{},void 0,!0)],10,X),f.value||l.help?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["help-text",{error:f.value}])},e.toDisplayString(f.value&&(l.errorMessage||E.value||x.value)||l.help),3)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],16,H))}});exports.default=ee;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),O=require("./kongponents178.cjs"),R=require("./kongponents48.cjs"),V=require("./kongponents171.cjs"),D=require("./kongponents181.cjs"),U=require("./kongponents182.cjs"),z=["id","aria-describedby","aria-invalid","type","value"],H=["aria-label"],J=["id"],Z=e.defineComponent({inheritAttrs:!1,__name:"KInput",props:{modelValue:{default:""},label:{default:""},labelAttributes:{default:()=>({})},help:{default:""},error:{type:Boolean},errorMessage:{default:""},characterLimit:{default:null},hasError:{type:Boolean},type:{default:"text"},showPasswordMaskToggle:{type:Boolean}},emits:["input","update:modelValue","char-limit-exceeded"],setup(l,{expose:B,emit:x}){e.useCssVars(t=>({v468789b2:y.value,v3da179ce:S.value})),e.watch(()=>l.hasError,t=>{t&&console.warn("KInput: `hasError` prop is deprecated. Please use `error` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#kinput")},{immediate:!0}),e.watch(()=>l.labelAttributes.help,t=>{t&&console.warn("KInput: `help` property of `labelAttributes` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel")});const f=x,o=e.useSlots(),I=e.useTemplateRef("inputElement"),n=e.ref(""),d=e.ref(!1),m=e.ref(0),{stripRequiredLabel:M}=O.default(),a=e.useAttrs(),p=e.computed(()=>(a==null?void 0:a.required)!==void 0&&String(a==null?void 0:a.required)!=="false"),T=e.useId(),k=e.computed(()=>a.id?String(a.id):T),b=e.useId(),C=e.computed(()=>M(l.label,p.value)),L=e.computed(()=>{var t;return!!((t=l.labelAttributes)!=null&&t.info||o["label-tooltip"])}),q=e.computed({get(){return l.modelValue},set(t){h({target:{value:t}})}}),N=e.computed(()=>{const t={...a};return delete t.class,delete t.input,delete t.onInput,t}),u=e.computed(()=>{var w,E;const t=((w=n.value)==null?void 0:w.toString().length)||0,r=((E=l.modelValue)==null?void 0:E.toString().length)||0;let i=t;return!d.value&&r&&(i=r),!!l.characterLimit&&i>l.characterLimit}),$=e.computed(()=>{var t,r;return u.value?d.value?`${(t=n.value)==null?void 0:t.toString().length} / ${l.characterLimit}`:`${(r=l.modelValue)==null?void 0:r.toString().length} / ${l.characterLimit}`:""}),P=e.computed(()=>!u.value&&!l.error&&!l.hasError&&!!(l.help||o.help)),c=e.computed(()=>u.value?$.value:(l.error||l.hasError)&&l.errorMessage?l.errorMessage:l.help);e.watch(u,(t,r)=>{t!==r&&(f("char-limit-exceeded",{value:n.value,length:n.value.length,characterLimit:l.characterLimit,limitExceeded:t}),m.value+=1)}),e.watch(q,(t,r)=>{t!==r&&h({target:{value:t}})});const h=t=>{var i;const r=JSON.parse(JSON.stringify((i=t==null?void 0:t.target)==null?void 0:i.value));A(r)},A=t=>{n.value=t,d.value=!0,f("input",t),f("update:modelValue",t)},K=()=>n.value||d.value?n.value:l.modelValue;e.watch(()=>l.error,(t,r)=>{t!==r&&(m.value+=1)});const v=e.ref(null),g=e.ref(null),y=e.ref(V.KUI_ICON_SIZE_40),S=e.ref(V.KUI_ICON_SIZE_40),s=e.ref(!1),W=e.computed(()=>l.type==="password"&&s.value?"text":l.type);return e.onMounted(async()=>{var t,r;await e.nextTick(),(t=v.value)!=null&&t.offsetWidth&&(y.value=v.value.offsetWidth+"px"),(r=g.value)!=null&&r.offsetWidth&&(S.value=g.value.offsetWidth+"px")}),B({input:I}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-input",[e.unref(a).class,{"input-error":u.value||l.error||l.hasError}]])},[l.label?(e.openBlock(),e.createBlock(R.default,e.mergeProps({key:0,for:k.value},l.labelAttributes,{required:p.value}),e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.value)+" ",1)]),_:2},[L.value?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"label-tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["input-element-wrapper",{"has-before-content":o.before,"has-after-content":o.after||l.type==="password"&&l.showPasswordMaskToggle}])},[o.before?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"beforeSlotElement",ref:v,class:"before-content-wrapper"},[e.renderSlot(t.$slots,"before",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createElementVNode("input",e.mergeProps({id:k.value,ref:"inputElement","aria-describedby":c.value||o.help?e.unref(b):void 0,"aria-invalid":l.error||l.hasError||u.value?"true":void 0,class:"input",type:W.value},N.value,{value:K(),onInput:h}),null,16,z),o.after||l.type==="password"&&l.showPasswordMaskToggle?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"afterSlotElement",ref:g,class:"after-content-wrapper"},[l.type==="password"&&l.showPasswordMaskToggle?(e.openBlock(),e.createElementBlock("button",{key:0,"aria-label":`${s.value?"Hide":"Show"} value`,class:"mask-value-toggle-button",type:"button",onClick:r[0]||(r[0]=e.withModifiers(i=>s.value=!s.value,["stop"])),onMousedown:r[1]||(r[1]=e.withModifiers(()=>{},["prevent"])),onMouseup:r[2]||(r[2]=e.withModifiers(()=>{},["prevent"]))},[s.value?(e.openBlock(),e.createBlock(e.unref(D.default),{key:0,decorative:""})):(e.openBlock(),e.createBlock(e.unref(U.default),{key:1,decorative:""}))],40,H)):e.renderSlot(t.$slots,"after",{key:1},void 0,!0)],512)):e.createCommentVNode("",!0)],2),e.createVNode(e.Transition,{mode:"out-in",name:"kongponents-fade-transition"},{default:e.withCtx(()=>[c.value||o.help?(e.openBlock(),e.createElementBlock("p",{id:e.unref(b),key:String(m.value),class:"help-text"},[P.value?e.renderSlot(t.$slots,"help",{key:0},()=>[e.createTextVNode(e.toDisplayString(c.value),1)],!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(c.value),1)],64))],8,J)):e.createCommentVNode("",!0)]),_:3})],2))}});exports.default=Z;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),O=require("./kongponents179.cjs"),R=require("./kongponents48.cjs"),V=require("./kongponents177.cjs"),D=require("./kongponents197.cjs"),U=require("./kongponents198.cjs"),z=["id","aria-describedby","aria-invalid","type","value"],H=["aria-label"],J=["id"],Z=e.defineComponent({inheritAttrs:!1,__name:"KInput",props:{modelValue:{default:""},label:{default:""},labelAttributes:{default:()=>({})},help:{default:""},error:{type:Boolean},errorMessage:{default:""},characterLimit:{default:null},hasError:{type:Boolean},type:{default:"text"},showPasswordMaskToggle:{type:Boolean}},emits:["input","update:modelValue","char-limit-exceeded"],setup(l,{expose:B,emit:x}){e.useCssVars(t=>({v468789b2:y.value,v3da179ce:S.value})),e.watch(()=>l.hasError,t=>{t&&console.warn("KInput: `hasError` prop is deprecated. Please use `error` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#kinput")},{immediate:!0}),e.watch(()=>l.labelAttributes.help,t=>{t&&console.warn("KInput: `help` property of `labelAttributes` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel")});const f=x,o=e.useSlots(),I=e.useTemplateRef("inputElement"),n=e.ref(""),d=e.ref(!1),m=e.ref(0),{stripRequiredLabel:M}=O.default(),a=e.useAttrs(),p=e.computed(()=>(a==null?void 0:a.required)!==void 0&&String(a==null?void 0:a.required)!=="false"),T=e.useId(),k=e.computed(()=>a.id?String(a.id):T),b=e.useId(),C=e.computed(()=>M(l.label,p.value)),L=e.computed(()=>{var t;return!!((t=l.labelAttributes)!=null&&t.info||o["label-tooltip"])}),q=e.computed({get(){return l.modelValue},set(t){h({target:{value:t}})}}),N=e.computed(()=>{const t={...a};return delete t.class,delete t.input,delete t.onInput,t}),u=e.computed(()=>{var w,E;const t=((w=n.value)==null?void 0:w.toString().length)||0,r=((E=l.modelValue)==null?void 0:E.toString().length)||0;let i=t;return!d.value&&r&&(i=r),!!l.characterLimit&&i>l.characterLimit}),$=e.computed(()=>{var t,r;return u.value?d.value?`${(t=n.value)==null?void 0:t.toString().length} / ${l.characterLimit}`:`${(r=l.modelValue)==null?void 0:r.toString().length} / ${l.characterLimit}`:""}),P=e.computed(()=>!u.value&&!l.error&&!l.hasError&&!!(l.help||o.help)),c=e.computed(()=>u.value?$.value:(l.error||l.hasError)&&l.errorMessage?l.errorMessage:l.help);e.watch(u,(t,r)=>{t!==r&&(f("char-limit-exceeded",{value:n.value,length:n.value.length,characterLimit:l.characterLimit,limitExceeded:t}),m.value+=1)}),e.watch(q,(t,r)=>{t!==r&&h({target:{value:t}})});const h=t=>{var i;const r=JSON.parse(JSON.stringify((i=t==null?void 0:t.target)==null?void 0:i.value));A(r)},A=t=>{n.value=t,d.value=!0,f("input",t),f("update:modelValue",t)},K=()=>n.value||d.value?n.value:l.modelValue;e.watch(()=>l.error,(t,r)=>{t!==r&&(m.value+=1)});const v=e.ref(null),g=e.ref(null),y=e.ref(V.KUI_ICON_SIZE_40),S=e.ref(V.KUI_ICON_SIZE_40),s=e.ref(!1),W=e.computed(()=>l.type==="password"&&s.value?"text":l.type);return e.onMounted(async()=>{var t,r;await e.nextTick(),(t=v.value)!=null&&t.offsetWidth&&(y.value=v.value.offsetWidth+"px"),(r=g.value)!=null&&r.offsetWidth&&(S.value=g.value.offsetWidth+"px")}),B({input:I}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-input",[e.unref(a).class,{"input-error":u.value||l.error||l.hasError}]])},[l.label?(e.openBlock(),e.createBlock(R.default,e.mergeProps({key:0,for:k.value},l.labelAttributes,{required:p.value}),e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.value)+" ",1)]),_:2},[L.value?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"label-tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["input-element-wrapper",{"has-before-content":o.before,"has-after-content":o.after||l.type==="password"&&l.showPasswordMaskToggle}])},[o.before?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"beforeSlotElement",ref:v,class:"before-content-wrapper"},[e.renderSlot(t.$slots,"before",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createElementVNode("input",e.mergeProps({id:k.value,ref:"inputElement","aria-describedby":c.value||o.help?e.unref(b):void 0,"aria-invalid":l.error||l.hasError||u.value?"true":void 0,class:"input",type:W.value},N.value,{value:K(),onInput:h}),null,16,z),o.after||l.type==="password"&&l.showPasswordMaskToggle?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"afterSlotElement",ref:g,class:"after-content-wrapper"},[l.type==="password"&&l.showPasswordMaskToggle?(e.openBlock(),e.createElementBlock("button",{key:0,"aria-label":`${s.value?"Hide":"Show"} value`,class:"mask-value-toggle-button",type:"button",onClick:r[0]||(r[0]=e.withModifiers(i=>s.value=!s.value,["stop"])),onMousedown:r[1]||(r[1]=e.withModifiers(()=>{},["prevent"])),onMouseup:r[2]||(r[2]=e.withModifiers(()=>{},["prevent"]))},[s.value?(e.openBlock(),e.createBlock(e.unref(D.default),{key:0,decorative:""})):(e.openBlock(),e.createBlock(e.unref(U.default),{key:1,decorative:""}))],40,H)):e.renderSlot(t.$slots,"after",{key:1},void 0,!0)],512)):e.createCommentVNode("",!0)],2),e.createVNode(e.Transition,{mode:"out-in",name:"kongponents-fade-transition"},{default:e.withCtx(()=>[c.value||o.help?(e.openBlock(),e.createElementBlock("p",{id:e.unref(b),key:String(m.value),class:"help-text"},[P.value?e.renderSlot(t.$slots,"help",{key:0},()=>[e.createTextVNode(e.toDisplayString(c.value),1)],!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(c.value),1)],64))],8,J)):e.createCommentVNode("",!0)]),_:3})],2))}});exports.default=Z;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("./kongponents24.cjs");;/* empty css */const p=require("./kongponents168.cjs"),m=require("./kongponents171.cjs"),b=e.defineComponent({__name:"KLabel",props:{info:{default:""},required:{type:Boolean},tooltipAttributes:{default:()=>({})},help:{default:""}},setup(o){e.watch(()=>o.help,t=>{t&&console.warn("KLabel: `help` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel")},{immediate:!0});const n=e.useSlots(),a=e.computed(()=>!!(o.help||o.info||n.tooltip)),l=e.useId(),u=e.useTemplateRef("label"),s=["a[href]","audio[controls]","button","details","embed","iframe","img[usemap]",'input:not([type="hidden"])',"label","select","textarea","video[controls]","area[href]"].join(", ");function c(t){return t.closest(s)}function d(t){const r=t.target,i=c(r);i&&i!==u.value||t.preventDefault()}return(t,r)=>(e.openBlock(),e.createElementBlock("label",{ref:"label",class:e.normalizeClass(["k-label",{required:o.required}])},[e.renderSlot(t.$slots,"default",{},void 0,!0),a.value?(e.openBlock(),e.createBlock(f.default,e.mergeProps({key:0},o.tooltipAttributes,{class:"label-tooltip","tooltip-id":e.unref(l),onClick:d}),{content:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{},()=>[e.createTextVNode(e.toDisplayString(o.info||o.help),1)],!0)]),default:e.withCtx(()=>[e.createVNode(e.unref(p.default),{"aria-describedby":e.unref(l),class:"tooltip-trigger-icon",color:`var(--kui-color-text-neutral, ${e.unref(m.KUI_COLOR_TEXT_NEUTRAL)})`,tabindex:"0"},null,8,["aria-describedby","color"])]),_:3},16,["tooltip-id"])):e.createCommentVNode("",!0)],2))}});exports.default=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("./kongponents24.cjs");;/* empty css */const p=require("./kongponents174.cjs"),m=require("./kongponents177.cjs"),b=e.defineComponent({__name:"KLabel",props:{info:{default:""},required:{type:Boolean},tooltipAttributes:{default:()=>({})},help:{default:""}},setup(o){e.watch(()=>o.help,t=>{t&&console.warn("KLabel: `help` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel")},{immediate:!0});const n=e.useSlots(),a=e.computed(()=>!!(o.help||o.info||n.tooltip)),l=e.useId(),u=e.useTemplateRef("label"),s=["a[href]","audio[controls]","button","details","embed","iframe","img[usemap]",'input:not([type="hidden"])',"label","select","textarea","video[controls]","area[href]"].join(", ");function c(t){return t.closest(s)}function d(t){const r=t.target,i=c(r);i&&i!==u.value||t.preventDefault()}return(t,r)=>(e.openBlock(),e.createElementBlock("label",{ref:"label",class:e.normalizeClass(["k-label",{required:o.required}])},[e.renderSlot(t.$slots,"default",{},void 0,!0),a.value?(e.openBlock(),e.createBlock(f.default,e.mergeProps({key:0},o.tooltipAttributes,{class:"label-tooltip","tooltip-id":e.unref(l),onClick:d}),{content:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{},()=>[e.createTextVNode(e.toDisplayString(o.info||o.help),1)],!0)]),default:e.withCtx(()=>[e.createVNode(e.unref(p.default),{"aria-describedby":e.unref(l),class:"tooltip-trigger-icon",color:`var(--kui-color-text-neutral, ${e.unref(m.KUI_COLOR_TEXT_NEUTRAL)})`,tabindex:"0"},null,8,["aria-describedby","color"])]),_:3},16,["tooltip-id"])):e.createCommentVNode("",!0)],2))}});exports.default=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("./kongponents208.cjs"),T=require("./kongponents194.cjs"),C=require("./kongponents33.cjs"),$=require("./kongponents166.cjs"),N=require("./kongponents171.cjs"),h=require("./kongponents188.cjs"),A=["aria-label"],O={key:0,class:"modal-header"},D={key:0,class:"modal-title"},z={class:"modal-footer"},L={class:"footer-actions"},q=e.defineComponent({inheritAttrs:!1,__name:"KModal",props:{visible:{type:Boolean},title:{default:""},actionButtonText:{default:"Submit"},actionButtonAppearance:{default:"primary"},actionButtonDisabled:{type:Boolean},hideCancelButton:{type:Boolean},cancelButtonText:{default:"Cancel"},cancelButtonAppearance:{default:"tertiary"},cancelButtonDisabled:{type:Boolean},tabbableOptions:{default:()=>({})},maxWidth:{default:"500px"},maxHeight:{default:"calc(100vh - 200px)"},closeOnBackdropClick:{type:Boolean},closeOnEscape:{type:Boolean,default:!0},hideCloseIcon:{type:Boolean},fullScreen:{type:Boolean},inputAutofocus:{type:Boolean},zIndex:{default:1100}},emits:["proceed","cancel"],setup(o,{emit:p}){e.useCssVars(t=>({v5582ddaa:t.zIndex,v1ae56e5d:V.value,ee977890:g.value}));const E=p,i=e.useSlots(),m=e.useAttrs(),S=T.useTextSelection(),f=`k-modal-${e.useId()}-overflow-hidden`,c=e.ref(null),v=e.ref(null),V=e.computed(()=>o.fullScreen&&!i.content?"95%":h.normalizeSize(o.maxWidth)),g=e.computed(()=>o.fullScreen&&!i.content?"95vh":h.normalizeSize(o.maxHeight)),w=e.computed(()=>{const t=Object.assign({},m);return delete t.class,t}),y=e.computed(()=>!!o.title||!!i.title||!o.hideCloseIcon),b=t=>{o.visible&&o.closeOnEscape&&t.key==="Escape"&&B(!0)},B=(t=!1,a)=>{var l,n;(t||(n=(l=a==null?void 0:a.target)==null?void 0:l.classList)!=null&&n.contains("modal-backdrop")&&o.closeOnBackdropClick&&!S.text.value)&&E("cancel")},d=async t=>{var a,l;t?(await e.nextTick(),await new Promise(n=>setTimeout(n,0)),(a=c.value)==null||a.activate()):(l=c.value)==null||l.deactivate()},r=t=>{typeof document<"u"&&(t?document==null||document.addEventListener("keydown",b):document==null||document.removeEventListener("keydown",b))},k=()=>{var a,l,n;const t=(n=(l=(a=c.value)==null?void 0:a.$el)==null?void 0:l.querySelector(".modal-content"))==null?void 0:n.querySelectorAll("input");t!=null&&t.length&&Array.from(t).every(u=>!u.disabled&&!u.readOnly?(u.focus(),!1):!0)};e.watch(()=>o.visible,async t=>{var a,l;t?(await d(!0),o.inputAutofocus&&k(),r(!0)):(await d(!1),r(!1)),typeof document<"u"&&((l=(a=document==null?void 0:document.body)==null?void 0:a.classList)==null||l.toggle(f,t))},{immediate:!0}),e.watch(()=>o.inputAutofocus,async t=>{t&&(await e.nextTick(),k())});const s=e.ref(null);return e.onMounted(()=>{typeof document<"u"&&(s.value=document.createElement("style"),s.value.textContent=`body.${f} { overflow: hidden; }`,document.head.appendChild(s.value))}),e.onBeforeUnmount(async()=>{await d(!1),r(!1)}),e.onUnmounted(()=>{var t;(t=s.value)==null||t.remove()}),(t,a)=>o.visible?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,"aria-label":o.title,"aria-modal":"true",class:["k-modal",[e.unref(m).class]]},w.value,{role:"dialog"}),[e.createElementVNode("div",{ref_key:"modalWrapperElement",ref:v,class:e.normalizeClass(["modal-backdrop",{"modal-full-screen":o.fullScreen&&!t.$slots.content}]),onClick:a[3]||(a[3]=l=>B(!1,l))},[e.createVNode(e.unref(x.FocusTrap),{ref_key:"focusTrapElement",ref:c,active:!1,"fallback-focus":()=>v.value,"tabbable-options":o.tabbableOptions},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["modal-container",{"custom-content":t.$slots.content}]),tabindex:"-1"},[e.renderSlot(t.$slots,"content",{},()=>[y.value?(e.openBlock(),e.createElementBlock("div",O,[o.title||t.$slots.title?(e.openBlock(),e.createElementBlock("div",D,[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)])):e.createCommentVNode("",!0),o.hideCloseIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:1,"aria-label":"Close",class:"close-icon","data-testid":"modal-close-icon",type:"button",onClick:a[0]||(a[0]=l=>t.$emit("cancel"))},[e.createVNode(e.unref($.default),{color:`var(--kui-color-text-neutral, ${e.unref(N.KUI_COLOR_TEXT_NEUTRAL)})`,decorative:""},null,8,["color"])]))])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["modal-content",{"no-header":!y.value}])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],2),e.createElementVNode("div",z,[e.renderSlot(t.$slots,"footer",{},()=>[e.createElementVNode("div",L,[e.renderSlot(t.$slots,"footer-actions",{},()=>[o.hideCancelButton?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(C.default,{key:0,appearance:o.cancelButtonAppearance,"data-testid":"modal-cancel-button",disabled:o.cancelButtonDisabled,onClick:a[1]||(a[1]=l=>t.$emit("cancel"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.cancelButtonText),1)]),_:1},8,["appearance","disabled"])),e.createVNode(C.default,{appearance:o.actionButtonAppearance,"data-testid":"modal-action-button",disabled:o.actionButtonDisabled,onClick:a[2]||(a[2]=l=>t.$emit("proceed"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.actionButtonText),1)]),_:1},8,["appearance","disabled"])],!0)])],!0)])],!0)],2)]),_:3},8,["fallback-focus","tabbable-options"])],2)],16,A)):e.createCommentVNode("",!0)}});exports.default=q;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("./kongponents183.cjs"),T=require("./kongponents184.cjs"),C=require("./kongponents33.cjs"),$=require("./kongponents172.cjs"),N=require("./kongponents177.cjs"),h=require("./kongponents178.cjs"),A=["aria-label"],O={key:0,class:"modal-header"},D={key:0,class:"modal-title"},z={class:"modal-footer"},L={class:"footer-actions"},q=e.defineComponent({inheritAttrs:!1,__name:"KModal",props:{visible:{type:Boolean},title:{default:""},actionButtonText:{default:"Submit"},actionButtonAppearance:{default:"primary"},actionButtonDisabled:{type:Boolean},hideCancelButton:{type:Boolean},cancelButtonText:{default:"Cancel"},cancelButtonAppearance:{default:"tertiary"},cancelButtonDisabled:{type:Boolean},tabbableOptions:{default:()=>({})},maxWidth:{default:"500px"},maxHeight:{default:"calc(100vh - 200px)"},closeOnBackdropClick:{type:Boolean},closeOnEscape:{type:Boolean,default:!0},hideCloseIcon:{type:Boolean},fullScreen:{type:Boolean},inputAutofocus:{type:Boolean},zIndex:{default:1100}},emits:["proceed","cancel"],setup(o,{emit:p}){e.useCssVars(t=>({v5582ddaa:t.zIndex,v1ae56e5d:V.value,ee977890:g.value}));const E=p,i=e.useSlots(),m=e.useAttrs(),S=T.useTextSelection(),f=`k-modal-${e.useId()}-overflow-hidden`,c=e.ref(null),v=e.ref(null),V=e.computed(()=>o.fullScreen&&!i.content?"95%":h.normalizeSize(o.maxWidth)),g=e.computed(()=>o.fullScreen&&!i.content?"95vh":h.normalizeSize(o.maxHeight)),w=e.computed(()=>{const t=Object.assign({},m);return delete t.class,t}),y=e.computed(()=>!!o.title||!!i.title||!o.hideCloseIcon),b=t=>{o.visible&&o.closeOnEscape&&t.key==="Escape"&&B(!0)},B=(t=!1,a)=>{var l,n;(t||(n=(l=a==null?void 0:a.target)==null?void 0:l.classList)!=null&&n.contains("modal-backdrop")&&o.closeOnBackdropClick&&!S.text.value)&&E("cancel")},d=async t=>{var a,l;t?(await e.nextTick(),await new Promise(n=>setTimeout(n,0)),(a=c.value)==null||a.activate()):(l=c.value)==null||l.deactivate()},r=t=>{typeof document<"u"&&(t?document==null||document.addEventListener("keydown",b):document==null||document.removeEventListener("keydown",b))},k=()=>{var a,l,n;const t=(n=(l=(a=c.value)==null?void 0:a.$el)==null?void 0:l.querySelector(".modal-content"))==null?void 0:n.querySelectorAll("input");t!=null&&t.length&&Array.from(t).every(u=>!u.disabled&&!u.readOnly?(u.focus(),!1):!0)};e.watch(()=>o.visible,async t=>{var a,l;t?(await d(!0),o.inputAutofocus&&k(),r(!0)):(await d(!1),r(!1)),typeof document<"u"&&((l=(a=document==null?void 0:document.body)==null?void 0:a.classList)==null||l.toggle(f,t))},{immediate:!0}),e.watch(()=>o.inputAutofocus,async t=>{t&&(await e.nextTick(),k())});const s=e.ref(null);return e.onMounted(()=>{typeof document<"u"&&(s.value=document.createElement("style"),s.value.textContent=`body.${f} { overflow: hidden; }`,document.head.appendChild(s.value))}),e.onBeforeUnmount(async()=>{await d(!1),r(!1)}),e.onUnmounted(()=>{var t;(t=s.value)==null||t.remove()}),(t,a)=>o.visible?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,"aria-label":o.title,"aria-modal":"true",class:["k-modal",[e.unref(m).class]]},w.value,{role:"dialog"}),[e.createElementVNode("div",{ref_key:"modalWrapperElement",ref:v,class:e.normalizeClass(["modal-backdrop",{"modal-full-screen":o.fullScreen&&!t.$slots.content}]),onClick:a[3]||(a[3]=l=>B(!1,l))},[e.createVNode(e.unref(x.FocusTrap),{ref_key:"focusTrapElement",ref:c,active:!1,"fallback-focus":()=>v.value,"tabbable-options":o.tabbableOptions},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["modal-container",{"custom-content":t.$slots.content}]),tabindex:"-1"},[e.renderSlot(t.$slots,"content",{},()=>[y.value?(e.openBlock(),e.createElementBlock("div",O,[o.title||t.$slots.title?(e.openBlock(),e.createElementBlock("div",D,[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)])):e.createCommentVNode("",!0),o.hideCloseIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:1,"aria-label":"Close",class:"close-icon","data-testid":"modal-close-icon",type:"button",onClick:a[0]||(a[0]=l=>t.$emit("cancel"))},[e.createVNode(e.unref($.default),{color:`var(--kui-color-text-neutral, ${e.unref(N.KUI_COLOR_TEXT_NEUTRAL)})`,decorative:""},null,8,["color"])]))])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["modal-content",{"no-header":!y.value}])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],2),e.createElementVNode("div",z,[e.renderSlot(t.$slots,"footer",{},()=>[e.createElementVNode("div",L,[e.renderSlot(t.$slots,"footer-actions",{},()=>[o.hideCancelButton?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(C.default,{key:0,appearance:o.cancelButtonAppearance,"data-testid":"modal-cancel-button",disabled:o.cancelButtonDisabled,onClick:a[1]||(a[1]=l=>t.$emit("cancel"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.cancelButtonText),1)]),_:1},8,["appearance","disabled"])),e.createVNode(C.default,{appearance:o.actionButtonAppearance,"data-testid":"modal-action-button",disabled:o.actionButtonDisabled,onClick:a[2]||(a[2]=l=>t.$emit("proceed"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.actionButtonText),1)]),_:1},8,["appearance","disabled"])],!0)])],!0)])],!0)],2)]),_:3},8,["fallback-focus","tabbable-options"])],2)],16,A)):e.createCommentVNode("",!0)}});exports.default=q;
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("./kongponents33.cjs"),m=require("./kongponents184.cjs"),f=require("./kongponents171.cjs"),y=["aria-label"],p={class:"k-modal-fullscreen-body-header"},h={key:0,class:"body-header"},k={key:1,class:"body-header-description"},b={class:"k-modal-fullscreen-body"},V={class:"k-modal-fullscreen-header"},v={"aria-level":"2",class:"k-modal-fullscreen-header-description",role:"heading"},g={class:"k-modal-fullscreen-title"},N={class:"header-icon"},S={class:"header-content"},B={class:"k-modal-fullscreen-action"},E={class:"k-modal-fullscreen-action-buttons"},C={key:0,class:"k-modal-fullscreen-footer"},T={class:"k-modal-fullscreen-action"},w={class:"k-modal-fullscreen-action-buttons"},$=e.defineComponent({__name:"KModalFullscreen",props:{title:{type:String,required:!0},bodyHeader:{type:String,default:""},bodyHeaderDescription:{type:String,default:""},isVisible:{type:Boolean,default:!1},cancelButtonText:{type:String,default:"Cancel"},actionButtonText:{type:String,default:"Save"},actionButtonAppearance:{type:String,default:"primary"},cancelButtonAppearance:{type:String,default:"secondary"},iconString:{type:String,default:"kong"}},emits:["canceled","proceed"],setup(o,{emit:i}){const a=o,c=i,l=e.ref(null),u=e.computed(()=>!!a.isVisible);e.watch(()=>a.isVisible,async()=>{typeof document>"u"||(u.value?(document.body.style.overflow="hidden",await e.nextTick(),l.value&&l.value.focus()):document.body.style.overflow="")});const s=t=>{a.isVisible&&(t.keyCode===27?d():t.keyCode===13&&n())},d=()=>{c("canceled")},n=()=>{c("proceed")};return e.onMounted(()=>{document.addEventListener("keydown",s),console.warn(`The Kongponents 'KModalFullscreen' component is deprecated and will be removed in the next major release.
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("./kongponents33.cjs"),m=require("./kongponents207.cjs"),f=require("./kongponents177.cjs"),y=["aria-label"],p={class:"k-modal-fullscreen-body-header"},h={key:0,class:"body-header"},k={key:1,class:"body-header-description"},b={class:"k-modal-fullscreen-body"},V={class:"k-modal-fullscreen-header"},v={"aria-level":"2",class:"k-modal-fullscreen-header-description",role:"heading"},g={class:"k-modal-fullscreen-title"},N={class:"header-icon"},S={class:"header-content"},B={class:"k-modal-fullscreen-action"},E={class:"k-modal-fullscreen-action-buttons"},C={key:0,class:"k-modal-fullscreen-footer"},T={class:"k-modal-fullscreen-action"},w={class:"k-modal-fullscreen-action-buttons"},$=e.defineComponent({__name:"KModalFullscreen",props:{title:{type:String,required:!0},bodyHeader:{type:String,default:""},bodyHeaderDescription:{type:String,default:""},isVisible:{type:Boolean,default:!1},cancelButtonText:{type:String,default:"Cancel"},actionButtonText:{type:String,default:"Save"},actionButtonAppearance:{type:String,default:"primary"},cancelButtonAppearance:{type:String,default:"secondary"},iconString:{type:String,default:"kong"}},emits:["canceled","proceed"],setup(o,{emit:i}){const a=o,c=i,l=e.ref(null),u=e.computed(()=>!!a.isVisible);e.watch(()=>a.isVisible,async()=>{typeof document>"u"||(u.value?(document.body.style.overflow="hidden",await e.nextTick(),l.value&&l.value.focus()):document.body.style.overflow="")});const s=t=>{a.isVisible&&(t.keyCode===27?d():t.keyCode===13&&n())},d=()=>{c("canceled")},n=()=>{c("proceed")};return e.onMounted(()=>{document.addEventListener("keydown",s),console.warn(`The Kongponents 'KModalFullscreen' component is deprecated and will be removed in the next major release.
2
2
  We suggest using 'KModal' component instead.
3
3
  Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`)}),e.onBeforeUnmount(()=>{document.removeEventListener("keydown",s)}),e.onUnmounted(()=>{document.body.style.overflow=""}),(t,D)=>o.isVisible?(e.openBlock(),e.createElementBlock("div",{key:0,"aria-label":o.title,"aria-modal":"true",class:"k-modal-fullscreen isOpen",role:"dialog",onKeyup:[e.withKeys(n,["enter"]),e.withKeys(d,["esc"])]},[e.createElementVNode("div",{ref_key:"modalBodyContent",ref:l,class:e.normalizeClass(["k-modal-fullscreen-dialog",{"has-footer":t.$slots["footer-content"]}]),tabindex:"0"},[e.createElementVNode("div",p,[t.$slots["body-header"]||o.bodyHeader?(e.openBlock(),e.createElementBlock("div",h,[e.renderSlot(t.$slots,"body-header",{},()=>[e.createTextVNode(e.toDisplayString(o.bodyHeader),1)],!0)])):e.createCommentVNode("",!0),t.$slots["body-header-description"]||o.bodyHeaderDescription?(e.openBlock(),e.createElementBlock("div",k,[e.renderSlot(t.$slots,"body-header-description",{},()=>[e.createTextVNode(e.toDisplayString(o.bodyHeaderDescription),1)],!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",b,[e.renderSlot(t.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",V,[e.createElementVNode("div",v,[e.createElementVNode("div",g,[e.createElementVNode("span",N,[e.renderSlot(t.$slots,"header-icon",{},()=>[e.createVNode(e.unref(m.default),{color:e.unref(f.KUI_COLOR_TEXT_DECORATIVE_AQUA)},null,8,["color"])],!0)]),e.createElementVNode("span",S,[e.renderSlot(t.$slots,"header-content",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)])]),e.createElementVNode("div",B,[e.createElementVNode("div",E,[e.renderSlot(t.$slots,"action-buttons",{},()=>[e.createVNode(r.default,{appearance:o.cancelButtonAppearance,class:"cancel-button",onClick:d},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.cancelButtonText),1)]),_:1},8,["appearance"]),e.createVNode(r.default,{appearance:o.actionButtonAppearance,class:"proceed-button",onClick:n},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.actionButtonText),1)]),_:1},8,["appearance"])],!0)])])])]),t.$slots["footer-content"]?(e.openBlock(),e.createElementBlock("div",C,[e.renderSlot(t.$slots,"footer-content",{},void 0,!0),e.createElementVNode("div",T,[e.createElementVNode("div",w,[e.renderSlot(t.$slots,"action-buttons",{},()=>[e.createVNode(r.default,{appearance:o.actionButtonAppearance,class:"proceed-button",onClick:n},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.actionButtonText),1)]),_:1},8,["appearance"])],!0)])])])):e.createCommentVNode("",!0)],2)],40,y)):e.createCommentVNode("",!0)}});exports.default=$;