shaders 2.2.8 → 2.2.10

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 (270) hide show
  1. package/dist/react/generatePresetCode-CbulNGo3.js +316 -0
  2. package/dist/react/generatePresetCode-ClK4i9O1.cjs +13 -0
  3. package/dist/react/index.cjs +398 -409
  4. package/dist/react/index.js +43787 -44329
  5. package/dist/react/utils/generatePresetCode.cjs +1 -13
  6. package/dist/react/utils/generatePresetCode.js +3 -609
  7. package/dist/svelte/generatePresetCode-CbulNGo3.js +316 -0
  8. package/dist/{react/utils/generatePresetCode.d.ts → svelte/generatePresetCode.template.d.ts} +1 -2
  9. package/dist/svelte/index.js +42894 -43383
  10. package/dist/svelte/utils/generatePresetCode.js +3 -609
  11. package/dist/vue/generatePresetCode-Baa8DyZE.js +322 -0
  12. package/dist/vue/index.js +1 -1
  13. package/dist/vue/utils/generatePresetCode.js +1 -1
  14. package/package.json +1 -1
  15. package/dist/react/codegen.d.ts +0 -1
  16. package/dist/react/components/AngularBlur.d.ts +0 -31
  17. package/dist/react/components/AngularBlur.d.ts.map +0 -1
  18. package/dist/react/components/Ascii.d.ts +0 -31
  19. package/dist/react/components/Ascii.d.ts.map +0 -1
  20. package/dist/react/components/Blob.d.ts +0 -31
  21. package/dist/react/components/Blob.d.ts.map +0 -1
  22. package/dist/react/components/Blur.d.ts +0 -31
  23. package/dist/react/components/Blur.d.ts.map +0 -1
  24. package/dist/react/components/Bulge.d.ts +0 -31
  25. package/dist/react/components/Bulge.d.ts.map +0 -1
  26. package/dist/react/components/CRTScreen.d.ts +0 -31
  27. package/dist/react/components/CRTScreen.d.ts.map +0 -1
  28. package/dist/react/components/ChannelBlur.d.ts +0 -31
  29. package/dist/react/components/ChannelBlur.d.ts.map +0 -1
  30. package/dist/react/components/Checkerboard.d.ts +0 -31
  31. package/dist/react/components/Checkerboard.d.ts.map +0 -1
  32. package/dist/react/components/ChromaFlow.d.ts +0 -31
  33. package/dist/react/components/ChromaFlow.d.ts.map +0 -1
  34. package/dist/react/components/ChromaticAberration.d.ts +0 -31
  35. package/dist/react/components/ChromaticAberration.d.ts.map +0 -1
  36. package/dist/react/components/Circle.d.ts +0 -31
  37. package/dist/react/components/Circle.d.ts.map +0 -1
  38. package/dist/react/components/ColorMapping.d.ts +0 -29
  39. package/dist/react/components/ColorMapping.d.ts.map +0 -1
  40. package/dist/react/components/CursorTrail.d.ts +0 -31
  41. package/dist/react/components/CursorTrail.d.ts.map +0 -1
  42. package/dist/react/components/DiffuseBlur.d.ts +0 -31
  43. package/dist/react/components/DiffuseBlur.d.ts.map +0 -1
  44. package/dist/react/components/Dither.d.ts +0 -31
  45. package/dist/react/components/Dither.d.ts.map +0 -1
  46. package/dist/react/components/DotGrid.d.ts +0 -31
  47. package/dist/react/components/DotGrid.d.ts.map +0 -1
  48. package/dist/react/components/Duotone.d.ts +0 -31
  49. package/dist/react/components/Duotone.d.ts.map +0 -1
  50. package/dist/react/components/Exposure.d.ts +0 -29
  51. package/dist/react/components/Exposure.d.ts.map +0 -1
  52. package/dist/react/components/FilmGrain.d.ts +0 -31
  53. package/dist/react/components/FilmGrain.d.ts.map +0 -1
  54. package/dist/react/components/FloatingParticles.d.ts +0 -31
  55. package/dist/react/components/FloatingParticles.d.ts.map +0 -1
  56. package/dist/react/components/Glass.d.ts +0 -31
  57. package/dist/react/components/Glass.d.ts.map +0 -1
  58. package/dist/react/components/GlassTiles.d.ts +0 -31
  59. package/dist/react/components/GlassTiles.d.ts.map +0 -1
  60. package/dist/react/components/Glitch.d.ts +0 -29
  61. package/dist/react/components/Glitch.d.ts.map +0 -1
  62. package/dist/react/components/Glow.d.ts +0 -31
  63. package/dist/react/components/Glow.d.ts.map +0 -1
  64. package/dist/react/components/Godrays.d.ts +0 -31
  65. package/dist/react/components/Godrays.d.ts.map +0 -1
  66. package/dist/react/components/Grayscale.d.ts +0 -31
  67. package/dist/react/components/Grayscale.d.ts.map +0 -1
  68. package/dist/react/components/Grid.d.ts +0 -31
  69. package/dist/react/components/Grid.d.ts.map +0 -1
  70. package/dist/react/components/GridDistortion.d.ts +0 -31
  71. package/dist/react/components/GridDistortion.d.ts.map +0 -1
  72. package/dist/react/components/Group.d.ts +0 -31
  73. package/dist/react/components/Group.d.ts.map +0 -1
  74. package/dist/react/components/Halftone.d.ts +0 -31
  75. package/dist/react/components/Halftone.d.ts.map +0 -1
  76. package/dist/react/components/HueShift.d.ts +0 -31
  77. package/dist/react/components/HueShift.d.ts.map +0 -1
  78. package/dist/react/components/ImageTexture.d.ts +0 -31
  79. package/dist/react/components/ImageTexture.d.ts.map +0 -1
  80. package/dist/react/components/Invert.d.ts +0 -31
  81. package/dist/react/components/Invert.d.ts.map +0 -1
  82. package/dist/react/components/LinearBlur.d.ts +0 -31
  83. package/dist/react/components/LinearBlur.d.ts.map +0 -1
  84. package/dist/react/components/LinearGradient.d.ts +0 -31
  85. package/dist/react/components/LinearGradient.d.ts.map +0 -1
  86. package/dist/react/components/Liquify.d.ts +0 -31
  87. package/dist/react/components/Liquify.d.ts.map +0 -1
  88. package/dist/react/components/Mirror.d.ts +0 -29
  89. package/dist/react/components/Mirror.d.ts.map +0 -1
  90. package/dist/react/components/PerlinNoise.d.ts +0 -29
  91. package/dist/react/components/PerlinNoise.d.ts.map +0 -1
  92. package/dist/react/components/Pixelate.d.ts +0 -31
  93. package/dist/react/components/Pixelate.d.ts.map +0 -1
  94. package/dist/react/components/PolarCoordinates.d.ts +0 -31
  95. package/dist/react/components/PolarCoordinates.d.ts.map +0 -1
  96. package/dist/react/components/Posterize.d.ts +0 -31
  97. package/dist/react/components/Posterize.d.ts.map +0 -1
  98. package/dist/react/components/ProgressiveBlur.d.ts +0 -31
  99. package/dist/react/components/ProgressiveBlur.d.ts.map +0 -1
  100. package/dist/react/components/RadialBlur.d.ts +0 -29
  101. package/dist/react/components/RadialBlur.d.ts.map +0 -1
  102. package/dist/react/components/RadialGradient.d.ts +0 -31
  103. package/dist/react/components/RadialGradient.d.ts.map +0 -1
  104. package/dist/react/components/RectangularCoordinates.d.ts +0 -31
  105. package/dist/react/components/RectangularCoordinates.d.ts.map +0 -1
  106. package/dist/react/components/Ripples.d.ts +0 -31
  107. package/dist/react/components/Ripples.d.ts.map +0 -1
  108. package/dist/react/components/Saturation.d.ts +0 -31
  109. package/dist/react/components/Saturation.d.ts.map +0 -1
  110. package/dist/react/components/SimplexNoise.d.ts +0 -31
  111. package/dist/react/components/SimplexNoise.d.ts.map +0 -1
  112. package/dist/react/components/SineWave.d.ts +0 -31
  113. package/dist/react/components/SineWave.d.ts.map +0 -1
  114. package/dist/react/components/SolidColor.d.ts +0 -31
  115. package/dist/react/components/SolidColor.d.ts.map +0 -1
  116. package/dist/react/components/Spiral.d.ts +0 -31
  117. package/dist/react/components/Spiral.d.ts.map +0 -1
  118. package/dist/react/components/Strands.d.ts +0 -31
  119. package/dist/react/components/Strands.d.ts.map +0 -1
  120. package/dist/react/components/Stretch.d.ts +0 -31
  121. package/dist/react/components/Stretch.d.ts.map +0 -1
  122. package/dist/react/components/Swirl.d.ts +0 -31
  123. package/dist/react/components/Swirl.d.ts.map +0 -1
  124. package/dist/react/components/TiltShift.d.ts +0 -31
  125. package/dist/react/components/TiltShift.d.ts.map +0 -1
  126. package/dist/react/components/Tint.d.ts +0 -29
  127. package/dist/react/components/Tint.d.ts.map +0 -1
  128. package/dist/react/components/Tritone.d.ts +0 -31
  129. package/dist/react/components/Tritone.d.ts.map +0 -1
  130. package/dist/react/components/Twirl.d.ts +0 -31
  131. package/dist/react/components/Twirl.d.ts.map +0 -1
  132. package/dist/react/components/VCR.d.ts +0 -29
  133. package/dist/react/components/VCR.d.ts.map +0 -1
  134. package/dist/react/components/Vibrance.d.ts +0 -31
  135. package/dist/react/components/Vibrance.d.ts.map +0 -1
  136. package/dist/react/components/Vignette.d.ts +0 -29
  137. package/dist/react/components/Vignette.d.ts.map +0 -1
  138. package/dist/react/components/Voronoi.d.ts +0 -29
  139. package/dist/react/components/Voronoi.d.ts.map +0 -1
  140. package/dist/react/components/WaveDistortion.d.ts +0 -31
  141. package/dist/react/components/WaveDistortion.d.ts.map +0 -1
  142. package/dist/react/components/ZoomBlur.d.ts +0 -31
  143. package/dist/react/components/ZoomBlur.d.ts.map +0 -1
  144. package/dist/react/index.d.ts +0 -56
  145. package/dist/react/index.d.ts.map +0 -1
  146. package/dist/react/utils/generatePresetCode.d.ts.map +0 -1
  147. package/dist/svelte/components/ColorMapping.svelte.d.ts +0 -17
  148. package/dist/svelte/components/Exposure.svelte.d.ts +0 -17
  149. package/dist/svelte/components/Glass.svelte.d.ts +0 -19
  150. package/dist/svelte/components/Glitch.svelte.d.ts +0 -17
  151. package/dist/svelte/components/Mirror.svelte.d.ts +0 -17
  152. package/dist/svelte/components/PerlinNoise.svelte.d.ts +0 -17
  153. package/dist/svelte/components/RadialBlur.svelte.d.ts +0 -17
  154. package/dist/svelte/components/Tint.svelte.d.ts +0 -17
  155. package/dist/svelte/components/VCR.svelte.d.ts +0 -17
  156. package/dist/svelte/components/Vignette.svelte.d.ts +0 -17
  157. package/dist/svelte/components/Voronoi.svelte.d.ts +0 -17
  158. package/dist/vue/codegen.d.ts +0 -1
  159. package/dist/vue/components/AngularBlur.vue.d.ts +0 -57
  160. package/dist/vue/components/AngularBlur.vue.d.ts.map +0 -1
  161. package/dist/vue/components/Ascii.vue.d.ts +0 -57
  162. package/dist/vue/components/Ascii.vue.d.ts.map +0 -1
  163. package/dist/vue/components/Blob.vue.d.ts +0 -57
  164. package/dist/vue/components/Blob.vue.d.ts.map +0 -1
  165. package/dist/vue/components/Blur.vue.d.ts +0 -57
  166. package/dist/vue/components/Blur.vue.d.ts.map +0 -1
  167. package/dist/vue/components/Bulge.vue.d.ts +0 -57
  168. package/dist/vue/components/Bulge.vue.d.ts.map +0 -1
  169. package/dist/vue/components/CRTScreen.vue.d.ts +0 -57
  170. package/dist/vue/components/CRTScreen.vue.d.ts.map +0 -1
  171. package/dist/vue/components/ChannelBlur.vue.d.ts +0 -57
  172. package/dist/vue/components/ChannelBlur.vue.d.ts.map +0 -1
  173. package/dist/vue/components/Checkerboard.vue.d.ts +0 -57
  174. package/dist/vue/components/Checkerboard.vue.d.ts.map +0 -1
  175. package/dist/vue/components/ChromaFlow.vue.d.ts +0 -57
  176. package/dist/vue/components/ChromaFlow.vue.d.ts.map +0 -1
  177. package/dist/vue/components/ChromaticAberration.vue.d.ts +0 -57
  178. package/dist/vue/components/ChromaticAberration.vue.d.ts.map +0 -1
  179. package/dist/vue/components/Circle.vue.d.ts +0 -57
  180. package/dist/vue/components/Circle.vue.d.ts.map +0 -1
  181. package/dist/vue/components/CursorTrail.vue.d.ts +0 -57
  182. package/dist/vue/components/CursorTrail.vue.d.ts.map +0 -1
  183. package/dist/vue/components/DiffuseBlur.vue.d.ts +0 -57
  184. package/dist/vue/components/DiffuseBlur.vue.d.ts.map +0 -1
  185. package/dist/vue/components/Dither.vue.d.ts +0 -57
  186. package/dist/vue/components/Dither.vue.d.ts.map +0 -1
  187. package/dist/vue/components/DotGrid.vue.d.ts +0 -57
  188. package/dist/vue/components/DotGrid.vue.d.ts.map +0 -1
  189. package/dist/vue/components/Duotone.vue.d.ts +0 -57
  190. package/dist/vue/components/Duotone.vue.d.ts.map +0 -1
  191. package/dist/vue/components/FilmGrain.vue.d.ts +0 -57
  192. package/dist/vue/components/FilmGrain.vue.d.ts.map +0 -1
  193. package/dist/vue/components/FloatingParticles.vue.d.ts +0 -57
  194. package/dist/vue/components/FloatingParticles.vue.d.ts.map +0 -1
  195. package/dist/vue/components/GlassTiles.vue.d.ts +0 -57
  196. package/dist/vue/components/GlassTiles.vue.d.ts.map +0 -1
  197. package/dist/vue/components/Glow.vue.d.ts +0 -57
  198. package/dist/vue/components/Glow.vue.d.ts.map +0 -1
  199. package/dist/vue/components/Godrays.vue.d.ts +0 -57
  200. package/dist/vue/components/Godrays.vue.d.ts.map +0 -1
  201. package/dist/vue/components/Grayscale.vue.d.ts +0 -57
  202. package/dist/vue/components/Grayscale.vue.d.ts.map +0 -1
  203. package/dist/vue/components/Grid.vue.d.ts +0 -57
  204. package/dist/vue/components/Grid.vue.d.ts.map +0 -1
  205. package/dist/vue/components/GridDistortion.vue.d.ts +0 -57
  206. package/dist/vue/components/GridDistortion.vue.d.ts.map +0 -1
  207. package/dist/vue/components/Group.vue.d.ts +0 -57
  208. package/dist/vue/components/Group.vue.d.ts.map +0 -1
  209. package/dist/vue/components/HalfTone.vue.d.ts +0 -57
  210. package/dist/vue/components/HalfTone.vue.d.ts.map +0 -1
  211. package/dist/vue/components/HueShift.vue.d.ts +0 -57
  212. package/dist/vue/components/HueShift.vue.d.ts.map +0 -1
  213. package/dist/vue/components/ImageTexture.vue.d.ts +0 -57
  214. package/dist/vue/components/ImageTexture.vue.d.ts.map +0 -1
  215. package/dist/vue/components/Invert.vue.d.ts +0 -57
  216. package/dist/vue/components/Invert.vue.d.ts.map +0 -1
  217. package/dist/vue/components/LinearBlur.vue.d.ts +0 -57
  218. package/dist/vue/components/LinearBlur.vue.d.ts.map +0 -1
  219. package/dist/vue/components/LinearGradient.vue.d.ts +0 -57
  220. package/dist/vue/components/LinearGradient.vue.d.ts.map +0 -1
  221. package/dist/vue/components/Liquify.vue.d.ts +0 -57
  222. package/dist/vue/components/Liquify.vue.d.ts.map +0 -1
  223. package/dist/vue/components/Pixelate.vue.d.ts +0 -57
  224. package/dist/vue/components/Pixelate.vue.d.ts.map +0 -1
  225. package/dist/vue/components/PolarCoordinates.vue.d.ts +0 -57
  226. package/dist/vue/components/PolarCoordinates.vue.d.ts.map +0 -1
  227. package/dist/vue/components/Posterize.vue.d.ts +0 -57
  228. package/dist/vue/components/Posterize.vue.d.ts.map +0 -1
  229. package/dist/vue/components/ProgressiveBlur.vue.d.ts +0 -57
  230. package/dist/vue/components/ProgressiveBlur.vue.d.ts.map +0 -1
  231. package/dist/vue/components/RadialGradient.vue.d.ts +0 -57
  232. package/dist/vue/components/RadialGradient.vue.d.ts.map +0 -1
  233. package/dist/vue/components/RectangularCoordinates.vue.d.ts +0 -57
  234. package/dist/vue/components/RectangularCoordinates.vue.d.ts.map +0 -1
  235. package/dist/vue/components/Ripples.vue.d.ts +0 -57
  236. package/dist/vue/components/Ripples.vue.d.ts.map +0 -1
  237. package/dist/vue/components/Saturation.vue.d.ts +0 -57
  238. package/dist/vue/components/Saturation.vue.d.ts.map +0 -1
  239. package/dist/vue/components/SimplexNoise.vue.d.ts +0 -57
  240. package/dist/vue/components/SimplexNoise.vue.d.ts.map +0 -1
  241. package/dist/vue/components/SineWave.vue.d.ts +0 -57
  242. package/dist/vue/components/SineWave.vue.d.ts.map +0 -1
  243. package/dist/vue/components/SolidColor.vue.d.ts +0 -57
  244. package/dist/vue/components/SolidColor.vue.d.ts.map +0 -1
  245. package/dist/vue/components/Spiral.vue.d.ts +0 -57
  246. package/dist/vue/components/Spiral.vue.d.ts.map +0 -1
  247. package/dist/vue/components/Strands.vue.d.ts +0 -57
  248. package/dist/vue/components/Strands.vue.d.ts.map +0 -1
  249. package/dist/vue/components/Stretch.vue.d.ts +0 -57
  250. package/dist/vue/components/Stretch.vue.d.ts.map +0 -1
  251. package/dist/vue/components/Swirl.vue.d.ts +0 -57
  252. package/dist/vue/components/Swirl.vue.d.ts.map +0 -1
  253. package/dist/vue/components/TiltShift.vue.d.ts +0 -57
  254. package/dist/vue/components/TiltShift.vue.d.ts.map +0 -1
  255. package/dist/vue/components/Tritone.vue.d.ts +0 -57
  256. package/dist/vue/components/Tritone.vue.d.ts.map +0 -1
  257. package/dist/vue/components/Twirl.vue.d.ts +0 -57
  258. package/dist/vue/components/Twirl.vue.d.ts.map +0 -1
  259. package/dist/vue/components/Vibrance.vue.d.ts +0 -57
  260. package/dist/vue/components/Vibrance.vue.d.ts.map +0 -1
  261. package/dist/vue/components/WaveDistortion.vue.d.ts +0 -57
  262. package/dist/vue/components/WaveDistortion.vue.d.ts.map +0 -1
  263. package/dist/vue/components/ZoomBlur.vue.d.ts +0 -57
  264. package/dist/vue/components/ZoomBlur.vue.d.ts.map +0 -1
  265. package/dist/vue/generatePresetCode-DoYZnbEH.js +0 -613
  266. package/dist/vue/index.d.ts +0 -56
  267. package/dist/vue/index.d.ts.map +0 -1
  268. package/dist/vue/utils/generatePresetCode.d.ts +0 -13
  269. package/dist/vue/utils/generatePresetCode.d.ts.map +0 -1
  270. /package/dist/svelte/components/{HalfTone.svelte.d.ts → Halftone.svelte.d.ts} +0 -0
