@kong/kongponents 9.47.5-pr.3005.17b94c3.0 → 9.48.1-pr.3009.8b5ec33.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 (577) 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.es171.js +119 -5
  23. package/dist/kongponents.es172.js +18 -119
  24. package/dist/kongponents.es173.js +5 -18
  25. package/dist/kongponents.es174.js +111 -116
  26. package/dist/kongponents.es175.js +16 -16
  27. package/dist/kongponents.es176.js +13 -115
  28. package/dist/kongponents.es177.js +178 -112
  29. package/dist/kongponents.es178.js +393 -116
  30. package/dist/kongponents.es179.js +113 -102
  31. package/dist/kongponents.es180.js +23 -118
  32. package/dist/kongponents.es181.js +5 -119
  33. package/dist/kongponents.es182.js +115 -313
  34. package/dist/kongponents.es183.js +118 -38
  35. package/dist/kongponents.es184.js +118 -97
  36. package/dist/kongponents.es185.js +102 -113
  37. package/dist/kongponents.es186.js +31 -31
  38. package/dist/kongponents.es187.js +25 -25
  39. package/dist/kongponents.es188.js +313 -115
  40. package/dist/kongponents.es189.js +38 -119
  41. package/dist/kongponents.es190.js +97 -118
  42. package/dist/kongponents.es191.js +19 -19
  43. package/dist/kongponents.es192.js +119 -18
  44. package/dist/kongponents.es193.js +117 -50
  45. package/dist/kongponents.es194.js +29 -29
  46. package/dist/kongponents.es195.js +117 -111
  47. package/dist/kongponents.es196.js +115 -13
  48. package/dist/kongponents.es197.js +112 -178
  49. package/dist/kongponents.es198.js +17 -395
  50. package/dist/kongponents.es199.js +50 -117
  51. package/dist/kongponents.es200.js +18 -18
  52. package/dist/kongponents.es201.js +113 -96
  53. package/dist/kongponents.es202.js +119 -5
  54. package/dist/kongponents.es203.js +4 -4
  55. package/dist/kongponents.es204.js +3 -3
  56. package/dist/kongponents.es205.js +18 -18
  57. package/dist/kongponents.es206.js +5 -24
  58. package/dist/kongponents.es207.js +3 -3
  59. package/dist/kongponents.es208.js +5 -119
  60. package/dist/kongponents.es209.js +5 -119
  61. package/dist/kongponents.es21.js +8 -8
  62. package/dist/kongponents.es210.js +5 -119
  63. package/dist/kongponents.es211.js +4 -4
  64. package/dist/kongponents.es212.js +5 -10
  65. package/dist/kongponents.es213.js +25 -25
  66. package/dist/kongponents.es214.js +10 -10
  67. package/dist/kongponents.es215.js +23 -23
  68. package/dist/kongponents.es217.js +2 -2
  69. package/dist/kongponents.es218.js +119 -5
  70. package/dist/kongponents.es219.js +18 -18
  71. package/dist/kongponents.es220.js +5 -119
  72. package/dist/kongponents.es221.js +9 -14
  73. package/dist/kongponents.es222.js +119 -5
  74. package/dist/kongponents.es223.js +18 -18
  75. package/dist/kongponents.es225.js +119 -5
  76. package/dist/kongponents.es226.js +4 -4
  77. package/dist/kongponents.es227.js +10 -0
  78. package/dist/kongponents.es228.js +59 -118
  79. package/dist/kongponents.es229.js +102 -5
  80. package/dist/kongponents.es230.js +119 -8
  81. package/dist/kongponents.es231.js +118 -59
  82. package/dist/kongponents.es232.js +4 -4
  83. package/dist/kongponents.es233.js +4 -4
  84. package/dist/kongponents.es234.js +2 -2
  85. package/dist/kongponents.es235.js +3 -3
  86. package/dist/kongponents.es236.js +119 -5
  87. package/dist/kongponents.es237.js +119 -5
  88. package/dist/kongponents.es238.js +15 -119
  89. package/dist/kongponents.es24.js +1 -1
  90. package/dist/kongponents.es240.js +39 -5
  91. package/dist/kongponents.es241.js +317 -173
  92. package/dist/kongponents.es242.js +8 -0
  93. package/dist/kongponents.es243.js +129 -35
  94. package/dist/kongponents.es244.js +2 -320
  95. package/dist/kongponents.es245.js +31 -470
  96. package/dist/kongponents.es246.js +91 -32
  97. package/dist/kongponents.es248.js +41 -2
  98. package/dist/kongponents.es254.js +165 -84
  99. package/dist/kongponents.es256.js +22 -43
  100. package/dist/kongponents.es258.js +44 -60
  101. package/dist/kongponents.es26.js +2 -2
  102. package/dist/kongponents.es260.js +31 -21
  103. package/dist/kongponents.es262.js +19 -44
  104. package/dist/kongponents.es264.js +39 -28
  105. package/dist/kongponents.es266.js +38 -20
  106. package/dist/kongponents.es269.js +7 -0
  107. package/dist/kongponents.es270.js +5 -41
  108. package/dist/kongponents.es271.js +22 -0
  109. package/dist/kongponents.es272.js +3 -4
  110. package/dist/kongponents.es273.js +5 -5
  111. package/dist/kongponents.es274.js +5 -19
  112. package/dist/kongponents.es275.js +8 -3
  113. package/dist/kongponents.es276.js +5 -4
  114. package/dist/kongponents.es277.js +3 -5
  115. package/dist/kongponents.es278.js +16 -8
  116. package/dist/kongponents.es279.js +3 -5
  117. package/dist/kongponents.es28.js +2 -2
  118. package/dist/kongponents.es280.js +8 -4
  119. package/dist/kongponents.es281.js +6 -16
  120. package/dist/kongponents.es282.js +1 -1
  121. package/dist/kongponents.es283.js +2 -8
  122. package/dist/kongponents.es284.js +5 -6
  123. package/dist/kongponents.es285.js +9 -3
  124. package/dist/kongponents.es286.js +4 -1
  125. package/dist/kongponents.es287.js +4 -6
  126. package/dist/kongponents.es288.js +3 -10
  127. package/dist/kongponents.es289.js +3 -4
  128. package/dist/kongponents.es290.js +8 -4
  129. package/dist/kongponents.es291.js +7 -3
  130. package/dist/kongponents.es292.js +5 -4
  131. package/dist/kongponents.es293.js +9 -7
  132. package/dist/kongponents.es294.js +5 -6
  133. package/dist/kongponents.es295.js +9 -5
  134. package/dist/kongponents.es296.js +6 -9
  135. package/dist/kongponents.es297.js +17 -5
  136. package/dist/kongponents.es298.js +12 -9
  137. package/dist/kongponents.es299.js +6 -6
  138. package/dist/kongponents.es300.js +12 -17
  139. package/dist/kongponents.es301.js +9 -11
  140. package/dist/kongponents.es302.js +5 -6
  141. package/dist/kongponents.es303.js +8 -12
  142. package/dist/kongponents.es304.js +15 -9
  143. package/dist/kongponents.es305.js +17 -5
  144. package/dist/kongponents.es306.js +5 -8
  145. package/dist/kongponents.es307.js +10 -15
  146. package/dist/kongponents.es308.js +6 -17
  147. package/dist/kongponents.es309.js +7 -5
  148. package/dist/kongponents.es310.js +5 -10
  149. package/dist/kongponents.es311.js +6 -6
  150. package/dist/kongponents.es312.js +9 -7
  151. package/dist/kongponents.es313.js +7 -5
  152. package/dist/kongponents.es314.js +3 -6
  153. package/dist/kongponents.es315.js +5 -9
  154. package/dist/kongponents.es316.js +15 -7
  155. package/dist/kongponents.es317.js +369 -3
  156. package/dist/kongponents.es318.js +129 -5
  157. package/dist/kongponents.es319.js +177 -16
  158. package/dist/kongponents.es321.js +63 -369
  159. package/dist/kongponents.es323.js +2 -2
  160. package/dist/kongponents.es325.js +4 -4
  161. package/dist/kongponents.es327.js +467 -87
  162. package/dist/kongponents.es328.js +8 -0
  163. package/dist/kongponents.es329.js +89 -35
  164. package/dist/kongponents.es331.js +41 -173
  165. package/dist/kongponents.es333.js +2 -1557
  166. package/dist/kongponents.es334.js +1557 -5
  167. package/dist/kongponents.es335.js +5 -6
  168. package/dist/kongponents.es336.js +2 -2
  169. package/dist/kongponents.es339.js +9 -5
  170. package/dist/kongponents.es340.js +13 -8
  171. package/dist/kongponents.es341.js +5 -14
  172. package/dist/kongponents.es342.js +1 -1
  173. package/dist/kongponents.es346.js +3 -3
  174. package/dist/kongponents.es351.js +6 -3
  175. package/dist/kongponents.es352.js +29 -25
  176. package/dist/kongponents.es353.js +3 -4
  177. package/dist/kongponents.es354.js +26 -4
  178. package/dist/kongponents.es355.js +4 -4
  179. package/dist/kongponents.es356.js +4 -4
  180. package/dist/kongponents.es357.js +4 -4
  181. package/dist/kongponents.es358.js +4 -15
  182. package/dist/kongponents.es359.js +4 -6
  183. package/dist/kongponents.es360.js +12 -27
  184. package/dist/kongponents.es361.js +1 -1
  185. package/dist/kongponents.es363.js +1 -1
  186. package/dist/kongponents.es364.js +1 -1
  187. package/dist/kongponents.es365.js +3 -3
  188. package/dist/kongponents.es372.js +1 -1
  189. package/dist/kongponents.es378.js +2 -2
  190. package/dist/kongponents.es379.js +2 -2
  191. package/dist/kongponents.es381.js +2 -2
  192. package/dist/kongponents.es385.js +1 -1
  193. package/dist/kongponents.es386.js +9 -2
  194. package/dist/kongponents.es387.js +7 -95
  195. package/dist/kongponents.es388.js +10 -0
  196. package/dist/kongponents.es389.js +4 -8
  197. package/dist/kongponents.es390.js +9 -6
  198. package/dist/kongponents.es391.js +7 -6
  199. package/dist/kongponents.es392.js +636 -4
  200. package/dist/kongponents.es393.js +74 -10
  201. package/dist/kongponents.es394.js +4 -8
  202. package/dist/kongponents.es395.js +17 -634
  203. package/dist/kongponents.es396.js +5 -74
  204. package/dist/kongponents.es397.js +18 -5
  205. package/dist/kongponents.es398.js +7 -19
  206. package/dist/kongponents.es399.js +5 -4
  207. package/dist/kongponents.es400.js +9 -18
  208. package/dist/kongponents.es401.js +6 -6
  209. package/dist/kongponents.es402.js +4 -5
  210. package/dist/kongponents.es403.js +20 -8
  211. package/dist/kongponents.es404.js +5 -8
  212. package/dist/kongponents.es405.js +110 -4
  213. package/dist/kongponents.es406.js +171 -20
  214. package/dist/kongponents.es407.js +5 -5
  215. package/dist/kongponents.es408.js +6 -110
  216. package/dist/kongponents.es409.js +5 -172
  217. package/dist/kongponents.es410.js +4 -4
  218. package/dist/kongponents.es411.js +69 -6
  219. package/dist/kongponents.es412.js +2 -5
  220. package/dist/kongponents.es413.js +5774 -5
  221. package/dist/kongponents.es414.js +94 -69
  222. package/dist/kongponents.es416.js +206 -5762
  223. package/dist/kongponents.es417.js +11 -25
  224. package/dist/kongponents.es418.js +15 -9
  225. package/dist/kongponents.es419.js +25 -17
  226. package/dist/kongponents.es426.js +2 -2
  227. package/dist/kongponents.es427.js +1 -1
  228. package/dist/kongponents.es428.js +1 -1
  229. package/dist/kongponents.es429.js +1 -1
  230. package/dist/kongponents.es434.js +1 -1
  231. package/dist/kongponents.es436.js +1 -1
  232. package/dist/kongponents.es439.js +11 -2
  233. package/dist/kongponents.es440.js +9 -9
  234. package/dist/kongponents.es441.js +12 -10
  235. package/dist/kongponents.es442.js +10 -12
  236. package/dist/kongponents.es443.js +18 -10
  237. package/dist/kongponents.es444.js +5 -18
  238. package/dist/kongponents.es445.js +55 -6
  239. package/dist/kongponents.es446.js +2 -55
  240. package/dist/kongponents.es462.js +63 -16
  241. package/dist/kongponents.es463.js +5 -2
  242. package/dist/kongponents.es464.js +13 -13
  243. package/dist/kongponents.es465.js +2 -65
  244. package/dist/kongponents.es466.js +17 -4
  245. package/dist/kongponents.es475.js +1 -1
  246. package/dist/kongponents.es482.js +8 -67
  247. package/dist/kongponents.es483.js +11 -31
  248. package/dist/kongponents.es484.js +14 -11
  249. package/dist/kongponents.es485.js +14 -121
  250. package/dist/kongponents.es486.js +65 -84
  251. package/dist/kongponents.es487.js +31 -8
  252. package/dist/kongponents.es488.js +11 -11
  253. package/dist/kongponents.es489.js +121 -14
  254. package/dist/kongponents.es490.js +86 -14
  255. package/dist/kongponents.es493.js +1 -1
  256. package/dist/kongponents.es495.js +1 -1
  257. package/dist/kongponents.es497.js +1 -1
  258. package/dist/kongponents.es499.js +1 -1
  259. package/dist/kongponents.es500.js +3 -3
  260. package/dist/kongponents.es501.js +2 -2
  261. package/dist/kongponents.es502.js +3 -3
  262. package/dist/kongponents.es503.js +2 -2
  263. package/dist/kongponents.es504.js +1 -1
  264. package/dist/kongponents.es505.js +1 -1
  265. package/dist/kongponents.es533.js +1 -1
  266. package/dist/kongponents.es539.js +2 -2
  267. package/dist/kongponents.es540.js +2 -2
  268. package/dist/kongponents.es543.js +21 -2
  269. package/dist/kongponents.es544.js +18 -15
  270. package/dist/kongponents.es545.js +2 -24
  271. package/dist/kongponents.es547.js +27 -2
  272. package/dist/kongponents.es548.js +22 -22
  273. package/dist/kongponents.es549.js +2 -27
  274. package/dist/kongponents.es551.js +2 -2
  275. package/dist/kongponents.es552.js +2 -2
  276. package/dist/kongponents.es72.js +7 -7
  277. package/dist/kongponents.es75.js +1 -1
  278. package/dist/kongponents.es77.js +1 -1
  279. package/dist/kongponents.es83.js +1 -1
  280. package/dist/kongponents.es87.js +3 -3
  281. package/dist/kongponents.es89.js +15 -15
  282. package/dist/kongponents.es94.js +2 -2
  283. package/dist/kongponents.es96.js +6 -6
  284. package/dist/kongponents.es99.js +2 -2
  285. package/dist/kongponents105.cjs +1 -1
  286. package/dist/kongponents107.cjs +1 -1
  287. package/dist/kongponents109.cjs +1 -1
  288. package/dist/kongponents113.cjs +1 -1
  289. package/dist/kongponents115.cjs +1 -1
  290. package/dist/kongponents117.cjs +1 -1
  291. package/dist/kongponents119.cjs +1 -1
  292. package/dist/kongponents122.cjs +1 -1
  293. package/dist/kongponents124.cjs +1 -1
  294. package/dist/kongponents128.cjs +1 -1
  295. package/dist/kongponents130.cjs +1 -1
  296. package/dist/kongponents132.cjs +1 -1
  297. package/dist/kongponents139.cjs +1 -1
  298. package/dist/kongponents141.cjs +1 -1
  299. package/dist/kongponents143.cjs +1 -1
  300. package/dist/kongponents147.cjs +1 -1
  301. package/dist/kongponents149.cjs +1 -1
  302. package/dist/kongponents154.cjs +1 -1
  303. package/dist/kongponents156.cjs +1 -1
  304. package/dist/kongponents158.cjs +1 -1
  305. package/dist/kongponents160.cjs +1 -1
  306. package/dist/kongponents171.cjs +1 -1
  307. package/dist/kongponents172.cjs +1 -1
  308. package/dist/kongponents173.cjs +1 -1
  309. package/dist/kongponents174.cjs +1 -1
  310. package/dist/kongponents175.cjs +1 -1
  311. package/dist/kongponents176.cjs +1 -1
  312. package/dist/kongponents177.cjs +1 -1
  313. package/dist/kongponents178.cjs +1 -1
  314. package/dist/kongponents179.cjs +1 -1
  315. package/dist/kongponents180.cjs +1 -1
  316. package/dist/kongponents181.cjs +1 -1
  317. package/dist/kongponents182.cjs +1 -1
  318. package/dist/kongponents183.cjs +1 -1
  319. package/dist/kongponents184.cjs +1 -2
  320. package/dist/kongponents185.cjs +1 -1
  321. package/dist/kongponents186.cjs +1 -1
  322. package/dist/kongponents187.cjs +1 -1
  323. package/dist/kongponents188.cjs +1 -1
  324. package/dist/kongponents189.cjs +1 -2
  325. package/dist/kongponents190.cjs +2 -1
  326. package/dist/kongponents191.cjs +1 -1
  327. package/dist/kongponents192.cjs +1 -1
  328. package/dist/kongponents193.cjs +1 -1
  329. package/dist/kongponents194.cjs +1 -1
  330. package/dist/kongponents195.cjs +2 -1
  331. package/dist/kongponents196.cjs +1 -1
  332. package/dist/kongponents197.cjs +1 -1
  333. package/dist/kongponents198.cjs +1 -1
  334. package/dist/kongponents199.cjs +1 -1
  335. package/dist/kongponents200.cjs +1 -1
  336. package/dist/kongponents201.cjs +1 -5
  337. package/dist/kongponents202.cjs +1 -1
  338. package/dist/kongponents203.cjs +1 -1
  339. package/dist/kongponents204.cjs +1 -1
  340. package/dist/kongponents205.cjs +1 -1
  341. package/dist/kongponents206.cjs +1 -1
  342. package/dist/kongponents207.cjs +1 -1
  343. package/dist/kongponents208.cjs +1 -1
  344. package/dist/kongponents209.cjs +1 -1
  345. package/dist/kongponents21.cjs +1 -1
  346. package/dist/kongponents210.cjs +1 -1
  347. package/dist/kongponents211.cjs +1 -1
  348. package/dist/kongponents212.cjs +1 -1
  349. package/dist/kongponents213.cjs +1 -1
  350. package/dist/kongponents214.cjs +1 -1
  351. package/dist/kongponents215.cjs +1 -1
  352. package/dist/kongponents217.cjs +1 -1
  353. package/dist/kongponents218.cjs +1 -1
  354. package/dist/kongponents219.cjs +1 -1
  355. package/dist/kongponents220.cjs +1 -1
  356. package/dist/kongponents221.cjs +1 -1
  357. package/dist/kongponents222.cjs +1 -1
  358. package/dist/kongponents223.cjs +1 -1
  359. package/dist/kongponents225.cjs +1 -1
  360. package/dist/kongponents226.cjs +1 -1
  361. package/dist/kongponents227.cjs +1 -0
  362. package/dist/kongponents228.cjs +1 -1
  363. package/dist/kongponents229.cjs +5 -1
  364. package/dist/kongponents230.cjs +1 -1
  365. package/dist/kongponents231.cjs +1 -1
  366. package/dist/kongponents232.cjs +1 -1
  367. package/dist/kongponents233.cjs +1 -1
  368. package/dist/kongponents234.cjs +1 -1
  369. package/dist/kongponents235.cjs +1 -1
  370. package/dist/kongponents236.cjs +1 -1
  371. package/dist/kongponents237.cjs +1 -1
  372. package/dist/kongponents238.cjs +1 -1
  373. package/dist/kongponents24.cjs +1 -1
  374. package/dist/kongponents240.cjs +1 -1
  375. package/dist/kongponents241.cjs +1 -1
  376. package/dist/kongponents242.cjs +1 -0
  377. package/dist/kongponents243.cjs +1 -1
  378. package/dist/kongponents244.cjs +1 -1
  379. package/dist/kongponents245.cjs +1 -5
  380. package/dist/kongponents246.cjs +1 -1
  381. package/dist/kongponents248.cjs +1 -1
  382. package/dist/kongponents254.cjs +1 -1
  383. package/dist/kongponents256.cjs +1 -1
  384. package/dist/kongponents258.cjs +1 -1
  385. package/dist/kongponents26.cjs +1 -1
  386. package/dist/kongponents260.cjs +1 -1
  387. package/dist/kongponents262.cjs +1 -1
  388. package/dist/kongponents264.cjs +1 -1
  389. package/dist/kongponents266.cjs +1 -1
  390. package/dist/kongponents269.cjs +1 -0
  391. package/dist/kongponents270.cjs +1 -1
  392. package/dist/kongponents271.cjs +1 -0
  393. package/dist/kongponents272.cjs +1 -1
  394. package/dist/kongponents273.cjs +1 -1
  395. package/dist/kongponents274.cjs +1 -1
  396. package/dist/kongponents275.cjs +1 -1
  397. package/dist/kongponents276.cjs +1 -1
  398. package/dist/kongponents277.cjs +1 -1
  399. package/dist/kongponents278.cjs +1 -1
  400. package/dist/kongponents279.cjs +1 -1
  401. package/dist/kongponents28.cjs +1 -1
  402. package/dist/kongponents280.cjs +1 -1
  403. package/dist/kongponents281.cjs +1 -1
  404. package/dist/kongponents282.cjs +1 -1
  405. package/dist/kongponents283.cjs +1 -1
  406. package/dist/kongponents284.cjs +1 -1
  407. package/dist/kongponents285.cjs +1 -1
  408. package/dist/kongponents286.cjs +1 -1
  409. package/dist/kongponents287.cjs +1 -1
  410. package/dist/kongponents288.cjs +1 -1
  411. package/dist/kongponents289.cjs +1 -1
  412. package/dist/kongponents290.cjs +1 -1
  413. package/dist/kongponents291.cjs +1 -1
  414. package/dist/kongponents292.cjs +1 -1
  415. package/dist/kongponents293.cjs +1 -1
  416. package/dist/kongponents294.cjs +1 -1
  417. package/dist/kongponents295.cjs +1 -1
  418. package/dist/kongponents296.cjs +1 -1
  419. package/dist/kongponents297.cjs +1 -1
  420. package/dist/kongponents298.cjs +1 -1
  421. package/dist/kongponents299.cjs +1 -1
  422. package/dist/kongponents300.cjs +1 -1
  423. package/dist/kongponents301.cjs +1 -1
  424. package/dist/kongponents302.cjs +1 -1
  425. package/dist/kongponents303.cjs +1 -1
  426. package/dist/kongponents304.cjs +1 -1
  427. package/dist/kongponents305.cjs +1 -1
  428. package/dist/kongponents306.cjs +1 -1
  429. package/dist/kongponents307.cjs +1 -1
  430. package/dist/kongponents308.cjs +1 -1
  431. package/dist/kongponents309.cjs +1 -1
  432. package/dist/kongponents310.cjs +1 -1
  433. package/dist/kongponents311.cjs +1 -1
  434. package/dist/kongponents312.cjs +1 -1
  435. package/dist/kongponents313.cjs +1 -1
  436. package/dist/kongponents314.cjs +1 -1
  437. package/dist/kongponents315.cjs +1 -1
  438. package/dist/kongponents316.cjs +1 -1
  439. package/dist/kongponents317.cjs +1 -1
  440. package/dist/kongponents318.cjs +1 -1
  441. package/dist/kongponents319.cjs +1 -1
  442. package/dist/kongponents321.cjs +1 -1
  443. package/dist/kongponents323.cjs +1 -1
  444. package/dist/kongponents325.cjs +1 -1
  445. package/dist/kongponents327.cjs +5 -1
  446. package/dist/kongponents328.cjs +1 -0
  447. package/dist/kongponents329.cjs +1 -1
  448. package/dist/kongponents331.cjs +1 -1
  449. package/dist/kongponents333.cjs +1 -10
  450. package/dist/kongponents334.cjs +10 -1
  451. package/dist/kongponents335.cjs +1 -1
  452. package/dist/kongponents336.cjs +1 -1
  453. package/dist/kongponents339.cjs +1 -1
  454. package/dist/kongponents340.cjs +1 -1
  455. package/dist/kongponents341.cjs +1 -1
  456. package/dist/kongponents342.cjs +1 -1
  457. package/dist/kongponents346.cjs +1 -1
  458. package/dist/kongponents351.cjs +1 -1
  459. package/dist/kongponents352.cjs +1 -1
  460. package/dist/kongponents353.cjs +1 -1
  461. package/dist/kongponents354.cjs +1 -1
  462. package/dist/kongponents355.cjs +1 -1
  463. package/dist/kongponents356.cjs +1 -1
  464. package/dist/kongponents357.cjs +1 -1
  465. package/dist/kongponents358.cjs +1 -1
  466. package/dist/kongponents359.cjs +1 -1
  467. package/dist/kongponents360.cjs +1 -1
  468. package/dist/kongponents361.cjs +1 -1
  469. package/dist/kongponents363.cjs +1 -1
  470. package/dist/kongponents364.cjs +1 -1
  471. package/dist/kongponents365.cjs +1 -1
  472. package/dist/kongponents372.cjs +1 -1
  473. package/dist/kongponents378.cjs +1 -1
  474. package/dist/kongponents379.cjs +1 -1
  475. package/dist/kongponents381.cjs +1 -1
  476. package/dist/kongponents385.cjs +1 -1
  477. package/dist/kongponents386.cjs +1 -1
  478. package/dist/kongponents387.cjs +1 -1
  479. package/dist/kongponents388.cjs +1 -0
  480. package/dist/kongponents389.cjs +1 -1
  481. package/dist/kongponents390.cjs +1 -1
  482. package/dist/kongponents391.cjs +1 -1
  483. package/dist/kongponents392.cjs +1 -1
  484. package/dist/kongponents393.cjs +1 -1
  485. package/dist/kongponents394.cjs +1 -1
  486. package/dist/kongponents395.cjs +1 -1
  487. package/dist/kongponents396.cjs +1 -1
  488. package/dist/kongponents397.cjs +1 -1
  489. package/dist/kongponents398.cjs +1 -1
  490. package/dist/kongponents399.cjs +1 -1
  491. package/dist/kongponents400.cjs +1 -1
  492. package/dist/kongponents401.cjs +1 -1
  493. package/dist/kongponents402.cjs +1 -1
  494. package/dist/kongponents403.cjs +1 -1
  495. package/dist/kongponents404.cjs +1 -1
  496. package/dist/kongponents405.cjs +1 -1
  497. package/dist/kongponents406.cjs +1 -1
  498. package/dist/kongponents407.cjs +1 -1
  499. package/dist/kongponents408.cjs +1 -1
  500. package/dist/kongponents409.cjs +1 -1
  501. package/dist/kongponents410.cjs +1 -1
  502. package/dist/kongponents411.cjs +1 -1
  503. package/dist/kongponents412.cjs +1 -1
  504. package/dist/kongponents413.cjs +1 -1
  505. package/dist/kongponents414.cjs +1 -1
  506. package/dist/kongponents416.cjs +4 -1
  507. package/dist/kongponents417.cjs +1 -1
  508. package/dist/kongponents418.cjs +1 -1
  509. package/dist/kongponents419.cjs +1 -1
  510. package/dist/kongponents426.cjs +1 -1
  511. package/dist/kongponents427.cjs +1 -1
  512. package/dist/kongponents428.cjs +1 -1
  513. package/dist/kongponents429.cjs +1 -1
  514. package/dist/kongponents434.cjs +1 -1
  515. package/dist/kongponents436.cjs +1 -1
  516. package/dist/kongponents439.cjs +1 -1
  517. package/dist/kongponents440.cjs +1 -1
  518. package/dist/kongponents441.cjs +1 -1
  519. package/dist/kongponents442.cjs +1 -1
  520. package/dist/kongponents443.cjs +1 -1
  521. package/dist/kongponents444.cjs +1 -1
  522. package/dist/kongponents445.cjs +1 -1
  523. package/dist/kongponents446.cjs +1 -1
  524. package/dist/kongponents462.cjs +1 -1
  525. package/dist/kongponents463.cjs +1 -1
  526. package/dist/kongponents464.cjs +1 -1
  527. package/dist/kongponents465.cjs +1 -1
  528. package/dist/kongponents466.cjs +1 -1
  529. package/dist/kongponents475.cjs +1 -1
  530. package/dist/kongponents482.cjs +1 -1
  531. package/dist/kongponents483.cjs +1 -1
  532. package/dist/kongponents484.cjs +1 -1
  533. package/dist/kongponents485.cjs +1 -1
  534. package/dist/kongponents486.cjs +1 -1
  535. package/dist/kongponents487.cjs +1 -1
  536. package/dist/kongponents488.cjs +1 -1
  537. package/dist/kongponents489.cjs +1 -1
  538. package/dist/kongponents490.cjs +1 -1
  539. package/dist/kongponents493.cjs +1 -1
  540. package/dist/kongponents495.cjs +1 -1
  541. package/dist/kongponents497.cjs +1 -1
  542. package/dist/kongponents499.cjs +1 -1
  543. package/dist/kongponents500.cjs +1 -1
  544. package/dist/kongponents501.cjs +1 -1
  545. package/dist/kongponents502.cjs +1 -1
  546. package/dist/kongponents503.cjs +1 -1
  547. package/dist/kongponents504.cjs +1 -1
  548. package/dist/kongponents505.cjs +1 -1
  549. package/dist/kongponents533.cjs +1 -1
  550. package/dist/kongponents543.cjs +1 -1
  551. package/dist/kongponents544.cjs +1 -1
  552. package/dist/kongponents545.cjs +1 -1
  553. package/dist/kongponents547.cjs +1 -1
  554. package/dist/kongponents548.cjs +1 -1
  555. package/dist/kongponents549.cjs +1 -1
  556. package/dist/kongponents72.cjs +1 -1
  557. package/dist/kongponents75.cjs +1 -1
  558. package/dist/kongponents77.cjs +1 -1
  559. package/dist/kongponents83.cjs +1 -1
  560. package/dist/kongponents87.cjs +1 -1
  561. package/dist/kongponents89.cjs +1 -1
  562. package/dist/kongponents94.cjs +1 -1
  563. package/dist/kongponents96.cjs +1 -1
  564. package/dist/kongponents99.cjs +1 -1
  565. package/package.json +2 -2
  566. package/dist/kongponents.es224.js +0 -121
  567. package/dist/kongponents.es247.js +0 -136
  568. package/dist/kongponents.es268.js +0 -47
  569. package/dist/kongponents.es320.js +0 -220
  570. package/dist/kongponents.es322.js +0 -132
  571. package/dist/kongponents.es415.js +0 -4
  572. package/dist/kongponents224.cjs +0 -1
  573. package/dist/kongponents247.cjs +0 -1
  574. package/dist/kongponents268.cjs +0 -1
  575. package/dist/kongponents320.cjs +0 -4
  576. package/dist/kongponents322.cjs +0 -1
  577. package/dist/kongponents415.cjs +0 -1
