cos-design 3.8.0 → 4.0.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 (587) hide show
  1. package/CHANGELOG.md +74 -6
  2. package/README.md +51 -33
  3. package/dist/core-CszjZZo9.cjs +1 -0
  4. package/dist/core-On5bp2VI.js +178 -0
  5. package/dist/core.cjs +1 -0
  6. package/dist/core.d.ts +1 -0
  7. package/dist/core.js +3 -0
  8. package/dist/elements.cjs +1 -0
  9. package/dist/elements.d.ts +1 -0
  10. package/dist/elements.js +3844 -0
  11. package/dist/engine-DAYJbw0W.cjs +246 -0
  12. package/dist/engine-jGjtPKCP.js +12740 -0
  13. package/dist/index.cjs +1 -249
  14. package/dist/index.js +2052 -13767
  15. package/dist/src/components/audioVisualizer/core/engine.d.ts +2 -0
  16. package/dist/src/components/audioVisualizer/core/index.d.ts +2 -0
  17. package/dist/src/components/audioVisualizer/core/types.d.ts +11 -0
  18. package/dist/src/components/audioVisualizer/element/index.d.ts +9 -0
  19. package/dist/src/components/audioVisualizer/index.d.ts +3 -9
  20. package/dist/src/components/audioVisualizer/react/index.d.ts +4 -0
  21. package/dist/src/components/aurora/core/engine.d.ts +2 -0
  22. package/dist/src/components/aurora/core/index.d.ts +2 -0
  23. package/dist/src/components/aurora/core/types.d.ts +11 -0
  24. package/dist/src/components/aurora/element/index.d.ts +13 -0
  25. package/dist/src/components/aurora/index.d.ts +3 -11
  26. package/dist/src/components/aurora/react/index.d.ts +4 -0
  27. package/dist/src/components/auroraVeil/core/engine.d.ts +2 -0
  28. package/dist/src/components/auroraVeil/core/index.d.ts +2 -0
  29. package/dist/src/components/auroraVeil/core/types.d.ts +15 -0
  30. package/dist/src/components/auroraVeil/element/index.d.ts +13 -0
  31. package/dist/src/components/auroraVeil/index.d.ts +3 -19
  32. package/dist/src/components/auroraVeil/react/index.d.ts +4 -0
  33. package/dist/src/components/barcodeScan/core/engine.d.ts +2 -0
  34. package/dist/src/components/barcodeScan/core/index.d.ts +2 -0
  35. package/dist/src/components/barcodeScan/core/types.d.ts +12 -0
  36. package/dist/src/components/barcodeScan/element/index.d.ts +14 -0
  37. package/dist/src/components/barcodeScan/index.d.ts +3 -11
  38. package/dist/src/components/barcodeScan/react/index.d.ts +6 -0
  39. package/dist/src/components/blurText/core/engine.d.ts +2 -0
  40. package/dist/src/components/blurText/core/index.d.ts +2 -0
  41. package/dist/src/components/blurText/core/types.d.ts +15 -0
  42. package/dist/src/components/blurText/element/index.d.ts +16 -0
  43. package/dist/src/components/blurText/index.d.ts +3 -21
  44. package/dist/src/components/blurText/react/index.d.ts +4 -0
  45. package/dist/src/components/bubbleField/core/engine.d.ts +2 -0
  46. package/dist/src/components/bubbleField/core/index.d.ts +2 -0
  47. package/dist/src/components/bubbleField/core/types.d.ts +14 -0
  48. package/dist/src/components/bubbleField/element/index.d.ts +9 -0
  49. package/dist/src/components/bubbleField/index.d.ts +3 -5
  50. package/dist/src/components/bubbleField/react/index.d.ts +4 -0
  51. package/dist/src/components/burnAway/core/engine.d.ts +2 -0
  52. package/dist/src/components/burnAway/core/index.d.ts +2 -0
  53. package/dist/src/components/burnAway/core/types.d.ts +13 -0
  54. package/dist/src/components/burnAway/element/index.d.ts +10 -0
  55. package/dist/src/components/burnAway/index.d.ts +3 -13
  56. package/dist/src/components/burnAway/react/index.d.ts +4 -0
  57. package/dist/src/components/canvasClock/core/engine.d.ts +2 -0
  58. package/dist/src/components/canvasClock/core/index.d.ts +2 -0
  59. package/dist/src/components/canvasClock/core/types.d.ts +9 -0
  60. package/dist/src/components/canvasClock/element/index.d.ts +9 -0
  61. package/dist/src/components/canvasClock/index.d.ts +3 -9
  62. package/dist/src/components/canvasClock/react/index.d.ts +4 -0
  63. package/dist/src/components/charge/core/engine.d.ts +2 -0
  64. package/dist/src/components/charge/core/index.d.ts +2 -0
  65. package/dist/src/components/charge/core/types.d.ts +14 -0
  66. package/dist/src/components/charge/element/index.d.ts +9 -0
  67. package/dist/src/components/charge/index.d.ts +3 -19
  68. package/dist/src/components/charge/react/index.d.ts +4 -0
  69. package/dist/src/components/circularText/core/engine.d.ts +2 -0
  70. package/dist/src/components/circularText/core/index.d.ts +2 -0
  71. package/dist/src/components/circularText/core/types.d.ts +13 -0
  72. package/dist/src/components/circularText/element/index.d.ts +13 -0
  73. package/dist/src/components/circularText/index.d.ts +3 -17
  74. package/dist/src/components/circularText/react/index.d.ts +4 -0
  75. package/dist/src/components/clickSpark/core/engine.d.ts +2 -0
  76. package/dist/src/components/clickSpark/core/index.d.ts +2 -0
  77. package/dist/src/components/clickSpark/core/types.d.ts +13 -0
  78. package/dist/src/components/clickSpark/element/index.d.ts +13 -0
  79. package/dist/src/components/clickSpark/index.d.ts +3 -10
  80. package/dist/src/components/clickSpark/react/index.d.ts +6 -0
  81. package/dist/src/components/confetti/core/engine.d.ts +2 -0
  82. package/dist/src/components/confetti/core/index.d.ts +2 -0
  83. package/dist/src/components/confetti/core/types.d.ts +19 -0
  84. package/dist/src/components/confetti/element/index.d.ts +10 -0
  85. package/dist/src/components/confetti/index.d.ts +3 -25
  86. package/dist/src/components/confetti/react/index.d.ts +5 -0
  87. package/dist/src/components/countUp/core/engine.d.ts +2 -0
  88. package/dist/src/components/countUp/core/index.d.ts +2 -0
  89. package/dist/src/components/countUp/core/types.d.ts +14 -0
  90. package/dist/src/components/countUp/element/index.d.ts +9 -0
  91. package/dist/src/components/countUp/index.d.ts +3 -19
  92. package/dist/src/components/countUp/react/index.d.ts +4 -0
  93. package/dist/src/components/countdown/core/engine.d.ts +2 -0
  94. package/dist/src/components/countdown/core/index.d.ts +2 -0
  95. package/dist/src/components/countdown/core/types.d.ts +14 -0
  96. package/dist/src/components/countdown/element/index.d.ts +13 -0
  97. package/dist/src/components/countdown/index.d.ts +3 -26
  98. package/dist/src/components/countdown/react/index.d.ts +4 -0
  99. package/dist/src/components/cursorTrail/core/engine.d.ts +2 -0
  100. package/dist/src/components/cursorTrail/core/index.d.ts +2 -0
  101. package/dist/src/components/cursorTrail/core/types.d.ts +12 -0
  102. package/dist/src/components/cursorTrail/element/index.d.ts +9 -0
  103. package/dist/src/components/cursorTrail/index.d.ts +3 -13
  104. package/dist/src/components/cursorTrail/react/index.d.ts +4 -0
  105. package/dist/src/components/curvedLoop/core/engine.d.ts +2 -0
  106. package/dist/src/components/curvedLoop/core/index.d.ts +2 -0
  107. package/dist/src/components/curvedLoop/core/types.d.ts +14 -0
  108. package/dist/src/components/curvedLoop/element/index.d.ts +13 -0
  109. package/dist/src/components/curvedLoop/index.d.ts +3 -19
  110. package/dist/src/components/curvedLoop/react/index.d.ts +4 -0
  111. package/dist/src/components/cyberGrid/core/engine.d.ts +2 -0
  112. package/dist/src/components/cyberGrid/core/index.d.ts +2 -0
  113. package/dist/src/components/cyberGrid/core/types.d.ts +12 -0
  114. package/dist/src/components/cyberGrid/element/index.d.ts +9 -0
  115. package/dist/src/components/cyberGrid/index.d.ts +3 -13
  116. package/dist/src/components/cyberGrid/react/index.d.ts +4 -0
  117. package/dist/src/components/dandelionField/core/engine.d.ts +2 -0
  118. package/dist/src/components/dandelionField/core/index.d.ts +2 -0
  119. package/dist/src/components/dandelionField/core/types.d.ts +15 -0
  120. package/dist/src/components/dandelionField/element/index.d.ts +9 -0
  121. package/dist/src/components/dandelionField/index.d.ts +3 -5
  122. package/dist/src/components/dandelionField/react/index.d.ts +4 -0
  123. package/dist/src/components/diceRoll/core/engine.d.ts +2 -0
  124. package/dist/src/components/diceRoll/core/index.d.ts +2 -0
  125. package/dist/src/components/diceRoll/core/types.d.ts +12 -0
  126. package/dist/src/components/diceRoll/element/index.d.ts +13 -0
  127. package/dist/src/components/diceRoll/index.d.ts +3 -15
  128. package/dist/src/components/diceRoll/react/index.d.ts +4 -0
  129. package/dist/src/components/dnaHelix/core/engine.d.ts +2 -0
  130. package/dist/src/components/dnaHelix/core/index.d.ts +2 -0
  131. package/dist/src/components/dnaHelix/core/types.d.ts +11 -0
  132. package/dist/src/components/dnaHelix/element/index.d.ts +9 -0
  133. package/dist/src/components/dnaHelix/index.d.ts +3 -9
  134. package/dist/src/components/dnaHelix/react/index.d.ts +4 -0
  135. package/dist/src/components/doublePendulum/core/engine.d.ts +2 -0
  136. package/dist/src/components/doublePendulum/core/index.d.ts +2 -0
  137. package/dist/src/components/doublePendulum/core/types.d.ts +12 -0
  138. package/dist/src/components/doublePendulum/element/index.d.ts +9 -0
  139. package/dist/src/components/doublePendulum/index.d.ts +3 -10
  140. package/dist/src/components/doublePendulum/react/index.d.ts +4 -0
  141. package/dist/src/components/electricArc/core/engine.d.ts +2 -0
  142. package/dist/src/components/electricArc/core/index.d.ts +2 -0
  143. package/dist/src/components/electricArc/core/types.d.ts +10 -0
  144. package/dist/src/components/electricArc/element/index.d.ts +9 -0
  145. package/dist/src/components/electricArc/index.d.ts +3 -8
  146. package/dist/src/components/electricArc/react/index.d.ts +4 -0
  147. package/dist/src/components/fireworks/core/engine.d.ts +2 -0
  148. package/dist/src/components/fireworks/core/index.d.ts +2 -0
  149. package/dist/src/components/fireworks/core/types.d.ts +23 -0
  150. package/dist/src/components/fireworks/element/index.d.ts +10 -0
  151. package/dist/src/components/fireworks/index.d.ts +3 -23
  152. package/dist/src/components/fireworks/react/index.d.ts +4 -0
  153. package/dist/src/components/flipCard/core/engine.d.ts +2 -0
  154. package/dist/src/components/flipCard/core/index.d.ts +2 -0
  155. package/dist/src/components/flipCard/core/types.d.ts +22 -0
  156. package/dist/src/components/flipCard/element/index.d.ts +11 -0
  157. package/dist/src/components/flipCard/index.d.ts +3 -29
  158. package/dist/src/components/flipCard/react/index.d.ts +5 -0
  159. package/dist/src/components/flipCounter/core/engine.d.ts +2 -0
  160. package/dist/src/components/flipCounter/core/index.d.ts +2 -0
  161. package/dist/src/components/flipCounter/core/types.d.ts +15 -0
  162. package/dist/src/components/flipCounter/element/index.d.ts +9 -0
  163. package/dist/src/components/flipCounter/index.d.ts +3 -13
  164. package/dist/src/components/flipCounter/react/index.d.ts +4 -0
  165. package/dist/src/components/fuzzyText/core/engine.d.ts +2 -0
  166. package/dist/src/components/fuzzyText/core/index.d.ts +2 -0
  167. package/dist/src/components/fuzzyText/core/types.d.ts +15 -0
  168. package/dist/src/components/fuzzyText/element/index.d.ts +9 -0
  169. package/dist/src/components/fuzzyText/index.d.ts +3 -21
  170. package/dist/src/components/fuzzyText/react/index.d.ts +4 -0
  171. package/dist/src/components/gameOfLife/core/engine.d.ts +2 -0
  172. package/dist/src/components/gameOfLife/core/index.d.ts +2 -0
  173. package/dist/src/components/gameOfLife/core/types.d.ts +21 -0
  174. package/dist/src/components/gameOfLife/element/index.d.ts +13 -0
  175. package/dist/src/components/gameOfLife/index.d.ts +3 -25
  176. package/dist/src/components/gameOfLife/react/index.d.ts +4 -0
  177. package/dist/src/components/glitchText/core/engine.d.ts +2 -0
  178. package/dist/src/components/glitchText/core/index.d.ts +2 -0
  179. package/dist/src/components/glitchText/core/types.d.ts +12 -0
  180. package/dist/src/components/glitchText/element/index.d.ts +9 -0
  181. package/dist/src/components/glitchText/index.d.ts +3 -15
  182. package/dist/src/components/glitchText/react/index.d.ts +4 -0
  183. package/dist/src/components/gradientFlow/core/engine.d.ts +2 -0
  184. package/dist/src/components/gradientFlow/core/index.d.ts +2 -0
  185. package/dist/src/components/gradientFlow/core/types.d.ts +10 -0
  186. package/dist/src/components/gradientFlow/element/index.d.ts +13 -0
  187. package/dist/src/components/gradientFlow/index.d.ts +3 -11
  188. package/dist/src/components/gradientFlow/react/index.d.ts +4 -0
  189. package/dist/src/components/gravityBalls/core/engine.d.ts +2 -0
  190. package/dist/src/components/gravityBalls/core/index.d.ts +2 -0
  191. package/dist/src/components/gravityBalls/core/types.d.ts +10 -0
  192. package/dist/src/components/gravityBalls/element/index.d.ts +9 -0
  193. package/dist/src/components/gravityBalls/index.d.ts +3 -8
  194. package/dist/src/components/gravityBalls/react/index.d.ts +4 -0
  195. package/dist/src/components/holographicCard/core/engine.d.ts +2 -0
  196. package/dist/src/components/holographicCard/core/index.d.ts +2 -0
  197. package/dist/src/components/holographicCard/core/types.d.ts +10 -0
  198. package/dist/src/components/holographicCard/element/index.d.ts +9 -0
  199. package/dist/src/components/holographicCard/index.d.ts +3 -8
  200. package/dist/src/components/holographicCard/react/index.d.ts +4 -0
  201. package/dist/src/components/index.d.ts +7 -7
  202. package/dist/src/components/inkBloom/core/engine.d.ts +6 -0
  203. package/dist/src/components/inkBloom/core/index.d.ts +2 -0
  204. package/dist/src/components/inkBloom/core/types.d.ts +14 -0
  205. package/dist/src/components/inkBloom/element/index.d.ts +9 -0
  206. package/dist/src/components/inkBloom/index.d.ts +3 -21
  207. package/dist/src/components/inkBloom/react/index.d.ts +4 -0
  208. package/dist/src/components/lavaBubble/core/engine.d.ts +2 -0
  209. package/dist/src/components/lavaBubble/core/index.d.ts +2 -0
  210. package/dist/src/components/lavaBubble/core/types.d.ts +16 -0
  211. package/dist/src/components/lavaBubble/element/index.d.ts +9 -0
  212. package/dist/src/components/lavaBubble/index.d.ts +3 -24
  213. package/dist/src/components/lavaBubble/react/index.d.ts +4 -0
  214. package/dist/src/components/liquidGlass/core/engine.d.ts +2 -0
  215. package/dist/src/components/liquidGlass/core/index.d.ts +2 -0
  216. package/dist/src/components/liquidGlass/core/types.d.ts +12 -0
  217. package/dist/src/components/liquidGlass/element/index.d.ts +14 -0
  218. package/dist/src/components/liquidGlass/index.d.ts +3 -10
  219. package/dist/src/components/liquidGlass/react/index.d.ts +6 -0
  220. package/dist/src/components/liquidProgress/core/engine.d.ts +2 -0
  221. package/dist/src/components/liquidProgress/core/index.d.ts +2 -0
  222. package/dist/src/components/liquidProgress/core/types.d.ts +11 -0
  223. package/dist/src/components/liquidProgress/element/index.d.ts +9 -0
  224. package/dist/src/components/liquidProgress/index.d.ts +3 -9
  225. package/dist/src/components/liquidProgress/react/index.d.ts +4 -0
  226. package/dist/src/components/lorenzAttractor/core/engine.d.ts +2 -0
  227. package/dist/src/components/lorenzAttractor/core/index.d.ts +2 -0
  228. package/dist/src/components/lorenzAttractor/core/types.d.ts +12 -0
  229. package/dist/src/components/lorenzAttractor/element/index.d.ts +9 -0
  230. package/dist/src/components/lorenzAttractor/index.d.ts +3 -10
  231. package/dist/src/components/lorenzAttractor/react/index.d.ts +4 -0
  232. package/dist/src/components/magneticButton/core/engine.d.ts +2 -0
  233. package/dist/src/components/magneticButton/core/index.d.ts +2 -0
  234. package/dist/src/components/magneticButton/core/types.d.ts +12 -0
  235. package/dist/src/components/magneticButton/element/index.d.ts +14 -0
  236. package/dist/src/components/magneticButton/index.d.ts +3 -10
  237. package/dist/src/components/magneticButton/react/index.d.ts +6 -0
  238. package/dist/src/components/matrixRain/core/engine.d.ts +2 -0
  239. package/dist/src/components/matrixRain/core/index.d.ts +2 -0
  240. package/dist/src/components/matrixRain/core/types.d.ts +15 -0
  241. package/dist/src/components/matrixRain/element/index.d.ts +9 -0
  242. package/dist/src/components/matrixRain/index.d.ts +3 -19
  243. package/dist/src/components/matrixRain/react/index.d.ts +4 -0
  244. package/dist/src/components/mazeGenerator/core/engine.d.ts +2 -0
  245. package/dist/src/components/mazeGenerator/core/index.d.ts +2 -0
  246. package/dist/src/components/mazeGenerator/core/types.d.ts +11 -0
  247. package/dist/src/components/mazeGenerator/element/index.d.ts +9 -0
  248. package/dist/src/components/mazeGenerator/index.d.ts +3 -9
  249. package/dist/src/components/mazeGenerator/react/index.d.ts +4 -0
  250. package/dist/src/components/metaballPool/core/engine.d.ts +2 -0
  251. package/dist/src/components/metaballPool/core/index.d.ts +2 -0
  252. package/dist/src/components/metaballPool/core/types.d.ts +11 -0
  253. package/dist/src/components/metaballPool/element/index.d.ts +9 -0
  254. package/dist/src/components/metaballPool/index.d.ts +3 -9
  255. package/dist/src/components/metaballPool/react/index.d.ts +4 -0
  256. package/dist/src/components/meteorRain/core/engine.d.ts +2 -0
  257. package/dist/src/components/meteorRain/core/index.d.ts +2 -0
  258. package/dist/src/components/meteorRain/core/types.d.ts +11 -0
  259. package/dist/src/components/meteorRain/element/index.d.ts +9 -0
  260. package/dist/src/components/meteorRain/index.d.ts +3 -11
  261. package/dist/src/components/meteorRain/react/index.d.ts +4 -0
  262. package/dist/src/components/neonText/core/engine.d.ts +2 -0
  263. package/dist/src/components/neonText/core/index.d.ts +2 -0
  264. package/dist/src/components/neonText/core/types.d.ts +11 -0
  265. package/dist/src/components/neonText/element/index.d.ts +9 -0
  266. package/dist/src/components/neonText/index.d.ts +3 -13
  267. package/dist/src/components/neonText/react/index.d.ts +4 -0
  268. package/dist/src/components/networkGraph/core/engine.d.ts +2 -0
  269. package/dist/src/components/networkGraph/core/index.d.ts +2 -0
  270. package/dist/src/components/networkGraph/core/types.d.ts +23 -0
  271. package/dist/src/components/networkGraph/element/index.d.ts +16 -0
  272. package/dist/src/components/networkGraph/index.d.ts +3 -26
  273. package/dist/src/components/networkGraph/react/index.d.ts +4 -0
  274. package/dist/src/components/newtonCradle/core/engine.d.ts +2 -0
  275. package/dist/src/components/newtonCradle/core/index.d.ts +2 -0
  276. package/dist/src/components/newtonCradle/core/types.d.ts +11 -0
  277. package/dist/src/components/newtonCradle/element/index.d.ts +9 -0
  278. package/dist/src/components/newtonCradle/index.d.ts +3 -9
  279. package/dist/src/components/newtonCradle/react/index.d.ts +4 -0
  280. package/dist/src/components/nineGrid/core/engine.d.ts +2 -0
  281. package/dist/src/components/nineGrid/core/index.d.ts +2 -0
  282. package/dist/src/components/nineGrid/core/types.d.ts +31 -0
  283. package/dist/src/components/nineGrid/element/index.d.ts +15 -0
  284. package/dist/src/components/nineGrid/index.d.ts +3 -29
  285. package/dist/src/components/nineGrid/react/index.d.ts +5 -0
  286. package/dist/src/components/orbitalChart/core/engine.d.ts +2 -0
  287. package/dist/src/components/orbitalChart/core/index.d.ts +2 -0
  288. package/dist/src/components/orbitalChart/core/types.d.ts +14 -0
  289. package/dist/src/components/orbitalChart/element/index.d.ts +13 -0
  290. package/dist/src/components/orbitalChart/index.d.ts +3 -12
  291. package/dist/src/components/orbitalChart/react/index.d.ts +4 -0
  292. package/dist/src/components/particleNetwork/core/engine.d.ts +2 -0
  293. package/dist/src/components/particleNetwork/core/index.d.ts +2 -0
  294. package/dist/src/components/particleNetwork/core/types.d.ts +15 -0
  295. package/dist/src/components/particleNetwork/element/index.d.ts +9 -0
  296. package/dist/src/components/particleNetwork/index.d.ts +3 -19
  297. package/dist/src/components/particleNetwork/react/index.d.ts +4 -0
  298. package/dist/src/components/photoAlbum/core/engine.d.ts +2 -0
  299. package/dist/src/components/photoAlbum/core/index.d.ts +2 -0
  300. package/dist/src/components/photoAlbum/core/types.d.ts +7 -0
  301. package/dist/src/components/photoAlbum/element/index.d.ts +16 -0
  302. package/dist/src/components/photoAlbum/index.d.ts +3 -5
  303. package/dist/src/components/photoAlbum/react/index.d.ts +3 -0
  304. package/dist/src/components/photoAlbum/types.d.ts +3 -3
  305. package/dist/src/components/photoCarousel/core/engine.d.ts +2 -0
  306. package/dist/src/components/photoCarousel/core/index.d.ts +2 -0
  307. package/dist/src/components/photoCarousel/core/types.d.ts +7 -0
  308. package/dist/src/components/photoCarousel/element/index.d.ts +13 -0
  309. package/dist/src/components/photoCarousel/index.d.ts +3 -9
  310. package/dist/src/components/photoCarousel/react/index.d.ts +3 -0
  311. package/dist/src/components/photoCarousel/types.d.ts +2 -2
  312. package/dist/src/components/photoClothesline/core/engine.d.ts +2 -0
  313. package/dist/src/components/photoClothesline/core/index.d.ts +2 -0
  314. package/dist/src/components/photoClothesline/core/types.d.ts +7 -0
  315. package/dist/src/components/photoClothesline/element/index.d.ts +13 -0
  316. package/dist/src/components/photoClothesline/index.d.ts +3 -5
  317. package/dist/src/components/photoClothesline/layout.d.ts +2 -2
  318. package/dist/src/components/photoClothesline/react/index.d.ts +3 -0
  319. package/dist/src/components/photoClothesline/types.d.ts +3 -3
  320. package/dist/src/components/photoFilmstrip/core/engine.d.ts +2 -0
  321. package/dist/src/components/photoFilmstrip/core/index.d.ts +2 -0
  322. package/dist/src/components/photoFilmstrip/core/types.d.ts +7 -0
  323. package/dist/src/components/photoFilmstrip/element/index.d.ts +13 -0
  324. package/dist/src/components/photoFilmstrip/index.d.ts +3 -5
  325. package/dist/src/components/photoFilmstrip/react/index.d.ts +3 -0
  326. package/dist/src/components/photoFilmstrip/types.d.ts +2 -2
  327. package/dist/src/components/photoFridge/core/engine.d.ts +2 -0
  328. package/dist/src/components/photoFridge/core/index.d.ts +2 -0
  329. package/dist/src/components/photoFridge/core/types.d.ts +7 -0
  330. package/dist/src/components/photoFridge/element/index.d.ts +13 -0
  331. package/dist/src/components/photoFridge/index.d.ts +3 -5
  332. package/dist/src/components/photoFridge/react/index.d.ts +3 -0
  333. package/dist/src/components/photoFridge/types.d.ts +2 -2
  334. package/dist/src/components/photoLantern/core/engine.d.ts +2 -0
  335. package/dist/src/components/photoLantern/core/index.d.ts +2 -0
  336. package/dist/src/components/photoLantern/core/types.d.ts +7 -0
  337. package/dist/src/components/photoLantern/element/index.d.ts +13 -0
  338. package/dist/src/components/photoLantern/index.d.ts +3 -5
  339. package/dist/src/components/photoLantern/react/index.d.ts +3 -0
  340. package/dist/src/components/photoLantern/types.d.ts +3 -3
  341. package/dist/src/components/photoLightbox/core/engine.d.ts +2 -0
  342. package/dist/src/components/photoLightbox/core/index.d.ts +2 -0
  343. package/dist/src/components/photoLightbox/core/types.d.ts +7 -0
  344. package/dist/src/components/photoLightbox/element/index.d.ts +13 -0
  345. package/dist/src/components/photoLightbox/index.d.ts +3 -5
  346. package/dist/src/components/photoLightbox/react/index.d.ts +3 -0
  347. package/dist/src/components/photoLightbox/types.d.ts +2 -2
  348. package/dist/src/components/photoPolaroid/core/engine.d.ts +2 -0
  349. package/dist/src/components/photoPolaroid/core/index.d.ts +2 -0
  350. package/dist/src/components/photoPolaroid/core/types.d.ts +7 -0
  351. package/dist/src/components/photoPolaroid/element/index.d.ts +13 -0
  352. package/dist/src/components/photoPolaroid/index.d.ts +3 -5
  353. package/dist/src/components/photoPolaroid/react/index.d.ts +3 -0
  354. package/dist/src/components/photoPolaroid/types.d.ts +2 -2
  355. package/dist/src/components/photoPostcard/core/engine.d.ts +6 -0
  356. package/dist/src/components/photoPostcard/core/index.d.ts +2 -0
  357. package/dist/src/components/photoPostcard/core/types.d.ts +7 -0
  358. package/dist/src/components/photoPostcard/element/index.d.ts +13 -0
  359. package/dist/src/components/photoPostcard/index.d.ts +3 -8
  360. package/dist/src/components/photoPostcard/react/index.d.ts +10 -0
  361. package/dist/src/components/photoPostcard/types.d.ts +2 -2
  362. package/dist/src/components/photoPrism/core/engine.d.ts +2 -0
  363. package/dist/src/components/photoPrism/core/index.d.ts +2 -0
  364. package/dist/src/components/photoPrism/core/types.d.ts +7 -0
  365. package/dist/src/components/photoPrism/element/index.d.ts +13 -0
  366. package/dist/src/components/photoPrism/index.d.ts +3 -9
  367. package/dist/src/components/photoPrism/react/index.d.ts +3 -0
  368. package/dist/src/components/photoPrism/types.d.ts +2 -2
  369. package/dist/src/components/photoScroll/core/engine.d.ts +2 -0
  370. package/dist/src/components/photoScroll/core/index.d.ts +2 -0
  371. package/dist/src/components/photoScroll/core/types.d.ts +7 -0
  372. package/dist/src/components/photoScroll/element/index.d.ts +13 -0
  373. package/dist/src/components/photoScroll/index.d.ts +3 -9
  374. package/dist/src/components/photoScroll/react/index.d.ts +3 -0
  375. package/dist/src/components/photoScroll/types.d.ts +2 -2
  376. package/dist/src/components/photoTunnel/core/engine.d.ts +2 -0
  377. package/dist/src/components/photoTunnel/core/index.d.ts +2 -0
  378. package/dist/src/components/photoTunnel/core/types.d.ts +7 -0
  379. package/dist/src/components/photoTunnel/element/index.d.ts +13 -0
  380. package/dist/src/components/photoTunnel/index.d.ts +3 -9
  381. package/dist/src/components/photoTunnel/react/index.d.ts +3 -0
  382. package/dist/src/components/photoTunnel/types.d.ts +2 -2
  383. package/dist/src/components/photoViewMaster/core/engine.d.ts +2 -0
  384. package/dist/src/components/photoViewMaster/core/index.d.ts +2 -0
  385. package/dist/src/components/photoViewMaster/core/types.d.ts +7 -0
  386. package/dist/src/components/photoViewMaster/element/index.d.ts +13 -0
  387. package/dist/src/components/photoViewMaster/index.d.ts +3 -9
  388. package/dist/src/components/photoViewMaster/react/index.d.ts +3 -0
  389. package/dist/src/components/photoViewMaster/types.d.ts +2 -2
  390. package/dist/src/components/plasmaBall/core/engine.d.ts +2 -0
  391. package/dist/src/components/plasmaBall/core/index.d.ts +2 -0
  392. package/dist/src/components/plasmaBall/core/types.d.ts +11 -0
  393. package/dist/src/components/plasmaBall/element/index.d.ts +9 -0
  394. package/dist/src/components/plasmaBall/index.d.ts +3 -9
  395. package/dist/src/components/plasmaBall/react/index.d.ts +4 -0
  396. package/dist/src/components/progressChest/core/engine.d.ts +2 -0
  397. package/dist/src/components/progressChest/core/index.d.ts +2 -0
  398. package/dist/src/components/progressChest/core/types.d.ts +14 -0
  399. package/dist/src/components/progressChest/element/index.d.ts +9 -0
  400. package/dist/src/components/progressChest/index.d.ts +3 -13
  401. package/dist/src/components/progressChest/react/index.d.ts +4 -0
  402. package/dist/src/components/radarScan/core/engine.d.ts +2 -0
  403. package/dist/src/components/radarScan/core/index.d.ts +2 -0
  404. package/dist/src/components/radarScan/core/types.d.ts +10 -0
  405. package/dist/src/components/radarScan/element/index.d.ts +9 -0
  406. package/dist/src/components/radarScan/index.d.ts +3 -9
  407. package/dist/src/components/radarScan/react/index.d.ts +4 -0
  408. package/dist/src/components/redPacketRain/core/engine.d.ts +2 -0
  409. package/dist/src/components/redPacketRain/core/index.d.ts +2 -0
  410. package/dist/src/components/redPacketRain/core/types.d.ts +25 -0
  411. package/dist/src/components/redPacketRain/element/index.d.ts +12 -0
  412. package/dist/src/components/redPacketRain/index.d.ts +3 -33
  413. package/dist/src/components/redPacketRain/react/index.d.ts +5 -0
  414. package/dist/src/components/returnCity/core/engine.d.ts +2 -0
  415. package/dist/src/components/returnCity/core/index.d.ts +2 -0
  416. package/dist/src/components/returnCity/core/types.d.ts +10 -0
  417. package/dist/src/components/returnCity/element/index.d.ts +9 -0
  418. package/dist/src/components/returnCity/index.d.ts +3 -11
  419. package/dist/src/components/returnCity/react/index.d.ts +4 -0
  420. package/dist/src/components/rippleWater/core/engine.d.ts +2 -0
  421. package/dist/src/components/rippleWater/core/index.d.ts +2 -0
  422. package/dist/src/components/rippleWater/core/types.d.ts +24 -0
  423. package/dist/src/components/rippleWater/element/index.d.ts +9 -0
  424. package/dist/src/components/rippleWater/index.d.ts +3 -37
  425. package/dist/src/components/rippleWater/react/index.d.ts +4 -0
  426. package/dist/src/components/ropeChain/core/engine.d.ts +2 -0
  427. package/dist/src/components/ropeChain/core/index.d.ts +2 -0
  428. package/dist/src/components/ropeChain/core/types.d.ts +12 -0
  429. package/dist/src/components/ropeChain/element/index.d.ts +9 -0
  430. package/dist/src/components/ropeChain/index.d.ts +3 -10
  431. package/dist/src/components/ropeChain/react/index.d.ts +4 -0
  432. package/dist/src/components/rotatingText/core/engine.d.ts +2 -0
  433. package/dist/src/components/rotatingText/core/index.d.ts +2 -0
  434. package/dist/src/components/rotatingText/core/types.d.ts +14 -0
  435. package/dist/src/components/rotatingText/element/index.d.ts +13 -0
  436. package/dist/src/components/rotatingText/index.d.ts +3 -19
  437. package/dist/src/components/rotatingText/react/index.d.ts +4 -0
  438. package/dist/src/components/sandFall/core/engine.d.ts +2 -0
  439. package/dist/src/components/sandFall/core/index.d.ts +2 -0
  440. package/dist/src/components/sandFall/core/types.d.ts +14 -0
  441. package/dist/src/components/sandFall/element/index.d.ts +13 -0
  442. package/dist/src/components/sandFall/index.d.ts +3 -17
  443. package/dist/src/components/sandFall/react/index.d.ts +4 -0
  444. package/dist/src/components/scrambleText/core/engine.d.ts +2 -0
  445. package/dist/src/components/scrambleText/core/index.d.ts +2 -0
  446. package/dist/src/components/scrambleText/core/types.d.ts +10 -0
  447. package/dist/src/components/scrambleText/element/index.d.ts +9 -0
  448. package/dist/src/components/scrambleText/index.d.ts +3 -11
  449. package/dist/src/components/scrambleText/react/index.d.ts +4 -0
  450. package/dist/src/components/scratchCard/core/engine.d.ts +2 -0
  451. package/dist/src/components/scratchCard/core/index.d.ts +2 -0
  452. package/dist/src/components/scratchCard/core/types.d.ts +25 -0
  453. package/dist/src/components/scratchCard/element/index.d.ts +11 -0
  454. package/dist/src/components/scratchCard/index.d.ts +3 -23
  455. package/dist/src/components/scratchCard/react/index.d.ts +5 -0
  456. package/dist/src/components/shinyText/core/engine.d.ts +2 -0
  457. package/dist/src/components/shinyText/core/index.d.ts +2 -0
  458. package/dist/src/components/shinyText/core/types.d.ts +13 -0
  459. package/dist/src/components/shinyText/element/index.d.ts +9 -0
  460. package/dist/src/components/shinyText/index.d.ts +3 -17
  461. package/dist/src/components/shinyText/react/index.d.ts +4 -0
  462. package/dist/src/components/slotMachine/core/engine.d.ts +2 -0
  463. package/dist/src/components/slotMachine/core/index.d.ts +2 -0
  464. package/dist/src/components/slotMachine/core/types.d.ts +31 -0
  465. package/dist/src/components/slotMachine/element/index.d.ts +18 -0
  466. package/dist/src/components/slotMachine/index.d.ts +3 -29
  467. package/dist/src/components/slotMachine/react/index.d.ts +5 -0
  468. package/dist/src/components/smokeFog/core/engine.d.ts +2 -0
  469. package/dist/src/components/smokeFog/core/index.d.ts +2 -0
  470. package/dist/src/components/smokeFog/core/types.d.ts +18 -0
  471. package/dist/src/components/smokeFog/element/index.d.ts +9 -0
  472. package/dist/src/components/smokeFog/index.d.ts +3 -25
  473. package/dist/src/components/smokeFog/react/index.d.ts +4 -0
  474. package/dist/src/components/snowfall/core/engine.d.ts +2 -0
  475. package/dist/src/components/snowfall/core/index.d.ts +2 -0
  476. package/dist/src/components/snowfall/core/types.d.ts +12 -0
  477. package/dist/src/components/snowfall/element/index.d.ts +13 -0
  478. package/dist/src/components/snowfall/index.d.ts +3 -13
  479. package/dist/src/components/snowfall/react/index.d.ts +4 -0
  480. package/dist/src/components/soapBubbles/core/engine.d.ts +2 -0
  481. package/dist/src/components/soapBubbles/core/index.d.ts +2 -0
  482. package/dist/src/components/soapBubbles/core/types.d.ts +14 -0
  483. package/dist/src/components/soapBubbles/element/index.d.ts +9 -0
  484. package/dist/src/components/soapBubbles/index.d.ts +3 -20
  485. package/dist/src/components/soapBubbles/react/index.d.ts +4 -0
  486. package/dist/src/components/solarSystem/core/engine.d.ts +2 -0
  487. package/dist/src/components/solarSystem/core/index.d.ts +2 -0
  488. package/dist/src/components/solarSystem/core/types.d.ts +11 -0
  489. package/dist/src/components/solarSystem/element/index.d.ts +9 -0
  490. package/dist/src/components/solarSystem/index.d.ts +3 -9
  491. package/dist/src/components/solarSystem/react/index.d.ts +4 -0
  492. package/dist/src/components/speedometer/core/engine.d.ts +2 -0
  493. package/dist/src/components/speedometer/core/index.d.ts +2 -0
  494. package/dist/src/components/speedometer/core/types.d.ts +11 -0
  495. package/dist/src/components/speedometer/element/index.d.ts +9 -0
  496. package/dist/src/components/speedometer/index.d.ts +3 -9
  497. package/dist/src/components/speedometer/react/index.d.ts +4 -0
  498. package/dist/src/components/splitReveal/core/engine.d.ts +2 -0
  499. package/dist/src/components/splitReveal/core/index.d.ts +2 -0
  500. package/dist/src/components/splitReveal/core/types.d.ts +10 -0
  501. package/dist/src/components/splitReveal/element/index.d.ts +9 -0
  502. package/dist/src/components/splitReveal/index.d.ts +3 -11
  503. package/dist/src/components/splitReveal/react/index.d.ts +4 -0
  504. package/dist/src/components/splitText/core/engine.d.ts +2 -0
  505. package/dist/src/components/splitText/core/index.d.ts +2 -0
  506. package/dist/src/components/splitText/core/types.d.ts +15 -0
  507. package/dist/src/components/splitText/element/index.d.ts +13 -0
  508. package/dist/src/components/splitText/index.d.ts +3 -21
  509. package/dist/src/components/splitText/react/index.d.ts +4 -0
  510. package/dist/src/components/spotlight/core/engine.d.ts +2 -0
  511. package/dist/src/components/spotlight/core/index.d.ts +2 -0
  512. package/dist/src/components/spotlight/core/types.d.ts +13 -0
  513. package/dist/src/components/spotlight/element/index.d.ts +14 -0
  514. package/dist/src/components/spotlight/index.d.ts +3 -10
  515. package/dist/src/components/spotlight/react/index.d.ts +6 -0
  516. package/dist/src/components/springMass/core/engine.d.ts +2 -0
  517. package/dist/src/components/springMass/core/index.d.ts +2 -0
  518. package/dist/src/components/springMass/core/types.d.ts +21 -0
  519. package/dist/src/components/springMass/element/index.d.ts +9 -0
  520. package/dist/src/components/springMass/index.d.ts +3 -19
  521. package/dist/src/components/springMass/react/index.d.ts +4 -0
  522. package/dist/src/components/starfield/core/engine.d.ts +2 -0
  523. package/dist/src/components/starfield/core/index.d.ts +2 -0
  524. package/dist/src/components/starfield/core/types.d.ts +12 -0
  525. package/dist/src/components/starfield/element/index.d.ts +9 -0
  526. package/dist/src/components/starfield/index.d.ts +3 -13
  527. package/dist/src/components/starfield/react/index.d.ts +4 -0
  528. package/dist/src/components/textMorph/core/engine.d.ts +2 -0
  529. package/dist/src/components/textMorph/core/index.d.ts +2 -0
  530. package/dist/src/components/textMorph/core/types.d.ts +12 -0
  531. package/dist/src/components/textMorph/element/index.d.ts +13 -0
  532. package/dist/src/components/textMorph/index.d.ts +3 -15
  533. package/dist/src/components/textMorph/react/index.d.ts +4 -0
  534. package/dist/src/components/timelinePulse/core/engine.d.ts +2 -0
  535. package/dist/src/components/timelinePulse/core/index.d.ts +2 -0
  536. package/dist/src/components/timelinePulse/core/types.d.ts +10 -0
  537. package/dist/src/components/timelinePulse/element/index.d.ts +13 -0
  538. package/dist/src/components/timelinePulse/index.d.ts +3 -8
  539. package/dist/src/components/timelinePulse/react/index.d.ts +4 -0
  540. package/dist/src/components/trueFocus/core/engine.d.ts +2 -0
  541. package/dist/src/components/trueFocus/core/index.d.ts +2 -0
  542. package/dist/src/components/trueFocus/core/types.d.ts +17 -0
  543. package/dist/src/components/trueFocus/element/index.d.ts +9 -0
  544. package/dist/src/components/trueFocus/index.d.ts +3 -25
  545. package/dist/src/components/trueFocus/react/index.d.ts +4 -0
  546. package/dist/src/components/turntable/core/engine.d.ts +2 -0
  547. package/dist/src/components/turntable/core/index.d.ts +2 -0
  548. package/dist/src/components/turntable/core/types.d.ts +35 -0
  549. package/dist/src/components/turntable/element/index.d.ts +15 -0
  550. package/dist/src/components/turntable/index.d.ts +3 -33
  551. package/dist/src/components/turntable/react/index.d.ts +5 -0
  552. package/dist/src/components/typewriter/core/engine.d.ts +2 -0
  553. package/dist/src/components/typewriter/core/index.d.ts +2 -0
  554. package/dist/src/components/typewriter/core/types.d.ts +11 -0
  555. package/dist/src/components/typewriter/element/index.d.ts +13 -0
  556. package/dist/src/components/typewriter/index.d.ts +3 -13
  557. package/dist/src/components/typewriter/react/index.d.ts +4 -0
  558. package/dist/src/components/waveButton/core/engine.d.ts +2 -0
  559. package/dist/src/components/waveButton/core/index.d.ts +2 -0
  560. package/dist/src/components/waveButton/core/types.d.ts +13 -0
  561. package/dist/src/components/waveButton/element/index.d.ts +14 -0
  562. package/dist/src/components/waveButton/index.d.ts +3 -9
  563. package/dist/src/components/waveButton/react/index.d.ts +4 -0
  564. package/dist/src/components/waveText/core/engine.d.ts +2 -0
  565. package/dist/src/components/waveText/core/index.d.ts +2 -0
  566. package/dist/src/components/waveText/core/types.d.ts +11 -0
  567. package/dist/src/components/waveText/element/index.d.ts +9 -0
  568. package/dist/src/components/waveText/index.d.ts +3 -13
  569. package/dist/src/components/waveText/react/index.d.ts +4 -0
  570. package/dist/src/components/weatherBackground/core/engine.d.ts +2 -0
  571. package/dist/src/components/weatherBackground/core/index.d.ts +14 -0
  572. package/dist/src/components/weatherBackground/core/types.d.ts +7 -0
  573. package/dist/src/components/weatherBackground/element/index.d.ts +13 -0
  574. package/dist/src/components/weatherBackground/index.d.ts +5 -5
  575. package/dist/src/components/weatherBackground/live-weather-core.d.ts +79 -0
  576. package/dist/src/components/weatherBackground/live-weather.d.ts +3 -69
  577. package/dist/src/components/weatherBackground/react/index.d.ts +3 -0
  578. package/dist/src/core.d.ts +91 -0
  579. package/dist/src/elements.d.ts +0 -0
  580. package/dist/src/vite-env.d.ts +6 -0
  581. package/dist/src/vue.d.ts +91 -0
  582. package/dist/style.css +1 -0
  583. package/dist/vue.cjs +1 -0
  584. package/dist/vue.d.ts +1 -0
  585. package/dist/vue.js +2444 -0
  586. package/package.json +39 -3
  587. package/dist/index.css +0 -1
