@kong/kongponents 9.65.2-pr.3469.6c73202.0 → 9.65.2

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 (812) hide show
  1. package/dist/kongponents105.cjs +1 -1
  2. package/dist/kongponents105.es.js +3 -3
  3. package/dist/kongponents122.cjs +1 -1
  4. package/dist/kongponents122.es.js +1 -1
  5. package/dist/kongponents124.cjs +1 -1
  6. package/dist/kongponents124.es.js +2 -2
  7. package/dist/kongponents128.cjs +1 -1
  8. package/dist/kongponents128.es.js +3 -3
  9. package/dist/kongponents133.cjs +1 -1
  10. package/dist/kongponents133.es.js +3 -3
  11. package/dist/kongponents139.cjs +1 -1
  12. package/dist/kongponents139.es.js +1 -1
  13. package/dist/kongponents141.cjs +1 -1
  14. package/dist/kongponents141.es.js +3 -3
  15. package/dist/kongponents148.cjs +1 -1
  16. package/dist/kongponents148.es.js +2 -2
  17. package/dist/kongponents150.cjs +1 -1
  18. package/dist/kongponents150.es.js +1 -1
  19. package/dist/kongponents152.cjs +1 -1
  20. package/dist/kongponents152.es.js +1 -1
  21. package/dist/kongponents156.cjs +1 -1
  22. package/dist/kongponents156.es.js +1 -1
  23. package/dist/kongponents164.cjs +1 -1
  24. package/dist/kongponents164.es.js +1 -1
  25. package/dist/kongponents166.cjs +1 -1
  26. package/dist/kongponents166.es.js +1 -1
  27. package/dist/kongponents170.cjs +1 -1
  28. package/dist/kongponents170.es.js +5 -5
  29. package/dist/kongponents175.cjs +1 -1
  30. package/dist/kongponents175.es.js +2 -2
  31. package/dist/kongponents185.cjs +1 -0
  32. package/dist/kongponents185.es.js +7 -0
  33. package/dist/kongponents187.cjs +1 -1
  34. package/dist/kongponents187.es.js +5 -8
  35. package/dist/kongponents188.cjs +1 -1
  36. package/dist/kongponents188.es.js +7 -59
  37. package/dist/kongponents189.cjs +1 -1
  38. package/dist/kongponents189.es.js +59 -18
  39. package/dist/kongponents190.cjs +1 -1
  40. package/dist/kongponents190.es.js +207 -4
  41. package/dist/kongponents191.cjs +1 -1
  42. package/dist/kongponents191.es.js +2 -36
  43. package/dist/kongponents192.cjs +1 -2
  44. package/dist/kongponents192.es.js +4 -97
  45. package/dist/kongponents193.cjs +1 -1
  46. package/dist/kongponents193.es.js +18 -16
  47. package/dist/kongponents194.cjs +1 -1
  48. package/dist/kongponents194.es.js +5 -52
  49. package/dist/kongponents195.cjs +1 -1
  50. package/dist/kongponents195.es.js +4 -4
  51. package/dist/kongponents196.cjs +1 -1
  52. package/dist/kongponents196.es.js +3 -3
  53. package/dist/kongponents197.cjs +1 -1
  54. package/dist/kongponents197.es.js +3 -3
  55. package/dist/kongponents198.cjs +1 -1
  56. package/dist/kongponents198.es.js +5 -208
  57. package/dist/kongponents199.cjs +1 -1
  58. package/dist/kongponents199.es.js +16 -9
  59. package/dist/kongponents200.cjs +1 -1
  60. package/dist/kongponents200.es.js +9 -14
  61. package/dist/kongponents202.cjs +1 -1
  62. package/dist/kongponents202.es.js +36 -2
  63. package/dist/kongponents203.cjs +2 -1
  64. package/dist/kongponents203.es.js +98 -5
  65. package/dist/kongponents204.cjs +1 -1
  66. package/dist/kongponents204.es.js +52 -5
  67. package/dist/kongponents205.cjs +1 -1
  68. package/dist/kongponents205.es.js +15 -7
  69. package/dist/kongponents206.cjs +1 -1
  70. package/dist/kongponents206.es.js +5 -181
  71. package/dist/kongponents207.cjs +1 -1
  72. package/dist/kongponents207.es.js +3 -3
  73. package/dist/kongponents208.cjs +1 -1
  74. package/dist/kongponents208.es.js +3 -3
  75. package/dist/kongponents209.cjs +1 -1
  76. package/dist/kongponents209.es.js +3 -3
  77. package/dist/kongponents210.cjs +1 -1
  78. package/dist/kongponents210.es.js +4 -4
  79. package/dist/kongponents211.cjs +1 -1
  80. package/dist/kongponents211.es.js +4 -4
  81. package/dist/kongponents212.cjs +1 -1
  82. package/dist/kongponents212.es.js +4 -4
  83. package/dist/kongponents213.cjs +1 -1
  84. package/dist/kongponents213.es.js +17 -5
  85. package/dist/kongponents214.cjs +1 -1
  86. package/dist/kongponents214.es.js +3 -3
  87. package/dist/kongponents215.cjs +1 -1
  88. package/dist/kongponents215.es.js +5 -17
  89. package/dist/kongponents216.cjs +1 -1
  90. package/dist/kongponents216.es.js +6 -4
  91. package/dist/kongponents217.cjs +1 -1
  92. package/dist/kongponents217.es.js +181 -5
  93. package/dist/kongponents218.cjs +1 -1
  94. package/dist/kongponents218.es.js +1 -1
  95. package/dist/kongponents219.cjs +1 -1
  96. package/dist/kongponents219.es.js +31 -55
  97. package/dist/kongponents220.cjs +1 -0
  98. package/dist/kongponents220.es.js +26 -0
  99. package/dist/kongponents222.cjs +1 -0
  100. package/dist/kongponents222.es.js +50 -0
  101. package/dist/kongponents224.cjs +1 -1
  102. package/dist/kongponents224.es.js +31 -21
  103. package/dist/kongponents226.cjs +1 -1
  104. package/dist/kongponents226.es.js +19 -44
  105. package/dist/kongponents228.cjs +1 -1
  106. package/dist/kongponents228.es.js +39 -28
  107. package/dist/kongponents230.cjs +1 -1
  108. package/dist/kongponents230.es.js +38 -20
  109. package/dist/kongponents232.cjs +1 -1
  110. package/dist/kongponents232.es.js +2 -45
  111. package/dist/kongponents233.cjs +1 -0
  112. package/dist/kongponents233.es.js +89 -0
  113. package/dist/kongponents235.cjs +1 -0
  114. package/dist/{kongponents240.es.js → kongponents235.es.js} +17 -13
  115. package/dist/kongponents237.cjs +1 -1
  116. package/dist/kongponents237.es.js +91 -31
  117. package/dist/kongponents239.cjs +1 -0
  118. package/dist/kongponents239.es.js +248 -0
  119. package/dist/kongponents243.cjs +1 -0
  120. package/dist/kongponents243.es.js +7 -0
  121. package/dist/kongponents244.cjs +1 -1
  122. package/dist/kongponents244.es.js +5 -2
  123. package/dist/kongponents245.cjs +1 -1
  124. package/dist/kongponents245.es.js +19 -90
  125. package/dist/kongponents246.cjs +1 -0
  126. package/dist/kongponents246.es.js +6 -0
  127. package/dist/kongponents247.cjs +1 -1
  128. package/dist/kongponents247.es.js +6 -246
  129. package/dist/kongponents248.cjs +1 -0
  130. package/dist/kongponents248.es.js +7 -0
  131. package/dist/kongponents249.cjs +1 -1
  132. package/dist/kongponents249.es.js +5 -8
  133. package/dist/kongponents25.cjs +1 -1
  134. package/dist/kongponents25.es.js +6 -6
  135. package/dist/kongponents250.cjs +1 -1
  136. package/dist/kongponents250.es.js +8 -6
  137. package/dist/kongponents251.cjs +1 -1
  138. package/dist/kongponents251.es.js +5 -7
  139. package/dist/kongponents252.cjs +1 -1
  140. package/dist/kongponents252.es.js +3 -4
  141. package/dist/kongponents253.cjs +1 -1
  142. package/dist/kongponents253.es.js +16 -9
  143. package/dist/kongponents254.cjs +1 -1
  144. package/dist/kongponents254.es.js +3 -8
  145. package/dist/kongponents255.cjs +1 -1
  146. package/dist/kongponents255.es.js +7 -601
  147. package/dist/kongponents256.cjs +1 -1
  148. package/dist/kongponents256.es.js +7 -71
  149. package/dist/kongponents257.cjs +1 -1
  150. package/dist/kongponents257.es.js +3 -4
  151. package/dist/kongponents258.cjs +1 -1
  152. package/dist/kongponents258.es.js +2 -20
  153. package/dist/kongponents259.cjs +1 -1
  154. package/dist/kongponents259.es.js +5 -4
  155. package/dist/kongponents260.cjs +1 -1
  156. package/dist/kongponents260.es.js +10 -18
  157. package/dist/kongponents261.cjs +1 -1
  158. package/dist/kongponents261.es.js +4 -7
  159. package/dist/kongponents262.cjs +1 -1
  160. package/dist/kongponents262.es.js +4 -6
  161. package/dist/kongponents263.cjs +1 -1
  162. package/dist/kongponents263.es.js +3 -9
  163. package/dist/kongponents264.cjs +1 -1
  164. package/dist/kongponents264.es.js +3 -7
  165. package/dist/kongponents265.cjs +1 -1
  166. package/dist/kongponents265.es.js +7 -7
  167. package/dist/kongponents266.cjs +1 -1
  168. package/dist/kongponents266.es.js +6 -7
  169. package/dist/kongponents267.cjs +1 -1
  170. package/dist/kongponents267.es.js +5 -8
  171. package/dist/kongponents268.cjs +1 -1
  172. package/dist/kongponents268.es.js +9 -124
  173. package/dist/kongponents269.cjs +1 -2
  174. package/dist/kongponents269.es.js +4 -47
  175. package/dist/kongponents27.cjs +1 -1
  176. package/dist/kongponents27.es.js +1 -1
  177. package/dist/kongponents270.cjs +1 -1
  178. package/dist/kongponents270.es.js +9 -8
  179. package/dist/kongponents271.cjs +1 -1
  180. package/dist/kongponents271.es.js +7 -57
  181. package/dist/kongponents272.cjs +1 -1
  182. package/dist/kongponents272.es.js +18 -65
  183. package/dist/kongponents273.cjs +1 -1
  184. package/dist/kongponents273.es.js +11 -4
  185. package/dist/kongponents274.cjs +1 -1
  186. package/dist/kongponents274.es.js +7 -4
  187. package/dist/kongponents275.cjs +1 -1
  188. package/dist/kongponents275.es.js +12 -20
  189. package/dist/kongponents276.cjs +1 -1
  190. package/dist/kongponents276.es.js +10 -5
  191. package/dist/kongponents277.cjs +1 -1
  192. package/dist/kongponents277.es.js +5 -96
  193. package/dist/kongponents278.cjs +1 -1
  194. package/dist/kongponents278.es.js +8 -171
  195. package/dist/kongponents279.cjs +1 -1
  196. package/dist/kongponents279.es.js +16 -5
  197. package/dist/kongponents280.cjs +1 -1
  198. package/dist/kongponents280.es.js +17 -6
  199. package/dist/kongponents281.cjs +1 -1
  200. package/dist/kongponents281.es.js +6 -5
  201. package/dist/kongponents282.cjs +1 -1
  202. package/dist/kongponents282.es.js +11 -5
  203. package/dist/kongponents283.cjs +1 -1
  204. package/dist/kongponents283.es.js +6 -69
  205. package/dist/kongponents284.cjs +1 -1
  206. package/dist/kongponents284.es.js +8 -2
  207. package/dist/kongponents285.cjs +1 -1
  208. package/dist/kongponents285.es.js +5 -4
  209. package/dist/kongponents286.cjs +1 -1
  210. package/dist/kongponents286.es.js +7 -5
  211. package/dist/kongponents287.cjs +1 -1
  212. package/dist/kongponents287.es.js +8 -18
  213. package/dist/kongponents288.cjs +1 -1
  214. package/dist/kongponents288.es.js +7 -3
  215. package/dist/kongponents289.cjs +1 -1
  216. package/dist/kongponents289.es.js +3 -4
  217. package/dist/kongponents290.cjs +1 -1
  218. package/dist/kongponents290.es.js +5 -5
  219. package/dist/kongponents291.cjs +1 -1
  220. package/dist/kongponents291.es.js +15 -8
  221. package/dist/kongponents293.cjs +1 -1
  222. package/dist/kongponents293.es.js +83 -4
  223. package/dist/kongponents295.cjs +1 -1
  224. package/dist/kongponents295.es.js +41 -4
  225. package/dist/kongponents297.cjs +1 -1
  226. package/dist/kongponents297.es.js +55 -7
  227. package/dist/kongponents299.cjs +1 -1
  228. package/dist/kongponents299.es.js +55 -2
  229. package/dist/kongponents301.cjs +1 -1
  230. package/dist/kongponents301.es.js +182 -10
  231. package/dist/kongponents303.cjs +1 -1
  232. package/dist/kongponents303.es.js +2 -4
  233. package/dist/kongponents304.cjs +1 -1
  234. package/dist/kongponents304.es.js +5 -3
  235. package/dist/kongponents305.cjs +1 -1
  236. package/dist/kongponents305.es.js +64 -4
  237. package/dist/kongponents307.cjs +1 -1
  238. package/dist/kongponents307.es.js +7 -6
  239. package/dist/kongponents308.cjs +1 -1
  240. package/dist/kongponents308.es.js +6 -5
  241. package/dist/kongponents309.cjs +1 -1
  242. package/dist/kongponents309.es.js +9 -10
  243. package/dist/kongponents310.cjs +1 -1
  244. package/dist/kongponents310.es.js +5 -5
  245. package/dist/kongponents311.cjs +1 -1
  246. package/dist/kongponents311.es.js +10 -9
  247. package/dist/kongponents312.cjs +1 -1
  248. package/dist/kongponents312.es.js +14 -6
  249. package/dist/kongponents313.cjs +1 -1
  250. package/dist/kongponents313.es.js +3 -18
  251. package/dist/kongponents314.cjs +1 -1
  252. package/dist/kongponents314.es.js +7 -11
  253. package/dist/kongponents315.cjs +1 -1
  254. package/dist/kongponents315.es.js +3 -7
  255. package/dist/kongponents316.cjs +1 -1
  256. package/dist/kongponents316.es.js +10 -12
  257. package/dist/kongponents317.cjs +1 -1
  258. package/dist/kongponents317.es.js +7 -9
  259. package/dist/kongponents318.cjs +1 -1
  260. package/dist/kongponents318.es.js +5 -5
  261. package/dist/kongponents319.cjs +1 -1
  262. package/dist/kongponents319.es.js +2 -9
  263. package/dist/kongponents32.cjs +1 -1
  264. package/dist/kongponents32.es.js +3 -3
  265. package/dist/kongponents320.cjs +1 -1
  266. package/dist/kongponents320.es.js +12 -15
  267. package/dist/kongponents321.cjs +1 -1
  268. package/dist/kongponents321.es.js +2 -15
  269. package/dist/kongponents322.cjs +1 -1
  270. package/dist/kongponents322.es.js +5 -5
  271. package/dist/kongponents323.cjs +1 -1
  272. package/dist/kongponents323.es.js +28 -9
  273. package/dist/kongponents324.cjs +1 -1
  274. package/dist/kongponents324.es.js +3 -7
  275. package/dist/kongponents325.cjs +1 -1
  276. package/dist/kongponents325.es.js +26 -8
  277. package/dist/kongponents326.cjs +1 -1
  278. package/dist/kongponents326.es.js +4 -6
  279. package/dist/kongponents327.cjs +1 -1
  280. package/dist/kongponents327.es.js +4 -7
  281. package/dist/kongponents328.cjs +1 -1
  282. package/dist/kongponents328.es.js +3 -9
  283. package/dist/kongponents329.cjs +1 -1
  284. package/dist/kongponents329.es.js +4 -8
  285. package/dist/kongponents330.cjs +1 -1
  286. package/dist/kongponents330.es.js +4 -4
  287. package/dist/kongponents331.cjs +1 -1
  288. package/dist/kongponents331.es.js +14 -5
  289. package/dist/kongponents332.cjs +1 -1
  290. package/dist/kongponents332.es.js +26 -15
  291. package/dist/kongponents333.cjs +1 -1
  292. package/dist/kongponents333.es.js +16 -64
  293. package/dist/kongponents334.cjs +1 -0
  294. package/dist/kongponents334.es.js +12 -0
  295. package/dist/kongponents335.cjs +1 -1
  296. package/dist/kongponents335.es.js +5 -55
  297. package/dist/kongponents336.cjs +1 -0
  298. package/dist/kongponents336.es.js +16 -0
  299. package/dist/kongponents337.cjs +1 -1
  300. package/dist/kongponents337.es.js +9 -2
  301. package/dist/kongponents338.cjs +1 -1
  302. package/dist/kongponents338.es.js +3 -87
  303. package/dist/kongponents339.cjs +1 -0
  304. package/dist/kongponents339.es.js +8 -0
  305. package/dist/kongponents340.cjs +1 -1
  306. package/dist/kongponents340.es.js +6 -45
  307. package/dist/kongponents341.cjs +1 -0
  308. package/dist/kongponents341.es.js +10 -0
  309. package/dist/kongponents342.cjs +1 -1
  310. package/dist/kongponents342.es.js +6 -5
  311. package/dist/kongponents343.cjs +1 -1
  312. package/dist/kongponents343.es.js +11 -5
  313. package/dist/kongponents344.cjs +1 -1
  314. package/dist/kongponents344.es.js +6 -94
  315. package/dist/kongponents345.cjs +1 -0
  316. package/dist/kongponents345.es.js +7 -0
  317. package/dist/kongponents346.cjs +1 -1
  318. package/dist/kongponents346.es.js +4 -10
  319. package/dist/kongponents347.cjs +1 -1
  320. package/dist/kongponents347.es.js +5 -10
  321. package/dist/kongponents348.cjs +1 -1
  322. package/dist/kongponents348.es.js +8 -13
  323. package/dist/kongponents349.cjs +1 -1
  324. package/dist/kongponents349.es.js +6 -10
  325. package/dist/kongponents350.cjs +1 -1
  326. package/dist/kongponents350.es.js +10 -19
  327. package/dist/kongponents351.cjs +1 -1
  328. package/dist/kongponents351.es.js +6 -5
  329. package/dist/kongponents352.cjs +1 -1
  330. package/dist/kongponents352.es.js +20 -52
  331. package/dist/kongponents353.cjs +1 -1
  332. package/dist/kongponents353.es.js +7 -2
  333. package/dist/kongponents354.cjs +1 -1
  334. package/dist/kongponents354.es.js +6 -8
  335. package/dist/kongponents355.cjs +1 -1
  336. package/dist/kongponents355.es.js +5 -3
  337. package/dist/kongponents356.cjs +1 -1
  338. package/dist/kongponents356.es.js +8 -13
  339. package/dist/kongponents357.cjs +1 -1
  340. package/dist/kongponents357.es.js +121 -15
  341. package/dist/kongponents359.cjs +1 -1
  342. package/dist/kongponents359.es.js +5 -13
  343. package/dist/kongponents360.cjs +1 -1
  344. package/dist/kongponents360.es.js +8 -9
  345. package/dist/kongponents361.cjs +1 -1
  346. package/dist/kongponents361.es.js +7 -53
  347. package/dist/kongponents362.cjs +1 -1
  348. package/dist/kongponents362.es.js +8 -57
  349. package/dist/kongponents363.cjs +1 -1
  350. package/dist/kongponents363.es.js +5 -59
  351. package/dist/kongponents364.cjs +1 -1
  352. package/dist/kongponents364.es.js +10 -33
  353. package/dist/kongponents365.cjs +1 -1
  354. package/dist/kongponents365.es.js +9 -31
  355. package/dist/kongponents366.cjs +1 -1
  356. package/dist/kongponents366.es.js +601 -71
  357. package/dist/kongponents367.cjs +1 -1
  358. package/dist/kongponents367.es.js +70 -71
  359. package/dist/kongponents368.cjs +1 -1
  360. package/dist/kongponents368.es.js +5 -78
  361. package/dist/kongponents369.cjs +1 -1
  362. package/dist/kongponents369.es.js +20 -78
  363. package/dist/kongponents370.cjs +1 -1
  364. package/dist/kongponents370.es.js +5 -48
  365. package/dist/kongponents371.cjs +1 -1
  366. package/dist/kongponents371.es.js +17 -47
  367. package/dist/kongponents372.cjs +1 -1
  368. package/dist/kongponents372.es.js +8 -47
  369. package/dist/kongponents373.cjs +1 -1
  370. package/dist/kongponents373.es.js +6 -48
  371. package/dist/kongponents374.cjs +1 -1
  372. package/dist/kongponents374.es.js +9 -80
  373. package/dist/kongponents375.cjs +1 -1
  374. package/dist/kongponents375.es.js +8 -92
  375. package/dist/kongponents376.cjs +1 -1
  376. package/dist/kongponents376.es.js +8 -92
  377. package/dist/kongponents377.cjs +1 -1
  378. package/dist/kongponents377.es.js +8 -91
  379. package/dist/kongponents378.cjs +1 -1
  380. package/dist/kongponents378.es.js +8 -58
  381. package/dist/kongponents379.cjs +1 -1
  382. package/dist/kongponents379.es.js +121 -54
  383. package/dist/kongponents380.cjs +2 -1
  384. package/dist/kongponents380.es.js +46 -55
  385. package/dist/kongponents381.cjs +1 -1
  386. package/dist/kongponents381.es.js +8 -47
  387. package/dist/kongponents382.cjs +1 -1
  388. package/dist/kongponents382.es.js +50 -39
  389. package/dist/kongponents383.cjs +1 -1
  390. package/dist/kongponents383.es.js +65 -47
  391. package/dist/kongponents384.cjs +1 -1
  392. package/dist/kongponents384.es.js +5 -47
  393. package/dist/kongponents385.cjs +1 -1
  394. package/dist/kongponents385.es.js +4 -46
  395. package/dist/kongponents386.cjs +1 -1
  396. package/dist/kongponents386.es.js +20 -45
  397. package/dist/kongponents387.cjs +1 -1
  398. package/dist/kongponents387.es.js +5 -34
  399. package/dist/kongponents388.cjs +1 -1
  400. package/dist/kongponents388.es.js +95 -41
  401. package/dist/kongponents389.cjs +1 -1
  402. package/dist/kongponents389.es.js +172 -43
  403. package/dist/kongponents390.cjs +1 -1
  404. package/dist/kongponents390.es.js +5 -33
  405. package/dist/kongponents391.cjs +1 -1
  406. package/dist/kongponents391.es.js +7 -33
  407. package/dist/kongponents392.cjs +1 -1
  408. package/dist/kongponents392.es.js +5 -72
  409. package/dist/kongponents393.cjs +1 -1
  410. package/dist/kongponents393.es.js +5 -2
  411. package/dist/kongponents394.cjs +1 -1
  412. package/dist/kongponents394.es.js +69 -12
  413. package/dist/kongponents395.cjs +1 -1
  414. package/dist/kongponents395.es.js +2 -23
  415. package/dist/kongponents396.cjs +1 -1
  416. package/dist/kongponents396.es.js +94 -22
  417. package/dist/kongponents398.cjs +1 -1
  418. package/dist/kongponents398.es.js +6 -614
  419. package/dist/kongponents399.cjs +1 -1
  420. package/dist/kongponents399.es.js +17 -80
  421. package/dist/kongponents400.cjs +1 -1
  422. package/dist/kongponents400.es.js +4 -14
  423. package/dist/kongponents401.cjs +1 -1
  424. package/dist/kongponents401.es.js +4 -26
  425. package/dist/kongponents402.cjs +1 -1
  426. package/dist/kongponents402.es.js +3 -16
  427. package/dist/kongponents403.cjs +1 -1
  428. package/dist/kongponents403.es.js +3 -14
  429. package/dist/kongponents404.cjs +1 -1
  430. package/dist/kongponents404.es.js +13 -15
  431. package/dist/kongponents405.cjs +1 -1
  432. package/dist/kongponents405.es.js +6 -14
  433. package/dist/kongponents406.cjs +1 -1
  434. package/dist/kongponents406.es.js +8 -24
  435. package/dist/kongponents407.cjs +1 -1
  436. package/dist/kongponents407.es.js +10 -17
  437. package/dist/kongponents408.cjs +1 -1
  438. package/dist/kongponents408.es.js +5 -2
  439. package/dist/kongponents409.cjs +1 -1
  440. package/dist/kongponents409.es.js +3 -17
  441. package/dist/kongponents410.cjs +1 -1
  442. package/dist/kongponents410.es.js +4 -2
  443. package/dist/kongponents411.cjs +1 -1
  444. package/dist/kongponents411.es.js +38 -2
  445. package/dist/kongponents412.cjs +1 -1
  446. package/dist/kongponents412.es.js +41 -63
  447. package/dist/kongponents413.cjs +1 -1
  448. package/dist/kongponents413.es.js +33 -4
  449. package/dist/kongponents414.cjs +1 -1
  450. package/dist/kongponents414.es.js +3 -8
  451. package/dist/kongponents415.cjs +1 -1
  452. package/dist/kongponents415.es.js +17 -5
  453. package/dist/kongponents416.cjs +1 -1
  454. package/dist/kongponents416.es.js +6 -9
  455. package/dist/kongponents417.cjs +1 -1
  456. package/dist/kongponents417.es.js +10 -5
  457. package/dist/kongponents418.cjs +1 -1
  458. package/dist/kongponents418.es.js +10 -9
  459. package/dist/kongponents419.cjs +1 -1
  460. package/dist/kongponents419.es.js +12 -14
  461. package/dist/kongponents420.cjs +1 -1
  462. package/dist/kongponents420.es.js +11 -3
  463. package/dist/kongponents421.cjs +1 -1
  464. package/dist/kongponents421.es.js +18 -7
  465. package/dist/kongponents422.cjs +1 -1
  466. package/dist/kongponents422.es.js +6 -3
  467. package/dist/kongponents423.cjs +1 -1
  468. package/dist/kongponents423.es.js +53 -10
  469. package/dist/kongponents424.cjs +1 -1
  470. package/dist/kongponents424.es.js +2 -8
  471. package/dist/kongponents425.cjs +1 -1
  472. package/dist/kongponents425.es.js +8 -5
  473. package/dist/kongponents426.cjs +1 -1
  474. package/dist/kongponents426.es.js +5 -2
  475. package/dist/kongponents427.cjs +1 -1
  476. package/dist/kongponents427.es.js +13 -12
  477. package/dist/kongponents428.cjs +1 -1
  478. package/dist/kongponents428.es.js +14 -4
  479. package/dist/kongponents429.cjs +1 -1
  480. package/dist/kongponents429.es.js +4 -3
  481. package/dist/kongponents430.cjs +1 -1
  482. package/dist/kongponents430.es.js +13 -26
  483. package/dist/kongponents431.cjs +1 -1
  484. package/dist/kongponents431.es.js +10 -4
  485. package/dist/kongponents432.cjs +1 -1
  486. package/dist/kongponents432.es.js +53 -4
  487. package/dist/kongponents433.cjs +1 -1
  488. package/dist/kongponents433.es.js +57 -4
  489. package/dist/kongponents434.cjs +1 -1
  490. package/dist/kongponents434.es.js +59 -4
  491. package/dist/kongponents435.cjs +1 -1
  492. package/dist/kongponents435.es.js +33 -4
  493. package/dist/kongponents436.cjs +1 -1
  494. package/dist/kongponents436.es.js +29 -13
  495. package/dist/kongponents437.cjs +1 -1
  496. package/dist/kongponents437.es.js +72 -6
  497. package/dist/kongponents438.cjs +1 -1
  498. package/dist/kongponents438.es.js +70 -28
  499. package/dist/kongponents439.cjs +1 -1
  500. package/dist/kongponents439.es.js +76 -25
  501. package/dist/kongponents440.cjs +1 -1
  502. package/dist/kongponents440.es.js +78 -16
  503. package/dist/kongponents441.cjs +1 -1
  504. package/dist/kongponents441.es.js +47 -9
  505. package/dist/kongponents442.cjs +1 -1
  506. package/dist/kongponents442.es.js +48 -5
  507. package/dist/kongponents443.cjs +1 -1
  508. package/dist/kongponents443.es.js +47 -14
  509. package/dist/kongponents444.cjs +1 -1
  510. package/dist/kongponents444.es.js +48 -9
  511. package/dist/kongponents445.cjs +1 -1
  512. package/dist/kongponents445.es.js +80 -3
  513. package/dist/kongponents446.cjs +1 -1
  514. package/dist/kongponents446.es.js +92 -6
  515. package/dist/kongponents447.cjs +1 -1
  516. package/dist/kongponents447.es.js +92 -6
  517. package/dist/kongponents448.cjs +1 -1
  518. package/dist/kongponents448.es.js +91 -8
  519. package/dist/kongponents449.cjs +1 -1
  520. package/dist/kongponents449.es.js +58 -6
  521. package/dist/kongponents450.cjs +1 -1
  522. package/dist/kongponents450.es.js +58 -11
  523. package/dist/kongponents451.cjs +1 -1
  524. package/dist/kongponents451.es.js +58 -6
  525. package/dist/kongponents452.cjs +1 -1
  526. package/dist/kongponents452.es.js +47 -5
  527. package/dist/kongponents453.cjs +1 -1
  528. package/dist/kongponents453.es.js +46 -5
  529. package/dist/kongponents454.cjs +1 -1
  530. package/dist/kongponents454.es.js +47 -6
  531. package/dist/kongponents455.cjs +1 -1
  532. package/dist/kongponents455.es.js +47 -8
  533. package/dist/kongponents456.cjs +1 -1
  534. package/dist/kongponents456.es.js +46 -7
  535. package/dist/kongponents457.cjs +1 -1
  536. package/dist/kongponents457.es.js +46 -10
  537. package/dist/kongponents458.cjs +1 -1
  538. package/dist/kongponents458.es.js +34 -7
  539. package/dist/kongponents459.cjs +1 -1
  540. package/dist/kongponents459.es.js +42 -21
  541. package/dist/kongponents460.cjs +1 -1
  542. package/dist/kongponents460.es.js +43 -7
  543. package/dist/kongponents461.cjs +1 -1
  544. package/dist/kongponents461.es.js +33 -7
  545. package/dist/kongponents462.cjs +1 -1
  546. package/dist/kongponents462.es.js +33 -9
  547. package/dist/kongponents463.cjs +1 -1
  548. package/dist/kongponents463.es.js +17 -6
  549. package/dist/kongponents464.cjs +1 -1
  550. package/dist/kongponents464.es.js +2 -121
  551. package/dist/kongponents465.cjs +1 -0
  552. package/dist/kongponents465.es.js +15 -0
  553. package/dist/kongponents466.cjs +1 -1
  554. package/dist/kongponents466.es.js +17 -7
  555. package/dist/kongponents467.cjs +1 -1
  556. package/dist/kongponents467.es.js +71 -10
  557. package/dist/kongponents468.cjs +1 -1
  558. package/dist/kongponents468.es.js +2 -14
  559. package/dist/kongponents469.cjs +1 -1
  560. package/dist/kongponents469.es.js +22 -13
  561. package/dist/kongponents470.cjs +1 -1
  562. package/dist/kongponents470.es.js +22 -67
  563. package/dist/kongponents471.cjs +1 -1
  564. package/dist/kongponents471.es.js +21 -31
  565. package/dist/kongponents472.cjs +1 -1
  566. package/dist/kongponents472.es.js +615 -11
  567. package/dist/kongponents473.cjs +1 -1
  568. package/dist/kongponents473.es.js +81 -121
  569. package/dist/kongponents474.cjs +1 -1
  570. package/dist/kongponents474.es.js +14 -85
  571. package/dist/kongponents475.cjs +1 -1
  572. package/dist/kongponents475.es.js +26 -5
  573. package/dist/kongponents476.cjs +1 -1
  574. package/dist/kongponents476.es.js +16 -5
  575. package/dist/kongponents477.cjs +1 -1
  576. package/dist/kongponents477.es.js +14 -5
  577. package/dist/kongponents478.cjs +1 -1
  578. package/dist/kongponents478.es.js +15 -9
  579. package/dist/kongponents479.cjs +1 -1
  580. package/dist/kongponents479.es.js +14 -7
  581. package/dist/kongponents480.cjs +1 -1
  582. package/dist/kongponents480.es.js +22 -5
  583. package/dist/kongponents481.cjs +1 -1
  584. package/dist/kongponents481.es.js +64 -24
  585. package/dist/kongponents482.cjs +1 -1
  586. package/dist/kongponents482.es.js +4 -96
  587. package/dist/kongponents483.cjs +1 -1
  588. package/dist/kongponents483.es.js +2 -47
  589. package/dist/kongponents484.cjs +1 -1
  590. package/dist/kongponents484.es.js +2 -10
  591. package/dist/kongponents485.cjs +1 -1
  592. package/dist/kongponents485.es.js +3 -9
  593. package/dist/kongponents486.cjs +1 -1
  594. package/dist/kongponents486.es.js +3 -13
  595. package/dist/kongponents487.cjs +1 -1
  596. package/dist/kongponents487.es.js +9 -10
  597. package/dist/kongponents488.cjs +1 -1
  598. package/dist/kongponents488.es.js +6 -2
  599. package/dist/kongponents489.cjs +1 -1
  600. package/dist/kongponents489.es.js +5 -2
  601. package/dist/kongponents490.cjs +1 -1
  602. package/dist/kongponents490.es.js +5 -18
  603. package/dist/kongponents491.cjs +1 -1
  604. package/dist/kongponents491.es.js +3 -2
  605. package/dist/kongponents492.cjs +1 -1
  606. package/dist/kongponents492.es.js +4 -21
  607. package/dist/kongponents493.cjs +1 -1
  608. package/dist/kongponents493.es.js +5 -2
  609. package/dist/kongponents494.cjs +1 -1
  610. package/dist/kongponents494.es.js +10 -15
  611. package/dist/kongponents495.cjs +1 -1
  612. package/dist/kongponents495.es.js +7 -2
  613. package/dist/kongponents496.cjs +1 -1
  614. package/dist/kongponents496.es.js +6 -22
  615. package/dist/kongponents497.cjs +1 -1
  616. package/dist/kongponents497.es.js +4 -22
  617. package/dist/kongponents498.cjs +1 -1
  618. package/dist/kongponents498.es.js +7 -25
  619. package/dist/kongponents499.cjs +1 -1
  620. package/dist/kongponents499.es.js +10 -22
  621. package/dist/kongponents500.cjs +1 -1
  622. package/dist/kongponents500.es.js +13 -31
  623. package/dist/kongponents501.cjs +1 -1
  624. package/dist/kongponents501.es.js +13 -15
  625. package/dist/kongponents502.cjs +1 -1
  626. package/dist/kongponents502.es.js +67 -66
  627. package/dist/kongponents503.cjs +1 -1
  628. package/dist/kongponents503.es.js +31 -2
  629. package/dist/kongponents504.cjs +1 -1
  630. package/dist/kongponents504.es.js +11 -2
  631. package/dist/kongponents505.cjs +1 -1
  632. package/dist/kongponents505.es.js +121 -2
  633. package/dist/kongponents506.cjs +1 -1
  634. package/dist/kongponents506.es.js +86 -2
  635. package/dist/kongponents507.cjs +1 -1
  636. package/dist/kongponents507.es.js +6 -2
  637. package/dist/kongponents508.cjs +1 -1
  638. package/dist/kongponents508.es.js +5 -29
  639. package/dist/kongponents509.cjs +1 -1
  640. package/dist/kongponents509.es.js +6 -2
  641. package/dist/kongponents510.cjs +1 -1
  642. package/dist/kongponents510.es.js +10 -3
  643. package/dist/kongponents511.cjs +1 -1
  644. package/dist/kongponents511.es.js +6 -5
  645. package/dist/kongponents512.cjs +1 -1
  646. package/dist/kongponents512.es.js +6 -17
  647. package/dist/kongponents513.cjs +1 -1
  648. package/dist/kongponents513.es.js +25 -5
  649. package/dist/kongponents514.cjs +1 -1
  650. package/dist/kongponents514.es.js +96 -4
  651. package/dist/kongponents515.cjs +1 -1
  652. package/dist/kongponents515.es.js +47 -4
  653. package/dist/kongponents516.cjs +1 -1
  654. package/dist/kongponents516.es.js +9 -3
  655. package/dist/kongponents517.cjs +1 -1
  656. package/dist/kongponents517.es.js +9 -14
  657. package/dist/kongponents518.cjs +1 -1
  658. package/dist/kongponents518.es.js +13 -6
  659. package/dist/kongponents519.cjs +1 -1
  660. package/dist/kongponents519.es.js +11 -8
  661. package/dist/kongponents520.cjs +1 -1
  662. package/dist/kongponents520.es.js +2 -11
  663. package/dist/kongponents521.cjs +1 -1
  664. package/dist/kongponents521.es.js +2 -5
  665. package/dist/kongponents522.cjs +1 -1
  666. package/dist/kongponents522.es.js +2 -4
  667. package/dist/kongponents523.cjs +1 -1
  668. package/dist/kongponents523.es.js +18 -3
  669. package/dist/kongponents524.cjs +1 -1
  670. package/dist/kongponents524.es.js +2 -38
  671. package/dist/kongponents525.cjs +1 -1
  672. package/dist/kongponents525.es.js +21 -42
  673. package/dist/kongponents526.cjs +1 -1
  674. package/dist/kongponents526.es.js +2 -34
  675. package/dist/kongponents527.cjs +1 -1
  676. package/dist/kongponents527.es.js +16 -3
  677. package/dist/kongponents528.cjs +1 -1
  678. package/dist/kongponents528.es.js +2 -18
  679. package/dist/kongponents529.cjs +1 -1
  680. package/dist/kongponents529.es.js +22 -5
  681. package/dist/kongponents530.cjs +1 -1
  682. package/dist/kongponents530.es.js +22 -6
  683. package/dist/kongponents531.cjs +1 -1
  684. package/dist/kongponents531.es.js +24 -13
  685. package/dist/kongponents532.cjs +1 -1
  686. package/dist/kongponents532.es.js +22 -28
  687. package/dist/kongponents533.cjs +1 -1
  688. package/dist/kongponents533.es.js +31 -15
  689. package/dist/kongponents534.cjs +1 -1
  690. package/dist/kongponents534.es.js +15 -11
  691. package/dist/kongponents535.cjs +1 -1
  692. package/dist/kongponents535.es.js +66 -2
  693. package/dist/kongponents536.es.js +2 -2
  694. package/dist/kongponents537.cjs +1 -1
  695. package/dist/kongponents537.es.js +2 -2
  696. package/dist/kongponents538.es.js +2 -2
  697. package/dist/kongponents539.cjs +1 -1
  698. package/dist/kongponents539.es.js +2 -2
  699. package/dist/kongponents540.cjs +1 -1
  700. package/dist/kongponents540.es.js +2 -21
  701. package/dist/kongponents541.cjs +1 -1
  702. package/dist/kongponents541.es.js +27 -21
  703. package/dist/kongponents542.cjs +1 -1
  704. package/dist/kongponents542.es.js +4 -2
  705. package/dist/kongponents543.cjs +1 -1
  706. package/dist/kongponents543.es.js +8 -2
  707. package/dist/kongponents544.cjs +1 -1
  708. package/dist/kongponents544.es.js +3 -27
  709. package/dist/kongponents545.cjs +1 -1
  710. package/dist/kongponents545.es.js +6 -26
  711. package/dist/kongponents546.cjs +1 -1
  712. package/dist/kongponents546.es.js +15 -2
  713. package/dist/kongponents547.cjs +1 -1
  714. package/dist/kongponents547.es.js +29 -2
  715. package/dist/kongponents548.cjs +1 -1
  716. package/dist/kongponents548.es.js +16 -2
  717. package/dist/kongponents549.cjs +1 -1
  718. package/dist/kongponents549.es.js +12 -2
  719. package/dist/kongponents550.cjs +1 -1
  720. package/dist/kongponents550.es.js +2 -77
  721. package/dist/kongponents551.cjs +1 -1
  722. package/dist/kongponents551.es.js +2 -43
  723. package/dist/kongponents552.cjs +1 -1
  724. package/dist/kongponents552.es.js +2 -21
  725. package/dist/kongponents553.cjs +1 -1
  726. package/dist/kongponents553.es.js +2 -133
  727. package/dist/kongponents554.cjs +1 -1
  728. package/dist/kongponents554.es.js +2 -98
  729. package/dist/kongponents555.cjs +1 -1
  730. package/dist/kongponents555.es.js +20 -3
  731. package/dist/kongponents556.cjs +1 -1
  732. package/dist/kongponents556.es.js +23 -3
  733. package/dist/kongponents557.cjs +1 -1
  734. package/dist/kongponents557.es.js +2 -10
  735. package/dist/kongponents558.cjs +1 -1
  736. package/dist/kongponents558.es.js +2 -6
  737. package/dist/kongponents559.cjs +1 -1
  738. package/dist/kongponents559.es.js +26 -4
  739. package/dist/kongponents560.cjs +1 -1
  740. package/dist/kongponents560.es.js +26 -5
  741. package/dist/kongponents561.cjs +1 -1
  742. package/dist/kongponents561.es.js +2 -3
  743. package/dist/kongponents562.cjs +1 -1
  744. package/dist/kongponents562.es.js +2 -5
  745. package/dist/kongponents563.cjs +1 -1
  746. package/dist/kongponents563.es.js +2 -5
  747. package/dist/kongponents564.cjs +1 -1
  748. package/dist/kongponents564.es.js +2 -11
  749. package/dist/kongponents565.cjs +1 -1
  750. package/dist/kongponents565.es.js +76 -6
  751. package/dist/kongponents566.cjs +1 -1
  752. package/dist/kongponents566.es.js +42 -6
  753. package/dist/kongponents567.cjs +1 -1
  754. package/dist/kongponents567.es.js +20 -4
  755. package/dist/kongponents568.cjs +1 -1
  756. package/dist/kongponents568.es.js +133 -2
  757. package/dist/kongponents569.cjs +1 -1
  758. package/dist/kongponents569.es.js +98 -2
  759. package/dist/kongponents572.es.js +2 -2
  760. package/dist/kongponents573.es.js +2 -2
  761. package/dist/kongponents574.cjs +1 -1
  762. package/dist/kongponents574.es.js +2 -17
  763. package/dist/kongponents575.es.js +2 -2
  764. package/dist/kongponents576.cjs +1 -1
  765. package/dist/kongponents576.es.js +17 -2
  766. package/dist/kongponents577.cjs +1 -1
  767. package/dist/kongponents577.es.js +2 -25
  768. package/dist/kongponents578.es.js +2 -2
  769. package/dist/kongponents579.cjs +1 -1
  770. package/dist/kongponents579.es.js +20 -34
  771. package/dist/kongponents580.cjs +1 -1
  772. package/dist/kongponents580.es.js +2 -26
  773. package/dist/kongponents581.cjs +1 -1
  774. package/dist/kongponents581.es.js +38 -7
  775. package/dist/kongponents582.cjs +1 -1
  776. package/dist/kongponents582.es.js +26 -3
  777. package/dist/kongponents583.es.js +2 -2
  778. package/dist/kongponents584.es.js +2 -2
  779. package/dist/kongponents98.cjs +1 -1
  780. package/dist/kongponents98.es.js +5 -5
  781. package/package.json +37 -36
  782. package/dist/kongponents186.cjs +0 -1
  783. package/dist/kongponents186.es.js +0 -7
  784. package/dist/kongponents221.cjs +0 -1
  785. package/dist/kongponents221.es.js +0 -184
  786. package/dist/kongponents223.cjs +0 -1
  787. package/dist/kongponents223.es.js +0 -8
  788. package/dist/kongponents234.cjs +0 -1
  789. package/dist/kongponents234.es.js +0 -43
  790. package/dist/kongponents238.cjs +0 -1
  791. package/dist/kongponents238.es.js +0 -85
  792. package/dist/kongponents240.cjs +0 -1
  793. package/dist/kongponents292.cjs +0 -1
  794. package/dist/kongponents292.es.js +0 -8
  795. package/dist/kongponents294.cjs +0 -1
  796. package/dist/kongponents294.es.js +0 -19
  797. package/dist/kongponents296.cjs +0 -1
  798. package/dist/kongponents296.es.js +0 -10
  799. package/dist/kongponents298.cjs +0 -1
  800. package/dist/kongponents298.es.js +0 -6
  801. package/dist/kongponents300.cjs +0 -1
  802. package/dist/kongponents300.es.js +0 -8
  803. package/dist/kongponents302.cjs +0 -1
  804. package/dist/kongponents302.es.js +0 -7
  805. package/dist/kongponents306.cjs +0 -1
  806. package/dist/kongponents306.es.js +0 -10
  807. package/dist/kongponents358.cjs +0 -1
  808. package/dist/kongponents358.es.js +0 -6
  809. package/dist/kongponents397.cjs +0 -1
  810. package/dist/kongponents397.es.js +0 -23
  811. /package/dist/{kongponents242.cjs → kongponents241.cjs} +0 -0
  812. /package/dist/{kongponents242.es.js → kongponents241.es.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as J, useCssVars as X, watch as n, useAttrs as Y, useSlots as G, computed as r, ref as k, useId as j, openBlock as s, createElementBlock as f, normalizeClass as z, createBlock as Q, mergeProps as T, createSlots as W, withCtx as g, renderSlot as b, createTextVNode as S, toDisplayString as E, createCommentVNode as I, createElementVNode as N, unref as u, createVNode as _, Transition as ee, Fragment as te } from "vue";