@@ -1,6 +1,372 @@
1
- function r() {
2
- return [];
1
+ import { evaluate as V, getSideAxis as E, getSide as D, clamp as X, getOppositePlacement as J, getExpandedPlacements as K, getOppositeAxisPlacements as N, getAlignmentSides as G, placements as Y, getAlignment as T, getPaddingObject as Q, rectToClientRect as q, getOppositeAxis as U, getOppositeAlignmentPlacement as W, getAlignmentAxis as Z, getAxisLength as ee } from "./kongponents.es318.js";
2
+ function z(t, i, m) {
3
+ let {
4
+ reference: n,
5
+ floating: e
6
+ } = t;
7
+ const l = E(i), r = Z(i), s = ee(r), y = D(i), v = l === "y", d = n.x + n.width / 2 - e.width / 2, a = n.y + n.height / 2 - e.height / 2, c = n[s] / 2 - e[s] / 2;
8
+ let o;
9
+ switch (y) {
10
+ case "top":
11
+ o = {
12
+ x: d,
13
+ y: n.y - e.height
14
+ };
15
+ break;
16
+ case "bottom":
17
+ o = {
18
+ x: d,
19
+ y: n.y + n.height
20
+ };
21
+ break;
22
+ case "right":
23
+ o = {
24
+ x: n.x + n.width,
25
+ y: a
26
+ };
27
+ break;
28
+ case "left":
29
+ o = {
30
+ x: n.x - e.width,
31
+ y: a
32
+ };
33
+ break;
34
+ default:
35
+ o = {
36
+ x: n.x,
37
+ y: n.y
38
+ };
39
+ }
40
+ switch (T(i)) {
41
+ case "start":
42
+ o[r] -= c * (m && v ? -1 : 1);
43
+ break;
44
+ case "end":
45
+ o[r] += c * (m && v ? -1 : 1);
46
+ break;
47
+ }
48
+ return o;
3
49
  }
50
+ const ie = async (t, i, m) => {
51
+ const {
52
+ placement: n = "bottom",
53
+ strategy: e = "absolute",
54
+ middleware: l = [],
55
+ platform: r
56
+ } = m, s = l.filter(Boolean), y = await (r.isRTL == null ? void 0 : r.isRTL(i));
57
+ let v = await r.getElementRects({
58
+ reference: t,
59
+ floating: i,
60
+ strategy: e
61
+ }), {
62
+ x: d,
63
+ y: a
64
+ } = z(v, n, y), c = n, o = {}, x = 0;
65
+ for (let h = 0; h < s.length; h++) {
66
+ const {
67
+ name: w,
68
+ fn: u
69
+ } = s[h], {
70
+ x: f,
71
+ y: A,
72
+ data: P,
73
+ reset: g
74
+ } = await u({
75
+ x: d,
76
+ y: a,
77
+ initialPlacement: n,
78
+ placement: c,
79
+ strategy: e,
80
+ middlewareData: o,
81
+ rects: v,
82
+ platform: r,
83
+ elements: {
84
+ reference: t,
85
+ floating: i
86
+ }
87
+ });
88
+ d = f ?? d, a = A ?? a, o = {
89
+ ...o,
90
+ [w]: {
91
+ ...o[w],
92
+ ...P
93
+ }
94
+ }, g && x <= 50 && (x++, typeof g == "object" && (g.placement && (c = g.placement), g.rects && (v = g.rects === !0 ? await r.getElementRects({
95
+ reference: t,
96
+ floating: i,
97
+ strategy: e
98
+ }) : g.rects), {
99
+ x: d,
100
+ y: a
101
+ } = z(v, c, y)), h = -1);
102
+ }
103
+ return {
104
+ x: d,
105
+ y: a,
106
+ placement: c,
107
+ strategy: e,
108
+ middlewareData: o
109
+ };
110
+ };
111
+ async function I(t, i) {
112
+ var m;
113
+ i === void 0 && (i = {});
114
+ const {
115
+ x: n,
116
+ y: e,
117
+ platform: l,
118
+ rects: r,
119
+ elements: s,
120
+ strategy: y
121
+ } = t, {
122
+ boundary: v = "clippingAncestors",
123
+ rootBoundary: d = "viewport",
124
+ elementContext: a = "floating",
125
+ altBoundary: c = !1,
126
+ padding: o = 0
127
+ } = V(i, t), x = Q(o), w = s[c ? a === "floating" ? "reference" : "floating" : a], u = q(await l.getClippingRect({
128
+ element: (m = await (l.isElement == null ? void 0 : l.isElement(w))) == null || m ? w : w.contextElement || await (l.getDocumentElement == null ? void 0 : l.getDocumentElement(s.floating)),
129
+ boundary: v,
130
+ rootBoundary: d,
131
+ strategy: y
132
+ })), f = a === "floating" ? {
133
+ x: n,
134
+ y: e,
135
+ width: r.floating.width,
136
+ height: r.floating.height
137
+ } : r.reference, A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s.floating)), P = await (l.isElement == null ? void 0 : l.isElement(A)) ? await (l.getScale == null ? void 0 : l.getScale(A)) || {
138
+ x: 1,
139
+ y: 1
140
+ } : {
141
+ x: 1,
142
+ y: 1
143
+ }, g = q(l.convertOffsetParentRelativeRectToViewportRelativeRect ? await l.convertOffsetParentRelativeRectToViewportRelativeRect({
144
+ elements: s,
145
+ rect: f,
146
+ offsetParent: A,
147
+ strategy: y
148
+ }) : f);
149
+ return {
150
+ top: (u.top - g.top + x.top) / P.y,
151
+ bottom: (g.bottom - u.bottom + x.bottom) / P.y,
152
+ left: (u.left - g.left + x.left) / P.x,
153
+ right: (g.right - u.right + x.right) / P.x
154
+ };
155
+ }
156
+ function te(t, i, m) {
157
+ return (t ? [...m.filter((e) => T(e) === t), ...m.filter((e) => T(e) !== t)] : m.filter((e) => D(e) === e)).filter((e) => t ? T(e) === t || (i ? W(e) !== e : !1) : !0);
158
+ }
159
+ const le = function(t) {
160
+ return t === void 0 && (t = {}), {
161
+ name: "autoPlacement",
162
+ options: t,
163
+ async fn(i) {
164
+ var m, n, e;
165
+ const {
166
+ rects: l,
167
+ middlewareData: r,
168
+ placement: s,
169
+ platform: y,
170
+ elements: v
171
+ } = i, {
172
+ crossAxis: d = !1,
173
+ alignment: a,
174
+ allowedPlacements: c = Y,
175
+ autoAlignment: o = !0,
176
+ ...x
177
+ } = V(t, i), h = a !== void 0 || c === Y ? te(a || null, o, c) : c, w = await I(i, x), u = ((m = r.autoPlacement) == null ? void 0 : m.index) || 0, f = h[u];
178
+ if (f == null)
179
+ return {};
180
+ const A = G(f, l, await (y.isRTL == null ? void 0 : y.isRTL(v.floating)));
181
+ if (s !== f)
182
+ return {
183
+ reset: {
184
+ placement: h[0]
185
+ }
186
+ };
187
+ const P = [w[D(f)], w[A[0]], w[A[1]]], g = [...((n = r.autoPlacement) == null ? void 0 : n.overflows) || [], {
188
+ placement: f,
189
+ overflows: P
190
+ }], L = h[u + 1];
191
+ if (L)
192
+ return {
193
+ data: {
194
+ index: u + 1,
195
+ overflows: g
196
+ },
197
+ reset: {
198
+ placement: L
199
+ }
200
+ };
201
+ const B = g.map((p) => {
202
+ const O = T(p.placement);
203
+ return [p.placement, O && d ? (
204
+ // Check along the mainAxis and main crossAxis side.
205
+ p.overflows.slice(0, 2).reduce(($, j) => $ + j, 0)
206
+ ) : (
207
+ // Check only the mainAxis.
208
+ p.overflows[0]
209
+ ), p.overflows];
210
+ }).sort((p, O) => p[1] - O[1]), R = ((e = B.filter((p) => p[2].slice(
211
+ 0,
212
+ // Aligned placements should not check their opposite crossAxis
213
+ // side.
214
+ T(p[0]) ? 2 : 3
215
+ ).every((O) => O <= 0))[0]) == null ? void 0 : e[0]) || B[0][0];
216
+ return R !== s ? {
217
+ data: {
218
+ index: u + 1,
219
+ overflows: g
220
+ },
221
+ reset: {
222
+ placement: R
223
+ }
224
+ } : {};
225
+ }
226
+ };
227
+ }, oe = function(t) {
228
+ return t === void 0 && (t = {}), {
229
+ name: "flip",
230
+ options: t,
231
+ async fn(i) {
232
+ var m, n;
233
+ const {
234
+ placement: e,
235
+ middlewareData: l,
236
+ rects: r,
237
+ initialPlacement: s,
238
+ platform: y,
239
+ elements: v
240
+ } = i, {
241
+ mainAxis: d = !0,
242
+ crossAxis: a = !0,
243
+ fallbackPlacements: c,
244
+ fallbackStrategy: o = "bestFit",
245
+ fallbackAxisSideDirection: x = "none",
246
+ flipAlignment: h = !0,
247
+ ...w
248
+ } = V(t, i);
249
+ if ((m = l.arrow) != null && m.alignmentOffset)
250
+ return {};
251
+ const u = D(e), f = E(s), A = D(s) === s, P = await (y.isRTL == null ? void 0 : y.isRTL(v.floating)), g = c || (A || !h ? [J(s)] : K(s)), L = x !== "none";
252
+ !c && L && g.push(...N(s, h, x, P));
253
+ const B = [s, ...g], M = await I(i, w), R = [];
254
+ let p = ((n = l.flip) == null ? void 0 : n.overflows) || [];
255
+ if (d && R.push(M[u]), a) {
256
+ const k = G(e, r, P);
257
+ R.push(M[k[0]], M[k[1]]);
258
+ }
259
+ if (p = [...p, {
260
+ placement: e,
261
+ overflows: R
262
+ }], !R.every((k) => k <= 0)) {
263
+ var O, $;
264
+ const k = (((O = l.flip) == null ? void 0 : O.index) || 0) + 1, _ = B[k];
265
+ if (_ && (!(a === "alignment" ? f !== E(_) : !1) || // We leave the current main axis only if every placement on that axis
266
+ // overflows the main axis.
267
+ p.every((b) => E(b.placement) === f ? b.overflows[0] > 0 : !0)))
268
+ return {
269
+ data: {
270
+ index: k,
271
+ overflows: p
272
+ },
273
+ reset: {
274
+ placement: _
275
+ }
276
+ };
277
+ let F = ($ = p.filter((C) => C.overflows[0] <= 0).sort((C, b) => C.overflows[1] - b.overflows[1])[0]) == null ? void 0 : $.placement;
278
+ if (!F)
279
+ switch (o) {
280
+ case "bestFit": {
281
+ var j;
282
+ const C = (j = p.filter((b) => {
283
+ if (L) {
284
+ const S = E(b.placement);
285
+ return S === f || // Create a bias to the `y` side axis due to horizontal
286
+ // reading directions favoring greater width.
287
+ S === "y";
288
+ }
289
+ return !0;
290
+ }).map((b) => [b.placement, b.overflows.filter((S) => S > 0).reduce((S, H) => S + H, 0)]).sort((b, S) => b[1] - S[1])[0]) == null ? void 0 : j[0];
291
+ C && (F = C);
292
+ break;
293
+ }
294
+ case "initialPlacement":
295
+ F = s;
296
+ break;
297
+ }
298
+ if (e !== F)
299
+ return {
300
+ reset: {
301
+ placement: F
302
+ }
303
+ };
304
+ }
305
+ return {};
306
+ }
307
+ };
308
+ }, ae = function(t) {
309
+ return t === void 0 && (t = {}), {
310
+ name: "shift",
311
+ options: t,
312
+ async fn(i) {
313
+ const {
314
+ x: m,
315
+ y: n,
316
+ placement: e
317
+ } = i, {
318
+ mainAxis: l = !0,
319
+ crossAxis: r = !1,
320
+ limiter: s = {
321
+ fn: (w) => {
322
+ let {
323
+ x: u,
324
+ y: f
325
+ } = w;
326
+ return {
327
+ x: u,
328
+ y: f
329
+ };
330
+ }
331
+ },
332
+ ...y
333
+ } = V(t, i), v = {
334
+ x: m,
335
+ y: n
336
+ }, d = await I(i, y), a = E(D(e)), c = U(a);
337
+ let o = v[c], x = v[a];
338
+ if (l) {
339
+ const w = c === "y" ? "top" : "left", u = c === "y" ? "bottom" : "right", f = o + d[w], A = o - d[u];
340
+ o = X(f, o, A);
341
+ }
342
+ if (r) {
343
+ const w = a === "y" ? "top" : "left", u = a === "y" ? "bottom" : "right", f = x + d[w], A = x - d[u];
344
+ x = X(f, x, A);
345
+ }
346
+ const h = s.fn({
347
+ ...i,
348
+ [c]: o,
349
+ [a]: x
350
+ });
351
+ return {
352
+ ...h,
353
+ data: {
354
+ x: h.x - m,
355
+ y: h.y - n,
356
+ enabled: {
357
+ [c]: l,
358
+ [a]: r
359
+ }
360
+ }
361
+ };
362
+ }
363
+ };
364
+ };
4
365
  export {
5
- r as default
366
+ le as autoPlacement,
367
+ ie as computePosition,
368
+ I as detectOverflow,
369
+ oe as flip,
370
+ q as rectToClientRect,
371
+ ae as shift
6
372
  };