package/dist/vue.js ADDED
@@ -0,0 +1,2444 @@
1
+ import { $t as e, An as t, At as n, Bn as r, Bt as i, Cn as a, Ct as o, Dn as s, Dt as c, En as ee, Et as te, Fn as ne, Ft as re, Gt as ie, Hn as ae, Ht as oe, In as se, It as ce, Jt as le, Kt as ue, Ln as de, Lt as fe, Mn as pe, Mt as me, Nn as he, Nt as l, On as u, Ot as d, Pn as f, Pt as p, Qt as m, Rn as h, Rt as g, Sn as _, St as v, Tn as y, Tt as b, Un as x, Ut as S, Vn as C, Vt as w, Wn as T, Wt as E, Xt as D, Yt as O, Zt as k, _n as A, _t as j, an as M, bn as N, bt as P, cn as F, dn as I, dt as L, en as R, fn as ge, ft as _e, gn as ve, gt as ye, hn as be, ht as xe, in as Se, jn as Ce, jt as we, kn as Te, kt as Ee, ln as De, mn as Oe, mt as ke, n as Ae, nn as je, on as Me, pn as Ne, pt as Pe, qt as Fe, rn as Ie, sn as Le, t as Re, tn as ze, un as Be, vn as Ve, vt as He, wn as Ue, wt as We, xn as Ge, xt as Ke, yn as qe, yt as Je, zn as Ye, zt as Xe } from "./engine-jGjtPKCP.js";
2
+ import './style.css';/* empty css */
3
+ import { t as Ze } from "./core-On5bp2VI.js";
4
+ import { optionsFingerprint as z } from "@cos-design/shared";
5
+ import { Teleport as B, createBlock as V, createCommentVNode as H, createElementBlock as U, createElementVNode as W, defineComponent as G, onMounted as K, onUnmounted as q, openBlock as J, ref as Y, renderSlot as X, toDisplayString as Z, watch as Q } from "vue";
6
+ //#endregion
7
+ //#region src/components/audioVisualizer/vue/AudioVisualizer.vue
8
+ var Qe = /* @__PURE__ */ G({
9
+ __name: "AudioVisualizer",
10
+ props: {
11
+ width: {},
12
+ height: {},
13
+ barCount: {},
14
+ useMic: { type: Boolean }
15
+ },
16
+ setup(e, { expose: t, emit: n }) {
17
+ let i = e, a = Y(), o = null, s = () => ({ ...i });
18
+ return K(() => {
19
+ a.value && (o = r(a.value, s()));
20
+ }), Q(() => z(i), () => o?.update(s())), q(() => {
21
+ o?.destroy(), o = null;
22
+ }), t({}), (e, t) => (J(), U("div", {
23
+ ref_key: "hostRef",
24
+ ref: a,
25
+ class: "cos-audioVisualizer-host"
26
+ }, null, 512));
27
+ }
28
+ }), $e = /* @__PURE__ */ G({
29
+ __name: "Aurora",
30
+ props: {
31
+ width: {},
32
+ height: {},
33
+ fill: { type: Boolean },
34
+ colors: {}
35
+ },
36
+ setup(e, { expose: t, emit: n }) {
37
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
38
+ return K(() => {
39
+ i.value && (a = C(i.value, o()));
40
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
41
+ a?.destroy(), a = null;
42
+ }), t({}), (e, t) => (J(), U("div", {
43
+ ref_key: "hostRef",
44
+ ref: i,
45
+ class: "cos-aurora-host"
46
+ }, null, 512));
47
+ }
48
+ }), et = /* @__PURE__ */ G({
49
+ __name: "AuroraVeil",
50
+ props: {
51
+ width: {},
52
+ height: {},
53
+ fill: { type: Boolean },
54
+ colors: {},
55
+ bandCount: {},
56
+ speed: {},
57
+ interactive: {
58
+ type: Boolean,
59
+ default: !0
60
+ },
61
+ ariaLabel: {}
62
+ },
63
+ setup(e, { expose: t, emit: n }) {
64
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
65
+ return K(() => {
66
+ i.value && (a = fe(i.value, o()));
67
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
68
+ a?.destroy(), a = null;
69
+ }), t({}), (e, t) => (J(), U("div", {
70
+ ref_key: "hostRef",
71
+ ref: i,
72
+ class: "cos-auroraVeil-host"
73
+ }, null, 512));
74
+ }
75
+ }), tt = /* @__PURE__ */ G({
76
+ __name: "BarcodeScan",
77
+ props: {
78
+ scanColor: {},
79
+ speed: {},
80
+ slotElement: {},
81
+ defaultContent: {}
82
+ },
83
+ setup(e, { expose: t }) {
84
+ let n = e, r = Y(), i = Y(null), a = null, o = () => ({
85
+ ...n,
86
+ defaultContent: void 0
87
+ });
88
+ return K(() => {
89
+ r.value && (a = T(r.value, o()), i.value = a.getSlot?.() ?? null);
90
+ }), Q(() => z(n), () => a?.update(o())), q(() => {
91
+ a?.destroy(), a = null, i.value = null;
92
+ }), t({ getSlot: () => a?.getSlot?.() }), (t, n) => (J(), U("div", {
93
+ ref_key: "hostRef",
94
+ ref: r,
95
+ class: "cos-barcodeScan-host"
96
+ }, [i.value ? (J(), V(B, {
97
+ key: 0,
98
+ to: i.value
99
+ }, [X(t.$slots, "default", {}, () => [W("span", null, Z(e.defaultContent ?? "SCAN ME"), 1)])], 8, ["to"])) : H("", !0)], 512));
100
+ }
101
+ }), nt = /* @__PURE__ */ G({
102
+ __name: "BlurText",
103
+ props: {
104
+ text: {},
105
+ animateBy: {},
106
+ direction: {},
107
+ stagger: {},
108
+ duration: {},
109
+ fontSize: {},
110
+ color: {},
111
+ onAnimationComplete: { type: Function }
112
+ },
113
+ emits: ["animation-complete"],
114
+ setup(e, { expose: t, emit: n }) {
115
+ let r = e, i = n, a = Y(), o = null, s = () => ({
116
+ ...r,
117
+ onAnimationComplete: (...e) => i("animation-complete", ...e)
118
+ });
119
+ return K(() => {
120
+ a.value && (o = x(a.value, s()));
121
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
122
+ o?.destroy(), o = null;
123
+ }), t({}), (e, t) => (J(), U("div", {
124
+ ref_key: "hostRef",
125
+ ref: a,
126
+ class: "cos-blurText-host"
127
+ }, null, 512));
128
+ }
129
+ }), rt = /* @__PURE__ */ G({
130
+ __name: "BubbleField",
131
+ props: {
132
+ width: {},
133
+ height: {},
134
+ fill: { type: Boolean },
135
+ bubbleCount: {},
136
+ speed: {},
137
+ color: {},
138
+ interactive: {
139
+ type: Boolean,
140
+ default: !0
141
+ }
142
+ },
143
+ setup(e, { expose: t, emit: n }) {
144
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
145
+ return K(() => {
146
+ i.value && (a = oe(i.value, o()));
147
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
148
+ a?.destroy(), a = null;
149
+ }), t({}), (e, t) => (J(), U("div", {
150
+ ref_key: "hostRef",
151
+ ref: i,
152
+ class: "cos-bubbleField-host"
153
+ }, null, 512));
154
+ }
155
+ }), it = /* @__PURE__ */ G({
156
+ __name: "BurnAway",
157
+ props: {
158
+ text: {},
159
+ fontSize: {},
160
+ onComplete: { type: Function },
161
+ completedText: {}
162
+ },
163
+ emits: ["complete"],
164
+ setup(e, { expose: t, emit: n }) {
165
+ let r = e, i = n, a = Y(), o = null, s = () => ({
166
+ ...r,
167
+ onComplete: (...e) => i("complete", ...e)
168
+ });
169
+ return K(() => {
170
+ a.value && (o = ae(a.value, s()));
171
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
172
+ o?.destroy(), o = null;
173
+ }), t({ ignite: () => o?.ignite() }), (e, t) => (J(), U("div", {
174
+ ref_key: "hostRef",
175
+ ref: a,
176
+ class: "cos-burnAway-host"
177
+ }, null, 512));
178
+ }
179
+ }), at = /* @__PURE__ */ G({
180
+ __name: "CanvasClock",
181
+ props: {
182
+ width: {},
183
+ height: {}
184
+ },
185
+ setup(e, { expose: t, emit: n }) {
186
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
187
+ return K(() => {
188
+ i.value && (a = Ye(i.value, o()));
189
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
190
+ a?.destroy(), a = null;
191
+ }), t({}), (e, t) => (J(), U("div", {
192
+ ref_key: "hostRef",
193
+ ref: i,
194
+ class: "cos-canvasClock-host"
195
+ }, null, 512));
196
+ }
197
+ }), ot = /* @__PURE__ */ G({
198
+ __name: "Charge",
199
+ props: {
200
+ initQuantity: {},
201
+ value: {},
202
+ onChange: {},
203
+ onComplete: {},
204
+ autoCharge: {
205
+ type: Boolean,
206
+ default: !0
207
+ },
208
+ interval: {},
209
+ step: {}
210
+ },
211
+ emits: ["change", "complete"],
212
+ setup(e, { expose: t, emit: n }) {
213
+ let r = e, i = n, a = Y(), o = null, s = () => ({
214
+ ...r,
215
+ onChange: (...e) => i("change", ...e),
216
+ onComplete: (...e) => i("complete", ...e)
217
+ });
218
+ return K(() => {
219
+ a.value && (o = h(a.value, s()));
220
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
221
+ o?.destroy(), o = null;
222
+ }), t({}), (e, t) => (J(), U("div", {
223
+ ref_key: "hostRef",
224
+ ref: a,
225
+ class: "cos-charge-host"
226
+ }, null, 512));
227
+ }
228
+ }), st = /* @__PURE__ */ G({
229
+ __name: "CircularText",
230
+ props: {
231
+ text: {},
232
+ spinDuration: {},
233
+ onHover: {},
234
+ fontSize: {},
235
+ radius: {},
236
+ color: {}
237
+ },
238
+ setup(e, { expose: t, emit: n }) {
239
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
240
+ return K(() => {
241
+ i.value && (a = de(i.value, o()));
242
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
243
+ a?.destroy(), a = null;
244
+ }), t({}), (e, t) => (J(), U("div", {
245
+ ref_key: "hostRef",
246
+ ref: i,
247
+ class: "cos-circularText-host"
248
+ }, null, 512));
249
+ }
250
+ }), ct = /* @__PURE__ */ G({
251
+ __name: "ClickSpark",
252
+ props: {
253
+ color: {},
254
+ count: {},
255
+ defaultContent: {},
256
+ slotElement: {}
257
+ },
258
+ setup(e, { expose: t }) {
259
+ let n = e, r = Y(), i = Y(null), a = null, o = () => ({ ...n });
260
+ return K(() => {
261
+ r.value && (a = se(r.value, o()), i.value = a.getSlot?.() ?? null);
262
+ }), Q(() => z(n), () => a?.update(o())), q(() => {
263
+ a?.destroy(), a = null, i.value = null;
264
+ }), t({ getSlot: () => a?.getSlot?.() }), (e, t) => (J(), U("div", {
265
+ ref_key: "hostRef",
266
+ ref: r,
267
+ class: "cos-clickSpark-host"
268
+ }, [i.value ? (J(), V(B, {
269
+ key: 0,
270
+ to: i.value
271
+ }, [X(e.$slots, "default")], 8, ["to"])) : H("", !0)], 512));
272
+ }
273
+ }), lt = /* @__PURE__ */ G({
274
+ __name: "Confetti",
275
+ props: {
276
+ width: {},
277
+ height: {},
278
+ fill: { type: Boolean },
279
+ auto: {
280
+ type: Boolean,
281
+ default: !0
282
+ },
283
+ interactive: {
284
+ type: Boolean,
285
+ default: void 0
286
+ },
287
+ particleCount: {},
288
+ hint: {},
289
+ onComplete: {}
290
+ },
291
+ emits: ["complete"],
292
+ setup(e, { expose: t, emit: n }) {
293
+ let r = e, i = n, a = Y(), o = null, s = () => ({
294
+ ...r,
295
+ onComplete: (...e) => i("complete", ...e)
296
+ });
297
+ return K(() => {
298
+ a.value && (o = ne(a.value, s()));
299
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
300
+ o?.destroy(), o = null;
301
+ }), t({ burst: () => o?.burst() }), (e, t) => (J(), U("div", {
302
+ ref_key: "hostRef",
303
+ ref: a,
304
+ class: "cos-confetti-host"
305
+ }, null, 512));
306
+ }
307
+ }), $ = /* @__PURE__ */ G({
308
+ __name: "CountUp",
309
+ props: {
310
+ value: {},
311
+ start: {},
312
+ duration: {},
313
+ decimals: {},
314
+ prefix: {},
315
+ suffix: {},
316
+ color: {}
317
+ },
318
+ setup(e, { expose: t, emit: n }) {
319
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
320
+ return K(() => {
321
+ i.value && (a = Ce(i.value, o()));
322
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
323
+ a?.destroy(), a = null;
324
+ }), t({}), (e, t) => (J(), U("div", {
325
+ ref_key: "hostRef",
326
+ ref: i,
327
+ class: "cos-countUp-host"
328
+ }, null, 512));
329
+ }
330
+ }), ut = /* @__PURE__ */ G({
331
+ __name: "Countdown",
332
+ props: {
333
+ targetDate: {},
334
+ onEnd: { type: Function },
335
+ showLabels: { type: Boolean },
336
+ color: {},
337
+ labels: {},
338
+ invalidText: {},
339
+ endedText: {}
340
+ },
341
+ emits: ["end"],
342
+ setup(e, { expose: t, emit: n }) {
343
+ let r = e, i = n, a = Y(), o = null, s = () => ({
344
+ ...r,
345
+ onEnd: (...e) => i("end", ...e)
346
+ });
347
+ return K(() => {
348
+ a.value && (o = pe(a.value, s()));
349
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
350
+ o?.destroy(), o = null;
351
+ }), t({}), (e, t) => (J(), U("div", {
352
+ ref_key: "hostRef",
353
+ ref: a,
354
+ class: "cos-countdown-host"
355
+ }, null, 512));
356
+ }
357
+ }), dt = /* @__PURE__ */ G({
358
+ __name: "CursorTrail",
359
+ props: {
360
+ color: {},
361
+ length: {},
362
+ width: {},
363
+ height: {},
364
+ hint: {}
365
+ },
366
+ setup(e, { expose: t, emit: n }) {
367
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
368
+ return K(() => {
369
+ i.value && (a = u(i.value, o()));
370
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
371
+ a?.destroy(), a = null;
372
+ }), t({}), (e, t) => (J(), U("div", {
373
+ ref_key: "hostRef",
374
+ ref: i,
375
+ class: "cos-cursorTrail-host"
376
+ }, null, 512));
377
+ }
378
+ }), ft = /* @__PURE__ */ G({
379
+ __name: "CurvedLoop",
380
+ props: {
381
+ text: {},
382
+ speed: {},
383
+ curveAmount: {},
384
+ direction: {},
385
+ interactive: {
386
+ type: Boolean,
387
+ default: !0
388
+ },
389
+ color: {},
390
+ fontSize: {}
391
+ },
392
+ setup(e, { expose: t, emit: n }) {
393
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
394
+ return K(() => {
395
+ i.value && (a = f(i.value, o()));
396
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
397
+ a?.destroy(), a = null;
398
+ }), t({}), (e, t) => (J(), U("div", {
399
+ ref_key: "hostRef",
400
+ ref: i,
401
+ class: "cos-curvedLoop-host"
402
+ }, null, 512));
403
+ }
404
+ }), pt = /* @__PURE__ */ G({
405
+ __name: "CyberGrid",
406
+ props: {
407
+ width: {},
408
+ height: {},
409
+ fill: { type: Boolean },
410
+ color: {},
411
+ speed: {}
412
+ },
413
+ setup(e, { expose: t, emit: n }) {
414
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
415
+ return K(() => {
416
+ i.value && (a = he(i.value, o()));
417
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
418
+ a?.destroy(), a = null;
419
+ }), t({}), (e, t) => (J(), U("div", {
420
+ ref_key: "hostRef",
421
+ ref: i,
422
+ class: "cos-cyberGrid-host"
423
+ }, null, 512));
424
+ }
425
+ }), mt = /* @__PURE__ */ G({
426
+ __name: "DandelionField",
427
+ props: {
428
+ width: {},
429
+ height: {},
430
+ fill: { type: Boolean },
431
+ plantCount: {},
432
+ seedCount: {},
433
+ speed: {},
434
+ interactive: {
435
+ type: Boolean,
436
+ default: !0
437
+ },
438
+ ariaLabel: {}
439
+ },
440
+ setup(e, { expose: t, emit: n }) {
441
+ let r = e, a = Y(), o = null, s = () => ({ ...r });
442
+ return K(() => {
443
+ a.value && (o = i(a.value, s()));
444
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
445
+ o?.destroy(), o = null;
446
+ }), t({}), (e, t) => (J(), U("div", {
447
+ ref_key: "hostRef",
448
+ ref: a,
449
+ class: "cos-dandelionField-host"
450
+ }, null, 512));
451
+ }
452
+ }), ht = /* @__PURE__ */ G({
453
+ __name: "DiceRoll",
454
+ props: {
455
+ onRoll: { type: Function },
456
+ sides: {},
457
+ rollText: {},
458
+ rollingText: {},
459
+ resultPrefix: {}
460
+ },
461
+ emits: ["roll"],
462
+ setup(e, { expose: t, emit: n }) {
463
+ let r = e, i = n, a = Y(), o = null, c = () => ({
464
+ ...r,
465
+ onRoll: (...e) => i("roll", ...e)
466
+ });
467
+ return K(() => {
468
+ a.value && (o = s(a.value, c()));
469
+ }), Q(() => z(r), () => o?.update(c())), q(() => {
470
+ o?.destroy(), o = null;
471
+ }), t({}), (e, t) => (J(), U("div", {
472
+ ref_key: "hostRef",
473
+ ref: a,
474
+ class: "cos-diceRoll-host"
475
+ }, null, 512));
476
+ }
477
+ }), gt = /* @__PURE__ */ G({
478
+ __name: "DnaHelix",
479
+ props: {
480
+ width: {},
481
+ height: {},
482
+ speed: {},
483
+ color: {}
484
+ },
485
+ setup(e, { expose: n, emit: r }) {
486
+ let i = e, a = Y(), o = null, s = () => ({ ...i });
487
+ return K(() => {
488
+ a.value && (o = t(a.value, s()));
489
+ }), Q(() => z(i), () => o?.update(s())), q(() => {
490
+ o?.destroy(), o = null;
491
+ }), n({}), (e, t) => (J(), U("div", {
492
+ ref_key: "hostRef",
493
+ ref: a,
494
+ class: "cos-dnaHelix-host"
495
+ }, null, 512));
496
+ }
497
+ }), _t = /* @__PURE__ */ G({
498
+ __name: "DoublePendulum",
499
+ props: {
500
+ width: {},
501
+ height: {},
502
+ trailLength: {},
503
+ color: {},
504
+ color2: {}
505
+ },
506
+ setup(e, { expose: t, emit: n }) {
507
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
508
+ return K(() => {
509
+ i.value && (a = ee(i.value, o()));
510
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
511
+ a?.destroy(), a = null;
512
+ }), t({}), (e, t) => (J(), U("div", {
513
+ ref_key: "hostRef",
514
+ ref: i,
515
+ class: "cos-doublePendulum-host"
516
+ }, null, 512));
517
+ }
518
+ }), vt = /* @__PURE__ */ G({
519
+ __name: "ElectricArc",
520
+ props: {
521
+ width: {},
522
+ height: {},
523
+ color: {}
524
+ },
525
+ setup(e, { expose: t, emit: n }) {
526
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
527
+ return K(() => {
528
+ i.value && (a = Te(i.value, o()));
529
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
530
+ a?.destroy(), a = null;
531
+ }), t({}), (e, t) => (J(), U("div", {
532
+ ref_key: "hostRef",
533
+ ref: i,
534
+ class: "cos-electricArc-host"
535
+ }, null, 512));
536
+ }
537
+ }), yt = /* @__PURE__ */ G({
538
+ __name: "Fireworks",
539
+ props: {
540
+ width: {},
541
+ height: {},
542
+ fill: { type: Boolean },
543
+ auto: {
544
+ type: Boolean,
545
+ default: !0
546
+ },
547
+ interactive: {
548
+ type: Boolean,
549
+ default: void 0
550
+ },
551
+ hint: {},
552
+ onComplete: {}
553
+ },
554
+ emits: ["complete"],
555
+ setup(e, { expose: t, emit: n }) {
556
+ let r = e, i = n, a = Y(), o = null, s = () => ({
557
+ ...r,
558
+ onComplete: (...e) => i("complete", ...e)
559
+ });
560
+ return K(() => {
561
+ a.value && (o = y(a.value, s()));
562
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
563
+ o?.destroy(), o = null;
564
+ }), t({ launch: (e) => o?.launch(e) }), (e, t) => (J(), U("div", {
565
+ ref_key: "hostRef",
566
+ ref: a,
567
+ class: "cos-fireworks-host"
568
+ }, null, 512));
569
+ }
570
+ }), bt = /* @__PURE__ */ G({
571
+ __name: "FlipCard",
572
+ props: {
573
+ frontTitle: {},
574
+ frontSubtitle: {},
575
+ backTitle: {},
576
+ backSubtitle: {},
577
+ flipped: {
578
+ type: Boolean,
579
+ default: void 0
580
+ },
581
+ defaultFlipped: {
582
+ type: Boolean,
583
+ default: void 0
584
+ },
585
+ onReveal: {},
586
+ onFlipChange: {},
587
+ disabled: {
588
+ type: Boolean,
589
+ default: void 0
590
+ }
591
+ },
592
+ emits: ["reveal", "flip-change"],
593
+ setup(e, { expose: t, emit: n }) {
594
+ let r = e, i = n, a = Y(), o = null, s = () => {
595
+ let e = {
596
+ frontTitle: r.frontTitle,
597
+ frontSubtitle: r.frontSubtitle,
598
+ backTitle: r.backTitle,
599
+ backSubtitle: r.backSubtitle,
600
+ onReveal: (...e) => i("reveal", ...e),
601
+ onFlipChange: (...e) => i("flip-change", ...e)
602
+ };
603
+ return r.flipped === void 0 ? e.flipped = void 0 : e.flipped = r.flipped, r.defaultFlipped !== void 0 && (e.defaultFlipped = r.defaultFlipped), r.disabled !== void 0 && (e.disabled = r.disabled), e;
604
+ };
605
+ return K(() => {
606
+ a.value && (o = Ue(a.value, s()));
607
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
608
+ o?.destroy(), o = null;
609
+ }), t({
610
+ flip: () => o?.flip(),
611
+ reset: () => o?.reset()
612
+ }), (e, t) => (J(), U("div", {
613
+ ref_key: "hostRef",
614
+ ref: a,
615
+ class: "cos-flipCard-host"
616
+ }, null, 512));
617
+ }
618
+ }), xt = /* @__PURE__ */ G({
619
+ __name: "FlipCounter",
620
+ props: {
621
+ value: {},
622
+ digits: {},
623
+ color: {},
624
+ duration: {},
625
+ auto: { type: Boolean },
626
+ autoInterval: {}
627
+ },
628
+ setup(e, { expose: t, emit: n }) {
629
+ let r = e, i = Y(), o = null, s = () => ({ ...r });
630
+ return K(() => {
631
+ i.value && (o = a(i.value, s()));
632
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
633
+ o?.destroy(), o = null;
634
+ }), t({}), (e, t) => (J(), U("div", {
635
+ ref_key: "hostRef",
636
+ ref: i,
637
+ class: "cos-flipCounter-host"
638
+ }, null, 512));
639
+ }
640
+ }), St = /* @__PURE__ */ G({
641
+ __name: "FuzzyText",
642
+ props: {
643
+ text: {},
644
+ fontSize: {},
645
+ fontWeight: {},
646
+ color: {},
647
+ baseIntensity: {},
648
+ hoverIntensity: {},
649
+ enableHover: { type: Boolean },
650
+ fuzzRange: {}
651
+ },
652
+ setup(e, { expose: t, emit: n }) {
653
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
654
+ return K(() => {
655
+ i.value && (a = _(i.value, o()));
656
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
657
+ a?.destroy(), a = null;
658
+ }), t({}), (e, t) => (J(), U("div", {
659
+ ref_key: "hostRef",
660
+ ref: i,
661
+ class: "cos-fuzzyText-host"
662
+ }, null, 512));
663
+ }
664
+ }), Ct = /* @__PURE__ */ G({
665
+ __name: "GameOfLife",
666
+ props: {
667
+ width: {},
668
+ height: {},
669
+ cellSize: {},
670
+ speed: {},
671
+ density: {},
672
+ aliveColor: {},
673
+ gridColor: {},
674
+ labels: {}
675
+ },
676
+ setup(e, { expose: t, emit: n }) {
677
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
678
+ return K(() => {
679
+ i.value && (a = N(i.value, o()));
680
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
681
+ a?.destroy(), a = null;
682
+ }), t({}), (e, t) => (J(), U("div", {
683
+ ref_key: "hostRef",
684
+ ref: i,
685
+ class: "cos-gameOfLife-host"
686
+ }, null, 512));
687
+ }
688
+ }), wt = /* @__PURE__ */ G({
689
+ __name: "GlitchText",
690
+ props: {
691
+ text: {},
692
+ color: {},
693
+ glitchColor1: {},
694
+ glitchColor2: {},
695
+ fontSize: {}
696
+ },
697
+ setup(e, { expose: t, emit: n }) {
698
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
699
+ return K(() => {
700
+ i.value && (a = qe(i.value, o()));
701
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
702
+ a?.destroy(), a = null;
703
+ }), t({}), (e, t) => (J(), U("div", {
704
+ ref_key: "hostRef",
705
+ ref: i,
706
+ class: "cos-glitchText-host"
707
+ }, null, 512));
708
+ }
709
+ }), Tt = /* @__PURE__ */ G({
710
+ __name: "GradientFlow",
711
+ props: {
712
+ text: {},
713
+ colors: {},
714
+ fontSize: {}
715
+ },
716
+ setup(e, { expose: t, emit: n }) {
717
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
718
+ return K(() => {
719
+ i.value && (a = Ge(i.value, o()));
720
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
721
+ a?.destroy(), a = null;
722
+ }), t({}), (e, t) => (J(), U("div", {
723
+ ref_key: "hostRef",
724
+ ref: i,
725
+ class: "cos-gradientFlow-host"
726
+ }, null, 512));
727
+ }
728
+ }), Et = /* @__PURE__ */ G({
729
+ __name: "GravityBalls",
730
+ props: {
731
+ width: {},
732
+ height: {},
733
+ ballCount: {}
734
+ },
735
+ setup(e, { expose: t, emit: n }) {
736
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
737
+ return K(() => {
738
+ i.value && (a = Ve(i.value, o()));
739
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
740
+ a?.destroy(), a = null;
741
+ }), t({}), (e, t) => (J(), U("div", {
742
+ ref_key: "hostRef",
743
+ ref: i,
744
+ class: "cos-gravityBalls-host"
745
+ }, null, 512));
746
+ }
747
+ }), Dt = /* @__PURE__ */ G({
748
+ __name: "HolographicCard",
749
+ props: {
750
+ title: {},
751
+ subtitle: {},
752
+ image: {}
753
+ },
754
+ setup(e, { expose: t, emit: n }) {
755
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
756
+ return K(() => {
757
+ i.value && (a = A(i.value, o()));
758
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
759
+ a?.destroy(), a = null;
760
+ }), t({}), (e, t) => (J(), U("div", {
761
+ ref_key: "hostRef",
762
+ ref: i,
763
+ class: "cos-holographicCard-host"
764
+ }, null, 512));
765
+ }
766
+ }), Ot = /* @__PURE__ */ G({
767
+ __name: "InkBloom",
768
+ props: {
769
+ width: {},
770
+ height: {},
771
+ fill: { type: Boolean },
772
+ inkColor: {},
773
+ speed: {},
774
+ interactive: {
775
+ type: Boolean,
776
+ default: !0
777
+ },
778
+ ariaLabel: {}
779
+ },
780
+ setup(e, { expose: t, emit: n }) {
781
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
782
+ return K(() => {
783
+ i.value && (a = g(i.value, o()));
784
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
785
+ a?.destroy(), a = null;
786
+ }), t({}), (e, t) => (J(), U("div", {
787
+ ref_key: "hostRef",
788
+ ref: i,
789
+ class: "cos-inkBloom-host"
790
+ }, null, 512));
791
+ }
792
+ }), kt = /* @__PURE__ */ G({
793
+ __name: "LavaBubble",
794
+ props: {
795
+ width: {},
796
+ height: {},
797
+ fill: { type: Boolean },
798
+ heat: {},
799
+ speed: {},
800
+ autoSpawn: { type: Boolean },
801
+ activity: {},
802
+ interactive: {
803
+ type: Boolean,
804
+ default: !0
805
+ },
806
+ ariaLabel: {}
807
+ },
808
+ setup(e, { expose: t, emit: n }) {
809
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
810
+ return K(() => {
811
+ i.value && (a = Xe(i.value, o()));
812
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
813
+ a?.destroy(), a = null;
814
+ }), t({}), (e, t) => (J(), U("div", {
815
+ ref_key: "hostRef",
816
+ ref: i,
817
+ class: "cos-lavaBubble-host"
818
+ }, null, 512));
819
+ }
820
+ }), At = /* @__PURE__ */ G({
821
+ __name: "LiquidGlass",
822
+ props: {
823
+ blur: {},
824
+ borderRadius: {},
825
+ slotElement: {},
826
+ defaultContent: {}
827
+ },
828
+ setup(e, { expose: t }) {
829
+ let n = e, r = Y(), i = Y(null), a = null, o = () => ({
830
+ ...n,
831
+ defaultContent: void 0
832
+ });
833
+ return K(() => {
834
+ r.value && (a = Oe(r.value, o()), i.value = a.getSlot?.() ?? null);
835
+ }), Q(() => z(n), () => a?.update(o())), q(() => {
836
+ a?.destroy(), a = null, i.value = null;
837
+ }), t({ getSlot: () => a?.getSlot?.() }), (t, n) => (J(), U("div", {
838
+ ref_key: "hostRef",
839
+ ref: r,
840
+ class: "cos-liquidGlass-host"
841
+ }, [i.value ? (J(), V(B, {
842
+ key: 0,
843
+ to: i.value
844
+ }, [X(t.$slots, "default", {}, () => [W("span", null, Z(e.defaultContent ?? "液态玻璃面板"), 1)])], 8, ["to"])) : H("", !0)], 512));
845
+ }
846
+ }), jt = /* @__PURE__ */ G({
847
+ __name: "LiquidProgress",
848
+ props: {
849
+ value: {},
850
+ max: {},
851
+ size: {},
852
+ color: {}
853
+ },
854
+ setup(e, { expose: t, emit: n }) {
855
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
856
+ return K(() => {
857
+ i.value && (a = ve(i.value, o()));
858
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
859
+ a?.destroy(), a = null;
860
+ }), t({}), (e, t) => (J(), U("div", {
861
+ ref_key: "hostRef",
862
+ ref: i,
863
+ class: "cos-liquidProgress-host"
864
+ }, null, 512));
865
+ }
866
+ }), Mt = /* @__PURE__ */ G({
867
+ __name: "LorenzAttractor",
868
+ props: {
869
+ width: {},
870
+ height: {},
871
+ speed: {},
872
+ color: {},
873
+ pointCount: {}
874
+ },
875
+ setup(e, { expose: t, emit: n }) {
876
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
877
+ return K(() => {
878
+ i.value && (a = be(i.value, o()));
879
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
880
+ a?.destroy(), a = null;
881
+ }), t({}), (e, t) => (J(), U("div", {
882
+ ref_key: "hostRef",
883
+ ref: i,
884
+ class: "cos-lorenzAttractor-host"
885
+ }, null, 512));
886
+ }
887
+ }), Nt = /* @__PURE__ */ G({
888
+ __name: "MagneticButton",
889
+ props: {
890
+ strength: {},
891
+ color: {},
892
+ slotElement: {},
893
+ defaultContent: {}
894
+ },
895
+ setup(e, { expose: t }) {
896
+ let n = e, r = Y(), i = Y(null), a = null, o = () => ({
897
+ ...n,
898
+ defaultContent: void 0
899
+ });
900
+ return K(() => {
901
+ r.value && (a = Ne(r.value, o()), i.value = a.getSlot?.() ?? null);
902
+ }), Q(() => z(n), () => a?.update(o())), q(() => {
903
+ a?.destroy(), a = null, i.value = null;
904
+ }), t({ getSlot: () => a?.getSlot?.() }), (t, n) => (J(), U("div", {
905
+ ref_key: "hostRef",
906
+ ref: r,
907
+ class: "cos-magneticButton-host"
908
+ }, [i.value ? (J(), V(B, {
909
+ key: 0,
910
+ to: i.value
911
+ }, [X(t.$slots, "default", {}, () => [W("span", null, Z(e.defaultContent ?? "磁吸按钮"), 1)])], 8, ["to"])) : H("", !0)], 512));
912
+ }
913
+ }), Pt = /* @__PURE__ */ G({
914
+ __name: "MatrixRain",
915
+ props: {
916
+ width: {},
917
+ height: {},
918
+ fill: { type: Boolean },
919
+ density: {},
920
+ color: {},
921
+ showOverlay: { type: Boolean },
922
+ title: {},
923
+ subtitle: {}
924
+ },
925
+ setup(e, { expose: t, emit: n }) {
926
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
927
+ return K(() => {
928
+ i.value && (a = ge(i.value, o()));
929
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
930
+ a?.destroy(), a = null;
931
+ }), t({}), (e, t) => (J(), U("div", {
932
+ ref_key: "hostRef",
933
+ ref: i,
934
+ class: "cos-matrixRain-host"
935
+ }, null, 512));
936
+ }
937
+ }), Ft = /* @__PURE__ */ G({
938
+ __name: "MazeGenerator",
939
+ props: {
940
+ width: {},
941
+ height: {},
942
+ cellSize: {},
943
+ onGenerated: { type: Function }
944
+ },
945
+ emits: ["generated"],
946
+ setup(e, { expose: t, emit: n }) {
947
+ let r = e, i = n, a = Y(), o = null, s = () => ({
948
+ ...r,
949
+ onGenerated: (...e) => i("generated", ...e)
950
+ });
951
+ return K(() => {
952
+ a.value && (o = Be(a.value, s()));
953
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
954
+ o?.destroy(), o = null;
955
+ }), t({}), (e, t) => (J(), U("div", {
956
+ ref_key: "hostRef",
957
+ ref: a,
958
+ class: "cos-mazeGenerator-host"
959
+ }, null, 512));
960
+ }
961
+ }), It = /* @__PURE__ */ G({
962
+ __name: "MetaballPool",
963
+ props: {
964
+ width: {},
965
+ height: {},
966
+ ballCount: {},
967
+ color: {}
968
+ },
969
+ setup(e, { expose: t, emit: n }) {
970
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
971
+ return K(() => {
972
+ i.value && (a = I(i.value, o()));
973
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
974
+ a?.destroy(), a = null;
975
+ }), t({}), (e, t) => (J(), U("div", {
976
+ ref_key: "hostRef",
977
+ ref: i,
978
+ class: "cos-metaballPool-host"
979
+ }, null, 512));
980
+ }
981
+ }), Lt = /* @__PURE__ */ G({
982
+ __name: "MeteorRain",
983
+ props: {
984
+ width: {},
985
+ height: {},
986
+ fill: { type: Boolean },
987
+ meteorCount: {}
988
+ },
989
+ setup(e, { expose: t, emit: n }) {
990
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
991
+ return K(() => {
992
+ i.value && (a = De(i.value, o()));
993
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
994
+ a?.destroy(), a = null;
995
+ }), t({}), (e, t) => (J(), U("div", {
996
+ ref_key: "hostRef",
997
+ ref: i,
998
+ class: "cos-meteorRain-host"
999
+ }, null, 512));
1000
+ }
1001
+ }), Rt = /* @__PURE__ */ G({
1002
+ __name: "NeonText",
1003
+ props: {
1004
+ text: {},
1005
+ color: {},
1006
+ fontSize: {},
1007
+ flicker: { type: Boolean }
1008
+ },
1009
+ setup(e, { expose: t, emit: n }) {
1010
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1011
+ return K(() => {
1012
+ i.value && (a = Le(i.value, o()));
1013
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1014
+ a?.destroy(), a = null;
1015
+ }), t({}), (e, t) => (J(), U("div", {
1016
+ ref_key: "hostRef",
1017
+ ref: i,
1018
+ class: "cos-neonText-host"
1019
+ }, null, 512));
1020
+ }
1021
+ }), zt = /* @__PURE__ */ G({
1022
+ __name: "NetworkGraph",
1023
+ props: {
1024
+ width: {},
1025
+ height: {},
1026
+ nodes: {},
1027
+ edges: {},
1028
+ linkColor: {},
1029
+ nodeRadius: {},
1030
+ hint: {}
1031
+ },
1032
+ setup(e, { expose: t, emit: n }) {
1033
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1034
+ return K(() => {
1035
+ i.value && (a = F(i.value, o()));
1036
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1037
+ a?.destroy(), a = null;
1038
+ }), t({}), (e, t) => (J(), U("div", {
1039
+ ref_key: "hostRef",
1040
+ ref: i,
1041
+ class: "cos-networkGraph-host"
1042
+ }, null, 512));
1043
+ }
1044
+ }), Bt = /* @__PURE__ */ G({
1045
+ __name: "NewtonCradle",
1046
+ props: {
1047
+ ballCount: {},
1048
+ color: {},
1049
+ width: {},
1050
+ height: {}
1051
+ },
1052
+ setup(e, { expose: t, emit: n }) {
1053
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1054
+ return K(() => {
1055
+ i.value && (a = Me(i.value, o()));
1056
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1057
+ a?.destroy(), a = null;
1058
+ }), t({}), (e, t) => (J(), U("div", {
1059
+ ref_key: "hostRef",
1060
+ ref: i,
1061
+ class: "cos-newtonCradle-host"
1062
+ }, null, 512));
1063
+ }
1064
+ }), Vt = /* @__PURE__ */ G({
1065
+ __name: "NineGrid",
1066
+ props: {
1067
+ items: {},
1068
+ targetIndex: {},
1069
+ buttonText: {},
1070
+ spinningText: {},
1071
+ onDrawEnd: { type: Function },
1072
+ disabled: { type: Boolean }
1073
+ },
1074
+ emits: ["draw-end"],
1075
+ setup(e, { expose: t, emit: n }) {
1076
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1077
+ ...r,
1078
+ onDrawEnd: (...e) => i("draw-end", ...e)
1079
+ });
1080
+ return K(() => {
1081
+ a.value && (o = M(a.value, s()));
1082
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1083
+ o?.destroy(), o = null;
1084
+ }), t({
1085
+ draw: (e) => o?.draw(e),
1086
+ reset: () => o?.reset()
1087
+ }), (e, t) => (J(), U("div", {
1088
+ ref_key: "hostRef",
1089
+ ref: a,
1090
+ class: "cos-nineGrid-host"
1091
+ }, null, 512));
1092
+ }
1093
+ }), Ht = /* @__PURE__ */ G({
1094
+ __name: "OrbitalChart",
1095
+ props: {
1096
+ data: {},
1097
+ size: {}
1098
+ },
1099
+ setup(e, { expose: t, emit: n }) {
1100
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1101
+ return K(() => {
1102
+ i.value && (a = Se(i.value, o()));
1103
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1104
+ a?.destroy(), a = null;
1105
+ }), t({}), (e, t) => (J(), U("div", {
1106
+ ref_key: "hostRef",
1107
+ ref: i,
1108
+ class: "cos-orbitalChart-host"
1109
+ }, null, 512));
1110
+ }
1111
+ }), Ut = /* @__PURE__ */ G({
1112
+ __name: "ParticleNetwork",
1113
+ props: {
1114
+ width: {},
1115
+ height: {},
1116
+ fill: { type: Boolean },
1117
+ particleCount: {},
1118
+ linkDistance: {},
1119
+ repelRadius: {},
1120
+ color: {},
1121
+ hint: {}
1122
+ },
1123
+ setup(e, { expose: t, emit: n }) {
1124
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1125
+ return K(() => {
1126
+ i.value && (a = Ie(i.value, o()));
1127
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1128
+ a?.destroy(), a = null;
1129
+ }), t({}), (e, t) => (J(), U("div", {
1130
+ ref_key: "hostRef",
1131
+ ref: i,
1132
+ class: "cos-particleNetwork-host"
1133
+ }, null, 512));
1134
+ }
1135
+ }), Wt = /* @__PURE__ */ G({
1136
+ __name: "PhotoAlbum",
1137
+ props: {
1138
+ photos: {},
1139
+ width: {},
1140
+ height: {},
1141
+ initialIndex: {},
1142
+ pageTurnDuration: {},
1143
+ objectFit: {},
1144
+ showPageNumber: {
1145
+ type: Boolean,
1146
+ default: !0
1147
+ },
1148
+ pageColor: {},
1149
+ coverColor: {},
1150
+ ariaLabel: {},
1151
+ labels: {},
1152
+ onPageChange: {},
1153
+ onIndexChange: {},
1154
+ className: {},
1155
+ style: {}
1156
+ },
1157
+ emits: ["page-change", "index-change"],
1158
+ setup(e, { expose: t, emit: n }) {
1159
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1160
+ ...r,
1161
+ onPageChange: (...e) => i("page-change", ...e),
1162
+ onIndexChange: (...e) => i("index-change", ...e)
1163
+ });
1164
+ return K(() => {
1165
+ a.value && (o = je(a.value, s()));
1166
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1167
+ o?.destroy(), o = null;
1168
+ }), t({}), (e, t) => (J(), U("div", {
1169
+ ref_key: "hostRef",
1170
+ ref: a,
1171
+ class: "cos-photoAlbum-host"
1172
+ }, null, 512));
1173
+ }
1174
+ }), Gt = /* @__PURE__ */ G({
1175
+ __name: "PhotoCarousel",
1176
+ props: {
1177
+ photos: {},
1178
+ width: {},
1179
+ height: {},
1180
+ radius: {},
1181
+ cardWidth: {},
1182
+ cardHeight: {},
1183
+ autoRotate: {
1184
+ type: Boolean,
1185
+ default: !0
1186
+ },
1187
+ autoRotateSpeed: {},
1188
+ dragSensitivity: {},
1189
+ friction: {},
1190
+ showCaption: { type: Boolean },
1191
+ initialAngle: {},
1192
+ onPhotoClick: {},
1193
+ onFaceChange: {},
1194
+ onIndexChange: {},
1195
+ ariaLabel: {},
1196
+ className: {},
1197
+ style: {}
1198
+ },
1199
+ emits: [
1200
+ "photo-click",
1201
+ "face-change",
1202
+ "index-change"
1203
+ ],
1204
+ setup(e, { expose: t, emit: n }) {
1205
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1206
+ ...r,
1207
+ onPhotoClick: (...e) => i("photo-click", ...e),
1208
+ onFaceChange: (...e) => i("face-change", ...e),
1209
+ onIndexChange: (...e) => i("index-change", ...e)
1210
+ });
1211
+ return K(() => {
1212
+ a.value && (o = ze(a.value, s()));
1213
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1214
+ o?.destroy(), o = null;
1215
+ }), t({}), (e, t) => (J(), U("div", {
1216
+ ref_key: "hostRef",
1217
+ ref: a,
1218
+ class: "cos-photoCarousel-host"
1219
+ }, null, 512));
1220
+ }
1221
+ }), Kt = /* @__PURE__ */ G({
1222
+ __name: "PhotoClothesline",
1223
+ props: {
1224
+ photos: {},
1225
+ width: {},
1226
+ height: {},
1227
+ photoWidth: {},
1228
+ photoHeight: {},
1229
+ photoGap: {},
1230
+ ropeTop: {},
1231
+ ropeSag: {},
1232
+ bandLength: {},
1233
+ bandWidth: {},
1234
+ maxPull: {},
1235
+ stiffness: {},
1236
+ damping: {},
1237
+ tension: {},
1238
+ tilt: {},
1239
+ ropeColor: {},
1240
+ bandColor: {},
1241
+ pinColor: {},
1242
+ frameColor: {},
1243
+ background: {},
1244
+ objectFit: {},
1245
+ showCaption: {
1246
+ type: Boolean,
1247
+ default: !0
1248
+ },
1249
+ initialIndex: {},
1250
+ onIndexChange: {},
1251
+ onPhotoClick: {},
1252
+ ariaLabel: {},
1253
+ className: {},
1254
+ style: {}
1255
+ },
1256
+ emits: ["index-change", "photo-click"],
1257
+ setup(e, { expose: t, emit: n }) {
1258
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1259
+ ...r,
1260
+ onIndexChange: (...e) => i("index-change", ...e),
1261
+ onPhotoClick: (...e) => i("photo-click", ...e)
1262
+ });
1263
+ return K(() => {
1264
+ a.value && (o = R(a.value, s()));
1265
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1266
+ o?.destroy(), o = null;
1267
+ }), t({}), (e, t) => (J(), U("div", {
1268
+ ref_key: "hostRef",
1269
+ ref: a,
1270
+ class: "cos-photoClothesline-host"
1271
+ }, null, 512));
1272
+ }
1273
+ }), qt = /* @__PURE__ */ G({
1274
+ __name: "PhotoFilmstrip",
1275
+ props: {
1276
+ photos: {},
1277
+ width: {},
1278
+ height: {},
1279
+ frameWidth: {},
1280
+ frameHeight: {},
1281
+ frameGap: {},
1282
+ showCaption: {
1283
+ type: Boolean,
1284
+ default: !0
1285
+ },
1286
+ friction: {},
1287
+ dragSensitivity: {},
1288
+ initialIndex: {},
1289
+ onPhotoClick: {},
1290
+ onIndexChange: {},
1291
+ ariaLabel: {},
1292
+ className: {},
1293
+ style: {}
1294
+ },
1295
+ emits: ["photo-click", "index-change"],
1296
+ setup(t, { expose: n, emit: r }) {
1297
+ let i = t, a = r, o = Y(), s = null, c = () => ({
1298
+ ...i,
1299
+ onPhotoClick: (...e) => a("photo-click", ...e),
1300
+ onIndexChange: (...e) => a("index-change", ...e)
1301
+ });
1302
+ return K(() => {
1303
+ o.value && (s = e(o.value, c()));
1304
+ }), Q(() => z(i), () => s?.update(c())), q(() => {
1305
+ s?.destroy(), s = null;
1306
+ }), n({}), (e, t) => (J(), U("div", {
1307
+ ref_key: "hostRef",
1308
+ ref: o,
1309
+ class: "cos-photoFilmstrip-host"
1310
+ }, null, 512));
1311
+ }
1312
+ }), Jt = /* @__PURE__ */ G({
1313
+ __name: "PhotoFridge",
1314
+ props: {
1315
+ photos: {},
1316
+ width: {},
1317
+ height: {},
1318
+ cardWidth: {},
1319
+ cardHeight: {},
1320
+ scatter: {},
1321
+ friction: {},
1322
+ showCaption: {
1323
+ type: Boolean,
1324
+ default: !0
1325
+ },
1326
+ initialIndex: {},
1327
+ onPhotoClick: {},
1328
+ ariaLabel: {},
1329
+ className: {},
1330
+ style: {}
1331
+ },
1332
+ emits: ["photo-click"],
1333
+ setup(e, { expose: t, emit: n }) {
1334
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1335
+ ...r,
1336
+ onPhotoClick: (...e) => i("photo-click", ...e)
1337
+ });
1338
+ return K(() => {
1339
+ a.value && (o = m(a.value, s()));
1340
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1341
+ o?.destroy(), o = null;
1342
+ }), t({}), (e, t) => (J(), U("div", {
1343
+ ref_key: "hostRef",
1344
+ ref: a,
1345
+ class: "cos-photoFridge-host"
1346
+ }, null, 512));
1347
+ }
1348
+ }), Yt = /* @__PURE__ */ G({
1349
+ __name: "PhotoLantern",
1350
+ props: {
1351
+ photos: {},
1352
+ width: {},
1353
+ height: {},
1354
+ autoRotate: {
1355
+ type: Boolean,
1356
+ default: !0
1357
+ },
1358
+ autoRotateSpeed: {},
1359
+ dragSensitivity: {},
1360
+ friction: {},
1361
+ frameColor: {},
1362
+ paperColor: {},
1363
+ lightColor: {},
1364
+ background: {},
1365
+ lightSway: {},
1366
+ showAccessories: {
1367
+ type: Boolean,
1368
+ default: !0
1369
+ },
1370
+ tasselColor: {},
1371
+ objectFit: {},
1372
+ silhouette: { type: Boolean },
1373
+ showCaption: { type: Boolean },
1374
+ initialAngle: {},
1375
+ onFaceChange: {},
1376
+ onIndexChange: {},
1377
+ onPhotoClick: {},
1378
+ ariaLabel: {},
1379
+ className: {},
1380
+ style: {}
1381
+ },
1382
+ emits: [
1383
+ "face-change",
1384
+ "index-change",
1385
+ "photo-click"
1386
+ ],
1387
+ setup(e, { expose: t, emit: n }) {
1388
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1389
+ ...r,
1390
+ onFaceChange: (...e) => i("face-change", ...e),
1391
+ onIndexChange: (...e) => i("index-change", ...e),
1392
+ onPhotoClick: (...e) => i("photo-click", ...e)
1393
+ });
1394
+ return K(() => {
1395
+ a.value && (o = k(a.value, s()));
1396
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1397
+ o?.destroy(), o = null;
1398
+ }), t({}), (e, t) => (J(), U("div", {
1399
+ ref_key: "hostRef",
1400
+ ref: a,
1401
+ class: "cos-photoLantern-host"
1402
+ }, null, 512));
1403
+ }
1404
+ }), Xt = /* @__PURE__ */ G({
1405
+ __name: "PhotoLightbox",
1406
+ props: {
1407
+ photos: {},
1408
+ width: {},
1409
+ height: {},
1410
+ slideWidth: {},
1411
+ slideHeight: {},
1412
+ pullThreshold: {},
1413
+ showCaption: {
1414
+ type: Boolean,
1415
+ default: !0
1416
+ },
1417
+ initialIndex: {},
1418
+ onPhotoClick: {},
1419
+ onIndexChange: {},
1420
+ ariaLabel: {},
1421
+ className: {},
1422
+ style: {}
1423
+ },
1424
+ emits: ["photo-click", "index-change"],
1425
+ setup(e, { expose: t, emit: n }) {
1426
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1427
+ ...r,
1428
+ onPhotoClick: (...e) => i("photo-click", ...e),
1429
+ onIndexChange: (...e) => i("index-change", ...e)
1430
+ });
1431
+ return K(() => {
1432
+ a.value && (o = D(a.value, s()));
1433
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1434
+ o?.destroy(), o = null;
1435
+ }), t({}), (e, t) => (J(), U("div", {
1436
+ ref_key: "hostRef",
1437
+ ref: a,
1438
+ class: "cos-photoLightbox-host"
1439
+ }, null, 512));
1440
+ }
1441
+ }), Zt = /* @__PURE__ */ G({
1442
+ __name: "PhotoPolaroid",
1443
+ props: {
1444
+ photos: {},
1445
+ width: {},
1446
+ height: {},
1447
+ cardWidth: {},
1448
+ cardHeight: {},
1449
+ scatter: {},
1450
+ showCaption: {
1451
+ type: Boolean,
1452
+ default: !0
1453
+ },
1454
+ initialIndex: {},
1455
+ onPhotoClick: {},
1456
+ ariaLabel: {},
1457
+ className: {},
1458
+ style: {}
1459
+ },
1460
+ emits: ["photo-click"],
1461
+ setup(e, { expose: t, emit: n }) {
1462
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1463
+ ...r,
1464
+ onPhotoClick: (...e) => i("photo-click", ...e)
1465
+ });
1466
+ return K(() => {
1467
+ a.value && (o = O(a.value, s()));
1468
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1469
+ o?.destroy(), o = null;
1470
+ }), t({}), (e, t) => (J(), U("div", {
1471
+ ref_key: "hostRef",
1472
+ ref: a,
1473
+ class: "cos-photoPolaroid-host"
1474
+ }, null, 512));
1475
+ }
1476
+ }), Qt = /* @__PURE__ */ G({
1477
+ __name: "PhotoPostcard",
1478
+ props: {
1479
+ photos: {},
1480
+ width: {},
1481
+ height: {},
1482
+ cardWidth: {},
1483
+ cardHeight: {},
1484
+ pullThreshold: {},
1485
+ showCaption: {
1486
+ type: Boolean,
1487
+ default: !0
1488
+ },
1489
+ initialIndex: {},
1490
+ initialFlipped: { type: Boolean },
1491
+ onPhotoClick: {},
1492
+ onIndexChange: {},
1493
+ onFlipChange: {},
1494
+ ariaLabel: {},
1495
+ className: {},
1496
+ style: {}
1497
+ },
1498
+ emits: [
1499
+ "photo-click",
1500
+ "index-change",
1501
+ "flip-change"
1502
+ ],
1503
+ setup(e, { expose: t, emit: n }) {
1504
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1505
+ ...r,
1506
+ onPhotoClick: (...e) => i("photo-click", ...e),
1507
+ onIndexChange: (...e) => i("index-change", ...e),
1508
+ onFlipChange: (...e) => i("flip-change", ...e)
1509
+ });
1510
+ return K(() => {
1511
+ a.value && (o = Ze(a.value, s()));
1512
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1513
+ o?.destroy(), o = null;
1514
+ }), t({}), (e, t) => (J(), U("div", {
1515
+ ref_key: "hostRef",
1516
+ ref: a,
1517
+ class: "cos-photoPostcard-host"
1518
+ }, null, 512));
1519
+ }
1520
+ }), $t = /* @__PURE__ */ G({
1521
+ __name: "PhotoPrism",
1522
+ props: {
1523
+ photos: {},
1524
+ width: {},
1525
+ height: {},
1526
+ size: {},
1527
+ autoRotate: {
1528
+ type: Boolean,
1529
+ default: !0
1530
+ },
1531
+ dragSensitivity: {},
1532
+ friction: {},
1533
+ showCaption: {
1534
+ type: Boolean,
1535
+ default: !0
1536
+ },
1537
+ onPhotoClick: {},
1538
+ ariaLabel: {},
1539
+ className: {},
1540
+ style: {}
1541
+ },
1542
+ emits: ["photo-click"],
1543
+ setup(e, { expose: t, emit: n }) {
1544
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1545
+ ...r,
1546
+ onPhotoClick: (...e) => i("photo-click", ...e)
1547
+ });
1548
+ return K(() => {
1549
+ a.value && (o = le(a.value, s()));
1550
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1551
+ o?.destroy(), o = null;
1552
+ }), t({}), (e, t) => (J(), U("div", {
1553
+ ref_key: "hostRef",
1554
+ ref: a,
1555
+ class: "cos-photoPrism-host"
1556
+ }, null, 512));
1557
+ }
1558
+ }), en = /* @__PURE__ */ G({
1559
+ __name: "PhotoScroll",
1560
+ props: {
1561
+ photos: {},
1562
+ width: {},
1563
+ height: {},
1564
+ frameWidth: {},
1565
+ frameHeight: {},
1566
+ frameGap: {},
1567
+ dragSensitivity: {},
1568
+ friction: {},
1569
+ showCaption: {
1570
+ type: Boolean,
1571
+ default: !0
1572
+ },
1573
+ initialIndex: {},
1574
+ onPhotoClick: {},
1575
+ onIndexChange: {},
1576
+ ariaLabel: {},
1577
+ className: {},
1578
+ style: {}
1579
+ },
1580
+ emits: ["photo-click", "index-change"],
1581
+ setup(e, { expose: t, emit: n }) {
1582
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1583
+ ...r,
1584
+ onPhotoClick: (...e) => i("photo-click", ...e),
1585
+ onIndexChange: (...e) => i("index-change", ...e)
1586
+ });
1587
+ return K(() => {
1588
+ a.value && (o = Fe(a.value, s()));
1589
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1590
+ o?.destroy(), o = null;
1591
+ }), t({}), (e, t) => (J(), U("div", {
1592
+ ref_key: "hostRef",
1593
+ ref: a,
1594
+ class: "cos-photoScroll-host"
1595
+ }, null, 512));
1596
+ }
1597
+ }), tn = /* @__PURE__ */ G({
1598
+ __name: "PhotoTunnel",
1599
+ props: {
1600
+ photos: {},
1601
+ width: {},
1602
+ height: {},
1603
+ depthStep: {},
1604
+ dragSensitivity: {},
1605
+ friction: {},
1606
+ autoAdvance: { type: Boolean },
1607
+ autoAdvanceSpeed: {},
1608
+ showCaption: {
1609
+ type: Boolean,
1610
+ default: !0
1611
+ },
1612
+ initialIndex: {},
1613
+ onPhotoClick: {},
1614
+ onIndexChange: {},
1615
+ ariaLabel: {},
1616
+ className: {},
1617
+ style: {}
1618
+ },
1619
+ emits: ["photo-click", "index-change"],
1620
+ setup(e, { expose: t, emit: n }) {
1621
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1622
+ ...r,
1623
+ onPhotoClick: (...e) => i("photo-click", ...e),
1624
+ onIndexChange: (...e) => i("index-change", ...e)
1625
+ });
1626
+ return K(() => {
1627
+ a.value && (o = ue(a.value, s()));
1628
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1629
+ o?.destroy(), o = null;
1630
+ }), t({}), (e, t) => (J(), U("div", {
1631
+ ref_key: "hostRef",
1632
+ ref: a,
1633
+ class: "cos-photoTunnel-host"
1634
+ }, null, 512));
1635
+ }
1636
+ }), nn = /* @__PURE__ */ G({
1637
+ __name: "PhotoViewMaster",
1638
+ props: {
1639
+ photos: {},
1640
+ width: {},
1641
+ height: {},
1642
+ discSize: {},
1643
+ peepSize: {},
1644
+ dragSensitivity: {},
1645
+ friction: {},
1646
+ autoRotate: {
1647
+ type: Boolean,
1648
+ default: !0
1649
+ },
1650
+ autoRotateSpeed: {},
1651
+ showCaption: {
1652
+ type: Boolean,
1653
+ default: !0
1654
+ },
1655
+ initialIndex: {},
1656
+ onPhotoClick: {},
1657
+ onIndexChange: {},
1658
+ ariaLabel: {},
1659
+ className: {},
1660
+ style: {}
1661
+ },
1662
+ emits: ["photo-click", "index-change"],
1663
+ setup(e, { expose: t, emit: n }) {
1664
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1665
+ ...r,
1666
+ onPhotoClick: (...e) => i("photo-click", ...e),
1667
+ onIndexChange: (...e) => i("index-change", ...e)
1668
+ });
1669
+ return K(() => {
1670
+ a.value && (o = ie(a.value, s()));
1671
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1672
+ o?.destroy(), o = null;
1673
+ }), t({}), (e, t) => (J(), U("div", {
1674
+ ref_key: "hostRef",
1675
+ ref: a,
1676
+ class: "cos-photoViewMaster-host"
1677
+ }, null, 512));
1678
+ }
1679
+ }), rn = /* @__PURE__ */ G({
1680
+ __name: "PlasmaBall",
1681
+ props: {
1682
+ width: {},
1683
+ height: {},
1684
+ color: {},
1685
+ arcCount: {}
1686
+ },
1687
+ setup(e, { expose: t, emit: n }) {
1688
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1689
+ return K(() => {
1690
+ i.value && (a = E(i.value, o()));
1691
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1692
+ a?.destroy(), a = null;
1693
+ }), t({}), (e, t) => (J(), U("div", {
1694
+ ref_key: "hostRef",
1695
+ ref: i,
1696
+ class: "cos-plasmaBall-host"
1697
+ }, null, 512));
1698
+ }
1699
+ }), an = /* @__PURE__ */ G({
1700
+ __name: "ProgressChest",
1701
+ props: {
1702
+ progress: {},
1703
+ auto: { type: Boolean },
1704
+ onOpen: { type: Function },
1705
+ label: {},
1706
+ openedLabel: {}
1707
+ },
1708
+ emits: ["open"],
1709
+ setup(e, { expose: t, emit: n }) {
1710
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1711
+ ...r,
1712
+ onOpen: (...e) => i("open", ...e)
1713
+ });
1714
+ return K(() => {
1715
+ a.value && (o = l(a.value, s()));
1716
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1717
+ o?.destroy(), o = null;
1718
+ }), t({}), (e, t) => (J(), U("div", {
1719
+ ref_key: "hostRef",
1720
+ ref: a,
1721
+ class: "cos-progressChest-host"
1722
+ }, null, 512));
1723
+ }
1724
+ }), on = /* @__PURE__ */ G({
1725
+ __name: "RadarScan",
1726
+ props: {
1727
+ size: {},
1728
+ color: {},
1729
+ blipCount: {}
1730
+ },
1731
+ setup(e, { expose: t, emit: n }) {
1732
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1733
+ return K(() => {
1734
+ i.value && (a = me(i.value, o()));
1735
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1736
+ a?.destroy(), a = null;
1737
+ }), t({}), (e, t) => (J(), U("div", {
1738
+ ref_key: "hostRef",
1739
+ ref: i,
1740
+ class: "cos-radarScan-host"
1741
+ }, null, 512));
1742
+ }
1743
+ }), sn = /* @__PURE__ */ G({
1744
+ __name: "RedPacketRain",
1745
+ props: {
1746
+ width: {},
1747
+ height: {},
1748
+ fill: { type: Boolean },
1749
+ duration: {},
1750
+ auto: {
1751
+ type: Boolean,
1752
+ default: !0
1753
+ },
1754
+ onGrab: {},
1755
+ onEnd: {},
1756
+ grabbedLabel: {},
1757
+ endedText: {},
1758
+ hint: {}
1759
+ },
1760
+ emits: ["grab", "end"],
1761
+ setup(e, { expose: t, emit: n }) {
1762
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1763
+ ...r,
1764
+ onGrab: (...e) => i("grab", ...e),
1765
+ onEnd: (...e) => i("end", ...e)
1766
+ });
1767
+ return K(() => {
1768
+ a.value && (o = we(a.value, s()));
1769
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1770
+ o?.destroy(), o = null;
1771
+ }), t({
1772
+ start: () => o?.start(),
1773
+ stop: () => o?.stop(),
1774
+ reset: () => o?.reset()
1775
+ }), (e, t) => (J(), U("div", {
1776
+ ref_key: "hostRef",
1777
+ ref: a,
1778
+ class: "cos-redPacketRain-host"
1779
+ }, null, 512));
1780
+ }
1781
+ }), cn = /* @__PURE__ */ G({
1782
+ __name: "ReturnCity",
1783
+ props: {
1784
+ starCount: {},
1785
+ glassCount: {},
1786
+ glassRadius: {}
1787
+ },
1788
+ setup(e, { expose: t, emit: r }) {
1789
+ let i = e, a = Y(), o = null, s = () => ({ ...i });
1790
+ return K(() => {
1791
+ a.value && (o = n(a.value, s()));
1792
+ }), Q(() => z(i), () => o?.update(s())), q(() => {
1793
+ o?.destroy(), o = null;
1794
+ }), t({}), (e, t) => (J(), U("div", {
1795
+ ref_key: "hostRef",
1796
+ ref: a,
1797
+ class: "cos-returnCity-host"
1798
+ }, null, 512));
1799
+ }
1800
+ }), ln = /* @__PURE__ */ G({
1801
+ __name: "RippleWater",
1802
+ props: {
1803
+ width: {},
1804
+ height: {},
1805
+ fill: { type: Boolean },
1806
+ fromColor: {},
1807
+ toColor: {},
1808
+ color: {},
1809
+ waveAmplitude: {},
1810
+ waveSpeed: {},
1811
+ shimmer: {},
1812
+ reflection: {},
1813
+ rippleStrength: {},
1814
+ rippleRadius: {},
1815
+ damping: {},
1816
+ spread: {},
1817
+ interactive: {
1818
+ type: Boolean,
1819
+ default: !0
1820
+ },
1821
+ showHint: {
1822
+ type: Boolean,
1823
+ default: !0
1824
+ },
1825
+ hint: {}
1826
+ },
1827
+ setup(e, { expose: t, emit: n }) {
1828
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1829
+ return K(() => {
1830
+ i.value && (a = We(i.value, o()));
1831
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1832
+ a?.destroy(), a = null;
1833
+ }), t({}), (e, t) => (J(), U("div", {
1834
+ ref_key: "hostRef",
1835
+ ref: i,
1836
+ class: "cos-rippleWater-host",
1837
+ style: {
1838
+ display: "block",
1839
+ width: "100%",
1840
+ height: "100%"
1841
+ }
1842
+ }, null, 512));
1843
+ }
1844
+ }), un = /* @__PURE__ */ G({
1845
+ __name: "RopeChain",
1846
+ props: {
1847
+ width: {},
1848
+ height: {},
1849
+ segments: {},
1850
+ color: {},
1851
+ gravity: {}
1852
+ },
1853
+ setup(e, { expose: t, emit: n }) {
1854
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1855
+ return K(() => {
1856
+ i.value && (a = Ee(i.value, o()));
1857
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1858
+ a?.destroy(), a = null;
1859
+ }), t({}), (e, t) => (J(), U("div", {
1860
+ ref_key: "hostRef",
1861
+ ref: i,
1862
+ class: "cos-ropeChain-host"
1863
+ }, null, 512));
1864
+ }
1865
+ }), dn = /* @__PURE__ */ G({
1866
+ __name: "RotatingText",
1867
+ props: {
1868
+ texts: {},
1869
+ interval: {},
1870
+ stagger: {},
1871
+ duration: {},
1872
+ fontSize: {},
1873
+ color: {},
1874
+ highlightColor: {}
1875
+ },
1876
+ setup(e, { expose: t, emit: n }) {
1877
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1878
+ return K(() => {
1879
+ i.value && (a = d(i.value, o()));
1880
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1881
+ a?.destroy(), a = null;
1882
+ }), t({}), (e, t) => (J(), U("div", {
1883
+ ref_key: "hostRef",
1884
+ ref: i,
1885
+ class: "cos-rotatingText-host"
1886
+ }, null, 512));
1887
+ }
1888
+ }), fn = /* @__PURE__ */ G({
1889
+ __name: "SandFall",
1890
+ props: {
1891
+ width: {},
1892
+ height: {},
1893
+ cellSize: {},
1894
+ colors: {},
1895
+ spawnRate: {},
1896
+ hint: {},
1897
+ clearText: {}
1898
+ },
1899
+ setup(e, { expose: t, emit: n }) {
1900
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1901
+ return K(() => {
1902
+ i.value && (a = P(i.value, o()));
1903
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1904
+ a?.destroy(), a = null;
1905
+ }), t({}), (e, t) => (J(), U("div", {
1906
+ ref_key: "hostRef",
1907
+ ref: i,
1908
+ class: "cos-sandFall-host"
1909
+ }, null, 512));
1910
+ }
1911
+ }), pn = /* @__PURE__ */ G({
1912
+ __name: "ScrambleText",
1913
+ props: {
1914
+ text: {},
1915
+ duration: {},
1916
+ charset: {}
1917
+ },
1918
+ setup(e, { expose: t, emit: n }) {
1919
+ let r = e, i = Y(), a = null, s = () => ({ ...r });
1920
+ return K(() => {
1921
+ i.value && (a = o(i.value, s()));
1922
+ }), Q(() => z(r), () => a?.update(s())), q(() => {
1923
+ a?.destroy(), a = null;
1924
+ }), t({}), (e, t) => (J(), U("div", {
1925
+ ref_key: "hostRef",
1926
+ ref: i,
1927
+ class: "cos-scrambleText-host"
1928
+ }, null, 512));
1929
+ }
1930
+ }), mn = /* @__PURE__ */ G({
1931
+ __name: "ScratchCard",
1932
+ props: {
1933
+ coverColor: {},
1934
+ prize: {},
1935
+ coverText: {},
1936
+ revealThreshold: {},
1937
+ onReveal: { type: Function },
1938
+ width: {},
1939
+ height: {}
1940
+ },
1941
+ emits: ["reveal"],
1942
+ setup(e, { expose: t, emit: n }) {
1943
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1944
+ ...r,
1945
+ onReveal: (...e) => i("reveal", ...e)
1946
+ });
1947
+ return K(() => {
1948
+ a.value && (o = v(a.value, s()));
1949
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
1950
+ o?.destroy(), o = null;
1951
+ }), t({
1952
+ reset: () => o?.reset(),
1953
+ reveal: () => o?.reveal()
1954
+ }), (e, t) => (J(), U("div", {
1955
+ ref_key: "hostRef",
1956
+ ref: a,
1957
+ class: "cos-scratchCard-host"
1958
+ }, null, 512));
1959
+ }
1960
+ }), hn = /* @__PURE__ */ G({
1961
+ __name: "ShinyText",
1962
+ props: {
1963
+ text: {},
1964
+ speed: {},
1965
+ color: {},
1966
+ shineColor: {},
1967
+ fontSize: {},
1968
+ disabled: { type: Boolean }
1969
+ },
1970
+ setup(e, { expose: t, emit: n }) {
1971
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
1972
+ return K(() => {
1973
+ i.value && (a = te(i.value, o()));
1974
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
1975
+ a?.destroy(), a = null;
1976
+ }), t({}), (e, t) => (J(), U("div", {
1977
+ ref_key: "hostRef",
1978
+ ref: i,
1979
+ class: "cos-shinyText-host"
1980
+ }, null, 512));
1981
+ }
1982
+ }), gn = /* @__PURE__ */ G({
1983
+ __name: "SlotMachine",
1984
+ props: {
1985
+ symbols: {},
1986
+ spinDuration: {},
1987
+ targetResults: {},
1988
+ onSpinEnd: { type: Function },
1989
+ startText: {},
1990
+ buttonText: {},
1991
+ spinningText: {},
1992
+ jackpotText: {},
1993
+ resultPrefix: {}
1994
+ },
1995
+ emits: ["spin-end"],
1996
+ setup(e, { expose: t, emit: n }) {
1997
+ let r = e, i = n, a = Y(), o = null, s = () => ({
1998
+ ...r,
1999
+ onSpinEnd: (...e) => i("spin-end", ...e)
2000
+ });
2001
+ return K(() => {
2002
+ a.value && (o = Ke(a.value, s()));
2003
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
2004
+ o?.destroy(), o = null;
2005
+ }), t({
2006
+ spin: (e) => o?.spin(e),
2007
+ reset: () => o?.reset()
2008
+ }), (e, t) => (J(), U("div", {
2009
+ ref_key: "hostRef",
2010
+ ref: a,
2011
+ class: "cos-slotMachine-host"
2012
+ }, null, 512));
2013
+ }
2014
+ }), _n = /* @__PURE__ */ G({
2015
+ __name: "SmokeFog",
2016
+ props: {
2017
+ width: {},
2018
+ height: {},
2019
+ fill: { type: Boolean },
2020
+ density: {},
2021
+ color: {},
2022
+ backgroundColor: {},
2023
+ speed: {},
2024
+ disperseStrength: {},
2025
+ disperseRadius: {},
2026
+ interactive: {
2027
+ type: Boolean,
2028
+ default: !0
2029
+ },
2030
+ ariaLabel: {}
2031
+ },
2032
+ setup(e, { expose: t, emit: n }) {
2033
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2034
+ return K(() => {
2035
+ i.value && (a = S(i.value, o()));
2036
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2037
+ a?.destroy(), a = null;
2038
+ }), t({}), (e, t) => (J(), U("div", {
2039
+ ref_key: "hostRef",
2040
+ ref: i,
2041
+ class: "cos-smokeFog-host"
2042
+ }, null, 512));
2043
+ }
2044
+ }), vn = /* @__PURE__ */ G({
2045
+ __name: "Snowfall",
2046
+ props: {
2047
+ width: {},
2048
+ height: {},
2049
+ fill: { type: Boolean },
2050
+ mode: {},
2051
+ count: {}
2052
+ },
2053
+ setup(e, { expose: t, emit: n }) {
2054
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2055
+ return K(() => {
2056
+ i.value && (a = re(i.value, o()));
2057
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2058
+ a?.destroy(), a = null;
2059
+ }), t({}), (e, t) => (J(), U("div", {
2060
+ ref_key: "hostRef",
2061
+ ref: i,
2062
+ class: "cos-snowfall-host"
2063
+ }, null, 512));
2064
+ }
2065
+ }), yn = /* @__PURE__ */ G({
2066
+ __name: "SoapBubbles",
2067
+ props: {
2068
+ width: {},
2069
+ height: {},
2070
+ fill: { type: Boolean },
2071
+ count: {},
2072
+ speed: {},
2073
+ interactive: {
2074
+ type: Boolean,
2075
+ default: !0
2076
+ },
2077
+ ariaLabel: {}
2078
+ },
2079
+ setup(e, { expose: t, emit: n }) {
2080
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2081
+ return K(() => {
2082
+ i.value && (a = w(i.value, o()));
2083
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2084
+ a?.destroy(), a = null;
2085
+ }), t({}), (e, t) => (J(), U("div", {
2086
+ ref_key: "hostRef",
2087
+ ref: i,
2088
+ class: "cos-soapBubbles-host"
2089
+ }, null, 512));
2090
+ }
2091
+ }), bn = /* @__PURE__ */ G({
2092
+ __name: "SolarSystem",
2093
+ props: {
2094
+ width: {},
2095
+ height: {},
2096
+ speed: {},
2097
+ showOrbits: { type: Boolean }
2098
+ },
2099
+ setup(e, { expose: t, emit: n }) {
2100
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2101
+ return K(() => {
2102
+ i.value && (a = ce(i.value, o()));
2103
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2104
+ a?.destroy(), a = null;
2105
+ }), t({}), (e, t) => (J(), U("div", {
2106
+ ref_key: "hostRef",
2107
+ ref: i,
2108
+ class: "cos-solarSystem-host"
2109
+ }, null, 512));
2110
+ }
2111
+ }), xn = /* @__PURE__ */ G({
2112
+ __name: "Speedometer",
2113
+ props: {
2114
+ value: {},
2115
+ max: {},
2116
+ label: {},
2117
+ color: {}
2118
+ },
2119
+ setup(e, { expose: t, emit: n }) {
2120
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2121
+ return K(() => {
2122
+ i.value && (a = c(i.value, o()));
2123
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2124
+ a?.destroy(), a = null;
2125
+ }), t({}), (e, t) => (J(), U("div", {
2126
+ ref_key: "hostRef",
2127
+ ref: i,
2128
+ class: "cos-speedometer-host"
2129
+ }, null, 512));
2130
+ }
2131
+ }), Sn = /* @__PURE__ */ G({
2132
+ __name: "SplitReveal",
2133
+ props: {
2134
+ text: {},
2135
+ delay: {},
2136
+ color: {}
2137
+ },
2138
+ setup(e, { expose: t, emit: n }) {
2139
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2140
+ return K(() => {
2141
+ i.value && (a = Je(i.value, o()));
2142
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2143
+ a?.destroy(), a = null;
2144
+ }), t({}), (e, t) => (J(), U("div", {
2145
+ ref_key: "hostRef",
2146
+ ref: i,
2147
+ class: "cos-splitReveal-host"
2148
+ }, null, 512));
2149
+ }
2150
+ }), Cn = /* @__PURE__ */ G({
2151
+ __name: "SplitText",
2152
+ props: {
2153
+ text: {},
2154
+ animation: {},
2155
+ stagger: {},
2156
+ duration: {},
2157
+ loop: { type: Boolean },
2158
+ loopPause: {},
2159
+ fontSize: {},
2160
+ color: {}
2161
+ },
2162
+ setup(e, { expose: t, emit: n }) {
2163
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2164
+ return K(() => {
2165
+ i.value && (a = He(i.value, o()));
2166
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2167
+ a?.destroy(), a = null;
2168
+ }), t({}), (e, t) => (J(), U("div", {
2169
+ ref_key: "hostRef",
2170
+ ref: i,
2171
+ class: "cos-splitText-host"
2172
+ }, null, 512));
2173
+ }
2174
+ }), wn = /* @__PURE__ */ G({
2175
+ __name: "Spotlight",
2176
+ props: {
2177
+ radius: {},
2178
+ dimColor: {},
2179
+ defaultContent: {},
2180
+ slotElement: {}
2181
+ },
2182
+ setup(e, { expose: t }) {
2183
+ let n = e, r = Y(), i = Y(null), a = null, o = () => ({
2184
+ ...n,
2185
+ defaultContent: void 0
2186
+ });
2187
+ return K(() => {
2188
+ r.value && (a = ye(r.value, o()), i.value = a.getSlot?.() ?? null);
2189
+ }), Q(() => z(n), () => a?.update(o())), q(() => {
2190
+ a?.destroy(), a = null, i.value = null;
2191
+ }), t({ getSlot: () => a?.getSlot?.() }), (t, n) => (J(), U("div", {
2192
+ ref_key: "hostRef",
2193
+ ref: r,
2194
+ class: "cos-spotlight-host"
2195
+ }, [i.value ? (J(), V(B, {
2196
+ key: 0,
2197
+ to: i.value
2198
+ }, [X(t.$slots, "default", {}, () => [W("span", null, Z(e.defaultContent ?? "隐藏内容"), 1)])], 8, ["to"])) : H("", !0)], 512));
2199
+ }
2200
+ }), Tn = /* @__PURE__ */ G({
2201
+ __name: "SpringMass",
2202
+ props: {
2203
+ width: {},
2204
+ height: {},
2205
+ cols: {},
2206
+ rows: {},
2207
+ stiffness: {},
2208
+ damping: {},
2209
+ color: {},
2210
+ hint: {}
2211
+ },
2212
+ setup(e, { expose: t, emit: n }) {
2213
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2214
+ return K(() => {
2215
+ i.value && (a = j(i.value, o()));
2216
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2217
+ a?.destroy(), a = null;
2218
+ }), t({}), (e, t) => (J(), U("div", {
2219
+ ref_key: "hostRef",
2220
+ ref: i,
2221
+ class: "cos-springMass-host"
2222
+ }, null, 512));
2223
+ }
2224
+ }), En = /* @__PURE__ */ G({
2225
+ __name: "Starfield",
2226
+ props: {
2227
+ width: {},
2228
+ height: {},
2229
+ fill: { type: Boolean },
2230
+ starCount: {},
2231
+ speed: {}
2232
+ },
2233
+ setup(e, { expose: t, emit: n }) {
2234
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2235
+ return K(() => {
2236
+ i.value && (a = p(i.value, o()));
2237
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2238
+ a?.destroy(), a = null;
2239
+ }), t({}), (e, t) => (J(), U("div", {
2240
+ ref_key: "hostRef",
2241
+ ref: i,
2242
+ class: "cos-starfield-host"
2243
+ }, null, 512));
2244
+ }
2245
+ }), Dn = /* @__PURE__ */ G({
2246
+ __name: "TextMorph",
2247
+ props: {
2248
+ texts: {},
2249
+ interval: {},
2250
+ duration: {},
2251
+ fontSize: {},
2252
+ color: {}
2253
+ },
2254
+ setup(e, { expose: t, emit: n }) {
2255
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2256
+ return K(() => {
2257
+ i.value && (a = ke(i.value, o()));
2258
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2259
+ a?.destroy(), a = null;
2260
+ }), t({}), (e, t) => (J(), U("div", {
2261
+ ref_key: "hostRef",
2262
+ ref: i,
2263
+ class: "cos-textMorph-host"
2264
+ }, null, 512));
2265
+ }
2266
+ }), On = /* @__PURE__ */ G({
2267
+ __name: "TimelinePulse",
2268
+ props: {
2269
+ steps: {},
2270
+ current: {},
2271
+ color: {}
2272
+ },
2273
+ setup(e, { expose: t, emit: n }) {
2274
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2275
+ return K(() => {
2276
+ i.value && (a = b(i.value, o()));
2277
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2278
+ a?.destroy(), a = null;
2279
+ }), t({}), (e, t) => (J(), U("div", {
2280
+ ref_key: "hostRef",
2281
+ ref: i,
2282
+ class: "cos-timelinePulse-host"
2283
+ }, null, 512));
2284
+ }
2285
+ }), kn = /* @__PURE__ */ G({
2286
+ __name: "TrueFocus",
2287
+ props: {
2288
+ sentence: {},
2289
+ separator: {},
2290
+ manualMode: { type: Boolean },
2291
+ blurAmount: {},
2292
+ borderColor: {},
2293
+ glowColor: {},
2294
+ animationDuration: {},
2295
+ pauseBetweenAnimations: {},
2296
+ fontSize: {},
2297
+ color: {}
2298
+ },
2299
+ setup(e, { expose: t, emit: n }) {
2300
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2301
+ return K(() => {
2302
+ i.value && (a = Pe(i.value, o()));
2303
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2304
+ a?.destroy(), a = null;
2305
+ }), t({}), (e, t) => (J(), U("div", {
2306
+ ref_key: "hostRef",
2307
+ ref: i,
2308
+ class: "cos-trueFocus-host"
2309
+ }, null, 512));
2310
+ }
2311
+ }), An = /* @__PURE__ */ G({
2312
+ __name: "Turntable",
2313
+ props: {
2314
+ prizes: {},
2315
+ size: {},
2316
+ spinDuration: {},
2317
+ spinRounds: {},
2318
+ targetIndex: {},
2319
+ buttonText: {},
2320
+ spinningText: {},
2321
+ resultPrefix: {},
2322
+ onSpinEnd: { type: Function }
2323
+ },
2324
+ emits: ["spin-end"],
2325
+ setup(e, { expose: t, emit: n }) {
2326
+ let r = e, i = n, a = Y(), o = null, s = () => ({
2327
+ ...r,
2328
+ onSpinEnd: (...e) => i("spin-end", ...e)
2329
+ });
2330
+ return K(() => {
2331
+ a.value && (o = xe(a.value, s()));
2332
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
2333
+ o?.destroy(), o = null;
2334
+ }), t({
2335
+ spin: (e) => o?.spin(e),
2336
+ reset: () => o?.reset()
2337
+ }), (e, t) => (J(), U("div", {
2338
+ ref_key: "hostRef",
2339
+ ref: a,
2340
+ class: "cos-turntable-host"
2341
+ }, null, 512));
2342
+ }
2343
+ }), jn = /* @__PURE__ */ G({
2344
+ __name: "Typewriter",
2345
+ props: {
2346
+ texts: {},
2347
+ speed: {},
2348
+ deleteSpeed: {},
2349
+ pause: {}
2350
+ },
2351
+ setup(e, { expose: t, emit: n }) {
2352
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2353
+ return K(() => {
2354
+ i.value && (a = _e(i.value, o()));
2355
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2356
+ a?.destroy(), a = null;
2357
+ }), t({}), (e, t) => (J(), U("div", {
2358
+ ref_key: "hostRef",
2359
+ ref: i,
2360
+ class: "cos-typewriter-host"
2361
+ }, null, 512));
2362
+ }
2363
+ }), Mn = /* @__PURE__ */ G({
2364
+ __name: "WaveButton",
2365
+ props: {
2366
+ text: {},
2367
+ color: {},
2368
+ className: {},
2369
+ style: {},
2370
+ buttonProps: {}
2371
+ },
2372
+ setup(e, { expose: t, emit: n }) {
2373
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2374
+ return K(() => {
2375
+ i.value && (a = L(i.value, o()));
2376
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2377
+ a?.destroy(), a = null;
2378
+ }), t({ getButton: () => a?.getButton() }), (e, t) => (J(), U("div", {
2379
+ ref_key: "hostRef",
2380
+ ref: i,
2381
+ class: "cos-waveButton-host"
2382
+ }, null, 512));
2383
+ }
2384
+ }), Nn = /* @__PURE__ */ G({
2385
+ __name: "WaveText",
2386
+ props: {
2387
+ text: {},
2388
+ amplitude: {},
2389
+ color: {},
2390
+ fontSize: {}
2391
+ },
2392
+ setup(e, { expose: t, emit: n }) {
2393
+ let r = e, i = Y(), a = null, o = () => ({ ...r });
2394
+ return K(() => {
2395
+ i.value && (a = Re(i.value, o()));
2396
+ }), Q(() => z(r), () => a?.update(o())), q(() => {
2397
+ a?.destroy(), a = null;
2398
+ }), t({}), (e, t) => (J(), U("div", {
2399
+ ref_key: "hostRef",
2400
+ ref: i,
2401
+ class: "cos-waveText-host"
2402
+ }, null, 512));
2403
+ }
2404
+ }), Pn = /* @__PURE__ */ G({
2405
+ __name: "WeatherBackground",
2406
+ props: {
2407
+ width: {},
2408
+ height: {},
2409
+ fill: { type: Boolean },
2410
+ weather: {},
2411
+ time: {},
2412
+ live: { type: Boolean },
2413
+ latitude: {},
2414
+ longitude: {},
2415
+ windLevel: {},
2416
+ rainLevel: {},
2417
+ snowLevel: {},
2418
+ hailLevel: {},
2419
+ fogLevel: {},
2420
+ smogLevel: {},
2421
+ onLiveWeather: { type: Function },
2422
+ loading: { type: Boolean },
2423
+ ariaLabel: {},
2424
+ loadingText: {}
2425
+ },
2426
+ emits: ["live-weather"],
2427
+ setup(e, { expose: t, emit: n }) {
2428
+ let r = e, i = n, a = Y(), o = null, s = () => ({
2429
+ ...r,
2430
+ onLiveWeather: (...e) => i("live-weather", ...e)
2431
+ });
2432
+ return K(() => {
2433
+ a.value && (o = Ae(a.value, s()));
2434
+ }), Q(() => z(r), () => o?.update(s())), q(() => {
2435
+ o?.destroy(), o = null;
2436
+ }), t({}), (e, t) => (J(), U("div", {
2437
+ ref_key: "hostRef",
2438
+ ref: a,
2439
+ class: "cos-weatherBackground-host"
2440
+ }, null, 512));
2441
+ }
2442
+ });
2443
+ //#endregion
2444
+ export { Qe as AudioVisualizer, $e as Aurora, et as AuroraVeil, tt as BarcodeScan, nt as BlurText, rt as BubbleField, it as BurnAway, at as CanvasClock, ot as Charge, st as CircularText, ct as ClickSpark, lt as Confetti, $ as CountUp, ut as Countdown, dt as CursorTrail, ft as CurvedLoop, pt as CyberGrid, mt as DandelionField, ht as DiceRoll, gt as DnaHelix, _t as DoublePendulum, vt as ElectricArc, yt as Fireworks, bt as FlipCard, xt as FlipCounter, St as FuzzyText, Ct as GameOfLife, wt as GlitchText, Tt as GradientFlow, Et as GravityBalls, Dt as HolographicCard, Ot as InkBloom, kt as LavaBubble, At as LiquidGlass, jt as LiquidProgress, Mt as LorenzAttractor, Nt as MagneticButton, Pt as MatrixRain, Ft as MazeGenerator, It as MetaballPool, Lt as MeteorRain, Rt as NeonText, zt as NetworkGraph, Bt as NewtonCradle, Vt as NineGrid, Ht as OrbitalChart, Ut as ParticleNetwork, Wt as PhotoAlbum, Gt as PhotoCarousel, Kt as PhotoClothesline, qt as PhotoFilmstrip, Jt as PhotoFridge, Yt as PhotoLantern, Xt as PhotoLightbox, Zt as PhotoPolaroid, Qt as PhotoPostcard, $t as PhotoPrism, en as PhotoScroll, tn as PhotoTunnel, nn as PhotoViewMaster, rn as PlasmaBall, an as ProgressChest, on as RadarScan, sn as RedPacketRain, cn as ReturnCity, ln as RippleWater, un as RopeChain, dn as RotatingText, fn as SandFall, pn as ScrambleText, mn as ScratchCard, hn as ShinyText, gn as SlotMachine, _n as SmokeFog, vn as Snowfall, yn as SoapBubbles, bn as SolarSystem, xn as Speedometer, Sn as SplitReveal, Cn as SplitText, wn as Spotlight, Tn as SpringMass, En as Starfield, Dn as TextMorph, On as TimelinePulse, kn as TrueFocus, An as Turntable, jn as Typewriter, Mn as WaveButton, Nn as WaveText, Pn as WeatherBackground };