@kong/kongponents 9.48.5 → 9.48.6-pr.3019.6ecf9ff.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 (733) hide show
  1. package/dist/kongponents.es105.js +5 -5
  2. package/dist/kongponents.es107.js +3 -3
  3. package/dist/kongponents.es109.js +4 -4
  4. package/dist/kongponents.es113.js +2 -2
  5. package/dist/kongponents.es115.js +5 -5
  6. package/dist/kongponents.es117.js +2 -2
  7. package/dist/kongponents.es119.js +11 -11
  8. package/dist/kongponents.es122.js +5 -5
  9. package/dist/kongponents.es124.js +7 -7
  10. package/dist/kongponents.es128.js +2 -2
  11. package/dist/kongponents.es130.js +1 -1
  12. package/dist/kongponents.es132.js +11 -11
  13. package/dist/kongponents.es139.js +4 -4
  14. package/dist/kongponents.es141.js +1 -1
  15. package/dist/kongponents.es143.js +6 -6
  16. package/dist/kongponents.es147.js +2 -2
  17. package/dist/kongponents.es149.js +7 -7
  18. package/dist/kongponents.es151.js +1 -1
  19. package/dist/kongponents.es154.js +4 -4
  20. package/dist/kongponents.es156.js +5 -5
  21. package/dist/kongponents.es158.js +3 -3
  22. package/dist/kongponents.es160.js +13 -13
  23. package/dist/kongponents.es166.js +9 -119
  24. package/dist/kongponents.es167.js +7 -118
  25. package/dist/kongponents.es168.js +4 -119
  26. package/dist/kongponents.es169.js +3 -119
  27. package/dist/kongponents.es170.js +9 -119
  28. package/dist/kongponents.es171.js +102 -113
  29. package/dist/kongponents.es172.js +119 -18
  30. package/dist/kongponents.es173.js +119 -5
  31. package/dist/kongponents.es174.js +2 -5
  32. package/dist/kongponents.es175.js +317 -5
  33. package/dist/kongponents.es176.js +39 -5
  34. package/dist/kongponents.es177.js +98 -5
  35. package/dist/kongponents.es178.js +119 -5
  36. package/dist/kongponents.es179.js +119 -5
  37. package/dist/kongponents.es180.js +23 -24
  38. package/dist/kongponents.es181.js +113 -102
  39. package/dist/kongponents.es182.js +119 -9
  40. package/dist/kongponents.es183.js +119 -7
  41. package/dist/kongponents.es184.js +119 -4
  42. package/dist/kongponents.es185.js +119 -3
  43. package/dist/kongponents.es186.js +18 -9
  44. package/dist/kongponents.es187.js +18 -119
  45. package/dist/kongponents.es188.js +5 -119
  46. package/dist/kongponents.es189.js +51 -17
  47. package/dist/kongponents.es190.js +116 -111
  48. package/dist/kongponents.es192.js +115 -162
  49. package/dist/kongponents.es193.js +5 -396
  50. package/dist/kongponents.es194.js +8 -5
  51. package/dist/kongponents.es195.js +59 -101
  52. package/dist/kongponents.es196.js +35 -35
  53. package/dist/kongponents.es197.js +119 -5
  54. package/dist/kongponents.es198.js +16 -16
  55. package/dist/kongponents.es199.js +118 -23
  56. package/dist/kongponents.es200.js +19 -19
  57. package/dist/kongponents.es201.js +19 -19
  58. package/dist/kongponents.es202.js +96 -113
  59. package/dist/kongponents.es203.js +166 -5
  60. package/dist/kongponents.es204.js +4 -4
  61. package/dist/kongponents.es205.js +18 -18
  62. package/dist/kongponents.es206.js +119 -15
  63. package/dist/kongponents.es207.js +23 -118
  64. package/dist/kongponents.es208.js +119 -5
  65. package/dist/kongponents.es209.js +121 -0
  66. package/dist/kongponents.es21.js +8 -8
  67. package/dist/kongponents.es210.js +18 -18
  68. package/dist/kongponents.es211.js +119 -5
  69. package/dist/kongponents.es212.js +113 -7
  70. package/dist/kongponents.es213.js +17 -60
  71. package/dist/kongponents.es214.js +396 -5
  72. package/dist/kongponents.es215.js +5 -3
  73. package/dist/kongponents.es216.js +5 -5
  74. package/dist/kongponents.es217.js +185 -115
  75. package/dist/kongponents.es218.js +17 -17
  76. package/dist/kongponents.es219.js +33 -33
  77. package/dist/kongponents.es220.js +5 -119
  78. package/dist/kongponents.es221.js +4 -6
  79. package/dist/kongponents.es222.js +10 -189
  80. package/dist/kongponents.es223.js +15 -119
  81. package/dist/kongponents.es224.js +22 -22
  82. package/dist/kongponents.es225.js +5 -317
  83. package/dist/kongponents.es226.js +5 -39
  84. package/dist/kongponents.es227.js +5 -98
  85. package/dist/kongponents.es228.js +5 -119
  86. package/dist/kongponents.es229.js +5 -119
  87. package/dist/kongponents.es230.js +5 -119
  88. package/dist/kongponents.es231.js +5 -119
  89. package/dist/kongponents.es232.js +5 -52
  90. package/dist/kongponents.es233.js +5 -119
  91. package/dist/kongponents.es234.js +5 -119
  92. package/dist/kongponents.es235.js +21 -21
  93. package/dist/kongponents.es236.js +18 -18
  94. package/dist/kongponents.es237.js +119 -5
  95. package/dist/kongponents.es238.js +119 -10
  96. package/dist/kongponents.es239.js +5 -24
  97. package/dist/kongponents.es24.js +1 -1
  98. package/dist/{kongponents.es251.js → kongponents.es240.js} +1 -1
  99. package/dist/kongponents.es241.js +318 -46
  100. package/dist/kongponents.es242.js +8 -0
  101. package/dist/kongponents.es243.js +469 -32
  102. package/dist/kongponents.es244.js +25 -0
  103. package/dist/kongponents.es245.js +53 -20
  104. package/dist/kongponents.es248.js +136 -0
  105. package/dist/kongponents.es249.js +2 -41
  106. package/dist/kongponents.es250.js +186 -0
  107. package/dist/kongponents.es252.js +2 -320
  108. package/dist/kongponents.es253.js +115 -48
  109. package/dist/kongponents.es254.js +121 -0
  110. package/dist/kongponents.es255.js +111 -463
  111. package/dist/kongponents.es256.js +4 -22
  112. package/dist/kongponents.es257.js +5 -134
  113. package/dist/kongponents.es258.js +20 -2
  114. package/dist/kongponents.es259.js +4 -95
  115. package/dist/kongponents.es26.js +4 -4
  116. package/dist/kongponents.es260.js +7 -0
  117. package/dist/kongponents.es261.js +6 -45
  118. package/dist/kongponents.es262.js +11 -0
  119. package/dist/kongponents.es263.js +6 -176
  120. package/dist/kongponents.es264.js +6 -0
  121. package/dist/kongponents.es265.js +16 -55
  122. package/dist/kongponents.es266.js +6 -0
  123. package/dist/kongponents.es267.js +8 -2
  124. package/dist/kongponents.es268.js +7 -119
  125. package/dist/kongponents.es269.js +4 -119
  126. package/dist/kongponents.es270.js +2 -119
  127. package/dist/kongponents.es271.js +6 -184
  128. package/dist/kongponents.es272.js +12 -0
  129. package/dist/kongponents.es273.js +5 -91
  130. package/dist/kongponents.es274.js +6 -0
  131. package/dist/kongponents.es275.js +3 -41
  132. package/dist/kongponents.es276.js +6 -0
  133. package/dist/kongponents.es277.js +8 -218
  134. package/dist/kongponents.es278.js +6 -369
  135. package/dist/kongponents.es279.js +5 -130
  136. package/dist/kongponents.es28.js +3 -3
  137. package/dist/{kongponents.es306.js → kongponents.es280.js} +3 -3
  138. package/dist/kongponents.es281.js +5 -4
  139. package/dist/kongponents.es282.js +9 -5
  140. package/dist/kongponents.es283.js +6 -19
  141. package/dist/kongponents.es284.js +17 -3
  142. package/dist/kongponents.es285.js +11 -5
  143. package/dist/kongponents.es286.js +6 -4
  144. package/dist/kongponents.es287.js +12 -5
  145. package/dist/kongponents.es288.js +9 -8
  146. package/dist/kongponents.es289.js +5 -5
  147. package/dist/kongponents.es290.js +8 -3
  148. package/dist/kongponents.es291.js +15 -16
  149. package/dist/kongponents.es292.js +15 -1
  150. package/dist/kongponents.es293.js +6 -8
  151. package/dist/kongponents.es294.js +10 -6
  152. package/dist/kongponents.es295.js +6 -3
  153. package/dist/kongponents.es296.js +8 -2
  154. package/dist/kongponents.es297.js +5 -5
  155. package/dist/kongponents.es298.js +6 -9
  156. package/dist/kongponents.es299.js +9 -4
  157. package/dist/kongponents.es300.js +8 -4
  158. package/dist/kongponents.es301.js +3 -2
  159. package/dist/kongponents.es302.js +5 -3
  160. package/dist/kongponents.es303.js +15 -7
  161. package/dist/kongponents.es304.js +218 -7
  162. package/dist/kongponents.es305.js +176 -5
  163. package/dist/kongponents.es307.js +64 -6
  164. package/dist/kongponents.es309.js +24 -7
  165. package/dist/kongponents.es311.js +48 -12
  166. package/dist/kongponents.es313.js +34 -13
  167. package/dist/kongponents.es315.js +23 -6
  168. package/dist/kongponents.es317.js +45 -16
  169. package/dist/kongponents.es319.js +41 -6
  170. package/dist/kongponents.es321.js +52 -7
  171. package/dist/kongponents.es323.js +368 -4
  172. package/dist/kongponents.es324.js +128 -5
  173. package/dist/kongponents.es325.js +91 -10
  174. package/dist/kongponents.es327.js +41 -4
  175. package/dist/kongponents.es329.js +8 -15
  176. package/dist/kongponents.es330.js +7 -2
  177. package/dist/kongponents.es331.js +8 -2
  178. package/dist/kongponents.es332.js +5 -64
  179. package/dist/kongponents.es333.js +12 -0
  180. package/dist/kongponents.es334.js +9 -6
  181. package/dist/kongponents.es335.js +636 -8
  182. package/dist/kongponents.es336.js +74 -7
  183. package/dist/kongponents.es337.js +4 -7
  184. package/dist/kongponents.es338.js +19 -4
  185. package/dist/kongponents.es339.js +4 -9
  186. package/dist/kongponents.es340.js +18 -9
  187. package/dist/kongponents.es341.js +7 -636
  188. package/dist/kongponents.es342.js +6 -74
  189. package/dist/kongponents.es343.js +8 -4
  190. package/dist/kongponents.es344.js +7 -19
  191. package/dist/kongponents.es345.js +4 -4
  192. package/dist/kongponents.es346.js +20 -17
  193. package/dist/kongponents.es347.js +5 -8
  194. package/dist/kongponents.es348.js +110 -5
  195. package/dist/kongponents.es349.js +171 -8
  196. package/dist/kongponents.es350.js +5 -8
  197. package/dist/kongponents.es351.js +6 -4
  198. package/dist/kongponents.es352.js +5 -21
  199. package/dist/kongponents.es353.js +5 -5
  200. package/dist/kongponents.es354.js +64 -105
  201. package/dist/kongponents.es355.js +2 -172
  202. package/dist/kongponents.es356.js +1557 -5
  203. package/dist/kongponents.es357.js +5 -7
  204. package/dist/kongponents.es358.js +5774 -5
  205. package/dist/kongponents.es359.js +6 -5
  206. package/dist/kongponents.es360.js +94 -69
  207. package/dist/kongponents.es362.js +34 -5763
  208. package/dist/kongponents.es364.js +7 -5
  209. package/dist/kongponents.es365.js +6 -9
  210. package/dist/kongponents.es366.js +9 -10
  211. package/dist/kongponents.es367.js +8 -13
  212. package/dist/kongponents.es368.js +14 -5
  213. package/dist/kongponents.es369.js +6 -3
  214. package/dist/kongponents.es370.js +3 -8
  215. package/dist/kongponents.es371.js +8 -3
  216. package/dist/kongponents.es372.js +3 -11
  217. package/dist/kongponents.es373.js +10 -7
  218. package/dist/kongponents.es374.js +7 -5
  219. package/dist/kongponents.es375.js +6 -2
  220. package/dist/kongponents.es376.js +1 -1
  221. package/dist/kongponents.es378.js +2 -3
  222. package/dist/kongponents.es379.js +3 -26
  223. package/dist/kongponents.es380.js +26 -4
  224. package/dist/kongponents.es381.js +4 -4
  225. package/dist/kongponents.es382.js +3 -3
  226. package/dist/kongponents.es383.js +4 -4
  227. package/dist/kongponents.es384.js +4 -4
  228. package/dist/kongponents.es385.js +3 -14
  229. package/dist/kongponents.es386.js +14 -5
  230. package/dist/kongponents.es387.js +5 -29
  231. package/dist/kongponents.es388.js +25 -22
  232. package/dist/kongponents.es389.js +26 -15
  233. package/dist/kongponents.es390.js +15 -9
  234. package/dist/kongponents.es391.js +9 -4
  235. package/dist/kongponents.es392.js +4 -13
  236. package/dist/kongponents.es393.js +13 -8
  237. package/dist/kongponents.es394.js +9 -3
  238. package/dist/kongponents.es395.js +3 -6
  239. package/dist/kongponents.es396.js +5 -5
  240. package/dist/kongponents.es397.js +5 -7
  241. package/dist/kongponents.es398.js +7 -5
  242. package/dist/kongponents.es399.js +4 -9
  243. package/dist/kongponents.es400.js +10 -5
  244. package/dist/kongponents.es401.js +4 -3
  245. package/dist/kongponents.es402.js +4 -4
  246. package/dist/kongponents.es403.js +4 -5
  247. package/dist/kongponents.es404.js +5 -7
  248. package/dist/kongponents.es405.js +8 -7
  249. package/dist/kongponents.es406.js +7 -10
  250. package/dist/kongponents.es407.js +10 -7
  251. package/dist/kongponents.es408.js +6 -21
  252. package/dist/kongponents.es409.js +21 -6
  253. package/dist/kongponents.es410.js +4 -4
  254. package/dist/kongponents.es411.js +6 -6
  255. package/dist/kongponents.es412.js +5 -7
  256. package/dist/kongponents.es413.js +8 -1556
  257. package/dist/kongponents.es414.js +95 -5
  258. package/dist/kongponents.es416.js +2 -95
  259. package/dist/kongponents.es418.js +2 -11
  260. package/dist/kongponents.es419.js +9 -15
  261. package/dist/kongponents.es420.js +9 -9
  262. package/dist/kongponents.es421.js +12 -10
  263. package/dist/kongponents.es422.js +10 -12
  264. package/dist/kongponents.es423.js +18 -10
  265. package/dist/kongponents.es424.js +5 -18
  266. package/dist/kongponents.es425.js +55 -6
  267. package/dist/kongponents.es426.js +71 -54
  268. package/dist/kongponents.es427.js +2 -2
  269. package/dist/kongponents.es428.js +11 -63
  270. package/dist/kongponents.es429.js +22 -4
  271. package/dist/kongponents.es430.js +19 -69
  272. package/dist/kongponents.es431.js +21 -2
  273. package/dist/kongponents.es432.js +648 -11
  274. package/dist/kongponents.es433.js +82 -21
  275. package/dist/kongponents.es434.js +12 -19
  276. package/dist/kongponents.es435.js +26 -20
  277. package/dist/kongponents.es436.js +14 -647
  278. package/dist/kongponents.es437.js +13 -82
  279. package/dist/kongponents.es438.js +15 -13
  280. package/dist/kongponents.es439.js +14 -26
  281. package/dist/kongponents.es440.js +23 -16
  282. package/dist/kongponents.es441.js +11 -8
  283. package/dist/kongponents.es442.js +2 -17
  284. package/dist/kongponents.es443.js +16 -13
  285. package/dist/kongponents.es444.js +61 -20
  286. package/dist/kongponents.es445.js +4 -17
  287. package/dist/kongponents.es447.js +2 -18
  288. package/dist/kongponents.es448.js +11 -2
  289. package/dist/kongponents.es449.js +17 -2
  290. package/dist/kongponents.es450.js +1 -1
  291. package/dist/kongponents.es456.js +2 -2
  292. package/dist/kongponents.es457.js +2 -2
  293. package/dist/kongponents.es458.js +2 -2
  294. package/dist/kongponents.es459.js +1 -1
  295. package/dist/kongponents.es463.js +1 -1
  296. package/dist/kongponents.es464.js +4 -4
  297. package/dist/kongponents.es466.js +1 -1
  298. package/dist/kongponents.es467.js +5 -5
  299. package/dist/kongponents.es468.js +1 -1
  300. package/dist/kongponents.es469.js +67 -8
  301. package/dist/kongponents.es470.js +31 -11
  302. package/dist/kongponents.es471.js +11 -14
  303. package/dist/kongponents.es472.js +121 -14
  304. package/dist/kongponents.es473.js +84 -65
  305. package/dist/kongponents.es474.js +8 -31
  306. package/dist/kongponents.es475.js +11 -11
  307. package/dist/kongponents.es476.js +14 -121
  308. package/dist/kongponents.es477.js +14 -86
  309. package/dist/kongponents.es480.js +2 -2
  310. package/dist/kongponents.es482.js +4 -4
  311. package/dist/kongponents.es486.js +3 -3
  312. package/dist/kongponents.es487.js +3 -3
  313. package/dist/kongponents.es488.js +3 -3
  314. package/dist/kongponents.es489.js +3 -3
  315. package/dist/kongponents.es490.js +5 -5
  316. package/dist/kongponents.es492.js +1 -1
  317. package/dist/kongponents.es498.js +1 -1
  318. package/dist/kongponents.es507.js +1 -1
  319. package/dist/kongponents.es508.js +3 -3
  320. package/dist/kongponents.es509.js +4 -4
  321. package/dist/kongponents.es510.js +10 -4
  322. package/dist/kongponents.es511.js +6 -10
  323. package/dist/kongponents.es512.js +6 -6
  324. package/dist/kongponents.es513.js +4 -6
  325. package/dist/kongponents.es542.js +3 -3
  326. package/dist/kongponents.es543.js +2 -2
  327. package/dist/kongponents.es546.js +5 -5
  328. package/dist/kongponents.es547.js +5 -5
  329. package/dist/kongponents.es552.js +1 -1
  330. package/dist/kongponents.es553.js +3 -3
  331. package/dist/kongponents.es554.js +1 -1
  332. package/dist/kongponents.es555.js +3 -3
  333. package/dist/kongponents.es556.js +4 -4
  334. package/dist/kongponents.es557.js +1 -1
  335. package/dist/kongponents.es591.js +2 -2
  336. package/dist/kongponents.es592.js +2 -2
  337. package/dist/kongponents.es593.js +2 -17
  338. package/dist/kongponents.es594.js +17 -2
  339. package/dist/kongponents.es596.js +2 -25
  340. package/dist/kongponents.es597.js +25 -2
  341. package/dist/kongponents.es598.js +2 -39
  342. package/dist/kongponents.es599.js +33 -20
  343. package/dist/kongponents.es600.js +26 -2
  344. package/dist/kongponents.es72.js +7 -7
  345. package/dist/kongponents.es75.js +1 -1
  346. package/dist/kongponents.es77.js +1 -1
  347. package/dist/kongponents.es83.js +1 -1
  348. package/dist/kongponents.es87.js +3 -3
  349. package/dist/kongponents.es89.js +15 -15
  350. package/dist/kongponents.es94.js +2 -2
  351. package/dist/kongponents.es96.js +6 -6
  352. package/dist/kongponents.es99.js +2 -2
  353. package/dist/kongponents105.cjs +1 -1
  354. package/dist/kongponents107.cjs +1 -1
  355. package/dist/kongponents109.cjs +1 -1
  356. package/dist/kongponents113.cjs +1 -1
  357. package/dist/kongponents115.cjs +1 -1
  358. package/dist/kongponents117.cjs +1 -1
  359. package/dist/kongponents119.cjs +1 -1
  360. package/dist/kongponents122.cjs +1 -1
  361. package/dist/kongponents124.cjs +1 -1
  362. package/dist/kongponents128.cjs +1 -1
  363. package/dist/kongponents130.cjs +1 -1
  364. package/dist/kongponents132.cjs +1 -1
  365. package/dist/kongponents139.cjs +1 -1
  366. package/dist/kongponents141.cjs +1 -1
  367. package/dist/kongponents143.cjs +1 -1
  368. package/dist/kongponents147.cjs +1 -1
  369. package/dist/kongponents149.cjs +1 -1
  370. package/dist/kongponents151.cjs +1 -1
  371. package/dist/kongponents154.cjs +1 -1
  372. package/dist/kongponents156.cjs +1 -1
  373. package/dist/kongponents158.cjs +1 -1
  374. package/dist/kongponents160.cjs +1 -1
  375. package/dist/kongponents166.cjs +1 -1
  376. package/dist/kongponents167.cjs +1 -1
  377. package/dist/kongponents168.cjs +1 -1
  378. package/dist/kongponents169.cjs +1 -1
  379. package/dist/kongponents170.cjs +1 -1
  380. package/dist/kongponents171.cjs +1 -1
  381. package/dist/kongponents172.cjs +1 -1
  382. package/dist/kongponents173.cjs +1 -1
  383. package/dist/kongponents174.cjs +1 -1
  384. package/dist/kongponents175.cjs +1 -1
  385. package/dist/kongponents176.cjs +1 -1
  386. package/dist/kongponents177.cjs +2 -1
  387. package/dist/kongponents178.cjs +1 -1
  388. package/dist/kongponents179.cjs +1 -1
  389. package/dist/kongponents180.cjs +1 -2
  390. package/dist/kongponents181.cjs +1 -1
  391. package/dist/kongponents182.cjs +1 -1
  392. package/dist/kongponents183.cjs +2 -1
  393. package/dist/kongponents184.cjs +1 -1
  394. package/dist/kongponents185.cjs +1 -1
  395. package/dist/kongponents186.cjs +1 -1
  396. package/dist/kongponents187.cjs +1 -1
  397. package/dist/kongponents188.cjs +1 -1
  398. package/dist/kongponents189.cjs +1 -1
  399. package/dist/kongponents190.cjs +1 -1
  400. package/dist/kongponents192.cjs +1 -1
  401. package/dist/kongponents193.cjs +1 -1
  402. package/dist/kongponents194.cjs +1 -1
  403. package/dist/kongponents195.cjs +1 -5
  404. package/dist/kongponents196.cjs +1 -1
  405. package/dist/kongponents197.cjs +1 -1
  406. package/dist/kongponents198.cjs +1 -1
  407. package/dist/kongponents199.cjs +1 -1
  408. package/dist/kongponents200.cjs +1 -1
  409. package/dist/kongponents201.cjs +1 -1
  410. package/dist/kongponents202.cjs +5 -1
  411. package/dist/kongponents203.cjs +1 -1
  412. package/dist/kongponents204.cjs +1 -1
  413. package/dist/kongponents205.cjs +1 -1
  414. package/dist/kongponents206.cjs +1 -1
  415. package/dist/kongponents207.cjs +1 -1
  416. package/dist/kongponents208.cjs +1 -1
  417. package/dist/kongponents209.cjs +1 -0
  418. package/dist/kongponents21.cjs +1 -1
  419. package/dist/kongponents210.cjs +1 -1
  420. package/dist/kongponents211.cjs +1 -1
  421. package/dist/kongponents212.cjs +1 -1
  422. package/dist/kongponents213.cjs +1 -1
  423. package/dist/kongponents214.cjs +1 -1
  424. package/dist/kongponents215.cjs +1 -1
  425. package/dist/kongponents216.cjs +1 -1
  426. package/dist/kongponents217.cjs +1 -1
  427. package/dist/kongponents218.cjs +1 -1
  428. package/dist/kongponents219.cjs +1 -1
  429. package/dist/kongponents220.cjs +1 -1
  430. package/dist/kongponents221.cjs +1 -1
  431. package/dist/kongponents222.cjs +1 -1
  432. package/dist/kongponents223.cjs +1 -1
  433. package/dist/kongponents224.cjs +1 -1
  434. package/dist/kongponents225.cjs +1 -1
  435. package/dist/kongponents226.cjs +1 -1
  436. package/dist/kongponents227.cjs +1 -2
  437. package/dist/kongponents228.cjs +1 -1
  438. package/dist/kongponents229.cjs +1 -1
  439. package/dist/kongponents230.cjs +1 -1
  440. package/dist/kongponents231.cjs +1 -1
  441. package/dist/kongponents232.cjs +1 -1
  442. package/dist/kongponents233.cjs +1 -1
  443. package/dist/kongponents234.cjs +1 -1
  444. package/dist/kongponents235.cjs +1 -1
  445. package/dist/kongponents236.cjs +1 -1
  446. package/dist/kongponents237.cjs +1 -1
  447. package/dist/kongponents238.cjs +1 -1
  448. package/dist/kongponents239.cjs +1 -1
  449. package/dist/kongponents24.cjs +1 -1
  450. package/dist/{kongponents251.cjs → kongponents240.cjs} +1 -1
  451. package/dist/kongponents241.cjs +1 -1
  452. package/dist/kongponents242.cjs +1 -0
  453. package/dist/kongponents243.cjs +5 -1
  454. package/dist/kongponents244.cjs +1 -0
  455. package/dist/kongponents245.cjs +1 -1
  456. package/dist/kongponents248.cjs +1 -0
  457. package/dist/kongponents249.cjs +1 -1
  458. package/dist/kongponents250.cjs +1 -0
  459. package/dist/kongponents252.cjs +1 -1
  460. package/dist/kongponents253.cjs +1 -1
  461. package/dist/kongponents254.cjs +1 -0
  462. package/dist/kongponents255.cjs +1 -5
  463. package/dist/kongponents256.cjs +1 -1
  464. package/dist/kongponents257.cjs +1 -1
  465. package/dist/kongponents258.cjs +1 -1
  466. package/dist/kongponents259.cjs +1 -1
  467. package/dist/kongponents26.cjs +1 -1
  468. package/dist/kongponents260.cjs +1 -0
  469. package/dist/kongponents261.cjs +1 -1
  470. package/dist/kongponents262.cjs +1 -0
  471. package/dist/kongponents263.cjs +1 -1
  472. package/dist/kongponents264.cjs +1 -0
  473. package/dist/kongponents265.cjs +1 -1
  474. package/dist/kongponents266.cjs +1 -0
  475. package/dist/kongponents267.cjs +1 -1
  476. package/dist/kongponents268.cjs +1 -1
  477. package/dist/kongponents269.cjs +1 -1
  478. package/dist/kongponents270.cjs +1 -1
  479. package/dist/kongponents271.cjs +1 -1
  480. package/dist/kongponents272.cjs +1 -0
  481. package/dist/kongponents273.cjs +1 -1
  482. package/dist/kongponents274.cjs +1 -0
  483. package/dist/kongponents275.cjs +1 -1
  484. package/dist/kongponents276.cjs +1 -0
  485. package/dist/kongponents277.cjs +1 -4
  486. package/dist/kongponents278.cjs +1 -1
  487. package/dist/kongponents279.cjs +1 -1
  488. package/dist/kongponents28.cjs +1 -1
  489. package/dist/{kongponents306.cjs → kongponents280.cjs} +1 -1
  490. package/dist/kongponents281.cjs +1 -1
  491. package/dist/kongponents282.cjs +1 -1
  492. package/dist/kongponents283.cjs +1 -1
  493. package/dist/kongponents284.cjs +1 -1
  494. package/dist/kongponents285.cjs +1 -1
  495. package/dist/kongponents286.cjs +1 -1
  496. package/dist/kongponents287.cjs +1 -1
  497. package/dist/kongponents288.cjs +1 -1
  498. package/dist/kongponents289.cjs +1 -1
  499. package/dist/kongponents290.cjs +1 -1
  500. package/dist/kongponents291.cjs +1 -1
  501. package/dist/kongponents292.cjs +1 -1
  502. package/dist/kongponents293.cjs +1 -1
  503. package/dist/kongponents294.cjs +1 -1
  504. package/dist/kongponents295.cjs +1 -1
  505. package/dist/kongponents296.cjs +1 -1
  506. package/dist/kongponents297.cjs +1 -1
  507. package/dist/kongponents298.cjs +1 -1
  508. package/dist/kongponents299.cjs +1 -1
  509. package/dist/kongponents300.cjs +1 -1
  510. package/dist/kongponents301.cjs +1 -1
  511. package/dist/kongponents302.cjs +1 -1
  512. package/dist/kongponents303.cjs +1 -1
  513. package/dist/kongponents304.cjs +4 -1
  514. package/dist/kongponents305.cjs +1 -1
  515. package/dist/kongponents307.cjs +1 -1
  516. package/dist/kongponents309.cjs +1 -1
  517. package/dist/kongponents311.cjs +1 -1
  518. package/dist/kongponents313.cjs +1 -1
  519. package/dist/kongponents315.cjs +1 -1
  520. package/dist/kongponents317.cjs +1 -1
  521. package/dist/kongponents319.cjs +1 -1
  522. package/dist/kongponents321.cjs +1 -1
  523. package/dist/kongponents323.cjs +1 -1
  524. package/dist/kongponents324.cjs +1 -1
  525. package/dist/kongponents325.cjs +1 -1
  526. package/dist/kongponents327.cjs +1 -1
  527. package/dist/kongponents329.cjs +1 -1
  528. package/dist/kongponents330.cjs +1 -1
  529. package/dist/kongponents331.cjs +1 -1
  530. package/dist/kongponents332.cjs +1 -1
  531. package/dist/kongponents333.cjs +1 -0
  532. package/dist/kongponents334.cjs +1 -1
  533. package/dist/kongponents335.cjs +1 -1
  534. package/dist/kongponents336.cjs +1 -1
  535. package/dist/kongponents337.cjs +1 -1
  536. package/dist/kongponents338.cjs +1 -1
  537. package/dist/kongponents339.cjs +1 -1
  538. package/dist/kongponents340.cjs +1 -1
  539. package/dist/kongponents341.cjs +1 -1
  540. package/dist/kongponents342.cjs +1 -1
  541. package/dist/kongponents343.cjs +1 -1
  542. package/dist/kongponents344.cjs +1 -1
  543. package/dist/kongponents345.cjs +1 -1
  544. package/dist/kongponents346.cjs +1 -1
  545. package/dist/kongponents347.cjs +1 -1
  546. package/dist/kongponents348.cjs +1 -1
  547. package/dist/kongponents349.cjs +1 -1
  548. package/dist/kongponents350.cjs +1 -1
  549. package/dist/kongponents351.cjs +1 -1
  550. package/dist/kongponents352.cjs +1 -1
  551. package/dist/kongponents353.cjs +1 -1
  552. package/dist/kongponents354.cjs +1 -1
  553. package/dist/kongponents355.cjs +1 -1
  554. package/dist/kongponents356.cjs +10 -1
  555. package/dist/kongponents357.cjs +1 -1
  556. package/dist/kongponents358.cjs +1 -1
  557. package/dist/kongponents359.cjs +1 -1
  558. package/dist/kongponents360.cjs +1 -1
  559. package/dist/kongponents362.cjs +1 -1
  560. package/dist/kongponents364.cjs +1 -1
  561. package/dist/kongponents365.cjs +1 -1
  562. package/dist/kongponents366.cjs +1 -1
  563. package/dist/kongponents367.cjs +1 -1
  564. package/dist/kongponents368.cjs +1 -1
  565. package/dist/kongponents369.cjs +1 -1
  566. package/dist/kongponents370.cjs +1 -1
  567. package/dist/kongponents371.cjs +1 -1
  568. package/dist/kongponents372.cjs +1 -1
  569. package/dist/kongponents373.cjs +1 -1
  570. package/dist/kongponents374.cjs +1 -1
  571. package/dist/kongponents375.cjs +1 -1
  572. package/dist/kongponents376.cjs +1 -1
  573. package/dist/kongponents378.cjs +1 -1
  574. package/dist/kongponents379.cjs +1 -1
  575. package/dist/kongponents380.cjs +1 -1
  576. package/dist/kongponents381.cjs +1 -1
  577. package/dist/kongponents382.cjs +1 -1
  578. package/dist/kongponents383.cjs +1 -1
  579. package/dist/kongponents384.cjs +1 -1
  580. package/dist/kongponents385.cjs +1 -1
  581. package/dist/kongponents386.cjs +1 -1
  582. package/dist/kongponents387.cjs +1 -1
  583. package/dist/kongponents388.cjs +1 -1
  584. package/dist/kongponents389.cjs +1 -1
  585. package/dist/kongponents390.cjs +1 -1
  586. package/dist/kongponents391.cjs +1 -1
  587. package/dist/kongponents392.cjs +1 -1
  588. package/dist/kongponents393.cjs +1 -1
  589. package/dist/kongponents394.cjs +1 -1
  590. package/dist/kongponents395.cjs +1 -1
  591. package/dist/kongponents396.cjs +1 -1
  592. package/dist/kongponents397.cjs +1 -1
  593. package/dist/kongponents398.cjs +1 -1
  594. package/dist/kongponents399.cjs +1 -1
  595. package/dist/kongponents400.cjs +1 -1
  596. package/dist/kongponents401.cjs +1 -1
  597. package/dist/kongponents402.cjs +1 -1
  598. package/dist/kongponents403.cjs +1 -1
  599. package/dist/kongponents404.cjs +1 -1
  600. package/dist/kongponents405.cjs +1 -1
  601. package/dist/kongponents406.cjs +1 -1
  602. package/dist/kongponents407.cjs +1 -1
  603. package/dist/kongponents408.cjs +1 -1
  604. package/dist/kongponents409.cjs +1 -1
  605. package/dist/kongponents410.cjs +1 -1
  606. package/dist/kongponents411.cjs +1 -1
  607. package/dist/kongponents412.cjs +1 -1
  608. package/dist/kongponents413.cjs +1 -10
  609. package/dist/kongponents414.cjs +1 -1
  610. package/dist/kongponents416.cjs +1 -1
  611. package/dist/kongponents418.cjs +1 -1
  612. package/dist/kongponents419.cjs +1 -1
  613. package/dist/kongponents420.cjs +1 -1
  614. package/dist/kongponents421.cjs +1 -1
  615. package/dist/kongponents422.cjs +1 -1
  616. package/dist/kongponents423.cjs +1 -1
  617. package/dist/kongponents424.cjs +1 -1
  618. package/dist/kongponents425.cjs +1 -1
  619. package/dist/kongponents426.cjs +1 -1
  620. package/dist/kongponents427.cjs +1 -1
  621. package/dist/kongponents428.cjs +1 -1
  622. package/dist/kongponents429.cjs +1 -1
  623. package/dist/kongponents430.cjs +1 -1
  624. package/dist/kongponents431.cjs +1 -1
  625. package/dist/kongponents432.cjs +1 -1
  626. package/dist/kongponents433.cjs +1 -1
  627. package/dist/kongponents434.cjs +1 -1
  628. package/dist/kongponents435.cjs +1 -1
  629. package/dist/kongponents436.cjs +1 -1
  630. package/dist/kongponents437.cjs +1 -1
  631. package/dist/kongponents438.cjs +1 -1
  632. package/dist/kongponents439.cjs +1 -1
  633. package/dist/kongponents440.cjs +1 -1
  634. package/dist/kongponents441.cjs +1 -1
  635. package/dist/kongponents442.cjs +1 -1
  636. package/dist/kongponents443.cjs +1 -1
  637. package/dist/kongponents444.cjs +1 -1
  638. package/dist/kongponents445.cjs +1 -1
  639. package/dist/kongponents447.cjs +1 -1
  640. package/dist/kongponents448.cjs +1 -1
  641. package/dist/kongponents449.cjs +1 -1
  642. package/dist/kongponents450.cjs +1 -1
  643. package/dist/kongponents456.cjs +1 -1
  644. package/dist/kongponents457.cjs +1 -1
  645. package/dist/kongponents458.cjs +1 -1
  646. package/dist/kongponents459.cjs +1 -1
  647. package/dist/kongponents463.cjs +1 -1
  648. package/dist/kongponents464.cjs +1 -1
  649. package/dist/kongponents466.cjs +1 -1
  650. package/dist/kongponents467.cjs +1 -1
  651. package/dist/kongponents468.cjs +1 -1
  652. package/dist/kongponents469.cjs +1 -1
  653. package/dist/kongponents470.cjs +1 -1
  654. package/dist/kongponents471.cjs +1 -1
  655. package/dist/kongponents472.cjs +1 -1
  656. package/dist/kongponents473.cjs +1 -1
  657. package/dist/kongponents474.cjs +1 -1
  658. package/dist/kongponents475.cjs +1 -1
  659. package/dist/kongponents476.cjs +1 -1
  660. package/dist/kongponents477.cjs +1 -1
  661. package/dist/kongponents480.cjs +1 -1
  662. package/dist/kongponents482.cjs +1 -1
  663. package/dist/kongponents486.cjs +1 -1
  664. package/dist/kongponents487.cjs +1 -1
  665. package/dist/kongponents488.cjs +1 -1
  666. package/dist/kongponents489.cjs +1 -1
  667. package/dist/kongponents490.cjs +1 -1
  668. package/dist/kongponents492.cjs +1 -1
  669. package/dist/kongponents498.cjs +1 -1
  670. package/dist/kongponents507.cjs +1 -1
  671. package/dist/kongponents508.cjs +1 -1
  672. package/dist/kongponents509.cjs +1 -1
  673. package/dist/kongponents510.cjs +1 -1
  674. package/dist/kongponents511.cjs +1 -1
  675. package/dist/kongponents512.cjs +1 -1
  676. package/dist/kongponents513.cjs +1 -1
  677. package/dist/kongponents542.cjs +1 -1
  678. package/dist/kongponents543.cjs +1 -1
  679. package/dist/kongponents546.cjs +1 -1
  680. package/dist/kongponents547.cjs +1 -1
  681. package/dist/kongponents552.cjs +1 -1
  682. package/dist/kongponents553.cjs +1 -1
  683. package/dist/kongponents554.cjs +1 -1
  684. package/dist/kongponents555.cjs +1 -1
  685. package/dist/kongponents556.cjs +1 -1
  686. package/dist/kongponents557.cjs +1 -1
  687. package/dist/kongponents593.cjs +1 -1
  688. package/dist/kongponents594.cjs +1 -1
  689. package/dist/kongponents596.cjs +1 -1
  690. package/dist/kongponents597.cjs +1 -1
  691. package/dist/kongponents598.cjs +1 -1
  692. package/dist/kongponents599.cjs +1 -1
  693. package/dist/kongponents600.cjs +1 -1
  694. package/dist/kongponents72.cjs +1 -1
  695. package/dist/kongponents75.cjs +1 -1
  696. package/dist/kongponents77.cjs +1 -1
  697. package/dist/kongponents83.cjs +1 -1
  698. package/dist/kongponents87.cjs +1 -1
  699. package/dist/kongponents89.cjs +1 -1
  700. package/dist/kongponents94.cjs +1 -1
  701. package/dist/kongponents96.cjs +1 -1
  702. package/dist/kongponents99.cjs +1 -1
  703. package/package.json +35 -44
  704. package/dist/kongponents.es191.js +0 -19
  705. package/dist/kongponents.es247.js +0 -47
  706. package/dist/kongponents.es308.js +0 -11
  707. package/dist/kongponents.es310.js +0 -20
  708. package/dist/kongponents.es312.js +0 -9
  709. package/dist/kongponents.es314.js +0 -12
  710. package/dist/kongponents.es316.js +0 -11
  711. package/dist/kongponents.es318.js +0 -20
  712. package/dist/kongponents.es320.js +0 -13
  713. package/dist/kongponents.es322.js +0 -10
  714. package/dist/kongponents.es326.js +0 -10
  715. package/dist/kongponents.es328.js +0 -8
  716. package/dist/kongponents.es361.js +0 -4
  717. package/dist/kongponents.es363.js +0 -10
  718. package/dist/kongponents191.cjs +0 -1
  719. package/dist/kongponents247.cjs +0 -1
  720. package/dist/kongponents308.cjs +0 -1
  721. package/dist/kongponents310.cjs +0 -1
  722. package/dist/kongponents312.cjs +0 -1
  723. package/dist/kongponents314.cjs +0 -1
  724. package/dist/kongponents316.cjs +0 -1
  725. package/dist/kongponents318.cjs +0 -1
  726. package/dist/kongponents320.cjs +0 -1
  727. package/dist/kongponents322.cjs +0 -1
  728. package/dist/kongponents326.cjs +0 -1
  729. package/dist/kongponents328.cjs +0 -1
  730. package/dist/kongponents361.cjs +0 -1
  731. package/dist/kongponents363.cjs +0 -1
  732. /package/dist/{kongponents.es415.js → kongponents.es417.js} +0 -0
  733. /package/dist/{kongponents415.cjs → kongponents417.cjs} +0 -0
