shaders 2.2.8 → 2.2.9
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.
- package/dist/react/generatePresetCode-CbulNGo3.js +316 -0
- package/dist/react/generatePresetCode-ClK4i9O1.cjs +13 -0
- package/dist/react/index.cjs +398 -409
- package/dist/react/index.js +43787 -44329
- package/dist/react/utils/generatePresetCode.cjs +1 -13
- package/dist/react/utils/generatePresetCode.js +3 -609
- package/dist/svelte/generatePresetCode-CbulNGo3.js +316 -0
- package/dist/{react/utils/generatePresetCode.d.ts → svelte/generatePresetCode.template.d.ts} +1 -2
- package/dist/svelte/index.js +42894 -43383
- package/dist/svelte/utils/generatePresetCode.js +3 -609
- package/dist/vue/generatePresetCode-Baa8DyZE.js +322 -0
- package/dist/vue/index.js +1 -1
- package/dist/vue/utils/generatePresetCode.js +1 -1
- package/package.json +1 -1
- package/dist/react/codegen.d.ts +0 -1
- package/dist/react/components/AngularBlur.d.ts +0 -31
- package/dist/react/components/AngularBlur.d.ts.map +0 -1
- package/dist/react/components/Ascii.d.ts +0 -31
- package/dist/react/components/Ascii.d.ts.map +0 -1
- package/dist/react/components/Blob.d.ts +0 -31
- package/dist/react/components/Blob.d.ts.map +0 -1
- package/dist/react/components/Blur.d.ts +0 -31
- package/dist/react/components/Blur.d.ts.map +0 -1
- package/dist/react/components/Bulge.d.ts +0 -31
- package/dist/react/components/Bulge.d.ts.map +0 -1
- package/dist/react/components/CRTScreen.d.ts +0 -31
- package/dist/react/components/CRTScreen.d.ts.map +0 -1
- package/dist/react/components/ChannelBlur.d.ts +0 -31
- package/dist/react/components/ChannelBlur.d.ts.map +0 -1
- package/dist/react/components/Checkerboard.d.ts +0 -31
- package/dist/react/components/Checkerboard.d.ts.map +0 -1
- package/dist/react/components/ChromaFlow.d.ts +0 -31
- package/dist/react/components/ChromaFlow.d.ts.map +0 -1
- package/dist/react/components/ChromaticAberration.d.ts +0 -31
- package/dist/react/components/ChromaticAberration.d.ts.map +0 -1
- package/dist/react/components/Circle.d.ts +0 -31
- package/dist/react/components/Circle.d.ts.map +0 -1
- package/dist/react/components/ColorMapping.d.ts +0 -29
- package/dist/react/components/ColorMapping.d.ts.map +0 -1
- package/dist/react/components/CursorTrail.d.ts +0 -31
- package/dist/react/components/CursorTrail.d.ts.map +0 -1
- package/dist/react/components/DiffuseBlur.d.ts +0 -31
- package/dist/react/components/DiffuseBlur.d.ts.map +0 -1
- package/dist/react/components/Dither.d.ts +0 -31
- package/dist/react/components/Dither.d.ts.map +0 -1
- package/dist/react/components/DotGrid.d.ts +0 -31
- package/dist/react/components/DotGrid.d.ts.map +0 -1
- package/dist/react/components/Duotone.d.ts +0 -31
- package/dist/react/components/Duotone.d.ts.map +0 -1
- package/dist/react/components/Exposure.d.ts +0 -29
- package/dist/react/components/Exposure.d.ts.map +0 -1
- package/dist/react/components/FilmGrain.d.ts +0 -31
- package/dist/react/components/FilmGrain.d.ts.map +0 -1
- package/dist/react/components/FloatingParticles.d.ts +0 -31
- package/dist/react/components/FloatingParticles.d.ts.map +0 -1
- package/dist/react/components/Glass.d.ts +0 -31
- package/dist/react/components/Glass.d.ts.map +0 -1
- package/dist/react/components/GlassTiles.d.ts +0 -31
- package/dist/react/components/GlassTiles.d.ts.map +0 -1
- package/dist/react/components/Glitch.d.ts +0 -29
- package/dist/react/components/Glitch.d.ts.map +0 -1
- package/dist/react/components/Glow.d.ts +0 -31
- package/dist/react/components/Glow.d.ts.map +0 -1
- package/dist/react/components/Godrays.d.ts +0 -31
- package/dist/react/components/Godrays.d.ts.map +0 -1
- package/dist/react/components/Grayscale.d.ts +0 -31
- package/dist/react/components/Grayscale.d.ts.map +0 -1
- package/dist/react/components/Grid.d.ts +0 -31
- package/dist/react/components/Grid.d.ts.map +0 -1
- package/dist/react/components/GridDistortion.d.ts +0 -31
- package/dist/react/components/GridDistortion.d.ts.map +0 -1
- package/dist/react/components/Group.d.ts +0 -31
- package/dist/react/components/Group.d.ts.map +0 -1
- package/dist/react/components/Halftone.d.ts +0 -31
- package/dist/react/components/Halftone.d.ts.map +0 -1
- package/dist/react/components/HueShift.d.ts +0 -31
- package/dist/react/components/HueShift.d.ts.map +0 -1
- package/dist/react/components/ImageTexture.d.ts +0 -31
- package/dist/react/components/ImageTexture.d.ts.map +0 -1
- package/dist/react/components/Invert.d.ts +0 -31
- package/dist/react/components/Invert.d.ts.map +0 -1
- package/dist/react/components/LinearBlur.d.ts +0 -31
- package/dist/react/components/LinearBlur.d.ts.map +0 -1
- package/dist/react/components/LinearGradient.d.ts +0 -31
- package/dist/react/components/LinearGradient.d.ts.map +0 -1
- package/dist/react/components/Liquify.d.ts +0 -31
- package/dist/react/components/Liquify.d.ts.map +0 -1
- package/dist/react/components/Mirror.d.ts +0 -29
- package/dist/react/components/Mirror.d.ts.map +0 -1
- package/dist/react/components/PerlinNoise.d.ts +0 -29
- package/dist/react/components/PerlinNoise.d.ts.map +0 -1
- package/dist/react/components/Pixelate.d.ts +0 -31
- package/dist/react/components/Pixelate.d.ts.map +0 -1
- package/dist/react/components/PolarCoordinates.d.ts +0 -31
- package/dist/react/components/PolarCoordinates.d.ts.map +0 -1
- package/dist/react/components/Posterize.d.ts +0 -31
- package/dist/react/components/Posterize.d.ts.map +0 -1
- package/dist/react/components/ProgressiveBlur.d.ts +0 -31
- package/dist/react/components/ProgressiveBlur.d.ts.map +0 -1
- package/dist/react/components/RadialBlur.d.ts +0 -29
- package/dist/react/components/RadialBlur.d.ts.map +0 -1
- package/dist/react/components/RadialGradient.d.ts +0 -31
- package/dist/react/components/RadialGradient.d.ts.map +0 -1
- package/dist/react/components/RectangularCoordinates.d.ts +0 -31
- package/dist/react/components/RectangularCoordinates.d.ts.map +0 -1
- package/dist/react/components/Ripples.d.ts +0 -31
- package/dist/react/components/Ripples.d.ts.map +0 -1
- package/dist/react/components/Saturation.d.ts +0 -31
- package/dist/react/components/Saturation.d.ts.map +0 -1
- package/dist/react/components/SimplexNoise.d.ts +0 -31
- package/dist/react/components/SimplexNoise.d.ts.map +0 -1
- package/dist/react/components/SineWave.d.ts +0 -31
- package/dist/react/components/SineWave.d.ts.map +0 -1
- package/dist/react/components/SolidColor.d.ts +0 -31
- package/dist/react/components/SolidColor.d.ts.map +0 -1
- package/dist/react/components/Spiral.d.ts +0 -31
- package/dist/react/components/Spiral.d.ts.map +0 -1
- package/dist/react/components/Strands.d.ts +0 -31
- package/dist/react/components/Strands.d.ts.map +0 -1
- package/dist/react/components/Stretch.d.ts +0 -31
- package/dist/react/components/Stretch.d.ts.map +0 -1
- package/dist/react/components/Swirl.d.ts +0 -31
- package/dist/react/components/Swirl.d.ts.map +0 -1
- package/dist/react/components/TiltShift.d.ts +0 -31
- package/dist/react/components/TiltShift.d.ts.map +0 -1
- package/dist/react/components/Tint.d.ts +0 -29
- package/dist/react/components/Tint.d.ts.map +0 -1
- package/dist/react/components/Tritone.d.ts +0 -31
- package/dist/react/components/Tritone.d.ts.map +0 -1
- package/dist/react/components/Twirl.d.ts +0 -31
- package/dist/react/components/Twirl.d.ts.map +0 -1
- package/dist/react/components/VCR.d.ts +0 -29
- package/dist/react/components/VCR.d.ts.map +0 -1
- package/dist/react/components/Vibrance.d.ts +0 -31
- package/dist/react/components/Vibrance.d.ts.map +0 -1
- package/dist/react/components/Vignette.d.ts +0 -29
- package/dist/react/components/Vignette.d.ts.map +0 -1
- package/dist/react/components/Voronoi.d.ts +0 -29
- package/dist/react/components/Voronoi.d.ts.map +0 -1
- package/dist/react/components/WaveDistortion.d.ts +0 -31
- package/dist/react/components/WaveDistortion.d.ts.map +0 -1
- package/dist/react/components/ZoomBlur.d.ts +0 -31
- package/dist/react/components/ZoomBlur.d.ts.map +0 -1
- package/dist/react/index.d.ts +0 -56
- package/dist/react/index.d.ts.map +0 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +0 -1
- package/dist/svelte/components/ColorMapping.svelte.d.ts +0 -17
- package/dist/svelte/components/Exposure.svelte.d.ts +0 -17
- package/dist/svelte/components/Glass.svelte.d.ts +0 -19
- package/dist/svelte/components/Glitch.svelte.d.ts +0 -17
- package/dist/svelte/components/Mirror.svelte.d.ts +0 -17
- package/dist/svelte/components/PerlinNoise.svelte.d.ts +0 -17
- package/dist/svelte/components/RadialBlur.svelte.d.ts +0 -17
- package/dist/svelte/components/Tint.svelte.d.ts +0 -17
- package/dist/svelte/components/VCR.svelte.d.ts +0 -17
- package/dist/svelte/components/Vignette.svelte.d.ts +0 -17
- package/dist/svelte/components/Voronoi.svelte.d.ts +0 -17
- package/dist/vue/codegen.d.ts +0 -1
- package/dist/vue/components/AngularBlur.vue.d.ts +0 -57
- package/dist/vue/components/AngularBlur.vue.d.ts.map +0 -1
- package/dist/vue/components/Ascii.vue.d.ts +0 -57
- package/dist/vue/components/Ascii.vue.d.ts.map +0 -1
- package/dist/vue/components/Blob.vue.d.ts +0 -57
- package/dist/vue/components/Blob.vue.d.ts.map +0 -1
- package/dist/vue/components/Blur.vue.d.ts +0 -57
- package/dist/vue/components/Blur.vue.d.ts.map +0 -1
- package/dist/vue/components/Bulge.vue.d.ts +0 -57
- package/dist/vue/components/Bulge.vue.d.ts.map +0 -1
- package/dist/vue/components/CRTScreen.vue.d.ts +0 -57
- package/dist/vue/components/CRTScreen.vue.d.ts.map +0 -1
- package/dist/vue/components/ChannelBlur.vue.d.ts +0 -57
- package/dist/vue/components/ChannelBlur.vue.d.ts.map +0 -1
- package/dist/vue/components/Checkerboard.vue.d.ts +0 -57
- package/dist/vue/components/Checkerboard.vue.d.ts.map +0 -1
- package/dist/vue/components/ChromaFlow.vue.d.ts +0 -57
- package/dist/vue/components/ChromaFlow.vue.d.ts.map +0 -1
- package/dist/vue/components/ChromaticAberration.vue.d.ts +0 -57
- package/dist/vue/components/ChromaticAberration.vue.d.ts.map +0 -1
- package/dist/vue/components/Circle.vue.d.ts +0 -57
- package/dist/vue/components/Circle.vue.d.ts.map +0 -1
- package/dist/vue/components/CursorTrail.vue.d.ts +0 -57
- package/dist/vue/components/CursorTrail.vue.d.ts.map +0 -1
- package/dist/vue/components/DiffuseBlur.vue.d.ts +0 -57
- package/dist/vue/components/DiffuseBlur.vue.d.ts.map +0 -1
- package/dist/vue/components/Dither.vue.d.ts +0 -57
- package/dist/vue/components/Dither.vue.d.ts.map +0 -1
- package/dist/vue/components/DotGrid.vue.d.ts +0 -57
- package/dist/vue/components/DotGrid.vue.d.ts.map +0 -1
- package/dist/vue/components/Duotone.vue.d.ts +0 -57
- package/dist/vue/components/Duotone.vue.d.ts.map +0 -1
- package/dist/vue/components/FilmGrain.vue.d.ts +0 -57
- package/dist/vue/components/FilmGrain.vue.d.ts.map +0 -1
- package/dist/vue/components/FloatingParticles.vue.d.ts +0 -57
- package/dist/vue/components/FloatingParticles.vue.d.ts.map +0 -1
- package/dist/vue/components/GlassTiles.vue.d.ts +0 -57
- package/dist/vue/components/GlassTiles.vue.d.ts.map +0 -1
- package/dist/vue/components/Glow.vue.d.ts +0 -57
- package/dist/vue/components/Glow.vue.d.ts.map +0 -1
- package/dist/vue/components/Godrays.vue.d.ts +0 -57
- package/dist/vue/components/Godrays.vue.d.ts.map +0 -1
- package/dist/vue/components/Grayscale.vue.d.ts +0 -57
- package/dist/vue/components/Grayscale.vue.d.ts.map +0 -1
- package/dist/vue/components/Grid.vue.d.ts +0 -57
- package/dist/vue/components/Grid.vue.d.ts.map +0 -1
- package/dist/vue/components/GridDistortion.vue.d.ts +0 -57
- package/dist/vue/components/GridDistortion.vue.d.ts.map +0 -1
- package/dist/vue/components/Group.vue.d.ts +0 -57
- package/dist/vue/components/Group.vue.d.ts.map +0 -1
- package/dist/vue/components/HalfTone.vue.d.ts +0 -57
- package/dist/vue/components/HalfTone.vue.d.ts.map +0 -1
- package/dist/vue/components/HueShift.vue.d.ts +0 -57
- package/dist/vue/components/HueShift.vue.d.ts.map +0 -1
- package/dist/vue/components/ImageTexture.vue.d.ts +0 -57
- package/dist/vue/components/ImageTexture.vue.d.ts.map +0 -1
- package/dist/vue/components/Invert.vue.d.ts +0 -57
- package/dist/vue/components/Invert.vue.d.ts.map +0 -1
- package/dist/vue/components/LinearBlur.vue.d.ts +0 -57
- package/dist/vue/components/LinearBlur.vue.d.ts.map +0 -1
- package/dist/vue/components/LinearGradient.vue.d.ts +0 -57
- package/dist/vue/components/LinearGradient.vue.d.ts.map +0 -1
- package/dist/vue/components/Liquify.vue.d.ts +0 -57
- package/dist/vue/components/Liquify.vue.d.ts.map +0 -1
- package/dist/vue/components/Pixelate.vue.d.ts +0 -57
- package/dist/vue/components/Pixelate.vue.d.ts.map +0 -1
- package/dist/vue/components/PolarCoordinates.vue.d.ts +0 -57
- package/dist/vue/components/PolarCoordinates.vue.d.ts.map +0 -1
- package/dist/vue/components/Posterize.vue.d.ts +0 -57
- package/dist/vue/components/Posterize.vue.d.ts.map +0 -1
- package/dist/vue/components/ProgressiveBlur.vue.d.ts +0 -57
- package/dist/vue/components/ProgressiveBlur.vue.d.ts.map +0 -1
- package/dist/vue/components/RadialGradient.vue.d.ts +0 -57
- package/dist/vue/components/RadialGradient.vue.d.ts.map +0 -1
- package/dist/vue/components/RectangularCoordinates.vue.d.ts +0 -57
- package/dist/vue/components/RectangularCoordinates.vue.d.ts.map +0 -1
- package/dist/vue/components/Ripples.vue.d.ts +0 -57
- package/dist/vue/components/Ripples.vue.d.ts.map +0 -1
- package/dist/vue/components/Saturation.vue.d.ts +0 -57
- package/dist/vue/components/Saturation.vue.d.ts.map +0 -1
- package/dist/vue/components/SimplexNoise.vue.d.ts +0 -57
- package/dist/vue/components/SimplexNoise.vue.d.ts.map +0 -1
- package/dist/vue/components/SineWave.vue.d.ts +0 -57
- package/dist/vue/components/SineWave.vue.d.ts.map +0 -1
- package/dist/vue/components/SolidColor.vue.d.ts +0 -57
- package/dist/vue/components/SolidColor.vue.d.ts.map +0 -1
- package/dist/vue/components/Spiral.vue.d.ts +0 -57
- package/dist/vue/components/Spiral.vue.d.ts.map +0 -1
- package/dist/vue/components/Strands.vue.d.ts +0 -57
- package/dist/vue/components/Strands.vue.d.ts.map +0 -1
- package/dist/vue/components/Stretch.vue.d.ts +0 -57
- package/dist/vue/components/Stretch.vue.d.ts.map +0 -1
- package/dist/vue/components/Swirl.vue.d.ts +0 -57
- package/dist/vue/components/Swirl.vue.d.ts.map +0 -1
- package/dist/vue/components/TiltShift.vue.d.ts +0 -57
- package/dist/vue/components/TiltShift.vue.d.ts.map +0 -1
- package/dist/vue/components/Tritone.vue.d.ts +0 -57
- package/dist/vue/components/Tritone.vue.d.ts.map +0 -1
- package/dist/vue/components/Twirl.vue.d.ts +0 -57
- package/dist/vue/components/Twirl.vue.d.ts.map +0 -1
- package/dist/vue/components/Vibrance.vue.d.ts +0 -57
- package/dist/vue/components/Vibrance.vue.d.ts.map +0 -1
- package/dist/vue/components/WaveDistortion.vue.d.ts +0 -57
- package/dist/vue/components/WaveDistortion.vue.d.ts.map +0 -1
- package/dist/vue/components/ZoomBlur.vue.d.ts +0 -57
- package/dist/vue/components/ZoomBlur.vue.d.ts.map +0 -1
- package/dist/vue/generatePresetCode-DoYZnbEH.js +0 -613
- package/dist/vue/index.d.ts +0 -56
- package/dist/vue/index.d.ts.map +0 -1
- package/dist/vue/utils/generatePresetCode.d.ts +0 -13
- package/dist/vue/utils/generatePresetCode.d.ts.map +0 -1
- /package/dist/svelte/components/{HalfTone.svelte.d.ts → Halftone.svelte.d.ts} +0 -0
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
function p(a) {
|
|
2
|
+
return a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
3
|
+
}
|
|
4
|
+
var c = {
|
|
5
|
+
AngularBlur: {
|
|
6
|
+
opacity: 1,
|
|
7
|
+
blendMode: "normal"
|
|
8
|
+
},
|
|
9
|
+
Ascii: {
|
|
10
|
+
opacity: 1,
|
|
11
|
+
blendMode: "normal"
|
|
12
|
+
},
|
|
13
|
+
Blob: {
|
|
14
|
+
opacity: 1,
|
|
15
|
+
blendMode: "normal"
|
|
16
|
+
},
|
|
17
|
+
Blur: {
|
|
18
|
+
opacity: 1,
|
|
19
|
+
blendMode: "normal"
|
|
20
|
+
},
|
|
21
|
+
Bulge: {
|
|
22
|
+
opacity: 1,
|
|
23
|
+
blendMode: "normal"
|
|
24
|
+
},
|
|
25
|
+
CRTScreen: {
|
|
26
|
+
opacity: 1,
|
|
27
|
+
blendMode: "normal"
|
|
28
|
+
},
|
|
29
|
+
ChannelBlur: {
|
|
30
|
+
opacity: 1,
|
|
31
|
+
blendMode: "normal"
|
|
32
|
+
},
|
|
33
|
+
Checkerboard: {
|
|
34
|
+
opacity: 1,
|
|
35
|
+
blendMode: "normal"
|
|
36
|
+
},
|
|
37
|
+
ChromaFlow: {
|
|
38
|
+
opacity: 1,
|
|
39
|
+
blendMode: "normal"
|
|
40
|
+
},
|
|
41
|
+
ChromaticAberration: {
|
|
42
|
+
opacity: 1,
|
|
43
|
+
blendMode: "normal"
|
|
44
|
+
},
|
|
45
|
+
Circle: {
|
|
46
|
+
opacity: 1,
|
|
47
|
+
blendMode: "normal"
|
|
48
|
+
},
|
|
49
|
+
CursorTrail: {
|
|
50
|
+
opacity: 1,
|
|
51
|
+
blendMode: "normal"
|
|
52
|
+
},
|
|
53
|
+
DiffuseBlur: {
|
|
54
|
+
opacity: 1,
|
|
55
|
+
blendMode: "normal"
|
|
56
|
+
},
|
|
57
|
+
Dither: {
|
|
58
|
+
opacity: 1,
|
|
59
|
+
blendMode: "normal"
|
|
60
|
+
},
|
|
61
|
+
DotGrid: {
|
|
62
|
+
opacity: 1,
|
|
63
|
+
blendMode: "normal"
|
|
64
|
+
},
|
|
65
|
+
Duotone: {
|
|
66
|
+
opacity: 1,
|
|
67
|
+
blendMode: "normal"
|
|
68
|
+
},
|
|
69
|
+
FilmGrain: {
|
|
70
|
+
opacity: 1,
|
|
71
|
+
blendMode: "normal"
|
|
72
|
+
},
|
|
73
|
+
FloatingParticles: {
|
|
74
|
+
opacity: 1,
|
|
75
|
+
blendMode: "normal"
|
|
76
|
+
},
|
|
77
|
+
GlassTiles: {
|
|
78
|
+
opacity: 1,
|
|
79
|
+
blendMode: "normal"
|
|
80
|
+
},
|
|
81
|
+
Glow: {
|
|
82
|
+
opacity: 1,
|
|
83
|
+
blendMode: "normal"
|
|
84
|
+
},
|
|
85
|
+
Godrays: {
|
|
86
|
+
opacity: 1,
|
|
87
|
+
blendMode: "normal"
|
|
88
|
+
},
|
|
89
|
+
Grayscale: {
|
|
90
|
+
opacity: 1,
|
|
91
|
+
blendMode: "normal"
|
|
92
|
+
},
|
|
93
|
+
Grid: {
|
|
94
|
+
opacity: 1,
|
|
95
|
+
blendMode: "normal"
|
|
96
|
+
},
|
|
97
|
+
GridDistortion: {
|
|
98
|
+
opacity: 1,
|
|
99
|
+
blendMode: "normal"
|
|
100
|
+
},
|
|
101
|
+
Group: {
|
|
102
|
+
opacity: 1,
|
|
103
|
+
blendMode: "normal"
|
|
104
|
+
},
|
|
105
|
+
Halftone: {
|
|
106
|
+
opacity: 1,
|
|
107
|
+
blendMode: "normal"
|
|
108
|
+
},
|
|
109
|
+
HueShift: {
|
|
110
|
+
opacity: 1,
|
|
111
|
+
blendMode: "normal"
|
|
112
|
+
},
|
|
113
|
+
ImageTexture: {
|
|
114
|
+
opacity: 1,
|
|
115
|
+
blendMode: "normal"
|
|
116
|
+
},
|
|
117
|
+
Invert: {
|
|
118
|
+
opacity: 1,
|
|
119
|
+
blendMode: "normal"
|
|
120
|
+
},
|
|
121
|
+
LinearBlur: {
|
|
122
|
+
opacity: 1,
|
|
123
|
+
blendMode: "normal"
|
|
124
|
+
},
|
|
125
|
+
LinearGradient: {
|
|
126
|
+
opacity: 1,
|
|
127
|
+
blendMode: "normal"
|
|
128
|
+
},
|
|
129
|
+
Liquify: {
|
|
130
|
+
opacity: 1,
|
|
131
|
+
blendMode: "normal"
|
|
132
|
+
},
|
|
133
|
+
Pixelate: {
|
|
134
|
+
opacity: 1,
|
|
135
|
+
blendMode: "normal"
|
|
136
|
+
},
|
|
137
|
+
PolarCoordinates: {
|
|
138
|
+
opacity: 1,
|
|
139
|
+
blendMode: "normal"
|
|
140
|
+
},
|
|
141
|
+
Posterize: {
|
|
142
|
+
opacity: 1,
|
|
143
|
+
blendMode: "normal"
|
|
144
|
+
},
|
|
145
|
+
ProgressiveBlur: {
|
|
146
|
+
opacity: 1,
|
|
147
|
+
blendMode: "normal"
|
|
148
|
+
},
|
|
149
|
+
RadialGradient: {
|
|
150
|
+
opacity: 1,
|
|
151
|
+
blendMode: "normal"
|
|
152
|
+
},
|
|
153
|
+
RectangularCoordinates: {
|
|
154
|
+
opacity: 1,
|
|
155
|
+
blendMode: "normal"
|
|
156
|
+
},
|
|
157
|
+
Ripples: {
|
|
158
|
+
opacity: 1,
|
|
159
|
+
blendMode: "normal"
|
|
160
|
+
},
|
|
161
|
+
Saturation: {
|
|
162
|
+
opacity: 1,
|
|
163
|
+
blendMode: "normal"
|
|
164
|
+
},
|
|
165
|
+
SimplexNoise: {
|
|
166
|
+
opacity: 1,
|
|
167
|
+
blendMode: "normal"
|
|
168
|
+
},
|
|
169
|
+
SineWave: {
|
|
170
|
+
opacity: 1,
|
|
171
|
+
blendMode: "normal"
|
|
172
|
+
},
|
|
173
|
+
SolidColor: {
|
|
174
|
+
opacity: 1,
|
|
175
|
+
blendMode: "normal"
|
|
176
|
+
},
|
|
177
|
+
Spiral: {
|
|
178
|
+
opacity: 1,
|
|
179
|
+
blendMode: "normal"
|
|
180
|
+
},
|
|
181
|
+
Strands: {
|
|
182
|
+
opacity: 1,
|
|
183
|
+
blendMode: "normal"
|
|
184
|
+
},
|
|
185
|
+
Stretch: {
|
|
186
|
+
opacity: 1,
|
|
187
|
+
blendMode: "normal"
|
|
188
|
+
},
|
|
189
|
+
Swirl: {
|
|
190
|
+
opacity: 1,
|
|
191
|
+
blendMode: "normal"
|
|
192
|
+
},
|
|
193
|
+
TiltShift: {
|
|
194
|
+
opacity: 1,
|
|
195
|
+
blendMode: "normal"
|
|
196
|
+
},
|
|
197
|
+
Tritone: {
|
|
198
|
+
opacity: 1,
|
|
199
|
+
blendMode: "normal"
|
|
200
|
+
},
|
|
201
|
+
Twirl: {
|
|
202
|
+
opacity: 1,
|
|
203
|
+
blendMode: "normal"
|
|
204
|
+
},
|
|
205
|
+
Vibrance: {
|
|
206
|
+
opacity: 1,
|
|
207
|
+
blendMode: "normal"
|
|
208
|
+
},
|
|
209
|
+
WaveDistortion: {
|
|
210
|
+
opacity: 1,
|
|
211
|
+
blendMode: "normal"
|
|
212
|
+
},
|
|
213
|
+
ZoomBlur: {
|
|
214
|
+
opacity: 1,
|
|
215
|
+
blendMode: "normal"
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
function s(a, t, o = " ") {
|
|
219
|
+
return Object.entries(a).filter(([e, r]) => {
|
|
220
|
+
const n = c[t] || {};
|
|
221
|
+
if (n.hasOwnProperty(e)) {
|
|
222
|
+
const l = n[e];
|
|
223
|
+
return typeof r == "object" && typeof l == "object" ? JSON.stringify(r) !== JSON.stringify(l) : r !== l;
|
|
224
|
+
}
|
|
225
|
+
return !(e === "opacity" && r === 1 || e === "blendMode" && r === "normal");
|
|
226
|
+
}).map(([e, r]) => {
|
|
227
|
+
const n = p(e);
|
|
228
|
+
return typeof r == "string" ? `${n}="${r}"` : typeof r == "object" ? `:${n}="${JSON.stringify(r).replace(/"/g, "'").replace(/'/g, "'")}"` : `:${n}="${r}"`;
|
|
229
|
+
}).join(`
|
|
230
|
+
` + o + " ");
|
|
231
|
+
}
|
|
232
|
+
function m(a, t) {
|
|
233
|
+
const o = [];
|
|
234
|
+
function e(r) {
|
|
235
|
+
for (const n of r)
|
|
236
|
+
o.push(n), n.children && e(n.children);
|
|
237
|
+
}
|
|
238
|
+
return e(t), o.some((r) => r.props?.maskSource === a);
|
|
239
|
+
}
|
|
240
|
+
function y(a) {
|
|
241
|
+
const t = (o, e = " ") => {
|
|
242
|
+
const r = o.props ? s(o.props, o.type, e) : "";
|
|
243
|
+
let n = "";
|
|
244
|
+
o.id && m(o.id, a.components) && (n = `id="${o.id}"`);
|
|
245
|
+
const l = [n, r].filter(Boolean).join(`
|
|
246
|
+
` + e + " ");
|
|
247
|
+
if (o.children && o.children.length > 0) {
|
|
248
|
+
const i = o.children.map((d) => t(d, e + " ")).join(`
|
|
249
|
+
`);
|
|
250
|
+
return l ? `${e}<${o.type}
|
|
251
|
+
${e} ${l}>
|
|
252
|
+
${i}
|
|
253
|
+
${e}</${o.type}>` : `${e}<${o.type}>
|
|
254
|
+
${i}
|
|
255
|
+
${e}</${o.type}>`;
|
|
256
|
+
} else return l ? `${e}<${o.type}
|
|
257
|
+
${e} ${l}/>` : `${e}<${o.type}/>`;
|
|
258
|
+
};
|
|
259
|
+
return `<Shader>
|
|
260
|
+
${a.components.map((o) => t(o)).join(`
|
|
261
|
+
`)}
|
|
262
|
+
</Shader>`;
|
|
263
|
+
}
|
|
264
|
+
const b = [
|
|
265
|
+
"AngularBlur",
|
|
266
|
+
"Ascii",
|
|
267
|
+
"Blob",
|
|
268
|
+
"Blur",
|
|
269
|
+
"Bulge",
|
|
270
|
+
"CRTScreen",
|
|
271
|
+
"ChannelBlur",
|
|
272
|
+
"Checkerboard",
|
|
273
|
+
"ChromaFlow",
|
|
274
|
+
"ChromaticAberration",
|
|
275
|
+
"Circle",
|
|
276
|
+
"CursorTrail",
|
|
277
|
+
"DiffuseBlur",
|
|
278
|
+
"Dither",
|
|
279
|
+
"DotGrid",
|
|
280
|
+
"Duotone",
|
|
281
|
+
"FilmGrain",
|
|
282
|
+
"FloatingParticles",
|
|
283
|
+
"GlassTiles",
|
|
284
|
+
"Glow",
|
|
285
|
+
"Godrays",
|
|
286
|
+
"Grayscale",
|
|
287
|
+
"Grid",
|
|
288
|
+
"GridDistortion",
|
|
289
|
+
"Group",
|
|
290
|
+
"Halftone",
|
|
291
|
+
"HueShift",
|
|
292
|
+
"ImageTexture",
|
|
293
|
+
"Invert",
|
|
294
|
+
"LinearBlur",
|
|
295
|
+
"LinearGradient",
|
|
296
|
+
"Liquify",
|
|
297
|
+
"Pixelate",
|
|
298
|
+
"PolarCoordinates",
|
|
299
|
+
"Posterize",
|
|
300
|
+
"ProgressiveBlur",
|
|
301
|
+
"RadialGradient",
|
|
302
|
+
"RectangularCoordinates",
|
|
303
|
+
"Ripples",
|
|
304
|
+
"Saturation",
|
|
305
|
+
"SimplexNoise",
|
|
306
|
+
"SineWave",
|
|
307
|
+
"SolidColor",
|
|
308
|
+
"Spiral",
|
|
309
|
+
"Strands",
|
|
310
|
+
"Stretch",
|
|
311
|
+
"Swirl",
|
|
312
|
+
"TiltShift",
|
|
313
|
+
"Tritone",
|
|
314
|
+
"Twirl",
|
|
315
|
+
"Vibrance",
|
|
316
|
+
"WaveDistortion",
|
|
317
|
+
"ZoomBlur"
|
|
318
|
+
];
|
|
319
|
+
export {
|
|
320
|
+
y as n,
|
|
321
|
+
b as t
|
|
322
|
+
};
|
package/dist/vue/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as L3e } from "./generatePresetCode-
|
|
1
|
+
import { n as L3e } from "./generatePresetCode-Baa8DyZE.js";
|
|
2
2
|
import { computed as Ve, createElementBlock as Yne, createElementVNode as Kne, defineComponent as Xt, effectScope as Qt, inject as O, mergeDefaults as er, mergeProps as Zne, onBeforeUnmount as Be, onMounted as Jne, openBlock as Qne, provide as Bt, ref as qf, renderSlot as Yt, toValue as tr, watch as oe } from "vue";
|
|
3
3
|
var dA = Object.defineProperty, eie = Object.getOwnPropertyDescriptor, P7 = Object.getOwnPropertyNames, tie = Object.prototype.hasOwnProperty, q_ = (e, t) => function() {
|
|
4
4
|
return e && (t = (0, e[P7(e)[0]])(e = 0)), t;
|
package/package.json
CHANGED
package/dist/react/codegen.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './utils/generatePresetCode'
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BlendMode, TransformConfig } from 'shaders/core';
|
|
3
|
-
import { ComponentProps } from 'shaders/core/AngularBlur';
|
|
4
|
-
|
|
5
|
-
export type { ComponentProps };
|
|
6
|
-
/**
|
|
7
|
-
* Base props that all shader components have
|
|
8
|
-
*/
|
|
9
|
-
interface BaseShaderProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
blendMode?: BlendMode;
|
|
12
|
-
opacity?: number;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
id?: string;
|
|
15
|
-
maskSource?: string;
|
|
16
|
-
maskType?: string;
|
|
17
|
-
renderOrder?: number;
|
|
18
|
-
transform?: Partial<TransformConfig>;
|
|
19
|
-
ref?: React.Ref<any>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Component-specific props that merge base props with shader-specific props
|
|
23
|
-
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
24
|
-
*/
|
|
25
|
-
type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
|
|
26
|
-
/**
|
|
27
|
-
* The main React wrapper component for Shader shader nodes
|
|
28
|
-
*/
|
|
29
|
-
export declare const OmbreComponent: React.FC<ShaderComponentProps>;
|
|
30
|
-
export default OmbreComponent;
|
|
31
|
-
//# sourceMappingURL=AngularBlur.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AngularBlur.d.ts","sourceRoot":"","sources":["../../src/components/AngularBlur.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGpF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BlendMode, TransformConfig } from 'shaders/core';
|
|
3
|
-
import { ComponentProps } from 'shaders/core/Ascii';
|
|
4
|
-
|
|
5
|
-
export type { ComponentProps };
|
|
6
|
-
/**
|
|
7
|
-
* Base props that all shader components have
|
|
8
|
-
*/
|
|
9
|
-
interface BaseShaderProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
blendMode?: BlendMode;
|
|
12
|
-
opacity?: number;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
id?: string;
|
|
15
|
-
maskSource?: string;
|
|
16
|
-
maskType?: string;
|
|
17
|
-
renderOrder?: number;
|
|
18
|
-
transform?: Partial<TransformConfig>;
|
|
19
|
-
ref?: React.Ref<any>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Component-specific props that merge base props with shader-specific props
|
|
23
|
-
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
24
|
-
*/
|
|
25
|
-
type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
|
|
26
|
-
/**
|
|
27
|
-
* The main React wrapper component for Shader shader nodes
|
|
28
|
-
*/
|
|
29
|
-
export declare const OmbreComponent: React.FC<ShaderComponentProps>;
|
|
30
|
-
export default OmbreComponent;
|
|
31
|
-
//# sourceMappingURL=Ascii.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Ascii.d.ts","sourceRoot":"","sources":["../../src/components/Ascii.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAG9E,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BlendMode, TransformConfig } from 'shaders/core';
|
|
3
|
-
import { ComponentProps } from 'shaders/core/Blob';
|
|
4
|
-
|
|
5
|
-
export type { ComponentProps };
|
|
6
|
-
/**
|
|
7
|
-
* Base props that all shader components have
|
|
8
|
-
*/
|
|
9
|
-
interface BaseShaderProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
blendMode?: BlendMode;
|
|
12
|
-
opacity?: number;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
id?: string;
|
|
15
|
-
maskSource?: string;
|
|
16
|
-
maskType?: string;
|
|
17
|
-
renderOrder?: number;
|
|
18
|
-
transform?: Partial<TransformConfig>;
|
|
19
|
-
ref?: React.Ref<any>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Component-specific props that merge base props with shader-specific props
|
|
23
|
-
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
24
|
-
*/
|
|
25
|
-
type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
|
|
26
|
-
/**
|
|
27
|
-
* The main React wrapper component for Shader shader nodes
|
|
28
|
-
*/
|
|
29
|
-
export declare const OmbreComponent: React.FC<ShaderComponentProps>;
|
|
30
|
-
export default OmbreComponent;
|
|
31
|
-
//# sourceMappingURL=Blob.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Blob.d.ts","sourceRoot":"","sources":["../../src/components/Blob.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG7E,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BlendMode, TransformConfig } from 'shaders/core';
|
|
3
|
-
import { ComponentProps } from 'shaders/core/Blur';
|
|
4
|
-
|
|
5
|
-
export type { ComponentProps };
|
|
6
|
-
/**
|
|
7
|
-
* Base props that all shader components have
|
|
8
|
-
*/
|
|
9
|
-
interface BaseShaderProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
blendMode?: BlendMode;
|
|
12
|
-
opacity?: number;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
id?: string;
|
|
15
|
-
maskSource?: string;
|
|
16
|
-
maskType?: string;
|
|
17
|
-
renderOrder?: number;
|
|
18
|
-
transform?: Partial<TransformConfig>;
|
|
19
|
-
ref?: React.Ref<any>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Component-specific props that merge base props with shader-specific props
|
|
23
|
-
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
24
|
-
*/
|
|
25
|
-
type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
|
|
26
|
-
/**
|
|
27
|
-
* The main React wrapper component for Shader shader nodes
|
|
28
|
-
*/
|
|
29
|
-
export declare const OmbreComponent: React.FC<ShaderComponentProps>;
|
|
30
|
-
export default OmbreComponent;
|
|
31
|
-
//# sourceMappingURL=Blur.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Blur.d.ts","sourceRoot":"","sources":["../../src/components/Blur.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG7E,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BlendMode, TransformConfig } from 'shaders/core';
|
|
3
|
-
import { ComponentProps } from 'shaders/core/Bulge';
|
|
4
|
-
|
|
5
|
-
export type { ComponentProps };
|
|
6
|
-
/**
|
|
7
|
-
* Base props that all shader components have
|
|
8
|
-
*/
|
|
9
|
-
interface BaseShaderProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
blendMode?: BlendMode;
|
|
12
|
-
opacity?: number;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
id?: string;
|
|
15
|
-
maskSource?: string;
|
|
16
|
-
maskType?: string;
|
|
17
|
-
renderOrder?: number;
|
|
18
|
-
transform?: Partial<TransformConfig>;
|
|
19
|
-
ref?: React.Ref<any>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Component-specific props that merge base props with shader-specific props
|
|
23
|
-
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
24
|
-
*/
|
|
25
|
-
type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
|
|
26
|
-
/**
|
|
27
|
-
* The main React wrapper component for Shader shader nodes
|
|
28
|
-
*/
|
|
29
|
-
export declare const OmbreComponent: React.FC<ShaderComponentProps>;
|
|
30
|
-
export default OmbreComponent;
|
|
31
|
-
//# sourceMappingURL=Bulge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bulge.d.ts","sourceRoot":"","sources":["../../src/components/Bulge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAG9E,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BlendMode, TransformConfig } from 'shaders/core';
|
|
3
|
-
import { ComponentProps } from 'shaders/core/CRTScreen';
|
|
4
|
-
|
|
5
|
-
export type { ComponentProps };
|
|
6
|
-
/**
|
|
7
|
-
* Base props that all shader components have
|
|
8
|
-
*/
|
|
9
|
-
interface BaseShaderProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
blendMode?: BlendMode;
|
|
12
|
-
opacity?: number;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
id?: string;
|
|
15
|
-
maskSource?: string;
|
|
16
|
-
maskType?: string;
|
|
17
|
-
renderOrder?: number;
|
|
18
|
-
transform?: Partial<TransformConfig>;
|
|
19
|
-
ref?: React.Ref<any>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Component-specific props that merge base props with shader-specific props
|
|
23
|
-
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
24
|
-
*/
|
|
25
|
-
type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
|
|
26
|
-
/**
|
|
27
|
-
* The main React wrapper component for Shader shader nodes
|
|
28
|
-
*/
|
|
29
|
-
export declare const OmbreComponent: React.FC<ShaderComponentProps>;
|
|
30
|
-
export default OmbreComponent;
|
|
31
|
-
//# sourceMappingURL=CRTScreen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CRTScreen.d.ts","sourceRoot":"","sources":["../../src/components/CRTScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGlF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BlendMode, TransformConfig } from 'shaders/core';
|
|
3
|
-
import { ComponentProps } from 'shaders/core/ChannelBlur';
|
|
4
|
-
|
|
5
|
-
export type { ComponentProps };
|
|
6
|
-
/**
|
|
7
|
-
* Base props that all shader components have
|
|
8
|
-
*/
|
|
9
|
-
interface BaseShaderProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
blendMode?: BlendMode;
|
|
12
|
-
opacity?: number;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
id?: string;
|
|
15
|
-
maskSource?: string;
|
|
16
|
-
maskType?: string;
|
|
17
|
-
renderOrder?: number;
|
|
18
|
-
transform?: Partial<TransformConfig>;
|
|
19
|
-
ref?: React.Ref<any>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Component-specific props that merge base props with shader-specific props
|
|
23
|
-
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
24
|
-
*/
|
|
25
|
-
type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
|
|
26
|
-
/**
|
|
27
|
-
* The main React wrapper component for Shader shader nodes
|
|
28
|
-
*/
|
|
29
|
-
export declare const OmbreComponent: React.FC<ShaderComponentProps>;
|
|
30
|
-
export default OmbreComponent;
|
|
31
|
-
//# sourceMappingURL=ChannelBlur.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelBlur.d.ts","sourceRoot":"","sources":["../../src/components/ChannelBlur.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGpF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BlendMode, TransformConfig } from 'shaders/core';
|
|
3
|
-
import { ComponentProps } from 'shaders/core/Checkerboard';
|
|
4
|
-
|
|
5
|
-
export type { ComponentProps };
|
|
6
|
-
/**
|
|
7
|
-
* Base props that all shader components have
|
|
8
|
-
*/
|
|
9
|
-
interface BaseShaderProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
blendMode?: BlendMode;
|
|
12
|
-
opacity?: number;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
id?: string;
|
|
15
|
-
maskSource?: string;
|
|
16
|
-
maskType?: string;
|
|
17
|
-
renderOrder?: number;
|
|
18
|
-
transform?: Partial<TransformConfig>;
|
|
19
|
-
ref?: React.Ref<any>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Component-specific props that merge base props with shader-specific props
|
|
23
|
-
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
24
|
-
*/
|
|
25
|
-
type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
|
|
26
|
-
/**
|
|
27
|
-
* The main React wrapper component for Shader shader nodes
|
|
28
|
-
*/
|
|
29
|
-
export declare const OmbreComponent: React.FC<ShaderComponentProps>;
|
|
30
|
-
export default OmbreComponent;
|
|
31
|
-
//# sourceMappingURL=Checkerboard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Checkerboard.d.ts","sourceRoot":"","sources":["../../src/components/Checkerboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAGrF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BlendMode, TransformConfig } from 'shaders/core';
|
|
3
|
-
import { ComponentProps } from 'shaders/core/ChromaFlow';
|
|
4
|
-
|
|
5
|
-
export type { ComponentProps };
|
|
6
|
-
/**
|
|
7
|
-
* Base props that all shader components have
|
|
8
|
-
*/
|
|
9
|
-
interface BaseShaderProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
blendMode?: BlendMode;
|
|
12
|
-
opacity?: number;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
id?: string;
|
|
15
|
-
maskSource?: string;
|
|
16
|
-
maskType?: string;
|
|
17
|
-
renderOrder?: number;
|
|
18
|
-
transform?: Partial<TransformConfig>;
|
|
19
|
-
ref?: React.Ref<any>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Component-specific props that merge base props with shader-specific props
|
|
23
|
-
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
24
|
-
*/
|
|
25
|
-
type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
|
|
26
|
-
/**
|
|
27
|
-
* The main React wrapper component for Shader shader nodes
|
|
28
|
-
*/
|
|
29
|
-
export declare const OmbreComponent: React.FC<ShaderComponentProps>;
|
|
30
|
-
export default OmbreComponent;
|
|
31
|
-
//# sourceMappingURL=ChromaFlow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChromaFlow.d.ts","sourceRoot":"","sources":["../../src/components/ChromaFlow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAGnF,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACxB;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAsDtE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwJzD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|