@kong/kongponents 9.66.0 → 9.66.1-pr.3471.85e8b4e.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (841) hide show
  1. package/bin/kongponents-mcp.js +0 -0
  2. package/dist/kongponents102.cjs +1 -1
  3. package/dist/kongponents102.es.js +1 -1
  4. package/dist/kongponents104.cjs +1 -1
  5. package/dist/kongponents104.es.js +5 -5
  6. package/dist/kongponents107.cjs +1 -1
  7. package/dist/kongponents107.es.js +1 -1
  8. package/dist/kongponents113.cjs +1 -1
  9. package/dist/kongponents113.es.js +1 -1
  10. package/dist/kongponents115.cjs +1 -1
  11. package/dist/kongponents115.es.js +1 -1
  12. package/dist/kongponents117.cjs +1 -1
  13. package/dist/kongponents117.es.js +2 -2
  14. package/dist/kongponents121.cjs +1 -1
  15. package/dist/kongponents121.es.js +2 -2
  16. package/dist/kongponents123.cjs +1 -1
  17. package/dist/kongponents123.es.js +4 -4
  18. package/dist/kongponents125.cjs +1 -1
  19. package/dist/kongponents125.es.js +1 -1
  20. package/dist/kongponents127.cjs +1 -1
  21. package/dist/kongponents127.es.js +6 -6
  22. package/dist/kongponents130.cjs +1 -1
  23. package/dist/kongponents130.es.js +2 -2
  24. package/dist/kongponents132.cjs +1 -1
  25. package/dist/kongponents132.es.js +5 -5
  26. package/dist/kongponents136.cjs +1 -1
  27. package/dist/kongponents136.es.js +1 -1
  28. package/dist/kongponents138.cjs +1 -1
  29. package/dist/kongponents138.es.js +1 -1
  30. package/dist/kongponents140.cjs +1 -1
  31. package/dist/kongponents140.es.js +7 -7
  32. package/dist/kongponents147.cjs +1 -1
  33. package/dist/kongponents147.es.js +4 -4
  34. package/dist/kongponents149.cjs +1 -1
  35. package/dist/kongponents149.es.js +1 -1
  36. package/dist/kongponents151.cjs +1 -1
  37. package/dist/kongponents151.es.js +4 -4
  38. package/dist/kongponents155.cjs +1 -1
  39. package/dist/kongponents155.es.js +2 -2
  40. package/dist/kongponents157.cjs +1 -1
  41. package/dist/kongponents157.es.js +1 -1
  42. package/dist/kongponents163.cjs +1 -1
  43. package/dist/kongponents163.es.js +2 -2
  44. package/dist/kongponents165.cjs +1 -1
  45. package/dist/kongponents165.es.js +4 -4
  46. package/dist/kongponents167.cjs +1 -1
  47. package/dist/kongponents167.es.js +2 -2
  48. package/dist/kongponents169.cjs +1 -1
  49. package/dist/kongponents169.es.js +7 -7
  50. package/dist/kongponents174.cjs +1 -1
  51. package/dist/kongponents174.es.js +3 -3
  52. package/dist/kongponents182.cjs +1 -1
  53. package/dist/kongponents182.es.js +5 -20
  54. package/dist/kongponents183.cjs +1 -1
  55. package/dist/kongponents183.es.js +35 -4
  56. package/dist/kongponents184.cjs +2 -1
  57. package/dist/kongponents184.es.js +98 -7
  58. package/dist/kongponents185.cjs +1 -1
  59. package/dist/kongponents185.es.js +20 -5
  60. package/dist/kongponents186.cjs +1 -1
  61. package/dist/kongponents186.es.js +17 -181
  62. package/dist/kongponents187.cjs +1 -1
  63. package/dist/kongponents187.es.js +18 -97
  64. package/dist/kongponents188.cjs +1 -1
  65. package/dist/kongponents188.es.js +51 -14
  66. package/dist/kongponents189.cjs +1 -1
  67. package/dist/kongponents189.es.js +4 -18
  68. package/dist/kongponents190.cjs +1 -1
  69. package/dist/kongponents190.es.js +15 -202
  70. package/dist/kongponents191.cjs +1 -1
  71. package/dist/kongponents191.es.js +208 -2
  72. package/dist/kongponents192.cjs +1 -1
  73. package/dist/kongponents192.es.js +2 -5
  74. package/dist/kongponents193.cjs +1 -1
  75. package/dist/kongponents193.es.js +3 -3
  76. package/dist/kongponents194.cjs +1 -1
  77. package/dist/kongponents194.es.js +98 -5
  78. package/dist/kongponents195.cjs +1 -1
  79. package/dist/kongponents195.es.js +3 -3
  80. package/dist/kongponents196.cjs +1 -1
  81. package/dist/kongponents196.es.js +15 -5
  82. package/dist/kongponents197.cjs +1 -1
  83. package/dist/kongponents197.es.js +6 -4
  84. package/dist/kongponents198.cjs +1 -1
  85. package/dist/kongponents198.es.js +181 -5
  86. package/dist/kongponents199.cjs +1 -1
  87. package/dist/kongponents199.es.js +4 -4
  88. package/dist/kongponents200.cjs +1 -1
  89. package/dist/kongponents200.es.js +5 -17
  90. package/dist/kongponents201.cjs +1 -1
  91. package/dist/kongponents201.es.js +5 -10
  92. package/dist/kongponents202.cjs +1 -1
  93. package/dist/kongponents202.es.js +3 -3
  94. package/dist/kongponents203.cjs +1 -1
  95. package/dist/kongponents203.es.js +5 -21
  96. package/dist/kongponents204.cjs +1 -1
  97. package/dist/kongponents204.es.js +5 -36
  98. package/dist/kongponents205.cjs +1 -2
  99. package/dist/kongponents205.es.js +5 -98
  100. package/dist/kongponents207.cjs +1 -0
  101. package/dist/kongponents207.es.js +7 -0
  102. package/dist/kongponents208.cjs +1 -1
  103. package/dist/kongponents208.es.js +8 -5
  104. package/dist/kongponents209.cjs +1 -1
  105. package/dist/kongponents209.es.js +59 -7
  106. package/dist/kongponents210.cjs +1 -1
  107. package/dist/kongponents210.es.js +17 -60
  108. package/dist/kongponents211.cjs +1 -1
  109. package/dist/kongponents211.es.js +2 -2
  110. package/dist/kongponents212.cjs +1 -1
  111. package/dist/kongponents212.es.js +3 -3
  112. package/dist/kongponents213.cjs +1 -1
  113. package/dist/kongponents213.es.js +4 -4
  114. package/dist/kongponents214.cjs +1 -1
  115. package/dist/kongponents214.es.js +4 -4
  116. package/dist/kongponents215.cjs +1 -1
  117. package/dist/kongponents215.es.js +4 -4
  118. package/dist/kongponents216.cjs +1 -1
  119. package/dist/kongponents216.es.js +4 -4
  120. package/dist/kongponents217.cjs +1 -1
  121. package/dist/kongponents217.es.js +5 -17
  122. package/dist/kongponents218.cjs +1 -1
  123. package/dist/kongponents218.es.js +10 -5
  124. package/dist/kongponents219.cjs +1 -1
  125. package/dist/kongponents219.es.js +6 -24
  126. package/dist/kongponents220.cjs +1 -0
  127. package/dist/kongponents220.es.js +26 -0
  128. package/dist/{kongponents221.cjs → kongponents222.cjs} +1 -1
  129. package/dist/{kongponents221.es.js → kongponents222.es.js} +2 -2
  130. package/dist/{kongponents227.cjs → kongponents228.cjs} +1 -1
  131. package/dist/{kongponents227.es.js → kongponents228.es.js} +1 -1
  132. package/dist/kongponents234.cjs +1 -1
  133. package/dist/kongponents234.es.js +168 -45
  134. package/dist/kongponents236.cjs +1 -0
  135. package/dist/kongponents236.es.js +93 -0
  136. package/dist/kongponents238.cjs +1 -1
  137. package/dist/kongponents238.es.js +246 -5
  138. package/dist/kongponents240.cjs +1 -1
  139. package/dist/kongponents240.es.js +54 -19
  140. package/dist/kongponents242.cjs +1 -1
  141. package/dist/kongponents242.es.js +83 -5
  142. package/dist/kongponents244.cjs +1 -1
  143. package/dist/kongponents244.es.js +41 -9
  144. package/dist/kongponents246.cjs +1 -1
  145. package/dist/kongponents246.es.js +87 -4
  146. package/dist/kongponents248.cjs +1 -1
  147. package/dist/kongponents248.es.js +45 -4
  148. package/dist/kongponents25.cjs +1 -1
  149. package/dist/kongponents25.es.js +7 -7
  150. package/dist/kongponents250.cjs +1 -1
  151. package/dist/kongponents250.es.js +55 -7
  152. package/dist/kongponents252.cjs +1 -1
  153. package/dist/kongponents252.es.js +5 -2
  154. package/dist/kongponents253.cjs +1 -1
  155. package/dist/kongponents253.es.js +5 -6
  156. package/dist/kongponents254.cjs +1 -1
  157. package/dist/kongponents254.es.js +19 -9
  158. package/dist/kongponents255.cjs +1 -1
  159. package/dist/kongponents255.es.js +3 -4
  160. package/dist/kongponents256.cjs +1 -1
  161. package/dist/kongponents256.es.js +5 -4
  162. package/dist/kongponents257.cjs +1 -1
  163. package/dist/kongponents257.es.js +6 -3
  164. package/dist/kongponents258.cjs +1 -1
  165. package/dist/kongponents258.es.js +8 -3
  166. package/dist/kongponents259.cjs +1 -1
  167. package/dist/kongponents259.es.js +5 -7
  168. package/dist/kongponents260.cjs +1 -1
  169. package/dist/kongponents260.es.js +3 -6
  170. package/dist/kongponents261.cjs +1 -1
  171. package/dist/kongponents261.es.js +17 -5
  172. package/dist/kongponents262.cjs +1 -1
  173. package/dist/kongponents262.es.js +3 -9
  174. package/dist/kongponents263.cjs +1 -1
  175. package/dist/kongponents263.es.js +8 -6
  176. package/dist/kongponents264.cjs +1 -1
  177. package/dist/kongponents264.es.js +7 -9
  178. package/dist/kongponents265.cjs +1 -1
  179. package/dist/kongponents265.es.js +3 -6
  180. package/dist/kongponents266.cjs +1 -1
  181. package/dist/kongponents266.es.js +2 -18
  182. package/dist/kongponents267.cjs +1 -1
  183. package/dist/kongponents267.es.js +5 -11
  184. package/dist/kongponents268.cjs +1 -1
  185. package/dist/kongponents268.es.js +9 -6
  186. package/dist/kongponents269.cjs +1 -1
  187. package/dist/kongponents269.es.js +4 -12
  188. package/dist/kongponents27.cjs +1 -1
  189. package/dist/kongponents27.es.js +2 -2
  190. package/dist/kongponents270.cjs +1 -1
  191. package/dist/kongponents270.es.js +4 -10
  192. package/dist/kongponents271.cjs +1 -1
  193. package/dist/kongponents271.es.js +3 -6
  194. package/dist/kongponents272.cjs +1 -1
  195. package/dist/kongponents272.es.js +3 -8
  196. package/dist/kongponents273.cjs +1 -1
  197. package/dist/kongponents273.es.js +7 -15
  198. package/dist/kongponents274.cjs +1 -1
  199. package/dist/kongponents274.es.js +6 -17
  200. package/dist/kongponents275.cjs +1 -1
  201. package/dist/kongponents275.es.js +5 -6
  202. package/dist/kongponents276.cjs +1 -1
  203. package/dist/kongponents276.es.js +9 -10
  204. package/dist/kongponents277.cjs +1 -1
  205. package/dist/kongponents277.es.js +5 -6
  206. package/dist/kongponents278.cjs +1 -1
  207. package/dist/kongponents278.es.js +9 -8
  208. package/dist/kongponents279.cjs +1 -1
  209. package/dist/kongponents279.es.js +6 -5
  210. package/dist/kongponents280.cjs +1 -1
  211. package/dist/kongponents280.es.js +17 -6
  212. package/dist/kongponents281.cjs +1 -1
  213. package/dist/kongponents281.es.js +11 -9
  214. package/dist/kongponents282.cjs +1 -1
  215. package/dist/kongponents282.es.js +6 -7
  216. package/dist/kongponents283.cjs +1 -1
  217. package/dist/kongponents283.es.js +12 -3
  218. package/dist/kongponents284.cjs +1 -1
  219. package/dist/kongponents284.es.js +9 -5
  220. package/dist/kongponents285.cjs +1 -1
  221. package/dist/kongponents285.es.js +5 -15
  222. package/dist/kongponents286.cjs +1 -1
  223. package/dist/kongponents286.es.js +9 -178
  224. package/dist/kongponents287.cjs +1 -0
  225. package/dist/kongponents287.es.js +18 -0
  226. package/dist/kongponents288.cjs +1 -1
  227. package/dist/kongponents288.es.js +17 -63
  228. package/dist/kongponents289.cjs +1 -0
  229. package/dist/kongponents289.es.js +8 -0
  230. package/dist/kongponents290.cjs +1 -1
  231. package/dist/kongponents290.es.js +10 -90
  232. package/dist/kongponents291.cjs +1 -0
  233. package/dist/kongponents291.es.js +9 -0
  234. package/dist/kongponents292.cjs +1 -1
  235. package/dist/kongponents292.es.js +8 -246
  236. package/dist/kongponents293.cjs +1 -0
  237. package/dist/kongponents293.es.js +8 -0
  238. package/dist/kongponents294.cjs +1 -1
  239. package/dist/kongponents294.es.js +7 -87
  240. package/dist/kongponents295.cjs +1 -0
  241. package/dist/kongponents295.es.js +12 -0
  242. package/dist/kongponents296.cjs +1 -1
  243. package/dist/kongponents296.es.js +8 -45
  244. package/dist/kongponents297.cjs +1 -0
  245. package/dist/kongponents297.es.js +6 -0
  246. package/dist/kongponents298.cjs +1 -1
  247. package/dist/kongponents298.es.js +5 -8
  248. package/dist/kongponents299.cjs +1 -1
  249. package/dist/kongponents299.es.js +15 -6
  250. package/dist/kongponents30.cjs +1 -1
  251. package/dist/kongponents30.es.js +1 -1
  252. package/dist/kongponents300.cjs +1 -1
  253. package/dist/kongponents300.es.js +182 -8
  254. package/dist/kongponents302.cjs +1 -1
  255. package/dist/kongponents302.es.js +2 -10
  256. package/dist/kongponents303.cjs +1 -1
  257. package/dist/kongponents303.es.js +2 -9
  258. package/dist/kongponents304.cjs +1 -1
  259. package/dist/kongponents304.es.js +5 -602
  260. package/dist/kongponents305.cjs +1 -1
  261. package/dist/kongponents305.es.js +63 -70
  262. package/dist/kongponents307.cjs +1 -1
  263. package/dist/kongponents307.es.js +5 -20
  264. package/dist/kongponents308.cjs +1 -1
  265. package/dist/kongponents308.es.js +121 -5
  266. package/dist/kongponents310.cjs +1 -1
  267. package/dist/kongponents310.es.js +94 -8
  268. package/dist/kongponents312.cjs +1 -1
  269. package/dist/kongponents312.es.js +7 -8
  270. package/dist/kongponents313.cjs +1 -1
  271. package/dist/kongponents313.es.js +5 -7
  272. package/dist/kongponents314.cjs +1 -1
  273. package/dist/kongponents314.es.js +9 -8
  274. package/dist/kongponents315.cjs +1 -1
  275. package/dist/kongponents315.es.js +5 -7
  276. package/dist/kongponents316.cjs +1 -1
  277. package/dist/kongponents316.es.js +9 -7
  278. package/dist/kongponents317.cjs +1 -1
  279. package/dist/kongponents317.es.js +14 -124
  280. package/dist/kongponents318.cjs +1 -2
  281. package/dist/kongponents318.es.js +3 -49
  282. package/dist/kongponents319.cjs +1 -1
  283. package/dist/kongponents319.es.js +7 -7
  284. package/dist/kongponents32.cjs +1 -1
  285. package/dist/kongponents32.es.js +4 -4
  286. package/dist/kongponents320.cjs +1 -1
  287. package/dist/kongponents320.es.js +3 -57
  288. package/dist/kongponents321.cjs +1 -1
  289. package/dist/kongponents321.es.js +11 -65
  290. package/dist/kongponents322.cjs +1 -1
  291. package/dist/kongponents322.es.js +7 -4
  292. package/dist/kongponents323.cjs +1 -1
  293. package/dist/kongponents323.es.js +6 -4
  294. package/dist/kongponents324.cjs +1 -1
  295. package/dist/kongponents324.es.js +2 -21
  296. package/dist/kongponents325.cjs +1 -1
  297. package/dist/kongponents325.es.js +13 -5
  298. package/dist/kongponents326.cjs +1 -1
  299. package/dist/kongponents326.es.js +4 -96
  300. package/dist/kongponents327.cjs +1 -1
  301. package/dist/kongponents327.es.js +3 -172
  302. package/dist/kongponents328.cjs +1 -1
  303. package/dist/kongponents328.es.js +26 -5
  304. package/dist/kongponents329.cjs +1 -1
  305. package/dist/kongponents329.es.js +4 -7
  306. package/dist/kongponents330.cjs +1 -1
  307. package/dist/kongponents330.es.js +4 -5
  308. package/dist/kongponents331.cjs +1 -1
  309. package/dist/kongponents331.es.js +4 -5
  310. package/dist/kongponents332.cjs +1 -1
  311. package/dist/kongponents332.es.js +4 -70
  312. package/dist/kongponents333.cjs +1 -1
  313. package/dist/kongponents333.es.js +4 -2
  314. package/dist/kongponents334.cjs +1 -1
  315. package/dist/kongponents334.es.js +15 -2
  316. package/dist/kongponents335.cjs +1 -1
  317. package/dist/kongponents335.es.js +6 -55
  318. package/dist/kongponents336.cjs +1 -0
  319. package/dist/kongponents336.es.js +32 -0
  320. package/dist/kongponents337.cjs +1 -1
  321. package/dist/kongponents337.es.js +26 -7
  322. package/dist/kongponents338.cjs +1 -1
  323. package/dist/kongponents338.es.js +15 -5
  324. package/dist/kongponents339.cjs +1 -1
  325. package/dist/kongponents339.es.js +9 -8
  326. package/dist/kongponents340.cjs +1 -1
  327. package/dist/kongponents340.es.js +4 -9
  328. package/dist/kongponents341.cjs +1 -1
  329. package/dist/kongponents341.es.js +13 -14
  330. package/dist/kongponents342.cjs +1 -1
  331. package/dist/kongponents342.es.js +8 -5
  332. package/dist/kongponents343.cjs +1 -1
  333. package/dist/kongponents343.es.js +3 -3
  334. package/dist/kongponents344.cjs +1 -1
  335. package/dist/kongponents344.es.js +5 -7
  336. package/dist/kongponents345.cjs +1 -1
  337. package/dist/kongponents345.es.js +6 -3
  338. package/dist/kongponents346.cjs +1 -1
  339. package/dist/kongponents346.es.js +7 -10
  340. package/dist/kongponents347.cjs +1 -1
  341. package/dist/kongponents347.es.js +5 -7
  342. package/dist/kongponents348.cjs +1 -1
  343. package/dist/kongponents348.es.js +10 -5
  344. package/dist/kongponents349.cjs +1 -1
  345. package/dist/kongponents349.es.js +6 -2
  346. package/dist/kongponents350.cjs +1 -1
  347. package/dist/kongponents350.es.js +4 -12
  348. package/dist/kongponents351.cjs +1 -1
  349. package/dist/kongponents351.es.js +3 -3
  350. package/dist/kongponents352.cjs +1 -1
  351. package/dist/kongponents352.es.js +5 -5
  352. package/dist/kongponents353.cjs +1 -1
  353. package/dist/kongponents353.es.js +8 -30
  354. package/dist/kongponents354.cjs +1 -1
  355. package/dist/kongponents354.es.js +7 -3
  356. package/dist/kongponents355.cjs +1 -1
  357. package/dist/kongponents355.es.js +10 -26
  358. package/dist/kongponents356.cjs +1 -1
  359. package/dist/kongponents356.es.js +7 -4
  360. package/dist/kongponents357.cjs +1 -1
  361. package/dist/kongponents357.es.js +22 -4
  362. package/dist/kongponents358.cjs +1 -1
  363. package/dist/kongponents358.es.js +7 -4
  364. package/dist/kongponents359.cjs +1 -1
  365. package/dist/kongponents359.es.js +7 -4
  366. package/dist/kongponents360.cjs +1 -1
  367. package/dist/kongponents360.es.js +7 -4
  368. package/dist/kongponents361.cjs +1 -1
  369. package/dist/kongponents361.es.js +8 -14
  370. package/dist/kongponents362.cjs +1 -1
  371. package/dist/kongponents362.es.js +8 -26
  372. package/dist/kongponents363.cjs +1 -1
  373. package/dist/kongponents363.es.js +6 -15
  374. package/dist/kongponents364.cjs +1 -1
  375. package/dist/kongponents364.es.js +6 -8
  376. package/dist/kongponents365.cjs +1 -1
  377. package/dist/kongponents365.es.js +4 -4
  378. package/dist/kongponents366.cjs +1 -1
  379. package/dist/kongponents366.es.js +8 -12
  380. package/dist/kongponents367.cjs +1 -1
  381. package/dist/kongponents367.es.js +8 -8
  382. package/dist/kongponents368.cjs +1 -1
  383. package/dist/kongponents368.es.js +602 -3
  384. package/dist/kongponents369.cjs +1 -1
  385. package/dist/kongponents369.es.js +71 -6
  386. package/dist/kongponents370.cjs +1 -1
  387. package/dist/kongponents370.es.js +4 -5
  388. package/dist/kongponents371.cjs +1 -1
  389. package/dist/kongponents371.es.js +19 -7
  390. package/dist/kongponents372.cjs +1 -1
  391. package/dist/kongponents372.es.js +4 -5
  392. package/dist/kongponents373.cjs +1 -1
  393. package/dist/kongponents373.es.js +18 -8
  394. package/dist/kongponents374.cjs +1 -1
  395. package/dist/kongponents374.es.js +7 -6
  396. package/dist/kongponents375.cjs +1 -1
  397. package/dist/kongponents375.es.js +6 -10
  398. package/dist/kongponents376.cjs +1 -1
  399. package/dist/kongponents376.es.js +8 -6
  400. package/dist/kongponents377.cjs +1 -1
  401. package/dist/kongponents377.es.js +7 -21
  402. package/dist/kongponents378.cjs +1 -1
  403. package/dist/kongponents378.es.js +7 -6
  404. package/dist/kongponents379.cjs +1 -1
  405. package/dist/kongponents379.es.js +7 -6
  406. package/dist/kongponents380.cjs +1 -1
  407. package/dist/kongponents380.es.js +7 -6
  408. package/dist/kongponents381.cjs +1 -1
  409. package/dist/kongponents381.es.js +124 -8
  410. package/dist/kongponents382.cjs +2 -1
  411. package/dist/kongponents382.es.js +47 -9
  412. package/dist/kongponents383.cjs +1 -1
  413. package/dist/kongponents383.es.js +6 -4
  414. package/dist/kongponents384.cjs +1 -1
  415. package/dist/kongponents384.es.js +57 -5
  416. package/dist/kongponents385.cjs +1 -1
  417. package/dist/kongponents385.es.js +65 -5
  418. package/dist/kongponents386.cjs +1 -1
  419. package/dist/kongponents386.es.js +4 -5
  420. package/dist/kongponents387.cjs +1 -1
  421. package/dist/kongponents387.es.js +4 -2
  422. package/dist/kongponents388.cjs +1 -1
  423. package/dist/kongponents388.es.js +21 -5
  424. package/dist/kongponents389.cjs +1 -1
  425. package/dist/kongponents389.es.js +5 -83
  426. package/dist/kongponents390.cjs +1 -0
  427. package/dist/kongponents390.es.js +99 -0
  428. package/dist/kongponents391.cjs +1 -1
  429. package/dist/kongponents391.es.js +171 -40
  430. package/dist/kongponents392.cjs +1 -0
  431. package/dist/kongponents392.es.js +7 -0
  432. package/dist/kongponents393.cjs +1 -1
  433. package/dist/kongponents393.es.js +7 -5
  434. package/dist/kongponents394.cjs +1 -1
  435. package/dist/kongponents394.es.js +5 -94
  436. package/dist/kongponents395.cjs +1 -0
  437. package/dist/kongponents395.es.js +7 -0
  438. package/dist/kongponents396.cjs +1 -1
  439. package/dist/kongponents396.es.js +69 -120
  440. package/dist/kongponents397.cjs +1 -0
  441. package/dist/kongponents397.es.js +4 -0
  442. package/dist/kongponents398.cjs +1 -1
  443. package/dist/kongponents398.es.js +6 -10
  444. package/dist/kongponents399.cjs +1 -1
  445. package/dist/kongponents399.es.js +17 -10
  446. package/dist/kongponents400.cjs +1 -1
  447. package/dist/kongponents400.es.js +4 -12
  448. package/dist/kongponents401.cjs +1 -1
  449. package/dist/kongponents401.es.js +4 -10
  450. package/dist/kongponents402.cjs +1 -1
  451. package/dist/kongponents402.es.js +3 -18
  452. package/dist/kongponents403.cjs +1 -1
  453. package/dist/kongponents403.es.js +3 -5
  454. package/dist/kongponents404.cjs +1 -1
  455. package/dist/kongponents404.es.js +14 -53
  456. package/dist/kongponents405.cjs +1 -1
  457. package/dist/kongponents405.es.js +7 -2
  458. package/dist/kongponents406.cjs +1 -1
  459. package/dist/kongponents406.es.js +8 -9
  460. package/dist/kongponents407.cjs +1 -1
  461. package/dist/kongponents407.es.js +10 -4
  462. package/dist/kongponents408.cjs +1 -1
  463. package/dist/kongponents408.es.js +4 -13
  464. package/dist/kongponents409.cjs +1 -1
  465. package/dist/kongponents409.es.js +3 -14
  466. package/dist/kongponents410.cjs +1 -1
  467. package/dist/kongponents410.es.js +3 -3
  468. package/dist/kongponents411.cjs +1 -1
  469. package/dist/kongponents411.es.js +36 -11
  470. package/dist/kongponents412.cjs +1 -1
  471. package/dist/kongponents412.es.js +42 -9
  472. package/dist/kongponents413.cjs +1 -1
  473. package/dist/kongponents413.es.js +32 -51
  474. package/dist/kongponents414.cjs +1 -1
  475. package/dist/kongponents414.es.js +3 -57
  476. package/dist/kongponents415.cjs +1 -1
  477. package/dist/kongponents415.es.js +17 -58
  478. package/dist/kongponents416.cjs +1 -1
  479. package/dist/kongponents416.es.js +6 -33
  480. package/dist/kongponents417.cjs +1 -1
  481. package/dist/kongponents417.es.js +11 -31
  482. package/dist/kongponents418.cjs +1 -1
  483. package/dist/kongponents418.es.js +11 -72
  484. package/dist/kongponents419.cjs +1 -1
  485. package/dist/kongponents419.es.js +13 -72
  486. package/dist/kongponents420.cjs +1 -1
  487. package/dist/kongponents420.es.js +11 -78
  488. package/dist/kongponents421.cjs +1 -1
  489. package/dist/kongponents421.es.js +19 -78
  490. package/dist/kongponents422.cjs +1 -1
  491. package/dist/kongponents422.es.js +6 -48
  492. package/dist/kongponents423.cjs +1 -1
  493. package/dist/kongponents423.es.js +53 -47
  494. package/dist/kongponents424.cjs +1 -1
  495. package/dist/kongponents424.es.js +2 -47
  496. package/dist/kongponents425.cjs +1 -1
  497. package/dist/kongponents425.es.js +8 -47
  498. package/dist/kongponents426.cjs +1 -1
  499. package/dist/kongponents426.es.js +5 -80
  500. package/dist/kongponents427.cjs +1 -1
  501. package/dist/kongponents427.es.js +13 -91
  502. package/dist/kongponents428.cjs +1 -1
  503. package/dist/kongponents428.es.js +15 -92
  504. package/dist/kongponents429.cjs +1 -1
  505. package/dist/kongponents429.es.js +4 -91
  506. package/dist/kongponents430.cjs +1 -1
  507. package/dist/kongponents430.es.js +12 -57
  508. package/dist/kongponents431.cjs +1 -1
  509. package/dist/kongponents431.es.js +10 -58
  510. package/dist/kongponents432.cjs +1 -1
  511. package/dist/kongponents432.es.js +42 -47
  512. package/dist/kongponents433.cjs +1 -1
  513. package/dist/kongponents433.es.js +44 -34
  514. package/dist/kongponents434.cjs +1 -1
  515. package/dist/kongponents434.es.js +48 -35
  516. package/dist/kongponents435.cjs +1 -1
  517. package/dist/kongponents435.es.js +25 -39
  518. package/dist/kongponents436.cjs +1 -1
  519. package/dist/kongponents436.es.js +24 -40
  520. package/dist/kongponents437.cjs +1 -1
  521. package/dist/kongponents437.es.js +60 -34
  522. package/dist/kongponents438.cjs +1 -1
  523. package/dist/kongponents438.es.js +60 -34
  524. package/dist/kongponents439.cjs +1 -1
  525. package/dist/kongponents439.es.js +71 -27
  526. package/dist/kongponents440.cjs +1 -1
  527. package/dist/kongponents440.es.js +67 -32
  528. package/dist/kongponents441.cjs +1 -1
  529. package/dist/kongponents441.es.js +39 -34
  530. package/dist/kongponents442.cjs +1 -1
  531. package/dist/kongponents442.es.js +41 -26
  532. package/dist/kongponents443.cjs +1 -1
  533. package/dist/kongponents443.es.js +41 -27
  534. package/dist/kongponents444.cjs +1 -1
  535. package/dist/kongponents444.es.js +46 -70
  536. package/dist/kongponents445.cjs +1 -1
  537. package/dist/kongponents445.es.js +80 -2
  538. package/dist/kongponents446.cjs +1 -1
  539. package/dist/kongponents446.es.js +90 -11
  540. package/dist/kongponents447.cjs +1 -1
  541. package/dist/kongponents447.es.js +91 -22
  542. package/dist/kongponents448.cjs +1 -1
  543. package/dist/kongponents448.es.js +90 -21
  544. package/dist/kongponents449.cjs +1 -1
  545. package/dist/kongponents449.es.js +57 -20
  546. package/dist/kongponents450.cjs +1 -1
  547. package/dist/kongponents450.es.js +53 -610
  548. package/dist/kongponents451.cjs +1 -1
  549. package/dist/kongponents451.es.js +54 -77
  550. package/dist/kongponents452.cjs +1 -1
  551. package/dist/kongponents452.es.js +46 -14
  552. package/dist/kongponents453.cjs +1 -1
  553. package/dist/kongponents453.es.js +45 -26
  554. package/dist/kongponents454.cjs +1 -1
  555. package/dist/kongponents454.es.js +46 -16
  556. package/dist/kongponents455.cjs +1 -1
  557. package/dist/kongponents455.es.js +46 -14
  558. package/dist/kongponents456.cjs +1 -1
  559. package/dist/kongponents456.es.js +45 -16
  560. package/dist/kongponents457.cjs +1 -1
  561. package/dist/kongponents457.es.js +46 -15
  562. package/dist/kongponents458.cjs +1 -1
  563. package/dist/kongponents458.es.js +34 -24
  564. package/dist/kongponents459.cjs +1 -1
  565. package/dist/kongponents459.es.js +42 -64
  566. package/dist/kongponents460.cjs +1 -1
  567. package/dist/kongponents460.es.js +43 -5
  568. package/dist/kongponents461.cjs +1 -1
  569. package/dist/kongponents461.es.js +32 -17
  570. package/dist/kongponents462.cjs +1 -1
  571. package/dist/kongponents462.es.js +33 -2
  572. package/dist/kongponents463.cjs +1 -1
  573. package/dist/kongponents463.es.js +69 -15
  574. package/dist/kongponents464.es.js +2 -2
  575. package/dist/kongponents465.cjs +1 -1
  576. package/dist/kongponents465.es.js +13 -2
  577. package/dist/kongponents466.cjs +1 -1
  578. package/dist/kongponents466.es.js +22 -6
  579. package/dist/kongponents467.cjs +1 -1
  580. package/dist/kongponents467.es.js +21 -17
  581. package/dist/kongponents468.cjs +1 -1
  582. package/dist/kongponents468.es.js +20 -4
  583. package/dist/kongponents469.cjs +1 -1
  584. package/dist/kongponents469.es.js +614 -4
  585. package/dist/kongponents470.cjs +1 -1
  586. package/dist/kongponents470.es.js +80 -3
  587. package/dist/kongponents471.cjs +1 -1
  588. package/dist/kongponents471.es.js +14 -3
  589. package/dist/kongponents472.cjs +1 -1
  590. package/dist/kongponents472.es.js +25 -13
  591. package/dist/kongponents473.cjs +1 -1
  592. package/dist/kongponents473.es.js +16 -6
  593. package/dist/kongponents474.cjs +1 -1
  594. package/dist/kongponents474.es.js +15 -8
  595. package/dist/kongponents475.cjs +1 -1
  596. package/dist/kongponents475.es.js +16 -10
  597. package/dist/kongponents476.cjs +1 -1
  598. package/dist/kongponents476.es.js +14 -4
  599. package/dist/kongponents477.cjs +1 -1
  600. package/dist/kongponents477.es.js +23 -3
  601. package/dist/kongponents478.cjs +1 -1
  602. package/dist/kongponents478.es.js +17 -3
  603. package/dist/kongponents479.cjs +1 -1
  604. package/dist/kongponents479.es.js +2 -38
  605. package/dist/kongponents480.cjs +1 -1
  606. package/dist/kongponents480.es.js +17 -42
  607. package/dist/kongponents481.cjs +1 -1
  608. package/dist/kongponents481.es.js +2 -34
  609. package/dist/kongponents482.cjs +1 -1
  610. package/dist/kongponents482.es.js +2 -3
  611. package/dist/kongponents483.cjs +1 -1
  612. package/dist/kongponents483.es.js +63 -16
  613. package/dist/kongponents484.cjs +1 -1
  614. package/dist/kongponents484.es.js +4 -5
  615. package/dist/kongponents485.cjs +1 -1
  616. package/dist/kongponents485.es.js +3 -7
  617. package/dist/kongponents486.cjs +1 -1
  618. package/dist/kongponents486.es.js +3 -10
  619. package/dist/kongponents487.cjs +1 -1
  620. package/dist/kongponents487.es.js +9 -13
  621. package/dist/kongponents488.cjs +1 -1
  622. package/dist/kongponents488.es.js +5 -13
  623. package/dist/kongponents489.cjs +1 -1
  624. package/dist/kongponents489.es.js +5 -67
  625. package/dist/kongponents490.cjs +1 -1
  626. package/dist/kongponents490.es.js +6 -31
  627. package/dist/kongponents491.cjs +1 -1
  628. package/dist/kongponents491.es.js +3 -11
  629. package/dist/kongponents492.cjs +1 -1
  630. package/dist/kongponents492.es.js +5 -121
  631. package/dist/kongponents493.cjs +1 -1
  632. package/dist/kongponents493.es.js +5 -86
  633. package/dist/kongponents494.cjs +1 -1
  634. package/dist/kongponents494.es.js +10 -5
  635. package/dist/kongponents495.cjs +1 -1
  636. package/dist/kongponents495.es.js +6 -5
  637. package/dist/kongponents496.cjs +1 -1
  638. package/dist/kongponents496.es.js +6 -5
  639. package/dist/kongponents497.cjs +1 -1
  640. package/dist/kongponents497.es.js +4 -10
  641. package/dist/kongponents498.cjs +1 -1
  642. package/dist/kongponents498.es.js +7 -7
  643. package/dist/kongponents499.cjs +1 -1
  644. package/dist/kongponents499.es.js +10 -6
  645. package/dist/kongponents500.cjs +1 -1
  646. package/dist/kongponents500.es.js +14 -25
  647. package/dist/kongponents501.cjs +1 -1
  648. package/dist/kongponents501.es.js +13 -96
  649. package/dist/kongponents502.cjs +1 -1
  650. package/dist/kongponents502.es.js +66 -46
  651. package/dist/kongponents503.cjs +1 -1
  652. package/dist/kongponents503.es.js +31 -10
  653. package/dist/kongponents504.cjs +1 -1
  654. package/dist/kongponents504.es.js +11 -10
  655. package/dist/kongponents505.cjs +1 -1
  656. package/dist/kongponents505.es.js +121 -14
  657. package/dist/kongponents506.cjs +1 -1
  658. package/dist/kongponents506.es.js +86 -11
  659. package/dist/kongponents507.cjs +1 -1
  660. package/dist/kongponents507.es.js +6 -2
  661. package/dist/kongponents508.cjs +1 -1
  662. package/dist/kongponents508.es.js +25 -2
  663. package/dist/kongponents509.cjs +1 -1
  664. package/dist/kongponents509.es.js +96 -18
  665. package/dist/kongponents510.cjs +1 -1
  666. package/dist/kongponents510.es.js +47 -2
  667. package/dist/kongponents511.cjs +1 -1
  668. package/dist/kongponents511.es.js +9 -21
  669. package/dist/kongponents512.cjs +1 -1
  670. package/dist/kongponents512.es.js +10 -2
  671. package/dist/kongponents513.cjs +1 -1
  672. package/dist/kongponents513.es.js +13 -15
  673. package/dist/kongponents514.cjs +1 -1
  674. package/dist/kongponents514.es.js +11 -2
  675. package/dist/kongponents515.cjs +1 -1
  676. package/dist/kongponents515.es.js +5 -22
  677. package/dist/kongponents516.cjs +1 -1
  678. package/dist/kongponents516.es.js +5 -22
  679. package/dist/kongponents517.cjs +1 -1
  680. package/dist/kongponents517.es.js +10 -25
  681. package/dist/kongponents518.cjs +1 -1
  682. package/dist/kongponents518.es.js +7 -22
  683. package/dist/kongponents519.cjs +1 -1
  684. package/dist/kongponents519.es.js +6 -31
  685. package/dist/kongponents520.cjs +1 -1
  686. package/dist/kongponents520.es.js +2 -16
  687. package/dist/kongponents521.cjs +1 -1
  688. package/dist/kongponents521.es.js +2 -66
  689. package/dist/kongponents522.cjs +1 -1
  690. package/dist/kongponents522.es.js +19 -2
  691. package/dist/kongponents523.cjs +1 -1
  692. package/dist/kongponents523.es.js +2 -2
  693. package/dist/kongponents524.cjs +1 -1
  694. package/dist/kongponents524.es.js +22 -2
  695. package/dist/kongponents525.cjs +1 -1
  696. package/dist/kongponents525.es.js +2 -2
  697. package/dist/kongponents526.cjs +1 -1
  698. package/dist/kongponents526.es.js +16 -2
  699. package/dist/kongponents527.cjs +1 -1
  700. package/dist/kongponents527.es.js +2 -30
  701. package/dist/kongponents528.cjs +1 -1
  702. package/dist/kongponents528.es.js +23 -2
  703. package/dist/kongponents529.cjs +1 -1
  704. package/dist/kongponents529.es.js +22 -3
  705. package/dist/kongponents530.cjs +1 -1
  706. package/dist/kongponents530.es.js +25 -3
  707. package/dist/kongponents531.cjs +1 -1
  708. package/dist/kongponents531.es.js +22 -3
  709. package/dist/kongponents532.cjs +1 -1
  710. package/dist/kongponents532.es.js +31 -9
  711. package/dist/kongponents533.cjs +1 -1
  712. package/dist/kongponents533.es.js +15 -5
  713. package/dist/kongponents534.cjs +1 -1
  714. package/dist/kongponents534.es.js +65 -4
  715. package/dist/kongponents535.cjs +1 -1
  716. package/dist/kongponents535.es.js +2 -6
  717. package/dist/kongponents536.cjs +1 -1
  718. package/dist/kongponents536.es.js +2 -3
  719. package/dist/kongponents537.cjs +1 -1
  720. package/dist/kongponents537.es.js +2 -5
  721. package/dist/kongponents538.cjs +1 -1
  722. package/dist/kongponents538.es.js +2 -5
  723. package/dist/kongponents539.cjs +1 -1
  724. package/dist/kongponents539.es.js +2 -11
  725. package/dist/kongponents540.cjs +1 -1
  726. package/dist/kongponents540.es.js +29 -6
  727. package/dist/kongponents541.cjs +1 -1
  728. package/dist/kongponents541.es.js +2 -7
  729. package/dist/kongponents542.cjs +1 -1
  730. package/dist/kongponents542.es.js +2 -3
  731. package/dist/kongponents543.cjs +1 -1
  732. package/dist/kongponents543.es.js +7 -6
  733. package/dist/kongponents544.cjs +1 -1
  734. package/dist/kongponents544.es.js +3 -15
  735. package/dist/kongponents545.cjs +1 -1
  736. package/dist/kongponents545.es.js +5 -27
  737. package/dist/kongponents546.cjs +1 -1
  738. package/dist/kongponents546.es.js +13 -14
  739. package/dist/kongponents547.cjs +1 -1
  740. package/dist/kongponents547.es.js +28 -11
  741. package/dist/kongponents548.cjs +1 -1
  742. package/dist/kongponents548.es.js +16 -2
  743. package/dist/kongponents549.cjs +1 -1
  744. package/dist/kongponents549.es.js +12 -2
  745. package/dist/kongponents551.es.js +2 -2
  746. package/dist/kongponents553.cjs +1 -1
  747. package/dist/kongponents553.es.js +2 -21
  748. package/dist/kongponents554.cjs +1 -1
  749. package/dist/kongponents554.es.js +2 -24
  750. package/dist/kongponents555.cjs +1 -1
  751. package/dist/kongponents555.es.js +21 -2
  752. package/dist/kongponents556.cjs +1 -1
  753. package/dist/kongponents556.es.js +24 -2
  754. package/dist/kongponents557.cjs +1 -1
  755. package/dist/kongponents557.es.js +2 -27
  756. package/dist/kongponents558.cjs +1 -1
  757. package/dist/kongponents558.es.js +2 -27
  758. package/dist/kongponents559.cjs +1 -1
  759. package/dist/kongponents559.es.js +27 -2
  760. package/dist/kongponents560.cjs +1 -1
  761. package/dist/kongponents560.es.js +27 -2
  762. package/dist/kongponents561.es.js +2 -2
  763. package/dist/kongponents563.cjs +1 -1
  764. package/dist/kongponents563.es.js +2 -77
  765. package/dist/kongponents564.cjs +1 -1
  766. package/dist/kongponents564.es.js +2 -43
  767. package/dist/kongponents565.cjs +1 -1
  768. package/dist/kongponents565.es.js +75 -19
  769. package/dist/kongponents566.cjs +1 -1
  770. package/dist/kongponents566.es.js +37 -127
  771. package/dist/kongponents567.cjs +1 -1
  772. package/dist/kongponents567.es.js +17 -94
  773. package/dist/kongponents568.cjs +1 -1
  774. package/dist/kongponents568.es.js +132 -7
  775. package/dist/kongponents569.cjs +1 -1
  776. package/dist/kongponents569.es.js +98 -3
  777. package/dist/kongponents573.es.js +2 -2
  778. package/dist/kongponents574.es.js +2 -2
  779. package/dist/kongponents575.cjs +1 -1
  780. package/dist/kongponents575.es.js +2 -17
  781. package/dist/kongponents576.cjs +1 -1
  782. package/dist/kongponents576.es.js +17 -2
  783. package/dist/kongponents578.cjs +1 -1
  784. package/dist/kongponents578.es.js +2 -25
  785. package/dist/kongponents579.cjs +1 -1
  786. package/dist/kongponents579.es.js +25 -2
  787. package/dist/kongponents580.cjs +1 -1
  788. package/dist/kongponents580.es.js +2 -39
  789. package/dist/kongponents581.cjs +1 -1
  790. package/dist/kongponents581.es.js +33 -20
  791. package/dist/kongponents582.cjs +1 -1
  792. package/dist/kongponents582.es.js +26 -2
  793. package/dist/kongponents80.cjs +1 -1
  794. package/dist/kongponents80.es.js +1 -1
  795. package/dist/kongponents83.cjs +1 -1
  796. package/dist/kongponents83.es.js +1 -1
  797. package/dist/kongponents85.cjs +1 -1
  798. package/dist/kongponents85.es.js +1 -1
  799. package/dist/kongponents91.cjs +1 -1
  800. package/dist/kongponents91.es.js +1 -1
  801. package/dist/kongponents95.cjs +1 -1
  802. package/dist/kongponents95.es.js +1 -1
  803. package/dist/kongponents97.cjs +1 -1
  804. package/dist/kongponents97.es.js +7 -7
  805. package/package.json +42 -43
  806. package/dist/kongponents206.cjs +0 -1
  807. package/dist/kongponents206.es.js +0 -54
  808. package/dist/kongponents232.cjs +0 -1
  809. package/dist/kongponents232.es.js +0 -184
  810. package/dist/kongponents237.cjs +0 -1
  811. package/dist/kongponents237.es.js +0 -8
  812. package/dist/kongponents239.cjs +0 -1
  813. package/dist/kongponents239.es.js +0 -7
  814. package/dist/kongponents241.cjs +0 -1
  815. package/dist/kongponents241.es.js +0 -6
  816. package/dist/kongponents243.cjs +0 -1
  817. package/dist/kongponents243.es.js +0 -8
  818. package/dist/kongponents245.cjs +0 -1
  819. package/dist/kongponents245.es.js +0 -8
  820. package/dist/kongponents247.cjs +0 -1
  821. package/dist/kongponents247.es.js +0 -19
  822. package/dist/kongponents249.cjs +0 -1
  823. package/dist/kongponents249.es.js +0 -10
  824. package/dist/kongponents251.cjs +0 -1
  825. package/dist/kongponents251.es.js +0 -6
  826. package/dist/kongponents301.cjs +0 -1
  827. package/dist/kongponents301.es.js +0 -7
  828. package/dist/kongponents306.cjs +0 -1
  829. package/dist/kongponents306.es.js +0 -7
  830. package/dist/kongponents309.cjs +0 -1
  831. package/dist/kongponents309.es.js +0 -20
  832. package/dist/kongponents311.cjs +0 -1
  833. package/dist/kongponents311.es.js +0 -8
  834. /package/dist/{kongponents223.cjs → kongponents224.cjs} +0 -0
  835. /package/dist/{kongponents223.es.js → kongponents224.es.js} +0 -0
  836. /package/dist/{kongponents225.cjs → kongponents226.cjs} +0 -0
  837. /package/dist/{kongponents225.es.js → kongponents226.es.js} +0 -0
  838. /package/dist/{kongponents229.cjs → kongponents230.cjs} +0 -0
  839. /package/dist/{kongponents229.es.js → kongponents230.es.js} +0 -0
  840. /package/dist/{kongponents231.cjs → kongponents233.cjs} +0 -0
  841. /package/dist/{kongponents231.es.js → kongponents233.es.js} +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./kongponents586.cjs");var i;function s(){return i||(i=1,(function(o,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=d;function d(e){return function(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=a.match(e.matchPattern);if(!c)return null;var v=c[0],l=a.match(e.parsePattern);if(!l)return null;var t=e.valueCallback?e.valueCallback(l[0]):l[0];t=n.valueCallback?n.valueCallback(t):t;var m=a.slice(v.length);return{value:t,rest:m}}}o.exports=u.default})(r.__module,r.__module.exports)),r.__module.exports}exports.__require=s;
