@kong/kongponents 9.47.4 → 9.48.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 (697) hide show
  1. package/dist/kongponents.css +1 -1
  2. package/dist/kongponents.es105.js +5 -5
  3. package/dist/kongponents.es107.js +3 -3
  4. package/dist/kongponents.es109.js +4 -4
  5. package/dist/kongponents.es113.js +2 -2
  6. package/dist/kongponents.es115.js +4 -4
  7. package/dist/kongponents.es117.js +2 -2
  8. package/dist/kongponents.es119.js +9 -9
  9. package/dist/kongponents.es122.js +5 -5
  10. package/dist/kongponents.es124.js +6 -6
  11. package/dist/kongponents.es128.js +2 -2
  12. package/dist/kongponents.es130.js +1 -1
  13. package/dist/kongponents.es132.js +9 -9
  14. package/dist/kongponents.es139.js +3 -3
  15. package/dist/kongponents.es141.js +1 -1
  16. package/dist/kongponents.es143.js +6 -6
  17. package/dist/kongponents.es147.js +2 -2
  18. package/dist/kongponents.es149.js +6 -6
  19. package/dist/kongponents.es154.js +3 -3
  20. package/dist/kongponents.es156.js +5 -5
  21. package/dist/kongponents.es158.js +3 -3
  22. package/dist/kongponents.es160.js +12 -12
  23. package/dist/kongponents.es170.js +1 -1
  24. package/dist/kongponents.es171.js +112 -178
  25. package/dist/kongponents.es172.js +1 -1
  26. package/dist/kongponents.es173.js +119 -18
  27. package/dist/kongponents.es174.js +119 -5
  28. package/dist/kongponents.es175.js +121 -0
  29. package/dist/kongponents.es176.js +24 -24
  30. package/dist/kongponents.es177.js +18 -5
  31. package/dist/kongponents.es178.js +5 -8
  32. package/dist/kongponents.es179.js +101 -59
  33. package/dist/kongponents.es180.js +181 -98
  34. package/dist/kongponents.es181.js +21 -21
  35. package/dist/kongponents.es182.js +102 -113
  36. package/dist/kongponents.es183.js +34 -34
  37. package/dist/kongponents.es184.js +30 -30
  38. package/dist/kongponents.es185.js +111 -116
  39. package/dist/kongponents.es186.js +13 -115
  40. package/dist/kongponents.es187.js +393 -116
  41. package/dist/kongponents.es188.js +4 -107
  42. package/dist/kongponents.es189.js +119 -5
  43. package/dist/kongponents.es190.js +119 -5
  44. package/dist/kongponents.es191.js +119 -7
  45. package/dist/kongponents.es192.js +119 -5
  46. package/dist/kongponents.es194.js +27 -27
  47. package/dist/kongponents.es195.js +5 -119
  48. package/dist/kongponents.es196.js +8 -119
  49. package/dist/kongponents.es197.js +60 -5
  50. package/dist/kongponents.es198.js +5 -18
  51. package/dist/kongponents.es199.js +5 -10
  52. package/dist/kongponents.es200.js +120 -5
  53. package/dist/kongponents.es201.js +24 -5
  54. package/dist/kongponents.es202.js +33 -33
  55. package/dist/kongponents.es203.js +23 -24
  56. package/dist/kongponents.es204.js +5 -24
  57. package/dist/kongponents.es205.js +16 -16
  58. package/dist/kongponents.es206.js +119 -15
  59. package/dist/kongponents.es207.js +20 -20
  60. package/dist/kongponents.es208.js +20 -20
  61. package/dist/kongponents.es209.js +313 -115
  62. package/dist/kongponents.es21.js +8 -8
  63. package/dist/kongponents.es210.js +38 -118
  64. package/dist/kongponents.es211.js +97 -118
  65. package/dist/kongponents.es212.js +19 -19
  66. package/dist/kongponents.es213.js +27 -27
  67. package/dist/kongponents.es214.js +18 -18
  68. package/dist/kongponents.es215.js +115 -313
  69. package/dist/kongponents.es216.js +118 -38
  70. package/dist/kongponents.es217.js +16 -96
  71. package/dist/kongponents.es218.js +50 -117
  72. package/dist/kongponents.es219.js +5 -119
  73. package/dist/kongponents.es220.js +5 -119
  74. package/dist/kongponents.es221.js +117 -50
  75. package/dist/kongponents.es222.js +7 -119
  76. package/dist/kongponents.es223.js +189 -2
  77. package/dist/kongponents.es224.js +3 -3
  78. package/dist/kongponents.es225.js +21 -21
  79. package/dist/kongponents.es226.js +15 -119
  80. package/dist/kongponents.es227.js +116 -111
  81. package/dist/kongponents.es228.js +5 -17
  82. package/dist/kongponents.es229.js +5 -396
  83. package/dist/kongponents.es230.js +5 -119
  84. package/dist/kongponents.es231.js +5 -119
  85. package/dist/kongponents.es232.js +4 -4
  86. package/dist/kongponents.es233.js +4 -4
  87. package/dist/kongponents.es234.js +4 -4
  88. package/dist/kongponents.es235.js +119 -5
  89. package/dist/kongponents.es236.js +119 -5
  90. package/dist/kongponents.es237.js +2 -2
  91. package/dist/kongponents.es238.js +10 -5
  92. package/dist/kongponents.es239.js +2 -5
  93. package/dist/kongponents.es24.js +1 -1
  94. package/dist/kongponents.es240.js +470 -31
  95. package/dist/kongponents.es241.js +31 -470
  96. package/dist/kongponents.es242.js +52 -173
  97. package/dist/kongponents.es244.js +40 -52
  98. package/dist/kongponents.es245.js +322 -0
  99. package/dist/kongponents.es246.js +97 -0
  100. package/dist/kongponents.es248.js +47 -0
  101. package/dist/kongponents.es250.js +168 -311
  102. package/dist/kongponents.es252.js +132 -117
  103. package/dist/kongponents.es253.js +2 -119
  104. package/dist/kongponents.es254.js +6 -119
  105. package/dist/kongponents.es255.js +47 -59
  106. package/dist/kongponents.es258.js +220 -0
  107. package/dist/kongponents.es259.js +2 -48
  108. package/dist/kongponents.es26.js +4 -4
  109. package/dist/kongponents.es260.js +121 -0
  110. package/dist/kongponents.es261.js +115 -30
  111. package/dist/kongponents.es262.js +121 -0
  112. package/dist/kongponents.es263.js +88 -20
  113. package/dist/kongponents.es265.js +36 -40
  114. package/dist/kongponents.es267.js +21 -38
  115. package/dist/kongponents.es269.js +47 -217
  116. package/dist/kongponents.es271.js +34 -7
  117. package/dist/kongponents.es273.js +23 -5
  118. package/dist/kongponents.es275.js +45 -9
  119. package/dist/kongponents.es277.js +40 -73
  120. package/dist/kongponents.es279.js +8 -19
  121. package/dist/kongponents.es28.js +2 -2
  122. package/dist/kongponents.es280.js +6 -4
  123. package/dist/kongponents.es281.js +8 -18
  124. package/dist/kongponents.es282.js +4 -7
  125. package/dist/kongponents.es283.js +9 -5
  126. package/dist/kongponents.es284.js +8 -8
  127. package/dist/kongponents.es285.js +636 -7
  128. package/dist/kongponents.es286.js +74 -5
  129. package/dist/kongponents.es287.js +4 -20
  130. package/dist/kongponents.es288.js +20 -5
  131. package/dist/kongponents.es289.js +4 -110
  132. package/dist/kongponents.es290.js +17 -171
  133. package/dist/kongponents.es291.js +8 -5
  134. package/dist/kongponents.es292.js +5 -6
  135. package/dist/kongponents.es293.js +9 -5
  136. package/dist/kongponents.es294.js +8 -5
  137. package/dist/kongponents.es295.js +4 -69
  138. package/dist/kongponents.es296.js +21 -2
  139. package/dist/kongponents.es297.js +5 -91
  140. package/dist/kongponents.es298.js +113 -0
  141. package/dist/kongponents.es299.js +171 -40
  142. package/dist/kongponents.es300.js +7 -0
  143. package/dist/kongponents.es301.js +6 -133
  144. package/dist/kongponents.es302.js +5 -2
  145. package/dist/kongponents.es303.js +5 -95
  146. package/dist/kongponents.es304.js +72 -0
  147. package/dist/kongponents.es305.js +2 -45
  148. package/dist/kongponents.es306.js +372 -0
  149. package/dist/kongponents.es307.js +129 -55
  150. package/dist/{kongponents.es247.js → kongponents.es308.js} +2 -2
  151. package/dist/kongponents.es339.js +1 -1
  152. package/dist/kongponents.es358.js +52 -5762
  153. package/dist/kongponents.es360.js +5774 -5
  154. package/dist/kongponents.es361.js +1557 -2
  155. package/dist/kongponents.es362.js +5 -6
  156. package/dist/kongponents.es363.js +6 -25
  157. package/dist/kongponents.es364.js +11 -95
  158. package/dist/kongponents.es365.js +13 -0
  159. package/dist/kongponents.es366.js +12 -10
  160. package/dist/kongponents.es367.js +10 -10
  161. package/dist/kongponents.es368.js +18 -12
  162. package/dist/kongponents.es369.js +5 -10
  163. package/dist/kongponents.es370.js +55 -19
  164. package/dist/kongponents.es371.js +2 -6
  165. package/dist/kongponents.es372.js +71 -54
  166. package/dist/kongponents.es373.js +2 -2
  167. package/dist/kongponents.es374.js +11 -70
  168. package/dist/kongponents.es375.js +23 -2
  169. package/dist/kongponents.es376.js +19 -10
  170. package/dist/kongponents.es377.js +17 -19
  171. package/dist/kongponents.es378.js +647 -19
  172. package/dist/kongponents.es379.js +82 -19
  173. package/dist/kongponents.es38.js +2 -2
  174. package/dist/kongponents.es380.js +12 -647
  175. package/dist/kongponents.es381.js +26 -83
  176. package/dist/kongponents.es382.js +12 -10
  177. package/dist/kongponents.es383.js +13 -25
  178. package/dist/kongponents.es384.js +16 -16
  179. package/dist/kongponents.es385.js +13 -13
  180. package/dist/kongponents.es386.js +23 -16
  181. package/dist/kongponents.es387.js +16 -13
  182. package/dist/kongponents.es388.js +2 -24
  183. package/dist/kongponents.es389.js +13 -13
  184. package/dist/kongponents.es390.js +65 -2
  185. package/dist/kongponents.es391.js +4 -17
  186. package/dist/kongponents.es392.js +2 -65
  187. package/dist/kongponents.es393.js +2 -5
  188. package/dist/kongponents.es394.js +25 -2
  189. package/dist/kongponents.es395.js +2 -2
  190. package/dist/kongponents.es396.js +93 -368
  191. package/dist/kongponents.es403.js +1 -1
  192. package/dist/kongponents.es413.js +3 -6
  193. package/dist/kongponents.es414.js +25 -29
  194. package/dist/kongponents.es415.js +4 -3
  195. package/dist/kongponents.es416.js +4 -26
  196. package/dist/kongponents.es417.js +4 -4
  197. package/dist/kongponents.es418.js +4 -4
  198. package/dist/kongponents.es419.js +4 -4
  199. package/dist/kongponents.es420.js +15 -4
  200. package/dist/kongponents.es421.js +6 -4
  201. package/dist/kongponents.es422.js +27 -12
  202. package/dist/kongponents.es423.js +1 -1
  203. package/dist/kongponents.es427.js +1 -1
  204. package/dist/kongponents.es434.js +1 -1
  205. package/dist/kongponents.es450.js +2 -2
  206. package/dist/kongponents.es451.js +2 -2
  207. package/dist/kongponents.es452.js +4 -4
  208. package/dist/kongponents.es453.js +4 -4
  209. package/dist/kongponents.es455.js +1 -1
  210. package/dist/kongponents.es457.js +1 -1
  211. package/dist/kongponents.es458.js +2 -2
  212. package/dist/kongponents.es460.js +2 -2
  213. package/dist/kongponents.es461.js +2 -19
  214. package/dist/kongponents.es462.js +19 -2
  215. package/dist/kongponents.es463.js +2 -22
  216. package/dist/kongponents.es464.js +22 -2
  217. package/dist/kongponents.es465.js +2 -16
  218. package/dist/kongponents.es466.js +16 -2
  219. package/dist/kongponents.es467.js +2 -23
  220. package/dist/kongponents.es468.js +18 -18
  221. package/dist/kongponents.es469.js +18 -21
  222. package/dist/kongponents.es470.js +21 -18
  223. package/dist/kongponents.es471.js +20 -29
  224. package/dist/kongponents.es472.js +29 -13
  225. package/dist/kongponents.es473.js +14 -65
  226. package/dist/kongponents.es474.js +67 -2
  227. package/dist/kongponents.es475.js +2 -2
  228. package/dist/kongponents.es476.js +2 -2
  229. package/dist/kongponents.es477.js +2 -2
  230. package/dist/kongponents.es478.js +2 -2
  231. package/dist/kongponents.es479.js +2 -30
  232. package/dist/kongponents.es480.js +30 -2
  233. package/dist/kongponents.es488.js +1 -1
  234. package/dist/kongponents.es501.js +7 -29
  235. package/dist/kongponents.es502.js +12 -117
  236. package/dist/kongponents.es503.js +27 -28
  237. package/dist/kongponents.es504.js +14 -9
  238. package/dist/kongponents.es505.js +2 -14
  239. package/dist/kongponents.es506.js +2 -33
  240. package/dist/kongponents.es507.js +2 -29
  241. package/dist/kongponents.es508.js +2 -11
  242. package/dist/kongponents.es509.js +2 -13
  243. package/dist/kongponents.es510.js +20 -17
  244. package/dist/kongponents.es511.js +23 -23
  245. package/dist/kongponents.es512.js +2 -17
  246. package/dist/kongponents.es513.js +2 -97
  247. package/dist/kongponents.es514.js +26 -44
  248. package/dist/kongponents.es515.js +26 -28
  249. package/dist/kongponents.es516.js +2 -72
  250. package/dist/kongponents.es517.js +2 -52
  251. package/dist/kongponents.es518.js +2 -35
  252. package/dist/kongponents.es519.js +2 -42
  253. package/dist/kongponents.es520.js +76 -6
  254. package/dist/kongponents.es521.js +42 -14
  255. package/dist/kongponents.es522.js +20 -28
  256. package/dist/kongponents.es523.js +132 -15
  257. package/dist/kongponents.es524.js +98 -2
  258. package/dist/kongponents.es525.js +29 -2
  259. package/dist/kongponents.es526.js +120 -2
  260. package/dist/kongponents.es527.js +30 -2
  261. package/dist/kongponents.es528.js +11 -2
  262. package/dist/kongponents.es529.js +13 -20
  263. package/dist/kongponents.es530.js +32 -23
  264. package/dist/kongponents.es531.js +29 -2
  265. package/dist/kongponents.es532.js +11 -2
  266. package/dist/kongponents.es533.js +12 -26
  267. package/dist/kongponents.es534.js +17 -26
  268. package/dist/kongponents.es535.js +24 -2
  269. package/dist/kongponents.es536.js +17 -2
  270. package/dist/kongponents.es537.js +97 -2
  271. package/dist/kongponents.es538.js +45 -2
  272. package/dist/kongponents.es539.js +28 -76
  273. package/dist/kongponents.es540.js +71 -42
  274. package/dist/kongponents.es541.js +51 -20
  275. package/dist/kongponents.es542.js +34 -132
  276. package/dist/kongponents.es543.js +41 -97
  277. package/dist/kongponents.es557.js +2 -4
  278. package/dist/kongponents.es558.js +2 -4
  279. package/dist/kongponents.es559.js +2 -16
  280. package/dist/kongponents.es560.js +2 -4
  281. package/dist/kongponents.es561.js +2 -10
  282. package/dist/kongponents.es562.js +2 -5
  283. package/dist/kongponents.es563.js +16 -5
  284. package/dist/kongponents.es564.js +2 -10
  285. package/dist/kongponents.es565.js +2 -8
  286. package/dist/kongponents.es566.js +24 -4
  287. package/dist/kongponents.es567.js +2 -4
  288. package/dist/kongponents.es568.js +39 -4
  289. package/dist/kongponents.es569.js +25 -11
  290. package/dist/kongponents.es570.js +3 -9
  291. package/dist/kongponents.es571.js +3 -30
  292. package/dist/kongponents.es572.js +15 -24
  293. package/dist/kongponents.es573.js +3 -51
  294. package/dist/kongponents.es574.js +9 -3
  295. package/dist/kongponents.es575.js +4 -8
  296. package/dist/kongponents.es576.js +5 -20
  297. package/dist/kongponents.es577.js +9 -7
  298. package/dist/kongponents.es578.js +7 -6
  299. package/dist/kongponents.es579.js +4 -5
  300. package/dist/kongponents.es580.js +3 -7
  301. package/dist/kongponents.es581.js +4 -16
  302. package/dist/kongponents.es582.js +11 -4
  303. package/dist/kongponents.es583.js +8 -5
  304. package/dist/kongponents.es584.js +30 -34
  305. package/dist/kongponents.es585.js +23 -7
  306. package/dist/kongponents.es586.js +52 -2
  307. package/dist/kongponents.es587.js +4 -2
  308. package/dist/kongponents.es588.js +9 -2
  309. package/dist/kongponents.es589.js +21 -2
  310. package/dist/kongponents.es590.js +8 -2
  311. package/dist/kongponents.es591.js +7 -2
  312. package/dist/kongponents.es592.js +5 -16
  313. package/dist/kongponents.es593.js +8 -2
  314. package/dist/kongponents.es594.js +16 -2
  315. package/dist/kongponents.es595.js +4 -24
  316. package/dist/kongponents.es596.js +7 -2
  317. package/dist/kongponents.es597.js +34 -38
  318. package/dist/kongponents.es598.js +8 -25
  319. package/dist/kongponents.es601.js +2 -5
  320. package/dist/kongponents.es602.js +2 -9
  321. package/dist/kongponents.es603.js +2 -7
  322. package/dist/kongponents.es604.js +2 -19
  323. package/dist/kongponents.es605.js +4 -14
  324. package/dist/kongponents.es606.js +9 -2
  325. package/dist/kongponents.es607.js +7 -2
  326. package/dist/kongponents.es608.js +19 -2
  327. package/dist/kongponents.es609.js +15 -2
  328. package/dist/kongponents.es72.js +6 -6
  329. package/dist/kongponents.es75.js +1 -1
  330. package/dist/kongponents.es77.js +1 -1
  331. package/dist/kongponents.es83.js +1 -1
  332. package/dist/kongponents.es87.js +3 -3
  333. package/dist/kongponents.es89.js +17 -16
  334. package/dist/kongponents.es94.js +2 -2
  335. package/dist/kongponents.es96.js +6 -6
  336. package/dist/kongponents.es99.js +2 -2
  337. package/dist/kongponents.umd.js +2 -2
  338. package/dist/kongponents105.cjs +1 -1
  339. package/dist/kongponents107.cjs +1 -1
  340. package/dist/kongponents109.cjs +1 -1
  341. package/dist/kongponents113.cjs +1 -1
  342. package/dist/kongponents115.cjs +1 -1
  343. package/dist/kongponents117.cjs +1 -1
  344. package/dist/kongponents119.cjs +1 -1
  345. package/dist/kongponents122.cjs +1 -1
  346. package/dist/kongponents124.cjs +1 -1
  347. package/dist/kongponents128.cjs +1 -1
  348. package/dist/kongponents130.cjs +1 -1
  349. package/dist/kongponents132.cjs +1 -1
  350. package/dist/kongponents139.cjs +1 -1
  351. package/dist/kongponents141.cjs +1 -1
  352. package/dist/kongponents143.cjs +1 -1
  353. package/dist/kongponents147.cjs +1 -1
  354. package/dist/kongponents149.cjs +1 -1
  355. package/dist/kongponents154.cjs +1 -1
  356. package/dist/kongponents156.cjs +1 -1
  357. package/dist/kongponents158.cjs +1 -1
  358. package/dist/kongponents160.cjs +1 -1
  359. package/dist/kongponents170.cjs +1 -1
  360. package/dist/kongponents171.cjs +1 -1
  361. package/dist/kongponents172.cjs +1 -1
  362. package/dist/kongponents173.cjs +1 -1
  363. package/dist/kongponents174.cjs +1 -1
  364. package/dist/kongponents175.cjs +1 -0
  365. package/dist/kongponents176.cjs +1 -1
  366. package/dist/kongponents177.cjs +1 -1
  367. package/dist/kongponents178.cjs +1 -1
  368. package/dist/kongponents179.cjs +5 -1
  369. package/dist/kongponents180.cjs +1 -5
  370. package/dist/kongponents181.cjs +1 -1
  371. package/dist/kongponents182.cjs +1 -1
  372. package/dist/kongponents183.cjs +1 -1
  373. package/dist/kongponents184.cjs +1 -1
  374. package/dist/kongponents185.cjs +1 -1
  375. package/dist/kongponents186.cjs +1 -1
  376. package/dist/kongponents187.cjs +1 -1
  377. package/dist/kongponents188.cjs +1 -1
  378. package/dist/kongponents189.cjs +1 -1
  379. package/dist/kongponents190.cjs +1 -1
  380. package/dist/kongponents191.cjs +1 -1
  381. package/dist/kongponents192.cjs +1 -1
  382. package/dist/kongponents194.cjs +1 -1
  383. package/dist/kongponents195.cjs +1 -1
  384. package/dist/kongponents196.cjs +1 -1
  385. package/dist/kongponents197.cjs +1 -1
  386. package/dist/kongponents198.cjs +1 -1
  387. package/dist/kongponents199.cjs +1 -1
  388. package/dist/kongponents200.cjs +2 -1
  389. package/dist/kongponents201.cjs +1 -1
  390. package/dist/kongponents202.cjs +1 -1
  391. package/dist/kongponents203.cjs +1 -2
  392. package/dist/kongponents204.cjs +1 -1
  393. package/dist/kongponents205.cjs +1 -1
  394. package/dist/kongponents206.cjs +1 -1
  395. package/dist/kongponents207.cjs +1 -1
  396. package/dist/kongponents208.cjs +1 -1
  397. package/dist/kongponents209.cjs +1 -1
  398. package/dist/kongponents21.cjs +1 -1
  399. package/dist/kongponents210.cjs +1 -1
  400. package/dist/kongponents211.cjs +2 -1
  401. package/dist/kongponents212.cjs +1 -1
  402. package/dist/kongponents213.cjs +1 -1
  403. package/dist/kongponents214.cjs +1 -1
  404. package/dist/kongponents215.cjs +1 -1
  405. package/dist/kongponents216.cjs +1 -1
  406. package/dist/kongponents217.cjs +1 -2
  407. package/dist/kongponents218.cjs +1 -1
  408. package/dist/kongponents219.cjs +1 -1
  409. package/dist/kongponents220.cjs +1 -1
  410. package/dist/kongponents221.cjs +1 -1
  411. package/dist/kongponents222.cjs +1 -1
  412. package/dist/kongponents223.cjs +1 -1
  413. package/dist/kongponents224.cjs +1 -1
  414. package/dist/kongponents225.cjs +1 -1
  415. package/dist/kongponents226.cjs +1 -1
  416. package/dist/kongponents227.cjs +1 -1
  417. package/dist/kongponents228.cjs +1 -1
  418. package/dist/kongponents229.cjs +1 -1
  419. package/dist/kongponents230.cjs +1 -1
  420. package/dist/kongponents231.cjs +1 -1
  421. package/dist/kongponents232.cjs +1 -1
  422. package/dist/kongponents233.cjs +1 -1
  423. package/dist/kongponents234.cjs +1 -1
  424. package/dist/kongponents235.cjs +1 -1
  425. package/dist/kongponents236.cjs +1 -1
  426. package/dist/kongponents237.cjs +1 -1
  427. package/dist/kongponents238.cjs +1 -1
  428. package/dist/kongponents239.cjs +1 -1
  429. package/dist/kongponents24.cjs +1 -1
  430. package/dist/kongponents240.cjs +5 -1
  431. package/dist/kongponents241.cjs +1 -5
  432. package/dist/kongponents242.cjs +1 -1
  433. package/dist/kongponents244.cjs +1 -1
  434. package/dist/kongponents245.cjs +1 -0
  435. package/dist/kongponents246.cjs +1 -0
  436. package/dist/kongponents248.cjs +1 -0
  437. package/dist/kongponents250.cjs +1 -1
  438. package/dist/kongponents252.cjs +1 -1
  439. package/dist/kongponents253.cjs +1 -1
  440. package/dist/kongponents254.cjs +1 -1
  441. package/dist/kongponents255.cjs +1 -1
  442. package/dist/kongponents258.cjs +4 -0
  443. package/dist/kongponents259.cjs +1 -1
  444. package/dist/kongponents26.cjs +1 -1
  445. package/dist/kongponents260.cjs +1 -0
  446. package/dist/kongponents261.cjs +1 -1
  447. package/dist/kongponents262.cjs +1 -0
  448. package/dist/kongponents263.cjs +1 -1
  449. package/dist/kongponents265.cjs +1 -1
  450. package/dist/kongponents267.cjs +1 -1
  451. package/dist/kongponents269.cjs +1 -4
  452. package/dist/kongponents271.cjs +1 -1
  453. package/dist/kongponents273.cjs +1 -1
  454. package/dist/kongponents275.cjs +1 -1
  455. package/dist/kongponents277.cjs +1 -1
  456. package/dist/kongponents279.cjs +1 -1
  457. package/dist/kongponents28.cjs +1 -1
  458. package/dist/kongponents280.cjs +1 -1
  459. package/dist/kongponents281.cjs +1 -1
  460. package/dist/kongponents282.cjs +1 -1
  461. package/dist/kongponents283.cjs +1 -1
  462. package/dist/kongponents284.cjs +1 -1
  463. package/dist/kongponents285.cjs +1 -1
  464. package/dist/kongponents286.cjs +1 -1
  465. package/dist/kongponents287.cjs +1 -1
  466. package/dist/kongponents288.cjs +1 -1
  467. package/dist/kongponents289.cjs +1 -1
  468. package/dist/kongponents290.cjs +1 -1
  469. package/dist/kongponents291.cjs +1 -1
  470. package/dist/kongponents292.cjs +1 -1
  471. package/dist/kongponents293.cjs +1 -1
  472. package/dist/kongponents294.cjs +1 -1
  473. package/dist/kongponents295.cjs +1 -1
  474. package/dist/kongponents296.cjs +1 -1
  475. package/dist/kongponents297.cjs +1 -1
  476. package/dist/kongponents298.cjs +1 -0
  477. package/dist/kongponents299.cjs +1 -1
  478. package/dist/kongponents300.cjs +1 -0
  479. package/dist/kongponents301.cjs +1 -1
  480. package/dist/kongponents302.cjs +1 -1
  481. package/dist/kongponents303.cjs +1 -1
  482. package/dist/kongponents304.cjs +1 -0
  483. package/dist/kongponents305.cjs +1 -1
  484. package/dist/kongponents306.cjs +1 -0
  485. package/dist/kongponents307.cjs +1 -1
  486. package/dist/{kongponents247.cjs → kongponents308.cjs} +1 -1
  487. package/dist/kongponents339.cjs +1 -1
  488. package/dist/kongponents358.cjs +1 -1
  489. package/dist/kongponents360.cjs +1 -1
  490. package/dist/kongponents361.cjs +10 -1
  491. package/dist/kongponents362.cjs +1 -1
  492. package/dist/kongponents363.cjs +1 -1
  493. package/dist/kongponents364.cjs +1 -1
  494. package/dist/kongponents365.cjs +1 -0
  495. package/dist/kongponents366.cjs +1 -1
  496. package/dist/kongponents367.cjs +1 -1
  497. package/dist/kongponents368.cjs +1 -1
  498. package/dist/kongponents369.cjs +1 -1
  499. package/dist/kongponents370.cjs +1 -1
  500. package/dist/kongponents371.cjs +1 -1
  501. package/dist/kongponents372.cjs +1 -1
  502. package/dist/kongponents373.cjs +1 -1
  503. package/dist/kongponents374.cjs +1 -1
  504. package/dist/kongponents375.cjs +1 -1
  505. package/dist/kongponents376.cjs +1 -1
  506. package/dist/kongponents377.cjs +1 -1
  507. package/dist/kongponents378.cjs +1 -1
  508. package/dist/kongponents379.cjs +1 -1
  509. package/dist/kongponents38.cjs +1 -1
  510. package/dist/kongponents380.cjs +1 -1
  511. package/dist/kongponents381.cjs +1 -1
  512. package/dist/kongponents382.cjs +1 -1
  513. package/dist/kongponents383.cjs +1 -1
  514. package/dist/kongponents384.cjs +1 -1
  515. package/dist/kongponents385.cjs +1 -1
  516. package/dist/kongponents386.cjs +1 -1
  517. package/dist/kongponents387.cjs +1 -1
  518. package/dist/kongponents388.cjs +1 -1
  519. package/dist/kongponents389.cjs +1 -1
  520. package/dist/kongponents390.cjs +1 -1
  521. package/dist/kongponents391.cjs +1 -1
  522. package/dist/kongponents392.cjs +1 -1
  523. package/dist/kongponents393.cjs +1 -1
  524. package/dist/kongponents394.cjs +1 -1
  525. package/dist/kongponents395.cjs +1 -1
  526. package/dist/kongponents396.cjs +1 -1
  527. package/dist/kongponents403.cjs +1 -1
  528. package/dist/kongponents413.cjs +1 -1
  529. package/dist/kongponents414.cjs +1 -1
  530. package/dist/kongponents415.cjs +1 -1
  531. package/dist/kongponents416.cjs +1 -1
  532. package/dist/kongponents417.cjs +1 -1
  533. package/dist/kongponents418.cjs +1 -1
  534. package/dist/kongponents419.cjs +1 -1
  535. package/dist/kongponents420.cjs +1 -1
  536. package/dist/kongponents421.cjs +1 -1
  537. package/dist/kongponents422.cjs +1 -1
  538. package/dist/kongponents423.cjs +1 -1
  539. package/dist/kongponents427.cjs +1 -1
  540. package/dist/kongponents434.cjs +1 -1
  541. package/dist/kongponents450.cjs +1 -1
  542. package/dist/kongponents451.cjs +1 -1
  543. package/dist/kongponents452.cjs +1 -1
  544. package/dist/kongponents453.cjs +1 -1
  545. package/dist/kongponents455.cjs +1 -1
  546. package/dist/kongponents457.cjs +1 -1
  547. package/dist/kongponents458.cjs +1 -1
  548. package/dist/kongponents461.cjs +1 -1
  549. package/dist/kongponents462.cjs +1 -1
  550. package/dist/kongponents463.cjs +1 -1
  551. package/dist/kongponents464.cjs +1 -1
  552. package/dist/kongponents465.cjs +1 -1
  553. package/dist/kongponents466.cjs +1 -1
  554. package/dist/kongponents467.cjs +1 -1
  555. package/dist/kongponents468.cjs +1 -1
  556. package/dist/kongponents469.cjs +1 -1
  557. package/dist/kongponents470.cjs +1 -1
  558. package/dist/kongponents471.cjs +1 -1
  559. package/dist/kongponents472.cjs +1 -1
  560. package/dist/kongponents473.cjs +1 -1
  561. package/dist/kongponents474.cjs +1 -1
  562. package/dist/kongponents475.cjs +1 -1
  563. package/dist/kongponents476.cjs +1 -1
  564. package/dist/kongponents477.cjs +1 -1
  565. package/dist/kongponents478.cjs +1 -1
  566. package/dist/kongponents479.cjs +1 -1
  567. package/dist/kongponents480.cjs +1 -1
  568. package/dist/kongponents488.cjs +1 -1
  569. package/dist/kongponents501.cjs +1 -1
  570. package/dist/kongponents502.cjs +1 -1
  571. package/dist/kongponents503.cjs +1 -1
  572. package/dist/kongponents504.cjs +1 -1
  573. package/dist/kongponents505.cjs +1 -1
  574. package/dist/kongponents506.cjs +1 -1
  575. package/dist/kongponents507.cjs +1 -1
  576. package/dist/kongponents508.cjs +1 -1
  577. package/dist/kongponents509.cjs +1 -1
  578. package/dist/kongponents510.cjs +1 -1
  579. package/dist/kongponents511.cjs +1 -1
  580. package/dist/kongponents512.cjs +1 -1
  581. package/dist/kongponents513.cjs +1 -1
  582. package/dist/kongponents514.cjs +1 -1
  583. package/dist/kongponents515.cjs +1 -1
  584. package/dist/kongponents516.cjs +1 -1
  585. package/dist/kongponents517.cjs +1 -1
  586. package/dist/kongponents518.cjs +1 -1
  587. package/dist/kongponents519.cjs +1 -1
  588. package/dist/kongponents520.cjs +1 -1
  589. package/dist/kongponents521.cjs +1 -1
  590. package/dist/kongponents522.cjs +1 -1
  591. package/dist/kongponents523.cjs +1 -1
  592. package/dist/kongponents524.cjs +1 -1
  593. package/dist/kongponents525.cjs +1 -1
  594. package/dist/kongponents526.cjs +1 -1
  595. package/dist/kongponents527.cjs +1 -1
  596. package/dist/kongponents528.cjs +1 -1
  597. package/dist/kongponents529.cjs +1 -1
  598. package/dist/kongponents530.cjs +1 -1
  599. package/dist/kongponents531.cjs +1 -1
  600. package/dist/kongponents532.cjs +1 -1
  601. package/dist/kongponents533.cjs +1 -1
  602. package/dist/kongponents534.cjs +1 -1
  603. package/dist/kongponents535.cjs +1 -1
  604. package/dist/kongponents536.cjs +1 -1
  605. package/dist/kongponents537.cjs +1 -1
  606. package/dist/kongponents538.cjs +1 -1
  607. package/dist/kongponents539.cjs +1 -1
  608. package/dist/kongponents540.cjs +1 -1
  609. package/dist/kongponents541.cjs +1 -1
  610. package/dist/kongponents542.cjs +1 -1
  611. package/dist/kongponents543.cjs +1 -1
  612. package/dist/kongponents557.cjs +1 -1
  613. package/dist/kongponents558.cjs +1 -1
  614. package/dist/kongponents559.cjs +1 -1
  615. package/dist/kongponents560.cjs +1 -1
  616. package/dist/kongponents561.cjs +1 -1
  617. package/dist/kongponents562.cjs +1 -1
  618. package/dist/kongponents563.cjs +1 -1
  619. package/dist/kongponents564.cjs +1 -1
  620. package/dist/kongponents565.cjs +1 -1
  621. package/dist/kongponents566.cjs +1 -1
  622. package/dist/kongponents567.cjs +1 -1
  623. package/dist/kongponents568.cjs +1 -1
  624. package/dist/kongponents569.cjs +1 -1
  625. package/dist/kongponents570.cjs +1 -1
  626. package/dist/kongponents571.cjs +1 -1
  627. package/dist/kongponents572.cjs +1 -1
  628. package/dist/kongponents573.cjs +1 -1
  629. package/dist/kongponents574.cjs +1 -1
  630. package/dist/kongponents575.cjs +1 -1
  631. package/dist/kongponents576.cjs +1 -1
  632. package/dist/kongponents577.cjs +1 -1
  633. package/dist/kongponents578.cjs +1 -1
  634. package/dist/kongponents579.cjs +1 -1
  635. package/dist/kongponents580.cjs +1 -1
  636. package/dist/kongponents581.cjs +1 -1
  637. package/dist/kongponents582.cjs +1 -1
  638. package/dist/kongponents583.cjs +1 -1
  639. package/dist/kongponents584.cjs +1 -1
  640. package/dist/kongponents585.cjs +1 -1
  641. package/dist/kongponents586.cjs +1 -1
  642. package/dist/kongponents587.cjs +1 -1
  643. package/dist/kongponents588.cjs +1 -1
  644. package/dist/kongponents589.cjs +1 -1
  645. package/dist/kongponents590.cjs +1 -1
  646. package/dist/kongponents591.cjs +1 -1
  647. package/dist/kongponents592.cjs +1 -1
  648. package/dist/kongponents593.cjs +1 -1
  649. package/dist/kongponents594.cjs +1 -1
  650. package/dist/kongponents595.cjs +1 -1
  651. package/dist/kongponents596.cjs +1 -1
  652. package/dist/kongponents597.cjs +1 -1
  653. package/dist/kongponents598.cjs +1 -1
  654. package/dist/kongponents601.cjs +1 -1
  655. package/dist/kongponents602.cjs +1 -1
  656. package/dist/kongponents603.cjs +1 -1
  657. package/dist/kongponents604.cjs +1 -1
  658. package/dist/kongponents605.cjs +1 -1
  659. package/dist/kongponents606.cjs +1 -1
  660. package/dist/kongponents607.cjs +1 -1
  661. package/dist/kongponents608.cjs +1 -1
  662. package/dist/kongponents609.cjs +1 -1
  663. package/dist/kongponents72.cjs +1 -1
  664. package/dist/kongponents75.cjs +1 -1
  665. package/dist/kongponents77.cjs +1 -1
  666. package/dist/kongponents83.cjs +1 -1
  667. package/dist/kongponents87.cjs +1 -1
  668. package/dist/kongponents89.cjs +2 -2
  669. package/dist/kongponents94.cjs +1 -1
  670. package/dist/kongponents96.cjs +1 -1
  671. package/dist/kongponents99.cjs +1 -1
  672. package/dist/types/types/code-block.d.ts +1 -0
  673. package/package.json +1 -1
  674. package/dist/kongponents.es193.js +0 -191
  675. package/dist/kongponents.es249.js +0 -42
  676. package/dist/kongponents.es251.js +0 -4
  677. package/dist/kongponents.es257.js +0 -26
  678. package/dist/kongponents.es270.js +0 -11
  679. package/dist/kongponents.es272.js +0 -10
  680. package/dist/kongponents.es274.js +0 -12
  681. package/dist/kongponents.es276.js +0 -639
  682. package/dist/kongponents.es278.js +0 -7
  683. package/dist/kongponents.es309.js +0 -8
  684. package/dist/kongponents.es359.js +0 -1559
  685. package/dist/kongponents.es397.js +0 -132
  686. package/dist/kongponents193.cjs +0 -1
  687. package/dist/kongponents249.cjs +0 -1
  688. package/dist/kongponents251.cjs +0 -1
  689. package/dist/kongponents257.cjs +0 -1
  690. package/dist/kongponents270.cjs +0 -1
  691. package/dist/kongponents272.cjs +0 -1
  692. package/dist/kongponents274.cjs +0 -1
  693. package/dist/kongponents276.cjs +0 -1
  694. package/dist/kongponents278.cjs +0 -1
  695. package/dist/kongponents309.cjs +0 -1
  696. package/dist/kongponents359.cjs +0 -10
  697. package/dist/kongponents397.cjs +0 -1