@@ -1,121 +1,191 @@
1
- import { defineComponent as b, computed as s, createBlock as h, openBlock as d, resolveDynamicComponent as k, normalizeStyle as x, withCtx as S, createElementBlock as N } from "vue";
2
- import { KUI_ICON_SIZE_50 as u } from "./kongponents.es267.js";
3
- const w = ["aria-hidden"], c = '<path d="M9 18L3 12L9 6L10.4 7.4L6.8 11H21V13H6.8L10.4 16.6L9 18Z" fill="currentColor"/>', z = /* @__PURE__ */ b({
4
- __name: "BackIcon",
1
+ import { defineComponent as H, ref as g, computed as S, useTemplateRef as Q, watch as U, onMounted as W, nextTick as I, resolveComponent as X, createBlock as b, openBlock as s, unref as Y, mergeProps as Z, withCtx as c, createElementBlock as $, Fragment as _, renderList as ee, normalizeClass as L, withDirectives as le, createSlots as B, renderSlot as h, createTextVNode as ae, toDisplayString as te, vShow as ne } from "vue";
2
+ import { VueDraggableNext as ie } from "./kongponents.es356.js";
3
+ import oe from "./kongponents.es357.js";
4
+ const T = ({ children: a = [] }) => a.length === 0 ? 0 : 1 + Math.max(...a.map(T)), ce = /* @__PURE__ */ H({
5
+ __name: "KTreeDraggable",
5
6
  props: {
6
- /** The accessibility text provided to screen readers */
7
- title: {
8
- type: String,
9
- required: !1,
10
- default: ""
11
- },
12
- /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */
13
- color: {
14
- type: String,
15
- required: !1,
16
- default: "currentColor"
17
- },
18
- /** The CSS display property for the icon. Defaults to `block` */
19
- display: {
20
- type: String,
21
- required: !1,
22
- default: "block"
23
- },
24
- /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */
25
- decorative: {
26
- type: Boolean,
27
- required: !1,
28
- default: !1
29
- },
30
- /** The icon size */
31
- size: {
32
- type: [Number, String],
33
- required: !1,
34
- default: u,
35
- // if setting to the imported const fails, just pass a number of 24 as the default.
36
- validator: (r) => {
37
- if (typeof r == "number" && r > 0)
38
- return !0;
39
- if (typeof r == "string") {
40
- const e = String(r).replace(/px/gi, ""), i = Number(e);
41
- if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
42
- return !0;
43
- }
44
- return !1;
45
- }
46
- },
47
- /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */
48
- as: {
49
- type: String,
50
- required: !1,
51
- default: "span"
52
- },
53
- /**
54
- * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).
55
- * Typically only set to `true` during snapshot testing.
56
- * Defaults to `false`.
57
- */
58
- staticIds: {
59
- type: Boolean,
60
- default: !1
61
- }
7
+ items: {},
8
+ disableDrag: { type: Boolean },
9
+ filter: { type: [String, Function] },
10
+ maxDepth: {},
11
+ level: { default: 0 },
12
+ parentId: {},
13
+ hideIcons: { type: Boolean },
14
+ group: {},
15
+ collapsible: { type: Boolean },
16
+ initialCollapseAll: { type: Boolean }
62
17
  },
63
- setup(r) {
64
- const e = r, i = s(() => {
65
- if (typeof e.size == "number" && e.size > 0)
66
- return `${e.size}px`;
67
- if (typeof e.size == "string") {
68
- const a = String(e.size).replace(/px/gi, ""), t = Number(a);
69
- if (t && !isNaN(t) && Number.isInteger(t) && t > 0)
70
- return `${t}px`;
71
- }
72
- return u;
73
- }), p = s(() => ({
74
- boxSizing: "border-box",
75
- color: e.color,
76
- display: e.display,
77
- flexShrink: "0",
78
- height: i.value,
79
- lineHeight: "0",
80
- width: i.value,
81
- pointerEvents: e.decorative ? "none" : void 0
82
- })), f = (a) => {
83
- const t = {}, y = Math.random().toString(36).substring(2, 12);
84
- return a.replace(/id="([^"]+)"/g, (o, n) => {
85
- const l = `${y}-${n}`;
86
- return t[n] = l, `id="${l}"`;
87
- }).replace(/#([^\s^")]+)/g, (o, n) => t[n] ? `#${t[n]}` : o);
88
- }, g = {
89
- "<": "&lt;",
90
- ">": "&gt;",
91
- '"': "&quot;",
92
- "'": "&#39;",
93
- "&": "&amp;"
94
- }, m = (a) => a.replace(/[<>"'&]/g, (t) => g[t]), v = `${e.title ? `<title data-testid="kui-icon-svg-title">${m(e.title)}</title>` : ""}${e.staticIds ? c : f(c)}`;
95
- return (a, t) => (d(), h(k(r.as), {
96
- "aria-hidden": r.decorative ? "true" : void 0,
97
- class: "kui-icon back-icon",
98
- "data-testid": "kui-icon-wrapper-back-icon",
99
- style: x(p.value),
100
- tabindex: r.decorative ? "-1" : void 0
101
- }, {
102
- default: S(() => [
103
- (d(), N("svg", {
104
- "aria-hidden": r.decorative ? "true" : void 0,
105
- "data-testid": "kui-icon-svg-back-icon",
106
- fill: "none",
107
- height: "100%",
108
- role: "img",
109
- viewBox: "0 0 24 24",
110
- width: "100%",
111
- xmlns: "http://www.w3.org/2000/svg",
112
- innerHTML: v
113
- }, null, 8, w))
114
- ]),
115
- _: 1
116
- }, 8, ["aria-hidden", "style", "tabindex"]));
18
+ emits: ["change", "child-change", "selected"],
19
+ setup(a, { expose: A, emit: w }) {
20
+ const d = w, v = g(0), n = g([]), M = {
21
+ tag: "div",
22
+ // Note: force-fallback: true is required to override cursor when dragging
23
+ "force-fallback": !0,
24
+ animation: "100",
25
+ draggable: ".tree-item-container",
26
+ "item-key": "id",
27
+ "ghost-class": "tree-item-dragged",
28
+ "drag-class": "tree-item-grabbing",
29
+ class: "child-drop-zone",
30
+ "fallback-tolerance": 10
31
+ }, m = g(!1), p = S(() => [".tree-item-expanded-button", ...(typeof a.filter == "function" ? a.filter() : a.filter).split(",").map((l) => l.trim()).filter(Boolean)].join(", ")), y = (e) => {
32
+ var l, i;
33
+ return !((i = (l = n.value.filter((t) => t.id === e.id)) == null ? void 0 : l[0].children) != null && i.length);
34
+ }, N = (e) => e.children || [], V = (e) => {
35
+ a.parentId ? d("child-change", {
36
+ parentId: a.parentId,
37
+ children: n.value,
38
+ target: (e == null ? void 0 : e.added) || (e == null ? void 0 : e.removed) || (e == null ? void 0 : e.moved)
39
+ }) : d("change", {
40
+ items: n.value,
41
+ target: (e == null ? void 0 : e.added) || (e == null ? void 0 : e.removed) || (e == null ? void 0 : e.moved)
42
+ });
43
+ }, K = (e) => {
44
+ d("child-change", e);
45
+ }, E = (e) => {
46
+ d("selected", e);
47
+ }, r = g(/* @__PURE__ */ new Map()), F = (e, l) => {
48
+ r.value.set(l, e);
49
+ }, O = (e) => a.collapsible ? !!r.value.get(e) : !0, f = Q("tree-items"), z = () => {
50
+ var e;
51
+ n.value.forEach((l) => {
52
+ r.value.set(l.id, !1);
53
+ }), (e = f.value) == null || e.forEach((l) => {
54
+ l == null || l.setExpandedValue(!1);
55
+ });
56
+ }, J = () => {
57
+ var e;
58
+ n.value.forEach((l) => {
59
+ r.value.set(l.id, !0);
60
+ }), (e = f.value) == null || e.forEach((l) => {
61
+ l == null || l.setExpandedValue(!0);
62
+ });
63
+ }, R = S(() => a.level > a.maxDepth - 1), j = (e) => {
64
+ var u, D, x, k;
65
+ const l = ((D = (u = e.relatedContext) == null ? void 0 : u.component) == null ? void 0 : D.$attrs.level) || 0, i = (x = e.draggedContext) == null ? void 0 : x.element;
66
+ let t = 0;
67
+ return (k = i.children) != null && k.length && (t = T(i)), !(l + t > a.maxDepth - 1);
68
+ }, P = (e) => {
69
+ var t, o;
70
+ const l = ((o = (t = e.item) == null ? void 0 : t._underlying_vm_) == null ? void 0 : o.id) || "", i = n.value.find((u) => u.id === l);
71
+ m.value = !0, i && d("selected", i), C(!0);
72
+ }, q = async () => {
73
+ var e;
74
+ m.value = !1, C(!1), v.value++, await I(), (e = f.value) == null || e.forEach((l) => {
75
+ l == null || l.setExpandedValue(r.value.get(l == null ? void 0 : l.id));
76
+ });
77
+ }, C = (e) => {
78
+ const l = document == null ? void 0 : document.getElementsByTagName("html").item(0);
79
+ l && l.classList.toggle("tree-list-grabbing", e);
80
+ };
81
+ U(() => a.items, (e, l) => {
82
+ JSON.stringify(e) !== JSON.stringify(l) && (n.value = e, n.value.forEach((i) => {
83
+ i.children || (i.children = []);
84
+ }));
85
+ });
86
+ const G = () => {
87
+ n.value.forEach((e) => {
88
+ r.value.set(e.id, !a.initialCollapseAll);
89
+ });
90
+ };
91
+ return W(async () => {
92
+ n.value = a.items, n.value.forEach((e) => {
93
+ e.children || (e.children = []);
94
+ }), await I(), a.collapsible && G();
95
+ }), A({ collapseAll: z, expandAll: J }), (e, l) => {
96
+ const i = X("KTreeDraggable", !0);
97
+ return s(), b(Y(ie), Z(M, {
98
+ class: "tree-draggable",
99
+ direction: "vertical",
100
+ disabled: a.disableDrag,
101
+ filter: p.value,
102
+ group: { name: a.group, pull: [a.group], put: R.value ? [] : [a.group] },
103
+ level: a.level,
104
+ list: n.value,
105
+ move: j,
106
+ tag: "div",
107
+ onChange: V,
108
+ onEnd: q,
109
+ onStart: P
110
+ }), {
111
+ default: c(() => [
112
+ (s(!0), $(_, null, ee(n.value, (t) => (s(), $("div", {
113
+ key: t.id,
114
+ class: L(["tree-item-container", {
115
+ "has-no-children": y(t)
116
+ }])
117
+ }, [
118
+ (s(), b(oe, {
119
+ key: `tree-item-${t.id}-${v.value}`,
120
+ ref_for: !0,
121
+ ref: "tree-items",
122
+ collapsible: a.collapsible,
123
+ "controls-id": t.id,
124
+ disabled: a.disableDrag,
125
+ "has-children": !y(t),
126
+ "hide-icons": a.hideIcons,
127
+ "initial-collapse": a.initialCollapseAll,
128
+ item: t,
129
+ onExpanded: (o) => F(o, t.id),
130
+ onSelected: E
131
+ }, B({
132
+ "item-label": c(() => [
133
+ h(e.$slots, "item-label", { item: t }, () => [
134
+ ae(te(t.name), 1)
135
+ ], !0)
136
+ ]),
137
+ _: 2
138
+ }, [
139
+ e.$slots["item-icon"] ? {
140
+ name: "item-icon",
141
+ fn: c(() => [
142
+ h(e.$slots, "item-icon", { item: t }, void 0, !0)
143
+ ]),
144
+ key: "0"
145
+ } : void 0
146
+ ]), 1032, ["collapsible", "controls-id", "disabled", "has-children", "hide-icons", "initial-collapse", "item", "onExpanded"])),
147
+ le((s(), b(i, {
148
+ id: `tree-list-draggable-${t.id}`,
149
+ key: `tree-item-${t.id}-children-${v.value}`,
150
+ class: L({
151
+ collapsible: a.collapsible
152
+ }),
153
+ collapsible: a.collapsible,
154
+ "disable-drag": a.disableDrag,
155
+ filter: p.value,
156
+ group: a.group,
157
+ "hide-icons": a.hideIcons,
158
+ "initial-collapse-all": a.initialCollapseAll,
159
+ items: N(t),
160
+ level: a.level + 1,
161
+ "max-depth": a.maxDepth,
162
+ "parent-id": t.id,
163
+ onChildChange: K,
164
+ onSelected: E
165
+ }, B({
166
+ "item-label": c(({ item: o }) => [
167
+ h(e.$slots, "item-label", { item: o }, void 0, !0)
168
+ ]),
169
+ _: 2
170
+ }, [
171
+ e.$slots["item-icon"] ? {
172
+ name: "item-icon",
173
+ fn: c(({ item: o }) => [
174
+ h(e.$slots, "item-icon", { item: o }, void 0, !0)
175
+ ]),
176
+ key: "0"
177
+ } : void 0
178
+ ]), 1032, ["id", "class", "collapsible", "disable-drag", "filter", "group", "hide-icons", "initial-collapse-all", "items", "level", "max-depth", "parent-id"])), [
179
+ [ne, O(t.id)]
180
+ ])
181
+ ], 2))), 128))
182
+ ]),
183
+ _: 3
184
+ }, 16, ["disabled", "filter", "group", "level", "list"]);
185
+ };
117
186
  }
118
187
  });
119
188
  export {
120
- z as default
189
+ ce as default,
190
+ T as getMaximumDepth
121
191
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as h, computed as d, createBlock as b, openBlock as s, resolveDynamicComponent as w, normalizeStyle as x, withCtx as S, createElementBlock as N } from "vue";
2
- import { KUI_ICON_SIZE_50 as u } from "./kongponents.es267.js";
3
- const k = ["aria-hidden"], p = '<path d="M15 18L21 12L15 6L13.6 7.4L17.2 11H3V13H17.2L13.6 16.6L15 18Z" fill="currentColor"/>', z = /* @__PURE__ */ h({
4
- __name: "ForwardIcon",
1
+ import { defineComponent as y, computed as s, createBlock as h, openBlock as d, resolveDynamicComponent as b, normalizeStyle as x, withCtx as S, createElementBlock as N } from "vue";
2
+ import { KUI_ICON_SIZE_50 as u } from "./kongponents.es252.js";
3
+ const k = ["aria-hidden"], p = '<path d="M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z" fill="currentColor"/>', $ = /* @__PURE__ */ y({
4
+ __name: "MoreIcon",
5
5
  props: {
6
6
  /** The accessibility text provided to screen readers */
7
7
  title: {
@@ -61,7 +61,7 @@ const k = ["aria-hidden"], p = '<path d="M15 18L21 12L15 6L13.6 7.4L17.2 11H3V13
61
61
  }
62
62
  },
63
63
  setup(r) {
64
- const e = r, i = d(() => {
64
+ const e = r, i = s(() => {
65
65
  if (typeof e.size == "number" && e.size > 0)
66
66
  return `${e.size}px`;
67
67
  if (typeof e.size == "string") {
@@ -70,7 +70,7 @@ const k = ["aria-hidden"], p = '<path d="M15 18L21 12L15 6L13.6 7.4L17.2 11H3V13
70
70
  return `${t}px`;
71
71
  }
72
72
  return u;
73
- }), c = d(() => ({
73
+ }), c = s(() => ({
74
74
  boxSizing: "border-box",
75
75
  color: e.color,
76
76
  display: e.display,
@@ -80,36 +80,36 @@ const k = ["aria-hidden"], p = '<path d="M15 18L21 12L15 6L13.6 7.4L17.2 11H3V13
80
80
  width: i.value,
81
81
  pointerEvents: e.decorative ? "none" : void 0
82
82
  })), f = (a) => {
83
- const t = {}, y = Math.random().toString(36).substring(2, 12);
83
+ const t = {}, v = Math.random().toString(36).substring(2, 12);
84
84
  return a.replace(/id="([^"]+)"/g, (o, n) => {
85
- const l = `${y}-${n}`;
85
+ const l = `${v}-${n}`;
86
86
  return t[n] = l, `id="${l}"`;
87
87
  }).replace(/#([^\s^")]+)/g, (o, n) => t[n] ? `#${t[n]}` : o);
88
- }, g = {
88
+ }, C = {
89
89
  "<": "&lt;",
90
90
  ">": "&gt;",
91
91
  '"': "&quot;",
92
92
  "'": "&#39;",
93
93
  "&": "&amp;"
94
- }, m = (a) => a.replace(/[<>"'&]/g, (t) => g[t]), v = `${e.title ? `<title data-testid="kui-icon-svg-title">${m(e.title)}</title>` : ""}${e.staticIds ? p : f(p)}`;
95
- return (a, t) => (s(), b(w(r.as), {
94
+ }, g = (a) => a.replace(/[<>"'&]/g, (t) => C[t]), m = `${e.title ? `<title data-testid="kui-icon-svg-title">${g(e.title)}</title>` : ""}${e.staticIds ? p : f(p)}`;
95
+ return (a, t) => (d(), h(b(r.as), {
96
96
  "aria-hidden": r.decorative ? "true" : void 0,
97
- class: "kui-icon forward-icon",
98
- "data-testid": "kui-icon-wrapper-forward-icon",
97
+ class: "kui-icon more-icon",
98
+ "data-testid": "kui-icon-wrapper-more-icon",
99
99
  style: x(c.value),
100
100
  tabindex: r.decorative ? "-1" : void 0
101
101
  }, {
102
102
  default: S(() => [
103
- (s(), N("svg", {
103
+ (d(), N("svg", {
104
104
  "aria-hidden": r.decorative ? "true" : void 0,
105
- "data-testid": "kui-icon-svg-forward-icon",
105
+ "data-testid": "kui-icon-svg-more-icon",
106
106
  fill: "none",
107
107
  height: "100%",
108
108
  role: "img",
109
109
  viewBox: "0 0 24 24",
110
110
  width: "100%",
111
111
  xmlns: "http://www.w3.org/2000/svg",
112
- innerHTML: v
112
+ innerHTML: m
113
113
  }, null, 8, k))
114
114
  ]),
115
115
  _: 1
@@ -117,5 +117,5 @@ const k = ["aria-hidden"], p = '<path d="M15 18L21 12L15 6L13.6 7.4L17.2 11H3V13
117
117
  }
118
118
  });
119
119
  export {
120
- z as default
120
+ $ as default
121
121
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as y, computed as s, createBlock as b, openBlock as C, resolveDynamicComponent as h, normalizeStyle as x, withCtx as S, createElementBlock as N } from "vue";
2
- import { KUI_ICON_SIZE_50 as d } from "./kongponents.es267.js";
3
- const k = ["aria-hidden"], u = '<path d="M19.0999 21.9L15.5999 18.45C15.0166 18.6333 14.4249 18.7708 13.8249 18.8625C13.2249 18.9541 12.6166 19 11.9999 19C9.76657 19 7.7249 18.4 5.8749 17.2C4.0249 16 2.5749 14.4166 1.5249 12.45C1.44157 12.3 1.37907 12.1458 1.3374 11.9875C1.29574 11.8291 1.2749 11.6666 1.2749 11.5C1.2749 11.3333 1.29574 11.1708 1.3374 11.0125C1.37907 10.8541 1.44157 10.7 1.5249 10.55C1.89157 9.89998 2.28324 9.26664 2.6999 8.64998C3.11657 8.03331 3.5999 7.48331 4.1499 6.99998L2.0749 4.89998C1.89157 4.71664 1.7999 4.48748 1.7999 4.21248C1.7999 3.93748 1.8999 3.69998 2.0999 3.49998C2.28324 3.31664 2.51657 3.22498 2.7999 3.22498C3.08324 3.22498 3.31657 3.31664 3.4999 3.49998L20.4999 20.5C20.6832 20.6833 20.7791 20.9125 20.7874 21.1875C20.7957 21.4625 20.6999 21.7 20.4999 21.9C20.3166 22.0833 20.0832 22.175 19.7999 22.175C19.5166 22.175 19.2832 22.0833 19.0999 21.9ZM11.9999 16C12.1832 16 12.3582 15.9916 12.5249 15.975C12.6916 15.9583 12.8582 15.925 13.0249 15.875L7.6249 10.475C7.5749 10.6416 7.54157 10.8083 7.5249 10.975C7.50824 11.1416 7.4999 11.3166 7.4999 11.5C7.4999 12.75 7.9374 13.8125 8.8124 14.6875C9.6874 15.5625 10.7499 16 11.9999 16ZM11.9999 3.99998C14.2332 3.99998 16.2791 4.60414 18.1374 5.81248C19.9957 7.02081 21.4499 8.60831 22.4999 10.575C22.5832 10.7083 22.6457 10.8541 22.6874 11.0125C22.7291 11.1708 22.7499 11.3333 22.7499 11.5C22.7499 11.6666 22.7332 11.8291 22.6999 11.9875C22.6666 12.1458 22.6082 12.2916 22.5249 12.425C22.2082 13.0416 21.8541 13.625 21.4624 14.175C21.0707 14.725 20.6332 15.2416 20.1499 15.725C19.9166 15.9583 19.6416 16.0666 19.3249 16.05C19.0082 16.0333 18.7332 15.9083 18.4999 15.675L16.4999 13.675C16.3832 13.5583 16.3082 13.4208 16.2749 13.2625C16.2416 13.1041 16.2499 12.9416 16.2999 12.775C16.3666 12.5583 16.4166 12.35 16.4499 12.15C16.4832 11.95 16.4999 11.7333 16.4999 11.5C16.4999 10.25 16.0624 9.18748 15.1874 8.31248C14.3124 7.43748 13.2499 6.99998 11.9999 6.99998C11.7666 6.99998 11.5499 7.01664 11.3499 7.04998C11.1499 7.08331 10.9416 7.13331 10.7249 7.19998C10.5582 7.24998 10.3916 7.25831 10.2249 7.22498C10.0582 7.19164 9.91657 7.11664 9.7999 6.99998L8.9749 6.17498C8.65824 5.85831 8.55407 5.49164 8.6624 5.07498C8.77074 4.65831 9.03324 4.39164 9.4499 4.27498C9.86657 4.19164 10.2874 4.12498 10.7124 4.07498C11.1374 4.02498 11.5666 3.99998 11.9999 3.99998ZM13.9749 9.64998C14.1582 9.86664 14.3124 10.1041 14.4374 10.3625C14.5624 10.6208 14.6416 10.8916 14.6749 11.175C14.6916 11.3083 14.6416 11.4 14.5249 11.45C14.4082 11.5 14.2999 11.475 14.1999 11.375L12.1499 9.32498C12.0499 9.22498 12.0291 9.11664 12.0874 8.99998C12.1457 8.88331 12.2416 8.82498 12.3749 8.82498C12.6916 8.85831 12.9832 8.94581 13.2499 9.08748C13.5166 9.22914 13.7582 9.41664 13.9749 9.64998Z" fill="currentColor"/>', $ = /* @__PURE__ */ y({
4
- __name: "VisibilityOffIcon",
1
+ import { defineComponent as h, computed as s, createBlock as S, openBlock as d, resolveDynamicComponent as b, normalizeStyle as w, withCtx as x, createElementBlock as L } from "vue";
2
+ import { KUI_ICON_SIZE_50 as u } from "./kongponents.es252.js";
3
+ const N = ["aria-hidden"], p = '<path d="M8 13V5.825L5.425 8.4L4 7L9 2L14 7L12.575 8.4L10 5.825V13H8ZM15 22L10 17L11.425 15.6L14 18.175V11H16V18.175L18.575 15.6L20 17L15 22Z" fill="currentColor"/>', I = /* @__PURE__ */ h({
4
+ __name: "SwapSortIcon",
5
5
  props: {
6
6
  /** The accessibility text provided to screen readers */
7
7
  title: {
@@ -31,14 +31,14 @@ const k = ["aria-hidden"], u = '<path d="M19.0999 21.9L15.5999 18.45C15.0166 18.
31
31
  size: {
32
32
  type: [Number, String],
33
33
  required: !1,
34
- default: d,
34
+ default: u,
35
35
  // if setting to the imported const fails, just pass a number of 24 as the default.
36
- validator: (i) => {
37
- if (typeof i == "number" && i > 0)
36
+ validator: (r) => {
37
+ if (typeof r == "number" && r > 0)
38
38
  return !0;
39
- if (typeof i == "string") {
40
- const e = String(i).replace(/px/gi, ""), r = Number(e);
41
- if (r && !isNaN(r) && Number.isInteger(r) && r > 0)
39
+ if (typeof r == "string") {
40
+ const e = String(r).replace(/px/gi, ""), i = Number(e);
41
+ if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
42
42
  return !0;
43
43
  }
44
44
  return !1;
@@ -60,8 +60,8 @@ const k = ["aria-hidden"], u = '<path d="M19.0999 21.9L15.5999 18.45C15.0166 18.
60
60
  default: !1
61
61
  }
62
62
  },
63
- setup(i) {
64
- const e = i, r = s(() => {
63
+ setup(r) {
64
+ const e = r, i = s(() => {
65
65
  if (typeof e.size == "number" && e.size > 0)
66
66
  return `${e.size}px`;
67
67
  if (typeof e.size == "string") {
@@ -69,40 +69,40 @@ const k = ["aria-hidden"], u = '<path d="M19.0999 21.9L15.5999 18.45C15.0166 18.
69
69
  if (t && !isNaN(t) && Number.isInteger(t) && t > 0)
70
70
  return `${t}px`;
71
71
  }
72
- return d;
73
- }), f = s(() => ({
72
+ return u;
73
+ }), c = s(() => ({
74
74
  boxSizing: "border-box",
75
75
  color: e.color,
76
76
  display: e.display,
77
77
  flexShrink: "0",
78
- height: r.value,
78
+ height: i.value,
79
79
  lineHeight: "0",
80
- width: r.value,
80
+ width: i.value,
81
81
  pointerEvents: e.decorative ? "none" : void 0
82
- })), c = (a) => {
83
- const t = {}, m = Math.random().toString(36).substring(2, 12);
82
+ })), f = (a) => {
83
+ const t = {}, y = Math.random().toString(36).substring(2, 12);
84
84
  return a.replace(/id="([^"]+)"/g, (o, n) => {
85
- const l = `${m}-${n}`;
85
+ const l = `${y}-${n}`;
86
86
  return t[n] = l, `id="${l}"`;
87
87
  }).replace(/#([^\s^")]+)/g, (o, n) => t[n] ? `#${t[n]}` : o);
88
- }, p = {
88
+ }, g = {
89
89
  "<": "&lt;",
90
90
  ">": "&gt;",
91
91
  '"': "&quot;",
92
92
  "'": "&#39;",
93
93
  "&": "&amp;"
94
- }, g = (a) => a.replace(/[<>"'&]/g, (t) => p[t]), v = `${e.title ? `<title data-testid="kui-icon-svg-title">${g(e.title)}</title>` : ""}${e.staticIds ? u : c(u)}`;
95
- return (a, t) => (C(), b(h(i.as), {
96
- "aria-hidden": i.decorative ? "true" : void 0,
97
- class: "kui-icon visibility-off-icon",
98
- "data-testid": "kui-icon-wrapper-visibility-off-icon",
99
- style: x(f.value),
100
- tabindex: i.decorative ? "-1" : void 0
94
+ }, m = (a) => a.replace(/[<>"'&]/g, (t) => g[t]), v = `${e.title ? `<title data-testid="kui-icon-svg-title">${m(e.title)}</title>` : ""}${e.staticIds ? p : f(p)}`;
95
+ return (a, t) => (d(), S(b(r.as), {
96
+ "aria-hidden": r.decorative ? "true" : void 0,
97
+ class: "kui-icon swap-sort-icon",
98
+ "data-testid": "kui-icon-wrapper-swap-sort-icon",
99
+ style: w(c.value),
100
+ tabindex: r.decorative ? "-1" : void 0
101
101
  }, {
102
- default: S(() => [
103
- (C(), N("svg", {
104
- "aria-hidden": i.decorative ? "true" : void 0,
105
- "data-testid": "kui-icon-svg-visibility-off-icon",
102
+ default: x(() => [
103
+ (d(), L("svg", {
104
+ "aria-hidden": r.decorative ? "true" : void 0,
105
+ "data-testid": "kui-icon-svg-swap-sort-icon",
106
106
  fill: "none",
107
107
  height: "100%",
108
108
  role: "img",
@@ -110,12 +110,12 @@ const k = ["aria-hidden"], u = '<path d="M19.0999 21.9L15.5999 18.45C15.0166 18.
110
110
  width: "100%",
111
111
  xmlns: "http://www.w3.org/2000/svg",
112
112
  innerHTML: v
113
- }, null, 8, k))
113
+ }, null, 8, N))
114
114
  ]),
115
115
  _: 1
116
116
  }, 8, ["aria-hidden", "style", "tabindex"]));
117
117
  }
118
118
  });
119
119
  export {
120
- $ as default
120
+ I as default
121
121
  };
@@ -1,121 +1,7 @@
1
- import { defineComponent as y, computed as s, createBlock as b, openBlock as d, resolveDynamicComponent as h, normalizeStyle as x, withCtx as S, createElementBlock as N } from "vue";
2
- import { KUI_ICON_SIZE_50 as u } from "./kongponents.es267.js";
3
- const k = ["aria-hidden"], p = '<path d="M12 16C13.25 16 14.3125 15.5625 15.1875 14.6875C16.0625 13.8125 16.5 12.75 16.5 11.5C16.5 10.25 16.0625 9.1875 15.1875 8.3125C14.3125 7.4375 13.25 7 12 7C10.75 7 9.6875 7.4375 8.8125 8.3125C7.9375 9.1875 7.5 10.25 7.5 11.5C7.5 12.75 7.9375 13.8125 8.8125 14.6875C9.6875 15.5625 10.75 16 12 16ZM12 14.2C11.25 14.2 10.6125 13.9375 10.0875 13.4125C9.5625 12.8875 9.3 12.25 9.3 11.5C9.3 10.75 9.5625 10.1125 10.0875 9.5875C10.6125 9.0625 11.25 8.8 12 8.8C12.75 8.8 13.3875 9.0625 13.9125 9.5875C14.4375 10.1125 14.7 10.75 14.7 11.5C14.7 12.25 14.4375 12.8875 13.9125 13.4125C13.3875 13.9375 12.75 14.2 12 14.2ZM12 19C9.56667 19 7.35 18.3208 5.35 16.9625C3.35 15.6042 1.9 13.7833 1 11.5C1.9 9.21667 3.35 7.39583 5.35 6.0375C7.35 4.67917 9.56667 4 12 4C14.4333 4 16.65 4.67917 18.65 6.0375C20.65 7.39583 22.1 9.21667 23 11.5C22.1 13.7833 20.65 15.6042 18.65 16.9625C16.65 18.3208 14.4333 19 12 19Z" fill="currentColor"/>', $ = /* @__PURE__ */ y({
4
- __name: "VisibilityIcon",
5
- props: {
6
- /** The accessibility text provided to screen readers */
7
- title: {
8
- type: String,
9
- required: !1,
10
- default: ""
11
- },
12
- /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */
13
- color: {
14
- type: String,
15
- required: !1,
16
- default: "currentColor"
17
- },
18
- /** The CSS display property for the icon. Defaults to `block` */
19
- display: {
20
- type: String,
21
- required: !1,
22
- default: "block"
23
- },
24
- /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */
25
- decorative: {
26
- type: Boolean,
27
- required: !1,
28
- default: !1
29
- },
30
- /** The icon size */
31
- size: {
32
- type: [Number, String],
33
- required: !1,
34
- default: u,
35
- // if setting to the imported const fails, just pass a number of 24 as the default.
36
- validator: (i) => {
37
- if (typeof i == "number" && i > 0)
38
- return !0;
39
- if (typeof i == "string") {
40
- const e = String(i).replace(/px/gi, ""), r = Number(e);
41
- if (r && !isNaN(r) && Number.isInteger(r) && r > 0)
42
- return !0;
43
- }
44
- return !1;
45
- }
46
- },
47
- /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */
48
- as: {
49
- type: String,
50
- required: !1,
51
- default: "span"
52
- },
53
- /**
54
- * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).
55
- * Typically only set to `true` during snapshot testing.
56
- * Defaults to `false`.
57
- */
58
- staticIds: {
59
- type: Boolean,
60
- default: !1
61
- }
62
- },
63
- setup(i) {
64
- const e = i, r = s(() => {
65
- if (typeof e.size == "number" && e.size > 0)
66
- return `${e.size}px`;
67
- if (typeof e.size == "string") {
68
- const a = String(e.size).replace(/px/gi, ""), t = Number(a);
69
- if (t && !isNaN(t) && Number.isInteger(t) && t > 0)
70
- return `${t}px`;
71
- }
72
- return u;
73
- }), c = s(() => ({
74
- boxSizing: "border-box",
75
- color: e.color,
76
- display: e.display,
77
- flexShrink: "0",
78
- height: r.value,
79
- lineHeight: "0",
80
- width: r.value,
81
- pointerEvents: e.decorative ? "none" : void 0
82
- })), f = (a) => {
83
- const t = {}, m = Math.random().toString(36).substring(2, 12);
84
- return a.replace(/id="([^"]+)"/g, (o, n) => {
85
- const l = `${m}-${n}`;
86
- return t[n] = l, `id="${l}"`;
87
- }).replace(/#([^\s^")]+)/g, (o, n) => t[n] ? `#${t[n]}` : o);
88
- }, C = {
89
- "<": "&lt;",
90
- ">": "&gt;",
91
- '"': "&quot;",
92
- "'": "&#39;",
93
- "&": "&amp;"
94
- }, g = (a) => a.replace(/[<>"'&]/g, (t) => C[t]), v = `${e.title ? `<title data-testid="kui-icon-svg-title">${g(e.title)}</title>` : ""}${e.staticIds ? p : f(p)}`;
95
- return (a, t) => (d(), b(h(i.as), {
96
- "aria-hidden": i.decorative ? "true" : void 0,
97
- class: "kui-icon visibility-icon",
98
- "data-testid": "kui-icon-wrapper-visibility-icon",
99
- style: x(c.value),
100
- tabindex: i.decorative ? "-1" : void 0
101
- }, {
102
- default: S(() => [
103
- (d(), N("svg", {
104
- "aria-hidden": i.decorative ? "true" : void 0,
105
- "data-testid": "kui-icon-svg-visibility-icon",
106
- fill: "none",
107
- height: "100%",
108
- role: "img",
109
- viewBox: "0 0 24 24",
110
- width: "100%",
111
- xmlns: "http://www.w3.org/2000/svg",
112
- innerHTML: v
113
- }, null, 8, k))
114
- ]),
115
- _: 1
116
- }, 8, ["aria-hidden", "style", "tabindex"]));
117
- }
118
- });
1
+ import o from "./kongponents.es305.js";
2
+ /* empty css */
3
+ import t from "./kongponents.es74.js";
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0033fccb"]]);
119
5
  export {
120
- $ as default
6
+ c as default
121
7
  };