@kong/kongponents 9.66.0 → 9.66.1

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 (596) hide show
  1. package/dist/kongponents102.cjs +1 -1
  2. package/dist/kongponents102.es.js +1 -1
  3. package/dist/kongponents104.cjs +1 -1
  4. package/dist/kongponents104.es.js +5 -5
  5. package/dist/kongponents107.cjs +1 -1
  6. package/dist/kongponents107.es.js +1 -1
  7. package/dist/kongponents113.cjs +1 -1
  8. package/dist/kongponents113.es.js +1 -1
  9. package/dist/kongponents115.cjs +1 -1
  10. package/dist/kongponents115.es.js +1 -1
  11. package/dist/kongponents117.cjs +1 -1
  12. package/dist/kongponents117.es.js +2 -2
  13. package/dist/kongponents121.cjs +1 -1
  14. package/dist/kongponents121.es.js +2 -2
  15. package/dist/kongponents123.cjs +1 -1
  16. package/dist/kongponents123.es.js +4 -4
  17. package/dist/kongponents125.cjs +1 -1
  18. package/dist/kongponents125.es.js +1 -1
  19. package/dist/kongponents127.cjs +1 -1
  20. package/dist/kongponents127.es.js +6 -6
  21. package/dist/kongponents130.cjs +1 -1
  22. package/dist/kongponents130.es.js +2 -2
  23. package/dist/kongponents132.cjs +1 -1
  24. package/dist/kongponents132.es.js +5 -5
  25. package/dist/kongponents136.cjs +1 -1
  26. package/dist/kongponents136.es.js +1 -1
  27. package/dist/kongponents138.cjs +1 -1
  28. package/dist/kongponents138.es.js +1 -1
  29. package/dist/kongponents140.cjs +1 -1
  30. package/dist/kongponents140.es.js +7 -7
  31. package/dist/kongponents147.cjs +1 -1
  32. package/dist/kongponents147.es.js +4 -4
  33. package/dist/kongponents151.cjs +1 -1
  34. package/dist/kongponents151.es.js +4 -4
  35. package/dist/kongponents155.cjs +1 -1
  36. package/dist/kongponents155.es.js +2 -2
  37. package/dist/kongponents157.cjs +1 -1
  38. package/dist/kongponents157.es.js +1 -1
  39. package/dist/kongponents163.cjs +1 -1
  40. package/dist/kongponents163.es.js +2 -2
  41. package/dist/kongponents165.cjs +1 -1
  42. package/dist/kongponents165.es.js +4 -4
  43. package/dist/kongponents167.cjs +1 -1
  44. package/dist/kongponents167.es.js +2 -2
  45. package/dist/kongponents169.cjs +1 -1
  46. package/dist/kongponents169.es.js +7 -7
  47. package/dist/kongponents174.cjs +1 -1
  48. package/dist/kongponents174.es.js +3 -3
  49. package/dist/kongponents182.cjs +1 -1
  50. package/dist/kongponents182.es.js +5 -20
  51. package/dist/kongponents183.cjs +1 -1
  52. package/dist/kongponents183.es.js +97 -4
  53. package/dist/kongponents184.cjs +1 -1
  54. package/dist/kongponents184.es.js +3 -5
  55. package/dist/kongponents185.cjs +1 -1
  56. package/dist/kongponents185.es.js +5 -5
  57. package/dist/kongponents186.cjs +1 -1
  58. package/dist/kongponents186.es.js +18 -178
  59. package/dist/kongponents187.cjs +1 -1
  60. package/dist/kongponents187.es.js +205 -95
  61. package/dist/kongponents188.cjs +1 -1
  62. package/dist/kongponents188.es.js +20 -15
  63. package/dist/kongponents189.cjs +1 -1
  64. package/dist/kongponents189.es.js +5 -19
  65. package/dist/kongponents190.cjs +1 -1
  66. package/dist/kongponents190.es.js +5 -208
  67. package/dist/kongponents191.cjs +1 -1
  68. package/dist/kongponents191.es.js +5 -2
  69. package/dist/kongponents192.cjs +1 -1
  70. package/dist/kongponents192.es.js +3 -3
  71. package/dist/kongponents193.cjs +1 -1
  72. package/dist/kongponents193.es.js +4 -4
  73. package/dist/kongponents194.cjs +1 -1
  74. package/dist/kongponents194.es.js +4 -4
  75. package/dist/kongponents195.cjs +1 -1
  76. package/dist/kongponents195.es.js +19 -5
  77. package/dist/kongponents197.cjs +1 -1
  78. package/dist/kongponents197.es.js +4 -4
  79. package/dist/kongponents198.cjs +1 -1
  80. package/dist/kongponents198.es.js +8 -5
  81. package/dist/kongponents199.cjs +1 -1
  82. package/dist/kongponents199.es.js +60 -5
  83. package/dist/kongponents200.cjs +1 -1
  84. package/dist/kongponents200.es.js +4 -16
  85. package/dist/kongponents201.cjs +1 -1
  86. package/dist/kongponents201.es.js +17 -10
  87. package/dist/kongponents202.cjs +1 -1
  88. package/dist/kongponents202.es.js +2 -5
  89. package/dist/kongponents203.cjs +1 -1
  90. package/dist/kongponents203.es.js +5 -21
  91. package/dist/kongponents204.cjs +1 -1
  92. package/dist/kongponents204.es.js +5 -36
  93. package/dist/kongponents205.cjs +1 -2
  94. package/dist/kongponents205.es.js +5 -98
  95. package/dist/kongponents206.cjs +1 -1
  96. package/dist/kongponents206.es.js +5 -52
  97. package/dist/kongponents207.cjs +1 -0
  98. package/dist/kongponents207.es.js +19 -0
  99. package/dist/kongponents208.cjs +1 -1
  100. package/dist/kongponents208.es.js +10 -5
  101. package/dist/kongponents209.cjs +1 -1
  102. package/dist/kongponents209.es.js +7 -8
  103. package/dist/kongponents210.cjs +1 -1
  104. package/dist/kongponents210.es.js +181 -60
  105. package/dist/kongponents211.cjs +1 -1
  106. package/dist/kongponents211.es.js +4 -4
  107. package/dist/kongponents212.cjs +1 -1
  108. package/dist/kongponents212.es.js +4 -4
  109. package/dist/kongponents213.cjs +1 -1
  110. package/dist/kongponents213.es.js +15 -5
  111. package/dist/kongponents214.cjs +1 -1
  112. package/dist/kongponents214.es.js +4 -4
  113. package/dist/kongponents215.cjs +1 -1
  114. package/dist/kongponents215.es.js +36 -5
  115. package/dist/kongponents216.cjs +2 -1
  116. package/dist/kongponents216.es.js +98 -5
  117. package/dist/kongponents217.cjs +1 -1
  118. package/dist/kongponents217.es.js +52 -17
  119. package/dist/kongponents218.cjs +1 -1
  120. package/dist/kongponents218.es.js +1 -1
  121. package/dist/kongponents221.cjs +1 -1
  122. package/dist/kongponents221.es.js +2 -2
  123. package/dist/kongponents227.cjs +1 -1
  124. package/dist/kongponents227.es.js +1 -1
  125. package/dist/kongponents232.cjs +1 -1
  126. package/dist/kongponents232.es.js +78 -173
  127. package/dist/kongponents234.cjs +1 -1
  128. package/dist/kongponents234.es.js +41 -51
  129. package/dist/kongponents236.cjs +1 -0
  130. package/dist/kongponents236.es.js +8 -0
  131. package/dist/kongponents237.cjs +1 -1
  132. package/dist/kongponents237.es.js +2 -6
  133. package/dist/kongponents238.cjs +1 -1
  134. package/dist/kongponents238.es.js +91 -5
  135. package/dist/kongponents240.cjs +1 -1
  136. package/dist/kongponents240.es.js +245 -19
  137. package/dist/kongponents242.cjs +1 -1
  138. package/dist/kongponents242.es.js +182 -5
  139. package/dist/kongponents244.cjs +1 -1
  140. package/dist/kongponents244.es.js +178 -9
  141. package/dist/kongponents246.cjs +1 -1
  142. package/dist/kongponents246.es.js +55 -4
  143. package/dist/kongponents249.cjs +1 -1
  144. package/dist/kongponents249.es.js +5 -8
  145. package/dist/kongponents25.cjs +1 -1
  146. package/dist/kongponents25.es.js +7 -7
  147. package/dist/kongponents250.cjs +1 -1
  148. package/dist/kongponents250.es.js +5 -7
  149. package/dist/kongponents251.cjs +1 -1
  150. package/dist/kongponents251.es.js +19 -3
  151. package/dist/kongponents252.cjs +1 -1
  152. package/dist/kongponents252.es.js +4 -2
  153. package/dist/kongponents253.cjs +1 -1
  154. package/dist/kongponents253.es.js +4 -5
  155. package/dist/kongponents254.cjs +1 -1
  156. package/dist/kongponents254.es.js +5 -9
  157. package/dist/kongponents255.cjs +1 -1
  158. package/dist/kongponents255.es.js +8 -4
  159. package/dist/kongponents256.cjs +1 -1
  160. package/dist/kongponents256.es.js +5 -3
  161. package/dist/kongponents257.cjs +1 -1
  162. package/dist/kongponents257.es.js +4 -3
  163. package/dist/kongponents258.cjs +1 -1
  164. package/dist/kongponents258.es.js +16 -3
  165. package/dist/kongponents259.cjs +1 -1
  166. package/dist/kongponents259.es.js +3 -7
  167. package/dist/kongponents260.cjs +1 -1
  168. package/dist/kongponents260.es.js +8 -7
  169. package/dist/kongponents261.cjs +1 -1
  170. package/dist/kongponents261.es.js +6 -4
  171. package/dist/kongponents262.cjs +1 -1
  172. package/dist/kongponents262.es.js +3 -9
  173. package/dist/kongponents263.cjs +1 -1
  174. package/dist/kongponents263.es.js +2 -6
  175. package/dist/kongponents264.cjs +1 -1
  176. package/dist/kongponents264.es.js +6 -9
  177. package/dist/kongponents265.cjs +1 -1
  178. package/dist/kongponents265.es.js +9 -6
  179. package/dist/kongponents266.cjs +1 -1
  180. package/dist/kongponents266.es.js +4 -17
  181. package/dist/kongponents267.cjs +1 -1
  182. package/dist/kongponents267.es.js +4 -12
  183. package/dist/kongponents268.cjs +1 -1
  184. package/dist/kongponents268.es.js +3 -7
  185. package/dist/kongponents269.cjs +1 -1
  186. package/dist/kongponents269.es.js +3 -12
  187. package/dist/kongponents27.cjs +1 -1
  188. package/dist/kongponents27.es.js +2 -2
  189. package/dist/kongponents270.cjs +1 -1
  190. package/dist/kongponents270.es.js +7 -9
  191. package/dist/kongponents271.cjs +1 -1
  192. package/dist/kongponents271.es.js +6 -5
  193. package/dist/kongponents272.cjs +1 -1
  194. package/dist/kongponents272.es.js +5 -9
  195. package/dist/kongponents273.cjs +1 -1
  196. package/dist/kongponents273.es.js +9 -15
  197. package/dist/kongponents274.cjs +1 -1
  198. package/dist/kongponents274.es.js +5 -17
  199. package/dist/kongponents275.cjs +1 -1
  200. package/dist/kongponents275.es.js +9 -6
  201. package/dist/kongponents276.cjs +1 -1
  202. package/dist/kongponents276.es.js +6 -10
  203. package/dist/kongponents277.cjs +1 -1
  204. package/dist/kongponents277.es.js +17 -6
  205. package/dist/kongponents278.cjs +1 -1
  206. package/dist/kongponents278.es.js +11 -7
  207. package/dist/kongponents279.cjs +1 -1
  208. package/dist/kongponents279.es.js +6 -5
  209. package/dist/kongponents280.cjs +1 -1
  210. package/dist/kongponents280.es.js +12 -6
  211. package/dist/kongponents281.cjs +1 -1
  212. package/dist/kongponents281.es.js +9 -9
  213. package/dist/kongponents282.cjs +1 -1
  214. package/dist/kongponents282.es.js +5 -7
  215. package/dist/kongponents283.cjs +1 -1
  216. package/dist/kongponents283.es.js +8 -3
  217. package/dist/kongponents284.cjs +1 -1
  218. package/dist/kongponents284.es.js +15 -5
  219. package/dist/kongponents285.cjs +1 -1
  220. package/dist/kongponents285.es.js +17 -15
  221. package/dist/kongponents286.cjs +1 -1
  222. package/dist/kongponents286.es.js +6 -178
  223. package/dist/kongponents287.cjs +1 -0
  224. package/dist/kongponents287.es.js +13 -0
  225. package/dist/kongponents288.cjs +1 -1
  226. package/dist/kongponents288.es.js +7 -64
  227. package/dist/kongponents289.cjs +1 -0
  228. package/dist/kongponents289.es.js +10 -0
  229. package/dist/kongponents290.cjs +1 -1
  230. package/dist/kongponents290.es.js +6 -91
  231. package/dist/{kongponents243.cjs → kongponents291.cjs} +1 -1
  232. package/dist/kongponents291.es.js +9 -0
  233. package/dist/kongponents292.cjs +1 -1
  234. package/dist/kongponents292.es.js +10 -246
  235. package/dist/kongponents293.cjs +1 -0
  236. package/dist/kongponents293.es.js +10 -0
  237. package/dist/kongponents294.cjs +1 -1
  238. package/dist/kongponents294.es.js +4 -87
  239. package/dist/kongponents295.cjs +1 -0
  240. package/dist/kongponents295.es.js +8 -0
  241. package/dist/kongponents296.cjs +1 -1
  242. package/dist/kongponents296.es.js +16 -45
  243. package/dist/kongponents297.cjs +1 -0
  244. package/dist/kongponents297.es.js +85 -0
  245. package/dist/kongponents299.cjs +1 -1
  246. package/dist/kongponents299.es.js +41 -7
  247. package/dist/kongponents30.cjs +1 -1
  248. package/dist/kongponents30.es.js +1 -1
  249. package/dist/kongponents301.cjs +1 -1
  250. package/dist/kongponents301.es.js +8 -4
  251. package/dist/kongponents302.cjs +1 -1
  252. package/dist/kongponents302.es.js +6 -9
  253. package/dist/kongponents303.cjs +1 -1
  254. package/dist/kongponents303.es.js +6 -7
  255. package/dist/kongponents304.cjs +1 -1
  256. package/dist/kongponents304.es.js +4 -601
  257. package/dist/kongponents305.cjs +1 -1
  258. package/dist/kongponents305.es.js +10 -71
  259. package/dist/kongponents306.cjs +1 -1
  260. package/dist/kongponents306.es.js +8 -4
  261. package/dist/kongponents307.cjs +1 -1
  262. package/dist/kongponents307.es.js +599 -17
  263. package/dist/kongponents308.cjs +1 -1
  264. package/dist/kongponents308.es.js +71 -5
  265. package/dist/kongponents309.cjs +1 -1
  266. package/dist/kongponents309.es.js +5 -18
  267. package/dist/kongponents310.cjs +1 -1
  268. package/dist/kongponents310.es.js +19 -7
  269. package/dist/kongponents311.cjs +1 -1
  270. package/dist/kongponents311.es.js +4 -5
  271. package/dist/kongponents312.cjs +1 -1
  272. package/dist/kongponents312.es.js +18 -9
  273. package/dist/kongponents313.cjs +1 -1
  274. package/dist/kongponents313.es.js +7 -7
  275. package/dist/kongponents314.cjs +1 -1
  276. package/dist/kongponents314.es.js +5 -7
  277. package/dist/kongponents315.cjs +1 -1
  278. package/dist/kongponents315.es.js +8 -7
  279. package/dist/kongponents316.cjs +1 -1
  280. package/dist/kongponents316.es.js +7 -7
  281. package/dist/kongponents317.cjs +1 -1
  282. package/dist/kongponents317.es.js +7 -124
  283. package/dist/kongponents318.cjs +1 -2
  284. package/dist/kongponents318.es.js +7 -48
  285. package/dist/kongponents319.cjs +1 -1
  286. package/dist/kongponents319.es.js +6 -6
  287. package/dist/kongponents32.cjs +1 -1
  288. package/dist/kongponents32.es.js +4 -4
  289. package/dist/kongponents320.cjs +1 -1
  290. package/dist/kongponents320.es.js +121 -53
  291. package/dist/kongponents321.cjs +2 -1
  292. package/dist/kongponents321.es.js +49 -65
  293. package/dist/kongponents322.cjs +1 -1
  294. package/dist/kongponents322.es.js +7 -4
  295. package/dist/kongponents323.cjs +1 -1
  296. package/dist/kongponents323.es.js +57 -4
  297. package/dist/kongponents324.cjs +1 -1
  298. package/dist/kongponents324.es.js +65 -21
  299. package/dist/kongponents325.cjs +1 -1
  300. package/dist/kongponents325.es.js +5 -5
  301. package/dist/kongponents326.cjs +1 -1
  302. package/dist/kongponents326.es.js +4 -97
  303. package/dist/kongponents327.cjs +1 -1
  304. package/dist/kongponents327.es.js +20 -171
  305. package/dist/kongponents328.cjs +1 -1
  306. package/dist/kongponents328.es.js +5 -5
  307. package/dist/kongponents329.cjs +1 -1
  308. package/dist/kongponents329.es.js +96 -6
  309. package/dist/kongponents330.cjs +1 -1
  310. package/dist/kongponents330.es.js +172 -5
  311. package/dist/kongponents331.cjs +1 -1
  312. package/dist/kongponents331.es.js +4 -4
  313. package/dist/kongponents332.cjs +1 -1
  314. package/dist/kongponents332.es.js +6 -69
  315. package/dist/kongponents333.cjs +1 -1
  316. package/dist/kongponents333.es.js +5 -2
  317. package/dist/kongponents334.cjs +1 -1
  318. package/dist/kongponents334.es.js +5 -2
  319. package/dist/kongponents335.cjs +1 -1
  320. package/dist/kongponents335.es.js +69 -54
  321. package/dist/kongponents336.cjs +1 -0
  322. package/dist/kongponents336.es.js +4 -0
  323. package/dist/kongponents337.cjs +1 -1
  324. package/dist/kongponents337.es.js +64 -8
  325. package/dist/kongponents339.cjs +1 -1
  326. package/dist/kongponents339.es.js +54 -8
  327. package/dist/kongponents341.cjs +1 -1
  328. package/dist/kongponents341.es.js +2 -15
  329. package/dist/kongponents342.cjs +1 -1
  330. package/dist/kongponents342.es.js +5 -6
  331. package/dist/kongponents343.cjs +1 -1
  332. package/dist/kongponents343.es.js +5 -3
  333. package/dist/kongponents344.cjs +1 -1
  334. package/dist/kongponents344.es.js +7 -7
  335. package/dist/kongponents345.cjs +1 -1
  336. package/dist/kongponents345.es.js +5 -2
  337. package/dist/kongponents346.cjs +1 -1
  338. package/dist/kongponents346.es.js +9 -11
  339. package/dist/kongponents347.cjs +1 -1
  340. package/dist/kongponents347.es.js +5 -7
  341. package/dist/kongponents348.cjs +1 -1
  342. package/dist/kongponents348.es.js +9 -5
  343. package/dist/kongponents349.cjs +1 -1
  344. package/dist/kongponents349.es.js +15 -2
  345. package/dist/kongponents350.cjs +1 -1
  346. package/dist/kongponents350.es.js +3 -13
  347. package/dist/kongponents351.cjs +1 -1
  348. package/dist/kongponents351.es.js +7 -4
  349. package/dist/kongponents352.cjs +1 -1
  350. package/dist/kongponents352.es.js +3 -6
  351. package/dist/kongponents353.cjs +1 -1
  352. package/dist/kongponents353.es.js +9 -28
  353. package/dist/kongponents354.cjs +1 -1
  354. package/dist/kongponents354.es.js +8 -3
  355. package/dist/kongponents355.cjs +1 -1
  356. package/dist/kongponents355.es.js +6 -26
  357. package/dist/kongponents356.cjs +1 -1
  358. package/dist/kongponents356.es.js +2 -4
  359. package/dist/kongponents357.cjs +1 -1
  360. package/dist/kongponents357.es.js +12 -3
  361. package/dist/kongponents358.cjs +1 -1
  362. package/dist/kongponents358.es.js +5 -4
  363. package/dist/kongponents359.cjs +1 -1
  364. package/dist/kongponents359.es.js +3 -4
  365. package/dist/kongponents360.cjs +1 -1
  366. package/dist/kongponents360.es.js +26 -4
  367. package/dist/kongponents361.cjs +1 -1
  368. package/dist/kongponents361.es.js +3 -14
  369. package/dist/kongponents362.cjs +1 -1
  370. package/dist/kongponents362.es.js +4 -27
  371. package/dist/kongponents363.cjs +1 -1
  372. package/dist/kongponents363.es.js +4 -16
  373. package/dist/kongponents364.cjs +1 -1
  374. package/dist/kongponents364.es.js +4 -10
  375. package/dist/kongponents365.cjs +1 -1
  376. package/dist/kongponents365.es.js +4 -5
  377. package/dist/kongponents366.cjs +1 -1
  378. package/dist/kongponents366.es.js +14 -13
  379. package/dist/kongponents367.cjs +1 -1
  380. package/dist/kongponents367.es.js +5 -8
  381. package/dist/kongponents368.cjs +1 -1
  382. package/dist/kongponents368.es.js +30 -3
  383. package/dist/kongponents369.cjs +1 -1
  384. package/dist/kongponents369.es.js +26 -5
  385. package/dist/kongponents370.cjs +1 -1
  386. package/dist/kongponents370.es.js +15 -5
  387. package/dist/kongponents371.cjs +1 -1
  388. package/dist/kongponents371.es.js +9 -7
  389. package/dist/kongponents372.cjs +1 -1
  390. package/dist/kongponents372.es.js +4 -5
  391. package/dist/kongponents373.cjs +1 -1
  392. package/dist/kongponents373.es.js +14 -8
  393. package/dist/kongponents374.cjs +1 -1
  394. package/dist/kongponents374.es.js +8 -6
  395. package/dist/kongponents375.cjs +1 -1
  396. package/dist/kongponents375.es.js +3 -10
  397. package/dist/kongponents376.cjs +1 -1
  398. package/dist/kongponents376.es.js +5 -6
  399. package/dist/kongponents377.cjs +1 -1
  400. package/dist/kongponents377.es.js +5 -21
  401. package/dist/kongponents378.cjs +1 -1
  402. package/dist/kongponents378.es.js +7 -6
  403. package/dist/kongponents379.cjs +1 -1
  404. package/dist/kongponents379.es.js +5 -6
  405. package/dist/kongponents380.cjs +1 -1
  406. package/dist/kongponents380.es.js +10 -6
  407. package/dist/kongponents381.cjs +1 -1
  408. package/dist/kongponents381.es.js +5 -8
  409. package/dist/kongponents382.cjs +1 -1
  410. package/dist/kongponents382.es.js +4 -10
  411. package/dist/kongponents383.cjs +1 -1
  412. package/dist/kongponents383.es.js +4 -5
  413. package/dist/kongponents384.cjs +1 -1
  414. package/dist/kongponents384.es.js +5 -4
  415. package/dist/kongponents385.cjs +1 -1
  416. package/dist/kongponents385.es.js +8 -5
  417. package/dist/kongponents386.cjs +1 -1
  418. package/dist/kongponents386.es.js +6 -5
  419. package/dist/kongponents387.cjs +1 -1
  420. package/dist/kongponents387.es.js +10 -2
  421. package/dist/kongponents388.cjs +1 -1
  422. package/dist/kongponents388.es.js +7 -5
  423. package/dist/kongponents389.cjs +1 -1
  424. package/dist/kongponents389.es.js +21 -82
  425. package/dist/kongponents390.cjs +1 -0
  426. package/dist/kongponents390.es.js +9 -0
  427. package/dist/kongponents391.cjs +1 -1
  428. package/dist/kongponents391.es.js +7 -41
  429. package/dist/kongponents392.cjs +1 -0
  430. package/dist/kongponents392.es.js +9 -0
  431. package/dist/kongponents393.cjs +1 -1
  432. package/dist/kongponents393.es.js +9 -5
  433. package/dist/kongponents394.cjs +1 -1
  434. package/dist/kongponents394.es.js +1 -1
  435. package/dist/kongponents396.cjs +1 -1
  436. package/dist/kongponents396.es.js +1 -1
  437. package/dist/kongponents398.cjs +1 -1
  438. package/dist/kongponents398.es.js +2 -2
  439. package/dist/kongponents399.cjs +1 -1
  440. package/dist/kongponents399.es.js +2 -2
  441. package/dist/kongponents400.cjs +1 -1
  442. package/dist/kongponents400.es.js +2 -2
  443. package/dist/kongponents401.cjs +1 -1
  444. package/dist/kongponents401.es.js +2 -2
  445. package/dist/kongponents402.cjs +1 -1
  446. package/dist/kongponents402.es.js +4 -4
  447. package/dist/kongponents405.cjs +1 -1
  448. package/dist/kongponents405.es.js +1 -1
  449. package/dist/kongponents406.cjs +1 -1
  450. package/dist/kongponents406.es.js +1 -1
  451. package/dist/kongponents408.cjs +1 -1
  452. package/dist/kongponents408.es.js +1 -1
  453. package/dist/kongponents409.cjs +1 -1
  454. package/dist/kongponents409.es.js +3 -3
  455. package/dist/kongponents411.cjs +1 -1
  456. package/dist/kongponents411.es.js +1 -1
  457. package/dist/kongponents412.cjs +1 -1
  458. package/dist/kongponents412.es.js +1 -1
  459. package/dist/kongponents452.cjs +1 -1
  460. package/dist/kongponents452.es.js +1 -1
  461. package/dist/kongponents454.cjs +1 -1
  462. package/dist/kongponents454.es.js +1 -1
  463. package/dist/kongponents459.cjs +1 -1
  464. package/dist/kongponents459.es.js +16 -63
  465. package/dist/kongponents460.cjs +1 -1
  466. package/dist/kongponents460.es.js +2 -5
  467. package/dist/kongponents461.cjs +1 -1
  468. package/dist/kongponents461.es.js +13 -13
  469. package/dist/kongponents463.cjs +1 -1
  470. package/dist/kongponents463.es.js +2 -18
  471. package/dist/kongponents464.cjs +1 -1
  472. package/dist/kongponents464.es.js +65 -2
  473. package/dist/kongponents465.cjs +1 -1
  474. package/dist/kongponents465.es.js +5 -2
  475. package/dist/kongponents466.cjs +1 -1
  476. package/dist/kongponents466.es.js +1 -1
  477. package/dist/kongponents472.cjs +1 -1
  478. package/dist/kongponents472.es.js +2 -2
  479. package/dist/kongponents473.cjs +1 -1
  480. package/dist/kongponents473.es.js +2 -2
  481. package/dist/kongponents474.cjs +1 -1
  482. package/dist/kongponents474.es.js +2 -2
  483. package/dist/kongponents475.cjs +1 -1
  484. package/dist/kongponents475.es.js +1 -1
  485. package/dist/kongponents479.cjs +1 -1
  486. package/dist/kongponents479.es.js +1 -1
  487. package/dist/kongponents480.cjs +1 -1
  488. package/dist/kongponents480.es.js +4 -4
  489. package/dist/kongponents482.cjs +1 -1
  490. package/dist/kongponents482.es.js +1 -1
  491. package/dist/kongponents485.cjs +1 -1
  492. package/dist/kongponents485.es.js +2 -2
  493. package/dist/kongponents486.cjs +1 -1
  494. package/dist/kongponents486.es.js +1 -1
  495. package/dist/kongponents487.cjs +1 -1
  496. package/dist/kongponents487.es.js +4 -4
  497. package/dist/kongponents488.cjs +1 -1
  498. package/dist/kongponents488.es.js +3 -3
  499. package/dist/kongponents494.cjs +1 -1
  500. package/dist/kongponents494.es.js +5 -5
  501. package/dist/kongponents495.cjs +1 -1
  502. package/dist/kongponents495.es.js +4 -4
  503. package/dist/kongponents496.cjs +1 -1
  504. package/dist/kongponents496.es.js +10 -5
  505. package/dist/kongponents497.cjs +1 -1
  506. package/dist/kongponents497.es.js +7 -10
  507. package/dist/kongponents498.cjs +1 -1
  508. package/dist/kongponents498.es.js +5 -6
  509. package/dist/kongponents499.cjs +1 -1
  510. package/dist/kongponents499.es.js +5 -6
  511. package/dist/kongponents500.cjs +1 -1
  512. package/dist/kongponents500.es.js +1 -1
  513. package/dist/kongponents501.cjs +1 -1
  514. package/dist/kongponents501.es.js +1 -1
  515. package/dist/kongponents503.cjs +1 -1
  516. package/dist/kongponents503.es.js +3 -3
  517. package/dist/kongponents504.cjs +1 -1
  518. package/dist/kongponents504.es.js +3 -3
  519. package/dist/kongponents505.cjs +1 -1
  520. package/dist/kongponents505.es.js +4 -4
  521. package/dist/kongponents506.cjs +1 -1
  522. package/dist/kongponents506.es.js +3 -3
  523. package/dist/kongponents509.cjs +1 -1
  524. package/dist/kongponents509.es.js +1 -1
  525. package/dist/kongponents511.cjs +1 -1
  526. package/dist/kongponents511.es.js +1 -1
  527. package/dist/kongponents536.cjs +1 -1
  528. package/dist/kongponents536.es.js +1 -1
  529. package/dist/kongponents547.cjs +1 -1
  530. package/dist/kongponents547.es.js +1 -1
  531. package/dist/kongponents548.es.js +2 -2
  532. package/dist/kongponents549.es.js +2 -2
  533. package/dist/kongponents558.cjs +1 -1
  534. package/dist/kongponents558.es.js +1 -1
  535. package/dist/kongponents563.cjs +1 -1
  536. package/dist/kongponents563.es.js +1 -1
  537. package/dist/kongponents564.cjs +1 -1
  538. package/dist/kongponents564.es.js +2 -2
  539. package/dist/kongponents565.cjs +1 -1
  540. package/dist/kongponents565.es.js +1 -1
  541. package/dist/kongponents566.cjs +1 -1
  542. package/dist/kongponents566.es.js +2 -2
  543. package/dist/kongponents567.cjs +1 -1
  544. package/dist/kongponents567.es.js +3 -3
  545. package/dist/kongponents568.cjs +1 -1
  546. package/dist/kongponents568.es.js +1 -1
  547. package/dist/kongponents573.es.js +2 -2
  548. package/dist/kongponents574.es.js +2 -2
  549. package/dist/kongponents575.cjs +1 -1
  550. package/dist/kongponents575.es.js +2 -17
  551. package/dist/kongponents576.cjs +1 -1
  552. package/dist/kongponents576.es.js +17 -2
  553. package/dist/kongponents578.cjs +1 -1
  554. package/dist/kongponents578.es.js +2 -25
  555. package/dist/kongponents579.cjs +1 -1
  556. package/dist/kongponents579.es.js +25 -2
  557. package/dist/kongponents580.cjs +1 -1
  558. package/dist/kongponents580.es.js +2 -39
  559. package/dist/kongponents581.cjs +1 -1
  560. package/dist/kongponents581.es.js +33 -20
  561. package/dist/kongponents582.cjs +1 -1
  562. package/dist/kongponents582.es.js +26 -2
  563. package/dist/kongponents80.cjs +1 -1
  564. package/dist/kongponents80.es.js +1 -1
  565. package/dist/kongponents83.cjs +1 -1
  566. package/dist/kongponents83.es.js +1 -1
  567. package/dist/kongponents85.cjs +1 -1
  568. package/dist/kongponents85.es.js +1 -1
  569. package/dist/kongponents91.cjs +1 -1
  570. package/dist/kongponents91.es.js +1 -1
  571. package/dist/kongponents95.cjs +1 -1
  572. package/dist/kongponents95.es.js +1 -1
  573. package/dist/kongponents97.cjs +1 -1
  574. package/dist/kongponents97.es.js +7 -7
  575. package/package.json +4 -4
  576. package/dist/kongponents196.cjs +0 -1
  577. package/dist/kongponents196.es.js +0 -7
  578. package/dist/kongponents239.cjs +0 -1
  579. package/dist/kongponents239.es.js +0 -7
  580. package/dist/kongponents241.cjs +0 -1
  581. package/dist/kongponents241.es.js +0 -6
  582. package/dist/kongponents243.es.js +0 -8
  583. package/dist/kongponents245.cjs +0 -1
  584. package/dist/kongponents245.es.js +0 -8
  585. package/dist/kongponents247.cjs +0 -1
  586. package/dist/kongponents247.es.js +0 -19
  587. package/dist/kongponents248.cjs +0 -1
  588. package/dist/kongponents248.es.js +0 -6
  589. package/dist/kongponents298.cjs +0 -1
  590. package/dist/kongponents298.es.js +0 -11
  591. package/dist/kongponents300.cjs +0 -1
  592. package/dist/kongponents300.es.js +0 -10
  593. package/dist/kongponents338.cjs +0 -1
  594. package/dist/kongponents338.es.js +0 -8
  595. package/dist/kongponents340.cjs +0 -1
  596. package/dist/kongponents340.es.js +0 -12