@@ -0,0 +1,97 @@
1
+ import { defineComponent as K, computed as g, useTemplateRef as $, createElementBlock as d, openBlock as l, createBlock as u, createCommentVNode as h, Fragment as m, renderList as f, withCtx as S, renderSlot as v, createElementVNode as p, toDisplayString as y, createTextVNode as V } from "vue";
2
+ import w from "./kongponents.es199.js";
3
+ const D = { ref: "itemsContainer" }, O = { class: "select-group-title" }, R = { class: "select-item-description" }, I = ".select-item button:not(:disabled)", q = '.select-item[aria-selected="true"] button:not(:disabled)', G = /* @__PURE__ */ K({
4
+ __name: "KSelectItems",
5
+ props: {
6
+ items: { default: () => [] },
7
+ itemCreationEnabled: { type: Boolean },
8
+ filterString: { default: "" },
9
+ itemCreationValid: { type: Boolean, default: !0 }
10
+ },
11
+ emits: ["selected", "add-item"],
12
+ setup(s, { expose: k, emit: A }) {
13
+ const L = A, C = (n) => L("selected", n), T = g(() => {
14
+ var n;
15
+ return (n = s.items) == null ? void 0 : n.filter((t) => !t.group);
16
+ }), b = g(() => {
17
+ var n, t;
18
+ return [...new Set((t = (n = s.items) == null ? void 0 : n.filter((e) => e.group)) == null ? void 0 : t.map((e) => e.group))].sort((e, o) => e.toLowerCase().localeCompare(o.toLowerCase()));
19
+ }), x = (n) => {
20
+ var t;
21
+ return (t = s.items) == null ? void 0 : t.filter((e) => e.group === n);
22
+ }, E = $("itemsContainer"), B = (n) => {
23
+ var i, c;
24
+ const t = E.value;
25
+ if (!t)
26
+ return;
27
+ const e = t.querySelectorAll(I);
28
+ if (!(e != null && e.length))
29
+ return;
30
+ const o = t.querySelector(q);
31
+ if (o) {
32
+ const r = [...e].indexOf(o);
33
+ (i = e[n === "down" ? r + 1 : r - 1]) == null || i.focus();
34
+ } else
35
+ (c = e[n === "down" ? 0 : e.length - 1]) == null || c.focus();
36
+ }, a = ({ target: n, key: t }) => {
37
+ var e;
38
+ if (t === "ArrowDown" || t === "ArrowUp") {
39
+ const o = (e = E.value) == null ? void 0 : e.querySelectorAll(I);
40
+ if (o != null && o.length) {
41
+ const i = [...o].indexOf(n), c = t === "ArrowDown" ? i + 1 : i - 1, r = o[c];
42
+ r == null || r.focus();
43
+ }
44
+ }
45
+ };
46
+ return k({ setFocus: B }), (n, t) => (l(), d("div", D, [
47
+ (l(!0), d(m, null, f(T.value, (e) => (l(), u(w, {
48
+ key: e.key,
49
+ item: e,
50
+ onKeydown: a,
51
+ onSelected: C
52
+ }, {
53
+ content: S(() => [
54
+ v(n.$slots, "content", { item: e }, void 0, !0)
55
+ ]),
56
+ _: 2
57
+ }, 1032, ["item"]))), 128)),
58
+ (l(!0), d(m, null, f(b.value, (e) => (l(), d("div", {
59
+ key: `${e}-group`,
60
+ class: "select-group",
61
+ "data-propagate-clicks": "false"
62
+ }, [
63
+ p("span", O, y(e), 1),
64
+ (l(!0), d(m, null, f(x(e), (o) => (l(), u(w, {
65
+ key: o.key,
66
+ item: o,
67
+ onKeydown: a,
68
+ onSelected: C
69
+ }, {
70
+ content: S(() => [
71
+ v(n.$slots, "content", { item: o }, void 0, !0)
72
+ ]),
73
+ _: 2
74
+ }, 1032, ["item"]))), 128))
75
+ ]))), 128)),
76
+ s.itemCreationEnabled ? (l(), u(w, {
77
+ key: "select-add-item",
78
+ class: "select-add-item",
79
+ "data-testid": "select-add-item",
80
+ item: { label: `${s.filterString} (Add new value)`, value: "add_item", disabled: !s.itemCreationValid },
81
+ onKeydown: a,
82
+ onSelected: t[0] || (t[0] = (e) => n.$emit("add-item"))
83
+ }, {
84
+ content: S(() => [
85
+ p("div", R, [
86
+ V(y(s.filterString) + " ", 1),
87
+ t[1] || (t[1] = p("span", { class: "select-item-new-indicator" }, "(Add new value)", -1))
88
+ ])
89
+ ]),
90
+ _: 1
91
+ }, 8, ["item"])) : h("", !0)
92
+ ], 512));
93
+ }
94
+ });
95
+ export {
96
+ G as default
97
+ };
@@ -0,0 +1,47 @@
1
+ import { defineComponent as r, createElementBlock as c, openBlock as u, createElementVNode as l, withKeys as s, normalizeClass as v, withModifiers as n, 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",
4
+ props: {
5
+ item: {}
6
+ },
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) => (u(), c("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));
43
+ }
44
+ });
45
+ export {
46
+ K as default
47
+ };
@@ -1,322 +1,179 @@
1
- import { getCurrentInstance as $, ref as q, reactive as z, onMounted as J, onUnmounted as K, watch as N, isReadonly as Q, toRefs as X } from "vue";
2
- import D from "./kongponents.es449.js";
3
- import x from "./kongponents.es249.js";
4
- var m = function() {
5
- return m = Object.assign || function(u) {
6
- for (var a, r = 1, i = arguments.length; r < i; r++) {
7
- a = arguments[r];
8
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (u[n] = a[n]);
9
- }
10
- return u;
11
- }, m.apply(this, arguments);
12
- }, E = function(u, a, r, i) {
13
- function n(e) {
14
- return e instanceof r ? e : new r(function(s) {
15
- s(e);
1
+ import { defineComponent as W, mergeModels as j, useModel as P, ref as b, useId as J, computed as D, onMounted as K, watch as h, createElementBlock as m, openBlock as i, createBlock as I, createCommentVNode as y, unref as c, mergeProps as B, createElementVNode as M, createVNode as L, withDirectives as S, toDisplayString as k, normalizeClass as F, vModelText as A, Transition as Q, withCtx as X } from "vue";
2
+ import { DatePicker as U } from "./kongponents.es360.js";
3
+ import Z from "./kongponents.es291.js";
4
+ import p from "./kongponents.es295.js";
5
+ import G from "./kongponents.es197.js";
6
+ const _ = { class: "calendar-wrapper" }, ee = {
7
+ key: 2,
8
+ class: "time-wrapper"
9
+ }, te = { class: "time-input" }, ae = ["for"], ne = { key: 0 }, le = { key: 1 }, ue = ["id", "step"], se = ["for"], ie = { key: 0 }, re = ["id", "step"], oe = {
10
+ key: 0,
11
+ class: "help-text"
12
+ }, ye = /* @__PURE__ */ W({
13
+ __name: "CalendarWrapper",
14
+ props: /* @__PURE__ */ j({
15
+ isRange: { type: Boolean },
16
+ kDatePickerMode: {},
17
+ maxDate: { default: () => {
18
+ } },
19
+ minDate: { default: () => {
20
+ } },
21
+ errorMessage: { default: () => {
22
+ } },
23
+ timeGranularity: { default: "minutely" }
24
+ }, {
25
+ modelValue: { required: !0 },
26
+ modelModifiers: {},
27
+ error: { type: Boolean, default: !1 },
28
+ errorModifiers: {}
29
+ }),
30
+ emits: ["update:modelValue", "update:error"],
31
+ setup(t, { expose: Y }) {
32
+ const u = (n, a) => a === "secondly" ? G(n, "HH:mm:ss") : G(n, "HH:mm"), e = P(t, "modelValue"), f = P(t, "error"), s = b(u(/* @__PURE__ */ new Date(), t.timeGranularity)), r = b(u(/* @__PURE__ */ new Date(), t.timeGranularity)), o = b({
33
+ start: u(/* @__PURE__ */ new Date(), t.timeGranularity),
34
+ end: u(/* @__PURE__ */ new Date(), t.timeGranularity)
35
+ }), g = J(), $ = D(() => t.isRange && e.value && "start" in e.value && e.value.start instanceof Date ? { 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 && Z(t.maxDate, p()) ? { year: t.maxDate.getFullYear(), month: t.maxDate.getMonth() + 1 } : { year: (/* @__PURE__ */ new Date()).getFullYear(), month: (/* @__PURE__ */ new Date()).getMonth() + 1 }), x = D(() => ({
36
+ borderless: !0,
37
+ color: "blue",
38
+ dragAttribute: q,
39
+ expanded: !0,
40
+ initialPage: $.value,
41
+ maxDate: t.maxDate,
42
+ minDate: t.minDate,
43
+ mode: "date",
44
+ modelConfig: N,
45
+ selectAttribute: z,
46
+ transparent: !0
47
+ })), R = D(() => ["time", "dateTime", "relativeDateTime"].includes(t.kDatePickerMode)), H = D(() => {
48
+ switch (t.timeGranularity) {
49
+ case "minutely":
50
+ return 60;
51
+ case "secondly":
52
+ return 1;
53
+ default:
54
+ return 60;
55
+ }
56
+ }), V = (n, a) => n > a, C = () => {
57
+ if (e.value && R.value)
58
+ if (t.isRange && e.value.start && e.value.end) {
59
+ const n = e.value;
60
+ s.value = u(n.start, t.timeGranularity), r.value = u(n.end, t.timeGranularity);
61
+ } else e.value instanceof Date ? s.value = u(e.value, t.timeGranularity) : s.value = u(/* @__PURE__ */ new Date(), t.timeGranularity);
62
+ }, w = (n) => {
63
+ const a = n.split(":"), l = parseInt(a[0], 10), d = parseInt(a[1], 10), v = t.timeGranularity === "secondly" && a[2] ? parseInt(a[2], 10) : 0;
64
+ return { hours: l, minutes: d, seconds: v };
65
+ };
66
+ K(() => {
67
+ C(), o.value.start = s.value, o.value.end = r.value;
16
68
  });
17
- }
18
- return new (r || (r = Promise))(function(e, s) {
19
- function y(o) {
20
- try {
21
- t(i.next(o));
22
- } catch (h) {
23
- s(h);
69
+ const N = { type: "number" }, q = {
70
+ key: "select-drag",
71
+ highlight: {
72
+ start: { contentClass: "vcal-day-drag-start" },
73
+ base: { contentClass: "vcal-day-drag-base" },
74
+ end: { contentClass: "vcal-day-drag-end" }
24
75
  }
25
- }
26
- function c(o) {
27
- try {
28
- t(i.throw(o));
29
- } catch (h) {
30
- s(h);
76
+ }, z = {
77
+ key: "select-calendar",
78
+ highlight: {
79
+ start: { contentClass: "vcal-day-start" },
80
+ base: { contentClass: "vcal-day-base" },
81
+ end: { contentClass: "vcal-day-end" }
31
82
  }
32
- }
33
- function t(o) {
34
- o.done ? e(o.value) : n(o.value).then(y, c);
35
- }
36
- t((i = i.apply(u, a || [])).next());
37
- });
38
- }, V = function(u, a) {
39
- var r = { label: 0, sent: function() {
40
- if (e[0] & 1) throw e[1];
41
- return e[1];
42
- }, trys: [], ops: [] }, i, n, e, s;
43
- return s = { next: y(0), throw: y(1), return: y(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() {
44
- return this;
45
- }), s;
46
- function y(t) {
47
- return function(o) {
48
- return c([t, o]);
49
83
  };
50
- }
51
- function c(t) {
52
- if (i) throw new TypeError("Generator is already executing.");
53
- for (; r; ) try {
54
- if (i = 1, n && (e = t[0] & 2 ? n.return : t[0] ? n.throw || ((e = n.return) && e.call(n), 0) : n.next) && !(e = e.call(n, t[1])).done) return e;
55
- switch (n = 0, e && (t = [t[0] & 2, e.value]), t[0]) {
56
- case 0:
57
- case 1:
58
- e = t;
59
- break;
60
- case 4:
61
- return r.label++, { value: t[1], done: !1 };
62
- case 5:
63
- r.label++, n = t[1], t = [0];
64
- continue;
65
- case 7:
66
- t = r.ops.pop(), r.trys.pop();
67
- continue;
68
- default:
69
- if (e = r.trys, !(e = e.length > 0 && e[e.length - 1]) && (t[0] === 6 || t[0] === 2)) {
70
- r = 0;
71
- continue;
72
- }
73
- if (t[0] === 3 && (!e || t[1] > e[0] && t[1] < e[3])) {
74
- r.label = t[1];
75
- break;
76
- }
77
- if (t[0] === 6 && r.label < e[1]) {
78
- r.label = e[1], e = t;
79
- break;
80
- }
81
- if (e && r.label < e[2]) {
82
- r.label = e[2], r.ops.push(t);
83
- break;
84
- }
85
- e[2] && r.ops.pop(), r.trys.pop();
86
- continue;
84
+ h(() => s.value, (n) => {
85
+ if (n) {
86
+ if (e.value && t.isRange && "start" in e.value && e.value.start instanceof Date && "end" in e.value && e.value.end instanceof Date) {
87
+ const a = /* @__PURE__ */ new Date(), { hours: l, minutes: d, seconds: v } = w(n);
88
+ a.setHours(l, d, v, 0), e.value.start.setHours(a.getHours(), a.getMinutes(), a.getSeconds(), 0), f.value = V(e.value.start, e.value.end);
89
+ } else if (e.value instanceof Date) {
90
+ const a = /* @__PURE__ */ new Date(), { hours: l, minutes: d, seconds: v } = w(n);
91
+ a.setHours(l, d, v, 0), e.value.setHours(a.getHours(), a.getMinutes(), a.getSeconds(), 0);
92
+ }
87
93
  }
88
- t = a.call(u, r);
89
- } catch (o) {
90
- t = [6, o], n = 0;
91
- } finally {
92
- i = e = 0;
93
- }
94
- if (t[0] & 5) throw t[1];
95
- return { value: t[0] ? t[1] : void 0, done: !0 };
96
- }
97
- }, Y = function(u, a) {
98
- var r = typeof Symbol == "function" && u[Symbol.iterator];
99
- if (!r) return u;
100
- var i = r.call(u), n, e = [], s;
101
- try {
102
- for (; (a === void 0 || a-- > 0) && !(n = i.next()).done; ) e.push(n.value);
103
- } catch (y) {
104
- s = { error: y };
105
- } finally {
106
- try {
107
- n && !n.done && (r = i.return) && r.call(i);
108
- } finally {
109
- if (s) throw s.error;
110
- }
111
- }
112
- return e;
113
- }, Z = function(u, a, r) {
114
- if (r || arguments.length === 2) for (var i = 0, n = a.length, e; i < n; i++)
115
- (e || !(i in a)) && (e || (e = Array.prototype.slice.call(a, 0, i)), e[i] = a[i]);
116
- return u.concat(e || Array.prototype.slice.call(a));
117
- }, W = new x(), p = new x(), k = new x(), G = {
118
- cache: W,
119
- refreshInterval: 0,
120
- ttl: 0,
121
- serverTTL: 1e3,
122
- dedupingInterval: 2e3,
123
- revalidateOnFocus: !0,
124
- revalidateDebounce: 0,
125
- shouldRetryOnError: !0,
126
- errorRetryInterval: 5e3,
127
- errorRetryCount: 5,
128
- fetcher: D.fetcher,
129
- isOnline: D.isOnline,
130
- isDocumentVisible: D.isDocumentVisible
131
- };
132
- function ee(u, a, r) {
133
- var i = p.get(u);
134
- if (i)
135
- i.data.push(a);
136
- else {
137
- var n = 5e3;
138
- p.set(u, [a], r > 0 ? r + n : r);
139
- }
140
- }
141
- function re(u, a, r) {
142
- if (r.isDocumentVisible() && !(r.errorRetryCount !== void 0 && a > r.errorRetryCount)) {
143
- var i = Math.min(a || 0, r.errorRetryCount), n = i * r.errorRetryInterval;
144
- setTimeout(function() {
145
- u(null, { errorRetryCount: i + 1, shouldRetryOnError: !0 });
146
- }, n);
147
- }
148
- }
149
- var P = function(u, a, r, i) {
150
- return r === void 0 && (r = W), i === void 0 && (i = G.ttl), E(void 0, void 0, void 0, function() {
151
- var n, e, s, y, c, t, o;
152
- return V(this, function(h) {
153
- switch (h.label) {
154
- case 0:
155
- if (!te(a)) return [3, 5];
156
- h.label = 1;
157
- case 1:
158
- return h.trys.push([1, 3, , 4]), [4, a];
159
- case 2:
160
- return n = h.sent(), [3, 4];
161
- case 3:
162
- return y = h.sent(), e = y, [3, 4];
163
- case 4:
164
- return [3, 6];
165
- case 5:
166
- n = a, h.label = 6;
167
- case 6:
168
- if (s = !1, c = { data: n, error: e, isValidating: s }, typeof n < "u")
169
- try {
170
- r.set(u, c, i);
171
- } catch (d) {
172
- console.error("swrv(mutate): failed to set cache", d);
173
- }
174
- return t = p.get(u), t && t.data.length && (o = t.data.filter(function(d) {
175
- return d.key === u;
176
- }), o.forEach(function(d, l) {
177
- typeof c.data < "u" && (d.data = c.data), d.error = c.error, d.isValidating = c.isValidating, d.isLoading = c.isValidating;
178
- var b = l === o.length - 1;
179
- b || delete o[l];
180
- }), o = o.filter(Boolean)), [2, c];
94
+ }), h(() => r.value, (n) => {
95
+ if (n && e.value && t.isRange && "end" in e.value && e.value.end instanceof Date && "start" in e.value && e.value.start instanceof Date) {
96
+ const a = /* @__PURE__ */ new Date(), { hours: l, minutes: d, seconds: v } = w(n);
97
+ a.setHours(l, d, v, 0), e.value.end.setHours(a.getHours(), a.getMinutes(), a.getSeconds(), 0), f.value = V(e.value.start, e.value.end);
181
98
  }
99
+ }), h(() => e.value, () => {
100
+ e.value && t.isRange && "start" in e.value && e.value.start instanceof Date && "end" in e.value && e.value.end instanceof Date ? (s.value = u(e.value.start, t.timeGranularity), r.value = u(e.value.end, t.timeGranularity), f.value = V(e.value.start, e.value.end)) : e.value instanceof Date && (s.value = u(e.value, t.timeGranularity));
101
+ }, { immediate: !0, deep: !0 }), h(() => t.timeGranularity, () => {
102
+ e.value && t.isRange && "start" in e.value && e.value.start instanceof Date ? o.value.start = u(e.value.start, t.timeGranularity) : e.value instanceof Date && (o.value.start = u(e.value, t.timeGranularity)), e.value && t.isRange && "end" in e.value && e.value.end instanceof Date && (o.value.end = u(e.value.end, t.timeGranularity));
182
103
  });
183
- });
184
- };
185
- function ue() {
186
- for (var u = this, a = [], r = 0; r < arguments.length; r++)
187
- a[r] = arguments[r];
188
- var i, n, e = m({}, G), s = !1, y = !1, c = $(), t = (c == null ? void 0 : c.proxy) || c;
189
- if (!t)
190
- return console.error("Could not get current instance, check to make sure that `useSwrv` is declared in the top level of the setup function."), null;
191
- var o = (t == null ? void 0 : t.$isServer) || !1;
192
- a.length >= 1 && (i = a[0]), a.length >= 2 && (n = a[1]), a.length > 2 && (e = m(m({}, e), a[2]));
193
- var h = o ? e.serverTTL : e.ttl, d = typeof i == "function" ? i : q(i);
194
- typeof n > "u" && (n = e.fetcher);
195
- var l = null;
196
- l || (l = z({
197
- data: void 0,
198
- error: void 0,
199
- isValidating: !0,
200
- isLoading: !0,
201
- key: null
202
- }));
203
- var b = function(v, f) {
204
- return E(u, void 0, void 0, function() {
205
- var F, g, I, C, A, H, L, j = this;
206
- return V(this, function(S) {
207
- switch (S.label) {
208
- case 0:
209
- return F = l.data === void 0, g = d.value, g ? (I = e.cache.get(g), C = I && I.data, l.isValidating = !0, l.isLoading = !C, C && (l.data = C.data, l.error = C.error), A = v || n, !A || !e.isDocumentVisible() && !F || (f == null ? void 0 : f.forceRevalidate) !== void 0 && !(f != null && f.forceRevalidate) ? (l.isValidating = !1, l.isLoading = !1, [
210
- 2
211
- /*return*/
212
- ]) : I && (H = !!(Date.now() - I.createdAt >= e.dedupingInterval || f != null && f.forceRevalidate), !H) ? (l.isValidating = !1, l.isLoading = !1, [
213
- 2
214
- /*return*/
215
- ]) : (L = function() {
216
- return E(j, void 0, void 0, function() {
217
- var w, B, T, M;
218
- return V(this, function(_) {
219
- switch (_.label) {
220
- case 0:
221
- return w = k.get(g), w ? [3, 2] : (B = Array.isArray(g) ? g : [g], T = A.apply(void 0, Z([], Y(B), !1)), k.set(g, T, e.dedupingInterval), [4, P(g, T, e.cache, h)]);
222
- case 1:
223
- return _.sent(), [3, 4];
224
- case 2:
225
- return [4, P(g, w.data, e.cache, h)];
226
- case 3:
227
- _.sent(), _.label = 4;
228
- case 4:
229
- return l.isValidating = !1, l.isLoading = !1, k.delete(g), l.error !== void 0 && (M = !s && e.shouldRetryOnError && (f ? f.shouldRetryOnError : !0), M && re(b, f ? f.errorRetryCount : 1, e)), [
230
- 2
231
- /*return*/
232
- ];
233
- }
234
- });
235
- });
236
- }, C && e.revalidateDebounce ? (setTimeout(function() {
237
- return E(j, void 0, void 0, function() {
238
- return V(this, function(w) {
239
- switch (w.label) {
240
- case 0:
241
- return s ? [3, 2] : [4, L()];
242
- case 1:
243
- w.sent(), w.label = 2;
244
- case 2:
245
- return [
246
- 2
247
- /*return*/
248
- ];
249
- }
250
- });
251
- });
252
- }, e.revalidateDebounce), [3, 3]) : [3, 1])) : [
253
- 2
254
- /*return*/
255
- ];
256
- case 1:
257
- return [4, L()];
258
- case 2:
259
- S.sent(), S.label = 3;
260
- case 3:
261
- return [
262
- 2
263
- /*return*/
264
- ];
265
- }
266
- });
267
- });
268
- }, O = function() {
269
- return E(u, void 0, void 0, function() {
270
- return V(this, function(v) {
271
- return [2, b(null, { shouldRetryOnError: !1 })];
272
- });
273
- });
274
- }, R = null;
275
- J(function() {
276
- var v = function() {
277
- return E(u, void 0, void 0, function() {
278
- return V(this, function(f) {
279
- switch (f.label) {
280
- case 0:
281
- return !l.error && e.isOnline() ? [4, b()] : [3, 2];
282
- case 1:
283
- return f.sent(), [3, 3];
284
- case 2:
285
- R && clearTimeout(R), f.label = 3;
286
- case 3:
287
- return e.refreshInterval && !s && (R = setTimeout(v, e.refreshInterval)), [
288
- 2
289
- /*return*/
290
- ];
291
- }
292
- });
293
- });
104
+ const T = (n) => {
105
+ const a = e.value;
106
+ return t.isRange && a && n in a && a[n] instanceof Date;
107
+ }, O = () => {
108
+ s.value = o.value.start, r.value = o.value.end;
109
+ }, E = (n) => {
110
+ try {
111
+ return G(n, "EEE MMM d yyyy");
112
+ } catch (a) {
113
+ console.warn("Error formatting date:", a);
114
+ }
294
115
  };
295
- e.refreshInterval && (R = setTimeout(v, e.refreshInterval)), e.revalidateOnFocus && (document.addEventListener("visibilitychange", O, !1), window.addEventListener("focus", O, !1));
296
- }), K(function() {
297
- s = !0, R && clearTimeout(R), e.revalidateOnFocus && (document.removeEventListener("visibilitychange", O, !1), window.removeEventListener("focus", O, !1));
298
- var v = p.get(d.value);
299
- v && (v.data = v.data.filter(function(f) {
300
- return f !== l;
301
- }));
302
- });
303
- try {
304
- N(d, function(v) {
305
- Q(d) || (d.value = v), l.key = v, l.isValidating = !!v, ee(d.value, l, h), !o && !y && d.value && b(), y = !1;
306
- }, {
307
- immediate: !0
308
- });
309
- } catch {
116
+ return Y({
117
+ resetTime: O,
118
+ initTimeInputs: C
119
+ }), (n, a) => (i(), m("div", _, [
120
+ t.isRange ? (i(), I(c(U), B({ key: 0 }, x.value, {
121
+ modelValue: e.value,
122
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => e.value = l),
123
+ modelModifiers: { range: !0 }
124
+ }), null, 16, ["modelValue"])) : (i(), I(c(U), B({ key: 1 }, x.value, {
125
+ modelValue: e.value,
126
+ "onUpdate:modelValue": a[1] || (a[1] = (l) => e.value = l)
127
+ }), null, 16, ["modelValue"])),
128
+ R.value ? (i(), m("div", ee, [
129
+ M("div", te, [
130
+ M("label", {
131
+ class: "time-input-label",
132
+ for: `time-input-start-${c(g)}`
133
+ }, [
134
+ T("start") ? (i(), m("span", ne, k(E(e.value.start)), 1)) : e.value && e.value instanceof Date ? (i(), m("span", le, k(E(e.value)), 1)) : y("", !0)
135
+ ], 8, ae),
136
+ S(M("input", {
137
+ id: `time-input-start-${c(g)}`,
138
+ "onUpdate:modelValue": a[2] || (a[2] = (l) => s.value = l),
139
+ class: F(["time-input-start", { "input-error": f.value }]),
140
+ "data-testid": "time-input-start",
141
+ step: H.value,
142
+ type: "time"
143
+ }, null, 10, ue), [
144
+ [A, s.value]
145
+ ]),
146
+ M("label", {
147
+ class: "time-input-label",
148
+ for: `time-input-end-${c(g)}`
149
+ }, [
150
+ T("end") ? (i(), m("span", ie, k(c(G)(e.value.end, "EEE MMM d yyyy")), 1)) : y("", !0)
151
+ ], 8, se),
152
+ t.isRange ? S((i(), m("input", {
153
+ key: 0,
154
+ id: `time-input-end-${c(g)}`,
155
+ "onUpdate:modelValue": a[3] || (a[3] = (l) => r.value = l),
156
+ class: F(["time-input-end", { "input-error": f.value }]),
157
+ "data-testid": "time-input-end",
158
+ step: H.value,
159
+ type: "time"
160
+ }, null, 10, re)), [
161
+ [A, r.value]
162
+ ]) : y("", !0)
163
+ ]),
164
+ L(Q, {
165
+ mode: "out-in",
166
+ name: "kongponents-fade-transition"
167
+ }, {
168
+ default: X(() => [
169
+ f.value && t.errorMessage ? (i(), m("div", oe, k(t.errorMessage), 1)) : y("", !0)
170
+ ]),
171
+ _: 1
172
+ })
173
+ ])) : y("", !0)
174
+ ]));
310
175
  }
311
- var U = m(m({}, X(l)), { mutate: function(v, f) {
312
- return b(v, m(m({}, f), { forceRevalidate: !0 }));
313
- } });
314
- return U;
315
- }
316
- function te(u) {
317
- return u !== null && typeof u == "object" && typeof u.then == "function";
318
- }
176
+ });
319
177
  export {
320
- ue as default,
321
- P as mutate
178
+ ye as default
322
179
  };