@@ -1,8 +1,132 @@
1
- import r from "./kongponents.es384.js";
2
- var a = /^\s+/;
3
- function t(e) {
4
- return e && e.slice(0, r(e) + 1).replace(a, "");
1
+ const p = ["top", "right", "bottom", "left"], l = ["start", "end"], L = /* @__PURE__ */ p.reduce((t, e) => t.concat(e, e + "-" + l[0], e + "-" + l[1]), []), h = Math.min, x = Math.max, E = Math.round, R = Math.floor, T = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), b = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ }, d = {
10
+ start: "end",
11
+ end: "start"
12
+ };
13
+ function k(t, e, n) {
14
+ return x(t, h(e, n));
15
+ }
16
+ function q(t, e) {
17
+ return typeof t == "function" ? t(e) : t;
18
+ }
19
+ function g(t) {
20
+ return t.split("-")[0];
21
+ }
22
+ function m(t) {
23
+ return t.split("-")[1];
24
+ }
25
+ function A(t) {
26
+ return t === "x" ? "y" : "x";
27
+ }
28
+ function P(t) {
29
+ return t === "y" ? "height" : "width";
30
+ }
31
+ const y = /* @__PURE__ */ new Set(["top", "bottom"]);
32
+ function M(t) {
33
+ return y.has(g(t)) ? "y" : "x";
34
+ }
35
+ function O(t) {
36
+ return A(M(t));
37
+ }
38
+ function z(t, e, n) {
39
+ n === void 0 && (n = !1);
40
+ const r = m(t), i = O(t), o = P(i);
41
+ let c = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
42
+ return e.reference[o] > e.floating[o] && (c = f(c)), [c, f(c)];
43
+ }
44
+ function B(t) {
45
+ const e = f(t);
46
+ return [s(t), e, s(e)];
47
+ }
48
+ function s(t) {
49
+ return t.replace(/start|end/g, (e) => d[e]);
50
+ }
51
+ const u = ["left", "right"], a = ["right", "left"], S = ["top", "bottom"], w = ["bottom", "top"];
52
+ function j(t, e, n) {
53
+ switch (t) {
54
+ case "top":
55
+ case "bottom":
56
+ return n ? e ? a : u : e ? u : a;
57
+ case "left":
58
+ case "right":
59
+ return e ? S : w;
60
+ default:
61
+ return [];
62
+ }
63
+ }
64
+ function D(t, e, n, r) {
65
+ const i = m(t);
66
+ let o = j(g(t), n === "start", r);
67
+ return i && (o = o.map((c) => c + "-" + i), e && (o = o.concat(o.map(s)))), o;
68
+ }
69
+ function f(t) {
70
+ return t.replace(/left|right|bottom|top/g, (e) => b[e]);
71
+ }
72
+ function C(t) {
73
+ return {
74
+ top: 0,
75
+ right: 0,
76
+ bottom: 0,
77
+ left: 0,
78
+ ...t
79
+ };
80
+ }
81
+ function F(t) {
82
+ return typeof t != "number" ? C(t) : {
83
+ top: t,
84
+ right: t,
85
+ bottom: t,
86
+ left: t
87
+ };
88
+ }
89
+ function G(t) {
90
+ const {
91
+ x: e,
92
+ y: n,
93
+ width: r,
94
+ height: i
95
+ } = t;
96
+ return {
97
+ width: r,
98
+ height: i,
99
+ top: n,
100
+ left: e,
101
+ right: e + r,
102
+ bottom: n + i,
103
+ x: e,
104
+ y: n
105
+ };
5
106
  }
