@kong/kongponents 9.46.13-pr.2993.5ae32be.0 → 9.46.13

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 (693) 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 +10 -10
  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 +10 -10
  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.es154.js +3 -3
  19. package/dist/kongponents.es156.js +5 -5
  20. package/dist/kongponents.es158.js +3 -3
  21. package/dist/kongponents.es160.js +12 -12
  22. package/dist/kongponents.es170.js +1 -1
  23. package/dist/kongponents.es171.js +24 -24
  24. package/dist/kongponents.es172.js +119 -18
  25. package/dist/kongponents.es173.js +113 -102
  26. package/dist/kongponents.es174.js +119 -18
  27. package/dist/kongponents.es175.js +115 -313
  28. package/dist/kongponents.es176.js +118 -38
  29. package/dist/kongponents.es177.js +18 -98
  30. package/dist/kongponents.es178.js +5 -119
  31. package/dist/kongponents.es179.js +21 -21
  32. package/dist/kongponents.es180.js +178 -112
  33. package/dist/kongponents.es181.js +18 -18
  34. package/dist/kongponents.es182.js +16 -16
  35. package/dist/kongponents.es183.js +21 -22
  36. package/dist/kongponents.es184.js +5 -119
  37. package/dist/kongponents.es185.js +5 -119
  38. package/dist/kongponents.es186.js +18 -5
  39. package/dist/kongponents.es187.js +9 -51
  40. package/dist/kongponents.es188.js +34 -34
  41. package/dist/kongponents.es189.js +21 -21
  42. package/dist/kongponents.es190.js +18 -18
  43. package/dist/kongponents.es191.js +108 -5
  44. package/dist/kongponents.es192.js +119 -5
  45. package/dist/kongponents.es193.js +112 -178
  46. package/dist/kongponents.es194.js +119 -10
  47. package/dist/kongponents.es195.js +31 -31
  48. package/dist/kongponents.es196.js +96 -113
  49. package/dist/kongponents.es197.js +5 -102
  50. package/dist/kongponents.es198.js +119 -5
  51. package/dist/kongponents.es199.js +24 -5
  52. package/dist/kongponents.es200.js +5 -5
  53. package/dist/kongponents.es201.js +6 -4
  54. package/dist/kongponents.es202.js +189 -5
  55. package/dist/kongponents.es203.js +119 -5
  56. package/dist/kongponents.es204.js +5 -119
  57. package/dist/kongponents.es205.js +5 -119
  58. package/dist/kongponents.es206.js +22 -22
  59. package/dist/kongponents.es207.js +22 -21
  60. package/dist/kongponents.es208.js +15 -119
  61. package/dist/kongponents.es209.js +5 -119
  62. package/dist/kongponents.es21.js +8 -8
  63. package/dist/kongponents.es210.js +119 -5
  64. package/dist/kongponents.es211.js +121 -0
  65. package/dist/kongponents.es212.js +20 -20
  66. package/dist/kongponents.es213.js +317 -5
  67. package/dist/kongponents.es214.js +38 -7
  68. package/dist/kongponents.es215.js +97 -59
  69. package/dist/kongponents.es216.js +119 -5
  70. package/dist/kongponents.es217.js +14 -14
  71. package/dist/kongponents.es218.js +18 -18
  72. package/dist/kongponents.es219.js +50 -22
  73. package/dist/kongponents.es220.js +5 -15
  74. package/dist/kongponents.es221.js +5 -119
  75. package/dist/kongponents.es222.js +119 -5
  76. package/dist/kongponents.es223.js +15 -15
  77. package/dist/kongponents.es224.js +22 -22
  78. package/dist/kongponents.es225.js +5 -119
  79. package/dist/kongponents.es226.js +5 -119
  80. package/dist/kongponents.es227.js +5 -119
  81. package/dist/kongponents.es228.js +5 -119
  82. package/dist/kongponents.es229.js +4 -4
  83. package/dist/kongponents.es230.js +4 -4
  84. package/dist/kongponents.es231.js +111 -116
  85. package/dist/kongponents.es232.js +17 -2
  86. package/dist/kongponents.es233.js +381 -99
  87. package/dist/kongponents.es235.js +116 -393
  88. package/dist/kongponents.es236.js +4 -4
  89. package/dist/kongponents.es237.js +8 -5
  90. package/dist/kongponents.es238.js +60 -7
  91. package/dist/kongponents.es239.js +2 -189
  92. package/dist/kongponents.es24.js +1 -1
  93. package/dist/kongponents.es240.js +32 -52
  94. package/dist/kongponents.es241.js +54 -0
  95. package/dist/kongponents.es243.js +37 -317
  96. package/dist/kongponents.es244.js +305 -456
  97. package/dist/kongponents.es245.js +176 -32
  98. package/dist/kongponents.es247.js +66 -0
  99. package/dist/kongponents.es250.js +86 -29
  100. package/dist/kongponents.es252.js +39 -21
  101. package/dist/kongponents.es254.js +469 -43
  102. package/dist/kongponents.es255.js +8 -0
  103. package/dist/kongponents.es256.js +2 -41
  104. package/dist/{kongponents.es267.js → kongponents.es257.js} +20 -20
  105. package/dist/kongponents.es258.js +109 -46
  106. package/dist/kongponents.es259.js +121 -0
  107. package/dist/kongponents.es26.js +4 -4
  108. package/dist/kongponents.es260.js +24 -6
  109. package/dist/{kongponents.es248.js → kongponents.es262.js} +2 -2
  110. package/dist/kongponents.es264.js +36 -0
  111. package/dist/kongponents.es266.js +21 -117
  112. package/dist/kongponents.es268.js +40 -114
  113. package/dist/kongponents.es270.js +36 -59
  114. package/dist/kongponents.es272.js +47 -86
  115. package/dist/kongponents.es274.js +133 -44
  116. package/dist/kongponents.es275.js +4 -0
  117. package/dist/kongponents.es276.js +94 -133
  118. package/dist/kongponents.es278.js +47 -0
  119. package/dist/kongponents.es28.js +2 -2
  120. package/dist/kongponents.es280.js +177 -5
  121. package/dist/kongponents.es282.js +4 -3
  122. package/dist/kongponents.es283.js +5 -5
  123. package/dist/kongponents.es284.js +19 -5
  124. package/dist/kongponents.es285.js +3 -8
  125. package/dist/kongponents.es286.js +4 -5
  126. package/dist/kongponents.es287.js +5 -3
  127. package/dist/kongponents.es288.js +8 -16
  128. package/dist/kongponents.es289.js +5 -3
  129. package/dist/kongponents.es290.js +4 -8
  130. package/dist/kongponents.es291.js +16 -6
  131. package/dist/kongponents.es292.js +1 -1
  132. package/dist/kongponents.es293.js +8 -2
  133. package/dist/kongponents.es294.js +6 -5
  134. package/dist/kongponents.es295.js +3 -9
  135. package/dist/kongponents.es296.js +1 -4
  136. package/dist/kongponents.es297.js +6 -4
  137. package/dist/kongponents.es298.js +10 -3
  138. package/dist/kongponents.es299.js +4 -3
  139. package/dist/kongponents.es300.js +4 -8
  140. package/dist/kongponents.es301.js +3 -7
  141. package/dist/kongponents.es302.js +4 -5
  142. package/dist/kongponents.es303.js +7 -9
  143. package/dist/kongponents.es304.js +6 -5
  144. package/dist/kongponents.es305.js +5 -9
  145. package/dist/kongponents.es306.js +9 -6
  146. package/dist/kongponents.es307.js +5 -17
  147. package/dist/kongponents.es308.js +9 -12
  148. package/dist/kongponents.es309.js +6 -6
  149. package/dist/kongponents.es310.js +17 -12
  150. package/dist/kongponents.es311.js +11 -9
  151. package/dist/kongponents.es312.js +6 -5
  152. package/dist/kongponents.es313.js +12 -8
  153. package/dist/kongponents.es314.js +9 -15
  154. package/dist/kongponents.es315.js +5 -17
  155. package/dist/kongponents.es316.js +8 -5
  156. package/dist/kongponents.es317.js +15 -10
  157. package/dist/kongponents.es318.js +17 -6
  158. package/dist/kongponents.es319.js +5 -7
  159. package/dist/kongponents.es320.js +10 -5
  160. package/dist/kongponents.es321.js +6 -6
  161. package/dist/kongponents.es322.js +7 -9
  162. package/dist/kongponents.es323.js +5 -7
  163. package/dist/kongponents.es324.js +6 -3
  164. package/dist/kongponents.es325.js +9 -5
  165. package/dist/kongponents.es326.js +7 -15
  166. package/dist/kongponents.es327.js +4 -2
  167. package/dist/kongponents.es328.js +6 -6
  168. package/dist/kongponents.es329.js +16 -91
  169. package/dist/kongponents.es330.js +8 -0
  170. package/dist/kongponents.es331.js +217 -40
  171. package/dist/kongponents.es332.js +1559 -0
  172. package/dist/kongponents.es333.js +5 -9
  173. package/dist/kongponents.es334.js +95 -7
  174. package/dist/kongponents.es336.js +2 -5
  175. package/dist/kongponents.es337.js +369 -9
  176. package/dist/kongponents.es338.js +129 -8
  177. package/dist/kongponents.es339.js +8 -636
  178. package/dist/kongponents.es340.js +7 -74
  179. package/dist/kongponents.es341.js +7 -4
  180. package/dist/kongponents.es342.js +4 -19
  181. package/dist/kongponents.es343.js +9 -4
  182. package/dist/kongponents.es344.js +9 -18
  183. package/dist/kongponents.es345.js +636 -7
  184. package/dist/kongponents.es346.js +74 -6
  185. package/dist/kongponents.es347.js +4 -8
  186. package/dist/kongponents.es348.js +19 -7
  187. package/dist/kongponents.es349.js +4 -4
  188. package/dist/kongponents.es350.js +17 -20
  189. package/dist/kongponents.es351.js +8 -5
  190. package/dist/kongponents.es352.js +5 -110
  191. package/dist/kongponents.es353.js +8 -171
  192. package/dist/kongponents.es354.js +8 -5
  193. package/dist/kongponents.es355.js +4 -6
  194. package/dist/kongponents.es356.js +21 -5
  195. package/dist/kongponents.es357.js +5 -5
  196. package/dist/kongponents.es358.js +105 -64
  197. package/dist/kongponents.es359.js +172 -2
  198. package/dist/kongponents.es360.js +5 -5774
  199. package/dist/kongponents.es361.js +7 -25
  200. package/dist/kongponents.es362.js +5 -370
  201. package/dist/kongponents.es363.js +5 -130
  202. package/dist/kongponents.es364.js +66 -1553
  203. package/dist/kongponents.es365.js +1 -4
  204. package/dist/kongponents.es366.js +2 -2
  205. package/dist/kongponents.es371.js +5 -5
  206. package/dist/kongponents.es372.js +1 -1
  207. package/dist/kongponents.es376.js +3 -3
  208. package/dist/kongponents.es379.js +13 -3
  209. package/dist/kongponents.es380.js +5 -26
  210. package/dist/kongponents.es381.js +3 -4
  211. package/dist/kongponents.es382.js +26 -4
  212. package/dist/kongponents.es383.js +4 -4
  213. package/dist/kongponents.es384.js +4 -4
  214. package/dist/kongponents.es385.js +4 -4
  215. package/dist/kongponents.es386.js +4 -15
  216. package/dist/kongponents.es387.js +4 -6
  217. package/dist/kongponents.es388.js +12 -27
  218. package/dist/kongponents.es389.js +5 -12
  219. package/dist/kongponents.es390.js +29 -4
  220. package/dist/kongponents.es391.js +1 -1
  221. package/dist/kongponents.es393.js +1 -1
  222. package/dist/kongponents.es394.js +1 -1
  223. package/dist/kongponents.es395.js +3 -3
  224. package/dist/kongponents.es402.js +1 -1
  225. package/dist/kongponents.es408.js +1 -1
  226. package/dist/kongponents.es409.js +1 -1
  227. package/dist/kongponents.es411.js +2 -2
  228. package/dist/kongponents.es415.js +1 -1
  229. package/dist/kongponents.es416.js +5771 -8
  230. package/dist/kongponents.es417.js +9 -15
  231. package/dist/kongponents.es418.js +17 -95
  232. package/dist/kongponents.es419.js +27 -0
  233. package/dist/kongponents.es420.js +2 -11
  234. package/dist/kongponents.es421.js +9 -9
  235. package/dist/kongponents.es422.js +10 -12
  236. package/dist/kongponents.es423.js +12 -10
  237. package/dist/kongponents.es424.js +10 -18
  238. package/dist/kongponents.es425.js +18 -5
  239. package/dist/kongponents.es426.js +6 -55
  240. package/dist/kongponents.es427.js +55 -2
  241. package/dist/kongponents.es450.js +1 -1
  242. package/dist/kongponents.es451.js +5 -5
  243. package/dist/kongponents.es456.js +2 -2
  244. package/dist/kongponents.es457.js +1 -1
  245. package/dist/kongponents.es458.js +1 -1
  246. package/dist/kongponents.es459.js +1 -1
  247. package/dist/kongponents.es464.js +2 -2
  248. package/dist/kongponents.es466.js +1 -1
  249. package/dist/kongponents.es467.js +5 -5
  250. package/dist/kongponents.es468.js +1 -1
  251. package/dist/kongponents.es469.js +67 -8
  252. package/dist/kongponents.es470.js +31 -11
  253. package/dist/kongponents.es471.js +11 -14
  254. package/dist/kongponents.es472.js +121 -14
  255. package/dist/kongponents.es473.js +84 -65
  256. package/dist/kongponents.es474.js +8 -31
  257. package/dist/kongponents.es475.js +11 -11
  258. package/dist/kongponents.es476.js +14 -121
  259. package/dist/kongponents.es477.js +14 -86
  260. package/dist/kongponents.es501.js +4 -29
  261. package/dist/kongponents.es502.js +3 -119
  262. package/dist/kongponents.es503.js +9 -29
  263. package/dist/kongponents.es504.js +5 -10
  264. package/dist/kongponents.es505.js +4 -13
  265. package/dist/kongponents.es506.js +5 -32
  266. package/dist/kongponents.es507.js +3 -29
  267. package/dist/kongponents.es508.js +4 -10
  268. package/dist/kongponents.es509.js +4 -12
  269. package/dist/kongponents.es510.js +10 -17
  270. package/dist/kongponents.es511.js +6 -23
  271. package/dist/kongponents.es512.js +6 -16
  272. package/dist/kongponents.es513.js +4 -96
  273. package/dist/kongponents.es514.js +29 -45
  274. package/dist/kongponents.es515.js +118 -27
  275. package/dist/kongponents.es516.js +28 -70
  276. package/dist/kongponents.es517.js +9 -50
  277. package/dist/kongponents.es518.js +13 -34
  278. package/dist/kongponents.es519.js +29 -38
  279. package/dist/kongponents.es520.js +28 -3
  280. package/dist/kongponents.es521.js +10 -3
  281. package/dist/kongponents.es522.js +12 -9
  282. package/dist/kongponents.es523.js +17 -5
  283. package/dist/kongponents.es524.js +23 -4
  284. package/dist/kongponents.es525.js +16 -5
  285. package/dist/kongponents.es526.js +97 -3
  286. package/dist/kongponents.es527.js +44 -4
  287. package/dist/kongponents.es528.js +28 -4
  288. package/dist/kongponents.es529.js +70 -9
  289. package/dist/kongponents.es530.js +51 -6
  290. package/dist/kongponents.es531.js +34 -6
  291. package/dist/kongponents.es532.js +41 -4
  292. package/dist/kongponents.es557.js +6 -2
  293. package/dist/kongponents.es558.js +3 -4
  294. package/dist/kongponents.es559.js +3 -15
  295. package/dist/kongponents.es560.js +3 -3
  296. package/dist/kongponents.es561.js +15 -9
  297. package/dist/kongponents.es562.js +3 -4
  298. package/dist/kongponents.es563.js +9 -5
  299. package/dist/kongponents.es564.js +4 -9
  300. package/dist/kongponents.es565.js +5 -7
  301. package/dist/kongponents.es566.js +9 -4
  302. package/dist/kongponents.es567.js +7 -3
  303. package/dist/kongponents.es568.js +5 -4
  304. package/dist/kongponents.es569.js +3 -11
  305. package/dist/kongponents.es570.js +4 -10
  306. package/dist/kongponents.es571.js +11 -30
  307. package/dist/kongponents.es572.js +8 -23
  308. package/dist/kongponents.es573.js +29 -50
  309. package/dist/kongponents.es574.js +24 -3
  310. package/dist/kongponents.es575.js +51 -8
  311. package/dist/kongponents.es576.js +3 -20
  312. package/dist/kongponents.es577.js +8 -7
  313. package/dist/kongponents.es578.js +20 -6
  314. package/dist/kongponents.es579.js +7 -5
  315. package/dist/kongponents.es580.js +6 -7
  316. package/dist/kongponents.es581.js +5 -15
  317. package/dist/kongponents.es582.js +7 -4
  318. package/dist/kongponents.es583.js +15 -6
  319. package/dist/kongponents.es584.js +4 -34
  320. package/dist/kongponents.es585.js +6 -8
  321. package/dist/kongponents.es586.js +34 -7
  322. package/dist/kongponents.es587.js +9 -3
  323. package/dist/kongponents.es601.js +1 -1
  324. package/dist/kongponents.es602.js +1 -1
  325. package/dist/kongponents.es604.js +3 -3
  326. package/dist/kongponents.es605.js +4 -4
  327. package/dist/kongponents.es72.js +7 -7
  328. package/dist/kongponents.es75.js +1 -1
  329. package/dist/kongponents.es77.js +1 -1
  330. package/dist/kongponents.es83.js +1 -1
  331. package/dist/kongponents.es87.js +3 -3
  332. package/dist/kongponents.es89.js +15 -15
  333. package/dist/kongponents.es94.js +2 -2
  334. package/dist/kongponents.es96.js +6 -6
  335. package/dist/kongponents.es99.js +2 -2
  336. package/dist/kongponents105.cjs +1 -1
  337. package/dist/kongponents107.cjs +1 -1
  338. package/dist/kongponents109.cjs +1 -1
  339. package/dist/kongponents113.cjs +1 -1
  340. package/dist/kongponents115.cjs +1 -1
  341. package/dist/kongponents117.cjs +1 -1
  342. package/dist/kongponents119.cjs +1 -1
  343. package/dist/kongponents122.cjs +1 -1
  344. package/dist/kongponents124.cjs +1 -1
  345. package/dist/kongponents128.cjs +1 -1
  346. package/dist/kongponents130.cjs +1 -1
  347. package/dist/kongponents132.cjs +1 -1
  348. package/dist/kongponents139.cjs +1 -1
  349. package/dist/kongponents141.cjs +1 -1
  350. package/dist/kongponents143.cjs +1 -1
  351. package/dist/kongponents147.cjs +1 -1
  352. package/dist/kongponents149.cjs +1 -1
  353. package/dist/kongponents154.cjs +1 -1
  354. package/dist/kongponents156.cjs +1 -1
  355. package/dist/kongponents158.cjs +1 -1
  356. package/dist/kongponents160.cjs +1 -1
  357. package/dist/kongponents170.cjs +1 -1
  358. package/dist/kongponents171.cjs +1 -1
  359. package/dist/kongponents172.cjs +1 -1
  360. package/dist/kongponents173.cjs +1 -1
  361. package/dist/kongponents174.cjs +1 -1
  362. package/dist/kongponents175.cjs +1 -1
  363. package/dist/kongponents176.cjs +1 -1
  364. package/dist/kongponents177.cjs +1 -2
  365. package/dist/kongponents178.cjs +1 -1
  366. package/dist/kongponents179.cjs +1 -1
  367. package/dist/kongponents180.cjs +1 -1
  368. package/dist/kongponents181.cjs +1 -1
  369. package/dist/kongponents182.cjs +1 -1
  370. package/dist/kongponents183.cjs +1 -2
  371. package/dist/kongponents184.cjs +1 -1
  372. package/dist/kongponents185.cjs +1 -1
  373. package/dist/kongponents186.cjs +1 -1
  374. package/dist/kongponents187.cjs +1 -1
  375. package/dist/kongponents188.cjs +1 -1
  376. package/dist/kongponents189.cjs +1 -1
  377. package/dist/kongponents190.cjs +1 -1
  378. package/dist/kongponents191.cjs +1 -1
  379. package/dist/kongponents192.cjs +1 -1
  380. package/dist/kongponents193.cjs +1 -1
  381. package/dist/kongponents194.cjs +1 -1
  382. package/dist/kongponents195.cjs +1 -1
  383. package/dist/kongponents196.cjs +5 -1
  384. package/dist/kongponents197.cjs +1 -5
  385. package/dist/kongponents198.cjs +1 -1
  386. package/dist/kongponents199.cjs +1 -1
  387. package/dist/kongponents200.cjs +1 -1
  388. package/dist/kongponents201.cjs +1 -1
  389. package/dist/kongponents202.cjs +1 -1
  390. package/dist/kongponents203.cjs +1 -1
  391. package/dist/kongponents204.cjs +1 -1
  392. package/dist/kongponents205.cjs +1 -1
  393. package/dist/kongponents206.cjs +1 -1
  394. package/dist/kongponents207.cjs +2 -1
  395. package/dist/kongponents208.cjs +1 -1
  396. package/dist/kongponents209.cjs +1 -1
  397. package/dist/kongponents21.cjs +1 -1
  398. package/dist/kongponents210.cjs +1 -1
  399. package/dist/kongponents211.cjs +1 -0
  400. package/dist/kongponents212.cjs +1 -1
  401. package/dist/kongponents213.cjs +1 -1
  402. package/dist/kongponents214.cjs +1 -1
  403. package/dist/kongponents215.cjs +2 -1
  404. package/dist/kongponents216.cjs +1 -1
  405. package/dist/kongponents217.cjs +1 -1
  406. package/dist/kongponents218.cjs +1 -1
  407. package/dist/kongponents219.cjs +1 -1
  408. package/dist/kongponents220.cjs +1 -1
  409. package/dist/kongponents221.cjs +1 -1
  410. package/dist/kongponents222.cjs +1 -1
  411. package/dist/kongponents223.cjs +1 -1
  412. package/dist/kongponents224.cjs +1 -1
  413. package/dist/kongponents225.cjs +1 -1
  414. package/dist/kongponents226.cjs +1 -1
  415. package/dist/kongponents227.cjs +1 -1
  416. package/dist/kongponents228.cjs +1 -1
  417. package/dist/kongponents229.cjs +1 -1
  418. package/dist/kongponents230.cjs +1 -1
  419. package/dist/kongponents231.cjs +1 -1
  420. package/dist/kongponents232.cjs +1 -1
  421. package/dist/kongponents233.cjs +1 -1
  422. package/dist/kongponents235.cjs +1 -1
  423. package/dist/kongponents236.cjs +1 -1
  424. package/dist/kongponents237.cjs +1 -1
  425. package/dist/kongponents238.cjs +1 -1
  426. package/dist/kongponents239.cjs +1 -1
  427. package/dist/kongponents24.cjs +1 -1
  428. package/dist/kongponents240.cjs +1 -1
  429. package/dist/kongponents241.cjs +1 -0
  430. package/dist/kongponents243.cjs +1 -1
  431. package/dist/kongponents244.cjs +1 -5
  432. package/dist/kongponents245.cjs +1 -1
  433. package/dist/kongponents247.cjs +1 -0
  434. package/dist/kongponents250.cjs +1 -1
  435. package/dist/kongponents252.cjs +1 -1
  436. package/dist/kongponents254.cjs +5 -1
  437. package/dist/kongponents255.cjs +1 -0
  438. package/dist/kongponents256.cjs +1 -1
  439. package/dist/kongponents257.cjs +1 -0
  440. package/dist/kongponents258.cjs +1 -1
  441. package/dist/kongponents259.cjs +1 -0
  442. package/dist/kongponents26.cjs +1 -1
  443. package/dist/kongponents260.cjs +1 -1
  444. package/dist/{kongponents248.cjs → kongponents262.cjs} +1 -1
  445. package/dist/kongponents264.cjs +1 -0
  446. package/dist/kongponents266.cjs +1 -1
  447. package/dist/kongponents268.cjs +1 -1
  448. package/dist/kongponents270.cjs +1 -1
  449. package/dist/kongponents272.cjs +1 -1
  450. package/dist/kongponents274.cjs +1 -1
  451. package/dist/{kongponents277.cjs → kongponents275.cjs} +1 -1
  452. package/dist/kongponents276.cjs +1 -1
  453. package/dist/kongponents278.cjs +1 -0
  454. package/dist/kongponents28.cjs +1 -1
  455. package/dist/kongponents280.cjs +1 -1
  456. package/dist/kongponents282.cjs +1 -1
  457. package/dist/kongponents283.cjs +1 -1
  458. package/dist/kongponents284.cjs +1 -1
  459. package/dist/kongponents285.cjs +1 -1
  460. package/dist/kongponents286.cjs +1 -1
  461. package/dist/kongponents287.cjs +1 -1
  462. package/dist/kongponents288.cjs +1 -1
  463. package/dist/kongponents289.cjs +1 -1
  464. package/dist/kongponents290.cjs +1 -1
  465. package/dist/kongponents291.cjs +1 -1
  466. package/dist/kongponents292.cjs +1 -1
  467. package/dist/kongponents293.cjs +1 -1
  468. package/dist/kongponents294.cjs +1 -1
  469. package/dist/kongponents295.cjs +1 -1
  470. package/dist/kongponents296.cjs +1 -1
  471. package/dist/kongponents297.cjs +1 -1
  472. package/dist/kongponents298.cjs +1 -1
  473. package/dist/kongponents299.cjs +1 -1
  474. package/dist/kongponents300.cjs +1 -1
  475. package/dist/kongponents301.cjs +1 -1
  476. package/dist/kongponents302.cjs +1 -1
  477. package/dist/kongponents303.cjs +1 -1
  478. package/dist/kongponents304.cjs +1 -1
  479. package/dist/kongponents305.cjs +1 -1
  480. package/dist/kongponents306.cjs +1 -1
  481. package/dist/kongponents307.cjs +1 -1
  482. package/dist/kongponents308.cjs +1 -1
  483. package/dist/kongponents309.cjs +1 -1
  484. package/dist/kongponents310.cjs +1 -1
  485. package/dist/kongponents311.cjs +1 -1
  486. package/dist/kongponents312.cjs +1 -1
  487. package/dist/kongponents313.cjs +1 -1
  488. package/dist/kongponents314.cjs +1 -1
  489. package/dist/kongponents315.cjs +1 -1
  490. package/dist/kongponents316.cjs +1 -1
  491. package/dist/kongponents317.cjs +1 -1
  492. package/dist/kongponents318.cjs +1 -1
  493. package/dist/kongponents319.cjs +1 -1
  494. package/dist/kongponents320.cjs +1 -1
  495. package/dist/kongponents321.cjs +1 -1
  496. package/dist/kongponents322.cjs +1 -1
  497. package/dist/kongponents323.cjs +1 -1
  498. package/dist/kongponents324.cjs +1 -1
  499. package/dist/kongponents325.cjs +1 -1
  500. package/dist/kongponents326.cjs +1 -1
  501. package/dist/kongponents327.cjs +1 -1
  502. package/dist/kongponents328.cjs +1 -1
  503. package/dist/kongponents329.cjs +1 -1
  504. package/dist/kongponents330.cjs +1 -0
  505. package/dist/kongponents331.cjs +4 -1
  506. package/dist/kongponents332.cjs +10 -0
  507. package/dist/kongponents333.cjs +1 -1
  508. package/dist/kongponents334.cjs +1 -1
  509. package/dist/kongponents336.cjs +1 -1
  510. package/dist/kongponents337.cjs +1 -1
  511. package/dist/kongponents338.cjs +1 -1
  512. package/dist/kongponents339.cjs +1 -1
  513. package/dist/kongponents340.cjs +1 -1
  514. package/dist/kongponents341.cjs +1 -1
  515. package/dist/kongponents342.cjs +1 -1
  516. package/dist/kongponents343.cjs +1 -1
  517. package/dist/kongponents344.cjs +1 -1
  518. package/dist/kongponents345.cjs +1 -1
  519. package/dist/kongponents346.cjs +1 -1
  520. package/dist/kongponents347.cjs +1 -1
  521. package/dist/kongponents348.cjs +1 -1
  522. package/dist/kongponents349.cjs +1 -1
  523. package/dist/kongponents350.cjs +1 -1
  524. package/dist/kongponents351.cjs +1 -1
  525. package/dist/kongponents352.cjs +1 -1
  526. package/dist/kongponents353.cjs +1 -1
  527. package/dist/kongponents354.cjs +1 -1
  528. package/dist/kongponents355.cjs +1 -1
  529. package/dist/kongponents356.cjs +1 -1
  530. package/dist/kongponents357.cjs +1 -1
  531. package/dist/kongponents358.cjs +1 -1
  532. package/dist/kongponents359.cjs +1 -1
  533. package/dist/kongponents360.cjs +1 -1
  534. package/dist/kongponents361.cjs +1 -1
  535. package/dist/kongponents362.cjs +1 -1
  536. package/dist/kongponents363.cjs +1 -1
  537. package/dist/kongponents364.cjs +1 -10
  538. package/dist/kongponents365.cjs +1 -1
  539. package/dist/kongponents366.cjs +1 -1
  540. package/dist/kongponents371.cjs +1 -1
  541. package/dist/kongponents372.cjs +1 -1
  542. package/dist/kongponents376.cjs +1 -1
  543. package/dist/kongponents379.cjs +1 -1
  544. package/dist/kongponents380.cjs +1 -1
  545. package/dist/kongponents381.cjs +1 -1
  546. package/dist/kongponents382.cjs +1 -1
  547. package/dist/kongponents383.cjs +1 -1
  548. package/dist/kongponents384.cjs +1 -1
  549. package/dist/kongponents385.cjs +1 -1
  550. package/dist/kongponents386.cjs +1 -1
  551. package/dist/kongponents387.cjs +1 -1
  552. package/dist/kongponents388.cjs +1 -1
  553. package/dist/kongponents389.cjs +1 -1
  554. package/dist/kongponents390.cjs +1 -1
  555. package/dist/kongponents391.cjs +1 -1
  556. package/dist/kongponents393.cjs +1 -1
  557. package/dist/kongponents394.cjs +1 -1
  558. package/dist/kongponents395.cjs +1 -1
  559. package/dist/kongponents402.cjs +1 -1
  560. package/dist/kongponents408.cjs +1 -1
  561. package/dist/kongponents409.cjs +1 -1
  562. package/dist/kongponents411.cjs +1 -1
  563. package/dist/kongponents415.cjs +1 -1
  564. package/dist/kongponents416.cjs +1 -1
  565. package/dist/kongponents417.cjs +1 -1
  566. package/dist/kongponents418.cjs +1 -1
  567. package/dist/kongponents419.cjs +1 -0
  568. package/dist/kongponents420.cjs +1 -1
  569. package/dist/kongponents421.cjs +1 -1
  570. package/dist/kongponents422.cjs +1 -1
  571. package/dist/kongponents423.cjs +1 -1
  572. package/dist/kongponents424.cjs +1 -1
  573. package/dist/kongponents425.cjs +1 -1
  574. package/dist/kongponents426.cjs +1 -1
  575. package/dist/kongponents427.cjs +1 -1
  576. package/dist/kongponents450.cjs +1 -1
  577. package/dist/kongponents451.cjs +1 -1
  578. package/dist/kongponents456.cjs +1 -1
  579. package/dist/kongponents457.cjs +1 -1
  580. package/dist/kongponents458.cjs +1 -1
  581. package/dist/kongponents459.cjs +1 -1
  582. package/dist/kongponents464.cjs +1 -1
  583. package/dist/kongponents466.cjs +1 -1
  584. package/dist/kongponents467.cjs +1 -1
  585. package/dist/kongponents468.cjs +1 -1
  586. package/dist/kongponents469.cjs +1 -1
  587. package/dist/kongponents470.cjs +1 -1
  588. package/dist/kongponents471.cjs +1 -1
  589. package/dist/kongponents472.cjs +1 -1
  590. package/dist/kongponents473.cjs +1 -1
  591. package/dist/kongponents474.cjs +1 -1
  592. package/dist/kongponents475.cjs +1 -1
  593. package/dist/kongponents476.cjs +1 -1
  594. package/dist/kongponents477.cjs +1 -1
  595. package/dist/kongponents501.cjs +1 -1
  596. package/dist/kongponents502.cjs +1 -1
  597. package/dist/kongponents503.cjs +1 -1
  598. package/dist/kongponents504.cjs +1 -1
  599. package/dist/kongponents505.cjs +1 -1
  600. package/dist/kongponents506.cjs +1 -1
  601. package/dist/kongponents507.cjs +1 -1
  602. package/dist/kongponents508.cjs +1 -1
  603. package/dist/kongponents509.cjs +1 -1
  604. package/dist/kongponents510.cjs +1 -1
  605. package/dist/kongponents511.cjs +1 -1
  606. package/dist/kongponents512.cjs +1 -1
  607. package/dist/kongponents513.cjs +1 -1
  608. package/dist/kongponents514.cjs +1 -1
  609. package/dist/kongponents515.cjs +1 -1
  610. package/dist/kongponents516.cjs +1 -1
  611. package/dist/kongponents517.cjs +1 -1
  612. package/dist/kongponents518.cjs +1 -1
  613. package/dist/kongponents519.cjs +1 -1
  614. package/dist/kongponents520.cjs +1 -1
  615. package/dist/kongponents521.cjs +1 -1
  616. package/dist/kongponents522.cjs +1 -1
  617. package/dist/kongponents523.cjs +1 -1
  618. package/dist/kongponents524.cjs +1 -1
  619. package/dist/kongponents525.cjs +1 -1
  620. package/dist/kongponents526.cjs +1 -1
  621. package/dist/kongponents527.cjs +1 -1
  622. package/dist/kongponents528.cjs +1 -1
  623. package/dist/kongponents529.cjs +1 -1
  624. package/dist/kongponents530.cjs +1 -1
  625. package/dist/kongponents531.cjs +1 -1
  626. package/dist/kongponents532.cjs +1 -1
  627. package/dist/kongponents557.cjs +1 -1
  628. package/dist/kongponents558.cjs +1 -1
  629. package/dist/kongponents559.cjs +1 -1
  630. package/dist/kongponents560.cjs +1 -1
  631. package/dist/kongponents561.cjs +1 -1
  632. package/dist/kongponents562.cjs +1 -1
  633. package/dist/kongponents563.cjs +1 -1
  634. package/dist/kongponents564.cjs +1 -1
  635. package/dist/kongponents565.cjs +1 -1
  636. package/dist/kongponents566.cjs +1 -1
  637. package/dist/kongponents567.cjs +1 -1
  638. package/dist/kongponents568.cjs +1 -1
  639. package/dist/kongponents569.cjs +1 -1
  640. package/dist/kongponents570.cjs +1 -1
  641. package/dist/kongponents571.cjs +1 -1
  642. package/dist/kongponents572.cjs +1 -1
  643. package/dist/kongponents573.cjs +1 -1
  644. package/dist/kongponents574.cjs +1 -1
  645. package/dist/kongponents575.cjs +1 -1
  646. package/dist/kongponents576.cjs +1 -1
  647. package/dist/kongponents577.cjs +1 -1
  648. package/dist/kongponents578.cjs +1 -1
  649. package/dist/kongponents579.cjs +1 -1
  650. package/dist/kongponents580.cjs +1 -1
  651. package/dist/kongponents581.cjs +1 -1
  652. package/dist/kongponents582.cjs +1 -1
  653. package/dist/kongponents583.cjs +1 -1
  654. package/dist/kongponents584.cjs +1 -1
  655. package/dist/kongponents585.cjs +1 -1
  656. package/dist/kongponents586.cjs +1 -1
  657. package/dist/kongponents587.cjs +1 -1
  658. package/dist/kongponents601.cjs +1 -1
  659. package/dist/kongponents602.cjs +1 -1
  660. package/dist/kongponents604.cjs +1 -1
  661. package/dist/kongponents605.cjs +1 -1
  662. package/dist/kongponents72.cjs +1 -1
  663. package/dist/kongponents75.cjs +1 -1
  664. package/dist/kongponents77.cjs +1 -1
  665. package/dist/kongponents83.cjs +1 -1
  666. package/dist/kongponents87.cjs +1 -1
  667. package/dist/kongponents89.cjs +1 -1
  668. package/dist/kongponents94.cjs +1 -1
  669. package/dist/kongponents96.cjs +1 -1
  670. package/dist/kongponents99.cjs +1 -1
  671. package/package.json +33 -37
  672. package/dist/kongponents.es234.js +0 -19
  673. package/dist/kongponents.es242.js +0 -42
  674. package/dist/kongponents.es246.js +0 -26
  675. package/dist/kongponents.es261.js +0 -179
  676. package/dist/kongponents.es263.js +0 -178
  677. package/dist/kongponents.es265.js +0 -4
  678. package/dist/kongponents.es269.js +0 -220
  679. package/dist/kongponents.es277.js +0 -4
  680. package/dist/kongponents.es279.js +0 -7
  681. package/dist/kongponents.es281.js +0 -22
  682. package/dist/kongponents.es335.js +0 -10
  683. package/dist/kongponents234.cjs +0 -1
  684. package/dist/kongponents242.cjs +0 -1
  685. package/dist/kongponents246.cjs +0 -1
  686. package/dist/kongponents261.cjs +0 -1
  687. package/dist/kongponents263.cjs +0 -1
  688. package/dist/kongponents265.cjs +0 -1
  689. package/dist/kongponents267.cjs +0 -1
  690. package/dist/kongponents269.cjs +0 -4
  691. package/dist/kongponents279.cjs +0 -1
  692. package/dist/kongponents281.cjs +0 -1
  693. package/dist/kongponents335.cjs +0 -1