@@ -1,19 +1,54 @@
1
- import { defineComponent as r, openBlock as l, createBlock as a, Teleport as p, renderSlot as o } from "vue";
2
- const u = /* @__PURE__ */ r({
3
- __name: "KPopTeleportWrapper",
4
- props: {
5
- useTeleport: { type: Boolean },
6
- target: { default: null }
7
- },
8
- setup(e) {
9
- return (t, n) => e.useTeleport ? (l(), a(p, {
10
- key: 0,
11
- to: e.target
12
- }, [
13
- o(t.$slots, "default")
14
- ], 8, ["to"])) : o(t.$slots, "default", {}, void 0, void 0, 1);
15
- }
16
- });
1
+ import S from "./kongponents249.es.js";
2
+ import h from "./kongponents250.es.js";
3
+ import W from "./kongponents251.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
+ }
17
52
  export {
18
- u as default
53
+ _ as default
19
54
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents335.cjs");;/* empty css */const t=require("./kongponents82.cjs"),u=t.default(e.default,[["__scopeId","data-v-51a543d6"]]);exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents339.cjs");;/* empty css */const t=require("./kongponents82.cjs"),u=t.default(e.default,[["__scopeId","data-v-51a543d6"]]);exports.default=u;
@@ -1,4 +1,4 @@
1
- import o from "./kongponents335.es.js";
1
+ import o from "./kongponents339.es.js";
2
2
  /* empty css */
