@kong/kongponents 9.66.11 → 9.66.12

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 (667) hide show
  1. package/bin/mcp-data/snapshot.json.gz +0 -0
  2. package/dist/kongponents.css +1 -1
  3. package/dist/kongponents104.cjs +1 -1
  4. package/dist/kongponents104.es.js +4 -4
  5. package/dist/kongponents115.cjs +1 -1
  6. package/dist/kongponents115.es.js +1 -1
  7. package/dist/kongponents117.cjs +1 -1
  8. package/dist/kongponents117.es.js +1 -1
  9. package/dist/kongponents121.cjs +1 -1
  10. package/dist/kongponents121.es.js +1 -1
  11. package/dist/kongponents123.cjs +1 -1
  12. package/dist/kongponents123.es.js +3 -3
  13. package/dist/kongponents127.cjs +1 -1
  14. package/dist/kongponents127.es.js +5 -5
  15. package/dist/kongponents130.cjs +1 -1
  16. package/dist/kongponents130.es.js +2 -2
  17. package/dist/kongponents132.cjs +1 -1
  18. package/dist/kongponents132.es.js +4 -4
  19. package/dist/kongponents138.cjs +1 -1
  20. package/dist/kongponents138.es.js +1 -1
  21. package/dist/kongponents140.cjs +1 -1
  22. package/dist/kongponents140.es.js +6 -6
  23. package/dist/kongponents147.cjs +1 -1
  24. package/dist/kongponents147.es.js +3 -3
  25. package/dist/kongponents149.cjs +1 -1
  26. package/dist/kongponents149.es.js +1 -1
  27. package/dist/kongponents151.cjs +1 -1
  28. package/dist/kongponents151.es.js +3 -3
  29. package/dist/kongponents155.cjs +1 -1
  30. package/dist/kongponents155.es.js +2 -2
  31. package/dist/kongponents163.cjs +1 -1
  32. package/dist/kongponents163.es.js +1 -1
  33. package/dist/kongponents165.cjs +1 -1
  34. package/dist/kongponents165.es.js +3 -3
  35. package/dist/kongponents167.cjs +1 -1
  36. package/dist/kongponents167.es.js +1 -1
  37. package/dist/kongponents169.cjs +1 -1
  38. package/dist/kongponents169.es.js +6 -6
  39. package/dist/kongponents182.cjs +1 -1
  40. package/dist/kongponents182.es.js +4 -97
  41. package/dist/kongponents184.cjs +1 -1
  42. package/dist/kongponents184.es.js +97 -18
  43. package/dist/kongponents185.cjs +1 -1
  44. package/dist/kongponents185.es.js +4 -4
  45. package/dist/kongponents186.cjs +1 -1
  46. package/dist/kongponents186.es.js +5 -36
  47. package/dist/kongponents187.cjs +1 -2
  48. package/dist/kongponents187.es.js +201 -86
  49. package/dist/kongponents188.cjs +1 -1
  50. package/dist/kongponents188.es.js +2 -17
  51. package/dist/kongponents190.cjs +1 -1
  52. package/dist/kongponents190.es.js +5 -52
  53. package/dist/kongponents191.cjs +1 -1
  54. package/dist/kongponents191.es.js +7 -212
  55. package/dist/kongponents192.cjs +1 -1
  56. package/dist/kongponents192.es.js +60 -2
  57. package/dist/kongponents193.cjs +1 -0
  58. package/dist/kongponents193.es.js +38 -0
  59. package/dist/kongponents194.cjs +2 -1
  60. package/dist/kongponents194.es.js +98 -5
  61. package/dist/kongponents195.cjs +1 -1
  62. package/dist/kongponents195.es.js +16 -7
  63. package/dist/kongponents196.cjs +1 -1
  64. package/dist/kongponents196.es.js +18 -59
  65. package/dist/kongponents197.cjs +1 -1
  66. package/dist/kongponents197.es.js +52 -17
  67. package/dist/kongponents198.cjs +1 -1
  68. package/dist/kongponents198.es.js +4 -4
  69. package/dist/kongponents199.cjs +1 -1
  70. package/dist/kongponents199.es.js +21 -5
  71. package/dist/kongponents200.cjs +1 -1
  72. package/dist/kongponents200.es.js +17 -5
  73. package/dist/kongponents201.cjs +1 -1
  74. package/dist/kongponents201.es.js +5 -21
  75. package/dist/kongponents202.cjs +1 -1
  76. package/dist/kongponents202.es.js +3 -3
  77. package/dist/kongponents203.cjs +1 -1
  78. package/dist/kongponents203.es.js +4 -4
  79. package/dist/kongponents204.cjs +1 -1
  80. package/dist/kongponents204.es.js +6 -4
  81. package/dist/kongponents205.cjs +1 -1
  82. package/dist/kongponents205.es.js +5 -5
  83. package/dist/kongponents206.cjs +1 -1
  84. package/dist/kongponents206.es.js +185 -5
  85. package/dist/kongponents207.cjs +1 -1
  86. package/dist/kongponents207.es.js +3 -3
  87. package/dist/kongponents208.cjs +1 -1
  88. package/dist/kongponents208.es.js +4 -4
  89. package/dist/kongponents209.cjs +1 -1
  90. package/dist/kongponents209.es.js +10 -5
  91. package/dist/kongponents210.cjs +1 -1
  92. package/dist/kongponents210.es.js +14 -4
  93. package/dist/kongponents211.cjs +1 -1
  94. package/dist/kongponents211.es.js +1 -1
  95. package/dist/kongponents212.cjs +1 -1
  96. package/dist/kongponents212.es.js +1 -1
  97. package/dist/kongponents213.cjs +1 -1
  98. package/dist/kongponents213.es.js +4 -6
  99. package/dist/kongponents214.cjs +1 -1
  100. package/dist/kongponents214.es.js +5 -185
  101. package/dist/kongponents215.cjs +1 -1
  102. package/dist/kongponents215.es.js +3 -3
  103. package/dist/kongponents216.cjs +1 -1
  104. package/dist/kongponents216.es.js +5 -15
  105. package/dist/kongponents217.cjs +1 -1
  106. package/dist/kongponents217.es.js +4 -4
  107. package/dist/kongponents218.cjs +1 -1
  108. package/dist/kongponents218.es.js +5 -10
  109. package/dist/kongponents219.cjs +1 -1
  110. package/dist/kongponents219.es.js +31 -55
  111. package/dist/kongponents220.cjs +1 -0
  112. package/dist/kongponents220.es.js +57 -0
  113. package/dist/kongponents222.cjs +1 -1
  114. package/dist/kongponents222.es.js +2 -182
  115. package/dist/kongponents223.cjs +1 -0
  116. package/dist/kongponents223.es.js +184 -0
  117. package/dist/kongponents225.cjs +1 -1
  118. package/dist/kongponents225.es.js +6 -24
  119. package/dist/{kongponents276.cjs → kongponents226.cjs} +1 -1
  120. package/dist/{kongponents276.es.js → kongponents226.es.js} +1 -1
  121. package/dist/kongponents231.cjs +1 -1
  122. package/dist/kongponents231.es.js +9 -23
  123. package/dist/kongponents232.cjs +1 -0
  124. package/dist/kongponents232.es.js +9 -0
  125. package/dist/kongponents233.cjs +1 -1
  126. package/dist/kongponents233.es.js +8 -44
  127. package/dist/kongponents234.cjs +1 -0
  128. package/dist/kongponents234.es.js +7 -0
  129. package/dist/kongponents235.cjs +1 -1
  130. package/dist/kongponents235.es.js +10 -41
  131. package/dist/kongponents236.cjs +1 -0
  132. package/dist/kongponents236.es.js +11 -0
  133. package/dist/kongponents237.cjs +1 -1
  134. package/dist/kongponents237.es.js +601 -54
  135. package/dist/kongponents238.cjs +1 -0
  136. package/dist/kongponents238.es.js +73 -0
  137. package/dist/kongponents239.cjs +1 -1
  138. package/dist/kongponents239.es.js +5 -2
  139. package/dist/kongponents240.cjs +1 -1
  140. package/dist/kongponents240.es.js +19 -8
  141. package/dist/kongponents241.cjs +1 -1
  142. package/dist/kongponents241.es.js +4 -6
  143. package/dist/kongponents242.cjs +1 -1
  144. package/dist/kongponents242.es.js +18 -8
  145. package/dist/kongponents243.cjs +1 -1
  146. package/dist/kongponents243.es.js +7 -4
  147. package/dist/kongponents244.cjs +1 -1
  148. package/dist/kongponents244.es.js +5 -9
  149. package/dist/kongponents245.cjs +1 -1
  150. package/dist/kongponents245.es.js +8 -8
  151. package/dist/kongponents246.cjs +1 -1
  152. package/dist/kongponents246.es.js +7 -601
  153. package/dist/kongponents247.cjs +1 -1
  154. package/dist/kongponents247.es.js +8 -71
  155. package/dist/kongponents248.cjs +1 -1
  156. package/dist/kongponents248.es.js +7 -4
  157. package/dist/kongponents249.cjs +1 -1
  158. package/dist/kongponents249.es.js +7 -19
  159. package/dist/kongponents25.cjs +1 -1
  160. package/dist/kongponents25.es.js +6 -6
  161. package/dist/kongponents250.cjs +1 -1
  162. package/dist/kongponents250.es.js +124 -4
  163. package/dist/kongponents251.cjs +2 -1
  164. package/dist/kongponents251.es.js +48 -17
  165. package/dist/kongponents252.cjs +1 -1
  166. package/dist/kongponents252.es.js +7 -7
  167. package/dist/kongponents253.cjs +1 -1
  168. package/dist/kongponents253.es.js +57 -6
  169. package/dist/kongponents254.cjs +1 -1
  170. package/dist/kongponents254.es.js +65 -9
  171. package/dist/kongponents255.cjs +1 -1
  172. package/dist/kongponents255.es.js +4 -7
  173. package/dist/kongponents256.cjs +1 -1
  174. package/dist/kongponents256.es.js +4 -8
  175. package/dist/kongponents257.cjs +1 -1
  176. package/dist/kongponents257.es.js +20 -7
  177. package/dist/kongponents258.cjs +1 -1
  178. package/dist/kongponents258.es.js +5 -8
  179. package/dist/kongponents259.cjs +1 -1
  180. package/dist/kongponents259.es.js +91 -119
  181. package/dist/kongponents260.cjs +1 -2
  182. package/dist/kongponents260.es.js +169 -46
  183. package/dist/kongponents261.cjs +1 -1
  184. package/dist/kongponents261.es.js +5 -8
  185. package/dist/kongponents262.cjs +1 -1
  186. package/dist/kongponents262.es.js +7 -57
  187. package/dist/kongponents263.cjs +1 -1
  188. package/dist/kongponents263.es.js +5 -65
  189. package/dist/kongponents264.cjs +1 -1
  190. package/dist/kongponents264.es.js +4 -4
  191. package/dist/kongponents265.cjs +1 -1
  192. package/dist/kongponents265.es.js +70 -4
  193. package/dist/kongponents266.cjs +1 -1
  194. package/dist/kongponents266.es.js +2 -21
  195. package/dist/kongponents267.cjs +1 -1
  196. package/dist/kongponents267.es.js +55 -5
  197. package/dist/kongponents269.cjs +1 -1
  198. package/dist/kongponents269.es.js +176 -170
  199. package/dist/kongponents27.cjs +1 -1
  200. package/dist/kongponents27.es.js +2 -2
  201. package/dist/kongponents271.cjs +1 -1
  202. package/dist/kongponents271.es.js +87 -7
  203. package/dist/kongponents273.cjs +1 -1
  204. package/dist/kongponents273.es.js +45 -5
  205. package/dist/kongponents275.cjs +1 -1
  206. package/dist/kongponents275.es.js +91 -2
  207. package/dist/kongponents277.cjs +1 -0
  208. package/dist/kongponents277.es.js +248 -0
  209. package/dist/kongponents279.cjs +1 -0
  210. package/dist/kongponents279.es.js +26 -0
  211. package/dist/kongponents281.cjs +1 -1
  212. package/dist/kongponents281.es.js +48 -5
  213. package/dist/kongponents283.cjs +1 -1
  214. package/dist/kongponents283.es.js +34 -4
  215. package/dist/kongponents285.cjs +1 -1
  216. package/dist/kongponents285.es.js +22 -5
  217. package/dist/kongponents287.cjs +1 -1
  218. package/dist/kongponents287.es.js +44 -6
  219. package/dist/kongponents289.cjs +1 -1
  220. package/dist/kongponents289.es.js +40 -16
  221. package/dist/kongponents291.cjs +1 -1
  222. package/dist/kongponents291.es.js +5 -8
  223. package/dist/kongponents292.cjs +1 -1
  224. package/dist/kongponents292.es.js +5 -7
  225. package/dist/kongponents293.cjs +1 -1
  226. package/dist/kongponents293.es.js +19 -3
  227. package/dist/kongponents294.cjs +1 -1
  228. package/dist/kongponents294.es.js +4 -2
  229. package/dist/kongponents295.cjs +1 -1
  230. package/dist/kongponents295.es.js +4 -5
  231. package/dist/kongponents296.cjs +1 -1
  232. package/dist/kongponents296.es.js +5 -9
  233. package/dist/kongponents297.cjs +1 -1
  234. package/dist/kongponents297.es.js +8 -4
  235. package/dist/kongponents298.cjs +1 -1
  236. package/dist/kongponents298.es.js +5 -3
  237. package/dist/kongponents299.cjs +1 -1
  238. package/dist/kongponents299.es.js +4 -3
  239. package/dist/kongponents300.cjs +1 -1
  240. package/dist/kongponents300.es.js +16 -3
  241. package/dist/kongponents301.cjs +1 -1
  242. package/dist/kongponents301.es.js +3 -7
  243. package/dist/kongponents302.cjs +1 -1
  244. package/dist/kongponents302.es.js +8 -7
  245. package/dist/kongponents303.cjs +1 -1
  246. package/dist/kongponents303.es.js +6 -4
  247. package/dist/kongponents304.cjs +1 -1
  248. package/dist/kongponents304.es.js +3 -9
  249. package/dist/kongponents305.cjs +1 -1
  250. package/dist/kongponents305.es.js +2 -6
  251. package/dist/kongponents306.cjs +1 -1
  252. package/dist/kongponents306.es.js +6 -9
  253. package/dist/kongponents307.cjs +1 -1
  254. package/dist/kongponents307.es.js +9 -6
  255. package/dist/kongponents308.cjs +1 -1
  256. package/dist/kongponents308.es.js +4 -17
  257. package/dist/kongponents309.cjs +1 -1
  258. package/dist/kongponents309.es.js +4 -12
  259. package/dist/kongponents310.cjs +1 -1
  260. package/dist/kongponents310.es.js +3 -7
  261. package/dist/kongponents311.cjs +1 -1
  262. package/dist/kongponents311.es.js +3 -12
  263. package/dist/kongponents312.cjs +1 -1
  264. package/dist/kongponents312.es.js +7 -9
  265. package/dist/kongponents313.cjs +1 -1
  266. package/dist/kongponents313.es.js +6 -5
  267. package/dist/kongponents314.cjs +1 -1
  268. package/dist/kongponents314.es.js +5 -9
  269. package/dist/kongponents315.cjs +1 -1
  270. package/dist/kongponents315.es.js +9 -15
  271. package/dist/kongponents316.cjs +1 -1
  272. package/dist/kongponents316.es.js +5 -17
  273. package/dist/kongponents317.cjs +1 -1
  274. package/dist/kongponents317.es.js +9 -6
  275. package/dist/kongponents318.cjs +1 -1
  276. package/dist/kongponents318.es.js +6 -10
  277. package/dist/kongponents319.cjs +1 -1
  278. package/dist/kongponents319.es.js +17 -6
  279. package/dist/kongponents32.cjs +1 -1
  280. package/dist/kongponents32.es.js +4 -4
  281. package/dist/kongponents320.cjs +1 -1
  282. package/dist/kongponents320.es.js +11 -7
  283. package/dist/kongponents321.cjs +1 -1
  284. package/dist/kongponents321.es.js +6 -5
  285. package/dist/kongponents322.cjs +1 -1
  286. package/dist/kongponents322.es.js +12 -6
  287. package/dist/kongponents323.cjs +1 -1
  288. package/dist/kongponents323.es.js +9 -9
  289. package/dist/kongponents324.cjs +1 -1
  290. package/dist/kongponents324.es.js +5 -7
  291. package/dist/kongponents325.cjs +1 -1
  292. package/dist/kongponents325.es.js +8 -3
  293. package/dist/kongponents326.cjs +1 -1
  294. package/dist/kongponents326.es.js +15 -5
  295. package/dist/kongponents327.cjs +1 -1
  296. package/dist/kongponents327.es.js +17 -15
  297. package/dist/kongponents328.cjs +1 -0
  298. package/dist/kongponents328.es.js +8 -0
  299. package/dist/kongponents329.cjs +1 -1
  300. package/dist/kongponents329.es.js +10 -86
  301. package/dist/kongponents330.cjs +1 -0
  302. package/dist/kongponents330.es.js +9 -0
  303. package/dist/kongponents331.cjs +1 -1
  304. package/dist/kongponents331.es.js +8 -45
  305. package/dist/kongponents332.cjs +1 -0
  306. package/dist/kongponents332.es.js +8 -0
  307. package/dist/kongponents333.cjs +1 -1
  308. package/dist/kongponents333.es.js +7 -91
  309. package/dist/kongponents334.cjs +1 -0
  310. package/dist/kongponents334.es.js +12 -0
  311. package/dist/kongponents335.cjs +1 -1
  312. package/dist/kongponents335.es.js +8 -246
  313. package/dist/kongponents336.cjs +1 -0
  314. package/dist/kongponents336.es.js +6 -0
  315. package/dist/kongponents337.cjs +1 -1
  316. package/dist/kongponents337.es.js +6 -178
  317. package/dist/kongponents338.cjs +1 -0
  318. package/dist/kongponents338.es.js +18 -0
  319. package/dist/kongponents339.cjs +1 -1
  320. package/dist/kongponents339.es.js +2 -2
  321. package/dist/kongponents340.cjs +1 -1
  322. package/dist/kongponents340.es.js +2 -2
  323. package/dist/kongponents341.cjs +1 -1
  324. package/dist/kongponents341.es.js +2 -2
  325. package/dist/kongponents342.cjs +1 -1
  326. package/dist/kongponents342.es.js +2 -2
  327. package/dist/kongponents343.cjs +1 -1
  328. package/dist/kongponents343.es.js +4 -4
  329. package/dist/kongponents346.cjs +1 -1
  330. package/dist/kongponents346.es.js +1 -1
  331. package/dist/kongponents349.cjs +1 -1
  332. package/dist/kongponents349.es.js +1 -1
  333. package/dist/kongponents350.cjs +1 -1
  334. package/dist/kongponents350.es.js +3 -3
  335. package/dist/kongponents352.cjs +1 -1
  336. package/dist/kongponents352.es.js +1 -1
  337. package/dist/kongponents353.cjs +1 -1
  338. package/dist/kongponents353.es.js +1 -1
  339. package/dist/kongponents354.cjs +1 -1
  340. package/dist/kongponents354.es.js +1 -1
  341. package/dist/kongponents355.cjs +1 -1
  342. package/dist/kongponents355.es.js +2 -2
  343. package/dist/kongponents356.cjs +1 -1
  344. package/dist/kongponents356.es.js +2 -2
  345. package/dist/kongponents357.cjs +1 -1
  346. package/dist/kongponents357.es.js +2 -2
  347. package/dist/kongponents358.cjs +1 -1
  348. package/dist/kongponents358.es.js +2 -2
  349. package/dist/kongponents359.cjs +1 -1
  350. package/dist/kongponents359.es.js +2 -2
  351. package/dist/kongponents360.cjs +1 -1
  352. package/dist/kongponents360.es.js +2 -2
  353. package/dist/kongponents361.cjs +1 -1
  354. package/dist/kongponents361.es.js +3 -3
  355. package/dist/kongponents362.cjs +1 -1
  356. package/dist/kongponents362.es.js +3 -3
  357. package/dist/kongponents363.cjs +1 -1
  358. package/dist/kongponents363.es.js +4 -4
  359. package/dist/kongponents364.cjs +1 -1
  360. package/dist/kongponents364.es.js +4 -4
  361. package/dist/kongponents365.cjs +1 -1
  362. package/dist/kongponents365.es.js +3 -3
  363. package/dist/kongponents366.cjs +1 -1
  364. package/dist/kongponents366.es.js +3 -3
  365. package/dist/kongponents367.cjs +1 -1
  366. package/dist/kongponents367.es.js +2 -2
  367. package/dist/kongponents368.cjs +1 -1
  368. package/dist/kongponents368.es.js +3 -3
  369. package/dist/kongponents369.cjs +1 -1
  370. package/dist/kongponents369.es.js +3 -3
  371. package/dist/kongponents370.cjs +1 -1
  372. package/dist/kongponents370.es.js +3 -3
  373. package/dist/kongponents371.cjs +1 -1
  374. package/dist/kongponents371.es.js +2 -2
  375. package/dist/kongponents372.cjs +1 -1
  376. package/dist/kongponents372.es.js +2 -2
  377. package/dist/kongponents373.cjs +1 -1
  378. package/dist/kongponents373.es.js +2 -2
  379. package/dist/kongponents374.cjs +1 -1
  380. package/dist/kongponents374.es.js +3 -3
  381. package/dist/kongponents375.cjs +1 -1
  382. package/dist/kongponents375.es.js +3 -3
  383. package/dist/kongponents376.cjs +1 -1
  384. package/dist/kongponents376.es.js +3 -3
  385. package/dist/kongponents377.cjs +1 -1
  386. package/dist/kongponents377.es.js +3 -3
  387. package/dist/kongponents378.cjs +1 -1
  388. package/dist/kongponents378.es.js +3 -3
  389. package/dist/kongponents379.cjs +1 -1
  390. package/dist/kongponents379.es.js +3 -3
  391. package/dist/kongponents380.cjs +1 -1
  392. package/dist/kongponents380.es.js +2 -2
  393. package/dist/kongponents381.cjs +1 -1
  394. package/dist/kongponents381.es.js +3 -3
  395. package/dist/kongponents382.cjs +1 -1
  396. package/dist/kongponents382.es.js +3 -3
  397. package/dist/kongponents383.cjs +1 -1
  398. package/dist/kongponents383.es.js +2 -2
  399. package/dist/kongponents384.cjs +1 -1
  400. package/dist/kongponents384.es.js +2 -2
  401. package/dist/kongponents400.cjs +1 -1
  402. package/dist/kongponents400.es.js +16 -63
  403. package/dist/kongponents401.cjs +1 -1
  404. package/dist/kongponents401.es.js +2 -5
  405. package/dist/kongponents402.cjs +1 -1
  406. package/dist/kongponents402.es.js +13 -13
  407. package/dist/kongponents403.cjs +1 -1
  408. package/dist/kongponents403.es.js +65 -2
  409. package/dist/kongponents404.cjs +1 -1
  410. package/dist/kongponents404.es.js +4 -17
  411. package/dist/kongponents409.cjs +1 -1
  412. package/dist/kongponents409.es.js +4 -19
  413. package/dist/kongponents410.cjs +1 -1
  414. package/dist/kongponents410.es.js +5 -8
  415. package/dist/kongponents411.cjs +1 -1
  416. package/dist/kongponents411.es.js +19 -5
  417. package/dist/kongponents413.cjs +1 -1
  418. package/dist/kongponents413.es.js +94 -6
  419. package/dist/kongponents415.cjs +1 -1
  420. package/dist/kongponents415.es.js +7 -14
  421. package/dist/kongponents416.cjs +1 -1
  422. package/dist/kongponents416.es.js +6 -3
  423. package/dist/kongponents417.cjs +1 -1
  424. package/dist/kongponents417.es.js +8 -7
  425. package/dist/kongponents418.cjs +1 -1
  426. package/dist/kongponents418.es.js +6 -3
  427. package/dist/kongponents419.cjs +1 -1
  428. package/dist/kongponents419.es.js +7 -8
  429. package/dist/kongponents420.cjs +1 -1
  430. package/dist/kongponents420.es.js +14 -7
  431. package/dist/kongponents421.cjs +1 -1
  432. package/dist/kongponents421.es.js +3 -6
  433. package/dist/kongponents422.cjs +1 -1
  434. package/dist/kongponents422.es.js +8 -2
  435. package/dist/kongponents423.cjs +1 -1
  436. package/dist/kongponents423.es.js +3 -13
  437. package/dist/kongponents424.cjs +1 -1
  438. package/dist/kongponents424.es.js +10 -4
  439. package/dist/kongponents425.cjs +1 -1
  440. package/dist/kongponents425.es.js +7 -5
  441. package/dist/kongponents426.cjs +1 -1
  442. package/dist/kongponents426.es.js +5 -29
  443. package/dist/kongponents427.cjs +1 -1
  444. package/dist/kongponents427.es.js +13 -3
  445. package/dist/kongponents428.cjs +1 -1
  446. package/dist/kongponents428.es.js +5 -26
  447. package/dist/kongponents429.cjs +1 -1
  448. package/dist/kongponents429.es.js +2 -4
  449. package/dist/kongponents430.cjs +1 -1
  450. package/dist/kongponents430.es.js +3 -4
  451. package/dist/kongponents431.cjs +1 -1
  452. package/dist/kongponents431.es.js +26 -4
  453. package/dist/kongponents432.cjs +1 -1
  454. package/dist/kongponents432.es.js +3 -3
  455. package/dist/kongponents433.cjs +1 -1
  456. package/dist/kongponents433.es.js +4 -4
  457. package/dist/kongponents434.cjs +1 -1
  458. package/dist/kongponents434.es.js +4 -15
  459. package/dist/kongponents435.cjs +1 -1
  460. package/dist/kongponents435.es.js +4 -27
  461. package/dist/kongponents436.cjs +1 -1
  462. package/dist/kongponents436.es.js +4 -16
  463. package/dist/kongponents437.cjs +1 -1
  464. package/dist/kongponents437.es.js +13 -8
  465. package/dist/kongponents438.cjs +1 -1
  466. package/dist/kongponents438.es.js +5 -4
  467. package/dist/kongponents439.cjs +1 -1
  468. package/dist/kongponents439.es.js +29 -13
  469. package/dist/kongponents440.cjs +1 -1
  470. package/dist/kongponents440.es.js +26 -8
  471. package/dist/kongponents441.cjs +1 -1
  472. package/dist/kongponents441.es.js +16 -3
  473. package/dist/kongponents442.cjs +1 -1
  474. package/dist/kongponents442.es.js +9 -5
  475. package/dist/kongponents443.cjs +1 -1
  476. package/dist/kongponents443.es.js +4 -5
  477. package/dist/kongponents444.cjs +1 -1
  478. package/dist/kongponents444.es.js +13 -7
  479. package/dist/kongponents445.cjs +1 -1
  480. package/dist/kongponents445.es.js +8 -5
  481. package/dist/kongponents446.cjs +1 -1
  482. package/dist/kongponents446.es.js +2 -10
  483. package/dist/kongponents447.cjs +1 -1
  484. package/dist/kongponents447.es.js +5 -5
  485. package/dist/kongponents448.cjs +1 -1
  486. package/dist/kongponents448.es.js +5 -4
  487. package/dist/kongponents449.cjs +1 -1
  488. package/dist/kongponents449.es.js +7 -4
  489. package/dist/kongponents450.cjs +1 -1
  490. package/dist/kongponents450.es.js +5 -5
  491. package/dist/kongponents451.cjs +1 -1
  492. package/dist/kongponents451.es.js +11 -8
  493. package/dist/kongponents452.cjs +1 -1
  494. package/dist/kongponents452.es.js +5 -6
  495. package/dist/kongponents453.cjs +1 -1
  496. package/dist/kongponents453.es.js +5 -10
  497. package/dist/kongponents454.cjs +1 -1
  498. package/dist/kongponents454.es.js +4 -6
  499. package/dist/kongponents455.cjs +1 -1
  500. package/dist/kongponents455.es.js +5 -21
  501. package/dist/kongponents456.cjs +1 -1
  502. package/dist/kongponents456.es.js +8 -7
  503. package/dist/kongponents457.cjs +1 -1
  504. package/dist/kongponents457.es.js +6 -6
  505. package/dist/kongponents458.cjs +1 -1
  506. package/dist/kongponents458.es.js +10 -7
  507. package/dist/kongponents459.cjs +1 -1
  508. package/dist/kongponents459.es.js +6 -8
  509. package/dist/kongponents460.cjs +1 -1
  510. package/dist/kongponents460.es.js +22 -5
  511. package/dist/kongponents461.cjs +1 -1
  512. package/dist/kongponents461.es.js +7 -5
  513. package/dist/kongponents462.cjs +1 -0
  514. package/dist/kongponents462.es.js +9 -0
  515. package/dist/kongponents463.cjs +1 -1
  516. package/dist/kongponents463.es.js +7 -121
  517. package/dist/kongponents464.cjs +1 -0
  518. package/dist/kongponents464.es.js +11 -0
  519. package/dist/kongponents465.cjs +1 -1
  520. package/dist/kongponents465.es.js +113 -86
  521. package/dist/kongponents467.cjs +1 -1
  522. package/dist/kongponents467.es.js +2 -2
  523. package/dist/kongponents468.cjs +1 -1
  524. package/dist/kongponents468.es.js +1 -1
  525. package/dist/kongponents469.cjs +1 -1
  526. package/dist/kongponents469.es.js +4 -4
  527. package/dist/kongponents470.cjs +1 -1
  528. package/dist/kongponents470.es.js +3 -3
  529. package/dist/kongponents477.cjs +1 -1
  530. package/dist/kongponents477.es.js +25 -6
  531. package/dist/kongponents478.cjs +1 -1
  532. package/dist/kongponents478.es.js +96 -5
  533. package/dist/kongponents479.cjs +1 -1
  534. package/dist/kongponents479.es.js +47 -11
  535. package/dist/kongponents480.cjs +1 -1
  536. package/dist/kongponents480.es.js +9 -7
  537. package/dist/kongponents481.cjs +1 -1
  538. package/dist/kongponents481.es.js +9 -6
  539. package/dist/kongponents482.cjs +1 -1
  540. package/dist/kongponents482.es.js +14 -25
  541. package/dist/kongponents483.cjs +1 -1
  542. package/dist/kongponents483.es.js +10 -96
  543. package/dist/kongponents484.cjs +1 -1
  544. package/dist/kongponents484.es.js +6 -47
  545. package/dist/kongponents485.cjs +1 -1
  546. package/dist/kongponents485.es.js +5 -9
  547. package/dist/kongponents486.cjs +1 -1
  548. package/dist/kongponents486.es.js +10 -9
  549. package/dist/kongponents487.cjs +1 -1
  550. package/dist/kongponents487.es.js +7 -13
  551. package/dist/kongponents488.cjs +1 -1
  552. package/dist/kongponents488.es.js +6 -10
  553. package/dist/kongponents491.cjs +1 -1
  554. package/dist/kongponents491.es.js +1 -1
  555. package/dist/kongponents493.cjs +1 -1
  556. package/dist/kongponents493.es.js +1 -1
  557. package/dist/kongponents495.cjs +1 -1
  558. package/dist/kongponents495.es.js +1 -1
  559. package/dist/kongponents497.cjs +1 -1
  560. package/dist/kongponents497.es.js +1 -1
  561. package/dist/kongponents498.cjs +1 -1
  562. package/dist/kongponents498.es.js +3 -3
  563. package/dist/kongponents499.cjs +1 -1
  564. package/dist/kongponents499.es.js +2 -2
  565. package/dist/kongponents500.cjs +1 -1
  566. package/dist/kongponents500.es.js +3 -3
  567. package/dist/kongponents501.cjs +1 -1
  568. package/dist/kongponents501.es.js +2 -2
  569. package/dist/kongponents502.cjs +1 -1
  570. package/dist/kongponents502.es.js +1 -1
  571. package/dist/kongponents503.cjs +1 -1
  572. package/dist/kongponents503.es.js +1 -1
  573. package/dist/kongponents512.cjs +1 -1
  574. package/dist/kongponents512.es.js +1 -1
  575. package/dist/kongponents518.cjs +1 -1
  576. package/dist/kongponents518.es.js +2 -2
  577. package/dist/kongponents519.cjs +1 -1
  578. package/dist/kongponents519.es.js +2 -2
  579. package/dist/kongponents520.cjs +1 -1
  580. package/dist/kongponents520.es.js +2 -2
  581. package/dist/kongponents521.cjs +1 -1
  582. package/dist/kongponents521.es.js +1 -1
  583. package/dist/kongponents525.cjs +1 -1
  584. package/dist/kongponents525.es.js +1 -1
  585. package/dist/kongponents526.cjs +1 -1
  586. package/dist/kongponents526.es.js +4 -4
  587. package/dist/kongponents528.cjs +1 -1
  588. package/dist/kongponents528.es.js +1 -1
  589. package/dist/kongponents535.cjs +1 -1
  590. package/dist/kongponents535.es.js +1 -1
  591. package/dist/kongponents536.es.js +2 -2
  592. package/dist/kongponents537.es.js +2 -2
  593. package/dist/kongponents540.cjs +1 -1
  594. package/dist/kongponents540.es.js +21 -2
  595. package/dist/kongponents541.cjs +1 -1
  596. package/dist/kongponents541.es.js +18 -15
  597. package/dist/kongponents542.cjs +1 -1
  598. package/dist/kongponents542.es.js +2 -24
  599. package/dist/kongponents544.cjs +1 -1
  600. package/dist/kongponents544.es.js +27 -2
  601. package/dist/kongponents545.cjs +1 -1
  602. package/dist/kongponents545.es.js +23 -23
  603. package/dist/kongponents546.cjs +1 -1
  604. package/dist/kongponents546.es.js +2 -27
  605. package/dist/kongponents548.es.js +2 -2
  606. package/dist/kongponents549.es.js +2 -2
  607. package/dist/kongponents562.cjs +1 -1
  608. package/dist/kongponents562.es.js +1 -1
  609. package/dist/kongponents575.cjs +1 -1
  610. package/dist/kongponents575.es.js +1 -1
  611. package/dist/kongponents578.cjs +1 -1
  612. package/dist/kongponents578.es.js +1 -1
  613. package/dist/kongponents580.cjs +1 -1
  614. package/dist/kongponents580.es.js +1 -1
  615. package/dist/kongponents581.cjs +1 -1
  616. package/dist/kongponents581.es.js +1 -1
  617. package/dist/kongponents582.cjs +1 -1
  618. package/dist/kongponents582.es.js +1 -1
  619. package/dist/kongponents584.es.js +2 -2
  620. package/dist/kongponents585.es.js +2 -2
  621. package/dist/kongponents586.es.js +2 -2
  622. package/dist/kongponents587.es.js +2 -2
  623. package/dist/kongponents83.cjs +1 -1
  624. package/dist/kongponents83.es.js +1 -1
  625. package/dist/kongponents85.cjs +1 -1
  626. package/dist/kongponents85.es.js +1 -1
  627. package/dist/kongponents91.cjs +1 -1
  628. package/dist/kongponents91.es.js +1 -1
  629. package/dist/kongponents97.cjs +1 -1
  630. package/dist/kongponents97.es.js +6 -6
  631. package/package.json +1 -1
  632. package/dist/kongponents189.cjs +0 -1
  633. package/dist/kongponents189.es.js +0 -7
  634. package/dist/kongponents221.cjs +0 -1
  635. package/dist/kongponents221.es.js +0 -33
  636. package/dist/kongponents224.cjs +0 -1
  637. package/dist/kongponents224.es.js +0 -8
  638. package/dist/kongponents227.cjs +0 -1
  639. package/dist/kongponents227.es.js +0 -50
  640. package/dist/kongponents229.cjs +0 -1
  641. package/dist/kongponents229.es.js +0 -36
  642. package/dist/kongponents268.cjs +0 -1
  643. package/dist/kongponents268.es.js +0 -99
  644. package/dist/kongponents270.cjs +0 -1
  645. package/dist/kongponents270.es.js +0 -7
  646. package/dist/kongponents272.cjs +0 -1
  647. package/dist/kongponents272.es.js +0 -7
  648. package/dist/kongponents274.cjs +0 -1
  649. package/dist/kongponents274.es.js +0 -72
  650. package/dist/kongponents280.cjs +0 -1
  651. package/dist/kongponents280.es.js +0 -7
  652. package/dist/kongponents282.cjs +0 -1
  653. package/dist/kongponents282.es.js +0 -22
  654. package/dist/kongponents284.cjs +0 -1
  655. package/dist/kongponents284.es.js +0 -7
  656. package/dist/kongponents286.cjs +0 -1
  657. package/dist/kongponents286.es.js +0 -11
  658. package/dist/kongponents288.cjs +0 -1
  659. package/dist/kongponents288.es.js +0 -6
  660. package/dist/kongponents290.cjs +0 -1
  661. package/dist/kongponents290.es.js +0 -6
  662. package/dist/kongponents412.cjs +0 -1
  663. package/dist/kongponents412.es.js +0 -11
  664. package/dist/kongponents414.cjs +0 -1
  665. package/dist/kongponents414.es.js +0 -12
  666. /package/dist/{kongponents278.cjs → kongponents228.cjs} +0 -0
  667. /package/dist/{kongponents278.es.js → kongponents228.es.js} +0 -0