@@ -1,4 +1,28 @@
1
- var e = { exports: {} };
1
+ import { __module as a } from "./kongponents586.es.js";
2
+ var i;
3
+ function s() {
4
+ return i ? a.exports : (i = 1, (function(o, r) {
5
+ Object.defineProperty(r, "__esModule", {
6
+ value: !0
7
+ }), r.default = v;
8
+ function v(e) {
9
+ return function(u) {
10
+ var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, c = u.match(e.matchPattern);
11
+ if (!c) return null;
12
+ var d = c[0], n = u.match(e.parsePattern);
13
+ if (!n) return null;
14
+ var t = e.valueCallback ? e.valueCallback(n[0]) : n[0];
15
+ t = l.valueCallback ? l.valueCallback(t) : t;
16
+ var f = u.slice(d.length);
17
+ return {
18
+ value: t,
19
+ rest: f
20
+ };
21
+ };
22
+ }
23
+ o.exports = r.default;
24
+ })(a, a.exports), a.exports);
25
+ }
2
26
  export {
3
- e as __module
27
+ s as __require
4
28
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("./kongponents6.cjs");require("./kongponents7.cjs");require("./kongponents12.cjs");const s=require("@kong/icons"),l=require("./kongponents182.cjs"),d={key:0,class:"alert-icon-container"},m={class:"alert-content"},p={key:0,class:"alert-title"},k={key:1,class:"alert-message"},f=e.defineComponent({__name:"KAlert",props:{title:{default:""},message:{default:""},appearance:{default:()=>o.AlertAppearances.info},showIcon:{type:Boolean},dismissible:{type:Boolean}},emits:["dismiss"],setup(t,{emit:c}){const a=c,u=e.computed(()=>{switch(t.appearance){case o.AlertAppearances.info:return s.InfoIcon;case o.AlertAppearances.success:return s.CheckCircleIcon;case o.AlertAppearances.warning:return s.WarningIcon;case o.AlertAppearances.danger:return s.DangerIcon;case o.AlertAppearances.decorative:return s.RocketIcon;default:return s.InfoIcon}});return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-alert",[t.appearance]])},[t.showIcon||r.$slots.icon?(e.openBlock(),e.createElementBlock("div",d,[e.renderSlot(r.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value),{class:"alert-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(l.KUI_ICON_SIZE_40)})`},null,8,["size"]))])])):e.createCommentVNode("",!0),e.createElementVNode("div",m,[t.title?(e.openBlock(),e.createElementBlock("span",p,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),t.message||r.$slots.default?(e.openBlock(),e.createElementBlock("div",k,[e.renderSlot(r.$slots,"default",{},()=>[e.createElementVNode("p",null,e.toDisplayString(t.message),1)])])):e.createCommentVNode("",!0)]),t.dismissible?(e.openBlock(),e.createBlock(e.unref(s.CloseIcon),{key:1,class:"alert-dismiss-icon",size:`var(--kui-icon-size-40, ${e.unref(l.KUI_ICON_SIZE_40)})`,tabindex:"0",onClick:n[0]||(n[0]=i=>a("dismiss")),onKeydown:n[1]||(n[1]=e.withKeys(e.withModifiers(()=>{},["prevent"]),["space"])),onKeyup:[n[2]||(n[2]=e.withKeys(i=>a("dismiss"),["enter"])),n[3]||(n[3]=e.withKeys(i=>a("dismiss"),["space"]))]},null,8,["size"])):e.createCommentVNode("",!0)],2))}});exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("./kongponents6.cjs");require("./kongponents7.cjs");require("./kongponents12.cjs");const s=require("@kong/icons"),l=require("./kongponents185.cjs"),d={key:0,class:"alert-icon-container"},m={class:"alert-content"},p={key:0,class:"alert-title"},k={key:1,class:"alert-message"},f=e.defineComponent({__name:"KAlert",props:{title:{default:""},message:{default:""},appearance:{default:()=>o.AlertAppearances.info},showIcon:{type:Boolean},dismissible:{type:Boolean}},emits:["dismiss"],setup(t,{emit:c}){const a=c,u=e.computed(()=>{switch(t.appearance){case o.AlertAppearances.info:return s.InfoIcon;case o.AlertAppearances.success:return s.CheckCircleIcon;case o.AlertAppearances.warning:return s.WarningIcon;case o.AlertAppearances.danger:return s.DangerIcon;case o.AlertAppearances.decorative:return s.RocketIcon;default:return s.InfoIcon}});return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-alert",[t.appearance]])},[t.showIcon||r.$slots.icon?(e.openBlock(),e.createElementBlock("div",d,[e.renderSlot(r.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value),{class:"alert-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(l.KUI_ICON_SIZE_40)})`},null,8,["size"]))])])):e.createCommentVNode("",!0),e.createElementVNode("div",m,[t.title?(e.openBlock(),e.createElementBlock("span",p,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),t.message||r.$slots.default?(e.openBlock(),e.createElementBlock("div",k,[e.renderSlot(r.$slots,"default",{},()=>[e.createElementVNode("p",null,e.toDisplayString(t.message),1)])])):e.createCommentVNode("",!0)]),t.dismissible?(e.openBlock(),e.createBlock(e.unref(s.CloseIcon),{key:1,class:"alert-dismiss-icon",size:`var(--kui-icon-size-40, ${e.unref(l.KUI_ICON_SIZE_40)})`,tabindex:"0",onClick:n[0]||(n[0]=i=>a("dismiss")),onKeydown:n[1]||(n[1]=e.withKeys(e.withModifiers(()=>{},["prevent"]),["space"])),onKeyup:[n[2]||(n[2]=e.withKeys(i=>a("dismiss"),["enter"])),n[3]||(n[3]=e.withKeys(i=>a("dismiss"),["space"]))]},null,8,["size"])):e.createCommentVNode("",!0)],2))}});exports.default=f;
@@ -3,7 +3,7 @@ import { AlertAppearances as n } from "./kongponents6.es.js";
3
3
  import "./kongponents7.es.js";