@@ -1,179 +0,0 @@
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.es345.js";
4
- import p from "./kongponents.es349.js";
5
- import G from "./kongponents.es215.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;
68
- });
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" }
75
- }
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" }
82
- }
83
- };
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
- }
93
- }
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);
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));
103
- });
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
- }
115
- };
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
- ]));
175
- }
176
- });
177
- export {
178
- ye as default
179
- };
@@ -1,178 +0,0 @@
1
- import { defineComponent as $, ref as u, computed as D, watch as L, onMounted as T, onBeforeMount as H, createElementBlock as h, openBlock as c, createVNode as o, withCtx as r, unref as b, createBlock as g, createCommentVNode as K, createElementVNode as w, withModifiers as f, createSlots as N, Fragment as P, renderList as E, createTextVNode as C, toDisplayString as U, nextTick as q } from "vue";
2
- import { debounce as z } from "./kongponents.es166.js";
3
- import A from "./kongponents.es180.js";
4
- import J from "./kongponents.es185.js";
5
- import R from "./kongponents.es268.js";
6
- import p from "./kongponents.es33.js";
7
- import F from "./kongponents.es37.js";
8
- import O from "./kongponents.es42.js";
9
- import j from "./kongponents.es43.js";
10
- import G from "./kongponents.es46.js";
11
- import Q from "./kongponents.es24.js";
12
- /* empty css */
13
- import W from "./kongponents.es48.js";
14
- const X = { class: "table-column-visibility-menu" }, Y = { class: "apply-button-wrapper" }, me = /* @__PURE__ */ $({
15
- __name: "ColumnVisibilityMenu",
16
- props: {
17
- columns: {},
18
- tableId: {},
19
- visibilityPreferences: {},
20
- disabled: { type: Boolean }
21
- },
22
- emits: ["update"],
23
- setup(i, { emit: V }) {
24
- const x = V, y = u(!1), s = u({}), d = u(!1), n = u(), a = u(""), v = () => {
25
- s.value = i.columns.reduce((e, t) => (e[t.key] = i.visibilityPreferences[t.key] === void 0 ? !0 : i.visibilityPreferences[t.key], e), {}), d.value = !1;
26
- }, I = z((e) => {
27
- a.value = e, n.value && m(n.value);
28
- }, 500), k = D(() => a.value ? i.columns.filter((e) => (e.label ? e.label : e.key).toLowerCase().includes(a.value.toLowerCase())) : i.columns), S = () => {
29
- x("update", JSON.parse(JSON.stringify(s.value))), d.value = !1, a.value = "";
30
- }, B = (e) => {
31
- y.value = e, e && n.value && q(() => {
32
- n.value && m(n.value);
33
- }), !e && d.value && v(), e || (a.value = "");
34
- }, m = (e) => {
35
- if (!(e.scrollHeight > e.clientHeight)) {
36
- e.classList.remove("is-bottom-overflowing");
37
- return;
38
- }
39
- const l = e.scrollHeight < e.clientHeight + e.scrollTop + 1;
40
- e.classList.toggle("is-bottom-overflowing", !l);
41
- };
42
- return L(() => i.visibilityPreferences, () => {
43
- v();
44
- }, { immediate: !0 }), T(() => {
45
- n.value && (n.value.addEventListener("scroll", (e) => {
46
- const t = e.currentTarget;
47
- m(t);
48
- }), m(n.value));
49
- }), H(() => {
50
- v();
51
- }), (e, t) => (c(), h("div", X, [
52
- o(O, {
53
- "data-testid": "table-column-visibility-menu",
54
- disabled: i.disabled,
55
- "kpop-attributes": { placement: "bottom-end" },
56
- onToggleDropdown: B
57
- }, {
58
- items: r(() => [
59
- a.value || k.value.length > 5 ? (c(), g(G, {
60
- key: 0,
61
- modelValue: a.value,
62
- "onUpdate:modelValue": t[1] || (t[1] = (l) => a.value = l),
63
- modelModifiers: { trim: !0 },
64
- autocomplete: "off",
65
- class: "search-input",
66
- "data-testid": "search-input",
67
- placeholder: "Search columns",
68
- type: "search",
69
- onClick: t[2] || (t[2] = f(() => {
70
- }, ["stop"])),
71
- onInput: b(I)
72
- }, N({
73
- before: r(() => [
74
- o(b(J), { decorative: "" })
75
- ]),
76
- _: 2
77
- }, [
78
- a.value ? {
79
- name: "after",
80
- fn: r(() => [
81
- o(p, {
82
- appearance: "tertiary",
83
- "aria-label": "Clear search",
84
- class: "clear-search",
85
- "data-testid": "clear-search-button",
86
- icon: "",
87
- size: "small",
88
- onClick: t[0] || (t[0] = f(() => a.value = "", ["stop"]))
89
- }, {
90
- default: r(() => [
91
- o(b(A), { decorative: "" })
92
- ]),
93
- _: 1
94
- })
95
- ]),
96
- key: "0"
97
- } : void 0
98
- ]), 1032, ["modelValue", "onInput"])) : K("", !0),
99
- w("div", {
100
- ref_key: "menuItemsRef",
101
- ref: n,
102
- class: "menu-items-wrapper"
103
- }, [
104
- (c(!0), h(P, null, E(k.value, (l) => (c(), g(j, {
105
- key: l.key,
106
- class: "column-visibility-menu-item",
107
- "data-testid": `column-visibility-menu-item-${l.key}`,
108
- onClick: f(() => {
109
- s.value[l.key] = !s.value[l.key], d.value = !0;
110
- }, ["stop"])
111
- }, {
112
- default: r(() => [
113
- o(F, {
114
- modelValue: s.value[l.key],
115
- "onUpdate:modelValue": (M) => s.value[l.key] = M,
116
- "aria-labelledby": `${i.tableId}-${l.key}-visibility-checkbox-label`,
117
- "data-testid": `column-visibility-checkbox-${l.key}`
118
- }, null, 8, ["modelValue", "onUpdate:modelValue", "aria-labelledby", "data-testid"]),
119
- o(W, {
120
- id: `${i.tableId}-${l.key}-visibility-checkbox-label`,
121
- class: "visibility-checkbox-label",
122
- title: l.label
123
- }, {
124
- default: r(() => [
125
- C(U(l.label), 1)
126
- ]),
127
- _: 2
128
- }, 1032, ["id", "title"])
129
- ]),
130
- _: 2
131
- }, 1032, ["data-testid", "onClick"]))), 128))
132
- ], 512),
133
- w("div", Y, [
134
- o(p, {
135
- appearance: "tertiary",
136
- class: "apply-button",
137
- "data-testid": "apply-button",
138
- onClick: S
139
- }, {
140
- default: r(() => [...t[3] || (t[3] = [
141
- C(" Apply ", -1)
142
- ])]),
143
- _: 1
144
- })
145
- ])
146
- ]),
147
- default: r(() => [
148
- o(Q, {
149
- placement: "bottom-end",
150
- text: y.value ? void 0 : "Show/Hide Columns"
151
- }, {
152
- default: r(() => [
153
- o(p, {
154
- appearance: "tertiary",
155
- "aria-label": "Show/Hide Columns",
156
- class: "menu-button",
157
- "data-testid": "column-visibility-menu-button",
158
- disabled: i.disabled,
159
- icon: "",
160
- size: "large"
161
- }, {
162
- default: r(() => [
163
- o(b(R), { decorative: "" })
164
- ]),
165
- _: 1
166
- }, 8, ["disabled"])
167
- ]),
168
- _: 1
169
- }, 8, ["text"])
170
- ]),
171
- _: 1
172
- }, 8, ["disabled"])
173
- ]));
174
- }
175
- });
176
- export {
177
- me as default
178
- };
@@ -1,4 +0,0 @@
1
- const I = "24px";
2
- export {
3
- I as KUI_ICON_SIZE_50
4
- };
@@ -1,220 +0,0 @@
1
- /*!
2
- * tabbable 6.3.0
3
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
- */
5
- var T = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], b = /* @__PURE__ */ T.join(","), I = typeof Element > "u", d = I ? function() {
6
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, h = !I && Element.prototype.getRootNode ? function(i) {
7
- var t;
8
- return i == null || (t = i.getRootNode) === null || t === void 0 ? void 0 : t.call(i);
9
- } : function(i) {
10
- return i == null ? void 0 : i.ownerDocument;
11
- }, v = function(t, e) {
12
- var r;
13
- e === void 0 && (e = !0);
14
- var a = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), l = a === "" || a === "true", n = l || e && t && v(t.parentNode);
15
- return n;
16
- }, x = function(t) {
17
- var e, r = t == null || (e = t.getAttribute) === null || e === void 0 ? void 0 : e.call(t, "contenteditable");
18
- return r === "" || r === "true";
19
- }, m = function(t, e, r) {
20
- if (v(t))
21
- return [];
22
- var a = Array.prototype.slice.apply(t.querySelectorAll(b));
23
- return e && d.call(t, b) && a.unshift(t), a = a.filter(r), a;
24
- }, g = function(t, e, r) {
25
- for (var a = [], l = Array.from(t); l.length; ) {
26
- var n = l.shift();
27
- if (!v(n, !1))
28
- if (n.tagName === "SLOT") {
29
- var c = n.assignedElements(), s = c.length ? c : n.children, u = g(s, !0, r);
30
- r.flatten ? a.push.apply(a, u) : a.push({
31
- scopeParent: n,
32
- candidates: u
33
- });
34
- } else {
35
- var f = d.call(n, b);
36
- f && r.filter(n) && (e || !t.includes(n)) && a.push(n);
37
- var o = n.shadowRoot || // check for an undisclosed shadow
38
- typeof r.getShadowRoot == "function" && r.getShadowRoot(n), A = !v(o, !1) && (!r.shadowRootFilter || r.shadowRootFilter(n));
39
- if (o && A) {
40
- var p = g(o === !0 ? n.children : o.children, !0, r);
41
- r.flatten ? a.push.apply(a, p) : a.push({
42
- scopeParent: n,
43
- candidates: p
44
- });
45
- } else
46
- l.unshift.apply(l, n.children);
47
- }
48
- }
49
- return a;
50
- }, C = function(t) {
51
- return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
52
- }, N = function(t) {
53
- if (!t)
54
- throw new Error("No node provided");
55
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || x(t)) && !C(t) ? 0 : t.tabIndex;
56
- }, O = function(t, e) {
57
- var r = N(t);
58
- return r < 0 && e && !C(t) ? 0 : r;
59
- }, k = function(t, e) {
60
- return t.tabIndex === e.tabIndex ? t.documentOrder - e.documentOrder : t.tabIndex - e.tabIndex;
61
- }, R = function(t) {
62
- return t.tagName === "INPUT";
63
- }, F = function(t) {
64
- return R(t) && t.type === "hidden";
65
- }, D = function(t) {
66
- var e = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
67
- return r.tagName === "SUMMARY";
68
- });
69
- return e;
70
- }, M = function(t, e) {
71
- for (var r = 0; r < t.length; r++)
72
- if (t[r].checked && t[r].form === e)
73
- return t[r];
74
- }, P = function(t) {
75
- if (!t.name)
76
- return !0;
77
- var e = t.form || h(t), r = function(c) {
78
- return e.querySelectorAll('input[type="radio"][name="' + c + '"]');
79
- }, a;
80
- if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
81
- a = r(window.CSS.escape(t.name));
82
- else
83
- try {
84
- a = r(t.name);
85
- } catch (n) {
86
- return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", n.message), !1;
87
- }
88
- var l = M(a, t.form);
89
- return !l || l === t;
90
- }, L = function(t) {
91
- return R(t) && t.type === "radio";
92
- }, V = function(t) {
93
- return L(t) && !P(t);
94
- }, B = function(t) {
95
- var e, r = t && h(t), a = (e = r) === null || e === void 0 ? void 0 : e.host, l = !1;
96
- if (r && r !== t) {
97
- var n, c, s;
98
- for (l = !!((n = a) !== null && n !== void 0 && (c = n.ownerDocument) !== null && c !== void 0 && c.contains(a) || t != null && (s = t.ownerDocument) !== null && s !== void 0 && s.contains(t)); !l && a; ) {
99
- var u, f, o;
100
- r = h(a), a = (u = r) === null || u === void 0 ? void 0 : u.host, l = !!((f = a) !== null && f !== void 0 && (o = f.ownerDocument) !== null && o !== void 0 && o.contains(a));
101
- }
102
- }
103
- return l;
104
- }, w = function(t) {
105
- var e = t.getBoundingClientRect(), r = e.width, a = e.height;
106
- return r === 0 && a === 0;
107
- }, q = function(t, e) {
108
- var r = e.displayCheck, a = e.getShadowRoot;
109
- if (r === "full-native" && "checkVisibility" in t) {
110
- var l = t.checkVisibility({
111
- // Checking opacity might be desirable for some use cases, but natively,
112
- // opacity zero elements _are_ focusable and tabbable.
113
- checkOpacity: !1,
114
- opacityProperty: !1,
115
- contentVisibilityAuto: !0,
116
- visibilityProperty: !0,
117
- // This is an alias for `visibilityProperty`. Contemporary browsers
118
- // support both. However, this alias has wider browser support (Chrome
119
- // >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
120
- // we include it anyway.
121
- checkVisibilityCSS: !0
122
- });
123
- return !l;
124
- }
125
- if (getComputedStyle(t).visibility === "hidden")
126
- return !0;
127
- var n = d.call(t, "details>summary:first-of-type"), c = n ? t.parentElement : t;
128
- if (d.call(c, "details:not([open]) *"))
129
- return !0;
130
- if (!r || r === "full" || // full-native can run this branch when it falls through in case
131
- // Element#checkVisibility is unsupported
132
- r === "full-native" || r === "legacy-full") {
133
- if (typeof a == "function") {
134
- for (var s = t; t; ) {
135
- var u = t.parentElement, f = h(t);
136
- if (u && !u.shadowRoot && a(u) === !0)
137
- return w(t);
138
- t.assignedSlot ? t = t.assignedSlot : !u && f !== t.ownerDocument ? t = f.host : t = u;
139
- }
140
- t = s;
141
- }
142
- if (B(t))
143
- return !t.getClientRects().length;
144
- if (r !== "legacy-full")
145
- return !0;
146
- } else if (r === "non-zero-area")
147
- return w(t);
148
- return !1;
149
- }, U = function(t) {
150
- if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
151
- for (var e = t.parentElement; e; ) {
152
- if (e.tagName === "FIELDSET" && e.disabled) {
153
- for (var r = 0; r < e.children.length; r++) {
154
- var a = e.children.item(r);
155
- if (a.tagName === "LEGEND")
156
- return d.call(e, "fieldset[disabled] *") ? !0 : !a.contains(t);
157
- }
158
- return !0;
159
- }
160
- e = e.parentElement;
161
- }
162
- return !1;
163
- }, y = function(t, e) {
164
- return !(e.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
165
- // because we're limited in the type of selectors we can use in JSDom (see related
166
- // note related to `candidateSelectors`)
167
- v(e) || F(e) || q(e, t) || // For a details element with a summary, the summary element gets the focus
168
- D(e) || U(e));
169
- }, S = function(t, e) {
170
- return !(V(e) || N(e) < 0 || !y(t, e));
171
- }, j = function(t) {
172
- var e = parseInt(t.getAttribute("tabindex"), 10);
173
- return !!(isNaN(e) || e >= 0);
174
- }, E = function(t) {
175
- var e = [], r = [];
176
- return t.forEach(function(a, l) {
177
- var n = !!a.scopeParent, c = n ? a.scopeParent : a, s = O(c, n), u = n ? E(a.candidates) : c;
178
- s === 0 ? n ? e.push.apply(e, u) : e.push(c) : r.push({
179
- documentOrder: l,
180
- tabIndex: s,
181
- item: a,
182
- isScope: n,
183
- content: u
184
- });
185
- }), r.sort(k).reduce(function(a, l) {
186
- return l.isScope ? a.push.apply(a, l.content) : a.push(l.content), a;
187
- }, []).concat(e);
188
- }, Z = function(t, e) {
189
- e = e || {};
190
- var r;
191
- return e.getShadowRoot ? r = g([t], e.includeContainer, {
192
- filter: S.bind(null, e),
193
- flatten: !1,
194
- getShadowRoot: e.getShadowRoot,
195
- shadowRootFilter: j
196
- }) : r = m(t, e.includeContainer, S.bind(null, e)), E(r);
197
- }, z = function(t, e) {
198
- e = e || {};
199
- var r;
200
- return e.getShadowRoot ? r = g([t], e.includeContainer, {
201
- filter: y.bind(null, e),
202
- flatten: !0,
203
- getShadowRoot: e.getShadowRoot
204
- }) : r = m(t, e.includeContainer, y.bind(null, e)), r;
205
- }, G = function(t, e) {
206
- if (e = e || {}, !t)
207
- throw new Error("No node provided");
208
- return d.call(t, b) === !1 ? !1 : S(e, t);
209
- }, W = /* @__PURE__ */ T.concat("iframe").join(","), X = function(t, e) {
210
- if (e = e || {}, !t)
211
- throw new Error("No node provided");
212
- return d.call(t, W) === !1 ? !1 : y(e, t);
213
- };
214
- export {
215
- z as focusable,
216
- N as getTabIndex,
217
- X as isFocusable,
218
- G as isTabbable,
219
- Z as tabbable
220
- };
@@ -1,4 +0,0 @@
1
- import f from "./kongponents.es234.js";
2
- export {
3
- f as default
4
- };
@@ -1,7 +0,0 @@
1
- function n(t) {
2
- var e = typeof t;
3
- return t != null && (e == "object" || e == "function");
4
- }
5
- export {
6
- n as default
7
- };
@@ -1,22 +0,0 @@
1
- import n from "./kongponents.es325.js";
2
- import f from "./kongponents.es279.js";
3
- import o from "./kongponents.es301.js";
4
- var s = NaN, m = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, e = /^0o[0-7]+$/i, b = parseInt;
5
- function O(r) {
6
- if (typeof r == "number")
7
- return r;
8
- if (o(r))
9
- return s;
10
- if (f(r)) {
11
- var t = typeof r.valueOf == "function" ? r.valueOf() : r;
12
- r = f(t) ? t + "" : t;
13
- }
14
- if (typeof r != "string")
15
- return r === 0 ? r : +r;
16
- r = n(r);
17
- var i = p.test(r);
18
- return i || e.test(r) ? b(r.slice(2), i ? 2 : 8) : m.test(r) ? s : +r;
19
- }
20
- export {
21
- O as default
22
- };
@@ -1,10 +0,0 @@
1
- import r from "./kongponents.es347.js";
2
- import o from "./kongponents.es336.js";
3
- function a(e) {
4
- o(1, arguments);
5
- var t = Object.prototype.toString.call(e);
6
- return e instanceof Date || r(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
7
- }
8
- export {
9
- a as default
10
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=e.defineComponent({__name:"KPopTeleportWrapper",props:{useTeleport:{type:Boolean},target:{default:null}},setup(t){return(o,l)=>t.useTeleport?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:t.target},[e.renderSlot(o.$slots,"default")],8,["to"])):e.renderSlot(o.$slots,"default",{key:1})}});exports.default=r;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./kongponents416.cjs");function c(t){if(typeof t=="function")try{t=t()}catch{t=""}return Array.isArray(t)?t=u.default(t):t=String(t||""),t}var f=(function(){function t(e){e===void 0&&(e=0),this.items=new Map,this.ttl=e}return t.prototype.serializeKey=function(e){return c(e)},t.prototype.get=function(e){var i=this.serializeKey(e);return this.items.get(i)},t.prototype.set=function(e,i,a){var n=this.serializeKey(e),r=a||this.ttl,s=Date.now(),o={data:i,createdAt:s,expiresAt:r?s+r:1/0};this.dispatchExpire(r,o,n),this.items.set(n,o)},t.prototype.dispatchExpire=function(e,i,a){var n=this;e&&setTimeout(function(){var r=Date.now(),s=r>=i.expiresAt;s&&n.delete(a)},e)},t.prototype.delete=function(e){this.items.delete(e)},t})();exports.default=f;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("./kongponents58.cjs"),r={class:"skeleton-loader"},l=e.defineComponent({__name:"SkeletonBase",setup(d){return(o,n)=>(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(t.default,{height:"1",width:"100"}),e.createVNode(t.default,{height:"1",width:"100"}),e.createVNode(t.default,{height:"1",width:"100"})],!0)]))}});exports.default=l;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("./kongponents360.cjs"),H=require("./kongponents345.cjs"),T=require("./kongponents349.cjs"),f=require("./kongponents215.cjs"),P={class:"calendar-wrapper"},S={key:2,class:"time-wrapper"},N={class:"time-input"},I=["for"],$={key:0},q={key:1},p=["id","step"],F=["for"],A={key:0},U=["id","step"],Y={key:0,class:"help-text"},z=e.defineComponent({__name:"CalendarWrapper",props:e.mergeModels({isRange:{type:Boolean},kDatePickerMode:{},maxDate:{default:()=>{}},minDate:{default:()=>{}},errorMessage:{default:()=>{}},timeGranularity:{default:"minutely"}},{modelValue:{required:!0},modelModifiers:{},error:{type:Boolean,default:!1},errorModifiers:{}}),emits:["update:modelValue","update:error"],setup(a,{expose:E}){const r=(l,n)=>n==="secondly"?f.default(l,"HH:mm:ss"):f.default(l,"HH:mm"),t=e.useModel(a,"modelValue"),m=e.useModel(a,"error"),i=e.ref(r(new Date,a.timeGranularity)),s=e.ref(r(new Date,a.timeGranularity)),o=e.ref({start:r(new Date,a.timeGranularity),end:r(new Date,a.timeGranularity)}),v=e.useId(),x=e.computed(()=>a.isRange&&t.value&&"start"in t.value&&t.value.start instanceof Date?{year:t.value.start.getFullYear(),month:t.value.start.getMonth()+1}:t.value instanceof Date?{year:t.value.getFullYear(),month:t.value.getMonth()+1}:a.maxDate&&H.default(a.maxDate,T.default())?{year:a.maxDate.getFullYear(),month:a.maxDate.getMonth()+1}:{year:new Date().getFullYear(),month:new Date().getMonth()+1}),D=e.computed(()=>({borderless:!0,color:"blue",dragAttribute:b,expanded:!0,initialPage:x.value,maxDate:a.maxDate,minDate:a.minDate,mode:"date",modelConfig:G,selectAttribute:C,transparent:!0})),k=e.computed(()=>["time","dateTime","relativeDateTime"].includes(a.kDatePickerMode)),h=e.computed(()=>{switch(a.timeGranularity){case"minutely":return 60;case"secondly":return 1;default:return 60}}),y=(l,n)=>l>n,M=()=>{if(t.value&&k.value)if(a.isRange&&t.value.start&&t.value.end){const l=t.value;i.value=r(l.start,a.timeGranularity),s.value=r(l.end,a.timeGranularity)}else t.value instanceof Date?i.value=r(t.value,a.timeGranularity):i.value=r(new Date,a.timeGranularity)},g=l=>{const n=l.split(":"),u=parseInt(n[0],10),d=parseInt(n[1],10),c=a.timeGranularity==="secondly"&&n[2]?parseInt(n[2],10):0;return{hours:u,minutes:d,seconds:c}};e.onMounted(()=>{M(),o.value.start=i.value,o.value.end=s.value});const G={type:"number"},b={key:"select-drag",highlight:{start:{contentClass:"vcal-day-drag-start"},base:{contentClass:"vcal-day-drag-base"},end:{contentClass:"vcal-day-drag-end"}}},C={key:"select-calendar",highlight:{start:{contentClass:"vcal-day-start"},base:{contentClass:"vcal-day-base"},end:{contentClass:"vcal-day-end"}}};e.watch(()=>i.value,l=>{if(l){if(t.value&&a.isRange&&"start"in t.value&&t.value.start instanceof Date&&"end"in t.value&&t.value.end instanceof Date){const n=new Date,{hours:u,minutes:d,seconds:c}=g(l);n.setHours(u,d,c,0),t.value.start.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),0),m.value=y(t.value.start,t.value.end)}else if(t.value instanceof Date){const n=new Date,{hours:u,minutes:d,seconds:c}=g(l);n.setHours(u,d,c,0),t.value.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),0)}}}),e.watch(()=>s.value,l=>{if(l&&t.value&&a.isRange&&"end"in t.value&&t.value.end instanceof Date&&"start"in t.value&&t.value.start instanceof Date){const n=new Date,{hours:u,minutes:d,seconds:c}=g(l);n.setHours(u,d,c,0),t.value.end.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),0),m.value=y(t.value.start,t.value.end)}}),e.watch(()=>t.value,()=>{t.value&&a.isRange&&"start"in t.value&&t.value.start instanceof Date&&"end"in t.value&&t.value.end instanceof Date?(i.value=r(t.value.start,a.timeGranularity),s.value=r(t.value.end,a.timeGranularity),m.value=y(t.value.start,t.value.end)):t.value instanceof Date&&(i.value=r(t.value,a.timeGranularity))},{immediate:!0,deep:!0}),e.watch(()=>a.timeGranularity,()=>{t.value&&a.isRange&&"start"in t.value&&t.value.start instanceof Date?o.value.start=r(t.value.start,a.timeGranularity):t.value instanceof Date&&(o.value.start=r(t.value,a.timeGranularity)),t.value&&a.isRange&&"end"in t.value&&t.value.end instanceof Date&&(o.value.end=r(t.value.end,a.timeGranularity))});const V=l=>{const n=t.value;return a.isRange&&n&&l in n&&n[l]instanceof Date},R=()=>{i.value=o.value.start,s.value=o.value.end},w=l=>{try{return f.default(l,"EEE MMM d yyyy")}catch(n){console.warn("Error formatting date:",n)}};return E({resetTime:R,initTimeInputs:M}),(l,n)=>(e.openBlock(),e.createElementBlock("div",P,[a.isRange?(e.openBlock(),e.createBlock(e.unref(B.DatePicker),e.mergeProps({key:0},D.value,{modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=u=>t.value=u),modelModifiers:{range:!0}}),null,16,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(B.DatePicker),e.mergeProps({key:1},D.value,{modelValue:t.value,"onUpdate:modelValue":n[1]||(n[1]=u=>t.value=u)}),null,16,["modelValue"])),k.value?(e.openBlock(),e.createElementBlock("div",S,[e.createElementVNode("div",N,[e.createElementVNode("label",{class:"time-input-label",for:`time-input-start-${e.unref(v)}`},[V("start")?(e.openBlock(),e.createElementBlock("span",$,e.toDisplayString(w(t.value.start)),1)):t.value&&t.value instanceof Date?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString(w(t.value)),1)):e.createCommentVNode("",!0)],8,I),e.withDirectives(e.createElementVNode("input",{id:`time-input-start-${e.unref(v)}`,"onUpdate:modelValue":n[2]||(n[2]=u=>i.value=u),class:e.normalizeClass(["time-input-start",{"input-error":m.value}]),"data-testid":"time-input-start",step:h.value,type:"time"},null,10,p),[[e.vModelText,i.value]]),e.createElementVNode("label",{class:"time-input-label",for:`time-input-end-${e.unref(v)}`},[V("end")?(e.openBlock(),e.createElementBlock("span",A,e.toDisplayString(e.unref(f.default)(t.value.end,"EEE MMM d yyyy")),1)):e.createCommentVNode("",!0)],8,F),a.isRange?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,id:`time-input-end-${e.unref(v)}`,"onUpdate:modelValue":n[3]||(n[3]=u=>s.value=u),class:e.normalizeClass(["time-input-end",{"input-error":m.value}]),"data-testid":"time-input-end",step:h.value,type:"time"},null,10,U)),[[e.vModelText,s.value]]):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{mode:"out-in",name:"kongponents-fade-transition"},{default:e.withCtx(()=>[m.value&&a.errorMessage?(e.openBlock(),e.createElementBlock("div",Y,e.toDisplayString(a.errorMessage),1)):e.createCommentVNode("",!0)]),_:1})])):e.createCommentVNode("",!0)]))}});exports.default=z;