@kong/kongponents 9.66.15 → 9.66.16

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 (980) hide show
  1. package/bin/mcp-data/snapshot.json.gz +0 -0
  2. package/dist/kongponents.css +1 -1
  3. package/dist/kongponents.umd.js +13 -13
  4. package/dist/{kongponents103.cjs → kongponents102.cjs} +1 -1
  5. package/dist/{kongponents103.es.js → kongponents102.es.js} +1 -1
  6. package/dist/{kongponents105.cjs → kongponents104.cjs} +1 -1
  7. package/dist/{kongponents105.es.js → kongponents104.es.js} +5 -5
  8. package/dist/{kongponents108.cjs → kongponents107.cjs} +1 -1
  9. package/dist/{kongponents108.es.js → kongponents107.es.js} +1 -1
  10. package/dist/{kongponents114.cjs → kongponents113.cjs} +1 -1
  11. package/dist/{kongponents114.es.js → kongponents113.es.js} +1 -1
  12. package/dist/{kongponents116.cjs → kongponents115.cjs} +1 -1
  13. package/dist/{kongponents116.es.js → kongponents115.es.js} +1 -1
  14. package/dist/{kongponents118.cjs → kongponents117.cjs} +1 -1
  15. package/dist/{kongponents118.es.js → kongponents117.es.js} +2 -2
  16. package/dist/{kongponents122.cjs → kongponents121.cjs} +1 -1
  17. package/dist/{kongponents122.es.js → kongponents121.es.js} +2 -2
  18. package/dist/{kongponents124.cjs → kongponents123.cjs} +1 -1
  19. package/dist/{kongponents124.es.js → kongponents123.es.js} +4 -4
  20. package/dist/{kongponents126.cjs → kongponents125.cjs} +1 -1
  21. package/dist/{kongponents126.es.js → kongponents125.es.js} +1 -1
  22. package/dist/{kongponents128.cjs → kongponents127.cjs} +1 -1
  23. package/dist/{kongponents128.es.js → kongponents127.es.js} +7 -7
  24. package/dist/{kongponents131.cjs → kongponents130.cjs} +1 -1
  25. package/dist/{kongponents131.es.js → kongponents130.es.js} +2 -2
  26. package/dist/kongponents132.cjs +1 -0
  27. package/dist/kongponents132.es.js +219 -0
  28. package/dist/{kongponents137.cjs → kongponents136.cjs} +1 -1
  29. package/dist/{kongponents137.es.js → kongponents136.es.js} +1 -1
  30. package/dist/{kongponents139.cjs → kongponents138.cjs} +1 -1
  31. package/dist/{kongponents139.es.js → kongponents138.es.js} +1 -1
  32. package/dist/{kongponents141.cjs → kongponents140.cjs} +1 -1
  33. package/dist/{kongponents141.es.js → kongponents140.es.js} +8 -8
  34. package/dist/kongponents143.cjs +1 -0
  35. package/dist/kongponents143.es.js +5 -0
  36. package/dist/kongponents144.cjs +1 -1
  37. package/dist/kongponents144.es.js +14 -3
  38. package/dist/{kongponents148.cjs → kongponents147.cjs} +1 -1
  39. package/dist/{kongponents148.es.js → kongponents147.es.js} +4 -4
  40. package/dist/{kongponents150.cjs → kongponents149.cjs} +1 -1
  41. package/dist/{kongponents150.es.js → kongponents149.es.js} +1 -1
  42. package/dist/{kongponents152.cjs → kongponents151.cjs} +1 -1
  43. package/dist/{kongponents152.es.js → kongponents151.es.js} +4 -4
  44. package/dist/{kongponents156.cjs → kongponents155.cjs} +1 -1
  45. package/dist/{kongponents156.es.js → kongponents155.es.js} +2 -2
  46. package/dist/{kongponents158.cjs → kongponents157.cjs} +1 -1
  47. package/dist/{kongponents158.es.js → kongponents157.es.js} +1 -1
  48. package/dist/kongponents160.cjs +1 -0
  49. package/dist/kongponents160.es.js +5 -0
  50. package/dist/kongponents161.cjs +1 -1
  51. package/dist/kongponents161.es.js +3 -3
  52. package/dist/kongponents162.cjs +1 -1
  53. package/dist/kongponents162.es.js +1 -1
  54. package/dist/kongponents163.cjs +1 -1
  55. package/dist/kongponents163.es.js +33 -3
  56. package/dist/{kongponents166.cjs → kongponents165.cjs} +1 -1
  57. package/dist/{kongponents166.es.js → kongponents165.es.js} +4 -4
  58. package/dist/{kongponents168.cjs → kongponents167.cjs} +1 -1
  59. package/dist/{kongponents168.es.js → kongponents167.es.js} +2 -2
  60. package/dist/{kongponents170.cjs → kongponents169.cjs} +1 -1
  61. package/dist/{kongponents170.es.js → kongponents169.es.js} +8 -8
  62. package/dist/{kongponents220.cjs → kongponents171.cjs} +1 -1
  63. package/dist/kongponents171.es.js +4 -0
  64. package/dist/kongponents172.cjs +1 -1
  65. package/dist/kongponents172.es.js +180 -2
  66. package/dist/{kongponents175.cjs → kongponents174.cjs} +1 -1
  67. package/dist/{kongponents175.es.js → kongponents174.es.js} +3 -3
  68. package/dist/kongponents176.cjs +1 -0
  69. package/dist/kongponents176.es.js +5591 -0
  70. package/dist/kongponents182.cjs +1 -1
  71. package/dist/kongponents182.es.js +5 -20
  72. package/dist/kongponents183.cjs +1 -1
  73. package/dist/kongponents183.es.js +5 -17
  74. package/dist/kongponents184.cjs +1 -1
  75. package/dist/kongponents184.es.js +20 -213
  76. package/dist/kongponents185.cjs +1 -1
  77. package/dist/kongponents185.es.js +5 -5
  78. package/dist/kongponents186.cjs +1 -1
  79. package/dist/kongponents186.es.js +5 -2
  80. package/dist/kongponents187.cjs +1 -1
  81. package/dist/kongponents187.es.js +16 -97
  82. package/dist/kongponents188.cjs +1 -1
  83. package/dist/kongponents188.es.js +212 -18
  84. package/dist/kongponents189.cjs +1 -1
  85. package/dist/kongponents189.es.js +5 -5
  86. package/dist/kongponents190.cjs +1 -1
  87. package/dist/kongponents190.es.js +10 -5
  88. package/dist/kongponents191.cjs +1 -1
  89. package/dist/kongponents191.es.js +97 -16
  90. package/dist/kongponents192.cjs +1 -1
  91. package/dist/kongponents192.es.js +5 -10
  92. package/dist/kongponents193.cjs +1 -0
  93. package/dist/kongponents193.es.js +7 -0
  94. package/dist/kongponents194.cjs +1 -1
  95. package/dist/kongponents194.es.js +21 -5
  96. package/dist/kongponents195.cjs +1 -1
  97. package/dist/kongponents195.es.js +5 -8
  98. package/dist/kongponents196.cjs +1 -1
  99. package/dist/kongponents196.es.js +5 -60
  100. package/dist/kongponents197.cjs +1 -1
  101. package/dist/kongponents197.es.js +4 -4
  102. package/dist/kongponents198.cjs +1 -1
  103. package/dist/kongponents198.es.js +16 -20
  104. package/dist/kongponents199.cjs +1 -1
  105. package/dist/kongponents199.es.js +2 -7
  106. package/dist/kongponents200.cjs +1 -1
  107. package/dist/kongponents200.es.js +35 -4
  108. package/dist/kongponents201.cjs +2 -1
  109. package/dist/kongponents201.es.js +97 -184
  110. package/dist/kongponents202.cjs +1 -1
  111. package/dist/kongponents202.es.js +19 -5
  112. package/dist/kongponents203.cjs +1 -1
  113. package/dist/kongponents203.es.js +52 -5
  114. package/dist/kongponents205.cjs +1 -1
  115. package/dist/kongponents205.es.js +4 -4
  116. package/dist/kongponents206.cjs +1 -1
  117. package/dist/kongponents206.es.js +7 -14
  118. package/dist/kongponents207.cjs +1 -1
  119. package/dist/kongponents207.es.js +60 -5
  120. package/dist/kongponents208.cjs +1 -1
  121. package/dist/kongponents208.es.js +5 -5
  122. package/dist/kongponents209.cjs +1 -1
  123. package/dist/kongponents209.es.js +6 -4
  124. package/dist/kongponents210.cjs +1 -1
  125. package/dist/kongponents210.es.js +185 -5
  126. package/dist/kongponents211.cjs +1 -1
  127. package/dist/kongponents211.es.js +4 -4
  128. package/dist/kongponents212.cjs +1 -1
  129. package/dist/kongponents212.es.js +4 -4
  130. package/dist/kongponents213.cjs +1 -1
  131. package/dist/kongponents213.es.js +4 -4
  132. package/dist/kongponents214.cjs +1 -1
  133. package/dist/kongponents214.es.js +3 -3
  134. package/dist/kongponents215.cjs +1 -1
  135. package/dist/kongponents215.es.js +5 -36
  136. package/dist/kongponents216.cjs +1 -2
  137. package/dist/kongponents216.es.js +5 -98
  138. package/dist/kongponents217.cjs +1 -1
  139. package/dist/kongponents217.es.js +5 -52
  140. package/dist/kongponents218.cjs +1 -1
  141. package/dist/kongponents218.es.js +15 -5
  142. package/dist/kongponents219.cjs +1 -1
  143. package/dist/kongponents219.es.js +91 -31
  144. package/dist/kongponents221.cjs +1 -1
  145. package/dist/kongponents221.es.js +233 -169
  146. package/dist/kongponents223.cjs +1 -0
  147. package/dist/kongponents223.es.js +57 -0
  148. package/dist/kongponents225.cjs +1 -0
  149. package/dist/kongponents225.es.js +33 -0
  150. package/dist/kongponents226.cjs +1 -1
  151. package/dist/kongponents226.es.js +81 -42
  152. package/dist/kongponents228.cjs +1 -1
  153. package/dist/kongponents228.es.js +41 -30
  154. package/dist/kongponents23.cjs +1 -1
  155. package/dist/kongponents23.es.js +1 -1
  156. package/dist/kongponents230.cjs +1 -1
  157. package/dist/kongponents230.es.js +1 -22
  158. package/dist/kongponents231.cjs +1 -0
  159. package/dist/kongponents231.es.js +8 -0
  160. package/dist/kongponents232.cjs +1 -1
  161. package/dist/kongponents232.es.js +172 -38
  162. package/dist/kongponents234.cjs +1 -1
  163. package/dist/kongponents234.es.js +59 -36
  164. package/dist/kongponents236.cjs +1 -1
  165. package/dist/kongponents236.es.js +71 -166
  166. package/dist/kongponents238.cjs +1 -1
  167. package/dist/kongponents238.es.js +37 -51
  168. package/dist/kongponents242.cjs +1 -1
  169. package/dist/kongponents242.es.js +5 -246
  170. package/dist/{kongponents298.cjs → kongponents243.cjs} +1 -1
  171. package/dist/{kongponents298.es.js → kongponents243.es.js} +3 -3
  172. package/dist/kongponents244.cjs +1 -1
  173. package/dist/kongponents244.es.js +4 -64
  174. package/dist/{kongponents300.cjs → kongponents245.cjs} +1 -1
  175. package/dist/{kongponents300.es.js → kongponents245.es.js} +1 -1
  176. package/dist/kongponents246.cjs +1 -1
  177. package/dist/kongponents246.es.js +4 -19
  178. package/dist/kongponents247.cjs +1 -1
  179. package/dist/kongponents247.es.js +9 -5
  180. package/dist/kongponents248.cjs +1 -1
  181. package/dist/kongponents248.es.js +5 -96
  182. package/dist/kongponents249.cjs +1 -1
  183. package/dist/kongponents249.es.js +3 -171
  184. package/dist/kongponents25.cjs +1 -1
  185. package/dist/kongponents25.es.js +7 -7
  186. package/dist/kongponents250.cjs +1 -1
  187. package/dist/kongponents250.es.js +17 -5
  188. package/dist/kongponents251.cjs +1 -1
  189. package/dist/kongponents251.es.js +3 -6
  190. package/dist/kongponents252.cjs +1 -1
  191. package/dist/kongponents252.es.js +8 -5
  192. package/dist/kongponents253.cjs +1 -1
  193. package/dist/kongponents253.es.js +7 -5
  194. package/dist/kongponents254.cjs +1 -1
  195. package/dist/kongponents254.es.js +3 -69
  196. package/dist/kongponents255.cjs +1 -1
  197. package/dist/kongponents255.es.js +2 -2
  198. package/dist/kongponents256.cjs +1 -1
  199. package/dist/kongponents256.es.js +5 -8
  200. package/dist/kongponents257.cjs +1 -1
  201. package/dist/kongponents257.es.js +9 -6
  202. package/dist/kongponents258.cjs +1 -1
  203. package/dist/kongponents258.es.js +4 -7
  204. package/dist/kongponents259.cjs +1 -1
  205. package/dist/kongponents259.es.js +4 -5
  206. package/dist/kongponents260.cjs +1 -1
  207. package/dist/kongponents260.es.js +3 -10
  208. package/dist/kongponents261.cjs +1 -1
  209. package/dist/kongponents261.es.js +3 -8
  210. package/dist/kongponents262.cjs +1 -1
  211. package/dist/kongponents262.es.js +7 -601
  212. package/dist/kongponents263.cjs +1 -1
  213. package/dist/kongponents263.es.js +7 -71
  214. package/dist/kongponents264.cjs +1 -1
  215. package/dist/kongponents264.es.js +5 -5
  216. package/dist/kongponents265.cjs +1 -1
  217. package/dist/kongponents265.es.js +9 -19
  218. package/dist/kongponents266.cjs +1 -1
  219. package/dist/kongponents266.es.js +5 -4
  220. package/dist/kongponents267.cjs +1 -1
  221. package/dist/kongponents267.es.js +8 -17
  222. package/dist/kongponents268.cjs +1 -1
  223. package/dist/kongponents268.es.js +6 -7
  224. package/dist/kongponents269.cjs +1 -1
  225. package/dist/kongponents269.es.js +17 -5
  226. package/dist/kongponents27.cjs +1 -1
  227. package/dist/kongponents27.es.js +2 -2
  228. package/dist/kongponents270.cjs +1 -1
  229. package/dist/kongponents270.es.js +11 -8
  230. package/dist/kongponents271.cjs +1 -1
  231. package/dist/kongponents271.es.js +6 -7
  232. package/dist/kongponents272.cjs +1 -1
  233. package/dist/kongponents272.es.js +12 -7
  234. package/dist/kongponents273.cjs +1 -1
  235. package/dist/kongponents273.es.js +9 -7
  236. package/dist/kongponents274.cjs +1 -1
  237. package/dist/kongponents274.es.js +5 -7
  238. package/dist/kongponents275.cjs +1 -1
  239. package/dist/kongponents275.es.js +8 -124
  240. package/dist/kongponents276.cjs +1 -2
  241. package/dist/kongponents276.es.js +14 -47
  242. package/dist/kongponents277.cjs +1 -1
  243. package/dist/kongponents277.es.js +17 -7
  244. package/dist/kongponents278.cjs +1 -1
  245. package/dist/kongponents278.es.js +6 -57
  246. package/dist/kongponents279.cjs +1 -1
  247. package/dist/kongponents279.es.js +11 -65
  248. package/dist/kongponents280.cjs +1 -1
  249. package/dist/kongponents280.es.js +6 -4
  250. package/dist/kongponents281.cjs +1 -1
  251. package/dist/kongponents281.es.js +8 -4
  252. package/dist/kongponents282.cjs +1 -1
  253. package/dist/kongponents282.es.js +6 -87
  254. package/dist/kongponents283.cjs +1 -0
  255. package/dist/kongponents283.es.js +9 -0
  256. package/dist/kongponents284.cjs +1 -1
  257. package/dist/kongponents284.es.js +10 -45
  258. package/dist/kongponents285.cjs +1 -0
  259. package/dist/kongponents285.es.js +10 -0
  260. package/dist/kongponents286.cjs +1 -1
  261. package/dist/kongponents286.es.js +3 -5
  262. package/dist/kongponents287.cjs +1 -1
  263. package/dist/kongponents287.es.js +6 -55
  264. package/dist/kongponents288.cjs +1 -0
  265. package/dist/kongponents288.es.js +18 -0
  266. package/dist/kongponents289.cjs +1 -1
  267. package/dist/kongponents289.es.js +174 -75
  268. package/dist/kongponents291.cjs +1 -1
  269. package/dist/kongponents291.es.js +22 -39
  270. package/dist/kongponents293.cjs +1 -1
  271. package/dist/kongponents293.es.js +48 -5
  272. package/dist/kongponents295.cjs +1 -1
  273. package/dist/kongponents295.es.js +34 -5
  274. package/dist/kongponents297.cjs +1 -1
  275. package/dist/kongponents297.es.js +23 -5
  276. package/dist/kongponents299.cjs +1 -1
  277. package/dist/kongponents299.es.js +44 -4
  278. package/dist/kongponents30.cjs +1 -1
  279. package/dist/kongponents30.es.js +1 -1
  280. package/dist/kongponents301.cjs +1 -1
  281. package/dist/kongponents301.es.js +41 -6
  282. package/dist/kongponents303.cjs +1 -1
  283. package/dist/kongponents303.es.js +55 -6
  284. package/dist/kongponents305.cjs +1 -1
  285. package/dist/kongponents305.es.js +5 -17
  286. package/dist/kongponents306.cjs +1 -1
  287. package/dist/kongponents306.es.js +121 -4
  288. package/dist/kongponents308.cjs +1 -1
  289. package/dist/kongponents308.es.js +5 -7
  290. package/dist/kongponents309.cjs +1 -1
  291. package/dist/kongponents309.es.js +7 -3
  292. package/dist/kongponents310.cjs +1 -1
  293. package/dist/kongponents310.es.js +6 -2
  294. package/dist/kongponents311.cjs +1 -1
  295. package/dist/kongponents311.es.js +9 -6
  296. package/dist/kongponents312.cjs +1 -1
  297. package/dist/kongponents312.es.js +5 -9
  298. package/dist/kongponents313.cjs +1 -1
  299. package/dist/kongponents313.es.js +9 -4
  300. package/dist/kongponents314.cjs +1 -1
  301. package/dist/kongponents314.es.js +15 -4
  302. package/dist/kongponents315.cjs +1 -1
  303. package/dist/kongponents315.es.js +3 -3
  304. package/dist/kongponents316.cjs +1 -1
  305. package/dist/kongponents316.es.js +7 -3
  306. package/dist/kongponents317.cjs +1 -1
  307. package/dist/kongponents317.es.js +3 -8
  308. package/dist/kongponents318.cjs +1 -1
  309. package/dist/kongponents318.es.js +10 -6
  310. package/dist/kongponents319.cjs +1 -1
  311. package/dist/kongponents319.es.js +8 -5
  312. package/dist/kongponents32.cjs +1 -1
  313. package/dist/kongponents32.es.js +4 -4
  314. package/dist/kongponents320.cjs +1 -1
  315. package/dist/kongponents320.es.js +5 -9
  316. package/dist/kongponents321.cjs +1 -1
  317. package/dist/kongponents321.es.js +2 -6
  318. package/dist/kongponents322.cjs +1 -1
  319. package/dist/kongponents322.es.js +10 -6
  320. package/dist/kongponents323.cjs +1 -1
  321. package/dist/kongponents323.es.js +4 -6
  322. package/dist/kongponents324.cjs +1 -1
  323. package/dist/kongponents324.es.js +3 -18
  324. package/dist/kongponents325.cjs +1 -1
  325. package/dist/kongponents325.es.js +26 -12
  326. package/dist/kongponents326.cjs +1 -1
  327. package/dist/kongponents326.es.js +4 -7
  328. package/dist/kongponents327.cjs +1 -1
  329. package/dist/kongponents327.es.js +4 -13
  330. package/dist/kongponents328.cjs +1 -1
  331. package/dist/kongponents328.es.js +4 -10
  332. package/dist/kongponents329.cjs +1 -1
  333. package/dist/kongponents329.es.js +4 -6
  334. package/dist/kongponents330.cjs +1 -1
  335. package/dist/kongponents330.es.js +4 -9
  336. package/dist/kongponents331.cjs +1 -1
  337. package/dist/kongponents331.es.js +14 -15
  338. package/dist/kongponents332.cjs +1 -1
  339. package/dist/kongponents332.es.js +5 -17
  340. package/dist/kongponents333.cjs +1 -1
  341. package/dist/kongponents333.es.js +29 -5
  342. package/dist/kongponents334.cjs +1 -1
  343. package/dist/kongponents334.es.js +25 -9
  344. package/dist/kongponents335.cjs +1 -1
  345. package/dist/kongponents335.es.js +15 -6
  346. package/dist/kongponents336.cjs +1 -1
  347. package/dist/kongponents336.es.js +8 -6
  348. package/dist/kongponents337.cjs +1 -1
  349. package/dist/kongponents337.es.js +4 -5
  350. package/dist/kongponents338.cjs +1 -1
  351. package/dist/kongponents338.es.js +13 -6
  352. package/dist/kongponents339.cjs +1 -1
  353. package/dist/kongponents339.es.js +8 -9
  354. package/dist/kongponents34.cjs +1 -1
  355. package/dist/kongponents34.es.js +1 -1
  356. package/dist/kongponents340.cjs +1 -1
  357. package/dist/kongponents340.es.js +2 -7
  358. package/dist/kongponents341.cjs +1 -1
  359. package/dist/kongponents341.es.js +5 -3
  360. package/dist/kongponents342.cjs +1 -1
  361. package/dist/kongponents342.es.js +5 -5
  362. package/dist/kongponents343.cjs +1 -1
  363. package/dist/kongponents343.es.js +7 -15
  364. package/dist/kongponents344.cjs +1 -0
  365. package/dist/kongponents344.es.js +8 -0
  366. package/dist/kongponents345.cjs +1 -1
  367. package/dist/kongponents345.es.js +11 -121
  368. package/dist/kongponents346.cjs +1 -0
  369. package/dist/kongponents346.es.js +8 -0
  370. package/dist/kongponents347.cjs +1 -1
  371. package/dist/kongponents347.es.js +4 -71
  372. package/dist/kongponents348.cjs +1 -1
  373. package/dist/kongponents348.es.js +5 -2
  374. package/dist/kongponents349.cjs +1 -1
  375. package/dist/kongponents349.es.js +5 -12
  376. package/dist/kongponents35.cjs +1 -1
  377. package/dist/kongponents35.es.js +2 -2
  378. package/dist/kongponents350.cjs +1 -1
  379. package/dist/kongponents350.es.js +8 -23
  380. package/dist/kongponents351.cjs +1 -1
  381. package/dist/kongponents351.es.js +6 -21
  382. package/dist/kongponents352.cjs +1 -1
  383. package/dist/kongponents352.es.js +10 -21
  384. package/dist/kongponents353.cjs +1 -1
  385. package/dist/kongponents353.es.js +6 -614
  386. package/dist/kongponents354.cjs +1 -1
  387. package/dist/kongponents354.es.js +21 -80
  388. package/dist/kongponents355.cjs +1 -1
  389. package/dist/kongponents355.es.js +6 -14
  390. package/dist/kongponents356.cjs +1 -1
  391. package/dist/kongponents356.es.js +6 -26
  392. package/dist/kongponents357.cjs +1 -1
  393. package/dist/kongponents357.es.js +6 -16
  394. package/dist/kongponents358.cjs +1 -1
  395. package/dist/kongponents358.es.js +8 -14
  396. package/dist/kongponents359.cjs +1 -1
  397. package/dist/kongponents359.es.js +8 -16
  398. package/dist/kongponents36.cjs +1 -1
  399. package/dist/kongponents36.es.js +2 -2
  400. package/dist/kongponents360.cjs +1 -1
  401. package/dist/kongponents360.es.js +6 -14
  402. package/dist/kongponents361.cjs +1 -1
  403. package/dist/kongponents361.es.js +7 -23
  404. package/dist/kongponents362.cjs +1 -1
  405. package/dist/kongponents362.es.js +4 -17
  406. package/dist/kongponents363.cjs +1 -1
  407. package/dist/kongponents363.es.js +10 -2
  408. package/dist/kongponents364.cjs +1 -1
  409. package/dist/kongponents364.es.js +8 -17
  410. package/dist/kongponents365.cjs +1 -1
  411. package/dist/kongponents365.es.js +598 -61
  412. package/dist/kongponents366.cjs +1 -1
  413. package/dist/kongponents366.es.js +71 -5
  414. package/dist/kongponents367.cjs +1 -1
  415. package/dist/kongponents367.es.js +5 -2
  416. package/dist/kongponents368.cjs +1 -1
  417. package/dist/kongponents368.es.js +20 -2
  418. package/dist/kongponents369.cjs +1 -1
  419. package/dist/kongponents369.es.js +4 -10
  420. package/dist/kongponents37.cjs +1 -1
  421. package/dist/kongponents37.es.js +2 -2
  422. package/dist/kongponents370.cjs +1 -1
  423. package/dist/kongponents370.es.js +18 -11
  424. package/dist/kongponents371.cjs +1 -1
  425. package/dist/kongponents371.es.js +7 -12
  426. package/dist/kongponents372.cjs +1 -1
  427. package/dist/kongponents372.es.js +5 -10
  428. package/dist/kongponents373.cjs +1 -1
  429. package/dist/kongponents373.es.js +8 -18
  430. package/dist/kongponents374.cjs +1 -1
  431. package/dist/kongponents374.es.js +7 -5
  432. package/dist/kongponents375.cjs +1 -1
  433. package/dist/kongponents375.es.js +8 -54
  434. package/dist/kongponents376.cjs +1 -1
  435. package/dist/kongponents376.es.js +8 -2
  436. package/dist/kongponents377.cjs +1 -1
  437. package/dist/kongponents377.es.js +7 -8
  438. package/dist/kongponents378.cjs +1 -1
  439. package/dist/kongponents378.es.js +124 -4
  440. package/dist/kongponents379.cjs +2 -1
  441. package/dist/kongponents379.es.js +47 -12
  442. package/dist/kongponents38.cjs +1 -1
  443. package/dist/kongponents38.es.js +2 -2
  444. package/dist/kongponents380.cjs +1 -1
  445. package/dist/kongponents380.es.js +7 -14
  446. package/dist/kongponents381.cjs +1 -1
  447. package/dist/kongponents381.es.js +57 -4
  448. package/dist/kongponents382.cjs +1 -1
  449. package/dist/kongponents382.es.js +65 -13
  450. package/dist/kongponents383.cjs +1 -1
  451. package/dist/kongponents383.es.js +4 -9
  452. package/dist/kongponents384.cjs +1 -1
  453. package/dist/kongponents384.es.js +4 -53
  454. package/dist/kongponents385.cjs +1 -1
  455. package/dist/kongponents385.es.js +20 -56
  456. package/dist/kongponents386.cjs +1 -1
  457. package/dist/kongponents386.es.js +5 -59
  458. package/dist/kongponents387.cjs +1 -1
  459. package/dist/kongponents387.es.js +95 -31
  460. package/dist/kongponents388.cjs +1 -1
  461. package/dist/kongponents388.es.js +172 -31
  462. package/dist/kongponents389.cjs +1 -1
  463. package/dist/kongponents389.es.js +5 -72
  464. package/dist/kongponents39.cjs +1 -1
  465. package/dist/kongponents39.es.js +2 -2
  466. package/dist/kongponents390.cjs +1 -1
  467. package/dist/kongponents390.es.js +7 -72
  468. package/dist/kongponents391.cjs +1 -1
  469. package/dist/kongponents391.es.js +5 -78
  470. package/dist/kongponents392.cjs +1 -1
  471. package/dist/kongponents392.es.js +5 -78
  472. package/dist/kongponents393.cjs +1 -1
  473. package/dist/kongponents393.es.js +69 -47
  474. package/dist/kongponents394.cjs +1 -1
  475. package/dist/kongponents394.es.js +2 -48
  476. package/dist/kongponents395.cjs +1 -1
  477. package/dist/kongponents395.es.js +20 -47
  478. package/dist/kongponents396.cjs +1 -1
  479. package/dist/kongponents396.es.js +93 -47
  480. package/dist/kongponents399.cjs +1 -1
  481. package/dist/kongponents399.es.js +7 -92
  482. package/dist/kongponents40.cjs +1 -1
  483. package/dist/kongponents40.es.js +2 -2
  484. package/dist/kongponents400.cjs +1 -1
  485. package/dist/kongponents400.es.js +17 -90
  486. package/dist/kongponents401.cjs +1 -1
  487. package/dist/kongponents401.es.js +5 -58
  488. package/dist/kongponents402.cjs +1 -1
  489. package/dist/kongponents402.es.js +5 -58
  490. package/dist/kongponents403.cjs +1 -1
  491. package/dist/kongponents403.es.js +4 -58
  492. package/dist/kongponents404.cjs +1 -1
  493. package/dist/kongponents404.es.js +4 -47
  494. package/dist/kongponents405.cjs +1 -1
  495. package/dist/kongponents405.es.js +14 -45
  496. package/dist/kongponents406.cjs +1 -1
  497. package/dist/kongponents406.es.js +7 -47
  498. package/dist/kongponents407.cjs +1 -1
  499. package/dist/kongponents407.es.js +8 -47
  500. package/dist/kongponents408.cjs +1 -1
  501. package/dist/kongponents408.es.js +11 -46
  502. package/dist/kongponents409.cjs +1 -1
  503. package/dist/kongponents409.es.js +5 -46
  504. package/dist/kongponents41.cjs +1 -1
  505. package/dist/kongponents41.es.js +2 -2
  506. package/dist/kongponents410.cjs +1 -1
  507. package/dist/kongponents410.es.js +4 -34
  508. package/dist/kongponents411.cjs +1 -1
  509. package/dist/kongponents411.es.js +4 -43
  510. package/dist/kongponents412.cjs +1 -1
  511. package/dist/kongponents412.es.js +36 -41
  512. package/dist/kongponents413.cjs +1 -1
  513. package/dist/kongponents413.es.js +42 -32
  514. package/dist/kongponents414.cjs +1 -1
  515. package/dist/kongponents414.es.js +32 -31
  516. package/dist/kongponents415.cjs +1 -1
  517. package/dist/kongponents415.es.js +3 -94
  518. package/dist/kongponents416.cjs +1 -0
  519. package/dist/kongponents416.es.js +20 -0
  520. package/dist/kongponents417.cjs +1 -1
  521. package/dist/kongponents417.es.js +5 -7
  522. package/dist/kongponents418.cjs +1 -1
  523. package/dist/kongponents418.es.js +10 -5
  524. package/dist/kongponents419.cjs +1 -1
  525. package/dist/kongponents419.es.js +11 -9
  526. package/dist/kongponents42.cjs +1 -1
  527. package/dist/kongponents42.es.js +2 -2
  528. package/dist/kongponents420.cjs +1 -1
  529. package/dist/kongponents420.es.js +12 -5
  530. package/dist/kongponents421.cjs +1 -1
  531. package/dist/kongponents421.es.js +10 -9
  532. package/dist/kongponents422.cjs +1 -1
  533. package/dist/kongponents422.es.js +18 -14
  534. package/dist/kongponents423.cjs +1 -1
  535. package/dist/kongponents423.es.js +6 -3
  536. package/dist/kongponents424.cjs +1 -1
  537. package/dist/kongponents424.es.js +53 -7
  538. package/dist/kongponents425.cjs +1 -1
  539. package/dist/kongponents425.es.js +2 -3
  540. package/dist/kongponents426.cjs +1 -1
  541. package/dist/kongponents426.es.js +8 -10
  542. package/dist/kongponents427.cjs +1 -1
  543. package/dist/kongponents427.es.js +4 -7
  544. package/dist/kongponents428.cjs +1 -1
  545. package/dist/kongponents428.es.js +13 -5
  546. package/dist/kongponents429.cjs +1 -1
  547. package/dist/kongponents429.es.js +15 -2
  548. package/dist/kongponents43.cjs +1 -1
  549. package/dist/kongponents43.es.js +3 -3
  550. package/dist/kongponents430.cjs +1 -1
  551. package/dist/kongponents430.es.js +3 -12
  552. package/dist/kongponents431.cjs +1 -1
  553. package/dist/kongponents431.es.js +12 -4
  554. package/dist/kongponents432.cjs +1 -1
  555. package/dist/kongponents432.es.js +10 -3
  556. package/dist/kongponents433.cjs +1 -1
  557. package/dist/kongponents433.es.js +52 -25
  558. package/dist/kongponents434.cjs +1 -1
  559. package/dist/kongponents434.es.js +57 -4
  560. package/dist/kongponents435.cjs +1 -1
  561. package/dist/kongponents435.es.js +59 -4
  562. package/dist/kongponents436.cjs +1 -1
  563. package/dist/kongponents436.es.js +33 -4
  564. package/dist/kongponents437.cjs +1 -1
  565. package/dist/kongponents437.es.js +31 -4
  566. package/dist/kongponents438.cjs +1 -1
  567. package/dist/kongponents438.es.js +72 -4
  568. package/dist/kongponents439.cjs +1 -1
  569. package/dist/kongponents439.es.js +70 -13
  570. package/dist/kongponents44.cjs +1 -1
  571. package/dist/kongponents44.es.js +2 -2
  572. package/dist/kongponents440.cjs +1 -1
  573. package/dist/kongponents440.es.js +78 -6
  574. package/dist/kongponents441.cjs +1 -1
  575. package/dist/kongponents441.es.js +76 -28
  576. package/dist/kongponents442.cjs +1 -1
  577. package/dist/kongponents442.es.js +46 -25
  578. package/dist/kongponents443.cjs +1 -1
  579. package/dist/kongponents443.es.js +48 -16
  580. package/dist/kongponents444.cjs +1 -1
  581. package/dist/kongponents444.es.js +46 -9
  582. package/dist/kongponents445.cjs +1 -1
  583. package/dist/kongponents445.es.js +48 -5
  584. package/dist/kongponents446.cjs +1 -1
  585. package/dist/kongponents446.es.js +80 -14
  586. package/dist/kongponents447.cjs +1 -1
  587. package/dist/kongponents447.es.js +92 -9
  588. package/dist/kongponents448.cjs +1 -1
  589. package/dist/kongponents448.es.js +92 -3
  590. package/dist/kongponents449.cjs +1 -1
  591. package/dist/kongponents449.es.js +91 -6
  592. package/dist/kongponents45.cjs +1 -1
  593. package/dist/kongponents45.es.js +2 -2
  594. package/dist/kongponents450.cjs +1 -1
  595. package/dist/kongponents450.es.js +58 -6
  596. package/dist/kongponents451.cjs +1 -1
  597. package/dist/kongponents451.es.js +58 -8
  598. package/dist/kongponents452.cjs +1 -1
  599. package/dist/kongponents452.es.js +58 -6
  600. package/dist/kongponents453.cjs +1 -1
  601. package/dist/kongponents453.es.js +47 -11
  602. package/dist/kongponents454.cjs +1 -1
  603. package/dist/kongponents454.es.js +46 -6
  604. package/dist/kongponents455.cjs +1 -1
  605. package/dist/kongponents455.es.js +47 -5
  606. package/dist/kongponents456.cjs +1 -1
  607. package/dist/kongponents456.es.js +47 -5
  608. package/dist/kongponents457.cjs +1 -1
  609. package/dist/kongponents457.es.js +46 -6
  610. package/dist/kongponents458.cjs +1 -1
  611. package/dist/kongponents458.es.js +46 -8
  612. package/dist/kongponents459.cjs +1 -1
  613. package/dist/kongponents459.es.js +34 -7
  614. package/dist/kongponents460.cjs +1 -1
  615. package/dist/kongponents460.es.js +43 -10
  616. package/dist/kongponents461.cjs +1 -1
  617. package/dist/kongponents461.es.js +43 -7
  618. package/dist/kongponents462.cjs +1 -1
  619. package/dist/kongponents462.es.js +32 -21
  620. package/dist/kongponents463.cjs +1 -1
  621. package/dist/kongponents463.es.js +33 -7
  622. package/dist/kongponents464.cjs +1 -1
  623. package/dist/kongponents464.es.js +71 -6
  624. package/dist/kongponents465.cjs +1 -1
  625. package/dist/kongponents465.es.js +2 -9
  626. package/dist/kongponents466.cjs +1 -1
  627. package/dist/kongponents466.es.js +12 -6
  628. package/dist/kongponents467.cjs +1 -1
  629. package/dist/kongponents467.es.js +23 -2
  630. package/dist/kongponents468.cjs +1 -1
  631. package/dist/kongponents468.es.js +22 -2
  632. package/dist/kongponents469.cjs +1 -1
  633. package/dist/kongponents469.es.js +16 -14
  634. package/dist/kongponents47.cjs +1 -1
  635. package/dist/kongponents47.es.js +2 -2
  636. package/dist/kongponents470.cjs +1 -1
  637. package/dist/kongponents470.es.js +615 -2
  638. package/dist/kongponents471.cjs +1 -1
  639. package/dist/kongponents471.es.js +79 -20
  640. package/dist/kongponents472.cjs +1 -1
  641. package/dist/kongponents472.es.js +15 -2
  642. package/dist/kongponents473.cjs +1 -1
  643. package/dist/kongponents473.es.js +26 -15
  644. package/dist/kongponents474.cjs +1 -1
  645. package/dist/kongponents474.es.js +17 -2
  646. package/dist/kongponents475.cjs +1 -1
  647. package/dist/kongponents475.es.js +12 -20
  648. package/dist/kongponents476.cjs +1 -1
  649. package/dist/kongponents476.es.js +16 -22
  650. package/dist/kongponents477.cjs +1 -1
  651. package/dist/kongponents477.es.js +12 -23
  652. package/dist/kongponents478.cjs +1 -1
  653. package/dist/kongponents478.es.js +23 -22
  654. package/dist/kongponents479.cjs +1 -1
  655. package/dist/kongponents479.es.js +15 -29
  656. package/dist/kongponents48.cjs +1 -1
  657. package/dist/kongponents48.es.js +2 -2
  658. package/dist/kongponents480.cjs +1 -1
  659. package/dist/kongponents480.es.js +2 -16
  660. package/dist/kongponents481.cjs +1 -1
  661. package/dist/kongponents481.es.js +16 -64
  662. package/dist/kongponents482.cjs +1 -1
  663. package/dist/kongponents482.es.js +65 -2
  664. package/dist/kongponents483.cjs +1 -1
  665. package/dist/kongponents483.es.js +5 -2
  666. package/dist/kongponents484.es.js +2 -2
  667. package/dist/kongponents485.cjs +1 -1
  668. package/dist/kongponents485.es.js +2 -2
  669. package/dist/kongponents486.cjs +1 -1
  670. package/dist/kongponents486.es.js +4 -2
  671. package/dist/kongponents487.cjs +1 -1
  672. package/dist/kongponents487.es.js +3 -29
  673. package/dist/kongponents488.cjs +1 -1
  674. package/dist/kongponents488.es.js +10 -2
  675. package/dist/kongponents489.cjs +1 -1
  676. package/dist/kongponents489.es.js +5 -3
  677. package/dist/kongponents49.cjs +1 -1
  678. package/dist/kongponents49.es.js +2 -2
  679. package/dist/kongponents490.cjs +1 -1
  680. package/dist/kongponents490.es.js +4 -7
  681. package/dist/kongponents491.cjs +1 -1
  682. package/dist/kongponents491.es.js +5 -10
  683. package/dist/kongponents492.cjs +1 -1
  684. package/dist/kongponents492.es.js +3 -14
  685. package/dist/kongponents493.cjs +1 -1
  686. package/dist/kongponents493.es.js +4 -13
  687. package/dist/kongponents494.cjs +1 -1
  688. package/dist/kongponents494.es.js +5 -67
  689. package/dist/kongponents495.cjs +1 -1
  690. package/dist/kongponents495.es.js +5 -31
  691. package/dist/kongponents496.cjs +1 -1
  692. package/dist/kongponents496.es.js +11 -11
  693. package/dist/kongponents497.cjs +1 -1
  694. package/dist/kongponents497.es.js +7 -121
  695. package/dist/kongponents498.cjs +1 -1
  696. package/dist/kongponents498.es.js +7 -86
  697. package/dist/kongponents499.cjs +1 -1
  698. package/dist/kongponents499.es.js +8 -25
  699. package/dist/kongponents50.cjs +1 -1
  700. package/dist/kongponents50.es.js +2 -2
  701. package/dist/kongponents500.cjs +1 -1
  702. package/dist/kongponents500.es.js +10 -96
  703. package/dist/kongponents501.cjs +1 -1
  704. package/dist/kongponents501.es.js +14 -47
  705. package/dist/kongponents502.cjs +1 -1
  706. package/dist/kongponents502.es.js +13 -9
  707. package/dist/kongponents503.cjs +1 -1
  708. package/dist/kongponents503.es.js +67 -10
  709. package/dist/kongponents504.cjs +1 -1
  710. package/dist/kongponents504.es.js +31 -14
  711. package/dist/kongponents505.cjs +1 -1
  712. package/dist/kongponents505.es.js +11 -11
  713. package/dist/kongponents506.cjs +1 -1
  714. package/dist/kongponents506.es.js +121 -6
  715. package/dist/kongponents507.cjs +1 -1
  716. package/dist/kongponents507.es.js +86 -6
  717. package/dist/kongponents508.cjs +1 -1
  718. package/dist/kongponents508.es.js +5 -10
  719. package/dist/kongponents509.cjs +1 -1
  720. package/dist/kongponents509.es.js +5 -7
  721. package/dist/kongponents51.cjs +1 -1
  722. package/dist/kongponents51.es.js +2 -2
  723. package/dist/kongponents510.cjs +1 -1
  724. package/dist/kongponents510.es.js +5 -6
  725. package/dist/kongponents511.cjs +1 -1
  726. package/dist/kongponents511.es.js +10 -5
  727. package/dist/kongponents512.cjs +1 -1
  728. package/dist/kongponents512.es.js +6 -5
  729. package/dist/kongponents513.cjs +1 -1
  730. package/dist/kongponents513.es.js +6 -17
  731. package/dist/kongponents514.cjs +1 -1
  732. package/dist/kongponents514.es.js +25 -5
  733. package/dist/kongponents515.cjs +1 -1
  734. package/dist/kongponents515.es.js +96 -4
  735. package/dist/kongponents516.cjs +1 -1
  736. package/dist/kongponents516.es.js +47 -4
  737. package/dist/kongponents517.cjs +1 -1
  738. package/dist/kongponents517.es.js +9 -3
  739. package/dist/kongponents518.cjs +1 -1
  740. package/dist/kongponents518.es.js +9 -14
  741. package/dist/kongponents519.cjs +1 -1
  742. package/dist/kongponents519.es.js +13 -6
  743. package/dist/kongponents52.cjs +1 -1
  744. package/dist/kongponents52.es.js +2 -2
  745. package/dist/kongponents520.cjs +1 -1
  746. package/dist/kongponents520.es.js +11 -8
  747. package/dist/kongponents521.cjs +1 -1
  748. package/dist/kongponents521.es.js +2 -11
  749. package/dist/kongponents522.cjs +1 -1
  750. package/dist/kongponents522.es.js +2 -5
  751. package/dist/kongponents523.cjs +1 -1
  752. package/dist/kongponents523.es.js +18 -3
  753. package/dist/kongponents524.cjs +1 -1
  754. package/dist/kongponents524.es.js +2 -4
  755. package/dist/kongponents525.cjs +1 -1
  756. package/dist/kongponents525.es.js +20 -36
  757. package/dist/kongponents526.cjs +1 -1
  758. package/dist/kongponents526.es.js +2 -43
  759. package/dist/kongponents527.cjs +1 -1
  760. package/dist/kongponents527.es.js +14 -32
  761. package/dist/kongponents528.cjs +1 -1
  762. package/dist/kongponents528.es.js +2 -3
  763. package/dist/kongponents529.cjs +1 -1
  764. package/dist/kongponents529.es.js +22 -17
  765. package/dist/kongponents53.cjs +1 -1
  766. package/dist/kongponents53.es.js +2 -2
  767. package/dist/kongponents530.cjs +1 -1
  768. package/dist/kongponents530.es.js +22 -5
  769. package/dist/kongponents531.cjs +1 -1
  770. package/dist/kongponents531.es.js +26 -2
  771. package/dist/kongponents532.cjs +1 -1
  772. package/dist/kongponents532.es.js +23 -2
  773. package/dist/kongponents533.cjs +1 -1
  774. package/dist/kongponents533.es.js +32 -2
  775. package/dist/kongponents534.cjs +1 -1
  776. package/dist/kongponents534.es.js +16 -2
  777. package/dist/kongponents535.cjs +1 -1
  778. package/dist/kongponents535.es.js +66 -2
  779. package/dist/kongponents536.cjs +1 -1
  780. package/dist/kongponents536.es.js +2 -21
  781. package/dist/kongponents537.cjs +1 -1
  782. package/dist/kongponents537.es.js +2 -24
  783. package/dist/kongponents538.es.js +2 -2
  784. package/dist/kongponents539.cjs +1 -1
  785. package/dist/kongponents539.es.js +2 -2
  786. package/dist/kongponents54.cjs +1 -1
  787. package/dist/kongponents54.es.js +2 -2
  788. package/dist/kongponents540.cjs +1 -1
  789. package/dist/kongponents540.es.js +2 -27
  790. package/dist/kongponents541.cjs +1 -1
  791. package/dist/kongponents541.es.js +28 -25
  792. package/dist/kongponents542.es.js +2 -2
  793. package/dist/kongponents543.cjs +1 -1
  794. package/dist/kongponents543.es.js +4 -2
  795. package/dist/kongponents544.cjs +1 -1
  796. package/dist/kongponents544.es.js +8 -2
  797. package/dist/kongponents545.cjs +1 -1
  798. package/dist/kongponents545.es.js +3 -2
  799. package/dist/kongponents546.cjs +1 -1
  800. package/dist/kongponents546.es.js +6 -76
  801. package/dist/kongponents547.cjs +1 -1
  802. package/dist/kongponents547.es.js +14 -42
  803. package/dist/kongponents548.cjs +1 -1
  804. package/dist/kongponents548.es.js +28 -20
  805. package/dist/kongponents549.cjs +1 -1
  806. package/dist/kongponents549.es.js +15 -132
  807. package/dist/kongponents55.cjs +1 -1
  808. package/dist/kongponents55.es.js +2 -2
  809. package/dist/kongponents550.cjs +1 -1
  810. package/dist/kongponents550.es.js +11 -97
  811. package/dist/kongponents551.cjs +1 -1
  812. package/dist/kongponents551.es.js +2 -7
  813. package/dist/kongponents552.cjs +1 -1
  814. package/dist/kongponents552.es.js +2 -15
  815. package/dist/kongponents553.cjs +1 -1
  816. package/dist/kongponents553.es.js +2 -29
  817. package/dist/kongponents554.cjs +1 -1
  818. package/dist/kongponents554.es.js +2 -16
  819. package/dist/kongponents555.cjs +1 -1
  820. package/dist/kongponents555.es.js +20 -11
  821. package/dist/kongponents556.cjs +1 -1
  822. package/dist/kongponents556.es.js +23 -3
  823. package/dist/kongponents557.cjs +1 -1
  824. package/dist/kongponents557.es.js +2 -4
  825. package/dist/kongponents558.cjs +1 -1
  826. package/dist/kongponents558.es.js +2 -10
  827. package/dist/kongponents559.cjs +1 -1
  828. package/dist/kongponents559.es.js +26 -5
  829. package/dist/kongponents56.cjs +1 -1
  830. package/dist/kongponents56.es.js +2 -2
  831. package/dist/kongponents560.cjs +1 -1
  832. package/dist/kongponents560.es.js +26 -4
  833. package/dist/kongponents561.cjs +1 -1
  834. package/dist/kongponents561.es.js +2 -6
  835. package/dist/kongponents562.cjs +1 -1
  836. package/dist/kongponents562.es.js +2 -3
  837. package/dist/kongponents563.cjs +1 -1
  838. package/dist/kongponents563.es.js +2 -5
  839. package/dist/kongponents564.cjs +1 -1
  840. package/dist/kongponents564.es.js +2 -5
  841. package/dist/kongponents565.cjs +1 -1
  842. package/dist/kongponents565.es.js +2 -11
  843. package/dist/kongponents566.cjs +1 -1
  844. package/dist/kongponents566.es.js +76 -6
  845. package/dist/kongponents567.cjs +1 -1
  846. package/dist/kongponents567.es.js +42 -6
  847. package/dist/kongponents568.cjs +1 -1
  848. package/dist/kongponents568.es.js +20 -4
  849. package/dist/kongponents569.cjs +1 -1
  850. package/dist/kongponents569.es.js +133 -2
  851. package/dist/kongponents57.cjs +1 -1
  852. package/dist/kongponents57.es.js +2 -2
  853. package/dist/kongponents570.cjs +1 -1
  854. package/dist/kongponents570.es.js +98 -2
  855. package/dist/kongponents573.es.js +2 -2
  856. package/dist/kongponents574.es.js +2 -2
  857. package/dist/kongponents575.cjs +1 -1
  858. package/dist/kongponents575.es.js +2 -17
  859. package/dist/kongponents576.es.js +2 -2
  860. package/dist/kongponents577.cjs +1 -1
  861. package/dist/kongponents577.es.js +17 -2
  862. package/dist/kongponents578.cjs +1 -1
  863. package/dist/kongponents578.es.js +2 -25
  864. package/dist/kongponents579.es.js +2 -2
  865. package/dist/kongponents58.cjs +1 -1
  866. package/dist/kongponents58.es.js +2 -2
  867. package/dist/kongponents580.cjs +1 -1
  868. package/dist/kongponents580.es.js +20 -34
  869. package/dist/kongponents581.cjs +1 -1
  870. package/dist/kongponents581.es.js +2 -26
  871. package/dist/kongponents582.cjs +1 -1
  872. package/dist/kongponents582.es.js +38 -7
  873. package/dist/kongponents583.cjs +1 -1
  874. package/dist/kongponents583.es.js +26 -3
  875. package/dist/kongponents59.cjs +1 -1
  876. package/dist/kongponents59.es.js +2 -2
  877. package/dist/kongponents60.cjs +1 -1
  878. package/dist/kongponents60.es.js +2 -2
  879. package/dist/kongponents61.cjs +1 -1
  880. package/dist/kongponents61.es.js +2 -2
  881. package/dist/kongponents62.cjs +1 -1
  882. package/dist/kongponents62.es.js +4 -4
  883. package/dist/kongponents63.cjs +1 -1
  884. package/dist/kongponents63.es.js +2 -2
  885. package/dist/kongponents64.cjs +1 -1
  886. package/dist/kongponents64.es.js +2 -2
  887. package/dist/kongponents65.cjs +1 -1
  888. package/dist/kongponents65.es.js +2 -2
  889. package/dist/kongponents66.cjs +1 -1
  890. package/dist/kongponents66.es.js +2 -2
  891. package/dist/kongponents67.cjs +1 -1
  892. package/dist/kongponents67.es.js +2 -2
  893. package/dist/kongponents68.cjs +1 -1
  894. package/dist/kongponents68.es.js +2 -2
  895. package/dist/kongponents69.cjs +1 -1
  896. package/dist/kongponents69.es.js +2 -2
  897. package/dist/kongponents70.cjs +1 -1
  898. package/dist/kongponents70.es.js +2 -2
  899. package/dist/kongponents71.cjs +1 -1
  900. package/dist/kongponents71.es.js +2 -2
  901. package/dist/kongponents72.cjs +1 -1
  902. package/dist/kongponents72.es.js +2 -2
  903. package/dist/kongponents73.cjs +1 -1
  904. package/dist/kongponents73.es.js +2 -2
  905. package/dist/kongponents74.cjs +1 -1
  906. package/dist/kongponents74.es.js +2 -2
  907. package/dist/kongponents75.cjs +1 -1
  908. package/dist/kongponents75.es.js +2 -2
  909. package/dist/kongponents76.cjs +1 -1
  910. package/dist/kongponents76.es.js +2 -2
  911. package/dist/kongponents77.cjs +1 -1
  912. package/dist/kongponents77.es.js +2 -5589
  913. package/dist/kongponents78.cjs +1 -1
  914. package/dist/kongponents78.es.js +1 -1
  915. package/dist/kongponents79.cjs +1 -1
  916. package/dist/kongponents79.es.js +1 -1
  917. package/dist/kongponents80.cjs +1 -1
  918. package/dist/kongponents80.es.js +79 -2
  919. package/dist/kongponents82.cjs +1 -0
  920. package/dist/kongponents82.es.js +9 -0
  921. package/dist/kongponents83.cjs +1 -1
  922. package/dist/kongponents83.es.js +53 -7
  923. package/dist/{kongponents86.cjs → kongponents85.cjs} +1 -1
  924. package/dist/{kongponents86.es.js → kongponents85.es.js} +1 -1
  925. package/dist/{kongponents92.cjs → kongponents91.cjs} +1 -1
  926. package/dist/{kongponents92.es.js → kongponents91.es.js} +1 -1
  927. package/dist/{kongponents96.cjs → kongponents95.cjs} +1 -1
  928. package/dist/{kongponents96.es.js → kongponents95.es.js} +1 -1
  929. package/dist/{kongponents98.cjs → kongponents97.cjs} +1 -1
  930. package/dist/{kongponents98.es.js → kongponents97.es.js} +7 -7
  931. package/package.json +1 -1
  932. package/dist/kongponents133.cjs +0 -1
  933. package/dist/kongponents133.es.js +0 -212
  934. package/dist/kongponents145.cjs +0 -1
  935. package/dist/kongponents145.es.js +0 -16
  936. package/dist/kongponents164.cjs +0 -1
  937. package/dist/kongponents164.es.js +0 -35
  938. package/dist/kongponents173.cjs +0 -1
  939. package/dist/kongponents173.es.js +0 -182
  940. package/dist/kongponents204.cjs +0 -1
  941. package/dist/kongponents204.es.js +0 -7
  942. package/dist/kongponents220.es.js +0 -4
  943. package/dist/kongponents224.cjs +0 -1
  944. package/dist/kongponents224.es.js +0 -26
  945. package/dist/kongponents240.cjs +0 -1
  946. package/dist/kongponents240.es.js +0 -93
  947. package/dist/kongponents294.cjs +0 -1
  948. package/dist/kongponents294.es.js +0 -22
  949. package/dist/kongponents302.cjs +0 -1
  950. package/dist/kongponents302.es.js +0 -11
  951. package/dist/kongponents304.cjs +0 -1
  952. package/dist/kongponents304.es.js +0 -6
  953. package/dist/kongponents307.cjs +0 -1
  954. package/dist/kongponents307.es.js +0 -10
  955. package/dist/kongponents397.cjs +0 -1
  956. package/dist/kongponents397.es.js +0 -82
  957. package/dist/kongponents398.cjs +0 -1
  958. package/dist/kongponents398.es.js +0 -94
  959. package/dist/kongponents81.cjs +0 -1
  960. package/dist/kongponents81.es.js +0 -81
  961. package/dist/kongponents84.cjs +0 -1
  962. package/dist/kongponents84.es.js +0 -55
  963. /package/dist/{kongponents101.cjs → kongponents100.cjs} +0 -0
  964. /package/dist/{kongponents101.es.js → kongponents100.es.js} +0 -0
  965. /package/dist/{kongponents111.cjs → kongponents110.cjs} +0 -0
  966. /package/dist/{kongponents111.es.js → kongponents110.es.js} +0 -0
  967. /package/dist/{kongponents120.cjs → kongponents119.cjs} +0 -0
  968. /package/dist/{kongponents120.es.js → kongponents119.es.js} +0 -0
  969. /package/dist/{kongponents135.cjs → kongponents134.cjs} +0 -0
  970. /package/dist/{kongponents135.es.js → kongponents134.es.js} +0 -0
  971. /package/dist/{kongponents154.cjs → kongponents153.cjs} +0 -0
  972. /package/dist/{kongponents154.es.js → kongponents153.es.js} +0 -0
  973. /package/dist/{kongponents296.cjs → kongponents241.cjs} +0 -0
  974. /package/dist/{kongponents296.es.js → kongponents241.es.js} +0 -0
  975. /package/dist/{kongponents88.cjs → kongponents87.cjs} +0 -0
  976. /package/dist/{kongponents88.es.js → kongponents87.es.js} +0 -0
  977. /package/dist/{kongponents90.cjs → kongponents89.cjs} +0 -0
  978. /package/dist/{kongponents90.es.js → kongponents89.es.js} +0 -0
  979. /package/dist/{kongponents94.cjs → kongponents93.cjs} +0 -0
  980. /package/dist/{kongponents94.es.js → kongponents93.es.js} +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents24.cjs");exports.default=e.default;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents28.cjs");exports.default=e.default;
