@kong/kongponents 9.46.9-pr.2994.0a615a7.0 → 9.46.10-pr.2996.a07c4b7.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 (628) 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 +27 -27
  23. package/dist/kongponents.es172.js +23 -23
  24. package/dist/kongponents.es173.js +17 -17
  25. package/dist/kongponents.es174.js +13 -13
  26. package/dist/kongponents.es175.js +18 -119
  27. package/dist/kongponents.es176.js +313 -115
  28. package/dist/kongponents.es177.js +39 -18
  29. package/dist/kongponents.es178.js +98 -5
  30. package/dist/kongponents.es179.js +115 -313
  31. package/dist/kongponents.es180.js +118 -38
  32. package/dist/kongponents.es181.js +118 -97
  33. package/dist/kongponents.es182.js +18 -18
  34. package/dist/kongponents.es183.js +11 -11
  35. package/dist/kongponents.es184.js +23 -22
  36. package/dist/kongponents.es185.js +17 -17
  37. package/dist/kongponents.es186.js +18 -120
  38. package/dist/kongponents.es187.js +5 -119
  39. package/dist/kongponents.es188.js +50 -117
  40. package/dist/kongponents.es189.js +119 -18
  41. package/dist/kongponents.es190.js +108 -46
  42. package/dist/kongponents.es191.js +13 -115
  43. package/dist/kongponents.es192.js +178 -112
  44. package/dist/kongponents.es193.js +392 -104
  45. package/dist/kongponents.es194.js +102 -113
  46. package/dist/kongponents.es195.js +31 -31
  47. package/dist/kongponents.es196.js +16 -16
  48. package/dist/kongponents.es197.js +15 -15
  49. package/dist/kongponents.es198.js +30 -30
  50. package/dist/kongponents.es199.js +16 -16
  51. package/dist/kongponents.es200.js +5 -102
  52. package/dist/kongponents.es201.js +5 -185
  53. package/dist/kongponents.es202.js +23 -118
  54. package/dist/kongponents.es203.js +5 -119
  55. package/dist/kongponents.es204.js +5 -24
  56. package/dist/kongponents.es206.js +26 -26
  57. package/dist/kongponents.es207.js +5 -5
  58. package/dist/kongponents.es208.js +8 -5
  59. package/dist/kongponents.es209.js +59 -118
  60. package/dist/kongponents.es21.js +8 -8
  61. package/dist/kongponents.es210.js +96 -113
  62. package/dist/kongponents.es211.js +3 -3
  63. package/dist/kongponents.es212.js +19 -19
  64. package/dist/kongponents.es213.js +119 -7
  65. package/dist/kongponents.es214.js +5 -189
  66. package/dist/kongponents.es215.js +4 -4
  67. package/dist/kongponents.es216.js +119 -5
  68. package/dist/kongponents.es217.js +116 -111
  69. package/dist/kongponents.es218.js +115 -13
  70. package/dist/kongponents.es219.js +116 -393
  71. package/dist/kongponents.es220.js +119 -15
  72. package/dist/kongponents.es221.js +7 -0
  73. package/dist/kongponents.es222.js +10 -119
  74. package/dist/kongponents.es223.js +119 -5
  75. package/dist/kongponents.es224.js +119 -8
  76. package/dist/kongponents.es225.js +118 -59
  77. package/dist/kongponents.es226.js +5 -5
  78. package/dist/kongponents.es227.js +4 -4
  79. package/dist/kongponents.es228.js +5 -119
  80. package/dist/kongponents.es229.js +5 -119
  81. package/dist/kongponents.es230.js +2 -2
  82. package/dist/kongponents.es231.js +5 -10
  83. package/dist/kongponents.es232.js +5 -119
  84. package/dist/kongponents.es233.js +6 -4
  85. package/dist/kongponents.es234.js +189 -5
  86. package/dist/kongponents.es235.js +119 -5
  87. package/dist/kongponents.es236.js +119 -5
  88. package/dist/kongponents.es237.js +119 -5
  89. package/dist/kongponents.es238.js +15 -5
  90. package/dist/kongponents.es24.js +1 -1
  91. package/dist/kongponents.es240.js +1 -1
  92. package/dist/kongponents.es241.js +129 -35
  93. package/dist/kongponents.es242.js +2 -320
  94. package/dist/kongponents.es243.js +31 -55
  95. package/dist/kongponents.es244.js +42 -0
  96. package/dist/kongponents.es245.js +322 -0
  97. package/dist/kongponents.es246.js +93 -22
  98. package/dist/kongponents.es248.js +41 -44
  99. package/dist/kongponents.es250.js +46 -28
  100. package/dist/kongponents.es252.js +53 -20
  101. package/dist/kongponents.es254.js +2 -45
  102. package/dist/kongponents.es255.js +121 -0
  103. package/dist/kongponents.es256.js +114 -36
  104. package/dist/kongponents.es257.js +121 -0
  105. package/dist/kongponents.es258.js +4 -470
  106. package/dist/kongponents.es259.js +5 -32
  107. package/dist/kongponents.es26.js +4 -4
  108. package/dist/kongponents.es260.js +18 -132
  109. package/dist/kongponents.es261.js +4 -2
  110. package/dist/kongponents.es262.js +5 -52
  111. package/dist/kongponents.es263.js +8 -0
  112. package/dist/kongponents.es264.js +9 -2
  113. package/dist/kongponents.es265.js +6 -119
  114. package/dist/kongponents.es266.js +4 -119
  115. package/dist/kongponents.es267.js +16 -118
  116. package/dist/kongponents.es268.js +3 -4
  117. package/dist/kongponents.es269.js +7 -4
  118. package/dist/kongponents.es270.js +6 -19
  119. package/dist/kongponents.es271.js +3 -3
  120. package/dist/kongponents.es272.js +2 -5
  121. package/dist/kongponents.es273.js +5 -5
  122. package/dist/kongponents.es274.js +9 -8
  123. package/dist/kongponents.es275.js +4 -5
  124. package/dist/kongponents.es276.js +4 -4
  125. package/dist/kongponents.es277.js +3 -17
  126. package/dist/kongponents.es278.js +2 -2
  127. package/dist/kongponents.es279.js +8 -8
  128. package/dist/kongponents.es28.js +2 -2
  129. package/dist/kongponents.es280.js +6 -6
  130. package/dist/kongponents.es281.js +5 -4
  131. package/dist/kongponents.es282.js +10 -2
  132. package/dist/kongponents.es283.js +5 -5
  133. package/dist/kongponents.es284.js +9 -10
  134. package/dist/kongponents.es285.js +6 -4
  135. package/dist/kongponents.es286.js +18 -4
  136. package/dist/kongponents.es287.js +12 -3
  137. package/dist/kongponents.es288.js +6 -3
  138. package/dist/kongponents.es289.js +12 -7
  139. package/dist/kongponents.es290.js +8 -5
  140. package/dist/kongponents.es291.js +6 -5
  141. package/dist/kongponents.es292.js +8 -9
  142. package/dist/kongponents.es293.js +14 -4
  143. package/dist/kongponents.es294.js +17 -8
  144. package/dist/kongponents.es295.js +5 -6
  145. package/dist/kongponents.es296.js +10 -17
  146. package/dist/kongponents.es297.js +6 -11
  147. package/dist/kongponents.es298.js +7 -6
  148. package/dist/kongponents.es299.js +5 -12
  149. package/dist/kongponents.es300.js +6 -9
  150. package/dist/kongponents.es301.js +8 -4
  151. package/dist/kongponents.es302.js +7 -8
  152. package/dist/kongponents.es303.js +3 -15
  153. package/dist/kongponents.es304.js +5 -17
  154. package/dist/kongponents.es305.js +15 -5
  155. package/dist/kongponents.es306.js +367 -8
  156. package/dist/kongponents.es307.js +129 -6
  157. package/dist/kongponents.es308.js +176 -8
  158. package/dist/kongponents.es310.js +470 -6
  159. package/dist/kongponents.es311.js +177 -10
  160. package/dist/kongponents.es313.js +24 -4
  161. package/dist/kongponents.es315.js +48 -16
  162. package/dist/kongponents.es317.js +36 -0
  163. package/dist/kongponents.es319.js +25 -0
  164. package/dist/kongponents.es321.js +47 -0
  165. package/dist/kongponents.es323.js +43 -0
  166. package/dist/{kongponents.es318.js → kongponents.es325.js} +1 -1
  167. package/dist/kongponents.es330.js +63 -129
  168. package/dist/kongponents.es332.js +8 -0
  169. package/dist/kongponents.es333.js +7 -1556
  170. package/dist/kongponents.es334.js +6 -5
  171. package/dist/kongponents.es335.js +9 -2
  172. package/dist/kongponents.es336.js +6 -6
  173. package/dist/kongponents.es337.js +9 -7
  174. package/dist/kongponents.es338.js +14 -5
  175. package/dist/kongponents.es339.js +3 -9
  176. package/dist/kongponents.es340.js +7 -5
  177. package/dist/kongponents.es341.js +3 -10
  178. package/dist/kongponents.es342.js +9 -13
  179. package/dist/kongponents.es343.js +8 -3
  180. package/dist/kongponents.es344.js +5 -7
  181. package/dist/kongponents.es345.js +2 -3
  182. package/dist/kongponents.es346.js +12 -10
  183. package/dist/kongponents.es347.js +4 -7
  184. package/dist/kongponents.es348.js +3 -6
  185. package/dist/kongponents.es349.js +26 -2
  186. package/dist/kongponents.es350.js +4 -13
  187. package/dist/kongponents.es351.js +4 -5
  188. package/dist/kongponents.es352.js +3 -5
  189. package/dist/kongponents.es353.js +4 -30
  190. package/dist/kongponents.es354.js +4 -3
  191. package/dist/kongponents.es355.js +14 -25
  192. package/dist/kongponents.es356.js +6 -4
  193. package/dist/kongponents.es357.js +30 -4
  194. package/dist/kongponents.es358.js +27 -4
  195. package/dist/kongponents.es359.js +16 -4
  196. package/dist/kongponents.es360.js +10 -4
  197. package/dist/kongponents.es361.js +4 -14
  198. package/dist/kongponents.es362.js +13 -26
  199. package/dist/kongponents.es363.js +7 -14
  200. package/dist/kongponents.es364.js +3 -10
  201. package/dist/kongponents.es365.js +5 -4
  202. package/dist/kongponents.es366.js +5 -13
  203. package/dist/kongponents.es367.js +6 -7
  204. package/dist/kongponents.es368.js +6 -3
  205. package/dist/kongponents.es369.js +9 -4
  206. package/dist/kongponents.es370.js +4 -4
  207. package/dist/kongponents.es371.js +4 -7
  208. package/dist/kongponents.es372.js +3 -4
  209. package/dist/kongponents.es373.js +5 -10
  210. package/dist/kongponents.es374.js +8 -6
  211. package/dist/kongponents.es375.js +6 -4
  212. package/dist/kongponents.es376.js +10 -5
  213. package/dist/kongponents.es377.js +6 -5
  214. package/dist/kongponents.es378.js +22 -8
  215. package/dist/kongponents.es379.js +6 -6
  216. package/dist/kongponents.es380.js +7 -10
  217. package/dist/kongponents.es381.js +6 -6
  218. package/dist/kongponents.es382.js +8 -21
  219. package/dist/kongponents.es383.js +8 -6
  220. package/dist/kongponents.es384.js +6 -6
  221. package/dist/kongponents.es385.js +6 -5
  222. package/dist/kongponents.es386.js +4 -8
  223. package/dist/kongponents.es387.js +10 -95
  224. package/dist/kongponents.es388.js +11 -0
  225. package/dist/kongponents.es389.js +636 -8
  226. package/dist/kongponents.es390.js +74 -7
  227. package/dist/kongponents.es391.js +4 -7
  228. package/dist/kongponents.es392.js +19 -4
  229. package/dist/kongponents.es393.js +4 -9
  230. package/dist/kongponents.es394.js +18 -9
  231. package/dist/kongponents.es395.js +7 -636
  232. package/dist/kongponents.es396.js +6 -74
  233. package/dist/kongponents.es397.js +8 -4
  234. package/dist/kongponents.es398.js +7 -19
  235. package/dist/kongponents.es399.js +4 -4
  236. package/dist/kongponents.es400.js +20 -17
  237. package/dist/kongponents.es401.js +5 -8
  238. package/dist/kongponents.es402.js +110 -5
  239. package/dist/kongponents.es403.js +171 -8
  240. package/dist/kongponents.es404.js +5 -8
  241. package/dist/kongponents.es405.js +6 -4
  242. package/dist/kongponents.es406.js +5 -21
  243. package/dist/kongponents.es407.js +5 -5
  244. package/dist/kongponents.es408.js +64 -105
  245. package/dist/kongponents.es409.js +2 -172
  246. package/dist/kongponents.es410.js +218 -5
  247. package/dist/kongponents.es411.js +5773 -6
  248. package/dist/kongponents.es412.js +2 -5
  249. package/dist/kongponents.es413.js +25 -5
  250. package/dist/kongponents.es414.js +1553 -66
  251. package/dist/kongponents.es415.js +4 -1
  252. package/dist/kongponents.es416.js +83 -5762
  253. package/dist/kongponents.es420.js +1 -1
  254. package/dist/kongponents.es426.js +2 -2
  255. package/dist/kongponents.es427.js +2 -2
  256. package/dist/kongponents.es428.js +2 -2
  257. package/dist/kongponents.es429.js +1 -1
  258. package/dist/kongponents.es433.js +1 -1
  259. package/dist/kongponents.es434.js +4 -4
  260. package/dist/kongponents.es436.js +1 -1
  261. package/dist/kongponents.es437.js +5 -5
  262. package/dist/kongponents.es438.js +1 -1
  263. package/dist/kongponents.es439.js +2 -2
  264. package/dist/kongponents.es440.js +2 -2
  265. package/dist/kongponents.es441.js +2 -2
  266. package/dist/kongponents.es442.js +2 -2
  267. package/dist/kongponents.es443.js +4 -4
  268. package/dist/kongponents.es446.js +1 -1
  269. package/dist/kongponents.es462.js +63 -16
  270. package/dist/kongponents.es463.js +5 -2
  271. package/dist/kongponents.es464.js +13 -13
  272. package/dist/kongponents.es465.js +2 -65
  273. package/dist/kongponents.es466.js +17 -4
  274. package/dist/kongponents.es475.js +1 -1
  275. package/dist/kongponents.es476.js +3 -3
  276. package/dist/kongponents.es477.js +4 -4
  277. package/dist/kongponents.es478.js +4 -10
  278. package/dist/kongponents.es479.js +10 -6
  279. package/dist/kongponents.es480.js +6 -6
  280. package/dist/kongponents.es481.js +6 -4
  281. package/dist/kongponents.es482.js +2 -2
  282. package/dist/kongponents.es483.js +1 -1
  283. package/dist/kongponents.es484.js +4 -4
  284. package/dist/kongponents.es485.js +3 -3
  285. package/dist/kongponents.es493.js +1 -1
  286. package/dist/kongponents.es495.js +1 -1
  287. package/dist/kongponents.es497.js +1 -1
  288. package/dist/kongponents.es533.js +1 -1
  289. package/dist/kongponents.es539.js +2 -2
  290. package/dist/kongponents.es541.js +2 -2
  291. package/dist/kongponents.es594.js +1 -1
  292. package/dist/kongponents.es597.js +1 -1
  293. package/dist/kongponents.es606.js +2 -2
  294. package/dist/kongponents.es607.js +2 -2
  295. package/dist/kongponents.es72.js +7 -7
  296. package/dist/kongponents.es75.js +1 -1
  297. package/dist/kongponents.es77.js +1 -1
  298. package/dist/kongponents.es83.js +1 -1
  299. package/dist/kongponents.es87.js +3 -3
  300. package/dist/kongponents.es89.js +15 -15
  301. package/dist/kongponents.es94.js +2 -2
  302. package/dist/kongponents.es96.js +6 -6
  303. package/dist/kongponents.es99.js +2 -2
  304. package/dist/kongponents105.cjs +1 -1
  305. package/dist/kongponents107.cjs +1 -1
  306. package/dist/kongponents109.cjs +1 -1
  307. package/dist/kongponents113.cjs +1 -1
  308. package/dist/kongponents115.cjs +1 -1
  309. package/dist/kongponents117.cjs +1 -1
  310. package/dist/kongponents119.cjs +1 -1
  311. package/dist/kongponents122.cjs +1 -1
  312. package/dist/kongponents124.cjs +1 -1
  313. package/dist/kongponents128.cjs +1 -1
  314. package/dist/kongponents130.cjs +1 -1
  315. package/dist/kongponents132.cjs +1 -1
  316. package/dist/kongponents139.cjs +1 -1
  317. package/dist/kongponents141.cjs +1 -1
  318. package/dist/kongponents143.cjs +1 -1
  319. package/dist/kongponents147.cjs +1 -1
  320. package/dist/kongponents149.cjs +1 -1
  321. package/dist/kongponents154.cjs +1 -1
  322. package/dist/kongponents156.cjs +1 -1
  323. package/dist/kongponents158.cjs +1 -1
  324. package/dist/kongponents160.cjs +1 -1
  325. package/dist/kongponents171.cjs +1 -1
  326. package/dist/kongponents172.cjs +1 -1
  327. package/dist/kongponents173.cjs +1 -1
  328. package/dist/kongponents174.cjs +1 -1
  329. package/dist/kongponents175.cjs +1 -1
  330. package/dist/kongponents176.cjs +1 -1
  331. package/dist/kongponents177.cjs +1 -1
  332. package/dist/kongponents178.cjs +2 -1
  333. package/dist/kongponents179.cjs +1 -1
  334. package/dist/kongponents180.cjs +1 -1
  335. package/dist/kongponents181.cjs +1 -2
  336. package/dist/kongponents182.cjs +1 -1
  337. package/dist/kongponents183.cjs +1 -1
  338. package/dist/kongponents184.cjs +2 -1
  339. package/dist/kongponents185.cjs +1 -1
  340. package/dist/kongponents186.cjs +1 -2
  341. package/dist/kongponents187.cjs +1 -1
  342. package/dist/kongponents188.cjs +1 -1
  343. package/dist/kongponents189.cjs +1 -1
  344. package/dist/kongponents190.cjs +1 -1
  345. package/dist/kongponents191.cjs +1 -1
  346. package/dist/kongponents192.cjs +1 -1
  347. package/dist/kongponents193.cjs +1 -1
  348. package/dist/kongponents194.cjs +1 -1
  349. package/dist/kongponents195.cjs +1 -1
  350. package/dist/kongponents196.cjs +1 -1
  351. package/dist/kongponents197.cjs +1 -1
  352. package/dist/kongponents198.cjs +1 -1
  353. package/dist/kongponents199.cjs +1 -1
  354. package/dist/kongponents200.cjs +1 -5
  355. package/dist/kongponents201.cjs +1 -1
  356. package/dist/kongponents202.cjs +1 -1
  357. package/dist/kongponents203.cjs +1 -1
  358. package/dist/kongponents204.cjs +1 -1
  359. package/dist/kongponents206.cjs +1 -1
  360. package/dist/kongponents207.cjs +1 -1
  361. package/dist/kongponents208.cjs +1 -1
  362. package/dist/kongponents209.cjs +1 -1
  363. package/dist/kongponents21.cjs +1 -1
  364. package/dist/kongponents210.cjs +5 -1
  365. package/dist/kongponents211.cjs +1 -1
  366. package/dist/kongponents212.cjs +1 -1
  367. package/dist/kongponents213.cjs +1 -1
  368. package/dist/kongponents214.cjs +1 -1
  369. package/dist/kongponents215.cjs +1 -1
  370. package/dist/kongponents216.cjs +1 -1
  371. package/dist/kongponents217.cjs +1 -1
  372. package/dist/kongponents218.cjs +1 -1
  373. package/dist/kongponents219.cjs +1 -1
  374. package/dist/kongponents220.cjs +1 -1
  375. package/dist/kongponents221.cjs +1 -0
  376. package/dist/kongponents222.cjs +1 -1
  377. package/dist/kongponents223.cjs +1 -1
  378. package/dist/kongponents224.cjs +1 -1
  379. package/dist/kongponents225.cjs +1 -1
  380. package/dist/kongponents226.cjs +1 -1
  381. package/dist/kongponents227.cjs +1 -1
  382. package/dist/kongponents228.cjs +1 -1
  383. package/dist/kongponents229.cjs +1 -1
  384. package/dist/kongponents230.cjs +1 -1
  385. package/dist/kongponents231.cjs +1 -1
  386. package/dist/kongponents232.cjs +1 -1
  387. package/dist/kongponents233.cjs +1 -1
  388. package/dist/kongponents234.cjs +1 -1
  389. package/dist/kongponents235.cjs +1 -1
  390. package/dist/kongponents236.cjs +1 -1
  391. package/dist/kongponents237.cjs +1 -1
  392. package/dist/kongponents238.cjs +1 -1
  393. package/dist/kongponents24.cjs +1 -1
  394. package/dist/kongponents240.cjs +1 -1
  395. package/dist/kongponents241.cjs +1 -1
  396. package/dist/kongponents242.cjs +1 -1
  397. package/dist/kongponents243.cjs +1 -1
  398. package/dist/kongponents244.cjs +1 -0
  399. package/dist/kongponents245.cjs +1 -0
  400. package/dist/kongponents246.cjs +1 -1
  401. package/dist/kongponents248.cjs +1 -1
  402. package/dist/kongponents250.cjs +1 -1
  403. package/dist/kongponents252.cjs +1 -1
  404. package/dist/kongponents254.cjs +1 -1
  405. package/dist/kongponents255.cjs +1 -0
  406. package/dist/kongponents256.cjs +1 -1
  407. package/dist/kongponents257.cjs +1 -0
  408. package/dist/kongponents258.cjs +1 -5
  409. package/dist/kongponents259.cjs +1 -1
  410. package/dist/kongponents26.cjs +1 -1
  411. package/dist/kongponents260.cjs +1 -1
  412. package/dist/kongponents261.cjs +1 -1
  413. package/dist/kongponents262.cjs +1 -1
  414. package/dist/{kongponents314.cjs → kongponents263.cjs} +1 -1
  415. package/dist/kongponents264.cjs +1 -1
  416. package/dist/kongponents265.cjs +1 -1
  417. package/dist/kongponents266.cjs +1 -1
  418. package/dist/kongponents267.cjs +1 -1
  419. package/dist/kongponents268.cjs +1 -1
  420. package/dist/kongponents269.cjs +1 -1
  421. package/dist/kongponents270.cjs +1 -1
  422. package/dist/kongponents271.cjs +1 -1
  423. package/dist/kongponents272.cjs +1 -1
  424. package/dist/kongponents273.cjs +1 -1
  425. package/dist/kongponents274.cjs +1 -1
  426. package/dist/kongponents275.cjs +1 -1
  427. package/dist/kongponents276.cjs +1 -1
  428. package/dist/kongponents277.cjs +1 -1
  429. package/dist/kongponents278.cjs +1 -1
  430. package/dist/kongponents279.cjs +1 -1
  431. package/dist/kongponents28.cjs +1 -1
  432. package/dist/kongponents280.cjs +1 -1
  433. package/dist/kongponents281.cjs +1 -1
  434. package/dist/kongponents282.cjs +1 -1
  435. package/dist/kongponents283.cjs +1 -1
  436. package/dist/kongponents284.cjs +1 -1
  437. package/dist/kongponents285.cjs +1 -1
  438. package/dist/kongponents286.cjs +1 -1
  439. package/dist/kongponents287.cjs +1 -1
  440. package/dist/kongponents288.cjs +1 -1
  441. package/dist/kongponents289.cjs +1 -1
  442. package/dist/kongponents290.cjs +1 -1
  443. package/dist/kongponents291.cjs +1 -1
  444. package/dist/kongponents292.cjs +1 -1
  445. package/dist/kongponents293.cjs +1 -1
  446. package/dist/kongponents294.cjs +1 -1
  447. package/dist/kongponents295.cjs +1 -1
  448. package/dist/kongponents296.cjs +1 -1
  449. package/dist/kongponents297.cjs +1 -1
  450. package/dist/kongponents298.cjs +1 -1
  451. package/dist/kongponents299.cjs +1 -1
  452. package/dist/kongponents300.cjs +1 -1
  453. package/dist/kongponents301.cjs +1 -1
  454. package/dist/kongponents302.cjs +1 -1
  455. package/dist/kongponents303.cjs +1 -1
  456. package/dist/kongponents304.cjs +1 -1
  457. package/dist/kongponents305.cjs +1 -1
  458. package/dist/kongponents306.cjs +1 -1
  459. package/dist/kongponents307.cjs +1 -1
  460. package/dist/kongponents308.cjs +1 -1
  461. package/dist/kongponents310.cjs +5 -1
  462. package/dist/kongponents311.cjs +1 -1
  463. package/dist/kongponents313.cjs +1 -1
  464. package/dist/kongponents315.cjs +1 -1
  465. package/dist/kongponents317.cjs +1 -0
  466. package/dist/kongponents319.cjs +1 -0
  467. package/dist/kongponents321.cjs +1 -0
  468. package/dist/kongponents323.cjs +1 -0
  469. package/dist/{kongponents318.cjs → kongponents325.cjs} +1 -1
  470. package/dist/kongponents330.cjs +1 -1
  471. package/dist/kongponents332.cjs +1 -0
  472. package/dist/kongponents333.cjs +1 -10
  473. package/dist/kongponents334.cjs +1 -1
  474. package/dist/kongponents335.cjs +1 -1
  475. package/dist/kongponents336.cjs +1 -1
  476. package/dist/kongponents337.cjs +1 -1
  477. package/dist/kongponents338.cjs +1 -1
  478. package/dist/kongponents339.cjs +1 -1
  479. package/dist/kongponents340.cjs +1 -1
  480. package/dist/kongponents341.cjs +1 -1
  481. package/dist/kongponents342.cjs +1 -1
  482. package/dist/kongponents343.cjs +1 -1
  483. package/dist/kongponents344.cjs +1 -1
  484. package/dist/kongponents345.cjs +1 -1
  485. package/dist/kongponents346.cjs +1 -1
  486. package/dist/kongponents347.cjs +1 -1
  487. package/dist/kongponents348.cjs +1 -1
  488. package/dist/kongponents349.cjs +1 -1
  489. package/dist/kongponents350.cjs +1 -1
  490. package/dist/kongponents351.cjs +1 -1
  491. package/dist/kongponents352.cjs +1 -1
  492. package/dist/kongponents353.cjs +1 -1
  493. package/dist/kongponents354.cjs +1 -1
  494. package/dist/kongponents355.cjs +1 -1
  495. package/dist/kongponents356.cjs +1 -1
  496. package/dist/kongponents357.cjs +1 -1
  497. package/dist/kongponents358.cjs +1 -1
  498. package/dist/kongponents359.cjs +1 -1
  499. package/dist/kongponents360.cjs +1 -1
  500. package/dist/kongponents361.cjs +1 -1
  501. package/dist/kongponents362.cjs +1 -1
  502. package/dist/kongponents363.cjs +1 -1
  503. package/dist/kongponents364.cjs +1 -1
  504. package/dist/kongponents365.cjs +1 -1
  505. package/dist/kongponents366.cjs +1 -1
  506. package/dist/kongponents367.cjs +1 -1
  507. package/dist/kongponents368.cjs +1 -1
  508. package/dist/kongponents369.cjs +1 -1
  509. package/dist/kongponents370.cjs +1 -1
  510. package/dist/kongponents371.cjs +1 -1
  511. package/dist/kongponents372.cjs +1 -1
  512. package/dist/kongponents373.cjs +1 -1
  513. package/dist/kongponents374.cjs +1 -1
  514. package/dist/kongponents375.cjs +1 -1
  515. package/dist/kongponents376.cjs +1 -1
  516. package/dist/kongponents377.cjs +1 -1
  517. package/dist/kongponents378.cjs +1 -1
  518. package/dist/kongponents379.cjs +1 -1
  519. package/dist/kongponents380.cjs +1 -1
  520. package/dist/kongponents381.cjs +1 -1
  521. package/dist/kongponents382.cjs +1 -1
  522. package/dist/kongponents383.cjs +1 -1
  523. package/dist/kongponents384.cjs +1 -1
  524. package/dist/kongponents385.cjs +1 -1
  525. package/dist/kongponents386.cjs +1 -1
  526. package/dist/kongponents387.cjs +1 -1
  527. package/dist/kongponents388.cjs +1 -0
  528. package/dist/kongponents389.cjs +1 -1
  529. package/dist/kongponents390.cjs +1 -1
  530. package/dist/kongponents391.cjs +1 -1
  531. package/dist/kongponents392.cjs +1 -1
  532. package/dist/kongponents393.cjs +1 -1
  533. package/dist/kongponents394.cjs +1 -1
  534. package/dist/kongponents395.cjs +1 -1
  535. package/dist/kongponents396.cjs +1 -1
  536. package/dist/kongponents397.cjs +1 -1
  537. package/dist/kongponents398.cjs +1 -1
  538. package/dist/kongponents399.cjs +1 -1
  539. package/dist/kongponents400.cjs +1 -1
  540. package/dist/kongponents401.cjs +1 -1
  541. package/dist/kongponents402.cjs +1 -1
  542. package/dist/kongponents403.cjs +1 -1
  543. package/dist/kongponents404.cjs +1 -1
  544. package/dist/kongponents405.cjs +1 -1
  545. package/dist/kongponents406.cjs +1 -1
  546. package/dist/kongponents407.cjs +1 -1
  547. package/dist/kongponents408.cjs +1 -1
  548. package/dist/kongponents409.cjs +1 -1
  549. package/dist/kongponents410.cjs +4 -1
  550. package/dist/kongponents411.cjs +1 -1
  551. package/dist/kongponents412.cjs +1 -1
  552. package/dist/kongponents413.cjs +1 -1
  553. package/dist/kongponents414.cjs +10 -1
  554. package/dist/kongponents415.cjs +1 -1
  555. package/dist/kongponents416.cjs +1 -1
  556. package/dist/kongponents420.cjs +1 -1
  557. package/dist/kongponents426.cjs +1 -1
  558. package/dist/kongponents427.cjs +1 -1
  559. package/dist/kongponents428.cjs +1 -1
  560. package/dist/kongponents429.cjs +1 -1
  561. package/dist/kongponents433.cjs +1 -1
  562. package/dist/kongponents434.cjs +1 -1
  563. package/dist/kongponents436.cjs +1 -1
  564. package/dist/kongponents437.cjs +1 -1
  565. package/dist/kongponents438.cjs +1 -1
  566. package/dist/kongponents439.cjs +1 -1
  567. package/dist/kongponents440.cjs +1 -1
  568. package/dist/kongponents441.cjs +1 -1
  569. package/dist/kongponents442.cjs +1 -1
  570. package/dist/kongponents443.cjs +1 -1
  571. package/dist/kongponents446.cjs +1 -1
  572. package/dist/kongponents462.cjs +1 -1
  573. package/dist/kongponents463.cjs +1 -1
  574. package/dist/kongponents464.cjs +1 -1
  575. package/dist/kongponents465.cjs +1 -1
  576. package/dist/kongponents466.cjs +1 -1
  577. package/dist/kongponents475.cjs +1 -1
  578. package/dist/kongponents476.cjs +1 -1
  579. package/dist/kongponents477.cjs +1 -1
  580. package/dist/kongponents478.cjs +1 -1
  581. package/dist/kongponents479.cjs +1 -1
  582. package/dist/kongponents480.cjs +1 -1
  583. package/dist/kongponents481.cjs +1 -1
  584. package/dist/kongponents482.cjs +1 -1
  585. package/dist/kongponents483.cjs +1 -1
  586. package/dist/kongponents484.cjs +1 -1
  587. package/dist/kongponents485.cjs +1 -1
  588. package/dist/kongponents493.cjs +1 -1
  589. package/dist/kongponents495.cjs +1 -1
  590. package/dist/kongponents497.cjs +1 -1
  591. package/dist/kongponents533.cjs +1 -1
  592. package/dist/kongponents594.cjs +1 -1
  593. package/dist/kongponents597.cjs +1 -1
  594. package/dist/kongponents72.cjs +1 -1
  595. package/dist/kongponents75.cjs +1 -1
  596. package/dist/kongponents77.cjs +1 -1
  597. package/dist/kongponents83.cjs +1 -1
  598. package/dist/kongponents87.cjs +1 -1
  599. package/dist/kongponents89.cjs +1 -1
  600. package/dist/kongponents94.cjs +1 -1
  601. package/dist/kongponents96.cjs +1 -1
  602. package/dist/kongponents99.cjs +1 -1
  603. package/package.json +1 -1
  604. package/dist/kongponents.es205.js +0 -7
  605. package/dist/kongponents.es309.js +0 -8
  606. package/dist/kongponents.es312.js +0 -10
  607. package/dist/kongponents.es314.js +0 -8
  608. package/dist/kongponents.es316.js +0 -178
  609. package/dist/kongponents.es322.js +0 -179
  610. package/dist/kongponents.es324.js +0 -97
  611. package/dist/kongponents.es326.js +0 -47
  612. package/dist/kongponents.es328.js +0 -220
  613. package/dist/kongponents.es329.js +0 -372
  614. package/dist/kongponents.es331.js +0 -66
  615. package/dist/kongponents.es417.js +0 -27
  616. package/dist/kongponents205.cjs +0 -1
  617. package/dist/kongponents309.cjs +0 -1
  618. package/dist/kongponents312.cjs +0 -1
  619. package/dist/kongponents316.cjs +0 -1
  620. package/dist/kongponents322.cjs +0 -1
  621. package/dist/kongponents324.cjs +0 -1
  622. package/dist/kongponents326.cjs +0 -1
  623. package/dist/kongponents328.cjs +0 -4
  624. package/dist/kongponents329.cjs +0 -1
  625. package/dist/kongponents331.cjs +0 -1
  626. package/dist/kongponents417.cjs +0 -1
  627. /package/dist/{kongponents.es320.js → kongponents.es327.js} +0 -0
  628. /package/dist/{kongponents320.cjs → kongponents327.cjs} +0 -0
