@kong/kongponents 9.49.9 → 9.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (805) hide show
  1. package/dist/kongponents.css +1 -1
  2. package/dist/kongponents.es105.js +5 -5
  3. package/dist/kongponents.es107.js +3 -3
  4. package/dist/kongponents.es109.js +4 -4
  5. package/dist/kongponents.es113.js +2 -2
  6. package/dist/kongponents.es115.js +4 -4
  7. package/dist/kongponents.es117.js +2 -2
  8. package/dist/kongponents.es119.js +393 -317
  9. package/dist/kongponents.es122.js +5 -5
  10. package/dist/kongponents.es124.js +6 -6
  11. package/dist/kongponents.es128.js +2 -2
  12. package/dist/kongponents.es130.js +1 -1
  13. package/dist/kongponents.es132.js +259 -220
  14. package/dist/kongponents.es139.js +3 -3
  15. package/dist/kongponents.es141.js +1 -1
  16. package/dist/kongponents.es143.js +6 -6
  17. package/dist/kongponents.es147.js +2 -2
  18. package/dist/kongponents.es149.js +6 -6
  19. package/dist/kongponents.es154.js +2 -2
  20. package/dist/kongponents.es156.js +5 -5
  21. package/dist/kongponents.es158.js +3 -3
  22. package/dist/kongponents.es160.js +12 -12
  23. package/dist/kongponents.es171.js +107 -4
  24. package/dist/kongponents.es172.js +18 -119
  25. package/dist/kongponents.es173.js +119 -18
  26. package/dist/kongponents.es174.js +116 -111
  27. package/dist/kongponents.es175.js +1 -1
  28. package/dist/kongponents.es176.js +115 -13
  29. package/dist/kongponents.es177.js +115 -162
  30. package/dist/kongponents.es178.js +116 -393
  31. package/dist/kongponents.es179.js +18 -5
  32. package/dist/kongponents.es180.js +16 -16
  33. package/dist/kongponents.es181.js +23 -118
  34. package/dist/kongponents.es182.js +5 -119
  35. package/dist/kongponents.es183.js +5 -119
  36. package/dist/kongponents.es184.js +102 -5
  37. package/dist/kongponents.es185.js +166 -5
  38. package/dist/kongponents.es186.js +119 -18
  39. package/dist/kongponents.es187.js +113 -9
  40. package/dist/kongponents.es188.js +13 -115
  41. package/dist/kongponents.es189.js +393 -116
  42. package/dist/kongponents.es190.js +313 -115
  43. package/dist/kongponents.es191.js +38 -118
  44. package/dist/kongponents.es192.js +97 -107
  45. package/dist/kongponents.es193.js +32 -32
  46. package/dist/kongponents.es194.js +14 -14
  47. package/dist/kongponents.es195.js +119 -5
  48. package/dist/kongponents.es196.js +14 -14
  49. package/dist/kongponents.es197.js +20 -19
  50. package/dist/kongponents.es198.js +18 -18
  51. package/dist/kongponents.es199.js +118 -23
  52. package/dist/kongponents.es20.js +8 -8
  53. package/dist/kongponents.es200.js +50 -117
  54. package/dist/kongponents.es201.js +5 -119
  55. package/dist/kongponents.es202.js +5 -317
  56. package/dist/kongponents.es203.js +5 -39
  57. package/dist/kongponents.es204.js +5 -98
  58. package/dist/kongponents.es205.js +5 -119
  59. package/dist/kongponents.es206.js +5 -119
  60. package/dist/kongponents.es207.js +21 -21
  61. package/dist/kongponents.es208.js +21 -22
  62. package/dist/kongponents.es209.js +15 -15
  63. package/dist/kongponents.es210.js +5 -119
  64. package/dist/kongponents.es211.js +5 -52
  65. package/dist/kongponents.es212.js +121 -0
  66. package/dist/kongponents.es213.js +32 -32
  67. package/dist/kongponents.es214.js +119 -5
  68. package/dist/kongponents.es215.js +119 -8
  69. package/dist/kongponents.es216.js +5 -60
  70. package/dist/kongponents.es217.js +5 -119
  71. package/dist/kongponents.es218.js +10 -119
  72. package/dist/kongponents.es219.js +119 -5
  73. package/dist/kongponents.es22.js +2 -2
  74. package/dist/kongponents.es220.js +119 -5
  75. package/dist/kongponents.es221.js +2 -2
  76. package/dist/kongponents.es223.js +119 -5
  77. package/dist/kongponents.es224.js +4 -4
  78. package/dist/kongponents.es225.js +8 -102
  79. package/dist/kongponents.es226.js +60 -5
  80. package/dist/kongponents.es227.js +6 -4
  81. package/dist/kongponents.es228.js +185 -115
  82. package/dist/kongponents.es229.js +15 -7
  83. package/dist/kongponents.es230.js +5 -189
  84. package/dist/kongponents.es231.js +119 -5
  85. package/dist/kongponents.es232.js +119 -5
  86. package/dist/kongponents.es233.js +119 -5
  87. package/dist/kongponents.es234.js +36 -36
  88. package/dist/kongponents.es235.js +5 -119
  89. package/dist/kongponents.es236.js +5 -119
  90. package/dist/kongponents.es237.js +1 -1
  91. package/dist/kongponents.es238.js +119 -15
  92. package/dist/kongponents.es24.js +1 -1
  93. package/dist/kongponents.es240.js +39 -22
  94. package/dist/kongponents.es241.js +312 -126
  95. package/dist/kongponents.es242.js +612 -2
  96. package/dist/kongponents.es243.js +23 -180
  97. package/dist/kongponents.es246.js +50 -0
  98. package/dist/kongponents.es248.js +32 -318
  99. package/dist/kongponents.es252.js +41 -180
  100. package/dist/kongponents.es254.js +39 -610
  101. package/dist/kongponents.es256.js +136 -0
  102. package/dist/kongponents.es257.js +2 -48
  103. package/dist/kongponents.es258.js +91 -0
  104. package/dist/kongponents.es26.js +4 -4
  105. package/dist/kongponents.es260.js +47 -0
  106. package/dist/kongponents.es262.js +54 -0
  107. package/dist/kongponents.es265.js +2 -41
  108. package/dist/{kongponents.es274.js → kongponents.es266.js} +1 -1
  109. package/dist/kongponents.es267.js +114 -90
  110. package/dist/{kongponents.es276.js → kongponents.es268.js} +1 -1
  111. package/dist/kongponents.es269.js +180 -41
  112. package/dist/kongponents.es271.js +6 -52
  113. package/dist/kongponents.es273.js +180 -2
  114. package/dist/kongponents.es275.js +58 -113
  115. package/dist/kongponents.es279.js +7 -0
  116. package/dist/kongponents.es280.js +5 -5
  117. package/dist/kongponents.es281.js +20 -5
  118. package/dist/kongponents.es282.js +3 -19
  119. package/dist/kongponents.es283.js +4 -3
  120. package/dist/kongponents.es284.js +5 -4
  121. package/dist/kongponents.es285.js +8 -5
  122. package/dist/kongponents.es286.js +5 -8
  123. package/dist/kongponents.es287.js +3 -5
  124. package/dist/kongponents.es288.js +16 -3
  125. package/dist/kongponents.es289.js +3 -16
  126. package/dist/kongponents.es290.js +8 -4
  127. package/dist/kongponents.es291.js +6 -7
  128. package/dist/kongponents.es292.js +3 -6
  129. package/dist/kongponents.es293.js +2 -4
  130. package/dist/kongponents.es294.js +6 -2
  131. package/dist/kongponents.es295.js +9 -5
  132. package/dist/kongponents.es296.js +4 -9
  133. package/dist/kongponents.es297.js +4 -5
  134. package/dist/kongponents.es298.js +3 -4
  135. package/dist/kongponents.es299.js +4 -3
  136. package/dist/kongponents.es300.js +7 -3
  137. package/dist/kongponents.es301.js +6 -7
  138. package/dist/kongponents.es302.js +5 -7
  139. package/dist/kongponents.es303.js +10 -5
  140. package/dist/kongponents.es304.js +5 -9
  141. package/dist/kongponents.es305.js +9 -6
  142. package/dist/kongponents.es306.js +7 -9
  143. package/dist/kongponents.es307.js +17 -6
  144. package/dist/kongponents.es308.js +11 -17
  145. package/dist/kongponents.es309.js +6 -11
  146. package/dist/kongponents.es310.js +12 -6
  147. package/dist/kongponents.es311.js +9 -12
  148. package/dist/kongponents.es312.js +5 -9
  149. package/dist/kongponents.es313.js +8 -5
  150. package/dist/kongponents.es314.js +15 -8
  151. package/dist/kongponents.es315.js +17 -15
  152. package/dist/kongponents.es316.js +5 -17
  153. package/dist/kongponents.es317.js +10 -5
  154. package/dist/kongponents.es318.js +6 -10
  155. package/dist/kongponents.es319.js +6 -5
  156. package/dist/kongponents.es320.js +5 -7
  157. package/dist/kongponents.es321.js +5 -4
  158. package/dist/kongponents.es322.js +9 -6
  159. package/dist/kongponents.es323.js +7 -9
  160. package/dist/kongponents.es324.js +3 -7
  161. package/dist/kongponents.es325.js +5 -3
  162. package/dist/kongponents.es326.js +15 -5
  163. package/dist/kongponents.es327.js +56 -16
  164. package/dist/kongponents.es329.js +11 -0
  165. package/dist/kongponents.es330.js +7 -41
  166. package/dist/kongponents.es331.js +10 -0
  167. package/dist/kongponents.es332.js +4 -8
  168. package/dist/kongponents.es333.js +9 -6
  169. package/dist/kongponents.es334.js +7 -6
  170. package/dist/kongponents.es335.js +636 -4
  171. package/dist/kongponents.es336.js +74 -10
  172. package/dist/kongponents.es337.js +4 -8
  173. package/dist/kongponents.es338.js +17 -634
  174. package/dist/kongponents.es339.js +5 -74
  175. package/dist/kongponents.es340.js +18 -5
  176. package/dist/kongponents.es341.js +7 -19
  177. package/dist/kongponents.es342.js +5 -4
  178. package/dist/kongponents.es343.js +9 -18
  179. package/dist/kongponents.es344.js +6 -6
  180. package/dist/kongponents.es345.js +4 -5
  181. package/dist/kongponents.es346.js +20 -8
  182. package/dist/kongponents.es347.js +5 -8
  183. package/dist/kongponents.es348.js +110 -4
  184. package/dist/kongponents.es349.js +171 -20
  185. package/dist/kongponents.es350.js +5 -5
  186. package/dist/kongponents.es351.js +6 -110
  187. package/dist/kongponents.es352.js +5 -172
  188. package/dist/kongponents.es353.js +4 -4
  189. package/dist/kongponents.es354.js +69 -6
  190. package/dist/kongponents.es355.js +2 -5
  191. package/dist/kongponents.es356.js +85 -5
  192. package/dist/kongponents.es358.js +41 -2
  193. package/dist/kongponents.es360.js +2 -6
  194. package/dist/kongponents.es361.js +1469 -5686
  195. package/dist/kongponents.es362.js +5 -2
  196. package/dist/kongponents.es363.js +5773 -7
  197. package/dist/kongponents.es364.js +6 -6
  198. package/dist/kongponents.es365.js +25 -9
  199. package/dist/kongponents.es366.js +95 -6
  200. package/dist/kongponents.es368.js +7 -14
  201. package/dist/kongponents.es369.js +6 -3
  202. package/dist/kongponents.es370.js +8 -7
  203. package/dist/kongponents.es371.js +6 -3
  204. package/dist/kongponents.es372.js +7 -8
  205. package/dist/kongponents.es373.js +14 -7
  206. package/dist/kongponents.es374.js +3 -6
  207. package/dist/kongponents.es375.js +8 -2
  208. package/dist/kongponents.es376.js +3 -13
  209. package/dist/kongponents.es377.js +10 -4
  210. package/dist/kongponents.es378.js +8 -3
  211. package/dist/kongponents.es379.js +6 -26
  212. package/dist/kongponents.es380.js +2 -4
  213. package/dist/kongponents.es381.js +12 -3
  214. package/dist/kongponents.es382.js +5 -4
  215. package/dist/kongponents.es383.js +3 -4
  216. package/dist/kongponents.es384.js +26 -4
  217. package/dist/kongponents.es385.js +3 -14
  218. package/dist/kongponents.es386.js +4 -6
  219. package/dist/kongponents.es387.js +4 -30
  220. package/dist/kongponents.es388.js +4 -27
  221. package/dist/kongponents.es389.js +4 -16
  222. package/dist/kongponents.es390.js +13 -8
  223. package/dist/kongponents.es391.js +5 -4
  224. package/dist/kongponents.es392.js +29 -13
  225. package/dist/kongponents.es393.js +26 -8
  226. package/dist/kongponents.es394.js +16 -3
  227. package/dist/kongponents.es395.js +9 -5
  228. package/dist/kongponents.es396.js +4 -5
  229. package/dist/kongponents.es397.js +13 -7
  230. package/dist/kongponents.es398.js +8 -5
  231. package/dist/kongponents.es399.js +2 -10
  232. package/dist/kongponents.es400.js +5 -5
  233. package/dist/kongponents.es401.js +5 -4
  234. package/dist/kongponents.es402.js +7 -4
  235. package/dist/kongponents.es403.js +5 -5
  236. package/dist/kongponents.es404.js +11 -8
  237. package/dist/kongponents.es405.js +5 -6
  238. package/dist/kongponents.es406.js +5 -10
  239. package/dist/kongponents.es407.js +4 -6
  240. package/dist/kongponents.es408.js +5 -21
  241. package/dist/kongponents.es409.js +8 -7
  242. package/dist/kongponents.es410.js +6 -6
  243. package/dist/kongponents.es411.js +10 -7
  244. package/dist/kongponents.es412.js +6 -8
  245. package/dist/kongponents.es413.js +22 -25
  246. package/dist/kongponents.es414.js +6 -1556
  247. package/dist/kongponents.es415.js +7 -5
  248. package/dist/kongponents.es416.js +6 -10
  249. package/dist/kongponents.es417.js +8 -10
  250. package/dist/kongponents.es418.js +10 -12
  251. package/dist/kongponents.es419.js +10 -10
  252. package/dist/kongponents.es420.js +12 -18
  253. package/dist/kongponents.es421.js +10 -5
  254. package/dist/kongponents.es422.js +19 -55
  255. package/dist/kongponents.es423.js +6 -2
  256. package/dist/kongponents.es424.js +53 -93
  257. package/dist/kongponents.es425.js +4 -0
  258. package/dist/kongponents.es429.js +2 -2
  259. package/dist/kongponents.es430.js +2 -2
  260. package/dist/kongponents.es431.js +2 -2
  261. package/dist/kongponents.es432.js +8 -8
  262. package/dist/kongponents.es433.js +1 -1
  263. package/dist/kongponents.es435.js +1 -1
  264. package/dist/kongponents.es437.js +1 -1
  265. package/dist/kongponents.es438.js +1 -1
  266. package/dist/kongponents.es439.js +2 -2
  267. package/dist/kongponents.es443.js +1 -1
  268. package/dist/kongponents.es450.js +2 -2
  269. package/dist/kongponents.es451.js +5 -5
  270. package/dist/kongponents.es456.js +2 -2
  271. package/dist/kongponents.es457.js +2 -2
  272. package/dist/kongponents.es458.js +2 -2
  273. package/dist/kongponents.es459.js +1 -1
  274. package/dist/kongponents.es463.js +1 -1
  275. package/dist/kongponents.es464.js +5 -5
  276. package/dist/kongponents.es466.js +1 -1
  277. package/dist/kongponents.es467.js +5 -5
  278. package/dist/kongponents.es468.js +1 -1
  279. package/dist/kongponents.es469.js +2 -2
  280. package/dist/kongponents.es470.js +2 -2
  281. package/dist/kongponents.es471.js +4 -4
  282. package/dist/kongponents.es472.js +4 -4
  283. package/dist/kongponents.es479.js +2 -2
  284. package/dist/kongponents.es480.js +2 -19
  285. package/dist/kongponents.es481.js +19 -2
  286. package/dist/kongponents.es482.js +2 -22
  287. package/dist/kongponents.es483.js +22 -2
  288. package/dist/kongponents.es484.js +2 -16
  289. package/dist/kongponents.es485.js +16 -2
  290. package/dist/kongponents.es486.js +2 -23
  291. package/dist/kongponents.es487.js +18 -18
  292. package/dist/kongponents.es488.js +18 -21
  293. package/dist/kongponents.es489.js +20 -17
  294. package/dist/kongponents.es490.js +20 -29
  295. package/dist/kongponents.es491.js +29 -13
  296. package/dist/kongponents.es492.js +14 -65
  297. package/dist/kongponents.es493.js +67 -2
  298. package/dist/kongponents.es494.js +2 -2
  299. package/dist/kongponents.es495.js +2 -2
  300. package/dist/kongponents.es496.js +2 -2
  301. package/dist/kongponents.es497.js +2 -2
  302. package/dist/kongponents.es498.js +2 -30
  303. package/dist/kongponents.es499.js +30 -2
  304. package/dist/kongponents.es501.js +29 -4
  305. package/dist/kongponents.es502.js +119 -3
  306. package/dist/kongponents.es503.js +29 -9
  307. package/dist/kongponents.es504.js +10 -5
  308. package/dist/kongponents.es505.js +13 -4
  309. package/dist/kongponents.es506.js +32 -5
  310. package/dist/kongponents.es507.js +29 -3
  311. package/dist/kongponents.es508.js +10 -4
  312. package/dist/kongponents.es509.js +12 -4
  313. package/dist/kongponents.es510.js +17 -10
  314. package/dist/kongponents.es511.js +23 -6
  315. package/dist/kongponents.es512.js +16 -6
  316. package/dist/kongponents.es513.js +96 -4
  317. package/dist/kongponents.es514.js +45 -29
  318. package/dist/kongponents.es515.js +27 -118
  319. package/dist/kongponents.es516.js +70 -28
  320. package/dist/kongponents.es517.js +50 -9
  321. package/dist/kongponents.es518.js +34 -13
  322. package/dist/kongponents.es519.js +38 -29
  323. package/dist/kongponents.es520.js +3 -28
  324. package/dist/kongponents.es521.js +9 -10
  325. package/dist/kongponents.es522.js +3 -10
  326. package/dist/kongponents.es523.js +4 -17
  327. package/dist/kongponents.es524.js +5 -23
  328. package/dist/kongponents.es525.js +3 -16
  329. package/dist/kongponents.es526.js +3 -97
  330. package/dist/kongponents.es527.js +4 -44
  331. package/dist/kongponents.es528.js +4 -28
  332. package/dist/kongponents.es529.js +4 -71
  333. package/dist/kongponents.es53.js +2 -2
  334. package/dist/kongponents.es530.js +9 -50
  335. package/dist/kongponents.es531.js +6 -34
  336. package/dist/kongponents.es532.js +6 -41
  337. package/dist/kongponents.es543.js +1 -1
  338. package/dist/kongponents.es547.js +1 -1
  339. package/dist/kongponents.es557.js +2 -6
  340. package/dist/kongponents.es558.js +4 -3
  341. package/dist/kongponents.es559.js +15 -3
  342. package/dist/kongponents.es560.js +3 -3
  343. package/dist/kongponents.es561.js +9 -15
  344. package/dist/kongponents.es562.js +4 -3
  345. package/dist/kongponents.es563.js +5 -9
  346. package/dist/kongponents.es564.js +9 -4
  347. package/dist/kongponents.es565.js +7 -5
  348. package/dist/kongponents.es566.js +4 -9
  349. package/dist/kongponents.es567.js +3 -7
  350. package/dist/kongponents.es568.js +4 -5
  351. package/dist/kongponents.es569.js +11 -3
  352. package/dist/kongponents.es570.js +10 -4
  353. package/dist/kongponents.es571.js +30 -11
  354. package/dist/kongponents.es572.js +23 -8
  355. package/dist/kongponents.es573.js +50 -29
  356. package/dist/kongponents.es574.js +3 -24
  357. package/dist/kongponents.es575.js +8 -51
  358. package/dist/kongponents.es576.js +20 -3
  359. package/dist/kongponents.es577.js +7 -8
  360. package/dist/kongponents.es578.js +6 -20
  361. package/dist/kongponents.es579.js +5 -7
  362. package/dist/kongponents.es580.js +7 -6
  363. package/dist/kongponents.es581.js +15 -5
  364. package/dist/kongponents.es582.js +4 -7
  365. package/dist/kongponents.es583.js +6 -15
  366. package/dist/kongponents.es584.js +34 -4
  367. package/dist/kongponents.es585.js +8 -6
  368. package/dist/kongponents.es586.js +7 -34
  369. package/dist/kongponents.es587.js +3 -9
  370. package/dist/kongponents.es59.js +1 -1
  371. package/dist/kongponents.es597.js +1 -1
  372. package/dist/kongponents.es599.js +1 -1
  373. package/dist/kongponents.es600.js +1 -1
  374. package/dist/kongponents.es601.js +1 -1
  375. package/dist/kongponents.es602.js +16 -6
  376. package/dist/kongponents.es603.js +13 -5
  377. package/dist/kongponents.es604.js +6 -16
  378. package/dist/kongponents.es605.js +5 -13
  379. package/dist/kongponents.es607.js +2 -2
  380. package/dist/kongponents.es608.js +2 -2
  381. package/dist/kongponents.es609.js +2 -2
  382. package/dist/kongponents.es72.js +6 -6
  383. package/dist/kongponents.es75.js +1 -1
  384. package/dist/kongponents.es77.js +1 -1
  385. package/dist/kongponents.es83.js +1 -1
  386. package/dist/kongponents.es87.js +3 -3
  387. package/dist/kongponents.es89.js +14 -14
  388. package/dist/kongponents.es94.js +2 -2
  389. package/dist/kongponents.es96.js +6 -6
  390. package/dist/kongponents.es99.js +2 -2
  391. package/dist/kongponents.umd.js +17 -17
  392. package/dist/kongponents105.cjs +1 -1
  393. package/dist/kongponents107.cjs +1 -1
  394. package/dist/kongponents109.cjs +1 -1
  395. package/dist/kongponents113.cjs +1 -1
  396. package/dist/kongponents115.cjs +1 -1
  397. package/dist/kongponents117.cjs +1 -1
  398. package/dist/kongponents119.cjs +1 -1
  399. package/dist/kongponents122.cjs +1 -1
  400. package/dist/kongponents124.cjs +1 -1
  401. package/dist/kongponents128.cjs +1 -1
  402. package/dist/kongponents130.cjs +1 -1
  403. package/dist/kongponents132.cjs +1 -1
  404. package/dist/kongponents139.cjs +1 -1
  405. package/dist/kongponents141.cjs +1 -1
  406. package/dist/kongponents143.cjs +1 -1
  407. package/dist/kongponents147.cjs +1 -1
  408. package/dist/kongponents149.cjs +1 -1
  409. package/dist/kongponents154.cjs +1 -1
  410. package/dist/kongponents156.cjs +1 -1
  411. package/dist/kongponents158.cjs +1 -1
  412. package/dist/kongponents160.cjs +1 -1
  413. package/dist/kongponents171.cjs +1 -1
  414. package/dist/kongponents172.cjs +1 -1
  415. package/dist/kongponents173.cjs +1 -1
  416. package/dist/kongponents174.cjs +1 -1
  417. package/dist/kongponents175.cjs +1 -1
  418. package/dist/kongponents176.cjs +1 -1
  419. package/dist/kongponents177.cjs +1 -1
  420. package/dist/kongponents178.cjs +1 -1
  421. package/dist/kongponents179.cjs +1 -1
  422. package/dist/kongponents180.cjs +1 -1
  423. package/dist/kongponents181.cjs +1 -1
  424. package/dist/kongponents182.cjs +1 -1
  425. package/dist/kongponents183.cjs +1 -1
  426. package/dist/kongponents184.cjs +5 -1
  427. package/dist/kongponents185.cjs +1 -1
  428. package/dist/kongponents186.cjs +1 -1
  429. package/dist/kongponents187.cjs +1 -1
  430. package/dist/kongponents188.cjs +1 -1
  431. package/dist/kongponents189.cjs +1 -1
  432. package/dist/kongponents190.cjs +1 -1
  433. package/dist/kongponents191.cjs +1 -1
  434. package/dist/kongponents192.cjs +2 -1
  435. package/dist/kongponents193.cjs +1 -1
  436. package/dist/kongponents194.cjs +1 -1
  437. package/dist/kongponents195.cjs +1 -1
  438. package/dist/kongponents196.cjs +1 -1
  439. package/dist/kongponents197.cjs +2 -1
  440. package/dist/kongponents198.cjs +1 -1
  441. package/dist/kongponents199.cjs +1 -1
  442. package/dist/kongponents20.cjs +1 -1
  443. package/dist/kongponents200.cjs +1 -1
  444. package/dist/kongponents201.cjs +1 -1
  445. package/dist/kongponents202.cjs +1 -1
  446. package/dist/kongponents203.cjs +1 -1
  447. package/dist/kongponents204.cjs +1 -2
  448. package/dist/kongponents205.cjs +1 -1
  449. package/dist/kongponents206.cjs +1 -1
  450. package/dist/kongponents207.cjs +1 -1
  451. package/dist/kongponents208.cjs +1 -2
  452. package/dist/kongponents209.cjs +1 -1
  453. package/dist/kongponents210.cjs +1 -1
  454. package/dist/kongponents211.cjs +1 -1
  455. package/dist/kongponents212.cjs +1 -0
  456. package/dist/kongponents213.cjs +1 -1
  457. package/dist/kongponents214.cjs +1 -1
  458. package/dist/kongponents215.cjs +1 -1
  459. package/dist/kongponents216.cjs +1 -1
  460. package/dist/kongponents217.cjs +1 -1
  461. package/dist/kongponents218.cjs +1 -1
  462. package/dist/kongponents219.cjs +1 -1
  463. package/dist/kongponents22.cjs +1 -1
  464. package/dist/kongponents220.cjs +1 -1
  465. package/dist/kongponents221.cjs +1 -1
  466. package/dist/kongponents223.cjs +1 -1
  467. package/dist/kongponents224.cjs +1 -1
  468. package/dist/kongponents225.cjs +1 -5
  469. package/dist/kongponents226.cjs +1 -1
  470. package/dist/kongponents227.cjs +1 -1
  471. package/dist/kongponents228.cjs +1 -1
  472. package/dist/kongponents229.cjs +1 -1
  473. package/dist/kongponents230.cjs +1 -1
  474. package/dist/kongponents231.cjs +1 -1
  475. package/dist/kongponents232.cjs +1 -1
  476. package/dist/kongponents233.cjs +1 -1
  477. package/dist/kongponents234.cjs +1 -1
  478. package/dist/kongponents235.cjs +1 -1
  479. package/dist/kongponents236.cjs +1 -1
  480. package/dist/kongponents237.cjs +1 -1
  481. package/dist/kongponents238.cjs +1 -1
  482. package/dist/kongponents24.cjs +1 -1
  483. package/dist/kongponents240.cjs +1 -1
  484. package/dist/kongponents241.cjs +1 -1
  485. package/dist/kongponents242.cjs +6 -1
  486. package/dist/kongponents243.cjs +1 -1
  487. package/dist/kongponents246.cjs +1 -0
  488. package/dist/kongponents248.cjs +1 -1
  489. package/dist/kongponents252.cjs +1 -1
  490. package/dist/kongponents254.cjs +1 -6
  491. package/dist/kongponents256.cjs +1 -0
  492. package/dist/kongponents257.cjs +1 -1
  493. package/dist/kongponents258.cjs +1 -0
  494. package/dist/kongponents26.cjs +1 -1
  495. package/dist/kongponents260.cjs +1 -0
  496. package/dist/kongponents262.cjs +1 -0
  497. package/dist/kongponents265.cjs +1 -1
  498. package/dist/{kongponents274.cjs → kongponents266.cjs} +1 -1
  499. package/dist/kongponents267.cjs +1 -1
  500. package/dist/{kongponents276.cjs → kongponents268.cjs} +1 -1
  501. package/dist/kongponents269.cjs +1 -1
  502. package/dist/kongponents271.cjs +1 -1
  503. package/dist/kongponents273.cjs +1 -1
  504. package/dist/kongponents275.cjs +1 -1
  505. package/dist/kongponents279.cjs +1 -0
  506. package/dist/kongponents280.cjs +1 -1
  507. package/dist/kongponents281.cjs +1 -1
  508. package/dist/kongponents282.cjs +1 -1
  509. package/dist/kongponents283.cjs +1 -1
  510. package/dist/kongponents284.cjs +1 -1
  511. package/dist/kongponents285.cjs +1 -1
  512. package/dist/kongponents286.cjs +1 -1
  513. package/dist/kongponents287.cjs +1 -1
  514. package/dist/kongponents288.cjs +1 -1
  515. package/dist/kongponents289.cjs +1 -1
  516. package/dist/kongponents290.cjs +1 -1
  517. package/dist/kongponents291.cjs +1 -1
  518. package/dist/kongponents292.cjs +1 -1
  519. package/dist/kongponents293.cjs +1 -1
  520. package/dist/kongponents294.cjs +1 -1
  521. package/dist/kongponents295.cjs +1 -1
  522. package/dist/kongponents296.cjs +1 -1
  523. package/dist/kongponents297.cjs +1 -1
  524. package/dist/kongponents298.cjs +1 -1
  525. package/dist/kongponents299.cjs +1 -1
  526. package/dist/kongponents300.cjs +1 -1
  527. package/dist/kongponents301.cjs +1 -1
  528. package/dist/kongponents302.cjs +1 -1
  529. package/dist/kongponents303.cjs +1 -1
  530. package/dist/kongponents304.cjs +1 -1
  531. package/dist/kongponents305.cjs +1 -1
  532. package/dist/kongponents306.cjs +1 -1
  533. package/dist/kongponents307.cjs +1 -1
  534. package/dist/kongponents308.cjs +1 -1
  535. package/dist/kongponents309.cjs +1 -1
  536. package/dist/kongponents310.cjs +1 -1
  537. package/dist/kongponents311.cjs +1 -1
  538. package/dist/kongponents312.cjs +1 -1
  539. package/dist/kongponents313.cjs +1 -1
  540. package/dist/kongponents314.cjs +1 -1
  541. package/dist/kongponents315.cjs +1 -1
  542. package/dist/kongponents316.cjs +1 -1
  543. package/dist/kongponents317.cjs +1 -1
  544. package/dist/kongponents318.cjs +1 -1
  545. package/dist/kongponents319.cjs +1 -1
  546. package/dist/kongponents320.cjs +1 -1
  547. package/dist/kongponents321.cjs +1 -1
  548. package/dist/kongponents322.cjs +1 -1
  549. package/dist/kongponents323.cjs +1 -1
  550. package/dist/kongponents324.cjs +1 -1
  551. package/dist/kongponents325.cjs +1 -1
  552. package/dist/kongponents326.cjs +1 -1
  553. package/dist/kongponents327.cjs +1 -1
  554. package/dist/kongponents329.cjs +1 -0
  555. package/dist/kongponents330.cjs +1 -1
  556. package/dist/kongponents331.cjs +1 -0
  557. package/dist/kongponents332.cjs +1 -1
  558. package/dist/kongponents333.cjs +1 -1
  559. package/dist/kongponents334.cjs +1 -1
  560. package/dist/kongponents335.cjs +1 -1
  561. package/dist/kongponents336.cjs +1 -1
  562. package/dist/kongponents337.cjs +1 -1
  563. package/dist/kongponents338.cjs +1 -1
  564. package/dist/kongponents339.cjs +1 -1
  565. package/dist/kongponents340.cjs +1 -1
  566. package/dist/kongponents341.cjs +1 -1
  567. package/dist/kongponents342.cjs +1 -1
  568. package/dist/kongponents343.cjs +1 -1
  569. package/dist/kongponents344.cjs +1 -1
  570. package/dist/kongponents345.cjs +1 -1
  571. package/dist/kongponents346.cjs +1 -1
  572. package/dist/kongponents347.cjs +1 -1
  573. package/dist/kongponents348.cjs +1 -1
  574. package/dist/kongponents349.cjs +1 -1
  575. package/dist/kongponents350.cjs +1 -1
  576. package/dist/kongponents351.cjs +1 -1
  577. package/dist/kongponents352.cjs +1 -1
  578. package/dist/kongponents353.cjs +1 -1
  579. package/dist/kongponents354.cjs +1 -1
  580. package/dist/kongponents355.cjs +1 -1
  581. package/dist/kongponents356.cjs +1 -1
  582. package/dist/kongponents358.cjs +1 -1
  583. package/dist/kongponents360.cjs +1 -1
  584. package/dist/kongponents361.cjs +10 -1
  585. package/dist/kongponents362.cjs +1 -1
  586. package/dist/kongponents363.cjs +1 -1
  587. package/dist/kongponents364.cjs +1 -1
  588. package/dist/kongponents365.cjs +1 -1
  589. package/dist/kongponents366.cjs +1 -1
  590. package/dist/kongponents368.cjs +1 -1
  591. package/dist/kongponents369.cjs +1 -1
  592. package/dist/kongponents370.cjs +1 -1
  593. package/dist/kongponents371.cjs +1 -1
  594. package/dist/kongponents372.cjs +1 -1
  595. package/dist/kongponents373.cjs +1 -1
  596. package/dist/kongponents374.cjs +1 -1
  597. package/dist/kongponents375.cjs +1 -1
  598. package/dist/kongponents376.cjs +1 -1
  599. package/dist/kongponents377.cjs +1 -1
  600. package/dist/kongponents378.cjs +1 -1
  601. package/dist/kongponents379.cjs +1 -1
  602. package/dist/kongponents380.cjs +1 -1
  603. package/dist/kongponents381.cjs +1 -1
  604. package/dist/kongponents382.cjs +1 -1
  605. package/dist/kongponents383.cjs +1 -1
  606. package/dist/kongponents384.cjs +1 -1
  607. package/dist/kongponents385.cjs +1 -1
  608. package/dist/kongponents386.cjs +1 -1
  609. package/dist/kongponents387.cjs +1 -1
  610. package/dist/kongponents388.cjs +1 -1
  611. package/dist/kongponents389.cjs +1 -1
  612. package/dist/kongponents390.cjs +1 -1
  613. package/dist/kongponents391.cjs +1 -1
  614. package/dist/kongponents392.cjs +1 -1
  615. package/dist/kongponents393.cjs +1 -1
  616. package/dist/kongponents394.cjs +1 -1
  617. package/dist/kongponents395.cjs +1 -1
  618. package/dist/kongponents396.cjs +1 -1
  619. package/dist/kongponents397.cjs +1 -1
  620. package/dist/kongponents398.cjs +1 -1
  621. package/dist/kongponents399.cjs +1 -1
  622. package/dist/kongponents400.cjs +1 -1
  623. package/dist/kongponents401.cjs +1 -1
  624. package/dist/kongponents402.cjs +1 -1
  625. package/dist/kongponents403.cjs +1 -1
  626. package/dist/kongponents404.cjs +1 -1
  627. package/dist/kongponents405.cjs +1 -1
  628. package/dist/kongponents406.cjs +1 -1
  629. package/dist/kongponents407.cjs +1 -1
  630. package/dist/kongponents408.cjs +1 -1
  631. package/dist/kongponents409.cjs +1 -1
  632. package/dist/kongponents410.cjs +1 -1
  633. package/dist/kongponents411.cjs +1 -1
  634. package/dist/kongponents412.cjs +1 -1
  635. package/dist/kongponents413.cjs +1 -1
  636. package/dist/kongponents414.cjs +1 -10
  637. package/dist/kongponents415.cjs +1 -1
  638. package/dist/kongponents416.cjs +1 -1
  639. package/dist/kongponents417.cjs +1 -1
  640. package/dist/kongponents418.cjs +1 -1
  641. package/dist/kongponents419.cjs +1 -1
  642. package/dist/kongponents420.cjs +1 -1
  643. package/dist/kongponents421.cjs +1 -1
  644. package/dist/kongponents422.cjs +1 -1
  645. package/dist/kongponents423.cjs +1 -1
  646. package/dist/kongponents424.cjs +1 -1
  647. package/dist/kongponents425.cjs +1 -0
  648. package/dist/kongponents429.cjs +1 -1
  649. package/dist/kongponents430.cjs +1 -1
  650. package/dist/kongponents431.cjs +1 -1
  651. package/dist/kongponents432.cjs +1 -1
  652. package/dist/kongponents433.cjs +1 -1
  653. package/dist/kongponents435.cjs +1 -1
  654. package/dist/kongponents437.cjs +1 -1
  655. package/dist/kongponents438.cjs +1 -1
  656. package/dist/kongponents439.cjs +1 -1
  657. package/dist/kongponents443.cjs +1 -1
  658. package/dist/kongponents450.cjs +1 -1
  659. package/dist/kongponents451.cjs +1 -1
  660. package/dist/kongponents456.cjs +1 -1
  661. package/dist/kongponents457.cjs +1 -1
  662. package/dist/kongponents458.cjs +1 -1
  663. package/dist/kongponents459.cjs +1 -1
  664. package/dist/kongponents463.cjs +1 -1
  665. package/dist/kongponents464.cjs +1 -1
  666. package/dist/kongponents466.cjs +1 -1
  667. package/dist/kongponents467.cjs +1 -1
  668. package/dist/kongponents468.cjs +1 -1
  669. package/dist/kongponents469.cjs +1 -1
  670. package/dist/kongponents470.cjs +1 -1
  671. package/dist/kongponents471.cjs +1 -1
  672. package/dist/kongponents472.cjs +1 -1
  673. package/dist/kongponents480.cjs +1 -1
  674. package/dist/kongponents481.cjs +1 -1
  675. package/dist/kongponents482.cjs +1 -1
  676. package/dist/kongponents483.cjs +1 -1
  677. package/dist/kongponents484.cjs +1 -1
  678. package/dist/kongponents485.cjs +1 -1
  679. package/dist/kongponents486.cjs +1 -1
  680. package/dist/kongponents487.cjs +1 -1
  681. package/dist/kongponents488.cjs +1 -1
  682. package/dist/kongponents489.cjs +1 -1
  683. package/dist/kongponents490.cjs +1 -1
  684. package/dist/kongponents491.cjs +1 -1
  685. package/dist/kongponents492.cjs +1 -1
  686. package/dist/kongponents493.cjs +1 -1
  687. package/dist/kongponents494.cjs +1 -1
  688. package/dist/kongponents495.cjs +1 -1
  689. package/dist/kongponents496.cjs +1 -1
  690. package/dist/kongponents497.cjs +1 -1
  691. package/dist/kongponents498.cjs +1 -1
  692. package/dist/kongponents499.cjs +1 -1
  693. package/dist/kongponents501.cjs +1 -1
  694. package/dist/kongponents502.cjs +1 -1
  695. package/dist/kongponents503.cjs +1 -1
  696. package/dist/kongponents504.cjs +1 -1
  697. package/dist/kongponents505.cjs +1 -1
  698. package/dist/kongponents506.cjs +1 -1
  699. package/dist/kongponents507.cjs +1 -1
  700. package/dist/kongponents508.cjs +1 -1
  701. package/dist/kongponents509.cjs +1 -1
  702. package/dist/kongponents510.cjs +1 -1
  703. package/dist/kongponents511.cjs +1 -1
  704. package/dist/kongponents512.cjs +1 -1
  705. package/dist/kongponents513.cjs +1 -1
  706. package/dist/kongponents514.cjs +1 -1
  707. package/dist/kongponents515.cjs +1 -1
  708. package/dist/kongponents516.cjs +1 -1
  709. package/dist/kongponents517.cjs +1 -1
  710. package/dist/kongponents518.cjs +1 -1
  711. package/dist/kongponents519.cjs +1 -1
  712. package/dist/kongponents520.cjs +1 -1
  713. package/dist/kongponents521.cjs +1 -1
  714. package/dist/kongponents522.cjs +1 -1
  715. package/dist/kongponents523.cjs +1 -1
  716. package/dist/kongponents524.cjs +1 -1
  717. package/dist/kongponents525.cjs +1 -1
  718. package/dist/kongponents526.cjs +1 -1
  719. package/dist/kongponents527.cjs +1 -1
  720. package/dist/kongponents528.cjs +1 -1
  721. package/dist/kongponents529.cjs +1 -1
  722. package/dist/kongponents53.cjs +1 -1
  723. package/dist/kongponents530.cjs +1 -1
  724. package/dist/kongponents531.cjs +1 -1
  725. package/dist/kongponents532.cjs +1 -1
  726. package/dist/kongponents543.cjs +1 -1
  727. package/dist/kongponents547.cjs +1 -1
  728. package/dist/kongponents557.cjs +1 -1
  729. package/dist/kongponents558.cjs +1 -1
  730. package/dist/kongponents559.cjs +1 -1
  731. package/dist/kongponents560.cjs +1 -1
  732. package/dist/kongponents561.cjs +1 -1
  733. package/dist/kongponents562.cjs +1 -1
  734. package/dist/kongponents563.cjs +1 -1
  735. package/dist/kongponents564.cjs +1 -1
  736. package/dist/kongponents565.cjs +1 -1
  737. package/dist/kongponents566.cjs +1 -1
  738. package/dist/kongponents567.cjs +1 -1
  739. package/dist/kongponents568.cjs +1 -1
  740. package/dist/kongponents569.cjs +1 -1
  741. package/dist/kongponents570.cjs +1 -1
  742. package/dist/kongponents571.cjs +1 -1
  743. package/dist/kongponents572.cjs +1 -1
  744. package/dist/kongponents573.cjs +1 -1
  745. package/dist/kongponents574.cjs +1 -1
  746. package/dist/kongponents575.cjs +1 -1
  747. package/dist/kongponents576.cjs +1 -1
  748. package/dist/kongponents577.cjs +1 -1
  749. package/dist/kongponents578.cjs +1 -1
  750. package/dist/kongponents579.cjs +1 -1
  751. package/dist/kongponents580.cjs +1 -1
  752. package/dist/kongponents581.cjs +1 -1
  753. package/dist/kongponents582.cjs +1 -1
  754. package/dist/kongponents583.cjs +1 -1
  755. package/dist/kongponents584.cjs +1 -1
  756. package/dist/kongponents585.cjs +1 -1
  757. package/dist/kongponents586.cjs +1 -1
  758. package/dist/kongponents587.cjs +1 -1
  759. package/dist/kongponents59.cjs +1 -1
  760. package/dist/kongponents597.cjs +1 -1
  761. package/dist/kongponents599.cjs +1 -1
  762. package/dist/kongponents600.cjs +1 -1
  763. package/dist/kongponents601.cjs +1 -1
  764. package/dist/kongponents602.cjs +1 -1
  765. package/dist/kongponents603.cjs +1 -1
  766. package/dist/kongponents604.cjs +1 -1
  767. package/dist/kongponents605.cjs +1 -1
  768. package/dist/kongponents72.cjs +1 -1
  769. package/dist/kongponents75.cjs +1 -1
  770. package/dist/kongponents77.cjs +1 -1
  771. package/dist/kongponents83.cjs +1 -1
  772. package/dist/kongponents87.cjs +1 -1
  773. package/dist/kongponents89.cjs +1 -1
  774. package/dist/kongponents94.cjs +1 -1
  775. package/dist/kongponents96.cjs +1 -1
  776. package/dist/kongponents99.cjs +1 -1
  777. package/dist/types/types/multi-select.d.ts +16 -2
  778. package/dist/types/types/select.d.ts +17 -3
  779. package/package.json +1 -1
  780. package/dist/kongponents.es222.js +0 -7
  781. package/dist/kongponents.es245.js +0 -66
  782. package/dist/kongponents.es247.js +0 -42
  783. package/dist/kongponents.es249.js +0 -58
  784. package/dist/kongponents.es251.js +0 -8
  785. package/dist/kongponents.es259.js +0 -36
  786. package/dist/kongponents.es263.js +0 -47
  787. package/dist/kongponents.es328.js +0 -93
  788. package/dist/kongponents.es357.js +0 -72
  789. package/dist/kongponents.es367.js +0 -12
  790. package/dist/kongponents222.cjs +0 -1
  791. package/dist/kongponents245.cjs +0 -1
  792. package/dist/kongponents247.cjs +0 -1
  793. package/dist/kongponents249.cjs +0 -1
  794. package/dist/kongponents251.cjs +0 -1
  795. package/dist/kongponents259.cjs +0 -1
  796. package/dist/kongponents263.cjs +0 -1
  797. package/dist/kongponents328.cjs +0 -1
  798. package/dist/kongponents357.cjs +0 -1
  799. package/dist/kongponents367.cjs +0 -1
  800. /package/dist/{kongponents.es255.js → kongponents.es244.js} +0 -0
  801. /package/dist/{kongponents.es261.js → kongponents.es250.js} +0 -0
  802. /package/dist/{kongponents.es359.js → kongponents.es272.js} +0 -0
  803. /package/dist/{kongponents255.cjs → kongponents244.cjs} +0 -0
  804. /package/dist/{kongponents261.cjs → kongponents250.cjs} +0 -0
  805. /package/dist/{kongponents359.cjs → kongponents272.cjs} +0 -0
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ve=require("./kongponents32.cjs"),fe=require("./kongponents45.cjs"),De=require("./kongponents20.cjs");;/* empty css */const Ge=require("./kongponents54.cjs"),Je=require("./kongponents24.cjs");;/* empty css */const Xe=require("./kongponents180.cjs"),Ze=require("./kongponents172.cjs"),Qe=require("./kongponents192.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const Ye=require("./kongponents11.cjs"),K=require("./kongponents173.cjs"),_e=require("./kongponents184.cjs"),et=require("./kongponents171.cjs"),ge=require("./kongponents169.cjs"),tt={class:"k-table"},at={key:0,class:"table-toolbar","data-testid":"table-toolbar"},lt={key:0,class:"toolbar-default-items-container"},ot={key:2,class:"table-error-state","data-testid":"table-error-state"},rt={key:3,class:"table-empty-state","data-testid":"table-empty-state"},nt={key:4,class:"table-container"},st=["data-tableid"],it=["aria-sort","data-testid","onClick","onMouseover"],ut=["onMousedown","onMouseover"],ct=["aria-describedby"],dt=["onMousedown","onMouseover"],vt=["role","tabindex"],ft=e.defineComponent({__name:"KTable",props:{resizeColumns:{type:Boolean,default:!1},tablePreferences:{type:Object,default:()=>({})},clientSort:{type:Boolean,default:!1},rowHover:{type:Boolean,default:!0},sortHandlerFunction:{type:Function,default:()=>({})},rowAttrs:{type:Function,default:()=>({})},cellAttrs:{type:Function,default:()=>({})},loading:{type:Boolean,default:!1},emptyStateTitle:{type:String,default:"No Data"},emptyStateMessage:{type:String,default:"There is no data to display."},emptyStateActionRoute:{type:[Object,String],default:""},emptyStateActionMessage:{type:String,default:""},emptyStateIconVariant:{type:String,default:Ye.EmptyStateIconVariants.Default},error:{type:Boolean,default:!1},errorStateTitle:{type:String,default:"An error occurred"},errorStateMessage:{type:String,default:"Data cannot be displayed due to an error."},errorStateActionRoute:{type:[Object,String],default:""},errorStateActionMessage:{type:String,default:""},fetcher:{type:Function,default:void 0,required:!0},fetcherCacheKey:{type:String,default:""},cacheIdentifier:{type:String,default:""},searchInput:{type:String,default:""},headers:{type:Array,default:()=>[]},initialFetcherParams:{type:Object,default:null},paginationNeighbors:{type:Number,default:1},paginationPageSizes:{type:Array,default:()=>[15,30,50,75,100],validator:r=>!!r.length&&r.every(L=>typeof L=="number")},paginationTotalItems:{type:Number,default:null},disablePaginationPageJump:{type:Boolean,default:!1},sortable:{type:Boolean,default:!0},disablePagination:{type:Boolean,default:!1},paginationOffset:{type:Boolean,default:!1},hidePaginationWhenOptional:{type:Boolean,default:!1},maxHeight:{type:String,default:"none"}},emits:["cell-click","row-click","error-action-click","empty-state-action-click","update:table-preferences","sort","state"],setup(r,{emit:L}){e.useCssVars(t=>({ae6ef3f8:Ee.value}));const{useDebounce:W,useRequest:pe,useSwrvState:me,clientSideSorter:D}=Qe.default(),o=r,V=L,G=e.useAttrs(),ye=e.useSlots(),m=e.useId(),C={pageSize:15,page:1,query:"",sortColumnKey:"",sortColumnOrder:"desc",offset:null},p=e.ref([]),J=e.ref(),P=e.ref([]),y=e.ref([]),O=e.ref(""),z=e.ref(""),T=e.ref(""),X=e.computed(()=>P.value.filter(t=>t.hidable).length>0),A=e.computed(()=>!!(X.value&&!o.error&&!S.value&&!o.loading&&p.value&&p.value.length)),be=e.computed(()=>P.value.filter(t=>t.hidable)),he=e.computed(()=>A.value?o.tablePreferences.columnVisibility||{}:{}),M=e.ref(A.value?o.tablePreferences.columnVisibility||{}:{}),F=e.ref(0),B=e.ref(!1),u=e.ref(1),N=e.ref(15),Z=e.ref(""),f=e.ref(""),d=e.ref("desc"),k=e.ref(null),b=e.ref([]),Q=e.ref(!0),H=e.ref(!1),R=e.ref(!1),ke=e.computed(()=>!!ye.toolbar||A.value),Se=e.computed(()=>({maxHeight:et.normalizeSize(o.maxHeight)})),Ce=t=>`column-${t}`,E=t=>`tooltip-${t}`,x=t=>t,Y=(t,l)=>(a,n)=>{const s=/^on[^a-z]/,i={};for(const c in l)s.test(c)&&l[c]&&(i[c]=l[c]);return Object.keys(i).reduce((c,h)=>{if(h.indexOf(t)===0){const v=h.split(t);c[v[1]]=g=>i[h](g,a,n)}return c},{})},ze=e.computed(()=>(t,l)=>{const a=Y("onRow:",G)(l,"row"),n=Y("onCell:",G)(t,"cell"),s=["a","button","label","input","select"];return a.click&&(H.value=!0),{...a,...n,click(i){const c=i.target.className;let h=s.includes(i.target.tagName.toLowerCase()),v=!1;typeof c=="string"||Array.isArray(c)?v=c.includes("k-popover"):typeof c=="object"&&(v=Object.keys(c).includes("k-popover")),i.target.closest(".popover-content")!==null&&(v=!0);for(let g=0;g<s.length;g++)if(i.target.closest(s[g])!==null){h=!0;break}if((!h||i.target.hasAttribute("disabled"))&&!v&&(a.click||n.click))if(n.click){V("cell-click",{data:t});const g=n.click(i,t,"cell");typeof g=="function"&&g(i,t)}else{V("row-click",{data:l});const g=a.click(i,l,"row");typeof g=="function"&&g(i,l)}}}}),w=e.ref(o.resizeColumns?o.tablePreferences.columnWidths||{}:{}),_=e.computed(()=>{const t={};for(const l in w.value){if(!w.value[l])continue;const a=w.value[l]+"px";t[l]={width:a,maxWidth:a,minWidth:a}}return t}),Be=(t,l)=>({"resize-hover":ee.value===t.key&&o.resizeColumns&&l!==y.value.length-1,resizable:o.resizeColumns,sortable:o.sortable&&!t.hideLabel&&!!t.sortable,"active-sort":o.sortable&&!t.hideLabel&&!!t.sortable&&t.key===f.value,[d.value]:o.sortable&&t.key===f.value&&!t.hideLabel,"is-scrolled":B.value,"has-tooltip":!!t.tooltip}),Ne=e.computed(()=>O.value?"resizing":z.value?"resize-hover":T.value?"th-hover":""),ee=e.computed(()=>{switch(Ne.value){case"resizing":return O.value;case"resize-hover":return z.value;case"th-hover":return T.value;default:return""}}),te=e.computed(()=>{var t;return(t=J.value)==null?void 0:t.querySelectorAll("th.resizable")}),Ee=e.computed(()=>{var l;const t=(l=te.value)==null?void 0:l.item(0);if(t){const a=window==null?void 0:window.getComputedStyle(t);if(a!=null&&a.height)return`${parseInt(a.height,10)}px`}return"auto"}),ae=(t,l)=>{var h;if(t.button!==0)return;let a=0,n=0;O.value=l;let s=null;(h=te.value)==null||h.forEach(v=>{v.getAttribute("data-testid")===`table-header-${l}`&&(s=document==null?void 0:document.querySelector(`[data-tableid="${m}"] [data-testid="table-header-${l}"]`))});const i=v=>{const g=v.clientX-a;s==null||s.setAttribute("style",`width: ${n+g}px`),w.value[l]=n+g},c=()=>{O.value="",document==null||document.removeEventListener("mousemove",i),document==null||document.removeEventListener("mouseup",c),q()};if(a=t.clientX,s){const v=window==null?void 0:window.getComputedStyle(s);v!=null&&v.width&&(n=parseInt(v.width,10)),document==null||document.addEventListener("mousemove",i),document==null||document.addEventListener("mouseup",c)}},le=e.ref(!0),Pe=async()=>{var a,n;const t=o.searchInput,l=await o.fetcher({pageSize:N.value,page:u.value,query:t||Z.value,sortColumnKey:f.value,sortColumnOrder:d.value,offset:k.value});return p.value=l.data,F.value=o.paginationTotalItems||l.total||((a=l.data)==null?void 0:a.length),o.paginationOffset&&((n=l.pagination)!=null&&n.offset?($.value=l.pagination.offset,b.value[u.value]||b.value.push(l.pagination.offset)):$.value=null,Q.value=l.pagination&&"hasNextPage"in l.pagination?l.pagination.hasNextPage:!0),p.value.length===0&&u.value>1&&(u.value=1,b.value=[null],k.value=null),le.value=!1,l},Oe=()=>{const t={...C,...o.initialFetcherParams};u.value=t.page??C.page,N.value=t.pageSize??C.pageSize,Z.value=t.query??C.query,f.value=t.sortColumnKey??C.sortColumnKey,d.value=t.sortColumnOrder??C.sortColumnOrder,o.clientSort&&f.value&&d.value&&D(f.value,"",d.value,p.value),o.paginationOffset&&(k.value=t.offset,b.value.push(t.offset)),o.headers&&o.headers.length&&(P.value=o.headers),R.value=!0};e.watch(()=>o.headers,t=>{t&&t.length&&(P.value=t)},{deep:!0});const j=e.computed(()=>b.value[u.value-1]),$=e.ref(null),Ae=e.computed(()=>{if(!o.fetcher||!R.value)return"";let t=m;return o.cacheIdentifier&&(t=o.cacheIdentifier),o.fetcherCacheKey&&(t+=`-${o.fetcherCacheKey}`),`k-table_${t}`}),oe=e.ref(""),{debouncedFn:we,generateDebouncedFn:$e}=W(t=>{oe.value=t},350),Ie=$e(0),{data:re,error:ne,revalidate:Ve,isValidating:Te}=pe(()=>Ae.value,()=>Pe(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:U,hasData:Me,swrvState:se}=me(re,ne,Te),S=e.ref(!0),ie=e.computed(()=>({hasData:Me.value,state:U.value})),ue=e.computed(()=>S.value?"loading":ne.value?"error":"success"),{debouncedFn:ce,generateDebouncedFn:He}=W(Ve,500),qe=He(0),Ke=t=>{const{key:l,useSortHandlerFunction:a}=t,n=f.value+"";u.value=1,f.value?l===f.value?d.value==="asc"?d.value="desc":d.value="asc":(f.value=l,d.value="asc",b.value=[null]):(f.value=l,d.value="asc",b.value=[null]),o.clientSort?a&&o.sortHandlerFunction?o.sortHandlerFunction({key:l,prevKey:n,sortColumnOrder:d.value,data:p.value}):D(l,n,d.value,p.value):o.paginationOffset||ce(),q()},Le=({page:t})=>{u.value=t},Fe=({pageSize:t})=>{b.value=[null],k.value=null,N.value=t,u.value=1,q()},Re=t=>{t&&t.target&&typeof t.target.scrollTop=="number"&&(t.target.scrollTop>1?B.value=!0:t.target.scrollTop===0&&(B.value=!B.value))},xe=e.computed(()=>({pageSize:N.value,sortColumnKey:f.value,sortColumnOrder:d.value,...o.resizeColumns?{columnWidths:w.value}:{},...X.value?{columnVisibility:M.value}:{}})),q=()=>{ue.value==="success"&&V("update:table-preferences",xe.value)},je=()=>{u.value++,k.value=$.value},Ue=()=>{u.value--,k.value=j.value},We=e.computed(()=>!!(o.fetcher&&!o.disablePagination&&!(!o.paginationOffset&&o.hidePaginationWhenOptional&&F.value<=(o.paginationPageSizes[0]??ge.DEFAULT_PAGE_SIZE))&&!(o.paginationOffset&&o.hidePaginationWhenOptional&&!j.value&&!$.value&&p.value.length<(o.paginationPageSizes[0]??ge.DEFAULT_PAGE_SIZE)))),de=t=>t.toLowerCase().replace(/[^[a-z0-9]/gi,"-");e.watch([M,P],t=>{const l=t[0],n=t[1].filter(s=>l[s.key]!==!1);JSON.stringify(n)!==JSON.stringify(y.value)&&(y.value=n,q())},{deep:!0,immediate:!0}),e.watch(re,t=>{t!=null&&t.length&&!p.value.length&&(p.value=t)},{deep:!0,immediate:!0}),e.watch(U,()=>{switch(U.value){case se.PENDING:S.value=!0;break;case se.VALIDATING_HAS_DATA:S.value=I.value;break;default:S.value=!1;break}},{immediate:!0}),e.watch([ie,ue],t=>{var l;V("state",{state:t==null?void 0:t[1],hasData:(l=t==null?void 0:t[0])==null?void 0:l.hasData})}),e.watch(()=>o.searchInput,t=>{u.value!==1&&(u.value=1),t===""?Ie(t):we(t)},{immediate:!0});const I=e.ref(!1);return e.watch([oe,u,N],async(t,l)=>{const a=l==null?void 0:l[0],n=t[0],s=t[1];n!==a&&s!==1&&(u.value=1,b.value=[null],k.value=null),R.value&&!le.value&&(I.value=!0,n!==""&&n!==a?await ce():await qe(),I.value=!1)},{deep:!0,immediate:!0}),e.watch(A,t=>{t&&(M.value=o.tablePreferences.columnVisibility||{})},{immediate:!0}),e.onMounted(()=>{console.warn(`The Kongponents 'KTable' component is deprecated and will be removed in the next major release.
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ve=require("./kongponents32.cjs"),fe=require("./kongponents45.cjs"),De=require("./kongponents20.cjs");;/* empty css */const Ge=require("./kongponents54.cjs"),Je=require("./kongponents24.cjs");;/* empty css */const Xe=require("./kongponents193.cjs"),Ze=require("./kongponents176.cjs"),Qe=require("./kongponents171.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const Ye=require("./kongponents11.cjs"),K=require("./kongponents179.cjs"),_e=require("./kongponents216.cjs"),et=require("./kongponents182.cjs"),ge=require("./kongponents169.cjs"),tt={class:"k-table"},at={key:0,class:"table-toolbar","data-testid":"table-toolbar"},lt={key:0,class:"toolbar-default-items-container"},ot={key:2,class:"table-error-state","data-testid":"table-error-state"},rt={key:3,class:"table-empty-state","data-testid":"table-empty-state"},nt={key:4,class:"table-container"},st=["data-tableid"],it=["aria-sort","data-testid","onClick","onMouseover"],ut=["onMousedown","onMouseover"],ct=["aria-describedby"],dt=["onMousedown","onMouseover"],vt=["role","tabindex"],ft=e.defineComponent({__name:"KTable",props:{resizeColumns:{type:Boolean,default:!1},tablePreferences:{type:Object,default:()=>({})},clientSort:{type:Boolean,default:!1},rowHover:{type:Boolean,default:!0},sortHandlerFunction:{type:Function,default:()=>({})},rowAttrs:{type:Function,default:()=>({})},cellAttrs:{type:Function,default:()=>({})},loading:{type:Boolean,default:!1},emptyStateTitle:{type:String,default:"No Data"},emptyStateMessage:{type:String,default:"There is no data to display."},emptyStateActionRoute:{type:[Object,String],default:""},emptyStateActionMessage:{type:String,default:""},emptyStateIconVariant:{type:String,default:Ye.EmptyStateIconVariants.Default},error:{type:Boolean,default:!1},errorStateTitle:{type:String,default:"An error occurred"},errorStateMessage:{type:String,default:"Data cannot be displayed due to an error."},errorStateActionRoute:{type:[Object,String],default:""},errorStateActionMessage:{type:String,default:""},fetcher:{type:Function,default:void 0,required:!0},fetcherCacheKey:{type:String,default:""},cacheIdentifier:{type:String,default:""},searchInput:{type:String,default:""},headers:{type:Array,default:()=>[]},initialFetcherParams:{type:Object,default:null},paginationNeighbors:{type:Number,default:1},paginationPageSizes:{type:Array,default:()=>[15,30,50,75,100],validator:r=>!!r.length&&r.every(L=>typeof L=="number")},paginationTotalItems:{type:Number,default:null},disablePaginationPageJump:{type:Boolean,default:!1},sortable:{type:Boolean,default:!0},disablePagination:{type:Boolean,default:!1},paginationOffset:{type:Boolean,default:!1},hidePaginationWhenOptional:{type:Boolean,default:!1},maxHeight:{type:String,default:"none"}},emits:["cell-click","row-click","error-action-click","empty-state-action-click","update:table-preferences","sort","state"],setup(r,{emit:L}){e.useCssVars(t=>({ae6ef3f8:Ee.value}));const{useDebounce:W,useRequest:pe,useSwrvState:me,clientSideSorter:D}=Qe.default(),o=r,V=L,G=e.useAttrs(),ye=e.useSlots(),m=e.useId(),C={pageSize:15,page:1,query:"",sortColumnKey:"",sortColumnOrder:"desc",offset:null},p=e.ref([]),J=e.ref(),P=e.ref([]),y=e.ref([]),O=e.ref(""),z=e.ref(""),T=e.ref(""),X=e.computed(()=>P.value.filter(t=>t.hidable).length>0),A=e.computed(()=>!!(X.value&&!o.error&&!S.value&&!o.loading&&p.value&&p.value.length)),be=e.computed(()=>P.value.filter(t=>t.hidable)),he=e.computed(()=>A.value?o.tablePreferences.columnVisibility||{}:{}),M=e.ref(A.value?o.tablePreferences.columnVisibility||{}:{}),F=e.ref(0),B=e.ref(!1),u=e.ref(1),N=e.ref(15),Z=e.ref(""),f=e.ref(""),d=e.ref("desc"),k=e.ref(null),b=e.ref([]),Q=e.ref(!0),H=e.ref(!1),R=e.ref(!1),ke=e.computed(()=>!!ye.toolbar||A.value),Se=e.computed(()=>({maxHeight:et.normalizeSize(o.maxHeight)})),Ce=t=>`column-${t}`,E=t=>`tooltip-${t}`,x=t=>t,Y=(t,l)=>(a,n)=>{const s=/^on[^a-z]/,i={};for(const c in l)s.test(c)&&l[c]&&(i[c]=l[c]);return Object.keys(i).reduce((c,h)=>{if(h.indexOf(t)===0){const v=h.split(t);c[v[1]]=g=>i[h](g,a,n)}return c},{})},ze=e.computed(()=>(t,l)=>{const a=Y("onRow:",G)(l,"row"),n=Y("onCell:",G)(t,"cell"),s=["a","button","label","input","select"];return a.click&&(H.value=!0),{...a,...n,click(i){const c=i.target.className;let h=s.includes(i.target.tagName.toLowerCase()),v=!1;typeof c=="string"||Array.isArray(c)?v=c.includes("k-popover"):typeof c=="object"&&(v=Object.keys(c).includes("k-popover")),i.target.closest(".popover-content")!==null&&(v=!0);for(let g=0;g<s.length;g++)if(i.target.closest(s[g])!==null){h=!0;break}if((!h||i.target.hasAttribute("disabled"))&&!v&&(a.click||n.click))if(n.click){V("cell-click",{data:t});const g=n.click(i,t,"cell");typeof g=="function"&&g(i,t)}else{V("row-click",{data:l});const g=a.click(i,l,"row");typeof g=="function"&&g(i,l)}}}}),w=e.ref(o.resizeColumns?o.tablePreferences.columnWidths||{}:{}),_=e.computed(()=>{const t={};for(const l in w.value){if(!w.value[l])continue;const a=w.value[l]+"px";t[l]={width:a,maxWidth:a,minWidth:a}}return t}),Be=(t,l)=>({"resize-hover":ee.value===t.key&&o.resizeColumns&&l!==y.value.length-1,resizable:o.resizeColumns,sortable:o.sortable&&!t.hideLabel&&!!t.sortable,"active-sort":o.sortable&&!t.hideLabel&&!!t.sortable&&t.key===f.value,[d.value]:o.sortable&&t.key===f.value&&!t.hideLabel,"is-scrolled":B.value,"has-tooltip":!!t.tooltip}),Ne=e.computed(()=>O.value?"resizing":z.value?"resize-hover":T.value?"th-hover":""),ee=e.computed(()=>{switch(Ne.value){case"resizing":return O.value;case"resize-hover":return z.value;case"th-hover":return T.value;default:return""}}),te=e.computed(()=>{var t;return(t=J.value)==null?void 0:t.querySelectorAll("th.resizable")}),Ee=e.computed(()=>{var l;const t=(l=te.value)==null?void 0:l.item(0);if(t){const a=window==null?void 0:window.getComputedStyle(t);if(a!=null&&a.height)return`${parseInt(a.height,10)}px`}return"auto"}),ae=(t,l)=>{var h;if(t.button!==0)return;let a=0,n=0;O.value=l;let s=null;(h=te.value)==null||h.forEach(v=>{v.getAttribute("data-testid")===`table-header-${l}`&&(s=document==null?void 0:document.querySelector(`[data-tableid="${m}"] [data-testid="table-header-${l}"]`))});const i=v=>{const g=v.clientX-a;s==null||s.setAttribute("style",`width: ${n+g}px`),w.value[l]=n+g},c=()=>{O.value="",document==null||document.removeEventListener("mousemove",i),document==null||document.removeEventListener("mouseup",c),q()};if(a=t.clientX,s){const v=window==null?void 0:window.getComputedStyle(s);v!=null&&v.width&&(n=parseInt(v.width,10)),document==null||document.addEventListener("mousemove",i),document==null||document.addEventListener("mouseup",c)}},le=e.ref(!0),Pe=async()=>{var a,n;const t=o.searchInput,l=await o.fetcher({pageSize:N.value,page:u.value,query:t||Z.value,sortColumnKey:f.value,sortColumnOrder:d.value,offset:k.value});return p.value=l.data,F.value=o.paginationTotalItems||l.total||((a=l.data)==null?void 0:a.length),o.paginationOffset&&((n=l.pagination)!=null&&n.offset?($.value=l.pagination.offset,b.value[u.value]||b.value.push(l.pagination.offset)):$.value=null,Q.value=l.pagination&&"hasNextPage"in l.pagination?l.pagination.hasNextPage:!0),p.value.length===0&&u.value>1&&(u.value=1,b.value=[null],k.value=null),le.value=!1,l},Oe=()=>{const t={...C,...o.initialFetcherParams};u.value=t.page??C.page,N.value=t.pageSize??C.pageSize,Z.value=t.query??C.query,f.value=t.sortColumnKey??C.sortColumnKey,d.value=t.sortColumnOrder??C.sortColumnOrder,o.clientSort&&f.value&&d.value&&D(f.value,"",d.value,p.value),o.paginationOffset&&(k.value=t.offset,b.value.push(t.offset)),o.headers&&o.headers.length&&(P.value=o.headers),R.value=!0};e.watch(()=>o.headers,t=>{t&&t.length&&(P.value=t)},{deep:!0});const j=e.computed(()=>b.value[u.value-1]),$=e.ref(null),Ae=e.computed(()=>{if(!o.fetcher||!R.value)return"";let t=m;return o.cacheIdentifier&&(t=o.cacheIdentifier),o.fetcherCacheKey&&(t+=`-${o.fetcherCacheKey}`),`k-table_${t}`}),oe=e.ref(""),{debouncedFn:we,generateDebouncedFn:$e}=W(t=>{oe.value=t},350),Ie=$e(0),{data:re,error:ne,revalidate:Ve,isValidating:Te}=pe(()=>Ae.value,()=>Pe(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:U,hasData:Me,swrvState:se}=me(re,ne,Te),S=e.ref(!0),ie=e.computed(()=>({hasData:Me.value,state:U.value})),ue=e.computed(()=>S.value?"loading":ne.value?"error":"success"),{debouncedFn:ce,generateDebouncedFn:He}=W(Ve,500),qe=He(0),Ke=t=>{const{key:l,useSortHandlerFunction:a}=t,n=f.value+"";u.value=1,f.value?l===f.value?d.value==="asc"?d.value="desc":d.value="asc":(f.value=l,d.value="asc",b.value=[null]):(f.value=l,d.value="asc",b.value=[null]),o.clientSort?a&&o.sortHandlerFunction?o.sortHandlerFunction({key:l,prevKey:n,sortColumnOrder:d.value,data:p.value}):D(l,n,d.value,p.value):o.paginationOffset||ce(),q()},Le=({page:t})=>{u.value=t},Fe=({pageSize:t})=>{b.value=[null],k.value=null,N.value=t,u.value=1,q()},Re=t=>{t&&t.target&&typeof t.target.scrollTop=="number"&&(t.target.scrollTop>1?B.value=!0:t.target.scrollTop===0&&(B.value=!B.value))},xe=e.computed(()=>({pageSize:N.value,sortColumnKey:f.value,sortColumnOrder:d.value,...o.resizeColumns?{columnWidths:w.value}:{},...X.value?{columnVisibility:M.value}:{}})),q=()=>{ue.value==="success"&&V("update:table-preferences",xe.value)},je=()=>{u.value++,k.value=$.value},Ue=()=>{u.value--,k.value=j.value},We=e.computed(()=>!!(o.fetcher&&!o.disablePagination&&!(!o.paginationOffset&&o.hidePaginationWhenOptional&&F.value<=(o.paginationPageSizes[0]??ge.DEFAULT_PAGE_SIZE))&&!(o.paginationOffset&&o.hidePaginationWhenOptional&&!j.value&&!$.value&&p.value.length<(o.paginationPageSizes[0]??ge.DEFAULT_PAGE_SIZE)))),de=t=>t.toLowerCase().replace(/[^[a-z0-9]/gi,"-");e.watch([M,P],t=>{const l=t[0],n=t[1].filter(s=>l[s.key]!==!1);JSON.stringify(n)!==JSON.stringify(y.value)&&(y.value=n,q())},{deep:!0,immediate:!0}),e.watch(re,t=>{t!=null&&t.length&&!p.value.length&&(p.value=t)},{deep:!0,immediate:!0}),e.watch(U,()=>{switch(U.value){case se.PENDING:S.value=!0;break;case se.VALIDATING_HAS_DATA:S.value=I.value;break;default:S.value=!1;break}},{immediate:!0}),e.watch([ie,ue],t=>{var l;V("state",{state:t==null?void 0:t[1],hasData:(l=t==null?void 0:t[0])==null?void 0:l.hasData})}),e.watch(()=>o.searchInput,t=>{u.value!==1&&(u.value=1),t===""?Ie(t):we(t)},{immediate:!0});const I=e.ref(!1);return e.watch([oe,u,N],async(t,l)=>{const a=l==null?void 0:l[0],n=t[0],s=t[1];n!==a&&s!==1&&(u.value=1,b.value=[null],k.value=null),R.value&&!le.value&&(I.value=!0,n!==""&&n!==a?await ce():await qe(),I.value=!1)},{deep:!0,immediate:!0}),e.watch(A,t=>{t&&(M.value=o.tablePreferences.columnVisibility||{})},{immediate:!0}),e.onMounted(()=>{console.warn(`The Kongponents 'KTable' component is deprecated and will be removed in the next major release.
2
2
  We suggest using 'KTableData' component instead.
3
3
  Docs: https://kongponents.konghq.com/components/table-data.html`),Oe()}),(t,l)=>(e.openBlock(),e.createElementBlock("div",tt,[ke.value?(e.openBlock(),e.createElementBlock("div",at,[e.renderSlot(t.$slots,"toolbar",{state:ie.value},void 0,!0),A.value?(e.openBlock(),e.createElementBlock("div",lt,[e.createVNode(_e.default,{columns:be.value,"table-id":e.unref(m),"visibility-preferences":he.value,onUpdate:l[0]||(l[0]=a=>M.value=a)},null,8,["columns","table-id","visibility-preferences"])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(S.value||r.loading||I.value)&&!r.error?(e.openBlock(),e.createBlock(De.default,{key:1,"data-testid":"table-skeleton",type:"table"})):r.error?(e.openBlock(),e.createElementBlock("div",ot,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode(fe.default,{"icon-variant":"error",message:r.errorStateMessage,title:r.errorStateTitle},e.createSlots({_:2},[r.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(ve.default,{"data-testid":de(r.errorStateActionMessage),to:r.errorStateActionRoute?r.errorStateActionRoute:void 0,onClick:l[1]||(l[1]=a=>t.$emit("error-action-click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.errorStateActionMessage),1)]),_:1},8,["data-testid","to"])]),key:"0"}:void 0]),1032,["message","title"])],!0)])):!r.error&&!S.value&&!r.loading&&!I.value&&p.value&&!p.value.length?(e.openBlock(),e.createElementBlock("div",rt,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode(fe.default,{"icon-variant":r.emptyStateIconVariant,message:r.emptyStateMessage,title:r.emptyStateTitle},e.createSlots({_:2},[r.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(ve.default,{appearance:r.searchInput?"tertiary":"primary","data-testid":de(r.emptyStateActionMessage),to:r.emptyStateActionRoute?r.emptyStateActionRoute:void 0,onClick:l[2]||(l[2]=a=>t.$emit("empty-state-action-click"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"empty-state-action-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(r.emptyStateActionMessage),1)]),_:3},8,["appearance","data-testid","to"])]),key:"0"}:void 0]),1032,["icon-variant","message","title"])],!0)])):(e.openBlock(),e.createElementBlock("div",nt,[e.createElementVNode("div",{class:"table-wrapper",style:e.normalizeStyle(Se.value),onScrollPassive:Re},[e.createElementVNode("table",{class:e.normalizeClass(["table",{"has-hover":r.rowHover,"is-clickable":H.value}]),"data-tableid":e.unref(m)},[e.createElementVNode("thead",{class:e.normalizeClass({"is-scrolled":B.value})},[e.createElementVNode("tr",{ref_key:"headerRow",ref:J,class:e.normalizeClass({"is-scrolled":B.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(a,n)=>(e.openBlock(),e.createElementBlock("th",{key:`table-${e.unref(m)}-headers-${n}`,"aria-sort":r.sortable&&a.key===f.value?d.value==="asc"?"ascending":"descending":void 0,class:e.normalizeClass(["table-headers",Be(a,n)]),"data-testid":`table-header-${a.key}`,style:e.normalizeStyle(_.value[a.key]),onClick:()=>{r.sortable&&a.sortable&&(t.$emit("sort",{prevKey:f.value,sortColumnKey:a.key,sortColumnOrder:d.value==="asc"?"desc":"asc"}),Ke(a))},onMouseleave:l[7]||(l[7]=s=>T.value=""),onMouseover:s=>T.value=a.key},[r.resizeColumns&&n!==0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"resize-handle previous",onClick:l[3]||(l[3]=e.withModifiers(()=>{},["stop"])),onMousedown:s=>ae(s,y.value[n-1].key),onMouseleave:l[4]||(l[4]=s=>z.value=""),onMouseover:s=>z.value=y.value[n-1].key},null,40,ut)):e.createCommentVNode("",!0),e.createElementVNode("div",{"aria-describedby":a.tooltip||t.$slots[E(a.key)]?`${E(a.key)}-${e.unref(m)}`:void 0,class:e.normalizeClass(["table-headers-container",{resized:O.value===a.key}])},[e.renderSlot(t.$slots,Ce(a.key),{column:x(a)},()=>[e.createElementVNode("span",{class:e.normalizeClass(["table-header-label",{"sr-only":a.hideLabel}])},e.toDisplayString(a.label?a.label:a.key),3)],!0),a.tooltip||t.$slots[E(a.key)]?(e.openBlock(),e.createBlock(Je.default,{key:0,"data-testid":E(a.key),"tooltip-id":`${E(a.key)}-${e.unref(m)}`},{content:e.withCtx(()=>[e.renderSlot(t.$slots,E(a.key),{column:x(a)},()=>[e.createTextVNode(e.toDisplayString(a.tooltip),1)],!0)]),default:e.withCtx(()=>[e.createVNode(e.unref(Ze.default),{class:"header-tooltip-trigger",color:`var(--kui-color-text-neutral, ${e.unref(K.KUI_COLOR_TEXT_NEUTRAL)})`,size:e.unref(K.KUI_ICON_SIZE_30)},null,8,["color","size"])]),_:2},1032,["data-testid","tooltip-id"])):e.createCommentVNode("",!0),r.sortable&&!a.hideLabel&&a.sortable?(e.openBlock(),e.createBlock(e.unref(Xe.default),{key:1,class:"sort-icon",color:`var(--kui-color-text-neutral, ${e.unref(K.KUI_COLOR_TEXT_NEUTRAL)})`,size:e.unref(K.KUI_ICON_SIZE_30)},null,8,["color","size"])):e.createCommentVNode("",!0)],10,ct),r.resizeColumns&&n!==y.value.length-1?(e.openBlock(),e.createElementBlock("div",{key:1,class:"resize-handle",onClick:l[5]||(l[5]=e.withModifiers(()=>{},["stop"])),onMousedown:s=>ae(s,a.key),onMouseleave:l[6]||(l[6]=s=>z.value=""),onMouseover:s=>z.value=a.key},null,40,dt)):e.createCommentVNode("",!0)],46,it))),128))],2)],2),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(a,n)=>(e.openBlock(),e.createElementBlock("tr",e.mergeProps({ref_for:!0},r.rowAttrs(a),{key:`table-${e.unref(m)}-row-${n}`,role:H.value?"link":null,tabindex:H.value?0:null}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(s,i)=>(e.openBlock(),e.createElementBlock("td",e.mergeProps({ref_for:!0},r.cellAttrs({headerKey:s.key,row:a,rowIndex:n,colIndex:i}),{key:`table-${e.unref(m)}-cell-${i}`,class:{"resize-hover":r.resizeColumns&&ee.value===s.key&&i!==y.value.length-1},style:_.value[s.key]},e.toHandlers(ze.value(a[s.key],a),!0)),[e.renderSlot(t.$slots,s.key,{row:x(a),rowKey:n,rowValue:a[s.key]},()=>[e.createTextVNode(e.toDisplayString(a[s.key]),1)],!0)],16))),128))],16,vt))),128))])],10,st)],36),We.value?(e.openBlock(),e.createBlock(Ge.default,{key:0,class:"table-pagination","current-page":u.value,"data-testid":"table-pagination","disable-page-jump":r.disablePaginationPageJump,"initial-page-size":N.value,neighbors:r.paginationNeighbors,offset:r.paginationOffset,"offset-next-button-disabled":!$.value||!Q.value,"offset-previous-button-disabled":!j.value,"page-sizes":r.paginationPageSizes,"total-count":F.value,onGetNextOffset:je,onGetPreviousOffset:Ue,onPageChange:Le,onPageSizeChange:Fe},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=ft;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("./kongponents192.cjs"),R=require("./kongponents50.cjs"),u=require("./kongponents186.cjs"),q=["data-value"],D=["id","aria-invalid","rows","value"],h=2048,p=u.IS_MAYBE_FIREFOX?0:u.getScrollbarSize(),S=u.cssSupports("field-sizing","content"),F=e.defineComponent({inheritAttrs:!1,__name:"KTextArea",props:{modelValue:{default:""},label:{default:""},labelAttributes:{default:()=>({})},characterLimit:{type:[Boolean,Number],default:()=>h},rows:{default:5},error:{type:Boolean},resizable:{type:Boolean},autosize:{type:Boolean},help:{default:""},isResizable:{type:Boolean},hasError:{type:Boolean}},emits:["input","update:modelValue","char-limit-exceeded"],setup(a,{emit:E}){e.useCssVars(t=>({v521818f8:t.rows})),e.watch(()=>a.isResizable,t=>{t&&console.warn("KTextArea: `isResizable` prop is deprecated in favor of `resizable` prop. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#ktextarea")},{immediate:!0}),e.watch(()=>a.hasError,t=>{t&&console.warn("KTextArea: `hasError` prop is deprecated. Please use `error` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#ktextarea")},{immediate:!0});const s=E,r=e.useAttrs(),c=e.useSlots(),{stripRequiredLabel:k}=C.default(),v=e.computed(()=>(r==null?void 0:r.required)!==void 0&&String(r==null?void 0:r.required)!=="false"),i=e.ref(""),x=e.computed(()=>k(a.label,v.value)),y=e.computed(()=>{var t,l;return!!((t=a.labelAttributes)!=null&&t.help||(l=a.labelAttributes)!=null&&l.info||c["label-tooltip"])}),T=e.computed(()=>a.error||a.hasError||n.value?!0:void 0),f=e.ref(0),A=e.computed({get(){return a.modelValue},set(t){d({target:{value:t}})}}),L=e.useId(),g=e.computed(()=>r.id?String(r.id):L),z=e.computed(()=>{const t={...r};return delete t.class,t}),n=e.computed(()=>typeof a.characterLimit=="boolean"?a.characterLimit?i.value.length>h:!1:i.value.length>a.characterLimit),d=t=>{var o;const l=JSON.parse(JSON.stringify((o=t==null?void 0:t.target)==null?void 0:o.value));s("input",l),s("update:modelValue",l),i.value=l},B=e.computed(()=>!n.value&&!!(a.help||c.help)),m=e.computed(()=>{var l;const t=typeof a.characterLimit=="number"?a.characterLimit:h;return n.value?`${(l=i.value)==null?void 0:l.toString().length} / ${t}`:a.help});e.watch(n,(t,l)=>{t!==l&&(s("char-limit-exceeded",{value:i.value,length:i.value.length,characterLimit:Number(a.characterLimit),limitExceeded:t}),f.value+=1)}),e.watch(A,(t,l)=>{t!==l&&d({target:{value:t}})});const w=()=>i.value?i.value:a.modelValue,b=u.IS_MAYBE_FIREFOX?()=>{}:t=>{const{target:l,clientX:o,clientY:I}=t;if(!(l instanceof HTMLTextAreaElement))return;const{right:N,bottom:V}=l.getBoundingClientRect();o>N-p&&I>V-p&&(l.style.height="")};return(t,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-textarea",[t.$attrs.class,{"input-error":a.error||a.hasError||n.value}]])},[a.label?(e.openBlock(),e.createBlock(R.default,e.mergeProps({key:0,for:g.value},a.labelAttributes,{required:v.value}),e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.value)+" ",1)]),_:2},[y.value?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"label-tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["input-textarea-wrapper",{autosize:a.autosize,legacy:a.autosize&&!e.unref(S)}]),"data-allow-mismatch":"class","data-value":e.unref(S)?null:i.value},[e.createElementVNode("textarea",e.mergeProps({id:g.value},z.value,{"aria-invalid":T.value,class:["input-textarea",{resizable:a.resizable||a.isResizable}],rows:a.rows,value:w(),onDblclick:l[0]||(l[0]=(...o)=>e.unref(b)&&e.unref(b)(...o)),onInput:d}),null,16,D)],10,q),e.createVNode(e.Transition,{mode:"out-in",name:"kongponents-fade-transition"},{default:e.withCtx(()=>[m.value||c.help?(e.openBlock(),e.createElementBlock("p",{key:String(f.value),class:"help-text"},[B.value?e.renderSlot(t.$slots,"help",{key:0},()=>[e.createTextVNode(e.toDisplayString(m.value),1)],!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(m.value),1)],64))])):e.createCommentVNode("",!0)]),_:3})],2))}});exports.default=F;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("./kongponents171.cjs"),R=require("./kongponents50.cjs"),u=require("./kongponents172.cjs"),q=["data-value"],D=["id","aria-invalid","rows","value"],h=2048,p=u.IS_MAYBE_FIREFOX?0:u.getScrollbarSize(),S=u.cssSupports("field-sizing","content"),F=e.defineComponent({inheritAttrs:!1,__name:"KTextArea",props:{modelValue:{default:""},label:{default:""},labelAttributes:{default:()=>({})},characterLimit:{type:[Boolean,Number],default:()=>h},rows:{default:5},error:{type:Boolean},resizable:{type:Boolean},autosize:{type:Boolean},help:{default:""},isResizable:{type:Boolean},hasError:{type:Boolean}},emits:["input","update:modelValue","char-limit-exceeded"],setup(a,{emit:E}){e.useCssVars(t=>({v521818f8:t.rows})),e.watch(()=>a.isResizable,t=>{t&&console.warn("KTextArea: `isResizable` prop is deprecated in favor of `resizable` prop. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#ktextarea")},{immediate:!0}),e.watch(()=>a.hasError,t=>{t&&console.warn("KTextArea: `hasError` prop is deprecated. Please use `error` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#ktextarea")},{immediate:!0});const s=E,r=e.useAttrs(),c=e.useSlots(),{stripRequiredLabel:k}=C.default(),v=e.computed(()=>(r==null?void 0:r.required)!==void 0&&String(r==null?void 0:r.required)!=="false"),i=e.ref(""),x=e.computed(()=>k(a.label,v.value)),y=e.computed(()=>{var t,l;return!!((t=a.labelAttributes)!=null&&t.help||(l=a.labelAttributes)!=null&&l.info||c["label-tooltip"])}),T=e.computed(()=>a.error||a.hasError||n.value?!0:void 0),f=e.ref(0),A=e.computed({get(){return a.modelValue},set(t){d({target:{value:t}})}}),L=e.useId(),g=e.computed(()=>r.id?String(r.id):L),z=e.computed(()=>{const t={...r};return delete t.class,t}),n=e.computed(()=>typeof a.characterLimit=="boolean"?a.characterLimit?i.value.length>h:!1:i.value.length>a.characterLimit),d=t=>{var o;const l=JSON.parse(JSON.stringify((o=t==null?void 0:t.target)==null?void 0:o.value));s("input",l),s("update:modelValue",l),i.value=l},B=e.computed(()=>!n.value&&!!(a.help||c.help)),m=e.computed(()=>{var l;const t=typeof a.characterLimit=="number"?a.characterLimit:h;return n.value?`${(l=i.value)==null?void 0:l.toString().length} / ${t}`:a.help});e.watch(n,(t,l)=>{t!==l&&(s("char-limit-exceeded",{value:i.value,length:i.value.length,characterLimit:Number(a.characterLimit),limitExceeded:t}),f.value+=1)}),e.watch(A,(t,l)=>{t!==l&&d({target:{value:t}})});const w=()=>i.value?i.value:a.modelValue,b=u.IS_MAYBE_FIREFOX?()=>{}:t=>{const{target:l,clientX:o,clientY:I}=t;if(!(l instanceof HTMLTextAreaElement))return;const{right:N,bottom:V}=l.getBoundingClientRect();o>N-p&&I>V-p&&(l.style.height="")};return(t,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-textarea",[t.$attrs.class,{"input-error":a.error||a.hasError||n.value}]])},[a.label?(e.openBlock(),e.createBlock(R.default,e.mergeProps({key:0,for:g.value},a.labelAttributes,{required:v.value}),e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.value)+" ",1)]),_:2},[y.value?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"label-tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["input-textarea-wrapper",{autosize:a.autosize,legacy:a.autosize&&!e.unref(S)}]),"data-allow-mismatch":"class","data-value":e.unref(S)?null:i.value},[e.createElementVNode("textarea",e.mergeProps({id:g.value},z.value,{"aria-invalid":T.value,class:["input-textarea",{resizable:a.resizable||a.isResizable}],rows:a.rows,value:w(),onDblclick:l[0]||(l[0]=(...o)=>e.unref(b)&&e.unref(b)(...o)),onInput:d}),null,16,D)],10,q),e.createVNode(e.Transition,{mode:"out-in",name:"kongponents-fade-transition"},{default:e.withCtx(()=>[m.value||c.help?(e.openBlock(),e.createElementBlock("p",{key:String(f.value),class:"help-text"},[B.value?e.renderSlot(t.$slots,"help",{key:0},()=>[e.createTextVNode(e.toDisplayString(m.value),1)],!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(m.value),1)],64))])):e.createCommentVNode("",!0)]),_:3})],2))}});exports.default=F;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("./kongponents188.cjs"),u=require("./kongponents228.cjs"),d=require("./kongponents175.cjs"),s=require("./kongponents172.cjs"),_=require("./kongponents218.cjs"),k=require("./kongponents191.cjs"),n=require("./kongponents173.cjs"),m={class:"toaster-icon-container"},p={class:"toaster-content"},f={key:0,class:"toaster-title"},g={key:1,class:"toaster-message"},I=["onClick"],v=e.defineComponent({__name:"KToaster",props:{toasterState:{default:()=>[]},zIndex:{default:1e4}},emits:["close"],setup(r,{emit:c}){e.useCssVars(o=>({v4785992e:o.zIndex}));const a=c,l=o=>{switch(o){case"info":return s.default;case"success":return i.default;case"warning":return k.default;case"danger":return u.default;case"system":return _.default;default:return s.default}};return(o,C)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{class:"k-toaster",name:"kongponents-slide-up-transition",tag:"div"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.toasterState,t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:e.normalizeClass(["toaster",`${t.appearance}`]),role:"alert"},[e.createElementVNode("div",m,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l(t.appearance)),{class:"toaster-icon",color:`var(--kui-color-text, ${e.unref(n.KUI_COLOR_TEXT)})`,decorative:""},null,8,["color"]))]),e.createElementVNode("div",p,[t.title?(e.openBlock(),e.createElementBlock("span",f,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),t.message?(e.openBlock(),e.createElementBlock("p",g,e.toDisplayString(t.message),1)):e.createCommentVNode("",!0)]),e.createElementVNode("button",{"aria-label":"Close",class:"toaster-close-icon","data-testid":"toaster-close-icon",type:"button",onClick:e.withModifiers(B=>a("close",t.key),["stop"])},[e.createVNode(e.unref(d.default),{color:`var(--kui-color-text-neutral-weak, ${e.unref(n.KUI_COLOR_TEXT_NEUTRAL_WEAK)})`,size:e.unref(n.KUI_ICON_SIZE_50)},null,8,["color","size"])],8,I)],2))),128))]),_:1}))}});exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("./kongponents173.cjs"),u=require("./kongponents174.cjs"),d=require("./kongponents175.cjs"),s=require("./kongponents176.cjs"),_=require("./kongponents177.cjs"),k=require("./kongponents178.cjs"),n=require("./kongponents179.cjs"),m={class:"toaster-icon-container"},p={class:"toaster-content"},f={key:0,class:"toaster-title"},g={key:1,class:"toaster-message"},I=["onClick"],v=e.defineComponent({__name:"KToaster",props:{toasterState:{default:()=>[]},zIndex:{default:1e4}},emits:["close"],setup(r,{emit:c}){e.useCssVars(o=>({v4785992e:o.zIndex}));const a=c,l=o=>{switch(o){case"info":return s.default;case"success":return i.default;case"warning":return k.default;case"danger":return u.default;case"system":return _.default;default:return s.default}};return(o,C)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{class:"k-toaster",name:"kongponents-slide-up-transition",tag:"div"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.toasterState,t=>(e.openBlock(),e.createElementBlock("div",{key:t.key,class:e.normalizeClass(["toaster",`${t.appearance}`]),role:"alert"},[e.createElementVNode("div",m,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l(t.appearance)),{class:"toaster-icon",color:`var(--kui-color-text, ${e.unref(n.KUI_COLOR_TEXT)})`,decorative:""},null,8,["color"]))]),e.createElementVNode("div",p,[t.title?(e.openBlock(),e.createElementBlock("span",f,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),t.message?(e.openBlock(),e.createElementBlock("p",g,e.toDisplayString(t.message),1)):e.createCommentVNode("",!0)]),e.createElementVNode("button",{"aria-label":"Close",class:"toaster-close-icon","data-testid":"toaster-close-icon",type:"button",onClick:e.withModifiers(B=>a("close",t.key),["stop"])},[e.createVNode(e.unref(d.default),{color:`var(--kui-color-text-neutral-weak, ${e.unref(n.KUI_COLOR_TEXT_NEUTRAL_WEAK)})`,size:e.unref(n.KUI_ICON_SIZE_50)},null,8,["color","size"])],8,I)],2))),128))]),_:1}))}});exports.default=v;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("./kongponents237.cjs"),l=require("./kongponents173.cjs"),n=require("./kongponents167.cjs"),a=require("./kongponents179.cjs"),u=["href"],c=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.default),{key:0,decorative:"",size:e.unref(l.KUI_ICON_SIZE_30)},null,8,["size"]))],8,u)):e.createCommentVNode("",!0)}});exports.default=c;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("./kongponents237.cjs"),l=require("./kongponents179.cjs"),n=require("./kongponents167.cjs"),a=require("./kongponents183.cjs"),u=["href"],c=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.default),{key:0,decorative:"",size:e.unref(l.KUI_ICON_SIZE_30)},null,8,["size"]))],8,u)):e.createCommentVNode("",!0)}});exports.default=c;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("./kongponents236.cjs"),k=require("./kongponents173.cjs"),H=require("./kongponents199.cjs"),N=require("./kongponents171.cjs"),S=require("./kongponents179.cjs"),w=require("./kongponents32.cjs"),V={key:0,class:"truncate-expand-controls"},E={key:0,"data-testid":"expand-trigger-wrapper"},z=["aria-label"],$={key:0,"data-testid":"collapse-trigger-wrapper"},q={key:0,"data-testid":"expand-trigger-wrapper"},I={key:1},M=e.defineComponent({__name:"KTruncate",props:{rows:{default:1},truncateText:{type:Boolean},expanded:{type:Boolean},width:{default:"100%"}},setup(a){e.useCssVars(t=>({v47663137:p.value,v5a8ca8b3:e.unref(m),v11e4b8c8:t.rows})),e.watch(()=>a.rows,t=>{t<0&&S.warnInvalidProp("rows",`\`rows\` prop cannot be less than 0, but got "${t}".`)},{immediate:!0});const n=e.ref(a.expanded),d=e.ref(!1),f=e.ref(),o=e.ref(),i=e.ref(),g=e.ref(),p=e.ref("0px"),m=k.KUI_SPACE_40,s=e.ref(0),x=()=>{var t;if(!a.truncateText&&o.value&&(t=o.value.children)!=null&&t.length){const r=o.value.children,T=Number(String(m).replace(/px$/gi,""));let c=0;for(let u=0;u<r.length;u++)c=r[u].offsetHeight>c?r[u].offsetHeight:c;const h=(a.rows===1?0:(a.rows-1)*T)+c*a.rows+6,y=o.value.offsetHeight>h?`${h}px`:"auto";window.requestAnimationFrame(()=>{p.value=y,window.requestAnimationFrame(v)})}},v=()=>{if(o.value&&i.value){const t=a.truncateText?o.value.scrollHeight:o.value.offsetHeight,r=g.value?g.value.offsetHeight:0;d.value=t>i.value.offsetHeight-r,b()}},b=()=>{if(!a.truncateText&&(s.value=0,o.value&&i.value)){const t=o.value.children;for(let r=0;r<t.length;r++)t[r].offsetTop>i.value.offsetHeight?(s.value+=1,t[r].getAttribute("tabindex")&&(t[r].tabIndex=-1)):t[r].getAttribute("tabindex")&&(t[r].tabIndex=0)}},l=async()=>{n.value=!n.value,await e.nextTick(),v()},C=e.computed(()=>({width:N.normalizeSize(a.width)}));return e.onMounted(()=>{f.value=H.ResizeObserverHelper.create(x),f.value.observe(o.value),a.truncateText&&v()}),e.onBeforeUnmount(()=>{var t;(t=f.value)==null||t.unobserve(o.value)}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"kTruncateWrapper",ref:i,class:e.normalizeClass(["k-truncate",[n.value?"expanded":"",`truncate-${a.truncateText?"text":"content"}`]]),style:e.normalizeStyle(C.value)},[!a.truncateText&&d.value?(e.openBlock(),e.createElementBlock("div",V,[n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",E,[e.renderSlot(t.$slots,"expand-trigger",{expand:l,truncatedCount:s.value},()=>[e.createElementVNode("button",{"aria-label":`Show ${s.value} more items`,class:"expand-trigger",type:"button",onClick:e.withModifiers(l,["stop"])},e.toDisplayString(s.value),9,z)],!0)]))])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"kTruncateContainer",ref:o,class:"truncate-container"},[e.renderSlot(t.$slots,"default",{},void 0,!0),!a.truncateText&&n.value?(e.openBlock(),e.createElementBlock("div",$,[e.renderSlot(t.$slots,"collapse-trigger",{collapse:l},()=>[e.createElementVNode("button",{"aria-label":"Collapse content",class:"collapse-trigger",type:"button",onClick:e.withModifiers(l,["stop"])},[e.createVNode(e.unref(B.default),{decorative:"",size:e.unref(k.KUI_ICON_SIZE_30)},null,8,["size"])])],!0)])):e.createCommentVNode("",!0)],512),a.truncateText&&(d.value||n.value)?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"textToggleControls",ref:g,class:"truncate-collapse-controls"},[n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",q,[e.renderSlot(t.$slots,"expand-trigger",{expand:l},()=>[e.createVNode(w.default,{appearance:"tertiary",size:"small",onClick:e.withModifiers(l,["stop"])},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createTextVNode(" Show more ",-1)])]),_:1})],!0)])),n.value?(e.openBlock(),e.createElementBlock("div",I,[e.renderSlot(t.$slots,"collapse-trigger",{collapse:l},()=>[e.createVNode(w.default,{appearance:"tertiary",size:"small",onClick:e.withModifiers(l,["stop"])},{default:e.withCtx(()=>[...r[1]||(r[1]=[e.createTextVNode(" Show less ",-1)])]),_:1})],!0)])):e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0)],6))}});exports.default=M;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("./kongponents180.cjs"),k=require("./kongponents179.cjs"),H=require("./kongponents181.cjs"),N=require("./kongponents182.cjs"),S=require("./kongponents183.cjs"),w=require("./kongponents32.cjs"),V={key:0,class:"truncate-expand-controls"},E={key:0,"data-testid":"expand-trigger-wrapper"},z=["aria-label"],$={key:0,"data-testid":"collapse-trigger-wrapper"},q={key:0,"data-testid":"expand-trigger-wrapper"},I={key:1},M=e.defineComponent({__name:"KTruncate",props:{rows:{default:1},truncateText:{type:Boolean},expanded:{type:Boolean},width:{default:"100%"}},setup(a){e.useCssVars(t=>({v47663137:p.value,v5a8ca8b3:e.unref(m),v11e4b8c8:t.rows})),e.watch(()=>a.rows,t=>{t<0&&S.warnInvalidProp("rows",`\`rows\` prop cannot be less than 0, but got "${t}".`)},{immediate:!0});const n=e.ref(a.expanded),d=e.ref(!1),f=e.ref(),o=e.ref(),i=e.ref(),g=e.ref(),p=e.ref("0px"),m=k.KUI_SPACE_40,s=e.ref(0),x=()=>{var t;if(!a.truncateText&&o.value&&(t=o.value.children)!=null&&t.length){const r=o.value.children,T=Number(String(m).replace(/px$/gi,""));let c=0;for(let u=0;u<r.length;u++)c=r[u].offsetHeight>c?r[u].offsetHeight:c;const h=(a.rows===1?0:(a.rows-1)*T)+c*a.rows+6,y=o.value.offsetHeight>h?`${h}px`:"auto";window.requestAnimationFrame(()=>{p.value=y,window.requestAnimationFrame(v)})}},v=()=>{if(o.value&&i.value){const t=a.truncateText?o.value.scrollHeight:o.value.offsetHeight,r=g.value?g.value.offsetHeight:0;d.value=t>i.value.offsetHeight-r,b()}},b=()=>{if(!a.truncateText&&(s.value=0,o.value&&i.value)){const t=o.value.children;for(let r=0;r<t.length;r++)t[r].offsetTop>i.value.offsetHeight?(s.value+=1,t[r].getAttribute("tabindex")&&(t[r].tabIndex=-1)):t[r].getAttribute("tabindex")&&(t[r].tabIndex=0)}},l=async()=>{n.value=!n.value,await e.nextTick(),v()},C=e.computed(()=>({width:N.normalizeSize(a.width)}));return e.onMounted(()=>{f.value=H.ResizeObserverHelper.create(x),f.value.observe(o.value),a.truncateText&&v()}),e.onBeforeUnmount(()=>{var t;(t=f.value)==null||t.unobserve(o.value)}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"kTruncateWrapper",ref:i,class:e.normalizeClass(["k-truncate",[n.value?"expanded":"",`truncate-${a.truncateText?"text":"content"}`]]),style:e.normalizeStyle(C.value)},[!a.truncateText&&d.value?(e.openBlock(),e.createElementBlock("div",V,[n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",E,[e.renderSlot(t.$slots,"expand-trigger",{expand:l,truncatedCount:s.value},()=>[e.createElementVNode("button",{"aria-label":`Show ${s.value} more items`,class:"expand-trigger",type:"button",onClick:e.withModifiers(l,["stop"])},e.toDisplayString(s.value),9,z)],!0)]))])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"kTruncateContainer",ref:o,class:"truncate-container"},[e.renderSlot(t.$slots,"default",{},void 0,!0),!a.truncateText&&n.value?(e.openBlock(),e.createElementBlock("div",$,[e.renderSlot(t.$slots,"collapse-trigger",{collapse:l},()=>[e.createElementVNode("button",{"aria-label":"Collapse content",class:"collapse-trigger",type:"button",onClick:e.withModifiers(l,["stop"])},[e.createVNode(e.unref(B.default),{decorative:"",size:e.unref(k.KUI_ICON_SIZE_30)},null,8,["size"])])],!0)])):e.createCommentVNode("",!0)],512),a.truncateText&&(d.value||n.value)?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"textToggleControls",ref:g,class:"truncate-collapse-controls"},[n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",q,[e.renderSlot(t.$slots,"expand-trigger",{expand:l},()=>[e.createVNode(w.default,{appearance:"tertiary",size:"small",onClick:e.withModifiers(l,["stop"])},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createTextVNode(" Show more ",-1)])]),_:1})],!0)])),n.value?(e.openBlock(),e.createElementBlock("div",I,[e.renderSlot(t.$slots,"collapse-trigger",{collapse:l},()=>[e.createVNode(w.default,{appearance:"tertiary",size:"small",onClick:e.withModifiers(l,["stop"])},{default:e.withCtx(()=>[...r[1]||(r[1]=[e.createTextVNode(" Show less ",-1)])]),_:1})],!0)])):e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0)],6))}});exports.default=M;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),T=require("./kongponents199.cjs"),C=require("./kongponents206.cjs"),h=require("./kongponents19.cjs"),m=require("./kongponents24.cjs");;/* empty css */const k=require("./kongponents173.cjs"),B={class:"k-copy"},L={key:0,class:"copy-badge-text"},w=["id","aria-label","onClick"],E=e.defineComponent({__name:"KCopy",props:{badgeLabel:{default:""},text:{},textTooltip:{default:""},copyTooltip:{default:""},format:{default:"default"},badge:{type:Boolean},monospace:{type:Boolean},truncate:{type:Boolean},successTooltip:{default:"Copied!"},truncationLimit:{default:8}},setup(t,{expose:f}){const u=e.useId(),l=e.ref(""),d=e.computed(()=>!t.badgeLabel||t.copyTooltip?t.copyTooltip||"Copy":`Copy ${t.badgeLabel.replace(/:$/,"")}`);e.watch(d,a=>{l.value=a},{immediate:!0});const v=e.computed(()=>`copy-tooltip-wrapper ${t.truncate&&c.value||t.badge?"truncate-content":""}`),b=e.computed(()=>t.format==="redacted"?"*****":t.format==="deleted"?`*${String(t.text||"").substring(0,5)}`:t.truncate&&t.truncationLimit&&i.value?i.value.replace(/^"(.*)"$/,"$1"):t.text),y=e.computed(()=>{if(t.textTooltip)return t.textTooltip;if(!(t.format==="redacted"||!c.value))return t.text}),s=a=>{l.value=a||t.successTooltip,setTimeout(()=>{l.value=d.value},1800)},x=async a=>{if(!await a(t.text)){s("Failed to copy");return}s()};f({copy:()=>{var a;document!=null&&document.getElementById(u)&&((a=document==null?void 0:document.getElementById(u))==null||a.click())}});const o=e.ref(),n=e.ref(),i=e.computed(()=>t.truncate&&typeof t.truncationLimit=="number"?`${String(t.text||"").substring(0,t.truncationLimit)+"..."}`:null),c=e.ref(!1),p=()=>{var a,r;t.truncate&&(t.truncationLimit!=="auto"&&i.value?c.value=!0:t.truncationLimit==="auto"&&o.value&&(c.value=((a=o.value)==null?void 0:a.offsetWidth)<((r=o.value)==null?void 0:r.scrollWidth)))};return e.onMounted(()=>{n.value=T.ResizeObserverHelper.create(p),n.value.observe(o.value)}),e.onBeforeUnmount(()=>{n.value&&n.value.unobserve(o.value)}),(a,r)=>(e.openBlock(),e.createElementBlock("div",B,[t.badge&&t.badgeLabel?(e.openBlock(),e.createElementBlock("span",L,e.toDisplayString(t.badgeLabel),1)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["copy-container",{"copy-element":t.truncate||t.badge,"badge-styles":t.badge}])},[t.format!=="hidden"?(e.openBlock(),e.createBlock(m.default,{key:0,class:e.normalizeClass([v.value]),"data-testid":"copy-tooltip-wrapper","max-width":"500px",placement:"bottom-start",text:y.value},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"copyTextElement",ref:o,class:e.normalizeClass(["copy-text",{monospace:t.monospace||!t.badge}])},e.toDisplayString(b.value),3)]),_:1},8,["class","text"])):e.createCommentVNode("",!0),e.createVNode(m.default,{class:"text-icon-wrapper","max-width":"500px",placement:"bottom-start",text:l.value},{default:e.withCtx(()=>[e.createVNode(h.default,null,{default:e.withCtx(({copyToClipboard:g})=>[e.createElementVNode("button",{id:e.unref(u),"aria-label":l.value,class:"copy-to-clipboard-button","data-testid":"copy-to-clipboard",type:"button",onClick:e.withModifiers(N=>x(g),["stop"])},[e.createVNode(e.unref(C.default),{class:"text-icon",decorative:"",size:e.unref(k.KUI_ICON_SIZE_30)},null,8,["size"])],8,w)]),_:1})]),_:1},8,["text"])],2)]))}});exports.default=E;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),T=require("./kongponents181.cjs"),C=require("./kongponents195.cjs"),h=require("./kongponents19.cjs"),m=require("./kongponents24.cjs");;/* empty css */const k=require("./kongponents179.cjs"),B={class:"k-copy"},L={key:0,class:"copy-badge-text"},w=["id","aria-label","onClick"],E=e.defineComponent({__name:"KCopy",props:{badgeLabel:{default:""},text:{},textTooltip:{default:""},copyTooltip:{default:""},format:{default:"default"},badge:{type:Boolean},monospace:{type:Boolean},truncate:{type:Boolean},successTooltip:{default:"Copied!"},truncationLimit:{default:8}},setup(t,{expose:f}){const u=e.useId(),l=e.ref(""),d=e.computed(()=>!t.badgeLabel||t.copyTooltip?t.copyTooltip||"Copy":`Copy ${t.badgeLabel.replace(/:$/,"")}`);e.watch(d,a=>{l.value=a},{immediate:!0});const v=e.computed(()=>`copy-tooltip-wrapper ${t.truncate&&c.value||t.badge?"truncate-content":""}`),b=e.computed(()=>t.format==="redacted"?"*****":t.format==="deleted"?`*${String(t.text||"").substring(0,5)}`:t.truncate&&t.truncationLimit&&i.value?i.value.replace(/^"(.*)"$/,"$1"):t.text),y=e.computed(()=>{if(t.textTooltip)return t.textTooltip;if(!(t.format==="redacted"||!c.value))return t.text}),s=a=>{l.value=a||t.successTooltip,setTimeout(()=>{l.value=d.value},1800)},x=async a=>{if(!await a(t.text)){s("Failed to copy");return}s()};f({copy:()=>{var a;document!=null&&document.getElementById(u)&&((a=document==null?void 0:document.getElementById(u))==null||a.click())}});const o=e.ref(),n=e.ref(),i=e.computed(()=>t.truncate&&typeof t.truncationLimit=="number"?`${String(t.text||"").substring(0,t.truncationLimit)+"..."}`:null),c=e.ref(!1),p=()=>{var a,r;t.truncate&&(t.truncationLimit!=="auto"&&i.value?c.value=!0:t.truncationLimit==="auto"&&o.value&&(c.value=((a=o.value)==null?void 0:a.offsetWidth)<((r=o.value)==null?void 0:r.scrollWidth)))};return e.onMounted(()=>{n.value=T.ResizeObserverHelper.create(p),n.value.observe(o.value)}),e.onBeforeUnmount(()=>{n.value&&n.value.unobserve(o.value)}),(a,r)=>(e.openBlock(),e.createElementBlock("div",B,[t.badge&&t.badgeLabel?(e.openBlock(),e.createElementBlock("span",L,e.toDisplayString(t.badgeLabel),1)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["copy-container",{"copy-element":t.truncate||t.badge,"badge-styles":t.badge}])},[t.format!=="hidden"?(e.openBlock(),e.createBlock(m.default,{key:0,class:e.normalizeClass([v.value]),"data-testid":"copy-tooltip-wrapper","max-width":"500px",placement:"bottom-start",text:y.value},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"copyTextElement",ref:o,class:e.normalizeClass(["copy-text",{monospace:t.monospace||!t.badge}])},e.toDisplayString(b.value),3)]),_:1},8,["class","text"])):e.createCommentVNode("",!0),e.createVNode(m.default,{class:"text-icon-wrapper","max-width":"500px",placement:"bottom-start",text:l.value},{default:e.withCtx(()=>[e.createVNode(h.default,null,{default:e.withCtx(({copyToClipboard:g})=>[e.createElementVNode("button",{id:e.unref(u),"aria-label":l.value,class:"copy-to-clipboard-button","data-testid":"copy-to-clipboard",type:"button",onClick:e.withModifiers(N=>x(g),["stop"])},[e.createVNode(e.unref(C.default),{class:"text-icon",decorative:"",size:e.unref(k.KUI_ICON_SIZE_30)},null,8,["size"])],8,w)]),_:1})]),_:1},8,["text"])],2)]))}});exports.default=E;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Q=require("./kongponents32.cjs"),ge=require("./kongponents45.cjs"),tt=require("./kongponents20.cjs");;/* empty css */const pe=require("./kongponents24.cjs");;/* empty css */const at=require("./kongponents180.cjs"),ot=require("./kongponents181.cjs"),lt=require("./kongponents172.cjs"),nt=require("./kongponents182.cjs"),rt=require("./kongponents183.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const it=require("./kongponents11.cjs"),i=require("./kongponents17.cjs"),C=require("./kongponents173.cjs"),st=require("./kongponents184.cjs"),ut=require("./kongponents54.cjs"),ct=require("./kongponents43.cjs"),we=require("./kongponents36.cjs"),dt=require("./kongponents185.cjs"),ft=require("./kongponents169.cjs"),yt=require("./kongponents151.cjs"),vt=require("./kongponents186.cjs"),kt=require("./kongponents177.cjs"),bt=require("./kongponents171.cjs"),mt=require("./kongponents40.cjs"),gt=require("./kongponents187.cjs"),pt={key:0,class:"table-toolbar","data-testid":"table-toolbar"},wt={key:0,class:"toolbar-default-items-container"},Ct={key:2,class:"table-error-state","data-testid":"table-error-state"},ht={key:3,class:"table-empty-state","data-testid":"table-empty-state"},St={key:4,class:"table-container"},Tt=["data-tableid"],At=["aria-sort","data-key","data-testid","onClick","onMouseover"],Bt=["onMousedown","onMouseover"],Et=["aria-describedby"],Nt={key:1,class:"table-header-bulk-actions-container"},Kt=["onMousedown","onMouseover"],Vt=["role","tabindex"],Ht={key:1,class:"expandable-row-control-container"},Rt=["aria-controls","aria-expanded","onClick"],xt=["id"],Ot=["colspan"],Lt={class:"expandable-content-wrapper"},_="desc",It=e.defineComponent({__name:"KTableView",props:{data:{default:()=>[]},headers:{default:()=>[]},resizeColumns:{type:Boolean},tablePreferences:{default:()=>({})},rowHover:{type:Boolean,default:!0},rowAttrs:{default:()=>(()=>({}))},rowLink:{default:()=>(()=>({}))},rowBulkActionEnabled:{default:()=>(()=>!0)},rowKey:{},cellAttrs:{default:()=>(()=>({}))},loading:{type:Boolean},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:()=>it.EmptyStateIconVariants.Default},emptyStateButtonAppearance:{default:"primary"},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{},errorStateActionMessage:{default:""},maxHeight:{default:"none"},hidePagination:{type:Boolean},paginationAttributes:{default:()=>({})},rowExpandable:{default:()=>(()=>!1)},rowExpanded:{default:()=>(()=>!1)},hideHeaders:{type:Boolean},nested:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},hideToolbar:{type:Boolean},tooltipTarget:{default:"body"},"onRow:click":{type:Function},"onRow:dblclick":{type:Function},"onRow:auxclick":{type:Function},"onRow:contextmenu":{type:Function},"onRow:mouseover":{type:Function},"onRow:mouseout":{type:Function},"onRow:mouseenter":{type:Function},"onRow:mouseleave":{type:Function},"onRow:mousedown":{type:Function},"onRow:mouseup":{type:Function},"onRow:focus":{type:Function},"onRow:focusin":{type:Function},"onRow:blur":{type:Function},"onRow:focusout":{type:Function},"onRow:keydown":{type:Function},"onRow:keyup":{type:Function},"onRow:keypress":{type:Function},"onCell:click":{type:Function},"onCell:dblclick":{type:Function},"onCell:auxclick":{type:Function},"onCell:contextmenu":{type:Function},"onCell:mouseover":{type:Function},"onCell:mouseout":{type:Function},"onCell:mouseenter":{type:Function},"onCell:mouseleave":{type:Function},"onCell:mousedown":{type:Function},"onCell:mouseup":{type:Function},"onCell:focus":{type:Function},"onCell:focusin":{type:Function},"onCell:blur":{type:Function},"onCell:focusout":{type:Function},"onCell:keydown":{type:Function},"onCell:keyup":{type:Function},"onCell:keypress":{type:Function}},emits:["page-change","page-size-change","get-next-offset","get-previous-offset","cell-click","row-click","error-action-click","empty-state-action-click","update:table-preferences","sort","row-select","update:row-expanded","row-actions-toggle"],setup(l,{emit:Ce}){e.useCssVars(t=>({v1d9185fc:e.unref(Oe).expandable,v2e5a7fab:$e.value,v3ffd4ac3:le.value,v83fbd9d2:He.value}));const ee=e.createPropsRestProxy(l,["resizeColumns","tablePreferences","rowHover","rowAttrs","rowLink","rowBulkActionEnabled","rowKey","cellAttrs","loading","emptyStateTitle","emptyStateMessage","emptyStateActionMessage","emptyStateIconVariant","emptyStateButtonAppearance","emptyStateActionRoute","error","errorStateTitle","errorStateMessage","errorStateActionMessage","errorStateActionRoute","maxHeight","hidePagination","paginationAttributes","rowExpandable","rowExpanded","hideHeaders","nested","hidePaginationWhenOptional","hideToolbar","tooltipTarget","data","headers"]),v=Ce,A=e.useSlots(),b=e.useId(),m=t=>typeof l.rowKey=="function"&&typeof l.rowKey(t)=="string"?l.rowKey(t):typeof l.rowKey=="string"&&l.rowKey in t&&typeof t[l.rowKey]=="string"?t[l.rowKey]:"",te=t=>{const o=t.filter(n=>n.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&n.key!==i.TableViewHeaderKeys.ACTIONS),a=t.find(n=>n.key===i.TableViewHeaderKeys.BULK_ACTIONS),r=t.find(n=>n.key===i.TableViewHeaderKeys.ACTIONS);return a&&o.unshift(a),r&&o.push(r),o},ae=e.useTemplateRef("table-wrapper"),he=e.useTemplateRef("table"),Se=e.useTemplateRef("header-row"),h=e.ref(te(l.headers)),d=e.ref([]),x=e.ref(""),B=e.ref(""),P=e.ref(""),Te=e.computed(()=>h.value.some(t=>t.key===i.TableViewHeaderKeys.ACTIONS)),oe=e.computed(()=>h.value.filter(t=>t.hidable).length>0),E=e.computed(()=>l.nested||!oe.value||l.error?!1:A.toolbar?!0:!l.loading&&!!l.data&&!!l.data.length),Ae=e.computed(()=>l.loading||!(l.data&&l.data.length)),Be=e.computed(()=>h.value.filter(t=>t.hidable&&!U(t.key))),Ee=e.computed(()=>E.value?l.tablePreferences.columnVisibility||{}:{}),N=e.ref(E.value?l.tablePreferences.columnVisibility||{}:{}),le=e.ref("100%"),X=e.ref(!1),O=e.ref(!1),S=e.ref(!1),K=e.ref(!1),y=e.ref(l.tablePreferences.sortColumnKey||""),k=e.ref(l.tablePreferences.sortColumnOrder||_),j=e.ref(!1),Ne=e.computed(()=>!l.hideToolbar&&!l.nested&&(!!A.toolbar||E.value||G.value)),Ke=e.useTemplateRef("actionsDropdown"),Z=e.ref(!1),Ve=e.computed(()=>({maxHeight:bt.normalizeSize(l.maxHeight)})),He=e.computed(()=>`${vt.getScrollbarSize()}px`),V=e.ref([]),L=e.computed(()=>!l.nested&&!l.error&&h.value.some(t=>t.key===i.TableViewHeaderKeys.BULK_ACTIONS)&&!!(A["bulk-action-items"]||A["bulk-actions"])&&!!l.data.every(t=>m(t))),I=e.ref([]),G=e.computed(()=>l.nested||!L.value||l.error?!1:A.toolbar?!0:!l.loading&&!!l.data&&!!l.data.length),ne=e.computed(()=>{const t=V.value.length;return t?t>100?"99+":String(t):""}),F=e.ref(new WeakMap),Re=t=>`column-${t}`,H=t=>`tooltip-${t}`,re=(t,o)=>(a,r)=>{const n=/^on[^a-z]/,u={};for(const s in o)n.test(s)&&o[s]&&(u[s]=o[s]);return Object.keys(u).reduce((s,c)=>{if(c.indexOf(t)===0){const f=c.split(t);s[f[1]]=p=>u[c](p,a,r)}return s},{})},xe=e.computed(()=>(t,o)=>{const a=re("onRow:",ee)(o,"row"),r=re("onCell:",ee)(t,"cell"),n=["a","button","label","input","select",'span[role="checkbox"]'];return(a.click||r.click)&&(j.value=!0),{...a,...r,click(u){const s=u.target,c=s.className;let f=n.includes(s.tagName.toLowerCase()),p=!1;typeof c=="string"||Array.isArray(c)?p=c.includes("k-popover"):typeof c=="object"&&(p=Object.keys(c).includes("k-popover")),s.closest(".popover-content")!==null&&(p=!0);for(let w=0;w<n.length;w++)if(s.closest(n[w])!==null){f=!0;break}if((!f||s.hasAttribute("disabled"))&&!p&&(a.click||r.click))if(r.click){v("cell-click",{data:t});const w=r.click(u,t,"cell");typeof w=="function"&&w(u,t)}else{v("row-click",{data:o});const w=a.click(u,o,"row");typeof w=="function"&&w(u,o)}}}}),ie=parseInt(C.KUI_SPACE_60)*2+parseInt(C.KUI_ICON_SIZE_30),se={expandable:ie,bulkActions:48,actions:54},Oe=gt.default(se,t=>`${t}px`),T=e.ref({...l.tablePreferences.columnWidths||{},...se}),ue=e.computed(()=>{const t={};for(const o in T.value){const a=o;if(!T.value[a])continue;const r=T.value[a]+"px";t[a]={width:r,maxWidth:r,minWidth:r}}return t}),Le=(t,o)=>({"resize-hover":ce.value===t.key&&o!==d.value.length-1&&D(t),resizable:l.resizeColumns&&!l.nested,sortable:!t.hideLabel&&!!t.sortable,"active-sort":!t.hideLabel&&!!t.sortable&&t.key===y.value,[k.value]:t.key===y.value&&!t.hideLabel,"is-scrolled":O.value,"has-tooltip":!!t.tooltip,"sticky-column":ye(t.key),"second-sticky-column":ve(t.key),"has-row-scroll-overlay":M(t.key),"actions-column":t.key===i.TableViewHeaderKeys.ACTIONS}),Ie=t=>{if(t.sortable&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS){let o="asc",a=t.key;a===y.value&&k.value==="asc"&&(o="desc"),a===y.value&&k.value==="desc"&&(a="",o=_),v("sort",{prevKey:y.value,sortColumnKey:a,sortColumnOrder:o}),Ue(a)}},ze=e.computed(()=>x.value?"resizing":B.value?"resize-hover":P.value?"th-hover":""),ce=e.computed(()=>{switch(ze.value){case"resizing":return x.value;case"resize-hover":return B.value;case"th-hover":return P.value;default:return""}}),de=e.computed(()=>{var t;return(t=Se.value)==null?void 0:t.querySelectorAll("th.resizable")}),$e=e.computed(()=>{var o;const t=(o=de.value)==null?void 0:o.item(0);if(t){const a=window==null?void 0:window.getComputedStyle(t);if(a!=null&&a.height)return`${parseInt(a.height,10)}px`}return"auto"}),fe=(t,o)=>{var c;if(t.button!==0)return;let a=0,r=0;x.value=o;let n=null;(c=de.value)==null||c.forEach(f=>{f.getAttribute("data-testid")===`table-header-${o}`&&(n=document==null?void 0:document.querySelector(`[data-tableid="${b}"] [data-testid="table-header-${o}"]`))});const u=f=>{const p=f.clientX-a;n==null||n.setAttribute("style",`width: ${r+p}px`),T.value[o]=r+p},s=()=>{x.value="",document==null||document.removeEventListener("mousemove",u),document==null||document.removeEventListener("mouseup",s),W(),R.value&&Y()};if(a=t.clientX,n){const f=window==null?void 0:window.getComputedStyle(n);f!=null&&f.width&&(r=parseInt(f.width,10)),document==null||document.addEventListener("mousemove",u),document==null||document.addEventListener("mouseup",s)}},ye=t=>S.value?t===i.TableViewHeaderKeys.BULK_ACTIONS||t===i.TableViewHeaderKeys.EXPANDABLE:!1,ve=t=>t===i.TableViewHeaderKeys.BULK_ACTIONS&&R.value,M=t=>S.value?L.value?t===i.TableViewHeaderKeys.BULK_ACTIONS:R.value?t===i.TableViewHeaderKeys.EXPANDABLE:!1:!1,U=t=>t===i.TableViewHeaderKeys.EXPANDABLE||t===i.TableViewHeaderKeys.BULK_ACTIONS||t===i.TableViewHeaderKeys.ACTIONS,D=(t,o=!1)=>{if(!l.resizeColumns||l.nested)return!1;if(o){if(d.value.indexOf(t)===d.value.length-1)return!1;const r=d.value[d.value.indexOf(t)-1];return!U(r.key)}const a=d.value[d.value.indexOf(t)+1];return!U(t.key)&&!U(a.key)},Pe=(t,o,a)=>{v("row-actions-toggle",{row:t,open:o}),setTimeout(()=>{a.isRowActionsDropdownOpen=o},o?0:100)},Fe=e.computed(()=>!(l.hidePagination||l.nested||l.hidePaginationWhenOptional&&l.data.length&&l.paginationAttributes.totalCount&&l.paginationAttributes.totalCount<=l.data.length));e.watch(()=>l.headers,t=>{h.value=te(t)},{deep:!0,immediate:!0});const Me=t=>!t.hideLabel&&!!t.sortable&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS,Ue=t=>{y.value&&t?t===y.value?k.value==="asc"?k.value="desc":k.value="asc":(y.value=t,k.value="asc"):t?(y.value=t,k.value="asc"):(y.value="",k.value=_),W()},De=t=>{var a;const o=t.target;o&&(typeof o.scrollTop=="number"||typeof o.scrollLeft=="number")&&(o.scrollTop>1?(X.value=!0,O.value=!0):o.scrollTop===0&&(O.value=!1),o.scrollLeft>1?S.value=!0:o.scrollLeft===0&&(S.value=!1),o.scrollWidth<=o.scrollLeft+o.clientWidth?K.value=!1:K.value=!0),(a=Ke.value)==null||a.forEach(r=>{r&&r.closeDropdown&&r.closeDropdown()})},q=t=>I.value.find(o=>o.rowKey===m(t)),qe=(t,o)=>({"data-testid":l.rowAttrs(t)["data-testid"]?`${l.rowAttrs(t)["data-testid"]}-actions-dropdown-popover`:`row-${o}-actions-dropdown-popover`}),J=t=>{if(typeof l.rowBulkActionEnabled!="function")return!1;const o=l.rowBulkActionEnabled(t);return typeof o=="boolean"?o:o.enabled},We=t=>{if(typeof l.rowBulkActionEnabled!="function")return"";const o=l.rowBulkActionEnabled(t);return typeof o=="boolean"?"":o.disabledTooltip||""},Xe=(t,o)=>{const{to:a}=l.rowLink(t);return!a||o===i.TableViewHeaderKeys.BULK_ACTIONS||o===i.TableViewHeaderKeys.ACTIONS?"div":typeof a=="object"?"router-link":"a"},je=(t,o)=>{if(o===i.TableViewHeaderKeys.BULK_ACTIONS||o===i.TableViewHeaderKeys.ACTIONS)return{};const{to:a,target:r}=l.rowLink(t),n=a&&typeof a=="object",u=a&&typeof a=="string";return{...n&&{to:a},...u&&{href:a},...(n||u)&&{...r&&{target:r}}}},ke=e.ref(0),z=e.ref(ft.getInitialPageSize(l.tablePreferences,l.paginationAttributes)),Ze=t=>{z.value=t.pageSize,v("page-size-change",t),W()},Ge=e.computed(()=>({sortColumnKey:y.value,sortColumnOrder:k.value,...l.resizeColumns?{columnWidths:T.value}:{},...oe.value?{columnVisibility:N.value}:{},...z.value&&!l.hidePagination&&{pageSize:z.value}})),W=()=>{v("update:table-preferences",Ge.value)},R=e.computed(()=>!l.nested&&l.data.some(t=>l.rowExpandable(t))),Je={key:i.TableViewHeaderKeys.EXPANDABLE,label:"Expandable rows controls",hideLabel:!0},be=()=>{const t=[];return l.data.forEach((o,a)=>{l.rowExpanded(o)&&t.push(a)}),t},g=e.ref(be()),Ye=async(t,o)=>{Y(),await e.nextTick(),g.value.includes(t)?(g.value=g.value.filter(a=>a!==t),v("update:row-expanded",{row:o,expanded:!1})):(g.value=[...g.value,t],v("update:row-expanded",{row:o,expanded:!0}))},Qe=e.computed(()=>d.value.filter(t=>t.key!==i.TableViewHeaderKeys.EXPANDABLE&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS)),me=e.ref({}),Y=()=>{if(typeof document>"u")return;const t=document==null?void 0:document.querySelector(`[data-tableid="${b}"]`),o=t==null?void 0:t.querySelectorAll("th"),a={};o==null||o.forEach((r,n)=>{const u=r.getAttribute("data-key");if(u===i.TableViewHeaderKeys.EXPANDABLE)return;let s=r.getBoundingClientRect().width;n===1&&(s+=ie),n===o.length-1&&(s-=15),a[u]=s}),me.value=a};e.watch([N,h,R],t=>{const[o,a,r]=t;let n=a.filter(u=>u.key===i.TableViewHeaderKeys.BULK_ACTIONS?L.value:o[u.key]!==!1);n.find(u=>u.key===i.TableViewHeaderKeys.EXPANDABLE)&&(n=n.filter(u=>u.key!==i.TableViewHeaderKeys.EXPANDABLE)),r&&n.unshift(Je),JSON.stringify(n)!==JSON.stringify(d.value)&&(d.value=n,W()),r&&Y()},{deep:!0,immediate:!0}),e.watch(E,t=>{t&&(N.value=l.tablePreferences.columnVisibility||{})},{immediate:!0});const $=e.ref(!1),_e=e.computed(()=>{const t=I.value.filter(o=>!o.disabled&&l.data.find(a=>m(a)===o.rowKey));return!!t.filter(o=>o.selected).length&&!!t.filter(o=>!o.selected).length}),et=t=>{I.value.forEach(o=>{l.data.find(a=>m(a)===o.rowKey)&&!o.disabled&&(o.selected=t)})};return e.watch([()=>l.data,I],t=>{const[o,a]=t;if(o.forEach(r=>{if(!F.value.get(r)){const n=m(r)||yt.getUniqueStringId();F.value.set(r,`table-${b}-row-${n}`)}}),L.value){o.forEach(s=>{q(s)||I.value.push({rowKey:m(s),selected:!1,disabled:!J(s)})});const r=a.filter(s=>!s.disabled&&o.find(c=>m(c)===s.rowKey));r.length&&r.filter(s=>s.selected).length===r.length?$.value=!0:(r.filter(s=>!s.selected).length,r.length,$.value=!1);const n=o.filter(s=>{const c=a.find(f=>f.rowKey===m(s));return!!(c&&c.selected)}),u=[];V.value.forEach(s=>{o.find(f=>m(s)===m(f))||u.push(s)}),V.value=[...u,...n]}g.value=be()},{deep:!0,immediate:!0}),e.watch(V,t=>{v("row-select",t)}),e.watch(()=>l.tablePreferences,t=>{t!=null&&t.pageSize&&(z.value=t.pageSize,ke.value++),y.value=t!=null&&t.sortColumnKey?t.sortColumnKey:y.value,k.value=t!=null&&t.sortColumnOrder?t.sortColumnOrder:k.value,T.value=t!=null&&t.columnWidths?t.columnWidths:T.value,N.value=t!=null&&t.columnVisibility?t.columnVisibility:N.value}),kt.useResizeObserver([ae,he],()=>{const t=ae.value;t&&(K.value=t.scrollWidth>t.clientWidth,le.value=t.clientHeight+"px",X.value=t.scrollHeight>t.clientHeight)}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-table-view",{"hide-headers":l.hideHeaders}])},[Ne.value?(e.openBlock(),e.createElementBlock("div",pt,[e.renderSlot(t.$slots,"toolbar",{},void 0,!0),G.value||E.value?(e.openBlock(),e.createElementBlock("div",wt,[G.value?e.renderSlot(t.$slots,"bulk-actions",{key:0,selectedRows:V.value},()=>[t.$slots["bulk-actions"]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(dt.default,{key:0,"button-label":h.value.find(a=>a.key===e.unref(i.TableViewHeaderKeys).BULK_ACTIONS).label,count:ne.value,disabled:!ne.value||l.loading||!l.data.length},{items:e.withCtx(()=>[e.renderSlot(t.$slots,"bulk-action-items",{selectedRows:V.value},void 0,!0)]),_:3},8,["button-label","count","disabled"]))],!0):e.createCommentVNode("",!0),E.value?(e.openBlock(),e.createBlock(st.default,{key:1,columns:Be.value,disabled:Ae.value,"table-id":e.unref(b),"visibility-preferences":Ee.value,onUpdate:o[0]||(o[0]=a=>N.value=a)},null,8,["columns","disabled","table-id","visibility-preferences"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),l.loading&&!l.error?(e.openBlock(),e.createBlock(tt.default,{key:1,"data-testid":"table-skeleton",type:"table"})):l.error?(e.openBlock(),e.createElementBlock("div",Ct,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode(ge.default,{"icon-variant":"error",message:l.errorStateMessage,title:l.errorStateTitle},e.createSlots({_:2},[l.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(Q.default,{"data-testid":"error-state-action",to:l.errorStateActionRoute,onClick:o[1]||(o[1]=a=>v("error-action-click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.errorStateActionMessage),1)]),_:1},8,["to"])]),key:"0"}:void 0]),1032,["message","title"])],!0)])):!l.error&&!l.loading&&l.data&&!l.data.length?(e.openBlock(),e.createElementBlock("div",ht,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode(ge.default,{"icon-variant":l.emptyStateIconVariant,message:l.emptyStateMessage,title:l.emptyStateTitle},e.createSlots({_:2},[l.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(Q.default,{appearance:l.emptyStateButtonAppearance,"data-testid":"empty-state-action",to:l.emptyStateActionRoute,onClick:o[2]||(o[2]=a=>v("empty-state-action-click"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"empty-state-action-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(l.emptyStateActionMessage),1)]),_:3},8,["appearance","to"])]),key:"0"}:void 0]),1032,["icon-variant","message","title"])],!0)])):(e.openBlock(),e.createElementBlock("div",St,[e.createElementVNode("div",{ref:"table-wrapper",class:"table-wrapper",style:e.normalizeStyle(Ve.value),onScrollPassive:De},[e.createElementVNode("table",{ref:"table",class:e.normalizeClass(["table",{"has-hover":l.rowHover&&!Z.value,"is-clickable":j.value}]),"data-tableid":e.unref(b)},[l.hideHeaders?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("thead",{key:0,class:e.normalizeClass({"is-scrolled":O.value})},[e.createElementVNode("tr",{ref:"header-row",class:e.normalizeClass({"is-scrolled":O.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(a,r)=>(e.openBlock(),e.createElementBlock("th",{key:`table-${e.unref(b)}-headers-${a.key}`,"aria-sort":a.key===y.value?k.value==="asc"?"ascending":"descending":void 0,class:e.normalizeClass(["table-headers",Le(a,r)]),"data-key":a.key,"data-testid":`table-header-${a.key}`,style:e.normalizeStyle(ue.value[a.key]),onClick:()=>Ie(a),onMouseleave:o[8]||(o[8]=n=>P.value=""),onMouseover:n=>P.value=a.key},[r!==0&&D(a,!0)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"resize-handle previous",onClick:o[3]||(o[3]=e.withModifiers(()=>{},["stop"])),onMousedown:n=>fe(n,d.value[r-1].key),onMouseleave:o[4]||(o[4]=n=>B.value=""),onMouseover:n=>B.value=d.value[r-1].key},null,40,Bt)):e.createCommentVNode("",!0),e.createElementVNode("div",{"aria-describedby":a.tooltip||A[H(a.key)]?`${H(a.key)}-${e.unref(b)}`:void 0,class:e.normalizeClass(["table-headers-container",{resized:x.value===a.key}])},[a.key!==e.unref(i.TableViewHeaderKeys).BULK_ACTIONS?e.renderSlot(t.$slots,Re(a.key),{key:0,column:a},()=>[e.createElementVNode("span",{class:e.normalizeClass(["table-header-label",{"sr-only":a.hideLabel||a.key===e.unref(i.TableViewHeaderKeys).ACTIONS&&a.hideLabel!==!1}])},e.toDisplayString(a.label?a.label:a.key),3)],!0):(e.openBlock(),e.createElementBlock("div",Nt,[e.createVNode(we.default,{modelValue:$.value,"onUpdate:modelValue":o[5]||(o[5]=n=>$.value=n),"aria-label":"Toggle selection for all rows",class:"table-header-bulk-actions-checkbox","data-testid":"table-header-bulk-actions-checkbox",indeterminate:_e.value,onChange:et},null,8,["modelValue","indeterminate"])])),a.tooltip||t.$slots[H(a.key)]?(e.openBlock(),e.createBlock(pe.default,{key:2,"data-testid":H(a.key),"kpop-attributes":{target:l.tooltipTarget},"max-width":"300","tooltip-id":`${H(a.key)}-${e.unref(b)}`},{content:e.withCtx(()=>[e.renderSlot(t.$slots,H(a.key),{column:a},()=>[e.createTextVNode(e.toDisplayString(a.tooltip),1)],!0)]),default:e.withCtx(()=>[e.createVNode(e.unref(lt.default),{class:"header-tooltip-trigger",color:`var(--kui-color-text-neutral, ${e.unref(C.KUI_COLOR_TEXT_NEUTRAL)})`,size:e.unref(C.KUI_ICON_SIZE_30),tabindex:"0"},null,8,["color","size"])]),_:2},1032,["data-testid","kpop-attributes","tooltip-id"])):e.createCommentVNode("",!0),Me(a)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[y.value===a.key?(e.openBlock(),e.createBlock(e.unref(at.default),{key:0,class:"active-sort-icon",color:`var(--kui-color-text-primary, ${e.unref(C.KUI_COLOR_TEXT_PRIMARY)})`,decorative:"",size:e.unref(C.KUI_ICON_SIZE_30)},null,8,["color","size"])):(e.openBlock(),e.createBlock(e.unref(rt.default),{key:1,class:"sort-icon",color:`var(--kui-color-text-neutral-weak, ${e.unref(C.KUI_COLOR_TEXT_NEUTRAL_WEAK)})`,size:e.unref(C.KUI_ICON_SIZE_30),title:`Sort by ${a.label}`},null,8,["color","size","title"]))],64)):e.createCommentVNode("",!0)],10,Et),r!==d.value.length-1&&D(a)?(e.openBlock(),e.createElementBlock("div",{key:1,class:"resize-handle",onClick:o[6]||(o[6]=e.withModifiers(()=>{},["stop"])),onMousedown:n=>fe(n,a.key),onMouseleave:o[7]||(o[7]=n=>B.value=""),onMouseover:n=>B.value=a.key},null,40,Kt)):e.createCommentVNode("",!0),M(a.key)?(e.openBlock(),e.createElementBlock("div",{key:2,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay row-overlay left",{"overlay-visible":S.value}])},null,2)):e.createCommentVNode("",!0),a.key===e.unref(i.TableViewHeaderKeys).ACTIONS?(e.openBlock(),e.createElementBlock("div",{key:3,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay row-overlay right",{"overlay-visible":K.value}])},null,2)):e.createCommentVNode("",!0)],46,At))),128))],2)],2)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.data,(a,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:F.value.get(a)},[e.createElementVNode("tr",e.mergeProps({class:{"last-row":r===l.data.length-1&&!g.value.includes(r)},role:l.rowLink(a).to?"link":void 0,tabindex:j.value&&!l.rowLink(a).to?0:void 0},{ref_for:!0},l.rowAttrs(a)),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(n,u)=>(e.openBlock(),e.createBlock(e.unref(mt.default),{key:`${F.value.get(a)}-cell-${n.key}`,data:{isRowActionsDropdownOpen:!1}},{default:e.withCtx(({data:s})=>[e.createElementVNode("td",e.mergeProps({class:{"resize-hover":ce.value===n.key&&u!==d.value.length-1&&D(n),"row-link":!!l.rowLink(a).to,"sticky-column":ye(n.key),"second-sticky-column":ve(n.key),"has-row-scroll-overlay":M(n.key),"actions-column":n.key===e.unref(i.TableViewHeaderKeys).ACTIONS},style:{...ue.value[n.key],...s.isRowActionsDropdownOpen?{zIndex:2}:{}}},{ref_for:!0},l.cellAttrs({headerKey:n.key,row:a,rowIndex:r,colIndex:u}),e.toHandlers(xe.value(a[n.key],a),!0)),[n.key!==e.unref(i.TableViewHeaderKeys).EXPANDABLE?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Xe(a,n.key)),e.mergeProps({key:0,class:"cell-wrapper"},{ref_for:!0},je(a,n.key)),{default:e.withCtx(()=>[n.key!==e.unref(i.TableViewHeaderKeys).BULK_ACTIONS&&n.key!==e.unref(i.TableViewHeaderKeys).ACTIONS?e.renderSlot(t.$slots,n.key,{key:0,row:a,rowKey:r,rowValue:a[n.key]},()=>[e.createTextVNode(e.toDisplayString(a[n.key]),1)],!0):n.key===e.unref(i.TableViewHeaderKeys).BULK_ACTIONS&&q(a)?(e.openBlock(),e.createBlock(pe.default,{key:1,"kpop-attributes":{target:l.tooltipTarget},"max-width":"200",placement:"bottom-start",text:J(a)?void 0:We(a)},{default:e.withCtx(()=>[e.createVNode(we.default,{modelValue:q(a).selected,"onUpdate:modelValue":c=>q(a).selected=c,"aria-label":"Toggle row selection",class:"bulk-actions-checkbox","data-testid":"bulk-actions-checkbox",disabled:!J(a)},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1032,["kpop-attributes","text"])):n.key===e.unref(i.TableViewHeaderKeys).ACTIONS?(e.openBlock(),e.createBlock(ct.default,{key:2,ref_for:!0,ref:"actionsDropdown",class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottom-end",target:"body",popoverElementAttributes:qe(a,r)},onToggleDropdown:c=>Pe(a,c,s)},{items:e.withCtx(()=>[e.renderSlot(t.$slots,"action-items",{row:a},void 0,!0)]),default:e.withCtx(()=>[e.createVNode(Q.default,{appearance:"tertiary","aria-label":n.label,class:"actions-dropdown-trigger","data-testid":"row-actions-dropdown-trigger",icon:"",size:"small",onMouseleave:o[9]||(o[9]=c=>Z.value=!1),onMouseover:o[10]||(o[10]=c=>Z.value=!0)},{default:e.withCtx(()=>[e.createVNode(e.unref(nt.default),{class:"more-icon",decorative:""})]),_:1},8,["aria-label"])]),_:2},1032,["kpop-attributes","onToggleDropdown"])):e.createCommentVNode("",!0)]),_:2},1040)):l.rowExpandable(a)?(e.openBlock(),e.createElementBlock("div",Ht,[e.createElementVNode("button",{"aria-controls":`table-${e.unref(b)}-row-${r}-expandable-content`,"aria-expanded":g.value.includes(r),"aria-label":"Toggle row expandable content",class:e.normalizeClass(["expandable-row-control",{expanded:g.value.includes(r)}]),"data-testid":"expandable-row-control",type:"button",onClick:c=>Ye(r,a)},[e.createVNode(e.unref(ot.default),{class:"expandable-row-control-icon",decorative:""})],10,Rt)])):e.createCommentVNode("",!0),M(n.key)?(e.openBlock(),e.createElementBlock("div",{key:2,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay row-overlay left",{"overlay-visible":S.value}])},null,2)):e.createCommentVNode("",!0),n.key===e.unref(i.TableViewHeaderKeys).ACTIONS?(e.openBlock(),e.createElementBlock("div",{key:3,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay row-overlay right",{"overlay-visible":K.value}])},null,2)):e.createCommentVNode("",!0)],16)]),_:2},1024))),128))],16,Vt),R.value&&l.rowExpandable(a)?e.withDirectives((e.openBlock(),e.createElementBlock("tr",{key:0,id:`table-${e.unref(b)}-row-${r}-expandable-content`,class:"expandable-content-row","data-testid":"expandable-content-row"},[e.createElementVNode("td",{colspan:d.value.length},[e.createElementVNode("div",Lt,[e.renderSlot(t.$slots,"row-expanded",{columnWidths:me.value,nestedHeaders:Qe.value,row:a},void 0,!0)])],8,Ot)],8,xt)),[[e.vShow,g.value.includes(r)]]):e.createCommentVNode("",!0)],64))),128))])],10,Tt)],36),!L.value&&!R.value?(e.openBlock(),e.createElementBlock("div",{key:0,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay table-overlay left",{"overlay-visible":S.value}])},null,2)):e.createCommentVNode("",!0),Te.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay table-overlay right",{"overlay-visible":K.value,"scrollbar-offset":X.value}])},null,2)),Fe.value?(e.openBlock(),e.createBlock(ut.default,e.mergeProps({key:`table-${e.unref(b)}-pagination-${ke.value}`,class:"table-pagination","data-testid":"table-pagination","initial-page-size":z.value},l.paginationAttributes,{onGetNextOffset:o[11]||(o[11]=a=>v("get-next-offset")),onGetPreviousOffset:o[12]||(o[12]=a=>v("get-previous-offset")),onPageChange:o[13]||(o[13]=a=>v("page-change",a)),onPageSizeChange:Ze}),null,16,["initial-page-size"])):e.createCommentVNode("",!0)]))],2))}});exports.default=It;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Q=require("./kongponents32.cjs"),ge=require("./kongponents45.cjs"),tt=require("./kongponents20.cjs");;/* empty css */const pe=require("./kongponents24.cjs");;/* empty css */const at=require("./kongponents193.cjs"),ot=require("./kongponents186.cjs"),lt=require("./kongponents176.cjs"),nt=require("./kongponents214.cjs"),rt=require("./kongponents215.cjs");require("./kongponents5.cjs");require("./kongponents10.cjs");const it=require("./kongponents11.cjs"),i=require("./kongponents17.cjs"),C=require("./kongponents179.cjs"),st=require("./kongponents216.cjs"),ut=require("./kongponents54.cjs"),ct=require("./kongponents43.cjs"),we=require("./kongponents36.cjs"),dt=require("./kongponents217.cjs"),ft=require("./kongponents169.cjs"),yt=require("./kongponents151.cjs"),vt=require("./kongponents172.cjs"),kt=require("./kongponents185.cjs"),bt=require("./kongponents182.cjs"),mt=require("./kongponents40.cjs"),gt=require("./kongponents218.cjs"),pt={key:0,class:"table-toolbar","data-testid":"table-toolbar"},wt={key:0,class:"toolbar-default-items-container"},Ct={key:2,class:"table-error-state","data-testid":"table-error-state"},ht={key:3,class:"table-empty-state","data-testid":"table-empty-state"},St={key:4,class:"table-container"},Tt=["data-tableid"],At=["aria-sort","data-key","data-testid","onClick","onMouseover"],Bt=["onMousedown","onMouseover"],Et=["aria-describedby"],Nt={key:1,class:"table-header-bulk-actions-container"},Kt=["onMousedown","onMouseover"],Vt=["role","tabindex"],Ht={key:1,class:"expandable-row-control-container"},Rt=["aria-controls","aria-expanded","onClick"],xt=["id"],Ot=["colspan"],Lt={class:"expandable-content-wrapper"},_="desc",It=e.defineComponent({__name:"KTableView",props:{data:{default:()=>[]},headers:{default:()=>[]},resizeColumns:{type:Boolean},tablePreferences:{default:()=>({})},rowHover:{type:Boolean,default:!0},rowAttrs:{default:()=>(()=>({}))},rowLink:{default:()=>(()=>({}))},rowBulkActionEnabled:{default:()=>(()=>!0)},rowKey:{},cellAttrs:{default:()=>(()=>({}))},loading:{type:Boolean},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:()=>it.EmptyStateIconVariants.Default},emptyStateButtonAppearance:{default:"primary"},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{},errorStateActionMessage:{default:""},maxHeight:{default:"none"},hidePagination:{type:Boolean},paginationAttributes:{default:()=>({})},rowExpandable:{default:()=>(()=>!1)},rowExpanded:{default:()=>(()=>!1)},hideHeaders:{type:Boolean},nested:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},hideToolbar:{type:Boolean},tooltipTarget:{default:"body"},"onRow:click":{type:Function},"onRow:dblclick":{type:Function},"onRow:auxclick":{type:Function},"onRow:contextmenu":{type:Function},"onRow:mouseover":{type:Function},"onRow:mouseout":{type:Function},"onRow:mouseenter":{type:Function},"onRow:mouseleave":{type:Function},"onRow:mousedown":{type:Function},"onRow:mouseup":{type:Function},"onRow:focus":{type:Function},"onRow:focusin":{type:Function},"onRow:blur":{type:Function},"onRow:focusout":{type:Function},"onRow:keydown":{type:Function},"onRow:keyup":{type:Function},"onRow:keypress":{type:Function},"onCell:click":{type:Function},"onCell:dblclick":{type:Function},"onCell:auxclick":{type:Function},"onCell:contextmenu":{type:Function},"onCell:mouseover":{type:Function},"onCell:mouseout":{type:Function},"onCell:mouseenter":{type:Function},"onCell:mouseleave":{type:Function},"onCell:mousedown":{type:Function},"onCell:mouseup":{type:Function},"onCell:focus":{type:Function},"onCell:focusin":{type:Function},"onCell:blur":{type:Function},"onCell:focusout":{type:Function},"onCell:keydown":{type:Function},"onCell:keyup":{type:Function},"onCell:keypress":{type:Function}},emits:["page-change","page-size-change","get-next-offset","get-previous-offset","cell-click","row-click","error-action-click","empty-state-action-click","update:table-preferences","sort","row-select","update:row-expanded","row-actions-toggle"],setup(l,{emit:Ce}){e.useCssVars(t=>({v1d9185fc:e.unref(Oe).expandable,v2e5a7fab:$e.value,v3ffd4ac3:le.value,v83fbd9d2:He.value}));const ee=e.createPropsRestProxy(l,["resizeColumns","tablePreferences","rowHover","rowAttrs","rowLink","rowBulkActionEnabled","rowKey","cellAttrs","loading","emptyStateTitle","emptyStateMessage","emptyStateActionMessage","emptyStateIconVariant","emptyStateButtonAppearance","emptyStateActionRoute","error","errorStateTitle","errorStateMessage","errorStateActionMessage","errorStateActionRoute","maxHeight","hidePagination","paginationAttributes","rowExpandable","rowExpanded","hideHeaders","nested","hidePaginationWhenOptional","hideToolbar","tooltipTarget","data","headers"]),v=Ce,A=e.useSlots(),b=e.useId(),m=t=>typeof l.rowKey=="function"&&typeof l.rowKey(t)=="string"?l.rowKey(t):typeof l.rowKey=="string"&&l.rowKey in t&&typeof t[l.rowKey]=="string"?t[l.rowKey]:"",te=t=>{const o=t.filter(n=>n.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&n.key!==i.TableViewHeaderKeys.ACTIONS),a=t.find(n=>n.key===i.TableViewHeaderKeys.BULK_ACTIONS),r=t.find(n=>n.key===i.TableViewHeaderKeys.ACTIONS);return a&&o.unshift(a),r&&o.push(r),o},ae=e.useTemplateRef("table-wrapper"),he=e.useTemplateRef("table"),Se=e.useTemplateRef("header-row"),h=e.ref(te(l.headers)),d=e.ref([]),x=e.ref(""),B=e.ref(""),P=e.ref(""),Te=e.computed(()=>h.value.some(t=>t.key===i.TableViewHeaderKeys.ACTIONS)),oe=e.computed(()=>h.value.filter(t=>t.hidable).length>0),E=e.computed(()=>l.nested||!oe.value||l.error?!1:A.toolbar?!0:!l.loading&&!!l.data&&!!l.data.length),Ae=e.computed(()=>l.loading||!(l.data&&l.data.length)),Be=e.computed(()=>h.value.filter(t=>t.hidable&&!U(t.key))),Ee=e.computed(()=>E.value?l.tablePreferences.columnVisibility||{}:{}),N=e.ref(E.value?l.tablePreferences.columnVisibility||{}:{}),le=e.ref("100%"),X=e.ref(!1),O=e.ref(!1),S=e.ref(!1),K=e.ref(!1),y=e.ref(l.tablePreferences.sortColumnKey||""),k=e.ref(l.tablePreferences.sortColumnOrder||_),j=e.ref(!1),Ne=e.computed(()=>!l.hideToolbar&&!l.nested&&(!!A.toolbar||E.value||G.value)),Ke=e.useTemplateRef("actionsDropdown"),Z=e.ref(!1),Ve=e.computed(()=>({maxHeight:bt.normalizeSize(l.maxHeight)})),He=e.computed(()=>`${vt.getScrollbarSize()}px`),V=e.ref([]),L=e.computed(()=>!l.nested&&!l.error&&h.value.some(t=>t.key===i.TableViewHeaderKeys.BULK_ACTIONS)&&!!(A["bulk-action-items"]||A["bulk-actions"])&&!!l.data.every(t=>m(t))),I=e.ref([]),G=e.computed(()=>l.nested||!L.value||l.error?!1:A.toolbar?!0:!l.loading&&!!l.data&&!!l.data.length),ne=e.computed(()=>{const t=V.value.length;return t?t>100?"99+":String(t):""}),F=e.ref(new WeakMap),Re=t=>`column-${t}`,H=t=>`tooltip-${t}`,re=(t,o)=>(a,r)=>{const n=/^on[^a-z]/,u={};for(const s in o)n.test(s)&&o[s]&&(u[s]=o[s]);return Object.keys(u).reduce((s,c)=>{if(c.indexOf(t)===0){const f=c.split(t);s[f[1]]=p=>u[c](p,a,r)}return s},{})},xe=e.computed(()=>(t,o)=>{const a=re("onRow:",ee)(o,"row"),r=re("onCell:",ee)(t,"cell"),n=["a","button","label","input","select",'span[role="checkbox"]'];return(a.click||r.click)&&(j.value=!0),{...a,...r,click(u){const s=u.target,c=s.className;let f=n.includes(s.tagName.toLowerCase()),p=!1;typeof c=="string"||Array.isArray(c)?p=c.includes("k-popover"):typeof c=="object"&&(p=Object.keys(c).includes("k-popover")),s.closest(".popover-content")!==null&&(p=!0);for(let w=0;w<n.length;w++)if(s.closest(n[w])!==null){f=!0;break}if((!f||s.hasAttribute("disabled"))&&!p&&(a.click||r.click))if(r.click){v("cell-click",{data:t});const w=r.click(u,t,"cell");typeof w=="function"&&w(u,t)}else{v("row-click",{data:o});const w=a.click(u,o,"row");typeof w=="function"&&w(u,o)}}}}),ie=parseInt(C.KUI_SPACE_60)*2+parseInt(C.KUI_ICON_SIZE_30),se={expandable:ie,bulkActions:48,actions:54},Oe=gt.default(se,t=>`${t}px`),T=e.ref({...l.tablePreferences.columnWidths||{},...se}),ue=e.computed(()=>{const t={};for(const o in T.value){const a=o;if(!T.value[a])continue;const r=T.value[a]+"px";t[a]={width:r,maxWidth:r,minWidth:r}}return t}),Le=(t,o)=>({"resize-hover":ce.value===t.key&&o!==d.value.length-1&&D(t),resizable:l.resizeColumns&&!l.nested,sortable:!t.hideLabel&&!!t.sortable,"active-sort":!t.hideLabel&&!!t.sortable&&t.key===y.value,[k.value]:t.key===y.value&&!t.hideLabel,"is-scrolled":O.value,"has-tooltip":!!t.tooltip,"sticky-column":ye(t.key),"second-sticky-column":ve(t.key),"has-row-scroll-overlay":M(t.key),"actions-column":t.key===i.TableViewHeaderKeys.ACTIONS}),Ie=t=>{if(t.sortable&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS){let o="asc",a=t.key;a===y.value&&k.value==="asc"&&(o="desc"),a===y.value&&k.value==="desc"&&(a="",o=_),v("sort",{prevKey:y.value,sortColumnKey:a,sortColumnOrder:o}),Ue(a)}},ze=e.computed(()=>x.value?"resizing":B.value?"resize-hover":P.value?"th-hover":""),ce=e.computed(()=>{switch(ze.value){case"resizing":return x.value;case"resize-hover":return B.value;case"th-hover":return P.value;default:return""}}),de=e.computed(()=>{var t;return(t=Se.value)==null?void 0:t.querySelectorAll("th.resizable")}),$e=e.computed(()=>{var o;const t=(o=de.value)==null?void 0:o.item(0);if(t){const a=window==null?void 0:window.getComputedStyle(t);if(a!=null&&a.height)return`${parseInt(a.height,10)}px`}return"auto"}),fe=(t,o)=>{var c;if(t.button!==0)return;let a=0,r=0;x.value=o;let n=null;(c=de.value)==null||c.forEach(f=>{f.getAttribute("data-testid")===`table-header-${o}`&&(n=document==null?void 0:document.querySelector(`[data-tableid="${b}"] [data-testid="table-header-${o}"]`))});const u=f=>{const p=f.clientX-a;n==null||n.setAttribute("style",`width: ${r+p}px`),T.value[o]=r+p},s=()=>{x.value="",document==null||document.removeEventListener("mousemove",u),document==null||document.removeEventListener("mouseup",s),W(),R.value&&Y()};if(a=t.clientX,n){const f=window==null?void 0:window.getComputedStyle(n);f!=null&&f.width&&(r=parseInt(f.width,10)),document==null||document.addEventListener("mousemove",u),document==null||document.addEventListener("mouseup",s)}},ye=t=>S.value?t===i.TableViewHeaderKeys.BULK_ACTIONS||t===i.TableViewHeaderKeys.EXPANDABLE:!1,ve=t=>t===i.TableViewHeaderKeys.BULK_ACTIONS&&R.value,M=t=>S.value?L.value?t===i.TableViewHeaderKeys.BULK_ACTIONS:R.value?t===i.TableViewHeaderKeys.EXPANDABLE:!1:!1,U=t=>t===i.TableViewHeaderKeys.EXPANDABLE||t===i.TableViewHeaderKeys.BULK_ACTIONS||t===i.TableViewHeaderKeys.ACTIONS,D=(t,o=!1)=>{if(!l.resizeColumns||l.nested)return!1;if(o){if(d.value.indexOf(t)===d.value.length-1)return!1;const r=d.value[d.value.indexOf(t)-1];return!U(r.key)}const a=d.value[d.value.indexOf(t)+1];return!U(t.key)&&!U(a.key)},Pe=(t,o,a)=>{v("row-actions-toggle",{row:t,open:o}),setTimeout(()=>{a.isRowActionsDropdownOpen=o},o?0:100)},Fe=e.computed(()=>!(l.hidePagination||l.nested||l.hidePaginationWhenOptional&&l.data.length&&l.paginationAttributes.totalCount&&l.paginationAttributes.totalCount<=l.data.length));e.watch(()=>l.headers,t=>{h.value=te(t)},{deep:!0,immediate:!0});const Me=t=>!t.hideLabel&&!!t.sortable&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS,Ue=t=>{y.value&&t?t===y.value?k.value==="asc"?k.value="desc":k.value="asc":(y.value=t,k.value="asc"):t?(y.value=t,k.value="asc"):(y.value="",k.value=_),W()},De=t=>{var a;const o=t.target;o&&(typeof o.scrollTop=="number"||typeof o.scrollLeft=="number")&&(o.scrollTop>1?(X.value=!0,O.value=!0):o.scrollTop===0&&(O.value=!1),o.scrollLeft>1?S.value=!0:o.scrollLeft===0&&(S.value=!1),o.scrollWidth<=o.scrollLeft+o.clientWidth?K.value=!1:K.value=!0),(a=Ke.value)==null||a.forEach(r=>{r&&r.closeDropdown&&r.closeDropdown()})},q=t=>I.value.find(o=>o.rowKey===m(t)),qe=(t,o)=>({"data-testid":l.rowAttrs(t)["data-testid"]?`${l.rowAttrs(t)["data-testid"]}-actions-dropdown-popover`:`row-${o}-actions-dropdown-popover`}),J=t=>{if(typeof l.rowBulkActionEnabled!="function")return!1;const o=l.rowBulkActionEnabled(t);return typeof o=="boolean"?o:o.enabled},We=t=>{if(typeof l.rowBulkActionEnabled!="function")return"";const o=l.rowBulkActionEnabled(t);return typeof o=="boolean"?"":o.disabledTooltip||""},Xe=(t,o)=>{const{to:a}=l.rowLink(t);return!a||o===i.TableViewHeaderKeys.BULK_ACTIONS||o===i.TableViewHeaderKeys.ACTIONS?"div":typeof a=="object"?"router-link":"a"},je=(t,o)=>{if(o===i.TableViewHeaderKeys.BULK_ACTIONS||o===i.TableViewHeaderKeys.ACTIONS)return{};const{to:a,target:r}=l.rowLink(t),n=a&&typeof a=="object",u=a&&typeof a=="string";return{...n&&{to:a},...u&&{href:a},...(n||u)&&{...r&&{target:r}}}},ke=e.ref(0),z=e.ref(ft.getInitialPageSize(l.tablePreferences,l.paginationAttributes)),Ze=t=>{z.value=t.pageSize,v("page-size-change",t),W()},Ge=e.computed(()=>({sortColumnKey:y.value,sortColumnOrder:k.value,...l.resizeColumns?{columnWidths:T.value}:{},...oe.value?{columnVisibility:N.value}:{},...z.value&&!l.hidePagination&&{pageSize:z.value}})),W=()=>{v("update:table-preferences",Ge.value)},R=e.computed(()=>!l.nested&&l.data.some(t=>l.rowExpandable(t))),Je={key:i.TableViewHeaderKeys.EXPANDABLE,label:"Expandable rows controls",hideLabel:!0},be=()=>{const t=[];return l.data.forEach((o,a)=>{l.rowExpanded(o)&&t.push(a)}),t},g=e.ref(be()),Ye=async(t,o)=>{Y(),await e.nextTick(),g.value.includes(t)?(g.value=g.value.filter(a=>a!==t),v("update:row-expanded",{row:o,expanded:!1})):(g.value=[...g.value,t],v("update:row-expanded",{row:o,expanded:!0}))},Qe=e.computed(()=>d.value.filter(t=>t.key!==i.TableViewHeaderKeys.EXPANDABLE&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS)),me=e.ref({}),Y=()=>{if(typeof document>"u")return;const t=document==null?void 0:document.querySelector(`[data-tableid="${b}"]`),o=t==null?void 0:t.querySelectorAll("th"),a={};o==null||o.forEach((r,n)=>{const u=r.getAttribute("data-key");if(u===i.TableViewHeaderKeys.EXPANDABLE)return;let s=r.getBoundingClientRect().width;n===1&&(s+=ie),n===o.length-1&&(s-=15),a[u]=s}),me.value=a};e.watch([N,h,R],t=>{const[o,a,r]=t;let n=a.filter(u=>u.key===i.TableViewHeaderKeys.BULK_ACTIONS?L.value:o[u.key]!==!1);n.find(u=>u.key===i.TableViewHeaderKeys.EXPANDABLE)&&(n=n.filter(u=>u.key!==i.TableViewHeaderKeys.EXPANDABLE)),r&&n.unshift(Je),JSON.stringify(n)!==JSON.stringify(d.value)&&(d.value=n,W()),r&&Y()},{deep:!0,immediate:!0}),e.watch(E,t=>{t&&(N.value=l.tablePreferences.columnVisibility||{})},{immediate:!0});const $=e.ref(!1),_e=e.computed(()=>{const t=I.value.filter(o=>!o.disabled&&l.data.find(a=>m(a)===o.rowKey));return!!t.filter(o=>o.selected).length&&!!t.filter(o=>!o.selected).length}),et=t=>{I.value.forEach(o=>{l.data.find(a=>m(a)===o.rowKey)&&!o.disabled&&(o.selected=t)})};return e.watch([()=>l.data,I],t=>{const[o,a]=t;if(o.forEach(r=>{if(!F.value.get(r)){const n=m(r)||yt.getUniqueStringId();F.value.set(r,`table-${b}-row-${n}`)}}),L.value){o.forEach(s=>{q(s)||I.value.push({rowKey:m(s),selected:!1,disabled:!J(s)})});const r=a.filter(s=>!s.disabled&&o.find(c=>m(c)===s.rowKey));r.length&&r.filter(s=>s.selected).length===r.length?$.value=!0:(r.filter(s=>!s.selected).length,r.length,$.value=!1);const n=o.filter(s=>{const c=a.find(f=>f.rowKey===m(s));return!!(c&&c.selected)}),u=[];V.value.forEach(s=>{o.find(f=>m(s)===m(f))||u.push(s)}),V.value=[...u,...n]}g.value=be()},{deep:!0,immediate:!0}),e.watch(V,t=>{v("row-select",t)}),e.watch(()=>l.tablePreferences,t=>{t!=null&&t.pageSize&&(z.value=t.pageSize,ke.value++),y.value=t!=null&&t.sortColumnKey?t.sortColumnKey:y.value,k.value=t!=null&&t.sortColumnOrder?t.sortColumnOrder:k.value,T.value=t!=null&&t.columnWidths?t.columnWidths:T.value,N.value=t!=null&&t.columnVisibility?t.columnVisibility:N.value}),kt.useResizeObserver([ae,he],()=>{const t=ae.value;t&&(K.value=t.scrollWidth>t.clientWidth,le.value=t.clientHeight+"px",X.value=t.scrollHeight>t.clientHeight)}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-table-view",{"hide-headers":l.hideHeaders}])},[Ne.value?(e.openBlock(),e.createElementBlock("div",pt,[e.renderSlot(t.$slots,"toolbar",{},void 0,!0),G.value||E.value?(e.openBlock(),e.createElementBlock("div",wt,[G.value?e.renderSlot(t.$slots,"bulk-actions",{key:0,selectedRows:V.value},()=>[t.$slots["bulk-actions"]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(dt.default,{key:0,"button-label":h.value.find(a=>a.key===e.unref(i.TableViewHeaderKeys).BULK_ACTIONS).label,count:ne.value,disabled:!ne.value||l.loading||!l.data.length},{items:e.withCtx(()=>[e.renderSlot(t.$slots,"bulk-action-items",{selectedRows:V.value},void 0,!0)]),_:3},8,["button-label","count","disabled"]))],!0):e.createCommentVNode("",!0),E.value?(e.openBlock(),e.createBlock(st.default,{key:1,columns:Be.value,disabled:Ae.value,"table-id":e.unref(b),"visibility-preferences":Ee.value,onUpdate:o[0]||(o[0]=a=>N.value=a)},null,8,["columns","disabled","table-id","visibility-preferences"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),l.loading&&!l.error?(e.openBlock(),e.createBlock(tt.default,{key:1,"data-testid":"table-skeleton",type:"table"})):l.error?(e.openBlock(),e.createElementBlock("div",Ct,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode(ge.default,{"icon-variant":"error",message:l.errorStateMessage,title:l.errorStateTitle},e.createSlots({_:2},[l.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(Q.default,{"data-testid":"error-state-action",to:l.errorStateActionRoute,onClick:o[1]||(o[1]=a=>v("error-action-click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.errorStateActionMessage),1)]),_:1},8,["to"])]),key:"0"}:void 0]),1032,["message","title"])],!0)])):!l.error&&!l.loading&&l.data&&!l.data.length?(e.openBlock(),e.createElementBlock("div",ht,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode(ge.default,{"icon-variant":l.emptyStateIconVariant,message:l.emptyStateMessage,title:l.emptyStateTitle},e.createSlots({_:2},[l.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(Q.default,{appearance:l.emptyStateButtonAppearance,"data-testid":"empty-state-action",to:l.emptyStateActionRoute,onClick:o[2]||(o[2]=a=>v("empty-state-action-click"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"empty-state-action-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(l.emptyStateActionMessage),1)]),_:3},8,["appearance","to"])]),key:"0"}:void 0]),1032,["icon-variant","message","title"])],!0)])):(e.openBlock(),e.createElementBlock("div",St,[e.createElementVNode("div",{ref:"table-wrapper",class:"table-wrapper",style:e.normalizeStyle(Ve.value),onScrollPassive:De},[e.createElementVNode("table",{ref:"table",class:e.normalizeClass(["table",{"has-hover":l.rowHover&&!Z.value,"is-clickable":j.value}]),"data-tableid":e.unref(b)},[l.hideHeaders?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("thead",{key:0,class:e.normalizeClass({"is-scrolled":O.value})},[e.createElementVNode("tr",{ref:"header-row",class:e.normalizeClass({"is-scrolled":O.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(a,r)=>(e.openBlock(),e.createElementBlock("th",{key:`table-${e.unref(b)}-headers-${a.key}`,"aria-sort":a.key===y.value?k.value==="asc"?"ascending":"descending":void 0,class:e.normalizeClass(["table-headers",Le(a,r)]),"data-key":a.key,"data-testid":`table-header-${a.key}`,style:e.normalizeStyle(ue.value[a.key]),onClick:()=>Ie(a),onMouseleave:o[8]||(o[8]=n=>P.value=""),onMouseover:n=>P.value=a.key},[r!==0&&D(a,!0)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"resize-handle previous",onClick:o[3]||(o[3]=e.withModifiers(()=>{},["stop"])),onMousedown:n=>fe(n,d.value[r-1].key),onMouseleave:o[4]||(o[4]=n=>B.value=""),onMouseover:n=>B.value=d.value[r-1].key},null,40,Bt)):e.createCommentVNode("",!0),e.createElementVNode("div",{"aria-describedby":a.tooltip||A[H(a.key)]?`${H(a.key)}-${e.unref(b)}`:void 0,class:e.normalizeClass(["table-headers-container",{resized:x.value===a.key}])},[a.key!==e.unref(i.TableViewHeaderKeys).BULK_ACTIONS?e.renderSlot(t.$slots,Re(a.key),{key:0,column:a},()=>[e.createElementVNode("span",{class:e.normalizeClass(["table-header-label",{"sr-only":a.hideLabel||a.key===e.unref(i.TableViewHeaderKeys).ACTIONS&&a.hideLabel!==!1}])},e.toDisplayString(a.label?a.label:a.key),3)],!0):(e.openBlock(),e.createElementBlock("div",Nt,[e.createVNode(we.default,{modelValue:$.value,"onUpdate:modelValue":o[5]||(o[5]=n=>$.value=n),"aria-label":"Toggle selection for all rows",class:"table-header-bulk-actions-checkbox","data-testid":"table-header-bulk-actions-checkbox",indeterminate:_e.value,onChange:et},null,8,["modelValue","indeterminate"])])),a.tooltip||t.$slots[H(a.key)]?(e.openBlock(),e.createBlock(pe.default,{key:2,"data-testid":H(a.key),"kpop-attributes":{target:l.tooltipTarget},"max-width":"300","tooltip-id":`${H(a.key)}-${e.unref(b)}`},{content:e.withCtx(()=>[e.renderSlot(t.$slots,H(a.key),{column:a},()=>[e.createTextVNode(e.toDisplayString(a.tooltip),1)],!0)]),default:e.withCtx(()=>[e.createVNode(e.unref(lt.default),{class:"header-tooltip-trigger",color:`var(--kui-color-text-neutral, ${e.unref(C.KUI_COLOR_TEXT_NEUTRAL)})`,size:e.unref(C.KUI_ICON_SIZE_30),tabindex:"0"},null,8,["color","size"])]),_:2},1032,["data-testid","kpop-attributes","tooltip-id"])):e.createCommentVNode("",!0),Me(a)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[y.value===a.key?(e.openBlock(),e.createBlock(e.unref(at.default),{key:0,class:"active-sort-icon",color:`var(--kui-color-text-primary, ${e.unref(C.KUI_COLOR_TEXT_PRIMARY)})`,decorative:"",size:e.unref(C.KUI_ICON_SIZE_30)},null,8,["color","size"])):(e.openBlock(),e.createBlock(e.unref(rt.default),{key:1,class:"sort-icon",color:`var(--kui-color-text-neutral-weak, ${e.unref(C.KUI_COLOR_TEXT_NEUTRAL_WEAK)})`,size:e.unref(C.KUI_ICON_SIZE_30),title:`Sort by ${a.label}`},null,8,["color","size","title"]))],64)):e.createCommentVNode("",!0)],10,Et),r!==d.value.length-1&&D(a)?(e.openBlock(),e.createElementBlock("div",{key:1,class:"resize-handle",onClick:o[6]||(o[6]=e.withModifiers(()=>{},["stop"])),onMousedown:n=>fe(n,a.key),onMouseleave:o[7]||(o[7]=n=>B.value=""),onMouseover:n=>B.value=a.key},null,40,Kt)):e.createCommentVNode("",!0),M(a.key)?(e.openBlock(),e.createElementBlock("div",{key:2,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay row-overlay left",{"overlay-visible":S.value}])},null,2)):e.createCommentVNode("",!0),a.key===e.unref(i.TableViewHeaderKeys).ACTIONS?(e.openBlock(),e.createElementBlock("div",{key:3,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay row-overlay right",{"overlay-visible":K.value}])},null,2)):e.createCommentVNode("",!0)],46,At))),128))],2)],2)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.data,(a,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:F.value.get(a)},[e.createElementVNode("tr",e.mergeProps({class:{"last-row":r===l.data.length-1&&!g.value.includes(r)},role:l.rowLink(a).to?"link":void 0,tabindex:j.value&&!l.rowLink(a).to?0:void 0},{ref_for:!0},l.rowAttrs(a)),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(n,u)=>(e.openBlock(),e.createBlock(e.unref(mt.default),{key:`${F.value.get(a)}-cell-${n.key}`,data:{isRowActionsDropdownOpen:!1}},{default:e.withCtx(({data:s})=>[e.createElementVNode("td",e.mergeProps({class:{"resize-hover":ce.value===n.key&&u!==d.value.length-1&&D(n),"row-link":!!l.rowLink(a).to,"sticky-column":ye(n.key),"second-sticky-column":ve(n.key),"has-row-scroll-overlay":M(n.key),"actions-column":n.key===e.unref(i.TableViewHeaderKeys).ACTIONS},style:{...ue.value[n.key],...s.isRowActionsDropdownOpen?{zIndex:2}:{}}},{ref_for:!0},l.cellAttrs({headerKey:n.key,row:a,rowIndex:r,colIndex:u}),e.toHandlers(xe.value(a[n.key],a),!0)),[n.key!==e.unref(i.TableViewHeaderKeys).EXPANDABLE?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Xe(a,n.key)),e.mergeProps({key:0,class:"cell-wrapper"},{ref_for:!0},je(a,n.key)),{default:e.withCtx(()=>[n.key!==e.unref(i.TableViewHeaderKeys).BULK_ACTIONS&&n.key!==e.unref(i.TableViewHeaderKeys).ACTIONS?e.renderSlot(t.$slots,n.key,{key:0,row:a,rowKey:r,rowValue:a[n.key]},()=>[e.createTextVNode(e.toDisplayString(a[n.key]),1)],!0):n.key===e.unref(i.TableViewHeaderKeys).BULK_ACTIONS&&q(a)?(e.openBlock(),e.createBlock(pe.default,{key:1,"kpop-attributes":{target:l.tooltipTarget},"max-width":"200",placement:"bottom-start",text:J(a)?void 0:We(a)},{default:e.withCtx(()=>[e.createVNode(we.default,{modelValue:q(a).selected,"onUpdate:modelValue":c=>q(a).selected=c,"aria-label":"Toggle row selection",class:"bulk-actions-checkbox","data-testid":"bulk-actions-checkbox",disabled:!J(a)},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1032,["kpop-attributes","text"])):n.key===e.unref(i.TableViewHeaderKeys).ACTIONS?(e.openBlock(),e.createBlock(ct.default,{key:2,ref_for:!0,ref:"actionsDropdown",class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottom-end",target:"body",popoverElementAttributes:qe(a,r)},onToggleDropdown:c=>Pe(a,c,s)},{items:e.withCtx(()=>[e.renderSlot(t.$slots,"action-items",{row:a},void 0,!0)]),default:e.withCtx(()=>[e.createVNode(Q.default,{appearance:"tertiary","aria-label":n.label,class:"actions-dropdown-trigger","data-testid":"row-actions-dropdown-trigger",icon:"",size:"small",onMouseleave:o[9]||(o[9]=c=>Z.value=!1),onMouseover:o[10]||(o[10]=c=>Z.value=!0)},{default:e.withCtx(()=>[e.createVNode(e.unref(nt.default),{class:"more-icon",decorative:""})]),_:1},8,["aria-label"])]),_:2},1032,["kpop-attributes","onToggleDropdown"])):e.createCommentVNode("",!0)]),_:2},1040)):l.rowExpandable(a)?(e.openBlock(),e.createElementBlock("div",Ht,[e.createElementVNode("button",{"aria-controls":`table-${e.unref(b)}-row-${r}-expandable-content`,"aria-expanded":g.value.includes(r),"aria-label":"Toggle row expandable content",class:e.normalizeClass(["expandable-row-control",{expanded:g.value.includes(r)}]),"data-testid":"expandable-row-control",type:"button",onClick:c=>Ye(r,a)},[e.createVNode(e.unref(ot.default),{class:"expandable-row-control-icon",decorative:""})],10,Rt)])):e.createCommentVNode("",!0),M(n.key)?(e.openBlock(),e.createElementBlock("div",{key:2,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay row-overlay left",{"overlay-visible":S.value}])},null,2)):e.createCommentVNode("",!0),n.key===e.unref(i.TableViewHeaderKeys).ACTIONS?(e.openBlock(),e.createElementBlock("div",{key:3,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay row-overlay right",{"overlay-visible":K.value}])},null,2)):e.createCommentVNode("",!0)],16)]),_:2},1024))),128))],16,Vt),R.value&&l.rowExpandable(a)?e.withDirectives((e.openBlock(),e.createElementBlock("tr",{key:0,id:`table-${e.unref(b)}-row-${r}-expandable-content`,class:"expandable-content-row","data-testid":"expandable-content-row"},[e.createElementVNode("td",{colspan:d.value.length},[e.createElementVNode("div",Lt,[e.renderSlot(t.$slots,"row-expanded",{columnWidths:me.value,nestedHeaders:Qe.value,row:a},void 0,!0)])],8,Ot)],8,xt)),[[e.vShow,g.value.includes(r)]]):e.createCommentVNode("",!0)],64))),128))])],10,Tt)],36),!L.value&&!R.value?(e.openBlock(),e.createElementBlock("div",{key:0,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay table-overlay left",{"overlay-visible":S.value}])},null,2)):e.createCommentVNode("",!0),Te.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay table-overlay right",{"overlay-visible":K.value,"scrollbar-offset":X.value}])},null,2)),Fe.value?(e.openBlock(),e.createBlock(ut.default,e.mergeProps({key:`table-${e.unref(b)}-pagination-${ke.value}`,class:"table-pagination","data-testid":"table-pagination","initial-page-size":z.value},l.paginationAttributes,{onGetNextOffset:o[11]||(o[11]=a=>v("get-next-offset")),onGetPreviousOffset:o[12]||(o[12]=a=>v("get-previous-offset")),onPageChange:o[13]||(o[13]=a=>v("page-change",a)),onPageSizeChange:Ze}),null,16,["initial-page-size"])):e.createCommentVNode("",!0)]))],2))}});exports.default=It;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=e=>{const r=Number(e);return Number.isNaN(r)?`${e}`:`${r}px`};exports.normalizeSize=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue");require("./kongponents240.cjs");const f=require("./kongponents241.cjs"),S={VALIDATING:"VALIDATING",VALIDATING_HAS_DATA:"VALIDATING_HAS_DATA",PENDING:"PENDING",SUCCESS:"SUCCESS",SUCCESS_HAS_DATA:"SUCCESS_HAS_DATA",ERROR:"ERROR",STALE_IF_ERROR:"STALE_IF_ERROR"};function D(){return{useRequest:(e,u,a)=>{const{data:t,error:n,isValidating:l,isLoading:o,mutate:r}=f.default(e,u,{revalidateDebounce:500,dedupingInterval:100,...a});return{data:s.computed(()=>{var A;return(A=t.value)==null?void 0:A.data}),response:t,error:n,isValidating:l,isLoading:o,revalidate:r}},useDebounce:(e,u=300)=>{let a;const t=n=>async(...l)=>{clearTimeout(a),n>0?await new Promise(o=>{a=setTimeout(async()=>{await e(...l),o()},n)}):await e(...l)};return{debouncedFn:t(u),generateDebouncedFn:t}},clientSideSorter:(e,u,a,t)=>{let n=null;const l=(r,i)=>typeof i=="number"&&!Number.isNaN(r)&&!Number.isNaN(i)?r-i:0,o=(r,i)=>r.localeCompare(i);return e!==u?(n=(r,i)=>{const A=c=>c==null?"":typeof c=="number"?c:Array.isArray(c)&&c.length&&typeof c[0]=="number"?c[0]:String(c),d=A(r[e]),v=A(i[e]);switch(typeof d){case"number":return l(d,v);default:return o(d,v)}},t.sort(n),u=e,a="ascending"):(t.reverse(),a==="descending"||a==="desc"?a="ascending":a="descending"),{previousKey:u,sortOrder:a}},useSwrvState:(e,u,a)=>{const t=s.ref(S.PENDING),n=s.ref(!1);return s.watchEffect(()=>{var l,o,r,i,A,d;if(n.value=e.value&&!!((l=Object.keys(e.value))!=null&&l.length||(o=e.value.data)!=null&&o.length||(i=(r=e.value.data)==null?void 0:r.data)!=null&&i.length||!((A=e.value.data)!=null&&A.data)&&typeof e.value.data=="object"&&Object.keys((d=e.value)==null?void 0:d.data).length),e.value&&n.value&&a.value){t.value=S.VALIDATING_HAS_DATA;return}if(e.value&&a.value){t.value=S.VALIDATING;return}if(e.value&&u.value){t.value=S.STALE_IF_ERROR;return}if(e.value===void 0&&!u.value){t.value=S.PENDING;return}if(e.value&&!u.value&&n.value){t.value=S.SUCCESS_HAS_DATA;return}if(e.value&&!u.value){t.value=S.SUCCESS;return}e.value===void 0&&u&&(t.value=S.ERROR)}),{hasData:n,state:t,swrvState:S}},cloneDeep:e=>{if(e)return JSON.parse(JSON.stringify(e))},stripRequiredLabel:(e,u)=>!u||!e?e||"":/( )?\*$/gi.test(e)?e.replace(/\*$/gi,"").trim():e}}exports.default=D;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents273.cjs"),m=["aria-hidden"],d='<path d="M11 17H13V11H11V17ZM12 9C12.2833 9 12.5208 8.90417 12.7125 8.7125C12.9042 8.52083 13 8.28333 13 8C13 7.71667 12.9042 7.47917 12.7125 7.2875C12.5208 7.09583 12.2833 7 12 7C11.7167 7 11.4792 7.09583 11.2875 7.2875C11.0958 7.47917 11 7.71667 11 8C11 8.28333 11.0958 8.52083 11.2875 8.7125C11.4792 8.90417 11.7167 9 12 9ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z" fill="currentColor"/>',y=i.defineComponent({__name:"InfoIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},v=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${v}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),C=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon info-icon","data-testid":"kui-icon-wrapper-info-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-info-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:C},null,8,m))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o;const r=typeof navigator<"u"&&("userAgentData"in navigator&&navigator.userAgentData==="macOS"||((o=navigator.platform)==null?void 0:o.toLowerCase().includes("mac"))),i=typeof navigator<"u"&&navigator.userAgent.includes("Firefox");function l(e,n){return typeof CSS<"u"&&CSS.supports(e,n)}let t=null;function s(){if(t!==null)return t;if(typeof document>"u")return 0;const e=document.createElement("div");return e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e),t}exports.IS_MAYBE_FIREFOX=i;exports.IS_MAYBE_MAC=r;exports.cssSupports=l;exports.getScrollbarSize=s;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _="#000933",I="#00abd2",E="#ffffff",O="#6c7489",T="#52596e",U="#afb7c5",K="#0044f4",C="#995c00",R="16px",A="20px",L="24px",N="32px",t="20px",c="4px",S="8px",o="12px",n="16px";exports.KUI_COLOR_TEXT=_;exports.KUI_COLOR_TEXT_DECORATIVE_AQUA=I;exports.KUI_COLOR_TEXT_INVERSE=E;exports.KUI_COLOR_TEXT_NEUTRAL=O;exports.KUI_COLOR_TEXT_NEUTRAL_STRONG=T;exports.KUI_COLOR_TEXT_NEUTRAL_WEAK=U;exports.KUI_COLOR_TEXT_PRIMARY=K;exports.KUI_COLOR_TEXT_WARNING=C;exports.KUI_ICON_SIZE_30=R;exports.KUI_ICON_SIZE_40=A;exports.KUI_ICON_SIZE_50=L;exports.KUI_ICON_SIZE_60=N;exports.KUI_LINE_HEIGHT_30=t;exports.KUI_SPACE_20=c;exports.KUI_SPACE_40=S;exports.KUI_SPACE_50=o;exports.KUI_SPACE_60=n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),c=require("./kongponents265.cjs"),m=["aria-hidden"],u='<path d="M10.6 16.6L17.65 9.55L16.25 8.15L10.6 13.8L7.75 10.95L6.35 12.35L10.6 16.6ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z" fill="currentColor"/>',h=i.defineComponent({__name:"CheckCircleIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:c.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return c.KUI_ICON_SIZE_50}),d=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},v=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${v}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),C=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?u:p(u)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon check-circle-icon","data-testid":"kui-icon-wrapper-check-circle-icon",style:i.normalizeStyle(d.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-check-circle-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:C},null,8,m))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=h;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./kongponents178.cjs"),g=require("./kongponents241.cjs"),e=require("vue");function q(t){return t!=null&&typeof t=="object"&&"$el"in t}function _(t){if(q(t)){const a=t.$el;return g.isNode(a)&&g.getNodeName(a)==="#comment"?null:a}return t}function c(t){return typeof t=="function"?t():e.unref(t)}function E(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function b(t,a){const l=E(t);return Math.round(a*l)/l}function N(t,a,l){l===void 0&&(l={});const P=l.whileElementsMounted,s=e.computed(()=>{var n;return(n=c(l.open))!=null?n:!0}),R=e.computed(()=>c(l.middleware)),p=e.computed(()=>{var n;return(n=c(l.placement))!=null?n:"bottom"}),v=e.computed(()=>{var n;return(n=c(l.strategy))!=null?n:"absolute"}),S=e.computed(()=>{var n;return(n=c(l.transform))!=null?n:!0}),i=e.computed(()=>_(t.value)),u=e.computed(()=>_(a.value)),w=e.ref(0),y=e.ref(0),f=e.ref(v.value),x=e.ref(p.value),O=e.shallowRef({}),h=e.ref(!1),M=e.computed(()=>{const n={position:f.value,left:"0",top:"0"};if(!u.value)return n;const o=b(u.value,w.value),D=b(u.value,y.value);return S.value?{...n,transform:"translate("+o+"px, "+D+"px)",...E(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:o+"px",top:D+"px"}});let d;function m(){if(i.value==null||u.value==null)return;const n=s.value;r.computePosition(i.value,u.value,{middleware:R.value,placement:p.value,strategy:v.value}).then(o=>{w.value=o.x,y.value=o.y,f.value=o.strategy,x.value=o.placement,O.value=o.middlewareData,h.value=n!==!1})}function V(){typeof d=="function"&&(d(),d=void 0)}function C(){if(V(),P===void 0){m();return}if(i.value!=null&&u.value!=null){d=P(i.value,u.value,m);return}}function U(){s.value||(h.value=!1)}return e.watch([R,p,v,s],m,{flush:"sync"}),e.watch([i,u],C,{flush:"sync"}),e.watch(s,U,{flush:"sync"}),e.getCurrentScope()&&e.onScopeDispose(V),{x:e.shallowReadonly(w),y:e.shallowReadonly(y),strategy:e.shallowReadonly(f),placement:e.shallowReadonly(x),middlewareData:e.shallowReadonly(O),isPositioned:e.shallowReadonly(h),floatingStyles:M,update:m}}exports.autoPlacement=r.autoPlacement;exports.autoUpdate=r.autoUpdate;exports.computePosition=r.computePosition;exports.flip=r.flip;exports.platform=r.platform;exports.shift=r.shift;exports.getOverflowAncestors=g.getOverflowAncestors;exports.useFloating=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents265.cjs"),m=["aria-hidden"],d='<path d="M8.4 17L12 13.4L15.6 17L17 15.6L13.4 12L17 8.4L15.6 7L12 10.6L8.4 7L7 8.4L10.6 12L7 15.6L8.4 17ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z" fill="currentColor"/>',y=i.defineComponent({__name:"ClearIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const a=String(e.size).replace(/px/gi,""),t=Number(a);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=a=>{const t={},v=Math.random().toString(36).substring(2,12);return a.replace(/id="([^"]+)"/g,(l,o)=>{const s=`${v}-${o}`;return t[o]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,o)=>t[o]?`#${t[o]}`:l)},f={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},g=a=>a.replace(/[<>"'&]/g,t=>f[t]),C=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(a,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon clear-icon","data-testid":"kui-icon-wrapper-clear-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-clear-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:C},null,8,m))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=y;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents273.cjs"),y=["aria-hidden"],d='<path d="M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z" fill="currentColor"/>',b=i.defineComponent({__name:"CloseIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},m=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${m}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),v=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon close-icon","data-testid":"kui-icon-wrapper-close-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-close-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:v},null,8,y))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents265.cjs"),y=["aria-hidden"],d='<path d="M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z" fill="currentColor"/>',b=i.defineComponent({__name:"CloseIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},m=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${m}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),v=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon close-icon","data-testid":"kui-icon-wrapper-close-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-close-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:v},null,8,y))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=e.defineComponent({__name:"KPopTeleportWrapper",props:{useTeleport:{type:Boolean},target:{default:null}},setup(t){return(o,l)=>t.useTeleport?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:t.target},[e.renderSlot(o.$slots,"default")],8,["to"])):e.renderSlot(o.$slots,"default",{key:1})}});exports.default=r;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents265.cjs"),m=["aria-hidden"],d='<path d="M11 17H13V11H11V17ZM12 9C12.2833 9 12.5208 8.90417 12.7125 8.7125C12.9042 8.52083 13 8.28333 13 8C13 7.71667 12.9042 7.47917 12.7125 7.2875C12.5208 7.09583 12.2833 7 12 7C11.7167 7 11.4792 7.09583 11.2875 7.2875C11.0958 7.47917 11 7.71667 11 8C11 8.28333 11.0958 8.52083 11.2875 8.7125C11.4792 8.90417 11.7167 9 12 9ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z" fill="currentColor"/>',y=i.defineComponent({__name:"InfoIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},v=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${v}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),C=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon info-icon","data-testid":"kui-icon-wrapper-info-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-info-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:C},null,8,m))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=y;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./kongponents240.cjs"),s=require("vue"),w=a.isClient?window:void 0;function h(o){var n;const u=s.toValue(o);return(n=u==null?void 0:u.$el)!==null&&n!==void 0?n:u}function S(...o){const n=(e,i,r,d)=>(e.addEventListener(i,r,d),()=>e.removeEventListener(i,r,d)),u=s.computed(()=>{const e=a.toArray(s.toValue(o[0])).filter(i=>i!=null);return e.every(i=>typeof i!="string")?e:void 0});return a.watchImmediate(()=>{var e,i;return[(e=(i=u.value)===null||i===void 0?void 0:i.map(r=>h(r)))!==null&&e!==void 0?e:[w].filter(r=>r!=null),a.toArray(s.toValue(u.value?o[1]:o[0])),a.toArray(s.unref(u.value?o[2]:o[1])),s.toValue(u.value?o[3]:o[2])]},([e,i,r,d],g,c)=>{if(!(e!=null&&e.length)||!(i!=null&&i.length)||!(r!=null&&r.length))return;const v=a.isObject(d)?{...d}:d,m=e.flatMap(p=>i.flatMap(b=>r.map(y=>n(p,b,y,v))));c(()=>{m.forEach(p=>p())})},{flush:"post"})}function M(o,n,u={}){const{window:e=w,ignore:i=[],capture:r=!0,detectIframe:d=!1,controls:g=!1}=u;if(!e)return g?{stop:a.noop,cancel:a.noop,trigger:a.noop}:a.noop;let c=!0;const v=t=>s.toValue(i).some(l=>{if(typeof l=="string")return Array.from(e.document.querySelectorAll(l)).some(f=>f===t.target||t.composedPath().includes(f));{const f=h(l);return f&&(t.target===f||t.composedPath().includes(f))}});function m(t){const l=s.toValue(t);return l&&l.$.subTree.shapeFlag===16}function p(t,l){const f=s.toValue(t),$=f.$.subTree&&f.$.subTree.children;return $==null||!Array.isArray($)?!1:$.some(O=>O.el===l.target||l.composedPath().includes(O.el))}const b=t=>{const l=h(o);if(t.target!=null&&!(!(l instanceof Element)&&m(o)&&p(o,t))&&!(!l||l===t.target||t.composedPath().includes(l))){if("detail"in t&&t.detail===0&&(c=!v(t)),!c){c=!0;return}n(t)}};let y=!1;const R=[S(e,"click",t=>{y||(y=!0,setTimeout(()=>{y=!1},0),b(t))},{passive:!0,capture:r}),S(e,"pointerdown",t=>{const l=h(o);c=!v(t)&&!!(l&&!t.composedPath().includes(l))},{passive:!0}),d&&S(e,"blur",t=>{setTimeout(()=>{var l;const f=h(o);((l=e.document.activeElement)===null||l===void 0?void 0:l.tagName)==="IFRAME"&&!(f!=null&&f.contains(e.document.activeElement))&&n(t)},0)},{passive:!0})].filter(Boolean),A=()=>R.forEach(t=>t());return g?{stop:A,cancel:()=>{c=!1},trigger:t=>{c=!0,b(t),c=!1}}:A}function C(){const o=s.shallowRef(!1),n=s.getCurrentInstance();return n&&s.onMounted(()=>{o.value=!0},n),o}function E(o){const n=C();return s.computed(()=>(n.value,!!o()))}function T(o,n,u={}){const{window:e=w,...i}=u;let r;const d=E(()=>e&&"ResizeObserver"in e),g=()=>{r&&(r.disconnect(),r=void 0)},c=s.watch(s.computed(()=>{const m=s.toValue(o);return Array.isArray(m)?m.map(p=>h(p)):[h(m)]}),m=>{if(g(),d.value&&e){r=new ResizeObserver(n);for(const p of m)p&&r.observe(p,i)}},{immediate:!0,flush:"post"}),v=()=>{g(),c()};return a.tryOnScopeDispose(v),{isSupported:d,stop:v}}function P(o){var n;const u=(n=o.rangeCount)!==null&&n!==void 0?n:0;return Array.from({length:u},(e,i)=>o.getRangeAt(i))}function V(o={}){var n;const{window:u=w}=o,e=s.shallowRef((n=u==null?void 0:u.getSelection())!==null&&n!==void 0?n:null),i=s.computed(()=>{var c,v;return(c=(v=e.value)===null||v===void 0?void 0:v.toString())!==null&&c!==void 0?c:""}),r=s.computed(()=>e.value?P(e.value):[]),d=s.computed(()=>r.value.map(c=>c.getBoundingClientRect()));function g(){e.value=null,u&&(e.value=u.getSelection())}return u&&S(u.document,"selectionchange",g,{passive:!0}),{text:i,rects:d,ranges:r,selection:e}}exports.isClient=a.isClient;exports.isObject=a.isObject;exports.noop=a.noop;exports.toArray=a.toArray;exports.tryOnScopeDispose=a.tryOnScopeDispose;exports.watchImmediate=a.watchImmediate;exports.defaultWindow=w;exports.onClickOutside=M;exports.unrefElement=h;exports.useEventListener=S;exports.useMounted=C;exports.useResizeObserver=T;exports.useSupported=E;exports.useTextSelection=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),d=require("./kongponents265.cjs"),m=["aria-hidden"],u='<path fill-rule="evenodd" clip-rule="evenodd" d="M8.56654 17.8134H12.2371L14.1429 20.2096L13.8152 21.026H9.0731L9.18942 20.2096L8.07153 18.4462L8.56654 17.8134ZM11.193 7.28639L13.1602 7.28343L22 17.822L21.3132 21.026H17.5245L17.7604 20.1233L9.50009 10.2732L11.193 7.28639ZM14.6686 3L18.778 6.22975L18.2519 6.77265L18.9644 7.76492V8.82592L16.9157 10.496L13.4703 6.42551H11.4644L12.272 4.94512L14.6686 3ZM6.04318 13.3443L8.90974 10.853L12.7144 15.4313L11.6342 17.1086H8.12603L5.69899 20.2934L5.14469 21.026H2V17.1183L4.93106 13.3443H6.04318Z" fill="currentColor"/>',y=i.defineComponent({__name:"KongIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:d.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return d.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},L=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${L}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},g={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},f=o=>o.replace(/[<>"'&]/g,t=>g[t]),v=`${e.title?`<title data-testid="kui-icon-svg-title">${f(e.title)}</title>`:""}${e.staticIds?u:p(u)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon kong-icon","data-testid":"kui-icon-wrapper-kong-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-kong-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:v},null,8,m))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=y;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./kongponents277.cjs"),a=require("./kongponents278.cjs"),i=require("./kongponents241.cjs");function A(t){const e=i.getComputedStyle(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const s=i.isHTMLElement(t),l=s?t.offsetWidth:n,r=s?t.offsetHeight:o,c=a.round(n)!==l||a.round(o)!==r;return c&&(n=l,o=r),{width:n,height:o,$:c}}function W(t){return i.isElement(t)?t:t.contextElement}function b(t){const e=W(t);if(!i.isHTMLElement(e))return a.createCoords(1);const n=e.getBoundingClientRect(),{width:o,height:s,$:l}=A(e);let r=(l?a.round(n.width):n.width)/o,c=(l?a.round(n.height):n.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const q=a.createCoords(0);function B(t){const e=i.getWindow(t);return!i.isWebKit()||!e.visualViewport?q:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function U(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==i.getWindow(t)?!1:e}function E(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),l=W(t);let r=a.createCoords(1);e&&(o?i.isElement(o)&&(r=b(o)):r=b(t));const c=U(l,n,o)?B(l):a.createCoords(0);let u=(s.left+c.x)/r.x,f=(s.top+c.y)/r.y,d=s.width/r.x,g=s.height/r.y;if(l){const m=i.getWindow(l),h=o&&i.isElement(o)?i.getWindow(o):o;let y=m,w=i.getFrameElement(y);for(;w&&o&&h!==y;){const v=b(w),p=w.getBoundingClientRect(),x=i.getComputedStyle(w),C=p.left+(w.clientLeft+parseFloat(x.paddingLeft))*v.x,L=p.top+(w.clientTop+parseFloat(x.paddingTop))*v.y;u*=v.x,f*=v.y,d*=v.x,g*=v.y,u+=C,f+=L,y=i.getWindow(w),w=i.getFrameElement(y)}}return a.rectToClientRect({width:d,height:g,x:u,y:f})}function R(t,e){const n=i.getNodeScroll(t).scrollLeft;return e?e.left+n:E(i.getDocumentElement(t)).left+n}function I(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-R(t,n),s=n.top+e.scrollTop;return{x:o,y:s}}function k(t){let{elements:e,rect:n,offsetParent:o,strategy:s}=t;const l=s==="fixed",r=i.getDocumentElement(o),c=e?i.isTopLayer(e.floating):!1;if(o===r||c&&l)return n;let u={scrollLeft:0,scrollTop:0},f=a.createCoords(1);const d=a.createCoords(0),g=i.isHTMLElement(o);if((g||!g&&!l)&&((i.getNodeName(o)!=="body"||i.isOverflowElement(r))&&(u=i.getNodeScroll(o)),i.isHTMLElement(o))){const h=E(o);f=b(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}const m=r&&!g&&!l?I(r,u):a.createCoords(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+d.x+m.x,y:n.y*f.y-u.scrollTop*f.y+d.y+m.y}}function X(t){return Array.from(t.getClientRects())}function K(t){const e=i.getDocumentElement(t),n=i.getNodeScroll(t),o=t.ownerDocument.body,s=a.max(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),l=a.max(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+R(t);const c=-n.scrollTop;return i.getComputedStyle(o).direction==="rtl"&&(r+=a.max(e.clientWidth,o.clientWidth)-s),{width:s,height:l,x:r,y:c}}const D=25;function $(t,e){const n=i.getWindow(t),o=i.getDocumentElement(t),s=n.visualViewport;let l=o.clientWidth,r=o.clientHeight,c=0,u=0;if(s){l=s.width,r=s.height;const d=i.isWebKit();(!d||d&&e==="fixed")&&(c=s.offsetLeft,u=s.offsetTop)}const f=R(o);if(f<=0){const d=o.ownerDocument,g=d.body,m=getComputedStyle(g),h=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,y=Math.abs(o.clientWidth-g.clientWidth-h);y<=D&&(l-=y)}else f<=D&&(l+=f);return{width:l,height:r,x:c,y:u}}const j=new Set(["absolute","fixed"]);function G(t,e){const n=E(t,!0,e==="fixed"),o=n.top+t.clientTop,s=n.left+t.clientLeft,l=i.isHTMLElement(t)?b(t):a.createCoords(1),r=t.clientWidth*l.x,c=t.clientHeight*l.y,u=s*l.x,f=o*l.y;return{width:r,height:c,x:u,y:f}}function M(t,e,n){let o;if(e==="viewport")o=$(t,n);else if(e==="document")o=K(i.getDocumentElement(t));else if(i.isElement(e))o=G(e,n);else{const s=B(t);o={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return a.rectToClientRect(o)}function _(t,e){const n=i.getParentNode(t);return n===e||!i.isElement(n)||i.isLastTraversableNode(n)?!1:i.getComputedStyle(n).position==="fixed"||_(n,e)}function J(t,e){const n=e.get(t);if(n)return n;let o=i.getOverflowAncestors(t,[],!1).filter(c=>i.isElement(c)&&i.getNodeName(c)!=="body"),s=null;const l=i.getComputedStyle(t).position==="fixed";let r=l?i.getParentNode(t):t;for(;i.isElement(r)&&!i.isLastTraversableNode(r);){const c=i.getComputedStyle(r),u=i.isContainingBlock(r);!u&&c.position==="fixed"&&(s=null),(l?!u&&!s:!u&&c.position==="static"&&!!s&&j.has(s.position)||i.isOverflowElement(r)&&!u&&_(t,r))?o=o.filter(d=>d!==r):s=c,r=i.getParentNode(r)}return e.set(t,o),o}function Q(t){let{element:e,boundary:n,rootBoundary:o,strategy:s}=t;const r=[...n==="clippingAncestors"?i.isTopLayer(e)?[]:J(e,this._c):[].concat(n),o],c=r[0],u=r.reduce((f,d)=>{const g=M(e,d,s);return f.top=a.max(g.top,f.top),f.right=a.min(g.right,f.right),f.bottom=a.min(g.bottom,f.bottom),f.left=a.max(g.left,f.left),f},M(e,c,s));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Y(t){const{width:e,height:n}=A(t);return{width:e,height:n}}function Z(t,e,n){const o=i.isHTMLElement(e),s=i.getDocumentElement(e),l=n==="fixed",r=E(t,!0,l,e);let c={scrollLeft:0,scrollTop:0};const u=a.createCoords(0);function f(){u.x=R(s)}if(o||!o&&!l)if((i.getNodeName(e)!=="body"||i.isOverflowElement(s))&&(c=i.getNodeScroll(e)),o){const h=E(e,!0,l,e);u.x=h.x+e.clientLeft,u.y=h.y+e.clientTop}else s&&f();l&&!o&&s&&f();const d=s&&!o&&!l?I(s,c):a.createCoords(0),g=r.left+c.scrollLeft-u.x-d.x,m=r.top+c.scrollTop-u.y-d.y;return{x:g,y:m,width:r.width,height:r.height}}function S(t){return i.getComputedStyle(t).position==="static"}function H(t,e){if(!i.isHTMLElement(t)||i.getComputedStyle(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return i.getDocumentElement(t)===n&&(n=n.ownerDocument.body),n}function P(t,e){const n=i.getWindow(t);if(i.isTopLayer(t))return n;if(!i.isHTMLElement(t)){let s=i.getParentNode(t);for(;s&&!i.isLastTraversableNode(s);){if(i.isElement(s)&&!S(s))return s;s=i.getParentNode(s)}return n}let o=H(t,e);for(;o&&i.isTableElement(o)&&S(o);)o=H(o,e);return o&&i.isLastTraversableNode(o)&&S(o)&&!i.isContainingBlock(o)?n:o||i.getContainingBlock(t)||n}const tt=async function(t){const e=this.getOffsetParent||P,n=this.getDimensions,o=await n(t.floating);return{reference:Z(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function et(t){return i.getComputedStyle(t).direction==="rtl"}const V={convertOffsetParentRelativeRectToViewportRelativeRect:k,getDocumentElement:i.getDocumentElement,getClippingRect:Q,getOffsetParent:P,getElementRects:tt,getClientRects:X,getDimensions:Y,getScale:b,isElement:i.isElement,isRTL:et};function z(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ot(t,e){let n=null,o;const s=i.getDocumentElement(t);function l(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function r(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),l();const f=t.getBoundingClientRect(),{left:d,top:g,width:m,height:h}=f;if(c||e(),!m||!h)return;const y=a.floor(g),w=a.floor(s.clientWidth-(d+m)),v=a.floor(s.clientHeight-(g+h)),p=a.floor(d),C={rootMargin:-y+"px "+-w+"px "+-v+"px "+-p+"px",threshold:a.max(0,a.min(1,u))||1};let L=!0;function N(F){const T=F[0].intersectionRatio;if(T!==u){if(!L)return r();T?r(!1,T):o=setTimeout(()=>{r(!1,1e-7)},1e3)}T===1&&!z(f,t.getBoundingClientRect())&&r(),L=!1}try{n=new IntersectionObserver(N,{...C,root:s.ownerDocument})}catch{n=new IntersectionObserver(N,C)}n.observe(t)}return r(!0),l}function nt(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,f=W(t),d=s||l?[...f?i.getOverflowAncestors(f):[],...i.getOverflowAncestors(e)]:[];d.forEach(p=>{s&&p.addEventListener("scroll",n,{passive:!0}),l&&p.addEventListener("resize",n)});const g=f&&c?ot(f,n):null;let m=-1,h=null;r&&(h=new ResizeObserver(p=>{let[x]=p;x&&x.target===f&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var C;(C=h)==null||C.observe(e)})),n()}),f&&!u&&h.observe(f),h.observe(e));let y,w=u?E(t):null;u&&v();function v(){const p=E(t);w&&!z(w,p)&&n(),w=p,y=requestAnimationFrame(v)}return n(),()=>{var p;d.forEach(x=>{s&&x.removeEventListener("scroll",n),l&&x.removeEventListener("resize",n)}),g==null||g(),(p=h)==null||p.disconnect(),h=null,u&&cancelAnimationFrame(y)}}const it=O.autoPlacement,st=O.shift,rt=O.flip,lt=(t,e,n)=>{const o=new Map,s={platform:V,...n},l={...s.platform,_c:o};return O.computePosition(t,e,{...s,platform:l})};exports.getOverflowAncestors=i.getOverflowAncestors;exports.autoPlacement=it;exports.autoUpdate=nt;exports.computePosition=lt;exports.flip=rt;exports.platform=V;exports.shift=st;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents265.cjs"),m=["aria-hidden"],d='<path d="M12.025 22.05C11.7583 22.05 11.5042 22 11.2625 21.9C11.0208 21.8 10.8 21.6583 10.6 21.475L2.575 13.45C2.39167 13.25 2.25 13.0292 2.15 12.7875C2.05 12.5458 2 12.2917 2 12.025C2 11.7583 2.05 11.5 2.15 11.25C2.25 11 2.39167 10.7833 2.575 10.6L10.6 2.575C10.8 2.375 11.0208 2.22917 11.2625 2.1375C11.5042 2.04583 11.7583 2 12.025 2C12.2917 2 12.55 2.04583 12.8 2.1375C13.05 2.22917 13.2667 2.375 13.45 2.575L21.475 10.6C21.675 10.7833 21.8208 11 21.9125 11.25C22.0042 11.5 22.05 11.7583 22.05 12.025C22.05 12.2917 22.0042 12.5458 21.9125 12.7875C21.8208 13.0292 21.675 13.25 21.475 13.45L13.45 21.475C13.2667 21.6583 13.05 21.8 12.8 21.9C12.55 22 12.2917 22.05 12.025 22.05ZM11.025 13.025H13.025V7.025H11.025V13.025ZM12.025 16.025C12.3083 16.025 12.5458 15.9292 12.7375 15.7375C12.9292 15.5458 13.025 15.3083 13.025 15.025C13.025 14.7417 12.9292 14.5042 12.7375 14.3125C12.5458 14.1208 12.3083 14.025 12.025 14.025C11.7417 14.025 11.5042 14.1208 11.3125 14.3125C11.1208 14.5042 11.025 14.7417 11.025 15.025C11.025 15.3083 11.1208 15.5458 11.3125 15.7375C11.5042 15.9292 11.7417 16.025 12.025 16.025Z" fill="currentColor"/>',y=i.defineComponent({__name:"WarningIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const a=String(e.size).replace(/px/gi,""),t=Number(a);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=a=>{const t={},v=Math.random().toString(36).substring(2,12);return a.replace(/id="([^"]+)"/g,(l,o)=>{const s=`${v}-${o}`;return t[o]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,o)=>t[o]?`#${t[o]}`:l)},g={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},f=a=>a.replace(/[<>"'&]/g,t=>g[t]),C=`${e.title?`<title data-testid="kui-icon-svg-title">${f(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(a,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon warning-icon","data-testid":"kui-icon-wrapper-warning-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-warning-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:C},null,8,m))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=y;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");function a(r,e){o.warn(`Invalid prop: validator check failed for prop "${r}". ${e}`)}exports.warnInvalidProp=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _="#000933",I="#00abd2",E="#ffffff",O="#6c7489",T="#52596e",U="#afb7c5",K="#0044f4",C="#995c00",R="16px",A="20px",L="24px",N="32px",t="20px",c="4px",S="8px",o="12px",n="16px";exports.KUI_COLOR_TEXT=_;exports.KUI_COLOR_TEXT_DECORATIVE_AQUA=I;exports.KUI_COLOR_TEXT_INVERSE=E;exports.KUI_COLOR_TEXT_NEUTRAL=O;exports.KUI_COLOR_TEXT_NEUTRAL_STRONG=T;exports.KUI_COLOR_TEXT_NEUTRAL_WEAK=U;exports.KUI_COLOR_TEXT_PRIMARY=K;exports.KUI_COLOR_TEXT_WARNING=C;exports.KUI_ICON_SIZE_30=R;exports.KUI_ICON_SIZE_40=A;exports.KUI_ICON_SIZE_50=L;exports.KUI_ICON_SIZE_60=N;exports.KUI_LINE_HEIGHT_30=t;exports.KUI_SPACE_20=c;exports.KUI_SPACE_40=S;exports.KUI_SPACE_50=o;exports.KUI_SPACE_60=n;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),d=require("./kongponents273.cjs"),y=["aria-hidden"],u='<path d="M12 20L4 12L5.4 10.575L11 16.175V4H13V16.175L18.6 10.575L20 12L12 20Z" fill="currentColor"/>',w=i.defineComponent({__name:"ArrowDownIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:d.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return d.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},m=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${m}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),v=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?u:p(u)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon arrow-down-icon","data-testid":"kui-icon-wrapper-arrow-down-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-arrow-down-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:v},null,8,y))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue"),u=require("./kongponents265.cjs"),h=["aria-hidden"],d='<path d="M7.4 15.4L6 14L12 8L18 14L16.6 15.4L12 10.8L7.4 15.4Z" fill="currentColor"/>',y=i.defineComponent({__name:"ChevronUpIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:u.KUI_ICON_SIZE_50,validator:r=>{if(typeof r=="number"&&r>0)return!0;if(typeof r=="string"){const e=String(r).replace(/px/gi,""),n=Number(e);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"},staticIds:{type:Boolean,default:!1}},setup(r){const e=r,n=i.computed(()=>{if(typeof e.size=="number"&&e.size>0)return`${e.size}px`;if(typeof e.size=="string"){const o=String(e.size).replace(/px/gi,""),t=Number(o);if(t&&!isNaN(t)&&Number.isInteger(t)&&t>0)return`${t}px`}return u.KUI_ICON_SIZE_50}),c=i.computed(()=>({boxSizing:"border-box",color:e.color,display:e.display,flexShrink:"0",height:n.value,lineHeight:"0",width:n.value,pointerEvents:e.decorative?"none":void 0})),p=o=>{const t={},m=Math.random().toString(36).substring(2,12);return o.replace(/id="([^"]+)"/g,(l,a)=>{const s=`${m}-${a}`;return t[a]=s,`id="${s}"`}).replace(/#([^\s^")]+)/g,(l,a)=>t[a]?`#${t[a]}`:l)},f={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","&":"&amp;"},g=o=>o.replace(/[<>"'&]/g,t=>f[t]),v=`${e.title?`<title data-testid="kui-icon-svg-title">${g(e.title)}</title>`:""}${e.staticIds?d:p(d)}`;return(o,t)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(r.as),{"aria-hidden":r.decorative?"true":void 0,class:"kui-icon chevron-up-icon","data-testid":"kui-icon-wrapper-chevron-up-icon",style:i.normalizeStyle(c.value),tabindex:r.decorative?"-1":void 0},{default:i.withCtx(()=>[(i.openBlock(),i.createElementBlock("svg",{"aria-hidden":r.decorative?"true":void 0,"data-testid":"kui-icon-svg-chevron-up-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",innerHTML:v},null,8,h))]),_:1},8,["aria-hidden","style","tabindex"]))}});exports.default=y;