@@ -1,4 +1,4 @@
1
- import f from "./kongponents24.es.js";
1
+ import f from "./kongponents28.es.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents28.cjs");exports.default=e.default;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents29.cjs");exports.default=e.default;
@@ -1,4 +1,4 @@
1
- import f from "./kongponents28.es.js";
1
+ import f from "./kongponents29.es.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents29.cjs");exports.default=e.default;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("./kongponents6.cjs");require("./kongponents7.cjs");require("./kongponents12.cjs");const s=require("@kong/icons"),l=require("./kongponents184.cjs"),d={key:0,class:"alert-icon-container"},m={class:"alert-content"},p={key:0,class:"alert-title"},k={key:1,class:"alert-message"},f=e.defineComponent({__name:"KAlert",props:{title:{default:""},message:{default:""},appearance:{default:()=>o.AlertAppearances.info},showIcon:{type:Boolean},dismissible:{type:Boolean}},emits:["dismiss"],setup(t,{emit:c}){const a=c,u=e.computed(()=>{switch(t.appearance){case o.AlertAppearances.info:return s.InfoIcon;case o.AlertAppearances.success:return s.CheckCircleIcon;case o.AlertAppearances.warning:return s.WarningIcon;case o.AlertAppearances.danger:return s.DangerIcon;case o.AlertAppearances.decorative:return s.RocketIcon;default:return s.InfoIcon}});return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-alert",[t.appearance]])},[t.showIcon||r.$slots.icon?(e.openBlock(),e.createElementBlock("div",d,[e.renderSlot(r.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value),{class:"alert-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(l.KUI_ICON_SIZE_40)})`},null,8,["size"]))])])):e.createCommentVNode("",!0),e.createElementVNode("div",m,[t.title?(e.openBlock(),e.createElementBlock("span",p,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),t.message||r.$slots.default?(e.openBlock(),e.createElementBlock("div",k,[e.renderSlot(r.$slots,"default",{},()=>[e.createElementVNode("p",null,e.toDisplayString(t.message),1)])])):e.createCommentVNode("",!0)]),t.dismissible?(e.openBlock(),e.createBlock(e.unref(s.CloseIcon),{key:1,class:"alert-dismiss-icon",size:`var(--kui-icon-size-40, ${e.unref(l.KUI_ICON_SIZE_40)})`,tabindex:"0",onClick:n[0]||(n[0]=i=>a("dismiss")),onKeydown:n[1]||(n[1]=e.withKeys(e.withModifiers(()=>{},["prevent"]),["space"])),onKeyup:[n[2]||(n[2]=e.withKeys(i=>a("dismiss"),["enter"])),n[3]||(n[3]=e.withKeys(i=>a("dismiss"),["space"]))]},null,8,["size"])):e.createCommentVNode("",!0)],2))}});exports.default=f;
@@ -1,4 +1,81 @@
1
- import f from "./kongponents29.es.js";
1
+ import { defineComponent as g, computed as C, openBlock as s, createElementBlock as o, normalizeClass as $, renderSlot as d, createBlock as u, resolveDynamicComponent as w, unref as l, createCommentVNode as r, createElementVNode as f, toDisplayString as p, withKeys as c, withModifiers as z } from "vue";
2
+ import { AlertAppearances as n } from "./kongponents6.es.js";
3
+ import "./kongponents7.es.js";
4
+ import "./kongponents12.es.js";
5
+ import { InfoIcon as v, RocketIcon as B, DangerIcon as K, WarningIcon as A, CheckCircleIcon as b, CloseIcon as h } from "@kong/icons";
6
+ import { KUI_ICON_SIZE_40 as k } from "./kongponents184.es.js";
7
+ const D = {
8
+ key: 0,
9
+ class: "alert-icon-container"
10
+ }, E = { class: "alert-content" }, N = {
11
+ key: 0,
12
+ class: "alert-title"
13
+ }, S = {
14
+ key: 1,
15
+ class: "alert-message"
16
+ }, Z = /* @__PURE__ */ g({
17
+ __name: "KAlert",
18
+ props: {
19
+ title: { default: "" },
20
+ message: { default: "" },
21
+ appearance: { default: () => n.info },
22
+ showIcon: { type: Boolean },
23
+ dismissible: { type: Boolean }
24
+ },
25
+ emits: ["dismiss"],
26
+ setup(e, { emit: I }) {
27
+ const a = I, y = C(() => {
28
+ switch (e.appearance) {
29
+ case n.info:
30
+ return v;
31
+ case n.success:
32
+ return b;
33
+ case n.warning:
34
+ return A;
35
+ case n.danger:
36
+ return K;
37
+ case n.decorative:
38
+ return B;
39
+ default:
40
+ return v;
41
+ }
42
+ });
43
+ return (i, t) => (s(), o("div", {
44
+ class: $(["k-alert", [e.appearance]])
45
+ }, [
46
+ e.showIcon || i.$slots.icon ? (s(), o("div", D, [
47
+ d(i.$slots, "icon", {}, () => [
48
+ (s(), u(w(y.value), {
49
+ class: "alert-icon",
50
+ decorative: "",
51
+ size: `var(--kui-icon-size-40, ${l(k)})`
52
+ }, null, 8, ["size"]))
53
+ ])
54
+ ])) : r("", !0),
55
+ f("div", E, [
56
+ e.title ? (s(), o("span", N, p(e.title), 1)) : r("", !0),
57
+ e.message || i.$slots.default ? (s(), o("div", S, [
58
+ d(i.$slots, "default", {}, () => [
59
+ f("p", null, p(e.message), 1)
60
+ ])
61
+ ])) : r("", !0)
62
+ ]),
63
+ e.dismissible ? (s(), u(l(h), {
64
+ key: 1,
65
+ class: "alert-dismiss-icon",
66
+ size: `var(--kui-icon-size-40, ${l(k)})`,
67
+ tabindex: "0",
68
+ onClick: t[0] || (t[0] = (m) => a("dismiss")),
69
+ onKeydown: t[1] || (t[1] = c(z(() => {
70
+ }, ["prevent"]), ["space"])),
71
+ onKeyup: [
72
+ t[2] || (t[2] = c((m) => a("dismiss"), ["enter"])),
73
+ t[3] || (t[3] = c((m) => a("dismiss"), ["space"]))
74
+ ]
75
+ }, null, 8, ["size"])) : r("", !0)
76
+ ], 2));
77
+ }
78
+ });
2
79
  export {
3
- f as default
80
+ Z as default
4
81
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=(e,o)=>{const t=e.__vccOpts||e;for(const[r,s]of o)t[r]=s;return t};exports.default=u;
@@ -0,0 +1,9 @@
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
7
+ export {
8
+ s as default
9
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=(e,o)=>{const t=e.__vccOpts||e;for(const[r,s]of o)t[r]=s;return t};exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("./kongponents30.cjs");;/* empty css */const s=require("./kongponents7.cjs");require("./kongponents12.cjs");const c=require("./kongponents189.cjs"),f=["tabindex"],m=e.defineComponent({__name:"KBadge",props:{appearance:{default:"info"},size:{default:"medium"},tooltip:{default:""},truncationTooltip:{type:Boolean,default:!1},maxWidth:{default:"200px"},iconBefore:{type:Boolean,default:!0},tooltipAttributes:{default:()=>({})}},setup(t){e.useCssVars(o=>({v6b696ed4:l.value}));const r=e.computed(()=>Object.keys(s.BadgeMethodAppearances).includes(t.appearance)),a=e.ref(),n=e.ref(!1),l=e.computed(()=>c.normalizeSize(t.maxWidth)),u=async()=>{a.value&&(await e.nextTick(),n.value=a.value?.offsetWidth<a.value?.scrollWidth)},i=e.computed(()=>t.tooltip?t.truncationTooltip?n.value:!0:!1);return e.onMounted(()=>{u()}),(o,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-badge",[t.appearance,t.size,{method:r.value}]])},[e.createVNode(d.default,e.mergeProps({text:i.value?t.tooltip:void 0},t.tooltipAttributes),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["badge-content",{"icon-after":!t.iconBefore}]),tabindex:i.value?0:void 0},[o.$slots.icon?e.renderSlot(o.$slots,"icon",{},void 0,!0,0):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"badgeTextElement",ref:a,class:"badge-content-wrapper"},[e.renderSlot(o.$slots,"default",{},void 0,!0)],512)],10,f)]),_:3},16,["text"])],2))}});exports.default=m;
@@ -1,9 +1,55 @@
1
- const s = (t, e) => {
2
- const o = t.__vccOpts || t;
3
- for (const [r, c] of e)
4
- o[r] = c;
5
- return o;
6
- };
1
+ import { defineComponent as m, useCssVars as p, computed as a, ref as l, onMounted as v, openBlock as h, createElementBlock as x, normalizeClass as r, createVNode as b, mergeProps as g, withCtx as B, createElementVNode as d, renderSlot as s, createCommentVNode as T, nextTick as k } from "vue";
2
+ import y from "./kongponents30.es.js";
3
+ /* empty css */
4
+ import { BadgeMethodAppearances as z } from "./kongponents7.es.js";
5
+ import "./kongponents12.es.js";
6
+ import { normalizeSize as C } from "./kongponents189.es.js";
7
+ const W = ["tabindex"], S = /* @__PURE__ */ m({
8
+ __name: "KBadge",
9
+ props: {
10
+ appearance: { default: "info" },
11
+ size: { default: "medium" },
12
+ tooltip: { default: "" },
13
+ truncationTooltip: { type: Boolean, default: !1 },
14
+ maxWidth: { default: "200px" },
15
+ iconBefore: { type: Boolean, default: !0 },
16
+ tooltipAttributes: { default: () => ({}) }
17
+ },
18
+ setup(e) {
19
+ p((o) => ({
20
+ v6b696ed4: c.value
21
+ }));
22
+ const u = a(() => Object.keys(z).includes(e.appearance)), t = l(), n = l(!1), c = a(() => C(e.maxWidth)), f = async () => {
23
+ t.value && (await k(), n.value = t.value?.offsetWidth < t.value?.scrollWidth);
24
+ }, i = a(() => e.tooltip ? e.truncationTooltip ? n.value : !0 : !1);
25
+ return v(() => {
26
+ f();
27
+ }), (o, w) => (h(), x("div", {
28
+ class: r(["k-badge", [e.appearance, e.size, { method: u.value }]])
29
+ }, [
30
+ b(y, g({
31
+ text: i.value ? e.tooltip : void 0
32
+ }, e.tooltipAttributes), {
33
+ default: B(() => [
34
+ d("div", {
35
+ class: r(["badge-content", { "icon-after": !e.iconBefore }]),
36
+ tabindex: i.value ? 0 : void 0
37
+ }, [
38
+ o.$slots.icon ? s(o.$slots, "icon", {}, void 0, !0, 0) : T("", !0),
39
+ d("div", {
40
+ ref_key: "badgeTextElement",
41
+ ref: t,
42
+ class: "badge-content-wrapper"
43
+ }, [
44
+ s(o.$slots, "default", {}, void 0, !0)
45
+ ], 512)
46
+ ], 10, W)
47
+ ]),
48
+ _: 3
49
+ }, 16, ["text"])
50
+ ], 2));
51
+ }
52
+ });
7
53
  export {
8
- s as default
54
+ S as default
9
55
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("./kongponents185.cjs"),u={key:0,class:"breadcrumbs-icon-container"},d={class:"breadcrumbs-divider"},i=e.defineComponent({inheritAttrs:!1,__name:"KBreadcrumbs",props:{items:{},itemMaxWidth:{default:"100px"}},setup(l){const a=t=>{const o=t.title||t.text;return t.to?typeof t.to=="object"?{type:"router-link",attrs:{title:o,to:t.to}}:{type:"a",attrs:{href:t.to,title:o}}:{type:"div",attrs:{title:o}}},s=(t,o)=>t.key||`breadcrumb-${o}`;return(t,o)=>(e.openBlock(),e.createElementBlock("ul",e.mergeProps({class:"k-breadcrumbs"},t.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(r,n)=>(e.openBlock(),e.createElementBlock("li",{key:s(r,n),class:"breadcrumbs-item-container"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(r).type),e.mergeProps({ref_for:!0},a(r).attrs,{class:["breadcrumbs-item",{link:!!r.to}]}),{default:e.withCtx(()=>[t.$slots[`icon-${s(r,n)}`]?(e.openBlock(),e.createElementBlock("span",u,[e.renderSlot(t.$slots,`icon-${s(r,n)}`,{},void 0,!0)])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",{key:1,class:"breadcrumbs-text",style:e.normalizeStyle({maxWidth:e.unref(c.normalizeSize)(r.maxWidth??l.itemMaxWidth)})},e.toDisplayString(r.text),5)):e.createCommentVNode("",!0)]),_:2},1040,["class"])),e.createElementVNode("span",d,[e.renderSlot(t.$slots,"divider",{},()=>[o[0]||(o[0]=e.createTextVNode(" / ",-1))],!0)])]))),128))],16))}});exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("./kongponents189.cjs"),u={key:0,class:"breadcrumbs-icon-container"},d={class:"breadcrumbs-divider"},i=e.defineComponent({inheritAttrs:!1,__name:"KBreadcrumbs",props:{items:{},itemMaxWidth:{default:"100px"}},setup(l){const a=t=>{const o=t.title||t.text;return t.to?typeof t.to=="object"?{type:"router-link",attrs:{title:o,to:t.to}}:{type:"a",attrs:{href:t.to,title:o}}:{type:"div",attrs:{title:o}}},s=(t,o)=>t.key||`breadcrumb-${o}`;return(t,o)=>(e.openBlock(),e.createElementBlock("ul",e.mergeProps({class:"k-breadcrumbs"},t.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(r,n)=>(e.openBlock(),e.createElementBlock("li",{key:s(r,n),class:"breadcrumbs-item-container"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(r).type),e.mergeProps({ref_for:!0},a(r).attrs,{class:["breadcrumbs-item",{link:!!r.to}]}),{default:e.withCtx(()=>[t.$slots[`icon-${s(r,n)}`]?(e.openBlock(),e.createElementBlock("span",u,[e.renderSlot(t.$slots,`icon-${s(r,n)}`,{},void 0,!0)])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",{key:1,class:"breadcrumbs-text",style:e.normalizeStyle({maxWidth:e.unref(c.normalizeSize)(r.maxWidth??l.itemMaxWidth)})},e.toDisplayString(r.text),5)):e.createCommentVNode("",!0)]),_:2},1040,["class"])),e.createElementVNode("span",d,[e.renderSlot(t.$slots,"divider",{},()=>[o[0]||(o[0]=e.createTextVNode(" / ",-1))],!0)])]))),128))],16))}});exports.default=i;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, openBlock as s, createElementBlock as o, mergeProps as i, Fragment as p, renderList as b, createBlock as f, resolveDynamicComponent as y, withCtx as k, renderSlot as u, createCommentVNode as d, normalizeStyle as h, unref as x, toDisplayString as $, createElementVNode as g, createTextVNode as v } from "vue";
2
- import { normalizeSize as B } from "./kongponents185.es.js";
2
+ import { normalizeSize as B } from "./kongponents189.es.js";
3
3
  const C = {
4
4
  key: 0,
5
5
  class: "breadcrumbs-icon-container"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ne=require("./kongponents187.cjs"),oe=require("./kongponents25.cjs");;/* empty css */const $=require("./kongponents51.cjs"),M=require("./kongponents38.cjs"),ie=require("./kongponents61.cjs"),re=require("./kongponents41.cjs"),ce={class:"k-catalog"},ue={key:1,class:"catalog-toolbar","data-testid":"catalog-toolbar"},se={key:3,class:"catalog-error-state","data-testid":"catalog-error-state"},de={key:4,class:"catalog-empty-state","data-testid":"catalog-empty-state"},ge=["data-tableid"],O=15,fe=e.defineComponent({__name:"KCatalog",props:{titleTag:{default:"div"},loading:{type:Boolean},cardSize:{default:"medium"},title:{default:""},truncateDescription:{type:Boolean,default:!0},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{default:""},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:"default"},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{default:""},errorStateActionMessage:{default:""},fetcher:{type:Function},initialFetcherParams:{default:null},cacheIdentifier:{default:""},fetcherCacheKey:{default:""},searchInput:{default:""},paginationNeighbors:{default:1},paginationPageSizes:{default:()=>[15,30,50,75,100]},paginationTotalItems:{default:null},disablePaginationPageJump:{type:Boolean},disablePagination:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},paginationOffset:{type:Boolean}},emits:["card-click","error-action-click","empty-state-action-click","update:catalog-preferences","state"],setup(a,{emit:V}){const{useRequest:q,useDebounce:E,useSwrvState:x}=ne.default(),s=V,F=e.useSlots(),m=e.useId(),K=()=>{const t=a.paginationPageSizes?.[0];return t||O},o=e.ref([]),y=e.ref(0),b=e.ref(""),l=e.ref(1),i=e.ref(K()),r=e.ref(null),c=e.ref([]),S=e.computed(()=>c.value[l.value-1]),d=e.ref(null),P=e.ref(!0),k=e.ref(!1),f={page:1,pageSize:i.value,query:"",offset:null},C=e.computed(()=>(g.value||a.loading||v.value)&&!a.error),R=e.computed(()=>!C.value&&o.value&&!o.value.length),L=e.computed(()=>({pageSize:i.value})),B=e.ref(!0),G=async()=>{const t=await a.fetcher({query:a.searchInput||b.value,pageSize:i.value,page:l.value,offset:r.value});if(t==null)throw new Error("KCatalog: Fetcher did not return data correctly.");return o.value=t.data,y.value=a.paginationTotalItems||t.total||t.data?.length,a.paginationOffset&&(t.pagination?.offset?(d.value=t.pagination.offset,c.value[l.value]||c.value.push(t.pagination.offset)):d.value=null,P.value=t.pagination&&"hasNextPage"in t.pagination?!!t.pagination.hasNextPage:!0),o.value.length===0&&l.value>1&&(l.value=1,c.value=[null],r.value=null),B.value=!1,t},H=()=>{const t={...f,...a.initialFetcherParams};l.value=t.page??f.page,i.value=t.pageSize??f.pageSize,b.value=t.query??f.query,a.paginationOffset&&(r.value=t.offset,c.value.push(t.offset)),k.value=!0},j=e.computed(()=>{if(!a.fetcher||!k.value)return"";let t=m;return a.cacheIdentifier&&(t=a.cacheIdentifier),a.fetcherCacheKey&&(t+=`-${a.fetcherCacheKey}`),`k-catalog_${t}`}),z=e.ref(""),{debouncedFn:Q,generateDebouncedFn:J}=E(t=>{z.value=t},350),U=J(0),{data:w,error:D,revalidate:W,isValidating:Z}=q(()=>j.value,()=>G(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:p,hasData:X,swrvState:I}=x(w,D,Z),g=e.ref(!0),N=e.computed(()=>({hasData:X.value,state:p.value})),Y=e.computed(()=>g.value?"loading":D.value?"error":"success"),_=({page:t})=>{l.value=t},ee=({pageSize:t})=>{c.value=[null],r.value=null,i.value=t,l.value=1},te=()=>{l.value++,r.value=d.value},ae=()=>{l.value--,r.value=S.value},A=t=>t.toLowerCase().replace(/[^[a-z0-9]/gi,"-"),le=e.computed(()=>{if(!a.fetcher||a.disablePagination||!o.value||!o.value.length||a.error)return!1;const t=a.paginationPageSizes?.[0]??O;return a.hidePaginationWhenOptional&&l.value===1?a.paginationOffset?!!S.value||!!d.value||o.value.length>=t:y.value>t:!0});e.watch(w,t=>{t?.length&&!o.value.length&&(o.value=t)},{deep:!0,immediate:!0}),e.watch(p,()=>{switch(p.value){case I.PENDING:g.value=!0;break;case I.VALIDATING_HAS_DATA:g.value=v.value;break;default:g.value=!1;break}},{immediate:!0}),e.watch([N,Y],t=>{s("state",{state:t?.[1],hasData:t?.[0]?.hasData})}),e.watch(()=>a.searchInput,t=>{l.value!==1&&(l.value=1),t===""?U(t):Q(t)},{immediate:!0});const v=e.ref(!1);return e.watch([z,l,i],async(t,u)=>{const n=u?.[0],h=t[0],T=t[1];h!==n&&T!==1&&(l.value=1,c.value=[null],r.value=null),k.value&&!B.value&&(v.value=!0,await W(),v.value=!1)},{deep:!0,immediate:!0}),e.watch(L,t=>{s("update:catalog-preferences",t)}),e.onMounted(()=>{H()}),(t,u)=>(e.openBlock(),e.createElementBlock("div",ce,[a.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.titleTag),{key:0,class:"catalog-title","data-testid":"catalog-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1})):e.createCommentVNode("",!0),F.toolbar?(e.openBlock(),e.createElementBlock("div",ue,[e.renderSlot(t.$slots,"toolbar",{state:N.value},void 0,!0)])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createBlock(oe.default,{key:2,"card-count":4,class:"catalog-skeleton-loader","data-testid":"catalog-skeleton-loader",type:"card"})):a.error?(e.openBlock(),e.createElementBlock("div",se,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode($.default,{"icon-variant":"error",message:a.errorStateMessage,title:a.errorStateTitle},e.createSlots({_:2},[a.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{"data-testid":A(a.errorStateActionMessage),to:a.errorStateActionRoute?a.errorStateActionRoute:void 0,onClick:u[0]||(u[0]=n=>s("error-action-click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.errorStateActionMessage),1)]),_:1},8,["data-testid","to"])]),key:"0"}:void 0]),1032,["message","title"])],!0)])):R.value?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode($.default,{"icon-variant":a.emptyStateIconVariant,message:a.emptyStateMessage,title:a.emptyStateTitle},e.createSlots({_:2},[a.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{appearance:a.searchInput?"tertiary":"primary","data-testid":A(a.emptyStateActionMessage),to:a.emptyStateActionRoute?a.emptyStateActionRoute:void 0,onClick:u[1]||(u[1]=n=>s("empty-state-action-click"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"empty-state-action-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(a.emptyStateActionMessage),1)]),_:3},8,["appearance","data-testid","to"])]),key:"0"}:void 0]),1032,["icon-variant","message","title"])],!0)])):(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(["catalog-page",`card-${a.cardSize}`]),"data-tableid":e.unref(m)},[e.renderSlot(t.$slots,"body",{data:o.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(n,h)=>(e.openBlock(),e.createBlock(re.default,{key:n.key?n.key:`catalog-${e.unref(m)}-item-${h}`,class:"catalog-item","data-testid":n.id?n.id:`catalog-item-${h}`,item:n,truncate:a.truncateDescription,onClick:T=>s("card-click",n)},{"card-title":e.withCtx(()=>[e.renderSlot(t.$slots,"card-title",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)]),"card-actions":e.withCtx(()=>[e.renderSlot(t.$slots,"card-actions",{item:n},void 0,!0)]),"card-body":e.withCtx(()=>[e.renderSlot(t.$slots,"card-body",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.description),1)],!0)]),_:2},1032,["data-testid","item","truncate","onClick"]))),128))],!0)],10,ge)),le.value?(e.openBlock(),e.createBlock(ie.default,{key:6,class:"card-pagination","current-page":l.value,"data-testid":"catalog-pagination","disable-page-jump":a.disablePaginationPageJump,"initial-page-size":i.value,neighbors:a.paginationNeighbors,offset:a.paginationOffset,"offset-next-button-disabled":!d.value||!P.value,"offset-previous-button-disabled":!S.value,"page-sizes":a.paginationPageSizes,"total-count":y.value,onGetNextOffset:te,onGetPreviousOffset:ae,onPageChange:_,onPageSizeChange:ee},null,8,["current-page","disable-page-jump","initial-page-size","neighbors","offset","offset-next-button-disabled","offset-previous-button-disabled","page-sizes","total-count"])):e.createCommentVNode("",!0)]))}});exports.default=fe;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ne=require("./kongponents191.cjs"),oe=require("./kongponents25.cjs");;/* empty css */const $=require("./kongponents51.cjs"),M=require("./kongponents38.cjs"),ie=require("./kongponents61.cjs"),re=require("./kongponents41.cjs"),ce={class:"k-catalog"},ue={key:1,class:"catalog-toolbar","data-testid":"catalog-toolbar"},se={key:3,class:"catalog-error-state","data-testid":"catalog-error-state"},de={key:4,class:"catalog-empty-state","data-testid":"catalog-empty-state"},ge=["data-tableid"],O=15,fe=e.defineComponent({__name:"KCatalog",props:{titleTag:{default:"div"},loading:{type:Boolean},cardSize:{default:"medium"},title:{default:""},truncateDescription:{type:Boolean,default:!0},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{default:""},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:"default"},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{default:""},errorStateActionMessage:{default:""},fetcher:{type:Function},initialFetcherParams:{default:null},cacheIdentifier:{default:""},fetcherCacheKey:{default:""},searchInput:{default:""},paginationNeighbors:{default:1},paginationPageSizes:{default:()=>[15,30,50,75,100]},paginationTotalItems:{default:null},disablePaginationPageJump:{type:Boolean},disablePagination:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},paginationOffset:{type:Boolean}},emits:["card-click","error-action-click","empty-state-action-click","update:catalog-preferences","state"],setup(a,{emit:V}){const{useRequest:q,useDebounce:E,useSwrvState:x}=ne.default(),s=V,F=e.useSlots(),m=e.useId(),K=()=>{const t=a.paginationPageSizes?.[0];return t||O},o=e.ref([]),y=e.ref(0),b=e.ref(""),l=e.ref(1),i=e.ref(K()),r=e.ref(null),c=e.ref([]),S=e.computed(()=>c.value[l.value-1]),d=e.ref(null),P=e.ref(!0),k=e.ref(!1),f={page:1,pageSize:i.value,query:"",offset:null},C=e.computed(()=>(g.value||a.loading||v.value)&&!a.error),R=e.computed(()=>!C.value&&o.value&&!o.value.length),L=e.computed(()=>({pageSize:i.value})),B=e.ref(!0),G=async()=>{const t=await a.fetcher({query:a.searchInput||b.value,pageSize:i.value,page:l.value,offset:r.value});if(t==null)throw new Error("KCatalog: Fetcher did not return data correctly.");return o.value=t.data,y.value=a.paginationTotalItems||t.total||t.data?.length,a.paginationOffset&&(t.pagination?.offset?(d.value=t.pagination.offset,c.value[l.value]||c.value.push(t.pagination.offset)):d.value=null,P.value=t.pagination&&"hasNextPage"in t.pagination?!!t.pagination.hasNextPage:!0),o.value.length===0&&l.value>1&&(l.value=1,c.value=[null],r.value=null),B.value=!1,t},H=()=>{const t={...f,...a.initialFetcherParams};l.value=t.page??f.page,i.value=t.pageSize??f.pageSize,b.value=t.query??f.query,a.paginationOffset&&(r.value=t.offset,c.value.push(t.offset)),k.value=!0},j=e.computed(()=>{if(!a.fetcher||!k.value)return"";let t=m;return a.cacheIdentifier&&(t=a.cacheIdentifier),a.fetcherCacheKey&&(t+=`-${a.fetcherCacheKey}`),`k-catalog_${t}`}),z=e.ref(""),{debouncedFn:Q,generateDebouncedFn:J}=E(t=>{z.value=t},350),U=J(0),{data:w,error:D,revalidate:W,isValidating:Z}=q(()=>j.value,()=>G(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:p,hasData:X,swrvState:I}=x(w,D,Z),g=e.ref(!0),N=e.computed(()=>({hasData:X.value,state:p.value})),Y=e.computed(()=>g.value?"loading":D.value?"error":"success"),_=({page:t})=>{l.value=t},ee=({pageSize:t})=>{c.value=[null],r.value=null,i.value=t,l.value=1},te=()=>{l.value++,r.value=d.value},ae=()=>{l.value--,r.value=S.value},A=t=>t.toLowerCase().replace(/[^[a-z0-9]/gi,"-"),le=e.computed(()=>{if(!a.fetcher||a.disablePagination||!o.value||!o.value.length||a.error)return!1;const t=a.paginationPageSizes?.[0]??O;return a.hidePaginationWhenOptional&&l.value===1?a.paginationOffset?!!S.value||!!d.value||o.value.length>=t:y.value>t:!0});e.watch(w,t=>{t?.length&&!o.value.length&&(o.value=t)},{deep:!0,immediate:!0}),e.watch(p,()=>{switch(p.value){case I.PENDING:g.value=!0;break;case I.VALIDATING_HAS_DATA:g.value=v.value;break;default:g.value=!1;break}},{immediate:!0}),e.watch([N,Y],t=>{s("state",{state:t?.[1],hasData:t?.[0]?.hasData})}),e.watch(()=>a.searchInput,t=>{l.value!==1&&(l.value=1),t===""?U(t):Q(t)},{immediate:!0});const v=e.ref(!1);return e.watch([z,l,i],async(t,u)=>{const n=u?.[0],h=t[0],T=t[1];h!==n&&T!==1&&(l.value=1,c.value=[null],r.value=null),k.value&&!B.value&&(v.value=!0,await W(),v.value=!1)},{deep:!0,immediate:!0}),e.watch(L,t=>{s("update:catalog-preferences",t)}),e.onMounted(()=>{H()}),(t,u)=>(e.openBlock(),e.createElementBlock("div",ce,[a.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.titleTag),{key:0,class:"catalog-title","data-testid":"catalog-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1})):e.createCommentVNode("",!0),F.toolbar?(e.openBlock(),e.createElementBlock("div",ue,[e.renderSlot(t.$slots,"toolbar",{state:N.value},void 0,!0)])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createBlock(oe.default,{key:2,"card-count":4,class:"catalog-skeleton-loader","data-testid":"catalog-skeleton-loader",type:"card"})):a.error?(e.openBlock(),e.createElementBlock("div",se,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode($.default,{"icon-variant":"error",message:a.errorStateMessage,title:a.errorStateTitle},e.createSlots({_:2},[a.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{"data-testid":A(a.errorStateActionMessage),to:a.errorStateActionRoute?a.errorStateActionRoute:void 0,onClick:u[0]||(u[0]=n=>s("error-action-click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.errorStateActionMessage),1)]),_:1},8,["data-testid","to"])]),key:"0"}:void 0]),1032,["message","title"])],!0)])):R.value?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode($.default,{"icon-variant":a.emptyStateIconVariant,message:a.emptyStateMessage,title:a.emptyStateTitle},e.createSlots({_:2},[a.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{appearance:a.searchInput?"tertiary":"primary","data-testid":A(a.emptyStateActionMessage),to:a.emptyStateActionRoute?a.emptyStateActionRoute:void 0,onClick:u[1]||(u[1]=n=>s("empty-state-action-click"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"empty-state-action-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(a.emptyStateActionMessage),1)]),_:3},8,["appearance","data-testid","to"])]),key:"0"}:void 0]),1032,["icon-variant","message","title"])],!0)])):(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(["catalog-page",`card-${a.cardSize}`]),"data-tableid":e.unref(m)},[e.renderSlot(t.$slots,"body",{data:o.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(n,h)=>(e.openBlock(),e.createBlock(re.default,{key:n.key?n.key:`catalog-${e.unref(m)}-item-${h}`,class:"catalog-item","data-testid":n.id?n.id:`catalog-item-${h}`,item:n,truncate:a.truncateDescription,onClick:T=>s("card-click",n)},{"card-title":e.withCtx(()=>[e.renderSlot(t.$slots,"card-title",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)]),"card-actions":e.withCtx(()=>[e.renderSlot(t.$slots,"card-actions",{item:n},void 0,!0)]),"card-body":e.withCtx(()=>[e.renderSlot(t.$slots,"card-body",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.description),1)],!0)]),_:2},1032,["data-testid","item","truncate","onClick"]))),128))],!0)],10,ge)),le.value?(e.openBlock(),e.createBlock(ie.default,{key:6,class:"card-pagination","current-page":l.value,"data-testid":"catalog-pagination","disable-page-jump":a.disablePaginationPageJump,"initial-page-size":i.value,neighbors:a.paginationNeighbors,offset:a.paginationOffset,"offset-next-button-disabled":!d.value||!P.value,"offset-previous-button-disabled":!S.value,"page-sizes":a.paginationPageSizes,"total-count":y.value,onGetNextOffset:te,onGetPreviousOffset:ae,onPageChange:_,onPageSizeChange:ee},null,8,["current-page","disable-page-jump","initial-page-size","neighbors","offset","offset-next-button-disabled","offset-previous-button-disabled","page-sizes","total-count"])):e.createCommentVNode("",!0)]))}});exports.default=fe;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ye, useSlots as Se, useId as be, ref as i, computed as s, watch as v, onMounted as pe, openBlock as o, createElementBlock as m, createBlock as I, resolveDynamicComponent as ke, withCtx as r, createTextVNode as b, toDisplayString as p, createCommentVNode as T, renderSlot as u, createVNode as A, createSlots as H, unref as x, normalizeClass as Pe, Fragment as ze, renderList as Ie } from "vue";
2
- import Ae from "./kongponents187.es.js";
2
+ import Ae from "./kongponents191.es.js";
3
3
  import Ce from "./kongponents25.es.js";
4
4
  /* empty css */
5
5
  import Q from "./kongponents51.es.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./kongponents57.cjs"),d=require("@kong/icons"),u=require("./kongponents182.cjs"),C=["id","aria-checked"],S={class:"checkbox-label-wrapper"},V={key:1,class:"checkbox-description"},x=e.defineComponent({inheritAttrs:!1,__name:"KCheckbox",props:{modelValue:{type:Boolean},label:{default:""},labelAttributes:{default:()=>({})},description:{default:""},error:{type:Boolean,default:!1}},emits:["change","input","update:modelValue"],setup(o,{emit:m}){const a=m,i=e.useSlots(),l=e.useAttrs(),h=e.useId(),r=e.computed(()=>l.id?String(l.id):h),n=()=>!!(o.label||i.default),k=e.computed(()=>l?.disabled!==void 0&&String(l?.disabled)!=="false"),s=()=>n()&&(!!o.description||!!i.description),b=()=>!!i.tooltip,c=e.computed(()=>{const t={...l};return delete t.class,t.checked=o.modelValue,t.indeterminate!==void 0&&String(t.indeterminate)!=="false"&&!o.modelValue?(delete t.checked,t.indeterminate=!0):delete t.indeterminate,t}),p=()=>({disabled:k.value,"has-description":s(),"input-error":o.error}),f=e.computed(()=>c.value.indeterminate!==void 0&&String(c.value.indeterminate)!=="false");e.watch(()=>o.labelAttributes,t=>{t.help&&console.warn("KCheckbox: `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")},{immediate:!0});const g=t=>{a("change",t.target.checked),a("input",t.target.checked),a("update:modelValue",t.target.checked)};return(t,I)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-checkbox",[t.$attrs.class,p()]])},[e.createElementVNode("div",{class:e.normalizeClass(["checkbox-input-wrapper",{"has-label":n()}])},[e.createElementVNode("input",e.mergeProps({id:r.value},c.value,{"aria-checked":o.modelValue,class:"checkbox-input",type:"checkbox",onChange:g}),null,16,C),o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.CheckSmallIcon),{key:0,class:"checkbox-icon","data-testid":"check-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0),f.value&&!o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.IndeterminateSmallIcon),{key:1,class:"checkbox-icon","data-testid":"indeterminate-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",S,[n()?(e.openBlock(),e.createBlock(v.default,e.mergeProps({key:0},o.labelAttributes,{class:"checkbox-label",for:r.value}),e.createSlots({default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.label),1)],!0)]),_:2},[b()?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for"])):e.createCommentVNode("",!0),s()?(e.openBlock(),e.createElementBlock("div",V,[e.renderSlot(t.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(o.description),1)],!0)])):e.createCommentVNode("",!0)])],2))}});exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./kongponents57.cjs"),d=require("@kong/icons"),u=require("./kongponents184.cjs"),C=["id","aria-checked"],S={class:"checkbox-label-wrapper"},V={key:1,class:"checkbox-description"},x=e.defineComponent({inheritAttrs:!1,__name:"KCheckbox",props:{modelValue:{type:Boolean},label:{default:""},labelAttributes:{default:()=>({})},description:{default:""},error:{type:Boolean,default:!1}},emits:["change","input","update:modelValue"],setup(o,{emit:m}){const a=m,i=e.useSlots(),l=e.useAttrs(),h=e.useId(),r=e.computed(()=>l.id?String(l.id):h),n=()=>!!(o.label||i.default),k=e.computed(()=>l?.disabled!==void 0&&String(l?.disabled)!=="false"),s=()=>n()&&(!!o.description||!!i.description),b=()=>!!i.tooltip,c=e.computed(()=>{const t={...l};return delete t.class,t.checked=o.modelValue,t.indeterminate!==void 0&&String(t.indeterminate)!=="false"&&!o.modelValue?(delete t.checked,t.indeterminate=!0):delete t.indeterminate,t}),p=()=>({disabled:k.value,"has-description":s(),"input-error":o.error}),f=e.computed(()=>c.value.indeterminate!==void 0&&String(c.value.indeterminate)!=="false");e.watch(()=>o.labelAttributes,t=>{t.help&&console.warn("KCheckbox: `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")},{immediate:!0});const g=t=>{a("change",t.target.checked),a("input",t.target.checked),a("update:modelValue",t.target.checked)};return(t,I)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-checkbox",[t.$attrs.class,p()]])},[e.createElementVNode("div",{class:e.normalizeClass(["checkbox-input-wrapper",{"has-label":n()}])},[e.createElementVNode("input",e.mergeProps({id:r.value},c.value,{"aria-checked":o.modelValue,class:"checkbox-input",type:"checkbox",onChange:g}),null,16,C),o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.CheckSmallIcon),{key:0,class:"checkbox-icon","data-testid":"check-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0),f.value&&!o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.IndeterminateSmallIcon),{key:1,class:"checkbox-icon","data-testid":"indeterminate-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",S,[n()?(e.openBlock(),e.createBlock(v.default,e.mergeProps({key:0},o.labelAttributes,{class:"checkbox-label",for:r.value}),e.createSlots({default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.label),1)],!0)]),_:2},[b()?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for"])):e.createCommentVNode("",!0),s()?(e.openBlock(),e.createElementBlock("div",V,[e.renderSlot(t.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(o.description),1)],!0)])):e.createCommentVNode("",!0)])],2))}});exports.default=x;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as w, useSlots as B, useAttrs as K, useId as N, computed as l, watch as D, openBlock as a, createElementBlock as p, normalizeClass as f, createElementVNode as o, mergeProps as g, createBlock as m, unref as n, createCommentVNode as s, createSlots as E, withCtx as v, renderSlot as h, createTextVNode as L, toDisplayString as x } from "vue";
2
2
  import P from "./kongponents57.es.js";
3
3
  import { CheckSmallIcon as T, IndeterminateSmallIcon as q } from "@kong/icons";
4
- import { KUI_ICON_SIZE_40 as C } from "./kongponents182.es.js";
4
+ import { KUI_ICON_SIZE_40 as C } from "./kongponents184.es.js";
5
5
  const O = ["id", "aria-checked"], U = { class: "checkbox-label-wrapper" }, Z = {
6
6
  key: 1,
7
7
  class: "checkbox-description"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Q=require("virtua/vue"),ie=require("./kongponents55.cjs"),ce=require("./kongponents177.cjs"),ue=require("./kongponents215.cjs"),f=require("./kongponents216.cjs"),d=require("@kong/icons"),L=require("./kongponents182.cjs"),p=require("./kongponents44.cjs"),se=require("./kongponents191.cjs"),de=require("./kongponents185.cjs"),he=require("./kongponents188.cjs"),fe=require("./kongponents217.cjs"),me=["id"],ge={key:0,class:"code-block-actions"},ve={key:0,class:"code-block-search-results-container"},be={key:0,class:"code-block-search-results"},ke={class:"code-block-search-actions"},ye={ref:"codeBlockContent",class:"code-block-content"},pe={class:"code-block-secondary-actions"},Ce=["id","href"],Ne=["innerHTML"],Le=["id","href"],we=["innerHTML"],Be=e.defineComponent({__name:"KCodeBlock",props:{id:{},code:{},copyCode:{},language:{},initialFilterMode:{type:Boolean},initialRegExpMode:{type:Boolean},searchable:{type:Boolean},highlightedLineNumbers:{default:()=>[]},processing:{type:Boolean},query:{default:""},showCopyButton:{type:[Boolean,String],default:!0},showLineNumbers:{type:Boolean,default:!0},showLineNumberLinks:{type:Boolean},singleLine:{type:Boolean},maxHeight:{default:"none"}},emits:["code-block-render","matching-lines-change","query-change","filter-mode-change","reg-exp-mode-change"],setup(o,{emit:W}){e.useCssVars(t=>({v1d5b2df3:oe.value,v1e85e052:Z.value}));const m=se.IS_MAYBE_MAC?"Option":"Alt",Y=fe.default(D,150,{leading:!0,trailing:!0});e.watch(()=>o.highlightedLineNumbers,t=>{typeof t=="string"&&f.LINE_NUMBER_EXPRESSION_REGEX.test(t)||Array.isArray(t)&&t.every(n=>Array.isArray(n)?n.length===2&&n.every(l=>typeof l=="number"):typeof n=="number")||console.warn("KCodeBlock: `highlightedLineNumbers` prop should be either a properly formatted string (e.g. '1,3-5,7'), an array of numbers or tuples of numbers.")},{immediate:!0});const k=W,x=e.useSlots(),M=e.ref(o.query),g=e.ref(!1),s=e.ref(o.initialRegExpMode),u=e.ref(o.initialFilterMode),h=e.ref(null),i=e.ref(o.query),T=e.ref(0),a=e.ref([]),c=e.ref(null),r=e.useTemplateRef("codeBlock"),w=e.useTemplateRef("codeBlockContent"),S=e.useTemplateRef("codeBlockLineNumbers"),B=e.ref(!1),E=e.ref(!1),V=e.computed(()=>new Set(a.value)),C=e.computed(()=>Array.from({length:o.code?.split(`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Q=require("virtua/vue"),ie=require("./kongponents55.cjs"),ce=require("./kongponents177.cjs"),ue=require("./kongponents200.cjs"),f=require("./kongponents201.cjs"),d=require("@kong/icons"),L=require("./kongponents184.cjs"),p=require("./kongponents44.cjs"),se=require("./kongponents187.cjs"),de=require("./kongponents189.cjs"),he=require("./kongponents202.cjs"),fe=require("./kongponents203.cjs"),me=["id"],ge={key:0,class:"code-block-actions"},ve={key:0,class:"code-block-search-results-container"},be={key:0,class:"code-block-search-results"},ke={class:"code-block-search-actions"},ye={ref:"codeBlockContent",class:"code-block-content"},pe={class:"code-block-secondary-actions"},Ce=["id","href"],Ne=["innerHTML"],Le=["id","href"],we=["innerHTML"],Be=e.defineComponent({__name:"KCodeBlock",props:{id:{},code:{},copyCode:{},language:{},initialFilterMode:{type:Boolean},initialRegExpMode:{type:Boolean},searchable:{type:Boolean},highlightedLineNumbers:{default:()=>[]},processing:{type:Boolean},query:{default:""},showCopyButton:{type:[Boolean,String],default:!0},showLineNumbers:{type:Boolean,default:!0},showLineNumberLinks:{type:Boolean},singleLine:{type:Boolean},maxHeight:{default:"none"}},emits:["code-block-render","matching-lines-change","query-change","filter-mode-change","reg-exp-mode-change"],setup(o,{emit:W}){e.useCssVars(t=>({v1d5b2df3:oe.value,v1e85e052:Z.value}));const m=se.IS_MAYBE_MAC?"Option":"Alt",Y=fe.default(D,150,{leading:!0,trailing:!0});e.watch(()=>o.highlightedLineNumbers,t=>{typeof t=="string"&&f.LINE_NUMBER_EXPRESSION_REGEX.test(t)||Array.isArray(t)&&t.every(n=>Array.isArray(n)?n.length===2&&n.every(l=>typeof l=="number"):typeof n=="number")||console.warn("KCodeBlock: `highlightedLineNumbers` prop should be either a properly formatted string (e.g. '1,3-5,7'), an array of numbers or tuples of numbers.")},{immediate:!0});const k=W,x=e.useSlots(),M=e.ref(o.query),g=e.ref(!1),s=e.ref(o.initialRegExpMode),u=e.ref(o.initialFilterMode),h=e.ref(null),i=e.ref(o.query),T=e.ref(0),a=e.ref([]),c=e.ref(null),r=e.useTemplateRef("codeBlock"),w=e.useTemplateRef("codeBlockContent"),S=e.useTemplateRef("codeBlockLineNumbers"),B=e.ref(!1),E=e.ref(!1),V=e.computed(()=>new Set(a.value)),C=e.computed(()=>Array.from({length:o.code?.split(`
2
2
  `).length},(t,n)=>n+1)),Z=e.computed(()=>C.value[C.value.length-1]?.toString().length+"ch"),I=e.computed(()=>o.processing||g.value),v=e.computed(()=>u.value&&q.value!==""),J=e.computed(()=>o.id.toLowerCase().replace(/\s+/g,"-"));function y(t){return`${J.value}-L${t}`}const _=e.computed(()=>f.buildLineOffsets(o.code)),q=e.computed(()=>{if(i.value===""||a.value.length===0)return"";const t=o.code?.split(`
3
3
  `).filter((n,l)=>V.value.has(l+1)).join(`
4
4
  `);return f.highlightMatchingChars(t,i.value,s.value)}),b=()=>!!x.actions,ee=()=>!o.singleLine&&(o.searchable||b()),te=e.computed(()=>o.singleLine?f.escapeHTMLIfNeeded(o.code).replaceAll(`
@@ -2,15 +2,15 @@ import { defineComponent as Te, useCssVars as Ie, watch as T, useSlots as Se, re
2
2
  import { Virtualizer as fe } from "virtua/vue";
3
3
  import Pe from "./kongponents55.es.js";
4
4
  import { copyTextToClipboard as He } from "./kongponents177.es.js";
5
- import { ShortcutManager as Fe } from "./kongponents215.es.js";
6
- import { LINE_NUMBER_EXPRESSION_REGEX as qe, buildLineOffsets as Ve, highlightMatchingChars as $e, escapeHTMLIfNeeded as me, normalizeHighlightedLines as De, getMatchingLineNumbers as ze } from "./kongponents216.es.js";
5
+ import { ShortcutManager as Fe } from "./kongponents200.es.js";
6
+ import { LINE_NUMBER_EXPRESSION_REGEX as qe, buildLineOffsets as Ve, highlightMatchingChars as $e, escapeHTMLIfNeeded as me, normalizeHighlightedLines as De, getMatchingLineNumbers as ze } from "./kongponents201.es.js";
7
7
  import { CloseIcon as Ue, SearchIcon as je, ProgressIcon as Oe, RegexIcon as Ke, FilterIcon as Ge, ArrowUpIcon as Xe, ArrowDownIcon as Qe, CopyIcon as We } from "@kong/icons";
8
- import { KUI_ICON_SIZE_30 as Ye, KUI_COLOR_TEXT_NEUTRAL_STRONG as Ze, KUI_LINE_HEIGHT_30 as ve } from "./kongponents182.es.js";
8
+ import { KUI_ICON_SIZE_30 as Ye, KUI_COLOR_TEXT_NEUTRAL_STRONG as Ze, KUI_LINE_HEIGHT_30 as ve } from "./kongponents184.es.js";
9
9
  import S from "./kongponents44.es.js";
10
- import { IS_MAYBE_MAC as Je } from "./kongponents191.es.js";
11
- import { normalizeSize as _e } from "./kongponents185.es.js";
12
- import { findInteractiveAncestor as et } from "./kongponents188.es.js";
13
- import tt from "./kongponents217.es.js";
10
+ import { IS_MAYBE_MAC as Je } from "./kongponents187.es.js";
11
+ import { normalizeSize as _e } from "./kongponents189.es.js";
12
+ import { findInteractiveAncestor as et } from "./kongponents202.es.js";
13
+ import tt from "./kongponents203.es.js";
14
14
  const ot = ["id"], nt = {
15
15
  key: 0,
16
16
  class: "code-block-actions"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong/kongponents",
3
- "version": "9.66.15",
3
+ "version": "9.66.16",
4
4
  "description": "Kong Component library",
5
5
  "type": "module",
6
6
  "repository": {
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("@floating-ui/vue"),W=require("./kongponents38.cjs"),R=require("@kong/icons"),T=require("./kongponents182.cjs"),j=require("./kongponents183.cjs"),f=require("./kongponents184.cjs"),h=require("./kongponents185.cjs"),P=require("./kongponents186.cjs"),M=["id","aria-labelledby","x-placement"],F=["tabindex"],X={key:1,class:"popover-header"},Y=["id"],G={key:2,class:"popover-footer"},J=e.defineComponent({__name:"KPop",props:{buttonText:{default:""},title:{default:""},placement:{default:"auto"},trigger:{default:"click"},popoverTimeout:{default:300},popoverDelay:{default:0},hideCloseIcon:{type:Boolean},hideCaret:{type:Boolean},closeOnPopoverClick:{type:Boolean},disabled:{type:Boolean},width:{default:"200px"},maxWidth:{default:"none"},maxHeight:{default:"none"},popoverClasses:{default:""},popoverElementAttributes:{default:()=>({})},tag:{default:"div"},zIndex:{},offset:{default:()=>T.KUI_SPACE_60},target:{default:null}},emits:["open","close","popover-click"],setup(t,{expose:I,emit:N}){const C=N,s=e.useSlots(),x=e.inject(P.POPOVER_PARENT_ZINDEX_KEY,null),w=e.computed(()=>t.zIndex??(x?.value!=null?x.value+1:1e3));e.provide(P.POPOVER_PARENT_ZINDEX_KEY,w);const y=e.useId(),S=e.useId(),c=e.ref(null),i=e.ref(null),n=e.ref(!1),r=e.computed(()=>c.value&&c.value?.children[0]?c.value?.children[0]:null),u=e.ref(null),l=e.ref(null),z=()=>{n.value?a():m()},E=e.ref(),k=()=>{E.value&&E.value()},B=()=>{k(),r.value&&i.value&&(E.value=p.autoUpdate(r.value,i.value,A))},m=async()=>{if(!t.disabled){u.value&&(clearTimeout(u.value),u.value=null);const o=()=>{B(),n.value=!0};t.trigger==="hover"&&t.popoverDelay>0?(l.value&&clearTimeout(l.value),l.value=setTimeout(o,t.popoverDelay)):o()}},a=()=>{l.value&&(clearTimeout(l.value),l.value=null),u.value=setTimeout(()=>{k(),n.value=!1},t.trigger==="hover"?t.popoverTimeout:0)},V=()=>{z()},K=()=>{C("popover-click"),t.closeOnPopoverClick&&a()},q=o=>{if(!n.value)return;const v=o.target,Z=c.value?.contains(v),H=i.value?.contains(v);Z||H||a()},b=e.computed(()=>t.placement.trim().replace(/ /g,"-").replace(/[A-Z]+(?![a-z])|[A-Z]/g,(o,v)=>(v?"-":"")+o.toLowerCase()).replace(/--+/g,"-").replace(/-+$/g,"")),{floatingStyles:O,placement:d,update:A}=p.useFloating(r,i,{...b.value==="auto"&&{middleware:[p.autoPlacement()]},...b.value!=="auto"&&{placement:b.value,middleware:[p.shift(),p.flip()]},strategy:"fixed",transform:!1}),g=e.computed(()=>h.normalizeSize(t.offset)),D=e.computed(()=>d.value.includes("top")?{marginBottom:g.value}:d.value.includes("bottom")?{marginTop:g.value}:d.value.includes("right")?{marginLeft:g.value}:d.value.includes("left")?{marginRight:g.value}:{}),$=e.computed(()=>({...O.value,zIndex:w.value})),L=e.computed(()=>({...D.value,width:h.normalizeSize(t.width),maxWidth:h.normalizeSize(t.maxWidth),maxHeight:h.normalizeSize(t.maxHeight)})),U=e.computed(()=>[t.popoverClasses,{"hide-caret":t.hideCaret}]);return I({hidePopover:a,showPopover:m}),e.onMounted(()=>{if(f.useEventListener(window,"mousedown",q,{capture:!0}),r.value){const o=r.value.querySelector('button[data-dropdown-trigger="true"]')||r.value;o.hasAttribute("aria-controls")||o.setAttribute("aria-controls",y)}t.trigger==="hover"&&[i.value,r.value].forEach(o=>{o&&(f.useEventListener(o,"mouseenter",m),f.useEventListener(o,"focusin",m),f.useEventListener(o,"mouseleave",a),f.useEventListener(o,"focusout",a))})}),e.onBeforeUnmount(()=>{l.value&&clearTimeout(l.value),u.value&&clearTimeout(u.value),k()}),e.watch(n,o=>{C(o?"open":"close")}),(o,v)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"k-popover",onKeydown:e.withKeys(e.withModifiers(a,["stop"]),["esc"])},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"triggerWrapperElement",ref:c,class:"popover-trigger-wrapper",onClick:V},[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(W.default,{"aria-controls":e.unref(y),"data-testid":"popover-button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.buttonText),1)]),_:1},8,["aria-controls"])],!0)],512),e.createVNode(j.default,{target:t.target,"use-teleport":!!t.target},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:"kongponents-fade-transition"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",e.mergeProps(t.popoverElementAttributes,{id:e.unref(y),ref_key:"popoverElement",ref:i,"aria-labelledby":s.title||t.title?e.unref(S):void 0,class:["popover",U.value],role:"dialog",style:$.value,"x-placement":e.unref(d),onClick:K}),[e.createElementVNode("div",{class:"popover-container",style:e.normalizeStyle(L.value)},[t.hideCloseIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,ref:"popoverCloseButton","aria-label":"Close popover",class:"popover-close-button",tabindex:n.value?0:-1,type:"button",onClick:a},[e.createVNode(e.unref(R.CloseIcon),{class:"popover-close-icon",decorative:"",size:`var(--kui-icon-size-30, ${e.unref(T.KUI_ICON_SIZE_30)})`},null,8,["size"])],8,F)),s.title||t.title?(e.openBlock(),e.createElementBlock("div",X,[s.title||t.title?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(S),class:e.normalizeClass(["popover-title",{"close-icon-spacing":!t.hideCloseIcon}])},[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)],!0)],10,Y)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["popover-content",{"close-icon-spacing":!t.hideCloseIcon&&!(s.title||t.title)}])},[e.renderSlot(o.$slots,"content",{},void 0,!0)],2),s.footer?(e.openBlock(),e.createElementBlock("div",G,[e.renderSlot(o.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],4)],16,M),[[e.vShow,n.value]])]),_:3})]),_:3},8,["target","use-teleport"])]),_:3},40,["onKeydown"]))}});exports.default=J;
@@ -1,212 +0,0 @@
1
- import { defineComponent as ee, useSlots as te, inject as oe, computed as a, provide as le, useId as N, ref as c, onMounted as ae, onBeforeUnmount as ie, watch as re, openBlock as m, createBlock as ne, resolveDynamicComponent as ue, withKeys as se, withModifiers as ce, withCtx as C, createElementVNode as b, renderSlot as k, createVNode as w, unref as n, createTextVNode as O, toDisplayString as U, Transition as ve, withDirectives as de, mergeProps as fe, normalizeStyle as pe, createElementBlock as x, createCommentVNode as E, normalizeClass as $, vShow as me } from "vue";
2
- import { useFloating as ge, shift as he, flip as ye, autoPlacement as Ce, autoUpdate as be } from "@floating-ui/vue";
3
- import ke from "./kongponents38.es.js";
4
- import { CloseIcon as we } from "@kong/icons";
5
- import { KUI_SPACE_60 as xe, KUI_ICON_SIZE_30 as Ee } from "./kongponents182.es.js";
6
- import Ie from "./kongponents183.es.js";
7
- import { useEventListener as g } from "./kongponents184.es.js";
8
- import { normalizeSize as I } from "./kongponents185.es.js";
9
- import { POPOVER_PARENT_ZINDEX_KEY as H } from "./kongponents186.es.js";
10
- const Te = ["id", "aria-labelledby", "x-placement"], Pe = ["tabindex"], Se = {
11
- key: 1,
12
- class: "popover-header"
13
- }, ze = ["id"], Be = {
14
- key: 2,
15
- class: "popover-footer"
16
- }, Ze = /* @__PURE__ */ ee({
17
- __name: "KPop",
18
- props: {
19
- buttonText: { default: "" },
20
- title: { default: "" },
21
- placement: { default: "auto" },
22
- trigger: { default: "click" },
23
- popoverTimeout: { default: 300 },
24
- popoverDelay: { default: 0 },
25
- hideCloseIcon: { type: Boolean },
26
- hideCaret: { type: Boolean },
27
- closeOnPopoverClick: { type: Boolean },
28
- disabled: { type: Boolean },
29
- width: { default: "200px" },
30
- maxWidth: { default: "none" },
31
- maxHeight: { default: "none" },
32
- popoverClasses: { default: "" },
33
- popoverElementAttributes: { default: () => ({}) },
34
- tag: { default: "div" },
35
- zIndex: {},
36
- offset: { default: () => xe },
37
- target: { default: null }
38
- },
39
- emits: ["open", "close", "popover-click"],
40
- setup(e, { expose: V, emit: Z }) {
41
- const T = Z, v = te(), A = oe(H, null), K = a(() => e.zIndex ?? (A?.value != null ? A.value + 1 : 1e3));
42
- le(H, K);
43
- const P = N(), D = N(), d = c(null), u = c(null), i = c(!1), r = a(() => d.value && d.value?.children[0] ? d.value?.children[0] : null), s = c(null), o = c(null), W = () => {
44
- i.value ? l() : h();
45
- }, S = c(), z = () => {
46
- S.value && S.value();
47
- }, F = () => {
48
- z(), r.value && u.value && (S.value = be(r.value, u.value, q));
49
- }, h = async () => {
50
- if (!e.disabled) {
51
- s.value && (clearTimeout(s.value), s.value = null);
52
- const t = () => {
53
- F(), i.value = !0;
54
- };
55
- e.trigger === "hover" && e.popoverDelay > 0 ? (o.value && clearTimeout(o.value), o.value = setTimeout(t, e.popoverDelay)) : t();
56
- }
57
- }, l = () => {
58
- o.value && (clearTimeout(o.value), o.value = null), s.value = setTimeout(() => {
59
- z(), i.value = !1;
60
- }, e.trigger === "hover" ? e.popoverTimeout : 0);
61
- }, L = () => {
62
- W();
63
- }, R = () => {
64
- T("popover-click"), e.closeOnPopoverClick && l();
65
- }, j = (t) => {
66
- if (!i.value)
67
- return;
68
- const p = t.target, Q = d.value?.contains(p), _ = u.value?.contains(p);
69
- Q || _ || l();
70
- }, B = a(() => e.placement.trim().replace(/ /g, "-").replace(/[A-Z]+(?![a-z])|[A-Z]/g, (t, p) => (p ? "-" : "") + t.toLowerCase()).replace(/--+/g, "-").replace(/-+$/g, "")), { floatingStyles: M, placement: f, update: q } = ge(r, u, {
71
- ...B.value === "auto" && { middleware: [Ce()] },
72
- // when placement is auto just use autoPlacement middleware
73
- ...B.value !== "auto" && {
74
- placement: B.value,
75
- middleware: [
76
- he(),
77
- // Shifts the floating element to keep it in view.
78
- ye()
79
- // Changes the placement of the floating element to keep it in view.
80
- ]
81
- },
82
- strategy: "fixed",
83
- transform: !1
84
- }), y = a(() => I(e.offset)), X = a(() => f.value.includes("top") ? {
85
- marginBottom: y.value
86
- } : f.value.includes("bottom") ? {
87
- marginTop: y.value
88
- } : f.value.includes("right") ? {
89
- marginLeft: y.value
90
- } : f.value.includes("left") ? {
91
- marginRight: y.value
92
- } : {}), Y = a(() => ({
93
- ...M.value,
94
- zIndex: K.value
95
- })), G = a(() => ({
96
- ...X.value,
97
- width: I(e.width),
98
- maxWidth: I(e.maxWidth),
99
- maxHeight: I(e.maxHeight)
100
- })), J = a(() => [e.popoverClasses, { "hide-caret": e.hideCaret }]);
101
- return V({
102
- hidePopover: l,
103
- showPopover: h
104
- }), ae(() => {
105
- if (g(window, "mousedown", j, { capture: !0 }), r.value) {
106
- const t = r.value.querySelector('button[data-dropdown-trigger="true"]') || r.value;
107
- t.hasAttribute("aria-controls") || t.setAttribute("aria-controls", P);
108
- }
109
- e.trigger === "hover" && [u.value, r.value].forEach((t) => {
110
- t && (g(t, "mouseenter", h), g(t, "focusin", h), g(t, "mouseleave", l), g(t, "focusout", l));
111
- });
112
- }), ie(() => {
113
- o.value && clearTimeout(o.value), s.value && clearTimeout(s.value), z();
114
- }), re(i, (t) => {
115
- T(t ? "open" : "close");
116
- }), (t, p) => (m(), ne(ue(e.tag), {
117
- class: "k-popover",
118
- onKeydown: se(ce(l, ["stop"]), ["esc"])
119
- }, {
120
- default: C(() => [
121
- b("div", {
122
- ref_key: "triggerWrapperElement",
123
- ref: d,
124
- class: "popover-trigger-wrapper",
125
- onClick: L
126
- }, [
127
- k(t.$slots, "default", {}, () => [
128
- w(ke, {
129
- "aria-controls": n(P),
130
- "data-testid": "popover-button"
131
- }, {
132
- default: C(() => [
133
- O(U(e.buttonText), 1)
134
- ]),
135
- _: 1
136
- }, 8, ["aria-controls"])
137
- ], !0)
138
- ], 512),
139
- w(Ie, {
140
- target: e.target,
141
- "use-teleport": !!e.target
142
- }, {
143
- default: C(() => [
144
- w(ve, { name: "kongponents-fade-transition" }, {
145
- default: C(() => [
146
- de(b("div", fe(e.popoverElementAttributes, {
147
- id: n(P),
148
- ref_key: "popoverElement",
149
- ref: u,
150
- "aria-labelledby": v.title || e.title ? n(D) : void 0,
151
- class: ["popover", J.value],
152
- role: "dialog",
153
- style: Y.value,
154
- "x-placement": n(f),
155
- onClick: R
156
- }), [
157
- b("div", {
158
- class: "popover-container",
159
- style: pe(G.value)
160
- }, [
161
- e.hideCloseIcon ? E("", !0) : (m(), x("button", {
162
- key: 0,
163
- ref: "popoverCloseButton",
164
- "aria-label": "Close popover",
165
- class: "popover-close-button",
166
- tabindex: i.value ? 0 : -1,
167
- type: "button",
168
- onClick: l
169
- }, [
170
- w(n(we), {
171
- class: "popover-close-icon",
172
- decorative: "",
173
- size: `var(--kui-icon-size-30, ${n(Ee)})`
174
- }, null, 8, ["size"])
175
- ], 8, Pe)),
176
- v.title || e.title ? (m(), x("div", Se, [
177
- v.title || e.title ? (m(), x("div", {
178
- key: 0,
179
- id: n(D),
180
- class: $(["popover-title", { "close-icon-spacing": !e.hideCloseIcon }])
181
- }, [
182
- k(t.$slots, "title", {}, () => [
183
- O(U(e.title), 1)
184
- ], !0)
185
- ], 10, ze)) : E("", !0)
186
- ])) : E("", !0),
187
- b("div", {
188
- class: $(["popover-content", { "close-icon-spacing": !e.hideCloseIcon && !(v.title || e.title) }])
189
- }, [
190
- k(t.$slots, "content", {}, void 0, !0)
191
- ], 2),
192
- v.footer ? (m(), x("div", Be, [
193
- k(t.$slots, "footer", {}, void 0, !0)
194
- ])) : E("", !0)
195
- ], 4)
196
- ], 16, Te), [
197
- [me, i.value]
198
- ])
199
- ]),
200
- _: 3
201
- })
202
- ]),
203
- _: 3
204
- }, 8, ["target", "use-teleport"])
205
- ]),
206
- _: 3
207
- }, 40, ["onKeydown"]));
208
- }
209
- });
210
- export {
211
- Ze as default
212
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=e.defineComponent({__name:"KSkeletonBox",props:{width:{default:"1"},height:{default:"1"}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["skeleton-box",{[`width-${t.width}`]:!0,[`height-${t.height}`]:!0}])},null,2))}});exports.default=l;
@@ -1,16 +0,0 @@
1
- import { defineComponent as t, openBlock as n, createElementBlock as o, normalizeClass as l } from "vue";
2
- const h = /* @__PURE__ */ t({
3
- __name: "KSkeletonBox",
4
- props: {
5
- width: { default: "1" },
6
- height: { default: "1" }
7
- },
8
- setup(e) {
9
- return (a, i) => (n(), o("div", {
10
- class: l(["skeleton-box", { [`width-${e.width}`]: !0, [`height-${e.height}`]: !0 }])
11
- }, null, 2));
12
- }
13
- });
14
- export {
15
- h as default
16
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@kong/icons"),l=require("./kongponents182.cjs"),n=require("./kongponents179.cjs"),a=require("./kongponents200.cjs"),c=["href"],u=e.defineComponent({__name:"KExternalLink",props:{href:{},hideIcon:{type:Boolean}},setup(r){e.watch(()=>r.href,t=>{n.isValidUrl(t)||a.warnInvalidProp("href",`\`href\` should be a valid URL, but got "${t}".`)},{immediate:!0});const o=e.computed(()=>!!n.isValidUrl(r.href));return(t,s)=>o.value?(e.openBlock(),e.createElementBlock("a",{key:0,class:"k-external-link",href:r.href,rel:"noopener",target:"_blank"},[e.renderSlot(t.$slots,"default",{},void 0,!0),r.hideIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(i.ExternalLinkIcon),{key:0,decorative:"",size:`var(--kui-icon-size-30, ${e.unref(l.KUI_ICON_SIZE_30)})`},null,8,["size"]))],8,c)):e.createCommentVNode("",!0)}});exports.default=u;