2
2
  import ae from "./kongponents184.es.js";
3
3
  import le from "./kongponents57.es.js";
4
- import { IS_MAYBE_FIREFOX as w, getScrollbarSize as re, cssSupports as ie } from "./kongponents193.es.js";
4
+ import { IS_MAYBE_FIREFOX as w, getScrollbarSize as re, cssSupports as ie } from "./kongponents199.es.js";
5
5
  const oe = ["data-value"], ne = ["id", "aria-invalid", "rows", "value"], p = 2048, R = w ? 0 : re(), B = ie("field-sizing", "content"), me = /* @__PURE__ */ J({
6
6
  inheritAttrs: !1,
7
7
  __name: "KTextArea",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@kong/icons"),l=require("./kongponents182.cjs"),n=require("./kongponents179.cjs"),a=require("./kongponents190.cjs"),c=["href"],u=e.defineComponent({__name:"KExternalLink",props:{href:{},hideIcon:{type:Boolean}},setup(r){e.watch(()=>r.href,t=>{n.isValidUrl(t)||a.warnInvalidProp("href",`\`href\` should be a valid URL, but got "${t}".`)},{immediate:!0});const o=e.computed(()=>!!n.isValidUrl(r.href));return(t,s)=>o.value?(e.openBlock(),e.createElementBlock("a",{key:0,class:"k-external-link",href:r.href,rel:"noopener",target:"_blank"},[e.renderSlot(t.$slots,"default",{},void 0,!0),r.hideIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(i.ExternalLinkIcon),{key:0,decorative:"",size:`var(--kui-icon-size-30, ${e.unref(l.KUI_ICON_SIZE_30)})`},null,8,["size"]))],8,c)):e.createCommentVNode("",!0)}});exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@kong/icons"),l=require("./kongponents182.cjs"),n=require("./kongponents179.cjs"),a=require("./kongponents192.cjs"),c=["href"],u=e.defineComponent({__name:"KExternalLink",props:{href:{},hideIcon:{type:Boolean}},setup(r){e.watch(()=>r.href,t=>{n.isValidUrl(t)||a.warnInvalidProp("href",`\`href\` should be a valid URL, but got "${t}".`)},{immediate:!0});const o=e.computed(()=>!!n.isValidUrl(r.href));return(t,s)=>o.value?(e.openBlock(),e.createElementBlock("a",{key:0,class:"k-external-link",href:r.href,rel:"noopener",target:"_blank"},[e.renderSlot(t.$slots,"default",{},void 0,!0),r.hideIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(i.ExternalLinkIcon),{key:0,decorative:"",size:`var(--kui-icon-size-30, ${e.unref(l.KUI_ICON_SIZE_30)})`},null,8,["size"]))],8,c)):e.createCommentVNode("",!0)}});exports.default=u;