3
3
  import t from "./kongponents82.es.js";
4
4
  const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-51a543d6"]]);
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("./kongponents67.cjs"),a=require("./kongponents182.cjs"),l=require("./kongponents185.cjs"),s={class:"skeleton-card-wrapper"},u={class:"skeleton-card-header"},i={class:"skeleton-card-content"},k={class:"skeleton-card-footer"},m=e.defineComponent({__name:"CardSkeleton",props:{cardCount:{},maxWidth:{}},setup(r){e.useCssVars(t=>({v2bf65be7:c.value}));const c=e.computed(()=>r.maxWidth?l.normalizeSize(r.maxWidth):r.cardCount===1?"470px":`calc((100% / 3) - ${a.KUI_SPACE_50})`);return(t,h)=>(e.openBlock(),e.createElementBlock("div",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.cardCount,d=>(e.openBlock(),e.createElementBlock("div",{key:d,class:"skeleton-card"},[e.createElementVNode("div",u,[e.renderSlot(t.$slots,"card-header",{},()=>[e.createVNode(o.default,{width:"50"})],!0)]),e.createElementVNode("div",i,[e.renderSlot(t.$slots,"card-content",{},()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(3,n=>e.createVNode(o.default,{key:n,width:"100"})),64)),e.createVNode(o.default,{width:"50"})],!0)]),e.createElementVNode("div",k,[e.renderSlot(t.$slots,"card-footer",{},()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,n=>e.createVNode(o.default,{key:n,height:"2",width:"5"})),64))],!0)])]))),128))]))}});exports.default=m;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("./kongponents67.cjs"),a=require("./kongponents188.cjs"),l=require("./kongponents182.cjs"),s={class:"skeleton-card-wrapper"},u={class:"skeleton-card-header"},i={class:"skeleton-card-content"},k={class:"skeleton-card-footer"},m=e.defineComponent({__name:"CardSkeleton",props:{cardCount:{},maxWidth:{}},setup(r){e.useCssVars(t=>({v2bf65be7:c.value}));const c=e.computed(()=>r.maxWidth?l.normalizeSize(r.maxWidth):r.cardCount===1?"470px":`calc((100% / 3) - ${a.KUI_SPACE_50})`);return(t,h)=>(e.openBlock(),e.createElementBlock("div",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.cardCount,d=>(e.openBlock(),e.createElementBlock("div",{key:d,class:"skeleton-card"},[e.createElementVNode("div",u,[e.renderSlot(t.$slots,"card-header",{},()=>[e.createVNode(o.default,{width:"50"})],!0)]),e.createElementVNode("div",i,[e.renderSlot(t.$slots,"card-content",{},()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(3,n=>e.createVNode(o.default,{key:n,width:"100"})),64)),e.createVNode(o.default,{width:"50"})],!0)]),e.createElementVNode("div",k,[e.renderSlot(t.$slots,"card-footer",{},()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(2,n=>e.createVNode(o.default,{key:n,height:"2",width:"5"})),64))],!0)])]))),128))]))}});exports.default=m;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as h, useCssVars as f, computed as k, openBlock as t, createElementBlock as r, Fragment as s, renderList as c, createElementVNode as l, renderSlot as i, createVNode as n } from "vue";
2
2
  import d from "./kongponents67.es.js";