4
4
  import "./kongponents12.es.js";
5
5
  import { InfoIcon as v, RocketIcon as B, DangerIcon as K, WarningIcon as A, CheckCircleIcon as b, CloseIcon as h } from "@kong/icons";
6
- import { KUI_ICON_SIZE_40 as k } from "./kongponents182.es.js";
6
+ import { KUI_ICON_SIZE_40 as k } from "./kongponents185.es.js";
7
7
  const D = {
8
8
  key: 0,
9
9
  class: "alert-icon-container"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("./kongponents30.cjs");;/* empty css */const s=require("./kongponents7.cjs");require("./kongponents12.cjs");const c=require("./kongponents185.cjs"),f=["tabindex"],m=e.defineComponent({__name:"KBadge",props:{appearance:{default:"info"},size:{default:"medium"},tooltip:{default:""},truncationTooltip:{type:Boolean,default:!1},maxWidth:{default:"200px"},iconBefore:{type:Boolean,default:!0},tooltipAttributes:{default:()=>({})}},setup(t){e.useCssVars(o=>({v6b696ed4:l.value}));const r=e.computed(()=>Object.keys(s.BadgeMethodAppearances).includes(t.appearance)),a=e.ref(),n=e.ref(!1),l=e.computed(()=>c.normalizeSize(t.maxWidth)),u=async()=>{a.value&&(await e.nextTick(),n.value=a.value?.offsetWidth<a.value?.scrollWidth)},i=e.computed(()=>t.tooltip?t.truncationTooltip?n.value:!0:!1);return e.onMounted(()=>{u()}),(o,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-badge",[t.appearance,t.size,{method:r.value}]])},[e.createVNode(d.default,e.mergeProps({text:i.value?t.tooltip:void 0},t.tooltipAttributes),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["badge-content",{"icon-after":!t.iconBefore}]),tabindex:i.value?0:void 0},[o.$slots.icon?e.renderSlot(o.$slots,"icon",{},void 0,!0,0):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"badgeTextElement",ref:a,class:"badge-content-wrapper"},[e.renderSlot(o.$slots,"default",{},void 0,!0)],512)],10,f)]),_:3},16,["text"])],2))}});exports.default=m;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("./kongponents30.cjs");;/* empty css */const s=require("./kongponents7.cjs");require("./kongponents12.cjs");const c=require("./kongponents182.cjs"),f=["tabindex"],m=e.defineComponent({__name:"KBadge",props:{appearance:{default:"info"},size:{default:"medium"},tooltip:{default:""},truncationTooltip:{type:Boolean,default:!1},maxWidth:{default:"200px"},iconBefore:{type:Boolean,default:!0},tooltipAttributes:{default:()=>({})}},setup(t){e.useCssVars(o=>({v6b696ed4:l.value}));const r=e.computed(()=>Object.keys(s.BadgeMethodAppearances).includes(t.appearance)),a=e.ref(),n=e.ref(!1),l=e.computed(()=>c.normalizeSize(t.maxWidth)),u=async()=>{a.value&&(await e.nextTick(),n.value=a.value?.offsetWidth<a.value?.scrollWidth)},i=e.computed(()=>t.tooltip?t.truncationTooltip?n.value:!0:!1);return e.onMounted(()=>{u()}),(o,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-badge",[t.appearance,t.size,{method:r.value}]])},[e.createVNode(d.default,e.mergeProps({text:i.value?t.tooltip:void 0},t.tooltipAttributes),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["badge-content",{"icon-after":!t.iconBefore}]),tabindex:i.value?0:void 0},[o.$slots.icon?e.renderSlot(o.$slots,"icon",{},void 0,!0,0):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"badgeTextElement",ref:a,class:"badge-content-wrapper"},[e.renderSlot(o.$slots,"default",{},void 0,!0)],512)],10,f)]),_:3},16,["text"])],2))}});exports.default=m;