@@ -1,9 +1,473 @@
1
- import t from "./kongponents.es274.js";
2
- function o(e) {
3
- return function(r) {
4
- return t(r, e);
5
- };
1
+ import { tabbable as ae, focusable as re, isTabbable as k, getTabIndex as R, isFocusable as x } from "./kongponents.es410.js";
2
+ /*!
3
+ * focus-trap 7.6.6
4
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
5
+ */
6
+ function G(n, t) {
7
+ (t == null || t > n.length) && (t = n.length);
8
+ for (var o = 0, u = Array(t); o < t; o++) u[o] = n[o];
9
+ return u;
10
+ }
11
+ function ne(n) {
12
+ if (Array.isArray(n)) return G(n);
13
+ }
14
+ function ie(n, t, o) {
15
+ return (t = le(t)) in n ? Object.defineProperty(n, t, {
16
+ value: o,
17
+ enumerable: !0,
18
+ configurable: !0,
19
+ writable: !0
20
+ }) : n[t] = o, n;
21
+ }
22
+ function oe(n) {
23
+ if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
24
+ }
25
+ function ue() {
26
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
27
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
28
+ }
29
+ function Q(n, t) {
30
+ var o = Object.keys(n);
31
+ if (Object.getOwnPropertySymbols) {
32
+ var u = Object.getOwnPropertySymbols(n);
33
+ t && (u = u.filter(function(m) {
34
+ return Object.getOwnPropertyDescriptor(n, m).enumerable;
35
+ })), o.push.apply(o, u);
36
+ }
37
+ return o;
38
+ }
39
+ function X(n) {
40
+ for (var t = 1; t < arguments.length; t++) {
41
+ var o = arguments[t] != null ? arguments[t] : {};
42
+ t % 2 ? Q(Object(o), !0).forEach(function(u) {
43
+ ie(n, u, o[u]);
44
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(o)) : Q(Object(o)).forEach(function(u) {
45
+ Object.defineProperty(n, u, Object.getOwnPropertyDescriptor(o, u));
46
+ });
47
+ }
48
+ return n;
6
49
  }
50
+ function se(n) {
51
+ return ne(n) || oe(n) || fe(n) || ue();
52
+ }
53
+ function ce(n, t) {
54
+ if (typeof n != "object" || !n) return n;
55
+ var o = n[Symbol.toPrimitive];
56
+ if (o !== void 0) {
57
+ var u = o.call(n, t);
58
+ if (typeof u != "object") return u;
59
+ throw new TypeError("@@toPrimitive must return a primitive value.");
60
+ }
61
+ return (t === "string" ? String : Number)(n);
62
+ }
63
+ function le(n) {
64
+ var t = ce(n, "string");
65
+ return typeof t == "symbol" ? t : t + "";
66
+ }
67
+ function fe(n, t) {
68
+ if (n) {
69
+ if (typeof n == "string") return G(n, t);
70
+ var o = {}.toString.call(n).slice(8, -1);
71
+ return o === "Object" && n.constructor && (o = n.constructor.name), o === "Map" || o === "Set" ? Array.from(n) : o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o) ? G(n, t) : void 0;
72
+ }
73
+ }
74
+ var Z = {
75
+ activateTrap: function(t, o) {
76
+ if (t.length > 0) {
77
+ var u = t[t.length - 1];
78
+ u !== o && u._setPausedState(!0);
79
+ }
80
+ var m = t.indexOf(o);
81
+ m === -1 || t.splice(m, 1), t.push(o);
82
+ },
83
+ deactivateTrap: function(t, o) {
84
+ var u = t.indexOf(o);
85
+ u !== -1 && t.splice(u, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
86
+ }
87
+ }, de = function(t) {
88
+ return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
89
+ }, ve = function(t) {
90
+ return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
91
+ }, L = function(t) {
92
+ return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
93
+ }, be = function(t) {
94
+ return L(t) && !t.shiftKey;
95
+ }, pe = function(t) {
96
+ return L(t) && t.shiftKey;
97
+ }, U = function(t) {
98
+ return setTimeout(t, 0);
99
+ }, K = function(t) {
100
+ for (var o = arguments.length, u = new Array(o > 1 ? o - 1 : 0), m = 1; m < o; m++)
101
+ u[m - 1] = arguments[m];
102
+ return typeof t == "function" ? t.apply(void 0, u) : t;
103
+ }, B = function(t) {
104
+ return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
105
+ }, me = [], he = function(t, o) {
106
+ var u = (o == null ? void 0 : o.document) || document, m = (o == null ? void 0 : o.trapStack) || me, f = X({
107
+ returnFocusOnDeactivate: !0,
108
+ escapeDeactivates: !0,
109
+ delayInitialFocus: !0,
110
+ isKeyForward: be,
111
+ isKeyBackward: pe
112
+ }, o), r = {
113
+ // containers given to createFocusTrap()
114
+ // @type {Array<HTMLElement>}
115
+ containers: [],
116
+ // list of objects identifying tabbable nodes in `containers` in the trap
117
+ // NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap
118
+ // is active, but the trap should never get to a state where there isn't at least one group
119
+ // with at least one tabbable node in it (that would lead to an error condition that would
120
+ // result in an error being thrown)
121
+ // @type {Array<{
122
+ // container: HTMLElement,
123
+ // tabbableNodes: Array<HTMLElement>, // empty if none
124
+ // focusableNodes: Array<HTMLElement>, // empty if none
125
+ // posTabIndexesFound: boolean,
126
+ // firstTabbableNode: HTMLElement|undefined,
127
+ // lastTabbableNode: HTMLElement|undefined,
128
+ // firstDomTabbableNode: HTMLElement|undefined,
129
+ // lastDomTabbableNode: HTMLElement|undefined,
130
+ // nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
131
+ // }>}
132
+ containerGroups: [],
133
+ // same order/length as `containers` list
134
+ // references to objects in `containerGroups`, but only those that actually have
135
+ // tabbable nodes in them
136
+ // NOTE: same order as `containers` and `containerGroups`, but __not necessarily__
137
+ // the same length
138
+ tabbableGroups: [],
139
+ nodeFocusedBeforeActivation: null,
140
+ mostRecentlyFocusedNode: null,
141
+ active: !1,
142
+ paused: !1,
143
+ manuallyPaused: !1,
144
+ // timer ID for when delayInitialFocus is true and initial focus in this trap
145
+ // has been delayed during activation
146
+ delayInitialFocusTimer: void 0,
147
+ // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
148
+ recentNavEvent: void 0
149
+ }, h, y = function(e, a, i) {
150
+ return e && e[a] !== void 0 ? e[a] : f[i || a];
151
+ }, N = function(e, a) {
152
+ var i = typeof (a == null ? void 0 : a.composedPath) == "function" ? a.composedPath() : void 0;
153
+ return r.containerGroups.findIndex(function(c) {
154
+ var l = c.container, v = c.tabbableNodes;
155
+ return l.contains(e) || // fall back to explicit tabbable search which will take into consideration any
156
+ // web components if the `tabbableOptions.getShadowRoot` option was used for
157
+ // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
158
+ // look inside web components even if open)
159
+ (i == null ? void 0 : i.includes(l)) || v.find(function(s) {
160
+ return s === e;
161
+ });
162
+ });
163
+ }, T = function(e) {
164
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = a.hasFallback, c = i === void 0 ? !1 : i, l = a.params, v = l === void 0 ? [] : l, s = f[e];
165
+ if (typeof s == "function" && (s = s.apply(void 0, se(v))), s === !0 && (s = void 0), !s) {
166
+ if (s === void 0 || s === !1)
167
+ return s;
168
+ throw new Error("`".concat(e, "` was specified but was not a node, or did not return a node"));
169
+ }
170
+ var b = s;
171
+ if (typeof s == "string") {
172
+ try {
173
+ b = u.querySelector(s);
174
+ } catch (p) {
175
+ throw new Error("`".concat(e, '` appears to be an invalid selector; error="').concat(p.message, '"'));
176
+ }
177
+ if (!b && !c)
178
+ throw new Error("`".concat(e, "` as selector refers to no known node"));
179
+ }
180
+ return b;
181
+ }, E = function() {
182
+ var e = T("initialFocus", {
183
+ hasFallback: !0
184
+ });
185
+ if (e === !1)
186
+ return !1;
187
+ if (e === void 0 || e && !x(e, f.tabbableOptions))
188
+ if (N(u.activeElement) >= 0)
189
+ e = u.activeElement;
190
+ else {
191
+ var a = r.tabbableGroups[0], i = a && a.firstTabbableNode;
192
+ e = i || T("fallbackFocus");
193
+ }
194
+ else e === null && (e = T("fallbackFocus"));
195
+ if (!e)
196
+ throw new Error("Your focus-trap needs to have at least one focusable element");
197
+ return e;
198
+ }, P = function() {
199
+ if (r.containerGroups = r.containers.map(function(e) {
200
+ var a = ae(e, f.tabbableOptions), i = re(e, f.tabbableOptions), c = a.length > 0 ? a[0] : void 0, l = a.length > 0 ? a[a.length - 1] : void 0, v = i.find(function(p) {
201
+ return k(p);
202
+ }), s = i.slice().reverse().find(function(p) {
203
+ return k(p);
204
+ }), b = !!a.find(function(p) {
205
+ return R(p) > 0;
206
+ });
207
+ return {
208
+ container: e,
209
+ tabbableNodes: a,
210
+ focusableNodes: i,
211
+ /** True if at least one node with positive `tabindex` was found in this container. */
212
+ posTabIndexesFound: b,
213
+ /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
214
+ firstTabbableNode: c,
215
+ /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
216
+ lastTabbableNode: l,
217
+ // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
218
+ // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
219
+ // because that API doesn't work with Shadow DOM as well as it should (@see
220
+ // https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,
221
+ // to address an edge case related to positive tabindex support, this seems like a much easier,
222
+ // "close enough most of the time" alternative for positive tabindexes which should generally
223
+ // be avoided anyway...
224
+ /** First tabbable node in container, __DOM__ order; `undefined` if none. */
225
+ firstDomTabbableNode: v,
226
+ /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
227
+ lastDomTabbableNode: s,
228
+ /**
229
+ * Finds the __tabbable__ node that follows the given node in the specified direction,
230
+ * in this container, if any.
231
+ * @param {HTMLElement} node
232
+ * @param {boolean} [forward] True if going in forward tab order; false if going
233
+ * in reverse.
234
+ * @returns {HTMLElement|undefined} The next tabbable node, if any.
235
+ */
236
+ nextTabbableNode: function(F) {
237
+ var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, w = a.indexOf(F);
238
+ return w < 0 ? O ? i.slice(i.indexOf(F) + 1).find(function(A) {
239
+ return k(A);
240
+ }) : i.slice(0, i.indexOf(F)).reverse().find(function(A) {
241
+ return k(A);
242
+ }) : a[w + (O ? 1 : -1)];
243
+ }
244
+ };
245
+ }), r.tabbableGroups = r.containerGroups.filter(function(e) {
246
+ return e.tabbableNodes.length > 0;
247
+ }), r.tabbableGroups.length <= 0 && !T("fallbackFocus"))
248
+ throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
249
+ if (r.containerGroups.find(function(e) {
250
+ return e.posTabIndexesFound;
251
+ }) && r.containerGroups.length > 1)
252
+ throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
253
+ }, C = function(e) {
254
+ var a = e.activeElement;
255
+ if (a)
256
+ return a.shadowRoot && a.shadowRoot.activeElement !== null ? C(a.shadowRoot) : a;
257
+ }, g = function(e) {
258
+ if (e !== !1 && e !== C(document)) {
259
+ if (!e || !e.focus) {
260
+ g(E());
261
+ return;
262
+ }
263
+ e.focus({
264
+ preventScroll: !!f.preventScroll
265
+ }), r.mostRecentlyFocusedNode = e, de(e) && e.select();
266
+ }
267
+ }, M = function(e) {
268
+ var a = T("setReturnFocus", {
269
+ params: [e]
270
+ });
271
+ return a || (a === !1 ? !1 : e);
272
+ }, $ = function(e) {
273
+ var a = e.target, i = e.event, c = e.isBackward, l = c === void 0 ? !1 : c;
274
+ a = a || B(i), P();
275
+ var v = null;
276
+ if (r.tabbableGroups.length > 0) {
277
+ var s = N(a, i), b = s >= 0 ? r.containerGroups[s] : void 0;
278
+ if (s < 0)
279
+ l ? v = r.tabbableGroups[r.tabbableGroups.length - 1].lastTabbableNode : v = r.tabbableGroups[0].firstTabbableNode;
280
+ else if (l) {
281
+ var p = r.tabbableGroups.findIndex(function(_) {
282
+ var S = _.firstTabbableNode;
283
+ return a === S;
284
+ });
285
+ if (p < 0 && (b.container === a || x(a, f.tabbableOptions) && !k(a, f.tabbableOptions) && !b.nextTabbableNode(a, !1)) && (p = s), p >= 0) {
286
+ var F = p === 0 ? r.tabbableGroups.length - 1 : p - 1, O = r.tabbableGroups[F];
287
+ v = R(a) >= 0 ? O.lastTabbableNode : O.lastDomTabbableNode;
288
+ } else L(i) || (v = b.nextTabbableNode(a, !1));
289
+ } else {
290
+ var w = r.tabbableGroups.findIndex(function(_) {
291
+ var S = _.lastTabbableNode;
292
+ return a === S;
293
+ });
294
+ if (w < 0 && (b.container === a || x(a, f.tabbableOptions) && !k(a, f.tabbableOptions) && !b.nextTabbableNode(a)) && (w = s), w >= 0) {
295
+ var A = w === r.tabbableGroups.length - 1 ? 0 : w + 1, J = r.tabbableGroups[A];
296
+ v = R(a) >= 0 ? J.firstTabbableNode : J.firstDomTabbableNode;
297
+ } else L(i) || (v = b.nextTabbableNode(a));
298
+ }
299
+ } else
300
+ v = T("fallbackFocus");
301
+ return v;
302
+ }, j = function(e) {
303
+ var a = B(e);
304
+ if (!(N(a, e) >= 0)) {
305
+ if (K(f.clickOutsideDeactivates, e)) {
306
+ h.deactivate({
307
+ // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
308
+ // which will result in the outside click setting focus to the node
309
+ // that was clicked (and if not focusable, to "nothing"); by setting
310
+ // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
311
+ // on activation (or the configured `setReturnFocus` node), whether the
312
+ // outside click was on a focusable node or not
313
+ returnFocus: f.returnFocusOnDeactivate
314
+ });
315
+ return;
316
+ }
317
+ K(f.allowOutsideClick, e) || e.preventDefault();
318
+ }
319
+ }, H = function(e) {
320
+ var a = B(e), i = N(a, e) >= 0;
321
+ if (i || a instanceof Document)
322
+ i && (r.mostRecentlyFocusedNode = a);
323
+ else {
324
+ e.stopImmediatePropagation();
325
+ var c, l = !0;
326
+ if (r.mostRecentlyFocusedNode)
327
+ if (R(r.mostRecentlyFocusedNode) > 0) {
328
+ var v = N(r.mostRecentlyFocusedNode), s = r.containerGroups[v].tabbableNodes;
329
+ if (s.length > 0) {
330
+ var b = s.findIndex(function(p) {
331
+ return p === r.mostRecentlyFocusedNode;
332
+ });
333
+ b >= 0 && (f.isKeyForward(r.recentNavEvent) ? b + 1 < s.length && (c = s[b + 1], l = !1) : b - 1 >= 0 && (c = s[b - 1], l = !1));
334
+ }
335
+ } else
336
+ r.containerGroups.some(function(p) {
337
+ return p.tabbableNodes.some(function(F) {
338
+ return R(F) > 0;
339
+ });
340
+ }) || (l = !1);
341
+ else
342
+ l = !1;
343
+ l && (c = $({
344
+ // move FROM the MRU node, not event-related node (which will be the node that is
345
+ // outside the trap causing the focus escape we're trying to fix)
346
+ target: r.mostRecentlyFocusedNode,
347
+ isBackward: f.isKeyBackward(r.recentNavEvent)
348
+ })), g(c || r.mostRecentlyFocusedNode || E());
349
+ }
350
+ r.recentNavEvent = void 0;
351
+ }, ee = function(e) {
352
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
353
+ r.recentNavEvent = e;
354
+ var i = $({
355
+ event: e,
356
+ isBackward: a
357
+ });
358
+ i && (L(e) && e.preventDefault(), g(i));
359
+ }, q = function(e) {
360
+ (f.isKeyForward(e) || f.isKeyBackward(e)) && ee(e, f.isKeyBackward(e));
361
+ }, Y = function(e) {
362
+ ve(e) && K(f.escapeDeactivates, e) !== !1 && (e.preventDefault(), h.deactivate());
363
+ }, V = function(e) {
364
+ var a = B(e);
365
+ N(a, e) >= 0 || K(f.clickOutsideDeactivates, e) || K(f.allowOutsideClick, e) || (e.preventDefault(), e.stopImmediatePropagation());
366
+ }, W = function() {
367
+ if (r.active)
368
+ return Z.activateTrap(m, h), r.delayInitialFocusTimer = f.delayInitialFocus ? U(function() {
369
+ g(E());
370
+ }) : g(E()), u.addEventListener("focusin", H, !0), u.addEventListener("mousedown", j, {
371
+ capture: !0,
372
+ passive: !1
373
+ }), u.addEventListener("touchstart", j, {
374
+ capture: !0,
375
+ passive: !1
376
+ }), u.addEventListener("click", V, {
377
+ capture: !0,
378
+ passive: !1
379
+ }), u.addEventListener("keydown", q, {
380
+ capture: !0,
381
+ passive: !1
382
+ }), u.addEventListener("keydown", Y), h;
383
+ }, z = function() {
384
+ if (r.active)
385
+ return u.removeEventListener("focusin", H, !0), u.removeEventListener("mousedown", j, !0), u.removeEventListener("touchstart", j, !0), u.removeEventListener("click", V, !0), u.removeEventListener("keydown", q, !0), u.removeEventListener("keydown", Y), h;
386
+ }, te = function(e) {
387
+ var a = e.some(function(i) {
388
+ var c = Array.from(i.removedNodes);
389
+ return c.some(function(l) {
390
+ return l === r.mostRecentlyFocusedNode;
391
+ });
392
+ });
393
+ a && g(E());
394
+ }, I = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(te) : void 0, D = function() {
395
+ I && (I.disconnect(), r.active && !r.paused && r.containers.map(function(e) {
396
+ I.observe(e, {
397
+ subtree: !0,
398
+ childList: !0
399
+ });
400
+ }));
401
+ };
402
+ return h = {
403
+ get active() {
404
+ return r.active;
405
+ },
406
+ get paused() {
407
+ return r.paused;
408
+ },
409
+ activate: function(e) {
410
+ if (r.active)
411
+ return this;
412
+ var a = y(e, "onActivate"), i = y(e, "onPostActivate"), c = y(e, "checkCanFocusTrap");
413
+ c || P(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = C(u), a == null || a();
414
+ var l = function() {
415
+ c && P(), W(), D(), i == null || i();
416
+ };
417
+ return c ? (c(r.containers.concat()).then(l, l), this) : (l(), this);
418
+ },
419
+ deactivate: function(e) {
420
+ if (!r.active)
421
+ return this;
422
+ var a = X({
423
+ onDeactivate: f.onDeactivate,
424
+ onPostDeactivate: f.onPostDeactivate,
425
+ checkCanReturnFocus: f.checkCanReturnFocus
426
+ }, e);
427
+ clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, z(), r.active = !1, r.paused = !1, D(), Z.deactivateTrap(m, h);
428
+ var i = y(a, "onDeactivate"), c = y(a, "onPostDeactivate"), l = y(a, "checkCanReturnFocus"), v = y(a, "returnFocus", "returnFocusOnDeactivate");
429
+ i == null || i();
430
+ var s = function() {
431
+ U(function() {
432
+ v && g(M(r.nodeFocusedBeforeActivation)), c == null || c();
433
+ });
434
+ };
435
+ return v && l ? (l(M(r.nodeFocusedBeforeActivation)).then(s, s), this) : (s(), this);
436
+ },
437
+ pause: function(e) {
438
+ return r.active ? (r.manuallyPaused = !0, this._setPausedState(!0, e)) : this;
439
+ },
440
+ unpause: function(e) {
441
+ return r.active ? (r.manuallyPaused = !1, m[m.length - 1] !== this ? this : this._setPausedState(!1, e)) : this;
442
+ },
443
+ updateContainerElements: function(e) {
444
+ var a = [].concat(e).filter(Boolean);
445
+ return r.containers = a.map(function(i) {
446
+ return typeof i == "string" ? u.querySelector(i) : i;
447
+ }), r.active && P(), D(), this;
448
+ }
449
+ }, Object.defineProperties(h, {
450
+ _isManuallyPaused: {
451
+ value: function() {
452
+ return r.manuallyPaused;
453
+ }
454
+ },
455
+ _setPausedState: {
456
+ value: function(e, a) {
457
+ if (r.paused === e)
458
+ return this;
459
+ if (r.paused = e, e) {
460
+ var i = y(a, "onPause"), c = y(a, "onPostPause");
461
+ i == null || i(), z(), D(), c == null || c();
462
+ } else {
463
+ var l = y(a, "onUnpause"), v = y(a, "onPostUnpause");
464
+ l == null || l(), P(), W(), D(), v == null || v();
465
+ }
466
+ return this;
467
+ }
468
+ }
469
+ }), h.updateContainerElements(t), h;
470
+ };
7
471
  export {
8
- o as default
472
+ he as createFocusTrap
9
473
  };
@@ -1,12 +1,179 @@
1
- import o from "./kongponents.es282.js";
2
- import n from "./kongponents.es290.js";
3
- var i = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, s = /^\w*$/;
4
- function m(r, e) {
5
- if (o(r))
6
- return !1;
7
- var t = typeof r;
8
- return t == "number" || t == "symbol" || t == "boolean" || r == null || n(r) ? !0 : s.test(r) || !i.test(r) || e != null && r in Object(e);
9
- }
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.es411.js";
3
+ import Z from "./kongponents.es395.js";
4
+ import p from "./kongponents.es399.js";
5
+ import G from "./kongponents.es209.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
+ });
10
177
  export {
11
- m as default
178
+ ye as default
12
179
  };