3
- import { KUI_SPACE_50 as C } from "./kongponents182.es.js";
4
- import { normalizeSize as p } from "./kongponents185.es.js";
3
+ import { KUI_SPACE_50 as C } from "./kongponents188.es.js";
4
+ import { normalizeSize as p } from "./kongponents182.es.js";
5
5
  const _ = { class: "skeleton-card-wrapper" }, v = { class: "skeleton-card-header" }, w = { class: "skeleton-card-content" }, x = { class: "skeleton-card-footer" }, E = /* @__PURE__ */ h({
6
6
  __name: "CardSkeleton",
7
7
  props: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("./kongponents387.cjs"),a={class:"fullscreen-loading-container","data-testid":"full-screen-loader"},c=["src"],u={key:0,class:"progress"},d=e.defineComponent({__name:"FullScreenKongSkeleton",props:{progress:{},hideProgress:{type:Boolean},zIndex:{}},setup(t){e.useCssVars(l=>({v4d434712:l.zIndex}));const n=e.ref(0),r=e.ref(0),o=e.computed(()=>t.progress!==null?t.progress:r.value);return e.onMounted(()=>{t.progress||(n.value=setInterval(()=>{r.value>=100&&(clearInterval(n.value),r.value=100),r.value=Math.min(r.value+Math.ceil(Math.random()*10*30),100)},200))}),e.onUnmounted(()=>{clearInterval(n.value)}),(l,i)=>(e.openBlock(),e.createElementBlock("div",a,[e.createElementVNode("div",null,[e.createElementVNode("img",{alt:"Loading",src:e.unref(s.default)},null,8,c),t.hideProgress?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("div",{class:"progress-bar",role:"progressbar",style:e.normalizeStyle({width:`${o.value}%`}),title:"Loading"},null,4)]))])]))}});exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("./kongponents341.cjs"),a={class:"fullscreen-loading-container","data-testid":"full-screen-loader"},c=["src"],u={key:0,class:"progress"},d=e.defineComponent({__name:"FullScreenKongSkeleton",props:{progress:{},hideProgress:{type:Boolean},zIndex:{}},setup(t){e.useCssVars(l=>({v4d434712:l.zIndex}));const n=e.ref(0),r=e.ref(0),o=e.computed(()=>t.progress!==null?t.progress:r.value);return e.onMounted(()=>{t.progress||(n.value=setInterval(()=>{r.value>=100&&(clearInterval(n.value),r.value=100),r.value=Math.min(r.value+Math.ceil(Math.random()*10*30),100)},200))}),e.onUnmounted(()=>{clearInterval(n.value)}),(l,i)=>(e.openBlock(),e.createElementBlock("div",a,[e.createElementVNode("div",null,[e.createElementVNode("img",{alt:"Loading",src:e.unref(s.default)},null,8,c),t.hideProgress?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("div",{class:"progress-bar",role:"progressbar",style:e.normalizeStyle({width:`${o.value}%`}),title:"Loading"},null,4)]))])]))}});exports.default=d;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, useCssVars as i, ref as s, computed as u, onMounted as m, onUnmounted as g, openBlock as l, createElementBlock as a, createElementVNode as o, unref as v, normalizeStyle as p, createCommentVNode as f } from "vue";