@@ -0,0 +1,316 @@
1
+ var p = {
2
+ AngularBlur: {
3
+ opacity: 1,
4
+ blendMode: "normal"
5
+ },
6
+ Ascii: {
7
+ opacity: 1,
8
+ blendMode: "normal"
9
+ },
10
+ Blob: {
11
+ opacity: 1,
12
+ blendMode: "normal"
13
+ },
14
+ Blur: {
15
+ opacity: 1,
16
+ blendMode: "normal"
17
+ },
18
+ Bulge: {
19
+ opacity: 1,
20
+ blendMode: "normal"
21
+ },
22
+ CRTScreen: {
23
+ opacity: 1,
24
+ blendMode: "normal"
25
+ },
26
+ ChannelBlur: {
27
+ opacity: 1,
28
+ blendMode: "normal"
29
+ },
30
+ Checkerboard: {
31
+ opacity: 1,
32
+ blendMode: "normal"
33
+ },
34
+ ChromaFlow: {
35
+ opacity: 1,
36
+ blendMode: "normal"
37
+ },
38
+ ChromaticAberration: {
39
+ opacity: 1,
40
+ blendMode: "normal"
41
+ },
42
+ Circle: {
43
+ opacity: 1,
44
+ blendMode: "normal"
45
+ },
46
+ CursorTrail: {
47
+ opacity: 1,
48
+ blendMode: "normal"
49
+ },
50
+ DiffuseBlur: {
51
+ opacity: 1,
52
+ blendMode: "normal"
53
+ },
54
+ Dither: {
55
+ opacity: 1,
56
+ blendMode: "normal"
57
+ },
58
+ DotGrid: {
59
+ opacity: 1,
60
+ blendMode: "normal"
61
+ },
62
+ Duotone: {
63
+ opacity: 1,
64
+ blendMode: "normal"
65
+ },
66
+ FilmGrain: {
67
+ opacity: 1,
68
+ blendMode: "normal"
69
+ },
70
+ FloatingParticles: {
71
+ opacity: 1,
72
+ blendMode: "normal"
73
+ },
74
+ GlassTiles: {
75
+ opacity: 1,
76
+ blendMode: "normal"
77
+ },
78
+ Glow: {
79
+ opacity: 1,
80
+ blendMode: "normal"
81
+ },
82
+ Godrays: {
83
+ opacity: 1,
84
+ blendMode: "normal"
85
+ },
86
+ Grayscale: {
87
+ opacity: 1,
88
+ blendMode: "normal"
89
+ },
90
+ Grid: {
91
+ opacity: 1,
92
+ blendMode: "normal"
93
+ },
94
+ GridDistortion: {
95
+ opacity: 1,
96
+ blendMode: "normal"
97
+ },
98
+ Group: {
99
+ opacity: 1,
100
+ blendMode: "normal"
101
+ },
102
+ Halftone: {
103
+ opacity: 1,
104
+ blendMode: "normal"
105
+ },
106
+ HueShift: {
107
+ opacity: 1,
108
+ blendMode: "normal"
109
+ },
110
+ ImageTexture: {
111
+ opacity: 1,
112
+ blendMode: "normal"
113
+ },
114
+ Invert: {
115
+ opacity: 1,
116
+ blendMode: "normal"
117
+ },
118
+ LinearBlur: {
119
+ opacity: 1,
120
+ blendMode: "normal"
121
+ },
122
+ LinearGradient: {
123
+ opacity: 1,
124
+ blendMode: "normal"
125
+ },
126
+ Liquify: {
127
+ opacity: 1,
128
+ blendMode: "normal"
129
+ },
130
+ Pixelate: {
131
+ opacity: 1,
132
+ blendMode: "normal"
133
+ },
134
+ PolarCoordinates: {
135
+ opacity: 1,
136
+ blendMode: "normal"
137
+ },
138
+ Posterize: {
139
+ opacity: 1,
140
+ blendMode: "normal"
141
+ },
142
+ ProgressiveBlur: {
143
+ opacity: 1,
144
+ blendMode: "normal"
145
+ },
146
+ RadialGradient: {
147
+ opacity: 1,
148
+ blendMode: "normal"
149
+ },
150
+ RectangularCoordinates: {
151
+ opacity: 1,
152
+ blendMode: "normal"
153
+ },
154
+ Ripples: {
155
+ opacity: 1,
156
+ blendMode: "normal"
157
+ },
158
+ Saturation: {
159
+ opacity: 1,
160
+ blendMode: "normal"
161
+ },
162
+ SimplexNoise: {
163
+ opacity: 1,
164
+ blendMode: "normal"
165
+ },
166
+ SineWave: {
167
+ opacity: 1,
168
+ blendMode: "normal"
169
+ },
170
+ SolidColor: {
171
+ opacity: 1,
172
+ blendMode: "normal"
173
+ },
174
+ Spiral: {
175
+ opacity: 1,
176
+ blendMode: "normal"
177
+ },
178
+ Strands: {
179
+ opacity: 1,
180
+ blendMode: "normal"
181
+ },
182
+ Stretch: {
183
+ opacity: 1,
184
+ blendMode: "normal"
185
+ },
186
+ Swirl: {
187
+ opacity: 1,
188
+ blendMode: "normal"
189
+ },
190
+ TiltShift: {
191
+ opacity: 1,
192
+ blendMode: "normal"
193
+ },
194
+ Tritone: {
195
+ opacity: 1,
196
+ blendMode: "normal"
197
+ },
198
+ Twirl: {
199
+ opacity: 1,
200
+ blendMode: "normal"
201
+ },
202
+ Vibrance: {
203
+ opacity: 1,
204
+ blendMode: "normal"
205
+ },
206
+ WaveDistortion: {
207
+ opacity: 1,
208
+ blendMode: "normal"
209
+ },
210
+ ZoomBlur: {
211
+ opacity: 1,
212
+ blendMode: "normal"
213
+ }
214
+ };
215
+ function c(l, t, e = " ") {
216
+ return Object.entries(l).filter(([o, r]) => {
217
+ const n = p[t] || {};
218
+ if (n.hasOwnProperty(o)) {
219
+ const a = n[o];
220
+ return typeof r == "object" && typeof a == "object" ? JSON.stringify(r) !== JSON.stringify(a) : r !== a;
221
+ }
222
+ return !(o === "opacity" && r === 1 || o === "blendMode" && r === "normal");
223
+ }).map(([o, r]) => typeof r == "string" ? `${o}="${r}"` : typeof r == "object" ? `${o}={${JSON.stringify(r)}}` : `${o}={${r}}`).join(`
224
+ ` + e + " ");
225
+ }
226
+ function s(l, t) {
227
+ const e = [];
228
+ function o(r) {
229
+ for (const n of r)
230
+ e.push(n), n.children && o(n.children);
231
+ }
232
+ return o(t), e.some((r) => r.props?.maskSource === l);
233
+ }
234
+ function m(l) {
235
+ const t = (e, o = " ") => {
236
+ const r = e.props ? c(e.props, e.type, o) : "";
237
+ let n = "";
238
+ e.id && s(e.id, l.components) && (n = `id="${e.id}"`);
239
+ const a = [n, r].filter(Boolean).join(`
240
+ ` + o + " ");
241
+ if (e.children && e.children.length > 0) {
242
+ const i = e.children.map((d) => t(d, o + " ")).join(`
243
+ `);
244
+ return a ? `${o}<${e.type}
245
+ ${o} ${a}>
246
+ ${i}
247
+ ${o}</${e.type}>` : `${o}<${e.type}>
248
+ ${i}
249
+ ${o}</${e.type}>`;
250
+ } else return a ? `${o}<${e.type}
251
+ ${o} ${a} />` : `${o}<${e.type} />`;
252
+ };
253
+ return `<Shader>
254
+ ${l.components.map((e) => t(e)).join(`
255
+ `)}
256
+ </Shader>`;
257
+ }
258
+ const y = [
259
+ "AngularBlur",
260
+ "Ascii",
261
+ "Blob",
262
+ "Blur",
263
+ "Bulge",
264
+ "CRTScreen",
265
+ "ChannelBlur",
266
+ "Checkerboard",
267
+ "ChromaFlow",
268
+ "ChromaticAberration",
269
+ "Circle",
270
+ "CursorTrail",
271
+ "DiffuseBlur",
272
+ "Dither",
273
+ "DotGrid",
274
+ "Duotone",
275
+ "FilmGrain",
276
+ "FloatingParticles",
277
+ "GlassTiles",
278
+ "Glow",
279
+ "Godrays",
280
+ "Grayscale",
281
+ "Grid",
282
+ "GridDistortion",
283
+ "Group",
284
+ "Halftone",
285
+ "HueShift",
286
+ "ImageTexture",
287
+ "Invert",
288
+ "LinearBlur",
289
+ "LinearGradient",
290
+ "Liquify",
291
+ "Pixelate",
292
+ "PolarCoordinates",
293
+ "Posterize",
294
+ "ProgressiveBlur",
295
+ "RadialGradient",
296
+ "RectangularCoordinates",
297
+ "Ripples",
298
+ "Saturation",
299
+ "SimplexNoise",
300
+ "SineWave",
301
+ "SolidColor",
302
+ "Spiral",
303
+ "Strands",
304
+ "Stretch",
305
+ "Swirl",
306
+ "TiltShift",
307
+ "Tritone",
308
+ "Twirl",
309
+ "Vibrance",
310
+ "WaveDistortion",
311
+ "ZoomBlur"
312
+ ];
313
+ export {
314
+ m as n,
315
+ y as t
316
+ };
@@ -8,6 +8,5 @@ interface PresetConfig {
8
8
  components: ComponentConfig[];
9
9
  }
10
10
  export declare function generatePresetCode(preset: PresetConfig): string;
11
- export declare const availableComponents: string[];
11
+ export declare const availableComponents: any[];
12
12
  export {};
13
- //# sourceMappingURL=generatePresetCode.d.ts.map