@@ -3,7 +3,7 @@ import y from "./kongponents30.es.js";
3
3
  /* empty css */
4
4
  import { BadgeMethodAppearances as z } from "./kongponents7.es.js";
5
5
  import "./kongponents12.es.js";
6
- import { normalizeSize as C } from "./kongponents185.es.js";
6
+ import { normalizeSize as C } from "./kongponents182.es.js";
7
7
  const W = ["tabindex"], S = /* @__PURE__ */ m({
8
8
  __name: "KBadge",
9
9
  props: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("./kongponents185.cjs"),u={key:0,class:"breadcrumbs-icon-container"},d={class:"breadcrumbs-divider"},i=e.defineComponent({inheritAttrs:!1,__name:"KBreadcrumbs",props:{items:{},itemMaxWidth:{default:"100px"}},setup(l){const a=t=>{const o=t.title||t.text;return t.to?typeof t.to=="object"?{type:"router-link",attrs:{title:o,to:t.to}}:{type:"a",attrs:{href:t.to,title:o}}:{type:"div",attrs:{title:o}}},s=(t,o)=>t.key||`breadcrumb-${o}`;return(t,o)=>(e.openBlock(),e.createElementBlock("ul",e.mergeProps({class:"k-breadcrumbs"},t.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(r,n)=>(e.openBlock(),e.createElementBlock("li",{key:s(r,n),class:"breadcrumbs-item-container"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(r).type),e.mergeProps({ref_for:!0},a(r).attrs,{class:["breadcrumbs-item",{link:!!r.to}]}),{default:e.withCtx(()=>[t.$slots[`icon-${s(r,n)}`]?(e.openBlock(),e.createElementBlock("span",u,[e.renderSlot(t.$slots,`icon-${s(r,n)}`,{},void 0,!0)])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",{key:1,class:"breadcrumbs-text",style:e.normalizeStyle({maxWidth:e.unref(c.normalizeSize)(r.maxWidth??l.itemMaxWidth)})},e.toDisplayString(r.text),5)):e.createCommentVNode("",!0)]),_:2},1040,["class"])),e.createElementVNode("span",d,[e.renderSlot(t.$slots,"divider",{},()=>[o[0]||(o[0]=e.createTextVNode(" / ",-1))],!0)])]))),128))],16))}});exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("./kongponents182.cjs"),u={key:0,class:"breadcrumbs-icon-container"},d={class:"breadcrumbs-divider"},i=e.defineComponent({inheritAttrs:!1,__name:"KBreadcrumbs",props:{items:{},itemMaxWidth:{default:"100px"}},setup(l){const a=t=>{const o=t.title||t.text;return t.to?typeof t.to=="object"?{type:"router-link",attrs:{title:o,to:t.to}}:{type:"a",attrs:{href:t.to,title:o}}:{type:"div",attrs:{title:o}}},s=(t,o)=>t.key||`breadcrumb-${o}`;return(t,o)=>(e.openBlock(),e.createElementBlock("ul",e.mergeProps({class:"k-breadcrumbs"},t.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(r,n)=>(e.openBlock(),e.createElementBlock("li",{key:s(r,n),class:"breadcrumbs-item-container"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(r).type),e.mergeProps({ref_for:!0},a(r).attrs,{class:["breadcrumbs-item",{link:!!r.to}]}),{default:e.withCtx(()=>[t.$slots[`icon-${s(r,n)}`]?(e.openBlock(),e.createElementBlock("span",u,[e.renderSlot(t.$slots,`icon-${s(r,n)}`,{},void 0,!0)])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",{key:1,class:"breadcrumbs-text",style:e.normalizeStyle({maxWidth:e.unref(c.normalizeSize)(r.maxWidth??l.itemMaxWidth)})},e.toDisplayString(r.text),5)):e.createCommentVNode("",!0)]),_:2},1040,["class"])),e.createElementVNode("span",d,[e.renderSlot(t.$slots,"divider",{},()=>[o[0]||(o[0]=e.createTextVNode(" / ",-1))],!0)])]))),128))],16))}});exports.default=i;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, openBlock as s, createElementBlock as o, mergeProps as i, Fragment as p, renderList as b, createBlock as f, resolveDynamicComponent as y, withCtx as k, renderSlot as u, createCommentVNode as d, normalizeStyle as h, unref as x, toDisplayString as $, createElementVNode as g, createTextVNode as v } from "vue";