2
- import h from "./kongponents387.es.js";
2
+ import h from "./kongponents341.es.js";
3
3
  const I = {
4
4
  class: "fullscreen-loading-container",
5
5
  "data-testid": "full-screen-loader"
@@ -1 +1 @@
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
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("./kongponents185.cjs"),p={ref:"itemsContainer"},B={key:1,class:"select-group","data-propagate-clicks":"false"},g={class:"select-group-title"},v={class:"select-item-description"},u=".select-item button:not(:disabled)",w='.select-item[aria-selected="true"] button:not(:disabled)',C=e.defineComponent({__name:"KSelectItems",props:{items:{default:()=>[]},itemCreationEnabled:{type:Boolean},filterString:{default:""},itemCreationValid:{type:Boolean,default:!0}},emits:["selected","add-item"],setup(i,{expose:f,emit:E}){const k=E,a=n=>"items"in n&&Array.isArray(n.items),d=n=>k("selected",n),m=e.useTemplateRef("itemsContainer"),S=n=>{const o=m.value;if(!o)return;const t=o.querySelectorAll(u);if(!t?.length)return;const s=o.querySelector(w);if(s){const l=[...t].indexOf(s);t[n==="down"?l+1:l-1]?.focus()}else t[n==="down"?0:t.length-1]?.focus()},c=({target:n,key:o})=>{if(o==="ArrowDown"||o==="ArrowUp"){const t=m.value?.querySelectorAll(u);if(t?.length){const s=[...t].indexOf(n),l=o==="ArrowDown"?s+1:s-1;t[l]?.focus()}}};return f({setFocus:S}),(n,o)=>(e.openBlock(),e.createElementBlock("div",p,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.items,(t,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a(t)?`${t.key||t.label}-group`:t.key||t.value||s},[a(t)?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",g,e.toDisplayString(t.label),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,l=>(e.openBlock(),e.createBlock(r.default,{key:l.key,item:l,onKeydown:c,onSelected:d},{content:e.withCtx(()=>[e.renderSlot(n.$slots,"content",{item:l},void 0,!0)]),_:2},1032,["item"]))),128))])):(e.openBlock(),e.createBlock(r.default,{key:0,item:t,onKeydown:c,onSelected:d},{content:e.withCtx(()=>[e.renderSlot(n.$slots,"content",{item:t},void 0,!0)]),_:2},1032,["item"]))],64))),128)),i.itemCreationEnabled?(e.openBlock(),e.createBlock(r.default,{key:"select-add-item",class:"select-add-item","data-testid":"select-add-item",item:{label:`${i.filterString} (Add new value)`,value:"add_item",disabled:!i.itemCreationValid},onKeydown:c,onSelected:o[0]||(o[0]=t=>n.$emit("add-item"))},{content:e.withCtx(()=>[e.createElementVNode("div",v,[e.createTextVNode(e.toDisplayString(i.filterString)+" ",1),o[1]||(o[1]=e.createElementVNode("span",{class:"select-item-new-indicator"},"(Add new value)",-1))])]),_:1},8,["item"])):e.createCommentVNode("",!0)],512))}});exports.default=C;
@@ -1,184 +1,89 @@
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) => {
1
+ import { defineComponent as I, useTemplateRef as y, openBlock as s, createElementBlock as d, Fragment as c, renderList as w, createBlock as r, withCtx as m, renderSlot as C, createElementVNode as u, toDisplayString as v, createTextVNode as T, createCommentVNode as _ } from "vue";
2
+ import f from "./kongponents185.es.js";
3
+ const h = { ref: "itemsContainer" }, B = {
4
+ key: 1,
5
+ class: "select-group",
6
+ "data-propagate-clicks": "false"
7
+ }, K = { class: "select-group-title" }, L = { class: "select-item-description" }, g = ".select-item button:not(:disabled)", $ = '.select-item[aria-selected="true"] button:not(:disabled)', R = /* @__PURE__ */ I({
8
+ __name: "KSelectItems",
9
+ props: {
10
+ items: { default: () => [] },
11
+ itemCreationEnabled: { type: Boolean },
12
+ filterString: { default: "" },
13
+ itemCreationValid: { type: Boolean, default: !0 }
14
+ },
15
+ emits: ["selected", "add-item"],
16
+ setup(i, { expose: b, emit: k }) {
17
+ const x = k, E = (t) => "items" in t && Array.isArray(t.items), S = (t) => x("selected", t), p = y("itemsContainer"), A = (t) => {
18
+ const n = p.value;
92
19
  if (!n)
93
20
  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)
21
+ const e = n.querySelectorAll(g);
22
+ if (!e?.length)
98
23
  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);
24
+ const l = n.querySelector($);
25
+ if (l) {
26
+ const o = [...e].indexOf(l);
27
+ e[t === "down" ? o + 1 : o - 1]?.focus();
28
+ } else
29
+ e[t === "down" ? 0 : e.length - 1]?.focus();
30
+ }, a = ({ target: t, key: n }) => {
31
+ if (n === "ArrowDown" || n === "ArrowUp") {
32
+ const e = p.value?.querySelectorAll(g);
33
+ if (e?.length) {
34
+ const l = [...e].indexOf(t), o = n === "ArrowDown" ? l + 1 : l - 1;
35
+ e[o]?.focus();
36
+ }
113
37
  }
114
38
  };
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"
39
+ return b({ setFocus: A }), (t, n) => (s(), d("div", h, [
40
+ (s(!0), d(c, null, w(i.items, (e, l) => (s(), d(c, {
41
+ key: E(e) ? `${e.key || e.label}-group` : e.key || e.value || l
42
+ }, [
43
+ E(e) ? (s(), d("div", B, [
44
+ u("span", K, v(e.label), 1),
45
+ (s(!0), d(c, null, w(e.items, (o) => (s(), r(f, {
46
+ key: o.key,
47
+ item: o,
48
+ onKeydown: a,
49
+ onSelected: S
50
+ }, {
51
+ content: m(() => [
52
+ C(t.$slots, "content", { item: o }, void 0, !0)
53
+ ]),
54
+ _: 2
55
+ }, 1032, ["item"]))), 128))
56
+ ])) : (s(), r(f, {
57
+ key: 0,
58
+ item: e,
59
+ onKeydown: a,
60
+ onSelected: S
172
61
  }, {
173
- default: ee(() => [
174
- y.value && t.errorMessage ? (s(), v("div", he, V(t.errorMessage), 1)) : g("", !0)
62
+ content: m(() => [
63
+ C(t.$slots, "content", { item: e }, void 0, !0)
175
64
  ]),
176
- _: 1
177
- })
178
- ])) : g("", !0)
179
- ]));
65
+ _: 2
66
+ }, 1032, ["item"]))
67
+ ], 64))), 128)),
68
+ i.itemCreationEnabled ? (s(), r(f, {
69
+ key: "select-add-item",
70
+ class: "select-add-item",
71
+ "data-testid": "select-add-item",
72
+ item: { label: `${i.filterString} (Add new value)`, value: "add_item", disabled: !i.itemCreationValid },
73
+ onKeydown: a,
74
+ onSelected: n[0] || (n[0] = (e) => t.$emit("add-item"))
75
+ }, {
76
+ content: m(() => [
77
+ u("div", L, [
78
+ T(v(i.filterString) + " ", 1),
79
+ n[1] || (n[1] = u("span", { class: "select-item-new-indicator" }, "(Add new value)", -1))
80
+ ])
81
+ ]),
82
+ _: 1
83
+ }, 8, ["item"])) : _("", !0)
84
+ ], 512));
180
85
  }
181
86
  });