@@ -2,7 +2,7 @@ import { defineComponent as l, watch as c, computed as f, openBlock as t, create
2
2
  import { ExternalLinkIcon as u } from "@kong/icons";
3
3
  import { KUI_ICON_SIZE_30 as h } from "./kongponents182.es.js";
4
4
  import { isValidUrl as i } from "./kongponents179.es.js";
5
- import { warnInvalidProp as k } from "./kongponents190.es.js";
5
+ import { warnInvalidProp as k } from "./kongponents192.es.js";
6
6
  const p = ["href"], b = /* @__PURE__ */ l({
7
7
  __name: "KExternalLink",
8
8
  props: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("@kong/icons"),k=require("./kongponents182.cjs"),B=require("./kongponents201.cjs"),H=require("./kongponents183.cjs"),N=require("./kongponents190.cjs"),w=require("./kongponents38.cjs"),S={key:0,class:"truncate-expand-controls"},V={key:0,"data-testid":"expand-trigger-wrapper"},E=["aria-label"],z={key:0,"data-testid":"collapse-trigger-wrapper"},$={key:0,"data-testid":"expand-trigger-wrapper"},q={key:1},I=e.defineComponent({__name:"KTruncate",props:{rows:{default:1},truncateText:{type:Boolean},expanded:{type:Boolean},width:{default:"100%"}},setup(o){e.useCssVars(t=>({v036f1beb:p.value,v4085a467:e.unref(h),v5f97c330:t.rows})),e.watch(()=>o.rows,t=>{t<0&&N.warnInvalidProp("rows",`\`rows\` prop cannot be less than 0, but got "${t}".`)},{immediate:!0});const n=e.ref(o.expanded),d=e.ref(!1),f=e.ref(),a=e.ref(),i=e.ref(),g=e.ref(),p=e.ref("0px"),h=k.KUI_SPACE_40,s=e.ref(0),x=()=>{if(!o.truncateText&&a.value&&a.value.children?.length){const t=a.value.children,r=Number(String(h).replace(/px$/gi,""));let c=0;for(let u=0;u<t.length;u++)c=t[u].offsetHeight>c?t[u].offsetHeight:c;const m=(o.rows===1?0:(o.rows-1)*r)+c*o.rows+6,T=a.value.offsetHeight>m?`${m}px`:"auto";window.requestAnimationFrame(()=>{p.value=T,window.requestAnimationFrame(v)})}},v=()=>{if(a.value&&i.value){const t=o.truncateText?a.value.scrollHeight:a.value.offsetHeight,r=g.value?g.value.offsetHeight:0;d.value=t>i.value.offsetHeight-r,C()}},C=()=>{if(!o.truncateText&&(s.value=0,a.value&&i.value)){const t=a.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()},b=e.computed(()=>({width:H.normalizeSize(o.width)}));return e.onMounted(()=>{f.value=B.ResizeObserverHelper.create(x),f.value.observe(a.value),o.truncateText&&v()}),e.onBeforeUnmount(()=>{f.value?.unobserve(a.value)}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"kTruncateWrapper",ref:i,class:e.normalizeClass(["k-truncate",[n.value?"expanded":"",`truncate-${o.truncateText?"text":"content"}`]]),style:e.normalizeStyle(b.value)},[!o.truncateText&&d.value?(e.openBlock(),e.createElementBlock("div",S,[n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",V,[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,E)],!0)]))])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"kTruncateContainer",ref:a,class:"truncate-container"},[e.renderSlot(t.$slots,"default",{},void 0,!0),!o.truncateText&&n.value?(e.openBlock(),e.createElementBlock("div",z,[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(y.ChevronUpIcon),{decorative:"",size:`var(--kui-icon-size-30, ${e.unref(k.KUI_ICON_SIZE_30)})`},null,8,["size"])])],!0)])):e.createCommentVNode("",!0)],512),o.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",$,[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",q,[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=I;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("@kong/icons"),k=require("./kongponents182.cjs"),B=require("./kongponents201.cjs"),H=require("./kongponents183.cjs"),N=require("./kongponents192.cjs"),w=require("./kongponents38.cjs"),S={key:0,class:"truncate-expand-controls"},V={key:0,"data-testid":"expand-trigger-wrapper"},E=["aria-label"],z={key:0,"data-testid":"collapse-trigger-wrapper"},$={key:0,"data-testid":"expand-trigger-wrapper"},q={key:1},I=e.defineComponent({__name:"KTruncate",props:{rows:{default:1},truncateText:{type:Boolean},expanded:{type:Boolean},width:{default:"100%"}},setup(o){e.useCssVars(t=>({v036f1beb:p.value,v4085a467:e.unref(h),v5f97c330:t.rows})),e.watch(()=>o.rows,t=>{t<0&&N.warnInvalidProp("rows",`\`rows\` prop cannot be less than 0, but got "${t}".`)},{immediate:!0});const n=e.ref(o.expanded),d=e.ref(!1),f=e.ref(),a=e.ref(),i=e.ref(),g=e.ref(),p=e.ref("0px"),h=k.KUI_SPACE_40,s=e.ref(0),x=()=>{if(!o.truncateText&&a.value&&a.value.children?.length){const t=a.value.children,r=Number(String(h).replace(/px$/gi,""));let c=0;for(let u=0;u<t.length;u++)c=t[u].offsetHeight>c?t[u].offsetHeight:c;const m=(o.rows===1?0:(o.rows-1)*r)+c*o.rows+6,T=a.value.offsetHeight>m?`${m}px`:"auto";window.requestAnimationFrame(()=>{p.value=T,window.requestAnimationFrame(v)})}},v=()=>{if(a.value&&i.value){const t=o.truncateText?a.value.scrollHeight:a.value.offsetHeight,r=g.value?g.value.offsetHeight:0;d.value=t>i.value.offsetHeight-r,C()}},C=()=>{if(!o.truncateText&&(s.value=0,a.value&&i.value)){const t=a.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()},b=e.computed(()=>({width:H.normalizeSize(o.width)}));return e.onMounted(()=>{f.value=B.ResizeObserverHelper.create(x),f.value.observe(a.value),o.truncateText&&v()}),e.onBeforeUnmount(()=>{f.value?.unobserve(a.value)}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"kTruncateWrapper",ref:i,class:e.normalizeClass(["k-truncate",[n.value?"expanded":"",`truncate-${o.truncateText?"text":"content"}`]]),style:e.normalizeStyle(b.value)},[!o.truncateText&&d.value?(e.openBlock(),e.createElementBlock("div",S,[n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",V,[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,E)],!0)]))])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"kTruncateContainer",ref:a,class:"truncate-container"},[e.renderSlot(t.$slots,"default",{},void 0,!0),!o.truncateText&&n.value?(e.openBlock(),e.createElementBlock("div",z,[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(y.ChevronUpIcon),{decorative:"",size:`var(--kui-icon-size-30, ${e.unref(k.KUI_ICON_SIZE_30)})`},null,8,["size"])])],!0)])):e.createCommentVNode("",!0)],512),o.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",$,[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",q,[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=I;
@@ -3,7 +3,7 @@ import { ChevronUpIcon as D } from "@kong/icons";
3
3
  import { KUI_SPACE_40 as R, KUI_ICON_SIZE_30 as Z } from "./kongponents182.es.js";
4
4
  import { ResizeObserverHelper as j } from "./kongponents201.es.js";
5
5
  import { normalizeSize as G } from "./kongponents183.es.js";
6
- import { warnInvalidProp as J } from "./kongponents190.es.js";
6
+ import { warnInvalidProp as J } from "./kongponents192.es.js";
7
7
  import $ from "./kongponents38.es.js";
8
8
  const L = {
9
9
  key: 0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ee=require("./kongponents38.cjs"),pe=require("./kongponents51.cjs"),rt=require("./kongponents25.cjs");;/* empty css */const Ce=require("./kongponents30.cjs");;/* empty css */const P=require("@kong/icons");require("./kongponents7.cjs");require("./kongponents12.cjs");const it=require("./kongponents13.cjs"),i=require("./kongponents19.cjs"),C=require("./kongponents182.cjs"),st=require("./kongponents196.cjs"),ut=require("./kongponents61.cjs"),ct=require("./kongponents49.cjs"),he=require("./kongponents42.cjs"),dt=require("./kongponents197.cjs"),yt=require("./kongponents181.cjs"),ft=require("./kongponents161.cjs"),vt=require("./kongponents193.cjs"),Se=require("./kongponents198.cjs"),bt=require("./kongponents183.cjs"),kt=require("./kongponents46.cjs"),mt=require("./kongponents199.cjs"),gt={key:0,class:"table-toolbar","data-testid":"table-toolbar"},wt={key:0,class:"toolbar-default-items-container"},pt={key:2,class:"table-error-state","data-testid":"table-error-state"},Ct={key:3,class:"table-empty-state","data-testid":"table-empty-state"},ht={key:4,class:"table-container"},St=["data-tableid"],At=["aria-sort","data-key","data-testid","onClick","onMouseover"],Tt=["onMousedown","onMouseover"],Bt=["aria-describedby"],Vt={key:1,class:"table-header-bulk-actions-container"},Et=["onMousedown","onMouseover"],Nt=["role","tabindex"],Kt={key:1,class:"expandable-row-control-container"},Ht=["aria-controls","aria-expanded","onClick"],Rt=["id"],xt=["colspan"],Lt={class:"expandable-content-wrapper"},te="desc",Ot=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"},actionsDropdownPopoverAttributes:{default:()=>({})},"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:Ae}){e.useCssVars(t=>({v2debc52c:e.unref(ze).expandable,v7e6b967b:Me.value,v43760593:re.value,v4e28b5e7:Re.value}));const ae=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","actionsDropdownPopoverAttributes"]),f=Ae,p=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]:"",oe=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},le=e.useTemplateRef("table-wrapper"),Te=e.useTemplateRef("table"),ne=e.useTemplateRef("header-row"),h=e.ref(oe(l.headers)),d=e.ref([]),R=e.ref(""),T=e.ref(""),D=e.ref(""),Be=e.computed(()=>h.value.some(t=>t.key===i.TableViewHeaderKeys.ACTIONS)),j=e.computed(()=>h.value.filter(t=>t.hidable).length>0),x=()=>l.nested||!j.value||l.error?!1:p.toolbar?!0:!l.loading&&!!l.data&&!!l.data.length,Ve=e.computed(()=>l.loading||!(l.data&&l.data.length)),Ee=e.computed(()=>h.value.filter(t=>t.hidable&&!U(t.key))),Ne=e.computed(()=>l.nested||!j.value||l.error?{}:l.tablePreferences.columnVisibility||{}),B=e.ref(x()?l.tablePreferences.columnVisibility||{}:{}),re=e.ref("100%"),Z=e.ref(!1),L=e.ref(!1),S=e.ref(!1),V=e.ref(!1),y=e.ref(l.tablePreferences.sortColumnKey||""),v=e.ref(l.tablePreferences.sortColumnOrder||te),G=e.ref(!1),Ke=e.useTemplateRef("actionsDropdown"),J=e.ref(!1),He=e.computed(()=>({maxHeight:bt.normalizeSize(l.maxHeight)})),Re=e.computed(()=>`${vt.getScrollbarSize()}px`),E=e.ref([]),O=e.computed(()=>!l.nested&&!l.error&&h.value.some(t=>t.key===i.TableViewHeaderKeys.BULK_ACTIONS)&&!!(p["bulk-action-items"]||p["bulk-actions"])&&!!l.data.every(t=>m(t))),z=e.ref([]),Y=()=>l.nested||!O.value||l.error?!1:p.toolbar?!0:!l.loading&&!!l.data&&!!l.data.length,xe=()=>!l.hideToolbar&&!l.nested&&(!!p.toolbar||x()||Y()),ie=e.computed(()=>{const t=E.value.length;return t?t>100?"99+":String(t):""}),F=e.ref(new WeakMap),Le=t=>`column-${t}`,N=t=>`tooltip-${t}`,se=(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 k=c.split(t);s[k[1]]=H=>u[c](H,a,r)}return s},{})},Oe=e.computed(()=>(t,o)=>{const a=se("onRow:",ae)(o,"row"),r=se("onCell:",ae)(t,"cell"),n=["a","button","label","input","select",'span[role="checkbox"]'];return(a.click||r.click)&&(G.value=!0),{...a,...r,click(u){const s=u.target,c=s.className;let k=n.includes(s.tagName.toLowerCase()),H=!1;typeof c=="string"||Array.isArray(c)?H=c.includes("k-popover"):typeof c=="object"&&(H=Object.keys(c).includes("k-popover")),s.closest(".popover-content")!==null&&(H=!0);for(let w=0;w<n.length;w++)if(s.closest(n[w])!==null){k=!0;break}if((!k||s.hasAttribute("disabled"))&&!H&&(a.click||r.click))if(r.click){f("cell-click",{data:t});const w=r.click(u,t,"cell");typeof w=="function"&&w(u,t)}else{f("row-click",{data:o});const w=a.click(u,o,"row");typeof w=="function"&&w(u,o)}}}}),ue=parseInt(C.KUI_SPACE_60)*2+parseInt(C.KUI_ICON_SIZE_30),ce={expandable:ue,bulkActions:48,actions:54},ze=mt.default(ce,t=>`${t}px`),A=e.ref({...l.tablePreferences.columnWidths||{},...ce}),de=e.computed(()=>{const t={};for(const o in A.value){const a=o;if(!A.value[a])continue;const r=A.value[a]+"px";t[a]={width:r,maxWidth:r,minWidth:r}}return t}),Ie=(t,o)=>({"resize-hover":ye.value===t.key&&o!==d.value.length-1&&q(t),resizable:l.resizeColumns&&!l.nested,sortable:!t.hideLabel&&!!t.sortable,"active-sort":!t.hideLabel&&!!t.sortable&&t.key===y.value,[v.value]:t.key===y.value&&!t.hideLabel,"is-scrolled":L.value,"has-tooltip":!!t.tooltip,"sticky-column":be(t.key),"second-sticky-column":ke(t.key),"has-row-scroll-overlay":M(t.key),"actions-column":t.key===i.TableViewHeaderKeys.ACTIONS}),$e=t=>{if(t.sortable&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS){let o="asc",a=t.key;a===y.value&&v.value==="asc"&&(o="desc"),a===y.value&&v.value==="desc"&&(a="",o=te),f("sort",{prevKey:y.value,sortColumnKey:a,sortColumnOrder:o}),Xe(a)}},Pe=e.computed(()=>R.value?"resizing":T.value?"resize-hover":D.value?"th-hover":""),ye=e.computed(()=>{switch(Pe.value){case"resizing":return R.value;case"resize-hover":return T.value;case"th-hover":return D.value;default:return""}}),De=e.computed(()=>ne.value?.querySelectorAll("th.resizable")),Fe=e.computed(()=>l.resizeColumns&&!l.nested),{height:fe}=Se.useElementSize(e.computed(()=>Fe.value?ne.value:null)),Me=e.computed(()=>fe.value?`${fe.value}px`:"auto"),ve=(t,o)=>{if(t.button!==0)return;let a=0,r=0;R.value=o;let n=null;De.value?.forEach(c=>{c.getAttribute("data-testid")===`table-header-${o}`&&(n=document?.querySelector(`[data-tableid="${b}"] [data-testid="table-header-${o}"]`))});const u=c=>{const k=c.clientX-a;n?.setAttribute("style",`width: ${r+k}px`),A.value[o]=r+k},s=()=>{R.value="",document?.removeEventListener("mousemove",u),document?.removeEventListener("mouseup",s),X(),K.value&&_()};if(a=t.clientX,n){const c=window?.getComputedStyle(n);c?.width&&(r=parseInt(c.width,10)),document?.addEventListener("mousemove",u),document?.addEventListener("mouseup",s)}},be=t=>S.value?t===i.TableViewHeaderKeys.BULK_ACTIONS||t===i.TableViewHeaderKeys.EXPANDABLE:!1,ke=t=>t===i.TableViewHeaderKeys.BULK_ACTIONS&&K.value,M=t=>S.value?O.value?t===i.TableViewHeaderKeys.BULK_ACTIONS:K.value?t===i.TableViewHeaderKeys.EXPANDABLE:!1:!1,U=t=>t===i.TableViewHeaderKeys.EXPANDABLE||t===i.TableViewHeaderKeys.BULK_ACTIONS||t===i.TableViewHeaderKeys.ACTIONS,q=(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)},Ue=(t,o,a)=>{f("row-actions-toggle",{row:t,open:o}),setTimeout(()=>{a.isRowActionsDropdownOpen=o},o?0:100)},qe=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=oe(t)},{deep:!0,immediate:!0});const We=t=>!t.hideLabel&&!!t.sortable&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS,Xe=t=>{y.value&&t?t===y.value?v.value==="asc"?v.value="desc":v.value="asc":(y.value=t,v.value="asc"):t?(y.value=t,v.value="asc"):(y.value="",v.value=te),X()},je=t=>{const o=t.target;o&&(typeof o.scrollTop=="number"||typeof o.scrollLeft=="number")&&(o.scrollTop>1?(Z.value=!0,L.value=!0):o.scrollTop===0&&(L.value=!1),o.scrollLeft>1?S.value=!0:o.scrollLeft===0&&(S.value=!1),o.scrollWidth<=o.scrollLeft+o.clientWidth?V.value=!1:V.value=!0),Ke.value?.forEach(a=>{a&&a.closeDropdown&&a.closeDropdown()})},W=t=>z.value.find(o=>o.rowKey===m(t)),Ze=(t,o)=>({"data-testid":l.rowAttrs(t)["data-testid"]?`${l.rowAttrs(t)["data-testid"]}-actions-dropdown-popover`:`row-${o}-actions-dropdown-popover`}),Q=t=>{if(typeof l.rowBulkActionEnabled!="function")return!1;const o=l.rowBulkActionEnabled(t);return typeof o=="boolean"?o:o.enabled},Ge=t=>{if(typeof l.rowBulkActionEnabled!="function")return"";const o=l.rowBulkActionEnabled(t);return typeof o=="boolean"?"":o.disabledTooltip||""},Je=e.computed(()=>d.value.find(t=>t.key!==i.TableViewHeaderKeys.EXPANDABLE&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS)?.key),Ye=(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"},Qe=(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},...o!==Je.value&&{tabindex:-1}}}},me=e.ref(0),I=e.ref(yt.getInitialPageSize(l.tablePreferences,l.paginationAttributes)),_e=t=>{I.value=t.pageSize,f("page-size-change",t),X()},et=e.computed(()=>({sortColumnKey:y.value,sortColumnOrder:v.value,...l.resizeColumns?{columnWidths:A.value}:{},...j.value?{columnVisibility:B.value}:{},...I.value&&!l.hidePagination&&{pageSize:I.value}})),X=()=>{f("update:table-preferences",et.value)},K=e.computed(()=>!l.nested&&l.data.some(t=>l.rowExpandable(t))),tt={key:i.TableViewHeaderKeys.EXPANDABLE,label:"Expandable rows controls",hideLabel:!0},ge=()=>{const t=[];return l.data.forEach((o,a)=>{l.rowExpanded(o)&&t.push(a)}),t},g=e.ref(ge()),at=async(t,o)=>{_(),await e.nextTick(),g.value.includes(t)?(g.value=g.value.filter(a=>a!==t),f("update:row-expanded",{row:o,expanded:!1})):(g.value=[...g.value,t],f("update:row-expanded",{row:o,expanded:!0}))},ot=e.computed(()=>d.value.filter(t=>t.key!==i.TableViewHeaderKeys.EXPANDABLE&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS)),we=e.ref({}),_=()=>{if(typeof document>"u")return;const o=document?.querySelector(`[data-tableid="${b}"]`)?.querySelectorAll("th"),a={};o?.forEach((r,n)=>{const u=r.getAttribute("data-key");if(u===i.TableViewHeaderKeys.EXPANDABLE)return;let s=r.getBoundingClientRect().width;n===1&&(s+=ue),n===o.length-1&&(s-=15),a[u]=s}),we.value=a};e.watch([B,h,K],t=>{const[o,a,r]=t;let n=a.filter(u=>u.key===i.TableViewHeaderKeys.BULK_ACTIONS?O.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(tt),JSON.stringify(n)!==JSON.stringify(d.value)&&(d.value=n,X()),r&&_()},{deep:!0,immediate:!0}),e.watch(()=>x(),t=>{t&&(B.value=l.tablePreferences.columnVisibility||{})},{immediate:!0});const $=e.ref(!1),lt=e.computed(()=>{const t=z.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}),nt=t=>{z.value.forEach(o=>{l.data.find(a=>m(a)===o.rowKey)&&!o.disabled&&(o.selected=t)})};return e.watch([()=>l.data,z],t=>{const[o,a]=t;if(o.forEach(r=>{if(!F.value.get(r)){const n=m(r)||ft.getUniqueStringId();F.value.set(r,`table-${b}-row-${n}`)}}),O.value){o.forEach(s=>{W(s)||z.value.push({rowKey:m(s),selected:!1,disabled:!Q(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(k=>k.rowKey===m(s));return!!(c&&c.selected)}),u=[];E.value.forEach(s=>{o.find(k=>m(s)===m(k))||u.push(s)}),E.value=[...u,...n]}g.value=ge()},{deep:!0,immediate:!0}),e.watch(E,t=>{f("row-select",t)}),e.watch(()=>l.tablePreferences,t=>{t?.pageSize&&(I.value=t.pageSize,me.value++),y.value=t?.sortColumnKey?t.sortColumnKey:y.value,v.value=t?.sortColumnOrder?t.sortColumnOrder:v.value,A.value=t?.columnWidths?t.columnWidths:A.value,B.value=t?.columnVisibility?t.columnVisibility:B.value}),Se.useResizeObserver([le,Te],()=>{const t=le.value;t&&(V.value=t.scrollWidth>t.clientWidth,re.value=t.clientHeight+"px",Z.value=t.scrollHeight>t.clientHeight)}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-table-view",{"hide-headers":l.hideHeaders}])},[xe()?(e.openBlock(),e.createElementBlock("div",gt,[e.renderSlot(t.$slots,"toolbar",{},void 0,!0),Y()||x()?(e.openBlock(),e.createElementBlock("div",wt,[Y()?e.renderSlot(t.$slots,"bulk-actions",{selectedRows:E.value},()=>[p["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:ie.value,disabled:!ie.value||l.loading||!l.data.length},{items:e.withCtx(()=>[e.renderSlot(t.$slots,"bulk-action-items",{selectedRows:E.value},void 0,!0)]),_:3},8,["button-label","count","disabled"]))],!0,0):e.createCommentVNode("",!0),x()?(e.openBlock(),e.createBlock(st.default,{key:1,columns:Ee.value,disabled:Ve.value,"table-id":e.unref(b),"visibility-preferences":Ne.value,onUpdate:o[0]||(o[0]=a=>B.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(rt.default,{key:1,"data-testid":"table-skeleton",type:"table"})):l.error?(e.openBlock(),e.createElementBlock("div",pt,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode(pe.default,{"icon-variant":"error",message:l.errorStateMessage,title:l.errorStateTitle},e.createSlots({_:2},[l.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(ee.default,{"data-testid":"error-state-action",to:l.errorStateActionRoute,onClick:o[1]||(o[1]=a=>f("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",Ct,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode(pe.default,{"icon-variant":l.emptyStateIconVariant,message:l.emptyStateMessage,title:l.emptyStateTitle},e.createSlots({_:2},[l.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(ee.default,{appearance:l.emptyStateButtonAppearance,"data-testid":"empty-state-action",to:l.emptyStateActionRoute,onClick:o[2]||(o[2]=a=>f("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",ht,[e.createElementVNode("div",{ref:"table-wrapper",class:"table-wrapper",style:e.normalizeStyle(He.value),onScrollPassive:je},[e.createElementVNode("table",{ref:"table",class:e.normalizeClass(["table",{"has-hover":l.rowHover&&!J.value,"is-clickable":G.value}]),"data-tableid":e.unref(b)},[l.hideHeaders?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("thead",{key:0,class:e.normalizeClass({"is-scrolled":L.value})},[e.createElementVNode("tr",{ref:"header-row",class:e.normalizeClass({"is-scrolled":L.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?v.value==="asc"?"ascending":"descending":void 0,class:e.normalizeClass(["table-headers",Ie(a,r)]),"data-key":a.key,"data-testid":`table-header-${a.key}`,style:e.normalizeStyle(de.value[a.key]),onClick:()=>$e(a),onMouseleave:o[8]||(o[8]=n=>D.value=""),onMouseover:n=>D.value=a.key},[r!==0&&q(a,!0)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"resize-handle previous",onClick:o[3]||(o[3]=e.withModifiers(()=>{},["stop"])),onMousedown:n=>ve(n,d.value[r-1].key),onMouseleave:o[4]||(o[4]=n=>T.value=""),onMouseover:n=>T.value=d.value[r-1].key},null,40,Tt)):e.createCommentVNode("",!0),e.createElementVNode("div",{"aria-describedby":a.tooltip||p[N(a.key)]?`${N(a.key)}-${e.unref(b)}`:void 0,class:e.normalizeClass(["table-headers-container",{resized:R.value===a.key}])},[a.key!==e.unref(i.TableViewHeaderKeys).BULK_ACTIONS?e.renderSlot(t.$slots,Le(a.key),{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,0):(e.openBlock(),e.createElementBlock("div",Vt,[e.createVNode(he.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:lt.value,onChange:nt},null,8,["modelValue","indeterminate"])])),a.tooltip||p[N(a.key)]?(e.openBlock(),e.createBlock(Ce.default,{key:2,"data-testid":N(a.key),"kpop-attributes":{target:l.tooltipTarget},"max-width":"300","tooltip-id":`${N(a.key)}-${e.unref(b)}`},{content:e.withCtx(()=>[e.renderSlot(t.$slots,N(a.key),{column:a},()=>[e.createTextVNode(e.toDisplayString(a.tooltip),1)],!0)]),default:e.withCtx(()=>[e.createVNode(e.unref(P.InfoIcon),{class:"header-tooltip-trigger",color:`var(--kui-color-text-neutral, ${e.unref(C.KUI_COLOR_TEXT_NEUTRAL)})`,size:`var(--kui-icon-size-30, ${e.unref(C.KUI_ICON_SIZE_30)})`,tabindex:"0"},null,8,["color","size"])]),_:2},1032,["data-testid","kpop-attributes","tooltip-id"])):e.createCommentVNode("",!0),We(a)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[y.value===a.key?(e.openBlock(),e.createBlock(e.unref(P.ArrowDownIcon),{key:0,class:"active-sort-icon",color:`var(--kui-color-text-primary, ${e.unref(C.KUI_COLOR_TEXT_PRIMARY)})`,decorative:"",size:`var(--kui-icon-size-30, ${e.unref(C.KUI_ICON_SIZE_30)})`},null,8,["color","size"])):(e.openBlock(),e.createBlock(e.unref(P.SwapSortIcon),{key:1,class:"sort-icon",color:`var(--kui-color-text-neutral-weak, ${e.unref(C.KUI_COLOR_TEXT_NEUTRAL_WEAK)})`,size:`var(--kui-icon-size-30, ${e.unref(C.KUI_ICON_SIZE_30)})`,title:`Sort by ${a.label}`},null,8,["color","size","title"]))],64)):e.createCommentVNode("",!0)],10,Bt),r!==d.value.length-1&&q(a)?(e.openBlock(),e.createElementBlock("div",{key:1,class:"resize-handle",onClick:o[6]||(o[6]=e.withModifiers(()=>{},["stop"])),onMousedown:n=>ve(n,a.key),onMouseleave:o[7]||(o[7]=n=>T.value=""),onMouseover:n=>T.value=a.key},null,40,Et)):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":V.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:G.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(kt.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":ye.value===n.key&&u!==d.value.length-1&&q(n),"row-link":!!l.rowLink(a).to,"sticky-column":be(n.key),"second-sticky-column":ke(n.key),"has-row-scroll-overlay":M(n.key),"actions-column":n.key===e.unref(i.TableViewHeaderKeys).ACTIONS},style:{...de.value[n.key],...s.isRowActionsDropdownOpen?{zIndex:2}:{}}},{ref_for:!0},l.cellAttrs({headerKey:n.key,row:a,rowIndex:r,colIndex:u}),e.toHandlers(Oe.value(a[n.key],a),!0)),[n.key!==e.unref(i.TableViewHeaderKeys).EXPANDABLE?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Ye(a,n.key)),e.mergeProps({key:0,class:"cell-wrapper"},{ref_for:!0},Qe(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,{row:a,rowKey:r,rowValue:a[n.key]},()=>[e.createTextVNode(e.toDisplayString(a[n.key]),1)],!0,0):n.key===e.unref(i.TableViewHeaderKeys).BULK_ACTIONS&&W(a)?(e.openBlock(),e.createBlock(Ce.default,{key:1,"kpop-attributes":{target:l.tooltipTarget},"max-width":"200",placement:"bottom-start",text:Q(a)?void 0:Ge(a)},{default:e.withCtx(()=>[e.createVNode(he.default,{modelValue:W(a).selected,"onUpdate:modelValue":c=>W(a).selected=c,"aria-label":"Toggle row selection",class:"bulk-actions-checkbox","data-testid":"bulk-actions-checkbox",disabled:!Q(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":{...l.actionsDropdownPopoverAttributes,placement:"bottom-end",target:"body",popoverElementAttributes:Ze(a,r)},onToggleDropdown:c=>Ue(a,c,s)},{items:e.withCtx(()=>[e.renderSlot(t.$slots,"action-items",{row:a},void 0,!0)]),default:e.withCtx(()=>[e.createVNode(ee.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=>J.value=!1),onMouseover:o[10]||(o[10]=c=>J.value=!0)},{default:e.withCtx(()=>[e.createVNode(e.unref(P.MoreIcon),{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",Kt,[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=>at(r,a)},[e.createVNode(e.unref(P.ChevronRightIcon),{class:"expandable-row-control-icon",decorative:""})],10,Ht)])):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":V.value}])},null,2)):e.createCommentVNode("",!0)],16)]),_:2},1024))),128))],16,Nt),K.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:we.value,nestedHeaders:ot.value,row:a},void 0,!0)])],8,xt)],8,Rt)),[[e.vShow,g.value.includes(r)]]):e.createCommentVNode("",!0)],64))),128))])],10,St)],36),!O.value&&!K.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),Be.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay table-overlay right",{"overlay-visible":V.value,"scrollbar-offset":Z.value}])},null,2)),qe.value?(e.openBlock(),e.createBlock(ut.default,e.mergeProps({key:`table-${e.unref(b)}-pagination-${me.value}`,class:"table-pagination","data-testid":"table-pagination","initial-page-size":I.value},l.paginationAttributes,{onGetNextOffset:o[11]||(o[11]=a=>f("get-next-offset")),onGetPreviousOffset:o[12]||(o[12]=a=>f("get-previous-offset")),onPageChange:o[13]||(o[13]=a=>f("page-change",a)),onPageSizeChange:_e}),null,16,["initial-page-size"])):e.createCommentVNode("",!0)]))],2))}});exports.default=Ot;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ee=require("./kongponents38.cjs"),pe=require("./kongponents51.cjs"),rt=require("./kongponents25.cjs");;/* empty css */const Ce=require("./kongponents30.cjs");;/* empty css */const P=require("@kong/icons");require("./kongponents7.cjs");require("./kongponents12.cjs");const it=require("./kongponents13.cjs"),i=require("./kongponents19.cjs"),C=require("./kongponents182.cjs"),st=require("./kongponents185.cjs"),ut=require("./kongponents61.cjs"),ct=require("./kongponents49.cjs"),he=require("./kongponents42.cjs"),dt=require("./kongponents198.cjs"),yt=require("./kongponents181.cjs"),ft=require("./kongponents161.cjs"),vt=require("./kongponents199.cjs"),Se=require("./kongponents190.cjs"),bt=require("./kongponents183.cjs"),kt=require("./kongponents46.cjs"),mt=require("./kongponents200.cjs"),gt={key:0,class:"table-toolbar","data-testid":"table-toolbar"},wt={key:0,class:"toolbar-default-items-container"},pt={key:2,class:"table-error-state","data-testid":"table-error-state"},Ct={key:3,class:"table-empty-state","data-testid":"table-empty-state"},ht={key:4,class:"table-container"},St=["data-tableid"],At=["aria-sort","data-key","data-testid","onClick","onMouseover"],Tt=["onMousedown","onMouseover"],Bt=["aria-describedby"],Vt={key:1,class:"table-header-bulk-actions-container"},Et=["onMousedown","onMouseover"],Nt=["role","tabindex"],Kt={key:1,class:"expandable-row-control-container"},Ht=["aria-controls","aria-expanded","onClick"],Rt=["id"],xt=["colspan"],Lt={class:"expandable-content-wrapper"},te="desc",Ot=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"},actionsDropdownPopoverAttributes:{default:()=>({})},"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:Ae}){e.useCssVars(t=>({v2debc52c:e.unref(ze).expandable,v7e6b967b:Me.value,v43760593:re.value,v4e28b5e7:Re.value}));const ae=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","actionsDropdownPopoverAttributes"]),f=Ae,p=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]:"",oe=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},le=e.useTemplateRef("table-wrapper"),Te=e.useTemplateRef("table"),ne=e.useTemplateRef("header-row"),h=e.ref(oe(l.headers)),d=e.ref([]),R=e.ref(""),T=e.ref(""),D=e.ref(""),Be=e.computed(()=>h.value.some(t=>t.key===i.TableViewHeaderKeys.ACTIONS)),j=e.computed(()=>h.value.filter(t=>t.hidable).length>0),x=()=>l.nested||!j.value||l.error?!1:p.toolbar?!0:!l.loading&&!!l.data&&!!l.data.length,Ve=e.computed(()=>l.loading||!(l.data&&l.data.length)),Ee=e.computed(()=>h.value.filter(t=>t.hidable&&!U(t.key))),Ne=e.computed(()=>l.nested||!j.value||l.error?{}:l.tablePreferences.columnVisibility||{}),B=e.ref(x()?l.tablePreferences.columnVisibility||{}:{}),re=e.ref("100%"),Z=e.ref(!1),L=e.ref(!1),S=e.ref(!1),V=e.ref(!1),y=e.ref(l.tablePreferences.sortColumnKey||""),v=e.ref(l.tablePreferences.sortColumnOrder||te),G=e.ref(!1),Ke=e.useTemplateRef("actionsDropdown"),J=e.ref(!1),He=e.computed(()=>({maxHeight:bt.normalizeSize(l.maxHeight)})),Re=e.computed(()=>`${vt.getScrollbarSize()}px`),E=e.ref([]),O=e.computed(()=>!l.nested&&!l.error&&h.value.some(t=>t.key===i.TableViewHeaderKeys.BULK_ACTIONS)&&!!(p["bulk-action-items"]||p["bulk-actions"])&&!!l.data.every(t=>m(t))),z=e.ref([]),Y=()=>l.nested||!O.value||l.error?!1:p.toolbar?!0:!l.loading&&!!l.data&&!!l.data.length,xe=()=>!l.hideToolbar&&!l.nested&&(!!p.toolbar||x()||Y()),ie=e.computed(()=>{const t=E.value.length;return t?t>100?"99+":String(t):""}),F=e.ref(new WeakMap),Le=t=>`column-${t}`,N=t=>`tooltip-${t}`,se=(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 k=c.split(t);s[k[1]]=H=>u[c](H,a,r)}return s},{})},Oe=e.computed(()=>(t,o)=>{const a=se("onRow:",ae)(o,"row"),r=se("onCell:",ae)(t,"cell"),n=["a","button","label","input","select",'span[role="checkbox"]'];return(a.click||r.click)&&(G.value=!0),{...a,...r,click(u){const s=u.target,c=s.className;let k=n.includes(s.tagName.toLowerCase()),H=!1;typeof c=="string"||Array.isArray(c)?H=c.includes("k-popover"):typeof c=="object"&&(H=Object.keys(c).includes("k-popover")),s.closest(".popover-content")!==null&&(H=!0);for(let w=0;w<n.length;w++)if(s.closest(n[w])!==null){k=!0;break}if((!k||s.hasAttribute("disabled"))&&!H&&(a.click||r.click))if(r.click){f("cell-click",{data:t});const w=r.click(u,t,"cell");typeof w=="function"&&w(u,t)}else{f("row-click",{data:o});const w=a.click(u,o,"row");typeof w=="function"&&w(u,o)}}}}),ue=parseInt(C.KUI_SPACE_60)*2+parseInt(C.KUI_ICON_SIZE_30),ce={expandable:ue,bulkActions:48,actions:54},ze=mt.default(ce,t=>`${t}px`),A=e.ref({...l.tablePreferences.columnWidths||{},...ce}),de=e.computed(()=>{const t={};for(const o in A.value){const a=o;if(!A.value[a])continue;const r=A.value[a]+"px";t[a]={width:r,maxWidth:r,minWidth:r}}return t}),Ie=(t,o)=>({"resize-hover":ye.value===t.key&&o!==d.value.length-1&&q(t),resizable:l.resizeColumns&&!l.nested,sortable:!t.hideLabel&&!!t.sortable,"active-sort":!t.hideLabel&&!!t.sortable&&t.key===y.value,[v.value]:t.key===y.value&&!t.hideLabel,"is-scrolled":L.value,"has-tooltip":!!t.tooltip,"sticky-column":be(t.key),"second-sticky-column":ke(t.key),"has-row-scroll-overlay":M(t.key),"actions-column":t.key===i.TableViewHeaderKeys.ACTIONS}),$e=t=>{if(t.sortable&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS){let o="asc",a=t.key;a===y.value&&v.value==="asc"&&(o="desc"),a===y.value&&v.value==="desc"&&(a="",o=te),f("sort",{prevKey:y.value,sortColumnKey:a,sortColumnOrder:o}),Xe(a)}},Pe=e.computed(()=>R.value?"resizing":T.value?"resize-hover":D.value?"th-hover":""),ye=e.computed(()=>{switch(Pe.value){case"resizing":return R.value;case"resize-hover":return T.value;case"th-hover":return D.value;default:return""}}),De=e.computed(()=>ne.value?.querySelectorAll("th.resizable")),Fe=e.computed(()=>l.resizeColumns&&!l.nested),{height:fe}=Se.useElementSize(e.computed(()=>Fe.value?ne.value:null)),Me=e.computed(()=>fe.value?`${fe.value}px`:"auto"),ve=(t,o)=>{if(t.button!==0)return;let a=0,r=0;R.value=o;let n=null;De.value?.forEach(c=>{c.getAttribute("data-testid")===`table-header-${o}`&&(n=document?.querySelector(`[data-tableid="${b}"] [data-testid="table-header-${o}"]`))});const u=c=>{const k=c.clientX-a;n?.setAttribute("style",`width: ${r+k}px`),A.value[o]=r+k},s=()=>{R.value="",document?.removeEventListener("mousemove",u),document?.removeEventListener("mouseup",s),X(),K.value&&_()};if(a=t.clientX,n){const c=window?.getComputedStyle(n);c?.width&&(r=parseInt(c.width,10)),document?.addEventListener("mousemove",u),document?.addEventListener("mouseup",s)}},be=t=>S.value?t===i.TableViewHeaderKeys.BULK_ACTIONS||t===i.TableViewHeaderKeys.EXPANDABLE:!1,ke=t=>t===i.TableViewHeaderKeys.BULK_ACTIONS&&K.value,M=t=>S.value?O.value?t===i.TableViewHeaderKeys.BULK_ACTIONS:K.value?t===i.TableViewHeaderKeys.EXPANDABLE:!1:!1,U=t=>t===i.TableViewHeaderKeys.EXPANDABLE||t===i.TableViewHeaderKeys.BULK_ACTIONS||t===i.TableViewHeaderKeys.ACTIONS,q=(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)},Ue=(t,o,a)=>{f("row-actions-toggle",{row:t,open:o}),setTimeout(()=>{a.isRowActionsDropdownOpen=o},o?0:100)},qe=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=oe(t)},{deep:!0,immediate:!0});const We=t=>!t.hideLabel&&!!t.sortable&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS,Xe=t=>{y.value&&t?t===y.value?v.value==="asc"?v.value="desc":v.value="asc":(y.value=t,v.value="asc"):t?(y.value=t,v.value="asc"):(y.value="",v.value=te),X()},je=t=>{const o=t.target;o&&(typeof o.scrollTop=="number"||typeof o.scrollLeft=="number")&&(o.scrollTop>1?(Z.value=!0,L.value=!0):o.scrollTop===0&&(L.value=!1),o.scrollLeft>1?S.value=!0:o.scrollLeft===0&&(S.value=!1),o.scrollWidth<=o.scrollLeft+o.clientWidth?V.value=!1:V.value=!0),Ke.value?.forEach(a=>{a&&a.closeDropdown&&a.closeDropdown()})},W=t=>z.value.find(o=>o.rowKey===m(t)),Ze=(t,o)=>({"data-testid":l.rowAttrs(t)["data-testid"]?`${l.rowAttrs(t)["data-testid"]}-actions-dropdown-popover`:`row-${o}-actions-dropdown-popover`}),Q=t=>{if(typeof l.rowBulkActionEnabled!="function")return!1;const o=l.rowBulkActionEnabled(t);return typeof o=="boolean"?o:o.enabled},Ge=t=>{if(typeof l.rowBulkActionEnabled!="function")return"";const o=l.rowBulkActionEnabled(t);return typeof o=="boolean"?"":o.disabledTooltip||""},Je=e.computed(()=>d.value.find(t=>t.key!==i.TableViewHeaderKeys.EXPANDABLE&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS&&t.key!==i.TableViewHeaderKeys.ACTIONS)?.key),Ye=(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"},Qe=(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},...o!==Je.value&&{tabindex:-1}}}},me=e.ref(0),I=e.ref(yt.getInitialPageSize(l.tablePreferences,l.paginationAttributes)),_e=t=>{I.value=t.pageSize,f("page-size-change",t),X()},et=e.computed(()=>({sortColumnKey:y.value,sortColumnOrder:v.value,...l.resizeColumns?{columnWidths:A.value}:{},...j.value?{columnVisibility:B.value}:{},...I.value&&!l.hidePagination&&{pageSize:I.value}})),X=()=>{f("update:table-preferences",et.value)},K=e.computed(()=>!l.nested&&l.data.some(t=>l.rowExpandable(t))),tt={key:i.TableViewHeaderKeys.EXPANDABLE,label:"Expandable rows controls",hideLabel:!0},ge=()=>{const t=[];return l.data.forEach((o,a)=>{l.rowExpanded(o)&&t.push(a)}),t},g=e.ref(ge()),at=async(t,o)=>{_(),await e.nextTick(),g.value.includes(t)?(g.value=g.value.filter(a=>a!==t),f("update:row-expanded",{row:o,expanded:!1})):(g.value=[...g.value,t],f("update:row-expanded",{row:o,expanded:!0}))},ot=e.computed(()=>d.value.filter(t=>t.key!==i.TableViewHeaderKeys.EXPANDABLE&&t.key!==i.TableViewHeaderKeys.BULK_ACTIONS)),we=e.ref({}),_=()=>{if(typeof document>"u")return;const o=document?.querySelector(`[data-tableid="${b}"]`)?.querySelectorAll("th"),a={};o?.forEach((r,n)=>{const u=r.getAttribute("data-key");if(u===i.TableViewHeaderKeys.EXPANDABLE)return;let s=r.getBoundingClientRect().width;n===1&&(s+=ue),n===o.length-1&&(s-=15),a[u]=s}),we.value=a};e.watch([B,h,K],t=>{const[o,a,r]=t;let n=a.filter(u=>u.key===i.TableViewHeaderKeys.BULK_ACTIONS?O.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(tt),JSON.stringify(n)!==JSON.stringify(d.value)&&(d.value=n,X()),r&&_()},{deep:!0,immediate:!0}),e.watch(()=>x(),t=>{t&&(B.value=l.tablePreferences.columnVisibility||{})},{immediate:!0});const $=e.ref(!1),lt=e.computed(()=>{const t=z.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}),nt=t=>{z.value.forEach(o=>{l.data.find(a=>m(a)===o.rowKey)&&!o.disabled&&(o.selected=t)})};return e.watch([()=>l.data,z],t=>{const[o,a]=t;if(o.forEach(r=>{if(!F.value.get(r)){const n=m(r)||ft.getUniqueStringId();F.value.set(r,`table-${b}-row-${n}`)}}),O.value){o.forEach(s=>{W(s)||z.value.push({rowKey:m(s),selected:!1,disabled:!Q(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(k=>k.rowKey===m(s));return!!(c&&c.selected)}),u=[];E.value.forEach(s=>{o.find(k=>m(s)===m(k))||u.push(s)}),E.value=[...u,...n]}g.value=ge()},{deep:!0,immediate:!0}),e.watch(E,t=>{f("row-select",t)}),e.watch(()=>l.tablePreferences,t=>{t?.pageSize&&(I.value=t.pageSize,me.value++),y.value=t?.sortColumnKey?t.sortColumnKey:y.value,v.value=t?.sortColumnOrder?t.sortColumnOrder:v.value,A.value=t?.columnWidths?t.columnWidths:A.value,B.value=t?.columnVisibility?t.columnVisibility:B.value}),Se.useResizeObserver([le,Te],()=>{const t=le.value;t&&(V.value=t.scrollWidth>t.clientWidth,re.value=t.clientHeight+"px",Z.value=t.scrollHeight>t.clientHeight)}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-table-view",{"hide-headers":l.hideHeaders}])},[xe()?(e.openBlock(),e.createElementBlock("div",gt,[e.renderSlot(t.$slots,"toolbar",{},void 0,!0),Y()||x()?(e.openBlock(),e.createElementBlock("div",wt,[Y()?e.renderSlot(t.$slots,"bulk-actions",{selectedRows:E.value},()=>[p["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:ie.value,disabled:!ie.value||l.loading||!l.data.length},{items:e.withCtx(()=>[e.renderSlot(t.$slots,"bulk-action-items",{selectedRows:E.value},void 0,!0)]),_:3},8,["button-label","count","disabled"]))],!0,0):e.createCommentVNode("",!0),x()?(e.openBlock(),e.createBlock(st.default,{key:1,columns:Ee.value,disabled:Ve.value,"table-id":e.unref(b),"visibility-preferences":Ne.value,onUpdate:o[0]||(o[0]=a=>B.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(rt.default,{key:1,"data-testid":"table-skeleton",type:"table"})):l.error?(e.openBlock(),e.createElementBlock("div",pt,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode(pe.default,{"icon-variant":"error",message:l.errorStateMessage,title:l.errorStateTitle},e.createSlots({_:2},[l.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(ee.default,{"data-testid":"error-state-action",to:l.errorStateActionRoute,onClick:o[1]||(o[1]=a=>f("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",Ct,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode(pe.default,{"icon-variant":l.emptyStateIconVariant,message:l.emptyStateMessage,title:l.emptyStateTitle},e.createSlots({_:2},[l.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(ee.default,{appearance:l.emptyStateButtonAppearance,"data-testid":"empty-state-action",to:l.emptyStateActionRoute,onClick:o[2]||(o[2]=a=>f("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",ht,[e.createElementVNode("div",{ref:"table-wrapper",class:"table-wrapper",style:e.normalizeStyle(He.value),onScrollPassive:je},[e.createElementVNode("table",{ref:"table",class:e.normalizeClass(["table",{"has-hover":l.rowHover&&!J.value,"is-clickable":G.value}]),"data-tableid":e.unref(b)},[l.hideHeaders?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("thead",{key:0,class:e.normalizeClass({"is-scrolled":L.value})},[e.createElementVNode("tr",{ref:"header-row",class:e.normalizeClass({"is-scrolled":L.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?v.value==="asc"?"ascending":"descending":void 0,class:e.normalizeClass(["table-headers",Ie(a,r)]),"data-key":a.key,"data-testid":`table-header-${a.key}`,style:e.normalizeStyle(de.value[a.key]),onClick:()=>$e(a),onMouseleave:o[8]||(o[8]=n=>D.value=""),onMouseover:n=>D.value=a.key},[r!==0&&q(a,!0)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"resize-handle previous",onClick:o[3]||(o[3]=e.withModifiers(()=>{},["stop"])),onMousedown:n=>ve(n,d.value[r-1].key),onMouseleave:o[4]||(o[4]=n=>T.value=""),onMouseover:n=>T.value=d.value[r-1].key},null,40,Tt)):e.createCommentVNode("",!0),e.createElementVNode("div",{"aria-describedby":a.tooltip||p[N(a.key)]?`${N(a.key)}-${e.unref(b)}`:void 0,class:e.normalizeClass(["table-headers-container",{resized:R.value===a.key}])},[a.key!==e.unref(i.TableViewHeaderKeys).BULK_ACTIONS?e.renderSlot(t.$slots,Le(a.key),{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,0):(e.openBlock(),e.createElementBlock("div",Vt,[e.createVNode(he.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:lt.value,onChange:nt},null,8,["modelValue","indeterminate"])])),a.tooltip||p[N(a.key)]?(e.openBlock(),e.createBlock(Ce.default,{key:2,"data-testid":N(a.key),"kpop-attributes":{target:l.tooltipTarget},"max-width":"300","tooltip-id":`${N(a.key)}-${e.unref(b)}`},{content:e.withCtx(()=>[e.renderSlot(t.$slots,N(a.key),{column:a},()=>[e.createTextVNode(e.toDisplayString(a.tooltip),1)],!0)]),default:e.withCtx(()=>[e.createVNode(e.unref(P.InfoIcon),{class:"header-tooltip-trigger",color:`var(--kui-color-text-neutral, ${e.unref(C.KUI_COLOR_TEXT_NEUTRAL)})`,size:`var(--kui-icon-size-30, ${e.unref(C.KUI_ICON_SIZE_30)})`,tabindex:"0"},null,8,["color","size"])]),_:2},1032,["data-testid","kpop-attributes","tooltip-id"])):e.createCommentVNode("",!0),We(a)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[y.value===a.key?(e.openBlock(),e.createBlock(e.unref(P.ArrowDownIcon),{key:0,class:"active-sort-icon",color:`var(--kui-color-text-primary, ${e.unref(C.KUI_COLOR_TEXT_PRIMARY)})`,decorative:"",size:`var(--kui-icon-size-30, ${e.unref(C.KUI_ICON_SIZE_30)})`},null,8,["color","size"])):(e.openBlock(),e.createBlock(e.unref(P.SwapSortIcon),{key:1,class:"sort-icon",color:`var(--kui-color-text-neutral-weak, ${e.unref(C.KUI_COLOR_TEXT_NEUTRAL_WEAK)})`,size:`var(--kui-icon-size-30, ${e.unref(C.KUI_ICON_SIZE_30)})`,title:`Sort by ${a.label}`},null,8,["color","size","title"]))],64)):e.createCommentVNode("",!0)],10,Bt),r!==d.value.length-1&&q(a)?(e.openBlock(),e.createElementBlock("div",{key:1,class:"resize-handle",onClick:o[6]||(o[6]=e.withModifiers(()=>{},["stop"])),onMousedown:n=>ve(n,a.key),onMouseleave:o[7]||(o[7]=n=>T.value=""),onMouseover:n=>T.value=a.key},null,40,Et)):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":V.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:G.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(kt.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":ye.value===n.key&&u!==d.value.length-1&&q(n),"row-link":!!l.rowLink(a).to,"sticky-column":be(n.key),"second-sticky-column":ke(n.key),"has-row-scroll-overlay":M(n.key),"actions-column":n.key===e.unref(i.TableViewHeaderKeys).ACTIONS},style:{...de.value[n.key],...s.isRowActionsDropdownOpen?{zIndex:2}:{}}},{ref_for:!0},l.cellAttrs({headerKey:n.key,row:a,rowIndex:r,colIndex:u}),e.toHandlers(Oe.value(a[n.key],a),!0)),[n.key!==e.unref(i.TableViewHeaderKeys).EXPANDABLE?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Ye(a,n.key)),e.mergeProps({key:0,class:"cell-wrapper"},{ref_for:!0},Qe(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,{row:a,rowKey:r,rowValue:a[n.key]},()=>[e.createTextVNode(e.toDisplayString(a[n.key]),1)],!0,0):n.key===e.unref(i.TableViewHeaderKeys).BULK_ACTIONS&&W(a)?(e.openBlock(),e.createBlock(Ce.default,{key:1,"kpop-attributes":{target:l.tooltipTarget},"max-width":"200",placement:"bottom-start",text:Q(a)?void 0:Ge(a)},{default:e.withCtx(()=>[e.createVNode(he.default,{modelValue:W(a).selected,"onUpdate:modelValue":c=>W(a).selected=c,"aria-label":"Toggle row selection",class:"bulk-actions-checkbox","data-testid":"bulk-actions-checkbox",disabled:!Q(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":{...l.actionsDropdownPopoverAttributes,placement:"bottom-end",target:"body",popoverElementAttributes:Ze(a,r)},onToggleDropdown:c=>Ue(a,c,s)},{items:e.withCtx(()=>[e.renderSlot(t.$slots,"action-items",{row:a},void 0,!0)]),default:e.withCtx(()=>[e.createVNode(ee.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=>J.value=!1),onMouseover:o[10]||(o[10]=c=>J.value=!0)},{default:e.withCtx(()=>[e.createVNode(e.unref(P.MoreIcon),{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",Kt,[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=>at(r,a)},[e.createVNode(e.unref(P.ChevronRightIcon),{class:"expandable-row-control-icon",decorative:""})],10,Ht)])):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":V.value}])},null,2)):e.createCommentVNode("",!0)],16)]),_:2},1024))),128))],16,Nt),K.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:we.value,nestedHeaders:ot.value,row:a},void 0,!0)])],8,xt)],8,Rt)),[[e.vShow,g.value.includes(r)]]):e.createCommentVNode("",!0)],64))),128))])],10,St)],36),!O.value&&!K.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),Be.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,"aria-hidden":"true",class:e.normalizeClass(["scroll-overlay table-overlay right",{"overlay-visible":V.value,"scrollbar-offset":Z.value}])},null,2)),qe.value?(e.openBlock(),e.createBlock(ut.default,e.mergeProps({key:`table-${e.unref(b)}-pagination-${me.value}`,class:"table-pagination","data-testid":"table-pagination","initial-page-size":I.value},l.paginationAttributes,{onGetNextOffset:o[11]||(o[11]=a=>f("get-next-offset")),onGetPreviousOffset:o[12]||(o[12]=a=>f("get-previous-offset")),onPageChange:o[13]||(o[13]=a=>f("page-change",a)),onPageSizeChange:_e}),null,16,["initial-page-size"])):e.createCommentVNode("",!0)]))],2))}});exports.default=Ot;
@@ -11,18 +11,18 @@ import "./kongponents12.es.js";
11
11
  import { EmptyStateIconVariants as Ft } from "./kongponents13.es.js";
12
12
  import { TableViewHeaderKeys as i } from "./kongponents19.es.js";
13
13
  import { KUI_ICON_SIZE_30 as re, KUI_COLOR_TEXT_NEUTRAL as Ut, KUI_COLOR_TEXT_PRIMARY as Vt, KUI_COLOR_TEXT_NEUTRAL_WEAK as Wt, KUI_SPACE_60 as Xt } from "./kongponents182.es.js";
14
- import qt from "./kongponents196.es.js";
14
+ import qt from "./kongponents185.es.js";
15
15
  import jt from "./kongponents61.es.js";
16
16
  import Zt from "./kongponents49.es.js";
17
17
  import Ue from "./kongponents42.es.js";
18
- import Gt from "./kongponents197.es.js";
18
+ import Gt from "./kongponents198.es.js";
19
19
  import { getInitialPageSize as Jt } from "./kongponents181.es.js";
20
20
  import { getUniqueStringId as Yt } from "./kongponents161.es.js";
21
- import { getScrollbarSize as Qt } from "./kongponents193.es.js";
22
- import { useElementSize as _t, useResizeObserver as ea } from "./kongponents198.es.js";
21
+ import { getScrollbarSize as Qt } from "./kongponents199.es.js";
22
+ import { useElementSize as _t, useResizeObserver as ea } from "./kongponents190.es.js";
23
23
  import { normalizeSize as ta } from "./kongponents183.es.js";
24
24
  import aa from "./kongponents46.es.js";
25
- import oa from "./kongponents199.es.js";
25
+ import oa from "./kongponents200.es.js";
26
26
  const la = {
27
27
  key: 0,
28
28
  class: "table-toolbar",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),$=require("./kongponents216.cjs"),N=require("./kongponents217.cjs"),A=require("./kongponents182.cjs"),L={class:"k-filter-group"},M={key:0,class:"label","data-testid":"filter-group-label"},I=["data-testid"],V=e.defineComponent({__name:"KFilterGroup",props:e.mergeModels({filters:{},groupLabel:{default:"Filters"},selectorLabel:{default:()=>{}},itemFiltering:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["apply","clear","open","close"],["update:modelValue"]),setup(n,{emit:p}){const F=e.useSlots(),g=t=>`filter-${t}`,v=t=>`filter-item-${t}`,r=e.useModel(n,"modelValue"),i=e.ref(),u=e.ref([]),s=p,f=e.computed(()=>{const t=Object.keys(n.filters).filter(l=>n.filters[l].pinned),o=u.value.filter(l=>r.value[l]!==void 0);return i.value!==void 0&&!t.includes(i.value)&&!o.includes(i.value)&&o.push(i.value),[...t,...o]}),d=e.computed(()=>Object.keys(n.filters).filter(t=>!f.value.includes(t))),b=e.computed(()=>d.value.reduce((t,o)=>({...t,[o]:n.filters[o]}),{})),h=Number.parseFloat(A.KUI_ANIMATION_DURATION_20)*1e3,S=t=>{setTimeout(()=>{i.value=t},h)},B=t=>{i.value!==void 0&&m(i.value),i.value=t,s("open",t)},m=t=>{i.value===t&&(i.value=void 0),s("close",t)},C=t=>{r.value[t]=void 0,i.value===t&&(i.value=void 0),s("clear",t,r.value)},O=(t,o)=>{o!==void 0&&(r.value[t]=o),i.value===t&&(i.value=void 0),s("apply",t,r.value)};return e.watch(r,t=>{Object.entries(t).forEach(([o,l])=>{if(n.filters[o]?.pinned)return;const c=u.value.indexOf(o);c!==-1&&l===void 0?u.value=[...u.value.slice(0,c),...u.value.slice(c+1)]:c===-1&&l!==void 0&&u.value.push(o)})},{immediate:!0,deep:!0}),(t,o)=>(e.openBlock(),e.createElementBlock("div",L,[n.groupLabel?(e.openBlock(),e.createElementBlock("div",M,e.toDisplayString(n.groupLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,l=>(e.openBlock(),e.createElementBlock("div",{key:`filter-pill-${l}`,"data-testid":`filter-group-pill-${l}`},[e.createVNode(N.default,{custom:!!e.unref(F)[`filter-${l}`],filter:n.filters[l],"init-open":l===i.value,selection:r.value[l],onApply:a=>O(l,a),onClear:a=>C(l),onClose:a=>m(l),onOpen:a=>B(l)},{default:e.withCtx(a=>[e.renderSlot(t.$slots,g(l),e.mergeProps({ref_for:!0},a),void 0,!0)]),_:2},1032,["custom","filter","init-open","selection","onApply","onClear","onClose","onOpen"])],8,I))),128)),d.value.length>0?(e.openBlock(),e.createBlock($.default,{key:1,filters:b.value,"item-filtering":n.itemFiltering,label:n.selectorLabel?n.selectorLabel:"Add filter",onSelect:S},e.createSlots({_:2},[e.renderList(d.value,l=>({name:v(l),fn:e.withCtx(()=>[e.renderSlot(t.$slots,v(l),{},void 0,!0)])}))]),1032,["filters","item-filtering","label"])):e.createCommentVNode("",!0)]))}});exports.default=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),$=require("./kongponents196.cjs"),N=require("./kongponents197.cjs"),A=require("./kongponents182.cjs"),L={class:"k-filter-group"},M={key:0,class:"label","data-testid":"filter-group-label"},I=["data-testid"],V=e.defineComponent({__name:"KFilterGroup",props:e.mergeModels({filters:{},groupLabel:{default:"Filters"},selectorLabel:{default:()=>{}},itemFiltering:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["apply","clear","open","close"],["update:modelValue"]),setup(n,{emit:p}){const F=e.useSlots(),g=t=>`filter-${t}`,v=t=>`filter-item-${t}`,r=e.useModel(n,"modelValue"),i=e.ref(),u=e.ref([]),s=p,f=e.computed(()=>{const t=Object.keys(n.filters).filter(l=>n.filters[l].pinned),o=u.value.filter(l=>r.value[l]!==void 0);return i.value!==void 0&&!t.includes(i.value)&&!o.includes(i.value)&&o.push(i.value),[...t,...o]}),d=e.computed(()=>Object.keys(n.filters).filter(t=>!f.value.includes(t))),b=e.computed(()=>d.value.reduce((t,o)=>({...t,[o]:n.filters[o]}),{})),h=Number.parseFloat(A.KUI_ANIMATION_DURATION_20)*1e3,S=t=>{setTimeout(()=>{i.value=t},h)},B=t=>{i.value!==void 0&&m(i.value),i.value=t,s("open",t)},m=t=>{i.value===t&&(i.value=void 0),s("close",t)},C=t=>{r.value[t]=void 0,i.value===t&&(i.value=void 0),s("clear",t,r.value)},O=(t,o)=>{o!==void 0&&(r.value[t]=o),i.value===t&&(i.value=void 0),s("apply",t,r.value)};return e.watch(r,t=>{Object.entries(t).forEach(([o,l])=>{if(n.filters[o]?.pinned)return;const c=u.value.indexOf(o);c!==-1&&l===void 0?u.value=[...u.value.slice(0,c),...u.value.slice(c+1)]:c===-1&&l!==void 0&&u.value.push(o)})},{immediate:!0,deep:!0}),(t,o)=>(e.openBlock(),e.createElementBlock("div",L,[n.groupLabel?(e.openBlock(),e.createElementBlock("div",M,e.toDisplayString(n.groupLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,l=>(e.openBlock(),e.createElementBlock("div",{key:`filter-pill-${l}`,"data-testid":`filter-group-pill-${l}`},[e.createVNode(N.default,{custom:!!e.unref(F)[`filter-${l}`],filter:n.filters[l],"init-open":l===i.value,selection:r.value[l],onApply:a=>O(l,a),onClear:a=>C(l),onClose:a=>m(l),onOpen:a=>B(l)},{default:e.withCtx(a=>[e.renderSlot(t.$slots,g(l),e.mergeProps({ref_for:!0},a),void 0,!0)]),_:2},1032,["custom","filter","init-open","selection","onApply","onClear","onClose","onOpen"])],8,I))),128)),d.value.length>0?(e.openBlock(),e.createBlock($.default,{key:1,filters:b.value,"item-filtering":n.itemFiltering,label:n.selectorLabel?n.selectorLabel:"Add filter",onSelect:S},e.createSlots({_:2},[e.renderList(d.value,l=>({name:v(l),fn:e.withCtx(()=>[e.renderSlot(t.$slots,v(l),{},void 0,!0)])}))]),1032,["filters","item-filtering","label"])):e.createCommentVNode("",!0)]))}});exports.default=V;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as x, useSlots as D, useModel as T, ref as g, computed as f, watch as w, openBlock as s, createElementBlock as c, toDisplayString as E, createCommentVNode as b, Fragment as K, renderList as h, createVNode as P, unref as U, withCtx as $, renderSlot as C, mergeProps as q, createBlock as G, createSlots as R, mergeModels as O } from "vue";
2
- import z from "./kongponents216.es.js";
3
- import H from "./kongponents217.es.js";
2
+ import z from "./kongponents196.es.js";
3
+ import H from "./kongponents197.es.js";
4
4
  import { KUI_ANIMATION_DURATION_20 as J } from "./kongponents182.es.js";
5
5
  const Q = { class: "k-filter-group" }, W = {
6
6
  key: 0,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents241.cjs");;/* empty css */const u=require("./kongponents83.cjs"),t=u.default(e.default,[["__scopeId","data-v-2ef0f9b8"]]);exports.default=t;
@@ -0,0 +1,7 @@
1
+ import o from "./kongponents241.es.js";
2
+ /* empty css */
3
+ import t from "./kongponents83.es.js";
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2ef0f9b8"]]);
5
+ export {
6
+ r as default
7
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./kongponents279.cjs"),o=require("./kongponents275.cjs"),d=require("./kongponents280.cjs");function a(t,n,r,i){var e=u.default(i);return e.timeZone=n,e.originalDate=t,o.default(d.default(t,n),r,e)}exports.default=a;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents301.cjs");;/* empty css */const r=require("./kongponents83.cjs"),t=r.default(e.default,[["__scopeId","data-v-fa2e8d6e"]]);exports.default=t;
@@ -1,10 +1,7 @@
1
- import n from "./kongponents279.es.js";
2
- import i from "./kongponents275.es.js";
3
- import f from "./kongponents280.es.js";
4
- function u(r, t, e, m) {
5
- var o = n(m);
6
- return o.timeZone = t, o.originalDate = r, i(f(r, t), e, o);
7
- }
1
+ import r from "./kongponents301.es.js";
2
+ /* empty css */
3
+ import a from "./kongponents83.es.js";
4
+ const t = /* @__PURE__ */ a(r, [["__scopeId", "data-v-fa2e8d6e"]]);
8
5
  export {
9
- u as default
6
+ t as default
10
7
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("./kongponents253.cjs"),j=require("./kongponents254.cjs"),A=require("./kongponents251.cjs"),M=require("./kongponents255.cjs"),I=require("./kongponents256.cjs"),Q=require("./kongponents257.cjs"),u=require("./kongponents258.cjs"),W=require("./kongponents250.cjs"),H=require("./kongponents252.cjs"),K=require("./kongponents259.cjs"),Z=require("./kongponents260.cjs");var B=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,F=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,G=/^'([^]*?)'?$/,J=/''/g,N=/[a-zA-Z]/;function U(t,l,e){var c,v,f,s,w,$,k,m,g,_,p,h,O,x,E,S,q,D;H.default(2,arguments);var P=String(l),n=K.getDefaultOptions(),o=(c=(v=e?.locale)!==null&&v!==void 0?v:n.locale)!==null&&c!==void 0?c:Z.default,C=W.default((f=(s=(w=($=e?.firstWeekContainsDate)!==null&&$!==void 0?$:e==null||(k=e.locale)===null||k===void 0||(m=k.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&w!==void 0?w:n.firstWeekContainsDate)!==null&&s!==void 0?s:(g=n.locale)===null||g===void 0||(_=g.options)===null||_===void 0?void 0:_.firstWeekContainsDate)!==null&&f!==void 0?f:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=W.default((p=(h=(O=(x=e?.weekStartsOn)!==null&&x!==void 0?x:e==null||(E=e.locale)===null||E===void 0||(S=E.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&O!==void 0?O:n.weekStartsOn)!==null&&h!==void 0?h:(q=n.locale)===null||q===void 0||(D=q.options)===null||D===void 0?void 0:D.weekStartsOn)!==null&&p!==void 0?p:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var i=A.default(t);if(!y.default(i))throw new RangeError("Invalid time value");var T=Q.default(i),z=j.default(i,T),L={firstWeekContainsDate:C,weekStartsOn:R,locale:o,_originalDate:i},Y=P.match(F).map(function(r){var a=r[0];if(a==="p"||a==="P"){var d=I.default[a];return d(r,o.formatLong)}return r}).join("").match(B).map(function(r){if(r==="''")return"'";var a=r[0];if(a==="'")return V(r);var d=M.default[a];if(d)return!(e!=null&&e.useAdditionalWeekYearTokens)&&u.isProtectedWeekYearToken(r)&&u.throwProtectedError(r,l,String(t)),!(e!=null&&e.useAdditionalDayOfYearTokens)&&u.isProtectedDayOfYearToken(r)&&u.throwProtectedError(r,l,String(t)),d(z,r,o.localize,L);if(a.match(N))throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return r}).join("");return Y}function V(t){var l=t.match(G);return l?l[1].replace(J,"'"):t}exports.default=U;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./kongponents390.cjs"),o=require("./kongponents386.cjs"),d=require("./kongponents391.cjs");function a(t,n,r,i){var e=u.default(i);return e.timeZone=n,e.originalDate=t,o.default(d.default(t,n),r,e)}exports.default=a;
@@ -1,62 +1,10 @@
1
- import I from "./kongponents253.es.js";
2
- import y from "./kongponents254.es.js";
3
- import M from "./kongponents251.es.js";
4
- import j from "./kongponents255.es.js";
5
- import q from "./kongponents256.es.js";
6
- import Q from "./kongponents257.es.js";
7
- import { isProtectedWeekYearToken as F, throwProtectedError as T, isProtectedDayOfYearToken as H } from "./kongponents258.es.js";
8
- import x from "./kongponents250.es.js";
9
- import K from "./kongponents252.es.js";
10
- import { getDefaultOptions as V } from "./kongponents259.es.js";
11
- import Z from "./kongponents260.es.js";
12
- var B = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, G = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, J = /^'([^]*?)'?$/, N = /''/g, U = /[a-zA-Z]/;
13
- function de(a, t, e) {
14
- var v, d, c, u, m, s, p, k, w, g, O, _, h, $, D, E, S, C;
15
- K(2, arguments);
16
- var z = String(t), l = V(), n = (v = (d = e?.locale) !== null && d !== void 0 ? d : l.locale) !== null && v !== void 0 ? v : Z, R = x((c = (u = (m = (s = e?.firstWeekContainsDate) !== null && s !== void 0 ? s : e == null || (p = e.locale) === null || p === void 0 || (k = p.options) === null || k === void 0 ? void 0 : k.firstWeekContainsDate) !== null && m !== void 0 ? m : l.firstWeekContainsDate) !== null && u !== void 0 ? u : (w = l.locale) === null || w === void 0 || (g = w.options) === null || g === void 0 ? void 0 : g.firstWeekContainsDate) !== null && c !== void 0 ? c : 1);
17
- if (!(R >= 1 && R <= 7))
18
- throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
19
- var W = x((O = (_ = (h = ($ = e?.weekStartsOn) !== null && $ !== void 0 ? $ : e == null || (D = e.locale) === null || D === void 0 || (E = D.options) === null || E === void 0 ? void 0 : E.weekStartsOn) !== null && h !== void 0 ? h : l.weekStartsOn) !== null && _ !== void 0 ? _ : (S = l.locale) === null || S === void 0 || (C = S.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && O !== void 0 ? O : 0);
20
- if (!(W >= 0 && W <= 6))
21
- throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
22
- if (!n.localize)
23
- throw new RangeError("locale must contain localize property");
24
- if (!n.formatLong)
25
- throw new RangeError("locale must contain formatLong property");
26
- var i = M(a);
27
- if (!I(i))
28
- throw new RangeError("Invalid time value");
29
- var P = Q(i), L = y(i, P), Y = {
30
- firstWeekContainsDate: R,
31
- weekStartsOn: W,
32
- locale: n,
33
- _originalDate: i
34
- }, A = z.match(G).map(function(r) {
35
- var o = r[0];
36
- if (o === "p" || o === "P") {
37
- var f = q[o];
38
- return f(r, n.formatLong);
39
- }
40
- return r;
41
- }).join("").match(B).map(function(r) {
42
- if (r === "''")
43
- return "'";
44
- var o = r[0];
45
- if (o === "'")
46
- return X(r);
47
- var f = j[o];
48
- if (f)
49
- return !(e != null && e.useAdditionalWeekYearTokens) && F(r) && T(r, t, String(a)), !(e != null && e.useAdditionalDayOfYearTokens) && H(r) && T(r, t, String(a)), f(L, r, n.localize, Y);
50
- if (o.match(U))
51
- throw new RangeError("Format string contains an unescaped latin alphabet character `" + o + "`");
52
- return r;
53
- }).join("");
54
- return A;
55
- }
56
- function X(a) {
57
- var t = a.match(J);
58
- return t ? t[1].replace(N, "'") : a;
1
+ import n from "./kongponents390.es.js";
2
+ import i from "./kongponents386.es.js";
3
+ import f from "./kongponents391.es.js";
4
+ function u(r, t, e, m) {
5
+ var o = n(m);
6
+ return o.timeZone = t, o.originalDate = r, i(f(r, t), e, o);
59
7
  }
60
8
  export {
61
- de as default
9
+ u as default
62
10
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["a[href]","audio[controls]","button","details","embed","iframe","img[usemap]",'input:not([type="hidden"])',"label","select","textarea","video[controls]","area[href]"].join(", ");function o(n,e=""){return n.closest(e?`${t}, ${e}`:t)}exports.findInteractiveAncestor=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("./kongponents364.cjs"),j=require("./kongponents365.cjs"),A=require("./kongponents362.cjs"),M=require("./kongponents366.cjs"),I=require("./kongponents367.cjs"),Q=require("./kongponents368.cjs"),u=require("./kongponents369.cjs"),W=require("./kongponents361.cjs"),H=require("./kongponents363.cjs"),K=require("./kongponents370.cjs"),Z=require("./kongponents371.cjs");var B=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,F=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,G=/^'([^]*?)'?$/,J=/''/g,N=/[a-zA-Z]/;function U(t,l,e){var c,v,f,s,w,$,k,m,g,_,p,h,O,x,E,S,q,D;H.default(2,arguments);var P=String(l),n=K.getDefaultOptions(),o=(c=(v=e?.locale)!==null&&v!==void 0?v:n.locale)!==null&&c!==void 0?c:Z.default,C=W.default((f=(s=(w=($=e?.firstWeekContainsDate)!==null&&$!==void 0?$:e==null||(k=e.locale)===null||k===void 0||(m=k.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&w!==void 0?w:n.firstWeekContainsDate)!==null&&s!==void 0?s:(g=n.locale)===null||g===void 0||(_=g.options)===null||_===void 0?void 0:_.firstWeekContainsDate)!==null&&f!==void 0?f:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=W.default((p=(h=(O=(x=e?.weekStartsOn)!==null&&x!==void 0?x:e==null||(E=e.locale)===null||E===void 0||(S=E.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&O!==void 0?O:n.weekStartsOn)!==null&&h!==void 0?h:(q=n.locale)===null||q===void 0||(D=q.options)===null||D===void 0?void 0:D.weekStartsOn)!==null&&p!==void 0?p:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var i=A.default(t);if(!y.default(i))throw new RangeError("Invalid time value");var T=Q.default(i),z=j.default(i,T),L={firstWeekContainsDate:C,weekStartsOn:R,locale:o,_originalDate:i},Y=P.match(F).map(function(r){var a=r[0];if(a==="p"||a==="P"){var d=I.default[a];return d(r,o.formatLong)}return r}).join("").match(B).map(function(r){if(r==="''")return"'";var a=r[0];if(a==="'")return V(r);var d=M.default[a];if(d)return!(e!=null&&e.useAdditionalWeekYearTokens)&&u.isProtectedWeekYearToken(r)&&u.throwProtectedError(r,l,String(t)),!(e!=null&&e.useAdditionalDayOfYearTokens)&&u.isProtectedDayOfYearToken(r)&&u.throwProtectedError(r,l,String(t)),d(z,r,o.localize,L);if(a.match(N))throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return r}).join("");return Y}function V(t){var l=t.match(G);return l?l[1].replace(J,"'"):t}exports.default=U;
@@ -1,21 +1,62 @@
1
- const t = [
2
- "a[href]",
3
- "audio[controls]",
4
- "button",
5
- "details",
6
- "embed",
7
- "iframe",
8
- "img[usemap]",
9
- 'input:not([type="hidden"])',
10
- "label",
11
- "select",
12
- "textarea",
13
- "video[controls]",
14
- "area[href]"
15
- ].join(", ");
16
- function o(n, e = "") {
17
- return n.closest(e ? `${t}, ${e}` : t);
1
+ import I from "./kongponents364.es.js";
2
+ import y from "./kongponents365.es.js";
3
+ import M from "./kongponents362.es.js";
4
+ import j from "./kongponents366.es.js";
5
+ import q from "./kongponents367.es.js";
6
+ import Q from "./kongponents368.es.js";
7
+ import { isProtectedWeekYearToken as F, throwProtectedError as T, isProtectedDayOfYearToken as H } from "./kongponents369.es.js";
8
+ import x from "./kongponents361.es.js";
9
+ import K from "./kongponents363.es.js";
10
+ import { getDefaultOptions as V } from "./kongponents370.es.js";
11
+ import Z from "./kongponents371.es.js";
12
+ var B = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, G = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, J = /^'([^]*?)'?$/, N = /''/g, U = /[a-zA-Z]/;
13
+ function de(a, t, e) {
14
+ var v, d, c, u, m, s, p, k, w, g, O, _, h, $, D, E, S, C;
15
+ K(2, arguments);
16
+ var z = String(t), l = V(), n = (v = (d = e?.locale) !== null && d !== void 0 ? d : l.locale) !== null && v !== void 0 ? v : Z, R = x((c = (u = (m = (s = e?.firstWeekContainsDate) !== null && s !== void 0 ? s : e == null || (p = e.locale) === null || p === void 0 || (k = p.options) === null || k === void 0 ? void 0 : k.firstWeekContainsDate) !== null && m !== void 0 ? m : l.firstWeekContainsDate) !== null && u !== void 0 ? u : (w = l.locale) === null || w === void 0 || (g = w.options) === null || g === void 0 ? void 0 : g.firstWeekContainsDate) !== null && c !== void 0 ? c : 1);
17
+ if (!(R >= 1 && R <= 7))
18
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
19
+ var W = x((O = (_ = (h = ($ = e?.weekStartsOn) !== null && $ !== void 0 ? $ : e == null || (D = e.locale) === null || D === void 0 || (E = D.options) === null || E === void 0 ? void 0 : E.weekStartsOn) !== null && h !== void 0 ? h : l.weekStartsOn) !== null && _ !== void 0 ? _ : (S = l.locale) === null || S === void 0 || (C = S.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && O !== void 0 ? O : 0);
20
+ if (!(W >= 0 && W <= 6))
21
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
22
+ if (!n.localize)
23
+ throw new RangeError("locale must contain localize property");
24
+ if (!n.formatLong)
25
+ throw new RangeError("locale must contain formatLong property");
26
+ var i = M(a);
27
+ if (!I(i))
28
+ throw new RangeError("Invalid time value");
29
+ var P = Q(i), L = y(i, P), Y = {
30
+ firstWeekContainsDate: R,
31
+ weekStartsOn: W,
32
+ locale: n,
33
+ _originalDate: i
34
+ }, A = z.match(G).map(function(r) {
35
+ var o = r[0];
36
+ if (o === "p" || o === "P") {
37
+ var f = q[o];
38
+ return f(r, n.formatLong);
39
+ }
40
+ return r;
41
+ }).join("").match(B).map(function(r) {
42
+ if (r === "''")
43
+ return "'";
44
+ var o = r[0];
45
+ if (o === "'")
46
+ return X(r);
47
+ var f = j[o];
48
+ if (f)
49
+ return !(e != null && e.useAdditionalWeekYearTokens) && F(r) && T(r, t, String(a)), !(e != null && e.useAdditionalDayOfYearTokens) && H(r) && T(r, t, String(a)), f(L, r, n.localize, Y);
50
+ if (o.match(U))
51
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + o + "`");
52
+ return r;
53
+ }).join("");
54
+ return A;
55
+ }
56
+ function X(a) {
57
+ var t = a.match(J);
58
+ return t ? t[1].replace(N, "'") : a;
18
59
  }
19
60
  export {
20
- o as findInteractiveAncestor
61
+ de as default
21
62
  };
@@ -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 a=require("./kongponents219.cjs"),r=require("vue"),R=a.isClient?window:void 0;function m(t){var n;const i=r.toValue(t);return(n=i?.$el)!==null&&n!==void 0?n:i}function C(...t){const n=(e,l,s,d)=>(e.addEventListener(l,s,d),()=>e.removeEventListener(l,s,d)),i=r.computed(()=>{const e=a.toArray(r.toValue(t[0])).filter(l=>l!=null);return e.every(l=>typeof l!="string")?e:void 0});return a.watchImmediate(()=>{var e,l;return[(e=(l=i.value)===null||l===void 0?void 0:l.map(s=>m(s)))!==null&&e!==void 0?e:[R].filter(s=>s!=null),a.toArray(r.toValue(i.value?t[1]:t[0])),a.toArray(r.unref(i.value?t[2]:t[1])),r.toValue(i.value?t[3]:t[2])]},([e,l,s,d],p,f)=>{if(!e?.length||!l?.length||!s?.length)return;const h=a.isObject(d)?{...d}:d,g=e.flatMap(o=>l.flatMap(y=>s.map(w=>n(o,y,w,h))));f(()=>{g.forEach(o=>o())})},{flush:"post"})}function T(t,n,i={}){const{window:e=R,ignore:l=[],capture:s=!0,detectIframe:d=!1,controls:p=!1}=i;if(!e)return p?{stop:a.noop,cancel:a.noop,trigger:a.noop}:a.noop;let f=!0;const h=u=>r.toValue(l).some(c=>{if(typeof c=="string")return Array.from(e.document.querySelectorAll(c)).some(v=>v===u.target||u.composedPath().includes(v));{const v=m(c);return v&&(u.target===v||u.composedPath().includes(v))}});function g(u){const c=r.toValue(u);return c&&c.$.subTree.shapeFlag===16}function o(u,c){const v=r.toValue(u),E=v.$.subTree&&v.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(O=>O.el===c.target||c.composedPath().includes(O.el))}const y=u=>{const c=m(t);if(u.target!=null&&!(!(c instanceof Element)&&g(t)&&o(t,u))&&!(!c||c===u.target||u.composedPath().includes(c))){if("detail"in u&&u.detail===0&&(f=!h(u)),!f){f=!0;return}n(u)}};let w=!1;const b=[C(e,"click",u=>{w||(w=!0,setTimeout(()=>{w=!1},0),y(u))},{passive:!0,capture:s}),C(e,"pointerdown",u=>{const c=m(t);f=!h(u)&&!!(c&&!u.composedPath().includes(c))},{passive:!0}),d&&C(e,"blur",u=>{setTimeout(()=>{const c=m(t);let v=e.document.activeElement;for(;v?.shadowRoot;)v=v.shadowRoot.activeElement;v?.tagName==="IFRAME"&&!c?.contains(e.document.activeElement)&&n(u)},0)},{passive:!0})].filter(Boolean),S=()=>b.forEach(u=>u());return p?{stop:S,cancel:()=>{f=!1},trigger:u=>{f=!0,y(u),f=!1}}:S}function A(){const t=r.shallowRef(!1),n=r.getCurrentInstance();return n&&r.onMounted(()=>{t.value=!0},n),t}function x(t){const n=A();return r.computed(()=>(n.value,!!t()))}function M(t,n,i={}){const{window:e=R,...l}=i;let s;const d=x(()=>e&&"ResizeObserver"in e),p=()=>{s&&(s.disconnect(),s=void 0)},f=r.watch(r.computed(()=>{const g=r.toValue(t);return Array.isArray(g)?g.map(o=>m(o)):[m(g)]}),g=>{if(p(),d.value&&e){s=new ResizeObserver(n);for(const o of g)o&&s.observe(o,l)}},{immediate:!0,flush:"post"}),h=()=>{p(),f()};return a.tryOnScopeDispose(h),{isSupported:d,stop:h}}function $(t,n={width:0,height:0},i={}){const{window:e=R,box:l="content-box"}=i,s=r.computed(()=>{var o;return(o=m(t))===null||o===void 0||(o=o.namespaceURI)===null||o===void 0?void 0:o.includes("svg")}),d=r.shallowRef(n.width),p=r.shallowRef(n.height),{stop:f}=M(t,([o])=>{const y=l==="border-box"?o.borderBoxSize:l==="content-box"?o.contentBoxSize:o.devicePixelContentBoxSize;if(e&&s.value){const w=m(t);if(w){const b=w.getBoundingClientRect();d.value=b.width,p.value=b.height}}else if(y){const w=a.toArray(y);d.value=w.reduce((b,{inlineSize:S})=>b+S,0),p.value=w.reduce((b,{blockSize:S})=>b+S,0)}else d.value=o.contentRect.width,p.value=o.contentRect.height},i);a.tryOnMounted(()=>{const o=m(t);o&&(d.value="offsetWidth"in o?o.offsetWidth:n.width,p.value="offsetHeight"in o?o.offsetHeight:n.height)});const h=r.watch(()=>m(t),o=>{d.value=o?n.width:0,p.value=o?n.height:0});function g(){f(),h()}return{width:d,height:p,stop:g}}function P(t){var n;const i=(n=t.rangeCount)!==null&&n!==void 0?n:0;return Array.from({length:i},(e,l)=>t.getRangeAt(l))}function V(t={}){var n;const{window:i=R}=t,e=r.shallowRef((n=i?.getSelection())!==null&&n!==void 0?n:null),l=r.computed(()=>{var f,h;return(f=(h=e.value)===null||h===void 0?void 0:h.toString())!==null&&f!==void 0?f:""}),s=r.computed(()=>e.value?P(e.value):[]),d=r.computed(()=>s.value.map(f=>f.getBoundingClientRect()));function p(){e.value=null,i&&(e.value=i.getSelection())}return i&&C(i.document,"selectionchange",p,{passive:!0}),{text:l,rects:d,ranges:s,selection:e}}exports.getLifeCycleTarget=a.getLifeCycleTarget;exports.isClient=a.isClient;exports.isObject=a.isObject;exports.noop=a.noop;exports.toArray=a.toArray;exports.tryOnMounted=a.tryOnMounted;exports.tryOnScopeDispose=a.tryOnScopeDispose;exports.watchImmediate=a.watchImmediate;exports.defaultWindow=R;exports.onClickOutside=T;exports.unrefElement=m;exports.useElementSize=$;exports.useEventListener=C;exports.useMounted=A;exports.useResizeObserver=M;exports.useSupported=x;exports.useTextSelection=V;