@@ -1,100 +1,7 @@
1
- import { computed as s, ref as v, watchEffect as D } from "vue";
2
- import R from "swrv";
3
- const i = {
4
- VALIDATING: "VALIDATING",
5
- VALIDATING_HAS_DATA: "VALIDATING_HAS_DATA",
6
- PENDING: "PENDING",
7
- SUCCESS: "SUCCESS",
8
- SUCCESS_HAS_DATA: "SUCCESS_HAS_DATA",
9
- ERROR: "ERROR",
10
- STALE_IF_ERROR: "STALE_IF_ERROR"
1
+ const n = (r) => {
2
+ const e = Number(r);
3
+ return Number.isNaN(e) ? `${r}` : `${e}px`;
11
4
  };
12
- function b() {
13
- return {
14
- useRequest: (e, u, a) => {
15
- const {
16
- data: t,
17
- error: n,
18
- isValidating: S,
19
- isLoading: o,
20
- mutate: c
21
- } = R(e, u, {
22
- revalidateDebounce: 500,
23
- dedupingInterval: 100,
24
- ...a
25
- });
26
- return {
27
- data: s(() => t.value?.data),
28
- response: t,
29
- error: n,
30
- isValidating: S,
31
- isLoading: o,
32
- revalidate: c
33
- };
34
- },
35
- useDebounce: (e, u = 300) => {
36
- let a;
37
- const t = (n) => async (...S) => {
38
- clearTimeout(a), n > 0 ? await new Promise((o) => {
39
- a = setTimeout(async () => {
40
- await e(...S), o();
41
- }, n);
42
- }) : await e(...S);
43
- };
44
- return {
45
- debouncedFn: t(u),
46
- generateDebouncedFn: t
47
- };
48
- },
49
- clientSideSorter: (e, u, a, t) => {
50
- let n = null;
51
- const S = (c, l) => typeof l == "number" && !Number.isNaN(c) && !Number.isNaN(l) ? c - l : 0, o = (c, l) => c.localeCompare(l);
52
- return e !== u ? (n = (c, l) => {
53
- const f = (r) => r == null ? "" : typeof r == "number" ? r : Array.isArray(r) && r.length && typeof r[0] == "number" ? r[0] : String(r), A = f(c[e]), d = f(l[e]);
54
- return typeof A === "number" ? S(A, d) : o(A, d);
55
- }, t.sort(n), u = e, a = "ascending") : (t.reverse(), a === "descending" || a === "desc" ? a = "ascending" : a = "descending"), { previousKey: u, sortOrder: a };
56
- },
57
- useSwrvState: (e, u, a) => {
58
- const t = v(i.PENDING), n = v(!1);
59
- return D(() => {
60
- if (n.value = e.value && !!(Object.keys(e.value)?.length || e.value.data?.length || e.value.data?.data?.length || !e.value.data?.data && typeof e.value.data == "object" && Object.keys(e.value?.data).length), e.value && n.value && a.value) {
61
- t.value = i.VALIDATING_HAS_DATA;
62
- return;
63
- }
64
- if (e.value && a.value) {
65
- t.value = i.VALIDATING;
66
- return;
67
- }
68
- if (e.value && u.value) {
69
- t.value = i.STALE_IF_ERROR;
70
- return;
71
- }
72
- if (e.value === void 0 && !u.value) {
73
- t.value = i.PENDING;
74
- return;
75
- }
76
- if (e.value && !u.value && n.value) {
77
- t.value = i.SUCCESS_HAS_DATA;
78
- return;
79
- }
80
- if (e.value && !u.value) {
81
- t.value = i.SUCCESS;
82
- return;
83
- }
84
- e.value === void 0 && u && (t.value = i.ERROR);
85
- }), {
86
- hasData: n,
87
- state: t,
88
- swrvState: i
89
- };
90
- },
91
- cloneDeep: (e) => {
92
- if (e)
93
- return JSON.parse(JSON.stringify(e));
94
- },
95
- stripRequiredLabel: (e, u) => !u || !e ? e || "" : /( )?\*$/gi.test(e) ? e.replace(/\*$/gi, "").trim() : e
96
- };
97
- }
98
5
  export {
99
- b as default
6
+ n as normalizeSize
100
7
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["a[href]","audio[controls]","button","details","embed","iframe","img[usemap]",'input:not([type="hidden"])',"label","select","textarea","video[controls]","area[href]"].join(", ");function o(n,e=""){return n.closest(e?`${t}, ${e}`:t)}exports.findInteractiveAncestor=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const A=require("vue"),f=require("swrv"),i={VALIDATING:"VALIDATING",VALIDATING_HAS_DATA:"VALIDATING_HAS_DATA",PENDING:"PENDING",SUCCESS:"SUCCESS",SUCCESS_HAS_DATA:"SUCCESS_HAS_DATA",ERROR:"ERROR",STALE_IF_ERROR:"STALE_IF_ERROR"};function D(){return{useRequest:(e,u,a)=>{const{data:t,error:n,isValidating:S,isLoading:o,mutate:l}=f(e,u,{revalidateDebounce:500,dedupingInterval:100,...a});return{data:A.computed(()=>t.value?.data),response:t,error:n,isValidating:S,isLoading:o,revalidate:l}},useDebounce:(e,u=300)=>{let a;const t=n=>async(...S)=>{clearTimeout(a),n>0?await new Promise(o=>{a=setTimeout(async()=>{await e(...S),o()},n)}):await e(...S)};return{debouncedFn:t(u),generateDebouncedFn:t}},clientSideSorter:(e,u,a,t)=>{let n=null;const S=(l,c)=>typeof c=="number"&&!Number.isNaN(l)&&!Number.isNaN(c)?l-c:0,o=(l,c)=>l.localeCompare(c);return e!==u?(n=(l,c)=>{const s=r=>r==null?"":typeof r=="number"?r:Array.isArray(r)&&r.length&&typeof r[0]=="number"?r[0]:String(r),d=s(l[e]),v=s(c[e]);return typeof d==="number"?S(d,v):o(d,v)},t.sort(n),u=e,a="ascending"):(t.reverse(),a==="descending"||a==="desc"?a="ascending":a="descending"),{previousKey:u,sortOrder:a}},useSwrvState:(e,u,a)=>{const t=A.ref(i.PENDING),n=A.ref(!1);return A.watchEffect(()=>{if(n.value=e.value&&!!(Object.keys(e.value)?.length||e.value.data?.length||e.value.data?.data?.length||!e.value.data?.data&&typeof e.value.data=="object"&&Object.keys(e.value?.data).length),e.value&&n.value&&a.value){t.value=i.VALIDATING_HAS_DATA;return}if(e.value&&a.value){t.value=i.VALIDATING;return}if(e.value&&u.value){t.value=i.STALE_IF_ERROR;return}if(e.value===void 0&&!u.value){t.value=i.PENDING;return}if(e.value&&!u.value&&n.value){t.value=i.SUCCESS_HAS_DATA;return}if(e.value&&!u.value){t.value=i.SUCCESS;return}e.value===void 0&&u&&(t.value=i.ERROR)}),{hasData:n,state:t,swrvState:i}},cloneDeep:e=>{if(e)return JSON.parse(JSON.stringify(e))},stripRequiredLabel:(e,u)=>!u||!e?e||"":/( )?\*$/gi.test(e)?e.replace(/\*$/gi,"").trim():e}}exports.default=D;
@@ -1,21 +1,100 @@
1
- const t = [
2
- "a[href]",
3
- "audio[controls]",
4
- "button",
5
- "details",
6
- "embed",
7
- "iframe",
8
- "img[usemap]",
9
- 'input:not([type="hidden"])',
10
- "label",
11
- "select",
12
- "textarea",
13
- "video[controls]",
14
- "area[href]"
15
- ].join(", ");
16
- function o(n, e = "") {
17
- return n.closest(e ? `${t}, ${e}` : t);
1
+ import { computed as s, ref as v, watchEffect as D } from "vue";
2
+ import R from "swrv";
3
+ const i = {
4
+ VALIDATING: "VALIDATING",
5
+ VALIDATING_HAS_DATA: "VALIDATING_HAS_DATA",
6
+ PENDING: "PENDING",
7
+ SUCCESS: "SUCCESS",
8
+ SUCCESS_HAS_DATA: "SUCCESS_HAS_DATA",
9
+ ERROR: "ERROR",
10
+ STALE_IF_ERROR: "STALE_IF_ERROR"
11
+ };
12
+ function b() {
13
+ return {
14
+ useRequest: (e, u, a) => {
15
+ const {
16
+ data: t,
17
+ error: n,
18
+ isValidating: S,
19
+ isLoading: o,
20
+ mutate: c
21
+ } = R(e, u, {
22
+ revalidateDebounce: 500,
23
+ dedupingInterval: 100,
24
+ ...a
25
+ });
26
+ return {
27
+ data: s(() => t.value?.data),
28
+ response: t,
29
+ error: n,
30
+ isValidating: S,
31
+ isLoading: o,
32
+ revalidate: c
33
+ };
34
+ },
35
+ useDebounce: (e, u = 300) => {
36
+ let a;
37
+ const t = (n) => async (...S) => {
38
+ clearTimeout(a), n > 0 ? await new Promise((o) => {
39
+ a = setTimeout(async () => {
40
+ await e(...S), o();
41
+ }, n);
42
+ }) : await e(...S);
43
+ };
44
+ return {
45
+ debouncedFn: t(u),
46
+ generateDebouncedFn: t
47
+ };
48
+ },
49
+ clientSideSorter: (e, u, a, t) => {
50
+ let n = null;
51
+ const S = (c, l) => typeof l == "number" && !Number.isNaN(c) && !Number.isNaN(l) ? c - l : 0, o = (c, l) => c.localeCompare(l);
52
+ return e !== u ? (n = (c, l) => {
53
+ const f = (r) => r == null ? "" : typeof r == "number" ? r : Array.isArray(r) && r.length && typeof r[0] == "number" ? r[0] : String(r), A = f(c[e]), d = f(l[e]);
54
+ return typeof A === "number" ? S(A, d) : o(A, d);
55
+ }, t.sort(n), u = e, a = "ascending") : (t.reverse(), a === "descending" || a === "desc" ? a = "ascending" : a = "descending"), { previousKey: u, sortOrder: a };
56
+ },
57
+ useSwrvState: (e, u, a) => {
58
+ const t = v(i.PENDING), n = v(!1);
59
+ return D(() => {
60
+ if (n.value = e.value && !!(Object.keys(e.value)?.length || e.value.data?.length || e.value.data?.data?.length || !e.value.data?.data && typeof e.value.data == "object" && Object.keys(e.value?.data).length), e.value && n.value && a.value) {
61
+ t.value = i.VALIDATING_HAS_DATA;
62
+ return;
63
+ }
64
+ if (e.value && a.value) {
65
+ t.value = i.VALIDATING;
66
+ return;
67
+ }
68
+ if (e.value && u.value) {
69
+ t.value = i.STALE_IF_ERROR;
70
+ return;
71
+ }
72
+ if (e.value === void 0 && !u.value) {
73
+ t.value = i.PENDING;
74
+ return;
75
+ }
76
+ if (e.value && !u.value && n.value) {
77
+ t.value = i.SUCCESS_HAS_DATA;
78
+ return;
79
+ }
80
+ if (e.value && !u.value) {
81
+ t.value = i.SUCCESS;
82
+ return;
83
+ }
84
+ e.value === void 0 && u && (t.value = i.ERROR);
85
+ }), {
86
+ hasData: n,
87
+ state: t,
88
+ swrvState: i
89
+ };
90
+ },
91
+ cloneDeep: (e) => {
92
+ if (e)
93
+ return JSON.parse(JSON.stringify(e));
94
+ },
95
+ stripRequiredLabel: (e, u) => !u || !e ? e || "" : /( )?\*$/gi.test(e) ? e.replace(/\*$/gi, "").trim() : e
96
+ };
18
97
  }
19
98
  export {
20
- o as findInteractiveAncestor
99
+ b as default
21
100
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents219.cjs");;/* empty css */const t=require("./kongponents82.cjs"),u=t.default(e.default,[["__scopeId","data-v-51a543d6"]]);exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents226.cjs");;/* empty css */const t=require("./kongponents82.cjs"),u=t.default(e.default,[["__scopeId","data-v-c348456b"]]);exports.default=u;
@@ -1,7 +1,7 @@
1
- import o from "./kongponents219.es.js";
1
+ import t from "./kongponents226.es.js";
2
2
  /* empty css */
3
- import t from "./kongponents82.es.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-51a543d6"]]);
3
+ import o from "./kongponents82.es.js";
4
+ const s = /* @__PURE__ */ o(t, [["__scopeId", "data-v-c348456b"]]);
5
5
  export {
6
- m as default
6
+ s as default
7
7
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class d{commands;keyMap;boundTriggerShortcuts;constructor(r,o){this.commands=o,this.keyMap=Object.fromEntries(Object.entries(r).map(([i,s])=>[i.toLowerCase(),s])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document?.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document?.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(r){l(r,this.keyMap,this.commands)}}function l(t,r,o){if(!t.code)return;const i=a(t.code),s=[t.ctrlKey?"ctrl":"",t.shiftKey?"shift":"",t.altKey?"alt":"",i].filter(c=>c!=="").join("+"),n=r[s];if(!n)return;const e=o[n];e.isAllowedContext&&!e.isAllowedContext(t)||(e.shouldPreventDefaultAction&&t.preventDefault(),!(e.isDisabled&&e.isDisabled())&&e.trigger(t))}function a(t){return!t||u.includes(t)?"":t.replace(/^Key/,"").toLowerCase()}exports.ShortcutManager=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./kongponents228.cjs");;/* empty css */const t=require("./kongponents82.cjs"),u=t.default(e.default,[["__scopeId","data-v-02f131b4"]]);exports.default=u;
@@ -1,38 +1,7 @@
1
- const u = ["ControlLeft", "ControlRight", "ShiftLeft", "ShiftRight", "AltLeft"];
2
- class l {
3
- commands;
4
- keyMap;
5
- boundTriggerShortcuts;
6
- constructor(r, o) {
7
- this.commands = o, this.keyMap = Object.fromEntries(Object.entries(r).map(([i, s]) => [i.toLowerCase(), s])), this.boundTriggerShortcuts = this.triggerShortcuts.bind(this);
8
- }
9
- registerListener() {
10
- document?.addEventListener("keydown", this.boundTriggerShortcuts);
11
- }
12
- unRegisterListener() {
13
- document?.removeEventListener("keydown", this.boundTriggerShortcuts);
14
- }
15
- triggerShortcuts(r) {
16
- d(r, this.keyMap, this.commands);
17
- }
18
- }
19
- function d(t, r, o) {
20
- if (!t.code)
21
- return;
22
- const i = h(t.code), s = [
23
- t.ctrlKey ? "ctrl" : "",
24
- t.shiftKey ? "shift" : "",
25
- t.altKey ? "alt" : "",
26
- i
27
- ].filter((c) => c !== "").join("+"), n = r[s];
28
- if (!n)
29
- return;
30
- const e = o[n];
31
- e.isAllowedContext && !e.isAllowedContext(t) || (e.shouldPreventDefaultAction && t.preventDefault(), !(e.isDisabled && e.isDisabled()) && e.trigger(t));
32
- }
33
- function h(t) {
34
- return !t || u.includes(t) ? "" : t.replace(/^Key/, "").toLowerCase();
35
- }
1
+ import t from "./kongponents228.es.js";
2
+ /* empty css */
3
+ import o from "./kongponents82.es.js";
4
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-02f131b4"]]);
36
5
  export {
37
- l as ShortcutManager
6
+ f as default
38
7
  };
@@ -1,2 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("./kongponents224.cjs");function f(t){const n=[0];for(let r=0;r<t.length;r++)t[r]===`
2
- `&&n.push(r+1);return n}function o(t,n){let r=0,e=t.length-1;for(;r<e;){const i=Math.floor((r+e+1)/2);t[i]&&t[i]<=n?r=i:e=i-1}return r+1}function d(t,n,r){if(!t||!n)return[];const e=[];let i=0;for(;;){const s=t.indexOf(n,i);if(s===-1)break;const l=o(r,s);e.push(l),i=(l<r.length?r[l]:t.length)??0}return e}function x(t,n,r){if(!t||!n)return[];const e=new RegExp(n,"sg"),i=[];let s;for(;(s=e.exec(t))!==null;){const l=s.index,c=s.index+s[0].length-1,a=o(r,l),M=o(r,c);for(let h=a;h<=M;h++)i[i.length-1]!==h&&i.push(h)}return i}function N(t,n,r,e=f(t)){return r?x(t,n,e):d(t,n,e)}const g=t=>`<mark class="matched-term">${t}</mark>`,p=/[<&]/;function u(t){return t.replace(/[&<]/g,n=>n==="&"?"&amp;":"&lt;")}function b(t,n=p,r=u){return n.test(t)?r(t):t}function I(t,n,r){if(!t||!n)return"";const e=!p.test(t);let i;try{i=new RegExp(`(?:${r?n:L.default(n)})+`,"sgi")}catch{return e?t:u(t)}let s="",l=0,c;for(;(c=i.exec(t))!==null;){const a=c.index;s+=e?t.slice(l,a):u(t.slice(l,a)),s+=g(e?c[0]:u(c[0])),l=a+c[0].length}return s+=e?t.slice(l):u(t.slice(l)),s}const m=/^\d+(?:-\d+)?(?:,\d+(?:-\d+)?)*$/;function R(t,n){if(!m.test(t))throw new Error("Invalid line number expression.");const r=t.split(",").map(e=>{const[i,s]=e.split("-").map(Number);return s==null?i:[i,s]}).filter(e=>e!==void 0);return E(r,n)}function E(t,n){const r=t.flatMap(e=>{if(typeof e=="number")return e<1||e>n?[]:e;let[i,s]=e[0]<e[1]?e:[e[1],e[0]];return i=Math.max(1,i),s=Math.min(n,s),Array.from({length:s-i+1},(l,c)=>c+i)}).sort((e,i)=>e-i);return Array.from(new Set(r))}function w(t,n){return typeof t=="string"?R(t,n):E(t,n)}exports.LINE_NUMBER_EXPRESSION_REGEX=m;exports.buildLineOffsets=f;exports.escapeHTMLIfNeeded=b;exports.escapeInnerHTML=u;exports.getMatchingLineNumbers=N;exports.highlightMatchingChars=I;exports.normalizeHighlightedLines=w;exports.wrapMark=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./kongponents219.cjs"),r=require("vue"),S=d.isClient?window:void 0;function b(o){var n;const i=r.toValue(o);return(n=i?.$el)!==null&&n!==void 0?n:i}function C(...o){const n=(e,l,s,c)=>(e.addEventListener(l,s,c),()=>e.removeEventListener(l,s,c)),i=r.computed(()=>{const e=d.toArray(r.toValue(o[0])).filter(l=>l!=null);return e.every(l=>typeof l!="string")?e:void 0});return d.watchImmediate(()=>{var e,l;return[(e=(l=i.value)===null||l===void 0?void 0:l.map(s=>b(s)))!==null&&e!==void 0?e:[S].filter(s=>s!=null),d.toArray(r.toValue(i.value?o[1]:o[0])),d.toArray(r.unref(i.value?o[2]:o[1])),r.toValue(i.value?o[3]:o[2])]},([e,l,s,c],p,f)=>{if(!e?.length||!l?.length||!s?.length)return;const h=d.isObject(c)?{...c}:c,w=e.flatMap(t=>l.flatMap(m=>s.map(g=>n(t,m,g,h))));f(()=>{w.forEach(t=>t())})},{flush:"post"})}function M(o,n,i={}){const{window:e=S,ignore:l=[],capture:s=!0,detectIframe:c=!1,controls:p=!1}=i;if(!e)return p?{stop:d.noop,cancel:d.noop,trigger:d.noop}:d.noop;let f=!0;const h=u=>r.toValue(l).some(a=>{if(typeof a=="string")return Array.from(e.document.querySelectorAll(a)).some(v=>v===u.target||u.composedPath().includes(v));{const v=b(a);return v&&(u.target===v||u.composedPath().includes(v))}});function w(u){const a=r.toValue(u);return a&&a.$.subTree.shapeFlag===16}function t(u,a){const v=r.toValue(u),E=v.$.subTree&&v.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(O=>O.el===a.target||a.composedPath().includes(O.el))}const m=u=>{const a=b(o);if(u.target!=null&&!(!(a instanceof Element)&&w(o)&&t(o,u))&&!(!a||a===u.target||u.composedPath().includes(a))){if("detail"in u&&u.detail===0&&(f=!h(u)),!f){f=!0;return}n(u)}};let g=!1;const y=[C(e,"click",u=>{g||(g=!0,setTimeout(()=>{g=!1},0),m(u))},{passive:!0,capture:s}),C(e,"pointerdown",u=>{const a=b(o);f=!h(u)&&!!(a&&!u.composedPath().includes(a))},{passive:!0}),c&&C(e,"blur",u=>{setTimeout(()=>{const a=b(o);let v=e.document.activeElement;for(;v?.shadowRoot;)v=v.shadowRoot.activeElement;v?.tagName==="IFRAME"&&!a?.contains(e.document.activeElement)&&n(u)},0)},{passive:!0})].filter(Boolean),R=()=>y.forEach(u=>u());return p?{stop:R,cancel:()=>{f=!1},trigger:u=>{f=!0,m(u),f=!1}}:R}function x(){const o=r.shallowRef(!1),n=r.getCurrentInstance();return n&&r.onMounted(()=>{o.value=!0},n),o}function A(o){const n=x();return r.computed(()=>(n.value,!!o()))}function T(o,n,i={}){const{window:e=S,...l}=i;let s;const c=A(()=>e&&"ResizeObserver"in e),p=()=>{s&&(s.disconnect(),s=void 0)},f=r.watch(r.computed(()=>{const w=r.toValue(o);return Array.isArray(w)?w.map(t=>b(t)):[b(w)]}),w=>{if(p(),c.value&&e){s=new ResizeObserver(n);for(const t of w)t&&s.observe(t,l)}},{immediate:!0,flush:"post"}),h=()=>{p(),f()};return d.tryOnScopeDispose(h),{isSupported:c,stop:h}}function $(o,n={width:0,height:0},i={}){const{window:e=S,box:l="content-box"}=i,s=r.computed(()=>{var t;return(t=b(o))===null||t===void 0||(t=t.namespaceURI)===null||t===void 0?void 0:t.includes("svg")}),c=r.shallowRef(n.width),p=r.shallowRef(n.height),{stop:f}=T(o,([t])=>{const m=l==="border-box"?t.borderBoxSize:l==="content-box"?t.contentBoxSize:t.devicePixelContentBoxSize;if(e&&s.value){const g=b(o);if(g){const y=g.getBoundingClientRect();c.value=y.width,p.value=y.height}}else if(m){const g=d.toArray(m);c.value=g.reduce((y,{inlineSize:R})=>y+R,0),p.value=g.reduce((y,{blockSize:R})=>y+R,0)}else c.value=t.contentRect.width,p.value=t.contentRect.height},i);d.tryOnMounted(()=>{const t=b(o);if(t&&"offsetWidth"in t)if(l==="content-box"&&e){const m=e.getComputedStyle(t),g=Number.parseFloat(m.paddingLeft)+Number.parseFloat(m.paddingRight),y=Number.parseFloat(m.paddingTop)+Number.parseFloat(m.paddingBottom),R=Number.parseFloat(m.borderLeftWidth)+Number.parseFloat(m.borderRightWidth),u=Number.parseFloat(m.borderTopWidth)+Number.parseFloat(m.borderBottomWidth);c.value=t.offsetWidth-g-R,p.value=t.offsetHeight-y-u}else c.value=t.offsetWidth,p.value=t.offsetHeight;else t&&(c.value=n.width,p.value=n.height)});const h=r.watch(()=>b(o),t=>{c.value=t?n.width:0,p.value=t?n.height:0});function w(){f(),h()}return{width:c,height:p,stop:w}}function F(o){var n;const i=(n=o.rangeCount)!==null&&n!==void 0?n:0;return Array.from({length:i},(e,l)=>o.getRangeAt(l))}function P(o={}){var n;const{window:i=S}=o,e=r.shallowRef((n=i?.getSelection())!==null&&n!==void 0?n:null),l=r.computed(()=>{var f,h;return(f=(h=e.value)===null||h===void 0?void 0:h.toString())!==null&&f!==void 0?f:""}),s=r.computed(()=>e.value?F(e.value):[]),c=r.computed(()=>s.value.map(f=>f.getBoundingClientRect()));function p(){e.value=null,i&&(e.value=i.getSelection())}return i&&C(i.document,"selectionchange",p,{passive:!0}),{text:l,rects:c,ranges:s,selection:e}}exports.getLifeCycleTarget=d.getLifeCycleTarget;exports.isClient=d.isClient;exports.isObject=d.isObject;exports.noop=d.noop;exports.toArray=d.toArray;exports.tryOnMounted=d.tryOnMounted;exports.tryOnScopeDispose=d.tryOnScopeDispose;exports.watchImmediate=d.watchImmediate;exports.defaultWindow=S;exports.onClickOutside=M;exports.unrefElement=b;exports.useElementSize=$;exports.useEventListener=C;exports.useMounted=x;exports.useResizeObserver=T;exports.useSupported=A;exports.useTextSelection=P;
@@ -1,100 +1,215 @@
1
- import g from "./kongponents224.es.js";
2
- function E(t) {
3
- const e = [0];
4
- for (let r = 0; r < t.length; r++)
5
- t[r] === `
6
- ` && e.push(r + 1);
7
- return e;
1
+ import { toArray as E, watchImmediate as B, tryOnScopeDispose as M, noop as C, tryOnMounted as P, isClient as N, isObject as W } from "./kongponents219.es.js";
2
+ import { getLifeCycleTarget as _ } from "./kongponents219.es.js";
3
+ import { computed as x, toValue as w, watch as A, shallowRef as T, getCurrentInstance as O, onMounted as L, unref as I } from "vue";
4
+ const S = N ? window : void 0;
5
+ function g(o) {
6
+ var n;
7
+ const u = w(o);
8
+ return (n = u?.$el) !== null && n !== void 0 ? n : u;
8
9
  }
9
- function a(t, e) {
10
- let r = 0, n = t.length - 1;
11
- for (; r < n; ) {
12
- const i = Math.floor((r + n + 1) / 2);
13
- t[i] && t[i] <= e ? r = i : n = i - 1;
14
- }
15
- return r + 1;
10
+ function $(...o) {
11
+ const n = (e, l, r, s) => (e.addEventListener(l, r, s), () => e.removeEventListener(l, r, s)), u = x(() => {
12
+ const e = E(w(o[0])).filter((l) => l != null);
13
+ return e.every((l) => typeof l != "string") ? e : void 0;
14
+ });
15
+ return B(() => {
16
+ var e, l;
17
+ return [
18
+ (e = (l = u.value) === null || l === void 0 ? void 0 : l.map((r) => g(r))) !== null && e !== void 0 ? e : [S].filter((r) => r != null),
19
+ E(w(u.value ? o[1] : o[0])),
20
+ E(I(u.value ? o[2] : o[1])),
21
+ w(u.value ? o[3] : o[2])
22
+ ];
23
+ }, ([e, l, r, s], f, a) => {
24
+ if (!e?.length || !l?.length || !r?.length) return;
25
+ const p = W(s) ? { ...s } : s, h = e.flatMap((t) => l.flatMap((v) => r.map((m) => n(t, v, m, p))));
26
+ a(() => {
27
+ h.forEach((t) => t());
28
+ });
29
+ }, { flush: "post" });
16
30
  }
17
- function x(t, e, r) {
18
- if (!t || !e)
19
- return [];
20
- const n = [];
21
- let i = 0;
22
- for (; ; ) {
23
- const s = t.indexOf(e, i);
24
- if (s === -1) break;
25
- const l = a(r, s);
26
- n.push(l), i = (l < r.length ? r[l] : t.length) ?? 0;
31
+ function j(o, n, u = {}) {
32
+ const { window: e = S, ignore: l = [], capture: r = !0, detectIframe: s = !1, controls: f = !1 } = u;
33
+ if (!e) return f ? {
34
+ stop: C,
35
+ cancel: C,
36
+ trigger: C
37
+ } : C;
38
+ let a = !0;
39
+ const p = (i) => w(l).some((c) => {
40
+ if (typeof c == "string") return Array.from(e.document.querySelectorAll(c)).some((d) => d === i.target || i.composedPath().includes(d));
41
+ {
42
+ const d = g(c);
43
+ return d && (i.target === d || i.composedPath().includes(d));
44
+ }
45
+ });
46
+ function h(i) {
47
+ const c = w(i);
48
+ return c && c.$.subTree.shapeFlag === 16;
27
49
  }
28
- return n;
29
- }
30
- function L(t, e, r) {
31
- if (!t || !e)
32
- return [];
33
- const n = new RegExp(e, "sg"), i = [];
34
- let s;
35
- for (; (s = n.exec(t)) !== null; ) {
36
- const l = s.index, c = s.index + s[0].length - 1, u = a(r, l), m = a(r, c);
37
- for (let h = u; h <= m; h++)
38
- i[i.length - 1] !== h && i.push(h);
50
+ function t(i, c) {
51
+ const d = w(i), y = d.$.subTree && d.$.subTree.children;
52
+ return y == null || !Array.isArray(y) ? !1 : y.some((F) => F.el === c.target || c.composedPath().includes(F.el));
39
53
  }
40
- return i;
54
+ const v = (i) => {
55
+ const c = g(o);
56
+ if (i.target != null && !(!(c instanceof Element) && h(o) && t(o, i)) && !(!c || c === i.target || i.composedPath().includes(c))) {
57
+ if ("detail" in i && i.detail === 0 && (a = !p(i)), !a) {
58
+ a = !0;
59
+ return;
60
+ }
61
+ n(i);
62
+ }
63
+ };
64
+ let m = !1;
65
+ const b = [
66
+ $(e, "click", (i) => {
67
+ m || (m = !0, setTimeout(() => {
68
+ m = !1;
69
+ }, 0), v(i));
70
+ }, {
71
+ passive: !0,
72
+ capture: r
73
+ }),
74
+ $(e, "pointerdown", (i) => {
75
+ const c = g(o);
76
+ a = !p(i) && !!(c && !i.composedPath().includes(c));
77
+ }, { passive: !0 }),
78
+ s && $(e, "blur", (i) => {
79
+ setTimeout(() => {
80
+ const c = g(o);
81
+ let d = e.document.activeElement;
82
+ for (; d?.shadowRoot; ) d = d.shadowRoot.activeElement;
83
+ d?.tagName === "IFRAME" && !c?.contains(e.document.activeElement) && n(i);
84
+ }, 0);
85
+ }, { passive: !0 })
86
+ ].filter(Boolean), R = () => b.forEach((i) => i());
87
+ return f ? {
88
+ stop: R,
89
+ cancel: () => {
90
+ a = !1;
91
+ },
92
+ trigger: (i) => {
93
+ a = !0, v(i), a = !1;
94
+ }
95
+ } : R;
41
96
  }
42
- function w(t, e, r, n = E(t)) {
43
- return r ? L(t, e, n) : x(t, e, n);
97
+ // @__NO_SIDE_EFFECTS__
98
+ function k() {
99
+ const o = T(!1), n = O();
100
+ return n && L(() => {
101
+ o.value = !0;
102
+ }, n), o;
44
103
  }
45
- const M = (t) => `<mark class="matched-term">${t}</mark>`, f = /[<&]/;
46
- function o(t) {
47
- return t.replace(/[&<]/g, (e) => e === "&" ? "&amp;" : "&lt;");
104
+ // @__NO_SIDE_EFFECTS__
105
+ function z(o) {
106
+ const n = /* @__PURE__ */ k();
107
+ return x(() => (n.value, !!o()));
48
108
  }
49
- function R(t, e = f, r = o) {
50
- return e.test(t) ? r(t) : t;
109
+ function H(o, n, u = {}) {
110
+ const { window: e = S, ...l } = u;
111
+ let r;
112
+ const s = /* @__PURE__ */ z(() => e && "ResizeObserver" in e), f = () => {
113
+ r && (r.disconnect(), r = void 0);
114
+ }, a = A(x(() => {
115
+ const h = w(o);
116
+ return Array.isArray(h) ? h.map((t) => g(t)) : [g(h)];
117
+ }), (h) => {
118
+ if (f(), s.value && e) {
119
+ r = new ResizeObserver(n);
120
+ for (const t of h) t && r.observe(t, l);
121
+ }
122
+ }, {
123
+ immediate: !0,
124
+ flush: "post"
125
+ }), p = () => {
126
+ f(), a();
127
+ };
128
+ return M(p), {
129
+ isSupported: s,
130
+ stop: p
131
+ };
51
132
  }
52
- function I(t, e, r) {
53
- if (!t || !e)
54
- return "";
55
- const n = !f.test(t);
56
- let i;
57
- try {
58
- i = new RegExp(`(?:${r ? e : g(e)})+`, "sgi");
59
- } catch {
60
- return n ? t : o(t);
61
- }
62
- let s = "", l = 0, c;
63
- for (; (c = i.exec(t)) !== null; ) {
64
- const u = c.index;
65
- s += n ? t.slice(l, u) : o(t.slice(l, u)), s += M(n ? c[0] : o(c[0])), l = u + c[0].length;
133
+ function q(o, n = {
134
+ width: 0,
135
+ height: 0
136
+ }, u = {}) {
137
+ const { window: e = S, box: l = "content-box" } = u, r = x(() => {
138
+ var t;
139
+ return (t = g(o)) === null || t === void 0 || (t = t.namespaceURI) === null || t === void 0 ? void 0 : t.includes("svg");
140
+ }), s = T(n.width), f = T(n.height), { stop: a } = H(o, ([t]) => {
141
+ const v = l === "border-box" ? t.borderBoxSize : l === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
142
+ if (e && r.value) {
143
+ const m = g(o);
144
+ if (m) {
145
+ const b = m.getBoundingClientRect();
146
+ s.value = b.width, f.value = b.height;
147
+ }
148
+ } else if (v) {
149
+ const m = E(v);
150
+ s.value = m.reduce((b, { inlineSize: R }) => b + R, 0), f.value = m.reduce((b, { blockSize: R }) => b + R, 0);
151
+ } else
152
+ s.value = t.contentRect.width, f.value = t.contentRect.height;
153
+ }, u);
154
+ P(() => {
155
+ const t = g(o);
156
+ if (t && "offsetWidth" in t) if (l === "content-box" && e) {
157
+ const v = e.getComputedStyle(t), m = Number.parseFloat(v.paddingLeft) + Number.parseFloat(v.paddingRight), b = Number.parseFloat(v.paddingTop) + Number.parseFloat(v.paddingBottom), R = Number.parseFloat(v.borderLeftWidth) + Number.parseFloat(v.borderRightWidth), i = Number.parseFloat(v.borderTopWidth) + Number.parseFloat(v.borderBottomWidth);
158
+ s.value = t.offsetWidth - m - R, f.value = t.offsetHeight - b - i;
159
+ } else
160
+ s.value = t.offsetWidth, f.value = t.offsetHeight;
161
+ else t && (s.value = n.width, f.value = n.height);
162
+ });
163
+ const p = A(() => g(o), (t) => {
164
+ s.value = t ? n.width : 0, f.value = t ? n.height : 0;
165
+ });
166
+ function h() {
167
+ a(), p();
66
168
  }
67
- return s += n ? t.slice(l) : o(t.slice(l)), s;
169
+ return {
170
+ width: s,
171
+ height: f,
172
+ stop: h
173
+ };
68
174
  }
69
- const b = /^\d+(?:-\d+)?(?:,\d+(?:-\d+)?)*$/;
70
- function d(t, e) {
71
- if (!b.test(t))
72
- throw new Error("Invalid line number expression.");
73
- const r = t.split(",").map((n) => {
74
- const [i, s] = n.split("-").map(Number);
75
- return s == null ? i : [i, s];
76
- }).filter((n) => n !== void 0);
77
- return p(r, e);
175
+ function V(o) {
176
+ var n;
177
+ const u = (n = o.rangeCount) !== null && n !== void 0 ? n : 0;
178
+ return Array.from({ length: u }, (e, l) => o.getRangeAt(l));
78
179
  }
79
- function p(t, e) {
80
- const r = t.flatMap((n) => {
81
- if (typeof n == "number")
82
- return n < 1 || n > e ? [] : n;
83
- let [i, s] = n[0] < n[1] ? n : [n[1], n[0]];
84
- return i = Math.max(1, i), s = Math.min(e, s), Array.from({ length: s - i + 1 }, (l, c) => c + i);
85
- }).sort((n, i) => n - i);
86
- return Array.from(new Set(r));
87
- }
88
- function k(t, e) {
89
- return typeof t == "string" ? d(t, e) : p(t, e);
180
+ // @__NO_SIDE_EFFECTS__
181
+ function D(o = {}) {
182
+ var n;
183
+ const { window: u = S } = o, e = T((n = u?.getSelection()) !== null && n !== void 0 ? n : null), l = x(() => {
184
+ var a, p;
185
+ return (a = (p = e.value) === null || p === void 0 ? void 0 : p.toString()) !== null && a !== void 0 ? a : "";
186
+ }), r = x(() => e.value ? V(e.value) : []), s = x(() => r.value.map((a) => a.getBoundingClientRect()));
187
+ function f() {
188
+ e.value = null, u && (e.value = u.getSelection());
189
+ }
190
+ return u && $(u.document, "selectionchange", f, { passive: !0 }), {
191
+ text: l,
192
+ rects: s,
193
+ ranges: r,
194
+ selection: e
195
+ };
90
196
  }
91
197
  export {
92
- b as LINE_NUMBER_EXPRESSION_REGEX,
93
- E as buildLineOffsets,
94
- R as escapeHTMLIfNeeded,
95
- o as escapeInnerHTML,
96
- w as getMatchingLineNumbers,
97
- I as highlightMatchingChars,
98
- k as normalizeHighlightedLines,
99
- M as wrapMark
198
+ S as defaultWindow,
199
+ _ as getLifeCycleTarget,
200
+ N as isClient,
201
+ W as isObject,
202
+ C as noop,
203
+ j as onClickOutside,
204
+ E as toArray,
205
+ P as tryOnMounted,
206
+ M as tryOnScopeDispose,
207
+ g as unrefElement,
208
+ q as useElementSize,
209
+ $ as useEventListener,
210
+ k as useMounted,
211
+ H as useResizeObserver,
212
+ z as useSupported,
213
+ D as useTextSelection,
214
+ B as watchImmediate
100
215
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=typeof navigator<"u"&&("userAgentData"in navigator&&navigator.userAgentData==="macOS"||navigator.platform?.toLowerCase().includes("mac")),r=typeof navigator<"u"&&navigator.userAgent.includes("Firefox");function i(e,o){return typeof CSS<"u"&&CSS.supports(e,o)}let t=null;function l(){if(t!==null)return t;if(typeof document>"u")return 0;const e=document.createElement("div");return e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e),t}exports.IS_MAYBE_FIREFOX=r;exports.IS_MAYBE_MAC=n;exports.cssSupports=i;exports.getScrollbarSize=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Symbol("popover-parent-zindex");exports.POPOVER_PARENT_ZINDEX_KEY=e;