182
87
  export {
183
- He as default
88
+ R as default
184
89
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@kong/icons"),n=require("./kongponents38.cjs"),l={class:"pagination-offset-button-container"},u=e.defineComponent({__name:"PaginationOffset",props:{previousButtonDisabled:{type:Boolean,default:!1},nextButtonDisabled:{type:Boolean,default:!1}},emits:["getPreviousOffset","getNextOffset"],setup(o,{emit:s}){const a=s;return(d,t)=>(e.openBlock(),e.createElementBlock("div",l,[e.createVNode(n.default,{appearance:"tertiary","aria-label":"Go to the previous page",class:"pagination-button","data-testid":"previous-button",disabled:o.previousButtonDisabled,icon:"",size:"small",type:"button",onClick:t[0]||(t[0]=e.withModifiers(r=>a("getPreviousOffset"),["prevent"]))},{default:e.withCtx(()=>[e.createVNode(e.unref(i.BackIcon),{decorative:""})]),_:1},8,["disabled"]),e.createVNode(n.default,{appearance:"tertiary","aria-label":"Go to the next page",class:"pagination-button","data-testid":"next-button",disabled:o.nextButtonDisabled,icon:"",size:"small",type:"button",onClick:t[1]||(t[1]=e.withModifiers(r=>a("getNextOffset"),["prevent"]))},{default:e.withCtx(()=>[e.createVNode(e.unref(i.ForwardIcon),{decorative:""})]),_:1},8,["disabled"])]))}});exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=["aria-selected","data-testid"],r={class:"select-item-container"},c=["disabled","value"],m={class:"select-item-label"},u=e.defineComponent({__name:"KSelectItem",props:{item:{}},emits:["selected","arrow-down","arrow-up"],setup(t,{emit:s}){const n=s,o=i=>{if(t.item.disabled){i.stopPropagation();return}n("selected",t.item)};return(i,l)=>(e.openBlock(),e.createElementBlock("div",{key:t.item.key,"aria-selected":t.item.selected,class:"select-item","data-testid":`select-item-${t.item.value}`,role:"option"},[e.createElementVNode("div",r,[e.createElementVNode("button",{class:e.normalizeClass({selected:t.item.selected}),disabled:t.item.disabled===!0?!0:void 0,type:"button",value:t.item.value,onClick:o,onKeydown:[l[0]||(l[0]=e.withKeys(e.withModifiers(d=>i.$emit("arrow-down"),["prevent"]),["down"])),l[1]||(l[1]=e.withKeys(e.withModifiers(d=>i.$emit("arrow-up"),["prevent"]),["up"]))]},[e.createElementVNode("span",m,[e.renderSlot(i.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(t.item.label),1)],!0)])],42,c)])],8,a))}});exports.default=u;
@@ -1,57 +1,47 @@
1
- import { defineComponent as u, openBlock as f, createElementBlock as p, createVNode as e, withModifiers as n, withCtx as i, unref as s } from "vue";
2
- import { BackIcon as c, ForwardIcon as b } from "@kong/icons";
3
- import r from "./kongponents38.es.js";
4
- const m = { class: "pagination-offset-button-container" }, y = /* @__PURE__ */ u({
5
- __name: "PaginationOffset",
1
+ import { defineComponent as r, openBlock as c, createElementBlock as u, createElementVNode as l, withKeys as s, withModifiers as n, normalizeClass as v, renderSlot as w, createTextVNode as b, toDisplayString as f } from "vue";
2
+ const k = ["aria-selected", "data-testid"], y = { class: "select-item-container" }, $ = ["disabled", "value"], h = { class: "select-item-label" }, K = /* @__PURE__ */ r({
3
+ __name: "KSelectItem",
6
4
  props: {
7
- previousButtonDisabled: {
8
- type: Boolean,
9
- default: !1
10
- },
11
- nextButtonDisabled: {
12
- type: Boolean,
13
- default: !1
14
- }
5
+ item: {}
15
6
  },
16
- emits: ["getPreviousOffset", "getNextOffset"],
17
- setup(o, { emit: l }) {
18
- const a = l;
19
- return (v, t) => (f(), p("div", m, [
20
- e(r, {
21
- appearance: "tertiary",
22
- "aria-label": "Go to the previous page",
23
- class: "pagination-button",
24
- "data-testid": "previous-button",
25
- disabled: o.previousButtonDisabled,
26
- icon: "",
27
- size: "small",
28
- type: "button",
29
- onClick: t[0] || (t[0] = n((d) => a("getPreviousOffset"), ["prevent"]))
30
- }, {
31
- default: i(() => [
32
- e(s(c), { decorative: "" })
33
- ]),
34
- _: 1
35
- }, 8, ["disabled"]),
36
- e(r, {
37
- appearance: "tertiary",
38
- "aria-label": "Go to the next page",
39
- class: "pagination-button",
40
- "data-testid": "next-button",
41
- disabled: o.nextButtonDisabled,
42
- icon: "",
43
- size: "small",
44
- type: "button",
45
- onClick: t[1] || (t[1] = n((d) => a("getNextOffset"), ["prevent"]))
46
- }, {
47
- default: i(() => [
48
- e(s(b), { decorative: "" })
49
- ]),
50
- _: 1
51
- }, 8, ["disabled"])
52
- ]));
7
+ emits: ["selected", "arrow-down", "arrow-up"],
8
+ setup(e, { emit: o }) {
9
+ const a = o, d = (t) => {
10
+ if (e.item.disabled) {
11
+ t.stopPropagation();
12
+ return;
13
+ }
14
+ a("selected", e.item);
15
+ };
16
+ return (t, i) => (c(), u("div", {
17
+ key: e.item.key,
18
+ "aria-selected": e.item.selected,
19
+ class: "select-item",
20
+ "data-testid": `select-item-${e.item.value}`,
21
+ role: "option"
22
+ }, [
23
+ l("div", y, [
24
+ l("button", {
25
+ class: v({ selected: e.item.selected }),
26
+ disabled: e.item.disabled === !0 ? !0 : void 0,
27
+ type: "button",
28
+ value: e.item.value,
29
+ onClick: d,
30
+ onKeydown: [
31
+ i[0] || (i[0] = s(n((m) => t.$emit("arrow-down"), ["prevent"]), ["down"])),
32
+ i[1] || (i[1] = s(n((m) => t.$emit("arrow-up"), ["prevent"]), ["up"]))
33
+ ]
34
+ }, [
35
+ l("span", h, [
36
+ w(t.$slots, "content", {}, () => [
37
+ b(f(e.item.label), 1)
38
+ ], !0)
39
+ ])
40
+ ], 42, $)
41
+ ])
42
+ ], 8, k));
53
43
  }
54
44
  });
55
45
  export {
56
- y as default
46
+ K as default
57
47
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./kongponents253.cjs");var r=/[\\^$.*+?()[\]{}|]/g,a=RegExp(r.source);function t(e){return e=u.default(e),e&&a.test(e)?e.replace(r,"\\$&"):e}exports.default=t;
@@ -0,0 +1,8 @@
1
+ import p from "./kongponents253.es.js";
2
+ var a = /[\\^$.*+?()[\]{}|]/g, r = RegExp(a.source);
3
+ function x(e) {
4
+ return e = p(e), e && r.test(e) ? e.replace(a, "\\$&") : e;
5
+ }
6
+ export {
7
+ x as default
8
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./kongponents242.cjs");var r=/[\\^$.*+?()[\]{}|]/g,a=RegExp(r.source);function t(e){return e=u.default(e),e&&a.test(e)?e.replace(r,"\\$&"):e}exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents201.cjs");exports.default=e.default;
@@ -1,8 +1,4 @@
1
- import p from "./kongponents242.es.js";
2
- var a = /[\\^$.*+?()[\]{}|]/g, r = RegExp(a.source);
3
- function x(e) {
4
- return e = p(e), e && r.test(e) ? e.replace(a, "\\$&") : e;
5
- }
1
+ import f from "./kongponents201.es.js";
6
2
  export {
7
- x as default
3
+ f as default
8
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function u(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("./kongponents49.cjs"),C=require("./kongponents50.cjs"),h=require("./kongponents55.cjs"),S=require("./kongponents342.cjs"),b=require("@kong/icons"),B={key:0,class:"item-filtering-wrapper"},T={key:1,class:"no-items","data-testid":"filter-selector-no-items"},F={ref:"itemWrapper",class:"items-wrapper"},V=e.defineComponent({__name:"FilterSelector",props:{filters:{},itemFiltering:{type:Boolean,default:!1},label:{default:"Add filter"}},emits:["select"],setup(r,{emit:u}){const s=e.useTemplateRef("filterSelector"),d=e.useTemplateRef("itemWrapper"),f=e.useTemplateRef("itemFilteringInput"),a=e.ref(!1),i=e.ref(""),m=e.computed(()=>i.value.toLocaleLowerCase()),n=e.ref(!1),c=e.computed(()=>Object.entries(r.filters).filter(([,t])=>(r.itemFiltering===!1||t.label.toLocaleLowerCase().includes(m.value))&&!t.readonly).map(([t,l])=>({label:l.label,value:t,onClick:()=>v(t)}))),p=u,v=t=>{p("select",t)},g=async t=>{t?(n.value=!0,await e.nextTick(),i.value="",f.value?.input?.focus()):n.value=!1,a.value=!a.value},k=async()=>{a.value?s.value?.closeDropdown():(s.value?.openDropdown(),await e.nextTick(),d.value?.scrollTo({top:0}))};return(t,l)=>(e.openBlock(),e.createBlock(w.default,{ref:"filterSelector",width:"auto",onToggleDropdown:g},{default:e.withCtx(()=>[e.createVNode(S.default,{"data-testid":"filter-selector",label:r.label,"pill-focus":n.value,onClick:l[0]||(l[0]=e.withModifiers(()=>{},["prevent","stop"])),onTrigger:k},{"open-icon":e.withCtx(()=>[e.createVNode(e.unref(b.AddIcon),{decorative:""})]),_:1},8,["label","pill-focus"])]),items:e.withCtx(()=>[r.itemFiltering?(e.openBlock(),e.createElementBlock("div",B,[e.createVNode(h.default,{ref:"itemFilteringInput",modelValue:i.value,"onUpdate:modelValue":l[1]||(l[1]=o=>i.value=o),"data-testid":"filter-selector-item-filtering",placeholder:"Search…",onClick:l[2]||(l[2]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue"])])):e.createCommentVNode("",!0),r.itemFiltering&&c.value.length===0?(e.openBlock(),e.createElementBlock("div",T," No filters found ")):e.createCommentVNode("",!0),e.createElementVNode("div",F,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,o=>(e.openBlock(),e.createBlock(C.default,{key:o.value,"data-testid":"dropdown-item-trigger",item:o,value:o.value,onClick:o.onClick},{default:e.withCtx(()=>[e.renderSlot(t.$slots,`filter-item-${o.value}`,{},()=>[e.createTextVNode(e.toDisplayString(o.label),1)],!0)]),_:2},1032,["item","value","onClick"]))),128))],512)]),_:3},512))}});exports.default=V;