2
- import { normalizeSize as B } from "./kongponents185.es.js";
2
+ import { normalizeSize as B } from "./kongponents182.es.js";
3
3
  const C = {
4
4
  key: 0,
5
5
  class: "breadcrumbs-icon-container"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ne=require("./kongponents187.cjs"),oe=require("./kongponents25.cjs");;/* empty css */const $=require("./kongponents51.cjs"),M=require("./kongponents38.cjs"),ie=require("./kongponents61.cjs"),re=require("./kongponents41.cjs"),ce={class:"k-catalog"},ue={key:1,class:"catalog-toolbar","data-testid":"catalog-toolbar"},se={key:3,class:"catalog-error-state","data-testid":"catalog-error-state"},de={key:4,class:"catalog-empty-state","data-testid":"catalog-empty-state"},ge=["data-tableid"],O=15,fe=e.defineComponent({__name:"KCatalog",props:{titleTag:{default:"div"},loading:{type:Boolean},cardSize:{default:"medium"},title:{default:""},truncateDescription:{type:Boolean,default:!0},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{default:""},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:"default"},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{default:""},errorStateActionMessage:{default:""},fetcher:{type:Function},initialFetcherParams:{default:null},cacheIdentifier:{default:""},fetcherCacheKey:{default:""},searchInput:{default:""},paginationNeighbors:{default:1},paginationPageSizes:{default:()=>[15,30,50,75,100]},paginationTotalItems:{default:null},disablePaginationPageJump:{type:Boolean},disablePagination:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},paginationOffset:{type:Boolean}},emits:["card-click","error-action-click","empty-state-action-click","update:catalog-preferences","state"],setup(a,{emit:V}){const{useRequest:q,useDebounce:E,useSwrvState:x}=ne.default(),s=V,F=e.useSlots(),m=e.useId(),K=()=>{const t=a.paginationPageSizes?.[0];return t||O},o=e.ref([]),y=e.ref(0),b=e.ref(""),l=e.ref(1),i=e.ref(K()),r=e.ref(null),c=e.ref([]),S=e.computed(()=>c.value[l.value-1]),d=e.ref(null),P=e.ref(!0),k=e.ref(!1),f={page:1,pageSize:i.value,query:"",offset:null},C=e.computed(()=>(g.value||a.loading||v.value)&&!a.error),R=e.computed(()=>!C.value&&o.value&&!o.value.length),L=e.computed(()=>({pageSize:i.value})),B=e.ref(!0),G=async()=>{const t=await a.fetcher({query:a.searchInput||b.value,pageSize:i.value,page:l.value,offset:r.value});if(t==null)throw new Error("KCatalog: Fetcher did not return data correctly.");return o.value=t.data,y.value=a.paginationTotalItems||t.total||t.data?.length,a.paginationOffset&&(t.pagination?.offset?(d.value=t.pagination.offset,c.value[l.value]||c.value.push(t.pagination.offset)):d.value=null,P.value=t.pagination&&"hasNextPage"in t.pagination?!!t.pagination.hasNextPage:!0),o.value.length===0&&l.value>1&&(l.value=1,c.value=[null],r.value=null),B.value=!1,t},H=()=>{const t={...f,...a.initialFetcherParams};l.value=t.page??f.page,i.value=t.pageSize??f.pageSize,b.value=t.query??f.query,a.paginationOffset&&(r.value=t.offset,c.value.push(t.offset)),k.value=!0},j=e.computed(()=>{if(!a.fetcher||!k.value)return"";let t=m;return a.cacheIdentifier&&(t=a.cacheIdentifier),a.fetcherCacheKey&&(t+=`-${a.fetcherCacheKey}`),`k-catalog_${t}`}),z=e.ref(""),{debouncedFn:Q,generateDebouncedFn:J}=E(t=>{z.value=t},350),U=J(0),{data:w,error:D,revalidate:W,isValidating:Z}=q(()=>j.value,()=>G(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:p,hasData:X,swrvState:I}=x(w,D,Z),g=e.ref(!0),N=e.computed(()=>({hasData:X.value,state:p.value})),Y=e.computed(()=>g.value?"loading":D.value?"error":"success"),_=({page:t})=>{l.value=t},ee=({pageSize:t})=>{c.value=[null],r.value=null,i.value=t,l.value=1},te=()=>{l.value++,r.value=d.value},ae=()=>{l.value--,r.value=S.value},A=t=>t.toLowerCase().replace(/[^[a-z0-9]/gi,"-"),le=e.computed(()=>{if(!a.fetcher||a.disablePagination||!o.value||!o.value.length||a.error)return!1;const t=a.paginationPageSizes?.[0]??O;return a.hidePaginationWhenOptional&&l.value===1?a.paginationOffset?!!S.value||!!d.value||o.value.length>=t:y.value>t:!0});e.watch(w,t=>{t?.length&&!o.value.length&&(o.value=t)},{deep:!0,immediate:!0}),e.watch(p,()=>{switch(p.value){case I.PENDING:g.value=!0;break;case I.VALIDATING_HAS_DATA:g.value=v.value;break;default:g.value=!1;break}},{immediate:!0}),e.watch([N,Y],t=>{s("state",{state:t?.[1],hasData:t?.[0]?.hasData})}),e.watch(()=>a.searchInput,t=>{l.value!==1&&(l.value=1),t===""?U(t):Q(t)},{immediate:!0});const v=e.ref(!1);return e.watch([z,l,i],async(t,u)=>{const n=u?.[0],h=t[0],T=t[1];h!==n&&T!==1&&(l.value=1,c.value=[null],r.value=null),k.value&&!B.value&&(v.value=!0,await W(),v.value=!1)},{deep:!0,immediate:!0}),e.watch(L,t=>{s("update:catalog-preferences",t)}),e.onMounted(()=>{H()}),(t,u)=>(e.openBlock(),e.createElementBlock("div",ce,[a.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.titleTag),{key:0,class:"catalog-title","data-testid":"catalog-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1})):e.createCommentVNode("",!0),F.toolbar?(e.openBlock(),e.createElementBlock("div",ue,[e.renderSlot(t.$slots,"toolbar",{state:N.value},void 0,!0)])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createBlock(oe.default,{key:2,"card-count":4,class:"catalog-skeleton-loader","data-testid":"catalog-skeleton-loader",type:"card"})):a.error?(e.openBlock(),e.createElementBlock("div",se,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode($.default,{"icon-variant":"error",message:a.errorStateMessage,title:a.errorStateTitle},e.createSlots({_:2},[a.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{"data-testid":A(a.errorStateActionMessage),to:a.errorStateActionRoute?a.errorStateActionRoute:void 0,onClick:u[0]||(u[0]=n=>s("error-action-click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.errorStateActionMessage),1)]),_:1},8,["data-testid","to"])]),key:"0"}:void 0]),1032,["message","title"])],!0)])):R.value?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode($.default,{"icon-variant":a.emptyStateIconVariant,message:a.emptyStateMessage,title:a.emptyStateTitle},e.createSlots({_:2},[a.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{appearance:a.searchInput?"tertiary":"primary","data-testid":A(a.emptyStateActionMessage),to:a.emptyStateActionRoute?a.emptyStateActionRoute:void 0,onClick:u[1]||(u[1]=n=>s("empty-state-action-click"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"empty-state-action-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(a.emptyStateActionMessage),1)]),_:3},8,["appearance","data-testid","to"])]),key:"0"}:void 0]),1032,["icon-variant","message","title"])],!0)])):(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(["catalog-page",`card-${a.cardSize}`]),"data-tableid":e.unref(m)},[e.renderSlot(t.$slots,"body",{data:o.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(n,h)=>(e.openBlock(),e.createBlock(re.default,{key:n.key?n.key:`catalog-${e.unref(m)}-item-${h}`,class:"catalog-item","data-testid":n.id?n.id:`catalog-item-${h}`,item:n,truncate:a.truncateDescription,onClick:T=>s("card-click",n)},{"card-title":e.withCtx(()=>[e.renderSlot(t.$slots,"card-title",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)]),"card-actions":e.withCtx(()=>[e.renderSlot(t.$slots,"card-actions",{item:n},void 0,!0)]),"card-body":e.withCtx(()=>[e.renderSlot(t.$slots,"card-body",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.description),1)],!0)]),_:2},1032,["data-testid","item","truncate","onClick"]))),128))],!0)],10,ge)),le.value?(e.openBlock(),e.createBlock(ie.default,{key:6,class:"card-pagination","current-page":l.value,"data-testid":"catalog-pagination","disable-page-jump":a.disablePaginationPageJump,"initial-page-size":i.value,neighbors:a.paginationNeighbors,offset:a.paginationOffset,"offset-next-button-disabled":!d.value||!P.value,"offset-previous-button-disabled":!S.value,"page-sizes":a.paginationPageSizes,"total-count":y.value,onGetNextOffset:te,onGetPreviousOffset:ae,onPageChange:_,onPageSizeChange:ee},null,8,["current-page","disable-page-jump","initial-page-size","neighbors","offset","offset-next-button-disabled","offset-previous-button-disabled","page-sizes","total-count"])):e.createCommentVNode("",!0)]))}});exports.default=fe;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),ne=require("./kongponents194.cjs"),oe=require("./kongponents25.cjs");;/* empty css */const $=require("./kongponents51.cjs"),M=require("./kongponents38.cjs"),ie=require("./kongponents61.cjs"),re=require("./kongponents41.cjs"),ce={class:"k-catalog"},ue={key:1,class:"catalog-toolbar","data-testid":"catalog-toolbar"},se={key:3,class:"catalog-error-state","data-testid":"catalog-error-state"},de={key:4,class:"catalog-empty-state","data-testid":"catalog-empty-state"},ge=["data-tableid"],O=15,fe=e.defineComponent({__name:"KCatalog",props:{titleTag:{default:"div"},loading:{type:Boolean},cardSize:{default:"medium"},title:{default:""},truncateDescription:{type:Boolean,default:!0},emptyStateTitle:{default:"No Data"},emptyStateMessage:{default:"There is no data to display."},emptyStateActionRoute:{default:""},emptyStateActionMessage:{default:""},emptyStateIconVariant:{default:"default"},error:{type:Boolean},errorStateTitle:{default:"An error occurred"},errorStateMessage:{default:"Data cannot be displayed due to an error."},errorStateActionRoute:{default:""},errorStateActionMessage:{default:""},fetcher:{type:Function},initialFetcherParams:{default:null},cacheIdentifier:{default:""},fetcherCacheKey:{default:""},searchInput:{default:""},paginationNeighbors:{default:1},paginationPageSizes:{default:()=>[15,30,50,75,100]},paginationTotalItems:{default:null},disablePaginationPageJump:{type:Boolean},disablePagination:{type:Boolean},hidePaginationWhenOptional:{type:Boolean},paginationOffset:{type:Boolean}},emits:["card-click","error-action-click","empty-state-action-click","update:catalog-preferences","state"],setup(a,{emit:V}){const{useRequest:q,useDebounce:E,useSwrvState:x}=ne.default(),s=V,F=e.useSlots(),m=e.useId(),K=()=>{const t=a.paginationPageSizes?.[0];return t||O},o=e.ref([]),y=e.ref(0),b=e.ref(""),l=e.ref(1),i=e.ref(K()),r=e.ref(null),c=e.ref([]),S=e.computed(()=>c.value[l.value-1]),d=e.ref(null),P=e.ref(!0),k=e.ref(!1),f={page:1,pageSize:i.value,query:"",offset:null},C=e.computed(()=>(g.value||a.loading||v.value)&&!a.error),R=e.computed(()=>!C.value&&o.value&&!o.value.length),L=e.computed(()=>({pageSize:i.value})),B=e.ref(!0),G=async()=>{const t=await a.fetcher({query:a.searchInput||b.value,pageSize:i.value,page:l.value,offset:r.value});if(t==null)throw new Error("KCatalog: Fetcher did not return data correctly.");return o.value=t.data,y.value=a.paginationTotalItems||t.total||t.data?.length,a.paginationOffset&&(t.pagination?.offset?(d.value=t.pagination.offset,c.value[l.value]||c.value.push(t.pagination.offset)):d.value=null,P.value=t.pagination&&"hasNextPage"in t.pagination?!!t.pagination.hasNextPage:!0),o.value.length===0&&l.value>1&&(l.value=1,c.value=[null],r.value=null),B.value=!1,t},H=()=>{const t={...f,...a.initialFetcherParams};l.value=t.page??f.page,i.value=t.pageSize??f.pageSize,b.value=t.query??f.query,a.paginationOffset&&(r.value=t.offset,c.value.push(t.offset)),k.value=!0},j=e.computed(()=>{if(!a.fetcher||!k.value)return"";let t=m;return a.cacheIdentifier&&(t=a.cacheIdentifier),a.fetcherCacheKey&&(t+=`-${a.fetcherCacheKey}`),`k-catalog_${t}`}),z=e.ref(""),{debouncedFn:Q,generateDebouncedFn:J}=E(t=>{z.value=t},350),U=J(0),{data:w,error:D,revalidate:W,isValidating:Z}=q(()=>j.value,()=>G(),{revalidateOnFocus:!1,revalidateDebounce:0}),{state:p,hasData:X,swrvState:I}=x(w,D,Z),g=e.ref(!0),N=e.computed(()=>({hasData:X.value,state:p.value})),Y=e.computed(()=>g.value?"loading":D.value?"error":"success"),_=({page:t})=>{l.value=t},ee=({pageSize:t})=>{c.value=[null],r.value=null,i.value=t,l.value=1},te=()=>{l.value++,r.value=d.value},ae=()=>{l.value--,r.value=S.value},A=t=>t.toLowerCase().replace(/[^[a-z0-9]/gi,"-"),le=e.computed(()=>{if(!a.fetcher||a.disablePagination||!o.value||!o.value.length||a.error)return!1;const t=a.paginationPageSizes?.[0]??O;return a.hidePaginationWhenOptional&&l.value===1?a.paginationOffset?!!S.value||!!d.value||o.value.length>=t:y.value>t:!0});e.watch(w,t=>{t?.length&&!o.value.length&&(o.value=t)},{deep:!0,immediate:!0}),e.watch(p,()=>{switch(p.value){case I.PENDING:g.value=!0;break;case I.VALIDATING_HAS_DATA:g.value=v.value;break;default:g.value=!1;break}},{immediate:!0}),e.watch([N,Y],t=>{s("state",{state:t?.[1],hasData:t?.[0]?.hasData})}),e.watch(()=>a.searchInput,t=>{l.value!==1&&(l.value=1),t===""?U(t):Q(t)},{immediate:!0});const v=e.ref(!1);return e.watch([z,l,i],async(t,u)=>{const n=u?.[0],h=t[0],T=t[1];h!==n&&T!==1&&(l.value=1,c.value=[null],r.value=null),k.value&&!B.value&&(v.value=!0,await W(),v.value=!1)},{deep:!0,immediate:!0}),e.watch(L,t=>{s("update:catalog-preferences",t)}),e.onMounted(()=>{H()}),(t,u)=>(e.openBlock(),e.createElementBlock("div",ce,[a.title?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.titleTag),{key:0,class:"catalog-title","data-testid":"catalog-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1})):e.createCommentVNode("",!0),F.toolbar?(e.openBlock(),e.createElementBlock("div",ue,[e.renderSlot(t.$slots,"toolbar",{state:N.value},void 0,!0)])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createBlock(oe.default,{key:2,"card-count":4,class:"catalog-skeleton-loader","data-testid":"catalog-skeleton-loader",type:"card"})):a.error?(e.openBlock(),e.createElementBlock("div",se,[e.renderSlot(t.$slots,"error-state",{},()=>[e.createVNode($.default,{"icon-variant":"error",message:a.errorStateMessage,title:a.errorStateTitle},e.createSlots({_:2},[a.errorStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{"data-testid":A(a.errorStateActionMessage),to:a.errorStateActionRoute?a.errorStateActionRoute:void 0,onClick:u[0]||(u[0]=n=>s("error-action-click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.errorStateActionMessage),1)]),_:1},8,["data-testid","to"])]),key:"0"}:void 0]),1032,["message","title"])],!0)])):R.value?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(t.$slots,"empty-state",{},()=>[e.createVNode($.default,{"icon-variant":a.emptyStateIconVariant,message:a.emptyStateMessage,title:a.emptyStateTitle},e.createSlots({_:2},[a.emptyStateActionMessage?{name:"action",fn:e.withCtx(()=>[e.createVNode(M.default,{appearance:a.searchInput?"tertiary":"primary","data-testid":A(a.emptyStateActionMessage),to:a.emptyStateActionRoute?a.emptyStateActionRoute:void 0,onClick:u[1]||(u[1]=n=>s("empty-state-action-click"))},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"empty-state-action-icon",{},void 0,!0),e.createTextVNode(" "+e.toDisplayString(a.emptyStateActionMessage),1)]),_:3},8,["appearance","data-testid","to"])]),key:"0"}:void 0]),1032,["icon-variant","message","title"])],!0)])):(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(["catalog-page",`card-${a.cardSize}`]),"data-tableid":e.unref(m)},[e.renderSlot(t.$slots,"body",{data:o.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(n,h)=>(e.openBlock(),e.createBlock(re.default,{key:n.key?n.key:`catalog-${e.unref(m)}-item-${h}`,class:"catalog-item","data-testid":n.id?n.id:`catalog-item-${h}`,item:n,truncate:a.truncateDescription,onClick:T=>s("card-click",n)},{"card-title":e.withCtx(()=>[e.renderSlot(t.$slots,"card-title",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.title),1)],!0)]),"card-actions":e.withCtx(()=>[e.renderSlot(t.$slots,"card-actions",{item:n},void 0,!0)]),"card-body":e.withCtx(()=>[e.renderSlot(t.$slots,"card-body",{item:n},()=>[e.createTextVNode(e.toDisplayString(n.description),1)],!0)]),_:2},1032,["data-testid","item","truncate","onClick"]))),128))],!0)],10,ge)),le.value?(e.openBlock(),e.createBlock(ie.default,{key:6,class:"card-pagination","current-page":l.value,"data-testid":"catalog-pagination","disable-page-jump":a.disablePaginationPageJump,"initial-page-size":i.value,neighbors:a.paginationNeighbors,offset:a.paginationOffset,"offset-next-button-disabled":!d.value||!P.value,"offset-previous-button-disabled":!S.value,"page-sizes":a.paginationPageSizes,"total-count":y.value,onGetNextOffset:te,onGetPreviousOffset:ae,onPageChange:_,onPageSizeChange:ee},null,8,["current-page","disable-page-jump","initial-page-size","neighbors","offset","offset-next-button-disabled","offset-previous-button-disabled","page-sizes","total-count"])):e.createCommentVNode("",!0)]))}});exports.default=fe;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ye, useSlots as Se, useId as be, ref as i, computed as s, watch as v, onMounted as pe, openBlock as o, createElementBlock as m, createBlock as I, resolveDynamicComponent as ke, withCtx as r, createTextVNode as b, toDisplayString as p, createCommentVNode as T, renderSlot as u, createVNode as A, createSlots as H, unref as x, normalizeClass as Pe, Fragment as ze, renderList as Ie } from "vue";
2
- import Ae from "./kongponents187.es.js";
2
+ import Ae from "./kongponents194.es.js";
3
3
  import Ce from "./kongponents25.es.js";
4
4
  /* empty css */
5
5
  import Q from "./kongponents51.es.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./kongponents57.cjs"),d=require("@kong/icons"),u=require("./kongponents182.cjs"),C=["id","aria-checked"],S={class:"checkbox-label-wrapper"},V={key:1,class:"checkbox-description"},x=e.defineComponent({inheritAttrs:!1,__name:"KCheckbox",props:{modelValue:{type:Boolean},label:{default:""},labelAttributes:{default:()=>({})},description:{default:""},error:{type:Boolean,default:!1}},emits:["change","input","update:modelValue"],setup(o,{emit:m}){const a=m,i=e.useSlots(),l=e.useAttrs(),h=e.useId(),r=e.computed(()=>l.id?String(l.id):h),n=()=>!!(o.label||i.default),k=e.computed(()=>l?.disabled!==void 0&&String(l?.disabled)!=="false"),s=()=>n()&&(!!o.description||!!i.description),b=()=>!!i.tooltip,c=e.computed(()=>{const t={...l};return delete t.class,t.checked=o.modelValue,t.indeterminate!==void 0&&String(t.indeterminate)!=="false"&&!o.modelValue?(delete t.checked,t.indeterminate=!0):delete t.indeterminate,t}),p=()=>({disabled:k.value,"has-description":s(),"input-error":o.error}),f=e.computed(()=>c.value.indeterminate!==void 0&&String(c.value.indeterminate)!=="false");e.watch(()=>o.labelAttributes,t=>{t.help&&console.warn("KCheckbox: `help` property of `labelAttributes` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel")},{immediate:!0});const g=t=>{a("change",t.target.checked),a("input",t.target.checked),a("update:modelValue",t.target.checked)};return(t,I)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-checkbox",[t.$attrs.class,p()]])},[e.createElementVNode("div",{class:e.normalizeClass(["checkbox-input-wrapper",{"has-label":n()}])},[e.createElementVNode("input",e.mergeProps({id:r.value},c.value,{"aria-checked":o.modelValue,class:"checkbox-input",type:"checkbox",onChange:g}),null,16,C),o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.CheckSmallIcon),{key:0,class:"checkbox-icon","data-testid":"check-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0),f.value&&!o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.IndeterminateSmallIcon),{key:1,class:"checkbox-icon","data-testid":"indeterminate-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",S,[n()?(e.openBlock(),e.createBlock(v.default,e.mergeProps({key:0},o.labelAttributes,{class:"checkbox-label",for:r.value}),e.createSlots({default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.label),1)],!0)]),_:2},[b()?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for"])):e.createCommentVNode("",!0),s()?(e.openBlock(),e.createElementBlock("div",V,[e.renderSlot(t.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(o.description),1)],!0)])):e.createCommentVNode("",!0)])],2))}});exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("./kongponents57.cjs"),d=require("@kong/icons"),u=require("./kongponents185.cjs"),C=["id","aria-checked"],S={class:"checkbox-label-wrapper"},V={key:1,class:"checkbox-description"},x=e.defineComponent({inheritAttrs:!1,__name:"KCheckbox",props:{modelValue:{type:Boolean},label:{default:""},labelAttributes:{default:()=>({})},description:{default:""},error:{type:Boolean,default:!1}},emits:["change","input","update:modelValue"],setup(o,{emit:m}){const a=m,i=e.useSlots(),l=e.useAttrs(),h=e.useId(),r=e.computed(()=>l.id?String(l.id):h),n=()=>!!(o.label||i.default),k=e.computed(()=>l?.disabled!==void 0&&String(l?.disabled)!=="false"),s=()=>n()&&(!!o.description||!!i.description),b=()=>!!i.tooltip,c=e.computed(()=>{const t={...l};return delete t.class,t.checked=o.modelValue,t.indeterminate!==void 0&&String(t.indeterminate)!=="false"&&!o.modelValue?(delete t.checked,t.indeterminate=!0):delete t.indeterminate,t}),p=()=>({disabled:k.value,"has-description":s(),"input-error":o.error}),f=e.computed(()=>c.value.indeterminate!==void 0&&String(c.value.indeterminate)!=="false");e.watch(()=>o.labelAttributes,t=>{t.help&&console.warn("KCheckbox: `help` property of `labelAttributes` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel")},{immediate:!0});const g=t=>{a("change",t.target.checked),a("input",t.target.checked),a("update:modelValue",t.target.checked)};return(t,I)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["k-checkbox",[t.$attrs.class,p()]])},[e.createElementVNode("div",{class:e.normalizeClass(["checkbox-input-wrapper",{"has-label":n()}])},[e.createElementVNode("input",e.mergeProps({id:r.value},c.value,{"aria-checked":o.modelValue,class:"checkbox-input",type:"checkbox",onChange:g}),null,16,C),o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.CheckSmallIcon),{key:0,class:"checkbox-icon","data-testid":"check-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0),f.value&&!o.modelValue?(e.openBlock(),e.createBlock(e.unref(d.IndeterminateSmallIcon),{key:1,class:"checkbox-icon","data-testid":"indeterminate-icon",decorative:"",size:`var(--kui-icon-size-40, ${e.unref(u.KUI_ICON_SIZE_40)})`,tabindex:"-1"},null,8,["size"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",S,[n()?(e.openBlock(),e.createBlock(v.default,e.mergeProps({key:0},o.labelAttributes,{class:"checkbox-label",for:r.value}),e.createSlots({default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.label),1)],!0)]),_:2},[b()?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{},void 0,!0)]),key:"0"}:void 0]),1040,["for"])):e.createCommentVNode("",!0),s()?(e.openBlock(),e.createElementBlock("div",V,[e.renderSlot(t.$slots,"description",{},()=>[e.createElementVNode("p",null,e.toDisplayString(o.description),1)],!0)])):e.createCommentVNode("",!0)])],2))}});exports.default=x;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as w, useSlots as B, useAttrs as K, useId as N, computed as l, watch as D, openBlock as a, createElementBlock as p, normalizeClass as f, createElementVNode as o, mergeProps as g, createBlock as m, unref as n, createCommentVNode as s, createSlots as E, withCtx as v, renderSlot as h, createTextVNode as L, toDisplayString as x } from "vue";
2
2
  import P from "./kongponents57.es.js";
3
3
  import { CheckSmallIcon as T, IndeterminateSmallIcon as q } from "@kong/icons";
4
- import { KUI_ICON_SIZE_40 as C } from "./kongponents182.es.js";
4
+ import { KUI_ICON_SIZE_40 as C } from "./kongponents185.es.js";
5
5
  const O = ["id", "aria-checked"], U = { class: "checkbox-label-wrapper" }, Z = {
6
6
  key: 1,
7
7
  class: "checkbox-description"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Q=require("virtua/vue"),ie=require("./kongponents55.cjs"),ce=require("./kongponents177.cjs"),ue=require("./kongponents204.cjs"),f=require("./kongponents205.cjs"),d=require("@kong/icons"),L=require("./kongponents182.cjs"),p=require("./kongponents44.cjs"),se=require("./kongponents200.cjs"),de=require("./kongponents185.cjs"),he=require("./kongponents189.cjs"),fe=require("./kongponents206.cjs"),me=["id"],ge={key:0,class:"code-block-actions"},ve={key:0,class:"code-block-search-results-container"},be={key:0,class:"code-block-search-results"},ke={class:"code-block-search-actions"},ye={ref:"codeBlockContent",class:"code-block-content"},pe={class:"code-block-secondary-actions"},Ce=["id","href"],Ne=["innerHTML"],Le=["id","href"],we=["innerHTML"],Be=e.defineComponent({__name:"KCodeBlock",props:{id:{},code:{},copyCode:{},language:{},initialFilterMode:{type:Boolean},initialRegExpMode:{type:Boolean},searchable:{type:Boolean},highlightedLineNumbers:{default:()=>[]},processing:{type:Boolean},query:{default:""},showCopyButton:{type:[Boolean,String],default:!0},showLineNumbers:{type:Boolean,default:!0},showLineNumberLinks:{type:Boolean},singleLine:{type:Boolean},maxHeight:{default:"none"}},emits:["code-block-render","matching-lines-change","query-change","filter-mode-change","reg-exp-mode-change"],setup(o,{emit:W}){e.useCssVars(t=>({v1d5b2df3:oe.value,v1e85e052:Z.value}));const m=se.IS_MAYBE_MAC?"Option":"Alt",Y=fe.default(D,150,{leading:!0,trailing:!0});e.watch(()=>o.highlightedLineNumbers,t=>{typeof t=="string"&&f.LINE_NUMBER_EXPRESSION_REGEX.test(t)||Array.isArray(t)&&t.every(n=>Array.isArray(n)?n.length===2&&n.every(l=>typeof l=="number"):typeof n=="number")||console.warn("KCodeBlock: `highlightedLineNumbers` prop should be either a properly formatted string (e.g. '1,3-5,7'), an array of numbers or tuples of numbers.")},{immediate:!0});const k=W,x=e.useSlots(),M=e.ref(o.query),g=e.ref(!1),s=e.ref(o.initialRegExpMode),u=e.ref(o.initialFilterMode),h=e.ref(null),i=e.ref(o.query),T=e.ref(0),a=e.ref([]),c=e.ref(null),r=e.useTemplateRef("codeBlock"),w=e.useTemplateRef("codeBlockContent"),S=e.useTemplateRef("codeBlockLineNumbers"),B=e.ref(!1),E=e.ref(!1),V=e.computed(()=>new Set(a.value)),C=e.computed(()=>Array.from({length:o.code?.split(`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Q=require("virtua/vue"),ie=require("./kongponents55.cjs"),ce=require("./kongponents177.cjs"),ue=require("./kongponents183.cjs"),f=require("./kongponents184.cjs"),d=require("@kong/icons"),L=require("./kongponents185.cjs"),p=require("./kongponents44.cjs"),se=require("./kongponents186.cjs"),de=require("./kongponents182.cjs"),he=require("./kongponents187.cjs"),fe=require("./kongponents188.cjs"),me=["id"],ge={key:0,class:"code-block-actions"},ve={key:0,class:"code-block-search-results-container"},be={key:0,class:"code-block-search-results"},ke={class:"code-block-search-actions"},ye={ref:"codeBlockContent",class:"code-block-content"},pe={class:"code-block-secondary-actions"},Ce=["id","href"],Ne=["innerHTML"],Le=["id","href"],we=["innerHTML"],Be=e.defineComponent({__name:"KCodeBlock",props:{id:{},code:{},copyCode:{},language:{},initialFilterMode:{type:Boolean},initialRegExpMode:{type:Boolean},searchable:{type:Boolean},highlightedLineNumbers:{default:()=>[]},processing:{type:Boolean},query:{default:""},showCopyButton:{type:[Boolean,String],default:!0},showLineNumbers:{type:Boolean,default:!0},showLineNumberLinks:{type:Boolean},singleLine:{type:Boolean},maxHeight:{default:"none"}},emits:["code-block-render","matching-lines-change","query-change","filter-mode-change","reg-exp-mode-change"],setup(o,{emit:W}){e.useCssVars(t=>({v1d5b2df3:oe.value,v1e85e052:Z.value}));const m=se.IS_MAYBE_MAC?"Option":"Alt",Y=fe.default(D,150,{leading:!0,trailing:!0});e.watch(()=>o.highlightedLineNumbers,t=>{typeof t=="string"&&f.LINE_NUMBER_EXPRESSION_REGEX.test(t)||Array.isArray(t)&&t.every(n=>Array.isArray(n)?n.length===2&&n.every(l=>typeof l=="number"):typeof n=="number")||console.warn("KCodeBlock: `highlightedLineNumbers` prop should be either a properly formatted string (e.g. '1,3-5,7'), an array of numbers or tuples of numbers.")},{immediate:!0});const k=W,x=e.useSlots(),M=e.ref(o.query),g=e.ref(!1),s=e.ref(o.initialRegExpMode),u=e.ref(o.initialFilterMode),h=e.ref(null),i=e.ref(o.query),T=e.ref(0),a=e.ref([]),c=e.ref(null),r=e.useTemplateRef("codeBlock"),w=e.useTemplateRef("codeBlockContent"),S=e.useTemplateRef("codeBlockLineNumbers"),B=e.ref(!1),E=e.ref(!1),V=e.computed(()=>new Set(a.value)),C=e.computed(()=>Array.from({length:o.code?.split(`
2
2
  `).length},(t,n)=>n+1)),Z=e.computed(()=>C.value[C.value.length-1]?.toString().length+"ch"),I=e.computed(()=>o.processing||g.value),v=e.computed(()=>u.value&&q.value!==""),J=e.computed(()=>o.id.toLowerCase().replace(/\s+/g,"-"));function y(t){return`${J.value}-L${t}`}const _=e.computed(()=>f.buildLineOffsets(o.code)),q=e.computed(()=>{if(i.value===""||a.value.length===0)return"";const t=o.code?.split(`
3
3
  `).filter((n,l)=>V.value.has(l+1)).join(`
4
4
  `);return f.highlightMatchingChars(t,i.value,s.value)}),b=()=>!!x.actions,ee=()=>!o.singleLine&&(o.searchable||b()),te=e.computed(()=>o.singleLine?f.escapeHTMLIfNeeded(o.code).replaceAll(`
@@ -2,15 +2,15 @@ import { defineComponent as Te, useCssVars as Ie, watch as T, useSlots as Se, re
2
2
  import { Virtualizer as fe } from "virtua/vue";
3
3
  import Pe from "./kongponents55.es.js";
4
4
  import { copyTextToClipboard as He } from "./kongponents177.es.js";
5
- import { ShortcutManager as Fe } from "./kongponents204.es.js";
6
- import { LINE_NUMBER_EXPRESSION_REGEX as qe, buildLineOffsets as Ve, highlightMatchingChars as $e, escapeHTMLIfNeeded as me, normalizeHighlightedLines as De, getMatchingLineNumbers as ze } from "./kongponents205.es.js";
5
+ import { ShortcutManager as Fe } from "./kongponents183.es.js";
6
+ import { LINE_NUMBER_EXPRESSION_REGEX as qe, buildLineOffsets as Ve, highlightMatchingChars as $e, escapeHTMLIfNeeded as me, normalizeHighlightedLines as De, getMatchingLineNumbers as ze } from "./kongponents184.es.js";
7
7
  import { CloseIcon as Ue, SearchIcon as je, ProgressIcon as Oe, RegexIcon as Ke, FilterIcon as Ge, ArrowUpIcon as Xe, ArrowDownIcon as Qe, CopyIcon as We } from "@kong/icons";
8
- import { KUI_ICON_SIZE_30 as Ye, KUI_COLOR_TEXT_NEUTRAL_STRONG as Ze, KUI_LINE_HEIGHT_30 as ve } from "./kongponents182.es.js";
8
+ import { KUI_ICON_SIZE_30 as Ye, KUI_COLOR_TEXT_NEUTRAL_STRONG as Ze, KUI_LINE_HEIGHT_30 as ve } from "./kongponents185.es.js";
9
9
  import S from "./kongponents44.es.js";
10
- import { IS_MAYBE_MAC as Je } from "./kongponents200.es.js";
11
- import { normalizeSize as _e } from "./kongponents185.es.js";
12
- import { findInteractiveAncestor as et } from "./kongponents189.es.js";
13
- import tt from "./kongponents206.es.js";
10
+ import { IS_MAYBE_MAC as Je } from "./kongponents186.es.js";
11
+ import { normalizeSize as _e } from "./kongponents182.es.js";
12
+ import { findInteractiveAncestor as et } from "./kongponents187.es.js";
13
+ import tt from "./kongponents188.es.js";
14
14
  const ot = ["id"], nt = {
15
15
  key: 0,
16
16
  class: "code-block-actions"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong/kongponents",
3
- "version": "9.66.0",
3
+ "version": "9.66.1-pr.3471.85e8b4e.0",
4
4
  "description": "Kong Component library",
5
5
  "type": "module",
6
6
  "repository": {
@@ -33,43 +33,6 @@
33
33
  "./package.json": "./package.json",
34
34
  "./dist/*": "./dist/*"
35
35
  },
36
- "scripts": {
37
- "build:bin": "rimraf ./bin && pnpm build:cli && pnpm build:mcp",
38
- "build:cli": "tsc --project ./cli/tsconfig.json && chmod u+x ./bin/index.js",
39
- "build:docs": "vitepress build docs",
40
- "build:mcp": "tsx ./mcp/build.ts && tsx ./mcp/generate-snapshot.ts",
41
- "build:kongponents:umd": "BUILD_UMD=true vite build",
42
- "build:kongponents": "pnpm typecheck && vite build && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json' && pnpm build:kongponents:umd && pnpm build:nuxt",
43
- "build:nuxt": "tsc -p ./tsconfig.build.nuxt.json --outDir dist/nuxt",
44
- "build:theme-contract": "tsx ./scripts/generate-theme-contract.mjs",
45
- "build:visualize": "cross-env-shell BUILD_VISUALIZER=true vite build -m production",
46
- "build": "pnpm build:bin && pnpm stylelint && pnpm lint && pnpm build:kongponents && pnpm build:docs",
47
- "build:ci": "pnpm build:bin && pnpm build:kongponents && pnpm build:docs",
48
- "commit": "cz",
49
- "create-kongponent": "node ./bin/index.js",
50
- "sandbox:dev": "cross-env USE_SANDBOX=true vite",
51
- "sandbox:build": "cross-env USE_SANDBOX=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
52
- "sandbox:build:netlify": "cross-env USE_SANDBOX=true USE_NETLIFY=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
53
- "sandbox:preview": "cross-env USE_SANDBOX=true vite preview",
54
- "docs:build": "vitepress build docs",
55
- "docs:dev": "vitepress dev docs",
56
- "docs:serve": "vitepress serve docs",
57
- "docs:preview": "vitepress preview docs --port 8080",
58
- "mcp:inspect": "cross-env PNPM_CONFIG_TRUST_POLICY_EXCLUDE=chokidar@4.0.3 pnpm dlx @modelcontextprotocol/inspector@2.7.0 --web --cwd . node ./bin/kongponents-mcp.js",
59
- "typecheck": "vue-tsc -p './tsconfig.json' --noEmit && tsc -p './mcp/tsconfig.json' --noEmit",
60
- "lint": "eslint",
61
- "lint:fix": "eslint --fix",
62
- "stylelint": "stylelint './src/**/*.{css,scss,sass,vue}'",
63
- "stylelint:fix": "stylelint './src/**/*.{css,scss,sass,vue}' --fix",
64
- "test": "pnpm test:unit && pnpm test:mcp && pnpm test:browser",
65
- "test:mcp": "pnpm build:mcp && vitest run --project mcp",
66
- "test:unit": "vitest run --project unit",
67
- "test:unit:open": "vitest --project unit",
68
- "test:browser:install": "playwright install --with-deps chromium firefox webkit",
69
- "test:browser": "vitest run --project browser",
70
- "test:browser:open": "vitest --project browser --browser.headless=false",
71
- "semantic-release": "semantic-release"
72
- },
73
36
  "dependencies": {
74
37
  "@floating-ui/vue": "^1.1.11",
75
38
  "@kong/icons": "^1.63.1",
@@ -113,8 +76,8 @@
113
76
  "@types/sortablejs": "^1.15.9",
114
77
  "@vitejs/plugin-vue": "^5.2.4",
115
78
  "@vitest/browser-playwright": "^4.1.11",
116
- "@vue/compiler-core": "^3.5.40",
117
- "@vue/compiler-sfc": "3.5.40",
79
+ "@vue/compiler-core": "^3.5.43",
80
+ "@vue/compiler-sfc": "3.5.43",
118
81
  "@vue/tsconfig": "^0.9.1",
119
82
  "@vueuse/core": "^14.3.0",
120
83
  "autoprefixer": "^10.5.4",
@@ -154,7 +117,7 @@
154
117
  "vitepress": "^1.6.4",
155
118
  "vitest": "^4.1.11",
156
119
  "vitest-browser-vue": "^2.1.0",
157
- "vue": "3.5.40",
120
+ "vue": "3.5.43",
158
121
  "vue-router": "^5.1.0",
159
122
  "vue-tsc": "^3.3.7",
160
123
  "yaml": "^2.9.1",
@@ -219,7 +182,6 @@
219
182
  "node": ">=v16.20.2 || >=18.12.1 || >=20.14.0 || >=22.14.0",
220
183
  "pnpm": ">=10.34.5"
221
184
  },
222
- "packageManager": "pnpm@10.34.5",
223
185
  "volta": {
224
186
  "node": "24.14.1",
225
187
  "pnpm": "10.34.5"
@@ -233,5 +195,42 @@
233
195
  "jiraPrepend": "[",
234
196
  "jiraAppend": "]"
235
197
  }
198
+ },
199
+ "scripts": {
200
+ "build:bin": "rimraf ./bin && pnpm build:cli && pnpm build:mcp",
201
+ "build:cli": "tsc --project ./cli/tsconfig.json && chmod u+x ./bin/index.js",
202
+ "build:docs": "vitepress build docs",
203
+ "build:mcp": "tsx ./mcp/build.ts && tsx ./mcp/generate-snapshot.ts",
204
+ "build:kongponents:umd": "BUILD_UMD=true vite build",
205
+ "build:kongponents": "pnpm typecheck && vite build && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json' && pnpm build:kongponents:umd && pnpm build:nuxt",
206
+ "build:nuxt": "tsc -p ./tsconfig.build.nuxt.json --outDir dist/nuxt",
207
+ "build:theme-contract": "tsx ./scripts/generate-theme-contract.mjs",
208
+ "build:visualize": "cross-env-shell BUILD_VISUALIZER=true vite build -m production",
209
+ "build": "pnpm build:bin && pnpm stylelint && pnpm lint && pnpm build:kongponents && pnpm build:docs",
210
+ "build:ci": "pnpm build:bin && pnpm build:kongponents && pnpm build:docs",
211
+ "commit": "cz",
212
+ "create-kongponent": "node ./bin/index.js",
213
+ "sandbox:dev": "cross-env USE_SANDBOX=true vite",
214
+ "sandbox:build": "cross-env USE_SANDBOX=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
215
+ "sandbox:build:netlify": "cross-env USE_SANDBOX=true USE_NETLIFY=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
216
+ "sandbox:preview": "cross-env USE_SANDBOX=true vite preview",
217
+ "docs:build": "vitepress build docs",
218
+ "docs:dev": "vitepress dev docs",
219
+ "docs:serve": "vitepress serve docs",
220
+ "docs:preview": "vitepress preview docs --port 8080",
221
+ "mcp:inspect": "cross-env PNPM_CONFIG_TRUST_POLICY_EXCLUDE=chokidar@4.0.3 pnpm dlx @modelcontextprotocol/inspector@2.7.0 --web --cwd . node ./bin/kongponents-mcp.js",
222
+ "typecheck": "vue-tsc -p './tsconfig.json' --noEmit && tsc -p './mcp/tsconfig.json' --noEmit",
223
+ "lint": "eslint",
224
+ "lint:fix": "eslint --fix",
225
+ "stylelint": "stylelint './src/**/*.{css,scss,sass,vue}'",
226
+ "stylelint:fix": "stylelint './src/**/*.{css,scss,sass,vue}' --fix",
227
+ "test": "pnpm test:unit && pnpm test:mcp && pnpm test:browser",
228
+ "test:mcp": "pnpm build:mcp && vitest run --project mcp",
229
+ "test:unit": "vitest run --project unit",
230
+ "test:unit:open": "vitest --project unit",
231
+ "test:browser:install": "playwright install --with-deps chromium firefox webkit",
232
+ "test:browser": "vitest run --project browser",
233
+ "test:browser:open": "vitest --project browser --browser.headless=false",
234
+ "semantic-release": "semantic-release"
236
235
  }
237
- }
236
+ }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const C=require("./kongponents238.cjs"),h=require("./kongponents239.cjs"),M=require("./kongponents240.cjs");var L="Expected a function",_=Math.max,q=Math.min;function O(x,t,c){var r,f,s,a,n,u,d=0,E=!1,l=!1,v=!0;if(typeof x!="function")throw new TypeError(L);t=M.default(t)||0,C.default(c)&&(E=!0,l="maxWait"in c,s=l?_(M.default(c.maxWait)||0,t):s,v="trailing"in c?!0:v);function g(e){var i=r,o=f;return r=f=void 0,d=e,a=x.apply(o,i),a}function S(e){return d=e,n=setTimeout(m,t),E?g(e):a}function W(e){var i=e-u,o=e-d,I=t-i;return l?q(I,s-o):I}function b(e){var i=e-u,o=e-d;return u===void 0||i>=t||i<0||l&&o>=s}function m(){var e=h.default();if(b(e))return k(e);n=setTimeout(m,W(e))}function k(e){return n=void 0,v&&r?g(e):(r=f=void 0,a)}function p(){n!==void 0&&clearTimeout(n),d=0,r=u=f=n=void 0}function y(){return n===void 0?a:k(h.default())}function T(){var e=h.default(),i=b(e);if(r=arguments,f=this,u=e,i){if(n===void 0)return S(u);if(l)return clearTimeout(n),n=setTimeout(m,t),g(u)}return n===void 0&&(n=setTimeout(m,t)),a}return T.cancel=p,T.flush=y,T}exports.default=O;
@@ -1,54 +0,0 @@
1
- import S from "./kongponents238.es.js";
2
- import h from "./kongponents239.es.js";
3
- import W from "./kongponents240.es.js";
4
- var y = "Expected a function", R = Math.max, A = Math.min;
5
- function _(x, i, l) {
6
- var u, f, c, a, n, r, o = 0, p = !1, d = !1, v = !0;
7
- if (typeof x != "function")
8
- throw new TypeError(y);
9
- i = W(i) || 0, S(l) && (p = !0, d = "maxWait" in l, c = d ? R(W(l.maxWait) || 0, i) : c, v = "trailing" in l ? !0 : v);
10
- function g(e) {
11
- var t = u, m = f;
12
- return u = f = void 0, o = e, a = x.apply(m, t), a;
13
- }
14
- function b(e) {
15
- return o = e, n = setTimeout(s, i), p ? g(e) : a;
16
- }
17
- function C(e) {
18
- var t = e - r, m = e - o, I = i - t;
19
- return d ? A(I, c - m) : I;
20
- }
21
- function E(e) {
22
- var t = e - r, m = e - o;
23
- return r === void 0 || t >= i || t < 0 || d && m >= c;
24
- }
25
- function s() {
26
- var e = h();
27
- if (E(e))
28
- return k(e);
29
- n = setTimeout(s, C(e));
30
- }
31
- function k(e) {
32
- return n = void 0, v && u ? g(e) : (u = f = void 0, a);
33
- }
34
- function L() {
35
- n !== void 0 && clearTimeout(n), o = 0, u = r = f = n = void 0;
36
- }
37
- function M() {
38
- return n === void 0 ? a : k(h());
39
- }
40
- function T() {
41
- var e = h(), t = E(e);
42
- if (u = arguments, f = this, r = e, t) {
43
- if (n === void 0)
44
- return b(r);
45
- if (d)
46
- return clearTimeout(n), n = setTimeout(s, i), g(r);
47
- }
48
- return n === void 0 && (n = setTimeout(s, i)), a;
49
- }
50
- return T.cancel = L, T.flush = M, T;
51
- }
52
- export {
53
- _ as default
54
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("v-calendar"),P=require("./kongponents310.cjs"),F=require("./kongponents322.cjs"),f=require("./kongponents210.cjs"),R=require("./kongponents317.cjs"),q=require("./kongponents313.cjs"),I=require("./kongponents315.cjs"),$={class:"calendar-wrapper"},p={key:2,class:"time-wrapper"},A={class:"time-inputs-container"},U={class:"time-input-column"},Y=["for"],j={key:0},z={key:1},W=["id","step"],O={class:"time-input-column"},J=["for"],K={key:0},L=["id","step"],Q={key:0,class:"help-text"},X=e.defineComponent({__name:"CalendarWrapper",props:e.mergeModels({isRange:{type:Boolean},kDatePickerMode:{},maxDate:{default:()=>{}},minDate:{default:()=>{}},errorMessage:{default:()=>{}},timeGranularity:{default:"minutely"},sameDayFullRange:{type:Boolean,default:!1},customRangeValidation:{type:Function,default:void 0}},{modelValue:{required:!0},modelModifiers:{},error:{type:Boolean,default:!1},errorModifiers:{}}),emits:["update:modelValue","update:error"],setup(a,{expose:G}){const u=(l,n)=>n==="secondly"?f.default(l,"HH:mm:ss"):f.default(l,"HH:mm"),t=e.useModel(a,"modelValue"),m=e.useModel(a,"error"),i=e.ref(u(new Date,a.timeGranularity)),s=e.ref(u(new Date,a.timeGranularity)),c=e.ref({start:u(new Date,a.timeGranularity),end:u(new Date,a.timeGranularity)}),v=e.useId(),b=e.computed(()=>a.isRange&&o(t.value)?{year:t.value.start.getFullYear(),month:t.value.start.getMonth()+1}:t.value instanceof Date?{year:t.value.getFullYear(),month:t.value.getMonth()+1}:a.maxDate&&P.default(a.maxDate,F.default())?{year:a.maxDate.getFullYear(),month:a.maxDate.getMonth()+1}:{year:new Date().getFullYear(),month:new Date().getMonth()+1}),D=e.computed(()=>({borderless:!0,color:"blue",dragAttribute:T,expanded:!0,initialPage:b.value,maxDate:a.maxDate,minDate:a.minDate,mode:"date",modelConfig:C,selectAttribute:N,transparent:!0,trimWeeks:!0})),k=e.computed(()=>["time","dateTime","relativeDateTime"].includes(a.kDatePickerMode)),h=e.computed(()=>{switch(a.timeGranularity){case"minutely":return 60;case"secondly":return 1;default:return 60}}),y=(l,n)=>l>n?!0:a.customRangeValidation?a.customRangeValidation(l,n):!1,o=l=>!l||typeof l!="object"||!("start"in l)||!("end"in l)?!1:l.start instanceof Date&&l.end instanceof Date,w=()=>{if(!a.sameDayFullRange||!a.isRange||!o(t.value))return!1;const l=t.value.start.getTime(),n=t.value.end.getTime(),r=a.timeGranularity==="secondly"?"HH:mm:ss":"HH:mm",d=i.value?R.default(i.value,r,t.value.start).getTime():l,g=s.value?R.default(s.value,r,t.value.end).getTime():n,S=q.default(t.value.start,t.value.end);return(I.default(t.value.start,t.value.end)||S&&(d>=g||l>=n))&&(t.value.start.setHours(0,0,0,0),t.value.end.setHours(23,59,59,999)),!0},V=()=>{k.value&&(a.isRange&&o(t.value)?(i.value=u(t.value.start,a.timeGranularity),s.value=u(t.value.end,a.timeGranularity)):t.value instanceof Date?i.value=u(t.value,a.timeGranularity):i.value=u(new Date,a.timeGranularity))},M=l=>{const n=l.split(":"),r=parseInt(n[0]??"0",10),d=parseInt(n[1]??"0",10),g=a.timeGranularity==="secondly"&&n[2]?parseInt(n[2],10):0;return{hours:r,minutes:d,seconds:g}};e.onMounted(()=>{V(),c.value.start=i.value,c.value.end=s.value});const C={type:"number"},T={key:"select-drag",highlight:{start:{contentClass:"vcal-day-drag-start"},base:{contentClass:"vcal-day-drag-base"},end:{contentClass:"vcal-day-drag-end"}}},N={key:"select-calendar",highlight:{start:{contentClass:"vcal-day-start"},base:{contentClass:"vcal-day-base"},end:{contentClass:"vcal-day-end"}}};e.watch(()=>i.value,l=>{if(!l)return;const{hours:n,minutes:r,seconds:d}=M(l);a.isRange&&o(t.value)?(t.value.start.setHours(n,r,d,0),m.value=y(t.value.start,t.value.end)):t.value instanceof Date&&t.value.setHours(n,r,d,0)}),e.watch(()=>s.value,l=>{if(!l)return;const{hours:n,minutes:r,seconds:d}=M(l);a.isRange&&o(t.value)&&(t.value.end.setHours(n,r,d,0),m.value=y(t.value.start,t.value.end))}),e.watch(()=>t.value,()=>{a.isRange&&o(t.value)?(w(),i.value=u(t.value.start,a.timeGranularity),s.value=u(t.value.end,a.timeGranularity),m.value=y(t.value.start,t.value.end)):t.value instanceof Date&&(i.value=u(t.value,a.timeGranularity))},{immediate:!1,deep:!0}),e.watch(()=>a.timeGranularity,()=>{a.isRange&&o(t.value)?(c.value.start=u(t.value.start,a.timeGranularity),c.value.end=u(t.value.end,a.timeGranularity)):t.value instanceof Date&&(c.value.start=u(t.value,a.timeGranularity))});const E=()=>a.isRange&&o(t.value),H=()=>{i.value=c.value.start,s.value=c.value.end},B=l=>{try{return f.default(l,"EEE MMM d yyyy")}catch(n){console.warn("Error formatting date:",n)}};return G({resetTime:H,initTimeInputs:V}),(l,n)=>(e.openBlock(),e.createElementBlock("div",$,[a.isRange?(e.openBlock(),e.createBlock(e.unref(x.DatePicker),e.mergeProps({key:0},D.value,{modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=r=>t.value=r),modelModifiers:{range:!0}}),null,16,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(x.DatePicker),e.mergeProps({key:1},D.value,{modelValue:t.value,"onUpdate:modelValue":n[1]||(n[1]=r=>t.value=r)}),null,16,["modelValue"])),k.value?(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",A,[e.createElementVNode("div",U,[e.createElementVNode("label",{class:"time-input-label",for:`time-input-start-${e.unref(v)}`},[E()?(e.openBlock(),e.createElementBlock("span",j,e.toDisplayString(B(t.value.start)),1)):t.value&&t.value instanceof Date?(e.openBlock(),e.createElementBlock("span",z,e.toDisplayString(B(t.value)),1)):e.createCommentVNode("",!0)],8,Y),e.withDirectives(e.createElementVNode("input",{id:`time-input-start-${e.unref(v)}`,"onUpdate:modelValue":n[2]||(n[2]=r=>i.value=r),class:e.normalizeClass(["time-input-start",{"input-error":m.value}]),"data-testid":"time-input-start",step:h.value,type:"time"},null,10,W),[[e.vModelText,i.value]])]),a.isRange?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[n[4]||(n[4]=e.createElementVNode("div",{class:"time-input-separator"}," - ",-1)),e.createElementVNode("div",O,[e.createElementVNode("label",{class:"time-input-label",for:`time-input-end-${e.unref(v)}`},[E()?(e.openBlock(),e.createElementBlock("span",K,e.toDisplayString(e.unref(f.default)(t.value.end,"EEE MMM d yyyy")),1)):e.createCommentVNode("",!0)],8,J),e.withDirectives(e.createElementVNode("input",{id:`time-input-end-${e.unref(v)}`,"onUpdate:modelValue":n[3]||(n[3]=r=>s.value=r),class:e.normalizeClass(["time-input-end",{"input-error":m.value}]),"data-testid":"time-input-end",step:h.value,type:"time"},null,10,L),[[e.vModelText,s.value]])])],64)):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{mode:"out-in",name:"kongponents-fade-transition"},{default:e.withCtx(()=>[m.value&&a.errorMessage?(e.openBlock(),e.createElementBlock("div",Q,e.toDisplayString(a.errorMessage),1)):e.createCommentVNode("",!0)]),_:1})])):e.createCommentVNode("",!0)]))}});exports.default=X;
@@ -1,184 +0,0 @@
1
- import { defineComponent as K, useModel as F, ref as T, useId as L, computed as h, onMounted as Q, watch as M, openBlock as s, createElementBlock as v, createBlock as I, unref as f, mergeProps as P, createElementVNode as m, toDisplayString as V, createCommentVNode as g, withDirectives as B, normalizeClass as A, vModelText as U, Fragment as X, createVNode as Z, Transition as _, withCtx as ee, mergeModels as te } from "vue";
2
- import { DatePicker as Y } from "v-calendar";
3
- import ae from "./kongponents310.es.js";
4
- import ne from "./kongponents322.es.js";
5
- import k from "./kongponents210.es.js";
6
- import $ from "./kongponents317.es.js";
7
- import le from "./kongponents313.es.js";
8
- import ie from "./kongponents315.es.js";
9
- const re = { class: "calendar-wrapper" }, ue = {
10
- key: 2,
11
- class: "time-wrapper"
12
- }, se = { class: "time-inputs-container" }, oe = { class: "time-input-column" }, de = ["for"], me = { key: 0 }, ce = { key: 1 }, ve = ["id", "step"], fe = { class: "time-input-column" }, ye = ["for"], ge = { key: 0 }, De = ["id", "step"], he = {
13
- key: 0,
14
- class: "help-text"
15
- }, He = /* @__PURE__ */ K({
16
- __name: "CalendarWrapper",
17
- props: /* @__PURE__ */ te({
18
- isRange: { type: Boolean },
19
- kDatePickerMode: {},
20
- maxDate: { default: () => {
21
- } },
22
- minDate: { default: () => {
23
- } },
24
- errorMessage: { default: () => {
25
- } },
26
- timeGranularity: { default: "minutely" },
27
- sameDayFullRange: { type: Boolean, default: !1 },
28
- customRangeValidation: { type: Function, default: void 0 }
29
- }, {
30
- modelValue: { required: !0 },
31
- modelModifiers: {},
32
- error: { type: Boolean, default: !1 },
33
- errorModifiers: {}
34
- }),
35
- emits: ["update:modelValue", "update:error"],
36
- setup(t, { expose: N }) {
37
- const i = (n, a) => a === "secondly" ? k(n, "HH:mm:ss") : k(n, "HH:mm"), e = F(t, "modelValue"), y = F(t, "error"), r = T(i(/* @__PURE__ */ new Date(), t.timeGranularity)), u = T(i(/* @__PURE__ */ new Date(), t.timeGranularity)), c = T({
38
- start: i(/* @__PURE__ */ new Date(), t.timeGranularity),
39
- end: i(/* @__PURE__ */ new Date(), t.timeGranularity)
40
- }), D = L(), W = h(() => t.isRange && o(e.value) ? { year: e.value.start.getFullYear(), month: e.value.start.getMonth() + 1 } : e.value instanceof Date ? { year: e.value.getFullYear(), month: e.value.getMonth() + 1 } : t.maxDate && ae(t.maxDate, ne()) ? { year: t.maxDate.getFullYear(), month: t.maxDate.getMonth() + 1 } : { year: (/* @__PURE__ */ new Date()).getFullYear(), month: (/* @__PURE__ */ new Date()).getMonth() + 1 }), b = h(() => ({
41
- borderless: !0,
42
- color: "blue",
43
- dragAttribute: q,
44
- expanded: !0,
45
- initialPage: W.value,
46
- maxDate: t.maxDate,
47
- minDate: t.minDate,
48
- mode: "date",
49
- modelConfig: p,
50
- selectAttribute: z,
51
- transparent: !0,
52
- trimWeeks: !0
53
- })), w = h(() => ["time", "dateTime", "relativeDateTime"].includes(t.kDatePickerMode)), x = h(() => {
54
- switch (t.timeGranularity) {
55
- case "minutely":
56
- return 60;
57
- case "secondly":
58
- return 1;
59
- default:
60
- return 60;
61
- }
62
- }), R = (n, a) => n > a ? !0 : t.customRangeValidation ? t.customRangeValidation(n, a) : !1, o = (n) => !n || typeof n != "object" || !("start" in n) || !("end" in n) ? !1 : n.start instanceof Date && n.end instanceof Date, j = () => {
63
- if (!t.sameDayFullRange || !t.isRange || !o(e.value))
64
- return !1;
65
- const n = e.value.start.getTime(), a = e.value.end.getTime(), l = t.timeGranularity === "secondly" ? "HH:mm:ss" : "HH:mm", d = r.value ? $(r.value, l, e.value.start).getTime() : n, G = u.value ? $(u.value, l, e.value.end).getTime() : a, J = le(e.value.start, e.value.end);
66
- return (ie(e.value.start, e.value.end) || J && (d >= G || n >= a)) && (e.value.start.setHours(0, 0, 0, 0), e.value.end.setHours(23, 59, 59, 999)), !0;
67
- }, H = () => {
68
- w.value && (t.isRange && o(e.value) ? (r.value = i(e.value.start, t.timeGranularity), u.value = i(e.value.end, t.timeGranularity)) : e.value instanceof Date ? r.value = i(e.value, t.timeGranularity) : r.value = i(/* @__PURE__ */ new Date(), t.timeGranularity));
69
- }, C = (n) => {
70
- const a = n.split(":"), l = parseInt(a[0] ?? "0", 10), d = parseInt(a[1] ?? "0", 10), G = t.timeGranularity === "secondly" && a[2] ? parseInt(a[2], 10) : 0;
71
- return { hours: l, minutes: d, seconds: G };
72
- };
73
- Q(() => {
74
- H(), c.value.start = r.value, c.value.end = u.value;
75
- });
76
- const p = { type: "number" }, q = {
77
- key: "select-drag",
78
- highlight: {
79
- start: { contentClass: "vcal-day-drag-start" },
80
- base: { contentClass: "vcal-day-drag-base" },
81
- end: { contentClass: "vcal-day-drag-end" }
82
- }
83
- }, z = {
84
- key: "select-calendar",
85
- highlight: {
86
- start: { contentClass: "vcal-day-start" },
87
- base: { contentClass: "vcal-day-base" },
88
- end: { contentClass: "vcal-day-end" }
89
- }
90
- };
91
- M(() => r.value, (n) => {
92
- if (!n)
93
- return;
94
- const { hours: a, minutes: l, seconds: d } = C(n);
95
- t.isRange && o(e.value) ? (e.value.start.setHours(a, l, d, 0), y.value = R(e.value.start, e.value.end)) : e.value instanceof Date && e.value.setHours(a, l, d, 0);
96
- }), M(() => u.value, (n) => {
97
- if (!n)
98
- return;
99
- const { hours: a, minutes: l, seconds: d } = C(n);
100
- t.isRange && o(e.value) && (e.value.end.setHours(a, l, d, 0), y.value = R(e.value.start, e.value.end));
101
- }), M(() => e.value, () => {
102
- t.isRange && o(e.value) ? (j(), r.value = i(e.value.start, t.timeGranularity), u.value = i(e.value.end, t.timeGranularity), y.value = R(e.value.start, e.value.end)) : e.value instanceof Date && (r.value = i(e.value, t.timeGranularity));
103
- }, { immediate: !1, deep: !0 }), M(() => t.timeGranularity, () => {
104
- t.isRange && o(e.value) ? (c.value.start = i(e.value.start, t.timeGranularity), c.value.end = i(e.value.end, t.timeGranularity)) : e.value instanceof Date && (c.value.start = i(e.value, t.timeGranularity));
105
- });
106
- const E = () => t.isRange && o(e.value), O = () => {
107
- r.value = c.value.start, u.value = c.value.end;
108
- }, S = (n) => {
109
- try {
110
- return k(n, "EEE MMM d yyyy");
111
- } catch (a) {
112
- console.warn("Error formatting date:", a);
113
- }
114
- };
115
- return N({
116
- resetTime: O,
117
- initTimeInputs: H
118
- }), (n, a) => (s(), v("div", re, [
119
- t.isRange ? (s(), I(f(Y), P({ key: 0 }, b.value, {
120
- modelValue: e.value,
121
- "onUpdate:modelValue": a[0] || (a[0] = (l) => e.value = l),
122
- modelModifiers: { range: !0 }
123
- }), null, 16, ["modelValue"])) : (s(), I(f(Y), P({ key: 1 }, b.value, {
124
- modelValue: e.value,
125
- "onUpdate:modelValue": a[1] || (a[1] = (l) => e.value = l)
126
- }), null, 16, ["modelValue"])),
127
- w.value ? (s(), v("div", ue, [
128
- m("div", se, [
129
- m("div", oe, [
130
- m("label", {
131
- class: "time-input-label",
132
- for: `time-input-start-${f(D)}`
133
- }, [
134
- E() ? (s(), v("span", me, V(S(e.value.start)), 1)) : e.value && e.value instanceof Date ? (s(), v("span", ce, V(S(e.value)), 1)) : g("", !0)
135
- ], 8, de),
136
- B(m("input", {
137
- id: `time-input-start-${f(D)}`,
138
- "onUpdate:modelValue": a[2] || (a[2] = (l) => r.value = l),
139
- class: A(["time-input-start", { "input-error": y.value }]),
140
- "data-testid": "time-input-start",
141
- step: x.value,
142
- type: "time"
143
- }, null, 10, ve), [
144
- [U, r.value]
145
- ])
146
- ]),
147
- t.isRange ? (s(), v(X, { key: 0 }, [
148
- a[4] || (a[4] = m("div", { class: "time-input-separator" }, " - ", -1)),
149
- m("div", fe, [
150
- m("label", {
151
- class: "time-input-label",
152
- for: `time-input-end-${f(D)}`
153
- }, [
154
- E() ? (s(), v("span", ge, V(f(k)(e.value.end, "EEE MMM d yyyy")), 1)) : g("", !0)
155
- ], 8, ye),
156
- B(m("input", {
157
- id: `time-input-end-${f(D)}`,
158
- "onUpdate:modelValue": a[3] || (a[3] = (l) => u.value = l),
159
- class: A(["time-input-end", { "input-error": y.value }]),
160
- "data-testid": "time-input-end",
161
- step: x.value,
162
- type: "time"
163
- }, null, 10, De), [
164
- [U, u.value]
165
- ])
166
- ])
167
- ], 64)) : g("", !0)
168
- ]),
169
- Z(_, {
170
- mode: "out-in",
171
- name: "kongponents-fade-transition"
172
- }, {
173
- default: ee(() => [
174
- y.value && t.errorMessage ? (s(), v("div", he, V(t.errorMessage), 1)) : g("", !0)
175
- ]),
176
- _: 1
177
- })
178
- ])) : g("", !0)
179
- ]));
180
- }
181
- });
182
- export {
183
- He as default
184
- };