6
107
  export {
7
- t as default
108
+ l as alignments,
109
+ k as clamp,
110
+ T as createCoords,
111
+ q as evaluate,
112
+ C as expandPaddingObject,
113
+ R as floor,
114
+ m as getAlignment,
115
+ O as getAlignmentAxis,
116
+ z as getAlignmentSides,
117
+ P as getAxisLength,
118
+ B as getExpandedPlacements,
119
+ s as getOppositeAlignmentPlacement,
120
+ A as getOppositeAxis,
121
+ D as getOppositeAxisPlacements,
122
+ f as getOppositePlacement,
123
+ F as getPaddingObject,
124
+ g as getSide,
125
+ M as getSideAxis,
126
+ x as max,
127
+ h as min,
128
+ L as placements,
129
+ G as rectToClientRect,
130
+ E as round,
131
+ p as sides
8
132
  };
@@ -1,18 +1,179 @@
1
- import t from "./kongponents.es342.js";
2
- import f from "./kongponents.es309.js";
3
- import m from "./kongponents.es286.js";
4
- import p from "./kongponents.es294.js";
5
- var i = t ? t.prototype : void 0, n = i ? i.toString : void 0;
6
- function y(r) {
7
- if (typeof r == "string")
8
- return r;
9
- if (m(r))
10
- return f(r, y) + "";
11
- if (p(r))
12
- return n ? n.call(r) : "";
13
- var o = r + "";
14
- return o == "0" && 1 / r == -1 / 0 ? "-0" : o;
15
- }
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.es413.js";
3
+ import Z from "./kongponents.es398.js";
4
+ import p from "./kongponents.es402.js";
5
+ import G from "./kongponents.es228.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
+ });
16
177
  export {
17
- y as default
178
+ ye as default
18
179
  };